@munchi_oy/core 1.8.5 → 1.9.0

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.
@@ -13,6 +13,16 @@ import type { Configuration } from './configuration';
13
13
  import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
14
14
  import type { RequestArgs } from './base';
15
15
  import { BaseAPI } from './base';
16
+ /**
17
+ *
18
+ * @export
19
+ * @enum {string}
20
+ */
21
+ export declare const ABLYEVENT: {
22
+ readonly Sync: "sync";
23
+ readonly KdsItemStatusSync: "kds_item_status_sync";
24
+ };
25
+ export type ABLYEVENT = typeof ABLYEVENT[keyof typeof ABLYEVENT];
16
26
  /**
17
27
  *
18
28
  * @export
@@ -2937,6 +2947,68 @@ export interface CreateInvoiceCompanyDto {
2937
2947
  */
2938
2948
  'address'?: string;
2939
2949
  }
2950
+ /**
2951
+ *
2952
+ * @export
2953
+ * @interface CreateLoyaltyProgramUserDto
2954
+ */
2955
+ export interface CreateLoyaltyProgramUserDto {
2956
+ /**
2957
+ *
2958
+ * @type {string}
2959
+ * @memberof CreateLoyaltyProgramUserDto
2960
+ */
2961
+ 'first_name': string;
2962
+ /**
2963
+ *
2964
+ * @type {string}
2965
+ * @memberof CreateLoyaltyProgramUserDto
2966
+ */
2967
+ 'last_name': string;
2968
+ /**
2969
+ *
2970
+ * @type {string}
2971
+ * @memberof CreateLoyaltyProgramUserDto
2972
+ */
2973
+ 'email': string;
2974
+ /**
2975
+ *
2976
+ * @type {string}
2977
+ * @memberof CreateLoyaltyProgramUserDto
2978
+ */
2979
+ 'country_code': string;
2980
+ /**
2981
+ *
2982
+ * @type {string}
2983
+ * @memberof CreateLoyaltyProgramUserDto
2984
+ */
2985
+ 'phone': string;
2986
+ /**
2987
+ *
2988
+ * @type {string}
2989
+ * @memberof CreateLoyaltyProgramUserDto
2990
+ */
2991
+ 'date_of_birth'?: string;
2992
+ }
2993
+ /**
2994
+ *
2995
+ * @export
2996
+ * @interface CreateLoyaltyProgramUserResponseDto
2997
+ */
2998
+ export interface CreateLoyaltyProgramUserResponseDto {
2999
+ /**
3000
+ *
3001
+ * @type {ProgramUserDto}
3002
+ * @memberof CreateLoyaltyProgramUserResponseDto
3003
+ */
3004
+ 'user': ProgramUserDto;
3005
+ /**
3006
+ *
3007
+ * @type {LoyaltyAccountDto}
3008
+ * @memberof CreateLoyaltyProgramUserResponseDto
3009
+ */
3010
+ 'loyaltyAccount': LoyaltyAccountDto;
3011
+ }
2940
3012
  /**
2941
3013
  *
2942
3014
  * @export
@@ -5168,6 +5240,161 @@ export interface ItemPriceDto {
5168
5240
  */
5169
5241
  'priceBreakdown': ItemPriceBreakdownDto;
5170
5242
  }
5243
+ /**
5244
+ *
5245
+ * @export
5246
+ * @enum {string}
5247
+ */
5248
+ export declare const KDSEVENTNAME: {
5249
+ readonly OrderCreated: "order.created";
5250
+ readonly OrderReady: "order.ready";
5251
+ readonly OrderReverted: "order.reverted";
5252
+ readonly OrderDeleted: "order.deleted";
5253
+ readonly PrintingOrder: "printing.order";
5254
+ };
5255
+ export type KDSEVENTNAME = typeof KDSEVENTNAME[keyof typeof KDSEVENTNAME];
5256
+ /**
5257
+ *
5258
+ * @export
5259
+ * @interface KdsCoordinateDto
5260
+ */
5261
+ export interface KdsCoordinateDto {
5262
+ /**
5263
+ *
5264
+ * @type {string}
5265
+ * @memberof KdsCoordinateDto
5266
+ */
5267
+ 'id': string;
5268
+ /**
5269
+ *
5270
+ * @type {number}
5271
+ * @memberof KdsCoordinateDto
5272
+ */
5273
+ 'lat': number | null;
5274
+ /**
5275
+ *
5276
+ * @type {number}
5277
+ * @memberof KdsCoordinateDto
5278
+ */
5279
+ 'lon': number | null;
5280
+ }
5281
+ /**
5282
+ *
5283
+ * @export
5284
+ * @interface KdsCustomerDto
5285
+ */
5286
+ export interface KdsCustomerDto {
5287
+ /**
5288
+ *
5289
+ * @type {string}
5290
+ * @memberof KdsCustomerDto
5291
+ */
5292
+ 'id': string;
5293
+ /**
5294
+ *
5295
+ * @type {string}
5296
+ * @memberof KdsCustomerDto
5297
+ */
5298
+ 'name': string;
5299
+ /**
5300
+ *
5301
+ * @type {string}
5302
+ * @memberof KdsCustomerDto
5303
+ */
5304
+ 'phone': string | null;
5305
+ /**
5306
+ *
5307
+ * @type {string}
5308
+ * @memberof KdsCustomerDto
5309
+ */
5310
+ 'email': string | null;
5311
+ }
5312
+ /**
5313
+ *
5314
+ * @export
5315
+ * @interface KdsDeliveryDto
5316
+ */
5317
+ export interface KdsDeliveryDto {
5318
+ /**
5319
+ *
5320
+ * @type {string}
5321
+ * @memberof KdsDeliveryDto
5322
+ */
5323
+ 'id': string;
5324
+ /**
5325
+ *
5326
+ * @type {boolean}
5327
+ * @memberof KdsDeliveryDto
5328
+ */
5329
+ 'selfDelivery': boolean;
5330
+ /**
5331
+ *
5332
+ * @type {string}
5333
+ * @memberof KdsDeliveryDto
5334
+ */
5335
+ 'note': string | null;
5336
+ /**
5337
+ *
5338
+ * @type {DeliveryStatus}
5339
+ * @memberof KdsDeliveryDto
5340
+ */
5341
+ 'status': DeliveryStatus;
5342
+ /**
5343
+ *
5344
+ * @type {DeliveryType}
5345
+ * @memberof KdsDeliveryDto
5346
+ */
5347
+ 'type': DeliveryType;
5348
+ /**
5349
+ *
5350
+ * @type {number}
5351
+ * @memberof KdsDeliveryDto
5352
+ */
5353
+ 'deliveryFee': number;
5354
+ /**
5355
+ *
5356
+ * @type {KdsLocationDto}
5357
+ * @memberof KdsDeliveryDto
5358
+ */
5359
+ 'location': KdsLocationDto | null;
5360
+ }
5361
+ /**
5362
+ *
5363
+ * @export
5364
+ * @interface KdsLocationDto
5365
+ */
5366
+ export interface KdsLocationDto {
5367
+ /**
5368
+ *
5369
+ * @type {string}
5370
+ * @memberof KdsLocationDto
5371
+ */
5372
+ 'id': string;
5373
+ /**
5374
+ *
5375
+ * @type {string}
5376
+ * @memberof KdsLocationDto
5377
+ */
5378
+ 'formatted_address': string | null;
5379
+ /**
5380
+ *
5381
+ * @type {string}
5382
+ * @memberof KdsLocationDto
5383
+ */
5384
+ 'city': string | null;
5385
+ /**
5386
+ *
5387
+ * @type {string}
5388
+ * @memberof KdsLocationDto
5389
+ */
5390
+ 'country': string | null;
5391
+ /**
5392
+ *
5393
+ * @type {KdsCoordinateDto}
5394
+ * @memberof KdsLocationDto
5395
+ */
5396
+ 'coordinates': KdsCoordinateDto | null;
5397
+ }
5171
5398
  /**
5172
5399
  *
5173
5400
  * @export
@@ -5306,6 +5533,30 @@ export interface KdsOrderDto {
5306
5533
  * @memberof KdsOrderDto
5307
5534
  */
5308
5535
  'updatedAt': string;
5536
+ /**
5537
+ *
5538
+ * @type {KdsCustomerDto}
5539
+ * @memberof KdsOrderDto
5540
+ */
5541
+ 'customer': KdsCustomerDto | null;
5542
+ /**
5543
+ *
5544
+ * @type {KdsDeliveryDto}
5545
+ * @memberof KdsOrderDto
5546
+ */
5547
+ 'delivery': KdsDeliveryDto | null;
5548
+ /**
5549
+ *
5550
+ * @type {KdsPreorderDto}
5551
+ * @memberof KdsOrderDto
5552
+ */
5553
+ 'preorder': KdsPreorderDto | null;
5554
+ /**
5555
+ *
5556
+ * @type {KdsPriceSummaryDto}
5557
+ * @memberof KdsOrderDto
5558
+ */
5559
+ 'priceSummary': KdsPriceSummaryDto | null;
5309
5560
  /**
5310
5561
  *
5311
5562
  * @type {Array<KdsOrderItemDto>}
@@ -5613,6 +5864,69 @@ export interface KdsPaginationDto {
5613
5864
  */
5614
5865
  'hasPreviousPage': boolean;
5615
5866
  }
5867
+ /**
5868
+ *
5869
+ * @export
5870
+ * @interface KdsPreorderDto
5871
+ */
5872
+ export interface KdsPreorderDto {
5873
+ /**
5874
+ *
5875
+ * @type {string}
5876
+ * @memberof KdsPreorderDto
5877
+ */
5878
+ 'id': string;
5879
+ /**
5880
+ *
5881
+ * @type {PreorderStatus}
5882
+ * @memberof KdsPreorderDto
5883
+ */
5884
+ 'status': PreorderStatus;
5885
+ /**
5886
+ *
5887
+ * @type {string}
5888
+ * @memberof KdsPreorderDto
5889
+ */
5890
+ 'preorderTime': string;
5891
+ }
5892
+ /**
5893
+ *
5894
+ * @export
5895
+ * @interface KdsPriceSummaryDto
5896
+ */
5897
+ export interface KdsPriceSummaryDto {
5898
+ /**
5899
+ *
5900
+ * @type {string}
5901
+ * @memberof KdsPriceSummaryDto
5902
+ */
5903
+ 'id': string;
5904
+ /**
5905
+ *
5906
+ * @type {number}
5907
+ * @memberof KdsPriceSummaryDto
5908
+ */
5909
+ 'totalNet': number;
5910
+ }
5911
+ /**
5912
+ *
5913
+ * @export
5914
+ * @interface KdsPrintingEventDto
5915
+ */
5916
+ export interface KdsPrintingEventDto {
5917
+ /**
5918
+ *
5919
+ * @type {KDSEVENTNAME}
5920
+ * @memberof KdsPrintingEventDto
5921
+ */
5922
+ 'event': KDSEVENTNAME;
5923
+ /**
5924
+ *
5925
+ * @type {KdsOrderDto}
5926
+ * @memberof KdsPrintingEventDto
5927
+ */
5928
+ 'order': KdsOrderDto;
5929
+ }
5616
5930
  /**
5617
5931
  *
5618
5932
  * @export
@@ -5869,6 +6183,30 @@ export interface KdsReadyOrderResponseDtoOrder {
5869
6183
  * @memberof KdsReadyOrderResponseDtoOrder
5870
6184
  */
5871
6185
  'updatedAt': string;
6186
+ /**
6187
+ *
6188
+ * @type {KdsCustomerDto}
6189
+ * @memberof KdsReadyOrderResponseDtoOrder
6190
+ */
6191
+ 'customer': KdsCustomerDto | null;
6192
+ /**
6193
+ *
6194
+ * @type {KdsDeliveryDto}
6195
+ * @memberof KdsReadyOrderResponseDtoOrder
6196
+ */
6197
+ 'delivery': KdsDeliveryDto | null;
6198
+ /**
6199
+ *
6200
+ * @type {KdsPreorderDto}
6201
+ * @memberof KdsReadyOrderResponseDtoOrder
6202
+ */
6203
+ 'preorder': KdsPreorderDto | null;
6204
+ /**
6205
+ *
6206
+ * @type {KdsPriceSummaryDto}
6207
+ * @memberof KdsReadyOrderResponseDtoOrder
6208
+ */
6209
+ 'priceSummary': KdsPriceSummaryDto | null;
5872
6210
  /**
5873
6211
  *
5874
6212
  * @type {Array<KdsOrderItemDto>}
@@ -6039,6 +6377,30 @@ export interface KdsRevertOrderResponseDtoOrder {
6039
6377
  * @memberof KdsRevertOrderResponseDtoOrder
6040
6378
  */
6041
6379
  'updatedAt': string;
6380
+ /**
6381
+ *
6382
+ * @type {KdsCustomerDto}
6383
+ * @memberof KdsRevertOrderResponseDtoOrder
6384
+ */
6385
+ 'customer': KdsCustomerDto | null;
6386
+ /**
6387
+ *
6388
+ * @type {KdsDeliveryDto}
6389
+ * @memberof KdsRevertOrderResponseDtoOrder
6390
+ */
6391
+ 'delivery': KdsDeliveryDto | null;
6392
+ /**
6393
+ *
6394
+ * @type {KdsPreorderDto}
6395
+ * @memberof KdsRevertOrderResponseDtoOrder
6396
+ */
6397
+ 'preorder': KdsPreorderDto | null;
6398
+ /**
6399
+ *
6400
+ * @type {KdsPriceSummaryDto}
6401
+ * @memberof KdsRevertOrderResponseDtoOrder
6402
+ */
6403
+ 'priceSummary': KdsPriceSummaryDto | null;
6042
6404
  /**
6043
6405
  *
6044
6406
  * @type {Array<KdsOrderItemDto>}
@@ -14268,6 +14630,7 @@ export declare const SYNCKEY: {
14268
14630
  readonly InvoiceCompanies: "INVOICE_COMPANIES";
14269
14631
  readonly BusinessTax: "BUSINESS_TAX";
14270
14632
  readonly Transaction: "TRANSACTION";
14633
+ readonly DiscountsV2: "DISCOUNTS_V2";
14271
14634
  };
14272
14635
  export type SYNCKEY = typeof SYNCKEY[keyof typeof SYNCKEY];
14273
14636
  /**
@@ -20984,38 +21347,38 @@ export declare const BusinessApiAxiosParamCreator: (configuration?: Configuratio
20984
21347
  /**
20985
21348
  *
20986
21349
  * @param {string} businessId
20987
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21350
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
20988
21351
  * @param {*} [options] Override http request option.
20989
21352
  * @throws {RequiredError}
20990
21353
  */
20991
- getBusinessMenuByType: (businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig) => Promise<RequestArgs>;
21354
+ getBusinessMenuByType: (businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: AxiosRequestConfig) => Promise<RequestArgs>;
20992
21355
  /**
20993
21356
  *
20994
21357
  * @summary Get business menu by type V2
20995
21358
  * @param {string} businessId
20996
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21359
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
20997
21360
  * @param {*} [options] Override http request option.
20998
21361
  * @throws {RequiredError}
20999
21362
  */
21000
- getBusinessMenuByTypeV2: (businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig) => Promise<RequestArgs>;
21363
+ getBusinessMenuByTypeV2: (businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: AxiosRequestConfig) => Promise<RequestArgs>;
21001
21364
  /**
21002
21365
  *
21003
21366
  * @summary Get business menu by type V3
21004
21367
  * @param {string} businessId
21005
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21368
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
21006
21369
  * @param {*} [options] Override http request option.
21007
21370
  * @throws {RequiredError}
21008
21371
  */
21009
- getBusinessMenuByTypeV3: (businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig) => Promise<RequestArgs>;
21372
+ getBusinessMenuByTypeV3: (businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: AxiosRequestConfig) => Promise<RequestArgs>;
21010
21373
  /**
21011
21374
  *
21012
21375
  * @summary Get business menu by type V4
21013
21376
  * @param {string} businessId
21014
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21377
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
21015
21378
  * @param {*} [options] Override http request option.
21016
21379
  * @throws {RequiredError}
21017
21380
  */
21018
- getBusinessMenuByTypeV4: (businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig) => Promise<RequestArgs>;
21381
+ getBusinessMenuByTypeV4: (businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: AxiosRequestConfig) => Promise<RequestArgs>;
21019
21382
  /**
21020
21383
  *
21021
21384
  * @param {string} businessId Id of the business
@@ -21196,38 +21559,38 @@ export declare const BusinessApiFp: (configuration?: Configuration) => {
21196
21559
  /**
21197
21560
  *
21198
21561
  * @param {string} businessId
21199
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21562
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
21200
21563
  * @param {*} [options] Override http request option.
21201
21564
  * @throws {RequiredError}
21202
21565
  */
21203
- getBusinessMenuByType(businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>>;
21566
+ getBusinessMenuByType(businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>>;
21204
21567
  /**
21205
21568
  *
21206
21569
  * @summary Get business menu by type V2
21207
21570
  * @param {string} businessId
21208
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21571
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
21209
21572
  * @param {*} [options] Override http request option.
21210
21573
  * @throws {RequiredError}
21211
21574
  */
21212
- getBusinessMenuByTypeV2(businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>>;
21575
+ getBusinessMenuByTypeV2(businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>>;
21213
21576
  /**
21214
21577
  *
21215
21578
  * @summary Get business menu by type V3
21216
21579
  * @param {string} businessId
21217
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21580
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
21218
21581
  * @param {*} [options] Override http request option.
21219
21582
  * @throws {RequiredError}
21220
21583
  */
21221
- getBusinessMenuByTypeV3(businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>>;
21584
+ getBusinessMenuByTypeV3(businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>>;
21222
21585
  /**
21223
21586
  *
21224
21587
  * @summary Get business menu by type V4
21225
21588
  * @param {string} businessId
21226
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21589
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
21227
21590
  * @param {*} [options] Override http request option.
21228
21591
  * @throws {RequiredError}
21229
21592
  */
21230
- getBusinessMenuByTypeV4(businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>>;
21593
+ getBusinessMenuByTypeV4(businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>>;
21231
21594
  /**
21232
21595
  *
21233
21596
  * @param {string} businessId Id of the business
@@ -21408,38 +21771,38 @@ export declare const BusinessApiFactory: (configuration?: Configuration, basePat
21408
21771
  /**
21409
21772
  *
21410
21773
  * @param {string} businessId
21411
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21774
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
21412
21775
  * @param {*} [options] Override http request option.
21413
21776
  * @throws {RequiredError}
21414
21777
  */
21415
- getBusinessMenuByType(businessId: string, menuType: "pos" | "kiosk", options?: any): AxiosPromise<Array<MenuDto>>;
21778
+ getBusinessMenuByType(businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: any): AxiosPromise<Array<MenuDto>>;
21416
21779
  /**
21417
21780
  *
21418
21781
  * @summary Get business menu by type V2
21419
21782
  * @param {string} businessId
21420
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21783
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
21421
21784
  * @param {*} [options] Override http request option.
21422
21785
  * @throws {RequiredError}
21423
21786
  */
21424
- getBusinessMenuByTypeV2(businessId: string, menuType: "pos" | "kiosk", options?: any): AxiosPromise<Array<MenuDto>>;
21787
+ getBusinessMenuByTypeV2(businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: any): AxiosPromise<Array<MenuDto>>;
21425
21788
  /**
21426
21789
  *
21427
21790
  * @summary Get business menu by type V3
21428
21791
  * @param {string} businessId
21429
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21792
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
21430
21793
  * @param {*} [options] Override http request option.
21431
21794
  * @throws {RequiredError}
21432
21795
  */
21433
- getBusinessMenuByTypeV3(businessId: string, menuType: "pos" | "kiosk", options?: any): AxiosPromise<MenuReponseDto>;
21796
+ getBusinessMenuByTypeV3(businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: any): AxiosPromise<MenuReponseDto>;
21434
21797
  /**
21435
21798
  *
21436
21799
  * @summary Get business menu by type V4
21437
21800
  * @param {string} businessId
21438
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21801
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
21439
21802
  * @param {*} [options] Override http request option.
21440
21803
  * @throws {RequiredError}
21441
21804
  */
21442
- getBusinessMenuByTypeV4(businessId: string, menuType: "pos" | "kiosk", options?: any): AxiosPromise<MenuReponseDto>;
21805
+ getBusinessMenuByTypeV4(businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: any): AxiosPromise<MenuReponseDto>;
21443
21806
  /**
21444
21807
  *
21445
21808
  * @param {string} businessId Id of the business
@@ -21632,42 +21995,42 @@ export interface BusinessApiInterface {
21632
21995
  /**
21633
21996
  *
21634
21997
  * @param {string} businessId
21635
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21998
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
21636
21999
  * @param {*} [options] Override http request option.
21637
22000
  * @throws {RequiredError}
21638
22001
  * @memberof BusinessApiInterface
21639
22002
  */
21640
- getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
22003
+ getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
21641
22004
  /**
21642
22005
  *
21643
22006
  * @summary Get business menu by type V2
21644
22007
  * @param {string} businessId
21645
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
22008
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
21646
22009
  * @param {*} [options] Override http request option.
21647
22010
  * @throws {RequiredError}
21648
22011
  * @memberof BusinessApiInterface
21649
22012
  */
21650
- getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
22013
+ getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
21651
22014
  /**
21652
22015
  *
21653
22016
  * @summary Get business menu by type V3
21654
22017
  * @param {string} businessId
21655
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
22018
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
21656
22019
  * @param {*} [options] Override http request option.
21657
22020
  * @throws {RequiredError}
21658
22021
  * @memberof BusinessApiInterface
21659
22022
  */
21660
- getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
22023
+ getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
21661
22024
  /**
21662
22025
  *
21663
22026
  * @summary Get business menu by type V4
21664
22027
  * @param {string} businessId
21665
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
22028
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
21666
22029
  * @param {*} [options] Override http request option.
21667
22030
  * @throws {RequiredError}
21668
22031
  * @memberof BusinessApiInterface
21669
22032
  */
21670
- getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
22033
+ getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
21671
22034
  /**
21672
22035
  *
21673
22036
  * @param {string} businessId Id of the business
@@ -21871,42 +22234,42 @@ export declare class BusinessApi extends BaseAPI implements BusinessApiInterface
21871
22234
  /**
21872
22235
  *
21873
22236
  * @param {string} businessId
21874
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
22237
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
21875
22238
  * @param {*} [options] Override http request option.
21876
22239
  * @throws {RequiredError}
21877
22240
  * @memberof BusinessApi
21878
22241
  */
21879
- getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuDto[], any, {}>>;
22242
+ getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuDto[], any, {}>>;
21880
22243
  /**
21881
22244
  *
21882
22245
  * @summary Get business menu by type V2
21883
22246
  * @param {string} businessId
21884
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
22247
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
21885
22248
  * @param {*} [options] Override http request option.
21886
22249
  * @throws {RequiredError}
21887
22250
  * @memberof BusinessApi
21888
22251
  */
21889
- getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuDto[], any, {}>>;
22252
+ getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuDto[], any, {}>>;
21890
22253
  /**
21891
22254
  *
21892
22255
  * @summary Get business menu by type V3
21893
22256
  * @param {string} businessId
21894
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
22257
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
21895
22258
  * @param {*} [options] Override http request option.
21896
22259
  * @throws {RequiredError}
21897
22260
  * @memberof BusinessApi
21898
22261
  */
21899
- getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuReponseDto, any, {}>>;
22262
+ getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuReponseDto, any, {}>>;
21900
22263
  /**
21901
22264
  *
21902
22265
  * @summary Get business menu by type V4
21903
22266
  * @param {string} businessId
21904
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
22267
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
21905
22268
  * @param {*} [options] Override http request option.
21906
22269
  * @throws {RequiredError}
21907
22270
  * @memberof BusinessApi
21908
22271
  */
21909
- getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuReponseDto, any, {}>>;
22272
+ getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuReponseDto, any, {}>>;
21910
22273
  /**
21911
22274
  *
21912
22275
  * @param {string} businessId Id of the business
@@ -24189,6 +24552,15 @@ export declare class KiosksApi extends BaseAPI implements KiosksApiInterface {
24189
24552
  * @export
24190
24553
  */
24191
24554
  export declare const LoyaltyIntegerationsApiAxiosParamCreator: (configuration?: Configuration) => {
24555
+ /**
24556
+ *
24557
+ * @summary Create loyalty user
24558
+ * @param {number} businessId
24559
+ * @param {CreateLoyaltyProgramUserDto} createLoyaltyProgramUserDto
24560
+ * @param {*} [options] Override http request option.
24561
+ * @throws {RequiredError}
24562
+ */
24563
+ createLoyaltyUser: (businessId: number, createLoyaltyProgramUserDto: CreateLoyaltyProgramUserDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24192
24564
  /**
24193
24565
  *
24194
24566
  * @summary Get admin transaction history
@@ -24242,6 +24614,15 @@ export declare const LoyaltyIntegerationsApiAxiosParamCreator: (configuration?:
24242
24614
  * @export
24243
24615
  */
24244
24616
  export declare const LoyaltyIntegerationsApiFp: (configuration?: Configuration) => {
24617
+ /**
24618
+ *
24619
+ * @summary Create loyalty user
24620
+ * @param {number} businessId
24621
+ * @param {CreateLoyaltyProgramUserDto} createLoyaltyProgramUserDto
24622
+ * @param {*} [options] Override http request option.
24623
+ * @throws {RequiredError}
24624
+ */
24625
+ createLoyaltyUser(businessId: number, createLoyaltyProgramUserDto: CreateLoyaltyProgramUserDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLoyaltyProgramUserResponseDto>>;
24245
24626
  /**
24246
24627
  *
24247
24628
  * @summary Get admin transaction history
@@ -24295,6 +24676,15 @@ export declare const LoyaltyIntegerationsApiFp: (configuration?: Configuration)
24295
24676
  * @export
24296
24677
  */
24297
24678
  export declare const LoyaltyIntegerationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
24679
+ /**
24680
+ *
24681
+ * @summary Create loyalty user
24682
+ * @param {number} businessId
24683
+ * @param {CreateLoyaltyProgramUserDto} createLoyaltyProgramUserDto
24684
+ * @param {*} [options] Override http request option.
24685
+ * @throws {RequiredError}
24686
+ */
24687
+ createLoyaltyUser(businessId: number, createLoyaltyProgramUserDto: CreateLoyaltyProgramUserDto, options?: any): AxiosPromise<CreateLoyaltyProgramUserResponseDto>;
24298
24688
  /**
24299
24689
  *
24300
24690
  * @summary Get admin transaction history
@@ -24349,6 +24739,16 @@ export declare const LoyaltyIntegerationsApiFactory: (configuration?: Configurat
24349
24739
  * @interface LoyaltyIntegerationsApi
24350
24740
  */
24351
24741
  export interface LoyaltyIntegerationsApiInterface {
24742
+ /**
24743
+ *
24744
+ * @summary Create loyalty user
24745
+ * @param {number} businessId
24746
+ * @param {CreateLoyaltyProgramUserDto} createLoyaltyProgramUserDto
24747
+ * @param {*} [options] Override http request option.
24748
+ * @throws {RequiredError}
24749
+ * @memberof LoyaltyIntegerationsApiInterface
24750
+ */
24751
+ createLoyaltyUser(businessId: number, createLoyaltyProgramUserDto: CreateLoyaltyProgramUserDto, options?: AxiosRequestConfig): AxiosPromise<CreateLoyaltyProgramUserResponseDto>;
24352
24752
  /**
24353
24753
  *
24354
24754
  * @summary Get admin transaction history
@@ -24409,6 +24809,16 @@ export interface LoyaltyIntegerationsApiInterface {
24409
24809
  * @extends {BaseAPI}
24410
24810
  */
24411
24811
  export declare class LoyaltyIntegerationsApi extends BaseAPI implements LoyaltyIntegerationsApiInterface {
24812
+ /**
24813
+ *
24814
+ * @summary Create loyalty user
24815
+ * @param {number} businessId
24816
+ * @param {CreateLoyaltyProgramUserDto} createLoyaltyProgramUserDto
24817
+ * @param {*} [options] Override http request option.
24818
+ * @throws {RequiredError}
24819
+ * @memberof LoyaltyIntegerationsApi
24820
+ */
24821
+ createLoyaltyUser(businessId: number, createLoyaltyProgramUserDto: CreateLoyaltyProgramUserDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLoyaltyProgramUserResponseDto, any, {}>>;
24412
24822
  /**
24413
24823
  *
24414
24824
  * @summary Get admin transaction history