@compassdigital/sdk.typescript 4.110.0 → 4.112.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 +5 -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,16 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface LegacyDraftBrandDiffGenerateRequestedEvent {
|
|
4
|
+
// Metadata related to the request, including authentication details.
|
|
5
|
+
meta: {
|
|
6
|
+
// JWT authentication token used for authorization.
|
|
7
|
+
auth_token: string;
|
|
8
|
+
};
|
|
9
|
+
// The main request body containing necessary identifiers.
|
|
10
|
+
body: {
|
|
11
|
+
// Unique identifier for the request.
|
|
12
|
+
id: string;
|
|
13
|
+
};
|
|
14
|
+
name: 'LegacyDraftBrandDiffGenerateRequested';
|
|
15
|
+
version: '0.0.1';
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface LegacyDraftBrandGlobalDiffsApplyRequestedEvent {
|
|
4
|
+
// Metadata related to the request, including authentication details.
|
|
5
|
+
meta: {
|
|
6
|
+
// JWT authentication token used for authorization.
|
|
7
|
+
auth_token: string;
|
|
8
|
+
};
|
|
9
|
+
// The main request body containing necessary identifiers.
|
|
10
|
+
body: {
|
|
11
|
+
// Unique identifier for the request.
|
|
12
|
+
id: string;
|
|
13
|
+
};
|
|
14
|
+
name: 'LegacyDraftBrandGlobalDiffsApplyRequested';
|
|
15
|
+
version: '0.0.1';
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface LegacyDraftBrandPublishRequestedEvent {
|
|
4
|
+
// Metadata related to the request, including authentication details.
|
|
5
|
+
meta: {
|
|
6
|
+
// JWT authentication token used for authorization.
|
|
7
|
+
auth_token: string;
|
|
8
|
+
};
|
|
9
|
+
// The main request body containing necessary identifiers.
|
|
10
|
+
body: {
|
|
11
|
+
// Unique identifier for the request.
|
|
12
|
+
id: string;
|
|
13
|
+
// Unique identifier for the process associated with this request.
|
|
14
|
+
process_id: string;
|
|
15
|
+
};
|
|
16
|
+
name: 'LegacyDraftBrandPublishRequested';
|
|
17
|
+
version: '0.0.1';
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface LegacyDraftBrandPublishedEvent {
|
|
4
|
+
// Metadata related to the request, including authentication details.
|
|
5
|
+
meta: {
|
|
6
|
+
// JWT authentication token used for authorization.
|
|
7
|
+
auth_token: string;
|
|
8
|
+
};
|
|
9
|
+
// The main request body containing necessary identifiers.
|
|
10
|
+
body: {
|
|
11
|
+
// Unique identifier for the request.
|
|
12
|
+
id: string;
|
|
13
|
+
// Unique identifier for the process associated with this request.
|
|
14
|
+
process_id: string;
|
|
15
|
+
};
|
|
16
|
+
name: 'LegacyDraftBrandPublished';
|
|
17
|
+
version: '0.0.1';
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface LegacyDraftMenuPublishedToV2MenuEvent {
|
|
4
|
+
// Metadata related to the request, including authentication details.
|
|
5
|
+
meta: {
|
|
6
|
+
// JWT authentication token used for authorization.
|
|
7
|
+
auth_token: string;
|
|
8
|
+
};
|
|
9
|
+
// The main request body containing necessary identifiers.
|
|
10
|
+
body: {
|
|
11
|
+
// Unique identifier for the request.
|
|
12
|
+
id: string;
|
|
13
|
+
// Unique identifier for the process associated with this request.
|
|
14
|
+
process_id: string;
|
|
15
|
+
};
|
|
16
|
+
name: 'LegacyDraftMenuPublishedToV2Menu';
|
|
17
|
+
version: '0.0.1';
|
|
18
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface LegacyGlobalMenuGroupDeletedEvent {
|
|
4
|
+
meta: {
|
|
5
|
+
// JWT authentication token
|
|
6
|
+
auth_token: string;
|
|
7
|
+
};
|
|
8
|
+
body: {
|
|
9
|
+
// Unique identifier of the deleted global menu group
|
|
10
|
+
id: string;
|
|
11
|
+
};
|
|
12
|
+
name: 'LegacyGlobalMenuGroupDeleted';
|
|
13
|
+
version: '0.0.1';
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface LegacyItemExcelImportRequestedEvent {
|
|
4
|
+
meta: {
|
|
5
|
+
// JWT authentication token
|
|
6
|
+
auth_token: string;
|
|
7
|
+
};
|
|
8
|
+
body: {
|
|
9
|
+
// Unique identifier of the brand
|
|
10
|
+
brand_id: string;
|
|
11
|
+
// File path of the imported Excel file
|
|
12
|
+
path: string;
|
|
13
|
+
};
|
|
14
|
+
name: 'LegacyItemExcelImportRequested';
|
|
15
|
+
version: '0.0.1';
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface LegacyItemExcelValidationRequestedEvent {
|
|
4
|
+
meta: {
|
|
5
|
+
// JWT authentication token
|
|
6
|
+
auth_token: string;
|
|
7
|
+
};
|
|
8
|
+
body: {
|
|
9
|
+
// Unique identifier of the brand
|
|
10
|
+
brand_id: string;
|
|
11
|
+
// URL link to the validation report JSON file
|
|
12
|
+
validation_report_link: string;
|
|
13
|
+
// File path of the imported Excel file
|
|
14
|
+
excel_path: string;
|
|
15
|
+
};
|
|
16
|
+
name: 'LegacyItemExcelValidationRequested';
|
|
17
|
+
version: '0.0.1';
|
|
18
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface LegacyLocalMenuGroupDeletedEvent {
|
|
4
|
+
meta: {
|
|
5
|
+
// JWT authentication token
|
|
6
|
+
auth_token: string;
|
|
7
|
+
};
|
|
8
|
+
body: {
|
|
9
|
+
// Unique identifier of the deleted local menu group
|
|
10
|
+
id: string;
|
|
11
|
+
};
|
|
12
|
+
name: 'LegacyLocalMenuGroupDeleted';
|
|
13
|
+
version: '0.0.1';
|
|
14
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface LegacyLocationCreatedEvent {
|
|
4
|
+
// Unique identifier for the entity
|
|
5
|
+
id: string;
|
|
6
|
+
// Type of entity (e.g., brand, location, group, etc.)
|
|
7
|
+
type: string;
|
|
8
|
+
// Multi-group association
|
|
9
|
+
multigroup?: string;
|
|
10
|
+
// Group association
|
|
11
|
+
group?: string;
|
|
12
|
+
// Location identifier
|
|
13
|
+
location?: string;
|
|
14
|
+
// Sector identifier
|
|
15
|
+
sector?: string;
|
|
16
|
+
// Company identifier
|
|
17
|
+
company?: string;
|
|
18
|
+
name: 'LegacyLocationCreated';
|
|
19
|
+
date: {
|
|
20
|
+
// Creation timestamp
|
|
21
|
+
created: string;
|
|
22
|
+
// Last modification timestamp
|
|
23
|
+
modified: string;
|
|
24
|
+
};
|
|
25
|
+
// External identifier for cross-system references
|
|
26
|
+
external_id?: string;
|
|
27
|
+
address?: {
|
|
28
|
+
address?: string;
|
|
29
|
+
city?: string;
|
|
30
|
+
state?: string;
|
|
31
|
+
zip?: string;
|
|
32
|
+
country?: string;
|
|
33
|
+
coordinates?: {
|
|
34
|
+
latitude: number;
|
|
35
|
+
longitude: number;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
// Labeling metadata
|
|
39
|
+
label?: Record<string, any>;
|
|
40
|
+
// Styling metadata
|
|
41
|
+
style?: Record<string, any>;
|
|
42
|
+
// Additional metadata
|
|
43
|
+
meta?: Record<string, any>;
|
|
44
|
+
// Device mapping information
|
|
45
|
+
device_mapping?: Record<string, any>;
|
|
46
|
+
// Flags indicating entity capabilities
|
|
47
|
+
is?: {
|
|
48
|
+
scan_and_go_supported?: boolean;
|
|
49
|
+
frictionless_supported?: boolean;
|
|
50
|
+
pickup_supported?: boolean;
|
|
51
|
+
delivery_supported?: boolean;
|
|
52
|
+
special_instructions_enabled?: boolean;
|
|
53
|
+
cafe360?: boolean;
|
|
54
|
+
hidden?: boolean;
|
|
55
|
+
};
|
|
56
|
+
timeslots?: {
|
|
57
|
+
averagePrepTime?: string;
|
|
58
|
+
customers_per_slot?: number;
|
|
59
|
+
time?: string;
|
|
60
|
+
delivery_prep_time?: string;
|
|
61
|
+
delivery_is_user_defined?: boolean;
|
|
62
|
+
delivery_time?: string;
|
|
63
|
+
delivery_destinations?: string[];
|
|
64
|
+
delivery_user_defined?: string[];
|
|
65
|
+
delivery_customers_per_slot?: number;
|
|
66
|
+
};
|
|
67
|
+
menus?: Record<string, any>[];
|
|
68
|
+
hours?: Record<string, any>[];
|
|
69
|
+
deliveryHours?: Record<string, any>[];
|
|
70
|
+
// Description data for the entity
|
|
71
|
+
descriptions?: Record<string, any>;
|
|
72
|
+
// Payment provider associated with the entity
|
|
73
|
+
payment_provider?: string;
|
|
74
|
+
// Latitude coordinate
|
|
75
|
+
latitude?: number;
|
|
76
|
+
// Longitude coordinate
|
|
77
|
+
longitude?: number;
|
|
78
|
+
// Timezone for the entity
|
|
79
|
+
timezone?: string;
|
|
80
|
+
// Geohash of the entity's location
|
|
81
|
+
geohash?: string;
|
|
82
|
+
// Associated operation ID
|
|
83
|
+
operation_id?: number;
|
|
84
|
+
// Description of the location
|
|
85
|
+
location_description?: string;
|
|
86
|
+
// Point-of-sale system identifier
|
|
87
|
+
pos?: string;
|
|
88
|
+
terminals?: Record<string, any>[];
|
|
89
|
+
// Marketplace information
|
|
90
|
+
market_place?: Record<string, any>;
|
|
91
|
+
// Indicates if the location has a food locker
|
|
92
|
+
foodlocker?: boolean;
|
|
93
|
+
// Indicates if the entity is archived
|
|
94
|
+
archived?: boolean;
|
|
95
|
+
// Sorting order for listings
|
|
96
|
+
sort_sequence?: number;
|
|
97
|
+
// Additional information
|
|
98
|
+
information?: string;
|
|
99
|
+
version: '0.0.1';
|
|
100
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface LegacyLocationUpdatedEvent {
|
|
4
|
+
// Unique identifier for the entity
|
|
5
|
+
id: string;
|
|
6
|
+
// Type of entity (e.g., brand, location, group, etc.)
|
|
7
|
+
type: string;
|
|
8
|
+
// Multi-group association
|
|
9
|
+
multigroup?: string;
|
|
10
|
+
// Group association
|
|
11
|
+
group?: string;
|
|
12
|
+
// Location identifier
|
|
13
|
+
location?: string;
|
|
14
|
+
// Sector identifier
|
|
15
|
+
sector?: string;
|
|
16
|
+
// Company identifier
|
|
17
|
+
company?: string;
|
|
18
|
+
name: 'LegacyLocationUpdated';
|
|
19
|
+
date: {
|
|
20
|
+
// Creation timestamp
|
|
21
|
+
created: string;
|
|
22
|
+
// Last modification timestamp
|
|
23
|
+
modified: string;
|
|
24
|
+
};
|
|
25
|
+
// External identifier for cross-system references
|
|
26
|
+
external_id?: string;
|
|
27
|
+
address?: {
|
|
28
|
+
address?: string;
|
|
29
|
+
city?: string;
|
|
30
|
+
state?: string;
|
|
31
|
+
zip?: string;
|
|
32
|
+
country?: string;
|
|
33
|
+
coordinates?: {
|
|
34
|
+
latitude: number;
|
|
35
|
+
longitude: number;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
// Labeling metadata
|
|
39
|
+
label?: Record<string, any>;
|
|
40
|
+
// Styling metadata
|
|
41
|
+
style?: Record<string, any>;
|
|
42
|
+
// Additional metadata
|
|
43
|
+
meta?: Record<string, any>;
|
|
44
|
+
// Device mapping information
|
|
45
|
+
device_mapping?: Record<string, any>;
|
|
46
|
+
// Flags indicating entity capabilities
|
|
47
|
+
is?: {
|
|
48
|
+
scan_and_go_supported?: boolean;
|
|
49
|
+
frictionless_supported?: boolean;
|
|
50
|
+
pickup_supported?: boolean;
|
|
51
|
+
delivery_supported?: boolean;
|
|
52
|
+
special_instructions_enabled?: boolean;
|
|
53
|
+
cafe360?: boolean;
|
|
54
|
+
hidden?: boolean;
|
|
55
|
+
};
|
|
56
|
+
timeslots?: {
|
|
57
|
+
averagePrepTime?: string;
|
|
58
|
+
customers_per_slot?: number;
|
|
59
|
+
time?: string;
|
|
60
|
+
delivery_prep_time?: string;
|
|
61
|
+
delivery_is_user_defined?: boolean;
|
|
62
|
+
delivery_time?: string;
|
|
63
|
+
delivery_destinations?: string[];
|
|
64
|
+
delivery_user_defined?: string[];
|
|
65
|
+
delivery_customers_per_slot?: number;
|
|
66
|
+
};
|
|
67
|
+
menus?: Record<string, any>[];
|
|
68
|
+
hours?: Record<string, any>[];
|
|
69
|
+
deliveryHours?: Record<string, any>[];
|
|
70
|
+
// Description data for the entity
|
|
71
|
+
descriptions?: Record<string, any>;
|
|
72
|
+
// Payment provider associated with the entity
|
|
73
|
+
payment_provider?: string;
|
|
74
|
+
// Latitude coordinate
|
|
75
|
+
latitude?: number;
|
|
76
|
+
// Longitude coordinate
|
|
77
|
+
longitude?: number;
|
|
78
|
+
// Timezone for the entity
|
|
79
|
+
timezone?: string;
|
|
80
|
+
// Geohash of the entity's location
|
|
81
|
+
geohash?: string;
|
|
82
|
+
// Associated operation ID
|
|
83
|
+
operation_id?: number;
|
|
84
|
+
// Description of the location
|
|
85
|
+
location_description?: string;
|
|
86
|
+
// Point-of-sale system identifier
|
|
87
|
+
pos?: string;
|
|
88
|
+
terminals?: Record<string, any>[];
|
|
89
|
+
// Marketplace information
|
|
90
|
+
market_place?: Record<string, any>;
|
|
91
|
+
// Indicates if the location has a food locker
|
|
92
|
+
foodlocker?: boolean;
|
|
93
|
+
// Indicates if the entity is archived
|
|
94
|
+
archived?: boolean;
|
|
95
|
+
// Sorting order for listings
|
|
96
|
+
sort_sequence?: number;
|
|
97
|
+
// Additional information
|
|
98
|
+
information?: string;
|
|
99
|
+
// Previous state of the entity before modification
|
|
100
|
+
_old?: Record<string, any>;
|
|
101
|
+
version: '0.0.1';
|
|
102
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface LegacyMenuPublishToV2MenuRequestedEvent {
|
|
4
|
+
meta: {
|
|
5
|
+
// JWT authentication token
|
|
6
|
+
auth_token: string;
|
|
7
|
+
};
|
|
8
|
+
body: {
|
|
9
|
+
// Unique identifier of the menu being published
|
|
10
|
+
id: string;
|
|
11
|
+
// Unique identifier of the publishing process
|
|
12
|
+
process_id: string;
|
|
13
|
+
};
|
|
14
|
+
name: 'LegacyMenuPublishToV2MenuRequested';
|
|
15
|
+
version: '0.0.1';
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface LegacyMenuUpdatedEvent {
|
|
4
|
+
meta: {
|
|
5
|
+
// JWT authentication token
|
|
6
|
+
auth_token: string;
|
|
7
|
+
};
|
|
8
|
+
body: {
|
|
9
|
+
// Unique identifier
|
|
10
|
+
id: string;
|
|
11
|
+
// Current status of the operation
|
|
12
|
+
status: 'initiated' | 'in_progress' | 'completed' | 'failed';
|
|
13
|
+
// Type of operation being performed
|
|
14
|
+
type: 'brand_cleanup' | 'other_types';
|
|
15
|
+
};
|
|
16
|
+
name: 'LegacyMenuUpdated';
|
|
17
|
+
version: '0.0.1';
|
|
18
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface LegacyOrderCreatedEvent {
|
|
4
|
+
date: {
|
|
5
|
+
started: string;
|
|
6
|
+
created: string;
|
|
7
|
+
modified: string;
|
|
8
|
+
should_start: string;
|
|
9
|
+
completion_warning: string;
|
|
10
|
+
};
|
|
11
|
+
pickup_name: string;
|
|
12
|
+
location_brand: string;
|
|
13
|
+
pickup: number;
|
|
14
|
+
is: {
|
|
15
|
+
in_progress: boolean;
|
|
16
|
+
accepted: boolean;
|
|
17
|
+
ready: boolean;
|
|
18
|
+
out_for_delivery: boolean;
|
|
19
|
+
delivered: boolean;
|
|
20
|
+
};
|
|
21
|
+
mealplan: {
|
|
22
|
+
id: string;
|
|
23
|
+
tender: string;
|
|
24
|
+
name: string;
|
|
25
|
+
};
|
|
26
|
+
pickup_id: string;
|
|
27
|
+
meta: {
|
|
28
|
+
source: string;
|
|
29
|
+
timeslot_id: number;
|
|
30
|
+
transaction: {
|
|
31
|
+
id: string;
|
|
32
|
+
balance: number;
|
|
33
|
+
name: string;
|
|
34
|
+
is: {
|
|
35
|
+
validated: boolean;
|
|
36
|
+
};
|
|
37
|
+
transaction_id: string;
|
|
38
|
+
drained_tender_name: string;
|
|
39
|
+
drained_tender_breakdown: Record<string, any>[];
|
|
40
|
+
amount: number;
|
|
41
|
+
};
|
|
42
|
+
kds_type: string;
|
|
43
|
+
is_canada: boolean;
|
|
44
|
+
cancel_eligible: boolean;
|
|
45
|
+
shoppingcart: {
|
|
46
|
+
total: {
|
|
47
|
+
amount: number;
|
|
48
|
+
};
|
|
49
|
+
original_total: {
|
|
50
|
+
amount: number;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
requested_date: number;
|
|
55
|
+
shoppingcart: string;
|
|
56
|
+
details: {
|
|
57
|
+
name: string;
|
|
58
|
+
contact_number: string;
|
|
59
|
+
order_type: string;
|
|
60
|
+
duration: string;
|
|
61
|
+
display_id: string;
|
|
62
|
+
country_code: string;
|
|
63
|
+
destination: string;
|
|
64
|
+
};
|
|
65
|
+
id: string;
|
|
66
|
+
customer: string;
|
|
67
|
+
name: 'LegacyOrderCreated';
|
|
68
|
+
version: '0.0.1';
|
|
69
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface LegacyOrderReadyStatusUpdateEvent {
|
|
4
|
+
date: {
|
|
5
|
+
ready: string;
|
|
6
|
+
pickup: string;
|
|
7
|
+
modified: string;
|
|
8
|
+
started: string;
|
|
9
|
+
created: string;
|
|
10
|
+
should_start: string;
|
|
11
|
+
completion_warning: string;
|
|
12
|
+
};
|
|
13
|
+
issue: {
|
|
14
|
+
id: string;
|
|
15
|
+
type: string;
|
|
16
|
+
reason: string;
|
|
17
|
+
meta: {
|
|
18
|
+
created_at: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
pickup_name: string;
|
|
22
|
+
location_brand: string;
|
|
23
|
+
past_issues: Record<string, any>[];
|
|
24
|
+
pickup: number;
|
|
25
|
+
is: {
|
|
26
|
+
ready: boolean;
|
|
27
|
+
out_for_delivery: boolean;
|
|
28
|
+
in_progress: boolean;
|
|
29
|
+
accepted: boolean;
|
|
30
|
+
delivered: boolean;
|
|
31
|
+
};
|
|
32
|
+
pickup_id: string;
|
|
33
|
+
meta: {
|
|
34
|
+
language: string;
|
|
35
|
+
source: string;
|
|
36
|
+
timeslot_id: number;
|
|
37
|
+
delivery_app: string;
|
|
38
|
+
transaction: {
|
|
39
|
+
reasonCode: number;
|
|
40
|
+
ccCaptureReply: {
|
|
41
|
+
requestDateTime: string;
|
|
42
|
+
purchasingLevel3Enabled: string;
|
|
43
|
+
processorResponseCode: string;
|
|
44
|
+
processorTransactionID: string;
|
|
45
|
+
partialAmount: string;
|
|
46
|
+
amount: string;
|
|
47
|
+
reconciliationID: string;
|
|
48
|
+
enhancedDataEnabled: string;
|
|
49
|
+
reasonCode: number;
|
|
50
|
+
processorResponseMessage: string;
|
|
51
|
+
};
|
|
52
|
+
networkData: {
|
|
53
|
+
network: string;
|
|
54
|
+
};
|
|
55
|
+
decision: string;
|
|
56
|
+
merchantReferenceCode: string;
|
|
57
|
+
tokenInformation: {
|
|
58
|
+
accountNumberMasked: string;
|
|
59
|
+
brand: string;
|
|
60
|
+
cardType: string;
|
|
61
|
+
cardExpirationMonth: string;
|
|
62
|
+
cardExpirationYear: string;
|
|
63
|
+
};
|
|
64
|
+
requestID: string;
|
|
65
|
+
ccAuthReply: {
|
|
66
|
+
authorizedDateTime: string;
|
|
67
|
+
processorTransactionID: string;
|
|
68
|
+
reconciliationID: string;
|
|
69
|
+
partialAmount: string;
|
|
70
|
+
authorizationCode: string;
|
|
71
|
+
enhancedDataEnabled: string;
|
|
72
|
+
processorResponseCode: string;
|
|
73
|
+
reasonCode: number;
|
|
74
|
+
processorResponseMessage: string;
|
|
75
|
+
amount: string;
|
|
76
|
+
requestDateTime: string;
|
|
77
|
+
};
|
|
78
|
+
amount: number;
|
|
79
|
+
requestDateTime: string;
|
|
80
|
+
creditCard: {
|
|
81
|
+
last4: string;
|
|
82
|
+
cardType: string;
|
|
83
|
+
};
|
|
84
|
+
status: string;
|
|
85
|
+
success: boolean;
|
|
86
|
+
id: string;
|
|
87
|
+
};
|
|
88
|
+
discount: {
|
|
89
|
+
id: string;
|
|
90
|
+
date: string;
|
|
91
|
+
result: boolean;
|
|
92
|
+
code: string;
|
|
93
|
+
discount: {
|
|
94
|
+
type: string;
|
|
95
|
+
percent_off: number;
|
|
96
|
+
};
|
|
97
|
+
type: string;
|
|
98
|
+
app: string;
|
|
99
|
+
};
|
|
100
|
+
kds_type: string;
|
|
101
|
+
is_canada: boolean;
|
|
102
|
+
cancel_eligible: boolean;
|
|
103
|
+
shoppingcart: {
|
|
104
|
+
total: {
|
|
105
|
+
amount: number;
|
|
106
|
+
};
|
|
107
|
+
original_total: {
|
|
108
|
+
amount: number;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
requested_date: number;
|
|
113
|
+
shoppingcart: string;
|
|
114
|
+
details: {
|
|
115
|
+
contact_number: string;
|
|
116
|
+
destination: string;
|
|
117
|
+
duration: string;
|
|
118
|
+
instructions: string;
|
|
119
|
+
name: string;
|
|
120
|
+
order_type: string;
|
|
121
|
+
display_id: string;
|
|
122
|
+
country_code: string;
|
|
123
|
+
};
|
|
124
|
+
payment: {
|
|
125
|
+
token: string;
|
|
126
|
+
credit_card: {
|
|
127
|
+
card_type: string;
|
|
128
|
+
last4: string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
id: string;
|
|
132
|
+
customer: string;
|
|
133
|
+
name: 'LegacyOrderReadyStatusUpdate';
|
|
134
|
+
version: '0.0.1';
|
|
135
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface LegacyOrderUpdatedEvent {
|
|
4
|
+
date: {
|
|
5
|
+
started: string;
|
|
6
|
+
created: string;
|
|
7
|
+
modified: string;
|
|
8
|
+
should_start: string;
|
|
9
|
+
completion_warning: string;
|
|
10
|
+
};
|
|
11
|
+
pickup_name: string;
|
|
12
|
+
location_brand: string;
|
|
13
|
+
pickup: number;
|
|
14
|
+
is: {
|
|
15
|
+
in_progress: boolean;
|
|
16
|
+
accepted: boolean;
|
|
17
|
+
ready: boolean;
|
|
18
|
+
out_for_delivery: boolean;
|
|
19
|
+
delivered: boolean;
|
|
20
|
+
};
|
|
21
|
+
mealplan: {
|
|
22
|
+
id: string;
|
|
23
|
+
tender: string;
|
|
24
|
+
name: string;
|
|
25
|
+
};
|
|
26
|
+
pickup_id: string;
|
|
27
|
+
meta: {
|
|
28
|
+
source: string;
|
|
29
|
+
timeslot_id: number;
|
|
30
|
+
transaction: {
|
|
31
|
+
id: string;
|
|
32
|
+
balance: number;
|
|
33
|
+
name: string;
|
|
34
|
+
is: {
|
|
35
|
+
validated: boolean;
|
|
36
|
+
};
|
|
37
|
+
transaction_id: string;
|
|
38
|
+
drained_tender_name: string;
|
|
39
|
+
drained_tender_breakdown: Record<string, any>[];
|
|
40
|
+
amount: number;
|
|
41
|
+
};
|
|
42
|
+
kds_type: string;
|
|
43
|
+
is_canada: boolean;
|
|
44
|
+
cancel_eligible: boolean;
|
|
45
|
+
shoppingcart: {
|
|
46
|
+
total: {
|
|
47
|
+
amount: number;
|
|
48
|
+
};
|
|
49
|
+
original_total: {
|
|
50
|
+
amount: number;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
requested_date: number;
|
|
55
|
+
shoppingcart: string;
|
|
56
|
+
details: {
|
|
57
|
+
name: string;
|
|
58
|
+
contact_number: string;
|
|
59
|
+
order_type: string;
|
|
60
|
+
duration: string;
|
|
61
|
+
display_id: string;
|
|
62
|
+
country_code: string;
|
|
63
|
+
destination: string;
|
|
64
|
+
};
|
|
65
|
+
id: string;
|
|
66
|
+
customer: string;
|
|
67
|
+
_action: string;
|
|
68
|
+
name: 'LegacyOrderUpdated';
|
|
69
|
+
version: '0.0.1';
|
|
70
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface LegacyPopulateLocalBrandsRequestedEvent {
|
|
4
|
+
meta: {
|
|
5
|
+
// JWT authentication token
|
|
6
|
+
auth_token: string;
|
|
7
|
+
};
|
|
8
|
+
body: {
|
|
9
|
+
// Unique identifier for the local menu group
|
|
10
|
+
local_menu_group_id: string;
|
|
11
|
+
local_brand_ids: string[];
|
|
12
|
+
};
|
|
13
|
+
name: 'LegacyPopulateLocalBrandsRequested';
|
|
14
|
+
version: '0.0.1';
|
|
15
|
+
}
|