@munchi_oy/core 1.9.26 → 1.9.28

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
@@ -3218,6 +3218,99 @@ export interface CreateActionPasscodeDto {
3218
3218
  */
3219
3219
  'permissionRules': Array<PermissionRuleDto>;
3220
3220
  }
3221
+ /**
3222
+ *
3223
+ * @export
3224
+ * @interface CreateDiningTableDto
3225
+ */
3226
+ export interface CreateDiningTableDto {
3227
+ /**
3228
+ *
3229
+ * @type {number}
3230
+ * @memberof CreateDiningTableDto
3231
+ */
3232
+ 'businessId': number;
3233
+ /**
3234
+ *
3235
+ * @type {string}
3236
+ * @memberof CreateDiningTableDto
3237
+ */
3238
+ 'sectionId': string;
3239
+ /**
3240
+ *
3241
+ * @type {string}
3242
+ * @memberof CreateDiningTableDto
3243
+ */
3244
+ 'label': string;
3245
+ /**
3246
+ *
3247
+ * @type {number}
3248
+ * @memberof CreateDiningTableDto
3249
+ */
3250
+ 'minCapacity'?: number;
3251
+ /**
3252
+ *
3253
+ * @type {number}
3254
+ * @memberof CreateDiningTableDto
3255
+ */
3256
+ 'maxCapacity'?: number;
3257
+ /**
3258
+ *
3259
+ * @type {TableShape}
3260
+ * @memberof CreateDiningTableDto
3261
+ */
3262
+ 'shape'?: TableShape;
3263
+ /**
3264
+ *
3265
+ * @type {number}
3266
+ * @memberof CreateDiningTableDto
3267
+ */
3268
+ 'posX'?: number;
3269
+ /**
3270
+ *
3271
+ * @type {number}
3272
+ * @memberof CreateDiningTableDto
3273
+ */
3274
+ 'posY'?: number;
3275
+ /**
3276
+ *
3277
+ * @type {number}
3278
+ * @memberof CreateDiningTableDto
3279
+ */
3280
+ 'width'?: number;
3281
+ /**
3282
+ *
3283
+ * @type {number}
3284
+ * @memberof CreateDiningTableDto
3285
+ */
3286
+ 'height'?: number;
3287
+ /**
3288
+ *
3289
+ * @type {number}
3290
+ * @memberof CreateDiningTableDto
3291
+ */
3292
+ 'rotation'?: number;
3293
+ /**
3294
+ *
3295
+ * @type {boolean}
3296
+ * @memberof CreateDiningTableDto
3297
+ */
3298
+ 'bookableOnline'?: boolean;
3299
+ /**
3300
+ *
3301
+ * @type {boolean}
3302
+ * @memberof CreateDiningTableDto
3303
+ */
3304
+ 'joinable'?: boolean;
3305
+ /**
3306
+ *
3307
+ * @type {string}
3308
+ * @memberof CreateDiningTableDto
3309
+ */
3310
+ 'externalTableId'?: string;
3311
+ }
3312
+
3313
+
3221
3314
  /**
3222
3315
  *
3223
3316
  * @export
@@ -3237,6 +3330,31 @@ export interface CreateEmployeeAssignmentDto {
3237
3330
  */
3238
3331
  'roleId': string;
3239
3332
  }
3333
+ /**
3334
+ *
3335
+ * @export
3336
+ * @interface CreateFloorSectionDto
3337
+ */
3338
+ export interface CreateFloorSectionDto {
3339
+ /**
3340
+ *
3341
+ * @type {number}
3342
+ * @memberof CreateFloorSectionDto
3343
+ */
3344
+ 'businessId': number;
3345
+ /**
3346
+ *
3347
+ * @type {string}
3348
+ * @memberof CreateFloorSectionDto
3349
+ */
3350
+ 'name': string;
3351
+ /**
3352
+ *
3353
+ * @type {number}
3354
+ * @memberof CreateFloorSectionDto
3355
+ */
3356
+ 'sortOrder'?: number;
3357
+ }
3240
3358
  /**
3241
3359
  *
3242
3360
  * @export
@@ -3885,6 +4003,25 @@ export interface CustomerDto {
3885
4003
  */
3886
4004
  'phone': string | null;
3887
4005
  }
4006
+ /**
4007
+ *
4008
+ * @export
4009
+ * @enum {string}
4010
+ */
4011
+
4012
+ export const DayOfWeek = {
4013
+ Sunday: 'SUNDAY',
4014
+ Monday: 'MONDAY',
4015
+ Tuesday: 'TUESDAY',
4016
+ Wednesday: 'WEDNESDAY',
4017
+ Thursday: 'THURSDAY',
4018
+ Friday: 'FRIDAY',
4019
+ Saturday: 'SATURDAY'
4020
+ } as const;
4021
+
4022
+ export type DayOfWeek = typeof DayOfWeek[keyof typeof DayOfWeek];
4023
+
4024
+
3888
4025
  /**
3889
4026
  *
3890
4027
  * @export
@@ -4124,6 +4261,123 @@ export const DeviceType = {
4124
4261
  export type DeviceType = typeof DeviceType[keyof typeof DeviceType];
4125
4262
 
4126
4263
 
4264
+ /**
4265
+ *
4266
+ * @export
4267
+ * @interface DiningTableResponseDto
4268
+ */
4269
+ export interface DiningTableResponseDto {
4270
+ /**
4271
+ *
4272
+ * @type {string}
4273
+ * @memberof DiningTableResponseDto
4274
+ */
4275
+ 'id': string;
4276
+ /**
4277
+ *
4278
+ * @type {number}
4279
+ * @memberof DiningTableResponseDto
4280
+ */
4281
+ 'orderingBusinessId': number;
4282
+ /**
4283
+ *
4284
+ * @type {string}
4285
+ * @memberof DiningTableResponseDto
4286
+ */
4287
+ 'sectionId': string;
4288
+ /**
4289
+ *
4290
+ * @type {string}
4291
+ * @memberof DiningTableResponseDto
4292
+ */
4293
+ 'label': string;
4294
+ /**
4295
+ *
4296
+ * @type {number}
4297
+ * @memberof DiningTableResponseDto
4298
+ */
4299
+ 'minCapacity': number;
4300
+ /**
4301
+ *
4302
+ * @type {number}
4303
+ * @memberof DiningTableResponseDto
4304
+ */
4305
+ 'maxCapacity': number;
4306
+ /**
4307
+ *
4308
+ * @type {TableShape}
4309
+ * @memberof DiningTableResponseDto
4310
+ */
4311
+ 'shape': TableShape;
4312
+ /**
4313
+ *
4314
+ * @type {number}
4315
+ * @memberof DiningTableResponseDto
4316
+ */
4317
+ 'posX': number;
4318
+ /**
4319
+ *
4320
+ * @type {number}
4321
+ * @memberof DiningTableResponseDto
4322
+ */
4323
+ 'posY': number;
4324
+ /**
4325
+ *
4326
+ * @type {number}
4327
+ * @memberof DiningTableResponseDto
4328
+ */
4329
+ 'width': number;
4330
+ /**
4331
+ *
4332
+ * @type {number}
4333
+ * @memberof DiningTableResponseDto
4334
+ */
4335
+ 'height': number;
4336
+ /**
4337
+ *
4338
+ * @type {number}
4339
+ * @memberof DiningTableResponseDto
4340
+ */
4341
+ 'rotation': number;
4342
+ /**
4343
+ *
4344
+ * @type {TableStatus}
4345
+ * @memberof DiningTableResponseDto
4346
+ */
4347
+ 'status': TableStatus;
4348
+ /**
4349
+ *
4350
+ * @type {boolean}
4351
+ * @memberof DiningTableResponseDto
4352
+ */
4353
+ 'bookableOnline': boolean;
4354
+ /**
4355
+ *
4356
+ * @type {boolean}
4357
+ * @memberof DiningTableResponseDto
4358
+ */
4359
+ 'joinable': boolean;
4360
+ /**
4361
+ *
4362
+ * @type {object}
4363
+ * @memberof DiningTableResponseDto
4364
+ */
4365
+ 'externalTableId'?: object | null;
4366
+ /**
4367
+ *
4368
+ * @type {string}
4369
+ * @memberof DiningTableResponseDto
4370
+ */
4371
+ 'createdAt': string;
4372
+ /**
4373
+ *
4374
+ * @type {string}
4375
+ * @memberof DiningTableResponseDto
4376
+ */
4377
+ 'updatedAt': string;
4378
+ }
4379
+
4380
+
4127
4381
  /**
4128
4382
  *
4129
4383
  * @export
@@ -5376,6 +5630,55 @@ export interface FirebaseTokenDto {
5376
5630
  */
5377
5631
  'customToken': string;
5378
5632
  }
5633
+ /**
5634
+ *
5635
+ * @export
5636
+ * @interface FloorSectionResponseDto
5637
+ */
5638
+ export interface FloorSectionResponseDto {
5639
+ /**
5640
+ *
5641
+ * @type {string}
5642
+ * @memberof FloorSectionResponseDto
5643
+ */
5644
+ 'id': string;
5645
+ /**
5646
+ *
5647
+ * @type {number}
5648
+ * @memberof FloorSectionResponseDto
5649
+ */
5650
+ 'orderingBusinessId': number;
5651
+ /**
5652
+ *
5653
+ * @type {string}
5654
+ * @memberof FloorSectionResponseDto
5655
+ */
5656
+ 'name': string;
5657
+ /**
5658
+ *
5659
+ * @type {number}
5660
+ * @memberof FloorSectionResponseDto
5661
+ */
5662
+ 'sortOrder': number;
5663
+ /**
5664
+ *
5665
+ * @type {Array<DiningTableResponseDto>}
5666
+ * @memberof FloorSectionResponseDto
5667
+ */
5668
+ 'tables': Array<DiningTableResponseDto>;
5669
+ /**
5670
+ *
5671
+ * @type {string}
5672
+ * @memberof FloorSectionResponseDto
5673
+ */
5674
+ 'createdAt': string;
5675
+ /**
5676
+ *
5677
+ * @type {string}
5678
+ * @memberof FloorSectionResponseDto
5679
+ */
5680
+ 'updatedAt': string;
5681
+ }
5379
5682
  /**
5380
5683
  *
5381
5684
  * @export
@@ -7351,6 +7654,37 @@ export interface LapseDtoOpen {
7351
7654
  */
7352
7655
  'minute': number;
7353
7656
  }
7657
+ /**
7658
+ *
7659
+ * @export
7660
+ * @interface LapseResponseDto
7661
+ */
7662
+ export interface LapseResponseDto {
7663
+ /**
7664
+ *
7665
+ * @type {string}
7666
+ * @memberof LapseResponseDto
7667
+ */
7668
+ 'id': string;
7669
+ /**
7670
+ *
7671
+ * @type {string}
7672
+ * @memberof LapseResponseDto
7673
+ */
7674
+ 'opening_time': string;
7675
+ /**
7676
+ *
7677
+ * @type {string}
7678
+ * @memberof LapseResponseDto
7679
+ */
7680
+ 'closing_time': string;
7681
+ /**
7682
+ *
7683
+ * @type {number}
7684
+ * @memberof LapseResponseDto
7685
+ */
7686
+ 'closing_day_offset': number;
7687
+ }
7354
7688
  /**
7355
7689
  *
7356
7690
  * @export
@@ -11146,7 +11480,8 @@ export const PaymentMethod = {
11146
11480
  GillAndGill: 'GillAndGill',
11147
11481
  Kiinteisto: 'Kiinteisto',
11148
11482
  Jpn: 'JPN',
11149
- NineLives: 'NineLives'
11483
+ NineLives: 'NineLives',
11484
+ Trade: 'Trade'
11150
11485
  } as const;
11151
11486
 
11152
11487
  export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
@@ -16320,28 +16655,86 @@ export interface SalesSummaryDtoV2 {
16320
16655
  /**
16321
16656
  *
16322
16657
  * @export
16323
- * @interface ScheduleDto
16658
+ * @interface ScheduleDayResponseDto
16324
16659
  */
16325
- export interface ScheduleDto {
16660
+ export interface ScheduleDayResponseDto {
16326
16661
  /**
16327
- * Array of time lapses for a specific day of the week
16328
- * @type {Array<LapseDto>}
16329
- * @memberof ScheduleDto
16662
+ *
16663
+ * @type {string}
16664
+ * @memberof ScheduleDayResponseDto
16330
16665
  */
16331
- 'lapses': Array<LapseDto>;
16666
+ 'id': string;
16332
16667
  /**
16333
- * Indicates if this schedule entry is active
16668
+ *
16669
+ * @type {DayOfWeek}
16670
+ * @memberof ScheduleDayResponseDto
16671
+ */
16672
+ 'day': DayOfWeek;
16673
+ /**
16674
+ *
16334
16675
  * @type {boolean}
16335
- * @memberof ScheduleDto
16676
+ * @memberof ScheduleDayResponseDto
16336
16677
  */
16337
16678
  'enabled': boolean;
16338
- }
16339
- /**
16340
- *
16341
- * @export
16342
- * @interface SearchUserInfoResponseDto
16343
- */
16344
- export interface SearchUserInfoResponseDto {
16679
+ /**
16680
+ *
16681
+ * @type {ScheduleType}
16682
+ * @memberof ScheduleDayResponseDto
16683
+ */
16684
+ 'type': ScheduleType;
16685
+ /**
16686
+ * Business cuid
16687
+ * @type {string}
16688
+ * @memberof ScheduleDayResponseDto
16689
+ */
16690
+ 'businessId': string;
16691
+ /**
16692
+ *
16693
+ * @type {Array<LapseResponseDto>}
16694
+ * @memberof ScheduleDayResponseDto
16695
+ */
16696
+ 'lapses': Array<LapseResponseDto>;
16697
+ }
16698
+
16699
+
16700
+ /**
16701
+ *
16702
+ * @export
16703
+ * @interface ScheduleDto
16704
+ */
16705
+ export interface ScheduleDto {
16706
+ /**
16707
+ * Array of time lapses for a specific day of the week
16708
+ * @type {Array<LapseDto>}
16709
+ * @memberof ScheduleDto
16710
+ */
16711
+ 'lapses': Array<LapseDto>;
16712
+ /**
16713
+ * Indicates if this schedule entry is active
16714
+ * @type {boolean}
16715
+ * @memberof ScheduleDto
16716
+ */
16717
+ 'enabled': boolean;
16718
+ }
16719
+ /**
16720
+ *
16721
+ * @export
16722
+ * @enum {string}
16723
+ */
16724
+
16725
+ export const ScheduleType = {
16726
+ Physical: 'PHYSICAL'
16727
+ } as const;
16728
+
16729
+ export type ScheduleType = typeof ScheduleType[keyof typeof ScheduleType];
16730
+
16731
+
16732
+ /**
16733
+ *
16734
+ * @export
16735
+ * @interface SearchUserInfoResponseDto
16736
+ */
16737
+ export interface SearchUserInfoResponseDto {
16345
16738
  /**
16346
16739
  *
16347
16740
  * @type {{ [key: string]: LoyaltyInfoResponseDtoLinksValue; }}
@@ -17148,6 +17541,38 @@ export const SystemProfileType = {
17148
17541
  export type SystemProfileType = typeof SystemProfileType[keyof typeof SystemProfileType];
17149
17542
 
17150
17543
 
17544
+ /**
17545
+ *
17546
+ * @export
17547
+ * @enum {string}
17548
+ */
17549
+
17550
+ export const TableShape = {
17551
+ Round: 'ROUND',
17552
+ Square: 'SQUARE',
17553
+ Rectangle: 'RECTANGLE',
17554
+ Booth: 'BOOTH'
17555
+ } as const;
17556
+
17557
+ export type TableShape = typeof TableShape[keyof typeof TableShape];
17558
+
17559
+
17560
+ /**
17561
+ *
17562
+ * @export
17563
+ * @enum {string}
17564
+ */
17565
+
17566
+ export const TableStatus = {
17567
+ Available: 'AVAILABLE',
17568
+ Dirty: 'DIRTY',
17569
+ Blocked: 'BLOCKED',
17570
+ OutOfService: 'OUT_OF_SERVICE'
17571
+ } as const;
17572
+
17573
+ export type TableStatus = typeof TableStatus[keyof typeof TableStatus];
17574
+
17575
+
17151
17576
  /**
17152
17577
  *
17153
17578
  * @export
@@ -19047,6 +19472,112 @@ export interface UpdateChannelInventoryDto {
19047
19472
  */
19048
19473
  'channels': Array<ChannelInventoryUpdateDto>;
19049
19474
  }
19475
+ /**
19476
+ *
19477
+ * @export
19478
+ * @interface UpdateDiningTableDto
19479
+ */
19480
+ export interface UpdateDiningTableDto {
19481
+ /**
19482
+ *
19483
+ * @type {string}
19484
+ * @memberof UpdateDiningTableDto
19485
+ */
19486
+ 'sectionId'?: string;
19487
+ /**
19488
+ *
19489
+ * @type {string}
19490
+ * @memberof UpdateDiningTableDto
19491
+ */
19492
+ 'label'?: string;
19493
+ /**
19494
+ *
19495
+ * @type {number}
19496
+ * @memberof UpdateDiningTableDto
19497
+ */
19498
+ 'minCapacity'?: number;
19499
+ /**
19500
+ *
19501
+ * @type {number}
19502
+ * @memberof UpdateDiningTableDto
19503
+ */
19504
+ 'maxCapacity'?: number;
19505
+ /**
19506
+ *
19507
+ * @type {TableShape}
19508
+ * @memberof UpdateDiningTableDto
19509
+ */
19510
+ 'shape'?: TableShape;
19511
+ /**
19512
+ *
19513
+ * @type {number}
19514
+ * @memberof UpdateDiningTableDto
19515
+ */
19516
+ 'posX'?: number;
19517
+ /**
19518
+ *
19519
+ * @type {number}
19520
+ * @memberof UpdateDiningTableDto
19521
+ */
19522
+ 'posY'?: number;
19523
+ /**
19524
+ *
19525
+ * @type {number}
19526
+ * @memberof UpdateDiningTableDto
19527
+ */
19528
+ 'width'?: number;
19529
+ /**
19530
+ *
19531
+ * @type {number}
19532
+ * @memberof UpdateDiningTableDto
19533
+ */
19534
+ 'height'?: number;
19535
+ /**
19536
+ *
19537
+ * @type {number}
19538
+ * @memberof UpdateDiningTableDto
19539
+ */
19540
+ 'rotation'?: number;
19541
+ /**
19542
+ *
19543
+ * @type {boolean}
19544
+ * @memberof UpdateDiningTableDto
19545
+ */
19546
+ 'bookableOnline'?: boolean;
19547
+ /**
19548
+ *
19549
+ * @type {boolean}
19550
+ * @memberof UpdateDiningTableDto
19551
+ */
19552
+ 'joinable'?: boolean;
19553
+ /**
19554
+ *
19555
+ * @type {string}
19556
+ * @memberof UpdateDiningTableDto
19557
+ */
19558
+ 'externalTableId'?: string;
19559
+ }
19560
+
19561
+
19562
+ /**
19563
+ *
19564
+ * @export
19565
+ * @interface UpdateFloorSectionDto
19566
+ */
19567
+ export interface UpdateFloorSectionDto {
19568
+ /**
19569
+ *
19570
+ * @type {string}
19571
+ * @memberof UpdateFloorSectionDto
19572
+ */
19573
+ 'name'?: string;
19574
+ /**
19575
+ *
19576
+ * @type {number}
19577
+ * @memberof UpdateFloorSectionDto
19578
+ */
19579
+ 'sortOrder'?: number;
19580
+ }
19050
19581
  /**
19051
19582
  *
19052
19583
  * @export
@@ -19156,6 +19687,58 @@ export interface UpdateStatusResponseDto {
19156
19687
  }
19157
19688
 
19158
19689
 
19690
+ /**
19691
+ *
19692
+ * @export
19693
+ * @interface UpdateTablePositionDto
19694
+ */
19695
+ export interface UpdateTablePositionDto {
19696
+ /**
19697
+ *
19698
+ * @type {number}
19699
+ * @memberof UpdateTablePositionDto
19700
+ */
19701
+ 'posX': number;
19702
+ /**
19703
+ *
19704
+ * @type {number}
19705
+ * @memberof UpdateTablePositionDto
19706
+ */
19707
+ 'posY': number;
19708
+ /**
19709
+ *
19710
+ * @type {number}
19711
+ * @memberof UpdateTablePositionDto
19712
+ */
19713
+ 'rotation'?: number;
19714
+ /**
19715
+ *
19716
+ * @type {number}
19717
+ * @memberof UpdateTablePositionDto
19718
+ */
19719
+ 'width'?: number;
19720
+ /**
19721
+ *
19722
+ * @type {number}
19723
+ * @memberof UpdateTablePositionDto
19724
+ */
19725
+ 'height'?: number;
19726
+ }
19727
+ /**
19728
+ *
19729
+ * @export
19730
+ * @interface UpdateTableStatusDto
19731
+ */
19732
+ export interface UpdateTableStatusDto {
19733
+ /**
19734
+ *
19735
+ * @type {TableStatus}
19736
+ * @memberof UpdateTableStatusDto
19737
+ */
19738
+ 'status': TableStatus;
19739
+ }
19740
+
19741
+
19159
19742
  /**
19160
19743
  *
19161
19744
  * @export
@@ -19246,6 +19829,38 @@ export interface UpsertBusinessDto {
19246
19829
  }
19247
19830
 
19248
19831
 
19832
+ /**
19833
+ *
19834
+ * @export
19835
+ * @interface UpsertBusinessScheduleDto
19836
+ */
19837
+ export interface UpsertBusinessScheduleDto {
19838
+ /**
19839
+ * Days to upsert. Each provided day is replaced; other days are left untouched.
19840
+ * @type {Array<UpsertScheduleDayDto>}
19841
+ * @memberof UpsertBusinessScheduleDto
19842
+ */
19843
+ 'schedule': Array<UpsertScheduleDayDto>;
19844
+ }
19845
+ /**
19846
+ *
19847
+ * @export
19848
+ * @interface UpsertBusinessScheduleResponseDto
19849
+ */
19850
+ export interface UpsertBusinessScheduleResponseDto {
19851
+ /**
19852
+ * Ordering business ID
19853
+ * @type {number}
19854
+ * @memberof UpsertBusinessScheduleResponseDto
19855
+ */
19856
+ 'orderingBusinessId': number;
19857
+ /**
19858
+ *
19859
+ * @type {Array<ScheduleDayResponseDto>}
19860
+ * @memberof UpsertBusinessScheduleResponseDto
19861
+ */
19862
+ 'schedule': Array<ScheduleDayResponseDto>;
19863
+ }
19249
19864
  /**
19250
19865
  *
19251
19866
  * @export
@@ -19392,6 +20007,31 @@ export interface UpsertGiftCardDto {
19392
20007
  */
19393
20008
  'credentials'?: GiftCardCredentialsDto;
19394
20009
  }
20010
+ /**
20011
+ *
20012
+ * @export
20013
+ * @interface UpsertLapseDto
20014
+ */
20015
+ export interface UpsertLapseDto {
20016
+ /**
20017
+ * Opening time (HH:mm)
20018
+ * @type {string}
20019
+ * @memberof UpsertLapseDto
20020
+ */
20021
+ 'opening_time': string;
20022
+ /**
20023
+ * Closing time (HH:mm)
20024
+ * @type {string}
20025
+ * @memberof UpsertLapseDto
20026
+ */
20027
+ 'closing_time': string;
20028
+ /**
20029
+ * Number of days the closing time spills over into (e.g. 1 = closes next day)
20030
+ * @type {number}
20031
+ * @memberof UpsertLapseDto
20032
+ */
20033
+ 'closing_day_offset'?: number;
20034
+ }
19395
20035
  /**
19396
20036
  *
19397
20037
  * @export
@@ -19584,7 +20224,8 @@ export const NameEnum = {
19584
20224
  GillAndGill: 'GillAndGill',
19585
20225
  Kiinteisto: 'Kiinteisto',
19586
20226
  Jpn: 'JPN',
19587
- NineLives: 'NineLives'
20227
+ NineLives: 'NineLives',
20228
+ Trade: 'Trade'
19588
20229
  } as const;
19589
20230
 
19590
20231
  export type NameEnum = typeof NameEnum[keyof typeof NameEnum];
@@ -19666,6 +20307,39 @@ export interface UpsertProductPrintPolicyDto {
19666
20307
  */
19667
20308
  'printerId': number;
19668
20309
  }
20310
+ /**
20311
+ *
20312
+ * @export
20313
+ * @interface UpsertScheduleDayDto
20314
+ */
20315
+ export interface UpsertScheduleDayDto {
20316
+ /**
20317
+ *
20318
+ * @type {DayOfWeek}
20319
+ * @memberof UpsertScheduleDayDto
20320
+ */
20321
+ 'day': DayOfWeek;
20322
+ /**
20323
+ * Whether the business is open on this day
20324
+ * @type {boolean}
20325
+ * @memberof UpsertScheduleDayDto
20326
+ */
20327
+ 'enabled': boolean;
20328
+ /**
20329
+ *
20330
+ * @type {ScheduleType}
20331
+ * @memberof UpsertScheduleDayDto
20332
+ */
20333
+ 'type'?: ScheduleType;
20334
+ /**
20335
+ * Opening time ranges for this day
20336
+ * @type {Array<UpsertLapseDto>}
20337
+ * @memberof UpsertScheduleDayDto
20338
+ */
20339
+ 'lapses': Array<UpsertLapseDto>;
20340
+ }
20341
+
20342
+
19669
20343
  /**
19670
20344
  *
19671
20345
  * @export
@@ -25990,24 +26664,24 @@ export class BusinessProviderPolicyApi extends BaseAPI implements BusinessProvid
25990
26664
 
25991
26665
 
25992
26666
  /**
25993
- * CashManagementApi - axios parameter creator
26667
+ * BusinessScheduleApi - axios parameter creator
25994
26668
  * @export
25995
26669
  */
25996
- export const CashManagementApiAxiosParamCreator = function (configuration?: Configuration) {
26670
+ export const BusinessScheduleApiAxiosParamCreator = function (configuration?: Configuration) {
25997
26671
  return {
25998
26672
  /**
25999
26673
  *
26000
- * @param {string} businessId
26001
- * @param {CashSessionDto} cashSessionDto
26674
+ * @param {number} businessId
26675
+ * @param {UpsertBusinessScheduleDto} upsertBusinessScheduleDto
26002
26676
  * @param {*} [options] Override http request option.
26003
26677
  * @throws {RequiredError}
26004
26678
  */
26005
- create: async (businessId: string, cashSessionDto: CashSessionDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26679
+ upsertSchedule: async (businessId: number, upsertBusinessScheduleDto: UpsertBusinessScheduleDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26006
26680
  // verify required parameter 'businessId' is not null or undefined
26007
- assertParamExists('create', 'businessId', businessId)
26008
- // verify required parameter 'cashSessionDto' is not null or undefined
26009
- assertParamExists('create', 'cashSessionDto', cashSessionDto)
26010
- const localVarPath = `/api/v1/cash-management/{businessId}/create`
26681
+ assertParamExists('upsertSchedule', 'businessId', businessId)
26682
+ // verify required parameter 'upsertBusinessScheduleDto' is not null or undefined
26683
+ assertParamExists('upsertSchedule', 'upsertBusinessScheduleDto', upsertBusinessScheduleDto)
26684
+ const localVarPath = `/api/v1/businesses/{businessId}/schedule`
26011
26685
  .replace(`{${"businessId"}}`, encodeURIComponent(String(businessId)));
26012
26686
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
26013
26687
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -26016,7 +26690,7 @@ export const CashManagementApiAxiosParamCreator = function (configuration?: Conf
26016
26690
  baseOptions = configuration.baseOptions;
26017
26691
  }
26018
26692
 
26019
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
26693
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
26020
26694
  const localVarHeaderParameter = {} as any;
26021
26695
  const localVarQueryParameter = {} as any;
26022
26696
 
@@ -26027,21 +26701,149 @@ export const CashManagementApiAxiosParamCreator = function (configuration?: Conf
26027
26701
  setSearchParams(localVarUrlObj, localVarQueryParameter);
26028
26702
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26029
26703
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26030
- localVarRequestOptions.data = serializeDataIfNeeded(cashSessionDto, localVarRequestOptions, configuration)
26704
+ localVarRequestOptions.data = serializeDataIfNeeded(upsertBusinessScheduleDto, localVarRequestOptions, configuration)
26031
26705
 
26032
26706
  return {
26033
26707
  url: toPathString(localVarUrlObj),
26034
26708
  options: localVarRequestOptions,
26035
26709
  };
26036
26710
  },
26711
+ }
26712
+ };
26713
+
26714
+ /**
26715
+ * BusinessScheduleApi - functional programming interface
26716
+ * @export
26717
+ */
26718
+ export const BusinessScheduleApiFp = function(configuration?: Configuration) {
26719
+ const localVarAxiosParamCreator = BusinessScheduleApiAxiosParamCreator(configuration)
26720
+ return {
26037
26721
  /**
26038
26722
  *
26039
- * @summary
26040
- * @param {string} businessId
26041
- * @param {string} timezone
26042
- * @param {TimeSpan} [timeSpan] Time span
26043
- * @param {string} [start] Start date
26044
- * @param {string} [end] End date
26723
+ * @param {number} businessId
26724
+ * @param {UpsertBusinessScheduleDto} upsertBusinessScheduleDto
26725
+ * @param {*} [options] Override http request option.
26726
+ * @throws {RequiredError}
26727
+ */
26728
+ async upsertSchedule(businessId: number, upsertBusinessScheduleDto: UpsertBusinessScheduleDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpsertBusinessScheduleResponseDto>> {
26729
+ const localVarAxiosArgs = await localVarAxiosParamCreator.upsertSchedule(businessId, upsertBusinessScheduleDto, options);
26730
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
26731
+ },
26732
+ }
26733
+ };
26734
+
26735
+ /**
26736
+ * BusinessScheduleApi - factory interface
26737
+ * @export
26738
+ */
26739
+ export const BusinessScheduleApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
26740
+ const localVarFp = BusinessScheduleApiFp(configuration)
26741
+ return {
26742
+ /**
26743
+ *
26744
+ * @param {number} businessId
26745
+ * @param {UpsertBusinessScheduleDto} upsertBusinessScheduleDto
26746
+ * @param {*} [options] Override http request option.
26747
+ * @throws {RequiredError}
26748
+ */
26749
+ upsertSchedule(businessId: number, upsertBusinessScheduleDto: UpsertBusinessScheduleDto, options?: any): AxiosPromise<UpsertBusinessScheduleResponseDto> {
26750
+ return localVarFp.upsertSchedule(businessId, upsertBusinessScheduleDto, options).then((request) => request(axios, basePath));
26751
+ },
26752
+ };
26753
+ };
26754
+
26755
+ /**
26756
+ * BusinessScheduleApi - interface
26757
+ * @export
26758
+ * @interface BusinessScheduleApi
26759
+ */
26760
+ export interface BusinessScheduleApiInterface {
26761
+ /**
26762
+ *
26763
+ * @param {number} businessId
26764
+ * @param {UpsertBusinessScheduleDto} upsertBusinessScheduleDto
26765
+ * @param {*} [options] Override http request option.
26766
+ * @throws {RequiredError}
26767
+ * @memberof BusinessScheduleApiInterface
26768
+ */
26769
+ upsertSchedule(businessId: number, upsertBusinessScheduleDto: UpsertBusinessScheduleDto, options?: AxiosRequestConfig): AxiosPromise<UpsertBusinessScheduleResponseDto>;
26770
+
26771
+ }
26772
+
26773
+ /**
26774
+ * BusinessScheduleApi - object-oriented interface
26775
+ * @export
26776
+ * @class BusinessScheduleApi
26777
+ * @extends {BaseAPI}
26778
+ */
26779
+ export class BusinessScheduleApi extends BaseAPI implements BusinessScheduleApiInterface {
26780
+ /**
26781
+ *
26782
+ * @param {number} businessId
26783
+ * @param {UpsertBusinessScheduleDto} upsertBusinessScheduleDto
26784
+ * @param {*} [options] Override http request option.
26785
+ * @throws {RequiredError}
26786
+ * @memberof BusinessScheduleApi
26787
+ */
26788
+ public upsertSchedule(businessId: number, upsertBusinessScheduleDto: UpsertBusinessScheduleDto, options?: AxiosRequestConfig) {
26789
+ return BusinessScheduleApiFp(this.configuration).upsertSchedule(businessId, upsertBusinessScheduleDto, options).then((request) => request(this.axios, this.basePath));
26790
+ }
26791
+ }
26792
+
26793
+
26794
+ /**
26795
+ * CashManagementApi - axios parameter creator
26796
+ * @export
26797
+ */
26798
+ export const CashManagementApiAxiosParamCreator = function (configuration?: Configuration) {
26799
+ return {
26800
+ /**
26801
+ *
26802
+ * @param {string} businessId
26803
+ * @param {CashSessionDto} cashSessionDto
26804
+ * @param {*} [options] Override http request option.
26805
+ * @throws {RequiredError}
26806
+ */
26807
+ create: async (businessId: string, cashSessionDto: CashSessionDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26808
+ // verify required parameter 'businessId' is not null or undefined
26809
+ assertParamExists('create', 'businessId', businessId)
26810
+ // verify required parameter 'cashSessionDto' is not null or undefined
26811
+ assertParamExists('create', 'cashSessionDto', cashSessionDto)
26812
+ const localVarPath = `/api/v1/cash-management/{businessId}/create`
26813
+ .replace(`{${"businessId"}}`, encodeURIComponent(String(businessId)));
26814
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26815
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26816
+ let baseOptions;
26817
+ if (configuration) {
26818
+ baseOptions = configuration.baseOptions;
26819
+ }
26820
+
26821
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
26822
+ const localVarHeaderParameter = {} as any;
26823
+ const localVarQueryParameter = {} as any;
26824
+
26825
+
26826
+
26827
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26828
+
26829
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26830
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26831
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26832
+ localVarRequestOptions.data = serializeDataIfNeeded(cashSessionDto, localVarRequestOptions, configuration)
26833
+
26834
+ return {
26835
+ url: toPathString(localVarUrlObj),
26836
+ options: localVarRequestOptions,
26837
+ };
26838
+ },
26839
+ /**
26840
+ *
26841
+ * @summary
26842
+ * @param {string} businessId
26843
+ * @param {string} timezone
26844
+ * @param {TimeSpan} [timeSpan] Time span
26845
+ * @param {string} [start] Start date
26846
+ * @param {string} [end] End date
26045
26847
  * @param {number} [page] Page number
26046
26848
  * @param {number} [rowPerPage] Rows per page
26047
26849
  * @param {*} [options] Override http request option.
@@ -27962,6 +28764,894 @@ export class EmployeesApi extends BaseAPI implements EmployeesApiInterface {
27962
28764
  }
27963
28765
 
27964
28766
 
28767
+ /**
28768
+ * FloorPlanApi - axios parameter creator
28769
+ * @export
28770
+ */
28771
+ export const FloorPlanApiAxiosParamCreator = function (configuration?: Configuration) {
28772
+ return {
28773
+ /**
28774
+ *
28775
+ * @summary Create a dining table
28776
+ * @param {CreateDiningTableDto} createDiningTableDto
28777
+ * @param {*} [options] Override http request option.
28778
+ * @throws {RequiredError}
28779
+ */
28780
+ createDiningTable: async (createDiningTableDto: CreateDiningTableDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28781
+ // verify required parameter 'createDiningTableDto' is not null or undefined
28782
+ assertParamExists('createDiningTable', 'createDiningTableDto', createDiningTableDto)
28783
+ const localVarPath = `/api/v1/floor-plan/tables`;
28784
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28785
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28786
+ let baseOptions;
28787
+ if (configuration) {
28788
+ baseOptions = configuration.baseOptions;
28789
+ }
28790
+
28791
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
28792
+ const localVarHeaderParameter = {} as any;
28793
+ const localVarQueryParameter = {} as any;
28794
+
28795
+ // authentication JWT-auth required
28796
+ // http bearer authentication required
28797
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28798
+
28799
+
28800
+
28801
+ localVarHeaderParameter['Content-Type'] = 'application/json';
28802
+
28803
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28804
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28805
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28806
+ localVarRequestOptions.data = serializeDataIfNeeded(createDiningTableDto, localVarRequestOptions, configuration)
28807
+
28808
+ return {
28809
+ url: toPathString(localVarUrlObj),
28810
+ options: localVarRequestOptions,
28811
+ };
28812
+ },
28813
+ /**
28814
+ *
28815
+ * @summary Create a floor section
28816
+ * @param {CreateFloorSectionDto} createFloorSectionDto
28817
+ * @param {*} [options] Override http request option.
28818
+ * @throws {RequiredError}
28819
+ */
28820
+ createFloorSection: async (createFloorSectionDto: CreateFloorSectionDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28821
+ // verify required parameter 'createFloorSectionDto' is not null or undefined
28822
+ assertParamExists('createFloorSection', 'createFloorSectionDto', createFloorSectionDto)
28823
+ const localVarPath = `/api/v1/floor-plan/sections`;
28824
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28825
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28826
+ let baseOptions;
28827
+ if (configuration) {
28828
+ baseOptions = configuration.baseOptions;
28829
+ }
28830
+
28831
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
28832
+ const localVarHeaderParameter = {} as any;
28833
+ const localVarQueryParameter = {} as any;
28834
+
28835
+ // authentication JWT-auth required
28836
+ // http bearer authentication required
28837
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28838
+
28839
+
28840
+
28841
+ localVarHeaderParameter['Content-Type'] = 'application/json';
28842
+
28843
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28844
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28845
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28846
+ localVarRequestOptions.data = serializeDataIfNeeded(createFloorSectionDto, localVarRequestOptions, configuration)
28847
+
28848
+ return {
28849
+ url: toPathString(localVarUrlObj),
28850
+ options: localVarRequestOptions,
28851
+ };
28852
+ },
28853
+ /**
28854
+ *
28855
+ * @summary Delete a dining table
28856
+ * @param {string} id
28857
+ * @param {number} businessId
28858
+ * @param {*} [options] Override http request option.
28859
+ * @throws {RequiredError}
28860
+ */
28861
+ deleteDiningTable: async (id: string, businessId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28862
+ // verify required parameter 'id' is not null or undefined
28863
+ assertParamExists('deleteDiningTable', 'id', id)
28864
+ // verify required parameter 'businessId' is not null or undefined
28865
+ assertParamExists('deleteDiningTable', 'businessId', businessId)
28866
+ const localVarPath = `/api/v1/floor-plan/tables/{id}`
28867
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
28868
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28869
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28870
+ let baseOptions;
28871
+ if (configuration) {
28872
+ baseOptions = configuration.baseOptions;
28873
+ }
28874
+
28875
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
28876
+ const localVarHeaderParameter = {} as any;
28877
+ const localVarQueryParameter = {} as any;
28878
+
28879
+ // authentication JWT-auth required
28880
+ // http bearer authentication required
28881
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28882
+
28883
+ if (businessId !== undefined) {
28884
+ localVarQueryParameter['businessId'] = businessId;
28885
+ }
28886
+
28887
+
28888
+
28889
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28890
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28891
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28892
+
28893
+ return {
28894
+ url: toPathString(localVarUrlObj),
28895
+ options: localVarRequestOptions,
28896
+ };
28897
+ },
28898
+ /**
28899
+ *
28900
+ * @summary Delete a floor section
28901
+ * @param {string} id
28902
+ * @param {number} businessId
28903
+ * @param {*} [options] Override http request option.
28904
+ * @throws {RequiredError}
28905
+ */
28906
+ deleteFloorSection: async (id: string, businessId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28907
+ // verify required parameter 'id' is not null or undefined
28908
+ assertParamExists('deleteFloorSection', 'id', id)
28909
+ // verify required parameter 'businessId' is not null or undefined
28910
+ assertParamExists('deleteFloorSection', 'businessId', businessId)
28911
+ const localVarPath = `/api/v1/floor-plan/sections/{id}`
28912
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
28913
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28914
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28915
+ let baseOptions;
28916
+ if (configuration) {
28917
+ baseOptions = configuration.baseOptions;
28918
+ }
28919
+
28920
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
28921
+ const localVarHeaderParameter = {} as any;
28922
+ const localVarQueryParameter = {} as any;
28923
+
28924
+ // authentication JWT-auth required
28925
+ // http bearer authentication required
28926
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28927
+
28928
+ if (businessId !== undefined) {
28929
+ localVarQueryParameter['businessId'] = businessId;
28930
+ }
28931
+
28932
+
28933
+
28934
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28935
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28936
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28937
+
28938
+ return {
28939
+ url: toPathString(localVarUrlObj),
28940
+ options: localVarRequestOptions,
28941
+ };
28942
+ },
28943
+ /**
28944
+ *
28945
+ * @summary Get the full floor plan for a business
28946
+ * @param {number} businessId
28947
+ * @param {*} [options] Override http request option.
28948
+ * @throws {RequiredError}
28949
+ */
28950
+ getFloorPlan: async (businessId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28951
+ // verify required parameter 'businessId' is not null or undefined
28952
+ assertParamExists('getFloorPlan', 'businessId', businessId)
28953
+ const localVarPath = `/api/v1/floor-plan`;
28954
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28955
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28956
+ let baseOptions;
28957
+ if (configuration) {
28958
+ baseOptions = configuration.baseOptions;
28959
+ }
28960
+
28961
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
28962
+ const localVarHeaderParameter = {} as any;
28963
+ const localVarQueryParameter = {} as any;
28964
+
28965
+ // authentication JWT-auth required
28966
+ // http bearer authentication required
28967
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28968
+
28969
+ if (businessId !== undefined) {
28970
+ localVarQueryParameter['businessId'] = businessId;
28971
+ }
28972
+
28973
+
28974
+
28975
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28976
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28977
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28978
+
28979
+ return {
28980
+ url: toPathString(localVarUrlObj),
28981
+ options: localVarRequestOptions,
28982
+ };
28983
+ },
28984
+ /**
28985
+ *
28986
+ * @summary Update a dining table
28987
+ * @param {string} id
28988
+ * @param {number} businessId
28989
+ * @param {UpdateDiningTableDto} updateDiningTableDto
28990
+ * @param {*} [options] Override http request option.
28991
+ * @throws {RequiredError}
28992
+ */
28993
+ updateDiningTable: async (id: string, businessId: number, updateDiningTableDto: UpdateDiningTableDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28994
+ // verify required parameter 'id' is not null or undefined
28995
+ assertParamExists('updateDiningTable', 'id', id)
28996
+ // verify required parameter 'businessId' is not null or undefined
28997
+ assertParamExists('updateDiningTable', 'businessId', businessId)
28998
+ // verify required parameter 'updateDiningTableDto' is not null or undefined
28999
+ assertParamExists('updateDiningTable', 'updateDiningTableDto', updateDiningTableDto)
29000
+ const localVarPath = `/api/v1/floor-plan/tables/{id}`
29001
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
29002
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29003
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29004
+ let baseOptions;
29005
+ if (configuration) {
29006
+ baseOptions = configuration.baseOptions;
29007
+ }
29008
+
29009
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
29010
+ const localVarHeaderParameter = {} as any;
29011
+ const localVarQueryParameter = {} as any;
29012
+
29013
+ // authentication JWT-auth required
29014
+ // http bearer authentication required
29015
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
29016
+
29017
+ if (businessId !== undefined) {
29018
+ localVarQueryParameter['businessId'] = businessId;
29019
+ }
29020
+
29021
+
29022
+
29023
+ localVarHeaderParameter['Content-Type'] = 'application/json';
29024
+
29025
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29026
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29027
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29028
+ localVarRequestOptions.data = serializeDataIfNeeded(updateDiningTableDto, localVarRequestOptions, configuration)
29029
+
29030
+ return {
29031
+ url: toPathString(localVarUrlObj),
29032
+ options: localVarRequestOptions,
29033
+ };
29034
+ },
29035
+ /**
29036
+ *
29037
+ * @summary Update a floor section
29038
+ * @param {string} id
29039
+ * @param {number} businessId
29040
+ * @param {UpdateFloorSectionDto} updateFloorSectionDto
29041
+ * @param {*} [options] Override http request option.
29042
+ * @throws {RequiredError}
29043
+ */
29044
+ updateFloorSection: async (id: string, businessId: number, updateFloorSectionDto: UpdateFloorSectionDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29045
+ // verify required parameter 'id' is not null or undefined
29046
+ assertParamExists('updateFloorSection', 'id', id)
29047
+ // verify required parameter 'businessId' is not null or undefined
29048
+ assertParamExists('updateFloorSection', 'businessId', businessId)
29049
+ // verify required parameter 'updateFloorSectionDto' is not null or undefined
29050
+ assertParamExists('updateFloorSection', 'updateFloorSectionDto', updateFloorSectionDto)
29051
+ const localVarPath = `/api/v1/floor-plan/sections/{id}`
29052
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
29053
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29054
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29055
+ let baseOptions;
29056
+ if (configuration) {
29057
+ baseOptions = configuration.baseOptions;
29058
+ }
29059
+
29060
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
29061
+ const localVarHeaderParameter = {} as any;
29062
+ const localVarQueryParameter = {} as any;
29063
+
29064
+ // authentication JWT-auth required
29065
+ // http bearer authentication required
29066
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
29067
+
29068
+ if (businessId !== undefined) {
29069
+ localVarQueryParameter['businessId'] = businessId;
29070
+ }
29071
+
29072
+
29073
+
29074
+ localVarHeaderParameter['Content-Type'] = 'application/json';
29075
+
29076
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29077
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29078
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29079
+ localVarRequestOptions.data = serializeDataIfNeeded(updateFloorSectionDto, localVarRequestOptions, configuration)
29080
+
29081
+ return {
29082
+ url: toPathString(localVarUrlObj),
29083
+ options: localVarRequestOptions,
29084
+ };
29085
+ },
29086
+ /**
29087
+ *
29088
+ * @summary Update a dining table position
29089
+ * @param {string} id
29090
+ * @param {number} businessId
29091
+ * @param {UpdateTablePositionDto} updateTablePositionDto
29092
+ * @param {*} [options] Override http request option.
29093
+ * @throws {RequiredError}
29094
+ */
29095
+ updateTablePosition: async (id: string, businessId: number, updateTablePositionDto: UpdateTablePositionDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29096
+ // verify required parameter 'id' is not null or undefined
29097
+ assertParamExists('updateTablePosition', 'id', id)
29098
+ // verify required parameter 'businessId' is not null or undefined
29099
+ assertParamExists('updateTablePosition', 'businessId', businessId)
29100
+ // verify required parameter 'updateTablePositionDto' is not null or undefined
29101
+ assertParamExists('updateTablePosition', 'updateTablePositionDto', updateTablePositionDto)
29102
+ const localVarPath = `/api/v1/floor-plan/tables/{id}/position`
29103
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
29104
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29105
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29106
+ let baseOptions;
29107
+ if (configuration) {
29108
+ baseOptions = configuration.baseOptions;
29109
+ }
29110
+
29111
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
29112
+ const localVarHeaderParameter = {} as any;
29113
+ const localVarQueryParameter = {} as any;
29114
+
29115
+ // authentication JWT-auth required
29116
+ // http bearer authentication required
29117
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
29118
+
29119
+ if (businessId !== undefined) {
29120
+ localVarQueryParameter['businessId'] = businessId;
29121
+ }
29122
+
29123
+
29124
+
29125
+ localVarHeaderParameter['Content-Type'] = 'application/json';
29126
+
29127
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29128
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29129
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29130
+ localVarRequestOptions.data = serializeDataIfNeeded(updateTablePositionDto, localVarRequestOptions, configuration)
29131
+
29132
+ return {
29133
+ url: toPathString(localVarUrlObj),
29134
+ options: localVarRequestOptions,
29135
+ };
29136
+ },
29137
+ /**
29138
+ *
29139
+ * @summary Update a dining table status
29140
+ * @param {string} id
29141
+ * @param {number} businessId
29142
+ * @param {UpdateTableStatusDto} updateTableStatusDto
29143
+ * @param {*} [options] Override http request option.
29144
+ * @throws {RequiredError}
29145
+ */
29146
+ updateTableStatus: async (id: string, businessId: number, updateTableStatusDto: UpdateTableStatusDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29147
+ // verify required parameter 'id' is not null or undefined
29148
+ assertParamExists('updateTableStatus', 'id', id)
29149
+ // verify required parameter 'businessId' is not null or undefined
29150
+ assertParamExists('updateTableStatus', 'businessId', businessId)
29151
+ // verify required parameter 'updateTableStatusDto' is not null or undefined
29152
+ assertParamExists('updateTableStatus', 'updateTableStatusDto', updateTableStatusDto)
29153
+ const localVarPath = `/api/v1/floor-plan/tables/{id}/status`
29154
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
29155
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29156
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29157
+ let baseOptions;
29158
+ if (configuration) {
29159
+ baseOptions = configuration.baseOptions;
29160
+ }
29161
+
29162
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
29163
+ const localVarHeaderParameter = {} as any;
29164
+ const localVarQueryParameter = {} as any;
29165
+
29166
+ // authentication JWT-auth required
29167
+ // http bearer authentication required
29168
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
29169
+
29170
+ if (businessId !== undefined) {
29171
+ localVarQueryParameter['businessId'] = businessId;
29172
+ }
29173
+
29174
+
29175
+
29176
+ localVarHeaderParameter['Content-Type'] = 'application/json';
29177
+
29178
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29179
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29180
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29181
+ localVarRequestOptions.data = serializeDataIfNeeded(updateTableStatusDto, localVarRequestOptions, configuration)
29182
+
29183
+ return {
29184
+ url: toPathString(localVarUrlObj),
29185
+ options: localVarRequestOptions,
29186
+ };
29187
+ },
29188
+ }
29189
+ };
29190
+
29191
+ /**
29192
+ * FloorPlanApi - functional programming interface
29193
+ * @export
29194
+ */
29195
+ export const FloorPlanApiFp = function(configuration?: Configuration) {
29196
+ const localVarAxiosParamCreator = FloorPlanApiAxiosParamCreator(configuration)
29197
+ return {
29198
+ /**
29199
+ *
29200
+ * @summary Create a dining table
29201
+ * @param {CreateDiningTableDto} createDiningTableDto
29202
+ * @param {*} [options] Override http request option.
29203
+ * @throws {RequiredError}
29204
+ */
29205
+ async createDiningTable(createDiningTableDto: CreateDiningTableDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiningTableResponseDto>> {
29206
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createDiningTable(createDiningTableDto, options);
29207
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29208
+ },
29209
+ /**
29210
+ *
29211
+ * @summary Create a floor section
29212
+ * @param {CreateFloorSectionDto} createFloorSectionDto
29213
+ * @param {*} [options] Override http request option.
29214
+ * @throws {RequiredError}
29215
+ */
29216
+ async createFloorSection(createFloorSectionDto: CreateFloorSectionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FloorSectionResponseDto>> {
29217
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createFloorSection(createFloorSectionDto, options);
29218
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29219
+ },
29220
+ /**
29221
+ *
29222
+ * @summary Delete a dining table
29223
+ * @param {string} id
29224
+ * @param {number} businessId
29225
+ * @param {*} [options] Override http request option.
29226
+ * @throws {RequiredError}
29227
+ */
29228
+ async deleteDiningTable(id: string, businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
29229
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDiningTable(id, businessId, options);
29230
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29231
+ },
29232
+ /**
29233
+ *
29234
+ * @summary Delete a floor section
29235
+ * @param {string} id
29236
+ * @param {number} businessId
29237
+ * @param {*} [options] Override http request option.
29238
+ * @throws {RequiredError}
29239
+ */
29240
+ async deleteFloorSection(id: string, businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
29241
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteFloorSection(id, businessId, options);
29242
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29243
+ },
29244
+ /**
29245
+ *
29246
+ * @summary Get the full floor plan for a business
29247
+ * @param {number} businessId
29248
+ * @param {*} [options] Override http request option.
29249
+ * @throws {RequiredError}
29250
+ */
29251
+ async getFloorPlan(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FloorSectionResponseDto>>> {
29252
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getFloorPlan(businessId, options);
29253
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29254
+ },
29255
+ /**
29256
+ *
29257
+ * @summary Update a dining table
29258
+ * @param {string} id
29259
+ * @param {number} businessId
29260
+ * @param {UpdateDiningTableDto} updateDiningTableDto
29261
+ * @param {*} [options] Override http request option.
29262
+ * @throws {RequiredError}
29263
+ */
29264
+ async updateDiningTable(id: string, businessId: number, updateDiningTableDto: UpdateDiningTableDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiningTableResponseDto>> {
29265
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateDiningTable(id, businessId, updateDiningTableDto, options);
29266
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29267
+ },
29268
+ /**
29269
+ *
29270
+ * @summary Update a floor section
29271
+ * @param {string} id
29272
+ * @param {number} businessId
29273
+ * @param {UpdateFloorSectionDto} updateFloorSectionDto
29274
+ * @param {*} [options] Override http request option.
29275
+ * @throws {RequiredError}
29276
+ */
29277
+ async updateFloorSection(id: string, businessId: number, updateFloorSectionDto: UpdateFloorSectionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FloorSectionResponseDto>> {
29278
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateFloorSection(id, businessId, updateFloorSectionDto, options);
29279
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29280
+ },
29281
+ /**
29282
+ *
29283
+ * @summary Update a dining table position
29284
+ * @param {string} id
29285
+ * @param {number} businessId
29286
+ * @param {UpdateTablePositionDto} updateTablePositionDto
29287
+ * @param {*} [options] Override http request option.
29288
+ * @throws {RequiredError}
29289
+ */
29290
+ async updateTablePosition(id: string, businessId: number, updateTablePositionDto: UpdateTablePositionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiningTableResponseDto>> {
29291
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateTablePosition(id, businessId, updateTablePositionDto, options);
29292
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29293
+ },
29294
+ /**
29295
+ *
29296
+ * @summary Update a dining table status
29297
+ * @param {string} id
29298
+ * @param {number} businessId
29299
+ * @param {UpdateTableStatusDto} updateTableStatusDto
29300
+ * @param {*} [options] Override http request option.
29301
+ * @throws {RequiredError}
29302
+ */
29303
+ async updateTableStatus(id: string, businessId: number, updateTableStatusDto: UpdateTableStatusDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiningTableResponseDto>> {
29304
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateTableStatus(id, businessId, updateTableStatusDto, options);
29305
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29306
+ },
29307
+ }
29308
+ };
29309
+
29310
+ /**
29311
+ * FloorPlanApi - factory interface
29312
+ * @export
29313
+ */
29314
+ export const FloorPlanApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
29315
+ const localVarFp = FloorPlanApiFp(configuration)
29316
+ return {
29317
+ /**
29318
+ *
29319
+ * @summary Create a dining table
29320
+ * @param {CreateDiningTableDto} createDiningTableDto
29321
+ * @param {*} [options] Override http request option.
29322
+ * @throws {RequiredError}
29323
+ */
29324
+ createDiningTable(createDiningTableDto: CreateDiningTableDto, options?: any): AxiosPromise<DiningTableResponseDto> {
29325
+ return localVarFp.createDiningTable(createDiningTableDto, options).then((request) => request(axios, basePath));
29326
+ },
29327
+ /**
29328
+ *
29329
+ * @summary Create a floor section
29330
+ * @param {CreateFloorSectionDto} createFloorSectionDto
29331
+ * @param {*} [options] Override http request option.
29332
+ * @throws {RequiredError}
29333
+ */
29334
+ createFloorSection(createFloorSectionDto: CreateFloorSectionDto, options?: any): AxiosPromise<FloorSectionResponseDto> {
29335
+ return localVarFp.createFloorSection(createFloorSectionDto, options).then((request) => request(axios, basePath));
29336
+ },
29337
+ /**
29338
+ *
29339
+ * @summary Delete a dining table
29340
+ * @param {string} id
29341
+ * @param {number} businessId
29342
+ * @param {*} [options] Override http request option.
29343
+ * @throws {RequiredError}
29344
+ */
29345
+ deleteDiningTable(id: string, businessId: number, options?: any): AxiosPromise<void> {
29346
+ return localVarFp.deleteDiningTable(id, businessId, options).then((request) => request(axios, basePath));
29347
+ },
29348
+ /**
29349
+ *
29350
+ * @summary Delete a floor section
29351
+ * @param {string} id
29352
+ * @param {number} businessId
29353
+ * @param {*} [options] Override http request option.
29354
+ * @throws {RequiredError}
29355
+ */
29356
+ deleteFloorSection(id: string, businessId: number, options?: any): AxiosPromise<void> {
29357
+ return localVarFp.deleteFloorSection(id, businessId, options).then((request) => request(axios, basePath));
29358
+ },
29359
+ /**
29360
+ *
29361
+ * @summary Get the full floor plan for a business
29362
+ * @param {number} businessId
29363
+ * @param {*} [options] Override http request option.
29364
+ * @throws {RequiredError}
29365
+ */
29366
+ getFloorPlan(businessId: number, options?: any): AxiosPromise<Array<FloorSectionResponseDto>> {
29367
+ return localVarFp.getFloorPlan(businessId, options).then((request) => request(axios, basePath));
29368
+ },
29369
+ /**
29370
+ *
29371
+ * @summary Update a dining table
29372
+ * @param {string} id
29373
+ * @param {number} businessId
29374
+ * @param {UpdateDiningTableDto} updateDiningTableDto
29375
+ * @param {*} [options] Override http request option.
29376
+ * @throws {RequiredError}
29377
+ */
29378
+ updateDiningTable(id: string, businessId: number, updateDiningTableDto: UpdateDiningTableDto, options?: any): AxiosPromise<DiningTableResponseDto> {
29379
+ return localVarFp.updateDiningTable(id, businessId, updateDiningTableDto, options).then((request) => request(axios, basePath));
29380
+ },
29381
+ /**
29382
+ *
29383
+ * @summary Update a floor section
29384
+ * @param {string} id
29385
+ * @param {number} businessId
29386
+ * @param {UpdateFloorSectionDto} updateFloorSectionDto
29387
+ * @param {*} [options] Override http request option.
29388
+ * @throws {RequiredError}
29389
+ */
29390
+ updateFloorSection(id: string, businessId: number, updateFloorSectionDto: UpdateFloorSectionDto, options?: any): AxiosPromise<FloorSectionResponseDto> {
29391
+ return localVarFp.updateFloorSection(id, businessId, updateFloorSectionDto, options).then((request) => request(axios, basePath));
29392
+ },
29393
+ /**
29394
+ *
29395
+ * @summary Update a dining table position
29396
+ * @param {string} id
29397
+ * @param {number} businessId
29398
+ * @param {UpdateTablePositionDto} updateTablePositionDto
29399
+ * @param {*} [options] Override http request option.
29400
+ * @throws {RequiredError}
29401
+ */
29402
+ updateTablePosition(id: string, businessId: number, updateTablePositionDto: UpdateTablePositionDto, options?: any): AxiosPromise<DiningTableResponseDto> {
29403
+ return localVarFp.updateTablePosition(id, businessId, updateTablePositionDto, options).then((request) => request(axios, basePath));
29404
+ },
29405
+ /**
29406
+ *
29407
+ * @summary Update a dining table status
29408
+ * @param {string} id
29409
+ * @param {number} businessId
29410
+ * @param {UpdateTableStatusDto} updateTableStatusDto
29411
+ * @param {*} [options] Override http request option.
29412
+ * @throws {RequiredError}
29413
+ */
29414
+ updateTableStatus(id: string, businessId: number, updateTableStatusDto: UpdateTableStatusDto, options?: any): AxiosPromise<DiningTableResponseDto> {
29415
+ return localVarFp.updateTableStatus(id, businessId, updateTableStatusDto, options).then((request) => request(axios, basePath));
29416
+ },
29417
+ };
29418
+ };
29419
+
29420
+ /**
29421
+ * FloorPlanApi - interface
29422
+ * @export
29423
+ * @interface FloorPlanApi
29424
+ */
29425
+ export interface FloorPlanApiInterface {
29426
+ /**
29427
+ *
29428
+ * @summary Create a dining table
29429
+ * @param {CreateDiningTableDto} createDiningTableDto
29430
+ * @param {*} [options] Override http request option.
29431
+ * @throws {RequiredError}
29432
+ * @memberof FloorPlanApiInterface
29433
+ */
29434
+ createDiningTable(createDiningTableDto: CreateDiningTableDto, options?: AxiosRequestConfig): AxiosPromise<DiningTableResponseDto>;
29435
+
29436
+ /**
29437
+ *
29438
+ * @summary Create a floor section
29439
+ * @param {CreateFloorSectionDto} createFloorSectionDto
29440
+ * @param {*} [options] Override http request option.
29441
+ * @throws {RequiredError}
29442
+ * @memberof FloorPlanApiInterface
29443
+ */
29444
+ createFloorSection(createFloorSectionDto: CreateFloorSectionDto, options?: AxiosRequestConfig): AxiosPromise<FloorSectionResponseDto>;
29445
+
29446
+ /**
29447
+ *
29448
+ * @summary Delete a dining table
29449
+ * @param {string} id
29450
+ * @param {number} businessId
29451
+ * @param {*} [options] Override http request option.
29452
+ * @throws {RequiredError}
29453
+ * @memberof FloorPlanApiInterface
29454
+ */
29455
+ deleteDiningTable(id: string, businessId: number, options?: AxiosRequestConfig): AxiosPromise<void>;
29456
+
29457
+ /**
29458
+ *
29459
+ * @summary Delete a floor section
29460
+ * @param {string} id
29461
+ * @param {number} businessId
29462
+ * @param {*} [options] Override http request option.
29463
+ * @throws {RequiredError}
29464
+ * @memberof FloorPlanApiInterface
29465
+ */
29466
+ deleteFloorSection(id: string, businessId: number, options?: AxiosRequestConfig): AxiosPromise<void>;
29467
+
29468
+ /**
29469
+ *
29470
+ * @summary Get the full floor plan for a business
29471
+ * @param {number} businessId
29472
+ * @param {*} [options] Override http request option.
29473
+ * @throws {RequiredError}
29474
+ * @memberof FloorPlanApiInterface
29475
+ */
29476
+ getFloorPlan(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<FloorSectionResponseDto>>;
29477
+
29478
+ /**
29479
+ *
29480
+ * @summary Update a dining table
29481
+ * @param {string} id
29482
+ * @param {number} businessId
29483
+ * @param {UpdateDiningTableDto} updateDiningTableDto
29484
+ * @param {*} [options] Override http request option.
29485
+ * @throws {RequiredError}
29486
+ * @memberof FloorPlanApiInterface
29487
+ */
29488
+ updateDiningTable(id: string, businessId: number, updateDiningTableDto: UpdateDiningTableDto, options?: AxiosRequestConfig): AxiosPromise<DiningTableResponseDto>;
29489
+
29490
+ /**
29491
+ *
29492
+ * @summary Update a floor section
29493
+ * @param {string} id
29494
+ * @param {number} businessId
29495
+ * @param {UpdateFloorSectionDto} updateFloorSectionDto
29496
+ * @param {*} [options] Override http request option.
29497
+ * @throws {RequiredError}
29498
+ * @memberof FloorPlanApiInterface
29499
+ */
29500
+ updateFloorSection(id: string, businessId: number, updateFloorSectionDto: UpdateFloorSectionDto, options?: AxiosRequestConfig): AxiosPromise<FloorSectionResponseDto>;
29501
+
29502
+ /**
29503
+ *
29504
+ * @summary Update a dining table position
29505
+ * @param {string} id
29506
+ * @param {number} businessId
29507
+ * @param {UpdateTablePositionDto} updateTablePositionDto
29508
+ * @param {*} [options] Override http request option.
29509
+ * @throws {RequiredError}
29510
+ * @memberof FloorPlanApiInterface
29511
+ */
29512
+ updateTablePosition(id: string, businessId: number, updateTablePositionDto: UpdateTablePositionDto, options?: AxiosRequestConfig): AxiosPromise<DiningTableResponseDto>;
29513
+
29514
+ /**
29515
+ *
29516
+ * @summary Update a dining table status
29517
+ * @param {string} id
29518
+ * @param {number} businessId
29519
+ * @param {UpdateTableStatusDto} updateTableStatusDto
29520
+ * @param {*} [options] Override http request option.
29521
+ * @throws {RequiredError}
29522
+ * @memberof FloorPlanApiInterface
29523
+ */
29524
+ updateTableStatus(id: string, businessId: number, updateTableStatusDto: UpdateTableStatusDto, options?: AxiosRequestConfig): AxiosPromise<DiningTableResponseDto>;
29525
+
29526
+ }
29527
+
29528
+ /**
29529
+ * FloorPlanApi - object-oriented interface
29530
+ * @export
29531
+ * @class FloorPlanApi
29532
+ * @extends {BaseAPI}
29533
+ */
29534
+ export class FloorPlanApi extends BaseAPI implements FloorPlanApiInterface {
29535
+ /**
29536
+ *
29537
+ * @summary Create a dining table
29538
+ * @param {CreateDiningTableDto} createDiningTableDto
29539
+ * @param {*} [options] Override http request option.
29540
+ * @throws {RequiredError}
29541
+ * @memberof FloorPlanApi
29542
+ */
29543
+ public createDiningTable(createDiningTableDto: CreateDiningTableDto, options?: AxiosRequestConfig) {
29544
+ return FloorPlanApiFp(this.configuration).createDiningTable(createDiningTableDto, options).then((request) => request(this.axios, this.basePath));
29545
+ }
29546
+
29547
+ /**
29548
+ *
29549
+ * @summary Create a floor section
29550
+ * @param {CreateFloorSectionDto} createFloorSectionDto
29551
+ * @param {*} [options] Override http request option.
29552
+ * @throws {RequiredError}
29553
+ * @memberof FloorPlanApi
29554
+ */
29555
+ public createFloorSection(createFloorSectionDto: CreateFloorSectionDto, options?: AxiosRequestConfig) {
29556
+ return FloorPlanApiFp(this.configuration).createFloorSection(createFloorSectionDto, options).then((request) => request(this.axios, this.basePath));
29557
+ }
29558
+
29559
+ /**
29560
+ *
29561
+ * @summary Delete a dining table
29562
+ * @param {string} id
29563
+ * @param {number} businessId
29564
+ * @param {*} [options] Override http request option.
29565
+ * @throws {RequiredError}
29566
+ * @memberof FloorPlanApi
29567
+ */
29568
+ public deleteDiningTable(id: string, businessId: number, options?: AxiosRequestConfig) {
29569
+ return FloorPlanApiFp(this.configuration).deleteDiningTable(id, businessId, options).then((request) => request(this.axios, this.basePath));
29570
+ }
29571
+
29572
+ /**
29573
+ *
29574
+ * @summary Delete a floor section
29575
+ * @param {string} id
29576
+ * @param {number} businessId
29577
+ * @param {*} [options] Override http request option.
29578
+ * @throws {RequiredError}
29579
+ * @memberof FloorPlanApi
29580
+ */
29581
+ public deleteFloorSection(id: string, businessId: number, options?: AxiosRequestConfig) {
29582
+ return FloorPlanApiFp(this.configuration).deleteFloorSection(id, businessId, options).then((request) => request(this.axios, this.basePath));
29583
+ }
29584
+
29585
+ /**
29586
+ *
29587
+ * @summary Get the full floor plan for a business
29588
+ * @param {number} businessId
29589
+ * @param {*} [options] Override http request option.
29590
+ * @throws {RequiredError}
29591
+ * @memberof FloorPlanApi
29592
+ */
29593
+ public getFloorPlan(businessId: number, options?: AxiosRequestConfig) {
29594
+ return FloorPlanApiFp(this.configuration).getFloorPlan(businessId, options).then((request) => request(this.axios, this.basePath));
29595
+ }
29596
+
29597
+ /**
29598
+ *
29599
+ * @summary Update a dining table
29600
+ * @param {string} id
29601
+ * @param {number} businessId
29602
+ * @param {UpdateDiningTableDto} updateDiningTableDto
29603
+ * @param {*} [options] Override http request option.
29604
+ * @throws {RequiredError}
29605
+ * @memberof FloorPlanApi
29606
+ */
29607
+ public updateDiningTable(id: string, businessId: number, updateDiningTableDto: UpdateDiningTableDto, options?: AxiosRequestConfig) {
29608
+ return FloorPlanApiFp(this.configuration).updateDiningTable(id, businessId, updateDiningTableDto, options).then((request) => request(this.axios, this.basePath));
29609
+ }
29610
+
29611
+ /**
29612
+ *
29613
+ * @summary Update a floor section
29614
+ * @param {string} id
29615
+ * @param {number} businessId
29616
+ * @param {UpdateFloorSectionDto} updateFloorSectionDto
29617
+ * @param {*} [options] Override http request option.
29618
+ * @throws {RequiredError}
29619
+ * @memberof FloorPlanApi
29620
+ */
29621
+ public updateFloorSection(id: string, businessId: number, updateFloorSectionDto: UpdateFloorSectionDto, options?: AxiosRequestConfig) {
29622
+ return FloorPlanApiFp(this.configuration).updateFloorSection(id, businessId, updateFloorSectionDto, options).then((request) => request(this.axios, this.basePath));
29623
+ }
29624
+
29625
+ /**
29626
+ *
29627
+ * @summary Update a dining table position
29628
+ * @param {string} id
29629
+ * @param {number} businessId
29630
+ * @param {UpdateTablePositionDto} updateTablePositionDto
29631
+ * @param {*} [options] Override http request option.
29632
+ * @throws {RequiredError}
29633
+ * @memberof FloorPlanApi
29634
+ */
29635
+ public updateTablePosition(id: string, businessId: number, updateTablePositionDto: UpdateTablePositionDto, options?: AxiosRequestConfig) {
29636
+ return FloorPlanApiFp(this.configuration).updateTablePosition(id, businessId, updateTablePositionDto, options).then((request) => request(this.axios, this.basePath));
29637
+ }
29638
+
29639
+ /**
29640
+ *
29641
+ * @summary Update a dining table status
29642
+ * @param {string} id
29643
+ * @param {number} businessId
29644
+ * @param {UpdateTableStatusDto} updateTableStatusDto
29645
+ * @param {*} [options] Override http request option.
29646
+ * @throws {RequiredError}
29647
+ * @memberof FloorPlanApi
29648
+ */
29649
+ public updateTableStatus(id: string, businessId: number, updateTableStatusDto: UpdateTableStatusDto, options?: AxiosRequestConfig) {
29650
+ return FloorPlanApiFp(this.configuration).updateTableStatus(id, businessId, updateTableStatusDto, options).then((request) => request(this.axios, this.basePath));
29651
+ }
29652
+ }
29653
+
29654
+
27965
29655
  /**
27966
29656
  * GiftcardApi - axios parameter creator
27967
29657
  * @export