resurgence-data 1.0.26 → 1.0.28
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.
@@ -103,6 +103,7 @@ export declare class UpdateSettlementAccountDto {
|
|
103
103
|
}
|
104
104
|
export declare class CreateBillerChargeConfigurationDto {
|
105
105
|
serviceId: string;
|
106
|
+
billerId: string;
|
106
107
|
active?: boolean;
|
107
108
|
capped?: boolean;
|
108
109
|
floored?: boolean;
|
@@ -116,6 +117,7 @@ export declare class CreateBillerChargeConfigurationDto {
|
|
116
117
|
export declare class UpdateBillerChargeConfigurationDto {
|
117
118
|
id: string;
|
118
119
|
serviceId?: string;
|
120
|
+
billerId: string;
|
119
121
|
active?: boolean;
|
120
122
|
capped?: boolean;
|
121
123
|
floored?: boolean;
|
@@ -182,6 +184,7 @@ export declare class UpdateCustomerDto {
|
|
182
184
|
export declare class CreateBillerItemDto {
|
183
185
|
billerId: string;
|
184
186
|
amount: number;
|
187
|
+
name?: string;
|
185
188
|
source?: string;
|
186
189
|
customerIdentifierName?: string;
|
187
190
|
serviceFee: number;
|
@@ -193,6 +196,7 @@ export declare class UpdateBillerItemDto {
|
|
193
196
|
id: string;
|
194
197
|
billerId?: string;
|
195
198
|
amount?: number;
|
199
|
+
name?: string;
|
196
200
|
source?: string;
|
197
201
|
customerIdentifierName?: string;
|
198
202
|
serviceFee?: number;
|
@@ -545,6 +545,15 @@ __decorate([
|
|
545
545
|
(0, class_validator_1.IsString)({ message: "Service ID must be a valid string" }),
|
546
546
|
__metadata("design:type", String)
|
547
547
|
], CreateBillerChargeConfigurationDto.prototype, "serviceId", void 0);
|
548
|
+
__decorate([
|
549
|
+
(0, swagger_1.ApiProperty)({
|
550
|
+
description: "The ID of the biller",
|
551
|
+
example: "550e8400-e29b-41d4-a716-446655440001",
|
552
|
+
}),
|
553
|
+
(0, class_validator_1.IsNotEmpty)({ message: "Biller ID must not be empty" }),
|
554
|
+
(0, class_validator_1.IsString)({ message: "Biller ID must be a valid string" }),
|
555
|
+
__metadata("design:type", String)
|
556
|
+
], CreateBillerChargeConfigurationDto.prototype, "billerId", void 0);
|
548
557
|
__decorate([
|
549
558
|
(0, swagger_1.ApiProperty)({
|
550
559
|
description: "Whether the configuration is active",
|
@@ -650,6 +659,15 @@ __decorate([
|
|
650
659
|
(0, class_validator_1.IsOptional)(),
|
651
660
|
__metadata("design:type", String)
|
652
661
|
], UpdateBillerChargeConfigurationDto.prototype, "serviceId", void 0);
|
662
|
+
__decorate([
|
663
|
+
(0, swagger_1.ApiProperty)({
|
664
|
+
description: "The ID of the biller",
|
665
|
+
example: "550e8400-e29b-41d4-a716-446655440001",
|
666
|
+
}),
|
667
|
+
(0, class_validator_1.IsString)({ message: "Biller ID must be a valid string" }),
|
668
|
+
(0, class_validator_1.IsOptional)(),
|
669
|
+
__metadata("design:type", String)
|
670
|
+
], UpdateBillerChargeConfigurationDto.prototype, "billerId", void 0);
|
653
671
|
__decorate([
|
654
672
|
(0, swagger_1.ApiProperty)({
|
655
673
|
description: "Whether the configuration is active",
|
@@ -1158,6 +1176,15 @@ __decorate([
|
|
1158
1176
|
(0, class_validator_1.IsNotEmpty)({ message: "Amount must not be empty" }),
|
1159
1177
|
__metadata("design:type", Number)
|
1160
1178
|
], CreateBillerItemDto.prototype, "amount", void 0);
|
1179
|
+
__decorate([
|
1180
|
+
(0, swagger_1.ApiProperty)({
|
1181
|
+
description: "The name of the biller item",
|
1182
|
+
example: "Utility Bill",
|
1183
|
+
required: false,
|
1184
|
+
}),
|
1185
|
+
(0, class_validator_1.IsString)({ message: "Name must be a valid string" }),
|
1186
|
+
__metadata("design:type", String)
|
1187
|
+
], CreateBillerItemDto.prototype, "name", void 0);
|
1161
1188
|
__decorate([
|
1162
1189
|
(0, swagger_1.ApiProperty)({
|
1163
1190
|
description: "The source of the biller item",
|
@@ -1248,6 +1275,16 @@ __decorate([
|
|
1248
1275
|
(0, class_validator_1.IsOptional)(),
|
1249
1276
|
__metadata("design:type", Number)
|
1250
1277
|
], UpdateBillerItemDto.prototype, "amount", void 0);
|
1278
|
+
__decorate([
|
1279
|
+
(0, swagger_1.ApiProperty)({
|
1280
|
+
description: "The name of the biller item",
|
1281
|
+
example: "Utility Bill",
|
1282
|
+
required: false,
|
1283
|
+
}),
|
1284
|
+
(0, class_validator_1.IsString)({ message: "Name must be a valid string" }),
|
1285
|
+
(0, class_validator_1.IsOptional)(),
|
1286
|
+
__metadata("design:type", String)
|
1287
|
+
], UpdateBillerItemDto.prototype, "name", void 0);
|
1251
1288
|
__decorate([
|
1252
1289
|
(0, swagger_1.ApiProperty)({
|
1253
1290
|
description: "The source of the biller item",
|
package/package.json
CHANGED
package/src/biller/biller.dto.ts
CHANGED
@@ -474,6 +474,13 @@ export class CreateBillerChargeConfigurationDto {
|
|
474
474
|
@IsNotEmpty({ message: "Service ID must not be empty" })
|
475
475
|
@IsString({ message: "Service ID must be a valid string" })
|
476
476
|
serviceId: string;
|
477
|
+
@ApiProperty({
|
478
|
+
description: "The ID of the biller",
|
479
|
+
example: "550e8400-e29b-41d4-a716-446655440001",
|
480
|
+
})
|
481
|
+
@IsNotEmpty({ message: "Biller ID must not be empty" })
|
482
|
+
@IsString({ message: "Biller ID must be a valid string" })
|
483
|
+
billerId: string;
|
477
484
|
|
478
485
|
@ApiProperty({
|
479
486
|
description: "Whether the configuration is active",
|
@@ -571,6 +578,14 @@ export class UpdateBillerChargeConfigurationDto {
|
|
571
578
|
@IsOptional()
|
572
579
|
serviceId?: string;
|
573
580
|
|
581
|
+
@ApiProperty({
|
582
|
+
description: "The ID of the biller",
|
583
|
+
example: "550e8400-e29b-41d4-a716-446655440001",
|
584
|
+
})
|
585
|
+
@IsString({ message: "Biller ID must be a valid string" })
|
586
|
+
@IsOptional()
|
587
|
+
billerId: string;
|
588
|
+
|
574
589
|
@ApiProperty({
|
575
590
|
description: "Whether the configuration is active",
|
576
591
|
example: false,
|
@@ -1025,6 +1040,13 @@ export class CreateBillerItemDto {
|
|
1025
1040
|
@IsNotEmpty({ message: "Amount must not be empty" })
|
1026
1041
|
amount: number;
|
1027
1042
|
|
1043
|
+
@ApiProperty({
|
1044
|
+
description: "The name of the biller item",
|
1045
|
+
example: "Utility Bill",
|
1046
|
+
required: false,
|
1047
|
+
})
|
1048
|
+
@IsString({ message: "Name must be a valid string" })
|
1049
|
+
name?: string;
|
1028
1050
|
@ApiProperty({
|
1029
1051
|
description: "The source of the biller item",
|
1030
1052
|
example: "Utility Bill",
|
@@ -1105,6 +1127,15 @@ export class UpdateBillerItemDto {
|
|
1105
1127
|
@IsOptional()
|
1106
1128
|
amount?: number;
|
1107
1129
|
|
1130
|
+
@ApiProperty({
|
1131
|
+
description: "The name of the biller item",
|
1132
|
+
example: "Utility Bill",
|
1133
|
+
required: false,
|
1134
|
+
})
|
1135
|
+
@IsString({ message: "Name must be a valid string" })
|
1136
|
+
@IsOptional()
|
1137
|
+
name?: string;
|
1138
|
+
|
1108
1139
|
@ApiProperty({
|
1109
1140
|
description: "The source of the biller item",
|
1110
1141
|
example: "Utility Bill",
|