resurgence-data 1.0.27 → 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.
@@ -184,6 +184,7 @@ export declare class UpdateCustomerDto {
|
|
184
184
|
export declare class CreateBillerItemDto {
|
185
185
|
billerId: string;
|
186
186
|
amount: number;
|
187
|
+
name?: string;
|
187
188
|
source?: string;
|
188
189
|
customerIdentifierName?: string;
|
189
190
|
serviceFee: number;
|
@@ -195,6 +196,7 @@ export declare class UpdateBillerItemDto {
|
|
195
196
|
id: string;
|
196
197
|
billerId?: string;
|
197
198
|
amount?: number;
|
199
|
+
name?: string;
|
198
200
|
source?: string;
|
199
201
|
customerIdentifierName?: string;
|
200
202
|
serviceFee?: number;
|
@@ -1176,6 +1176,15 @@ __decorate([
|
|
1176
1176
|
(0, class_validator_1.IsNotEmpty)({ message: "Amount must not be empty" }),
|
1177
1177
|
__metadata("design:type", Number)
|
1178
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);
|
1179
1188
|
__decorate([
|
1180
1189
|
(0, swagger_1.ApiProperty)({
|
1181
1190
|
description: "The source of the biller item",
|
@@ -1266,6 +1275,16 @@ __decorate([
|
|
1266
1275
|
(0, class_validator_1.IsOptional)(),
|
1267
1276
|
__metadata("design:type", Number)
|
1268
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);
|
1269
1288
|
__decorate([
|
1270
1289
|
(0, swagger_1.ApiProperty)({
|
1271
1290
|
description: "The source of the biller item",
|
package/package.json
CHANGED
package/src/biller/biller.dto.ts
CHANGED
@@ -1040,6 +1040,13 @@ export class CreateBillerItemDto {
|
|
1040
1040
|
@IsNotEmpty({ message: "Amount must not be empty" })
|
1041
1041
|
amount: number;
|
1042
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;
|
1043
1050
|
@ApiProperty({
|
1044
1051
|
description: "The source of the biller item",
|
1045
1052
|
example: "Utility Bill",
|
@@ -1120,6 +1127,15 @@ export class UpdateBillerItemDto {
|
|
1120
1127
|
@IsOptional()
|
1121
1128
|
amount?: number;
|
1122
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
|
+
|
1123
1139
|
@ApiProperty({
|
1124
1140
|
description: "The source of the biller item",
|
1125
1141
|
example: "Utility Bill",
|