@indigina/dcm-api 0.0.52 → 0.0.54
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/api/containers.service.d.ts +51 -0
- package/fesm2022/indigina-dcm-api.mjs +191 -5
- package/fesm2022/indigina-dcm-api.mjs.map +1 -1
- package/model/containerBookedState.d.ts +18 -0
- package/model/containerGridView.d.ts +41 -0
- package/model/containerItemView.d.ts +8 -8
- package/model/containerPoGridView.d.ts +48 -0
- package/model/containerPos.d.ts +14 -0
- package/model/containerShipmentView.d.ts +38 -0
- package/model/containerSize.d.ts +40 -0
- package/model/{containerTypes.d.ts → containerType.d.ts} +5 -5
- package/model/containerView.d.ts +15 -30
- package/model/containers.d.ts +2 -2
- package/model/models.d.ts +8 -1
- package/model/poItemState.d.ts +16 -0
- package/model/purchaseOrderItem.d.ts +2 -2
- package/model/shipmentApproval.d.ts +2 -2
- package/model/shipmentContainer.d.ts +2 -2
- package/model/transportationShipmentTimelineItem.d.ts +2 -2
- 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.54
|
|
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.54 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { ContainerItems } from '../model/containerItems';
|
|
4
|
+
import { ContainerPos } from '../model/containerPos';
|
|
4
5
|
import { Containers } from '../model/containers';
|
|
5
6
|
import { ContainersCount } from '../model/containersCount';
|
|
6
7
|
import { ContainersToDeliverCount } from '../model/containersToDeliverCount';
|
|
@@ -42,6 +43,56 @@ export declare class ContainersService {
|
|
|
42
43
|
context?: HttpContext;
|
|
43
44
|
transferCache?: boolean;
|
|
44
45
|
}): Observable<HttpEvent<ContainerItems>>;
|
|
46
|
+
/**
|
|
47
|
+
* Container purchase order list
|
|
48
|
+
* @param $skip
|
|
49
|
+
* @param $top
|
|
50
|
+
* @param $orderby
|
|
51
|
+
* @param $filter
|
|
52
|
+
* @param $search
|
|
53
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
54
|
+
* @param reportProgress flag to report request and response progress.
|
|
55
|
+
*/
|
|
56
|
+
getContainerPurchaseOrders($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
57
|
+
httpHeaderAccept?: 'application/json';
|
|
58
|
+
context?: HttpContext;
|
|
59
|
+
transferCache?: boolean;
|
|
60
|
+
}): Observable<ContainerPos>;
|
|
61
|
+
getContainerPurchaseOrders($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
62
|
+
httpHeaderAccept?: 'application/json';
|
|
63
|
+
context?: HttpContext;
|
|
64
|
+
transferCache?: boolean;
|
|
65
|
+
}): Observable<HttpResponse<ContainerPos>>;
|
|
66
|
+
getContainerPurchaseOrders($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
67
|
+
httpHeaderAccept?: 'application/json';
|
|
68
|
+
context?: HttpContext;
|
|
69
|
+
transferCache?: boolean;
|
|
70
|
+
}): Observable<HttpEvent<ContainerPos>>;
|
|
71
|
+
/**
|
|
72
|
+
* Container purchase order list
|
|
73
|
+
* @param $skip
|
|
74
|
+
* @param $top
|
|
75
|
+
* @param $orderby
|
|
76
|
+
* @param $filter
|
|
77
|
+
* @param searchTerm
|
|
78
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
79
|
+
* @param reportProgress flag to report request and response progress.
|
|
80
|
+
*/
|
|
81
|
+
getContainerPurchaseOrdersFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
82
|
+
httpHeaderAccept?: 'application/json';
|
|
83
|
+
context?: HttpContext;
|
|
84
|
+
transferCache?: boolean;
|
|
85
|
+
}): Observable<Containers>;
|
|
86
|
+
getContainerPurchaseOrdersFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
87
|
+
httpHeaderAccept?: 'application/json';
|
|
88
|
+
context?: HttpContext;
|
|
89
|
+
transferCache?: boolean;
|
|
90
|
+
}): Observable<HttpResponse<Containers>>;
|
|
91
|
+
getContainerPurchaseOrdersFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
92
|
+
httpHeaderAccept?: 'application/json';
|
|
93
|
+
context?: HttpContext;
|
|
94
|
+
transferCache?: boolean;
|
|
95
|
+
}): Observable<HttpEvent<Containers>>;
|
|
45
96
|
/**
|
|
46
97
|
* Containers list
|
|
47
98
|
* @param $skip
|
|
@@ -573,6 +573,128 @@ class ContainersService {
|
|
|
573
573
|
reportProgress: reportProgress
|
|
574
574
|
});
|
|
575
575
|
}
|
|
576
|
+
getContainerPurchaseOrders($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
577
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
578
|
+
if ($skip !== undefined && $skip !== null) {
|
|
579
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
580
|
+
}
|
|
581
|
+
if ($top !== undefined && $top !== null) {
|
|
582
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
583
|
+
}
|
|
584
|
+
if ($orderby !== undefined && $orderby !== null) {
|
|
585
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
586
|
+
}
|
|
587
|
+
if ($filter !== undefined && $filter !== null) {
|
|
588
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
589
|
+
}
|
|
590
|
+
if ($search !== undefined && $search !== null) {
|
|
591
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
592
|
+
}
|
|
593
|
+
let localVarHeaders = this.defaultHeaders;
|
|
594
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
595
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
596
|
+
// to determine the Accept header
|
|
597
|
+
const httpHeaderAccepts = [
|
|
598
|
+
'application/json'
|
|
599
|
+
];
|
|
600
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
601
|
+
}
|
|
602
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
603
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
604
|
+
}
|
|
605
|
+
let localVarHttpContext = options && options.context;
|
|
606
|
+
if (localVarHttpContext === undefined) {
|
|
607
|
+
localVarHttpContext = new HttpContext();
|
|
608
|
+
}
|
|
609
|
+
let localVarTransferCache = options && options.transferCache;
|
|
610
|
+
if (localVarTransferCache === undefined) {
|
|
611
|
+
localVarTransferCache = true;
|
|
612
|
+
}
|
|
613
|
+
let responseType_ = 'json';
|
|
614
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
615
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
616
|
+
responseType_ = 'text';
|
|
617
|
+
}
|
|
618
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
619
|
+
responseType_ = 'json';
|
|
620
|
+
}
|
|
621
|
+
else {
|
|
622
|
+
responseType_ = 'blob';
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
let localVarPath = `/containers/purchaseOrders`;
|
|
626
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
627
|
+
context: localVarHttpContext,
|
|
628
|
+
params: localVarQueryParameters,
|
|
629
|
+
responseType: responseType_,
|
|
630
|
+
withCredentials: this.configuration.withCredentials,
|
|
631
|
+
headers: localVarHeaders,
|
|
632
|
+
observe: observe,
|
|
633
|
+
transferCache: localVarTransferCache,
|
|
634
|
+
reportProgress: reportProgress
|
|
635
|
+
});
|
|
636
|
+
}
|
|
637
|
+
getContainerPurchaseOrdersFromIndex($skip, $top, $orderby, $filter, searchTerm, observe = 'body', reportProgress = false, options) {
|
|
638
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
639
|
+
if ($skip !== undefined && $skip !== null) {
|
|
640
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
641
|
+
}
|
|
642
|
+
if ($top !== undefined && $top !== null) {
|
|
643
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
644
|
+
}
|
|
645
|
+
if ($orderby !== undefined && $orderby !== null) {
|
|
646
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
647
|
+
}
|
|
648
|
+
if ($filter !== undefined && $filter !== null) {
|
|
649
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
650
|
+
}
|
|
651
|
+
if (searchTerm !== undefined && searchTerm !== null) {
|
|
652
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, searchTerm, 'searchTerm');
|
|
653
|
+
}
|
|
654
|
+
let localVarHeaders = this.defaultHeaders;
|
|
655
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
656
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
657
|
+
// to determine the Accept header
|
|
658
|
+
const httpHeaderAccepts = [
|
|
659
|
+
'application/json'
|
|
660
|
+
];
|
|
661
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
662
|
+
}
|
|
663
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
664
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
665
|
+
}
|
|
666
|
+
let localVarHttpContext = options && options.context;
|
|
667
|
+
if (localVarHttpContext === undefined) {
|
|
668
|
+
localVarHttpContext = new HttpContext();
|
|
669
|
+
}
|
|
670
|
+
let localVarTransferCache = options && options.transferCache;
|
|
671
|
+
if (localVarTransferCache === undefined) {
|
|
672
|
+
localVarTransferCache = true;
|
|
673
|
+
}
|
|
674
|
+
let responseType_ = 'json';
|
|
675
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
676
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
677
|
+
responseType_ = 'text';
|
|
678
|
+
}
|
|
679
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
680
|
+
responseType_ = 'json';
|
|
681
|
+
}
|
|
682
|
+
else {
|
|
683
|
+
responseType_ = 'blob';
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
let localVarPath = `/containers/purchaseOrders/search`;
|
|
687
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
688
|
+
context: localVarHttpContext,
|
|
689
|
+
params: localVarQueryParameters,
|
|
690
|
+
responseType: responseType_,
|
|
691
|
+
withCredentials: this.configuration.withCredentials,
|
|
692
|
+
headers: localVarHeaders,
|
|
693
|
+
observe: observe,
|
|
694
|
+
transferCache: localVarTransferCache,
|
|
695
|
+
reportProgress: reportProgress
|
|
696
|
+
});
|
|
697
|
+
}
|
|
576
698
|
getContainers($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
577
699
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
578
700
|
if ($skip !== undefined && $skip !== null) {
|
|
@@ -4258,6 +4380,14 @@ const ApprovalTypes = {
|
|
|
4258
4380
|
* https://openapi-generator.tech
|
|
4259
4381
|
* Do not edit the class manually.
|
|
4260
4382
|
*/
|
|
4383
|
+
const ContainerBookedState = {
|
|
4384
|
+
ToBooked: 'ToBooked',
|
|
4385
|
+
Booked: 'Booked',
|
|
4386
|
+
Confirmed: 'Confirmed',
|
|
4387
|
+
Delivered: 'Delivered',
|
|
4388
|
+
ToReschedule: 'ToReschedule',
|
|
4389
|
+
Amended: 'Amended'
|
|
4390
|
+
};
|
|
4261
4391
|
|
|
4262
4392
|
/**
|
|
4263
4393
|
* Dcm.API.Client
|
|
@@ -4268,10 +4398,45 @@ const ApprovalTypes = {
|
|
|
4268
4398
|
* https://openapi-generator.tech
|
|
4269
4399
|
* Do not edit the class manually.
|
|
4270
4400
|
*/
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4401
|
+
|
|
4402
|
+
/**
|
|
4403
|
+
* Dcm.API.Client
|
|
4404
|
+
*
|
|
4405
|
+
*
|
|
4406
|
+
*
|
|
4407
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4408
|
+
* https://openapi-generator.tech
|
|
4409
|
+
* Do not edit the class manually.
|
|
4410
|
+
*/
|
|
4411
|
+
const ContainerSize = {
|
|
4412
|
+
Lcl: 'Lcl',
|
|
4413
|
+
Twenty: 'Twenty',
|
|
4414
|
+
Forty: 'Forty',
|
|
4415
|
+
FortyHc: 'FortyHc',
|
|
4416
|
+
FortyFive: 'FortyFive',
|
|
4417
|
+
Ld2: 'Ld2',
|
|
4418
|
+
Ld3: 'Ld3',
|
|
4419
|
+
Ld4: 'Ld4',
|
|
4420
|
+
Ld7: 'Ld7',
|
|
4421
|
+
Ld8: 'Ld8',
|
|
4422
|
+
Ld11: 'Ld11',
|
|
4423
|
+
MainDeckPallet: 'MainDeckPallet',
|
|
4424
|
+
P9ALowerDeckPallet: 'P9ALowerDeckPallet',
|
|
4425
|
+
SharedUnknown: 'SharedUnknown',
|
|
4426
|
+
BoxedTrailer: 'BoxedTrailer',
|
|
4427
|
+
TiltTrailer: 'TiltTrailer',
|
|
4428
|
+
RoadTrainBoxed: 'RoadTrainBoxed',
|
|
4429
|
+
RoadTrainTilt: 'RoadTrainTilt',
|
|
4430
|
+
StepFrameBoxed: 'StepFrameBoxed',
|
|
4431
|
+
StepFrameTilt: 'StepFrameTilt',
|
|
4432
|
+
Road1: 'Road1',
|
|
4433
|
+
Road2: 'Road2',
|
|
4434
|
+
TwentyNor: 'TwentyNor',
|
|
4435
|
+
FortyNor: 'FortyNor',
|
|
4436
|
+
FortyHcnor: 'FortyHcnor',
|
|
4437
|
+
OtherAir: 'OtherAir',
|
|
4438
|
+
OtherSea: 'OtherSea',
|
|
4439
|
+
OtherRoad: 'OtherRoad'
|
|
4275
4440
|
};
|
|
4276
4441
|
|
|
4277
4442
|
/**
|
|
@@ -4283,6 +4448,11 @@ const ContainerTypes = {
|
|
|
4283
4448
|
* https://openapi-generator.tech
|
|
4284
4449
|
* Do not edit the class manually.
|
|
4285
4450
|
*/
|
|
4451
|
+
const ContainerType = {
|
|
4452
|
+
CfsCfs: 'CfsCfs',
|
|
4453
|
+
CfsCy: 'CfsCy',
|
|
4454
|
+
CyCy: 'CyCy'
|
|
4455
|
+
};
|
|
4286
4456
|
|
|
4287
4457
|
/**
|
|
4288
4458
|
* Dcm.API.Client
|
|
@@ -4463,6 +4633,22 @@ const NoteSourceTypes = {
|
|
|
4463
4633
|
* Do not edit the class manually.
|
|
4464
4634
|
*/
|
|
4465
4635
|
|
|
4636
|
+
/**
|
|
4637
|
+
* Dcm.API.Client
|
|
4638
|
+
*
|
|
4639
|
+
*
|
|
4640
|
+
*
|
|
4641
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4642
|
+
* https://openapi-generator.tech
|
|
4643
|
+
* Do not edit the class manually.
|
|
4644
|
+
*/
|
|
4645
|
+
const PoItemState = {
|
|
4646
|
+
NotAllocated: 'NotAllocated',
|
|
4647
|
+
Allocated: 'Allocated',
|
|
4648
|
+
Complete: 'Complete',
|
|
4649
|
+
Deleted: 'Deleted'
|
|
4650
|
+
};
|
|
4651
|
+
|
|
4466
4652
|
/**
|
|
4467
4653
|
* Dcm.API.Client
|
|
4468
4654
|
*
|
|
@@ -4841,5 +5027,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImpor
|
|
|
4841
5027
|
* Generated bundle index. Do not edit.
|
|
4842
5028
|
*/
|
|
4843
5029
|
|
|
4844
|
-
export { APIS, ApiModule, ApprovalTypes, AuditLogsService, BASE_PATH, BookingsService, COLLECTION_FORMATS, Configuration,
|
|
5030
|
+
export { APIS, ApiModule, ApprovalTypes, AuditLogsService, BASE_PATH, BookingsService, COLLECTION_FORMATS, Configuration, ContainerBookedState, ContainerSize, ContainerType, ContainersService, DocumentType, DocumentsService, EntityState, HealthService, JourneySegmentTypes, NoteSourceTypes, NotesService, PermissionsService, PoItemState, PoItemsService, PowerBiTenant, PurchaseOrderState, PurchaseOrdersService, RecordTypes, ReportsService, SettingsService, ShipmentApprovalType, ShipmentState, ShipmentTerm, ShipmentsService, SipmetItemsService, TimelineEventStates, TimelineEventTypes, TransportMode, UserService, WorkflowArtifacts };
|
|
4845
5031
|
//# sourceMappingURL=indigina-dcm-api.mjs.map
|