@indigina/dcm-api 0.0.65 → 0.0.67

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 (136) hide show
  1. package/README.md +75 -126
  2. package/fesm2022/indigina-dcm-api.mjs +775 -2215
  3. package/fesm2022/indigina-dcm-api.mjs.map +1 -1
  4. package/index.d.ts +3846 -6
  5. package/package.json +2 -2
  6. package/api/api.d.ts +0 -31
  7. package/api/auditLogs.service.d.ts +0 -45
  8. package/api/bookings.service.d.ts +0 -37
  9. package/api/companies.service.d.ts +0 -42
  10. package/api/containers.service.d.ts +0 -314
  11. package/api/documents.service.d.ts +0 -45
  12. package/api/health.service.d.ts +0 -36
  13. package/api/notes.service.d.ts +0 -67
  14. package/api/permissions.service.d.ts +0 -37
  15. package/api/poItems.service.d.ts +0 -38
  16. package/api/purchaseOrders.service.d.ts +0 -138
  17. package/api/reports.service.d.ts +0 -58
  18. package/api/settings.service.d.ts +0 -147
  19. package/api/shipments.service.d.ts +0 -384
  20. package/api/sipmetItems.service.d.ts +0 -43
  21. package/api/user.service.d.ts +0 -122
  22. package/api.module.d.ts +0 -11
  23. package/configuration.d.ts +0 -104
  24. package/encoder.d.ts +0 -11
  25. package/model/approvalContainerInfo.d.ts +0 -13
  26. package/model/approvalContainerRules.d.ts +0 -13
  27. package/model/approvalItemRules.d.ts +0 -15
  28. package/model/approvalRules.d.ts +0 -16
  29. package/model/approvalShipmentTimelineItem.d.ts +0 -23
  30. package/model/approvalTypes.d.ts +0 -16
  31. package/model/auditLog.d.ts +0 -24
  32. package/model/auditLogs.d.ts +0 -14
  33. package/model/bookingsCount.d.ts +0 -12
  34. package/model/column.d.ts +0 -14
  35. package/model/commandStatusResult.d.ts +0 -12
  36. package/model/companies.d.ts +0 -14
  37. package/model/company.d.ts +0 -14
  38. package/model/consignee.d.ts +0 -13
  39. package/model/containerBookedState.d.ts +0 -18
  40. package/model/containerGridView.d.ts +0 -41
  41. package/model/containerItemView.d.ts +0 -25
  42. package/model/containerItems.d.ts +0 -14
  43. package/model/containerPoGridView.d.ts +0 -27
  44. package/model/containerPos.d.ts +0 -14
  45. package/model/containerShipmentView.d.ts +0 -38
  46. package/model/containerSize.d.ts +0 -40
  47. package/model/containerType.d.ts +0 -15
  48. package/model/containerView.d.ts +0 -37
  49. package/model/containers.d.ts +0 -14
  50. package/model/containersCount.d.ts +0 -12
  51. package/model/containersToDeliverCount.d.ts +0 -14
  52. package/model/country.d.ts +0 -13
  53. package/model/currentUser.d.ts +0 -22
  54. package/model/dashboardReportGroup.d.ts +0 -19
  55. package/model/dashboardReports.d.ts +0 -13
  56. package/model/dc.d.ts +0 -16
  57. package/model/deliveryShipmentTimelineItem.d.ts +0 -20
  58. package/model/departmentShipment.d.ts +0 -14
  59. package/model/document.d.ts +0 -20
  60. package/model/documentType.d.ts +0 -25
  61. package/model/documents.d.ts +0 -14
  62. package/model/embedReport.d.ts +0 -18
  63. package/model/embedReportInfoModel.d.ts +0 -28
  64. package/model/embedTokenDto.d.ts +0 -13
  65. package/model/entityList.d.ts +0 -13
  66. package/model/entityState.d.ts +0 -17
  67. package/model/failures.d.ts +0 -16
  68. package/model/journeySegmentType.d.ts +0 -14
  69. package/model/modelError.d.ts +0 -15
  70. package/model/models.d.ts +0 -109
  71. package/model/note.d.ts +0 -14
  72. package/model/noteSourceTypes.d.ts +0 -13
  73. package/model/noteView.d.ts +0 -16
  74. package/model/notes.d.ts +0 -14
  75. package/model/paymentTerm.d.ts +0 -13
  76. package/model/pendingMessagesCount.d.ts +0 -12
  77. package/model/poItemState.d.ts +0 -16
  78. package/model/poItemSummary.d.ts +0 -20
  79. package/model/poItemTotals.d.ts +0 -13
  80. package/model/port.d.ts +0 -16
  81. package/model/powerBiTenant.d.ts +0 -14
  82. package/model/purchaseOrderGridView.d.ts +0 -45
  83. package/model/purchaseOrderItem.d.ts +0 -45
  84. package/model/purchaseOrderItems.d.ts +0 -14
  85. package/model/purchaseOrderState.d.ts +0 -19
  86. package/model/purchaseOrderSummary.d.ts +0 -44
  87. package/model/purchaseOrderView.d.ts +0 -39
  88. package/model/purchaseOrders.d.ts +0 -14
  89. package/model/recordTypes.d.ts +0 -14
  90. package/model/routingLegType.d.ts +0 -20
  91. package/model/setNewFeaturesVisibilityCommand.d.ts +0 -12
  92. package/model/settingValue.d.ts +0 -13
  93. package/model/settingView.d.ts +0 -14
  94. package/model/shipment.d.ts +0 -64
  95. package/model/shipmentAirRouting.d.ts +0 -34
  96. package/model/shipmentApproval.d.ts +0 -63
  97. package/model/shipmentApprovalType.d.ts +0 -14
  98. package/model/shipmentApprovals.d.ts +0 -14
  99. package/model/shipmentContainer.d.ts +0 -30
  100. package/model/shipmentContainers.d.ts +0 -14
  101. package/model/shipmentItem.d.ts +0 -22
  102. package/model/shipmentItemSummaries.d.ts +0 -14
  103. package/model/shipmentItemSummary.d.ts +0 -24
  104. package/model/shipmentItems.d.ts +0 -14
  105. package/model/shipmentProduct.d.ts +0 -39
  106. package/model/shipmentProductTotals.d.ts +0 -16
  107. package/model/shipmentProducts.d.ts +0 -14
  108. package/model/shipmentRoadRouting.d.ts +0 -33
  109. package/model/shipmentRouting.d.ts +0 -32
  110. package/model/shipmentRoutingsInner.d.ts +0 -9
  111. package/model/shipmentSeaRouting.d.ts +0 -33
  112. package/model/shipmentState.d.ts +0 -21
  113. package/model/shipmentSummary.d.ts +0 -42
  114. package/model/shipmentTerm.d.ts +0 -26
  115. package/model/shipmentTimelineInner.d.ts +0 -9
  116. package/model/shipmentTimelineItem.d.ts +0 -18
  117. package/model/shipments.d.ts +0 -14
  118. package/model/shipmentsApprovalCount.d.ts +0 -13
  119. package/model/shipmentsCount.d.ts +0 -12
  120. package/model/shipmentsInTransitCount.d.ts +0 -12
  121. package/model/summaryDashboardReports.d.ts +0 -15
  122. package/model/supplier.d.ts +0 -13
  123. package/model/timelineEventStates.d.ts +0 -16
  124. package/model/timelineEventTypes.d.ts +0 -21
  125. package/model/transportCarrier.d.ts +0 -13
  126. package/model/transportLocation.d.ts +0 -13
  127. package/model/transportMode.d.ts +0 -16
  128. package/model/transportationShipmentTimelineItem.d.ts +0 -27
  129. package/model/user.d.ts +0 -13
  130. package/model/userApplication.d.ts +0 -13
  131. package/model/userApplications.d.ts +0 -13
  132. package/model/userCompanyType.d.ts +0 -22
  133. package/model/userPermissions.d.ts +0 -12
  134. package/model/workflowArtifacts.d.ts +0 -18
  135. package/param.d.ts +0 -37
  136. package/variables.d.ts +0 -8
package/index.d.ts CHANGED
@@ -1,6 +1,3846 @@
1
- export * from './api/api';
2
- export * from './model/models';
3
- export * from './variables';
4
- export * from './configuration';
5
- export * from './api.module';
6
- export * from './param';
1
+ import { HttpParameterCodec, HttpHeaders, HttpParams, HttpClient, HttpContext, HttpResponse, HttpEvent } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from '@angular/core';
4
+ import { InjectionToken, ModuleWithProviders, EnvironmentProviders } from '@angular/core';
5
+
6
+ /**
7
+ * Dcm.API.Client
8
+ *
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ declare const EntityState: {
16
+ readonly Detached: "Detached";
17
+ readonly Unchanged: "Unchanged";
18
+ readonly Added: "Added";
19
+ readonly Deleted: "Deleted";
20
+ readonly Modified: "Modified";
21
+ };
22
+ type EntityState = typeof EntityState[keyof typeof EntityState];
23
+
24
+ /**
25
+ * Dcm.API.Client
26
+ *
27
+ *
28
+ *
29
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
30
+ * https://openapi-generator.tech
31
+ * Do not edit the class manually.
32
+ */
33
+
34
+ interface AuditLog {
35
+ id: string;
36
+ auditSetLogId: string;
37
+ userId: string;
38
+ columnName: string;
39
+ eventDateUtc: string;
40
+ eventType: EntityState;
41
+ originalValue: string | null;
42
+ newValue: string | null;
43
+ tableName: string;
44
+ userName: string;
45
+ }
46
+ declare namespace AuditLog {
47
+ }
48
+
49
+ /**
50
+ * Dcm.API.Client
51
+ *
52
+ *
53
+ *
54
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
55
+ * https://openapi-generator.tech
56
+ * Do not edit the class manually.
57
+ */
58
+
59
+ interface AuditLogs {
60
+ total: number;
61
+ data: Array<AuditLog>;
62
+ }
63
+
64
+ /**
65
+ * Dcm.API.Client
66
+ *
67
+ *
68
+ *
69
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
70
+ * https://openapi-generator.tech
71
+ * Do not edit the class manually.
72
+ */
73
+ declare const RecordTypes: {
74
+ readonly Shipment: "Shipment";
75
+ readonly PurchaseOrder: "PurchaseOrder";
76
+ };
77
+ type RecordTypes = typeof RecordTypes[keyof typeof RecordTypes];
78
+
79
+ /**
80
+ * Standard parameter styles defined by OpenAPI spec
81
+ */
82
+ type StandardParamStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
83
+ /**
84
+ * The OpenAPI standard {@link StandardParamStyle}s may be extended by custom styles by the user.
85
+ */
86
+ type ParamStyle = StandardParamStyle | string;
87
+ /**
88
+ * Standard parameter locations defined by OpenAPI spec
89
+ */
90
+ type ParamLocation = 'query' | 'header' | 'path' | 'cookie';
91
+ /**
92
+ * Standard types as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
93
+ */
94
+ type StandardDataType = "integer" | "number" | "boolean" | "string" | "object" | "array";
95
+ /**
96
+ * Standard {@link DataType}s plus your own types/classes.
97
+ */
98
+ type DataType = StandardDataType | string;
99
+ /**
100
+ * Standard formats as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
101
+ */
102
+ type StandardDataFormat = "int32" | "int64" | "float" | "double" | "byte" | "binary" | "date" | "date-time" | "password";
103
+ type DataFormat = StandardDataFormat | string;
104
+ /**
105
+ * The parameter to encode.
106
+ */
107
+ interface Param {
108
+ name: string;
109
+ value: unknown;
110
+ in: ParamLocation;
111
+ style: ParamStyle;
112
+ explode: boolean;
113
+ dataType: DataType;
114
+ dataFormat: DataFormat | undefined;
115
+ }
116
+
117
+ interface ConfigurationParameters {
118
+ /**
119
+ * @deprecated Since 5.0. Use credentials instead
120
+ */
121
+ apiKeys?: {
122
+ [key: string]: string;
123
+ };
124
+ username?: string;
125
+ password?: string;
126
+ /**
127
+ * @deprecated Since 5.0. Use credentials instead
128
+ */
129
+ accessToken?: string | (() => string);
130
+ basePath?: string;
131
+ withCredentials?: boolean;
132
+ /**
133
+ * Takes care of encoding query- and form-parameters.
134
+ */
135
+ encoder?: HttpParameterCodec;
136
+ /**
137
+ * Override the default method for encoding path parameters in various
138
+ * <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
139
+ * <p>
140
+ * See {@link README.md} for more details
141
+ * </p>
142
+ */
143
+ encodeParam?: (param: Param) => string;
144
+ /**
145
+ * The keys are the names in the securitySchemes section of the OpenAPI
146
+ * document. They should map to the value used for authentication
147
+ * minus any standard prefixes such as 'Basic' or 'Bearer'.
148
+ */
149
+ credentials?: {
150
+ [key: string]: string | (() => string | undefined);
151
+ };
152
+ }
153
+ declare class Configuration {
154
+ /**
155
+ * @deprecated Since 5.0. Use credentials instead
156
+ */
157
+ apiKeys?: {
158
+ [key: string]: string;
159
+ };
160
+ username?: string;
161
+ password?: string;
162
+ /**
163
+ * @deprecated Since 5.0. Use credentials instead
164
+ */
165
+ accessToken?: string | (() => string);
166
+ basePath?: string;
167
+ withCredentials?: boolean;
168
+ /**
169
+ * Takes care of encoding query- and form-parameters.
170
+ */
171
+ encoder?: HttpParameterCodec;
172
+ /**
173
+ * Encoding of various path parameter
174
+ * <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
175
+ * <p>
176
+ * See {@link README.md} for more details
177
+ * </p>
178
+ */
179
+ encodeParam: (param: Param) => string;
180
+ /**
181
+ * The keys are the names in the securitySchemes section of the OpenAPI
182
+ * document. They should map to the value used for authentication
183
+ * minus any standard prefixes such as 'Basic' or 'Bearer'.
184
+ */
185
+ credentials: {
186
+ [key: string]: string | (() => string | undefined);
187
+ };
188
+ constructor({ accessToken, apiKeys, basePath, credentials, encodeParam, encoder, password, username, withCredentials }?: ConfigurationParameters);
189
+ /**
190
+ * Select the correct content-type to use for a request.
191
+ * Uses {@link Configuration#isJsonMime} to determine the correct content-type.
192
+ * If no content type is found return the first found type if the contentTypes is not empty
193
+ * @param contentTypes - the array of content types that are available for selection
194
+ * @returns the selected content-type or <code>undefined</code> if no selection could be made.
195
+ */
196
+ selectHeaderContentType(contentTypes: string[]): string | undefined;
197
+ /**
198
+ * Select the correct accept content-type to use for a request.
199
+ * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
200
+ * If no content type is found return the first found type if the contentTypes is not empty
201
+ * @param accepts - the array of content types that are available for selection.
202
+ * @returns the selected content-type or <code>undefined</code> if no selection could be made.
203
+ */
204
+ selectHeaderAccept(accepts: string[]): string | undefined;
205
+ /**
206
+ * Check if the given MIME is a JSON MIME.
207
+ * JSON MIME examples:
208
+ * application/json
209
+ * application/json; charset=UTF8
210
+ * APPLICATION/JSON
211
+ * application/vnd.company+json
212
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
213
+ * @return True if the given MIME is JSON, false otherwise.
214
+ */
215
+ isJsonMime(mime: string): boolean;
216
+ lookupCredential(key: string): string | undefined;
217
+ addCredentialToHeaders(credentialKey: string, headerName: string, headers: HttpHeaders, prefix?: string): HttpHeaders;
218
+ addCredentialToQuery(credentialKey: string, paramName: string, query: HttpParams): HttpParams;
219
+ private defaultEncodeParam;
220
+ }
221
+
222
+ /**
223
+ * Dcm.API.Client
224
+ *
225
+ *
226
+ *
227
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
228
+ * https://openapi-generator.tech
229
+ * Do not edit the class manually.
230
+ */
231
+
232
+ declare class BaseService {
233
+ protected basePath: string;
234
+ defaultHeaders: HttpHeaders;
235
+ configuration: Configuration;
236
+ encoder: HttpParameterCodec;
237
+ constructor(basePath?: string | string[], configuration?: Configuration);
238
+ protected canConsumeForm(consumes: string[]): boolean;
239
+ protected addToHttpParams(httpParams: HttpParams, value: any, key?: string, isDeep?: boolean): HttpParams;
240
+ protected addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string, isDeep?: boolean): HttpParams;
241
+ }
242
+
243
+ declare class AuditLogsService extends BaseService {
244
+ protected httpClient: HttpClient;
245
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
246
+ /**
247
+ * Getting a shipment logs
248
+ * @param recordId
249
+ * @param recordType
250
+ * @param $skip
251
+ * @param $top
252
+ * @param $orderby
253
+ * @param $filter
254
+ * @param $search
255
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
256
+ * @param reportProgress flag to report request and response progress.
257
+ */
258
+ getShipmentLogs(recordId: string, recordType: RecordTypes, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
259
+ httpHeaderAccept?: 'application/json';
260
+ context?: HttpContext;
261
+ transferCache?: boolean;
262
+ }): Observable<AuditLogs>;
263
+ getShipmentLogs(recordId: string, recordType: RecordTypes, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
264
+ httpHeaderAccept?: 'application/json';
265
+ context?: HttpContext;
266
+ transferCache?: boolean;
267
+ }): Observable<HttpResponse<AuditLogs>>;
268
+ getShipmentLogs(recordId: string, recordType: RecordTypes, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
269
+ httpHeaderAccept?: 'application/json';
270
+ context?: HttpContext;
271
+ transferCache?: boolean;
272
+ }): Observable<HttpEvent<AuditLogs>>;
273
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuditLogsService, [null, { optional: true; }, { optional: true; }]>;
274
+ static ɵprov: i0.ɵɵInjectableDeclaration<AuditLogsService>;
275
+ }
276
+
277
+ /**
278
+ * Dcm.API.Client
279
+ *
280
+ *
281
+ *
282
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
283
+ * https://openapi-generator.tech
284
+ * Do not edit the class manually.
285
+ */
286
+ interface BookingsCount {
287
+ bookingsCount: number;
288
+ }
289
+
290
+ declare class BookingsService extends BaseService {
291
+ protected httpClient: HttpClient;
292
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
293
+ /**
294
+ * Get vendor draft bookings count
295
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
296
+ * @param reportProgress flag to report request and response progress.
297
+ */
298
+ getVendorDraftBookingsCount(observe?: 'body', reportProgress?: boolean, options?: {
299
+ httpHeaderAccept?: 'application/json';
300
+ context?: HttpContext;
301
+ transferCache?: boolean;
302
+ }): Observable<BookingsCount>;
303
+ getVendorDraftBookingsCount(observe?: 'response', reportProgress?: boolean, options?: {
304
+ httpHeaderAccept?: 'application/json';
305
+ context?: HttpContext;
306
+ transferCache?: boolean;
307
+ }): Observable<HttpResponse<BookingsCount>>;
308
+ getVendorDraftBookingsCount(observe?: 'events', reportProgress?: boolean, options?: {
309
+ httpHeaderAccept?: 'application/json';
310
+ context?: HttpContext;
311
+ transferCache?: boolean;
312
+ }): Observable<HttpEvent<BookingsCount>>;
313
+ static ɵfac: i0.ɵɵFactoryDeclaration<BookingsService, [null, { optional: true; }, { optional: true; }]>;
314
+ static ɵprov: i0.ɵɵInjectableDeclaration<BookingsService>;
315
+ }
316
+
317
+ /**
318
+ * Dcm.API.Client
319
+ *
320
+ *
321
+ *
322
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
323
+ * https://openapi-generator.tech
324
+ * Do not edit the class manually.
325
+ */
326
+ interface Company {
327
+ id: string;
328
+ companyDescription: string | null;
329
+ companyCode: string;
330
+ }
331
+
332
+ /**
333
+ * Dcm.API.Client
334
+ *
335
+ *
336
+ *
337
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
338
+ * https://openapi-generator.tech
339
+ * Do not edit the class manually.
340
+ */
341
+
342
+ interface Companies {
343
+ total: number;
344
+ data: Array<Company>;
345
+ }
346
+
347
+ declare class CompaniesService extends BaseService {
348
+ protected httpClient: HttpClient;
349
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
350
+ /**
351
+ * Getting user companies
352
+ * @param $skip
353
+ * @param $top
354
+ * @param $orderby
355
+ * @param $filter
356
+ * @param $search
357
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
358
+ * @param reportProgress flag to report request and response progress.
359
+ */
360
+ getUserCompanies($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
361
+ httpHeaderAccept?: 'application/json';
362
+ context?: HttpContext;
363
+ transferCache?: boolean;
364
+ }): Observable<Companies>;
365
+ getUserCompanies($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
366
+ httpHeaderAccept?: 'application/json';
367
+ context?: HttpContext;
368
+ transferCache?: boolean;
369
+ }): Observable<HttpResponse<Companies>>;
370
+ getUserCompanies($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
371
+ httpHeaderAccept?: 'application/json';
372
+ context?: HttpContext;
373
+ transferCache?: boolean;
374
+ }): Observable<HttpEvent<Companies>>;
375
+ static ɵfac: i0.ɵɵFactoryDeclaration<CompaniesService, [null, { optional: true; }, { optional: true; }]>;
376
+ static ɵprov: i0.ɵɵInjectableDeclaration<CompaniesService>;
377
+ }
378
+
379
+ /**
380
+ * Dcm.API.Client
381
+ *
382
+ *
383
+ *
384
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
385
+ * https://openapi-generator.tech
386
+ * Do not edit the class manually.
387
+ */
388
+ interface ContainerItemView {
389
+ containerId: string;
390
+ poNumber: string;
391
+ productCode: string;
392
+ lineNo: number | null;
393
+ productDescription?: string;
394
+ colour: string;
395
+ size: string;
396
+ supplierName: string;
397
+ department: string;
398
+ destinationDc: string;
399
+ poQty: number;
400
+ shippedQuantity: number | null;
401
+ exDate: string | null;
402
+ deliveryDate: string | null;
403
+ }
404
+
405
+ /**
406
+ * Dcm.API.Client
407
+ *
408
+ *
409
+ *
410
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
411
+ * https://openapi-generator.tech
412
+ * Do not edit the class manually.
413
+ */
414
+
415
+ interface ContainerItems {
416
+ total: number;
417
+ data: Array<ContainerItemView>;
418
+ }
419
+
420
+ /**
421
+ * Dcm.API.Client
422
+ *
423
+ *
424
+ *
425
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
426
+ * https://openapi-generator.tech
427
+ * Do not edit the class manually.
428
+ */
429
+ interface Country {
430
+ id: string;
431
+ countryName: string;
432
+ }
433
+
434
+ /**
435
+ * Dcm.API.Client
436
+ *
437
+ *
438
+ *
439
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
440
+ * https://openapi-generator.tech
441
+ * Do not edit the class manually.
442
+ */
443
+ declare const ContainerBookedState: {
444
+ readonly ToBooked: "ToBooked";
445
+ readonly Booked: "Booked";
446
+ readonly Confirmed: "Confirmed";
447
+ readonly Delivered: "Delivered";
448
+ readonly ToReschedule: "ToReschedule";
449
+ readonly Amended: "Amended";
450
+ };
451
+ type ContainerBookedState = typeof ContainerBookedState[keyof typeof ContainerBookedState];
452
+
453
+ /**
454
+ * Dcm.API.Client
455
+ *
456
+ *
457
+ *
458
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
459
+ * https://openapi-generator.tech
460
+ * Do not edit the class manually.
461
+ */
462
+ declare const ContainerType: {
463
+ readonly CfsCfs: "CfsCfs";
464
+ readonly CfsCy: "CfsCy";
465
+ readonly CyCy: "CyCy";
466
+ };
467
+ type ContainerType = typeof ContainerType[keyof typeof ContainerType];
468
+
469
+ /**
470
+ * Dcm.API.Client
471
+ *
472
+ *
473
+ *
474
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
475
+ * https://openapi-generator.tech
476
+ * Do not edit the class manually.
477
+ */
478
+ declare const ContainerSize: {
479
+ readonly Lcl: "Lcl";
480
+ readonly Twenty: "Twenty";
481
+ readonly Forty: "Forty";
482
+ readonly FortyHc: "FortyHc";
483
+ readonly FortyFive: "FortyFive";
484
+ readonly Ld2: "Ld2";
485
+ readonly Ld3: "Ld3";
486
+ readonly Ld4: "Ld4";
487
+ readonly Ld7: "Ld7";
488
+ readonly Ld8: "Ld8";
489
+ readonly Ld11: "Ld11";
490
+ readonly MainDeckPallet: "MainDeckPallet";
491
+ readonly P9ALowerDeckPallet: "P9ALowerDeckPallet";
492
+ readonly SharedUnknown: "SharedUnknown";
493
+ readonly BoxedTrailer: "BoxedTrailer";
494
+ readonly TiltTrailer: "TiltTrailer";
495
+ readonly RoadTrainBoxed: "RoadTrainBoxed";
496
+ readonly RoadTrainTilt: "RoadTrainTilt";
497
+ readonly StepFrameBoxed: "StepFrameBoxed";
498
+ readonly StepFrameTilt: "StepFrameTilt";
499
+ readonly Road1: "Road1";
500
+ readonly Road2: "Road2";
501
+ readonly TwentyNor: "TwentyNor";
502
+ readonly FortyNor: "FortyNor";
503
+ readonly FortyHcnor: "FortyHcnor";
504
+ readonly OtherAir: "OtherAir";
505
+ readonly OtherSea: "OtherSea";
506
+ readonly OtherRoad: "OtherRoad";
507
+ };
508
+ type ContainerSize = typeof ContainerSize[keyof typeof ContainerSize];
509
+
510
+ /**
511
+ * Dcm.API.Client
512
+ *
513
+ *
514
+ *
515
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
516
+ * https://openapi-generator.tech
517
+ * Do not edit the class manually.
518
+ */
519
+ declare const ShipmentState: {
520
+ readonly Draft: "Draft";
521
+ readonly RequestAuthorisation: "RequestAuthorisation";
522
+ readonly AuthorisedToShip: "AuthorisedToShip";
523
+ readonly Amend: "Amend";
524
+ readonly Confirmed: "Confirmed";
525
+ readonly Delivered: "Delivered";
526
+ readonly Arrived: "Arrived";
527
+ readonly CancellationRequested: "CancellationRequested";
528
+ readonly Cancelled: "Cancelled";
529
+ };
530
+ type ShipmentState = typeof ShipmentState[keyof typeof ShipmentState];
531
+
532
+ /**
533
+ * Dcm.API.Client
534
+ *
535
+ *
536
+ *
537
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
538
+ * https://openapi-generator.tech
539
+ * Do not edit the class manually.
540
+ */
541
+
542
+ interface Port {
543
+ id: string;
544
+ countryId: string;
545
+ country: Country;
546
+ name: string;
547
+ }
548
+
549
+ /**
550
+ * Dcm.API.Client
551
+ *
552
+ *
553
+ *
554
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
555
+ * https://openapi-generator.tech
556
+ * Do not edit the class manually.
557
+ */
558
+ declare const TransportMode: {
559
+ readonly Air: "Air";
560
+ readonly Sea: "Sea";
561
+ readonly Road: "Road";
562
+ readonly Rail: "Rail";
563
+ };
564
+ type TransportMode = typeof TransportMode[keyof typeof TransportMode];
565
+
566
+ /**
567
+ * Dcm.API.Client
568
+ *
569
+ *
570
+ *
571
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
572
+ * https://openapi-generator.tech
573
+ * Do not edit the class manually.
574
+ */
575
+
576
+ interface ContainerShipmentView {
577
+ type?: TransportMode | null;
578
+ houseBillRef?: string;
579
+ reference: string;
580
+ state?: ShipmentState | null;
581
+ agentRef?: string;
582
+ routingVehicleName?: string;
583
+ etd?: string | null;
584
+ hasShipped?: string | null;
585
+ eta?: string | null;
586
+ ata?: string | null;
587
+ etaPod?: string | null;
588
+ inlandEta?: string | null;
589
+ destinationPortId?: string | null;
590
+ destinationPort?: Port;
591
+ originPortId?: string | null;
592
+ originPort?: Port;
593
+ exportCountryId?: string | null;
594
+ exportCountry?: Country;
595
+ clientId?: string | null;
596
+ clientName?: string;
597
+ fndName?: string;
598
+ }
599
+ declare namespace ContainerShipmentView {
600
+ }
601
+
602
+ /**
603
+ * Dcm.API.Client
604
+ *
605
+ *
606
+ *
607
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
608
+ * https://openapi-generator.tech
609
+ * Do not edit the class manually.
610
+ */
611
+
612
+ interface ContainerView {
613
+ id: string;
614
+ shipmentId: string;
615
+ number: string;
616
+ bookedState?: ContainerBookedState | null;
617
+ size?: ContainerSize | null;
618
+ containerType?: ContainerType | null;
619
+ goh?: boolean;
620
+ gateInDate?: string | null;
621
+ projectedDeliveryDate?: string | null;
622
+ bookedDeliveryDate?: string | null;
623
+ deliveryDaysLate?: number | null;
624
+ earliestDeliveryDate?: string | null;
625
+ latestDeliveryDate?: string | null;
626
+ deliveryRef?: string;
627
+ customsClearedDate?: string | null;
628
+ dcDescription?: string;
629
+ podDate?: string | null;
630
+ customerRef: string;
631
+ dangerousGoodsClass: string;
632
+ shipment?: ContainerShipmentView;
633
+ }
634
+ declare namespace ContainerView {
635
+ }
636
+
637
+ /**
638
+ * Dcm.API.Client
639
+ *
640
+ *
641
+ *
642
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
643
+ * https://openapi-generator.tech
644
+ * Do not edit the class manually.
645
+ */
646
+ interface PaymentTerm {
647
+ id: string;
648
+ name: string;
649
+ }
650
+
651
+ /**
652
+ * Dcm.API.Client
653
+ *
654
+ *
655
+ *
656
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
657
+ * https://openapi-generator.tech
658
+ * Do not edit the class manually.
659
+ */
660
+
661
+ interface ContainerPoGridView {
662
+ poNumber?: string;
663
+ category?: string;
664
+ departmentName?: string;
665
+ buyer?: string;
666
+ 'class'?: string;
667
+ packsQuantity: number | null;
668
+ shippedQuantity: number | null;
669
+ weight: number | null;
670
+ cbm: number | null;
671
+ supplierName?: string;
672
+ countryOfOrigin?: Country;
673
+ container?: ContainerView;
674
+ paymentTerm?: PaymentTerm;
675
+ }
676
+
677
+ /**
678
+ * Dcm.API.Client
679
+ *
680
+ *
681
+ *
682
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
683
+ * https://openapi-generator.tech
684
+ * Do not edit the class manually.
685
+ */
686
+
687
+ interface ContainerPos {
688
+ total: number;
689
+ data: Array<ContainerPoGridView>;
690
+ }
691
+
692
+ /**
693
+ * Dcm.API.Client
694
+ *
695
+ *
696
+ *
697
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
698
+ * https://openapi-generator.tech
699
+ * Do not edit the class manually.
700
+ */
701
+
702
+ interface ContainerGridView {
703
+ id: string;
704
+ shipmentId: string;
705
+ number: string;
706
+ bookedState?: ContainerBookedState;
707
+ size?: ContainerSize;
708
+ containerType?: ContainerType;
709
+ goh?: boolean;
710
+ gateInDate?: string | null;
711
+ projectedDeliveryDate?: string | null;
712
+ bookedDeliveryDate?: string | null;
713
+ deliveryDaysLate?: number | null;
714
+ earliestDeliveryDate?: string | null;
715
+ latestDeliveryDate?: string | null;
716
+ deliveryRef?: string;
717
+ customsClearedDate?: string | null;
718
+ dcDescription?: string;
719
+ podDate?: string | null;
720
+ customerRef: string;
721
+ dangerousGoodsClass: string;
722
+ shipment?: ContainerShipmentView;
723
+ packsQuantity: number | null;
724
+ shippedQuantity: number | null;
725
+ weight: number | null;
726
+ cbm: number | null;
727
+ }
728
+ declare namespace ContainerGridView {
729
+ }
730
+
731
+ /**
732
+ * Dcm.API.Client
733
+ *
734
+ *
735
+ *
736
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
737
+ * https://openapi-generator.tech
738
+ * Do not edit the class manually.
739
+ */
740
+
741
+ interface Containers {
742
+ total: number;
743
+ data: Array<ContainerGridView>;
744
+ }
745
+
746
+ /**
747
+ * Dcm.API.Client
748
+ *
749
+ *
750
+ *
751
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
752
+ * https://openapi-generator.tech
753
+ * Do not edit the class manually.
754
+ */
755
+ interface ContainersCount {
756
+ containersCount: number;
757
+ }
758
+
759
+ /**
760
+ * Dcm.API.Client
761
+ *
762
+ *
763
+ *
764
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
765
+ * https://openapi-generator.tech
766
+ * Do not edit the class manually.
767
+ */
768
+ interface ContainersToDeliverCount {
769
+ containersCount: number;
770
+ containersToRescheduleCount: number;
771
+ plannedDeliveriesCount: number;
772
+ }
773
+
774
+ /**
775
+ * Dcm.API.Client
776
+ *
777
+ *
778
+ *
779
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
780
+ * https://openapi-generator.tech
781
+ * Do not edit the class manually.
782
+ */
783
+ interface ApprovalContainerRules {
784
+ containerUtilisationRulePass: boolean;
785
+ containerUtilisationRuleSizeAllowed: boolean;
786
+ }
787
+
788
+ /**
789
+ * Dcm.API.Client
790
+ *
791
+ *
792
+ *
793
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
794
+ * https://openapi-generator.tech
795
+ * Do not edit the class manually.
796
+ */
797
+
798
+ interface ShipmentContainer {
799
+ id: string;
800
+ number: string;
801
+ sealNumber: string;
802
+ containerSize: string;
803
+ bcn: boolean;
804
+ goh: boolean;
805
+ packsQuantity: number | null;
806
+ shippedQuantity: number | null;
807
+ numOfCartons: number | null;
808
+ cbm: number | null;
809
+ weight: number | null;
810
+ dangerousGoodsClass: string;
811
+ gateInDate: string | null;
812
+ containerType: ContainerType | null;
813
+ rules: ApprovalContainerRules;
814
+ }
815
+ declare namespace ShipmentContainer {
816
+ }
817
+
818
+ /**
819
+ * Dcm.API.Client
820
+ *
821
+ *
822
+ *
823
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
824
+ * https://openapi-generator.tech
825
+ * Do not edit the class manually.
826
+ */
827
+
828
+ interface ShipmentContainers {
829
+ total: number;
830
+ data: Array<ShipmentContainer>;
831
+ }
832
+
833
+ declare class ContainersService extends BaseService {
834
+ protected httpClient: HttpClient;
835
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
836
+ /**
837
+ * Getting container items
838
+ * @param id
839
+ * @param $skip
840
+ * @param $top
841
+ * @param $orderby
842
+ * @param $filter
843
+ * @param $search
844
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
845
+ * @param reportProgress flag to report request and response progress.
846
+ */
847
+ getContainerItems(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
848
+ httpHeaderAccept?: 'application/json';
849
+ context?: HttpContext;
850
+ transferCache?: boolean;
851
+ }): Observable<ContainerItems>;
852
+ getContainerItems(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
853
+ httpHeaderAccept?: 'application/json';
854
+ context?: HttpContext;
855
+ transferCache?: boolean;
856
+ }): Observable<HttpResponse<ContainerItems>>;
857
+ getContainerItems(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
858
+ httpHeaderAccept?: 'application/json';
859
+ context?: HttpContext;
860
+ transferCache?: boolean;
861
+ }): Observable<HttpEvent<ContainerItems>>;
862
+ /**
863
+ * Container purchase order list
864
+ * @param $skip
865
+ * @param $top
866
+ * @param $orderby
867
+ * @param $filter
868
+ * @param $search
869
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
870
+ * @param reportProgress flag to report request and response progress.
871
+ */
872
+ getContainerPurchaseOrders($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
873
+ httpHeaderAccept?: 'application/json';
874
+ context?: HttpContext;
875
+ transferCache?: boolean;
876
+ }): Observable<ContainerPos>;
877
+ getContainerPurchaseOrders($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
878
+ httpHeaderAccept?: 'application/json';
879
+ context?: HttpContext;
880
+ transferCache?: boolean;
881
+ }): Observable<HttpResponse<ContainerPos>>;
882
+ getContainerPurchaseOrders($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
883
+ httpHeaderAccept?: 'application/json';
884
+ context?: HttpContext;
885
+ transferCache?: boolean;
886
+ }): Observable<HttpEvent<ContainerPos>>;
887
+ /**
888
+ * Container purchase order list
889
+ * @param $skip
890
+ * @param $top
891
+ * @param $orderby
892
+ * @param $filter
893
+ * @param searchTerm
894
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
895
+ * @param reportProgress flag to report request and response progress.
896
+ */
897
+ getContainerPurchaseOrdersFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'body', reportProgress?: boolean, options?: {
898
+ httpHeaderAccept?: 'application/json';
899
+ context?: HttpContext;
900
+ transferCache?: boolean;
901
+ }): Observable<ContainerPos>;
902
+ getContainerPurchaseOrdersFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'response', reportProgress?: boolean, options?: {
903
+ httpHeaderAccept?: 'application/json';
904
+ context?: HttpContext;
905
+ transferCache?: boolean;
906
+ }): Observable<HttpResponse<ContainerPos>>;
907
+ getContainerPurchaseOrdersFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'events', reportProgress?: boolean, options?: {
908
+ httpHeaderAccept?: 'application/json';
909
+ context?: HttpContext;
910
+ transferCache?: boolean;
911
+ }): Observable<HttpEvent<ContainerPos>>;
912
+ /**
913
+ * Containers list
914
+ * @param $skip
915
+ * @param $top
916
+ * @param $orderby
917
+ * @param $filter
918
+ * @param $search
919
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
920
+ * @param reportProgress flag to report request and response progress.
921
+ */
922
+ getContainers($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
923
+ httpHeaderAccept?: 'application/json';
924
+ context?: HttpContext;
925
+ transferCache?: boolean;
926
+ }): Observable<Containers>;
927
+ getContainers($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
928
+ httpHeaderAccept?: 'application/json';
929
+ context?: HttpContext;
930
+ transferCache?: boolean;
931
+ }): Observable<HttpResponse<Containers>>;
932
+ getContainers($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
933
+ httpHeaderAccept?: 'application/json';
934
+ context?: HttpContext;
935
+ transferCache?: boolean;
936
+ }): Observable<HttpEvent<Containers>>;
937
+ /**
938
+ * Containers list
939
+ * @param $skip
940
+ * @param $top
941
+ * @param $orderby
942
+ * @param $filter
943
+ * @param searchTerm
944
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
945
+ * @param reportProgress flag to report request and response progress.
946
+ */
947
+ getContainersFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'body', reportProgress?: boolean, options?: {
948
+ httpHeaderAccept?: 'application/json';
949
+ context?: HttpContext;
950
+ transferCache?: boolean;
951
+ }): Observable<Containers>;
952
+ getContainersFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'response', reportProgress?: boolean, options?: {
953
+ httpHeaderAccept?: 'application/json';
954
+ context?: HttpContext;
955
+ transferCache?: boolean;
956
+ }): Observable<HttpResponse<Containers>>;
957
+ getContainersFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'events', reportProgress?: boolean, options?: {
958
+ httpHeaderAccept?: 'application/json';
959
+ context?: HttpContext;
960
+ transferCache?: boolean;
961
+ }): Observable<HttpEvent<Containers>>;
962
+ /**
963
+ * Containers to deliver
964
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
965
+ * @param reportProgress flag to report request and response progress.
966
+ */
967
+ getContainersToDeliverCount(observe?: 'body', reportProgress?: boolean, options?: {
968
+ httpHeaderAccept?: 'application/json';
969
+ context?: HttpContext;
970
+ transferCache?: boolean;
971
+ }): Observable<ContainersToDeliverCount>;
972
+ getContainersToDeliverCount(observe?: 'response', reportProgress?: boolean, options?: {
973
+ httpHeaderAccept?: 'application/json';
974
+ context?: HttpContext;
975
+ transferCache?: boolean;
976
+ }): Observable<HttpResponse<ContainersToDeliverCount>>;
977
+ getContainersToDeliverCount(observe?: 'events', reportProgress?: boolean, options?: {
978
+ httpHeaderAccept?: 'application/json';
979
+ context?: HttpContext;
980
+ transferCache?: boolean;
981
+ }): Observable<HttpEvent<ContainersToDeliverCount>>;
982
+ /**
983
+ * Get destination agent Deliveries Require Amend Confirmation count
984
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
985
+ * @param reportProgress flag to report request and response progress.
986
+ */
987
+ getDeliveriesRequireAmendConfirmationCount(observe?: 'body', reportProgress?: boolean, options?: {
988
+ httpHeaderAccept?: 'application/json';
989
+ context?: HttpContext;
990
+ transferCache?: boolean;
991
+ }): Observable<ContainersCount>;
992
+ getDeliveriesRequireAmendConfirmationCount(observe?: 'response', reportProgress?: boolean, options?: {
993
+ httpHeaderAccept?: 'application/json';
994
+ context?: HttpContext;
995
+ transferCache?: boolean;
996
+ }): Observable<HttpResponse<ContainersCount>>;
997
+ getDeliveriesRequireAmendConfirmationCount(observe?: 'events', reportProgress?: boolean, options?: {
998
+ httpHeaderAccept?: 'application/json';
999
+ context?: HttpContext;
1000
+ transferCache?: boolean;
1001
+ }): Observable<HttpEvent<ContainersCount>>;
1002
+ /**
1003
+ * Get destination agent Deliveries Require Cancel Confirmation count
1004
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1005
+ * @param reportProgress flag to report request and response progress.
1006
+ */
1007
+ getDeliveriesRequireCancelConfirmationCount(observe?: 'body', reportProgress?: boolean, options?: {
1008
+ httpHeaderAccept?: 'application/json';
1009
+ context?: HttpContext;
1010
+ transferCache?: boolean;
1011
+ }): Observable<ContainersCount>;
1012
+ getDeliveriesRequireCancelConfirmationCount(observe?: 'response', reportProgress?: boolean, options?: {
1013
+ httpHeaderAccept?: 'application/json';
1014
+ context?: HttpContext;
1015
+ transferCache?: boolean;
1016
+ }): Observable<HttpResponse<ContainersCount>>;
1017
+ getDeliveriesRequireCancelConfirmationCount(observe?: 'events', reportProgress?: boolean, options?: {
1018
+ httpHeaderAccept?: 'application/json';
1019
+ context?: HttpContext;
1020
+ transferCache?: boolean;
1021
+ }): Observable<HttpEvent<ContainersCount>>;
1022
+ /**
1023
+ * Get destination agent Deliveries Require Confirmation count
1024
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1025
+ * @param reportProgress flag to report request and response progress.
1026
+ */
1027
+ getDeliveriesRequireConfirmationCount(observe?: 'body', reportProgress?: boolean, options?: {
1028
+ httpHeaderAccept?: 'application/json';
1029
+ context?: HttpContext;
1030
+ transferCache?: boolean;
1031
+ }): Observable<ContainersCount>;
1032
+ getDeliveriesRequireConfirmationCount(observe?: 'response', reportProgress?: boolean, options?: {
1033
+ httpHeaderAccept?: 'application/json';
1034
+ context?: HttpContext;
1035
+ transferCache?: boolean;
1036
+ }): Observable<HttpResponse<ContainersCount>>;
1037
+ getDeliveriesRequireConfirmationCount(observe?: 'events', reportProgress?: boolean, options?: {
1038
+ httpHeaderAccept?: 'application/json';
1039
+ context?: HttpContext;
1040
+ transferCache?: boolean;
1041
+ }): Observable<HttpEvent<ContainersCount>>;
1042
+ /**
1043
+ * Get destination agent Deliveries To Book count
1044
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1045
+ * @param reportProgress flag to report request and response progress.
1046
+ */
1047
+ getDeliveriesToBookCount(observe?: 'body', reportProgress?: boolean, options?: {
1048
+ httpHeaderAccept?: 'application/json';
1049
+ context?: HttpContext;
1050
+ transferCache?: boolean;
1051
+ }): Observable<ContainersCount>;
1052
+ getDeliveriesToBookCount(observe?: 'response', reportProgress?: boolean, options?: {
1053
+ httpHeaderAccept?: 'application/json';
1054
+ context?: HttpContext;
1055
+ transferCache?: boolean;
1056
+ }): Observable<HttpResponse<ContainersCount>>;
1057
+ getDeliveriesToBookCount(observe?: 'events', reportProgress?: boolean, options?: {
1058
+ httpHeaderAccept?: 'application/json';
1059
+ context?: HttpContext;
1060
+ transferCache?: boolean;
1061
+ }): Observable<HttpEvent<ContainersCount>>;
1062
+ /**
1063
+ * Get destination agent Deliveries To Reschedule count
1064
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1065
+ * @param reportProgress flag to report request and response progress.
1066
+ */
1067
+ getDeliveriesToRescheduleCount(observe?: 'body', reportProgress?: boolean, options?: {
1068
+ httpHeaderAccept?: 'application/json';
1069
+ context?: HttpContext;
1070
+ transferCache?: boolean;
1071
+ }): Observable<ContainersCount>;
1072
+ getDeliveriesToRescheduleCount(observe?: 'response', reportProgress?: boolean, options?: {
1073
+ httpHeaderAccept?: 'application/json';
1074
+ context?: HttpContext;
1075
+ transferCache?: boolean;
1076
+ }): Observable<HttpResponse<ContainersCount>>;
1077
+ getDeliveriesToRescheduleCount(observe?: 'events', reportProgress?: boolean, options?: {
1078
+ httpHeaderAccept?: 'application/json';
1079
+ context?: HttpContext;
1080
+ transferCache?: boolean;
1081
+ }): Observable<HttpEvent<ContainersCount>>;
1082
+ /**
1083
+ * Get destination agent Planned Deliveries and Deliveries Require POD and Customs count
1084
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1085
+ * @param reportProgress flag to report request and response progress.
1086
+ */
1087
+ getPlannedDeliveriesAndPodCount(observe?: 'body', reportProgress?: boolean, options?: {
1088
+ httpHeaderAccept?: 'application/json';
1089
+ context?: HttpContext;
1090
+ transferCache?: boolean;
1091
+ }): Observable<ContainersCount>;
1092
+ getPlannedDeliveriesAndPodCount(observe?: 'response', reportProgress?: boolean, options?: {
1093
+ httpHeaderAccept?: 'application/json';
1094
+ context?: HttpContext;
1095
+ transferCache?: boolean;
1096
+ }): Observable<HttpResponse<ContainersCount>>;
1097
+ getPlannedDeliveriesAndPodCount(observe?: 'events', reportProgress?: boolean, options?: {
1098
+ httpHeaderAccept?: 'application/json';
1099
+ context?: HttpContext;
1100
+ transferCache?: boolean;
1101
+ }): Observable<HttpEvent<ContainersCount>>;
1102
+ /**
1103
+ * Getting a shipment containers
1104
+ * @param shipmentId
1105
+ * @param $skip
1106
+ * @param $top
1107
+ * @param $orderby
1108
+ * @param $filter
1109
+ * @param $search
1110
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1111
+ * @param reportProgress flag to report request and response progress.
1112
+ */
1113
+ getShipmentContainers(shipmentId: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
1114
+ httpHeaderAccept?: 'application/json';
1115
+ context?: HttpContext;
1116
+ transferCache?: boolean;
1117
+ }): Observable<ShipmentContainers>;
1118
+ getShipmentContainers(shipmentId: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
1119
+ httpHeaderAccept?: 'application/json';
1120
+ context?: HttpContext;
1121
+ transferCache?: boolean;
1122
+ }): Observable<HttpResponse<ShipmentContainers>>;
1123
+ getShipmentContainers(shipmentId: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
1124
+ httpHeaderAccept?: 'application/json';
1125
+ context?: HttpContext;
1126
+ transferCache?: boolean;
1127
+ }): Observable<HttpEvent<ShipmentContainers>>;
1128
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContainersService, [null, { optional: true; }, { optional: true; }]>;
1129
+ static ɵprov: i0.ɵɵInjectableDeclaration<ContainersService>;
1130
+ }
1131
+
1132
+ /**
1133
+ * Dcm.API.Client
1134
+ *
1135
+ *
1136
+ *
1137
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1138
+ * https://openapi-generator.tech
1139
+ * Do not edit the class manually.
1140
+ */
1141
+ declare const DocumentType: {
1142
+ readonly FactoryInvoice: "FactoryInvoice";
1143
+ readonly FactoryPackingList: "FactoryPackingList";
1144
+ readonly AirwaybillHawb: "AirwaybillHawb";
1145
+ readonly HousebillHbl: "HousebillHBL";
1146
+ readonly CustomClearance: "CustomClearance";
1147
+ readonly BookingForm: "BookingForm";
1148
+ readonly Miscellaneous: "Miscellaneous";
1149
+ readonly CommercialInvoice: "CommercialInvoice";
1150
+ readonly SparePartCommercialInvoice: "SparePartCommercialInvoice";
1151
+ readonly SparePartPackingList: "SparePartPackingList";
1152
+ readonly FumigationCertificate: "FumigationCertificate";
1153
+ readonly Msds: "MSDS";
1154
+ readonly ConsolidatedInvoice: "ConsolidatedInvoice";
1155
+ };
1156
+ type DocumentType = typeof DocumentType[keyof typeof DocumentType];
1157
+
1158
+ /**
1159
+ * Dcm.API.Client
1160
+ *
1161
+ *
1162
+ *
1163
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1164
+ * https://openapi-generator.tech
1165
+ * Do not edit the class manually.
1166
+ */
1167
+
1168
+ interface Document {
1169
+ keywords: string;
1170
+ documentType: DocumentType | null;
1171
+ createdDate: string;
1172
+ createdByUser: string;
1173
+ contentType: string;
1174
+ documentUrl: string | null;
1175
+ }
1176
+ declare namespace Document {
1177
+ }
1178
+
1179
+ /**
1180
+ * Dcm.API.Client
1181
+ *
1182
+ *
1183
+ *
1184
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1185
+ * https://openapi-generator.tech
1186
+ * Do not edit the class manually.
1187
+ */
1188
+
1189
+ interface Documents {
1190
+ total: number;
1191
+ data: Array<Document>;
1192
+ }
1193
+
1194
+ /**
1195
+ * Dcm.API.Client
1196
+ *
1197
+ *
1198
+ *
1199
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1200
+ * https://openapi-generator.tech
1201
+ * Do not edit the class manually.
1202
+ */
1203
+ declare const WorkflowArtifacts: {
1204
+ readonly Shipment: "Shipment";
1205
+ readonly PurchaseOrder: "PurchaseOrder";
1206
+ readonly Container: "Container";
1207
+ readonly Vessel: "Vessel";
1208
+ readonly Dispatch: "Dispatch";
1209
+ readonly SalesOrder: "SalesOrder";
1210
+ };
1211
+ type WorkflowArtifacts = typeof WorkflowArtifacts[keyof typeof WorkflowArtifacts];
1212
+
1213
+ declare class DocumentsService extends BaseService {
1214
+ protected httpClient: HttpClient;
1215
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1216
+ /**
1217
+ * Getting a shipment documents
1218
+ * @param recordId
1219
+ * @param artifact
1220
+ * @param $skip
1221
+ * @param $top
1222
+ * @param $orderby
1223
+ * @param $filter
1224
+ * @param $search
1225
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1226
+ * @param reportProgress flag to report request and response progress.
1227
+ */
1228
+ getShipmentDocuments(recordId: string, artifact: WorkflowArtifacts, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
1229
+ httpHeaderAccept?: 'application/json';
1230
+ context?: HttpContext;
1231
+ transferCache?: boolean;
1232
+ }): Observable<Documents>;
1233
+ getShipmentDocuments(recordId: string, artifact: WorkflowArtifacts, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
1234
+ httpHeaderAccept?: 'application/json';
1235
+ context?: HttpContext;
1236
+ transferCache?: boolean;
1237
+ }): Observable<HttpResponse<Documents>>;
1238
+ getShipmentDocuments(recordId: string, artifact: WorkflowArtifacts, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
1239
+ httpHeaderAccept?: 'application/json';
1240
+ context?: HttpContext;
1241
+ transferCache?: boolean;
1242
+ }): Observable<HttpEvent<Documents>>;
1243
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocumentsService, [null, { optional: true; }, { optional: true; }]>;
1244
+ static ɵprov: i0.ɵɵInjectableDeclaration<DocumentsService>;
1245
+ }
1246
+
1247
+ declare class HealthService extends BaseService {
1248
+ protected httpClient: HttpClient;
1249
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1250
+ /**
1251
+ * Api health check
1252
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1253
+ * @param reportProgress flag to report request and response progress.
1254
+ */
1255
+ getHealth(observe?: 'body', reportProgress?: boolean, options?: {
1256
+ httpHeaderAccept?: 'text/plain' | 'application/json';
1257
+ context?: HttpContext;
1258
+ transferCache?: boolean;
1259
+ }): Observable<string>;
1260
+ getHealth(observe?: 'response', reportProgress?: boolean, options?: {
1261
+ httpHeaderAccept?: 'text/plain' | 'application/json';
1262
+ context?: HttpContext;
1263
+ transferCache?: boolean;
1264
+ }): Observable<HttpResponse<string>>;
1265
+ getHealth(observe?: 'events', reportProgress?: boolean, options?: {
1266
+ httpHeaderAccept?: 'text/plain' | 'application/json';
1267
+ context?: HttpContext;
1268
+ transferCache?: boolean;
1269
+ }): Observable<HttpEvent<string>>;
1270
+ static ɵfac: i0.ɵɵFactoryDeclaration<HealthService, [null, { optional: true; }, { optional: true; }]>;
1271
+ static ɵprov: i0.ɵɵInjectableDeclaration<HealthService>;
1272
+ }
1273
+
1274
+ /**
1275
+ * Dcm.API.Client
1276
+ *
1277
+ *
1278
+ *
1279
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1280
+ * https://openapi-generator.tech
1281
+ * Do not edit the class manually.
1282
+ */
1283
+ interface Note {
1284
+ id: string;
1285
+ sourceId: string;
1286
+ notes: string;
1287
+ }
1288
+
1289
+ /**
1290
+ * Dcm.API.Client
1291
+ *
1292
+ *
1293
+ *
1294
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1295
+ * https://openapi-generator.tech
1296
+ * Do not edit the class manually.
1297
+ */
1298
+ declare const NoteSourceTypes: {
1299
+ readonly Shipment: "Shipment";
1300
+ };
1301
+ type NoteSourceTypes = typeof NoteSourceTypes[keyof typeof NoteSourceTypes];
1302
+
1303
+ /**
1304
+ * Dcm.API.Client
1305
+ *
1306
+ *
1307
+ *
1308
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1309
+ * https://openapi-generator.tech
1310
+ * Do not edit the class manually.
1311
+ */
1312
+ interface NoteView {
1313
+ id: string;
1314
+ createUserFullName: string;
1315
+ createdDate: string;
1316
+ createByCompany: string;
1317
+ notes: string;
1318
+ }
1319
+
1320
+ /**
1321
+ * Dcm.API.Client
1322
+ *
1323
+ *
1324
+ *
1325
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1326
+ * https://openapi-generator.tech
1327
+ * Do not edit the class manually.
1328
+ */
1329
+
1330
+ interface Notes {
1331
+ total: number;
1332
+ data: Array<NoteView>;
1333
+ }
1334
+
1335
+ declare class NotesService extends BaseService {
1336
+ protected httpClient: HttpClient;
1337
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1338
+ /**
1339
+ * Create new note
1340
+ * @param note
1341
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1342
+ * @param reportProgress flag to report request and response progress.
1343
+ */
1344
+ createShipmentNote(note?: Note, observe?: 'body', reportProgress?: boolean, options?: {
1345
+ httpHeaderAccept?: 'application/json';
1346
+ context?: HttpContext;
1347
+ transferCache?: boolean;
1348
+ }): Observable<Note>;
1349
+ createShipmentNote(note?: Note, observe?: 'response', reportProgress?: boolean, options?: {
1350
+ httpHeaderAccept?: 'application/json';
1351
+ context?: HttpContext;
1352
+ transferCache?: boolean;
1353
+ }): Observable<HttpResponse<Note>>;
1354
+ createShipmentNote(note?: Note, observe?: 'events', reportProgress?: boolean, options?: {
1355
+ httpHeaderAccept?: 'application/json';
1356
+ context?: HttpContext;
1357
+ transferCache?: boolean;
1358
+ }): Observable<HttpEvent<Note>>;
1359
+ /**
1360
+ * Getting a shipment notes
1361
+ * @param sourceId
1362
+ * @param type
1363
+ * @param $skip
1364
+ * @param $top
1365
+ * @param $orderby
1366
+ * @param $filter
1367
+ * @param $search
1368
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1369
+ * @param reportProgress flag to report request and response progress.
1370
+ */
1371
+ getShipmentNotes(sourceId: string, type: NoteSourceTypes, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
1372
+ httpHeaderAccept?: 'application/json';
1373
+ context?: HttpContext;
1374
+ transferCache?: boolean;
1375
+ }): Observable<Notes>;
1376
+ getShipmentNotes(sourceId: string, type: NoteSourceTypes, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
1377
+ httpHeaderAccept?: 'application/json';
1378
+ context?: HttpContext;
1379
+ transferCache?: boolean;
1380
+ }): Observable<HttpResponse<Notes>>;
1381
+ getShipmentNotes(sourceId: string, type: NoteSourceTypes, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
1382
+ httpHeaderAccept?: 'application/json';
1383
+ context?: HttpContext;
1384
+ transferCache?: boolean;
1385
+ }): Observable<HttpEvent<Notes>>;
1386
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotesService, [null, { optional: true; }, { optional: true; }]>;
1387
+ static ɵprov: i0.ɵɵInjectableDeclaration<NotesService>;
1388
+ }
1389
+
1390
+ /**
1391
+ * Dcm.API.Client
1392
+ *
1393
+ *
1394
+ *
1395
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1396
+ * https://openapi-generator.tech
1397
+ * Do not edit the class manually.
1398
+ */
1399
+ interface UserPermissions {
1400
+ permissions: Array<string>;
1401
+ }
1402
+
1403
+ declare class PermissionsService extends BaseService {
1404
+ protected httpClient: HttpClient;
1405
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1406
+ /**
1407
+ * User permissions
1408
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1409
+ * @param reportProgress flag to report request and response progress.
1410
+ */
1411
+ getUserPermissions(observe?: 'body', reportProgress?: boolean, options?: {
1412
+ httpHeaderAccept?: 'application/json';
1413
+ context?: HttpContext;
1414
+ transferCache?: boolean;
1415
+ }): Observable<UserPermissions>;
1416
+ getUserPermissions(observe?: 'response', reportProgress?: boolean, options?: {
1417
+ httpHeaderAccept?: 'application/json';
1418
+ context?: HttpContext;
1419
+ transferCache?: boolean;
1420
+ }): Observable<HttpResponse<UserPermissions>>;
1421
+ getUserPermissions(observe?: 'events', reportProgress?: boolean, options?: {
1422
+ httpHeaderAccept?: 'application/json';
1423
+ context?: HttpContext;
1424
+ transferCache?: boolean;
1425
+ }): Observable<HttpEvent<UserPermissions>>;
1426
+ static ɵfac: i0.ɵɵFactoryDeclaration<PermissionsService, [null, { optional: true; }, { optional: true; }]>;
1427
+ static ɵprov: i0.ɵɵInjectableDeclaration<PermissionsService>;
1428
+ }
1429
+
1430
+ /**
1431
+ * Dcm.API.Client
1432
+ *
1433
+ *
1434
+ *
1435
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1436
+ * https://openapi-generator.tech
1437
+ * Do not edit the class manually.
1438
+ */
1439
+ interface PoItemSummary {
1440
+ id: string;
1441
+ poNumber: string;
1442
+ code: string;
1443
+ colour: string;
1444
+ size: string;
1445
+ quantity: number;
1446
+ supplierName: string;
1447
+ totalBookedQuantity: number | null;
1448
+ totalShippedQuantity: number | null;
1449
+ }
1450
+
1451
+ declare class PoItemsService extends BaseService {
1452
+ protected httpClient: HttpClient;
1453
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1454
+ /**
1455
+ * Getting a po item summary by id
1456
+ * @param id
1457
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1458
+ * @param reportProgress flag to report request and response progress.
1459
+ */
1460
+ getPoItemSummary(id: string, observe?: 'body', reportProgress?: boolean, options?: {
1461
+ httpHeaderAccept?: 'application/json';
1462
+ context?: HttpContext;
1463
+ transferCache?: boolean;
1464
+ }): Observable<PoItemSummary>;
1465
+ getPoItemSummary(id: string, observe?: 'response', reportProgress?: boolean, options?: {
1466
+ httpHeaderAccept?: 'application/json';
1467
+ context?: HttpContext;
1468
+ transferCache?: boolean;
1469
+ }): Observable<HttpResponse<PoItemSummary>>;
1470
+ getPoItemSummary(id: string, observe?: 'events', reportProgress?: boolean, options?: {
1471
+ httpHeaderAccept?: 'application/json';
1472
+ context?: HttpContext;
1473
+ transferCache?: boolean;
1474
+ }): Observable<HttpEvent<PoItemSummary>>;
1475
+ static ɵfac: i0.ɵɵFactoryDeclaration<PoItemsService, [null, { optional: true; }, { optional: true; }]>;
1476
+ static ɵprov: i0.ɵɵInjectableDeclaration<PoItemsService>;
1477
+ }
1478
+
1479
+ /**
1480
+ * Dcm.API.Client
1481
+ *
1482
+ *
1483
+ *
1484
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1485
+ * https://openapi-generator.tech
1486
+ * Do not edit the class manually.
1487
+ */
1488
+ interface PoItemTotals {
1489
+ poQuantity: number;
1490
+ totalBookedQuantity: number | null;
1491
+ }
1492
+
1493
+ /**
1494
+ * Dcm.API.Client
1495
+ *
1496
+ *
1497
+ *
1498
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1499
+ * https://openapi-generator.tech
1500
+ * Do not edit the class manually.
1501
+ */
1502
+ declare const ShipmentTerm: {
1503
+ readonly Cfr: "CFR";
1504
+ readonly Cif: "CIF";
1505
+ readonly Cip: "CIP";
1506
+ readonly Cpt: "CPT";
1507
+ readonly Daf: "DAF";
1508
+ readonly Ddp: "DDP";
1509
+ readonly Ddu: "DDU";
1510
+ readonly Des: "DES";
1511
+ readonly Deq: "DEQ";
1512
+ readonly Exw: "EXW";
1513
+ readonly Fas: "FAS";
1514
+ readonly Fca: "FCA";
1515
+ readonly Fob: "FOB";
1516
+ readonly Dap: "DAP";
1517
+ };
1518
+ type ShipmentTerm = typeof ShipmentTerm[keyof typeof ShipmentTerm];
1519
+
1520
+ /**
1521
+ * Dcm.API.Client
1522
+ *
1523
+ *
1524
+ *
1525
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1526
+ * https://openapi-generator.tech
1527
+ * Do not edit the class manually.
1528
+ */
1529
+ declare const PoItemState: {
1530
+ readonly NotAllocated: "NotAllocated";
1531
+ readonly Allocated: "Allocated";
1532
+ readonly Complete: "Complete";
1533
+ readonly Deleted: "Deleted";
1534
+ };
1535
+ type PoItemState = typeof PoItemState[keyof typeof PoItemState];
1536
+
1537
+ /**
1538
+ * Dcm.API.Client
1539
+ *
1540
+ *
1541
+ *
1542
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1543
+ * https://openapi-generator.tech
1544
+ * Do not edit the class manually.
1545
+ */
1546
+
1547
+ interface Dc {
1548
+ id: string;
1549
+ countryOfOriginId?: string;
1550
+ countryOfOrigin?: Country;
1551
+ description?: string;
1552
+ }
1553
+
1554
+ /**
1555
+ * Dcm.API.Client
1556
+ *
1557
+ *
1558
+ *
1559
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1560
+ * https://openapi-generator.tech
1561
+ * Do not edit the class manually.
1562
+ */
1563
+
1564
+ interface PurchaseOrderItem {
1565
+ id: string;
1566
+ code: string;
1567
+ description: string;
1568
+ price: number | null;
1569
+ qcApproved: boolean | null;
1570
+ qcApprovedDate: string | null;
1571
+ ean: string;
1572
+ lineNo: number | null;
1573
+ quantity: number;
1574
+ totalBookedQuantity: number | null;
1575
+ estimatedCbm: number | null;
1576
+ exDate: string | null;
1577
+ deliveryDate: string | null;
1578
+ commodityCode: string;
1579
+ season: string;
1580
+ seasonYear: number | null;
1581
+ productCategory: string;
1582
+ colour: string;
1583
+ attributeList: string;
1584
+ size: string;
1585
+ state: PoItemState | null;
1586
+ customerDeliveryRef: string;
1587
+ restrictSplit: boolean | null;
1588
+ buyersItemNumber: string;
1589
+ latestExDate: string | null;
1590
+ shippingTerms: ShipmentTerm | null;
1591
+ purchaseOrderId: string | null;
1592
+ dcId: string | null;
1593
+ dc?: Dc;
1594
+ }
1595
+ declare namespace PurchaseOrderItem {
1596
+ }
1597
+
1598
+ /**
1599
+ * Dcm.API.Client
1600
+ *
1601
+ *
1602
+ *
1603
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1604
+ * https://openapi-generator.tech
1605
+ * Do not edit the class manually.
1606
+ */
1607
+
1608
+ interface PurchaseOrderItems {
1609
+ total: number;
1610
+ data: Array<PurchaseOrderItem>;
1611
+ }
1612
+
1613
+ /**
1614
+ * Dcm.API.Client
1615
+ *
1616
+ *
1617
+ *
1618
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1619
+ * https://openapi-generator.tech
1620
+ * Do not edit the class manually.
1621
+ */
1622
+ declare const PurchaseOrderState: {
1623
+ readonly Draft: "Draft";
1624
+ readonly NotAllocated: "NotAllocated";
1625
+ readonly PartlyAllocated: "PartlyAllocated";
1626
+ readonly FullyAllocated: "FullyAllocated";
1627
+ readonly Commit: "Commit";
1628
+ readonly Complete: "Complete";
1629
+ readonly Deleted: "Deleted";
1630
+ };
1631
+ type PurchaseOrderState = typeof PurchaseOrderState[keyof typeof PurchaseOrderState];
1632
+
1633
+ /**
1634
+ * Dcm.API.Client
1635
+ *
1636
+ *
1637
+ *
1638
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1639
+ * https://openapi-generator.tech
1640
+ * Do not edit the class manually.
1641
+ */
1642
+
1643
+ interface PurchaseOrderSummary {
1644
+ id: string;
1645
+ poNumber: string;
1646
+ clientId: string | null;
1647
+ clientName: string;
1648
+ supplierId?: string | null;
1649
+ supplierName: string;
1650
+ supplierCode: string;
1651
+ currencyId: string | null;
1652
+ currencyCode: string;
1653
+ currencyDescription: string;
1654
+ buyer: string;
1655
+ poDate: string;
1656
+ shippingTermLocation: string;
1657
+ deliveryDate: string | null;
1658
+ state: PurchaseOrderState;
1659
+ shippingTerms: ShipmentTerm;
1660
+ transportMode: TransportMode;
1661
+ noOfLines: number;
1662
+ totalUnits: number;
1663
+ exDate: string | null;
1664
+ createdDate: string;
1665
+ consigneeId: string | null;
1666
+ consigneeName: string;
1667
+ 'class': string;
1668
+ originPort: string;
1669
+ destinationPort: string;
1670
+ paymentTerm: string;
1671
+ category: string;
1672
+ }
1673
+ declare namespace PurchaseOrderSummary {
1674
+ }
1675
+
1676
+ /**
1677
+ * Dcm.API.Client
1678
+ *
1679
+ *
1680
+ *
1681
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1682
+ * https://openapi-generator.tech
1683
+ * Do not edit the class manually.
1684
+ */
1685
+
1686
+ interface PurchaseOrderGridView {
1687
+ id: string;
1688
+ poNumber: string;
1689
+ clientId: string | null;
1690
+ clientName: string;
1691
+ supplierId?: string | null;
1692
+ supplierName: string;
1693
+ supplierCode: string;
1694
+ currencyId: string | null;
1695
+ currencyCode: string;
1696
+ currencyDescription: string;
1697
+ buyer: string;
1698
+ poDate: string;
1699
+ shippingTermLocation: string;
1700
+ deliveryDate: string | null;
1701
+ state: PurchaseOrderState;
1702
+ shippingTerms: ShipmentTerm;
1703
+ transportMode: TransportMode;
1704
+ noOfLines: number;
1705
+ totalUnits: number;
1706
+ exDate: string | null;
1707
+ createdDate: string;
1708
+ consigneeId: string | null;
1709
+ consigneeName: string;
1710
+ total: number;
1711
+ createdUserId: string;
1712
+ createdBy: string;
1713
+ countryOfOriginId: string | null;
1714
+ countryOfOrigin: string;
1715
+ distributionCenter: string;
1716
+ }
1717
+ declare namespace PurchaseOrderGridView {
1718
+ }
1719
+
1720
+ /**
1721
+ * Dcm.API.Client
1722
+ *
1723
+ *
1724
+ *
1725
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1726
+ * https://openapi-generator.tech
1727
+ * Do not edit the class manually.
1728
+ */
1729
+
1730
+ interface PurchaseOrders {
1731
+ total: number;
1732
+ data: Array<PurchaseOrderGridView>;
1733
+ }
1734
+
1735
+ /**
1736
+ * Dcm.API.Client
1737
+ *
1738
+ *
1739
+ *
1740
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1741
+ * https://openapi-generator.tech
1742
+ * Do not edit the class manually.
1743
+ */
1744
+
1745
+ interface UnbookedPoLineItem {
1746
+ id: string;
1747
+ code: string;
1748
+ description: string;
1749
+ price: number | null;
1750
+ qcApproved: boolean | null;
1751
+ qcApprovedDate: string | null;
1752
+ ean: string;
1753
+ lineNo: number | null;
1754
+ quantity: number;
1755
+ totalBookedQuantity: number | null;
1756
+ estimatedCbm: number | null;
1757
+ exDate: string | null;
1758
+ deliveryDate: string | null;
1759
+ commodityCode: string;
1760
+ season: string;
1761
+ seasonYear: number | null;
1762
+ productCategory: string;
1763
+ colour: string;
1764
+ attributeList: string;
1765
+ size: string;
1766
+ state: PoItemState;
1767
+ customerDeliveryRef: string;
1768
+ restrictSplit: boolean | null;
1769
+ buyersItemNumber: string;
1770
+ latestExDate: string | null;
1771
+ shippingTerms: ShipmentTerm;
1772
+ purchaseOrderId: string | null;
1773
+ dcId: string | null;
1774
+ dc?: Dc;
1775
+ createDate?: string | null;
1776
+ poNumber?: string;
1777
+ buyer?: string;
1778
+ countryOfOrigin?: Country;
1779
+ shippingTermsLocation?: string;
1780
+ supplierName?: string;
1781
+ currencyCode?: string;
1782
+ departmentName?: string;
1783
+ consigneeName?: string;
1784
+ }
1785
+ declare namespace UnbookedPoLineItem {
1786
+ }
1787
+
1788
+ /**
1789
+ * Dcm.API.Client
1790
+ *
1791
+ *
1792
+ *
1793
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1794
+ * https://openapi-generator.tech
1795
+ * Do not edit the class manually.
1796
+ */
1797
+
1798
+ interface UnbookedPoLineItems {
1799
+ total: number;
1800
+ data: Array<UnbookedPoLineItem>;
1801
+ }
1802
+
1803
+ declare class PurchaseOrdersService extends BaseService {
1804
+ protected httpClient: HttpClient;
1805
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1806
+ /**
1807
+ * Getting a Po Item totals
1808
+ * @param purchaseOrderId
1809
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1810
+ * @param reportProgress flag to report request and response progress.
1811
+ */
1812
+ getPoItemTotals(purchaseOrderId: string, observe?: 'body', reportProgress?: boolean, options?: {
1813
+ httpHeaderAccept?: 'application/json';
1814
+ context?: HttpContext;
1815
+ transferCache?: boolean;
1816
+ }): Observable<PoItemTotals>;
1817
+ getPoItemTotals(purchaseOrderId: string, observe?: 'response', reportProgress?: boolean, options?: {
1818
+ httpHeaderAccept?: 'application/json';
1819
+ context?: HttpContext;
1820
+ transferCache?: boolean;
1821
+ }): Observable<HttpResponse<PoItemTotals>>;
1822
+ getPoItemTotals(purchaseOrderId: string, observe?: 'events', reportProgress?: boolean, options?: {
1823
+ httpHeaderAccept?: 'application/json';
1824
+ context?: HttpContext;
1825
+ transferCache?: boolean;
1826
+ }): Observable<HttpEvent<PoItemTotals>>;
1827
+ /**
1828
+ * Getting purchas order items
1829
+ * @param id
1830
+ * @param $skip
1831
+ * @param $top
1832
+ * @param $orderby
1833
+ * @param $filter
1834
+ * @param $search
1835
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1836
+ * @param reportProgress flag to report request and response progress.
1837
+ */
1838
+ getPurchaseOrderProducts(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
1839
+ httpHeaderAccept?: 'application/json';
1840
+ context?: HttpContext;
1841
+ transferCache?: boolean;
1842
+ }): Observable<PurchaseOrderItems>;
1843
+ getPurchaseOrderProducts(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
1844
+ httpHeaderAccept?: 'application/json';
1845
+ context?: HttpContext;
1846
+ transferCache?: boolean;
1847
+ }): Observable<HttpResponse<PurchaseOrderItems>>;
1848
+ getPurchaseOrderProducts(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
1849
+ httpHeaderAccept?: 'application/json';
1850
+ context?: HttpContext;
1851
+ transferCache?: boolean;
1852
+ }): Observable<HttpEvent<PurchaseOrderItems>>;
1853
+ /**
1854
+ * Getting a purchas order summary by id
1855
+ * @param id
1856
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1857
+ * @param reportProgress flag to report request and response progress.
1858
+ */
1859
+ getPurchaseOrderSummary(id: string, observe?: 'body', reportProgress?: boolean, options?: {
1860
+ httpHeaderAccept?: 'application/json';
1861
+ context?: HttpContext;
1862
+ transferCache?: boolean;
1863
+ }): Observable<PurchaseOrderSummary>;
1864
+ getPurchaseOrderSummary(id: string, observe?: 'response', reportProgress?: boolean, options?: {
1865
+ httpHeaderAccept?: 'application/json';
1866
+ context?: HttpContext;
1867
+ transferCache?: boolean;
1868
+ }): Observable<HttpResponse<PurchaseOrderSummary>>;
1869
+ getPurchaseOrderSummary(id: string, observe?: 'events', reportProgress?: boolean, options?: {
1870
+ httpHeaderAccept?: 'application/json';
1871
+ context?: HttpContext;
1872
+ transferCache?: boolean;
1873
+ }): Observable<HttpEvent<PurchaseOrderSummary>>;
1874
+ /**
1875
+ * Purchase orders list
1876
+ * @param $skip
1877
+ * @param $top
1878
+ * @param $orderby
1879
+ * @param $filter
1880
+ * @param $search
1881
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1882
+ * @param reportProgress flag to report request and response progress.
1883
+ */
1884
+ getPurchaseOrders($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
1885
+ httpHeaderAccept?: 'application/json';
1886
+ context?: HttpContext;
1887
+ transferCache?: boolean;
1888
+ }): Observable<PurchaseOrders>;
1889
+ getPurchaseOrders($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
1890
+ httpHeaderAccept?: 'application/json';
1891
+ context?: HttpContext;
1892
+ transferCache?: boolean;
1893
+ }): Observable<HttpResponse<PurchaseOrders>>;
1894
+ getPurchaseOrders($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
1895
+ httpHeaderAccept?: 'application/json';
1896
+ context?: HttpContext;
1897
+ transferCache?: boolean;
1898
+ }): Observable<HttpEvent<PurchaseOrders>>;
1899
+ /**
1900
+ * Purchase orders list
1901
+ * @param $skip
1902
+ * @param $top
1903
+ * @param $orderby
1904
+ * @param $filter
1905
+ * @param searchTerm
1906
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1907
+ * @param reportProgress flag to report request and response progress.
1908
+ */
1909
+ getPurchaseOrdersFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'body', reportProgress?: boolean, options?: {
1910
+ httpHeaderAccept?: 'application/json';
1911
+ context?: HttpContext;
1912
+ transferCache?: boolean;
1913
+ }): Observable<PurchaseOrders>;
1914
+ getPurchaseOrdersFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'response', reportProgress?: boolean, options?: {
1915
+ httpHeaderAccept?: 'application/json';
1916
+ context?: HttpContext;
1917
+ transferCache?: boolean;
1918
+ }): Observable<HttpResponse<PurchaseOrders>>;
1919
+ getPurchaseOrdersFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'events', reportProgress?: boolean, options?: {
1920
+ httpHeaderAccept?: 'application/json';
1921
+ context?: HttpContext;
1922
+ transferCache?: boolean;
1923
+ }): Observable<HttpEvent<PurchaseOrders>>;
1924
+ /**
1925
+ * Get Unbooked Purchase Order Line Items
1926
+ * @param $skip
1927
+ * @param $top
1928
+ * @param $orderby
1929
+ * @param $filter
1930
+ * @param $search
1931
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1932
+ * @param reportProgress flag to report request and response progress.
1933
+ */
1934
+ getUnbookedPoLineItems($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
1935
+ httpHeaderAccept?: 'application/json';
1936
+ context?: HttpContext;
1937
+ transferCache?: boolean;
1938
+ }): Observable<UnbookedPoLineItems>;
1939
+ getUnbookedPoLineItems($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
1940
+ httpHeaderAccept?: 'application/json';
1941
+ context?: HttpContext;
1942
+ transferCache?: boolean;
1943
+ }): Observable<HttpResponse<UnbookedPoLineItems>>;
1944
+ getUnbookedPoLineItems($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
1945
+ httpHeaderAccept?: 'application/json';
1946
+ context?: HttpContext;
1947
+ transferCache?: boolean;
1948
+ }): Observable<HttpEvent<UnbookedPoLineItems>>;
1949
+ static ɵfac: i0.ɵɵFactoryDeclaration<PurchaseOrdersService, [null, { optional: true; }, { optional: true; }]>;
1950
+ static ɵprov: i0.ɵɵInjectableDeclaration<PurchaseOrdersService>;
1951
+ }
1952
+
1953
+ /**
1954
+ * Dcm.API.Client
1955
+ *
1956
+ *
1957
+ *
1958
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1959
+ * https://openapi-generator.tech
1960
+ * Do not edit the class manually.
1961
+ */
1962
+ declare const PowerBiTenant: {
1963
+ readonly SekoBi360: "SekoBi360";
1964
+ readonly Others: "Others";
1965
+ };
1966
+ type PowerBiTenant = typeof PowerBiTenant[keyof typeof PowerBiTenant];
1967
+
1968
+ /**
1969
+ * Dcm.API.Client
1970
+ *
1971
+ *
1972
+ *
1973
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1974
+ * https://openapi-generator.tech
1975
+ * Do not edit the class manually.
1976
+ */
1977
+ interface EmbedTokenDto {
1978
+ token: string;
1979
+ tokenID: string;
1980
+ }
1981
+
1982
+ /**
1983
+ * Dcm.API.Client
1984
+ *
1985
+ *
1986
+ *
1987
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1988
+ * https://openapi-generator.tech
1989
+ * Do not edit the class manually.
1990
+ */
1991
+
1992
+ interface EmbedReportInfoModel {
1993
+ id: string;
1994
+ name: string;
1995
+ workspaceId: string;
1996
+ uiGroup: string;
1997
+ parentUiGroup: string;
1998
+ pageName?: string;
1999
+ embedUrl: string | null;
2000
+ embedToken: EmbedTokenDto;
2001
+ isEmbeddingAllowed: boolean;
2002
+ isPaginated: boolean;
2003
+ showPagesPane: boolean;
2004
+ showFiltersPane: boolean;
2005
+ powerBiTenant: PowerBiTenant;
2006
+ }
2007
+ declare namespace EmbedReportInfoModel {
2008
+ }
2009
+
2010
+ /**
2011
+ * Dcm.API.Client
2012
+ *
2013
+ *
2014
+ *
2015
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2016
+ * https://openapi-generator.tech
2017
+ * Do not edit the class manually.
2018
+ */
2019
+
2020
+ interface Column {
2021
+ order: number;
2022
+ childReports: Array<EmbedReportInfoModel>;
2023
+ }
2024
+
2025
+ /**
2026
+ * Dcm.API.Client
2027
+ *
2028
+ *
2029
+ *
2030
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2031
+ * https://openapi-generator.tech
2032
+ * Do not edit the class manually.
2033
+ */
2034
+
2035
+ interface DashboardReportGroup {
2036
+ order: number;
2037
+ tabOrder: number;
2038
+ tabName: string;
2039
+ reportInfoModel: EmbedReportInfoModel;
2040
+ childReports: Array<EmbedReportInfoModel>;
2041
+ columns: Array<Column>;
2042
+ }
2043
+
2044
+ /**
2045
+ * Dcm.API.Client
2046
+ *
2047
+ *
2048
+ *
2049
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2050
+ * https://openapi-generator.tech
2051
+ * Do not edit the class manually.
2052
+ */
2053
+
2054
+ interface DashboardReports {
2055
+ reportGroups: Array<DashboardReportGroup>;
2056
+ }
2057
+
2058
+ /**
2059
+ * Dcm.API.Client
2060
+ *
2061
+ *
2062
+ *
2063
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2064
+ * https://openapi-generator.tech
2065
+ * Do not edit the class manually.
2066
+ */
2067
+
2068
+ interface EmbedReport {
2069
+ id: string;
2070
+ embedUrl: string | null;
2071
+ isPaginated: boolean;
2072
+ showPagesPane: boolean;
2073
+ showFiltersPane: boolean;
2074
+ embedToken: EmbedTokenDto;
2075
+ }
2076
+
2077
+ /**
2078
+ * Dcm.API.Client
2079
+ *
2080
+ *
2081
+ *
2082
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2083
+ * https://openapi-generator.tech
2084
+ * Do not edit the class manually.
2085
+ */
2086
+
2087
+ interface SummaryDashboardReports {
2088
+ ordersCreated: EmbedReport;
2089
+ ordersDispatched: EmbedReport;
2090
+ deliveriesCreated: EmbedReport;
2091
+ }
2092
+
2093
+ declare class ReportsService extends BaseService {
2094
+ protected httpClient: HttpClient;
2095
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
2096
+ /**
2097
+ * Request DCM dashboard reports list
2098
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2099
+ * @param reportProgress flag to report request and response progress.
2100
+ */
2101
+ getDcmReports(observe?: 'body', reportProgress?: boolean, options?: {
2102
+ httpHeaderAccept?: 'application/json';
2103
+ context?: HttpContext;
2104
+ transferCache?: boolean;
2105
+ }): Observable<DashboardReports>;
2106
+ getDcmReports(observe?: 'response', reportProgress?: boolean, options?: {
2107
+ httpHeaderAccept?: 'application/json';
2108
+ context?: HttpContext;
2109
+ transferCache?: boolean;
2110
+ }): Observable<HttpResponse<DashboardReports>>;
2111
+ getDcmReports(observe?: 'events', reportProgress?: boolean, options?: {
2112
+ httpHeaderAccept?: 'application/json';
2113
+ context?: HttpContext;
2114
+ transferCache?: boolean;
2115
+ }): Observable<HttpEvent<DashboardReports>>;
2116
+ /**
2117
+ * Request DCM summary dashboard report embedding links
2118
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2119
+ * @param reportProgress flag to report request and response progress.
2120
+ */
2121
+ getSummaryDashboardReports(observe?: 'body', reportProgress?: boolean, options?: {
2122
+ httpHeaderAccept?: 'application/json';
2123
+ context?: HttpContext;
2124
+ transferCache?: boolean;
2125
+ }): Observable<SummaryDashboardReports>;
2126
+ getSummaryDashboardReports(observe?: 'response', reportProgress?: boolean, options?: {
2127
+ httpHeaderAccept?: 'application/json';
2128
+ context?: HttpContext;
2129
+ transferCache?: boolean;
2130
+ }): Observable<HttpResponse<SummaryDashboardReports>>;
2131
+ getSummaryDashboardReports(observe?: 'events', reportProgress?: boolean, options?: {
2132
+ httpHeaderAccept?: 'application/json';
2133
+ context?: HttpContext;
2134
+ transferCache?: boolean;
2135
+ }): Observable<HttpEvent<SummaryDashboardReports>>;
2136
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReportsService, [null, { optional: true; }, { optional: true; }]>;
2137
+ static ɵprov: i0.ɵɵInjectableDeclaration<ReportsService>;
2138
+ }
2139
+
2140
+ /**
2141
+ * Dcm.API.Client
2142
+ *
2143
+ *
2144
+ *
2145
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2146
+ * https://openapi-generator.tech
2147
+ * Do not edit the class manually.
2148
+ */
2149
+ interface SettingValue {
2150
+ value?: string;
2151
+ group: string | null;
2152
+ }
2153
+
2154
+ /**
2155
+ * Dcm.API.Client
2156
+ *
2157
+ *
2158
+ *
2159
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2160
+ * https://openapi-generator.tech
2161
+ * Do not edit the class manually.
2162
+ */
2163
+ interface SettingView {
2164
+ key: string;
2165
+ value?: string;
2166
+ group: string | null;
2167
+ }
2168
+
2169
+ declare class SettingsService extends BaseService {
2170
+ protected httpClient: HttpClient;
2171
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
2172
+ /**
2173
+ * Delete a specific setting by group and key
2174
+ * @param key
2175
+ * @param group
2176
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2177
+ * @param reportProgress flag to report request and response progress.
2178
+ */
2179
+ deleteSettingByGroupAndKey(key: string, group: string, observe?: 'body', reportProgress?: boolean, options?: {
2180
+ httpHeaderAccept?: undefined;
2181
+ context?: HttpContext;
2182
+ transferCache?: boolean;
2183
+ }): Observable<any>;
2184
+ deleteSettingByGroupAndKey(key: string, group: string, observe?: 'response', reportProgress?: boolean, options?: {
2185
+ httpHeaderAccept?: undefined;
2186
+ context?: HttpContext;
2187
+ transferCache?: boolean;
2188
+ }): Observable<HttpResponse<any>>;
2189
+ deleteSettingByGroupAndKey(key: string, group: string, observe?: 'events', reportProgress?: boolean, options?: {
2190
+ httpHeaderAccept?: undefined;
2191
+ context?: HttpContext;
2192
+ transferCache?: boolean;
2193
+ }): Observable<HttpEvent<any>>;
2194
+ /**
2195
+ * Delete a specific setting by key
2196
+ * @param key
2197
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2198
+ * @param reportProgress flag to report request and response progress.
2199
+ */
2200
+ deleteSettingByKey(key: string, observe?: 'body', reportProgress?: boolean, options?: {
2201
+ httpHeaderAccept?: undefined;
2202
+ context?: HttpContext;
2203
+ transferCache?: boolean;
2204
+ }): Observable<any>;
2205
+ deleteSettingByKey(key: string, observe?: 'response', reportProgress?: boolean, options?: {
2206
+ httpHeaderAccept?: undefined;
2207
+ context?: HttpContext;
2208
+ transferCache?: boolean;
2209
+ }): Observable<HttpResponse<any>>;
2210
+ deleteSettingByKey(key: string, observe?: 'events', reportProgress?: boolean, options?: {
2211
+ httpHeaderAccept?: undefined;
2212
+ context?: HttpContext;
2213
+ transferCache?: boolean;
2214
+ }): Observable<HttpEvent<any>>;
2215
+ /**
2216
+ * Get a specific setting by group and key
2217
+ * @param key
2218
+ * @param group
2219
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2220
+ * @param reportProgress flag to report request and response progress.
2221
+ */
2222
+ getSettingByGroupAndKey(key: string, group: string, observe?: 'body', reportProgress?: boolean, options?: {
2223
+ httpHeaderAccept?: 'application/json';
2224
+ context?: HttpContext;
2225
+ transferCache?: boolean;
2226
+ }): Observable<SettingValue>;
2227
+ getSettingByGroupAndKey(key: string, group: string, observe?: 'response', reportProgress?: boolean, options?: {
2228
+ httpHeaderAccept?: 'application/json';
2229
+ context?: HttpContext;
2230
+ transferCache?: boolean;
2231
+ }): Observable<HttpResponse<SettingValue>>;
2232
+ getSettingByGroupAndKey(key: string, group: string, observe?: 'events', reportProgress?: boolean, options?: {
2233
+ httpHeaderAccept?: 'application/json';
2234
+ context?: HttpContext;
2235
+ transferCache?: boolean;
2236
+ }): Observable<HttpEvent<SettingValue>>;
2237
+ /**
2238
+ * Get a specific setting by key
2239
+ * @param key
2240
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2241
+ * @param reportProgress flag to report request and response progress.
2242
+ */
2243
+ getSettingByKey(key: string, observe?: 'body', reportProgress?: boolean, options?: {
2244
+ httpHeaderAccept?: 'application/json';
2245
+ context?: HttpContext;
2246
+ transferCache?: boolean;
2247
+ }): Observable<SettingValue>;
2248
+ getSettingByKey(key: string, observe?: 'response', reportProgress?: boolean, options?: {
2249
+ httpHeaderAccept?: 'application/json';
2250
+ context?: HttpContext;
2251
+ transferCache?: boolean;
2252
+ }): Observable<HttpResponse<SettingValue>>;
2253
+ getSettingByKey(key: string, observe?: 'events', reportProgress?: boolean, options?: {
2254
+ httpHeaderAccept?: 'application/json';
2255
+ context?: HttpContext;
2256
+ transferCache?: boolean;
2257
+ }): Observable<HttpEvent<SettingValue>>;
2258
+ /**
2259
+ * Get settings by group
2260
+ * @param group
2261
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2262
+ * @param reportProgress flag to report request and response progress.
2263
+ */
2264
+ getSettingsByGroup(group: string, observe?: 'body', reportProgress?: boolean, options?: {
2265
+ httpHeaderAccept?: 'application/json';
2266
+ context?: HttpContext;
2267
+ transferCache?: boolean;
2268
+ }): Observable<Array<SettingView>>;
2269
+ getSettingsByGroup(group: string, observe?: 'response', reportProgress?: boolean, options?: {
2270
+ httpHeaderAccept?: 'application/json';
2271
+ context?: HttpContext;
2272
+ transferCache?: boolean;
2273
+ }): Observable<HttpResponse<Array<SettingView>>>;
2274
+ getSettingsByGroup(group: string, observe?: 'events', reportProgress?: boolean, options?: {
2275
+ httpHeaderAccept?: 'application/json';
2276
+ context?: HttpContext;
2277
+ transferCache?: boolean;
2278
+ }): Observable<HttpEvent<Array<SettingView>>>;
2279
+ /**
2280
+ * Create or update a specific setting by key
2281
+ * @param key
2282
+ * @param settingValue
2283
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
2284
+ * @param reportProgress flag to report request and response progress.
2285
+ */
2286
+ setSettingByKey(key: string, settingValue: SettingValue, observe?: 'body', reportProgress?: boolean, options?: {
2287
+ httpHeaderAccept?: 'application/json';
2288
+ context?: HttpContext;
2289
+ transferCache?: boolean;
2290
+ }): Observable<SettingValue>;
2291
+ setSettingByKey(key: string, settingValue: SettingValue, observe?: 'response', reportProgress?: boolean, options?: {
2292
+ httpHeaderAccept?: 'application/json';
2293
+ context?: HttpContext;
2294
+ transferCache?: boolean;
2295
+ }): Observable<HttpResponse<SettingValue>>;
2296
+ setSettingByKey(key: string, settingValue: SettingValue, observe?: 'events', reportProgress?: boolean, options?: {
2297
+ httpHeaderAccept?: 'application/json';
2298
+ context?: HttpContext;
2299
+ transferCache?: boolean;
2300
+ }): Observable<HttpEvent<SettingValue>>;
2301
+ static ɵfac: i0.ɵɵFactoryDeclaration<SettingsService, [null, { optional: true; }, { optional: true; }]>;
2302
+ static ɵprov: i0.ɵɵInjectableDeclaration<SettingsService>;
2303
+ }
2304
+
2305
+ /**
2306
+ * Dcm.API.Client
2307
+ *
2308
+ *
2309
+ *
2310
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2311
+ * https://openapi-generator.tech
2312
+ * Do not edit the class manually.
2313
+ */
2314
+ interface Consignee {
2315
+ id: string;
2316
+ name: string;
2317
+ }
2318
+
2319
+ /**
2320
+ * Dcm.API.Client
2321
+ *
2322
+ *
2323
+ *
2324
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2325
+ * https://openapi-generator.tech
2326
+ * Do not edit the class manually.
2327
+ */
2328
+ declare const ShipmentApprovalType: {
2329
+ readonly Auto: "Auto";
2330
+ readonly Manual: "Manual";
2331
+ };
2332
+ type ShipmentApprovalType = typeof ShipmentApprovalType[keyof typeof ShipmentApprovalType];
2333
+
2334
+ /**
2335
+ * Dcm.API.Client
2336
+ *
2337
+ *
2338
+ *
2339
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2340
+ * https://openapi-generator.tech
2341
+ * Do not edit the class manually.
2342
+ */
2343
+ interface User {
2344
+ id: string;
2345
+ fullName: string;
2346
+ }
2347
+
2348
+ /**
2349
+ * Dcm.API.Client
2350
+ *
2351
+ *
2352
+ *
2353
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2354
+ * https://openapi-generator.tech
2355
+ * Do not edit the class manually.
2356
+ */
2357
+ interface ApprovalContainerInfo {
2358
+ size: string | null;
2359
+ number: string;
2360
+ }
2361
+
2362
+ /**
2363
+ * Dcm.API.Client
2364
+ *
2365
+ *
2366
+ *
2367
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2368
+ * https://openapi-generator.tech
2369
+ * Do not edit the class manually.
2370
+ */
2371
+ interface ApprovalRules {
2372
+ unbookedPoLinesRulePass: boolean;
2373
+ toleranceRulePass: boolean;
2374
+ unMatchPoLineDcConsigneeCountryRulePass: boolean;
2375
+ requiredByDateMetRulePass: boolean;
2376
+ containerUtilisationRulePass: boolean;
2377
+ }
2378
+
2379
+ /**
2380
+ * Dcm.API.Client
2381
+ *
2382
+ *
2383
+ *
2384
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2385
+ * https://openapi-generator.tech
2386
+ * Do not edit the class manually.
2387
+ */
2388
+
2389
+ interface ShipmentApproval {
2390
+ id: string;
2391
+ clientId: string | null;
2392
+ state: ShipmentState | null;
2393
+ approvalType: ShipmentApprovalType | null;
2394
+ type: TransportMode | null;
2395
+ containerMode: ContainerType | null;
2396
+ destinationPortId: string | null;
2397
+ destinationPort: Port | null;
2398
+ originPortId: string | null;
2399
+ originPort: Port | null;
2400
+ totalBookedQuantity: number | null;
2401
+ totalPacksQuantity: number | null;
2402
+ totalVolume: number | null;
2403
+ etd: string | null;
2404
+ eta: string | null;
2405
+ approvalDeadline: string | null;
2406
+ firstProposalDate: string | null;
2407
+ lastProposalDate: string | null;
2408
+ provisionalDateOfReceipt: string | null;
2409
+ lastRejectedDate: string | null;
2410
+ masterBillRef: string | null;
2411
+ houseBillRef: string | null;
2412
+ routingVehicleName: string | null;
2413
+ noOfLines: number | null;
2414
+ lastApprovalDate: string | null;
2415
+ lastApprovalUserId: string | null;
2416
+ lastApprovalUser: User | null;
2417
+ lastProposalUserId: string | null;
2418
+ lastProposalUser: User | null;
2419
+ lastRejectedUserId: string | null;
2420
+ lastRejectedUser: User | null;
2421
+ supplierBookDate: string | null;
2422
+ latestRequiredByDate: string | null;
2423
+ exportCountryId: string | null;
2424
+ exportCountry: Country | null;
2425
+ consigneeId: string | null;
2426
+ consignee: Consignee | null;
2427
+ reference: string | null;
2428
+ containers: Array<ApprovalContainerInfo>;
2429
+ rules: ApprovalRules;
2430
+ }
2431
+ declare namespace ShipmentApproval {
2432
+ }
2433
+
2434
+ /**
2435
+ * Dcm.API.Client
2436
+ *
2437
+ *
2438
+ *
2439
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2440
+ * https://openapi-generator.tech
2441
+ * Do not edit the class manually.
2442
+ */
2443
+
2444
+ interface ShipmentApprovals {
2445
+ total: number;
2446
+ data: Array<ShipmentApproval>;
2447
+ }
2448
+
2449
+ /**
2450
+ * Dcm.API.Client
2451
+ *
2452
+ *
2453
+ *
2454
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2455
+ * https://openapi-generator.tech
2456
+ * Do not edit the class manually.
2457
+ */
2458
+ interface ShipmentItem {
2459
+ id: string;
2460
+ poNumber: string;
2461
+ lineNo: number | null;
2462
+ productCode: string;
2463
+ supplier: string;
2464
+ container: string;
2465
+ bookedQuantity: number;
2466
+ shippedQuantity: number;
2467
+ poQty: number;
2468
+ tolerance: number | null;
2469
+ containerShipmentLineItems: Array<string>;
2470
+ }
2471
+
2472
+ /**
2473
+ * Dcm.API.Client
2474
+ *
2475
+ *
2476
+ *
2477
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2478
+ * https://openapi-generator.tech
2479
+ * Do not edit the class manually.
2480
+ */
2481
+
2482
+ interface ShipmentItems {
2483
+ total: number;
2484
+ data: Array<ShipmentItem>;
2485
+ }
2486
+
2487
+ /**
2488
+ * Dcm.API.Client
2489
+ *
2490
+ *
2491
+ *
2492
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2493
+ * https://openapi-generator.tech
2494
+ * Do not edit the class manually.
2495
+ */
2496
+ interface ShipmentProductTotals {
2497
+ poQuantity: number;
2498
+ totalBookedQuantity: number | null;
2499
+ bookedQuantity: number;
2500
+ packsQuantity: number;
2501
+ shippedQuantity: number;
2502
+ }
2503
+
2504
+ /**
2505
+ * Dcm.API.Client
2506
+ *
2507
+ *
2508
+ *
2509
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2510
+ * https://openapi-generator.tech
2511
+ * Do not edit the class manually.
2512
+ */
2513
+ interface ApprovalItemRules {
2514
+ unbookedPoLinesRulePass: boolean;
2515
+ toleranceRulePass: boolean;
2516
+ unMatchPoLineDcConsigneeCountryRulePass: boolean;
2517
+ requiredByDateMetRulePass: boolean;
2518
+ }
2519
+
2520
+ /**
2521
+ * Dcm.API.Client
2522
+ *
2523
+ *
2524
+ *
2525
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2526
+ * https://openapi-generator.tech
2527
+ * Do not edit the class manually.
2528
+ */
2529
+
2530
+ interface ShipmentProduct {
2531
+ id: string;
2532
+ poNumber: string | null;
2533
+ lineNo: number | null;
2534
+ code: string;
2535
+ description: string;
2536
+ supplier: string;
2537
+ poQuantity: number;
2538
+ totalBookedQuantity: number | null;
2539
+ bookedQuantity: number;
2540
+ packsQuantity: number;
2541
+ shippedQuantity: number;
2542
+ tolerance: number | null;
2543
+ qcApproved: boolean | null;
2544
+ qcApprovedDate: string | null;
2545
+ exDate: string | null;
2546
+ deliveryDate: string | null;
2547
+ dcCountry: string;
2548
+ currencySymbol: string;
2549
+ price: number | null;
2550
+ commodityCode: string;
2551
+ colour: string;
2552
+ size: string;
2553
+ attributeList: string;
2554
+ 'class': string;
2555
+ customerDeliveryRef: string;
2556
+ departmentName: string;
2557
+ rules: ApprovalItemRules;
2558
+ }
2559
+
2560
+ /**
2561
+ * Dcm.API.Client
2562
+ *
2563
+ *
2564
+ *
2565
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2566
+ * https://openapi-generator.tech
2567
+ * Do not edit the class manually.
2568
+ */
2569
+
2570
+ interface ShipmentProducts {
2571
+ total: number;
2572
+ data: Array<ShipmentProduct>;
2573
+ }
2574
+
2575
+ /**
2576
+ * Dcm.API.Client
2577
+ *
2578
+ *
2579
+ *
2580
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2581
+ * https://openapi-generator.tech
2582
+ * Do not edit the class manually.
2583
+ */
2584
+ declare const RoutingLegType: {
2585
+ readonly Flight1: "Flight1";
2586
+ readonly Flight2: "Flight2";
2587
+ readonly Flight3: "Flight3";
2588
+ readonly LocalTransport: "LocalTransport";
2589
+ readonly Main: "Main";
2590
+ readonly OnForwarding: "OnForwarding";
2591
+ readonly Other: "Other";
2592
+ readonly PreCarriage: "PreCarriage";
2593
+ };
2594
+ type RoutingLegType = typeof RoutingLegType[keyof typeof RoutingLegType];
2595
+
2596
+ /**
2597
+ * Dcm.API.Client
2598
+ *
2599
+ *
2600
+ *
2601
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2602
+ * https://openapi-generator.tech
2603
+ * Do not edit the class manually.
2604
+ */
2605
+ declare const JourneySegmentType: {
2606
+ readonly Mother: "Mother";
2607
+ readonly Feeder: "Feeder";
2608
+ };
2609
+ type JourneySegmentType = typeof JourneySegmentType[keyof typeof JourneySegmentType];
2610
+
2611
+ /**
2612
+ * Dcm.API.Client
2613
+ *
2614
+ *
2615
+ *
2616
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2617
+ * https://openapi-generator.tech
2618
+ * Do not edit the class manually.
2619
+ */
2620
+
2621
+ interface ShipmentRouting {
2622
+ carrierName: string;
2623
+ name: string;
2624
+ etd: string | null;
2625
+ eta: string | null;
2626
+ departureCountry: string;
2627
+ arrivalCountry: string;
2628
+ originPort: string;
2629
+ destinationPort: string;
2630
+ type: JourneySegmentType | null;
2631
+ closingDate: string | null;
2632
+ atd: string | null;
2633
+ ata: string | null;
2634
+ legNumber: number | null;
2635
+ transportMode: TransportMode | null;
2636
+ routingLegType: RoutingLegType | null;
2637
+ vehicleNumber: string;
2638
+ }
2639
+ declare namespace ShipmentRouting {
2640
+ }
2641
+
2642
+ /**
2643
+ * Dcm.API.Client
2644
+ *
2645
+ *
2646
+ *
2647
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2648
+ * https://openapi-generator.tech
2649
+ * Do not edit the class manually.
2650
+ */
2651
+
2652
+ interface ShipmentAirRouting {
2653
+ carrierName: string;
2654
+ name: string;
2655
+ etd: string | null;
2656
+ eta: string | null;
2657
+ departureCountry: string;
2658
+ arrivalCountry: string;
2659
+ originPort: string;
2660
+ destinationPort: string;
2661
+ type: JourneySegmentType;
2662
+ closingDate: string | null;
2663
+ atd: string | null;
2664
+ ata: string | null;
2665
+ legNumber: number | null;
2666
+ transportMode: TransportMode;
2667
+ routingLegType: RoutingLegType;
2668
+ vehicleNumber: string;
2669
+ arrivalTerminal: string;
2670
+ departureTerminal: string;
2671
+ }
2672
+ declare namespace ShipmentAirRouting {
2673
+ }
2674
+
2675
+ /**
2676
+ * Dcm.API.Client
2677
+ *
2678
+ *
2679
+ *
2680
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2681
+ * https://openapi-generator.tech
2682
+ * Do not edit the class manually.
2683
+ */
2684
+
2685
+ interface ShipmentRoadRouting {
2686
+ carrierName: string;
2687
+ name: string;
2688
+ etd: string | null;
2689
+ eta: string | null;
2690
+ departureCountry: string;
2691
+ arrivalCountry: string;
2692
+ originPort: string;
2693
+ destinationPort: string;
2694
+ type: JourneySegmentType;
2695
+ closingDate: string | null;
2696
+ atd: string | null;
2697
+ ata: string | null;
2698
+ legNumber: number | null;
2699
+ transportMode: TransportMode;
2700
+ routingLegType: RoutingLegType;
2701
+ vehicleNumber: string;
2702
+ cmrNumber: string;
2703
+ }
2704
+ declare namespace ShipmentRoadRouting {
2705
+ }
2706
+
2707
+ /**
2708
+ * Dcm.API.Client
2709
+ *
2710
+ *
2711
+ *
2712
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2713
+ * https://openapi-generator.tech
2714
+ * Do not edit the class manually.
2715
+ */
2716
+
2717
+ interface ShipmentSeaRouting {
2718
+ carrierName: string;
2719
+ name: string;
2720
+ etd: string | null;
2721
+ eta: string | null;
2722
+ departureCountry: string;
2723
+ arrivalCountry: string;
2724
+ originPort: string;
2725
+ destinationPort: string;
2726
+ type: JourneySegmentType;
2727
+ closingDate: string | null;
2728
+ atd: string | null;
2729
+ ata: string | null;
2730
+ legNumber: number | null;
2731
+ transportMode: TransportMode;
2732
+ routingLegType: RoutingLegType;
2733
+ vehicleNumber: string;
2734
+ voyage: string;
2735
+ }
2736
+ declare namespace ShipmentSeaRouting {
2737
+ }
2738
+
2739
+ /**
2740
+ * @type ShipmentRoutingsInner
2741
+ * @export
2742
+ */
2743
+ type ShipmentRoutingsInner = ShipmentAirRouting | ShipmentRoadRouting | ShipmentRouting | ShipmentSeaRouting;
2744
+
2745
+ /**
2746
+ * Dcm.API.Client
2747
+ *
2748
+ *
2749
+ *
2750
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2751
+ * https://openapi-generator.tech
2752
+ * Do not edit the class manually.
2753
+ */
2754
+ interface Supplier {
2755
+ id: string;
2756
+ name: string;
2757
+ }
2758
+
2759
+ /**
2760
+ * Dcm.API.Client
2761
+ *
2762
+ *
2763
+ *
2764
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2765
+ * https://openapi-generator.tech
2766
+ * Do not edit the class manually.
2767
+ */
2768
+
2769
+ interface ShipmentSummary {
2770
+ id: string;
2771
+ clientId: string | null;
2772
+ consigneeId: string | null;
2773
+ consignee: Consignee | null;
2774
+ supplierId: string | null;
2775
+ supplier: Supplier | null;
2776
+ state: ShipmentState | null;
2777
+ type: TransportMode | null;
2778
+ shippingTerms: ShipmentTerm | null;
2779
+ shippingTermLocation: string | null;
2780
+ bookingReferenceList: string | null;
2781
+ supplierBookDate: string | null;
2782
+ approvalDeadline: string | null;
2783
+ exFactoryDate: string | null;
2784
+ provisionalDateOfReceipt: string | null;
2785
+ originAgentRef: string | null;
2786
+ masterBillRef: string | null;
2787
+ houseBillRef: string | null;
2788
+ noOfLines: number | null;
2789
+ noOfContainers: number | null;
2790
+ totalBookedQuantity: number | null;
2791
+ totalOrderedQuantity: number | null;
2792
+ totalCbm: number | null;
2793
+ reference: string | null;
2794
+ }
2795
+ declare namespace ShipmentSummary {
2796
+ }
2797
+
2798
+ /**
2799
+ * Dcm.API.Client
2800
+ *
2801
+ *
2802
+ *
2803
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2804
+ * https://openapi-generator.tech
2805
+ * Do not edit the class manually.
2806
+ */
2807
+ declare const TimelineEventTypes: {
2808
+ readonly BookingCreated: "BookingCreated";
2809
+ readonly ShipmentCreated: "ShipmentCreated";
2810
+ readonly ApprovalRequested: "ApprovalRequested";
2811
+ readonly CargoReady: "CargoReady";
2812
+ readonly Approval: "Approval";
2813
+ readonly ConfirmedOnBoard: "ConfirmedOnBoard";
2814
+ readonly Departure: "Departure";
2815
+ readonly Arrival: "Arrival";
2816
+ readonly Delivery: "Delivery";
2817
+ };
2818
+ type TimelineEventTypes = typeof TimelineEventTypes[keyof typeof TimelineEventTypes];
2819
+
2820
+ /**
2821
+ * Dcm.API.Client
2822
+ *
2823
+ *
2824
+ *
2825
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2826
+ * https://openapi-generator.tech
2827
+ * Do not edit the class manually.
2828
+ */
2829
+
2830
+ interface DeliveryShipmentTimelineItem {
2831
+ date: string;
2832
+ completedDate: string | null;
2833
+ type: TimelineEventTypes;
2834
+ subText: string;
2835
+ deliveryBooking: string | null;
2836
+ projectedDelivery: string | null;
2837
+ }
2838
+ declare namespace DeliveryShipmentTimelineItem {
2839
+ }
2840
+
2841
+ /**
2842
+ * Dcm.API.Client
2843
+ *
2844
+ *
2845
+ *
2846
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2847
+ * https://openapi-generator.tech
2848
+ * Do not edit the class manually.
2849
+ */
2850
+ declare const ApprovalTypes: {
2851
+ readonly Pending: "Pending";
2852
+ readonly Approved: "Approved";
2853
+ readonly Auto: "Auto";
2854
+ readonly Rejected: "Rejected";
2855
+ };
2856
+ type ApprovalTypes = typeof ApprovalTypes[keyof typeof ApprovalTypes];
2857
+
2858
+ /**
2859
+ * Dcm.API.Client
2860
+ *
2861
+ *
2862
+ *
2863
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2864
+ * https://openapi-generator.tech
2865
+ * Do not edit the class manually.
2866
+ */
2867
+ declare const TimelineEventStates: {
2868
+ readonly Default: "Default";
2869
+ readonly Good: "Good";
2870
+ readonly Warn: "Warn";
2871
+ readonly Error: "Error";
2872
+ };
2873
+ type TimelineEventStates = typeof TimelineEventStates[keyof typeof TimelineEventStates];
2874
+
2875
+ /**
2876
+ * Dcm.API.Client
2877
+ *
2878
+ *
2879
+ *
2880
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2881
+ * https://openapi-generator.tech
2882
+ * Do not edit the class manually.
2883
+ */
2884
+
2885
+ interface ApprovalShipmentTimelineItem {
2886
+ date: string;
2887
+ completedDate: string | null;
2888
+ type: TimelineEventTypes;
2889
+ subText: string;
2890
+ approvalType: ApprovalTypes | null;
2891
+ approvalCycleCount: number | null;
2892
+ timelineEventState: TimelineEventStates | null;
2893
+ }
2894
+ declare namespace ApprovalShipmentTimelineItem {
2895
+ }
2896
+
2897
+ /**
2898
+ * Dcm.API.Client
2899
+ *
2900
+ *
2901
+ *
2902
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2903
+ * https://openapi-generator.tech
2904
+ * Do not edit the class manually.
2905
+ */
2906
+
2907
+ interface TransportationShipmentTimelineItem {
2908
+ date: string;
2909
+ completedDate: string | null;
2910
+ type: TimelineEventTypes;
2911
+ subText: string;
2912
+ shipmentType: TransportMode | null;
2913
+ containerType: ContainerType | null;
2914
+ delayDuration: number | null;
2915
+ originalPortName: string;
2916
+ destinationPortName: string;
2917
+ timelineEventState: TimelineEventStates | null;
2918
+ }
2919
+ declare namespace TransportationShipmentTimelineItem {
2920
+ }
2921
+
2922
+ /**
2923
+ * Dcm.API.Client
2924
+ *
2925
+ *
2926
+ *
2927
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2928
+ * https://openapi-generator.tech
2929
+ * Do not edit the class manually.
2930
+ */
2931
+
2932
+ interface ShipmentTimelineItem {
2933
+ date: string;
2934
+ completedDate: string | null;
2935
+ type: TimelineEventTypes;
2936
+ subText: string;
2937
+ }
2938
+ declare namespace ShipmentTimelineItem {
2939
+ }
2940
+
2941
+ /**
2942
+ * @type ShipmentTimelineInner
2943
+ * @export
2944
+ */
2945
+ type ShipmentTimelineInner = ApprovalShipmentTimelineItem | DeliveryShipmentTimelineItem | ShipmentTimelineItem | TransportationShipmentTimelineItem;
2946
+
2947
+ /**
2948
+ * Dcm.API.Client
2949
+ *
2950
+ *
2951
+ *
2952
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2953
+ * https://openapi-generator.tech
2954
+ * Do not edit the class manually.
2955
+ */
2956
+ interface DepartmentShipment {
2957
+ id: string;
2958
+ shipmentId: string;
2959
+ departmentId: string;
2960
+ }
2961
+
2962
+ /**
2963
+ * Dcm.API.Client
2964
+ *
2965
+ *
2966
+ *
2967
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2968
+ * https://openapi-generator.tech
2969
+ * Do not edit the class manually.
2970
+ */
2971
+ interface TransportCarrier {
2972
+ carrierEnumId: number | null;
2973
+ name: string;
2974
+ }
2975
+
2976
+ /**
2977
+ * Dcm.API.Client
2978
+ *
2979
+ *
2980
+ *
2981
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2982
+ * https://openapi-generator.tech
2983
+ * Do not edit the class manually.
2984
+ */
2985
+ interface TransportLocation {
2986
+ id: string;
2987
+ name: string;
2988
+ }
2989
+
2990
+ /**
2991
+ * Dcm.API.Client
2992
+ *
2993
+ *
2994
+ *
2995
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2996
+ * https://openapi-generator.tech
2997
+ * Do not edit the class manually.
2998
+ */
2999
+
3000
+ interface Shipment {
3001
+ id: string;
3002
+ clientId: string | null;
3003
+ state: ShipmentState;
3004
+ approvalType: ShipmentApprovalType;
3005
+ type: TransportMode;
3006
+ departmentShipments: Array<DepartmentShipment> | null;
3007
+ destinationPortId: string | null;
3008
+ destinationPort: Port;
3009
+ originPortId: string | null;
3010
+ originPort: Port;
3011
+ client: Company;
3012
+ bookingReferenceList: string | null;
3013
+ collectionScheduledSupplierDate: string | null;
3014
+ deliveryTransportLocationId: string | null;
3015
+ deliveryTransportLocation: TransportLocation;
3016
+ etd: string | null;
3017
+ eta: string | null;
3018
+ etaPod: string | null;
3019
+ approvalDeadline: string | null;
3020
+ originAgentRef: string | null;
3021
+ masterBillRef: string | null;
3022
+ houseBillRef: string | null;
3023
+ routingVehicleName: string | null;
3024
+ noOfLines: number | null;
3025
+ totalBookedQuantity: number | null;
3026
+ createUserId: string | null;
3027
+ user: User;
3028
+ lastApprovalDate: string | null;
3029
+ lastApprovalUserId: string | null;
3030
+ lastApprovalUser: User;
3031
+ shipmentConfirmDate: string | null;
3032
+ shipmentConfirmUserId: string | null;
3033
+ shipmentConfirmUser: User;
3034
+ exportCountryId: string | null;
3035
+ exportCountry: Country;
3036
+ transportCarrierId: string | null;
3037
+ transportCarrier: TransportCarrier;
3038
+ reference: string | null;
3039
+ supplierId?: string | null;
3040
+ supplier?: Supplier | null;
3041
+ }
3042
+ declare namespace Shipment {
3043
+ }
3044
+
3045
+ /**
3046
+ * Dcm.API.Client
3047
+ *
3048
+ *
3049
+ *
3050
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3051
+ * https://openapi-generator.tech
3052
+ * Do not edit the class manually.
3053
+ */
3054
+
3055
+ interface Shipments {
3056
+ total: number;
3057
+ data: Array<Shipment>;
3058
+ }
3059
+
3060
+ /**
3061
+ * Dcm.API.Client
3062
+ *
3063
+ *
3064
+ *
3065
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3066
+ * https://openapi-generator.tech
3067
+ * Do not edit the class manually.
3068
+ */
3069
+ interface ShipmentsApprovalCount {
3070
+ shipmentsCount: number;
3071
+ autoApprovedShipmentsCount: number;
3072
+ }
3073
+
3074
+ /**
3075
+ * Dcm.API.Client
3076
+ *
3077
+ *
3078
+ *
3079
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3080
+ * https://openapi-generator.tech
3081
+ * Do not edit the class manually.
3082
+ */
3083
+ interface ShipmentsCount {
3084
+ shipmentsCount: number;
3085
+ }
3086
+
3087
+ /**
3088
+ * Dcm.API.Client
3089
+ *
3090
+ *
3091
+ *
3092
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3093
+ * https://openapi-generator.tech
3094
+ * Do not edit the class manually.
3095
+ */
3096
+ interface ShipmentsInTransitCount {
3097
+ shipmentsCount: number;
3098
+ }
3099
+
3100
+ declare class ShipmentsService extends BaseService {
3101
+ protected httpClient: HttpClient;
3102
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
3103
+ /**
3104
+ * Shipment approvals list
3105
+ * @param $skip
3106
+ * @param $top
3107
+ * @param $orderby
3108
+ * @param $filter
3109
+ * @param $search
3110
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3111
+ * @param reportProgress flag to report request and response progress.
3112
+ */
3113
+ getShipmentApprovals($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
3114
+ httpHeaderAccept?: 'application/json';
3115
+ context?: HttpContext;
3116
+ transferCache?: boolean;
3117
+ }): Observable<ShipmentApprovals>;
3118
+ getShipmentApprovals($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
3119
+ httpHeaderAccept?: 'application/json';
3120
+ context?: HttpContext;
3121
+ transferCache?: boolean;
3122
+ }): Observable<HttpResponse<ShipmentApprovals>>;
3123
+ getShipmentApprovals($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
3124
+ httpHeaderAccept?: 'application/json';
3125
+ context?: HttpContext;
3126
+ transferCache?: boolean;
3127
+ }): Observable<HttpEvent<ShipmentApprovals>>;
3128
+ /**
3129
+ * Shipment approvals list
3130
+ * @param $skip
3131
+ * @param $top
3132
+ * @param $orderby
3133
+ * @param $filter
3134
+ * @param searchTerm
3135
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3136
+ * @param reportProgress flag to report request and response progress.
3137
+ */
3138
+ getShipmentApprovalsFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'body', reportProgress?: boolean, options?: {
3139
+ httpHeaderAccept?: 'application/json';
3140
+ context?: HttpContext;
3141
+ transferCache?: boolean;
3142
+ }): Observable<ShipmentApprovals>;
3143
+ getShipmentApprovalsFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'response', reportProgress?: boolean, options?: {
3144
+ httpHeaderAccept?: 'application/json';
3145
+ context?: HttpContext;
3146
+ transferCache?: boolean;
3147
+ }): Observable<HttpResponse<ShipmentApprovals>>;
3148
+ getShipmentApprovalsFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'events', reportProgress?: boolean, options?: {
3149
+ httpHeaderAccept?: 'application/json';
3150
+ context?: HttpContext;
3151
+ transferCache?: boolean;
3152
+ }): Observable<HttpEvent<ShipmentApprovals>>;
3153
+ /**
3154
+ * Shipment items list
3155
+ * @param id
3156
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3157
+ * @param reportProgress flag to report request and response progress.
3158
+ */
3159
+ getShipmentItems(id: string, observe?: 'body', reportProgress?: boolean, options?: {
3160
+ httpHeaderAccept?: 'application/json';
3161
+ context?: HttpContext;
3162
+ transferCache?: boolean;
3163
+ }): Observable<ShipmentItems>;
3164
+ getShipmentItems(id: string, observe?: 'response', reportProgress?: boolean, options?: {
3165
+ httpHeaderAccept?: 'application/json';
3166
+ context?: HttpContext;
3167
+ transferCache?: boolean;
3168
+ }): Observable<HttpResponse<ShipmentItems>>;
3169
+ getShipmentItems(id: string, observe?: 'events', reportProgress?: boolean, options?: {
3170
+ httpHeaderAccept?: 'application/json';
3171
+ context?: HttpContext;
3172
+ transferCache?: boolean;
3173
+ }): Observable<HttpEvent<ShipmentItems>>;
3174
+ /**
3175
+ * Getting a shipment product totals
3176
+ * @param shipmentId
3177
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3178
+ * @param reportProgress flag to report request and response progress.
3179
+ */
3180
+ getShipmentProductTotals(shipmentId: string, observe?: 'body', reportProgress?: boolean, options?: {
3181
+ httpHeaderAccept?: 'application/json';
3182
+ context?: HttpContext;
3183
+ transferCache?: boolean;
3184
+ }): Observable<ShipmentProductTotals>;
3185
+ getShipmentProductTotals(shipmentId: string, observe?: 'response', reportProgress?: boolean, options?: {
3186
+ httpHeaderAccept?: 'application/json';
3187
+ context?: HttpContext;
3188
+ transferCache?: boolean;
3189
+ }): Observable<HttpResponse<ShipmentProductTotals>>;
3190
+ getShipmentProductTotals(shipmentId: string, observe?: 'events', reportProgress?: boolean, options?: {
3191
+ httpHeaderAccept?: 'application/json';
3192
+ context?: HttpContext;
3193
+ transferCache?: boolean;
3194
+ }): Observable<HttpEvent<ShipmentProductTotals>>;
3195
+ /**
3196
+ * Getting a shipment products
3197
+ * @param id
3198
+ * @param $skip
3199
+ * @param $top
3200
+ * @param $orderby
3201
+ * @param $filter
3202
+ * @param $search
3203
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3204
+ * @param reportProgress flag to report request and response progress.
3205
+ */
3206
+ getShipmentProducts(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
3207
+ httpHeaderAccept?: 'application/json';
3208
+ context?: HttpContext;
3209
+ transferCache?: boolean;
3210
+ }): Observable<ShipmentProducts>;
3211
+ getShipmentProducts(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
3212
+ httpHeaderAccept?: 'application/json';
3213
+ context?: HttpContext;
3214
+ transferCache?: boolean;
3215
+ }): Observable<HttpResponse<ShipmentProducts>>;
3216
+ getShipmentProducts(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
3217
+ httpHeaderAccept?: 'application/json';
3218
+ context?: HttpContext;
3219
+ transferCache?: boolean;
3220
+ }): Observable<HttpEvent<ShipmentProducts>>;
3221
+ /**
3222
+ * Getting a shipment routing by shipmentId
3223
+ * @param shipmentId
3224
+ * @param type
3225
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3226
+ * @param reportProgress flag to report request and response progress.
3227
+ */
3228
+ getShipmentRouting(shipmentId: string, type: TransportMode, observe?: 'body', reportProgress?: boolean, options?: {
3229
+ httpHeaderAccept?: 'application/json';
3230
+ context?: HttpContext;
3231
+ transferCache?: boolean;
3232
+ }): Observable<Array<ShipmentRoutingsInner>>;
3233
+ getShipmentRouting(shipmentId: string, type: TransportMode, observe?: 'response', reportProgress?: boolean, options?: {
3234
+ httpHeaderAccept?: 'application/json';
3235
+ context?: HttpContext;
3236
+ transferCache?: boolean;
3237
+ }): Observable<HttpResponse<Array<ShipmentRoutingsInner>>>;
3238
+ getShipmentRouting(shipmentId: string, type: TransportMode, observe?: 'events', reportProgress?: boolean, options?: {
3239
+ httpHeaderAccept?: 'application/json';
3240
+ context?: HttpContext;
3241
+ transferCache?: boolean;
3242
+ }): Observable<HttpEvent<Array<ShipmentRoutingsInner>>>;
3243
+ /**
3244
+ * Getting a shipment summary by id
3245
+ * @param id
3246
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3247
+ * @param reportProgress flag to report request and response progress.
3248
+ */
3249
+ getShipmentSummary(id: string, observe?: 'body', reportProgress?: boolean, options?: {
3250
+ httpHeaderAccept?: 'application/json';
3251
+ context?: HttpContext;
3252
+ transferCache?: boolean;
3253
+ }): Observable<ShipmentSummary>;
3254
+ getShipmentSummary(id: string, observe?: 'response', reportProgress?: boolean, options?: {
3255
+ httpHeaderAccept?: 'application/json';
3256
+ context?: HttpContext;
3257
+ transferCache?: boolean;
3258
+ }): Observable<HttpResponse<ShipmentSummary>>;
3259
+ getShipmentSummary(id: string, observe?: 'events', reportProgress?: boolean, options?: {
3260
+ httpHeaderAccept?: 'application/json';
3261
+ context?: HttpContext;
3262
+ transferCache?: boolean;
3263
+ }): Observable<HttpEvent<ShipmentSummary>>;
3264
+ /**
3265
+ * Getting a shipment timeline
3266
+ * @param id
3267
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3268
+ * @param reportProgress flag to report request and response progress.
3269
+ */
3270
+ getShipmentTimeline(id: string, observe?: 'body', reportProgress?: boolean, options?: {
3271
+ httpHeaderAccept?: 'application/json';
3272
+ context?: HttpContext;
3273
+ transferCache?: boolean;
3274
+ }): Observable<Array<ShipmentTimelineInner>>;
3275
+ getShipmentTimeline(id: string, observe?: 'response', reportProgress?: boolean, options?: {
3276
+ httpHeaderAccept?: 'application/json';
3277
+ context?: HttpContext;
3278
+ transferCache?: boolean;
3279
+ }): Observable<HttpResponse<Array<ShipmentTimelineInner>>>;
3280
+ getShipmentTimeline(id: string, observe?: 'events', reportProgress?: boolean, options?: {
3281
+ httpHeaderAccept?: 'application/json';
3282
+ context?: HttpContext;
3283
+ transferCache?: boolean;
3284
+ }): Observable<HttpEvent<Array<ShipmentTimelineInner>>>;
3285
+ /**
3286
+ * Shipments list
3287
+ * @param $skip
3288
+ * @param $top
3289
+ * @param $orderby
3290
+ * @param $filter
3291
+ * @param $search
3292
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3293
+ * @param reportProgress flag to report request and response progress.
3294
+ */
3295
+ getShipments($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
3296
+ httpHeaderAccept?: 'application/json';
3297
+ context?: HttpContext;
3298
+ transferCache?: boolean;
3299
+ }): Observable<Shipments>;
3300
+ getShipments($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
3301
+ httpHeaderAccept?: 'application/json';
3302
+ context?: HttpContext;
3303
+ transferCache?: boolean;
3304
+ }): Observable<HttpResponse<Shipments>>;
3305
+ getShipments($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
3306
+ httpHeaderAccept?: 'application/json';
3307
+ context?: HttpContext;
3308
+ transferCache?: boolean;
3309
+ }): Observable<HttpEvent<Shipments>>;
3310
+ /**
3311
+ * Approval waiting shipments
3312
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3313
+ * @param reportProgress flag to report request and response progress.
3314
+ */
3315
+ getShipmentsApprovalCount(observe?: 'body', reportProgress?: boolean, options?: {
3316
+ httpHeaderAccept?: 'application/json';
3317
+ context?: HttpContext;
3318
+ transferCache?: boolean;
3319
+ }): Observable<ShipmentsApprovalCount>;
3320
+ getShipmentsApprovalCount(observe?: 'response', reportProgress?: boolean, options?: {
3321
+ httpHeaderAccept?: 'application/json';
3322
+ context?: HttpContext;
3323
+ transferCache?: boolean;
3324
+ }): Observable<HttpResponse<ShipmentsApprovalCount>>;
3325
+ getShipmentsApprovalCount(observe?: 'events', reportProgress?: boolean, options?: {
3326
+ httpHeaderAccept?: 'application/json';
3327
+ context?: HttpContext;
3328
+ transferCache?: boolean;
3329
+ }): Observable<HttpEvent<ShipmentsApprovalCount>>;
3330
+ /**
3331
+ * Get shipments count by state
3332
+ * @param state
3333
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3334
+ * @param reportProgress flag to report request and response progress.
3335
+ */
3336
+ getShipmentsCountByState(state: ShipmentState, observe?: 'body', reportProgress?: boolean, options?: {
3337
+ httpHeaderAccept?: 'application/json';
3338
+ context?: HttpContext;
3339
+ transferCache?: boolean;
3340
+ }): Observable<ShipmentsCount>;
3341
+ getShipmentsCountByState(state: ShipmentState, observe?: 'response', reportProgress?: boolean, options?: {
3342
+ httpHeaderAccept?: 'application/json';
3343
+ context?: HttpContext;
3344
+ transferCache?: boolean;
3345
+ }): Observable<HttpResponse<ShipmentsCount>>;
3346
+ getShipmentsCountByState(state: ShipmentState, observe?: 'events', reportProgress?: boolean, options?: {
3347
+ httpHeaderAccept?: 'application/json';
3348
+ context?: HttpContext;
3349
+ transferCache?: boolean;
3350
+ }): Observable<HttpEvent<ShipmentsCount>>;
3351
+ /**
3352
+ * Shipments list
3353
+ * @param $skip
3354
+ * @param $top
3355
+ * @param $orderby
3356
+ * @param $filter
3357
+ * @param searchTerm
3358
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3359
+ * @param reportProgress flag to report request and response progress.
3360
+ */
3361
+ getShipmentsFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'body', reportProgress?: boolean, options?: {
3362
+ httpHeaderAccept?: 'application/json';
3363
+ context?: HttpContext;
3364
+ transferCache?: boolean;
3365
+ }): Observable<Shipments>;
3366
+ getShipmentsFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'response', reportProgress?: boolean, options?: {
3367
+ httpHeaderAccept?: 'application/json';
3368
+ context?: HttpContext;
3369
+ transferCache?: boolean;
3370
+ }): Observable<HttpResponse<Shipments>>;
3371
+ getShipmentsFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'events', reportProgress?: boolean, options?: {
3372
+ httpHeaderAccept?: 'application/json';
3373
+ context?: HttpContext;
3374
+ transferCache?: boolean;
3375
+ }): Observable<HttpEvent<Shipments>>;
3376
+ /**
3377
+ * In transit shipments
3378
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3379
+ * @param reportProgress flag to report request and response progress.
3380
+ */
3381
+ getShipmentsInTransitCount(observe?: 'body', reportProgress?: boolean, options?: {
3382
+ httpHeaderAccept?: 'application/json';
3383
+ context?: HttpContext;
3384
+ transferCache?: boolean;
3385
+ }): Observable<ShipmentsInTransitCount>;
3386
+ getShipmentsInTransitCount(observe?: 'response', reportProgress?: boolean, options?: {
3387
+ httpHeaderAccept?: 'application/json';
3388
+ context?: HttpContext;
3389
+ transferCache?: boolean;
3390
+ }): Observable<HttpResponse<ShipmentsInTransitCount>>;
3391
+ getShipmentsInTransitCount(observe?: 'events', reportProgress?: boolean, options?: {
3392
+ httpHeaderAccept?: 'application/json';
3393
+ context?: HttpContext;
3394
+ transferCache?: boolean;
3395
+ }): Observable<HttpEvent<ShipmentsInTransitCount>>;
3396
+ /**
3397
+ * Get shipments pending documents
3398
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3399
+ * @param reportProgress flag to report request and response progress.
3400
+ */
3401
+ getShipmentsPendingDocuments(observe?: 'body', reportProgress?: boolean, options?: {
3402
+ httpHeaderAccept?: 'application/json';
3403
+ context?: HttpContext;
3404
+ transferCache?: boolean;
3405
+ }): Observable<ShipmentsCount>;
3406
+ getShipmentsPendingDocuments(observe?: 'response', reportProgress?: boolean, options?: {
3407
+ httpHeaderAccept?: 'application/json';
3408
+ context?: HttpContext;
3409
+ transferCache?: boolean;
3410
+ }): Observable<HttpResponse<ShipmentsCount>>;
3411
+ getShipmentsPendingDocuments(observe?: 'events', reportProgress?: boolean, options?: {
3412
+ httpHeaderAccept?: 'application/json';
3413
+ context?: HttpContext;
3414
+ transferCache?: boolean;
3415
+ }): Observable<HttpEvent<ShipmentsCount>>;
3416
+ /**
3417
+ * Get pending shipment instructions
3418
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3419
+ * @param reportProgress flag to report request and response progress.
3420
+ */
3421
+ getShipmentsPendingInstructions(observe?: 'body', reportProgress?: boolean, options?: {
3422
+ httpHeaderAccept?: 'application/json';
3423
+ context?: HttpContext;
3424
+ transferCache?: boolean;
3425
+ }): Observable<ShipmentsCount>;
3426
+ getShipmentsPendingInstructions(observe?: 'response', reportProgress?: boolean, options?: {
3427
+ httpHeaderAccept?: 'application/json';
3428
+ context?: HttpContext;
3429
+ transferCache?: boolean;
3430
+ }): Observable<HttpResponse<ShipmentsCount>>;
3431
+ getShipmentsPendingInstructions(observe?: 'events', reportProgress?: boolean, options?: {
3432
+ httpHeaderAccept?: 'application/json';
3433
+ context?: HttpContext;
3434
+ transferCache?: boolean;
3435
+ }): Observable<HttpEvent<ShipmentsCount>>;
3436
+ /**
3437
+ * Update the shipment state
3438
+ * @param id
3439
+ * @param state
3440
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3441
+ * @param reportProgress flag to report request and response progress.
3442
+ */
3443
+ updateShipmentState(id: string, state: ShipmentState, observe?: 'body', reportProgress?: boolean, options?: {
3444
+ httpHeaderAccept?: 'application/json';
3445
+ context?: HttpContext;
3446
+ transferCache?: boolean;
3447
+ }): Observable<boolean>;
3448
+ updateShipmentState(id: string, state: ShipmentState, observe?: 'response', reportProgress?: boolean, options?: {
3449
+ httpHeaderAccept?: 'application/json';
3450
+ context?: HttpContext;
3451
+ transferCache?: boolean;
3452
+ }): Observable<HttpResponse<boolean>>;
3453
+ updateShipmentState(id: string, state: ShipmentState, observe?: 'events', reportProgress?: boolean, options?: {
3454
+ httpHeaderAccept?: 'application/json';
3455
+ context?: HttpContext;
3456
+ transferCache?: boolean;
3457
+ }): Observable<HttpEvent<boolean>>;
3458
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShipmentsService, [null, { optional: true; }, { optional: true; }]>;
3459
+ static ɵprov: i0.ɵɵInjectableDeclaration<ShipmentsService>;
3460
+ }
3461
+
3462
+ /**
3463
+ * Dcm.API.Client
3464
+ *
3465
+ *
3466
+ *
3467
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3468
+ * https://openapi-generator.tech
3469
+ * Do not edit the class manually.
3470
+ */
3471
+
3472
+ interface ShipmentItemSummary {
3473
+ id: string;
3474
+ reference: string;
3475
+ bookedQuantity: number;
3476
+ shippedQuantity: number;
3477
+ routingVehicleName: string;
3478
+ type: TransportMode | null;
3479
+ etd: string | null;
3480
+ eta: string | null;
3481
+ createDate: string;
3482
+ shipmentId: string;
3483
+ }
3484
+ declare namespace ShipmentItemSummary {
3485
+ }
3486
+
3487
+ /**
3488
+ * Dcm.API.Client
3489
+ *
3490
+ *
3491
+ *
3492
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3493
+ * https://openapi-generator.tech
3494
+ * Do not edit the class manually.
3495
+ */
3496
+
3497
+ interface ShipmentItemSummaries {
3498
+ total: number;
3499
+ data: Array<ShipmentItemSummary>;
3500
+ }
3501
+
3502
+ declare class SipmetItemsService extends BaseService {
3503
+ protected httpClient: HttpClient;
3504
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
3505
+ /**
3506
+ * Getting shipment items summary list
3507
+ * @param id
3508
+ * @param $skip
3509
+ * @param $top
3510
+ * @param $orderby
3511
+ * @param $filter
3512
+ * @param $search
3513
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3514
+ * @param reportProgress flag to report request and response progress.
3515
+ */
3516
+ getShipmentItemSummaries(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
3517
+ httpHeaderAccept?: 'application/json';
3518
+ context?: HttpContext;
3519
+ transferCache?: boolean;
3520
+ }): Observable<ShipmentItemSummaries>;
3521
+ getShipmentItemSummaries(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
3522
+ httpHeaderAccept?: 'application/json';
3523
+ context?: HttpContext;
3524
+ transferCache?: boolean;
3525
+ }): Observable<HttpResponse<ShipmentItemSummaries>>;
3526
+ getShipmentItemSummaries(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
3527
+ httpHeaderAccept?: 'application/json';
3528
+ context?: HttpContext;
3529
+ transferCache?: boolean;
3530
+ }): Observable<HttpEvent<ShipmentItemSummaries>>;
3531
+ static ɵfac: i0.ɵɵFactoryDeclaration<SipmetItemsService, [null, { optional: true; }, { optional: true; }]>;
3532
+ static ɵprov: i0.ɵɵInjectableDeclaration<SipmetItemsService>;
3533
+ }
3534
+
3535
+ /**
3536
+ * Dcm.API.Client
3537
+ *
3538
+ *
3539
+ *
3540
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3541
+ * https://openapi-generator.tech
3542
+ * Do not edit the class manually.
3543
+ */
3544
+ interface CommandStatusResult {
3545
+ isSuccess: boolean;
3546
+ }
3547
+
3548
+ /**
3549
+ * Dcm.API.Client
3550
+ *
3551
+ *
3552
+ *
3553
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3554
+ * https://openapi-generator.tech
3555
+ * Do not edit the class manually.
3556
+ */
3557
+ declare const UserCompanyType: {
3558
+ readonly Dc: "DC";
3559
+ readonly Client: "Client";
3560
+ readonly OriginAgent: "OriginAgent";
3561
+ readonly DestinationAgent: "DestinationAgent";
3562
+ readonly Vendor: "Vendor";
3563
+ readonly Integration: "Integration";
3564
+ readonly SystemAdmin: "SystemAdmin";
3565
+ readonly ReportAdmin: "ReportAdmin";
3566
+ readonly SsSysAdmin: "SS_SysAdmin";
3567
+ readonly SsReportAdmin: "SS_ReportAdmin";
3568
+ };
3569
+ type UserCompanyType = typeof UserCompanyType[keyof typeof UserCompanyType];
3570
+
3571
+ /**
3572
+ * Dcm.API.Client
3573
+ *
3574
+ *
3575
+ *
3576
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3577
+ * https://openapi-generator.tech
3578
+ * Do not edit the class manually.
3579
+ */
3580
+
3581
+ interface CurrentUser {
3582
+ id: number;
3583
+ userName: string | null;
3584
+ email: string | null;
3585
+ firstName: string | null;
3586
+ lastName: string | null;
3587
+ name: string | null;
3588
+ companyName: string;
3589
+ companyType?: UserCompanyType;
3590
+ }
3591
+ declare namespace CurrentUser {
3592
+ }
3593
+
3594
+ /**
3595
+ * Dcm.API.Client
3596
+ *
3597
+ *
3598
+ *
3599
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3600
+ * https://openapi-generator.tech
3601
+ * Do not edit the class manually.
3602
+ */
3603
+ interface PendingMessagesCount {
3604
+ count: number;
3605
+ }
3606
+
3607
+ /**
3608
+ * Dcm.API.Client
3609
+ *
3610
+ *
3611
+ *
3612
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3613
+ * https://openapi-generator.tech
3614
+ * Do not edit the class manually.
3615
+ */
3616
+ interface SetNewFeaturesVisibilityCommand {
3617
+ value: boolean;
3618
+ }
3619
+
3620
+ /**
3621
+ * Dcm.API.Client
3622
+ *
3623
+ *
3624
+ *
3625
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3626
+ * https://openapi-generator.tech
3627
+ * Do not edit the class manually.
3628
+ */
3629
+ interface UserApplication {
3630
+ name: string;
3631
+ url: string | null;
3632
+ }
3633
+
3634
+ /**
3635
+ * Dcm.API.Client
3636
+ *
3637
+ *
3638
+ *
3639
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3640
+ * https://openapi-generator.tech
3641
+ * Do not edit the class manually.
3642
+ */
3643
+
3644
+ interface UserApplications {
3645
+ applications: Array<UserApplication>;
3646
+ }
3647
+
3648
+ declare class UserService extends BaseService {
3649
+ protected httpClient: HttpClient;
3650
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
3651
+ /**
3652
+ * Chat messages pending count
3653
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3654
+ * @param reportProgress flag to report request and response progress.
3655
+ */
3656
+ getChatPendingCount(observe?: 'body', reportProgress?: boolean, options?: {
3657
+ httpHeaderAccept?: 'application/json';
3658
+ context?: HttpContext;
3659
+ transferCache?: boolean;
3660
+ }): Observable<PendingMessagesCount>;
3661
+ getChatPendingCount(observe?: 'response', reportProgress?: boolean, options?: {
3662
+ httpHeaderAccept?: 'application/json';
3663
+ context?: HttpContext;
3664
+ transferCache?: boolean;
3665
+ }): Observable<HttpResponse<PendingMessagesCount>>;
3666
+ getChatPendingCount(observe?: 'events', reportProgress?: boolean, options?: {
3667
+ httpHeaderAccept?: 'application/json';
3668
+ context?: HttpContext;
3669
+ transferCache?: boolean;
3670
+ }): Observable<HttpEvent<PendingMessagesCount>>;
3671
+ /**
3672
+ * Mail messages pending count
3673
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3674
+ * @param reportProgress flag to report request and response progress.
3675
+ */
3676
+ getMailPendingCount(observe?: 'body', reportProgress?: boolean, options?: {
3677
+ httpHeaderAccept?: 'application/json';
3678
+ context?: HttpContext;
3679
+ transferCache?: boolean;
3680
+ }): Observable<PendingMessagesCount>;
3681
+ getMailPendingCount(observe?: 'response', reportProgress?: boolean, options?: {
3682
+ httpHeaderAccept?: 'application/json';
3683
+ context?: HttpContext;
3684
+ transferCache?: boolean;
3685
+ }): Observable<HttpResponse<PendingMessagesCount>>;
3686
+ getMailPendingCount(observe?: 'events', reportProgress?: boolean, options?: {
3687
+ httpHeaderAccept?: 'application/json';
3688
+ context?: HttpContext;
3689
+ transferCache?: boolean;
3690
+ }): Observable<HttpEvent<PendingMessagesCount>>;
3691
+ /**
3692
+ * Get User application list
3693
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3694
+ * @param reportProgress flag to report request and response progress.
3695
+ */
3696
+ getUserApplicationList(observe?: 'body', reportProgress?: boolean, options?: {
3697
+ httpHeaderAccept?: 'application/json';
3698
+ context?: HttpContext;
3699
+ transferCache?: boolean;
3700
+ }): Observable<UserApplications>;
3701
+ getUserApplicationList(observe?: 'response', reportProgress?: boolean, options?: {
3702
+ httpHeaderAccept?: 'application/json';
3703
+ context?: HttpContext;
3704
+ transferCache?: boolean;
3705
+ }): Observable<HttpResponse<UserApplications>>;
3706
+ getUserApplicationList(observe?: 'events', reportProgress?: boolean, options?: {
3707
+ httpHeaderAccept?: 'application/json';
3708
+ context?: HttpContext;
3709
+ transferCache?: boolean;
3710
+ }): Observable<HttpEvent<UserApplications>>;
3711
+ /**
3712
+ * User information
3713
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3714
+ * @param reportProgress flag to report request and response progress.
3715
+ */
3716
+ getUserInfo(observe?: 'body', reportProgress?: boolean, options?: {
3717
+ httpHeaderAccept?: 'application/json';
3718
+ context?: HttpContext;
3719
+ transferCache?: boolean;
3720
+ }): Observable<CurrentUser>;
3721
+ getUserInfo(observe?: 'response', reportProgress?: boolean, options?: {
3722
+ httpHeaderAccept?: 'application/json';
3723
+ context?: HttpContext;
3724
+ transferCache?: boolean;
3725
+ }): Observable<HttpResponse<CurrentUser>>;
3726
+ getUserInfo(observe?: 'events', reportProgress?: boolean, options?: {
3727
+ httpHeaderAccept?: 'application/json';
3728
+ context?: HttpContext;
3729
+ transferCache?: boolean;
3730
+ }): Observable<HttpEvent<CurrentUser>>;
3731
+ /**
3732
+ * Set NewFeaturesVisibility setting
3733
+ * @param setNewFeaturesVisibilityCommand
3734
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3735
+ * @param reportProgress flag to report request and response progress.
3736
+ */
3737
+ setNewFeaturesVisibility(setNewFeaturesVisibilityCommand?: SetNewFeaturesVisibilityCommand, observe?: 'body', reportProgress?: boolean, options?: {
3738
+ httpHeaderAccept?: 'application/json';
3739
+ context?: HttpContext;
3740
+ transferCache?: boolean;
3741
+ }): Observable<CommandStatusResult>;
3742
+ setNewFeaturesVisibility(setNewFeaturesVisibilityCommand?: SetNewFeaturesVisibilityCommand, observe?: 'response', reportProgress?: boolean, options?: {
3743
+ httpHeaderAccept?: 'application/json';
3744
+ context?: HttpContext;
3745
+ transferCache?: boolean;
3746
+ }): Observable<HttpResponse<CommandStatusResult>>;
3747
+ setNewFeaturesVisibility(setNewFeaturesVisibilityCommand?: SetNewFeaturesVisibilityCommand, observe?: 'events', reportProgress?: boolean, options?: {
3748
+ httpHeaderAccept?: 'application/json';
3749
+ context?: HttpContext;
3750
+ transferCache?: boolean;
3751
+ }): Observable<HttpEvent<CommandStatusResult>>;
3752
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserService, [null, { optional: true; }, { optional: true; }]>;
3753
+ static ɵprov: i0.ɵɵInjectableDeclaration<UserService>;
3754
+ }
3755
+
3756
+ declare const APIS: (typeof AuditLogsService | typeof BookingsService | typeof CompaniesService | typeof ContainersService | typeof DocumentsService | typeof HealthService | typeof NotesService | typeof PermissionsService | typeof PoItemsService | typeof PurchaseOrdersService | typeof ReportsService | typeof SettingsService | typeof ShipmentsService | typeof SipmetItemsService | typeof UserService)[];
3757
+
3758
+ /**
3759
+ * Dcm.API.Client
3760
+ *
3761
+ *
3762
+ *
3763
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3764
+ * https://openapi-generator.tech
3765
+ * Do not edit the class manually.
3766
+ */
3767
+ interface EntityList {
3768
+ total: number;
3769
+ data: Array<object>;
3770
+ }
3771
+
3772
+ /**
3773
+ * Dcm.API.Client
3774
+ *
3775
+ *
3776
+ *
3777
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3778
+ * https://openapi-generator.tech
3779
+ * Do not edit the class manually.
3780
+ */
3781
+ interface ModelError {
3782
+ title: string;
3783
+ status: number;
3784
+ errors: {
3785
+ [key: string]: Array<string>;
3786
+ } | null;
3787
+ }
3788
+
3789
+ /**
3790
+ * Dcm.API.Client
3791
+ *
3792
+ *
3793
+ *
3794
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3795
+ * https://openapi-generator.tech
3796
+ * Do not edit the class manually.
3797
+ */
3798
+
3799
+ interface PurchaseOrderView {
3800
+ id: string;
3801
+ poNumber: string;
3802
+ clientId: string | null;
3803
+ clientName: string;
3804
+ supplierId?: string | null;
3805
+ supplierName: string;
3806
+ supplierCode: string;
3807
+ currencyId: string | null;
3808
+ currencyCode: string;
3809
+ currencyDescription: string;
3810
+ buyer: string;
3811
+ poDate: string;
3812
+ shippingTermLocation: string;
3813
+ deliveryDate: string | null;
3814
+ state: PurchaseOrderState | null;
3815
+ shippingTerms: ShipmentTerm | null;
3816
+ transportMode: TransportMode | null;
3817
+ noOfLines: number;
3818
+ totalUnits: number;
3819
+ exDate: string | null;
3820
+ createdDate: string;
3821
+ consigneeId: string | null;
3822
+ consigneeName: string;
3823
+ }
3824
+ declare namespace PurchaseOrderView {
3825
+ }
3826
+
3827
+ declare const BASE_PATH: InjectionToken<string>;
3828
+ declare const COLLECTION_FORMATS: {
3829
+ csv: string;
3830
+ tsv: string;
3831
+ ssv: string;
3832
+ pipes: string;
3833
+ };
3834
+
3835
+ declare class ApiModule {
3836
+ static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ApiModule>;
3837
+ constructor(parentModule: ApiModule, http: HttpClient);
3838
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApiModule, [{ optional: true; skipSelf: true; }, { optional: true; }]>;
3839
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ApiModule, never, never, never>;
3840
+ static ɵinj: i0.ɵɵInjectorDeclaration<ApiModule>;
3841
+ }
3842
+
3843
+ declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
3844
+
3845
+ export { APIS, ApiModule, ApprovalShipmentTimelineItem, ApprovalTypes, AuditLog, AuditLogsService, BASE_PATH, BookingsService, COLLECTION_FORMATS, CompaniesService, Configuration, ContainerBookedState, ContainerGridView, ContainerShipmentView, ContainerSize, ContainerType, ContainerView, ContainersService, CurrentUser, DeliveryShipmentTimelineItem, Document, DocumentType, DocumentsService, EmbedReportInfoModel, EntityState, HealthService, JourneySegmentType, NoteSourceTypes, NotesService, PermissionsService, PoItemState, PoItemsService, PowerBiTenant, PurchaseOrderGridView, PurchaseOrderItem, PurchaseOrderState, PurchaseOrderSummary, PurchaseOrderView, PurchaseOrdersService, RecordTypes, ReportsService, RoutingLegType, SettingsService, Shipment, ShipmentAirRouting, ShipmentApproval, ShipmentApprovalType, ShipmentContainer, ShipmentItemSummary, ShipmentRoadRouting, ShipmentRouting, ShipmentSeaRouting, ShipmentState, ShipmentSummary, ShipmentTerm, ShipmentTimelineItem, ShipmentsService, SipmetItemsService, TimelineEventStates, TimelineEventTypes, TransportMode, TransportationShipmentTimelineItem, UnbookedPoLineItem, UserCompanyType, UserService, WorkflowArtifacts, provideApi };
3846
+ export type { ApprovalContainerInfo, ApprovalContainerRules, ApprovalItemRules, ApprovalRules, AuditLogs, BookingsCount, Column, CommandStatusResult, Companies, Company, ConfigurationParameters, Consignee, ContainerItemView, ContainerItems, ContainerPoGridView, ContainerPos, Containers, ContainersCount, ContainersToDeliverCount, Country, DashboardReportGroup, DashboardReports, DataFormat, DataType, Dc, DepartmentShipment, Documents, EmbedReport, EmbedTokenDto, EntityList, ModelError, Note, NoteView, Notes, Param, ParamLocation, ParamStyle, PaymentTerm, PendingMessagesCount, PoItemSummary, PoItemTotals, Port, PurchaseOrderItems, PurchaseOrders, SetNewFeaturesVisibilityCommand, SettingValue, SettingView, ShipmentApprovals, ShipmentContainers, ShipmentItem, ShipmentItemSummaries, ShipmentItems, ShipmentProduct, ShipmentProductTotals, ShipmentProducts, ShipmentRoutingsInner, ShipmentTimelineInner, Shipments, ShipmentsApprovalCount, ShipmentsCount, ShipmentsInTransitCount, StandardDataFormat, StandardDataType, StandardParamStyle, SummaryDashboardReports, Supplier, TransportCarrier, TransportLocation, UnbookedPoLineItems, User, UserApplication, UserApplications, UserPermissions };