@munchi_oy/core 1.9.127 → 1.9.129
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/dist/generated/api.d.ts +524 -213
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/generated/api.ts +724 -240
- package/package.json +13 -15
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -2799,6 +2799,48 @@ export interface ClockOutRequestDto {
|
|
|
2799
2799
|
*/
|
|
2800
2800
|
'employeeId': string;
|
|
2801
2801
|
}
|
|
2802
|
+
/**
|
|
2803
|
+
*
|
|
2804
|
+
* @export
|
|
2805
|
+
* @interface CompleteOrderDto
|
|
2806
|
+
*/
|
|
2807
|
+
export interface CompleteOrderDto {
|
|
2808
|
+
/**
|
|
2809
|
+
* Collection the order is stored in
|
|
2810
|
+
* @type {string}
|
|
2811
|
+
* @memberof CompleteOrderDto
|
|
2812
|
+
*/
|
|
2813
|
+
'orderCollection': OrderCollectionEnum;
|
|
2814
|
+
}
|
|
2815
|
+
export declare const OrderCollectionEnum: {
|
|
2816
|
+
readonly Kiosk: "kiosk";
|
|
2817
|
+
};
|
|
2818
|
+
export type OrderCollectionEnum = typeof OrderCollectionEnum[keyof typeof OrderCollectionEnum];
|
|
2819
|
+
/**
|
|
2820
|
+
*
|
|
2821
|
+
* @export
|
|
2822
|
+
* @interface CompleteOrderResponseDto
|
|
2823
|
+
*/
|
|
2824
|
+
export interface CompleteOrderResponseDto {
|
|
2825
|
+
/**
|
|
2826
|
+
* Id of the completed order
|
|
2827
|
+
* @type {string}
|
|
2828
|
+
* @memberof CompleteOrderResponseDto
|
|
2829
|
+
*/
|
|
2830
|
+
'orderId': string;
|
|
2831
|
+
/**
|
|
2832
|
+
* The order is completed whenever this answers 200
|
|
2833
|
+
* @type {boolean}
|
|
2834
|
+
* @memberof CompleteOrderResponseDto
|
|
2835
|
+
*/
|
|
2836
|
+
'completed': boolean;
|
|
2837
|
+
/**
|
|
2838
|
+
* True when an earlier call already completed the order, so this call only announced its completion again
|
|
2839
|
+
* @type {boolean}
|
|
2840
|
+
* @memberof CompleteOrderResponseDto
|
|
2841
|
+
*/
|
|
2842
|
+
'alreadyCompleted': boolean;
|
|
2843
|
+
}
|
|
2802
2844
|
/**
|
|
2803
2845
|
*
|
|
2804
2846
|
* @export
|
|
@@ -9321,16 +9363,6 @@ export declare const LoyaltyChannel: {
|
|
|
9321
9363
|
readonly Mobile: "mobile";
|
|
9322
9364
|
};
|
|
9323
9365
|
export type LoyaltyChannel = typeof LoyaltyChannel[keyof typeof LoyaltyChannel];
|
|
9324
|
-
/**
|
|
9325
|
-
*
|
|
9326
|
-
* @export
|
|
9327
|
-
* @enum {string}
|
|
9328
|
-
*/
|
|
9329
|
-
export declare const LoyaltyCommerceMode: {
|
|
9330
|
-
readonly Legacy: "legacy";
|
|
9331
|
-
readonly Structured: "structured";
|
|
9332
|
-
};
|
|
9333
|
-
export type LoyaltyCommerceMode = typeof LoyaltyCommerceMode[keyof typeof LoyaltyCommerceMode];
|
|
9334
9366
|
/**
|
|
9335
9367
|
*
|
|
9336
9368
|
* @export
|
|
@@ -9507,6 +9539,172 @@ export interface LoyaltyLinkMetadataDto {
|
|
|
9507
9539
|
*/
|
|
9508
9540
|
'venueId': number;
|
|
9509
9541
|
}
|
|
9542
|
+
/**
|
|
9543
|
+
*
|
|
9544
|
+
* @export
|
|
9545
|
+
* @interface LoyaltyMemberContextDto
|
|
9546
|
+
*/
|
|
9547
|
+
export interface LoyaltyMemberContextDto {
|
|
9548
|
+
/**
|
|
9549
|
+
* Loyalty user id the member context was resolved for
|
|
9550
|
+
* @type {number}
|
|
9551
|
+
* @memberof LoyaltyMemberContextDto
|
|
9552
|
+
*/
|
|
9553
|
+
'user_id': number;
|
|
9554
|
+
/**
|
|
9555
|
+
* Business the member context was resolved for
|
|
9556
|
+
* @type {number}
|
|
9557
|
+
* @memberof LoyaltyMemberContextDto
|
|
9558
|
+
*/
|
|
9559
|
+
'business_id': number;
|
|
9560
|
+
/**
|
|
9561
|
+
*
|
|
9562
|
+
* @type {LoyaltyChannel}
|
|
9563
|
+
* @memberof LoyaltyMemberContextDto
|
|
9564
|
+
*/
|
|
9565
|
+
'channel': LoyaltyChannel;
|
|
9566
|
+
/**
|
|
9567
|
+
* Points the member can still spend, excluding expired batches
|
|
9568
|
+
* @type {number}
|
|
9569
|
+
* @memberof LoyaltyMemberContextDto
|
|
9570
|
+
*/
|
|
9571
|
+
'points_balance': number;
|
|
9572
|
+
/**
|
|
9573
|
+
* Rewards available to this member on this channel
|
|
9574
|
+
* @type {Array<LoyaltyMemberContextRewardDto>}
|
|
9575
|
+
* @memberof LoyaltyMemberContextDto
|
|
9576
|
+
*/
|
|
9577
|
+
'rewards': Array<LoyaltyMemberContextRewardDto>;
|
|
9578
|
+
}
|
|
9579
|
+
/**
|
|
9580
|
+
*
|
|
9581
|
+
* @export
|
|
9582
|
+
* @interface LoyaltyMemberContextRequestDto
|
|
9583
|
+
*/
|
|
9584
|
+
export interface LoyaltyMemberContextRequestDto {
|
|
9585
|
+
/**
|
|
9586
|
+
* Loyalty user id the context is resolved for
|
|
9587
|
+
* @type {number}
|
|
9588
|
+
* @memberof LoyaltyMemberContextRequestDto
|
|
9589
|
+
*/
|
|
9590
|
+
'user_id': number;
|
|
9591
|
+
/**
|
|
9592
|
+
* Business the caller is asking about
|
|
9593
|
+
* @type {number}
|
|
9594
|
+
* @memberof LoyaltyMemberContextRequestDto
|
|
9595
|
+
*/
|
|
9596
|
+
'business_id': number;
|
|
9597
|
+
/**
|
|
9598
|
+
*
|
|
9599
|
+
* @type {LoyaltyChannel}
|
|
9600
|
+
* @memberof LoyaltyMemberContextRequestDto
|
|
9601
|
+
*/
|
|
9602
|
+
'channel': LoyaltyChannel;
|
|
9603
|
+
}
|
|
9604
|
+
/**
|
|
9605
|
+
*
|
|
9606
|
+
* @export
|
|
9607
|
+
* @interface LoyaltyMemberContextRewardDto
|
|
9608
|
+
*/
|
|
9609
|
+
export interface LoyaltyMemberContextRewardDto {
|
|
9610
|
+
/**
|
|
9611
|
+
*
|
|
9612
|
+
* @type {number}
|
|
9613
|
+
* @memberof LoyaltyMemberContextRewardDto
|
|
9614
|
+
*/
|
|
9615
|
+
'catalog_id': number;
|
|
9616
|
+
/**
|
|
9617
|
+
*
|
|
9618
|
+
* @type {LoyaltyRewardType}
|
|
9619
|
+
* @memberof LoyaltyMemberContextRewardDto
|
|
9620
|
+
*/
|
|
9621
|
+
'type': LoyaltyRewardType;
|
|
9622
|
+
/**
|
|
9623
|
+
*
|
|
9624
|
+
* @type {string}
|
|
9625
|
+
* @memberof LoyaltyMemberContextRewardDto
|
|
9626
|
+
*/
|
|
9627
|
+
'name': string;
|
|
9628
|
+
/**
|
|
9629
|
+
*
|
|
9630
|
+
* @type {string}
|
|
9631
|
+
* @memberof LoyaltyMemberContextRewardDto
|
|
9632
|
+
*/
|
|
9633
|
+
'description'?: string | null;
|
|
9634
|
+
/**
|
|
9635
|
+
* Points a member spends; always null for a coupon
|
|
9636
|
+
* @type {number}
|
|
9637
|
+
* @memberof LoyaltyMemberContextRewardDto
|
|
9638
|
+
*/
|
|
9639
|
+
'points_cost': number | null;
|
|
9640
|
+
/**
|
|
9641
|
+
*
|
|
9642
|
+
* @type {Array<LoyaltyMemberContextRuleDto>}
|
|
9643
|
+
* @memberof LoyaltyMemberContextRewardDto
|
|
9644
|
+
*/
|
|
9645
|
+
'rules': Array<LoyaltyMemberContextRuleDto>;
|
|
9646
|
+
}
|
|
9647
|
+
/**
|
|
9648
|
+
*
|
|
9649
|
+
* @export
|
|
9650
|
+
* @interface LoyaltyMemberContextRuleDto
|
|
9651
|
+
*/
|
|
9652
|
+
export interface LoyaltyMemberContextRuleDto {
|
|
9653
|
+
/**
|
|
9654
|
+
*
|
|
9655
|
+
* @type {number}
|
|
9656
|
+
* @memberof LoyaltyMemberContextRuleDto
|
|
9657
|
+
*/
|
|
9658
|
+
'rule_id': number;
|
|
9659
|
+
/**
|
|
9660
|
+
*
|
|
9661
|
+
* @type {number}
|
|
9662
|
+
* @memberof LoyaltyMemberContextRuleDto
|
|
9663
|
+
*/
|
|
9664
|
+
'revision': number;
|
|
9665
|
+
/**
|
|
9666
|
+
*
|
|
9667
|
+
* @type {LoyaltyRuleApplicationMode}
|
|
9668
|
+
* @memberof LoyaltyMemberContextRuleDto
|
|
9669
|
+
*/
|
|
9670
|
+
'application_mode': LoyaltyRuleApplicationMode;
|
|
9671
|
+
/**
|
|
9672
|
+
*
|
|
9673
|
+
* @type {LoyaltyRuleStackingMode}
|
|
9674
|
+
* @memberof LoyaltyMemberContextRuleDto
|
|
9675
|
+
*/
|
|
9676
|
+
'stacking_mode': LoyaltyRuleStackingMode;
|
|
9677
|
+
/**
|
|
9678
|
+
*
|
|
9679
|
+
* @type {Array<LoyaltyRuleConditionDto>}
|
|
9680
|
+
* @memberof LoyaltyMemberContextRuleDto
|
|
9681
|
+
*/
|
|
9682
|
+
'conditions': Array<LoyaltyRuleConditionDto>;
|
|
9683
|
+
/**
|
|
9684
|
+
*
|
|
9685
|
+
* @type {boolean}
|
|
9686
|
+
* @memberof LoyaltyMemberContextRuleDto
|
|
9687
|
+
*/
|
|
9688
|
+
'repeatable': boolean;
|
|
9689
|
+
/**
|
|
9690
|
+
*
|
|
9691
|
+
* @type {number}
|
|
9692
|
+
* @memberof LoyaltyMemberContextRuleDto
|
|
9693
|
+
*/
|
|
9694
|
+
'max_applications': number | null;
|
|
9695
|
+
/**
|
|
9696
|
+
*
|
|
9697
|
+
* @type {LoyaltyRuleActionDto}
|
|
9698
|
+
* @memberof LoyaltyMemberContextRuleDto
|
|
9699
|
+
*/
|
|
9700
|
+
'action': LoyaltyRuleActionDto;
|
|
9701
|
+
/**
|
|
9702
|
+
*
|
|
9703
|
+
* @type {LoyaltyBusinessScopeDto}
|
|
9704
|
+
* @memberof LoyaltyMemberContextRuleDto
|
|
9705
|
+
*/
|
|
9706
|
+
'business_scope': LoyaltyBusinessScopeDto;
|
|
9707
|
+
}
|
|
9510
9708
|
/**
|
|
9511
9709
|
*
|
|
9512
9710
|
* @export
|
|
@@ -9746,178 +9944,6 @@ export declare const LoyaltyRuleTargetType: {
|
|
|
9746
9944
|
readonly Order: "order";
|
|
9747
9945
|
};
|
|
9748
9946
|
export type LoyaltyRuleTargetType = typeof LoyaltyRuleTargetType[keyof typeof LoyaltyRuleTargetType];
|
|
9749
|
-
/**
|
|
9750
|
-
*
|
|
9751
|
-
* @export
|
|
9752
|
-
* @interface LoyaltyRuntimeContextDto
|
|
9753
|
-
*/
|
|
9754
|
-
export interface LoyaltyRuntimeContextDto {
|
|
9755
|
-
/**
|
|
9756
|
-
* Loyalty user id the runtime was resolved for
|
|
9757
|
-
* @type {number}
|
|
9758
|
-
* @memberof LoyaltyRuntimeContextDto
|
|
9759
|
-
*/
|
|
9760
|
-
'user_id': number;
|
|
9761
|
-
/**
|
|
9762
|
-
* Business the runtime was resolved for
|
|
9763
|
-
* @type {number}
|
|
9764
|
-
* @memberof LoyaltyRuntimeContextDto
|
|
9765
|
-
*/
|
|
9766
|
-
'business_id': number;
|
|
9767
|
-
/**
|
|
9768
|
-
*
|
|
9769
|
-
* @type {LoyaltyChannel}
|
|
9770
|
-
* @memberof LoyaltyRuntimeContextDto
|
|
9771
|
-
*/
|
|
9772
|
-
'channel': LoyaltyChannel;
|
|
9773
|
-
/**
|
|
9774
|
-
* Points the member can still spend, excluding expired batches
|
|
9775
|
-
* @type {number}
|
|
9776
|
-
* @memberof LoyaltyRuntimeContextDto
|
|
9777
|
-
*/
|
|
9778
|
-
'points_balance': number;
|
|
9779
|
-
/**
|
|
9780
|
-
* Rewards available to this member on this channel
|
|
9781
|
-
* @type {Array<LoyaltyRuntimeRewardDto>}
|
|
9782
|
-
* @memberof LoyaltyRuntimeContextDto
|
|
9783
|
-
*/
|
|
9784
|
-
'rewards': Array<LoyaltyRuntimeRewardDto>;
|
|
9785
|
-
}
|
|
9786
|
-
/**
|
|
9787
|
-
*
|
|
9788
|
-
* @export
|
|
9789
|
-
* @interface LoyaltyRuntimeContextRequestDto
|
|
9790
|
-
*/
|
|
9791
|
-
export interface LoyaltyRuntimeContextRequestDto {
|
|
9792
|
-
/**
|
|
9793
|
-
* Loyalty user id the context is resolved for
|
|
9794
|
-
* @type {number}
|
|
9795
|
-
* @memberof LoyaltyRuntimeContextRequestDto
|
|
9796
|
-
*/
|
|
9797
|
-
'user_id': number;
|
|
9798
|
-
/**
|
|
9799
|
-
* Business the caller is asking about
|
|
9800
|
-
* @type {number}
|
|
9801
|
-
* @memberof LoyaltyRuntimeContextRequestDto
|
|
9802
|
-
*/
|
|
9803
|
-
'business_id': number;
|
|
9804
|
-
/**
|
|
9805
|
-
*
|
|
9806
|
-
* @type {LoyaltyChannel}
|
|
9807
|
-
* @memberof LoyaltyRuntimeContextRequestDto
|
|
9808
|
-
*/
|
|
9809
|
-
'channel': LoyaltyChannel;
|
|
9810
|
-
}
|
|
9811
|
-
/**
|
|
9812
|
-
*
|
|
9813
|
-
* @export
|
|
9814
|
-
* @interface LoyaltyRuntimeRewardDto
|
|
9815
|
-
*/
|
|
9816
|
-
export interface LoyaltyRuntimeRewardDto {
|
|
9817
|
-
/**
|
|
9818
|
-
*
|
|
9819
|
-
* @type {number}
|
|
9820
|
-
* @memberof LoyaltyRuntimeRewardDto
|
|
9821
|
-
*/
|
|
9822
|
-
'catalog_id': number;
|
|
9823
|
-
/**
|
|
9824
|
-
*
|
|
9825
|
-
* @type {LoyaltyRewardType}
|
|
9826
|
-
* @memberof LoyaltyRuntimeRewardDto
|
|
9827
|
-
*/
|
|
9828
|
-
'type': LoyaltyRewardType;
|
|
9829
|
-
/**
|
|
9830
|
-
*
|
|
9831
|
-
* @type {string}
|
|
9832
|
-
* @memberof LoyaltyRuntimeRewardDto
|
|
9833
|
-
*/
|
|
9834
|
-
'name': string;
|
|
9835
|
-
/**
|
|
9836
|
-
*
|
|
9837
|
-
* @type {string}
|
|
9838
|
-
* @memberof LoyaltyRuntimeRewardDto
|
|
9839
|
-
*/
|
|
9840
|
-
'description'?: string | null;
|
|
9841
|
-
/**
|
|
9842
|
-
* Points a member spends; always null for a coupon
|
|
9843
|
-
* @type {number}
|
|
9844
|
-
* @memberof LoyaltyRuntimeRewardDto
|
|
9845
|
-
*/
|
|
9846
|
-
'points_cost': number | null;
|
|
9847
|
-
/**
|
|
9848
|
-
*
|
|
9849
|
-
* @type {LoyaltyCommerceMode}
|
|
9850
|
-
* @memberof LoyaltyRuntimeRewardDto
|
|
9851
|
-
*/
|
|
9852
|
-
'commerce_mode': LoyaltyCommerceMode;
|
|
9853
|
-
/**
|
|
9854
|
-
*
|
|
9855
|
-
* @type {Array<LoyaltyRuntimeRuleDto>}
|
|
9856
|
-
* @memberof LoyaltyRuntimeRewardDto
|
|
9857
|
-
*/
|
|
9858
|
-
'rules': Array<LoyaltyRuntimeRuleDto>;
|
|
9859
|
-
}
|
|
9860
|
-
/**
|
|
9861
|
-
*
|
|
9862
|
-
* @export
|
|
9863
|
-
* @interface LoyaltyRuntimeRuleDto
|
|
9864
|
-
*/
|
|
9865
|
-
export interface LoyaltyRuntimeRuleDto {
|
|
9866
|
-
/**
|
|
9867
|
-
*
|
|
9868
|
-
* @type {number}
|
|
9869
|
-
* @memberof LoyaltyRuntimeRuleDto
|
|
9870
|
-
*/
|
|
9871
|
-
'rule_id': number;
|
|
9872
|
-
/**
|
|
9873
|
-
*
|
|
9874
|
-
* @type {number}
|
|
9875
|
-
* @memberof LoyaltyRuntimeRuleDto
|
|
9876
|
-
*/
|
|
9877
|
-
'revision': number;
|
|
9878
|
-
/**
|
|
9879
|
-
*
|
|
9880
|
-
* @type {LoyaltyRuleApplicationMode}
|
|
9881
|
-
* @memberof LoyaltyRuntimeRuleDto
|
|
9882
|
-
*/
|
|
9883
|
-
'application_mode': LoyaltyRuleApplicationMode;
|
|
9884
|
-
/**
|
|
9885
|
-
*
|
|
9886
|
-
* @type {LoyaltyRuleStackingMode}
|
|
9887
|
-
* @memberof LoyaltyRuntimeRuleDto
|
|
9888
|
-
*/
|
|
9889
|
-
'stacking_mode': LoyaltyRuleStackingMode;
|
|
9890
|
-
/**
|
|
9891
|
-
*
|
|
9892
|
-
* @type {Array<LoyaltyRuleConditionDto>}
|
|
9893
|
-
* @memberof LoyaltyRuntimeRuleDto
|
|
9894
|
-
*/
|
|
9895
|
-
'conditions': Array<LoyaltyRuleConditionDto>;
|
|
9896
|
-
/**
|
|
9897
|
-
*
|
|
9898
|
-
* @type {boolean}
|
|
9899
|
-
* @memberof LoyaltyRuntimeRuleDto
|
|
9900
|
-
*/
|
|
9901
|
-
'repeatable': boolean;
|
|
9902
|
-
/**
|
|
9903
|
-
*
|
|
9904
|
-
* @type {number}
|
|
9905
|
-
* @memberof LoyaltyRuntimeRuleDto
|
|
9906
|
-
*/
|
|
9907
|
-
'max_applications': number | null;
|
|
9908
|
-
/**
|
|
9909
|
-
*
|
|
9910
|
-
* @type {LoyaltyRuleActionDto}
|
|
9911
|
-
* @memberof LoyaltyRuntimeRuleDto
|
|
9912
|
-
*/
|
|
9913
|
-
'action': LoyaltyRuleActionDto;
|
|
9914
|
-
/**
|
|
9915
|
-
*
|
|
9916
|
-
* @type {LoyaltyBusinessScopeDto}
|
|
9917
|
-
* @memberof LoyaltyRuntimeRuleDto
|
|
9918
|
-
*/
|
|
9919
|
-
'business_scope': LoyaltyBusinessScopeDto;
|
|
9920
|
-
}
|
|
9921
9947
|
/**
|
|
9922
9948
|
*
|
|
9923
9949
|
* @export
|
|
@@ -20106,6 +20132,54 @@ export interface ReceiptDetailsDto {
|
|
|
20106
20132
|
*/
|
|
20107
20133
|
'transactionStatusInformation': string;
|
|
20108
20134
|
}
|
|
20135
|
+
/**
|
|
20136
|
+
*
|
|
20137
|
+
* @export
|
|
20138
|
+
* @interface ReceiptFooterConfigDto
|
|
20139
|
+
*/
|
|
20140
|
+
export interface ReceiptFooterConfigDto {
|
|
20141
|
+
/**
|
|
20142
|
+
*
|
|
20143
|
+
* @type {number}
|
|
20144
|
+
* @memberof ReceiptFooterConfigDto
|
|
20145
|
+
*/
|
|
20146
|
+
'businessId': number;
|
|
20147
|
+
/**
|
|
20148
|
+
*
|
|
20149
|
+
* @type {ProviderEnum}
|
|
20150
|
+
* @memberof ReceiptFooterConfigDto
|
|
20151
|
+
*/
|
|
20152
|
+
'channel': ProviderEnum;
|
|
20153
|
+
/**
|
|
20154
|
+
*
|
|
20155
|
+
* @type {Array<ReceiptFooterDocumentType>}
|
|
20156
|
+
* @memberof ReceiptFooterConfigDto
|
|
20157
|
+
*/
|
|
20158
|
+
'appliesTo': Array<ReceiptFooterDocumentType>;
|
|
20159
|
+
/**
|
|
20160
|
+
*
|
|
20161
|
+
* @type {Array<object>}
|
|
20162
|
+
* @memberof ReceiptFooterConfigDto
|
|
20163
|
+
*/
|
|
20164
|
+
'blocks': Array<object>;
|
|
20165
|
+
/**
|
|
20166
|
+
*
|
|
20167
|
+
* @type {string}
|
|
20168
|
+
* @memberof ReceiptFooterConfigDto
|
|
20169
|
+
*/
|
|
20170
|
+
'updatedAt': string;
|
|
20171
|
+
}
|
|
20172
|
+
/**
|
|
20173
|
+
*
|
|
20174
|
+
* @export
|
|
20175
|
+
* @enum {string}
|
|
20176
|
+
*/
|
|
20177
|
+
export declare const ReceiptFooterDocumentType: {
|
|
20178
|
+
readonly ReceiptFinal: "RECEIPT_FINAL";
|
|
20179
|
+
readonly ReceiptPrebill: "RECEIPT_PREBILL";
|
|
20180
|
+
readonly Refund: "REFUND";
|
|
20181
|
+
};
|
|
20182
|
+
export type ReceiptFooterDocumentType = typeof ReceiptFooterDocumentType[keyof typeof ReceiptFooterDocumentType];
|
|
20109
20183
|
/**
|
|
20110
20184
|
*
|
|
20111
20185
|
* @export
|
|
@@ -21387,7 +21461,7 @@ export interface RestoreLoyaltyRedemptionDto {
|
|
|
21387
21461
|
*/
|
|
21388
21462
|
'businessId': number;
|
|
21389
21463
|
/**
|
|
21390
|
-
* POS order carrying the redemption
|
|
21464
|
+
* POS or kiosk order carrying the redemption
|
|
21391
21465
|
* @type {string}
|
|
21392
21466
|
* @memberof RestoreLoyaltyRedemptionDto
|
|
21393
21467
|
*/
|
|
@@ -21473,6 +21547,7 @@ export declare const SYNCKEY: {
|
|
|
21473
21547
|
readonly BusinessTax: "BUSINESS_TAX";
|
|
21474
21548
|
readonly Transaction: "TRANSACTION";
|
|
21475
21549
|
readonly PaymentMethods: "PAYMENT_METHODS";
|
|
21550
|
+
readonly ReceiptFooter: "RECEIPT_FOOTER";
|
|
21476
21551
|
};
|
|
21477
21552
|
export type SYNCKEY = typeof SYNCKEY[keyof typeof SYNCKEY];
|
|
21478
21553
|
/**
|
|
@@ -26449,6 +26524,25 @@ export interface UpsertProvidersDto {
|
|
|
26449
26524
|
*/
|
|
26450
26525
|
'locationId'?: string;
|
|
26451
26526
|
}
|
|
26527
|
+
/**
|
|
26528
|
+
*
|
|
26529
|
+
* @export
|
|
26530
|
+
* @interface UpsertReceiptFooterDto
|
|
26531
|
+
*/
|
|
26532
|
+
export interface UpsertReceiptFooterDto {
|
|
26533
|
+
/**
|
|
26534
|
+
* Document types this footer applies to. Empty array = all types.
|
|
26535
|
+
* @type {Array<ReceiptFooterDocumentType>}
|
|
26536
|
+
* @memberof UpsertReceiptFooterDto
|
|
26537
|
+
*/
|
|
26538
|
+
'appliesTo': Array<ReceiptFooterDocumentType>;
|
|
26539
|
+
/**
|
|
26540
|
+
* Ordered footer content blocks (text/image/qr/barcode), rendered before Munchi\'s own branding footer.
|
|
26541
|
+
* @type {Array<object>}
|
|
26542
|
+
* @memberof UpsertReceiptFooterDto
|
|
26543
|
+
*/
|
|
26544
|
+
'blocks': Array<object>;
|
|
26545
|
+
}
|
|
26452
26546
|
/**
|
|
26453
26547
|
*
|
|
26454
26548
|
* @export
|
|
@@ -34423,20 +34517,20 @@ export declare const LoyaltyIntegerationsApiAxiosParamCreator: (configuration?:
|
|
|
34423
34517
|
getUserWallet: (businessId: number, userId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34424
34518
|
/**
|
|
34425
34519
|
*
|
|
34426
|
-
* @summary Resolve
|
|
34427
|
-
* @param {
|
|
34520
|
+
* @summary Resolve the loyalty member context for a member on a till surface
|
|
34521
|
+
* @param {LoyaltyMemberContextRequestDto} loyaltyMemberContextRequestDto
|
|
34428
34522
|
* @param {*} [options] Override http request option.
|
|
34429
34523
|
* @throws {RequiredError}
|
|
34430
34524
|
*/
|
|
34431
|
-
|
|
34525
|
+
memberContext: (loyaltyMemberContextRequestDto: LoyaltyMemberContextRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34432
34526
|
/**
|
|
34433
34527
|
*
|
|
34434
|
-
* @summary Resolve
|
|
34435
|
-
* @param {
|
|
34528
|
+
* @summary Resolve applicable loyalty perks for the current cart (AI)
|
|
34529
|
+
* @param {LoyaltyResolveRequestDto} loyaltyResolveRequestDto
|
|
34436
34530
|
* @param {*} [options] Override http request option.
|
|
34437
34531
|
* @throws {RequiredError}
|
|
34438
34532
|
*/
|
|
34439
|
-
|
|
34533
|
+
resolvePerks: (loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34440
34534
|
/**
|
|
34441
34535
|
*
|
|
34442
34536
|
* @summary Search user by phone or email
|
|
@@ -34545,20 +34639,20 @@ export declare const LoyaltyIntegerationsApiFp: (configuration?: Configuration)
|
|
|
34545
34639
|
getUserWallet(businessId: number, userId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserWalletResponseDto>>;
|
|
34546
34640
|
/**
|
|
34547
34641
|
*
|
|
34548
|
-
* @summary Resolve
|
|
34549
|
-
* @param {
|
|
34642
|
+
* @summary Resolve the loyalty member context for a member on a till surface
|
|
34643
|
+
* @param {LoyaltyMemberContextRequestDto} loyaltyMemberContextRequestDto
|
|
34550
34644
|
* @param {*} [options] Override http request option.
|
|
34551
34645
|
* @throws {RequiredError}
|
|
34552
34646
|
*/
|
|
34553
|
-
|
|
34647
|
+
memberContext(loyaltyMemberContextRequestDto: LoyaltyMemberContextRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoyaltyMemberContextDto>>;
|
|
34554
34648
|
/**
|
|
34555
34649
|
*
|
|
34556
|
-
* @summary Resolve
|
|
34557
|
-
* @param {
|
|
34650
|
+
* @summary Resolve applicable loyalty perks for the current cart (AI)
|
|
34651
|
+
* @param {LoyaltyResolveRequestDto} loyaltyResolveRequestDto
|
|
34558
34652
|
* @param {*} [options] Override http request option.
|
|
34559
34653
|
* @throws {RequiredError}
|
|
34560
34654
|
*/
|
|
34561
|
-
|
|
34655
|
+
resolvePerks(loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoyaltyResolveResponseDto>>;
|
|
34562
34656
|
/**
|
|
34563
34657
|
*
|
|
34564
34658
|
* @summary Search user by phone or email
|
|
@@ -34667,20 +34761,20 @@ export declare const LoyaltyIntegerationsApiFactory: (configuration?: Configurat
|
|
|
34667
34761
|
getUserWallet(businessId: number, userId: number, options?: any): AxiosPromise<UserWalletResponseDto>;
|
|
34668
34762
|
/**
|
|
34669
34763
|
*
|
|
34670
|
-
* @summary Resolve
|
|
34671
|
-
* @param {
|
|
34764
|
+
* @summary Resolve the loyalty member context for a member on a till surface
|
|
34765
|
+
* @param {LoyaltyMemberContextRequestDto} loyaltyMemberContextRequestDto
|
|
34672
34766
|
* @param {*} [options] Override http request option.
|
|
34673
34767
|
* @throws {RequiredError}
|
|
34674
34768
|
*/
|
|
34675
|
-
|
|
34769
|
+
memberContext(loyaltyMemberContextRequestDto: LoyaltyMemberContextRequestDto, options?: any): AxiosPromise<LoyaltyMemberContextDto>;
|
|
34676
34770
|
/**
|
|
34677
34771
|
*
|
|
34678
|
-
* @summary Resolve
|
|
34679
|
-
* @param {
|
|
34772
|
+
* @summary Resolve applicable loyalty perks for the current cart (AI)
|
|
34773
|
+
* @param {LoyaltyResolveRequestDto} loyaltyResolveRequestDto
|
|
34680
34774
|
* @param {*} [options] Override http request option.
|
|
34681
34775
|
* @throws {RequiredError}
|
|
34682
34776
|
*/
|
|
34683
|
-
|
|
34777
|
+
resolvePerks(loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options?: any): AxiosPromise<LoyaltyResolveResponseDto>;
|
|
34684
34778
|
/**
|
|
34685
34779
|
*
|
|
34686
34780
|
* @summary Search user by phone or email
|
|
@@ -34798,22 +34892,22 @@ export interface LoyaltyIntegerationsApiInterface {
|
|
|
34798
34892
|
getUserWallet(businessId: number, userId: number, options?: AxiosRequestConfig): AxiosPromise<UserWalletResponseDto>;
|
|
34799
34893
|
/**
|
|
34800
34894
|
*
|
|
34801
|
-
* @summary Resolve
|
|
34802
|
-
* @param {
|
|
34895
|
+
* @summary Resolve the loyalty member context for a member on a till surface
|
|
34896
|
+
* @param {LoyaltyMemberContextRequestDto} loyaltyMemberContextRequestDto
|
|
34803
34897
|
* @param {*} [options] Override http request option.
|
|
34804
34898
|
* @throws {RequiredError}
|
|
34805
34899
|
* @memberof LoyaltyIntegerationsApiInterface
|
|
34806
34900
|
*/
|
|
34807
|
-
|
|
34901
|
+
memberContext(loyaltyMemberContextRequestDto: LoyaltyMemberContextRequestDto, options?: AxiosRequestConfig): AxiosPromise<LoyaltyMemberContextDto>;
|
|
34808
34902
|
/**
|
|
34809
34903
|
*
|
|
34810
|
-
* @summary Resolve
|
|
34811
|
-
* @param {
|
|
34904
|
+
* @summary Resolve applicable loyalty perks for the current cart (AI)
|
|
34905
|
+
* @param {LoyaltyResolveRequestDto} loyaltyResolveRequestDto
|
|
34812
34906
|
* @param {*} [options] Override http request option.
|
|
34813
34907
|
* @throws {RequiredError}
|
|
34814
34908
|
* @memberof LoyaltyIntegerationsApiInterface
|
|
34815
34909
|
*/
|
|
34816
|
-
|
|
34910
|
+
resolvePerks(loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options?: AxiosRequestConfig): AxiosPromise<LoyaltyResolveResponseDto>;
|
|
34817
34911
|
/**
|
|
34818
34912
|
*
|
|
34819
34913
|
* @summary Search user by phone or email
|
|
@@ -34935,22 +35029,22 @@ export declare class LoyaltyIntegerationsApi extends BaseAPI implements LoyaltyI
|
|
|
34935
35029
|
getUserWallet(businessId: number, userId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserWalletResponseDto, any, {}>>;
|
|
34936
35030
|
/**
|
|
34937
35031
|
*
|
|
34938
|
-
* @summary Resolve
|
|
34939
|
-
* @param {
|
|
35032
|
+
* @summary Resolve the loyalty member context for a member on a till surface
|
|
35033
|
+
* @param {LoyaltyMemberContextRequestDto} loyaltyMemberContextRequestDto
|
|
34940
35034
|
* @param {*} [options] Override http request option.
|
|
34941
35035
|
* @throws {RequiredError}
|
|
34942
35036
|
* @memberof LoyaltyIntegerationsApi
|
|
34943
35037
|
*/
|
|
34944
|
-
|
|
35038
|
+
memberContext(loyaltyMemberContextRequestDto: LoyaltyMemberContextRequestDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LoyaltyMemberContextDto, any, {}>>;
|
|
34945
35039
|
/**
|
|
34946
35040
|
*
|
|
34947
|
-
* @summary Resolve
|
|
34948
|
-
* @param {
|
|
35041
|
+
* @summary Resolve applicable loyalty perks for the current cart (AI)
|
|
35042
|
+
* @param {LoyaltyResolveRequestDto} loyaltyResolveRequestDto
|
|
34949
35043
|
* @param {*} [options] Override http request option.
|
|
34950
35044
|
* @throws {RequiredError}
|
|
34951
35045
|
* @memberof LoyaltyIntegerationsApi
|
|
34952
35046
|
*/
|
|
34953
|
-
|
|
35047
|
+
resolvePerks(loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LoyaltyResolveResponseDto, any, {}>>;
|
|
34954
35048
|
/**
|
|
34955
35049
|
*
|
|
34956
35050
|
* @summary Search user by phone or email
|
|
@@ -35772,6 +35866,91 @@ export declare class NotificationApi extends BaseAPI implements NotificationApiI
|
|
|
35772
35866
|
*/
|
|
35773
35867
|
removeVenueSubscriptionsV2(deviceSubscriptionDto: DeviceSubscriptionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
35774
35868
|
}
|
|
35869
|
+
/**
|
|
35870
|
+
* OrderCompletionApi - axios parameter creator
|
|
35871
|
+
* @export
|
|
35872
|
+
*/
|
|
35873
|
+
export declare const OrderCompletionApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
35874
|
+
/**
|
|
35875
|
+
*
|
|
35876
|
+
* @summary Complete an order that has nothing left to pay
|
|
35877
|
+
* @param {string} businessId The unique ID of the business the order belongs to.
|
|
35878
|
+
* @param {string} orderId The unique ID of the order.
|
|
35879
|
+
* @param {CompleteOrderDto} completeOrderDto
|
|
35880
|
+
* @param {*} [options] Override http request option.
|
|
35881
|
+
* @throws {RequiredError}
|
|
35882
|
+
*/
|
|
35883
|
+
completeOrder: (businessId: string, orderId: string, completeOrderDto: CompleteOrderDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35884
|
+
};
|
|
35885
|
+
/**
|
|
35886
|
+
* OrderCompletionApi - functional programming interface
|
|
35887
|
+
* @export
|
|
35888
|
+
*/
|
|
35889
|
+
export declare const OrderCompletionApiFp: (configuration?: Configuration) => {
|
|
35890
|
+
/**
|
|
35891
|
+
*
|
|
35892
|
+
* @summary Complete an order that has nothing left to pay
|
|
35893
|
+
* @param {string} businessId The unique ID of the business the order belongs to.
|
|
35894
|
+
* @param {string} orderId The unique ID of the order.
|
|
35895
|
+
* @param {CompleteOrderDto} completeOrderDto
|
|
35896
|
+
* @param {*} [options] Override http request option.
|
|
35897
|
+
* @throws {RequiredError}
|
|
35898
|
+
*/
|
|
35899
|
+
completeOrder(businessId: string, orderId: string, completeOrderDto: CompleteOrderDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompleteOrderResponseDto>>;
|
|
35900
|
+
};
|
|
35901
|
+
/**
|
|
35902
|
+
* OrderCompletionApi - factory interface
|
|
35903
|
+
* @export
|
|
35904
|
+
*/
|
|
35905
|
+
export declare const OrderCompletionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
35906
|
+
/**
|
|
35907
|
+
*
|
|
35908
|
+
* @summary Complete an order that has nothing left to pay
|
|
35909
|
+
* @param {string} businessId The unique ID of the business the order belongs to.
|
|
35910
|
+
* @param {string} orderId The unique ID of the order.
|
|
35911
|
+
* @param {CompleteOrderDto} completeOrderDto
|
|
35912
|
+
* @param {*} [options] Override http request option.
|
|
35913
|
+
* @throws {RequiredError}
|
|
35914
|
+
*/
|
|
35915
|
+
completeOrder(businessId: string, orderId: string, completeOrderDto: CompleteOrderDto, options?: any): AxiosPromise<CompleteOrderResponseDto>;
|
|
35916
|
+
};
|
|
35917
|
+
/**
|
|
35918
|
+
* OrderCompletionApi - interface
|
|
35919
|
+
* @export
|
|
35920
|
+
* @interface OrderCompletionApi
|
|
35921
|
+
*/
|
|
35922
|
+
export interface OrderCompletionApiInterface {
|
|
35923
|
+
/**
|
|
35924
|
+
*
|
|
35925
|
+
* @summary Complete an order that has nothing left to pay
|
|
35926
|
+
* @param {string} businessId The unique ID of the business the order belongs to.
|
|
35927
|
+
* @param {string} orderId The unique ID of the order.
|
|
35928
|
+
* @param {CompleteOrderDto} completeOrderDto
|
|
35929
|
+
* @param {*} [options] Override http request option.
|
|
35930
|
+
* @throws {RequiredError}
|
|
35931
|
+
* @memberof OrderCompletionApiInterface
|
|
35932
|
+
*/
|
|
35933
|
+
completeOrder(businessId: string, orderId: string, completeOrderDto: CompleteOrderDto, options?: AxiosRequestConfig): AxiosPromise<CompleteOrderResponseDto>;
|
|
35934
|
+
}
|
|
35935
|
+
/**
|
|
35936
|
+
* OrderCompletionApi - object-oriented interface
|
|
35937
|
+
* @export
|
|
35938
|
+
* @class OrderCompletionApi
|
|
35939
|
+
* @extends {BaseAPI}
|
|
35940
|
+
*/
|
|
35941
|
+
export declare class OrderCompletionApi extends BaseAPI implements OrderCompletionApiInterface {
|
|
35942
|
+
/**
|
|
35943
|
+
*
|
|
35944
|
+
* @summary Complete an order that has nothing left to pay
|
|
35945
|
+
* @param {string} businessId The unique ID of the business the order belongs to.
|
|
35946
|
+
* @param {string} orderId The unique ID of the order.
|
|
35947
|
+
* @param {CompleteOrderDto} completeOrderDto
|
|
35948
|
+
* @param {*} [options] Override http request option.
|
|
35949
|
+
* @throws {RequiredError}
|
|
35950
|
+
* @memberof OrderCompletionApi
|
|
35951
|
+
*/
|
|
35952
|
+
completeOrder(businessId: string, orderId: string, completeOrderDto: CompleteOrderDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompleteOrderResponseDto, any, {}>>;
|
|
35953
|
+
}
|
|
35775
35954
|
/**
|
|
35776
35955
|
* OrderInternalApi - axios parameter creator
|
|
35777
35956
|
* @export
|
|
@@ -39982,6 +40161,138 @@ export declare class ProviderApi extends BaseAPI implements ProviderApiInterface
|
|
|
39982
40161
|
*/
|
|
39983
40162
|
updateProviderSettings(businessId: number, body: object, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
39984
40163
|
}
|
|
40164
|
+
/**
|
|
40165
|
+
* ReceiptFooterApi - axios parameter creator
|
|
40166
|
+
* @export
|
|
40167
|
+
*/
|
|
40168
|
+
export declare const ReceiptFooterApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
40169
|
+
/**
|
|
40170
|
+
*
|
|
40171
|
+
* @summary Get the receipt footer config for a business + channel
|
|
40172
|
+
* @param {number} businessId
|
|
40173
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
|
|
40174
|
+
* @param {*} [options] Override http request option.
|
|
40175
|
+
* @throws {RequiredError}
|
|
40176
|
+
*/
|
|
40177
|
+
receiptFooterGetConfig: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
40178
|
+
/**
|
|
40179
|
+
*
|
|
40180
|
+
* @summary Create or update the receipt footer config for a business + channel
|
|
40181
|
+
* @param {number} businessId
|
|
40182
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
|
|
40183
|
+
* @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
|
|
40184
|
+
* @param {*} [options] Override http request option.
|
|
40185
|
+
* @throws {RequiredError}
|
|
40186
|
+
*/
|
|
40187
|
+
receiptFooterUpsertConfig: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay", upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
40188
|
+
};
|
|
40189
|
+
/**
|
|
40190
|
+
* ReceiptFooterApi - functional programming interface
|
|
40191
|
+
* @export
|
|
40192
|
+
*/
|
|
40193
|
+
export declare const ReceiptFooterApiFp: (configuration?: Configuration) => {
|
|
40194
|
+
/**
|
|
40195
|
+
*
|
|
40196
|
+
* @summary Get the receipt footer config for a business + channel
|
|
40197
|
+
* @param {number} businessId
|
|
40198
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
|
|
40199
|
+
* @param {*} [options] Override http request option.
|
|
40200
|
+
* @throws {RequiredError}
|
|
40201
|
+
*/
|
|
40202
|
+
receiptFooterGetConfig(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReceiptFooterConfigDto>>;
|
|
40203
|
+
/**
|
|
40204
|
+
*
|
|
40205
|
+
* @summary Create or update the receipt footer config for a business + channel
|
|
40206
|
+
* @param {number} businessId
|
|
40207
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
|
|
40208
|
+
* @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
|
|
40209
|
+
* @param {*} [options] Override http request option.
|
|
40210
|
+
* @throws {RequiredError}
|
|
40211
|
+
*/
|
|
40212
|
+
receiptFooterUpsertConfig(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay", upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReceiptFooterConfigDto>>;
|
|
40213
|
+
};
|
|
40214
|
+
/**
|
|
40215
|
+
* ReceiptFooterApi - factory interface
|
|
40216
|
+
* @export
|
|
40217
|
+
*/
|
|
40218
|
+
export declare const ReceiptFooterApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
40219
|
+
/**
|
|
40220
|
+
*
|
|
40221
|
+
* @summary Get the receipt footer config for a business + channel
|
|
40222
|
+
* @param {number} businessId
|
|
40223
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
|
|
40224
|
+
* @param {*} [options] Override http request option.
|
|
40225
|
+
* @throws {RequiredError}
|
|
40226
|
+
*/
|
|
40227
|
+
receiptFooterGetConfig(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay", options?: any): AxiosPromise<ReceiptFooterConfigDto>;
|
|
40228
|
+
/**
|
|
40229
|
+
*
|
|
40230
|
+
* @summary Create or update the receipt footer config for a business + channel
|
|
40231
|
+
* @param {number} businessId
|
|
40232
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
|
|
40233
|
+
* @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
|
|
40234
|
+
* @param {*} [options] Override http request option.
|
|
40235
|
+
* @throws {RequiredError}
|
|
40236
|
+
*/
|
|
40237
|
+
receiptFooterUpsertConfig(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay", upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: any): AxiosPromise<ReceiptFooterConfigDto>;
|
|
40238
|
+
};
|
|
40239
|
+
/**
|
|
40240
|
+
* ReceiptFooterApi - interface
|
|
40241
|
+
* @export
|
|
40242
|
+
* @interface ReceiptFooterApi
|
|
40243
|
+
*/
|
|
40244
|
+
export interface ReceiptFooterApiInterface {
|
|
40245
|
+
/**
|
|
40246
|
+
*
|
|
40247
|
+
* @summary Get the receipt footer config for a business + channel
|
|
40248
|
+
* @param {number} businessId
|
|
40249
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
|
|
40250
|
+
* @param {*} [options] Override http request option.
|
|
40251
|
+
* @throws {RequiredError}
|
|
40252
|
+
* @memberof ReceiptFooterApiInterface
|
|
40253
|
+
*/
|
|
40254
|
+
receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig): AxiosPromise<ReceiptFooterConfigDto>;
|
|
40255
|
+
/**
|
|
40256
|
+
*
|
|
40257
|
+
* @summary Create or update the receipt footer config for a business + channel
|
|
40258
|
+
* @param {number} businessId
|
|
40259
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
|
|
40260
|
+
* @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
|
|
40261
|
+
* @param {*} [options] Override http request option.
|
|
40262
|
+
* @throws {RequiredError}
|
|
40263
|
+
* @memberof ReceiptFooterApiInterface
|
|
40264
|
+
*/
|
|
40265
|
+
receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig): AxiosPromise<ReceiptFooterConfigDto>;
|
|
40266
|
+
}
|
|
40267
|
+
/**
|
|
40268
|
+
* ReceiptFooterApi - object-oriented interface
|
|
40269
|
+
* @export
|
|
40270
|
+
* @class ReceiptFooterApi
|
|
40271
|
+
* @extends {BaseAPI}
|
|
40272
|
+
*/
|
|
40273
|
+
export declare class ReceiptFooterApi extends BaseAPI implements ReceiptFooterApiInterface {
|
|
40274
|
+
/**
|
|
40275
|
+
*
|
|
40276
|
+
* @summary Get the receipt footer config for a business + channel
|
|
40277
|
+
* @param {number} businessId
|
|
40278
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
|
|
40279
|
+
* @param {*} [options] Override http request option.
|
|
40280
|
+
* @throws {RequiredError}
|
|
40281
|
+
* @memberof ReceiptFooterApi
|
|
40282
|
+
*/
|
|
40283
|
+
receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReceiptFooterConfigDto, any, {}>>;
|
|
40284
|
+
/**
|
|
40285
|
+
*
|
|
40286
|
+
* @summary Create or update the receipt footer config for a business + channel
|
|
40287
|
+
* @param {number} businessId
|
|
40288
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
|
|
40289
|
+
* @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
|
|
40290
|
+
* @param {*} [options] Override http request option.
|
|
40291
|
+
* @throws {RequiredError}
|
|
40292
|
+
* @memberof ReceiptFooterApi
|
|
40293
|
+
*/
|
|
40294
|
+
receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReceiptFooterConfigDto, any, {}>>;
|
|
40295
|
+
}
|
|
39985
40296
|
/**
|
|
39986
40297
|
* RefundsApi - axios parameter creator
|
|
39987
40298
|
* @export
|