@compassdigital/sdk.typescript 4.909.0 → 4.911.0
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/lib/index.d.ts +15 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +18 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/config.d.ts +1 -1
- package/lib/interface/config.d.ts.map +1 -1
- package/lib/interface/consumer.d.ts +52 -8
- package/lib/interface/consumer.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +42 -0
- package/src/interface/config.ts +2 -1
- package/src/interface/consumer.ts +71 -15
|
@@ -4167,6 +4167,59 @@ export interface GetConsumerAppConfigResponse {
|
|
|
4167
4167
|
url?: string;
|
|
4168
4168
|
}
|
|
4169
4169
|
|
|
4170
|
+
export interface ConsumerPublicMealplanConfig {
|
|
4171
|
+
// The mealplan id
|
|
4172
|
+
id?: string;
|
|
4173
|
+
// The mealplan type
|
|
4174
|
+
type?: string;
|
|
4175
|
+
// The mealplan name
|
|
4176
|
+
name?: string;
|
|
4177
|
+
// The mealplan tenders
|
|
4178
|
+
tenders?: ConsumerTender[];
|
|
4179
|
+
// The mealplan valid email domains
|
|
4180
|
+
valid_email_domains?: string[];
|
|
4181
|
+
// The mealplan note
|
|
4182
|
+
note?: Record<string, any>;
|
|
4183
|
+
}
|
|
4184
|
+
|
|
4185
|
+
export interface GetConsumerConfigSitePublicResponse {
|
|
4186
|
+
mealplan?: ConsumerPublicMealplanConfig[];
|
|
4187
|
+
badge_pay?: Record<string, any>;
|
|
4188
|
+
cashless?: Record<string, any>;
|
|
4189
|
+
email_tax_exempt?: Record<string, any>;
|
|
4190
|
+
has_kds?: boolean;
|
|
4191
|
+
runner_app_enabled?: boolean;
|
|
4192
|
+
show_single_timeslot?: boolean;
|
|
4193
|
+
is_checkin_enabled?: boolean;
|
|
4194
|
+
block_timeslot_select?: boolean;
|
|
4195
|
+
chat_enabled?: boolean;
|
|
4196
|
+
frictionless_supported?: boolean;
|
|
4197
|
+
jwo?: Record<string, any>;
|
|
4198
|
+
tax_exemption_overrides?: Record<string, any>;
|
|
4199
|
+
}
|
|
4200
|
+
|
|
4201
|
+
export interface GetConsumerConfigStationPublicResponse {
|
|
4202
|
+
mealplan?: ConsumerPublicMealplanConfig[];
|
|
4203
|
+
badge_pay?: Record<string, any>;
|
|
4204
|
+
cashless?: Record<string, any>;
|
|
4205
|
+
email_tax_exempt?: Record<string, any>;
|
|
4206
|
+
has_kds?: boolean;
|
|
4207
|
+
runner_app_enabled?: boolean;
|
|
4208
|
+
show_single_timeslot?: boolean;
|
|
4209
|
+
is_checkin_enabled?: boolean;
|
|
4210
|
+
block_timeslot_select?: boolean;
|
|
4211
|
+
show_instructions?: boolean;
|
|
4212
|
+
display_calories?: boolean;
|
|
4213
|
+
calorie_disclaimer?: Record<string, any>;
|
|
4214
|
+
delivery_destinations?: string[];
|
|
4215
|
+
pickup_asap?: Record<string, any>;
|
|
4216
|
+
brand_status?: Record<string, any>;
|
|
4217
|
+
checkin_buffer_time?: number;
|
|
4218
|
+
get_phone_number?: boolean;
|
|
4219
|
+
menu_tabs?: string[];
|
|
4220
|
+
web_features_disabled?: Record<string, any>;
|
|
4221
|
+
}
|
|
4222
|
+
|
|
4170
4223
|
export interface PatchCheckinOrderResponseDTO {
|
|
4171
4224
|
// Order ID
|
|
4172
4225
|
id?: string;
|
|
@@ -4267,21 +4320,6 @@ export interface PostConsumerTimeslotsResponse {
|
|
|
4267
4320
|
timeslots: ConsumerTimeslot[];
|
|
4268
4321
|
}
|
|
4269
4322
|
|
|
4270
|
-
export interface ConsumerPublicMealplanConfig {
|
|
4271
|
-
// The mealplan id
|
|
4272
|
-
id?: string;
|
|
4273
|
-
// The mealplan type
|
|
4274
|
-
type?: string;
|
|
4275
|
-
// The mealplan name
|
|
4276
|
-
name?: string;
|
|
4277
|
-
// The mealplan tenders
|
|
4278
|
-
tenders?: ConsumerTender[];
|
|
4279
|
-
// The mealplan valid email domains
|
|
4280
|
-
valid_email_domains?: string[];
|
|
4281
|
-
// The mealplan note
|
|
4282
|
-
note?: Record<string, any>;
|
|
4283
|
-
}
|
|
4284
|
-
|
|
4285
4323
|
export interface GetConsumerConfigPublicResponse {
|
|
4286
4324
|
// The mealplan config data
|
|
4287
4325
|
mealplan?: ConsumerPublicMealplanConfig[];
|
|
@@ -5648,6 +5686,24 @@ export interface GetConsumerConfigAppconfigPath {
|
|
|
5648
5686
|
|
|
5649
5687
|
export type GetConsumerConfigAppconfigResponse = GetConsumerAppConfigResponse;
|
|
5650
5688
|
|
|
5689
|
+
// GET /consumer/config/site/{id}/public - Get the public config of a site
|
|
5690
|
+
|
|
5691
|
+
export interface GetConsumerConfigSitePublicPath {
|
|
5692
|
+
// A site (location group) id
|
|
5693
|
+
id: string;
|
|
5694
|
+
}
|
|
5695
|
+
|
|
5696
|
+
export type GetConsumerConfigSitePublicResponse$0 = GetConsumerConfigSitePublicResponse;
|
|
5697
|
+
|
|
5698
|
+
// GET /consumer/config/station/{id}/public - Get the public config of a station
|
|
5699
|
+
|
|
5700
|
+
export interface GetConsumerConfigStationPublicPath {
|
|
5701
|
+
// A station (location brand) id
|
|
5702
|
+
id: string;
|
|
5703
|
+
}
|
|
5704
|
+
|
|
5705
|
+
export type GetConsumerConfigStationPublicResponse$0 = GetConsumerConfigStationPublicResponse;
|
|
5706
|
+
|
|
5651
5707
|
// PATCH /consumer/order/{orderId}/checkin - Patch checkin customer order
|
|
5652
5708
|
|
|
5653
5709
|
export interface PatchCheckinConsumerOrderPath {
|