@munchi_oy/core 1.9.27 → 1.9.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/api.d.ts +1210 -8
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/generated/api.ts +1738 -24
- package/package.json +2 -2
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -3114,6 +3114,97 @@ export interface CreateActionPasscodeDto {
|
|
|
3114
3114
|
*/
|
|
3115
3115
|
'permissionRules': Array<PermissionRuleDto>;
|
|
3116
3116
|
}
|
|
3117
|
+
/**
|
|
3118
|
+
*
|
|
3119
|
+
* @export
|
|
3120
|
+
* @interface CreateDiningTableDto
|
|
3121
|
+
*/
|
|
3122
|
+
export interface CreateDiningTableDto {
|
|
3123
|
+
/**
|
|
3124
|
+
*
|
|
3125
|
+
* @type {number}
|
|
3126
|
+
* @memberof CreateDiningTableDto
|
|
3127
|
+
*/
|
|
3128
|
+
'businessId': number;
|
|
3129
|
+
/**
|
|
3130
|
+
*
|
|
3131
|
+
* @type {string}
|
|
3132
|
+
* @memberof CreateDiningTableDto
|
|
3133
|
+
*/
|
|
3134
|
+
'sectionId': string;
|
|
3135
|
+
/**
|
|
3136
|
+
*
|
|
3137
|
+
* @type {string}
|
|
3138
|
+
* @memberof CreateDiningTableDto
|
|
3139
|
+
*/
|
|
3140
|
+
'label': string;
|
|
3141
|
+
/**
|
|
3142
|
+
*
|
|
3143
|
+
* @type {number}
|
|
3144
|
+
* @memberof CreateDiningTableDto
|
|
3145
|
+
*/
|
|
3146
|
+
'minCapacity'?: number;
|
|
3147
|
+
/**
|
|
3148
|
+
*
|
|
3149
|
+
* @type {number}
|
|
3150
|
+
* @memberof CreateDiningTableDto
|
|
3151
|
+
*/
|
|
3152
|
+
'maxCapacity'?: number;
|
|
3153
|
+
/**
|
|
3154
|
+
*
|
|
3155
|
+
* @type {TableShape}
|
|
3156
|
+
* @memberof CreateDiningTableDto
|
|
3157
|
+
*/
|
|
3158
|
+
'shape'?: TableShape;
|
|
3159
|
+
/**
|
|
3160
|
+
*
|
|
3161
|
+
* @type {number}
|
|
3162
|
+
* @memberof CreateDiningTableDto
|
|
3163
|
+
*/
|
|
3164
|
+
'posX'?: number;
|
|
3165
|
+
/**
|
|
3166
|
+
*
|
|
3167
|
+
* @type {number}
|
|
3168
|
+
* @memberof CreateDiningTableDto
|
|
3169
|
+
*/
|
|
3170
|
+
'posY'?: number;
|
|
3171
|
+
/**
|
|
3172
|
+
*
|
|
3173
|
+
* @type {number}
|
|
3174
|
+
* @memberof CreateDiningTableDto
|
|
3175
|
+
*/
|
|
3176
|
+
'width'?: number;
|
|
3177
|
+
/**
|
|
3178
|
+
*
|
|
3179
|
+
* @type {number}
|
|
3180
|
+
* @memberof CreateDiningTableDto
|
|
3181
|
+
*/
|
|
3182
|
+
'height'?: number;
|
|
3183
|
+
/**
|
|
3184
|
+
*
|
|
3185
|
+
* @type {number}
|
|
3186
|
+
* @memberof CreateDiningTableDto
|
|
3187
|
+
*/
|
|
3188
|
+
'rotation'?: number;
|
|
3189
|
+
/**
|
|
3190
|
+
*
|
|
3191
|
+
* @type {boolean}
|
|
3192
|
+
* @memberof CreateDiningTableDto
|
|
3193
|
+
*/
|
|
3194
|
+
'bookableOnline'?: boolean;
|
|
3195
|
+
/**
|
|
3196
|
+
*
|
|
3197
|
+
* @type {boolean}
|
|
3198
|
+
* @memberof CreateDiningTableDto
|
|
3199
|
+
*/
|
|
3200
|
+
'joinable'?: boolean;
|
|
3201
|
+
/**
|
|
3202
|
+
*
|
|
3203
|
+
* @type {string}
|
|
3204
|
+
* @memberof CreateDiningTableDto
|
|
3205
|
+
*/
|
|
3206
|
+
'externalTableId'?: string;
|
|
3207
|
+
}
|
|
3117
3208
|
/**
|
|
3118
3209
|
*
|
|
3119
3210
|
* @export
|
|
@@ -3133,6 +3224,31 @@ export interface CreateEmployeeAssignmentDto {
|
|
|
3133
3224
|
*/
|
|
3134
3225
|
'roleId': string;
|
|
3135
3226
|
}
|
|
3227
|
+
/**
|
|
3228
|
+
*
|
|
3229
|
+
* @export
|
|
3230
|
+
* @interface CreateFloorSectionDto
|
|
3231
|
+
*/
|
|
3232
|
+
export interface CreateFloorSectionDto {
|
|
3233
|
+
/**
|
|
3234
|
+
*
|
|
3235
|
+
* @type {number}
|
|
3236
|
+
* @memberof CreateFloorSectionDto
|
|
3237
|
+
*/
|
|
3238
|
+
'businessId': number;
|
|
3239
|
+
/**
|
|
3240
|
+
*
|
|
3241
|
+
* @type {string}
|
|
3242
|
+
* @memberof CreateFloorSectionDto
|
|
3243
|
+
*/
|
|
3244
|
+
'name': string;
|
|
3245
|
+
/**
|
|
3246
|
+
*
|
|
3247
|
+
* @type {number}
|
|
3248
|
+
* @memberof CreateFloorSectionDto
|
|
3249
|
+
*/
|
|
3250
|
+
'sortOrder'?: number;
|
|
3251
|
+
}
|
|
3136
3252
|
/**
|
|
3137
3253
|
*
|
|
3138
3254
|
* @export
|
|
@@ -3761,6 +3877,21 @@ export interface CustomerDto {
|
|
|
3761
3877
|
*/
|
|
3762
3878
|
'phone': string | null;
|
|
3763
3879
|
}
|
|
3880
|
+
/**
|
|
3881
|
+
*
|
|
3882
|
+
* @export
|
|
3883
|
+
* @enum {string}
|
|
3884
|
+
*/
|
|
3885
|
+
export declare const DayOfWeek: {
|
|
3886
|
+
readonly Sunday: "SUNDAY";
|
|
3887
|
+
readonly Monday: "MONDAY";
|
|
3888
|
+
readonly Tuesday: "TUESDAY";
|
|
3889
|
+
readonly Wednesday: "WEDNESDAY";
|
|
3890
|
+
readonly Thursday: "THURSDAY";
|
|
3891
|
+
readonly Friday: "FRIDAY";
|
|
3892
|
+
readonly Saturday: "SATURDAY";
|
|
3893
|
+
};
|
|
3894
|
+
export type DayOfWeek = typeof DayOfWeek[keyof typeof DayOfWeek];
|
|
3764
3895
|
/**
|
|
3765
3896
|
*
|
|
3766
3897
|
* @export
|
|
@@ -3984,6 +4115,121 @@ export declare const DeviceType: {
|
|
|
3984
4115
|
readonly SmartTerminal: "SMART_TERMINAL";
|
|
3985
4116
|
};
|
|
3986
4117
|
export type DeviceType = typeof DeviceType[keyof typeof DeviceType];
|
|
4118
|
+
/**
|
|
4119
|
+
*
|
|
4120
|
+
* @export
|
|
4121
|
+
* @interface DiningTableResponseDto
|
|
4122
|
+
*/
|
|
4123
|
+
export interface DiningTableResponseDto {
|
|
4124
|
+
/**
|
|
4125
|
+
*
|
|
4126
|
+
* @type {string}
|
|
4127
|
+
* @memberof DiningTableResponseDto
|
|
4128
|
+
*/
|
|
4129
|
+
'id': string;
|
|
4130
|
+
/**
|
|
4131
|
+
*
|
|
4132
|
+
* @type {number}
|
|
4133
|
+
* @memberof DiningTableResponseDto
|
|
4134
|
+
*/
|
|
4135
|
+
'orderingBusinessId': number;
|
|
4136
|
+
/**
|
|
4137
|
+
*
|
|
4138
|
+
* @type {string}
|
|
4139
|
+
* @memberof DiningTableResponseDto
|
|
4140
|
+
*/
|
|
4141
|
+
'sectionId': string;
|
|
4142
|
+
/**
|
|
4143
|
+
*
|
|
4144
|
+
* @type {string}
|
|
4145
|
+
* @memberof DiningTableResponseDto
|
|
4146
|
+
*/
|
|
4147
|
+
'label': string;
|
|
4148
|
+
/**
|
|
4149
|
+
*
|
|
4150
|
+
* @type {number}
|
|
4151
|
+
* @memberof DiningTableResponseDto
|
|
4152
|
+
*/
|
|
4153
|
+
'minCapacity': number;
|
|
4154
|
+
/**
|
|
4155
|
+
*
|
|
4156
|
+
* @type {number}
|
|
4157
|
+
* @memberof DiningTableResponseDto
|
|
4158
|
+
*/
|
|
4159
|
+
'maxCapacity': number;
|
|
4160
|
+
/**
|
|
4161
|
+
*
|
|
4162
|
+
* @type {TableShape}
|
|
4163
|
+
* @memberof DiningTableResponseDto
|
|
4164
|
+
*/
|
|
4165
|
+
'shape': TableShape;
|
|
4166
|
+
/**
|
|
4167
|
+
*
|
|
4168
|
+
* @type {number}
|
|
4169
|
+
* @memberof DiningTableResponseDto
|
|
4170
|
+
*/
|
|
4171
|
+
'posX': number;
|
|
4172
|
+
/**
|
|
4173
|
+
*
|
|
4174
|
+
* @type {number}
|
|
4175
|
+
* @memberof DiningTableResponseDto
|
|
4176
|
+
*/
|
|
4177
|
+
'posY': number;
|
|
4178
|
+
/**
|
|
4179
|
+
*
|
|
4180
|
+
* @type {number}
|
|
4181
|
+
* @memberof DiningTableResponseDto
|
|
4182
|
+
*/
|
|
4183
|
+
'width': number;
|
|
4184
|
+
/**
|
|
4185
|
+
*
|
|
4186
|
+
* @type {number}
|
|
4187
|
+
* @memberof DiningTableResponseDto
|
|
4188
|
+
*/
|
|
4189
|
+
'height': number;
|
|
4190
|
+
/**
|
|
4191
|
+
*
|
|
4192
|
+
* @type {number}
|
|
4193
|
+
* @memberof DiningTableResponseDto
|
|
4194
|
+
*/
|
|
4195
|
+
'rotation': number;
|
|
4196
|
+
/**
|
|
4197
|
+
*
|
|
4198
|
+
* @type {TableStatus}
|
|
4199
|
+
* @memberof DiningTableResponseDto
|
|
4200
|
+
*/
|
|
4201
|
+
'status': TableStatus;
|
|
4202
|
+
/**
|
|
4203
|
+
*
|
|
4204
|
+
* @type {boolean}
|
|
4205
|
+
* @memberof DiningTableResponseDto
|
|
4206
|
+
*/
|
|
4207
|
+
'bookableOnline': boolean;
|
|
4208
|
+
/**
|
|
4209
|
+
*
|
|
4210
|
+
* @type {boolean}
|
|
4211
|
+
* @memberof DiningTableResponseDto
|
|
4212
|
+
*/
|
|
4213
|
+
'joinable': boolean;
|
|
4214
|
+
/**
|
|
4215
|
+
*
|
|
4216
|
+
* @type {object}
|
|
4217
|
+
* @memberof DiningTableResponseDto
|
|
4218
|
+
*/
|
|
4219
|
+
'externalTableId'?: object | null;
|
|
4220
|
+
/**
|
|
4221
|
+
*
|
|
4222
|
+
* @type {string}
|
|
4223
|
+
* @memberof DiningTableResponseDto
|
|
4224
|
+
*/
|
|
4225
|
+
'createdAt': string;
|
|
4226
|
+
/**
|
|
4227
|
+
*
|
|
4228
|
+
* @type {string}
|
|
4229
|
+
* @memberof DiningTableResponseDto
|
|
4230
|
+
*/
|
|
4231
|
+
'updatedAt': string;
|
|
4232
|
+
}
|
|
3987
4233
|
/**
|
|
3988
4234
|
*
|
|
3989
4235
|
* @export
|
|
@@ -4841,6 +5087,12 @@ export interface ExtendedProductDto {
|
|
|
4841
5087
|
* @memberof ExtendedProductDto
|
|
4842
5088
|
*/
|
|
4843
5089
|
'printer_type'?: PrinterTypeEnum;
|
|
5090
|
+
/**
|
|
5091
|
+
*
|
|
5092
|
+
* @type {PriceType}
|
|
5093
|
+
* @memberof ExtendedProductDto
|
|
5094
|
+
*/
|
|
5095
|
+
'price_type': PriceType;
|
|
4844
5096
|
/**
|
|
4845
5097
|
* Custom UI override color in hex, e.g., #RRGGBB
|
|
4846
5098
|
* @type {string}
|
|
@@ -5190,6 +5442,55 @@ export interface FirebaseTokenDto {
|
|
|
5190
5442
|
*/
|
|
5191
5443
|
'customToken': string;
|
|
5192
5444
|
}
|
|
5445
|
+
/**
|
|
5446
|
+
*
|
|
5447
|
+
* @export
|
|
5448
|
+
* @interface FloorSectionResponseDto
|
|
5449
|
+
*/
|
|
5450
|
+
export interface FloorSectionResponseDto {
|
|
5451
|
+
/**
|
|
5452
|
+
*
|
|
5453
|
+
* @type {string}
|
|
5454
|
+
* @memberof FloorSectionResponseDto
|
|
5455
|
+
*/
|
|
5456
|
+
'id': string;
|
|
5457
|
+
/**
|
|
5458
|
+
*
|
|
5459
|
+
* @type {number}
|
|
5460
|
+
* @memberof FloorSectionResponseDto
|
|
5461
|
+
*/
|
|
5462
|
+
'orderingBusinessId': number;
|
|
5463
|
+
/**
|
|
5464
|
+
*
|
|
5465
|
+
* @type {string}
|
|
5466
|
+
* @memberof FloorSectionResponseDto
|
|
5467
|
+
*/
|
|
5468
|
+
'name': string;
|
|
5469
|
+
/**
|
|
5470
|
+
*
|
|
5471
|
+
* @type {number}
|
|
5472
|
+
* @memberof FloorSectionResponseDto
|
|
5473
|
+
*/
|
|
5474
|
+
'sortOrder': number;
|
|
5475
|
+
/**
|
|
5476
|
+
*
|
|
5477
|
+
* @type {Array<DiningTableResponseDto>}
|
|
5478
|
+
* @memberof FloorSectionResponseDto
|
|
5479
|
+
*/
|
|
5480
|
+
'tables': Array<DiningTableResponseDto>;
|
|
5481
|
+
/**
|
|
5482
|
+
*
|
|
5483
|
+
* @type {string}
|
|
5484
|
+
* @memberof FloorSectionResponseDto
|
|
5485
|
+
*/
|
|
5486
|
+
'createdAt': string;
|
|
5487
|
+
/**
|
|
5488
|
+
*
|
|
5489
|
+
* @type {string}
|
|
5490
|
+
* @memberof FloorSectionResponseDto
|
|
5491
|
+
*/
|
|
5492
|
+
'updatedAt': string;
|
|
5493
|
+
}
|
|
5193
5494
|
/**
|
|
5194
5495
|
*
|
|
5195
5496
|
* @export
|
|
@@ -7111,6 +7412,37 @@ export interface LapseDtoOpen {
|
|
|
7111
7412
|
*/
|
|
7112
7413
|
'minute': number;
|
|
7113
7414
|
}
|
|
7415
|
+
/**
|
|
7416
|
+
*
|
|
7417
|
+
* @export
|
|
7418
|
+
* @interface LapseResponseDto
|
|
7419
|
+
*/
|
|
7420
|
+
export interface LapseResponseDto {
|
|
7421
|
+
/**
|
|
7422
|
+
*
|
|
7423
|
+
* @type {string}
|
|
7424
|
+
* @memberof LapseResponseDto
|
|
7425
|
+
*/
|
|
7426
|
+
'id': string;
|
|
7427
|
+
/**
|
|
7428
|
+
*
|
|
7429
|
+
* @type {string}
|
|
7430
|
+
* @memberof LapseResponseDto
|
|
7431
|
+
*/
|
|
7432
|
+
'opening_time': string;
|
|
7433
|
+
/**
|
|
7434
|
+
*
|
|
7435
|
+
* @type {string}
|
|
7436
|
+
* @memberof LapseResponseDto
|
|
7437
|
+
*/
|
|
7438
|
+
'closing_time': string;
|
|
7439
|
+
/**
|
|
7440
|
+
*
|
|
7441
|
+
* @type {number}
|
|
7442
|
+
* @memberof LapseResponseDto
|
|
7443
|
+
*/
|
|
7444
|
+
'closing_day_offset': number;
|
|
7445
|
+
}
|
|
7114
7446
|
/**
|
|
7115
7447
|
*
|
|
7116
7448
|
* @export
|
|
@@ -12359,6 +12691,12 @@ export interface PosItemDto {
|
|
|
12359
12691
|
* @memberof PosItemDto
|
|
12360
12692
|
*/
|
|
12361
12693
|
'printer_type'?: PrinterTypeEnum;
|
|
12694
|
+
/**
|
|
12695
|
+
*
|
|
12696
|
+
* @type {PriceType}
|
|
12697
|
+
* @memberof PosItemDto
|
|
12698
|
+
*/
|
|
12699
|
+
'price_type': PriceType;
|
|
12362
12700
|
/**
|
|
12363
12701
|
* Custom UI override color in hex, e.g., #RRGGBB
|
|
12364
12702
|
* @type {string}
|
|
@@ -13854,6 +14192,16 @@ export interface PriceSummaryDto {
|
|
|
13854
14192
|
*/
|
|
13855
14193
|
'totalNet': number;
|
|
13856
14194
|
}
|
|
14195
|
+
/**
|
|
14196
|
+
*
|
|
14197
|
+
* @export
|
|
14198
|
+
* @enum {string}
|
|
14199
|
+
*/
|
|
14200
|
+
export declare const PriceType: {
|
|
14201
|
+
readonly Preset: "PRESET";
|
|
14202
|
+
readonly Open: "OPEN";
|
|
14203
|
+
};
|
|
14204
|
+
export type PriceType = typeof PriceType[keyof typeof PriceType];
|
|
13857
14205
|
/**
|
|
13858
14206
|
*
|
|
13859
14207
|
* @export
|
|
@@ -15841,22 +16189,74 @@ export interface SalesSummaryDtoV2 {
|
|
|
15841
16189
|
/**
|
|
15842
16190
|
*
|
|
15843
16191
|
* @export
|
|
15844
|
-
* @interface
|
|
16192
|
+
* @interface ScheduleDayResponseDto
|
|
15845
16193
|
*/
|
|
15846
|
-
export interface
|
|
16194
|
+
export interface ScheduleDayResponseDto {
|
|
15847
16195
|
/**
|
|
15848
|
-
*
|
|
15849
|
-
* @type {
|
|
15850
|
-
* @memberof
|
|
16196
|
+
*
|
|
16197
|
+
* @type {string}
|
|
16198
|
+
* @memberof ScheduleDayResponseDto
|
|
15851
16199
|
*/
|
|
15852
|
-
'
|
|
16200
|
+
'id': string;
|
|
15853
16201
|
/**
|
|
15854
|
-
*
|
|
16202
|
+
*
|
|
16203
|
+
* @type {DayOfWeek}
|
|
16204
|
+
* @memberof ScheduleDayResponseDto
|
|
16205
|
+
*/
|
|
16206
|
+
'day': DayOfWeek;
|
|
16207
|
+
/**
|
|
16208
|
+
*
|
|
15855
16209
|
* @type {boolean}
|
|
15856
|
-
* @memberof
|
|
16210
|
+
* @memberof ScheduleDayResponseDto
|
|
16211
|
+
*/
|
|
16212
|
+
'enabled': boolean;
|
|
16213
|
+
/**
|
|
16214
|
+
*
|
|
16215
|
+
* @type {ScheduleType}
|
|
16216
|
+
* @memberof ScheduleDayResponseDto
|
|
16217
|
+
*/
|
|
16218
|
+
'type': ScheduleType;
|
|
16219
|
+
/**
|
|
16220
|
+
* Business cuid
|
|
16221
|
+
* @type {string}
|
|
16222
|
+
* @memberof ScheduleDayResponseDto
|
|
16223
|
+
*/
|
|
16224
|
+
'businessId': string;
|
|
16225
|
+
/**
|
|
16226
|
+
*
|
|
16227
|
+
* @type {Array<LapseResponseDto>}
|
|
16228
|
+
* @memberof ScheduleDayResponseDto
|
|
16229
|
+
*/
|
|
16230
|
+
'lapses': Array<LapseResponseDto>;
|
|
16231
|
+
}
|
|
16232
|
+
/**
|
|
16233
|
+
*
|
|
16234
|
+
* @export
|
|
16235
|
+
* @interface ScheduleDto
|
|
16236
|
+
*/
|
|
16237
|
+
export interface ScheduleDto {
|
|
16238
|
+
/**
|
|
16239
|
+
* Array of time lapses for a specific day of the week
|
|
16240
|
+
* @type {Array<LapseDto>}
|
|
16241
|
+
* @memberof ScheduleDto
|
|
16242
|
+
*/
|
|
16243
|
+
'lapses': Array<LapseDto>;
|
|
16244
|
+
/**
|
|
16245
|
+
* Indicates if this schedule entry is active
|
|
16246
|
+
* @type {boolean}
|
|
16247
|
+
* @memberof ScheduleDto
|
|
15857
16248
|
*/
|
|
15858
16249
|
'enabled': boolean;
|
|
15859
16250
|
}
|
|
16251
|
+
/**
|
|
16252
|
+
*
|
|
16253
|
+
* @export
|
|
16254
|
+
* @enum {string}
|
|
16255
|
+
*/
|
|
16256
|
+
export declare const ScheduleType: {
|
|
16257
|
+
readonly Physical: "PHYSICAL";
|
|
16258
|
+
};
|
|
16259
|
+
export type ScheduleType = typeof ScheduleType[keyof typeof ScheduleType];
|
|
15860
16260
|
/**
|
|
15861
16261
|
*
|
|
15862
16262
|
* @export
|
|
@@ -16629,6 +17029,30 @@ export declare const SystemProfileType: {
|
|
|
16629
17029
|
readonly NoStation: "NO_STATION";
|
|
16630
17030
|
};
|
|
16631
17031
|
export type SystemProfileType = typeof SystemProfileType[keyof typeof SystemProfileType];
|
|
17032
|
+
/**
|
|
17033
|
+
*
|
|
17034
|
+
* @export
|
|
17035
|
+
* @enum {string}
|
|
17036
|
+
*/
|
|
17037
|
+
export declare const TableShape: {
|
|
17038
|
+
readonly Round: "ROUND";
|
|
17039
|
+
readonly Square: "SQUARE";
|
|
17040
|
+
readonly Rectangle: "RECTANGLE";
|
|
17041
|
+
readonly Booth: "BOOTH";
|
|
17042
|
+
};
|
|
17043
|
+
export type TableShape = typeof TableShape[keyof typeof TableShape];
|
|
17044
|
+
/**
|
|
17045
|
+
*
|
|
17046
|
+
* @export
|
|
17047
|
+
* @enum {string}
|
|
17048
|
+
*/
|
|
17049
|
+
export declare const TableStatus: {
|
|
17050
|
+
readonly Available: "AVAILABLE";
|
|
17051
|
+
readonly Dirty: "DIRTY";
|
|
17052
|
+
readonly Blocked: "BLOCKED";
|
|
17053
|
+
readonly OutOfService: "OUT_OF_SERVICE";
|
|
17054
|
+
};
|
|
17055
|
+
export type TableStatus = typeof TableStatus[keyof typeof TableStatus];
|
|
16632
17056
|
/**
|
|
16633
17057
|
*
|
|
16634
17058
|
* @export
|
|
@@ -18488,6 +18912,110 @@ export interface UpdateChannelInventoryDto {
|
|
|
18488
18912
|
*/
|
|
18489
18913
|
'channels': Array<ChannelInventoryUpdateDto>;
|
|
18490
18914
|
}
|
|
18915
|
+
/**
|
|
18916
|
+
*
|
|
18917
|
+
* @export
|
|
18918
|
+
* @interface UpdateDiningTableDto
|
|
18919
|
+
*/
|
|
18920
|
+
export interface UpdateDiningTableDto {
|
|
18921
|
+
/**
|
|
18922
|
+
*
|
|
18923
|
+
* @type {string}
|
|
18924
|
+
* @memberof UpdateDiningTableDto
|
|
18925
|
+
*/
|
|
18926
|
+
'sectionId'?: string;
|
|
18927
|
+
/**
|
|
18928
|
+
*
|
|
18929
|
+
* @type {string}
|
|
18930
|
+
* @memberof UpdateDiningTableDto
|
|
18931
|
+
*/
|
|
18932
|
+
'label'?: string;
|
|
18933
|
+
/**
|
|
18934
|
+
*
|
|
18935
|
+
* @type {number}
|
|
18936
|
+
* @memberof UpdateDiningTableDto
|
|
18937
|
+
*/
|
|
18938
|
+
'minCapacity'?: number;
|
|
18939
|
+
/**
|
|
18940
|
+
*
|
|
18941
|
+
* @type {number}
|
|
18942
|
+
* @memberof UpdateDiningTableDto
|
|
18943
|
+
*/
|
|
18944
|
+
'maxCapacity'?: number;
|
|
18945
|
+
/**
|
|
18946
|
+
*
|
|
18947
|
+
* @type {TableShape}
|
|
18948
|
+
* @memberof UpdateDiningTableDto
|
|
18949
|
+
*/
|
|
18950
|
+
'shape'?: TableShape;
|
|
18951
|
+
/**
|
|
18952
|
+
*
|
|
18953
|
+
* @type {number}
|
|
18954
|
+
* @memberof UpdateDiningTableDto
|
|
18955
|
+
*/
|
|
18956
|
+
'posX'?: number;
|
|
18957
|
+
/**
|
|
18958
|
+
*
|
|
18959
|
+
* @type {number}
|
|
18960
|
+
* @memberof UpdateDiningTableDto
|
|
18961
|
+
*/
|
|
18962
|
+
'posY'?: number;
|
|
18963
|
+
/**
|
|
18964
|
+
*
|
|
18965
|
+
* @type {number}
|
|
18966
|
+
* @memberof UpdateDiningTableDto
|
|
18967
|
+
*/
|
|
18968
|
+
'width'?: number;
|
|
18969
|
+
/**
|
|
18970
|
+
*
|
|
18971
|
+
* @type {number}
|
|
18972
|
+
* @memberof UpdateDiningTableDto
|
|
18973
|
+
*/
|
|
18974
|
+
'height'?: number;
|
|
18975
|
+
/**
|
|
18976
|
+
*
|
|
18977
|
+
* @type {number}
|
|
18978
|
+
* @memberof UpdateDiningTableDto
|
|
18979
|
+
*/
|
|
18980
|
+
'rotation'?: number;
|
|
18981
|
+
/**
|
|
18982
|
+
*
|
|
18983
|
+
* @type {boolean}
|
|
18984
|
+
* @memberof UpdateDiningTableDto
|
|
18985
|
+
*/
|
|
18986
|
+
'bookableOnline'?: boolean;
|
|
18987
|
+
/**
|
|
18988
|
+
*
|
|
18989
|
+
* @type {boolean}
|
|
18990
|
+
* @memberof UpdateDiningTableDto
|
|
18991
|
+
*/
|
|
18992
|
+
'joinable'?: boolean;
|
|
18993
|
+
/**
|
|
18994
|
+
*
|
|
18995
|
+
* @type {string}
|
|
18996
|
+
* @memberof UpdateDiningTableDto
|
|
18997
|
+
*/
|
|
18998
|
+
'externalTableId'?: string;
|
|
18999
|
+
}
|
|
19000
|
+
/**
|
|
19001
|
+
*
|
|
19002
|
+
* @export
|
|
19003
|
+
* @interface UpdateFloorSectionDto
|
|
19004
|
+
*/
|
|
19005
|
+
export interface UpdateFloorSectionDto {
|
|
19006
|
+
/**
|
|
19007
|
+
*
|
|
19008
|
+
* @type {string}
|
|
19009
|
+
* @memberof UpdateFloorSectionDto
|
|
19010
|
+
*/
|
|
19011
|
+
'name'?: string;
|
|
19012
|
+
/**
|
|
19013
|
+
*
|
|
19014
|
+
* @type {number}
|
|
19015
|
+
* @memberof UpdateFloorSectionDto
|
|
19016
|
+
*/
|
|
19017
|
+
'sortOrder'?: number;
|
|
19018
|
+
}
|
|
18491
19019
|
/**
|
|
18492
19020
|
*
|
|
18493
19021
|
* @export
|
|
@@ -18595,6 +19123,56 @@ export interface UpdateStatusResponseDto {
|
|
|
18595
19123
|
*/
|
|
18596
19124
|
'businessId': number;
|
|
18597
19125
|
}
|
|
19126
|
+
/**
|
|
19127
|
+
*
|
|
19128
|
+
* @export
|
|
19129
|
+
* @interface UpdateTablePositionDto
|
|
19130
|
+
*/
|
|
19131
|
+
export interface UpdateTablePositionDto {
|
|
19132
|
+
/**
|
|
19133
|
+
*
|
|
19134
|
+
* @type {number}
|
|
19135
|
+
* @memberof UpdateTablePositionDto
|
|
19136
|
+
*/
|
|
19137
|
+
'posX': number;
|
|
19138
|
+
/**
|
|
19139
|
+
*
|
|
19140
|
+
* @type {number}
|
|
19141
|
+
* @memberof UpdateTablePositionDto
|
|
19142
|
+
*/
|
|
19143
|
+
'posY': number;
|
|
19144
|
+
/**
|
|
19145
|
+
*
|
|
19146
|
+
* @type {number}
|
|
19147
|
+
* @memberof UpdateTablePositionDto
|
|
19148
|
+
*/
|
|
19149
|
+
'rotation'?: number;
|
|
19150
|
+
/**
|
|
19151
|
+
*
|
|
19152
|
+
* @type {number}
|
|
19153
|
+
* @memberof UpdateTablePositionDto
|
|
19154
|
+
*/
|
|
19155
|
+
'width'?: number;
|
|
19156
|
+
/**
|
|
19157
|
+
*
|
|
19158
|
+
* @type {number}
|
|
19159
|
+
* @memberof UpdateTablePositionDto
|
|
19160
|
+
*/
|
|
19161
|
+
'height'?: number;
|
|
19162
|
+
}
|
|
19163
|
+
/**
|
|
19164
|
+
*
|
|
19165
|
+
* @export
|
|
19166
|
+
* @interface UpdateTableStatusDto
|
|
19167
|
+
*/
|
|
19168
|
+
export interface UpdateTableStatusDto {
|
|
19169
|
+
/**
|
|
19170
|
+
*
|
|
19171
|
+
* @type {TableStatus}
|
|
19172
|
+
* @memberof UpdateTableStatusDto
|
|
19173
|
+
*/
|
|
19174
|
+
'status': TableStatus;
|
|
19175
|
+
}
|
|
18598
19176
|
/**
|
|
18599
19177
|
*
|
|
18600
19178
|
* @export
|
|
@@ -18679,6 +19257,38 @@ export interface UpsertBusinessDto {
|
|
|
18679
19257
|
*/
|
|
18680
19258
|
'chainId'?: string;
|
|
18681
19259
|
}
|
|
19260
|
+
/**
|
|
19261
|
+
*
|
|
19262
|
+
* @export
|
|
19263
|
+
* @interface UpsertBusinessScheduleDto
|
|
19264
|
+
*/
|
|
19265
|
+
export interface UpsertBusinessScheduleDto {
|
|
19266
|
+
/**
|
|
19267
|
+
* Days to upsert. Each provided day is replaced; other days are left untouched.
|
|
19268
|
+
* @type {Array<UpsertScheduleDayDto>}
|
|
19269
|
+
* @memberof UpsertBusinessScheduleDto
|
|
19270
|
+
*/
|
|
19271
|
+
'schedule': Array<UpsertScheduleDayDto>;
|
|
19272
|
+
}
|
|
19273
|
+
/**
|
|
19274
|
+
*
|
|
19275
|
+
* @export
|
|
19276
|
+
* @interface UpsertBusinessScheduleResponseDto
|
|
19277
|
+
*/
|
|
19278
|
+
export interface UpsertBusinessScheduleResponseDto {
|
|
19279
|
+
/**
|
|
19280
|
+
* Ordering business ID
|
|
19281
|
+
* @type {number}
|
|
19282
|
+
* @memberof UpsertBusinessScheduleResponseDto
|
|
19283
|
+
*/
|
|
19284
|
+
'orderingBusinessId': number;
|
|
19285
|
+
/**
|
|
19286
|
+
*
|
|
19287
|
+
* @type {Array<ScheduleDayResponseDto>}
|
|
19288
|
+
* @memberof UpsertBusinessScheduleResponseDto
|
|
19289
|
+
*/
|
|
19290
|
+
'schedule': Array<ScheduleDayResponseDto>;
|
|
19291
|
+
}
|
|
18682
19292
|
/**
|
|
18683
19293
|
*
|
|
18684
19294
|
* @export
|
|
@@ -18820,6 +19430,31 @@ export interface UpsertGiftCardDto {
|
|
|
18820
19430
|
*/
|
|
18821
19431
|
'credentials'?: GiftCardCredentialsDto;
|
|
18822
19432
|
}
|
|
19433
|
+
/**
|
|
19434
|
+
*
|
|
19435
|
+
* @export
|
|
19436
|
+
* @interface UpsertLapseDto
|
|
19437
|
+
*/
|
|
19438
|
+
export interface UpsertLapseDto {
|
|
19439
|
+
/**
|
|
19440
|
+
* Opening time (HH:mm)
|
|
19441
|
+
* @type {string}
|
|
19442
|
+
* @memberof UpsertLapseDto
|
|
19443
|
+
*/
|
|
19444
|
+
'opening_time': string;
|
|
19445
|
+
/**
|
|
19446
|
+
* Closing time (HH:mm)
|
|
19447
|
+
* @type {string}
|
|
19448
|
+
* @memberof UpsertLapseDto
|
|
19449
|
+
*/
|
|
19450
|
+
'closing_time': string;
|
|
19451
|
+
/**
|
|
19452
|
+
* Number of days the closing time spills over into (e.g. 1 = closes next day)
|
|
19453
|
+
* @type {number}
|
|
19454
|
+
* @memberof UpsertLapseDto
|
|
19455
|
+
*/
|
|
19456
|
+
'closing_day_offset'?: number;
|
|
19457
|
+
}
|
|
18823
19458
|
/**
|
|
18824
19459
|
*
|
|
18825
19460
|
* @export
|
|
@@ -19090,6 +19725,37 @@ export interface UpsertProductPrintPolicyDto {
|
|
|
19090
19725
|
*/
|
|
19091
19726
|
'printerId': number;
|
|
19092
19727
|
}
|
|
19728
|
+
/**
|
|
19729
|
+
*
|
|
19730
|
+
* @export
|
|
19731
|
+
* @interface UpsertScheduleDayDto
|
|
19732
|
+
*/
|
|
19733
|
+
export interface UpsertScheduleDayDto {
|
|
19734
|
+
/**
|
|
19735
|
+
*
|
|
19736
|
+
* @type {DayOfWeek}
|
|
19737
|
+
* @memberof UpsertScheduleDayDto
|
|
19738
|
+
*/
|
|
19739
|
+
'day': DayOfWeek;
|
|
19740
|
+
/**
|
|
19741
|
+
* Whether the business is open on this day
|
|
19742
|
+
* @type {boolean}
|
|
19743
|
+
* @memberof UpsertScheduleDayDto
|
|
19744
|
+
*/
|
|
19745
|
+
'enabled': boolean;
|
|
19746
|
+
/**
|
|
19747
|
+
*
|
|
19748
|
+
* @type {ScheduleType}
|
|
19749
|
+
* @memberof UpsertScheduleDayDto
|
|
19750
|
+
*/
|
|
19751
|
+
'type'?: ScheduleType;
|
|
19752
|
+
/**
|
|
19753
|
+
* Opening time ranges for this day
|
|
19754
|
+
* @type {Array<UpsertLapseDto>}
|
|
19755
|
+
* @memberof UpsertScheduleDayDto
|
|
19756
|
+
*/
|
|
19757
|
+
'lapses': Array<UpsertLapseDto>;
|
|
19758
|
+
}
|
|
19093
19759
|
/**
|
|
19094
19760
|
*
|
|
19095
19761
|
* @export
|
|
@@ -23797,6 +24463,81 @@ export declare class BusinessProviderPolicyApi extends BaseAPI implements Busine
|
|
|
23797
24463
|
*/
|
|
23798
24464
|
updatePosGlobalSettings(businessId: number, updatePosGlobalSettingsDto: UpdatePosGlobalSettingsDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PosGlobalSettingsResponseDto, any, {}>>;
|
|
23799
24465
|
}
|
|
24466
|
+
/**
|
|
24467
|
+
* BusinessScheduleApi - axios parameter creator
|
|
24468
|
+
* @export
|
|
24469
|
+
*/
|
|
24470
|
+
export declare const BusinessScheduleApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24471
|
+
/**
|
|
24472
|
+
*
|
|
24473
|
+
* @param {number} businessId
|
|
24474
|
+
* @param {UpsertBusinessScheduleDto} upsertBusinessScheduleDto
|
|
24475
|
+
* @param {*} [options] Override http request option.
|
|
24476
|
+
* @throws {RequiredError}
|
|
24477
|
+
*/
|
|
24478
|
+
upsertSchedule: (businessId: number, upsertBusinessScheduleDto: UpsertBusinessScheduleDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24479
|
+
};
|
|
24480
|
+
/**
|
|
24481
|
+
* BusinessScheduleApi - functional programming interface
|
|
24482
|
+
* @export
|
|
24483
|
+
*/
|
|
24484
|
+
export declare const BusinessScheduleApiFp: (configuration?: Configuration) => {
|
|
24485
|
+
/**
|
|
24486
|
+
*
|
|
24487
|
+
* @param {number} businessId
|
|
24488
|
+
* @param {UpsertBusinessScheduleDto} upsertBusinessScheduleDto
|
|
24489
|
+
* @param {*} [options] Override http request option.
|
|
24490
|
+
* @throws {RequiredError}
|
|
24491
|
+
*/
|
|
24492
|
+
upsertSchedule(businessId: number, upsertBusinessScheduleDto: UpsertBusinessScheduleDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpsertBusinessScheduleResponseDto>>;
|
|
24493
|
+
};
|
|
24494
|
+
/**
|
|
24495
|
+
* BusinessScheduleApi - factory interface
|
|
24496
|
+
* @export
|
|
24497
|
+
*/
|
|
24498
|
+
export declare const BusinessScheduleApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
24499
|
+
/**
|
|
24500
|
+
*
|
|
24501
|
+
* @param {number} businessId
|
|
24502
|
+
* @param {UpsertBusinessScheduleDto} upsertBusinessScheduleDto
|
|
24503
|
+
* @param {*} [options] Override http request option.
|
|
24504
|
+
* @throws {RequiredError}
|
|
24505
|
+
*/
|
|
24506
|
+
upsertSchedule(businessId: number, upsertBusinessScheduleDto: UpsertBusinessScheduleDto, options?: any): AxiosPromise<UpsertBusinessScheduleResponseDto>;
|
|
24507
|
+
};
|
|
24508
|
+
/**
|
|
24509
|
+
* BusinessScheduleApi - interface
|
|
24510
|
+
* @export
|
|
24511
|
+
* @interface BusinessScheduleApi
|
|
24512
|
+
*/
|
|
24513
|
+
export interface BusinessScheduleApiInterface {
|
|
24514
|
+
/**
|
|
24515
|
+
*
|
|
24516
|
+
* @param {number} businessId
|
|
24517
|
+
* @param {UpsertBusinessScheduleDto} upsertBusinessScheduleDto
|
|
24518
|
+
* @param {*} [options] Override http request option.
|
|
24519
|
+
* @throws {RequiredError}
|
|
24520
|
+
* @memberof BusinessScheduleApiInterface
|
|
24521
|
+
*/
|
|
24522
|
+
upsertSchedule(businessId: number, upsertBusinessScheduleDto: UpsertBusinessScheduleDto, options?: AxiosRequestConfig): AxiosPromise<UpsertBusinessScheduleResponseDto>;
|
|
24523
|
+
}
|
|
24524
|
+
/**
|
|
24525
|
+
* BusinessScheduleApi - object-oriented interface
|
|
24526
|
+
* @export
|
|
24527
|
+
* @class BusinessScheduleApi
|
|
24528
|
+
* @extends {BaseAPI}
|
|
24529
|
+
*/
|
|
24530
|
+
export declare class BusinessScheduleApi extends BaseAPI implements BusinessScheduleApiInterface {
|
|
24531
|
+
/**
|
|
24532
|
+
*
|
|
24533
|
+
* @param {number} businessId
|
|
24534
|
+
* @param {UpsertBusinessScheduleDto} upsertBusinessScheduleDto
|
|
24535
|
+
* @param {*} [options] Override http request option.
|
|
24536
|
+
* @throws {RequiredError}
|
|
24537
|
+
* @memberof BusinessScheduleApi
|
|
24538
|
+
*/
|
|
24539
|
+
upsertSchedule(businessId: number, upsertBusinessScheduleDto: UpsertBusinessScheduleDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpsertBusinessScheduleResponseDto, any, {}>>;
|
|
24540
|
+
}
|
|
23800
24541
|
/**
|
|
23801
24542
|
* CashManagementApi - axios parameter creator
|
|
23802
24543
|
* @export
|
|
@@ -24852,6 +25593,467 @@ export declare class EmployeesApi extends BaseAPI implements EmployeesApiInterfa
|
|
|
24852
25593
|
*/
|
|
24853
25594
|
createAssignment(businessId: number, createEmployeeAssignmentDto: CreateEmployeeAssignmentDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EmployeeAssignmentResponseDto, any, {}>>;
|
|
24854
25595
|
}
|
|
25596
|
+
/**
|
|
25597
|
+
* FloorPlanApi - axios parameter creator
|
|
25598
|
+
* @export
|
|
25599
|
+
*/
|
|
25600
|
+
export declare const FloorPlanApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25601
|
+
/**
|
|
25602
|
+
*
|
|
25603
|
+
* @summary Create a dining table
|
|
25604
|
+
* @param {CreateDiningTableDto} createDiningTableDto
|
|
25605
|
+
* @param {*} [options] Override http request option.
|
|
25606
|
+
* @throws {RequiredError}
|
|
25607
|
+
*/
|
|
25608
|
+
createDiningTable: (createDiningTableDto: CreateDiningTableDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25609
|
+
/**
|
|
25610
|
+
*
|
|
25611
|
+
* @summary Create a floor section
|
|
25612
|
+
* @param {CreateFloorSectionDto} createFloorSectionDto
|
|
25613
|
+
* @param {*} [options] Override http request option.
|
|
25614
|
+
* @throws {RequiredError}
|
|
25615
|
+
*/
|
|
25616
|
+
createFloorSection: (createFloorSectionDto: CreateFloorSectionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25617
|
+
/**
|
|
25618
|
+
*
|
|
25619
|
+
* @summary Delete a dining table
|
|
25620
|
+
* @param {string} id
|
|
25621
|
+
* @param {number} businessId
|
|
25622
|
+
* @param {*} [options] Override http request option.
|
|
25623
|
+
* @throws {RequiredError}
|
|
25624
|
+
*/
|
|
25625
|
+
deleteDiningTable: (id: string, businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25626
|
+
/**
|
|
25627
|
+
*
|
|
25628
|
+
* @summary Delete a floor section
|
|
25629
|
+
* @param {string} id
|
|
25630
|
+
* @param {number} businessId
|
|
25631
|
+
* @param {*} [options] Override http request option.
|
|
25632
|
+
* @throws {RequiredError}
|
|
25633
|
+
*/
|
|
25634
|
+
deleteFloorSection: (id: string, businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25635
|
+
/**
|
|
25636
|
+
*
|
|
25637
|
+
* @summary Get the full floor plan for a business
|
|
25638
|
+
* @param {number} businessId
|
|
25639
|
+
* @param {*} [options] Override http request option.
|
|
25640
|
+
* @throws {RequiredError}
|
|
25641
|
+
*/
|
|
25642
|
+
getFloorPlan: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25643
|
+
/**
|
|
25644
|
+
*
|
|
25645
|
+
* @summary Update a dining table
|
|
25646
|
+
* @param {string} id
|
|
25647
|
+
* @param {number} businessId
|
|
25648
|
+
* @param {UpdateDiningTableDto} updateDiningTableDto
|
|
25649
|
+
* @param {*} [options] Override http request option.
|
|
25650
|
+
* @throws {RequiredError}
|
|
25651
|
+
*/
|
|
25652
|
+
updateDiningTable: (id: string, businessId: number, updateDiningTableDto: UpdateDiningTableDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25653
|
+
/**
|
|
25654
|
+
*
|
|
25655
|
+
* @summary Update a floor section
|
|
25656
|
+
* @param {string} id
|
|
25657
|
+
* @param {number} businessId
|
|
25658
|
+
* @param {UpdateFloorSectionDto} updateFloorSectionDto
|
|
25659
|
+
* @param {*} [options] Override http request option.
|
|
25660
|
+
* @throws {RequiredError}
|
|
25661
|
+
*/
|
|
25662
|
+
updateFloorSection: (id: string, businessId: number, updateFloorSectionDto: UpdateFloorSectionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25663
|
+
/**
|
|
25664
|
+
*
|
|
25665
|
+
* @summary Update a dining table position
|
|
25666
|
+
* @param {string} id
|
|
25667
|
+
* @param {number} businessId
|
|
25668
|
+
* @param {UpdateTablePositionDto} updateTablePositionDto
|
|
25669
|
+
* @param {*} [options] Override http request option.
|
|
25670
|
+
* @throws {RequiredError}
|
|
25671
|
+
*/
|
|
25672
|
+
updateTablePosition: (id: string, businessId: number, updateTablePositionDto: UpdateTablePositionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25673
|
+
/**
|
|
25674
|
+
*
|
|
25675
|
+
* @summary Update a dining table status
|
|
25676
|
+
* @param {string} id
|
|
25677
|
+
* @param {number} businessId
|
|
25678
|
+
* @param {UpdateTableStatusDto} updateTableStatusDto
|
|
25679
|
+
* @param {*} [options] Override http request option.
|
|
25680
|
+
* @throws {RequiredError}
|
|
25681
|
+
*/
|
|
25682
|
+
updateTableStatus: (id: string, businessId: number, updateTableStatusDto: UpdateTableStatusDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25683
|
+
};
|
|
25684
|
+
/**
|
|
25685
|
+
* FloorPlanApi - functional programming interface
|
|
25686
|
+
* @export
|
|
25687
|
+
*/
|
|
25688
|
+
export declare const FloorPlanApiFp: (configuration?: Configuration) => {
|
|
25689
|
+
/**
|
|
25690
|
+
*
|
|
25691
|
+
* @summary Create a dining table
|
|
25692
|
+
* @param {CreateDiningTableDto} createDiningTableDto
|
|
25693
|
+
* @param {*} [options] Override http request option.
|
|
25694
|
+
* @throws {RequiredError}
|
|
25695
|
+
*/
|
|
25696
|
+
createDiningTable(createDiningTableDto: CreateDiningTableDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiningTableResponseDto>>;
|
|
25697
|
+
/**
|
|
25698
|
+
*
|
|
25699
|
+
* @summary Create a floor section
|
|
25700
|
+
* @param {CreateFloorSectionDto} createFloorSectionDto
|
|
25701
|
+
* @param {*} [options] Override http request option.
|
|
25702
|
+
* @throws {RequiredError}
|
|
25703
|
+
*/
|
|
25704
|
+
createFloorSection(createFloorSectionDto: CreateFloorSectionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FloorSectionResponseDto>>;
|
|
25705
|
+
/**
|
|
25706
|
+
*
|
|
25707
|
+
* @summary Delete a dining table
|
|
25708
|
+
* @param {string} id
|
|
25709
|
+
* @param {number} businessId
|
|
25710
|
+
* @param {*} [options] Override http request option.
|
|
25711
|
+
* @throws {RequiredError}
|
|
25712
|
+
*/
|
|
25713
|
+
deleteDiningTable(id: string, businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
25714
|
+
/**
|
|
25715
|
+
*
|
|
25716
|
+
* @summary Delete a floor section
|
|
25717
|
+
* @param {string} id
|
|
25718
|
+
* @param {number} businessId
|
|
25719
|
+
* @param {*} [options] Override http request option.
|
|
25720
|
+
* @throws {RequiredError}
|
|
25721
|
+
*/
|
|
25722
|
+
deleteFloorSection(id: string, businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
25723
|
+
/**
|
|
25724
|
+
*
|
|
25725
|
+
* @summary Get the full floor plan for a business
|
|
25726
|
+
* @param {number} businessId
|
|
25727
|
+
* @param {*} [options] Override http request option.
|
|
25728
|
+
* @throws {RequiredError}
|
|
25729
|
+
*/
|
|
25730
|
+
getFloorPlan(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FloorSectionResponseDto>>>;
|
|
25731
|
+
/**
|
|
25732
|
+
*
|
|
25733
|
+
* @summary Update a dining table
|
|
25734
|
+
* @param {string} id
|
|
25735
|
+
* @param {number} businessId
|
|
25736
|
+
* @param {UpdateDiningTableDto} updateDiningTableDto
|
|
25737
|
+
* @param {*} [options] Override http request option.
|
|
25738
|
+
* @throws {RequiredError}
|
|
25739
|
+
*/
|
|
25740
|
+
updateDiningTable(id: string, businessId: number, updateDiningTableDto: UpdateDiningTableDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiningTableResponseDto>>;
|
|
25741
|
+
/**
|
|
25742
|
+
*
|
|
25743
|
+
* @summary Update a floor section
|
|
25744
|
+
* @param {string} id
|
|
25745
|
+
* @param {number} businessId
|
|
25746
|
+
* @param {UpdateFloorSectionDto} updateFloorSectionDto
|
|
25747
|
+
* @param {*} [options] Override http request option.
|
|
25748
|
+
* @throws {RequiredError}
|
|
25749
|
+
*/
|
|
25750
|
+
updateFloorSection(id: string, businessId: number, updateFloorSectionDto: UpdateFloorSectionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FloorSectionResponseDto>>;
|
|
25751
|
+
/**
|
|
25752
|
+
*
|
|
25753
|
+
* @summary Update a dining table position
|
|
25754
|
+
* @param {string} id
|
|
25755
|
+
* @param {number} businessId
|
|
25756
|
+
* @param {UpdateTablePositionDto} updateTablePositionDto
|
|
25757
|
+
* @param {*} [options] Override http request option.
|
|
25758
|
+
* @throws {RequiredError}
|
|
25759
|
+
*/
|
|
25760
|
+
updateTablePosition(id: string, businessId: number, updateTablePositionDto: UpdateTablePositionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiningTableResponseDto>>;
|
|
25761
|
+
/**
|
|
25762
|
+
*
|
|
25763
|
+
* @summary Update a dining table status
|
|
25764
|
+
* @param {string} id
|
|
25765
|
+
* @param {number} businessId
|
|
25766
|
+
* @param {UpdateTableStatusDto} updateTableStatusDto
|
|
25767
|
+
* @param {*} [options] Override http request option.
|
|
25768
|
+
* @throws {RequiredError}
|
|
25769
|
+
*/
|
|
25770
|
+
updateTableStatus(id: string, businessId: number, updateTableStatusDto: UpdateTableStatusDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiningTableResponseDto>>;
|
|
25771
|
+
};
|
|
25772
|
+
/**
|
|
25773
|
+
* FloorPlanApi - factory interface
|
|
25774
|
+
* @export
|
|
25775
|
+
*/
|
|
25776
|
+
export declare const FloorPlanApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
25777
|
+
/**
|
|
25778
|
+
*
|
|
25779
|
+
* @summary Create a dining table
|
|
25780
|
+
* @param {CreateDiningTableDto} createDiningTableDto
|
|
25781
|
+
* @param {*} [options] Override http request option.
|
|
25782
|
+
* @throws {RequiredError}
|
|
25783
|
+
*/
|
|
25784
|
+
createDiningTable(createDiningTableDto: CreateDiningTableDto, options?: any): AxiosPromise<DiningTableResponseDto>;
|
|
25785
|
+
/**
|
|
25786
|
+
*
|
|
25787
|
+
* @summary Create a floor section
|
|
25788
|
+
* @param {CreateFloorSectionDto} createFloorSectionDto
|
|
25789
|
+
* @param {*} [options] Override http request option.
|
|
25790
|
+
* @throws {RequiredError}
|
|
25791
|
+
*/
|
|
25792
|
+
createFloorSection(createFloorSectionDto: CreateFloorSectionDto, options?: any): AxiosPromise<FloorSectionResponseDto>;
|
|
25793
|
+
/**
|
|
25794
|
+
*
|
|
25795
|
+
* @summary Delete a dining table
|
|
25796
|
+
* @param {string} id
|
|
25797
|
+
* @param {number} businessId
|
|
25798
|
+
* @param {*} [options] Override http request option.
|
|
25799
|
+
* @throws {RequiredError}
|
|
25800
|
+
*/
|
|
25801
|
+
deleteDiningTable(id: string, businessId: number, options?: any): AxiosPromise<void>;
|
|
25802
|
+
/**
|
|
25803
|
+
*
|
|
25804
|
+
* @summary Delete a floor section
|
|
25805
|
+
* @param {string} id
|
|
25806
|
+
* @param {number} businessId
|
|
25807
|
+
* @param {*} [options] Override http request option.
|
|
25808
|
+
* @throws {RequiredError}
|
|
25809
|
+
*/
|
|
25810
|
+
deleteFloorSection(id: string, businessId: number, options?: any): AxiosPromise<void>;
|
|
25811
|
+
/**
|
|
25812
|
+
*
|
|
25813
|
+
* @summary Get the full floor plan for a business
|
|
25814
|
+
* @param {number} businessId
|
|
25815
|
+
* @param {*} [options] Override http request option.
|
|
25816
|
+
* @throws {RequiredError}
|
|
25817
|
+
*/
|
|
25818
|
+
getFloorPlan(businessId: number, options?: any): AxiosPromise<Array<FloorSectionResponseDto>>;
|
|
25819
|
+
/**
|
|
25820
|
+
*
|
|
25821
|
+
* @summary Update a dining table
|
|
25822
|
+
* @param {string} id
|
|
25823
|
+
* @param {number} businessId
|
|
25824
|
+
* @param {UpdateDiningTableDto} updateDiningTableDto
|
|
25825
|
+
* @param {*} [options] Override http request option.
|
|
25826
|
+
* @throws {RequiredError}
|
|
25827
|
+
*/
|
|
25828
|
+
updateDiningTable(id: string, businessId: number, updateDiningTableDto: UpdateDiningTableDto, options?: any): AxiosPromise<DiningTableResponseDto>;
|
|
25829
|
+
/**
|
|
25830
|
+
*
|
|
25831
|
+
* @summary Update a floor section
|
|
25832
|
+
* @param {string} id
|
|
25833
|
+
* @param {number} businessId
|
|
25834
|
+
* @param {UpdateFloorSectionDto} updateFloorSectionDto
|
|
25835
|
+
* @param {*} [options] Override http request option.
|
|
25836
|
+
* @throws {RequiredError}
|
|
25837
|
+
*/
|
|
25838
|
+
updateFloorSection(id: string, businessId: number, updateFloorSectionDto: UpdateFloorSectionDto, options?: any): AxiosPromise<FloorSectionResponseDto>;
|
|
25839
|
+
/**
|
|
25840
|
+
*
|
|
25841
|
+
* @summary Update a dining table position
|
|
25842
|
+
* @param {string} id
|
|
25843
|
+
* @param {number} businessId
|
|
25844
|
+
* @param {UpdateTablePositionDto} updateTablePositionDto
|
|
25845
|
+
* @param {*} [options] Override http request option.
|
|
25846
|
+
* @throws {RequiredError}
|
|
25847
|
+
*/
|
|
25848
|
+
updateTablePosition(id: string, businessId: number, updateTablePositionDto: UpdateTablePositionDto, options?: any): AxiosPromise<DiningTableResponseDto>;
|
|
25849
|
+
/**
|
|
25850
|
+
*
|
|
25851
|
+
* @summary Update a dining table status
|
|
25852
|
+
* @param {string} id
|
|
25853
|
+
* @param {number} businessId
|
|
25854
|
+
* @param {UpdateTableStatusDto} updateTableStatusDto
|
|
25855
|
+
* @param {*} [options] Override http request option.
|
|
25856
|
+
* @throws {RequiredError}
|
|
25857
|
+
*/
|
|
25858
|
+
updateTableStatus(id: string, businessId: number, updateTableStatusDto: UpdateTableStatusDto, options?: any): AxiosPromise<DiningTableResponseDto>;
|
|
25859
|
+
};
|
|
25860
|
+
/**
|
|
25861
|
+
* FloorPlanApi - interface
|
|
25862
|
+
* @export
|
|
25863
|
+
* @interface FloorPlanApi
|
|
25864
|
+
*/
|
|
25865
|
+
export interface FloorPlanApiInterface {
|
|
25866
|
+
/**
|
|
25867
|
+
*
|
|
25868
|
+
* @summary Create a dining table
|
|
25869
|
+
* @param {CreateDiningTableDto} createDiningTableDto
|
|
25870
|
+
* @param {*} [options] Override http request option.
|
|
25871
|
+
* @throws {RequiredError}
|
|
25872
|
+
* @memberof FloorPlanApiInterface
|
|
25873
|
+
*/
|
|
25874
|
+
createDiningTable(createDiningTableDto: CreateDiningTableDto, options?: AxiosRequestConfig): AxiosPromise<DiningTableResponseDto>;
|
|
25875
|
+
/**
|
|
25876
|
+
*
|
|
25877
|
+
* @summary Create a floor section
|
|
25878
|
+
* @param {CreateFloorSectionDto} createFloorSectionDto
|
|
25879
|
+
* @param {*} [options] Override http request option.
|
|
25880
|
+
* @throws {RequiredError}
|
|
25881
|
+
* @memberof FloorPlanApiInterface
|
|
25882
|
+
*/
|
|
25883
|
+
createFloorSection(createFloorSectionDto: CreateFloorSectionDto, options?: AxiosRequestConfig): AxiosPromise<FloorSectionResponseDto>;
|
|
25884
|
+
/**
|
|
25885
|
+
*
|
|
25886
|
+
* @summary Delete a dining table
|
|
25887
|
+
* @param {string} id
|
|
25888
|
+
* @param {number} businessId
|
|
25889
|
+
* @param {*} [options] Override http request option.
|
|
25890
|
+
* @throws {RequiredError}
|
|
25891
|
+
* @memberof FloorPlanApiInterface
|
|
25892
|
+
*/
|
|
25893
|
+
deleteDiningTable(id: string, businessId: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
25894
|
+
/**
|
|
25895
|
+
*
|
|
25896
|
+
* @summary Delete a floor section
|
|
25897
|
+
* @param {string} id
|
|
25898
|
+
* @param {number} businessId
|
|
25899
|
+
* @param {*} [options] Override http request option.
|
|
25900
|
+
* @throws {RequiredError}
|
|
25901
|
+
* @memberof FloorPlanApiInterface
|
|
25902
|
+
*/
|
|
25903
|
+
deleteFloorSection(id: string, businessId: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
25904
|
+
/**
|
|
25905
|
+
*
|
|
25906
|
+
* @summary Get the full floor plan for a business
|
|
25907
|
+
* @param {number} businessId
|
|
25908
|
+
* @param {*} [options] Override http request option.
|
|
25909
|
+
* @throws {RequiredError}
|
|
25910
|
+
* @memberof FloorPlanApiInterface
|
|
25911
|
+
*/
|
|
25912
|
+
getFloorPlan(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<FloorSectionResponseDto>>;
|
|
25913
|
+
/**
|
|
25914
|
+
*
|
|
25915
|
+
* @summary Update a dining table
|
|
25916
|
+
* @param {string} id
|
|
25917
|
+
* @param {number} businessId
|
|
25918
|
+
* @param {UpdateDiningTableDto} updateDiningTableDto
|
|
25919
|
+
* @param {*} [options] Override http request option.
|
|
25920
|
+
* @throws {RequiredError}
|
|
25921
|
+
* @memberof FloorPlanApiInterface
|
|
25922
|
+
*/
|
|
25923
|
+
updateDiningTable(id: string, businessId: number, updateDiningTableDto: UpdateDiningTableDto, options?: AxiosRequestConfig): AxiosPromise<DiningTableResponseDto>;
|
|
25924
|
+
/**
|
|
25925
|
+
*
|
|
25926
|
+
* @summary Update a floor section
|
|
25927
|
+
* @param {string} id
|
|
25928
|
+
* @param {number} businessId
|
|
25929
|
+
* @param {UpdateFloorSectionDto} updateFloorSectionDto
|
|
25930
|
+
* @param {*} [options] Override http request option.
|
|
25931
|
+
* @throws {RequiredError}
|
|
25932
|
+
* @memberof FloorPlanApiInterface
|
|
25933
|
+
*/
|
|
25934
|
+
updateFloorSection(id: string, businessId: number, updateFloorSectionDto: UpdateFloorSectionDto, options?: AxiosRequestConfig): AxiosPromise<FloorSectionResponseDto>;
|
|
25935
|
+
/**
|
|
25936
|
+
*
|
|
25937
|
+
* @summary Update a dining table position
|
|
25938
|
+
* @param {string} id
|
|
25939
|
+
* @param {number} businessId
|
|
25940
|
+
* @param {UpdateTablePositionDto} updateTablePositionDto
|
|
25941
|
+
* @param {*} [options] Override http request option.
|
|
25942
|
+
* @throws {RequiredError}
|
|
25943
|
+
* @memberof FloorPlanApiInterface
|
|
25944
|
+
*/
|
|
25945
|
+
updateTablePosition(id: string, businessId: number, updateTablePositionDto: UpdateTablePositionDto, options?: AxiosRequestConfig): AxiosPromise<DiningTableResponseDto>;
|
|
25946
|
+
/**
|
|
25947
|
+
*
|
|
25948
|
+
* @summary Update a dining table status
|
|
25949
|
+
* @param {string} id
|
|
25950
|
+
* @param {number} businessId
|
|
25951
|
+
* @param {UpdateTableStatusDto} updateTableStatusDto
|
|
25952
|
+
* @param {*} [options] Override http request option.
|
|
25953
|
+
* @throws {RequiredError}
|
|
25954
|
+
* @memberof FloorPlanApiInterface
|
|
25955
|
+
*/
|
|
25956
|
+
updateTableStatus(id: string, businessId: number, updateTableStatusDto: UpdateTableStatusDto, options?: AxiosRequestConfig): AxiosPromise<DiningTableResponseDto>;
|
|
25957
|
+
}
|
|
25958
|
+
/**
|
|
25959
|
+
* FloorPlanApi - object-oriented interface
|
|
25960
|
+
* @export
|
|
25961
|
+
* @class FloorPlanApi
|
|
25962
|
+
* @extends {BaseAPI}
|
|
25963
|
+
*/
|
|
25964
|
+
export declare class FloorPlanApi extends BaseAPI implements FloorPlanApiInterface {
|
|
25965
|
+
/**
|
|
25966
|
+
*
|
|
25967
|
+
* @summary Create a dining table
|
|
25968
|
+
* @param {CreateDiningTableDto} createDiningTableDto
|
|
25969
|
+
* @param {*} [options] Override http request option.
|
|
25970
|
+
* @throws {RequiredError}
|
|
25971
|
+
* @memberof FloorPlanApi
|
|
25972
|
+
*/
|
|
25973
|
+
createDiningTable(createDiningTableDto: CreateDiningTableDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DiningTableResponseDto, any, {}>>;
|
|
25974
|
+
/**
|
|
25975
|
+
*
|
|
25976
|
+
* @summary Create a floor section
|
|
25977
|
+
* @param {CreateFloorSectionDto} createFloorSectionDto
|
|
25978
|
+
* @param {*} [options] Override http request option.
|
|
25979
|
+
* @throws {RequiredError}
|
|
25980
|
+
* @memberof FloorPlanApi
|
|
25981
|
+
*/
|
|
25982
|
+
createFloorSection(createFloorSectionDto: CreateFloorSectionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FloorSectionResponseDto, any, {}>>;
|
|
25983
|
+
/**
|
|
25984
|
+
*
|
|
25985
|
+
* @summary Delete a dining table
|
|
25986
|
+
* @param {string} id
|
|
25987
|
+
* @param {number} businessId
|
|
25988
|
+
* @param {*} [options] Override http request option.
|
|
25989
|
+
* @throws {RequiredError}
|
|
25990
|
+
* @memberof FloorPlanApi
|
|
25991
|
+
*/
|
|
25992
|
+
deleteDiningTable(id: string, businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
25993
|
+
/**
|
|
25994
|
+
*
|
|
25995
|
+
* @summary Delete a floor section
|
|
25996
|
+
* @param {string} id
|
|
25997
|
+
* @param {number} businessId
|
|
25998
|
+
* @param {*} [options] Override http request option.
|
|
25999
|
+
* @throws {RequiredError}
|
|
26000
|
+
* @memberof FloorPlanApi
|
|
26001
|
+
*/
|
|
26002
|
+
deleteFloorSection(id: string, businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
26003
|
+
/**
|
|
26004
|
+
*
|
|
26005
|
+
* @summary Get the full floor plan for a business
|
|
26006
|
+
* @param {number} businessId
|
|
26007
|
+
* @param {*} [options] Override http request option.
|
|
26008
|
+
* @throws {RequiredError}
|
|
26009
|
+
* @memberof FloorPlanApi
|
|
26010
|
+
*/
|
|
26011
|
+
getFloorPlan(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FloorSectionResponseDto[], any, {}>>;
|
|
26012
|
+
/**
|
|
26013
|
+
*
|
|
26014
|
+
* @summary Update a dining table
|
|
26015
|
+
* @param {string} id
|
|
26016
|
+
* @param {number} businessId
|
|
26017
|
+
* @param {UpdateDiningTableDto} updateDiningTableDto
|
|
26018
|
+
* @param {*} [options] Override http request option.
|
|
26019
|
+
* @throws {RequiredError}
|
|
26020
|
+
* @memberof FloorPlanApi
|
|
26021
|
+
*/
|
|
26022
|
+
updateDiningTable(id: string, businessId: number, updateDiningTableDto: UpdateDiningTableDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DiningTableResponseDto, any, {}>>;
|
|
26023
|
+
/**
|
|
26024
|
+
*
|
|
26025
|
+
* @summary Update a floor section
|
|
26026
|
+
* @param {string} id
|
|
26027
|
+
* @param {number} businessId
|
|
26028
|
+
* @param {UpdateFloorSectionDto} updateFloorSectionDto
|
|
26029
|
+
* @param {*} [options] Override http request option.
|
|
26030
|
+
* @throws {RequiredError}
|
|
26031
|
+
* @memberof FloorPlanApi
|
|
26032
|
+
*/
|
|
26033
|
+
updateFloorSection(id: string, businessId: number, updateFloorSectionDto: UpdateFloorSectionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FloorSectionResponseDto, any, {}>>;
|
|
26034
|
+
/**
|
|
26035
|
+
*
|
|
26036
|
+
* @summary Update a dining table position
|
|
26037
|
+
* @param {string} id
|
|
26038
|
+
* @param {number} businessId
|
|
26039
|
+
* @param {UpdateTablePositionDto} updateTablePositionDto
|
|
26040
|
+
* @param {*} [options] Override http request option.
|
|
26041
|
+
* @throws {RequiredError}
|
|
26042
|
+
* @memberof FloorPlanApi
|
|
26043
|
+
*/
|
|
26044
|
+
updateTablePosition(id: string, businessId: number, updateTablePositionDto: UpdateTablePositionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DiningTableResponseDto, any, {}>>;
|
|
26045
|
+
/**
|
|
26046
|
+
*
|
|
26047
|
+
* @summary Update a dining table status
|
|
26048
|
+
* @param {string} id
|
|
26049
|
+
* @param {number} businessId
|
|
26050
|
+
* @param {UpdateTableStatusDto} updateTableStatusDto
|
|
26051
|
+
* @param {*} [options] Override http request option.
|
|
26052
|
+
* @throws {RequiredError}
|
|
26053
|
+
* @memberof FloorPlanApi
|
|
26054
|
+
*/
|
|
26055
|
+
updateTableStatus(id: string, businessId: number, updateTableStatusDto: UpdateTableStatusDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DiningTableResponseDto, any, {}>>;
|
|
26056
|
+
}
|
|
24855
26057
|
/**
|
|
24856
26058
|
* GiftcardApi - axios parameter creator
|
|
24857
26059
|
* @export
|