@munchi_oy/core 1.9.83 → 1.9.86
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 +991 -0
- 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 +1472 -0
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -611,6 +611,12 @@ export interface BusinessConfigResponseDto {
|
|
|
611
611
|
* @memberof BusinessConfigResponseDto
|
|
612
612
|
*/
|
|
613
613
|
'hasLoyaltyProgram': boolean;
|
|
614
|
+
/**
|
|
615
|
+
* Indicates if a reservation/booking integration is enabled for this business
|
|
616
|
+
* @type {boolean}
|
|
617
|
+
* @memberof BusinessConfigResponseDto
|
|
618
|
+
*/
|
|
619
|
+
'hasReservations': boolean;
|
|
614
620
|
/**
|
|
615
621
|
* Indicates if the business has a invoice company linked
|
|
616
622
|
* @type {boolean}
|
|
@@ -4126,6 +4132,67 @@ export interface CreateRefundPlanDto {
|
|
|
4126
4132
|
*/
|
|
4127
4133
|
'lineItems'?: Array<RefundRequestItemDto>;
|
|
4128
4134
|
}
|
|
4135
|
+
/**
|
|
4136
|
+
*
|
|
4137
|
+
* @export
|
|
4138
|
+
* @interface CreateReservationDto
|
|
4139
|
+
*/
|
|
4140
|
+
export interface CreateReservationDto {
|
|
4141
|
+
/**
|
|
4142
|
+
*
|
|
4143
|
+
* @type {number}
|
|
4144
|
+
* @memberof CreateReservationDto
|
|
4145
|
+
*/
|
|
4146
|
+
'businessId': number;
|
|
4147
|
+
/**
|
|
4148
|
+
*
|
|
4149
|
+
* @type {number}
|
|
4150
|
+
* @memberof CreateReservationDto
|
|
4151
|
+
*/
|
|
4152
|
+
'partySize': number;
|
|
4153
|
+
/**
|
|
4154
|
+
*
|
|
4155
|
+
* @type {string}
|
|
4156
|
+
* @memberof CreateReservationDto
|
|
4157
|
+
*/
|
|
4158
|
+
'startsAt': string;
|
|
4159
|
+
/**
|
|
4160
|
+
*
|
|
4161
|
+
* @type {number}
|
|
4162
|
+
* @memberof CreateReservationDto
|
|
4163
|
+
*/
|
|
4164
|
+
'durationMins'?: number;
|
|
4165
|
+
/**
|
|
4166
|
+
*
|
|
4167
|
+
* @type {ReservationSource}
|
|
4168
|
+
* @memberof CreateReservationDto
|
|
4169
|
+
*/
|
|
4170
|
+
'source'?: ReservationSource;
|
|
4171
|
+
/**
|
|
4172
|
+
*
|
|
4173
|
+
* @type {string}
|
|
4174
|
+
* @memberof CreateReservationDto
|
|
4175
|
+
*/
|
|
4176
|
+
'guestName'?: string;
|
|
4177
|
+
/**
|
|
4178
|
+
*
|
|
4179
|
+
* @type {string}
|
|
4180
|
+
* @memberof CreateReservationDto
|
|
4181
|
+
*/
|
|
4182
|
+
'guestPhone'?: string;
|
|
4183
|
+
/**
|
|
4184
|
+
*
|
|
4185
|
+
* @type {string}
|
|
4186
|
+
* @memberof CreateReservationDto
|
|
4187
|
+
*/
|
|
4188
|
+
'notes'?: string;
|
|
4189
|
+
/**
|
|
4190
|
+
*
|
|
4191
|
+
* @type {Array<string>}
|
|
4192
|
+
* @memberof CreateReservationDto
|
|
4193
|
+
*/
|
|
4194
|
+
'tableIds'?: Array<string>;
|
|
4195
|
+
}
|
|
4129
4196
|
/**
|
|
4130
4197
|
*
|
|
4131
4198
|
* @export
|
|
@@ -5765,6 +5832,12 @@ export interface ExternalBusinessConfigDto {
|
|
|
5765
5832
|
* @memberof ExternalBusinessConfigDto
|
|
5766
5833
|
*/
|
|
5767
5834
|
'hasLoyaltyProgram': boolean;
|
|
5835
|
+
/**
|
|
5836
|
+
* Indicates if a reservation/booking integration is enabled for this business
|
|
5837
|
+
* @type {boolean}
|
|
5838
|
+
* @memberof ExternalBusinessConfigDto
|
|
5839
|
+
*/
|
|
5840
|
+
'hasReservations': boolean;
|
|
5768
5841
|
/**
|
|
5769
5842
|
* Indicates if the business has a invoice company linked
|
|
5770
5843
|
* @type {boolean}
|
|
@@ -6458,6 +6531,49 @@ export interface ImageBackgroundConfig {
|
|
|
6458
6531
|
*/
|
|
6459
6532
|
'blurRadius'?: number;
|
|
6460
6533
|
}
|
|
6534
|
+
/**
|
|
6535
|
+
*
|
|
6536
|
+
* @export
|
|
6537
|
+
* @interface InboundReservationWebhookDto
|
|
6538
|
+
*/
|
|
6539
|
+
export interface InboundReservationWebhookDto {
|
|
6540
|
+
/**
|
|
6541
|
+
* Booking provider key
|
|
6542
|
+
* @type {string}
|
|
6543
|
+
* @memberof InboundReservationWebhookDto
|
|
6544
|
+
*/
|
|
6545
|
+
'provider'?: string;
|
|
6546
|
+
/**
|
|
6547
|
+
*
|
|
6548
|
+
* @type {string}
|
|
6549
|
+
* @memberof InboundReservationWebhookDto
|
|
6550
|
+
*/
|
|
6551
|
+
'event': string;
|
|
6552
|
+
/**
|
|
6553
|
+
*
|
|
6554
|
+
* @type {string}
|
|
6555
|
+
* @memberof InboundReservationWebhookDto
|
|
6556
|
+
*/
|
|
6557
|
+
'event_id': string;
|
|
6558
|
+
/**
|
|
6559
|
+
*
|
|
6560
|
+
* @type {string}
|
|
6561
|
+
* @memberof InboundReservationWebhookDto
|
|
6562
|
+
*/
|
|
6563
|
+
'timestamp': string;
|
|
6564
|
+
/**
|
|
6565
|
+
*
|
|
6566
|
+
* @type {number}
|
|
6567
|
+
* @memberof InboundReservationWebhookDto
|
|
6568
|
+
*/
|
|
6569
|
+
'businessId': number;
|
|
6570
|
+
/**
|
|
6571
|
+
* Provider-specific reservation payload
|
|
6572
|
+
* @type {object}
|
|
6573
|
+
* @memberof InboundReservationWebhookDto
|
|
6574
|
+
*/
|
|
6575
|
+
'payload': object;
|
|
6576
|
+
}
|
|
6461
6577
|
/**
|
|
6462
6578
|
*
|
|
6463
6579
|
* @export
|
|
@@ -8517,6 +8633,49 @@ export interface LinkBusinessResultDto {
|
|
|
8517
8633
|
*/
|
|
8518
8634
|
'failedBusinessIds': Array<number>;
|
|
8519
8635
|
}
|
|
8636
|
+
/**
|
|
8637
|
+
*
|
|
8638
|
+
* @export
|
|
8639
|
+
* @interface LinkReservationIntegrationDto
|
|
8640
|
+
*/
|
|
8641
|
+
export interface LinkReservationIntegrationDto {
|
|
8642
|
+
/**
|
|
8643
|
+
*
|
|
8644
|
+
* @type {number}
|
|
8645
|
+
* @memberof LinkReservationIntegrationDto
|
|
8646
|
+
*/
|
|
8647
|
+
'businessId': number;
|
|
8648
|
+
/**
|
|
8649
|
+
* Booking provider key
|
|
8650
|
+
* @type {string}
|
|
8651
|
+
* @memberof LinkReservationIntegrationDto
|
|
8652
|
+
*/
|
|
8653
|
+
'provider'?: string;
|
|
8654
|
+
/**
|
|
8655
|
+
*
|
|
8656
|
+
* @type {string}
|
|
8657
|
+
* @memberof LinkReservationIntegrationDto
|
|
8658
|
+
*/
|
|
8659
|
+
'externalRestaurantId': string;
|
|
8660
|
+
/**
|
|
8661
|
+
*
|
|
8662
|
+
* @type {string}
|
|
8663
|
+
* @memberof LinkReservationIntegrationDto
|
|
8664
|
+
*/
|
|
8665
|
+
'inboundWebhookUrl': string;
|
|
8666
|
+
/**
|
|
8667
|
+
*
|
|
8668
|
+
* @type {string}
|
|
8669
|
+
* @memberof LinkReservationIntegrationDto
|
|
8670
|
+
*/
|
|
8671
|
+
'signingSecret': string;
|
|
8672
|
+
/**
|
|
8673
|
+
*
|
|
8674
|
+
* @type {string}
|
|
8675
|
+
* @memberof LinkReservationIntegrationDto
|
|
8676
|
+
*/
|
|
8677
|
+
'externalLocationId'?: string;
|
|
8678
|
+
}
|
|
8520
8679
|
/**
|
|
8521
8680
|
*
|
|
8522
8681
|
* @export
|
|
@@ -12023,6 +12182,12 @@ export interface OrderingItemExtraSubOptionDto {
|
|
|
12023
12182
|
* @memberof OrderingItemExtraSubOptionDto
|
|
12024
12183
|
*/
|
|
12025
12184
|
'price': number;
|
|
12185
|
+
/**
|
|
12186
|
+
*
|
|
12187
|
+
* @type {OrderingItemTaxDto}
|
|
12188
|
+
* @memberof OrderingItemExtraSubOptionDto
|
|
12189
|
+
*/
|
|
12190
|
+
'tax'?: OrderingItemTaxDto | null;
|
|
12026
12191
|
/**
|
|
12027
12192
|
*
|
|
12028
12193
|
* @type {string}
|
|
@@ -12054,6 +12219,43 @@ export interface OrderingItemExtraSubOptionDto {
|
|
|
12054
12219
|
*/
|
|
12055
12220
|
'enabled': boolean;
|
|
12056
12221
|
}
|
|
12222
|
+
/**
|
|
12223
|
+
*
|
|
12224
|
+
* @export
|
|
12225
|
+
* @interface OrderingItemTaxDto
|
|
12226
|
+
*/
|
|
12227
|
+
export interface OrderingItemTaxDto {
|
|
12228
|
+
/**
|
|
12229
|
+
*
|
|
12230
|
+
* @type {number}
|
|
12231
|
+
* @memberof OrderingItemTaxDto
|
|
12232
|
+
*/
|
|
12233
|
+
'id': number;
|
|
12234
|
+
/**
|
|
12235
|
+
*
|
|
12236
|
+
* @type {string}
|
|
12237
|
+
* @memberof OrderingItemTaxDto
|
|
12238
|
+
*/
|
|
12239
|
+
'name': string;
|
|
12240
|
+
/**
|
|
12241
|
+
*
|
|
12242
|
+
* @type {number}
|
|
12243
|
+
* @memberof OrderingItemTaxDto
|
|
12244
|
+
*/
|
|
12245
|
+
'rate': number;
|
|
12246
|
+
/**
|
|
12247
|
+
*
|
|
12248
|
+
* @type {number}
|
|
12249
|
+
* @memberof OrderingItemTaxDto
|
|
12250
|
+
*/
|
|
12251
|
+
'type': number;
|
|
12252
|
+
/**
|
|
12253
|
+
*
|
|
12254
|
+
* @type {string}
|
|
12255
|
+
* @memberof OrderingItemTaxDto
|
|
12256
|
+
*/
|
|
12257
|
+
'external_id': string | null;
|
|
12258
|
+
}
|
|
12057
12259
|
/**
|
|
12058
12260
|
*
|
|
12059
12261
|
* @export
|
|
@@ -14887,6 +15089,12 @@ export interface PosMenuReportingCategoryDto {
|
|
|
14887
15089
|
* @memberof PosMenuReportingCategoryDto
|
|
14888
15090
|
*/
|
|
14889
15091
|
'id': number;
|
|
15092
|
+
/**
|
|
15093
|
+
*
|
|
15094
|
+
* @type {string}
|
|
15095
|
+
* @memberof PosMenuReportingCategoryDto
|
|
15096
|
+
*/
|
|
15097
|
+
'reporting_category_name': string | null;
|
|
14890
15098
|
}
|
|
14891
15099
|
/**
|
|
14892
15100
|
*
|
|
@@ -18867,6 +19075,173 @@ export interface RequestSessionTokenResponseDto {
|
|
|
18867
19075
|
*/
|
|
18868
19076
|
'sessionChannel': string;
|
|
18869
19077
|
}
|
|
19078
|
+
/**
|
|
19079
|
+
*
|
|
19080
|
+
* @export
|
|
19081
|
+
* @interface ReservationResponseDto
|
|
19082
|
+
*/
|
|
19083
|
+
export interface ReservationResponseDto {
|
|
19084
|
+
/**
|
|
19085
|
+
*
|
|
19086
|
+
* @type {string}
|
|
19087
|
+
* @memberof ReservationResponseDto
|
|
19088
|
+
*/
|
|
19089
|
+
'id': string;
|
|
19090
|
+
/**
|
|
19091
|
+
*
|
|
19092
|
+
* @type {number}
|
|
19093
|
+
* @memberof ReservationResponseDto
|
|
19094
|
+
*/
|
|
19095
|
+
'orderingBusinessId': number;
|
|
19096
|
+
/**
|
|
19097
|
+
*
|
|
19098
|
+
* @type {object}
|
|
19099
|
+
* @memberof ReservationResponseDto
|
|
19100
|
+
*/
|
|
19101
|
+
'externalId': object | null;
|
|
19102
|
+
/**
|
|
19103
|
+
*
|
|
19104
|
+
* @type {object}
|
|
19105
|
+
* @memberof ReservationResponseDto
|
|
19106
|
+
*/
|
|
19107
|
+
'referenceCode': object | null;
|
|
19108
|
+
/**
|
|
19109
|
+
*
|
|
19110
|
+
* @type {ReservationSource}
|
|
19111
|
+
* @memberof ReservationResponseDto
|
|
19112
|
+
*/
|
|
19113
|
+
'source': ReservationSource;
|
|
19114
|
+
/**
|
|
19115
|
+
*
|
|
19116
|
+
* @type {ReservationStatus}
|
|
19117
|
+
* @memberof ReservationResponseDto
|
|
19118
|
+
*/
|
|
19119
|
+
'status': ReservationStatus;
|
|
19120
|
+
/**
|
|
19121
|
+
*
|
|
19122
|
+
* @type {number}
|
|
19123
|
+
* @memberof ReservationResponseDto
|
|
19124
|
+
*/
|
|
19125
|
+
'partySize': number;
|
|
19126
|
+
/**
|
|
19127
|
+
*
|
|
19128
|
+
* @type {string}
|
|
19129
|
+
* @memberof ReservationResponseDto
|
|
19130
|
+
*/
|
|
19131
|
+
'startsAt': string;
|
|
19132
|
+
/**
|
|
19133
|
+
*
|
|
19134
|
+
* @type {object}
|
|
19135
|
+
* @memberof ReservationResponseDto
|
|
19136
|
+
*/
|
|
19137
|
+
'durationMins': object | null;
|
|
19138
|
+
/**
|
|
19139
|
+
*
|
|
19140
|
+
* @type {object}
|
|
19141
|
+
* @memberof ReservationResponseDto
|
|
19142
|
+
*/
|
|
19143
|
+
'guestName': object | null;
|
|
19144
|
+
/**
|
|
19145
|
+
*
|
|
19146
|
+
* @type {object}
|
|
19147
|
+
* @memberof ReservationResponseDto
|
|
19148
|
+
*/
|
|
19149
|
+
'guestPhone': object | null;
|
|
19150
|
+
/**
|
|
19151
|
+
*
|
|
19152
|
+
* @type {object}
|
|
19153
|
+
* @memberof ReservationResponseDto
|
|
19154
|
+
*/
|
|
19155
|
+
'guestEmail': object | null;
|
|
19156
|
+
/**
|
|
19157
|
+
*
|
|
19158
|
+
* @type {object}
|
|
19159
|
+
* @memberof ReservationResponseDto
|
|
19160
|
+
*/
|
|
19161
|
+
'notes': object | null;
|
|
19162
|
+
/**
|
|
19163
|
+
*
|
|
19164
|
+
* @type {Array<string>}
|
|
19165
|
+
* @memberof ReservationResponseDto
|
|
19166
|
+
*/
|
|
19167
|
+
'tags': Array<string>;
|
|
19168
|
+
/**
|
|
19169
|
+
*
|
|
19170
|
+
* @type {Array<string>}
|
|
19171
|
+
* @memberof ReservationResponseDto
|
|
19172
|
+
*/
|
|
19173
|
+
'tableIds': Array<string>;
|
|
19174
|
+
/**
|
|
19175
|
+
*
|
|
19176
|
+
* @type {object}
|
|
19177
|
+
* @memberof ReservationResponseDto
|
|
19178
|
+
*/
|
|
19179
|
+
'tableGroupId': object | null;
|
|
19180
|
+
/**
|
|
19181
|
+
*
|
|
19182
|
+
* @type {object}
|
|
19183
|
+
* @memberof ReservationResponseDto
|
|
19184
|
+
*/
|
|
19185
|
+
'orderId': object | null;
|
|
19186
|
+
/**
|
|
19187
|
+
*
|
|
19188
|
+
* @type {string}
|
|
19189
|
+
* @memberof ReservationResponseDto
|
|
19190
|
+
*/
|
|
19191
|
+
'seatedAt': string | null;
|
|
19192
|
+
/**
|
|
19193
|
+
*
|
|
19194
|
+
* @type {string}
|
|
19195
|
+
* @memberof ReservationResponseDto
|
|
19196
|
+
*/
|
|
19197
|
+
'completedAt': string | null;
|
|
19198
|
+
/**
|
|
19199
|
+
*
|
|
19200
|
+
* @type {string}
|
|
19201
|
+
* @memberof ReservationResponseDto
|
|
19202
|
+
*/
|
|
19203
|
+
'cancelledAt': string | null;
|
|
19204
|
+
/**
|
|
19205
|
+
*
|
|
19206
|
+
* @type {string}
|
|
19207
|
+
* @memberof ReservationResponseDto
|
|
19208
|
+
*/
|
|
19209
|
+
'createdAt': string;
|
|
19210
|
+
/**
|
|
19211
|
+
*
|
|
19212
|
+
* @type {string}
|
|
19213
|
+
* @memberof ReservationResponseDto
|
|
19214
|
+
*/
|
|
19215
|
+
'updatedAt': string;
|
|
19216
|
+
}
|
|
19217
|
+
/**
|
|
19218
|
+
*
|
|
19219
|
+
* @export
|
|
19220
|
+
* @enum {string}
|
|
19221
|
+
*/
|
|
19222
|
+
export declare const ReservationSource: {
|
|
19223
|
+
readonly WalkIn: "WALK_IN";
|
|
19224
|
+
readonly Pos: "POS";
|
|
19225
|
+
readonly ReservationsApp: "RESERVATIONS_APP";
|
|
19226
|
+
readonly OnlineWidget: "ONLINE_WIDGET";
|
|
19227
|
+
readonly Phone: "PHONE";
|
|
19228
|
+
};
|
|
19229
|
+
export type ReservationSource = typeof ReservationSource[keyof typeof ReservationSource];
|
|
19230
|
+
/**
|
|
19231
|
+
*
|
|
19232
|
+
* @export
|
|
19233
|
+
* @enum {string}
|
|
19234
|
+
*/
|
|
19235
|
+
export declare const ReservationStatus: {
|
|
19236
|
+
readonly Requested: "REQUESTED";
|
|
19237
|
+
readonly Confirmed: "CONFIRMED";
|
|
19238
|
+
readonly Waitlist: "WAITLIST";
|
|
19239
|
+
readonly Seated: "SEATED";
|
|
19240
|
+
readonly NoShow: "NO_SHOW";
|
|
19241
|
+
readonly Completed: "COMPLETED";
|
|
19242
|
+
readonly Cancelled: "CANCELLED";
|
|
19243
|
+
};
|
|
19244
|
+
export type ReservationStatus = typeof ReservationStatus[keyof typeof ReservationStatus];
|
|
18870
19245
|
/**
|
|
18871
19246
|
*
|
|
18872
19247
|
* @export
|
|
@@ -22817,6 +23192,129 @@ export interface UpdateProductSkuDto {
|
|
|
22817
23192
|
*/
|
|
22818
23193
|
'sku': string;
|
|
22819
23194
|
}
|
|
23195
|
+
/**
|
|
23196
|
+
*
|
|
23197
|
+
* @export
|
|
23198
|
+
* @interface UpdateReservationDto
|
|
23199
|
+
*/
|
|
23200
|
+
export interface UpdateReservationDto {
|
|
23201
|
+
/**
|
|
23202
|
+
*
|
|
23203
|
+
* @type {number}
|
|
23204
|
+
* @memberof UpdateReservationDto
|
|
23205
|
+
*/
|
|
23206
|
+
'businessId'?: number;
|
|
23207
|
+
/**
|
|
23208
|
+
*
|
|
23209
|
+
* @type {number}
|
|
23210
|
+
* @memberof UpdateReservationDto
|
|
23211
|
+
*/
|
|
23212
|
+
'partySize'?: number;
|
|
23213
|
+
/**
|
|
23214
|
+
*
|
|
23215
|
+
* @type {string}
|
|
23216
|
+
* @memberof UpdateReservationDto
|
|
23217
|
+
*/
|
|
23218
|
+
'startsAt'?: string;
|
|
23219
|
+
/**
|
|
23220
|
+
*
|
|
23221
|
+
* @type {number}
|
|
23222
|
+
* @memberof UpdateReservationDto
|
|
23223
|
+
*/
|
|
23224
|
+
'durationMins'?: number;
|
|
23225
|
+
/**
|
|
23226
|
+
*
|
|
23227
|
+
* @type {ReservationSource}
|
|
23228
|
+
* @memberof UpdateReservationDto
|
|
23229
|
+
*/
|
|
23230
|
+
'source'?: ReservationSource;
|
|
23231
|
+
/**
|
|
23232
|
+
*
|
|
23233
|
+
* @type {string}
|
|
23234
|
+
* @memberof UpdateReservationDto
|
|
23235
|
+
*/
|
|
23236
|
+
'guestName'?: string;
|
|
23237
|
+
/**
|
|
23238
|
+
*
|
|
23239
|
+
* @type {string}
|
|
23240
|
+
* @memberof UpdateReservationDto
|
|
23241
|
+
*/
|
|
23242
|
+
'guestPhone'?: string;
|
|
23243
|
+
/**
|
|
23244
|
+
*
|
|
23245
|
+
* @type {string}
|
|
23246
|
+
* @memberof UpdateReservationDto
|
|
23247
|
+
*/
|
|
23248
|
+
'notes'?: string;
|
|
23249
|
+
/**
|
|
23250
|
+
*
|
|
23251
|
+
* @type {Array<string>}
|
|
23252
|
+
* @memberof UpdateReservationDto
|
|
23253
|
+
*/
|
|
23254
|
+
'tableIds'?: Array<string>;
|
|
23255
|
+
}
|
|
23256
|
+
/**
|
|
23257
|
+
*
|
|
23258
|
+
* @export
|
|
23259
|
+
* @interface UpdateReservationPolicyDto
|
|
23260
|
+
*/
|
|
23261
|
+
export interface UpdateReservationPolicyDto {
|
|
23262
|
+
/**
|
|
23263
|
+
*
|
|
23264
|
+
* @type {number}
|
|
23265
|
+
* @memberof UpdateReservationPolicyDto
|
|
23266
|
+
*/
|
|
23267
|
+
'businessId': number;
|
|
23268
|
+
/**
|
|
23269
|
+
*
|
|
23270
|
+
* @type {number}
|
|
23271
|
+
* @memberof UpdateReservationPolicyDto
|
|
23272
|
+
*/
|
|
23273
|
+
'defaultTurnTimeMins'?: number;
|
|
23274
|
+
/**
|
|
23275
|
+
*
|
|
23276
|
+
* @type {number}
|
|
23277
|
+
* @memberof UpdateReservationPolicyDto
|
|
23278
|
+
*/
|
|
23279
|
+
'slotGranularityMins'?: number;
|
|
23280
|
+
/**
|
|
23281
|
+
*
|
|
23282
|
+
* @type {number}
|
|
23283
|
+
* @memberof UpdateReservationPolicyDto
|
|
23284
|
+
*/
|
|
23285
|
+
'bufferMins'?: number;
|
|
23286
|
+
/**
|
|
23287
|
+
*
|
|
23288
|
+
* @type {number}
|
|
23289
|
+
* @memberof UpdateReservationPolicyDto
|
|
23290
|
+
*/
|
|
23291
|
+
'minLeadTimeMins'?: number;
|
|
23292
|
+
/**
|
|
23293
|
+
*
|
|
23294
|
+
* @type {number}
|
|
23295
|
+
* @memberof UpdateReservationPolicyDto
|
|
23296
|
+
*/
|
|
23297
|
+
'maxOnlinePartySize'?: number;
|
|
23298
|
+
}
|
|
23299
|
+
/**
|
|
23300
|
+
*
|
|
23301
|
+
* @export
|
|
23302
|
+
* @interface UpdateReservationStatusDto
|
|
23303
|
+
*/
|
|
23304
|
+
export interface UpdateReservationStatusDto {
|
|
23305
|
+
/**
|
|
23306
|
+
*
|
|
23307
|
+
* @type {ReservationStatus}
|
|
23308
|
+
* @memberof UpdateReservationStatusDto
|
|
23309
|
+
*/
|
|
23310
|
+
'status': ReservationStatus;
|
|
23311
|
+
/**
|
|
23312
|
+
* Tables to assign when seating
|
|
23313
|
+
* @type {Array<string>}
|
|
23314
|
+
* @memberof UpdateReservationStatusDto
|
|
23315
|
+
*/
|
|
23316
|
+
'tableIds'?: Array<string>;
|
|
23317
|
+
}
|
|
22820
23318
|
/**
|
|
22821
23319
|
*
|
|
22822
23320
|
* @export
|
|
@@ -36770,6 +37268,499 @@ export declare class ReportApi extends BaseAPI implements ReportApiInterface {
|
|
|
36770
37268
|
*/
|
|
36771
37269
|
sendReportEmailV5(businessIds: Array<number>, timezone: string, sendReportEmailDto: SendReportEmailDto, timeSpan?: TimeSpan, start?: string, end?: string, provider?: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
36772
37270
|
}
|
|
37271
|
+
/**
|
|
37272
|
+
* ReservationsApi - axios parameter creator
|
|
37273
|
+
* @export
|
|
37274
|
+
*/
|
|
37275
|
+
export declare const ReservationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
37276
|
+
/**
|
|
37277
|
+
*
|
|
37278
|
+
* @summary Create a reservation (POS/walk-in)
|
|
37279
|
+
* @param {CreateReservationDto} createReservationDto
|
|
37280
|
+
* @param {*} [options] Override http request option.
|
|
37281
|
+
* @throws {RequiredError}
|
|
37282
|
+
*/
|
|
37283
|
+
createReservation: (createReservationDto: CreateReservationDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37284
|
+
/**
|
|
37285
|
+
*
|
|
37286
|
+
* @summary Get bookable slots for a day
|
|
37287
|
+
* @param {number} businessId
|
|
37288
|
+
* @param {string} date
|
|
37289
|
+
* @param {number} partySize
|
|
37290
|
+
* @param {*} [options] Override http request option.
|
|
37291
|
+
* @throws {RequiredError}
|
|
37292
|
+
*/
|
|
37293
|
+
getReservationAvailability: (businessId: number, date: string, partySize: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37294
|
+
/**
|
|
37295
|
+
*
|
|
37296
|
+
* @summary Get the reservation policy
|
|
37297
|
+
* @param {number} businessId
|
|
37298
|
+
* @param {*} [options] Override http request option.
|
|
37299
|
+
* @throws {RequiredError}
|
|
37300
|
+
*/
|
|
37301
|
+
getReservationPolicy: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37302
|
+
/**
|
|
37303
|
+
*
|
|
37304
|
+
* @summary Link a booking-provider reservation integration
|
|
37305
|
+
* @param {LinkReservationIntegrationDto} linkReservationIntegrationDto
|
|
37306
|
+
* @param {*} [options] Override http request option.
|
|
37307
|
+
* @throws {RequiredError}
|
|
37308
|
+
*/
|
|
37309
|
+
linkReservationIntegration: (linkReservationIntegrationDto: LinkReservationIntegrationDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37310
|
+
/**
|
|
37311
|
+
*
|
|
37312
|
+
* @summary List reservations for a business
|
|
37313
|
+
* @param {number} businessId
|
|
37314
|
+
* @param {string} [date]
|
|
37315
|
+
* @param {'REQUESTED' | 'CONFIRMED' | 'WAITLIST' | 'SEATED' | 'NO_SHOW' | 'COMPLETED' | 'CANCELLED'} [status]
|
|
37316
|
+
* @param {*} [options] Override http request option.
|
|
37317
|
+
* @throws {RequiredError}
|
|
37318
|
+
*/
|
|
37319
|
+
listReservations: (businessId: number, date?: string, status?: "REQUESTED" | "CONFIRMED" | "WAITLIST" | "SEATED" | "NO_SHOW" | "COMPLETED" | "CANCELLED", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37320
|
+
/**
|
|
37321
|
+
*
|
|
37322
|
+
* @summary Receive a booking event from the provider
|
|
37323
|
+
* @param {InboundReservationWebhookDto} inboundReservationWebhookDto
|
|
37324
|
+
* @param {*} [options] Override http request option.
|
|
37325
|
+
* @throws {RequiredError}
|
|
37326
|
+
*/
|
|
37327
|
+
reservationInboundWebhook: (inboundReservationWebhookDto: InboundReservationWebhookDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37328
|
+
/**
|
|
37329
|
+
*
|
|
37330
|
+
* @summary Unlink a reservation integration
|
|
37331
|
+
* @param {number} businessId
|
|
37332
|
+
* @param {*} [options] Override http request option.
|
|
37333
|
+
* @throws {RequiredError}
|
|
37334
|
+
*/
|
|
37335
|
+
unlinkReservationIntegration: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37336
|
+
/**
|
|
37337
|
+
*
|
|
37338
|
+
* @summary Update a reservation
|
|
37339
|
+
* @param {string} id
|
|
37340
|
+
* @param {number} businessId
|
|
37341
|
+
* @param {UpdateReservationDto} updateReservationDto
|
|
37342
|
+
* @param {*} [options] Override http request option.
|
|
37343
|
+
* @throws {RequiredError}
|
|
37344
|
+
*/
|
|
37345
|
+
updateReservation: (id: string, businessId: number, updateReservationDto: UpdateReservationDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37346
|
+
/**
|
|
37347
|
+
*
|
|
37348
|
+
* @summary Update the reservation policy
|
|
37349
|
+
* @param {UpdateReservationPolicyDto} updateReservationPolicyDto
|
|
37350
|
+
* @param {*} [options] Override http request option.
|
|
37351
|
+
* @throws {RequiredError}
|
|
37352
|
+
*/
|
|
37353
|
+
updateReservationPolicy: (updateReservationPolicyDto: UpdateReservationPolicyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37354
|
+
/**
|
|
37355
|
+
*
|
|
37356
|
+
* @summary Update reservation status
|
|
37357
|
+
* @param {string} id
|
|
37358
|
+
* @param {number} businessId
|
|
37359
|
+
* @param {UpdateReservationStatusDto} updateReservationStatusDto
|
|
37360
|
+
* @param {*} [options] Override http request option.
|
|
37361
|
+
* @throws {RequiredError}
|
|
37362
|
+
*/
|
|
37363
|
+
updateReservationStatus: (id: string, businessId: number, updateReservationStatusDto: UpdateReservationStatusDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37364
|
+
};
|
|
37365
|
+
/**
|
|
37366
|
+
* ReservationsApi - functional programming interface
|
|
37367
|
+
* @export
|
|
37368
|
+
*/
|
|
37369
|
+
export declare const ReservationsApiFp: (configuration?: Configuration) => {
|
|
37370
|
+
/**
|
|
37371
|
+
*
|
|
37372
|
+
* @summary Create a reservation (POS/walk-in)
|
|
37373
|
+
* @param {CreateReservationDto} createReservationDto
|
|
37374
|
+
* @param {*} [options] Override http request option.
|
|
37375
|
+
* @throws {RequiredError}
|
|
37376
|
+
*/
|
|
37377
|
+
createReservation(createReservationDto: CreateReservationDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReservationResponseDto>>;
|
|
37378
|
+
/**
|
|
37379
|
+
*
|
|
37380
|
+
* @summary Get bookable slots for a day
|
|
37381
|
+
* @param {number} businessId
|
|
37382
|
+
* @param {string} date
|
|
37383
|
+
* @param {number} partySize
|
|
37384
|
+
* @param {*} [options] Override http request option.
|
|
37385
|
+
* @throws {RequiredError}
|
|
37386
|
+
*/
|
|
37387
|
+
getReservationAvailability(businessId: number, date: string, partySize: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
37388
|
+
/**
|
|
37389
|
+
*
|
|
37390
|
+
* @summary Get the reservation policy
|
|
37391
|
+
* @param {number} businessId
|
|
37392
|
+
* @param {*} [options] Override http request option.
|
|
37393
|
+
* @throws {RequiredError}
|
|
37394
|
+
*/
|
|
37395
|
+
getReservationPolicy(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
37396
|
+
/**
|
|
37397
|
+
*
|
|
37398
|
+
* @summary Link a booking-provider reservation integration
|
|
37399
|
+
* @param {LinkReservationIntegrationDto} linkReservationIntegrationDto
|
|
37400
|
+
* @param {*} [options] Override http request option.
|
|
37401
|
+
* @throws {RequiredError}
|
|
37402
|
+
*/
|
|
37403
|
+
linkReservationIntegration(linkReservationIntegrationDto: LinkReservationIntegrationDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
37404
|
+
/**
|
|
37405
|
+
*
|
|
37406
|
+
* @summary List reservations for a business
|
|
37407
|
+
* @param {number} businessId
|
|
37408
|
+
* @param {string} [date]
|
|
37409
|
+
* @param {'REQUESTED' | 'CONFIRMED' | 'WAITLIST' | 'SEATED' | 'NO_SHOW' | 'COMPLETED' | 'CANCELLED'} [status]
|
|
37410
|
+
* @param {*} [options] Override http request option.
|
|
37411
|
+
* @throws {RequiredError}
|
|
37412
|
+
*/
|
|
37413
|
+
listReservations(businessId: number, date?: string, status?: "REQUESTED" | "CONFIRMED" | "WAITLIST" | "SEATED" | "NO_SHOW" | "COMPLETED" | "CANCELLED", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ReservationResponseDto>>>;
|
|
37414
|
+
/**
|
|
37415
|
+
*
|
|
37416
|
+
* @summary Receive a booking event from the provider
|
|
37417
|
+
* @param {InboundReservationWebhookDto} inboundReservationWebhookDto
|
|
37418
|
+
* @param {*} [options] Override http request option.
|
|
37419
|
+
* @throws {RequiredError}
|
|
37420
|
+
*/
|
|
37421
|
+
reservationInboundWebhook(inboundReservationWebhookDto: InboundReservationWebhookDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
37422
|
+
/**
|
|
37423
|
+
*
|
|
37424
|
+
* @summary Unlink a reservation integration
|
|
37425
|
+
* @param {number} businessId
|
|
37426
|
+
* @param {*} [options] Override http request option.
|
|
37427
|
+
* @throws {RequiredError}
|
|
37428
|
+
*/
|
|
37429
|
+
unlinkReservationIntegration(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
37430
|
+
/**
|
|
37431
|
+
*
|
|
37432
|
+
* @summary Update a reservation
|
|
37433
|
+
* @param {string} id
|
|
37434
|
+
* @param {number} businessId
|
|
37435
|
+
* @param {UpdateReservationDto} updateReservationDto
|
|
37436
|
+
* @param {*} [options] Override http request option.
|
|
37437
|
+
* @throws {RequiredError}
|
|
37438
|
+
*/
|
|
37439
|
+
updateReservation(id: string, businessId: number, updateReservationDto: UpdateReservationDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReservationResponseDto>>;
|
|
37440
|
+
/**
|
|
37441
|
+
*
|
|
37442
|
+
* @summary Update the reservation policy
|
|
37443
|
+
* @param {UpdateReservationPolicyDto} updateReservationPolicyDto
|
|
37444
|
+
* @param {*} [options] Override http request option.
|
|
37445
|
+
* @throws {RequiredError}
|
|
37446
|
+
*/
|
|
37447
|
+
updateReservationPolicy(updateReservationPolicyDto: UpdateReservationPolicyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
37448
|
+
/**
|
|
37449
|
+
*
|
|
37450
|
+
* @summary Update reservation status
|
|
37451
|
+
* @param {string} id
|
|
37452
|
+
* @param {number} businessId
|
|
37453
|
+
* @param {UpdateReservationStatusDto} updateReservationStatusDto
|
|
37454
|
+
* @param {*} [options] Override http request option.
|
|
37455
|
+
* @throws {RequiredError}
|
|
37456
|
+
*/
|
|
37457
|
+
updateReservationStatus(id: string, businessId: number, updateReservationStatusDto: UpdateReservationStatusDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReservationResponseDto>>;
|
|
37458
|
+
};
|
|
37459
|
+
/**
|
|
37460
|
+
* ReservationsApi - factory interface
|
|
37461
|
+
* @export
|
|
37462
|
+
*/
|
|
37463
|
+
export declare const ReservationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
37464
|
+
/**
|
|
37465
|
+
*
|
|
37466
|
+
* @summary Create a reservation (POS/walk-in)
|
|
37467
|
+
* @param {CreateReservationDto} createReservationDto
|
|
37468
|
+
* @param {*} [options] Override http request option.
|
|
37469
|
+
* @throws {RequiredError}
|
|
37470
|
+
*/
|
|
37471
|
+
createReservation(createReservationDto: CreateReservationDto, options?: any): AxiosPromise<ReservationResponseDto>;
|
|
37472
|
+
/**
|
|
37473
|
+
*
|
|
37474
|
+
* @summary Get bookable slots for a day
|
|
37475
|
+
* @param {number} businessId
|
|
37476
|
+
* @param {string} date
|
|
37477
|
+
* @param {number} partySize
|
|
37478
|
+
* @param {*} [options] Override http request option.
|
|
37479
|
+
* @throws {RequiredError}
|
|
37480
|
+
*/
|
|
37481
|
+
getReservationAvailability(businessId: number, date: string, partySize: number, options?: any): AxiosPromise<void>;
|
|
37482
|
+
/**
|
|
37483
|
+
*
|
|
37484
|
+
* @summary Get the reservation policy
|
|
37485
|
+
* @param {number} businessId
|
|
37486
|
+
* @param {*} [options] Override http request option.
|
|
37487
|
+
* @throws {RequiredError}
|
|
37488
|
+
*/
|
|
37489
|
+
getReservationPolicy(businessId: number, options?: any): AxiosPromise<void>;
|
|
37490
|
+
/**
|
|
37491
|
+
*
|
|
37492
|
+
* @summary Link a booking-provider reservation integration
|
|
37493
|
+
* @param {LinkReservationIntegrationDto} linkReservationIntegrationDto
|
|
37494
|
+
* @param {*} [options] Override http request option.
|
|
37495
|
+
* @throws {RequiredError}
|
|
37496
|
+
*/
|
|
37497
|
+
linkReservationIntegration(linkReservationIntegrationDto: LinkReservationIntegrationDto, options?: any): AxiosPromise<void>;
|
|
37498
|
+
/**
|
|
37499
|
+
*
|
|
37500
|
+
* @summary List reservations for a business
|
|
37501
|
+
* @param {number} businessId
|
|
37502
|
+
* @param {string} [date]
|
|
37503
|
+
* @param {'REQUESTED' | 'CONFIRMED' | 'WAITLIST' | 'SEATED' | 'NO_SHOW' | 'COMPLETED' | 'CANCELLED'} [status]
|
|
37504
|
+
* @param {*} [options] Override http request option.
|
|
37505
|
+
* @throws {RequiredError}
|
|
37506
|
+
*/
|
|
37507
|
+
listReservations(businessId: number, date?: string, status?: "REQUESTED" | "CONFIRMED" | "WAITLIST" | "SEATED" | "NO_SHOW" | "COMPLETED" | "CANCELLED", options?: any): AxiosPromise<Array<ReservationResponseDto>>;
|
|
37508
|
+
/**
|
|
37509
|
+
*
|
|
37510
|
+
* @summary Receive a booking event from the provider
|
|
37511
|
+
* @param {InboundReservationWebhookDto} inboundReservationWebhookDto
|
|
37512
|
+
* @param {*} [options] Override http request option.
|
|
37513
|
+
* @throws {RequiredError}
|
|
37514
|
+
*/
|
|
37515
|
+
reservationInboundWebhook(inboundReservationWebhookDto: InboundReservationWebhookDto, options?: any): AxiosPromise<void>;
|
|
37516
|
+
/**
|
|
37517
|
+
*
|
|
37518
|
+
* @summary Unlink a reservation integration
|
|
37519
|
+
* @param {number} businessId
|
|
37520
|
+
* @param {*} [options] Override http request option.
|
|
37521
|
+
* @throws {RequiredError}
|
|
37522
|
+
*/
|
|
37523
|
+
unlinkReservationIntegration(businessId: number, options?: any): AxiosPromise<void>;
|
|
37524
|
+
/**
|
|
37525
|
+
*
|
|
37526
|
+
* @summary Update a reservation
|
|
37527
|
+
* @param {string} id
|
|
37528
|
+
* @param {number} businessId
|
|
37529
|
+
* @param {UpdateReservationDto} updateReservationDto
|
|
37530
|
+
* @param {*} [options] Override http request option.
|
|
37531
|
+
* @throws {RequiredError}
|
|
37532
|
+
*/
|
|
37533
|
+
updateReservation(id: string, businessId: number, updateReservationDto: UpdateReservationDto, options?: any): AxiosPromise<ReservationResponseDto>;
|
|
37534
|
+
/**
|
|
37535
|
+
*
|
|
37536
|
+
* @summary Update the reservation policy
|
|
37537
|
+
* @param {UpdateReservationPolicyDto} updateReservationPolicyDto
|
|
37538
|
+
* @param {*} [options] Override http request option.
|
|
37539
|
+
* @throws {RequiredError}
|
|
37540
|
+
*/
|
|
37541
|
+
updateReservationPolicy(updateReservationPolicyDto: UpdateReservationPolicyDto, options?: any): AxiosPromise<void>;
|
|
37542
|
+
/**
|
|
37543
|
+
*
|
|
37544
|
+
* @summary Update reservation status
|
|
37545
|
+
* @param {string} id
|
|
37546
|
+
* @param {number} businessId
|
|
37547
|
+
* @param {UpdateReservationStatusDto} updateReservationStatusDto
|
|
37548
|
+
* @param {*} [options] Override http request option.
|
|
37549
|
+
* @throws {RequiredError}
|
|
37550
|
+
*/
|
|
37551
|
+
updateReservationStatus(id: string, businessId: number, updateReservationStatusDto: UpdateReservationStatusDto, options?: any): AxiosPromise<ReservationResponseDto>;
|
|
37552
|
+
};
|
|
37553
|
+
/**
|
|
37554
|
+
* ReservationsApi - interface
|
|
37555
|
+
* @export
|
|
37556
|
+
* @interface ReservationsApi
|
|
37557
|
+
*/
|
|
37558
|
+
export interface ReservationsApiInterface {
|
|
37559
|
+
/**
|
|
37560
|
+
*
|
|
37561
|
+
* @summary Create a reservation (POS/walk-in)
|
|
37562
|
+
* @param {CreateReservationDto} createReservationDto
|
|
37563
|
+
* @param {*} [options] Override http request option.
|
|
37564
|
+
* @throws {RequiredError}
|
|
37565
|
+
* @memberof ReservationsApiInterface
|
|
37566
|
+
*/
|
|
37567
|
+
createReservation(createReservationDto: CreateReservationDto, options?: AxiosRequestConfig): AxiosPromise<ReservationResponseDto>;
|
|
37568
|
+
/**
|
|
37569
|
+
*
|
|
37570
|
+
* @summary Get bookable slots for a day
|
|
37571
|
+
* @param {number} businessId
|
|
37572
|
+
* @param {string} date
|
|
37573
|
+
* @param {number} partySize
|
|
37574
|
+
* @param {*} [options] Override http request option.
|
|
37575
|
+
* @throws {RequiredError}
|
|
37576
|
+
* @memberof ReservationsApiInterface
|
|
37577
|
+
*/
|
|
37578
|
+
getReservationAvailability(businessId: number, date: string, partySize: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
37579
|
+
/**
|
|
37580
|
+
*
|
|
37581
|
+
* @summary Get the reservation policy
|
|
37582
|
+
* @param {number} businessId
|
|
37583
|
+
* @param {*} [options] Override http request option.
|
|
37584
|
+
* @throws {RequiredError}
|
|
37585
|
+
* @memberof ReservationsApiInterface
|
|
37586
|
+
*/
|
|
37587
|
+
getReservationPolicy(businessId: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
37588
|
+
/**
|
|
37589
|
+
*
|
|
37590
|
+
* @summary Link a booking-provider reservation integration
|
|
37591
|
+
* @param {LinkReservationIntegrationDto} linkReservationIntegrationDto
|
|
37592
|
+
* @param {*} [options] Override http request option.
|
|
37593
|
+
* @throws {RequiredError}
|
|
37594
|
+
* @memberof ReservationsApiInterface
|
|
37595
|
+
*/
|
|
37596
|
+
linkReservationIntegration(linkReservationIntegrationDto: LinkReservationIntegrationDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
37597
|
+
/**
|
|
37598
|
+
*
|
|
37599
|
+
* @summary List reservations for a business
|
|
37600
|
+
* @param {number} businessId
|
|
37601
|
+
* @param {string} [date]
|
|
37602
|
+
* @param {'REQUESTED' | 'CONFIRMED' | 'WAITLIST' | 'SEATED' | 'NO_SHOW' | 'COMPLETED' | 'CANCELLED'} [status]
|
|
37603
|
+
* @param {*} [options] Override http request option.
|
|
37604
|
+
* @throws {RequiredError}
|
|
37605
|
+
* @memberof ReservationsApiInterface
|
|
37606
|
+
*/
|
|
37607
|
+
listReservations(businessId: number, date?: string, status?: 'REQUESTED' | 'CONFIRMED' | 'WAITLIST' | 'SEATED' | 'NO_SHOW' | 'COMPLETED' | 'CANCELLED', options?: AxiosRequestConfig): AxiosPromise<Array<ReservationResponseDto>>;
|
|
37608
|
+
/**
|
|
37609
|
+
*
|
|
37610
|
+
* @summary Receive a booking event from the provider
|
|
37611
|
+
* @param {InboundReservationWebhookDto} inboundReservationWebhookDto
|
|
37612
|
+
* @param {*} [options] Override http request option.
|
|
37613
|
+
* @throws {RequiredError}
|
|
37614
|
+
* @memberof ReservationsApiInterface
|
|
37615
|
+
*/
|
|
37616
|
+
reservationInboundWebhook(inboundReservationWebhookDto: InboundReservationWebhookDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
37617
|
+
/**
|
|
37618
|
+
*
|
|
37619
|
+
* @summary Unlink a reservation integration
|
|
37620
|
+
* @param {number} businessId
|
|
37621
|
+
* @param {*} [options] Override http request option.
|
|
37622
|
+
* @throws {RequiredError}
|
|
37623
|
+
* @memberof ReservationsApiInterface
|
|
37624
|
+
*/
|
|
37625
|
+
unlinkReservationIntegration(businessId: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
37626
|
+
/**
|
|
37627
|
+
*
|
|
37628
|
+
* @summary Update a reservation
|
|
37629
|
+
* @param {string} id
|
|
37630
|
+
* @param {number} businessId
|
|
37631
|
+
* @param {UpdateReservationDto} updateReservationDto
|
|
37632
|
+
* @param {*} [options] Override http request option.
|
|
37633
|
+
* @throws {RequiredError}
|
|
37634
|
+
* @memberof ReservationsApiInterface
|
|
37635
|
+
*/
|
|
37636
|
+
updateReservation(id: string, businessId: number, updateReservationDto: UpdateReservationDto, options?: AxiosRequestConfig): AxiosPromise<ReservationResponseDto>;
|
|
37637
|
+
/**
|
|
37638
|
+
*
|
|
37639
|
+
* @summary Update the reservation policy
|
|
37640
|
+
* @param {UpdateReservationPolicyDto} updateReservationPolicyDto
|
|
37641
|
+
* @param {*} [options] Override http request option.
|
|
37642
|
+
* @throws {RequiredError}
|
|
37643
|
+
* @memberof ReservationsApiInterface
|
|
37644
|
+
*/
|
|
37645
|
+
updateReservationPolicy(updateReservationPolicyDto: UpdateReservationPolicyDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
37646
|
+
/**
|
|
37647
|
+
*
|
|
37648
|
+
* @summary Update reservation status
|
|
37649
|
+
* @param {string} id
|
|
37650
|
+
* @param {number} businessId
|
|
37651
|
+
* @param {UpdateReservationStatusDto} updateReservationStatusDto
|
|
37652
|
+
* @param {*} [options] Override http request option.
|
|
37653
|
+
* @throws {RequiredError}
|
|
37654
|
+
* @memberof ReservationsApiInterface
|
|
37655
|
+
*/
|
|
37656
|
+
updateReservationStatus(id: string, businessId: number, updateReservationStatusDto: UpdateReservationStatusDto, options?: AxiosRequestConfig): AxiosPromise<ReservationResponseDto>;
|
|
37657
|
+
}
|
|
37658
|
+
/**
|
|
37659
|
+
* ReservationsApi - object-oriented interface
|
|
37660
|
+
* @export
|
|
37661
|
+
* @class ReservationsApi
|
|
37662
|
+
* @extends {BaseAPI}
|
|
37663
|
+
*/
|
|
37664
|
+
export declare class ReservationsApi extends BaseAPI implements ReservationsApiInterface {
|
|
37665
|
+
/**
|
|
37666
|
+
*
|
|
37667
|
+
* @summary Create a reservation (POS/walk-in)
|
|
37668
|
+
* @param {CreateReservationDto} createReservationDto
|
|
37669
|
+
* @param {*} [options] Override http request option.
|
|
37670
|
+
* @throws {RequiredError}
|
|
37671
|
+
* @memberof ReservationsApi
|
|
37672
|
+
*/
|
|
37673
|
+
createReservation(createReservationDto: CreateReservationDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReservationResponseDto, any, {}>>;
|
|
37674
|
+
/**
|
|
37675
|
+
*
|
|
37676
|
+
* @summary Get bookable slots for a day
|
|
37677
|
+
* @param {number} businessId
|
|
37678
|
+
* @param {string} date
|
|
37679
|
+
* @param {number} partySize
|
|
37680
|
+
* @param {*} [options] Override http request option.
|
|
37681
|
+
* @throws {RequiredError}
|
|
37682
|
+
* @memberof ReservationsApi
|
|
37683
|
+
*/
|
|
37684
|
+
getReservationAvailability(businessId: number, date: string, partySize: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
37685
|
+
/**
|
|
37686
|
+
*
|
|
37687
|
+
* @summary Get the reservation policy
|
|
37688
|
+
* @param {number} businessId
|
|
37689
|
+
* @param {*} [options] Override http request option.
|
|
37690
|
+
* @throws {RequiredError}
|
|
37691
|
+
* @memberof ReservationsApi
|
|
37692
|
+
*/
|
|
37693
|
+
getReservationPolicy(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
37694
|
+
/**
|
|
37695
|
+
*
|
|
37696
|
+
* @summary Link a booking-provider reservation integration
|
|
37697
|
+
* @param {LinkReservationIntegrationDto} linkReservationIntegrationDto
|
|
37698
|
+
* @param {*} [options] Override http request option.
|
|
37699
|
+
* @throws {RequiredError}
|
|
37700
|
+
* @memberof ReservationsApi
|
|
37701
|
+
*/
|
|
37702
|
+
linkReservationIntegration(linkReservationIntegrationDto: LinkReservationIntegrationDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
37703
|
+
/**
|
|
37704
|
+
*
|
|
37705
|
+
* @summary List reservations for a business
|
|
37706
|
+
* @param {number} businessId
|
|
37707
|
+
* @param {string} [date]
|
|
37708
|
+
* @param {'REQUESTED' | 'CONFIRMED' | 'WAITLIST' | 'SEATED' | 'NO_SHOW' | 'COMPLETED' | 'CANCELLED'} [status]
|
|
37709
|
+
* @param {*} [options] Override http request option.
|
|
37710
|
+
* @throws {RequiredError}
|
|
37711
|
+
* @memberof ReservationsApi
|
|
37712
|
+
*/
|
|
37713
|
+
listReservations(businessId: number, date?: string, status?: 'REQUESTED' | 'CONFIRMED' | 'WAITLIST' | 'SEATED' | 'NO_SHOW' | 'COMPLETED' | 'CANCELLED', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReservationResponseDto[], any, {}>>;
|
|
37714
|
+
/**
|
|
37715
|
+
*
|
|
37716
|
+
* @summary Receive a booking event from the provider
|
|
37717
|
+
* @param {InboundReservationWebhookDto} inboundReservationWebhookDto
|
|
37718
|
+
* @param {*} [options] Override http request option.
|
|
37719
|
+
* @throws {RequiredError}
|
|
37720
|
+
* @memberof ReservationsApi
|
|
37721
|
+
*/
|
|
37722
|
+
reservationInboundWebhook(inboundReservationWebhookDto: InboundReservationWebhookDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
37723
|
+
/**
|
|
37724
|
+
*
|
|
37725
|
+
* @summary Unlink a reservation integration
|
|
37726
|
+
* @param {number} businessId
|
|
37727
|
+
* @param {*} [options] Override http request option.
|
|
37728
|
+
* @throws {RequiredError}
|
|
37729
|
+
* @memberof ReservationsApi
|
|
37730
|
+
*/
|
|
37731
|
+
unlinkReservationIntegration(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
37732
|
+
/**
|
|
37733
|
+
*
|
|
37734
|
+
* @summary Update a reservation
|
|
37735
|
+
* @param {string} id
|
|
37736
|
+
* @param {number} businessId
|
|
37737
|
+
* @param {UpdateReservationDto} updateReservationDto
|
|
37738
|
+
* @param {*} [options] Override http request option.
|
|
37739
|
+
* @throws {RequiredError}
|
|
37740
|
+
* @memberof ReservationsApi
|
|
37741
|
+
*/
|
|
37742
|
+
updateReservation(id: string, businessId: number, updateReservationDto: UpdateReservationDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReservationResponseDto, any, {}>>;
|
|
37743
|
+
/**
|
|
37744
|
+
*
|
|
37745
|
+
* @summary Update the reservation policy
|
|
37746
|
+
* @param {UpdateReservationPolicyDto} updateReservationPolicyDto
|
|
37747
|
+
* @param {*} [options] Override http request option.
|
|
37748
|
+
* @throws {RequiredError}
|
|
37749
|
+
* @memberof ReservationsApi
|
|
37750
|
+
*/
|
|
37751
|
+
updateReservationPolicy(updateReservationPolicyDto: UpdateReservationPolicyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
37752
|
+
/**
|
|
37753
|
+
*
|
|
37754
|
+
* @summary Update reservation status
|
|
37755
|
+
* @param {string} id
|
|
37756
|
+
* @param {number} businessId
|
|
37757
|
+
* @param {UpdateReservationStatusDto} updateReservationStatusDto
|
|
37758
|
+
* @param {*} [options] Override http request option.
|
|
37759
|
+
* @throws {RequiredError}
|
|
37760
|
+
* @memberof ReservationsApi
|
|
37761
|
+
*/
|
|
37762
|
+
updateReservationStatus(id: string, businessId: number, updateReservationStatusDto: UpdateReservationStatusDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReservationResponseDto, any, {}>>;
|
|
37763
|
+
}
|
|
36773
37764
|
/**
|
|
36774
37765
|
* ShiftTrackingApi - axios parameter creator
|
|
36775
37766
|
* @export
|