@indigina/myseko-api 0.0.10 → 0.0.12

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
@@ -176,17 +176,17 @@ declare class AuthService extends BaseService {
176
176
  * @param reportProgress flag to report request and response progress.
177
177
  */
178
178
  userLogin(observe?: 'body', reportProgress?: boolean, options?: {
179
- httpHeaderAccept?: 'application/json';
179
+ httpHeaderAccept?: undefined;
180
180
  context?: HttpContext;
181
181
  transferCache?: boolean;
182
182
  }): Observable<any>;
183
183
  userLogin(observe?: 'response', reportProgress?: boolean, options?: {
184
- httpHeaderAccept?: 'application/json';
184
+ httpHeaderAccept?: undefined;
185
185
  context?: HttpContext;
186
186
  transferCache?: boolean;
187
187
  }): Observable<HttpResponse<any>>;
188
188
  userLogin(observe?: 'events', reportProgress?: boolean, options?: {
189
- httpHeaderAccept?: 'application/json';
189
+ httpHeaderAccept?: undefined;
190
190
  context?: HttpContext;
191
191
  transferCache?: boolean;
192
192
  }): Observable<HttpEvent<any>>;
@@ -194,6 +194,83 @@ declare class AuthService extends BaseService {
194
194
  static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
195
195
  }
196
196
 
197
+ /**
198
+ * MySeko.API.Client
199
+ *
200
+ *
201
+ *
202
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
203
+ * https://openapi-generator.tech
204
+ * Do not edit the class manually.
205
+ */
206
+ interface CalendarOrder {
207
+ ordOrderID: string;
208
+ date?: string | null;
209
+ orderNumber?: string | null;
210
+ status?: string | null;
211
+ from?: string | null;
212
+ to?: string | null;
213
+ }
214
+
215
+ /**
216
+ * MySeko.API.Client
217
+ *
218
+ *
219
+ *
220
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
221
+ * https://openapi-generator.tech
222
+ * Do not edit the class manually.
223
+ */
224
+
225
+ interface CalendarOrders {
226
+ orders?: Array<CalendarOrder> | null;
227
+ }
228
+
229
+ /**
230
+ * MySeko.API.Client
231
+ *
232
+ *
233
+ *
234
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
235
+ * https://openapi-generator.tech
236
+ * Do not edit the class manually.
237
+ */
238
+ declare const CalendarType: {
239
+ readonly NorthAmerican: "NorthAmerican";
240
+ readonly International: "International";
241
+ };
242
+ type CalendarType = typeof CalendarType[keyof typeof CalendarType];
243
+
244
+ declare class CalendarService extends BaseService {
245
+ protected httpClient: HttpClient;
246
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
247
+ /**
248
+ * Returns Calendar for a given range
249
+ * @param calendar
250
+ * @param startDate
251
+ * @param endDate
252
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
253
+ * @param reportProgress flag to report request and response progress.
254
+ */
255
+ getCalendarRange(calendar: CalendarType, startDate: string, endDate: string, observe?: 'body', reportProgress?: boolean, options?: {
256
+ httpHeaderAccept?: 'application/json';
257
+ context?: HttpContext;
258
+ transferCache?: boolean;
259
+ }): Observable<CalendarOrders>;
260
+ getCalendarRange(calendar: CalendarType, startDate: string, endDate: string, observe?: 'response', reportProgress?: boolean, options?: {
261
+ httpHeaderAccept?: 'application/json';
262
+ context?: HttpContext;
263
+ transferCache?: boolean;
264
+ }): Observable<HttpResponse<CalendarOrders>>;
265
+ getCalendarRange(calendar: CalendarType, startDate: string, endDate: string, observe?: 'events', reportProgress?: boolean, options?: {
266
+ httpHeaderAccept?: 'application/json';
267
+ context?: HttpContext;
268
+ transferCache?: boolean;
269
+ }): Observable<HttpEvent<CalendarOrders>>;
270
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarService, [null, { optional: true; }, { optional: true; }]>;
271
+ static ɵprov: i0.ɵɵInjectableDeclaration<CalendarService>;
272
+ }
273
+
197
274
  /**
198
275
  * MySeko.API.Client
199
276
  *
@@ -427,6 +504,188 @@ declare class SettingsService extends BaseService {
427
504
  static ɵprov: i0.ɵɵInjectableDeclaration<SettingsService>;
428
505
  }
429
506
 
507
+ /**
508
+ * MySeko.API.Client
509
+ *
510
+ *
511
+ *
512
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
513
+ * https://openapi-generator.tech
514
+ * Do not edit the class manually.
515
+ */
516
+ interface PieceDetail {
517
+ id?: number | null;
518
+ pieces?: number | null;
519
+ innerPieces?: number | null;
520
+ weight?: number | null;
521
+ chargeableWeight?: number | null;
522
+ length?: number | null;
523
+ width?: number | null;
524
+ height?: number | null;
525
+ dimUnit?: string | null;
526
+ description?: string | null;
527
+ }
528
+
529
+ /**
530
+ * MySeko.API.Client
531
+ *
532
+ *
533
+ *
534
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
535
+ * https://openapi-generator.tech
536
+ * Do not edit the class manually.
537
+ */
538
+
539
+ interface PackageDetails {
540
+ pieceDetails?: Array<PieceDetail> | null;
541
+ }
542
+
543
+ /**
544
+ * MySeko.API.Client
545
+ *
546
+ *
547
+ *
548
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
549
+ * https://openapi-generator.tech
550
+ * Do not edit the class manually.
551
+ */
552
+ interface ShipmentPurchaseOrder {
553
+ purchaseOrder?: string | null;
554
+ department?: string | null;
555
+ pieces?: number | null;
556
+ startDate?: string | null;
557
+ cancelDate?: string | null;
558
+ verified?: string | null;
559
+ sku?: string | null;
560
+ }
561
+
562
+ /**
563
+ * MySeko.API.Client
564
+ *
565
+ *
566
+ *
567
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
568
+ * https://openapi-generator.tech
569
+ * Do not edit the class manually.
570
+ */
571
+
572
+ interface ShipmentPurchaseOrderDetails {
573
+ purchaseOrders?: Array<ShipmentPurchaseOrder> | null;
574
+ }
575
+
576
+ /**
577
+ * MySeko.API.Client
578
+ *
579
+ *
580
+ *
581
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
582
+ * https://openapi-generator.tech
583
+ * Do not edit the class manually.
584
+ */
585
+ interface Address {
586
+ id?: string | null;
587
+ addressCode?: string | null;
588
+ name?: string | null;
589
+ addressLines?: Array<string> | null;
590
+ city?: string | null;
591
+ state?: string | null;
592
+ postal?: string | null;
593
+ countryCode?: string | null;
594
+ }
595
+
596
+ /**
597
+ * MySeko.API.Client
598
+ *
599
+ *
600
+ *
601
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
602
+ * https://openapi-generator.tech
603
+ * Do not edit the class manually.
604
+ */
605
+ interface Contact {
606
+ name?: string | null;
607
+ phone?: string | null;
608
+ fax?: string | null;
609
+ email?: string | null;
610
+ mobile?: string | null;
611
+ title?: string | null;
612
+ }
613
+
614
+ /**
615
+ * MySeko.API.Client
616
+ *
617
+ *
618
+ *
619
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
620
+ * https://openapi-generator.tech
621
+ * Do not edit the class manually.
622
+ */
623
+
624
+ interface ShipmentParty {
625
+ address?: Address;
626
+ contact?: Contact;
627
+ reference?: string | null;
628
+ department?: string | null;
629
+ attention?: string | null;
630
+ }
631
+
632
+ /**
633
+ * MySeko.API.Client
634
+ *
635
+ *
636
+ *
637
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
638
+ * https://openapi-generator.tech
639
+ * Do not edit the class manually.
640
+ */
641
+
642
+ interface ShipmentSummary {
643
+ ordOrderID: string;
644
+ typeOrderID?: string | null;
645
+ number?: string | null;
646
+ status?: string | null;
647
+ serviceLevel?: string | null;
648
+ description?: string | null;
649
+ shipper?: ShipmentParty;
650
+ consignee?: ShipmentParty;
651
+ pieces?: number | null;
652
+ podName?: string | null;
653
+ pod?: string | null;
654
+ podTime?: string | null;
655
+ pickupDate?: string | null;
656
+ dueDate?: string | null;
657
+ }
658
+
659
+ /**
660
+ * MySeko.API.Client
661
+ *
662
+ *
663
+ *
664
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
665
+ * https://openapi-generator.tech
666
+ * Do not edit the class manually.
667
+ */
668
+ interface TimelineEvent {
669
+ comment?: string | null;
670
+ code?: string | null;
671
+ status?: string | null;
672
+ date?: string | null;
673
+ }
674
+
675
+ /**
676
+ * MySeko.API.Client
677
+ *
678
+ *
679
+ *
680
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
681
+ * https://openapi-generator.tech
682
+ * Do not edit the class manually.
683
+ */
684
+
685
+ interface ShipmentTimeline {
686
+ events?: Array<TimelineEvent> | null;
687
+ }
688
+
430
689
  /**
431
690
  * MySeko.API.Client
432
691
  *
@@ -563,6 +822,90 @@ interface Shipments {
563
822
  declare class ShipmentService extends BaseService {
564
823
  protected httpClient: HttpClient;
565
824
  constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
825
+ /**
826
+ * Get shipment package details by ordOrderID
827
+ * @param ordOrderID
828
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
829
+ * @param reportProgress flag to report request and response progress.
830
+ */
831
+ getShipmentPackageDetails(ordOrderID: string, observe?: 'body', reportProgress?: boolean, options?: {
832
+ httpHeaderAccept?: 'application/json';
833
+ context?: HttpContext;
834
+ transferCache?: boolean;
835
+ }): Observable<PackageDetails>;
836
+ getShipmentPackageDetails(ordOrderID: string, observe?: 'response', reportProgress?: boolean, options?: {
837
+ httpHeaderAccept?: 'application/json';
838
+ context?: HttpContext;
839
+ transferCache?: boolean;
840
+ }): Observable<HttpResponse<PackageDetails>>;
841
+ getShipmentPackageDetails(ordOrderID: string, observe?: 'events', reportProgress?: boolean, options?: {
842
+ httpHeaderAccept?: 'application/json';
843
+ context?: HttpContext;
844
+ transferCache?: boolean;
845
+ }): Observable<HttpEvent<PackageDetails>>;
846
+ /**
847
+ * Get shipment purchase order details by ordOrderID
848
+ * @param ordOrderID
849
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
850
+ * @param reportProgress flag to report request and response progress.
851
+ */
852
+ getShipmentPurchaseOrderDetails(ordOrderID: string, observe?: 'body', reportProgress?: boolean, options?: {
853
+ httpHeaderAccept?: 'application/json';
854
+ context?: HttpContext;
855
+ transferCache?: boolean;
856
+ }): Observable<ShipmentPurchaseOrderDetails>;
857
+ getShipmentPurchaseOrderDetails(ordOrderID: string, observe?: 'response', reportProgress?: boolean, options?: {
858
+ httpHeaderAccept?: 'application/json';
859
+ context?: HttpContext;
860
+ transferCache?: boolean;
861
+ }): Observable<HttpResponse<ShipmentPurchaseOrderDetails>>;
862
+ getShipmentPurchaseOrderDetails(ordOrderID: string, observe?: 'events', reportProgress?: boolean, options?: {
863
+ httpHeaderAccept?: 'application/json';
864
+ context?: HttpContext;
865
+ transferCache?: boolean;
866
+ }): Observable<HttpEvent<ShipmentPurchaseOrderDetails>>;
867
+ /**
868
+ * Get shipment summary by ordOrderID
869
+ * @param ordOrderID
870
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
871
+ * @param reportProgress flag to report request and response progress.
872
+ */
873
+ getShipmentSummary(ordOrderID: string, observe?: 'body', reportProgress?: boolean, options?: {
874
+ httpHeaderAccept?: 'application/json';
875
+ context?: HttpContext;
876
+ transferCache?: boolean;
877
+ }): Observable<ShipmentSummary>;
878
+ getShipmentSummary(ordOrderID: string, observe?: 'response', reportProgress?: boolean, options?: {
879
+ httpHeaderAccept?: 'application/json';
880
+ context?: HttpContext;
881
+ transferCache?: boolean;
882
+ }): Observable<HttpResponse<ShipmentSummary>>;
883
+ getShipmentSummary(ordOrderID: string, observe?: 'events', reportProgress?: boolean, options?: {
884
+ httpHeaderAccept?: 'application/json';
885
+ context?: HttpContext;
886
+ transferCache?: boolean;
887
+ }): Observable<HttpEvent<ShipmentSummary>>;
888
+ /**
889
+ * Get shipment timeline events by ordOrderID
890
+ * @param ordOrderID
891
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
892
+ * @param reportProgress flag to report request and response progress.
893
+ */
894
+ getShipmentTimeline(ordOrderID: string, observe?: 'body', reportProgress?: boolean, options?: {
895
+ httpHeaderAccept?: 'application/json';
896
+ context?: HttpContext;
897
+ transferCache?: boolean;
898
+ }): Observable<ShipmentTimeline>;
899
+ getShipmentTimeline(ordOrderID: string, observe?: 'response', reportProgress?: boolean, options?: {
900
+ httpHeaderAccept?: 'application/json';
901
+ context?: HttpContext;
902
+ transferCache?: boolean;
903
+ }): Observable<HttpResponse<ShipmentTimeline>>;
904
+ getShipmentTimeline(ordOrderID: string, observe?: 'events', reportProgress?: boolean, options?: {
905
+ httpHeaderAccept?: 'application/json';
906
+ context?: HttpContext;
907
+ transferCache?: boolean;
908
+ }): Observable<HttpEvent<ShipmentTimeline>>;
566
909
  /**
567
910
  * Get all shipments
568
911
  * @param $skip
@@ -587,6 +930,31 @@ declare class ShipmentService extends BaseService {
587
930
  context?: HttpContext;
588
931
  transferCache?: boolean;
589
932
  }): Observable<HttpEvent<Shipments>>;
933
+ /**
934
+ * Get all shipments
935
+ * @param $skip
936
+ * @param $top
937
+ * @param $orderby
938
+ * @param $filter
939
+ * @param searchTerm
940
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
941
+ * @param reportProgress flag to report request and response progress.
942
+ */
943
+ getShipmentsWithSearch($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'body', reportProgress?: boolean, options?: {
944
+ httpHeaderAccept?: 'application/json';
945
+ context?: HttpContext;
946
+ transferCache?: boolean;
947
+ }): Observable<Shipments>;
948
+ getShipmentsWithSearch($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'response', reportProgress?: boolean, options?: {
949
+ httpHeaderAccept?: 'application/json';
950
+ context?: HttpContext;
951
+ transferCache?: boolean;
952
+ }): Observable<HttpResponse<Shipments>>;
953
+ getShipmentsWithSearch($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'events', reportProgress?: boolean, options?: {
954
+ httpHeaderAccept?: 'application/json';
955
+ context?: HttpContext;
956
+ transferCache?: boolean;
957
+ }): Observable<HttpEvent<Shipments>>;
590
958
  static ɵfac: i0.ɵɵFactoryDeclaration<ShipmentService, [null, { optional: true; }, { optional: true; }]>;
591
959
  static ɵprov: i0.ɵɵInjectableDeclaration<ShipmentService>;
592
960
  }
@@ -698,17 +1066,17 @@ declare class UsergroupService extends BaseService {
698
1066
  * @param reportProgress flag to report request and response progress.
699
1067
  */
700
1068
  setUserGroup(regGroupID: string, observe?: 'body', reportProgress?: boolean, options?: {
701
- httpHeaderAccept?: 'application/json';
1069
+ httpHeaderAccept?: undefined;
702
1070
  context?: HttpContext;
703
1071
  transferCache?: boolean;
704
1072
  }): Observable<any>;
705
1073
  setUserGroup(regGroupID: string, observe?: 'response', reportProgress?: boolean, options?: {
706
- httpHeaderAccept?: 'application/json';
1074
+ httpHeaderAccept?: undefined;
707
1075
  context?: HttpContext;
708
1076
  transferCache?: boolean;
709
1077
  }): Observable<HttpResponse<any>>;
710
1078
  setUserGroup(regGroupID: string, observe?: 'events', reportProgress?: boolean, options?: {
711
- httpHeaderAccept?: 'application/json';
1079
+ httpHeaderAccept?: undefined;
712
1080
  context?: HttpContext;
713
1081
  transferCache?: boolean;
714
1082
  }): Observable<HttpEvent<any>>;
@@ -716,7 +1084,7 @@ declare class UsergroupService extends BaseService {
716
1084
  static ɵprov: i0.ɵɵInjectableDeclaration<UsergroupService>;
717
1085
  }
718
1086
 
719
- declare const APIS: (typeof AuthService | typeof DashboardService | typeof HealthService | typeof SettingsService | typeof ShipmentService | typeof UserService | typeof UsergroupService)[];
1087
+ declare const APIS: (typeof AuthService | typeof CalendarService | typeof DashboardService | typeof HealthService | typeof SettingsService | typeof ShipmentService | typeof UserService | typeof UsergroupService)[];
720
1088
 
721
1089
  /**
722
1090
  * MySeko.API.Client
@@ -767,5 +1135,5 @@ declare class ApiModule {
767
1135
 
768
1136
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
769
1137
 
770
- export { APIS, ApiModule, AuthService, BASE_PATH, COLLECTION_FORMATS, Configuration, DashboardService, HealthService, SettingsService, ShipmentService, UserService, UsergroupService, provideApi };
771
- export type { ActiveShipment, ConfigurationParameters, DataFormat, DataType, EntityList, ModelError, Param, ParamLocation, ParamStyle, RegGroup, SettingValue, SettingView, Shipment, Shipments, StandardDataFormat, StandardDataType, StandardParamStyle, User, UserAccount };
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indigina/myseko-api",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "description": "OpenAPI client for @indigina/myseko-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {