@indigina/myseko-api 0.0.19 → 0.0.21

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indigina/myseko-api",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
4
4
  "description": "OpenAPI client for @indigina/myseko-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -648,6 +648,101 @@ declare class SettingsService extends BaseService {
648
648
  static ɵprov: i0.ɵɵInjectableDeclaration<SettingsService>;
649
649
  }
650
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
+
651
746
  /**
652
747
  * MySeko.API.Client
653
748
  *
@@ -717,6 +812,34 @@ interface ShipmentPurchaseOrderDetails {
717
812
  purchaseOrders?: Array<ShipmentPurchaseOrder> | null;
718
813
  }
719
814
 
815
+ /**
816
+ * MySeko.API.Client
817
+ *
818
+ *
819
+ *
820
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
821
+ * https://openapi-generator.tech
822
+ * Do not edit the class manually.
823
+ */
824
+ interface ShipmentRouting {
825
+ shipment?: string | null;
826
+ mode?: string | null;
827
+ origin?: string | null;
828
+ destination?: string | null;
829
+ eta?: string | null;
830
+ etd?: string | null;
831
+ carrier?: string | null;
832
+ vehicleName?: string | null;
833
+ vehicleNo?: string | null;
834
+ legType?: string | null;
835
+ legOrder?: number | null;
836
+ atd?: string | null;
837
+ ata?: string | null;
838
+ purchaseOrder?: string | null;
839
+ mySEKOReference?: string | null;
840
+ consigneeReference?: string | null;
841
+ }
842
+
720
843
  /**
721
844
  * MySeko.API.Client
722
845
  *
@@ -844,11 +967,11 @@ interface ShipmentSummary {
844
967
  * Do not edit the class manually.
845
968
  */
846
969
  declare const TimelineEventStatus: {
847
- readonly ORIGIN: 0;
848
- readonly DEPARTED: 1;
849
- readonly IN_TRANSIT: 2;
850
- readonly ARRIVED: 3;
851
- readonly DESTINATION: 4;
970
+ readonly ORIGIN: 1;
971
+ readonly DEPARTED: 2;
972
+ readonly IN_TRANSIT: 3;
973
+ readonly ARRIVED: 4;
974
+ readonly DESTINATION: 5;
852
975
  };
853
976
  type TimelineEventStatus = typeof TimelineEventStatus[keyof typeof TimelineEventStatus];
854
977
 
@@ -1014,9 +1137,100 @@ interface Shipments {
1014
1137
  data: Array<Shipment>;
1015
1138
  }
1016
1139
 
1140
+ /**
1141
+ * MySeko.API.Client
1142
+ *
1143
+ *
1144
+ *
1145
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1146
+ * https://openapi-generator.tech
1147
+ * Do not edit the class manually.
1148
+ */
1149
+ interface UpdateIssueRequest {
1150
+ remark?: string | null;
1151
+ closeIssue?: boolean | null;
1152
+ }
1153
+
1017
1154
  declare class ShipmentService extends BaseService {
1018
1155
  protected httpClient: HttpClient;
1019
1156
  constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1157
+ /**
1158
+ * Create a new issue for a shipment
1159
+ * @endpoint post /myseko/shipments/{ordOrderID}/issues
1160
+ * @param ordOrderID
1161
+ * @param createIssueRequest
1162
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1163
+ * @param reportProgress flag to report request and response progress.
1164
+ * @param options additional options
1165
+ */
1166
+ createShipmentIssue(ordOrderID: string, createIssueRequest: CreateIssueRequest, observe?: 'body', reportProgress?: boolean, options?: {
1167
+ httpHeaderAccept?: 'application/json';
1168
+ context?: HttpContext;
1169
+ transferCache?: boolean;
1170
+ }): Observable<CreateIssueResponse>;
1171
+ createShipmentIssue(ordOrderID: string, createIssueRequest: CreateIssueRequest, observe?: 'response', reportProgress?: boolean, options?: {
1172
+ httpHeaderAccept?: 'application/json';
1173
+ context?: HttpContext;
1174
+ transferCache?: boolean;
1175
+ }): Observable<HttpResponse<CreateIssueResponse>>;
1176
+ createShipmentIssue(ordOrderID: string, createIssueRequest: CreateIssueRequest, observe?: 'events', reportProgress?: boolean, options?: {
1177
+ httpHeaderAccept?: 'application/json';
1178
+ context?: HttpContext;
1179
+ transferCache?: boolean;
1180
+ }): Observable<HttpEvent<CreateIssueResponse>>;
1181
+ /**
1182
+ * Get a specific issue by ID
1183
+ * @endpoint get /myseko/shipments/{ordOrderID}/issues/{issueID}
1184
+ * @param ordOrderID
1185
+ * @param issueID
1186
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1187
+ * @param reportProgress flag to report request and response progress.
1188
+ * @param options additional options
1189
+ */
1190
+ getShipmentIssue(ordOrderID: string, issueID: number, observe?: 'body', reportProgress?: boolean, options?: {
1191
+ httpHeaderAccept?: 'application/json';
1192
+ context?: HttpContext;
1193
+ transferCache?: boolean;
1194
+ }): Observable<Issue>;
1195
+ getShipmentIssue(ordOrderID: string, issueID: number, observe?: 'response', reportProgress?: boolean, options?: {
1196
+ httpHeaderAccept?: 'application/json';
1197
+ context?: HttpContext;
1198
+ transferCache?: boolean;
1199
+ }): Observable<HttpResponse<Issue>>;
1200
+ getShipmentIssue(ordOrderID: string, issueID: number, observe?: 'events', reportProgress?: boolean, options?: {
1201
+ httpHeaderAccept?: 'application/json';
1202
+ context?: HttpContext;
1203
+ transferCache?: boolean;
1204
+ }): Observable<HttpEvent<Issue>>;
1205
+ /**
1206
+ * Get issues for a shipment
1207
+ * @endpoint get /myseko/shipments/{ordOrderID}/issues
1208
+ * @param ordOrderID
1209
+ * @param $skip
1210
+ * @param $top
1211
+ * @param $filter
1212
+ * @param $orderby
1213
+ * @param $select
1214
+ * @param $expand
1215
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1216
+ * @param reportProgress flag to report request and response progress.
1217
+ * @param options additional options
1218
+ */
1219
+ getShipmentIssues(ordOrderID: string, $skip?: number, $top?: number, $filter?: string, $orderby?: string, $select?: string, $expand?: string, observe?: 'body', reportProgress?: boolean, options?: {
1220
+ httpHeaderAccept?: 'application/json';
1221
+ context?: HttpContext;
1222
+ transferCache?: boolean;
1223
+ }): Observable<Issues>;
1224
+ getShipmentIssues(ordOrderID: string, $skip?: number, $top?: number, $filter?: string, $orderby?: string, $select?: string, $expand?: string, observe?: 'response', reportProgress?: boolean, options?: {
1225
+ httpHeaderAccept?: 'application/json';
1226
+ context?: HttpContext;
1227
+ transferCache?: boolean;
1228
+ }): Observable<HttpResponse<Issues>>;
1229
+ getShipmentIssues(ordOrderID: string, $skip?: number, $top?: number, $filter?: string, $orderby?: string, $select?: string, $expand?: string, observe?: 'events', reportProgress?: boolean, options?: {
1230
+ httpHeaderAccept?: 'application/json';
1231
+ context?: HttpContext;
1232
+ transferCache?: boolean;
1233
+ }): Observable<HttpEvent<Issues>>;
1020
1234
  /**
1021
1235
  * Get shipment package details by ordOrderID
1022
1236
  * @endpoint get /myseko/shipments/{ordOrderID}/package-details
@@ -1063,6 +1277,29 @@ declare class ShipmentService extends BaseService {
1063
1277
  context?: HttpContext;
1064
1278
  transferCache?: boolean;
1065
1279
  }): Observable<HttpEvent<ShipmentPurchaseOrderDetails>>;
1280
+ /**
1281
+ * Get shipment routing details by ordOrderID
1282
+ * @endpoint get /myseko/shipments/{ordOrderID}/routing-details
1283
+ * @param ordOrderID
1284
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1285
+ * @param reportProgress flag to report request and response progress.
1286
+ * @param options additional options
1287
+ */
1288
+ getShipmentRoutingDetails(ordOrderID: string, observe?: 'body', reportProgress?: boolean, options?: {
1289
+ httpHeaderAccept?: 'application/json';
1290
+ context?: HttpContext;
1291
+ transferCache?: boolean;
1292
+ }): Observable<Array<ShipmentRouting>>;
1293
+ getShipmentRoutingDetails(ordOrderID: string, observe?: 'response', reportProgress?: boolean, options?: {
1294
+ httpHeaderAccept?: 'application/json';
1295
+ context?: HttpContext;
1296
+ transferCache?: boolean;
1297
+ }): Observable<HttpResponse<Array<ShipmentRouting>>>;
1298
+ getShipmentRoutingDetails(ordOrderID: string, observe?: 'events', reportProgress?: boolean, options?: {
1299
+ httpHeaderAccept?: 'application/json';
1300
+ context?: HttpContext;
1301
+ transferCache?: boolean;
1302
+ }): Observable<HttpEvent<Array<ShipmentRouting>>>;
1066
1303
  /**
1067
1304
  * Get shipment summary by ordOrderID
1068
1305
  * @endpoint get /myseko/shipments/{ordOrderID}/summary
@@ -1162,6 +1399,31 @@ declare class ShipmentService extends BaseService {
1162
1399
  context?: HttpContext;
1163
1400
  transferCache?: boolean;
1164
1401
  }): Observable<HttpEvent<Shipments>>;
1402
+ /**
1403
+ * Update an existing issue
1404
+ * @endpoint put /myseko/shipments/{ordOrderID}/issues/{issueID}
1405
+ * @param ordOrderID
1406
+ * @param issueID
1407
+ * @param updateIssueRequest
1408
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1409
+ * @param reportProgress flag to report request and response progress.
1410
+ * @param options additional options
1411
+ */
1412
+ updateShipmentIssue(ordOrderID: string, issueID: number, updateIssueRequest: UpdateIssueRequest, observe?: 'body', reportProgress?: boolean, options?: {
1413
+ httpHeaderAccept?: undefined;
1414
+ context?: HttpContext;
1415
+ transferCache?: boolean;
1416
+ }): Observable<any>;
1417
+ updateShipmentIssue(ordOrderID: string, issueID: number, updateIssueRequest: UpdateIssueRequest, observe?: 'response', reportProgress?: boolean, options?: {
1418
+ httpHeaderAccept?: undefined;
1419
+ context?: HttpContext;
1420
+ transferCache?: boolean;
1421
+ }): Observable<HttpResponse<any>>;
1422
+ updateShipmentIssue(ordOrderID: string, issueID: number, updateIssueRequest: UpdateIssueRequest, observe?: 'events', reportProgress?: boolean, options?: {
1423
+ httpHeaderAccept?: undefined;
1424
+ context?: HttpContext;
1425
+ transferCache?: boolean;
1426
+ }): Observable<HttpEvent<any>>;
1165
1427
  static ɵfac: i0.ɵɵFactoryDeclaration<ShipmentService, [null, { optional: true; }, { optional: true; }]>;
1166
1428
  static ɵprov: i0.ɵɵInjectableDeclaration<ShipmentService>;
1167
1429
  }
@@ -1464,4 +1726,4 @@ declare class ApiModule {
1464
1726
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
1465
1727
 
1466
1728
  export { APIS, ApiModule, AuthService, BASE_PATH, COLLECTION_FORMATS, CalendarService, CalendarViewBy, Configuration, DashboardService, HealthService, SettingsService, ShipmentService, TimelineEvent, TimelineEventStatus, UserService, UsergroupService, provideApi };
1467
- 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 };
1729
+ 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, ShipmentRouting, ShipmentSummary, ShipmentTimeline, Shipments, StandardDataFormat, StandardDataType, StandardParamStyle, UpdateIssueRequest, User, UserAccount };