resurgence-data 1.0.39 → 1.0.40

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
  }
@@ -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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resurgence-data",
3
- "version": "1.0.39",
3
+ "version": "1.0.40",
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",