@indigina/dcm-api 0.0.66 → 0.0.68

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