@veeroute/lss-packer-angular 7.33.3222 → 7.35.3290

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 (110) hide show
  1. package/README.md +3 -3
  2. package/fesm2022/veeroute-lss-packer-angular.mjs +27 -27
  3. package/fesm2022/veeroute-lss-packer-angular.mjs.map +1 -1
  4. package/package.json +5 -6
  5. package/types/veeroute-lss-packer-angular.d.ts +1600 -0
  6. package/api/api.d.ts +0 -7
  7. package/api/packService.d.ts +0 -170
  8. package/api/packServiceInterface.d.ts +0 -84
  9. package/api/systemService.d.ts +0 -78
  10. package/api/systemServiceInterface.d.ts +0 -37
  11. package/api.base.service.d.ts +0 -21
  12. package/api.module.d.ts +0 -11
  13. package/configuration.d.ts +0 -106
  14. package/encoder.d.ts +0 -11
  15. package/esm2022/api/api.mjs +0 -8
  16. package/esm2022/api/packService.mjs +0 -348
  17. package/esm2022/api/packServiceInterface.mjs +0 -2
  18. package/esm2022/api/systemService.mjs +0 -149
  19. package/esm2022/api/systemServiceInterface.mjs +0 -2
  20. package/esm2022/api.base.service.mjs +0 -79
  21. package/esm2022/api.module.mjs +0 -40
  22. package/esm2022/configuration.mjs +0 -145
  23. package/esm2022/encoder.mjs +0 -19
  24. package/esm2022/index.mjs +0 -8
  25. package/esm2022/model/attribute.mjs +0 -11
  26. package/esm2022/model/calculationAsyncResult.mjs +0 -2
  27. package/esm2022/model/calculationInfo.mjs +0 -2
  28. package/esm2022/model/calculationSettings.mjs +0 -11
  29. package/esm2022/model/calculationState.mjs +0 -2
  30. package/esm2022/model/calculationStatus.mjs +0 -24
  31. package/esm2022/model/checkResult.mjs +0 -11
  32. package/esm2022/model/coordinates.mjs +0 -11
  33. package/esm2022/model/dimensions.mjs +0 -11
  34. package/esm2022/model/general402.mjs +0 -2
  35. package/esm2022/model/general404.mjs +0 -2
  36. package/esm2022/model/general404Detail.mjs +0 -2
  37. package/esm2022/model/general429.mjs +0 -2
  38. package/esm2022/model/general500.mjs +0 -2
  39. package/esm2022/model/models.mjs +0 -39
  40. package/esm2022/model/packResult.mjs +0 -2
  41. package/esm2022/model/packSettings.mjs +0 -2
  42. package/esm2022/model/packStatistics.mjs +0 -2
  43. package/esm2022/model/packTask.mjs +0 -2
  44. package/esm2022/model/package.mjs +0 -2
  45. package/esm2022/model/packageLayout.mjs +0 -2
  46. package/esm2022/model/packageStatistics.mjs +0 -2
  47. package/esm2022/model/packageType.mjs +0 -19
  48. package/esm2022/model/packer400WithErrorsAndWarnings.mjs +0 -2
  49. package/esm2022/model/packerEntityError.mjs +0 -2
  50. package/esm2022/model/packerEntityErrorType.mjs +0 -28
  51. package/esm2022/model/packerEntityPath.mjs +0 -2
  52. package/esm2022/model/packerEntityType.mjs +0 -20
  53. package/esm2022/model/packerEntityWarning.mjs +0 -2
  54. package/esm2022/model/packerEntityWarningType.mjs +0 -20
  55. package/esm2022/model/packerValidateResult.mjs +0 -2
  56. package/esm2022/model/product.mjs +0 -2
  57. package/esm2022/model/productGroupLayout.mjs +0 -2
  58. package/esm2022/model/productLayout.mjs +0 -2
  59. package/esm2022/model/schemaError.mjs +0 -11
  60. package/esm2022/model/service.mjs +0 -26
  61. package/esm2022/model/tracedata.mjs +0 -2
  62. package/esm2022/model/unpackedItems.mjs +0 -11
  63. package/esm2022/model/versionResult.mjs +0 -11
  64. package/esm2022/param.mjs +0 -2
  65. package/esm2022/provide-api.mjs +0 -15
  66. package/esm2022/variables.mjs +0 -9
  67. package/esm2022/veeroute-lss-packer-angular.mjs +0 -5
  68. package/index.d.ts +0 -7
  69. package/model/attribute.d.ts +0 -23
  70. package/model/calculationAsyncResult.d.ts +0 -21
  71. package/model/calculationInfo.d.ts +0 -49
  72. package/model/calculationSettings.d.ts +0 -39
  73. package/model/calculationState.d.ts +0 -23
  74. package/model/calculationStatus.d.ts +0 -22
  75. package/model/checkResult.d.ts +0 -19
  76. package/model/coordinates.d.ts +0 -27
  77. package/model/dimensions.d.ts +0 -31
  78. package/model/general402.d.ts +0 -21
  79. package/model/general404.d.ts +0 -21
  80. package/model/general404Detail.d.ts +0 -17
  81. package/model/general429.d.ts +0 -21
  82. package/model/general500.d.ts +0 -21
  83. package/model/models.d.ts +0 -38
  84. package/model/packResult.d.ts +0 -37
  85. package/model/packSettings.d.ts +0 -17
  86. package/model/packStatistics.d.ts +0 -36
  87. package/model/packTask.d.ts +0 -31
  88. package/model/package.d.ts +0 -40
  89. package/model/packageLayout.d.ts +0 -38
  90. package/model/packageStatistics.d.ts +0 -41
  91. package/model/packageType.d.ts +0 -17
  92. package/model/packer400WithErrorsAndWarnings.d.ts +0 -36
  93. package/model/packerEntityError.d.ts +0 -26
  94. package/model/packerEntityErrorType.d.ts +0 -26
  95. package/model/packerEntityPath.d.ts +0 -22
  96. package/model/packerEntityType.d.ts +0 -18
  97. package/model/packerEntityWarning.d.ts +0 -26
  98. package/model/packerEntityWarningType.d.ts +0 -18
  99. package/model/packerValidateResult.d.ts +0 -22
  100. package/model/product.d.ts +0 -41
  101. package/model/productGroupLayout.d.ts +0 -31
  102. package/model/productLayout.d.ts +0 -26
  103. package/model/schemaError.d.ts +0 -23
  104. package/model/service.d.ts +0 -24
  105. package/model/tracedata.d.ts +0 -49
  106. package/model/unpackedItems.d.ts +0 -23
  107. package/model/versionResult.d.ts +0 -27
  108. package/param.d.ts +0 -37
  109. package/provide-api.d.ts +0 -3
  110. package/variables.d.ts +0 -8
@@ -0,0 +1,1600 @@
1
+ import { HttpParameterCodec, HttpHeaders, HttpParams, HttpClient, HttpContext, HttpResponse, HttpEvent } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from '@angular/core';
4
+ import { InjectionToken, ModuleWithProviders, EnvironmentProviders } from '@angular/core';
5
+
6
+ /**
7
+ * VRt.Packer [PC]
8
+ *
9
+ * The version of the OpenAPI document: 7.35.3290
10
+ * Contact: support@veeroute.com
11
+ *
12
+ * NOTE: This class is auto generated by OpenAPI Generator.
13
+ * Do not edit the class manually.
14
+ */
15
+ /**
16
+ * Service name.
17
+ */
18
+ declare enum ServicePacker {
19
+ UNIVERSAL = "UNIVERSAL",
20
+ ROUTING = "ROUTING",
21
+ ACCOUNT = "ACCOUNT",
22
+ ADMIN = "ADMIN",
23
+ STUDIO = "STUDIO",
24
+ MONITOR = "MONITOR",
25
+ PACKER = "PACKER",
26
+ AGRO = "AGRO",
27
+ REGISTRY = "REGISTRY",
28
+ SUPPORT = "SUPPORT"
29
+ }
30
+
31
+ /**
32
+ * VRt.Packer [PC]
33
+ *
34
+ * The version of the OpenAPI document: 7.35.3290
35
+ * Contact: support@veeroute.com
36
+ *
37
+ * NOTE: This class is auto generated by OpenAPI Generator.
38
+ * Do not edit the class manually.
39
+ */
40
+
41
+ /**
42
+ * Data for request tracing.
43
+ */
44
+ interface TracedataPacker {
45
+ [key: string]: any | any;
46
+ /**
47
+ * Unique process identifier. One is created per process, the same for different requests for the same process.
48
+ */
49
+ process_code: string;
50
+ /**
51
+ * Unique identifier of the request. A new one is created for each request.
52
+ */
53
+ request_code: string;
54
+ /**
55
+ * Unique username for login.
56
+ */
57
+ username: string;
58
+ /**
59
+ * Unique company key.
60
+ */
61
+ company: string;
62
+ service: ServicePacker;
63
+ /**
64
+ * Operation (request) name.
65
+ */
66
+ operation: string;
67
+ /**
68
+ * Environment identifier.
69
+ */
70
+ env: string;
71
+ /**
72
+ * Pod identifier.
73
+ */
74
+ pod: string;
75
+ /**
76
+ * Date and time service method run in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.
77
+ */
78
+ time: string;
79
+ }
80
+
81
+ /**
82
+ * VRt.Packer [PC]
83
+ *
84
+ * The version of the OpenAPI document: 7.35.3290
85
+ * Contact: support@veeroute.com
86
+ *
87
+ * NOTE: This class is auto generated by OpenAPI Generator.
88
+ * Do not edit the class manually.
89
+ */
90
+
91
+ /**
92
+ * The result of starting an asynchronous calculation.
93
+ */
94
+ interface CalculationAsyncResultPacker {
95
+ [key: string]: any | any;
96
+ tracedata: TracedataPacker;
97
+ /**
98
+ * Unique process identifier. One is created per process, the same for different requests for the same process.
99
+ */
100
+ process_code: string;
101
+ }
102
+
103
+ /**
104
+ * VRt.Packer [PC]
105
+ *
106
+ * The version of the OpenAPI document: 7.35.3290
107
+ * Contact: support@veeroute.com
108
+ *
109
+ * NOTE: This class is auto generated by OpenAPI Generator.
110
+ * Do not edit the class manually.
111
+ */
112
+ /**
113
+ * Calculation status: * `WAITING` - the calculation is waiting to be launched. * `IN_PROGRESS` - calculation in progress. * `FINISHED_IN_TIME` - the calculation completed correctly before the specified maximum time. * `FINISHED_OUT_OF_TIME` - the calculation ended because the specified time for calculation has expired, which can affect the quality of the result for the worse. * `CANCELED` - the calculation was canceled because a cancel command was received. * `CANCELED_BY_TIMEOUT` - the calculation was canceled automatically because the waiting time in the queue was exceeded. * `CANCELED_BY_QUOTA` - the calculation was canceled because the quota for this calculation type was exceeded. * `FAILED` - calculation completed with an error.
114
+ */
115
+ declare enum CalculationStatusPacker {
116
+ WAITING = "WAITING",
117
+ IN_PROGRESS = "IN_PROGRESS",
118
+ FINISHED_IN_TIME = "FINISHED_IN_TIME",
119
+ FINISHED_OUT_OF_TIME = "FINISHED_OUT_OF_TIME",
120
+ CANCELED = "CANCELED",
121
+ CANCELED_BY_TIMEOUT = "CANCELED_BY_TIMEOUT",
122
+ CANCELED_BY_QUOTA = "CANCELED_BY_QUOTA",
123
+ FAILED = "FAILED"
124
+ }
125
+
126
+ /**
127
+ * VRt.Packer [PC]
128
+ *
129
+ * The version of the OpenAPI document: 7.35.3290
130
+ * Contact: support@veeroute.com
131
+ *
132
+ * NOTE: This class is auto generated by OpenAPI Generator.
133
+ * Do not edit the class manually.
134
+ */
135
+
136
+ /**
137
+ * Calculation information.
138
+ */
139
+ interface CalculationInfoPacker {
140
+ [key: string]: any | any;
141
+ status: CalculationStatusPacker;
142
+ /**
143
+ * Message with additional information about the calculation status.
144
+ */
145
+ message?: string | null;
146
+ /**
147
+ * Planning result version.
148
+ */
149
+ result_version: number;
150
+ /**
151
+ * Time duration according to [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations).
152
+ */
153
+ preparing_time: string;
154
+ /**
155
+ * Time duration according to [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations).
156
+ */
157
+ business_validation_time: string;
158
+ /**
159
+ * Time duration according to [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations).
160
+ */
161
+ math_validation_time: string;
162
+ /**
163
+ * Time duration according to [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations).
164
+ */
165
+ waiting_time: string;
166
+ /**
167
+ * Time duration according to [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations).
168
+ */
169
+ calculation_time: string;
170
+ /**
171
+ * Time duration according to [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations).
172
+ */
173
+ postprocessing_time?: string;
174
+ }
175
+
176
+ /**
177
+ * VRt.Packer [PC]
178
+ *
179
+ * The version of the OpenAPI document: 7.35.3290
180
+ * Contact: support@veeroute.com
181
+ *
182
+ * NOTE: This class is auto generated by OpenAPI Generator.
183
+ * Do not edit the class manually.
184
+ */
185
+
186
+ /**
187
+ * Current calculation state.
188
+ */
189
+ interface CalculationStatePacker {
190
+ [key: string]: any | any;
191
+ tracedata: TracedataPacker;
192
+ /**
193
+ * Calculation progress as a percentage. The progress displays the current number of completed steps.
194
+ */
195
+ calculation_progress: number;
196
+ calculation_info: CalculationInfoPacker;
197
+ }
198
+
199
+ /**
200
+ * VRt.Packer [PC]
201
+ *
202
+ * The version of the OpenAPI document: 7.35.3290
203
+ * Contact: support@veeroute.com
204
+ *
205
+ * NOTE: This class is auto generated by OpenAPI Generator.
206
+ * Do not edit the class manually.
207
+ */
208
+ /**
209
+ * Types of [packaging](#section/Description/Packaging-process): * `SLOT` - space in the transport box for a stack of pallets, the height limits the stack of pallets * `PALLET` - a pallet, the products are stacked on top of a pallet, with the help of a cardboard partition it can be divided into 2 - 6 parts, in each of which the same products are placed * `MIXBOX` - mix-box, the products are folded inside the box
210
+ */
211
+ declare enum PackageTypePacker {
212
+ SLOT = "SLOT",
213
+ PALLET = "PALLET",
214
+ MIXBOX = "MIXBOX"
215
+ }
216
+
217
+ /**
218
+ * VRt.Packer [PC]
219
+ *
220
+ * The version of the OpenAPI document: 7.35.3290
221
+ * Contact: support@veeroute.com
222
+ *
223
+ * NOTE: This class is auto generated by OpenAPI Generator.
224
+ * Do not edit the class manually.
225
+ */
226
+
227
+ /**
228
+ * Statistics for package.
229
+ */
230
+ interface PackageStatisticsPacker {
231
+ [key: string]: any | any;
232
+ /**
233
+ * Package key, unique identifier.
234
+ */
235
+ package_key: string;
236
+ package_type: PackageTypePacker;
237
+ /**
238
+ * The total number of packages.
239
+ */
240
+ count: number;
241
+ /**
242
+ * The maximum weight of goods that this package can hold (in total for all packages of the specified key and type), in kilograms.
243
+ */
244
+ max_container_mass: number;
245
+ /**
246
+ * The maximum volume of goods that this package can hold (total for all packages of the specified key and type), in cubic meters.
247
+ */
248
+ max_container_volume: number;
249
+ /**
250
+ * Utilization by mass (in fractions) - the ratio of the loaded mass to the maximum possible (excluding weight of packages).
251
+ */
252
+ utilization_by_mass: number;
253
+ /**
254
+ * Utilization by volume (in fractions) - the ratio of the loaded volume to the maximum possible (excluding volume of packages).
255
+ */
256
+ utilization_by_volume: number;
257
+ }
258
+
259
+ /**
260
+ * VRt.Packer [PC]
261
+ *
262
+ * The version of the OpenAPI document: 7.35.3290
263
+ * Contact: support@veeroute.com
264
+ *
265
+ * NOTE: This class is auto generated by OpenAPI Generator.
266
+ * Do not edit the class manually.
267
+ */
268
+
269
+ /**
270
+ * General statistics for packing scheme.
271
+ */
272
+ interface PackStatisticsPacker {
273
+ [key: string]: any | any;
274
+ /**
275
+ * The total number of products (taking into account the number of goods in one group).
276
+ */
277
+ products_count: number;
278
+ /**
279
+ * The total number of packages.
280
+ */
281
+ packages_count: number;
282
+ /**
283
+ * Total weight in kilograms.
284
+ */
285
+ total_mass: number;
286
+ /**
287
+ * The total volume of all packed goods in cubic meters.
288
+ */
289
+ total_volume: number;
290
+ /**
291
+ * Statistics on used packages.
292
+ */
293
+ package_statistics: Array<PackageStatisticsPacker>;
294
+ }
295
+
296
+ /**
297
+ * VRt.Packer [PC]
298
+ *
299
+ * The version of the OpenAPI document: 7.35.3290
300
+ * Contact: support@veeroute.com
301
+ *
302
+ * NOTE: This class is auto generated by OpenAPI Generator.
303
+ * Do not edit the class manually.
304
+ */
305
+ /**
306
+ * Warning type: * `INVALID_PALLET_SLOT_FIT` - a pallet without rotation must be placed in the slot, taking into account the maximum load in terms of size and weight * `INVALID_MIXBOX_PALLET_FIT` - any mixbox must fit on a pallet considering the maximum load, any 4 mixboxes of the same type in a 2×2 configuration without rotation must fit on any pallet according to the overall dimensions and weight of the package body_dimensions * `INVALID_PRODUCT_PACKAGE_FIT` - the product must be placed on a pallet, or in all mixboxes (if only mixboxes are compatible) * `INVALID_PRODUCT_COMPATIBILITY` - the product must be compatible either with all packages or only with all mixboxes
307
+ */
308
+ declare enum PackerEntityWarningTypePacker {
309
+ INVALID_PALLET_SLOT_FIT = "INVALID_PALLET_SLOT_FIT",
310
+ INVALID_MIXBOX_PALLET_FIT = "INVALID_MIXBOX_PALLET_FIT",
311
+ INVALID_PRODUCT_PACKAGE_FIT = "INVALID_PRODUCT_PACKAGE_FIT",
312
+ INVALID_PRODUCT_COMPATIBILITY = "INVALID_PRODUCT_COMPATIBILITY"
313
+ }
314
+
315
+ /**
316
+ * VRt.Packer [PC]
317
+ *
318
+ * The version of the OpenAPI document: 7.35.3290
319
+ * Contact: support@veeroute.com
320
+ *
321
+ * NOTE: This class is auto generated by OpenAPI Generator.
322
+ * Do not edit the class manually.
323
+ */
324
+ /**
325
+ * Entity type.
326
+ */
327
+ declare enum PackerEntityTypePacker {
328
+ TASK = "TASK",
329
+ SETTINGS = "SETTINGS",
330
+ PRODUCT = "PRODUCT",
331
+ PACKAGE = "PACKAGE"
332
+ }
333
+
334
+ /**
335
+ * VRt.Packer [PC]
336
+ *
337
+ * The version of the OpenAPI document: 7.35.3290
338
+ * Contact: support@veeroute.com
339
+ *
340
+ * NOTE: This class is auto generated by OpenAPI Generator.
341
+ * Do not edit the class manually.
342
+ */
343
+
344
+ /**
345
+ * The description of the entity and the path to it.
346
+ */
347
+ interface PackerEntityPathPacker {
348
+ [key: string]: any | any;
349
+ /**
350
+ * Target entity key.
351
+ */
352
+ entity_key: string | null;
353
+ entity_type: PackerEntityTypePacker;
354
+ child_entity?: PackerEntityPathPacker | null;
355
+ }
356
+
357
+ /**
358
+ * VRt.Packer [PC]
359
+ *
360
+ * The version of the OpenAPI document: 7.35.3290
361
+ * Contact: support@veeroute.com
362
+ *
363
+ * NOTE: This class is auto generated by OpenAPI Generator.
364
+ * Do not edit the class manually.
365
+ */
366
+
367
+ /**
368
+ * Description of the warning of the input data.
369
+ */
370
+ interface PackerEntityWarningPacker {
371
+ [key: string]: any | any;
372
+ type: PackerEntityWarningTypePacker;
373
+ /**
374
+ * Information about warning.
375
+ */
376
+ info?: string | null;
377
+ /**
378
+ * List of entities related to warning.
379
+ */
380
+ entities: Array<PackerEntityPathPacker>;
381
+ }
382
+
383
+ /**
384
+ * VRt.Packer [PC]
385
+ *
386
+ * The version of the OpenAPI document: 7.35.3290
387
+ * Contact: support@veeroute.com
388
+ *
389
+ * NOTE: This class is auto generated by OpenAPI Generator.
390
+ * Do not edit the class manually.
391
+ */
392
+ /**
393
+ * Unpacked items list.
394
+ */
395
+ interface UnpackedItemsPacker {
396
+ [key: string]: any | any;
397
+ /**
398
+ * Unpacked product keys list.
399
+ */
400
+ product_keys?: Array<string>;
401
+ /**
402
+ * Unused package keys list.
403
+ */
404
+ package_keys?: Array<string>;
405
+ }
406
+
407
+ /**
408
+ * VRt.Packer [PC]
409
+ *
410
+ * The version of the OpenAPI document: 7.35.3290
411
+ * Contact: support@veeroute.com
412
+ *
413
+ * NOTE: This class is auto generated by OpenAPI Generator.
414
+ * Do not edit the class manually.
415
+ */
416
+ /**
417
+ * Overall dimensions (L-W-H) and weight.
418
+ */
419
+ interface DimensionsPacker {
420
+ [key: string]: any | any;
421
+ /**
422
+ * Length in millimeters.
423
+ */
424
+ length: number;
425
+ /**
426
+ * Width in millimeters.
427
+ */
428
+ width: number;
429
+ /**
430
+ * Height in millimeters.
431
+ */
432
+ height: number;
433
+ /**
434
+ * Weight in grams.
435
+ */
436
+ mass: number;
437
+ }
438
+
439
+ /**
440
+ * VRt.Packer [PC]
441
+ *
442
+ * The version of the OpenAPI document: 7.35.3290
443
+ * Contact: support@veeroute.com
444
+ *
445
+ * NOTE: This class is auto generated by OpenAPI Generator.
446
+ * Do not edit the class manually.
447
+ */
448
+ /**
449
+ * Local [coordinates](#section/Description/Coordinate-system).
450
+ */
451
+ interface CoordinatesPacker {
452
+ [key: string]: any | any;
453
+ /**
454
+ * Local coordinate along the X axis, in millimeters.
455
+ */
456
+ x: number;
457
+ /**
458
+ * Local coordinate along the Y axis, in millimeters.
459
+ */
460
+ y: number;
461
+ /**
462
+ * Local coordinate along the Z axis, in millimeters.
463
+ */
464
+ z: number;
465
+ }
466
+
467
+ /**
468
+ * VRt.Packer [PC]
469
+ *
470
+ * The version of the OpenAPI document: 7.35.3290
471
+ * Contact: support@veeroute.com
472
+ *
473
+ * NOTE: This class is auto generated by OpenAPI Generator.
474
+ * Do not edit the class manually.
475
+ */
476
+
477
+ /**
478
+ * The layout of the product in the package.
479
+ */
480
+ interface ProductLayoutPacker {
481
+ [key: string]: any | any;
482
+ /**
483
+ * Package key.
484
+ */
485
+ product_key: string;
486
+ coordinates: CoordinatesPacker;
487
+ /**
488
+ * Outer dimensions and weight of the product.
489
+ */
490
+ dimensions: DimensionsPacker;
491
+ }
492
+
493
+ /**
494
+ * VRt.Packer [PC]
495
+ *
496
+ * The version of the OpenAPI document: 7.35.3290
497
+ * Contact: support@veeroute.com
498
+ *
499
+ * NOTE: This class is auto generated by OpenAPI Generator.
500
+ * Do not edit the class manually.
501
+ */
502
+
503
+ /**
504
+ * The layout of the group of same (by key) product in the package. Product group - virtual package that combines the same (by key) product inside another package.
505
+ */
506
+ interface ProductGroupLayoutPacker {
507
+ [key: string]: any | any;
508
+ /**
509
+ * Package key.
510
+ */
511
+ product_key: string;
512
+ coordinates: CoordinatesPacker;
513
+ /**
514
+ * Outer dimensions and total weight of the product group.
515
+ */
516
+ dimensions: DimensionsPacker;
517
+ /**
518
+ * List of product layouts.
519
+ */
520
+ product_layouts: Array<ProductLayoutPacker>;
521
+ }
522
+
523
+ /**
524
+ * VRt.Packer [PC]
525
+ *
526
+ * The version of the OpenAPI document: 7.35.3290
527
+ * Contact: support@veeroute.com
528
+ *
529
+ * NOTE: This class is auto generated by OpenAPI Generator.
530
+ * Do not edit the class manually.
531
+ */
532
+
533
+ /**
534
+ * The layout of the product or other packaging in the package.
535
+ */
536
+ interface PackageLayoutPacker {
537
+ [key: string]: any | any;
538
+ /**
539
+ * Package key.
540
+ */
541
+ package_key: string;
542
+ /**
543
+ * The coordinates of the bottom left far corner of the package relative to the bottom left far corner of the parent package.
544
+ */
545
+ coordinates: CoordinatesPacker;
546
+ /**
547
+ * Overall dimensions and mass of the loaded package.
548
+ */
549
+ dimensions: DimensionsPacker;
550
+ /**
551
+ * List of product group layouts.
552
+ */
553
+ product_group_layouts: Array<ProductGroupLayoutPacker>;
554
+ /**
555
+ * List of package layouts.
556
+ */
557
+ package_layouts: Array<PackageLayoutPacker>;
558
+ }
559
+
560
+ /**
561
+ * VRt.Packer [PC]
562
+ *
563
+ * The version of the OpenAPI document: 7.35.3290
564
+ * Contact: support@veeroute.com
565
+ *
566
+ * NOTE: This class is auto generated by OpenAPI Generator.
567
+ * Do not edit the class manually.
568
+ */
569
+
570
+ /**
571
+ * Packing result.
572
+ */
573
+ interface PackResultPacker {
574
+ [key: string]: any | any;
575
+ tracedata: TracedataPacker;
576
+ /**
577
+ * A product layout plan as a list of packaging locations. The first level contains a list of pallet stacks.
578
+ */
579
+ blueprint: Array<PackageLayoutPacker>;
580
+ statistics: PackStatisticsPacker;
581
+ /**
582
+ * List of warnings. Depending on the flag `calculation_settings.treat_warnings_as_errors` - triggered checks are interpreted as errors or result in the removal of incorrect data from the calculation.
583
+ */
584
+ warnings?: Array<PackerEntityWarningPacker>;
585
+ unpacked_items?: UnpackedItemsPacker;
586
+ /**
587
+ * Calculation progress as a percentage. The progress displays the current number of completed steps.
588
+ */
589
+ calculation_progress: number;
590
+ calculation_info: CalculationInfoPacker;
591
+ }
592
+
593
+ /**
594
+ * VRt.Packer [PC]
595
+ *
596
+ * The version of the OpenAPI document: 7.35.3290
597
+ * Contact: support@veeroute.com
598
+ *
599
+ * NOTE: This class is auto generated by OpenAPI Generator.
600
+ * Do not edit the class manually.
601
+ */
602
+
603
+ /**
604
+ * Data validation result.
605
+ */
606
+ interface PackerValidateResultPacker {
607
+ [key: string]: any | any;
608
+ tracedata: TracedataPacker;
609
+ /**
610
+ * List of warnings. Depending on the flag `calculation_settings.treat_warnings_as_errors` - triggered checks are interpreted as errors or result in the removal of incorrect data from the calculation.
611
+ */
612
+ warnings: Array<PackerEntityWarningPacker>;
613
+ }
614
+
615
+ /**
616
+ * Standard parameter styles defined by OpenAPI spec
617
+ */
618
+ type StandardParamStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
619
+ /**
620
+ * The OpenAPI standard {@link StandardParamStyle}s may be extended by custom styles by the user.
621
+ */
622
+ type ParamStyle = StandardParamStyle | string;
623
+ /**
624
+ * Standard parameter locations defined by OpenAPI spec
625
+ */
626
+ type ParamLocation = 'query' | 'header' | 'path' | 'cookie';
627
+ /**
628
+ * Standard types as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
629
+ */
630
+ type StandardDataType = "integer" | "number" | "boolean" | "string" | "object" | "array";
631
+ /**
632
+ * Standard {@link DataType}s plus your own types/classes.
633
+ */
634
+ type DataType = StandardDataType | string;
635
+ /**
636
+ * Standard formats as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
637
+ */
638
+ type StandardDataFormat = "int32" | "int64" | "float" | "double" | "byte" | "binary" | "date" | "date-time" | "password";
639
+ type DataFormat = StandardDataFormat | string;
640
+ /**
641
+ * The parameter to encode.
642
+ */
643
+ interface Param {
644
+ name: string;
645
+ value: unknown;
646
+ in: ParamLocation;
647
+ style: ParamStyle;
648
+ explode: boolean;
649
+ dataType: DataType;
650
+ dataFormat: DataFormat | undefined;
651
+ }
652
+
653
+ interface ConfigurationParameters {
654
+ /**
655
+ * @deprecated Since 5.0. Use credentials instead
656
+ */
657
+ apiKeys?: {
658
+ [key: string]: string;
659
+ };
660
+ username?: string;
661
+ password?: string;
662
+ /**
663
+ * @deprecated Since 5.0. Use credentials instead
664
+ */
665
+ accessToken?: string | (() => string);
666
+ basePath?: string;
667
+ withCredentials?: boolean;
668
+ /**
669
+ * Takes care of encoding query- and form-parameters.
670
+ */
671
+ encoder?: HttpParameterCodec;
672
+ /**
673
+ * Override the default method for encoding path parameters in various
674
+ * <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
675
+ * <p>
676
+ * See {@link README.md} for more details
677
+ * </p>
678
+ */
679
+ encodeParam?: (param: Param) => string;
680
+ /**
681
+ * The keys are the names in the securitySchemes section of the OpenAPI
682
+ * document. They should map to the value used for authentication
683
+ * minus any standard prefixes such as 'Basic' or 'Bearer'.
684
+ */
685
+ credentials?: {
686
+ [key: string]: string | (() => string | undefined);
687
+ };
688
+ }
689
+ declare class Configuration {
690
+ /**
691
+ * @deprecated Since 5.0. Use credentials instead
692
+ */
693
+ apiKeys?: {
694
+ [key: string]: string;
695
+ };
696
+ username?: string;
697
+ password?: string;
698
+ /**
699
+ * @deprecated Since 5.0. Use credentials instead
700
+ */
701
+ accessToken?: string | (() => string);
702
+ basePath?: string;
703
+ withCredentials?: boolean;
704
+ /**
705
+ * Takes care of encoding query- and form-parameters.
706
+ */
707
+ encoder?: HttpParameterCodec;
708
+ /**
709
+ * Encoding of various path parameter
710
+ * <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
711
+ * <p>
712
+ * See {@link README.md} for more details
713
+ * </p>
714
+ */
715
+ encodeParam: (param: Param) => string;
716
+ /**
717
+ * The keys are the names in the securitySchemes section of the OpenAPI
718
+ * document. They should map to the value used for authentication
719
+ * minus any standard prefixes such as 'Basic' or 'Bearer'.
720
+ */
721
+ credentials: {
722
+ [key: string]: string | (() => string | undefined);
723
+ };
724
+ constructor({ accessToken, apiKeys, basePath, credentials, encodeParam, encoder, password, username, withCredentials }?: ConfigurationParameters);
725
+ /**
726
+ * Select the correct content-type to use for a request.
727
+ * Uses {@link Configuration#isJsonMime} to determine the correct content-type.
728
+ * If no content type is found return the first found type if the contentTypes is not empty
729
+ * @param contentTypes - the array of content types that are available for selection
730
+ * @returns the selected content-type or <code>undefined</code> if no selection could be made.
731
+ */
732
+ selectHeaderContentType(contentTypes: string[]): string | undefined;
733
+ /**
734
+ * Select the correct accept content-type to use for a request.
735
+ * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
736
+ * If no content type is found return the first found type if the contentTypes is not empty
737
+ * @param accepts - the array of content types that are available for selection.
738
+ * @returns the selected content-type or <code>undefined</code> if no selection could be made.
739
+ */
740
+ selectHeaderAccept(accepts: string[]): string | undefined;
741
+ /**
742
+ * Check if the given MIME is a JSON MIME.
743
+ * JSON MIME examples:
744
+ * application/json
745
+ * application/json; charset=UTF8
746
+ * APPLICATION/JSON
747
+ * application/vnd.company+json
748
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
749
+ * @return True if the given MIME is JSON, false otherwise.
750
+ */
751
+ isJsonMime(mime: string): boolean;
752
+ lookupCredential(key: string): string | undefined;
753
+ addCredentialToHeaders(credentialKey: string, headerName: string, headers: HttpHeaders, prefix?: string): HttpHeaders;
754
+ addCredentialToQuery(credentialKey: string, paramName: string, query: HttpParams): HttpParams;
755
+ private defaultEncodeParam;
756
+ }
757
+
758
+ /**
759
+ * VRt.Packer [PC]
760
+ *
761
+ * The version of the OpenAPI document: 7.35.3290
762
+ * Contact: support@veeroute.com
763
+ *
764
+ * NOTE: This class is auto generated by OpenAPI Generator.
765
+ * Do not edit the class manually.
766
+ */
767
+
768
+ declare class BaseService {
769
+ protected basePath: string;
770
+ defaultHeaders: HttpHeaders;
771
+ configuration: Configuration;
772
+ encoder: HttpParameterCodec;
773
+ constructor(basePath?: string | string[], configuration?: Configuration);
774
+ protected canConsumeForm(consumes: string[]): boolean;
775
+ protected addToHttpParams(httpParams: HttpParams, value: any, key?: string, isDeep?: boolean): HttpParams;
776
+ protected addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string, isDeep?: boolean): HttpParams;
777
+ }
778
+
779
+ /**
780
+ * VRt.Packer [PC]
781
+ *
782
+ * The version of the OpenAPI document: 7.35.3290
783
+ * Contact: support@veeroute.com
784
+ *
785
+ * NOTE: This class is auto generated by OpenAPI Generator.
786
+ * Do not edit the class manually.
787
+ */
788
+ /**
789
+ * Attribute.
790
+ */
791
+ interface AttributePacker {
792
+ [key: string]: any | any;
793
+ /**
794
+ * Attribute\'s key.
795
+ */
796
+ key: string;
797
+ /**
798
+ * Attribute\'s value.
799
+ */
800
+ value: string;
801
+ }
802
+
803
+ /**
804
+ * VRt.Packer [PC]
805
+ *
806
+ * The version of the OpenAPI document: 7.35.3290
807
+ * Contact: support@veeroute.com
808
+ *
809
+ * NOTE: This class is auto generated by OpenAPI Generator.
810
+ * Do not edit the class manually.
811
+ */
812
+ /**
813
+ * Calculation settings.
814
+ */
815
+ interface CalculationSettingsPacker {
816
+ [key: string]: any | any;
817
+ /**
818
+ * Max calculation time. The countdown starts from the time when data is uploaded to the server and calculation starts.
819
+ */
820
+ max_calculation_time?: string;
821
+ /**
822
+ * Max calculation time. The countdown starts from the time when data is uploaded to the server.
823
+ */
824
+ max_waiting_time?: string;
825
+ /**
826
+ * Calculation result lifetime. The countdown starts from the time when the calculation is completed.
827
+ */
828
+ result_ttl?: string;
829
+ /**
830
+ * Timezone.
831
+ */
832
+ result_timezone?: number;
833
+ /**
834
+ * Treat warnings as errors and do not run calculations if at least one entity contains invalid data.
835
+ */
836
+ treat_warnings_as_errors?: boolean;
837
+ /**
838
+ * Specifies the calculation accuracy in the decimal point sequence number. It equals 3 by default, so the accuracy is 0.001.
839
+ */
840
+ precision?: number;
841
+ }
842
+
843
+ /**
844
+ * VRt.Packer [PC]
845
+ *
846
+ * The version of the OpenAPI document: 7.35.3290
847
+ * Contact: support@veeroute.com
848
+ *
849
+ * NOTE: This class is auto generated by OpenAPI Generator.
850
+ * Do not edit the class manually.
851
+ */
852
+ /**
853
+ * Service availability result.
854
+ */
855
+ interface CheckResultPacker {
856
+ [key: string]: any | any;
857
+ /**
858
+ * The current health indicator of the service. * `0.0` means the service is not ready to perform tasks. * `1.0` means the service is fully ready to perform tasks.
859
+ */
860
+ health: number;
861
+ }
862
+
863
+ /**
864
+ * VRt.Packer [PC]
865
+ *
866
+ * The version of the OpenAPI document: 7.35.3290
867
+ * Contact: support@veeroute.com
868
+ *
869
+ * NOTE: This class is auto generated by OpenAPI Generator.
870
+ * Do not edit the class manually.
871
+ */
872
+
873
+ /**
874
+ * Error details for 402 `Payment Required`.
875
+ */
876
+ interface General402Packer {
877
+ [key: string]: any | any;
878
+ tracedata: TracedataPacker;
879
+ /**
880
+ * Error message.
881
+ */
882
+ message?: string | null;
883
+ }
884
+
885
+ /**
886
+ * VRt.Packer [PC]
887
+ *
888
+ * The version of the OpenAPI document: 7.35.3290
889
+ * Contact: support@veeroute.com
890
+ *
891
+ * NOTE: This class is auto generated by OpenAPI Generator.
892
+ * Do not edit the class manually.
893
+ */
894
+
895
+ /**
896
+ * Resource details.
897
+ */
898
+ interface General404DetailPacker {
899
+ [key: string]: any | any;
900
+ tracedata: TracedataPacker;
901
+ }
902
+
903
+ /**
904
+ * VRt.Packer [PC]
905
+ *
906
+ * The version of the OpenAPI document: 7.35.3290
907
+ * Contact: support@veeroute.com
908
+ *
909
+ * NOTE: This class is auto generated by OpenAPI Generator.
910
+ * Do not edit the class manually.
911
+ */
912
+
913
+ /**
914
+ * 404 Error details.
915
+ */
916
+ interface General404Packer {
917
+ [key: string]: any | any;
918
+ /**
919
+ * Resource identifier.
920
+ */
921
+ resource_key?: string | null;
922
+ detail?: General404DetailPacker | null;
923
+ }
924
+
925
+ /**
926
+ * VRt.Packer [PC]
927
+ *
928
+ * The version of the OpenAPI document: 7.35.3290
929
+ * Contact: support@veeroute.com
930
+ *
931
+ * NOTE: This class is auto generated by OpenAPI Generator.
932
+ * Do not edit the class manually.
933
+ */
934
+
935
+ /**
936
+ * Error details for 429 `Too Many Requests`.
937
+ */
938
+ interface General429Packer {
939
+ [key: string]: any | any;
940
+ tracedata: TracedataPacker;
941
+ /**
942
+ * Error message.
943
+ */
944
+ message?: string | null;
945
+ }
946
+
947
+ /**
948
+ * VRt.Packer [PC]
949
+ *
950
+ * The version of the OpenAPI document: 7.35.3290
951
+ * Contact: support@veeroute.com
952
+ *
953
+ * NOTE: This class is auto generated by OpenAPI Generator.
954
+ * Do not edit the class manually.
955
+ */
956
+
957
+ /**
958
+ * Error details for 500 `Internal Server Error`.
959
+ */
960
+ interface General500Packer {
961
+ [key: string]: any | any;
962
+ tracedata: TracedataPacker;
963
+ /**
964
+ * Error message.
965
+ */
966
+ message?: string | null;
967
+ }
968
+
969
+ /**
970
+ * VRt.Packer [PC]
971
+ *
972
+ * The version of the OpenAPI document: 7.35.3290
973
+ * Contact: support@veeroute.com
974
+ *
975
+ * NOTE: This class is auto generated by OpenAPI Generator.
976
+ * Do not edit the class manually.
977
+ */
978
+
979
+ /**
980
+ * Packing settings.
981
+ */
982
+ interface PackSettingsPacker {
983
+ [key: string]: any | any;
984
+ calculation_settings?: CalculationSettingsPacker;
985
+ }
986
+
987
+ /**
988
+ * VRt.Packer [PC]
989
+ *
990
+ * The version of the OpenAPI document: 7.35.3290
991
+ * Contact: support@veeroute.com
992
+ *
993
+ * NOTE: This class is auto generated by OpenAPI Generator.
994
+ * Do not edit the class manually.
995
+ */
996
+
997
+ /**
998
+ * Package.
999
+ */
1000
+ interface PackagePacker {
1001
+ [key: string]: any | any;
1002
+ /**
1003
+ * Package key, unique identifier.
1004
+ */
1005
+ key: string;
1006
+ type: PackageTypePacker;
1007
+ /**
1008
+ * Overall dimensions of the main body of the package.
1009
+ */
1010
+ body_dimensions: DimensionsPacker;
1011
+ /**
1012
+ * Dimensions and max mass of the usable space for placing the products.
1013
+ */
1014
+ container_dimensions: DimensionsPacker;
1015
+ /**
1016
+ * The offset of the far left bottom corner of the container relative to the main body.
1017
+ */
1018
+ container_coordinates: CoordinatesPacker;
1019
+ /**
1020
+ * Attributes. Used to add service information.
1021
+ */
1022
+ attributes?: Array<AttributePacker>;
1023
+ }
1024
+
1025
+ /**
1026
+ * VRt.Packer [PC]
1027
+ *
1028
+ * The version of the OpenAPI document: 7.35.3290
1029
+ * Contact: support@veeroute.com
1030
+ *
1031
+ * NOTE: This class is auto generated by OpenAPI Generator.
1032
+ * Do not edit the class manually.
1033
+ */
1034
+
1035
+ /**
1036
+ * Product. Can be rotated 90 degrees around the vertical axis.
1037
+ */
1038
+ interface ProductPacker {
1039
+ [key: string]: any | any;
1040
+ /**
1041
+ * Product key (SKU).
1042
+ */
1043
+ key: string;
1044
+ /**
1045
+ * Number of products.
1046
+ */
1047
+ count?: number;
1048
+ /**
1049
+ * Outer dimensions and mass of one product.
1050
+ */
1051
+ dimensions: DimensionsPacker;
1052
+ /**
1053
+ * The maximum permissible top load that this product can withstand, in kg/m2.
1054
+ */
1055
+ max_pressure?: number;
1056
+ /**
1057
+ * List of keys of compatible packages. If the list is empty, then all packages are considered compatible. The list must be either empty or must contain the keys of all mixboxes.
1058
+ */
1059
+ compatible_package_keys?: Array<string>;
1060
+ /**
1061
+ * Attributes. Used to add service information.
1062
+ */
1063
+ attributes?: Array<AttributePacker>;
1064
+ }
1065
+
1066
+ /**
1067
+ * VRt.Packer [PC]
1068
+ *
1069
+ * The version of the OpenAPI document: 7.35.3290
1070
+ * Contact: support@veeroute.com
1071
+ *
1072
+ * NOTE: This class is auto generated by OpenAPI Generator.
1073
+ * Do not edit the class manually.
1074
+ */
1075
+
1076
+ /**
1077
+ * Initial task.
1078
+ */
1079
+ interface PackTaskPacker {
1080
+ [key: string]: any | any;
1081
+ /**
1082
+ * List of products.
1083
+ */
1084
+ products: Array<ProductPacker>;
1085
+ /**
1086
+ * List of packages. It is obligatory to have at least one package of each type (SLOT, PALLET, MIXBOX).
1087
+ */
1088
+ packages: Array<PackagePacker>;
1089
+ pack_settings?: PackSettingsPacker;
1090
+ /**
1091
+ * The name of the dataset. A technical field that does not affect calculation.
1092
+ */
1093
+ dataset_name?: string;
1094
+ }
1095
+
1096
+ /**
1097
+ * VRt.Packer [PC]
1098
+ *
1099
+ * The version of the OpenAPI document: 7.35.3290
1100
+ * Contact: support@veeroute.com
1101
+ *
1102
+ * NOTE: This class is auto generated by OpenAPI Generator.
1103
+ * Do not edit the class manually.
1104
+ */
1105
+ /**
1106
+ * Data error by schema.
1107
+ */
1108
+ interface SchemaErrorPacker {
1109
+ [key: string]: any | any;
1110
+ /**
1111
+ * Target entity identifier.
1112
+ */
1113
+ entity: string | null;
1114
+ /**
1115
+ * Error message.
1116
+ */
1117
+ message: string;
1118
+ }
1119
+
1120
+ /**
1121
+ * VRt.Packer [PC]
1122
+ *
1123
+ * The version of the OpenAPI document: 7.35.3290
1124
+ * Contact: support@veeroute.com
1125
+ *
1126
+ * NOTE: This class is auto generated by OpenAPI Generator.
1127
+ * Do not edit the class manually.
1128
+ */
1129
+ /**
1130
+ * Error type: * `UNIQUE_IDS_VIOLATION` - all keys must be unique * `INCONSISTENT_REFERENCE` - bad reference key * `INVALID_SLOTS_COUNT` - exactly one SLOT package must be present * `INVALID_SLOT_CONTAINER` - slot container_coordinates must be zero * `INVALID_SLOT_BODY` - slot body_dimensions must be zero * `INVALID_PALLETS_COUNT` - exactly one PALLET package must be present * `INVALID_PALLET_CONTAINER_DIMENSIONS` - the length and width of a pallet container_dimensions must not exceed the corresponding body_dimensions * `INVALID_PALLET_CONTAINER` - the pallet container must not go beyond the boundaries of the pallet body in length and width * `INVALID_MIXBOX_CONTAINER` - mixbox container must be inside body subject to container_coordinates offset * `INVALID_MIXBOX_COUNT` - at least one valid MIXBOX package must be present * `INVALID_PRODUCT_DIMENSIONS` - product length, width and height must be at least 1 millimeter, weight - at least 1 gram * `INVALID_PRODUCT_COUNT` - at least one valid product must be present
1131
+ */
1132
+ declare enum PackerEntityErrorTypePacker {
1133
+ UNIQUE_IDS_VIOLATION = "UNIQUE_IDS_VIOLATION",
1134
+ INCONSISTENT_REFERENCE = "INCONSISTENT_REFERENCE",
1135
+ INVALID_SLOTS_COUNT = "INVALID_SLOTS_COUNT",
1136
+ INVALID_SLOT_CONTAINER = "INVALID_SLOT_CONTAINER",
1137
+ INVALID_SLOT_BODY = "INVALID_SLOT_BODY",
1138
+ INVALID_PALLETS_COUNT = "INVALID_PALLETS_COUNT",
1139
+ INVALID_PALLET_CONTAINER_DIMENSIONS = "INVALID_PALLET_CONTAINER_DIMENSIONS",
1140
+ INVALID_PALLET_CONTAINER = "INVALID_PALLET_CONTAINER",
1141
+ INVALID_MIXBOX_CONTAINER = "INVALID_MIXBOX_CONTAINER",
1142
+ INVALID_MIXBOX_COUNT = "INVALID_MIXBOX_COUNT",
1143
+ INVALID_PRODUCT_DIMENSIONS = "INVALID_PRODUCT_DIMENSIONS",
1144
+ INVALID_PRODUCT_COUNT = "INVALID_PRODUCT_COUNT"
1145
+ }
1146
+
1147
+ /**
1148
+ * VRt.Packer [PC]
1149
+ *
1150
+ * The version of the OpenAPI document: 7.35.3290
1151
+ * Contact: support@veeroute.com
1152
+ *
1153
+ * NOTE: This class is auto generated by OpenAPI Generator.
1154
+ * Do not edit the class manually.
1155
+ */
1156
+
1157
+ /**
1158
+ * Description of the error in the input data.
1159
+ */
1160
+ interface PackerEntityErrorPacker {
1161
+ [key: string]: any | any;
1162
+ type: PackerEntityErrorTypePacker;
1163
+ /**
1164
+ * Information about error.
1165
+ */
1166
+ info?: string | null;
1167
+ /**
1168
+ * List of entities related to error.
1169
+ */
1170
+ entities: Array<PackerEntityPathPacker>;
1171
+ }
1172
+
1173
+ /**
1174
+ * VRt.Packer [PC]
1175
+ *
1176
+ * The version of the OpenAPI document: 7.35.3290
1177
+ * Contact: support@veeroute.com
1178
+ *
1179
+ * NOTE: This class is auto generated by OpenAPI Generator.
1180
+ * Do not edit the class manually.
1181
+ */
1182
+
1183
+ /**
1184
+ * Error details.
1185
+ */
1186
+ interface Packer400WithErrorsAndWarningsPacker {
1187
+ [key: string]: any | any;
1188
+ tracedata: TracedataPacker;
1189
+ /**
1190
+ * Error message.
1191
+ */
1192
+ message?: string | null;
1193
+ /**
1194
+ * List of syntax errors - data does not match the schema.
1195
+ */
1196
+ schema_errors?: Array<SchemaErrorPacker>;
1197
+ /**
1198
+ * A list of errors in the source data that make it impossible to start the calculation.
1199
+ */
1200
+ logical_errors?: Array<PackerEntityErrorPacker>;
1201
+ /**
1202
+ * List of warnings. Depending on the flag `calculation_settings.treat_warnings_as_errors` - triggered checks are interpreted as errors or result in the removal of incorrect data from the calculation.
1203
+ */
1204
+ warnings?: Array<PackerEntityWarningPacker>;
1205
+ }
1206
+
1207
+ /**
1208
+ * VRt.Packer [PC]
1209
+ *
1210
+ * The version of the OpenAPI document: 7.35.3290
1211
+ * Contact: support@veeroute.com
1212
+ *
1213
+ * NOTE: This class is auto generated by OpenAPI Generator.
1214
+ * Do not edit the class manually.
1215
+ */
1216
+ /**
1217
+ * Service version.
1218
+ */
1219
+ interface VersionResultPacker {
1220
+ [key: string]: any | any;
1221
+ /**
1222
+ * Product version. Within a single version, compatibility of common data structures between services is guaranteed. A version change indicates changes that are incompatible with previous versions of the product (and all services).
1223
+ */
1224
+ major: number;
1225
+ /**
1226
+ * Minor version of the service. A version change indicates new functionality. The update is backward compatible with the major version of the service.
1227
+ */
1228
+ minor: number;
1229
+ /**
1230
+ * Build version. Contains backwards compatible bug fixes and docs update.
1231
+ */
1232
+ build: string;
1233
+ }
1234
+
1235
+ /**
1236
+ * VRt.Packer [PC]
1237
+ *
1238
+ * The version of the OpenAPI document: 7.35.3290
1239
+ * Contact: support@veeroute.com
1240
+ *
1241
+ * NOTE: This class is auto generated by OpenAPI Generator.
1242
+ * Do not edit the class manually.
1243
+ */
1244
+
1245
+ interface CancelPackCalculationRequestParams {
1246
+ processCode: string;
1247
+ }
1248
+ interface DeletePackResultRequestParams {
1249
+ processCode: string;
1250
+ }
1251
+ interface ReadPackResultRequestParams {
1252
+ processCode: string;
1253
+ }
1254
+ interface ReadPackStateRequestParams {
1255
+ processCode: string;
1256
+ }
1257
+ interface RunPackCalculationRequestParams {
1258
+ packTaskPacker: PackTaskPacker;
1259
+ }
1260
+ interface RunPackCalculationAsyncRequestParams {
1261
+ packTaskPacker: PackTaskPacker;
1262
+ }
1263
+ interface RunPackValidationRequestParams {
1264
+ packTaskPacker: PackTaskPacker;
1265
+ }
1266
+ interface PackServiceInterface {
1267
+ defaultHeaders: HttpHeaders;
1268
+ configuration: Configuration;
1269
+ /**
1270
+ * Cancel calculation
1271
+ * Cancel calculation process by the calculation identifier.
1272
+ * @param requestParameters
1273
+ */
1274
+ cancelPackCalculation(requestParameters: CancelPackCalculationRequestParams, extraHttpRequestParams?: any): Observable<{}>;
1275
+ /**
1276
+ * Result removal
1277
+ * Removal of the planning result by the calculation identifier.
1278
+ * @param requestParameters
1279
+ */
1280
+ deletePackResult(requestParameters: DeletePackResultRequestParams, extraHttpRequestParams?: any): Observable<{}>;
1281
+ /**
1282
+ * Getting the result
1283
+ * Getting the result based on the calculation identifier.
1284
+ * @param requestParameters
1285
+ */
1286
+ readPackResult(requestParameters: ReadPackResultRequestParams, extraHttpRequestParams?: any): Observable<PackResultPacker>;
1287
+ /**
1288
+ * Calculation state
1289
+ * Read calculation state by the calculation identifier.
1290
+ * @param requestParameters
1291
+ */
1292
+ readPackState(requestParameters: ReadPackStateRequestParams, extraHttpRequestParams?: any): Observable<CalculationStatePacker>;
1293
+ /**
1294
+ * Packing (SYNC)
1295
+ * Planning the optimal package.
1296
+ * @param requestParameters
1297
+ */
1298
+ runPackCalculation(requestParameters: RunPackCalculationRequestParams, extraHttpRequestParams?: any): Observable<PackResultPacker>;
1299
+ /**
1300
+ * Packing (ASYNC)
1301
+ * The result can be obtained using the [result](#operation/read_pack_result) method, removing - with [delete](#operation/delete_pack_result).
1302
+ * @param requestParameters
1303
+ */
1304
+ runPackCalculationAsync(requestParameters: RunPackCalculationAsyncRequestParams, extraHttpRequestParams?: any): Observable<CalculationAsyncResultPacker>;
1305
+ /**
1306
+ * Data validation
1307
+ * Checking data before planning.
1308
+ * @param requestParameters
1309
+ */
1310
+ runPackValidation(requestParameters: RunPackValidationRequestParams, extraHttpRequestParams?: any): Observable<PackerValidateResultPacker>;
1311
+ }
1312
+
1313
+ declare class PackService extends BaseService implements PackServiceInterface {
1314
+ protected httpClient: HttpClient;
1315
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1316
+ /**
1317
+ * Cancel calculation
1318
+ * Cancel calculation process by the calculation identifier.
1319
+ * @param requestParameters
1320
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1321
+ * @param reportProgress flag to report request and response progress.
1322
+ */
1323
+ cancelPackCalculation(requestParameters: CancelPackCalculationRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
1324
+ httpHeaderAccept?: 'application/json';
1325
+ context?: HttpContext;
1326
+ transferCache?: boolean;
1327
+ }): Observable<any>;
1328
+ cancelPackCalculation(requestParameters: CancelPackCalculationRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
1329
+ httpHeaderAccept?: 'application/json';
1330
+ context?: HttpContext;
1331
+ transferCache?: boolean;
1332
+ }): Observable<HttpResponse<any>>;
1333
+ cancelPackCalculation(requestParameters: CancelPackCalculationRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
1334
+ httpHeaderAccept?: 'application/json';
1335
+ context?: HttpContext;
1336
+ transferCache?: boolean;
1337
+ }): Observable<HttpEvent<any>>;
1338
+ /**
1339
+ * Result removal
1340
+ * Removal of the planning result by the calculation identifier.
1341
+ * @param requestParameters
1342
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1343
+ * @param reportProgress flag to report request and response progress.
1344
+ */
1345
+ deletePackResult(requestParameters: DeletePackResultRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
1346
+ httpHeaderAccept?: 'application/json';
1347
+ context?: HttpContext;
1348
+ transferCache?: boolean;
1349
+ }): Observable<any>;
1350
+ deletePackResult(requestParameters: DeletePackResultRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
1351
+ httpHeaderAccept?: 'application/json';
1352
+ context?: HttpContext;
1353
+ transferCache?: boolean;
1354
+ }): Observable<HttpResponse<any>>;
1355
+ deletePackResult(requestParameters: DeletePackResultRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
1356
+ httpHeaderAccept?: 'application/json';
1357
+ context?: HttpContext;
1358
+ transferCache?: boolean;
1359
+ }): Observable<HttpEvent<any>>;
1360
+ /**
1361
+ * Getting the result
1362
+ * Getting the result based on the calculation identifier.
1363
+ * @param requestParameters
1364
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1365
+ * @param reportProgress flag to report request and response progress.
1366
+ */
1367
+ readPackResult(requestParameters: ReadPackResultRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
1368
+ httpHeaderAccept?: 'application/json';
1369
+ context?: HttpContext;
1370
+ transferCache?: boolean;
1371
+ }): Observable<PackResultPacker>;
1372
+ readPackResult(requestParameters: ReadPackResultRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
1373
+ httpHeaderAccept?: 'application/json';
1374
+ context?: HttpContext;
1375
+ transferCache?: boolean;
1376
+ }): Observable<HttpResponse<PackResultPacker>>;
1377
+ readPackResult(requestParameters: ReadPackResultRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
1378
+ httpHeaderAccept?: 'application/json';
1379
+ context?: HttpContext;
1380
+ transferCache?: boolean;
1381
+ }): Observable<HttpEvent<PackResultPacker>>;
1382
+ /**
1383
+ * Calculation state
1384
+ * Read calculation state by the calculation identifier.
1385
+ * @param requestParameters
1386
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1387
+ * @param reportProgress flag to report request and response progress.
1388
+ */
1389
+ readPackState(requestParameters: ReadPackStateRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
1390
+ httpHeaderAccept?: 'application/json';
1391
+ context?: HttpContext;
1392
+ transferCache?: boolean;
1393
+ }): Observable<CalculationStatePacker>;
1394
+ readPackState(requestParameters: ReadPackStateRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
1395
+ httpHeaderAccept?: 'application/json';
1396
+ context?: HttpContext;
1397
+ transferCache?: boolean;
1398
+ }): Observable<HttpResponse<CalculationStatePacker>>;
1399
+ readPackState(requestParameters: ReadPackStateRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
1400
+ httpHeaderAccept?: 'application/json';
1401
+ context?: HttpContext;
1402
+ transferCache?: boolean;
1403
+ }): Observable<HttpEvent<CalculationStatePacker>>;
1404
+ /**
1405
+ * Packing (SYNC)
1406
+ * Planning the optimal package.
1407
+ * @param requestParameters
1408
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1409
+ * @param reportProgress flag to report request and response progress.
1410
+ */
1411
+ runPackCalculation(requestParameters: RunPackCalculationRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
1412
+ httpHeaderAccept?: 'application/json';
1413
+ context?: HttpContext;
1414
+ transferCache?: boolean;
1415
+ }): Observable<PackResultPacker>;
1416
+ runPackCalculation(requestParameters: RunPackCalculationRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
1417
+ httpHeaderAccept?: 'application/json';
1418
+ context?: HttpContext;
1419
+ transferCache?: boolean;
1420
+ }): Observable<HttpResponse<PackResultPacker>>;
1421
+ runPackCalculation(requestParameters: RunPackCalculationRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
1422
+ httpHeaderAccept?: 'application/json';
1423
+ context?: HttpContext;
1424
+ transferCache?: boolean;
1425
+ }): Observable<HttpEvent<PackResultPacker>>;
1426
+ /**
1427
+ * Packing (ASYNC)
1428
+ * The result can be obtained using the [result](#operation/read_pack_result) method, removing - with [delete](#operation/delete_pack_result).
1429
+ * @param requestParameters
1430
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1431
+ * @param reportProgress flag to report request and response progress.
1432
+ */
1433
+ runPackCalculationAsync(requestParameters: RunPackCalculationAsyncRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
1434
+ httpHeaderAccept?: 'application/json';
1435
+ context?: HttpContext;
1436
+ transferCache?: boolean;
1437
+ }): Observable<CalculationAsyncResultPacker>;
1438
+ runPackCalculationAsync(requestParameters: RunPackCalculationAsyncRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
1439
+ httpHeaderAccept?: 'application/json';
1440
+ context?: HttpContext;
1441
+ transferCache?: boolean;
1442
+ }): Observable<HttpResponse<CalculationAsyncResultPacker>>;
1443
+ runPackCalculationAsync(requestParameters: RunPackCalculationAsyncRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
1444
+ httpHeaderAccept?: 'application/json';
1445
+ context?: HttpContext;
1446
+ transferCache?: boolean;
1447
+ }): Observable<HttpEvent<CalculationAsyncResultPacker>>;
1448
+ /**
1449
+ * Data validation
1450
+ * Checking data before planning.
1451
+ * @param requestParameters
1452
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1453
+ * @param reportProgress flag to report request and response progress.
1454
+ */
1455
+ runPackValidation(requestParameters: RunPackValidationRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
1456
+ httpHeaderAccept?: 'application/json';
1457
+ context?: HttpContext;
1458
+ transferCache?: boolean;
1459
+ }): Observable<PackerValidateResultPacker>;
1460
+ runPackValidation(requestParameters: RunPackValidationRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
1461
+ httpHeaderAccept?: 'application/json';
1462
+ context?: HttpContext;
1463
+ transferCache?: boolean;
1464
+ }): Observable<HttpResponse<PackerValidateResultPacker>>;
1465
+ runPackValidation(requestParameters: RunPackValidationRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
1466
+ httpHeaderAccept?: 'application/json';
1467
+ context?: HttpContext;
1468
+ transferCache?: boolean;
1469
+ }): Observable<HttpEvent<PackerValidateResultPacker>>;
1470
+ static ɵfac: i0.ɵɵFactoryDeclaration<PackService, [null, { optional: true; }, { optional: true; }]>;
1471
+ static ɵprov: i0.ɵɵInjectableDeclaration<PackService>;
1472
+ }
1473
+
1474
+ /**
1475
+ * VRt.Packer [PC]
1476
+ *
1477
+ * The version of the OpenAPI document: 7.35.3290
1478
+ * Contact: support@veeroute.com
1479
+ *
1480
+ * NOTE: This class is auto generated by OpenAPI Generator.
1481
+ * Do not edit the class manually.
1482
+ */
1483
+
1484
+ interface FileRequestParams {
1485
+ filename: string;
1486
+ }
1487
+ interface SystemServiceInterface {
1488
+ defaultHeaders: HttpHeaders;
1489
+ configuration: Configuration;
1490
+ /**
1491
+ * Checking the availability
1492
+ * Checking the service availability.
1493
+ */
1494
+ check(extraHttpRequestParams?: any): Observable<CheckResultPacker>;
1495
+ /**
1496
+ * Getting the documentation
1497
+ * Getting the file with this service documentation.
1498
+ * @param requestParameters
1499
+ */
1500
+ file(requestParameters: FileRequestParams, extraHttpRequestParams?: any): Observable<string>;
1501
+ /**
1502
+ * Getting the service version
1503
+ * Getting the service version.
1504
+ */
1505
+ version(extraHttpRequestParams?: any): Observable<VersionResultPacker>;
1506
+ }
1507
+
1508
+ declare class SystemService extends BaseService implements SystemServiceInterface {
1509
+ protected httpClient: HttpClient;
1510
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1511
+ /**
1512
+ * Checking the availability
1513
+ * Checking the service availability.
1514
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1515
+ * @param reportProgress flag to report request and response progress.
1516
+ */
1517
+ check(observe?: 'body', reportProgress?: boolean, options?: {
1518
+ httpHeaderAccept?: 'application/json';
1519
+ context?: HttpContext;
1520
+ transferCache?: boolean;
1521
+ }): Observable<CheckResultPacker>;
1522
+ check(observe?: 'response', reportProgress?: boolean, options?: {
1523
+ httpHeaderAccept?: 'application/json';
1524
+ context?: HttpContext;
1525
+ transferCache?: boolean;
1526
+ }): Observable<HttpResponse<CheckResultPacker>>;
1527
+ check(observe?: 'events', reportProgress?: boolean, options?: {
1528
+ httpHeaderAccept?: 'application/json';
1529
+ context?: HttpContext;
1530
+ transferCache?: boolean;
1531
+ }): Observable<HttpEvent<CheckResultPacker>>;
1532
+ /**
1533
+ * Getting the documentation
1534
+ * Getting the file with this service documentation.
1535
+ * @param requestParameters
1536
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1537
+ * @param reportProgress flag to report request and response progress.
1538
+ */
1539
+ file(requestParameters: FileRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
1540
+ httpHeaderAccept?: 'text/html' | 'text/plain' | 'application/json';
1541
+ context?: HttpContext;
1542
+ transferCache?: boolean;
1543
+ }): Observable<string>;
1544
+ file(requestParameters: FileRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
1545
+ httpHeaderAccept?: 'text/html' | 'text/plain' | 'application/json';
1546
+ context?: HttpContext;
1547
+ transferCache?: boolean;
1548
+ }): Observable<HttpResponse<string>>;
1549
+ file(requestParameters: FileRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
1550
+ httpHeaderAccept?: 'text/html' | 'text/plain' | 'application/json';
1551
+ context?: HttpContext;
1552
+ transferCache?: boolean;
1553
+ }): Observable<HttpEvent<string>>;
1554
+ /**
1555
+ * Getting the service version
1556
+ * Getting the service version.
1557
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1558
+ * @param reportProgress flag to report request and response progress.
1559
+ */
1560
+ version(observe?: 'body', reportProgress?: boolean, options?: {
1561
+ httpHeaderAccept?: 'application/json';
1562
+ context?: HttpContext;
1563
+ transferCache?: boolean;
1564
+ }): Observable<VersionResultPacker>;
1565
+ version(observe?: 'response', reportProgress?: boolean, options?: {
1566
+ httpHeaderAccept?: 'application/json';
1567
+ context?: HttpContext;
1568
+ transferCache?: boolean;
1569
+ }): Observable<HttpResponse<VersionResultPacker>>;
1570
+ version(observe?: 'events', reportProgress?: boolean, options?: {
1571
+ httpHeaderAccept?: 'application/json';
1572
+ context?: HttpContext;
1573
+ transferCache?: boolean;
1574
+ }): Observable<HttpEvent<VersionResultPacker>>;
1575
+ static ɵfac: i0.ɵɵFactoryDeclaration<SystemService, [null, { optional: true; }, { optional: true; }]>;
1576
+ static ɵprov: i0.ɵɵInjectableDeclaration<SystemService>;
1577
+ }
1578
+
1579
+ declare const APIS: (typeof PackService | typeof SystemService)[];
1580
+
1581
+ declare const BASE_PATH: InjectionToken<string>;
1582
+ declare const COLLECTION_FORMATS: {
1583
+ csv: string;
1584
+ tsv: string;
1585
+ ssv: string;
1586
+ pipes: string;
1587
+ };
1588
+
1589
+ declare class LssPackerApiModule {
1590
+ static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<LssPackerApiModule>;
1591
+ constructor(parentModule: LssPackerApiModule, http: HttpClient);
1592
+ static ɵfac: i0.ɵɵFactoryDeclaration<LssPackerApiModule, [{ optional: true; skipSelf: true; }, { optional: true; }]>;
1593
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LssPackerApiModule, never, never, never>;
1594
+ static ɵinj: i0.ɵɵInjectorDeclaration<LssPackerApiModule>;
1595
+ }
1596
+
1597
+ declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
1598
+
1599
+ export { APIS, BASE_PATH, COLLECTION_FORMATS, CalculationStatusPacker, Configuration, LssPackerApiModule, PackService, PackageTypePacker, PackerEntityErrorTypePacker, PackerEntityTypePacker, PackerEntityWarningTypePacker, ServicePacker, SystemService, provideApi };
1600
+ export type { AttributePacker, CalculationAsyncResultPacker, CalculationInfoPacker, CalculationSettingsPacker, CalculationStatePacker, CancelPackCalculationRequestParams, CheckResultPacker, ConfigurationParameters, CoordinatesPacker, DataFormat, DataType, DeletePackResultRequestParams, DimensionsPacker, FileRequestParams, General402Packer, General404DetailPacker, General404Packer, General429Packer, General500Packer, PackResultPacker, PackServiceInterface, PackSettingsPacker, PackStatisticsPacker, PackTaskPacker, PackageLayoutPacker, PackagePacker, PackageStatisticsPacker, Packer400WithErrorsAndWarningsPacker, PackerEntityErrorPacker, PackerEntityPathPacker, PackerEntityWarningPacker, PackerValidateResultPacker, Param, ParamLocation, ParamStyle, ProductGroupLayoutPacker, ProductLayoutPacker, ProductPacker, ReadPackResultRequestParams, ReadPackStateRequestParams, RunPackCalculationAsyncRequestParams, RunPackCalculationRequestParams, RunPackValidationRequestParams, SchemaErrorPacker, StandardDataFormat, StandardDataType, StandardParamStyle, SystemServiceInterface, TracedataPacker, UnpackedItemsPacker, VersionResultPacker };