@indigina/myseko-api 0.0.12 → 0.0.13

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/index.d.ts CHANGED
@@ -203,10 +203,27 @@ declare class AuthService extends BaseService {
203
203
  * https://openapi-generator.tech
204
204
  * Do not edit the class manually.
205
205
  */
206
- interface CalendarOrder {
206
+ declare const CalendarViewBy: {
207
+ readonly Due: "due";
208
+ readonly Pickup: "pickup";
209
+ readonly Pod: "pod";
210
+ readonly Created: "created";
211
+ };
212
+ type CalendarViewBy = typeof CalendarViewBy[keyof typeof CalendarViewBy];
213
+
214
+ /**
215
+ * MySeko.API.Client
216
+ *
217
+ *
218
+ *
219
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
220
+ * https://openapi-generator.tech
221
+ * Do not edit the class manually.
222
+ */
223
+ interface ShipmentCalendarItem {
207
224
  ordOrderID: string;
208
225
  date?: string | null;
209
- orderNumber?: string | null;
226
+ number?: string | null;
210
227
  status?: string | null;
211
228
  from?: string | null;
212
229
  to?: string | null;
@@ -222,8 +239,10 @@ interface CalendarOrder {
222
239
  * Do not edit the class manually.
223
240
  */
224
241
 
225
- interface CalendarOrders {
226
- orders?: Array<CalendarOrder> | null;
242
+ interface ShipmentCalendarDateGroup {
243
+ total?: number | null;
244
+ data?: Array<ShipmentCalendarItem> | null;
245
+ date?: string | null;
227
246
  }
228
247
 
229
248
  /**
@@ -235,38 +254,162 @@ interface CalendarOrders {
235
254
  * https://openapi-generator.tech
236
255
  * Do not edit the class manually.
237
256
  */
238
- declare const CalendarType: {
239
- readonly NorthAmerican: "NorthAmerican";
240
- readonly International: "International";
241
- };
242
- type CalendarType = typeof CalendarType[keyof typeof CalendarType];
257
+
258
+ interface ShipmentCalendarDates {
259
+ dates?: Array<ShipmentCalendarDateGroup> | null;
260
+ }
243
261
 
244
262
  declare class CalendarService extends BaseService {
245
263
  protected httpClient: HttpClient;
246
264
  constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
265
+ /**
266
+ * Returns Calendar for a given day
267
+ * @param date
268
+ * @param viewBy
269
+ * @param $filter
270
+ * @param $orderby
271
+ * @param $select
272
+ * @param $expand
273
+ * @param $top
274
+ * @param $skip
275
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
276
+ * @param reportProgress flag to report request and response progress.
277
+ */
278
+ getShipmentCalendarDay(date: string, viewBy?: CalendarViewBy, $filter?: string, $orderby?: string, $select?: string, $expand?: string, $top?: number, $skip?: number, observe?: 'body', reportProgress?: boolean, options?: {
279
+ httpHeaderAccept?: 'application/json';
280
+ context?: HttpContext;
281
+ transferCache?: boolean;
282
+ }): Observable<ShipmentCalendarDates>;
283
+ getShipmentCalendarDay(date: string, viewBy?: CalendarViewBy, $filter?: string, $orderby?: string, $select?: string, $expand?: string, $top?: number, $skip?: number, observe?: 'response', reportProgress?: boolean, options?: {
284
+ httpHeaderAccept?: 'application/json';
285
+ context?: HttpContext;
286
+ transferCache?: boolean;
287
+ }): Observable<HttpResponse<ShipmentCalendarDates>>;
288
+ getShipmentCalendarDay(date: string, viewBy?: CalendarViewBy, $filter?: string, $orderby?: string, $select?: string, $expand?: string, $top?: number, $skip?: number, observe?: 'events', reportProgress?: boolean, options?: {
289
+ httpHeaderAccept?: 'application/json';
290
+ context?: HttpContext;
291
+ transferCache?: boolean;
292
+ }): Observable<HttpEvent<ShipmentCalendarDates>>;
293
+ /**
294
+ * Returns Calendar for a given day
295
+ * @param date
296
+ * @param viewBy
297
+ * @param $filter
298
+ * @param $orderby
299
+ * @param $select
300
+ * @param $expand
301
+ * @param $top
302
+ * @param $skip
303
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
304
+ * @param reportProgress flag to report request and response progress.
305
+ */
306
+ getShipmentCalendarDayShort(date: string, viewBy?: CalendarViewBy, $filter?: string, $orderby?: string, $select?: string, $expand?: string, $top?: number, $skip?: number, observe?: 'body', reportProgress?: boolean, options?: {
307
+ httpHeaderAccept?: 'application/json';
308
+ context?: HttpContext;
309
+ transferCache?: boolean;
310
+ }): Observable<ShipmentCalendarDates>;
311
+ getShipmentCalendarDayShort(date: string, viewBy?: CalendarViewBy, $filter?: string, $orderby?: string, $select?: string, $expand?: string, $top?: number, $skip?: number, observe?: 'response', reportProgress?: boolean, options?: {
312
+ httpHeaderAccept?: 'application/json';
313
+ context?: HttpContext;
314
+ transferCache?: boolean;
315
+ }): Observable<HttpResponse<ShipmentCalendarDates>>;
316
+ getShipmentCalendarDayShort(date: string, viewBy?: CalendarViewBy, $filter?: string, $orderby?: string, $select?: string, $expand?: string, $top?: number, $skip?: number, observe?: 'events', reportProgress?: boolean, options?: {
317
+ httpHeaderAccept?: 'application/json';
318
+ context?: HttpContext;
319
+ transferCache?: boolean;
320
+ }): Observable<HttpEvent<ShipmentCalendarDates>>;
321
+ /**
322
+ * Returns Calendar for a given month
323
+ * @param year
324
+ * @param month
325
+ * @param viewBy
326
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
327
+ * @param reportProgress flag to report request and response progress.
328
+ */
329
+ getShipmentCalendarMonth(year: number, month: number, viewBy?: CalendarViewBy, observe?: 'body', reportProgress?: boolean, options?: {
330
+ httpHeaderAccept?: 'application/json';
331
+ context?: HttpContext;
332
+ transferCache?: boolean;
333
+ }): Observable<ShipmentCalendarDates>;
334
+ getShipmentCalendarMonth(year: number, month: number, viewBy?: CalendarViewBy, observe?: 'response', reportProgress?: boolean, options?: {
335
+ httpHeaderAccept?: 'application/json';
336
+ context?: HttpContext;
337
+ transferCache?: boolean;
338
+ }): Observable<HttpResponse<ShipmentCalendarDates>>;
339
+ getShipmentCalendarMonth(year: number, month: number, viewBy?: CalendarViewBy, observe?: 'events', reportProgress?: boolean, options?: {
340
+ httpHeaderAccept?: 'application/json';
341
+ context?: HttpContext;
342
+ transferCache?: boolean;
343
+ }): Observable<HttpEvent<ShipmentCalendarDates>>;
344
+ /**
345
+ * Returns Calendar for a given month
346
+ * @param year
347
+ * @param month
348
+ * @param viewBy
349
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
350
+ * @param reportProgress flag to report request and response progress.
351
+ */
352
+ getShipmentCalendarMonthShort(year: number, month: number, viewBy?: CalendarViewBy, observe?: 'body', reportProgress?: boolean, options?: {
353
+ httpHeaderAccept?: 'application/json';
354
+ context?: HttpContext;
355
+ transferCache?: boolean;
356
+ }): Observable<ShipmentCalendarDates>;
357
+ getShipmentCalendarMonthShort(year: number, month: number, viewBy?: CalendarViewBy, observe?: 'response', reportProgress?: boolean, options?: {
358
+ httpHeaderAccept?: 'application/json';
359
+ context?: HttpContext;
360
+ transferCache?: boolean;
361
+ }): Observable<HttpResponse<ShipmentCalendarDates>>;
362
+ getShipmentCalendarMonthShort(year: number, month: number, viewBy?: CalendarViewBy, observe?: 'events', reportProgress?: boolean, options?: {
363
+ httpHeaderAccept?: 'application/json';
364
+ context?: HttpContext;
365
+ transferCache?: boolean;
366
+ }): Observable<HttpEvent<ShipmentCalendarDates>>;
247
367
  /**
248
368
  * Returns Calendar for a given range
249
- * @param calendar
250
369
  * @param startDate
251
370
  * @param endDate
371
+ * @param viewBy
252
372
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
253
373
  * @param reportProgress flag to report request and response progress.
254
374
  */
255
- getCalendarRange(calendar: CalendarType, startDate: string, endDate: string, observe?: 'body', reportProgress?: boolean, options?: {
375
+ getShipmentCalendarRange(startDate: string, endDate: string, viewBy?: CalendarViewBy, observe?: 'body', reportProgress?: boolean, options?: {
256
376
  httpHeaderAccept?: 'application/json';
257
377
  context?: HttpContext;
258
378
  transferCache?: boolean;
259
- }): Observable<CalendarOrders>;
260
- getCalendarRange(calendar: CalendarType, startDate: string, endDate: string, observe?: 'response', reportProgress?: boolean, options?: {
379
+ }): Observable<ShipmentCalendarDates>;
380
+ getShipmentCalendarRange(startDate: string, endDate: string, viewBy?: CalendarViewBy, observe?: 'response', reportProgress?: boolean, options?: {
261
381
  httpHeaderAccept?: 'application/json';
262
382
  context?: HttpContext;
263
383
  transferCache?: boolean;
264
- }): Observable<HttpResponse<CalendarOrders>>;
265
- getCalendarRange(calendar: CalendarType, startDate: string, endDate: string, observe?: 'events', reportProgress?: boolean, options?: {
384
+ }): Observable<HttpResponse<ShipmentCalendarDates>>;
385
+ getShipmentCalendarRange(startDate: string, endDate: string, viewBy?: CalendarViewBy, observe?: 'events', reportProgress?: boolean, options?: {
266
386
  httpHeaderAccept?: 'application/json';
267
387
  context?: HttpContext;
268
388
  transferCache?: boolean;
269
- }): Observable<HttpEvent<CalendarOrders>>;
389
+ }): Observable<HttpEvent<ShipmentCalendarDates>>;
390
+ /**
391
+ * Returns Calendar for a given range
392
+ * @param startDate
393
+ * @param endDate
394
+ * @param viewBy
395
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
396
+ * @param reportProgress flag to report request and response progress.
397
+ */
398
+ getShipmentCalendarRangeShort(startDate: string, endDate: string, viewBy?: CalendarViewBy, observe?: 'body', reportProgress?: boolean, options?: {
399
+ httpHeaderAccept?: 'application/json';
400
+ context?: HttpContext;
401
+ transferCache?: boolean;
402
+ }): Observable<ShipmentCalendarDates>;
403
+ getShipmentCalendarRangeShort(startDate: string, endDate: string, viewBy?: CalendarViewBy, observe?: 'response', reportProgress?: boolean, options?: {
404
+ httpHeaderAccept?: 'application/json';
405
+ context?: HttpContext;
406
+ transferCache?: boolean;
407
+ }): Observable<HttpResponse<ShipmentCalendarDates>>;
408
+ getShipmentCalendarRangeShort(startDate: string, endDate: string, viewBy?: CalendarViewBy, observe?: 'events', reportProgress?: boolean, options?: {
409
+ httpHeaderAccept?: 'application/json';
410
+ context?: HttpContext;
411
+ transferCache?: boolean;
412
+ }): Observable<HttpEvent<ShipmentCalendarDates>>;
270
413
  static ɵfac: i0.ɵɵFactoryDeclaration<CalendarService, [null, { optional: true; }, { optional: true; }]>;
271
414
  static ɵprov: i0.ɵɵInjectableDeclaration<CalendarService>;
272
415
  }
@@ -654,6 +797,40 @@ interface ShipmentSummary {
654
797
  podTime?: string | null;
655
798
  pickupDate?: string | null;
656
799
  dueDate?: string | null;
800
+ origin?: string | null;
801
+ destination?: string | null;
802
+ originName?: string | null;
803
+ destinationName?: string | null;
804
+ secondaryPUServiceLevel?: string | null;
805
+ secondaryDelServiceLevel?: string | null;
806
+ podTimeIn?: string | null;
807
+ dueTime?: string | null;
808
+ dueDateReady?: string | null;
809
+ dueDateClose?: string | null;
810
+ apptDate?: string | null;
811
+ apptStartTime?: string | null;
812
+ apptEndTime?: string | null;
813
+ shipDate?: string | null;
814
+ readyTime?: string | null;
815
+ closeTime?: string | null;
816
+ shipperApptDate?: string | null;
817
+ shipperApptStartTime?: string | null;
818
+ shipperApptEndTime?: string | null;
819
+ appointmentRequired?: boolean | null;
820
+ originPort?: string | null;
821
+ destPort?: string | null;
822
+ originPortName?: string | null;
823
+ destPortName?: string | null;
824
+ mode?: string | null;
825
+ containerType?: string | null;
826
+ volume?: number | null;
827
+ volumeUOM?: string | null;
828
+ addlShipmentRef?: string | null;
829
+ bookedDate?: string | null;
830
+ etdSailDate?: string | null;
831
+ etaDueDate?: string | null;
832
+ delivery?: Address;
833
+ finalDelivery?: Address;
657
834
  }
658
835
 
659
836
  /**
@@ -1086,6 +1263,33 @@ declare class UsergroupService extends BaseService {
1086
1263
 
1087
1264
  declare const APIS: (typeof AuthService | typeof CalendarService | typeof DashboardService | typeof HealthService | typeof SettingsService | typeof ShipmentService | typeof UserService | typeof UsergroupService)[];
1088
1265
 
1266
+ /**
1267
+ * MySeko.API.Client
1268
+ *
1269
+ *
1270
+ *
1271
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1272
+ * https://openapi-generator.tech
1273
+ * Do not edit the class manually.
1274
+ */
1275
+
1276
+ interface BaseShipmentSummary {
1277
+ ordOrderID: string;
1278
+ typeOrderID?: string | null;
1279
+ number?: string | null;
1280
+ status?: string | null;
1281
+ serviceLevel?: string | null;
1282
+ description?: string | null;
1283
+ shipper?: ShipmentParty;
1284
+ consignee?: ShipmentParty;
1285
+ pieces?: number | null;
1286
+ podName?: string | null;
1287
+ pod?: string | null;
1288
+ podTime?: string | null;
1289
+ pickupDate?: string | null;
1290
+ dueDate?: string | null;
1291
+ }
1292
+
1089
1293
  /**
1090
1294
  * MySeko.API.Client
1091
1295
  *
@@ -1100,6 +1304,47 @@ interface EntityList {
1100
1304
  data: Array<object>;
1101
1305
  }
1102
1306
 
1307
+ /**
1308
+ * MySeko.API.Client
1309
+ *
1310
+ *
1311
+ *
1312
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1313
+ * https://openapi-generator.tech
1314
+ * Do not edit the class manually.
1315
+ */
1316
+
1317
+ interface IntlShipmentSummary {
1318
+ ordOrderID: string;
1319
+ typeOrderID?: string | null;
1320
+ number?: string | null;
1321
+ status?: string | null;
1322
+ serviceLevel?: string | null;
1323
+ description?: string | null;
1324
+ shipper?: ShipmentParty;
1325
+ consignee?: ShipmentParty;
1326
+ pieces?: number | null;
1327
+ podName?: string | null;
1328
+ pod?: string | null;
1329
+ podTime?: string | null;
1330
+ pickupDate?: string | null;
1331
+ dueDate?: string | null;
1332
+ originPort?: string | null;
1333
+ destPort?: string | null;
1334
+ originPortName?: string | null;
1335
+ destPortName?: string | null;
1336
+ mode?: string | null;
1337
+ containerType?: string | null;
1338
+ volume?: number | null;
1339
+ volumeUOM?: string | null;
1340
+ addlShipmentRef?: string | null;
1341
+ bookedDate?: string | null;
1342
+ etdSailDate?: string | null;
1343
+ etaDueDate?: string | null;
1344
+ delivery?: Address;
1345
+ finalDelivery?: Address;
1346
+ }
1347
+
1103
1348
  /**
1104
1349
  * MySeko.API.Client
1105
1350
  *
@@ -1117,6 +1362,53 @@ interface ModelError {
1117
1362
  } | null;
1118
1363
  }
1119
1364
 
1365
+ /**
1366
+ * MySeko.API.Client
1367
+ *
1368
+ *
1369
+ *
1370
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1371
+ * https://openapi-generator.tech
1372
+ * Do not edit the class manually.
1373
+ */
1374
+
1375
+ interface SekonaShipmentSummary {
1376
+ ordOrderID: string;
1377
+ typeOrderID?: string | null;
1378
+ number?: string | null;
1379
+ status?: string | null;
1380
+ serviceLevel?: string | null;
1381
+ description?: string | null;
1382
+ shipper?: ShipmentParty;
1383
+ consignee?: ShipmentParty;
1384
+ pieces?: number | null;
1385
+ podName?: string | null;
1386
+ pod?: string | null;
1387
+ podTime?: string | null;
1388
+ pickupDate?: string | null;
1389
+ dueDate?: string | null;
1390
+ origin?: string | null;
1391
+ destination?: string | null;
1392
+ originName?: string | null;
1393
+ destinationName?: string | null;
1394
+ secondaryPUServiceLevel?: string | null;
1395
+ secondaryDelServiceLevel?: string | null;
1396
+ podTimeIn?: string | null;
1397
+ dueTime?: string | null;
1398
+ dueDateReady?: string | null;
1399
+ dueDateClose?: string | null;
1400
+ apptDate?: string | null;
1401
+ apptStartTime?: string | null;
1402
+ apptEndTime?: string | null;
1403
+ shipDate?: string | null;
1404
+ readyTime?: string | null;
1405
+ closeTime?: string | null;
1406
+ shipperApptDate?: string | null;
1407
+ shipperApptStartTime?: string | null;
1408
+ shipperApptEndTime?: string | null;
1409
+ appointmentRequired?: boolean | null;
1410
+ }
1411
+
1120
1412
  declare const BASE_PATH: InjectionToken<string>;
1121
1413
  declare const COLLECTION_FORMATS: {
1122
1414
  csv: string;
@@ -1135,5 +1427,5 @@ declare class ApiModule {
1135
1427
 
1136
1428
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
1137
1429
 
1138
- export { APIS, ApiModule, AuthService, BASE_PATH, COLLECTION_FORMATS, CalendarService, CalendarType, Configuration, DashboardService, HealthService, SettingsService, ShipmentService, UserService, UsergroupService, provideApi };
1139
- export type { ActiveShipment, Address, CalendarOrder, CalendarOrders, ConfigurationParameters, Contact, DataFormat, DataType, EntityList, ModelError, PackageDetails, Param, ParamLocation, ParamStyle, PieceDetail, RegGroup, SettingValue, SettingView, Shipment, ShipmentParty, ShipmentPurchaseOrder, ShipmentPurchaseOrderDetails, ShipmentSummary, ShipmentTimeline, Shipments, StandardDataFormat, StandardDataType, StandardParamStyle, TimelineEvent, User, UserAccount };
1430
+ export { APIS, ApiModule, AuthService, BASE_PATH, COLLECTION_FORMATS, CalendarService, CalendarViewBy, Configuration, DashboardService, HealthService, SettingsService, ShipmentService, UserService, UsergroupService, provideApi };
1431
+ export type { ActiveShipment, Address, BaseShipmentSummary, ConfigurationParameters, Contact, DataFormat, DataType, 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, TimelineEvent, User, UserAccount };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indigina/myseko-api",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "OpenAPI client for @indigina/myseko-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {