resurgence-data 1.1.2 → 1.1.4
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/dist/biller/biller.data.d.ts +51 -0
- package/dist/biller/biller.data.js +35 -0
- package/dist/biller/biller.dto.d.ts +9 -0
- package/dist/biller/biller.dto.js +7 -1
- package/dist/biller/index.d.ts +1 -0
- package/dist/biller/index.js +1 -0
- package/package.json +1 -1
- package/src/biller/biller.data.ts +57 -0
- package/src/biller/biller.dto.ts +11 -0
- package/src/biller/index.ts +1 -0
@@ -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,4 +1,5 @@
|
|
1
1
|
import { BaseDTO } from "../types/dto.type";
|
2
|
+
import { BillerApiKeyDto } from "../payment";
|
2
3
|
/**
|
3
4
|
* DTO for `BillerCategory`
|
4
5
|
*/
|
@@ -246,3 +247,11 @@ export declare class UpdateInvoiceDto extends BaseDTO {
|
|
246
247
|
dueDate?: string;
|
247
248
|
status?: string;
|
248
249
|
}
|
250
|
+
export declare class EnrollBillerDto extends CreateBillerDto {
|
251
|
+
id: string;
|
252
|
+
chargeConfigurations?: CreateBillerChargeConfigurationDto[];
|
253
|
+
apiKeys?: BillerApiKeyDto[];
|
254
|
+
}
|
255
|
+
export declare class EnrollBillerSettlementAccount extends CreateSettlementAccountDto {
|
256
|
+
id: string;
|
257
|
+
}
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
10
|
};
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
-
exports.UpdateInvoiceDto = exports.CreateInvoiceDto = exports.UpdateBillerItemDto = exports.CreateBillerItemDto = exports.UpdateBillerItemCategoryDto = exports.BillerItemCategoryDto = exports.UpdateCustomerDto = exports.CreateCustomerDto = exports.UpdateBillerContactDto = exports.CreateBillerContactDto = exports.UpdateGoLiveRequestDto = exports.CreateGoLiveRequestDto = exports.UpdateBillerDocumentDto = exports.CreateBillerDocumentDto = exports.UpdateBillerChargeConfigurationDto = exports.CreateBillerChargeConfigurationDto = exports.UpdateSettlementAccountDto = exports.CreateSettlementAccountDto = exports.UpdateBillerProfileDTO = exports.BillerProfileDTO = exports.TIME_DELIMITER = exports.UpdateBillerDto = exports.CreateBillerDto = exports.CreateTransactionDto = exports.CreateChargeDto = exports.CreateBankDto = exports.UpdateBillerCategoryDto = exports.CreateBillerCategoryDto = void 0;
|
12
|
+
exports.EnrollBillerSettlementAccount = exports.EnrollBillerDto = exports.UpdateInvoiceDto = exports.CreateInvoiceDto = exports.UpdateBillerItemDto = exports.CreateBillerItemDto = exports.UpdateBillerItemCategoryDto = exports.BillerItemCategoryDto = exports.UpdateCustomerDto = exports.CreateCustomerDto = exports.UpdateBillerContactDto = exports.CreateBillerContactDto = exports.UpdateGoLiveRequestDto = exports.CreateGoLiveRequestDto = exports.UpdateBillerDocumentDto = exports.CreateBillerDocumentDto = exports.UpdateBillerChargeConfigurationDto = exports.CreateBillerChargeConfigurationDto = exports.UpdateSettlementAccountDto = exports.CreateSettlementAccountDto = exports.UpdateBillerProfileDTO = exports.BillerProfileDTO = exports.TIME_DELIMITER = exports.UpdateBillerDto = exports.CreateBillerDto = exports.CreateTransactionDto = exports.CreateChargeDto = exports.CreateBankDto = exports.UpdateBillerCategoryDto = exports.CreateBillerCategoryDto = void 0;
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
14
14
|
const class_validator_1 = require("class-validator");
|
15
15
|
const dto_type_1 = require("../types/dto.type");
|
@@ -1662,3 +1662,9 @@ __decorate([
|
|
1662
1662
|
(0, class_validator_1.IsOptional)(),
|
1663
1663
|
__metadata("design:type", String)
|
1664
1664
|
], UpdateInvoiceDto.prototype, "status", void 0);
|
1665
|
+
class EnrollBillerDto extends CreateBillerDto {
|
1666
|
+
}
|
1667
|
+
exports.EnrollBillerDto = EnrollBillerDto;
|
1668
|
+
class EnrollBillerSettlementAccount extends CreateSettlementAccountDto {
|
1669
|
+
}
|
1670
|
+
exports.EnrollBillerSettlementAccount = EnrollBillerSettlementAccount;
|
package/dist/biller/index.d.ts
CHANGED
package/dist/biller/index.js
CHANGED
@@ -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
@@ -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
|
+
}
|
package/src/biller/biller.dto.ts
CHANGED
@@ -17,6 +17,7 @@ import {
|
|
17
17
|
IsArray,
|
18
18
|
} from "class-validator";
|
19
19
|
import { BaseDTO } from "../types/dto.type";
|
20
|
+
import { BillerApiKeyDto } from "../payment";
|
20
21
|
|
21
22
|
/**
|
22
23
|
* DTO for `BillerCategory`
|
@@ -1470,3 +1471,13 @@ export class UpdateInvoiceDto extends BaseDTO {
|
|
1470
1471
|
@IsOptional()
|
1471
1472
|
status?: string;
|
1472
1473
|
}
|
1474
|
+
|
1475
|
+
export class EnrollBillerDto extends CreateBillerDto {
|
1476
|
+
id: string;
|
1477
|
+
chargeConfigurations?: CreateBillerChargeConfigurationDto[];
|
1478
|
+
apiKeys?: BillerApiKeyDto[];
|
1479
|
+
}
|
1480
|
+
|
1481
|
+
export class EnrollBillerSettlementAccount extends CreateSettlementAccountDto {
|
1482
|
+
id: string;
|
1483
|
+
}
|
package/src/biller/index.ts
CHANGED