@bisondesk/core-sdk 1.0.23-B → 1.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/constants.d.ts +0 -77
- package/lib/constants.d.ts.map +1 -1
- package/lib/constants.js +1 -924
- package/lib/constants.js.map +1 -1
- package/lib/types/crm.d.ts +30 -103
- package/lib/types/crm.d.ts.map +1 -1
- package/lib/types/crm.js +0 -16
- package/lib/types/crm.js.map +1 -1
- package/lib/types/definitions.d.ts +13 -15
- package/lib/types/definitions.d.ts.map +1 -1
- package/lib/types/fields.d.ts +25 -26
- package/lib/types/fields.d.ts.map +1 -1
- package/lib/types/fields.js +0 -4
- package/lib/types/fields.js.map +1 -1
- package/lib/types/interests.d.ts +25 -0
- package/lib/types/interests.d.ts.map +1 -0
- package/lib/types/{settings.js → interests.js} +1 -1
- package/lib/types/interests.js.map +1 -0
- package/lib/types/picklists.d.ts +4 -15
- package/lib/types/picklists.d.ts.map +1 -1
- package/lib/types/search.d.ts +4 -26
- package/lib/types/search.d.ts.map +1 -1
- package/lib/types/search.js.map +1 -1
- package/lib/types/storage.d.ts +11 -1
- package/lib/types/storage.d.ts.map +1 -1
- package/lib/types/storage.js +0 -15
- package/lib/types/storage.js.map +1 -1
- package/lib/types/tenants.d.ts +9 -32
- package/lib/types/tenants.d.ts.map +1 -1
- package/lib/types/tenants.js +0 -11
- package/lib/types/tenants.js.map +1 -1
- package/lib/types/users.d.ts +3 -11
- package/lib/types/users.d.ts.map +1 -1
- package/lib/types/utils.d.ts +0 -20
- package/lib/types/utils.d.ts.map +1 -1
- package/lib/types/utils.js +0 -6
- package/lib/types/utils.js.map +1 -1
- package/lib/types/vehicles.d.ts +92 -406
- package/lib/types/vehicles.d.ts.map +1 -1
- package/lib/types/vehicles.js +1 -54
- package/lib/types/vehicles.js.map +1 -1
- package/package.json +6 -8
- package/src/constants.ts +1 -930
- package/src/types/crm.ts +30 -118
- package/src/types/definitions.ts +12 -19
- package/src/types/fields.ts +31 -72
- package/src/types/interests.ts +24 -0
- package/src/types/picklists.ts +7 -26
- package/src/types/search.ts +4 -34
- package/src/types/storage.ts +12 -1
- package/src/types/tenants.ts +11 -37
- package/src/types/users.ts +3 -17
- package/src/types/utils.ts +0 -25
- package/src/types/vehicles.ts +93 -461
- package/tsconfig.tsbuildinfo +2995 -1
- package/lib/apis/crm.d.ts +0 -39
- package/lib/apis/crm.d.ts.map +0 -1
- package/lib/apis/crm.js +0 -201
- package/lib/apis/crm.js.map +0 -1
- package/lib/apis/documents.d.ts +0 -4
- package/lib/apis/documents.d.ts.map +0 -1
- package/lib/apis/documents.js +0 -47
- package/lib/apis/documents.js.map +0 -1
- package/lib/apis/internet-vehicles.d.ts +0 -3
- package/lib/apis/internet-vehicles.d.ts.map +0 -1
- package/lib/apis/internet-vehicles.js +0 -27
- package/lib/apis/internet-vehicles.js.map +0 -1
- package/lib/apis/leasing-administration.d.ts +0 -8
- package/lib/apis/leasing-administration.d.ts.map +0 -1
- package/lib/apis/leasing-administration.js +0 -49
- package/lib/apis/leasing-administration.js.map +0 -1
- package/lib/apis/leasing.d.ts +0 -19
- package/lib/apis/leasing.d.ts.map +0 -1
- package/lib/apis/leasing.js +0 -168
- package/lib/apis/leasing.js.map +0 -1
- package/lib/apis/opportunities.d.ts +0 -9
- package/lib/apis/opportunities.d.ts.map +0 -1
- package/lib/apis/opportunities.js +0 -94
- package/lib/apis/opportunities.js.map +0 -1
- package/lib/apis/picklists.d.ts +0 -5
- package/lib/apis/picklists.d.ts.map +0 -1
- package/lib/apis/picklists.js +0 -44
- package/lib/apis/picklists.js.map +0 -1
- package/lib/apis/tenants.d.ts +0 -7
- package/lib/apis/tenants.d.ts.map +0 -1
- package/lib/apis/tenants.js +0 -80
- package/lib/apis/tenants.js.map +0 -1
- package/lib/apis/users.d.ts +0 -3
- package/lib/apis/users.d.ts.map +0 -1
- package/lib/apis/users.js +0 -26
- package/lib/apis/users.js.map +0 -1
- package/lib/apis/utils.d.ts +0 -9
- package/lib/apis/utils.d.ts.map +0 -1
- package/lib/apis/utils.js +0 -23
- package/lib/apis/utils.js.map +0 -1
- package/lib/apis/vehicles.d.ts +0 -18
- package/lib/apis/vehicles.d.ts.map +0 -1
- package/lib/apis/vehicles.js +0 -159
- package/lib/apis/vehicles.js.map +0 -1
- package/lib/ddb-entities.d.ts +0 -2
- package/lib/ddb-entities.d.ts.map +0 -1
- package/lib/ddb-entities.js +0 -5
- package/lib/ddb-entities.js.map +0 -1
- package/lib/types/activities.d.ts +0 -38
- package/lib/types/activities.d.ts.map +0 -1
- package/lib/types/activities.js +0 -16
- package/lib/types/activities.js.map +0 -1
- package/lib/types/documents.d.ts +0 -105
- package/lib/types/documents.d.ts.map +0 -1
- package/lib/types/documents.js +0 -3
- package/lib/types/documents.js.map +0 -1
- package/lib/types/internet-vehicles.d.ts +0 -64
- package/lib/types/internet-vehicles.d.ts.map +0 -1
- package/lib/types/internet-vehicles.js +0 -3
- package/lib/types/internet-vehicles.js.map +0 -1
- package/lib/types/leads.d.ts +0 -134
- package/lib/types/leads.d.ts.map +0 -1
- package/lib/types/leads.js +0 -3
- package/lib/types/leads.js.map +0 -1
- package/lib/types/leasing-administration.d.ts +0 -107
- package/lib/types/leasing-administration.d.ts.map +0 -1
- package/lib/types/leasing-administration.js +0 -3
- package/lib/types/leasing-administration.js.map +0 -1
- package/lib/types/leasing-search.d.ts +0 -22
- package/lib/types/leasing-search.d.ts.map +0 -1
- package/lib/types/leasing-search.js +0 -3
- package/lib/types/leasing-search.js.map +0 -1
- package/lib/types/leasing-settings.d.ts +0 -113
- package/lib/types/leasing-settings.d.ts.map +0 -1
- package/lib/types/leasing-settings.js +0 -10
- package/lib/types/leasing-settings.js.map +0 -1
- package/lib/types/leasing.d.ts +0 -322
- package/lib/types/leasing.d.ts.map +0 -1
- package/lib/types/leasing.js +0 -24
- package/lib/types/leasing.js.map +0 -1
- package/lib/types/machines.d.ts +0 -38
- package/lib/types/machines.d.ts.map +0 -1
- package/lib/types/machines.js +0 -3
- package/lib/types/machines.js.map +0 -1
- package/lib/types/opportunities.d.ts +0 -448
- package/lib/types/opportunities.d.ts.map +0 -1
- package/lib/types/opportunities.js +0 -68
- package/lib/types/opportunities.js.map +0 -1
- package/lib/types/payments.d.ts +0 -38
- package/lib/types/payments.d.ts.map +0 -1
- package/lib/types/payments.js +0 -9
- package/lib/types/payments.js.map +0 -1
- package/lib/types/quotes.d.ts +0 -173
- package/lib/types/quotes.d.ts.map +0 -1
- package/lib/types/quotes.js +0 -26
- package/lib/types/quotes.js.map +0 -1
- package/lib/types/recently-viewed.d.ts +0 -33
- package/lib/types/recently-viewed.d.ts.map +0 -1
- package/lib/types/recently-viewed.js +0 -3
- package/lib/types/recently-viewed.js.map +0 -1
- package/lib/types/saved-filters.d.ts +0 -20
- package/lib/types/saved-filters.d.ts.map +0 -1
- package/lib/types/saved-filters.js +0 -3
- package/lib/types/saved-filters.js.map +0 -1
- package/lib/types/settings.d.ts +0 -50
- package/lib/types/settings.d.ts.map +0 -1
- package/lib/types/settings.js.map +0 -1
- package/lib/types/templates.d.ts +0 -35
- package/lib/types/templates.d.ts.map +0 -1
- package/lib/types/templates.js +0 -9
- package/lib/types/templates.js.map +0 -1
- package/lib/types/website.d.ts +0 -24
- package/lib/types/website.d.ts.map +0 -1
- package/lib/types/website.js +0 -3
- package/lib/types/website.js.map +0 -1
- package/lib/utils/forms.d.ts +0 -6
- package/lib/utils/forms.d.ts.map +0 -1
- package/lib/utils/forms.js +0 -33
- package/lib/utils/forms.js.map +0 -1
- package/lib/utils/leasing.d.ts +0 -3
- package/lib/utils/leasing.d.ts.map +0 -1
- package/lib/utils/leasing.js +0 -10
- package/lib/utils/leasing.js.map +0 -1
- package/lib/utils/slug.d.ts +0 -3
- package/lib/utils/slug.d.ts.map +0 -1
- package/lib/utils/slug.js +0 -23
- package/lib/utils/slug.js.map +0 -1
- package/lib/utils/tenants.d.ts +0 -4
- package/lib/utils/tenants.d.ts.map +0 -1
- package/lib/utils/tenants.js +0 -16
- package/lib/utils/tenants.js.map +0 -1
- package/lib/utils/vehicles.d.ts +0 -12
- package/lib/utils/vehicles.d.ts.map +0 -1
- package/lib/utils/vehicles.js +0 -73
- package/lib/utils/vehicles.js.map +0 -1
- package/src/apis/crm.ts +0 -302
- package/src/apis/documents.ts +0 -54
- package/src/apis/internet-vehicles.ts +0 -23
- package/src/apis/leasing-administration.ts +0 -70
- package/src/apis/leasing.ts +0 -257
- package/src/apis/opportunities.ts +0 -133
- package/src/apis/picklists.ts +0 -50
- package/src/apis/tenants.ts +0 -100
- package/src/apis/users.ts +0 -22
- package/src/apis/utils.ts +0 -23
- package/src/apis/vehicles.ts +0 -229
- package/src/ddb-entities.ts +0 -1
- package/src/environment.d.ts +0 -6
- package/src/types/activities.ts +0 -41
- package/src/types/documents.ts +0 -110
- package/src/types/internet-vehicles.ts +0 -67
- package/src/types/leads.ts +0 -144
- package/src/types/leasing-administration.ts +0 -131
- package/src/types/leasing-search.ts +0 -24
- package/src/types/leasing-settings.ts +0 -111
- package/src/types/leasing.ts +0 -360
- package/src/types/machines.ts +0 -40
- package/src/types/opportunities.ts +0 -496
- package/src/types/payments.ts +0 -40
- package/src/types/quotes.ts +0 -186
- package/src/types/recently-viewed.ts +0 -45
- package/src/types/saved-filters.ts +0 -21
- package/src/types/settings.ts +0 -51
- package/src/types/templates.ts +0 -40
- package/src/types/website.ts +0 -28
- package/src/utils/forms.ts +0 -32
- package/src/utils/leasing.ts +0 -14
- package/src/utils/slug.ts +0 -19
- package/src/utils/tenants.ts +0 -14
- package/src/utils/vehicles.ts +0 -92
package/lib/constants.d.ts
CHANGED
|
@@ -1,28 +1,6 @@
|
|
|
1
|
-
import { VehicleAxle } from './types/vehicles';
|
|
2
|
-
export { BusinessEntityIds } from '@bisondesk/commons-sdk/lib/constants';
|
|
3
1
|
export declare const APP_LANGUAGES_PICKLIST_ID = "appLanguages";
|
|
4
|
-
export declare const CLIENT_LANGUAGES_PICKLIST_ID = "clientLanguages";
|
|
5
2
|
export declare const TIMEZONES_PICKLIST_ID = "timezones";
|
|
6
3
|
export declare const COUNTRIES_PICKLIST_ID = "countries";
|
|
7
|
-
export declare const VEHICLE_MAIN_FEATURES_PICKLIST_ID = "vehicleMainFeatures";
|
|
8
|
-
export declare const VEHICLE_STATE_FILTERS_PICKLIST_ID = "vehicleStateFilters";
|
|
9
|
-
export declare const VEHICLE_SALE_DEAL_STATUS_PICKLIST_ID = "vehicleSaleDealStatus";
|
|
10
|
-
export declare const MARKETING_PLATFORMS_PICKLIST_ID = "marketingPlatforms";
|
|
11
|
-
export declare const OPPORTUNITY_STATUS_PICKLIST_ID = "opportunityStatus";
|
|
12
|
-
export declare const OPPORTUNITY_DEAL_STATUS_PICKLIST_ID = "opportunityDealStatus";
|
|
13
|
-
export declare const OPPORTUNITY_LOGISTIC_STATUS_PICKLIST_ID = "opportunityLogisticStatus";
|
|
14
|
-
export declare const OPPORTUNITY_SOURCE_PICKLIST_ID = "opportunity_source";
|
|
15
|
-
export declare const DEPARTMENT_PICKLIST_ID = "department";
|
|
16
|
-
export declare const AXLE_TIRE_SIZE_PICKLIST_ID = "axleTireSize";
|
|
17
|
-
export declare const GEARBOX_MAKE_PICKLIST_ID = "gearboxMake";
|
|
18
|
-
export declare const LOCATION_PICKLIST_ID = "location";
|
|
19
|
-
export declare const SUPPLIER_VAT_RATE_PICKLIST_ID = "supplierVATRate";
|
|
20
|
-
export declare const AXLE_MAKE_PICKLIST_ID = "axleMake";
|
|
21
|
-
export declare const TAILGATE_MAKE_PICKLIST_ID = "tailgateMakes";
|
|
22
|
-
export declare const VAT_PERCENTAGE_PICKLIST_ID = "vatPercentages";
|
|
23
|
-
export declare const CRANE_MAKE_PICKLIST_ID = "craneMakes";
|
|
24
|
-
export declare const ENGINEERING_DOCS_PICKLIST_ID = "engineeringDocs";
|
|
25
|
-
export declare const WEBSITE_MARKETING_PLATFORM_ID = "PUBLIC_WEBSITE";
|
|
26
4
|
export declare const BODYWORKS_PICKLIST_ID = "bodywork";
|
|
27
5
|
export declare const CABINS_PICKLIST_ID = "cabin";
|
|
28
6
|
export declare const CATEGORIES_PICKLIST_ID = "category";
|
|
@@ -31,64 +9,9 @@ export declare const EURONORMS_PICKLIST_ID = "euronorm";
|
|
|
31
9
|
export declare const TRANSMISSIONS_PICKLIST_ID = "gearbox";
|
|
32
10
|
export declare const MAKES_PICKLIST_ID = "make";
|
|
33
11
|
export declare const MAKE_MODELS_PICKLIST_ID = "make_model";
|
|
34
|
-
export declare const MAKE_MODEL_TYPES_PICKLIST_ID = "make_model_type";
|
|
35
12
|
export declare const SUSPENSIONS_PICKLIST_ID = "suspension";
|
|
36
|
-
export declare const ORG_SEGMENTS_PICKLIST_ID = "segment";
|
|
37
|
-
export declare const HEIGTHENED_PICKLIST_ID = "extended_height_dimension";
|
|
38
|
-
export declare const EXTENDED_PICKLIST_ID = "extended_length_dimension";
|
|
39
|
-
export declare const JOB_CATEGORIES_PICKLIST_ID = "job_category";
|
|
40
|
-
export declare const DOCUMENT_TYPES_PICKLIST_ID = "document_types";
|
|
41
|
-
export declare enum Categories {
|
|
42
|
-
TractorHead = "Tractor Head",
|
|
43
|
-
Truck = "Truck",
|
|
44
|
-
Trailer = "Trailer",
|
|
45
|
-
SemiTrailer = "Semi-Trailer",
|
|
46
|
-
Van = "Van",
|
|
47
|
-
Machine = "Machine",
|
|
48
|
-
Car = "Car",
|
|
49
|
-
Superstructure = "Superstructure"
|
|
50
|
-
}
|
|
51
13
|
export declare const MAX_SORT_PRIORITY = 10000;
|
|
52
14
|
export declare const MIN_SORT_PRIORITY = 1;
|
|
53
15
|
export declare const FILTER_RANGE_SEPARATOR = "__";
|
|
54
16
|
export declare const FILTER_MULTIPLE_SEPARATOR = "__";
|
|
55
|
-
export declare const MAX_AGE = 15;
|
|
56
|
-
export declare const MAX_KM = 1000000;
|
|
57
|
-
export declare const MAX_PRICE = 100000;
|
|
58
|
-
export declare const PRICE_ROUNDING = 1000;
|
|
59
|
-
export declare const KM_ROUNDING = 100000;
|
|
60
|
-
export declare enum LeasingAdminUploadHandlers {
|
|
61
|
-
DhondtMonthly = "dhondt-monthly-invoice",
|
|
62
|
-
DhondtProrata = "dhondt-prorata-invoice",
|
|
63
|
-
Belfius = "belfius-monthly-invoice",
|
|
64
|
-
ING = "ing-monthly-invoice"
|
|
65
|
-
}
|
|
66
|
-
export declare enum LeasingAdminEntities {
|
|
67
|
-
Dhondt = "dhondt",
|
|
68
|
-
Becris = "becris",
|
|
69
|
-
ING = "ing"
|
|
70
|
-
}
|
|
71
|
-
export declare enum LeasingAdminUploadErrors {
|
|
72
|
-
DuplicatedFile = "leasing-administration.file-already-exists",
|
|
73
|
-
FetchCurrentFile = "leasing-administration.diff.fetch-current-file-failed",
|
|
74
|
-
InvalidAttachment = "leasing-administration.invalid-attachment",
|
|
75
|
-
InvalidBelfiusXlsx = "leasing-administration.belfius.invalid-xlsx",
|
|
76
|
-
InvalidHandlerId = "leasing-administration.invalid-handler",
|
|
77
|
-
InvalidInvoiceFormat = "leasing-administration.upload.invalid-invoice",
|
|
78
|
-
NegativeAmount = "leasing-administration.negative-amount",
|
|
79
|
-
OngoingUpload = "leasing-administration.ongoing-upload",
|
|
80
|
-
Publish = "leasing-administration.upload.publish-failed",
|
|
81
|
-
UnknownVehicle = "leasing-administration.belfius.unknown-vehicle",
|
|
82
|
-
MissingVehicle = "leasing-administration.belfius.missing-vehicle",
|
|
83
|
-
Validation = "leasing-administration.upload.invalid-request"
|
|
84
|
-
}
|
|
85
|
-
export declare const INTERNET_VEHICLES_ANALYSIS_ALL_DATA = "all";
|
|
86
|
-
export declare enum OpportunityType {
|
|
87
|
-
LEASING = "leasing",
|
|
88
|
-
SALES = "sales"
|
|
89
|
-
}
|
|
90
|
-
export declare const UNKNOWN_MAKE = "other";
|
|
91
|
-
export declare const AXLE_CONFIG: {
|
|
92
|
-
[config: string]: VehicleAxle[];
|
|
93
|
-
};
|
|
94
17
|
//# sourceMappingURL=constants.d.ts.map
|
package/lib/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,yBAAyB,iBAAiB,CAAC;AACxD,eAAO,MAAM,qBAAqB,cAAc,CAAC;AACjD,eAAO,MAAM,qBAAqB,cAAc,CAAC;AAKjD,eAAO,MAAM,qBAAqB,aAAa,CAAC;AAChD,eAAO,MAAM,kBAAkB,UAAU,CAAC;AAC1C,eAAO,MAAM,sBAAsB,aAAa,CAAC;AACjD,eAAO,MAAM,0BAA0B,kBAAkB,CAAC;AAC1D,eAAO,MAAM,qBAAqB,aAAa,CAAC;AAChD,eAAO,MAAM,yBAAyB,YAAY,CAAC;AACnD,eAAO,MAAM,iBAAiB,SAAS,CAAC;AACxC,eAAO,MAAM,uBAAuB,eAAe,CAAC;AACpD,eAAO,MAAM,uBAAuB,eAAe,CAAC;AAKpD,eAAO,MAAM,iBAAiB,QAAQ,CAAC;AACvC,eAAO,MAAM,iBAAiB,IAAI,CAAC;AAKnC,eAAO,MAAM,sBAAsB,OAAO,CAAC;AAC3C,eAAO,MAAM,yBAAyB,OAAO,CAAC"}
|