@munchi_oy/core 1.9.27 → 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/dist/generated/api.d.ts +1181 -1
- 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 +1720 -32
- package/package.json +16 -14
- 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
|
|
@@ -5190,6 +5436,55 @@ export interface FirebaseTokenDto {
|
|
|
5190
5436
|
*/
|
|
5191
5437
|
'customToken': string;
|
|
5192
5438
|
}
|
|
5439
|
+
/**
|
|
5440
|
+
*
|
|
5441
|
+
* @export
|
|
5442
|
+
* @interface FloorSectionResponseDto
|
|
5443
|
+
*/
|
|
5444
|
+
export interface FloorSectionResponseDto {
|
|
5445
|
+
/**
|
|
5446
|
+
*
|
|
5447
|
+
* @type {string}
|
|
5448
|
+
* @memberof FloorSectionResponseDto
|
|
5449
|
+
*/
|
|
5450
|
+
'id': string;
|
|
5451
|
+
/**
|
|
5452
|
+
*
|
|
5453
|
+
* @type {number}
|
|
5454
|
+
* @memberof FloorSectionResponseDto
|
|
5455
|
+
*/
|
|
5456
|
+
'orderingBusinessId': number;
|
|
5457
|
+
/**
|
|
5458
|
+
*
|
|
5459
|
+
* @type {string}
|
|
5460
|
+
* @memberof FloorSectionResponseDto
|
|
5461
|
+
*/
|
|
5462
|
+
'name': string;
|
|
5463
|
+
/**
|
|
5464
|
+
*
|
|
5465
|
+
* @type {number}
|
|
5466
|
+
* @memberof FloorSectionResponseDto
|
|
5467
|
+
*/
|
|
5468
|
+
'sortOrder': number;
|
|
5469
|
+
/**
|
|
5470
|
+
*
|
|
5471
|
+
* @type {Array<DiningTableResponseDto>}
|
|
5472
|
+
* @memberof FloorSectionResponseDto
|
|
5473
|
+
*/
|
|
5474
|
+
'tables': Array<DiningTableResponseDto>;
|
|
5475
|
+
/**
|
|
5476
|
+
*
|
|
5477
|
+
* @type {string}
|
|
5478
|
+
* @memberof FloorSectionResponseDto
|
|
5479
|
+
*/
|
|
5480
|
+
'createdAt': string;
|
|
5481
|
+
/**
|
|
5482
|
+
*
|
|
5483
|
+
* @type {string}
|
|
5484
|
+
* @memberof FloorSectionResponseDto
|
|
5485
|
+
*/
|
|
5486
|
+
'updatedAt': string;
|
|
5487
|
+
}
|
|
5193
5488
|
/**
|
|
5194
5489
|
*
|
|
5195
5490
|
* @export
|
|
@@ -7111,6 +7406,37 @@ export interface LapseDtoOpen {
|
|
|
7111
7406
|
*/
|
|
7112
7407
|
'minute': number;
|
|
7113
7408
|
}
|
|
7409
|
+
/**
|
|
7410
|
+
*
|
|
7411
|
+
* @export
|
|
7412
|
+
* @interface LapseResponseDto
|
|
7413
|
+
*/
|
|
7414
|
+
export interface LapseResponseDto {
|
|
7415
|
+
/**
|
|
7416
|
+
*
|
|
7417
|
+
* @type {string}
|
|
7418
|
+
* @memberof LapseResponseDto
|
|
7419
|
+
*/
|
|
7420
|
+
'id': string;
|
|
7421
|
+
/**
|
|
7422
|
+
*
|
|
7423
|
+
* @type {string}
|
|
7424
|
+
* @memberof LapseResponseDto
|
|
7425
|
+
*/
|
|
7426
|
+
'opening_time': string;
|
|
7427
|
+
/**
|
|
7428
|
+
*
|
|
7429
|
+
* @type {string}
|
|
7430
|
+
* @memberof LapseResponseDto
|
|
7431
|
+
*/
|
|
7432
|
+
'closing_time': string;
|
|
7433
|
+
/**
|
|
7434
|
+
*
|
|
7435
|
+
* @type {number}
|
|
7436
|
+
* @memberof LapseResponseDto
|
|
7437
|
+
*/
|
|
7438
|
+
'closing_day_offset': number;
|
|
7439
|
+
}
|
|
7114
7440
|
/**
|
|
7115
7441
|
*
|
|
7116
7442
|
* @export
|
|
@@ -15838,6 +16164,49 @@ export interface SalesSummaryDtoV2 {
|
|
|
15838
16164
|
*/
|
|
15839
16165
|
'totalSurchargeAmount': number;
|
|
15840
16166
|
}
|
|
16167
|
+
/**
|
|
16168
|
+
*
|
|
16169
|
+
* @export
|
|
16170
|
+
* @interface ScheduleDayResponseDto
|
|
16171
|
+
*/
|
|
16172
|
+
export interface ScheduleDayResponseDto {
|
|
16173
|
+
/**
|
|
16174
|
+
*
|
|
16175
|
+
* @type {string}
|
|
16176
|
+
* @memberof ScheduleDayResponseDto
|
|
16177
|
+
*/
|
|
16178
|
+
'id': string;
|
|
16179
|
+
/**
|
|
16180
|
+
*
|
|
16181
|
+
* @type {DayOfWeek}
|
|
16182
|
+
* @memberof ScheduleDayResponseDto
|
|
16183
|
+
*/
|
|
16184
|
+
'day': DayOfWeek;
|
|
16185
|
+
/**
|
|
16186
|
+
*
|
|
16187
|
+
* @type {boolean}
|
|
16188
|
+
* @memberof ScheduleDayResponseDto
|
|
16189
|
+
*/
|
|
16190
|
+
'enabled': boolean;
|
|
16191
|
+
/**
|
|
16192
|
+
*
|
|
16193
|
+
* @type {ScheduleType}
|
|
16194
|
+
* @memberof ScheduleDayResponseDto
|
|
16195
|
+
*/
|
|
16196
|
+
'type': ScheduleType;
|
|
16197
|
+
/**
|
|
16198
|
+
* Business cuid
|
|
16199
|
+
* @type {string}
|
|
16200
|
+
* @memberof ScheduleDayResponseDto
|
|
16201
|
+
*/
|
|
16202
|
+
'businessId': string;
|
|
16203
|
+
/**
|
|
16204
|
+
*
|
|
16205
|
+
* @type {Array<LapseResponseDto>}
|
|
16206
|
+
* @memberof ScheduleDayResponseDto
|
|
16207
|
+
*/
|
|
16208
|
+
'lapses': Array<LapseResponseDto>;
|
|
16209
|
+
}
|
|
15841
16210
|
/**
|
|
15842
16211
|
*
|
|
15843
16212
|
* @export
|
|
@@ -15860,7 +16229,16 @@ export interface ScheduleDto {
|
|
|
15860
16229
|
/**
|
|
15861
16230
|
*
|
|
15862
16231
|
* @export
|
|
15863
|
-
* @
|
|
16232
|
+
* @enum {string}
|
|
16233
|
+
*/
|
|
16234
|
+
export declare const ScheduleType: {
|
|
16235
|
+
readonly Physical: "PHYSICAL";
|
|
16236
|
+
};
|
|
16237
|
+
export type ScheduleType = typeof ScheduleType[keyof typeof ScheduleType];
|
|
16238
|
+
/**
|
|
16239
|
+
*
|
|
16240
|
+
* @export
|
|
16241
|
+
* @interface SearchUserInfoResponseDto
|
|
15864
16242
|
*/
|
|
15865
16243
|
export interface SearchUserInfoResponseDto {
|
|
15866
16244
|
/**
|
|
@@ -16629,6 +17007,30 @@ export declare const SystemProfileType: {
|
|
|
16629
17007
|
readonly NoStation: "NO_STATION";
|
|
16630
17008
|
};
|
|
16631
17009
|
export type SystemProfileType = typeof SystemProfileType[keyof typeof SystemProfileType];
|
|
17010
|
+
/**
|
|
17011
|
+
*
|
|
17012
|
+
* @export
|
|
17013
|
+
* @enum {string}
|
|
17014
|
+
*/
|
|
17015
|
+
export declare const TableShape: {
|
|
17016
|
+
readonly Round: "ROUND";
|
|
17017
|
+
readonly Square: "SQUARE";
|
|
17018
|
+
readonly Rectangle: "RECTANGLE";
|
|
17019
|
+
readonly Booth: "BOOTH";
|
|
17020
|
+
};
|
|
17021
|
+
export type TableShape = typeof TableShape[keyof typeof TableShape];
|
|
17022
|
+
/**
|
|
17023
|
+
*
|
|
17024
|
+
* @export
|
|
17025
|
+
* @enum {string}
|
|
17026
|
+
*/
|
|
17027
|
+
export declare const TableStatus: {
|
|
17028
|
+
readonly Available: "AVAILABLE";
|
|
17029
|
+
readonly Dirty: "DIRTY";
|
|
17030
|
+
readonly Blocked: "BLOCKED";
|
|
17031
|
+
readonly OutOfService: "OUT_OF_SERVICE";
|
|
17032
|
+
};
|
|
17033
|
+
export type TableStatus = typeof TableStatus[keyof typeof TableStatus];
|
|
16632
17034
|
/**
|
|
16633
17035
|
*
|
|
16634
17036
|
* @export
|
|
@@ -18488,6 +18890,110 @@ export interface UpdateChannelInventoryDto {
|
|
|
18488
18890
|
*/
|
|
18489
18891
|
'channels': Array<ChannelInventoryUpdateDto>;
|
|
18490
18892
|
}
|
|
18893
|
+
/**
|
|
18894
|
+
*
|
|
18895
|
+
* @export
|
|
18896
|
+
* @interface UpdateDiningTableDto
|
|
18897
|
+
*/
|
|
18898
|
+
export interface UpdateDiningTableDto {
|
|
18899
|
+
/**
|
|
18900
|
+
*
|
|
18901
|
+
* @type {string}
|
|
18902
|
+
* @memberof UpdateDiningTableDto
|
|
18903
|
+
*/
|
|
18904
|
+
'sectionId'?: string;
|
|
18905
|
+
/**
|
|
18906
|
+
*
|
|
18907
|
+
* @type {string}
|
|
18908
|
+
* @memberof UpdateDiningTableDto
|
|
18909
|
+
*/
|
|
18910
|
+
'label'?: string;
|
|
18911
|
+
/**
|
|
18912
|
+
*
|
|
18913
|
+
* @type {number}
|
|
18914
|
+
* @memberof UpdateDiningTableDto
|
|
18915
|
+
*/
|
|
18916
|
+
'minCapacity'?: number;
|
|
18917
|
+
/**
|
|
18918
|
+
*
|
|
18919
|
+
* @type {number}
|
|
18920
|
+
* @memberof UpdateDiningTableDto
|
|
18921
|
+
*/
|
|
18922
|
+
'maxCapacity'?: number;
|
|
18923
|
+
/**
|
|
18924
|
+
*
|
|
18925
|
+
* @type {TableShape}
|
|
18926
|
+
* @memberof UpdateDiningTableDto
|
|
18927
|
+
*/
|
|
18928
|
+
'shape'?: TableShape;
|
|
18929
|
+
/**
|
|
18930
|
+
*
|
|
18931
|
+
* @type {number}
|
|
18932
|
+
* @memberof UpdateDiningTableDto
|
|
18933
|
+
*/
|
|
18934
|
+
'posX'?: number;
|
|
18935
|
+
/**
|
|
18936
|
+
*
|
|
18937
|
+
* @type {number}
|
|
18938
|
+
* @memberof UpdateDiningTableDto
|
|
18939
|
+
*/
|
|
18940
|
+
'posY'?: number;
|
|
18941
|
+
/**
|
|
18942
|
+
*
|
|
18943
|
+
* @type {number}
|
|
18944
|
+
* @memberof UpdateDiningTableDto
|
|
18945
|
+
*/
|
|
18946
|
+
'width'?: number;
|
|
18947
|
+
/**
|
|
18948
|
+
*
|
|
18949
|
+
* @type {number}
|
|
18950
|
+
* @memberof UpdateDiningTableDto
|
|
18951
|
+
*/
|
|
18952
|
+
'height'?: number;
|
|
18953
|
+
/**
|
|
18954
|
+
*
|
|
18955
|
+
* @type {number}
|
|
18956
|
+
* @memberof UpdateDiningTableDto
|
|
18957
|
+
*/
|
|
18958
|
+
'rotation'?: number;
|
|
18959
|
+
/**
|
|
18960
|
+
*
|
|
18961
|
+
* @type {boolean}
|
|
18962
|
+
* @memberof UpdateDiningTableDto
|
|
18963
|
+
*/
|
|
18964
|
+
'bookableOnline'?: boolean;
|
|
18965
|
+
/**
|
|
18966
|
+
*
|
|
18967
|
+
* @type {boolean}
|
|
18968
|
+
* @memberof UpdateDiningTableDto
|
|
18969
|
+
*/
|
|
18970
|
+
'joinable'?: boolean;
|
|
18971
|
+
/**
|
|
18972
|
+
*
|
|
18973
|
+
* @type {string}
|
|
18974
|
+
* @memberof UpdateDiningTableDto
|
|
18975
|
+
*/
|
|
18976
|
+
'externalTableId'?: string;
|
|
18977
|
+
}
|
|
18978
|
+
/**
|
|
18979
|
+
*
|
|
18980
|
+
* @export
|
|
18981
|
+
* @interface UpdateFloorSectionDto
|
|
18982
|
+
*/
|
|
18983
|
+
export interface UpdateFloorSectionDto {
|
|
18984
|
+
/**
|
|
18985
|
+
*
|
|
18986
|
+
* @type {string}
|
|
18987
|
+
* @memberof UpdateFloorSectionDto
|
|
18988
|
+
*/
|
|
18989
|
+
'name'?: string;
|
|
18990
|
+
/**
|
|
18991
|
+
*
|
|
18992
|
+
* @type {number}
|
|
18993
|
+
* @memberof UpdateFloorSectionDto
|
|
18994
|
+
*/
|
|
18995
|
+
'sortOrder'?: number;
|
|
18996
|
+
}
|
|
18491
18997
|
/**
|
|
18492
18998
|
*
|
|
18493
18999
|
* @export
|
|
@@ -18595,6 +19101,56 @@ export interface UpdateStatusResponseDto {
|
|
|
18595
19101
|
*/
|
|
18596
19102
|
'businessId': number;
|
|
18597
19103
|
}
|
|
19104
|
+
/**
|
|
19105
|
+
*
|
|
19106
|
+
* @export
|
|
19107
|
+
* @interface UpdateTablePositionDto
|
|
19108
|
+
*/
|
|
19109
|
+
export interface UpdateTablePositionDto {
|
|
19110
|
+
/**
|
|
19111
|
+
*
|
|
19112
|
+
* @type {number}
|
|
19113
|
+
* @memberof UpdateTablePositionDto
|
|
19114
|
+
*/
|
|
19115
|
+
'posX': number;
|
|
19116
|
+
/**
|
|
19117
|
+
*
|
|
19118
|
+
* @type {number}
|
|
19119
|
+
* @memberof UpdateTablePositionDto
|
|
19120
|
+
*/
|
|
19121
|
+
'posY': number;
|
|
19122
|
+
/**
|
|
19123
|
+
*
|
|
19124
|
+
* @type {number}
|
|
19125
|
+
* @memberof UpdateTablePositionDto
|
|
19126
|
+
*/
|
|
19127
|
+
'rotation'?: number;
|
|
19128
|
+
/**
|
|
19129
|
+
*
|
|
19130
|
+
* @type {number}
|
|
19131
|
+
* @memberof UpdateTablePositionDto
|
|
19132
|
+
*/
|
|
19133
|
+
'width'?: number;
|
|
19134
|
+
/**
|
|
19135
|
+
*
|
|
19136
|
+
* @type {number}
|
|
19137
|
+
* @memberof UpdateTablePositionDto
|
|
19138
|
+
*/
|
|
19139
|
+
'height'?: number;
|
|
19140
|
+
}
|
|
19141
|
+
/**
|
|
19142
|
+
*
|
|
19143
|
+
* @export
|
|
19144
|
+
* @interface UpdateTableStatusDto
|
|
19145
|
+
*/
|
|
19146
|
+
export interface UpdateTableStatusDto {
|
|
19147
|
+
/**
|
|
19148
|
+
*
|
|
19149
|
+
* @type {TableStatus}
|
|
19150
|
+
* @memberof UpdateTableStatusDto
|
|
19151
|
+
*/
|
|
19152
|
+
'status': TableStatus;
|
|
19153
|
+
}
|
|
18598
19154
|
/**
|
|
18599
19155
|
*
|
|
18600
19156
|
* @export
|
|
@@ -18679,6 +19235,38 @@ export interface UpsertBusinessDto {
|
|
|
18679
19235
|
*/
|
|
18680
19236
|
'chainId'?: string;
|
|
18681
19237
|
}
|
|
19238
|
+
/**
|
|
19239
|
+
*
|
|
19240
|
+
* @export
|
|
19241
|
+
* @interface UpsertBusinessScheduleDto
|
|
19242
|
+
*/
|
|
19243
|
+
export interface UpsertBusinessScheduleDto {
|
|
19244
|
+
/**
|
|
19245
|
+
* Days to upsert. Each provided day is replaced; other days are left untouched.
|
|
19246
|
+
* @type {Array<UpsertScheduleDayDto>}
|
|
19247
|
+
* @memberof UpsertBusinessScheduleDto
|
|
19248
|
+
*/
|
|
19249
|
+
'schedule': Array<UpsertScheduleDayDto>;
|
|
19250
|
+
}
|
|
19251
|
+
/**
|
|
19252
|
+
*
|
|
19253
|
+
* @export
|
|
19254
|
+
* @interface UpsertBusinessScheduleResponseDto
|
|
19255
|
+
*/
|
|
19256
|
+
export interface UpsertBusinessScheduleResponseDto {
|
|
19257
|
+
/**
|
|
19258
|
+
* Ordering business ID
|
|
19259
|
+
* @type {number}
|
|
19260
|
+
* @memberof UpsertBusinessScheduleResponseDto
|
|
19261
|
+
*/
|
|
19262
|
+
'orderingBusinessId': number;
|
|
19263
|
+
/**
|
|
19264
|
+
*
|
|
19265
|
+
* @type {Array<ScheduleDayResponseDto>}
|
|
19266
|
+
* @memberof UpsertBusinessScheduleResponseDto
|
|
19267
|
+
*/
|
|
19268
|
+
'schedule': Array<ScheduleDayResponseDto>;
|
|
19269
|
+
}
|
|
18682
19270
|
/**
|
|
18683
19271
|
*
|
|
18684
19272
|
* @export
|
|
@@ -18820,6 +19408,31 @@ export interface UpsertGiftCardDto {
|
|
|
18820
19408
|
*/
|
|
18821
19409
|
'credentials'?: GiftCardCredentialsDto;
|
|
18822
19410
|
}
|
|
19411
|
+
/**
|
|
19412
|
+
*
|
|
19413
|
+
* @export
|
|
19414
|
+
* @interface UpsertLapseDto
|
|
19415
|
+
*/
|
|
19416
|
+
export interface UpsertLapseDto {
|
|
19417
|
+
/**
|
|
19418
|
+
* Opening time (HH:mm)
|
|
19419
|
+
* @type {string}
|
|
19420
|
+
* @memberof UpsertLapseDto
|
|
19421
|
+
*/
|
|
19422
|
+
'opening_time': string;
|
|
19423
|
+
/**
|
|
19424
|
+
* Closing time (HH:mm)
|
|
19425
|
+
* @type {string}
|
|
19426
|
+
* @memberof UpsertLapseDto
|
|
19427
|
+
*/
|
|
19428
|
+
'closing_time': string;
|
|
19429
|
+
/**
|
|
19430
|
+
* Number of days the closing time spills over into (e.g. 1 = closes next day)
|
|
19431
|
+
* @type {number}
|
|
19432
|
+
* @memberof UpsertLapseDto
|
|
19433
|
+
*/
|
|
19434
|
+
'closing_day_offset'?: number;
|
|
19435
|
+
}
|
|
18823
19436
|
/**
|
|
18824
19437
|
*
|
|
18825
19438
|
* @export
|
|
@@ -19090,6 +19703,37 @@ export interface UpsertProductPrintPolicyDto {
|
|
|
19090
19703
|
*/
|
|
19091
19704
|
'printerId': number;
|
|
19092
19705
|
}
|
|
19706
|
+
/**
|
|
19707
|
+
*
|
|
19708
|
+
* @export
|
|
19709
|
+
* @interface UpsertScheduleDayDto
|
|
19710
|
+
*/
|
|
19711
|
+
export interface UpsertScheduleDayDto {
|
|
19712
|
+
/**
|
|
19713
|
+
*
|
|
19714
|
+
* @type {DayOfWeek}
|
|
19715
|
+
* @memberof UpsertScheduleDayDto
|
|
19716
|
+
*/
|
|
19717
|
+
'day': DayOfWeek;
|
|
19718
|
+
/**
|
|
19719
|
+
* Whether the business is open on this day
|
|
19720
|
+
* @type {boolean}
|
|
19721
|
+
* @memberof UpsertScheduleDayDto
|
|
19722
|
+
*/
|
|
19723
|
+
'enabled': boolean;
|
|
19724
|
+
/**
|
|
19725
|
+
*
|
|
19726
|
+
* @type {ScheduleType}
|
|
19727
|
+
* @memberof UpsertScheduleDayDto
|
|
19728
|
+
*/
|
|
19729
|
+
'type'?: ScheduleType;
|
|
19730
|
+
/**
|
|
19731
|
+
* Opening time ranges for this day
|
|
19732
|
+
* @type {Array<UpsertLapseDto>}
|
|
19733
|
+
* @memberof UpsertScheduleDayDto
|
|
19734
|
+
*/
|
|
19735
|
+
'lapses': Array<UpsertLapseDto>;
|
|
19736
|
+
}
|
|
19093
19737
|
/**
|
|
19094
19738
|
*
|
|
19095
19739
|
* @export
|
|
@@ -23797,6 +24441,81 @@ export declare class BusinessProviderPolicyApi extends BaseAPI implements Busine
|
|
|
23797
24441
|
*/
|
|
23798
24442
|
updatePosGlobalSettings(businessId: number, updatePosGlobalSettingsDto: UpdatePosGlobalSettingsDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PosGlobalSettingsResponseDto, any, {}>>;
|
|
23799
24443
|
}
|
|
24444
|
+
/**
|
|
24445
|
+
* BusinessScheduleApi - axios parameter creator
|
|
24446
|
+
* @export
|
|
24447
|
+
*/
|
|
24448
|
+
export declare const BusinessScheduleApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24449
|
+
/**
|
|
24450
|
+
*
|
|
24451
|
+
* @param {number} businessId
|
|
24452
|
+
* @param {UpsertBusinessScheduleDto} upsertBusinessScheduleDto
|
|
24453
|
+
* @param {*} [options] Override http request option.
|
|
24454
|
+
* @throws {RequiredError}
|
|
24455
|
+
*/
|
|
24456
|
+
upsertSchedule: (businessId: number, upsertBusinessScheduleDto: UpsertBusinessScheduleDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24457
|
+
};
|
|
24458
|
+
/**
|
|
24459
|
+
* BusinessScheduleApi - functional programming interface
|
|
24460
|
+
* @export
|
|
24461
|
+
*/
|
|
24462
|
+
export declare const BusinessScheduleApiFp: (configuration?: Configuration) => {
|
|
24463
|
+
/**
|
|
24464
|
+
*
|
|
24465
|
+
* @param {number} businessId
|
|
24466
|
+
* @param {UpsertBusinessScheduleDto} upsertBusinessScheduleDto
|
|
24467
|
+
* @param {*} [options] Override http request option.
|
|
24468
|
+
* @throws {RequiredError}
|
|
24469
|
+
*/
|
|
24470
|
+
upsertSchedule(businessId: number, upsertBusinessScheduleDto: UpsertBusinessScheduleDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpsertBusinessScheduleResponseDto>>;
|
|
24471
|
+
};
|
|
24472
|
+
/**
|
|
24473
|
+
* BusinessScheduleApi - factory interface
|
|
24474
|
+
* @export
|
|
24475
|
+
*/
|
|
24476
|
+
export declare const BusinessScheduleApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
24477
|
+
/**
|
|
24478
|
+
*
|
|
24479
|
+
* @param {number} businessId
|
|
24480
|
+
* @param {UpsertBusinessScheduleDto} upsertBusinessScheduleDto
|
|
24481
|
+
* @param {*} [options] Override http request option.
|
|
24482
|
+
* @throws {RequiredError}
|
|
24483
|
+
*/
|
|
24484
|
+
upsertSchedule(businessId: number, upsertBusinessScheduleDto: UpsertBusinessScheduleDto, options?: any): AxiosPromise<UpsertBusinessScheduleResponseDto>;
|
|
24485
|
+
};
|
|
24486
|
+
/**
|
|
24487
|
+
* BusinessScheduleApi - interface
|
|
24488
|
+
* @export
|
|
24489
|
+
* @interface BusinessScheduleApi
|
|
24490
|
+
*/
|
|
24491
|
+
export interface BusinessScheduleApiInterface {
|
|
24492
|
+
/**
|
|
24493
|
+
*
|
|
24494
|
+
* @param {number} businessId
|
|
24495
|
+
* @param {UpsertBusinessScheduleDto} upsertBusinessScheduleDto
|
|
24496
|
+
* @param {*} [options] Override http request option.
|
|
24497
|
+
* @throws {RequiredError}
|
|
24498
|
+
* @memberof BusinessScheduleApiInterface
|
|
24499
|
+
*/
|
|
24500
|
+
upsertSchedule(businessId: number, upsertBusinessScheduleDto: UpsertBusinessScheduleDto, options?: AxiosRequestConfig): AxiosPromise<UpsertBusinessScheduleResponseDto>;
|
|
24501
|
+
}
|
|
24502
|
+
/**
|
|
24503
|
+
* BusinessScheduleApi - object-oriented interface
|
|
24504
|
+
* @export
|
|
24505
|
+
* @class BusinessScheduleApi
|
|
24506
|
+
* @extends {BaseAPI}
|
|
24507
|
+
*/
|
|
24508
|
+
export declare class BusinessScheduleApi extends BaseAPI implements BusinessScheduleApiInterface {
|
|
24509
|
+
/**
|
|
24510
|
+
*
|
|
24511
|
+
* @param {number} businessId
|
|
24512
|
+
* @param {UpsertBusinessScheduleDto} upsertBusinessScheduleDto
|
|
24513
|
+
* @param {*} [options] Override http request option.
|
|
24514
|
+
* @throws {RequiredError}
|
|
24515
|
+
* @memberof BusinessScheduleApi
|
|
24516
|
+
*/
|
|
24517
|
+
upsertSchedule(businessId: number, upsertBusinessScheduleDto: UpsertBusinessScheduleDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpsertBusinessScheduleResponseDto, any, {}>>;
|
|
24518
|
+
}
|
|
23800
24519
|
/**
|
|
23801
24520
|
* CashManagementApi - axios parameter creator
|
|
23802
24521
|
* @export
|
|
@@ -24852,6 +25571,467 @@ export declare class EmployeesApi extends BaseAPI implements EmployeesApiInterfa
|
|
|
24852
25571
|
*/
|
|
24853
25572
|
createAssignment(businessId: number, createEmployeeAssignmentDto: CreateEmployeeAssignmentDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EmployeeAssignmentResponseDto, any, {}>>;
|
|
24854
25573
|
}
|
|
25574
|
+
/**
|
|
25575
|
+
* FloorPlanApi - axios parameter creator
|
|
25576
|
+
* @export
|
|
25577
|
+
*/
|
|
25578
|
+
export declare const FloorPlanApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25579
|
+
/**
|
|
25580
|
+
*
|
|
25581
|
+
* @summary Create a dining table
|
|
25582
|
+
* @param {CreateDiningTableDto} createDiningTableDto
|
|
25583
|
+
* @param {*} [options] Override http request option.
|
|
25584
|
+
* @throws {RequiredError}
|
|
25585
|
+
*/
|
|
25586
|
+
createDiningTable: (createDiningTableDto: CreateDiningTableDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25587
|
+
/**
|
|
25588
|
+
*
|
|
25589
|
+
* @summary Create a floor section
|
|
25590
|
+
* @param {CreateFloorSectionDto} createFloorSectionDto
|
|
25591
|
+
* @param {*} [options] Override http request option.
|
|
25592
|
+
* @throws {RequiredError}
|
|
25593
|
+
*/
|
|
25594
|
+
createFloorSection: (createFloorSectionDto: CreateFloorSectionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25595
|
+
/**
|
|
25596
|
+
*
|
|
25597
|
+
* @summary Delete a dining table
|
|
25598
|
+
* @param {string} id
|
|
25599
|
+
* @param {number} businessId
|
|
25600
|
+
* @param {*} [options] Override http request option.
|
|
25601
|
+
* @throws {RequiredError}
|
|
25602
|
+
*/
|
|
25603
|
+
deleteDiningTable: (id: string, businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25604
|
+
/**
|
|
25605
|
+
*
|
|
25606
|
+
* @summary Delete a floor section
|
|
25607
|
+
* @param {string} id
|
|
25608
|
+
* @param {number} businessId
|
|
25609
|
+
* @param {*} [options] Override http request option.
|
|
25610
|
+
* @throws {RequiredError}
|
|
25611
|
+
*/
|
|
25612
|
+
deleteFloorSection: (id: string, businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25613
|
+
/**
|
|
25614
|
+
*
|
|
25615
|
+
* @summary Get the full floor plan for a business
|
|
25616
|
+
* @param {number} businessId
|
|
25617
|
+
* @param {*} [options] Override http request option.
|
|
25618
|
+
* @throws {RequiredError}
|
|
25619
|
+
*/
|
|
25620
|
+
getFloorPlan: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25621
|
+
/**
|
|
25622
|
+
*
|
|
25623
|
+
* @summary Update a dining table
|
|
25624
|
+
* @param {string} id
|
|
25625
|
+
* @param {number} businessId
|
|
25626
|
+
* @param {UpdateDiningTableDto} updateDiningTableDto
|
|
25627
|
+
* @param {*} [options] Override http request option.
|
|
25628
|
+
* @throws {RequiredError}
|
|
25629
|
+
*/
|
|
25630
|
+
updateDiningTable: (id: string, businessId: number, updateDiningTableDto: UpdateDiningTableDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25631
|
+
/**
|
|
25632
|
+
*
|
|
25633
|
+
* @summary Update a floor section
|
|
25634
|
+
* @param {string} id
|
|
25635
|
+
* @param {number} businessId
|
|
25636
|
+
* @param {UpdateFloorSectionDto} updateFloorSectionDto
|
|
25637
|
+
* @param {*} [options] Override http request option.
|
|
25638
|
+
* @throws {RequiredError}
|
|
25639
|
+
*/
|
|
25640
|
+
updateFloorSection: (id: string, businessId: number, updateFloorSectionDto: UpdateFloorSectionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25641
|
+
/**
|
|
25642
|
+
*
|
|
25643
|
+
* @summary Update a dining table position
|
|
25644
|
+
* @param {string} id
|
|
25645
|
+
* @param {number} businessId
|
|
25646
|
+
* @param {UpdateTablePositionDto} updateTablePositionDto
|
|
25647
|
+
* @param {*} [options] Override http request option.
|
|
25648
|
+
* @throws {RequiredError}
|
|
25649
|
+
*/
|
|
25650
|
+
updateTablePosition: (id: string, businessId: number, updateTablePositionDto: UpdateTablePositionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25651
|
+
/**
|
|
25652
|
+
*
|
|
25653
|
+
* @summary Update a dining table status
|
|
25654
|
+
* @param {string} id
|
|
25655
|
+
* @param {number} businessId
|
|
25656
|
+
* @param {UpdateTableStatusDto} updateTableStatusDto
|
|
25657
|
+
* @param {*} [options] Override http request option.
|
|
25658
|
+
* @throws {RequiredError}
|
|
25659
|
+
*/
|
|
25660
|
+
updateTableStatus: (id: string, businessId: number, updateTableStatusDto: UpdateTableStatusDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25661
|
+
};
|
|
25662
|
+
/**
|
|
25663
|
+
* FloorPlanApi - functional programming interface
|
|
25664
|
+
* @export
|
|
25665
|
+
*/
|
|
25666
|
+
export declare const FloorPlanApiFp: (configuration?: Configuration) => {
|
|
25667
|
+
/**
|
|
25668
|
+
*
|
|
25669
|
+
* @summary Create a dining table
|
|
25670
|
+
* @param {CreateDiningTableDto} createDiningTableDto
|
|
25671
|
+
* @param {*} [options] Override http request option.
|
|
25672
|
+
* @throws {RequiredError}
|
|
25673
|
+
*/
|
|
25674
|
+
createDiningTable(createDiningTableDto: CreateDiningTableDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiningTableResponseDto>>;
|
|
25675
|
+
/**
|
|
25676
|
+
*
|
|
25677
|
+
* @summary Create a floor section
|
|
25678
|
+
* @param {CreateFloorSectionDto} createFloorSectionDto
|
|
25679
|
+
* @param {*} [options] Override http request option.
|
|
25680
|
+
* @throws {RequiredError}
|
|
25681
|
+
*/
|
|
25682
|
+
createFloorSection(createFloorSectionDto: CreateFloorSectionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FloorSectionResponseDto>>;
|
|
25683
|
+
/**
|
|
25684
|
+
*
|
|
25685
|
+
* @summary Delete a dining table
|
|
25686
|
+
* @param {string} id
|
|
25687
|
+
* @param {number} businessId
|
|
25688
|
+
* @param {*} [options] Override http request option.
|
|
25689
|
+
* @throws {RequiredError}
|
|
25690
|
+
*/
|
|
25691
|
+
deleteDiningTable(id: string, businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
25692
|
+
/**
|
|
25693
|
+
*
|
|
25694
|
+
* @summary Delete a floor section
|
|
25695
|
+
* @param {string} id
|
|
25696
|
+
* @param {number} businessId
|
|
25697
|
+
* @param {*} [options] Override http request option.
|
|
25698
|
+
* @throws {RequiredError}
|
|
25699
|
+
*/
|
|
25700
|
+
deleteFloorSection(id: string, businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
25701
|
+
/**
|
|
25702
|
+
*
|
|
25703
|
+
* @summary Get the full floor plan for a business
|
|
25704
|
+
* @param {number} businessId
|
|
25705
|
+
* @param {*} [options] Override http request option.
|
|
25706
|
+
* @throws {RequiredError}
|
|
25707
|
+
*/
|
|
25708
|
+
getFloorPlan(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FloorSectionResponseDto>>>;
|
|
25709
|
+
/**
|
|
25710
|
+
*
|
|
25711
|
+
* @summary Update a dining table
|
|
25712
|
+
* @param {string} id
|
|
25713
|
+
* @param {number} businessId
|
|
25714
|
+
* @param {UpdateDiningTableDto} updateDiningTableDto
|
|
25715
|
+
* @param {*} [options] Override http request option.
|
|
25716
|
+
* @throws {RequiredError}
|
|
25717
|
+
*/
|
|
25718
|
+
updateDiningTable(id: string, businessId: number, updateDiningTableDto: UpdateDiningTableDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiningTableResponseDto>>;
|
|
25719
|
+
/**
|
|
25720
|
+
*
|
|
25721
|
+
* @summary Update a floor section
|
|
25722
|
+
* @param {string} id
|
|
25723
|
+
* @param {number} businessId
|
|
25724
|
+
* @param {UpdateFloorSectionDto} updateFloorSectionDto
|
|
25725
|
+
* @param {*} [options] Override http request option.
|
|
25726
|
+
* @throws {RequiredError}
|
|
25727
|
+
*/
|
|
25728
|
+
updateFloorSection(id: string, businessId: number, updateFloorSectionDto: UpdateFloorSectionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FloorSectionResponseDto>>;
|
|
25729
|
+
/**
|
|
25730
|
+
*
|
|
25731
|
+
* @summary Update a dining table position
|
|
25732
|
+
* @param {string} id
|
|
25733
|
+
* @param {number} businessId
|
|
25734
|
+
* @param {UpdateTablePositionDto} updateTablePositionDto
|
|
25735
|
+
* @param {*} [options] Override http request option.
|
|
25736
|
+
* @throws {RequiredError}
|
|
25737
|
+
*/
|
|
25738
|
+
updateTablePosition(id: string, businessId: number, updateTablePositionDto: UpdateTablePositionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiningTableResponseDto>>;
|
|
25739
|
+
/**
|
|
25740
|
+
*
|
|
25741
|
+
* @summary Update a dining table status
|
|
25742
|
+
* @param {string} id
|
|
25743
|
+
* @param {number} businessId
|
|
25744
|
+
* @param {UpdateTableStatusDto} updateTableStatusDto
|
|
25745
|
+
* @param {*} [options] Override http request option.
|
|
25746
|
+
* @throws {RequiredError}
|
|
25747
|
+
*/
|
|
25748
|
+
updateTableStatus(id: string, businessId: number, updateTableStatusDto: UpdateTableStatusDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiningTableResponseDto>>;
|
|
25749
|
+
};
|
|
25750
|
+
/**
|
|
25751
|
+
* FloorPlanApi - factory interface
|
|
25752
|
+
* @export
|
|
25753
|
+
*/
|
|
25754
|
+
export declare const FloorPlanApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
25755
|
+
/**
|
|
25756
|
+
*
|
|
25757
|
+
* @summary Create a dining table
|
|
25758
|
+
* @param {CreateDiningTableDto} createDiningTableDto
|
|
25759
|
+
* @param {*} [options] Override http request option.
|
|
25760
|
+
* @throws {RequiredError}
|
|
25761
|
+
*/
|
|
25762
|
+
createDiningTable(createDiningTableDto: CreateDiningTableDto, options?: any): AxiosPromise<DiningTableResponseDto>;
|
|
25763
|
+
/**
|
|
25764
|
+
*
|
|
25765
|
+
* @summary Create a floor section
|
|
25766
|
+
* @param {CreateFloorSectionDto} createFloorSectionDto
|
|
25767
|
+
* @param {*} [options] Override http request option.
|
|
25768
|
+
* @throws {RequiredError}
|
|
25769
|
+
*/
|
|
25770
|
+
createFloorSection(createFloorSectionDto: CreateFloorSectionDto, options?: any): AxiosPromise<FloorSectionResponseDto>;
|
|
25771
|
+
/**
|
|
25772
|
+
*
|
|
25773
|
+
* @summary Delete a dining table
|
|
25774
|
+
* @param {string} id
|
|
25775
|
+
* @param {number} businessId
|
|
25776
|
+
* @param {*} [options] Override http request option.
|
|
25777
|
+
* @throws {RequiredError}
|
|
25778
|
+
*/
|
|
25779
|
+
deleteDiningTable(id: string, businessId: number, options?: any): AxiosPromise<void>;
|
|
25780
|
+
/**
|
|
25781
|
+
*
|
|
25782
|
+
* @summary Delete a floor section
|
|
25783
|
+
* @param {string} id
|
|
25784
|
+
* @param {number} businessId
|
|
25785
|
+
* @param {*} [options] Override http request option.
|
|
25786
|
+
* @throws {RequiredError}
|
|
25787
|
+
*/
|
|
25788
|
+
deleteFloorSection(id: string, businessId: number, options?: any): AxiosPromise<void>;
|
|
25789
|
+
/**
|
|
25790
|
+
*
|
|
25791
|
+
* @summary Get the full floor plan for a business
|
|
25792
|
+
* @param {number} businessId
|
|
25793
|
+
* @param {*} [options] Override http request option.
|
|
25794
|
+
* @throws {RequiredError}
|
|
25795
|
+
*/
|
|
25796
|
+
getFloorPlan(businessId: number, options?: any): AxiosPromise<Array<FloorSectionResponseDto>>;
|
|
25797
|
+
/**
|
|
25798
|
+
*
|
|
25799
|
+
* @summary Update a dining table
|
|
25800
|
+
* @param {string} id
|
|
25801
|
+
* @param {number} businessId
|
|
25802
|
+
* @param {UpdateDiningTableDto} updateDiningTableDto
|
|
25803
|
+
* @param {*} [options] Override http request option.
|
|
25804
|
+
* @throws {RequiredError}
|
|
25805
|
+
*/
|
|
25806
|
+
updateDiningTable(id: string, businessId: number, updateDiningTableDto: UpdateDiningTableDto, options?: any): AxiosPromise<DiningTableResponseDto>;
|
|
25807
|
+
/**
|
|
25808
|
+
*
|
|
25809
|
+
* @summary Update a floor section
|
|
25810
|
+
* @param {string} id
|
|
25811
|
+
* @param {number} businessId
|
|
25812
|
+
* @param {UpdateFloorSectionDto} updateFloorSectionDto
|
|
25813
|
+
* @param {*} [options] Override http request option.
|
|
25814
|
+
* @throws {RequiredError}
|
|
25815
|
+
*/
|
|
25816
|
+
updateFloorSection(id: string, businessId: number, updateFloorSectionDto: UpdateFloorSectionDto, options?: any): AxiosPromise<FloorSectionResponseDto>;
|
|
25817
|
+
/**
|
|
25818
|
+
*
|
|
25819
|
+
* @summary Update a dining table position
|
|
25820
|
+
* @param {string} id
|
|
25821
|
+
* @param {number} businessId
|
|
25822
|
+
* @param {UpdateTablePositionDto} updateTablePositionDto
|
|
25823
|
+
* @param {*} [options] Override http request option.
|
|
25824
|
+
* @throws {RequiredError}
|
|
25825
|
+
*/
|
|
25826
|
+
updateTablePosition(id: string, businessId: number, updateTablePositionDto: UpdateTablePositionDto, options?: any): AxiosPromise<DiningTableResponseDto>;
|
|
25827
|
+
/**
|
|
25828
|
+
*
|
|
25829
|
+
* @summary Update a dining table status
|
|
25830
|
+
* @param {string} id
|
|
25831
|
+
* @param {number} businessId
|
|
25832
|
+
* @param {UpdateTableStatusDto} updateTableStatusDto
|
|
25833
|
+
* @param {*} [options] Override http request option.
|
|
25834
|
+
* @throws {RequiredError}
|
|
25835
|
+
*/
|
|
25836
|
+
updateTableStatus(id: string, businessId: number, updateTableStatusDto: UpdateTableStatusDto, options?: any): AxiosPromise<DiningTableResponseDto>;
|
|
25837
|
+
};
|
|
25838
|
+
/**
|
|
25839
|
+
* FloorPlanApi - interface
|
|
25840
|
+
* @export
|
|
25841
|
+
* @interface FloorPlanApi
|
|
25842
|
+
*/
|
|
25843
|
+
export interface FloorPlanApiInterface {
|
|
25844
|
+
/**
|
|
25845
|
+
*
|
|
25846
|
+
* @summary Create a dining table
|
|
25847
|
+
* @param {CreateDiningTableDto} createDiningTableDto
|
|
25848
|
+
* @param {*} [options] Override http request option.
|
|
25849
|
+
* @throws {RequiredError}
|
|
25850
|
+
* @memberof FloorPlanApiInterface
|
|
25851
|
+
*/
|
|
25852
|
+
createDiningTable(createDiningTableDto: CreateDiningTableDto, options?: AxiosRequestConfig): AxiosPromise<DiningTableResponseDto>;
|
|
25853
|
+
/**
|
|
25854
|
+
*
|
|
25855
|
+
* @summary Create a floor section
|
|
25856
|
+
* @param {CreateFloorSectionDto} createFloorSectionDto
|
|
25857
|
+
* @param {*} [options] Override http request option.
|
|
25858
|
+
* @throws {RequiredError}
|
|
25859
|
+
* @memberof FloorPlanApiInterface
|
|
25860
|
+
*/
|
|
25861
|
+
createFloorSection(createFloorSectionDto: CreateFloorSectionDto, options?: AxiosRequestConfig): AxiosPromise<FloorSectionResponseDto>;
|
|
25862
|
+
/**
|
|
25863
|
+
*
|
|
25864
|
+
* @summary Delete a dining table
|
|
25865
|
+
* @param {string} id
|
|
25866
|
+
* @param {number} businessId
|
|
25867
|
+
* @param {*} [options] Override http request option.
|
|
25868
|
+
* @throws {RequiredError}
|
|
25869
|
+
* @memberof FloorPlanApiInterface
|
|
25870
|
+
*/
|
|
25871
|
+
deleteDiningTable(id: string, businessId: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
25872
|
+
/**
|
|
25873
|
+
*
|
|
25874
|
+
* @summary Delete a floor section
|
|
25875
|
+
* @param {string} id
|
|
25876
|
+
* @param {number} businessId
|
|
25877
|
+
* @param {*} [options] Override http request option.
|
|
25878
|
+
* @throws {RequiredError}
|
|
25879
|
+
* @memberof FloorPlanApiInterface
|
|
25880
|
+
*/
|
|
25881
|
+
deleteFloorSection(id: string, businessId: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
25882
|
+
/**
|
|
25883
|
+
*
|
|
25884
|
+
* @summary Get the full floor plan for a business
|
|
25885
|
+
* @param {number} businessId
|
|
25886
|
+
* @param {*} [options] Override http request option.
|
|
25887
|
+
* @throws {RequiredError}
|
|
25888
|
+
* @memberof FloorPlanApiInterface
|
|
25889
|
+
*/
|
|
25890
|
+
getFloorPlan(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<FloorSectionResponseDto>>;
|
|
25891
|
+
/**
|
|
25892
|
+
*
|
|
25893
|
+
* @summary Update a dining table
|
|
25894
|
+
* @param {string} id
|
|
25895
|
+
* @param {number} businessId
|
|
25896
|
+
* @param {UpdateDiningTableDto} updateDiningTableDto
|
|
25897
|
+
* @param {*} [options] Override http request option.
|
|
25898
|
+
* @throws {RequiredError}
|
|
25899
|
+
* @memberof FloorPlanApiInterface
|
|
25900
|
+
*/
|
|
25901
|
+
updateDiningTable(id: string, businessId: number, updateDiningTableDto: UpdateDiningTableDto, options?: AxiosRequestConfig): AxiosPromise<DiningTableResponseDto>;
|
|
25902
|
+
/**
|
|
25903
|
+
*
|
|
25904
|
+
* @summary Update a floor section
|
|
25905
|
+
* @param {string} id
|
|
25906
|
+
* @param {number} businessId
|
|
25907
|
+
* @param {UpdateFloorSectionDto} updateFloorSectionDto
|
|
25908
|
+
* @param {*} [options] Override http request option.
|
|
25909
|
+
* @throws {RequiredError}
|
|
25910
|
+
* @memberof FloorPlanApiInterface
|
|
25911
|
+
*/
|
|
25912
|
+
updateFloorSection(id: string, businessId: number, updateFloorSectionDto: UpdateFloorSectionDto, options?: AxiosRequestConfig): AxiosPromise<FloorSectionResponseDto>;
|
|
25913
|
+
/**
|
|
25914
|
+
*
|
|
25915
|
+
* @summary Update a dining table position
|
|
25916
|
+
* @param {string} id
|
|
25917
|
+
* @param {number} businessId
|
|
25918
|
+
* @param {UpdateTablePositionDto} updateTablePositionDto
|
|
25919
|
+
* @param {*} [options] Override http request option.
|
|
25920
|
+
* @throws {RequiredError}
|
|
25921
|
+
* @memberof FloorPlanApiInterface
|
|
25922
|
+
*/
|
|
25923
|
+
updateTablePosition(id: string, businessId: number, updateTablePositionDto: UpdateTablePositionDto, options?: AxiosRequestConfig): AxiosPromise<DiningTableResponseDto>;
|
|
25924
|
+
/**
|
|
25925
|
+
*
|
|
25926
|
+
* @summary Update a dining table status
|
|
25927
|
+
* @param {string} id
|
|
25928
|
+
* @param {number} businessId
|
|
25929
|
+
* @param {UpdateTableStatusDto} updateTableStatusDto
|
|
25930
|
+
* @param {*} [options] Override http request option.
|
|
25931
|
+
* @throws {RequiredError}
|
|
25932
|
+
* @memberof FloorPlanApiInterface
|
|
25933
|
+
*/
|
|
25934
|
+
updateTableStatus(id: string, businessId: number, updateTableStatusDto: UpdateTableStatusDto, options?: AxiosRequestConfig): AxiosPromise<DiningTableResponseDto>;
|
|
25935
|
+
}
|
|
25936
|
+
/**
|
|
25937
|
+
* FloorPlanApi - object-oriented interface
|
|
25938
|
+
* @export
|
|
25939
|
+
* @class FloorPlanApi
|
|
25940
|
+
* @extends {BaseAPI}
|
|
25941
|
+
*/
|
|
25942
|
+
export declare class FloorPlanApi extends BaseAPI implements FloorPlanApiInterface {
|
|
25943
|
+
/**
|
|
25944
|
+
*
|
|
25945
|
+
* @summary Create a dining table
|
|
25946
|
+
* @param {CreateDiningTableDto} createDiningTableDto
|
|
25947
|
+
* @param {*} [options] Override http request option.
|
|
25948
|
+
* @throws {RequiredError}
|
|
25949
|
+
* @memberof FloorPlanApi
|
|
25950
|
+
*/
|
|
25951
|
+
createDiningTable(createDiningTableDto: CreateDiningTableDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DiningTableResponseDto, any, {}>>;
|
|
25952
|
+
/**
|
|
25953
|
+
*
|
|
25954
|
+
* @summary Create a floor section
|
|
25955
|
+
* @param {CreateFloorSectionDto} createFloorSectionDto
|
|
25956
|
+
* @param {*} [options] Override http request option.
|
|
25957
|
+
* @throws {RequiredError}
|
|
25958
|
+
* @memberof FloorPlanApi
|
|
25959
|
+
*/
|
|
25960
|
+
createFloorSection(createFloorSectionDto: CreateFloorSectionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FloorSectionResponseDto, any, {}>>;
|
|
25961
|
+
/**
|
|
25962
|
+
*
|
|
25963
|
+
* @summary Delete a dining table
|
|
25964
|
+
* @param {string} id
|
|
25965
|
+
* @param {number} businessId
|
|
25966
|
+
* @param {*} [options] Override http request option.
|
|
25967
|
+
* @throws {RequiredError}
|
|
25968
|
+
* @memberof FloorPlanApi
|
|
25969
|
+
*/
|
|
25970
|
+
deleteDiningTable(id: string, businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
25971
|
+
/**
|
|
25972
|
+
*
|
|
25973
|
+
* @summary Delete a floor section
|
|
25974
|
+
* @param {string} id
|
|
25975
|
+
* @param {number} businessId
|
|
25976
|
+
* @param {*} [options] Override http request option.
|
|
25977
|
+
* @throws {RequiredError}
|
|
25978
|
+
* @memberof FloorPlanApi
|
|
25979
|
+
*/
|
|
25980
|
+
deleteFloorSection(id: string, businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
25981
|
+
/**
|
|
25982
|
+
*
|
|
25983
|
+
* @summary Get the full floor plan for a business
|
|
25984
|
+
* @param {number} businessId
|
|
25985
|
+
* @param {*} [options] Override http request option.
|
|
25986
|
+
* @throws {RequiredError}
|
|
25987
|
+
* @memberof FloorPlanApi
|
|
25988
|
+
*/
|
|
25989
|
+
getFloorPlan(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FloorSectionResponseDto[], any, {}>>;
|
|
25990
|
+
/**
|
|
25991
|
+
*
|
|
25992
|
+
* @summary Update a dining table
|
|
25993
|
+
* @param {string} id
|
|
25994
|
+
* @param {number} businessId
|
|
25995
|
+
* @param {UpdateDiningTableDto} updateDiningTableDto
|
|
25996
|
+
* @param {*} [options] Override http request option.
|
|
25997
|
+
* @throws {RequiredError}
|
|
25998
|
+
* @memberof FloorPlanApi
|
|
25999
|
+
*/
|
|
26000
|
+
updateDiningTable(id: string, businessId: number, updateDiningTableDto: UpdateDiningTableDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DiningTableResponseDto, any, {}>>;
|
|
26001
|
+
/**
|
|
26002
|
+
*
|
|
26003
|
+
* @summary Update a floor section
|
|
26004
|
+
* @param {string} id
|
|
26005
|
+
* @param {number} businessId
|
|
26006
|
+
* @param {UpdateFloorSectionDto} updateFloorSectionDto
|
|
26007
|
+
* @param {*} [options] Override http request option.
|
|
26008
|
+
* @throws {RequiredError}
|
|
26009
|
+
* @memberof FloorPlanApi
|
|
26010
|
+
*/
|
|
26011
|
+
updateFloorSection(id: string, businessId: number, updateFloorSectionDto: UpdateFloorSectionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FloorSectionResponseDto, any, {}>>;
|
|
26012
|
+
/**
|
|
26013
|
+
*
|
|
26014
|
+
* @summary Update a dining table position
|
|
26015
|
+
* @param {string} id
|
|
26016
|
+
* @param {number} businessId
|
|
26017
|
+
* @param {UpdateTablePositionDto} updateTablePositionDto
|
|
26018
|
+
* @param {*} [options] Override http request option.
|
|
26019
|
+
* @throws {RequiredError}
|
|
26020
|
+
* @memberof FloorPlanApi
|
|
26021
|
+
*/
|
|
26022
|
+
updateTablePosition(id: string, businessId: number, updateTablePositionDto: UpdateTablePositionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DiningTableResponseDto, any, {}>>;
|
|
26023
|
+
/**
|
|
26024
|
+
*
|
|
26025
|
+
* @summary Update a dining table status
|
|
26026
|
+
* @param {string} id
|
|
26027
|
+
* @param {number} businessId
|
|
26028
|
+
* @param {UpdateTableStatusDto} updateTableStatusDto
|
|
26029
|
+
* @param {*} [options] Override http request option.
|
|
26030
|
+
* @throws {RequiredError}
|
|
26031
|
+
* @memberof FloorPlanApi
|
|
26032
|
+
*/
|
|
26033
|
+
updateTableStatus(id: string, businessId: number, updateTableStatusDto: UpdateTableStatusDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DiningTableResponseDto, any, {}>>;
|
|
26034
|
+
}
|
|
24855
26035
|
/**
|
|
24856
26036
|
* GiftcardApi - axios parameter creator
|
|
24857
26037
|
* @export
|