resurgence-data 1.1.2 → 1.1.3

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,51 @@
1
+ /**
2
+ * Send activation email to user after sign up
3
+ * Producer: Biller service
4
+ * Consumer: Notification Service
5
+ */
6
+ export declare class ActivationEmailQueueDTO {
7
+ firstName: string;
8
+ emailAddress: string;
9
+ actionUrl: string;
10
+ action: string;
11
+ }
12
+ /**
13
+ * Producer: Biller service
14
+ * Consumer: payment Service
15
+ */
16
+ export declare class BillerPaymentEnrollmentQueueDTO {
17
+ billerId: string;
18
+ name: string;
19
+ categoryId: string;
20
+ billerProfileId: string;
21
+ live: boolean;
22
+ active: boolean;
23
+ billerCode: string;
24
+ action: string;
25
+ }
26
+ /**
27
+ * Producer: Authentication service
28
+ * Consumer: Biller Service
29
+ */
30
+ export declare class BillerCreationQueueDTO {
31
+ userId: string;
32
+ billerName: string;
33
+ requestUserId?: string;
34
+ categoryId: string;
35
+ contact: {
36
+ contactName: string;
37
+ emailAddress: string;
38
+ phoneNumber: string;
39
+ };
40
+ action: string;
41
+ }
42
+ /**
43
+ * Producer: Biller Service
44
+ * Consumer: Authentication service
45
+ */
46
+ export declare class BillerAuthQueueDTO {
47
+ billerId: string;
48
+ billerName: string;
49
+ userId: string;
50
+ action: string;
51
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BillerAuthQueueDTO = exports.BillerCreationQueueDTO = exports.BillerPaymentEnrollmentQueueDTO = exports.ActivationEmailQueueDTO = void 0;
4
+ /**
5
+ * Send activation email to user after sign up
6
+ * Producer: Biller service
7
+ * Consumer: Notification Service
8
+ */
9
+ class ActivationEmailQueueDTO {
10
+ }
11
+ exports.ActivationEmailQueueDTO = ActivationEmailQueueDTO;
12
+ //used to create biller on payment service
13
+ /**
14
+ * Producer: Biller service
15
+ * Consumer: payment Service
16
+ */
17
+ class BillerPaymentEnrollmentQueueDTO {
18
+ }
19
+ exports.BillerPaymentEnrollmentQueueDTO = BillerPaymentEnrollmentQueueDTO;
20
+ //used to create biller after sign up
21
+ /**
22
+ * Producer: Authentication service
23
+ * Consumer: Biller Service
24
+ */
25
+ class BillerCreationQueueDTO {
26
+ }
27
+ exports.BillerCreationQueueDTO = BillerCreationQueueDTO;
28
+ //used to register created biller for the user who created
29
+ /**
30
+ * Producer: Biller Service
31
+ * Consumer: Authentication service
32
+ */
33
+ class BillerAuthQueueDTO {
34
+ }
35
+ exports.BillerAuthQueueDTO = BillerAuthQueueDTO;
@@ -1,2 +1,3 @@
1
1
  export * from "./biller.dto";
2
+ export * from "./biller.data";
2
3
  export * from "./biller-response.dto";
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./biller.dto"), exports);
18
+ __exportStar(require("./biller.data"), exports);
18
19
  __exportStar(require("./biller-response.dto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resurgence-data",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "DTOs and shareable resources",
5
5
  "module": "dist/index.js",
6
6
  "main": "dist/index.js",
@@ -0,0 +1,57 @@
1
+ /**
2
+ * Send activation email to user after sign up
3
+ * Producer: Biller service
4
+ * Consumer: Notification Service
5
+ */
6
+ export class ActivationEmailQueueDTO {
7
+ firstName: string;
8
+ emailAddress: string;
9
+ actionUrl: string;
10
+ action: string;
11
+ }
12
+
13
+ //used to create biller on payment service
14
+ /**
15
+ * Producer: Biller service
16
+ * Consumer: payment Service
17
+ */
18
+ export class BillerPaymentEnrollmentQueueDTO {
19
+ billerId: string;
20
+ name: string;
21
+ categoryId: string;
22
+ billerProfileId: string;
23
+ live: boolean;
24
+ active: boolean;
25
+ billerCode: string;
26
+ action: string;
27
+ }
28
+
29
+ //used to create biller after sign up
30
+ /**
31
+ * Producer: Authentication service
32
+ * Consumer: Biller Service
33
+ */
34
+ export class BillerCreationQueueDTO {
35
+ userId: string;
36
+ billerName: string;
37
+ requestUserId?: string;
38
+ categoryId: string;
39
+ contact: {
40
+ contactName: string;
41
+ emailAddress: string;
42
+ phoneNumber: string;
43
+ };
44
+ action: string;
45
+ }
46
+
47
+ //used to register created biller for the user who created
48
+ /**
49
+ * Producer: Biller Service
50
+ * Consumer: Authentication service
51
+ */
52
+ export class BillerAuthQueueDTO {
53
+ billerId: string;
54
+ billerName: string;
55
+ userId: string;
56
+ action: string;
57
+ }
@@ -1,2 +1,3 @@
1
1
  export * from "./biller.dto";
2
+ export * from "./biller.data";
2
3
  export * from "./biller-response.dto";