resurgence-data 1.1.48 → 1.1.49

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.
@@ -57,6 +57,8 @@ export declare class CreateBillerDto extends BaseDTO {
57
57
  live: boolean;
58
58
  active: boolean;
59
59
  slug?: string;
60
+ logoUrl?: string;
61
+ url?: string;
60
62
  description?: string;
61
63
  registrationNumber?: string;
62
64
  billerCode?: string;
@@ -75,6 +77,8 @@ export declare class UpdateBillerDto extends BaseDTO {
75
77
  live?: boolean;
76
78
  active: boolean;
77
79
  slug?: string;
80
+ logoUrl?: string;
81
+ url?: string;
78
82
  billerCode?: string;
79
83
  }
80
84
  export declare enum TIME_DELIMITER {
@@ -229,6 +229,18 @@ __decorate([
229
229
  (0, class_validator_1.IsString)({ message: "Slug must be a string." }),
230
230
  __metadata("design:type", String)
231
231
  ], CreateBillerDto.prototype, "slug", void 0);
232
+ __decorate([
233
+ (0, swagger_1.ApiProperty)({ description: "Logo URL for the biller.", example: "https://hshdhsdhds,co", required: false }),
234
+ (0, class_validator_1.IsOptional)(),
235
+ (0, class_validator_1.IsString)({ message: "Logo url must be a string." }),
236
+ __metadata("design:type", String)
237
+ ], CreateBillerDto.prototype, "logoUrl", void 0);
238
+ __decorate([
239
+ (0, swagger_1.ApiProperty)({ description: "Website url for the biller.", example: "electricity-provider", required: false }),
240
+ (0, class_validator_1.IsOptional)(),
241
+ (0, class_validator_1.IsString)({ message: "URL must be a string." }),
242
+ __metadata("design:type", String)
243
+ ], CreateBillerDto.prototype, "url", void 0);
232
244
  __decorate([
233
245
  (0, swagger_1.ApiProperty)({ description: "The description of the business.", example: "Electricity provider", required: false }),
234
246
  (0, class_validator_1.IsOptional)(),
@@ -323,6 +335,18 @@ __decorate([
323
335
  (0, class_validator_1.IsString)({ message: "Slug must be a string." }),
324
336
  __metadata("design:type", String)
325
337
  ], UpdateBillerDto.prototype, "slug", void 0);
338
+ __decorate([
339
+ (0, swagger_1.ApiProperty)({ description: "Logo URL for the biller.", example: "https://hshdhsdhds,co", required: false }),
340
+ (0, class_validator_1.IsOptional)(),
341
+ (0, class_validator_1.IsString)({ message: "Logo url must be a string." }),
342
+ __metadata("design:type", String)
343
+ ], UpdateBillerDto.prototype, "logoUrl", void 0);
344
+ __decorate([
345
+ (0, swagger_1.ApiProperty)({ description: "Website url for the biller.", example: "https://hshdhsdhs.sdh", required: false }),
346
+ (0, class_validator_1.IsOptional)(),
347
+ (0, class_validator_1.IsString)({ message: "URL must be a string." }),
348
+ __metadata("design:type", String)
349
+ ], UpdateBillerDto.prototype, "url", void 0);
326
350
  __decorate([
327
351
  (0, swagger_1.ApiProperty)({ description: "The biller code.", example: "ELEC123", required: false }),
328
352
  (0, class_validator_1.IsOptional)(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resurgence-data",
3
- "version": "1.1.48",
3
+ "version": "1.1.49",
4
4
  "description": "DTOs and shareable resources",
5
5
  "module": "dist/index.js",
6
6
  "main": "dist/index.js",
@@ -199,6 +199,14 @@ export class CreateBillerDto extends BaseDTO {
199
199
  @IsOptional()
200
200
  @IsString({ message: "Slug must be a string." })
201
201
  slug?: string;
202
+ @ApiProperty({ description: "Logo URL for the biller.", example: "https://hshdhsdhds,co", required: false })
203
+ @IsOptional()
204
+ @IsString({ message: "Logo url must be a string." })
205
+ logoUrl?: string;
206
+ @ApiProperty({ description: "Website url for the biller.", example: "electricity-provider", required: false })
207
+ @IsOptional()
208
+ @IsString({ message: "URL must be a string." })
209
+ url?: string;
202
210
 
203
211
  @ApiProperty({ description: "The description of the business.", example: "Electricity provider", required: false })
204
212
  @IsOptional()
@@ -280,6 +288,15 @@ export class UpdateBillerDto extends BaseDTO {
280
288
  @IsString({ message: "Slug must be a string." })
281
289
  slug?: string;
282
290
 
291
+ @ApiProperty({ description: "Logo URL for the biller.", example: "https://hshdhsdhds,co", required: false })
292
+ @IsOptional()
293
+ @IsString({ message: "Logo url must be a string." })
294
+ logoUrl?: string;
295
+ @ApiProperty({ description: "Website url for the biller.", example: "https://hshdhsdhs.sdh", required: false })
296
+ @IsOptional()
297
+ @IsString({ message: "URL must be a string." })
298
+ url?: string;
299
+
283
300
  @ApiProperty({ description: "The biller code.", example: "ELEC123", required: false })
284
301
  @IsOptional()
285
302
  @IsString({ message: "Biller code must be a string." })