@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.
Files changed (176) hide show
  1. package/lib/events/CheckinProcessingFailed.d.ts +27 -0
  2. package/lib/events/CheckinProcessingFailed.d.ts.map +1 -0
  3. package/lib/events/CheckinProcessingFailed.js +4 -0
  4. package/lib/events/CheckinProcessingFailed.js.map +1 -0
  5. package/lib/events/FrictionlessCheckinExecuted.d.ts +12 -0
  6. package/lib/events/FrictionlessCheckinExecuted.d.ts.map +1 -0
  7. package/lib/events/FrictionlessCheckinExecuted.js +4 -0
  8. package/lib/events/FrictionlessCheckinExecuted.js.map +1 -0
  9. package/lib/events/FrictionlessShopperCheckedOut.d.ts +26 -0
  10. package/lib/events/FrictionlessShopperCheckedOut.d.ts.map +1 -0
  11. package/lib/events/FrictionlessShopperCheckedOut.js +4 -0
  12. package/lib/events/FrictionlessShopperCheckedOut.js.map +1 -0
  13. package/lib/events/FrictionlessThirdPartyWebhookReceived.d.ts +14 -0
  14. package/lib/events/FrictionlessThirdPartyWebhookReceived.d.ts.map +1 -0
  15. package/lib/events/FrictionlessThirdPartyWebhookReceived.js +4 -0
  16. package/lib/events/FrictionlessThirdPartyWebhookReceived.js.map +1 -0
  17. package/lib/events/LegacyBrandCleanupRequested.d.ts +11 -0
  18. package/lib/events/LegacyBrandCleanupRequested.d.ts.map +1 -0
  19. package/lib/events/LegacyBrandCleanupRequested.js +4 -0
  20. package/lib/events/LegacyBrandCleanupRequested.js.map +1 -0
  21. package/lib/events/LegacyBrandExcelImportRequested.d.ts +13 -0
  22. package/lib/events/LegacyBrandExcelImportRequested.d.ts.map +1 -0
  23. package/lib/events/LegacyBrandExcelImportRequested.js +4 -0
  24. package/lib/events/LegacyBrandExcelImportRequested.js.map +1 -0
  25. package/lib/events/LegacyDraftBrandDiffGenerateRequested.d.ts +11 -0
  26. package/lib/events/LegacyDraftBrandDiffGenerateRequested.d.ts.map +1 -0
  27. package/lib/events/LegacyDraftBrandDiffGenerateRequested.js +4 -0
  28. package/lib/events/LegacyDraftBrandDiffGenerateRequested.js.map +1 -0
  29. package/lib/events/LegacyDraftBrandGlobalDiffsApplyRequested.d.ts +11 -0
  30. package/lib/events/LegacyDraftBrandGlobalDiffsApplyRequested.d.ts.map +1 -0
  31. package/lib/events/LegacyDraftBrandGlobalDiffsApplyRequested.js +4 -0
  32. package/lib/events/LegacyDraftBrandGlobalDiffsApplyRequested.js.map +1 -0
  33. package/lib/events/LegacyDraftBrandPublishRequested.d.ts +12 -0
  34. package/lib/events/LegacyDraftBrandPublishRequested.d.ts.map +1 -0
  35. package/lib/events/LegacyDraftBrandPublishRequested.js +4 -0
  36. package/lib/events/LegacyDraftBrandPublishRequested.js.map +1 -0
  37. package/lib/events/LegacyDraftBrandPublished.d.ts +12 -0
  38. package/lib/events/LegacyDraftBrandPublished.d.ts.map +1 -0
  39. package/lib/events/LegacyDraftBrandPublished.js +4 -0
  40. package/lib/events/LegacyDraftBrandPublished.js.map +1 -0
  41. package/lib/events/LegacyDraftMenuPublishedToV2Menu.d.ts +12 -0
  42. package/lib/events/LegacyDraftMenuPublishedToV2Menu.d.ts.map +1 -0
  43. package/lib/events/LegacyDraftMenuPublishedToV2Menu.js +4 -0
  44. package/lib/events/LegacyDraftMenuPublishedToV2Menu.js.map +1 -0
  45. package/lib/events/LegacyGlobalMenuGroupDeleted.d.ts +11 -0
  46. package/lib/events/LegacyGlobalMenuGroupDeleted.d.ts.map +1 -0
  47. package/lib/events/LegacyGlobalMenuGroupDeleted.js +4 -0
  48. package/lib/events/LegacyGlobalMenuGroupDeleted.js.map +1 -0
  49. package/lib/events/LegacyItemExcelImportRequested.d.ts +12 -0
  50. package/lib/events/LegacyItemExcelImportRequested.d.ts.map +1 -0
  51. package/lib/events/LegacyItemExcelImportRequested.js +4 -0
  52. package/lib/events/LegacyItemExcelImportRequested.js.map +1 -0
  53. package/lib/events/LegacyItemExcelValidationRequested.d.ts +13 -0
  54. package/lib/events/LegacyItemExcelValidationRequested.d.ts.map +1 -0
  55. package/lib/events/LegacyItemExcelValidationRequested.js +4 -0
  56. package/lib/events/LegacyItemExcelValidationRequested.js.map +1 -0
  57. package/lib/events/LegacyLocalMenuGroupDeleted.d.ts +11 -0
  58. package/lib/events/LegacyLocalMenuGroupDeleted.d.ts.map +1 -0
  59. package/lib/events/LegacyLocalMenuGroupDeleted.js +4 -0
  60. package/lib/events/LegacyLocalMenuGroupDeleted.js.map +1 -0
  61. package/lib/events/LegacyLocationCreated.d.ts +70 -0
  62. package/lib/events/LegacyLocationCreated.d.ts.map +1 -0
  63. package/lib/events/LegacyLocationCreated.js +4 -0
  64. package/lib/events/LegacyLocationCreated.js.map +1 -0
  65. package/lib/events/LegacyLocationUpdated.d.ts +71 -0
  66. package/lib/events/LegacyLocationUpdated.d.ts.map +1 -0
  67. package/lib/events/LegacyLocationUpdated.js +4 -0
  68. package/lib/events/LegacyLocationUpdated.js.map +1 -0
  69. package/lib/events/LegacyMenuPublishToV2MenuRequested.d.ts +12 -0
  70. package/lib/events/LegacyMenuPublishToV2MenuRequested.d.ts.map +1 -0
  71. package/lib/events/LegacyMenuPublishToV2MenuRequested.js +4 -0
  72. package/lib/events/LegacyMenuPublishToV2MenuRequested.js.map +1 -0
  73. package/lib/events/LegacyMenuUpdated.d.ts +13 -0
  74. package/lib/events/LegacyMenuUpdated.d.ts.map +1 -0
  75. package/lib/events/LegacyMenuUpdated.js +4 -0
  76. package/lib/events/LegacyMenuUpdated.js.map +1 -0
  77. package/lib/events/LegacyOrderCreated.d.ts +68 -0
  78. package/lib/events/LegacyOrderCreated.d.ts.map +1 -0
  79. package/lib/events/LegacyOrderCreated.js +4 -0
  80. package/lib/events/LegacyOrderCreated.js.map +1 -0
  81. package/lib/events/LegacyOrderReadyStatusUpdate.d.ts +134 -0
  82. package/lib/events/LegacyOrderReadyStatusUpdate.d.ts.map +1 -0
  83. package/lib/events/LegacyOrderReadyStatusUpdate.js +4 -0
  84. package/lib/events/LegacyOrderReadyStatusUpdate.js.map +1 -0
  85. package/lib/events/LegacyOrderUpdated.d.ts +69 -0
  86. package/lib/events/LegacyOrderUpdated.d.ts.map +1 -0
  87. package/lib/events/LegacyOrderUpdated.js +4 -0
  88. package/lib/events/LegacyOrderUpdated.js.map +1 -0
  89. package/lib/events/LegacyPopulateLocalBrandsRequested.d.ts +12 -0
  90. package/lib/events/LegacyPopulateLocalBrandsRequested.d.ts.map +1 -0
  91. package/lib/events/LegacyPopulateLocalBrandsRequested.js +4 -0
  92. package/lib/events/LegacyPopulateLocalBrandsRequested.js.map +1 -0
  93. package/lib/events/LegacyShoppingCartCreated.d.ts +71 -0
  94. package/lib/events/LegacyShoppingCartCreated.d.ts.map +1 -0
  95. package/lib/events/LegacyShoppingCartCreated.js +4 -0
  96. package/lib/events/LegacyShoppingCartCreated.js.map +1 -0
  97. package/lib/events/LegacyShoppingCartUpdated.d.ts +71 -0
  98. package/lib/events/LegacyShoppingCartUpdated.d.ts.map +1 -0
  99. package/lib/events/LegacyShoppingCartUpdated.js +4 -0
  100. package/lib/events/LegacyShoppingCartUpdated.js.map +1 -0
  101. package/lib/events/LegacyUserCreated.d.ts +91 -0
  102. package/lib/events/LegacyUserCreated.d.ts.map +1 -0
  103. package/lib/events/LegacyUserCreated.js +4 -0
  104. package/lib/events/LegacyUserCreated.js.map +1 -0
  105. package/lib/events/LegacyUserUpdated.d.ts +111 -0
  106. package/lib/events/LegacyUserUpdated.d.ts.map +1 -0
  107. package/lib/events/LegacyUserUpdated.js +4 -0
  108. package/lib/events/LegacyUserUpdated.js.map +1 -0
  109. package/lib/events/LegacyV2MenuCreated.d.ts +9 -0
  110. package/lib/events/LegacyV2MenuCreated.d.ts.map +1 -0
  111. package/lib/events/LegacyV2MenuCreated.js +4 -0
  112. package/lib/events/LegacyV2MenuCreated.js.map +1 -0
  113. package/lib/events/LegacyV2MenuDeleted.d.ts +9 -0
  114. package/lib/events/LegacyV2MenuDeleted.d.ts.map +1 -0
  115. package/lib/events/LegacyV2MenuDeleted.js +4 -0
  116. package/lib/events/LegacyV2MenuDeleted.js.map +1 -0
  117. package/lib/events/LegacyV2MenuUpdated.d.ts +9 -0
  118. package/lib/events/LegacyV2MenuUpdated.d.ts.map +1 -0
  119. package/lib/events/LegacyV2MenuUpdated.js +4 -0
  120. package/lib/events/LegacyV2MenuUpdated.js.map +1 -0
  121. package/lib/events/LegacyWebhookEventCreated.d.ts +11 -0
  122. package/lib/events/LegacyWebhookEventCreated.d.ts.map +1 -0
  123. package/lib/events/LegacyWebhookEventCreated.js +4 -0
  124. package/lib/events/LegacyWebhookEventCreated.js.map +1 -0
  125. package/lib/events/ReprocessCheckinCommandArrived.d.ts +7 -0
  126. package/lib/events/ReprocessCheckinCommandArrived.d.ts.map +1 -0
  127. package/lib/events/ReprocessCheckinCommandArrived.js +4 -0
  128. package/lib/events/ReprocessCheckinCommandArrived.js.map +1 -0
  129. package/lib/events/ScanAndGoLocationBrandCreated.d.ts +21 -0
  130. package/lib/events/ScanAndGoLocationBrandCreated.d.ts.map +1 -0
  131. package/lib/events/ScanAndGoLocationBrandCreated.js +4 -0
  132. package/lib/events/ScanAndGoLocationBrandCreated.js.map +1 -0
  133. package/lib/events/UpdateCheckInPaymentRequired.d.ts +22 -0
  134. package/lib/events/UpdateCheckInPaymentRequired.d.ts.map +1 -0
  135. package/lib/events/UpdateCheckInPaymentRequired.js +4 -0
  136. package/lib/events/UpdateCheckInPaymentRequired.js.map +1 -0
  137. package/lib/events/index.d.ts +35 -0
  138. package/lib/events/index.d.ts.map +1 -0
  139. package/lib/events/index.js +4 -0
  140. package/lib/events/index.js.map +1 -0
  141. package/package.json +5 -2
  142. package/src/events/CheckinProcessingFailed.ts +28 -0
  143. package/src/events/FrictionlessCheckinExecuted.ts +13 -0
  144. package/src/events/FrictionlessShopperCheckedOut.ts +30 -0
  145. package/src/events/FrictionlessThirdPartyWebhookReceived.ts +15 -0
  146. package/src/events/LegacyBrandCleanupRequested.ts +14 -0
  147. package/src/events/LegacyBrandExcelImportRequested.ts +18 -0
  148. package/src/events/LegacyDraftBrandDiffGenerateRequested.ts +16 -0
  149. package/src/events/LegacyDraftBrandGlobalDiffsApplyRequested.ts +16 -0
  150. package/src/events/LegacyDraftBrandPublishRequested.ts +18 -0
  151. package/src/events/LegacyDraftBrandPublished.ts +18 -0
  152. package/src/events/LegacyDraftMenuPublishedToV2Menu.ts +18 -0
  153. package/src/events/LegacyGlobalMenuGroupDeleted.ts +14 -0
  154. package/src/events/LegacyItemExcelImportRequested.ts +16 -0
  155. package/src/events/LegacyItemExcelValidationRequested.ts +18 -0
  156. package/src/events/LegacyLocalMenuGroupDeleted.ts +14 -0
  157. package/src/events/LegacyLocationCreated.ts +100 -0
  158. package/src/events/LegacyLocationUpdated.ts +102 -0
  159. package/src/events/LegacyMenuPublishToV2MenuRequested.ts +16 -0
  160. package/src/events/LegacyMenuUpdated.ts +18 -0
  161. package/src/events/LegacyOrderCreated.ts +69 -0
  162. package/src/events/LegacyOrderReadyStatusUpdate.ts +135 -0
  163. package/src/events/LegacyOrderUpdated.ts +70 -0
  164. package/src/events/LegacyPopulateLocalBrandsRequested.ts +15 -0
  165. package/src/events/LegacyShoppingCartCreated.ts +72 -0
  166. package/src/events/LegacyShoppingCartUpdated.ts +72 -0
  167. package/src/events/LegacyUserCreated.ts +92 -0
  168. package/src/events/LegacyUserUpdated.ts +113 -0
  169. package/src/events/LegacyV2MenuCreated.ts +13 -0
  170. package/src/events/LegacyV2MenuDeleted.ts +13 -0
  171. package/src/events/LegacyV2MenuUpdated.ts +13 -0
  172. package/src/events/LegacyWebhookEventCreated.ts +12 -0
  173. package/src/events/ReprocessCheckinCommandArrived.ts +8 -0
  174. package/src/events/ScanAndGoLocationBrandCreated.ts +22 -0
  175. package/src/events/UpdateCheckInPaymentRequired.ts +23 -0
  176. 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
+ }