@indigina/myseko-api 0.0.19 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indigina/myseko-api",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
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
  *
@@ -1014,9 +1109,100 @@ interface Shipments {
1014
1109
  data: Array<Shipment>;
1015
1110
  }
1016
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
+
1017
1126
  declare class ShipmentService extends BaseService {
1018
1127
  protected httpClient: HttpClient;
1019
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>>;
1020
1206
  /**
1021
1207
  * Get shipment package details by ordOrderID
1022
1208
  * @endpoint get /myseko/shipments/{ordOrderID}/package-details
@@ -1162,6 +1348,31 @@ declare class ShipmentService extends BaseService {
1162
1348
  context?: HttpContext;
1163
1349
  transferCache?: boolean;
1164
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>>;
1165
1376
  static ɵfac: i0.ɵɵFactoryDeclaration<ShipmentService, [null, { optional: true; }, { optional: true; }]>;
1166
1377
  static ɵprov: i0.ɵɵInjectableDeclaration<ShipmentService>;
1167
1378
  }
@@ -1464,4 +1675,4 @@ declare class ApiModule {
1464
1675
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
1465
1676
 
1466
1677
  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 };
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 };