resurgence-data 1.0.25 → 1.0.26

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,743 +1,338 @@
1
1
  "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InvoiceResponseDTO = exports.BillerItemResponseDTO = 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;
4
+ class BillerCategoryResponseDTO {
5
+ }
6
+ exports.BillerCategoryResponseDTO = BillerCategoryResponseDTO;
7
+ class ServiceResponseDTO {
8
+ }
9
+ exports.ServiceResponseDTO = ServiceResponseDTO;
10
+ class BankResponseDTO {
11
+ }
12
+ exports.BankResponseDTO = BankResponseDTO;
13
+ class BillerResponseDTO {
14
+ }
15
+ exports.BillerResponseDTO = BillerResponseDTO;
16
+ class BillerProfileResponseDTO {
17
+ }
18
+ exports.BillerProfileResponseDTO = BillerProfileResponseDTO;
19
+ class BillerChargeConfigurationResponseDTO {
20
+ }
21
+ exports.BillerChargeConfigurationResponseDTO = BillerChargeConfigurationResponseDTO;
22
+ class SettlementAccountResponseDTO {
23
+ }
24
+ exports.SettlementAccountResponseDTO = SettlementAccountResponseDTO;
25
+ class OnboardedAccountResponseDTO {
26
+ }
27
+ exports.OnboardedAccountResponseDTO = OnboardedAccountResponseDTO;
28
+ class BillerDocumentResponseDTO {
29
+ }
30
+ exports.BillerDocumentResponseDTO = BillerDocumentResponseDTO;
31
+ class GoLiveRequestResponseDTO {
32
+ }
33
+ exports.GoLiveRequestResponseDTO = GoLiveRequestResponseDTO;
34
+ class BillerContactResponseDTO {
35
+ }
36
+ exports.BillerContactResponseDTO = BillerContactResponseDTO;
37
+ class CustomerResponseDTO {
38
+ }
39
+ exports.CustomerResponseDTO = CustomerResponseDTO;
40
+ class BillerItemResponseDTO {
41
+ }
42
+ exports.BillerItemResponseDTO = BillerItemResponseDTO;
43
+ class InvoiceResponseDTO {
44
+ }
45
+ exports.InvoiceResponseDTO = InvoiceResponseDTO;
46
+ // import { ApiProperty } from "@nestjs/swagger";
2
47
  // export class BillerCategoryResponseDTO {
48
+ // @ApiProperty()
3
49
  // id: string;
50
+ // @ApiProperty()
4
51
  // name: string;
52
+ // @ApiProperty({ required: false })
5
53
  // description?: string;
54
+ // @ApiProperty()
6
55
  // billers?: BillerResponseDTO[];
7
56
  // }
8
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
9
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
10
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
11
- 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;
12
- return c > 3 && r && Object.defineProperty(target, key, r), r;
13
- };
14
- var __metadata = (this && this.__metadata) || function (k, v) {
15
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
16
- };
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.InvoiceResponseDTO = exports.BillerItemResponseDTO = 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;
19
57
  // export class ServiceResponseDTO {
58
+ // @ApiProperty()
20
59
  // id: string;
60
+ // @ApiProperty()
21
61
  // name: string;
62
+ // @ApiProperty()
22
63
  // chargeConfigurations?: BillerChargeConfigurationResponseDTO[];
23
64
  // }
24
65
  // export class BankResponseDTO {
66
+ // @ApiProperty()
25
67
  // id: string;
68
+ // @ApiProperty()
26
69
  // name: string;
70
+ // @ApiProperty()
27
71
  // slug: string;
72
+ // @ApiProperty()
28
73
  // code: string;
74
+ // @ApiProperty()
29
75
  // longCode: string;
76
+ // @ApiProperty()
30
77
  // settlementAccounts?: SettlementAccountResponseDTO[];
31
78
  // }
32
79
  // export class BillerResponseDTO {
80
+ // @ApiProperty()
33
81
  // id: string;
82
+ // @ApiProperty()
34
83
  // categoryId: string;
84
+ // @ApiProperty()
35
85
  // name: string;
86
+ // @ApiProperty()
36
87
  // live: boolean;
88
+ // @ApiProperty()
37
89
  // active: boolean;
90
+ // @ApiProperty({ required: false })
38
91
  // slug?: string;
92
+ // @ApiProperty({ required: false })
39
93
  // billerCode?: string;
94
+ // @ApiProperty()
40
95
  // createdAt: Date;
96
+ // @ApiProperty()
41
97
  // updatedAt: Date;
98
+ // @ApiProperty()
42
99
  // category: BillerCategoryResponseDTO;
100
+ // @ApiProperty()
43
101
  // settlementAccounts: SettlementAccountResponseDTO[];
102
+ // @ApiProperty({ required: false })
44
103
  // profile?: BillerProfileResponseDTO;
104
+ // @ApiProperty()
45
105
  // chargeConfigurations: BillerChargeConfigurationResponseDTO[];
106
+ // @ApiProperty({ required: false })
46
107
  // goLiveRequest?: GoLiveRequestResponseDTO;
108
+ // @ApiProperty()
47
109
  // documents: BillerDocumentResponseDTO[];
110
+ // @ApiProperty({ required: false })
48
111
  // contact?: BillerContactResponseDTO;
112
+ // @ApiProperty()
49
113
  // customers: CustomerResponseDTO[];
114
+ // @ApiProperty()
50
115
  // items: BillerItemResponseDTO[];
116
+ // @ApiProperty()
51
117
  // invoices: InvoiceResponseDTO[];
52
118
  // }
53
119
  // export class BillerProfileResponseDTO {
120
+ // @ApiProperty()
54
121
  // id: string;
122
+ // @ApiProperty({ required: false })
55
123
  // name?: string;
124
+ // @ApiProperty()
56
125
  // billerId: string;
126
+ // @ApiProperty()
57
127
  // hasTransactionLimit: boolean;
128
+ // @ApiProperty()
58
129
  // transactionLimit: number;
59
- // delimiter: string; // TIME_DELIMITER
130
+ // @ApiProperty()
131
+ // delimiter: string;
132
+ // @ApiProperty()
60
133
  // createdAt: Date;
134
+ // @ApiProperty()
61
135
  // updatedAt: Date;
136
+ // @ApiProperty()
62
137
  // biller: BillerResponseDTO;
63
138
  // }
64
139
  // export class BillerChargeConfigurationResponseDTO {
140
+ // @ApiProperty()
65
141
  // id: string;
142
+ // @ApiProperty()
66
143
  // serviceId: string;
144
+ // @ApiProperty()
67
145
  // active: boolean;
146
+ // @ApiProperty()
68
147
  // capped: boolean;
148
+ // @ApiProperty()
69
149
  // floored: boolean;
150
+ // @ApiProperty()
70
151
  // chargeCap: number;
152
+ // @ApiProperty()
71
153
  // chargeFloor: number;
154
+ // @ApiProperty()
72
155
  // currency: string;
73
- // chargeType: string; // CHARGE_TYPE
156
+ // @ApiProperty()
157
+ // chargeType: string;
158
+ // @ApiProperty()
74
159
  // fixedAmount: number;
160
+ // @ApiProperty()
75
161
  // percentAmount: number;
162
+ // @ApiProperty()
76
163
  // createdAt: Date;
164
+ // @ApiProperty()
77
165
  // updatedAt: Date;
166
+ // @ApiProperty({ required: false })
78
167
  // biller?: BillerResponseDTO[];
168
+ // @ApiProperty()
79
169
  // service: ServiceResponseDTO;
80
170
  // }
81
171
  // export class SettlementAccountResponseDTO {
172
+ // @ApiProperty()
82
173
  // id: string;
174
+ // @ApiProperty()
83
175
  // billerId: string;
176
+ // @ApiProperty()
84
177
  // bankId: string;
178
+ // @ApiProperty()
85
179
  // default: boolean;
180
+ // @ApiProperty()
86
181
  // accountName: string;
182
+ // @ApiProperty()
87
183
  // accountNumber: string;
184
+ // @ApiProperty()
88
185
  // currency: string;
186
+ // @ApiProperty()
89
187
  // createdAt: Date;
188
+ // @ApiProperty()
90
189
  // updatedAt: Date;
190
+ // @ApiProperty()
91
191
  // biller: BillerResponseDTO;
192
+ // @ApiProperty()
92
193
  // bank: BankResponseDTO;
194
+ // @ApiProperty({ required: false })
93
195
  // onboardedAccount?: OnboardedAccountResponseDTO;
94
196
  // }
95
197
  // export class OnboardedAccountResponseDTO {
198
+ // @ApiProperty()
96
199
  // id: string;
200
+ // @ApiProperty()
97
201
  // settlementAccountId: string;
202
+ // @ApiProperty()
98
203
  // vendor: string;
204
+ // @ApiProperty()
99
205
  // createdAt: Date;
206
+ // @ApiProperty()
100
207
  // updatedAt: Date;
208
+ // @ApiProperty()
101
209
  // settlementAccount: SettlementAccountResponseDTO;
102
210
  // }
103
211
  // export class BillerDocumentResponseDTO {
212
+ // @ApiProperty()
104
213
  // id: string;
214
+ // @ApiProperty()
105
215
  // billerId: string;
216
+ // @ApiProperty()
106
217
  // url: string;
107
- // type: string; // DOCUMENT_TYPE
218
+ // @ApiProperty()
219
+ // type: string;
220
+ // @ApiProperty()
108
221
  // biller: BillerResponseDTO;
109
222
  // }
110
223
  // export class GoLiveRequestResponseDTO {
224
+ // @ApiProperty()
111
225
  // id: string;
226
+ // @ApiProperty()
112
227
  // billerId: string;
113
- // status: string; // REQUEST_STATUS
228
+ // @ApiProperty()
229
+ // status: string;
230
+ // @ApiProperty()
114
231
  // createdAt: Date;
232
+ // @ApiProperty()
115
233
  // updatedAt: Date;
234
+ // @ApiProperty()
116
235
  // biller: BillerResponseDTO;
117
236
  // }
118
237
  // export class BillerContactResponseDTO {
238
+ // @ApiProperty()
119
239
  // id: string;
240
+ // @ApiProperty()
120
241
  // billerId: string;
242
+ // @ApiProperty()
121
243
  // contactName: string;
244
+ // @ApiProperty()
122
245
  // emailAddress: string;
246
+ // @ApiProperty({ required: false })
123
247
  // phoneNumber?: string;
248
+ // @ApiProperty()
124
249
  // dob: Date;
250
+ // @ApiProperty()
125
251
  // address: string;
252
+ // @ApiProperty()
126
253
  // country: string;
254
+ // @ApiProperty()
127
255
  // city: string;
256
+ // @ApiProperty()
128
257
  // state: string;
258
+ // @ApiProperty()
129
259
  // createdAt: Date;
260
+ // @ApiProperty()
130
261
  // updatedAt: Date;
262
+ // @ApiProperty()
131
263
  // biller: BillerResponseDTO;
132
264
  // }
133
265
  // export class CustomerResponseDTO {
266
+ // @ApiProperty()
134
267
  // id: string;
268
+ // @ApiProperty()
135
269
  // billerId: string;
270
+ // @ApiProperty()
136
271
  // name: string;
272
+ // @ApiProperty({ required: false })
137
273
  // emailAddress?: string;
274
+ // @ApiProperty({ required: false })
138
275
  // phoneNumber?: string;
276
+ // @ApiProperty()
139
277
  // createdAt: Date;
278
+ // @ApiProperty()
140
279
  // updatedAt: Date;
280
+ // @ApiProperty()
141
281
  // biller: BillerResponseDTO;
282
+ // @ApiProperty()
142
283
  // invoices: InvoiceResponseDTO[];
143
284
  // }
144
285
  // export class BillerItemResponseDTO {
286
+ // @ApiProperty()
145
287
  // id: string;
288
+ // @ApiProperty()
146
289
  // billerId: string;
290
+ // @ApiProperty()
147
291
  // amount: number;
292
+ // @ApiProperty({ required: false })
148
293
  // source?: string;
294
+ // @ApiProperty({ required: false })
149
295
  // customerIdentifierName?: string;
296
+ // @ApiProperty()
150
297
  // serviceFee: number;
298
+ // @ApiProperty()
151
299
  // currency: string;
300
+ // @ApiProperty({ required: false })
152
301
  // description?: string;
302
+ // @ApiProperty()
153
303
  // external: boolean;
304
+ // @ApiProperty()
154
305
  // createdAt: Date;
306
+ // @ApiProperty()
155
307
  // updatedAt: Date;
308
+ // @ApiProperty()
156
309
  // biller: BillerResponseDTO;
310
+ // @ApiProperty()
157
311
  // invoices: InvoiceResponseDTO[];
158
312
  // }
159
313
  // export class InvoiceResponseDTO {
314
+ // @ApiProperty()
160
315
  // id: string;
316
+ // @ApiProperty()
161
317
  // billerId: string;
318
+ // @ApiProperty()
162
319
  // customerId: string;
320
+ // @ApiProperty()
163
321
  // discountValue: number;
164
- // discountType: string; // DISCOUNT_TYPE
322
+ // @ApiProperty()
323
+ // discountType: string;
324
+ // @ApiProperty()
165
325
  // dueDate: Date;
166
- // status: string; // INVOICE_STATUS
326
+ // @ApiProperty()
327
+ // status: string;
328
+ // @ApiProperty()
167
329
  // createdAt: Date;
330
+ // @ApiProperty()
168
331
  // updatedAt: Date;
332
+ // @ApiProperty()
169
333
  // billerItems: BillerItemResponseDTO[];
334
+ // @ApiProperty()
170
335
  // biller: BillerResponseDTO;
336
+ // @ApiProperty()
171
337
  // customer: CustomerResponseDTO;
172
338
  // }
173
- const swagger_1 = require("@nestjs/swagger");
174
- class BillerCategoryResponseDTO {
175
- }
176
- exports.BillerCategoryResponseDTO = BillerCategoryResponseDTO;
177
- __decorate([
178
- (0, swagger_1.ApiProperty)(),
179
- __metadata("design:type", String)
180
- ], BillerCategoryResponseDTO.prototype, "id", void 0);
181
- __decorate([
182
- (0, swagger_1.ApiProperty)(),
183
- __metadata("design:type", String)
184
- ], BillerCategoryResponseDTO.prototype, "name", void 0);
185
- __decorate([
186
- (0, swagger_1.ApiProperty)({ required: false }),
187
- __metadata("design:type", String)
188
- ], BillerCategoryResponseDTO.prototype, "description", void 0);
189
- __decorate([
190
- (0, swagger_1.ApiProperty)(),
191
- __metadata("design:type", Array)
192
- ], BillerCategoryResponseDTO.prototype, "billers", void 0);
193
- class ServiceResponseDTO {
194
- }
195
- exports.ServiceResponseDTO = ServiceResponseDTO;
196
- __decorate([
197
- (0, swagger_1.ApiProperty)(),
198
- __metadata("design:type", String)
199
- ], ServiceResponseDTO.prototype, "id", void 0);
200
- __decorate([
201
- (0, swagger_1.ApiProperty)(),
202
- __metadata("design:type", String)
203
- ], ServiceResponseDTO.prototype, "name", void 0);
204
- __decorate([
205
- (0, swagger_1.ApiProperty)(),
206
- __metadata("design:type", Array)
207
- ], ServiceResponseDTO.prototype, "chargeConfigurations", void 0);
208
- class BankResponseDTO {
209
- }
210
- exports.BankResponseDTO = BankResponseDTO;
211
- __decorate([
212
- (0, swagger_1.ApiProperty)(),
213
- __metadata("design:type", String)
214
- ], BankResponseDTO.prototype, "id", void 0);
215
- __decorate([
216
- (0, swagger_1.ApiProperty)(),
217
- __metadata("design:type", String)
218
- ], BankResponseDTO.prototype, "name", void 0);
219
- __decorate([
220
- (0, swagger_1.ApiProperty)(),
221
- __metadata("design:type", String)
222
- ], BankResponseDTO.prototype, "slug", void 0);
223
- __decorate([
224
- (0, swagger_1.ApiProperty)(),
225
- __metadata("design:type", String)
226
- ], BankResponseDTO.prototype, "code", void 0);
227
- __decorate([
228
- (0, swagger_1.ApiProperty)(),
229
- __metadata("design:type", String)
230
- ], BankResponseDTO.prototype, "longCode", void 0);
231
- __decorate([
232
- (0, swagger_1.ApiProperty)(),
233
- __metadata("design:type", Array)
234
- ], BankResponseDTO.prototype, "settlementAccounts", void 0);
235
- class BillerResponseDTO {
236
- }
237
- exports.BillerResponseDTO = BillerResponseDTO;
238
- __decorate([
239
- (0, swagger_1.ApiProperty)(),
240
- __metadata("design:type", String)
241
- ], BillerResponseDTO.prototype, "id", void 0);
242
- __decorate([
243
- (0, swagger_1.ApiProperty)(),
244
- __metadata("design:type", String)
245
- ], BillerResponseDTO.prototype, "categoryId", void 0);
246
- __decorate([
247
- (0, swagger_1.ApiProperty)(),
248
- __metadata("design:type", String)
249
- ], BillerResponseDTO.prototype, "name", void 0);
250
- __decorate([
251
- (0, swagger_1.ApiProperty)(),
252
- __metadata("design:type", Boolean)
253
- ], BillerResponseDTO.prototype, "live", void 0);
254
- __decorate([
255
- (0, swagger_1.ApiProperty)(),
256
- __metadata("design:type", Boolean)
257
- ], BillerResponseDTO.prototype, "active", void 0);
258
- __decorate([
259
- (0, swagger_1.ApiProperty)({ required: false }),
260
- __metadata("design:type", String)
261
- ], BillerResponseDTO.prototype, "slug", void 0);
262
- __decorate([
263
- (0, swagger_1.ApiProperty)({ required: false }),
264
- __metadata("design:type", String)
265
- ], BillerResponseDTO.prototype, "billerCode", void 0);
266
- __decorate([
267
- (0, swagger_1.ApiProperty)(),
268
- __metadata("design:type", Date)
269
- ], BillerResponseDTO.prototype, "createdAt", void 0);
270
- __decorate([
271
- (0, swagger_1.ApiProperty)(),
272
- __metadata("design:type", Date)
273
- ], BillerResponseDTO.prototype, "updatedAt", void 0);
274
- __decorate([
275
- (0, swagger_1.ApiProperty)(),
276
- __metadata("design:type", BillerCategoryResponseDTO)
277
- ], BillerResponseDTO.prototype, "category", void 0);
278
- __decorate([
279
- (0, swagger_1.ApiProperty)(),
280
- __metadata("design:type", Array)
281
- ], BillerResponseDTO.prototype, "settlementAccounts", void 0);
282
- __decorate([
283
- (0, swagger_1.ApiProperty)({ required: false }),
284
- __metadata("design:type", BillerProfileResponseDTO)
285
- ], BillerResponseDTO.prototype, "profile", void 0);
286
- __decorate([
287
- (0, swagger_1.ApiProperty)(),
288
- __metadata("design:type", Array)
289
- ], BillerResponseDTO.prototype, "chargeConfigurations", void 0);
290
- __decorate([
291
- (0, swagger_1.ApiProperty)({ required: false }),
292
- __metadata("design:type", GoLiveRequestResponseDTO)
293
- ], BillerResponseDTO.prototype, "goLiveRequest", void 0);
294
- __decorate([
295
- (0, swagger_1.ApiProperty)(),
296
- __metadata("design:type", Array)
297
- ], BillerResponseDTO.prototype, "documents", void 0);
298
- __decorate([
299
- (0, swagger_1.ApiProperty)({ required: false }),
300
- __metadata("design:type", BillerContactResponseDTO)
301
- ], BillerResponseDTO.prototype, "contact", void 0);
302
- __decorate([
303
- (0, swagger_1.ApiProperty)(),
304
- __metadata("design:type", Array)
305
- ], BillerResponseDTO.prototype, "customers", void 0);
306
- __decorate([
307
- (0, swagger_1.ApiProperty)(),
308
- __metadata("design:type", Array)
309
- ], BillerResponseDTO.prototype, "items", void 0);
310
- __decorate([
311
- (0, swagger_1.ApiProperty)(),
312
- __metadata("design:type", Array)
313
- ], BillerResponseDTO.prototype, "invoices", void 0);
314
- class BillerProfileResponseDTO {
315
- }
316
- exports.BillerProfileResponseDTO = BillerProfileResponseDTO;
317
- __decorate([
318
- (0, swagger_1.ApiProperty)(),
319
- __metadata("design:type", String)
320
- ], BillerProfileResponseDTO.prototype, "id", void 0);
321
- __decorate([
322
- (0, swagger_1.ApiProperty)({ required: false }),
323
- __metadata("design:type", String)
324
- ], BillerProfileResponseDTO.prototype, "name", void 0);
325
- __decorate([
326
- (0, swagger_1.ApiProperty)(),
327
- __metadata("design:type", String)
328
- ], BillerProfileResponseDTO.prototype, "billerId", void 0);
329
- __decorate([
330
- (0, swagger_1.ApiProperty)(),
331
- __metadata("design:type", Boolean)
332
- ], BillerProfileResponseDTO.prototype, "hasTransactionLimit", void 0);
333
- __decorate([
334
- (0, swagger_1.ApiProperty)(),
335
- __metadata("design:type", Number)
336
- ], BillerProfileResponseDTO.prototype, "transactionLimit", void 0);
337
- __decorate([
338
- (0, swagger_1.ApiProperty)(),
339
- __metadata("design:type", String)
340
- ], BillerProfileResponseDTO.prototype, "delimiter", void 0);
341
- __decorate([
342
- (0, swagger_1.ApiProperty)(),
343
- __metadata("design:type", Date)
344
- ], BillerProfileResponseDTO.prototype, "createdAt", void 0);
345
- __decorate([
346
- (0, swagger_1.ApiProperty)(),
347
- __metadata("design:type", Date)
348
- ], BillerProfileResponseDTO.prototype, "updatedAt", void 0);
349
- __decorate([
350
- (0, swagger_1.ApiProperty)(),
351
- __metadata("design:type", BillerResponseDTO)
352
- ], BillerProfileResponseDTO.prototype, "biller", void 0);
353
- class BillerChargeConfigurationResponseDTO {
354
- }
355
- exports.BillerChargeConfigurationResponseDTO = BillerChargeConfigurationResponseDTO;
356
- __decorate([
357
- (0, swagger_1.ApiProperty)(),
358
- __metadata("design:type", String)
359
- ], BillerChargeConfigurationResponseDTO.prototype, "id", void 0);
360
- __decorate([
361
- (0, swagger_1.ApiProperty)(),
362
- __metadata("design:type", String)
363
- ], BillerChargeConfigurationResponseDTO.prototype, "serviceId", void 0);
364
- __decorate([
365
- (0, swagger_1.ApiProperty)(),
366
- __metadata("design:type", Boolean)
367
- ], BillerChargeConfigurationResponseDTO.prototype, "active", void 0);
368
- __decorate([
369
- (0, swagger_1.ApiProperty)(),
370
- __metadata("design:type", Boolean)
371
- ], BillerChargeConfigurationResponseDTO.prototype, "capped", void 0);
372
- __decorate([
373
- (0, swagger_1.ApiProperty)(),
374
- __metadata("design:type", Boolean)
375
- ], BillerChargeConfigurationResponseDTO.prototype, "floored", void 0);
376
- __decorate([
377
- (0, swagger_1.ApiProperty)(),
378
- __metadata("design:type", Number)
379
- ], BillerChargeConfigurationResponseDTO.prototype, "chargeCap", void 0);
380
- __decorate([
381
- (0, swagger_1.ApiProperty)(),
382
- __metadata("design:type", Number)
383
- ], BillerChargeConfigurationResponseDTO.prototype, "chargeFloor", void 0);
384
- __decorate([
385
- (0, swagger_1.ApiProperty)(),
386
- __metadata("design:type", String)
387
- ], BillerChargeConfigurationResponseDTO.prototype, "currency", void 0);
388
- __decorate([
389
- (0, swagger_1.ApiProperty)(),
390
- __metadata("design:type", String)
391
- ], BillerChargeConfigurationResponseDTO.prototype, "chargeType", void 0);
392
- __decorate([
393
- (0, swagger_1.ApiProperty)(),
394
- __metadata("design:type", Number)
395
- ], BillerChargeConfigurationResponseDTO.prototype, "fixedAmount", void 0);
396
- __decorate([
397
- (0, swagger_1.ApiProperty)(),
398
- __metadata("design:type", Number)
399
- ], BillerChargeConfigurationResponseDTO.prototype, "percentAmount", void 0);
400
- __decorate([
401
- (0, swagger_1.ApiProperty)(),
402
- __metadata("design:type", Date)
403
- ], BillerChargeConfigurationResponseDTO.prototype, "createdAt", void 0);
404
- __decorate([
405
- (0, swagger_1.ApiProperty)(),
406
- __metadata("design:type", Date)
407
- ], BillerChargeConfigurationResponseDTO.prototype, "updatedAt", void 0);
408
- __decorate([
409
- (0, swagger_1.ApiProperty)({ required: false }),
410
- __metadata("design:type", Array)
411
- ], BillerChargeConfigurationResponseDTO.prototype, "biller", void 0);
412
- __decorate([
413
- (0, swagger_1.ApiProperty)(),
414
- __metadata("design:type", ServiceResponseDTO)
415
- ], BillerChargeConfigurationResponseDTO.prototype, "service", void 0);
416
- class SettlementAccountResponseDTO {
417
- }
418
- exports.SettlementAccountResponseDTO = SettlementAccountResponseDTO;
419
- __decorate([
420
- (0, swagger_1.ApiProperty)(),
421
- __metadata("design:type", String)
422
- ], SettlementAccountResponseDTO.prototype, "id", void 0);
423
- __decorate([
424
- (0, swagger_1.ApiProperty)(),
425
- __metadata("design:type", String)
426
- ], SettlementAccountResponseDTO.prototype, "billerId", void 0);
427
- __decorate([
428
- (0, swagger_1.ApiProperty)(),
429
- __metadata("design:type", String)
430
- ], SettlementAccountResponseDTO.prototype, "bankId", void 0);
431
- __decorate([
432
- (0, swagger_1.ApiProperty)(),
433
- __metadata("design:type", Boolean)
434
- ], SettlementAccountResponseDTO.prototype, "default", void 0);
435
- __decorate([
436
- (0, swagger_1.ApiProperty)(),
437
- __metadata("design:type", String)
438
- ], SettlementAccountResponseDTO.prototype, "accountName", void 0);
439
- __decorate([
440
- (0, swagger_1.ApiProperty)(),
441
- __metadata("design:type", String)
442
- ], SettlementAccountResponseDTO.prototype, "accountNumber", void 0);
443
- __decorate([
444
- (0, swagger_1.ApiProperty)(),
445
- __metadata("design:type", String)
446
- ], SettlementAccountResponseDTO.prototype, "currency", void 0);
447
- __decorate([
448
- (0, swagger_1.ApiProperty)(),
449
- __metadata("design:type", Date)
450
- ], SettlementAccountResponseDTO.prototype, "createdAt", void 0);
451
- __decorate([
452
- (0, swagger_1.ApiProperty)(),
453
- __metadata("design:type", Date)
454
- ], SettlementAccountResponseDTO.prototype, "updatedAt", void 0);
455
- __decorate([
456
- (0, swagger_1.ApiProperty)(),
457
- __metadata("design:type", BillerResponseDTO)
458
- ], SettlementAccountResponseDTO.prototype, "biller", void 0);
459
- __decorate([
460
- (0, swagger_1.ApiProperty)(),
461
- __metadata("design:type", BankResponseDTO)
462
- ], SettlementAccountResponseDTO.prototype, "bank", void 0);
463
- __decorate([
464
- (0, swagger_1.ApiProperty)({ required: false }),
465
- __metadata("design:type", OnboardedAccountResponseDTO)
466
- ], SettlementAccountResponseDTO.prototype, "onboardedAccount", void 0);
467
- class OnboardedAccountResponseDTO {
468
- }
469
- exports.OnboardedAccountResponseDTO = OnboardedAccountResponseDTO;
470
- __decorate([
471
- (0, swagger_1.ApiProperty)(),
472
- __metadata("design:type", String)
473
- ], OnboardedAccountResponseDTO.prototype, "id", void 0);
474
- __decorate([
475
- (0, swagger_1.ApiProperty)(),
476
- __metadata("design:type", String)
477
- ], OnboardedAccountResponseDTO.prototype, "settlementAccountId", void 0);
478
- __decorate([
479
- (0, swagger_1.ApiProperty)(),
480
- __metadata("design:type", String)
481
- ], OnboardedAccountResponseDTO.prototype, "vendor", void 0);
482
- __decorate([
483
- (0, swagger_1.ApiProperty)(),
484
- __metadata("design:type", Date)
485
- ], OnboardedAccountResponseDTO.prototype, "createdAt", void 0);
486
- __decorate([
487
- (0, swagger_1.ApiProperty)(),
488
- __metadata("design:type", Date)
489
- ], OnboardedAccountResponseDTO.prototype, "updatedAt", void 0);
490
- __decorate([
491
- (0, swagger_1.ApiProperty)(),
492
- __metadata("design:type", SettlementAccountResponseDTO)
493
- ], OnboardedAccountResponseDTO.prototype, "settlementAccount", void 0);
494
- class BillerDocumentResponseDTO {
495
- }
496
- exports.BillerDocumentResponseDTO = BillerDocumentResponseDTO;
497
- __decorate([
498
- (0, swagger_1.ApiProperty)(),
499
- __metadata("design:type", String)
500
- ], BillerDocumentResponseDTO.prototype, "id", void 0);
501
- __decorate([
502
- (0, swagger_1.ApiProperty)(),
503
- __metadata("design:type", String)
504
- ], BillerDocumentResponseDTO.prototype, "billerId", void 0);
505
- __decorate([
506
- (0, swagger_1.ApiProperty)(),
507
- __metadata("design:type", String)
508
- ], BillerDocumentResponseDTO.prototype, "url", void 0);
509
- __decorate([
510
- (0, swagger_1.ApiProperty)(),
511
- __metadata("design:type", String)
512
- ], BillerDocumentResponseDTO.prototype, "type", void 0);
513
- __decorate([
514
- (0, swagger_1.ApiProperty)(),
515
- __metadata("design:type", BillerResponseDTO)
516
- ], BillerDocumentResponseDTO.prototype, "biller", void 0);
517
- class GoLiveRequestResponseDTO {
518
- }
519
- exports.GoLiveRequestResponseDTO = GoLiveRequestResponseDTO;
520
- __decorate([
521
- (0, swagger_1.ApiProperty)(),
522
- __metadata("design:type", String)
523
- ], GoLiveRequestResponseDTO.prototype, "id", void 0);
524
- __decorate([
525
- (0, swagger_1.ApiProperty)(),
526
- __metadata("design:type", String)
527
- ], GoLiveRequestResponseDTO.prototype, "billerId", void 0);
528
- __decorate([
529
- (0, swagger_1.ApiProperty)(),
530
- __metadata("design:type", String)
531
- ], GoLiveRequestResponseDTO.prototype, "status", void 0);
532
- __decorate([
533
- (0, swagger_1.ApiProperty)(),
534
- __metadata("design:type", Date)
535
- ], GoLiveRequestResponseDTO.prototype, "createdAt", void 0);
536
- __decorate([
537
- (0, swagger_1.ApiProperty)(),
538
- __metadata("design:type", Date)
539
- ], GoLiveRequestResponseDTO.prototype, "updatedAt", void 0);
540
- __decorate([
541
- (0, swagger_1.ApiProperty)(),
542
- __metadata("design:type", BillerResponseDTO)
543
- ], GoLiveRequestResponseDTO.prototype, "biller", void 0);
544
- class BillerContactResponseDTO {
545
- }
546
- exports.BillerContactResponseDTO = BillerContactResponseDTO;
547
- __decorate([
548
- (0, swagger_1.ApiProperty)(),
549
- __metadata("design:type", String)
550
- ], BillerContactResponseDTO.prototype, "id", void 0);
551
- __decorate([
552
- (0, swagger_1.ApiProperty)(),
553
- __metadata("design:type", String)
554
- ], BillerContactResponseDTO.prototype, "billerId", void 0);
555
- __decorate([
556
- (0, swagger_1.ApiProperty)(),
557
- __metadata("design:type", String)
558
- ], BillerContactResponseDTO.prototype, "contactName", void 0);
559
- __decorate([
560
- (0, swagger_1.ApiProperty)(),
561
- __metadata("design:type", String)
562
- ], BillerContactResponseDTO.prototype, "emailAddress", void 0);
563
- __decorate([
564
- (0, swagger_1.ApiProperty)({ required: false }),
565
- __metadata("design:type", String)
566
- ], BillerContactResponseDTO.prototype, "phoneNumber", void 0);
567
- __decorate([
568
- (0, swagger_1.ApiProperty)(),
569
- __metadata("design:type", Date)
570
- ], BillerContactResponseDTO.prototype, "dob", void 0);
571
- __decorate([
572
- (0, swagger_1.ApiProperty)(),
573
- __metadata("design:type", String)
574
- ], BillerContactResponseDTO.prototype, "address", void 0);
575
- __decorate([
576
- (0, swagger_1.ApiProperty)(),
577
- __metadata("design:type", String)
578
- ], BillerContactResponseDTO.prototype, "country", void 0);
579
- __decorate([
580
- (0, swagger_1.ApiProperty)(),
581
- __metadata("design:type", String)
582
- ], BillerContactResponseDTO.prototype, "city", void 0);
583
- __decorate([
584
- (0, swagger_1.ApiProperty)(),
585
- __metadata("design:type", String)
586
- ], BillerContactResponseDTO.prototype, "state", void 0);
587
- __decorate([
588
- (0, swagger_1.ApiProperty)(),
589
- __metadata("design:type", Date)
590
- ], BillerContactResponseDTO.prototype, "createdAt", void 0);
591
- __decorate([
592
- (0, swagger_1.ApiProperty)(),
593
- __metadata("design:type", Date)
594
- ], BillerContactResponseDTO.prototype, "updatedAt", void 0);
595
- __decorate([
596
- (0, swagger_1.ApiProperty)(),
597
- __metadata("design:type", BillerResponseDTO)
598
- ], BillerContactResponseDTO.prototype, "biller", void 0);
599
- class CustomerResponseDTO {
600
- }
601
- exports.CustomerResponseDTO = CustomerResponseDTO;
602
- __decorate([
603
- (0, swagger_1.ApiProperty)(),
604
- __metadata("design:type", String)
605
- ], CustomerResponseDTO.prototype, "id", void 0);
606
- __decorate([
607
- (0, swagger_1.ApiProperty)(),
608
- __metadata("design:type", String)
609
- ], CustomerResponseDTO.prototype, "billerId", void 0);
610
- __decorate([
611
- (0, swagger_1.ApiProperty)(),
612
- __metadata("design:type", String)
613
- ], CustomerResponseDTO.prototype, "name", void 0);
614
- __decorate([
615
- (0, swagger_1.ApiProperty)({ required: false }),
616
- __metadata("design:type", String)
617
- ], CustomerResponseDTO.prototype, "emailAddress", void 0);
618
- __decorate([
619
- (0, swagger_1.ApiProperty)({ required: false }),
620
- __metadata("design:type", String)
621
- ], CustomerResponseDTO.prototype, "phoneNumber", void 0);
622
- __decorate([
623
- (0, swagger_1.ApiProperty)(),
624
- __metadata("design:type", Date)
625
- ], CustomerResponseDTO.prototype, "createdAt", void 0);
626
- __decorate([
627
- (0, swagger_1.ApiProperty)(),
628
- __metadata("design:type", Date)
629
- ], CustomerResponseDTO.prototype, "updatedAt", void 0);
630
- __decorate([
631
- (0, swagger_1.ApiProperty)(),
632
- __metadata("design:type", BillerResponseDTO)
633
- ], CustomerResponseDTO.prototype, "biller", void 0);
634
- __decorate([
635
- (0, swagger_1.ApiProperty)(),
636
- __metadata("design:type", Array)
637
- ], CustomerResponseDTO.prototype, "invoices", void 0);
638
- class BillerItemResponseDTO {
639
- }
640
- exports.BillerItemResponseDTO = BillerItemResponseDTO;
641
- __decorate([
642
- (0, swagger_1.ApiProperty)(),
643
- __metadata("design:type", String)
644
- ], BillerItemResponseDTO.prototype, "id", void 0);
645
- __decorate([
646
- (0, swagger_1.ApiProperty)(),
647
- __metadata("design:type", String)
648
- ], BillerItemResponseDTO.prototype, "billerId", void 0);
649
- __decorate([
650
- (0, swagger_1.ApiProperty)(),
651
- __metadata("design:type", Number)
652
- ], BillerItemResponseDTO.prototype, "amount", void 0);
653
- __decorate([
654
- (0, swagger_1.ApiProperty)({ required: false }),
655
- __metadata("design:type", String)
656
- ], BillerItemResponseDTO.prototype, "source", void 0);
657
- __decorate([
658
- (0, swagger_1.ApiProperty)({ required: false }),
659
- __metadata("design:type", String)
660
- ], BillerItemResponseDTO.prototype, "customerIdentifierName", void 0);
661
- __decorate([
662
- (0, swagger_1.ApiProperty)(),
663
- __metadata("design:type", Number)
664
- ], BillerItemResponseDTO.prototype, "serviceFee", void 0);
665
- __decorate([
666
- (0, swagger_1.ApiProperty)(),
667
- __metadata("design:type", String)
668
- ], BillerItemResponseDTO.prototype, "currency", void 0);
669
- __decorate([
670
- (0, swagger_1.ApiProperty)({ required: false }),
671
- __metadata("design:type", String)
672
- ], BillerItemResponseDTO.prototype, "description", void 0);
673
- __decorate([
674
- (0, swagger_1.ApiProperty)(),
675
- __metadata("design:type", Boolean)
676
- ], BillerItemResponseDTO.prototype, "external", void 0);
677
- __decorate([
678
- (0, swagger_1.ApiProperty)(),
679
- __metadata("design:type", Date)
680
- ], BillerItemResponseDTO.prototype, "createdAt", void 0);
681
- __decorate([
682
- (0, swagger_1.ApiProperty)(),
683
- __metadata("design:type", Date)
684
- ], BillerItemResponseDTO.prototype, "updatedAt", void 0);
685
- __decorate([
686
- (0, swagger_1.ApiProperty)(),
687
- __metadata("design:type", BillerResponseDTO)
688
- ], BillerItemResponseDTO.prototype, "biller", void 0);
689
- __decorate([
690
- (0, swagger_1.ApiProperty)(),
691
- __metadata("design:type", Array)
692
- ], BillerItemResponseDTO.prototype, "invoices", void 0);
693
- class InvoiceResponseDTO {
694
- }
695
- exports.InvoiceResponseDTO = InvoiceResponseDTO;
696
- __decorate([
697
- (0, swagger_1.ApiProperty)(),
698
- __metadata("design:type", String)
699
- ], InvoiceResponseDTO.prototype, "id", void 0);
700
- __decorate([
701
- (0, swagger_1.ApiProperty)(),
702
- __metadata("design:type", String)
703
- ], InvoiceResponseDTO.prototype, "billerId", void 0);
704
- __decorate([
705
- (0, swagger_1.ApiProperty)(),
706
- __metadata("design:type", String)
707
- ], InvoiceResponseDTO.prototype, "customerId", void 0);
708
- __decorate([
709
- (0, swagger_1.ApiProperty)(),
710
- __metadata("design:type", Number)
711
- ], InvoiceResponseDTO.prototype, "discountValue", void 0);
712
- __decorate([
713
- (0, swagger_1.ApiProperty)(),
714
- __metadata("design:type", String)
715
- ], InvoiceResponseDTO.prototype, "discountType", void 0);
716
- __decorate([
717
- (0, swagger_1.ApiProperty)(),
718
- __metadata("design:type", Date)
719
- ], InvoiceResponseDTO.prototype, "dueDate", void 0);
720
- __decorate([
721
- (0, swagger_1.ApiProperty)(),
722
- __metadata("design:type", String)
723
- ], InvoiceResponseDTO.prototype, "status", void 0);
724
- __decorate([
725
- (0, swagger_1.ApiProperty)(),
726
- __metadata("design:type", Date)
727
- ], InvoiceResponseDTO.prototype, "createdAt", void 0);
728
- __decorate([
729
- (0, swagger_1.ApiProperty)(),
730
- __metadata("design:type", Date)
731
- ], InvoiceResponseDTO.prototype, "updatedAt", void 0);
732
- __decorate([
733
- (0, swagger_1.ApiProperty)(),
734
- __metadata("design:type", Array)
735
- ], InvoiceResponseDTO.prototype, "billerItems", void 0);
736
- __decorate([
737
- (0, swagger_1.ApiProperty)(),
738
- __metadata("design:type", BillerResponseDTO)
739
- ], InvoiceResponseDTO.prototype, "biller", void 0);
740
- __decorate([
741
- (0, swagger_1.ApiProperty)(),
742
- __metadata("design:type", CustomerResponseDTO)
743
- ], InvoiceResponseDTO.prototype, "customer", void 0);