resurgence-data 1.0.39 → 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.
@@ -135,6 +135,7 @@ export declare class CreateBillerDocumentDto extends BaseDTO {
135
135
  type: string;
136
136
  }
137
137
  export declare class UpdateBillerDocumentDto extends BaseDTO {
138
+ id: string;
138
139
  billerId?: string;
139
140
  url?: string;
140
141
  type?: string;
@@ -144,6 +145,7 @@ export declare class CreateGoLiveRequestDto extends BaseDTO {
144
145
  status: string;
145
146
  }
146
147
  export declare class UpdateGoLiveRequestDto extends BaseDTO {
148
+ id: string;
147
149
  billerId?: string;
148
150
  status?: string;
149
151
  }
@@ -178,6 +180,7 @@ export declare class CreateCustomerDto extends BaseDTO {
178
180
  }
179
181
  export declare class UpdateCustomerDto extends BaseDTO {
180
182
  id: string;
183
+ billerId?: string;
181
184
  name?: string;
182
185
  emailAddress?: string;
183
186
  phoneNumber?: string;
@@ -791,6 +791,15 @@ __decorate([
791
791
  class UpdateBillerDocumentDto extends dto_type_1.BaseDTO {
792
792
  }
793
793
  exports.UpdateBillerDocumentDto = UpdateBillerDocumentDto;
794
+ __decorate([
795
+ (0, swagger_1.ApiProperty)({
796
+ description: "The ID of the document",
797
+ example: "550e8400-e29b-41d4-a716-446655440000",
798
+ }),
799
+ (0, class_validator_1.IsNotEmpty)({ message: "ID must not be empty" }),
800
+ (0, class_validator_1.IsString)({ message: "ID must be a valid string" }),
801
+ __metadata("design:type", String)
802
+ ], UpdateBillerDocumentDto.prototype, "id", void 0);
794
803
  __decorate([
795
804
  (0, swagger_1.ApiProperty)({
796
805
  description: "The ID of the biller",
@@ -845,6 +854,15 @@ __decorate([
845
854
  class UpdateGoLiveRequestDto extends dto_type_1.BaseDTO {
846
855
  }
847
856
  exports.UpdateGoLiveRequestDto = UpdateGoLiveRequestDto;
857
+ __decorate([
858
+ (0, swagger_1.ApiProperty)({
859
+ description: "The ID of the request",
860
+ example: "550e8400-e29b-41d4-a716-446655440000",
861
+ }),
862
+ (0, class_validator_1.IsNotEmpty)({ message: "ID must not be empty" }),
863
+ (0, class_validator_1.IsString)({ message: "ID must be a valid string" }),
864
+ __metadata("design:type", String)
865
+ ], UpdateGoLiveRequestDto.prototype, "id", void 0);
848
866
  __decorate([
849
867
  (0, swagger_1.ApiProperty)({
850
868
  description: "The ID of the biller",
@@ -1118,6 +1136,15 @@ __decorate([
1118
1136
  (0, class_validator_1.IsString)({ message: "ID must be a valid string" }),
1119
1137
  __metadata("design:type", String)
1120
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);
1121
1148
  __decorate([
1122
1149
  (0, swagger_1.ApiProperty)({
1123
1150
  description: "The name of the customer",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resurgence-data",
3
- "version": "1.0.39",
3
+ "version": "1.0.41",
4
4
  "description": "DTOs and shareable resources",
5
5
  "module": "dist/index.js",
6
6
  "main": "dist/index.js",
@@ -703,6 +703,14 @@ export class CreateBillerDocumentDto extends BaseDTO {
703
703
  }
704
704
 
705
705
  export class UpdateBillerDocumentDto extends BaseDTO {
706
+ @ApiProperty({
707
+ description: "The ID of the document",
708
+ example: "550e8400-e29b-41d4-a716-446655440000",
709
+ })
710
+ @IsNotEmpty({ message: "ID must not be empty" })
711
+ @IsString({ message: "ID must be a valid string" })
712
+ id: string;
713
+
706
714
  @ApiProperty({
707
715
  description: "The ID of the biller",
708
716
  example: "550e8400-e29b-41d4-a716-446655440002",
@@ -750,6 +758,14 @@ export class CreateGoLiveRequestDto extends BaseDTO {
750
758
  }
751
759
 
752
760
  export class UpdateGoLiveRequestDto extends BaseDTO {
761
+ @ApiProperty({
762
+ description: "The ID of the request",
763
+ example: "550e8400-e29b-41d4-a716-446655440000",
764
+ })
765
+ @IsNotEmpty({ message: "ID must not be empty" })
766
+ @IsString({ message: "ID must be a valid string" })
767
+ id: string;
768
+
753
769
  @ApiProperty({
754
770
  description: "The ID of the biller",
755
771
  example: "550e8400-e29b-41d4-a716-446655440003",
@@ -993,6 +1009,14 @@ export class UpdateCustomerDto extends BaseDTO {
993
1009
  @IsString({ message: "ID must be a valid string" })
994
1010
  id: string;
995
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
+
996
1020
  @ApiProperty({
997
1021
  description: "The name of the customer",
998
1022
  example: "Jane Smith",