@munchi_oy/core 1.9.4 → 1.9.5
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 +375 -1
- 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 +555 -3
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -420,7 +420,7 @@ export interface BusinessCategoryBodyDto {
|
|
|
420
420
|
*/
|
|
421
421
|
'cid': Array<number>;
|
|
422
422
|
/**
|
|
423
|
-
*
|
|
423
|
+
* Menu type — controls which product filters are applied
|
|
424
424
|
* @type {string}
|
|
425
425
|
* @memberof BusinessCategoryBodyDto
|
|
426
426
|
*/
|
|
@@ -2848,6 +2848,19 @@ export interface ConfigManagementResponseDto {
|
|
|
2848
2848
|
*/
|
|
2849
2849
|
'data'?: object;
|
|
2850
2850
|
}
|
|
2851
|
+
/**
|
|
2852
|
+
*
|
|
2853
|
+
* @export
|
|
2854
|
+
* @interface ConfigureMunchiGiftCardDto
|
|
2855
|
+
*/
|
|
2856
|
+
export interface ConfigureMunchiGiftCardDto {
|
|
2857
|
+
/**
|
|
2858
|
+
*
|
|
2859
|
+
* @type {boolean}
|
|
2860
|
+
* @memberof ConfigureMunchiGiftCardDto
|
|
2861
|
+
*/
|
|
2862
|
+
'active': boolean;
|
|
2863
|
+
}
|
|
2851
2864
|
/**
|
|
2852
2865
|
*
|
|
2853
2866
|
* @export
|
|
@@ -3108,6 +3121,152 @@ export interface CreateMerchantDto {
|
|
|
3108
3121
|
*/
|
|
3109
3122
|
'name': string;
|
|
3110
3123
|
}
|
|
3124
|
+
/**
|
|
3125
|
+
*
|
|
3126
|
+
* @export
|
|
3127
|
+
* @interface CreateMunchiGiftCardDto
|
|
3128
|
+
*/
|
|
3129
|
+
export interface CreateMunchiGiftCardDto {
|
|
3130
|
+
/**
|
|
3131
|
+
*
|
|
3132
|
+
* @type {number}
|
|
3133
|
+
* @memberof CreateMunchiGiftCardDto
|
|
3134
|
+
*/
|
|
3135
|
+
'orderingBusinessId': number;
|
|
3136
|
+
/**
|
|
3137
|
+
* Initial balance stored in cents.
|
|
3138
|
+
* @type {number}
|
|
3139
|
+
* @memberof CreateMunchiGiftCardDto
|
|
3140
|
+
*/
|
|
3141
|
+
'amount': number;
|
|
3142
|
+
/**
|
|
3143
|
+
*
|
|
3144
|
+
* @type {CurrencyCode}
|
|
3145
|
+
* @memberof CreateMunchiGiftCardDto
|
|
3146
|
+
*/
|
|
3147
|
+
'currency'?: CurrencyCode;
|
|
3148
|
+
/**
|
|
3149
|
+
* When true, the card is created for the current merchant group instead of the current business only.
|
|
3150
|
+
* @type {boolean}
|
|
3151
|
+
* @memberof CreateMunchiGiftCardDto
|
|
3152
|
+
*/
|
|
3153
|
+
'useMerchantScope'?: boolean;
|
|
3154
|
+
/**
|
|
3155
|
+
*
|
|
3156
|
+
* @type {string}
|
|
3157
|
+
* @memberof CreateMunchiGiftCardDto
|
|
3158
|
+
*/
|
|
3159
|
+
'purchaserName'?: string;
|
|
3160
|
+
/**
|
|
3161
|
+
*
|
|
3162
|
+
* @type {string}
|
|
3163
|
+
* @memberof CreateMunchiGiftCardDto
|
|
3164
|
+
*/
|
|
3165
|
+
'purchaserEmail'?: string;
|
|
3166
|
+
/**
|
|
3167
|
+
*
|
|
3168
|
+
* @type {string}
|
|
3169
|
+
* @memberof CreateMunchiGiftCardDto
|
|
3170
|
+
*/
|
|
3171
|
+
'phoneCountryCode'?: string;
|
|
3172
|
+
/**
|
|
3173
|
+
*
|
|
3174
|
+
* @type {string}
|
|
3175
|
+
* @memberof CreateMunchiGiftCardDto
|
|
3176
|
+
*/
|
|
3177
|
+
'phoneNumber'?: string;
|
|
3178
|
+
/**
|
|
3179
|
+
*
|
|
3180
|
+
* @type {string}
|
|
3181
|
+
* @memberof CreateMunchiGiftCardDto
|
|
3182
|
+
*/
|
|
3183
|
+
'expiresAt'?: string;
|
|
3184
|
+
}
|
|
3185
|
+
/**
|
|
3186
|
+
*
|
|
3187
|
+
* @export
|
|
3188
|
+
* @interface CreateMunchiGiftCardResponseDto
|
|
3189
|
+
*/
|
|
3190
|
+
export interface CreateMunchiGiftCardResponseDto {
|
|
3191
|
+
/**
|
|
3192
|
+
*
|
|
3193
|
+
* @type {string}
|
|
3194
|
+
* @memberof CreateMunchiGiftCardResponseDto
|
|
3195
|
+
*/
|
|
3196
|
+
'id': string;
|
|
3197
|
+
/**
|
|
3198
|
+
*
|
|
3199
|
+
* @type {string}
|
|
3200
|
+
* @memberof CreateMunchiGiftCardResponseDto
|
|
3201
|
+
*/
|
|
3202
|
+
'code': string;
|
|
3203
|
+
/**
|
|
3204
|
+
*
|
|
3205
|
+
* @type {CurrencyCode}
|
|
3206
|
+
* @memberof CreateMunchiGiftCardResponseDto
|
|
3207
|
+
*/
|
|
3208
|
+
'currency': CurrencyCode;
|
|
3209
|
+
/**
|
|
3210
|
+
* Initial balance stored in cents.
|
|
3211
|
+
* @type {number}
|
|
3212
|
+
* @memberof CreateMunchiGiftCardResponseDto
|
|
3213
|
+
*/
|
|
3214
|
+
'initialBalance': number;
|
|
3215
|
+
/**
|
|
3216
|
+
* Remaining balance stored in cents.
|
|
3217
|
+
* @type {number}
|
|
3218
|
+
* @memberof CreateMunchiGiftCardResponseDto
|
|
3219
|
+
*/
|
|
3220
|
+
'remainingBalance': number;
|
|
3221
|
+
/**
|
|
3222
|
+
*
|
|
3223
|
+
* @type {number}
|
|
3224
|
+
* @memberof CreateMunchiGiftCardResponseDto
|
|
3225
|
+
*/
|
|
3226
|
+
'businessId'?: number | null;
|
|
3227
|
+
/**
|
|
3228
|
+
*
|
|
3229
|
+
* @type {string}
|
|
3230
|
+
* @memberof CreateMunchiGiftCardResponseDto
|
|
3231
|
+
*/
|
|
3232
|
+
'merchantId'?: string | null;
|
|
3233
|
+
/**
|
|
3234
|
+
*
|
|
3235
|
+
* @type {string}
|
|
3236
|
+
* @memberof CreateMunchiGiftCardResponseDto
|
|
3237
|
+
*/
|
|
3238
|
+
'purchaserName'?: string | null;
|
|
3239
|
+
/**
|
|
3240
|
+
*
|
|
3241
|
+
* @type {string}
|
|
3242
|
+
* @memberof CreateMunchiGiftCardResponseDto
|
|
3243
|
+
*/
|
|
3244
|
+
'purchaserEmail'?: string | null;
|
|
3245
|
+
/**
|
|
3246
|
+
*
|
|
3247
|
+
* @type {string}
|
|
3248
|
+
* @memberof CreateMunchiGiftCardResponseDto
|
|
3249
|
+
*/
|
|
3250
|
+
'phoneCountryCode'?: string | null;
|
|
3251
|
+
/**
|
|
3252
|
+
*
|
|
3253
|
+
* @type {string}
|
|
3254
|
+
* @memberof CreateMunchiGiftCardResponseDto
|
|
3255
|
+
*/
|
|
3256
|
+
'phoneNumber'?: string | null;
|
|
3257
|
+
/**
|
|
3258
|
+
*
|
|
3259
|
+
* @type {string}
|
|
3260
|
+
* @memberof CreateMunchiGiftCardResponseDto
|
|
3261
|
+
*/
|
|
3262
|
+
'expiresAt'?: string | null;
|
|
3263
|
+
/**
|
|
3264
|
+
*
|
|
3265
|
+
* @type {string}
|
|
3266
|
+
* @memberof CreateMunchiGiftCardResponseDto
|
|
3267
|
+
*/
|
|
3268
|
+
'createdAt': string;
|
|
3269
|
+
}
|
|
3111
3270
|
/**
|
|
3112
3271
|
*
|
|
3113
3272
|
* @export
|
|
@@ -10271,6 +10430,8 @@ export declare const PaymentMethod: {
|
|
|
10271
10430
|
readonly GiftCardManual: "GiftCardManual";
|
|
10272
10431
|
readonly WoltBenefit: "WoltBenefit";
|
|
10273
10432
|
readonly Fundis: "Fundis";
|
|
10433
|
+
readonly UberEats: "UberEats";
|
|
10434
|
+
readonly MunchiGiftCard: "MunchiGiftCard";
|
|
10274
10435
|
};
|
|
10275
10436
|
export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
|
|
10276
10437
|
/**
|
|
@@ -18073,6 +18234,8 @@ export declare const NameEnum: {
|
|
|
18073
18234
|
readonly GiftCardManual: "GiftCardManual";
|
|
18074
18235
|
readonly WoltBenefit: "WoltBenefit";
|
|
18075
18236
|
readonly Fundis: "Fundis";
|
|
18237
|
+
readonly UberEats: "UberEats";
|
|
18238
|
+
readonly MunchiGiftCard: "MunchiGiftCard";
|
|
18076
18239
|
};
|
|
18077
18240
|
export type NameEnum = typeof NameEnum[keyof typeof NameEnum];
|
|
18078
18241
|
/**
|
|
@@ -23041,6 +23204,16 @@ export declare class CashManagementApi extends BaseAPI implements CashManagement
|
|
|
23041
23204
|
* @export
|
|
23042
23205
|
*/
|
|
23043
23206
|
export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23207
|
+
/**
|
|
23208
|
+
*
|
|
23209
|
+
* @summary Enable or disable first-party Munchi GiftCard integration
|
|
23210
|
+
* @param {number} businessId
|
|
23211
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
23212
|
+
* @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
|
|
23213
|
+
* @param {*} [options] Override http request option.
|
|
23214
|
+
* @throws {RequiredError}
|
|
23215
|
+
*/
|
|
23216
|
+
configConfigureMunchiGiftCard: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront", configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23044
23217
|
/**
|
|
23045
23218
|
*
|
|
23046
23219
|
* @summary Manual sync trigger
|
|
@@ -23144,6 +23317,16 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
23144
23317
|
* @export
|
|
23145
23318
|
*/
|
|
23146
23319
|
export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
23320
|
+
/**
|
|
23321
|
+
*
|
|
23322
|
+
* @summary Enable or disable first-party Munchi GiftCard integration
|
|
23323
|
+
* @param {number} businessId
|
|
23324
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
23325
|
+
* @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
|
|
23326
|
+
* @param {*} [options] Override http request option.
|
|
23327
|
+
* @throws {RequiredError}
|
|
23328
|
+
*/
|
|
23329
|
+
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>>;
|
|
23147
23330
|
/**
|
|
23148
23331
|
*
|
|
23149
23332
|
* @summary Manual sync trigger
|
|
@@ -23247,6 +23430,16 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
23247
23430
|
* @export
|
|
23248
23431
|
*/
|
|
23249
23432
|
export declare const ConfigManagementApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
23433
|
+
/**
|
|
23434
|
+
*
|
|
23435
|
+
* @summary Enable or disable first-party Munchi GiftCard integration
|
|
23436
|
+
* @param {number} businessId
|
|
23437
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
23438
|
+
* @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
|
|
23439
|
+
* @param {*} [options] Override http request option.
|
|
23440
|
+
* @throws {RequiredError}
|
|
23441
|
+
*/
|
|
23442
|
+
configConfigureMunchiGiftCard(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront", configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
23250
23443
|
/**
|
|
23251
23444
|
*
|
|
23252
23445
|
* @summary Manual sync trigger
|
|
@@ -23351,6 +23544,17 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
23351
23544
|
* @interface ConfigManagementApi
|
|
23352
23545
|
*/
|
|
23353
23546
|
export interface ConfigManagementApiInterface {
|
|
23547
|
+
/**
|
|
23548
|
+
*
|
|
23549
|
+
* @summary Enable or disable first-party Munchi GiftCard integration
|
|
23550
|
+
* @param {number} businessId
|
|
23551
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
23552
|
+
* @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
|
|
23553
|
+
* @param {*} [options] Override http request option.
|
|
23554
|
+
* @throws {RequiredError}
|
|
23555
|
+
* @memberof ConfigManagementApiInterface
|
|
23556
|
+
*/
|
|
23557
|
+
configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
23354
23558
|
/**
|
|
23355
23559
|
*
|
|
23356
23560
|
* @summary Manual sync trigger
|
|
@@ -23466,6 +23670,17 @@ export interface ConfigManagementApiInterface {
|
|
|
23466
23670
|
* @extends {BaseAPI}
|
|
23467
23671
|
*/
|
|
23468
23672
|
export declare class ConfigManagementApi extends BaseAPI implements ConfigManagementApiInterface {
|
|
23673
|
+
/**
|
|
23674
|
+
*
|
|
23675
|
+
* @summary Enable or disable first-party Munchi GiftCard integration
|
|
23676
|
+
* @param {number} businessId
|
|
23677
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront'} xAppX
|
|
23678
|
+
* @param {ConfigureMunchiGiftCardDto} configureMunchiGiftCardDto
|
|
23679
|
+
* @param {*} [options] Override http request option.
|
|
23680
|
+
* @throws {RequiredError}
|
|
23681
|
+
* @memberof ConfigManagementApi
|
|
23682
|
+
*/
|
|
23683
|
+
configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigManagementResponseDto, any, {}>>;
|
|
23469
23684
|
/**
|
|
23470
23685
|
*
|
|
23471
23686
|
* @summary Manual sync trigger
|
|
@@ -25657,6 +25872,165 @@ export declare class MerchantsApi extends BaseAPI implements MerchantsApiInterfa
|
|
|
25657
25872
|
*/
|
|
25658
25873
|
removeBusinessFromMerchant(merchantId: string, businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UnlinkBusinessResultDto, any, {}>>;
|
|
25659
25874
|
}
|
|
25875
|
+
/**
|
|
25876
|
+
* MunchiGiftCardApi - axios parameter creator
|
|
25877
|
+
* @export
|
|
25878
|
+
*/
|
|
25879
|
+
export declare const MunchiGiftCardApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25880
|
+
/**
|
|
25881
|
+
*
|
|
25882
|
+
* @summary Create a first-party Munchi gift card
|
|
25883
|
+
* @param {CreateMunchiGiftCardDto} createMunchiGiftCardDto
|
|
25884
|
+
* @param {*} [options] Override http request option.
|
|
25885
|
+
* @throws {RequiredError}
|
|
25886
|
+
*/
|
|
25887
|
+
createMunchiGiftCard: (createMunchiGiftCardDto: CreateMunchiGiftCardDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25888
|
+
/**
|
|
25889
|
+
*
|
|
25890
|
+
* @summary Redeem a first-party Munchi gift card
|
|
25891
|
+
* @param {RedeemGiftCardDto} redeemGiftCardDto
|
|
25892
|
+
* @param {*} [options] Override http request option.
|
|
25893
|
+
* @throws {RequiredError}
|
|
25894
|
+
*/
|
|
25895
|
+
redeemMunchiGiftCard: (redeemGiftCardDto: RedeemGiftCardDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25896
|
+
/**
|
|
25897
|
+
*
|
|
25898
|
+
* @summary Validate a first-party Munchi gift card
|
|
25899
|
+
* @param {ValidateGiftCardDto} validateGiftCardDto
|
|
25900
|
+
* @param {*} [options] Override http request option.
|
|
25901
|
+
* @throws {RequiredError}
|
|
25902
|
+
*/
|
|
25903
|
+
validateMunchiGiftCard: (validateGiftCardDto: ValidateGiftCardDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25904
|
+
};
|
|
25905
|
+
/**
|
|
25906
|
+
* MunchiGiftCardApi - functional programming interface
|
|
25907
|
+
* @export
|
|
25908
|
+
*/
|
|
25909
|
+
export declare const MunchiGiftCardApiFp: (configuration?: Configuration) => {
|
|
25910
|
+
/**
|
|
25911
|
+
*
|
|
25912
|
+
* @summary Create a first-party Munchi gift card
|
|
25913
|
+
* @param {CreateMunchiGiftCardDto} createMunchiGiftCardDto
|
|
25914
|
+
* @param {*} [options] Override http request option.
|
|
25915
|
+
* @throws {RequiredError}
|
|
25916
|
+
*/
|
|
25917
|
+
createMunchiGiftCard(createMunchiGiftCardDto: CreateMunchiGiftCardDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateMunchiGiftCardResponseDto>>;
|
|
25918
|
+
/**
|
|
25919
|
+
*
|
|
25920
|
+
* @summary Redeem a first-party Munchi gift card
|
|
25921
|
+
* @param {RedeemGiftCardDto} redeemGiftCardDto
|
|
25922
|
+
* @param {*} [options] Override http request option.
|
|
25923
|
+
* @throws {RequiredError}
|
|
25924
|
+
*/
|
|
25925
|
+
redeemMunchiGiftCard(redeemGiftCardDto: RedeemGiftCardDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedeemGiftCardResponseDto>>;
|
|
25926
|
+
/**
|
|
25927
|
+
*
|
|
25928
|
+
* @summary Validate a first-party Munchi gift card
|
|
25929
|
+
* @param {ValidateGiftCardDto} validateGiftCardDto
|
|
25930
|
+
* @param {*} [options] Override http request option.
|
|
25931
|
+
* @throws {RequiredError}
|
|
25932
|
+
*/
|
|
25933
|
+
validateMunchiGiftCard(validateGiftCardDto: ValidateGiftCardDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidateGiftCardResponseDto>>;
|
|
25934
|
+
};
|
|
25935
|
+
/**
|
|
25936
|
+
* MunchiGiftCardApi - factory interface
|
|
25937
|
+
* @export
|
|
25938
|
+
*/
|
|
25939
|
+
export declare const MunchiGiftCardApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
25940
|
+
/**
|
|
25941
|
+
*
|
|
25942
|
+
* @summary Create a first-party Munchi gift card
|
|
25943
|
+
* @param {CreateMunchiGiftCardDto} createMunchiGiftCardDto
|
|
25944
|
+
* @param {*} [options] Override http request option.
|
|
25945
|
+
* @throws {RequiredError}
|
|
25946
|
+
*/
|
|
25947
|
+
createMunchiGiftCard(createMunchiGiftCardDto: CreateMunchiGiftCardDto, options?: any): AxiosPromise<CreateMunchiGiftCardResponseDto>;
|
|
25948
|
+
/**
|
|
25949
|
+
*
|
|
25950
|
+
* @summary Redeem a first-party Munchi gift card
|
|
25951
|
+
* @param {RedeemGiftCardDto} redeemGiftCardDto
|
|
25952
|
+
* @param {*} [options] Override http request option.
|
|
25953
|
+
* @throws {RequiredError}
|
|
25954
|
+
*/
|
|
25955
|
+
redeemMunchiGiftCard(redeemGiftCardDto: RedeemGiftCardDto, options?: any): AxiosPromise<RedeemGiftCardResponseDto>;
|
|
25956
|
+
/**
|
|
25957
|
+
*
|
|
25958
|
+
* @summary Validate a first-party Munchi gift card
|
|
25959
|
+
* @param {ValidateGiftCardDto} validateGiftCardDto
|
|
25960
|
+
* @param {*} [options] Override http request option.
|
|
25961
|
+
* @throws {RequiredError}
|
|
25962
|
+
*/
|
|
25963
|
+
validateMunchiGiftCard(validateGiftCardDto: ValidateGiftCardDto, options?: any): AxiosPromise<ValidateGiftCardResponseDto>;
|
|
25964
|
+
};
|
|
25965
|
+
/**
|
|
25966
|
+
* MunchiGiftCardApi - interface
|
|
25967
|
+
* @export
|
|
25968
|
+
* @interface MunchiGiftCardApi
|
|
25969
|
+
*/
|
|
25970
|
+
export interface MunchiGiftCardApiInterface {
|
|
25971
|
+
/**
|
|
25972
|
+
*
|
|
25973
|
+
* @summary Create a first-party Munchi gift card
|
|
25974
|
+
* @param {CreateMunchiGiftCardDto} createMunchiGiftCardDto
|
|
25975
|
+
* @param {*} [options] Override http request option.
|
|
25976
|
+
* @throws {RequiredError}
|
|
25977
|
+
* @memberof MunchiGiftCardApiInterface
|
|
25978
|
+
*/
|
|
25979
|
+
createMunchiGiftCard(createMunchiGiftCardDto: CreateMunchiGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<CreateMunchiGiftCardResponseDto>;
|
|
25980
|
+
/**
|
|
25981
|
+
*
|
|
25982
|
+
* @summary Redeem a first-party Munchi gift card
|
|
25983
|
+
* @param {RedeemGiftCardDto} redeemGiftCardDto
|
|
25984
|
+
* @param {*} [options] Override http request option.
|
|
25985
|
+
* @throws {RequiredError}
|
|
25986
|
+
* @memberof MunchiGiftCardApiInterface
|
|
25987
|
+
*/
|
|
25988
|
+
redeemMunchiGiftCard(redeemGiftCardDto: RedeemGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<RedeemGiftCardResponseDto>;
|
|
25989
|
+
/**
|
|
25990
|
+
*
|
|
25991
|
+
* @summary Validate a first-party Munchi gift card
|
|
25992
|
+
* @param {ValidateGiftCardDto} validateGiftCardDto
|
|
25993
|
+
* @param {*} [options] Override http request option.
|
|
25994
|
+
* @throws {RequiredError}
|
|
25995
|
+
* @memberof MunchiGiftCardApiInterface
|
|
25996
|
+
*/
|
|
25997
|
+
validateMunchiGiftCard(validateGiftCardDto: ValidateGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ValidateGiftCardResponseDto>;
|
|
25998
|
+
}
|
|
25999
|
+
/**
|
|
26000
|
+
* MunchiGiftCardApi - object-oriented interface
|
|
26001
|
+
* @export
|
|
26002
|
+
* @class MunchiGiftCardApi
|
|
26003
|
+
* @extends {BaseAPI}
|
|
26004
|
+
*/
|
|
26005
|
+
export declare class MunchiGiftCardApi extends BaseAPI implements MunchiGiftCardApiInterface {
|
|
26006
|
+
/**
|
|
26007
|
+
*
|
|
26008
|
+
* @summary Create a first-party Munchi gift card
|
|
26009
|
+
* @param {CreateMunchiGiftCardDto} createMunchiGiftCardDto
|
|
26010
|
+
* @param {*} [options] Override http request option.
|
|
26011
|
+
* @throws {RequiredError}
|
|
26012
|
+
* @memberof MunchiGiftCardApi
|
|
26013
|
+
*/
|
|
26014
|
+
createMunchiGiftCard(createMunchiGiftCardDto: CreateMunchiGiftCardDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateMunchiGiftCardResponseDto, any, {}>>;
|
|
26015
|
+
/**
|
|
26016
|
+
*
|
|
26017
|
+
* @summary Redeem a first-party Munchi gift card
|
|
26018
|
+
* @param {RedeemGiftCardDto} redeemGiftCardDto
|
|
26019
|
+
* @param {*} [options] Override http request option.
|
|
26020
|
+
* @throws {RequiredError}
|
|
26021
|
+
* @memberof MunchiGiftCardApi
|
|
26022
|
+
*/
|
|
26023
|
+
redeemMunchiGiftCard(redeemGiftCardDto: RedeemGiftCardDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RedeemGiftCardResponseDto, any, {}>>;
|
|
26024
|
+
/**
|
|
26025
|
+
*
|
|
26026
|
+
* @summary Validate a first-party Munchi gift card
|
|
26027
|
+
* @param {ValidateGiftCardDto} validateGiftCardDto
|
|
26028
|
+
* @param {*} [options] Override http request option.
|
|
26029
|
+
* @throws {RequiredError}
|
|
26030
|
+
* @memberof MunchiGiftCardApi
|
|
26031
|
+
*/
|
|
26032
|
+
validateMunchiGiftCard(validateGiftCardDto: ValidateGiftCardDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateGiftCardResponseDto, any, {}>>;
|
|
26033
|
+
}
|
|
25660
26034
|
/**
|
|
25661
26035
|
* NotificationApi - axios parameter creator
|
|
25662
26036
|
* @export
|