resurgence-data 1.1.41 → 1.1.43

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.
@@ -1,8 +1,6 @@
1
1
  export interface InviteCreateModel {
2
2
  userId: string;
3
3
  emailAddress: string;
4
- firstName: string;
5
- lastName: string;
6
4
  billerId: string;
7
5
  token: string;
8
6
  status?: string;
@@ -153,7 +153,7 @@ export declare class UpdateBillerDocumentDto extends BaseDTO {
153
153
  }
154
154
  export declare class CreateGoLiveRequestDto extends BaseDTO {
155
155
  billerId: string;
156
- status: string;
156
+ status?: string;
157
157
  }
158
158
  export declare class UpdateGoLiveRequestDto extends BaseDTO {
159
159
  id: string;
@@ -894,9 +894,10 @@ __decorate([
894
894
  (0, swagger_1.ApiProperty)({
895
895
  description: "The status of the go-live request",
896
896
  example: "PENDING",
897
+ required: false,
897
898
  }),
898
- (0, class_validator_1.IsNotEmpty)({ message: "Status must not be empty" }),
899
899
  (0, class_validator_1.IsString)({ message: "Status must be a valid string" }),
900
+ (0, class_validator_1.IsOptional)(),
900
901
  __metadata("design:type", String)
901
902
  ], CreateGoLiveRequestDto.prototype, "status", void 0);
902
903
  class UpdateGoLiveRequestDto extends dto_type_1.BaseDTO {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resurgence-data",
3
- "version": "1.1.41",
3
+ "version": "1.1.43",
4
4
  "description": "DTOs and shareable resources",
5
5
  "module": "dist/index.js",
6
6
  "main": "dist/index.js",
@@ -1,8 +1,6 @@
1
1
  export interface InviteCreateModel {
2
2
  userId: string;
3
3
  emailAddress: string;
4
- firstName: string;
5
- lastName: string;
6
4
  billerId: string;
7
5
  token: string;
8
6
  status?: string;
@@ -791,10 +791,11 @@ export class CreateGoLiveRequestDto extends BaseDTO {
791
791
  @ApiProperty({
792
792
  description: "The status of the go-live request",
793
793
  example: "PENDING",
794
+ required: false,
794
795
  })
795
- @IsNotEmpty({ message: "Status must not be empty" })
796
796
  @IsString({ message: "Status must be a valid string" })
797
- status: string;
797
+ @IsOptional()
798
+ status?: string;
798
799
  }
799
800
 
800
801
  export class UpdateGoLiveRequestDto extends BaseDTO {