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