@indigina/dcm-api 0.0.79 → 0.0.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/fesm2022/indigina-dcm-api.mjs +89 -2
- package/fesm2022/indigina-dcm-api.mjs.map +1 -1
- package/index.d.ts +45 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @indigina/dcm-api@0.0.
|
|
1
|
+
# @indigina/dcm-api@0.0.81
|
|
2
2
|
|
|
3
3
|
DCM API Client for Angular applications
|
|
4
4
|
|
|
@@ -24,7 +24,7 @@ Navigate to the folder of your consuming project and run one of next commands.
|
|
|
24
24
|
_published:_
|
|
25
25
|
|
|
26
26
|
```console
|
|
27
|
-
npm install @indigina/dcm-api@0.0.
|
|
27
|
+
npm install @indigina/dcm-api@0.0.81 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -1268,6 +1268,83 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
1268
1268
|
type: Optional
|
|
1269
1269
|
}] }] });
|
|
1270
1270
|
|
|
1271
|
+
/**
|
|
1272
|
+
* Dcm.API.Client
|
|
1273
|
+
*
|
|
1274
|
+
*
|
|
1275
|
+
*
|
|
1276
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1277
|
+
* https://openapi-generator.tech
|
|
1278
|
+
* Do not edit the class manually.
|
|
1279
|
+
*/
|
|
1280
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1281
|
+
class DeliveryBookingDcsService extends BaseService {
|
|
1282
|
+
httpClient;
|
|
1283
|
+
constructor(httpClient, basePath, configuration) {
|
|
1284
|
+
super(basePath, configuration);
|
|
1285
|
+
this.httpClient = httpClient;
|
|
1286
|
+
}
|
|
1287
|
+
getDeliveryBookingDcs(containerIds, observe = 'body', reportProgress = false, options) {
|
|
1288
|
+
if (containerIds === null || containerIds === undefined) {
|
|
1289
|
+
throw new Error('Required parameter containerIds was null or undefined when calling getDeliveryBookingDcs.');
|
|
1290
|
+
}
|
|
1291
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1292
|
+
if (containerIds) {
|
|
1293
|
+
containerIds.forEach((element) => {
|
|
1294
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, 'containerIds');
|
|
1295
|
+
});
|
|
1296
|
+
}
|
|
1297
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1298
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1299
|
+
'application/json'
|
|
1300
|
+
]);
|
|
1301
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1302
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1303
|
+
}
|
|
1304
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1305
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1306
|
+
let responseType_ = 'json';
|
|
1307
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1308
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1309
|
+
responseType_ = 'text';
|
|
1310
|
+
}
|
|
1311
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1312
|
+
responseType_ = 'json';
|
|
1313
|
+
}
|
|
1314
|
+
else {
|
|
1315
|
+
responseType_ = 'blob';
|
|
1316
|
+
}
|
|
1317
|
+
}
|
|
1318
|
+
let localVarPath = `/deliveryBookings/dcs`;
|
|
1319
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1320
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1321
|
+
context: localVarHttpContext,
|
|
1322
|
+
params: localVarQueryParameters,
|
|
1323
|
+
responseType: responseType_,
|
|
1324
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1325
|
+
headers: localVarHeaders,
|
|
1326
|
+
observe: observe,
|
|
1327
|
+
transferCache: localVarTransferCache,
|
|
1328
|
+
reportProgress: reportProgress
|
|
1329
|
+
});
|
|
1330
|
+
}
|
|
1331
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DeliveryBookingDcsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1332
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DeliveryBookingDcsService, providedIn: 'root' });
|
|
1333
|
+
}
|
|
1334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DeliveryBookingDcsService, decorators: [{
|
|
1335
|
+
type: Injectable,
|
|
1336
|
+
args: [{
|
|
1337
|
+
providedIn: 'root'
|
|
1338
|
+
}]
|
|
1339
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1340
|
+
type: Optional
|
|
1341
|
+
}, {
|
|
1342
|
+
type: Inject,
|
|
1343
|
+
args: [BASE_PATH]
|
|
1344
|
+
}] }, { type: Configuration, decorators: [{
|
|
1345
|
+
type: Optional
|
|
1346
|
+
}] }] });
|
|
1347
|
+
|
|
1271
1348
|
/**
|
|
1272
1349
|
* Dcm.API.Client
|
|
1273
1350
|
*
|
|
@@ -3566,7 +3643,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
3566
3643
|
type: Optional
|
|
3567
3644
|
}] }] });
|
|
3568
3645
|
|
|
3569
|
-
const APIS = [AuditLogsService, BookingsService, CompaniesService, ContainersService, DcsService, DeliveryBookingsService, DocumentsService, HealthService, NotesService, PendoService, PermissionsService, PoItemsService, PurchaseOrdersService, ReportsService, SettingsService, ShipmentsService, SipmetItemsService, UserService];
|
|
3646
|
+
const APIS = [AuditLogsService, BookingsService, CompaniesService, ContainersService, DcsService, DeliveryBookingDcsService, DeliveryBookingsService, DocumentsService, HealthService, NotesService, PendoService, PermissionsService, PoItemsService, PurchaseOrdersService, ReportsService, SettingsService, ShipmentsService, SipmetItemsService, UserService];
|
|
3570
3647
|
|
|
3571
3648
|
/**
|
|
3572
3649
|
* Dcm.API.Client
|
|
@@ -3801,6 +3878,16 @@ const ContainerType = {
|
|
|
3801
3878
|
* Do not edit the class manually.
|
|
3802
3879
|
*/
|
|
3803
3880
|
|
|
3881
|
+
/**
|
|
3882
|
+
* Dcm.API.Client
|
|
3883
|
+
*
|
|
3884
|
+
*
|
|
3885
|
+
*
|
|
3886
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3887
|
+
* https://openapi-generator.tech
|
|
3888
|
+
* Do not edit the class manually.
|
|
3889
|
+
*/
|
|
3890
|
+
|
|
3804
3891
|
/**
|
|
3805
3892
|
* Dcm.API.Client
|
|
3806
3893
|
*
|
|
@@ -4426,5 +4513,5 @@ function provideApi(configOrBasePath) {
|
|
|
4426
4513
|
* Generated bundle index. Do not edit.
|
|
4427
4514
|
*/
|
|
4428
4515
|
|
|
4429
|
-
export { APIS, AmendConfirmationTypes, ApiModule, ApprovalTypes, AuditLogsService, BASE_PATH, BookingsService, COLLECTION_FORMATS, CompaniesService, Configuration, ContainerBookedState, ContainerSize, ContainerType, ContainersService, DcsService, DeliveryBookingStates, DeliveryBookingsService, DocumentType, DocumentsService, EntityState, HealthService, JourneySegmentType, NoteCategory, NoteSourceType, NotesService, PendoService, PermissionsService, PoItemState, PoItemsService, PowerBiTenant, PurchaseOrderState, PurchaseOrdersService, RecordTypes, ReportsService, RoutingLegType, SettingsService, ShipmentApprovalType, ShipmentState, ShipmentTerm, ShipmentsService, SipmetItemsService, TimelineEventStates, TimelineEventTypes, TransportMode, UserCompanyType, UserService, WorkflowArtifacts, provideApi };
|
|
4516
|
+
export { APIS, AmendConfirmationTypes, ApiModule, ApprovalTypes, AuditLogsService, BASE_PATH, BookingsService, COLLECTION_FORMATS, CompaniesService, Configuration, ContainerBookedState, ContainerSize, ContainerType, ContainersService, DcsService, DeliveryBookingDcsService, DeliveryBookingStates, DeliveryBookingsService, DocumentType, DocumentsService, EntityState, HealthService, JourneySegmentType, NoteCategory, NoteSourceType, NotesService, PendoService, PermissionsService, PoItemState, PoItemsService, PowerBiTenant, PurchaseOrderState, PurchaseOrdersService, RecordTypes, ReportsService, RoutingLegType, SettingsService, ShipmentApprovalType, ShipmentState, ShipmentTerm, ShipmentsService, SipmetItemsService, TimelineEventStates, TimelineEventTypes, TransportMode, UserCompanyType, UserService, WorkflowArtifacts, provideApi };
|
|
4430
4517
|
//# sourceMappingURL=indigina-dcm-api.mjs.map
|