@veeroute/lss-agro-angular 6.4.1962 → 6.6.2006
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/api/planService.d.ts +1 -1
- package/api/planServiceInterface.d.ts +1 -1
- package/api/systemService.d.ts +1 -1
- package/api/systemServiceInterface.d.ts +1 -1
- package/configuration.d.ts +24 -0
- package/esm2020/api/planService.mjs +26 -10
- package/esm2020/api/planServiceInterface.mjs +1 -1
- package/esm2020/api/systemService.mjs +12 -5
- package/esm2020/api/systemServiceInterface.mjs +1 -1
- package/esm2020/api.module.mjs +1 -1
- package/esm2020/configuration.mjs +20 -1
- package/esm2020/index.mjs +2 -1
- package/esm2020/model/attribute.mjs +2 -2
- package/esm2020/model/bunker.mjs +1 -1
- package/esm2020/model/calculationAsyncResult.mjs +1 -1
- package/esm2020/model/calculationInfo.mjs +1 -1
- package/esm2020/model/calculationSettings.mjs +2 -2
- package/esm2020/model/calculationState.mjs +1 -1
- package/esm2020/model/calculationStatus.mjs +2 -3
- package/esm2020/model/capacityForecastElement.mjs +1 -1
- package/esm2020/model/chamber.mjs +1 -1
- package/esm2020/model/checkResult.mjs +2 -2
- package/esm2020/model/consumer.mjs +1 -1
- package/esm2020/model/contract.mjs +1 -1
- package/esm2020/model/contractType.mjs +2 -3
- package/esm2020/model/costForecastElement.mjs +1 -1
- package/esm2020/model/crop.mjs +1 -1
- package/esm2020/model/cropType.mjs +2 -3
- package/esm2020/model/custom400WithErrorsAndWarnings.mjs +2 -0
- package/esm2020/model/dateWindow.mjs +2 -2
- package/esm2020/model/dryer.mjs +1 -1
- package/esm2020/model/elevator.mjs +1 -1
- package/esm2020/model/entityError.mjs +1 -1
- package/esm2020/model/entityErrorType.mjs +2 -3
- package/esm2020/model/entityPath.mjs +1 -1
- package/esm2020/model/entityType.mjs +2 -3
- package/esm2020/model/entityWarning.mjs +1 -1
- package/esm2020/model/entityWarningType.mjs +2 -3
- package/esm2020/model/factory.mjs +1 -1
- package/esm2020/model/field.mjs +1 -1
- package/esm2020/model/gate.mjs +1 -1
- package/esm2020/model/general401.mjs +2 -0
- package/esm2020/model/general402.mjs +2 -0
- package/esm2020/model/general404.mjs +2 -0
- package/esm2020/model/general404Detail.mjs +2 -0
- package/esm2020/model/general429.mjs +2 -0
- package/esm2020/model/general500.mjs +2 -0
- package/esm2020/model/humidityForecastElement.mjs +1 -1
- package/esm2020/model/leftover.mjs +2 -2
- package/esm2020/model/market.mjs +1 -1
- package/esm2020/model/models.mjs +8 -8
- package/esm2020/model/movementMatrixElement.mjs +2 -2
- package/esm2020/model/objectType.mjs +2 -3
- package/esm2020/model/operation.mjs +1 -1
- package/esm2020/model/operationMeasurements.mjs +2 -2
- package/esm2020/model/operationTarget.mjs +1 -1
- package/esm2020/model/operationType.mjs +2 -3
- package/esm2020/model/planResult.mjs +1 -1
- package/esm2020/model/planSettings.mjs +1 -1
- package/esm2020/model/planStatistics.mjs +2 -2
- package/esm2020/model/planTask.mjs +1 -1
- package/esm2020/model/priceForecastElement.mjs +1 -1
- package/esm2020/model/pricelist.mjs +1 -1
- package/esm2020/model/productivityForecastElement.mjs +1 -1
- package/esm2020/model/projectConfiguration.mjs +2 -3
- package/esm2020/model/projectSettings.mjs +1 -1
- package/esm2020/model/schemaError.mjs +2 -2
- package/esm2020/model/serviceName.mjs +2 -3
- package/esm2020/model/silo.mjs +1 -1
- package/esm2020/model/stockForecastElement.mjs +1 -1
- package/esm2020/model/storage.mjs +1 -1
- package/esm2020/model/tracedata.mjs +1 -1
- package/esm2020/model/unplannedItems.mjs +2 -2
- package/esm2020/model/validateResult.mjs +1 -1
- package/esm2020/model/versionResult.mjs +2 -2
- package/esm2020/param.mjs +2 -0
- package/fesm2015/veeroute-lss-agro-angular.mjs +65 -33
- package/fesm2015/veeroute-lss-agro-angular.mjs.map +1 -1
- package/fesm2020/veeroute-lss-agro-angular.mjs +76 -44
- package/fesm2020/veeroute-lss-agro-angular.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/model/attribute.d.ts +1 -1
- package/model/bunker.d.ts +1 -1
- package/model/calculationAsyncResult.d.ts +1 -1
- package/model/calculationInfo.d.ts +1 -1
- package/model/calculationSettings.d.ts +1 -1
- package/model/calculationState.d.ts +1 -1
- package/model/calculationStatus.d.ts +1 -1
- package/model/capacityForecastElement.d.ts +1 -1
- package/model/chamber.d.ts +1 -1
- package/model/checkResult.d.ts +1 -1
- package/model/consumer.d.ts +1 -1
- package/model/contract.d.ts +1 -1
- package/model/contractType.d.ts +1 -1
- package/model/costForecastElement.d.ts +1 -1
- package/model/crop.d.ts +1 -1
- package/model/cropType.d.ts +1 -1
- package/model/{inlineResponse400.d.ts → custom400WithErrorsAndWarnings.d.ts} +3 -3
- package/model/dateWindow.d.ts +1 -1
- package/model/dryer.d.ts +1 -1
- package/model/elevator.d.ts +1 -1
- package/model/entityError.d.ts +1 -1
- package/model/entityErrorType.d.ts +1 -1
- package/model/entityPath.d.ts +1 -1
- package/model/entityType.d.ts +1 -1
- package/model/entityWarning.d.ts +1 -1
- package/model/entityWarningType.d.ts +1 -1
- package/model/factory.d.ts +1 -1
- package/model/field.d.ts +1 -1
- package/model/gate.d.ts +1 -1
- package/model/{inlineResponse401.d.ts → general401.d.ts} +3 -3
- package/model/{inlineResponse402.d.ts → general402.d.ts} +3 -3
- package/model/{inlineResponse404.d.ts → general404.d.ts} +5 -5
- package/model/{inlineResponse404Detail.d.ts → general404Detail.d.ts} +2 -2
- package/model/{inlineResponse429.d.ts → general429.d.ts} +3 -3
- package/model/{inlineResponse500.d.ts → general500.d.ts} +3 -3
- package/model/humidityForecastElement.d.ts +1 -1
- package/model/leftover.d.ts +1 -1
- package/model/market.d.ts +1 -1
- package/model/models.d.ts +7 -7
- package/model/movementMatrixElement.d.ts +1 -1
- package/model/objectType.d.ts +1 -1
- package/model/operation.d.ts +1 -1
- package/model/operationMeasurements.d.ts +1 -1
- package/model/operationTarget.d.ts +1 -1
- package/model/operationType.d.ts +1 -1
- package/model/planResult.d.ts +1 -1
- package/model/planSettings.d.ts +1 -1
- package/model/planStatistics.d.ts +1 -1
- package/model/planTask.d.ts +1 -1
- package/model/priceForecastElement.d.ts +1 -1
- package/model/pricelist.d.ts +1 -1
- package/model/productivityForecastElement.d.ts +1 -1
- package/model/projectConfiguration.d.ts +1 -1
- package/model/projectSettings.d.ts +1 -1
- package/model/schemaError.d.ts +1 -1
- package/model/serviceName.d.ts +1 -1
- package/model/silo.d.ts +1 -1
- package/model/stockForecastElement.d.ts +1 -1
- package/model/storage.d.ts +1 -1
- package/model/tracedata.d.ts +1 -1
- package/model/unplannedItems.d.ts +1 -1
- package/model/validateResult.d.ts +1 -1
- package/model/versionResult.d.ts +1 -1
- package/package.json +1 -1
- package/param.d.ts +37 -0
- package/esm2020/model/inlineResponse400.mjs +0 -2
- package/esm2020/model/inlineResponse401.mjs +0 -2
- package/esm2020/model/inlineResponse402.mjs +0 -2
- package/esm2020/model/inlineResponse404.mjs +0 -2
- package/esm2020/model/inlineResponse404Detail.mjs +0 -2
- package/esm2020/model/inlineResponse429.mjs +0 -2
- package/esm2020/model/inlineResponse500.mjs +0 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* VRt.Agro [AG]
|
|
3
3
|
*
|
|
4
|
-
* The version of the OpenAPI document: 6.
|
|
4
|
+
* The version of the OpenAPI document: 6.6.2006
|
|
5
5
|
* Contact: servicedesk@veeroute.com
|
|
6
6
|
*
|
|
7
7
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
10
|
export {};
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvblJlc3VsdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL21vZGVsL3ZlcnNp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c3dvcmRcIlxuICA7XG5cbmV4cG9ydCB0eXBlIERhdGFGb3JtYXQgPSBTdGFuZGFyZERhdGFGb3JtYXQgfCBzdHJpbmc7XG5cbi8qKlxuICogVGhlIHBhcmFtZXRlciB0byBlbmNvZGUuXG4gKi9cbmV4cG9ydCBpbnRlcmZhY2UgUGFyYW0ge1xuICBuYW1lOiBzdHJpbmc7XG4gIHZhbHVlOiB1bmtub3duO1xuICBpbjogUGFyYW1Mb2NhdGlvbjtcbiAgc3R5bGU6IFBhcmFtU3R5bGUsXG4gIGV4cGxvZGU6IGJvb2xlYW47XG4gIGRhdGFUeXBlOiBEYXRhVHlwZTtcbiAgZGF0YUZvcm1hdDogRGF0YUZvcm1hdCB8IHVuZGVmaW5lZDtcbn1cbiJdfQ==
|
|
@@ -39,6 +39,12 @@ class Configuration {
|
|
|
39
39
|
this.basePath = configurationParameters.basePath;
|
|
40
40
|
this.withCredentials = configurationParameters.withCredentials;
|
|
41
41
|
this.encoder = configurationParameters.encoder;
|
|
42
|
+
if (configurationParameters.encodeParam) {
|
|
43
|
+
this.encodeParam = configurationParameters.encodeParam;
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
this.encodeParam = param => this.defaultEncodeParam(param);
|
|
47
|
+
}
|
|
42
48
|
if (configurationParameters.credentials) {
|
|
43
49
|
this.credentials = configurationParameters.credentials;
|
|
44
50
|
}
|
|
@@ -108,12 +114,25 @@ class Configuration {
|
|
|
108
114
|
? value()
|
|
109
115
|
: value;
|
|
110
116
|
}
|
|
117
|
+
defaultEncodeParam(param) {
|
|
118
|
+
// This implementation exists as fallback for missing configuration
|
|
119
|
+
// and for backwards compatibility to older typescript-angular generator versions.
|
|
120
|
+
// It only works for the 'simple' parameter style.
|
|
121
|
+
// Date-handling only works for the 'date-time' format.
|
|
122
|
+
// All other styles and Date-formats are probably handled incorrectly.
|
|
123
|
+
//
|
|
124
|
+
// But: if that's all you need (i.e.: the most common use-case): no need for customization!
|
|
125
|
+
const value = param.dataFormat === 'date-time' && param.value instanceof Date
|
|
126
|
+
? param.value.toISOString()
|
|
127
|
+
: param.value;
|
|
128
|
+
return encodeURIComponent(String(value));
|
|
129
|
+
}
|
|
111
130
|
}
|
|
112
131
|
|
|
113
132
|
/**
|
|
114
133
|
* VRt.Agro [AG]
|
|
115
134
|
*
|
|
116
|
-
* The version of the OpenAPI document: 6.
|
|
135
|
+
* The version of the OpenAPI document: 6.6.2006
|
|
117
136
|
* Contact: servicedesk@veeroute.com
|
|
118
137
|
*
|
|
119
138
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -129,6 +148,9 @@ class PlanService {
|
|
|
129
148
|
this.configuration = configuration;
|
|
130
149
|
}
|
|
131
150
|
if (typeof this.configuration.basePath !== 'string') {
|
|
151
|
+
if (Array.isArray(basePath) && basePath.length > 0) {
|
|
152
|
+
basePath = basePath[0];
|
|
153
|
+
}
|
|
132
154
|
if (typeof basePath !== 'string') {
|
|
133
155
|
basePath = this.basePath;
|
|
134
156
|
}
|
|
@@ -136,6 +158,7 @@ class PlanService {
|
|
|
136
158
|
}
|
|
137
159
|
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
138
160
|
}
|
|
161
|
+
// @ts-ignore
|
|
139
162
|
addToHttpParams(httpParams, value, key) {
|
|
140
163
|
if (typeof value === "object" && value instanceof Date === false) {
|
|
141
164
|
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
@@ -212,7 +235,8 @@ class PlanService {
|
|
|
212
235
|
responseType_ = 'blob';
|
|
213
236
|
}
|
|
214
237
|
}
|
|
215
|
-
|
|
238
|
+
let localVarPath = `/agro/plan/calculation_async/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
239
|
+
return this.httpClient.request('delete', `${this.configuration.basePath}${localVarPath}`, {
|
|
216
240
|
context: localVarHttpContext,
|
|
217
241
|
responseType: responseType_,
|
|
218
242
|
withCredentials: this.configuration.withCredentials,
|
|
@@ -260,7 +284,8 @@ class PlanService {
|
|
|
260
284
|
responseType_ = 'blob';
|
|
261
285
|
}
|
|
262
286
|
}
|
|
263
|
-
|
|
287
|
+
let localVarPath = `/agro/plan/result/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
288
|
+
return this.httpClient.request('delete', `${this.configuration.basePath}${localVarPath}`, {
|
|
264
289
|
context: localVarHttpContext,
|
|
265
290
|
responseType: responseType_,
|
|
266
291
|
withCredentials: this.configuration.withCredentials,
|
|
@@ -308,7 +333,8 @@ class PlanService {
|
|
|
308
333
|
responseType_ = 'blob';
|
|
309
334
|
}
|
|
310
335
|
}
|
|
311
|
-
|
|
336
|
+
let localVarPath = `/agro/plan/calculation_async/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
337
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
312
338
|
context: localVarHttpContext,
|
|
313
339
|
responseType: responseType_,
|
|
314
340
|
withCredentials: this.configuration.withCredentials,
|
|
@@ -356,7 +382,8 @@ class PlanService {
|
|
|
356
382
|
responseType_ = 'blob';
|
|
357
383
|
}
|
|
358
384
|
}
|
|
359
|
-
|
|
385
|
+
let localVarPath = `/agro/plan/result/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
386
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
360
387
|
context: localVarHttpContext,
|
|
361
388
|
responseType: responseType_,
|
|
362
389
|
withCredentials: this.configuration.withCredentials,
|
|
@@ -412,8 +439,10 @@ class PlanService {
|
|
|
412
439
|
responseType_ = 'blob';
|
|
413
440
|
}
|
|
414
441
|
}
|
|
415
|
-
|
|
442
|
+
let localVarPath = `/agro/plan/calculation`;
|
|
443
|
+
return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
416
444
|
context: localVarHttpContext,
|
|
445
|
+
body: planTaskAgro,
|
|
417
446
|
responseType: responseType_,
|
|
418
447
|
withCredentials: this.configuration.withCredentials,
|
|
419
448
|
headers: localVarHeaders,
|
|
@@ -468,8 +497,10 @@ class PlanService {
|
|
|
468
497
|
responseType_ = 'blob';
|
|
469
498
|
}
|
|
470
499
|
}
|
|
471
|
-
|
|
500
|
+
let localVarPath = `/agro/plan/calculation_async`;
|
|
501
|
+
return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
472
502
|
context: localVarHttpContext,
|
|
503
|
+
body: planTaskAgro,
|
|
473
504
|
responseType: responseType_,
|
|
474
505
|
withCredentials: this.configuration.withCredentials,
|
|
475
506
|
headers: localVarHeaders,
|
|
@@ -533,8 +564,10 @@ class PlanService {
|
|
|
533
564
|
responseType_ = 'blob';
|
|
534
565
|
}
|
|
535
566
|
}
|
|
536
|
-
|
|
567
|
+
let localVarPath = `/agro/plan/clip/${this.configuration.encodeParam({ name: "clipKey", value: clipKey, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
568
|
+
return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
537
569
|
context: localVarHttpContext,
|
|
570
|
+
body: planTaskAgro,
|
|
538
571
|
params: localVarQueryParameters,
|
|
539
572
|
responseType: responseType_,
|
|
540
573
|
withCredentials: this.configuration.withCredentials,
|
|
@@ -590,8 +623,10 @@ class PlanService {
|
|
|
590
623
|
responseType_ = 'blob';
|
|
591
624
|
}
|
|
592
625
|
}
|
|
593
|
-
|
|
626
|
+
let localVarPath = `/agro/plan/validation`;
|
|
627
|
+
return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
594
628
|
context: localVarHttpContext,
|
|
629
|
+
body: planTaskAgro,
|
|
595
630
|
responseType: responseType_,
|
|
596
631
|
withCredentials: this.configuration.withCredentials,
|
|
597
632
|
headers: localVarHeaders,
|
|
@@ -621,7 +656,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
621
656
|
/**
|
|
622
657
|
* VRt.Agro [AG]
|
|
623
658
|
*
|
|
624
|
-
* The version of the OpenAPI document: 6.
|
|
659
|
+
* The version of the OpenAPI document: 6.6.2006
|
|
625
660
|
* Contact: servicedesk@veeroute.com
|
|
626
661
|
*
|
|
627
662
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -637,6 +672,9 @@ class SystemService {
|
|
|
637
672
|
this.configuration = configuration;
|
|
638
673
|
}
|
|
639
674
|
if (typeof this.configuration.basePath !== 'string') {
|
|
675
|
+
if (Array.isArray(basePath) && basePath.length > 0) {
|
|
676
|
+
basePath = basePath[0];
|
|
677
|
+
}
|
|
640
678
|
if (typeof basePath !== 'string') {
|
|
641
679
|
basePath = this.basePath;
|
|
642
680
|
}
|
|
@@ -644,6 +682,7 @@ class SystemService {
|
|
|
644
682
|
}
|
|
645
683
|
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
646
684
|
}
|
|
685
|
+
// @ts-ignore
|
|
647
686
|
addToHttpParams(httpParams, value, key) {
|
|
648
687
|
if (typeof value === "object" && value instanceof Date === false) {
|
|
649
688
|
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
@@ -710,7 +749,8 @@ class SystemService {
|
|
|
710
749
|
responseType_ = 'blob';
|
|
711
750
|
}
|
|
712
751
|
}
|
|
713
|
-
|
|
752
|
+
let localVarPath = `/agro/system/check`;
|
|
753
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
714
754
|
context: localVarHttpContext,
|
|
715
755
|
responseType: responseType_,
|
|
716
756
|
withCredentials: this.configuration.withCredentials,
|
|
@@ -754,7 +794,8 @@ class SystemService {
|
|
|
754
794
|
responseType_ = 'blob';
|
|
755
795
|
}
|
|
756
796
|
}
|
|
757
|
-
|
|
797
|
+
let localVarPath = `/agro/file/${this.configuration.encodeParam({ name: "filename", value: filename, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
798
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
758
799
|
context: localVarHttpContext,
|
|
759
800
|
responseType: responseType_,
|
|
760
801
|
withCredentials: this.configuration.withCredentials,
|
|
@@ -792,7 +833,8 @@ class SystemService {
|
|
|
792
833
|
responseType_ = 'blob';
|
|
793
834
|
}
|
|
794
835
|
}
|
|
795
|
-
|
|
836
|
+
let localVarPath = `/agro/system/version`;
|
|
837
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
796
838
|
context: localVarHttpContext,
|
|
797
839
|
responseType: responseType_,
|
|
798
840
|
withCredentials: this.configuration.withCredentials,
|
|
@@ -825,7 +867,7 @@ const APIS = [PlanService, SystemService];
|
|
|
825
867
|
/**
|
|
826
868
|
* VRt.Agro [AG]
|
|
827
869
|
*
|
|
828
|
-
* The version of the OpenAPI document: 6.
|
|
870
|
+
* The version of the OpenAPI document: 6.6.2006
|
|
829
871
|
* Contact: servicedesk@veeroute.com
|
|
830
872
|
*
|
|
831
873
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -844,12 +886,11 @@ var CalculationStatusAgro;
|
|
|
844
886
|
CalculationStatusAgro["CANCELED_BY_TIMEOUT"] = "CANCELED_BY_TIMEOUT";
|
|
845
887
|
CalculationStatusAgro["FAILED"] = "FAILED";
|
|
846
888
|
})(CalculationStatusAgro || (CalculationStatusAgro = {}));
|
|
847
|
-
;
|
|
848
889
|
|
|
849
890
|
/**
|
|
850
891
|
* VRt.Agro [AG]
|
|
851
892
|
*
|
|
852
|
-
* The version of the OpenAPI document: 6.
|
|
893
|
+
* The version of the OpenAPI document: 6.6.2006
|
|
853
894
|
* Contact: servicedesk@veeroute.com
|
|
854
895
|
*
|
|
855
896
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -865,12 +906,11 @@ var ContractTypeAgro;
|
|
|
865
906
|
ContractTypeAgro["BUY_WITH_DELIVERY"] = "BUY_WITH_DELIVERY";
|
|
866
907
|
ContractTypeAgro["BUY"] = "BUY";
|
|
867
908
|
})(ContractTypeAgro || (ContractTypeAgro = {}));
|
|
868
|
-
;
|
|
869
909
|
|
|
870
910
|
/**
|
|
871
911
|
* VRt.Agro [AG]
|
|
872
912
|
*
|
|
873
|
-
* The version of the OpenAPI document: 6.
|
|
913
|
+
* The version of the OpenAPI document: 6.6.2006
|
|
874
914
|
* Contact: servicedesk@veeroute.com
|
|
875
915
|
*
|
|
876
916
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -884,12 +924,11 @@ var CropTypeAgro;
|
|
|
884
924
|
CropTypeAgro["DRY"] = "DRY";
|
|
885
925
|
CropTypeAgro["WET"] = "WET";
|
|
886
926
|
})(CropTypeAgro || (CropTypeAgro = {}));
|
|
887
|
-
;
|
|
888
927
|
|
|
889
928
|
/**
|
|
890
929
|
* VRt.Agro [AG]
|
|
891
930
|
*
|
|
892
|
-
* The version of the OpenAPI document: 6.
|
|
931
|
+
* The version of the OpenAPI document: 6.6.2006
|
|
893
932
|
* Contact: servicedesk@veeroute.com
|
|
894
933
|
*
|
|
895
934
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -908,12 +947,11 @@ var EntityErrorTypeAgro;
|
|
|
908
947
|
EntityErrorTypeAgro["INVALID_LEFTOVER_PER_ONE_TARGET"] = "INVALID_LEFTOVER_PER_ONE_TARGET";
|
|
909
948
|
EntityErrorTypeAgro["INVALID_CHAMBER_VARIANTS"] = "INVALID_CHAMBER_VARIANTS";
|
|
910
949
|
})(EntityErrorTypeAgro || (EntityErrorTypeAgro = {}));
|
|
911
|
-
;
|
|
912
950
|
|
|
913
951
|
/**
|
|
914
952
|
* VRt.Agro [AG]
|
|
915
953
|
*
|
|
916
|
-
* The version of the OpenAPI document: 6.
|
|
954
|
+
* The version of the OpenAPI document: 6.6.2006
|
|
917
955
|
* Contact: servicedesk@veeroute.com
|
|
918
956
|
*
|
|
919
957
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -940,12 +978,11 @@ var EntityTypeAgro;
|
|
|
940
978
|
EntityTypeAgro["LEFTOVER"] = "LEFTOVER";
|
|
941
979
|
EntityTypeAgro["FORECAST_ELEMENT"] = "FORECAST_ELEMENT";
|
|
942
980
|
})(EntityTypeAgro || (EntityTypeAgro = {}));
|
|
943
|
-
;
|
|
944
981
|
|
|
945
982
|
/**
|
|
946
983
|
* VRt.Agro [AG]
|
|
947
984
|
*
|
|
948
|
-
* The version of the OpenAPI document: 6.
|
|
985
|
+
* The version of the OpenAPI document: 6.6.2006
|
|
949
986
|
* Contact: servicedesk@veeroute.com
|
|
950
987
|
*
|
|
951
988
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -960,12 +997,11 @@ var EntityWarningTypeAgro;
|
|
|
960
997
|
EntityWarningTypeAgro["AVAILABLE_MOVEMENT"] = "NO_AVAILABLE_MOVEMENT";
|
|
961
998
|
EntityWarningTypeAgro["AVAILABLE_CONSUMER"] = "NO_AVAILABLE_CONSUMER";
|
|
962
999
|
})(EntityWarningTypeAgro || (EntityWarningTypeAgro = {}));
|
|
963
|
-
;
|
|
964
1000
|
|
|
965
1001
|
/**
|
|
966
1002
|
* VRt.Agro [AG]
|
|
967
1003
|
*
|
|
968
|
-
* The version of the OpenAPI document: 6.
|
|
1004
|
+
* The version of the OpenAPI document: 6.6.2006
|
|
969
1005
|
* Contact: servicedesk@veeroute.com
|
|
970
1006
|
*
|
|
971
1007
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -981,12 +1017,11 @@ var ObjectTypeAgro;
|
|
|
981
1017
|
ObjectTypeAgro["FACTORY"] = "FACTORY";
|
|
982
1018
|
ObjectTypeAgro["MARKET"] = "MARKET";
|
|
983
1019
|
})(ObjectTypeAgro || (ObjectTypeAgro = {}));
|
|
984
|
-
;
|
|
985
1020
|
|
|
986
1021
|
/**
|
|
987
1022
|
* VRt.Agro [AG]
|
|
988
1023
|
*
|
|
989
|
-
* The version of the OpenAPI document: 6.
|
|
1024
|
+
* The version of the OpenAPI document: 6.6.2006
|
|
990
1025
|
* Contact: servicedesk@veeroute.com
|
|
991
1026
|
*
|
|
992
1027
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -1007,12 +1042,11 @@ var OperationTypeAgro;
|
|
|
1007
1042
|
OperationTypeAgro["SELL"] = "SELL";
|
|
1008
1043
|
OperationTypeAgro["BUY"] = "BUY";
|
|
1009
1044
|
})(OperationTypeAgro || (OperationTypeAgro = {}));
|
|
1010
|
-
;
|
|
1011
1045
|
|
|
1012
1046
|
/**
|
|
1013
1047
|
* VRt.Agro [AG]
|
|
1014
1048
|
*
|
|
1015
|
-
* The version of the OpenAPI document: 6.
|
|
1049
|
+
* The version of the OpenAPI document: 6.6.2006
|
|
1016
1050
|
* Contact: servicedesk@veeroute.com
|
|
1017
1051
|
*
|
|
1018
1052
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -1026,12 +1060,11 @@ var ProjectConfigurationAgro;
|
|
|
1026
1060
|
ProjectConfigurationAgro["DISTANCE"] = "OPTIMIZE_DISTANCE";
|
|
1027
1061
|
ProjectConfigurationAgro["COST"] = "OPTIMIZE_COST";
|
|
1028
1062
|
})(ProjectConfigurationAgro || (ProjectConfigurationAgro = {}));
|
|
1029
|
-
;
|
|
1030
1063
|
|
|
1031
1064
|
/**
|
|
1032
1065
|
* VRt.Agro [AG]
|
|
1033
1066
|
*
|
|
1034
|
-
* The version of the OpenAPI document: 6.
|
|
1067
|
+
* The version of the OpenAPI document: 6.6.2006
|
|
1035
1068
|
* Contact: servicedesk@veeroute.com
|
|
1036
1069
|
*
|
|
1037
1070
|
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -1054,7 +1087,6 @@ var ServiceNameAgro;
|
|
|
1054
1087
|
ServiceNameAgro["CLUSTER"] = "CLUSTER";
|
|
1055
1088
|
ServiceNameAgro["CARGOTIMETABLE"] = "CARGOTIMETABLE";
|
|
1056
1089
|
})(ServiceNameAgro || (ServiceNameAgro = {}));
|
|
1057
|
-
;
|
|
1058
1090
|
|
|
1059
1091
|
class LssAgroApiModule {
|
|
1060
1092
|
constructor(parentModule, http) {
|