resurgence-data 1.0.29 → 1.0.31
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.
- package/dist/biller/biller-response.dto.js +435 -293
- package/dist/biller/biller.dto.d.ts +28 -27
- package/dist/biller/biller.dto.js +28 -27
- package/dist/types/dto.type.d.ts +3 -0
- package/dist/types/dto.type.js +20 -0
- package/package.json +1 -1
- package/src/biller/biller-response.dto.ts +221 -432
- package/src/biller/biller.dto.ts +28 -27
- package/src/types/dto.type.ts +6 -0
@@ -1,14 +1,15 @@
|
|
1
|
+
import { BaseDTO } from "../types/dto.type";
|
1
2
|
/**
|
2
3
|
* DTO for `BillerCategory`
|
3
4
|
*/
|
4
|
-
export declare class CreateBillerCategoryDto {
|
5
|
+
export declare class CreateBillerCategoryDto extends BaseDTO {
|
5
6
|
name: string;
|
6
7
|
description?: string;
|
7
8
|
}
|
8
9
|
/**
|
9
10
|
* DTO for `BillerCategory`
|
10
11
|
*/
|
11
|
-
export declare class UpdateBillerCategoryDto {
|
12
|
+
export declare class UpdateBillerCategoryDto extends BaseDTO {
|
12
13
|
id: string;
|
13
14
|
name: string;
|
14
15
|
description?: string;
|
@@ -16,7 +17,7 @@ export declare class UpdateBillerCategoryDto {
|
|
16
17
|
/**
|
17
18
|
* DTO for `Bank`
|
18
19
|
*/
|
19
|
-
export declare class CreateBankDto {
|
20
|
+
export declare class CreateBankDto extends BaseDTO {
|
20
21
|
name: string;
|
21
22
|
slug: string;
|
22
23
|
code: string;
|
@@ -25,7 +26,7 @@ export declare class CreateBankDto {
|
|
25
26
|
/**
|
26
27
|
* DTO for `Charge`
|
27
28
|
*/
|
28
|
-
export declare class CreateChargeDto {
|
29
|
+
export declare class CreateChargeDto extends BaseDTO {
|
29
30
|
name: string;
|
30
31
|
type: "FIXED" | "PERCENTAGE";
|
31
32
|
value: number;
|
@@ -34,7 +35,7 @@ export declare class CreateChargeDto {
|
|
34
35
|
/**
|
35
36
|
* DTO for `Transaction`
|
36
37
|
*/
|
37
|
-
export declare class CreateTransactionDto {
|
38
|
+
export declare class CreateTransactionDto extends BaseDTO {
|
38
39
|
amount: number;
|
39
40
|
bankId: string;
|
40
41
|
type: "CREDIT" | "DEBIT";
|
@@ -43,7 +44,7 @@ export declare class CreateTransactionDto {
|
|
43
44
|
/**
|
44
45
|
* DTO for `Biller`
|
45
46
|
*/
|
46
|
-
export declare class CreateBillerDto {
|
47
|
+
export declare class CreateBillerDto extends BaseDTO {
|
47
48
|
id?: string;
|
48
49
|
categoryId: string;
|
49
50
|
billerProfileId?: string;
|
@@ -55,7 +56,7 @@ export declare class CreateBillerDto {
|
|
55
56
|
createdAt?: string;
|
56
57
|
updatedAt?: string;
|
57
58
|
}
|
58
|
-
export declare class UpdateBillerDto {
|
59
|
+
export declare class UpdateBillerDto extends BaseDTO {
|
59
60
|
id?: string;
|
60
61
|
categoryId?: string;
|
61
62
|
billerProfileId?: string;
|
@@ -70,21 +71,21 @@ export declare enum TIME_DELIMITER {
|
|
70
71
|
WEEK = "WEEK",
|
71
72
|
MONTH = "MONTH"
|
72
73
|
}
|
73
|
-
export declare class BillerProfileDTO {
|
74
|
+
export declare class BillerProfileDTO extends BaseDTO {
|
74
75
|
id: string;
|
75
76
|
name?: string;
|
76
77
|
hasTransactionLimit?: boolean;
|
77
78
|
transactionLimit?: number;
|
78
79
|
delimiter?: TIME_DELIMITER;
|
79
80
|
}
|
80
|
-
export declare class UpdateBillerProfileDTO {
|
81
|
+
export declare class UpdateBillerProfileDTO extends BaseDTO {
|
81
82
|
id: string;
|
82
83
|
name?: string;
|
83
84
|
hasTransactionLimit?: boolean;
|
84
85
|
transactionLimit?: number;
|
85
86
|
delimiter?: TIME_DELIMITER;
|
86
87
|
}
|
87
|
-
export declare class CreateSettlementAccountDto {
|
88
|
+
export declare class CreateSettlementAccountDto extends BaseDTO {
|
88
89
|
billerId: string;
|
89
90
|
bankId: string;
|
90
91
|
default?: boolean;
|
@@ -92,7 +93,7 @@ export declare class CreateSettlementAccountDto {
|
|
92
93
|
accountNumber: string;
|
93
94
|
currency: string;
|
94
95
|
}
|
95
|
-
export declare class UpdateSettlementAccountDto {
|
96
|
+
export declare class UpdateSettlementAccountDto extends BaseDTO {
|
96
97
|
id: string;
|
97
98
|
billerId?: string;
|
98
99
|
bankId?: string;
|
@@ -101,7 +102,7 @@ export declare class UpdateSettlementAccountDto {
|
|
101
102
|
accountNumber?: string;
|
102
103
|
currency?: string;
|
103
104
|
}
|
104
|
-
export declare class CreateBillerChargeConfigurationDto {
|
105
|
+
export declare class CreateBillerChargeConfigurationDto extends BaseDTO {
|
105
106
|
serviceId: string;
|
106
107
|
billerId: string;
|
107
108
|
active?: boolean;
|
@@ -114,7 +115,7 @@ export declare class CreateBillerChargeConfigurationDto {
|
|
114
115
|
fixedAmount?: number;
|
115
116
|
percentAmount?: number;
|
116
117
|
}
|
117
|
-
export declare class UpdateBillerChargeConfigurationDto {
|
118
|
+
export declare class UpdateBillerChargeConfigurationDto extends BaseDTO {
|
118
119
|
id: string;
|
119
120
|
serviceId?: string;
|
120
121
|
billerId: string;
|
@@ -128,25 +129,25 @@ export declare class UpdateBillerChargeConfigurationDto {
|
|
128
129
|
fixedAmount?: number;
|
129
130
|
percentAmount?: number;
|
130
131
|
}
|
131
|
-
export declare class CreateBillerDocumentDto {
|
132
|
+
export declare class CreateBillerDocumentDto extends BaseDTO {
|
132
133
|
billerId: string;
|
133
134
|
url: string;
|
134
135
|
type: string;
|
135
136
|
}
|
136
|
-
export declare class UpdateBillerDocumentDto {
|
137
|
+
export declare class UpdateBillerDocumentDto extends BaseDTO {
|
137
138
|
billerId?: string;
|
138
139
|
url?: string;
|
139
140
|
type?: string;
|
140
141
|
}
|
141
|
-
export declare class CreateGoLiveRequestDto {
|
142
|
+
export declare class CreateGoLiveRequestDto extends BaseDTO {
|
142
143
|
billerId: string;
|
143
144
|
status: string;
|
144
145
|
}
|
145
|
-
export declare class UpdateGoLiveRequestDto {
|
146
|
+
export declare class UpdateGoLiveRequestDto extends BaseDTO {
|
146
147
|
billerId?: string;
|
147
148
|
status?: string;
|
148
149
|
}
|
149
|
-
export declare class CreateBillerContactDto {
|
150
|
+
export declare class CreateBillerContactDto extends BaseDTO {
|
150
151
|
billerId: string;
|
151
152
|
contactName: string;
|
152
153
|
emailAddress: string;
|
@@ -157,7 +158,7 @@ export declare class CreateBillerContactDto {
|
|
157
158
|
city: string;
|
158
159
|
state: string;
|
159
160
|
}
|
160
|
-
export declare class UpdateBillerContactDto {
|
161
|
+
export declare class UpdateBillerContactDto extends BaseDTO {
|
161
162
|
id: string;
|
162
163
|
billerId?: string;
|
163
164
|
contactName?: string;
|
@@ -169,28 +170,28 @@ export declare class UpdateBillerContactDto {
|
|
169
170
|
city?: string;
|
170
171
|
state?: string;
|
171
172
|
}
|
172
|
-
export declare class CreateCustomerDto {
|
173
|
+
export declare class CreateCustomerDto extends BaseDTO {
|
173
174
|
billerId: string;
|
174
175
|
name: string;
|
175
176
|
emailAddress?: string;
|
176
177
|
phoneNumber?: string;
|
177
178
|
}
|
178
|
-
export declare class UpdateCustomerDto {
|
179
|
+
export declare class UpdateCustomerDto extends BaseDTO {
|
179
180
|
id: string;
|
180
181
|
name?: string;
|
181
182
|
emailAddress?: string;
|
182
183
|
phoneNumber?: string;
|
183
184
|
}
|
184
|
-
export declare class BillerItemCategoryDto {
|
185
|
+
export declare class BillerItemCategoryDto extends BaseDTO {
|
185
186
|
name: string;
|
186
187
|
description?: string;
|
187
188
|
}
|
188
|
-
export declare class UpdateBillerItemCategoryDto {
|
189
|
+
export declare class UpdateBillerItemCategoryDto extends BaseDTO {
|
189
190
|
id: string;
|
190
191
|
name: string;
|
191
192
|
description?: string;
|
192
193
|
}
|
193
|
-
export declare class CreateBillerItemDto {
|
194
|
+
export declare class CreateBillerItemDto extends BaseDTO {
|
194
195
|
billerId: string;
|
195
196
|
itemCategoryId?: string;
|
196
197
|
amount: number;
|
@@ -202,7 +203,7 @@ export declare class CreateBillerItemDto {
|
|
202
203
|
description?: string;
|
203
204
|
external: boolean;
|
204
205
|
}
|
205
|
-
export declare class UpdateBillerItemDto {
|
206
|
+
export declare class UpdateBillerItemDto extends BaseDTO {
|
206
207
|
id: string;
|
207
208
|
billerId?: string;
|
208
209
|
itemCategoryId?: string;
|
@@ -215,7 +216,7 @@ export declare class UpdateBillerItemDto {
|
|
215
216
|
description?: string;
|
216
217
|
external?: boolean;
|
217
218
|
}
|
218
|
-
export declare class CreateInvoiceDto {
|
219
|
+
export declare class CreateInvoiceDto extends BaseDTO {
|
219
220
|
billerId: string;
|
220
221
|
customerId: string;
|
221
222
|
discountValue: number;
|
@@ -223,7 +224,7 @@ export declare class CreateInvoiceDto {
|
|
223
224
|
dueDate: string;
|
224
225
|
status: string;
|
225
226
|
}
|
226
|
-
export declare class UpdateInvoiceDto {
|
227
|
+
export declare class UpdateInvoiceDto extends BaseDTO {
|
227
228
|
id: string;
|
228
229
|
billerId?: string;
|
229
230
|
customerId?: string;
|
@@ -12,10 +12,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.UpdateInvoiceDto = exports.CreateInvoiceDto = exports.UpdateBillerItemDto = exports.CreateBillerItemDto = exports.UpdateBillerItemCategoryDto = exports.BillerItemCategoryDto = exports.UpdateCustomerDto = exports.CreateCustomerDto = exports.UpdateBillerContactDto = exports.CreateBillerContactDto = exports.UpdateGoLiveRequestDto = exports.CreateGoLiveRequestDto = exports.UpdateBillerDocumentDto = exports.CreateBillerDocumentDto = exports.UpdateBillerChargeConfigurationDto = exports.CreateBillerChargeConfigurationDto = exports.UpdateSettlementAccountDto = exports.CreateSettlementAccountDto = exports.UpdateBillerProfileDTO = exports.BillerProfileDTO = exports.TIME_DELIMITER = exports.UpdateBillerDto = exports.CreateBillerDto = exports.CreateTransactionDto = exports.CreateChargeDto = exports.CreateBankDto = exports.UpdateBillerCategoryDto = exports.CreateBillerCategoryDto = void 0;
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
14
14
|
const class_validator_1 = require("class-validator");
|
15
|
+
const dto_type_1 = require("../types/dto.type");
|
15
16
|
/**
|
16
17
|
* DTO for `BillerCategory`
|
17
18
|
*/
|
18
|
-
class CreateBillerCategoryDto {
|
19
|
+
class CreateBillerCategoryDto extends dto_type_1.BaseDTO {
|
19
20
|
}
|
20
21
|
exports.CreateBillerCategoryDto = CreateBillerCategoryDto;
|
21
22
|
__decorate([
|
@@ -38,7 +39,7 @@ __decorate([
|
|
38
39
|
/**
|
39
40
|
* DTO for `BillerCategory`
|
40
41
|
*/
|
41
|
-
class UpdateBillerCategoryDto {
|
42
|
+
class UpdateBillerCategoryDto extends dto_type_1.BaseDTO {
|
42
43
|
}
|
43
44
|
exports.UpdateBillerCategoryDto = UpdateBillerCategoryDto;
|
44
45
|
__decorate([
|
@@ -69,7 +70,7 @@ __decorate([
|
|
69
70
|
/**
|
70
71
|
* DTO for `Bank`
|
71
72
|
*/
|
72
|
-
class CreateBankDto {
|
73
|
+
class CreateBankDto extends dto_type_1.BaseDTO {
|
73
74
|
}
|
74
75
|
exports.CreateBankDto = CreateBankDto;
|
75
76
|
__decorate([
|
@@ -104,7 +105,7 @@ __decorate([
|
|
104
105
|
/**
|
105
106
|
* DTO for `Charge`
|
106
107
|
*/
|
107
|
-
class CreateChargeDto {
|
108
|
+
class CreateChargeDto extends dto_type_1.BaseDTO {
|
108
109
|
}
|
109
110
|
exports.CreateChargeDto = CreateChargeDto;
|
110
111
|
__decorate([
|
@@ -135,7 +136,7 @@ __decorate([
|
|
135
136
|
/**
|
136
137
|
* DTO for `Transaction`
|
137
138
|
*/
|
138
|
-
class CreateTransactionDto {
|
139
|
+
class CreateTransactionDto extends dto_type_1.BaseDTO {
|
139
140
|
}
|
140
141
|
exports.CreateTransactionDto = CreateTransactionDto;
|
141
142
|
__decorate([
|
@@ -169,7 +170,7 @@ __decorate([
|
|
169
170
|
/**
|
170
171
|
* DTO for `Biller`
|
171
172
|
*/
|
172
|
-
class CreateBillerDto {
|
173
|
+
class CreateBillerDto extends dto_type_1.BaseDTO {
|
173
174
|
}
|
174
175
|
exports.CreateBillerDto = CreateBillerDto;
|
175
176
|
__decorate([
|
@@ -234,7 +235,7 @@ __decorate([
|
|
234
235
|
(0, class_validator_1.IsString)({ message: "UpdatedAt must be a string." }),
|
235
236
|
__metadata("design:type", String)
|
236
237
|
], CreateBillerDto.prototype, "updatedAt", void 0);
|
237
|
-
class UpdateBillerDto {
|
238
|
+
class UpdateBillerDto extends dto_type_1.BaseDTO {
|
238
239
|
}
|
239
240
|
exports.UpdateBillerDto = UpdateBillerDto;
|
240
241
|
__decorate([
|
@@ -293,7 +294,7 @@ var TIME_DELIMITER;
|
|
293
294
|
TIME_DELIMITER["WEEK"] = "WEEK";
|
294
295
|
TIME_DELIMITER["MONTH"] = "MONTH";
|
295
296
|
})(TIME_DELIMITER || (exports.TIME_DELIMITER = TIME_DELIMITER = {}));
|
296
|
-
class BillerProfileDTO {
|
297
|
+
class BillerProfileDTO extends dto_type_1.BaseDTO {
|
297
298
|
}
|
298
299
|
exports.BillerProfileDTO = BillerProfileDTO;
|
299
300
|
__decorate([
|
@@ -347,7 +348,7 @@ __decorate([
|
|
347
348
|
(0, class_validator_1.IsOptional)(),
|
348
349
|
__metadata("design:type", String)
|
349
350
|
], BillerProfileDTO.prototype, "delimiter", void 0);
|
350
|
-
class UpdateBillerProfileDTO {
|
351
|
+
class UpdateBillerProfileDTO extends dto_type_1.BaseDTO {
|
351
352
|
}
|
352
353
|
exports.UpdateBillerProfileDTO = UpdateBillerProfileDTO;
|
353
354
|
__decorate([
|
@@ -401,7 +402,7 @@ __decorate([
|
|
401
402
|
(0, class_validator_1.IsOptional)(),
|
402
403
|
__metadata("design:type", String)
|
403
404
|
], UpdateBillerProfileDTO.prototype, "delimiter", void 0);
|
404
|
-
class CreateSettlementAccountDto {
|
405
|
+
class CreateSettlementAccountDto extends dto_type_1.BaseDTO {
|
405
406
|
}
|
406
407
|
exports.CreateSettlementAccountDto = CreateSettlementAccountDto;
|
407
408
|
__decorate([
|
@@ -461,7 +462,7 @@ __decorate([
|
|
461
462
|
(0, class_validator_1.Length)(3, 5, { message: "Currency must be between 3 and 5 characters" }),
|
462
463
|
__metadata("design:type", String)
|
463
464
|
], CreateSettlementAccountDto.prototype, "currency", void 0);
|
464
|
-
class UpdateSettlementAccountDto {
|
465
|
+
class UpdateSettlementAccountDto extends dto_type_1.BaseDTO {
|
465
466
|
}
|
466
467
|
exports.UpdateSettlementAccountDto = UpdateSettlementAccountDto;
|
467
468
|
__decorate([
|
@@ -533,7 +534,7 @@ __decorate([
|
|
533
534
|
(0, class_validator_1.IsOptional)(),
|
534
535
|
__metadata("design:type", String)
|
535
536
|
], UpdateSettlementAccountDto.prototype, "currency", void 0);
|
536
|
-
class CreateBillerChargeConfigurationDto {
|
537
|
+
class CreateBillerChargeConfigurationDto extends dto_type_1.BaseDTO {
|
537
538
|
}
|
538
539
|
exports.CreateBillerChargeConfigurationDto = CreateBillerChargeConfigurationDto;
|
539
540
|
__decorate([
|
@@ -640,7 +641,7 @@ __decorate([
|
|
640
641
|
(0, class_validator_1.IsOptional)(),
|
641
642
|
__metadata("design:type", Number)
|
642
643
|
], CreateBillerChargeConfigurationDto.prototype, "percentAmount", void 0);
|
643
|
-
class UpdateBillerChargeConfigurationDto {
|
644
|
+
class UpdateBillerChargeConfigurationDto extends dto_type_1.BaseDTO {
|
644
645
|
}
|
645
646
|
exports.UpdateBillerChargeConfigurationDto = UpdateBillerChargeConfigurationDto;
|
646
647
|
__decorate([
|
@@ -763,7 +764,7 @@ __decorate([
|
|
763
764
|
(0, class_validator_1.IsOptional)(),
|
764
765
|
__metadata("design:type", Number)
|
765
766
|
], UpdateBillerChargeConfigurationDto.prototype, "percentAmount", void 0);
|
766
|
-
class CreateBillerDocumentDto {
|
767
|
+
class CreateBillerDocumentDto extends dto_type_1.BaseDTO {
|
767
768
|
}
|
768
769
|
exports.CreateBillerDocumentDto = CreateBillerDocumentDto;
|
769
770
|
__decorate([
|
@@ -793,7 +794,7 @@ __decorate([
|
|
793
794
|
(0, class_validator_1.IsString)({ message: "Document type must be a valid string" }),
|
794
795
|
__metadata("design:type", String)
|
795
796
|
], CreateBillerDocumentDto.prototype, "type", void 0);
|
796
|
-
class UpdateBillerDocumentDto {
|
797
|
+
class UpdateBillerDocumentDto extends dto_type_1.BaseDTO {
|
797
798
|
}
|
798
799
|
exports.UpdateBillerDocumentDto = UpdateBillerDocumentDto;
|
799
800
|
__decorate([
|
@@ -826,7 +827,7 @@ __decorate([
|
|
826
827
|
(0, class_validator_1.IsOptional)(),
|
827
828
|
__metadata("design:type", String)
|
828
829
|
], UpdateBillerDocumentDto.prototype, "type", void 0);
|
829
|
-
class CreateGoLiveRequestDto {
|
830
|
+
class CreateGoLiveRequestDto extends dto_type_1.BaseDTO {
|
830
831
|
}
|
831
832
|
exports.CreateGoLiveRequestDto = CreateGoLiveRequestDto;
|
832
833
|
__decorate([
|
@@ -847,7 +848,7 @@ __decorate([
|
|
847
848
|
(0, class_validator_1.IsString)({ message: "Status must be a valid string" }),
|
848
849
|
__metadata("design:type", String)
|
849
850
|
], CreateGoLiveRequestDto.prototype, "status", void 0);
|
850
|
-
class UpdateGoLiveRequestDto {
|
851
|
+
class UpdateGoLiveRequestDto extends dto_type_1.BaseDTO {
|
851
852
|
}
|
852
853
|
exports.UpdateGoLiveRequestDto = UpdateGoLiveRequestDto;
|
853
854
|
__decorate([
|
@@ -870,7 +871,7 @@ __decorate([
|
|
870
871
|
(0, class_validator_1.IsOptional)(),
|
871
872
|
__metadata("design:type", String)
|
872
873
|
], UpdateGoLiveRequestDto.prototype, "status", void 0);
|
873
|
-
class CreateBillerContactDto {
|
874
|
+
class CreateBillerContactDto extends dto_type_1.BaseDTO {
|
874
875
|
}
|
875
876
|
exports.CreateBillerContactDto = CreateBillerContactDto;
|
876
877
|
__decorate([
|
@@ -960,7 +961,7 @@ __decorate([
|
|
960
961
|
(0, class_validator_1.Length)(1, 50, { message: "State must be between 1 and 50 characters" }),
|
961
962
|
__metadata("design:type", String)
|
962
963
|
], CreateBillerContactDto.prototype, "state", void 0);
|
963
|
-
class UpdateBillerContactDto {
|
964
|
+
class UpdateBillerContactDto extends dto_type_1.BaseDTO {
|
964
965
|
}
|
965
966
|
exports.UpdateBillerContactDto = UpdateBillerContactDto;
|
966
967
|
__decorate([
|
@@ -1068,7 +1069,7 @@ __decorate([
|
|
1068
1069
|
(0, class_validator_1.IsOptional)(),
|
1069
1070
|
__metadata("design:type", String)
|
1070
1071
|
], UpdateBillerContactDto.prototype, "state", void 0);
|
1071
|
-
class CreateCustomerDto {
|
1072
|
+
class CreateCustomerDto extends dto_type_1.BaseDTO {
|
1072
1073
|
}
|
1073
1074
|
exports.CreateCustomerDto = CreateCustomerDto;
|
1074
1075
|
__decorate([
|
@@ -1111,7 +1112,7 @@ __decorate([
|
|
1111
1112
|
(0, class_validator_1.IsOptional)(),
|
1112
1113
|
__metadata("design:type", String)
|
1113
1114
|
], CreateCustomerDto.prototype, "phoneNumber", void 0);
|
1114
|
-
class UpdateCustomerDto {
|
1115
|
+
class UpdateCustomerDto extends dto_type_1.BaseDTO {
|
1115
1116
|
}
|
1116
1117
|
exports.UpdateCustomerDto = UpdateCustomerDto;
|
1117
1118
|
__decorate([
|
@@ -1155,7 +1156,7 @@ __decorate([
|
|
1155
1156
|
(0, class_validator_1.IsOptional)(),
|
1156
1157
|
__metadata("design:type", String)
|
1157
1158
|
], UpdateCustomerDto.prototype, "phoneNumber", void 0);
|
1158
|
-
class BillerItemCategoryDto {
|
1159
|
+
class BillerItemCategoryDto extends dto_type_1.BaseDTO {
|
1159
1160
|
}
|
1160
1161
|
exports.BillerItemCategoryDto = BillerItemCategoryDto;
|
1161
1162
|
__decorate([
|
@@ -1177,7 +1178,7 @@ __decorate([
|
|
1177
1178
|
(0, class_validator_1.IsOptional)(),
|
1178
1179
|
__metadata("design:type", String)
|
1179
1180
|
], BillerItemCategoryDto.prototype, "description", void 0);
|
1180
|
-
class UpdateBillerItemCategoryDto {
|
1181
|
+
class UpdateBillerItemCategoryDto extends dto_type_1.BaseDTO {
|
1181
1182
|
}
|
1182
1183
|
exports.UpdateBillerItemCategoryDto = UpdateBillerItemCategoryDto;
|
1183
1184
|
__decorate([
|
@@ -1209,7 +1210,7 @@ __decorate([
|
|
1209
1210
|
(0, class_validator_1.IsOptional)(),
|
1210
1211
|
__metadata("design:type", String)
|
1211
1212
|
], UpdateBillerItemCategoryDto.prototype, "description", void 0);
|
1212
|
-
class CreateBillerItemDto {
|
1213
|
+
class CreateBillerItemDto extends dto_type_1.BaseDTO {
|
1213
1214
|
}
|
1214
1215
|
exports.CreateBillerItemDto = CreateBillerItemDto;
|
1215
1216
|
__decorate([
|
@@ -1306,7 +1307,7 @@ __decorate([
|
|
1306
1307
|
(0, class_validator_1.IsNotEmpty)({ message: "External must not be empty" }),
|
1307
1308
|
__metadata("design:type", Boolean)
|
1308
1309
|
], CreateBillerItemDto.prototype, "external", void 0);
|
1309
|
-
class UpdateBillerItemDto {
|
1310
|
+
class UpdateBillerItemDto extends dto_type_1.BaseDTO {
|
1310
1311
|
}
|
1311
1312
|
exports.UpdateBillerItemDto = UpdateBillerItemDto;
|
1312
1313
|
__decorate([
|
@@ -1418,7 +1419,7 @@ __decorate([
|
|
1418
1419
|
(0, class_validator_1.IsOptional)(),
|
1419
1420
|
__metadata("design:type", Boolean)
|
1420
1421
|
], UpdateBillerItemDto.prototype, "external", void 0);
|
1421
|
-
class CreateInvoiceDto {
|
1422
|
+
class CreateInvoiceDto extends dto_type_1.BaseDTO {
|
1422
1423
|
}
|
1423
1424
|
exports.CreateInvoiceDto = CreateInvoiceDto;
|
1424
1425
|
__decorate([
|
@@ -1475,7 +1476,7 @@ __decorate([
|
|
1475
1476
|
(0, class_validator_1.IsEnum)(["PENDING", "PAID", "CANCELLED"], { message: "Status must be PENDING, PAID, or CANCELLED" }),
|
1476
1477
|
__metadata("design:type", String)
|
1477
1478
|
], CreateInvoiceDto.prototype, "status", void 0);
|
1478
|
-
class UpdateInvoiceDto {
|
1479
|
+
class UpdateInvoiceDto extends dto_type_1.BaseDTO {
|
1479
1480
|
}
|
1480
1481
|
exports.UpdateInvoiceDto = UpdateInvoiceDto;
|
1481
1482
|
__decorate([
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
+
};
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
|
+
};
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
exports.BaseDTO = void 0;
|
13
|
+
const class_validator_1 = require("class-validator");
|
14
|
+
class BaseDTO {
|
15
|
+
}
|
16
|
+
exports.BaseDTO = BaseDTO;
|
17
|
+
__decorate([
|
18
|
+
(0, class_validator_1.IsOptional)(),
|
19
|
+
__metadata("design:type", String)
|
20
|
+
], BaseDTO.prototype, "requestUserId", void 0);
|