@compassdigital/sdk.typescript 3.0.0-beta.4 → 3.0.0-beta.6
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/README.md +9 -5
- package/gen.ts +5 -6
- package/lib/base.d.ts +13 -1
- package/lib/base.d.ts.map +1 -1
- package/lib/base.js +45 -3
- package/lib/base.js.map +1 -1
- package/lib/index.d.ts +307 -306
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js.map +1 -1
- package/manifest.json +25 -50
- package/package.json +4 -2
- package/src/base.ts +29 -3
- package/src/index.ts +729 -611
- package/template.ejs +3 -2
package/src/index.ts
CHANGED
|
@@ -455,7 +455,8 @@ import { PostMessageBody, PostMessageResponse, GetMessageResponse } from "./mess
|
|
|
455
455
|
|
|
456
456
|
import { GetLoggerBrandStatusQuery, GetLoggerBrandStatusResponse } from "./logger";
|
|
457
457
|
|
|
458
|
-
import { BaseServiceClient, RequestOptions } from "./base";
|
|
458
|
+
import { BaseServiceClient, RequestOptions, ResponseType } from "./base";
|
|
459
|
+
export { RequestOptions } from "./base";
|
|
459
460
|
|
|
460
461
|
export class ServiceClient extends BaseServiceClient {
|
|
461
462
|
/**
|
|
@@ -465,11 +466,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
465
466
|
* @param body
|
|
466
467
|
* @param options - additional request options
|
|
467
468
|
*/
|
|
468
|
-
post_payment_transaction(
|
|
469
|
+
post_payment_transaction<Options extends RequestOptions>(
|
|
469
470
|
id: string,
|
|
470
471
|
body: PostPaymentTransactionBody,
|
|
471
|
-
options?:
|
|
472
|
-
):
|
|
472
|
+
options?: Options
|
|
473
|
+
): ResponseType<PostPaymentTransactionResponse, Options> {
|
|
473
474
|
return this.request("post", `/payment/${id}/transaction`, body, options);
|
|
474
475
|
}
|
|
475
476
|
|
|
@@ -481,12 +482,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
481
482
|
* @param body
|
|
482
483
|
* @param options - additional request options
|
|
483
484
|
*/
|
|
484
|
-
post_payment_transaction_refund(
|
|
485
|
+
post_payment_transaction_refund<Options extends RequestOptions>(
|
|
485
486
|
id: string,
|
|
486
487
|
transaction_id: string,
|
|
487
488
|
body: PostPaymentTransactionRefundBody,
|
|
488
|
-
options?:
|
|
489
|
-
):
|
|
489
|
+
options?: Options
|
|
490
|
+
): ResponseType<PostPaymentTransactionRefundResponse, Options> {
|
|
490
491
|
return this.request(
|
|
491
492
|
"post",
|
|
492
493
|
`/payment/${id}/transaction/${transaction_id}/refund`,
|
|
@@ -501,10 +502,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
501
502
|
* @param id - TODO: add parameter to swagger.json
|
|
502
503
|
* @param options - additional request options
|
|
503
504
|
*/
|
|
504
|
-
get_payment_clienttoken(
|
|
505
|
+
get_payment_clienttoken<Options extends RequestOptions>(
|
|
505
506
|
id: string,
|
|
506
|
-
options?:
|
|
507
|
-
):
|
|
507
|
+
options?: Options
|
|
508
|
+
): ResponseType<GetPaymentClienttokenResponse, Options> {
|
|
508
509
|
return this.request("get", `/payment/${id}/clienttoken`, null, options);
|
|
509
510
|
}
|
|
510
511
|
|
|
@@ -515,11 +516,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
515
516
|
* @param body
|
|
516
517
|
* @param options - additional request options
|
|
517
518
|
*/
|
|
518
|
-
post_payment_paymenttoken(
|
|
519
|
+
post_payment_paymenttoken<Options extends RequestOptions>(
|
|
519
520
|
id: string,
|
|
520
521
|
body: PostPaymentPaymenttokenBody,
|
|
521
|
-
options?:
|
|
522
|
-
):
|
|
522
|
+
options?: Options
|
|
523
|
+
): ResponseType<PostPaymentPaymenttokenResponse, Options> {
|
|
523
524
|
return this.request("post", `/payment/${id}/paymenttoken`, body, options);
|
|
524
525
|
}
|
|
525
526
|
|
|
@@ -529,10 +530,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
529
530
|
* @param body
|
|
530
531
|
* @param options - additional request options
|
|
531
532
|
*/
|
|
532
|
-
post_payment_consumer(
|
|
533
|
+
post_payment_consumer<Options extends RequestOptions>(
|
|
533
534
|
body: PostPaymentConsumerBody,
|
|
534
|
-
options?:
|
|
535
|
-
):
|
|
535
|
+
options?: Options
|
|
536
|
+
): ResponseType<PostPaymentConsumerResponse, Options> {
|
|
536
537
|
return this.request("post", `/payment/consumer`, body, options);
|
|
537
538
|
}
|
|
538
539
|
|
|
@@ -542,10 +543,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
542
543
|
* @param body
|
|
543
544
|
* @param options - additional request options
|
|
544
545
|
*/
|
|
545
|
-
post_payment_method(
|
|
546
|
+
post_payment_method<Options extends RequestOptions>(
|
|
546
547
|
body: PostPaymentMethodBody,
|
|
547
|
-
options?:
|
|
548
|
-
):
|
|
548
|
+
options?: Options
|
|
549
|
+
): ResponseType<PostPaymentMethodResponse, Options> {
|
|
549
550
|
return this.request("post", `/payment/method`, body, options);
|
|
550
551
|
}
|
|
551
552
|
|
|
@@ -555,12 +556,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
555
556
|
* @param id - TODO: add parameter to swagger.json
|
|
556
557
|
* @param options - additional request options
|
|
557
558
|
*/
|
|
558
|
-
get_payment_method(
|
|
559
|
+
get_payment_method<Options extends RequestOptions>(
|
|
559
560
|
id: string,
|
|
560
561
|
options: {
|
|
561
562
|
query: GetPaymentMethodQuery;
|
|
562
|
-
} &
|
|
563
|
-
):
|
|
563
|
+
} & Options
|
|
564
|
+
): ResponseType<GetPaymentMethodResponse, Options> {
|
|
564
565
|
return this.request("get", `/payment/${id}/method`, null, options);
|
|
565
566
|
}
|
|
566
567
|
|
|
@@ -572,12 +573,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
572
573
|
* @param body
|
|
573
574
|
* @param options - additional request options
|
|
574
575
|
*/
|
|
575
|
-
delete_payment_method(
|
|
576
|
+
delete_payment_method<Options extends RequestOptions>(
|
|
576
577
|
id: string,
|
|
577
578
|
method_id: string,
|
|
578
579
|
body: DeletePaymentMethodBody,
|
|
579
|
-
options?:
|
|
580
|
-
):
|
|
580
|
+
options?: Options
|
|
581
|
+
): ResponseType<DeletePaymentMethodResponse, Options> {
|
|
581
582
|
return this.request("delete", `/payment/${id}/method/${method_id}`, body, options);
|
|
582
583
|
}
|
|
583
584
|
|
|
@@ -586,11 +587,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
586
587
|
*
|
|
587
588
|
* @param options - additional request options
|
|
588
589
|
*/
|
|
589
|
-
get_payment_token(
|
|
590
|
+
get_payment_token<Options extends RequestOptions>(
|
|
590
591
|
options: {
|
|
591
592
|
query: GetPaymentTokenQuery;
|
|
592
|
-
} &
|
|
593
|
-
):
|
|
593
|
+
} & Options
|
|
594
|
+
): ResponseType<GetPaymentTokenResponse, Options> {
|
|
594
595
|
return this.request("get", `/payment/token`, null, options);
|
|
595
596
|
}
|
|
596
597
|
|
|
@@ -600,10 +601,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
600
601
|
* @param body
|
|
601
602
|
* @param options - additional request options
|
|
602
603
|
*/
|
|
603
|
-
post_payment_token(
|
|
604
|
+
post_payment_token<Options extends RequestOptions>(
|
|
604
605
|
body: PostPaymentTokenBody,
|
|
605
|
-
options?:
|
|
606
|
-
):
|
|
606
|
+
options?: Options
|
|
607
|
+
): ResponseType<PostPaymentTokenResponse, Options> {
|
|
607
608
|
return this.request("post", `/payment/token`, body, options);
|
|
608
609
|
}
|
|
609
610
|
|
|
@@ -613,10 +614,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
613
614
|
* @param body
|
|
614
615
|
* @param options - additional request options
|
|
615
616
|
*/
|
|
616
|
-
put_payment_token(
|
|
617
|
+
put_payment_token<Options extends RequestOptions>(
|
|
617
618
|
body: PutPaymentTokenBody,
|
|
618
|
-
options?:
|
|
619
|
-
):
|
|
619
|
+
options?: Options
|
|
620
|
+
): ResponseType<PutPaymentTokenResponse, Options> {
|
|
620
621
|
return this.request("put", `/payment/token`, body, options);
|
|
621
622
|
}
|
|
622
623
|
|
|
@@ -626,10 +627,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
626
627
|
* @param body
|
|
627
628
|
* @param options - additional request options
|
|
628
629
|
*/
|
|
629
|
-
delete_payment_token(
|
|
630
|
+
delete_payment_token<Options extends RequestOptions>(
|
|
630
631
|
body: DeletePaymentTokenBody,
|
|
631
|
-
options?:
|
|
632
|
-
):
|
|
632
|
+
options?: Options
|
|
633
|
+
): ResponseType<DeletePaymentTokenResponse, Options> {
|
|
633
634
|
return this.request("delete", `/payment/token`, body, options);
|
|
634
635
|
}
|
|
635
636
|
|
|
@@ -638,11 +639,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
638
639
|
*
|
|
639
640
|
* @param options - additional request options
|
|
640
641
|
*/
|
|
641
|
-
get_payment_methods(
|
|
642
|
+
get_payment_methods<Options extends RequestOptions>(
|
|
642
643
|
options: {
|
|
643
644
|
query: GetPaymentMethodsQuery;
|
|
644
|
-
} &
|
|
645
|
-
):
|
|
645
|
+
} & Options
|
|
646
|
+
): ResponseType<GetPaymentMethodsResponse, Options> {
|
|
646
647
|
return this.request("get", `/payment/methods`, null, options);
|
|
647
648
|
}
|
|
648
649
|
|
|
@@ -651,11 +652,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
651
652
|
*
|
|
652
653
|
* @param options - additional request options
|
|
653
654
|
*/
|
|
654
|
-
get_payment_hpc(
|
|
655
|
+
get_payment_hpc<Options extends RequestOptions>(
|
|
655
656
|
options: {
|
|
656
657
|
query: GetPaymentHpcQuery;
|
|
657
|
-
} &
|
|
658
|
-
):
|
|
658
|
+
} & Options
|
|
659
|
+
): ResponseType<GetPaymentHpcResponse, Options> {
|
|
659
660
|
return this.request("get", `/payment/hpc`, null, options);
|
|
660
661
|
}
|
|
661
662
|
|
|
@@ -665,12 +666,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
665
666
|
* @param body - Order object that needs to be created
|
|
666
667
|
* @param options - additional request options
|
|
667
668
|
*/
|
|
668
|
-
post_order(
|
|
669
|
+
post_order<Options extends RequestOptions>(
|
|
669
670
|
body: PostOrderBody,
|
|
670
671
|
options?: {
|
|
671
672
|
query?: PostOrderQuery;
|
|
672
|
-
} &
|
|
673
|
-
):
|
|
673
|
+
} & Options
|
|
674
|
+
): ResponseType<PostOrderResponse, Options> {
|
|
674
675
|
return this.request("post", `/order`, body, options);
|
|
675
676
|
}
|
|
676
677
|
|
|
@@ -680,7 +681,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
680
681
|
* @param id - The order ID
|
|
681
682
|
* @param options - additional request options
|
|
682
683
|
*/
|
|
683
|
-
get_order
|
|
684
|
+
get_order<Options extends RequestOptions>(
|
|
685
|
+
id: string,
|
|
686
|
+
options?: Options
|
|
687
|
+
): ResponseType<GetOrderResponse, Options> {
|
|
684
688
|
return this.request("get", `/order/${id}`, null, options);
|
|
685
689
|
}
|
|
686
690
|
|
|
@@ -690,7 +694,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
690
694
|
* @param id - The order ID
|
|
691
695
|
* @param options - additional request options
|
|
692
696
|
*/
|
|
693
|
-
put_order
|
|
697
|
+
put_order<Options extends RequestOptions>(
|
|
698
|
+
id: string,
|
|
699
|
+
options?: Options
|
|
700
|
+
): ResponseType<PutOrderResponse, Options> {
|
|
694
701
|
return this.request("put", `/order/${id}`, null, options);
|
|
695
702
|
}
|
|
696
703
|
|
|
@@ -701,11 +708,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
701
708
|
* @param body - Order properties to be updated
|
|
702
709
|
* @param options - additional request options
|
|
703
710
|
*/
|
|
704
|
-
patch_order(
|
|
711
|
+
patch_order<Options extends RequestOptions>(
|
|
705
712
|
id: string,
|
|
706
713
|
body: PatchOrderBody,
|
|
707
|
-
options?:
|
|
708
|
-
):
|
|
714
|
+
options?: Options
|
|
715
|
+
): ResponseType<PatchOrderResponse, Options> {
|
|
709
716
|
return this.request("patch", `/order/${id}`, body, options);
|
|
710
717
|
}
|
|
711
718
|
|
|
@@ -716,11 +723,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
716
723
|
* @param body - Order issue payload. If reporting dispute please use type as 'DISPUTE'. In case of dispute 'item id' and 'reason' are mandatory params in body.
|
|
717
724
|
* @param options - additional request options
|
|
718
725
|
*/
|
|
719
|
-
post_order_issue(
|
|
726
|
+
post_order_issue<Options extends RequestOptions>(
|
|
720
727
|
id: string,
|
|
721
728
|
body: PostOrderIssueBody,
|
|
722
|
-
options?:
|
|
723
|
-
):
|
|
729
|
+
options?: Options
|
|
730
|
+
): ResponseType<PostOrderIssueResponse, Options> {
|
|
724
731
|
return this.request("post", `/order/${id}/issue`, body, options);
|
|
725
732
|
}
|
|
726
733
|
|
|
@@ -731,11 +738,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
731
738
|
* @param body - Items with pricing and quanitity to be refunded
|
|
732
739
|
* @param options - additional request options
|
|
733
740
|
*/
|
|
734
|
-
patch_order_refund(
|
|
741
|
+
patch_order_refund<Options extends RequestOptions>(
|
|
735
742
|
id: string,
|
|
736
743
|
body: PatchOrderRefundBody,
|
|
737
|
-
options?:
|
|
738
|
-
):
|
|
744
|
+
options?: Options
|
|
745
|
+
): ResponseType<PatchOrderRefundResponse, Options> {
|
|
739
746
|
return this.request("patch", `/order/${id}/refund`, body, options);
|
|
740
747
|
}
|
|
741
748
|
|
|
@@ -745,12 +752,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
745
752
|
* @param id - The user ID
|
|
746
753
|
* @param options - additional request options
|
|
747
754
|
*/
|
|
748
|
-
get_order_customer_orders(
|
|
755
|
+
get_order_customer_orders<Options extends RequestOptions>(
|
|
749
756
|
id: string,
|
|
750
757
|
options?: {
|
|
751
758
|
query?: GetOrderCustomerOrdersQuery;
|
|
752
|
-
} &
|
|
753
|
-
):
|
|
759
|
+
} & Options
|
|
760
|
+
): ResponseType<GetOrderCustomerOrdersResponse, Options> {
|
|
754
761
|
return this.request("get", `/order/customer/${id}`, null, options);
|
|
755
762
|
}
|
|
756
763
|
|
|
@@ -761,11 +768,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
761
768
|
* @param location_brand - Brand id
|
|
762
769
|
* @param options - additional request options
|
|
763
770
|
*/
|
|
764
|
-
get_order_customer_orders_brand(
|
|
771
|
+
get_order_customer_orders_brand<Options extends RequestOptions>(
|
|
765
772
|
id: string,
|
|
766
773
|
location_brand: string,
|
|
767
|
-
options?:
|
|
768
|
-
):
|
|
774
|
+
options?: Options
|
|
775
|
+
): ResponseType<GetOrderCustomerOrdersBrandResponse, Options> {
|
|
769
776
|
return this.request(
|
|
770
777
|
"get",
|
|
771
778
|
`/order/customer/${id}/location/brand/${location_brand}`,
|
|
@@ -780,12 +787,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
780
787
|
* @param id - The location brand ID
|
|
781
788
|
* @param options - additional request options
|
|
782
789
|
*/
|
|
783
|
-
get_order_brand_orders(
|
|
790
|
+
get_order_brand_orders<Options extends RequestOptions>(
|
|
784
791
|
id: string,
|
|
785
792
|
options?: {
|
|
786
793
|
query?: GetOrderBrandOrdersQuery;
|
|
787
|
-
} &
|
|
788
|
-
):
|
|
794
|
+
} & Options
|
|
795
|
+
): ResponseType<GetOrderBrandOrdersResponse, Options> {
|
|
789
796
|
return this.request("get", `/order/location/brand/${id}`, null, options);
|
|
790
797
|
}
|
|
791
798
|
|
|
@@ -795,12 +802,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
795
802
|
* @param id - The location ID
|
|
796
803
|
* @param options - additional request options
|
|
797
804
|
*/
|
|
798
|
-
get_order_location_orders(
|
|
805
|
+
get_order_location_orders<Options extends RequestOptions>(
|
|
799
806
|
id: string,
|
|
800
807
|
options?: {
|
|
801
808
|
query?: GetOrderLocationOrdersQuery;
|
|
802
|
-
} &
|
|
803
|
-
):
|
|
809
|
+
} & Options
|
|
810
|
+
): ResponseType<GetOrderLocationOrdersResponse, Options> {
|
|
804
811
|
return this.request("get", `/order/location/${id}`, null, options);
|
|
805
812
|
}
|
|
806
813
|
|
|
@@ -810,12 +817,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
810
817
|
* @param id - Get orders by their associated group
|
|
811
818
|
* @param options - additional request options
|
|
812
819
|
*/
|
|
813
|
-
get_order_group_orders(
|
|
820
|
+
get_order_group_orders<Options extends RequestOptions>(
|
|
814
821
|
id: string,
|
|
815
822
|
options?: {
|
|
816
823
|
query?: GetOrderGroupOrdersQuery;
|
|
817
|
-
} &
|
|
818
|
-
):
|
|
824
|
+
} & Options
|
|
825
|
+
): ResponseType<GetOrderGroupOrdersResponse, Options> {
|
|
819
826
|
return this.request("get", `/order/location/group/${id}`, null, options);
|
|
820
827
|
}
|
|
821
828
|
|
|
@@ -825,7 +832,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
825
832
|
* @param body
|
|
826
833
|
* @param options - additional request options
|
|
827
834
|
*/
|
|
828
|
-
post_location
|
|
835
|
+
post_location<Options extends RequestOptions>(
|
|
836
|
+
body: PostLocationBody,
|
|
837
|
+
options?: Options
|
|
838
|
+
): ResponseType<PostLocationResponse, Options> {
|
|
829
839
|
return this.request("post", `/location`, body, options);
|
|
830
840
|
}
|
|
831
841
|
|
|
@@ -834,7 +844,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
834
844
|
*
|
|
835
845
|
* @param options - additional request options
|
|
836
846
|
*/
|
|
837
|
-
get_locations
|
|
847
|
+
get_locations<Options extends RequestOptions>(
|
|
848
|
+
options?: Options
|
|
849
|
+
): ResponseType<GetLocationsResponse, Options> {
|
|
838
850
|
return this.request("get", `/location`, null, options);
|
|
839
851
|
}
|
|
840
852
|
|
|
@@ -843,11 +855,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
843
855
|
*
|
|
844
856
|
* @param options - additional request options
|
|
845
857
|
*/
|
|
846
|
-
get_location_search(
|
|
858
|
+
get_location_search<Options extends RequestOptions>(
|
|
847
859
|
options?: {
|
|
848
860
|
query?: GetLocationSearchQuery;
|
|
849
|
-
} &
|
|
850
|
-
):
|
|
861
|
+
} & Options
|
|
862
|
+
): ResponseType<GetLocationSearchResponse, Options> {
|
|
851
863
|
return this.request("get", `/location/search`, null, options);
|
|
852
864
|
}
|
|
853
865
|
|
|
@@ -857,12 +869,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
857
869
|
* @param id - location id
|
|
858
870
|
* @param options - additional request options
|
|
859
871
|
*/
|
|
860
|
-
get_location(
|
|
872
|
+
get_location<Options extends RequestOptions>(
|
|
861
873
|
id: string,
|
|
862
874
|
options?: {
|
|
863
875
|
query?: GetLocationQuery;
|
|
864
|
-
} &
|
|
865
|
-
):
|
|
876
|
+
} & Options
|
|
877
|
+
): ResponseType<GetLocationResponse, Options> {
|
|
866
878
|
return this.request("get", `/location/${id}`, null, options);
|
|
867
879
|
}
|
|
868
880
|
|
|
@@ -873,11 +885,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
873
885
|
* @param body
|
|
874
886
|
* @param options - additional request options
|
|
875
887
|
*/
|
|
876
|
-
put_location(
|
|
888
|
+
put_location<Options extends RequestOptions>(
|
|
877
889
|
id: string,
|
|
878
890
|
body: PutLocationBody,
|
|
879
|
-
options?:
|
|
880
|
-
):
|
|
891
|
+
options?: Options
|
|
892
|
+
): ResponseType<PutLocationResponse, Options> {
|
|
881
893
|
return this.request("put", `/location/${id}`, body, options);
|
|
882
894
|
}
|
|
883
895
|
|
|
@@ -888,11 +900,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
888
900
|
* @param body
|
|
889
901
|
* @param options - additional request options
|
|
890
902
|
*/
|
|
891
|
-
delete_location(
|
|
903
|
+
delete_location<Options extends RequestOptions>(
|
|
892
904
|
id: string,
|
|
893
905
|
body: DeleteLocationBody,
|
|
894
|
-
options?:
|
|
895
|
-
):
|
|
906
|
+
options?: Options
|
|
907
|
+
): ResponseType<DeleteLocationResponse, Options> {
|
|
896
908
|
return this.request("delete", `/location/${id}`, body, options);
|
|
897
909
|
}
|
|
898
910
|
|
|
@@ -903,11 +915,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
903
915
|
* @param body
|
|
904
916
|
* @param options - additional request options
|
|
905
917
|
*/
|
|
906
|
-
patch_location(
|
|
918
|
+
patch_location<Options extends RequestOptions>(
|
|
907
919
|
id: string,
|
|
908
920
|
body: PatchLocationBody,
|
|
909
|
-
options?:
|
|
910
|
-
):
|
|
921
|
+
options?: Options
|
|
922
|
+
): ResponseType<PatchLocationResponse, Options> {
|
|
911
923
|
return this.request("patch", `/location/${id}`, body, options);
|
|
912
924
|
}
|
|
913
925
|
|
|
@@ -917,7 +929,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
917
929
|
* @param id - POS ID
|
|
918
930
|
* @param options - additional request options
|
|
919
931
|
*/
|
|
920
|
-
get_location_pos
|
|
932
|
+
get_location_pos<Options extends RequestOptions>(
|
|
933
|
+
id: string,
|
|
934
|
+
options?: Options
|
|
935
|
+
): ResponseType<GetLocationPosResponse, Options> {
|
|
921
936
|
return this.request("get", `/location/pos/${id}`, null, options);
|
|
922
937
|
}
|
|
923
938
|
|
|
@@ -928,11 +943,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
928
943
|
* @param body
|
|
929
944
|
* @param options - additional request options
|
|
930
945
|
*/
|
|
931
|
-
put_location_pos(
|
|
946
|
+
put_location_pos<Options extends RequestOptions>(
|
|
932
947
|
id: string,
|
|
933
948
|
body: PutLocationPosBody,
|
|
934
|
-
options?:
|
|
935
|
-
):
|
|
949
|
+
options?: Options
|
|
950
|
+
): ResponseType<PutLocationPosResponse, Options> {
|
|
936
951
|
return this.request("put", `/location/pos/${id}`, body, options);
|
|
937
952
|
}
|
|
938
953
|
|
|
@@ -941,7 +956,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
941
956
|
*
|
|
942
957
|
* @param options - additional request options
|
|
943
958
|
*/
|
|
944
|
-
get_location_multigroups
|
|
959
|
+
get_location_multigroups<Options extends RequestOptions>(
|
|
960
|
+
options?: Options
|
|
961
|
+
): ResponseType<GetLocationMultigroupsResponse, Options> {
|
|
945
962
|
return this.request("get", `/location/multigroup`, null, options);
|
|
946
963
|
}
|
|
947
964
|
|
|
@@ -951,10 +968,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
951
968
|
* @param body
|
|
952
969
|
* @param options - additional request options
|
|
953
970
|
*/
|
|
954
|
-
post_location_multigroup(
|
|
971
|
+
post_location_multigroup<Options extends RequestOptions>(
|
|
955
972
|
body: PostLocationMultigroupBody,
|
|
956
|
-
options?:
|
|
957
|
-
):
|
|
973
|
+
options?: Options
|
|
974
|
+
): ResponseType<PostLocationMultigroupResponse, Options> {
|
|
958
975
|
return this.request("post", `/location/multigroup`, body, options);
|
|
959
976
|
}
|
|
960
977
|
|
|
@@ -964,12 +981,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
964
981
|
* @param id - multigroup id
|
|
965
982
|
* @param options - additional request options
|
|
966
983
|
*/
|
|
967
|
-
get_location_multigroup(
|
|
984
|
+
get_location_multigroup<Options extends RequestOptions>(
|
|
968
985
|
id: string,
|
|
969
986
|
options?: {
|
|
970
987
|
query?: GetLocationMultigroupQuery;
|
|
971
|
-
} &
|
|
972
|
-
):
|
|
988
|
+
} & Options
|
|
989
|
+
): ResponseType<GetLocationMultigroupResponse, Options> {
|
|
973
990
|
return this.request("get", `/location/multigroup/${id}`, null, options);
|
|
974
991
|
}
|
|
975
992
|
|
|
@@ -980,11 +997,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
980
997
|
* @param body
|
|
981
998
|
* @param options - additional request options
|
|
982
999
|
*/
|
|
983
|
-
put_location_multigroup(
|
|
1000
|
+
put_location_multigroup<Options extends RequestOptions>(
|
|
984
1001
|
id: string,
|
|
985
1002
|
body: PutLocationMultigroupBody,
|
|
986
|
-
options?:
|
|
987
|
-
):
|
|
1003
|
+
options?: Options
|
|
1004
|
+
): ResponseType<PutLocationMultigroupResponse, Options> {
|
|
988
1005
|
return this.request("put", `/location/multigroup/${id}`, body, options);
|
|
989
1006
|
}
|
|
990
1007
|
|
|
@@ -995,11 +1012,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
995
1012
|
* @param body
|
|
996
1013
|
* @param options - additional request options
|
|
997
1014
|
*/
|
|
998
|
-
delete_location_multigroup(
|
|
1015
|
+
delete_location_multigroup<Options extends RequestOptions>(
|
|
999
1016
|
id: string,
|
|
1000
1017
|
body: DeleteLocationMultigroupBody,
|
|
1001
|
-
options?:
|
|
1002
|
-
):
|
|
1018
|
+
options?: Options
|
|
1019
|
+
): ResponseType<DeleteLocationMultigroupResponse, Options> {
|
|
1003
1020
|
return this.request("delete", `/location/multigroup/${id}`, body, options);
|
|
1004
1021
|
}
|
|
1005
1022
|
|
|
@@ -1010,11 +1027,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1010
1027
|
* @param body
|
|
1011
1028
|
* @param options - additional request options
|
|
1012
1029
|
*/
|
|
1013
|
-
patch_location_multigroup(
|
|
1030
|
+
patch_location_multigroup<Options extends RequestOptions>(
|
|
1014
1031
|
id: string,
|
|
1015
1032
|
body: PatchLocationMultigroupBody,
|
|
1016
|
-
options?:
|
|
1017
|
-
):
|
|
1033
|
+
options?: Options
|
|
1034
|
+
): ResponseType<PatchLocationMultigroupResponse, Options> {
|
|
1018
1035
|
return this.request("patch", `/location/multigroup/${id}`, body, options);
|
|
1019
1036
|
}
|
|
1020
1037
|
|
|
@@ -1025,13 +1042,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1025
1042
|
* @param user_id - user
|
|
1026
1043
|
* @param options - additional request options
|
|
1027
1044
|
*/
|
|
1028
|
-
get_location_user_multigroup(
|
|
1045
|
+
get_location_user_multigroup<Options extends RequestOptions>(
|
|
1029
1046
|
id: string,
|
|
1030
1047
|
user_id: string,
|
|
1031
1048
|
options?: {
|
|
1032
1049
|
query?: GetLocationUserMultigroupQuery;
|
|
1033
|
-
} &
|
|
1034
|
-
):
|
|
1050
|
+
} & Options
|
|
1051
|
+
): ResponseType<GetLocationUserMultigroupResponse, Options> {
|
|
1035
1052
|
return this.request("get", `/location/multigroup/${id}/user/${user_id}`, null, options);
|
|
1036
1053
|
}
|
|
1037
1054
|
|
|
@@ -1041,10 +1058,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1041
1058
|
* @param body
|
|
1042
1059
|
* @param options - additional request options
|
|
1043
1060
|
*/
|
|
1044
|
-
post_location_group(
|
|
1061
|
+
post_location_group<Options extends RequestOptions>(
|
|
1045
1062
|
body: PostLocationGroupBody,
|
|
1046
|
-
options?:
|
|
1047
|
-
):
|
|
1063
|
+
options?: Options
|
|
1064
|
+
): ResponseType<PostLocationGroupResponse, Options> {
|
|
1048
1065
|
return this.request("post", `/location/group`, body, options);
|
|
1049
1066
|
}
|
|
1050
1067
|
|
|
@@ -1054,12 +1071,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1054
1071
|
* @param id - group id
|
|
1055
1072
|
* @param options - additional request options
|
|
1056
1073
|
*/
|
|
1057
|
-
get_location_group(
|
|
1074
|
+
get_location_group<Options extends RequestOptions>(
|
|
1058
1075
|
id: string,
|
|
1059
1076
|
options?: {
|
|
1060
1077
|
query?: GetLocationGroupQuery;
|
|
1061
|
-
} &
|
|
1062
|
-
):
|
|
1078
|
+
} & Options
|
|
1079
|
+
): ResponseType<GetLocationGroupResponse, Options> {
|
|
1063
1080
|
return this.request("get", `/location/group/${id}`, null, options);
|
|
1064
1081
|
}
|
|
1065
1082
|
|
|
@@ -1070,11 +1087,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1070
1087
|
* @param body
|
|
1071
1088
|
* @param options - additional request options
|
|
1072
1089
|
*/
|
|
1073
|
-
put_location_group(
|
|
1090
|
+
put_location_group<Options extends RequestOptions>(
|
|
1074
1091
|
id: string,
|
|
1075
1092
|
body: PutLocationGroupBody,
|
|
1076
|
-
options?:
|
|
1077
|
-
):
|
|
1093
|
+
options?: Options
|
|
1094
|
+
): ResponseType<PutLocationGroupResponse, Options> {
|
|
1078
1095
|
return this.request("put", `/location/group/${id}`, body, options);
|
|
1079
1096
|
}
|
|
1080
1097
|
|
|
@@ -1085,11 +1102,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1085
1102
|
* @param body
|
|
1086
1103
|
* @param options - additional request options
|
|
1087
1104
|
*/
|
|
1088
|
-
delete_location_group(
|
|
1105
|
+
delete_location_group<Options extends RequestOptions>(
|
|
1089
1106
|
id: string,
|
|
1090
1107
|
body: DeleteLocationGroupBody,
|
|
1091
|
-
options?:
|
|
1092
|
-
):
|
|
1108
|
+
options?: Options
|
|
1109
|
+
): ResponseType<DeleteLocationGroupResponse, Options> {
|
|
1093
1110
|
return this.request("delete", `/location/group/${id}`, body, options);
|
|
1094
1111
|
}
|
|
1095
1112
|
|
|
@@ -1100,11 +1117,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1100
1117
|
* @param body
|
|
1101
1118
|
* @param options - additional request options
|
|
1102
1119
|
*/
|
|
1103
|
-
patch_location_group(
|
|
1120
|
+
patch_location_group<Options extends RequestOptions>(
|
|
1104
1121
|
id: string,
|
|
1105
1122
|
body: PatchLocationGroupBody,
|
|
1106
|
-
options?:
|
|
1107
|
-
):
|
|
1123
|
+
options?: Options
|
|
1124
|
+
): ResponseType<PatchLocationGroupResponse, Options> {
|
|
1108
1125
|
return this.request("patch", `/location/group/${id}`, body, options);
|
|
1109
1126
|
}
|
|
1110
1127
|
|
|
@@ -1114,12 +1131,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1114
1131
|
* @param id - Group ID
|
|
1115
1132
|
* @param options - additional request options
|
|
1116
1133
|
*/
|
|
1117
|
-
get_location_group_deliverydestinations(
|
|
1134
|
+
get_location_group_deliverydestinations<Options extends RequestOptions>(
|
|
1118
1135
|
id: string,
|
|
1119
1136
|
options?: {
|
|
1120
1137
|
query?: GetLocationGroupDeliverydestinationsQuery;
|
|
1121
|
-
} &
|
|
1122
|
-
):
|
|
1138
|
+
} & Options
|
|
1139
|
+
): ResponseType<GetLocationGroupDeliverydestinationsResponse, Options> {
|
|
1123
1140
|
return this.request("get", `/location/group/${id}/deliverydestination`, null, options);
|
|
1124
1141
|
}
|
|
1125
1142
|
|
|
@@ -1130,11 +1147,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1130
1147
|
* @param body
|
|
1131
1148
|
* @param options - additional request options
|
|
1132
1149
|
*/
|
|
1133
|
-
post_location_group_deliverydestination(
|
|
1150
|
+
post_location_group_deliverydestination<Options extends RequestOptions>(
|
|
1134
1151
|
id: string,
|
|
1135
1152
|
body: PostLocationGroupDeliverydestinationBody,
|
|
1136
|
-
options?:
|
|
1137
|
-
):
|
|
1153
|
+
options?: Options
|
|
1154
|
+
): ResponseType<PostLocationGroupDeliverydestinationResponse, Options> {
|
|
1138
1155
|
return this.request("post", `/location/group/${id}/deliverydestination`, body, options);
|
|
1139
1156
|
}
|
|
1140
1157
|
|
|
@@ -1145,11 +1162,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1145
1162
|
* @param delivery_destination - Delivery Destination ID
|
|
1146
1163
|
* @param options - additional request options
|
|
1147
1164
|
*/
|
|
1148
|
-
get_location_group_deliverydestination(
|
|
1165
|
+
get_location_group_deliverydestination<Options extends RequestOptions>(
|
|
1149
1166
|
id: string,
|
|
1150
1167
|
delivery_destination: string,
|
|
1151
|
-
options?:
|
|
1152
|
-
):
|
|
1168
|
+
options?: Options
|
|
1169
|
+
): ResponseType<GetLocationGroupDeliverydestinationResponse, Options> {
|
|
1153
1170
|
return this.request(
|
|
1154
1171
|
"get",
|
|
1155
1172
|
`/location/group/${id}/deliverydestination/${delivery_destination}`,
|
|
@@ -1166,12 +1183,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1166
1183
|
* @param body
|
|
1167
1184
|
* @param options - additional request options
|
|
1168
1185
|
*/
|
|
1169
|
-
patch_location_group_deliverydestination(
|
|
1186
|
+
patch_location_group_deliverydestination<Options extends RequestOptions>(
|
|
1170
1187
|
id: string,
|
|
1171
1188
|
delivery_destination: string,
|
|
1172
1189
|
body: PatchLocationGroupDeliverydestinationBody,
|
|
1173
|
-
options?:
|
|
1174
|
-
):
|
|
1190
|
+
options?: Options
|
|
1191
|
+
): ResponseType<PatchLocationGroupDeliverydestinationResponse, Options> {
|
|
1175
1192
|
return this.request(
|
|
1176
1193
|
"patch",
|
|
1177
1194
|
`/location/group/${id}/deliverydestination/${delivery_destination}`,
|
|
@@ -1187,11 +1204,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1187
1204
|
* @param delivery_destination - Delivery Destination ID
|
|
1188
1205
|
* @param options - additional request options
|
|
1189
1206
|
*/
|
|
1190
|
-
delete_location_group_deliverydestination(
|
|
1207
|
+
delete_location_group_deliverydestination<Options extends RequestOptions>(
|
|
1191
1208
|
id: string,
|
|
1192
1209
|
delivery_destination: string,
|
|
1193
|
-
options?:
|
|
1194
|
-
):
|
|
1210
|
+
options?: Options
|
|
1211
|
+
): ResponseType<DeleteLocationGroupDeliverydestinationResponse, Options> {
|
|
1195
1212
|
return this.request(
|
|
1196
1213
|
"delete",
|
|
1197
1214
|
`/location/group/${id}/deliverydestination/${delivery_destination}`,
|
|
@@ -1207,13 +1224,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1207
1224
|
* @param user_id - user
|
|
1208
1225
|
* @param options - additional request options
|
|
1209
1226
|
*/
|
|
1210
|
-
get_location_user_group(
|
|
1227
|
+
get_location_user_group<Options extends RequestOptions>(
|
|
1211
1228
|
id: string,
|
|
1212
1229
|
user_id: string,
|
|
1213
1230
|
options?: {
|
|
1214
1231
|
query?: GetLocationUserGroupQuery;
|
|
1215
|
-
} &
|
|
1216
|
-
):
|
|
1232
|
+
} & Options
|
|
1233
|
+
): ResponseType<GetLocationUserGroupResponse, Options> {
|
|
1217
1234
|
return this.request("get", `/location/group/${id}/user/${user_id}`, null, options);
|
|
1218
1235
|
}
|
|
1219
1236
|
|
|
@@ -1222,7 +1239,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1222
1239
|
*
|
|
1223
1240
|
* @param options - additional request options
|
|
1224
1241
|
*/
|
|
1225
|
-
get_location_brands
|
|
1242
|
+
get_location_brands<Options extends RequestOptions>(
|
|
1243
|
+
options?: Options
|
|
1244
|
+
): ResponseType<GetLocationBrandsResponse, Options> {
|
|
1226
1245
|
return this.request("get", `/location/brands`, null, options);
|
|
1227
1246
|
}
|
|
1228
1247
|
|
|
@@ -1232,10 +1251,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1232
1251
|
* @param id - Brand ID
|
|
1233
1252
|
* @param options - additional request options
|
|
1234
1253
|
*/
|
|
1235
|
-
get_location_brand_destinations(
|
|
1254
|
+
get_location_brand_destinations<Options extends RequestOptions>(
|
|
1236
1255
|
id: string,
|
|
1237
|
-
options?:
|
|
1238
|
-
):
|
|
1256
|
+
options?: Options
|
|
1257
|
+
): ResponseType<GetLocationBrandDestinationsResponse, Options> {
|
|
1239
1258
|
return this.request("get", `/location/brand/${id}/deliverydestinations`, null, options);
|
|
1240
1259
|
}
|
|
1241
1260
|
|
|
@@ -1246,11 +1265,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1246
1265
|
* @param body
|
|
1247
1266
|
* @param options - additional request options
|
|
1248
1267
|
*/
|
|
1249
|
-
post_location_brand_document(
|
|
1268
|
+
post_location_brand_document<Options extends RequestOptions>(
|
|
1250
1269
|
id: string,
|
|
1251
1270
|
body: PostLocationBrandDocumentBody,
|
|
1252
|
-
options?:
|
|
1253
|
-
):
|
|
1271
|
+
options?: Options
|
|
1272
|
+
): ResponseType<PostLocationBrandDocumentResponse, Options> {
|
|
1254
1273
|
return this.request("post", `/location/brand/${id}/document`, body, options);
|
|
1255
1274
|
}
|
|
1256
1275
|
|
|
@@ -1260,10 +1279,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1260
1279
|
* @param id - Brand ID
|
|
1261
1280
|
* @param options - additional request options
|
|
1262
1281
|
*/
|
|
1263
|
-
patch_location_brand_document(
|
|
1282
|
+
patch_location_brand_document<Options extends RequestOptions>(
|
|
1264
1283
|
id: string,
|
|
1265
|
-
options?:
|
|
1266
|
-
):
|
|
1284
|
+
options?: Options
|
|
1285
|
+
): ResponseType<PatchLocationBrandDocumentResponse, Options> {
|
|
1267
1286
|
return this.request("patch", `/location/brand/${id}/document`, null, options);
|
|
1268
1287
|
}
|
|
1269
1288
|
|
|
@@ -1273,10 +1292,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1273
1292
|
* @param id - Brand ID
|
|
1274
1293
|
* @param options - additional request options
|
|
1275
1294
|
*/
|
|
1276
|
-
delete_location_brand_document(
|
|
1295
|
+
delete_location_brand_document<Options extends RequestOptions>(
|
|
1277
1296
|
id: string,
|
|
1278
|
-
options?:
|
|
1279
|
-
):
|
|
1297
|
+
options?: Options
|
|
1298
|
+
): ResponseType<DeleteLocationBrandDocumentResponse, Options> {
|
|
1280
1299
|
return this.request("delete", `/location/brand/${id}/document`, null, options);
|
|
1281
1300
|
}
|
|
1282
1301
|
|
|
@@ -1286,10 +1305,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1286
1305
|
* @param id - Brand ID
|
|
1287
1306
|
* @param options - additional request options
|
|
1288
1307
|
*/
|
|
1289
|
-
get_location_brand_documents(
|
|
1308
|
+
get_location_brand_documents<Options extends RequestOptions>(
|
|
1290
1309
|
id: string,
|
|
1291
|
-
options?:
|
|
1292
|
-
):
|
|
1310
|
+
options?: Options
|
|
1311
|
+
): ResponseType<GetLocationBrandDocumentsResponse, Options> {
|
|
1293
1312
|
return this.request("get", `/location/brand/${id}/documents`, null, options);
|
|
1294
1313
|
}
|
|
1295
1314
|
|
|
@@ -1299,12 +1318,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1299
1318
|
* @param id - Brand ID
|
|
1300
1319
|
* @param options - additional request options
|
|
1301
1320
|
*/
|
|
1302
|
-
get_location_brand_timeslots(
|
|
1321
|
+
get_location_brand_timeslots<Options extends RequestOptions>(
|
|
1303
1322
|
id: string,
|
|
1304
1323
|
options?: {
|
|
1305
1324
|
query?: GetLocationBrandTimeslotsQuery;
|
|
1306
|
-
} &
|
|
1307
|
-
):
|
|
1325
|
+
} & Options
|
|
1326
|
+
): ResponseType<GetLocationBrandTimeslotsResponse, Options> {
|
|
1308
1327
|
return this.request("get", `/location/brand/${id}/timeslots`, null, options);
|
|
1309
1328
|
}
|
|
1310
1329
|
|
|
@@ -1314,12 +1333,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1314
1333
|
* @param body
|
|
1315
1334
|
* @param options - additional request options
|
|
1316
1335
|
*/
|
|
1317
|
-
post_location_marketplace_timeslots(
|
|
1336
|
+
post_location_marketplace_timeslots<Options extends RequestOptions>(
|
|
1318
1337
|
body: PostLocationMarketplaceTimeslotsBody,
|
|
1319
1338
|
options?: {
|
|
1320
1339
|
query?: PostLocationMarketplaceTimeslotsQuery;
|
|
1321
|
-
} &
|
|
1322
|
-
):
|
|
1340
|
+
} & Options
|
|
1341
|
+
): ResponseType<PostLocationMarketplaceTimeslotsResponse, Options> {
|
|
1323
1342
|
return this.request("post", `/location/marketplace/timeslots`, body, options);
|
|
1324
1343
|
}
|
|
1325
1344
|
|
|
@@ -1329,12 +1348,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1329
1348
|
* @param body
|
|
1330
1349
|
* @param options - additional request options
|
|
1331
1350
|
*/
|
|
1332
|
-
post_location_marketplace_timeslots_delivery(
|
|
1351
|
+
post_location_marketplace_timeslots_delivery<Options extends RequestOptions>(
|
|
1333
1352
|
body: PostLocationMarketplaceTimeslotsDeliveryBody,
|
|
1334
1353
|
options?: {
|
|
1335
1354
|
query?: PostLocationMarketplaceTimeslotsDeliveryQuery;
|
|
1336
|
-
} &
|
|
1337
|
-
):
|
|
1355
|
+
} & Options
|
|
1356
|
+
): ResponseType<PostLocationMarketplaceTimeslotsDeliveryResponse, Options> {
|
|
1338
1357
|
return this.request("post", `/location/marketplace/timeslots/delivery`, body, options);
|
|
1339
1358
|
}
|
|
1340
1359
|
|
|
@@ -1345,13 +1364,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1345
1364
|
* @param menu - Menu ID
|
|
1346
1365
|
* @param options - additional request options
|
|
1347
1366
|
*/
|
|
1348
|
-
get_location_brand_menu_timeslots(
|
|
1367
|
+
get_location_brand_menu_timeslots<Options extends RequestOptions>(
|
|
1349
1368
|
id: string,
|
|
1350
1369
|
menu: string,
|
|
1351
1370
|
options?: {
|
|
1352
1371
|
query?: GetLocationBrandMenuTimeslotsQuery;
|
|
1353
|
-
} &
|
|
1354
|
-
):
|
|
1372
|
+
} & Options
|
|
1373
|
+
): ResponseType<GetLocationBrandMenuTimeslotsResponse, Options> {
|
|
1355
1374
|
return this.request("get", `/location/brand/${id}/timeslots/menu/${menu}`, null, options);
|
|
1356
1375
|
}
|
|
1357
1376
|
|
|
@@ -1361,12 +1380,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1361
1380
|
* @param id - Brand ID
|
|
1362
1381
|
* @param options - additional request options
|
|
1363
1382
|
*/
|
|
1364
|
-
get_location_brand_delivery_timeslots(
|
|
1383
|
+
get_location_brand_delivery_timeslots<Options extends RequestOptions>(
|
|
1365
1384
|
id: string,
|
|
1366
1385
|
options?: {
|
|
1367
1386
|
query?: GetLocationBrandDeliveryTimeslotsQuery;
|
|
1368
|
-
} &
|
|
1369
|
-
):
|
|
1387
|
+
} & Options
|
|
1388
|
+
): ResponseType<GetLocationBrandDeliveryTimeslotsResponse, Options> {
|
|
1370
1389
|
return this.request("get", `/location/brand/${id}/timeslots/delivery`, null, options);
|
|
1371
1390
|
}
|
|
1372
1391
|
|
|
@@ -1377,13 +1396,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1377
1396
|
* @param menu - Menu ID
|
|
1378
1397
|
* @param options - additional request options
|
|
1379
1398
|
*/
|
|
1380
|
-
get_location_brand_menu_delivery_timeslosts(
|
|
1399
|
+
get_location_brand_menu_delivery_timeslosts<Options extends RequestOptions>(
|
|
1381
1400
|
id: string,
|
|
1382
1401
|
menu: string,
|
|
1383
1402
|
options?: {
|
|
1384
1403
|
query?: GetLocationBrandMenuDeliveryTimeslostsQuery;
|
|
1385
|
-
} &
|
|
1386
|
-
):
|
|
1404
|
+
} & Options
|
|
1405
|
+
): ResponseType<GetLocationBrandMenuDeliveryTimeslostsResponse, Options> {
|
|
1387
1406
|
return this.request(
|
|
1388
1407
|
"get",
|
|
1389
1408
|
`/location/brand/${id}/timeslots/delivery/menu/${menu}`,
|
|
@@ -1398,10 +1417,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1398
1417
|
* @param body
|
|
1399
1418
|
* @param options - additional request options
|
|
1400
1419
|
*/
|
|
1401
|
-
post_location_brand(
|
|
1420
|
+
post_location_brand<Options extends RequestOptions>(
|
|
1402
1421
|
body: PostLocationBrandBody,
|
|
1403
|
-
options?:
|
|
1404
|
-
):
|
|
1422
|
+
options?: Options
|
|
1423
|
+
): ResponseType<PostLocationBrandResponse, Options> {
|
|
1405
1424
|
return this.request("post", `/location/brand`, body, options);
|
|
1406
1425
|
}
|
|
1407
1426
|
|
|
@@ -1411,12 +1430,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1411
1430
|
* @param id - Brand ID
|
|
1412
1431
|
* @param options - additional request options
|
|
1413
1432
|
*/
|
|
1414
|
-
get_location_brand(
|
|
1433
|
+
get_location_brand<Options extends RequestOptions>(
|
|
1415
1434
|
id: string,
|
|
1416
1435
|
options?: {
|
|
1417
1436
|
query?: GetLocationBrandQuery;
|
|
1418
|
-
} &
|
|
1419
|
-
):
|
|
1437
|
+
} & Options
|
|
1438
|
+
): ResponseType<GetLocationBrandResponse, Options> {
|
|
1420
1439
|
return this.request("get", `/location/brand/${id}`, null, options);
|
|
1421
1440
|
}
|
|
1422
1441
|
|
|
@@ -1427,11 +1446,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1427
1446
|
* @param body
|
|
1428
1447
|
* @param options - additional request options
|
|
1429
1448
|
*/
|
|
1430
|
-
patch_location_brand(
|
|
1449
|
+
patch_location_brand<Options extends RequestOptions>(
|
|
1431
1450
|
id: string,
|
|
1432
1451
|
body: PatchLocationBrandBody,
|
|
1433
|
-
options?:
|
|
1434
|
-
):
|
|
1452
|
+
options?: Options
|
|
1453
|
+
): ResponseType<PatchLocationBrandResponse, Options> {
|
|
1435
1454
|
return this.request("patch", `/location/brand/${id}`, body, options);
|
|
1436
1455
|
}
|
|
1437
1456
|
|
|
@@ -1442,11 +1461,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1442
1461
|
* @param body
|
|
1443
1462
|
* @param options - additional request options
|
|
1444
1463
|
*/
|
|
1445
|
-
delete_location_brand(
|
|
1464
|
+
delete_location_brand<Options extends RequestOptions>(
|
|
1446
1465
|
id: string,
|
|
1447
1466
|
body: DeleteLocationBrandBody,
|
|
1448
|
-
options?:
|
|
1449
|
-
):
|
|
1467
|
+
options?: Options
|
|
1468
|
+
): ResponseType<DeleteLocationBrandResponse, Options> {
|
|
1450
1469
|
return this.request("delete", `/location/brand/${id}`, body, options);
|
|
1451
1470
|
}
|
|
1452
1471
|
|
|
@@ -1457,11 +1476,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1457
1476
|
* @param body
|
|
1458
1477
|
* @param options - additional request options
|
|
1459
1478
|
*/
|
|
1460
|
-
put_location_brand(
|
|
1479
|
+
put_location_brand<Options extends RequestOptions>(
|
|
1461
1480
|
id: string,
|
|
1462
1481
|
body: PutLocationBrandBody,
|
|
1463
|
-
options?:
|
|
1464
|
-
):
|
|
1482
|
+
options?: Options
|
|
1483
|
+
): ResponseType<PutLocationBrandResponse, Options> {
|
|
1465
1484
|
return this.request("put", `/location/brand/${id}`, body, options);
|
|
1466
1485
|
}
|
|
1467
1486
|
|
|
@@ -1470,7 +1489,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1470
1489
|
*
|
|
1471
1490
|
* @param options - additional request options
|
|
1472
1491
|
*/
|
|
1473
|
-
get_location_sectors
|
|
1492
|
+
get_location_sectors<Options extends RequestOptions>(
|
|
1493
|
+
options?: Options
|
|
1494
|
+
): ResponseType<GetLocationSectorsResponse, Options> {
|
|
1474
1495
|
return this.request("get", `/location/sector`, null, options);
|
|
1475
1496
|
}
|
|
1476
1497
|
|
|
@@ -1480,10 +1501,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1480
1501
|
* @param body
|
|
1481
1502
|
* @param options - additional request options
|
|
1482
1503
|
*/
|
|
1483
|
-
post_location_sector(
|
|
1504
|
+
post_location_sector<Options extends RequestOptions>(
|
|
1484
1505
|
body: PostLocationSectorBody,
|
|
1485
|
-
options?:
|
|
1486
|
-
):
|
|
1506
|
+
options?: Options
|
|
1507
|
+
): ResponseType<PostLocationSectorResponse, Options> {
|
|
1487
1508
|
return this.request("post", `/location/sector`, body, options);
|
|
1488
1509
|
}
|
|
1489
1510
|
|
|
@@ -1493,12 +1514,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1493
1514
|
* @param id - sector
|
|
1494
1515
|
* @param options - additional request options
|
|
1495
1516
|
*/
|
|
1496
|
-
get_location_sector(
|
|
1517
|
+
get_location_sector<Options extends RequestOptions>(
|
|
1497
1518
|
id: string,
|
|
1498
1519
|
options?: {
|
|
1499
1520
|
query?: GetLocationSectorQuery;
|
|
1500
|
-
} &
|
|
1501
|
-
):
|
|
1521
|
+
} & Options
|
|
1522
|
+
): ResponseType<GetLocationSectorResponse, Options> {
|
|
1502
1523
|
return this.request("get", `/location/sector/${id}`, null, options);
|
|
1503
1524
|
}
|
|
1504
1525
|
|
|
@@ -1509,13 +1530,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1509
1530
|
* @param body
|
|
1510
1531
|
* @param options - additional request options
|
|
1511
1532
|
*/
|
|
1512
|
-
patch_location_sector(
|
|
1533
|
+
patch_location_sector<Options extends RequestOptions>(
|
|
1513
1534
|
id: string,
|
|
1514
1535
|
body: PatchLocationSectorBody,
|
|
1515
1536
|
options?: {
|
|
1516
1537
|
query?: PatchLocationSectorQuery;
|
|
1517
|
-
} &
|
|
1518
|
-
):
|
|
1538
|
+
} & Options
|
|
1539
|
+
): ResponseType<PatchLocationSectorResponse, Options> {
|
|
1519
1540
|
return this.request("patch", `/location/sector/${id}`, body, options);
|
|
1520
1541
|
}
|
|
1521
1542
|
|
|
@@ -1525,10 +1546,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1525
1546
|
* @param body
|
|
1526
1547
|
* @param options - additional request options
|
|
1527
1548
|
*/
|
|
1528
|
-
post_location_company(
|
|
1549
|
+
post_location_company<Options extends RequestOptions>(
|
|
1529
1550
|
body: PostLocationCompanyBody,
|
|
1530
|
-
options?:
|
|
1531
|
-
):
|
|
1551
|
+
options?: Options
|
|
1552
|
+
): ResponseType<PostLocationCompanyResponse, Options> {
|
|
1532
1553
|
return this.request("post", `/location/company`, body, options);
|
|
1533
1554
|
}
|
|
1534
1555
|
|
|
@@ -1538,12 +1559,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1538
1559
|
* @param id - Company ID
|
|
1539
1560
|
* @param options - additional request options
|
|
1540
1561
|
*/
|
|
1541
|
-
get_location_company(
|
|
1562
|
+
get_location_company<Options extends RequestOptions>(
|
|
1542
1563
|
id: string,
|
|
1543
1564
|
options?: {
|
|
1544
1565
|
query?: GetLocationCompanyQuery;
|
|
1545
|
-
} &
|
|
1546
|
-
):
|
|
1566
|
+
} & Options
|
|
1567
|
+
): ResponseType<GetLocationCompanyResponse, Options> {
|
|
1547
1568
|
return this.request("get", `/location/company/${id}`, null, options);
|
|
1548
1569
|
}
|
|
1549
1570
|
|
|
@@ -1554,11 +1575,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1554
1575
|
* @param body
|
|
1555
1576
|
* @param options - additional request options
|
|
1556
1577
|
*/
|
|
1557
|
-
patch_location_company(
|
|
1578
|
+
patch_location_company<Options extends RequestOptions>(
|
|
1558
1579
|
id: string,
|
|
1559
1580
|
body: PatchLocationCompanyBody,
|
|
1560
|
-
options?:
|
|
1561
|
-
):
|
|
1581
|
+
options?: Options
|
|
1582
|
+
): ResponseType<PatchLocationCompanyResponse, Options> {
|
|
1562
1583
|
return this.request("patch", `/location/company/${id}`, body, options);
|
|
1563
1584
|
}
|
|
1564
1585
|
|
|
@@ -1568,10 +1589,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1568
1589
|
* @param body
|
|
1569
1590
|
* @param options - additional request options
|
|
1570
1591
|
*/
|
|
1571
|
-
post_shoppingcart_cart(
|
|
1592
|
+
post_shoppingcart_cart<Options extends RequestOptions>(
|
|
1572
1593
|
body: PostShoppingcartCartBody,
|
|
1573
|
-
options?:
|
|
1574
|
-
):
|
|
1594
|
+
options?: Options
|
|
1595
|
+
): ResponseType<PostShoppingcartCartResponse, Options> {
|
|
1575
1596
|
return this.request("post", `/shoppingcart/`, body, options);
|
|
1576
1597
|
}
|
|
1577
1598
|
|
|
@@ -1582,11 +1603,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1582
1603
|
* @param body
|
|
1583
1604
|
* @param options - additional request options
|
|
1584
1605
|
*/
|
|
1585
|
-
put_shoppingcart_cart_items(
|
|
1606
|
+
put_shoppingcart_cart_items<Options extends RequestOptions>(
|
|
1586
1607
|
id: string,
|
|
1587
1608
|
body: PutShoppingcartCartItemsBody,
|
|
1588
|
-
options?:
|
|
1589
|
-
):
|
|
1609
|
+
options?: Options
|
|
1610
|
+
): ResponseType<PutShoppingcartCartItemsResponse, Options> {
|
|
1590
1611
|
return this.request("put", `/shoppingcart/${id}`, body, options);
|
|
1591
1612
|
}
|
|
1592
1613
|
|
|
@@ -1597,11 +1618,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1597
1618
|
* @param body
|
|
1598
1619
|
* @param options - additional request options
|
|
1599
1620
|
*/
|
|
1600
|
-
delete_shoppingcart_cart_items(
|
|
1621
|
+
delete_shoppingcart_cart_items<Options extends RequestOptions>(
|
|
1601
1622
|
id: string,
|
|
1602
1623
|
body: DeleteShoppingcartCartItemsBody,
|
|
1603
|
-
options?:
|
|
1604
|
-
):
|
|
1624
|
+
options?: Options
|
|
1625
|
+
): ResponseType<DeleteShoppingcartCartItemsResponse, Options> {
|
|
1605
1626
|
return this.request("delete", `/shoppingcart/${id}`, body, options);
|
|
1606
1627
|
}
|
|
1607
1628
|
|
|
@@ -1611,10 +1632,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1611
1632
|
* @param id - Shopping cart ID
|
|
1612
1633
|
* @param options - additional request options
|
|
1613
1634
|
*/
|
|
1614
|
-
get_shoppingcart_cart(
|
|
1635
|
+
get_shoppingcart_cart<Options extends RequestOptions>(
|
|
1615
1636
|
id: string,
|
|
1616
|
-
options?:
|
|
1617
|
-
):
|
|
1637
|
+
options?: Options
|
|
1638
|
+
): ResponseType<GetShoppingcartCartResponse, Options> {
|
|
1618
1639
|
return this.request("get", `/shoppingcart/${id}`, null, options);
|
|
1619
1640
|
}
|
|
1620
1641
|
|
|
@@ -1624,10 +1645,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1624
1645
|
* @param id - Shopping cart ID
|
|
1625
1646
|
* @param options - additional request options
|
|
1626
1647
|
*/
|
|
1627
|
-
patch_shoppingcart_cart(
|
|
1648
|
+
patch_shoppingcart_cart<Options extends RequestOptions>(
|
|
1628
1649
|
id: string,
|
|
1629
|
-
options?:
|
|
1630
|
-
):
|
|
1650
|
+
options?: Options
|
|
1651
|
+
): ResponseType<PatchShoppingcartCartResponse, Options> {
|
|
1631
1652
|
return this.request("patch", `/shoppingcart/${id}`, null, options);
|
|
1632
1653
|
}
|
|
1633
1654
|
|
|
@@ -1638,11 +1659,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1638
1659
|
* @param body
|
|
1639
1660
|
* @param options - additional request options
|
|
1640
1661
|
*/
|
|
1641
|
-
put_shoppingcart_cart_promo(
|
|
1662
|
+
put_shoppingcart_cart_promo<Options extends RequestOptions>(
|
|
1642
1663
|
id: string,
|
|
1643
1664
|
body: PutShoppingcartCartPromoBody,
|
|
1644
|
-
options?:
|
|
1645
|
-
):
|
|
1665
|
+
options?: Options
|
|
1666
|
+
): ResponseType<PutShoppingcartCartPromoResponse, Options> {
|
|
1646
1667
|
return this.request("put", `/shoppingcart/${id}/promo`, body, options);
|
|
1647
1668
|
}
|
|
1648
1669
|
|
|
@@ -1652,10 +1673,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1652
1673
|
* @param id - Shopping cart ID
|
|
1653
1674
|
* @param options - additional request options
|
|
1654
1675
|
*/
|
|
1655
|
-
delete_shoppingcart_cart_promo(
|
|
1676
|
+
delete_shoppingcart_cart_promo<Options extends RequestOptions>(
|
|
1656
1677
|
id: string,
|
|
1657
|
-
options?:
|
|
1658
|
-
):
|
|
1678
|
+
options?: Options
|
|
1679
|
+
): ResponseType<DeleteShoppingcartCartPromoResponse, Options> {
|
|
1659
1680
|
return this.request("delete", `/shoppingcart/${id}/promo`, null, options);
|
|
1660
1681
|
}
|
|
1661
1682
|
|
|
@@ -1666,11 +1687,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1666
1687
|
* @param body
|
|
1667
1688
|
* @param options - additional request options
|
|
1668
1689
|
*/
|
|
1669
|
-
put_shoppingcart_cart_payment(
|
|
1690
|
+
put_shoppingcart_cart_payment<Options extends RequestOptions>(
|
|
1670
1691
|
id: string,
|
|
1671
1692
|
body: PutShoppingcartCartPaymentBody,
|
|
1672
|
-
options?:
|
|
1673
|
-
):
|
|
1693
|
+
options?: Options
|
|
1694
|
+
): ResponseType<PutShoppingcartCartPaymentResponse, Options> {
|
|
1674
1695
|
return this.request("put", `/shoppingcart/${id}/paymentmethod/`, body, options);
|
|
1675
1696
|
}
|
|
1676
1697
|
|
|
@@ -1681,11 +1702,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1681
1702
|
* @param body
|
|
1682
1703
|
* @param options - additional request options
|
|
1683
1704
|
*/
|
|
1684
|
-
put_shoppingcart_cart_order(
|
|
1705
|
+
put_shoppingcart_cart_order<Options extends RequestOptions>(
|
|
1685
1706
|
id: string,
|
|
1686
1707
|
body: PutShoppingcartCartOrderBody,
|
|
1687
|
-
options?:
|
|
1688
|
-
):
|
|
1708
|
+
options?: Options
|
|
1709
|
+
): ResponseType<PutShoppingcartCartOrderResponse, Options> {
|
|
1689
1710
|
return this.request("put", `/shoppingcart/${id}/order/`, body, options);
|
|
1690
1711
|
}
|
|
1691
1712
|
|
|
@@ -1697,12 +1718,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1697
1718
|
* @param body
|
|
1698
1719
|
* @param options - additional request options
|
|
1699
1720
|
*/
|
|
1700
|
-
put_shoppingcart_cart_loyalty(
|
|
1721
|
+
put_shoppingcart_cart_loyalty<Options extends RequestOptions>(
|
|
1701
1722
|
id: string,
|
|
1702
1723
|
user_id: string,
|
|
1703
1724
|
body: PutShoppingcartCartLoyaltyBody,
|
|
1704
|
-
options?:
|
|
1705
|
-
):
|
|
1725
|
+
options?: Options
|
|
1726
|
+
): ResponseType<PutShoppingcartCartLoyaltyResponse, Options> {
|
|
1706
1727
|
return this.request("put", `/shoppingcart/${id}/loyalty/${user_id}`, body, options);
|
|
1707
1728
|
}
|
|
1708
1729
|
|
|
@@ -1713,11 +1734,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1713
1734
|
* @param user_id - User ID
|
|
1714
1735
|
* @param options - additional request options
|
|
1715
1736
|
*/
|
|
1716
|
-
delete_shoppingcart_cart_loyalty(
|
|
1737
|
+
delete_shoppingcart_cart_loyalty<Options extends RequestOptions>(
|
|
1717
1738
|
id: string,
|
|
1718
1739
|
user_id: string,
|
|
1719
|
-
options?:
|
|
1720
|
-
):
|
|
1740
|
+
options?: Options
|
|
1741
|
+
): ResponseType<DeleteShoppingcartCartLoyaltyResponse, Options> {
|
|
1721
1742
|
return this.request("delete", `/shoppingcart/${id}/loyalty/${user_id}`, null, options);
|
|
1722
1743
|
}
|
|
1723
1744
|
|
|
@@ -1728,11 +1749,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1728
1749
|
* @param body
|
|
1729
1750
|
* @param options - additional request options
|
|
1730
1751
|
*/
|
|
1731
|
-
post_shoppingcart_clone_cart(
|
|
1752
|
+
post_shoppingcart_clone_cart<Options extends RequestOptions>(
|
|
1732
1753
|
id: string,
|
|
1733
1754
|
body: PostShoppingcartCloneCartBody,
|
|
1734
|
-
options?:
|
|
1735
|
-
):
|
|
1755
|
+
options?: Options
|
|
1756
|
+
): ResponseType<PostShoppingcartCloneCartResponse, Options> {
|
|
1736
1757
|
return this.request("post", `/shoppingcart/${id}/clone`, body, options);
|
|
1737
1758
|
}
|
|
1738
1759
|
|
|
@@ -1742,10 +1763,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1742
1763
|
* @param body
|
|
1743
1764
|
* @param options - additional request options
|
|
1744
1765
|
*/
|
|
1745
|
-
post_shoppingcart_bulk(
|
|
1766
|
+
post_shoppingcart_bulk<Options extends RequestOptions>(
|
|
1746
1767
|
body: PostShoppingcartBulkBody,
|
|
1747
|
-
options?:
|
|
1748
|
-
):
|
|
1768
|
+
options?: Options
|
|
1769
|
+
): ResponseType<PostShoppingcartBulkResponse, Options> {
|
|
1749
1770
|
return this.request("post", `/shoppingcart/bulk`, body, options);
|
|
1750
1771
|
}
|
|
1751
1772
|
|
|
@@ -1755,10 +1776,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1755
1776
|
* @param body
|
|
1756
1777
|
* @param options - additional request options
|
|
1757
1778
|
*/
|
|
1758
|
-
post_partner_standardcognition_shoppingcart(
|
|
1779
|
+
post_partner_standardcognition_shoppingcart<Options extends RequestOptions>(
|
|
1759
1780
|
body: PostPartnerStandardcognitionShoppingcartBody,
|
|
1760
|
-
options?:
|
|
1761
|
-
):
|
|
1781
|
+
options?: Options
|
|
1782
|
+
): ResponseType<PostPartnerStandardcognitionShoppingcartResponse, Options> {
|
|
1762
1783
|
return this.request("post", `/partner/standardcognition/shoppingcart`, body, options);
|
|
1763
1784
|
}
|
|
1764
1785
|
|
|
@@ -1767,9 +1788,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1767
1788
|
*
|
|
1768
1789
|
* @param options - additional request options
|
|
1769
1790
|
*/
|
|
1770
|
-
get_partner_standardcognition_locations(
|
|
1771
|
-
options?:
|
|
1772
|
-
):
|
|
1791
|
+
get_partner_standardcognition_locations<Options extends RequestOptions>(
|
|
1792
|
+
options?: Options
|
|
1793
|
+
): ResponseType<GetPartnerStandardcognitionLocationsResponse, Options> {
|
|
1773
1794
|
return this.request("get", `/partner/standardcognition/locations`, null, options);
|
|
1774
1795
|
}
|
|
1775
1796
|
|
|
@@ -1778,7 +1799,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1778
1799
|
*
|
|
1779
1800
|
* @param options - additional request options
|
|
1780
1801
|
*/
|
|
1781
|
-
get_partner_coolr_locations
|
|
1802
|
+
get_partner_coolr_locations<Options extends RequestOptions>(
|
|
1803
|
+
options?: Options
|
|
1804
|
+
): ResponseType<GetPartnerCoolrLocationsResponse, Options> {
|
|
1782
1805
|
return this.request("get", `/partner/coolr/locations`, null, options);
|
|
1783
1806
|
}
|
|
1784
1807
|
|
|
@@ -1788,10 +1811,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1788
1811
|
* @param id - location
|
|
1789
1812
|
* @param options - additional request options
|
|
1790
1813
|
*/
|
|
1791
|
-
get_partner_coolr_images(
|
|
1814
|
+
get_partner_coolr_images<Options extends RequestOptions>(
|
|
1792
1815
|
id: string,
|
|
1793
|
-
options?:
|
|
1794
|
-
):
|
|
1816
|
+
options?: Options
|
|
1817
|
+
): ResponseType<GetPartnerCoolrImagesResponse, Options> {
|
|
1795
1818
|
return this.request("get", `/partner/coolr/${id}/images`, null, options);
|
|
1796
1819
|
}
|
|
1797
1820
|
|
|
@@ -1800,7 +1823,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1800
1823
|
*
|
|
1801
1824
|
* @param options - additional request options
|
|
1802
1825
|
*/
|
|
1803
|
-
get_partner_swagger
|
|
1826
|
+
get_partner_swagger<Options extends RequestOptions>(
|
|
1827
|
+
options?: Options
|
|
1828
|
+
): ResponseType<GetPartnerSwaggerResponse, Options> {
|
|
1804
1829
|
return this.request("get", `/partner/swagger.json`, null, options);
|
|
1805
1830
|
}
|
|
1806
1831
|
|
|
@@ -1810,7 +1835,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1810
1835
|
* @param body - Task Information
|
|
1811
1836
|
* @param options - additional request options
|
|
1812
1837
|
*/
|
|
1813
|
-
post_task
|
|
1838
|
+
post_task<Options extends RequestOptions>(
|
|
1839
|
+
body: PostTaskBody,
|
|
1840
|
+
options?: Options
|
|
1841
|
+
): ResponseType<PostTaskResponse, Options> {
|
|
1814
1842
|
return this.request("post", `/task/`, body, options);
|
|
1815
1843
|
}
|
|
1816
1844
|
|
|
@@ -1820,7 +1848,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1820
1848
|
* @param id - Task ID
|
|
1821
1849
|
* @param options - additional request options
|
|
1822
1850
|
*/
|
|
1823
|
-
get_task
|
|
1851
|
+
get_task<Options extends RequestOptions>(
|
|
1852
|
+
id: string,
|
|
1853
|
+
options?: Options
|
|
1854
|
+
): ResponseType<GetTaskResponse, Options> {
|
|
1824
1855
|
return this.request("get", `/task/${id}`, null, options);
|
|
1825
1856
|
}
|
|
1826
1857
|
|
|
@@ -1831,11 +1862,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1831
1862
|
* @param body - Task Information
|
|
1832
1863
|
* @param options - additional request options
|
|
1833
1864
|
*/
|
|
1834
|
-
patch_task(
|
|
1865
|
+
patch_task<Options extends RequestOptions>(
|
|
1835
1866
|
id: string,
|
|
1836
1867
|
body: PatchTaskBody,
|
|
1837
|
-
options?:
|
|
1838
|
-
):
|
|
1868
|
+
options?: Options
|
|
1869
|
+
): ResponseType<PatchTaskResponse, Options> {
|
|
1839
1870
|
return this.request("patch", `/task/${id}`, body, options);
|
|
1840
1871
|
}
|
|
1841
1872
|
|
|
@@ -1845,7 +1876,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1845
1876
|
* @param id - Task ID
|
|
1846
1877
|
* @param options - additional request options
|
|
1847
1878
|
*/
|
|
1848
|
-
delete_task
|
|
1879
|
+
delete_task<Options extends RequestOptions>(
|
|
1880
|
+
id: string,
|
|
1881
|
+
options?: Options
|
|
1882
|
+
): ResponseType<DeleteTaskResponse, Options> {
|
|
1849
1883
|
return this.request("delete", `/task/${id}`, null, options);
|
|
1850
1884
|
}
|
|
1851
1885
|
|
|
@@ -1855,7 +1889,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1855
1889
|
* @param id - Order ID
|
|
1856
1890
|
* @param options - additional request options
|
|
1857
1891
|
*/
|
|
1858
|
-
get_task_order
|
|
1892
|
+
get_task_order<Options extends RequestOptions>(
|
|
1893
|
+
id: string,
|
|
1894
|
+
options?: Options
|
|
1895
|
+
): ResponseType<GetTaskOrderResponse, Options> {
|
|
1859
1896
|
return this.request("get", `/task/order/${id}`, null, options);
|
|
1860
1897
|
}
|
|
1861
1898
|
|
|
@@ -1865,7 +1902,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1865
1902
|
* @param id - Order ID
|
|
1866
1903
|
* @param options - additional request options
|
|
1867
1904
|
*/
|
|
1868
|
-
get_task_order_kds
|
|
1905
|
+
get_task_order_kds<Options extends RequestOptions>(
|
|
1906
|
+
id: string,
|
|
1907
|
+
options?: Options
|
|
1908
|
+
): ResponseType<GetTaskOrderKdsResponse, Options> {
|
|
1869
1909
|
return this.request("get", `/task/order/${id}/kds`, null, options);
|
|
1870
1910
|
}
|
|
1871
1911
|
|
|
@@ -1876,11 +1916,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1876
1916
|
* @param body - Order information that you wish to update
|
|
1877
1917
|
* @param options - additional request options
|
|
1878
1918
|
*/
|
|
1879
|
-
patch_task_order_kds(
|
|
1919
|
+
patch_task_order_kds<Options extends RequestOptions>(
|
|
1880
1920
|
id: string,
|
|
1881
1921
|
body: PatchTaskOrderKdsBody,
|
|
1882
|
-
options?:
|
|
1883
|
-
):
|
|
1922
|
+
options?: Options
|
|
1923
|
+
): ResponseType<PatchTaskOrderKdsResponse, Options> {
|
|
1884
1924
|
return this.request("patch", `/task/order/${id}/kds`, body, options);
|
|
1885
1925
|
}
|
|
1886
1926
|
|
|
@@ -1890,12 +1930,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1890
1930
|
* @param id - Assignee ID
|
|
1891
1931
|
* @param options - additional request options
|
|
1892
1932
|
*/
|
|
1893
|
-
get_task_assignee(
|
|
1933
|
+
get_task_assignee<Options extends RequestOptions>(
|
|
1894
1934
|
id: string,
|
|
1895
1935
|
options?: {
|
|
1896
1936
|
query?: GetTaskAssigneeQuery;
|
|
1897
|
-
} &
|
|
1898
|
-
):
|
|
1937
|
+
} & Options
|
|
1938
|
+
): ResponseType<GetTaskAssigneeResponse, Options> {
|
|
1899
1939
|
return this.request("get", `/task/assignee/${id}`, null, options);
|
|
1900
1940
|
}
|
|
1901
1941
|
|
|
@@ -1905,12 +1945,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1905
1945
|
* @param id - location brand ID
|
|
1906
1946
|
* @param options - additional request options
|
|
1907
1947
|
*/
|
|
1908
|
-
get_task_location_brand(
|
|
1948
|
+
get_task_location_brand<Options extends RequestOptions>(
|
|
1909
1949
|
id: string,
|
|
1910
1950
|
options?: {
|
|
1911
1951
|
query?: GetTaskLocationBrandQuery;
|
|
1912
|
-
} &
|
|
1913
|
-
):
|
|
1952
|
+
} & Options
|
|
1953
|
+
): ResponseType<GetTaskLocationBrandResponse, Options> {
|
|
1914
1954
|
return this.request("get", `/task/location/brand/${id}`, null, options);
|
|
1915
1955
|
}
|
|
1916
1956
|
|
|
@@ -1920,12 +1960,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1920
1960
|
* @param id - Location group ID
|
|
1921
1961
|
* @param options - additional request options
|
|
1922
1962
|
*/
|
|
1923
|
-
get_task_location_group(
|
|
1963
|
+
get_task_location_group<Options extends RequestOptions>(
|
|
1924
1964
|
id: string,
|
|
1925
1965
|
options?: {
|
|
1926
1966
|
query?: GetTaskLocationGroupQuery;
|
|
1927
|
-
} &
|
|
1928
|
-
):
|
|
1967
|
+
} & Options
|
|
1968
|
+
): ResponseType<GetTaskLocationGroupResponse, Options> {
|
|
1929
1969
|
return this.request("get", `/task/location/group/${id}`, null, options);
|
|
1930
1970
|
}
|
|
1931
1971
|
|
|
@@ -1934,11 +1974,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1934
1974
|
*
|
|
1935
1975
|
* @param options - additional request options
|
|
1936
1976
|
*/
|
|
1937
|
-
get_kds_devices(
|
|
1977
|
+
get_kds_devices<Options extends RequestOptions>(
|
|
1938
1978
|
options: {
|
|
1939
1979
|
query: GetKdsDevicesQuery;
|
|
1940
|
-
} &
|
|
1941
|
-
):
|
|
1980
|
+
} & Options
|
|
1981
|
+
): ResponseType<GetKdsDevicesResponse, Options> {
|
|
1942
1982
|
return this.request("get", `/kds/devices`, null, options);
|
|
1943
1983
|
}
|
|
1944
1984
|
|
|
@@ -1948,10 +1988,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1948
1988
|
* @param body - AuthPostBody object
|
|
1949
1989
|
* @param options - additional request options
|
|
1950
1990
|
*/
|
|
1951
|
-
post_kds_device_auth(
|
|
1991
|
+
post_kds_device_auth<Options extends RequestOptions>(
|
|
1952
1992
|
body: PostKdsDeviceAuthBody,
|
|
1953
|
-
options?:
|
|
1954
|
-
):
|
|
1993
|
+
options?: Options
|
|
1994
|
+
): ResponseType<PostKdsDeviceAuthResponse, Options> {
|
|
1955
1995
|
return this.request("post", `/kds/device/auth`, body, options);
|
|
1956
1996
|
}
|
|
1957
1997
|
|
|
@@ -1961,10 +2001,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1961
2001
|
* @param device_id - serial number encoded as cdl id
|
|
1962
2002
|
* @param options - additional request options
|
|
1963
2003
|
*/
|
|
1964
|
-
delete_kds_device_auth(
|
|
2004
|
+
delete_kds_device_auth<Options extends RequestOptions>(
|
|
1965
2005
|
device_id: string,
|
|
1966
|
-
options?:
|
|
1967
|
-
):
|
|
2006
|
+
options?: Options
|
|
2007
|
+
): ResponseType<DeleteKdsDeviceAuthResponse, Options> {
|
|
1968
2008
|
return this.request("delete", `/kds/device/auth/${device_id}`, null, options);
|
|
1969
2009
|
}
|
|
1970
2010
|
|
|
@@ -1973,7 +2013,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1973
2013
|
*
|
|
1974
2014
|
* @param options - additional request options
|
|
1975
2015
|
*/
|
|
1976
|
-
get_kds_swagger
|
|
2016
|
+
get_kds_swagger<Options extends RequestOptions>(
|
|
2017
|
+
options?: Options
|
|
2018
|
+
): ResponseType<GetKdsSwaggerResponse, Options> {
|
|
1977
2019
|
return this.request("get", `/kds/swagger.json`, null, options);
|
|
1978
2020
|
}
|
|
1979
2021
|
|
|
@@ -1984,11 +2026,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1984
2026
|
* @param body - User credentials
|
|
1985
2027
|
* @param options - additional request options
|
|
1986
2028
|
*/
|
|
1987
|
-
post_mealplan(
|
|
2029
|
+
post_mealplan<Options extends RequestOptions>(
|
|
1988
2030
|
id: string,
|
|
1989
2031
|
body: PostMealplanBody,
|
|
1990
|
-
options?:
|
|
1991
|
-
):
|
|
2032
|
+
options?: Options
|
|
2033
|
+
): ResponseType<PostMealplanResponse, Options> {
|
|
1992
2034
|
return this.request("post", `/mealplan/${id}`, body, options);
|
|
1993
2035
|
}
|
|
1994
2036
|
|
|
@@ -1999,11 +2041,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1999
2041
|
* @param body
|
|
2000
2042
|
* @param options - additional request options
|
|
2001
2043
|
*/
|
|
2002
|
-
put_mealplan(
|
|
2044
|
+
put_mealplan<Options extends RequestOptions>(
|
|
2003
2045
|
id: string,
|
|
2004
2046
|
body: PutMealplanBody,
|
|
2005
|
-
options?:
|
|
2006
|
-
):
|
|
2047
|
+
options?: Options
|
|
2048
|
+
): ResponseType<PutMealplanResponse, Options> {
|
|
2007
2049
|
return this.request("put", `/mealplan/${id}`, body, options);
|
|
2008
2050
|
}
|
|
2009
2051
|
|
|
@@ -2013,7 +2055,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2013
2055
|
* @param id - Meal plan ID
|
|
2014
2056
|
* @param options - additional request options
|
|
2015
2057
|
*/
|
|
2016
|
-
get_mealplan
|
|
2058
|
+
get_mealplan<Options extends RequestOptions>(
|
|
2059
|
+
id: string,
|
|
2060
|
+
options?: Options
|
|
2061
|
+
): ResponseType<GetMealplanResponse, Options> {
|
|
2017
2062
|
return this.request("get", `/mealplan/${id}`, null, options);
|
|
2018
2063
|
}
|
|
2019
2064
|
|
|
@@ -2024,11 +2069,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2024
2069
|
* @param body - Tenders to be deleted. If not passed, it will delete all the tenders for this user
|
|
2025
2070
|
* @param options - additional request options
|
|
2026
2071
|
*/
|
|
2027
|
-
delete_mealplan(
|
|
2072
|
+
delete_mealplan<Options extends RequestOptions>(
|
|
2028
2073
|
id: string,
|
|
2029
2074
|
body: DeleteMealplanBody,
|
|
2030
|
-
options?:
|
|
2031
|
-
):
|
|
2075
|
+
options?: Options
|
|
2076
|
+
): ResponseType<DeleteMealplanResponse, Options> {
|
|
2032
2077
|
return this.request("delete", `/mealplan/${id}`, body, options);
|
|
2033
2078
|
}
|
|
2034
2079
|
|
|
@@ -2038,10 +2083,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2038
2083
|
* @param id - Meal plan ID
|
|
2039
2084
|
* @param options - additional request options
|
|
2040
2085
|
*/
|
|
2041
|
-
post_mealplan_callback(
|
|
2086
|
+
post_mealplan_callback<Options extends RequestOptions>(
|
|
2042
2087
|
id: string,
|
|
2043
|
-
options?:
|
|
2044
|
-
):
|
|
2088
|
+
options?: Options
|
|
2089
|
+
): ResponseType<PostMealplanCallbackResponse, Options> {
|
|
2045
2090
|
return this.request("post", `/mealplan/${id}/callback`, null, options);
|
|
2046
2091
|
}
|
|
2047
2092
|
|
|
@@ -2052,11 +2097,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2052
2097
|
* @param tender - Tender ID
|
|
2053
2098
|
* @param options - additional request options
|
|
2054
2099
|
*/
|
|
2055
|
-
get_mealplan_tender(
|
|
2100
|
+
get_mealplan_tender<Options extends RequestOptions>(
|
|
2056
2101
|
id: string,
|
|
2057
2102
|
tender: string,
|
|
2058
|
-
options?:
|
|
2059
|
-
):
|
|
2103
|
+
options?: Options
|
|
2104
|
+
): ResponseType<GetMealplanTenderResponse, Options> {
|
|
2060
2105
|
return this.request("get", `/mealplan/${id}/tender/${tender}`, null, options);
|
|
2061
2106
|
}
|
|
2062
2107
|
|
|
@@ -2067,11 +2112,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2067
2112
|
* @param tender - Tender ID
|
|
2068
2113
|
* @param options - additional request options
|
|
2069
2114
|
*/
|
|
2070
|
-
delete_mealplan_tender(
|
|
2115
|
+
delete_mealplan_tender<Options extends RequestOptions>(
|
|
2071
2116
|
id: string,
|
|
2072
2117
|
tender: string,
|
|
2073
|
-
options?:
|
|
2074
|
-
):
|
|
2118
|
+
options?: Options
|
|
2119
|
+
): ResponseType<DeleteMealplanTenderResponse, Options> {
|
|
2075
2120
|
return this.request("delete", `/mealplan/${id}/tender/${tender}`, null, options);
|
|
2076
2121
|
}
|
|
2077
2122
|
|
|
@@ -2083,12 +2128,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2083
2128
|
* @param body
|
|
2084
2129
|
* @param options - additional request options
|
|
2085
2130
|
*/
|
|
2086
|
-
patch_mealplan_tender(
|
|
2131
|
+
patch_mealplan_tender<Options extends RequestOptions>(
|
|
2087
2132
|
id: string,
|
|
2088
2133
|
tender: string,
|
|
2089
2134
|
body: PatchMealplanTenderBody,
|
|
2090
|
-
options?:
|
|
2091
|
-
):
|
|
2135
|
+
options?: Options
|
|
2136
|
+
): ResponseType<PatchMealplanTenderResponse, Options> {
|
|
2092
2137
|
return this.request("patch", `/mealplan/${id}/tender/${tender}`, body, options);
|
|
2093
2138
|
}
|
|
2094
2139
|
|
|
@@ -2099,13 +2144,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2099
2144
|
* @param body - Verification Email Parameters
|
|
2100
2145
|
* @param options - additional request options
|
|
2101
2146
|
*/
|
|
2102
|
-
post_mealplan_verify(
|
|
2147
|
+
post_mealplan_verify<Options extends RequestOptions>(
|
|
2103
2148
|
id: string,
|
|
2104
2149
|
body: PostMealplanVerifyBody,
|
|
2105
2150
|
options?: {
|
|
2106
2151
|
query?: PostMealplanVerifyQuery;
|
|
2107
|
-
} &
|
|
2108
|
-
):
|
|
2152
|
+
} & Options
|
|
2153
|
+
): ResponseType<PostMealplanVerifyResponse, Options> {
|
|
2109
2154
|
return this.request("post", `/mealplan/${id}/verify`, body, options);
|
|
2110
2155
|
}
|
|
2111
2156
|
|
|
@@ -2116,11 +2161,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2116
2161
|
* @param body - Verify Email Parameters
|
|
2117
2162
|
* @param options - additional request options
|
|
2118
2163
|
*/
|
|
2119
|
-
put_mealplan_verify(
|
|
2164
|
+
put_mealplan_verify<Options extends RequestOptions>(
|
|
2120
2165
|
id: string,
|
|
2121
2166
|
body: PutMealplanVerifyBody,
|
|
2122
|
-
options?:
|
|
2123
|
-
):
|
|
2167
|
+
options?: Options
|
|
2168
|
+
): ResponseType<PutMealplanVerifyResponse, Options> {
|
|
2124
2169
|
return this.request("put", `/mealplan/${id}/verify`, body, options);
|
|
2125
2170
|
}
|
|
2126
2171
|
|
|
@@ -2131,11 +2176,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2131
2176
|
* @param body
|
|
2132
2177
|
* @param options - additional request options
|
|
2133
2178
|
*/
|
|
2134
|
-
post_mealplan_authorize(
|
|
2179
|
+
post_mealplan_authorize<Options extends RequestOptions>(
|
|
2135
2180
|
id: string,
|
|
2136
2181
|
body: PostMealplanAuthorizeBody,
|
|
2137
|
-
options?:
|
|
2138
|
-
):
|
|
2182
|
+
options?: Options
|
|
2183
|
+
): ResponseType<PostMealplanAuthorizeResponse, Options> {
|
|
2139
2184
|
return this.request("post", `/mealplan/${id}/authorize`, body, options);
|
|
2140
2185
|
}
|
|
2141
2186
|
|
|
@@ -2145,10 +2190,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2145
2190
|
* @param body
|
|
2146
2191
|
* @param options - additional request options
|
|
2147
2192
|
*/
|
|
2148
|
-
post_datalake_sql(
|
|
2193
|
+
post_datalake_sql<Options extends RequestOptions>(
|
|
2149
2194
|
body: PostDatalakeSqlBody,
|
|
2150
|
-
options?:
|
|
2151
|
-
):
|
|
2195
|
+
options?: Options
|
|
2196
|
+
): ResponseType<PostDatalakeSqlResponse, Options> {
|
|
2152
2197
|
return this.request("post", `/datalake/sql`, body, options);
|
|
2153
2198
|
}
|
|
2154
2199
|
|
|
@@ -2157,7 +2202,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2157
2202
|
*
|
|
2158
2203
|
* @param options - additional request options
|
|
2159
2204
|
*/
|
|
2160
|
-
get_swagger
|
|
2205
|
+
get_swagger<Options extends RequestOptions>(
|
|
2206
|
+
options?: Options
|
|
2207
|
+
): ResponseType<GetSwaggerResponse, Options> {
|
|
2161
2208
|
return this.request("get", `/swagger.json`, null, options);
|
|
2162
2209
|
}
|
|
2163
2210
|
|
|
@@ -2167,7 +2214,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2167
2214
|
* @param body
|
|
2168
2215
|
* @param options - additional request options
|
|
2169
2216
|
*/
|
|
2170
|
-
post_promo
|
|
2217
|
+
post_promo<Options extends RequestOptions>(
|
|
2218
|
+
body: PostPromoBody,
|
|
2219
|
+
options?: Options
|
|
2220
|
+
): ResponseType<PostPromoResponse, Options> {
|
|
2171
2221
|
return this.request("post", `/promo`, body, options);
|
|
2172
2222
|
}
|
|
2173
2223
|
|
|
@@ -2176,11 +2226,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2176
2226
|
*
|
|
2177
2227
|
* @param options - additional request options
|
|
2178
2228
|
*/
|
|
2179
|
-
get_promos(
|
|
2229
|
+
get_promos<Options extends RequestOptions>(
|
|
2180
2230
|
options?: {
|
|
2181
2231
|
query?: GetPromosQuery;
|
|
2182
|
-
} &
|
|
2183
|
-
):
|
|
2232
|
+
} & Options
|
|
2233
|
+
): ResponseType<GetPromosResponse, Options> {
|
|
2184
2234
|
return this.request("get", `/promo`, null, options);
|
|
2185
2235
|
}
|
|
2186
2236
|
|
|
@@ -2190,12 +2240,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2190
2240
|
* @param id - promo
|
|
2191
2241
|
* @param options - additional request options
|
|
2192
2242
|
*/
|
|
2193
|
-
get_promo(
|
|
2243
|
+
get_promo<Options extends RequestOptions>(
|
|
2194
2244
|
id: string,
|
|
2195
2245
|
options?: {
|
|
2196
2246
|
query?: GetPromoQuery;
|
|
2197
|
-
} &
|
|
2198
|
-
):
|
|
2247
|
+
} & Options
|
|
2248
|
+
): ResponseType<GetPromoResponse, Options> {
|
|
2199
2249
|
return this.request("get", `/promo/${id}`, null, options);
|
|
2200
2250
|
}
|
|
2201
2251
|
|
|
@@ -2206,7 +2256,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2206
2256
|
* @param body
|
|
2207
2257
|
* @param options - additional request options
|
|
2208
2258
|
*/
|
|
2209
|
-
put_promo
|
|
2259
|
+
put_promo<Options extends RequestOptions>(
|
|
2260
|
+
id: string,
|
|
2261
|
+
body: PutPromoBody,
|
|
2262
|
+
options?: Options
|
|
2263
|
+
): ResponseType<PutPromoResponse, Options> {
|
|
2210
2264
|
return this.request("put", `/promo/${id}`, body, options);
|
|
2211
2265
|
}
|
|
2212
2266
|
|
|
@@ -2216,7 +2270,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2216
2270
|
* @param id - Id of a promotion
|
|
2217
2271
|
* @param options - additional request options
|
|
2218
2272
|
*/
|
|
2219
|
-
delete_promo
|
|
2273
|
+
delete_promo<Options extends RequestOptions>(
|
|
2274
|
+
id: string,
|
|
2275
|
+
options?: Options
|
|
2276
|
+
): ResponseType<DeletePromoResponse, Options> {
|
|
2220
2277
|
return this.request("delete", `/promo/${id}`, null, options);
|
|
2221
2278
|
}
|
|
2222
2279
|
|
|
@@ -2227,13 +2284,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2227
2284
|
* @param location_group - Show promotions for selected location group
|
|
2228
2285
|
* @param options - additional request options
|
|
2229
2286
|
*/
|
|
2230
|
-
get_promo_company_location_group(
|
|
2287
|
+
get_promo_company_location_group<Options extends RequestOptions>(
|
|
2231
2288
|
company: string,
|
|
2232
2289
|
location_group: string,
|
|
2233
2290
|
options?: {
|
|
2234
2291
|
query?: GetPromoCompanyLocationGroupQuery;
|
|
2235
|
-
} &
|
|
2236
|
-
):
|
|
2292
|
+
} & Options
|
|
2293
|
+
): ResponseType<GetPromoCompanyLocationGroupResponse, Options> {
|
|
2237
2294
|
return this.request(
|
|
2238
2295
|
"get",
|
|
2239
2296
|
`/promo/company/${company}/location/group/${location_group}`,
|
|
@@ -2248,10 +2305,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2248
2305
|
* @param body
|
|
2249
2306
|
* @param options - additional request options
|
|
2250
2307
|
*/
|
|
2251
|
-
post_promo_validate_voucher(
|
|
2308
|
+
post_promo_validate_voucher<Options extends RequestOptions>(
|
|
2252
2309
|
body: PostPromoValidateVoucherBody,
|
|
2253
|
-
options?:
|
|
2254
|
-
):
|
|
2310
|
+
options?: Options
|
|
2311
|
+
): ResponseType<PostPromoValidateVoucherResponse, Options> {
|
|
2255
2312
|
return this.request("post", `/promo/validate/voucher`, body, options);
|
|
2256
2313
|
}
|
|
2257
2314
|
|
|
@@ -2261,10 +2318,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2261
2318
|
* @param body
|
|
2262
2319
|
* @param options - additional request options
|
|
2263
2320
|
*/
|
|
2264
|
-
post_promo_redeem_voucher(
|
|
2321
|
+
post_promo_redeem_voucher<Options extends RequestOptions>(
|
|
2265
2322
|
body: PostPromoRedeemVoucherBody,
|
|
2266
|
-
options?:
|
|
2267
|
-
):
|
|
2323
|
+
options?: Options
|
|
2324
|
+
): ResponseType<PostPromoRedeemVoucherResponse, Options> {
|
|
2268
2325
|
return this.request("post", `/promo/redeem/voucher`, body, options);
|
|
2269
2326
|
}
|
|
2270
2327
|
|
|
@@ -2274,10 +2331,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2274
2331
|
* @param body
|
|
2275
2332
|
* @param options - additional request options
|
|
2276
2333
|
*/
|
|
2277
|
-
post_promo_voucher(
|
|
2334
|
+
post_promo_voucher<Options extends RequestOptions>(
|
|
2278
2335
|
body: PostPromoVoucherBody,
|
|
2279
|
-
options?:
|
|
2280
|
-
):
|
|
2336
|
+
options?: Options
|
|
2337
|
+
): ResponseType<PostPromoVoucherResponse, Options> {
|
|
2281
2338
|
return this.request("post", `/promo/voucher`, body, options);
|
|
2282
2339
|
}
|
|
2283
2340
|
|
|
@@ -2288,11 +2345,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2288
2345
|
* @param body
|
|
2289
2346
|
* @param options - additional request options
|
|
2290
2347
|
*/
|
|
2291
|
-
put_promo_voucher(
|
|
2348
|
+
put_promo_voucher<Options extends RequestOptions>(
|
|
2292
2349
|
id: string,
|
|
2293
2350
|
body: PutPromoVoucherBody,
|
|
2294
|
-
options?:
|
|
2295
|
-
):
|
|
2351
|
+
options?: Options
|
|
2352
|
+
): ResponseType<PutPromoVoucherResponse, Options> {
|
|
2296
2353
|
return this.request("put", `/promo/voucher/${id}`, body, options);
|
|
2297
2354
|
}
|
|
2298
2355
|
|
|
@@ -2302,12 +2359,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2302
2359
|
* @param id - TODO: add parameter to swagger.json
|
|
2303
2360
|
* @param options - additional request options
|
|
2304
2361
|
*/
|
|
2305
|
-
delete_promo_voucher(
|
|
2362
|
+
delete_promo_voucher<Options extends RequestOptions>(
|
|
2306
2363
|
id: string,
|
|
2307
2364
|
options?: {
|
|
2308
2365
|
query?: DeletePromoVoucherQuery;
|
|
2309
|
-
} &
|
|
2310
|
-
):
|
|
2366
|
+
} & Options
|
|
2367
|
+
): ResponseType<DeletePromoVoucherResponse, Options> {
|
|
2311
2368
|
return this.request("delete", `/promo/voucher/${id}`, null, options);
|
|
2312
2369
|
}
|
|
2313
2370
|
|
|
@@ -2317,10 +2374,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2317
2374
|
* @param body
|
|
2318
2375
|
* @param options - additional request options
|
|
2319
2376
|
*/
|
|
2320
|
-
post_promo_customer(
|
|
2377
|
+
post_promo_customer<Options extends RequestOptions>(
|
|
2321
2378
|
body: PostPromoCustomerBody,
|
|
2322
|
-
options?:
|
|
2323
|
-
):
|
|
2379
|
+
options?: Options
|
|
2380
|
+
): ResponseType<PostPromoCustomerResponse, Options> {
|
|
2324
2381
|
return this.request("post", `/promo/customer/`, body, options);
|
|
2325
2382
|
}
|
|
2326
2383
|
|
|
@@ -2330,10 +2387,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2330
2387
|
* @param body
|
|
2331
2388
|
* @param options - additional request options
|
|
2332
2389
|
*/
|
|
2333
|
-
delete_promo_customer(
|
|
2390
|
+
delete_promo_customer<Options extends RequestOptions>(
|
|
2334
2391
|
body: DeletePromoCustomerBody,
|
|
2335
|
-
options?:
|
|
2336
|
-
):
|
|
2392
|
+
options?: Options
|
|
2393
|
+
): ResponseType<DeletePromoCustomerResponse, Options> {
|
|
2337
2394
|
return this.request("delete", `/promo/customer/`, body, options);
|
|
2338
2395
|
}
|
|
2339
2396
|
|
|
@@ -2344,11 +2401,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2344
2401
|
* @param body
|
|
2345
2402
|
* @param options - additional request options
|
|
2346
2403
|
*/
|
|
2347
|
-
post_promo_voucher_reverse(
|
|
2404
|
+
post_promo_voucher_reverse<Options extends RequestOptions>(
|
|
2348
2405
|
id: string,
|
|
2349
2406
|
body: PostPromoVoucherReverseBody,
|
|
2350
|
-
options?:
|
|
2351
|
-
):
|
|
2407
|
+
options?: Options
|
|
2408
|
+
): ResponseType<PostPromoVoucherReverseResponse, Options> {
|
|
2352
2409
|
return this.request("post", `/promo/voucher/${id}/reverse`, body, options);
|
|
2353
2410
|
}
|
|
2354
2411
|
|
|
@@ -2358,10 +2415,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2358
2415
|
* @param body
|
|
2359
2416
|
* @param options - additional request options
|
|
2360
2417
|
*/
|
|
2361
|
-
post_promo_voucherify_activity_execute(
|
|
2418
|
+
post_promo_voucherify_activity_execute<Options extends RequestOptions>(
|
|
2362
2419
|
body: PostPromoVoucherifyActivityExecuteBody,
|
|
2363
|
-
options?:
|
|
2364
|
-
):
|
|
2420
|
+
options?: Options
|
|
2421
|
+
): ResponseType<PostPromoVoucherifyActivityExecuteResponse, Options> {
|
|
2365
2422
|
return this.request("post", `/promo/voucherify/activity/execute`, body, options);
|
|
2366
2423
|
}
|
|
2367
2424
|
|
|
@@ -2370,9 +2427,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2370
2427
|
*
|
|
2371
2428
|
* @param options - additional request options
|
|
2372
2429
|
*/
|
|
2373
|
-
get_promo_voucherify_activity_config(
|
|
2374
|
-
options?:
|
|
2375
|
-
):
|
|
2430
|
+
get_promo_voucherify_activity_config<Options extends RequestOptions>(
|
|
2431
|
+
options?: Options
|
|
2432
|
+
): ResponseType<GetPromoVoucherifyActivityConfigResponse, Options> {
|
|
2376
2433
|
return this.request("get", `/promo/voucherify/activity/config.json`, null, options);
|
|
2377
2434
|
}
|
|
2378
2435
|
|
|
@@ -2381,7 +2438,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2381
2438
|
*
|
|
2382
2439
|
* @param options - additional request options
|
|
2383
2440
|
*/
|
|
2384
|
-
post_dh_sql
|
|
2441
|
+
post_dh_sql<Options extends RequestOptions>(
|
|
2442
|
+
options?: Options
|
|
2443
|
+
): ResponseType<PostDhSqlResponse, Options> {
|
|
2385
2444
|
return this.request("post", `/dh/sql`, null, options);
|
|
2386
2445
|
}
|
|
2387
2446
|
|
|
@@ -2391,7 +2450,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2391
2450
|
* @param key - configuration key
|
|
2392
2451
|
* @param options - additional request options
|
|
2393
2452
|
*/
|
|
2394
|
-
get_config
|
|
2453
|
+
get_config<Options extends RequestOptions>(
|
|
2454
|
+
key: string,
|
|
2455
|
+
options?: Options
|
|
2456
|
+
): ResponseType<GetConfigResponse, Options> {
|
|
2395
2457
|
return this.request("get", `/config/${key}`, null, options);
|
|
2396
2458
|
}
|
|
2397
2459
|
|
|
@@ -2402,11 +2464,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2402
2464
|
* @param body
|
|
2403
2465
|
* @param options - additional request options
|
|
2404
2466
|
*/
|
|
2405
|
-
post_config(
|
|
2467
|
+
post_config<Options extends RequestOptions>(
|
|
2406
2468
|
key: string,
|
|
2407
2469
|
body: PostConfigBody,
|
|
2408
|
-
options?:
|
|
2409
|
-
):
|
|
2470
|
+
options?: Options
|
|
2471
|
+
): ResponseType<PostConfigResponse, Options> {
|
|
2410
2472
|
return this.request("post", `/config/${key}`, body, options);
|
|
2411
2473
|
}
|
|
2412
2474
|
|
|
@@ -2417,11 +2479,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2417
2479
|
* @param body
|
|
2418
2480
|
* @param options - additional request options
|
|
2419
2481
|
*/
|
|
2420
|
-
put_config(
|
|
2482
|
+
put_config<Options extends RequestOptions>(
|
|
2421
2483
|
key: string,
|
|
2422
2484
|
body: PutConfigBody,
|
|
2423
|
-
options?:
|
|
2424
|
-
):
|
|
2485
|
+
options?: Options
|
|
2486
|
+
): ResponseType<PutConfigResponse, Options> {
|
|
2425
2487
|
return this.request("put", `/config/${key}`, body, options);
|
|
2426
2488
|
}
|
|
2427
2489
|
|
|
@@ -2431,7 +2493,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2431
2493
|
* @param key - configuration key
|
|
2432
2494
|
* @param options - additional request options
|
|
2433
2495
|
*/
|
|
2434
|
-
delete_config
|
|
2496
|
+
delete_config<Options extends RequestOptions>(
|
|
2497
|
+
key: string,
|
|
2498
|
+
options?: Options
|
|
2499
|
+
): ResponseType<DeleteConfigResponse, Options> {
|
|
2435
2500
|
return this.request("delete", `/config/${key}`, null, options);
|
|
2436
2501
|
}
|
|
2437
2502
|
|
|
@@ -2441,7 +2506,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2441
2506
|
* @param key - configuration key
|
|
2442
2507
|
* @param options - additional request options
|
|
2443
2508
|
*/
|
|
2444
|
-
get_config_public
|
|
2509
|
+
get_config_public<Options extends RequestOptions>(
|
|
2510
|
+
key: string,
|
|
2511
|
+
options?: Options
|
|
2512
|
+
): ResponseType<GetConfigPublicResponse, Options> {
|
|
2445
2513
|
return this.request("get", `/config/public/${key}`, null, options);
|
|
2446
2514
|
}
|
|
2447
2515
|
|
|
@@ -2452,11 +2520,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2452
2520
|
* @param body
|
|
2453
2521
|
* @param options - additional request options
|
|
2454
2522
|
*/
|
|
2455
|
-
post_config_public(
|
|
2523
|
+
post_config_public<Options extends RequestOptions>(
|
|
2456
2524
|
key: string,
|
|
2457
2525
|
body: PostConfigPublicBody,
|
|
2458
|
-
options?:
|
|
2459
|
-
):
|
|
2526
|
+
options?: Options
|
|
2527
|
+
): ResponseType<PostConfigPublicResponse, Options> {
|
|
2460
2528
|
return this.request("post", `/config/public/${key}`, body, options);
|
|
2461
2529
|
}
|
|
2462
2530
|
|
|
@@ -2467,11 +2535,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2467
2535
|
* @param body
|
|
2468
2536
|
* @param options - additional request options
|
|
2469
2537
|
*/
|
|
2470
|
-
put_config_public(
|
|
2538
|
+
put_config_public<Options extends RequestOptions>(
|
|
2471
2539
|
key: string,
|
|
2472
2540
|
body: PutConfigPublicBody,
|
|
2473
|
-
options?:
|
|
2474
|
-
):
|
|
2541
|
+
options?: Options
|
|
2542
|
+
): ResponseType<PutConfigPublicResponse, Options> {
|
|
2475
2543
|
return this.request("put", `/config/public/${key}`, body, options);
|
|
2476
2544
|
}
|
|
2477
2545
|
|
|
@@ -2481,7 +2549,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2481
2549
|
* @param key - configuration key
|
|
2482
2550
|
* @param options - additional request options
|
|
2483
2551
|
*/
|
|
2484
|
-
delete_config_public
|
|
2552
|
+
delete_config_public<Options extends RequestOptions>(
|
|
2553
|
+
key: string,
|
|
2554
|
+
options?: Options
|
|
2555
|
+
): ResponseType<DeleteConfigPublicResponse, Options> {
|
|
2485
2556
|
return this.request("delete", `/config/public/${key}`, null, options);
|
|
2486
2557
|
}
|
|
2487
2558
|
|
|
@@ -2491,10 +2562,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2491
2562
|
* @param body - Announcement
|
|
2492
2563
|
* @param options - additional request options
|
|
2493
2564
|
*/
|
|
2494
|
-
post_announcement(
|
|
2565
|
+
post_announcement<Options extends RequestOptions>(
|
|
2495
2566
|
body: PostAnnouncementBody,
|
|
2496
|
-
options?:
|
|
2497
|
-
):
|
|
2567
|
+
options?: Options
|
|
2568
|
+
): ResponseType<PostAnnouncementResponse, Options> {
|
|
2498
2569
|
return this.request("post", `/announcement`, body, options);
|
|
2499
2570
|
}
|
|
2500
2571
|
|
|
@@ -2504,12 +2575,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2504
2575
|
* @param id - Id of the entity to which announcement is specifically related.; TODO: mark parameter as required in swagger
|
|
2505
2576
|
* @param options - additional request options
|
|
2506
2577
|
*/
|
|
2507
|
-
get_announcement_resource(
|
|
2578
|
+
get_announcement_resource<Options extends RequestOptions>(
|
|
2508
2579
|
id: string,
|
|
2509
2580
|
options?: {
|
|
2510
2581
|
query?: GetAnnouncementResourceQuery;
|
|
2511
|
-
} &
|
|
2512
|
-
):
|
|
2582
|
+
} & Options
|
|
2583
|
+
): ResponseType<GetAnnouncementResourceResponse, Options> {
|
|
2513
2584
|
return this.request("get", `/announcement/resource/${id}`, null, options);
|
|
2514
2585
|
}
|
|
2515
2586
|
|
|
@@ -2518,11 +2589,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2518
2589
|
*
|
|
2519
2590
|
* @param options - additional request options
|
|
2520
2591
|
*/
|
|
2521
|
-
get_announcement_resources(
|
|
2592
|
+
get_announcement_resources<Options extends RequestOptions>(
|
|
2522
2593
|
options?: {
|
|
2523
2594
|
query?: GetAnnouncementResourcesQuery;
|
|
2524
|
-
} &
|
|
2525
|
-
):
|
|
2595
|
+
} & Options
|
|
2596
|
+
): ResponseType<GetAnnouncementResourcesResponse, Options> {
|
|
2526
2597
|
return this.request("get", `/announcement/resource`, null, options);
|
|
2527
2598
|
}
|
|
2528
2599
|
|
|
@@ -2532,7 +2603,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2532
2603
|
* @param id - Id of the entity to which announcement is specifically related.
|
|
2533
2604
|
* @param options - additional request options
|
|
2534
2605
|
*/
|
|
2535
|
-
get_announcement
|
|
2606
|
+
get_announcement<Options extends RequestOptions>(
|
|
2607
|
+
id: string,
|
|
2608
|
+
options?: Options
|
|
2609
|
+
): ResponseType<GetAnnouncementResponse, Options> {
|
|
2536
2610
|
return this.request("get", `/announcement/${id}`, null, options);
|
|
2537
2611
|
}
|
|
2538
2612
|
|
|
@@ -2543,11 +2617,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2543
2617
|
* @param body - Announcement
|
|
2544
2618
|
* @param options - additional request options
|
|
2545
2619
|
*/
|
|
2546
|
-
put_announcement(
|
|
2620
|
+
put_announcement<Options extends RequestOptions>(
|
|
2547
2621
|
id: string,
|
|
2548
2622
|
body: PutAnnouncementBody,
|
|
2549
|
-
options?:
|
|
2550
|
-
):
|
|
2623
|
+
options?: Options
|
|
2624
|
+
): ResponseType<PutAnnouncementResponse, Options> {
|
|
2551
2625
|
return this.request("put", `/announcement/${id}`, body, options);
|
|
2552
2626
|
}
|
|
2553
2627
|
|
|
@@ -2557,7 +2631,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2557
2631
|
* @param id - Id of the announcement
|
|
2558
2632
|
* @param options - additional request options
|
|
2559
2633
|
*/
|
|
2560
|
-
delete_announcement
|
|
2634
|
+
delete_announcement<Options extends RequestOptions>(
|
|
2635
|
+
id: string,
|
|
2636
|
+
options?: Options
|
|
2637
|
+
): ResponseType<DeleteAnnouncementResponse, Options> {
|
|
2561
2638
|
return this.request("delete", `/announcement/${id}`, null, options);
|
|
2562
2639
|
}
|
|
2563
2640
|
|
|
@@ -2568,13 +2645,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2568
2645
|
* @param report_type
|
|
2569
2646
|
* @param options - additional request options
|
|
2570
2647
|
*/
|
|
2571
|
-
get_report_analytics_group(
|
|
2648
|
+
get_report_analytics_group<Options extends RequestOptions>(
|
|
2572
2649
|
location_group: string,
|
|
2573
2650
|
report_type: string,
|
|
2574
2651
|
options: {
|
|
2575
2652
|
query: GetReportAnalyticsGroupQuery;
|
|
2576
|
-
} &
|
|
2577
|
-
):
|
|
2653
|
+
} & Options
|
|
2654
|
+
): ResponseType<GetReportAnalyticsGroupResponse, Options> {
|
|
2578
2655
|
return this.request(
|
|
2579
2656
|
"get",
|
|
2580
2657
|
`/report/analytics/group/${location_group}/${report_type}`,
|
|
@@ -2589,12 +2666,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2589
2666
|
* @param location_group
|
|
2590
2667
|
* @param options - additional request options
|
|
2591
2668
|
*/
|
|
2592
|
-
get_report_analytics_combined_group(
|
|
2669
|
+
get_report_analytics_combined_group<Options extends RequestOptions>(
|
|
2593
2670
|
location_group: string,
|
|
2594
2671
|
options: {
|
|
2595
2672
|
query: GetReportAnalyticsCombinedGroupQuery;
|
|
2596
|
-
} &
|
|
2597
|
-
):
|
|
2673
|
+
} & Options
|
|
2674
|
+
): ResponseType<GetReportAnalyticsCombinedGroupResponse, Options> {
|
|
2598
2675
|
return this.request("get", `/report/analytics/combined/group/${location_group}`, null, options);
|
|
2599
2676
|
}
|
|
2600
2677
|
|
|
@@ -2603,11 +2680,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2603
2680
|
*
|
|
2604
2681
|
* @param options - additional request options
|
|
2605
2682
|
*/
|
|
2606
|
-
get_report_analytics_exactmobile_totals(
|
|
2683
|
+
get_report_analytics_exactmobile_totals<Options extends RequestOptions>(
|
|
2607
2684
|
options: {
|
|
2608
2685
|
query: GetReportAnalyticsExactmobileTotalsQuery;
|
|
2609
|
-
} &
|
|
2610
|
-
):
|
|
2686
|
+
} & Options
|
|
2687
|
+
): ResponseType<GetReportAnalyticsExactmobileTotalsResponse, Options> {
|
|
2611
2688
|
return this.request("get", `/report/analytics/exactmobile/totals`, null, options);
|
|
2612
2689
|
}
|
|
2613
2690
|
|
|
@@ -2616,11 +2693,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2616
2693
|
*
|
|
2617
2694
|
* @param options - additional request options
|
|
2618
2695
|
*/
|
|
2619
|
-
get_report_analytics_exactmobile_transactions(
|
|
2696
|
+
get_report_analytics_exactmobile_transactions<Options extends RequestOptions>(
|
|
2620
2697
|
options: {
|
|
2621
2698
|
query: GetReportAnalyticsExactmobileTransactionsQuery;
|
|
2622
|
-
} &
|
|
2623
|
-
):
|
|
2699
|
+
} & Options
|
|
2700
|
+
): ResponseType<GetReportAnalyticsExactmobileTransactionsResponse, Options> {
|
|
2624
2701
|
return this.request("get", `/report/analytics/exactmobile/transactions`, null, options);
|
|
2625
2702
|
}
|
|
2626
2703
|
|
|
@@ -2629,11 +2706,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2629
2706
|
*
|
|
2630
2707
|
* @param options - additional request options
|
|
2631
2708
|
*/
|
|
2632
|
-
get_report_analytics_exactmobile_discrepancies(
|
|
2709
|
+
get_report_analytics_exactmobile_discrepancies<Options extends RequestOptions>(
|
|
2633
2710
|
options: {
|
|
2634
2711
|
query: GetReportAnalyticsExactmobileDiscrepanciesQuery;
|
|
2635
|
-
} &
|
|
2636
|
-
):
|
|
2712
|
+
} & Options
|
|
2713
|
+
): ResponseType<GetReportAnalyticsExactmobileDiscrepanciesResponse, Options> {
|
|
2637
2714
|
return this.request("get", `/report/analytics/exactmobile/discrepancies`, null, options);
|
|
2638
2715
|
}
|
|
2639
2716
|
|
|
@@ -2643,10 +2720,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2643
2720
|
* @param id
|
|
2644
2721
|
* @param options - additional request options
|
|
2645
2722
|
*/
|
|
2646
|
-
get_report_analytics_tracker_report(
|
|
2723
|
+
get_report_analytics_tracker_report<Options extends RequestOptions>(
|
|
2647
2724
|
id: string,
|
|
2648
|
-
options?:
|
|
2649
|
-
):
|
|
2725
|
+
options?: Options
|
|
2726
|
+
): ResponseType<GetReportAnalyticsTrackerReportResponse, Options> {
|
|
2650
2727
|
return this.request("get", `/report/analytics/tracker/report/${id}`, null, options);
|
|
2651
2728
|
}
|
|
2652
2729
|
|
|
@@ -2656,12 +2733,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2656
2733
|
* @param id
|
|
2657
2734
|
* @param options - additional request options
|
|
2658
2735
|
*/
|
|
2659
|
-
get_report_eod_group(
|
|
2736
|
+
get_report_eod_group<Options extends RequestOptions>(
|
|
2660
2737
|
id: string,
|
|
2661
2738
|
options?: {
|
|
2662
2739
|
query?: GetReportEodGroupQuery;
|
|
2663
|
-
} &
|
|
2664
|
-
):
|
|
2740
|
+
} & Options
|
|
2741
|
+
): ResponseType<GetReportEodGroupResponse, Options> {
|
|
2665
2742
|
return this.request("get", `/report/eod/group/${id}`, null, options);
|
|
2666
2743
|
}
|
|
2667
2744
|
|
|
@@ -2671,10 +2748,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2671
2748
|
* @param id
|
|
2672
2749
|
* @param options - additional request options
|
|
2673
2750
|
*/
|
|
2674
|
-
get_report_eod_group_subscribers(
|
|
2751
|
+
get_report_eod_group_subscribers<Options extends RequestOptions>(
|
|
2675
2752
|
id: string,
|
|
2676
|
-
options?:
|
|
2677
|
-
):
|
|
2753
|
+
options?: Options
|
|
2754
|
+
): ResponseType<GetReportEodGroupSubscribersResponse, Options> {
|
|
2678
2755
|
return this.request("get", `/report/eod/group/${id}/subscribers`, null, options);
|
|
2679
2756
|
}
|
|
2680
2757
|
|
|
@@ -2685,11 +2762,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2685
2762
|
* @param body
|
|
2686
2763
|
* @param options - additional request options
|
|
2687
2764
|
*/
|
|
2688
|
-
post_report_eod_group_subscribers(
|
|
2765
|
+
post_report_eod_group_subscribers<Options extends RequestOptions>(
|
|
2689
2766
|
id: string,
|
|
2690
2767
|
body: PostReportEodGroupSubscribersBody,
|
|
2691
|
-
options?:
|
|
2692
|
-
):
|
|
2768
|
+
options?: Options
|
|
2769
|
+
): ResponseType<PostReportEodGroupSubscribersResponse, Options> {
|
|
2693
2770
|
return this.request("post", `/report/eod/group/${id}/subscribers`, body, options);
|
|
2694
2771
|
}
|
|
2695
2772
|
|
|
@@ -2699,10 +2776,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2699
2776
|
* @param id
|
|
2700
2777
|
* @param options - additional request options
|
|
2701
2778
|
*/
|
|
2702
|
-
delete_report_eod_group_subscribers(
|
|
2779
|
+
delete_report_eod_group_subscribers<Options extends RequestOptions>(
|
|
2703
2780
|
id: string,
|
|
2704
|
-
options?:
|
|
2705
|
-
):
|
|
2781
|
+
options?: Options
|
|
2782
|
+
): ResponseType<DeleteReportEodGroupSubscribersResponse, Options> {
|
|
2706
2783
|
return this.request("delete", `/report/eod/group/${id}/subscribers`, null, options);
|
|
2707
2784
|
}
|
|
2708
2785
|
|
|
@@ -2713,11 +2790,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2713
2790
|
* @param body
|
|
2714
2791
|
* @param options - additional request options
|
|
2715
2792
|
*/
|
|
2716
|
-
put_report_eod_group_subscribers(
|
|
2793
|
+
put_report_eod_group_subscribers<Options extends RequestOptions>(
|
|
2717
2794
|
id: string,
|
|
2718
2795
|
body: PutReportEodGroupSubscribersBody,
|
|
2719
|
-
options?:
|
|
2720
|
-
):
|
|
2796
|
+
options?: Options
|
|
2797
|
+
): ResponseType<PutReportEodGroupSubscribersResponse, Options> {
|
|
2721
2798
|
return this.request("put", `/report/eod/group/${id}/subscribers`, body, options);
|
|
2722
2799
|
}
|
|
2723
2800
|
|
|
@@ -2726,11 +2803,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2726
2803
|
*
|
|
2727
2804
|
* @param options - additional request options
|
|
2728
2805
|
*/
|
|
2729
|
-
get_report_discrepancy_subscribers(
|
|
2806
|
+
get_report_discrepancy_subscribers<Options extends RequestOptions>(
|
|
2730
2807
|
options?: {
|
|
2731
2808
|
query?: GetReportDiscrepancySubscribersQuery;
|
|
2732
|
-
} &
|
|
2733
|
-
):
|
|
2809
|
+
} & Options
|
|
2810
|
+
): ResponseType<GetReportDiscrepancySubscribersResponse, Options> {
|
|
2734
2811
|
return this.request("get", `/report/discrepancy/subscribers`, null, options);
|
|
2735
2812
|
}
|
|
2736
2813
|
|
|
@@ -2739,11 +2816,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2739
2816
|
*
|
|
2740
2817
|
* @param options - additional request options
|
|
2741
2818
|
*/
|
|
2742
|
-
delete_report_discrepancy_subscribers(
|
|
2819
|
+
delete_report_discrepancy_subscribers<Options extends RequestOptions>(
|
|
2743
2820
|
options: {
|
|
2744
2821
|
query: DeleteReportDiscrepancySubscribersQuery;
|
|
2745
|
-
} &
|
|
2746
|
-
):
|
|
2822
|
+
} & Options
|
|
2823
|
+
): ResponseType<DeleteReportDiscrepancySubscribersResponse, Options> {
|
|
2747
2824
|
return this.request("delete", `/report/discrepancy/subscribers`, null, options);
|
|
2748
2825
|
}
|
|
2749
2826
|
|
|
@@ -2753,10 +2830,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2753
2830
|
* @param body
|
|
2754
2831
|
* @param options - additional request options
|
|
2755
2832
|
*/
|
|
2756
|
-
post_report_discrepancy_subscribers(
|
|
2833
|
+
post_report_discrepancy_subscribers<Options extends RequestOptions>(
|
|
2757
2834
|
body: PostReportDiscrepancySubscribersBody,
|
|
2758
|
-
options?:
|
|
2759
|
-
):
|
|
2835
|
+
options?: Options
|
|
2836
|
+
): ResponseType<PostReportDiscrepancySubscribersResponse, Options> {
|
|
2760
2837
|
return this.request("post", `/report/discrepancy/subscribers`, body, options);
|
|
2761
2838
|
}
|
|
2762
2839
|
|
|
@@ -2765,11 +2842,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2765
2842
|
*
|
|
2766
2843
|
* @param options - additional request options
|
|
2767
2844
|
*/
|
|
2768
|
-
get_user_auth(
|
|
2845
|
+
get_user_auth<Options extends RequestOptions>(
|
|
2769
2846
|
options?: {
|
|
2770
2847
|
query?: GetUserAuthQuery;
|
|
2771
|
-
} &
|
|
2772
|
-
):
|
|
2848
|
+
} & Options
|
|
2849
|
+
): ResponseType<GetUserAuthResponse, Options> {
|
|
2773
2850
|
return this.request("get", `/user/auth`, null, options);
|
|
2774
2851
|
}
|
|
2775
2852
|
|
|
@@ -2779,7 +2856,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2779
2856
|
* @param body
|
|
2780
2857
|
* @param options - additional request options
|
|
2781
2858
|
*/
|
|
2782
|
-
post_user_auth
|
|
2859
|
+
post_user_auth<Options extends RequestOptions>(
|
|
2860
|
+
body: PostUserAuthBody,
|
|
2861
|
+
options?: Options
|
|
2862
|
+
): ResponseType<PostUserAuthResponse, Options> {
|
|
2783
2863
|
return this.request("post", `/user/auth`, body, options);
|
|
2784
2864
|
}
|
|
2785
2865
|
|
|
@@ -2788,7 +2868,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2788
2868
|
*
|
|
2789
2869
|
* @param options - additional request options
|
|
2790
2870
|
*/
|
|
2791
|
-
get_user_zendesk
|
|
2871
|
+
get_user_zendesk<Options extends RequestOptions>(
|
|
2872
|
+
options?: Options
|
|
2873
|
+
): ResponseType<GetUserZendeskResponse, Options> {
|
|
2792
2874
|
return this.request("get", `/user/zendesk`, null, options);
|
|
2793
2875
|
}
|
|
2794
2876
|
|
|
@@ -2798,12 +2880,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2798
2880
|
* @param body - User object that needs to be created
|
|
2799
2881
|
* @param options - additional request options
|
|
2800
2882
|
*/
|
|
2801
|
-
post_user(
|
|
2883
|
+
post_user<Options extends RequestOptions>(
|
|
2802
2884
|
body: PostUserBody,
|
|
2803
2885
|
options?: {
|
|
2804
2886
|
query?: PostUserQuery;
|
|
2805
|
-
} &
|
|
2806
|
-
):
|
|
2887
|
+
} & Options
|
|
2888
|
+
): ResponseType<PostUserResponse, Options> {
|
|
2807
2889
|
return this.request("post", `/user`, body, options);
|
|
2808
2890
|
}
|
|
2809
2891
|
|
|
@@ -2813,12 +2895,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2813
2895
|
* @param id - User ID
|
|
2814
2896
|
* @param options - additional request options
|
|
2815
2897
|
*/
|
|
2816
|
-
get_user(
|
|
2898
|
+
get_user<Options extends RequestOptions>(
|
|
2817
2899
|
id: string,
|
|
2818
2900
|
options?: {
|
|
2819
2901
|
query?: GetUserQuery;
|
|
2820
|
-
} &
|
|
2821
|
-
):
|
|
2902
|
+
} & Options
|
|
2903
|
+
): ResponseType<GetUserResponse, Options> {
|
|
2822
2904
|
return this.request("get", `/user/${id}`, null, options);
|
|
2823
2905
|
}
|
|
2824
2906
|
|
|
@@ -2829,13 +2911,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2829
2911
|
* @param body - User object that needs to be updated
|
|
2830
2912
|
* @param options - additional request options
|
|
2831
2913
|
*/
|
|
2832
|
-
put_user(
|
|
2914
|
+
put_user<Options extends RequestOptions>(
|
|
2833
2915
|
id: string,
|
|
2834
2916
|
body: PutUserBody,
|
|
2835
2917
|
options?: {
|
|
2836
2918
|
query?: PutUserQuery;
|
|
2837
|
-
} &
|
|
2838
|
-
):
|
|
2919
|
+
} & Options
|
|
2920
|
+
): ResponseType<PutUserResponse, Options> {
|
|
2839
2921
|
return this.request("put", `/user/${id}`, body, options);
|
|
2840
2922
|
}
|
|
2841
2923
|
|
|
@@ -2846,13 +2928,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2846
2928
|
* @param body - User properties which should be updated
|
|
2847
2929
|
* @param options - additional request options
|
|
2848
2930
|
*/
|
|
2849
|
-
patch_user(
|
|
2931
|
+
patch_user<Options extends RequestOptions>(
|
|
2850
2932
|
id: string,
|
|
2851
2933
|
body: PatchUserBody,
|
|
2852
2934
|
options?: {
|
|
2853
2935
|
query?: PatchUserQuery;
|
|
2854
|
-
} &
|
|
2855
|
-
):
|
|
2936
|
+
} & Options
|
|
2937
|
+
): ResponseType<PatchUserResponse, Options> {
|
|
2856
2938
|
return this.request("patch", `/user/${id}`, body, options);
|
|
2857
2939
|
}
|
|
2858
2940
|
|
|
@@ -2862,12 +2944,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2862
2944
|
* @param id - User ID
|
|
2863
2945
|
* @param options - additional request options
|
|
2864
2946
|
*/
|
|
2865
|
-
delete_user(
|
|
2947
|
+
delete_user<Options extends RequestOptions>(
|
|
2866
2948
|
id: string,
|
|
2867
2949
|
options?: {
|
|
2868
2950
|
query?: DeleteUserQuery;
|
|
2869
|
-
} &
|
|
2870
|
-
):
|
|
2951
|
+
} & Options
|
|
2952
|
+
): ResponseType<DeleteUserResponse, Options> {
|
|
2871
2953
|
return this.request("delete", `/user/${id}`, null, options);
|
|
2872
2954
|
}
|
|
2873
2955
|
|
|
@@ -2877,10 +2959,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2877
2959
|
* @param body
|
|
2878
2960
|
* @param options - additional request options
|
|
2879
2961
|
*/
|
|
2880
|
-
post_user_kds_token(
|
|
2962
|
+
post_user_kds_token<Options extends RequestOptions>(
|
|
2881
2963
|
body: PostUserKdsTokenBody,
|
|
2882
|
-
options?:
|
|
2883
|
-
):
|
|
2964
|
+
options?: Options
|
|
2965
|
+
): ResponseType<PostUserKdsTokenResponse, Options> {
|
|
2884
2966
|
return this.request("post", `/user/device/auth`, body, options);
|
|
2885
2967
|
}
|
|
2886
2968
|
|
|
@@ -2889,11 +2971,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2889
2971
|
*
|
|
2890
2972
|
* @param options - additional request options
|
|
2891
2973
|
*/
|
|
2892
|
-
get_user_kds_token(
|
|
2974
|
+
get_user_kds_token<Options extends RequestOptions>(
|
|
2893
2975
|
options?: {
|
|
2894
2976
|
query?: GetUserKdsTokenQuery;
|
|
2895
|
-
} &
|
|
2896
|
-
):
|
|
2977
|
+
} & Options
|
|
2978
|
+
): ResponseType<GetUserKdsTokenResponse, Options> {
|
|
2897
2979
|
return this.request("get", `/user/device/auth`, null, options);
|
|
2898
2980
|
}
|
|
2899
2981
|
|
|
@@ -2903,10 +2985,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2903
2985
|
* @param device_id - KDS device ID
|
|
2904
2986
|
* @param options - additional request options
|
|
2905
2987
|
*/
|
|
2906
|
-
delete_user_device_auth(
|
|
2988
|
+
delete_user_device_auth<Options extends RequestOptions>(
|
|
2907
2989
|
device_id: string,
|
|
2908
|
-
options?:
|
|
2909
|
-
):
|
|
2990
|
+
options?: Options
|
|
2991
|
+
): ResponseType<DeleteUserDeviceAuthResponse, Options> {
|
|
2910
2992
|
return this.request("delete", `/user/device/auth/${device_id}`, null, options);
|
|
2911
2993
|
}
|
|
2912
2994
|
|
|
@@ -2916,10 +2998,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2916
2998
|
* @param device_id - KDS device ID
|
|
2917
2999
|
* @param options - additional request options
|
|
2918
3000
|
*/
|
|
2919
|
-
patch_user_auth_kds(
|
|
3001
|
+
patch_user_auth_kds<Options extends RequestOptions>(
|
|
2920
3002
|
device_id: string,
|
|
2921
|
-
options?:
|
|
2922
|
-
):
|
|
3003
|
+
options?: Options
|
|
3004
|
+
): ResponseType<PatchUserAuthKdsResponse, Options> {
|
|
2923
3005
|
return this.request("patch", `/user/device/auth/${device_id}`, null, options);
|
|
2924
3006
|
}
|
|
2925
3007
|
|
|
@@ -2930,11 +3012,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2930
3012
|
* @param body
|
|
2931
3013
|
* @param options - additional request options
|
|
2932
3014
|
*/
|
|
2933
|
-
post_user_change_password(
|
|
3015
|
+
post_user_change_password<Options extends RequestOptions>(
|
|
2934
3016
|
id: string,
|
|
2935
3017
|
body: PostUserChangePasswordBody,
|
|
2936
|
-
options?:
|
|
2937
|
-
):
|
|
3018
|
+
options?: Options
|
|
3019
|
+
): ResponseType<PostUserChangePasswordResponse, Options> {
|
|
2938
3020
|
return this.request("post", `/user/${id}/changepassword`, body, options);
|
|
2939
3021
|
}
|
|
2940
3022
|
|
|
@@ -2943,7 +3025,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2943
3025
|
*
|
|
2944
3026
|
* @param options - additional request options
|
|
2945
3027
|
*/
|
|
2946
|
-
delete_user_logout
|
|
3028
|
+
delete_user_logout<Options extends RequestOptions>(
|
|
3029
|
+
options?: Options
|
|
3030
|
+
): ResponseType<DeleteUserLogoutResponse, Options> {
|
|
2947
3031
|
return this.request("delete", `/user/logout`, null, options);
|
|
2948
3032
|
}
|
|
2949
3033
|
|
|
@@ -2955,12 +3039,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2955
3039
|
* @param body - Secret to be stored
|
|
2956
3040
|
* @param options - additional request options
|
|
2957
3041
|
*/
|
|
2958
|
-
post_user_add_secret(
|
|
3042
|
+
post_user_add_secret<Options extends RequestOptions>(
|
|
2959
3043
|
id: string,
|
|
2960
3044
|
key: string,
|
|
2961
3045
|
body: PostUserAddSecretBody,
|
|
2962
|
-
options?:
|
|
2963
|
-
):
|
|
3046
|
+
options?: Options
|
|
3047
|
+
): ResponseType<PostUserAddSecretResponse, Options> {
|
|
2964
3048
|
return this.request("post", `/user/${id}/secret/${key}`, body, options);
|
|
2965
3049
|
}
|
|
2966
3050
|
|
|
@@ -2971,11 +3055,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2971
3055
|
* @param key
|
|
2972
3056
|
* @param options - additional request options
|
|
2973
3057
|
*/
|
|
2974
|
-
get_user_secret(
|
|
3058
|
+
get_user_secret<Options extends RequestOptions>(
|
|
2975
3059
|
id: string,
|
|
2976
3060
|
key: string,
|
|
2977
|
-
options?:
|
|
2978
|
-
):
|
|
3061
|
+
options?: Options
|
|
3062
|
+
): ResponseType<GetUserSecretResponse, Options> {
|
|
2979
3063
|
return this.request("get", `/user/${id}/secret/${key}`, null, options);
|
|
2980
3064
|
}
|
|
2981
3065
|
|
|
@@ -2985,12 +3069,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2985
3069
|
* @param body
|
|
2986
3070
|
* @param options - additional request options
|
|
2987
3071
|
*/
|
|
2988
|
-
post_user_reset_password(
|
|
3072
|
+
post_user_reset_password<Options extends RequestOptions>(
|
|
2989
3073
|
body: PostUserResetPasswordBody,
|
|
2990
3074
|
options?: {
|
|
2991
3075
|
query?: PostUserResetPasswordQuery;
|
|
2992
|
-
} &
|
|
2993
|
-
):
|
|
3076
|
+
} & Options
|
|
3077
|
+
): ResponseType<PostUserResetPasswordResponse, Options> {
|
|
2994
3078
|
return this.request("post", `/user/forgotpassword`, body, options);
|
|
2995
3079
|
}
|
|
2996
3080
|
|
|
@@ -3001,13 +3085,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3001
3085
|
* @param body
|
|
3002
3086
|
* @param options - additional request options
|
|
3003
3087
|
*/
|
|
3004
|
-
post_user_reset_password_token(
|
|
3088
|
+
post_user_reset_password_token<Options extends RequestOptions>(
|
|
3005
3089
|
id: string,
|
|
3006
3090
|
body: PostUserResetPasswordTokenBody,
|
|
3007
3091
|
options: {
|
|
3008
3092
|
query: PostUserResetPasswordTokenQuery;
|
|
3009
|
-
} &
|
|
3010
|
-
):
|
|
3093
|
+
} & Options
|
|
3094
|
+
): ResponseType<PostUserResetPasswordTokenResponse, Options> {
|
|
3011
3095
|
return this.request("post", `/user/${id}/resetpassword`, body, options);
|
|
3012
3096
|
}
|
|
3013
3097
|
|
|
@@ -3017,12 +3101,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3017
3101
|
* @param realm - realm
|
|
3018
3102
|
* @param options - additional request options
|
|
3019
3103
|
*/
|
|
3020
|
-
get_user_realm_users(
|
|
3104
|
+
get_user_realm_users<Options extends RequestOptions>(
|
|
3021
3105
|
realm: string,
|
|
3022
3106
|
options?: {
|
|
3023
3107
|
query?: GetUserRealmUsersQuery;
|
|
3024
|
-
} &
|
|
3025
|
-
):
|
|
3108
|
+
} & Options
|
|
3109
|
+
): ResponseType<GetUserRealmUsersResponse, Options> {
|
|
3026
3110
|
return this.request("get", `/user/realm/${realm}`, null, options);
|
|
3027
3111
|
}
|
|
3028
3112
|
|
|
@@ -3032,12 +3116,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3032
3116
|
* @param id - user
|
|
3033
3117
|
* @param options - additional request options
|
|
3034
3118
|
*/
|
|
3035
|
-
get_user_permissions(
|
|
3119
|
+
get_user_permissions<Options extends RequestOptions>(
|
|
3036
3120
|
id: string,
|
|
3037
3121
|
options?: {
|
|
3038
3122
|
query?: GetUserPermissionsQuery;
|
|
3039
|
-
} &
|
|
3040
|
-
):
|
|
3123
|
+
} & Options
|
|
3124
|
+
): ResponseType<GetUserPermissionsResponse, Options> {
|
|
3041
3125
|
return this.request("get", `/user/${id}/permissions`, null, options);
|
|
3042
3126
|
}
|
|
3043
3127
|
|
|
@@ -3048,13 +3132,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3048
3132
|
* @param body
|
|
3049
3133
|
* @param options - additional request options
|
|
3050
3134
|
*/
|
|
3051
|
-
put_user_permissions(
|
|
3135
|
+
put_user_permissions<Options extends RequestOptions>(
|
|
3052
3136
|
id: string,
|
|
3053
3137
|
body: PutUserPermissionsBody,
|
|
3054
3138
|
options?: {
|
|
3055
3139
|
query?: PutUserPermissionsQuery;
|
|
3056
|
-
} &
|
|
3057
|
-
):
|
|
3140
|
+
} & Options
|
|
3141
|
+
): ResponseType<PutUserPermissionsResponse, Options> {
|
|
3058
3142
|
return this.request("put", `/user/${id}/permissions`, body, options);
|
|
3059
3143
|
}
|
|
3060
3144
|
|
|
@@ -3065,11 +3149,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3065
3149
|
* @param body
|
|
3066
3150
|
* @param options - additional request options
|
|
3067
3151
|
*/
|
|
3068
|
-
post_user_check_in(
|
|
3152
|
+
post_user_check_in<Options extends RequestOptions>(
|
|
3069
3153
|
id: string,
|
|
3070
3154
|
body: PostUserCheckInBody,
|
|
3071
|
-
options?:
|
|
3072
|
-
):
|
|
3155
|
+
options?: Options
|
|
3156
|
+
): ResponseType<PostUserCheckInResponse, Options> {
|
|
3073
3157
|
return this.request("post", `/user/${id}/checkin`, body, options);
|
|
3074
3158
|
}
|
|
3075
3159
|
|
|
@@ -3081,12 +3165,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3081
3165
|
* @param body - The updated state/date_queued of the check-in
|
|
3082
3166
|
* @param options - additional request options
|
|
3083
3167
|
*/
|
|
3084
|
-
patch_user_checkin(
|
|
3168
|
+
patch_user_checkin<Options extends RequestOptions>(
|
|
3085
3169
|
id: string,
|
|
3086
3170
|
checkin_id: string,
|
|
3087
3171
|
body: PatchUserCheckinBody,
|
|
3088
|
-
options?:
|
|
3089
|
-
):
|
|
3172
|
+
options?: Options
|
|
3173
|
+
): ResponseType<PatchUserCheckinResponse, Options> {
|
|
3090
3174
|
return this.request("patch", `/user/${id}/checkin/${checkin_id}`, body, options);
|
|
3091
3175
|
}
|
|
3092
3176
|
|
|
@@ -3095,11 +3179,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3095
3179
|
*
|
|
3096
3180
|
* @param options - additional request options
|
|
3097
3181
|
*/
|
|
3098
|
-
get_user_search_check_in(
|
|
3182
|
+
get_user_search_check_in<Options extends RequestOptions>(
|
|
3099
3183
|
options?: {
|
|
3100
3184
|
query?: GetUserSearchCheckInQuery;
|
|
3101
|
-
} &
|
|
3102
|
-
):
|
|
3185
|
+
} & Options
|
|
3186
|
+
): ResponseType<GetUserSearchCheckInResponse, Options> {
|
|
3103
3187
|
return this.request("get", `/user/checkin/search`, null, options);
|
|
3104
3188
|
}
|
|
3105
3189
|
|
|
@@ -3109,10 +3193,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3109
3193
|
* @param id - realm
|
|
3110
3194
|
* @param options - additional request options
|
|
3111
3195
|
*/
|
|
3112
|
-
post_user_send_email_verification(
|
|
3196
|
+
post_user_send_email_verification<Options extends RequestOptions>(
|
|
3113
3197
|
id: string,
|
|
3114
|
-
options?:
|
|
3115
|
-
):
|
|
3198
|
+
options?: Options
|
|
3199
|
+
): ResponseType<PostUserSendEmailVerificationResponse, Options> {
|
|
3116
3200
|
return this.request("post", `/user/${id}/verification`, null, options);
|
|
3117
3201
|
}
|
|
3118
3202
|
|
|
@@ -3123,11 +3207,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3123
3207
|
* @param body
|
|
3124
3208
|
* @param options - additional request options
|
|
3125
3209
|
*/
|
|
3126
|
-
put_user_verify_user_email(
|
|
3210
|
+
put_user_verify_user_email<Options extends RequestOptions>(
|
|
3127
3211
|
id: string,
|
|
3128
3212
|
body: PutUserVerifyUserEmailBody,
|
|
3129
|
-
options?:
|
|
3130
|
-
):
|
|
3213
|
+
options?: Options
|
|
3214
|
+
): ResponseType<PutUserVerifyUserEmailResponse, Options> {
|
|
3131
3215
|
return this.request("put", `/user/${id}/verification/confirm`, body, options);
|
|
3132
3216
|
}
|
|
3133
3217
|
|
|
@@ -3138,13 +3222,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3138
3222
|
* @param user_id - CompassDigital User id
|
|
3139
3223
|
* @param options - additional request options
|
|
3140
3224
|
*/
|
|
3141
|
-
post_loyalty_enroll(
|
|
3225
|
+
post_loyalty_enroll<Options extends RequestOptions>(
|
|
3142
3226
|
id: string,
|
|
3143
3227
|
user_id: string,
|
|
3144
3228
|
options?: {
|
|
3145
3229
|
query?: PostLoyaltyEnrollQuery;
|
|
3146
|
-
} &
|
|
3147
|
-
):
|
|
3230
|
+
} & Options
|
|
3231
|
+
): ResponseType<PostLoyaltyEnrollResponse, Options> {
|
|
3148
3232
|
return this.request("post", `/loyalty/${id}/enroll/${user_id}`, null, options);
|
|
3149
3233
|
}
|
|
3150
3234
|
|
|
@@ -3154,12 +3238,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3154
3238
|
* @param id - Loyalty Provider id
|
|
3155
3239
|
* @param options - additional request options
|
|
3156
3240
|
*/
|
|
3157
|
-
get_loyalty_points(
|
|
3241
|
+
get_loyalty_points<Options extends RequestOptions>(
|
|
3158
3242
|
id: string,
|
|
3159
3243
|
options: {
|
|
3160
3244
|
query: GetLoyaltyPointsQuery;
|
|
3161
|
-
} &
|
|
3162
|
-
):
|
|
3245
|
+
} & Options
|
|
3246
|
+
): ResponseType<GetLoyaltyPointsResponse, Options> {
|
|
3163
3247
|
return this.request("get", `/loyalty/${id}/points`, null, options);
|
|
3164
3248
|
}
|
|
3165
3249
|
|
|
@@ -3170,11 +3254,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3170
3254
|
* @param user_id - CompassDigital User id
|
|
3171
3255
|
* @param options - additional request options
|
|
3172
3256
|
*/
|
|
3173
|
-
get_loyalty_offers(
|
|
3257
|
+
get_loyalty_offers<Options extends RequestOptions>(
|
|
3174
3258
|
id: string,
|
|
3175
3259
|
user_id: string,
|
|
3176
|
-
options?:
|
|
3177
|
-
):
|
|
3260
|
+
options?: Options
|
|
3261
|
+
): ResponseType<GetLoyaltyOffersResponse, Options> {
|
|
3178
3262
|
return this.request("get", `/loyalty/${id}/offers/${user_id}`, null, options);
|
|
3179
3263
|
}
|
|
3180
3264
|
|
|
@@ -3185,11 +3269,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3185
3269
|
* @param user_id - CompassDigital User id
|
|
3186
3270
|
* @param options - additional request options
|
|
3187
3271
|
*/
|
|
3188
|
-
get_loyalty_enrollmentstatus(
|
|
3272
|
+
get_loyalty_enrollmentstatus<Options extends RequestOptions>(
|
|
3189
3273
|
id: string,
|
|
3190
3274
|
user_id: string,
|
|
3191
|
-
options?:
|
|
3192
|
-
):
|
|
3275
|
+
options?: Options
|
|
3276
|
+
): ResponseType<GetLoyaltyEnrollmentstatusResponse, Options> {
|
|
3193
3277
|
return this.request("get", `/loyalty/${id}/enrollmentstatus/${user_id}`, null, options);
|
|
3194
3278
|
}
|
|
3195
3279
|
|
|
@@ -3200,11 +3284,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3200
3284
|
* @param user_id - CompassDigital User id
|
|
3201
3285
|
* @param options - additional request options
|
|
3202
3286
|
*/
|
|
3203
|
-
get_loyalty_balance(
|
|
3287
|
+
get_loyalty_balance<Options extends RequestOptions>(
|
|
3204
3288
|
id: string,
|
|
3205
3289
|
user_id: string,
|
|
3206
|
-
options?:
|
|
3207
|
-
):
|
|
3290
|
+
options?: Options
|
|
3291
|
+
): ResponseType<GetLoyaltyBalanceResponse, Options> {
|
|
3208
3292
|
return this.request("get", `/loyalty/${id}/balance/${user_id}`, null, options);
|
|
3209
3293
|
}
|
|
3210
3294
|
|
|
@@ -3215,13 +3299,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3215
3299
|
* @param user_id - CompassDigital User id
|
|
3216
3300
|
* @param options - additional request options
|
|
3217
3301
|
*/
|
|
3218
|
-
get_loyalty_opportunities(
|
|
3302
|
+
get_loyalty_opportunities<Options extends RequestOptions>(
|
|
3219
3303
|
id: string,
|
|
3220
3304
|
user_id: string,
|
|
3221
3305
|
options?: {
|
|
3222
3306
|
query?: GetLoyaltyOpportunitiesQuery;
|
|
3223
|
-
} &
|
|
3224
|
-
):
|
|
3307
|
+
} & Options
|
|
3308
|
+
): ResponseType<GetLoyaltyOpportunitiesResponse, Options> {
|
|
3225
3309
|
return this.request("get", `/loyalty/${id}/opportunities/${user_id}`, null, options);
|
|
3226
3310
|
}
|
|
3227
3311
|
|
|
@@ -3232,13 +3316,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3232
3316
|
* @param user_id - CompassDigital User id
|
|
3233
3317
|
* @param options - additional request options
|
|
3234
3318
|
*/
|
|
3235
|
-
post_loyalty_opportunities(
|
|
3319
|
+
post_loyalty_opportunities<Options extends RequestOptions>(
|
|
3236
3320
|
id: string,
|
|
3237
3321
|
user_id: string,
|
|
3238
3322
|
options: {
|
|
3239
3323
|
query: PostLoyaltyOpportunitiesQuery;
|
|
3240
|
-
} &
|
|
3241
|
-
):
|
|
3324
|
+
} & Options
|
|
3325
|
+
): ResponseType<PostLoyaltyOpportunitiesResponse, Options> {
|
|
3242
3326
|
return this.request("post", `/loyalty/${id}/opportunities/${user_id}`, null, options);
|
|
3243
3327
|
}
|
|
3244
3328
|
|
|
@@ -3249,11 +3333,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3249
3333
|
* @param user_id - CompassDigital User id
|
|
3250
3334
|
* @param options - additional request options
|
|
3251
3335
|
*/
|
|
3252
|
-
get_loyalty_rewards(
|
|
3336
|
+
get_loyalty_rewards<Options extends RequestOptions>(
|
|
3253
3337
|
id: string,
|
|
3254
3338
|
user_id: string,
|
|
3255
|
-
options?:
|
|
3256
|
-
):
|
|
3339
|
+
options?: Options
|
|
3340
|
+
): ResponseType<GetLoyaltyRewardsResponse, Options> {
|
|
3257
3341
|
return this.request("get", `/loyalty/${id}/rewards/${user_id}`, null, options);
|
|
3258
3342
|
}
|
|
3259
3343
|
|
|
@@ -3264,11 +3348,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3264
3348
|
* @param user_id - CompassDigital User id
|
|
3265
3349
|
* @param options - additional request options
|
|
3266
3350
|
*/
|
|
3267
|
-
get_loyalty_coupons(
|
|
3351
|
+
get_loyalty_coupons<Options extends RequestOptions>(
|
|
3268
3352
|
id: string,
|
|
3269
3353
|
user_id: string,
|
|
3270
|
-
options?:
|
|
3271
|
-
):
|
|
3354
|
+
options?: Options
|
|
3355
|
+
): ResponseType<GetLoyaltyCouponsResponse, Options> {
|
|
3272
3356
|
return this.request("get", `/loyalty/${id}/coupons/${user_id}`, null, options);
|
|
3273
3357
|
}
|
|
3274
3358
|
|
|
@@ -3279,13 +3363,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3279
3363
|
* @param user_id - CompassDigital User id
|
|
3280
3364
|
* @param options - additional request options
|
|
3281
3365
|
*/
|
|
3282
|
-
get_loyalty_orderpoints(
|
|
3366
|
+
get_loyalty_orderpoints<Options extends RequestOptions>(
|
|
3283
3367
|
id: string,
|
|
3284
3368
|
user_id: string,
|
|
3285
3369
|
options: {
|
|
3286
3370
|
query: GetLoyaltyOrderpointsQuery;
|
|
3287
|
-
} &
|
|
3288
|
-
):
|
|
3371
|
+
} & Options
|
|
3372
|
+
): ResponseType<GetLoyaltyOrderpointsResponse, Options> {
|
|
3289
3373
|
return this.request("get", `/loyalty/${id}/orderpoints/${user_id}`, null, options);
|
|
3290
3374
|
}
|
|
3291
3375
|
|
|
@@ -3297,12 +3381,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3297
3381
|
* @param body
|
|
3298
3382
|
* @param options - additional request options
|
|
3299
3383
|
*/
|
|
3300
|
-
post_loyalty_orderpoints(
|
|
3384
|
+
post_loyalty_orderpoints<Options extends RequestOptions>(
|
|
3301
3385
|
id: string,
|
|
3302
3386
|
user_id: string,
|
|
3303
3387
|
body: PostLoyaltyOrderpointsBody,
|
|
3304
|
-
options?:
|
|
3305
|
-
):
|
|
3388
|
+
options?: Options
|
|
3389
|
+
): ResponseType<PostLoyaltyOrderpointsResponse, Options> {
|
|
3306
3390
|
return this.request("post", `/loyalty/${id}/orderpoints/${user_id}`, body, options);
|
|
3307
3391
|
}
|
|
3308
3392
|
|
|
@@ -3314,14 +3398,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3314
3398
|
* @param body
|
|
3315
3399
|
* @param options - additional request options
|
|
3316
3400
|
*/
|
|
3317
|
-
post_loyalty_purchase(
|
|
3401
|
+
post_loyalty_purchase<Options extends RequestOptions>(
|
|
3318
3402
|
id: string,
|
|
3319
3403
|
user_id: string,
|
|
3320
3404
|
body: PostLoyaltyPurchaseBody,
|
|
3321
3405
|
options?: {
|
|
3322
3406
|
query?: PostLoyaltyPurchaseQuery;
|
|
3323
|
-
} &
|
|
3324
|
-
):
|
|
3407
|
+
} & Options
|
|
3408
|
+
): ResponseType<PostLoyaltyPurchaseResponse, Options> {
|
|
3325
3409
|
return this.request("post", `/loyalty/${id}/purchase/${user_id}`, body, options);
|
|
3326
3410
|
}
|
|
3327
3411
|
|
|
@@ -3333,14 +3417,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3333
3417
|
* @param body
|
|
3334
3418
|
* @param options - additional request options
|
|
3335
3419
|
*/
|
|
3336
|
-
post_loyalty_buyreward(
|
|
3420
|
+
post_loyalty_buyreward<Options extends RequestOptions>(
|
|
3337
3421
|
id: string,
|
|
3338
3422
|
user_id: string,
|
|
3339
3423
|
body: PostLoyaltyBuyrewardBody,
|
|
3340
3424
|
options?: {
|
|
3341
3425
|
query?: PostLoyaltyBuyrewardQuery;
|
|
3342
|
-
} &
|
|
3343
|
-
):
|
|
3426
|
+
} & Options
|
|
3427
|
+
): ResponseType<PostLoyaltyBuyrewardResponse, Options> {
|
|
3344
3428
|
return this.request("post", `/loyalty/${id}/buyreward/${user_id}`, body, options);
|
|
3345
3429
|
}
|
|
3346
3430
|
|
|
@@ -3351,13 +3435,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3351
3435
|
* @param user_id - CompassDigital User id
|
|
3352
3436
|
* @param options - additional request options
|
|
3353
3437
|
*/
|
|
3354
|
-
get_loyalty_history(
|
|
3438
|
+
get_loyalty_history<Options extends RequestOptions>(
|
|
3355
3439
|
id: string,
|
|
3356
3440
|
user_id: string,
|
|
3357
3441
|
options?: {
|
|
3358
3442
|
query?: GetLoyaltyHistoryQuery;
|
|
3359
|
-
} &
|
|
3360
|
-
):
|
|
3443
|
+
} & Options
|
|
3444
|
+
): ResponseType<GetLoyaltyHistoryResponse, Options> {
|
|
3361
3445
|
return this.request("get", `/loyalty/${id}/history/${user_id}`, null, options);
|
|
3362
3446
|
}
|
|
3363
3447
|
|
|
@@ -3369,12 +3453,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3369
3453
|
* @param coupon_id - Coupon code to get coupon information
|
|
3370
3454
|
* @param options - additional request options
|
|
3371
3455
|
*/
|
|
3372
|
-
get_loyalty_coupon(
|
|
3456
|
+
get_loyalty_coupon<Options extends RequestOptions>(
|
|
3373
3457
|
id: string,
|
|
3374
3458
|
user_id: string,
|
|
3375
3459
|
coupon_id: string,
|
|
3376
|
-
options?:
|
|
3377
|
-
):
|
|
3460
|
+
options?: Options
|
|
3461
|
+
): ResponseType<GetLoyaltyCouponResponse, Options> {
|
|
3378
3462
|
return this.request("get", `/loyalty/${id}/coupon/${user_id}/${coupon_id}`, null, options);
|
|
3379
3463
|
}
|
|
3380
3464
|
|
|
@@ -3387,13 +3471,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3387
3471
|
* @param body
|
|
3388
3472
|
* @param options - additional request options
|
|
3389
3473
|
*/
|
|
3390
|
-
patch_loyalty_coupon(
|
|
3474
|
+
patch_loyalty_coupon<Options extends RequestOptions>(
|
|
3391
3475
|
id: string,
|
|
3392
3476
|
user_id: string,
|
|
3393
3477
|
coupon_id: string,
|
|
3394
3478
|
body: PatchLoyaltyCouponBody,
|
|
3395
|
-
options?:
|
|
3396
|
-
):
|
|
3479
|
+
options?: Options
|
|
3480
|
+
): ResponseType<PatchLoyaltyCouponResponse, Options> {
|
|
3397
3481
|
return this.request("patch", `/loyalty/${id}/coupon/${user_id}/${coupon_id}`, body, options);
|
|
3398
3482
|
}
|
|
3399
3483
|
|
|
@@ -3403,12 +3487,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3403
3487
|
* @param id - Loyalty Provider id
|
|
3404
3488
|
* @param options - additional request options
|
|
3405
3489
|
*/
|
|
3406
|
-
get_loyalty_search(
|
|
3490
|
+
get_loyalty_search<Options extends RequestOptions>(
|
|
3407
3491
|
id: string,
|
|
3408
3492
|
options: {
|
|
3409
3493
|
query: GetLoyaltySearchQuery;
|
|
3410
|
-
} &
|
|
3411
|
-
):
|
|
3494
|
+
} & Options
|
|
3495
|
+
): ResponseType<GetLoyaltySearchResponse, Options> {
|
|
3412
3496
|
return this.request("get", `/loyalty/${id}/search`, null, options);
|
|
3413
3497
|
}
|
|
3414
3498
|
|
|
@@ -3418,12 +3502,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3418
3502
|
* @param id - Loyalty Provider id
|
|
3419
3503
|
* @param options - additional request options
|
|
3420
3504
|
*/
|
|
3421
|
-
get_loyalty_users(
|
|
3505
|
+
get_loyalty_users<Options extends RequestOptions>(
|
|
3422
3506
|
id: string,
|
|
3423
3507
|
options: {
|
|
3424
3508
|
query: GetLoyaltyUsersQuery;
|
|
3425
|
-
} &
|
|
3426
|
-
):
|
|
3509
|
+
} & Options
|
|
3510
|
+
): ResponseType<GetLoyaltyUsersResponse, Options> {
|
|
3427
3511
|
return this.request("get", `/loyalty/${id}/users`, null, options);
|
|
3428
3512
|
}
|
|
3429
3513
|
|
|
@@ -3433,12 +3517,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3433
3517
|
* @param id - Loyalty Provider id
|
|
3434
3518
|
* @param options - additional request options
|
|
3435
3519
|
*/
|
|
3436
|
-
get_loyalty_events(
|
|
3520
|
+
get_loyalty_events<Options extends RequestOptions>(
|
|
3437
3521
|
id: string,
|
|
3438
3522
|
options: {
|
|
3439
3523
|
query: GetLoyaltyEventsQuery;
|
|
3440
|
-
} &
|
|
3441
|
-
):
|
|
3524
|
+
} & Options
|
|
3525
|
+
): ResponseType<GetLoyaltyEventsResponse, Options> {
|
|
3442
3526
|
return this.request("get", `/loyalty/${id}/events`, null, options);
|
|
3443
3527
|
}
|
|
3444
3528
|
|
|
@@ -3448,7 +3532,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3448
3532
|
* @param id - TODO: add parameter to swagger.json
|
|
3449
3533
|
* @param options - additional request options
|
|
3450
3534
|
*/
|
|
3451
|
-
get_brand
|
|
3535
|
+
get_brand<Options extends RequestOptions>(
|
|
3536
|
+
id: string,
|
|
3537
|
+
options?: Options
|
|
3538
|
+
): ResponseType<GetBrandResponse, Options> {
|
|
3452
3539
|
return this.request("get", `/brand/${id}`, null, options);
|
|
3453
3540
|
}
|
|
3454
3541
|
|
|
@@ -3457,7 +3544,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3457
3544
|
*
|
|
3458
3545
|
* @param options - additional request options
|
|
3459
3546
|
*/
|
|
3460
|
-
get_brands
|
|
3547
|
+
get_brands<Options extends RequestOptions>(
|
|
3548
|
+
options?: Options
|
|
3549
|
+
): ResponseType<GetBrandsResponse, Options> {
|
|
3461
3550
|
return this.request("get", `/brand`, null, options);
|
|
3462
3551
|
}
|
|
3463
3552
|
|
|
@@ -3467,7 +3556,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3467
3556
|
* @param id - brand
|
|
3468
3557
|
* @param options - additional request options
|
|
3469
3558
|
*/
|
|
3470
|
-
get_calendar
|
|
3559
|
+
get_calendar<Options extends RequestOptions>(
|
|
3560
|
+
id: string,
|
|
3561
|
+
options?: Options
|
|
3562
|
+
): ResponseType<GetCalendarResponse, Options> {
|
|
3471
3563
|
return this.request("get", `/calendar/${id}`, null, options);
|
|
3472
3564
|
}
|
|
3473
3565
|
|
|
@@ -3478,11 +3570,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3478
3570
|
* @param body
|
|
3479
3571
|
* @param options - additional request options
|
|
3480
3572
|
*/
|
|
3481
|
-
put_calendar(
|
|
3573
|
+
put_calendar<Options extends RequestOptions>(
|
|
3482
3574
|
id: string,
|
|
3483
3575
|
body: PutCalendarBody,
|
|
3484
|
-
options?:
|
|
3485
|
-
):
|
|
3576
|
+
options?: Options
|
|
3577
|
+
): ResponseType<PutCalendarResponse, Options> {
|
|
3486
3578
|
return this.request("put", `/calendar/${id}`, body, options);
|
|
3487
3579
|
}
|
|
3488
3580
|
|
|
@@ -3492,12 +3584,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3492
3584
|
* @param id - brand
|
|
3493
3585
|
* @param options - additional request options
|
|
3494
3586
|
*/
|
|
3495
|
-
get_calendar_cdl(
|
|
3587
|
+
get_calendar_cdl<Options extends RequestOptions>(
|
|
3496
3588
|
id: string,
|
|
3497
3589
|
options?: {
|
|
3498
3590
|
query?: GetCalendarCdlQuery;
|
|
3499
|
-
} &
|
|
3500
|
-
):
|
|
3591
|
+
} & Options
|
|
3592
|
+
): ResponseType<GetCalendarCdlResponse, Options> {
|
|
3501
3593
|
return this.request("get", `/calendar/${id}/cdl`, null, options);
|
|
3502
3594
|
}
|
|
3503
3595
|
|
|
@@ -3506,7 +3598,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3506
3598
|
*
|
|
3507
3599
|
* @param options - additional request options
|
|
3508
3600
|
*/
|
|
3509
|
-
get_calendar_swagger
|
|
3601
|
+
get_calendar_swagger<Options extends RequestOptions>(
|
|
3602
|
+
options?: Options
|
|
3603
|
+
): ResponseType<GetCalendarSwaggerResponse, Options> {
|
|
3510
3604
|
return this.request("get", `/calendar/swagger.json`, null, options);
|
|
3511
3605
|
}
|
|
3512
3606
|
|
|
@@ -3516,7 +3610,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3516
3610
|
* @param id - brand
|
|
3517
3611
|
* @param options - additional request options
|
|
3518
3612
|
*/
|
|
3519
|
-
post_calendar_sync
|
|
3613
|
+
post_calendar_sync<Options extends RequestOptions>(
|
|
3614
|
+
id: string,
|
|
3615
|
+
options?: Options
|
|
3616
|
+
): ResponseType<PostCalendarSyncResponse, Options> {
|
|
3520
3617
|
return this.request("post", `/calendar/${id}/sync`, null, options);
|
|
3521
3618
|
}
|
|
3522
3619
|
|
|
@@ -3526,10 +3623,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3526
3623
|
* @param body - reservation
|
|
3527
3624
|
* @param options - additional request options
|
|
3528
3625
|
*/
|
|
3529
|
-
post_delivery_order(
|
|
3626
|
+
post_delivery_order<Options extends RequestOptions>(
|
|
3530
3627
|
body: PostDeliveryOrderBody,
|
|
3531
|
-
options?:
|
|
3532
|
-
):
|
|
3628
|
+
options?: Options
|
|
3629
|
+
): ResponseType<PostDeliveryOrderResponse, Options> {
|
|
3533
3630
|
return this.request("post", `/delivery/order`, body, options);
|
|
3534
3631
|
}
|
|
3535
3632
|
|
|
@@ -3539,10 +3636,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3539
3636
|
* @param order_id - TODO: add parameter to swagger.json
|
|
3540
3637
|
* @param options - additional request options
|
|
3541
3638
|
*/
|
|
3542
|
-
patch_delivery_order(
|
|
3639
|
+
patch_delivery_order<Options extends RequestOptions>(
|
|
3543
3640
|
order_id: string,
|
|
3544
|
-
options?:
|
|
3545
|
-
):
|
|
3641
|
+
options?: Options
|
|
3642
|
+
): ResponseType<PatchDeliveryOrderResponse, Options> {
|
|
3546
3643
|
return this.request("patch", `/delivery/order/${order_id}`, null, options);
|
|
3547
3644
|
}
|
|
3548
3645
|
|
|
@@ -3552,10 +3649,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3552
3649
|
* @param order_id - TODO: add parameter to swagger.json
|
|
3553
3650
|
* @param options - additional request options
|
|
3554
3651
|
*/
|
|
3555
|
-
get_delivery_order(
|
|
3652
|
+
get_delivery_order<Options extends RequestOptions>(
|
|
3556
3653
|
order_id: string,
|
|
3557
|
-
options?:
|
|
3558
|
-
):
|
|
3654
|
+
options?: Options
|
|
3655
|
+
): ResponseType<GetDeliveryOrderResponse, Options> {
|
|
3559
3656
|
return this.request("get", `/delivery/order/${order_id}`, null, options);
|
|
3560
3657
|
}
|
|
3561
3658
|
|
|
@@ -3565,7 +3662,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3565
3662
|
* @param body
|
|
3566
3663
|
* @param options - additional request options
|
|
3567
3664
|
*/
|
|
3568
|
-
post_schedule
|
|
3665
|
+
post_schedule<Options extends RequestOptions>(
|
|
3666
|
+
body: PostScheduleBody,
|
|
3667
|
+
options?: Options
|
|
3668
|
+
): ResponseType<PostScheduleResponse, Options> {
|
|
3569
3669
|
return this.request("post", `/schedule`, body, options);
|
|
3570
3670
|
}
|
|
3571
3671
|
|
|
@@ -3574,11 +3674,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3574
3674
|
*
|
|
3575
3675
|
* @param options - additional request options
|
|
3576
3676
|
*/
|
|
3577
|
-
get_schedules(
|
|
3677
|
+
get_schedules<Options extends RequestOptions>(
|
|
3578
3678
|
options: {
|
|
3579
3679
|
query: GetSchedulesQuery;
|
|
3580
|
-
} &
|
|
3581
|
-
):
|
|
3680
|
+
} & Options
|
|
3681
|
+
): ResponseType<GetSchedulesResponse, Options> {
|
|
3582
3682
|
return this.request("get", `/schedule`, null, options);
|
|
3583
3683
|
}
|
|
3584
3684
|
|
|
@@ -3588,7 +3688,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3588
3688
|
* @param id - schedule id
|
|
3589
3689
|
* @param options - additional request options
|
|
3590
3690
|
*/
|
|
3591
|
-
get_schedule
|
|
3691
|
+
get_schedule<Options extends RequestOptions>(
|
|
3692
|
+
id: string,
|
|
3693
|
+
options?: Options
|
|
3694
|
+
): ResponseType<GetScheduleResponse, Options> {
|
|
3592
3695
|
return this.request("get", `/schedule/${id}`, null, options);
|
|
3593
3696
|
}
|
|
3594
3697
|
|
|
@@ -3599,11 +3702,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3599
3702
|
* @param body
|
|
3600
3703
|
* @param options - additional request options
|
|
3601
3704
|
*/
|
|
3602
|
-
put_schedule(
|
|
3705
|
+
put_schedule<Options extends RequestOptions>(
|
|
3603
3706
|
id: string,
|
|
3604
3707
|
body: PutScheduleBody,
|
|
3605
|
-
options?:
|
|
3606
|
-
):
|
|
3708
|
+
options?: Options
|
|
3709
|
+
): ResponseType<PutScheduleResponse, Options> {
|
|
3607
3710
|
return this.request("put", `/schedule/${id}`, body, options);
|
|
3608
3711
|
}
|
|
3609
3712
|
|
|
@@ -3613,7 +3716,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3613
3716
|
* @param id - Id of a schedule
|
|
3614
3717
|
* @param options - additional request options
|
|
3615
3718
|
*/
|
|
3616
|
-
delete_schedule
|
|
3719
|
+
delete_schedule<Options extends RequestOptions>(
|
|
3720
|
+
id: string,
|
|
3721
|
+
options?: Options
|
|
3722
|
+
): ResponseType<DeleteScheduleResponse, Options> {
|
|
3617
3723
|
return this.request("delete", `/schedule/${id}`, null, options);
|
|
3618
3724
|
}
|
|
3619
3725
|
|
|
@@ -3623,7 +3729,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3623
3729
|
* @param body
|
|
3624
3730
|
* @param options - additional request options
|
|
3625
3731
|
*/
|
|
3626
|
-
post_vote
|
|
3732
|
+
post_vote<Options extends RequestOptions>(
|
|
3733
|
+
body: PostVoteBody,
|
|
3734
|
+
options?: Options
|
|
3735
|
+
): ResponseType<PostVoteResponse, Options> {
|
|
3627
3736
|
return this.request("post", `/vote`, body, options);
|
|
3628
3737
|
}
|
|
3629
3738
|
|
|
@@ -3633,12 +3742,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3633
3742
|
* @param idfa - TODO: add parameter to swagger.json
|
|
3634
3743
|
* @param options - additional request options
|
|
3635
3744
|
*/
|
|
3636
|
-
get_vote_idfa(
|
|
3745
|
+
get_vote_idfa<Options extends RequestOptions>(
|
|
3637
3746
|
idfa: string,
|
|
3638
3747
|
options?: {
|
|
3639
3748
|
query?: GetVoteIdfaQuery;
|
|
3640
|
-
} &
|
|
3641
|
-
):
|
|
3749
|
+
} & Options
|
|
3750
|
+
): ResponseType<GetVoteIdfaResponse, Options> {
|
|
3642
3751
|
return this.request("get", `/vote/idfa/${idfa}`, null, options);
|
|
3643
3752
|
}
|
|
3644
3753
|
|
|
@@ -3648,7 +3757,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3648
3757
|
* @param body
|
|
3649
3758
|
* @param options - additional request options
|
|
3650
3759
|
*/
|
|
3651
|
-
post_file
|
|
3760
|
+
post_file<Options extends RequestOptions>(
|
|
3761
|
+
body: PostFileBody,
|
|
3762
|
+
options?: Options
|
|
3763
|
+
): ResponseType<PostFileResponse, Options> {
|
|
3652
3764
|
return this.request("post", `/file`, body, options);
|
|
3653
3765
|
}
|
|
3654
3766
|
|
|
@@ -3658,7 +3770,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3658
3770
|
* @param body - Message object that needs to be created
|
|
3659
3771
|
* @param options - additional request options
|
|
3660
3772
|
*/
|
|
3661
|
-
post_message
|
|
3773
|
+
post_message<Options extends RequestOptions>(
|
|
3774
|
+
body: PostMessageBody,
|
|
3775
|
+
options?: Options
|
|
3776
|
+
): ResponseType<PostMessageResponse, Options> {
|
|
3662
3777
|
return this.request("post", `/message`, body, options);
|
|
3663
3778
|
}
|
|
3664
3779
|
|
|
@@ -3668,7 +3783,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3668
3783
|
* @param id - Message CDL encoded id
|
|
3669
3784
|
* @param options - additional request options
|
|
3670
3785
|
*/
|
|
3671
|
-
get_message
|
|
3786
|
+
get_message<Options extends RequestOptions>(
|
|
3787
|
+
id: string,
|
|
3788
|
+
options?: Options
|
|
3789
|
+
): ResponseType<GetMessageResponse, Options> {
|
|
3672
3790
|
return this.request("get", `/message/${id}`, null, options);
|
|
3673
3791
|
}
|
|
3674
3792
|
|
|
@@ -3678,12 +3796,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3678
3796
|
* @param id - action
|
|
3679
3797
|
* @param options - additional request options
|
|
3680
3798
|
*/
|
|
3681
|
-
get_logger_brand_status(
|
|
3799
|
+
get_logger_brand_status<Options extends RequestOptions>(
|
|
3682
3800
|
id: string,
|
|
3683
3801
|
options?: {
|
|
3684
3802
|
query?: GetLoggerBrandStatusQuery;
|
|
3685
|
-
} &
|
|
3686
|
-
):
|
|
3803
|
+
} & Options
|
|
3804
|
+
): ResponseType<GetLoggerBrandStatusResponse, Options> {
|
|
3687
3805
|
return this.request("get", `/logger/${id}/brand/status`, null, options);
|
|
3688
3806
|
}
|
|
3689
3807
|
}
|