@munchi_oy/core 1.9.17 → 1.9.19
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 +859 -161
- 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 +1214 -164
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/generated/api.ts
CHANGED
|
@@ -176,6 +176,37 @@ export interface ActionPasscodeResponseDto {
|
|
|
176
176
|
*/
|
|
177
177
|
'permissionRules': Array<PermissionRuleResponseDto>;
|
|
178
178
|
}
|
|
179
|
+
/**
|
|
180
|
+
*
|
|
181
|
+
* @export
|
|
182
|
+
* @interface ActivateKioskOfferDto
|
|
183
|
+
*/
|
|
184
|
+
export interface ActivateKioskOfferDto {
|
|
185
|
+
/**
|
|
186
|
+
*
|
|
187
|
+
* @type {number}
|
|
188
|
+
* @memberof ActivateKioskOfferDto
|
|
189
|
+
*/
|
|
190
|
+
'businessId': number;
|
|
191
|
+
/**
|
|
192
|
+
*
|
|
193
|
+
* @type {number}
|
|
194
|
+
* @memberof ActivateKioskOfferDto
|
|
195
|
+
*/
|
|
196
|
+
'userId': number;
|
|
197
|
+
/**
|
|
198
|
+
*
|
|
199
|
+
* @type {number}
|
|
200
|
+
* @memberof ActivateKioskOfferDto
|
|
201
|
+
*/
|
|
202
|
+
'walletId': number;
|
|
203
|
+
/**
|
|
204
|
+
*
|
|
205
|
+
* @type {number}
|
|
206
|
+
* @memberof ActivateKioskOfferDto
|
|
207
|
+
*/
|
|
208
|
+
'catalogId': number;
|
|
209
|
+
}
|
|
179
210
|
/**
|
|
180
211
|
*
|
|
181
212
|
* @export
|
|
@@ -471,7 +502,8 @@ export interface BusinessCategoryBodyDto {
|
|
|
471
502
|
export const MenuTypeEnum = {
|
|
472
503
|
Pos: 'pos',
|
|
473
504
|
Kiosk: 'kiosk',
|
|
474
|
-
Ayce: 'ayce'
|
|
505
|
+
Ayce: 'ayce',
|
|
506
|
+
Storefront: 'storefront'
|
|
475
507
|
} as const;
|
|
476
508
|
|
|
477
509
|
export type MenuTypeEnum = typeof MenuTypeEnum[keyof typeof MenuTypeEnum];
|
|
@@ -1652,6 +1684,43 @@ export interface CardPresentDetailsDtoWallet {
|
|
|
1652
1684
|
*/
|
|
1653
1685
|
'type': string;
|
|
1654
1686
|
}
|
|
1687
|
+
/**
|
|
1688
|
+
*
|
|
1689
|
+
* @export
|
|
1690
|
+
* @interface CartItemContextDto
|
|
1691
|
+
*/
|
|
1692
|
+
export interface CartItemContextDto {
|
|
1693
|
+
/**
|
|
1694
|
+
*
|
|
1695
|
+
* @type {string}
|
|
1696
|
+
* @memberof CartItemContextDto
|
|
1697
|
+
*/
|
|
1698
|
+
'lineItemId': string;
|
|
1699
|
+
/**
|
|
1700
|
+
*
|
|
1701
|
+
* @type {string}
|
|
1702
|
+
* @memberof CartItemContextDto
|
|
1703
|
+
*/
|
|
1704
|
+
'name': string;
|
|
1705
|
+
/**
|
|
1706
|
+
*
|
|
1707
|
+
* @type {number}
|
|
1708
|
+
* @memberof CartItemContextDto
|
|
1709
|
+
*/
|
|
1710
|
+
'quantity': number;
|
|
1711
|
+
/**
|
|
1712
|
+
* Total in minor units (cents)
|
|
1713
|
+
* @type {number}
|
|
1714
|
+
* @memberof CartItemContextDto
|
|
1715
|
+
*/
|
|
1716
|
+
'totalAmount': number;
|
|
1717
|
+
/**
|
|
1718
|
+
*
|
|
1719
|
+
* @type {string}
|
|
1720
|
+
* @memberof CartItemContextDto
|
|
1721
|
+
*/
|
|
1722
|
+
'categoryName'?: string;
|
|
1723
|
+
}
|
|
1655
1724
|
/**
|
|
1656
1725
|
*
|
|
1657
1726
|
* @export
|
|
@@ -2487,7 +2556,8 @@ export const ChannelEnum = {
|
|
|
2487
2556
|
Bolt: 'Bolt',
|
|
2488
2557
|
MunchiKioskV2: 'MunchiKioskV2',
|
|
2489
2558
|
Kiosk: 'Kiosk',
|
|
2490
|
-
WoltStorefront: 'WoltStorefront'
|
|
2559
|
+
WoltStorefront: 'WoltStorefront',
|
|
2560
|
+
Storefront: 'Storefront'
|
|
2491
2561
|
} as const;
|
|
2492
2562
|
|
|
2493
2563
|
export type ChannelEnum = typeof ChannelEnum[keyof typeof ChannelEnum];
|
|
@@ -2665,6 +2735,31 @@ export const CheckoutModelEnum = {
|
|
|
2665
2735
|
export type CheckoutModelEnum = typeof CheckoutModelEnum[keyof typeof CheckoutModelEnum];
|
|
2666
2736
|
|
|
2667
2737
|
|
|
2738
|
+
/**
|
|
2739
|
+
*
|
|
2740
|
+
* @export
|
|
2741
|
+
* @interface ClaimKioskOfferDto
|
|
2742
|
+
*/
|
|
2743
|
+
export interface ClaimKioskOfferDto {
|
|
2744
|
+
/**
|
|
2745
|
+
*
|
|
2746
|
+
* @type {number}
|
|
2747
|
+
* @memberof ClaimKioskOfferDto
|
|
2748
|
+
*/
|
|
2749
|
+
'businessId': number;
|
|
2750
|
+
/**
|
|
2751
|
+
*
|
|
2752
|
+
* @type {number}
|
|
2753
|
+
* @memberof ClaimKioskOfferDto
|
|
2754
|
+
*/
|
|
2755
|
+
'userId': number;
|
|
2756
|
+
/**
|
|
2757
|
+
*
|
|
2758
|
+
* @type {number}
|
|
2759
|
+
* @memberof ClaimKioskOfferDto
|
|
2760
|
+
*/
|
|
2761
|
+
'catalogId': number;
|
|
2762
|
+
}
|
|
2668
2763
|
/**
|
|
2669
2764
|
*
|
|
2670
2765
|
* @export
|
|
@@ -7715,6 +7810,50 @@ export interface LoyaltyLinkMetadataDto {
|
|
|
7715
7810
|
*/
|
|
7716
7811
|
'venueId': number;
|
|
7717
7812
|
}
|
|
7813
|
+
/**
|
|
7814
|
+
*
|
|
7815
|
+
* @export
|
|
7816
|
+
* @interface LoyaltyResolveRequestDto
|
|
7817
|
+
*/
|
|
7818
|
+
export interface LoyaltyResolveRequestDto {
|
|
7819
|
+
/**
|
|
7820
|
+
*
|
|
7821
|
+
* @type {number}
|
|
7822
|
+
* @memberof LoyaltyResolveRequestDto
|
|
7823
|
+
*/
|
|
7824
|
+
'businessId': number;
|
|
7825
|
+
/**
|
|
7826
|
+
*
|
|
7827
|
+
* @type {number}
|
|
7828
|
+
* @memberof LoyaltyResolveRequestDto
|
|
7829
|
+
*/
|
|
7830
|
+
'userId': number;
|
|
7831
|
+
/**
|
|
7832
|
+
*
|
|
7833
|
+
* @type {Array<CartItemContextDto>}
|
|
7834
|
+
* @memberof LoyaltyResolveRequestDto
|
|
7835
|
+
*/
|
|
7836
|
+
'cartItems': Array<CartItemContextDto>;
|
|
7837
|
+
/**
|
|
7838
|
+
* Cart total in minor units
|
|
7839
|
+
* @type {number}
|
|
7840
|
+
* @memberof LoyaltyResolveRequestDto
|
|
7841
|
+
*/
|
|
7842
|
+
'cartTotal': number;
|
|
7843
|
+
}
|
|
7844
|
+
/**
|
|
7845
|
+
*
|
|
7846
|
+
* @export
|
|
7847
|
+
* @interface LoyaltyResolveResponseDto
|
|
7848
|
+
*/
|
|
7849
|
+
export interface LoyaltyResolveResponseDto {
|
|
7850
|
+
/**
|
|
7851
|
+
*
|
|
7852
|
+
* @type {Array<ResolvedPerkDto>}
|
|
7853
|
+
* @memberof LoyaltyResolveResponseDto
|
|
7854
|
+
*/
|
|
7855
|
+
'perks': Array<ResolvedPerkDto>;
|
|
7856
|
+
}
|
|
7718
7857
|
/**
|
|
7719
7858
|
*
|
|
7720
7859
|
* @export
|
|
@@ -12855,6 +12994,12 @@ export interface PosOrderDto {
|
|
|
12855
12994
|
* @memberof PosOrderDto
|
|
12856
12995
|
*/
|
|
12857
12996
|
'fees'?: Array<OrderFeeDto> | null;
|
|
12997
|
+
/**
|
|
12998
|
+
* Loyalty user ID associated with this order
|
|
12999
|
+
* @type {number}
|
|
13000
|
+
* @memberof PosOrderDto
|
|
13001
|
+
*/
|
|
13002
|
+
'targetUserId'?: number;
|
|
12858
13003
|
}
|
|
12859
13004
|
|
|
12860
13005
|
|
|
@@ -13586,6 +13731,12 @@ export interface PosOrderPayloadDtoOrder {
|
|
|
13586
13731
|
* @memberof PosOrderPayloadDtoOrder
|
|
13587
13732
|
*/
|
|
13588
13733
|
'fees'?: Array<OrderFeeDto> | null;
|
|
13734
|
+
/**
|
|
13735
|
+
* Loyalty user ID associated with this order
|
|
13736
|
+
* @type {number}
|
|
13737
|
+
* @memberof PosOrderPayloadDtoOrder
|
|
13738
|
+
*/
|
|
13739
|
+
'targetUserId'?: number;
|
|
13589
13740
|
}
|
|
13590
13741
|
|
|
13591
13742
|
|
|
@@ -14053,6 +14204,19 @@ export const PrinterTypeEnum = {
|
|
|
14053
14204
|
export type PrinterTypeEnum = typeof PrinterTypeEnum[keyof typeof PrinterTypeEnum];
|
|
14054
14205
|
|
|
14055
14206
|
|
|
14207
|
+
/**
|
|
14208
|
+
*
|
|
14209
|
+
* @export
|
|
14210
|
+
* @interface ProcessKioskRecoveryQueueDto
|
|
14211
|
+
*/
|
|
14212
|
+
export interface ProcessKioskRecoveryQueueDto {
|
|
14213
|
+
/**
|
|
14214
|
+
* Maximum number of kiosk recovery jobs to process in one run.
|
|
14215
|
+
* @type {number}
|
|
14216
|
+
* @memberof ProcessKioskRecoveryQueueDto
|
|
14217
|
+
*/
|
|
14218
|
+
'batchSize'?: number;
|
|
14219
|
+
}
|
|
14056
14220
|
/**
|
|
14057
14221
|
*
|
|
14058
14222
|
* @export
|
|
@@ -14350,6 +14514,12 @@ export interface ProcessOrderActionsResponseDtoOrder {
|
|
|
14350
14514
|
* @memberof ProcessOrderActionsResponseDtoOrder
|
|
14351
14515
|
*/
|
|
14352
14516
|
'fees'?: Array<OrderFeeDto> | null;
|
|
14517
|
+
/**
|
|
14518
|
+
* Loyalty user ID associated with this order
|
|
14519
|
+
* @type {number}
|
|
14520
|
+
* @memberof ProcessOrderActionsResponseDtoOrder
|
|
14521
|
+
*/
|
|
14522
|
+
'targetUserId'?: number;
|
|
14353
14523
|
}
|
|
14354
14524
|
|
|
14355
14525
|
|
|
@@ -14791,7 +14961,8 @@ export const ProviderEnum = {
|
|
|
14791
14961
|
Bolt: 'Bolt',
|
|
14792
14962
|
MunchiKioskV2: 'MunchiKioskV2',
|
|
14793
14963
|
Kiosk: 'Kiosk',
|
|
14794
|
-
WoltStorefront: 'WoltStorefront'
|
|
14964
|
+
WoltStorefront: 'WoltStorefront',
|
|
14965
|
+
Storefront: 'Storefront'
|
|
14795
14966
|
} as const;
|
|
14796
14967
|
|
|
14797
14968
|
export type ProviderEnum = typeof ProviderEnum[keyof typeof ProviderEnum];
|
|
@@ -15739,6 +15910,95 @@ export interface ResolveChoiceDto {
|
|
|
15739
15910
|
*/
|
|
15740
15911
|
'chosenPaymentEventId': string;
|
|
15741
15912
|
}
|
|
15913
|
+
/**
|
|
15914
|
+
*
|
|
15915
|
+
* @export
|
|
15916
|
+
* @interface ResolvedPerkDto
|
|
15917
|
+
*/
|
|
15918
|
+
export interface ResolvedPerkDto {
|
|
15919
|
+
/**
|
|
15920
|
+
* Wallet item ID (null for unclaimed catalog items)
|
|
15921
|
+
* @type {object}
|
|
15922
|
+
* @memberof ResolvedPerkDto
|
|
15923
|
+
*/
|
|
15924
|
+
'walletId': object | null;
|
|
15925
|
+
/**
|
|
15926
|
+
* Catalog ID
|
|
15927
|
+
* @type {object}
|
|
15928
|
+
* @memberof ResolvedPerkDto
|
|
15929
|
+
*/
|
|
15930
|
+
'catalogId': object | null;
|
|
15931
|
+
/**
|
|
15932
|
+
*
|
|
15933
|
+
* @type {string}
|
|
15934
|
+
* @memberof ResolvedPerkDto
|
|
15935
|
+
*/
|
|
15936
|
+
'name': string;
|
|
15937
|
+
/**
|
|
15938
|
+
*
|
|
15939
|
+
* @type {string}
|
|
15940
|
+
* @memberof ResolvedPerkDto
|
|
15941
|
+
*/
|
|
15942
|
+
'walletStatus': WalletStatusEnum;
|
|
15943
|
+
/**
|
|
15944
|
+
*
|
|
15945
|
+
* @type {boolean}
|
|
15946
|
+
* @memberof ResolvedPerkDto
|
|
15947
|
+
*/
|
|
15948
|
+
'applicable': boolean;
|
|
15949
|
+
/**
|
|
15950
|
+
* False while AI validation is pending
|
|
15951
|
+
* @type {boolean}
|
|
15952
|
+
* @memberof ResolvedPerkDto
|
|
15953
|
+
*/
|
|
15954
|
+
'resolved': boolean;
|
|
15955
|
+
/**
|
|
15956
|
+
*
|
|
15957
|
+
* @type {string}
|
|
15958
|
+
* @memberof ResolvedPerkDto
|
|
15959
|
+
*/
|
|
15960
|
+
'discountType': DiscountTypeEnum;
|
|
15961
|
+
/**
|
|
15962
|
+
*
|
|
15963
|
+
* @type {object}
|
|
15964
|
+
* @memberof ResolvedPerkDto
|
|
15965
|
+
*/
|
|
15966
|
+
'discountValue': object | null;
|
|
15967
|
+
/**
|
|
15968
|
+
*
|
|
15969
|
+
* @type {string}
|
|
15970
|
+
* @memberof ResolvedPerkDto
|
|
15971
|
+
*/
|
|
15972
|
+
'scope': ScopeEnum;
|
|
15973
|
+
/**
|
|
15974
|
+
*
|
|
15975
|
+
* @type {object}
|
|
15976
|
+
* @memberof ResolvedPerkDto
|
|
15977
|
+
*/
|
|
15978
|
+
'targetLineItemId': object | null;
|
|
15979
|
+
}
|
|
15980
|
+
|
|
15981
|
+
export const WalletStatusEnum = {
|
|
15982
|
+
Claimed: 'Claimed',
|
|
15983
|
+
Redeemed: 'Redeemed',
|
|
15984
|
+
Expired: 'Expired',
|
|
15985
|
+
Available: 'Available'
|
|
15986
|
+
} as const;
|
|
15987
|
+
|
|
15988
|
+
export type WalletStatusEnum = typeof WalletStatusEnum[keyof typeof WalletStatusEnum];
|
|
15989
|
+
export const DiscountTypeEnum = {
|
|
15990
|
+
Percentage: 'PERCENTAGE',
|
|
15991
|
+
Fixed: 'FIXED'
|
|
15992
|
+
} as const;
|
|
15993
|
+
|
|
15994
|
+
export type DiscountTypeEnum = typeof DiscountTypeEnum[keyof typeof DiscountTypeEnum];
|
|
15995
|
+
export const ScopeEnum = {
|
|
15996
|
+
Item: 'ITEM',
|
|
15997
|
+
Cart: 'CART'
|
|
15998
|
+
} as const;
|
|
15999
|
+
|
|
16000
|
+
export type ScopeEnum = typeof ScopeEnum[keyof typeof ScopeEnum];
|
|
16001
|
+
|
|
15742
16002
|
/**
|
|
15743
16003
|
*
|
|
15744
16004
|
* @export
|
|
@@ -19304,6 +19564,19 @@ export interface UserValidation {
|
|
|
19304
19564
|
*/
|
|
19305
19565
|
'phone': string;
|
|
19306
19566
|
}
|
|
19567
|
+
/**
|
|
19568
|
+
*
|
|
19569
|
+
* @export
|
|
19570
|
+
* @interface UserWalletResponseDto
|
|
19571
|
+
*/
|
|
19572
|
+
export interface UserWalletResponseDto {
|
|
19573
|
+
/**
|
|
19574
|
+
*
|
|
19575
|
+
* @type {Array<WalletItemDto>}
|
|
19576
|
+
* @memberof UserWalletResponseDto
|
|
19577
|
+
*/
|
|
19578
|
+
'data': Array<WalletItemDto>;
|
|
19579
|
+
}
|
|
19307
19580
|
/**
|
|
19308
19581
|
*
|
|
19309
19582
|
* @export
|
|
@@ -19484,12 +19757,6 @@ export interface VivaAppToAppInitResponseDto {
|
|
|
19484
19757
|
* @memberof VivaAppToAppInitResponseDto
|
|
19485
19758
|
*/
|
|
19486
19759
|
'ISV_clientSecret'?: string;
|
|
19487
|
-
/**
|
|
19488
|
-
* The ISV source code.
|
|
19489
|
-
* @type {number}
|
|
19490
|
-
* @memberof VivaAppToAppInitResponseDto
|
|
19491
|
-
*/
|
|
19492
|
-
'ISV_sourceCode'?: number;
|
|
19493
19760
|
/**
|
|
19494
19761
|
* The ISO numeric currency code required by Viva ISV mode.
|
|
19495
19762
|
* @type {number}
|
|
@@ -19503,17 +19770,17 @@ export interface VivaAppToAppInitResponseDto {
|
|
|
19503
19770
|
*/
|
|
19504
19771
|
'ISV_customerTrns'?: string;
|
|
19505
19772
|
/**
|
|
19506
|
-
* The ISV
|
|
19507
|
-
* @type {
|
|
19773
|
+
* The ISV client transaction ID if used separately from the app transaction ID.
|
|
19774
|
+
* @type {string}
|
|
19508
19775
|
* @memberof VivaAppToAppInitResponseDto
|
|
19509
19776
|
*/
|
|
19510
|
-
'
|
|
19777
|
+
'ISV_clientTransactionId'?: string;
|
|
19511
19778
|
/**
|
|
19512
|
-
*
|
|
19779
|
+
* Merchant-facing reference shown on the Viva receipt (e.g. KIOSK-1234).
|
|
19513
19780
|
* @type {string}
|
|
19514
19781
|
* @memberof VivaAppToAppInitResponseDto
|
|
19515
19782
|
*/
|
|
19516
|
-
'
|
|
19783
|
+
'merchantReference'?: string;
|
|
19517
19784
|
}
|
|
19518
19785
|
|
|
19519
19786
|
|
|
@@ -20860,6 +21127,37 @@ export const EventTypeIdEnum = {
|
|
|
20860
21127
|
|
|
20861
21128
|
export type EventTypeIdEnum = typeof EventTypeIdEnum[keyof typeof EventTypeIdEnum];
|
|
20862
21129
|
|
|
21130
|
+
/**
|
|
21131
|
+
*
|
|
21132
|
+
* @export
|
|
21133
|
+
* @interface WalletCatalogDto
|
|
21134
|
+
*/
|
|
21135
|
+
export interface WalletCatalogDto {
|
|
21136
|
+
/**
|
|
21137
|
+
*
|
|
21138
|
+
* @type {number}
|
|
21139
|
+
* @memberof WalletCatalogDto
|
|
21140
|
+
*/
|
|
21141
|
+
'id': number;
|
|
21142
|
+
/**
|
|
21143
|
+
*
|
|
21144
|
+
* @type {string}
|
|
21145
|
+
* @memberof WalletCatalogDto
|
|
21146
|
+
*/
|
|
21147
|
+
'name': string;
|
|
21148
|
+
/**
|
|
21149
|
+
*
|
|
21150
|
+
* @type {Array<string>}
|
|
21151
|
+
* @memberof WalletCatalogDto
|
|
21152
|
+
*/
|
|
21153
|
+
'description': Array<string>;
|
|
21154
|
+
/**
|
|
21155
|
+
*
|
|
21156
|
+
* @type {string}
|
|
21157
|
+
* @memberof WalletCatalogDto
|
|
21158
|
+
*/
|
|
21159
|
+
'type': string;
|
|
21160
|
+
}
|
|
20863
21161
|
/**
|
|
20864
21162
|
*
|
|
20865
21163
|
* @export
|
|
@@ -20927,6 +21225,45 @@ export interface WalletDto {
|
|
|
20927
21225
|
*/
|
|
20928
21226
|
'type': string;
|
|
20929
21227
|
}
|
|
21228
|
+
/**
|
|
21229
|
+
*
|
|
21230
|
+
* @export
|
|
21231
|
+
* @interface WalletItemDto
|
|
21232
|
+
*/
|
|
21233
|
+
export interface WalletItemDto {
|
|
21234
|
+
/**
|
|
21235
|
+
*
|
|
21236
|
+
* @type {number}
|
|
21237
|
+
* @memberof WalletItemDto
|
|
21238
|
+
*/
|
|
21239
|
+
'id': number;
|
|
21240
|
+
/**
|
|
21241
|
+
*
|
|
21242
|
+
* @type {string}
|
|
21243
|
+
* @memberof WalletItemDto
|
|
21244
|
+
*/
|
|
21245
|
+
'status': StatusEnum;
|
|
21246
|
+
/**
|
|
21247
|
+
*
|
|
21248
|
+
* @type {object}
|
|
21249
|
+
* @memberof WalletItemDto
|
|
21250
|
+
*/
|
|
21251
|
+
'expires_at': object | null;
|
|
21252
|
+
/**
|
|
21253
|
+
*
|
|
21254
|
+
* @type {WalletCatalogDto}
|
|
21255
|
+
* @memberof WalletItemDto
|
|
21256
|
+
*/
|
|
21257
|
+
'catalog': WalletCatalogDto;
|
|
21258
|
+
}
|
|
21259
|
+
|
|
21260
|
+
export const StatusEnum = {
|
|
21261
|
+
Claimed: 'Claimed',
|
|
21262
|
+
Redeemed: 'Redeemed'
|
|
21263
|
+
} as const;
|
|
21264
|
+
|
|
21265
|
+
export type StatusEnum = typeof StatusEnum[keyof typeof StatusEnum];
|
|
21266
|
+
|
|
20930
21267
|
/**
|
|
20931
21268
|
*
|
|
20932
21269
|
* @export
|
|
@@ -23495,11 +23832,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
23495
23832
|
/**
|
|
23496
23833
|
*
|
|
23497
23834
|
* @param {string} businessId
|
|
23498
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
23835
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
23499
23836
|
* @param {*} [options] Override http request option.
|
|
23500
23837
|
* @throws {RequiredError}
|
|
23501
23838
|
*/
|
|
23502
|
-
getBusinessMenuByType: async (businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23839
|
+
getBusinessMenuByType: async (businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23503
23840
|
// verify required parameter 'businessId' is not null or undefined
|
|
23504
23841
|
assertParamExists('getBusinessMenuByType', 'businessId', businessId)
|
|
23505
23842
|
// verify required parameter 'menuType' is not null or undefined
|
|
@@ -23537,11 +23874,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
23537
23874
|
*
|
|
23538
23875
|
* @summary Get business menu by type V2
|
|
23539
23876
|
* @param {string} businessId
|
|
23540
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
23877
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
23541
23878
|
* @param {*} [options] Override http request option.
|
|
23542
23879
|
* @throws {RequiredError}
|
|
23543
23880
|
*/
|
|
23544
|
-
getBusinessMenuByTypeV2: async (businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23881
|
+
getBusinessMenuByTypeV2: async (businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23545
23882
|
// verify required parameter 'businessId' is not null or undefined
|
|
23546
23883
|
assertParamExists('getBusinessMenuByTypeV2', 'businessId', businessId)
|
|
23547
23884
|
// verify required parameter 'menuType' is not null or undefined
|
|
@@ -23579,11 +23916,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
23579
23916
|
*
|
|
23580
23917
|
* @summary Get business menu by type V3
|
|
23581
23918
|
* @param {string} businessId
|
|
23582
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
23919
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
23583
23920
|
* @param {*} [options] Override http request option.
|
|
23584
23921
|
* @throws {RequiredError}
|
|
23585
23922
|
*/
|
|
23586
|
-
getBusinessMenuByTypeV3: async (businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23923
|
+
getBusinessMenuByTypeV3: async (businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23587
23924
|
// verify required parameter 'businessId' is not null or undefined
|
|
23588
23925
|
assertParamExists('getBusinessMenuByTypeV3', 'businessId', businessId)
|
|
23589
23926
|
// verify required parameter 'menuType' is not null or undefined
|
|
@@ -23621,11 +23958,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
23621
23958
|
*
|
|
23622
23959
|
* @summary Get business menu by type V4
|
|
23623
23960
|
* @param {string} businessId
|
|
23624
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
23961
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
23625
23962
|
* @param {*} [options] Override http request option.
|
|
23626
23963
|
* @throws {RequiredError}
|
|
23627
23964
|
*/
|
|
23628
|
-
getBusinessMenuByTypeV4: async (businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23965
|
+
getBusinessMenuByTypeV4: async (businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23629
23966
|
// verify required parameter 'businessId' is not null or undefined
|
|
23630
23967
|
assertParamExists('getBusinessMenuByTypeV4', 'businessId', businessId)
|
|
23631
23968
|
// verify required parameter 'menuType' is not null or undefined
|
|
@@ -24215,11 +24552,11 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
24215
24552
|
/**
|
|
24216
24553
|
*
|
|
24217
24554
|
* @param {string} businessId
|
|
24218
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
24555
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
24219
24556
|
* @param {*} [options] Override http request option.
|
|
24220
24557
|
* @throws {RequiredError}
|
|
24221
24558
|
*/
|
|
24222
|
-
async getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>> {
|
|
24559
|
+
async getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>> {
|
|
24223
24560
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getBusinessMenuByType(businessId, menuType, options);
|
|
24224
24561
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24225
24562
|
},
|
|
@@ -24227,11 +24564,11 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
24227
24564
|
*
|
|
24228
24565
|
* @summary Get business menu by type V2
|
|
24229
24566
|
* @param {string} businessId
|
|
24230
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
24567
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
24231
24568
|
* @param {*} [options] Override http request option.
|
|
24232
24569
|
* @throws {RequiredError}
|
|
24233
24570
|
*/
|
|
24234
|
-
async getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>> {
|
|
24571
|
+
async getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>> {
|
|
24235
24572
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getBusinessMenuByTypeV2(businessId, menuType, options);
|
|
24236
24573
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24237
24574
|
},
|
|
@@ -24239,11 +24576,11 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
24239
24576
|
*
|
|
24240
24577
|
* @summary Get business menu by type V3
|
|
24241
24578
|
* @param {string} businessId
|
|
24242
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
24579
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
24243
24580
|
* @param {*} [options] Override http request option.
|
|
24244
24581
|
* @throws {RequiredError}
|
|
24245
24582
|
*/
|
|
24246
|
-
async getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>> {
|
|
24583
|
+
async getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>> {
|
|
24247
24584
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getBusinessMenuByTypeV3(businessId, menuType, options);
|
|
24248
24585
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24249
24586
|
},
|
|
@@ -24251,11 +24588,11 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
24251
24588
|
*
|
|
24252
24589
|
* @summary Get business menu by type V4
|
|
24253
24590
|
* @param {string} businessId
|
|
24254
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
24591
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
24255
24592
|
* @param {*} [options] Override http request option.
|
|
24256
24593
|
* @throws {RequiredError}
|
|
24257
24594
|
*/
|
|
24258
|
-
async getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>> {
|
|
24595
|
+
async getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>> {
|
|
24259
24596
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getBusinessMenuByTypeV4(businessId, menuType, options);
|
|
24260
24597
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24261
24598
|
},
|
|
@@ -24505,44 +24842,44 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
24505
24842
|
/**
|
|
24506
24843
|
*
|
|
24507
24844
|
* @param {string} businessId
|
|
24508
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
24845
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
24509
24846
|
* @param {*} [options] Override http request option.
|
|
24510
24847
|
* @throws {RequiredError}
|
|
24511
24848
|
*/
|
|
24512
|
-
getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: any): AxiosPromise<Array<MenuDto>> {
|
|
24849
|
+
getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: any): AxiosPromise<Array<MenuDto>> {
|
|
24513
24850
|
return localVarFp.getBusinessMenuByType(businessId, menuType, options).then((request) => request(axios, basePath));
|
|
24514
24851
|
},
|
|
24515
24852
|
/**
|
|
24516
24853
|
*
|
|
24517
24854
|
* @summary Get business menu by type V2
|
|
24518
24855
|
* @param {string} businessId
|
|
24519
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
24856
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
24520
24857
|
* @param {*} [options] Override http request option.
|
|
24521
24858
|
* @throws {RequiredError}
|
|
24522
24859
|
*/
|
|
24523
|
-
getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: any): AxiosPromise<Array<MenuDto>> {
|
|
24860
|
+
getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: any): AxiosPromise<Array<MenuDto>> {
|
|
24524
24861
|
return localVarFp.getBusinessMenuByTypeV2(businessId, menuType, options).then((request) => request(axios, basePath));
|
|
24525
24862
|
},
|
|
24526
24863
|
/**
|
|
24527
24864
|
*
|
|
24528
24865
|
* @summary Get business menu by type V3
|
|
24529
24866
|
* @param {string} businessId
|
|
24530
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
24867
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
24531
24868
|
* @param {*} [options] Override http request option.
|
|
24532
24869
|
* @throws {RequiredError}
|
|
24533
24870
|
*/
|
|
24534
|
-
getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: any): AxiosPromise<MenuReponseDto> {
|
|
24871
|
+
getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: any): AxiosPromise<MenuReponseDto> {
|
|
24535
24872
|
return localVarFp.getBusinessMenuByTypeV3(businessId, menuType, options).then((request) => request(axios, basePath));
|
|
24536
24873
|
},
|
|
24537
24874
|
/**
|
|
24538
24875
|
*
|
|
24539
24876
|
* @summary Get business menu by type V4
|
|
24540
24877
|
* @param {string} businessId
|
|
24541
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
24878
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
24542
24879
|
* @param {*} [options] Override http request option.
|
|
24543
24880
|
* @throws {RequiredError}
|
|
24544
24881
|
*/
|
|
24545
|
-
getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: any): AxiosPromise<MenuReponseDto> {
|
|
24882
|
+
getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: any): AxiosPromise<MenuReponseDto> {
|
|
24546
24883
|
return localVarFp.getBusinessMenuByTypeV4(businessId, menuType, options).then((request) => request(axios, basePath));
|
|
24547
24884
|
},
|
|
24548
24885
|
/**
|
|
@@ -24780,45 +25117,45 @@ export interface BusinessApiInterface {
|
|
|
24780
25117
|
/**
|
|
24781
25118
|
*
|
|
24782
25119
|
* @param {string} businessId
|
|
24783
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
25120
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
24784
25121
|
* @param {*} [options] Override http request option.
|
|
24785
25122
|
* @throws {RequiredError}
|
|
24786
25123
|
* @memberof BusinessApiInterface
|
|
24787
25124
|
*/
|
|
24788
|
-
getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
|
|
25125
|
+
getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
|
|
24789
25126
|
|
|
24790
25127
|
/**
|
|
24791
25128
|
*
|
|
24792
25129
|
* @summary Get business menu by type V2
|
|
24793
25130
|
* @param {string} businessId
|
|
24794
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
25131
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
24795
25132
|
* @param {*} [options] Override http request option.
|
|
24796
25133
|
* @throws {RequiredError}
|
|
24797
25134
|
* @memberof BusinessApiInterface
|
|
24798
25135
|
*/
|
|
24799
|
-
getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
|
|
25136
|
+
getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
|
|
24800
25137
|
|
|
24801
25138
|
/**
|
|
24802
25139
|
*
|
|
24803
25140
|
* @summary Get business menu by type V3
|
|
24804
25141
|
* @param {string} businessId
|
|
24805
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
25142
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
24806
25143
|
* @param {*} [options] Override http request option.
|
|
24807
25144
|
* @throws {RequiredError}
|
|
24808
25145
|
* @memberof BusinessApiInterface
|
|
24809
25146
|
*/
|
|
24810
|
-
getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
|
|
25147
|
+
getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
|
|
24811
25148
|
|
|
24812
25149
|
/**
|
|
24813
25150
|
*
|
|
24814
25151
|
* @summary Get business menu by type V4
|
|
24815
25152
|
* @param {string} businessId
|
|
24816
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
25153
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
24817
25154
|
* @param {*} [options] Override http request option.
|
|
24818
25155
|
* @throws {RequiredError}
|
|
24819
25156
|
* @memberof BusinessApiInterface
|
|
24820
25157
|
*/
|
|
24821
|
-
getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
|
|
25158
|
+
getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
|
|
24822
25159
|
|
|
24823
25160
|
/**
|
|
24824
25161
|
*
|
|
@@ -25079,12 +25416,12 @@ export class BusinessApi extends BaseAPI implements BusinessApiInterface {
|
|
|
25079
25416
|
/**
|
|
25080
25417
|
*
|
|
25081
25418
|
* @param {string} businessId
|
|
25082
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
25419
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
25083
25420
|
* @param {*} [options] Override http request option.
|
|
25084
25421
|
* @throws {RequiredError}
|
|
25085
25422
|
* @memberof BusinessApi
|
|
25086
25423
|
*/
|
|
25087
|
-
public getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig) {
|
|
25424
|
+
public getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: AxiosRequestConfig) {
|
|
25088
25425
|
return BusinessApiFp(this.configuration).getBusinessMenuByType(businessId, menuType, options).then((request) => request(this.axios, this.basePath));
|
|
25089
25426
|
}
|
|
25090
25427
|
|
|
@@ -25092,12 +25429,12 @@ export class BusinessApi extends BaseAPI implements BusinessApiInterface {
|
|
|
25092
25429
|
*
|
|
25093
25430
|
* @summary Get business menu by type V2
|
|
25094
25431
|
* @param {string} businessId
|
|
25095
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
25432
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
25096
25433
|
* @param {*} [options] Override http request option.
|
|
25097
25434
|
* @throws {RequiredError}
|
|
25098
25435
|
* @memberof BusinessApi
|
|
25099
25436
|
*/
|
|
25100
|
-
public getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig) {
|
|
25437
|
+
public getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: AxiosRequestConfig) {
|
|
25101
25438
|
return BusinessApiFp(this.configuration).getBusinessMenuByTypeV2(businessId, menuType, options).then((request) => request(this.axios, this.basePath));
|
|
25102
25439
|
}
|
|
25103
25440
|
|
|
@@ -25105,12 +25442,12 @@ export class BusinessApi extends BaseAPI implements BusinessApiInterface {
|
|
|
25105
25442
|
*
|
|
25106
25443
|
* @summary Get business menu by type V3
|
|
25107
25444
|
* @param {string} businessId
|
|
25108
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
25445
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
25109
25446
|
* @param {*} [options] Override http request option.
|
|
25110
25447
|
* @throws {RequiredError}
|
|
25111
25448
|
* @memberof BusinessApi
|
|
25112
25449
|
*/
|
|
25113
|
-
public getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig) {
|
|
25450
|
+
public getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: AxiosRequestConfig) {
|
|
25114
25451
|
return BusinessApiFp(this.configuration).getBusinessMenuByTypeV3(businessId, menuType, options).then((request) => request(this.axios, this.basePath));
|
|
25115
25452
|
}
|
|
25116
25453
|
|
|
@@ -25118,12 +25455,12 @@ export class BusinessApi extends BaseAPI implements BusinessApiInterface {
|
|
|
25118
25455
|
*
|
|
25119
25456
|
* @summary Get business menu by type V4
|
|
25120
25457
|
* @param {string} businessId
|
|
25121
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
25458
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
25122
25459
|
* @param {*} [options] Override http request option.
|
|
25123
25460
|
* @throws {RequiredError}
|
|
25124
25461
|
* @memberof BusinessApi
|
|
25125
25462
|
*/
|
|
25126
|
-
public getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig) {
|
|
25463
|
+
public getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: AxiosRequestConfig) {
|
|
25127
25464
|
return BusinessApiFp(this.configuration).getBusinessMenuByTypeV4(businessId, menuType, options).then((request) => request(this.axios, this.basePath));
|
|
25128
25465
|
}
|
|
25129
25466
|
|
|
@@ -25978,12 +26315,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
25978
26315
|
*
|
|
25979
26316
|
* @summary Enable or disable first-party Munchi GiftCard integration
|
|
25980
26317
|
* @param {number} businessId
|
|
25981
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26318
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
25982
26319
|
* @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
|
|
25983
26320
|
* @param {*} [options] Override http request option.
|
|
25984
26321
|
* @throws {RequiredError}
|
|
25985
26322
|
*/
|
|
25986
|
-
configConfigureMunchiGiftCard: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26323
|
+
configConfigureMunchiGiftCard: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25987
26324
|
// verify required parameter 'businessId' is not null or undefined
|
|
25988
26325
|
assertParamExists('configConfigureMunchiGiftCard', 'businessId', businessId)
|
|
25989
26326
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -26074,11 +26411,11 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
26074
26411
|
* @summary Remove payment option
|
|
26075
26412
|
* @param {number} businessId
|
|
26076
26413
|
* @param {string} id
|
|
26077
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26414
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26078
26415
|
* @param {*} [options] Override http request option.
|
|
26079
26416
|
* @throws {RequiredError}
|
|
26080
26417
|
*/
|
|
26081
|
-
configRemovePaymentOption: async (businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26418
|
+
configRemovePaymentOption: async (businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26082
26419
|
// verify required parameter 'businessId' is not null or undefined
|
|
26083
26420
|
assertParamExists('configRemovePaymentOption', 'businessId', businessId)
|
|
26084
26421
|
// verify required parameter 'id' is not null or undefined
|
|
@@ -26166,12 +26503,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
26166
26503
|
*
|
|
26167
26504
|
* @summary Upsert channel config
|
|
26168
26505
|
* @param {number} businessId
|
|
26169
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26506
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26170
26507
|
* @param {UpsertConfigDto} upsertConfigDto
|
|
26171
26508
|
* @param {*} [options] Override http request option.
|
|
26172
26509
|
* @throws {RequiredError}
|
|
26173
26510
|
*/
|
|
26174
|
-
configUpsertChannelConfig: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertConfigDto: UpsertConfigDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26511
|
+
configUpsertChannelConfig: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertConfigDto: UpsertConfigDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26175
26512
|
// verify required parameter 'businessId' is not null or undefined
|
|
26176
26513
|
assertParamExists('configUpsertChannelConfig', 'businessId', businessId)
|
|
26177
26514
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -26217,12 +26554,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
26217
26554
|
*
|
|
26218
26555
|
* @summary Upsert GiftCard integration
|
|
26219
26556
|
* @param {number} businessId
|
|
26220
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26557
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26221
26558
|
* @param {UpsertGiftCardDto} upsertGiftCardDto
|
|
26222
26559
|
* @param {*} [options] Override http request option.
|
|
26223
26560
|
* @throws {RequiredError}
|
|
26224
26561
|
*/
|
|
26225
|
-
configUpsertGiftCard: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertGiftCardDto: UpsertGiftCardDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26562
|
+
configUpsertGiftCard: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertGiftCardDto: UpsertGiftCardDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26226
26563
|
// verify required parameter 'businessId' is not null or undefined
|
|
26227
26564
|
assertParamExists('configUpsertGiftCard', 'businessId', businessId)
|
|
26228
26565
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -26312,12 +26649,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
26312
26649
|
*
|
|
26313
26650
|
* @summary Upsert Nets payment config
|
|
26314
26651
|
* @param {number} businessId
|
|
26315
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26652
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26316
26653
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
26317
26654
|
* @param {*} [options] Override http request option.
|
|
26318
26655
|
* @throws {RequiredError}
|
|
26319
26656
|
*/
|
|
26320
|
-
configUpsertNets: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertNetsDto: UpsertNetsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26657
|
+
configUpsertNets: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertNetsDto: UpsertNetsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26321
26658
|
// verify required parameter 'businessId' is not null or undefined
|
|
26322
26659
|
assertParamExists('configUpsertNets', 'businessId', businessId)
|
|
26323
26660
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -26363,12 +26700,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
26363
26700
|
*
|
|
26364
26701
|
* @summary Upsert payment options
|
|
26365
26702
|
* @param {number} businessId
|
|
26366
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26703
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26367
26704
|
* @param {UpsertPaymentOptionsDto} upsertPaymentOptionsDto
|
|
26368
26705
|
* @param {*} [options] Override http request option.
|
|
26369
26706
|
* @throws {RequiredError}
|
|
26370
26707
|
*/
|
|
26371
|
-
configUpsertPaymentOptions: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26708
|
+
configUpsertPaymentOptions: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26372
26709
|
// verify required parameter 'businessId' is not null or undefined
|
|
26373
26710
|
assertParamExists('configUpsertPaymentOptions', 'businessId', businessId)
|
|
26374
26711
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -26414,12 +26751,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
26414
26751
|
*
|
|
26415
26752
|
* @summary Upsert Stripe payment config
|
|
26416
26753
|
* @param {number} businessId
|
|
26417
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26754
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26418
26755
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
26419
26756
|
* @param {*} [options] Override http request option.
|
|
26420
26757
|
* @throws {RequiredError}
|
|
26421
26758
|
*/
|
|
26422
|
-
configUpsertStripe: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertStripeDto: UpsertStripeDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26759
|
+
configUpsertStripe: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertStripeDto: UpsertStripeDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26423
26760
|
// verify required parameter 'businessId' is not null or undefined
|
|
26424
26761
|
assertParamExists('configUpsertStripe', 'businessId', businessId)
|
|
26425
26762
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -26465,12 +26802,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
26465
26802
|
*
|
|
26466
26803
|
* @summary Upsert Viva payment config
|
|
26467
26804
|
* @param {number} businessId
|
|
26468
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26805
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26469
26806
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
26470
26807
|
* @param {*} [options] Override http request option.
|
|
26471
26808
|
* @throws {RequiredError}
|
|
26472
26809
|
*/
|
|
26473
|
-
configUpsertViva: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertVivaDto: UpsertVivaDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26810
|
+
configUpsertViva: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertVivaDto: UpsertVivaDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26474
26811
|
// verify required parameter 'businessId' is not null or undefined
|
|
26475
26812
|
assertParamExists('configUpsertViva', 'businessId', businessId)
|
|
26476
26813
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -26526,12 +26863,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
26526
26863
|
*
|
|
26527
26864
|
* @summary Enable or disable first-party Munchi GiftCard integration
|
|
26528
26865
|
* @param {number} businessId
|
|
26529
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26866
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26530
26867
|
* @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
|
|
26531
26868
|
* @param {*} [options] Override http request option.
|
|
26532
26869
|
* @throws {RequiredError}
|
|
26533
26870
|
*/
|
|
26534
|
-
async configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
26871
|
+
async configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
26535
26872
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configConfigureMunchiGiftCard(businessId, xAppX, configureMunchiGiftCardDto, options);
|
|
26536
26873
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26537
26874
|
},
|
|
@@ -26552,11 +26889,11 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
26552
26889
|
* @summary Remove payment option
|
|
26553
26890
|
* @param {number} businessId
|
|
26554
26891
|
* @param {string} id
|
|
26555
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26892
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26556
26893
|
* @param {*} [options] Override http request option.
|
|
26557
26894
|
* @throws {RequiredError}
|
|
26558
26895
|
*/
|
|
26559
|
-
async configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
26896
|
+
async configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
26560
26897
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configRemovePaymentOption(businessId, id, xAppX, options);
|
|
26561
26898
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26562
26899
|
},
|
|
@@ -26576,12 +26913,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
26576
26913
|
*
|
|
26577
26914
|
* @summary Upsert channel config
|
|
26578
26915
|
* @param {number} businessId
|
|
26579
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26916
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26580
26917
|
* @param {UpsertConfigDto} upsertConfigDto
|
|
26581
26918
|
* @param {*} [options] Override http request option.
|
|
26582
26919
|
* @throws {RequiredError}
|
|
26583
26920
|
*/
|
|
26584
|
-
async configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
26921
|
+
async configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
26585
26922
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertChannelConfig(businessId, xAppX, upsertConfigDto, options);
|
|
26586
26923
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26587
26924
|
},
|
|
@@ -26589,12 +26926,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
26589
26926
|
*
|
|
26590
26927
|
* @summary Upsert GiftCard integration
|
|
26591
26928
|
* @param {number} businessId
|
|
26592
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26929
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26593
26930
|
* @param {UpsertGiftCardDto} upsertGiftCardDto
|
|
26594
26931
|
* @param {*} [options] Override http request option.
|
|
26595
26932
|
* @throws {RequiredError}
|
|
26596
26933
|
*/
|
|
26597
|
-
async configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
26934
|
+
async configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
26598
26935
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertGiftCard(businessId, xAppX, upsertGiftCardDto, options);
|
|
26599
26936
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26600
26937
|
},
|
|
@@ -26614,12 +26951,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
26614
26951
|
*
|
|
26615
26952
|
* @summary Upsert Nets payment config
|
|
26616
26953
|
* @param {number} businessId
|
|
26617
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26954
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26618
26955
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
26619
26956
|
* @param {*} [options] Override http request option.
|
|
26620
26957
|
* @throws {RequiredError}
|
|
26621
26958
|
*/
|
|
26622
|
-
async configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
26959
|
+
async configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
26623
26960
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertNets(businessId, xAppX, upsertNetsDto, options);
|
|
26624
26961
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26625
26962
|
},
|
|
@@ -26627,12 +26964,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
26627
26964
|
*
|
|
26628
26965
|
* @summary Upsert payment options
|
|
26629
26966
|
* @param {number} businessId
|
|
26630
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26967
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26631
26968
|
* @param {UpsertPaymentOptionsDto} upsertPaymentOptionsDto
|
|
26632
26969
|
* @param {*} [options] Override http request option.
|
|
26633
26970
|
* @throws {RequiredError}
|
|
26634
26971
|
*/
|
|
26635
|
-
async configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
26972
|
+
async configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
26636
26973
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertPaymentOptions(businessId, xAppX, upsertPaymentOptionsDto, options);
|
|
26637
26974
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26638
26975
|
},
|
|
@@ -26640,12 +26977,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
26640
26977
|
*
|
|
26641
26978
|
* @summary Upsert Stripe payment config
|
|
26642
26979
|
* @param {number} businessId
|
|
26643
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26980
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26644
26981
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
26645
26982
|
* @param {*} [options] Override http request option.
|
|
26646
26983
|
* @throws {RequiredError}
|
|
26647
26984
|
*/
|
|
26648
|
-
async configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
26985
|
+
async configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
26649
26986
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertStripe(businessId, xAppX, upsertStripeDto, options);
|
|
26650
26987
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26651
26988
|
},
|
|
@@ -26653,12 +26990,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
26653
26990
|
*
|
|
26654
26991
|
* @summary Upsert Viva payment config
|
|
26655
26992
|
* @param {number} businessId
|
|
26656
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26993
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26657
26994
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
26658
26995
|
* @param {*} [options] Override http request option.
|
|
26659
26996
|
* @throws {RequiredError}
|
|
26660
26997
|
*/
|
|
26661
|
-
async configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
26998
|
+
async configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>> {
|
|
26662
26999
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertViva(businessId, xAppX, upsertVivaDto, options);
|
|
26663
27000
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26664
27001
|
},
|
|
@@ -26676,12 +27013,12 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
|
|
|
26676
27013
|
*
|
|
26677
27014
|
* @summary Enable or disable first-party Munchi GiftCard integration
|
|
26678
27015
|
* @param {number} businessId
|
|
26679
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27016
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26680
27017
|
* @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
|
|
26681
27018
|
* @param {*} [options] Override http request option.
|
|
26682
27019
|
* @throws {RequiredError}
|
|
26683
27020
|
*/
|
|
26684
|
-
configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
27021
|
+
configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
26685
27022
|
return localVarFp.configConfigureMunchiGiftCard(businessId, xAppX, configureMunchiGiftCardDto, options).then((request) => request(axios, basePath));
|
|
26686
27023
|
},
|
|
26687
27024
|
/**
|
|
@@ -26700,11 +27037,11 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
|
|
|
26700
27037
|
* @summary Remove payment option
|
|
26701
27038
|
* @param {number} businessId
|
|
26702
27039
|
* @param {string} id
|
|
26703
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27040
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26704
27041
|
* @param {*} [options] Override http request option.
|
|
26705
27042
|
* @throws {RequiredError}
|
|
26706
27043
|
*/
|
|
26707
|
-
configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
27044
|
+
configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
26708
27045
|
return localVarFp.configRemovePaymentOption(businessId, id, xAppX, options).then((request) => request(axios, basePath));
|
|
26709
27046
|
},
|
|
26710
27047
|
/**
|
|
@@ -26722,24 +27059,24 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
|
|
|
26722
27059
|
*
|
|
26723
27060
|
* @summary Upsert channel config
|
|
26724
27061
|
* @param {number} businessId
|
|
26725
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27062
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26726
27063
|
* @param {UpsertConfigDto} upsertConfigDto
|
|
26727
27064
|
* @param {*} [options] Override http request option.
|
|
26728
27065
|
* @throws {RequiredError}
|
|
26729
27066
|
*/
|
|
26730
|
-
configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertConfigDto: UpsertConfigDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
27067
|
+
configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertConfigDto: UpsertConfigDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
26731
27068
|
return localVarFp.configUpsertChannelConfig(businessId, xAppX, upsertConfigDto, options).then((request) => request(axios, basePath));
|
|
26732
27069
|
},
|
|
26733
27070
|
/**
|
|
26734
27071
|
*
|
|
26735
27072
|
* @summary Upsert GiftCard integration
|
|
26736
27073
|
* @param {number} businessId
|
|
26737
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27074
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26738
27075
|
* @param {UpsertGiftCardDto} upsertGiftCardDto
|
|
26739
27076
|
* @param {*} [options] Override http request option.
|
|
26740
27077
|
* @throws {RequiredError}
|
|
26741
27078
|
*/
|
|
26742
|
-
configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertGiftCardDto: UpsertGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
27079
|
+
configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertGiftCardDto: UpsertGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
26743
27080
|
return localVarFp.configUpsertGiftCard(businessId, xAppX, upsertGiftCardDto, options).then((request) => request(axios, basePath));
|
|
26744
27081
|
},
|
|
26745
27082
|
/**
|
|
@@ -26757,48 +27094,48 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
|
|
|
26757
27094
|
*
|
|
26758
27095
|
* @summary Upsert Nets payment config
|
|
26759
27096
|
* @param {number} businessId
|
|
26760
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27097
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26761
27098
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
26762
27099
|
* @param {*} [options] Override http request option.
|
|
26763
27100
|
* @throws {RequiredError}
|
|
26764
27101
|
*/
|
|
26765
|
-
configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertNetsDto: UpsertNetsDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
27102
|
+
configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertNetsDto: UpsertNetsDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
26766
27103
|
return localVarFp.configUpsertNets(businessId, xAppX, upsertNetsDto, options).then((request) => request(axios, basePath));
|
|
26767
27104
|
},
|
|
26768
27105
|
/**
|
|
26769
27106
|
*
|
|
26770
27107
|
* @summary Upsert payment options
|
|
26771
27108
|
* @param {number} businessId
|
|
26772
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27109
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26773
27110
|
* @param {UpsertPaymentOptionsDto} upsertPaymentOptionsDto
|
|
26774
27111
|
* @param {*} [options] Override http request option.
|
|
26775
27112
|
* @throws {RequiredError}
|
|
26776
27113
|
*/
|
|
26777
|
-
configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
27114
|
+
configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
26778
27115
|
return localVarFp.configUpsertPaymentOptions(businessId, xAppX, upsertPaymentOptionsDto, options).then((request) => request(axios, basePath));
|
|
26779
27116
|
},
|
|
26780
27117
|
/**
|
|
26781
27118
|
*
|
|
26782
27119
|
* @summary Upsert Stripe payment config
|
|
26783
27120
|
* @param {number} businessId
|
|
26784
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27121
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26785
27122
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
26786
27123
|
* @param {*} [options] Override http request option.
|
|
26787
27124
|
* @throws {RequiredError}
|
|
26788
27125
|
*/
|
|
26789
|
-
configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertStripeDto: UpsertStripeDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
27126
|
+
configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertStripeDto: UpsertStripeDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
26790
27127
|
return localVarFp.configUpsertStripe(businessId, xAppX, upsertStripeDto, options).then((request) => request(axios, basePath));
|
|
26791
27128
|
},
|
|
26792
27129
|
/**
|
|
26793
27130
|
*
|
|
26794
27131
|
* @summary Upsert Viva payment config
|
|
26795
27132
|
* @param {number} businessId
|
|
26796
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27133
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26797
27134
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
26798
27135
|
* @param {*} [options] Override http request option.
|
|
26799
27136
|
* @throws {RequiredError}
|
|
26800
27137
|
*/
|
|
26801
|
-
configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertVivaDto: UpsertVivaDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
27138
|
+
configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertVivaDto: UpsertVivaDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
26802
27139
|
return localVarFp.configUpsertViva(businessId, xAppX, upsertVivaDto, options).then((request) => request(axios, basePath));
|
|
26803
27140
|
},
|
|
26804
27141
|
};
|
|
@@ -26814,13 +27151,13 @@ export interface ConfigManagementApiInterface {
|
|
|
26814
27151
|
*
|
|
26815
27152
|
* @summary Enable or disable first-party Munchi GiftCard integration
|
|
26816
27153
|
* @param {number} businessId
|
|
26817
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27154
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26818
27155
|
* @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
|
|
26819
27156
|
* @param {*} [options] Override http request option.
|
|
26820
27157
|
* @throws {RequiredError}
|
|
26821
27158
|
* @memberof ConfigManagementApiInterface
|
|
26822
27159
|
*/
|
|
26823
|
-
configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
27160
|
+
configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
26824
27161
|
|
|
26825
27162
|
/**
|
|
26826
27163
|
*
|
|
@@ -26838,12 +27175,12 @@ export interface ConfigManagementApiInterface {
|
|
|
26838
27175
|
* @summary Remove payment option
|
|
26839
27176
|
* @param {number} businessId
|
|
26840
27177
|
* @param {string} id
|
|
26841
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27178
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26842
27179
|
* @param {*} [options] Override http request option.
|
|
26843
27180
|
* @throws {RequiredError}
|
|
26844
27181
|
* @memberof ConfigManagementApiInterface
|
|
26845
27182
|
*/
|
|
26846
|
-
configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
27183
|
+
configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
26847
27184
|
|
|
26848
27185
|
/**
|
|
26849
27186
|
*
|
|
@@ -26860,25 +27197,25 @@ export interface ConfigManagementApiInterface {
|
|
|
26860
27197
|
*
|
|
26861
27198
|
* @summary Upsert channel config
|
|
26862
27199
|
* @param {number} businessId
|
|
26863
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27200
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26864
27201
|
* @param {UpsertConfigDto} upsertConfigDto
|
|
26865
27202
|
* @param {*} [options] Override http request option.
|
|
26866
27203
|
* @throws {RequiredError}
|
|
26867
27204
|
* @memberof ConfigManagementApiInterface
|
|
26868
27205
|
*/
|
|
26869
|
-
configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
27206
|
+
configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
26870
27207
|
|
|
26871
27208
|
/**
|
|
26872
27209
|
*
|
|
26873
27210
|
* @summary Upsert GiftCard integration
|
|
26874
27211
|
* @param {number} businessId
|
|
26875
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27212
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26876
27213
|
* @param {UpsertGiftCardDto} upsertGiftCardDto
|
|
26877
27214
|
* @param {*} [options] Override http request option.
|
|
26878
27215
|
* @throws {RequiredError}
|
|
26879
27216
|
* @memberof ConfigManagementApiInterface
|
|
26880
27217
|
*/
|
|
26881
|
-
configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
27218
|
+
configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
26882
27219
|
|
|
26883
27220
|
/**
|
|
26884
27221
|
*
|
|
@@ -26895,49 +27232,49 @@ export interface ConfigManagementApiInterface {
|
|
|
26895
27232
|
*
|
|
26896
27233
|
* @summary Upsert Nets payment config
|
|
26897
27234
|
* @param {number} businessId
|
|
26898
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27235
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26899
27236
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
26900
27237
|
* @param {*} [options] Override http request option.
|
|
26901
27238
|
* @throws {RequiredError}
|
|
26902
27239
|
* @memberof ConfigManagementApiInterface
|
|
26903
27240
|
*/
|
|
26904
|
-
configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
27241
|
+
configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
26905
27242
|
|
|
26906
27243
|
/**
|
|
26907
27244
|
*
|
|
26908
27245
|
* @summary Upsert payment options
|
|
26909
27246
|
* @param {number} businessId
|
|
26910
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27247
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26911
27248
|
* @param {UpsertPaymentOptionsDto} upsertPaymentOptionsDto
|
|
26912
27249
|
* @param {*} [options] Override http request option.
|
|
26913
27250
|
* @throws {RequiredError}
|
|
26914
27251
|
* @memberof ConfigManagementApiInterface
|
|
26915
27252
|
*/
|
|
26916
|
-
configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
27253
|
+
configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
26917
27254
|
|
|
26918
27255
|
/**
|
|
26919
27256
|
*
|
|
26920
27257
|
* @summary Upsert Stripe payment config
|
|
26921
27258
|
* @param {number} businessId
|
|
26922
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27259
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26923
27260
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
26924
27261
|
* @param {*} [options] Override http request option.
|
|
26925
27262
|
* @throws {RequiredError}
|
|
26926
27263
|
* @memberof ConfigManagementApiInterface
|
|
26927
27264
|
*/
|
|
26928
|
-
configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
27265
|
+
configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
26929
27266
|
|
|
26930
27267
|
/**
|
|
26931
27268
|
*
|
|
26932
27269
|
* @summary Upsert Viva payment config
|
|
26933
27270
|
* @param {number} businessId
|
|
26934
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27271
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26935
27272
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
26936
27273
|
* @param {*} [options] Override http request option.
|
|
26937
27274
|
* @throws {RequiredError}
|
|
26938
27275
|
* @memberof ConfigManagementApiInterface
|
|
26939
27276
|
*/
|
|
26940
|
-
configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
27277
|
+
configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
26941
27278
|
|
|
26942
27279
|
}
|
|
26943
27280
|
|
|
@@ -26952,13 +27289,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
26952
27289
|
*
|
|
26953
27290
|
* @summary Enable or disable first-party Munchi GiftCard integration
|
|
26954
27291
|
* @param {number} businessId
|
|
26955
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27292
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26956
27293
|
* @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
|
|
26957
27294
|
* @param {*} [options] Override http request option.
|
|
26958
27295
|
* @throws {RequiredError}
|
|
26959
27296
|
* @memberof ConfigManagementApi
|
|
26960
27297
|
*/
|
|
26961
|
-
public configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig) {
|
|
27298
|
+
public configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig) {
|
|
26962
27299
|
return ConfigManagementApiFp(this.configuration).configConfigureMunchiGiftCard(businessId, xAppX, configureMunchiGiftCardDto, options).then((request) => request(this.axios, this.basePath));
|
|
26963
27300
|
}
|
|
26964
27301
|
|
|
@@ -26980,12 +27317,12 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
26980
27317
|
* @summary Remove payment option
|
|
26981
27318
|
* @param {number} businessId
|
|
26982
27319
|
* @param {string} id
|
|
26983
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27320
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26984
27321
|
* @param {*} [options] Override http request option.
|
|
26985
27322
|
* @throws {RequiredError}
|
|
26986
27323
|
* @memberof ConfigManagementApi
|
|
26987
27324
|
*/
|
|
26988
|
-
public configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', options?: AxiosRequestConfig) {
|
|
27325
|
+
public configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: AxiosRequestConfig) {
|
|
26989
27326
|
return ConfigManagementApiFp(this.configuration).configRemovePaymentOption(businessId, id, xAppX, options).then((request) => request(this.axios, this.basePath));
|
|
26990
27327
|
}
|
|
26991
27328
|
|
|
@@ -27006,13 +27343,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
27006
27343
|
*
|
|
27007
27344
|
* @summary Upsert channel config
|
|
27008
27345
|
* @param {number} businessId
|
|
27009
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27346
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
27010
27347
|
* @param {UpsertConfigDto} upsertConfigDto
|
|
27011
27348
|
* @param {*} [options] Override http request option.
|
|
27012
27349
|
* @throws {RequiredError}
|
|
27013
27350
|
* @memberof ConfigManagementApi
|
|
27014
27351
|
*/
|
|
27015
|
-
public configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig) {
|
|
27352
|
+
public configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig) {
|
|
27016
27353
|
return ConfigManagementApiFp(this.configuration).configUpsertChannelConfig(businessId, xAppX, upsertConfigDto, options).then((request) => request(this.axios, this.basePath));
|
|
27017
27354
|
}
|
|
27018
27355
|
|
|
@@ -27020,13 +27357,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
27020
27357
|
*
|
|
27021
27358
|
* @summary Upsert GiftCard integration
|
|
27022
27359
|
* @param {number} businessId
|
|
27023
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27360
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
27024
27361
|
* @param {UpsertGiftCardDto} upsertGiftCardDto
|
|
27025
27362
|
* @param {*} [options] Override http request option.
|
|
27026
27363
|
* @throws {RequiredError}
|
|
27027
27364
|
* @memberof ConfigManagementApi
|
|
27028
27365
|
*/
|
|
27029
|
-
public configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig) {
|
|
27366
|
+
public configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig) {
|
|
27030
27367
|
return ConfigManagementApiFp(this.configuration).configUpsertGiftCard(businessId, xAppX, upsertGiftCardDto, options).then((request) => request(this.axios, this.basePath));
|
|
27031
27368
|
}
|
|
27032
27369
|
|
|
@@ -27047,13 +27384,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
27047
27384
|
*
|
|
27048
27385
|
* @summary Upsert Nets payment config
|
|
27049
27386
|
* @param {number} businessId
|
|
27050
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27387
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
27051
27388
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
27052
27389
|
* @param {*} [options] Override http request option.
|
|
27053
27390
|
* @throws {RequiredError}
|
|
27054
27391
|
* @memberof ConfigManagementApi
|
|
27055
27392
|
*/
|
|
27056
|
-
public configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig) {
|
|
27393
|
+
public configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig) {
|
|
27057
27394
|
return ConfigManagementApiFp(this.configuration).configUpsertNets(businessId, xAppX, upsertNetsDto, options).then((request) => request(this.axios, this.basePath));
|
|
27058
27395
|
}
|
|
27059
27396
|
|
|
@@ -27061,13 +27398,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
27061
27398
|
*
|
|
27062
27399
|
* @summary Upsert payment options
|
|
27063
27400
|
* @param {number} businessId
|
|
27064
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27401
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
27065
27402
|
* @param {UpsertPaymentOptionsDto} upsertPaymentOptionsDto
|
|
27066
27403
|
* @param {*} [options] Override http request option.
|
|
27067
27404
|
* @throws {RequiredError}
|
|
27068
27405
|
* @memberof ConfigManagementApi
|
|
27069
27406
|
*/
|
|
27070
|
-
public configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig) {
|
|
27407
|
+
public configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig) {
|
|
27071
27408
|
return ConfigManagementApiFp(this.configuration).configUpsertPaymentOptions(businessId, xAppX, upsertPaymentOptionsDto, options).then((request) => request(this.axios, this.basePath));
|
|
27072
27409
|
}
|
|
27073
27410
|
|
|
@@ -27075,13 +27412,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
27075
27412
|
*
|
|
27076
27413
|
* @summary Upsert Stripe payment config
|
|
27077
27414
|
* @param {number} businessId
|
|
27078
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27415
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
27079
27416
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
27080
27417
|
* @param {*} [options] Override http request option.
|
|
27081
27418
|
* @throws {RequiredError}
|
|
27082
27419
|
* @memberof ConfigManagementApi
|
|
27083
27420
|
*/
|
|
27084
|
-
public configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig) {
|
|
27421
|
+
public configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig) {
|
|
27085
27422
|
return ConfigManagementApiFp(this.configuration).configUpsertStripe(businessId, xAppX, upsertStripeDto, options).then((request) => request(this.axios, this.basePath));
|
|
27086
27423
|
}
|
|
27087
27424
|
|
|
@@ -27089,13 +27426,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
27089
27426
|
*
|
|
27090
27427
|
* @summary Upsert Viva payment config
|
|
27091
27428
|
* @param {number} businessId
|
|
27092
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27429
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
27093
27430
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
27094
27431
|
* @param {*} [options] Override http request option.
|
|
27095
27432
|
* @throws {RequiredError}
|
|
27096
27433
|
* @memberof ConfigManagementApi
|
|
27097
27434
|
*/
|
|
27098
|
-
public configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig) {
|
|
27435
|
+
public configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig) {
|
|
27099
27436
|
return ConfigManagementApiFp(this.configuration).configUpsertViva(businessId, xAppX, upsertVivaDto, options).then((request) => request(this.axios, this.basePath));
|
|
27100
27437
|
}
|
|
27101
27438
|
}
|
|
@@ -29355,6 +29692,43 @@ export const KiosksApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
29355
29692
|
|
|
29356
29693
|
|
|
29357
29694
|
|
|
29695
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29696
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29697
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29698
|
+
|
|
29699
|
+
return {
|
|
29700
|
+
url: toPathString(localVarUrlObj),
|
|
29701
|
+
options: localVarRequestOptions,
|
|
29702
|
+
};
|
|
29703
|
+
},
|
|
29704
|
+
/**
|
|
29705
|
+
*
|
|
29706
|
+
* @param {string} orderId The unique ID of the order to validate against the system.
|
|
29707
|
+
* @param {string} businessId The unique ID of the business to validate against the system.
|
|
29708
|
+
* @param {*} [options] Override http request option.
|
|
29709
|
+
* @throws {RequiredError}
|
|
29710
|
+
*/
|
|
29711
|
+
recoverOrder: async (orderId: string, businessId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29712
|
+
// verify required parameter 'orderId' is not null or undefined
|
|
29713
|
+
assertParamExists('recoverOrder', 'orderId', orderId)
|
|
29714
|
+
// verify required parameter 'businessId' is not null or undefined
|
|
29715
|
+
assertParamExists('recoverOrder', 'businessId', businessId)
|
|
29716
|
+
const localVarPath = `/api/v1/kiosk/orders/{orderId}/{businessId}/recovery`
|
|
29717
|
+
.replace(`{${"orderId"}}`, encodeURIComponent(String(orderId)))
|
|
29718
|
+
.replace(`{${"businessId"}}`, encodeURIComponent(String(businessId)));
|
|
29719
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29720
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29721
|
+
let baseOptions;
|
|
29722
|
+
if (configuration) {
|
|
29723
|
+
baseOptions = configuration.baseOptions;
|
|
29724
|
+
}
|
|
29725
|
+
|
|
29726
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
29727
|
+
const localVarHeaderParameter = {} as any;
|
|
29728
|
+
const localVarQueryParameter = {} as any;
|
|
29729
|
+
|
|
29730
|
+
|
|
29731
|
+
|
|
29358
29732
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29359
29733
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29360
29734
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -29428,6 +29802,17 @@ export const KiosksApiFp = function(configuration?: Configuration) {
|
|
|
29428
29802
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderStatus(orderId, businessId, options);
|
|
29429
29803
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29430
29804
|
},
|
|
29805
|
+
/**
|
|
29806
|
+
*
|
|
29807
|
+
* @param {string} orderId The unique ID of the order to validate against the system.
|
|
29808
|
+
* @param {string} businessId The unique ID of the business to validate against the system.
|
|
29809
|
+
* @param {*} [options] Override http request option.
|
|
29810
|
+
* @throws {RequiredError}
|
|
29811
|
+
*/
|
|
29812
|
+
async recoverOrder(orderId: string, businessId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
29813
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.recoverOrder(orderId, businessId, options);
|
|
29814
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29815
|
+
},
|
|
29431
29816
|
/**
|
|
29432
29817
|
*
|
|
29433
29818
|
* @param {string} terminalId The unique ID of the terminal to validate against the system.
|
|
@@ -29459,6 +29844,16 @@ export const KiosksApiFactory = function (configuration?: Configuration, basePat
|
|
|
29459
29844
|
getOrderStatus(orderId: string, businessId: string, options?: any): AxiosPromise<PaymentStatusDto> {
|
|
29460
29845
|
return localVarFp.getOrderStatus(orderId, businessId, options).then((request) => request(axios, basePath));
|
|
29461
29846
|
},
|
|
29847
|
+
/**
|
|
29848
|
+
*
|
|
29849
|
+
* @param {string} orderId The unique ID of the order to validate against the system.
|
|
29850
|
+
* @param {string} businessId The unique ID of the business to validate against the system.
|
|
29851
|
+
* @param {*} [options] Override http request option.
|
|
29852
|
+
* @throws {RequiredError}
|
|
29853
|
+
*/
|
|
29854
|
+
recoverOrder(orderId: string, businessId: string, options?: any): AxiosPromise<void> {
|
|
29855
|
+
return localVarFp.recoverOrder(orderId, businessId, options).then((request) => request(axios, basePath));
|
|
29856
|
+
},
|
|
29462
29857
|
/**
|
|
29463
29858
|
*
|
|
29464
29859
|
* @param {string} terminalId The unique ID of the terminal to validate against the system.
|
|
@@ -29488,6 +29883,16 @@ export interface KiosksApiInterface {
|
|
|
29488
29883
|
*/
|
|
29489
29884
|
getOrderStatus(orderId: string, businessId: string, options?: AxiosRequestConfig): AxiosPromise<PaymentStatusDto>;
|
|
29490
29885
|
|
|
29886
|
+
/**
|
|
29887
|
+
*
|
|
29888
|
+
* @param {string} orderId The unique ID of the order to validate against the system.
|
|
29889
|
+
* @param {string} businessId The unique ID of the business to validate against the system.
|
|
29890
|
+
* @param {*} [options] Override http request option.
|
|
29891
|
+
* @throws {RequiredError}
|
|
29892
|
+
* @memberof KiosksApiInterface
|
|
29893
|
+
*/
|
|
29894
|
+
recoverOrder(orderId: string, businessId: string, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
29895
|
+
|
|
29491
29896
|
/**
|
|
29492
29897
|
*
|
|
29493
29898
|
* @param {string} terminalId The unique ID of the terminal to validate against the system.
|
|
@@ -29519,6 +29924,18 @@ export class KiosksApi extends BaseAPI implements KiosksApiInterface {
|
|
|
29519
29924
|
return KiosksApiFp(this.configuration).getOrderStatus(orderId, businessId, options).then((request) => request(this.axios, this.basePath));
|
|
29520
29925
|
}
|
|
29521
29926
|
|
|
29927
|
+
/**
|
|
29928
|
+
*
|
|
29929
|
+
* @param {string} orderId The unique ID of the order to validate against the system.
|
|
29930
|
+
* @param {string} businessId The unique ID of the business to validate against the system.
|
|
29931
|
+
* @param {*} [options] Override http request option.
|
|
29932
|
+
* @throws {RequiredError}
|
|
29933
|
+
* @memberof KiosksApi
|
|
29934
|
+
*/
|
|
29935
|
+
public recoverOrder(orderId: string, businessId: string, options?: AxiosRequestConfig) {
|
|
29936
|
+
return KiosksApiFp(this.configuration).recoverOrder(orderId, businessId, options).then((request) => request(this.axios, this.basePath));
|
|
29937
|
+
}
|
|
29938
|
+
|
|
29522
29939
|
/**
|
|
29523
29940
|
*
|
|
29524
29941
|
* @param {string} terminalId The unique ID of the terminal to validate against the system.
|
|
@@ -29539,6 +29956,86 @@ export class KiosksApi extends BaseAPI implements KiosksApiInterface {
|
|
|
29539
29956
|
*/
|
|
29540
29957
|
export const LoyaltyIntegerationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
29541
29958
|
return {
|
|
29959
|
+
/**
|
|
29960
|
+
*
|
|
29961
|
+
* @summary Activate a loyalty offer on the kiosk
|
|
29962
|
+
* @param {ActivateKioskOfferDto} activateKioskOfferDto
|
|
29963
|
+
* @param {*} [options] Override http request option.
|
|
29964
|
+
* @throws {RequiredError}
|
|
29965
|
+
*/
|
|
29966
|
+
activateKioskOffer: async (activateKioskOfferDto: ActivateKioskOfferDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29967
|
+
// verify required parameter 'activateKioskOfferDto' is not null or undefined
|
|
29968
|
+
assertParamExists('activateKioskOffer', 'activateKioskOfferDto', activateKioskOfferDto)
|
|
29969
|
+
const localVarPath = `/api/v1/loyalty/users/activate`;
|
|
29970
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29971
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29972
|
+
let baseOptions;
|
|
29973
|
+
if (configuration) {
|
|
29974
|
+
baseOptions = configuration.baseOptions;
|
|
29975
|
+
}
|
|
29976
|
+
|
|
29977
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
29978
|
+
const localVarHeaderParameter = {} as any;
|
|
29979
|
+
const localVarQueryParameter = {} as any;
|
|
29980
|
+
|
|
29981
|
+
// authentication JWT-auth required
|
|
29982
|
+
// http bearer authentication required
|
|
29983
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29984
|
+
|
|
29985
|
+
|
|
29986
|
+
|
|
29987
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29988
|
+
|
|
29989
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29990
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29991
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29992
|
+
localVarRequestOptions.data = serializeDataIfNeeded(activateKioskOfferDto, localVarRequestOptions, configuration)
|
|
29993
|
+
|
|
29994
|
+
return {
|
|
29995
|
+
url: toPathString(localVarUrlObj),
|
|
29996
|
+
options: localVarRequestOptions,
|
|
29997
|
+
};
|
|
29998
|
+
},
|
|
29999
|
+
/**
|
|
30000
|
+
*
|
|
30001
|
+
* @summary Claim and activate an available catalog offer on the kiosk
|
|
30002
|
+
* @param {ClaimKioskOfferDto} claimKioskOfferDto
|
|
30003
|
+
* @param {*} [options] Override http request option.
|
|
30004
|
+
* @throws {RequiredError}
|
|
30005
|
+
*/
|
|
30006
|
+
claimKioskOffer: async (claimKioskOfferDto: ClaimKioskOfferDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30007
|
+
// verify required parameter 'claimKioskOfferDto' is not null or undefined
|
|
30008
|
+
assertParamExists('claimKioskOffer', 'claimKioskOfferDto', claimKioskOfferDto)
|
|
30009
|
+
const localVarPath = `/api/v1/loyalty/users/claim`;
|
|
30010
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30011
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30012
|
+
let baseOptions;
|
|
30013
|
+
if (configuration) {
|
|
30014
|
+
baseOptions = configuration.baseOptions;
|
|
30015
|
+
}
|
|
30016
|
+
|
|
30017
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
30018
|
+
const localVarHeaderParameter = {} as any;
|
|
30019
|
+
const localVarQueryParameter = {} as any;
|
|
30020
|
+
|
|
30021
|
+
// authentication JWT-auth required
|
|
30022
|
+
// http bearer authentication required
|
|
30023
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30024
|
+
|
|
30025
|
+
|
|
30026
|
+
|
|
30027
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30028
|
+
|
|
30029
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30030
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30031
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30032
|
+
localVarRequestOptions.data = serializeDataIfNeeded(claimKioskOfferDto, localVarRequestOptions, configuration)
|
|
30033
|
+
|
|
30034
|
+
return {
|
|
30035
|
+
url: toPathString(localVarUrlObj),
|
|
30036
|
+
options: localVarRequestOptions,
|
|
30037
|
+
};
|
|
30038
|
+
},
|
|
29542
30039
|
/**
|
|
29543
30040
|
*
|
|
29544
30041
|
* @summary Create loyalty user
|
|
@@ -29726,6 +30223,142 @@ export const LoyaltyIntegerationsApiAxiosParamCreator = function (configuration?
|
|
|
29726
30223
|
options: localVarRequestOptions,
|
|
29727
30224
|
};
|
|
29728
30225
|
},
|
|
30226
|
+
/**
|
|
30227
|
+
*
|
|
30228
|
+
* @summary Get raw loyalty perks for a user without AI validation (fast)
|
|
30229
|
+
* @param {number} businessId
|
|
30230
|
+
* @param {number} userId
|
|
30231
|
+
* @param {*} [options] Override http request option.
|
|
30232
|
+
* @throws {RequiredError}
|
|
30233
|
+
*/
|
|
30234
|
+
getUserPerks: async (businessId: number, userId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30235
|
+
// verify required parameter 'businessId' is not null or undefined
|
|
30236
|
+
assertParamExists('getUserPerks', 'businessId', businessId)
|
|
30237
|
+
// verify required parameter 'userId' is not null or undefined
|
|
30238
|
+
assertParamExists('getUserPerks', 'userId', userId)
|
|
30239
|
+
const localVarPath = `/api/v1/loyalty/users/perks`;
|
|
30240
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30241
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30242
|
+
let baseOptions;
|
|
30243
|
+
if (configuration) {
|
|
30244
|
+
baseOptions = configuration.baseOptions;
|
|
30245
|
+
}
|
|
30246
|
+
|
|
30247
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
30248
|
+
const localVarHeaderParameter = {} as any;
|
|
30249
|
+
const localVarQueryParameter = {} as any;
|
|
30250
|
+
|
|
30251
|
+
// authentication JWT-auth required
|
|
30252
|
+
// http bearer authentication required
|
|
30253
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30254
|
+
|
|
30255
|
+
if (businessId !== undefined) {
|
|
30256
|
+
localVarQueryParameter['businessId'] = businessId;
|
|
30257
|
+
}
|
|
30258
|
+
|
|
30259
|
+
if (userId !== undefined) {
|
|
30260
|
+
localVarQueryParameter['userId'] = userId;
|
|
30261
|
+
}
|
|
30262
|
+
|
|
30263
|
+
|
|
30264
|
+
|
|
30265
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30266
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30267
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30268
|
+
|
|
30269
|
+
return {
|
|
30270
|
+
url: toPathString(localVarUrlObj),
|
|
30271
|
+
options: localVarRequestOptions,
|
|
30272
|
+
};
|
|
30273
|
+
},
|
|
30274
|
+
/**
|
|
30275
|
+
*
|
|
30276
|
+
* @summary Get loyalty wallet for a user (kiosk)
|
|
30277
|
+
* @param {number} businessId
|
|
30278
|
+
* @param {number} userId
|
|
30279
|
+
* @param {*} [options] Override http request option.
|
|
30280
|
+
* @throws {RequiredError}
|
|
30281
|
+
*/
|
|
30282
|
+
getUserWallet: async (businessId: number, userId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30283
|
+
// verify required parameter 'businessId' is not null or undefined
|
|
30284
|
+
assertParamExists('getUserWallet', 'businessId', businessId)
|
|
30285
|
+
// verify required parameter 'userId' is not null or undefined
|
|
30286
|
+
assertParamExists('getUserWallet', 'userId', userId)
|
|
30287
|
+
const localVarPath = `/api/v1/loyalty/users/wallet`;
|
|
30288
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30289
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30290
|
+
let baseOptions;
|
|
30291
|
+
if (configuration) {
|
|
30292
|
+
baseOptions = configuration.baseOptions;
|
|
30293
|
+
}
|
|
30294
|
+
|
|
30295
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
30296
|
+
const localVarHeaderParameter = {} as any;
|
|
30297
|
+
const localVarQueryParameter = {} as any;
|
|
30298
|
+
|
|
30299
|
+
// authentication JWT-auth required
|
|
30300
|
+
// http bearer authentication required
|
|
30301
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30302
|
+
|
|
30303
|
+
if (businessId !== undefined) {
|
|
30304
|
+
localVarQueryParameter['businessId'] = businessId;
|
|
30305
|
+
}
|
|
30306
|
+
|
|
30307
|
+
if (userId !== undefined) {
|
|
30308
|
+
localVarQueryParameter['userId'] = userId;
|
|
30309
|
+
}
|
|
30310
|
+
|
|
30311
|
+
|
|
30312
|
+
|
|
30313
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30314
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30315
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30316
|
+
|
|
30317
|
+
return {
|
|
30318
|
+
url: toPathString(localVarUrlObj),
|
|
30319
|
+
options: localVarRequestOptions,
|
|
30320
|
+
};
|
|
30321
|
+
},
|
|
30322
|
+
/**
|
|
30323
|
+
*
|
|
30324
|
+
* @summary Resolve applicable loyalty perks for the current cart (AI)
|
|
30325
|
+
* @param {LoyaltyResolveRequestDto} loyaltyResolveRequestDto
|
|
30326
|
+
* @param {*} [options] Override http request option.
|
|
30327
|
+
* @throws {RequiredError}
|
|
30328
|
+
*/
|
|
30329
|
+
resolvePerks: async (loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30330
|
+
// verify required parameter 'loyaltyResolveRequestDto' is not null or undefined
|
|
30331
|
+
assertParamExists('resolvePerks', 'loyaltyResolveRequestDto', loyaltyResolveRequestDto)
|
|
30332
|
+
const localVarPath = `/api/v1/loyalty/resolve`;
|
|
30333
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30334
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30335
|
+
let baseOptions;
|
|
30336
|
+
if (configuration) {
|
|
30337
|
+
baseOptions = configuration.baseOptions;
|
|
30338
|
+
}
|
|
30339
|
+
|
|
30340
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
30341
|
+
const localVarHeaderParameter = {} as any;
|
|
30342
|
+
const localVarQueryParameter = {} as any;
|
|
30343
|
+
|
|
30344
|
+
// authentication JWT-auth required
|
|
30345
|
+
// http bearer authentication required
|
|
30346
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30347
|
+
|
|
30348
|
+
|
|
30349
|
+
|
|
30350
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30351
|
+
|
|
30352
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30353
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30354
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30355
|
+
localVarRequestOptions.data = serializeDataIfNeeded(loyaltyResolveRequestDto, localVarRequestOptions, configuration)
|
|
30356
|
+
|
|
30357
|
+
return {
|
|
30358
|
+
url: toPathString(localVarUrlObj),
|
|
30359
|
+
options: localVarRequestOptions,
|
|
30360
|
+
};
|
|
30361
|
+
},
|
|
29729
30362
|
/**
|
|
29730
30363
|
*
|
|
29731
30364
|
* @summary Search user by phone or email
|
|
@@ -29839,6 +30472,28 @@ export const LoyaltyIntegerationsApiAxiosParamCreator = function (configuration?
|
|
|
29839
30472
|
export const LoyaltyIntegerationsApiFp = function(configuration?: Configuration) {
|
|
29840
30473
|
const localVarAxiosParamCreator = LoyaltyIntegerationsApiAxiosParamCreator(configuration)
|
|
29841
30474
|
return {
|
|
30475
|
+
/**
|
|
30476
|
+
*
|
|
30477
|
+
* @summary Activate a loyalty offer on the kiosk
|
|
30478
|
+
* @param {ActivateKioskOfferDto} activateKioskOfferDto
|
|
30479
|
+
* @param {*} [options] Override http request option.
|
|
30480
|
+
* @throws {RequiredError}
|
|
30481
|
+
*/
|
|
30482
|
+
async activateKioskOffer(activateKioskOfferDto: ActivateKioskOfferDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
30483
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.activateKioskOffer(activateKioskOfferDto, options);
|
|
30484
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30485
|
+
},
|
|
30486
|
+
/**
|
|
30487
|
+
*
|
|
30488
|
+
* @summary Claim and activate an available catalog offer on the kiosk
|
|
30489
|
+
* @param {ClaimKioskOfferDto} claimKioskOfferDto
|
|
30490
|
+
* @param {*} [options] Override http request option.
|
|
30491
|
+
* @throws {RequiredError}
|
|
30492
|
+
*/
|
|
30493
|
+
async claimKioskOffer(claimKioskOfferDto: ClaimKioskOfferDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
30494
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.claimKioskOffer(claimKioskOfferDto, options);
|
|
30495
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30496
|
+
},
|
|
29842
30497
|
/**
|
|
29843
30498
|
*
|
|
29844
30499
|
* @summary Create loyalty user
|
|
@@ -29887,6 +30542,41 @@ export const LoyaltyIntegerationsApiFp = function(configuration?: Configuration)
|
|
|
29887
30542
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserById(businessId, userId, options);
|
|
29888
30543
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29889
30544
|
},
|
|
30545
|
+
/**
|
|
30546
|
+
*
|
|
30547
|
+
* @summary Get raw loyalty perks for a user without AI validation (fast)
|
|
30548
|
+
* @param {number} businessId
|
|
30549
|
+
* @param {number} userId
|
|
30550
|
+
* @param {*} [options] Override http request option.
|
|
30551
|
+
* @throws {RequiredError}
|
|
30552
|
+
*/
|
|
30553
|
+
async getUserPerks(businessId: number, userId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoyaltyResolveResponseDto>> {
|
|
30554
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserPerks(businessId, userId, options);
|
|
30555
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30556
|
+
},
|
|
30557
|
+
/**
|
|
30558
|
+
*
|
|
30559
|
+
* @summary Get loyalty wallet for a user (kiosk)
|
|
30560
|
+
* @param {number} businessId
|
|
30561
|
+
* @param {number} userId
|
|
30562
|
+
* @param {*} [options] Override http request option.
|
|
30563
|
+
* @throws {RequiredError}
|
|
30564
|
+
*/
|
|
30565
|
+
async getUserWallet(businessId: number, userId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserWalletResponseDto>> {
|
|
30566
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserWallet(businessId, userId, options);
|
|
30567
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30568
|
+
},
|
|
30569
|
+
/**
|
|
30570
|
+
*
|
|
30571
|
+
* @summary Resolve applicable loyalty perks for the current cart (AI)
|
|
30572
|
+
* @param {LoyaltyResolveRequestDto} loyaltyResolveRequestDto
|
|
30573
|
+
* @param {*} [options] Override http request option.
|
|
30574
|
+
* @throws {RequiredError}
|
|
30575
|
+
*/
|
|
30576
|
+
async resolvePerks(loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoyaltyResolveResponseDto>> {
|
|
30577
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resolvePerks(loyaltyResolveRequestDto, options);
|
|
30578
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30579
|
+
},
|
|
29890
30580
|
/**
|
|
29891
30581
|
*
|
|
29892
30582
|
* @summary Search user by phone or email
|
|
@@ -29923,6 +30613,26 @@ export const LoyaltyIntegerationsApiFp = function(configuration?: Configuration)
|
|
|
29923
30613
|
export const LoyaltyIntegerationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
29924
30614
|
const localVarFp = LoyaltyIntegerationsApiFp(configuration)
|
|
29925
30615
|
return {
|
|
30616
|
+
/**
|
|
30617
|
+
*
|
|
30618
|
+
* @summary Activate a loyalty offer on the kiosk
|
|
30619
|
+
* @param {ActivateKioskOfferDto} activateKioskOfferDto
|
|
30620
|
+
* @param {*} [options] Override http request option.
|
|
30621
|
+
* @throws {RequiredError}
|
|
30622
|
+
*/
|
|
30623
|
+
activateKioskOffer(activateKioskOfferDto: ActivateKioskOfferDto, options?: any): AxiosPromise<void> {
|
|
30624
|
+
return localVarFp.activateKioskOffer(activateKioskOfferDto, options).then((request) => request(axios, basePath));
|
|
30625
|
+
},
|
|
30626
|
+
/**
|
|
30627
|
+
*
|
|
30628
|
+
* @summary Claim and activate an available catalog offer on the kiosk
|
|
30629
|
+
* @param {ClaimKioskOfferDto} claimKioskOfferDto
|
|
30630
|
+
* @param {*} [options] Override http request option.
|
|
30631
|
+
* @throws {RequiredError}
|
|
30632
|
+
*/
|
|
30633
|
+
claimKioskOffer(claimKioskOfferDto: ClaimKioskOfferDto, options?: any): AxiosPromise<void> {
|
|
30634
|
+
return localVarFp.claimKioskOffer(claimKioskOfferDto, options).then((request) => request(axios, basePath));
|
|
30635
|
+
},
|
|
29926
30636
|
/**
|
|
29927
30637
|
*
|
|
29928
30638
|
* @summary Create loyalty user
|
|
@@ -29967,6 +30677,38 @@ export const LoyaltyIntegerationsApiFactory = function (configuration?: Configur
|
|
|
29967
30677
|
getUserById(businessId: number, userId: string, options?: any): AxiosPromise<LoyaltyUserInfoResponseDto> {
|
|
29968
30678
|
return localVarFp.getUserById(businessId, userId, options).then((request) => request(axios, basePath));
|
|
29969
30679
|
},
|
|
30680
|
+
/**
|
|
30681
|
+
*
|
|
30682
|
+
* @summary Get raw loyalty perks for a user without AI validation (fast)
|
|
30683
|
+
* @param {number} businessId
|
|
30684
|
+
* @param {number} userId
|
|
30685
|
+
* @param {*} [options] Override http request option.
|
|
30686
|
+
* @throws {RequiredError}
|
|
30687
|
+
*/
|
|
30688
|
+
getUserPerks(businessId: number, userId: number, options?: any): AxiosPromise<LoyaltyResolveResponseDto> {
|
|
30689
|
+
return localVarFp.getUserPerks(businessId, userId, options).then((request) => request(axios, basePath));
|
|
30690
|
+
},
|
|
30691
|
+
/**
|
|
30692
|
+
*
|
|
30693
|
+
* @summary Get loyalty wallet for a user (kiosk)
|
|
30694
|
+
* @param {number} businessId
|
|
30695
|
+
* @param {number} userId
|
|
30696
|
+
* @param {*} [options] Override http request option.
|
|
30697
|
+
* @throws {RequiredError}
|
|
30698
|
+
*/
|
|
30699
|
+
getUserWallet(businessId: number, userId: number, options?: any): AxiosPromise<UserWalletResponseDto> {
|
|
30700
|
+
return localVarFp.getUserWallet(businessId, userId, options).then((request) => request(axios, basePath));
|
|
30701
|
+
},
|
|
30702
|
+
/**
|
|
30703
|
+
*
|
|
30704
|
+
* @summary Resolve applicable loyalty perks for the current cart (AI)
|
|
30705
|
+
* @param {LoyaltyResolveRequestDto} loyaltyResolveRequestDto
|
|
30706
|
+
* @param {*} [options] Override http request option.
|
|
30707
|
+
* @throws {RequiredError}
|
|
30708
|
+
*/
|
|
30709
|
+
resolvePerks(loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options?: any): AxiosPromise<LoyaltyResolveResponseDto> {
|
|
30710
|
+
return localVarFp.resolvePerks(loyaltyResolveRequestDto, options).then((request) => request(axios, basePath));
|
|
30711
|
+
},
|
|
29970
30712
|
/**
|
|
29971
30713
|
*
|
|
29972
30714
|
* @summary Search user by phone or email
|
|
@@ -30000,6 +30742,26 @@ export const LoyaltyIntegerationsApiFactory = function (configuration?: Configur
|
|
|
30000
30742
|
* @interface LoyaltyIntegerationsApi
|
|
30001
30743
|
*/
|
|
30002
30744
|
export interface LoyaltyIntegerationsApiInterface {
|
|
30745
|
+
/**
|
|
30746
|
+
*
|
|
30747
|
+
* @summary Activate a loyalty offer on the kiosk
|
|
30748
|
+
* @param {ActivateKioskOfferDto} activateKioskOfferDto
|
|
30749
|
+
* @param {*} [options] Override http request option.
|
|
30750
|
+
* @throws {RequiredError}
|
|
30751
|
+
* @memberof LoyaltyIntegerationsApiInterface
|
|
30752
|
+
*/
|
|
30753
|
+
activateKioskOffer(activateKioskOfferDto: ActivateKioskOfferDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
30754
|
+
|
|
30755
|
+
/**
|
|
30756
|
+
*
|
|
30757
|
+
* @summary Claim and activate an available catalog offer on the kiosk
|
|
30758
|
+
* @param {ClaimKioskOfferDto} claimKioskOfferDto
|
|
30759
|
+
* @param {*} [options] Override http request option.
|
|
30760
|
+
* @throws {RequiredError}
|
|
30761
|
+
* @memberof LoyaltyIntegerationsApiInterface
|
|
30762
|
+
*/
|
|
30763
|
+
claimKioskOffer(claimKioskOfferDto: ClaimKioskOfferDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
30764
|
+
|
|
30003
30765
|
/**
|
|
30004
30766
|
*
|
|
30005
30767
|
* @summary Create loyalty user
|
|
@@ -30044,6 +30806,38 @@ export interface LoyaltyIntegerationsApiInterface {
|
|
|
30044
30806
|
*/
|
|
30045
30807
|
getUserById(businessId: number, userId: string, options?: AxiosRequestConfig): AxiosPromise<LoyaltyUserInfoResponseDto>;
|
|
30046
30808
|
|
|
30809
|
+
/**
|
|
30810
|
+
*
|
|
30811
|
+
* @summary Get raw loyalty perks for a user without AI validation (fast)
|
|
30812
|
+
* @param {number} businessId
|
|
30813
|
+
* @param {number} userId
|
|
30814
|
+
* @param {*} [options] Override http request option.
|
|
30815
|
+
* @throws {RequiredError}
|
|
30816
|
+
* @memberof LoyaltyIntegerationsApiInterface
|
|
30817
|
+
*/
|
|
30818
|
+
getUserPerks(businessId: number, userId: number, options?: AxiosRequestConfig): AxiosPromise<LoyaltyResolveResponseDto>;
|
|
30819
|
+
|
|
30820
|
+
/**
|
|
30821
|
+
*
|
|
30822
|
+
* @summary Get loyalty wallet for a user (kiosk)
|
|
30823
|
+
* @param {number} businessId
|
|
30824
|
+
* @param {number} userId
|
|
30825
|
+
* @param {*} [options] Override http request option.
|
|
30826
|
+
* @throws {RequiredError}
|
|
30827
|
+
* @memberof LoyaltyIntegerationsApiInterface
|
|
30828
|
+
*/
|
|
30829
|
+
getUserWallet(businessId: number, userId: number, options?: AxiosRequestConfig): AxiosPromise<UserWalletResponseDto>;
|
|
30830
|
+
|
|
30831
|
+
/**
|
|
30832
|
+
*
|
|
30833
|
+
* @summary Resolve applicable loyalty perks for the current cart (AI)
|
|
30834
|
+
* @param {LoyaltyResolveRequestDto} loyaltyResolveRequestDto
|
|
30835
|
+
* @param {*} [options] Override http request option.
|
|
30836
|
+
* @throws {RequiredError}
|
|
30837
|
+
* @memberof LoyaltyIntegerationsApiInterface
|
|
30838
|
+
*/
|
|
30839
|
+
resolvePerks(loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options?: AxiosRequestConfig): AxiosPromise<LoyaltyResolveResponseDto>;
|
|
30840
|
+
|
|
30047
30841
|
/**
|
|
30048
30842
|
*
|
|
30049
30843
|
* @summary Search user by phone or email
|
|
@@ -30077,6 +30871,30 @@ export interface LoyaltyIntegerationsApiInterface {
|
|
|
30077
30871
|
* @extends {BaseAPI}
|
|
30078
30872
|
*/
|
|
30079
30873
|
export class LoyaltyIntegerationsApi extends BaseAPI implements LoyaltyIntegerationsApiInterface {
|
|
30874
|
+
/**
|
|
30875
|
+
*
|
|
30876
|
+
* @summary Activate a loyalty offer on the kiosk
|
|
30877
|
+
* @param {ActivateKioskOfferDto} activateKioskOfferDto
|
|
30878
|
+
* @param {*} [options] Override http request option.
|
|
30879
|
+
* @throws {RequiredError}
|
|
30880
|
+
* @memberof LoyaltyIntegerationsApi
|
|
30881
|
+
*/
|
|
30882
|
+
public activateKioskOffer(activateKioskOfferDto: ActivateKioskOfferDto, options?: AxiosRequestConfig) {
|
|
30883
|
+
return LoyaltyIntegerationsApiFp(this.configuration).activateKioskOffer(activateKioskOfferDto, options).then((request) => request(this.axios, this.basePath));
|
|
30884
|
+
}
|
|
30885
|
+
|
|
30886
|
+
/**
|
|
30887
|
+
*
|
|
30888
|
+
* @summary Claim and activate an available catalog offer on the kiosk
|
|
30889
|
+
* @param {ClaimKioskOfferDto} claimKioskOfferDto
|
|
30890
|
+
* @param {*} [options] Override http request option.
|
|
30891
|
+
* @throws {RequiredError}
|
|
30892
|
+
* @memberof LoyaltyIntegerationsApi
|
|
30893
|
+
*/
|
|
30894
|
+
public claimKioskOffer(claimKioskOfferDto: ClaimKioskOfferDto, options?: AxiosRequestConfig) {
|
|
30895
|
+
return LoyaltyIntegerationsApiFp(this.configuration).claimKioskOffer(claimKioskOfferDto, options).then((request) => request(this.axios, this.basePath));
|
|
30896
|
+
}
|
|
30897
|
+
|
|
30080
30898
|
/**
|
|
30081
30899
|
*
|
|
30082
30900
|
* @summary Create loyalty user
|
|
@@ -30129,6 +30947,44 @@ export class LoyaltyIntegerationsApi extends BaseAPI implements LoyaltyIntegerat
|
|
|
30129
30947
|
return LoyaltyIntegerationsApiFp(this.configuration).getUserById(businessId, userId, options).then((request) => request(this.axios, this.basePath));
|
|
30130
30948
|
}
|
|
30131
30949
|
|
|
30950
|
+
/**
|
|
30951
|
+
*
|
|
30952
|
+
* @summary Get raw loyalty perks for a user without AI validation (fast)
|
|
30953
|
+
* @param {number} businessId
|
|
30954
|
+
* @param {number} userId
|
|
30955
|
+
* @param {*} [options] Override http request option.
|
|
30956
|
+
* @throws {RequiredError}
|
|
30957
|
+
* @memberof LoyaltyIntegerationsApi
|
|
30958
|
+
*/
|
|
30959
|
+
public getUserPerks(businessId: number, userId: number, options?: AxiosRequestConfig) {
|
|
30960
|
+
return LoyaltyIntegerationsApiFp(this.configuration).getUserPerks(businessId, userId, options).then((request) => request(this.axios, this.basePath));
|
|
30961
|
+
}
|
|
30962
|
+
|
|
30963
|
+
/**
|
|
30964
|
+
*
|
|
30965
|
+
* @summary Get loyalty wallet for a user (kiosk)
|
|
30966
|
+
* @param {number} businessId
|
|
30967
|
+
* @param {number} userId
|
|
30968
|
+
* @param {*} [options] Override http request option.
|
|
30969
|
+
* @throws {RequiredError}
|
|
30970
|
+
* @memberof LoyaltyIntegerationsApi
|
|
30971
|
+
*/
|
|
30972
|
+
public getUserWallet(businessId: number, userId: number, options?: AxiosRequestConfig) {
|
|
30973
|
+
return LoyaltyIntegerationsApiFp(this.configuration).getUserWallet(businessId, userId, options).then((request) => request(this.axios, this.basePath));
|
|
30974
|
+
}
|
|
30975
|
+
|
|
30976
|
+
/**
|
|
30977
|
+
*
|
|
30978
|
+
* @summary Resolve applicable loyalty perks for the current cart (AI)
|
|
30979
|
+
* @param {LoyaltyResolveRequestDto} loyaltyResolveRequestDto
|
|
30980
|
+
* @param {*} [options] Override http request option.
|
|
30981
|
+
* @throws {RequiredError}
|
|
30982
|
+
* @memberof LoyaltyIntegerationsApi
|
|
30983
|
+
*/
|
|
30984
|
+
public resolvePerks(loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options?: AxiosRequestConfig) {
|
|
30985
|
+
return LoyaltyIntegerationsApiFp(this.configuration).resolvePerks(loyaltyResolveRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
30986
|
+
}
|
|
30987
|
+
|
|
30132
30988
|
/**
|
|
30133
30989
|
*
|
|
30134
30990
|
* @summary Search user by phone or email
|
|
@@ -31932,11 +32788,11 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
31932
32788
|
* @param {'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft'} status Order status filter
|
|
31933
32789
|
* @param {string} businessIds Comma-separated list of business IDs
|
|
31934
32790
|
* @param {string} [posBusinessId] Id of the pos
|
|
31935
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [extraProvider] Extra attributes to get POS orders
|
|
32791
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [extraProvider] Extra attributes to get POS orders
|
|
31936
32792
|
* @param {*} [options] Override http request option.
|
|
31937
32793
|
* @throws {RequiredError}
|
|
31938
32794
|
*/
|
|
31939
|
-
getOrdersV2: async (status: 'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft', businessIds: string, posBusinessId?: string, extraProvider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32795
|
+
getOrdersV2: async (status: 'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft', businessIds: string, posBusinessId?: string, extraProvider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31940
32796
|
// verify required parameter 'status' is not null or undefined
|
|
31941
32797
|
assertParamExists('getOrdersV2', 'status', status)
|
|
31942
32798
|
// verify required parameter 'businessIds' is not null or undefined
|
|
@@ -32265,11 +33121,11 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
32265
33121
|
* @param {'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft'} status Order status filter
|
|
32266
33122
|
* @param {string} businessIds Comma-separated list of business IDs
|
|
32267
33123
|
* @param {string} [posBusinessId] Id of the pos
|
|
32268
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [extraProvider] Extra attributes to get POS orders
|
|
33124
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [extraProvider] Extra attributes to get POS orders
|
|
32269
33125
|
* @param {*} [options] Override http request option.
|
|
32270
33126
|
* @throws {RequiredError}
|
|
32271
33127
|
*/
|
|
32272
|
-
async getOrdersV2(status: 'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft', businessIds: string, posBusinessId?: string, extraProvider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UnifiedOrderResponseDto>>> {
|
|
33128
|
+
async getOrdersV2(status: 'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft', businessIds: string, posBusinessId?: string, extraProvider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UnifiedOrderResponseDto>>> {
|
|
32273
33129
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrdersV2(status, businessIds, posBusinessId, extraProvider, options);
|
|
32274
33130
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32275
33131
|
},
|
|
@@ -32405,11 +33261,11 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
32405
33261
|
* @param {'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft'} status Order status filter
|
|
32406
33262
|
* @param {string} businessIds Comma-separated list of business IDs
|
|
32407
33263
|
* @param {string} [posBusinessId] Id of the pos
|
|
32408
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [extraProvider] Extra attributes to get POS orders
|
|
33264
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [extraProvider] Extra attributes to get POS orders
|
|
32409
33265
|
* @param {*} [options] Override http request option.
|
|
32410
33266
|
* @throws {RequiredError}
|
|
32411
33267
|
*/
|
|
32412
|
-
getOrdersV2(status: 'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft', businessIds: string, posBusinessId?: string, extraProvider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', options?: any): AxiosPromise<Array<UnifiedOrderResponseDto>> {
|
|
33268
|
+
getOrdersV2(status: 'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft', businessIds: string, posBusinessId?: string, extraProvider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: any): AxiosPromise<Array<UnifiedOrderResponseDto>> {
|
|
32413
33269
|
return localVarFp.getOrdersV2(status, businessIds, posBusinessId, extraProvider, options).then((request) => request(axios, basePath));
|
|
32414
33270
|
},
|
|
32415
33271
|
/**
|
|
@@ -32537,12 +33393,12 @@ export interface OrdersApiInterface {
|
|
|
32537
33393
|
* @param {'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft'} status Order status filter
|
|
32538
33394
|
* @param {string} businessIds Comma-separated list of business IDs
|
|
32539
33395
|
* @param {string} [posBusinessId] Id of the pos
|
|
32540
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [extraProvider] Extra attributes to get POS orders
|
|
33396
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [extraProvider] Extra attributes to get POS orders
|
|
32541
33397
|
* @param {*} [options] Override http request option.
|
|
32542
33398
|
* @throws {RequiredError}
|
|
32543
33399
|
* @memberof OrdersApiInterface
|
|
32544
33400
|
*/
|
|
32545
|
-
getOrdersV2(status: 'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft', businessIds: string, posBusinessId?: string, extraProvider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', options?: AxiosRequestConfig): AxiosPromise<Array<UnifiedOrderResponseDto>>;
|
|
33401
|
+
getOrdersV2(status: 'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft', businessIds: string, posBusinessId?: string, extraProvider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: AxiosRequestConfig): AxiosPromise<Array<UnifiedOrderResponseDto>>;
|
|
32546
33402
|
|
|
32547
33403
|
/**
|
|
32548
33404
|
*
|
|
@@ -32679,12 +33535,12 @@ export class OrdersApi extends BaseAPI implements OrdersApiInterface {
|
|
|
32679
33535
|
* @param {'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft'} status Order status filter
|
|
32680
33536
|
* @param {string} businessIds Comma-separated list of business IDs
|
|
32681
33537
|
* @param {string} [posBusinessId] Id of the pos
|
|
32682
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [extraProvider] Extra attributes to get POS orders
|
|
33538
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [extraProvider] Extra attributes to get POS orders
|
|
32683
33539
|
* @param {*} [options] Override http request option.
|
|
32684
33540
|
* @throws {RequiredError}
|
|
32685
33541
|
* @memberof OrdersApi
|
|
32686
33542
|
*/
|
|
32687
|
-
public getOrdersV2(status: 'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft', businessIds: string, posBusinessId?: string, extraProvider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', options?: AxiosRequestConfig) {
|
|
33543
|
+
public getOrdersV2(status: 'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft', businessIds: string, posBusinessId?: string, extraProvider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: AxiosRequestConfig) {
|
|
32688
33544
|
return OrdersApiFp(this.configuration).getOrdersV2(status, businessIds, posBusinessId, extraProvider, options).then((request) => request(this.axios, this.basePath));
|
|
32689
33545
|
}
|
|
32690
33546
|
|
|
@@ -35603,11 +36459,11 @@ export const ReportApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
35603
36459
|
* @param {string} [start] Start date
|
|
35604
36460
|
* @param {string} [end] End date
|
|
35605
36461
|
* @param {string} [timezone] Timezone (default is \"UTC\")
|
|
35606
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [provider] Order source provider (default is MunchiPos)
|
|
36462
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [provider] Order source provider (default is MunchiPos)
|
|
35607
36463
|
* @param {*} [options] Override http request option.
|
|
35608
36464
|
* @throws {RequiredError}
|
|
35609
36465
|
*/
|
|
35610
|
-
getEndOfDayReportV5: async (businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36466
|
+
getEndOfDayReportV5: async (businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35611
36467
|
// verify required parameter 'businessIds' is not null or undefined
|
|
35612
36468
|
assertParamExists('getEndOfDayReportV5', 'businessIds', businessIds)
|
|
35613
36469
|
const localVarPath = `/api/v5/report/end-of-day`;
|
|
@@ -35788,11 +36644,11 @@ export const ReportApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
35788
36644
|
* @param {TimeSpan} [timeSpan] Time span
|
|
35789
36645
|
* @param {string} [start] Start date
|
|
35790
36646
|
* @param {string} [end] End date
|
|
35791
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [provider] Order source provider (default is MunchiPos)
|
|
36647
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [provider] Order source provider (default is MunchiPos)
|
|
35792
36648
|
* @param {*} [options] Override http request option.
|
|
35793
36649
|
* @throws {RequiredError}
|
|
35794
36650
|
*/
|
|
35795
|
-
sendReportEmailV5: async (businessIds: Array<number>, timezone: string, sendReportEmailDto: SendReportEmailDto, timeSpan?: TimeSpan, start?: string, end?: string, provider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36651
|
+
sendReportEmailV5: async (businessIds: Array<number>, timezone: string, sendReportEmailDto: SendReportEmailDto, timeSpan?: TimeSpan, start?: string, end?: string, provider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35796
36652
|
// verify required parameter 'businessIds' is not null or undefined
|
|
35797
36653
|
assertParamExists('sendReportEmailV5', 'businessIds', businessIds)
|
|
35798
36654
|
// verify required parameter 'timezone' is not null or undefined
|
|
@@ -35867,11 +36723,11 @@ export const ReportApiFp = function(configuration?: Configuration) {
|
|
|
35867
36723
|
* @param {string} [start] Start date
|
|
35868
36724
|
* @param {string} [end] End date
|
|
35869
36725
|
* @param {string} [timezone] Timezone (default is \"UTC\")
|
|
35870
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [provider] Order source provider (default is MunchiPos)
|
|
36726
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [provider] Order source provider (default is MunchiPos)
|
|
35871
36727
|
* @param {*} [options] Override http request option.
|
|
35872
36728
|
* @throws {RequiredError}
|
|
35873
36729
|
*/
|
|
35874
|
-
async getEndOfDayReportV5(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EndOfDayReportDtoV4>> {
|
|
36730
|
+
async getEndOfDayReportV5(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EndOfDayReportDtoV4>> {
|
|
35875
36731
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getEndOfDayReportV5(businessIds, timeSpan, start, end, timezone, provider, options);
|
|
35876
36732
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35877
36733
|
},
|
|
@@ -35915,11 +36771,11 @@ export const ReportApiFp = function(configuration?: Configuration) {
|
|
|
35915
36771
|
* @param {TimeSpan} [timeSpan] Time span
|
|
35916
36772
|
* @param {string} [start] Start date
|
|
35917
36773
|
* @param {string} [end] End date
|
|
35918
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [provider] Order source provider (default is MunchiPos)
|
|
36774
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [provider] Order source provider (default is MunchiPos)
|
|
35919
36775
|
* @param {*} [options] Override http request option.
|
|
35920
36776
|
* @throws {RequiredError}
|
|
35921
36777
|
*/
|
|
35922
|
-
async sendReportEmailV5(businessIds: Array<number>, timezone: string, sendReportEmailDto: SendReportEmailDto, timeSpan?: TimeSpan, start?: string, end?: string, provider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
36778
|
+
async sendReportEmailV5(businessIds: Array<number>, timezone: string, sendReportEmailDto: SendReportEmailDto, timeSpan?: TimeSpan, start?: string, end?: string, provider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
35923
36779
|
const localVarAxiosArgs = await localVarAxiosParamCreator.sendReportEmailV5(businessIds, timezone, sendReportEmailDto, timeSpan, start, end, provider, options);
|
|
35924
36780
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35925
36781
|
},
|
|
@@ -35941,11 +36797,11 @@ export const ReportApiFactory = function (configuration?: Configuration, basePat
|
|
|
35941
36797
|
* @param {string} [start] Start date
|
|
35942
36798
|
* @param {string} [end] End date
|
|
35943
36799
|
* @param {string} [timezone] Timezone (default is \"UTC\")
|
|
35944
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [provider] Order source provider (default is MunchiPos)
|
|
36800
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [provider] Order source provider (default is MunchiPos)
|
|
35945
36801
|
* @param {*} [options] Override http request option.
|
|
35946
36802
|
* @throws {RequiredError}
|
|
35947
36803
|
*/
|
|
35948
|
-
getEndOfDayReportV5(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', options?: any): AxiosPromise<EndOfDayReportDtoV4> {
|
|
36804
|
+
getEndOfDayReportV5(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: any): AxiosPromise<EndOfDayReportDtoV4> {
|
|
35949
36805
|
return localVarFp.getEndOfDayReportV5(businessIds, timeSpan, start, end, timezone, provider, options).then((request) => request(axios, basePath));
|
|
35950
36806
|
},
|
|
35951
36807
|
/**
|
|
@@ -35986,11 +36842,11 @@ export const ReportApiFactory = function (configuration?: Configuration, basePat
|
|
|
35986
36842
|
* @param {TimeSpan} [timeSpan] Time span
|
|
35987
36843
|
* @param {string} [start] Start date
|
|
35988
36844
|
* @param {string} [end] End date
|
|
35989
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [provider] Order source provider (default is MunchiPos)
|
|
36845
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [provider] Order source provider (default is MunchiPos)
|
|
35990
36846
|
* @param {*} [options] Override http request option.
|
|
35991
36847
|
* @throws {RequiredError}
|
|
35992
36848
|
*/
|
|
35993
|
-
sendReportEmailV5(businessIds: Array<number>, timezone: string, sendReportEmailDto: SendReportEmailDto, timeSpan?: TimeSpan, start?: string, end?: string, provider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', options?: any): AxiosPromise<void> {
|
|
36849
|
+
sendReportEmailV5(businessIds: Array<number>, timezone: string, sendReportEmailDto: SendReportEmailDto, timeSpan?: TimeSpan, start?: string, end?: string, provider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: any): AxiosPromise<void> {
|
|
35994
36850
|
return localVarFp.sendReportEmailV5(businessIds, timezone, sendReportEmailDto, timeSpan, start, end, provider, options).then((request) => request(axios, basePath));
|
|
35995
36851
|
},
|
|
35996
36852
|
};
|
|
@@ -36010,12 +36866,12 @@ export interface ReportApiInterface {
|
|
|
36010
36866
|
* @param {string} [start] Start date
|
|
36011
36867
|
* @param {string} [end] End date
|
|
36012
36868
|
* @param {string} [timezone] Timezone (default is \"UTC\")
|
|
36013
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [provider] Order source provider (default is MunchiPos)
|
|
36869
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [provider] Order source provider (default is MunchiPos)
|
|
36014
36870
|
* @param {*} [options] Override http request option.
|
|
36015
36871
|
* @throws {RequiredError}
|
|
36016
36872
|
* @memberof ReportApiInterface
|
|
36017
36873
|
*/
|
|
36018
|
-
getEndOfDayReportV5(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', options?: AxiosRequestConfig): AxiosPromise<EndOfDayReportDtoV4>;
|
|
36874
|
+
getEndOfDayReportV5(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: AxiosRequestConfig): AxiosPromise<EndOfDayReportDtoV4>;
|
|
36019
36875
|
|
|
36020
36876
|
/**
|
|
36021
36877
|
*
|
|
@@ -36055,12 +36911,12 @@ export interface ReportApiInterface {
|
|
|
36055
36911
|
* @param {TimeSpan} [timeSpan] Time span
|
|
36056
36912
|
* @param {string} [start] Start date
|
|
36057
36913
|
* @param {string} [end] End date
|
|
36058
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [provider] Order source provider (default is MunchiPos)
|
|
36914
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [provider] Order source provider (default is MunchiPos)
|
|
36059
36915
|
* @param {*} [options] Override http request option.
|
|
36060
36916
|
* @throws {RequiredError}
|
|
36061
36917
|
* @memberof ReportApiInterface
|
|
36062
36918
|
*/
|
|
36063
|
-
sendReportEmailV5(businessIds: Array<number>, timezone: string, sendReportEmailDto: SendReportEmailDto, timeSpan?: TimeSpan, start?: string, end?: string, provider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
36919
|
+
sendReportEmailV5(businessIds: Array<number>, timezone: string, sendReportEmailDto: SendReportEmailDto, timeSpan?: TimeSpan, start?: string, end?: string, provider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
36064
36920
|
|
|
36065
36921
|
}
|
|
36066
36922
|
|
|
@@ -36079,12 +36935,12 @@ export class ReportApi extends BaseAPI implements ReportApiInterface {
|
|
|
36079
36935
|
* @param {string} [start] Start date
|
|
36080
36936
|
* @param {string} [end] End date
|
|
36081
36937
|
* @param {string} [timezone] Timezone (default is \"UTC\")
|
|
36082
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [provider] Order source provider (default is MunchiPos)
|
|
36938
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [provider] Order source provider (default is MunchiPos)
|
|
36083
36939
|
* @param {*} [options] Override http request option.
|
|
36084
36940
|
* @throws {RequiredError}
|
|
36085
36941
|
* @memberof ReportApi
|
|
36086
36942
|
*/
|
|
36087
|
-
public getEndOfDayReportV5(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', options?: AxiosRequestConfig) {
|
|
36943
|
+
public getEndOfDayReportV5(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: AxiosRequestConfig) {
|
|
36088
36944
|
return ReportApiFp(this.configuration).getEndOfDayReportV5(businessIds, timeSpan, start, end, timezone, provider, options).then((request) => request(this.axios, this.basePath));
|
|
36089
36945
|
}
|
|
36090
36946
|
|
|
@@ -36130,12 +36986,12 @@ export class ReportApi extends BaseAPI implements ReportApiInterface {
|
|
|
36130
36986
|
* @param {TimeSpan} [timeSpan] Time span
|
|
36131
36987
|
* @param {string} [start] Start date
|
|
36132
36988
|
* @param {string} [end] End date
|
|
36133
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [provider] Order source provider (default is MunchiPos)
|
|
36989
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [provider] Order source provider (default is MunchiPos)
|
|
36134
36990
|
* @param {*} [options] Override http request option.
|
|
36135
36991
|
* @throws {RequiredError}
|
|
36136
36992
|
* @memberof ReportApi
|
|
36137
36993
|
*/
|
|
36138
|
-
public sendReportEmailV5(businessIds: Array<number>, timezone: string, sendReportEmailDto: SendReportEmailDto, timeSpan?: TimeSpan, start?: string, end?: string, provider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', options?: AxiosRequestConfig) {
|
|
36994
|
+
public sendReportEmailV5(businessIds: Array<number>, timezone: string, sendReportEmailDto: SendReportEmailDto, timeSpan?: TimeSpan, start?: string, end?: string, provider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: AxiosRequestConfig) {
|
|
36139
36995
|
return ReportApiFp(this.configuration).sendReportEmailV5(businessIds, timezone, sendReportEmailDto, timeSpan, start, end, provider, options).then((request) => request(this.axios, this.basePath));
|
|
36140
36996
|
}
|
|
36141
36997
|
}
|
|
@@ -37624,6 +38480,126 @@ export class UsersApi extends BaseAPI implements UsersApiInterface {
|
|
|
37624
38480
|
}
|
|
37625
38481
|
|
|
37626
38482
|
|
|
38483
|
+
/**
|
|
38484
|
+
* VendureSellerApi - axios parameter creator
|
|
38485
|
+
* @export
|
|
38486
|
+
*/
|
|
38487
|
+
export const VendureSellerApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
38488
|
+
return {
|
|
38489
|
+
/**
|
|
38490
|
+
*
|
|
38491
|
+
* @param {object} body
|
|
38492
|
+
* @param {*} [options] Override http request option.
|
|
38493
|
+
* @throws {RequiredError}
|
|
38494
|
+
*/
|
|
38495
|
+
upsert: async (body: object, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38496
|
+
// verify required parameter 'body' is not null or undefined
|
|
38497
|
+
assertParamExists('upsert', 'body', body)
|
|
38498
|
+
const localVarPath = `/api/v1/vendure/seller/upsert`;
|
|
38499
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38500
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38501
|
+
let baseOptions;
|
|
38502
|
+
if (configuration) {
|
|
38503
|
+
baseOptions = configuration.baseOptions;
|
|
38504
|
+
}
|
|
38505
|
+
|
|
38506
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
38507
|
+
const localVarHeaderParameter = {} as any;
|
|
38508
|
+
const localVarQueryParameter = {} as any;
|
|
38509
|
+
|
|
38510
|
+
|
|
38511
|
+
|
|
38512
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
38513
|
+
|
|
38514
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38515
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38516
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38517
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
38518
|
+
|
|
38519
|
+
return {
|
|
38520
|
+
url: toPathString(localVarUrlObj),
|
|
38521
|
+
options: localVarRequestOptions,
|
|
38522
|
+
};
|
|
38523
|
+
},
|
|
38524
|
+
}
|
|
38525
|
+
};
|
|
38526
|
+
|
|
38527
|
+
/**
|
|
38528
|
+
* VendureSellerApi - functional programming interface
|
|
38529
|
+
* @export
|
|
38530
|
+
*/
|
|
38531
|
+
export const VendureSellerApiFp = function(configuration?: Configuration) {
|
|
38532
|
+
const localVarAxiosParamCreator = VendureSellerApiAxiosParamCreator(configuration)
|
|
38533
|
+
return {
|
|
38534
|
+
/**
|
|
38535
|
+
*
|
|
38536
|
+
* @param {object} body
|
|
38537
|
+
* @param {*} [options] Override http request option.
|
|
38538
|
+
* @throws {RequiredError}
|
|
38539
|
+
*/
|
|
38540
|
+
async upsert(body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
38541
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.upsert(body, options);
|
|
38542
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38543
|
+
},
|
|
38544
|
+
}
|
|
38545
|
+
};
|
|
38546
|
+
|
|
38547
|
+
/**
|
|
38548
|
+
* VendureSellerApi - factory interface
|
|
38549
|
+
* @export
|
|
38550
|
+
*/
|
|
38551
|
+
export const VendureSellerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
38552
|
+
const localVarFp = VendureSellerApiFp(configuration)
|
|
38553
|
+
return {
|
|
38554
|
+
/**
|
|
38555
|
+
*
|
|
38556
|
+
* @param {object} body
|
|
38557
|
+
* @param {*} [options] Override http request option.
|
|
38558
|
+
* @throws {RequiredError}
|
|
38559
|
+
*/
|
|
38560
|
+
upsert(body: object, options?: any): AxiosPromise<void> {
|
|
38561
|
+
return localVarFp.upsert(body, options).then((request) => request(axios, basePath));
|
|
38562
|
+
},
|
|
38563
|
+
};
|
|
38564
|
+
};
|
|
38565
|
+
|
|
38566
|
+
/**
|
|
38567
|
+
* VendureSellerApi - interface
|
|
38568
|
+
* @export
|
|
38569
|
+
* @interface VendureSellerApi
|
|
38570
|
+
*/
|
|
38571
|
+
export interface VendureSellerApiInterface {
|
|
38572
|
+
/**
|
|
38573
|
+
*
|
|
38574
|
+
* @param {object} body
|
|
38575
|
+
* @param {*} [options] Override http request option.
|
|
38576
|
+
* @throws {RequiredError}
|
|
38577
|
+
* @memberof VendureSellerApiInterface
|
|
38578
|
+
*/
|
|
38579
|
+
upsert(body: object, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
38580
|
+
|
|
38581
|
+
}
|
|
38582
|
+
|
|
38583
|
+
/**
|
|
38584
|
+
* VendureSellerApi - object-oriented interface
|
|
38585
|
+
* @export
|
|
38586
|
+
* @class VendureSellerApi
|
|
38587
|
+
* @extends {BaseAPI}
|
|
38588
|
+
*/
|
|
38589
|
+
export class VendureSellerApi extends BaseAPI implements VendureSellerApiInterface {
|
|
38590
|
+
/**
|
|
38591
|
+
*
|
|
38592
|
+
* @param {object} body
|
|
38593
|
+
* @param {*} [options] Override http request option.
|
|
38594
|
+
* @throws {RequiredError}
|
|
38595
|
+
* @memberof VendureSellerApi
|
|
38596
|
+
*/
|
|
38597
|
+
public upsert(body: object, options?: AxiosRequestConfig) {
|
|
38598
|
+
return VendureSellerApiFp(this.configuration).upsert(body, options).then((request) => request(this.axios, this.basePath));
|
|
38599
|
+
}
|
|
38600
|
+
}
|
|
38601
|
+
|
|
38602
|
+
|
|
37627
38603
|
/**
|
|
37628
38604
|
* VivaApi - axios parameter creator
|
|
37629
38605
|
* @export
|
|
@@ -38215,6 +39191,41 @@ export const WebhookApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
38215
39191
|
options: localVarRequestOptions,
|
|
38216
39192
|
};
|
|
38217
39193
|
},
|
|
39194
|
+
/**
|
|
39195
|
+
*
|
|
39196
|
+
* @param {ProcessKioskRecoveryQueueDto} processKioskRecoveryQueueDto
|
|
39197
|
+
* @param {*} [options] Override http request option.
|
|
39198
|
+
* @throws {RequiredError}
|
|
39199
|
+
*/
|
|
39200
|
+
processKioskRecoveryQueue: async (processKioskRecoveryQueueDto: ProcessKioskRecoveryQueueDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39201
|
+
// verify required parameter 'processKioskRecoveryQueueDto' is not null or undefined
|
|
39202
|
+
assertParamExists('processKioskRecoveryQueue', 'processKioskRecoveryQueueDto', processKioskRecoveryQueueDto)
|
|
39203
|
+
const localVarPath = `/api/webhook/kiosk/recovery/process`;
|
|
39204
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39205
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
39206
|
+
let baseOptions;
|
|
39207
|
+
if (configuration) {
|
|
39208
|
+
baseOptions = configuration.baseOptions;
|
|
39209
|
+
}
|
|
39210
|
+
|
|
39211
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
39212
|
+
const localVarHeaderParameter = {} as any;
|
|
39213
|
+
const localVarQueryParameter = {} as any;
|
|
39214
|
+
|
|
39215
|
+
|
|
39216
|
+
|
|
39217
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
39218
|
+
|
|
39219
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
39220
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
39221
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
39222
|
+
localVarRequestOptions.data = serializeDataIfNeeded(processKioskRecoveryQueueDto, localVarRequestOptions, configuration)
|
|
39223
|
+
|
|
39224
|
+
return {
|
|
39225
|
+
url: toPathString(localVarUrlObj),
|
|
39226
|
+
options: localVarRequestOptions,
|
|
39227
|
+
};
|
|
39228
|
+
},
|
|
38218
39229
|
/**
|
|
38219
39230
|
*
|
|
38220
39231
|
* @param {*} [options] Override http request option.
|
|
@@ -38425,6 +39436,16 @@ export const WebhookApiFp = function(configuration?: Configuration) {
|
|
|
38425
39436
|
const localVarAxiosArgs = await localVarAxiosParamCreator.handleWorldlineEvents(options);
|
|
38426
39437
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38427
39438
|
},
|
|
39439
|
+
/**
|
|
39440
|
+
*
|
|
39441
|
+
* @param {ProcessKioskRecoveryQueueDto} processKioskRecoveryQueueDto
|
|
39442
|
+
* @param {*} [options] Override http request option.
|
|
39443
|
+
* @throws {RequiredError}
|
|
39444
|
+
*/
|
|
39445
|
+
async processKioskRecoveryQueue(processKioskRecoveryQueueDto: ProcessKioskRecoveryQueueDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
39446
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.processKioskRecoveryQueue(processKioskRecoveryQueueDto, options);
|
|
39447
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
39448
|
+
},
|
|
38428
39449
|
/**
|
|
38429
39450
|
*
|
|
38430
39451
|
* @param {*} [options] Override http request option.
|
|
@@ -38580,6 +39601,15 @@ export const WebhookApiFactory = function (configuration?: Configuration, basePa
|
|
|
38580
39601
|
handleWorldlineEvents(options?: any): AxiosPromise<void> {
|
|
38581
39602
|
return localVarFp.handleWorldlineEvents(options).then((request) => request(axios, basePath));
|
|
38582
39603
|
},
|
|
39604
|
+
/**
|
|
39605
|
+
*
|
|
39606
|
+
* @param {ProcessKioskRecoveryQueueDto} processKioskRecoveryQueueDto
|
|
39607
|
+
* @param {*} [options] Override http request option.
|
|
39608
|
+
* @throws {RequiredError}
|
|
39609
|
+
*/
|
|
39610
|
+
processKioskRecoveryQueue(processKioskRecoveryQueueDto: ProcessKioskRecoveryQueueDto, options?: any): AxiosPromise<void> {
|
|
39611
|
+
return localVarFp.processKioskRecoveryQueue(processKioskRecoveryQueueDto, options).then((request) => request(axios, basePath));
|
|
39612
|
+
},
|
|
38583
39613
|
/**
|
|
38584
39614
|
*
|
|
38585
39615
|
* @param {*} [options] Override http request option.
|
|
@@ -38732,6 +39762,15 @@ export interface WebhookApiInterface {
|
|
|
38732
39762
|
*/
|
|
38733
39763
|
handleWorldlineEvents(options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
38734
39764
|
|
|
39765
|
+
/**
|
|
39766
|
+
*
|
|
39767
|
+
* @param {ProcessKioskRecoveryQueueDto} processKioskRecoveryQueueDto
|
|
39768
|
+
* @param {*} [options] Override http request option.
|
|
39769
|
+
* @throws {RequiredError}
|
|
39770
|
+
* @memberof WebhookApiInterface
|
|
39771
|
+
*/
|
|
39772
|
+
processKioskRecoveryQueue(processKioskRecoveryQueueDto: ProcessKioskRecoveryQueueDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
39773
|
+
|
|
38735
39774
|
/**
|
|
38736
39775
|
*
|
|
38737
39776
|
* @param {*} [options] Override http request option.
|
|
@@ -38914,6 +39953,17 @@ export class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
38914
39953
|
return WebhookApiFp(this.configuration).handleWorldlineEvents(options).then((request) => request(this.axios, this.basePath));
|
|
38915
39954
|
}
|
|
38916
39955
|
|
|
39956
|
+
/**
|
|
39957
|
+
*
|
|
39958
|
+
* @param {ProcessKioskRecoveryQueueDto} processKioskRecoveryQueueDto
|
|
39959
|
+
* @param {*} [options] Override http request option.
|
|
39960
|
+
* @throws {RequiredError}
|
|
39961
|
+
* @memberof WebhookApi
|
|
39962
|
+
*/
|
|
39963
|
+
public processKioskRecoveryQueue(processKioskRecoveryQueueDto: ProcessKioskRecoveryQueueDto, options?: AxiosRequestConfig) {
|
|
39964
|
+
return WebhookApiFp(this.configuration).processKioskRecoveryQueue(processKioskRecoveryQueueDto, options).then((request) => request(this.axios, this.basePath));
|
|
39965
|
+
}
|
|
39966
|
+
|
|
38917
39967
|
/**
|
|
38918
39968
|
*
|
|
38919
39969
|
* @param {*} [options] Override http request option.
|