@veeroute/lss-packer-angular 4.9.1651 → 5.3.1702

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 (121) hide show
  1. package/README.md +1 -1
  2. package/api/convertService.d.ts +3 -9
  3. package/api/convertServiceInterface.d.ts +1 -1
  4. package/api/packService.d.ts +3 -9
  5. package/api/packServiceInterface.d.ts +1 -1
  6. package/api/systemService.d.ts +23 -10
  7. package/api/systemServiceInterface.d.ts +10 -1
  8. package/api.module.d.ts +4 -0
  9. package/cfg/method_groups.json +6 -0
  10. package/{esm2015/api/api.js → esm2020/api/api.mjs} +0 -0
  11. package/esm2020/api/convertService.mjs +147 -0
  12. package/{esm2015/api/convertServiceInterface.js → esm2020/api/convertServiceInterface.mjs} +1 -1
  13. package/esm2020/api/packService.mjs +450 -0
  14. package/{esm2015/api/packServiceInterface.js → esm2020/api/packServiceInterface.mjs} +1 -1
  15. package/esm2020/api/systemService.mjs +210 -0
  16. package/{esm2015/api/systemServiceInterface.js → esm2020/api/systemServiceInterface.mjs} +1 -1
  17. package/esm2020/api.module.mjs +40 -0
  18. package/{esm2015/configuration.js → esm2020/configuration.mjs} +0 -0
  19. package/{esm2015/encoder.js → esm2020/encoder.mjs} +0 -0
  20. package/{esm2015/index.js → esm2020/index.mjs} +0 -0
  21. package/esm2020/model/attribute.mjs +11 -0
  22. package/{esm2015/model/calculationAsyncResult.js → esm2020/model/calculationAsyncResult.mjs} +1 -1
  23. package/{esm2015/model/calculationInfo.js → esm2020/model/calculationInfo.mjs} +1 -1
  24. package/{esm2015/model/calculationSettings.js → esm2020/model/calculationSettings.mjs} +2 -2
  25. package/{esm2015/model/calculationState.js → esm2020/model/calculationState.mjs} +1 -1
  26. package/{esm2015/model/calculationStatus.js → esm2020/model/calculationStatus.mjs} +2 -2
  27. package/{esm2015/model/checkResult.js → esm2020/model/checkResult.mjs} +2 -2
  28. package/{esm2015/model/coordinates.js → esm2020/model/coordinates.mjs} +2 -2
  29. package/{esm2015/model/dimensions.js → esm2020/model/dimensions.mjs} +2 -2
  30. package/{esm2015/model/entityError.js → esm2020/model/entityError.mjs} +1 -1
  31. package/{esm2015/model/entityErrorType.js → esm2020/model/entityErrorType.mjs} +2 -2
  32. package/{esm2015/model/entityPath.js → esm2020/model/entityPath.mjs} +1 -1
  33. package/{esm2015/model/entityType.js → esm2020/model/entityType.mjs} +2 -2
  34. package/{esm2015/model/entityValidation.js → esm2020/model/entityValidation.mjs} +1 -1
  35. package/{esm2015/model/entityValidationType.js → esm2020/model/entityValidationType.mjs} +2 -2
  36. package/{esm2015/model/inlineResponse400.js → esm2020/model/inlineResponse400.mjs} +1 -1
  37. package/{esm2015/model/inlineResponse401.js → esm2020/model/inlineResponse401.mjs} +1 -1
  38. package/{esm2015/model/inlineResponse402.js → esm2020/model/inlineResponse402.mjs} +1 -1
  39. package/{esm2015/model/inlineResponse403.js → esm2020/model/inlineResponse403.mjs} +1 -1
  40. package/{esm2015/model/inlineResponse404.js → esm2020/model/inlineResponse404.mjs} +1 -1
  41. package/{esm2015/model/inlineResponse404Detail.js → esm2020/model/inlineResponse404Detail.mjs} +1 -1
  42. package/{esm2015/model/inlineResponse429.js → esm2020/model/inlineResponse429.mjs} +1 -1
  43. package/{esm2015/model/inlineResponse500.js → esm2020/model/inlineResponse500.mjs} +1 -1
  44. package/esm2020/model/models.mjs +42 -0
  45. package/{esm2015/model/packResult.js → esm2020/model/packResult.mjs} +1 -1
  46. package/{esm2015/model/packSettings.js → esm2020/model/packSettings.mjs} +1 -1
  47. package/{esm2015/model/packStatistics.js → esm2020/model/packStatistics.mjs} +1 -1
  48. package/{esm2015/model/packTask.js → esm2020/model/packTask.mjs} +1 -1
  49. package/{esm2015/model/package.js → esm2020/model/package.mjs} +1 -1
  50. package/{esm2015/model/packageLayout.js → esm2020/model/packageLayout.mjs} +1 -1
  51. package/{esm2015/model/packageStatistics.js → esm2020/model/packageStatistics.mjs} +1 -1
  52. package/{esm2015/model/packageType.js → esm2020/model/packageType.mjs} +2 -2
  53. package/{esm2015/model/product.js → esm2020/model/product.mjs} +1 -1
  54. package/{esm2015/model/productGroupLayout.js → esm2020/model/productGroupLayout.mjs} +1 -1
  55. package/{esm2015/model/productLayout.js → esm2020/model/productLayout.mjs} +1 -1
  56. package/{esm2015/model/renderTask.js → esm2020/model/renderTask.mjs} +1 -1
  57. package/{esm2015/model/schemaError.js → esm2020/model/schemaError.mjs} +2 -2
  58. package/{esm2015/model/serviceName.js → esm2020/model/serviceName.mjs} +2 -2
  59. package/{esm2015/model/tracedata.js → esm2020/model/tracedata.mjs} +1 -1
  60. package/{esm2015/model/unpackedItems.js → esm2020/model/unpackedItems.mjs} +2 -2
  61. package/{esm2015/model/validateResult.js → esm2020/model/validateResult.mjs} +1 -1
  62. package/{esm2015/model/versionResult.js → esm2020/model/versionResult.mjs} +2 -2
  63. package/{esm2015/variables.js → esm2020/variables.mjs} +0 -0
  64. package/{esm2015/veeroute-lss-packer-angular.js → esm2020/veeroute-lss-packer-angular.mjs} +0 -0
  65. package/fesm2015/{veeroute-lss-packer-angular.js → veeroute-lss-packer-angular.mjs} +126 -126
  66. package/fesm2015/veeroute-lss-packer-angular.mjs.map +1 -0
  67. package/fesm2020/veeroute-lss-packer-angular.mjs +1155 -0
  68. package/fesm2020/veeroute-lss-packer-angular.mjs.map +1 -0
  69. package/model/attribute.d.ts +22 -0
  70. package/model/calculationAsyncResult.d.ts +1 -1
  71. package/model/calculationInfo.d.ts +1 -1
  72. package/model/calculationSettings.d.ts +1 -1
  73. package/model/calculationState.d.ts +1 -1
  74. package/model/calculationStatus.d.ts +1 -1
  75. package/model/checkResult.d.ts +1 -1
  76. package/model/coordinates.d.ts +1 -1
  77. package/model/dimensions.d.ts +1 -1
  78. package/model/entityError.d.ts +1 -1
  79. package/model/entityErrorType.d.ts +1 -1
  80. package/model/entityPath.d.ts +1 -1
  81. package/model/entityType.d.ts +1 -1
  82. package/model/entityValidation.d.ts +1 -1
  83. package/model/entityValidationType.d.ts +1 -1
  84. package/model/inlineResponse400.d.ts +1 -1
  85. package/model/inlineResponse401.d.ts +1 -1
  86. package/model/inlineResponse402.d.ts +1 -1
  87. package/model/inlineResponse403.d.ts +1 -1
  88. package/model/inlineResponse404.d.ts +1 -1
  89. package/model/inlineResponse404Detail.d.ts +1 -1
  90. package/model/inlineResponse429.d.ts +1 -1
  91. package/model/inlineResponse500.d.ts +1 -1
  92. package/model/models.d.ts +1 -0
  93. package/model/packResult.d.ts +1 -1
  94. package/model/packSettings.d.ts +1 -1
  95. package/model/packStatistics.d.ts +1 -1
  96. package/model/packTask.d.ts +1 -1
  97. package/model/package.d.ts +3 -2
  98. package/model/packageLayout.d.ts +1 -1
  99. package/model/packageStatistics.d.ts +1 -1
  100. package/model/packageType.d.ts +1 -1
  101. package/model/product.d.ts +3 -2
  102. package/model/productGroupLayout.d.ts +1 -1
  103. package/model/productLayout.d.ts +1 -1
  104. package/model/renderTask.d.ts +1 -1
  105. package/model/schemaError.d.ts +1 -1
  106. package/model/serviceName.d.ts +1 -1
  107. package/model/tracedata.d.ts +1 -1
  108. package/model/unpackedItems.d.ts +1 -1
  109. package/model/validateResult.d.ts +1 -1
  110. package/model/versionResult.d.ts +1 -1
  111. package/package.json +23 -11
  112. package/bundles/veeroute-lss-packer-angular.umd.js +0 -1081
  113. package/bundles/veeroute-lss-packer-angular.umd.js.map +0 -1
  114. package/esm2015/api/convertService.js +0 -144
  115. package/esm2015/api/packService.js +0 -447
  116. package/esm2015/api/systemService.js +0 -163
  117. package/esm2015/api.module.js +0 -33
  118. package/esm2015/model/models.js +0 -41
  119. package/fesm2015/veeroute-lss-packer-angular.js.map +0 -1
  120. package/veeroute-lss-packer-angular.d.ts +0 -4
  121. package/veeroute-lss-packer-angular.metadata.json +0 -1
@@ -1,1081 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common/http')) :
3
- typeof define === 'function' && define.amd ? define('@veeroute/lss-packer-angular', ['exports', '@angular/core', '@angular/common/http'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.veeroute = global.veeroute || {}, global.veeroute["lss-packer-angular"] = {}), global.ng.core, global.ng.common.http));
5
- })(this, (function (exports, i0, i1) { 'use strict';
6
-
7
- function _interopNamespace(e) {
8
- if (e && e.__esModule) return e;
9
- var n = Object.create(null);
10
- if (e) {
11
- Object.keys(e).forEach(function (k) {
12
- if (k !== 'default') {
13
- var d = Object.getOwnPropertyDescriptor(e, k);
14
- Object.defineProperty(n, k, d.get ? d : {
15
- enumerable: true,
16
- get: function () { return e[k]; }
17
- });
18
- }
19
- });
20
- }
21
- n["default"] = e;
22
- return Object.freeze(n);
23
- }
24
-
25
- var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
- var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
27
-
28
- /**
29
- * Custom HttpParameterCodec
30
- * Workaround for https://github.com/angular/angular/issues/18261
31
- */
32
- var CustomHttpParameterCodec = /** @class */ (function () {
33
- function CustomHttpParameterCodec() {
34
- }
35
- CustomHttpParameterCodec.prototype.encodeKey = function (k) {
36
- return encodeURIComponent(k);
37
- };
38
- CustomHttpParameterCodec.prototype.encodeValue = function (v) {
39
- return encodeURIComponent(v);
40
- };
41
- CustomHttpParameterCodec.prototype.decodeKey = function (k) {
42
- return decodeURIComponent(k);
43
- };
44
- CustomHttpParameterCodec.prototype.decodeValue = function (v) {
45
- return decodeURIComponent(v);
46
- };
47
- return CustomHttpParameterCodec;
48
- }());
49
-
50
- var BASE_PATH = new i0.InjectionToken('basePath');
51
- var COLLECTION_FORMATS = {
52
- 'csv': ',',
53
- 'tsv': ' ',
54
- 'ssv': ' ',
55
- 'pipes': '|'
56
- };
57
-
58
- var Configuration = /** @class */ (function () {
59
- function Configuration(configurationParameters) {
60
- var _this = this;
61
- if (configurationParameters === void 0) { configurationParameters = {}; }
62
- this.apiKeys = configurationParameters.apiKeys;
63
- this.username = configurationParameters.username;
64
- this.password = configurationParameters.password;
65
- this.accessToken = configurationParameters.accessToken;
66
- this.basePath = configurationParameters.basePath;
67
- this.withCredentials = configurationParameters.withCredentials;
68
- this.encoder = configurationParameters.encoder;
69
- if (configurationParameters.credentials) {
70
- this.credentials = configurationParameters.credentials;
71
- }
72
- else {
73
- this.credentials = {};
74
- }
75
- // init default ApiKeyAuth credential
76
- if (!this.credentials['ApiKeyAuth']) {
77
- this.credentials['ApiKeyAuth'] = function () {
78
- return typeof _this.accessToken === 'function'
79
- ? _this.accessToken()
80
- : _this.accessToken;
81
- };
82
- }
83
- }
84
- /**
85
- * Select the correct content-type to use for a request.
86
- * Uses {@link Configuration#isJsonMime} to determine the correct content-type.
87
- * If no content type is found return the first found type if the contentTypes is not empty
88
- * @param contentTypes - the array of content types that are available for selection
89
- * @returns the selected content-type or <code>undefined</code> if no selection could be made.
90
- */
91
- Configuration.prototype.selectHeaderContentType = function (contentTypes) {
92
- var _this = this;
93
- if (contentTypes.length === 0) {
94
- return undefined;
95
- }
96
- var type = contentTypes.find(function (x) { return _this.isJsonMime(x); });
97
- if (type === undefined) {
98
- return contentTypes[0];
99
- }
100
- return type;
101
- };
102
- /**
103
- * Select the correct accept content-type to use for a request.
104
- * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
105
- * If no content type is found return the first found type if the contentTypes is not empty
106
- * @param accepts - the array of content types that are available for selection.
107
- * @returns the selected content-type or <code>undefined</code> if no selection could be made.
108
- */
109
- Configuration.prototype.selectHeaderAccept = function (accepts) {
110
- var _this = this;
111
- if (accepts.length === 0) {
112
- return undefined;
113
- }
114
- var type = accepts.find(function (x) { return _this.isJsonMime(x); });
115
- if (type === undefined) {
116
- return accepts[0];
117
- }
118
- return type;
119
- };
120
- /**
121
- * Check if the given MIME is a JSON MIME.
122
- * JSON MIME examples:
123
- * application/json
124
- * application/json; charset=UTF8
125
- * APPLICATION/JSON
126
- * application/vnd.company+json
127
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
128
- * @return True if the given MIME is JSON, false otherwise.
129
- */
130
- Configuration.prototype.isJsonMime = function (mime) {
131
- var jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
132
- return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
133
- };
134
- Configuration.prototype.lookupCredential = function (key) {
135
- var value = this.credentials[key];
136
- return typeof value === 'function'
137
- ? value()
138
- : value;
139
- };
140
- return Configuration;
141
- }());
142
-
143
- /**
144
- * VRt.Packer [PC]
145
- *
146
- * The version of the OpenAPI document: 4.9.1651
147
- * Contact: servicedesk@veeroute.com
148
- *
149
- * NOTE: This class is auto generated by OpenAPI Generator.
150
- * Do not edit the class manually.
151
- */
152
- var ConvertService = /** @class */ (function () {
153
- function ConvertService(httpClient, basePath, configuration) {
154
- this.httpClient = httpClient;
155
- this.basePath = 'https://api.edge.veeroute.tech';
156
- this.defaultHeaders = new i1.HttpHeaders();
157
- this.configuration = new Configuration();
158
- if (configuration) {
159
- this.configuration = configuration;
160
- }
161
- if (typeof this.configuration.basePath !== 'string') {
162
- if (typeof basePath !== 'string') {
163
- basePath = this.basePath;
164
- }
165
- this.configuration.basePath = basePath;
166
- }
167
- this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
168
- }
169
- ConvertService.prototype.addToHttpParams = function (httpParams, value, key) {
170
- if (typeof value === "object" && value instanceof Date === false) {
171
- httpParams = this.addToHttpParamsRecursive(httpParams, value);
172
- }
173
- else {
174
- httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
175
- }
176
- return httpParams;
177
- };
178
- ConvertService.prototype.addToHttpParamsRecursive = function (httpParams, value, key) {
179
- var _this = this;
180
- if (value == null) {
181
- return httpParams;
182
- }
183
- if (typeof value === "object") {
184
- if (Array.isArray(value)) {
185
- value.forEach(function (elem) { return httpParams = _this.addToHttpParamsRecursive(httpParams, elem, key); });
186
- }
187
- else if (value instanceof Date) {
188
- if (key != null) {
189
- httpParams = httpParams.append(key, value.toISOString().substr(0, 10));
190
- }
191
- else {
192
- throw Error("key may not be null if value is Date");
193
- }
194
- }
195
- else {
196
- Object.keys(value).forEach(function (k) { return httpParams = _this.addToHttpParamsRecursive(httpParams, value[k], key != null ? key + "." + k : k); });
197
- }
198
- }
199
- else if (key != null) {
200
- httpParams = httpParams.append(key, value);
201
- }
202
- else {
203
- throw Error("key may not be null if value is not object or array");
204
- }
205
- return httpParams;
206
- };
207
- ConvertService.prototype.runConvertToGltf = function (requestParameters, observe, reportProgress, options) {
208
- if (observe === void 0) { observe = 'body'; }
209
- if (reportProgress === void 0) { reportProgress = false; }
210
- var renderTaskPacker = requestParameters.renderTaskPacker;
211
- if (renderTaskPacker === null || renderTaskPacker === undefined) {
212
- throw new Error('Required parameter renderTaskPacker was null or undefined when calling runConvertToGltf.');
213
- }
214
- var localVarHeaders = this.defaultHeaders;
215
- var localVarCredential;
216
- // authentication (ApiKeyAuth) required
217
- localVarCredential = this.configuration.lookupCredential('ApiKeyAuth');
218
- if (localVarCredential) {
219
- localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
220
- }
221
- var localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
222
- if (localVarHttpHeaderAcceptSelected === undefined) {
223
- // to determine the Accept header
224
- var httpHeaderAccepts = [
225
- 'application/octet-stream',
226
- 'application/json'
227
- ];
228
- localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
229
- }
230
- if (localVarHttpHeaderAcceptSelected !== undefined) {
231
- localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
232
- }
233
- var localVarHttpContext = options && options.context;
234
- if (localVarHttpContext === undefined) {
235
- localVarHttpContext = new i1.HttpContext();
236
- }
237
- // to determine the Content-Type header
238
- var consumes = [
239
- 'application/json'
240
- ];
241
- var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
242
- if (httpContentTypeSelected !== undefined) {
243
- localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
244
- }
245
- var responseType_ = 'json';
246
- if (localVarHttpHeaderAcceptSelected) {
247
- if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
248
- responseType_ = 'text';
249
- }
250
- else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
251
- responseType_ = 'json';
252
- }
253
- else {
254
- responseType_ = 'blob';
255
- }
256
- }
257
- return this.httpClient.post(this.configuration.basePath + "/packer/convert/gltf", renderTaskPacker, {
258
- context: localVarHttpContext,
259
- responseType: responseType_,
260
- withCredentials: this.configuration.withCredentials,
261
- headers: localVarHeaders,
262
- observe: observe,
263
- reportProgress: reportProgress
264
- });
265
- };
266
- return ConvertService;
267
- }());
268
- ConvertService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function ConvertService_Factory() { return new ConvertService(i0__namespace.ɵɵinject(i1__namespace.HttpClient), i0__namespace.ɵɵinject(BASE_PATH, 8), i0__namespace.ɵɵinject(Configuration, 8)); }, token: ConvertService, providedIn: "root" });
269
- ConvertService.decorators = [
270
- { type: i0.Injectable, args: [{
271
- providedIn: 'root'
272
- },] }
273
- ];
274
- ConvertService.ctorParameters = function () { return [
275
- { type: i1.HttpClient },
276
- { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [BASE_PATH,] }] },
277
- { type: Configuration, decorators: [{ type: i0.Optional }] }
278
- ]; };
279
-
280
- /**
281
- * VRt.Packer [PC]
282
- *
283
- * The version of the OpenAPI document: 4.9.1651
284
- * Contact: servicedesk@veeroute.com
285
- *
286
- * NOTE: This class is auto generated by OpenAPI Generator.
287
- * Do not edit the class manually.
288
- */
289
- var PackService = /** @class */ (function () {
290
- function PackService(httpClient, basePath, configuration) {
291
- this.httpClient = httpClient;
292
- this.basePath = 'https://api.edge.veeroute.tech';
293
- this.defaultHeaders = new i1.HttpHeaders();
294
- this.configuration = new Configuration();
295
- if (configuration) {
296
- this.configuration = configuration;
297
- }
298
- if (typeof this.configuration.basePath !== 'string') {
299
- if (typeof basePath !== 'string') {
300
- basePath = this.basePath;
301
- }
302
- this.configuration.basePath = basePath;
303
- }
304
- this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
305
- }
306
- PackService.prototype.addToHttpParams = function (httpParams, value, key) {
307
- if (typeof value === "object" && value instanceof Date === false) {
308
- httpParams = this.addToHttpParamsRecursive(httpParams, value);
309
- }
310
- else {
311
- httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
312
- }
313
- return httpParams;
314
- };
315
- PackService.prototype.addToHttpParamsRecursive = function (httpParams, value, key) {
316
- var _this = this;
317
- if (value == null) {
318
- return httpParams;
319
- }
320
- if (typeof value === "object") {
321
- if (Array.isArray(value)) {
322
- value.forEach(function (elem) { return httpParams = _this.addToHttpParamsRecursive(httpParams, elem, key); });
323
- }
324
- else if (value instanceof Date) {
325
- if (key != null) {
326
- httpParams = httpParams.append(key, value.toISOString().substr(0, 10));
327
- }
328
- else {
329
- throw Error("key may not be null if value is Date");
330
- }
331
- }
332
- else {
333
- Object.keys(value).forEach(function (k) { return httpParams = _this.addToHttpParamsRecursive(httpParams, value[k], key != null ? key + "." + k : k); });
334
- }
335
- }
336
- else if (key != null) {
337
- httpParams = httpParams.append(key, value);
338
- }
339
- else {
340
- throw Error("key may not be null if value is not object or array");
341
- }
342
- return httpParams;
343
- };
344
- PackService.prototype.cancelPackCalculation = function (requestParameters, observe, reportProgress, options) {
345
- if (observe === void 0) { observe = 'body'; }
346
- if (reportProgress === void 0) { reportProgress = false; }
347
- var id = requestParameters.id;
348
- if (id === null || id === undefined) {
349
- throw new Error('Required parameter id was null or undefined when calling cancelPackCalculation.');
350
- }
351
- var localVarHeaders = this.defaultHeaders;
352
- var localVarCredential;
353
- // authentication (ApiKeyAuth) required
354
- localVarCredential = this.configuration.lookupCredential('ApiKeyAuth');
355
- if (localVarCredential) {
356
- localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
357
- }
358
- var localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
359
- if (localVarHttpHeaderAcceptSelected === undefined) {
360
- // to determine the Accept header
361
- var httpHeaderAccepts = [
362
- 'application/json'
363
- ];
364
- localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
365
- }
366
- if (localVarHttpHeaderAcceptSelected !== undefined) {
367
- localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
368
- }
369
- var localVarHttpContext = options && options.context;
370
- if (localVarHttpContext === undefined) {
371
- localVarHttpContext = new i1.HttpContext();
372
- }
373
- var responseType_ = 'json';
374
- if (localVarHttpHeaderAcceptSelected) {
375
- if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
376
- responseType_ = 'text';
377
- }
378
- else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
379
- responseType_ = 'json';
380
- }
381
- else {
382
- responseType_ = 'blob';
383
- }
384
- }
385
- return this.httpClient.delete(this.configuration.basePath + "/packer/pack/calculation_async/" + encodeURIComponent(String(id)), {
386
- context: localVarHttpContext,
387
- responseType: responseType_,
388
- withCredentials: this.configuration.withCredentials,
389
- headers: localVarHeaders,
390
- observe: observe,
391
- reportProgress: reportProgress
392
- });
393
- };
394
- PackService.prototype.deletePackResult = function (requestParameters, observe, reportProgress, options) {
395
- if (observe === void 0) { observe = 'body'; }
396
- if (reportProgress === void 0) { reportProgress = false; }
397
- var id = requestParameters.id;
398
- if (id === null || id === undefined) {
399
- throw new Error('Required parameter id was null or undefined when calling deletePackResult.');
400
- }
401
- var localVarHeaders = this.defaultHeaders;
402
- var localVarCredential;
403
- // authentication (ApiKeyAuth) required
404
- localVarCredential = this.configuration.lookupCredential('ApiKeyAuth');
405
- if (localVarCredential) {
406
- localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
407
- }
408
- var localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
409
- if (localVarHttpHeaderAcceptSelected === undefined) {
410
- // to determine the Accept header
411
- var httpHeaderAccepts = [
412
- 'application/json'
413
- ];
414
- localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
415
- }
416
- if (localVarHttpHeaderAcceptSelected !== undefined) {
417
- localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
418
- }
419
- var localVarHttpContext = options && options.context;
420
- if (localVarHttpContext === undefined) {
421
- localVarHttpContext = new i1.HttpContext();
422
- }
423
- var responseType_ = 'json';
424
- if (localVarHttpHeaderAcceptSelected) {
425
- if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
426
- responseType_ = 'text';
427
- }
428
- else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
429
- responseType_ = 'json';
430
- }
431
- else {
432
- responseType_ = 'blob';
433
- }
434
- }
435
- return this.httpClient.delete(this.configuration.basePath + "/packer/pack/result/" + encodeURIComponent(String(id)), {
436
- context: localVarHttpContext,
437
- responseType: responseType_,
438
- withCredentials: this.configuration.withCredentials,
439
- headers: localVarHeaders,
440
- observe: observe,
441
- reportProgress: reportProgress
442
- });
443
- };
444
- PackService.prototype.readPackCalculationState = function (requestParameters, observe, reportProgress, options) {
445
- if (observe === void 0) { observe = 'body'; }
446
- if (reportProgress === void 0) { reportProgress = false; }
447
- var id = requestParameters.id;
448
- if (id === null || id === undefined) {
449
- throw new Error('Required parameter id was null or undefined when calling readPackCalculationState.');
450
- }
451
- var localVarHeaders = this.defaultHeaders;
452
- var localVarCredential;
453
- // authentication (ApiKeyAuth) required
454
- localVarCredential = this.configuration.lookupCredential('ApiKeyAuth');
455
- if (localVarCredential) {
456
- localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
457
- }
458
- var localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
459
- if (localVarHttpHeaderAcceptSelected === undefined) {
460
- // to determine the Accept header
461
- var httpHeaderAccepts = [
462
- 'application/json'
463
- ];
464
- localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
465
- }
466
- if (localVarHttpHeaderAcceptSelected !== undefined) {
467
- localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
468
- }
469
- var localVarHttpContext = options && options.context;
470
- if (localVarHttpContext === undefined) {
471
- localVarHttpContext = new i1.HttpContext();
472
- }
473
- var responseType_ = 'json';
474
- if (localVarHttpHeaderAcceptSelected) {
475
- if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
476
- responseType_ = 'text';
477
- }
478
- else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
479
- responseType_ = 'json';
480
- }
481
- else {
482
- responseType_ = 'blob';
483
- }
484
- }
485
- return this.httpClient.get(this.configuration.basePath + "/packer/pack/calculation_async/" + encodeURIComponent(String(id)), {
486
- context: localVarHttpContext,
487
- responseType: responseType_,
488
- withCredentials: this.configuration.withCredentials,
489
- headers: localVarHeaders,
490
- observe: observe,
491
- reportProgress: reportProgress
492
- });
493
- };
494
- PackService.prototype.readPackResult = function (requestParameters, observe, reportProgress, options) {
495
- if (observe === void 0) { observe = 'body'; }
496
- if (reportProgress === void 0) { reportProgress = false; }
497
- var id = requestParameters.id;
498
- if (id === null || id === undefined) {
499
- throw new Error('Required parameter id was null or undefined when calling readPackResult.');
500
- }
501
- var localVarHeaders = this.defaultHeaders;
502
- var localVarCredential;
503
- // authentication (ApiKeyAuth) required
504
- localVarCredential = this.configuration.lookupCredential('ApiKeyAuth');
505
- if (localVarCredential) {
506
- localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
507
- }
508
- var localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
509
- if (localVarHttpHeaderAcceptSelected === undefined) {
510
- // to determine the Accept header
511
- var httpHeaderAccepts = [
512
- 'application/json'
513
- ];
514
- localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
515
- }
516
- if (localVarHttpHeaderAcceptSelected !== undefined) {
517
- localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
518
- }
519
- var localVarHttpContext = options && options.context;
520
- if (localVarHttpContext === undefined) {
521
- localVarHttpContext = new i1.HttpContext();
522
- }
523
- var responseType_ = 'json';
524
- if (localVarHttpHeaderAcceptSelected) {
525
- if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
526
- responseType_ = 'text';
527
- }
528
- else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
529
- responseType_ = 'json';
530
- }
531
- else {
532
- responseType_ = 'blob';
533
- }
534
- }
535
- return this.httpClient.get(this.configuration.basePath + "/packer/pack/result/" + encodeURIComponent(String(id)), {
536
- context: localVarHttpContext,
537
- responseType: responseType_,
538
- withCredentials: this.configuration.withCredentials,
539
- headers: localVarHeaders,
540
- observe: observe,
541
- reportProgress: reportProgress
542
- });
543
- };
544
- PackService.prototype.runPackCalculation = function (requestParameters, observe, reportProgress, options) {
545
- if (observe === void 0) { observe = 'body'; }
546
- if (reportProgress === void 0) { reportProgress = false; }
547
- var packTaskPacker = requestParameters.packTaskPacker;
548
- if (packTaskPacker === null || packTaskPacker === undefined) {
549
- throw new Error('Required parameter packTaskPacker was null or undefined when calling runPackCalculation.');
550
- }
551
- var localVarHeaders = this.defaultHeaders;
552
- var localVarCredential;
553
- // authentication (ApiKeyAuth) required
554
- localVarCredential = this.configuration.lookupCredential('ApiKeyAuth');
555
- if (localVarCredential) {
556
- localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
557
- }
558
- var localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
559
- if (localVarHttpHeaderAcceptSelected === undefined) {
560
- // to determine the Accept header
561
- var httpHeaderAccepts = [
562
- 'application/json'
563
- ];
564
- localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
565
- }
566
- if (localVarHttpHeaderAcceptSelected !== undefined) {
567
- localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
568
- }
569
- var localVarHttpContext = options && options.context;
570
- if (localVarHttpContext === undefined) {
571
- localVarHttpContext = new i1.HttpContext();
572
- }
573
- // to determine the Content-Type header
574
- var consumes = [
575
- 'application/json'
576
- ];
577
- var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
578
- if (httpContentTypeSelected !== undefined) {
579
- localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
580
- }
581
- var responseType_ = 'json';
582
- if (localVarHttpHeaderAcceptSelected) {
583
- if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
584
- responseType_ = 'text';
585
- }
586
- else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
587
- responseType_ = 'json';
588
- }
589
- else {
590
- responseType_ = 'blob';
591
- }
592
- }
593
- return this.httpClient.post(this.configuration.basePath + "/packer/pack/calculation", packTaskPacker, {
594
- context: localVarHttpContext,
595
- responseType: responseType_,
596
- withCredentials: this.configuration.withCredentials,
597
- headers: localVarHeaders,
598
- observe: observe,
599
- reportProgress: reportProgress
600
- });
601
- };
602
- PackService.prototype.runPackCalculationAsync = function (requestParameters, observe, reportProgress, options) {
603
- if (observe === void 0) { observe = 'body'; }
604
- if (reportProgress === void 0) { reportProgress = false; }
605
- var packTaskPacker = requestParameters.packTaskPacker;
606
- if (packTaskPacker === null || packTaskPacker === undefined) {
607
- throw new Error('Required parameter packTaskPacker was null or undefined when calling runPackCalculationAsync.');
608
- }
609
- var localVarHeaders = this.defaultHeaders;
610
- var localVarCredential;
611
- // authentication (ApiKeyAuth) required
612
- localVarCredential = this.configuration.lookupCredential('ApiKeyAuth');
613
- if (localVarCredential) {
614
- localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
615
- }
616
- var localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
617
- if (localVarHttpHeaderAcceptSelected === undefined) {
618
- // to determine the Accept header
619
- var httpHeaderAccepts = [
620
- 'application/json'
621
- ];
622
- localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
623
- }
624
- if (localVarHttpHeaderAcceptSelected !== undefined) {
625
- localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
626
- }
627
- var localVarHttpContext = options && options.context;
628
- if (localVarHttpContext === undefined) {
629
- localVarHttpContext = new i1.HttpContext();
630
- }
631
- // to determine the Content-Type header
632
- var consumes = [
633
- 'application/json'
634
- ];
635
- var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
636
- if (httpContentTypeSelected !== undefined) {
637
- localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
638
- }
639
- var responseType_ = 'json';
640
- if (localVarHttpHeaderAcceptSelected) {
641
- if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
642
- responseType_ = 'text';
643
- }
644
- else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
645
- responseType_ = 'json';
646
- }
647
- else {
648
- responseType_ = 'blob';
649
- }
650
- }
651
- return this.httpClient.post(this.configuration.basePath + "/packer/pack/calculation_async", packTaskPacker, {
652
- context: localVarHttpContext,
653
- responseType: responseType_,
654
- withCredentials: this.configuration.withCredentials,
655
- headers: localVarHeaders,
656
- observe: observe,
657
- reportProgress: reportProgress
658
- });
659
- };
660
- PackService.prototype.runPackValidation = function (requestParameters, observe, reportProgress, options) {
661
- if (observe === void 0) { observe = 'body'; }
662
- if (reportProgress === void 0) { reportProgress = false; }
663
- var packTaskPacker = requestParameters.packTaskPacker;
664
- if (packTaskPacker === null || packTaskPacker === undefined) {
665
- throw new Error('Required parameter packTaskPacker was null or undefined when calling runPackValidation.');
666
- }
667
- var localVarHeaders = this.defaultHeaders;
668
- var localVarCredential;
669
- // authentication (ApiKeyAuth) required
670
- localVarCredential = this.configuration.lookupCredential('ApiKeyAuth');
671
- if (localVarCredential) {
672
- localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
673
- }
674
- var localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
675
- if (localVarHttpHeaderAcceptSelected === undefined) {
676
- // to determine the Accept header
677
- var httpHeaderAccepts = [
678
- 'application/json'
679
- ];
680
- localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
681
- }
682
- if (localVarHttpHeaderAcceptSelected !== undefined) {
683
- localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
684
- }
685
- var localVarHttpContext = options && options.context;
686
- if (localVarHttpContext === undefined) {
687
- localVarHttpContext = new i1.HttpContext();
688
- }
689
- // to determine the Content-Type header
690
- var consumes = [
691
- 'application/json'
692
- ];
693
- var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
694
- if (httpContentTypeSelected !== undefined) {
695
- localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
696
- }
697
- var responseType_ = 'json';
698
- if (localVarHttpHeaderAcceptSelected) {
699
- if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
700
- responseType_ = 'text';
701
- }
702
- else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
703
- responseType_ = 'json';
704
- }
705
- else {
706
- responseType_ = 'blob';
707
- }
708
- }
709
- return this.httpClient.post(this.configuration.basePath + "/packer/pack/validation", packTaskPacker, {
710
- context: localVarHttpContext,
711
- responseType: responseType_,
712
- withCredentials: this.configuration.withCredentials,
713
- headers: localVarHeaders,
714
- observe: observe,
715
- reportProgress: reportProgress
716
- });
717
- };
718
- return PackService;
719
- }());
720
- PackService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function PackService_Factory() { return new PackService(i0__namespace.ɵɵinject(i1__namespace.HttpClient), i0__namespace.ɵɵinject(BASE_PATH, 8), i0__namespace.ɵɵinject(Configuration, 8)); }, token: PackService, providedIn: "root" });
721
- PackService.decorators = [
722
- { type: i0.Injectable, args: [{
723
- providedIn: 'root'
724
- },] }
725
- ];
726
- PackService.ctorParameters = function () { return [
727
- { type: i1.HttpClient },
728
- { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [BASE_PATH,] }] },
729
- { type: Configuration, decorators: [{ type: i0.Optional }] }
730
- ]; };
731
-
732
- /**
733
- * VRt.Packer [PC]
734
- *
735
- * The version of the OpenAPI document: 4.9.1651
736
- * Contact: servicedesk@veeroute.com
737
- *
738
- * NOTE: This class is auto generated by OpenAPI Generator.
739
- * Do not edit the class manually.
740
- */
741
- var SystemService = /** @class */ (function () {
742
- function SystemService(httpClient, basePath, configuration) {
743
- this.httpClient = httpClient;
744
- this.basePath = 'https://api.edge.veeroute.tech';
745
- this.defaultHeaders = new i1.HttpHeaders();
746
- this.configuration = new Configuration();
747
- if (configuration) {
748
- this.configuration = configuration;
749
- }
750
- if (typeof this.configuration.basePath !== 'string') {
751
- if (typeof basePath !== 'string') {
752
- basePath = this.basePath;
753
- }
754
- this.configuration.basePath = basePath;
755
- }
756
- this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
757
- }
758
- SystemService.prototype.addToHttpParams = function (httpParams, value, key) {
759
- if (typeof value === "object" && value instanceof Date === false) {
760
- httpParams = this.addToHttpParamsRecursive(httpParams, value);
761
- }
762
- else {
763
- httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
764
- }
765
- return httpParams;
766
- };
767
- SystemService.prototype.addToHttpParamsRecursive = function (httpParams, value, key) {
768
- var _this = this;
769
- if (value == null) {
770
- return httpParams;
771
- }
772
- if (typeof value === "object") {
773
- if (Array.isArray(value)) {
774
- value.forEach(function (elem) { return httpParams = _this.addToHttpParamsRecursive(httpParams, elem, key); });
775
- }
776
- else if (value instanceof Date) {
777
- if (key != null) {
778
- httpParams = httpParams.append(key, value.toISOString().substr(0, 10));
779
- }
780
- else {
781
- throw Error("key may not be null if value is Date");
782
- }
783
- }
784
- else {
785
- Object.keys(value).forEach(function (k) { return httpParams = _this.addToHttpParamsRecursive(httpParams, value[k], key != null ? key + "." + k : k); });
786
- }
787
- }
788
- else if (key != null) {
789
- httpParams = httpParams.append(key, value);
790
- }
791
- else {
792
- throw Error("key may not be null if value is not object or array");
793
- }
794
- return httpParams;
795
- };
796
- SystemService.prototype.check = function (observe, reportProgress, options) {
797
- if (observe === void 0) { observe = 'body'; }
798
- if (reportProgress === void 0) { reportProgress = false; }
799
- var localVarHeaders = this.defaultHeaders;
800
- var localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
801
- if (localVarHttpHeaderAcceptSelected === undefined) {
802
- // to determine the Accept header
803
- var httpHeaderAccepts = [
804
- 'application/json'
805
- ];
806
- localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
807
- }
808
- if (localVarHttpHeaderAcceptSelected !== undefined) {
809
- localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
810
- }
811
- var localVarHttpContext = options && options.context;
812
- if (localVarHttpContext === undefined) {
813
- localVarHttpContext = new i1.HttpContext();
814
- }
815
- var responseType_ = 'json';
816
- if (localVarHttpHeaderAcceptSelected) {
817
- if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
818
- responseType_ = 'text';
819
- }
820
- else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
821
- responseType_ = 'json';
822
- }
823
- else {
824
- responseType_ = 'blob';
825
- }
826
- }
827
- return this.httpClient.get(this.configuration.basePath + "/packer/system/check", {
828
- context: localVarHttpContext,
829
- responseType: responseType_,
830
- withCredentials: this.configuration.withCredentials,
831
- headers: localVarHeaders,
832
- observe: observe,
833
- reportProgress: reportProgress
834
- });
835
- };
836
- SystemService.prototype.version = function (observe, reportProgress, options) {
837
- if (observe === void 0) { observe = 'body'; }
838
- if (reportProgress === void 0) { reportProgress = false; }
839
- var localVarHeaders = this.defaultHeaders;
840
- var localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
841
- if (localVarHttpHeaderAcceptSelected === undefined) {
842
- // to determine the Accept header
843
- var httpHeaderAccepts = [
844
- 'application/json'
845
- ];
846
- localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
847
- }
848
- if (localVarHttpHeaderAcceptSelected !== undefined) {
849
- localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
850
- }
851
- var localVarHttpContext = options && options.context;
852
- if (localVarHttpContext === undefined) {
853
- localVarHttpContext = new i1.HttpContext();
854
- }
855
- var responseType_ = 'json';
856
- if (localVarHttpHeaderAcceptSelected) {
857
- if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
858
- responseType_ = 'text';
859
- }
860
- else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
861
- responseType_ = 'json';
862
- }
863
- else {
864
- responseType_ = 'blob';
865
- }
866
- }
867
- return this.httpClient.get(this.configuration.basePath + "/packer/system/version", {
868
- context: localVarHttpContext,
869
- responseType: responseType_,
870
- withCredentials: this.configuration.withCredentials,
871
- headers: localVarHeaders,
872
- observe: observe,
873
- reportProgress: reportProgress
874
- });
875
- };
876
- return SystemService;
877
- }());
878
- SystemService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function SystemService_Factory() { return new SystemService(i0__namespace.ɵɵinject(i1__namespace.HttpClient), i0__namespace.ɵɵinject(BASE_PATH, 8), i0__namespace.ɵɵinject(Configuration, 8)); }, token: SystemService, providedIn: "root" });
879
- SystemService.decorators = [
880
- { type: i0.Injectable, args: [{
881
- providedIn: 'root'
882
- },] }
883
- ];
884
- SystemService.ctorParameters = function () { return [
885
- { type: i1.HttpClient },
886
- { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [BASE_PATH,] }] },
887
- { type: Configuration, decorators: [{ type: i0.Optional }] }
888
- ]; };
889
-
890
- var APIS = [ConvertService, PackService, SystemService];
891
-
892
- /**
893
- * VRt.Packer [PC]
894
- *
895
- * The version of the OpenAPI document: 4.9.1651
896
- * Contact: servicedesk@veeroute.com
897
- *
898
- * NOTE: This class is auto generated by OpenAPI Generator.
899
- * Do not edit the class manually.
900
- */
901
- /**
902
- * Calculation status: * `WAITING` - the calculation is waiting to start. * `IN_PROGRESS` - the calculation is in progress. * `FINISHED_IN_TIME` - the calculation was completed before the specified planning time. * `FINISHED_OUT_OF_TIME` - the calculation was completed because the specified planning time has expired. * `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. * `FAILED` - the calculation failed with an error.
903
- */
904
- exports.CalculationStatusPacker = void 0;
905
- (function (CalculationStatusPacker) {
906
- CalculationStatusPacker["WAITING"] = "WAITING";
907
- CalculationStatusPacker["IN_PROGRESS"] = "IN_PROGRESS";
908
- CalculationStatusPacker["FINISHED_IN_TIME"] = "FINISHED_IN_TIME";
909
- CalculationStatusPacker["FINISHED_OUT_OF_TIME"] = "FINISHED_OUT_OF_TIME";
910
- CalculationStatusPacker["CANCELED"] = "CANCELED";
911
- CalculationStatusPacker["CANCELED_BY_TIMEOUT"] = "CANCELED_BY_TIMEOUT";
912
- CalculationStatusPacker["FAILED"] = "FAILED";
913
- })(exports.CalculationStatusPacker || (exports.CalculationStatusPacker = {}));
914
- ;
915
-
916
- /**
917
- * VRt.Packer [PC]
918
- *
919
- * The version of the OpenAPI document: 4.9.1651
920
- * Contact: servicedesk@veeroute.com
921
- *
922
- * NOTE: This class is auto generated by OpenAPI Generator.
923
- * Do not edit the class manually.
924
- */
925
- /**
926
- * 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
927
- */
928
- exports.EntityErrorTypePacker = void 0;
929
- (function (EntityErrorTypePacker) {
930
- EntityErrorTypePacker["UNIQUE_IDS_VIOLATION"] = "UNIQUE_IDS_VIOLATION";
931
- EntityErrorTypePacker["INCONSISTENT_REFERENCE"] = "INCONSISTENT_REFERENCE";
932
- EntityErrorTypePacker["INVALID_SLOTS_COUNT"] = "INVALID_SLOTS_COUNT";
933
- EntityErrorTypePacker["INVALID_SLOT_CONTAINER"] = "INVALID_SLOT_CONTAINER";
934
- EntityErrorTypePacker["INVALID_SLOT_BODY"] = "INVALID_SLOT_BODY";
935
- EntityErrorTypePacker["INVALID_PALLETS_COUNT"] = "INVALID_PALLETS_COUNT";
936
- EntityErrorTypePacker["INVALID_PALLET_CONTAINER_DIMENSIONS"] = "INVALID_PALLET_CONTAINER_DIMENSIONS";
937
- EntityErrorTypePacker["INVALID_PALLET_CONTAINER"] = "INVALID_PALLET_CONTAINER";
938
- EntityErrorTypePacker["INVALID_MIXBOX_CONTAINER"] = "INVALID_MIXBOX_CONTAINER";
939
- EntityErrorTypePacker["INVALID_MIXBOX_COUNT"] = "INVALID_MIXBOX_COUNT";
940
- EntityErrorTypePacker["INVALID_PRODUCT_DIMENSIONS"] = "INVALID_PRODUCT_DIMENSIONS";
941
- EntityErrorTypePacker["INVALID_PRODUCT_COUNT"] = "INVALID_PRODUCT_COUNT";
942
- })(exports.EntityErrorTypePacker || (exports.EntityErrorTypePacker = {}));
943
- ;
944
-
945
- /**
946
- * VRt.Packer [PC]
947
- *
948
- * The version of the OpenAPI document: 4.9.1651
949
- * Contact: servicedesk@veeroute.com
950
- *
951
- * NOTE: This class is auto generated by OpenAPI Generator.
952
- * Do not edit the class manually.
953
- */
954
- /**
955
- * Entity type.
956
- */
957
- exports.EntityTypePacker = void 0;
958
- (function (EntityTypePacker) {
959
- EntityTypePacker["TASK"] = "TASK";
960
- EntityTypePacker["SETTINGS"] = "SETTINGS";
961
- EntityTypePacker["PRODUCT"] = "PRODUCT";
962
- EntityTypePacker["PACKAGE"] = "PACKAGE";
963
- })(exports.EntityTypePacker || (exports.EntityTypePacker = {}));
964
- ;
965
-
966
- /**
967
- * VRt.Packer [PC]
968
- *
969
- * The version of the OpenAPI document: 4.9.1651
970
- * Contact: servicedesk@veeroute.com
971
- *
972
- * NOTE: This class is auto generated by OpenAPI Generator.
973
- * Do not edit the class manually.
974
- */
975
- /**
976
- * Validation 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
977
- */
978
- exports.EntityValidationTypePacker = void 0;
979
- (function (EntityValidationTypePacker) {
980
- EntityValidationTypePacker["PALLET_SLOT_FIT"] = "INVALID_PALLET_SLOT_FIT";
981
- EntityValidationTypePacker["MIXBOX_PALLET_FIT"] = "INVALID_MIXBOX_PALLET_FIT";
982
- EntityValidationTypePacker["PRODUCT_PACKAGE_FIT"] = "INVALID_PRODUCT_PACKAGE_FIT";
983
- EntityValidationTypePacker["PRODUCT_COMPATIBILITY"] = "INVALID_PRODUCT_COMPATIBILITY";
984
- })(exports.EntityValidationTypePacker || (exports.EntityValidationTypePacker = {}));
985
- ;
986
-
987
- /**
988
- * VRt.Packer [PC]
989
- *
990
- * The version of the OpenAPI document: 4.9.1651
991
- * Contact: servicedesk@veeroute.com
992
- *
993
- * NOTE: This class is auto generated by OpenAPI Generator.
994
- * Do not edit the class manually.
995
- */
996
- /**
997
- * 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
998
- */
999
- exports.PackageTypePacker = void 0;
1000
- (function (PackageTypePacker) {
1001
- PackageTypePacker["SLOT"] = "SLOT";
1002
- PackageTypePacker["PALLET"] = "PALLET";
1003
- PackageTypePacker["MIXBOX"] = "MIXBOX";
1004
- })(exports.PackageTypePacker || (exports.PackageTypePacker = {}));
1005
- ;
1006
-
1007
- /**
1008
- * VRt.Packer [PC]
1009
- *
1010
- * The version of the OpenAPI document: 4.9.1651
1011
- * Contact: servicedesk@veeroute.com
1012
- *
1013
- * NOTE: This class is auto generated by OpenAPI Generator.
1014
- * Do not edit the class manually.
1015
- */
1016
- /**
1017
- * Service name.
1018
- */
1019
- exports.ServiceNamePacker = void 0;
1020
- (function (ServiceNamePacker) {
1021
- ServiceNamePacker["UNIVERSAL"] = "UNIVERSAL";
1022
- ServiceNamePacker["ROUTING"] = "ROUTING";
1023
- ServiceNamePacker["ACCOUNT"] = "ACCOUNT";
1024
- ServiceNamePacker["ADMIN"] = "ADMIN";
1025
- ServiceNamePacker["STUDIO"] = "STUDIO";
1026
- ServiceNamePacker["STOCK"] = "STOCK";
1027
- ServiceNamePacker["PACKER"] = "PACKER";
1028
- ServiceNamePacker["LONGHAUL"] = "LONGHAUL";
1029
- ServiceNamePacker["CLUSTER"] = "CLUSTER";
1030
- ServiceNamePacker["CARGOTIMETABLE"] = "CARGOTIMETABLE";
1031
- })(exports.ServiceNamePacker || (exports.ServiceNamePacker = {}));
1032
- ;
1033
-
1034
- var LssPackerApiModule = /** @class */ (function () {
1035
- function LssPackerApiModule(parentModule, http) {
1036
- if (parentModule) {
1037
- throw new Error('LssPackerApiModule is already loaded. Import in your base AppModule only.');
1038
- }
1039
- if (!http) {
1040
- throw new Error('You need to import the HttpClientModule in your AppModule! \n' +
1041
- 'See also https://github.com/angular/angular/issues/20575');
1042
- }
1043
- }
1044
- LssPackerApiModule.forRoot = function (configurationFactory) {
1045
- return {
1046
- ngModule: LssPackerApiModule,
1047
- providers: [{ provide: Configuration, useFactory: configurationFactory }]
1048
- };
1049
- };
1050
- return LssPackerApiModule;
1051
- }());
1052
- LssPackerApiModule.decorators = [
1053
- { type: i0.NgModule, args: [{
1054
- imports: [],
1055
- declarations: [],
1056
- exports: [],
1057
- providers: []
1058
- },] }
1059
- ];
1060
- LssPackerApiModule.ctorParameters = function () { return [
1061
- { type: LssPackerApiModule, decorators: [{ type: i0.Optional }, { type: i0.SkipSelf }] },
1062
- { type: i1.HttpClient, decorators: [{ type: i0.Optional }] }
1063
- ]; };
1064
-
1065
- /**
1066
- * Generated bundle index. Do not edit.
1067
- */
1068
-
1069
- exports.APIS = APIS;
1070
- exports.BASE_PATH = BASE_PATH;
1071
- exports.COLLECTION_FORMATS = COLLECTION_FORMATS;
1072
- exports.Configuration = Configuration;
1073
- exports.ConvertService = ConvertService;
1074
- exports.LssPackerApiModule = LssPackerApiModule;
1075
- exports.PackService = PackService;
1076
- exports.SystemService = SystemService;
1077
-
1078
- Object.defineProperty(exports, '__esModule', { value: true });
1079
-
1080
- }));
1081
- //# sourceMappingURL=veeroute-lss-packer-angular.umd.js.map