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,341 +1,483 @@
|
|
1
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
|
+
};
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
12
|
exports.InvoiceResponseDTO = exports.BillerItemResponseDTO = exports.BillerItemCategoryResponseDTO = exports.CustomerResponseDTO = exports.BillerContactResponseDTO = exports.GoLiveRequestResponseDTO = exports.BillerDocumentResponseDTO = exports.OnboardedAccountResponseDTO = exports.SettlementAccountResponseDTO = exports.BillerChargeConfigurationResponseDTO = exports.BillerProfileResponseDTO = exports.BillerResponseDTO = exports.BankResponseDTO = exports.ServiceResponseDTO = exports.BillerCategoryResponseDTO = void 0;
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
4
14
|
class BillerCategoryResponseDTO {
|
5
15
|
}
|
6
16
|
exports.BillerCategoryResponseDTO = BillerCategoryResponseDTO;
|
17
|
+
__decorate([
|
18
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the biller category." }),
|
19
|
+
__metadata("design:type", String)
|
20
|
+
], BillerCategoryResponseDTO.prototype, "id", void 0);
|
21
|
+
__decorate([
|
22
|
+
(0, swagger_1.ApiProperty)({ description: "Name of the biller category." }),
|
23
|
+
__metadata("design:type", String)
|
24
|
+
], BillerCategoryResponseDTO.prototype, "name", void 0);
|
25
|
+
__decorate([
|
26
|
+
(0, swagger_1.ApiProperty)({ description: "Description of the biller category.", required: false }),
|
27
|
+
__metadata("design:type", String)
|
28
|
+
], BillerCategoryResponseDTO.prototype, "description", void 0);
|
7
29
|
class ServiceResponseDTO {
|
8
30
|
}
|
9
31
|
exports.ServiceResponseDTO = ServiceResponseDTO;
|
32
|
+
__decorate([
|
33
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the service." }),
|
34
|
+
__metadata("design:type", String)
|
35
|
+
], ServiceResponseDTO.prototype, "id", void 0);
|
36
|
+
__decorate([
|
37
|
+
(0, swagger_1.ApiProperty)({ description: "Name of the service." }),
|
38
|
+
__metadata("design:type", String)
|
39
|
+
], ServiceResponseDTO.prototype, "name", void 0);
|
10
40
|
class BankResponseDTO {
|
11
41
|
}
|
12
42
|
exports.BankResponseDTO = BankResponseDTO;
|
43
|
+
__decorate([
|
44
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the bank." }),
|
45
|
+
__metadata("design:type", String)
|
46
|
+
], BankResponseDTO.prototype, "id", void 0);
|
47
|
+
__decorate([
|
48
|
+
(0, swagger_1.ApiProperty)({ description: "Name of the bank." }),
|
49
|
+
__metadata("design:type", String)
|
50
|
+
], BankResponseDTO.prototype, "name", void 0);
|
51
|
+
__decorate([
|
52
|
+
(0, swagger_1.ApiProperty)({ description: "Slug for the bank." }),
|
53
|
+
__metadata("design:type", String)
|
54
|
+
], BankResponseDTO.prototype, "slug", void 0);
|
55
|
+
__decorate([
|
56
|
+
(0, swagger_1.ApiProperty)({ description: "Bank code." }),
|
57
|
+
__metadata("design:type", String)
|
58
|
+
], BankResponseDTO.prototype, "code", void 0);
|
59
|
+
__decorate([
|
60
|
+
(0, swagger_1.ApiProperty)({ description: "Long bank code." }),
|
61
|
+
__metadata("design:type", String)
|
62
|
+
], BankResponseDTO.prototype, "longCode", void 0);
|
13
63
|
class BillerResponseDTO {
|
14
64
|
}
|
15
65
|
exports.BillerResponseDTO = BillerResponseDTO;
|
66
|
+
__decorate([
|
67
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the biller." }),
|
68
|
+
__metadata("design:type", String)
|
69
|
+
], BillerResponseDTO.prototype, "id", void 0);
|
70
|
+
__decorate([
|
71
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the biller category." }),
|
72
|
+
__metadata("design:type", String)
|
73
|
+
], BillerResponseDTO.prototype, "categoryId", void 0);
|
74
|
+
__decorate([
|
75
|
+
(0, swagger_1.ApiProperty)({ description: "Name of the biller." }),
|
76
|
+
__metadata("design:type", String)
|
77
|
+
], BillerResponseDTO.prototype, "name", void 0);
|
78
|
+
__decorate([
|
79
|
+
(0, swagger_1.ApiProperty)({ description: "Indicates whether the biller is live." }),
|
80
|
+
__metadata("design:type", Boolean)
|
81
|
+
], BillerResponseDTO.prototype, "live", void 0);
|
82
|
+
__decorate([
|
83
|
+
(0, swagger_1.ApiProperty)({ description: "Indicates whether the biller is active." }),
|
84
|
+
__metadata("design:type", Boolean)
|
85
|
+
], BillerResponseDTO.prototype, "active", void 0);
|
86
|
+
__decorate([
|
87
|
+
(0, swagger_1.ApiProperty)({ description: "Slug for the biller.", required: false }),
|
88
|
+
__metadata("design:type", String)
|
89
|
+
], BillerResponseDTO.prototype, "slug", void 0);
|
90
|
+
__decorate([
|
91
|
+
(0, swagger_1.ApiProperty)({ description: "Code for the biller.", required: false }),
|
92
|
+
__metadata("design:type", String)
|
93
|
+
], BillerResponseDTO.prototype, "billerCode", void 0);
|
94
|
+
__decorate([
|
95
|
+
(0, swagger_1.ApiProperty)({ description: "Timestamp when the biller was created." }),
|
96
|
+
__metadata("design:type", Date)
|
97
|
+
], BillerResponseDTO.prototype, "createdAt", void 0);
|
98
|
+
__decorate([
|
99
|
+
(0, swagger_1.ApiProperty)({ description: "Timestamp when the biller was last updated." }),
|
100
|
+
__metadata("design:type", Date)
|
101
|
+
], BillerResponseDTO.prototype, "updatedAt", void 0);
|
16
102
|
class BillerProfileResponseDTO {
|
17
103
|
}
|
18
104
|
exports.BillerProfileResponseDTO = BillerProfileResponseDTO;
|
105
|
+
__decorate([
|
106
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the biller profile." }),
|
107
|
+
__metadata("design:type", String)
|
108
|
+
], BillerProfileResponseDTO.prototype, "id", void 0);
|
109
|
+
__decorate([
|
110
|
+
(0, swagger_1.ApiProperty)({ description: "Name of the biller profile.", required: false }),
|
111
|
+
__metadata("design:type", String)
|
112
|
+
], BillerProfileResponseDTO.prototype, "name", void 0);
|
113
|
+
__decorate([
|
114
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the associated biller." }),
|
115
|
+
__metadata("design:type", String)
|
116
|
+
], BillerProfileResponseDTO.prototype, "billerId", void 0);
|
117
|
+
__decorate([
|
118
|
+
(0, swagger_1.ApiProperty)({ description: "Indicates whether the biller profile has a transaction limit." }),
|
119
|
+
__metadata("design:type", Boolean)
|
120
|
+
], BillerProfileResponseDTO.prototype, "hasTransactionLimit", void 0);
|
121
|
+
__decorate([
|
122
|
+
(0, swagger_1.ApiProperty)({ description: "Transaction limit for the biller profile." }),
|
123
|
+
__metadata("design:type", Number)
|
124
|
+
], BillerProfileResponseDTO.prototype, "transactionLimit", void 0);
|
125
|
+
__decorate([
|
126
|
+
(0, swagger_1.ApiProperty)({ description: "Delimiter used in the biller profile." }),
|
127
|
+
__metadata("design:type", String)
|
128
|
+
], BillerProfileResponseDTO.prototype, "delimiter", void 0);
|
129
|
+
__decorate([
|
130
|
+
(0, swagger_1.ApiProperty)({ description: "Timestamp when the profile was created." }),
|
131
|
+
__metadata("design:type", Date)
|
132
|
+
], BillerProfileResponseDTO.prototype, "createdAt", void 0);
|
133
|
+
__decorate([
|
134
|
+
(0, swagger_1.ApiProperty)({ description: "Timestamp when the profile was last updated." }),
|
135
|
+
__metadata("design:type", Date)
|
136
|
+
], BillerProfileResponseDTO.prototype, "updatedAt", void 0);
|
19
137
|
class BillerChargeConfigurationResponseDTO {
|
20
138
|
}
|
21
139
|
exports.BillerChargeConfigurationResponseDTO = BillerChargeConfigurationResponseDTO;
|
140
|
+
__decorate([
|
141
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the charge configuration." }),
|
142
|
+
__metadata("design:type", String)
|
143
|
+
], BillerChargeConfigurationResponseDTO.prototype, "id", void 0);
|
144
|
+
__decorate([
|
145
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the associated service." }),
|
146
|
+
__metadata("design:type", String)
|
147
|
+
], BillerChargeConfigurationResponseDTO.prototype, "serviceId", void 0);
|
148
|
+
__decorate([
|
149
|
+
(0, swagger_1.ApiProperty)({ description: "Indicates whether the charge configuration is active." }),
|
150
|
+
__metadata("design:type", Boolean)
|
151
|
+
], BillerChargeConfigurationResponseDTO.prototype, "active", void 0);
|
152
|
+
__decorate([
|
153
|
+
(0, swagger_1.ApiProperty)({ description: "Indicates whether the charge configuration has a cap." }),
|
154
|
+
__metadata("design:type", Boolean)
|
155
|
+
], BillerChargeConfigurationResponseDTO.prototype, "capped", void 0);
|
156
|
+
__decorate([
|
157
|
+
(0, swagger_1.ApiProperty)({ description: "Indicates whether the charge configuration has a floor." }),
|
158
|
+
__metadata("design:type", Boolean)
|
159
|
+
], BillerChargeConfigurationResponseDTO.prototype, "floored", void 0);
|
160
|
+
__decorate([
|
161
|
+
(0, swagger_1.ApiProperty)({ description: "Charge cap value for the configuration." }),
|
162
|
+
__metadata("design:type", Number)
|
163
|
+
], BillerChargeConfigurationResponseDTO.prototype, "chargeCap", void 0);
|
164
|
+
__decorate([
|
165
|
+
(0, swagger_1.ApiProperty)({ description: "Charge floor value for the configuration." }),
|
166
|
+
__metadata("design:type", Number)
|
167
|
+
], BillerChargeConfigurationResponseDTO.prototype, "chargeFloor", void 0);
|
168
|
+
__decorate([
|
169
|
+
(0, swagger_1.ApiProperty)({ description: "Currency used in the charge configuration." }),
|
170
|
+
__metadata("design:type", String)
|
171
|
+
], BillerChargeConfigurationResponseDTO.prototype, "currency", void 0);
|
172
|
+
__decorate([
|
173
|
+
(0, swagger_1.ApiProperty)({ description: "Type of charge applied." }),
|
174
|
+
__metadata("design:type", String)
|
175
|
+
], BillerChargeConfigurationResponseDTO.prototype, "chargeType", void 0);
|
176
|
+
__decorate([
|
177
|
+
(0, swagger_1.ApiProperty)({ description: "Fixed amount for the charge configuration." }),
|
178
|
+
__metadata("design:type", Number)
|
179
|
+
], BillerChargeConfigurationResponseDTO.prototype, "fixedAmount", void 0);
|
180
|
+
__decorate([
|
181
|
+
(0, swagger_1.ApiProperty)({ description: "Percentage amount for the charge configuration." }),
|
182
|
+
__metadata("design:type", Number)
|
183
|
+
], BillerChargeConfigurationResponseDTO.prototype, "percentAmount", void 0);
|
184
|
+
__decorate([
|
185
|
+
(0, swagger_1.ApiProperty)({ description: "Timestamp when the configuration was created." }),
|
186
|
+
__metadata("design:type", Date)
|
187
|
+
], BillerChargeConfigurationResponseDTO.prototype, "createdAt", void 0);
|
188
|
+
__decorate([
|
189
|
+
(0, swagger_1.ApiProperty)({ description: "Timestamp when the configuration was last updated." }),
|
190
|
+
__metadata("design:type", Date)
|
191
|
+
], BillerChargeConfigurationResponseDTO.prototype, "updatedAt", void 0);
|
192
|
+
// Other classes can be updated in a similar manner. Let me know if you want all of them adjusted!
|
22
193
|
class SettlementAccountResponseDTO {
|
23
194
|
}
|
24
195
|
exports.SettlementAccountResponseDTO = SettlementAccountResponseDTO;
|
196
|
+
__decorate([
|
197
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the settlement account." }),
|
198
|
+
__metadata("design:type", String)
|
199
|
+
], SettlementAccountResponseDTO.prototype, "id", void 0);
|
200
|
+
__decorate([
|
201
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the associated biller." }),
|
202
|
+
__metadata("design:type", String)
|
203
|
+
], SettlementAccountResponseDTO.prototype, "billerId", void 0);
|
204
|
+
__decorate([
|
205
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the associated bank." }),
|
206
|
+
__metadata("design:type", String)
|
207
|
+
], SettlementAccountResponseDTO.prototype, "bankId", void 0);
|
208
|
+
__decorate([
|
209
|
+
(0, swagger_1.ApiProperty)({ description: "Indicates whether this is the default settlement account." }),
|
210
|
+
__metadata("design:type", Boolean)
|
211
|
+
], SettlementAccountResponseDTO.prototype, "default", void 0);
|
212
|
+
__decorate([
|
213
|
+
(0, swagger_1.ApiProperty)({ description: "Name of the settlement account." }),
|
214
|
+
__metadata("design:type", String)
|
215
|
+
], SettlementAccountResponseDTO.prototype, "accountName", void 0);
|
216
|
+
__decorate([
|
217
|
+
(0, swagger_1.ApiProperty)({ description: "Number of the settlement account." }),
|
218
|
+
__metadata("design:type", String)
|
219
|
+
], SettlementAccountResponseDTO.prototype, "accountNumber", void 0);
|
220
|
+
__decorate([
|
221
|
+
(0, swagger_1.ApiProperty)({ description: "Currency of the settlement account." }),
|
222
|
+
__metadata("design:type", String)
|
223
|
+
], SettlementAccountResponseDTO.prototype, "currency", void 0);
|
224
|
+
__decorate([
|
225
|
+
(0, swagger_1.ApiProperty)({ description: "Timestamp when the settlement account was created." }),
|
226
|
+
__metadata("design:type", Date)
|
227
|
+
], SettlementAccountResponseDTO.prototype, "createdAt", void 0);
|
228
|
+
__decorate([
|
229
|
+
(0, swagger_1.ApiProperty)({ description: "Timestamp when the settlement account was last updated." }),
|
230
|
+
__metadata("design:type", Date)
|
231
|
+
], SettlementAccountResponseDTO.prototype, "updatedAt", void 0);
|
25
232
|
class OnboardedAccountResponseDTO {
|
26
233
|
}
|
27
234
|
exports.OnboardedAccountResponseDTO = OnboardedAccountResponseDTO;
|
235
|
+
__decorate([
|
236
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the onboarded account." }),
|
237
|
+
__metadata("design:type", String)
|
238
|
+
], OnboardedAccountResponseDTO.prototype, "id", void 0);
|
239
|
+
__decorate([
|
240
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the associated settlement account." }),
|
241
|
+
__metadata("design:type", String)
|
242
|
+
], OnboardedAccountResponseDTO.prototype, "settlementAccountId", void 0);
|
243
|
+
__decorate([
|
244
|
+
(0, swagger_1.ApiProperty)({ description: "Vendor associated with the onboarded account." }),
|
245
|
+
__metadata("design:type", String)
|
246
|
+
], OnboardedAccountResponseDTO.prototype, "vendor", void 0);
|
247
|
+
__decorate([
|
248
|
+
(0, swagger_1.ApiProperty)({ description: "Timestamp when the onboarded account was created." }),
|
249
|
+
__metadata("design:type", Date)
|
250
|
+
], OnboardedAccountResponseDTO.prototype, "createdAt", void 0);
|
251
|
+
__decorate([
|
252
|
+
(0, swagger_1.ApiProperty)({ description: "Timestamp when the onboarded account was last updated." }),
|
253
|
+
__metadata("design:type", Date)
|
254
|
+
], OnboardedAccountResponseDTO.prototype, "updatedAt", void 0);
|
28
255
|
class BillerDocumentResponseDTO {
|
29
256
|
}
|
30
257
|
exports.BillerDocumentResponseDTO = BillerDocumentResponseDTO;
|
258
|
+
__decorate([
|
259
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the biller document." }),
|
260
|
+
__metadata("design:type", String)
|
261
|
+
], BillerDocumentResponseDTO.prototype, "id", void 0);
|
262
|
+
__decorate([
|
263
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the associated biller." }),
|
264
|
+
__metadata("design:type", String)
|
265
|
+
], BillerDocumentResponseDTO.prototype, "billerId", void 0);
|
266
|
+
__decorate([
|
267
|
+
(0, swagger_1.ApiProperty)({ description: "URL of the biller document." }),
|
268
|
+
__metadata("design:type", String)
|
269
|
+
], BillerDocumentResponseDTO.prototype, "url", void 0);
|
270
|
+
__decorate([
|
271
|
+
(0, swagger_1.ApiProperty)({ description: "Type of the biller document." }),
|
272
|
+
__metadata("design:type", String)
|
273
|
+
], BillerDocumentResponseDTO.prototype, "type", void 0);
|
31
274
|
class GoLiveRequestResponseDTO {
|
32
275
|
}
|
33
276
|
exports.GoLiveRequestResponseDTO = GoLiveRequestResponseDTO;
|
277
|
+
__decorate([
|
278
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the go-live request." }),
|
279
|
+
__metadata("design:type", String)
|
280
|
+
], GoLiveRequestResponseDTO.prototype, "id", void 0);
|
281
|
+
__decorate([
|
282
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the associated biller." }),
|
283
|
+
__metadata("design:type", String)
|
284
|
+
], GoLiveRequestResponseDTO.prototype, "billerId", void 0);
|
285
|
+
__decorate([
|
286
|
+
(0, swagger_1.ApiProperty)({ description: "Status of the go-live request." }),
|
287
|
+
__metadata("design:type", String)
|
288
|
+
], GoLiveRequestResponseDTO.prototype, "status", void 0);
|
289
|
+
__decorate([
|
290
|
+
(0, swagger_1.ApiProperty)({ description: "Timestamp when the go-live request was created." }),
|
291
|
+
__metadata("design:type", Date)
|
292
|
+
], GoLiveRequestResponseDTO.prototype, "createdAt", void 0);
|
293
|
+
__decorate([
|
294
|
+
(0, swagger_1.ApiProperty)({ description: "Timestamp when the go-live request was last updated." }),
|
295
|
+
__metadata("design:type", Date)
|
296
|
+
], GoLiveRequestResponseDTO.prototype, "updatedAt", void 0);
|
34
297
|
class BillerContactResponseDTO {
|
35
298
|
}
|
36
299
|
exports.BillerContactResponseDTO = BillerContactResponseDTO;
|
300
|
+
__decorate([
|
301
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the biller contact." }),
|
302
|
+
__metadata("design:type", String)
|
303
|
+
], BillerContactResponseDTO.prototype, "id", void 0);
|
304
|
+
__decorate([
|
305
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the associated biller." }),
|
306
|
+
__metadata("design:type", String)
|
307
|
+
], BillerContactResponseDTO.prototype, "billerId", void 0);
|
308
|
+
__decorate([
|
309
|
+
(0, swagger_1.ApiProperty)({ description: "Name of the biller contact." }),
|
310
|
+
__metadata("design:type", String)
|
311
|
+
], BillerContactResponseDTO.prototype, "contactName", void 0);
|
312
|
+
__decorate([
|
313
|
+
(0, swagger_1.ApiProperty)({ description: "Email address of the biller contact." }),
|
314
|
+
__metadata("design:type", String)
|
315
|
+
], BillerContactResponseDTO.prototype, "emailAddress", void 0);
|
316
|
+
__decorate([
|
317
|
+
(0, swagger_1.ApiProperty)({ description: "Phone number of the biller contact.", required: false }),
|
318
|
+
__metadata("design:type", String)
|
319
|
+
], BillerContactResponseDTO.prototype, "phoneNumber", void 0);
|
320
|
+
__decorate([
|
321
|
+
(0, swagger_1.ApiProperty)({ description: "Date of birth of the biller contact." }),
|
322
|
+
__metadata("design:type", Date)
|
323
|
+
], BillerContactResponseDTO.prototype, "dob", void 0);
|
324
|
+
__decorate([
|
325
|
+
(0, swagger_1.ApiProperty)({ description: "Address of the biller contact." }),
|
326
|
+
__metadata("design:type", String)
|
327
|
+
], BillerContactResponseDTO.prototype, "address", void 0);
|
328
|
+
__decorate([
|
329
|
+
(0, swagger_1.ApiProperty)({ description: "Country of the biller contact." }),
|
330
|
+
__metadata("design:type", String)
|
331
|
+
], BillerContactResponseDTO.prototype, "country", void 0);
|
332
|
+
__decorate([
|
333
|
+
(0, swagger_1.ApiProperty)({ description: "City of the biller contact." }),
|
334
|
+
__metadata("design:type", String)
|
335
|
+
], BillerContactResponseDTO.prototype, "city", void 0);
|
336
|
+
__decorate([
|
337
|
+
(0, swagger_1.ApiProperty)({ description: "State of the biller contact." }),
|
338
|
+
__metadata("design:type", String)
|
339
|
+
], BillerContactResponseDTO.prototype, "state", void 0);
|
340
|
+
__decorate([
|
341
|
+
(0, swagger_1.ApiProperty)({ description: "Timestamp when the biller contact was created." }),
|
342
|
+
__metadata("design:type", Date)
|
343
|
+
], BillerContactResponseDTO.prototype, "createdAt", void 0);
|
344
|
+
__decorate([
|
345
|
+
(0, swagger_1.ApiProperty)({ description: "Timestamp when the biller contact was last updated." }),
|
346
|
+
__metadata("design:type", Date)
|
347
|
+
], BillerContactResponseDTO.prototype, "updatedAt", void 0);
|
37
348
|
class CustomerResponseDTO {
|
38
349
|
}
|
39
350
|
exports.CustomerResponseDTO = CustomerResponseDTO;
|
351
|
+
__decorate([
|
352
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the customer." }),
|
353
|
+
__metadata("design:type", String)
|
354
|
+
], CustomerResponseDTO.prototype, "id", void 0);
|
355
|
+
__decorate([
|
356
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the associated biller." }),
|
357
|
+
__metadata("design:type", String)
|
358
|
+
], CustomerResponseDTO.prototype, "billerId", void 0);
|
359
|
+
__decorate([
|
360
|
+
(0, swagger_1.ApiProperty)({ description: "Name of the customer." }),
|
361
|
+
__metadata("design:type", String)
|
362
|
+
], CustomerResponseDTO.prototype, "name", void 0);
|
363
|
+
__decorate([
|
364
|
+
(0, swagger_1.ApiProperty)({ description: "Email address of the customer.", required: false }),
|
365
|
+
__metadata("design:type", String)
|
366
|
+
], CustomerResponseDTO.prototype, "emailAddress", void 0);
|
367
|
+
__decorate([
|
368
|
+
(0, swagger_1.ApiProperty)({ description: "Phone number of the customer.", required: false }),
|
369
|
+
__metadata("design:type", String)
|
370
|
+
], CustomerResponseDTO.prototype, "phoneNumber", void 0);
|
371
|
+
__decorate([
|
372
|
+
(0, swagger_1.ApiProperty)({ description: "Timestamp when the customer was created." }),
|
373
|
+
__metadata("design:type", Date)
|
374
|
+
], CustomerResponseDTO.prototype, "createdAt", void 0);
|
375
|
+
__decorate([
|
376
|
+
(0, swagger_1.ApiProperty)({ description: "Timestamp when the customer was last updated." }),
|
377
|
+
__metadata("design:type", Date)
|
378
|
+
], CustomerResponseDTO.prototype, "updatedAt", void 0);
|
40
379
|
class BillerItemCategoryResponseDTO {
|
41
380
|
}
|
42
381
|
exports.BillerItemCategoryResponseDTO = BillerItemCategoryResponseDTO;
|
382
|
+
__decorate([
|
383
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the biller item category." }),
|
384
|
+
__metadata("design:type", String)
|
385
|
+
], BillerItemCategoryResponseDTO.prototype, "id", void 0);
|
386
|
+
__decorate([
|
387
|
+
(0, swagger_1.ApiProperty)({ description: "Name of the biller item category." }),
|
388
|
+
__metadata("design:type", String)
|
389
|
+
], BillerItemCategoryResponseDTO.prototype, "name", void 0);
|
390
|
+
__decorate([
|
391
|
+
(0, swagger_1.ApiProperty)({ description: "Description of the biller item category.", required: false }),
|
392
|
+
__metadata("design:type", String)
|
393
|
+
], BillerItemCategoryResponseDTO.prototype, "description", void 0);
|
43
394
|
class BillerItemResponseDTO {
|
44
395
|
}
|
45
396
|
exports.BillerItemResponseDTO = BillerItemResponseDTO;
|
397
|
+
__decorate([
|
398
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the biller item." }),
|
399
|
+
__metadata("design:type", String)
|
400
|
+
], BillerItemResponseDTO.prototype, "id", void 0);
|
401
|
+
__decorate([
|
402
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the associated biller." }),
|
403
|
+
__metadata("design:type", String)
|
404
|
+
], BillerItemResponseDTO.prototype, "billerId", void 0);
|
405
|
+
__decorate([
|
406
|
+
(0, swagger_1.ApiProperty)({ description: "Name of the biller item." }),
|
407
|
+
__metadata("design:type", String)
|
408
|
+
], BillerItemResponseDTO.prototype, "name", void 0);
|
409
|
+
__decorate([
|
410
|
+
(0, swagger_1.ApiProperty)({ description: "Amount associated with the biller item." }),
|
411
|
+
__metadata("design:type", Number)
|
412
|
+
], BillerItemResponseDTO.prototype, "amount", void 0);
|
413
|
+
__decorate([
|
414
|
+
(0, swagger_1.ApiProperty)({ description: "Source of the biller item.", required: false }),
|
415
|
+
__metadata("design:type", String)
|
416
|
+
], BillerItemResponseDTO.prototype, "source", void 0);
|
417
|
+
__decorate([
|
418
|
+
(0, swagger_1.ApiProperty)({ description: "Customer identifier name for the biller item.", required: false }),
|
419
|
+
__metadata("design:type", String)
|
420
|
+
], BillerItemResponseDTO.prototype, "customerIdentifierName", void 0);
|
421
|
+
__decorate([
|
422
|
+
(0, swagger_1.ApiProperty)({ description: "Service fee for the biller item." }),
|
423
|
+
__metadata("design:type", Number)
|
424
|
+
], BillerItemResponseDTO.prototype, "serviceFee", void 0);
|
425
|
+
__decorate([
|
426
|
+
(0, swagger_1.ApiProperty)({ description: "Currency for the biller item." }),
|
427
|
+
__metadata("design:type", String)
|
428
|
+
], BillerItemResponseDTO.prototype, "currency", void 0);
|
429
|
+
__decorate([
|
430
|
+
(0, swagger_1.ApiProperty)({ description: "Description of the biller item.", required: false }),
|
431
|
+
__metadata("design:type", String)
|
432
|
+
], BillerItemResponseDTO.prototype, "description", void 0);
|
433
|
+
__decorate([
|
434
|
+
(0, swagger_1.ApiProperty)({ description: "Indicates whether the biller item is external." }),
|
435
|
+
__metadata("design:type", Boolean)
|
436
|
+
], BillerItemResponseDTO.prototype, "external", void 0);
|
437
|
+
__decorate([
|
438
|
+
(0, swagger_1.ApiProperty)({ description: "Timestamp when the biller item was created." }),
|
439
|
+
__metadata("design:type", Date)
|
440
|
+
], BillerItemResponseDTO.prototype, "createdAt", void 0);
|
441
|
+
__decorate([
|
442
|
+
(0, swagger_1.ApiProperty)({ description: "Timestamp when the biller item was last updated." }),
|
443
|
+
__metadata("design:type", Date)
|
444
|
+
], BillerItemResponseDTO.prototype, "updatedAt", void 0);
|
46
445
|
class InvoiceResponseDTO {
|
47
446
|
}
|
48
447
|
exports.InvoiceResponseDTO = InvoiceResponseDTO;
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
// @ApiProperty()
|
86
|
-
// categoryId: string;
|
87
|
-
// @ApiProperty()
|
88
|
-
// name: string;
|
89
|
-
// @ApiProperty()
|
90
|
-
// live: boolean;
|
91
|
-
// @ApiProperty()
|
92
|
-
// active: boolean;
|
93
|
-
// @ApiProperty({ required: false })
|
94
|
-
// slug?: string;
|
95
|
-
// @ApiProperty({ required: false })
|
96
|
-
// billerCode?: string;
|
97
|
-
// @ApiProperty()
|
98
|
-
// createdAt: Date;
|
99
|
-
// @ApiProperty()
|
100
|
-
// updatedAt: Date;
|
101
|
-
// @ApiProperty()
|
102
|
-
// category: BillerCategoryResponseDTO;
|
103
|
-
// @ApiProperty()
|
104
|
-
// settlementAccounts: SettlementAccountResponseDTO[];
|
105
|
-
// @ApiProperty({ required: false })
|
106
|
-
// profile?: BillerProfileResponseDTO;
|
107
|
-
// @ApiProperty()
|
108
|
-
// chargeConfigurations: BillerChargeConfigurationResponseDTO[];
|
109
|
-
// @ApiProperty({ required: false })
|
110
|
-
// goLiveRequest?: GoLiveRequestResponseDTO;
|
111
|
-
// @ApiProperty()
|
112
|
-
// documents: BillerDocumentResponseDTO[];
|
113
|
-
// @ApiProperty({ required: false })
|
114
|
-
// contact?: BillerContactResponseDTO;
|
115
|
-
// @ApiProperty()
|
116
|
-
// customers: CustomerResponseDTO[];
|
117
|
-
// @ApiProperty()
|
118
|
-
// items: BillerItemResponseDTO[];
|
119
|
-
// @ApiProperty()
|
120
|
-
// invoices: InvoiceResponseDTO[];
|
121
|
-
// }
|
122
|
-
// export class BillerProfileResponseDTO {
|
123
|
-
// @ApiProperty()
|
124
|
-
// id: string;
|
125
|
-
// @ApiProperty({ required: false })
|
126
|
-
// name?: string;
|
127
|
-
// @ApiProperty()
|
128
|
-
// billerId: string;
|
129
|
-
// @ApiProperty()
|
130
|
-
// hasTransactionLimit: boolean;
|
131
|
-
// @ApiProperty()
|
132
|
-
// transactionLimit: number;
|
133
|
-
// @ApiProperty()
|
134
|
-
// delimiter: string;
|
135
|
-
// @ApiProperty()
|
136
|
-
// createdAt: Date;
|
137
|
-
// @ApiProperty()
|
138
|
-
// updatedAt: Date;
|
139
|
-
// @ApiProperty()
|
140
|
-
// biller: BillerResponseDTO;
|
141
|
-
// }
|
142
|
-
// export class BillerChargeConfigurationResponseDTO {
|
143
|
-
// @ApiProperty()
|
144
|
-
// id: string;
|
145
|
-
// @ApiProperty()
|
146
|
-
// serviceId: string;
|
147
|
-
// @ApiProperty()
|
148
|
-
// active: boolean;
|
149
|
-
// @ApiProperty()
|
150
|
-
// capped: boolean;
|
151
|
-
// @ApiProperty()
|
152
|
-
// floored: boolean;
|
153
|
-
// @ApiProperty()
|
154
|
-
// chargeCap: number;
|
155
|
-
// @ApiProperty()
|
156
|
-
// chargeFloor: number;
|
157
|
-
// @ApiProperty()
|
158
|
-
// currency: string;
|
159
|
-
// @ApiProperty()
|
160
|
-
// chargeType: string;
|
161
|
-
// @ApiProperty()
|
162
|
-
// fixedAmount: number;
|
163
|
-
// @ApiProperty()
|
164
|
-
// percentAmount: number;
|
165
|
-
// @ApiProperty()
|
166
|
-
// createdAt: Date;
|
167
|
-
// @ApiProperty()
|
168
|
-
// updatedAt: Date;
|
169
|
-
// @ApiProperty({ required: false })
|
170
|
-
// biller?: BillerResponseDTO[];
|
171
|
-
// @ApiProperty()
|
172
|
-
// service: ServiceResponseDTO;
|
173
|
-
// }
|
174
|
-
// export class SettlementAccountResponseDTO {
|
175
|
-
// @ApiProperty()
|
176
|
-
// id: string;
|
177
|
-
// @ApiProperty()
|
178
|
-
// billerId: string;
|
179
|
-
// @ApiProperty()
|
180
|
-
// bankId: string;
|
181
|
-
// @ApiProperty()
|
182
|
-
// default: boolean;
|
183
|
-
// @ApiProperty()
|
184
|
-
// accountName: string;
|
185
|
-
// @ApiProperty()
|
186
|
-
// accountNumber: string;
|
187
|
-
// @ApiProperty()
|
188
|
-
// currency: string;
|
189
|
-
// @ApiProperty()
|
190
|
-
// createdAt: Date;
|
191
|
-
// @ApiProperty()
|
192
|
-
// updatedAt: Date;
|
193
|
-
// @ApiProperty()
|
194
|
-
// biller: BillerResponseDTO;
|
195
|
-
// @ApiProperty()
|
196
|
-
// bank: BankResponseDTO;
|
197
|
-
// @ApiProperty({ required: false })
|
198
|
-
// onboardedAccount?: OnboardedAccountResponseDTO;
|
199
|
-
// }
|
200
|
-
// export class OnboardedAccountResponseDTO {
|
201
|
-
// @ApiProperty()
|
202
|
-
// id: string;
|
203
|
-
// @ApiProperty()
|
204
|
-
// settlementAccountId: string;
|
205
|
-
// @ApiProperty()
|
206
|
-
// vendor: string;
|
207
|
-
// @ApiProperty()
|
208
|
-
// createdAt: Date;
|
209
|
-
// @ApiProperty()
|
210
|
-
// updatedAt: Date;
|
211
|
-
// @ApiProperty()
|
212
|
-
// settlementAccount: SettlementAccountResponseDTO;
|
213
|
-
// }
|
214
|
-
// export class BillerDocumentResponseDTO {
|
215
|
-
// @ApiProperty()
|
216
|
-
// id: string;
|
217
|
-
// @ApiProperty()
|
218
|
-
// billerId: string;
|
219
|
-
// @ApiProperty()
|
220
|
-
// url: string;
|
221
|
-
// @ApiProperty()
|
222
|
-
// type: string;
|
223
|
-
// @ApiProperty()
|
224
|
-
// biller: BillerResponseDTO;
|
225
|
-
// }
|
226
|
-
// export class GoLiveRequestResponseDTO {
|
227
|
-
// @ApiProperty()
|
228
|
-
// id: string;
|
229
|
-
// @ApiProperty()
|
230
|
-
// billerId: string;
|
231
|
-
// @ApiProperty()
|
232
|
-
// status: string;
|
233
|
-
// @ApiProperty()
|
234
|
-
// createdAt: Date;
|
235
|
-
// @ApiProperty()
|
236
|
-
// updatedAt: Date;
|
237
|
-
// @ApiProperty()
|
238
|
-
// biller: BillerResponseDTO;
|
239
|
-
// }
|
240
|
-
// export class BillerContactResponseDTO {
|
241
|
-
// @ApiProperty()
|
242
|
-
// id: string;
|
243
|
-
// @ApiProperty()
|
244
|
-
// billerId: string;
|
245
|
-
// @ApiProperty()
|
246
|
-
// contactName: string;
|
247
|
-
// @ApiProperty()
|
248
|
-
// emailAddress: string;
|
249
|
-
// @ApiProperty({ required: false })
|
250
|
-
// phoneNumber?: string;
|
251
|
-
// @ApiProperty()
|
252
|
-
// dob: Date;
|
253
|
-
// @ApiProperty()
|
254
|
-
// address: string;
|
255
|
-
// @ApiProperty()
|
256
|
-
// country: string;
|
257
|
-
// @ApiProperty()
|
258
|
-
// city: string;
|
259
|
-
// @ApiProperty()
|
260
|
-
// state: string;
|
261
|
-
// @ApiProperty()
|
262
|
-
// createdAt: Date;
|
263
|
-
// @ApiProperty()
|
264
|
-
// updatedAt: Date;
|
265
|
-
// @ApiProperty()
|
266
|
-
// biller: BillerResponseDTO;
|
267
|
-
// }
|
268
|
-
// export class CustomerResponseDTO {
|
269
|
-
// @ApiProperty()
|
270
|
-
// id: string;
|
271
|
-
// @ApiProperty()
|
272
|
-
// billerId: string;
|
273
|
-
// @ApiProperty()
|
274
|
-
// name: string;
|
275
|
-
// @ApiProperty({ required: false })
|
276
|
-
// emailAddress?: string;
|
277
|
-
// @ApiProperty({ required: false })
|
278
|
-
// phoneNumber?: string;
|
279
|
-
// @ApiProperty()
|
280
|
-
// createdAt: Date;
|
281
|
-
// @ApiProperty()
|
282
|
-
// updatedAt: Date;
|
283
|
-
// @ApiProperty()
|
284
|
-
// biller: BillerResponseDTO;
|
285
|
-
// @ApiProperty()
|
286
|
-
// invoices: InvoiceResponseDTO[];
|
287
|
-
// }
|
288
|
-
// export class BillerItemResponseDTO {
|
289
|
-
// @ApiProperty()
|
290
|
-
// id: string;
|
291
|
-
// @ApiProperty()
|
292
|
-
// billerId: string;
|
293
|
-
// @ApiProperty()
|
294
|
-
// amount: number;
|
295
|
-
// @ApiProperty({ required: false })
|
296
|
-
// source?: string;
|
297
|
-
// @ApiProperty({ required: false })
|
298
|
-
// customerIdentifierName?: string;
|
299
|
-
// @ApiProperty()
|
300
|
-
// serviceFee: number;
|
301
|
-
// @ApiProperty()
|
302
|
-
// currency: string;
|
303
|
-
// @ApiProperty({ required: false })
|
304
|
-
// description?: string;
|
305
|
-
// @ApiProperty()
|
306
|
-
// external: boolean;
|
307
|
-
// @ApiProperty()
|
308
|
-
// createdAt: Date;
|
309
|
-
// @ApiProperty()
|
310
|
-
// updatedAt: Date;
|
311
|
-
// @ApiProperty()
|
312
|
-
// biller: BillerResponseDTO;
|
313
|
-
// @ApiProperty()
|
314
|
-
// invoices: InvoiceResponseDTO[];
|
315
|
-
// }
|
316
|
-
// export class InvoiceResponseDTO {
|
317
|
-
// @ApiProperty()
|
318
|
-
// id: string;
|
319
|
-
// @ApiProperty()
|
320
|
-
// billerId: string;
|
321
|
-
// @ApiProperty()
|
322
|
-
// customerId: string;
|
323
|
-
// @ApiProperty()
|
324
|
-
// discountValue: number;
|
325
|
-
// @ApiProperty()
|
326
|
-
// discountType: string;
|
327
|
-
// @ApiProperty()
|
328
|
-
// dueDate: Date;
|
329
|
-
// @ApiProperty()
|
330
|
-
// status: string;
|
331
|
-
// @ApiProperty()
|
332
|
-
// createdAt: Date;
|
333
|
-
// @ApiProperty()
|
334
|
-
// updatedAt: Date;
|
335
|
-
// @ApiProperty()
|
336
|
-
// billerItems: BillerItemResponseDTO[];
|
337
|
-
// @ApiProperty()
|
338
|
-
// biller: BillerResponseDTO;
|
339
|
-
// @ApiProperty()
|
340
|
-
// customer: CustomerResponseDTO;
|
341
|
-
// }
|
448
|
+
__decorate([
|
449
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the invoice." }),
|
450
|
+
__metadata("design:type", String)
|
451
|
+
], InvoiceResponseDTO.prototype, "id", void 0);
|
452
|
+
__decorate([
|
453
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the associated biller." }),
|
454
|
+
__metadata("design:type", String)
|
455
|
+
], InvoiceResponseDTO.prototype, "billerId", void 0);
|
456
|
+
__decorate([
|
457
|
+
(0, swagger_1.ApiProperty)({ description: "Unique identifier for the associated customer." }),
|
458
|
+
__metadata("design:type", String)
|
459
|
+
], InvoiceResponseDTO.prototype, "customerId", void 0);
|
460
|
+
__decorate([
|
461
|
+
(0, swagger_1.ApiProperty)({ description: "Discount value applied to the invoice." }),
|
462
|
+
__metadata("design:type", Number)
|
463
|
+
], InvoiceResponseDTO.prototype, "discountValue", void 0);
|
464
|
+
__decorate([
|
465
|
+
(0, swagger_1.ApiProperty)({ description: "Type of discount applied to the invoice." }),
|
466
|
+
__metadata("design:type", String)
|
467
|
+
], InvoiceResponseDTO.prototype, "discountType", void 0);
|
468
|
+
__decorate([
|
469
|
+
(0, swagger_1.ApiProperty)({ description: "Due date for the invoice." }),
|
470
|
+
__metadata("design:type", Date)
|
471
|
+
], InvoiceResponseDTO.prototype, "dueDate", void 0);
|
472
|
+
__decorate([
|
473
|
+
(0, swagger_1.ApiProperty)({ description: "Status of the invoice." }),
|
474
|
+
__metadata("design:type", String)
|
475
|
+
], InvoiceResponseDTO.prototype, "status", void 0);
|
476
|
+
__decorate([
|
477
|
+
(0, swagger_1.ApiProperty)({ description: "Timestamp when the invoice was created." }),
|
478
|
+
__metadata("design:type", Date)
|
479
|
+
], InvoiceResponseDTO.prototype, "createdAt", void 0);
|
480
|
+
__decorate([
|
481
|
+
(0, swagger_1.ApiProperty)({ description: "Timestamp when the invoice was last updated." }),
|
482
|
+
__metadata("design:type", Date)
|
483
|
+
], InvoiceResponseDTO.prototype, "updatedAt", void 0);
|