resurgence-data 1.0.25 → 1.0.27

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;
@@ -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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resurgence-data",
3
- "version": "1.0.25",
3
+ "version": "1.0.27",
4
4
  "description": "DTOs and shareable resources",
5
5
  "module": "dist/index.js",
6
6
  "main": "dist/index.js",