@indigina/myseko-api 0.0.13 → 0.0.14

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
@@ -263,36 +263,9 @@ declare class CalendarService extends BaseService {
263
263
  protected httpClient: HttpClient;
264
264
  constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
265
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
266
+ * Returns Calendar for a given range
267
+ * @param startDate
268
+ * @param endDate
296
269
  * @param viewBy
297
270
  * @param $filter
298
271
  * @param $orderby
@@ -303,109 +276,17 @@ declare class CalendarService extends BaseService {
303
276
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
304
277
  * @param reportProgress flag to report request and response progress.
305
278
  */
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?: {
279
+ getShipmentCalendarRange(startDate: string, endDate: string, viewBy?: CalendarViewBy, $filter?: string, $orderby?: string, $select?: string, $expand?: string, $top?: number, $skip?: number, observe?: 'body', reportProgress?: boolean, options?: {
353
280
  httpHeaderAccept?: 'application/json';
354
281
  context?: HttpContext;
355
282
  transferCache?: boolean;
356
283
  }): Observable<ShipmentCalendarDates>;
357
- getShipmentCalendarMonthShort(year: number, month: number, viewBy?: CalendarViewBy, observe?: 'response', reportProgress?: boolean, options?: {
284
+ getShipmentCalendarRange(startDate: string, endDate: string, viewBy?: CalendarViewBy, $filter?: string, $orderby?: string, $select?: string, $expand?: string, $top?: number, $skip?: number, observe?: 'response', reportProgress?: boolean, options?: {
358
285
  httpHeaderAccept?: 'application/json';
359
286
  context?: HttpContext;
360
287
  transferCache?: boolean;
361
288
  }): 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>>;
367
- /**
368
- * Returns Calendar for a given range
369
- * @param startDate
370
- * @param endDate
371
- * @param viewBy
372
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
373
- * @param reportProgress flag to report request and response progress.
374
- */
375
- getShipmentCalendarRange(startDate: string, endDate: string, viewBy?: CalendarViewBy, observe?: 'body', reportProgress?: boolean, options?: {
376
- httpHeaderAccept?: 'application/json';
377
- context?: HttpContext;
378
- transferCache?: boolean;
379
- }): Observable<ShipmentCalendarDates>;
380
- getShipmentCalendarRange(startDate: string, endDate: string, viewBy?: CalendarViewBy, observe?: 'response', reportProgress?: boolean, options?: {
381
- httpHeaderAccept?: 'application/json';
382
- context?: HttpContext;
383
- transferCache?: boolean;
384
- }): Observable<HttpResponse<ShipmentCalendarDates>>;
385
- getShipmentCalendarRange(startDate: string, endDate: string, viewBy?: CalendarViewBy, observe?: 'events', reportProgress?: boolean, options?: {
386
- httpHeaderAccept?: 'application/json';
387
- context?: HttpContext;
388
- transferCache?: boolean;
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?: {
289
+ getShipmentCalendarRange(startDate: string, endDate: string, viewBy?: CalendarViewBy, $filter?: string, $orderby?: string, $select?: string, $expand?: string, $top?: number, $skip?: number, observe?: 'events', reportProgress?: boolean, options?: {
409
290
  httpHeaderAccept?: 'application/json';
410
291
  context?: HttpContext;
411
292
  transferCache?: boolean;
@@ -842,12 +723,33 @@ interface ShipmentSummary {
842
723
  * https://openapi-generator.tech
843
724
  * Do not edit the class manually.
844
725
  */
726
+ declare const TimelineEventStatus: {
727
+ readonly Origin: "ORIGIN";
728
+ readonly Departed: "DEPARTED";
729
+ readonly InTransit: "IN_TRANSIT";
730
+ readonly Arrived: "ARRIVED";
731
+ readonly Destination: "DESTINATION";
732
+ };
733
+ type TimelineEventStatus = typeof TimelineEventStatus[keyof typeof TimelineEventStatus];
734
+
735
+ /**
736
+ * MySeko.API.Client
737
+ *
738
+ *
739
+ *
740
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
741
+ * https://openapi-generator.tech
742
+ * Do not edit the class manually.
743
+ */
744
+
845
745
  interface TimelineEvent {
846
746
  comment?: string | null;
847
747
  code?: string | null;
848
- status?: string | null;
748
+ status?: TimelineEventStatus | null;
849
749
  date?: string | null;
850
750
  }
751
+ declare namespace TimelineEvent {
752
+ }
851
753
 
852
754
  /**
853
755
  * MySeko.API.Client
@@ -979,6 +881,7 @@ interface Shipment {
979
881
  eta?: string | null;
980
882
  etd?: string | null;
981
883
  deliveryRequiredBy?: string | null;
884
+ isActive?: boolean | null;
982
885
  }
983
886
 
984
887
  /**
@@ -1427,5 +1330,5 @@ declare class ApiModule {
1427
1330
 
1428
1331
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
1429
1332
 
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 };
1333
+ export { APIS, ApiModule, AuthService, BASE_PATH, COLLECTION_FORMATS, CalendarService, CalendarViewBy, Configuration, DashboardService, HealthService, SettingsService, ShipmentService, TimelineEvent, TimelineEventStatus, UserService, UsergroupService, provideApi };
1334
+ 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, User, UserAccount };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indigina/myseko-api",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "OpenAPI client for @indigina/myseko-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {