@domu-ai/kiban-sdk 1.72.0

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.
@@ -0,0 +1,871 @@
1
+ /**
2
+ * Service operational status - always returns 'ok' when available
3
+ */
4
+ export type PublicHealthGet200Status = typeof PublicHealthGet200Status[keyof typeof PublicHealthGet200Status];
5
+ export declare const PublicHealthGet200Status: {
6
+ readonly ok: "ok";
7
+ };
8
+ export type PublicHealthGet200 = {
9
+ /** Service operational status - always returns 'ok' when available */
10
+ status: PublicHealthGet200Status;
11
+ /** ISO 8601 UTC timestamp of health check execution */
12
+ timestamp: string;
13
+ };
14
+ export type PublicAuthMeGet200 = {
15
+ /** Authenticated user identifier */
16
+ userId: string;
17
+ /** Current session identifier */
18
+ sessionId: string;
19
+ /**
20
+ * Organization identifier if present
21
+ * @nullable
22
+ */
23
+ orgId: string | null;
24
+ /**
25
+ * User's role in the organization
26
+ * @nullable
27
+ */
28
+ orgRole: string | null;
29
+ };
30
+ export type PublicAuthMeGet401 = {
31
+ message: string;
32
+ code?: string;
33
+ details?: unknown | null;
34
+ };
35
+ export type PublicClientsNubankInteractionsStartPostBody = {
36
+ /** @minLength 1 */
37
+ customerId: string;
38
+ /**
39
+ * @minLength 1
40
+ * @pattern ^\d+$
41
+ */
42
+ phoneNumber: string;
43
+ type?: string;
44
+ };
45
+ export type PublicClientsNubankInteractionsStartPost201 = {
46
+ sourceId: string;
47
+ };
48
+ export type PublicClientsNubankInteractionsStartPost400 = {
49
+ message: string;
50
+ code?: string;
51
+ details?: unknown | null;
52
+ };
53
+ export type PublicClientsNubankInteractionsStartPost401 = {
54
+ message: string;
55
+ code?: string;
56
+ details?: unknown | null;
57
+ };
58
+ export type PublicClientsNubankInteractionsStartPost500 = {
59
+ message: string;
60
+ code?: string;
61
+ details?: unknown | null;
62
+ };
63
+ export type PublicClientsNubankInteractionsEndPostBody = {
64
+ /** @minLength 1 */
65
+ sourceId: string;
66
+ /** @minLength 1 */
67
+ customerId: string;
68
+ };
69
+ export type PublicClientsNubankInteractionsEndPost200 = {
70
+ success: boolean;
71
+ };
72
+ export type PublicClientsNubankInteractionsEndPost400 = {
73
+ message: string;
74
+ code?: string;
75
+ details?: unknown | null;
76
+ };
77
+ export type PublicClientsNubankInteractionsEndPost401 = {
78
+ message: string;
79
+ code?: string;
80
+ details?: unknown | null;
81
+ };
82
+ export type PublicClientsNubankInteractionsEndPost500 = {
83
+ message: string;
84
+ code?: string;
85
+ details?: unknown | null;
86
+ };
87
+ export type PublicClientsNubankDebtsCustomerIdGetParams = {
88
+ /**
89
+ * @nullable
90
+ */
91
+ include_offers?: boolean | null;
92
+ };
93
+ export type PublicClientsNubankDebtsCustomerIdGet200 = {
94
+ customerId: string;
95
+ debts: {
96
+ late?: string;
97
+ start?: string;
98
+ total?: string;
99
+ current?: string;
100
+ principal?: string;
101
+ days_late?: number;
102
+ product?: {
103
+ type: string;
104
+ reference_id: string;
105
+ };
106
+ }[] | {
107
+ error: string;
108
+ statusCode?: string;
109
+ };
110
+ } | {
111
+ customerId: string;
112
+ debts: {
113
+ late?: string;
114
+ start?: string;
115
+ total?: string;
116
+ current?: string;
117
+ principal?: string;
118
+ days_late?: number;
119
+ product?: {
120
+ type: string;
121
+ reference_id: string;
122
+ };
123
+ }[] | {
124
+ error: string;
125
+ statusCode?: string;
126
+ };
127
+ offers: {
128
+ type: string;
129
+ offers: {
130
+ single_payment?: {
131
+ debt: string;
132
+ discount: string;
133
+ discount_percentage: string;
134
+ downpayment: string;
135
+ downpayment_due_date: string;
136
+ simulation_id: string;
137
+ created_at: string;
138
+ };
139
+ installments?: {
140
+ downpayment: string;
141
+ downpayment_due_date: string;
142
+ has_installments_boleto: boolean;
143
+ first_installment_due_date: string;
144
+ due_day: number;
145
+ created_at: string;
146
+ installment_options: {
147
+ simulation_id: string;
148
+ number_of_installments: number;
149
+ installment_amount: string;
150
+ debt: string;
151
+ discount_percentage: string;
152
+ total_to_pay: string;
153
+ iof: string;
154
+ interest_rate: string;
155
+ interest: string;
156
+ discount: string;
157
+ monthly_cet: string;
158
+ yearly_cet: string;
159
+ }[];
160
+ };
161
+ };
162
+ product: {
163
+ type: string;
164
+ reference_id: string;
165
+ };
166
+ }[] | {
167
+ error: string;
168
+ statusCode?: string;
169
+ };
170
+ };
171
+ export type PublicClientsNubankDebtsCustomerIdGet400 = {
172
+ message: string;
173
+ code?: string;
174
+ details?: unknown | null;
175
+ };
176
+ export type PublicClientsNubankDebtsCustomerIdGet401 = {
177
+ message: string;
178
+ code?: string;
179
+ details?: unknown | null;
180
+ };
181
+ export type PublicClientsNubankDebtsCustomerIdGet404 = {
182
+ message: string;
183
+ code?: string;
184
+ details?: unknown | null;
185
+ };
186
+ export type PublicClientsNubankDebtsCustomerIdGet500 = {
187
+ message: string;
188
+ code?: string;
189
+ details?: unknown | null;
190
+ };
191
+ export type PublicClientsAloricaNotesPostParams = {
192
+ /**
193
+ * @minLength 1
194
+ */
195
+ campaignId: string;
196
+ };
197
+ export type PublicClientsAloricaNotesPostBodyResult = typeof PublicClientsAloricaNotesPostBodyResult[keyof typeof PublicClientsAloricaNotesPostBodyResult];
198
+ export declare const PublicClientsAloricaNotesPostBodyResult: {
199
+ readonly PAYMENT: "PAYMENT";
200
+ readonly PROMISE: "PROMISE";
201
+ readonly PAYOFF_QUOTE_REQUEST: "PAYOFF_QUOTE_REQUEST";
202
+ readonly ACCOUNT_INQUIRY: "ACCOUNT_INQUIRY";
203
+ readonly ACCOUNT_UNLOCK: "ACCOUNT_UNLOCK";
204
+ readonly GENERAL: "GENERAL";
205
+ };
206
+ export type PublicClientsAloricaNotesPostBody = {
207
+ /** @minLength 1 */
208
+ phoneNumber: string;
209
+ result: PublicClientsAloricaNotesPostBodyResult;
210
+ /** @minLength 1 */
211
+ note: string;
212
+ };
213
+ export type PublicClientsAloricaNotesPost200ReturnMessage = typeof PublicClientsAloricaNotesPost200ReturnMessage[keyof typeof PublicClientsAloricaNotesPost200ReturnMessage];
214
+ export declare const PublicClientsAloricaNotesPost200ReturnMessage: {
215
+ readonly OK: "OK";
216
+ readonly INVALID_ACCOUNT_NUMBER: "INVALID_ACCOUNT_NUMBER";
217
+ readonly INVALID_RESULT_TYPE: "INVALID_RESULT_TYPE";
218
+ readonly INTERNAL: "INTERNAL";
219
+ };
220
+ export type PublicClientsAloricaNotesPost200 = {
221
+ returnMessage: PublicClientsAloricaNotesPost200ReturnMessage;
222
+ };
223
+ export type PublicClientsAloricaNotesPost400 = {
224
+ message: string;
225
+ code?: string;
226
+ details?: unknown | null;
227
+ };
228
+ export type PublicClientsAloricaNotesPost401 = {
229
+ message: string;
230
+ code?: string;
231
+ details?: unknown | null;
232
+ };
233
+ export type PublicClientsAloricaNotesPost404 = {
234
+ message: string;
235
+ code?: string;
236
+ details?: unknown | null;
237
+ };
238
+ export type PublicClientsAloricaNotesPost500 = {
239
+ message: string;
240
+ code?: string;
241
+ details?: unknown | null;
242
+ };
243
+ export type PublicContactsIdGetParams = {
244
+ campaignId: string;
245
+ };
246
+ export type PublicContactsIdGet200Contact = {
247
+ [key: string]: unknown;
248
+ };
249
+ export type PublicContactsIdGet200 = {
250
+ contactId: string;
251
+ contact: PublicContactsIdGet200Contact;
252
+ };
253
+ export type PublicContactsIdGet400 = {
254
+ message: string;
255
+ code?: string;
256
+ details?: unknown | null;
257
+ };
258
+ export type PublicContactsIdGet401 = {
259
+ message: string;
260
+ code?: string;
261
+ details?: unknown | null;
262
+ };
263
+ export type PublicContactsIdGet404 = {
264
+ message: string;
265
+ code?: string;
266
+ details?: unknown | null;
267
+ };
268
+ export type PublicContactsIdGet500 = {
269
+ message: string;
270
+ code?: string;
271
+ details?: unknown | null;
272
+ };
273
+ export type PublicContactsIdPutParams = {
274
+ campaignId: string;
275
+ };
276
+ export type PublicContactsIdPutBodyAttributes = {
277
+ [key: string]: string | null;
278
+ };
279
+ export type PublicContactsIdPutBody = {
280
+ resultCode?: string;
281
+ attributes?: PublicContactsIdPutBodyAttributes;
282
+ };
283
+ export type PublicContactsIdPut200 = {
284
+ contactId: string;
285
+ };
286
+ export type PublicContactsIdPut400 = {
287
+ message: string;
288
+ code?: string;
289
+ details?: unknown | null;
290
+ };
291
+ export type PublicContactsIdPut401 = {
292
+ message: string;
293
+ code?: string;
294
+ details?: unknown | null;
295
+ };
296
+ export type PublicContactsIdPut404 = {
297
+ message: string;
298
+ code?: string;
299
+ details?: unknown | null;
300
+ };
301
+ export type PublicContactsIdPut500 = {
302
+ message: string;
303
+ code?: string;
304
+ details?: unknown | null;
305
+ };
306
+ export type PublicPaymentsConnectorsMonerisPostBodyParameters = {
307
+ campaignid: string;
308
+ callerphone: string;
309
+ sessionid?: string;
310
+ payment_method_id?: string;
311
+ paymentdate?: string;
312
+ planfrequency?: string;
313
+ plantype?: string;
314
+ numberofpayments?: string;
315
+ };
316
+ export type PublicPaymentsConnectorsMonerisPostBody = {
317
+ transaction_id: string;
318
+ amount: string;
319
+ currency_code?: string;
320
+ method?: string;
321
+ /** @nullable */
322
+ description?: string | null;
323
+ cardnumber?: string;
324
+ cvv?: string;
325
+ expiry_month?: string;
326
+ expiry_year?: string;
327
+ /** @nullable */
328
+ postal_code?: string | null;
329
+ bankaccountnumber?: string;
330
+ routing_number?: string;
331
+ account_type?: string;
332
+ parameters: PublicPaymentsConnectorsMonerisPostBodyParameters;
333
+ };
334
+ export type PublicPaymentsConnectorsMonerisPost200 = {
335
+ charge_id: string;
336
+ /** @nullable */
337
+ error_code: string | null;
338
+ /** @nullable */
339
+ error_message: string | null;
340
+ };
341
+ export type PublicPaymentsConnectorsPayliancePostBodyParameters = {
342
+ campaignid: string;
343
+ callerphone: string;
344
+ sessionid?: string;
345
+ payment_method_id?: string;
346
+ paymentdate?: string;
347
+ planfrequency?: string;
348
+ plantype?: string;
349
+ numberofpayments?: string;
350
+ };
351
+ export type PublicPaymentsConnectorsPayliancePostBody = {
352
+ transaction_id: string;
353
+ amount: string;
354
+ currency_code?: string;
355
+ method?: string;
356
+ /** @nullable */
357
+ description?: string | null;
358
+ cardnumber?: string;
359
+ cvv?: string;
360
+ expiry_month?: string;
361
+ expiry_year?: string;
362
+ /** @nullable */
363
+ postal_code?: string | null;
364
+ bankaccountnumber?: string;
365
+ routing_number?: string;
366
+ account_type?: string;
367
+ parameters: PublicPaymentsConnectorsPayliancePostBodyParameters;
368
+ };
369
+ export type PublicPaymentsConnectorsPayliancePost200 = {
370
+ charge_id: string;
371
+ /** @nullable */
372
+ error_code: string | null;
373
+ /** @nullable */
374
+ error_message: string | null;
375
+ };
376
+ export type PublicPaymentsConnectorsPaynearmePostBodyParameters = {
377
+ campaignid: string;
378
+ callerphone: string;
379
+ sessionid?: string;
380
+ payment_method_id?: string;
381
+ paymentdate?: string;
382
+ planfrequency?: string;
383
+ plantype?: string;
384
+ numberofpayments?: string;
385
+ };
386
+ export type PublicPaymentsConnectorsPaynearmePostBody = {
387
+ transaction_id: string;
388
+ amount: string;
389
+ currency_code?: string;
390
+ method?: string;
391
+ /** @nullable */
392
+ description?: string | null;
393
+ cardnumber?: string;
394
+ cvv?: string;
395
+ expiry_month?: string;
396
+ expiry_year?: string;
397
+ /** @nullable */
398
+ postal_code?: string | null;
399
+ bankaccountnumber?: string;
400
+ routing_number?: string;
401
+ account_type?: string;
402
+ parameters: PublicPaymentsConnectorsPaynearmePostBodyParameters;
403
+ };
404
+ export type PublicPaymentsConnectorsPaynearmePost200 = {
405
+ charge_id: string;
406
+ /** @nullable */
407
+ error_code: string | null;
408
+ /** @nullable */
409
+ error_message: string | null;
410
+ };
411
+ export type PublicPaymentsConnectorsPayrazrPostBodyParameters = {
412
+ campaignid: string;
413
+ callerphone: string;
414
+ sessionid?: string;
415
+ payment_method_id?: string;
416
+ paymentdate?: string;
417
+ planfrequency?: string;
418
+ plantype?: string;
419
+ numberofpayments?: string;
420
+ };
421
+ export type PublicPaymentsConnectorsPayrazrPostBody = {
422
+ transaction_id: string;
423
+ amount: string;
424
+ currency_code?: string;
425
+ method?: string;
426
+ /** @nullable */
427
+ description?: string | null;
428
+ cardnumber?: string;
429
+ cvv?: string;
430
+ expiry_month?: string;
431
+ expiry_year?: string;
432
+ /** @nullable */
433
+ postal_code?: string | null;
434
+ bankaccountnumber?: string;
435
+ routing_number?: string;
436
+ account_type?: string;
437
+ parameters: PublicPaymentsConnectorsPayrazrPostBodyParameters;
438
+ };
439
+ export type PublicPaymentsConnectorsPayrazrPost200 = {
440
+ charge_id: string;
441
+ /** @nullable */
442
+ error_code: string | null;
443
+ /** @nullable */
444
+ error_message: string | null;
445
+ };
446
+ export type PublicPaymentsConnectorsRepayPostBodyParameters = {
447
+ campaignid: string;
448
+ callerphone: string;
449
+ sessionid?: string;
450
+ payment_method_id?: string;
451
+ paymentdate?: string;
452
+ planfrequency?: string;
453
+ plantype?: string;
454
+ numberofpayments?: string;
455
+ };
456
+ export type PublicPaymentsConnectorsRepayPostBody = {
457
+ transaction_id: string;
458
+ amount: string;
459
+ currency_code?: string;
460
+ method?: string;
461
+ /** @nullable */
462
+ description?: string | null;
463
+ cardnumber?: string;
464
+ cvv?: string;
465
+ expiry_month?: string;
466
+ expiry_year?: string;
467
+ /** @nullable */
468
+ postal_code?: string | null;
469
+ bankaccountnumber?: string;
470
+ routing_number?: string;
471
+ account_type?: string;
472
+ parameters: PublicPaymentsConnectorsRepayPostBodyParameters;
473
+ };
474
+ export type PublicPaymentsConnectorsRepayPost200 = {
475
+ charge_id: string;
476
+ /** @nullable */
477
+ error_code: string | null;
478
+ /** @nullable */
479
+ error_message: string | null;
480
+ };
481
+ export type PublicPaymentsConnectorsSpeedpayPostBodyParameters = {
482
+ campaignid: string;
483
+ callerphone: string;
484
+ sessionid?: string;
485
+ payment_method_id?: string;
486
+ paymentdate?: string;
487
+ planfrequency?: string;
488
+ plantype?: string;
489
+ numberofpayments?: string;
490
+ };
491
+ export type PublicPaymentsConnectorsSpeedpayPostBody = {
492
+ transaction_id: string;
493
+ amount: string;
494
+ currency_code?: string;
495
+ method?: string;
496
+ /** @nullable */
497
+ description?: string | null;
498
+ cardnumber?: string;
499
+ cvv?: string;
500
+ expiry_month?: string;
501
+ expiry_year?: string;
502
+ /** @nullable */
503
+ postal_code?: string | null;
504
+ bankaccountnumber?: string;
505
+ routing_number?: string;
506
+ account_type?: string;
507
+ parameters: PublicPaymentsConnectorsSpeedpayPostBodyParameters;
508
+ };
509
+ export type PublicPaymentsConnectorsSpeedpayPost200 = {
510
+ charge_id: string;
511
+ /** @nullable */
512
+ error_code: string | null;
513
+ /** @nullable */
514
+ error_message: string | null;
515
+ };
516
+ export type PublicPaymentsConnectorsSwervepayPostBodyParameters = {
517
+ campaignid: string;
518
+ callerphone: string;
519
+ sessionid?: string;
520
+ payment_method_id?: string;
521
+ paymentdate?: string;
522
+ planfrequency?: string;
523
+ plantype?: string;
524
+ numberofpayments?: string;
525
+ };
526
+ export type PublicPaymentsConnectorsSwervepayPostBody = {
527
+ transaction_id: string;
528
+ amount: string;
529
+ currency_code?: string;
530
+ method?: string;
531
+ /** @nullable */
532
+ description?: string | null;
533
+ cardnumber?: string;
534
+ cvv?: string;
535
+ expiry_month?: string;
536
+ expiry_year?: string;
537
+ /** @nullable */
538
+ postal_code?: string | null;
539
+ bankaccountnumber?: string;
540
+ routing_number?: string;
541
+ account_type?: string;
542
+ parameters: PublicPaymentsConnectorsSwervepayPostBodyParameters;
543
+ };
544
+ export type PublicPaymentsConnectorsSwervepayPost200 = {
545
+ charge_id: string;
546
+ /** @nullable */
547
+ error_code: string | null;
548
+ /** @nullable */
549
+ error_message: string | null;
550
+ };
551
+ /**
552
+ * Lightweight endpoint that returns 200 OK when the service is operational. Designed for load balancers, uptime monitors, and client-side connectivity checks. Does not perform dependency validation.
553
+ * @summary Basic service availability check
554
+ */
555
+ export type publicHealthGetResponse200 = {
556
+ data: PublicHealthGet200;
557
+ status: 200;
558
+ };
559
+ export type publicHealthGetResponseSuccess = (publicHealthGetResponse200) & {
560
+ headers: Headers;
561
+ };
562
+ export type publicHealthGetResponse = (publicHealthGetResponseSuccess);
563
+ export declare const getPublicHealthGetUrl: () => string;
564
+ export declare const publicHealthGet: (options?: RequestInit) => Promise<publicHealthGetResponse>;
565
+ /**
566
+ * Returns the authenticated user information including userId, sessionId, and organization details. Requires valid Bearer token in Authorization header.
567
+ * @summary Get authenticated user information
568
+ */
569
+ export type publicAuthMeGetResponse200 = {
570
+ data: PublicAuthMeGet200;
571
+ status: 200;
572
+ };
573
+ export type publicAuthMeGetResponse401 = {
574
+ data: PublicAuthMeGet401;
575
+ status: 401;
576
+ };
577
+ export type publicAuthMeGetResponseSuccess = (publicAuthMeGetResponse200) & {
578
+ headers: Headers;
579
+ };
580
+ export type publicAuthMeGetResponseError = (publicAuthMeGetResponse401) & {
581
+ headers: Headers;
582
+ };
583
+ export type publicAuthMeGetResponse = (publicAuthMeGetResponseSuccess | publicAuthMeGetResponseError);
584
+ export declare const getPublicAuthMeGetUrl: () => string;
585
+ export declare const publicAuthMeGet: (options?: RequestInit) => Promise<publicAuthMeGetResponse>;
586
+ /**
587
+ * Initiates an interaction session with Nubank for a customer. Returns a sourceId that must be used to end the interaction.
588
+ * @summary Start a Nubank customer interaction
589
+ */
590
+ export type publicClientsNubankInteractionsStartPostResponse201 = {
591
+ data: PublicClientsNubankInteractionsStartPost201;
592
+ status: 201;
593
+ };
594
+ export type publicClientsNubankInteractionsStartPostResponse400 = {
595
+ data: PublicClientsNubankInteractionsStartPost400;
596
+ status: 400;
597
+ };
598
+ export type publicClientsNubankInteractionsStartPostResponse401 = {
599
+ data: PublicClientsNubankInteractionsStartPost401;
600
+ status: 401;
601
+ };
602
+ export type publicClientsNubankInteractionsStartPostResponse500 = {
603
+ data: PublicClientsNubankInteractionsStartPost500;
604
+ status: 500;
605
+ };
606
+ export type publicClientsNubankInteractionsStartPostResponseSuccess = (publicClientsNubankInteractionsStartPostResponse201) & {
607
+ headers: Headers;
608
+ };
609
+ export type publicClientsNubankInteractionsStartPostResponseError = (publicClientsNubankInteractionsStartPostResponse400 | publicClientsNubankInteractionsStartPostResponse401 | publicClientsNubankInteractionsStartPostResponse500) & {
610
+ headers: Headers;
611
+ };
612
+ export type publicClientsNubankInteractionsStartPostResponse = (publicClientsNubankInteractionsStartPostResponseSuccess | publicClientsNubankInteractionsStartPostResponseError);
613
+ export declare const getPublicClientsNubankInteractionsStartPostUrl: () => string;
614
+ export declare const publicClientsNubankInteractionsStartPost: (publicClientsNubankInteractionsStartPostBody: PublicClientsNubankInteractionsStartPostBody, options?: RequestInit) => Promise<publicClientsNubankInteractionsStartPostResponse>;
615
+ /**
616
+ * Closes an interaction session with Nubank. The sourceId from the start interaction must be provided.
617
+ * @summary End a Nubank customer interaction
618
+ */
619
+ export type publicClientsNubankInteractionsEndPostResponse200 = {
620
+ data: PublicClientsNubankInteractionsEndPost200;
621
+ status: 200;
622
+ };
623
+ export type publicClientsNubankInteractionsEndPostResponse400 = {
624
+ data: PublicClientsNubankInteractionsEndPost400;
625
+ status: 400;
626
+ };
627
+ export type publicClientsNubankInteractionsEndPostResponse401 = {
628
+ data: PublicClientsNubankInteractionsEndPost401;
629
+ status: 401;
630
+ };
631
+ export type publicClientsNubankInteractionsEndPostResponse500 = {
632
+ data: PublicClientsNubankInteractionsEndPost500;
633
+ status: 500;
634
+ };
635
+ export type publicClientsNubankInteractionsEndPostResponseSuccess = (publicClientsNubankInteractionsEndPostResponse200) & {
636
+ headers: Headers;
637
+ };
638
+ export type publicClientsNubankInteractionsEndPostResponseError = (publicClientsNubankInteractionsEndPostResponse400 | publicClientsNubankInteractionsEndPostResponse401 | publicClientsNubankInteractionsEndPostResponse500) & {
639
+ headers: Headers;
640
+ };
641
+ export type publicClientsNubankInteractionsEndPostResponse = (publicClientsNubankInteractionsEndPostResponseSuccess | publicClientsNubankInteractionsEndPostResponseError);
642
+ export declare const getPublicClientsNubankInteractionsEndPostUrl: () => string;
643
+ export declare const publicClientsNubankInteractionsEndPost: (publicClientsNubankInteractionsEndPostBody: PublicClientsNubankInteractionsEndPostBody, options?: RequestInit) => Promise<publicClientsNubankInteractionsEndPostResponse>;
644
+ /**
645
+ * Retrieves debts for a Nubank customer. Optionally includes available payment offers when include_offers=true.
646
+ * @summary Get customer debts
647
+ */
648
+ export type publicClientsNubankDebtsCustomerIdGetResponse200 = {
649
+ data: PublicClientsNubankDebtsCustomerIdGet200;
650
+ status: 200;
651
+ };
652
+ export type publicClientsNubankDebtsCustomerIdGetResponse400 = {
653
+ data: PublicClientsNubankDebtsCustomerIdGet400;
654
+ status: 400;
655
+ };
656
+ export type publicClientsNubankDebtsCustomerIdGetResponse401 = {
657
+ data: PublicClientsNubankDebtsCustomerIdGet401;
658
+ status: 401;
659
+ };
660
+ export type publicClientsNubankDebtsCustomerIdGetResponse404 = {
661
+ data: PublicClientsNubankDebtsCustomerIdGet404;
662
+ status: 404;
663
+ };
664
+ export type publicClientsNubankDebtsCustomerIdGetResponse500 = {
665
+ data: PublicClientsNubankDebtsCustomerIdGet500;
666
+ status: 500;
667
+ };
668
+ export type publicClientsNubankDebtsCustomerIdGetResponseSuccess = (publicClientsNubankDebtsCustomerIdGetResponse200) & {
669
+ headers: Headers;
670
+ };
671
+ export type publicClientsNubankDebtsCustomerIdGetResponseError = (publicClientsNubankDebtsCustomerIdGetResponse400 | publicClientsNubankDebtsCustomerIdGetResponse401 | publicClientsNubankDebtsCustomerIdGetResponse404 | publicClientsNubankDebtsCustomerIdGetResponse500) & {
672
+ headers: Headers;
673
+ };
674
+ export type publicClientsNubankDebtsCustomerIdGetResponse = (publicClientsNubankDebtsCustomerIdGetResponseSuccess | publicClientsNubankDebtsCustomerIdGetResponseError);
675
+ export declare const getPublicClientsNubankDebtsCustomerIdGetUrl: (customerId: string, params?: PublicClientsNubankDebtsCustomerIdGetParams) => string;
676
+ export declare const publicClientsNubankDebtsCustomerIdGet: (customerId: string, params?: PublicClientsNubankDebtsCustomerIdGetParams, options?: RequestInit) => Promise<publicClientsNubankDebtsCustomerIdGetResponse>;
677
+ /**
678
+ * Creates a call result note in SST Loan Services for Domu.AI integration.
679
+ * @summary Create note in SST
680
+ */
681
+ export type publicClientsAloricaNotesPostResponse200 = {
682
+ data: PublicClientsAloricaNotesPost200;
683
+ status: 200;
684
+ };
685
+ export type publicClientsAloricaNotesPostResponse400 = {
686
+ data: PublicClientsAloricaNotesPost400;
687
+ status: 400;
688
+ };
689
+ export type publicClientsAloricaNotesPostResponse401 = {
690
+ data: PublicClientsAloricaNotesPost401;
691
+ status: 401;
692
+ };
693
+ export type publicClientsAloricaNotesPostResponse404 = {
694
+ data: PublicClientsAloricaNotesPost404;
695
+ status: 404;
696
+ };
697
+ export type publicClientsAloricaNotesPostResponse500 = {
698
+ data: PublicClientsAloricaNotesPost500;
699
+ status: 500;
700
+ };
701
+ export type publicClientsAloricaNotesPostResponseSuccess = (publicClientsAloricaNotesPostResponse200) & {
702
+ headers: Headers;
703
+ };
704
+ export type publicClientsAloricaNotesPostResponseError = (publicClientsAloricaNotesPostResponse400 | publicClientsAloricaNotesPostResponse401 | publicClientsAloricaNotesPostResponse404 | publicClientsAloricaNotesPostResponse500) & {
705
+ headers: Headers;
706
+ };
707
+ export type publicClientsAloricaNotesPostResponse = (publicClientsAloricaNotesPostResponseSuccess | publicClientsAloricaNotesPostResponseError);
708
+ export declare const getPublicClientsAloricaNotesPostUrl: (params: PublicClientsAloricaNotesPostParams) => string;
709
+ export declare const publicClientsAloricaNotesPost: (publicClientsAloricaNotesPostBody: PublicClientsAloricaNotesPostBody, params: PublicClientsAloricaNotesPostParams, options?: RequestInit) => Promise<publicClientsAloricaNotesPostResponse>;
710
+ /**
711
+ * @summary Get a contact by ID
712
+ */
713
+ export type publicContactsIdGetResponse200 = {
714
+ data: PublicContactsIdGet200;
715
+ status: 200;
716
+ };
717
+ export type publicContactsIdGetResponse400 = {
718
+ data: PublicContactsIdGet400;
719
+ status: 400;
720
+ };
721
+ export type publicContactsIdGetResponse401 = {
722
+ data: PublicContactsIdGet401;
723
+ status: 401;
724
+ };
725
+ export type publicContactsIdGetResponse404 = {
726
+ data: PublicContactsIdGet404;
727
+ status: 404;
728
+ };
729
+ export type publicContactsIdGetResponse500 = {
730
+ data: PublicContactsIdGet500;
731
+ status: 500;
732
+ };
733
+ export type publicContactsIdGetResponseSuccess = (publicContactsIdGetResponse200) & {
734
+ headers: Headers;
735
+ };
736
+ export type publicContactsIdGetResponseError = (publicContactsIdGetResponse400 | publicContactsIdGetResponse401 | publicContactsIdGetResponse404 | publicContactsIdGetResponse500) & {
737
+ headers: Headers;
738
+ };
739
+ export type publicContactsIdGetResponse = (publicContactsIdGetResponseSuccess | publicContactsIdGetResponseError);
740
+ export declare const getPublicContactsIdGetUrl: (id: string, params: PublicContactsIdGetParams) => string;
741
+ export declare const publicContactsIdGet: (id: string, params: PublicContactsIdGetParams, options?: RequestInit) => Promise<publicContactsIdGetResponse>;
742
+ /**
743
+ * @summary Update contact disposition data by ID
744
+ */
745
+ export type publicContactsIdPutResponse200 = {
746
+ data: PublicContactsIdPut200;
747
+ status: 200;
748
+ };
749
+ export type publicContactsIdPutResponse400 = {
750
+ data: PublicContactsIdPut400;
751
+ status: 400;
752
+ };
753
+ export type publicContactsIdPutResponse401 = {
754
+ data: PublicContactsIdPut401;
755
+ status: 401;
756
+ };
757
+ export type publicContactsIdPutResponse404 = {
758
+ data: PublicContactsIdPut404;
759
+ status: 404;
760
+ };
761
+ export type publicContactsIdPutResponse500 = {
762
+ data: PublicContactsIdPut500;
763
+ status: 500;
764
+ };
765
+ export type publicContactsIdPutResponseSuccess = (publicContactsIdPutResponse200) & {
766
+ headers: Headers;
767
+ };
768
+ export type publicContactsIdPutResponseError = (publicContactsIdPutResponse400 | publicContactsIdPutResponse401 | publicContactsIdPutResponse404 | publicContactsIdPutResponse500) & {
769
+ headers: Headers;
770
+ };
771
+ export type publicContactsIdPutResponse = (publicContactsIdPutResponseSuccess | publicContactsIdPutResponseError);
772
+ export declare const getPublicContactsIdPutUrl: (id: string, params: PublicContactsIdPutParams) => string;
773
+ export declare const publicContactsIdPut: (id: string, publicContactsIdPutBody: PublicContactsIdPutBody, params: PublicContactsIdPutParams, options?: RequestInit) => Promise<publicContactsIdPutResponse>;
774
+ /**
775
+ * Moneris Generic Payment Connector
776
+ * @summary Process an end-to-end Moneris payment
777
+ */
778
+ export type publicPaymentsConnectorsMonerisPostResponse200 = {
779
+ data: PublicPaymentsConnectorsMonerisPost200;
780
+ status: 200;
781
+ };
782
+ export type publicPaymentsConnectorsMonerisPostResponseSuccess = (publicPaymentsConnectorsMonerisPostResponse200) & {
783
+ headers: Headers;
784
+ };
785
+ export type publicPaymentsConnectorsMonerisPostResponse = (publicPaymentsConnectorsMonerisPostResponseSuccess);
786
+ export declare const getPublicPaymentsConnectorsMonerisPostUrl: () => string;
787
+ export declare const publicPaymentsConnectorsMonerisPost: (publicPaymentsConnectorsMonerisPostBody: PublicPaymentsConnectorsMonerisPostBody, options?: RequestInit) => Promise<publicPaymentsConnectorsMonerisPostResponse>;
788
+ /**
789
+ * Payliance Generic Payment Connector
790
+ * @summary Process a Payliance card verify, tokenize, and optional payment delegate
791
+ */
792
+ export type publicPaymentsConnectorsPayliancePostResponse200 = {
793
+ data: PublicPaymentsConnectorsPayliancePost200;
794
+ status: 200;
795
+ };
796
+ export type publicPaymentsConnectorsPayliancePostResponseSuccess = (publicPaymentsConnectorsPayliancePostResponse200) & {
797
+ headers: Headers;
798
+ };
799
+ export type publicPaymentsConnectorsPayliancePostResponse = (publicPaymentsConnectorsPayliancePostResponseSuccess);
800
+ export declare const getPublicPaymentsConnectorsPayliancePostUrl: () => string;
801
+ export declare const publicPaymentsConnectorsPayliancePost: (publicPaymentsConnectorsPayliancePostBody: PublicPaymentsConnectorsPayliancePostBody, options?: RequestInit) => Promise<publicPaymentsConnectorsPayliancePostResponse>;
802
+ /**
803
+ * Accepts Twilio Generic Pay Connector JSON callback. Orchestrates the full PayNearMe payment flow: resolves target by phone, finds or creates an order, reconciles amounts, tokenizes payment method, and processes payment.
804
+ * @summary Process an end-to-end PayNearMe payment
805
+ */
806
+ export type publicPaymentsConnectorsPaynearmePostResponse200 = {
807
+ data: PublicPaymentsConnectorsPaynearmePost200;
808
+ status: 200;
809
+ };
810
+ export type publicPaymentsConnectorsPaynearmePostResponseSuccess = (publicPaymentsConnectorsPaynearmePostResponse200) & {
811
+ headers: Headers;
812
+ };
813
+ export type publicPaymentsConnectorsPaynearmePostResponse = (publicPaymentsConnectorsPaynearmePostResponseSuccess);
814
+ export declare const getPublicPaymentsConnectorsPaynearmePostUrl: () => string;
815
+ export declare const publicPaymentsConnectorsPaynearmePost: (publicPaymentsConnectorsPaynearmePostBody: PublicPaymentsConnectorsPaynearmePostBody, options?: RequestInit) => Promise<publicPaymentsConnectorsPaynearmePostResponse>;
816
+ /**
817
+ * Payrazr Generic Payment Connector
818
+ * @summary Process a Payrazr card or ACH payment with customer resolution and fee calculation
819
+ */
820
+ export type publicPaymentsConnectorsPayrazrPostResponse200 = {
821
+ data: PublicPaymentsConnectorsPayrazrPost200;
822
+ status: 200;
823
+ };
824
+ export type publicPaymentsConnectorsPayrazrPostResponseSuccess = (publicPaymentsConnectorsPayrazrPostResponse200) & {
825
+ headers: Headers;
826
+ };
827
+ export type publicPaymentsConnectorsPayrazrPostResponse = (publicPaymentsConnectorsPayrazrPostResponseSuccess);
828
+ export declare const getPublicPaymentsConnectorsPayrazrPostUrl: () => string;
829
+ export declare const publicPaymentsConnectorsPayrazrPost: (publicPaymentsConnectorsPayrazrPostBody: PublicPaymentsConnectorsPayrazrPostBody, options?: RequestInit) => Promise<publicPaymentsConnectorsPayrazrPostResponse>;
830
+ /**
831
+ * Repay Generic Payment Connector
832
+ * @summary Process an end-to-end Repay payment
833
+ */
834
+ export type publicPaymentsConnectorsRepayPostResponse200 = {
835
+ data: PublicPaymentsConnectorsRepayPost200;
836
+ status: 200;
837
+ };
838
+ export type publicPaymentsConnectorsRepayPostResponseSuccess = (publicPaymentsConnectorsRepayPostResponse200) & {
839
+ headers: Headers;
840
+ };
841
+ export type publicPaymentsConnectorsRepayPostResponse = (publicPaymentsConnectorsRepayPostResponseSuccess);
842
+ export declare const getPublicPaymentsConnectorsRepayPostUrl: () => string;
843
+ export declare const publicPaymentsConnectorsRepayPost: (publicPaymentsConnectorsRepayPostBody: PublicPaymentsConnectorsRepayPostBody, options?: RequestInit) => Promise<publicPaymentsConnectorsRepayPostResponse>;
844
+ /**
845
+ * Accepts Twilio Generic Pay Connector JSON callback. Resolves target by phone, determines funding account (existing via payment_method_id or new card/ACH), and processes payment through SpeedPay.
846
+ * @summary Process an end-to-end SpeedPay payment
847
+ */
848
+ export type publicPaymentsConnectorsSpeedpayPostResponse200 = {
849
+ data: PublicPaymentsConnectorsSpeedpayPost200;
850
+ status: 200;
851
+ };
852
+ export type publicPaymentsConnectorsSpeedpayPostResponseSuccess = (publicPaymentsConnectorsSpeedpayPostResponse200) & {
853
+ headers: Headers;
854
+ };
855
+ export type publicPaymentsConnectorsSpeedpayPostResponse = (publicPaymentsConnectorsSpeedpayPostResponseSuccess);
856
+ export declare const getPublicPaymentsConnectorsSpeedpayPostUrl: () => string;
857
+ export declare const publicPaymentsConnectorsSpeedpayPost: (publicPaymentsConnectorsSpeedpayPostBody: PublicPaymentsConnectorsSpeedpayPostBody, options?: RequestInit) => Promise<publicPaymentsConnectorsSpeedpayPostResponse>;
858
+ /**
859
+ * Accepts Twilio Generic Pay Connector JSON callback. Resolves target by phone, processes payment through SwervePay, and returns charge_id or error.
860
+ * @summary Process an end-to-end SwervePay payment
861
+ */
862
+ export type publicPaymentsConnectorsSwervepayPostResponse200 = {
863
+ data: PublicPaymentsConnectorsSwervepayPost200;
864
+ status: 200;
865
+ };
866
+ export type publicPaymentsConnectorsSwervepayPostResponseSuccess = (publicPaymentsConnectorsSwervepayPostResponse200) & {
867
+ headers: Headers;
868
+ };
869
+ export type publicPaymentsConnectorsSwervepayPostResponse = (publicPaymentsConnectorsSwervepayPostResponseSuccess);
870
+ export declare const getPublicPaymentsConnectorsSwervepayPostUrl: () => string;
871
+ export declare const publicPaymentsConnectorsSwervepayPost: (publicPaymentsConnectorsSwervepayPostBody: PublicPaymentsConnectorsSwervepayPostBody, options?: RequestInit) => Promise<publicPaymentsConnectorsSwervepayPostResponse>;