@munchi_oy/core 1.9.3 → 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 +522 -0
- 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 +813 -51
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -419,7 +419,19 @@ export interface BusinessCategoryBodyDto {
|
|
|
419
419
|
* @memberof BusinessCategoryBodyDto
|
|
420
420
|
*/
|
|
421
421
|
'cid': Array<number>;
|
|
422
|
+
/**
|
|
423
|
+
* Menu type — controls which product filters are applied
|
|
424
|
+
* @type {string}
|
|
425
|
+
* @memberof BusinessCategoryBodyDto
|
|
426
|
+
*/
|
|
427
|
+
'menuType'?: MenuTypeEnum;
|
|
422
428
|
}
|
|
429
|
+
export declare const MenuTypeEnum: {
|
|
430
|
+
readonly Pos: "pos";
|
|
431
|
+
readonly Kiosk: "kiosk";
|
|
432
|
+
readonly Ayce: "ayce";
|
|
433
|
+
};
|
|
434
|
+
export type MenuTypeEnum = typeof MenuTypeEnum[keyof typeof MenuTypeEnum];
|
|
423
435
|
/**
|
|
424
436
|
*
|
|
425
437
|
* @export
|
|
@@ -504,6 +516,12 @@ export interface BusinessConfigResponseDto {
|
|
|
504
516
|
* @memberof BusinessConfigResponseDto
|
|
505
517
|
*/
|
|
506
518
|
'hasInvoiceCompany': boolean;
|
|
519
|
+
/**
|
|
520
|
+
* Whether POS orders should be hidden from OM for this business.
|
|
521
|
+
* @type {boolean}
|
|
522
|
+
* @memberof BusinessConfigResponseDto
|
|
523
|
+
*/
|
|
524
|
+
'hidePosOrdersInOm': boolean;
|
|
507
525
|
}
|
|
508
526
|
/**
|
|
509
527
|
* Business data attached
|
|
@@ -2830,6 +2848,19 @@ export interface ConfigManagementResponseDto {
|
|
|
2830
2848
|
*/
|
|
2831
2849
|
'data'?: object;
|
|
2832
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
|
+
}
|
|
2833
2864
|
/**
|
|
2834
2865
|
*
|
|
2835
2866
|
* @export
|
|
@@ -3090,6 +3121,152 @@ export interface CreateMerchantDto {
|
|
|
3090
3121
|
*/
|
|
3091
3122
|
'name': string;
|
|
3092
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
|
+
}
|
|
3093
3270
|
/**
|
|
3094
3271
|
*
|
|
3095
3272
|
* @export
|
|
@@ -4650,6 +4827,12 @@ export interface ExternalBusinessConfigDto {
|
|
|
4650
4827
|
* @memberof ExternalBusinessConfigDto
|
|
4651
4828
|
*/
|
|
4652
4829
|
'hasInvoiceCompany': boolean;
|
|
4830
|
+
/**
|
|
4831
|
+
* Whether POS orders should be hidden from OM for this business.
|
|
4832
|
+
* @type {boolean}
|
|
4833
|
+
* @memberof ExternalBusinessConfigDto
|
|
4834
|
+
*/
|
|
4835
|
+
'hidePosOrdersInOm': boolean;
|
|
4653
4836
|
}
|
|
4654
4837
|
/**
|
|
4655
4838
|
*
|
|
@@ -10247,6 +10430,8 @@ export declare const PaymentMethod: {
|
|
|
10247
10430
|
readonly GiftCardManual: "GiftCardManual";
|
|
10248
10431
|
readonly WoltBenefit: "WoltBenefit";
|
|
10249
10432
|
readonly Fundis: "Fundis";
|
|
10433
|
+
readonly UberEats: "UberEats";
|
|
10434
|
+
readonly MunchiGiftCard: "MunchiGiftCard";
|
|
10250
10435
|
};
|
|
10251
10436
|
export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
|
|
10252
10437
|
/**
|
|
@@ -11571,6 +11756,37 @@ export interface PosEmployeeDto {
|
|
|
11571
11756
|
*/
|
|
11572
11757
|
'pinHash': string;
|
|
11573
11758
|
}
|
|
11759
|
+
/**
|
|
11760
|
+
*
|
|
11761
|
+
* @export
|
|
11762
|
+
* @interface PosGlobalSettingsResponseDto
|
|
11763
|
+
*/
|
|
11764
|
+
export interface PosGlobalSettingsResponseDto {
|
|
11765
|
+
/**
|
|
11766
|
+
*
|
|
11767
|
+
* @type {number}
|
|
11768
|
+
* @memberof PosGlobalSettingsResponseDto
|
|
11769
|
+
*/
|
|
11770
|
+
'businessId': number;
|
|
11771
|
+
/**
|
|
11772
|
+
*
|
|
11773
|
+
* @type {ProviderEnum}
|
|
11774
|
+
* @memberof PosGlobalSettingsResponseDto
|
|
11775
|
+
*/
|
|
11776
|
+
'provider': ProviderEnum;
|
|
11777
|
+
/**
|
|
11778
|
+
*
|
|
11779
|
+
* @type {boolean}
|
|
11780
|
+
* @memberof PosGlobalSettingsResponseDto
|
|
11781
|
+
*/
|
|
11782
|
+
'hidePosOrdersInOm': boolean;
|
|
11783
|
+
/**
|
|
11784
|
+
*
|
|
11785
|
+
* @type {boolean}
|
|
11786
|
+
* @memberof PosGlobalSettingsResponseDto
|
|
11787
|
+
*/
|
|
11788
|
+
'emitPrintJob': boolean;
|
|
11789
|
+
}
|
|
11574
11790
|
/**
|
|
11575
11791
|
*
|
|
11576
11792
|
* @export
|
|
@@ -17597,6 +17813,19 @@ export interface UpdatePermissionDto {
|
|
|
17597
17813
|
*/
|
|
17598
17814
|
'enabled': boolean;
|
|
17599
17815
|
}
|
|
17816
|
+
/**
|
|
17817
|
+
*
|
|
17818
|
+
* @export
|
|
17819
|
+
* @interface UpdatePosGlobalSettingsDto
|
|
17820
|
+
*/
|
|
17821
|
+
export interface UpdatePosGlobalSettingsDto {
|
|
17822
|
+
/**
|
|
17823
|
+
* Whether POS orders should be hidden from OM for this business.
|
|
17824
|
+
* @type {boolean}
|
|
17825
|
+
* @memberof UpdatePosGlobalSettingsDto
|
|
17826
|
+
*/
|
|
17827
|
+
'hidePosOrdersInOm': boolean;
|
|
17828
|
+
}
|
|
17600
17829
|
/**
|
|
17601
17830
|
*
|
|
17602
17831
|
* @export
|
|
@@ -18005,6 +18234,8 @@ export declare const NameEnum: {
|
|
|
18005
18234
|
readonly GiftCardManual: "GiftCardManual";
|
|
18006
18235
|
readonly WoltBenefit: "WoltBenefit";
|
|
18007
18236
|
readonly Fundis: "Fundis";
|
|
18237
|
+
readonly UberEats: "UberEats";
|
|
18238
|
+
readonly MunchiGiftCard: "MunchiGiftCard";
|
|
18008
18239
|
};
|
|
18009
18240
|
export type NameEnum = typeof NameEnum[keyof typeof NameEnum];
|
|
18010
18241
|
/**
|
|
@@ -22573,6 +22804,86 @@ export declare class BusinessApi extends BaseAPI implements BusinessApiInterface
|
|
|
22573
22804
|
*/
|
|
22574
22805
|
validateBusiness(businessId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BusinessValidationResponseDto, any, {}>>;
|
|
22575
22806
|
}
|
|
22807
|
+
/**
|
|
22808
|
+
* BusinessProviderPolicyApi - axios parameter creator
|
|
22809
|
+
* @export
|
|
22810
|
+
*/
|
|
22811
|
+
export declare const BusinessProviderPolicyApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22812
|
+
/**
|
|
22813
|
+
*
|
|
22814
|
+
* @summary Update global POS visibility settings for a business
|
|
22815
|
+
* @param {number} businessId Business ID to update
|
|
22816
|
+
* @param {UpdatePosGlobalSettingsDto} updatePosGlobalSettingsDto
|
|
22817
|
+
* @param {*} [options] Override http request option.
|
|
22818
|
+
* @throws {RequiredError}
|
|
22819
|
+
*/
|
|
22820
|
+
updatePosGlobalSettings: (businessId: number, updatePosGlobalSettingsDto: UpdatePosGlobalSettingsDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22821
|
+
};
|
|
22822
|
+
/**
|
|
22823
|
+
* BusinessProviderPolicyApi - functional programming interface
|
|
22824
|
+
* @export
|
|
22825
|
+
*/
|
|
22826
|
+
export declare const BusinessProviderPolicyApiFp: (configuration?: Configuration) => {
|
|
22827
|
+
/**
|
|
22828
|
+
*
|
|
22829
|
+
* @summary Update global POS visibility settings for a business
|
|
22830
|
+
* @param {number} businessId Business ID to update
|
|
22831
|
+
* @param {UpdatePosGlobalSettingsDto} updatePosGlobalSettingsDto
|
|
22832
|
+
* @param {*} [options] Override http request option.
|
|
22833
|
+
* @throws {RequiredError}
|
|
22834
|
+
*/
|
|
22835
|
+
updatePosGlobalSettings(businessId: number, updatePosGlobalSettingsDto: UpdatePosGlobalSettingsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PosGlobalSettingsResponseDto>>;
|
|
22836
|
+
};
|
|
22837
|
+
/**
|
|
22838
|
+
* BusinessProviderPolicyApi - factory interface
|
|
22839
|
+
* @export
|
|
22840
|
+
*/
|
|
22841
|
+
export declare const BusinessProviderPolicyApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
22842
|
+
/**
|
|
22843
|
+
*
|
|
22844
|
+
* @summary Update global POS visibility settings for a business
|
|
22845
|
+
* @param {number} businessId Business ID to update
|
|
22846
|
+
* @param {UpdatePosGlobalSettingsDto} updatePosGlobalSettingsDto
|
|
22847
|
+
* @param {*} [options] Override http request option.
|
|
22848
|
+
* @throws {RequiredError}
|
|
22849
|
+
*/
|
|
22850
|
+
updatePosGlobalSettings(businessId: number, updatePosGlobalSettingsDto: UpdatePosGlobalSettingsDto, options?: any): AxiosPromise<PosGlobalSettingsResponseDto>;
|
|
22851
|
+
};
|
|
22852
|
+
/**
|
|
22853
|
+
* BusinessProviderPolicyApi - interface
|
|
22854
|
+
* @export
|
|
22855
|
+
* @interface BusinessProviderPolicyApi
|
|
22856
|
+
*/
|
|
22857
|
+
export interface BusinessProviderPolicyApiInterface {
|
|
22858
|
+
/**
|
|
22859
|
+
*
|
|
22860
|
+
* @summary Update global POS visibility settings for a business
|
|
22861
|
+
* @param {number} businessId Business ID to update
|
|
22862
|
+
* @param {UpdatePosGlobalSettingsDto} updatePosGlobalSettingsDto
|
|
22863
|
+
* @param {*} [options] Override http request option.
|
|
22864
|
+
* @throws {RequiredError}
|
|
22865
|
+
* @memberof BusinessProviderPolicyApiInterface
|
|
22866
|
+
*/
|
|
22867
|
+
updatePosGlobalSettings(businessId: number, updatePosGlobalSettingsDto: UpdatePosGlobalSettingsDto, options?: AxiosRequestConfig): AxiosPromise<PosGlobalSettingsResponseDto>;
|
|
22868
|
+
}
|
|
22869
|
+
/**
|
|
22870
|
+
* BusinessProviderPolicyApi - object-oriented interface
|
|
22871
|
+
* @export
|
|
22872
|
+
* @class BusinessProviderPolicyApi
|
|
22873
|
+
* @extends {BaseAPI}
|
|
22874
|
+
*/
|
|
22875
|
+
export declare class BusinessProviderPolicyApi extends BaseAPI implements BusinessProviderPolicyApiInterface {
|
|
22876
|
+
/**
|
|
22877
|
+
*
|
|
22878
|
+
* @summary Update global POS visibility settings for a business
|
|
22879
|
+
* @param {number} businessId Business ID to update
|
|
22880
|
+
* @param {UpdatePosGlobalSettingsDto} updatePosGlobalSettingsDto
|
|
22881
|
+
* @param {*} [options] Override http request option.
|
|
22882
|
+
* @throws {RequiredError}
|
|
22883
|
+
* @memberof BusinessProviderPolicyApi
|
|
22884
|
+
*/
|
|
22885
|
+
updatePosGlobalSettings(businessId: number, updatePosGlobalSettingsDto: UpdatePosGlobalSettingsDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PosGlobalSettingsResponseDto, any, {}>>;
|
|
22886
|
+
}
|
|
22576
22887
|
/**
|
|
22577
22888
|
* CashManagementApi - axios parameter creator
|
|
22578
22889
|
* @export
|
|
@@ -22893,6 +23204,16 @@ export declare class CashManagementApi extends BaseAPI implements CashManagement
|
|
|
22893
23204
|
* @export
|
|
22894
23205
|
*/
|
|
22895
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>;
|
|
22896
23217
|
/**
|
|
22897
23218
|
*
|
|
22898
23219
|
* @summary Manual sync trigger
|
|
@@ -22996,6 +23317,16 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
22996
23317
|
* @export
|
|
22997
23318
|
*/
|
|
22998
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>>;
|
|
22999
23330
|
/**
|
|
23000
23331
|
*
|
|
23001
23332
|
* @summary Manual sync trigger
|
|
@@ -23099,6 +23430,16 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
23099
23430
|
* @export
|
|
23100
23431
|
*/
|
|
23101
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>;
|
|
23102
23443
|
/**
|
|
23103
23444
|
*
|
|
23104
23445
|
* @summary Manual sync trigger
|
|
@@ -23203,6 +23544,17 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
23203
23544
|
* @interface ConfigManagementApi
|
|
23204
23545
|
*/
|
|
23205
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>;
|
|
23206
23558
|
/**
|
|
23207
23559
|
*
|
|
23208
23560
|
* @summary Manual sync trigger
|
|
@@ -23318,6 +23670,17 @@ export interface ConfigManagementApiInterface {
|
|
|
23318
23670
|
* @extends {BaseAPI}
|
|
23319
23671
|
*/
|
|
23320
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, {}>>;
|
|
23321
23684
|
/**
|
|
23322
23685
|
*
|
|
23323
23686
|
* @summary Manual sync trigger
|
|
@@ -25509,6 +25872,165 @@ export declare class MerchantsApi extends BaseAPI implements MerchantsApiInterfa
|
|
|
25509
25872
|
*/
|
|
25510
25873
|
removeBusinessFromMerchant(merchantId: string, businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UnlinkBusinessResultDto, any, {}>>;
|
|
25511
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
|
+
}
|
|
25512
26034
|
/**
|
|
25513
26035
|
* NotificationApi - axios parameter creator
|
|
25514
26036
|
* @export
|