@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.
Files changed (225) hide show
  1. package/lib/constants.d.ts +0 -77
  2. package/lib/constants.d.ts.map +1 -1
  3. package/lib/constants.js +1 -924
  4. package/lib/constants.js.map +1 -1
  5. package/lib/types/crm.d.ts +30 -103
  6. package/lib/types/crm.d.ts.map +1 -1
  7. package/lib/types/crm.js +0 -16
  8. package/lib/types/crm.js.map +1 -1
  9. package/lib/types/definitions.d.ts +13 -15
  10. package/lib/types/definitions.d.ts.map +1 -1
  11. package/lib/types/fields.d.ts +25 -26
  12. package/lib/types/fields.d.ts.map +1 -1
  13. package/lib/types/fields.js +0 -4
  14. package/lib/types/fields.js.map +1 -1
  15. package/lib/types/interests.d.ts +25 -0
  16. package/lib/types/interests.d.ts.map +1 -0
  17. package/lib/types/{settings.js → interests.js} +1 -1
  18. package/lib/types/interests.js.map +1 -0
  19. package/lib/types/picklists.d.ts +4 -15
  20. package/lib/types/picklists.d.ts.map +1 -1
  21. package/lib/types/search.d.ts +4 -26
  22. package/lib/types/search.d.ts.map +1 -1
  23. package/lib/types/search.js.map +1 -1
  24. package/lib/types/storage.d.ts +11 -1
  25. package/lib/types/storage.d.ts.map +1 -1
  26. package/lib/types/storage.js +0 -15
  27. package/lib/types/storage.js.map +1 -1
  28. package/lib/types/tenants.d.ts +9 -32
  29. package/lib/types/tenants.d.ts.map +1 -1
  30. package/lib/types/tenants.js +0 -11
  31. package/lib/types/tenants.js.map +1 -1
  32. package/lib/types/users.d.ts +3 -11
  33. package/lib/types/users.d.ts.map +1 -1
  34. package/lib/types/utils.d.ts +0 -20
  35. package/lib/types/utils.d.ts.map +1 -1
  36. package/lib/types/utils.js +0 -6
  37. package/lib/types/utils.js.map +1 -1
  38. package/lib/types/vehicles.d.ts +92 -406
  39. package/lib/types/vehicles.d.ts.map +1 -1
  40. package/lib/types/vehicles.js +1 -54
  41. package/lib/types/vehicles.js.map +1 -1
  42. package/package.json +6 -8
  43. package/src/constants.ts +1 -930
  44. package/src/types/crm.ts +30 -118
  45. package/src/types/definitions.ts +12 -19
  46. package/src/types/fields.ts +31 -72
  47. package/src/types/interests.ts +24 -0
  48. package/src/types/picklists.ts +7 -26
  49. package/src/types/search.ts +4 -34
  50. package/src/types/storage.ts +12 -1
  51. package/src/types/tenants.ts +11 -37
  52. package/src/types/users.ts +3 -17
  53. package/src/types/utils.ts +0 -25
  54. package/src/types/vehicles.ts +93 -461
  55. package/tsconfig.tsbuildinfo +2995 -1
  56. package/lib/apis/crm.d.ts +0 -39
  57. package/lib/apis/crm.d.ts.map +0 -1
  58. package/lib/apis/crm.js +0 -201
  59. package/lib/apis/crm.js.map +0 -1
  60. package/lib/apis/documents.d.ts +0 -4
  61. package/lib/apis/documents.d.ts.map +0 -1
  62. package/lib/apis/documents.js +0 -47
  63. package/lib/apis/documents.js.map +0 -1
  64. package/lib/apis/internet-vehicles.d.ts +0 -3
  65. package/lib/apis/internet-vehicles.d.ts.map +0 -1
  66. package/lib/apis/internet-vehicles.js +0 -27
  67. package/lib/apis/internet-vehicles.js.map +0 -1
  68. package/lib/apis/leasing-administration.d.ts +0 -8
  69. package/lib/apis/leasing-administration.d.ts.map +0 -1
  70. package/lib/apis/leasing-administration.js +0 -49
  71. package/lib/apis/leasing-administration.js.map +0 -1
  72. package/lib/apis/leasing.d.ts +0 -19
  73. package/lib/apis/leasing.d.ts.map +0 -1
  74. package/lib/apis/leasing.js +0 -168
  75. package/lib/apis/leasing.js.map +0 -1
  76. package/lib/apis/opportunities.d.ts +0 -9
  77. package/lib/apis/opportunities.d.ts.map +0 -1
  78. package/lib/apis/opportunities.js +0 -94
  79. package/lib/apis/opportunities.js.map +0 -1
  80. package/lib/apis/picklists.d.ts +0 -5
  81. package/lib/apis/picklists.d.ts.map +0 -1
  82. package/lib/apis/picklists.js +0 -44
  83. package/lib/apis/picklists.js.map +0 -1
  84. package/lib/apis/tenants.d.ts +0 -7
  85. package/lib/apis/tenants.d.ts.map +0 -1
  86. package/lib/apis/tenants.js +0 -80
  87. package/lib/apis/tenants.js.map +0 -1
  88. package/lib/apis/users.d.ts +0 -3
  89. package/lib/apis/users.d.ts.map +0 -1
  90. package/lib/apis/users.js +0 -26
  91. package/lib/apis/users.js.map +0 -1
  92. package/lib/apis/utils.d.ts +0 -9
  93. package/lib/apis/utils.d.ts.map +0 -1
  94. package/lib/apis/utils.js +0 -23
  95. package/lib/apis/utils.js.map +0 -1
  96. package/lib/apis/vehicles.d.ts +0 -18
  97. package/lib/apis/vehicles.d.ts.map +0 -1
  98. package/lib/apis/vehicles.js +0 -159
  99. package/lib/apis/vehicles.js.map +0 -1
  100. package/lib/ddb-entities.d.ts +0 -2
  101. package/lib/ddb-entities.d.ts.map +0 -1
  102. package/lib/ddb-entities.js +0 -5
  103. package/lib/ddb-entities.js.map +0 -1
  104. package/lib/types/activities.d.ts +0 -38
  105. package/lib/types/activities.d.ts.map +0 -1
  106. package/lib/types/activities.js +0 -16
  107. package/lib/types/activities.js.map +0 -1
  108. package/lib/types/documents.d.ts +0 -105
  109. package/lib/types/documents.d.ts.map +0 -1
  110. package/lib/types/documents.js +0 -3
  111. package/lib/types/documents.js.map +0 -1
  112. package/lib/types/internet-vehicles.d.ts +0 -64
  113. package/lib/types/internet-vehicles.d.ts.map +0 -1
  114. package/lib/types/internet-vehicles.js +0 -3
  115. package/lib/types/internet-vehicles.js.map +0 -1
  116. package/lib/types/leads.d.ts +0 -134
  117. package/lib/types/leads.d.ts.map +0 -1
  118. package/lib/types/leads.js +0 -3
  119. package/lib/types/leads.js.map +0 -1
  120. package/lib/types/leasing-administration.d.ts +0 -107
  121. package/lib/types/leasing-administration.d.ts.map +0 -1
  122. package/lib/types/leasing-administration.js +0 -3
  123. package/lib/types/leasing-administration.js.map +0 -1
  124. package/lib/types/leasing-search.d.ts +0 -22
  125. package/lib/types/leasing-search.d.ts.map +0 -1
  126. package/lib/types/leasing-search.js +0 -3
  127. package/lib/types/leasing-search.js.map +0 -1
  128. package/lib/types/leasing-settings.d.ts +0 -113
  129. package/lib/types/leasing-settings.d.ts.map +0 -1
  130. package/lib/types/leasing-settings.js +0 -10
  131. package/lib/types/leasing-settings.js.map +0 -1
  132. package/lib/types/leasing.d.ts +0 -322
  133. package/lib/types/leasing.d.ts.map +0 -1
  134. package/lib/types/leasing.js +0 -24
  135. package/lib/types/leasing.js.map +0 -1
  136. package/lib/types/machines.d.ts +0 -38
  137. package/lib/types/machines.d.ts.map +0 -1
  138. package/lib/types/machines.js +0 -3
  139. package/lib/types/machines.js.map +0 -1
  140. package/lib/types/opportunities.d.ts +0 -448
  141. package/lib/types/opportunities.d.ts.map +0 -1
  142. package/lib/types/opportunities.js +0 -68
  143. package/lib/types/opportunities.js.map +0 -1
  144. package/lib/types/payments.d.ts +0 -38
  145. package/lib/types/payments.d.ts.map +0 -1
  146. package/lib/types/payments.js +0 -9
  147. package/lib/types/payments.js.map +0 -1
  148. package/lib/types/quotes.d.ts +0 -173
  149. package/lib/types/quotes.d.ts.map +0 -1
  150. package/lib/types/quotes.js +0 -26
  151. package/lib/types/quotes.js.map +0 -1
  152. package/lib/types/recently-viewed.d.ts +0 -33
  153. package/lib/types/recently-viewed.d.ts.map +0 -1
  154. package/lib/types/recently-viewed.js +0 -3
  155. package/lib/types/recently-viewed.js.map +0 -1
  156. package/lib/types/saved-filters.d.ts +0 -20
  157. package/lib/types/saved-filters.d.ts.map +0 -1
  158. package/lib/types/saved-filters.js +0 -3
  159. package/lib/types/saved-filters.js.map +0 -1
  160. package/lib/types/settings.d.ts +0 -50
  161. package/lib/types/settings.d.ts.map +0 -1
  162. package/lib/types/settings.js.map +0 -1
  163. package/lib/types/templates.d.ts +0 -35
  164. package/lib/types/templates.d.ts.map +0 -1
  165. package/lib/types/templates.js +0 -9
  166. package/lib/types/templates.js.map +0 -1
  167. package/lib/types/website.d.ts +0 -24
  168. package/lib/types/website.d.ts.map +0 -1
  169. package/lib/types/website.js +0 -3
  170. package/lib/types/website.js.map +0 -1
  171. package/lib/utils/forms.d.ts +0 -6
  172. package/lib/utils/forms.d.ts.map +0 -1
  173. package/lib/utils/forms.js +0 -33
  174. package/lib/utils/forms.js.map +0 -1
  175. package/lib/utils/leasing.d.ts +0 -3
  176. package/lib/utils/leasing.d.ts.map +0 -1
  177. package/lib/utils/leasing.js +0 -10
  178. package/lib/utils/leasing.js.map +0 -1
  179. package/lib/utils/slug.d.ts +0 -3
  180. package/lib/utils/slug.d.ts.map +0 -1
  181. package/lib/utils/slug.js +0 -23
  182. package/lib/utils/slug.js.map +0 -1
  183. package/lib/utils/tenants.d.ts +0 -4
  184. package/lib/utils/tenants.d.ts.map +0 -1
  185. package/lib/utils/tenants.js +0 -16
  186. package/lib/utils/tenants.js.map +0 -1
  187. package/lib/utils/vehicles.d.ts +0 -12
  188. package/lib/utils/vehicles.d.ts.map +0 -1
  189. package/lib/utils/vehicles.js +0 -73
  190. package/lib/utils/vehicles.js.map +0 -1
  191. package/src/apis/crm.ts +0 -302
  192. package/src/apis/documents.ts +0 -54
  193. package/src/apis/internet-vehicles.ts +0 -23
  194. package/src/apis/leasing-administration.ts +0 -70
  195. package/src/apis/leasing.ts +0 -257
  196. package/src/apis/opportunities.ts +0 -133
  197. package/src/apis/picklists.ts +0 -50
  198. package/src/apis/tenants.ts +0 -100
  199. package/src/apis/users.ts +0 -22
  200. package/src/apis/utils.ts +0 -23
  201. package/src/apis/vehicles.ts +0 -229
  202. package/src/ddb-entities.ts +0 -1
  203. package/src/environment.d.ts +0 -6
  204. package/src/types/activities.ts +0 -41
  205. package/src/types/documents.ts +0 -110
  206. package/src/types/internet-vehicles.ts +0 -67
  207. package/src/types/leads.ts +0 -144
  208. package/src/types/leasing-administration.ts +0 -131
  209. package/src/types/leasing-search.ts +0 -24
  210. package/src/types/leasing-settings.ts +0 -111
  211. package/src/types/leasing.ts +0 -360
  212. package/src/types/machines.ts +0 -40
  213. package/src/types/opportunities.ts +0 -496
  214. package/src/types/payments.ts +0 -40
  215. package/src/types/quotes.ts +0 -186
  216. package/src/types/recently-viewed.ts +0 -45
  217. package/src/types/saved-filters.ts +0 -21
  218. package/src/types/settings.ts +0 -51
  219. package/src/types/templates.ts +0 -40
  220. package/src/types/website.ts +0 -28
  221. package/src/utils/forms.ts +0 -32
  222. package/src/utils/leasing.ts +0 -14
  223. package/src/utils/slug.ts +0 -19
  224. package/src/utils/tenants.ts +0 -14
  225. package/src/utils/vehicles.ts +0 -92
package/lib/constants.js CHANGED
@@ -1,37 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LeasingAdminUploadHandlers = exports.KM_ROUNDING = exports.PRICE_ROUNDING = exports.MAX_PRICE = exports.MAX_KM = exports.MAX_AGE = exports.FILTER_MULTIPLE_SEPARATOR = exports.FILTER_RANGE_SEPARATOR = exports.MIN_SORT_PRIORITY = exports.MAX_SORT_PRIORITY = exports.Categories = exports.DOCUMENT_TYPES_PICKLIST_ID = exports.JOB_CATEGORIES_PICKLIST_ID = exports.EXTENDED_PICKLIST_ID = exports.HEIGTHENED_PICKLIST_ID = exports.ORG_SEGMENTS_PICKLIST_ID = exports.SUSPENSIONS_PICKLIST_ID = exports.MAKE_MODEL_TYPES_PICKLIST_ID = exports.MAKE_MODELS_PICKLIST_ID = exports.MAKES_PICKLIST_ID = exports.TRANSMISSIONS_PICKLIST_ID = exports.EURONORMS_PICKLIST_ID = exports.CONFIGURATIONS_PICKLIST_ID = exports.CATEGORIES_PICKLIST_ID = exports.CABINS_PICKLIST_ID = exports.BODYWORKS_PICKLIST_ID = exports.WEBSITE_MARKETING_PLATFORM_ID = exports.ENGINEERING_DOCS_PICKLIST_ID = exports.CRANE_MAKE_PICKLIST_ID = exports.VAT_PERCENTAGE_PICKLIST_ID = exports.TAILGATE_MAKE_PICKLIST_ID = exports.AXLE_MAKE_PICKLIST_ID = exports.SUPPLIER_VAT_RATE_PICKLIST_ID = exports.LOCATION_PICKLIST_ID = exports.GEARBOX_MAKE_PICKLIST_ID = exports.AXLE_TIRE_SIZE_PICKLIST_ID = exports.DEPARTMENT_PICKLIST_ID = exports.OPPORTUNITY_SOURCE_PICKLIST_ID = exports.OPPORTUNITY_LOGISTIC_STATUS_PICKLIST_ID = exports.OPPORTUNITY_DEAL_STATUS_PICKLIST_ID = exports.OPPORTUNITY_STATUS_PICKLIST_ID = exports.MARKETING_PLATFORMS_PICKLIST_ID = exports.VEHICLE_SALE_DEAL_STATUS_PICKLIST_ID = exports.VEHICLE_STATE_FILTERS_PICKLIST_ID = exports.VEHICLE_MAIN_FEATURES_PICKLIST_ID = exports.COUNTRIES_PICKLIST_ID = exports.TIMEZONES_PICKLIST_ID = exports.CLIENT_LANGUAGES_PICKLIST_ID = exports.APP_LANGUAGES_PICKLIST_ID = exports.BusinessEntityIds = void 0;
4
- exports.AXLE_CONFIG = exports.UNKNOWN_MAKE = exports.OpportunityType = exports.INTERNET_VEHICLES_ANALYSIS_ALL_DATA = exports.LeasingAdminUploadErrors = exports.LeasingAdminEntities = void 0;
5
- var constants_1 = require("@bisondesk/commons-sdk/lib/constants");
6
- Object.defineProperty(exports, "BusinessEntityIds", { enumerable: true, get: function () { return constants_1.BusinessEntityIds; } });
3
+ exports.FILTER_MULTIPLE_SEPARATOR = exports.FILTER_RANGE_SEPARATOR = exports.MIN_SORT_PRIORITY = exports.MAX_SORT_PRIORITY = exports.SUSPENSIONS_PICKLIST_ID = exports.MAKE_MODELS_PICKLIST_ID = exports.MAKES_PICKLIST_ID = exports.TRANSMISSIONS_PICKLIST_ID = exports.EURONORMS_PICKLIST_ID = exports.CONFIGURATIONS_PICKLIST_ID = exports.CATEGORIES_PICKLIST_ID = exports.CABINS_PICKLIST_ID = exports.BODYWORKS_PICKLIST_ID = exports.COUNTRIES_PICKLIST_ID = exports.TIMEZONES_PICKLIST_ID = exports.APP_LANGUAGES_PICKLIST_ID = void 0;
7
4
  //
8
5
  // STATIC PICKLIST IDS
9
6
  //
10
7
  exports.APP_LANGUAGES_PICKLIST_ID = 'appLanguages';
11
- exports.CLIENT_LANGUAGES_PICKLIST_ID = 'clientLanguages';
12
8
  exports.TIMEZONES_PICKLIST_ID = 'timezones';
13
9
  exports.COUNTRIES_PICKLIST_ID = 'countries';
14
- exports.VEHICLE_MAIN_FEATURES_PICKLIST_ID = 'vehicleMainFeatures';
15
- exports.VEHICLE_STATE_FILTERS_PICKLIST_ID = 'vehicleStateFilters';
16
- exports.VEHICLE_SALE_DEAL_STATUS_PICKLIST_ID = 'vehicleSaleDealStatus';
17
- exports.MARKETING_PLATFORMS_PICKLIST_ID = 'marketingPlatforms';
18
- exports.OPPORTUNITY_STATUS_PICKLIST_ID = 'opportunityStatus';
19
- exports.OPPORTUNITY_DEAL_STATUS_PICKLIST_ID = 'opportunityDealStatus';
20
- exports.OPPORTUNITY_LOGISTIC_STATUS_PICKLIST_ID = 'opportunityLogisticStatus';
21
- exports.OPPORTUNITY_SOURCE_PICKLIST_ID = 'opportunity_source';
22
- exports.DEPARTMENT_PICKLIST_ID = 'department';
23
- exports.AXLE_TIRE_SIZE_PICKLIST_ID = 'axleTireSize';
24
- exports.GEARBOX_MAKE_PICKLIST_ID = 'gearboxMake';
25
- exports.LOCATION_PICKLIST_ID = 'location';
26
- exports.SUPPLIER_VAT_RATE_PICKLIST_ID = 'supplierVATRate';
27
- exports.AXLE_MAKE_PICKLIST_ID = 'axleMake';
28
- exports.TAILGATE_MAKE_PICKLIST_ID = 'tailgateMakes';
29
- exports.VAT_PERCENTAGE_PICKLIST_ID = 'vatPercentages';
30
- exports.CRANE_MAKE_PICKLIST_ID = 'craneMakes';
31
- exports.ENGINEERING_DOCS_PICKLIST_ID = 'engineeringDocs';
32
- //
33
- // STATIC PICKLIST ID VALUES
34
- exports.WEBSITE_MARKETING_PLATFORM_ID = 'PUBLIC_WEBSITE';
35
10
  //
36
11
  // STATIC PICKLIST IDS FROM HyperDMS
37
12
  //
@@ -43,27 +18,7 @@ exports.EURONORMS_PICKLIST_ID = 'euronorm';
43
18
  exports.TRANSMISSIONS_PICKLIST_ID = 'gearbox';
44
19
  exports.MAKES_PICKLIST_ID = 'make';
45
20
  exports.MAKE_MODELS_PICKLIST_ID = 'make_model';
46
- exports.MAKE_MODEL_TYPES_PICKLIST_ID = 'make_model_type';
47
21
  exports.SUSPENSIONS_PICKLIST_ID = 'suspension';
48
- exports.ORG_SEGMENTS_PICKLIST_ID = 'segment';
49
- exports.HEIGTHENED_PICKLIST_ID = 'extended_height_dimension';
50
- exports.EXTENDED_PICKLIST_ID = 'extended_length_dimension';
51
- exports.JOB_CATEGORIES_PICKLIST_ID = 'job_category';
52
- exports.DOCUMENT_TYPES_PICKLIST_ID = 'document_types';
53
- //
54
- // STATIC VALUES FOR VEHICLE CATEGORIES
55
- //
56
- var Categories;
57
- (function (Categories) {
58
- Categories["TractorHead"] = "Tractor Head";
59
- Categories["Truck"] = "Truck";
60
- Categories["Trailer"] = "Trailer";
61
- Categories["SemiTrailer"] = "Semi-Trailer";
62
- Categories["Van"] = "Van";
63
- Categories["Machine"] = "Machine";
64
- Categories["Car"] = "Car";
65
- Categories["Superstructure"] = "Superstructure";
66
- })(Categories = exports.Categories || (exports.Categories = {}));
67
22
  //
68
23
  // PICKLIST CONSTANTS
69
24
  //
@@ -74,882 +29,4 @@ exports.MIN_SORT_PRIORITY = 1;
74
29
  //
75
30
  exports.FILTER_RANGE_SEPARATOR = '__';
76
31
  exports.FILTER_MULTIPLE_SEPARATOR = '__';
77
- //
78
- // Lead interests
79
- //
80
- exports.MAX_AGE = 15;
81
- exports.MAX_KM = 1000000;
82
- exports.MAX_PRICE = 100000;
83
- exports.PRICE_ROUNDING = 1000;
84
- exports.KM_ROUNDING = 100000;
85
- //
86
- // Leasing administration
87
- //
88
- var LeasingAdminUploadHandlers;
89
- (function (LeasingAdminUploadHandlers) {
90
- LeasingAdminUploadHandlers["DhondtMonthly"] = "dhondt-monthly-invoice";
91
- LeasingAdminUploadHandlers["DhondtProrata"] = "dhondt-prorata-invoice";
92
- LeasingAdminUploadHandlers["Belfius"] = "belfius-monthly-invoice";
93
- LeasingAdminUploadHandlers["ING"] = "ing-monthly-invoice";
94
- })(LeasingAdminUploadHandlers = exports.LeasingAdminUploadHandlers || (exports.LeasingAdminUploadHandlers = {}));
95
- var LeasingAdminEntities;
96
- (function (LeasingAdminEntities) {
97
- LeasingAdminEntities["Dhondt"] = "dhondt";
98
- LeasingAdminEntities["Becris"] = "becris";
99
- LeasingAdminEntities["ING"] = "ing";
100
- })(LeasingAdminEntities = exports.LeasingAdminEntities || (exports.LeasingAdminEntities = {}));
101
- var LeasingAdminUploadErrors;
102
- (function (LeasingAdminUploadErrors) {
103
- LeasingAdminUploadErrors["DuplicatedFile"] = "leasing-administration.file-already-exists";
104
- LeasingAdminUploadErrors["FetchCurrentFile"] = "leasing-administration.diff.fetch-current-file-failed";
105
- LeasingAdminUploadErrors["InvalidAttachment"] = "leasing-administration.invalid-attachment";
106
- LeasingAdminUploadErrors["InvalidBelfiusXlsx"] = "leasing-administration.belfius.invalid-xlsx";
107
- LeasingAdminUploadErrors["InvalidHandlerId"] = "leasing-administration.invalid-handler";
108
- LeasingAdminUploadErrors["InvalidInvoiceFormat"] = "leasing-administration.upload.invalid-invoice";
109
- LeasingAdminUploadErrors["NegativeAmount"] = "leasing-administration.negative-amount";
110
- LeasingAdminUploadErrors["OngoingUpload"] = "leasing-administration.ongoing-upload";
111
- LeasingAdminUploadErrors["Publish"] = "leasing-administration.upload.publish-failed";
112
- LeasingAdminUploadErrors["UnknownVehicle"] = "leasing-administration.belfius.unknown-vehicle";
113
- LeasingAdminUploadErrors["MissingVehicle"] = "leasing-administration.belfius.missing-vehicle";
114
- LeasingAdminUploadErrors["Validation"] = "leasing-administration.upload.invalid-request";
115
- })(LeasingAdminUploadErrors = exports.LeasingAdminUploadErrors || (exports.LeasingAdminUploadErrors = {}));
116
- //
117
- // Lead interests
118
- //
119
- exports.INTERNET_VEHICLES_ANALYSIS_ALL_DATA = 'all';
120
- //
121
- // Opportunities
122
- //
123
- var OpportunityType;
124
- (function (OpportunityType) {
125
- OpportunityType["LEASING"] = "leasing";
126
- OpportunityType["SALES"] = "sales";
127
- })(OpportunityType = exports.OpportunityType || (exports.OpportunityType = {}));
128
- //
129
- // VEHICLES
130
- //
131
- exports.UNKNOWN_MAKE = 'other';
132
- exports.AXLE_CONFIG = {
133
- '4x2': [
134
- {
135
- nr: 1,
136
- position: 'Front',
137
- steering: true,
138
- powered: false,
139
- twinWheels: false,
140
- },
141
- {
142
- nr: 2,
143
- position: 'Back',
144
- steering: false,
145
- powered: true,
146
- twinWheels: true,
147
- },
148
- ],
149
- '4x4': [
150
- {
151
- nr: 1,
152
- position: 'Front',
153
- steering: true,
154
- powered: true,
155
- twinWheels: false,
156
- },
157
- {
158
- nr: 2,
159
- position: 'Back',
160
- steering: false,
161
- powered: true,
162
- twinWheels: true,
163
- },
164
- ],
165
- '6x2': [
166
- {
167
- nr: 1,
168
- position: 'Front',
169
- steering: true,
170
- powered: false,
171
- twinWheels: false,
172
- },
173
- {
174
- nr: 2,
175
- position: 'Back',
176
- steering: false,
177
- powered: true,
178
- twinWheels: false,
179
- },
180
- {
181
- nr: 3,
182
- position: 'Back',
183
- steering: false,
184
- powered: false,
185
- twinWheels: true,
186
- },
187
- ],
188
- '6x4': [
189
- {
190
- nr: 1,
191
- position: 'Front',
192
- steering: true,
193
- powered: false,
194
- twinWheels: false,
195
- },
196
- {
197
- nr: 2,
198
- position: 'Back',
199
- steering: false,
200
- powered: true,
201
- twinWheels: true,
202
- },
203
- {
204
- nr: 3,
205
- position: 'Back',
206
- steering: false,
207
- powered: true,
208
- twinWheels: true,
209
- },
210
- ],
211
- '6x6': [
212
- {
213
- nr: 1,
214
- position: 'Front',
215
- steering: true,
216
- powered: true,
217
- twinWheels: false,
218
- },
219
- {
220
- nr: 2,
221
- position: 'Back',
222
- steering: false,
223
- powered: true,
224
- twinWheels: true,
225
- },
226
- {
227
- nr: 3,
228
- position: 'Back',
229
- steering: false,
230
- powered: true,
231
- twinWheels: true,
232
- },
233
- ],
234
- '8x2': [
235
- {
236
- nr: 1,
237
- position: 'Front',
238
- steering: true,
239
- powered: false,
240
- twinWheels: false,
241
- },
242
- {
243
- nr: 2,
244
- position: 'Front',
245
- steering: true,
246
- powered: false,
247
- twinWheels: false,
248
- },
249
- {
250
- nr: 3,
251
- position: 'Back',
252
- steering: false,
253
- powered: true,
254
- twinWheels: false,
255
- },
256
- {
257
- nr: 4,
258
- position: 'Back',
259
- steering: false,
260
- powered: false,
261
- twinWheels: true,
262
- },
263
- ],
264
- '8x4': [
265
- {
266
- nr: 1,
267
- position: 'Front',
268
- steering: true,
269
- powered: false,
270
- twinWheels: false,
271
- },
272
- {
273
- nr: 2,
274
- position: 'Front',
275
- steering: true,
276
- powered: false,
277
- twinWheels: false,
278
- },
279
- {
280
- nr: 3,
281
- position: 'Back',
282
- steering: false,
283
- powered: true,
284
- twinWheels: true,
285
- },
286
- {
287
- nr: 4,
288
- position: 'Back',
289
- steering: false,
290
- powered: true,
291
- twinWheels: true,
292
- },
293
- ],
294
- '8x6': [
295
- {
296
- nr: 1,
297
- position: 'Front',
298
- steering: true,
299
- powered: true,
300
- twinWheels: false,
301
- },
302
- {
303
- nr: 2,
304
- position: 'Front',
305
- steering: true,
306
- powered: false,
307
- twinWheels: false,
308
- },
309
- {
310
- nr: 3,
311
- position: 'Back',
312
- steering: false,
313
- powered: true,
314
- twinWheels: true,
315
- },
316
- {
317
- nr: 4,
318
- position: 'Back',
319
- steering: false,
320
- powered: true,
321
- twinWheels: true,
322
- },
323
- ],
324
- '8x8': [
325
- {
326
- nr: 1,
327
- position: 'Front',
328
- steering: true,
329
- powered: true,
330
- twinWheels: false,
331
- },
332
- {
333
- nr: 2,
334
- position: 'Front',
335
- steering: true,
336
- powered: true,
337
- twinWheels: false,
338
- },
339
- {
340
- nr: 3,
341
- position: 'Back',
342
- steering: false,
343
- powered: true,
344
- twinWheels: true,
345
- },
346
- {
347
- nr: 4,
348
- position: 'Back',
349
- steering: false,
350
- powered: true,
351
- twinWheels: true,
352
- },
353
- ],
354
- '10x4': [
355
- {
356
- nr: 1,
357
- position: 'Front',
358
- steering: true,
359
- powered: false,
360
- twinWheels: false,
361
- },
362
- {
363
- nr: 2,
364
- position: 'Front',
365
- steering: true,
366
- powered: false,
367
- twinWheels: false,
368
- },
369
- {
370
- nr: 3,
371
- position: 'Front',
372
- steering: true,
373
- powered: false,
374
- twinWheels: false,
375
- },
376
- {
377
- nr: 4,
378
- position: 'Back',
379
- steering: false,
380
- powered: true,
381
- twinWheels: true,
382
- },
383
- {
384
- nr: 5,
385
- position: 'Back',
386
- steering: false,
387
- powered: true,
388
- twinWheels: true,
389
- },
390
- ],
391
- '10x6': [
392
- {
393
- nr: 1,
394
- position: 'Front',
395
- steering: true,
396
- powered: false,
397
- twinWheels: false,
398
- },
399
- {
400
- nr: 2,
401
- position: 'Front',
402
- steering: true,
403
- powered: false,
404
- twinWheels: false,
405
- },
406
- {
407
- nr: 3,
408
- position: 'Back',
409
- steering: false,
410
- powered: true,
411
- twinWheels: false,
412
- },
413
- {
414
- nr: 4,
415
- position: 'Back',
416
- steering: false,
417
- powered: true,
418
- twinWheels: true,
419
- },
420
- {
421
- nr: 5,
422
- position: 'Back',
423
- steering: false,
424
- powered: true,
425
- twinWheels: true,
426
- },
427
- ],
428
- '10x8': [
429
- {
430
- nr: 1,
431
- position: 'Front',
432
- steering: true,
433
- powered: true,
434
- twinWheels: false,
435
- },
436
- {
437
- nr: 2,
438
- position: 'Front',
439
- steering: true,
440
- powered: true,
441
- twinWheels: false,
442
- },
443
- {
444
- nr: 3,
445
- position: 'Front',
446
- steering: true,
447
- powered: false,
448
- twinWheels: false,
449
- },
450
- {
451
- nr: 4,
452
- position: 'Back',
453
- steering: false,
454
- powered: true,
455
- twinWheels: true,
456
- },
457
- {
458
- nr: 5,
459
- position: 'Back',
460
- steering: false,
461
- powered: true,
462
- twinWheels: true,
463
- },
464
- ],
465
- '10x10': [
466
- {
467
- nr: 1,
468
- position: 'Front',
469
- steering: true,
470
- powered: true,
471
- twinWheels: false,
472
- },
473
- {
474
- nr: 2,
475
- position: 'Front',
476
- steering: true,
477
- powered: true,
478
- twinWheels: false,
479
- },
480
- {
481
- nr: 3,
482
- position: 'Front',
483
- steering: true,
484
- powered: true,
485
- twinWheels: false,
486
- },
487
- {
488
- nr: 4,
489
- position: 'Back',
490
- steering: false,
491
- powered: true,
492
- twinWheels: true,
493
- },
494
- {
495
- nr: 5,
496
- position: 'Back',
497
- steering: false,
498
- powered: true,
499
- twinWheels: true,
500
- },
501
- ],
502
- '1 axle': [
503
- {
504
- nr: 1,
505
- position: 'Back',
506
- steering: false,
507
- powered: false,
508
- twinWheels: false,
509
- },
510
- ],
511
- '2 axles': [
512
- {
513
- nr: 1,
514
- position: 'Back',
515
- steering: false,
516
- powered: false,
517
- twinWheels: false,
518
- },
519
- {
520
- nr: 2,
521
- position: 'Back',
522
- steering: false,
523
- powered: false,
524
- twinWheels: false,
525
- },
526
- ],
527
- '3 axles': [
528
- {
529
- nr: 1,
530
- position: 'Back',
531
- steering: false,
532
- powered: false,
533
- twinWheels: false,
534
- },
535
- {
536
- nr: 2,
537
- position: 'Back',
538
- steering: false,
539
- powered: false,
540
- twinWheels: false,
541
- },
542
- {
543
- nr: 3,
544
- position: 'Back',
545
- steering: false,
546
- powered: false,
547
- twinWheels: false,
548
- },
549
- ],
550
- '4 axles': [
551
- {
552
- nr: 1,
553
- position: 'Back',
554
- steering: false,
555
- powered: false,
556
- twinWheels: false,
557
- },
558
- {
559
- nr: 2,
560
- position: 'Back',
561
- steering: false,
562
- powered: false,
563
- twinWheels: false,
564
- },
565
- {
566
- nr: 3,
567
- position: 'Back',
568
- steering: false,
569
- powered: false,
570
- twinWheels: false,
571
- },
572
- {
573
- nr: 4,
574
- position: 'Back',
575
- steering: false,
576
- powered: false,
577
- twinWheels: false,
578
- },
579
- ],
580
- '5 axles': [
581
- {
582
- nr: 1,
583
- position: 'Back',
584
- steering: false,
585
- powered: false,
586
- twinWheels: false,
587
- },
588
- {
589
- nr: 2,
590
- position: 'Back',
591
- steering: false,
592
- powered: false,
593
- twinWheels: false,
594
- },
595
- {
596
- nr: 3,
597
- position: 'Back',
598
- steering: false,
599
- powered: false,
600
- twinWheels: false,
601
- },
602
- {
603
- nr: 4,
604
- position: 'Back',
605
- steering: false,
606
- powered: false,
607
- twinWheels: false,
608
- },
609
- {
610
- nr: 5,
611
- position: 'Back',
612
- steering: false,
613
- powered: false,
614
- twinWheels: false,
615
- },
616
- ],
617
- '6 axles': [
618
- {
619
- nr: 1,
620
- position: 'Back',
621
- steering: false,
622
- powered: false,
623
- twinWheels: false,
624
- },
625
- {
626
- nr: 2,
627
- position: 'Back',
628
- steering: false,
629
- powered: false,
630
- twinWheels: false,
631
- },
632
- {
633
- nr: 3,
634
- position: 'Back',
635
- steering: false,
636
- powered: false,
637
- twinWheels: false,
638
- },
639
- {
640
- nr: 4,
641
- position: 'Back',
642
- steering: false,
643
- powered: false,
644
- twinWheels: false,
645
- },
646
- {
647
- nr: 5,
648
- position: 'Back',
649
- steering: false,
650
- powered: false,
651
- twinWheels: false,
652
- },
653
- {
654
- nr: 6,
655
- position: 'Back',
656
- steering: false,
657
- powered: false,
658
- twinWheels: false,
659
- },
660
- ],
661
- '7 axles': [
662
- {
663
- nr: 1,
664
- position: 'Back',
665
- steering: false,
666
- powered: false,
667
- twinWheels: false,
668
- },
669
- {
670
- nr: 2,
671
- position: 'Back',
672
- steering: false,
673
- powered: false,
674
- twinWheels: false,
675
- },
676
- {
677
- nr: 3,
678
- position: 'Back',
679
- steering: false,
680
- powered: false,
681
- twinWheels: false,
682
- },
683
- {
684
- nr: 4,
685
- position: 'Back',
686
- steering: false,
687
- powered: false,
688
- twinWheels: false,
689
- },
690
- {
691
- nr: 5,
692
- position: 'Back',
693
- steering: false,
694
- powered: false,
695
- twinWheels: false,
696
- },
697
- {
698
- nr: 6,
699
- position: 'Back',
700
- steering: false,
701
- powered: false,
702
- twinWheels: false,
703
- },
704
- {
705
- nr: 7,
706
- position: 'Back',
707
- steering: false,
708
- powered: false,
709
- twinWheels: false,
710
- },
711
- ],
712
- '8 axles': [
713
- {
714
- nr: 1,
715
- position: 'Back',
716
- steering: false,
717
- powered: false,
718
- twinWheels: false,
719
- },
720
- {
721
- nr: 2,
722
- position: 'Back',
723
- steering: false,
724
- powered: false,
725
- twinWheels: false,
726
- },
727
- {
728
- nr: 3,
729
- position: 'Back',
730
- steering: false,
731
- powered: false,
732
- twinWheels: false,
733
- },
734
- {
735
- nr: 4,
736
- position: 'Back',
737
- steering: false,
738
- powered: false,
739
- twinWheels: false,
740
- },
741
- {
742
- nr: 5,
743
- position: 'Back',
744
- steering: false,
745
- powered: false,
746
- twinWheels: false,
747
- },
748
- {
749
- nr: 6,
750
- position: 'Back',
751
- steering: false,
752
- powered: false,
753
- twinWheels: false,
754
- },
755
- {
756
- nr: 7,
757
- position: 'Back',
758
- steering: false,
759
- powered: false,
760
- twinWheels: false,
761
- },
762
- {
763
- nr: 8,
764
- position: 'Back',
765
- steering: false,
766
- powered: false,
767
- twinWheels: false,
768
- },
769
- ],
770
- '1 front, 1 rear': [
771
- {
772
- nr: 1,
773
- position: 'Front',
774
- steering: false,
775
- powered: false,
776
- twinWheels: false,
777
- },
778
- {
779
- nr: 2,
780
- position: 'Back',
781
- steering: false,
782
- powered: false,
783
- twinWheels: false,
784
- },
785
- ],
786
- '1 front, 2 rear': [
787
- {
788
- nr: 1,
789
- position: 'Front',
790
- steering: false,
791
- powered: false,
792
- twinWheels: false,
793
- },
794
- {
795
- nr: 2,
796
- position: 'Back',
797
- steering: false,
798
- powered: false,
799
- twinWheels: false,
800
- },
801
- {
802
- nr: 3,
803
- position: 'Back',
804
- steering: false,
805
- powered: false,
806
- twinWheels: false,
807
- },
808
- ],
809
- '1 front, 3 rear': [
810
- {
811
- nr: 1,
812
- position: 'Front',
813
- steering: false,
814
- powered: false,
815
- twinWheels: false,
816
- },
817
- {
818
- nr: 2,
819
- position: 'Back',
820
- steering: false,
821
- powered: false,
822
- twinWheels: false,
823
- },
824
- {
825
- nr: 3,
826
- position: 'Back',
827
- steering: false,
828
- powered: false,
829
- twinWheels: false,
830
- },
831
- {
832
- nr: 4,
833
- position: 'Back',
834
- steering: false,
835
- powered: false,
836
- twinWheels: false,
837
- },
838
- ],
839
- '2 front, 2 rear': [
840
- {
841
- nr: 1,
842
- position: 'Front',
843
- steering: false,
844
- powered: false,
845
- twinWheels: false,
846
- },
847
- {
848
- nr: 2,
849
- position: 'Front',
850
- steering: false,
851
- powered: false,
852
- twinWheels: false,
853
- },
854
- {
855
- nr: 3,
856
- position: 'Back',
857
- steering: false,
858
- powered: false,
859
- twinWheels: false,
860
- },
861
- {
862
- nr: 4,
863
- position: 'Back',
864
- steering: false,
865
- powered: false,
866
- twinWheels: false,
867
- },
868
- ],
869
- '2 front, 3 rear': [
870
- {
871
- nr: 1,
872
- position: 'Front',
873
- steering: false,
874
- powered: false,
875
- twinWheels: false,
876
- },
877
- {
878
- nr: 2,
879
- position: 'Front',
880
- steering: false,
881
- powered: false,
882
- twinWheels: false,
883
- },
884
- {
885
- nr: 3,
886
- position: 'Back',
887
- steering: false,
888
- powered: false,
889
- twinWheels: false,
890
- },
891
- {
892
- nr: 4,
893
- position: 'Back',
894
- steering: false,
895
- powered: false,
896
- twinWheels: false,
897
- },
898
- {
899
- nr: 5,
900
- position: 'Back',
901
- steering: false,
902
- powered: false,
903
- twinWheels: false,
904
- },
905
- ],
906
- '1 middle': [
907
- {
908
- nr: 1,
909
- position: 'Middle',
910
- steering: false,
911
- powered: false,
912
- twinWheels: false,
913
- },
914
- ],
915
- '2 middle': [
916
- {
917
- nr: 1,
918
- position: 'Middle',
919
- steering: false,
920
- powered: false,
921
- twinWheels: false,
922
- },
923
- {
924
- nr: 2,
925
- position: 'Middle',
926
- steering: false,
927
- powered: false,
928
- twinWheels: false,
929
- },
930
- ],
931
- '3 middle': [
932
- {
933
- nr: 1,
934
- position: 'Middle',
935
- steering: false,
936
- powered: false,
937
- twinWheels: false,
938
- },
939
- {
940
- nr: 2,
941
- position: 'Middle',
942
- steering: false,
943
- powered: false,
944
- twinWheels: false,
945
- },
946
- {
947
- nr: 3,
948
- position: 'Middle',
949
- steering: false,
950
- powered: false,
951
- twinWheels: false,
952
- },
953
- ],
954
- };
955
32
  //# sourceMappingURL=constants.js.map