@indigina/dcm-api 0.0.30 → 0.0.32
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/auditLogs.service.d.ts +6 -4
- package/api/documents.service.d.ts +6 -4
- package/api/notes.service.d.ts +6 -4
- package/api/shipments.service.d.ts +4 -4
- package/esm2022/api/auditLogs.service.mjs +8 -5
- package/esm2022/api/documents.service.mjs +8 -5
- package/esm2022/api/notes.service.mjs +8 -5
- package/esm2022/api/shipments.service.mjs +4 -4
- package/esm2022/model/models.mjs +4 -1
- package/esm2022/model/noteSourceTypes.mjs +14 -0
- package/esm2022/model/recordTypes.mjs +14 -0
- package/esm2022/model/workflowArtifacts.mjs +19 -0
- package/fesm2022/indigina-dcm-api.mjs +72 -16
- package/fesm2022/indigina-dcm-api.mjs.map +1 -1
- package/model/models.d.ts +3 -0
- package/model/noteSourceTypes.d.ts +14 -0
- package/model/recordTypes.d.ts +14 -0
- package/model/workflowArtifacts.d.ts +19 -0
- package/package.json +1 -1
|
@@ -223,9 +223,12 @@ class AuditLogsService {
|
|
|
223
223
|
}
|
|
224
224
|
return httpParams;
|
|
225
225
|
}
|
|
226
|
-
getShipmentLogs(
|
|
227
|
-
if (
|
|
228
|
-
throw new Error('Required parameter
|
|
226
|
+
getShipmentLogs(recordId, recordType, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
227
|
+
if (recordId === null || recordId === undefined) {
|
|
228
|
+
throw new Error('Required parameter recordId was null or undefined when calling getShipmentLogs.');
|
|
229
|
+
}
|
|
230
|
+
if (recordType === null || recordType === undefined) {
|
|
231
|
+
throw new Error('Required parameter recordType was null or undefined when calling getShipmentLogs.');
|
|
229
232
|
}
|
|
230
233
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
231
234
|
if ($skip !== undefined && $skip !== null) {
|
|
@@ -275,7 +278,7 @@ class AuditLogsService {
|
|
|
275
278
|
responseType_ = 'blob';
|
|
276
279
|
}
|
|
277
280
|
}
|
|
278
|
-
let localVarPath = `/auditLogs/${this.configuration.encodeParam({ name: "
|
|
281
|
+
let localVarPath = `/auditLogs/${this.configuration.encodeParam({ name: "recordId", value: recordId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/${this.configuration.encodeParam({ name: "recordType", value: recordType, in: "path", style: "simple", explode: false, dataType: "RecordTypes", dataFormat: undefined })}`;
|
|
279
282
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
280
283
|
context: localVarHttpContext,
|
|
281
284
|
params: localVarQueryParameters,
|
|
@@ -970,9 +973,12 @@ class DocumentsService {
|
|
|
970
973
|
}
|
|
971
974
|
return httpParams;
|
|
972
975
|
}
|
|
973
|
-
getShipmentDocuments(
|
|
974
|
-
if (
|
|
975
|
-
throw new Error('Required parameter
|
|
976
|
+
getShipmentDocuments(recordId, artifact, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
977
|
+
if (recordId === null || recordId === undefined) {
|
|
978
|
+
throw new Error('Required parameter recordId was null or undefined when calling getShipmentDocuments.');
|
|
979
|
+
}
|
|
980
|
+
if (artifact === null || artifact === undefined) {
|
|
981
|
+
throw new Error('Required parameter artifact was null or undefined when calling getShipmentDocuments.');
|
|
976
982
|
}
|
|
977
983
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
978
984
|
if ($skip !== undefined && $skip !== null) {
|
|
@@ -1022,7 +1028,7 @@ class DocumentsService {
|
|
|
1022
1028
|
responseType_ = 'blob';
|
|
1023
1029
|
}
|
|
1024
1030
|
}
|
|
1025
|
-
let localVarPath = `/documents/${this.configuration.encodeParam({ name: "
|
|
1031
|
+
let localVarPath = `/documents/${this.configuration.encodeParam({ name: "recordId", value: recordId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/${this.configuration.encodeParam({ name: "artifact", value: artifact, in: "path", style: "simple", explode: false, dataType: "WorkflowArtifacts", dataFormat: undefined })}`;
|
|
1026
1032
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1027
1033
|
context: localVarHttpContext,
|
|
1028
1034
|
params: localVarQueryParameters,
|
|
@@ -1257,9 +1263,12 @@ class NotesService {
|
|
|
1257
1263
|
}
|
|
1258
1264
|
return httpParams;
|
|
1259
1265
|
}
|
|
1260
|
-
getShipmentNotes(
|
|
1261
|
-
if (
|
|
1262
|
-
throw new Error('Required parameter
|
|
1266
|
+
getShipmentNotes(sourceId, type, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
1267
|
+
if (sourceId === null || sourceId === undefined) {
|
|
1268
|
+
throw new Error('Required parameter sourceId was null or undefined when calling getShipmentNotes.');
|
|
1269
|
+
}
|
|
1270
|
+
if (type === null || type === undefined) {
|
|
1271
|
+
throw new Error('Required parameter type was null or undefined when calling getShipmentNotes.');
|
|
1263
1272
|
}
|
|
1264
1273
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1265
1274
|
if ($skip !== undefined && $skip !== null) {
|
|
@@ -1309,7 +1318,7 @@ class NotesService {
|
|
|
1309
1318
|
responseType_ = 'blob';
|
|
1310
1319
|
}
|
|
1311
1320
|
}
|
|
1312
|
-
let localVarPath = `/notes/${this.configuration.encodeParam({ name: "
|
|
1321
|
+
let localVarPath = `/notes/${this.configuration.encodeParam({ name: "sourceId", value: sourceId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/${this.configuration.encodeParam({ name: "type", value: type, in: "path", style: "simple", explode: false, dataType: "NoteSourceTypes", dataFormat: undefined })}`;
|
|
1313
1322
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1314
1323
|
context: localVarHttpContext,
|
|
1315
1324
|
params: localVarQueryParameters,
|
|
@@ -2124,7 +2133,7 @@ class ShipmentsService {
|
|
|
2124
2133
|
reportProgress: reportProgress
|
|
2125
2134
|
});
|
|
2126
2135
|
}
|
|
2127
|
-
getShipmentsFromIndex($skip, $top, $orderby, $filter, $
|
|
2136
|
+
getShipmentsFromIndex($skip, $top, $orderby, $filter, $searchTerm, observe = 'body', reportProgress = false, options) {
|
|
2128
2137
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
2129
2138
|
if ($skip !== undefined && $skip !== null) {
|
|
2130
2139
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
@@ -2138,8 +2147,8 @@ class ShipmentsService {
|
|
|
2138
2147
|
if ($filter !== undefined && $filter !== null) {
|
|
2139
2148
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
2140
2149
|
}
|
|
2141
|
-
if ($
|
|
2142
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $
|
|
2150
|
+
if ($searchTerm !== undefined && $searchTerm !== null) {
|
|
2151
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $searchTerm, '$searchTerm');
|
|
2143
2152
|
}
|
|
2144
2153
|
let localVarHeaders = this.defaultHeaders;
|
|
2145
2154
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
@@ -2872,6 +2881,20 @@ const JourneySegmentTypes = {
|
|
|
2872
2881
|
* Do not edit the class manually.
|
|
2873
2882
|
*/
|
|
2874
2883
|
|
|
2884
|
+
/**
|
|
2885
|
+
* Dcm.API.Client
|
|
2886
|
+
* DCM API Client for Angular applications
|
|
2887
|
+
*
|
|
2888
|
+
*
|
|
2889
|
+
*
|
|
2890
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2891
|
+
* https://openapi-generator.tech
|
|
2892
|
+
* Do not edit the class manually.
|
|
2893
|
+
*/
|
|
2894
|
+
const NoteSourceTypes = {
|
|
2895
|
+
Shipment: 'Shipment'
|
|
2896
|
+
};
|
|
2897
|
+
|
|
2875
2898
|
/**
|
|
2876
2899
|
* Dcm.API.Client
|
|
2877
2900
|
* DCM API Client for Angular applications
|
|
@@ -2898,6 +2921,20 @@ const PowerBiTenant = {
|
|
|
2898
2921
|
Others: 'Others'
|
|
2899
2922
|
};
|
|
2900
2923
|
|
|
2924
|
+
/**
|
|
2925
|
+
* Dcm.API.Client
|
|
2926
|
+
* DCM API Client for Angular applications
|
|
2927
|
+
*
|
|
2928
|
+
*
|
|
2929
|
+
*
|
|
2930
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2931
|
+
* https://openapi-generator.tech
|
|
2932
|
+
* Do not edit the class manually.
|
|
2933
|
+
*/
|
|
2934
|
+
const RecordTypes = {
|
|
2935
|
+
Shipment: 'Shipment'
|
|
2936
|
+
};
|
|
2937
|
+
|
|
2901
2938
|
/**
|
|
2902
2939
|
* Dcm.API.Client
|
|
2903
2940
|
* DCM API Client for Angular applications
|
|
@@ -3136,6 +3173,25 @@ const TimelineEventTypes = {
|
|
|
3136
3173
|
* Do not edit the class manually.
|
|
3137
3174
|
*/
|
|
3138
3175
|
|
|
3176
|
+
/**
|
|
3177
|
+
* Dcm.API.Client
|
|
3178
|
+
* DCM API Client for Angular applications
|
|
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
|
+
const WorkflowArtifacts = {
|
|
3187
|
+
Shipment: 'Shipment',
|
|
3188
|
+
PurchaseOrder: 'PurchaseOrder',
|
|
3189
|
+
Container: 'Container',
|
|
3190
|
+
Vessel: 'Vessel',
|
|
3191
|
+
Dispatch: 'Dispatch',
|
|
3192
|
+
SalesOrder: 'SalesOrder'
|
|
3193
|
+
};
|
|
3194
|
+
|
|
3139
3195
|
class ApiModule {
|
|
3140
3196
|
static forRoot(configurationFactory) {
|
|
3141
3197
|
return {
|
|
@@ -3176,5 +3232,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
|
|
|
3176
3232
|
* Generated bundle index. Do not edit.
|
|
3177
3233
|
*/
|
|
3178
3234
|
|
|
3179
|
-
export { APIS, ApiModule, AuditLogsService, BASE_PATH, BookingsService, COLLECTION_FORMATS, Configuration, ContainerTypes, ContainersService, DocumentType, DocumentsService, EntityState, HealthService, JourneySegmentTypes, NotesService, PermissionsService, PowerBiTenant, ReportsService, ShipmentApprovalType, ShipmentState, ShipmentTerm, ShipmentType, ShipmentsService, TimelineEventTypes, UserService };
|
|
3235
|
+
export { APIS, ApiModule, AuditLogsService, BASE_PATH, BookingsService, COLLECTION_FORMATS, Configuration, ContainerTypes, ContainersService, DocumentType, DocumentsService, EntityState, HealthService, JourneySegmentTypes, NoteSourceTypes, NotesService, PermissionsService, PowerBiTenant, RecordTypes, ReportsService, ShipmentApprovalType, ShipmentState, ShipmentTerm, ShipmentType, ShipmentsService, TimelineEventTypes, UserService, WorkflowArtifacts };
|
|
3180
3236
|
//# sourceMappingURL=indigina-dcm-api.mjs.map
|