@indigina/dcm-api 0.0.73 → 0.0.75
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 +151 -3
- package/fesm2022/indigina-dcm-api.mjs.map +1 -1
- package/index.d.ts +212 -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.75
|
|
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.75 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -1118,6 +1118,121 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
1118
1118
|
type: Optional
|
|
1119
1119
|
}] }] });
|
|
1120
1120
|
|
|
1121
|
+
/**
|
|
1122
|
+
* Dcm.API.Client
|
|
1123
|
+
*
|
|
1124
|
+
*
|
|
1125
|
+
*
|
|
1126
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1127
|
+
* https://openapi-generator.tech
|
|
1128
|
+
* Do not edit the class manually.
|
|
1129
|
+
*/
|
|
1130
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1131
|
+
class DeliveryBookingsService extends BaseService {
|
|
1132
|
+
httpClient;
|
|
1133
|
+
constructor(httpClient, basePath, configuration) {
|
|
1134
|
+
super(basePath, configuration);
|
|
1135
|
+
this.httpClient = httpClient;
|
|
1136
|
+
}
|
|
1137
|
+
getDeliveryBookings($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
1138
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1139
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
1140
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
1141
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
1142
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
1143
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
1144
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1145
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1146
|
+
'application/json'
|
|
1147
|
+
]);
|
|
1148
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1149
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1150
|
+
}
|
|
1151
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1152
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1153
|
+
let responseType_ = 'json';
|
|
1154
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1155
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1156
|
+
responseType_ = 'text';
|
|
1157
|
+
}
|
|
1158
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1159
|
+
responseType_ = 'json';
|
|
1160
|
+
}
|
|
1161
|
+
else {
|
|
1162
|
+
responseType_ = 'blob';
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
let localVarPath = `/deliveryBookings`;
|
|
1166
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1167
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1168
|
+
context: localVarHttpContext,
|
|
1169
|
+
params: localVarQueryParameters,
|
|
1170
|
+
responseType: responseType_,
|
|
1171
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1172
|
+
headers: localVarHeaders,
|
|
1173
|
+
observe: observe,
|
|
1174
|
+
transferCache: localVarTransferCache,
|
|
1175
|
+
reportProgress: reportProgress
|
|
1176
|
+
});
|
|
1177
|
+
}
|
|
1178
|
+
getDeliveryBookingsFromIndex($skip, $top, $orderby, $filter, searchTerm, observe = 'body', reportProgress = false, options) {
|
|
1179
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1180
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
1181
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
1182
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
1183
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
1184
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, searchTerm, 'searchTerm');
|
|
1185
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1186
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1187
|
+
'application/json'
|
|
1188
|
+
]);
|
|
1189
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1190
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1191
|
+
}
|
|
1192
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1193
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1194
|
+
let responseType_ = 'json';
|
|
1195
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1196
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1197
|
+
responseType_ = 'text';
|
|
1198
|
+
}
|
|
1199
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1200
|
+
responseType_ = 'json';
|
|
1201
|
+
}
|
|
1202
|
+
else {
|
|
1203
|
+
responseType_ = 'blob';
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
let localVarPath = `/deliveryBookings/search`;
|
|
1207
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1208
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1209
|
+
context: localVarHttpContext,
|
|
1210
|
+
params: localVarQueryParameters,
|
|
1211
|
+
responseType: responseType_,
|
|
1212
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1213
|
+
headers: localVarHeaders,
|
|
1214
|
+
observe: observe,
|
|
1215
|
+
transferCache: localVarTransferCache,
|
|
1216
|
+
reportProgress: reportProgress
|
|
1217
|
+
});
|
|
1218
|
+
}
|
|
1219
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DeliveryBookingsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1220
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DeliveryBookingsService, providedIn: 'root' });
|
|
1221
|
+
}
|
|
1222
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DeliveryBookingsService, decorators: [{
|
|
1223
|
+
type: Injectable,
|
|
1224
|
+
args: [{
|
|
1225
|
+
providedIn: 'root'
|
|
1226
|
+
}]
|
|
1227
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1228
|
+
type: Optional
|
|
1229
|
+
}, {
|
|
1230
|
+
type: Inject,
|
|
1231
|
+
args: [BASE_PATH]
|
|
1232
|
+
}] }, { type: Configuration, decorators: [{
|
|
1233
|
+
type: Optional
|
|
1234
|
+
}] }] });
|
|
1235
|
+
|
|
1121
1236
|
/**
|
|
1122
1237
|
* Dcm.API.Client
|
|
1123
1238
|
*
|
|
@@ -3168,7 +3283,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
3168
3283
|
type: Optional
|
|
3169
3284
|
}] }] });
|
|
3170
3285
|
|
|
3171
|
-
const APIS = [AuditLogsService, BookingsService, CompaniesService, ContainersService, DocumentsService, HealthService, NotesService, PendoService, PermissionsService, PoItemsService, PurchaseOrdersService, ReportsService, SettingsService, ShipmentsService, SipmetItemsService, UserService];
|
|
3286
|
+
const APIS = [AuditLogsService, BookingsService, CompaniesService, ContainersService, DeliveryBookingsService, DocumentsService, HealthService, NotesService, PendoService, PermissionsService, PoItemsService, PurchaseOrdersService, ReportsService, SettingsService, ShipmentsService, SipmetItemsService, UserService];
|
|
3287
|
+
|
|
3288
|
+
/**
|
|
3289
|
+
* Dcm.API.Client
|
|
3290
|
+
*
|
|
3291
|
+
*
|
|
3292
|
+
*
|
|
3293
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3294
|
+
* https://openapi-generator.tech
|
|
3295
|
+
* Do not edit the class manually.
|
|
3296
|
+
*/
|
|
3297
|
+
const AmendConfirmationTypes = {
|
|
3298
|
+
Amend: 'Amend',
|
|
3299
|
+
Cancel: 'Cancel'
|
|
3300
|
+
};
|
|
3172
3301
|
|
|
3173
3302
|
/**
|
|
3174
3303
|
* Dcm.API.Client
|
|
@@ -3369,6 +3498,23 @@ const ContainerType = {
|
|
|
3369
3498
|
* Do not edit the class manually.
|
|
3370
3499
|
*/
|
|
3371
3500
|
|
|
3501
|
+
/**
|
|
3502
|
+
* Dcm.API.Client
|
|
3503
|
+
*
|
|
3504
|
+
*
|
|
3505
|
+
*
|
|
3506
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3507
|
+
* https://openapi-generator.tech
|
|
3508
|
+
* Do not edit the class manually.
|
|
3509
|
+
*/
|
|
3510
|
+
const DeliveryBookingStates = {
|
|
3511
|
+
Booked: 'Booked',
|
|
3512
|
+
Confirmed: 'Confirmed',
|
|
3513
|
+
Delivered: 'Delivered',
|
|
3514
|
+
ToReschedule: 'ToReschedule',
|
|
3515
|
+
Amended: 'Amended'
|
|
3516
|
+
};
|
|
3517
|
+
|
|
3372
3518
|
/**
|
|
3373
3519
|
* Dcm.API.Client
|
|
3374
3520
|
*
|
|
@@ -3401,7 +3547,9 @@ const DocumentType = {
|
|
|
3401
3547
|
SparePartPackingList: 'SparePartPackingList',
|
|
3402
3548
|
FumigationCertificate: 'FumigationCertificate',
|
|
3403
3549
|
Msds: 'MSDS',
|
|
3404
|
-
ConsolidatedInvoice: 'ConsolidatedInvoice'
|
|
3550
|
+
ConsolidatedInvoice: 'ConsolidatedInvoice',
|
|
3551
|
+
ContainerLoadingImage: 'ContainerLoadingImage',
|
|
3552
|
+
CertificateOfOriginCoo: 'CertificateOfOriginCOO'
|
|
3405
3553
|
};
|
|
3406
3554
|
|
|
3407
3555
|
/**
|
|
@@ -3967,5 +4115,5 @@ function provideApi(configOrBasePath) {
|
|
|
3967
4115
|
* Generated bundle index. Do not edit.
|
|
3968
4116
|
*/
|
|
3969
4117
|
|
|
3970
|
-
export { APIS, ApiModule, ApprovalTypes, AuditLogsService, BASE_PATH, BookingsService, COLLECTION_FORMATS, CompaniesService, Configuration, ContainerBookedState, ContainerSize, ContainerType, ContainersService, DocumentType, DocumentsService, EntityState, HealthService, JourneySegmentType, NoteSourceTypes, NotesService, PendoService, PermissionsService, PoItemState, PoItemsService, PowerBiTenant, PurchaseOrderState, PurchaseOrdersService, RecordTypes, ReportsService, RoutingLegType, SettingsService, ShipmentApprovalType, ShipmentState, ShipmentTerm, ShipmentsService, SipmetItemsService, TimelineEventStates, TimelineEventTypes, TransportMode, UserCompanyType, UserService, WorkflowArtifacts, provideApi };
|
|
4118
|
+
export { APIS, AmendConfirmationTypes, ApiModule, ApprovalTypes, AuditLogsService, BASE_PATH, BookingsService, COLLECTION_FORMATS, CompaniesService, Configuration, ContainerBookedState, ContainerSize, ContainerType, ContainersService, DeliveryBookingStates, DeliveryBookingsService, DocumentType, DocumentsService, EntityState, HealthService, JourneySegmentType, NoteSourceTypes, NotesService, PendoService, PermissionsService, PoItemState, PoItemsService, PowerBiTenant, PurchaseOrderState, PurchaseOrdersService, RecordTypes, ReportsService, RoutingLegType, SettingsService, ShipmentApprovalType, ShipmentState, ShipmentTerm, ShipmentsService, SipmetItemsService, TimelineEventStates, TimelineEventTypes, TransportMode, UserCompanyType, UserService, WorkflowArtifacts, provideApi };
|
|
3971
4119
|
//# sourceMappingURL=indigina-dcm-api.mjs.map
|