@hastehaul/common 2.17.0 → 2.19.0
Sign up to get free protection for your applications and to get access to all the features.
- package/build/events/common/enums/durable-names/customer-dname.d.ts +1 -0
- package/build/events/common/enums/durable-names/customer-dname.js +1 -0
- package/build/events/common/enums/subjects/customer-subjects.d.ts +1 -0
- package/build/events/common/enums/subjects/customer-subjects.js +1 -0
- package/build/events/common/interfaces/customer-events-interfaces/customer-new-updated-event.d.ts +14 -0
- package/build/events/common/interfaces/customer-events-interfaces/customer-new-updated-event.js +2 -0
- package/build/index.d.ts +1 -0
- package/build/index.js +1 -0
- package/package.json +1 -1
@@ -14,6 +14,7 @@ export declare enum CustomerDurableName {
|
|
14
14
|
* The durable name for the consumer handling customer created events.
|
15
15
|
*/
|
16
16
|
CustomerCreatedDurablename = "customer-created-consumer",
|
17
|
+
CustomerNewUpdatedDurablename = "customer-new-updated",
|
17
18
|
CustomerCreatedNotificationDurablename = "customer-created-notification-consumer",
|
18
19
|
CustomerOtpRequestDurablename = "customer-otp-request",
|
19
20
|
CustomerPaymentMethodRequestDurablename = "customer-paymentmethod-request",
|
@@ -18,6 +18,7 @@ var CustomerDurableName;
|
|
18
18
|
* The durable name for the consumer handling customer created events.
|
19
19
|
*/
|
20
20
|
CustomerDurableName["CustomerCreatedDurablename"] = "customer-created-consumer";
|
21
|
+
CustomerDurableName["CustomerNewUpdatedDurablename"] = "customer-new-updated";
|
21
22
|
CustomerDurableName["CustomerCreatedNotificationDurablename"] = "customer-created-notification-consumer";
|
22
23
|
CustomerDurableName["CustomerOtpRequestDurablename"] = "customer-otp-request";
|
23
24
|
CustomerDurableName["CustomerPaymentMethodRequestDurablename"] = "customer-paymentmethod-request";
|
package/build/events/common/interfaces/customer-events-interfaces/customer-new-updated-event.d.ts
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
import { CustomerDurableName } from '../../enums/durable-names/customer-dname';
|
2
|
+
import { CustomerStream } from '../../enums/streams/customer-stream';
|
3
|
+
import { CustomerSubjects } from '../../enums/subjects/customer-subjects';
|
4
|
+
export interface CustomerNewUpdatedEvent {
|
5
|
+
subject: CustomerSubjects.CustomerNewUpdated;
|
6
|
+
durableName?: CustomerDurableName.CustomerNewUpdatedDurablename;
|
7
|
+
stream: CustomerStream.Customer;
|
8
|
+
data: {
|
9
|
+
userId: null | string;
|
10
|
+
phoneNumber: string;
|
11
|
+
isNew: boolean;
|
12
|
+
referalCode?: string;
|
13
|
+
};
|
14
|
+
}
|
package/build/index.d.ts
CHANGED
@@ -141,6 +141,7 @@ export * from "./events/common/interfaces/customer-events-interfaces/customer-ne
|
|
141
141
|
export * from "./events/common/interfaces/customer-events-interfaces/customer-otp-request-event";
|
142
142
|
export * from "./events/common/interfaces/customer-events-interfaces/customer-paymentmethod-request";
|
143
143
|
export * from "./events/common/interfaces/customer-events-interfaces/customer-paymentmethod";
|
144
|
+
export * from "./events/common/interfaces/customer-events-interfaces/customer-new-updated-event";
|
144
145
|
export * from "./events/common/interfaces/customer-system-events-interfaces/customer-system-customer-service-event";
|
145
146
|
export * from "./events/common/interfaces/customer-system-events-interfaces/customer-system-payment-service-event";
|
146
147
|
/**
|
package/build/index.js
CHANGED
@@ -173,6 +173,7 @@ __exportStar(require("./events/common/interfaces/customer-events-interfaces/cust
|
|
173
173
|
__exportStar(require("./events/common/interfaces/customer-events-interfaces/customer-otp-request-event"), exports);
|
174
174
|
__exportStar(require("./events/common/interfaces/customer-events-interfaces/customer-paymentmethod-request"), exports);
|
175
175
|
__exportStar(require("./events/common/interfaces/customer-events-interfaces/customer-paymentmethod"), exports);
|
176
|
+
__exportStar(require("./events/common/interfaces/customer-events-interfaces/customer-new-updated-event"), exports);
|
176
177
|
// CUSTOMER SYSTEM EVENTS
|
177
178
|
__exportStar(require("./events/common/interfaces/customer-system-events-interfaces/customer-system-customer-service-event"), exports);
|
178
179
|
__exportStar(require("./events/common/interfaces/customer-system-events-interfaces/customer-system-payment-service-event"), exports);
|