@compassdigital/sdk.typescript 4.109.0 → 4.111.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/events/CheckinProcessingFailed.d.ts +27 -0
- package/lib/events/CheckinProcessingFailed.d.ts.map +1 -0
- package/lib/events/CheckinProcessingFailed.js +4 -0
- package/lib/events/CheckinProcessingFailed.js.map +1 -0
- package/lib/events/FrictionlessCheckinExecuted.d.ts +12 -0
- package/lib/events/FrictionlessCheckinExecuted.d.ts.map +1 -0
- package/lib/events/FrictionlessCheckinExecuted.js +4 -0
- package/lib/events/FrictionlessCheckinExecuted.js.map +1 -0
- package/lib/events/FrictionlessShopperCheckedOut.d.ts +26 -0
- package/lib/events/FrictionlessShopperCheckedOut.d.ts.map +1 -0
- package/lib/events/FrictionlessShopperCheckedOut.js +4 -0
- package/lib/events/FrictionlessShopperCheckedOut.js.map +1 -0
- package/lib/events/FrictionlessThirdPartyWebhookReceived.d.ts +14 -0
- package/lib/events/FrictionlessThirdPartyWebhookReceived.d.ts.map +1 -0
- package/lib/events/FrictionlessThirdPartyWebhookReceived.js +4 -0
- package/lib/events/FrictionlessThirdPartyWebhookReceived.js.map +1 -0
- package/lib/events/LegacyBrandCleanupRequested.d.ts +11 -0
- package/lib/events/LegacyBrandCleanupRequested.d.ts.map +1 -0
- package/lib/events/LegacyBrandCleanupRequested.js +4 -0
- package/lib/events/LegacyBrandCleanupRequested.js.map +1 -0
- package/lib/events/LegacyBrandExcelImportRequested.d.ts +13 -0
- package/lib/events/LegacyBrandExcelImportRequested.d.ts.map +1 -0
- package/lib/events/LegacyBrandExcelImportRequested.js +4 -0
- package/lib/events/LegacyBrandExcelImportRequested.js.map +1 -0
- package/lib/events/LegacyDraftBrandDiffGenerateRequested.d.ts +11 -0
- package/lib/events/LegacyDraftBrandDiffGenerateRequested.d.ts.map +1 -0
- package/lib/events/LegacyDraftBrandDiffGenerateRequested.js +4 -0
- package/lib/events/LegacyDraftBrandDiffGenerateRequested.js.map +1 -0
- package/lib/events/LegacyDraftBrandGlobalDiffsApplyRequested.d.ts +11 -0
- package/lib/events/LegacyDraftBrandGlobalDiffsApplyRequested.d.ts.map +1 -0
- package/lib/events/LegacyDraftBrandGlobalDiffsApplyRequested.js +4 -0
- package/lib/events/LegacyDraftBrandGlobalDiffsApplyRequested.js.map +1 -0
- package/lib/events/LegacyDraftBrandPublishRequested.d.ts +12 -0
- package/lib/events/LegacyDraftBrandPublishRequested.d.ts.map +1 -0
- package/lib/events/LegacyDraftBrandPublishRequested.js +4 -0
- package/lib/events/LegacyDraftBrandPublishRequested.js.map +1 -0
- package/lib/events/LegacyDraftBrandPublished.d.ts +12 -0
- package/lib/events/LegacyDraftBrandPublished.d.ts.map +1 -0
- package/lib/events/LegacyDraftBrandPublished.js +4 -0
- package/lib/events/LegacyDraftBrandPublished.js.map +1 -0
- package/lib/events/LegacyDraftMenuPublishedToV2Menu.d.ts +12 -0
- package/lib/events/LegacyDraftMenuPublishedToV2Menu.d.ts.map +1 -0
- package/lib/events/LegacyDraftMenuPublishedToV2Menu.js +4 -0
- package/lib/events/LegacyDraftMenuPublishedToV2Menu.js.map +1 -0
- package/lib/events/LegacyGlobalMenuGroupDeleted.d.ts +11 -0
- package/lib/events/LegacyGlobalMenuGroupDeleted.d.ts.map +1 -0
- package/lib/events/LegacyGlobalMenuGroupDeleted.js +4 -0
- package/lib/events/LegacyGlobalMenuGroupDeleted.js.map +1 -0
- package/lib/events/LegacyItemExcelImportRequested.d.ts +12 -0
- package/lib/events/LegacyItemExcelImportRequested.d.ts.map +1 -0
- package/lib/events/LegacyItemExcelImportRequested.js +4 -0
- package/lib/events/LegacyItemExcelImportRequested.js.map +1 -0
- package/lib/events/LegacyItemExcelValidationRequested.d.ts +13 -0
- package/lib/events/LegacyItemExcelValidationRequested.d.ts.map +1 -0
- package/lib/events/LegacyItemExcelValidationRequested.js +4 -0
- package/lib/events/LegacyItemExcelValidationRequested.js.map +1 -0
- package/lib/events/LegacyLocalMenuGroupDeleted.d.ts +11 -0
- package/lib/events/LegacyLocalMenuGroupDeleted.d.ts.map +1 -0
- package/lib/events/LegacyLocalMenuGroupDeleted.js +4 -0
- package/lib/events/LegacyLocalMenuGroupDeleted.js.map +1 -0
- package/lib/events/LegacyLocationCreated.d.ts +70 -0
- package/lib/events/LegacyLocationCreated.d.ts.map +1 -0
- package/lib/events/LegacyLocationCreated.js +4 -0
- package/lib/events/LegacyLocationCreated.js.map +1 -0
- package/lib/events/LegacyLocationUpdated.d.ts +71 -0
- package/lib/events/LegacyLocationUpdated.d.ts.map +1 -0
- package/lib/events/LegacyLocationUpdated.js +4 -0
- package/lib/events/LegacyLocationUpdated.js.map +1 -0
- package/lib/events/LegacyMenuPublishToV2MenuRequested.d.ts +12 -0
- package/lib/events/LegacyMenuPublishToV2MenuRequested.d.ts.map +1 -0
- package/lib/events/LegacyMenuPublishToV2MenuRequested.js +4 -0
- package/lib/events/LegacyMenuPublishToV2MenuRequested.js.map +1 -0
- package/lib/events/LegacyMenuUpdated.d.ts +13 -0
- package/lib/events/LegacyMenuUpdated.d.ts.map +1 -0
- package/lib/events/LegacyMenuUpdated.js +4 -0
- package/lib/events/LegacyMenuUpdated.js.map +1 -0
- package/lib/events/LegacyOrderCreated.d.ts +68 -0
- package/lib/events/LegacyOrderCreated.d.ts.map +1 -0
- package/lib/events/LegacyOrderCreated.js +4 -0
- package/lib/events/LegacyOrderCreated.js.map +1 -0
- package/lib/events/LegacyOrderReadyStatusUpdate.d.ts +134 -0
- package/lib/events/LegacyOrderReadyStatusUpdate.d.ts.map +1 -0
- package/lib/events/LegacyOrderReadyStatusUpdate.js +4 -0
- package/lib/events/LegacyOrderReadyStatusUpdate.js.map +1 -0
- package/lib/events/LegacyOrderUpdated.d.ts +69 -0
- package/lib/events/LegacyOrderUpdated.d.ts.map +1 -0
- package/lib/events/LegacyOrderUpdated.js +4 -0
- package/lib/events/LegacyOrderUpdated.js.map +1 -0
- package/lib/events/LegacyPopulateLocalBrandsRequested.d.ts +12 -0
- package/lib/events/LegacyPopulateLocalBrandsRequested.d.ts.map +1 -0
- package/lib/events/LegacyPopulateLocalBrandsRequested.js +4 -0
- package/lib/events/LegacyPopulateLocalBrandsRequested.js.map +1 -0
- package/lib/events/LegacyShoppingCartCreated.d.ts +71 -0
- package/lib/events/LegacyShoppingCartCreated.d.ts.map +1 -0
- package/lib/events/LegacyShoppingCartCreated.js +4 -0
- package/lib/events/LegacyShoppingCartCreated.js.map +1 -0
- package/lib/events/LegacyShoppingCartUpdated.d.ts +71 -0
- package/lib/events/LegacyShoppingCartUpdated.d.ts.map +1 -0
- package/lib/events/LegacyShoppingCartUpdated.js +4 -0
- package/lib/events/LegacyShoppingCartUpdated.js.map +1 -0
- package/lib/events/LegacyUserCreated.d.ts +91 -0
- package/lib/events/LegacyUserCreated.d.ts.map +1 -0
- package/lib/events/LegacyUserCreated.js +4 -0
- package/lib/events/LegacyUserCreated.js.map +1 -0
- package/lib/events/LegacyUserUpdated.d.ts +111 -0
- package/lib/events/LegacyUserUpdated.d.ts.map +1 -0
- package/lib/events/LegacyUserUpdated.js +4 -0
- package/lib/events/LegacyUserUpdated.js.map +1 -0
- package/lib/events/LegacyV2MenuCreated.d.ts +9 -0
- package/lib/events/LegacyV2MenuCreated.d.ts.map +1 -0
- package/lib/events/LegacyV2MenuCreated.js +4 -0
- package/lib/events/LegacyV2MenuCreated.js.map +1 -0
- package/lib/events/LegacyV2MenuDeleted.d.ts +9 -0
- package/lib/events/LegacyV2MenuDeleted.d.ts.map +1 -0
- package/lib/events/LegacyV2MenuDeleted.js +4 -0
- package/lib/events/LegacyV2MenuDeleted.js.map +1 -0
- package/lib/events/LegacyV2MenuUpdated.d.ts +9 -0
- package/lib/events/LegacyV2MenuUpdated.d.ts.map +1 -0
- package/lib/events/LegacyV2MenuUpdated.js +4 -0
- package/lib/events/LegacyV2MenuUpdated.js.map +1 -0
- package/lib/events/LegacyWebhookEventCreated.d.ts +11 -0
- package/lib/events/LegacyWebhookEventCreated.d.ts.map +1 -0
- package/lib/events/LegacyWebhookEventCreated.js +4 -0
- package/lib/events/LegacyWebhookEventCreated.js.map +1 -0
- package/lib/events/ReprocessCheckinCommandArrived.d.ts +7 -0
- package/lib/events/ReprocessCheckinCommandArrived.d.ts.map +1 -0
- package/lib/events/ReprocessCheckinCommandArrived.js +4 -0
- package/lib/events/ReprocessCheckinCommandArrived.js.map +1 -0
- package/lib/events/ScanAndGoLocationBrandCreated.d.ts +21 -0
- package/lib/events/ScanAndGoLocationBrandCreated.d.ts.map +1 -0
- package/lib/events/ScanAndGoLocationBrandCreated.js +4 -0
- package/lib/events/ScanAndGoLocationBrandCreated.js.map +1 -0
- package/lib/events/UpdateCheckInPaymentRequired.d.ts +22 -0
- package/lib/events/UpdateCheckInPaymentRequired.d.ts.map +1 -0
- package/lib/events/UpdateCheckInPaymentRequired.js +4 -0
- package/lib/events/UpdateCheckInPaymentRequired.js.map +1 -0
- package/lib/events/index.d.ts +35 -0
- package/lib/events/index.d.ts.map +1 -0
- package/lib/events/index.js +4 -0
- package/lib/events/index.js.map +1 -0
- package/lib/index.d.ts +105 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +114 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/ai.d.ts +0 -10
- package/lib/interface/ai.d.ts.map +1 -1
- package/lib/interface/auth.d.ts +0 -22
- package/lib/interface/auth.d.ts.map +1 -1
- package/lib/interface/centricos.d.ts +20 -48
- package/lib/interface/centricos.d.ts.map +1 -1
- package/lib/interface/consumer.d.ts +174 -14
- package/lib/interface/consumer.d.ts.map +1 -1
- package/lib/interface/discount.d.ts +0 -16
- package/lib/interface/discount.d.ts.map +1 -1
- package/lib/interface/frictionless.d.ts +0 -25
- package/lib/interface/frictionless.d.ts.map +1 -1
- package/lib/interface/review.d.ts +0 -8
- package/lib/interface/review.d.ts.map +1 -1
- package/lib/interface/search.d.ts +0 -5
- package/lib/interface/search.d.ts.map +1 -1
- package/lib/interface/tax.d.ts +0 -6
- package/lib/interface/tax.d.ts.map +1 -1
- package/manifest.json +36 -9
- package/package.json +2 -2
- package/pipeline.yml +1 -0
- package/src/events/CheckinProcessingFailed.ts +28 -0
- package/src/events/FrictionlessCheckinExecuted.ts +13 -0
- package/src/events/FrictionlessShopperCheckedOut.ts +30 -0
- package/src/events/FrictionlessThirdPartyWebhookReceived.ts +15 -0
- package/src/events/LegacyBrandCleanupRequested.ts +14 -0
- package/src/events/LegacyBrandExcelImportRequested.ts +18 -0
- package/src/events/LegacyDraftBrandDiffGenerateRequested.ts +16 -0
- package/src/events/LegacyDraftBrandGlobalDiffsApplyRequested.ts +16 -0
- package/src/events/LegacyDraftBrandPublishRequested.ts +18 -0
- package/src/events/LegacyDraftBrandPublished.ts +18 -0
- package/src/events/LegacyDraftMenuPublishedToV2Menu.ts +18 -0
- package/src/events/LegacyGlobalMenuGroupDeleted.ts +14 -0
- package/src/events/LegacyItemExcelImportRequested.ts +16 -0
- package/src/events/LegacyItemExcelValidationRequested.ts +18 -0
- package/src/events/LegacyLocalMenuGroupDeleted.ts +14 -0
- package/src/events/LegacyLocationCreated.ts +100 -0
- package/src/events/LegacyLocationUpdated.ts +102 -0
- package/src/events/LegacyMenuPublishToV2MenuRequested.ts +16 -0
- package/src/events/LegacyMenuUpdated.ts +18 -0
- package/src/events/LegacyOrderCreated.ts +69 -0
- package/src/events/LegacyOrderReadyStatusUpdate.ts +135 -0
- package/src/events/LegacyOrderUpdated.ts +70 -0
- package/src/events/LegacyPopulateLocalBrandsRequested.ts +15 -0
- package/src/events/LegacyShoppingCartCreated.ts +72 -0
- package/src/events/LegacyShoppingCartUpdated.ts +72 -0
- package/src/events/LegacyUserCreated.ts +92 -0
- package/src/events/LegacyUserUpdated.ts +113 -0
- package/src/events/LegacyV2MenuCreated.ts +13 -0
- package/src/events/LegacyV2MenuDeleted.ts +13 -0
- package/src/events/LegacyV2MenuUpdated.ts +13 -0
- package/src/events/LegacyWebhookEventCreated.ts +12 -0
- package/src/events/ReprocessCheckinCommandArrived.ts +8 -0
- package/src/events/ScanAndGoLocationBrandCreated.ts +22 -0
- package/src/events/UpdateCheckInPaymentRequired.ts +23 -0
- package/src/events/index.ts +69 -0
- package/src/index.ts +284 -0
- package/src/interface/ai.ts +0 -12
- package/src/interface/auth.ts +0 -30
- package/src/interface/centricos.ts +27 -92
- package/src/interface/consumer.ts +277 -23
- package/src/interface/discount.ts +0 -21
- package/src/interface/frictionless.ts +0 -47
- package/src/interface/review.ts +0 -11
- package/src/interface/search.ts +0 -6
- package/src/interface/tax.ts +0 -6
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface LegacyUserCreatedEvent {
|
|
4
|
+
id: string;
|
|
5
|
+
email: string;
|
|
6
|
+
name: 'LegacyUserCreated';
|
|
7
|
+
phone?: number;
|
|
8
|
+
phone_country_code?: string;
|
|
9
|
+
date: {
|
|
10
|
+
created: string;
|
|
11
|
+
modified: string;
|
|
12
|
+
last_accessed: string;
|
|
13
|
+
};
|
|
14
|
+
birthday?: string;
|
|
15
|
+
password?: string;
|
|
16
|
+
tokens?: {
|
|
17
|
+
refresh?: string;
|
|
18
|
+
}[];
|
|
19
|
+
secrets?: {
|
|
20
|
+
blackboard?: string;
|
|
21
|
+
atrium?: string;
|
|
22
|
+
cbord?: string;
|
|
23
|
+
heartland?: string;
|
|
24
|
+
payment_methods?: string;
|
|
25
|
+
itc?: string;
|
|
26
|
+
preferred_payment_method?: string;
|
|
27
|
+
fcm_token?: string;
|
|
28
|
+
FCM_TOKEN?: string;
|
|
29
|
+
phone_verification?: Record<string, any>;
|
|
30
|
+
dh_userid?: string;
|
|
31
|
+
dh_customer_id?: string;
|
|
32
|
+
dh_password?: string;
|
|
33
|
+
_EMAIL_VERIFICATION_TOKEN?: string;
|
|
34
|
+
_PASSWORD_RESET_TOKEN?: string;
|
|
35
|
+
freedompay?: string;
|
|
36
|
+
oauthaccess?: Record<string, any>;
|
|
37
|
+
};
|
|
38
|
+
gender?: string;
|
|
39
|
+
meta?: {
|
|
40
|
+
marketing_opt_in?: boolean;
|
|
41
|
+
marketing_opt_in_source?: string;
|
|
42
|
+
marketing_opt_in_date?: string;
|
|
43
|
+
order_status_notification?: {
|
|
44
|
+
send_emails?: boolean;
|
|
45
|
+
send_emails_date_updated?: string;
|
|
46
|
+
};
|
|
47
|
+
scan_and_go_tutorial_is_complete?: boolean;
|
|
48
|
+
last_location?: string;
|
|
49
|
+
self_checkout_walk_me_complete?: boolean;
|
|
50
|
+
newUser?: boolean;
|
|
51
|
+
brand?: string;
|
|
52
|
+
title?: string;
|
|
53
|
+
password_verification?: {
|
|
54
|
+
attempts?: number;
|
|
55
|
+
first_attempted?: string;
|
|
56
|
+
};
|
|
57
|
+
login_limit?: {
|
|
58
|
+
login_attempts?: number;
|
|
59
|
+
last_attempt_date?: string;
|
|
60
|
+
};
|
|
61
|
+
phone_verification?: {
|
|
62
|
+
verification_code?: string;
|
|
63
|
+
date_generated?: number;
|
|
64
|
+
failed_attempts?: number;
|
|
65
|
+
consecutive_failed_attempts?: number;
|
|
66
|
+
};
|
|
67
|
+
cashless?: {
|
|
68
|
+
stipend?: Record<string, any>;
|
|
69
|
+
voucher?: Record<string, any>;
|
|
70
|
+
badge_pay?: Record<string, any>;
|
|
71
|
+
coupon_voucher?: Record<string, any>;
|
|
72
|
+
};
|
|
73
|
+
mealplan_added_date?: string;
|
|
74
|
+
is_guest?: boolean;
|
|
75
|
+
first_badgepay_added_date?: string;
|
|
76
|
+
looker_id?: string;
|
|
77
|
+
};
|
|
78
|
+
permissions?: {
|
|
79
|
+
scopes?: string[];
|
|
80
|
+
};
|
|
81
|
+
is?: {
|
|
82
|
+
verified?: boolean;
|
|
83
|
+
disabled?: boolean;
|
|
84
|
+
deleted?: boolean;
|
|
85
|
+
phone_verified?: boolean;
|
|
86
|
+
locked_out?: boolean;
|
|
87
|
+
placeholder?: boolean;
|
|
88
|
+
};
|
|
89
|
+
location_group?: string;
|
|
90
|
+
ssoId?: string;
|
|
91
|
+
version: '0.0.1';
|
|
92
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface LegacyUserUpdatedEvent {
|
|
4
|
+
id: string;
|
|
5
|
+
email: string;
|
|
6
|
+
name: 'LegacyUserUpdated';
|
|
7
|
+
phone?: number;
|
|
8
|
+
phone_country_code?: string;
|
|
9
|
+
date: {
|
|
10
|
+
created: string;
|
|
11
|
+
modified: string;
|
|
12
|
+
last_accessed: string;
|
|
13
|
+
};
|
|
14
|
+
birthday?: string;
|
|
15
|
+
password?: string;
|
|
16
|
+
tokens?: {
|
|
17
|
+
refresh?: string;
|
|
18
|
+
}[];
|
|
19
|
+
secrets?: {
|
|
20
|
+
blackboard?: string;
|
|
21
|
+
atrium?: string;
|
|
22
|
+
cbord?: string;
|
|
23
|
+
heartland?: string;
|
|
24
|
+
payment_methods?: string;
|
|
25
|
+
itc?: string;
|
|
26
|
+
preferred_payment_method?: string;
|
|
27
|
+
fcm_token?: string;
|
|
28
|
+
FCM_TOKEN?: string;
|
|
29
|
+
phone_verification?: Record<string, any>;
|
|
30
|
+
dh_userid?: string;
|
|
31
|
+
dh_customer_id?: string;
|
|
32
|
+
dh_password?: string;
|
|
33
|
+
_EMAIL_VERIFICATION_TOKEN?: string;
|
|
34
|
+
_PASSWORD_RESET_TOKEN?: string;
|
|
35
|
+
freedompay?: string;
|
|
36
|
+
oauthaccess?: Record<string, any>;
|
|
37
|
+
};
|
|
38
|
+
gender?: string;
|
|
39
|
+
meta?: {
|
|
40
|
+
marketing_opt_in?: boolean;
|
|
41
|
+
marketing_opt_in_source?: string;
|
|
42
|
+
marketing_opt_in_date?: string;
|
|
43
|
+
order_status_notification?: {
|
|
44
|
+
send_emails?: boolean;
|
|
45
|
+
send_emails_date_updated?: string;
|
|
46
|
+
};
|
|
47
|
+
scan_and_go_tutorial_is_complete?: boolean;
|
|
48
|
+
last_location?: string;
|
|
49
|
+
self_checkout_walk_me_complete?: boolean;
|
|
50
|
+
newUser?: boolean;
|
|
51
|
+
brand?: string;
|
|
52
|
+
title?: string;
|
|
53
|
+
password_verification?: {
|
|
54
|
+
attempts?: number;
|
|
55
|
+
first_attempted?: string;
|
|
56
|
+
};
|
|
57
|
+
login_limit?: {
|
|
58
|
+
login_attempts?: number;
|
|
59
|
+
last_attempt_date?: string;
|
|
60
|
+
};
|
|
61
|
+
phone_verification?: {
|
|
62
|
+
verification_code?: string;
|
|
63
|
+
date_generated?: number;
|
|
64
|
+
failed_attempts?: number;
|
|
65
|
+
consecutive_failed_attempts?: number;
|
|
66
|
+
};
|
|
67
|
+
cashless?: {
|
|
68
|
+
stipend?: Record<string, any>;
|
|
69
|
+
voucher?: Record<string, any>;
|
|
70
|
+
badge_pay?: Record<string, any>;
|
|
71
|
+
coupon_voucher?: Record<string, any>;
|
|
72
|
+
};
|
|
73
|
+
mealplan_added_date?: string;
|
|
74
|
+
is_guest?: boolean;
|
|
75
|
+
first_badgepay_added_date?: string;
|
|
76
|
+
looker_id?: string;
|
|
77
|
+
};
|
|
78
|
+
permissions?: {
|
|
79
|
+
scopes?: string[];
|
|
80
|
+
};
|
|
81
|
+
is?: {
|
|
82
|
+
verified?: boolean;
|
|
83
|
+
disabled?: boolean;
|
|
84
|
+
deleted?: boolean;
|
|
85
|
+
phone_verified?: boolean;
|
|
86
|
+
locked_out?: boolean;
|
|
87
|
+
placeholder?: boolean;
|
|
88
|
+
};
|
|
89
|
+
location_group?: string;
|
|
90
|
+
ssoId?: string;
|
|
91
|
+
// Previous state of the user record before update
|
|
92
|
+
_old: {
|
|
93
|
+
id: string;
|
|
94
|
+
email: string;
|
|
95
|
+
name: {
|
|
96
|
+
first: string;
|
|
97
|
+
last: string;
|
|
98
|
+
};
|
|
99
|
+
phone?: number;
|
|
100
|
+
phone_country_code?: string;
|
|
101
|
+
date: {
|
|
102
|
+
created: string;
|
|
103
|
+
modified: string;
|
|
104
|
+
last_accessed: string;
|
|
105
|
+
};
|
|
106
|
+
meta?: Record<string, any>;
|
|
107
|
+
permissions?: Record<string, any>;
|
|
108
|
+
is?: Record<string, any>;
|
|
109
|
+
location_group?: string;
|
|
110
|
+
ssoId?: string;
|
|
111
|
+
};
|
|
112
|
+
version: '0.0.1';
|
|
113
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface LegacyV2MenuCreatedEvent {
|
|
4
|
+
// Metadata related to the request, can be empty or contain additional information.
|
|
5
|
+
meta: Record<string, any>;
|
|
6
|
+
// The main request body containing the required ID.
|
|
7
|
+
body: {
|
|
8
|
+
// Unique identifier for the request.
|
|
9
|
+
id: string;
|
|
10
|
+
};
|
|
11
|
+
name: 'LegacyV2MenuCreated';
|
|
12
|
+
version: '0.0.1';
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface LegacyV2MenuDeletedEvent {
|
|
4
|
+
// Metadata related to the request, can be empty or contain additional information.
|
|
5
|
+
meta: Record<string, any>;
|
|
6
|
+
// The main request body containing the required ID.
|
|
7
|
+
body: {
|
|
8
|
+
// Unique identifier for the request.
|
|
9
|
+
id: string;
|
|
10
|
+
};
|
|
11
|
+
name: 'LegacyV2MenuDeleted';
|
|
12
|
+
version: '0.0.1';
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface LegacyV2MenuUpdatedEvent {
|
|
4
|
+
// Metadata related to the request, can be empty or contain additional information.
|
|
5
|
+
meta: Record<string, any>;
|
|
6
|
+
// The main request body containing the required ID.
|
|
7
|
+
body: {
|
|
8
|
+
// Unique identifier for the request.
|
|
9
|
+
id: string;
|
|
10
|
+
};
|
|
11
|
+
name: 'LegacyV2MenuUpdated';
|
|
12
|
+
version: '0.0.1';
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface LegacyWebhookEventCreatedEvent {
|
|
4
|
+
process_id: string;
|
|
5
|
+
data: Record<string, any>;
|
|
6
|
+
partner: string;
|
|
7
|
+
expiry_date: number;
|
|
8
|
+
sort_key: string;
|
|
9
|
+
type: string;
|
|
10
|
+
name: 'LegacyWebhookEventCreated';
|
|
11
|
+
version: '0.0.1';
|
|
12
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface ScanAndGoLocationBrandCreatedEvent {
|
|
4
|
+
id: string;
|
|
5
|
+
is: {
|
|
6
|
+
hidden: boolean;
|
|
7
|
+
delivery_supported: boolean;
|
|
8
|
+
pickup_supported: boolean;
|
|
9
|
+
frictionless_supported: boolean;
|
|
10
|
+
web_order_enabled: boolean;
|
|
11
|
+
scan_and_go_supported: boolean;
|
|
12
|
+
special_instructions_enabled: boolean;
|
|
13
|
+
item_label_edit_enabled: boolean;
|
|
14
|
+
local_images_enabled: boolean;
|
|
15
|
+
plu_enabled: boolean;
|
|
16
|
+
};
|
|
17
|
+
company: string;
|
|
18
|
+
sector: string;
|
|
19
|
+
location: string;
|
|
20
|
+
name: 'ScanAndGoLocationBrandCreated';
|
|
21
|
+
version: '0.0.1';
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface UpdateCheckInPaymentRequiredEvent {
|
|
4
|
+
name: 'UpdateCheckInPaymentRequired';
|
|
5
|
+
correlationID: string;
|
|
6
|
+
checkin: {
|
|
7
|
+
id: string;
|
|
8
|
+
createdAt: string;
|
|
9
|
+
updatedAt: string;
|
|
10
|
+
userID: string;
|
|
11
|
+
brandID: string;
|
|
12
|
+
provider: string;
|
|
13
|
+
i18n: string;
|
|
14
|
+
payment: {
|
|
15
|
+
method: string;
|
|
16
|
+
lastFour: string;
|
|
17
|
+
};
|
|
18
|
+
shoppingCartID: string;
|
|
19
|
+
shoppingCartAmount: number;
|
|
20
|
+
metadata?: Record<string, any>;
|
|
21
|
+
};
|
|
22
|
+
version: '0.0.1';
|
|
23
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export { CheckinProcessingFailedEvent } from './CheckinProcessingFailed';
|
|
4
|
+
|
|
5
|
+
export { FrictionlessCheckinExecutedEvent } from './FrictionlessCheckinExecuted';
|
|
6
|
+
|
|
7
|
+
export { FrictionlessShopperCheckedOutEvent } from './FrictionlessShopperCheckedOut';
|
|
8
|
+
|
|
9
|
+
export { FrictionlessThirdPartyWebhookReceivedEvent } from './FrictionlessThirdPartyWebhookReceived';
|
|
10
|
+
|
|
11
|
+
export { LegacyBrandCleanupRequestedEvent } from './LegacyBrandCleanupRequested';
|
|
12
|
+
|
|
13
|
+
export { LegacyBrandExcelImportRequestedEvent } from './LegacyBrandExcelImportRequested';
|
|
14
|
+
|
|
15
|
+
export { LegacyDraftBrandDiffGenerateRequestedEvent } from './LegacyDraftBrandDiffGenerateRequested';
|
|
16
|
+
|
|
17
|
+
export { LegacyDraftBrandGlobalDiffsApplyRequestedEvent } from './LegacyDraftBrandGlobalDiffsApplyRequested';
|
|
18
|
+
|
|
19
|
+
export { LegacyDraftBrandPublishRequestedEvent } from './LegacyDraftBrandPublishRequested';
|
|
20
|
+
|
|
21
|
+
export { LegacyDraftBrandPublishedEvent } from './LegacyDraftBrandPublished';
|
|
22
|
+
|
|
23
|
+
export { LegacyDraftMenuPublishedToV2MenuEvent } from './LegacyDraftMenuPublishedToV2Menu';
|
|
24
|
+
|
|
25
|
+
export { LegacyGlobalMenuGroupDeletedEvent } from './LegacyGlobalMenuGroupDeleted';
|
|
26
|
+
|
|
27
|
+
export { LegacyItemExcelImportRequestedEvent } from './LegacyItemExcelImportRequested';
|
|
28
|
+
|
|
29
|
+
export { LegacyItemExcelValidationRequestedEvent } from './LegacyItemExcelValidationRequested';
|
|
30
|
+
|
|
31
|
+
export { LegacyLocalMenuGroupDeletedEvent } from './LegacyLocalMenuGroupDeleted';
|
|
32
|
+
|
|
33
|
+
export { LegacyLocationCreatedEvent } from './LegacyLocationCreated';
|
|
34
|
+
|
|
35
|
+
export { LegacyLocationUpdatedEvent } from './LegacyLocationUpdated';
|
|
36
|
+
|
|
37
|
+
export { LegacyMenuPublishToV2MenuRequestedEvent } from './LegacyMenuPublishToV2MenuRequested';
|
|
38
|
+
|
|
39
|
+
export { LegacyMenuUpdatedEvent } from './LegacyMenuUpdated';
|
|
40
|
+
|
|
41
|
+
export { LegacyOrderCreatedEvent } from './LegacyOrderCreated';
|
|
42
|
+
|
|
43
|
+
export { LegacyOrderReadyStatusUpdateEvent } from './LegacyOrderReadyStatusUpdate';
|
|
44
|
+
|
|
45
|
+
export { LegacyOrderUpdatedEvent } from './LegacyOrderUpdated';
|
|
46
|
+
|
|
47
|
+
export { LegacyPopulateLocalBrandsRequestedEvent } from './LegacyPopulateLocalBrandsRequested';
|
|
48
|
+
|
|
49
|
+
export { LegacyShoppingCartCreatedEvent } from './LegacyShoppingCartCreated';
|
|
50
|
+
|
|
51
|
+
export { LegacyShoppingCartUpdatedEvent } from './LegacyShoppingCartUpdated';
|
|
52
|
+
|
|
53
|
+
export { LegacyUserCreatedEvent } from './LegacyUserCreated';
|
|
54
|
+
|
|
55
|
+
export { LegacyUserUpdatedEvent } from './LegacyUserUpdated';
|
|
56
|
+
|
|
57
|
+
export { LegacyV2MenuCreatedEvent } from './LegacyV2MenuCreated';
|
|
58
|
+
|
|
59
|
+
export { LegacyV2MenuDeletedEvent } from './LegacyV2MenuDeleted';
|
|
60
|
+
|
|
61
|
+
export { LegacyV2MenuUpdatedEvent } from './LegacyV2MenuUpdated';
|
|
62
|
+
|
|
63
|
+
export { LegacyWebhookEventCreatedEvent } from './LegacyWebhookEventCreated';
|
|
64
|
+
|
|
65
|
+
export { ReprocessCheckinCommandArrivedEvent } from './ReprocessCheckinCommandArrived';
|
|
66
|
+
|
|
67
|
+
export { ScanAndGoLocationBrandCreatedEvent } from './ScanAndGoLocationBrandCreated';
|
|
68
|
+
|
|
69
|
+
export { UpdateCheckInPaymentRequiredEvent } from './UpdateCheckInPaymentRequired';
|
package/src/index.ts
CHANGED
|
@@ -1058,6 +1058,34 @@ import {
|
|
|
1058
1058
|
PostFrictionlessAmazonJwoConnectorV1OrderPurchasesResponse,
|
|
1059
1059
|
} from './interface/frictionless';
|
|
1060
1060
|
|
|
1061
|
+
import {
|
|
1062
|
+
HealthCheckControllerExecuteQuery,
|
|
1063
|
+
HealthCheckControllerExecuteResponse,
|
|
1064
|
+
GetPaymentListByBrandQuery,
|
|
1065
|
+
GetPaymentListByBrandResponse,
|
|
1066
|
+
GetCustomerOrdersQuery,
|
|
1067
|
+
GetCustomerOrdersResponse,
|
|
1068
|
+
PostReviewOrderItemsBody,
|
|
1069
|
+
PostReviewOrderItemsResponse,
|
|
1070
|
+
PostHomePageBody,
|
|
1071
|
+
PostHomePageResponse,
|
|
1072
|
+
GetConsumerFrictionlessCheckinQuery,
|
|
1073
|
+
GetConsumerFrictionlessCheckinResponse,
|
|
1074
|
+
PostFrictionlessQrcodeBody,
|
|
1075
|
+
PostFrictionlessQrcodeResponse,
|
|
1076
|
+
PostConsumerForgotPasswordBody,
|
|
1077
|
+
PostConsumerForgotPasswordResponse,
|
|
1078
|
+
PostConsumerAddSecretResponse,
|
|
1079
|
+
GetConsumerLocationGroupQuery,
|
|
1080
|
+
GetConsumerLocationGroupResponse$0,
|
|
1081
|
+
GetConsumerLocationMultigroupQuery,
|
|
1082
|
+
GetConsumerLocationMultigroupResponse,
|
|
1083
|
+
GetConsumerActiveMenusQuery,
|
|
1084
|
+
GetConsumerActiveMenusResponse,
|
|
1085
|
+
GetConsumerMenuQuery,
|
|
1086
|
+
GetConsumerMenuResponse$0,
|
|
1087
|
+
} from './interface/consumer';
|
|
1088
|
+
|
|
1061
1089
|
import {
|
|
1062
1090
|
PostAiLanguageGenerateBody,
|
|
1063
1091
|
PostAiLanguageGenerateResponse,
|
|
@@ -11202,6 +11230,262 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
11202
11230
|
);
|
|
11203
11231
|
}
|
|
11204
11232
|
|
|
11233
|
+
/**
|
|
11234
|
+
* GET /consumer/v1/health-check
|
|
11235
|
+
*
|
|
11236
|
+
* @param options - additional request options
|
|
11237
|
+
*/
|
|
11238
|
+
HealthCheckController_execute(
|
|
11239
|
+
options?: {
|
|
11240
|
+
query?: HealthCheckControllerExecuteQuery;
|
|
11241
|
+
} & RequestOptions,
|
|
11242
|
+
): ResponsePromise<HealthCheckControllerExecuteResponse> {
|
|
11243
|
+
return this.request(
|
|
11244
|
+
'consumer',
|
|
11245
|
+
'/consumer/v1/health-check',
|
|
11246
|
+
'get',
|
|
11247
|
+
`/consumer/v1/health-check`,
|
|
11248
|
+
null,
|
|
11249
|
+
options,
|
|
11250
|
+
);
|
|
11251
|
+
}
|
|
11252
|
+
|
|
11253
|
+
/**
|
|
11254
|
+
* GET /consumer/v1/payment-methods - List payment methods available in a given brand
|
|
11255
|
+
*
|
|
11256
|
+
* @param options - additional request options
|
|
11257
|
+
*/
|
|
11258
|
+
get_payment_list_by_brand(
|
|
11259
|
+
options?: {
|
|
11260
|
+
query?: GetPaymentListByBrandQuery;
|
|
11261
|
+
} & RequestOptions,
|
|
11262
|
+
): ResponsePromise<GetPaymentListByBrandResponse> {
|
|
11263
|
+
return this.request(
|
|
11264
|
+
'consumer',
|
|
11265
|
+
'/consumer/v1/payment-methods',
|
|
11266
|
+
'get',
|
|
11267
|
+
`/consumer/v1/payment-methods`,
|
|
11268
|
+
null,
|
|
11269
|
+
options,
|
|
11270
|
+
);
|
|
11271
|
+
}
|
|
11272
|
+
|
|
11273
|
+
/**
|
|
11274
|
+
* GET /consumer/customer-orders/{userId} - Get customer orders
|
|
11275
|
+
*
|
|
11276
|
+
* @param userId - a valid CDL user id
|
|
11277
|
+
* @param options - additional request options
|
|
11278
|
+
*/
|
|
11279
|
+
get_customer_orders(
|
|
11280
|
+
userId: string,
|
|
11281
|
+
options?: {
|
|
11282
|
+
query?: GetCustomerOrdersQuery;
|
|
11283
|
+
} & RequestOptions,
|
|
11284
|
+
): ResponsePromise<GetCustomerOrdersResponse> {
|
|
11285
|
+
return this.request(
|
|
11286
|
+
'consumer',
|
|
11287
|
+
'/consumer/customer-orders/{userId}',
|
|
11288
|
+
'get',
|
|
11289
|
+
`/consumer/customer-orders/${userId}`,
|
|
11290
|
+
null,
|
|
11291
|
+
options,
|
|
11292
|
+
);
|
|
11293
|
+
}
|
|
11294
|
+
|
|
11295
|
+
/**
|
|
11296
|
+
* POST /consumer/review/order-items - Submit reviews for order items
|
|
11297
|
+
*
|
|
11298
|
+
* @param body
|
|
11299
|
+
* @param options - additional request options
|
|
11300
|
+
*/
|
|
11301
|
+
post_review_order_items(
|
|
11302
|
+
body: PostReviewOrderItemsBody,
|
|
11303
|
+
options?: RequestOptions,
|
|
11304
|
+
): ResponsePromise<PostReviewOrderItemsResponse> {
|
|
11305
|
+
return this.request(
|
|
11306
|
+
'consumer',
|
|
11307
|
+
'/consumer/review/order-items',
|
|
11308
|
+
'post',
|
|
11309
|
+
`/consumer/review/order-items`,
|
|
11310
|
+
body,
|
|
11311
|
+
options,
|
|
11312
|
+
);
|
|
11313
|
+
}
|
|
11314
|
+
|
|
11315
|
+
/**
|
|
11316
|
+
* POST /consumer/home - Provide the front end all the data required to render the home page
|
|
11317
|
+
*
|
|
11318
|
+
* @param body
|
|
11319
|
+
* @param options - additional request options
|
|
11320
|
+
*/
|
|
11321
|
+
post_home_page(
|
|
11322
|
+
body: PostHomePageBody,
|
|
11323
|
+
options?: RequestOptions,
|
|
11324
|
+
): ResponsePromise<PostHomePageResponse> {
|
|
11325
|
+
return this.request('consumer', '/consumer/home', 'post', `/consumer/home`, body, options);
|
|
11326
|
+
}
|
|
11327
|
+
|
|
11328
|
+
/**
|
|
11329
|
+
* GET /consumer/frictionless/checkin/{id} - Allow a user to check in to a location using frictionless technology
|
|
11330
|
+
*
|
|
11331
|
+
* @param id
|
|
11332
|
+
* @param options - additional request options
|
|
11333
|
+
*/
|
|
11334
|
+
get_consumer_frictionless_checkin(
|
|
11335
|
+
id: string,
|
|
11336
|
+
options?: {
|
|
11337
|
+
query?: GetConsumerFrictionlessCheckinQuery;
|
|
11338
|
+
} & RequestOptions,
|
|
11339
|
+
): ResponsePromise<GetConsumerFrictionlessCheckinResponse> {
|
|
11340
|
+
return this.request(
|
|
11341
|
+
'consumer',
|
|
11342
|
+
'/consumer/frictionless/checkin/{id}',
|
|
11343
|
+
'get',
|
|
11344
|
+
`/consumer/frictionless/checkin/${id}`,
|
|
11345
|
+
null,
|
|
11346
|
+
options,
|
|
11347
|
+
);
|
|
11348
|
+
}
|
|
11349
|
+
|
|
11350
|
+
/**
|
|
11351
|
+
* POST /consumer/frictionless/qrCode - Create a QR code for a frictionless checkin
|
|
11352
|
+
*
|
|
11353
|
+
* @param body
|
|
11354
|
+
* @param options - additional request options
|
|
11355
|
+
*/
|
|
11356
|
+
post_frictionless_qrcode(
|
|
11357
|
+
body: PostFrictionlessQrcodeBody,
|
|
11358
|
+
options?: RequestOptions,
|
|
11359
|
+
): ResponsePromise<PostFrictionlessQrcodeResponse> {
|
|
11360
|
+
return this.request(
|
|
11361
|
+
'consumer',
|
|
11362
|
+
'/consumer/frictionless/qrCode',
|
|
11363
|
+
'post',
|
|
11364
|
+
`/consumer/frictionless/qrCode`,
|
|
11365
|
+
body,
|
|
11366
|
+
options,
|
|
11367
|
+
);
|
|
11368
|
+
}
|
|
11369
|
+
|
|
11370
|
+
/**
|
|
11371
|
+
* POST /consumer/forgotpassword - Forgot password
|
|
11372
|
+
*
|
|
11373
|
+
* @param body
|
|
11374
|
+
* @param options - additional request options
|
|
11375
|
+
*/
|
|
11376
|
+
post_consumer_forgot_password(
|
|
11377
|
+
body: PostConsumerForgotPasswordBody,
|
|
11378
|
+
options?: RequestOptions,
|
|
11379
|
+
): ResponsePromise<PostConsumerForgotPasswordResponse> {
|
|
11380
|
+
return this.request(
|
|
11381
|
+
'consumer',
|
|
11382
|
+
'/consumer/forgotpassword',
|
|
11383
|
+
'post',
|
|
11384
|
+
`/consumer/forgotpassword`,
|
|
11385
|
+
body,
|
|
11386
|
+
options,
|
|
11387
|
+
);
|
|
11388
|
+
}
|
|
11389
|
+
|
|
11390
|
+
/**
|
|
11391
|
+
* POST /consumer/secret - Add user secret
|
|
11392
|
+
*
|
|
11393
|
+
* @param options - additional request options
|
|
11394
|
+
*/
|
|
11395
|
+
post_consumer_add_secret(
|
|
11396
|
+
options?: RequestOptions,
|
|
11397
|
+
): ResponsePromise<PostConsumerAddSecretResponse> {
|
|
11398
|
+
return this.request('consumer', '/consumer/secret', 'post', `/consumer/secret`, null, options);
|
|
11399
|
+
}
|
|
11400
|
+
|
|
11401
|
+
/**
|
|
11402
|
+
* GET /consumer/location-group/{id} - Get location group
|
|
11403
|
+
*
|
|
11404
|
+
* @param id - TODO: add parameter to swagger.json
|
|
11405
|
+
* @param options - additional request options
|
|
11406
|
+
*/
|
|
11407
|
+
get_consumer_location_group(
|
|
11408
|
+
id: string,
|
|
11409
|
+
options?: {
|
|
11410
|
+
query?: GetConsumerLocationGroupQuery;
|
|
11411
|
+
} & RequestOptions,
|
|
11412
|
+
): ResponsePromise<GetConsumerLocationGroupResponse$0> {
|
|
11413
|
+
return this.request(
|
|
11414
|
+
'consumer',
|
|
11415
|
+
'/consumer/location-group/{id}',
|
|
11416
|
+
'get',
|
|
11417
|
+
`/consumer/location-group/${id}`,
|
|
11418
|
+
null,
|
|
11419
|
+
options,
|
|
11420
|
+
);
|
|
11421
|
+
}
|
|
11422
|
+
|
|
11423
|
+
/**
|
|
11424
|
+
* GET /consumer/location-multigroup/{id} - Get location multi group
|
|
11425
|
+
*
|
|
11426
|
+
* @param id - TODO: add parameter to swagger.json
|
|
11427
|
+
* @param options - additional request options
|
|
11428
|
+
*/
|
|
11429
|
+
get_consumer_location_multigroup(
|
|
11430
|
+
id: string,
|
|
11431
|
+
options?: {
|
|
11432
|
+
query?: GetConsumerLocationMultigroupQuery;
|
|
11433
|
+
} & RequestOptions,
|
|
11434
|
+
): ResponsePromise<GetConsumerLocationMultigroupResponse> {
|
|
11435
|
+
return this.request(
|
|
11436
|
+
'consumer',
|
|
11437
|
+
'/consumer/location-multigroup/{id}',
|
|
11438
|
+
'get',
|
|
11439
|
+
`/consumer/location-multigroup/${id}`,
|
|
11440
|
+
null,
|
|
11441
|
+
options,
|
|
11442
|
+
);
|
|
11443
|
+
}
|
|
11444
|
+
|
|
11445
|
+
/**
|
|
11446
|
+
* GET /consumer/active-menus/{stationId} - Get current menu
|
|
11447
|
+
*
|
|
11448
|
+
* @param stationId - TODO: add parameter to swagger.json
|
|
11449
|
+
* @param options - additional request options
|
|
11450
|
+
*/
|
|
11451
|
+
get_consumer_active_menus(
|
|
11452
|
+
stationId: string,
|
|
11453
|
+
options: {
|
|
11454
|
+
query: GetConsumerActiveMenusQuery;
|
|
11455
|
+
} & RequestOptions,
|
|
11456
|
+
): ResponsePromise<GetConsumerActiveMenusResponse> {
|
|
11457
|
+
return this.request(
|
|
11458
|
+
'consumer',
|
|
11459
|
+
'/consumer/active-menus/{stationId}',
|
|
11460
|
+
'get',
|
|
11461
|
+
`/consumer/active-menus/${stationId}`,
|
|
11462
|
+
null,
|
|
11463
|
+
options,
|
|
11464
|
+
);
|
|
11465
|
+
}
|
|
11466
|
+
|
|
11467
|
+
/**
|
|
11468
|
+
* GET /consumer/menu/{id} - Provide the front end all the data required to render the home page
|
|
11469
|
+
*
|
|
11470
|
+
* @param id
|
|
11471
|
+
* @param options - additional request options
|
|
11472
|
+
*/
|
|
11473
|
+
get_consumer_menu(
|
|
11474
|
+
id: string,
|
|
11475
|
+
options?: {
|
|
11476
|
+
query?: GetConsumerMenuQuery;
|
|
11477
|
+
} & RequestOptions,
|
|
11478
|
+
): ResponsePromise<GetConsumerMenuResponse$0> {
|
|
11479
|
+
return this.request(
|
|
11480
|
+
'consumer',
|
|
11481
|
+
'/consumer/menu/{id}',
|
|
11482
|
+
'get',
|
|
11483
|
+
`/consumer/menu/${id}`,
|
|
11484
|
+
null,
|
|
11485
|
+
options,
|
|
11486
|
+
);
|
|
11487
|
+
}
|
|
11488
|
+
|
|
11205
11489
|
/**
|
|
11206
11490
|
* POST /ai/language/generate - Generate text from a given prompt
|
|
11207
11491
|
*
|