@compassdigital/sdk.typescript 4.266.0 → 4.268.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/messages/commands/UpdateOrderStatusCommand.d.ts +16 -0
- package/lib/messages/commands/UpdateOrderStatusCommand.d.ts.map +1 -0
- package/lib/messages/commands/UpdateOrderStatusCommand.js +4 -0
- package/lib/messages/commands/UpdateOrderStatusCommand.js.map +1 -0
- package/lib/messages/commands/index.d.ts +1 -0
- package/lib/messages/commands/index.d.ts.map +1 -1
- package/lib/messages/events/ReviewCreatedEvent.d.ts +1 -0
- package/lib/messages/events/ReviewCreatedEvent.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/messages/commands/UpdateOrderStatusCommand.ts +17 -0
- package/src/messages/commands/index.ts +2 -0
- package/src/messages/events/ReviewCreatedEvent.ts +2 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface UpdateOrderStatusCommand {
|
|
2
|
+
id: string;
|
|
3
|
+
type: 'UpdateOrderStatusCommand';
|
|
4
|
+
version: '0.0.1';
|
|
5
|
+
timestamp: string;
|
|
6
|
+
traceContext: {
|
|
7
|
+
traceId?: string;
|
|
8
|
+
};
|
|
9
|
+
payload: {
|
|
10
|
+
orderId: string;
|
|
11
|
+
status: string;
|
|
12
|
+
updateSource: string;
|
|
13
|
+
};
|
|
14
|
+
source: string;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=UpdateOrderStatusCommand.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateOrderStatusCommand.d.ts","sourceRoot":"","sources":["../../../src/messages/commands/UpdateOrderStatusCommand.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,wBAAwB;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,0BAA0B,CAAC;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE;QACb,OAAO,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,OAAO,EAAE;QACR,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,YAAY,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,MAAM,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateOrderStatusCommand.js","sourceRoot":"","sources":["../../../src/messages/commands/UpdateOrderStatusCommand.ts"],"names":[],"mappings":";AAAA,sDAAsD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/messages/commands/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/messages/commands/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -1 +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"}
|
|
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,MAAM,EAAE,MAAM,CAAC;YAEf,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"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
3
|
+
export interface UpdateOrderStatusCommand {
|
|
4
|
+
id: string;
|
|
5
|
+
type: 'UpdateOrderStatusCommand';
|
|
6
|
+
version: '0.0.1';
|
|
7
|
+
timestamp: string;
|
|
8
|
+
traceContext: {
|
|
9
|
+
traceId?: string;
|
|
10
|
+
};
|
|
11
|
+
payload: {
|
|
12
|
+
orderId: string;
|
|
13
|
+
status: string;
|
|
14
|
+
updateSource: string;
|
|
15
|
+
};
|
|
16
|
+
source: string;
|
|
17
|
+
}
|