@indigina/myseko-api 0.0.13 → 0.0.15

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,37 +263,11 @@ 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
270
+ * @param searchTerm
297
271
  * @param $filter
298
272
  * @param $orderby
299
273
  * @param $select
@@ -303,109 +277,17 @@ declare class CalendarService extends BaseService {
303
277
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
304
278
  * @param reportProgress flag to report request and response progress.
305
279
  */
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?: {
280
+ getShipmentCalendarRange(startDate: string, endDate: string, viewBy?: CalendarViewBy, searchTerm?: string, $filter?: string, $orderby?: string, $select?: string, $expand?: string, $top?: number, $skip?: number, observe?: 'body', reportProgress?: boolean, options?: {
330
281
  httpHeaderAccept?: 'application/json';
331
282
  context?: HttpContext;
332
283
  transferCache?: boolean;
333
284
  }): Observable<ShipmentCalendarDates>;
334
- getShipmentCalendarMonth(year: number, month: number, viewBy?: CalendarViewBy, observe?: 'response', reportProgress?: boolean, options?: {
285
+ getShipmentCalendarRange(startDate: string, endDate: string, viewBy?: CalendarViewBy, searchTerm?: string, $filter?: string, $orderby?: string, $select?: string, $expand?: string, $top?: number, $skip?: number, observe?: 'response', reportProgress?: boolean, options?: {
335
286
  httpHeaderAccept?: 'application/json';
336
287
  context?: HttpContext;
337
288
  transferCache?: boolean;
338
289
  }): 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>>;
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?: {
290
+ getShipmentCalendarRange(startDate: string, endDate: string, viewBy?: CalendarViewBy, searchTerm?: string, $filter?: string, $orderby?: string, $select?: string, $expand?: string, $top?: number, $skip?: number, observe?: 'events', reportProgress?: boolean, options?: {
409
291
  httpHeaderAccept?: 'application/json';
410
292
  context?: HttpContext;
411
293
  transferCache?: boolean;
@@ -842,12 +724,33 @@ interface ShipmentSummary {
842
724
  * https://openapi-generator.tech
843
725
  * Do not edit the class manually.
844
726
  */
727
+ declare const TimelineEventStatus: {
728
+ readonly Origin: "ORIGIN";
729
+ readonly Departed: "DEPARTED";
730
+ readonly InTransit: "IN_TRANSIT";
731
+ readonly Arrived: "ARRIVED";
732
+ readonly Destination: "DESTINATION";
733
+ };
734
+ type TimelineEventStatus = typeof TimelineEventStatus[keyof typeof TimelineEventStatus];
735
+
736
+ /**
737
+ * MySeko.API.Client
738
+ *
739
+ *
740
+ *
741
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
742
+ * https://openapi-generator.tech
743
+ * Do not edit the class manually.
744
+ */
745
+
845
746
  interface TimelineEvent {
846
747
  comment?: string | null;
847
748
  code?: string | null;
848
- status?: string | null;
749
+ status?: TimelineEventStatus | null;
849
750
  date?: string | null;
850
751
  }
752
+ declare namespace TimelineEvent {
753
+ }
851
754
 
852
755
  /**
853
756
  * MySeko.API.Client
@@ -979,6 +882,7 @@ interface Shipment {
979
882
  eta?: string | null;
980
883
  etd?: string | null;
981
884
  deliveryRequiredBy?: string | null;
885
+ isActive?: boolean | null;
982
886
  }
983
887
 
984
888
  /**
@@ -1427,5 +1331,5 @@ declare class ApiModule {
1427
1331
 
1428
1332
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
1429
1333
 
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 };
1334
+ export { APIS, ApiModule, AuthService, BASE_PATH, COLLECTION_FORMATS, CalendarService, CalendarViewBy, Configuration, DashboardService, HealthService, SettingsService, ShipmentService, TimelineEvent, TimelineEventStatus, UserService, UsergroupService, provideApi };
1335
+ 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.15",
4
4
  "description": "OpenAPI client for @indigina/myseko-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {