@compassdigital/sdk.typescript 4.110.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/package.json +2 -2
- 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
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface LegacyShoppingCartCreatedEvent {
|
|
4
|
+
id?: string;
|
|
5
|
+
location?: string;
|
|
6
|
+
menu?: string;
|
|
7
|
+
brand?: string;
|
|
8
|
+
date?: {
|
|
9
|
+
created: string;
|
|
10
|
+
modified: string;
|
|
11
|
+
};
|
|
12
|
+
items?: {
|
|
13
|
+
id: string;
|
|
14
|
+
quantity: number;
|
|
15
|
+
initial_quantity: number;
|
|
16
|
+
product_id: string;
|
|
17
|
+
product?: {
|
|
18
|
+
id?: string;
|
|
19
|
+
source_id?: string;
|
|
20
|
+
name?: string;
|
|
21
|
+
[index: string]: any;
|
|
22
|
+
};
|
|
23
|
+
}[];
|
|
24
|
+
sub_total?: {
|
|
25
|
+
amount?: number;
|
|
26
|
+
};
|
|
27
|
+
promo?: {
|
|
28
|
+
amount?: number;
|
|
29
|
+
};
|
|
30
|
+
discount?: {
|
|
31
|
+
valid?: boolean;
|
|
32
|
+
applicable_to?: Record<string, any>;
|
|
33
|
+
inapplicable_to?: Record<string, any>;
|
|
34
|
+
order?: Record<string, any>;
|
|
35
|
+
code?: string;
|
|
36
|
+
discount?: Record<string, any>;
|
|
37
|
+
metadata?: Record<string, any>;
|
|
38
|
+
app?: string;
|
|
39
|
+
provider?: string;
|
|
40
|
+
};
|
|
41
|
+
payment_method?: {
|
|
42
|
+
mealplan?: Record<string, any>;
|
|
43
|
+
credit_card?: Record<string, any>;
|
|
44
|
+
digital_wallet_pay?: Record<string, any>;
|
|
45
|
+
meal_swipes?: Record<string, any>;
|
|
46
|
+
badge_pay?: Record<string, any>;
|
|
47
|
+
};
|
|
48
|
+
taxes?: {
|
|
49
|
+
rate?: number;
|
|
50
|
+
amount?: number;
|
|
51
|
+
breakdown?: Record<string, any>;
|
|
52
|
+
};
|
|
53
|
+
exemptions?: Record<string, any>;
|
|
54
|
+
total?: {
|
|
55
|
+
amount?: number;
|
|
56
|
+
};
|
|
57
|
+
order?: Record<string, any>;
|
|
58
|
+
service_fee?: {
|
|
59
|
+
amount?: number;
|
|
60
|
+
};
|
|
61
|
+
delivery_fee?: {
|
|
62
|
+
amount?: number;
|
|
63
|
+
};
|
|
64
|
+
is?: {
|
|
65
|
+
type?: string;
|
|
66
|
+
email_tax_exempt?: boolean;
|
|
67
|
+
};
|
|
68
|
+
meta?: Record<string, any>;
|
|
69
|
+
name: 'LegacyShoppingCartCreated';
|
|
70
|
+
version: '0.0.1';
|
|
71
|
+
[index: string]: any;
|
|
72
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface LegacyShoppingCartUpdatedEvent {
|
|
4
|
+
id?: string;
|
|
5
|
+
location?: string;
|
|
6
|
+
menu?: string;
|
|
7
|
+
brand?: string;
|
|
8
|
+
date?: {
|
|
9
|
+
created: string;
|
|
10
|
+
modified: string;
|
|
11
|
+
};
|
|
12
|
+
items?: {
|
|
13
|
+
id: string;
|
|
14
|
+
quantity: number;
|
|
15
|
+
initial_quantity: number;
|
|
16
|
+
product_id: string;
|
|
17
|
+
product?: {
|
|
18
|
+
id?: string;
|
|
19
|
+
source_id?: string;
|
|
20
|
+
name?: string;
|
|
21
|
+
[index: string]: any;
|
|
22
|
+
};
|
|
23
|
+
}[];
|
|
24
|
+
sub_total?: {
|
|
25
|
+
amount?: number;
|
|
26
|
+
};
|
|
27
|
+
promo?: {
|
|
28
|
+
amount?: number;
|
|
29
|
+
};
|
|
30
|
+
discount?: {
|
|
31
|
+
valid?: boolean;
|
|
32
|
+
applicable_to?: Record<string, any>;
|
|
33
|
+
inapplicable_to?: Record<string, any>;
|
|
34
|
+
order?: Record<string, any>;
|
|
35
|
+
code?: string;
|
|
36
|
+
discount?: Record<string, any>;
|
|
37
|
+
metadata?: Record<string, any>;
|
|
38
|
+
app?: string;
|
|
39
|
+
provider?: string;
|
|
40
|
+
};
|
|
41
|
+
payment_method?: {
|
|
42
|
+
mealplan?: Record<string, any>;
|
|
43
|
+
credit_card?: Record<string, any>;
|
|
44
|
+
digital_wallet_pay?: Record<string, any>;
|
|
45
|
+
meal_swipes?: Record<string, any>;
|
|
46
|
+
badge_pay?: Record<string, any>;
|
|
47
|
+
};
|
|
48
|
+
taxes?: {
|
|
49
|
+
rate?: number;
|
|
50
|
+
amount?: number;
|
|
51
|
+
breakdown?: Record<string, any>;
|
|
52
|
+
};
|
|
53
|
+
exemptions?: Record<string, any>;
|
|
54
|
+
total?: {
|
|
55
|
+
amount?: number;
|
|
56
|
+
};
|
|
57
|
+
order?: Record<string, any>;
|
|
58
|
+
service_fee?: {
|
|
59
|
+
amount?: number;
|
|
60
|
+
};
|
|
61
|
+
delivery_fee?: {
|
|
62
|
+
amount?: number;
|
|
63
|
+
};
|
|
64
|
+
is?: {
|
|
65
|
+
type?: string;
|
|
66
|
+
email_tax_exempt?: boolean;
|
|
67
|
+
};
|
|
68
|
+
meta?: Record<string, any>;
|
|
69
|
+
name: 'LegacyShoppingCartUpdated';
|
|
70
|
+
version: '0.0.1';
|
|
71
|
+
[index: string]: any;
|
|
72
|
+
}
|
|
@@ -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';
|