@indigina/myseko-api 0.0.18 → 0.0.20
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/package.json
CHANGED
|
@@ -263,10 +263,11 @@ declare class AuthService extends BaseService {
|
|
|
263
263
|
* Do not edit the class manually.
|
|
264
264
|
*/
|
|
265
265
|
declare const CalendarViewBy: {
|
|
266
|
-
readonly
|
|
266
|
+
readonly ScheduledDelivery: "scheduledDelivery";
|
|
267
|
+
readonly Delivered: "delivered";
|
|
268
|
+
readonly ArrivePortDate: "arrivePortDate";
|
|
269
|
+
readonly DepartPortDate: "departPortDate";
|
|
267
270
|
readonly Pickup: "pickup";
|
|
268
|
-
readonly Pod: "pod";
|
|
269
|
-
readonly Created: "created";
|
|
270
271
|
};
|
|
271
272
|
type CalendarViewBy = typeof CalendarViewBy[keyof typeof CalendarViewBy];
|
|
272
273
|
|
|
@@ -282,12 +283,14 @@ type CalendarViewBy = typeof CalendarViewBy[keyof typeof CalendarViewBy];
|
|
|
282
283
|
interface ShipmentCalendarItem {
|
|
283
284
|
ordOrderID: string;
|
|
284
285
|
date?: string | null;
|
|
286
|
+
viewBy?: string | null;
|
|
285
287
|
number?: string | null;
|
|
286
288
|
status?: string | null;
|
|
287
289
|
from?: string | null;
|
|
288
290
|
to?: string | null;
|
|
289
291
|
shipReference?: string | null;
|
|
290
292
|
consReference?: string | null;
|
|
293
|
+
isCalculatedScheduledDelivery?: boolean | null;
|
|
291
294
|
}
|
|
292
295
|
|
|
293
296
|
/**
|
|
@@ -340,17 +343,17 @@ declare class CalendarService extends BaseService {
|
|
|
340
343
|
* @param reportProgress flag to report request and response progress.
|
|
341
344
|
* @param options additional options
|
|
342
345
|
*/
|
|
343
|
-
getShipmentCalendarRange(startDate: string, endDate: string, viewBy
|
|
346
|
+
getShipmentCalendarRange(startDate: string, endDate: string, viewBy: Array<CalendarViewBy>, searchTerm?: string, $filter?: string, $orderby?: string, $select?: string, $expand?: string, $top?: number, $skip?: number, observe?: 'body', reportProgress?: boolean, options?: {
|
|
344
347
|
httpHeaderAccept?: 'application/json';
|
|
345
348
|
context?: HttpContext;
|
|
346
349
|
transferCache?: boolean;
|
|
347
350
|
}): Observable<ShipmentCalendarDates>;
|
|
348
|
-
getShipmentCalendarRange(startDate: string, endDate: string, viewBy
|
|
351
|
+
getShipmentCalendarRange(startDate: string, endDate: string, viewBy: Array<CalendarViewBy>, searchTerm?: string, $filter?: string, $orderby?: string, $select?: string, $expand?: string, $top?: number, $skip?: number, observe?: 'response', reportProgress?: boolean, options?: {
|
|
349
352
|
httpHeaderAccept?: 'application/json';
|
|
350
353
|
context?: HttpContext;
|
|
351
354
|
transferCache?: boolean;
|
|
352
355
|
}): Observable<HttpResponse<ShipmentCalendarDates>>;
|
|
353
|
-
getShipmentCalendarRange(startDate: string, endDate: string, viewBy
|
|
356
|
+
getShipmentCalendarRange(startDate: string, endDate: string, viewBy: Array<CalendarViewBy>, searchTerm?: string, $filter?: string, $orderby?: string, $select?: string, $expand?: string, $top?: number, $skip?: number, observe?: 'events', reportProgress?: boolean, options?: {
|
|
354
357
|
httpHeaderAccept?: 'application/json';
|
|
355
358
|
context?: HttpContext;
|
|
356
359
|
transferCache?: boolean;
|
|
@@ -645,6 +648,101 @@ declare class SettingsService extends BaseService {
|
|
|
645
648
|
static ɵprov: i0.ɵɵInjectableDeclaration<SettingsService>;
|
|
646
649
|
}
|
|
647
650
|
|
|
651
|
+
/**
|
|
652
|
+
* MySeko.API.Client
|
|
653
|
+
*
|
|
654
|
+
*
|
|
655
|
+
*
|
|
656
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
657
|
+
* https://openapi-generator.tech
|
|
658
|
+
* Do not edit the class manually.
|
|
659
|
+
*/
|
|
660
|
+
interface CreateIssueRequest {
|
|
661
|
+
dueDate?: string | null;
|
|
662
|
+
issueType?: string | null;
|
|
663
|
+
topic?: string | null;
|
|
664
|
+
description?: string | null;
|
|
665
|
+
sendEmailTo?: string | null;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
/**
|
|
669
|
+
* MySeko.API.Client
|
|
670
|
+
*
|
|
671
|
+
*
|
|
672
|
+
*
|
|
673
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
674
|
+
* https://openapi-generator.tech
|
|
675
|
+
* Do not edit the class manually.
|
|
676
|
+
*/
|
|
677
|
+
interface CreateIssueResponse {
|
|
678
|
+
issueID?: number;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* MySeko.API.Client
|
|
683
|
+
*
|
|
684
|
+
*
|
|
685
|
+
*
|
|
686
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
687
|
+
* https://openapi-generator.tech
|
|
688
|
+
* Do not edit the class manually.
|
|
689
|
+
*/
|
|
690
|
+
interface IssueLogEntry {
|
|
691
|
+
issueDate?: string | null;
|
|
692
|
+
issue?: string | null;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* MySeko.API.Client
|
|
697
|
+
*
|
|
698
|
+
*
|
|
699
|
+
*
|
|
700
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
701
|
+
* https://openapi-generator.tech
|
|
702
|
+
* Do not edit the class manually.
|
|
703
|
+
*/
|
|
704
|
+
|
|
705
|
+
interface IssueLog {
|
|
706
|
+
total?: number | null;
|
|
707
|
+
data?: Array<IssueLogEntry> | null;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* MySeko.API.Client
|
|
712
|
+
*
|
|
713
|
+
*
|
|
714
|
+
*
|
|
715
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
716
|
+
* https://openapi-generator.tech
|
|
717
|
+
* Do not edit the class manually.
|
|
718
|
+
*/
|
|
719
|
+
|
|
720
|
+
interface Issue {
|
|
721
|
+
issueID: number;
|
|
722
|
+
description?: string | null;
|
|
723
|
+
createdBy?: string | null;
|
|
724
|
+
createdDate?: string | null;
|
|
725
|
+
status?: string | null;
|
|
726
|
+
issueType?: string | null;
|
|
727
|
+
dueDate?: string | null;
|
|
728
|
+
log?: IssueLog;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
/**
|
|
732
|
+
* MySeko.API.Client
|
|
733
|
+
*
|
|
734
|
+
*
|
|
735
|
+
*
|
|
736
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
737
|
+
* https://openapi-generator.tech
|
|
738
|
+
* Do not edit the class manually.
|
|
739
|
+
*/
|
|
740
|
+
|
|
741
|
+
interface Issues {
|
|
742
|
+
total?: number | null;
|
|
743
|
+
data?: Array<Issue> | null;
|
|
744
|
+
}
|
|
745
|
+
|
|
648
746
|
/**
|
|
649
747
|
* MySeko.API.Client
|
|
650
748
|
*
|
|
@@ -1011,9 +1109,100 @@ interface Shipments {
|
|
|
1011
1109
|
data: Array<Shipment>;
|
|
1012
1110
|
}
|
|
1013
1111
|
|
|
1112
|
+
/**
|
|
1113
|
+
* MySeko.API.Client
|
|
1114
|
+
*
|
|
1115
|
+
*
|
|
1116
|
+
*
|
|
1117
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1118
|
+
* https://openapi-generator.tech
|
|
1119
|
+
* Do not edit the class manually.
|
|
1120
|
+
*/
|
|
1121
|
+
interface UpdateIssueRequest {
|
|
1122
|
+
remark?: string | null;
|
|
1123
|
+
closeIssue?: boolean | null;
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1014
1126
|
declare class ShipmentService extends BaseService {
|
|
1015
1127
|
protected httpClient: HttpClient;
|
|
1016
1128
|
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
1129
|
+
/**
|
|
1130
|
+
* Create a new issue for a shipment
|
|
1131
|
+
* @endpoint post /myseko/shipments/{ordOrderID}/issues
|
|
1132
|
+
* @param ordOrderID
|
|
1133
|
+
* @param createIssueRequest
|
|
1134
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1135
|
+
* @param reportProgress flag to report request and response progress.
|
|
1136
|
+
* @param options additional options
|
|
1137
|
+
*/
|
|
1138
|
+
createShipmentIssue(ordOrderID: string, createIssueRequest: CreateIssueRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1139
|
+
httpHeaderAccept?: 'application/json';
|
|
1140
|
+
context?: HttpContext;
|
|
1141
|
+
transferCache?: boolean;
|
|
1142
|
+
}): Observable<CreateIssueResponse>;
|
|
1143
|
+
createShipmentIssue(ordOrderID: string, createIssueRequest: CreateIssueRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1144
|
+
httpHeaderAccept?: 'application/json';
|
|
1145
|
+
context?: HttpContext;
|
|
1146
|
+
transferCache?: boolean;
|
|
1147
|
+
}): Observable<HttpResponse<CreateIssueResponse>>;
|
|
1148
|
+
createShipmentIssue(ordOrderID: string, createIssueRequest: CreateIssueRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1149
|
+
httpHeaderAccept?: 'application/json';
|
|
1150
|
+
context?: HttpContext;
|
|
1151
|
+
transferCache?: boolean;
|
|
1152
|
+
}): Observable<HttpEvent<CreateIssueResponse>>;
|
|
1153
|
+
/**
|
|
1154
|
+
* Get a specific issue by ID
|
|
1155
|
+
* @endpoint get /myseko/shipments/{ordOrderID}/issues/{issueID}
|
|
1156
|
+
* @param ordOrderID
|
|
1157
|
+
* @param issueID
|
|
1158
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1159
|
+
* @param reportProgress flag to report request and response progress.
|
|
1160
|
+
* @param options additional options
|
|
1161
|
+
*/
|
|
1162
|
+
getShipmentIssue(ordOrderID: string, issueID: number, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1163
|
+
httpHeaderAccept?: 'application/json';
|
|
1164
|
+
context?: HttpContext;
|
|
1165
|
+
transferCache?: boolean;
|
|
1166
|
+
}): Observable<Issue>;
|
|
1167
|
+
getShipmentIssue(ordOrderID: string, issueID: number, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1168
|
+
httpHeaderAccept?: 'application/json';
|
|
1169
|
+
context?: HttpContext;
|
|
1170
|
+
transferCache?: boolean;
|
|
1171
|
+
}): Observable<HttpResponse<Issue>>;
|
|
1172
|
+
getShipmentIssue(ordOrderID: string, issueID: number, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1173
|
+
httpHeaderAccept?: 'application/json';
|
|
1174
|
+
context?: HttpContext;
|
|
1175
|
+
transferCache?: boolean;
|
|
1176
|
+
}): Observable<HttpEvent<Issue>>;
|
|
1177
|
+
/**
|
|
1178
|
+
* Get issues for a shipment
|
|
1179
|
+
* @endpoint get /myseko/shipments/{ordOrderID}/issues
|
|
1180
|
+
* @param ordOrderID
|
|
1181
|
+
* @param $skip
|
|
1182
|
+
* @param $top
|
|
1183
|
+
* @param $filter
|
|
1184
|
+
* @param $orderby
|
|
1185
|
+
* @param $select
|
|
1186
|
+
* @param $expand
|
|
1187
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1188
|
+
* @param reportProgress flag to report request and response progress.
|
|
1189
|
+
* @param options additional options
|
|
1190
|
+
*/
|
|
1191
|
+
getShipmentIssues(ordOrderID: string, $skip?: number, $top?: number, $filter?: string, $orderby?: string, $select?: string, $expand?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1192
|
+
httpHeaderAccept?: 'application/json';
|
|
1193
|
+
context?: HttpContext;
|
|
1194
|
+
transferCache?: boolean;
|
|
1195
|
+
}): Observable<Issues>;
|
|
1196
|
+
getShipmentIssues(ordOrderID: string, $skip?: number, $top?: number, $filter?: string, $orderby?: string, $select?: string, $expand?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1197
|
+
httpHeaderAccept?: 'application/json';
|
|
1198
|
+
context?: HttpContext;
|
|
1199
|
+
transferCache?: boolean;
|
|
1200
|
+
}): Observable<HttpResponse<Issues>>;
|
|
1201
|
+
getShipmentIssues(ordOrderID: string, $skip?: number, $top?: number, $filter?: string, $orderby?: string, $select?: string, $expand?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1202
|
+
httpHeaderAccept?: 'application/json';
|
|
1203
|
+
context?: HttpContext;
|
|
1204
|
+
transferCache?: boolean;
|
|
1205
|
+
}): Observable<HttpEvent<Issues>>;
|
|
1017
1206
|
/**
|
|
1018
1207
|
* Get shipment package details by ordOrderID
|
|
1019
1208
|
* @endpoint get /myseko/shipments/{ordOrderID}/package-details
|
|
@@ -1159,6 +1348,31 @@ declare class ShipmentService extends BaseService {
|
|
|
1159
1348
|
context?: HttpContext;
|
|
1160
1349
|
transferCache?: boolean;
|
|
1161
1350
|
}): Observable<HttpEvent<Shipments>>;
|
|
1351
|
+
/**
|
|
1352
|
+
* Update an existing issue
|
|
1353
|
+
* @endpoint put /myseko/shipments/{ordOrderID}/issues/{issueID}
|
|
1354
|
+
* @param ordOrderID
|
|
1355
|
+
* @param issueID
|
|
1356
|
+
* @param updateIssueRequest
|
|
1357
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1358
|
+
* @param reportProgress flag to report request and response progress.
|
|
1359
|
+
* @param options additional options
|
|
1360
|
+
*/
|
|
1361
|
+
updateShipmentIssue(ordOrderID: string, issueID: number, updateIssueRequest: UpdateIssueRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1362
|
+
httpHeaderAccept?: undefined;
|
|
1363
|
+
context?: HttpContext;
|
|
1364
|
+
transferCache?: boolean;
|
|
1365
|
+
}): Observable<any>;
|
|
1366
|
+
updateShipmentIssue(ordOrderID: string, issueID: number, updateIssueRequest: UpdateIssueRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1367
|
+
httpHeaderAccept?: undefined;
|
|
1368
|
+
context?: HttpContext;
|
|
1369
|
+
transferCache?: boolean;
|
|
1370
|
+
}): Observable<HttpResponse<any>>;
|
|
1371
|
+
updateShipmentIssue(ordOrderID: string, issueID: number, updateIssueRequest: UpdateIssueRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1372
|
+
httpHeaderAccept?: undefined;
|
|
1373
|
+
context?: HttpContext;
|
|
1374
|
+
transferCache?: boolean;
|
|
1375
|
+
}): Observable<HttpEvent<any>>;
|
|
1162
1376
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShipmentService, [null, { optional: true; }, { optional: true; }]>;
|
|
1163
1377
|
static ɵprov: i0.ɵɵInjectableDeclaration<ShipmentService>;
|
|
1164
1378
|
}
|
|
@@ -1461,4 +1675,4 @@ declare class ApiModule {
|
|
|
1461
1675
|
declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
|
|
1462
1676
|
|
|
1463
1677
|
export { APIS, ApiModule, AuthService, BASE_PATH, COLLECTION_FORMATS, CalendarService, CalendarViewBy, Configuration, DashboardService, HealthService, SettingsService, ShipmentService, TimelineEvent, TimelineEventStatus, UserService, UsergroupService, provideApi };
|
|
1464
|
-
export type { ActiveShipment, Address, BaseShipmentSummary, ConfigurationParameters, Contact, DataFormat, DataType, DeliveriesToday, EntityList, IntlShipmentSummary, ModelError, PackageDetails, Param, ParamLocation, ParamStyle, PieceDetail, RegGroup, SekonaShipmentSummary, SettingValue, SettingView, Shipment, ShipmentCalendarDateGroup, ShipmentCalendarDates, ShipmentCalendarItem, ShipmentParty, ShipmentPurchaseOrder, ShipmentPurchaseOrderDetails, ShipmentSummary, ShipmentTimeline, Shipments, StandardDataFormat, StandardDataType, StandardParamStyle, User, UserAccount };
|
|
1678
|
+
export type { ActiveShipment, Address, BaseShipmentSummary, ConfigurationParameters, Contact, CreateIssueRequest, CreateIssueResponse, DataFormat, DataType, DeliveriesToday, EntityList, IntlShipmentSummary, Issue, IssueLog, IssueLogEntry, Issues, ModelError, PackageDetails, Param, ParamLocation, ParamStyle, PieceDetail, RegGroup, SekonaShipmentSummary, SettingValue, SettingView, Shipment, ShipmentCalendarDateGroup, ShipmentCalendarDates, ShipmentCalendarItem, ShipmentParty, ShipmentPurchaseOrder, ShipmentPurchaseOrderDetails, ShipmentSummary, ShipmentTimeline, Shipments, StandardDataFormat, StandardDataType, StandardParamStyle, UpdateIssueRequest, User, UserAccount };
|