resurgence-data 1.0.40 → 1.0.41
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.
@@ -1136,6 +1136,15 @@ __decorate([
|
|
1136
1136
|
(0, class_validator_1.IsString)({ message: "ID must be a valid string" }),
|
1137
1137
|
__metadata("design:type", String)
|
1138
1138
|
], UpdateCustomerDto.prototype, "id", void 0);
|
1139
|
+
__decorate([
|
1140
|
+
(0, swagger_1.ApiProperty)({
|
1141
|
+
description: "The ID of the biller",
|
1142
|
+
example: "550e8400-e29b-41d4-a716-446655440000",
|
1143
|
+
}),
|
1144
|
+
(0, class_validator_1.IsNotEmpty)({ message: "Biller ID must not be empty" }),
|
1145
|
+
(0, class_validator_1.IsString)({ message: "Biller ID must be a valid string" }),
|
1146
|
+
__metadata("design:type", String)
|
1147
|
+
], UpdateCustomerDto.prototype, "billerId", void 0);
|
1139
1148
|
__decorate([
|
1140
1149
|
(0, swagger_1.ApiProperty)({
|
1141
1150
|
description: "The name of the customer",
|
package/package.json
CHANGED
package/src/biller/biller.dto.ts
CHANGED
@@ -1009,6 +1009,14 @@ export class UpdateCustomerDto extends BaseDTO {
|
|
1009
1009
|
@IsString({ message: "ID must be a valid string" })
|
1010
1010
|
id: string;
|
1011
1011
|
|
1012
|
+
@ApiProperty({
|
1013
|
+
description: "The ID of the biller",
|
1014
|
+
example: "550e8400-e29b-41d4-a716-446655440000",
|
1015
|
+
})
|
1016
|
+
@IsNotEmpty({ message: "Biller ID must not be empty" })
|
1017
|
+
@IsString({ message: "Biller ID must be a valid string" })
|
1018
|
+
billerId?: string;
|
1019
|
+
|
1012
1020
|
@ApiProperty({
|
1013
1021
|
description: "The name of the customer",
|
1014
1022
|
example: "Jane Smith",
|