@munchi_oy/core 1.9.18 → 1.9.20
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 +823 -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 +1140 -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
|
|
@@ -9353,6 +9492,12 @@ export interface OrderEventDto {
|
|
|
9353
9492
|
* @memberof OrderEventDto
|
|
9354
9493
|
*/
|
|
9355
9494
|
'order': object;
|
|
9495
|
+
/**
|
|
9496
|
+
* Timestamp when the order was accepted
|
|
9497
|
+
* @type {string}
|
|
9498
|
+
* @memberof OrderEventDto
|
|
9499
|
+
*/
|
|
9500
|
+
'acceptedAt'?: string | null;
|
|
9356
9501
|
/**
|
|
9357
9502
|
* Flag to indicate if only cancelled items are included
|
|
9358
9503
|
* @type {boolean}
|
|
@@ -12855,6 +13000,12 @@ export interface PosOrderDto {
|
|
|
12855
13000
|
* @memberof PosOrderDto
|
|
12856
13001
|
*/
|
|
12857
13002
|
'fees'?: Array<OrderFeeDto> | null;
|
|
13003
|
+
/**
|
|
13004
|
+
* Loyalty user ID associated with this order
|
|
13005
|
+
* @type {number}
|
|
13006
|
+
* @memberof PosOrderDto
|
|
13007
|
+
*/
|
|
13008
|
+
'targetUserId'?: number;
|
|
12858
13009
|
}
|
|
12859
13010
|
|
|
12860
13011
|
|
|
@@ -13586,6 +13737,12 @@ export interface PosOrderPayloadDtoOrder {
|
|
|
13586
13737
|
* @memberof PosOrderPayloadDtoOrder
|
|
13587
13738
|
*/
|
|
13588
13739
|
'fees'?: Array<OrderFeeDto> | null;
|
|
13740
|
+
/**
|
|
13741
|
+
* Loyalty user ID associated with this order
|
|
13742
|
+
* @type {number}
|
|
13743
|
+
* @memberof PosOrderPayloadDtoOrder
|
|
13744
|
+
*/
|
|
13745
|
+
'targetUserId'?: number;
|
|
13589
13746
|
}
|
|
13590
13747
|
|
|
13591
13748
|
|
|
@@ -14053,6 +14210,19 @@ export const PrinterTypeEnum = {
|
|
|
14053
14210
|
export type PrinterTypeEnum = typeof PrinterTypeEnum[keyof typeof PrinterTypeEnum];
|
|
14054
14211
|
|
|
14055
14212
|
|
|
14213
|
+
/**
|
|
14214
|
+
*
|
|
14215
|
+
* @export
|
|
14216
|
+
* @interface ProcessKioskRecoveryQueueDto
|
|
14217
|
+
*/
|
|
14218
|
+
export interface ProcessKioskRecoveryQueueDto {
|
|
14219
|
+
/**
|
|
14220
|
+
* Maximum number of kiosk recovery jobs to process in one run.
|
|
14221
|
+
* @type {number}
|
|
14222
|
+
* @memberof ProcessKioskRecoveryQueueDto
|
|
14223
|
+
*/
|
|
14224
|
+
'batchSize'?: number;
|
|
14225
|
+
}
|
|
14056
14226
|
/**
|
|
14057
14227
|
*
|
|
14058
14228
|
* @export
|
|
@@ -14350,6 +14520,12 @@ export interface ProcessOrderActionsResponseDtoOrder {
|
|
|
14350
14520
|
* @memberof ProcessOrderActionsResponseDtoOrder
|
|
14351
14521
|
*/
|
|
14352
14522
|
'fees'?: Array<OrderFeeDto> | null;
|
|
14523
|
+
/**
|
|
14524
|
+
* Loyalty user ID associated with this order
|
|
14525
|
+
* @type {number}
|
|
14526
|
+
* @memberof ProcessOrderActionsResponseDtoOrder
|
|
14527
|
+
*/
|
|
14528
|
+
'targetUserId'?: number;
|
|
14353
14529
|
}
|
|
14354
14530
|
|
|
14355
14531
|
|
|
@@ -14791,7 +14967,8 @@ export const ProviderEnum = {
|
|
|
14791
14967
|
Bolt: 'Bolt',
|
|
14792
14968
|
MunchiKioskV2: 'MunchiKioskV2',
|
|
14793
14969
|
Kiosk: 'Kiosk',
|
|
14794
|
-
WoltStorefront: 'WoltStorefront'
|
|
14970
|
+
WoltStorefront: 'WoltStorefront',
|
|
14971
|
+
Storefront: 'Storefront'
|
|
14795
14972
|
} as const;
|
|
14796
14973
|
|
|
14797
14974
|
export type ProviderEnum = typeof ProviderEnum[keyof typeof ProviderEnum];
|
|
@@ -15739,6 +15916,95 @@ export interface ResolveChoiceDto {
|
|
|
15739
15916
|
*/
|
|
15740
15917
|
'chosenPaymentEventId': string;
|
|
15741
15918
|
}
|
|
15919
|
+
/**
|
|
15920
|
+
*
|
|
15921
|
+
* @export
|
|
15922
|
+
* @interface ResolvedPerkDto
|
|
15923
|
+
*/
|
|
15924
|
+
export interface ResolvedPerkDto {
|
|
15925
|
+
/**
|
|
15926
|
+
* Wallet item ID (null for unclaimed catalog items)
|
|
15927
|
+
* @type {object}
|
|
15928
|
+
* @memberof ResolvedPerkDto
|
|
15929
|
+
*/
|
|
15930
|
+
'walletId': object | null;
|
|
15931
|
+
/**
|
|
15932
|
+
* Catalog ID
|
|
15933
|
+
* @type {object}
|
|
15934
|
+
* @memberof ResolvedPerkDto
|
|
15935
|
+
*/
|
|
15936
|
+
'catalogId': object | null;
|
|
15937
|
+
/**
|
|
15938
|
+
*
|
|
15939
|
+
* @type {string}
|
|
15940
|
+
* @memberof ResolvedPerkDto
|
|
15941
|
+
*/
|
|
15942
|
+
'name': string;
|
|
15943
|
+
/**
|
|
15944
|
+
*
|
|
15945
|
+
* @type {string}
|
|
15946
|
+
* @memberof ResolvedPerkDto
|
|
15947
|
+
*/
|
|
15948
|
+
'walletStatus': WalletStatusEnum;
|
|
15949
|
+
/**
|
|
15950
|
+
*
|
|
15951
|
+
* @type {boolean}
|
|
15952
|
+
* @memberof ResolvedPerkDto
|
|
15953
|
+
*/
|
|
15954
|
+
'applicable': boolean;
|
|
15955
|
+
/**
|
|
15956
|
+
* False while AI validation is pending
|
|
15957
|
+
* @type {boolean}
|
|
15958
|
+
* @memberof ResolvedPerkDto
|
|
15959
|
+
*/
|
|
15960
|
+
'resolved': boolean;
|
|
15961
|
+
/**
|
|
15962
|
+
*
|
|
15963
|
+
* @type {string}
|
|
15964
|
+
* @memberof ResolvedPerkDto
|
|
15965
|
+
*/
|
|
15966
|
+
'discountType': DiscountTypeEnum;
|
|
15967
|
+
/**
|
|
15968
|
+
*
|
|
15969
|
+
* @type {object}
|
|
15970
|
+
* @memberof ResolvedPerkDto
|
|
15971
|
+
*/
|
|
15972
|
+
'discountValue': object | null;
|
|
15973
|
+
/**
|
|
15974
|
+
*
|
|
15975
|
+
* @type {string}
|
|
15976
|
+
* @memberof ResolvedPerkDto
|
|
15977
|
+
*/
|
|
15978
|
+
'scope': ScopeEnum;
|
|
15979
|
+
/**
|
|
15980
|
+
*
|
|
15981
|
+
* @type {object}
|
|
15982
|
+
* @memberof ResolvedPerkDto
|
|
15983
|
+
*/
|
|
15984
|
+
'targetLineItemId': object | null;
|
|
15985
|
+
}
|
|
15986
|
+
|
|
15987
|
+
export const WalletStatusEnum = {
|
|
15988
|
+
Claimed: 'Claimed',
|
|
15989
|
+
Redeemed: 'Redeemed',
|
|
15990
|
+
Expired: 'Expired',
|
|
15991
|
+
Available: 'Available'
|
|
15992
|
+
} as const;
|
|
15993
|
+
|
|
15994
|
+
export type WalletStatusEnum = typeof WalletStatusEnum[keyof typeof WalletStatusEnum];
|
|
15995
|
+
export const DiscountTypeEnum = {
|
|
15996
|
+
Percentage: 'PERCENTAGE',
|
|
15997
|
+
Fixed: 'FIXED'
|
|
15998
|
+
} as const;
|
|
15999
|
+
|
|
16000
|
+
export type DiscountTypeEnum = typeof DiscountTypeEnum[keyof typeof DiscountTypeEnum];
|
|
16001
|
+
export const ScopeEnum = {
|
|
16002
|
+
Item: 'ITEM',
|
|
16003
|
+
Cart: 'CART'
|
|
16004
|
+
} as const;
|
|
16005
|
+
|
|
16006
|
+
export type ScopeEnum = typeof ScopeEnum[keyof typeof ScopeEnum];
|
|
16007
|
+
|
|
15742
16008
|
/**
|
|
15743
16009
|
*
|
|
15744
16010
|
* @export
|
|
@@ -19304,6 +19570,19 @@ export interface UserValidation {
|
|
|
19304
19570
|
*/
|
|
19305
19571
|
'phone': string;
|
|
19306
19572
|
}
|
|
19573
|
+
/**
|
|
19574
|
+
*
|
|
19575
|
+
* @export
|
|
19576
|
+
* @interface UserWalletResponseDto
|
|
19577
|
+
*/
|
|
19578
|
+
export interface UserWalletResponseDto {
|
|
19579
|
+
/**
|
|
19580
|
+
*
|
|
19581
|
+
* @type {Array<WalletItemDto>}
|
|
19582
|
+
* @memberof UserWalletResponseDto
|
|
19583
|
+
*/
|
|
19584
|
+
'data': Array<WalletItemDto>;
|
|
19585
|
+
}
|
|
19307
19586
|
/**
|
|
19308
19587
|
*
|
|
19309
19588
|
* @export
|
|
@@ -19484,12 +19763,6 @@ export interface VivaAppToAppInitResponseDto {
|
|
|
19484
19763
|
* @memberof VivaAppToAppInitResponseDto
|
|
19485
19764
|
*/
|
|
19486
19765
|
'ISV_clientSecret'?: string;
|
|
19487
|
-
/**
|
|
19488
|
-
* The ISV source code.
|
|
19489
|
-
* @type {number}
|
|
19490
|
-
* @memberof VivaAppToAppInitResponseDto
|
|
19491
|
-
*/
|
|
19492
|
-
'ISV_sourceCode'?: number;
|
|
19493
19766
|
/**
|
|
19494
19767
|
* The ISO numeric currency code required by Viva ISV mode.
|
|
19495
19768
|
* @type {number}
|
|
@@ -19503,17 +19776,17 @@ export interface VivaAppToAppInitResponseDto {
|
|
|
19503
19776
|
*/
|
|
19504
19777
|
'ISV_customerTrns'?: string;
|
|
19505
19778
|
/**
|
|
19506
|
-
* The ISV
|
|
19507
|
-
* @type {
|
|
19779
|
+
* The ISV client transaction ID if used separately from the app transaction ID.
|
|
19780
|
+
* @type {string}
|
|
19508
19781
|
* @memberof VivaAppToAppInitResponseDto
|
|
19509
19782
|
*/
|
|
19510
|
-
'
|
|
19783
|
+
'ISV_clientTransactionId'?: string;
|
|
19511
19784
|
/**
|
|
19512
|
-
*
|
|
19785
|
+
* Merchant-facing reference shown on the Viva receipt (e.g. KIOSK-1234).
|
|
19513
19786
|
* @type {string}
|
|
19514
19787
|
* @memberof VivaAppToAppInitResponseDto
|
|
19515
19788
|
*/
|
|
19516
|
-
'
|
|
19789
|
+
'merchantReference'?: string;
|
|
19517
19790
|
}
|
|
19518
19791
|
|
|
19519
19792
|
|
|
@@ -20860,6 +21133,37 @@ export const EventTypeIdEnum = {
|
|
|
20860
21133
|
|
|
20861
21134
|
export type EventTypeIdEnum = typeof EventTypeIdEnum[keyof typeof EventTypeIdEnum];
|
|
20862
21135
|
|
|
21136
|
+
/**
|
|
21137
|
+
*
|
|
21138
|
+
* @export
|
|
21139
|
+
* @interface WalletCatalogDto
|
|
21140
|
+
*/
|
|
21141
|
+
export interface WalletCatalogDto {
|
|
21142
|
+
/**
|
|
21143
|
+
*
|
|
21144
|
+
* @type {number}
|
|
21145
|
+
* @memberof WalletCatalogDto
|
|
21146
|
+
*/
|
|
21147
|
+
'id': number;
|
|
21148
|
+
/**
|
|
21149
|
+
*
|
|
21150
|
+
* @type {string}
|
|
21151
|
+
* @memberof WalletCatalogDto
|
|
21152
|
+
*/
|
|
21153
|
+
'name': string;
|
|
21154
|
+
/**
|
|
21155
|
+
*
|
|
21156
|
+
* @type {Array<string>}
|
|
21157
|
+
* @memberof WalletCatalogDto
|
|
21158
|
+
*/
|
|
21159
|
+
'description': Array<string>;
|
|
21160
|
+
/**
|
|
21161
|
+
*
|
|
21162
|
+
* @type {string}
|
|
21163
|
+
* @memberof WalletCatalogDto
|
|
21164
|
+
*/
|
|
21165
|
+
'type': string;
|
|
21166
|
+
}
|
|
20863
21167
|
/**
|
|
20864
21168
|
*
|
|
20865
21169
|
* @export
|
|
@@ -20927,6 +21231,45 @@ export interface WalletDto {
|
|
|
20927
21231
|
*/
|
|
20928
21232
|
'type': string;
|
|
20929
21233
|
}
|
|
21234
|
+
/**
|
|
21235
|
+
*
|
|
21236
|
+
* @export
|
|
21237
|
+
* @interface WalletItemDto
|
|
21238
|
+
*/
|
|
21239
|
+
export interface WalletItemDto {
|
|
21240
|
+
/**
|
|
21241
|
+
*
|
|
21242
|
+
* @type {number}
|
|
21243
|
+
* @memberof WalletItemDto
|
|
21244
|
+
*/
|
|
21245
|
+
'id': number;
|
|
21246
|
+
/**
|
|
21247
|
+
*
|
|
21248
|
+
* @type {string}
|
|
21249
|
+
* @memberof WalletItemDto
|
|
21250
|
+
*/
|
|
21251
|
+
'status': StatusEnum;
|
|
21252
|
+
/**
|
|
21253
|
+
*
|
|
21254
|
+
* @type {object}
|
|
21255
|
+
* @memberof WalletItemDto
|
|
21256
|
+
*/
|
|
21257
|
+
'expires_at': object | null;
|
|
21258
|
+
/**
|
|
21259
|
+
*
|
|
21260
|
+
* @type {WalletCatalogDto}
|
|
21261
|
+
* @memberof WalletItemDto
|
|
21262
|
+
*/
|
|
21263
|
+
'catalog': WalletCatalogDto;
|
|
21264
|
+
}
|
|
21265
|
+
|
|
21266
|
+
export const StatusEnum = {
|
|
21267
|
+
Claimed: 'Claimed',
|
|
21268
|
+
Redeemed: 'Redeemed'
|
|
21269
|
+
} as const;
|
|
21270
|
+
|
|
21271
|
+
export type StatusEnum = typeof StatusEnum[keyof typeof StatusEnum];
|
|
21272
|
+
|
|
20930
21273
|
/**
|
|
20931
21274
|
*
|
|
20932
21275
|
* @export
|
|
@@ -23495,11 +23838,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
23495
23838
|
/**
|
|
23496
23839
|
*
|
|
23497
23840
|
* @param {string} businessId
|
|
23498
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
23841
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
23499
23842
|
* @param {*} [options] Override http request option.
|
|
23500
23843
|
* @throws {RequiredError}
|
|
23501
23844
|
*/
|
|
23502
|
-
getBusinessMenuByType: async (businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23845
|
+
getBusinessMenuByType: async (businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23503
23846
|
// verify required parameter 'businessId' is not null or undefined
|
|
23504
23847
|
assertParamExists('getBusinessMenuByType', 'businessId', businessId)
|
|
23505
23848
|
// verify required parameter 'menuType' is not null or undefined
|
|
@@ -23537,11 +23880,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
23537
23880
|
*
|
|
23538
23881
|
* @summary Get business menu by type V2
|
|
23539
23882
|
* @param {string} businessId
|
|
23540
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
23883
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
23541
23884
|
* @param {*} [options] Override http request option.
|
|
23542
23885
|
* @throws {RequiredError}
|
|
23543
23886
|
*/
|
|
23544
|
-
getBusinessMenuByTypeV2: async (businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23887
|
+
getBusinessMenuByTypeV2: async (businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23545
23888
|
// verify required parameter 'businessId' is not null or undefined
|
|
23546
23889
|
assertParamExists('getBusinessMenuByTypeV2', 'businessId', businessId)
|
|
23547
23890
|
// verify required parameter 'menuType' is not null or undefined
|
|
@@ -23579,11 +23922,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
23579
23922
|
*
|
|
23580
23923
|
* @summary Get business menu by type V3
|
|
23581
23924
|
* @param {string} businessId
|
|
23582
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
23925
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
23583
23926
|
* @param {*} [options] Override http request option.
|
|
23584
23927
|
* @throws {RequiredError}
|
|
23585
23928
|
*/
|
|
23586
|
-
getBusinessMenuByTypeV3: async (businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23929
|
+
getBusinessMenuByTypeV3: async (businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23587
23930
|
// verify required parameter 'businessId' is not null or undefined
|
|
23588
23931
|
assertParamExists('getBusinessMenuByTypeV3', 'businessId', businessId)
|
|
23589
23932
|
// verify required parameter 'menuType' is not null or undefined
|
|
@@ -23621,11 +23964,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
23621
23964
|
*
|
|
23622
23965
|
* @summary Get business menu by type V4
|
|
23623
23966
|
* @param {string} businessId
|
|
23624
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
23967
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
23625
23968
|
* @param {*} [options] Override http request option.
|
|
23626
23969
|
* @throws {RequiredError}
|
|
23627
23970
|
*/
|
|
23628
|
-
getBusinessMenuByTypeV4: async (businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23971
|
+
getBusinessMenuByTypeV4: async (businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23629
23972
|
// verify required parameter 'businessId' is not null or undefined
|
|
23630
23973
|
assertParamExists('getBusinessMenuByTypeV4', 'businessId', businessId)
|
|
23631
23974
|
// verify required parameter 'menuType' is not null or undefined
|
|
@@ -24215,11 +24558,11 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
24215
24558
|
/**
|
|
24216
24559
|
*
|
|
24217
24560
|
* @param {string} businessId
|
|
24218
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
24561
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
24219
24562
|
* @param {*} [options] Override http request option.
|
|
24220
24563
|
* @throws {RequiredError}
|
|
24221
24564
|
*/
|
|
24222
|
-
async getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>> {
|
|
24565
|
+
async getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>> {
|
|
24223
24566
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getBusinessMenuByType(businessId, menuType, options);
|
|
24224
24567
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24225
24568
|
},
|
|
@@ -24227,11 +24570,11 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
24227
24570
|
*
|
|
24228
24571
|
* @summary Get business menu by type V2
|
|
24229
24572
|
* @param {string} businessId
|
|
24230
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
24573
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
24231
24574
|
* @param {*} [options] Override http request option.
|
|
24232
24575
|
* @throws {RequiredError}
|
|
24233
24576
|
*/
|
|
24234
|
-
async getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>> {
|
|
24577
|
+
async getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>> {
|
|
24235
24578
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getBusinessMenuByTypeV2(businessId, menuType, options);
|
|
24236
24579
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24237
24580
|
},
|
|
@@ -24239,11 +24582,11 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
24239
24582
|
*
|
|
24240
24583
|
* @summary Get business menu by type V3
|
|
24241
24584
|
* @param {string} businessId
|
|
24242
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
24585
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
24243
24586
|
* @param {*} [options] Override http request option.
|
|
24244
24587
|
* @throws {RequiredError}
|
|
24245
24588
|
*/
|
|
24246
|
-
async getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>> {
|
|
24589
|
+
async getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>> {
|
|
24247
24590
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getBusinessMenuByTypeV3(businessId, menuType, options);
|
|
24248
24591
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24249
24592
|
},
|
|
@@ -24251,11 +24594,11 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
24251
24594
|
*
|
|
24252
24595
|
* @summary Get business menu by type V4
|
|
24253
24596
|
* @param {string} businessId
|
|
24254
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
24597
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
24255
24598
|
* @param {*} [options] Override http request option.
|
|
24256
24599
|
* @throws {RequiredError}
|
|
24257
24600
|
*/
|
|
24258
|
-
async getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>> {
|
|
24601
|
+
async getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>> {
|
|
24259
24602
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getBusinessMenuByTypeV4(businessId, menuType, options);
|
|
24260
24603
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24261
24604
|
},
|
|
@@ -24505,44 +24848,44 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
24505
24848
|
/**
|
|
24506
24849
|
*
|
|
24507
24850
|
* @param {string} businessId
|
|
24508
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
24851
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
24509
24852
|
* @param {*} [options] Override http request option.
|
|
24510
24853
|
* @throws {RequiredError}
|
|
24511
24854
|
*/
|
|
24512
|
-
getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: any): AxiosPromise<Array<MenuDto>> {
|
|
24855
|
+
getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: any): AxiosPromise<Array<MenuDto>> {
|
|
24513
24856
|
return localVarFp.getBusinessMenuByType(businessId, menuType, options).then((request) => request(axios, basePath));
|
|
24514
24857
|
},
|
|
24515
24858
|
/**
|
|
24516
24859
|
*
|
|
24517
24860
|
* @summary Get business menu by type V2
|
|
24518
24861
|
* @param {string} businessId
|
|
24519
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
24862
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
24520
24863
|
* @param {*} [options] Override http request option.
|
|
24521
24864
|
* @throws {RequiredError}
|
|
24522
24865
|
*/
|
|
24523
|
-
getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: any): AxiosPromise<Array<MenuDto>> {
|
|
24866
|
+
getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: any): AxiosPromise<Array<MenuDto>> {
|
|
24524
24867
|
return localVarFp.getBusinessMenuByTypeV2(businessId, menuType, options).then((request) => request(axios, basePath));
|
|
24525
24868
|
},
|
|
24526
24869
|
/**
|
|
24527
24870
|
*
|
|
24528
24871
|
* @summary Get business menu by type V3
|
|
24529
24872
|
* @param {string} businessId
|
|
24530
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
24873
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
24531
24874
|
* @param {*} [options] Override http request option.
|
|
24532
24875
|
* @throws {RequiredError}
|
|
24533
24876
|
*/
|
|
24534
|
-
getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: any): AxiosPromise<MenuReponseDto> {
|
|
24877
|
+
getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: any): AxiosPromise<MenuReponseDto> {
|
|
24535
24878
|
return localVarFp.getBusinessMenuByTypeV3(businessId, menuType, options).then((request) => request(axios, basePath));
|
|
24536
24879
|
},
|
|
24537
24880
|
/**
|
|
24538
24881
|
*
|
|
24539
24882
|
* @summary Get business menu by type V4
|
|
24540
24883
|
* @param {string} businessId
|
|
24541
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
24884
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
24542
24885
|
* @param {*} [options] Override http request option.
|
|
24543
24886
|
* @throws {RequiredError}
|
|
24544
24887
|
*/
|
|
24545
|
-
getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: any): AxiosPromise<MenuReponseDto> {
|
|
24888
|
+
getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: any): AxiosPromise<MenuReponseDto> {
|
|
24546
24889
|
return localVarFp.getBusinessMenuByTypeV4(businessId, menuType, options).then((request) => request(axios, basePath));
|
|
24547
24890
|
},
|
|
24548
24891
|
/**
|
|
@@ -24780,45 +25123,45 @@ export interface BusinessApiInterface {
|
|
|
24780
25123
|
/**
|
|
24781
25124
|
*
|
|
24782
25125
|
* @param {string} businessId
|
|
24783
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
25126
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
24784
25127
|
* @param {*} [options] Override http request option.
|
|
24785
25128
|
* @throws {RequiredError}
|
|
24786
25129
|
* @memberof BusinessApiInterface
|
|
24787
25130
|
*/
|
|
24788
|
-
getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
|
|
25131
|
+
getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
|
|
24789
25132
|
|
|
24790
25133
|
/**
|
|
24791
25134
|
*
|
|
24792
25135
|
* @summary Get business menu by type V2
|
|
24793
25136
|
* @param {string} businessId
|
|
24794
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
25137
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
24795
25138
|
* @param {*} [options] Override http request option.
|
|
24796
25139
|
* @throws {RequiredError}
|
|
24797
25140
|
* @memberof BusinessApiInterface
|
|
24798
25141
|
*/
|
|
24799
|
-
getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
|
|
25142
|
+
getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
|
|
24800
25143
|
|
|
24801
25144
|
/**
|
|
24802
25145
|
*
|
|
24803
25146
|
* @summary Get business menu by type V3
|
|
24804
25147
|
* @param {string} businessId
|
|
24805
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
25148
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
24806
25149
|
* @param {*} [options] Override http request option.
|
|
24807
25150
|
* @throws {RequiredError}
|
|
24808
25151
|
* @memberof BusinessApiInterface
|
|
24809
25152
|
*/
|
|
24810
|
-
getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
|
|
25153
|
+
getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
|
|
24811
25154
|
|
|
24812
25155
|
/**
|
|
24813
25156
|
*
|
|
24814
25157
|
* @summary Get business menu by type V4
|
|
24815
25158
|
* @param {string} businessId
|
|
24816
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
25159
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
24817
25160
|
* @param {*} [options] Override http request option.
|
|
24818
25161
|
* @throws {RequiredError}
|
|
24819
25162
|
* @memberof BusinessApiInterface
|
|
24820
25163
|
*/
|
|
24821
|
-
getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
|
|
25164
|
+
getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
|
|
24822
25165
|
|
|
24823
25166
|
/**
|
|
24824
25167
|
*
|
|
@@ -25079,12 +25422,12 @@ export class BusinessApi extends BaseAPI implements BusinessApiInterface {
|
|
|
25079
25422
|
/**
|
|
25080
25423
|
*
|
|
25081
25424
|
* @param {string} businessId
|
|
25082
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
25425
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
25083
25426
|
* @param {*} [options] Override http request option.
|
|
25084
25427
|
* @throws {RequiredError}
|
|
25085
25428
|
* @memberof BusinessApi
|
|
25086
25429
|
*/
|
|
25087
|
-
public getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig) {
|
|
25430
|
+
public getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: AxiosRequestConfig) {
|
|
25088
25431
|
return BusinessApiFp(this.configuration).getBusinessMenuByType(businessId, menuType, options).then((request) => request(this.axios, this.basePath));
|
|
25089
25432
|
}
|
|
25090
25433
|
|
|
@@ -25092,12 +25435,12 @@ export class BusinessApi extends BaseAPI implements BusinessApiInterface {
|
|
|
25092
25435
|
*
|
|
25093
25436
|
* @summary Get business menu by type V2
|
|
25094
25437
|
* @param {string} businessId
|
|
25095
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
25438
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
25096
25439
|
* @param {*} [options] Override http request option.
|
|
25097
25440
|
* @throws {RequiredError}
|
|
25098
25441
|
* @memberof BusinessApi
|
|
25099
25442
|
*/
|
|
25100
|
-
public getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig) {
|
|
25443
|
+
public getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: AxiosRequestConfig) {
|
|
25101
25444
|
return BusinessApiFp(this.configuration).getBusinessMenuByTypeV2(businessId, menuType, options).then((request) => request(this.axios, this.basePath));
|
|
25102
25445
|
}
|
|
25103
25446
|
|
|
@@ -25105,12 +25448,12 @@ export class BusinessApi extends BaseAPI implements BusinessApiInterface {
|
|
|
25105
25448
|
*
|
|
25106
25449
|
* @summary Get business menu by type V3
|
|
25107
25450
|
* @param {string} businessId
|
|
25108
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
25451
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
25109
25452
|
* @param {*} [options] Override http request option.
|
|
25110
25453
|
* @throws {RequiredError}
|
|
25111
25454
|
* @memberof BusinessApi
|
|
25112
25455
|
*/
|
|
25113
|
-
public getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig) {
|
|
25456
|
+
public getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: AxiosRequestConfig) {
|
|
25114
25457
|
return BusinessApiFp(this.configuration).getBusinessMenuByTypeV3(businessId, menuType, options).then((request) => request(this.axios, this.basePath));
|
|
25115
25458
|
}
|
|
25116
25459
|
|
|
@@ -25118,12 +25461,12 @@ export class BusinessApi extends BaseAPI implements BusinessApiInterface {
|
|
|
25118
25461
|
*
|
|
25119
25462
|
* @summary Get business menu by type V4
|
|
25120
25463
|
* @param {string} businessId
|
|
25121
|
-
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
25464
|
+
* @param {'pos' | 'kiosk' | 'ayce' | 'storefront'} menuType Type of menu (e.g., pos)
|
|
25122
25465
|
* @param {*} [options] Override http request option.
|
|
25123
25466
|
* @throws {RequiredError}
|
|
25124
25467
|
* @memberof BusinessApi
|
|
25125
25468
|
*/
|
|
25126
|
-
public getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig) {
|
|
25469
|
+
public getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce' | 'storefront', options?: AxiosRequestConfig) {
|
|
25127
25470
|
return BusinessApiFp(this.configuration).getBusinessMenuByTypeV4(businessId, menuType, options).then((request) => request(this.axios, this.basePath));
|
|
25128
25471
|
}
|
|
25129
25472
|
|
|
@@ -25978,12 +26321,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
25978
26321
|
*
|
|
25979
26322
|
* @summary Enable or disable first-party Munchi GiftCard integration
|
|
25980
26323
|
* @param {number} businessId
|
|
25981
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26324
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
25982
26325
|
* @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
|
|
25983
26326
|
* @param {*} [options] Override http request option.
|
|
25984
26327
|
* @throws {RequiredError}
|
|
25985
26328
|
*/
|
|
25986
|
-
configConfigureMunchiGiftCard: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26329
|
+
configConfigureMunchiGiftCard: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25987
26330
|
// verify required parameter 'businessId' is not null or undefined
|
|
25988
26331
|
assertParamExists('configConfigureMunchiGiftCard', 'businessId', businessId)
|
|
25989
26332
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -26074,11 +26417,11 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
26074
26417
|
* @summary Remove payment option
|
|
26075
26418
|
* @param {number} businessId
|
|
26076
26419
|
* @param {string} id
|
|
26077
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26420
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26078
26421
|
* @param {*} [options] Override http request option.
|
|
26079
26422
|
* @throws {RequiredError}
|
|
26080
26423
|
*/
|
|
26081
|
-
configRemovePaymentOption: async (businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26424
|
+
configRemovePaymentOption: async (businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26082
26425
|
// verify required parameter 'businessId' is not null or undefined
|
|
26083
26426
|
assertParamExists('configRemovePaymentOption', 'businessId', businessId)
|
|
26084
26427
|
// verify required parameter 'id' is not null or undefined
|
|
@@ -26166,12 +26509,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
26166
26509
|
*
|
|
26167
26510
|
* @summary Upsert channel config
|
|
26168
26511
|
* @param {number} businessId
|
|
26169
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26512
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26170
26513
|
* @param {UpsertConfigDto} upsertConfigDto
|
|
26171
26514
|
* @param {*} [options] Override http request option.
|
|
26172
26515
|
* @throws {RequiredError}
|
|
26173
26516
|
*/
|
|
26174
|
-
configUpsertChannelConfig: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertConfigDto: UpsertConfigDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26517
|
+
configUpsertChannelConfig: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertConfigDto: UpsertConfigDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26175
26518
|
// verify required parameter 'businessId' is not null or undefined
|
|
26176
26519
|
assertParamExists('configUpsertChannelConfig', 'businessId', businessId)
|
|
26177
26520
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -26217,12 +26560,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
26217
26560
|
*
|
|
26218
26561
|
* @summary Upsert GiftCard integration
|
|
26219
26562
|
* @param {number} businessId
|
|
26220
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26563
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26221
26564
|
* @param {UpsertGiftCardDto} upsertGiftCardDto
|
|
26222
26565
|
* @param {*} [options] Override http request option.
|
|
26223
26566
|
* @throws {RequiredError}
|
|
26224
26567
|
*/
|
|
26225
|
-
configUpsertGiftCard: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertGiftCardDto: UpsertGiftCardDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26568
|
+
configUpsertGiftCard: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertGiftCardDto: UpsertGiftCardDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26226
26569
|
// verify required parameter 'businessId' is not null or undefined
|
|
26227
26570
|
assertParamExists('configUpsertGiftCard', 'businessId', businessId)
|
|
26228
26571
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -26312,12 +26655,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
26312
26655
|
*
|
|
26313
26656
|
* @summary Upsert Nets payment config
|
|
26314
26657
|
* @param {number} businessId
|
|
26315
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26658
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26316
26659
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
26317
26660
|
* @param {*} [options] Override http request option.
|
|
26318
26661
|
* @throws {RequiredError}
|
|
26319
26662
|
*/
|
|
26320
|
-
configUpsertNets: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertNetsDto: UpsertNetsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26663
|
+
configUpsertNets: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertNetsDto: UpsertNetsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26321
26664
|
// verify required parameter 'businessId' is not null or undefined
|
|
26322
26665
|
assertParamExists('configUpsertNets', 'businessId', businessId)
|
|
26323
26666
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -26363,12 +26706,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
26363
26706
|
*
|
|
26364
26707
|
* @summary Upsert payment options
|
|
26365
26708
|
* @param {number} businessId
|
|
26366
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26709
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26367
26710
|
* @param {UpsertPaymentOptionsDto} upsertPaymentOptionsDto
|
|
26368
26711
|
* @param {*} [options] Override http request option.
|
|
26369
26712
|
* @throws {RequiredError}
|
|
26370
26713
|
*/
|
|
26371
|
-
configUpsertPaymentOptions: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26714
|
+
configUpsertPaymentOptions: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26372
26715
|
// verify required parameter 'businessId' is not null or undefined
|
|
26373
26716
|
assertParamExists('configUpsertPaymentOptions', 'businessId', businessId)
|
|
26374
26717
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -26414,12 +26757,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
26414
26757
|
*
|
|
26415
26758
|
* @summary Upsert Stripe payment config
|
|
26416
26759
|
* @param {number} businessId
|
|
26417
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26760
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26418
26761
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
26419
26762
|
* @param {*} [options] Override http request option.
|
|
26420
26763
|
* @throws {RequiredError}
|
|
26421
26764
|
*/
|
|
26422
|
-
configUpsertStripe: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertStripeDto: UpsertStripeDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26765
|
+
configUpsertStripe: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertStripeDto: UpsertStripeDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26423
26766
|
// verify required parameter 'businessId' is not null or undefined
|
|
26424
26767
|
assertParamExists('configUpsertStripe', 'businessId', businessId)
|
|
26425
26768
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -26465,12 +26808,12 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
26465
26808
|
*
|
|
26466
26809
|
* @summary Upsert Viva payment config
|
|
26467
26810
|
* @param {number} businessId
|
|
26468
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26811
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26469
26812
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
26470
26813
|
* @param {*} [options] Override http request option.
|
|
26471
26814
|
* @throws {RequiredError}
|
|
26472
26815
|
*/
|
|
26473
|
-
configUpsertViva: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertVivaDto: UpsertVivaDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26816
|
+
configUpsertViva: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertVivaDto: UpsertVivaDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26474
26817
|
// verify required parameter 'businessId' is not null or undefined
|
|
26475
26818
|
assertParamExists('configUpsertViva', 'businessId', businessId)
|
|
26476
26819
|
// verify required parameter 'xAppX' is not null or undefined
|
|
@@ -26526,12 +26869,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
26526
26869
|
*
|
|
26527
26870
|
* @summary Enable or disable first-party Munchi GiftCard integration
|
|
26528
26871
|
* @param {number} businessId
|
|
26529
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26872
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26530
26873
|
* @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
|
|
26531
26874
|
* @param {*} [options] Override http request option.
|
|
26532
26875
|
* @throws {RequiredError}
|
|
26533
26876
|
*/
|
|
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>> {
|
|
26877
|
+
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
26878
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configConfigureMunchiGiftCard(businessId, xAppX, configureMunchiGiftCardDto, options);
|
|
26536
26879
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26537
26880
|
},
|
|
@@ -26552,11 +26895,11 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
26552
26895
|
* @summary Remove payment option
|
|
26553
26896
|
* @param {number} businessId
|
|
26554
26897
|
* @param {string} id
|
|
26555
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26898
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26556
26899
|
* @param {*} [options] Override http request option.
|
|
26557
26900
|
* @throws {RequiredError}
|
|
26558
26901
|
*/
|
|
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>> {
|
|
26902
|
+
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
26903
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configRemovePaymentOption(businessId, id, xAppX, options);
|
|
26561
26904
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26562
26905
|
},
|
|
@@ -26576,12 +26919,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
26576
26919
|
*
|
|
26577
26920
|
* @summary Upsert channel config
|
|
26578
26921
|
* @param {number} businessId
|
|
26579
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26922
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26580
26923
|
* @param {UpsertConfigDto} upsertConfigDto
|
|
26581
26924
|
* @param {*} [options] Override http request option.
|
|
26582
26925
|
* @throws {RequiredError}
|
|
26583
26926
|
*/
|
|
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>> {
|
|
26927
|
+
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
26928
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertChannelConfig(businessId, xAppX, upsertConfigDto, options);
|
|
26586
26929
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26587
26930
|
},
|
|
@@ -26589,12 +26932,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
26589
26932
|
*
|
|
26590
26933
|
* @summary Upsert GiftCard integration
|
|
26591
26934
|
* @param {number} businessId
|
|
26592
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26935
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26593
26936
|
* @param {UpsertGiftCardDto} upsertGiftCardDto
|
|
26594
26937
|
* @param {*} [options] Override http request option.
|
|
26595
26938
|
* @throws {RequiredError}
|
|
26596
26939
|
*/
|
|
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>> {
|
|
26940
|
+
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
26941
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertGiftCard(businessId, xAppX, upsertGiftCardDto, options);
|
|
26599
26942
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26600
26943
|
},
|
|
@@ -26614,12 +26957,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
26614
26957
|
*
|
|
26615
26958
|
* @summary Upsert Nets payment config
|
|
26616
26959
|
* @param {number} businessId
|
|
26617
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26960
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26618
26961
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
26619
26962
|
* @param {*} [options] Override http request option.
|
|
26620
26963
|
* @throws {RequiredError}
|
|
26621
26964
|
*/
|
|
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>> {
|
|
26965
|
+
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
26966
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertNets(businessId, xAppX, upsertNetsDto, options);
|
|
26624
26967
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26625
26968
|
},
|
|
@@ -26627,12 +26970,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
26627
26970
|
*
|
|
26628
26971
|
* @summary Upsert payment options
|
|
26629
26972
|
* @param {number} businessId
|
|
26630
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26973
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26631
26974
|
* @param {UpsertPaymentOptionsDto} upsertPaymentOptionsDto
|
|
26632
26975
|
* @param {*} [options] Override http request option.
|
|
26633
26976
|
* @throws {RequiredError}
|
|
26634
26977
|
*/
|
|
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>> {
|
|
26978
|
+
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
26979
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertPaymentOptions(businessId, xAppX, upsertPaymentOptionsDto, options);
|
|
26637
26980
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26638
26981
|
},
|
|
@@ -26640,12 +26983,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
26640
26983
|
*
|
|
26641
26984
|
* @summary Upsert Stripe payment config
|
|
26642
26985
|
* @param {number} businessId
|
|
26643
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26986
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26644
26987
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
26645
26988
|
* @param {*} [options] Override http request option.
|
|
26646
26989
|
* @throws {RequiredError}
|
|
26647
26990
|
*/
|
|
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>> {
|
|
26991
|
+
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
26992
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertStripe(businessId, xAppX, upsertStripeDto, options);
|
|
26650
26993
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26651
26994
|
},
|
|
@@ -26653,12 +26996,12 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
26653
26996
|
*
|
|
26654
26997
|
* @summary Upsert Viva payment config
|
|
26655
26998
|
* @param {number} businessId
|
|
26656
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
26999
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26657
27000
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
26658
27001
|
* @param {*} [options] Override http request option.
|
|
26659
27002
|
* @throws {RequiredError}
|
|
26660
27003
|
*/
|
|
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>> {
|
|
27004
|
+
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
27005
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertViva(businessId, xAppX, upsertVivaDto, options);
|
|
26663
27006
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26664
27007
|
},
|
|
@@ -26676,12 +27019,12 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
|
|
|
26676
27019
|
*
|
|
26677
27020
|
* @summary Enable or disable first-party Munchi GiftCard integration
|
|
26678
27021
|
* @param {number} businessId
|
|
26679
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27022
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26680
27023
|
* @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
|
|
26681
27024
|
* @param {*} [options] Override http request option.
|
|
26682
27025
|
* @throws {RequiredError}
|
|
26683
27026
|
*/
|
|
26684
|
-
configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
27027
|
+
configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
26685
27028
|
return localVarFp.configConfigureMunchiGiftCard(businessId, xAppX, configureMunchiGiftCardDto, options).then((request) => request(axios, basePath));
|
|
26686
27029
|
},
|
|
26687
27030
|
/**
|
|
@@ -26700,11 +27043,11 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
|
|
|
26700
27043
|
* @summary Remove payment option
|
|
26701
27044
|
* @param {number} businessId
|
|
26702
27045
|
* @param {string} id
|
|
26703
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27046
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26704
27047
|
* @param {*} [options] Override http request option.
|
|
26705
27048
|
* @throws {RequiredError}
|
|
26706
27049
|
*/
|
|
26707
|
-
configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
27050
|
+
configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
26708
27051
|
return localVarFp.configRemovePaymentOption(businessId, id, xAppX, options).then((request) => request(axios, basePath));
|
|
26709
27052
|
},
|
|
26710
27053
|
/**
|
|
@@ -26722,24 +27065,24 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
|
|
|
26722
27065
|
*
|
|
26723
27066
|
* @summary Upsert channel config
|
|
26724
27067
|
* @param {number} businessId
|
|
26725
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27068
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26726
27069
|
* @param {UpsertConfigDto} upsertConfigDto
|
|
26727
27070
|
* @param {*} [options] Override http request option.
|
|
26728
27071
|
* @throws {RequiredError}
|
|
26729
27072
|
*/
|
|
26730
|
-
configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertConfigDto: UpsertConfigDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
27073
|
+
configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertConfigDto: UpsertConfigDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
26731
27074
|
return localVarFp.configUpsertChannelConfig(businessId, xAppX, upsertConfigDto, options).then((request) => request(axios, basePath));
|
|
26732
27075
|
},
|
|
26733
27076
|
/**
|
|
26734
27077
|
*
|
|
26735
27078
|
* @summary Upsert GiftCard integration
|
|
26736
27079
|
* @param {number} businessId
|
|
26737
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27080
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26738
27081
|
* @param {UpsertGiftCardDto} upsertGiftCardDto
|
|
26739
27082
|
* @param {*} [options] Override http request option.
|
|
26740
27083
|
* @throws {RequiredError}
|
|
26741
27084
|
*/
|
|
26742
|
-
configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertGiftCardDto: UpsertGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
27085
|
+
configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertGiftCardDto: UpsertGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
26743
27086
|
return localVarFp.configUpsertGiftCard(businessId, xAppX, upsertGiftCardDto, options).then((request) => request(axios, basePath));
|
|
26744
27087
|
},
|
|
26745
27088
|
/**
|
|
@@ -26757,48 +27100,48 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
|
|
|
26757
27100
|
*
|
|
26758
27101
|
* @summary Upsert Nets payment config
|
|
26759
27102
|
* @param {number} businessId
|
|
26760
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27103
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26761
27104
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
26762
27105
|
* @param {*} [options] Override http request option.
|
|
26763
27106
|
* @throws {RequiredError}
|
|
26764
27107
|
*/
|
|
26765
|
-
configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertNetsDto: UpsertNetsDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
27108
|
+
configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertNetsDto: UpsertNetsDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
26766
27109
|
return localVarFp.configUpsertNets(businessId, xAppX, upsertNetsDto, options).then((request) => request(axios, basePath));
|
|
26767
27110
|
},
|
|
26768
27111
|
/**
|
|
26769
27112
|
*
|
|
26770
27113
|
* @summary Upsert payment options
|
|
26771
27114
|
* @param {number} businessId
|
|
26772
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27115
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26773
27116
|
* @param {UpsertPaymentOptionsDto} upsertPaymentOptionsDto
|
|
26774
27117
|
* @param {*} [options] Override http request option.
|
|
26775
27118
|
* @throws {RequiredError}
|
|
26776
27119
|
*/
|
|
26777
|
-
configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
27120
|
+
configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
26778
27121
|
return localVarFp.configUpsertPaymentOptions(businessId, xAppX, upsertPaymentOptionsDto, options).then((request) => request(axios, basePath));
|
|
26779
27122
|
},
|
|
26780
27123
|
/**
|
|
26781
27124
|
*
|
|
26782
27125
|
* @summary Upsert Stripe payment config
|
|
26783
27126
|
* @param {number} businessId
|
|
26784
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27127
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26785
27128
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
26786
27129
|
* @param {*} [options] Override http request option.
|
|
26787
27130
|
* @throws {RequiredError}
|
|
26788
27131
|
*/
|
|
26789
|
-
configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertStripeDto: UpsertStripeDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
27132
|
+
configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertStripeDto: UpsertStripeDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
26790
27133
|
return localVarFp.configUpsertStripe(businessId, xAppX, upsertStripeDto, options).then((request) => request(axios, basePath));
|
|
26791
27134
|
},
|
|
26792
27135
|
/**
|
|
26793
27136
|
*
|
|
26794
27137
|
* @summary Upsert Viva payment config
|
|
26795
27138
|
* @param {number} businessId
|
|
26796
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27139
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26797
27140
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
26798
27141
|
* @param {*} [options] Override http request option.
|
|
26799
27142
|
* @throws {RequiredError}
|
|
26800
27143
|
*/
|
|
26801
|
-
configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertVivaDto: UpsertVivaDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
27144
|
+
configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertVivaDto: UpsertVivaDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
26802
27145
|
return localVarFp.configUpsertViva(businessId, xAppX, upsertVivaDto, options).then((request) => request(axios, basePath));
|
|
26803
27146
|
},
|
|
26804
27147
|
};
|
|
@@ -26814,13 +27157,13 @@ export interface ConfigManagementApiInterface {
|
|
|
26814
27157
|
*
|
|
26815
27158
|
* @summary Enable or disable first-party Munchi GiftCard integration
|
|
26816
27159
|
* @param {number} businessId
|
|
26817
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27160
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26818
27161
|
* @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
|
|
26819
27162
|
* @param {*} [options] Override http request option.
|
|
26820
27163
|
* @throws {RequiredError}
|
|
26821
27164
|
* @memberof ConfigManagementApiInterface
|
|
26822
27165
|
*/
|
|
26823
|
-
configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
27166
|
+
configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
26824
27167
|
|
|
26825
27168
|
/**
|
|
26826
27169
|
*
|
|
@@ -26838,12 +27181,12 @@ export interface ConfigManagementApiInterface {
|
|
|
26838
27181
|
* @summary Remove payment option
|
|
26839
27182
|
* @param {number} businessId
|
|
26840
27183
|
* @param {string} id
|
|
26841
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27184
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26842
27185
|
* @param {*} [options] Override http request option.
|
|
26843
27186
|
* @throws {RequiredError}
|
|
26844
27187
|
* @memberof ConfigManagementApiInterface
|
|
26845
27188
|
*/
|
|
26846
|
-
configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
27189
|
+
configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
26847
27190
|
|
|
26848
27191
|
/**
|
|
26849
27192
|
*
|
|
@@ -26860,25 +27203,25 @@ export interface ConfigManagementApiInterface {
|
|
|
26860
27203
|
*
|
|
26861
27204
|
* @summary Upsert channel config
|
|
26862
27205
|
* @param {number} businessId
|
|
26863
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27206
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26864
27207
|
* @param {UpsertConfigDto} upsertConfigDto
|
|
26865
27208
|
* @param {*} [options] Override http request option.
|
|
26866
27209
|
* @throws {RequiredError}
|
|
26867
27210
|
* @memberof ConfigManagementApiInterface
|
|
26868
27211
|
*/
|
|
26869
|
-
configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
27212
|
+
configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
26870
27213
|
|
|
26871
27214
|
/**
|
|
26872
27215
|
*
|
|
26873
27216
|
* @summary Upsert GiftCard integration
|
|
26874
27217
|
* @param {number} businessId
|
|
26875
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27218
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26876
27219
|
* @param {UpsertGiftCardDto} upsertGiftCardDto
|
|
26877
27220
|
* @param {*} [options] Override http request option.
|
|
26878
27221
|
* @throws {RequiredError}
|
|
26879
27222
|
* @memberof ConfigManagementApiInterface
|
|
26880
27223
|
*/
|
|
26881
|
-
configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
27224
|
+
configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
26882
27225
|
|
|
26883
27226
|
/**
|
|
26884
27227
|
*
|
|
@@ -26895,49 +27238,49 @@ export interface ConfigManagementApiInterface {
|
|
|
26895
27238
|
*
|
|
26896
27239
|
* @summary Upsert Nets payment config
|
|
26897
27240
|
* @param {number} businessId
|
|
26898
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27241
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26899
27242
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
26900
27243
|
* @param {*} [options] Override http request option.
|
|
26901
27244
|
* @throws {RequiredError}
|
|
26902
27245
|
* @memberof ConfigManagementApiInterface
|
|
26903
27246
|
*/
|
|
26904
|
-
configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
27247
|
+
configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
26905
27248
|
|
|
26906
27249
|
/**
|
|
26907
27250
|
*
|
|
26908
27251
|
* @summary Upsert payment options
|
|
26909
27252
|
* @param {number} businessId
|
|
26910
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27253
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26911
27254
|
* @param {UpsertPaymentOptionsDto} upsertPaymentOptionsDto
|
|
26912
27255
|
* @param {*} [options] Override http request option.
|
|
26913
27256
|
* @throws {RequiredError}
|
|
26914
27257
|
* @memberof ConfigManagementApiInterface
|
|
26915
27258
|
*/
|
|
26916
|
-
configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
27259
|
+
configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
26917
27260
|
|
|
26918
27261
|
/**
|
|
26919
27262
|
*
|
|
26920
27263
|
* @summary Upsert Stripe payment config
|
|
26921
27264
|
* @param {number} businessId
|
|
26922
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27265
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26923
27266
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
26924
27267
|
* @param {*} [options] Override http request option.
|
|
26925
27268
|
* @throws {RequiredError}
|
|
26926
27269
|
* @memberof ConfigManagementApiInterface
|
|
26927
27270
|
*/
|
|
26928
|
-
configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
27271
|
+
configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
26929
27272
|
|
|
26930
27273
|
/**
|
|
26931
27274
|
*
|
|
26932
27275
|
* @summary Upsert Viva payment config
|
|
26933
27276
|
* @param {number} businessId
|
|
26934
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27277
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26935
27278
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
26936
27279
|
* @param {*} [options] Override http request option.
|
|
26937
27280
|
* @throws {RequiredError}
|
|
26938
27281
|
* @memberof ConfigManagementApiInterface
|
|
26939
27282
|
*/
|
|
26940
|
-
configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
27283
|
+
configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
26941
27284
|
|
|
26942
27285
|
}
|
|
26943
27286
|
|
|
@@ -26952,13 +27295,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
26952
27295
|
*
|
|
26953
27296
|
* @summary Enable or disable first-party Munchi GiftCard integration
|
|
26954
27297
|
* @param {number} businessId
|
|
26955
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27298
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26956
27299
|
* @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
|
|
26957
27300
|
* @param {*} [options] Override http request option.
|
|
26958
27301
|
* @throws {RequiredError}
|
|
26959
27302
|
* @memberof ConfigManagementApi
|
|
26960
27303
|
*/
|
|
26961
|
-
public configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig) {
|
|
27304
|
+
public configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig) {
|
|
26962
27305
|
return ConfigManagementApiFp(this.configuration).configConfigureMunchiGiftCard(businessId, xAppX, configureMunchiGiftCardDto, options).then((request) => request(this.axios, this.basePath));
|
|
26963
27306
|
}
|
|
26964
27307
|
|
|
@@ -26980,12 +27323,12 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
26980
27323
|
* @summary Remove payment option
|
|
26981
27324
|
* @param {number} businessId
|
|
26982
27325
|
* @param {string} id
|
|
26983
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27326
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26984
27327
|
* @param {*} [options] Override http request option.
|
|
26985
27328
|
* @throws {RequiredError}
|
|
26986
27329
|
* @memberof ConfigManagementApi
|
|
26987
27330
|
*/
|
|
26988
|
-
public configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', options?: AxiosRequestConfig) {
|
|
27331
|
+
public configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: AxiosRequestConfig) {
|
|
26989
27332
|
return ConfigManagementApiFp(this.configuration).configRemovePaymentOption(businessId, id, xAppX, options).then((request) => request(this.axios, this.basePath));
|
|
26990
27333
|
}
|
|
26991
27334
|
|
|
@@ -27006,13 +27349,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
27006
27349
|
*
|
|
27007
27350
|
* @summary Upsert channel config
|
|
27008
27351
|
* @param {number} businessId
|
|
27009
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27352
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
27010
27353
|
* @param {UpsertConfigDto} upsertConfigDto
|
|
27011
27354
|
* @param {*} [options] Override http request option.
|
|
27012
27355
|
* @throws {RequiredError}
|
|
27013
27356
|
* @memberof ConfigManagementApi
|
|
27014
27357
|
*/
|
|
27015
|
-
public configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig) {
|
|
27358
|
+
public configUpsertChannelConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertConfigDto: UpsertConfigDto, options?: AxiosRequestConfig) {
|
|
27016
27359
|
return ConfigManagementApiFp(this.configuration).configUpsertChannelConfig(businessId, xAppX, upsertConfigDto, options).then((request) => request(this.axios, this.basePath));
|
|
27017
27360
|
}
|
|
27018
27361
|
|
|
@@ -27020,13 +27363,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
27020
27363
|
*
|
|
27021
27364
|
* @summary Upsert GiftCard integration
|
|
27022
27365
|
* @param {number} businessId
|
|
27023
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27366
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
27024
27367
|
* @param {UpsertGiftCardDto} upsertGiftCardDto
|
|
27025
27368
|
* @param {*} [options] Override http request option.
|
|
27026
27369
|
* @throws {RequiredError}
|
|
27027
27370
|
* @memberof ConfigManagementApi
|
|
27028
27371
|
*/
|
|
27029
|
-
public configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig) {
|
|
27372
|
+
public configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig) {
|
|
27030
27373
|
return ConfigManagementApiFp(this.configuration).configUpsertGiftCard(businessId, xAppX, upsertGiftCardDto, options).then((request) => request(this.axios, this.basePath));
|
|
27031
27374
|
}
|
|
27032
27375
|
|
|
@@ -27047,13 +27390,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
27047
27390
|
*
|
|
27048
27391
|
* @summary Upsert Nets payment config
|
|
27049
27392
|
* @param {number} businessId
|
|
27050
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27393
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
27051
27394
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
27052
27395
|
* @param {*} [options] Override http request option.
|
|
27053
27396
|
* @throws {RequiredError}
|
|
27054
27397
|
* @memberof ConfigManagementApi
|
|
27055
27398
|
*/
|
|
27056
|
-
public configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig) {
|
|
27399
|
+
public configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig) {
|
|
27057
27400
|
return ConfigManagementApiFp(this.configuration).configUpsertNets(businessId, xAppX, upsertNetsDto, options).then((request) => request(this.axios, this.basePath));
|
|
27058
27401
|
}
|
|
27059
27402
|
|
|
@@ -27061,13 +27404,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
27061
27404
|
*
|
|
27062
27405
|
* @summary Upsert payment options
|
|
27063
27406
|
* @param {number} businessId
|
|
27064
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27407
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
27065
27408
|
* @param {UpsertPaymentOptionsDto} upsertPaymentOptionsDto
|
|
27066
27409
|
* @param {*} [options] Override http request option.
|
|
27067
27410
|
* @throws {RequiredError}
|
|
27068
27411
|
* @memberof ConfigManagementApi
|
|
27069
27412
|
*/
|
|
27070
|
-
public configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig) {
|
|
27413
|
+
public configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig) {
|
|
27071
27414
|
return ConfigManagementApiFp(this.configuration).configUpsertPaymentOptions(businessId, xAppX, upsertPaymentOptionsDto, options).then((request) => request(this.axios, this.basePath));
|
|
27072
27415
|
}
|
|
27073
27416
|
|
|
@@ -27075,13 +27418,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
27075
27418
|
*
|
|
27076
27419
|
* @summary Upsert Stripe payment config
|
|
27077
27420
|
* @param {number} businessId
|
|
27078
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27421
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
27079
27422
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
27080
27423
|
* @param {*} [options] Override http request option.
|
|
27081
27424
|
* @throws {RequiredError}
|
|
27082
27425
|
* @memberof ConfigManagementApi
|
|
27083
27426
|
*/
|
|
27084
|
-
public configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig) {
|
|
27427
|
+
public configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig) {
|
|
27085
27428
|
return ConfigManagementApiFp(this.configuration).configUpsertStripe(businessId, xAppX, upsertStripeDto, options).then((request) => request(this.axios, this.basePath));
|
|
27086
27429
|
}
|
|
27087
27430
|
|
|
@@ -27089,13 +27432,13 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
27089
27432
|
*
|
|
27090
27433
|
* @summary Upsert Viva payment config
|
|
27091
27434
|
* @param {number} businessId
|
|
27092
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
27435
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
27093
27436
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
27094
27437
|
* @param {*} [options] Override http request option.
|
|
27095
27438
|
* @throws {RequiredError}
|
|
27096
27439
|
* @memberof ConfigManagementApi
|
|
27097
27440
|
*/
|
|
27098
|
-
public configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig) {
|
|
27441
|
+
public configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig) {
|
|
27099
27442
|
return ConfigManagementApiFp(this.configuration).configUpsertViva(businessId, xAppX, upsertVivaDto, options).then((request) => request(this.axios, this.basePath));
|
|
27100
27443
|
}
|
|
27101
27444
|
}
|
|
@@ -29619,6 +29962,86 @@ export class KiosksApi extends BaseAPI implements KiosksApiInterface {
|
|
|
29619
29962
|
*/
|
|
29620
29963
|
export const LoyaltyIntegerationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
29621
29964
|
return {
|
|
29965
|
+
/**
|
|
29966
|
+
*
|
|
29967
|
+
* @summary Activate a loyalty offer on the kiosk
|
|
29968
|
+
* @param {ActivateKioskOfferDto} activateKioskOfferDto
|
|
29969
|
+
* @param {*} [options] Override http request option.
|
|
29970
|
+
* @throws {RequiredError}
|
|
29971
|
+
*/
|
|
29972
|
+
activateKioskOffer: async (activateKioskOfferDto: ActivateKioskOfferDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29973
|
+
// verify required parameter 'activateKioskOfferDto' is not null or undefined
|
|
29974
|
+
assertParamExists('activateKioskOffer', 'activateKioskOfferDto', activateKioskOfferDto)
|
|
29975
|
+
const localVarPath = `/api/v1/loyalty/users/activate`;
|
|
29976
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29977
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29978
|
+
let baseOptions;
|
|
29979
|
+
if (configuration) {
|
|
29980
|
+
baseOptions = configuration.baseOptions;
|
|
29981
|
+
}
|
|
29982
|
+
|
|
29983
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
29984
|
+
const localVarHeaderParameter = {} as any;
|
|
29985
|
+
const localVarQueryParameter = {} as any;
|
|
29986
|
+
|
|
29987
|
+
// authentication JWT-auth required
|
|
29988
|
+
// http bearer authentication required
|
|
29989
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29990
|
+
|
|
29991
|
+
|
|
29992
|
+
|
|
29993
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29994
|
+
|
|
29995
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29996
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29997
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29998
|
+
localVarRequestOptions.data = serializeDataIfNeeded(activateKioskOfferDto, localVarRequestOptions, configuration)
|
|
29999
|
+
|
|
30000
|
+
return {
|
|
30001
|
+
url: toPathString(localVarUrlObj),
|
|
30002
|
+
options: localVarRequestOptions,
|
|
30003
|
+
};
|
|
30004
|
+
},
|
|
30005
|
+
/**
|
|
30006
|
+
*
|
|
30007
|
+
* @summary Claim and activate an available catalog offer on the kiosk
|
|
30008
|
+
* @param {ClaimKioskOfferDto} claimKioskOfferDto
|
|
30009
|
+
* @param {*} [options] Override http request option.
|
|
30010
|
+
* @throws {RequiredError}
|
|
30011
|
+
*/
|
|
30012
|
+
claimKioskOffer: async (claimKioskOfferDto: ClaimKioskOfferDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30013
|
+
// verify required parameter 'claimKioskOfferDto' is not null or undefined
|
|
30014
|
+
assertParamExists('claimKioskOffer', 'claimKioskOfferDto', claimKioskOfferDto)
|
|
30015
|
+
const localVarPath = `/api/v1/loyalty/users/claim`;
|
|
30016
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30017
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30018
|
+
let baseOptions;
|
|
30019
|
+
if (configuration) {
|
|
30020
|
+
baseOptions = configuration.baseOptions;
|
|
30021
|
+
}
|
|
30022
|
+
|
|
30023
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
30024
|
+
const localVarHeaderParameter = {} as any;
|
|
30025
|
+
const localVarQueryParameter = {} as any;
|
|
30026
|
+
|
|
30027
|
+
// authentication JWT-auth required
|
|
30028
|
+
// http bearer authentication required
|
|
30029
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30030
|
+
|
|
30031
|
+
|
|
30032
|
+
|
|
30033
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30034
|
+
|
|
30035
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30036
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30037
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30038
|
+
localVarRequestOptions.data = serializeDataIfNeeded(claimKioskOfferDto, localVarRequestOptions, configuration)
|
|
30039
|
+
|
|
30040
|
+
return {
|
|
30041
|
+
url: toPathString(localVarUrlObj),
|
|
30042
|
+
options: localVarRequestOptions,
|
|
30043
|
+
};
|
|
30044
|
+
},
|
|
29622
30045
|
/**
|
|
29623
30046
|
*
|
|
29624
30047
|
* @summary Create loyalty user
|
|
@@ -29806,6 +30229,142 @@ export const LoyaltyIntegerationsApiAxiosParamCreator = function (configuration?
|
|
|
29806
30229
|
options: localVarRequestOptions,
|
|
29807
30230
|
};
|
|
29808
30231
|
},
|
|
30232
|
+
/**
|
|
30233
|
+
*
|
|
30234
|
+
* @summary Get raw loyalty perks for a user without AI validation (fast)
|
|
30235
|
+
* @param {number} businessId
|
|
30236
|
+
* @param {number} userId
|
|
30237
|
+
* @param {*} [options] Override http request option.
|
|
30238
|
+
* @throws {RequiredError}
|
|
30239
|
+
*/
|
|
30240
|
+
getUserPerks: async (businessId: number, userId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30241
|
+
// verify required parameter 'businessId' is not null or undefined
|
|
30242
|
+
assertParamExists('getUserPerks', 'businessId', businessId)
|
|
30243
|
+
// verify required parameter 'userId' is not null or undefined
|
|
30244
|
+
assertParamExists('getUserPerks', 'userId', userId)
|
|
30245
|
+
const localVarPath = `/api/v1/loyalty/users/perks`;
|
|
30246
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30247
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30248
|
+
let baseOptions;
|
|
30249
|
+
if (configuration) {
|
|
30250
|
+
baseOptions = configuration.baseOptions;
|
|
30251
|
+
}
|
|
30252
|
+
|
|
30253
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
30254
|
+
const localVarHeaderParameter = {} as any;
|
|
30255
|
+
const localVarQueryParameter = {} as any;
|
|
30256
|
+
|
|
30257
|
+
// authentication JWT-auth required
|
|
30258
|
+
// http bearer authentication required
|
|
30259
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30260
|
+
|
|
30261
|
+
if (businessId !== undefined) {
|
|
30262
|
+
localVarQueryParameter['businessId'] = businessId;
|
|
30263
|
+
}
|
|
30264
|
+
|
|
30265
|
+
if (userId !== undefined) {
|
|
30266
|
+
localVarQueryParameter['userId'] = userId;
|
|
30267
|
+
}
|
|
30268
|
+
|
|
30269
|
+
|
|
30270
|
+
|
|
30271
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30272
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30273
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30274
|
+
|
|
30275
|
+
return {
|
|
30276
|
+
url: toPathString(localVarUrlObj),
|
|
30277
|
+
options: localVarRequestOptions,
|
|
30278
|
+
};
|
|
30279
|
+
},
|
|
30280
|
+
/**
|
|
30281
|
+
*
|
|
30282
|
+
* @summary Get loyalty wallet for a user (kiosk)
|
|
30283
|
+
* @param {number} businessId
|
|
30284
|
+
* @param {number} userId
|
|
30285
|
+
* @param {*} [options] Override http request option.
|
|
30286
|
+
* @throws {RequiredError}
|
|
30287
|
+
*/
|
|
30288
|
+
getUserWallet: async (businessId: number, userId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30289
|
+
// verify required parameter 'businessId' is not null or undefined
|
|
30290
|
+
assertParamExists('getUserWallet', 'businessId', businessId)
|
|
30291
|
+
// verify required parameter 'userId' is not null or undefined
|
|
30292
|
+
assertParamExists('getUserWallet', 'userId', userId)
|
|
30293
|
+
const localVarPath = `/api/v1/loyalty/users/wallet`;
|
|
30294
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30295
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30296
|
+
let baseOptions;
|
|
30297
|
+
if (configuration) {
|
|
30298
|
+
baseOptions = configuration.baseOptions;
|
|
30299
|
+
}
|
|
30300
|
+
|
|
30301
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
30302
|
+
const localVarHeaderParameter = {} as any;
|
|
30303
|
+
const localVarQueryParameter = {} as any;
|
|
30304
|
+
|
|
30305
|
+
// authentication JWT-auth required
|
|
30306
|
+
// http bearer authentication required
|
|
30307
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30308
|
+
|
|
30309
|
+
if (businessId !== undefined) {
|
|
30310
|
+
localVarQueryParameter['businessId'] = businessId;
|
|
30311
|
+
}
|
|
30312
|
+
|
|
30313
|
+
if (userId !== undefined) {
|
|
30314
|
+
localVarQueryParameter['userId'] = userId;
|
|
30315
|
+
}
|
|
30316
|
+
|
|
30317
|
+
|
|
30318
|
+
|
|
30319
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30320
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30321
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30322
|
+
|
|
30323
|
+
return {
|
|
30324
|
+
url: toPathString(localVarUrlObj),
|
|
30325
|
+
options: localVarRequestOptions,
|
|
30326
|
+
};
|
|
30327
|
+
},
|
|
30328
|
+
/**
|
|
30329
|
+
*
|
|
30330
|
+
* @summary Resolve applicable loyalty perks for the current cart (AI)
|
|
30331
|
+
* @param {LoyaltyResolveRequestDto} loyaltyResolveRequestDto
|
|
30332
|
+
* @param {*} [options] Override http request option.
|
|
30333
|
+
* @throws {RequiredError}
|
|
30334
|
+
*/
|
|
30335
|
+
resolvePerks: async (loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30336
|
+
// verify required parameter 'loyaltyResolveRequestDto' is not null or undefined
|
|
30337
|
+
assertParamExists('resolvePerks', 'loyaltyResolveRequestDto', loyaltyResolveRequestDto)
|
|
30338
|
+
const localVarPath = `/api/v1/loyalty/resolve`;
|
|
30339
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30340
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30341
|
+
let baseOptions;
|
|
30342
|
+
if (configuration) {
|
|
30343
|
+
baseOptions = configuration.baseOptions;
|
|
30344
|
+
}
|
|
30345
|
+
|
|
30346
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
30347
|
+
const localVarHeaderParameter = {} as any;
|
|
30348
|
+
const localVarQueryParameter = {} as any;
|
|
30349
|
+
|
|
30350
|
+
// authentication JWT-auth required
|
|
30351
|
+
// http bearer authentication required
|
|
30352
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30353
|
+
|
|
30354
|
+
|
|
30355
|
+
|
|
30356
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30357
|
+
|
|
30358
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30359
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30360
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30361
|
+
localVarRequestOptions.data = serializeDataIfNeeded(loyaltyResolveRequestDto, localVarRequestOptions, configuration)
|
|
30362
|
+
|
|
30363
|
+
return {
|
|
30364
|
+
url: toPathString(localVarUrlObj),
|
|
30365
|
+
options: localVarRequestOptions,
|
|
30366
|
+
};
|
|
30367
|
+
},
|
|
29809
30368
|
/**
|
|
29810
30369
|
*
|
|
29811
30370
|
* @summary Search user by phone or email
|
|
@@ -29919,6 +30478,28 @@ export const LoyaltyIntegerationsApiAxiosParamCreator = function (configuration?
|
|
|
29919
30478
|
export const LoyaltyIntegerationsApiFp = function(configuration?: Configuration) {
|
|
29920
30479
|
const localVarAxiosParamCreator = LoyaltyIntegerationsApiAxiosParamCreator(configuration)
|
|
29921
30480
|
return {
|
|
30481
|
+
/**
|
|
30482
|
+
*
|
|
30483
|
+
* @summary Activate a loyalty offer on the kiosk
|
|
30484
|
+
* @param {ActivateKioskOfferDto} activateKioskOfferDto
|
|
30485
|
+
* @param {*} [options] Override http request option.
|
|
30486
|
+
* @throws {RequiredError}
|
|
30487
|
+
*/
|
|
30488
|
+
async activateKioskOffer(activateKioskOfferDto: ActivateKioskOfferDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
30489
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.activateKioskOffer(activateKioskOfferDto, options);
|
|
30490
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30491
|
+
},
|
|
30492
|
+
/**
|
|
30493
|
+
*
|
|
30494
|
+
* @summary Claim and activate an available catalog offer on the kiosk
|
|
30495
|
+
* @param {ClaimKioskOfferDto} claimKioskOfferDto
|
|
30496
|
+
* @param {*} [options] Override http request option.
|
|
30497
|
+
* @throws {RequiredError}
|
|
30498
|
+
*/
|
|
30499
|
+
async claimKioskOffer(claimKioskOfferDto: ClaimKioskOfferDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
30500
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.claimKioskOffer(claimKioskOfferDto, options);
|
|
30501
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30502
|
+
},
|
|
29922
30503
|
/**
|
|
29923
30504
|
*
|
|
29924
30505
|
* @summary Create loyalty user
|
|
@@ -29967,6 +30548,41 @@ export const LoyaltyIntegerationsApiFp = function(configuration?: Configuration)
|
|
|
29967
30548
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserById(businessId, userId, options);
|
|
29968
30549
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29969
30550
|
},
|
|
30551
|
+
/**
|
|
30552
|
+
*
|
|
30553
|
+
* @summary Get raw loyalty perks for a user without AI validation (fast)
|
|
30554
|
+
* @param {number} businessId
|
|
30555
|
+
* @param {number} userId
|
|
30556
|
+
* @param {*} [options] Override http request option.
|
|
30557
|
+
* @throws {RequiredError}
|
|
30558
|
+
*/
|
|
30559
|
+
async getUserPerks(businessId: number, userId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoyaltyResolveResponseDto>> {
|
|
30560
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserPerks(businessId, userId, options);
|
|
30561
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30562
|
+
},
|
|
30563
|
+
/**
|
|
30564
|
+
*
|
|
30565
|
+
* @summary Get loyalty wallet for a user (kiosk)
|
|
30566
|
+
* @param {number} businessId
|
|
30567
|
+
* @param {number} userId
|
|
30568
|
+
* @param {*} [options] Override http request option.
|
|
30569
|
+
* @throws {RequiredError}
|
|
30570
|
+
*/
|
|
30571
|
+
async getUserWallet(businessId: number, userId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserWalletResponseDto>> {
|
|
30572
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserWallet(businessId, userId, options);
|
|
30573
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30574
|
+
},
|
|
30575
|
+
/**
|
|
30576
|
+
*
|
|
30577
|
+
* @summary Resolve applicable loyalty perks for the current cart (AI)
|
|
30578
|
+
* @param {LoyaltyResolveRequestDto} loyaltyResolveRequestDto
|
|
30579
|
+
* @param {*} [options] Override http request option.
|
|
30580
|
+
* @throws {RequiredError}
|
|
30581
|
+
*/
|
|
30582
|
+
async resolvePerks(loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoyaltyResolveResponseDto>> {
|
|
30583
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resolvePerks(loyaltyResolveRequestDto, options);
|
|
30584
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30585
|
+
},
|
|
29970
30586
|
/**
|
|
29971
30587
|
*
|
|
29972
30588
|
* @summary Search user by phone or email
|
|
@@ -30003,6 +30619,26 @@ export const LoyaltyIntegerationsApiFp = function(configuration?: Configuration)
|
|
|
30003
30619
|
export const LoyaltyIntegerationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
30004
30620
|
const localVarFp = LoyaltyIntegerationsApiFp(configuration)
|
|
30005
30621
|
return {
|
|
30622
|
+
/**
|
|
30623
|
+
*
|
|
30624
|
+
* @summary Activate a loyalty offer on the kiosk
|
|
30625
|
+
* @param {ActivateKioskOfferDto} activateKioskOfferDto
|
|
30626
|
+
* @param {*} [options] Override http request option.
|
|
30627
|
+
* @throws {RequiredError}
|
|
30628
|
+
*/
|
|
30629
|
+
activateKioskOffer(activateKioskOfferDto: ActivateKioskOfferDto, options?: any): AxiosPromise<void> {
|
|
30630
|
+
return localVarFp.activateKioskOffer(activateKioskOfferDto, options).then((request) => request(axios, basePath));
|
|
30631
|
+
},
|
|
30632
|
+
/**
|
|
30633
|
+
*
|
|
30634
|
+
* @summary Claim and activate an available catalog offer on the kiosk
|
|
30635
|
+
* @param {ClaimKioskOfferDto} claimKioskOfferDto
|
|
30636
|
+
* @param {*} [options] Override http request option.
|
|
30637
|
+
* @throws {RequiredError}
|
|
30638
|
+
*/
|
|
30639
|
+
claimKioskOffer(claimKioskOfferDto: ClaimKioskOfferDto, options?: any): AxiosPromise<void> {
|
|
30640
|
+
return localVarFp.claimKioskOffer(claimKioskOfferDto, options).then((request) => request(axios, basePath));
|
|
30641
|
+
},
|
|
30006
30642
|
/**
|
|
30007
30643
|
*
|
|
30008
30644
|
* @summary Create loyalty user
|
|
@@ -30047,6 +30683,38 @@ export const LoyaltyIntegerationsApiFactory = function (configuration?: Configur
|
|
|
30047
30683
|
getUserById(businessId: number, userId: string, options?: any): AxiosPromise<LoyaltyUserInfoResponseDto> {
|
|
30048
30684
|
return localVarFp.getUserById(businessId, userId, options).then((request) => request(axios, basePath));
|
|
30049
30685
|
},
|
|
30686
|
+
/**
|
|
30687
|
+
*
|
|
30688
|
+
* @summary Get raw loyalty perks for a user without AI validation (fast)
|
|
30689
|
+
* @param {number} businessId
|
|
30690
|
+
* @param {number} userId
|
|
30691
|
+
* @param {*} [options] Override http request option.
|
|
30692
|
+
* @throws {RequiredError}
|
|
30693
|
+
*/
|
|
30694
|
+
getUserPerks(businessId: number, userId: number, options?: any): AxiosPromise<LoyaltyResolveResponseDto> {
|
|
30695
|
+
return localVarFp.getUserPerks(businessId, userId, options).then((request) => request(axios, basePath));
|
|
30696
|
+
},
|
|
30697
|
+
/**
|
|
30698
|
+
*
|
|
30699
|
+
* @summary Get loyalty wallet for a user (kiosk)
|
|
30700
|
+
* @param {number} businessId
|
|
30701
|
+
* @param {number} userId
|
|
30702
|
+
* @param {*} [options] Override http request option.
|
|
30703
|
+
* @throws {RequiredError}
|
|
30704
|
+
*/
|
|
30705
|
+
getUserWallet(businessId: number, userId: number, options?: any): AxiosPromise<UserWalletResponseDto> {
|
|
30706
|
+
return localVarFp.getUserWallet(businessId, userId, options).then((request) => request(axios, basePath));
|
|
30707
|
+
},
|
|
30708
|
+
/**
|
|
30709
|
+
*
|
|
30710
|
+
* @summary Resolve applicable loyalty perks for the current cart (AI)
|
|
30711
|
+
* @param {LoyaltyResolveRequestDto} loyaltyResolveRequestDto
|
|
30712
|
+
* @param {*} [options] Override http request option.
|
|
30713
|
+
* @throws {RequiredError}
|
|
30714
|
+
*/
|
|
30715
|
+
resolvePerks(loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options?: any): AxiosPromise<LoyaltyResolveResponseDto> {
|
|
30716
|
+
return localVarFp.resolvePerks(loyaltyResolveRequestDto, options).then((request) => request(axios, basePath));
|
|
30717
|
+
},
|
|
30050
30718
|
/**
|
|
30051
30719
|
*
|
|
30052
30720
|
* @summary Search user by phone or email
|
|
@@ -30080,6 +30748,26 @@ export const LoyaltyIntegerationsApiFactory = function (configuration?: Configur
|
|
|
30080
30748
|
* @interface LoyaltyIntegerationsApi
|
|
30081
30749
|
*/
|
|
30082
30750
|
export interface LoyaltyIntegerationsApiInterface {
|
|
30751
|
+
/**
|
|
30752
|
+
*
|
|
30753
|
+
* @summary Activate a loyalty offer on the kiosk
|
|
30754
|
+
* @param {ActivateKioskOfferDto} activateKioskOfferDto
|
|
30755
|
+
* @param {*} [options] Override http request option.
|
|
30756
|
+
* @throws {RequiredError}
|
|
30757
|
+
* @memberof LoyaltyIntegerationsApiInterface
|
|
30758
|
+
*/
|
|
30759
|
+
activateKioskOffer(activateKioskOfferDto: ActivateKioskOfferDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
30760
|
+
|
|
30761
|
+
/**
|
|
30762
|
+
*
|
|
30763
|
+
* @summary Claim and activate an available catalog offer on the kiosk
|
|
30764
|
+
* @param {ClaimKioskOfferDto} claimKioskOfferDto
|
|
30765
|
+
* @param {*} [options] Override http request option.
|
|
30766
|
+
* @throws {RequiredError}
|
|
30767
|
+
* @memberof LoyaltyIntegerationsApiInterface
|
|
30768
|
+
*/
|
|
30769
|
+
claimKioskOffer(claimKioskOfferDto: ClaimKioskOfferDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
30770
|
+
|
|
30083
30771
|
/**
|
|
30084
30772
|
*
|
|
30085
30773
|
* @summary Create loyalty user
|
|
@@ -30124,6 +30812,38 @@ export interface LoyaltyIntegerationsApiInterface {
|
|
|
30124
30812
|
*/
|
|
30125
30813
|
getUserById(businessId: number, userId: string, options?: AxiosRequestConfig): AxiosPromise<LoyaltyUserInfoResponseDto>;
|
|
30126
30814
|
|
|
30815
|
+
/**
|
|
30816
|
+
*
|
|
30817
|
+
* @summary Get raw loyalty perks for a user without AI validation (fast)
|
|
30818
|
+
* @param {number} businessId
|
|
30819
|
+
* @param {number} userId
|
|
30820
|
+
* @param {*} [options] Override http request option.
|
|
30821
|
+
* @throws {RequiredError}
|
|
30822
|
+
* @memberof LoyaltyIntegerationsApiInterface
|
|
30823
|
+
*/
|
|
30824
|
+
getUserPerks(businessId: number, userId: number, options?: AxiosRequestConfig): AxiosPromise<LoyaltyResolveResponseDto>;
|
|
30825
|
+
|
|
30826
|
+
/**
|
|
30827
|
+
*
|
|
30828
|
+
* @summary Get loyalty wallet for a user (kiosk)
|
|
30829
|
+
* @param {number} businessId
|
|
30830
|
+
* @param {number} userId
|
|
30831
|
+
* @param {*} [options] Override http request option.
|
|
30832
|
+
* @throws {RequiredError}
|
|
30833
|
+
* @memberof LoyaltyIntegerationsApiInterface
|
|
30834
|
+
*/
|
|
30835
|
+
getUserWallet(businessId: number, userId: number, options?: AxiosRequestConfig): AxiosPromise<UserWalletResponseDto>;
|
|
30836
|
+
|
|
30837
|
+
/**
|
|
30838
|
+
*
|
|
30839
|
+
* @summary Resolve applicable loyalty perks for the current cart (AI)
|
|
30840
|
+
* @param {LoyaltyResolveRequestDto} loyaltyResolveRequestDto
|
|
30841
|
+
* @param {*} [options] Override http request option.
|
|
30842
|
+
* @throws {RequiredError}
|
|
30843
|
+
* @memberof LoyaltyIntegerationsApiInterface
|
|
30844
|
+
*/
|
|
30845
|
+
resolvePerks(loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options?: AxiosRequestConfig): AxiosPromise<LoyaltyResolveResponseDto>;
|
|
30846
|
+
|
|
30127
30847
|
/**
|
|
30128
30848
|
*
|
|
30129
30849
|
* @summary Search user by phone or email
|
|
@@ -30157,6 +30877,30 @@ export interface LoyaltyIntegerationsApiInterface {
|
|
|
30157
30877
|
* @extends {BaseAPI}
|
|
30158
30878
|
*/
|
|
30159
30879
|
export class LoyaltyIntegerationsApi extends BaseAPI implements LoyaltyIntegerationsApiInterface {
|
|
30880
|
+
/**
|
|
30881
|
+
*
|
|
30882
|
+
* @summary Activate a loyalty offer on the kiosk
|
|
30883
|
+
* @param {ActivateKioskOfferDto} activateKioskOfferDto
|
|
30884
|
+
* @param {*} [options] Override http request option.
|
|
30885
|
+
* @throws {RequiredError}
|
|
30886
|
+
* @memberof LoyaltyIntegerationsApi
|
|
30887
|
+
*/
|
|
30888
|
+
public activateKioskOffer(activateKioskOfferDto: ActivateKioskOfferDto, options?: AxiosRequestConfig) {
|
|
30889
|
+
return LoyaltyIntegerationsApiFp(this.configuration).activateKioskOffer(activateKioskOfferDto, options).then((request) => request(this.axios, this.basePath));
|
|
30890
|
+
}
|
|
30891
|
+
|
|
30892
|
+
/**
|
|
30893
|
+
*
|
|
30894
|
+
* @summary Claim and activate an available catalog offer on the kiosk
|
|
30895
|
+
* @param {ClaimKioskOfferDto} claimKioskOfferDto
|
|
30896
|
+
* @param {*} [options] Override http request option.
|
|
30897
|
+
* @throws {RequiredError}
|
|
30898
|
+
* @memberof LoyaltyIntegerationsApi
|
|
30899
|
+
*/
|
|
30900
|
+
public claimKioskOffer(claimKioskOfferDto: ClaimKioskOfferDto, options?: AxiosRequestConfig) {
|
|
30901
|
+
return LoyaltyIntegerationsApiFp(this.configuration).claimKioskOffer(claimKioskOfferDto, options).then((request) => request(this.axios, this.basePath));
|
|
30902
|
+
}
|
|
30903
|
+
|
|
30160
30904
|
/**
|
|
30161
30905
|
*
|
|
30162
30906
|
* @summary Create loyalty user
|
|
@@ -30209,6 +30953,44 @@ export class LoyaltyIntegerationsApi extends BaseAPI implements LoyaltyIntegerat
|
|
|
30209
30953
|
return LoyaltyIntegerationsApiFp(this.configuration).getUserById(businessId, userId, options).then((request) => request(this.axios, this.basePath));
|
|
30210
30954
|
}
|
|
30211
30955
|
|
|
30956
|
+
/**
|
|
30957
|
+
*
|
|
30958
|
+
* @summary Get raw loyalty perks for a user without AI validation (fast)
|
|
30959
|
+
* @param {number} businessId
|
|
30960
|
+
* @param {number} userId
|
|
30961
|
+
* @param {*} [options] Override http request option.
|
|
30962
|
+
* @throws {RequiredError}
|
|
30963
|
+
* @memberof LoyaltyIntegerationsApi
|
|
30964
|
+
*/
|
|
30965
|
+
public getUserPerks(businessId: number, userId: number, options?: AxiosRequestConfig) {
|
|
30966
|
+
return LoyaltyIntegerationsApiFp(this.configuration).getUserPerks(businessId, userId, options).then((request) => request(this.axios, this.basePath));
|
|
30967
|
+
}
|
|
30968
|
+
|
|
30969
|
+
/**
|
|
30970
|
+
*
|
|
30971
|
+
* @summary Get loyalty wallet for a user (kiosk)
|
|
30972
|
+
* @param {number} businessId
|
|
30973
|
+
* @param {number} userId
|
|
30974
|
+
* @param {*} [options] Override http request option.
|
|
30975
|
+
* @throws {RequiredError}
|
|
30976
|
+
* @memberof LoyaltyIntegerationsApi
|
|
30977
|
+
*/
|
|
30978
|
+
public getUserWallet(businessId: number, userId: number, options?: AxiosRequestConfig) {
|
|
30979
|
+
return LoyaltyIntegerationsApiFp(this.configuration).getUserWallet(businessId, userId, options).then((request) => request(this.axios, this.basePath));
|
|
30980
|
+
}
|
|
30981
|
+
|
|
30982
|
+
/**
|
|
30983
|
+
*
|
|
30984
|
+
* @summary Resolve applicable loyalty perks for the current cart (AI)
|
|
30985
|
+
* @param {LoyaltyResolveRequestDto} loyaltyResolveRequestDto
|
|
30986
|
+
* @param {*} [options] Override http request option.
|
|
30987
|
+
* @throws {RequiredError}
|
|
30988
|
+
* @memberof LoyaltyIntegerationsApi
|
|
30989
|
+
*/
|
|
30990
|
+
public resolvePerks(loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options?: AxiosRequestConfig) {
|
|
30991
|
+
return LoyaltyIntegerationsApiFp(this.configuration).resolvePerks(loyaltyResolveRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
30992
|
+
}
|
|
30993
|
+
|
|
30212
30994
|
/**
|
|
30213
30995
|
*
|
|
30214
30996
|
* @summary Search user by phone or email
|
|
@@ -32012,11 +32794,11 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
32012
32794
|
* @param {'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft'} status Order status filter
|
|
32013
32795
|
* @param {string} businessIds Comma-separated list of business IDs
|
|
32014
32796
|
* @param {string} [posBusinessId] Id of the pos
|
|
32015
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [extraProvider] Extra attributes to get POS orders
|
|
32797
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [extraProvider] Extra attributes to get POS orders
|
|
32016
32798
|
* @param {*} [options] Override http request option.
|
|
32017
32799
|
* @throws {RequiredError}
|
|
32018
32800
|
*/
|
|
32019
|
-
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> => {
|
|
32801
|
+
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> => {
|
|
32020
32802
|
// verify required parameter 'status' is not null or undefined
|
|
32021
32803
|
assertParamExists('getOrdersV2', 'status', status)
|
|
32022
32804
|
// verify required parameter 'businessIds' is not null or undefined
|
|
@@ -32345,11 +33127,11 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
32345
33127
|
* @param {'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft'} status Order status filter
|
|
32346
33128
|
* @param {string} businessIds Comma-separated list of business IDs
|
|
32347
33129
|
* @param {string} [posBusinessId] Id of the pos
|
|
32348
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [extraProvider] Extra attributes to get POS orders
|
|
33130
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [extraProvider] Extra attributes to get POS orders
|
|
32349
33131
|
* @param {*} [options] Override http request option.
|
|
32350
33132
|
* @throws {RequiredError}
|
|
32351
33133
|
*/
|
|
32352
|
-
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>>> {
|
|
33134
|
+
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>>> {
|
|
32353
33135
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrdersV2(status, businessIds, posBusinessId, extraProvider, options);
|
|
32354
33136
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32355
33137
|
},
|
|
@@ -32485,11 +33267,11 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
32485
33267
|
* @param {'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft'} status Order status filter
|
|
32486
33268
|
* @param {string} businessIds Comma-separated list of business IDs
|
|
32487
33269
|
* @param {string} [posBusinessId] Id of the pos
|
|
32488
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [extraProvider] Extra attributes to get POS orders
|
|
33270
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [extraProvider] Extra attributes to get POS orders
|
|
32489
33271
|
* @param {*} [options] Override http request option.
|
|
32490
33272
|
* @throws {RequiredError}
|
|
32491
33273
|
*/
|
|
32492
|
-
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>> {
|
|
33274
|
+
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>> {
|
|
32493
33275
|
return localVarFp.getOrdersV2(status, businessIds, posBusinessId, extraProvider, options).then((request) => request(axios, basePath));
|
|
32494
33276
|
},
|
|
32495
33277
|
/**
|
|
@@ -32617,12 +33399,12 @@ export interface OrdersApiInterface {
|
|
|
32617
33399
|
* @param {'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft'} status Order status filter
|
|
32618
33400
|
* @param {string} businessIds Comma-separated list of business IDs
|
|
32619
33401
|
* @param {string} [posBusinessId] Id of the pos
|
|
32620
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [extraProvider] Extra attributes to get POS orders
|
|
33402
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [extraProvider] Extra attributes to get POS orders
|
|
32621
33403
|
* @param {*} [options] Override http request option.
|
|
32622
33404
|
* @throws {RequiredError}
|
|
32623
33405
|
* @memberof OrdersApiInterface
|
|
32624
33406
|
*/
|
|
32625
|
-
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>>;
|
|
33407
|
+
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>>;
|
|
32626
33408
|
|
|
32627
33409
|
/**
|
|
32628
33410
|
*
|
|
@@ -32759,12 +33541,12 @@ export class OrdersApi extends BaseAPI implements OrdersApiInterface {
|
|
|
32759
33541
|
* @param {'pending' | 'in_progress' | 'ready' | 'delivered' | 'rejected' | 'pick_up_by_driver' | 'preorder' | 'accept_by_driver' | 'parked' | 'refunded' | 'draft'} status Order status filter
|
|
32760
33542
|
* @param {string} businessIds Comma-separated list of business IDs
|
|
32761
33543
|
* @param {string} [posBusinessId] Id of the pos
|
|
32762
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [extraProvider] Extra attributes to get POS orders
|
|
33544
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [extraProvider] Extra attributes to get POS orders
|
|
32763
33545
|
* @param {*} [options] Override http request option.
|
|
32764
33546
|
* @throws {RequiredError}
|
|
32765
33547
|
* @memberof OrdersApi
|
|
32766
33548
|
*/
|
|
32767
|
-
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) {
|
|
33549
|
+
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) {
|
|
32768
33550
|
return OrdersApiFp(this.configuration).getOrdersV2(status, businessIds, posBusinessId, extraProvider, options).then((request) => request(this.axios, this.basePath));
|
|
32769
33551
|
}
|
|
32770
33552
|
|
|
@@ -35683,11 +36465,11 @@ export const ReportApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
35683
36465
|
* @param {string} [start] Start date
|
|
35684
36466
|
* @param {string} [end] End date
|
|
35685
36467
|
* @param {string} [timezone] Timezone (default is \"UTC\")
|
|
35686
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [provider] Order source provider (default is MunchiPos)
|
|
36468
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [provider] Order source provider (default is MunchiPos)
|
|
35687
36469
|
* @param {*} [options] Override http request option.
|
|
35688
36470
|
* @throws {RequiredError}
|
|
35689
36471
|
*/
|
|
35690
|
-
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> => {
|
|
36472
|
+
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> => {
|
|
35691
36473
|
// verify required parameter 'businessIds' is not null or undefined
|
|
35692
36474
|
assertParamExists('getEndOfDayReportV5', 'businessIds', businessIds)
|
|
35693
36475
|
const localVarPath = `/api/v5/report/end-of-day`;
|
|
@@ -35868,11 +36650,11 @@ export const ReportApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
35868
36650
|
* @param {TimeSpan} [timeSpan] Time span
|
|
35869
36651
|
* @param {string} [start] Start date
|
|
35870
36652
|
* @param {string} [end] End date
|
|
35871
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [provider] Order source provider (default is MunchiPos)
|
|
36653
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [provider] Order source provider (default is MunchiPos)
|
|
35872
36654
|
* @param {*} [options] Override http request option.
|
|
35873
36655
|
* @throws {RequiredError}
|
|
35874
36656
|
*/
|
|
35875
|
-
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> => {
|
|
36657
|
+
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> => {
|
|
35876
36658
|
// verify required parameter 'businessIds' is not null or undefined
|
|
35877
36659
|
assertParamExists('sendReportEmailV5', 'businessIds', businessIds)
|
|
35878
36660
|
// verify required parameter 'timezone' is not null or undefined
|
|
@@ -35947,11 +36729,11 @@ export const ReportApiFp = function(configuration?: Configuration) {
|
|
|
35947
36729
|
* @param {string} [start] Start date
|
|
35948
36730
|
* @param {string} [end] End date
|
|
35949
36731
|
* @param {string} [timezone] Timezone (default is \"UTC\")
|
|
35950
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [provider] Order source provider (default is MunchiPos)
|
|
36732
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [provider] Order source provider (default is MunchiPos)
|
|
35951
36733
|
* @param {*} [options] Override http request option.
|
|
35952
36734
|
* @throws {RequiredError}
|
|
35953
36735
|
*/
|
|
35954
|
-
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>> {
|
|
36736
|
+
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>> {
|
|
35955
36737
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getEndOfDayReportV5(businessIds, timeSpan, start, end, timezone, provider, options);
|
|
35956
36738
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35957
36739
|
},
|
|
@@ -35995,11 +36777,11 @@ export const ReportApiFp = function(configuration?: Configuration) {
|
|
|
35995
36777
|
* @param {TimeSpan} [timeSpan] Time span
|
|
35996
36778
|
* @param {string} [start] Start date
|
|
35997
36779
|
* @param {string} [end] End date
|
|
35998
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [provider] Order source provider (default is MunchiPos)
|
|
36780
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [provider] Order source provider (default is MunchiPos)
|
|
35999
36781
|
* @param {*} [options] Override http request option.
|
|
36000
36782
|
* @throws {RequiredError}
|
|
36001
36783
|
*/
|
|
36002
|
-
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>> {
|
|
36784
|
+
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>> {
|
|
36003
36785
|
const localVarAxiosArgs = await localVarAxiosParamCreator.sendReportEmailV5(businessIds, timezone, sendReportEmailDto, timeSpan, start, end, provider, options);
|
|
36004
36786
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36005
36787
|
},
|
|
@@ -36021,11 +36803,11 @@ export const ReportApiFactory = function (configuration?: Configuration, basePat
|
|
|
36021
36803
|
* @param {string} [start] Start date
|
|
36022
36804
|
* @param {string} [end] End date
|
|
36023
36805
|
* @param {string} [timezone] Timezone (default is \"UTC\")
|
|
36024
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [provider] Order source provider (default is MunchiPos)
|
|
36806
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [provider] Order source provider (default is MunchiPos)
|
|
36025
36807
|
* @param {*} [options] Override http request option.
|
|
36026
36808
|
* @throws {RequiredError}
|
|
36027
36809
|
*/
|
|
36028
|
-
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> {
|
|
36810
|
+
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> {
|
|
36029
36811
|
return localVarFp.getEndOfDayReportV5(businessIds, timeSpan, start, end, timezone, provider, options).then((request) => request(axios, basePath));
|
|
36030
36812
|
},
|
|
36031
36813
|
/**
|
|
@@ -36066,11 +36848,11 @@ export const ReportApiFactory = function (configuration?: Configuration, basePat
|
|
|
36066
36848
|
* @param {TimeSpan} [timeSpan] Time span
|
|
36067
36849
|
* @param {string} [start] Start date
|
|
36068
36850
|
* @param {string} [end] End date
|
|
36069
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [provider] Order source provider (default is MunchiPos)
|
|
36851
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [provider] Order source provider (default is MunchiPos)
|
|
36070
36852
|
* @param {*} [options] Override http request option.
|
|
36071
36853
|
* @throws {RequiredError}
|
|
36072
36854
|
*/
|
|
36073
|
-
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> {
|
|
36855
|
+
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> {
|
|
36074
36856
|
return localVarFp.sendReportEmailV5(businessIds, timezone, sendReportEmailDto, timeSpan, start, end, provider, options).then((request) => request(axios, basePath));
|
|
36075
36857
|
},
|
|
36076
36858
|
};
|
|
@@ -36090,12 +36872,12 @@ export interface ReportApiInterface {
|
|
|
36090
36872
|
* @param {string} [start] Start date
|
|
36091
36873
|
* @param {string} [end] End date
|
|
36092
36874
|
* @param {string} [timezone] Timezone (default is \"UTC\")
|
|
36093
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [provider] Order source provider (default is MunchiPos)
|
|
36875
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [provider] Order source provider (default is MunchiPos)
|
|
36094
36876
|
* @param {*} [options] Override http request option.
|
|
36095
36877
|
* @throws {RequiredError}
|
|
36096
36878
|
* @memberof ReportApiInterface
|
|
36097
36879
|
*/
|
|
36098
|
-
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>;
|
|
36880
|
+
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>;
|
|
36099
36881
|
|
|
36100
36882
|
/**
|
|
36101
36883
|
*
|
|
@@ -36135,12 +36917,12 @@ export interface ReportApiInterface {
|
|
|
36135
36917
|
* @param {TimeSpan} [timeSpan] Time span
|
|
36136
36918
|
* @param {string} [start] Start date
|
|
36137
36919
|
* @param {string} [end] End date
|
|
36138
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [provider] Order source provider (default is MunchiPos)
|
|
36920
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [provider] Order source provider (default is MunchiPos)
|
|
36139
36921
|
* @param {*} [options] Override http request option.
|
|
36140
36922
|
* @throws {RequiredError}
|
|
36141
36923
|
* @memberof ReportApiInterface
|
|
36142
36924
|
*/
|
|
36143
|
-
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>;
|
|
36925
|
+
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>;
|
|
36144
36926
|
|
|
36145
36927
|
}
|
|
36146
36928
|
|
|
@@ -36159,12 +36941,12 @@ export class ReportApi extends BaseAPI implements ReportApiInterface {
|
|
|
36159
36941
|
* @param {string} [start] Start date
|
|
36160
36942
|
* @param {string} [end] End date
|
|
36161
36943
|
* @param {string} [timezone] Timezone (default is \"UTC\")
|
|
36162
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [provider] Order source provider (default is MunchiPos)
|
|
36944
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [provider] Order source provider (default is MunchiPos)
|
|
36163
36945
|
* @param {*} [options] Override http request option.
|
|
36164
36946
|
* @throws {RequiredError}
|
|
36165
36947
|
* @memberof ReportApi
|
|
36166
36948
|
*/
|
|
36167
|
-
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) {
|
|
36949
|
+
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) {
|
|
36168
36950
|
return ReportApiFp(this.configuration).getEndOfDayReportV5(businessIds, timeSpan, start, end, timezone, provider, options).then((request) => request(this.axios, this.basePath));
|
|
36169
36951
|
}
|
|
36170
36952
|
|
|
@@ -36210,12 +36992,12 @@ export class ReportApi extends BaseAPI implements ReportApiInterface {
|
|
|
36210
36992
|
* @param {TimeSpan} [timeSpan] Time span
|
|
36211
36993
|
* @param {string} [start] Start date
|
|
36212
36994
|
* @param {string} [end] End date
|
|
36213
|
-
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} [provider] Order source provider (default is MunchiPos)
|
|
36995
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} [provider] Order source provider (default is MunchiPos)
|
|
36214
36996
|
* @param {*} [options] Override http request option.
|
|
36215
36997
|
* @throws {RequiredError}
|
|
36216
36998
|
* @memberof ReportApi
|
|
36217
36999
|
*/
|
|
36218
|
-
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) {
|
|
37000
|
+
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) {
|
|
36219
37001
|
return ReportApiFp(this.configuration).sendReportEmailV5(businessIds, timezone, sendReportEmailDto, timeSpan, start, end, provider, options).then((request) => request(this.axios, this.basePath));
|
|
36220
37002
|
}
|
|
36221
37003
|
}
|
|
@@ -37704,6 +38486,126 @@ export class UsersApi extends BaseAPI implements UsersApiInterface {
|
|
|
37704
38486
|
}
|
|
37705
38487
|
|
|
37706
38488
|
|
|
38489
|
+
/**
|
|
38490
|
+
* VendureSellerApi - axios parameter creator
|
|
38491
|
+
* @export
|
|
38492
|
+
*/
|
|
38493
|
+
export const VendureSellerApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
38494
|
+
return {
|
|
38495
|
+
/**
|
|
38496
|
+
*
|
|
38497
|
+
* @param {object} body
|
|
38498
|
+
* @param {*} [options] Override http request option.
|
|
38499
|
+
* @throws {RequiredError}
|
|
38500
|
+
*/
|
|
38501
|
+
upsert: async (body: object, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38502
|
+
// verify required parameter 'body' is not null or undefined
|
|
38503
|
+
assertParamExists('upsert', 'body', body)
|
|
38504
|
+
const localVarPath = `/api/v1/vendure/seller/upsert`;
|
|
38505
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38506
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38507
|
+
let baseOptions;
|
|
38508
|
+
if (configuration) {
|
|
38509
|
+
baseOptions = configuration.baseOptions;
|
|
38510
|
+
}
|
|
38511
|
+
|
|
38512
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
38513
|
+
const localVarHeaderParameter = {} as any;
|
|
38514
|
+
const localVarQueryParameter = {} as any;
|
|
38515
|
+
|
|
38516
|
+
|
|
38517
|
+
|
|
38518
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
38519
|
+
|
|
38520
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38521
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38522
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38523
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
38524
|
+
|
|
38525
|
+
return {
|
|
38526
|
+
url: toPathString(localVarUrlObj),
|
|
38527
|
+
options: localVarRequestOptions,
|
|
38528
|
+
};
|
|
38529
|
+
},
|
|
38530
|
+
}
|
|
38531
|
+
};
|
|
38532
|
+
|
|
38533
|
+
/**
|
|
38534
|
+
* VendureSellerApi - functional programming interface
|
|
38535
|
+
* @export
|
|
38536
|
+
*/
|
|
38537
|
+
export const VendureSellerApiFp = function(configuration?: Configuration) {
|
|
38538
|
+
const localVarAxiosParamCreator = VendureSellerApiAxiosParamCreator(configuration)
|
|
38539
|
+
return {
|
|
38540
|
+
/**
|
|
38541
|
+
*
|
|
38542
|
+
* @param {object} body
|
|
38543
|
+
* @param {*} [options] Override http request option.
|
|
38544
|
+
* @throws {RequiredError}
|
|
38545
|
+
*/
|
|
38546
|
+
async upsert(body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
38547
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.upsert(body, options);
|
|
38548
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38549
|
+
},
|
|
38550
|
+
}
|
|
38551
|
+
};
|
|
38552
|
+
|
|
38553
|
+
/**
|
|
38554
|
+
* VendureSellerApi - factory interface
|
|
38555
|
+
* @export
|
|
38556
|
+
*/
|
|
38557
|
+
export const VendureSellerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
38558
|
+
const localVarFp = VendureSellerApiFp(configuration)
|
|
38559
|
+
return {
|
|
38560
|
+
/**
|
|
38561
|
+
*
|
|
38562
|
+
* @param {object} body
|
|
38563
|
+
* @param {*} [options] Override http request option.
|
|
38564
|
+
* @throws {RequiredError}
|
|
38565
|
+
*/
|
|
38566
|
+
upsert(body: object, options?: any): AxiosPromise<void> {
|
|
38567
|
+
return localVarFp.upsert(body, options).then((request) => request(axios, basePath));
|
|
38568
|
+
},
|
|
38569
|
+
};
|
|
38570
|
+
};
|
|
38571
|
+
|
|
38572
|
+
/**
|
|
38573
|
+
* VendureSellerApi - interface
|
|
38574
|
+
* @export
|
|
38575
|
+
* @interface VendureSellerApi
|
|
38576
|
+
*/
|
|
38577
|
+
export interface VendureSellerApiInterface {
|
|
38578
|
+
/**
|
|
38579
|
+
*
|
|
38580
|
+
* @param {object} body
|
|
38581
|
+
* @param {*} [options] Override http request option.
|
|
38582
|
+
* @throws {RequiredError}
|
|
38583
|
+
* @memberof VendureSellerApiInterface
|
|
38584
|
+
*/
|
|
38585
|
+
upsert(body: object, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
38586
|
+
|
|
38587
|
+
}
|
|
38588
|
+
|
|
38589
|
+
/**
|
|
38590
|
+
* VendureSellerApi - object-oriented interface
|
|
38591
|
+
* @export
|
|
38592
|
+
* @class VendureSellerApi
|
|
38593
|
+
* @extends {BaseAPI}
|
|
38594
|
+
*/
|
|
38595
|
+
export class VendureSellerApi extends BaseAPI implements VendureSellerApiInterface {
|
|
38596
|
+
/**
|
|
38597
|
+
*
|
|
38598
|
+
* @param {object} body
|
|
38599
|
+
* @param {*} [options] Override http request option.
|
|
38600
|
+
* @throws {RequiredError}
|
|
38601
|
+
* @memberof VendureSellerApi
|
|
38602
|
+
*/
|
|
38603
|
+
public upsert(body: object, options?: AxiosRequestConfig) {
|
|
38604
|
+
return VendureSellerApiFp(this.configuration).upsert(body, options).then((request) => request(this.axios, this.basePath));
|
|
38605
|
+
}
|
|
38606
|
+
}
|
|
38607
|
+
|
|
38608
|
+
|
|
37707
38609
|
/**
|
|
37708
38610
|
* VivaApi - axios parameter creator
|
|
37709
38611
|
* @export
|
|
@@ -38295,6 +39197,41 @@ export const WebhookApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
38295
39197
|
options: localVarRequestOptions,
|
|
38296
39198
|
};
|
|
38297
39199
|
},
|
|
39200
|
+
/**
|
|
39201
|
+
*
|
|
39202
|
+
* @param {ProcessKioskRecoveryQueueDto} processKioskRecoveryQueueDto
|
|
39203
|
+
* @param {*} [options] Override http request option.
|
|
39204
|
+
* @throws {RequiredError}
|
|
39205
|
+
*/
|
|
39206
|
+
processKioskRecoveryQueue: async (processKioskRecoveryQueueDto: ProcessKioskRecoveryQueueDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39207
|
+
// verify required parameter 'processKioskRecoveryQueueDto' is not null or undefined
|
|
39208
|
+
assertParamExists('processKioskRecoveryQueue', 'processKioskRecoveryQueueDto', processKioskRecoveryQueueDto)
|
|
39209
|
+
const localVarPath = `/api/webhook/kiosk/recovery/process`;
|
|
39210
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39211
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
39212
|
+
let baseOptions;
|
|
39213
|
+
if (configuration) {
|
|
39214
|
+
baseOptions = configuration.baseOptions;
|
|
39215
|
+
}
|
|
39216
|
+
|
|
39217
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
39218
|
+
const localVarHeaderParameter = {} as any;
|
|
39219
|
+
const localVarQueryParameter = {} as any;
|
|
39220
|
+
|
|
39221
|
+
|
|
39222
|
+
|
|
39223
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
39224
|
+
|
|
39225
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
39226
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
39227
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
39228
|
+
localVarRequestOptions.data = serializeDataIfNeeded(processKioskRecoveryQueueDto, localVarRequestOptions, configuration)
|
|
39229
|
+
|
|
39230
|
+
return {
|
|
39231
|
+
url: toPathString(localVarUrlObj),
|
|
39232
|
+
options: localVarRequestOptions,
|
|
39233
|
+
};
|
|
39234
|
+
},
|
|
38298
39235
|
/**
|
|
38299
39236
|
*
|
|
38300
39237
|
* @param {*} [options] Override http request option.
|
|
@@ -38505,6 +39442,16 @@ export const WebhookApiFp = function(configuration?: Configuration) {
|
|
|
38505
39442
|
const localVarAxiosArgs = await localVarAxiosParamCreator.handleWorldlineEvents(options);
|
|
38506
39443
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38507
39444
|
},
|
|
39445
|
+
/**
|
|
39446
|
+
*
|
|
39447
|
+
* @param {ProcessKioskRecoveryQueueDto} processKioskRecoveryQueueDto
|
|
39448
|
+
* @param {*} [options] Override http request option.
|
|
39449
|
+
* @throws {RequiredError}
|
|
39450
|
+
*/
|
|
39451
|
+
async processKioskRecoveryQueue(processKioskRecoveryQueueDto: ProcessKioskRecoveryQueueDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
39452
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.processKioskRecoveryQueue(processKioskRecoveryQueueDto, options);
|
|
39453
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
39454
|
+
},
|
|
38508
39455
|
/**
|
|
38509
39456
|
*
|
|
38510
39457
|
* @param {*} [options] Override http request option.
|
|
@@ -38660,6 +39607,15 @@ export const WebhookApiFactory = function (configuration?: Configuration, basePa
|
|
|
38660
39607
|
handleWorldlineEvents(options?: any): AxiosPromise<void> {
|
|
38661
39608
|
return localVarFp.handleWorldlineEvents(options).then((request) => request(axios, basePath));
|
|
38662
39609
|
},
|
|
39610
|
+
/**
|
|
39611
|
+
*
|
|
39612
|
+
* @param {ProcessKioskRecoveryQueueDto} processKioskRecoveryQueueDto
|
|
39613
|
+
* @param {*} [options] Override http request option.
|
|
39614
|
+
* @throws {RequiredError}
|
|
39615
|
+
*/
|
|
39616
|
+
processKioskRecoveryQueue(processKioskRecoveryQueueDto: ProcessKioskRecoveryQueueDto, options?: any): AxiosPromise<void> {
|
|
39617
|
+
return localVarFp.processKioskRecoveryQueue(processKioskRecoveryQueueDto, options).then((request) => request(axios, basePath));
|
|
39618
|
+
},
|
|
38663
39619
|
/**
|
|
38664
39620
|
*
|
|
38665
39621
|
* @param {*} [options] Override http request option.
|
|
@@ -38812,6 +39768,15 @@ export interface WebhookApiInterface {
|
|
|
38812
39768
|
*/
|
|
38813
39769
|
handleWorldlineEvents(options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
38814
39770
|
|
|
39771
|
+
/**
|
|
39772
|
+
*
|
|
39773
|
+
* @param {ProcessKioskRecoveryQueueDto} processKioskRecoveryQueueDto
|
|
39774
|
+
* @param {*} [options] Override http request option.
|
|
39775
|
+
* @throws {RequiredError}
|
|
39776
|
+
* @memberof WebhookApiInterface
|
|
39777
|
+
*/
|
|
39778
|
+
processKioskRecoveryQueue(processKioskRecoveryQueueDto: ProcessKioskRecoveryQueueDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
39779
|
+
|
|
38815
39780
|
/**
|
|
38816
39781
|
*
|
|
38817
39782
|
* @param {*} [options] Override http request option.
|
|
@@ -38994,6 +39959,17 @@ export class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
38994
39959
|
return WebhookApiFp(this.configuration).handleWorldlineEvents(options).then((request) => request(this.axios, this.basePath));
|
|
38995
39960
|
}
|
|
38996
39961
|
|
|
39962
|
+
/**
|
|
39963
|
+
*
|
|
39964
|
+
* @param {ProcessKioskRecoveryQueueDto} processKioskRecoveryQueueDto
|
|
39965
|
+
* @param {*} [options] Override http request option.
|
|
39966
|
+
* @throws {RequiredError}
|
|
39967
|
+
* @memberof WebhookApi
|
|
39968
|
+
*/
|
|
39969
|
+
public processKioskRecoveryQueue(processKioskRecoveryQueueDto: ProcessKioskRecoveryQueueDto, options?: AxiosRequestConfig) {
|
|
39970
|
+
return WebhookApiFp(this.configuration).processKioskRecoveryQueue(processKioskRecoveryQueueDto, options).then((request) => request(this.axios, this.basePath));
|
|
39971
|
+
}
|
|
39972
|
+
|
|
38997
39973
|
/**
|
|
38998
39974
|
*
|
|
38999
39975
|
* @param {*} [options] Override http request option.
|