@veeroute/lss-agro-angular 7.29.3120 → 7.31.3182

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 (157) hide show
  1. package/README.md +3 -3
  2. package/api/planService.d.ts +38 -16
  3. package/api/planServiceInterface.d.ts +23 -12
  4. package/api/systemServiceInterface.d.ts +1 -1
  5. package/api.base.service.d.ts +1 -1
  6. package/cfg/process_types.json +6 -0
  7. package/esm2022/api/planService.mjs +63 -18
  8. package/esm2022/api/planServiceInterface.mjs +1 -1
  9. package/esm2022/api/systemService.mjs +2 -2
  10. package/esm2022/api/systemServiceInterface.mjs +1 -1
  11. package/esm2022/api.base.service.mjs +2 -2
  12. package/esm2022/model/agro400WithErrorsAndWarnings.mjs +2 -0
  13. package/esm2022/model/agroEntityError.mjs +2 -0
  14. package/esm2022/model/agroEntityErrorType.mjs +23 -0
  15. package/esm2022/model/agroEntityPath.mjs +2 -0
  16. package/esm2022/model/agroEntityType.mjs +31 -0
  17. package/esm2022/model/agroEntityWarning.mjs +2 -0
  18. package/esm2022/model/agroEntityWarningType.mjs +19 -0
  19. package/esm2022/model/agroPlanResult.mjs +2 -0
  20. package/esm2022/model/agroPlanSettings.mjs +2 -0
  21. package/esm2022/model/agroPlanStatistics.mjs +11 -0
  22. package/esm2022/model/agroPlanTask.mjs +2 -0
  23. package/esm2022/model/agroUnplannedItems.mjs +11 -0
  24. package/esm2022/model/agroValidateResult.mjs +2 -0
  25. package/esm2022/model/attribute.mjs +2 -2
  26. package/esm2022/model/bunker.mjs +1 -1
  27. package/esm2022/model/calculationAsyncResult.mjs +1 -1
  28. package/esm2022/model/calculationInfo.mjs +1 -1
  29. package/esm2022/model/calculationSettings.mjs +2 -2
  30. package/esm2022/model/calculationState.mjs +1 -1
  31. package/esm2022/model/calculationStatus.mjs +2 -2
  32. package/esm2022/model/capacityForecastElement.mjs +1 -1
  33. package/esm2022/model/chamber.mjs +1 -1
  34. package/esm2022/model/checkResult.mjs +2 -2
  35. package/esm2022/model/consumer.mjs +1 -1
  36. package/esm2022/model/contract.mjs +1 -1
  37. package/esm2022/model/contractType.mjs +2 -2
  38. package/esm2022/model/costForecastElement.mjs +1 -1
  39. package/esm2022/model/crop.mjs +1 -1
  40. package/esm2022/model/cropType.mjs +2 -2
  41. package/esm2022/model/dateWindow.mjs +2 -2
  42. package/esm2022/model/dryer.mjs +1 -1
  43. package/esm2022/model/elevator.mjs +1 -1
  44. package/esm2022/model/factory.mjs +1 -1
  45. package/esm2022/model/field.mjs +1 -1
  46. package/esm2022/model/flowType.mjs +18 -0
  47. package/esm2022/model/gate.mjs +1 -1
  48. package/esm2022/model/general400.mjs +2 -0
  49. package/esm2022/model/general402.mjs +1 -1
  50. package/esm2022/model/general403.mjs +2 -0
  51. package/esm2022/model/general404.mjs +1 -1
  52. package/esm2022/model/general404Detail.mjs +1 -1
  53. package/esm2022/model/general429.mjs +1 -1
  54. package/esm2022/model/general500.mjs +1 -1
  55. package/esm2022/model/humidityForecastElement.mjs +1 -1
  56. package/esm2022/model/leftover.mjs +2 -2
  57. package/esm2022/model/manufacturingOperation.mjs +1 -1
  58. package/esm2022/model/market.mjs +1 -1
  59. package/esm2022/model/models.mjs +17 -14
  60. package/esm2022/model/movementMatrixElement.mjs +2 -2
  61. package/esm2022/model/objectType.mjs +2 -2
  62. package/esm2022/model/operationMeasurements.mjs +2 -2
  63. package/esm2022/model/operationTarget.mjs +1 -1
  64. package/esm2022/model/operationType.mjs +2 -2
  65. package/esm2022/model/priceForecastElement.mjs +1 -1
  66. package/esm2022/model/pricelist.mjs +1 -1
  67. package/esm2022/model/productivityForecastElement.mjs +1 -1
  68. package/esm2022/model/projectConfiguration.mjs +2 -2
  69. package/esm2022/model/projectSettings.mjs +1 -1
  70. package/esm2022/model/schemaError.mjs +2 -2
  71. package/esm2022/model/service.mjs +2 -2
  72. package/esm2022/model/silo.mjs +1 -1
  73. package/esm2022/model/stockForecastElement.mjs +1 -1
  74. package/esm2022/model/storage.mjs +1 -1
  75. package/esm2022/model/tracedata.mjs +1 -1
  76. package/esm2022/model/versionResult.mjs +2 -2
  77. package/fesm2022/veeroute-lss-agro-angular.mjs +181 -118
  78. package/fesm2022/veeroute-lss-agro-angular.mjs.map +1 -1
  79. package/model/{custom400WithErrorsAndWarnings.d.ts → agro400WithErrorsAndWarnings.d.ts} +6 -6
  80. package/model/{entityError.d.ts → agroEntityError.d.ts} +6 -6
  81. package/model/{entityErrorType.d.ts → agroEntityErrorType.d.ts} +2 -2
  82. package/model/{entityPath.d.ts → agroEntityPath.d.ts} +5 -5
  83. package/model/{entityType.d.ts → agroEntityType.d.ts} +2 -2
  84. package/model/{entityWarning.d.ts → agroEntityWarning.d.ts} +6 -6
  85. package/model/{entityWarningType.d.ts → agroEntityWarningType.d.ts} +2 -2
  86. package/model/{planResult.d.ts → agroPlanResult.d.ts} +8 -8
  87. package/model/{planSettings.d.ts → agroPlanSettings.d.ts} +2 -2
  88. package/model/{planStatistics.d.ts → agroPlanStatistics.d.ts} +2 -2
  89. package/model/{planTask.d.ts → agroPlanTask.d.ts} +4 -4
  90. package/model/{unplannedItems.d.ts → agroUnplannedItems.d.ts} +2 -2
  91. package/model/{validateResult.d.ts → agroValidateResult.d.ts} +4 -4
  92. package/model/attribute.d.ts +1 -1
  93. package/model/bunker.d.ts +1 -1
  94. package/model/calculationAsyncResult.d.ts +1 -1
  95. package/model/calculationInfo.d.ts +1 -1
  96. package/model/calculationSettings.d.ts +1 -1
  97. package/model/calculationState.d.ts +1 -1
  98. package/model/calculationStatus.d.ts +1 -1
  99. package/model/capacityForecastElement.d.ts +1 -1
  100. package/model/chamber.d.ts +1 -1
  101. package/model/checkResult.d.ts +1 -1
  102. package/model/consumer.d.ts +1 -1
  103. package/model/contract.d.ts +1 -1
  104. package/model/contractType.d.ts +1 -1
  105. package/model/costForecastElement.d.ts +1 -1
  106. package/model/crop.d.ts +1 -1
  107. package/model/cropType.d.ts +1 -1
  108. package/model/dateWindow.d.ts +1 -1
  109. package/model/dryer.d.ts +1 -1
  110. package/model/elevator.d.ts +1 -1
  111. package/model/factory.d.ts +4 -4
  112. package/model/field.d.ts +1 -1
  113. package/model/flowType.d.ts +16 -0
  114. package/model/gate.d.ts +1 -1
  115. package/model/general400.d.ts +26 -0
  116. package/model/general402.d.ts +1 -1
  117. package/model/general403.d.ts +21 -0
  118. package/model/general404.d.ts +1 -1
  119. package/model/general404Detail.d.ts +1 -1
  120. package/model/general429.d.ts +1 -1
  121. package/model/general500.d.ts +1 -1
  122. package/model/humidityForecastElement.d.ts +1 -1
  123. package/model/leftover.d.ts +1 -1
  124. package/model/manufacturingOperation.d.ts +1 -1
  125. package/model/market.d.ts +1 -1
  126. package/model/models.d.ts +16 -13
  127. package/model/movementMatrixElement.d.ts +1 -1
  128. package/model/objectType.d.ts +1 -1
  129. package/model/operationMeasurements.d.ts +1 -1
  130. package/model/operationTarget.d.ts +1 -1
  131. package/model/operationType.d.ts +1 -1
  132. package/model/priceForecastElement.d.ts +1 -1
  133. package/model/pricelist.d.ts +1 -1
  134. package/model/productivityForecastElement.d.ts +1 -1
  135. package/model/projectConfiguration.d.ts +1 -1
  136. package/model/projectSettings.d.ts +1 -1
  137. package/model/schemaError.d.ts +1 -1
  138. package/model/service.d.ts +1 -1
  139. package/model/silo.d.ts +1 -1
  140. package/model/stockForecastElement.d.ts +1 -1
  141. package/model/storage.d.ts +1 -1
  142. package/model/tracedata.d.ts +1 -1
  143. package/model/versionResult.d.ts +1 -1
  144. package/package.json +1 -1
  145. package/esm2022/model/custom400WithErrorsAndWarnings.mjs +0 -2
  146. package/esm2022/model/entityError.mjs +0 -2
  147. package/esm2022/model/entityErrorType.mjs +0 -23
  148. package/esm2022/model/entityPath.mjs +0 -2
  149. package/esm2022/model/entityType.mjs +0 -31
  150. package/esm2022/model/entityWarning.mjs +0 -2
  151. package/esm2022/model/entityWarningType.mjs +0 -19
  152. package/esm2022/model/planResult.mjs +0 -2
  153. package/esm2022/model/planSettings.mjs +0 -2
  154. package/esm2022/model/planStatistics.mjs +0 -11
  155. package/esm2022/model/planTask.mjs +0 -2
  156. package/esm2022/model/unplannedItems.mjs +0 -11
  157. package/esm2022/model/validateResult.mjs +0 -2
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
- # @veeroute/lss-agro-angular@7.29.3120
1
+ # @veeroute/lss-agro-angular@7.31.3182
2
2
 
3
3
  Veeroute Agro API. # Description The service is designed to calculate the work plan of production facilities. ## Objects overview ![objects](../images/agro_objects.svg) ### Field - produces a certain crop of a certain moisture content - products from the field can only be moved to the Elevator or Factory ### Elevator - consists of Gates, Dryers, short-term and long-term storage areas - dries the grain (if the moisture content of the crop is more than acceptable) - stores dry grain in short-term storage places (warehouses), while unloading and loading grain is allowed within one day - stores dry grain in long-term storage places (sleeves, trenches, mounds) - when stored in one storage, only one type of culture can be located - sells surplus grain to the Market - production processes inside the facility: drying, loading / unloading to a storage location, storage ### Factory - consists of Gates, Dryers, Bunkers, Consumers - [if drying is present] dries the grain (if the moisture content of the crop is more than allowed) - stores dry grain in Bunkers (short-term storage tied to a specific crop) - maintains a minimum supply of grain for consumption in the Bunkers - Consumes grain from Bunkers - buys the missing grain from the Market - production processes inside the facility: drying, loading / unloading to a storage location, storage, consumption ### Market - buys grain from elevators - sells grain to factories ## Project The project reflects the planned sequence of operations on agricultural crops, the types of operations are described below. ### HARVEST Crop harvesting: - between production facilities (Field and Elevator or Field) - the operation takes place within one day - on the Field there is a determination of grain moisture | | Object (target_key) | Subobject (target_detail_key) | |-------------|---------------------|-------------------------------| | Source | Field | - | | Destination | Elevator or Factory | Gate | ### DRY Drying culture: - inside the production facility (Elevator or Field) - duration of the operation - days - during the drying process, the mass and type of humidity changes (WET -> DRY) - the source indicates the mass of raw culture - in the appointment, the resulting mass of dry culture is indicated | | Object (target_key) | Subobject (target_detail_key) | |-------------|---------------------|-------------------------------| | Source | Elevator or Factory | Gate | | Destination | Elevator or Factory | Dryer | ### LOAD Loading culture from the Gate to the Storage Location (long-term, short-term, silo): - between parts of one production facility (Elevator or Field) - the operation takes place within one day | | Object (target_key) | Subobject (target_detail_key) | |-------------|---------------------|--------------------------------------------------| | Source | Elevator or Factory | Gate or Dryer | | Destination | Elevator or Factory | Storage location (long-term, short-term, bunker) | ### UNLOAD Unloading the culture from the storage place to the gate: - between parts of one production facility (Elevator) - the operation takes place within one day | | Object (target_key) | Subobject (target_detail_key) | |-------------|---------------------|--------------------------------------------------| | Source | Elevator | Storage location (long-term, short-term, bunker) | | Destination | Elevator | Gate | ### STORE Culture storage: - the operation takes place within one day - storage location does not change | | Object (target_key) | Subobject (target_detail_key) | |-------------|---------------------|--------------------------------------------------| | Source | Elevator or Factory | Storage location (long-term, short-term, bunker) | | Destination | Elevator or Factory | The same storage location | ### RELOCATE Transportation between production facilities: - between production facilities (Elevator and Field) - the operation takes place within one day | | Object (target_key) | Subobject (target_detail_key) | |-------------|---------------------|-------------------------------| | Source | Elevator | Gate | | Destination | Factory | Gate | ### CONSUMPTION Field crop consumption: - between parts of one production facility (Field) - the operation takes place within one day - consumption comes from the Bunker - in addition, we can consume directly from the Gate or Dryer without laying in the Bunker | | Object (target_key) | Subobject (target_detail_key) | |-------------|---------------------|-------------------------------| | Source | Factory | Hopper or Gate or Dryer | | Destination | Factory | Consumer | ### SELL Sale of culture: - between production facilities (Elevator and Market) - the operation takes place within one day | | Object (target_key) | Subobject (target_detail_key) | |-------------|---------------------|-------------------------------| | Source | Elevator | Gate | | Destination | Market | Contract | ### BUY Buying culture: - between production facilities (Market and Factory) - the operation takes place within one day | | Object (target_key) | Subobject (target_detail_key) | |-------------|---------------------|-------------------------------| | Source | Market | Contract | | Destination | Factory | Gate | ## Entity relationship diagram ![erd](../uml/agro.svg)
4
4
 
5
- The version of the OpenAPI document: 7.29.3120
5
+ The version of the OpenAPI document: 7.31.3182
6
6
 
7
7
  ## Building
8
8
 
@@ -24,7 +24,7 @@ Navigate to the folder of your consuming project and run one of next commands.
24
24
  _published:_
25
25
 
26
26
  ```console
27
- npm install @veeroute/lss-agro-angular@7.29.3120 --save
27
+ npm install @veeroute/lss-agro-angular@7.31.3182 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -1,13 +1,13 @@
1
1
  import { HttpClient, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
+ import { AgroPlanResultAgro } from '../model/agroPlanResult';
4
+ import { AgroPlanTaskAgro } from '../model/agroPlanTask';
5
+ import { AgroValidateResultAgro } from '../model/agroValidateResult';
3
6
  import { CalculationAsyncResultAgro } from '../model/calculationAsyncResult';
4
7
  import { CalculationStateAgro } from '../model/calculationState';
5
- import { PlanResultAgro } from '../model/planResult';
6
- import { PlanTaskAgro } from '../model/planTask';
7
- import { ValidateResultAgro } from '../model/validateResult';
8
8
  import { Configuration } from '../configuration';
9
9
  import { BaseService } from '../api.base.service';
10
- import { PlanServiceInterface, CancelPlanCalculationRequestParams, DeletePlanResultRequestParams, ReadPlanResultRequestParams, ReadPlanStateRequestParams, RunPlanCalculationRequestParams, RunPlanCalculationAsyncRequestParams, RunPlanClipRequestParams, RunPlanValidationRequestParams } from './planServiceInterface';
10
+ import { PlanServiceInterface, CancelPlanCalculationRequestParams, DeletePlanResultRequestParams, ReadAlgoDataRequestParams, ReadPlanResultRequestParams, ReadPlanStateRequestParams, RunPlanCalculationRequestParams, RunPlanCalculationAsyncRequestParams, RunPlanClipRequestParams, RunPlanValidationRequestParams } from './planServiceInterface';
11
11
  import * as i0 from "@angular/core";
12
12
  export declare class PlanService extends BaseService implements PlanServiceInterface {
13
13
  protected httpClient: HttpClient;
@@ -56,6 +56,28 @@ export declare class PlanService extends BaseService implements PlanServiceInter
56
56
  context?: HttpContext;
57
57
  transferCache?: boolean;
58
58
  }): Observable<HttpEvent<any>>;
59
+ /**
60
+ * Algo data
61
+ * Receiving algo data by &#x60;tracedata.process_code&#x60;.
62
+ * @param requestParameters
63
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
64
+ * @param reportProgress flag to report request and response progress.
65
+ */
66
+ readAlgoData(requestParameters: ReadAlgoDataRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
67
+ httpHeaderAccept?: 'application/octet-stream' | 'application/json';
68
+ context?: HttpContext;
69
+ transferCache?: boolean;
70
+ }): Observable<string>;
71
+ readAlgoData(requestParameters: ReadAlgoDataRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
72
+ httpHeaderAccept?: 'application/octet-stream' | 'application/json';
73
+ context?: HttpContext;
74
+ transferCache?: boolean;
75
+ }): Observable<HttpResponse<string>>;
76
+ readAlgoData(requestParameters: ReadAlgoDataRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
77
+ httpHeaderAccept?: 'application/octet-stream' | 'application/json';
78
+ context?: HttpContext;
79
+ transferCache?: boolean;
80
+ }): Observable<HttpEvent<string>>;
59
81
  /**
60
82
  * Getting the result
61
83
  * Getting the result based on the calculation identifier.
@@ -67,17 +89,17 @@ export declare class PlanService extends BaseService implements PlanServiceInter
67
89
  httpHeaderAccept?: 'application/json';
68
90
  context?: HttpContext;
69
91
  transferCache?: boolean;
70
- }): Observable<PlanResultAgro>;
92
+ }): Observable<AgroPlanResultAgro>;
71
93
  readPlanResult(requestParameters: ReadPlanResultRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
72
94
  httpHeaderAccept?: 'application/json';
73
95
  context?: HttpContext;
74
96
  transferCache?: boolean;
75
- }): Observable<HttpResponse<PlanResultAgro>>;
97
+ }): Observable<HttpResponse<AgroPlanResultAgro>>;
76
98
  readPlanResult(requestParameters: ReadPlanResultRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
77
99
  httpHeaderAccept?: 'application/json';
78
100
  context?: HttpContext;
79
101
  transferCache?: boolean;
80
- }): Observable<HttpEvent<PlanResultAgro>>;
102
+ }): Observable<HttpEvent<AgroPlanResultAgro>>;
81
103
  /**
82
104
  * Calculation state
83
105
  * Read calculation state by the calculation identifier.
@@ -111,17 +133,17 @@ export declare class PlanService extends BaseService implements PlanServiceInter
111
133
  httpHeaderAccept?: 'application/json';
112
134
  context?: HttpContext;
113
135
  transferCache?: boolean;
114
- }): Observable<PlanResultAgro>;
136
+ }): Observable<AgroPlanResultAgro>;
115
137
  runPlanCalculation(requestParameters: RunPlanCalculationRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
116
138
  httpHeaderAccept?: 'application/json';
117
139
  context?: HttpContext;
118
140
  transferCache?: boolean;
119
- }): Observable<HttpResponse<PlanResultAgro>>;
141
+ }): Observable<HttpResponse<AgroPlanResultAgro>>;
120
142
  runPlanCalculation(requestParameters: RunPlanCalculationRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
121
143
  httpHeaderAccept?: 'application/json';
122
144
  context?: HttpContext;
123
145
  transferCache?: boolean;
124
- }): Observable<HttpEvent<PlanResultAgro>>;
146
+ }): Observable<HttpEvent<AgroPlanResultAgro>>;
125
147
  /**
126
148
  * Planning (ASYNC)
127
149
  * The result can be obtained using the [result](#operation/read_plan_result) method, removing - with [delete](#operation/delete_plan_result).
@@ -155,17 +177,17 @@ export declare class PlanService extends BaseService implements PlanServiceInter
155
177
  httpHeaderAccept?: 'application/json';
156
178
  context?: HttpContext;
157
179
  transferCache?: boolean;
158
- }): Observable<PlanTaskAgro>;
180
+ }): Observable<AgroPlanTaskAgro>;
159
181
  runPlanClip(requestParameters: RunPlanClipRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
160
182
  httpHeaderAccept?: 'application/json';
161
183
  context?: HttpContext;
162
184
  transferCache?: boolean;
163
- }): Observable<HttpResponse<PlanTaskAgro>>;
185
+ }): Observable<HttpResponse<AgroPlanTaskAgro>>;
164
186
  runPlanClip(requestParameters: RunPlanClipRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
165
187
  httpHeaderAccept?: 'application/json';
166
188
  context?: HttpContext;
167
189
  transferCache?: boolean;
168
- }): Observable<HttpEvent<PlanTaskAgro>>;
190
+ }): Observable<HttpEvent<AgroPlanTaskAgro>>;
169
191
  /**
170
192
  * Data validation
171
193
  * Checking data before planning.
@@ -177,17 +199,17 @@ export declare class PlanService extends BaseService implements PlanServiceInter
177
199
  httpHeaderAccept?: 'application/json';
178
200
  context?: HttpContext;
179
201
  transferCache?: boolean;
180
- }): Observable<ValidateResultAgro>;
202
+ }): Observable<AgroValidateResultAgro>;
181
203
  runPlanValidation(requestParameters: RunPlanValidationRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
182
204
  httpHeaderAccept?: 'application/json';
183
205
  context?: HttpContext;
184
206
  transferCache?: boolean;
185
- }): Observable<HttpResponse<ValidateResultAgro>>;
207
+ }): Observable<HttpResponse<AgroValidateResultAgro>>;
186
208
  runPlanValidation(requestParameters: RunPlanValidationRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
187
209
  httpHeaderAccept?: 'application/json';
188
210
  context?: HttpContext;
189
211
  transferCache?: boolean;
190
- }): Observable<HttpEvent<ValidateResultAgro>>;
212
+ }): Observable<HttpEvent<AgroValidateResultAgro>>;
191
213
  static ɵfac: i0.ɵɵFactoryDeclaration<PlanService, [null, { optional: true; }, { optional: true; }]>;
192
214
  static ɵprov: i0.ɵɵInjectableDeclaration<PlanService>;
193
215
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRt.Agro [AG]
3
3
  *
4
- * The version of the OpenAPI document: 7.29.3120
4
+ * The version of the OpenAPI document: 7.31.3182
5
5
  * Contact: servicedesk@veeroute.com
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator.
@@ -9,11 +9,12 @@
9
9
  */
10
10
  import { HttpHeaders } from '@angular/common/http';
11
11
  import { Observable } from 'rxjs';
12
+ import { AgroPlanResultAgro } from '../model/models';
13
+ import { AgroPlanTaskAgro } from '../model/models';
14
+ import { AgroValidateResultAgro } from '../model/models';
12
15
  import { CalculationAsyncResultAgro } from '../model/models';
13
16
  import { CalculationStateAgro } from '../model/models';
14
- import { PlanResultAgro } from '../model/models';
15
- import { PlanTaskAgro } from '../model/models';
16
- import { ValidateResultAgro } from '../model/models';
17
+ import { FlowTypeAgro } from '../model/models';
17
18
  import { Configuration } from '../configuration';
18
19
  export interface CancelPlanCalculationRequestParams {
19
20
  processCode: string;
@@ -21,6 +22,10 @@ export interface CancelPlanCalculationRequestParams {
21
22
  export interface DeletePlanResultRequestParams {
22
23
  processCode: string;
23
24
  }
25
+ export interface ReadAlgoDataRequestParams {
26
+ processCode: string;
27
+ dataFlowType?: FlowTypeAgro;
28
+ }
24
29
  export interface ReadPlanResultRequestParams {
25
30
  processCode: string;
26
31
  }
@@ -28,18 +33,18 @@ export interface ReadPlanStateRequestParams {
28
33
  processCode: string;
29
34
  }
30
35
  export interface RunPlanCalculationRequestParams {
31
- planTaskAgro: PlanTaskAgro;
36
+ agroPlanTaskAgro: AgroPlanTaskAgro;
32
37
  }
33
38
  export interface RunPlanCalculationAsyncRequestParams {
34
- planTaskAgro: PlanTaskAgro;
39
+ agroPlanTaskAgro: AgroPlanTaskAgro;
35
40
  }
36
41
  export interface RunPlanClipRequestParams {
37
42
  clipKey: string;
38
- planTaskAgro: PlanTaskAgro;
43
+ agroPlanTaskAgro: AgroPlanTaskAgro;
39
44
  clipStrategy?: string;
40
45
  }
41
46
  export interface RunPlanValidationRequestParams {
42
- planTaskAgro: PlanTaskAgro;
47
+ agroPlanTaskAgro: AgroPlanTaskAgro;
43
48
  }
44
49
  export interface PlanServiceInterface {
45
50
  defaultHeaders: HttpHeaders;
@@ -56,12 +61,18 @@ export interface PlanServiceInterface {
56
61
  * @param requestParameters
57
62
  */
58
63
  deletePlanResult(requestParameters: DeletePlanResultRequestParams, extraHttpRequestParams?: any): Observable<{}>;
64
+ /**
65
+ * Algo data
66
+ * Receiving algo data by &#x60;tracedata.process_code&#x60;.
67
+ * @param requestParameters
68
+ */
69
+ readAlgoData(requestParameters: ReadAlgoDataRequestParams, extraHttpRequestParams?: any): Observable<string>;
59
70
  /**
60
71
  * Getting the result
61
72
  * Getting the result based on the calculation identifier.
62
73
  * @param requestParameters
63
74
  */
64
- readPlanResult(requestParameters: ReadPlanResultRequestParams, extraHttpRequestParams?: any): Observable<PlanResultAgro>;
75
+ readPlanResult(requestParameters: ReadPlanResultRequestParams, extraHttpRequestParams?: any): Observable<AgroPlanResultAgro>;
65
76
  /**
66
77
  * Calculation state
67
78
  * Read calculation state by the calculation identifier.
@@ -73,7 +84,7 @@ export interface PlanServiceInterface {
73
84
  * Production plan calculation.
74
85
  * @param requestParameters
75
86
  */
76
- runPlanCalculation(requestParameters: RunPlanCalculationRequestParams, extraHttpRequestParams?: any): Observable<PlanResultAgro>;
87
+ runPlanCalculation(requestParameters: RunPlanCalculationRequestParams, extraHttpRequestParams?: any): Observable<AgroPlanResultAgro>;
77
88
  /**
78
89
  * Planning (ASYNC)
79
90
  * The result can be obtained using the [result](#operation/read_plan_result) method, removing - with [delete](#operation/delete_plan_result).
@@ -85,11 +96,11 @@ export interface PlanServiceInterface {
85
96
  * Data clipping.
86
97
  * @param requestParameters
87
98
  */
88
- runPlanClip(requestParameters: RunPlanClipRequestParams, extraHttpRequestParams?: any): Observable<PlanTaskAgro>;
99
+ runPlanClip(requestParameters: RunPlanClipRequestParams, extraHttpRequestParams?: any): Observable<AgroPlanTaskAgro>;
89
100
  /**
90
101
  * Data validation
91
102
  * Checking data before planning.
92
103
  * @param requestParameters
93
104
  */
94
- runPlanValidation(requestParameters: RunPlanValidationRequestParams, extraHttpRequestParams?: any): Observable<ValidateResultAgro>;
105
+ runPlanValidation(requestParameters: RunPlanValidationRequestParams, extraHttpRequestParams?: any): Observable<AgroValidateResultAgro>;
95
106
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRt.Agro [AG]
3
3
  *
4
- * The version of the OpenAPI document: 7.29.3120
4
+ * The version of the OpenAPI document: 7.31.3182
5
5
  * Contact: servicedesk@veeroute.com
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRt.Agro [AG]
3
3
  *
4
- * The version of the OpenAPI document: 7.29.3120
4
+ * The version of the OpenAPI document: 7.31.3182
5
5
  * Contact: servicedesk@veeroute.com
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator.
@@ -48,6 +48,12 @@
48
48
  "operation_id": "run_plan_clip",
49
49
  "type": "TRACE"
50
50
  },
51
+ {
52
+ "method": "GET",
53
+ "uri": "/agro/plan/data/{process_code}",
54
+ "operation_id": "read_algo_data",
55
+ "type": "NOTRACE"
56
+ },
51
57
  {
52
58
  "method": "GET",
53
59
  "uri": "/agro/system/check",