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