@compassdigital/sdk.typescript 3.0.0-beta.8 → 3.0.0-beta.9
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/gen.ts +1 -1
- package/lib/base.d.ts +8 -3
- package/lib/base.d.ts.map +1 -1
- package/lib/base.js +37 -15
- package/lib/base.js.map +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +232 -232
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/base.ts +63 -14
- package/src/index.ts +1311 -224
package/src/index.ts
CHANGED
|
@@ -471,7 +471,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
471
471
|
body: PostPaymentTransactionBody,
|
|
472
472
|
options?: Options
|
|
473
473
|
): ResponseType<PostPaymentTransactionResponse, Options> {
|
|
474
|
-
return this.request(
|
|
474
|
+
return this.request(
|
|
475
|
+
"payment",
|
|
476
|
+
"post_payment_transaction",
|
|
477
|
+
"post",
|
|
478
|
+
`/payment/${id}/transaction`,
|
|
479
|
+
body,
|
|
480
|
+
options
|
|
481
|
+
);
|
|
475
482
|
}
|
|
476
483
|
|
|
477
484
|
/**
|
|
@@ -489,6 +496,8 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
489
496
|
options?: Options
|
|
490
497
|
): ResponseType<PostPaymentTransactionRefundResponse, Options> {
|
|
491
498
|
return this.request(
|
|
499
|
+
"payment",
|
|
500
|
+
"post_payment_transaction_refund",
|
|
492
501
|
"post",
|
|
493
502
|
`/payment/${id}/transaction/${transaction_id}/refund`,
|
|
494
503
|
body,
|
|
@@ -506,7 +515,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
506
515
|
id: string,
|
|
507
516
|
options?: Options
|
|
508
517
|
): ResponseType<GetPaymentClienttokenResponse, Options> {
|
|
509
|
-
return this.request(
|
|
518
|
+
return this.request(
|
|
519
|
+
"payment",
|
|
520
|
+
"get_payment_clienttoken",
|
|
521
|
+
"get",
|
|
522
|
+
`/payment/${id}/clienttoken`,
|
|
523
|
+
null,
|
|
524
|
+
options
|
|
525
|
+
);
|
|
510
526
|
}
|
|
511
527
|
|
|
512
528
|
/**
|
|
@@ -521,7 +537,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
521
537
|
body: PostPaymentPaymenttokenBody,
|
|
522
538
|
options?: Options
|
|
523
539
|
): ResponseType<PostPaymentPaymenttokenResponse, Options> {
|
|
524
|
-
return this.request(
|
|
540
|
+
return this.request(
|
|
541
|
+
"payment",
|
|
542
|
+
"post_payment_paymenttoken",
|
|
543
|
+
"post",
|
|
544
|
+
`/payment/${id}/paymenttoken`,
|
|
545
|
+
body,
|
|
546
|
+
options
|
|
547
|
+
);
|
|
525
548
|
}
|
|
526
549
|
|
|
527
550
|
/**
|
|
@@ -534,7 +557,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
534
557
|
body: PostPaymentConsumerBody,
|
|
535
558
|
options?: Options
|
|
536
559
|
): ResponseType<PostPaymentConsumerResponse, Options> {
|
|
537
|
-
return this.request(
|
|
560
|
+
return this.request(
|
|
561
|
+
"payment",
|
|
562
|
+
"post_payment_consumer",
|
|
563
|
+
"post",
|
|
564
|
+
`/payment/consumer`,
|
|
565
|
+
body,
|
|
566
|
+
options
|
|
567
|
+
);
|
|
538
568
|
}
|
|
539
569
|
|
|
540
570
|
/**
|
|
@@ -547,7 +577,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
547
577
|
body: PostPaymentMethodBody,
|
|
548
578
|
options?: Options
|
|
549
579
|
): ResponseType<PostPaymentMethodResponse, Options> {
|
|
550
|
-
return this.request("post", `/payment/method`, body, options);
|
|
580
|
+
return this.request("payment", "post_payment_method", "post", `/payment/method`, body, options);
|
|
551
581
|
}
|
|
552
582
|
|
|
553
583
|
/**
|
|
@@ -562,7 +592,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
562
592
|
query: GetPaymentMethodQuery;
|
|
563
593
|
} & Options
|
|
564
594
|
): ResponseType<GetPaymentMethodResponse, Options> {
|
|
565
|
-
return this.request(
|
|
595
|
+
return this.request(
|
|
596
|
+
"payment",
|
|
597
|
+
"get_payment_method",
|
|
598
|
+
"get",
|
|
599
|
+
`/payment/${id}/method`,
|
|
600
|
+
null,
|
|
601
|
+
options
|
|
602
|
+
);
|
|
566
603
|
}
|
|
567
604
|
|
|
568
605
|
/**
|
|
@@ -579,7 +616,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
579
616
|
body: DeletePaymentMethodBody,
|
|
580
617
|
options?: Options
|
|
581
618
|
): ResponseType<DeletePaymentMethodResponse, Options> {
|
|
582
|
-
return this.request(
|
|
619
|
+
return this.request(
|
|
620
|
+
"payment",
|
|
621
|
+
"delete_payment_method",
|
|
622
|
+
"delete",
|
|
623
|
+
`/payment/${id}/method/${method_id}`,
|
|
624
|
+
body,
|
|
625
|
+
options
|
|
626
|
+
);
|
|
583
627
|
}
|
|
584
628
|
|
|
585
629
|
/**
|
|
@@ -592,7 +636,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
592
636
|
query: GetPaymentTokenQuery;
|
|
593
637
|
} & Options
|
|
594
638
|
): ResponseType<GetPaymentTokenResponse, Options> {
|
|
595
|
-
return this.request("get", `/payment/token`, null, options);
|
|
639
|
+
return this.request("payment", "get_payment_token", "get", `/payment/token`, null, options);
|
|
596
640
|
}
|
|
597
641
|
|
|
598
642
|
/**
|
|
@@ -605,7 +649,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
605
649
|
body: PostPaymentTokenBody,
|
|
606
650
|
options?: Options
|
|
607
651
|
): ResponseType<PostPaymentTokenResponse, Options> {
|
|
608
|
-
return this.request("post", `/payment/token`, body, options);
|
|
652
|
+
return this.request("payment", "post_payment_token", "post", `/payment/token`, body, options);
|
|
609
653
|
}
|
|
610
654
|
|
|
611
655
|
/**
|
|
@@ -618,7 +662,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
618
662
|
body: PutPaymentTokenBody,
|
|
619
663
|
options?: Options
|
|
620
664
|
): ResponseType<PutPaymentTokenResponse, Options> {
|
|
621
|
-
return this.request("put", `/payment/token`, body, options);
|
|
665
|
+
return this.request("payment", "put_payment_token", "put", `/payment/token`, body, options);
|
|
622
666
|
}
|
|
623
667
|
|
|
624
668
|
/**
|
|
@@ -631,7 +675,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
631
675
|
body: DeletePaymentTokenBody,
|
|
632
676
|
options?: Options
|
|
633
677
|
): ResponseType<DeletePaymentTokenResponse, Options> {
|
|
634
|
-
return this.request(
|
|
678
|
+
return this.request(
|
|
679
|
+
"payment",
|
|
680
|
+
"delete_payment_token",
|
|
681
|
+
"delete",
|
|
682
|
+
`/payment/token`,
|
|
683
|
+
body,
|
|
684
|
+
options
|
|
685
|
+
);
|
|
635
686
|
}
|
|
636
687
|
|
|
637
688
|
/**
|
|
@@ -644,7 +695,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
644
695
|
query: GetPaymentMethodsQuery;
|
|
645
696
|
} & Options
|
|
646
697
|
): ResponseType<GetPaymentMethodsResponse, Options> {
|
|
647
|
-
return this.request("get", `/payment/methods`, null, options);
|
|
698
|
+
return this.request("payment", "get_payment_methods", "get", `/payment/methods`, null, options);
|
|
648
699
|
}
|
|
649
700
|
|
|
650
701
|
/**
|
|
@@ -657,7 +708,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
657
708
|
query: GetPaymentHpcQuery;
|
|
658
709
|
} & Options
|
|
659
710
|
): ResponseType<GetPaymentHpcResponse, Options> {
|
|
660
|
-
return this.request("get", `/payment/hpc`, null, options);
|
|
711
|
+
return this.request("payment", "get_payment_hpc", "get", `/payment/hpc`, null, options);
|
|
661
712
|
}
|
|
662
713
|
|
|
663
714
|
/**
|
|
@@ -672,7 +723,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
672
723
|
query?: PostOrderQuery;
|
|
673
724
|
} & Options
|
|
674
725
|
): ResponseType<PostOrderResponse, Options> {
|
|
675
|
-
return this.request("post", `/order`, body, options);
|
|
726
|
+
return this.request("order", "post_order", "post", `/order`, body, options);
|
|
676
727
|
}
|
|
677
728
|
|
|
678
729
|
/**
|
|
@@ -685,7 +736,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
685
736
|
id: string,
|
|
686
737
|
options?: Options
|
|
687
738
|
): ResponseType<GetOrderResponse, Options> {
|
|
688
|
-
return this.request("get", `/order/${id}`, null, options);
|
|
739
|
+
return this.request("order", "get_order", "get", `/order/${id}`, null, options);
|
|
689
740
|
}
|
|
690
741
|
|
|
691
742
|
/**
|
|
@@ -698,7 +749,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
698
749
|
id: string,
|
|
699
750
|
options?: Options
|
|
700
751
|
): ResponseType<PutOrderResponse, Options> {
|
|
701
|
-
return this.request("put", `/order/${id}`, null, options);
|
|
752
|
+
return this.request("order", "put_order", "put", `/order/${id}`, null, options);
|
|
702
753
|
}
|
|
703
754
|
|
|
704
755
|
/**
|
|
@@ -713,7 +764,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
713
764
|
body: PatchOrderBody,
|
|
714
765
|
options?: Options
|
|
715
766
|
): ResponseType<PatchOrderResponse, Options> {
|
|
716
|
-
return this.request("patch", `/order/${id}`, body, options);
|
|
767
|
+
return this.request("order", "patch_order", "patch", `/order/${id}`, body, options);
|
|
717
768
|
}
|
|
718
769
|
|
|
719
770
|
/**
|
|
@@ -728,7 +779,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
728
779
|
body: PostOrderIssueBody,
|
|
729
780
|
options?: Options
|
|
730
781
|
): ResponseType<PostOrderIssueResponse, Options> {
|
|
731
|
-
return this.request("post", `/order/${id}/issue`, body, options);
|
|
782
|
+
return this.request("order", "post_order_issue", "post", `/order/${id}/issue`, body, options);
|
|
732
783
|
}
|
|
733
784
|
|
|
734
785
|
/**
|
|
@@ -743,7 +794,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
743
794
|
body: PatchOrderRefundBody,
|
|
744
795
|
options?: Options
|
|
745
796
|
): ResponseType<PatchOrderRefundResponse, Options> {
|
|
746
|
-
return this.request(
|
|
797
|
+
return this.request(
|
|
798
|
+
"order",
|
|
799
|
+
"patch_order_refund",
|
|
800
|
+
"patch",
|
|
801
|
+
`/order/${id}/refund`,
|
|
802
|
+
body,
|
|
803
|
+
options
|
|
804
|
+
);
|
|
747
805
|
}
|
|
748
806
|
|
|
749
807
|
/**
|
|
@@ -758,7 +816,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
758
816
|
query?: GetOrderCustomerOrdersQuery;
|
|
759
817
|
} & Options
|
|
760
818
|
): ResponseType<GetOrderCustomerOrdersResponse, Options> {
|
|
761
|
-
return this.request(
|
|
819
|
+
return this.request(
|
|
820
|
+
"order",
|
|
821
|
+
"get_order_customer_orders",
|
|
822
|
+
"get",
|
|
823
|
+
`/order/customer/${id}`,
|
|
824
|
+
null,
|
|
825
|
+
options
|
|
826
|
+
);
|
|
762
827
|
}
|
|
763
828
|
|
|
764
829
|
/**
|
|
@@ -774,6 +839,8 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
774
839
|
options?: Options
|
|
775
840
|
): ResponseType<GetOrderCustomerOrdersBrandResponse, Options> {
|
|
776
841
|
return this.request(
|
|
842
|
+
"order",
|
|
843
|
+
"get_order_customer_orders_brand",
|
|
777
844
|
"get",
|
|
778
845
|
`/order/customer/${id}/location/brand/${location_brand}`,
|
|
779
846
|
null,
|
|
@@ -793,7 +860,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
793
860
|
query?: GetOrderBrandOrdersQuery;
|
|
794
861
|
} & Options
|
|
795
862
|
): ResponseType<GetOrderBrandOrdersResponse, Options> {
|
|
796
|
-
return this.request(
|
|
863
|
+
return this.request(
|
|
864
|
+
"order",
|
|
865
|
+
"get_order_brand_orders",
|
|
866
|
+
"get",
|
|
867
|
+
`/order/location/brand/${id}`,
|
|
868
|
+
null,
|
|
869
|
+
options
|
|
870
|
+
);
|
|
797
871
|
}
|
|
798
872
|
|
|
799
873
|
/**
|
|
@@ -808,7 +882,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
808
882
|
query?: GetOrderLocationOrdersQuery;
|
|
809
883
|
} & Options
|
|
810
884
|
): ResponseType<GetOrderLocationOrdersResponse, Options> {
|
|
811
|
-
return this.request(
|
|
885
|
+
return this.request(
|
|
886
|
+
"order",
|
|
887
|
+
"get_order_location_orders",
|
|
888
|
+
"get",
|
|
889
|
+
`/order/location/${id}`,
|
|
890
|
+
null,
|
|
891
|
+
options
|
|
892
|
+
);
|
|
812
893
|
}
|
|
813
894
|
|
|
814
895
|
/**
|
|
@@ -823,7 +904,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
823
904
|
query?: GetOrderGroupOrdersQuery;
|
|
824
905
|
} & Options
|
|
825
906
|
): ResponseType<GetOrderGroupOrdersResponse, Options> {
|
|
826
|
-
return this.request(
|
|
907
|
+
return this.request(
|
|
908
|
+
"order",
|
|
909
|
+
"get_order_group_orders",
|
|
910
|
+
"get",
|
|
911
|
+
`/order/location/group/${id}`,
|
|
912
|
+
null,
|
|
913
|
+
options
|
|
914
|
+
);
|
|
827
915
|
}
|
|
828
916
|
|
|
829
917
|
/**
|
|
@@ -836,7 +924,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
836
924
|
body: PostLocationBody,
|
|
837
925
|
options?: Options
|
|
838
926
|
): ResponseType<PostLocationResponse, Options> {
|
|
839
|
-
return this.request("post", `/location`, body, options);
|
|
927
|
+
return this.request("location", "post_location", "post", `/location`, body, options);
|
|
840
928
|
}
|
|
841
929
|
|
|
842
930
|
/**
|
|
@@ -847,7 +935,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
847
935
|
get_locations<Options extends RequestOptions>(
|
|
848
936
|
options?: Options
|
|
849
937
|
): ResponseType<GetLocationsResponse, Options> {
|
|
850
|
-
return this.request("get", `/location`, null, options);
|
|
938
|
+
return this.request("location", "get_locations", "get", `/location`, null, options);
|
|
851
939
|
}
|
|
852
940
|
|
|
853
941
|
/**
|
|
@@ -860,7 +948,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
860
948
|
query?: GetLocationSearchQuery;
|
|
861
949
|
} & Options
|
|
862
950
|
): ResponseType<GetLocationSearchResponse, Options> {
|
|
863
|
-
return this.request(
|
|
951
|
+
return this.request(
|
|
952
|
+
"location",
|
|
953
|
+
"get_location_search",
|
|
954
|
+
"get",
|
|
955
|
+
`/location/search`,
|
|
956
|
+
null,
|
|
957
|
+
options
|
|
958
|
+
);
|
|
864
959
|
}
|
|
865
960
|
|
|
866
961
|
/**
|
|
@@ -875,7 +970,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
875
970
|
query?: GetLocationQuery;
|
|
876
971
|
} & Options
|
|
877
972
|
): ResponseType<GetLocationResponse, Options> {
|
|
878
|
-
return this.request("get", `/location/${id}`, null, options);
|
|
973
|
+
return this.request("location", "get_location", "get", `/location/${id}`, null, options);
|
|
879
974
|
}
|
|
880
975
|
|
|
881
976
|
/**
|
|
@@ -890,7 +985,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
890
985
|
body: PutLocationBody,
|
|
891
986
|
options?: Options
|
|
892
987
|
): ResponseType<PutLocationResponse, Options> {
|
|
893
|
-
return this.request("put", `/location/${id}`, body, options);
|
|
988
|
+
return this.request("location", "put_location", "put", `/location/${id}`, body, options);
|
|
894
989
|
}
|
|
895
990
|
|
|
896
991
|
/**
|
|
@@ -905,7 +1000,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
905
1000
|
body: DeleteLocationBody,
|
|
906
1001
|
options?: Options
|
|
907
1002
|
): ResponseType<DeleteLocationResponse, Options> {
|
|
908
|
-
return this.request("delete", `/location/${id}`, body, options);
|
|
1003
|
+
return this.request("location", "delete_location", "delete", `/location/${id}`, body, options);
|
|
909
1004
|
}
|
|
910
1005
|
|
|
911
1006
|
/**
|
|
@@ -920,7 +1015,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
920
1015
|
body: PatchLocationBody,
|
|
921
1016
|
options?: Options
|
|
922
1017
|
): ResponseType<PatchLocationResponse, Options> {
|
|
923
|
-
return this.request("patch", `/location/${id}`, body, options);
|
|
1018
|
+
return this.request("location", "patch_location", "patch", `/location/${id}`, body, options);
|
|
924
1019
|
}
|
|
925
1020
|
|
|
926
1021
|
/**
|
|
@@ -933,7 +1028,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
933
1028
|
id: string,
|
|
934
1029
|
options?: Options
|
|
935
1030
|
): ResponseType<GetLocationPosResponse, Options> {
|
|
936
|
-
return this.request(
|
|
1031
|
+
return this.request(
|
|
1032
|
+
"location",
|
|
1033
|
+
"get_location_pos",
|
|
1034
|
+
"get",
|
|
1035
|
+
`/location/pos/${id}`,
|
|
1036
|
+
null,
|
|
1037
|
+
options
|
|
1038
|
+
);
|
|
937
1039
|
}
|
|
938
1040
|
|
|
939
1041
|
/**
|
|
@@ -948,7 +1050,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
948
1050
|
body: PutLocationPosBody,
|
|
949
1051
|
options?: Options
|
|
950
1052
|
): ResponseType<PutLocationPosResponse, Options> {
|
|
951
|
-
return this.request(
|
|
1053
|
+
return this.request(
|
|
1054
|
+
"location",
|
|
1055
|
+
"put_location_pos",
|
|
1056
|
+
"put",
|
|
1057
|
+
`/location/pos/${id}`,
|
|
1058
|
+
body,
|
|
1059
|
+
options
|
|
1060
|
+
);
|
|
952
1061
|
}
|
|
953
1062
|
|
|
954
1063
|
/**
|
|
@@ -959,7 +1068,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
959
1068
|
get_location_multigroups<Options extends RequestOptions>(
|
|
960
1069
|
options?: Options
|
|
961
1070
|
): ResponseType<GetLocationMultigroupsResponse, Options> {
|
|
962
|
-
return this.request(
|
|
1071
|
+
return this.request(
|
|
1072
|
+
"location",
|
|
1073
|
+
"get_location_multigroups",
|
|
1074
|
+
"get",
|
|
1075
|
+
`/location/multigroup`,
|
|
1076
|
+
null,
|
|
1077
|
+
options
|
|
1078
|
+
);
|
|
963
1079
|
}
|
|
964
1080
|
|
|
965
1081
|
/**
|
|
@@ -972,7 +1088,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
972
1088
|
body: PostLocationMultigroupBody,
|
|
973
1089
|
options?: Options
|
|
974
1090
|
): ResponseType<PostLocationMultigroupResponse, Options> {
|
|
975
|
-
return this.request(
|
|
1091
|
+
return this.request(
|
|
1092
|
+
"location",
|
|
1093
|
+
"post_location_multigroup",
|
|
1094
|
+
"post",
|
|
1095
|
+
`/location/multigroup`,
|
|
1096
|
+
body,
|
|
1097
|
+
options
|
|
1098
|
+
);
|
|
976
1099
|
}
|
|
977
1100
|
|
|
978
1101
|
/**
|
|
@@ -987,7 +1110,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
987
1110
|
query?: GetLocationMultigroupQuery;
|
|
988
1111
|
} & Options
|
|
989
1112
|
): ResponseType<GetLocationMultigroupResponse, Options> {
|
|
990
|
-
return this.request(
|
|
1113
|
+
return this.request(
|
|
1114
|
+
"location",
|
|
1115
|
+
"get_location_multigroup",
|
|
1116
|
+
"get",
|
|
1117
|
+
`/location/multigroup/${id}`,
|
|
1118
|
+
null,
|
|
1119
|
+
options
|
|
1120
|
+
);
|
|
991
1121
|
}
|
|
992
1122
|
|
|
993
1123
|
/**
|
|
@@ -1002,7 +1132,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1002
1132
|
body: PutLocationMultigroupBody,
|
|
1003
1133
|
options?: Options
|
|
1004
1134
|
): ResponseType<PutLocationMultigroupResponse, Options> {
|
|
1005
|
-
return this.request(
|
|
1135
|
+
return this.request(
|
|
1136
|
+
"location",
|
|
1137
|
+
"put_location_multigroup",
|
|
1138
|
+
"put",
|
|
1139
|
+
`/location/multigroup/${id}`,
|
|
1140
|
+
body,
|
|
1141
|
+
options
|
|
1142
|
+
);
|
|
1006
1143
|
}
|
|
1007
1144
|
|
|
1008
1145
|
/**
|
|
@@ -1017,7 +1154,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1017
1154
|
body: DeleteLocationMultigroupBody,
|
|
1018
1155
|
options?: Options
|
|
1019
1156
|
): ResponseType<DeleteLocationMultigroupResponse, Options> {
|
|
1020
|
-
return this.request(
|
|
1157
|
+
return this.request(
|
|
1158
|
+
"location",
|
|
1159
|
+
"delete_location_multigroup",
|
|
1160
|
+
"delete",
|
|
1161
|
+
`/location/multigroup/${id}`,
|
|
1162
|
+
body,
|
|
1163
|
+
options
|
|
1164
|
+
);
|
|
1021
1165
|
}
|
|
1022
1166
|
|
|
1023
1167
|
/**
|
|
@@ -1032,7 +1176,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1032
1176
|
body: PatchLocationMultigroupBody,
|
|
1033
1177
|
options?: Options
|
|
1034
1178
|
): ResponseType<PatchLocationMultigroupResponse, Options> {
|
|
1035
|
-
return this.request(
|
|
1179
|
+
return this.request(
|
|
1180
|
+
"location",
|
|
1181
|
+
"patch_location_multigroup",
|
|
1182
|
+
"patch",
|
|
1183
|
+
`/location/multigroup/${id}`,
|
|
1184
|
+
body,
|
|
1185
|
+
options
|
|
1186
|
+
);
|
|
1036
1187
|
}
|
|
1037
1188
|
|
|
1038
1189
|
/**
|
|
@@ -1049,7 +1200,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1049
1200
|
query?: GetLocationUserMultigroupQuery;
|
|
1050
1201
|
} & Options
|
|
1051
1202
|
): ResponseType<GetLocationUserMultigroupResponse, Options> {
|
|
1052
|
-
return this.request(
|
|
1203
|
+
return this.request(
|
|
1204
|
+
"location",
|
|
1205
|
+
"get_location_user_multigroup",
|
|
1206
|
+
"get",
|
|
1207
|
+
`/location/multigroup/${id}/user/${user_id}`,
|
|
1208
|
+
null,
|
|
1209
|
+
options
|
|
1210
|
+
);
|
|
1053
1211
|
}
|
|
1054
1212
|
|
|
1055
1213
|
/**
|
|
@@ -1062,7 +1220,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1062
1220
|
body: PostLocationGroupBody,
|
|
1063
1221
|
options?: Options
|
|
1064
1222
|
): ResponseType<PostLocationGroupResponse, Options> {
|
|
1065
|
-
return this.request(
|
|
1223
|
+
return this.request(
|
|
1224
|
+
"location",
|
|
1225
|
+
"post_location_group",
|
|
1226
|
+
"post",
|
|
1227
|
+
`/location/group`,
|
|
1228
|
+
body,
|
|
1229
|
+
options
|
|
1230
|
+
);
|
|
1066
1231
|
}
|
|
1067
1232
|
|
|
1068
1233
|
/**
|
|
@@ -1077,7 +1242,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1077
1242
|
query?: GetLocationGroupQuery;
|
|
1078
1243
|
} & Options
|
|
1079
1244
|
): ResponseType<GetLocationGroupResponse, Options> {
|
|
1080
|
-
return this.request(
|
|
1245
|
+
return this.request(
|
|
1246
|
+
"location",
|
|
1247
|
+
"get_location_group",
|
|
1248
|
+
"get",
|
|
1249
|
+
`/location/group/${id}`,
|
|
1250
|
+
null,
|
|
1251
|
+
options
|
|
1252
|
+
);
|
|
1081
1253
|
}
|
|
1082
1254
|
|
|
1083
1255
|
/**
|
|
@@ -1092,7 +1264,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1092
1264
|
body: PutLocationGroupBody,
|
|
1093
1265
|
options?: Options
|
|
1094
1266
|
): ResponseType<PutLocationGroupResponse, Options> {
|
|
1095
|
-
return this.request(
|
|
1267
|
+
return this.request(
|
|
1268
|
+
"location",
|
|
1269
|
+
"put_location_group",
|
|
1270
|
+
"put",
|
|
1271
|
+
`/location/group/${id}`,
|
|
1272
|
+
body,
|
|
1273
|
+
options
|
|
1274
|
+
);
|
|
1096
1275
|
}
|
|
1097
1276
|
|
|
1098
1277
|
/**
|
|
@@ -1107,7 +1286,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1107
1286
|
body: DeleteLocationGroupBody,
|
|
1108
1287
|
options?: Options
|
|
1109
1288
|
): ResponseType<DeleteLocationGroupResponse, Options> {
|
|
1110
|
-
return this.request(
|
|
1289
|
+
return this.request(
|
|
1290
|
+
"location",
|
|
1291
|
+
"delete_location_group",
|
|
1292
|
+
"delete",
|
|
1293
|
+
`/location/group/${id}`,
|
|
1294
|
+
body,
|
|
1295
|
+
options
|
|
1296
|
+
);
|
|
1111
1297
|
}
|
|
1112
1298
|
|
|
1113
1299
|
/**
|
|
@@ -1122,7 +1308,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1122
1308
|
body: PatchLocationGroupBody,
|
|
1123
1309
|
options?: Options
|
|
1124
1310
|
): ResponseType<PatchLocationGroupResponse, Options> {
|
|
1125
|
-
return this.request(
|
|
1311
|
+
return this.request(
|
|
1312
|
+
"location",
|
|
1313
|
+
"patch_location_group",
|
|
1314
|
+
"patch",
|
|
1315
|
+
`/location/group/${id}`,
|
|
1316
|
+
body,
|
|
1317
|
+
options
|
|
1318
|
+
);
|
|
1126
1319
|
}
|
|
1127
1320
|
|
|
1128
1321
|
/**
|
|
@@ -1137,7 +1330,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1137
1330
|
query?: GetLocationGroupDeliverydestinationsQuery;
|
|
1138
1331
|
} & Options
|
|
1139
1332
|
): ResponseType<GetLocationGroupDeliverydestinationsResponse, Options> {
|
|
1140
|
-
return this.request(
|
|
1333
|
+
return this.request(
|
|
1334
|
+
"location",
|
|
1335
|
+
"get_location_group_deliverydestinations",
|
|
1336
|
+
"get",
|
|
1337
|
+
`/location/group/${id}/deliverydestination`,
|
|
1338
|
+
null,
|
|
1339
|
+
options
|
|
1340
|
+
);
|
|
1141
1341
|
}
|
|
1142
1342
|
|
|
1143
1343
|
/**
|
|
@@ -1152,7 +1352,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1152
1352
|
body: PostLocationGroupDeliverydestinationBody,
|
|
1153
1353
|
options?: Options
|
|
1154
1354
|
): ResponseType<PostLocationGroupDeliverydestinationResponse, Options> {
|
|
1155
|
-
return this.request(
|
|
1355
|
+
return this.request(
|
|
1356
|
+
"location",
|
|
1357
|
+
"post_location_group_deliverydestination",
|
|
1358
|
+
"post",
|
|
1359
|
+
`/location/group/${id}/deliverydestination`,
|
|
1360
|
+
body,
|
|
1361
|
+
options
|
|
1362
|
+
);
|
|
1156
1363
|
}
|
|
1157
1364
|
|
|
1158
1365
|
/**
|
|
@@ -1168,6 +1375,8 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1168
1375
|
options?: Options
|
|
1169
1376
|
): ResponseType<GetLocationGroupDeliverydestinationResponse, Options> {
|
|
1170
1377
|
return this.request(
|
|
1378
|
+
"location",
|
|
1379
|
+
"get_location_group_deliverydestination",
|
|
1171
1380
|
"get",
|
|
1172
1381
|
`/location/group/${id}/deliverydestination/${delivery_destination}`,
|
|
1173
1382
|
null,
|
|
@@ -1190,6 +1399,8 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1190
1399
|
options?: Options
|
|
1191
1400
|
): ResponseType<PatchLocationGroupDeliverydestinationResponse, Options> {
|
|
1192
1401
|
return this.request(
|
|
1402
|
+
"location",
|
|
1403
|
+
"patch_location_group_deliverydestination",
|
|
1193
1404
|
"patch",
|
|
1194
1405
|
`/location/group/${id}/deliverydestination/${delivery_destination}`,
|
|
1195
1406
|
body,
|
|
@@ -1210,6 +1421,8 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1210
1421
|
options?: Options
|
|
1211
1422
|
): ResponseType<DeleteLocationGroupDeliverydestinationResponse, Options> {
|
|
1212
1423
|
return this.request(
|
|
1424
|
+
"location",
|
|
1425
|
+
"delete_location_group_deliverydestination",
|
|
1213
1426
|
"delete",
|
|
1214
1427
|
`/location/group/${id}/deliverydestination/${delivery_destination}`,
|
|
1215
1428
|
null,
|
|
@@ -1231,7 +1444,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1231
1444
|
query?: GetLocationUserGroupQuery;
|
|
1232
1445
|
} & Options
|
|
1233
1446
|
): ResponseType<GetLocationUserGroupResponse, Options> {
|
|
1234
|
-
return this.request(
|
|
1447
|
+
return this.request(
|
|
1448
|
+
"location",
|
|
1449
|
+
"get_location_user_group",
|
|
1450
|
+
"get",
|
|
1451
|
+
`/location/group/${id}/user/${user_id}`,
|
|
1452
|
+
null,
|
|
1453
|
+
options
|
|
1454
|
+
);
|
|
1235
1455
|
}
|
|
1236
1456
|
|
|
1237
1457
|
/**
|
|
@@ -1242,7 +1462,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1242
1462
|
get_location_brands<Options extends RequestOptions>(
|
|
1243
1463
|
options?: Options
|
|
1244
1464
|
): ResponseType<GetLocationBrandsResponse, Options> {
|
|
1245
|
-
return this.request(
|
|
1465
|
+
return this.request(
|
|
1466
|
+
"location",
|
|
1467
|
+
"get_location_brands",
|
|
1468
|
+
"get",
|
|
1469
|
+
`/location/brands`,
|
|
1470
|
+
null,
|
|
1471
|
+
options
|
|
1472
|
+
);
|
|
1246
1473
|
}
|
|
1247
1474
|
|
|
1248
1475
|
/**
|
|
@@ -1255,7 +1482,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1255
1482
|
id: string,
|
|
1256
1483
|
options?: Options
|
|
1257
1484
|
): ResponseType<GetLocationBrandDestinationsResponse, Options> {
|
|
1258
|
-
return this.request(
|
|
1485
|
+
return this.request(
|
|
1486
|
+
"location",
|
|
1487
|
+
"get_location_brand_destinations",
|
|
1488
|
+
"get",
|
|
1489
|
+
`/location/brand/${id}/deliverydestinations`,
|
|
1490
|
+
null,
|
|
1491
|
+
options
|
|
1492
|
+
);
|
|
1259
1493
|
}
|
|
1260
1494
|
|
|
1261
1495
|
/**
|
|
@@ -1270,7 +1504,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1270
1504
|
body: PostLocationBrandDocumentBody,
|
|
1271
1505
|
options?: Options
|
|
1272
1506
|
): ResponseType<PostLocationBrandDocumentResponse, Options> {
|
|
1273
|
-
return this.request(
|
|
1507
|
+
return this.request(
|
|
1508
|
+
"location",
|
|
1509
|
+
"post_location_brand_document",
|
|
1510
|
+
"post",
|
|
1511
|
+
`/location/brand/${id}/document`,
|
|
1512
|
+
body,
|
|
1513
|
+
options
|
|
1514
|
+
);
|
|
1274
1515
|
}
|
|
1275
1516
|
|
|
1276
1517
|
/**
|
|
@@ -1283,7 +1524,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1283
1524
|
id: string,
|
|
1284
1525
|
options?: Options
|
|
1285
1526
|
): ResponseType<PatchLocationBrandDocumentResponse, Options> {
|
|
1286
|
-
return this.request(
|
|
1527
|
+
return this.request(
|
|
1528
|
+
"location",
|
|
1529
|
+
"patch_location_brand_document",
|
|
1530
|
+
"patch",
|
|
1531
|
+
`/location/brand/${id}/document`,
|
|
1532
|
+
null,
|
|
1533
|
+
options
|
|
1534
|
+
);
|
|
1287
1535
|
}
|
|
1288
1536
|
|
|
1289
1537
|
/**
|
|
@@ -1296,7 +1544,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1296
1544
|
id: string,
|
|
1297
1545
|
options?: Options
|
|
1298
1546
|
): ResponseType<DeleteLocationBrandDocumentResponse, Options> {
|
|
1299
|
-
return this.request(
|
|
1547
|
+
return this.request(
|
|
1548
|
+
"location",
|
|
1549
|
+
"delete_location_brand_document",
|
|
1550
|
+
"delete",
|
|
1551
|
+
`/location/brand/${id}/document`,
|
|
1552
|
+
null,
|
|
1553
|
+
options
|
|
1554
|
+
);
|
|
1300
1555
|
}
|
|
1301
1556
|
|
|
1302
1557
|
/**
|
|
@@ -1309,7 +1564,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1309
1564
|
id: string,
|
|
1310
1565
|
options?: Options
|
|
1311
1566
|
): ResponseType<GetLocationBrandDocumentsResponse, Options> {
|
|
1312
|
-
return this.request(
|
|
1567
|
+
return this.request(
|
|
1568
|
+
"location",
|
|
1569
|
+
"get_location_brand_documents",
|
|
1570
|
+
"get",
|
|
1571
|
+
`/location/brand/${id}/documents`,
|
|
1572
|
+
null,
|
|
1573
|
+
options
|
|
1574
|
+
);
|
|
1313
1575
|
}
|
|
1314
1576
|
|
|
1315
1577
|
/**
|
|
@@ -1324,7 +1586,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1324
1586
|
query?: GetLocationBrandTimeslotsQuery;
|
|
1325
1587
|
} & Options
|
|
1326
1588
|
): ResponseType<GetLocationBrandTimeslotsResponse, Options> {
|
|
1327
|
-
return this.request(
|
|
1589
|
+
return this.request(
|
|
1590
|
+
"location",
|
|
1591
|
+
"get_location_brand_timeslots",
|
|
1592
|
+
"get",
|
|
1593
|
+
`/location/brand/${id}/timeslots`,
|
|
1594
|
+
null,
|
|
1595
|
+
options
|
|
1596
|
+
);
|
|
1328
1597
|
}
|
|
1329
1598
|
|
|
1330
1599
|
/**
|
|
@@ -1339,7 +1608,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1339
1608
|
query?: PostLocationMarketplaceTimeslotsQuery;
|
|
1340
1609
|
} & Options
|
|
1341
1610
|
): ResponseType<PostLocationMarketplaceTimeslotsResponse, Options> {
|
|
1342
|
-
return this.request(
|
|
1611
|
+
return this.request(
|
|
1612
|
+
"location",
|
|
1613
|
+
"post_location_marketplace_timeslots",
|
|
1614
|
+
"post",
|
|
1615
|
+
`/location/marketplace/timeslots`,
|
|
1616
|
+
body,
|
|
1617
|
+
options
|
|
1618
|
+
);
|
|
1343
1619
|
}
|
|
1344
1620
|
|
|
1345
1621
|
/**
|
|
@@ -1354,7 +1630,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1354
1630
|
query?: PostLocationMarketplaceTimeslotsDeliveryQuery;
|
|
1355
1631
|
} & Options
|
|
1356
1632
|
): ResponseType<PostLocationMarketplaceTimeslotsDeliveryResponse, Options> {
|
|
1357
|
-
return this.request(
|
|
1633
|
+
return this.request(
|
|
1634
|
+
"location",
|
|
1635
|
+
"post_location_marketplace_timeslots_delivery",
|
|
1636
|
+
"post",
|
|
1637
|
+
`/location/marketplace/timeslots/delivery`,
|
|
1638
|
+
body,
|
|
1639
|
+
options
|
|
1640
|
+
);
|
|
1358
1641
|
}
|
|
1359
1642
|
|
|
1360
1643
|
/**
|
|
@@ -1371,7 +1654,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1371
1654
|
query?: GetLocationBrandMenuTimeslotsQuery;
|
|
1372
1655
|
} & Options
|
|
1373
1656
|
): ResponseType<GetLocationBrandMenuTimeslotsResponse, Options> {
|
|
1374
|
-
return this.request(
|
|
1657
|
+
return this.request(
|
|
1658
|
+
"location",
|
|
1659
|
+
"get_location_brand_menu_timeslots",
|
|
1660
|
+
"get",
|
|
1661
|
+
`/location/brand/${id}/timeslots/menu/${menu}`,
|
|
1662
|
+
null,
|
|
1663
|
+
options
|
|
1664
|
+
);
|
|
1375
1665
|
}
|
|
1376
1666
|
|
|
1377
1667
|
/**
|
|
@@ -1386,7 +1676,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1386
1676
|
query?: GetLocationBrandDeliveryTimeslotsQuery;
|
|
1387
1677
|
} & Options
|
|
1388
1678
|
): ResponseType<GetLocationBrandDeliveryTimeslotsResponse, Options> {
|
|
1389
|
-
return this.request(
|
|
1679
|
+
return this.request(
|
|
1680
|
+
"location",
|
|
1681
|
+
"get_location_brand_delivery_timeslots",
|
|
1682
|
+
"get",
|
|
1683
|
+
`/location/brand/${id}/timeslots/delivery`,
|
|
1684
|
+
null,
|
|
1685
|
+
options
|
|
1686
|
+
);
|
|
1390
1687
|
}
|
|
1391
1688
|
|
|
1392
1689
|
/**
|
|
@@ -1404,6 +1701,8 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1404
1701
|
} & Options
|
|
1405
1702
|
): ResponseType<GetLocationBrandMenuDeliveryTimeslostsResponse, Options> {
|
|
1406
1703
|
return this.request(
|
|
1704
|
+
"location",
|
|
1705
|
+
"get_location_brand_menu_delivery_timeslosts",
|
|
1407
1706
|
"get",
|
|
1408
1707
|
`/location/brand/${id}/timeslots/delivery/menu/${menu}`,
|
|
1409
1708
|
null,
|
|
@@ -1421,7 +1720,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1421
1720
|
body: PostLocationBrandBody,
|
|
1422
1721
|
options?: Options
|
|
1423
1722
|
): ResponseType<PostLocationBrandResponse, Options> {
|
|
1424
|
-
return this.request(
|
|
1723
|
+
return this.request(
|
|
1724
|
+
"location",
|
|
1725
|
+
"post_location_brand",
|
|
1726
|
+
"post",
|
|
1727
|
+
`/location/brand`,
|
|
1728
|
+
body,
|
|
1729
|
+
options
|
|
1730
|
+
);
|
|
1425
1731
|
}
|
|
1426
1732
|
|
|
1427
1733
|
/**
|
|
@@ -1436,7 +1742,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1436
1742
|
query?: GetLocationBrandQuery;
|
|
1437
1743
|
} & Options
|
|
1438
1744
|
): ResponseType<GetLocationBrandResponse, Options> {
|
|
1439
|
-
return this.request(
|
|
1745
|
+
return this.request(
|
|
1746
|
+
"location",
|
|
1747
|
+
"get_location_brand",
|
|
1748
|
+
"get",
|
|
1749
|
+
`/location/brand/${id}`,
|
|
1750
|
+
null,
|
|
1751
|
+
options
|
|
1752
|
+
);
|
|
1440
1753
|
}
|
|
1441
1754
|
|
|
1442
1755
|
/**
|
|
@@ -1451,7 +1764,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1451
1764
|
body: PatchLocationBrandBody,
|
|
1452
1765
|
options?: Options
|
|
1453
1766
|
): ResponseType<PatchLocationBrandResponse, Options> {
|
|
1454
|
-
return this.request(
|
|
1767
|
+
return this.request(
|
|
1768
|
+
"location",
|
|
1769
|
+
"patch_location_brand",
|
|
1770
|
+
"patch",
|
|
1771
|
+
`/location/brand/${id}`,
|
|
1772
|
+
body,
|
|
1773
|
+
options
|
|
1774
|
+
);
|
|
1455
1775
|
}
|
|
1456
1776
|
|
|
1457
1777
|
/**
|
|
@@ -1466,7 +1786,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1466
1786
|
body: DeleteLocationBrandBody,
|
|
1467
1787
|
options?: Options
|
|
1468
1788
|
): ResponseType<DeleteLocationBrandResponse, Options> {
|
|
1469
|
-
return this.request(
|
|
1789
|
+
return this.request(
|
|
1790
|
+
"location",
|
|
1791
|
+
"delete_location_brand",
|
|
1792
|
+
"delete",
|
|
1793
|
+
`/location/brand/${id}`,
|
|
1794
|
+
body,
|
|
1795
|
+
options
|
|
1796
|
+
);
|
|
1470
1797
|
}
|
|
1471
1798
|
|
|
1472
1799
|
/**
|
|
@@ -1481,7 +1808,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1481
1808
|
body: PutLocationBrandBody,
|
|
1482
1809
|
options?: Options
|
|
1483
1810
|
): ResponseType<PutLocationBrandResponse, Options> {
|
|
1484
|
-
return this.request(
|
|
1811
|
+
return this.request(
|
|
1812
|
+
"location",
|
|
1813
|
+
"put_location_brand",
|
|
1814
|
+
"put",
|
|
1815
|
+
`/location/brand/${id}`,
|
|
1816
|
+
body,
|
|
1817
|
+
options
|
|
1818
|
+
);
|
|
1485
1819
|
}
|
|
1486
1820
|
|
|
1487
1821
|
/**
|
|
@@ -1492,7 +1826,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1492
1826
|
get_location_sectors<Options extends RequestOptions>(
|
|
1493
1827
|
options?: Options
|
|
1494
1828
|
): ResponseType<GetLocationSectorsResponse, Options> {
|
|
1495
|
-
return this.request(
|
|
1829
|
+
return this.request(
|
|
1830
|
+
"location",
|
|
1831
|
+
"get_location_sectors",
|
|
1832
|
+
"get",
|
|
1833
|
+
`/location/sector`,
|
|
1834
|
+
null,
|
|
1835
|
+
options
|
|
1836
|
+
);
|
|
1496
1837
|
}
|
|
1497
1838
|
|
|
1498
1839
|
/**
|
|
@@ -1505,7 +1846,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1505
1846
|
body: PostLocationSectorBody,
|
|
1506
1847
|
options?: Options
|
|
1507
1848
|
): ResponseType<PostLocationSectorResponse, Options> {
|
|
1508
|
-
return this.request(
|
|
1849
|
+
return this.request(
|
|
1850
|
+
"location",
|
|
1851
|
+
"post_location_sector",
|
|
1852
|
+
"post",
|
|
1853
|
+
`/location/sector`,
|
|
1854
|
+
body,
|
|
1855
|
+
options
|
|
1856
|
+
);
|
|
1509
1857
|
}
|
|
1510
1858
|
|
|
1511
1859
|
/**
|
|
@@ -1520,7 +1868,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1520
1868
|
query?: GetLocationSectorQuery;
|
|
1521
1869
|
} & Options
|
|
1522
1870
|
): ResponseType<GetLocationSectorResponse, Options> {
|
|
1523
|
-
return this.request(
|
|
1871
|
+
return this.request(
|
|
1872
|
+
"location",
|
|
1873
|
+
"get_location_sector",
|
|
1874
|
+
"get",
|
|
1875
|
+
`/location/sector/${id}`,
|
|
1876
|
+
null,
|
|
1877
|
+
options
|
|
1878
|
+
);
|
|
1524
1879
|
}
|
|
1525
1880
|
|
|
1526
1881
|
/**
|
|
@@ -1537,7 +1892,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1537
1892
|
query?: PatchLocationSectorQuery;
|
|
1538
1893
|
} & Options
|
|
1539
1894
|
): ResponseType<PatchLocationSectorResponse, Options> {
|
|
1540
|
-
return this.request(
|
|
1895
|
+
return this.request(
|
|
1896
|
+
"location",
|
|
1897
|
+
"patch_location_sector",
|
|
1898
|
+
"patch",
|
|
1899
|
+
`/location/sector/${id}`,
|
|
1900
|
+
body,
|
|
1901
|
+
options
|
|
1902
|
+
);
|
|
1541
1903
|
}
|
|
1542
1904
|
|
|
1543
1905
|
/**
|
|
@@ -1550,7 +1912,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1550
1912
|
body: PostLocationCompanyBody,
|
|
1551
1913
|
options?: Options
|
|
1552
1914
|
): ResponseType<PostLocationCompanyResponse, Options> {
|
|
1553
|
-
return this.request(
|
|
1915
|
+
return this.request(
|
|
1916
|
+
"location",
|
|
1917
|
+
"post_location_company",
|
|
1918
|
+
"post",
|
|
1919
|
+
`/location/company`,
|
|
1920
|
+
body,
|
|
1921
|
+
options
|
|
1922
|
+
);
|
|
1554
1923
|
}
|
|
1555
1924
|
|
|
1556
1925
|
/**
|
|
@@ -1565,7 +1934,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1565
1934
|
query?: GetLocationCompanyQuery;
|
|
1566
1935
|
} & Options
|
|
1567
1936
|
): ResponseType<GetLocationCompanyResponse, Options> {
|
|
1568
|
-
return this.request(
|
|
1937
|
+
return this.request(
|
|
1938
|
+
"location",
|
|
1939
|
+
"get_location_company",
|
|
1940
|
+
"get",
|
|
1941
|
+
`/location/company/${id}`,
|
|
1942
|
+
null,
|
|
1943
|
+
options
|
|
1944
|
+
);
|
|
1569
1945
|
}
|
|
1570
1946
|
|
|
1571
1947
|
/**
|
|
@@ -1580,7 +1956,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1580
1956
|
body: PatchLocationCompanyBody,
|
|
1581
1957
|
options?: Options
|
|
1582
1958
|
): ResponseType<PatchLocationCompanyResponse, Options> {
|
|
1583
|
-
return this.request(
|
|
1959
|
+
return this.request(
|
|
1960
|
+
"location",
|
|
1961
|
+
"patch_location_company",
|
|
1962
|
+
"patch",
|
|
1963
|
+
`/location/company/${id}`,
|
|
1964
|
+
body,
|
|
1965
|
+
options
|
|
1966
|
+
);
|
|
1584
1967
|
}
|
|
1585
1968
|
|
|
1586
1969
|
/**
|
|
@@ -1593,7 +1976,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1593
1976
|
body: PostShoppingcartCartBody,
|
|
1594
1977
|
options?: Options
|
|
1595
1978
|
): ResponseType<PostShoppingcartCartResponse, Options> {
|
|
1596
|
-
return this.request(
|
|
1979
|
+
return this.request(
|
|
1980
|
+
"shoppingcart",
|
|
1981
|
+
"post_shoppingcart_cart",
|
|
1982
|
+
"post",
|
|
1983
|
+
`/shoppingcart/`,
|
|
1984
|
+
body,
|
|
1985
|
+
options
|
|
1986
|
+
);
|
|
1597
1987
|
}
|
|
1598
1988
|
|
|
1599
1989
|
/**
|
|
@@ -1608,7 +1998,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1608
1998
|
body: PutShoppingcartCartItemsBody,
|
|
1609
1999
|
options?: Options
|
|
1610
2000
|
): ResponseType<PutShoppingcartCartItemsResponse, Options> {
|
|
1611
|
-
return this.request(
|
|
2001
|
+
return this.request(
|
|
2002
|
+
"shoppingcart",
|
|
2003
|
+
"put_shoppingcart_cart_items",
|
|
2004
|
+
"put",
|
|
2005
|
+
`/shoppingcart/${id}`,
|
|
2006
|
+
body,
|
|
2007
|
+
options
|
|
2008
|
+
);
|
|
1612
2009
|
}
|
|
1613
2010
|
|
|
1614
2011
|
/**
|
|
@@ -1623,7 +2020,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1623
2020
|
body: DeleteShoppingcartCartItemsBody,
|
|
1624
2021
|
options?: Options
|
|
1625
2022
|
): ResponseType<DeleteShoppingcartCartItemsResponse, Options> {
|
|
1626
|
-
return this.request(
|
|
2023
|
+
return this.request(
|
|
2024
|
+
"shoppingcart",
|
|
2025
|
+
"delete_shoppingcart_cart_items",
|
|
2026
|
+
"delete",
|
|
2027
|
+
`/shoppingcart/${id}`,
|
|
2028
|
+
body,
|
|
2029
|
+
options
|
|
2030
|
+
);
|
|
1627
2031
|
}
|
|
1628
2032
|
|
|
1629
2033
|
/**
|
|
@@ -1636,7 +2040,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1636
2040
|
id: string,
|
|
1637
2041
|
options?: Options
|
|
1638
2042
|
): ResponseType<GetShoppingcartCartResponse, Options> {
|
|
1639
|
-
return this.request(
|
|
2043
|
+
return this.request(
|
|
2044
|
+
"shoppingcart",
|
|
2045
|
+
"get_shoppingcart_cart",
|
|
2046
|
+
"get",
|
|
2047
|
+
`/shoppingcart/${id}`,
|
|
2048
|
+
null,
|
|
2049
|
+
options
|
|
2050
|
+
);
|
|
1640
2051
|
}
|
|
1641
2052
|
|
|
1642
2053
|
/**
|
|
@@ -1649,7 +2060,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1649
2060
|
id: string,
|
|
1650
2061
|
options?: Options
|
|
1651
2062
|
): ResponseType<PatchShoppingcartCartResponse, Options> {
|
|
1652
|
-
return this.request(
|
|
2063
|
+
return this.request(
|
|
2064
|
+
"shoppingcart",
|
|
2065
|
+
"patch_shoppingcart_cart",
|
|
2066
|
+
"patch",
|
|
2067
|
+
`/shoppingcart/${id}`,
|
|
2068
|
+
null,
|
|
2069
|
+
options
|
|
2070
|
+
);
|
|
1653
2071
|
}
|
|
1654
2072
|
|
|
1655
2073
|
/**
|
|
@@ -1664,7 +2082,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1664
2082
|
body: PutShoppingcartCartPromoBody,
|
|
1665
2083
|
options?: Options
|
|
1666
2084
|
): ResponseType<PutShoppingcartCartPromoResponse, Options> {
|
|
1667
|
-
return this.request(
|
|
2085
|
+
return this.request(
|
|
2086
|
+
"shoppingcart",
|
|
2087
|
+
"put_shoppingcart_cart_promo",
|
|
2088
|
+
"put",
|
|
2089
|
+
`/shoppingcart/${id}/promo`,
|
|
2090
|
+
body,
|
|
2091
|
+
options
|
|
2092
|
+
);
|
|
1668
2093
|
}
|
|
1669
2094
|
|
|
1670
2095
|
/**
|
|
@@ -1677,7 +2102,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1677
2102
|
id: string,
|
|
1678
2103
|
options?: Options
|
|
1679
2104
|
): ResponseType<DeleteShoppingcartCartPromoResponse, Options> {
|
|
1680
|
-
return this.request(
|
|
2105
|
+
return this.request(
|
|
2106
|
+
"shoppingcart",
|
|
2107
|
+
"delete_shoppingcart_cart_promo",
|
|
2108
|
+
"delete",
|
|
2109
|
+
`/shoppingcart/${id}/promo`,
|
|
2110
|
+
null,
|
|
2111
|
+
options
|
|
2112
|
+
);
|
|
1681
2113
|
}
|
|
1682
2114
|
|
|
1683
2115
|
/**
|
|
@@ -1692,7 +2124,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1692
2124
|
body: PutShoppingcartCartPaymentBody,
|
|
1693
2125
|
options?: Options
|
|
1694
2126
|
): ResponseType<PutShoppingcartCartPaymentResponse, Options> {
|
|
1695
|
-
return this.request(
|
|
2127
|
+
return this.request(
|
|
2128
|
+
"shoppingcart",
|
|
2129
|
+
"put_shoppingcart_cart_payment",
|
|
2130
|
+
"put",
|
|
2131
|
+
`/shoppingcart/${id}/paymentmethod/`,
|
|
2132
|
+
body,
|
|
2133
|
+
options
|
|
2134
|
+
);
|
|
1696
2135
|
}
|
|
1697
2136
|
|
|
1698
2137
|
/**
|
|
@@ -1707,7 +2146,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1707
2146
|
body: PutShoppingcartCartOrderBody,
|
|
1708
2147
|
options?: Options
|
|
1709
2148
|
): ResponseType<PutShoppingcartCartOrderResponse, Options> {
|
|
1710
|
-
return this.request(
|
|
2149
|
+
return this.request(
|
|
2150
|
+
"shoppingcart",
|
|
2151
|
+
"put_shoppingcart_cart_order",
|
|
2152
|
+
"put",
|
|
2153
|
+
`/shoppingcart/${id}/order/`,
|
|
2154
|
+
body,
|
|
2155
|
+
options
|
|
2156
|
+
);
|
|
1711
2157
|
}
|
|
1712
2158
|
|
|
1713
2159
|
/**
|
|
@@ -1724,7 +2170,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1724
2170
|
body: PutShoppingcartCartLoyaltyBody,
|
|
1725
2171
|
options?: Options
|
|
1726
2172
|
): ResponseType<PutShoppingcartCartLoyaltyResponse, Options> {
|
|
1727
|
-
return this.request(
|
|
2173
|
+
return this.request(
|
|
2174
|
+
"shoppingcart",
|
|
2175
|
+
"put_shoppingcart_cart_loyalty",
|
|
2176
|
+
"put",
|
|
2177
|
+
`/shoppingcart/${id}/loyalty/${user_id}`,
|
|
2178
|
+
body,
|
|
2179
|
+
options
|
|
2180
|
+
);
|
|
1728
2181
|
}
|
|
1729
2182
|
|
|
1730
2183
|
/**
|
|
@@ -1739,7 +2192,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1739
2192
|
user_id: string,
|
|
1740
2193
|
options?: Options
|
|
1741
2194
|
): ResponseType<DeleteShoppingcartCartLoyaltyResponse, Options> {
|
|
1742
|
-
return this.request(
|
|
2195
|
+
return this.request(
|
|
2196
|
+
"shoppingcart",
|
|
2197
|
+
"delete_shoppingcart_cart_loyalty",
|
|
2198
|
+
"delete",
|
|
2199
|
+
`/shoppingcart/${id}/loyalty/${user_id}`,
|
|
2200
|
+
null,
|
|
2201
|
+
options
|
|
2202
|
+
);
|
|
1743
2203
|
}
|
|
1744
2204
|
|
|
1745
2205
|
/**
|
|
@@ -1754,7 +2214,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1754
2214
|
body: PostShoppingcartCloneCartBody,
|
|
1755
2215
|
options?: Options
|
|
1756
2216
|
): ResponseType<PostShoppingcartCloneCartResponse, Options> {
|
|
1757
|
-
return this.request(
|
|
2217
|
+
return this.request(
|
|
2218
|
+
"shoppingcart",
|
|
2219
|
+
"post_shoppingcart_clone_cart",
|
|
2220
|
+
"post",
|
|
2221
|
+
`/shoppingcart/${id}/clone`,
|
|
2222
|
+
body,
|
|
2223
|
+
options
|
|
2224
|
+
);
|
|
1758
2225
|
}
|
|
1759
2226
|
|
|
1760
2227
|
/**
|
|
@@ -1767,7 +2234,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1767
2234
|
body: PostShoppingcartBulkBody,
|
|
1768
2235
|
options?: Options
|
|
1769
2236
|
): ResponseType<PostShoppingcartBulkResponse, Options> {
|
|
1770
|
-
return this.request(
|
|
2237
|
+
return this.request(
|
|
2238
|
+
"shoppingcart",
|
|
2239
|
+
"post_shoppingcart_bulk",
|
|
2240
|
+
"post",
|
|
2241
|
+
`/shoppingcart/bulk`,
|
|
2242
|
+
body,
|
|
2243
|
+
options
|
|
2244
|
+
);
|
|
1771
2245
|
}
|
|
1772
2246
|
|
|
1773
2247
|
/**
|
|
@@ -1780,7 +2254,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1780
2254
|
body: PostPartnerStandardcognitionShoppingcartBody,
|
|
1781
2255
|
options?: Options
|
|
1782
2256
|
): ResponseType<PostPartnerStandardcognitionShoppingcartResponse, Options> {
|
|
1783
|
-
return this.request(
|
|
2257
|
+
return this.request(
|
|
2258
|
+
"partner",
|
|
2259
|
+
"post_partner_standardcognition_shoppingcart",
|
|
2260
|
+
"post",
|
|
2261
|
+
`/partner/standardcognition/shoppingcart`,
|
|
2262
|
+
body,
|
|
2263
|
+
options
|
|
2264
|
+
);
|
|
1784
2265
|
}
|
|
1785
2266
|
|
|
1786
2267
|
/**
|
|
@@ -1791,7 +2272,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1791
2272
|
get_partner_standardcognition_locations<Options extends RequestOptions>(
|
|
1792
2273
|
options?: Options
|
|
1793
2274
|
): ResponseType<GetPartnerStandardcognitionLocationsResponse, Options> {
|
|
1794
|
-
return this.request(
|
|
2275
|
+
return this.request(
|
|
2276
|
+
"partner",
|
|
2277
|
+
"get_partner_standardcognition_locations",
|
|
2278
|
+
"get",
|
|
2279
|
+
`/partner/standardcognition/locations`,
|
|
2280
|
+
null,
|
|
2281
|
+
options
|
|
2282
|
+
);
|
|
1795
2283
|
}
|
|
1796
2284
|
|
|
1797
2285
|
/**
|
|
@@ -1802,7 +2290,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1802
2290
|
get_partner_coolr_locations<Options extends RequestOptions>(
|
|
1803
2291
|
options?: Options
|
|
1804
2292
|
): ResponseType<GetPartnerCoolrLocationsResponse, Options> {
|
|
1805
|
-
return this.request(
|
|
2293
|
+
return this.request(
|
|
2294
|
+
"partner",
|
|
2295
|
+
"get_partner_coolr_locations",
|
|
2296
|
+
"get",
|
|
2297
|
+
`/partner/coolr/locations`,
|
|
2298
|
+
null,
|
|
2299
|
+
options
|
|
2300
|
+
);
|
|
1806
2301
|
}
|
|
1807
2302
|
|
|
1808
2303
|
/**
|
|
@@ -1815,7 +2310,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1815
2310
|
id: string,
|
|
1816
2311
|
options?: Options
|
|
1817
2312
|
): ResponseType<GetPartnerCoolrImagesResponse, Options> {
|
|
1818
|
-
return this.request(
|
|
2313
|
+
return this.request(
|
|
2314
|
+
"partner",
|
|
2315
|
+
"get_partner_coolr_images",
|
|
2316
|
+
"get",
|
|
2317
|
+
`/partner/coolr/${id}/images`,
|
|
2318
|
+
null,
|
|
2319
|
+
options
|
|
2320
|
+
);
|
|
1819
2321
|
}
|
|
1820
2322
|
|
|
1821
2323
|
/**
|
|
@@ -1826,7 +2328,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1826
2328
|
get_partner_swagger<Options extends RequestOptions>(
|
|
1827
2329
|
options?: Options
|
|
1828
2330
|
): ResponseType<GetPartnerSwaggerResponse, Options> {
|
|
1829
|
-
return this.request(
|
|
2331
|
+
return this.request(
|
|
2332
|
+
"partner",
|
|
2333
|
+
"get_partner_swagger",
|
|
2334
|
+
"get",
|
|
2335
|
+
`/partner/swagger.json`,
|
|
2336
|
+
null,
|
|
2337
|
+
options
|
|
2338
|
+
);
|
|
1830
2339
|
}
|
|
1831
2340
|
|
|
1832
2341
|
/**
|
|
@@ -1839,7 +2348,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1839
2348
|
body: PostTaskBody,
|
|
1840
2349
|
options?: Options
|
|
1841
2350
|
): ResponseType<PostTaskResponse, Options> {
|
|
1842
|
-
return this.request("post", `/task/`, body, options);
|
|
2351
|
+
return this.request("task", "post_task", "post", `/task/`, body, options);
|
|
1843
2352
|
}
|
|
1844
2353
|
|
|
1845
2354
|
/**
|
|
@@ -1852,7 +2361,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1852
2361
|
id: string,
|
|
1853
2362
|
options?: Options
|
|
1854
2363
|
): ResponseType<GetTaskResponse, Options> {
|
|
1855
|
-
return this.request("get", `/task/${id}`, null, options);
|
|
2364
|
+
return this.request("task", "get_task", "get", `/task/${id}`, null, options);
|
|
1856
2365
|
}
|
|
1857
2366
|
|
|
1858
2367
|
/**
|
|
@@ -1867,7 +2376,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1867
2376
|
body: PatchTaskBody,
|
|
1868
2377
|
options?: Options
|
|
1869
2378
|
): ResponseType<PatchTaskResponse, Options> {
|
|
1870
|
-
return this.request("patch", `/task/${id}`, body, options);
|
|
2379
|
+
return this.request("task", "patch_task", "patch", `/task/${id}`, body, options);
|
|
1871
2380
|
}
|
|
1872
2381
|
|
|
1873
2382
|
/**
|
|
@@ -1880,7 +2389,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1880
2389
|
id: string,
|
|
1881
2390
|
options?: Options
|
|
1882
2391
|
): ResponseType<DeleteTaskResponse, Options> {
|
|
1883
|
-
return this.request("delete", `/task/${id}`, null, options);
|
|
2392
|
+
return this.request("task", "delete_task", "delete", `/task/${id}`, null, options);
|
|
1884
2393
|
}
|
|
1885
2394
|
|
|
1886
2395
|
/**
|
|
@@ -1893,7 +2402,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1893
2402
|
id: string,
|
|
1894
2403
|
options?: Options
|
|
1895
2404
|
): ResponseType<GetTaskOrderResponse, Options> {
|
|
1896
|
-
return this.request("get", `/task/order/${id}`, null, options);
|
|
2405
|
+
return this.request("task", "get_task_order", "get", `/task/order/${id}`, null, options);
|
|
1897
2406
|
}
|
|
1898
2407
|
|
|
1899
2408
|
/**
|
|
@@ -1906,7 +2415,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1906
2415
|
id: string,
|
|
1907
2416
|
options?: Options
|
|
1908
2417
|
): ResponseType<GetTaskOrderKdsResponse, Options> {
|
|
1909
|
-
return this.request(
|
|
2418
|
+
return this.request(
|
|
2419
|
+
"task",
|
|
2420
|
+
"get_task_order_kds",
|
|
2421
|
+
"get",
|
|
2422
|
+
`/task/order/${id}/kds`,
|
|
2423
|
+
null,
|
|
2424
|
+
options
|
|
2425
|
+
);
|
|
1910
2426
|
}
|
|
1911
2427
|
|
|
1912
2428
|
/**
|
|
@@ -1921,7 +2437,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1921
2437
|
body: PatchTaskOrderKdsBody,
|
|
1922
2438
|
options?: Options
|
|
1923
2439
|
): ResponseType<PatchTaskOrderKdsResponse, Options> {
|
|
1924
|
-
return this.request(
|
|
2440
|
+
return this.request(
|
|
2441
|
+
"task",
|
|
2442
|
+
"patch_task_order_kds",
|
|
2443
|
+
"patch",
|
|
2444
|
+
`/task/order/${id}/kds`,
|
|
2445
|
+
body,
|
|
2446
|
+
options
|
|
2447
|
+
);
|
|
1925
2448
|
}
|
|
1926
2449
|
|
|
1927
2450
|
/**
|
|
@@ -1936,7 +2459,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1936
2459
|
query?: GetTaskAssigneeQuery;
|
|
1937
2460
|
} & Options
|
|
1938
2461
|
): ResponseType<GetTaskAssigneeResponse, Options> {
|
|
1939
|
-
return this.request("get", `/task/assignee/${id}`, null, options);
|
|
2462
|
+
return this.request("task", "get_task_assignee", "get", `/task/assignee/${id}`, null, options);
|
|
1940
2463
|
}
|
|
1941
2464
|
|
|
1942
2465
|
/**
|
|
@@ -1951,7 +2474,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1951
2474
|
query?: GetTaskLocationBrandQuery;
|
|
1952
2475
|
} & Options
|
|
1953
2476
|
): ResponseType<GetTaskLocationBrandResponse, Options> {
|
|
1954
|
-
return this.request(
|
|
2477
|
+
return this.request(
|
|
2478
|
+
"task",
|
|
2479
|
+
"get_task_location_brand",
|
|
2480
|
+
"get",
|
|
2481
|
+
`/task/location/brand/${id}`,
|
|
2482
|
+
null,
|
|
2483
|
+
options
|
|
2484
|
+
);
|
|
1955
2485
|
}
|
|
1956
2486
|
|
|
1957
2487
|
/**
|
|
@@ -1966,7 +2496,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1966
2496
|
query?: GetTaskLocationGroupQuery;
|
|
1967
2497
|
} & Options
|
|
1968
2498
|
): ResponseType<GetTaskLocationGroupResponse, Options> {
|
|
1969
|
-
return this.request(
|
|
2499
|
+
return this.request(
|
|
2500
|
+
"task",
|
|
2501
|
+
"get_task_location_group",
|
|
2502
|
+
"get",
|
|
2503
|
+
`/task/location/group/${id}`,
|
|
2504
|
+
null,
|
|
2505
|
+
options
|
|
2506
|
+
);
|
|
1970
2507
|
}
|
|
1971
2508
|
|
|
1972
2509
|
/**
|
|
@@ -1979,7 +2516,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1979
2516
|
query: GetKdsDevicesQuery;
|
|
1980
2517
|
} & Options
|
|
1981
2518
|
): ResponseType<GetKdsDevicesResponse, Options> {
|
|
1982
|
-
return this.request("get", `/kds/devices`, null, options);
|
|
2519
|
+
return this.request("kds", "get_kds_devices", "get", `/kds/devices`, null, options);
|
|
1983
2520
|
}
|
|
1984
2521
|
|
|
1985
2522
|
/**
|
|
@@ -1992,7 +2529,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1992
2529
|
body: PostKdsDeviceAuthBody,
|
|
1993
2530
|
options?: Options
|
|
1994
2531
|
): ResponseType<PostKdsDeviceAuthResponse, Options> {
|
|
1995
|
-
return this.request("post", `/kds/device/auth`, body, options);
|
|
2532
|
+
return this.request("kds", "post_kds_device_auth", "post", `/kds/device/auth`, body, options);
|
|
1996
2533
|
}
|
|
1997
2534
|
|
|
1998
2535
|
/**
|
|
@@ -2005,7 +2542,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2005
2542
|
device_id: string,
|
|
2006
2543
|
options?: Options
|
|
2007
2544
|
): ResponseType<DeleteKdsDeviceAuthResponse, Options> {
|
|
2008
|
-
return this.request(
|
|
2545
|
+
return this.request(
|
|
2546
|
+
"kds",
|
|
2547
|
+
"delete_kds_device_auth",
|
|
2548
|
+
"delete",
|
|
2549
|
+
`/kds/device/auth/${device_id}`,
|
|
2550
|
+
null,
|
|
2551
|
+
options
|
|
2552
|
+
);
|
|
2009
2553
|
}
|
|
2010
2554
|
|
|
2011
2555
|
/**
|
|
@@ -2016,7 +2560,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2016
2560
|
get_kds_swagger<Options extends RequestOptions>(
|
|
2017
2561
|
options?: Options
|
|
2018
2562
|
): ResponseType<GetKdsSwaggerResponse, Options> {
|
|
2019
|
-
return this.request("get", `/kds/swagger.json`, null, options);
|
|
2563
|
+
return this.request("kds", "get_kds_swagger", "get", `/kds/swagger.json`, null, options);
|
|
2020
2564
|
}
|
|
2021
2565
|
|
|
2022
2566
|
/**
|
|
@@ -2031,7 +2575,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2031
2575
|
body: PostMealplanBody,
|
|
2032
2576
|
options?: Options
|
|
2033
2577
|
): ResponseType<PostMealplanResponse, Options> {
|
|
2034
|
-
return this.request("post", `/mealplan/${id}`, body, options);
|
|
2578
|
+
return this.request("mealplan", "post_mealplan", "post", `/mealplan/${id}`, body, options);
|
|
2035
2579
|
}
|
|
2036
2580
|
|
|
2037
2581
|
/**
|
|
@@ -2046,7 +2590,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2046
2590
|
body: PutMealplanBody,
|
|
2047
2591
|
options?: Options
|
|
2048
2592
|
): ResponseType<PutMealplanResponse, Options> {
|
|
2049
|
-
return this.request("put", `/mealplan/${id}`, body, options);
|
|
2593
|
+
return this.request("mealplan", "put_mealplan", "put", `/mealplan/${id}`, body, options);
|
|
2050
2594
|
}
|
|
2051
2595
|
|
|
2052
2596
|
/**
|
|
@@ -2059,7 +2603,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2059
2603
|
id: string,
|
|
2060
2604
|
options?: Options
|
|
2061
2605
|
): ResponseType<GetMealplanResponse, Options> {
|
|
2062
|
-
return this.request("get", `/mealplan/${id}`, null, options);
|
|
2606
|
+
return this.request("mealplan", "get_mealplan", "get", `/mealplan/${id}`, null, options);
|
|
2063
2607
|
}
|
|
2064
2608
|
|
|
2065
2609
|
/**
|
|
@@ -2074,7 +2618,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2074
2618
|
body: DeleteMealplanBody,
|
|
2075
2619
|
options?: Options
|
|
2076
2620
|
): ResponseType<DeleteMealplanResponse, Options> {
|
|
2077
|
-
return this.request("delete", `/mealplan/${id}`, body, options);
|
|
2621
|
+
return this.request("mealplan", "delete_mealplan", "delete", `/mealplan/${id}`, body, options);
|
|
2078
2622
|
}
|
|
2079
2623
|
|
|
2080
2624
|
/**
|
|
@@ -2087,7 +2631,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2087
2631
|
id: string,
|
|
2088
2632
|
options?: Options
|
|
2089
2633
|
): ResponseType<PostMealplanCallbackResponse, Options> {
|
|
2090
|
-
return this.request(
|
|
2634
|
+
return this.request(
|
|
2635
|
+
"mealplan",
|
|
2636
|
+
"post_mealplan_callback",
|
|
2637
|
+
"post",
|
|
2638
|
+
`/mealplan/${id}/callback`,
|
|
2639
|
+
null,
|
|
2640
|
+
options
|
|
2641
|
+
);
|
|
2091
2642
|
}
|
|
2092
2643
|
|
|
2093
2644
|
/**
|
|
@@ -2102,7 +2653,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2102
2653
|
tender: string,
|
|
2103
2654
|
options?: Options
|
|
2104
2655
|
): ResponseType<GetMealplanTenderResponse, Options> {
|
|
2105
|
-
return this.request(
|
|
2656
|
+
return this.request(
|
|
2657
|
+
"mealplan",
|
|
2658
|
+
"get_mealplan_tender",
|
|
2659
|
+
"get",
|
|
2660
|
+
`/mealplan/${id}/tender/${tender}`,
|
|
2661
|
+
null,
|
|
2662
|
+
options
|
|
2663
|
+
);
|
|
2106
2664
|
}
|
|
2107
2665
|
|
|
2108
2666
|
/**
|
|
@@ -2117,7 +2675,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2117
2675
|
tender: string,
|
|
2118
2676
|
options?: Options
|
|
2119
2677
|
): ResponseType<DeleteMealplanTenderResponse, Options> {
|
|
2120
|
-
return this.request(
|
|
2678
|
+
return this.request(
|
|
2679
|
+
"mealplan",
|
|
2680
|
+
"delete_mealplan_tender",
|
|
2681
|
+
"delete",
|
|
2682
|
+
`/mealplan/${id}/tender/${tender}`,
|
|
2683
|
+
null,
|
|
2684
|
+
options
|
|
2685
|
+
);
|
|
2121
2686
|
}
|
|
2122
2687
|
|
|
2123
2688
|
/**
|
|
@@ -2134,7 +2699,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2134
2699
|
body: PatchMealplanTenderBody,
|
|
2135
2700
|
options?: Options
|
|
2136
2701
|
): ResponseType<PatchMealplanTenderResponse, Options> {
|
|
2137
|
-
return this.request(
|
|
2702
|
+
return this.request(
|
|
2703
|
+
"mealplan",
|
|
2704
|
+
"patch_mealplan_tender",
|
|
2705
|
+
"patch",
|
|
2706
|
+
`/mealplan/${id}/tender/${tender}`,
|
|
2707
|
+
body,
|
|
2708
|
+
options
|
|
2709
|
+
);
|
|
2138
2710
|
}
|
|
2139
2711
|
|
|
2140
2712
|
/**
|
|
@@ -2151,7 +2723,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2151
2723
|
query?: PostMealplanVerifyQuery;
|
|
2152
2724
|
} & Options
|
|
2153
2725
|
): ResponseType<PostMealplanVerifyResponse, Options> {
|
|
2154
|
-
return this.request(
|
|
2726
|
+
return this.request(
|
|
2727
|
+
"mealplan",
|
|
2728
|
+
"post_mealplan_verify",
|
|
2729
|
+
"post",
|
|
2730
|
+
`/mealplan/${id}/verify`,
|
|
2731
|
+
body,
|
|
2732
|
+
options
|
|
2733
|
+
);
|
|
2155
2734
|
}
|
|
2156
2735
|
|
|
2157
2736
|
/**
|
|
@@ -2166,7 +2745,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2166
2745
|
body: PutMealplanVerifyBody,
|
|
2167
2746
|
options?: Options
|
|
2168
2747
|
): ResponseType<PutMealplanVerifyResponse, Options> {
|
|
2169
|
-
return this.request(
|
|
2748
|
+
return this.request(
|
|
2749
|
+
"mealplan",
|
|
2750
|
+
"put_mealplan_verify",
|
|
2751
|
+
"put",
|
|
2752
|
+
`/mealplan/${id}/verify`,
|
|
2753
|
+
body,
|
|
2754
|
+
options
|
|
2755
|
+
);
|
|
2170
2756
|
}
|
|
2171
2757
|
|
|
2172
2758
|
/**
|
|
@@ -2181,7 +2767,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2181
2767
|
body: PostMealplanAuthorizeBody,
|
|
2182
2768
|
options?: Options
|
|
2183
2769
|
): ResponseType<PostMealplanAuthorizeResponse, Options> {
|
|
2184
|
-
return this.request(
|
|
2770
|
+
return this.request(
|
|
2771
|
+
"mealplan",
|
|
2772
|
+
"post_mealplan_authorize",
|
|
2773
|
+
"post",
|
|
2774
|
+
`/mealplan/${id}/authorize`,
|
|
2775
|
+
body,
|
|
2776
|
+
options
|
|
2777
|
+
);
|
|
2185
2778
|
}
|
|
2186
2779
|
|
|
2187
2780
|
/**
|
|
@@ -2194,7 +2787,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2194
2787
|
body: PostDatalakeSqlBody,
|
|
2195
2788
|
options?: Options
|
|
2196
2789
|
): ResponseType<PostDatalakeSqlResponse, Options> {
|
|
2197
|
-
return this.request("post", `/datalake/sql`, body, options);
|
|
2790
|
+
return this.request("datalake", "post_datalake_sql", "post", `/datalake/sql`, body, options);
|
|
2198
2791
|
}
|
|
2199
2792
|
|
|
2200
2793
|
/**
|
|
@@ -2205,7 +2798,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2205
2798
|
get_swagger<Options extends RequestOptions>(
|
|
2206
2799
|
options?: Options
|
|
2207
2800
|
): ResponseType<GetSwaggerResponse, Options> {
|
|
2208
|
-
return this.request("get", `/swagger.json`, null, options);
|
|
2801
|
+
return this.request("datalake", "get_swagger", "get", `/swagger.json`, null, options);
|
|
2209
2802
|
}
|
|
2210
2803
|
|
|
2211
2804
|
/**
|
|
@@ -2218,7 +2811,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2218
2811
|
body: PostPromoBody,
|
|
2219
2812
|
options?: Options
|
|
2220
2813
|
): ResponseType<PostPromoResponse, Options> {
|
|
2221
|
-
return this.request("post", `/promo`, body, options);
|
|
2814
|
+
return this.request("promo", "post_promo", "post", `/promo`, body, options);
|
|
2222
2815
|
}
|
|
2223
2816
|
|
|
2224
2817
|
/**
|
|
@@ -2231,7 +2824,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2231
2824
|
query?: GetPromosQuery;
|
|
2232
2825
|
} & Options
|
|
2233
2826
|
): ResponseType<GetPromosResponse, Options> {
|
|
2234
|
-
return this.request("get", `/promo`, null, options);
|
|
2827
|
+
return this.request("promo", "get_promos", "get", `/promo`, null, options);
|
|
2235
2828
|
}
|
|
2236
2829
|
|
|
2237
2830
|
/**
|
|
@@ -2246,7 +2839,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2246
2839
|
query?: GetPromoQuery;
|
|
2247
2840
|
} & Options
|
|
2248
2841
|
): ResponseType<GetPromoResponse, Options> {
|
|
2249
|
-
return this.request("get", `/promo/${id}`, null, options);
|
|
2842
|
+
return this.request("promo", "get_promo", "get", `/promo/${id}`, null, options);
|
|
2250
2843
|
}
|
|
2251
2844
|
|
|
2252
2845
|
/**
|
|
@@ -2261,7 +2854,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2261
2854
|
body: PutPromoBody,
|
|
2262
2855
|
options?: Options
|
|
2263
2856
|
): ResponseType<PutPromoResponse, Options> {
|
|
2264
|
-
return this.request("put", `/promo/${id}`, body, options);
|
|
2857
|
+
return this.request("promo", "put_promo", "put", `/promo/${id}`, body, options);
|
|
2265
2858
|
}
|
|
2266
2859
|
|
|
2267
2860
|
/**
|
|
@@ -2274,7 +2867,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2274
2867
|
id: string,
|
|
2275
2868
|
options?: Options
|
|
2276
2869
|
): ResponseType<DeletePromoResponse, Options> {
|
|
2277
|
-
return this.request("delete", `/promo/${id}`, null, options);
|
|
2870
|
+
return this.request("promo", "delete_promo", "delete", `/promo/${id}`, null, options);
|
|
2278
2871
|
}
|
|
2279
2872
|
|
|
2280
2873
|
/**
|
|
@@ -2292,6 +2885,8 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2292
2885
|
} & Options
|
|
2293
2886
|
): ResponseType<GetPromoCompanyLocationGroupResponse, Options> {
|
|
2294
2887
|
return this.request(
|
|
2888
|
+
"promo",
|
|
2889
|
+
"get_promo_company_location_group",
|
|
2295
2890
|
"get",
|
|
2296
2891
|
`/promo/company/${company}/location/group/${location_group}`,
|
|
2297
2892
|
null,
|
|
@@ -2309,7 +2904,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2309
2904
|
body: PostPromoValidateVoucherBody,
|
|
2310
2905
|
options?: Options
|
|
2311
2906
|
): ResponseType<PostPromoValidateVoucherResponse, Options> {
|
|
2312
|
-
return this.request(
|
|
2907
|
+
return this.request(
|
|
2908
|
+
"promo",
|
|
2909
|
+
"post_promo_validate_voucher",
|
|
2910
|
+
"post",
|
|
2911
|
+
`/promo/validate/voucher`,
|
|
2912
|
+
body,
|
|
2913
|
+
options
|
|
2914
|
+
);
|
|
2313
2915
|
}
|
|
2314
2916
|
|
|
2315
2917
|
/**
|
|
@@ -2322,7 +2924,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2322
2924
|
body: PostPromoRedeemVoucherBody,
|
|
2323
2925
|
options?: Options
|
|
2324
2926
|
): ResponseType<PostPromoRedeemVoucherResponse, Options> {
|
|
2325
|
-
return this.request(
|
|
2927
|
+
return this.request(
|
|
2928
|
+
"promo",
|
|
2929
|
+
"post_promo_redeem_voucher",
|
|
2930
|
+
"post",
|
|
2931
|
+
`/promo/redeem/voucher`,
|
|
2932
|
+
body,
|
|
2933
|
+
options
|
|
2934
|
+
);
|
|
2326
2935
|
}
|
|
2327
2936
|
|
|
2328
2937
|
/**
|
|
@@ -2335,7 +2944,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2335
2944
|
body: PostPromoVoucherBody,
|
|
2336
2945
|
options?: Options
|
|
2337
2946
|
): ResponseType<PostPromoVoucherResponse, Options> {
|
|
2338
|
-
return this.request("post", `/promo/voucher`, body, options);
|
|
2947
|
+
return this.request("promo", "post_promo_voucher", "post", `/promo/voucher`, body, options);
|
|
2339
2948
|
}
|
|
2340
2949
|
|
|
2341
2950
|
/**
|
|
@@ -2350,7 +2959,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2350
2959
|
body: PutPromoVoucherBody,
|
|
2351
2960
|
options?: Options
|
|
2352
2961
|
): ResponseType<PutPromoVoucherResponse, Options> {
|
|
2353
|
-
return this.request("put", `/promo/voucher/${id}`, body, options);
|
|
2962
|
+
return this.request("promo", "put_promo_voucher", "put", `/promo/voucher/${id}`, body, options);
|
|
2354
2963
|
}
|
|
2355
2964
|
|
|
2356
2965
|
/**
|
|
@@ -2365,7 +2974,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2365
2974
|
query?: DeletePromoVoucherQuery;
|
|
2366
2975
|
} & Options
|
|
2367
2976
|
): ResponseType<DeletePromoVoucherResponse, Options> {
|
|
2368
|
-
return this.request(
|
|
2977
|
+
return this.request(
|
|
2978
|
+
"promo",
|
|
2979
|
+
"delete_promo_voucher",
|
|
2980
|
+
"delete",
|
|
2981
|
+
`/promo/voucher/${id}`,
|
|
2982
|
+
null,
|
|
2983
|
+
options
|
|
2984
|
+
);
|
|
2369
2985
|
}
|
|
2370
2986
|
|
|
2371
2987
|
/**
|
|
@@ -2378,7 +2994,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2378
2994
|
body: PostPromoCustomerBody,
|
|
2379
2995
|
options?: Options
|
|
2380
2996
|
): ResponseType<PostPromoCustomerResponse, Options> {
|
|
2381
|
-
return this.request("post", `/promo/customer/`, body, options);
|
|
2997
|
+
return this.request("promo", "post_promo_customer", "post", `/promo/customer/`, body, options);
|
|
2382
2998
|
}
|
|
2383
2999
|
|
|
2384
3000
|
/**
|
|
@@ -2391,7 +3007,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2391
3007
|
body: DeletePromoCustomerBody,
|
|
2392
3008
|
options?: Options
|
|
2393
3009
|
): ResponseType<DeletePromoCustomerResponse, Options> {
|
|
2394
|
-
return this.request(
|
|
3010
|
+
return this.request(
|
|
3011
|
+
"promo",
|
|
3012
|
+
"delete_promo_customer",
|
|
3013
|
+
"delete",
|
|
3014
|
+
`/promo/customer/`,
|
|
3015
|
+
body,
|
|
3016
|
+
options
|
|
3017
|
+
);
|
|
2395
3018
|
}
|
|
2396
3019
|
|
|
2397
3020
|
/**
|
|
@@ -2406,7 +3029,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2406
3029
|
body: PostPromoVoucherReverseBody,
|
|
2407
3030
|
options?: Options
|
|
2408
3031
|
): ResponseType<PostPromoVoucherReverseResponse, Options> {
|
|
2409
|
-
return this.request(
|
|
3032
|
+
return this.request(
|
|
3033
|
+
"promo",
|
|
3034
|
+
"post_promo_voucher_reverse",
|
|
3035
|
+
"post",
|
|
3036
|
+
`/promo/voucher/${id}/reverse`,
|
|
3037
|
+
body,
|
|
3038
|
+
options
|
|
3039
|
+
);
|
|
2410
3040
|
}
|
|
2411
3041
|
|
|
2412
3042
|
/**
|
|
@@ -2419,7 +3049,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2419
3049
|
body: PostPromoVoucherifyActivityExecuteBody,
|
|
2420
3050
|
options?: Options
|
|
2421
3051
|
): ResponseType<PostPromoVoucherifyActivityExecuteResponse, Options> {
|
|
2422
|
-
return this.request(
|
|
3052
|
+
return this.request(
|
|
3053
|
+
"promo",
|
|
3054
|
+
"post_promo_voucherify_activity_execute",
|
|
3055
|
+
"post",
|
|
3056
|
+
`/promo/voucherify/activity/execute`,
|
|
3057
|
+
body,
|
|
3058
|
+
options
|
|
3059
|
+
);
|
|
2423
3060
|
}
|
|
2424
3061
|
|
|
2425
3062
|
/**
|
|
@@ -2430,7 +3067,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2430
3067
|
get_promo_voucherify_activity_config<Options extends RequestOptions>(
|
|
2431
3068
|
options?: Options
|
|
2432
3069
|
): ResponseType<GetPromoVoucherifyActivityConfigResponse, Options> {
|
|
2433
|
-
return this.request(
|
|
3070
|
+
return this.request(
|
|
3071
|
+
"promo",
|
|
3072
|
+
"get_promo_voucherify_activity_config",
|
|
3073
|
+
"get",
|
|
3074
|
+
`/promo/voucherify/activity/config.json`,
|
|
3075
|
+
null,
|
|
3076
|
+
options
|
|
3077
|
+
);
|
|
2434
3078
|
}
|
|
2435
3079
|
|
|
2436
3080
|
/**
|
|
@@ -2441,7 +3085,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2441
3085
|
post_dh_sql<Options extends RequestOptions>(
|
|
2442
3086
|
options?: Options
|
|
2443
3087
|
): ResponseType<PostDhSqlResponse, Options> {
|
|
2444
|
-
return this.request("post", `/dh/sql`, null, options);
|
|
3088
|
+
return this.request("dh", "post_dh_sql", "post", `/dh/sql`, null, options);
|
|
2445
3089
|
}
|
|
2446
3090
|
|
|
2447
3091
|
/**
|
|
@@ -2454,7 +3098,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2454
3098
|
key: string,
|
|
2455
3099
|
options?: Options
|
|
2456
3100
|
): ResponseType<GetConfigResponse, Options> {
|
|
2457
|
-
return this.request("get", `/config/${key}`, null, options);
|
|
3101
|
+
return this.request("config", "get_config", "get", `/config/${key}`, null, options);
|
|
2458
3102
|
}
|
|
2459
3103
|
|
|
2460
3104
|
/**
|
|
@@ -2469,7 +3113,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2469
3113
|
body: PostConfigBody,
|
|
2470
3114
|
options?: Options
|
|
2471
3115
|
): ResponseType<PostConfigResponse, Options> {
|
|
2472
|
-
return this.request("post", `/config/${key}`, body, options);
|
|
3116
|
+
return this.request("config", "post_config", "post", `/config/${key}`, body, options);
|
|
2473
3117
|
}
|
|
2474
3118
|
|
|
2475
3119
|
/**
|
|
@@ -2484,7 +3128,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2484
3128
|
body: PutConfigBody,
|
|
2485
3129
|
options?: Options
|
|
2486
3130
|
): ResponseType<PutConfigResponse, Options> {
|
|
2487
|
-
return this.request("put", `/config/${key}`, body, options);
|
|
3131
|
+
return this.request("config", "put_config", "put", `/config/${key}`, body, options);
|
|
2488
3132
|
}
|
|
2489
3133
|
|
|
2490
3134
|
/**
|
|
@@ -2497,7 +3141,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2497
3141
|
key: string,
|
|
2498
3142
|
options?: Options
|
|
2499
3143
|
): ResponseType<DeleteConfigResponse, Options> {
|
|
2500
|
-
return this.request("delete", `/config/${key}`, null, options);
|
|
3144
|
+
return this.request("config", "delete_config", "delete", `/config/${key}`, null, options);
|
|
2501
3145
|
}
|
|
2502
3146
|
|
|
2503
3147
|
/**
|
|
@@ -2510,7 +3154,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2510
3154
|
key: string,
|
|
2511
3155
|
options?: Options
|
|
2512
3156
|
): ResponseType<GetConfigPublicResponse, Options> {
|
|
2513
|
-
return this.request(
|
|
3157
|
+
return this.request(
|
|
3158
|
+
"config",
|
|
3159
|
+
"get_config_public",
|
|
3160
|
+
"get",
|
|
3161
|
+
`/config/public/${key}`,
|
|
3162
|
+
null,
|
|
3163
|
+
options
|
|
3164
|
+
);
|
|
2514
3165
|
}
|
|
2515
3166
|
|
|
2516
3167
|
/**
|
|
@@ -2525,7 +3176,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2525
3176
|
body: PostConfigPublicBody,
|
|
2526
3177
|
options?: Options
|
|
2527
3178
|
): ResponseType<PostConfigPublicResponse, Options> {
|
|
2528
|
-
return this.request(
|
|
3179
|
+
return this.request(
|
|
3180
|
+
"config",
|
|
3181
|
+
"post_config_public",
|
|
3182
|
+
"post",
|
|
3183
|
+
`/config/public/${key}`,
|
|
3184
|
+
body,
|
|
3185
|
+
options
|
|
3186
|
+
);
|
|
2529
3187
|
}
|
|
2530
3188
|
|
|
2531
3189
|
/**
|
|
@@ -2540,7 +3198,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2540
3198
|
body: PutConfigPublicBody,
|
|
2541
3199
|
options?: Options
|
|
2542
3200
|
): ResponseType<PutConfigPublicResponse, Options> {
|
|
2543
|
-
return this.request(
|
|
3201
|
+
return this.request(
|
|
3202
|
+
"config",
|
|
3203
|
+
"put_config_public",
|
|
3204
|
+
"put",
|
|
3205
|
+
`/config/public/${key}`,
|
|
3206
|
+
body,
|
|
3207
|
+
options
|
|
3208
|
+
);
|
|
2544
3209
|
}
|
|
2545
3210
|
|
|
2546
3211
|
/**
|
|
@@ -2553,7 +3218,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2553
3218
|
key: string,
|
|
2554
3219
|
options?: Options
|
|
2555
3220
|
): ResponseType<DeleteConfigPublicResponse, Options> {
|
|
2556
|
-
return this.request(
|
|
3221
|
+
return this.request(
|
|
3222
|
+
"config",
|
|
3223
|
+
"delete_config_public",
|
|
3224
|
+
"delete",
|
|
3225
|
+
`/config/public/${key}`,
|
|
3226
|
+
null,
|
|
3227
|
+
options
|
|
3228
|
+
);
|
|
2557
3229
|
}
|
|
2558
3230
|
|
|
2559
3231
|
/**
|
|
@@ -2566,7 +3238,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2566
3238
|
body: PostAnnouncementBody,
|
|
2567
3239
|
options?: Options
|
|
2568
3240
|
): ResponseType<PostAnnouncementResponse, Options> {
|
|
2569
|
-
return this.request(
|
|
3241
|
+
return this.request(
|
|
3242
|
+
"announcement",
|
|
3243
|
+
"post_announcement",
|
|
3244
|
+
"post",
|
|
3245
|
+
`/announcement`,
|
|
3246
|
+
body,
|
|
3247
|
+
options
|
|
3248
|
+
);
|
|
2570
3249
|
}
|
|
2571
3250
|
|
|
2572
3251
|
/**
|
|
@@ -2581,7 +3260,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2581
3260
|
query?: GetAnnouncementResourceQuery;
|
|
2582
3261
|
} & Options
|
|
2583
3262
|
): ResponseType<GetAnnouncementResourceResponse, Options> {
|
|
2584
|
-
return this.request(
|
|
3263
|
+
return this.request(
|
|
3264
|
+
"announcement",
|
|
3265
|
+
"get_announcement_resource",
|
|
3266
|
+
"get",
|
|
3267
|
+
`/announcement/resource/${id}`,
|
|
3268
|
+
null,
|
|
3269
|
+
options
|
|
3270
|
+
);
|
|
2585
3271
|
}
|
|
2586
3272
|
|
|
2587
3273
|
/**
|
|
@@ -2594,7 +3280,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2594
3280
|
query?: GetAnnouncementResourcesQuery;
|
|
2595
3281
|
} & Options
|
|
2596
3282
|
): ResponseType<GetAnnouncementResourcesResponse, Options> {
|
|
2597
|
-
return this.request(
|
|
3283
|
+
return this.request(
|
|
3284
|
+
"announcement",
|
|
3285
|
+
"get_announcement_resources",
|
|
3286
|
+
"get",
|
|
3287
|
+
`/announcement/resource`,
|
|
3288
|
+
null,
|
|
3289
|
+
options
|
|
3290
|
+
);
|
|
2598
3291
|
}
|
|
2599
3292
|
|
|
2600
3293
|
/**
|
|
@@ -2607,7 +3300,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2607
3300
|
id: string,
|
|
2608
3301
|
options?: Options
|
|
2609
3302
|
): ResponseType<GetAnnouncementResponse, Options> {
|
|
2610
|
-
return this.request(
|
|
3303
|
+
return this.request(
|
|
3304
|
+
"announcement",
|
|
3305
|
+
"get_announcement",
|
|
3306
|
+
"get",
|
|
3307
|
+
`/announcement/${id}`,
|
|
3308
|
+
null,
|
|
3309
|
+
options
|
|
3310
|
+
);
|
|
2611
3311
|
}
|
|
2612
3312
|
|
|
2613
3313
|
/**
|
|
@@ -2622,7 +3322,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2622
3322
|
body: PutAnnouncementBody,
|
|
2623
3323
|
options?: Options
|
|
2624
3324
|
): ResponseType<PutAnnouncementResponse, Options> {
|
|
2625
|
-
return this.request(
|
|
3325
|
+
return this.request(
|
|
3326
|
+
"announcement",
|
|
3327
|
+
"put_announcement",
|
|
3328
|
+
"put",
|
|
3329
|
+
`/announcement/${id}`,
|
|
3330
|
+
body,
|
|
3331
|
+
options
|
|
3332
|
+
);
|
|
2626
3333
|
}
|
|
2627
3334
|
|
|
2628
3335
|
/**
|
|
@@ -2635,7 +3342,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2635
3342
|
id: string,
|
|
2636
3343
|
options?: Options
|
|
2637
3344
|
): ResponseType<DeleteAnnouncementResponse, Options> {
|
|
2638
|
-
return this.request(
|
|
3345
|
+
return this.request(
|
|
3346
|
+
"announcement",
|
|
3347
|
+
"delete_announcement",
|
|
3348
|
+
"delete",
|
|
3349
|
+
`/announcement/${id}`,
|
|
3350
|
+
null,
|
|
3351
|
+
options
|
|
3352
|
+
);
|
|
2639
3353
|
}
|
|
2640
3354
|
|
|
2641
3355
|
/**
|
|
@@ -2653,6 +3367,8 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2653
3367
|
} & Options
|
|
2654
3368
|
): ResponseType<GetReportAnalyticsGroupResponse, Options> {
|
|
2655
3369
|
return this.request(
|
|
3370
|
+
"report",
|
|
3371
|
+
"get_report_analytics_group",
|
|
2656
3372
|
"get",
|
|
2657
3373
|
`/report/analytics/group/${location_group}/${report_type}`,
|
|
2658
3374
|
null,
|
|
@@ -2672,7 +3388,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2672
3388
|
query: GetReportAnalyticsCombinedGroupQuery;
|
|
2673
3389
|
} & Options
|
|
2674
3390
|
): ResponseType<GetReportAnalyticsCombinedGroupResponse, Options> {
|
|
2675
|
-
return this.request(
|
|
3391
|
+
return this.request(
|
|
3392
|
+
"report",
|
|
3393
|
+
"get_report_analytics_combined_group",
|
|
3394
|
+
"get",
|
|
3395
|
+
`/report/analytics/combined/group/${location_group}`,
|
|
3396
|
+
null,
|
|
3397
|
+
options
|
|
3398
|
+
);
|
|
2676
3399
|
}
|
|
2677
3400
|
|
|
2678
3401
|
/**
|
|
@@ -2685,7 +3408,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2685
3408
|
query: GetReportAnalyticsExactmobileTotalsQuery;
|
|
2686
3409
|
} & Options
|
|
2687
3410
|
): ResponseType<GetReportAnalyticsExactmobileTotalsResponse, Options> {
|
|
2688
|
-
return this.request(
|
|
3411
|
+
return this.request(
|
|
3412
|
+
"report",
|
|
3413
|
+
"get_report_analytics_exactmobile_totals",
|
|
3414
|
+
"get",
|
|
3415
|
+
`/report/analytics/exactmobile/totals`,
|
|
3416
|
+
null,
|
|
3417
|
+
options
|
|
3418
|
+
);
|
|
2689
3419
|
}
|
|
2690
3420
|
|
|
2691
3421
|
/**
|
|
@@ -2698,7 +3428,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2698
3428
|
query: GetReportAnalyticsExactmobileTransactionsQuery;
|
|
2699
3429
|
} & Options
|
|
2700
3430
|
): ResponseType<GetReportAnalyticsExactmobileTransactionsResponse, Options> {
|
|
2701
|
-
return this.request(
|
|
3431
|
+
return this.request(
|
|
3432
|
+
"report",
|
|
3433
|
+
"get_report_analytics_exactmobile_transactions",
|
|
3434
|
+
"get",
|
|
3435
|
+
`/report/analytics/exactmobile/transactions`,
|
|
3436
|
+
null,
|
|
3437
|
+
options
|
|
3438
|
+
);
|
|
2702
3439
|
}
|
|
2703
3440
|
|
|
2704
3441
|
/**
|
|
@@ -2711,7 +3448,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2711
3448
|
query: GetReportAnalyticsExactmobileDiscrepanciesQuery;
|
|
2712
3449
|
} & Options
|
|
2713
3450
|
): ResponseType<GetReportAnalyticsExactmobileDiscrepanciesResponse, Options> {
|
|
2714
|
-
return this.request(
|
|
3451
|
+
return this.request(
|
|
3452
|
+
"report",
|
|
3453
|
+
"get_report_analytics_exactmobile_discrepancies",
|
|
3454
|
+
"get",
|
|
3455
|
+
`/report/analytics/exactmobile/discrepancies`,
|
|
3456
|
+
null,
|
|
3457
|
+
options
|
|
3458
|
+
);
|
|
2715
3459
|
}
|
|
2716
3460
|
|
|
2717
3461
|
/**
|
|
@@ -2724,7 +3468,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2724
3468
|
id: string,
|
|
2725
3469
|
options?: Options
|
|
2726
3470
|
): ResponseType<GetReportAnalyticsTrackerReportResponse, Options> {
|
|
2727
|
-
return this.request(
|
|
3471
|
+
return this.request(
|
|
3472
|
+
"report",
|
|
3473
|
+
"get_report_analytics_tracker_report",
|
|
3474
|
+
"get",
|
|
3475
|
+
`/report/analytics/tracker/report/${id}`,
|
|
3476
|
+
null,
|
|
3477
|
+
options
|
|
3478
|
+
);
|
|
2728
3479
|
}
|
|
2729
3480
|
|
|
2730
3481
|
/**
|
|
@@ -2739,7 +3490,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2739
3490
|
query?: GetReportEodGroupQuery;
|
|
2740
3491
|
} & Options
|
|
2741
3492
|
): ResponseType<GetReportEodGroupResponse, Options> {
|
|
2742
|
-
return this.request(
|
|
3493
|
+
return this.request(
|
|
3494
|
+
"report",
|
|
3495
|
+
"get_report_eod_group",
|
|
3496
|
+
"get",
|
|
3497
|
+
`/report/eod/group/${id}`,
|
|
3498
|
+
null,
|
|
3499
|
+
options
|
|
3500
|
+
);
|
|
2743
3501
|
}
|
|
2744
3502
|
|
|
2745
3503
|
/**
|
|
@@ -2752,7 +3510,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2752
3510
|
id: string,
|
|
2753
3511
|
options?: Options
|
|
2754
3512
|
): ResponseType<GetReportEodGroupSubscribersResponse, Options> {
|
|
2755
|
-
return this.request(
|
|
3513
|
+
return this.request(
|
|
3514
|
+
"report",
|
|
3515
|
+
"get_report_eod_group_subscribers",
|
|
3516
|
+
"get",
|
|
3517
|
+
`/report/eod/group/${id}/subscribers`,
|
|
3518
|
+
null,
|
|
3519
|
+
options
|
|
3520
|
+
);
|
|
2756
3521
|
}
|
|
2757
3522
|
|
|
2758
3523
|
/**
|
|
@@ -2767,7 +3532,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2767
3532
|
body: PostReportEodGroupSubscribersBody,
|
|
2768
3533
|
options?: Options
|
|
2769
3534
|
): ResponseType<PostReportEodGroupSubscribersResponse, Options> {
|
|
2770
|
-
return this.request(
|
|
3535
|
+
return this.request(
|
|
3536
|
+
"report",
|
|
3537
|
+
"post_report_eod_group_subscribers",
|
|
3538
|
+
"post",
|
|
3539
|
+
`/report/eod/group/${id}/subscribers`,
|
|
3540
|
+
body,
|
|
3541
|
+
options
|
|
3542
|
+
);
|
|
2771
3543
|
}
|
|
2772
3544
|
|
|
2773
3545
|
/**
|
|
@@ -2780,7 +3552,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2780
3552
|
id: string,
|
|
2781
3553
|
options?: Options
|
|
2782
3554
|
): ResponseType<DeleteReportEodGroupSubscribersResponse, Options> {
|
|
2783
|
-
return this.request(
|
|
3555
|
+
return this.request(
|
|
3556
|
+
"report",
|
|
3557
|
+
"delete_report_eod_group_subscribers",
|
|
3558
|
+
"delete",
|
|
3559
|
+
`/report/eod/group/${id}/subscribers`,
|
|
3560
|
+
null,
|
|
3561
|
+
options
|
|
3562
|
+
);
|
|
2784
3563
|
}
|
|
2785
3564
|
|
|
2786
3565
|
/**
|
|
@@ -2795,7 +3574,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2795
3574
|
body: PutReportEodGroupSubscribersBody,
|
|
2796
3575
|
options?: Options
|
|
2797
3576
|
): ResponseType<PutReportEodGroupSubscribersResponse, Options> {
|
|
2798
|
-
return this.request(
|
|
3577
|
+
return this.request(
|
|
3578
|
+
"report",
|
|
3579
|
+
"put_report_eod_group_subscribers",
|
|
3580
|
+
"put",
|
|
3581
|
+
`/report/eod/group/${id}/subscribers`,
|
|
3582
|
+
body,
|
|
3583
|
+
options
|
|
3584
|
+
);
|
|
2799
3585
|
}
|
|
2800
3586
|
|
|
2801
3587
|
/**
|
|
@@ -2808,7 +3594,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2808
3594
|
query?: GetReportDiscrepancySubscribersQuery;
|
|
2809
3595
|
} & Options
|
|
2810
3596
|
): ResponseType<GetReportDiscrepancySubscribersResponse, Options> {
|
|
2811
|
-
return this.request(
|
|
3597
|
+
return this.request(
|
|
3598
|
+
"report",
|
|
3599
|
+
"get_report_discrepancy_subscribers",
|
|
3600
|
+
"get",
|
|
3601
|
+
`/report/discrepancy/subscribers`,
|
|
3602
|
+
null,
|
|
3603
|
+
options
|
|
3604
|
+
);
|
|
2812
3605
|
}
|
|
2813
3606
|
|
|
2814
3607
|
/**
|
|
@@ -2821,7 +3614,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2821
3614
|
query: DeleteReportDiscrepancySubscribersQuery;
|
|
2822
3615
|
} & Options
|
|
2823
3616
|
): ResponseType<DeleteReportDiscrepancySubscribersResponse, Options> {
|
|
2824
|
-
return this.request(
|
|
3617
|
+
return this.request(
|
|
3618
|
+
"report",
|
|
3619
|
+
"delete_report_discrepancy_subscribers",
|
|
3620
|
+
"delete",
|
|
3621
|
+
`/report/discrepancy/subscribers`,
|
|
3622
|
+
null,
|
|
3623
|
+
options
|
|
3624
|
+
);
|
|
2825
3625
|
}
|
|
2826
3626
|
|
|
2827
3627
|
/**
|
|
@@ -2834,7 +3634,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2834
3634
|
body: PostReportDiscrepancySubscribersBody,
|
|
2835
3635
|
options?: Options
|
|
2836
3636
|
): ResponseType<PostReportDiscrepancySubscribersResponse, Options> {
|
|
2837
|
-
return this.request(
|
|
3637
|
+
return this.request(
|
|
3638
|
+
"report",
|
|
3639
|
+
"post_report_discrepancy_subscribers",
|
|
3640
|
+
"post",
|
|
3641
|
+
`/report/discrepancy/subscribers`,
|
|
3642
|
+
body,
|
|
3643
|
+
options
|
|
3644
|
+
);
|
|
2838
3645
|
}
|
|
2839
3646
|
|
|
2840
3647
|
/**
|
|
@@ -2847,7 +3654,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2847
3654
|
query?: GetUserAuthQuery;
|
|
2848
3655
|
} & Options
|
|
2849
3656
|
): ResponseType<GetUserAuthResponse, Options> {
|
|
2850
|
-
return this.request("get", `/user/auth`, null, options);
|
|
3657
|
+
return this.request("user", "get_user_auth", "get", `/user/auth`, null, options);
|
|
2851
3658
|
}
|
|
2852
3659
|
|
|
2853
3660
|
/**
|
|
@@ -2860,7 +3667,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2860
3667
|
body: PostUserAuthBody,
|
|
2861
3668
|
options?: Options
|
|
2862
3669
|
): ResponseType<PostUserAuthResponse, Options> {
|
|
2863
|
-
return this.request("post", `/user/auth`, body, options);
|
|
3670
|
+
return this.request("user", "post_user_auth", "post", `/user/auth`, body, options);
|
|
2864
3671
|
}
|
|
2865
3672
|
|
|
2866
3673
|
/**
|
|
@@ -2871,7 +3678,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2871
3678
|
get_user_zendesk<Options extends RequestOptions>(
|
|
2872
3679
|
options?: Options
|
|
2873
3680
|
): ResponseType<GetUserZendeskResponse, Options> {
|
|
2874
|
-
return this.request("get", `/user/zendesk`, null, options);
|
|
3681
|
+
return this.request("user", "get_user_zendesk", "get", `/user/zendesk`, null, options);
|
|
2875
3682
|
}
|
|
2876
3683
|
|
|
2877
3684
|
/**
|
|
@@ -2886,7 +3693,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2886
3693
|
query?: PostUserQuery;
|
|
2887
3694
|
} & Options
|
|
2888
3695
|
): ResponseType<PostUserResponse, Options> {
|
|
2889
|
-
return this.request("post", `/user`, body, options);
|
|
3696
|
+
return this.request("user", "post_user", "post", `/user`, body, options);
|
|
2890
3697
|
}
|
|
2891
3698
|
|
|
2892
3699
|
/**
|
|
@@ -2901,7 +3708,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2901
3708
|
query?: GetUserQuery;
|
|
2902
3709
|
} & Options
|
|
2903
3710
|
): ResponseType<GetUserResponse, Options> {
|
|
2904
|
-
return this.request("get", `/user/${id}`, null, options);
|
|
3711
|
+
return this.request("user", "get_user", "get", `/user/${id}`, null, options);
|
|
2905
3712
|
}
|
|
2906
3713
|
|
|
2907
3714
|
/**
|
|
@@ -2918,7 +3725,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2918
3725
|
query?: PutUserQuery;
|
|
2919
3726
|
} & Options
|
|
2920
3727
|
): ResponseType<PutUserResponse, Options> {
|
|
2921
|
-
return this.request("put", `/user/${id}`, body, options);
|
|
3728
|
+
return this.request("user", "put_user", "put", `/user/${id}`, body, options);
|
|
2922
3729
|
}
|
|
2923
3730
|
|
|
2924
3731
|
/**
|
|
@@ -2935,7 +3742,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2935
3742
|
query?: PatchUserQuery;
|
|
2936
3743
|
} & Options
|
|
2937
3744
|
): ResponseType<PatchUserResponse, Options> {
|
|
2938
|
-
return this.request("patch", `/user/${id}`, body, options);
|
|
3745
|
+
return this.request("user", "patch_user", "patch", `/user/${id}`, body, options);
|
|
2939
3746
|
}
|
|
2940
3747
|
|
|
2941
3748
|
/**
|
|
@@ -2950,7 +3757,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2950
3757
|
query?: DeleteUserQuery;
|
|
2951
3758
|
} & Options
|
|
2952
3759
|
): ResponseType<DeleteUserResponse, Options> {
|
|
2953
|
-
return this.request("delete", `/user/${id}`, null, options);
|
|
3760
|
+
return this.request("user", "delete_user", "delete", `/user/${id}`, null, options);
|
|
2954
3761
|
}
|
|
2955
3762
|
|
|
2956
3763
|
/**
|
|
@@ -2963,7 +3770,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2963
3770
|
body: PostUserKdsTokenBody,
|
|
2964
3771
|
options?: Options
|
|
2965
3772
|
): ResponseType<PostUserKdsTokenResponse, Options> {
|
|
2966
|
-
return this.request("post", `/user/device/auth`, body, options);
|
|
3773
|
+
return this.request("user", "post_user_kds_token", "post", `/user/device/auth`, body, options);
|
|
2967
3774
|
}
|
|
2968
3775
|
|
|
2969
3776
|
/**
|
|
@@ -2976,7 +3783,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2976
3783
|
query?: GetUserKdsTokenQuery;
|
|
2977
3784
|
} & Options
|
|
2978
3785
|
): ResponseType<GetUserKdsTokenResponse, Options> {
|
|
2979
|
-
return this.request("get", `/user/device/auth`, null, options);
|
|
3786
|
+
return this.request("user", "get_user_kds_token", "get", `/user/device/auth`, null, options);
|
|
2980
3787
|
}
|
|
2981
3788
|
|
|
2982
3789
|
/**
|
|
@@ -2989,7 +3796,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2989
3796
|
device_id: string,
|
|
2990
3797
|
options?: Options
|
|
2991
3798
|
): ResponseType<DeleteUserDeviceAuthResponse, Options> {
|
|
2992
|
-
return this.request(
|
|
3799
|
+
return this.request(
|
|
3800
|
+
"user",
|
|
3801
|
+
"delete_user_device_auth",
|
|
3802
|
+
"delete",
|
|
3803
|
+
`/user/device/auth/${device_id}`,
|
|
3804
|
+
null,
|
|
3805
|
+
options
|
|
3806
|
+
);
|
|
2993
3807
|
}
|
|
2994
3808
|
|
|
2995
3809
|
/**
|
|
@@ -3002,7 +3816,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3002
3816
|
device_id: string,
|
|
3003
3817
|
options?: Options
|
|
3004
3818
|
): ResponseType<PatchUserAuthKdsResponse, Options> {
|
|
3005
|
-
return this.request(
|
|
3819
|
+
return this.request(
|
|
3820
|
+
"user",
|
|
3821
|
+
"patch_user_auth_kds",
|
|
3822
|
+
"patch",
|
|
3823
|
+
`/user/device/auth/${device_id}`,
|
|
3824
|
+
null,
|
|
3825
|
+
options
|
|
3826
|
+
);
|
|
3006
3827
|
}
|
|
3007
3828
|
|
|
3008
3829
|
/**
|
|
@@ -3017,7 +3838,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3017
3838
|
body: PostUserChangePasswordBody,
|
|
3018
3839
|
options?: Options
|
|
3019
3840
|
): ResponseType<PostUserChangePasswordResponse, Options> {
|
|
3020
|
-
return this.request(
|
|
3841
|
+
return this.request(
|
|
3842
|
+
"user",
|
|
3843
|
+
"post_user_change_password",
|
|
3844
|
+
"post",
|
|
3845
|
+
`/user/${id}/changepassword`,
|
|
3846
|
+
body,
|
|
3847
|
+
options
|
|
3848
|
+
);
|
|
3021
3849
|
}
|
|
3022
3850
|
|
|
3023
3851
|
/**
|
|
@@ -3028,7 +3856,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3028
3856
|
delete_user_logout<Options extends RequestOptions>(
|
|
3029
3857
|
options?: Options
|
|
3030
3858
|
): ResponseType<DeleteUserLogoutResponse, Options> {
|
|
3031
|
-
return this.request("delete", `/user/logout`, null, options);
|
|
3859
|
+
return this.request("user", "delete_user_logout", "delete", `/user/logout`, null, options);
|
|
3032
3860
|
}
|
|
3033
3861
|
|
|
3034
3862
|
/**
|
|
@@ -3045,7 +3873,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3045
3873
|
body: PostUserAddSecretBody,
|
|
3046
3874
|
options?: Options
|
|
3047
3875
|
): ResponseType<PostUserAddSecretResponse, Options> {
|
|
3048
|
-
return this.request(
|
|
3876
|
+
return this.request(
|
|
3877
|
+
"user",
|
|
3878
|
+
"post_user_add_secret",
|
|
3879
|
+
"post",
|
|
3880
|
+
`/user/${id}/secret/${key}`,
|
|
3881
|
+
body,
|
|
3882
|
+
options
|
|
3883
|
+
);
|
|
3049
3884
|
}
|
|
3050
3885
|
|
|
3051
3886
|
/**
|
|
@@ -3060,7 +3895,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3060
3895
|
key: string,
|
|
3061
3896
|
options?: Options
|
|
3062
3897
|
): ResponseType<GetUserSecretResponse, Options> {
|
|
3063
|
-
return this.request(
|
|
3898
|
+
return this.request(
|
|
3899
|
+
"user",
|
|
3900
|
+
"get_user_secret",
|
|
3901
|
+
"get",
|
|
3902
|
+
`/user/${id}/secret/${key}`,
|
|
3903
|
+
null,
|
|
3904
|
+
options
|
|
3905
|
+
);
|
|
3064
3906
|
}
|
|
3065
3907
|
|
|
3066
3908
|
/**
|
|
@@ -3075,7 +3917,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3075
3917
|
query?: PostUserResetPasswordQuery;
|
|
3076
3918
|
} & Options
|
|
3077
3919
|
): ResponseType<PostUserResetPasswordResponse, Options> {
|
|
3078
|
-
return this.request(
|
|
3920
|
+
return this.request(
|
|
3921
|
+
"user",
|
|
3922
|
+
"post_user_reset_password",
|
|
3923
|
+
"post",
|
|
3924
|
+
`/user/forgotpassword`,
|
|
3925
|
+
body,
|
|
3926
|
+
options
|
|
3927
|
+
);
|
|
3079
3928
|
}
|
|
3080
3929
|
|
|
3081
3930
|
/**
|
|
@@ -3092,7 +3941,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3092
3941
|
query: PostUserResetPasswordTokenQuery;
|
|
3093
3942
|
} & Options
|
|
3094
3943
|
): ResponseType<PostUserResetPasswordTokenResponse, Options> {
|
|
3095
|
-
return this.request(
|
|
3944
|
+
return this.request(
|
|
3945
|
+
"user",
|
|
3946
|
+
"post_user_reset_password_token",
|
|
3947
|
+
"post",
|
|
3948
|
+
`/user/${id}/resetpassword`,
|
|
3949
|
+
body,
|
|
3950
|
+
options
|
|
3951
|
+
);
|
|
3096
3952
|
}
|
|
3097
3953
|
|
|
3098
3954
|
/**
|
|
@@ -3107,7 +3963,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3107
3963
|
query?: GetUserRealmUsersQuery;
|
|
3108
3964
|
} & Options
|
|
3109
3965
|
): ResponseType<GetUserRealmUsersResponse, Options> {
|
|
3110
|
-
return this.request(
|
|
3966
|
+
return this.request(
|
|
3967
|
+
"user",
|
|
3968
|
+
"get_user_realm_users",
|
|
3969
|
+
"get",
|
|
3970
|
+
`/user/realm/${realm}`,
|
|
3971
|
+
null,
|
|
3972
|
+
options
|
|
3973
|
+
);
|
|
3111
3974
|
}
|
|
3112
3975
|
|
|
3113
3976
|
/**
|
|
@@ -3122,7 +3985,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3122
3985
|
query?: GetUserPermissionsQuery;
|
|
3123
3986
|
} & Options
|
|
3124
3987
|
): ResponseType<GetUserPermissionsResponse, Options> {
|
|
3125
|
-
return this.request(
|
|
3988
|
+
return this.request(
|
|
3989
|
+
"user",
|
|
3990
|
+
"get_user_permissions",
|
|
3991
|
+
"get",
|
|
3992
|
+
`/user/${id}/permissions`,
|
|
3993
|
+
null,
|
|
3994
|
+
options
|
|
3995
|
+
);
|
|
3126
3996
|
}
|
|
3127
3997
|
|
|
3128
3998
|
/**
|
|
@@ -3139,7 +4009,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3139
4009
|
query?: PutUserPermissionsQuery;
|
|
3140
4010
|
} & Options
|
|
3141
4011
|
): ResponseType<PutUserPermissionsResponse, Options> {
|
|
3142
|
-
return this.request(
|
|
4012
|
+
return this.request(
|
|
4013
|
+
"user",
|
|
4014
|
+
"put_user_permissions",
|
|
4015
|
+
"put",
|
|
4016
|
+
`/user/${id}/permissions`,
|
|
4017
|
+
body,
|
|
4018
|
+
options
|
|
4019
|
+
);
|
|
3143
4020
|
}
|
|
3144
4021
|
|
|
3145
4022
|
/**
|
|
@@ -3154,7 +4031,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3154
4031
|
body: PostUserCheckInBody,
|
|
3155
4032
|
options?: Options
|
|
3156
4033
|
): ResponseType<PostUserCheckInResponse, Options> {
|
|
3157
|
-
return this.request("post", `/user/${id}/checkin`, body, options);
|
|
4034
|
+
return this.request("user", "post_user_check_in", "post", `/user/${id}/checkin`, body, options);
|
|
3158
4035
|
}
|
|
3159
4036
|
|
|
3160
4037
|
/**
|
|
@@ -3171,7 +4048,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3171
4048
|
body: PatchUserCheckinBody,
|
|
3172
4049
|
options?: Options
|
|
3173
4050
|
): ResponseType<PatchUserCheckinResponse, Options> {
|
|
3174
|
-
return this.request(
|
|
4051
|
+
return this.request(
|
|
4052
|
+
"user",
|
|
4053
|
+
"patch_user_checkin",
|
|
4054
|
+
"patch",
|
|
4055
|
+
`/user/${id}/checkin/${checkin_id}`,
|
|
4056
|
+
body,
|
|
4057
|
+
options
|
|
4058
|
+
);
|
|
3175
4059
|
}
|
|
3176
4060
|
|
|
3177
4061
|
/**
|
|
@@ -3184,7 +4068,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3184
4068
|
query?: GetUserSearchCheckInQuery;
|
|
3185
4069
|
} & Options
|
|
3186
4070
|
): ResponseType<GetUserSearchCheckInResponse, Options> {
|
|
3187
|
-
return this.request(
|
|
4071
|
+
return this.request(
|
|
4072
|
+
"user",
|
|
4073
|
+
"get_user_search_check_in",
|
|
4074
|
+
"get",
|
|
4075
|
+
`/user/checkin/search`,
|
|
4076
|
+
null,
|
|
4077
|
+
options
|
|
4078
|
+
);
|
|
3188
4079
|
}
|
|
3189
4080
|
|
|
3190
4081
|
/**
|
|
@@ -3197,7 +4088,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3197
4088
|
id: string,
|
|
3198
4089
|
options?: Options
|
|
3199
4090
|
): ResponseType<PostUserSendEmailVerificationResponse, Options> {
|
|
3200
|
-
return this.request(
|
|
4091
|
+
return this.request(
|
|
4092
|
+
"user",
|
|
4093
|
+
"post_user_send_email_verification",
|
|
4094
|
+
"post",
|
|
4095
|
+
`/user/${id}/verification`,
|
|
4096
|
+
null,
|
|
4097
|
+
options
|
|
4098
|
+
);
|
|
3201
4099
|
}
|
|
3202
4100
|
|
|
3203
4101
|
/**
|
|
@@ -3212,7 +4110,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3212
4110
|
body: PutUserVerifyUserEmailBody,
|
|
3213
4111
|
options?: Options
|
|
3214
4112
|
): ResponseType<PutUserVerifyUserEmailResponse, Options> {
|
|
3215
|
-
return this.request(
|
|
4113
|
+
return this.request(
|
|
4114
|
+
"user",
|
|
4115
|
+
"put_user_verify_user_email",
|
|
4116
|
+
"put",
|
|
4117
|
+
`/user/${id}/verification/confirm`,
|
|
4118
|
+
body,
|
|
4119
|
+
options
|
|
4120
|
+
);
|
|
3216
4121
|
}
|
|
3217
4122
|
|
|
3218
4123
|
/**
|
|
@@ -3229,7 +4134,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3229
4134
|
query?: PostLoyaltyEnrollQuery;
|
|
3230
4135
|
} & Options
|
|
3231
4136
|
): ResponseType<PostLoyaltyEnrollResponse, Options> {
|
|
3232
|
-
return this.request(
|
|
4137
|
+
return this.request(
|
|
4138
|
+
"loyalty",
|
|
4139
|
+
"post_loyalty_enroll",
|
|
4140
|
+
"post",
|
|
4141
|
+
`/loyalty/${id}/enroll/${user_id}`,
|
|
4142
|
+
null,
|
|
4143
|
+
options
|
|
4144
|
+
);
|
|
3233
4145
|
}
|
|
3234
4146
|
|
|
3235
4147
|
/**
|
|
@@ -3244,7 +4156,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3244
4156
|
query: GetLoyaltyPointsQuery;
|
|
3245
4157
|
} & Options
|
|
3246
4158
|
): ResponseType<GetLoyaltyPointsResponse, Options> {
|
|
3247
|
-
return this.request(
|
|
4159
|
+
return this.request(
|
|
4160
|
+
"loyalty",
|
|
4161
|
+
"get_loyalty_points",
|
|
4162
|
+
"get",
|
|
4163
|
+
`/loyalty/${id}/points`,
|
|
4164
|
+
null,
|
|
4165
|
+
options
|
|
4166
|
+
);
|
|
3248
4167
|
}
|
|
3249
4168
|
|
|
3250
4169
|
/**
|
|
@@ -3259,7 +4178,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3259
4178
|
user_id: string,
|
|
3260
4179
|
options?: Options
|
|
3261
4180
|
): ResponseType<GetLoyaltyOffersResponse, Options> {
|
|
3262
|
-
return this.request(
|
|
4181
|
+
return this.request(
|
|
4182
|
+
"loyalty",
|
|
4183
|
+
"get_loyalty_offers",
|
|
4184
|
+
"get",
|
|
4185
|
+
`/loyalty/${id}/offers/${user_id}`,
|
|
4186
|
+
null,
|
|
4187
|
+
options
|
|
4188
|
+
);
|
|
3263
4189
|
}
|
|
3264
4190
|
|
|
3265
4191
|
/**
|
|
@@ -3274,7 +4200,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3274
4200
|
user_id: string,
|
|
3275
4201
|
options?: Options
|
|
3276
4202
|
): ResponseType<GetLoyaltyEnrollmentstatusResponse, Options> {
|
|
3277
|
-
return this.request(
|
|
4203
|
+
return this.request(
|
|
4204
|
+
"loyalty",
|
|
4205
|
+
"get_loyalty_enrollmentstatus",
|
|
4206
|
+
"get",
|
|
4207
|
+
`/loyalty/${id}/enrollmentstatus/${user_id}`,
|
|
4208
|
+
null,
|
|
4209
|
+
options
|
|
4210
|
+
);
|
|
3278
4211
|
}
|
|
3279
4212
|
|
|
3280
4213
|
/**
|
|
@@ -3289,7 +4222,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3289
4222
|
user_id: string,
|
|
3290
4223
|
options?: Options
|
|
3291
4224
|
): ResponseType<GetLoyaltyBalanceResponse, Options> {
|
|
3292
|
-
return this.request(
|
|
4225
|
+
return this.request(
|
|
4226
|
+
"loyalty",
|
|
4227
|
+
"get_loyalty_balance",
|
|
4228
|
+
"get",
|
|
4229
|
+
`/loyalty/${id}/balance/${user_id}`,
|
|
4230
|
+
null,
|
|
4231
|
+
options
|
|
4232
|
+
);
|
|
3293
4233
|
}
|
|
3294
4234
|
|
|
3295
4235
|
/**
|
|
@@ -3306,7 +4246,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3306
4246
|
query?: GetLoyaltyOpportunitiesQuery;
|
|
3307
4247
|
} & Options
|
|
3308
4248
|
): ResponseType<GetLoyaltyOpportunitiesResponse, Options> {
|
|
3309
|
-
return this.request(
|
|
4249
|
+
return this.request(
|
|
4250
|
+
"loyalty",
|
|
4251
|
+
"get_loyalty_opportunities",
|
|
4252
|
+
"get",
|
|
4253
|
+
`/loyalty/${id}/opportunities/${user_id}`,
|
|
4254
|
+
null,
|
|
4255
|
+
options
|
|
4256
|
+
);
|
|
3310
4257
|
}
|
|
3311
4258
|
|
|
3312
4259
|
/**
|
|
@@ -3323,7 +4270,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3323
4270
|
query: PostLoyaltyOpportunitiesQuery;
|
|
3324
4271
|
} & Options
|
|
3325
4272
|
): ResponseType<PostLoyaltyOpportunitiesResponse, Options> {
|
|
3326
|
-
return this.request(
|
|
4273
|
+
return this.request(
|
|
4274
|
+
"loyalty",
|
|
4275
|
+
"post_loyalty_opportunities",
|
|
4276
|
+
"post",
|
|
4277
|
+
`/loyalty/${id}/opportunities/${user_id}`,
|
|
4278
|
+
null,
|
|
4279
|
+
options
|
|
4280
|
+
);
|
|
3327
4281
|
}
|
|
3328
4282
|
|
|
3329
4283
|
/**
|
|
@@ -3338,7 +4292,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3338
4292
|
user_id: string,
|
|
3339
4293
|
options?: Options
|
|
3340
4294
|
): ResponseType<GetLoyaltyRewardsResponse, Options> {
|
|
3341
|
-
return this.request(
|
|
4295
|
+
return this.request(
|
|
4296
|
+
"loyalty",
|
|
4297
|
+
"get_loyalty_rewards",
|
|
4298
|
+
"get",
|
|
4299
|
+
`/loyalty/${id}/rewards/${user_id}`,
|
|
4300
|
+
null,
|
|
4301
|
+
options
|
|
4302
|
+
);
|
|
3342
4303
|
}
|
|
3343
4304
|
|
|
3344
4305
|
/**
|
|
@@ -3353,7 +4314,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3353
4314
|
user_id: string,
|
|
3354
4315
|
options?: Options
|
|
3355
4316
|
): ResponseType<GetLoyaltyCouponsResponse, Options> {
|
|
3356
|
-
return this.request(
|
|
4317
|
+
return this.request(
|
|
4318
|
+
"loyalty",
|
|
4319
|
+
"get_loyalty_coupons",
|
|
4320
|
+
"get",
|
|
4321
|
+
`/loyalty/${id}/coupons/${user_id}`,
|
|
4322
|
+
null,
|
|
4323
|
+
options
|
|
4324
|
+
);
|
|
3357
4325
|
}
|
|
3358
4326
|
|
|
3359
4327
|
/**
|
|
@@ -3370,7 +4338,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3370
4338
|
query: GetLoyaltyOrderpointsQuery;
|
|
3371
4339
|
} & Options
|
|
3372
4340
|
): ResponseType<GetLoyaltyOrderpointsResponse, Options> {
|
|
3373
|
-
return this.request(
|
|
4341
|
+
return this.request(
|
|
4342
|
+
"loyalty",
|
|
4343
|
+
"get_loyalty_orderpoints",
|
|
4344
|
+
"get",
|
|
4345
|
+
`/loyalty/${id}/orderpoints/${user_id}`,
|
|
4346
|
+
null,
|
|
4347
|
+
options
|
|
4348
|
+
);
|
|
3374
4349
|
}
|
|
3375
4350
|
|
|
3376
4351
|
/**
|
|
@@ -3387,7 +4362,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3387
4362
|
body: PostLoyaltyOrderpointsBody,
|
|
3388
4363
|
options?: Options
|
|
3389
4364
|
): ResponseType<PostLoyaltyOrderpointsResponse, Options> {
|
|
3390
|
-
return this.request(
|
|
4365
|
+
return this.request(
|
|
4366
|
+
"loyalty",
|
|
4367
|
+
"post_loyalty_orderpoints",
|
|
4368
|
+
"post",
|
|
4369
|
+
`/loyalty/${id}/orderpoints/${user_id}`,
|
|
4370
|
+
body,
|
|
4371
|
+
options
|
|
4372
|
+
);
|
|
3391
4373
|
}
|
|
3392
4374
|
|
|
3393
4375
|
/**
|
|
@@ -3406,7 +4388,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3406
4388
|
query?: PostLoyaltyPurchaseQuery;
|
|
3407
4389
|
} & Options
|
|
3408
4390
|
): ResponseType<PostLoyaltyPurchaseResponse, Options> {
|
|
3409
|
-
return this.request(
|
|
4391
|
+
return this.request(
|
|
4392
|
+
"loyalty",
|
|
4393
|
+
"post_loyalty_purchase",
|
|
4394
|
+
"post",
|
|
4395
|
+
`/loyalty/${id}/purchase/${user_id}`,
|
|
4396
|
+
body,
|
|
4397
|
+
options
|
|
4398
|
+
);
|
|
3410
4399
|
}
|
|
3411
4400
|
|
|
3412
4401
|
/**
|
|
@@ -3425,7 +4414,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3425
4414
|
query?: PostLoyaltyBuyrewardQuery;
|
|
3426
4415
|
} & Options
|
|
3427
4416
|
): ResponseType<PostLoyaltyBuyrewardResponse, Options> {
|
|
3428
|
-
return this.request(
|
|
4417
|
+
return this.request(
|
|
4418
|
+
"loyalty",
|
|
4419
|
+
"post_loyalty_buyreward",
|
|
4420
|
+
"post",
|
|
4421
|
+
`/loyalty/${id}/buyreward/${user_id}`,
|
|
4422
|
+
body,
|
|
4423
|
+
options
|
|
4424
|
+
);
|
|
3429
4425
|
}
|
|
3430
4426
|
|
|
3431
4427
|
/**
|
|
@@ -3442,7 +4438,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3442
4438
|
query?: GetLoyaltyHistoryQuery;
|
|
3443
4439
|
} & Options
|
|
3444
4440
|
): ResponseType<GetLoyaltyHistoryResponse, Options> {
|
|
3445
|
-
return this.request(
|
|
4441
|
+
return this.request(
|
|
4442
|
+
"loyalty",
|
|
4443
|
+
"get_loyalty_history",
|
|
4444
|
+
"get",
|
|
4445
|
+
`/loyalty/${id}/history/${user_id}`,
|
|
4446
|
+
null,
|
|
4447
|
+
options
|
|
4448
|
+
);
|
|
3446
4449
|
}
|
|
3447
4450
|
|
|
3448
4451
|
/**
|
|
@@ -3459,7 +4462,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3459
4462
|
coupon_id: string,
|
|
3460
4463
|
options?: Options
|
|
3461
4464
|
): ResponseType<GetLoyaltyCouponResponse, Options> {
|
|
3462
|
-
return this.request(
|
|
4465
|
+
return this.request(
|
|
4466
|
+
"loyalty",
|
|
4467
|
+
"get_loyalty_coupon",
|
|
4468
|
+
"get",
|
|
4469
|
+
`/loyalty/${id}/coupon/${user_id}/${coupon_id}`,
|
|
4470
|
+
null,
|
|
4471
|
+
options
|
|
4472
|
+
);
|
|
3463
4473
|
}
|
|
3464
4474
|
|
|
3465
4475
|
/**
|
|
@@ -3478,7 +4488,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3478
4488
|
body: PatchLoyaltyCouponBody,
|
|
3479
4489
|
options?: Options
|
|
3480
4490
|
): ResponseType<PatchLoyaltyCouponResponse, Options> {
|
|
3481
|
-
return this.request(
|
|
4491
|
+
return this.request(
|
|
4492
|
+
"loyalty",
|
|
4493
|
+
"patch_loyalty_coupon",
|
|
4494
|
+
"patch",
|
|
4495
|
+
`/loyalty/${id}/coupon/${user_id}/${coupon_id}`,
|
|
4496
|
+
body,
|
|
4497
|
+
options
|
|
4498
|
+
);
|
|
3482
4499
|
}
|
|
3483
4500
|
|
|
3484
4501
|
/**
|
|
@@ -3493,7 +4510,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3493
4510
|
query: GetLoyaltySearchQuery;
|
|
3494
4511
|
} & Options
|
|
3495
4512
|
): ResponseType<GetLoyaltySearchResponse, Options> {
|
|
3496
|
-
return this.request(
|
|
4513
|
+
return this.request(
|
|
4514
|
+
"loyalty",
|
|
4515
|
+
"get_loyalty_search",
|
|
4516
|
+
"get",
|
|
4517
|
+
`/loyalty/${id}/search`,
|
|
4518
|
+
null,
|
|
4519
|
+
options
|
|
4520
|
+
);
|
|
3497
4521
|
}
|
|
3498
4522
|
|
|
3499
4523
|
/**
|
|
@@ -3508,7 +4532,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3508
4532
|
query: GetLoyaltyUsersQuery;
|
|
3509
4533
|
} & Options
|
|
3510
4534
|
): ResponseType<GetLoyaltyUsersResponse, Options> {
|
|
3511
|
-
return this.request(
|
|
4535
|
+
return this.request(
|
|
4536
|
+
"loyalty",
|
|
4537
|
+
"get_loyalty_users",
|
|
4538
|
+
"get",
|
|
4539
|
+
`/loyalty/${id}/users`,
|
|
4540
|
+
null,
|
|
4541
|
+
options
|
|
4542
|
+
);
|
|
3512
4543
|
}
|
|
3513
4544
|
|
|
3514
4545
|
/**
|
|
@@ -3523,7 +4554,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3523
4554
|
query: GetLoyaltyEventsQuery;
|
|
3524
4555
|
} & Options
|
|
3525
4556
|
): ResponseType<GetLoyaltyEventsResponse, Options> {
|
|
3526
|
-
return this.request(
|
|
4557
|
+
return this.request(
|
|
4558
|
+
"loyalty",
|
|
4559
|
+
"get_loyalty_events",
|
|
4560
|
+
"get",
|
|
4561
|
+
`/loyalty/${id}/events`,
|
|
4562
|
+
null,
|
|
4563
|
+
options
|
|
4564
|
+
);
|
|
3527
4565
|
}
|
|
3528
4566
|
|
|
3529
4567
|
/**
|
|
@@ -3536,7 +4574,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3536
4574
|
id: string,
|
|
3537
4575
|
options?: Options
|
|
3538
4576
|
): ResponseType<GetBrandResponse, Options> {
|
|
3539
|
-
return this.request("get", `/brand/${id}`, null, options);
|
|
4577
|
+
return this.request("brand", "get_brand", "get", `/brand/${id}`, null, options);
|
|
3540
4578
|
}
|
|
3541
4579
|
|
|
3542
4580
|
/**
|
|
@@ -3547,7 +4585,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3547
4585
|
get_brands<Options extends RequestOptions>(
|
|
3548
4586
|
options?: Options
|
|
3549
4587
|
): ResponseType<GetBrandsResponse, Options> {
|
|
3550
|
-
return this.request("get", `/brand`, null, options);
|
|
4588
|
+
return this.request("brand", "get_brands", "get", `/brand`, null, options);
|
|
3551
4589
|
}
|
|
3552
4590
|
|
|
3553
4591
|
/**
|
|
@@ -3560,7 +4598,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3560
4598
|
id: string,
|
|
3561
4599
|
options?: Options
|
|
3562
4600
|
): ResponseType<GetCalendarResponse, Options> {
|
|
3563
|
-
return this.request("get", `/calendar/${id}`, null, options);
|
|
4601
|
+
return this.request("calendar", "get_calendar", "get", `/calendar/${id}`, null, options);
|
|
3564
4602
|
}
|
|
3565
4603
|
|
|
3566
4604
|
/**
|
|
@@ -3575,7 +4613,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3575
4613
|
body: PutCalendarBody,
|
|
3576
4614
|
options?: Options
|
|
3577
4615
|
): ResponseType<PutCalendarResponse, Options> {
|
|
3578
|
-
return this.request("put", `/calendar/${id}`, body, options);
|
|
4616
|
+
return this.request("calendar", "put_calendar", "put", `/calendar/${id}`, body, options);
|
|
3579
4617
|
}
|
|
3580
4618
|
|
|
3581
4619
|
/**
|
|
@@ -3590,7 +4628,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3590
4628
|
query?: GetCalendarCdlQuery;
|
|
3591
4629
|
} & Options
|
|
3592
4630
|
): ResponseType<GetCalendarCdlResponse, Options> {
|
|
3593
|
-
return this.request(
|
|
4631
|
+
return this.request(
|
|
4632
|
+
"calendar",
|
|
4633
|
+
"get_calendar_cdl",
|
|
4634
|
+
"get",
|
|
4635
|
+
`/calendar/${id}/cdl`,
|
|
4636
|
+
null,
|
|
4637
|
+
options
|
|
4638
|
+
);
|
|
3594
4639
|
}
|
|
3595
4640
|
|
|
3596
4641
|
/**
|
|
@@ -3601,7 +4646,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3601
4646
|
get_calendar_swagger<Options extends RequestOptions>(
|
|
3602
4647
|
options?: Options
|
|
3603
4648
|
): ResponseType<GetCalendarSwaggerResponse, Options> {
|
|
3604
|
-
return this.request(
|
|
4649
|
+
return this.request(
|
|
4650
|
+
"calendar",
|
|
4651
|
+
"get_calendar_swagger",
|
|
4652
|
+
"get",
|
|
4653
|
+
`/calendar/swagger.json`,
|
|
4654
|
+
null,
|
|
4655
|
+
options
|
|
4656
|
+
);
|
|
3605
4657
|
}
|
|
3606
4658
|
|
|
3607
4659
|
/**
|
|
@@ -3614,7 +4666,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3614
4666
|
id: string,
|
|
3615
4667
|
options?: Options
|
|
3616
4668
|
): ResponseType<PostCalendarSyncResponse, Options> {
|
|
3617
|
-
return this.request(
|
|
4669
|
+
return this.request(
|
|
4670
|
+
"calendar",
|
|
4671
|
+
"post_calendar_sync",
|
|
4672
|
+
"post",
|
|
4673
|
+
`/calendar/${id}/sync`,
|
|
4674
|
+
null,
|
|
4675
|
+
options
|
|
4676
|
+
);
|
|
3618
4677
|
}
|
|
3619
4678
|
|
|
3620
4679
|
/**
|
|
@@ -3627,7 +4686,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3627
4686
|
body: PostDeliveryOrderBody,
|
|
3628
4687
|
options?: Options
|
|
3629
4688
|
): ResponseType<PostDeliveryOrderResponse, Options> {
|
|
3630
|
-
return this.request(
|
|
4689
|
+
return this.request(
|
|
4690
|
+
"delivery",
|
|
4691
|
+
"post_delivery_order",
|
|
4692
|
+
"post",
|
|
4693
|
+
`/delivery/order`,
|
|
4694
|
+
body,
|
|
4695
|
+
options
|
|
4696
|
+
);
|
|
3631
4697
|
}
|
|
3632
4698
|
|
|
3633
4699
|
/**
|
|
@@ -3640,7 +4706,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3640
4706
|
order_id: string,
|
|
3641
4707
|
options?: Options
|
|
3642
4708
|
): ResponseType<PatchDeliveryOrderResponse, Options> {
|
|
3643
|
-
return this.request(
|
|
4709
|
+
return this.request(
|
|
4710
|
+
"delivery",
|
|
4711
|
+
"patch_delivery_order",
|
|
4712
|
+
"patch",
|
|
4713
|
+
`/delivery/order/${order_id}`,
|
|
4714
|
+
null,
|
|
4715
|
+
options
|
|
4716
|
+
);
|
|
3644
4717
|
}
|
|
3645
4718
|
|
|
3646
4719
|
/**
|
|
@@ -3653,7 +4726,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3653
4726
|
order_id: string,
|
|
3654
4727
|
options?: Options
|
|
3655
4728
|
): ResponseType<GetDeliveryOrderResponse, Options> {
|
|
3656
|
-
return this.request(
|
|
4729
|
+
return this.request(
|
|
4730
|
+
"delivery",
|
|
4731
|
+
"get_delivery_order",
|
|
4732
|
+
"get",
|
|
4733
|
+
`/delivery/order/${order_id}`,
|
|
4734
|
+
null,
|
|
4735
|
+
options
|
|
4736
|
+
);
|
|
3657
4737
|
}
|
|
3658
4738
|
|
|
3659
4739
|
/**
|
|
@@ -3666,7 +4746,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3666
4746
|
body: PostScheduleBody,
|
|
3667
4747
|
options?: Options
|
|
3668
4748
|
): ResponseType<PostScheduleResponse, Options> {
|
|
3669
|
-
return this.request("post", `/schedule`, body, options);
|
|
4749
|
+
return this.request("schedule", "post_schedule", "post", `/schedule`, body, options);
|
|
3670
4750
|
}
|
|
3671
4751
|
|
|
3672
4752
|
/**
|
|
@@ -3679,7 +4759,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3679
4759
|
query: GetSchedulesQuery;
|
|
3680
4760
|
} & Options
|
|
3681
4761
|
): ResponseType<GetSchedulesResponse, Options> {
|
|
3682
|
-
return this.request("get", `/schedule`, null, options);
|
|
4762
|
+
return this.request("schedule", "get_schedules", "get", `/schedule`, null, options);
|
|
3683
4763
|
}
|
|
3684
4764
|
|
|
3685
4765
|
/**
|
|
@@ -3692,7 +4772,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3692
4772
|
id: string,
|
|
3693
4773
|
options?: Options
|
|
3694
4774
|
): ResponseType<GetScheduleResponse, Options> {
|
|
3695
|
-
return this.request("get", `/schedule/${id}`, null, options);
|
|
4775
|
+
return this.request("schedule", "get_schedule", "get", `/schedule/${id}`, null, options);
|
|
3696
4776
|
}
|
|
3697
4777
|
|
|
3698
4778
|
/**
|
|
@@ -3707,7 +4787,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3707
4787
|
body: PutScheduleBody,
|
|
3708
4788
|
options?: Options
|
|
3709
4789
|
): ResponseType<PutScheduleResponse, Options> {
|
|
3710
|
-
return this.request("put", `/schedule/${id}`, body, options);
|
|
4790
|
+
return this.request("schedule", "put_schedule", "put", `/schedule/${id}`, body, options);
|
|
3711
4791
|
}
|
|
3712
4792
|
|
|
3713
4793
|
/**
|
|
@@ -3720,7 +4800,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3720
4800
|
id: string,
|
|
3721
4801
|
options?: Options
|
|
3722
4802
|
): ResponseType<DeleteScheduleResponse, Options> {
|
|
3723
|
-
return this.request("delete", `/schedule/${id}`, null, options);
|
|
4803
|
+
return this.request("schedule", "delete_schedule", "delete", `/schedule/${id}`, null, options);
|
|
3724
4804
|
}
|
|
3725
4805
|
|
|
3726
4806
|
/**
|
|
@@ -3733,7 +4813,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3733
4813
|
body: PostVoteBody,
|
|
3734
4814
|
options?: Options
|
|
3735
4815
|
): ResponseType<PostVoteResponse, Options> {
|
|
3736
|
-
return this.request("post", `/vote`, body, options);
|
|
4816
|
+
return this.request("vote", "post_vote", "post", `/vote`, body, options);
|
|
3737
4817
|
}
|
|
3738
4818
|
|
|
3739
4819
|
/**
|
|
@@ -3748,7 +4828,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3748
4828
|
query?: GetVoteIdfaQuery;
|
|
3749
4829
|
} & Options
|
|
3750
4830
|
): ResponseType<GetVoteIdfaResponse, Options> {
|
|
3751
|
-
return this.request("get", `/vote/idfa/${idfa}`, null, options);
|
|
4831
|
+
return this.request("vote", "get_vote_idfa", "get", `/vote/idfa/${idfa}`, null, options);
|
|
3752
4832
|
}
|
|
3753
4833
|
|
|
3754
4834
|
/**
|
|
@@ -3761,7 +4841,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3761
4841
|
body: PostFileBody,
|
|
3762
4842
|
options?: Options
|
|
3763
4843
|
): ResponseType<PostFileResponse, Options> {
|
|
3764
|
-
return this.request("post", `/file`, body, options);
|
|
4844
|
+
return this.request("file", "post_file", "post", `/file`, body, options);
|
|
3765
4845
|
}
|
|
3766
4846
|
|
|
3767
4847
|
/**
|
|
@@ -3774,7 +4854,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3774
4854
|
body: PostMessageBody,
|
|
3775
4855
|
options?: Options
|
|
3776
4856
|
): ResponseType<PostMessageResponse, Options> {
|
|
3777
|
-
return this.request("post", `/message`, body, options);
|
|
4857
|
+
return this.request("message", "post_message", "post", `/message`, body, options);
|
|
3778
4858
|
}
|
|
3779
4859
|
|
|
3780
4860
|
/**
|
|
@@ -3787,7 +4867,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3787
4867
|
id: string,
|
|
3788
4868
|
options?: Options
|
|
3789
4869
|
): ResponseType<GetMessageResponse, Options> {
|
|
3790
|
-
return this.request("get", `/message/${id}`, null, options);
|
|
4870
|
+
return this.request("message", "get_message", "get", `/message/${id}`, null, options);
|
|
3791
4871
|
}
|
|
3792
4872
|
|
|
3793
4873
|
/**
|
|
@@ -3802,6 +4882,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3802
4882
|
query?: GetLoggerBrandStatusQuery;
|
|
3803
4883
|
} & Options
|
|
3804
4884
|
): ResponseType<GetLoggerBrandStatusResponse, Options> {
|
|
3805
|
-
return this.request(
|
|
4885
|
+
return this.request(
|
|
4886
|
+
"logger",
|
|
4887
|
+
"get_logger_brand_status",
|
|
4888
|
+
"get",
|
|
4889
|
+
`/logger/${id}/brand/status`,
|
|
4890
|
+
null,
|
|
4891
|
+
options
|
|
4892
|
+
);
|
|
3806
4893
|
}
|
|
3807
4894
|
}
|