@munchi_oy/core 1.9.7 → 1.9.9
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 +237 -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 +281 -1
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -396,6 +396,16 @@ export interface AmountDto {
|
|
|
396
396
|
*/
|
|
397
397
|
'currency': string;
|
|
398
398
|
}
|
|
399
|
+
/**
|
|
400
|
+
*
|
|
401
|
+
* @export
|
|
402
|
+
* @enum {string}
|
|
403
|
+
*/
|
|
404
|
+
export declare const AutonomousVehicleType: {
|
|
405
|
+
readonly Sidewalk: "VEHICLE_TYPE_SIDEWALK";
|
|
406
|
+
readonly FlyingDrone: "VEHICLE_TYPE_FLYING_DRONE";
|
|
407
|
+
};
|
|
408
|
+
export type AutonomousVehicleType = typeof AutonomousVehicleType[keyof typeof AutonomousVehicleType];
|
|
399
409
|
/**
|
|
400
410
|
*
|
|
401
411
|
* @export
|
|
@@ -3200,6 +3210,12 @@ export interface CreateMunchiGiftCardResponseDto {
|
|
|
3200
3210
|
* @memberof CreateMunchiGiftCardResponseDto
|
|
3201
3211
|
*/
|
|
3202
3212
|
'code': string;
|
|
3213
|
+
/**
|
|
3214
|
+
* Placeholder gift card link used by the POS to render a QR code.
|
|
3215
|
+
* @type {string}
|
|
3216
|
+
* @memberof CreateMunchiGiftCardResponseDto
|
|
3217
|
+
*/
|
|
3218
|
+
'href'?: string | null;
|
|
3203
3219
|
/**
|
|
3204
3220
|
*
|
|
3205
3221
|
* @type {CurrencyCode}
|
|
@@ -3736,6 +3752,12 @@ export interface DeliveryDto {
|
|
|
3736
3752
|
* @memberof DeliveryDto
|
|
3737
3753
|
*/
|
|
3738
3754
|
'deliveryFee': number;
|
|
3755
|
+
/**
|
|
3756
|
+
*
|
|
3757
|
+
* @type {AutonomousVehicleType}
|
|
3758
|
+
* @memberof DeliveryDto
|
|
3759
|
+
*/
|
|
3760
|
+
'autonomousVehicleType'?: AutonomousVehicleType | null;
|
|
3739
3761
|
}
|
|
3740
3762
|
/**
|
|
3741
3763
|
* Delivery location details
|
|
@@ -5024,6 +5046,50 @@ export interface FirebaseTokenDto {
|
|
|
5024
5046
|
*/
|
|
5025
5047
|
'customToken': string;
|
|
5026
5048
|
}
|
|
5049
|
+
/**
|
|
5050
|
+
*
|
|
5051
|
+
* @export
|
|
5052
|
+
* @interface GetMunchiGiftCardDataDto
|
|
5053
|
+
*/
|
|
5054
|
+
export interface GetMunchiGiftCardDataDto {
|
|
5055
|
+
/**
|
|
5056
|
+
*
|
|
5057
|
+
* @type {number}
|
|
5058
|
+
* @memberof GetMunchiGiftCardDataDto
|
|
5059
|
+
*/
|
|
5060
|
+
'orderingBusinessId': number;
|
|
5061
|
+
/**
|
|
5062
|
+
*
|
|
5063
|
+
* @type {string}
|
|
5064
|
+
* @memberof GetMunchiGiftCardDataDto
|
|
5065
|
+
*/
|
|
5066
|
+
'startDate'?: string;
|
|
5067
|
+
/**
|
|
5068
|
+
*
|
|
5069
|
+
* @type {string}
|
|
5070
|
+
* @memberof GetMunchiGiftCardDataDto
|
|
5071
|
+
*/
|
|
5072
|
+
'endDate'?: string;
|
|
5073
|
+
}
|
|
5074
|
+
/**
|
|
5075
|
+
*
|
|
5076
|
+
* @export
|
|
5077
|
+
* @interface GetMunchiGiftCardDataResponseDto
|
|
5078
|
+
*/
|
|
5079
|
+
export interface GetMunchiGiftCardDataResponseDto {
|
|
5080
|
+
/**
|
|
5081
|
+
*
|
|
5082
|
+
* @type {MunchiGiftCardBusinessDataDto}
|
|
5083
|
+
* @memberof GetMunchiGiftCardDataResponseDto
|
|
5084
|
+
*/
|
|
5085
|
+
'business': MunchiGiftCardBusinessDataDto;
|
|
5086
|
+
/**
|
|
5087
|
+
*
|
|
5088
|
+
* @type {Array<MunchiGiftCardDataItemDto>}
|
|
5089
|
+
* @memberof GetMunchiGiftCardDataResponseDto
|
|
5090
|
+
*/
|
|
5091
|
+
'giftCards': Array<MunchiGiftCardDataItemDto>;
|
|
5092
|
+
}
|
|
5027
5093
|
/**
|
|
5028
5094
|
*
|
|
5029
5095
|
* @export
|
|
@@ -5369,6 +5435,7 @@ export declare const IntegrationType: {
|
|
|
5369
5435
|
readonly Menu: "MENU";
|
|
5370
5436
|
readonly Venue: "VENUE";
|
|
5371
5437
|
readonly Kds: "KDS";
|
|
5438
|
+
readonly Ayce: "AYCE";
|
|
5372
5439
|
};
|
|
5373
5440
|
export type IntegrationType = typeof IntegrationType[keyof typeof IntegrationType];
|
|
5374
5441
|
/**
|
|
@@ -8103,6 +8170,116 @@ export interface MoneyDto {
|
|
|
8103
8170
|
*/
|
|
8104
8171
|
'currency': string;
|
|
8105
8172
|
}
|
|
8173
|
+
/**
|
|
8174
|
+
*
|
|
8175
|
+
* @export
|
|
8176
|
+
* @interface MunchiGiftCardBusinessDataDto
|
|
8177
|
+
*/
|
|
8178
|
+
export interface MunchiGiftCardBusinessDataDto {
|
|
8179
|
+
/**
|
|
8180
|
+
*
|
|
8181
|
+
* @type {number}
|
|
8182
|
+
* @memberof MunchiGiftCardBusinessDataDto
|
|
8183
|
+
*/
|
|
8184
|
+
'orderingBusinessId': number;
|
|
8185
|
+
/**
|
|
8186
|
+
*
|
|
8187
|
+
* @type {string}
|
|
8188
|
+
* @memberof MunchiGiftCardBusinessDataDto
|
|
8189
|
+
*/
|
|
8190
|
+
'name': string;
|
|
8191
|
+
/**
|
|
8192
|
+
*
|
|
8193
|
+
* @type {string}
|
|
8194
|
+
* @memberof MunchiGiftCardBusinessDataDto
|
|
8195
|
+
*/
|
|
8196
|
+
'email'?: string | null;
|
|
8197
|
+
/**
|
|
8198
|
+
*
|
|
8199
|
+
* @type {string}
|
|
8200
|
+
* @memberof MunchiGiftCardBusinessDataDto
|
|
8201
|
+
*/
|
|
8202
|
+
'timezone'?: string | null;
|
|
8203
|
+
}
|
|
8204
|
+
/**
|
|
8205
|
+
*
|
|
8206
|
+
* @export
|
|
8207
|
+
* @interface MunchiGiftCardDataItemDto
|
|
8208
|
+
*/
|
|
8209
|
+
export interface MunchiGiftCardDataItemDto {
|
|
8210
|
+
/**
|
|
8211
|
+
*
|
|
8212
|
+
* @type {string}
|
|
8213
|
+
* @memberof MunchiGiftCardDataItemDto
|
|
8214
|
+
*/
|
|
8215
|
+
'id': string;
|
|
8216
|
+
/**
|
|
8217
|
+
*
|
|
8218
|
+
* @type {string}
|
|
8219
|
+
* @memberof MunchiGiftCardDataItemDto
|
|
8220
|
+
*/
|
|
8221
|
+
'code': string;
|
|
8222
|
+
/**
|
|
8223
|
+
* Placeholder gift card link used by the POS to render a QR code.
|
|
8224
|
+
* @type {string}
|
|
8225
|
+
* @memberof MunchiGiftCardDataItemDto
|
|
8226
|
+
*/
|
|
8227
|
+
'href'?: string | null;
|
|
8228
|
+
/**
|
|
8229
|
+
*
|
|
8230
|
+
* @type {CurrencyCode}
|
|
8231
|
+
* @memberof MunchiGiftCardDataItemDto
|
|
8232
|
+
*/
|
|
8233
|
+
'currency': CurrencyCode;
|
|
8234
|
+
/**
|
|
8235
|
+
* Initial balance stored in cents.
|
|
8236
|
+
* @type {number}
|
|
8237
|
+
* @memberof MunchiGiftCardDataItemDto
|
|
8238
|
+
*/
|
|
8239
|
+
'initialBalance': number;
|
|
8240
|
+
/**
|
|
8241
|
+
* Remaining balance stored in cents.
|
|
8242
|
+
* @type {number}
|
|
8243
|
+
* @memberof MunchiGiftCardDataItemDto
|
|
8244
|
+
*/
|
|
8245
|
+
'remainingBalance': number;
|
|
8246
|
+
/**
|
|
8247
|
+
*
|
|
8248
|
+
* @type {string}
|
|
8249
|
+
* @memberof MunchiGiftCardDataItemDto
|
|
8250
|
+
*/
|
|
8251
|
+
'purchaserName'?: string | null;
|
|
8252
|
+
/**
|
|
8253
|
+
*
|
|
8254
|
+
* @type {string}
|
|
8255
|
+
* @memberof MunchiGiftCardDataItemDto
|
|
8256
|
+
*/
|
|
8257
|
+
'purchaserEmail'?: string | null;
|
|
8258
|
+
/**
|
|
8259
|
+
*
|
|
8260
|
+
* @type {string}
|
|
8261
|
+
* @memberof MunchiGiftCardDataItemDto
|
|
8262
|
+
*/
|
|
8263
|
+
'phoneCountryCode'?: string | null;
|
|
8264
|
+
/**
|
|
8265
|
+
*
|
|
8266
|
+
* @type {string}
|
|
8267
|
+
* @memberof MunchiGiftCardDataItemDto
|
|
8268
|
+
*/
|
|
8269
|
+
'phoneNumber'?: string | null;
|
|
8270
|
+
/**
|
|
8271
|
+
*
|
|
8272
|
+
* @type {string}
|
|
8273
|
+
* @memberof MunchiGiftCardDataItemDto
|
|
8274
|
+
*/
|
|
8275
|
+
'expiresAt'?: string | null;
|
|
8276
|
+
/**
|
|
8277
|
+
*
|
|
8278
|
+
* @type {string}
|
|
8279
|
+
* @memberof MunchiGiftCardDataItemDto
|
|
8280
|
+
*/
|
|
8281
|
+
'createdAt': string;
|
|
8282
|
+
}
|
|
8106
8283
|
/**
|
|
8107
8284
|
*
|
|
8108
8285
|
* @export
|
|
@@ -9478,6 +9655,12 @@ export interface OrderResponseDtoDelivery {
|
|
|
9478
9655
|
* @memberof OrderResponseDtoDelivery
|
|
9479
9656
|
*/
|
|
9480
9657
|
'deliveryFee': number;
|
|
9658
|
+
/**
|
|
9659
|
+
*
|
|
9660
|
+
* @type {AutonomousVehicleType}
|
|
9661
|
+
* @memberof OrderResponseDtoDelivery
|
|
9662
|
+
*/
|
|
9663
|
+
'autonomousVehicleType'?: AutonomousVehicleType | null;
|
|
9481
9664
|
}
|
|
9482
9665
|
/**
|
|
9483
9666
|
* Preorder details
|
|
@@ -16583,6 +16766,12 @@ export interface UnifiedDeliveryDto {
|
|
|
16583
16766
|
* @deprecated
|
|
16584
16767
|
*/
|
|
16585
16768
|
'location'?: UnifiedDeliveryDtoLocation | null;
|
|
16769
|
+
/**
|
|
16770
|
+
*
|
|
16771
|
+
* @type {AutonomousVehicleType}
|
|
16772
|
+
* @memberof UnifiedDeliveryDto
|
|
16773
|
+
*/
|
|
16774
|
+
'autonomousVehicleType'?: AutonomousVehicleType | null;
|
|
16586
16775
|
}
|
|
16587
16776
|
/**
|
|
16588
16777
|
* Nested location object (deprecated, use formattedAddress/city/country directly)
|
|
@@ -17224,6 +17413,12 @@ export interface UnifiedOrderResponseDtoDelivery {
|
|
|
17224
17413
|
* @deprecated
|
|
17225
17414
|
*/
|
|
17226
17415
|
'location'?: UnifiedDeliveryDtoLocation | null;
|
|
17416
|
+
/**
|
|
17417
|
+
*
|
|
17418
|
+
* @type {AutonomousVehicleType}
|
|
17419
|
+
* @memberof UnifiedOrderResponseDtoDelivery
|
|
17420
|
+
*/
|
|
17421
|
+
'autonomousVehicleType'?: AutonomousVehicleType | null;
|
|
17227
17422
|
}
|
|
17228
17423
|
/**
|
|
17229
17424
|
* Invoice company details attached to the POS order. POS only
|
|
@@ -25891,6 +26086,14 @@ export declare const MunchiGiftCardApiAxiosParamCreator: (configuration?: Config
|
|
|
25891
26086
|
* @throws {RequiredError}
|
|
25892
26087
|
*/
|
|
25893
26088
|
createMunchiGiftCard: (createMunchiGiftCardDto: CreateMunchiGiftCardDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
26089
|
+
/**
|
|
26090
|
+
*
|
|
26091
|
+
* @summary Get Munchi gift card data
|
|
26092
|
+
* @param {GetMunchiGiftCardDataDto} getMunchiGiftCardDataDto
|
|
26093
|
+
* @param {*} [options] Override http request option.
|
|
26094
|
+
* @throws {RequiredError}
|
|
26095
|
+
*/
|
|
26096
|
+
getMunchiGiftCardData: (getMunchiGiftCardDataDto: GetMunchiGiftCardDataDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25894
26097
|
/**
|
|
25895
26098
|
*
|
|
25896
26099
|
* @summary Redeem a first-party Munchi gift card
|
|
@@ -25921,6 +26124,14 @@ export declare const MunchiGiftCardApiFp: (configuration?: Configuration) => {
|
|
|
25921
26124
|
* @throws {RequiredError}
|
|
25922
26125
|
*/
|
|
25923
26126
|
createMunchiGiftCard(createMunchiGiftCardDto: CreateMunchiGiftCardDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateMunchiGiftCardResponseDto>>;
|
|
26127
|
+
/**
|
|
26128
|
+
*
|
|
26129
|
+
* @summary Get Munchi gift card data
|
|
26130
|
+
* @param {GetMunchiGiftCardDataDto} getMunchiGiftCardDataDto
|
|
26131
|
+
* @param {*} [options] Override http request option.
|
|
26132
|
+
* @throws {RequiredError}
|
|
26133
|
+
*/
|
|
26134
|
+
getMunchiGiftCardData(getMunchiGiftCardDataDto: GetMunchiGiftCardDataDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMunchiGiftCardDataResponseDto>>;
|
|
25924
26135
|
/**
|
|
25925
26136
|
*
|
|
25926
26137
|
* @summary Redeem a first-party Munchi gift card
|
|
@@ -25951,6 +26162,14 @@ export declare const MunchiGiftCardApiFactory: (configuration?: Configuration, b
|
|
|
25951
26162
|
* @throws {RequiredError}
|
|
25952
26163
|
*/
|
|
25953
26164
|
createMunchiGiftCard(createMunchiGiftCardDto: CreateMunchiGiftCardDto, options?: any): AxiosPromise<CreateMunchiGiftCardResponseDto>;
|
|
26165
|
+
/**
|
|
26166
|
+
*
|
|
26167
|
+
* @summary Get Munchi gift card data
|
|
26168
|
+
* @param {GetMunchiGiftCardDataDto} getMunchiGiftCardDataDto
|
|
26169
|
+
* @param {*} [options] Override http request option.
|
|
26170
|
+
* @throws {RequiredError}
|
|
26171
|
+
*/
|
|
26172
|
+
getMunchiGiftCardData(getMunchiGiftCardDataDto: GetMunchiGiftCardDataDto, options?: any): AxiosPromise<GetMunchiGiftCardDataResponseDto>;
|
|
25954
26173
|
/**
|
|
25955
26174
|
*
|
|
25956
26175
|
* @summary Redeem a first-party Munchi gift card
|
|
@@ -25983,6 +26202,15 @@ export interface MunchiGiftCardApiInterface {
|
|
|
25983
26202
|
* @memberof MunchiGiftCardApiInterface
|
|
25984
26203
|
*/
|
|
25985
26204
|
createMunchiGiftCard(createMunchiGiftCardDto: CreateMunchiGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<CreateMunchiGiftCardResponseDto>;
|
|
26205
|
+
/**
|
|
26206
|
+
*
|
|
26207
|
+
* @summary Get Munchi gift card data
|
|
26208
|
+
* @param {GetMunchiGiftCardDataDto} getMunchiGiftCardDataDto
|
|
26209
|
+
* @param {*} [options] Override http request option.
|
|
26210
|
+
* @throws {RequiredError}
|
|
26211
|
+
* @memberof MunchiGiftCardApiInterface
|
|
26212
|
+
*/
|
|
26213
|
+
getMunchiGiftCardData(getMunchiGiftCardDataDto: GetMunchiGiftCardDataDto, options?: AxiosRequestConfig): AxiosPromise<GetMunchiGiftCardDataResponseDto>;
|
|
25986
26214
|
/**
|
|
25987
26215
|
*
|
|
25988
26216
|
* @summary Redeem a first-party Munchi gift card
|
|
@@ -26018,6 +26246,15 @@ export declare class MunchiGiftCardApi extends BaseAPI implements MunchiGiftCard
|
|
|
26018
26246
|
* @memberof MunchiGiftCardApi
|
|
26019
26247
|
*/
|
|
26020
26248
|
createMunchiGiftCard(createMunchiGiftCardDto: CreateMunchiGiftCardDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateMunchiGiftCardResponseDto, any, {}>>;
|
|
26249
|
+
/**
|
|
26250
|
+
*
|
|
26251
|
+
* @summary Get Munchi gift card data
|
|
26252
|
+
* @param {GetMunchiGiftCardDataDto} getMunchiGiftCardDataDto
|
|
26253
|
+
* @param {*} [options] Override http request option.
|
|
26254
|
+
* @throws {RequiredError}
|
|
26255
|
+
* @memberof MunchiGiftCardApi
|
|
26256
|
+
*/
|
|
26257
|
+
getMunchiGiftCardData(getMunchiGiftCardDataDto: GetMunchiGiftCardDataDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMunchiGiftCardDataResponseDto, any, {}>>;
|
|
26021
26258
|
/**
|
|
26022
26259
|
*
|
|
26023
26260
|
* @summary Redeem a first-party Munchi gift card
|