@bisondesk/core-sdk 1.0.21 → 1.0.23-B

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/apis/crm.d.ts +39 -0
  2. package/lib/apis/crm.d.ts.map +1 -0
  3. package/lib/apis/crm.js +201 -0
  4. package/lib/apis/crm.js.map +1 -0
  5. package/lib/apis/documents.d.ts +4 -0
  6. package/lib/apis/documents.d.ts.map +1 -0
  7. package/lib/apis/documents.js +47 -0
  8. package/lib/apis/documents.js.map +1 -0
  9. package/lib/apis/internet-vehicles.d.ts +3 -0
  10. package/lib/apis/internet-vehicles.d.ts.map +1 -0
  11. package/lib/apis/internet-vehicles.js +27 -0
  12. package/lib/apis/internet-vehicles.js.map +1 -0
  13. package/lib/apis/leasing-administration.d.ts +8 -0
  14. package/lib/apis/leasing-administration.d.ts.map +1 -0
  15. package/lib/apis/leasing-administration.js +49 -0
  16. package/lib/apis/leasing-administration.js.map +1 -0
  17. package/lib/apis/leasing.d.ts +19 -0
  18. package/lib/apis/leasing.d.ts.map +1 -0
  19. package/lib/apis/leasing.js +168 -0
  20. package/lib/apis/leasing.js.map +1 -0
  21. package/lib/apis/opportunities.d.ts +9 -0
  22. package/lib/apis/opportunities.d.ts.map +1 -0
  23. package/lib/apis/opportunities.js +94 -0
  24. package/lib/apis/opportunities.js.map +1 -0
  25. package/lib/apis/picklists.d.ts +5 -0
  26. package/lib/apis/picklists.d.ts.map +1 -0
  27. package/lib/apis/picklists.js +44 -0
  28. package/lib/apis/picklists.js.map +1 -0
  29. package/lib/apis/tenants.d.ts +7 -0
  30. package/lib/apis/tenants.d.ts.map +1 -0
  31. package/lib/apis/tenants.js +80 -0
  32. package/lib/apis/tenants.js.map +1 -0
  33. package/lib/apis/users.d.ts +3 -0
  34. package/lib/apis/users.d.ts.map +1 -0
  35. package/lib/apis/users.js +26 -0
  36. package/lib/apis/users.js.map +1 -0
  37. package/lib/apis/utils.d.ts +9 -0
  38. package/lib/apis/utils.d.ts.map +1 -0
  39. package/lib/apis/utils.js +23 -0
  40. package/lib/apis/utils.js.map +1 -0
  41. package/lib/apis/vehicles.d.ts +18 -0
  42. package/lib/apis/vehicles.d.ts.map +1 -0
  43. package/lib/apis/vehicles.js +159 -0
  44. package/lib/apis/vehicles.js.map +1 -0
  45. package/lib/constants.d.ts +77 -0
  46. package/lib/constants.d.ts.map +1 -1
  47. package/lib/constants.js +924 -1
  48. package/lib/constants.js.map +1 -1
  49. package/lib/ddb-entities.d.ts +2 -0
  50. package/lib/ddb-entities.d.ts.map +1 -0
  51. package/lib/ddb-entities.js +5 -0
  52. package/lib/ddb-entities.js.map +1 -0
  53. package/lib/types/activities.d.ts +38 -0
  54. package/lib/types/activities.d.ts.map +1 -0
  55. package/lib/types/activities.js +16 -0
  56. package/lib/types/activities.js.map +1 -0
  57. package/lib/types/crm.d.ts +103 -30
  58. package/lib/types/crm.d.ts.map +1 -1
  59. package/lib/types/crm.js +16 -0
  60. package/lib/types/crm.js.map +1 -1
  61. package/lib/types/definitions.d.ts +15 -13
  62. package/lib/types/definitions.d.ts.map +1 -1
  63. package/lib/types/documents.d.ts +105 -0
  64. package/lib/types/documents.d.ts.map +1 -0
  65. package/lib/types/{interests.js → documents.js} +1 -1
  66. package/lib/types/documents.js.map +1 -0
  67. package/lib/types/fields.d.ts +26 -25
  68. package/lib/types/fields.d.ts.map +1 -1
  69. package/lib/types/fields.js +4 -0
  70. package/lib/types/fields.js.map +1 -1
  71. package/lib/types/internet-vehicles.d.ts +64 -0
  72. package/lib/types/internet-vehicles.d.ts.map +1 -0
  73. package/lib/types/internet-vehicles.js +3 -0
  74. package/lib/types/internet-vehicles.js.map +1 -0
  75. package/lib/types/leads.d.ts +134 -0
  76. package/lib/types/leads.d.ts.map +1 -0
  77. package/lib/types/leads.js +3 -0
  78. package/lib/types/leads.js.map +1 -0
  79. package/lib/types/leasing-administration.d.ts +107 -0
  80. package/lib/types/leasing-administration.d.ts.map +1 -0
  81. package/lib/types/leasing-administration.js +3 -0
  82. package/lib/types/leasing-administration.js.map +1 -0
  83. package/lib/types/leasing-search.d.ts +22 -0
  84. package/lib/types/leasing-search.d.ts.map +1 -0
  85. package/lib/types/leasing-search.js +3 -0
  86. package/lib/types/leasing-search.js.map +1 -0
  87. package/lib/types/leasing-settings.d.ts +113 -0
  88. package/lib/types/leasing-settings.d.ts.map +1 -0
  89. package/lib/types/leasing-settings.js +10 -0
  90. package/lib/types/leasing-settings.js.map +1 -0
  91. package/lib/types/leasing.d.ts +322 -0
  92. package/lib/types/leasing.d.ts.map +1 -0
  93. package/lib/types/leasing.js +24 -0
  94. package/lib/types/leasing.js.map +1 -0
  95. package/lib/types/machines.d.ts +38 -0
  96. package/lib/types/machines.d.ts.map +1 -0
  97. package/lib/types/machines.js +3 -0
  98. package/lib/types/machines.js.map +1 -0
  99. package/lib/types/opportunities.d.ts +448 -0
  100. package/lib/types/opportunities.d.ts.map +1 -0
  101. package/lib/types/opportunities.js +68 -0
  102. package/lib/types/opportunities.js.map +1 -0
  103. package/lib/types/payments.d.ts +38 -0
  104. package/lib/types/payments.d.ts.map +1 -0
  105. package/lib/types/payments.js +9 -0
  106. package/lib/types/payments.js.map +1 -0
  107. package/lib/types/picklists.d.ts +15 -4
  108. package/lib/types/picklists.d.ts.map +1 -1
  109. package/lib/types/quotes.d.ts +173 -0
  110. package/lib/types/quotes.d.ts.map +1 -0
  111. package/lib/types/quotes.js +26 -0
  112. package/lib/types/quotes.js.map +1 -0
  113. package/lib/types/recently-viewed.d.ts +33 -0
  114. package/lib/types/recently-viewed.d.ts.map +1 -0
  115. package/lib/types/recently-viewed.js +3 -0
  116. package/lib/types/recently-viewed.js.map +1 -0
  117. package/lib/types/saved-filters.d.ts +20 -0
  118. package/lib/types/saved-filters.d.ts.map +1 -0
  119. package/lib/types/saved-filters.js +3 -0
  120. package/lib/types/saved-filters.js.map +1 -0
  121. package/lib/types/search.d.ts +26 -4
  122. package/lib/types/search.d.ts.map +1 -1
  123. package/lib/types/search.js.map +1 -1
  124. package/lib/types/settings.d.ts +50 -0
  125. package/lib/types/settings.d.ts.map +1 -0
  126. package/lib/types/settings.js +3 -0
  127. package/lib/types/settings.js.map +1 -0
  128. package/lib/types/storage.d.ts +1 -11
  129. package/lib/types/storage.d.ts.map +1 -1
  130. package/lib/types/storage.js +15 -0
  131. package/lib/types/storage.js.map +1 -1
  132. package/lib/types/templates.d.ts +35 -0
  133. package/lib/types/templates.d.ts.map +1 -0
  134. package/lib/types/templates.js +9 -0
  135. package/lib/types/templates.js.map +1 -0
  136. package/lib/types/tenants.d.ts +32 -9
  137. package/lib/types/tenants.d.ts.map +1 -1
  138. package/lib/types/tenants.js +11 -0
  139. package/lib/types/tenants.js.map +1 -1
  140. package/lib/types/users.d.ts +11 -3
  141. package/lib/types/users.d.ts.map +1 -1
  142. package/lib/types/utils.d.ts +20 -0
  143. package/lib/types/utils.d.ts.map +1 -1
  144. package/lib/types/utils.js +6 -0
  145. package/lib/types/utils.js.map +1 -1
  146. package/lib/types/vehicles.d.ts +406 -92
  147. package/lib/types/vehicles.d.ts.map +1 -1
  148. package/lib/types/vehicles.js +54 -1
  149. package/lib/types/vehicles.js.map +1 -1
  150. package/lib/types/website.d.ts +24 -0
  151. package/lib/types/website.d.ts.map +1 -0
  152. package/lib/types/website.js +3 -0
  153. package/lib/types/website.js.map +1 -0
  154. package/lib/utils/forms.d.ts +6 -0
  155. package/lib/utils/forms.d.ts.map +1 -0
  156. package/lib/utils/forms.js +33 -0
  157. package/lib/utils/forms.js.map +1 -0
  158. package/lib/utils/leasing.d.ts +3 -0
  159. package/lib/utils/leasing.d.ts.map +1 -0
  160. package/lib/utils/leasing.js +10 -0
  161. package/lib/utils/leasing.js.map +1 -0
  162. package/lib/utils/slug.d.ts +3 -0
  163. package/lib/utils/slug.d.ts.map +1 -0
  164. package/lib/utils/slug.js +23 -0
  165. package/lib/utils/slug.js.map +1 -0
  166. package/lib/utils/tenants.d.ts +4 -0
  167. package/lib/utils/tenants.d.ts.map +1 -0
  168. package/lib/utils/tenants.js +16 -0
  169. package/lib/utils/tenants.js.map +1 -0
  170. package/lib/utils/vehicles.d.ts +12 -0
  171. package/lib/utils/vehicles.d.ts.map +1 -0
  172. package/lib/utils/vehicles.js +73 -0
  173. package/lib/utils/vehicles.js.map +1 -0
  174. package/package.json +8 -6
  175. package/src/apis/crm.ts +302 -0
  176. package/src/apis/documents.ts +54 -0
  177. package/src/apis/internet-vehicles.ts +23 -0
  178. package/src/apis/leasing-administration.ts +70 -0
  179. package/src/apis/leasing.ts +257 -0
  180. package/src/apis/opportunities.ts +133 -0
  181. package/src/apis/picklists.ts +50 -0
  182. package/src/apis/tenants.ts +100 -0
  183. package/src/apis/users.ts +22 -0
  184. package/src/apis/utils.ts +23 -0
  185. package/src/apis/vehicles.ts +229 -0
  186. package/src/constants.ts +930 -1
  187. package/src/ddb-entities.ts +1 -0
  188. package/src/environment.d.ts +6 -0
  189. package/src/types/activities.ts +41 -0
  190. package/src/types/crm.ts +118 -30
  191. package/src/types/definitions.ts +19 -12
  192. package/src/types/documents.ts +110 -0
  193. package/src/types/fields.ts +72 -31
  194. package/src/types/internet-vehicles.ts +67 -0
  195. package/src/types/leads.ts +144 -0
  196. package/src/types/leasing-administration.ts +131 -0
  197. package/src/types/leasing-search.ts +24 -0
  198. package/src/types/leasing-settings.ts +111 -0
  199. package/src/types/leasing.ts +360 -0
  200. package/src/types/machines.ts +40 -0
  201. package/src/types/opportunities.ts +496 -0
  202. package/src/types/payments.ts +40 -0
  203. package/src/types/picklists.ts +26 -7
  204. package/src/types/quotes.ts +186 -0
  205. package/src/types/recently-viewed.ts +45 -0
  206. package/src/types/saved-filters.ts +21 -0
  207. package/src/types/search.ts +34 -4
  208. package/src/types/settings.ts +51 -0
  209. package/src/types/storage.ts +1 -12
  210. package/src/types/templates.ts +40 -0
  211. package/src/types/tenants.ts +37 -11
  212. package/src/types/users.ts +17 -3
  213. package/src/types/utils.ts +25 -0
  214. package/src/types/vehicles.ts +461 -93
  215. package/src/types/website.ts +28 -0
  216. package/src/utils/forms.ts +32 -0
  217. package/src/utils/leasing.ts +14 -0
  218. package/src/utils/slug.ts +19 -0
  219. package/src/utils/tenants.ts +14 -0
  220. package/src/utils/vehicles.ts +92 -0
  221. package/tsconfig.tsbuildinfo +1 -2995
  222. package/lib/types/interests.d.ts +0 -23
  223. package/lib/types/interests.d.ts.map +0 -1
  224. package/lib/types/interests.js.map +0 -1
  225. package/src/types/interests.ts +0 -20
package/lib/constants.js CHANGED
@@ -1,12 +1,37 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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;
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; } });
4
7
  //
5
8
  // STATIC PICKLIST IDS
6
9
  //
7
10
  exports.APP_LANGUAGES_PICKLIST_ID = 'appLanguages';
11
+ exports.CLIENT_LANGUAGES_PICKLIST_ID = 'clientLanguages';
8
12
  exports.TIMEZONES_PICKLIST_ID = 'timezones';
9
13
  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';
10
35
  //
11
36
  // STATIC PICKLIST IDS FROM HyperDMS
12
37
  //
@@ -18,7 +43,27 @@ exports.EURONORMS_PICKLIST_ID = 'euronorm';
18
43
  exports.TRANSMISSIONS_PICKLIST_ID = 'gearbox';
19
44
  exports.MAKES_PICKLIST_ID = 'make';
20
45
  exports.MAKE_MODELS_PICKLIST_ID = 'make_model';
46
+ exports.MAKE_MODEL_TYPES_PICKLIST_ID = 'make_model_type';
21
47
  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 = {}));
22
67
  //
23
68
  // PICKLIST CONSTANTS
24
69
  //
@@ -29,4 +74,882 @@ exports.MIN_SORT_PRIORITY = 1;
29
74
  //
30
75
  exports.FILTER_RANGE_SEPARATOR = '__';
31
76
  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
+ };
32
955
  //# sourceMappingURL=constants.js.map