@compassdigital/sdk.typescript 4.261.0 → 4.263.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.
@@ -0,0 +1,22 @@
1
+ export interface ReviewCreatedEvent {
2
+ id: string;
3
+ type: 'ReviewCreatedEvent';
4
+ version: '0.0.1';
5
+ timestamp: string;
6
+ traceContext: {
7
+ traceId?: string;
8
+ };
9
+ payload: {
10
+ review: {
11
+ id: string;
12
+ createdAt: string;
13
+ updatedAt: string;
14
+ score?: number;
15
+ comment?: string;
16
+ reason?: string[];
17
+ taxonomy?: Record<string, string>;
18
+ };
19
+ };
20
+ source: string;
21
+ }
22
+ //# sourceMappingURL=ReviewCreatedEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReviewCreatedEvent.d.ts","sourceRoot":"","sources":["../../../src/messages/events/ReviewCreatedEvent.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,kBAAkB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,oBAAoB,CAAC;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE;QACb,OAAO,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,OAAO,EAAE;QACR,MAAM,EAAE;YAEP,EAAE,EAAE,MAAM,CAAC;YAEX,SAAS,EAAE,MAAM,CAAC;YAElB,SAAS,EAAE,MAAM,CAAC;YAElB,KAAK,CAAC,EAAE,MAAM,CAAC;YAEf,OAAO,CAAC,EAAE,MAAM,CAAC;YAEjB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;YAElB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;SAClC,CAAC;KACF,CAAC;IACF,MAAM,EAAE,MAAM,CAAC;CACf"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=ReviewCreatedEvent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReviewCreatedEvent.js","sourceRoot":"","sources":["../../../src/messages/events/ReviewCreatedEvent.ts"],"names":[],"mappings":";AAAA,sDAAsD"}
@@ -13,6 +13,7 @@ export { OrderCreatedEvent } from './OrderCreatedEvent';
13
13
  export { OrderUpdatedEvent } from './OrderUpdatedEvent';
14
14
  export { PublishedMenuCreatedEvent } from './PublishedMenuCreatedEvent';
15
15
  export { PublishedMenuUpdatedEvent } from './PublishedMenuUpdatedEvent';
16
+ export { ReviewCreatedEvent } from './ReviewCreatedEvent';
16
17
  export { UserCreatedEvent } from './UserCreatedEvent';
17
18
  export { UserUpdatedEvent } from './UserUpdatedEvent';
18
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/messages/events/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,iBAA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O,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compassdigital/sdk.typescript",
3
- "version": "4.261.0",
3
+ "version": "4.263.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
@@ -196,6 +196,7 @@ export interface Item {
196
196
  primary?: string;
197
197
  secondary?: string;
198
198
  };
199
+ jde_category?: string;
199
200
  };
200
201
  // @deprecated
201
202
  is_deleted?: boolean;
@@ -259,6 +260,7 @@ export interface Option {
259
260
  primary?: string;
260
261
  secondary?: string;
261
262
  };
263
+ jde_category?: string;
262
264
  };
263
265
  weight?: {
264
266
  unit?: string;
@@ -906,6 +908,7 @@ export interface ModifierChangeDTO {
906
908
 
907
909
  export interface ReportingMetadataDTO {
908
910
  category?: ReportingCategoryMetadataDTO;
911
+ jde_category?: string;
909
912
  [index: string]: any;
910
913
  }
911
914
 
@@ -0,0 +1,30 @@
1
+ // THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
2
+
3
+ export interface ReviewCreatedEvent {
4
+ id: string;
5
+ type: 'ReviewCreatedEvent';
6
+ version: '0.0.1';
7
+ timestamp: string;
8
+ traceContext: {
9
+ traceId?: string;
10
+ };
11
+ payload: {
12
+ review: {
13
+ // review id
14
+ id: string;
15
+ // when the review was created
16
+ createdAt: string;
17
+ // when the review was last updated
18
+ updatedAt: string;
19
+ // review rating score
20
+ score?: number;
21
+ // review comment content
22
+ comment?: string;
23
+ // reasons for the review
24
+ reason?: string[];
25
+ // taxonomy classification of the review
26
+ taxonomy?: Record<string, string>;
27
+ };
28
+ };
29
+ source: string;
30
+ }
@@ -30,6 +30,8 @@ export { PublishedMenuCreatedEvent } from './PublishedMenuCreatedEvent';
30
30
 
31
31
  export { PublishedMenuUpdatedEvent } from './PublishedMenuUpdatedEvent';
32
32
 
33
+ export { ReviewCreatedEvent } from './ReviewCreatedEvent';
34
+
33
35
  export { UserCreatedEvent } from './UserCreatedEvent';
34
36
 
35
37
  export { UserUpdatedEvent } from './UserUpdatedEvent';