@munchi_oy/core 1.9.2 → 1.9.4

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/generated/api.ts CHANGED
@@ -23,6 +23,20 @@ import type { RequestArgs } from './base';
23
23
  // @ts-ignore
24
24
  import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError } from './base';
25
25
 
26
+ /**
27
+ *
28
+ * @export
29
+ * @enum {string}
30
+ */
31
+
32
+ export const ABLYEVENT = {
33
+ Sync: 'sync',
34
+ KdsItemStatusSync: 'kds_item_status_sync'
35
+ } as const;
36
+
37
+ export type ABLYEVENT = typeof ABLYEVENT[keyof typeof ABLYEVENT];
38
+
39
+
26
40
  /**
27
41
  *
28
42
  * @export
@@ -432,7 +446,22 @@ export interface BusinessCategoryBodyDto {
432
446
  * @memberof BusinessCategoryBodyDto
433
447
  */
434
448
  'cid': Array<number>;
449
+ /**
450
+ * Optional menu type used to apply menu-specific product filters
451
+ * @type {string}
452
+ * @memberof BusinessCategoryBodyDto
453
+ */
454
+ 'menuType'?: MenuTypeEnum;
435
455
  }
456
+
457
+ export const MenuTypeEnum = {
458
+ Pos: 'pos',
459
+ Kiosk: 'kiosk',
460
+ Ayce: 'ayce'
461
+ } as const;
462
+
463
+ export type MenuTypeEnum = typeof MenuTypeEnum[keyof typeof MenuTypeEnum];
464
+
436
465
  /**
437
466
  *
438
467
  * @export
@@ -517,6 +546,12 @@ export interface BusinessConfigResponseDto {
517
546
  * @memberof BusinessConfigResponseDto
518
547
  */
519
548
  'hasInvoiceCompany': boolean;
549
+ /**
550
+ * Whether POS orders should be hidden from OM for this business.
551
+ * @type {boolean}
552
+ * @memberof BusinessConfigResponseDto
553
+ */
554
+ 'hidePosOrdersInOm': boolean;
520
555
  }
521
556
 
522
557
 
@@ -956,6 +991,61 @@ export interface BusinessInfoResponseDtoLoyaltyPlan {
956
991
  */
957
992
  'expire_after_minutes': number | null;
958
993
  }
994
+ /**
995
+ *
996
+ * @export
997
+ * @interface BusinessInfoV2ResponseDto
998
+ */
999
+ export interface BusinessInfoV2ResponseDto {
1000
+ /**
1001
+ * The ID of the business
1002
+ * @type {number}
1003
+ * @memberof BusinessInfoV2ResponseDto
1004
+ */
1005
+ 'businessId': number;
1006
+ /**
1007
+ * The name of the business
1008
+ * @type {string}
1009
+ * @memberof BusinessInfoV2ResponseDto
1010
+ */
1011
+ 'businessName': string;
1012
+ /**
1013
+ * The URL of the business logo
1014
+ * @type {string}
1015
+ * @memberof BusinessInfoV2ResponseDto
1016
+ */
1017
+ 'logoUrl': string | null;
1018
+ /**
1019
+ * The phone of the business
1020
+ * @type {string}
1021
+ * @memberof BusinessInfoV2ResponseDto
1022
+ */
1023
+ 'phone'?: string | null;
1024
+ /**
1025
+ *
1026
+ * @type {BusinessInfoResponseDtoLoyaltyPlan}
1027
+ * @memberof BusinessInfoV2ResponseDto
1028
+ */
1029
+ 'loyaltyPlan': BusinessInfoResponseDtoLoyaltyPlan | null;
1030
+ /**
1031
+ *
1032
+ * @type {BusinessInfoResponseDtoDetail}
1033
+ * @memberof BusinessInfoV2ResponseDto
1034
+ */
1035
+ 'detail': BusinessInfoResponseDtoDetail;
1036
+ /**
1037
+ * Email address of the business
1038
+ * @type {string}
1039
+ * @memberof BusinessInfoV2ResponseDto
1040
+ */
1041
+ 'businessEmail': string | null;
1042
+ /**
1043
+ * KDS profiles linked to the business
1044
+ * @type {Array<KdsProfileResponseDto>}
1045
+ * @memberof BusinessInfoV2ResponseDto
1046
+ */
1047
+ 'kdsProfiles': Array<KdsProfileResponseDto>;
1048
+ }
959
1049
  /**
960
1050
  *
961
1051
  * @export
@@ -1085,6 +1175,25 @@ export interface BusinessPermissionResponseDto {
1085
1175
  */
1086
1176
  'updatedAt': string;
1087
1177
  }
1178
+ /**
1179
+ *
1180
+ * @export
1181
+ * @interface BusinessProvidersSupportedIntegrationsResponseDto
1182
+ */
1183
+ export interface BusinessProvidersSupportedIntegrationsResponseDto {
1184
+ /**
1185
+ * Business ID
1186
+ * @type {number}
1187
+ * @memberof BusinessProvidersSupportedIntegrationsResponseDto
1188
+ */
1189
+ 'businessId': number;
1190
+ /**
1191
+ * Providers and their supported integrations for this business
1192
+ * @type {Array<ProviderSupportedIntegrationsDto>}
1193
+ * @memberof BusinessProvidersSupportedIntegrationsResponseDto
1194
+ */
1195
+ 'providers': Array<ProviderSupportedIntegrationsDto>;
1196
+ }
1088
1197
  /**
1089
1198
  *
1090
1199
  * @export
@@ -2627,52 +2736,52 @@ export interface CompletedStepDto {
2627
2736
  export interface ConditionPayloadDto {
2628
2737
  /**
2629
2738
  *
2630
- * @type {object}
2739
+ * @type {string}
2631
2740
  * @memberof ConditionPayloadDto
2632
2741
  */
2633
- 'startUtc'?: object | null;
2742
+ 'startUtc'?: string | null;
2634
2743
  /**
2635
2744
  *
2636
- * @type {object}
2745
+ * @type {string}
2637
2746
  * @memberof ConditionPayloadDto
2638
2747
  */
2639
- 'endUtc'?: object | null;
2748
+ 'endUtc'?: string | null;
2640
2749
  /**
2641
2750
  *
2642
- * @type {object}
2751
+ * @type {Array<number>}
2643
2752
  * @memberof ConditionPayloadDto
2644
2753
  */
2645
- 'days'?: object | null;
2754
+ 'days'?: Array<number> | null;
2646
2755
  /**
2647
2756
  *
2648
- * @type {object}
2757
+ * @type {string}
2649
2758
  * @memberof ConditionPayloadDto
2650
2759
  */
2651
- 'from'?: object | null;
2760
+ 'from'?: string | null;
2652
2761
  /**
2653
2762
  *
2654
- * @type {object}
2763
+ * @type {string}
2655
2764
  * @memberof ConditionPayloadDto
2656
2765
  */
2657
- 'to'?: object | null;
2766
+ 'to'?: string | null;
2658
2767
  /**
2659
2768
  *
2660
- * @type {object}
2769
+ * @type {number}
2661
2770
  * @memberof ConditionPayloadDto
2662
2771
  */
2663
- 'minValue'?: object | null;
2772
+ 'minValue'?: number | null;
2664
2773
  /**
2665
2774
  *
2666
- * @type {object}
2775
+ * @type {number}
2667
2776
  * @memberof ConditionPayloadDto
2668
2777
  */
2669
- 'maxValue'?: object | null;
2778
+ 'maxValue'?: number | null;
2670
2779
  /**
2671
2780
  *
2672
- * @type {object}
2781
+ * @type {Array<number>}
2673
2782
  * @memberof ConditionPayloadDto
2674
2783
  */
2675
- 'productIds'?: object | null;
2784
+ 'productIds'?: Array<number> | null;
2676
2785
  }
2677
2786
  /**
2678
2787
  *
@@ -2879,6 +2988,21 @@ export interface ConnectTerminalDto {
2879
2988
  */
2880
2989
  'terminalHardwareId': string;
2881
2990
  }
2991
+ /**
2992
+ *
2993
+ * @export
2994
+ * @enum {string}
2995
+ */
2996
+
2997
+ export const ConsumptionType = {
2998
+ Delivery: 'DELIVERY',
2999
+ Pickup: 'PICKUP',
3000
+ DineIn: 'DINE_IN'
3001
+ } as const;
3002
+
3003
+ export type ConsumptionType = typeof ConsumptionType[keyof typeof ConsumptionType];
3004
+
3005
+
2882
3006
  /**
2883
3007
  *
2884
3008
  * @export
@@ -3009,6 +3133,68 @@ export interface CreateInvoiceCompanyDto {
3009
3133
  */
3010
3134
  'address'?: string;
3011
3135
  }
3136
+ /**
3137
+ *
3138
+ * @export
3139
+ * @interface CreateLoyaltyProgramUserDto
3140
+ */
3141
+ export interface CreateLoyaltyProgramUserDto {
3142
+ /**
3143
+ *
3144
+ * @type {string}
3145
+ * @memberof CreateLoyaltyProgramUserDto
3146
+ */
3147
+ 'first_name': string;
3148
+ /**
3149
+ *
3150
+ * @type {string}
3151
+ * @memberof CreateLoyaltyProgramUserDto
3152
+ */
3153
+ 'last_name': string;
3154
+ /**
3155
+ *
3156
+ * @type {string}
3157
+ * @memberof CreateLoyaltyProgramUserDto
3158
+ */
3159
+ 'email': string;
3160
+ /**
3161
+ *
3162
+ * @type {string}
3163
+ * @memberof CreateLoyaltyProgramUserDto
3164
+ */
3165
+ 'country_code': string;
3166
+ /**
3167
+ *
3168
+ * @type {string}
3169
+ * @memberof CreateLoyaltyProgramUserDto
3170
+ */
3171
+ 'phone': string;
3172
+ /**
3173
+ *
3174
+ * @type {string}
3175
+ * @memberof CreateLoyaltyProgramUserDto
3176
+ */
3177
+ 'date_of_birth'?: string;
3178
+ }
3179
+ /**
3180
+ *
3181
+ * @export
3182
+ * @interface CreateLoyaltyProgramUserResponseDto
3183
+ */
3184
+ export interface CreateLoyaltyProgramUserResponseDto {
3185
+ /**
3186
+ *
3187
+ * @type {ProgramUserDto}
3188
+ * @memberof CreateLoyaltyProgramUserResponseDto
3189
+ */
3190
+ 'user': ProgramUserDto;
3191
+ /**
3192
+ *
3193
+ * @type {LoyaltyAccountDto}
3194
+ * @memberof CreateLoyaltyProgramUserResponseDto
3195
+ */
3196
+ 'loyaltyAccount': LoyaltyAccountDto;
3197
+ }
3012
3198
  /**
3013
3199
  *
3014
3200
  * @export
@@ -3685,10 +3871,10 @@ export interface DiscountDto {
3685
3871
  'available'?: boolean;
3686
3872
  /**
3687
3873
  *
3688
- * @type {object}
3874
+ * @type {ProviderEnum}
3689
3875
  * @memberof DiscountDto
3690
3876
  */
3691
- 'channel'?: object | null;
3877
+ 'channel'?: ProviderEnum | null;
3692
3878
  /**
3693
3879
  *
3694
3880
  * @type {boolean}
@@ -3697,22 +3883,16 @@ export interface DiscountDto {
3697
3883
  'isAutomatic': boolean;
3698
3884
  /**
3699
3885
  *
3700
- * @type {object}
3886
+ * @type {number}
3701
3887
  * @memberof DiscountDto
3702
3888
  */
3703
- 'maxUsesPerOrder'?: object | null;
3889
+ 'maxUsesPerOrder'?: number | null;
3704
3890
  /**
3705
3891
  *
3706
3892
  * @type {number}
3707
3893
  * @memberof DiscountDto
3708
3894
  */
3709
3895
  'priority': number;
3710
- /**
3711
- *
3712
- * @type {boolean}
3713
- * @memberof DiscountDto
3714
- */
3715
- 'enabled': boolean;
3716
3896
  /**
3717
3897
  *
3718
3898
  * @type {Array<DiscountRuleDto>}
@@ -4654,6 +4834,12 @@ export interface ExternalBusinessConfigDto {
4654
4834
  * @memberof ExternalBusinessConfigDto
4655
4835
  */
4656
4836
  'hasInvoiceCompany': boolean;
4837
+ /**
4838
+ * Whether POS orders should be hidden from OM for this business.
4839
+ * @type {boolean}
4840
+ * @memberof ExternalBusinessConfigDto
4841
+ */
4842
+ 'hidePosOrdersInOm': boolean;
4657
4843
  }
4658
4844
 
4659
4845
 
@@ -4870,561 +5056,1759 @@ export interface GetPaymentReferenceDto {
4870
5056
  */
4871
5057
  'provider': PaymentProvider;
4872
5058
  /**
4873
- * The unique transaction identifier from the provider
5059
+ * The unique transaction identifier from the provider
5060
+ * @type {string}
5061
+ * @memberof GetPaymentReferenceDto
5062
+ */
5063
+ 'transactionId': string;
5064
+ /**
5065
+ * The unique identifier of the order
5066
+ * @type {string}
5067
+ * @memberof GetPaymentReferenceDto
5068
+ */
5069
+ 'orderId': string;
5070
+ }
5071
+
5072
+
5073
+ /**
5074
+ *
5075
+ * @export
5076
+ * @interface GetPaymentStatusDto
5077
+ */
5078
+ export interface GetPaymentStatusDto {
5079
+ /**
5080
+ *
5081
+ * @type {PaymentProvider}
5082
+ * @memberof GetPaymentStatusDto
5083
+ */
5084
+ 'provider': PaymentProvider;
5085
+ /**
5086
+ * The session ID or reference ID from the payment provider (e.g., Viva sessionId).
5087
+ * @type {string}
5088
+ * @memberof GetPaymentStatusDto
5089
+ */
5090
+ 'referenceId': string;
5091
+ /**
5092
+ * The ordering business ID for this transaction.
5093
+ * @type {number}
5094
+ * @memberof GetPaymentStatusDto
5095
+ */
5096
+ 'businessId': number;
5097
+ /**
5098
+ * The order ID associated with this payment (optional, returned in response for convenience).
5099
+ * @type {string}
5100
+ * @memberof GetPaymentStatusDto
5101
+ */
5102
+ 'orderId'?: string;
5103
+ }
5104
+
5105
+
5106
+ /**
5107
+ *
5108
+ * @export
5109
+ * @interface GetStationResponseDto
5110
+ */
5111
+ export interface GetStationResponseDto {
5112
+ /**
5113
+ *
5114
+ * @type {GetStationResponseDtoStation}
5115
+ * @memberof GetStationResponseDto
5116
+ */
5117
+ 'station': GetStationResponseDtoStation | null;
5118
+ }
5119
+ /**
5120
+ * The station details.
5121
+ * @export
5122
+ * @interface GetStationResponseDtoStation
5123
+ */
5124
+ export interface GetStationResponseDtoStation {
5125
+ /**
5126
+ *
5127
+ * @type {string}
5128
+ * @memberof GetStationResponseDtoStation
5129
+ */
5130
+ 'id': string;
5131
+ /**
5132
+ *
5133
+ * @type {string}
5134
+ * @memberof GetStationResponseDtoStation
5135
+ */
5136
+ 'name': string;
5137
+ /**
5138
+ *
5139
+ * @type {string}
5140
+ * @memberof GetStationResponseDtoStation
5141
+ */
5142
+ 'hardwareId': string;
5143
+ /**
5144
+ *
5145
+ * @type {StationType}
5146
+ * @memberof GetStationResponseDtoStation
5147
+ */
5148
+ 'type': StationType;
5149
+ /**
5150
+ *
5151
+ * @type {DeviceType}
5152
+ * @memberof GetStationResponseDtoStation
5153
+ */
5154
+ 'deviceType'?: DeviceType;
5155
+ /**
5156
+ *
5157
+ * @type {Status}
5158
+ * @memberof GetStationResponseDtoStation
5159
+ */
5160
+ 'status': Status;
5161
+ /**
5162
+ *
5163
+ * @type {number}
5164
+ * @memberof GetStationResponseDtoStation
5165
+ */
5166
+ 'orderingBusinessId': number;
5167
+ /**
5168
+ *
5169
+ * @type {string}
5170
+ * @memberof GetStationResponseDtoStation
5171
+ */
5172
+ 'prefix': string;
5173
+ /**
5174
+ *
5175
+ * @type {object}
5176
+ * @memberof GetStationResponseDtoStation
5177
+ */
5178
+ 'settings'?: object;
5179
+ /**
5180
+ *
5181
+ * @type {object}
5182
+ * @memberof GetStationResponseDtoStation
5183
+ */
5184
+ 'metadata'?: object;
5185
+ /**
5186
+ * Timestamp when the station record was created.
5187
+ * @type {string}
5188
+ * @memberof GetStationResponseDtoStation
5189
+ */
5190
+ 'createdAt': string;
5191
+ /**
5192
+ * Timestamp when the station record was last updated.
5193
+ * @type {string}
5194
+ * @memberof GetStationResponseDtoStation
5195
+ */
5196
+ 'updatedAt': string;
5197
+ /**
5198
+ *
5199
+ * @type {StationDetailsDtoPaymentTerminal}
5200
+ * @memberof GetStationResponseDtoStation
5201
+ */
5202
+ 'paymentTerminal'?: StationDetailsDtoPaymentTerminal | null;
5203
+ }
5204
+
5205
+
5206
+ /**
5207
+ *
5208
+ * @export
5209
+ * @interface GetSupportedChannelsResponseDto
5210
+ */
5211
+ export interface GetSupportedChannelsResponseDto {
5212
+ /**
5213
+ *
5214
+ * @type {Array<SupportedChannelDto>}
5215
+ * @memberof GetSupportedChannelsResponseDto
5216
+ */
5217
+ 'channels': Array<SupportedChannelDto>;
5218
+ }
5219
+ /**
5220
+ *
5221
+ * @export
5222
+ * @interface GetUserInfoResponseDto
5223
+ */
5224
+ export interface GetUserInfoResponseDto {
5225
+ /**
5226
+ *
5227
+ * @type {UserInfoResponseDto}
5228
+ * @memberof GetUserInfoResponseDto
5229
+ */
5230
+ 'userInfo': UserInfoResponseDto;
5231
+ /**
5232
+ *
5233
+ * @type {string}
5234
+ * @memberof GetUserInfoResponseDto
5235
+ */
5236
+ 'accessToken': string;
5237
+ /**
5238
+ *
5239
+ * @type {string}
5240
+ * @memberof GetUserInfoResponseDto
5241
+ */
5242
+ 'refreshToken': string;
5243
+ }
5244
+ /**
5245
+ *
5246
+ * @export
5247
+ * @interface GiftCardCredentialsDto
5248
+ */
5249
+ export interface GiftCardCredentialsDto {
5250
+ /**
5251
+ *
5252
+ * @type {string}
5253
+ * @memberof GiftCardCredentialsDto
5254
+ */
5255
+ 'baseUrl'?: string;
5256
+ /**
5257
+ *
5258
+ * @type {string}
5259
+ * @memberof GiftCardCredentialsDto
5260
+ */
5261
+ 'username'?: string;
5262
+ /**
5263
+ *
5264
+ * @type {string}
5265
+ * @memberof GiftCardCredentialsDto
5266
+ */
5267
+ 'password'?: string;
5268
+ }
5269
+ /**
5270
+ *
5271
+ * @export
5272
+ * @interface GiftCardInfoDto
5273
+ */
5274
+ export interface GiftCardInfoDto {
5275
+ /**
5276
+ *
5277
+ * @type {string}
5278
+ * @memberof GiftCardInfoDto
5279
+ */
5280
+ 'title': string;
5281
+ /**
5282
+ *
5283
+ * @type {number}
5284
+ * @memberof GiftCardInfoDto
5285
+ */
5286
+ 'balance': number;
5287
+ /**
5288
+ *
5289
+ * @type {string}
5290
+ * @memberof GiftCardInfoDto
5291
+ */
5292
+ 'currency': string;
5293
+ /**
5294
+ *
5295
+ * @type {string}
5296
+ * @memberof GiftCardInfoDto
5297
+ */
5298
+ 'expirationDate': string;
5299
+ /**
5300
+ *
5301
+ * @type {boolean}
5302
+ * @memberof GiftCardInfoDto
5303
+ */
5304
+ 'mustBeFullyRedeemed': boolean;
5305
+ /**
5306
+ *
5307
+ * @type {string}
5308
+ * @memberof GiftCardInfoDto
5309
+ */
5310
+ 'giftCardNumber': string;
5311
+ }
5312
+ /**
5313
+ *
5314
+ * @export
5315
+ * @interface GiftCardLinksDto
5316
+ */
5317
+ export interface GiftCardLinksDto {
5318
+ /**
5319
+ *
5320
+ * @type {string}
5321
+ * @memberof GiftCardLinksDto
5322
+ */
5323
+ 'redeem'?: string;
5324
+ /**
5325
+ *
5326
+ * @type {string}
5327
+ * @memberof GiftCardLinksDto
5328
+ */
5329
+ 'validate'?: string;
5330
+ }
5331
+ /**
5332
+ *
5333
+ * @export
5334
+ * @interface ImageBackgroundConfig
5335
+ */
5336
+ export interface ImageBackgroundConfig {
5337
+ /**
5338
+ * Opacity of the overlay
5339
+ * @type {number}
5340
+ * @memberof ImageBackgroundConfig
5341
+ */
5342
+ 'overlayOpacity': number;
5343
+ /**
5344
+ * Color of the overlay
5345
+ * @type {string}
5346
+ * @memberof ImageBackgroundConfig
5347
+ */
5348
+ 'overlayColor'?: string;
5349
+ /**
5350
+ *
5351
+ * @type {BusinessBackgroundType}
5352
+ * @memberof ImageBackgroundConfig
5353
+ */
5354
+ 'type': BusinessBackgroundType;
5355
+ /**
5356
+ * URL of the image
5357
+ * @type {string}
5358
+ * @memberof ImageBackgroundConfig
5359
+ */
5360
+ 'url': string;
5361
+ /**
5362
+ * Blur radius in pixels
5363
+ * @type {number}
5364
+ * @memberof ImageBackgroundConfig
5365
+ */
5366
+ 'blurRadius'?: number;
5367
+ }
5368
+
5369
+
5370
+ /**
5371
+ *
5372
+ * @export
5373
+ * @interface InitiateNetsTerminalPaymentResponseDto
5374
+ */
5375
+ export interface InitiateNetsTerminalPaymentResponseDto {
5376
+ /**
5377
+ * The unique request ID from Nets Connect@Cloud.
5378
+ * @type {string}
5379
+ * @memberof InitiateNetsTerminalPaymentResponseDto
5380
+ */
5381
+ 'connectCloudRequestId': string;
5382
+ }
5383
+ /**
5384
+ *
5385
+ * @export
5386
+ * @enum {string}
5387
+ */
5388
+
5389
+ export const IntegrationType = {
5390
+ Orders: 'ORDERS',
5391
+ Menu: 'MENU',
5392
+ Venue: 'VENUE',
5393
+ Kds: 'KDS'
5394
+ } as const;
5395
+
5396
+ export type IntegrationType = typeof IntegrationType[keyof typeof IntegrationType];
5397
+
5398
+
5399
+ /**
5400
+ *
5401
+ * @export
5402
+ * @interface InvoiceCompanyResponseDto
5403
+ */
5404
+ export interface InvoiceCompanyResponseDto {
5405
+ /**
5406
+ *
5407
+ * @type {string}
5408
+ * @memberof InvoiceCompanyResponseDto
5409
+ */
5410
+ 'id': string;
5411
+ /**
5412
+ *
5413
+ * @type {number}
5414
+ * @memberof InvoiceCompanyResponseDto
5415
+ */
5416
+ 'businessId': number;
5417
+ /**
5418
+ *
5419
+ * @type {string}
5420
+ * @memberof InvoiceCompanyResponseDto
5421
+ */
5422
+ 'name': string;
5423
+ /**
5424
+ *
5425
+ * @type {string}
5426
+ * @memberof InvoiceCompanyResponseDto
5427
+ */
5428
+ 'email': string;
5429
+ /**
5430
+ *
5431
+ * @type {string}
5432
+ * @memberof InvoiceCompanyResponseDto
5433
+ */
5434
+ 'countryCode': string;
5435
+ /**
5436
+ *
5437
+ * @type {string}
5438
+ * @memberof InvoiceCompanyResponseDto
5439
+ */
5440
+ 'phone': string;
5441
+ /**
5442
+ *
5443
+ * @type {string}
5444
+ * @memberof InvoiceCompanyResponseDto
5445
+ */
5446
+ 'bic'?: string;
5447
+ /**
5448
+ *
5449
+ * @type {string}
5450
+ * @memberof InvoiceCompanyResponseDto
5451
+ */
5452
+ 'address'?: string;
5453
+ /**
5454
+ *
5455
+ * @type {string}
5456
+ * @memberof InvoiceCompanyResponseDto
5457
+ */
5458
+ 'createdAt': string;
5459
+ /**
5460
+ *
5461
+ * @type {string}
5462
+ * @memberof InvoiceCompanyResponseDto
5463
+ */
5464
+ 'updatedAt': string;
5465
+ }
5466
+ /**
5467
+ *
5468
+ * @export
5469
+ * @interface IsvDetails
5470
+ */
5471
+ export interface IsvDetails {
5472
+ /**
5473
+ * The amount related to the ISV (Independent Software Vendor).
5474
+ * @type {number}
5475
+ * @memberof IsvDetails
5476
+ */
5477
+ 'amount'?: number;
5478
+ /**
5479
+ * The terminal merchant ID associated with the ISV.
5480
+ * @type {string}
5481
+ * @memberof IsvDetails
5482
+ */
5483
+ 'terminalMerchantId'?: string;
5484
+ /**
5485
+ * The source code for the ISV.
5486
+ * @type {string}
5487
+ * @memberof IsvDetails
5488
+ */
5489
+ 'sourceCode'?: string;
5490
+ /**
5491
+ * The merchant ID for the ISV.
5492
+ * @type {string}
5493
+ * @memberof IsvDetails
5494
+ */
5495
+ 'merchantId'?: string;
5496
+ /**
5497
+ * The merchant source code for the ISV.
5498
+ * @type {string}
5499
+ * @memberof IsvDetails
5500
+ */
5501
+ 'merchantSourceCode'?: string;
5502
+ }
5503
+ /**
5504
+ *
5505
+ * @export
5506
+ * @interface ItemBreakdownDto
5507
+ */
5508
+ export interface ItemBreakdownDto {
5509
+ /**
5510
+ * Item name
5511
+ * @type {string}
5512
+ * @memberof ItemBreakdownDto
5513
+ */
5514
+ 'itemName': string;
5515
+ /**
5516
+ * Quantity sold
5517
+ * @type {number}
5518
+ * @memberof ItemBreakdownDto
5519
+ */
5520
+ 'quantitySold': number;
5521
+ /**
5522
+ * Total amount
5523
+ * @type {number}
5524
+ * @memberof ItemBreakdownDto
5525
+ */
5526
+ 'totalAmount': number;
5527
+ }
5528
+ /**
5529
+ *
5530
+ * @export
5531
+ * @interface ItemPriceBreakdownDto
5532
+ */
5533
+ export interface ItemPriceBreakdownDto {
5534
+ /**
5535
+ *
5536
+ * @type {MoneyDto}
5537
+ * @memberof ItemPriceBreakdownDto
5538
+ */
5539
+ 'totalBeforeDiscounts': MoneyDto;
5540
+ /**
5541
+ *
5542
+ * @type {MoneyDto}
5543
+ * @memberof ItemPriceBreakdownDto
5544
+ */
5545
+ 'subtotalItemDiscounts': MoneyDto;
5546
+ /**
5547
+ *
5548
+ * @type {MoneyDto}
5549
+ * @memberof ItemPriceBreakdownDto
5550
+ */
5551
+ 'subtotalBasketDiscounts': MoneyDto;
5552
+ /**
5553
+ *
5554
+ * @type {MoneyDto}
5555
+ * @memberof ItemPriceBreakdownDto
5556
+ */
5557
+ 'totalDiscounts': MoneyDto;
5558
+ /**
5559
+ *
5560
+ * @type {MoneyDto}
5561
+ * @memberof ItemPriceBreakdownDto
5562
+ */
5563
+ 'basePriceBeforeDiscounts': MoneyDto;
5564
+ /**
5565
+ *
5566
+ * @type {MoneyDto}
5567
+ * @memberof ItemPriceBreakdownDto
5568
+ */
5569
+ 'unitPriceBeforeDiscounts': MoneyDto;
5570
+ /**
5571
+ *
5572
+ * @type {MoneyDto}
5573
+ * @memberof ItemPriceBreakdownDto
5574
+ */
5575
+ 'subtotalOptionsBasketDiscounts': MoneyDto;
5576
+ /**
5577
+ *
5578
+ * @type {MoneyDto}
5579
+ * @memberof ItemPriceBreakdownDto
5580
+ */
5581
+ 'subtotalOptionsItemDiscounts': MoneyDto;
5582
+ }
5583
+ /**
5584
+ *
5585
+ * @export
5586
+ * @interface ItemPriceDto
5587
+ */
5588
+ export interface ItemPriceDto {
5589
+ /**
5590
+ *
5591
+ * @type {MoneyDto}
5592
+ * @memberof ItemPriceDto
5593
+ */
5594
+ 'unitPrice': MoneyDto;
5595
+ /**
5596
+ *
5597
+ * @type {MoneyDto}
5598
+ * @memberof ItemPriceDto
5599
+ */
5600
+ 'basePrice': MoneyDto;
5601
+ /**
5602
+ *
5603
+ * @type {number}
5604
+ * @memberof ItemPriceDto
5605
+ */
5606
+ 'vatPercentage': number;
5607
+ /**
5608
+ *
5609
+ * @type {MoneyDto}
5610
+ * @memberof ItemPriceDto
5611
+ */
5612
+ 'total': MoneyDto;
5613
+ /**
5614
+ *
5615
+ * @type {ItemPriceBreakdownDto}
5616
+ * @memberof ItemPriceDto
5617
+ */
5618
+ 'priceBreakdown': ItemPriceBreakdownDto;
5619
+ }
5620
+ /**
5621
+ *
5622
+ * @export
5623
+ * @enum {string}
5624
+ */
5625
+
5626
+ export const KDSEVENTNAME = {
5627
+ OrderCreated: 'order.created',
5628
+ OrderReady: 'order.ready',
5629
+ OrderReverted: 'order.reverted',
5630
+ OrderDeleted: 'order.deleted',
5631
+ PrintingOrder: 'printing.order'
5632
+ } as const;
5633
+
5634
+ export type KDSEVENTNAME = typeof KDSEVENTNAME[keyof typeof KDSEVENTNAME];
5635
+
5636
+
5637
+ /**
5638
+ *
5639
+ * @export
5640
+ * @interface KdsCoordinateDto
5641
+ */
5642
+ export interface KdsCoordinateDto {
5643
+ /**
5644
+ *
5645
+ * @type {string}
5646
+ * @memberof KdsCoordinateDto
5647
+ */
5648
+ 'id': string;
5649
+ /**
5650
+ *
5651
+ * @type {number}
5652
+ * @memberof KdsCoordinateDto
5653
+ */
5654
+ 'lat': number | null;
5655
+ /**
5656
+ *
5657
+ * @type {number}
5658
+ * @memberof KdsCoordinateDto
5659
+ */
5660
+ 'lon': number | null;
5661
+ }
5662
+ /**
5663
+ *
5664
+ * @export
5665
+ * @interface KdsCustomerDto
5666
+ */
5667
+ export interface KdsCustomerDto {
5668
+ /**
5669
+ *
5670
+ * @type {string}
5671
+ * @memberof KdsCustomerDto
5672
+ */
5673
+ 'id': string;
5674
+ /**
5675
+ *
5676
+ * @type {string}
5677
+ * @memberof KdsCustomerDto
5678
+ */
5679
+ 'name': string;
5680
+ /**
5681
+ *
5682
+ * @type {string}
5683
+ * @memberof KdsCustomerDto
5684
+ */
5685
+ 'phone': string | null;
5686
+ /**
5687
+ *
5688
+ * @type {string}
5689
+ * @memberof KdsCustomerDto
5690
+ */
5691
+ 'email': string | null;
5692
+ }
5693
+ /**
5694
+ *
5695
+ * @export
5696
+ * @interface KdsDeliveryDto
5697
+ */
5698
+ export interface KdsDeliveryDto {
5699
+ /**
5700
+ *
5701
+ * @type {string}
5702
+ * @memberof KdsDeliveryDto
5703
+ */
5704
+ 'id': string;
5705
+ /**
5706
+ *
5707
+ * @type {boolean}
5708
+ * @memberof KdsDeliveryDto
5709
+ */
5710
+ 'selfDelivery': boolean;
5711
+ /**
5712
+ *
5713
+ * @type {string}
5714
+ * @memberof KdsDeliveryDto
5715
+ */
5716
+ 'note': string | null;
5717
+ /**
5718
+ *
5719
+ * @type {DeliveryStatus}
5720
+ * @memberof KdsDeliveryDto
5721
+ */
5722
+ 'status': DeliveryStatus;
5723
+ /**
5724
+ *
5725
+ * @type {DeliveryType}
5726
+ * @memberof KdsDeliveryDto
5727
+ */
5728
+ 'type': DeliveryType;
5729
+ /**
5730
+ *
5731
+ * @type {number}
5732
+ * @memberof KdsDeliveryDto
5733
+ */
5734
+ 'deliveryFee': number;
5735
+ /**
5736
+ *
5737
+ * @type {KdsLocationDto}
5738
+ * @memberof KdsDeliveryDto
5739
+ */
5740
+ 'location': KdsLocationDto | null;
5741
+ }
5742
+
5743
+
5744
+ /**
5745
+ *
5746
+ * @export
5747
+ * @interface KdsLocationDto
5748
+ */
5749
+ export interface KdsLocationDto {
5750
+ /**
5751
+ *
5752
+ * @type {string}
5753
+ * @memberof KdsLocationDto
5754
+ */
5755
+ 'id': string;
5756
+ /**
5757
+ *
5758
+ * @type {string}
5759
+ * @memberof KdsLocationDto
5760
+ */
5761
+ 'formatted_address': string | null;
5762
+ /**
5763
+ *
5764
+ * @type {string}
5765
+ * @memberof KdsLocationDto
5766
+ */
5767
+ 'city': string | null;
5768
+ /**
5769
+ *
5770
+ * @type {string}
5771
+ * @memberof KdsLocationDto
5772
+ */
5773
+ 'country': string | null;
5774
+ /**
5775
+ *
5776
+ * @type {KdsCoordinateDto}
5777
+ * @memberof KdsLocationDto
5778
+ */
5779
+ 'coordinates': KdsCoordinateDto | null;
5780
+ }
5781
+ /**
5782
+ *
5783
+ * @export
5784
+ * @interface KdsOrderDto
5785
+ */
5786
+ export interface KdsOrderDto {
5787
+ /**
5788
+ *
5789
+ * @type {string}
5790
+ * @memberof KdsOrderDto
5791
+ */
5792
+ 'id': string;
5793
+ /**
5794
+ *
5795
+ * @type {string}
5796
+ * @memberof KdsOrderDto
5797
+ */
5798
+ 'parentOrderId': string;
5799
+ /**
5800
+ *
5801
+ * @type {number}
5802
+ * @memberof KdsOrderDto
5803
+ */
5804
+ 'businessId': number;
5805
+ /**
5806
+ *
5807
+ * @type {string}
5808
+ * @memberof KdsOrderDto
5809
+ */
5810
+ 'profileId': string;
5811
+ /**
5812
+ *
5813
+ * @type {string}
5814
+ * @memberof KdsOrderDto
5815
+ */
5816
+ 'profileName': string;
5817
+ /**
5818
+ *
5819
+ * @type {ProviderEnum}
5820
+ * @memberof KdsOrderDto
5821
+ */
5822
+ 'provider': ProviderEnum;
5823
+ /**
5824
+ *
5825
+ * @type {string}
5826
+ * @memberof KdsOrderDto
5827
+ */
5828
+ 'orderNumber': string;
5829
+ /**
5830
+ *
5831
+ * @type {string}
5832
+ * @memberof KdsOrderDto
5833
+ */
5834
+ 'comment': string | null;
5835
+ /**
5836
+ *
5837
+ * @type {number}
5838
+ * @memberof KdsOrderDto
5839
+ */
5840
+ 'preparedIn': number | null;
5841
+ /**
5842
+ *
5843
+ * @type {string}
5844
+ * @memberof KdsOrderDto
5845
+ */
5846
+ 'spotNumber': string | null;
5847
+ /**
5848
+ *
5849
+ * @type {string}
5850
+ * @memberof KdsOrderDto
5851
+ */
5852
+ 'acceptedAt': string | null;
5853
+ /**
5854
+ *
5855
+ * @type {string}
5856
+ * @memberof KdsOrderDto
5857
+ */
5858
+ 'pickupEta': string | null;
5859
+ /**
5860
+ *
5861
+ * @type {string}
5862
+ * @memberof KdsOrderDto
5863
+ */
5864
+ 'deliveryEta': string | null;
5865
+ /**
5866
+ *
5867
+ * @type {ConsumptionType}
5868
+ * @memberof KdsOrderDto
5869
+ */
5870
+ 'consumptionType': ConsumptionType;
5871
+ /**
5872
+ *
5873
+ * @type {string}
5874
+ * @memberof KdsOrderDto
5875
+ */
5876
+ 'orderCreatedAt': string;
5877
+ /**
5878
+ *
5879
+ * @type {string}
5880
+ * @memberof KdsOrderDto
5881
+ */
5882
+ 'orderUpdatedAt': string;
5883
+ /**
5884
+ *
5885
+ * @type {OrderType}
5886
+ * @memberof KdsOrderDto
5887
+ */
5888
+ 'type': OrderType;
5889
+ /**
5890
+ *
5891
+ * @type {OrderMode}
5892
+ * @memberof KdsOrderDto
5893
+ */
5894
+ 'orderMode': OrderMode;
5895
+ /**
5896
+ *
5897
+ * @type {SourceType}
5898
+ * @memberof KdsOrderDto
5899
+ */
5900
+ 'sourceType': SourceType;
5901
+ /**
5902
+ *
5903
+ * @type {OrderStatus}
5904
+ * @memberof KdsOrderDto
5905
+ */
5906
+ 'status': OrderStatus;
5907
+ /**
5908
+ *
5909
+ * @type {string}
5910
+ * @memberof KdsOrderDto
5911
+ */
5912
+ 'createdAt': string;
5913
+ /**
5914
+ *
5915
+ * @type {string}
5916
+ * @memberof KdsOrderDto
5917
+ */
5918
+ 'updatedAt': string;
5919
+ /**
5920
+ *
5921
+ * @type {KdsCustomerDto}
5922
+ * @memberof KdsOrderDto
5923
+ */
5924
+ 'customer': KdsCustomerDto | null;
5925
+ /**
5926
+ *
5927
+ * @type {KdsDeliveryDto}
5928
+ * @memberof KdsOrderDto
5929
+ */
5930
+ 'delivery': KdsDeliveryDto | null;
5931
+ /**
5932
+ *
5933
+ * @type {KdsPreorderDto}
5934
+ * @memberof KdsOrderDto
5935
+ */
5936
+ 'preorder': KdsPreorderDto | null;
5937
+ /**
5938
+ *
5939
+ * @type {KdsPriceSummaryDto}
5940
+ * @memberof KdsOrderDto
5941
+ */
5942
+ 'priceSummary': KdsPriceSummaryDto | null;
5943
+ /**
5944
+ *
5945
+ * @type {Array<KdsOrderItemDto>}
5946
+ * @memberof KdsOrderDto
5947
+ */
5948
+ 'items': Array<KdsOrderItemDto>;
5949
+ }
5950
+
5951
+
5952
+ /**
5953
+ *
5954
+ * @export
5955
+ * @interface KdsOrderItemDto
5956
+ */
5957
+ export interface KdsOrderItemDto {
5958
+ /**
5959
+ *
5960
+ * @type {string}
5961
+ * @memberof KdsOrderItemDto
5962
+ */
5963
+ 'id': string;
5964
+ /**
5965
+ *
5966
+ * @type {string}
5967
+ * @memberof KdsOrderItemDto
5968
+ */
5969
+ 'orderId': string;
5970
+ /**
5971
+ *
5972
+ * @type {string}
5973
+ * @memberof KdsOrderItemDto
5974
+ */
5975
+ 'externalProductId': string;
5976
+ /**
5977
+ *
5978
+ * @type {string}
5979
+ * @memberof KdsOrderItemDto
5980
+ */
5981
+ 'name': string;
5982
+ /**
5983
+ *
5984
+ * @type {number}
5985
+ * @memberof KdsOrderItemDto
5986
+ */
5987
+ 'quantity': number;
5988
+ /**
5989
+ *
5990
+ * @type {number}
5991
+ * @memberof KdsOrderItemDto
5992
+ */
5993
+ 'unitPrice': number;
5994
+ /**
5995
+ *
5996
+ * @type {number}
5997
+ * @memberof KdsOrderItemDto
5998
+ */
5999
+ 'paidPrice': number;
6000
+ /**
6001
+ *
6002
+ * @type {string}
6003
+ * @memberof KdsOrderItemDto
6004
+ */
6005
+ 'comment': string | null;
6006
+ /**
6007
+ *
6008
+ * @type {KitchenItemStatus}
6009
+ * @memberof KdsOrderItemDto
6010
+ */
6011
+ 'kitchenStatus': KitchenItemStatus;
6012
+ /**
6013
+ *
6014
+ * @type {string}
6015
+ * @memberof KdsOrderItemDto
6016
+ */
6017
+ 'createdAt': string;
6018
+ /**
6019
+ *
6020
+ * @type {string}
6021
+ * @memberof KdsOrderItemDto
6022
+ */
6023
+ 'updatedAt': string;
6024
+ /**
6025
+ *
6026
+ * @type {Array<KdsOrderOptionDto>}
6027
+ * @memberof KdsOrderItemDto
6028
+ */
6029
+ 'options': Array<KdsOrderOptionDto>;
6030
+ }
6031
+
6032
+
6033
+ /**
6034
+ *
6035
+ * @export
6036
+ * @interface KdsOrderListResponseDto
6037
+ */
6038
+ export interface KdsOrderListResponseDto {
6039
+ /**
6040
+ * KDS orders
6041
+ * @type {Array<KdsOrderDto>}
6042
+ * @memberof KdsOrderListResponseDto
6043
+ */
6044
+ 'orders': Array<KdsOrderDto>;
6045
+ /**
6046
+ *
6047
+ * @type {KdsOrderListResponseDtoPagination}
6048
+ * @memberof KdsOrderListResponseDto
6049
+ */
6050
+ 'pagination': KdsOrderListResponseDtoPagination;
6051
+ }
6052
+ /**
6053
+ * Pagination details
6054
+ * @export
6055
+ * @interface KdsOrderListResponseDtoPagination
6056
+ */
6057
+ export interface KdsOrderListResponseDtoPagination {
6058
+ /**
6059
+ *
6060
+ * @type {number}
6061
+ * @memberof KdsOrderListResponseDtoPagination
6062
+ */
6063
+ 'page': number;
6064
+ /**
6065
+ *
6066
+ * @type {number}
6067
+ * @memberof KdsOrderListResponseDtoPagination
6068
+ */
6069
+ 'rowPerPage': number;
6070
+ /**
6071
+ *
6072
+ * @type {number}
6073
+ * @memberof KdsOrderListResponseDtoPagination
6074
+ */
6075
+ 'totalPages': number;
6076
+ /**
6077
+ *
6078
+ * @type {number}
6079
+ * @memberof KdsOrderListResponseDtoPagination
6080
+ */
6081
+ 'totalItems': number;
6082
+ /**
6083
+ *
6084
+ * @type {boolean}
6085
+ * @memberof KdsOrderListResponseDtoPagination
6086
+ */
6087
+ 'hasNextPage': boolean;
6088
+ /**
6089
+ *
6090
+ * @type {boolean}
6091
+ * @memberof KdsOrderListResponseDtoPagination
6092
+ */
6093
+ 'hasPreviousPage': boolean;
6094
+ }
6095
+ /**
6096
+ *
6097
+ * @export
6098
+ * @interface KdsOrderOptionDto
6099
+ */
6100
+ export interface KdsOrderOptionDto {
6101
+ /**
6102
+ *
6103
+ * @type {string}
6104
+ * @memberof KdsOrderOptionDto
6105
+ */
6106
+ 'id': string;
6107
+ /**
6108
+ *
6109
+ * @type {string}
6110
+ * @memberof KdsOrderOptionDto
6111
+ */
6112
+ 'orderItemId': string;
6113
+ /**
6114
+ *
6115
+ * @type {string}
6116
+ * @memberof KdsOrderOptionDto
6117
+ */
6118
+ 'externalId': string;
6119
+ /**
6120
+ *
6121
+ * @type {string}
6122
+ * @memberof KdsOrderOptionDto
6123
+ */
6124
+ 'name': string;
6125
+ /**
6126
+ *
6127
+ * @type {string}
6128
+ * @memberof KdsOrderOptionDto
6129
+ */
6130
+ 'image': string | null;
6131
+ /**
6132
+ *
6133
+ * @type {string}
6134
+ * @memberof KdsOrderOptionDto
6135
+ */
6136
+ 'createdAt': string;
6137
+ /**
6138
+ *
6139
+ * @type {string}
6140
+ * @memberof KdsOrderOptionDto
6141
+ */
6142
+ 'updatedAt': string;
6143
+ /**
6144
+ *
6145
+ * @type {Array<KdsOrderSubOptionDto>}
6146
+ * @memberof KdsOrderOptionDto
6147
+ */
6148
+ 'subOptions': Array<KdsOrderSubOptionDto>;
6149
+ }
6150
+ /**
6151
+ *
6152
+ * @export
6153
+ * @interface KdsOrderSubOptionDto
6154
+ */
6155
+ export interface KdsOrderSubOptionDto {
6156
+ /**
6157
+ *
6158
+ * @type {string}
6159
+ * @memberof KdsOrderSubOptionDto
6160
+ */
6161
+ 'id': string;
6162
+ /**
6163
+ *
6164
+ * @type {string}
6165
+ * @memberof KdsOrderSubOptionDto
6166
+ */
6167
+ 'orderOptionId': string;
6168
+ /**
6169
+ *
6170
+ * @type {string}
6171
+ * @memberof KdsOrderSubOptionDto
6172
+ */
6173
+ 'externalId': string;
6174
+ /**
6175
+ *
6176
+ * @type {string}
6177
+ * @memberof KdsOrderSubOptionDto
6178
+ */
6179
+ 'name': string;
6180
+ /**
6181
+ *
6182
+ * @type {number}
6183
+ * @memberof KdsOrderSubOptionDto
6184
+ */
6185
+ 'quantity': number;
6186
+ /**
6187
+ *
6188
+ * @type {number}
6189
+ * @memberof KdsOrderSubOptionDto
6190
+ */
6191
+ 'unitPrice': number;
6192
+ /**
6193
+ *
6194
+ * @type {number}
6195
+ * @memberof KdsOrderSubOptionDto
6196
+ */
6197
+ 'paidPrice': number;
6198
+ /**
6199
+ *
6200
+ * @type {string}
6201
+ * @memberof KdsOrderSubOptionDto
6202
+ */
6203
+ 'createdAt': string;
6204
+ /**
6205
+ *
6206
+ * @type {string}
6207
+ * @memberof KdsOrderSubOptionDto
6208
+ */
6209
+ 'updatedAt': string;
6210
+ }
6211
+ /**
6212
+ *
6213
+ * @export
6214
+ * @interface KdsPaginationDto
6215
+ */
6216
+ export interface KdsPaginationDto {
6217
+ /**
6218
+ *
6219
+ * @type {number}
6220
+ * @memberof KdsPaginationDto
6221
+ */
6222
+ 'page': number;
6223
+ /**
6224
+ *
6225
+ * @type {number}
6226
+ * @memberof KdsPaginationDto
6227
+ */
6228
+ 'rowPerPage': number;
6229
+ /**
6230
+ *
6231
+ * @type {number}
6232
+ * @memberof KdsPaginationDto
6233
+ */
6234
+ 'totalPages': number;
6235
+ /**
6236
+ *
6237
+ * @type {number}
6238
+ * @memberof KdsPaginationDto
6239
+ */
6240
+ 'totalItems': number;
6241
+ /**
6242
+ *
6243
+ * @type {boolean}
6244
+ * @memberof KdsPaginationDto
6245
+ */
6246
+ 'hasNextPage': boolean;
6247
+ /**
6248
+ *
6249
+ * @type {boolean}
6250
+ * @memberof KdsPaginationDto
6251
+ */
6252
+ 'hasPreviousPage': boolean;
6253
+ }
6254
+ /**
6255
+ *
6256
+ * @export
6257
+ * @interface KdsPreorderDto
6258
+ */
6259
+ export interface KdsPreorderDto {
6260
+ /**
6261
+ *
6262
+ * @type {string}
6263
+ * @memberof KdsPreorderDto
6264
+ */
6265
+ 'id': string;
6266
+ /**
6267
+ *
6268
+ * @type {PreorderStatus}
6269
+ * @memberof KdsPreorderDto
6270
+ */
6271
+ 'status': PreorderStatus;
6272
+ /**
6273
+ *
6274
+ * @type {string}
6275
+ * @memberof KdsPreorderDto
6276
+ */
6277
+ 'preorderTime': string;
6278
+ }
6279
+
6280
+
6281
+ /**
6282
+ *
6283
+ * @export
6284
+ * @interface KdsPriceSummaryDto
6285
+ */
6286
+ export interface KdsPriceSummaryDto {
6287
+ /**
6288
+ *
6289
+ * @type {string}
6290
+ * @memberof KdsPriceSummaryDto
6291
+ */
6292
+ 'id': string;
6293
+ /**
6294
+ *
6295
+ * @type {number}
6296
+ * @memberof KdsPriceSummaryDto
6297
+ */
6298
+ 'totalNet': number;
6299
+ }
6300
+ /**
6301
+ *
6302
+ * @export
6303
+ * @interface KdsPrintingEventDto
6304
+ */
6305
+ export interface KdsPrintingEventDto {
6306
+ /**
6307
+ *
6308
+ * @type {KDSEVENTNAME}
6309
+ * @memberof KdsPrintingEventDto
6310
+ */
6311
+ 'event': KDSEVENTNAME;
6312
+ /**
6313
+ *
6314
+ * @type {KdsOrderDto}
6315
+ * @memberof KdsPrintingEventDto
6316
+ */
6317
+ 'order': KdsOrderDto;
6318
+ }
6319
+
6320
+
6321
+ /**
6322
+ *
6323
+ * @export
6324
+ * @interface KdsProfileDto
6325
+ */
6326
+ export interface KdsProfileDto {
6327
+ /**
6328
+ *
6329
+ * @type {string}
6330
+ * @memberof KdsProfileDto
6331
+ */
6332
+ 'id': string;
6333
+ /**
6334
+ *
6335
+ * @type {string}
6336
+ * @memberof KdsProfileDto
6337
+ */
6338
+ 'name': string;
6339
+ /**
6340
+ *
6341
+ * @type {SystemProfileType}
6342
+ * @memberof KdsProfileDto
6343
+ */
6344
+ 'systemType': SystemProfileType | null;
6345
+ }
6346
+
6347
+
6348
+ /**
6349
+ *
6350
+ * @export
6351
+ * @interface KdsProfileResponseDto
6352
+ */
6353
+ export interface KdsProfileResponseDto {
6354
+ /**
6355
+ * The KDS profile identifier
4874
6356
  * @type {string}
4875
- * @memberof GetPaymentReferenceDto
6357
+ * @memberof KdsProfileResponseDto
4876
6358
  */
4877
- 'transactionId': string;
6359
+ 'id': string;
4878
6360
  /**
4879
- * The unique identifier of the order
6361
+ * The KDS profile name
4880
6362
  * @type {string}
4881
- * @memberof GetPaymentReferenceDto
6363
+ * @memberof KdsProfileResponseDto
4882
6364
  */
4883
- 'orderId': string;
6365
+ 'name': string;
6366
+ /**
6367
+ *
6368
+ * @type {SystemProfileType}
6369
+ * @memberof KdsProfileResponseDto
6370
+ */
6371
+ 'systemType': SystemProfileType | null;
4884
6372
  }
4885
6373
 
4886
6374
 
4887
6375
  /**
4888
6376
  *
4889
6377
  * @export
4890
- * @interface GetPaymentStatusDto
6378
+ * @interface KdsPubSubPayloadDto
4891
6379
  */
4892
- export interface GetPaymentStatusDto {
6380
+ export interface KdsPubSubPayloadDto {
4893
6381
  /**
4894
6382
  *
4895
- * @type {PaymentProvider}
4896
- * @memberof GetPaymentStatusDto
6383
+ * @type {PubSubTarget}
6384
+ * @memberof KdsPubSubPayloadDto
4897
6385
  */
4898
- 'provider': PaymentProvider;
6386
+ 'target': PubSubTarget;
4899
6387
  /**
4900
- * The session ID or reference ID from the payment provider (e.g., Viva sessionId).
4901
- * @type {string}
4902
- * @memberof GetPaymentStatusDto
6388
+ *
6389
+ * @type {ProviderEnum}
6390
+ * @memberof KdsPubSubPayloadDto
4903
6391
  */
4904
- 'referenceId': string;
6392
+ 'provider': ProviderEnum;
4905
6393
  /**
4906
- * The ordering business ID for this transaction.
6394
+ *
4907
6395
  * @type {number}
4908
- * @memberof GetPaymentStatusDto
6396
+ * @memberof KdsPubSubPayloadDto
4909
6397
  */
4910
6398
  'businessId': number;
4911
6399
  /**
4912
- * The order ID associated with this payment (optional, returned in response for convenience).
6400
+ *
6401
+ * @type {PubSubAction}
6402
+ * @memberof KdsPubSubPayloadDto
6403
+ */
6404
+ 'action': PubSubAction;
6405
+ /**
6406
+ *
4913
6407
  * @type {string}
4914
- * @memberof GetPaymentStatusDto
6408
+ * @memberof KdsPubSubPayloadDto
4915
6409
  */
4916
- 'orderId'?: string;
6410
+ 'orderId': string;
6411
+ /**
6412
+ *
6413
+ * @type {SourceType}
6414
+ * @memberof KdsPubSubPayloadDto
6415
+ */
6416
+ 'type': SourceType;
4917
6417
  }
4918
6418
 
4919
6419
 
4920
6420
  /**
4921
6421
  *
4922
6422
  * @export
4923
- * @interface GetStationResponseDto
6423
+ * @interface KdsReadyOrderResponseDto
4924
6424
  */
4925
- export interface GetStationResponseDto {
6425
+ export interface KdsReadyOrderResponseDto {
6426
+ /**
6427
+ * Indicates whether the KDS order ready update succeeded
6428
+ * @type {boolean}
6429
+ * @memberof KdsReadyOrderResponseDto
6430
+ */
6431
+ 'status': boolean;
6432
+ /**
6433
+ * Human-readable status message
6434
+ * @type {string}
6435
+ * @memberof KdsReadyOrderResponseDto
6436
+ */
6437
+ 'message': string;
4926
6438
  /**
4927
6439
  *
4928
- * @type {GetStationResponseDtoStation}
4929
- * @memberof GetStationResponseDto
6440
+ * @type {KdsReadyOrderResponseDtoOrder}
6441
+ * @memberof KdsReadyOrderResponseDto
4930
6442
  */
4931
- 'station': GetStationResponseDtoStation | null;
6443
+ 'order': KdsReadyOrderResponseDtoOrder | null;
4932
6444
  }
4933
6445
  /**
4934
- * The station details.
6446
+ * Updated KDS order after the ready flow completes
4935
6447
  * @export
4936
- * @interface GetStationResponseDtoStation
6448
+ * @interface KdsReadyOrderResponseDtoOrder
4937
6449
  */
4938
- export interface GetStationResponseDtoStation {
6450
+ export interface KdsReadyOrderResponseDtoOrder {
4939
6451
  /**
4940
6452
  *
4941
6453
  * @type {string}
4942
- * @memberof GetStationResponseDtoStation
6454
+ * @memberof KdsReadyOrderResponseDtoOrder
4943
6455
  */
4944
6456
  'id': string;
4945
6457
  /**
4946
6458
  *
4947
6459
  * @type {string}
4948
- * @memberof GetStationResponseDtoStation
6460
+ * @memberof KdsReadyOrderResponseDtoOrder
4949
6461
  */
4950
- 'name': string;
6462
+ 'parentOrderId': string;
4951
6463
  /**
4952
6464
  *
4953
- * @type {string}
4954
- * @memberof GetStationResponseDtoStation
6465
+ * @type {number}
6466
+ * @memberof KdsReadyOrderResponseDtoOrder
4955
6467
  */
4956
- 'hardwareId': string;
6468
+ 'businessId': number;
4957
6469
  /**
4958
6470
  *
4959
- * @type {StationType}
4960
- * @memberof GetStationResponseDtoStation
6471
+ * @type {string}
6472
+ * @memberof KdsReadyOrderResponseDtoOrder
4961
6473
  */
4962
- 'type': StationType;
6474
+ 'profileId': string;
4963
6475
  /**
4964
6476
  *
4965
- * @type {DeviceType}
4966
- * @memberof GetStationResponseDtoStation
6477
+ * @type {string}
6478
+ * @memberof KdsReadyOrderResponseDtoOrder
4967
6479
  */
4968
- 'deviceType'?: DeviceType;
6480
+ 'profileName': string;
4969
6481
  /**
4970
6482
  *
4971
- * @type {Status}
4972
- * @memberof GetStationResponseDtoStation
6483
+ * @type {ProviderEnum}
6484
+ * @memberof KdsReadyOrderResponseDtoOrder
4973
6485
  */
4974
- 'status': Status;
6486
+ 'provider': ProviderEnum;
4975
6487
  /**
4976
6488
  *
4977
- * @type {number}
4978
- * @memberof GetStationResponseDtoStation
6489
+ * @type {string}
6490
+ * @memberof KdsReadyOrderResponseDtoOrder
4979
6491
  */
4980
- 'orderingBusinessId': number;
6492
+ 'orderNumber': string;
4981
6493
  /**
4982
6494
  *
4983
6495
  * @type {string}
4984
- * @memberof GetStationResponseDtoStation
6496
+ * @memberof KdsReadyOrderResponseDtoOrder
4985
6497
  */
4986
- 'prefix': string;
6498
+ 'comment': string | null;
4987
6499
  /**
4988
6500
  *
4989
- * @type {object}
4990
- * @memberof GetStationResponseDtoStation
6501
+ * @type {number}
6502
+ * @memberof KdsReadyOrderResponseDtoOrder
4991
6503
  */
4992
- 'metadata'?: object;
6504
+ 'preparedIn': number | null;
4993
6505
  /**
4994
- * Timestamp when the station record was created.
6506
+ *
4995
6507
  * @type {string}
4996
- * @memberof GetStationResponseDtoStation
6508
+ * @memberof KdsReadyOrderResponseDtoOrder
4997
6509
  */
4998
- 'createdAt': string;
6510
+ 'spotNumber': string | null;
4999
6511
  /**
5000
- * Timestamp when the station record was last updated.
6512
+ *
5001
6513
  * @type {string}
5002
- * @memberof GetStationResponseDtoStation
6514
+ * @memberof KdsReadyOrderResponseDtoOrder
5003
6515
  */
5004
- 'updatedAt': string;
6516
+ 'acceptedAt': string | null;
5005
6517
  /**
5006
6518
  *
5007
- * @type {StationDetailsDtoPaymentTerminal}
5008
- * @memberof GetStationResponseDtoStation
6519
+ * @type {string}
6520
+ * @memberof KdsReadyOrderResponseDtoOrder
5009
6521
  */
5010
- 'paymentTerminal'?: StationDetailsDtoPaymentTerminal | null;
5011
- }
5012
-
5013
-
5014
- /**
5015
- *
5016
- * @export
5017
- * @interface GetSupportedChannelsResponseDto
5018
- */
5019
- export interface GetSupportedChannelsResponseDto {
6522
+ 'pickupEta': string | null;
5020
6523
  /**
5021
6524
  *
5022
- * @type {Array<SupportedChannelDto>}
5023
- * @memberof GetSupportedChannelsResponseDto
6525
+ * @type {string}
6526
+ * @memberof KdsReadyOrderResponseDtoOrder
5024
6527
  */
5025
- 'channels': Array<SupportedChannelDto>;
5026
- }
5027
- /**
5028
- *
5029
- * @export
5030
- * @interface GetUserInfoResponseDto
5031
- */
5032
- export interface GetUserInfoResponseDto {
6528
+ 'deliveryEta': string | null;
5033
6529
  /**
5034
6530
  *
5035
- * @type {UserInfoResponseDto}
5036
- * @memberof GetUserInfoResponseDto
6531
+ * @type {ConsumptionType}
6532
+ * @memberof KdsReadyOrderResponseDtoOrder
5037
6533
  */
5038
- 'userInfo': UserInfoResponseDto;
6534
+ 'consumptionType': ConsumptionType;
5039
6535
  /**
5040
6536
  *
5041
6537
  * @type {string}
5042
- * @memberof GetUserInfoResponseDto
6538
+ * @memberof KdsReadyOrderResponseDtoOrder
5043
6539
  */
5044
- 'accessToken': string;
6540
+ 'orderCreatedAt': string;
5045
6541
  /**
5046
6542
  *
5047
6543
  * @type {string}
5048
- * @memberof GetUserInfoResponseDto
6544
+ * @memberof KdsReadyOrderResponseDtoOrder
5049
6545
  */
5050
- 'refreshToken': string;
5051
- }
5052
- /**
5053
- *
5054
- * @export
5055
- * @interface GiftCardCredentialsDto
5056
- */
5057
- export interface GiftCardCredentialsDto {
6546
+ 'orderUpdatedAt': string;
5058
6547
  /**
5059
6548
  *
5060
- * @type {string}
5061
- * @memberof GiftCardCredentialsDto
6549
+ * @type {OrderType}
6550
+ * @memberof KdsReadyOrderResponseDtoOrder
5062
6551
  */
5063
- 'baseUrl'?: string;
6552
+ 'type': OrderType;
5064
6553
  /**
5065
6554
  *
5066
- * @type {string}
5067
- * @memberof GiftCardCredentialsDto
6555
+ * @type {OrderMode}
6556
+ * @memberof KdsReadyOrderResponseDtoOrder
5068
6557
  */
5069
- 'username'?: string;
6558
+ 'orderMode': OrderMode;
5070
6559
  /**
5071
6560
  *
5072
- * @type {string}
5073
- * @memberof GiftCardCredentialsDto
6561
+ * @type {SourceType}
6562
+ * @memberof KdsReadyOrderResponseDtoOrder
5074
6563
  */
5075
- 'password'?: string;
5076
- }
5077
- /**
5078
- *
5079
- * @export
5080
- * @interface GiftCardInfoDto
5081
- */
5082
- export interface GiftCardInfoDto {
6564
+ 'sourceType': SourceType;
5083
6565
  /**
5084
6566
  *
5085
- * @type {string}
5086
- * @memberof GiftCardInfoDto
6567
+ * @type {OrderStatus}
6568
+ * @memberof KdsReadyOrderResponseDtoOrder
5087
6569
  */
5088
- 'title': string;
6570
+ 'status': OrderStatus;
5089
6571
  /**
5090
6572
  *
5091
- * @type {number}
5092
- * @memberof GiftCardInfoDto
6573
+ * @type {string}
6574
+ * @memberof KdsReadyOrderResponseDtoOrder
5093
6575
  */
5094
- 'balance': number;
6576
+ 'createdAt': string;
5095
6577
  /**
5096
6578
  *
5097
6579
  * @type {string}
5098
- * @memberof GiftCardInfoDto
6580
+ * @memberof KdsReadyOrderResponseDtoOrder
5099
6581
  */
5100
- 'currency': string;
6582
+ 'updatedAt': string;
5101
6583
  /**
5102
6584
  *
5103
- * @type {string}
5104
- * @memberof GiftCardInfoDto
6585
+ * @type {KdsCustomerDto}
6586
+ * @memberof KdsReadyOrderResponseDtoOrder
5105
6587
  */
5106
- 'expirationDate': string;
6588
+ 'customer': KdsCustomerDto | null;
5107
6589
  /**
5108
6590
  *
5109
- * @type {boolean}
5110
- * @memberof GiftCardInfoDto
6591
+ * @type {KdsDeliveryDto}
6592
+ * @memberof KdsReadyOrderResponseDtoOrder
5111
6593
  */
5112
- 'mustBeFullyRedeemed': boolean;
6594
+ 'delivery': KdsDeliveryDto | null;
5113
6595
  /**
5114
6596
  *
5115
- * @type {string}
5116
- * @memberof GiftCardInfoDto
6597
+ * @type {KdsPreorderDto}
6598
+ * @memberof KdsReadyOrderResponseDtoOrder
5117
6599
  */
5118
- 'giftCardNumber': string;
5119
- }
5120
- /**
5121
- *
5122
- * @export
5123
- * @interface GiftCardLinksDto
5124
- */
5125
- export interface GiftCardLinksDto {
6600
+ 'preorder': KdsPreorderDto | null;
5126
6601
  /**
5127
6602
  *
5128
- * @type {string}
5129
- * @memberof GiftCardLinksDto
6603
+ * @type {KdsPriceSummaryDto}
6604
+ * @memberof KdsReadyOrderResponseDtoOrder
5130
6605
  */
5131
- 'redeem'?: string;
6606
+ 'priceSummary': KdsPriceSummaryDto | null;
5132
6607
  /**
5133
6608
  *
5134
- * @type {string}
5135
- * @memberof GiftCardLinksDto
6609
+ * @type {Array<KdsOrderItemDto>}
6610
+ * @memberof KdsReadyOrderResponseDtoOrder
5136
6611
  */
5137
- 'validate'?: string;
6612
+ 'items': Array<KdsOrderItemDto>;
5138
6613
  }
6614
+
6615
+
5139
6616
  /**
5140
6617
  *
5141
6618
  * @export
5142
- * @interface ImageBackgroundConfig
6619
+ * @interface KdsRevertOrderResponseDto
5143
6620
  */
5144
- export interface ImageBackgroundConfig {
6621
+ export interface KdsRevertOrderResponseDto {
5145
6622
  /**
5146
- * Opacity of the overlay
5147
- * @type {number}
5148
- * @memberof ImageBackgroundConfig
6623
+ * Indicates whether the KDS order revert succeeded
6624
+ * @type {boolean}
6625
+ * @memberof KdsRevertOrderResponseDto
5149
6626
  */
5150
- 'overlayOpacity': number;
6627
+ 'status': boolean;
5151
6628
  /**
5152
- * Color of the overlay
6629
+ * Human-readable status message
5153
6630
  * @type {string}
5154
- * @memberof ImageBackgroundConfig
6631
+ * @memberof KdsRevertOrderResponseDto
5155
6632
  */
5156
- 'overlayColor'?: string;
6633
+ 'message': string;
5157
6634
  /**
5158
6635
  *
5159
- * @type {BusinessBackgroundType}
5160
- * @memberof ImageBackgroundConfig
5161
- */
5162
- 'type': BusinessBackgroundType;
5163
- /**
5164
- * URL of the image
5165
- * @type {string}
5166
- * @memberof ImageBackgroundConfig
5167
- */
5168
- 'url': string;
5169
- /**
5170
- * Blur radius in pixels
5171
- * @type {number}
5172
- * @memberof ImageBackgroundConfig
6636
+ * @type {KdsRevertOrderResponseDtoOrder}
6637
+ * @memberof KdsRevertOrderResponseDto
5173
6638
  */
5174
- 'blurRadius'?: number;
6639
+ 'order': KdsRevertOrderResponseDtoOrder | null;
5175
6640
  }
5176
-
5177
-
5178
6641
  /**
5179
- *
6642
+ * Updated KDS order after the revert flow completes
5180
6643
  * @export
5181
- * @interface InitiateNetsTerminalPaymentResponseDto
6644
+ * @interface KdsRevertOrderResponseDtoOrder
5182
6645
  */
5183
- export interface InitiateNetsTerminalPaymentResponseDto {
6646
+ export interface KdsRevertOrderResponseDtoOrder {
5184
6647
  /**
5185
- * The unique request ID from Nets Connect@Cloud.
6648
+ *
5186
6649
  * @type {string}
5187
- * @memberof InitiateNetsTerminalPaymentResponseDto
6650
+ * @memberof KdsRevertOrderResponseDtoOrder
5188
6651
  */
5189
- 'connectCloudRequestId': string;
5190
- }
5191
- /**
5192
- *
5193
- * @export
5194
- * @enum {string}
5195
- */
5196
-
5197
- export const IntegrationType = {
5198
- Orders: 'ORDERS',
5199
- Menu: 'MENU',
5200
- Venue: 'VENUE',
5201
- Kds: 'KDS'
5202
- } as const;
5203
-
5204
- export type IntegrationType = typeof IntegrationType[keyof typeof IntegrationType];
5205
-
5206
-
5207
- /**
5208
- *
5209
- * @export
5210
- * @interface InvoiceCompanyResponseDto
5211
- */
5212
- export interface InvoiceCompanyResponseDto {
6652
+ 'id': string;
5213
6653
  /**
5214
6654
  *
5215
6655
  * @type {string}
5216
- * @memberof InvoiceCompanyResponseDto
6656
+ * @memberof KdsRevertOrderResponseDtoOrder
5217
6657
  */
5218
- 'id': string;
6658
+ 'parentOrderId': string;
5219
6659
  /**
5220
6660
  *
5221
6661
  * @type {number}
5222
- * @memberof InvoiceCompanyResponseDto
6662
+ * @memberof KdsRevertOrderResponseDtoOrder
5223
6663
  */
5224
6664
  'businessId': number;
5225
6665
  /**
5226
6666
  *
5227
6667
  * @type {string}
5228
- * @memberof InvoiceCompanyResponseDto
6668
+ * @memberof KdsRevertOrderResponseDtoOrder
5229
6669
  */
5230
- 'name': string;
6670
+ 'profileId': string;
5231
6671
  /**
5232
6672
  *
5233
6673
  * @type {string}
5234
- * @memberof InvoiceCompanyResponseDto
6674
+ * @memberof KdsRevertOrderResponseDtoOrder
5235
6675
  */
5236
- 'email': string;
6676
+ 'profileName': string;
5237
6677
  /**
5238
6678
  *
5239
- * @type {string}
5240
- * @memberof InvoiceCompanyResponseDto
6679
+ * @type {ProviderEnum}
6680
+ * @memberof KdsRevertOrderResponseDtoOrder
5241
6681
  */
5242
- 'countryCode': string;
6682
+ 'provider': ProviderEnum;
5243
6683
  /**
5244
6684
  *
5245
6685
  * @type {string}
5246
- * @memberof InvoiceCompanyResponseDto
6686
+ * @memberof KdsRevertOrderResponseDtoOrder
5247
6687
  */
5248
- 'phone': string;
6688
+ 'orderNumber': string;
5249
6689
  /**
5250
6690
  *
5251
6691
  * @type {string}
5252
- * @memberof InvoiceCompanyResponseDto
6692
+ * @memberof KdsRevertOrderResponseDtoOrder
5253
6693
  */
5254
- 'bic'?: string;
6694
+ 'comment': string | null;
5255
6695
  /**
5256
6696
  *
5257
- * @type {string}
5258
- * @memberof InvoiceCompanyResponseDto
6697
+ * @type {number}
6698
+ * @memberof KdsRevertOrderResponseDtoOrder
5259
6699
  */
5260
- 'address'?: string;
6700
+ 'preparedIn': number | null;
5261
6701
  /**
5262
6702
  *
5263
6703
  * @type {string}
5264
- * @memberof InvoiceCompanyResponseDto
6704
+ * @memberof KdsRevertOrderResponseDtoOrder
5265
6705
  */
5266
- 'createdAt': string;
6706
+ 'spotNumber': string | null;
5267
6707
  /**
5268
6708
  *
5269
6709
  * @type {string}
5270
- * @memberof InvoiceCompanyResponseDto
5271
- */
5272
- 'updatedAt': string;
5273
- }
5274
- /**
5275
- *
5276
- * @export
5277
- * @interface IsvDetails
5278
- */
5279
- export interface IsvDetails {
5280
- /**
5281
- * The amount related to the ISV (Independent Software Vendor).
5282
- * @type {number}
5283
- * @memberof IsvDetails
5284
- */
5285
- 'amount'?: number;
5286
- /**
5287
- * The terminal merchant ID associated with the ISV.
5288
- * @type {string}
5289
- * @memberof IsvDetails
5290
- */
5291
- 'terminalMerchantId'?: string;
5292
- /**
5293
- * The source code for the ISV.
5294
- * @type {string}
5295
- * @memberof IsvDetails
5296
- */
5297
- 'sourceCode'?: string;
5298
- /**
5299
- * The merchant ID for the ISV.
5300
- * @type {string}
5301
- * @memberof IsvDetails
6710
+ * @memberof KdsRevertOrderResponseDtoOrder
5302
6711
  */
5303
- 'merchantId'?: string;
6712
+ 'acceptedAt': string | null;
5304
6713
  /**
5305
- * The merchant source code for the ISV.
6714
+ *
5306
6715
  * @type {string}
5307
- * @memberof IsvDetails
6716
+ * @memberof KdsRevertOrderResponseDtoOrder
5308
6717
  */
5309
- 'merchantSourceCode'?: string;
5310
- }
5311
- /**
5312
- *
5313
- * @export
5314
- * @interface ItemBreakdownDto
5315
- */
5316
- export interface ItemBreakdownDto {
6718
+ 'pickupEta': string | null;
5317
6719
  /**
5318
- * Item name
6720
+ *
5319
6721
  * @type {string}
5320
- * @memberof ItemBreakdownDto
5321
- */
5322
- 'itemName': string;
5323
- /**
5324
- * Quantity sold
5325
- * @type {number}
5326
- * @memberof ItemBreakdownDto
6722
+ * @memberof KdsRevertOrderResponseDtoOrder
5327
6723
  */
5328
- 'quantitySold': number;
6724
+ 'deliveryEta': string | null;
5329
6725
  /**
5330
- * Total amount
5331
- * @type {number}
5332
- * @memberof ItemBreakdownDto
6726
+ *
6727
+ * @type {ConsumptionType}
6728
+ * @memberof KdsRevertOrderResponseDtoOrder
5333
6729
  */
5334
- 'totalAmount': number;
5335
- }
5336
- /**
5337
- *
5338
- * @export
5339
- * @interface ItemPriceBreakdownDto
5340
- */
5341
- export interface ItemPriceBreakdownDto {
6730
+ 'consumptionType': ConsumptionType;
5342
6731
  /**
5343
6732
  *
5344
- * @type {MoneyDto}
5345
- * @memberof ItemPriceBreakdownDto
6733
+ * @type {string}
6734
+ * @memberof KdsRevertOrderResponseDtoOrder
5346
6735
  */
5347
- 'totalBeforeDiscounts': MoneyDto;
6736
+ 'orderCreatedAt': string;
5348
6737
  /**
5349
6738
  *
5350
- * @type {MoneyDto}
5351
- * @memberof ItemPriceBreakdownDto
6739
+ * @type {string}
6740
+ * @memberof KdsRevertOrderResponseDtoOrder
5352
6741
  */
5353
- 'subtotalItemDiscounts': MoneyDto;
6742
+ 'orderUpdatedAt': string;
5354
6743
  /**
5355
6744
  *
5356
- * @type {MoneyDto}
5357
- * @memberof ItemPriceBreakdownDto
6745
+ * @type {OrderType}
6746
+ * @memberof KdsRevertOrderResponseDtoOrder
5358
6747
  */
5359
- 'subtotalBasketDiscounts': MoneyDto;
6748
+ 'type': OrderType;
5360
6749
  /**
5361
6750
  *
5362
- * @type {MoneyDto}
5363
- * @memberof ItemPriceBreakdownDto
6751
+ * @type {OrderMode}
6752
+ * @memberof KdsRevertOrderResponseDtoOrder
5364
6753
  */
5365
- 'totalDiscounts': MoneyDto;
6754
+ 'orderMode': OrderMode;
5366
6755
  /**
5367
6756
  *
5368
- * @type {MoneyDto}
5369
- * @memberof ItemPriceBreakdownDto
6757
+ * @type {SourceType}
6758
+ * @memberof KdsRevertOrderResponseDtoOrder
5370
6759
  */
5371
- 'basePriceBeforeDiscounts': MoneyDto;
6760
+ 'sourceType': SourceType;
5372
6761
  /**
5373
6762
  *
5374
- * @type {MoneyDto}
5375
- * @memberof ItemPriceBreakdownDto
6763
+ * @type {OrderStatus}
6764
+ * @memberof KdsRevertOrderResponseDtoOrder
5376
6765
  */
5377
- 'unitPriceBeforeDiscounts': MoneyDto;
6766
+ 'status': OrderStatus;
5378
6767
  /**
5379
6768
  *
5380
- * @type {MoneyDto}
5381
- * @memberof ItemPriceBreakdownDto
6769
+ * @type {string}
6770
+ * @memberof KdsRevertOrderResponseDtoOrder
5382
6771
  */
5383
- 'subtotalOptionsBasketDiscounts': MoneyDto;
6772
+ 'createdAt': string;
5384
6773
  /**
5385
6774
  *
5386
- * @type {MoneyDto}
5387
- * @memberof ItemPriceBreakdownDto
6775
+ * @type {string}
6776
+ * @memberof KdsRevertOrderResponseDtoOrder
5388
6777
  */
5389
- 'subtotalOptionsItemDiscounts': MoneyDto;
5390
- }
5391
- /**
5392
- *
5393
- * @export
5394
- * @interface ItemPriceDto
5395
- */
5396
- export interface ItemPriceDto {
6778
+ 'updatedAt': string;
5397
6779
  /**
5398
6780
  *
5399
- * @type {MoneyDto}
5400
- * @memberof ItemPriceDto
6781
+ * @type {KdsCustomerDto}
6782
+ * @memberof KdsRevertOrderResponseDtoOrder
5401
6783
  */
5402
- 'unitPrice': MoneyDto;
6784
+ 'customer': KdsCustomerDto | null;
5403
6785
  /**
5404
6786
  *
5405
- * @type {MoneyDto}
5406
- * @memberof ItemPriceDto
6787
+ * @type {KdsDeliveryDto}
6788
+ * @memberof KdsRevertOrderResponseDtoOrder
5407
6789
  */
5408
- 'basePrice': MoneyDto;
6790
+ 'delivery': KdsDeliveryDto | null;
5409
6791
  /**
5410
6792
  *
5411
- * @type {number}
5412
- * @memberof ItemPriceDto
6793
+ * @type {KdsPreorderDto}
6794
+ * @memberof KdsRevertOrderResponseDtoOrder
5413
6795
  */
5414
- 'vatPercentage': number;
6796
+ 'preorder': KdsPreorderDto | null;
5415
6797
  /**
5416
6798
  *
5417
- * @type {MoneyDto}
5418
- * @memberof ItemPriceDto
6799
+ * @type {KdsPriceSummaryDto}
6800
+ * @memberof KdsRevertOrderResponseDtoOrder
5419
6801
  */
5420
- 'total': MoneyDto;
6802
+ 'priceSummary': KdsPriceSummaryDto | null;
5421
6803
  /**
5422
6804
  *
5423
- * @type {ItemPriceBreakdownDto}
5424
- * @memberof ItemPriceDto
6805
+ * @type {Array<KdsOrderItemDto>}
6806
+ * @memberof KdsRevertOrderResponseDtoOrder
5425
6807
  */
5426
- 'priceBreakdown': ItemPriceBreakdownDto;
6808
+ 'items': Array<KdsOrderItemDto>;
5427
6809
  }
6810
+
6811
+
5428
6812
  /**
5429
6813
  *
5430
6814
  * @export
@@ -5486,6 +6870,26 @@ export interface KioskStatusDto {
5486
6870
  }
5487
6871
 
5488
6872
 
6873
+ /**
6874
+ *
6875
+ * @export
6876
+ * @enum {string}
6877
+ */
6878
+
6879
+ export const KitchenItemStatus = {
6880
+ NotApplicable: 'NOT_APPLICABLE',
6881
+ Pending: 'PENDING',
6882
+ OnHold: 'ON_HOLD',
6883
+ SentToOm: 'SENT_TO_OM',
6884
+ DispatchedToKitchen: 'DISPATCHED_TO_KITCHEN',
6885
+ Completed: 'COMPLETED',
6886
+ Cancelled: 'CANCELLED',
6887
+ Ready: 'READY'
6888
+ } as const;
6889
+
6890
+ export type KitchenItemStatus = typeof KitchenItemStatus[keyof typeof KitchenItemStatus];
6891
+
6892
+
5489
6893
  /**
5490
6894
  *
5491
6895
  * @export
@@ -5496,6 +6900,7 @@ export const KitchenStatus = {
5496
6900
  NotApplicable: 'not_applicable',
5497
6901
  Pending: 'pending',
5498
6902
  OnHold: 'on_hold',
6903
+ Ready: 'ready',
5499
6904
  SentToOm: 'sent_to_om',
5500
6905
  DispatchedToKitchen: 'dispatched_to_kitchen',
5501
6906
  Completed: 'completed',
@@ -7788,6 +9193,20 @@ export interface OrderHistoryResponseDtoSummary {
7788
9193
  */
7789
9194
  'totalTipAmount'?: number;
7790
9195
  }
9196
+ /**
9197
+ *
9198
+ * @export
9199
+ * @enum {string}
9200
+ */
9201
+
9202
+ export const OrderMode = {
9203
+ Instant: 'INSTANT',
9204
+ PreOrder: 'PRE_ORDER'
9205
+ } as const;
9206
+
9207
+ export type OrderMode = typeof OrderMode[keyof typeof OrderMode];
9208
+
9209
+
7791
9210
  /**
7792
9211
  *
7793
9212
  * @export
@@ -8213,6 +9632,22 @@ export const OrderSource = {
8213
9632
  export type OrderSource = typeof OrderSource[keyof typeof OrderSource];
8214
9633
 
8215
9634
 
9635
+ /**
9636
+ *
9637
+ * @export
9638
+ * @enum {string}
9639
+ */
9640
+
9641
+ export const OrderStatus = {
9642
+ InProgress: 'IN_PROGRESS',
9643
+ Ready: 'READY',
9644
+ Delivered: 'DELIVERED',
9645
+ Rejected: 'REJECTED'
9646
+ } as const;
9647
+
9648
+ export type OrderStatus = typeof OrderStatus[keyof typeof OrderStatus];
9649
+
9650
+
8216
9651
  /**
8217
9652
  *
8218
9653
  * @export
@@ -10504,6 +11939,39 @@ export interface PosEmployeeDto {
10504
11939
  }
10505
11940
 
10506
11941
 
11942
+ /**
11943
+ *
11944
+ * @export
11945
+ * @interface PosGlobalSettingsResponseDto
11946
+ */
11947
+ export interface PosGlobalSettingsResponseDto {
11948
+ /**
11949
+ *
11950
+ * @type {number}
11951
+ * @memberof PosGlobalSettingsResponseDto
11952
+ */
11953
+ 'businessId': number;
11954
+ /**
11955
+ *
11956
+ * @type {ProviderEnum}
11957
+ * @memberof PosGlobalSettingsResponseDto
11958
+ */
11959
+ 'provider': ProviderEnum;
11960
+ /**
11961
+ *
11962
+ * @type {boolean}
11963
+ * @memberof PosGlobalSettingsResponseDto
11964
+ */
11965
+ 'hidePosOrdersInOm': boolean;
11966
+ /**
11967
+ *
11968
+ * @type {boolean}
11969
+ * @memberof PosGlobalSettingsResponseDto
11970
+ */
11971
+ 'emitPrintJob': boolean;
11972
+ }
11973
+
11974
+
10507
11975
  /**
10508
11976
  *
10509
11977
  * @export
@@ -12963,6 +14431,54 @@ export interface ProviderStatusResponseDto {
12963
14431
  }
12964
14432
 
12965
14433
 
14434
+ /**
14435
+ *
14436
+ * @export
14437
+ * @interface ProviderSupportedIntegrationsDto
14438
+ */
14439
+ export interface ProviderSupportedIntegrationsDto {
14440
+ /**
14441
+ *
14442
+ * @type {ProviderEnum}
14443
+ * @memberof ProviderSupportedIntegrationsDto
14444
+ */
14445
+ 'provider': ProviderEnum;
14446
+ /**
14447
+ * Integrations this provider supports
14448
+ * @type {Array<IntegrationType>}
14449
+ * @memberof ProviderSupportedIntegrationsDto
14450
+ */
14451
+ 'supportedIntegrations': Array<IntegrationType>;
14452
+ }
14453
+
14454
+
14455
+ /**
14456
+ *
14457
+ * @export
14458
+ * @enum {string}
14459
+ */
14460
+
14461
+ export const PubSubAction = {
14462
+ Activity: 'ORDER_ACTIVITY',
14463
+ Deleted: 'ORDER_DELETED'
14464
+ } as const;
14465
+
14466
+ export type PubSubAction = typeof PubSubAction[keyof typeof PubSubAction];
14467
+
14468
+
14469
+ /**
14470
+ *
14471
+ * @export
14472
+ * @enum {string}
14473
+ */
14474
+
14475
+ export const PubSubTarget = {
14476
+ Kds: 'KDS'
14477
+ } as const;
14478
+
14479
+ export type PubSubTarget = typeof PubSubTarget[keyof typeof PubSubTarget];
14480
+
14481
+
12966
14482
  /**
12967
14483
  *
12968
14484
  * @export
@@ -14075,6 +15591,20 @@ export interface SingleProviderStatusResponseDtoActiveChannel {
14075
15591
  }
14076
15592
 
14077
15593
 
15594
+ /**
15595
+ *
15596
+ * @export
15597
+ * @enum {string}
15598
+ */
15599
+
15600
+ export const SourceType = {
15601
+ Order: 'ORDER',
15602
+ Ticket: 'TICKET'
15603
+ } as const;
15604
+
15605
+ export type SourceType = typeof SourceType[keyof typeof SourceType];
15606
+
15607
+
14078
15608
  /**
14079
15609
  *
14080
15610
  * @export
@@ -14264,6 +15794,12 @@ export interface StationDetailsDto {
14264
15794
  * @memberof StationDetailsDto
14265
15795
  */
14266
15796
  'prefix': string;
15797
+ /**
15798
+ *
15799
+ * @type {object}
15800
+ * @memberof StationDetailsDto
15801
+ */
15802
+ 'settings'?: object;
14267
15803
  /**
14268
15804
  *
14269
15805
  * @type {object}
@@ -14355,12 +15891,99 @@ export interface StationDetailsDtoPaymentTerminal {
14355
15891
  */
14356
15892
  export interface StationSyncResponseDto {
14357
15893
  /**
14358
- * A success message indicating the sync was successful
14359
- * @type {string}
15894
+ *
15895
+ * @type {StationSyncResponseDtoStation}
14360
15896
  * @memberof StationSyncResponseDto
14361
15897
  */
14362
- 'message': string;
15898
+ 'station': StationSyncResponseDtoStation;
14363
15899
  }
15900
+ /**
15901
+ * The synced station data
15902
+ * @export
15903
+ * @interface StationSyncResponseDtoStation
15904
+ */
15905
+ export interface StationSyncResponseDtoStation {
15906
+ /**
15907
+ *
15908
+ * @type {string}
15909
+ * @memberof StationSyncResponseDtoStation
15910
+ */
15911
+ 'id': string;
15912
+ /**
15913
+ *
15914
+ * @type {string}
15915
+ * @memberof StationSyncResponseDtoStation
15916
+ */
15917
+ 'name': string;
15918
+ /**
15919
+ *
15920
+ * @type {string}
15921
+ * @memberof StationSyncResponseDtoStation
15922
+ */
15923
+ 'hardwareId': string;
15924
+ /**
15925
+ *
15926
+ * @type {StationType}
15927
+ * @memberof StationSyncResponseDtoStation
15928
+ */
15929
+ 'type': StationType;
15930
+ /**
15931
+ *
15932
+ * @type {DeviceType}
15933
+ * @memberof StationSyncResponseDtoStation
15934
+ */
15935
+ 'deviceType'?: DeviceType;
15936
+ /**
15937
+ *
15938
+ * @type {Status}
15939
+ * @memberof StationSyncResponseDtoStation
15940
+ */
15941
+ 'status': Status;
15942
+ /**
15943
+ *
15944
+ * @type {number}
15945
+ * @memberof StationSyncResponseDtoStation
15946
+ */
15947
+ 'orderingBusinessId': number;
15948
+ /**
15949
+ *
15950
+ * @type {string}
15951
+ * @memberof StationSyncResponseDtoStation
15952
+ */
15953
+ 'prefix': string;
15954
+ /**
15955
+ *
15956
+ * @type {object}
15957
+ * @memberof StationSyncResponseDtoStation
15958
+ */
15959
+ 'settings'?: object;
15960
+ /**
15961
+ *
15962
+ * @type {object}
15963
+ * @memberof StationSyncResponseDtoStation
15964
+ */
15965
+ 'metadata'?: object;
15966
+ /**
15967
+ * Timestamp when the station record was created.
15968
+ * @type {string}
15969
+ * @memberof StationSyncResponseDtoStation
15970
+ */
15971
+ 'createdAt': string;
15972
+ /**
15973
+ * Timestamp when the station record was last updated.
15974
+ * @type {string}
15975
+ * @memberof StationSyncResponseDtoStation
15976
+ */
15977
+ 'updatedAt': string;
15978
+ /**
15979
+ *
15980
+ * @type {StationDetailsDtoPaymentTerminal}
15981
+ * @memberof StationSyncResponseDtoStation
15982
+ */
15983
+ 'paymentTerminal'?: StationDetailsDtoPaymentTerminal | null;
15984
+ }
15985
+
15986
+
14364
15987
  /**
14365
15988
  *
14366
15989
  * @export
@@ -14580,7 +16203,7 @@ export interface SyncStationDto {
14580
16203
  * @type {string}
14581
16204
  * @memberof SyncStationDto
14582
16205
  */
14583
- 'prefix': string;
16206
+ 'prefix'?: string;
14584
16207
  /**
14585
16208
  *
14586
16209
  * @type {StationType}
@@ -14617,46 +16240,14 @@ export interface SyncStationDto {
14617
16240
  /**
14618
16241
  *
14619
16242
  * @export
14620
- * @interface SyncTerminalDto
16243
+ * @enum {string}
14621
16244
  */
14622
- export interface SyncTerminalDto {
14623
- /**
14624
- * Hardware ID of the station to connect the terminal to
14625
- * @type {string}
14626
- * @memberof SyncTerminalDto
14627
- */
14628
- 'stationHardwareId': string;
14629
- /**
14630
- * Hardware ID of the payment terminal
14631
- * @type {string}
14632
- * @memberof SyncTerminalDto
14633
- */
14634
- 'terminalId': string;
14635
- /**
14636
- *
14637
- * @type {PaymentProvider}
14638
- * @memberof SyncTerminalDto
14639
- */
14640
- 'provider': PaymentProvider;
14641
- /**
14642
- * Label/name for the terminal
14643
- * @type {string}
14644
- * @memberof SyncTerminalDto
14645
- */
14646
- 'label'?: string;
14647
- /**
14648
- *
14649
- * @type {TerminalConnectionType}
14650
- * @memberof SyncTerminalDto
14651
- */
14652
- 'connectionType'?: TerminalConnectionType;
14653
- /**
14654
- * Business ID that owns the terminal
14655
- * @type {number}
14656
- * @memberof SyncTerminalDto
14657
- */
14658
- 'businessId': number;
14659
- }
16245
+
16246
+ export const SystemProfileType = {
16247
+ NoStation: 'NO_STATION'
16248
+ } as const;
16249
+
16250
+ export type SystemProfileType = typeof SystemProfileType[keyof typeof SystemProfileType];
14660
16251
 
14661
16252
 
14662
16253
  /**
@@ -16295,11 +17886,11 @@ export interface UnifiedProductDto {
16295
17886
  */
16296
17887
  'comment'?: string | null;
16297
17888
  /**
16298
- * Current kitchen preparation status of the product
16299
- * @type {string}
17889
+ *
17890
+ * @type {KitchenItemStatus}
16300
17891
  * @memberof UnifiedProductDto
16301
17892
  */
16302
- 'kitchenStatus'?: string | null;
17893
+ 'kitchenStatus': KitchenItemStatus;
16303
17894
  /**
16304
17895
  * List of options selected for this product
16305
17896
  * @type {Array<UnifiedOptionDto>}
@@ -16307,6 +17898,8 @@ export interface UnifiedProductDto {
16307
17898
  */
16308
17899
  'options': Array<UnifiedOptionDto>;
16309
17900
  }
17901
+
17902
+
16310
17903
  /**
16311
17904
  *
16312
17905
  * @export
@@ -16594,6 +18187,19 @@ export interface UpdatePermissionDto {
16594
18187
  */
16595
18188
  'enabled': boolean;
16596
18189
  }
18190
+ /**
18191
+ *
18192
+ * @export
18193
+ * @interface UpdatePosGlobalSettingsDto
18194
+ */
18195
+ export interface UpdatePosGlobalSettingsDto {
18196
+ /**
18197
+ * Whether POS orders should be hidden from OM for this business.
18198
+ * @type {boolean}
18199
+ * @memberof UpdatePosGlobalSettingsDto
18200
+ */
18201
+ 'hidePosOrdersInOm': boolean;
18202
+ }
16597
18203
  /**
16598
18204
  *
16599
18205
  * @export
@@ -21391,11 +22997,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
21391
22997
  /**
21392
22998
  *
21393
22999
  * @param {string} businessId
21394
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
23000
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
21395
23001
  * @param {*} [options] Override http request option.
21396
23002
  * @throws {RequiredError}
21397
23003
  */
21398
- getBusinessMenuByType: async (businessId: string, menuType: 'pos' | 'kiosk', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23004
+ getBusinessMenuByType: async (businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
21399
23005
  // verify required parameter 'businessId' is not null or undefined
21400
23006
  assertParamExists('getBusinessMenuByType', 'businessId', businessId)
21401
23007
  // verify required parameter 'menuType' is not null or undefined
@@ -21433,11 +23039,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
21433
23039
  *
21434
23040
  * @summary Get business menu by type V2
21435
23041
  * @param {string} businessId
21436
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
23042
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
21437
23043
  * @param {*} [options] Override http request option.
21438
23044
  * @throws {RequiredError}
21439
23045
  */
21440
- getBusinessMenuByTypeV2: async (businessId: string, menuType: 'pos' | 'kiosk', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23046
+ getBusinessMenuByTypeV2: async (businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
21441
23047
  // verify required parameter 'businessId' is not null or undefined
21442
23048
  assertParamExists('getBusinessMenuByTypeV2', 'businessId', businessId)
21443
23049
  // verify required parameter 'menuType' is not null or undefined
@@ -21475,11 +23081,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
21475
23081
  *
21476
23082
  * @summary Get business menu by type V3
21477
23083
  * @param {string} businessId
21478
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
23084
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
21479
23085
  * @param {*} [options] Override http request option.
21480
23086
  * @throws {RequiredError}
21481
23087
  */
21482
- getBusinessMenuByTypeV3: async (businessId: string, menuType: 'pos' | 'kiosk', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23088
+ getBusinessMenuByTypeV3: async (businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
21483
23089
  // verify required parameter 'businessId' is not null or undefined
21484
23090
  assertParamExists('getBusinessMenuByTypeV3', 'businessId', businessId)
21485
23091
  // verify required parameter 'menuType' is not null or undefined
@@ -21517,11 +23123,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
21517
23123
  *
21518
23124
  * @summary Get business menu by type V4
21519
23125
  * @param {string} businessId
21520
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
23126
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
21521
23127
  * @param {*} [options] Override http request option.
21522
23128
  * @throws {RequiredError}
21523
23129
  */
21524
- getBusinessMenuByTypeV4: async (businessId: string, menuType: 'pos' | 'kiosk', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23130
+ getBusinessMenuByTypeV4: async (businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
21525
23131
  // verify required parameter 'businessId' is not null or undefined
21526
23132
  assertParamExists('getBusinessMenuByTypeV4', 'businessId', businessId)
21527
23133
  // verify required parameter 'menuType' is not null or undefined
@@ -21658,6 +23264,46 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
21658
23264
 
21659
23265
 
21660
23266
 
23267
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23268
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23269
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23270
+
23271
+ return {
23272
+ url: toPathString(localVarUrlObj),
23273
+ options: localVarRequestOptions,
23274
+ };
23275
+ },
23276
+ /**
23277
+ *
23278
+ * @param {Array<number>} businessIds Business IDs to fetch provider supported integrations for
23279
+ * @param {*} [options] Override http request option.
23280
+ * @throws {RequiredError}
23281
+ */
23282
+ getProvidersSupportedIntegrations: async (businessIds: Array<number>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23283
+ // verify required parameter 'businessIds' is not null or undefined
23284
+ assertParamExists('getProvidersSupportedIntegrations', 'businessIds', businessIds)
23285
+ const localVarPath = `/api/v1/business/providers/supported-integrations`;
23286
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23287
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23288
+ let baseOptions;
23289
+ if (configuration) {
23290
+ baseOptions = configuration.baseOptions;
23291
+ }
23292
+
23293
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23294
+ const localVarHeaderParameter = {} as any;
23295
+ const localVarQueryParameter = {} as any;
23296
+
23297
+ // authentication JWT-auth required
23298
+ // http bearer authentication required
23299
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
23300
+
23301
+ if (businessIds) {
23302
+ localVarQueryParameter['businessIds'] = businessIds;
23303
+ }
23304
+
23305
+
23306
+
21661
23307
  setSearchParams(localVarUrlObj, localVarQueryParameter);
21662
23308
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21663
23309
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -22071,11 +23717,11 @@ export const BusinessApiFp = function(configuration?: Configuration) {
22071
23717
  /**
22072
23718
  *
22073
23719
  * @param {string} businessId
22074
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
23720
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
22075
23721
  * @param {*} [options] Override http request option.
22076
23722
  * @throws {RequiredError}
22077
23723
  */
22078
- async getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>> {
23724
+ async getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>> {
22079
23725
  const localVarAxiosArgs = await localVarAxiosParamCreator.getBusinessMenuByType(businessId, menuType, options);
22080
23726
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22081
23727
  },
@@ -22083,11 +23729,11 @@ export const BusinessApiFp = function(configuration?: Configuration) {
22083
23729
  *
22084
23730
  * @summary Get business menu by type V2
22085
23731
  * @param {string} businessId
22086
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
23732
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
22087
23733
  * @param {*} [options] Override http request option.
22088
23734
  * @throws {RequiredError}
22089
23735
  */
22090
- async getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>> {
23736
+ async getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>> {
22091
23737
  const localVarAxiosArgs = await localVarAxiosParamCreator.getBusinessMenuByTypeV2(businessId, menuType, options);
22092
23738
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22093
23739
  },
@@ -22095,11 +23741,11 @@ export const BusinessApiFp = function(configuration?: Configuration) {
22095
23741
  *
22096
23742
  * @summary Get business menu by type V3
22097
23743
  * @param {string} businessId
22098
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
23744
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
22099
23745
  * @param {*} [options] Override http request option.
22100
23746
  * @throws {RequiredError}
22101
23747
  */
22102
- async getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>> {
23748
+ async getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>> {
22103
23749
  const localVarAxiosArgs = await localVarAxiosParamCreator.getBusinessMenuByTypeV3(businessId, menuType, options);
22104
23750
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22105
23751
  },
@@ -22107,11 +23753,11 @@ export const BusinessApiFp = function(configuration?: Configuration) {
22107
23753
  *
22108
23754
  * @summary Get business menu by type V4
22109
23755
  * @param {string} businessId
22110
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
23756
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
22111
23757
  * @param {*} [options] Override http request option.
22112
23758
  * @throws {RequiredError}
22113
23759
  */
22114
- async getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>> {
23760
+ async getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>> {
22115
23761
  const localVarAxiosArgs = await localVarAxiosParamCreator.getBusinessMenuByTypeV4(businessId, menuType, options);
22116
23762
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22117
23763
  },
@@ -22145,6 +23791,16 @@ export const BusinessApiFp = function(configuration?: Configuration) {
22145
23791
  const localVarAxiosArgs = await localVarAxiosParamCreator.getBusinessTax(options);
22146
23792
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22147
23793
  },
23794
+ /**
23795
+ *
23796
+ * @param {Array<number>} businessIds Business IDs to fetch provider supported integrations for
23797
+ * @param {*} [options] Override http request option.
23798
+ * @throws {RequiredError}
23799
+ */
23800
+ async getProvidersSupportedIntegrations(businessIds: Array<number>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessProvidersSupportedIntegrationsResponseDto>>> {
23801
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getProvidersSupportedIntegrations(businessIds, options);
23802
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23803
+ },
22148
23804
  /**
22149
23805
  *
22150
23806
  * @param {string} businessId Id of the business
@@ -22351,44 +24007,44 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
22351
24007
  /**
22352
24008
  *
22353
24009
  * @param {string} businessId
22354
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
24010
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
22355
24011
  * @param {*} [options] Override http request option.
22356
24012
  * @throws {RequiredError}
22357
24013
  */
22358
- getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk', options?: any): AxiosPromise<Array<MenuDto>> {
24014
+ getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: any): AxiosPromise<Array<MenuDto>> {
22359
24015
  return localVarFp.getBusinessMenuByType(businessId, menuType, options).then((request) => request(axios, basePath));
22360
24016
  },
22361
24017
  /**
22362
24018
  *
22363
24019
  * @summary Get business menu by type V2
22364
24020
  * @param {string} businessId
22365
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
24021
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
22366
24022
  * @param {*} [options] Override http request option.
22367
24023
  * @throws {RequiredError}
22368
24024
  */
22369
- getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk', options?: any): AxiosPromise<Array<MenuDto>> {
24025
+ getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: any): AxiosPromise<Array<MenuDto>> {
22370
24026
  return localVarFp.getBusinessMenuByTypeV2(businessId, menuType, options).then((request) => request(axios, basePath));
22371
24027
  },
22372
24028
  /**
22373
24029
  *
22374
24030
  * @summary Get business menu by type V3
22375
24031
  * @param {string} businessId
22376
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
24032
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
22377
24033
  * @param {*} [options] Override http request option.
22378
24034
  * @throws {RequiredError}
22379
24035
  */
22380
- getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk', options?: any): AxiosPromise<MenuReponseDto> {
24036
+ getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: any): AxiosPromise<MenuReponseDto> {
22381
24037
  return localVarFp.getBusinessMenuByTypeV3(businessId, menuType, options).then((request) => request(axios, basePath));
22382
24038
  },
22383
24039
  /**
22384
24040
  *
22385
24041
  * @summary Get business menu by type V4
22386
24042
  * @param {string} businessId
22387
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
24043
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
22388
24044
  * @param {*} [options] Override http request option.
22389
24045
  * @throws {RequiredError}
22390
24046
  */
22391
- getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk', options?: any): AxiosPromise<MenuReponseDto> {
24047
+ getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: any): AxiosPromise<MenuReponseDto> {
22392
24048
  return localVarFp.getBusinessMenuByTypeV4(businessId, menuType, options).then((request) => request(axios, basePath));
22393
24049
  },
22394
24050
  /**
@@ -22418,6 +24074,15 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
22418
24074
  getBusinessTax(options?: any): AxiosPromise<Array<BusinessTaxResponseDto>> {
22419
24075
  return localVarFp.getBusinessTax(options).then((request) => request(axios, basePath));
22420
24076
  },
24077
+ /**
24078
+ *
24079
+ * @param {Array<number>} businessIds Business IDs to fetch provider supported integrations for
24080
+ * @param {*} [options] Override http request option.
24081
+ * @throws {RequiredError}
24082
+ */
24083
+ getProvidersSupportedIntegrations(businessIds: Array<number>, options?: any): AxiosPromise<Array<BusinessProvidersSupportedIntegrationsResponseDto>> {
24084
+ return localVarFp.getProvidersSupportedIntegrations(businessIds, options).then((request) => request(axios, basePath));
24085
+ },
22421
24086
  /**
22422
24087
  *
22423
24088
  * @param {string} businessId Id of the business
@@ -22617,45 +24282,45 @@ export interface BusinessApiInterface {
22617
24282
  /**
22618
24283
  *
22619
24284
  * @param {string} businessId
22620
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
24285
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
22621
24286
  * @param {*} [options] Override http request option.
22622
24287
  * @throws {RequiredError}
22623
24288
  * @memberof BusinessApiInterface
22624
24289
  */
22625
- getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
24290
+ getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
22626
24291
 
22627
24292
  /**
22628
24293
  *
22629
24294
  * @summary Get business menu by type V2
22630
24295
  * @param {string} businessId
22631
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
24296
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
22632
24297
  * @param {*} [options] Override http request option.
22633
24298
  * @throws {RequiredError}
22634
24299
  * @memberof BusinessApiInterface
22635
24300
  */
22636
- getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
24301
+ getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
22637
24302
 
22638
24303
  /**
22639
24304
  *
22640
24305
  * @summary Get business menu by type V3
22641
24306
  * @param {string} businessId
22642
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
24307
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
22643
24308
  * @param {*} [options] Override http request option.
22644
24309
  * @throws {RequiredError}
22645
24310
  * @memberof BusinessApiInterface
22646
24311
  */
22647
- getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
24312
+ getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
22648
24313
 
22649
24314
  /**
22650
24315
  *
22651
24316
  * @summary Get business menu by type V4
22652
24317
  * @param {string} businessId
22653
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
24318
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
22654
24319
  * @param {*} [options] Override http request option.
22655
24320
  * @throws {RequiredError}
22656
24321
  * @memberof BusinessApiInterface
22657
24322
  */
22658
- getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
24323
+ getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
22659
24324
 
22660
24325
  /**
22661
24326
  *
@@ -22684,6 +24349,15 @@ export interface BusinessApiInterface {
22684
24349
  */
22685
24350
  getBusinessTax(options?: AxiosRequestConfig): AxiosPromise<Array<BusinessTaxResponseDto>>;
22686
24351
 
24352
+ /**
24353
+ *
24354
+ * @param {Array<number>} businessIds Business IDs to fetch provider supported integrations for
24355
+ * @param {*} [options] Override http request option.
24356
+ * @throws {RequiredError}
24357
+ * @memberof BusinessApiInterface
24358
+ */
24359
+ getProvidersSupportedIntegrations(businessIds: Array<number>, options?: AxiosRequestConfig): AxiosPromise<Array<BusinessProvidersSupportedIntegrationsResponseDto>>;
24360
+
22687
24361
  /**
22688
24362
  *
22689
24363
  * @param {string} businessId Id of the business
@@ -22907,12 +24581,12 @@ export class BusinessApi extends BaseAPI implements BusinessApiInterface {
22907
24581
  /**
22908
24582
  *
22909
24583
  * @param {string} businessId
22910
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
24584
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
22911
24585
  * @param {*} [options] Override http request option.
22912
24586
  * @throws {RequiredError}
22913
24587
  * @memberof BusinessApi
22914
24588
  */
22915
- public getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig) {
24589
+ public getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig) {
22916
24590
  return BusinessApiFp(this.configuration).getBusinessMenuByType(businessId, menuType, options).then((request) => request(this.axios, this.basePath));
22917
24591
  }
22918
24592
 
@@ -22920,12 +24594,12 @@ export class BusinessApi extends BaseAPI implements BusinessApiInterface {
22920
24594
  *
22921
24595
  * @summary Get business menu by type V2
22922
24596
  * @param {string} businessId
22923
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
24597
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
22924
24598
  * @param {*} [options] Override http request option.
22925
24599
  * @throws {RequiredError}
22926
24600
  * @memberof BusinessApi
22927
24601
  */
22928
- public getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig) {
24602
+ public getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig) {
22929
24603
  return BusinessApiFp(this.configuration).getBusinessMenuByTypeV2(businessId, menuType, options).then((request) => request(this.axios, this.basePath));
22930
24604
  }
22931
24605
 
@@ -22933,12 +24607,12 @@ export class BusinessApi extends BaseAPI implements BusinessApiInterface {
22933
24607
  *
22934
24608
  * @summary Get business menu by type V3
22935
24609
  * @param {string} businessId
22936
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
24610
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
22937
24611
  * @param {*} [options] Override http request option.
22938
24612
  * @throws {RequiredError}
22939
24613
  * @memberof BusinessApi
22940
24614
  */
22941
- public getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig) {
24615
+ public getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig) {
22942
24616
  return BusinessApiFp(this.configuration).getBusinessMenuByTypeV3(businessId, menuType, options).then((request) => request(this.axios, this.basePath));
22943
24617
  }
22944
24618
 
@@ -22946,12 +24620,12 @@ export class BusinessApi extends BaseAPI implements BusinessApiInterface {
22946
24620
  *
22947
24621
  * @summary Get business menu by type V4
22948
24622
  * @param {string} businessId
22949
- * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
24623
+ * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
22950
24624
  * @param {*} [options] Override http request option.
22951
24625
  * @throws {RequiredError}
22952
24626
  * @memberof BusinessApi
22953
24627
  */
22954
- public getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig) {
24628
+ public getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig) {
22955
24629
  return BusinessApiFp(this.configuration).getBusinessMenuByTypeV4(businessId, menuType, options).then((request) => request(this.axios, this.basePath));
22956
24630
  }
22957
24631
 
@@ -22988,6 +24662,17 @@ export class BusinessApi extends BaseAPI implements BusinessApiInterface {
22988
24662
  return BusinessApiFp(this.configuration).getBusinessTax(options).then((request) => request(this.axios, this.basePath));
22989
24663
  }
22990
24664
 
24665
+ /**
24666
+ *
24667
+ * @param {Array<number>} businessIds Business IDs to fetch provider supported integrations for
24668
+ * @param {*} [options] Override http request option.
24669
+ * @throws {RequiredError}
24670
+ * @memberof BusinessApi
24671
+ */
24672
+ public getProvidersSupportedIntegrations(businessIds: Array<number>, options?: AxiosRequestConfig) {
24673
+ return BusinessApiFp(this.configuration).getProvidersSupportedIntegrations(businessIds, options).then((request) => request(this.axios, this.basePath));
24674
+ }
24675
+
22991
24676
  /**
22992
24677
  *
22993
24678
  * @param {string} businessId Id of the business
@@ -23063,6 +24748,143 @@ export class BusinessApi extends BaseAPI implements BusinessApiInterface {
23063
24748
  }
23064
24749
 
23065
24750
 
24751
+ /**
24752
+ * BusinessProviderPolicyApi - axios parameter creator
24753
+ * @export
24754
+ */
24755
+ export const BusinessProviderPolicyApiAxiosParamCreator = function (configuration?: Configuration) {
24756
+ return {
24757
+ /**
24758
+ *
24759
+ * @summary Update global POS visibility settings for a business
24760
+ * @param {number} businessId Business ID to update
24761
+ * @param {UpdatePosGlobalSettingsDto} updatePosGlobalSettingsDto
24762
+ * @param {*} [options] Override http request option.
24763
+ * @throws {RequiredError}
24764
+ */
24765
+ updatePosGlobalSettings: async (businessId: number, updatePosGlobalSettingsDto: UpdatePosGlobalSettingsDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24766
+ // verify required parameter 'businessId' is not null or undefined
24767
+ assertParamExists('updatePosGlobalSettings', 'businessId', businessId)
24768
+ // verify required parameter 'updatePosGlobalSettingsDto' is not null or undefined
24769
+ assertParamExists('updatePosGlobalSettings', 'updatePosGlobalSettingsDto', updatePosGlobalSettingsDto)
24770
+ const localVarPath = `/api/v1/business-provider-policy/business/{businessId}/pos-global-settings`
24771
+ .replace(`{${"businessId"}}`, encodeURIComponent(String(businessId)));
24772
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24773
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24774
+ let baseOptions;
24775
+ if (configuration) {
24776
+ baseOptions = configuration.baseOptions;
24777
+ }
24778
+
24779
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
24780
+ const localVarHeaderParameter = {} as any;
24781
+ const localVarQueryParameter = {} as any;
24782
+
24783
+ // authentication JWT-auth required
24784
+ // http bearer authentication required
24785
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
24786
+
24787
+
24788
+
24789
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24790
+
24791
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24792
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24793
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24794
+ localVarRequestOptions.data = serializeDataIfNeeded(updatePosGlobalSettingsDto, localVarRequestOptions, configuration)
24795
+
24796
+ return {
24797
+ url: toPathString(localVarUrlObj),
24798
+ options: localVarRequestOptions,
24799
+ };
24800
+ },
24801
+ }
24802
+ };
24803
+
24804
+ /**
24805
+ * BusinessProviderPolicyApi - functional programming interface
24806
+ * @export
24807
+ */
24808
+ export const BusinessProviderPolicyApiFp = function(configuration?: Configuration) {
24809
+ const localVarAxiosParamCreator = BusinessProviderPolicyApiAxiosParamCreator(configuration)
24810
+ return {
24811
+ /**
24812
+ *
24813
+ * @summary Update global POS visibility settings for a business
24814
+ * @param {number} businessId Business ID to update
24815
+ * @param {UpdatePosGlobalSettingsDto} updatePosGlobalSettingsDto
24816
+ * @param {*} [options] Override http request option.
24817
+ * @throws {RequiredError}
24818
+ */
24819
+ async updatePosGlobalSettings(businessId: number, updatePosGlobalSettingsDto: UpdatePosGlobalSettingsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PosGlobalSettingsResponseDto>> {
24820
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatePosGlobalSettings(businessId, updatePosGlobalSettingsDto, options);
24821
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24822
+ },
24823
+ }
24824
+ };
24825
+
24826
+ /**
24827
+ * BusinessProviderPolicyApi - factory interface
24828
+ * @export
24829
+ */
24830
+ export const BusinessProviderPolicyApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
24831
+ const localVarFp = BusinessProviderPolicyApiFp(configuration)
24832
+ return {
24833
+ /**
24834
+ *
24835
+ * @summary Update global POS visibility settings for a business
24836
+ * @param {number} businessId Business ID to update
24837
+ * @param {UpdatePosGlobalSettingsDto} updatePosGlobalSettingsDto
24838
+ * @param {*} [options] Override http request option.
24839
+ * @throws {RequiredError}
24840
+ */
24841
+ updatePosGlobalSettings(businessId: number, updatePosGlobalSettingsDto: UpdatePosGlobalSettingsDto, options?: any): AxiosPromise<PosGlobalSettingsResponseDto> {
24842
+ return localVarFp.updatePosGlobalSettings(businessId, updatePosGlobalSettingsDto, options).then((request) => request(axios, basePath));
24843
+ },
24844
+ };
24845
+ };
24846
+
24847
+ /**
24848
+ * BusinessProviderPolicyApi - interface
24849
+ * @export
24850
+ * @interface BusinessProviderPolicyApi
24851
+ */
24852
+ export interface BusinessProviderPolicyApiInterface {
24853
+ /**
24854
+ *
24855
+ * @summary Update global POS visibility settings for a business
24856
+ * @param {number} businessId Business ID to update
24857
+ * @param {UpdatePosGlobalSettingsDto} updatePosGlobalSettingsDto
24858
+ * @param {*} [options] Override http request option.
24859
+ * @throws {RequiredError}
24860
+ * @memberof BusinessProviderPolicyApiInterface
24861
+ */
24862
+ updatePosGlobalSettings(businessId: number, updatePosGlobalSettingsDto: UpdatePosGlobalSettingsDto, options?: AxiosRequestConfig): AxiosPromise<PosGlobalSettingsResponseDto>;
24863
+
24864
+ }
24865
+
24866
+ /**
24867
+ * BusinessProviderPolicyApi - object-oriented interface
24868
+ * @export
24869
+ * @class BusinessProviderPolicyApi
24870
+ * @extends {BaseAPI}
24871
+ */
24872
+ export class BusinessProviderPolicyApi extends BaseAPI implements BusinessProviderPolicyApiInterface {
24873
+ /**
24874
+ *
24875
+ * @summary Update global POS visibility settings for a business
24876
+ * @param {number} businessId Business ID to update
24877
+ * @param {UpdatePosGlobalSettingsDto} updatePosGlobalSettingsDto
24878
+ * @param {*} [options] Override http request option.
24879
+ * @throws {RequiredError}
24880
+ * @memberof BusinessProviderPolicyApi
24881
+ */
24882
+ public updatePosGlobalSettings(businessId: number, updatePosGlobalSettingsDto: UpdatePosGlobalSettingsDto, options?: AxiosRequestConfig) {
24883
+ return BusinessProviderPolicyApiFp(this.configuration).updatePosGlobalSettings(businessId, updatePosGlobalSettingsDto, options).then((request) => request(this.axios, this.basePath));
24884
+ }
24885
+ }
24886
+
24887
+
23066
24888
  /**
23067
24889
  * CashManagementApi - axios parameter creator
23068
24890
  * @export
@@ -26432,6 +28254,473 @@ export class InvoiceCompaniesApi extends BaseAPI implements InvoiceCompaniesApiI
26432
28254
  }
26433
28255
 
26434
28256
 
28257
+ /**
28258
+ * KDSApi - axios parameter creator
28259
+ * @export
28260
+ */
28261
+ export const KDSApiAxiosParamCreator = function (configuration?: Configuration) {
28262
+ return {
28263
+ /**
28264
+ *
28265
+ * @summary Get KDS orders by status
28266
+ * @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
28267
+ * @param {string} businessIds Comma-separated list of business IDs
28268
+ * @param {string} profileId KDS Profile ID
28269
+ * @param {number} [page] Page number
28270
+ * @param {number} [rowPerPage] Number of rows per page
28271
+ * @param {TimeSpan} [timeSpan] Time span shortcut for order creation time filtering
28272
+ * @param {string} [start] Start date for custom or direct date filtering
28273
+ * @param {string} [end] End date for custom or direct date filtering
28274
+ * @param {string} [timezone] IANA timezone used to build the date range
28275
+ * @param {Array<ProviderEnum>} [provider] Provider filter
28276
+ * @param {Array<ConsumptionType>} [consumptionType] Consumption type filter
28277
+ * @param {*} [options] Override http request option.
28278
+ * @throws {RequiredError}
28279
+ */
28280
+ kdsGetOrders: async (status: 'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED', businessIds: string, profileId: string, page?: number, rowPerPage?: number, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: Array<ProviderEnum>, consumptionType?: Array<ConsumptionType>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28281
+ // verify required parameter 'status' is not null or undefined
28282
+ assertParamExists('kdsGetOrders', 'status', status)
28283
+ // verify required parameter 'businessIds' is not null or undefined
28284
+ assertParamExists('kdsGetOrders', 'businessIds', businessIds)
28285
+ // verify required parameter 'profileId' is not null or undefined
28286
+ assertParamExists('kdsGetOrders', 'profileId', profileId)
28287
+ const localVarPath = `/api/v1/kds/orders/{status}`
28288
+ .replace(`{${"status"}}`, encodeURIComponent(String(status)));
28289
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28290
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28291
+ let baseOptions;
28292
+ if (configuration) {
28293
+ baseOptions = configuration.baseOptions;
28294
+ }
28295
+
28296
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
28297
+ const localVarHeaderParameter = {} as any;
28298
+ const localVarQueryParameter = {} as any;
28299
+
28300
+ // authentication JWT-auth required
28301
+ // http bearer authentication required
28302
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28303
+
28304
+ if (businessIds !== undefined) {
28305
+ localVarQueryParameter['businessIds'] = businessIds;
28306
+ }
28307
+
28308
+ if (profileId !== undefined) {
28309
+ localVarQueryParameter['profileId'] = profileId;
28310
+ }
28311
+
28312
+ if (page !== undefined) {
28313
+ localVarQueryParameter['page'] = page;
28314
+ }
28315
+
28316
+ if (rowPerPage !== undefined) {
28317
+ localVarQueryParameter['rowPerPage'] = rowPerPage;
28318
+ }
28319
+
28320
+ if (timeSpan !== undefined) {
28321
+ localVarQueryParameter['timeSpan'] = timeSpan;
28322
+ }
28323
+
28324
+ if (start !== undefined) {
28325
+ localVarQueryParameter['start'] = start;
28326
+ }
28327
+
28328
+ if (end !== undefined) {
28329
+ localVarQueryParameter['end'] = end;
28330
+ }
28331
+
28332
+ if (timezone !== undefined) {
28333
+ localVarQueryParameter['timezone'] = timezone;
28334
+ }
28335
+
28336
+ if (provider) {
28337
+ localVarQueryParameter['provider'] = provider;
28338
+ }
28339
+
28340
+ if (consumptionType) {
28341
+ localVarQueryParameter['consumptionType'] = consumptionType;
28342
+ }
28343
+
28344
+
28345
+
28346
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28347
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28348
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28349
+
28350
+ return {
28351
+ url: toPathString(localVarUrlObj),
28352
+ options: localVarRequestOptions,
28353
+ };
28354
+ },
28355
+ /**
28356
+ *
28357
+ * @summary Get KDS profiles for a business
28358
+ * @param {number} businessId Business ID
28359
+ * @param {*} [options] Override http request option.
28360
+ * @throws {RequiredError}
28361
+ */
28362
+ kdsGetProfiles: async (businessId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28363
+ // verify required parameter 'businessId' is not null or undefined
28364
+ assertParamExists('kdsGetProfiles', 'businessId', businessId)
28365
+ const localVarPath = `/api/v1/kds/profiles`;
28366
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28367
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28368
+ let baseOptions;
28369
+ if (configuration) {
28370
+ baseOptions = configuration.baseOptions;
28371
+ }
28372
+
28373
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
28374
+ const localVarHeaderParameter = {} as any;
28375
+ const localVarQueryParameter = {} as any;
28376
+
28377
+ // authentication JWT-auth required
28378
+ // http bearer authentication required
28379
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28380
+
28381
+ if (businessId !== undefined) {
28382
+ localVarQueryParameter['businessId'] = businessId;
28383
+ }
28384
+
28385
+
28386
+
28387
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28388
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28389
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28390
+
28391
+ return {
28392
+ url: toPathString(localVarUrlObj),
28393
+ options: localVarRequestOptions,
28394
+ };
28395
+ },
28396
+ /**
28397
+ *
28398
+ * @summary Mark a KDS order as ready
28399
+ * @param {string} id KDS order ID
28400
+ * @param {*} [options] Override http request option.
28401
+ * @throws {RequiredError}
28402
+ */
28403
+ kdsMarkOrderReady: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28404
+ // verify required parameter 'id' is not null or undefined
28405
+ assertParamExists('kdsMarkOrderReady', 'id', id)
28406
+ const localVarPath = `/api/v1/kds/orders/{id}/ready`
28407
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
28408
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28409
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28410
+ let baseOptions;
28411
+ if (configuration) {
28412
+ baseOptions = configuration.baseOptions;
28413
+ }
28414
+
28415
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
28416
+ const localVarHeaderParameter = {} as any;
28417
+ const localVarQueryParameter = {} as any;
28418
+
28419
+ // authentication JWT-auth required
28420
+ // http bearer authentication required
28421
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28422
+
28423
+
28424
+
28425
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28426
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28427
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28428
+
28429
+ return {
28430
+ url: toPathString(localVarUrlObj),
28431
+ options: localVarRequestOptions,
28432
+ };
28433
+ },
28434
+ /**
28435
+ *
28436
+ * @summary Revert a KDS order back to in progress
28437
+ * @param {string} id KDS order ID
28438
+ * @param {*} [options] Override http request option.
28439
+ * @throws {RequiredError}
28440
+ */
28441
+ kdsRevertOrder: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28442
+ // verify required parameter 'id' is not null or undefined
28443
+ assertParamExists('kdsRevertOrder', 'id', id)
28444
+ const localVarPath = `/api/v1/kds/orders/{id}/revert`
28445
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
28446
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28447
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28448
+ let baseOptions;
28449
+ if (configuration) {
28450
+ baseOptions = configuration.baseOptions;
28451
+ }
28452
+
28453
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
28454
+ const localVarHeaderParameter = {} as any;
28455
+ const localVarQueryParameter = {} as any;
28456
+
28457
+ // authentication JWT-auth required
28458
+ // http bearer authentication required
28459
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28460
+
28461
+
28462
+
28463
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28464
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28465
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28466
+
28467
+ return {
28468
+ url: toPathString(localVarUrlObj),
28469
+ options: localVarRequestOptions,
28470
+ };
28471
+ },
28472
+ }
28473
+ };
28474
+
28475
+ /**
28476
+ * KDSApi - functional programming interface
28477
+ * @export
28478
+ */
28479
+ export const KDSApiFp = function(configuration?: Configuration) {
28480
+ const localVarAxiosParamCreator = KDSApiAxiosParamCreator(configuration)
28481
+ return {
28482
+ /**
28483
+ *
28484
+ * @summary Get KDS orders by status
28485
+ * @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
28486
+ * @param {string} businessIds Comma-separated list of business IDs
28487
+ * @param {string} profileId KDS Profile ID
28488
+ * @param {number} [page] Page number
28489
+ * @param {number} [rowPerPage] Number of rows per page
28490
+ * @param {TimeSpan} [timeSpan] Time span shortcut for order creation time filtering
28491
+ * @param {string} [start] Start date for custom or direct date filtering
28492
+ * @param {string} [end] End date for custom or direct date filtering
28493
+ * @param {string} [timezone] IANA timezone used to build the date range
28494
+ * @param {Array<ProviderEnum>} [provider] Provider filter
28495
+ * @param {Array<ConsumptionType>} [consumptionType] Consumption type filter
28496
+ * @param {*} [options] Override http request option.
28497
+ * @throws {RequiredError}
28498
+ */
28499
+ async kdsGetOrders(status: 'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED', businessIds: string, profileId: string, page?: number, rowPerPage?: number, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: Array<ProviderEnum>, consumptionType?: Array<ConsumptionType>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KdsOrderListResponseDto>> {
28500
+ const localVarAxiosArgs = await localVarAxiosParamCreator.kdsGetOrders(status, businessIds, profileId, page, rowPerPage, timeSpan, start, end, timezone, provider, consumptionType, options);
28501
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28502
+ },
28503
+ /**
28504
+ *
28505
+ * @summary Get KDS profiles for a business
28506
+ * @param {number} businessId Business ID
28507
+ * @param {*} [options] Override http request option.
28508
+ * @throws {RequiredError}
28509
+ */
28510
+ async kdsGetProfiles(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<KdsProfileDto>>> {
28511
+ const localVarAxiosArgs = await localVarAxiosParamCreator.kdsGetProfiles(businessId, options);
28512
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28513
+ },
28514
+ /**
28515
+ *
28516
+ * @summary Mark a KDS order as ready
28517
+ * @param {string} id KDS order ID
28518
+ * @param {*} [options] Override http request option.
28519
+ * @throws {RequiredError}
28520
+ */
28521
+ async kdsMarkOrderReady(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KdsReadyOrderResponseDto>> {
28522
+ const localVarAxiosArgs = await localVarAxiosParamCreator.kdsMarkOrderReady(id, options);
28523
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28524
+ },
28525
+ /**
28526
+ *
28527
+ * @summary Revert a KDS order back to in progress
28528
+ * @param {string} id KDS order ID
28529
+ * @param {*} [options] Override http request option.
28530
+ * @throws {RequiredError}
28531
+ */
28532
+ async kdsRevertOrder(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KdsRevertOrderResponseDto>> {
28533
+ const localVarAxiosArgs = await localVarAxiosParamCreator.kdsRevertOrder(id, options);
28534
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28535
+ },
28536
+ }
28537
+ };
28538
+
28539
+ /**
28540
+ * KDSApi - factory interface
28541
+ * @export
28542
+ */
28543
+ export const KDSApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
28544
+ const localVarFp = KDSApiFp(configuration)
28545
+ return {
28546
+ /**
28547
+ *
28548
+ * @summary Get KDS orders by status
28549
+ * @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
28550
+ * @param {string} businessIds Comma-separated list of business IDs
28551
+ * @param {string} profileId KDS Profile ID
28552
+ * @param {number} [page] Page number
28553
+ * @param {number} [rowPerPage] Number of rows per page
28554
+ * @param {TimeSpan} [timeSpan] Time span shortcut for order creation time filtering
28555
+ * @param {string} [start] Start date for custom or direct date filtering
28556
+ * @param {string} [end] End date for custom or direct date filtering
28557
+ * @param {string} [timezone] IANA timezone used to build the date range
28558
+ * @param {Array<ProviderEnum>} [provider] Provider filter
28559
+ * @param {Array<ConsumptionType>} [consumptionType] Consumption type filter
28560
+ * @param {*} [options] Override http request option.
28561
+ * @throws {RequiredError}
28562
+ */
28563
+ kdsGetOrders(status: 'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED', businessIds: string, profileId: string, page?: number, rowPerPage?: number, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: Array<ProviderEnum>, consumptionType?: Array<ConsumptionType>, options?: any): AxiosPromise<KdsOrderListResponseDto> {
28564
+ return localVarFp.kdsGetOrders(status, businessIds, profileId, page, rowPerPage, timeSpan, start, end, timezone, provider, consumptionType, options).then((request) => request(axios, basePath));
28565
+ },
28566
+ /**
28567
+ *
28568
+ * @summary Get KDS profiles for a business
28569
+ * @param {number} businessId Business ID
28570
+ * @param {*} [options] Override http request option.
28571
+ * @throws {RequiredError}
28572
+ */
28573
+ kdsGetProfiles(businessId: number, options?: any): AxiosPromise<Array<KdsProfileDto>> {
28574
+ return localVarFp.kdsGetProfiles(businessId, options).then((request) => request(axios, basePath));
28575
+ },
28576
+ /**
28577
+ *
28578
+ * @summary Mark a KDS order as ready
28579
+ * @param {string} id KDS order ID
28580
+ * @param {*} [options] Override http request option.
28581
+ * @throws {RequiredError}
28582
+ */
28583
+ kdsMarkOrderReady(id: string, options?: any): AxiosPromise<KdsReadyOrderResponseDto> {
28584
+ return localVarFp.kdsMarkOrderReady(id, options).then((request) => request(axios, basePath));
28585
+ },
28586
+ /**
28587
+ *
28588
+ * @summary Revert a KDS order back to in progress
28589
+ * @param {string} id KDS order ID
28590
+ * @param {*} [options] Override http request option.
28591
+ * @throws {RequiredError}
28592
+ */
28593
+ kdsRevertOrder(id: string, options?: any): AxiosPromise<KdsRevertOrderResponseDto> {
28594
+ return localVarFp.kdsRevertOrder(id, options).then((request) => request(axios, basePath));
28595
+ },
28596
+ };
28597
+ };
28598
+
28599
+ /**
28600
+ * KDSApi - interface
28601
+ * @export
28602
+ * @interface KDSApi
28603
+ */
28604
+ export interface KDSApiInterface {
28605
+ /**
28606
+ *
28607
+ * @summary Get KDS orders by status
28608
+ * @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
28609
+ * @param {string} businessIds Comma-separated list of business IDs
28610
+ * @param {string} profileId KDS Profile ID
28611
+ * @param {number} [page] Page number
28612
+ * @param {number} [rowPerPage] Number of rows per page
28613
+ * @param {TimeSpan} [timeSpan] Time span shortcut for order creation time filtering
28614
+ * @param {string} [start] Start date for custom or direct date filtering
28615
+ * @param {string} [end] End date for custom or direct date filtering
28616
+ * @param {string} [timezone] IANA timezone used to build the date range
28617
+ * @param {Array<ProviderEnum>} [provider] Provider filter
28618
+ * @param {Array<ConsumptionType>} [consumptionType] Consumption type filter
28619
+ * @param {*} [options] Override http request option.
28620
+ * @throws {RequiredError}
28621
+ * @memberof KDSApiInterface
28622
+ */
28623
+ kdsGetOrders(status: 'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED', businessIds: string, profileId: string, page?: number, rowPerPage?: number, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: Array<ProviderEnum>, consumptionType?: Array<ConsumptionType>, options?: AxiosRequestConfig): AxiosPromise<KdsOrderListResponseDto>;
28624
+
28625
+ /**
28626
+ *
28627
+ * @summary Get KDS profiles for a business
28628
+ * @param {number} businessId Business ID
28629
+ * @param {*} [options] Override http request option.
28630
+ * @throws {RequiredError}
28631
+ * @memberof KDSApiInterface
28632
+ */
28633
+ kdsGetProfiles(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<KdsProfileDto>>;
28634
+
28635
+ /**
28636
+ *
28637
+ * @summary Mark a KDS order as ready
28638
+ * @param {string} id KDS order ID
28639
+ * @param {*} [options] Override http request option.
28640
+ * @throws {RequiredError}
28641
+ * @memberof KDSApiInterface
28642
+ */
28643
+ kdsMarkOrderReady(id: string, options?: AxiosRequestConfig): AxiosPromise<KdsReadyOrderResponseDto>;
28644
+
28645
+ /**
28646
+ *
28647
+ * @summary Revert a KDS order back to in progress
28648
+ * @param {string} id KDS order ID
28649
+ * @param {*} [options] Override http request option.
28650
+ * @throws {RequiredError}
28651
+ * @memberof KDSApiInterface
28652
+ */
28653
+ kdsRevertOrder(id: string, options?: AxiosRequestConfig): AxiosPromise<KdsRevertOrderResponseDto>;
28654
+
28655
+ }
28656
+
28657
+ /**
28658
+ * KDSApi - object-oriented interface
28659
+ * @export
28660
+ * @class KDSApi
28661
+ * @extends {BaseAPI}
28662
+ */
28663
+ export class KDSApi extends BaseAPI implements KDSApiInterface {
28664
+ /**
28665
+ *
28666
+ * @summary Get KDS orders by status
28667
+ * @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
28668
+ * @param {string} businessIds Comma-separated list of business IDs
28669
+ * @param {string} profileId KDS Profile ID
28670
+ * @param {number} [page] Page number
28671
+ * @param {number} [rowPerPage] Number of rows per page
28672
+ * @param {TimeSpan} [timeSpan] Time span shortcut for order creation time filtering
28673
+ * @param {string} [start] Start date for custom or direct date filtering
28674
+ * @param {string} [end] End date for custom or direct date filtering
28675
+ * @param {string} [timezone] IANA timezone used to build the date range
28676
+ * @param {Array<ProviderEnum>} [provider] Provider filter
28677
+ * @param {Array<ConsumptionType>} [consumptionType] Consumption type filter
28678
+ * @param {*} [options] Override http request option.
28679
+ * @throws {RequiredError}
28680
+ * @memberof KDSApi
28681
+ */
28682
+ public kdsGetOrders(status: 'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED', businessIds: string, profileId: string, page?: number, rowPerPage?: number, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: Array<ProviderEnum>, consumptionType?: Array<ConsumptionType>, options?: AxiosRequestConfig) {
28683
+ return KDSApiFp(this.configuration).kdsGetOrders(status, businessIds, profileId, page, rowPerPage, timeSpan, start, end, timezone, provider, consumptionType, options).then((request) => request(this.axios, this.basePath));
28684
+ }
28685
+
28686
+ /**
28687
+ *
28688
+ * @summary Get KDS profiles for a business
28689
+ * @param {number} businessId Business ID
28690
+ * @param {*} [options] Override http request option.
28691
+ * @throws {RequiredError}
28692
+ * @memberof KDSApi
28693
+ */
28694
+ public kdsGetProfiles(businessId: number, options?: AxiosRequestConfig) {
28695
+ return KDSApiFp(this.configuration).kdsGetProfiles(businessId, options).then((request) => request(this.axios, this.basePath));
28696
+ }
28697
+
28698
+ /**
28699
+ *
28700
+ * @summary Mark a KDS order as ready
28701
+ * @param {string} id KDS order ID
28702
+ * @param {*} [options] Override http request option.
28703
+ * @throws {RequiredError}
28704
+ * @memberof KDSApi
28705
+ */
28706
+ public kdsMarkOrderReady(id: string, options?: AxiosRequestConfig) {
28707
+ return KDSApiFp(this.configuration).kdsMarkOrderReady(id, options).then((request) => request(this.axios, this.basePath));
28708
+ }
28709
+
28710
+ /**
28711
+ *
28712
+ * @summary Revert a KDS order back to in progress
28713
+ * @param {string} id KDS order ID
28714
+ * @param {*} [options] Override http request option.
28715
+ * @throws {RequiredError}
28716
+ * @memberof KDSApi
28717
+ */
28718
+ public kdsRevertOrder(id: string, options?: AxiosRequestConfig) {
28719
+ return KDSApiFp(this.configuration).kdsRevertOrder(id, options).then((request) => request(this.axios, this.basePath));
28720
+ }
28721
+ }
28722
+
28723
+
26435
28724
  /**
26436
28725
  * KiosksApi - axios parameter creator
26437
28726
  * @export
@@ -26650,6 +28939,53 @@ export class KiosksApi extends BaseAPI implements KiosksApiInterface {
26650
28939
  */
26651
28940
  export const LoyaltyIntegerationsApiAxiosParamCreator = function (configuration?: Configuration) {
26652
28941
  return {
28942
+ /**
28943
+ *
28944
+ * @summary Create loyalty user
28945
+ * @param {number} businessId
28946
+ * @param {CreateLoyaltyProgramUserDto} createLoyaltyProgramUserDto
28947
+ * @param {*} [options] Override http request option.
28948
+ * @throws {RequiredError}
28949
+ */
28950
+ createLoyaltyUser: async (businessId: number, createLoyaltyProgramUserDto: CreateLoyaltyProgramUserDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28951
+ // verify required parameter 'businessId' is not null or undefined
28952
+ assertParamExists('createLoyaltyUser', 'businessId', businessId)
28953
+ // verify required parameter 'createLoyaltyProgramUserDto' is not null or undefined
28954
+ assertParamExists('createLoyaltyUser', 'createLoyaltyProgramUserDto', createLoyaltyProgramUserDto)
28955
+ const localVarPath = `/api/v1/loyalty/users/create`;
28956
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28957
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28958
+ let baseOptions;
28959
+ if (configuration) {
28960
+ baseOptions = configuration.baseOptions;
28961
+ }
28962
+
28963
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
28964
+ const localVarHeaderParameter = {} as any;
28965
+ const localVarQueryParameter = {} as any;
28966
+
28967
+ // authentication JWT-auth required
28968
+ // http bearer authentication required
28969
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28970
+
28971
+ if (businessId !== undefined) {
28972
+ localVarQueryParameter['businessId'] = businessId;
28973
+ }
28974
+
28975
+
28976
+
28977
+ localVarHeaderParameter['Content-Type'] = 'application/json';
28978
+
28979
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28980
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28981
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28982
+ localVarRequestOptions.data = serializeDataIfNeeded(createLoyaltyProgramUserDto, localVarRequestOptions, configuration)
28983
+
28984
+ return {
28985
+ url: toPathString(localVarUrlObj),
28986
+ options: localVarRequestOptions,
28987
+ };
28988
+ },
26653
28989
  /**
26654
28990
  *
26655
28991
  * @summary Get admin transaction history
@@ -26903,6 +29239,18 @@ export const LoyaltyIntegerationsApiAxiosParamCreator = function (configuration?
26903
29239
  export const LoyaltyIntegerationsApiFp = function(configuration?: Configuration) {
26904
29240
  const localVarAxiosParamCreator = LoyaltyIntegerationsApiAxiosParamCreator(configuration)
26905
29241
  return {
29242
+ /**
29243
+ *
29244
+ * @summary Create loyalty user
29245
+ * @param {number} businessId
29246
+ * @param {CreateLoyaltyProgramUserDto} createLoyaltyProgramUserDto
29247
+ * @param {*} [options] Override http request option.
29248
+ * @throws {RequiredError}
29249
+ */
29250
+ async createLoyaltyUser(businessId: number, createLoyaltyProgramUserDto: CreateLoyaltyProgramUserDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLoyaltyProgramUserResponseDto>> {
29251
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createLoyaltyUser(businessId, createLoyaltyProgramUserDto, options);
29252
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29253
+ },
26906
29254
  /**
26907
29255
  *
26908
29256
  * @summary Get admin transaction history
@@ -26975,6 +29323,17 @@ export const LoyaltyIntegerationsApiFp = function(configuration?: Configuration)
26975
29323
  export const LoyaltyIntegerationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
26976
29324
  const localVarFp = LoyaltyIntegerationsApiFp(configuration)
26977
29325
  return {
29326
+ /**
29327
+ *
29328
+ * @summary Create loyalty user
29329
+ * @param {number} businessId
29330
+ * @param {CreateLoyaltyProgramUserDto} createLoyaltyProgramUserDto
29331
+ * @param {*} [options] Override http request option.
29332
+ * @throws {RequiredError}
29333
+ */
29334
+ createLoyaltyUser(businessId: number, createLoyaltyProgramUserDto: CreateLoyaltyProgramUserDto, options?: any): AxiosPromise<CreateLoyaltyProgramUserResponseDto> {
29335
+ return localVarFp.createLoyaltyUser(businessId, createLoyaltyProgramUserDto, options).then((request) => request(axios, basePath));
29336
+ },
26978
29337
  /**
26979
29338
  *
26980
29339
  * @summary Get admin transaction history
@@ -27041,6 +29400,17 @@ export const LoyaltyIntegerationsApiFactory = function (configuration?: Configur
27041
29400
  * @interface LoyaltyIntegerationsApi
27042
29401
  */
27043
29402
  export interface LoyaltyIntegerationsApiInterface {
29403
+ /**
29404
+ *
29405
+ * @summary Create loyalty user
29406
+ * @param {number} businessId
29407
+ * @param {CreateLoyaltyProgramUserDto} createLoyaltyProgramUserDto
29408
+ * @param {*} [options] Override http request option.
29409
+ * @throws {RequiredError}
29410
+ * @memberof LoyaltyIntegerationsApiInterface
29411
+ */
29412
+ createLoyaltyUser(businessId: number, createLoyaltyProgramUserDto: CreateLoyaltyProgramUserDto, options?: AxiosRequestConfig): AxiosPromise<CreateLoyaltyProgramUserResponseDto>;
29413
+
27044
29414
  /**
27045
29415
  *
27046
29416
  * @summary Get admin transaction history
@@ -27107,6 +29477,19 @@ export interface LoyaltyIntegerationsApiInterface {
27107
29477
  * @extends {BaseAPI}
27108
29478
  */
27109
29479
  export class LoyaltyIntegerationsApi extends BaseAPI implements LoyaltyIntegerationsApiInterface {
29480
+ /**
29481
+ *
29482
+ * @summary Create loyalty user
29483
+ * @param {number} businessId
29484
+ * @param {CreateLoyaltyProgramUserDto} createLoyaltyProgramUserDto
29485
+ * @param {*} [options] Override http request option.
29486
+ * @throws {RequiredError}
29487
+ * @memberof LoyaltyIntegerationsApi
29488
+ */
29489
+ public createLoyaltyUser(businessId: number, createLoyaltyProgramUserDto: CreateLoyaltyProgramUserDto, options?: AxiosRequestConfig) {
29490
+ return LoyaltyIntegerationsApiFp(this.configuration).createLoyaltyUser(businessId, createLoyaltyProgramUserDto, options).then((request) => request(this.axios, this.basePath));
29491
+ }
29492
+
27110
29493
  /**
27111
29494
  *
27112
29495
  * @summary Get admin transaction history
@@ -28146,6 +30529,129 @@ export class NotificationApi extends BaseAPI implements NotificationApiInterface
28146
30529
  }
28147
30530
 
28148
30531
 
30532
+ /**
30533
+ * OrderInternalApi - axios parameter creator
30534
+ * @export
30535
+ */
30536
+ export const OrderInternalApiAxiosParamCreator = function (configuration?: Configuration) {
30537
+ return {
30538
+ /**
30539
+ *
30540
+ * @summary Get order data by external ID for internal microservice communication
30541
+ * @param {string} externalId
30542
+ * @param {*} [options] Override http request option.
30543
+ * @throws {RequiredError}
30544
+ */
30545
+ findOneByExternalId: async (externalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
30546
+ // verify required parameter 'externalId' is not null or undefined
30547
+ assertParamExists('findOneByExternalId', 'externalId', externalId)
30548
+ const localVarPath = `/api/v1/orders/internal/{externalId}`
30549
+ .replace(`{${"externalId"}}`, encodeURIComponent(String(externalId)));
30550
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30551
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30552
+ let baseOptions;
30553
+ if (configuration) {
30554
+ baseOptions = configuration.baseOptions;
30555
+ }
30556
+
30557
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
30558
+ const localVarHeaderParameter = {} as any;
30559
+ const localVarQueryParameter = {} as any;
30560
+
30561
+
30562
+
30563
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
30564
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30565
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
30566
+
30567
+ return {
30568
+ url: toPathString(localVarUrlObj),
30569
+ options: localVarRequestOptions,
30570
+ };
30571
+ },
30572
+ }
30573
+ };
30574
+
30575
+ /**
30576
+ * OrderInternalApi - functional programming interface
30577
+ * @export
30578
+ */
30579
+ export const OrderInternalApiFp = function(configuration?: Configuration) {
30580
+ const localVarAxiosParamCreator = OrderInternalApiAxiosParamCreator(configuration)
30581
+ return {
30582
+ /**
30583
+ *
30584
+ * @summary Get order data by external ID for internal microservice communication
30585
+ * @param {string} externalId
30586
+ * @param {*} [options] Override http request option.
30587
+ * @throws {RequiredError}
30588
+ */
30589
+ async findOneByExternalId(externalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
30590
+ const localVarAxiosArgs = await localVarAxiosParamCreator.findOneByExternalId(externalId, options);
30591
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
30592
+ },
30593
+ }
30594
+ };
30595
+
30596
+ /**
30597
+ * OrderInternalApi - factory interface
30598
+ * @export
30599
+ */
30600
+ export const OrderInternalApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
30601
+ const localVarFp = OrderInternalApiFp(configuration)
30602
+ return {
30603
+ /**
30604
+ *
30605
+ * @summary Get order data by external ID for internal microservice communication
30606
+ * @param {string} externalId
30607
+ * @param {*} [options] Override http request option.
30608
+ * @throws {RequiredError}
30609
+ */
30610
+ findOneByExternalId(externalId: string, options?: any): AxiosPromise<void> {
30611
+ return localVarFp.findOneByExternalId(externalId, options).then((request) => request(axios, basePath));
30612
+ },
30613
+ };
30614
+ };
30615
+
30616
+ /**
30617
+ * OrderInternalApi - interface
30618
+ * @export
30619
+ * @interface OrderInternalApi
30620
+ */
30621
+ export interface OrderInternalApiInterface {
30622
+ /**
30623
+ *
30624
+ * @summary Get order data by external ID for internal microservice communication
30625
+ * @param {string} externalId
30626
+ * @param {*} [options] Override http request option.
30627
+ * @throws {RequiredError}
30628
+ * @memberof OrderInternalApiInterface
30629
+ */
30630
+ findOneByExternalId(externalId: string, options?: AxiosRequestConfig): AxiosPromise<void>;
30631
+
30632
+ }
30633
+
30634
+ /**
30635
+ * OrderInternalApi - object-oriented interface
30636
+ * @export
30637
+ * @class OrderInternalApi
30638
+ * @extends {BaseAPI}
30639
+ */
30640
+ export class OrderInternalApi extends BaseAPI implements OrderInternalApiInterface {
30641
+ /**
30642
+ *
30643
+ * @summary Get order data by external ID for internal microservice communication
30644
+ * @param {string} externalId
30645
+ * @param {*} [options] Override http request option.
30646
+ * @throws {RequiredError}
30647
+ * @memberof OrderInternalApi
30648
+ */
30649
+ public findOneByExternalId(externalId: string, options?: AxiosRequestConfig) {
30650
+ return OrderInternalApiFp(this.configuration).findOneByExternalId(externalId, options).then((request) => request(this.axios, this.basePath));
30651
+ }
30652
+ }
30653
+
30654
+
28149
30655
  /**
28150
30656
  * OrderingCoApi - axios parameter creator
28151
30657
  * @export
@@ -28486,6 +30992,10 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
28486
30992
  const localVarHeaderParameter = {} as any;
28487
30993
  const localVarQueryParameter = {} as any;
28488
30994
 
30995
+ if (businessIds !== undefined) {
30996
+ localVarQueryParameter['businessIds'] = businessIds;
30997
+ }
30998
+
28489
30999
  if (posBusinessId !== undefined) {
28490
31000
  localVarQueryParameter['posBusinessId'] = posBusinessId;
28491
31001
  }
@@ -28494,10 +31004,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
28494
31004
  localVarQueryParameter['extraProvider'] = extraProvider;
28495
31005
  }
28496
31006
 
28497
- if (businessIds !== undefined) {
28498
- localVarQueryParameter['businessIds'] = businessIds;
28499
- }
28500
-
28501
31007
 
28502
31008
 
28503
31009
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -32946,41 +35452,6 @@ export const StationsApiAxiosParamCreator = function (configuration?: Configurat
32946
35452
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32947
35453
  localVarRequestOptions.data = serializeDataIfNeeded(syncStationDto, localVarRequestOptions, configuration)
32948
35454
 
32949
- return {
32950
- url: toPathString(localVarUrlObj),
32951
- options: localVarRequestOptions,
32952
- };
32953
- },
32954
- /**
32955
- *
32956
- * @param {SyncTerminalDto} syncTerminalDto Connect payment terminal to station
32957
- * @param {*} [options] Override http request option.
32958
- * @throws {RequiredError}
32959
- */
32960
- syncTerminal: async (syncTerminalDto: SyncTerminalDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32961
- // verify required parameter 'syncTerminalDto' is not null or undefined
32962
- assertParamExists('syncTerminal', 'syncTerminalDto', syncTerminalDto)
32963
- const localVarPath = `/api/v1/station/terminal/sync`;
32964
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
32965
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32966
- let baseOptions;
32967
- if (configuration) {
32968
- baseOptions = configuration.baseOptions;
32969
- }
32970
-
32971
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
32972
- const localVarHeaderParameter = {} as any;
32973
- const localVarQueryParameter = {} as any;
32974
-
32975
-
32976
-
32977
- localVarHeaderParameter['Content-Type'] = 'application/json';
32978
-
32979
- setSearchParams(localVarUrlObj, localVarQueryParameter);
32980
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32981
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32982
- localVarRequestOptions.data = serializeDataIfNeeded(syncTerminalDto, localVarRequestOptions, configuration)
32983
-
32984
35455
  return {
32985
35456
  url: toPathString(localVarUrlObj),
32986
35457
  options: localVarRequestOptions,
@@ -33024,16 +35495,6 @@ export const StationsApiFp = function(configuration?: Configuration) {
33024
35495
  const localVarAxiosArgs = await localVarAxiosParamCreator.syncStation(syncStationDto, options);
33025
35496
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33026
35497
  },
33027
- /**
33028
- *
33029
- * @param {SyncTerminalDto} syncTerminalDto Connect payment terminal to station
33030
- * @param {*} [options] Override http request option.
33031
- * @throws {RequiredError}
33032
- */
33033
- async syncTerminal(syncTerminalDto: SyncTerminalDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StationSyncResponseDto>> {
33034
- const localVarAxiosArgs = await localVarAxiosParamCreator.syncTerminal(syncTerminalDto, options);
33035
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33036
- },
33037
35498
  }
33038
35499
  };
33039
35500
 
@@ -33069,15 +35530,6 @@ export const StationsApiFactory = function (configuration?: Configuration, baseP
33069
35530
  syncStation(syncStationDto: SyncStationDto, options?: any): AxiosPromise<StationSyncResponseDto> {
33070
35531
  return localVarFp.syncStation(syncStationDto, options).then((request) => request(axios, basePath));
33071
35532
  },
33072
- /**
33073
- *
33074
- * @param {SyncTerminalDto} syncTerminalDto Connect payment terminal to station
33075
- * @param {*} [options] Override http request option.
33076
- * @throws {RequiredError}
33077
- */
33078
- syncTerminal(syncTerminalDto: SyncTerminalDto, options?: any): AxiosPromise<StationSyncResponseDto> {
33079
- return localVarFp.syncTerminal(syncTerminalDto, options).then((request) => request(axios, basePath));
33080
- },
33081
35533
  };
33082
35534
  };
33083
35535
 
@@ -33112,15 +35564,6 @@ export interface StationsApiInterface {
33112
35564
  */
33113
35565
  syncStation(syncStationDto: SyncStationDto, options?: AxiosRequestConfig): AxiosPromise<StationSyncResponseDto>;
33114
35566
 
33115
- /**
33116
- *
33117
- * @param {SyncTerminalDto} syncTerminalDto Connect payment terminal to station
33118
- * @param {*} [options] Override http request option.
33119
- * @throws {RequiredError}
33120
- * @memberof StationsApiInterface
33121
- */
33122
- syncTerminal(syncTerminalDto: SyncTerminalDto, options?: AxiosRequestConfig): AxiosPromise<StationSyncResponseDto>;
33123
-
33124
35567
  }
33125
35568
 
33126
35569
  /**
@@ -33160,17 +35603,6 @@ export class StationsApi extends BaseAPI implements StationsApiInterface {
33160
35603
  public syncStation(syncStationDto: SyncStationDto, options?: AxiosRequestConfig) {
33161
35604
  return StationsApiFp(this.configuration).syncStation(syncStationDto, options).then((request) => request(this.axios, this.basePath));
33162
35605
  }
33163
-
33164
- /**
33165
- *
33166
- * @param {SyncTerminalDto} syncTerminalDto Connect payment terminal to station
33167
- * @param {*} [options] Override http request option.
33168
- * @throws {RequiredError}
33169
- * @memberof StationsApi
33170
- */
33171
- public syncTerminal(syncTerminalDto: SyncTerminalDto, options?: AxiosRequestConfig) {
33172
- return StationsApiFp(this.configuration).syncTerminal(syncTerminalDto, options).then((request) => request(this.axios, this.basePath));
33173
- }
33174
35606
  }
33175
35607
 
33176
35608
 
@@ -33553,7 +35985,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
33553
35985
  * @param {*} [options] Override http request option.
33554
35986
  * @throws {RequiredError}
33555
35987
  */
33556
- getUserBusiness: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35988
+ getUserBusinessV1: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33557
35989
  const localVarPath = `/api/v1/user/business`;
33558
35990
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
33559
35991
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -33572,6 +36004,40 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
33572
36004
 
33573
36005
 
33574
36006
 
36007
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36008
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36009
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36010
+
36011
+ return {
36012
+ url: toPathString(localVarUrlObj),
36013
+ options: localVarRequestOptions,
36014
+ };
36015
+ },
36016
+ /**
36017
+ *
36018
+ * @summary Retrieve user Business information with KDS profiles
36019
+ * @param {*} [options] Override http request option.
36020
+ * @throws {RequiredError}
36021
+ */
36022
+ getUserBusinessV2: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36023
+ const localVarPath = `/api/v2/user/business`;
36024
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36025
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36026
+ let baseOptions;
36027
+ if (configuration) {
36028
+ baseOptions = configuration.baseOptions;
36029
+ }
36030
+
36031
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36032
+ const localVarHeaderParameter = {} as any;
36033
+ const localVarQueryParameter = {} as any;
36034
+
36035
+ // authentication JWT-auth required
36036
+ // http bearer authentication required
36037
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
36038
+
36039
+
36040
+
33575
36041
  setSearchParams(localVarUrlObj, localVarQueryParameter);
33576
36042
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33577
36043
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -33587,7 +36053,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
33587
36053
  * @param {*} [options] Override http request option.
33588
36054
  * @throws {RequiredError}
33589
36055
  */
33590
- getUserInfo: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36056
+ getUserInfoV1: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33591
36057
  const localVarPath = `/api/v1/user`;
33592
36058
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
33593
36059
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -33631,8 +36097,18 @@ export const UserApiFp = function(configuration?: Configuration) {
33631
36097
  * @param {*} [options] Override http request option.
33632
36098
  * @throws {RequiredError}
33633
36099
  */
33634
- async getUserBusiness(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessInfoResponseDto>>> {
33635
- const localVarAxiosArgs = await localVarAxiosParamCreator.getUserBusiness(options);
36100
+ async getUserBusinessV1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessInfoResponseDto>>> {
36101
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUserBusinessV1(options);
36102
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36103
+ },
36104
+ /**
36105
+ *
36106
+ * @summary Retrieve user Business information with KDS profiles
36107
+ * @param {*} [options] Override http request option.
36108
+ * @throws {RequiredError}
36109
+ */
36110
+ async getUserBusinessV2(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessInfoV2ResponseDto>>> {
36111
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUserBusinessV2(options);
33636
36112
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33637
36113
  },
33638
36114
  /**
@@ -33641,8 +36117,8 @@ export const UserApiFp = function(configuration?: Configuration) {
33641
36117
  * @param {*} [options] Override http request option.
33642
36118
  * @throws {RequiredError}
33643
36119
  */
33644
- async getUserInfo(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserInfoResponseDto>> {
33645
- const localVarAxiosArgs = await localVarAxiosParamCreator.getUserInfo(options);
36120
+ async getUserInfoV1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserInfoResponseDto>> {
36121
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUserInfoV1(options);
33646
36122
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33647
36123
  },
33648
36124
  }
@@ -33661,8 +36137,17 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
33661
36137
  * @param {*} [options] Override http request option.
33662
36138
  * @throws {RequiredError}
33663
36139
  */
33664
- getUserBusiness(options?: any): AxiosPromise<Array<BusinessInfoResponseDto>> {
33665
- return localVarFp.getUserBusiness(options).then((request) => request(axios, basePath));
36140
+ getUserBusinessV1(options?: any): AxiosPromise<Array<BusinessInfoResponseDto>> {
36141
+ return localVarFp.getUserBusinessV1(options).then((request) => request(axios, basePath));
36142
+ },
36143
+ /**
36144
+ *
36145
+ * @summary Retrieve user Business information with KDS profiles
36146
+ * @param {*} [options] Override http request option.
36147
+ * @throws {RequiredError}
36148
+ */
36149
+ getUserBusinessV2(options?: any): AxiosPromise<Array<BusinessInfoV2ResponseDto>> {
36150
+ return localVarFp.getUserBusinessV2(options).then((request) => request(axios, basePath));
33666
36151
  },
33667
36152
  /**
33668
36153
  *
@@ -33670,8 +36155,8 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
33670
36155
  * @param {*} [options] Override http request option.
33671
36156
  * @throws {RequiredError}
33672
36157
  */
33673
- getUserInfo(options?: any): AxiosPromise<GetUserInfoResponseDto> {
33674
- return localVarFp.getUserInfo(options).then((request) => request(axios, basePath));
36158
+ getUserInfoV1(options?: any): AxiosPromise<GetUserInfoResponseDto> {
36159
+ return localVarFp.getUserInfoV1(options).then((request) => request(axios, basePath));
33675
36160
  },
33676
36161
  };
33677
36162
  };
@@ -33689,7 +36174,16 @@ export interface UserApiInterface {
33689
36174
  * @throws {RequiredError}
33690
36175
  * @memberof UserApiInterface
33691
36176
  */
33692
- getUserBusiness(options?: AxiosRequestConfig): AxiosPromise<Array<BusinessInfoResponseDto>>;
36177
+ getUserBusinessV1(options?: AxiosRequestConfig): AxiosPromise<Array<BusinessInfoResponseDto>>;
36178
+
36179
+ /**
36180
+ *
36181
+ * @summary Retrieve user Business information with KDS profiles
36182
+ * @param {*} [options] Override http request option.
36183
+ * @throws {RequiredError}
36184
+ * @memberof UserApiInterface
36185
+ */
36186
+ getUserBusinessV2(options?: AxiosRequestConfig): AxiosPromise<Array<BusinessInfoV2ResponseDto>>;
33693
36187
 
33694
36188
  /**
33695
36189
  *
@@ -33698,7 +36192,7 @@ export interface UserApiInterface {
33698
36192
  * @throws {RequiredError}
33699
36193
  * @memberof UserApiInterface
33700
36194
  */
33701
- getUserInfo(options?: AxiosRequestConfig): AxiosPromise<GetUserInfoResponseDto>;
36195
+ getUserInfoV1(options?: AxiosRequestConfig): AxiosPromise<GetUserInfoResponseDto>;
33702
36196
 
33703
36197
  }
33704
36198
 
@@ -33716,8 +36210,19 @@ export class UserApi extends BaseAPI implements UserApiInterface {
33716
36210
  * @throws {RequiredError}
33717
36211
  * @memberof UserApi
33718
36212
  */
33719
- public getUserBusiness(options?: AxiosRequestConfig) {
33720
- return UserApiFp(this.configuration).getUserBusiness(options).then((request) => request(this.axios, this.basePath));
36213
+ public getUserBusinessV1(options?: AxiosRequestConfig) {
36214
+ return UserApiFp(this.configuration).getUserBusinessV1(options).then((request) => request(this.axios, this.basePath));
36215
+ }
36216
+
36217
+ /**
36218
+ *
36219
+ * @summary Retrieve user Business information with KDS profiles
36220
+ * @param {*} [options] Override http request option.
36221
+ * @throws {RequiredError}
36222
+ * @memberof UserApi
36223
+ */
36224
+ public getUserBusinessV2(options?: AxiosRequestConfig) {
36225
+ return UserApiFp(this.configuration).getUserBusinessV2(options).then((request) => request(this.axios, this.basePath));
33721
36226
  }
33722
36227
 
33723
36228
  /**
@@ -33727,8 +36232,8 @@ export class UserApi extends BaseAPI implements UserApiInterface {
33727
36232
  * @throws {RequiredError}
33728
36233
  * @memberof UserApi
33729
36234
  */
33730
- public getUserInfo(options?: AxiosRequestConfig) {
33731
- return UserApiFp(this.configuration).getUserInfo(options).then((request) => request(this.axios, this.basePath));
36235
+ public getUserInfoV1(options?: AxiosRequestConfig) {
36236
+ return UserApiFp(this.configuration).getUserInfoV1(options).then((request) => request(this.axios, this.basePath));
33732
36237
  }
33733
36238
  }
33734
36239