32 lines
941 B
TypeScript
32 lines
941 B
TypeScript
import { currentISODate } from 'core/tools/date';
|
|
import { IAccount, TCRMEntity } from 'core/types/Entities/crmEntities';
|
|
|
|
export const mainOptionsVariables:
|
|
| Partial<Record<keyof TCRMEntity, any>>
|
|
| Record<string, any> = {
|
|
currentDate: currentISODate,
|
|
statecode: 0,
|
|
supplier_account_type: [100000001],
|
|
supplier_legal_form: 100000001,
|
|
dealer_account_type: [100000001],
|
|
dealer_legal_form: 100000001,
|
|
account_account_type: [100000000],
|
|
product_relation: [100000000],
|
|
registration_product_type: 100000001,
|
|
nsib_product_type: 100000002,
|
|
tracker_product_type: 100000003,
|
|
telematic_product_type: 100000004,
|
|
techcard_product_type: 100000000,
|
|
fuelcard_product_type: 100000005,
|
|
};
|
|
|
|
export const insuranceVariables: Partial<Record<keyof IAccount, any>> = {
|
|
evo_account_type: [100000002],
|
|
statecode: 0,
|
|
};
|
|
|
|
export const staticDataVariables: Record<string, any> = {
|
|
statecode: 0,
|
|
currentDate: currentISODate,
|
|
};
|