@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,1487 @@
1
+ /**
2
+ * Generated by orval v8.2.0 🍺
3
+ * Do not edit manually.
4
+ * Kiban API
5
+ * REST API for application integration. Production-ready endpoints with enterprise-grade reliability.
6
+ * OpenAPI spec version: 1.0.0
7
+ */
8
+ import * as zod from 'zod';
9
+ /**
10
+ * 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.
11
+ * @summary Basic service availability check
12
+ */
13
+ export declare const CheckResponse: zod.ZodObject<{
14
+ status: zod.ZodEnum<["ok"]>;
15
+ timestamp: zod.ZodString;
16
+ }, "strip", zod.ZodTypeAny, {
17
+ status: "ok";
18
+ timestamp: string;
19
+ }, {
20
+ status: "ok";
21
+ timestamp: string;
22
+ }>;
23
+ /**
24
+ * Returns the authenticated user information including userId, sessionId, and organization details. Requires valid Bearer token in Authorization header.
25
+ * @summary Get authenticated user information
26
+ */
27
+ export declare const MeResponse: zod.ZodObject<{
28
+ userId: zod.ZodString;
29
+ sessionId: zod.ZodString;
30
+ orgId: zod.ZodNullable<zod.ZodString>;
31
+ orgRole: zod.ZodNullable<zod.ZodString>;
32
+ }, "strip", zod.ZodTypeAny, {
33
+ userId: string;
34
+ sessionId: string;
35
+ orgId: string | null;
36
+ orgRole: string | null;
37
+ }, {
38
+ userId: string;
39
+ sessionId: string;
40
+ orgId: string | null;
41
+ orgRole: string | null;
42
+ }>;
43
+ /**
44
+ * Initiates an interaction session with Nubank for a customer. Returns a sourceId that must be used to end the interaction.
45
+ * @summary Start a Nubank customer interaction
46
+ */
47
+ export declare const startBodyPhoneNumberRegExp: RegExp;
48
+ export declare const startBodyTypeDefault = "ai-voice-dialer";
49
+ export declare const StartBody: zod.ZodObject<{
50
+ customerId: zod.ZodString;
51
+ phoneNumber: zod.ZodString;
52
+ type: zod.ZodDefault<zod.ZodString>;
53
+ }, "strip", zod.ZodTypeAny, {
54
+ type: string;
55
+ customerId: string;
56
+ phoneNumber: string;
57
+ }, {
58
+ customerId: string;
59
+ phoneNumber: string;
60
+ type?: string | undefined;
61
+ }>;
62
+ /**
63
+ * Closes an interaction session with Nubank. The sourceId from the start interaction must be provided.
64
+ * @summary End a Nubank customer interaction
65
+ */
66
+ export declare const EndBody: zod.ZodObject<{
67
+ sourceId: zod.ZodString;
68
+ customerId: zod.ZodString;
69
+ }, "strip", zod.ZodTypeAny, {
70
+ customerId: string;
71
+ sourceId: string;
72
+ }, {
73
+ customerId: string;
74
+ sourceId: string;
75
+ }>;
76
+ export declare const EndResponse: zod.ZodObject<{
77
+ success: zod.ZodBoolean;
78
+ }, "strip", zod.ZodTypeAny, {
79
+ success: boolean;
80
+ }, {
81
+ success: boolean;
82
+ }>;
83
+ /**
84
+ * Retrieves debts for a Nubank customer. Optionally includes available payment offers when include_offers=true.
85
+ * @summary Get customer debts
86
+ */
87
+ export declare const GetDebtsParams: zod.ZodObject<{
88
+ customerId: zod.ZodString;
89
+ }, "strip", zod.ZodTypeAny, {
90
+ customerId: string;
91
+ }, {
92
+ customerId: string;
93
+ }>;
94
+ export declare const getDebtsQueryIncludeOffersDefault = false;
95
+ export declare const GetDebtsQueryParams: zod.ZodObject<{
96
+ include_offers: zod.ZodDefault<zod.ZodBoolean>;
97
+ }, "strip", zod.ZodTypeAny, {
98
+ include_offers: boolean;
99
+ }, {
100
+ include_offers?: boolean | undefined;
101
+ }>;
102
+ export declare const GetDebtsResponse: zod.ZodUnion<[zod.ZodObject<{
103
+ customerId: zod.ZodString;
104
+ debts: zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
105
+ late: zod.ZodOptional<zod.ZodString>;
106
+ start: zod.ZodOptional<zod.ZodString>;
107
+ total: zod.ZodOptional<zod.ZodString>;
108
+ current: zod.ZodOptional<zod.ZodString>;
109
+ principal: zod.ZodOptional<zod.ZodString>;
110
+ days_late: zod.ZodOptional<zod.ZodNumber>;
111
+ product: zod.ZodOptional<zod.ZodObject<{
112
+ type: zod.ZodString;
113
+ reference_id: zod.ZodString;
114
+ }, "strip", zod.ZodTypeAny, {
115
+ type: string;
116
+ reference_id: string;
117
+ }, {
118
+ type: string;
119
+ reference_id: string;
120
+ }>>;
121
+ }, "strip", zod.ZodTypeAny, {
122
+ late?: string | undefined;
123
+ start?: string | undefined;
124
+ total?: string | undefined;
125
+ current?: string | undefined;
126
+ principal?: string | undefined;
127
+ days_late?: number | undefined;
128
+ product?: {
129
+ type: string;
130
+ reference_id: string;
131
+ } | undefined;
132
+ }, {
133
+ late?: string | undefined;
134
+ start?: string | undefined;
135
+ total?: string | undefined;
136
+ current?: string | undefined;
137
+ principal?: string | undefined;
138
+ days_late?: number | undefined;
139
+ product?: {
140
+ type: string;
141
+ reference_id: string;
142
+ } | undefined;
143
+ }>, "many">, zod.ZodObject<{
144
+ error: zod.ZodString;
145
+ statusCode: zod.ZodOptional<zod.ZodString>;
146
+ }, "strip", zod.ZodTypeAny, {
147
+ error: string;
148
+ statusCode?: string | undefined;
149
+ }, {
150
+ error: string;
151
+ statusCode?: string | undefined;
152
+ }>]>;
153
+ }, "strip", zod.ZodTypeAny, {
154
+ customerId: string;
155
+ debts: {
156
+ late?: string | undefined;
157
+ start?: string | undefined;
158
+ total?: string | undefined;
159
+ current?: string | undefined;
160
+ principal?: string | undefined;
161
+ days_late?: number | undefined;
162
+ product?: {
163
+ type: string;
164
+ reference_id: string;
165
+ } | undefined;
166
+ }[] | {
167
+ error: string;
168
+ statusCode?: string | undefined;
169
+ };
170
+ }, {
171
+ customerId: string;
172
+ debts: {
173
+ late?: string | undefined;
174
+ start?: string | undefined;
175
+ total?: string | undefined;
176
+ current?: string | undefined;
177
+ principal?: string | undefined;
178
+ days_late?: number | undefined;
179
+ product?: {
180
+ type: string;
181
+ reference_id: string;
182
+ } | undefined;
183
+ }[] | {
184
+ error: string;
185
+ statusCode?: string | undefined;
186
+ };
187
+ }>, zod.ZodObject<{
188
+ customerId: zod.ZodString;
189
+ debts: zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
190
+ late: zod.ZodOptional<zod.ZodString>;
191
+ start: zod.ZodOptional<zod.ZodString>;
192
+ total: zod.ZodOptional<zod.ZodString>;
193
+ current: zod.ZodOptional<zod.ZodString>;
194
+ principal: zod.ZodOptional<zod.ZodString>;
195
+ days_late: zod.ZodOptional<zod.ZodNumber>;
196
+ product: zod.ZodOptional<zod.ZodObject<{
197
+ type: zod.ZodString;
198
+ reference_id: zod.ZodString;
199
+ }, "strip", zod.ZodTypeAny, {
200
+ type: string;
201
+ reference_id: string;
202
+ }, {
203
+ type: string;
204
+ reference_id: string;
205
+ }>>;
206
+ }, "strip", zod.ZodTypeAny, {
207
+ late?: string | undefined;
208
+ start?: string | undefined;
209
+ total?: string | undefined;
210
+ current?: string | undefined;
211
+ principal?: string | undefined;
212
+ days_late?: number | undefined;
213
+ product?: {
214
+ type: string;
215
+ reference_id: string;
216
+ } | undefined;
217
+ }, {
218
+ late?: string | undefined;
219
+ start?: string | undefined;
220
+ total?: string | undefined;
221
+ current?: string | undefined;
222
+ principal?: string | undefined;
223
+ days_late?: number | undefined;
224
+ product?: {
225
+ type: string;
226
+ reference_id: string;
227
+ } | undefined;
228
+ }>, "many">, zod.ZodObject<{
229
+ error: zod.ZodString;
230
+ statusCode: zod.ZodOptional<zod.ZodString>;
231
+ }, "strip", zod.ZodTypeAny, {
232
+ error: string;
233
+ statusCode?: string | undefined;
234
+ }, {
235
+ error: string;
236
+ statusCode?: string | undefined;
237
+ }>]>;
238
+ offers: zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
239
+ type: zod.ZodString;
240
+ offers: zod.ZodObject<{
241
+ single_payment: zod.ZodOptional<zod.ZodObject<{
242
+ debt: zod.ZodString;
243
+ discount: zod.ZodString;
244
+ discount_percentage: zod.ZodString;
245
+ downpayment: zod.ZodString;
246
+ downpayment_due_date: zod.ZodString;
247
+ simulation_id: zod.ZodString;
248
+ created_at: zod.ZodString;
249
+ }, "strip", zod.ZodTypeAny, {
250
+ debt: string;
251
+ discount: string;
252
+ discount_percentage: string;
253
+ downpayment: string;
254
+ downpayment_due_date: string;
255
+ simulation_id: string;
256
+ created_at: string;
257
+ }, {
258
+ debt: string;
259
+ discount: string;
260
+ discount_percentage: string;
261
+ downpayment: string;
262
+ downpayment_due_date: string;
263
+ simulation_id: string;
264
+ created_at: string;
265
+ }>>;
266
+ installments: zod.ZodOptional<zod.ZodObject<{
267
+ downpayment: zod.ZodString;
268
+ downpayment_due_date: zod.ZodString;
269
+ has_installments_boleto: zod.ZodBoolean;
270
+ first_installment_due_date: zod.ZodString;
271
+ due_day: zod.ZodNumber;
272
+ created_at: zod.ZodString;
273
+ installment_options: zod.ZodArray<zod.ZodObject<{
274
+ simulation_id: zod.ZodString;
275
+ number_of_installments: zod.ZodNumber;
276
+ installment_amount: zod.ZodString;
277
+ debt: zod.ZodString;
278
+ discount_percentage: zod.ZodString;
279
+ total_to_pay: zod.ZodString;
280
+ iof: zod.ZodString;
281
+ interest_rate: zod.ZodString;
282
+ interest: zod.ZodString;
283
+ discount: zod.ZodString;
284
+ monthly_cet: zod.ZodString;
285
+ yearly_cet: zod.ZodString;
286
+ }, "strip", zod.ZodTypeAny, {
287
+ debt: string;
288
+ discount: string;
289
+ discount_percentage: string;
290
+ simulation_id: string;
291
+ number_of_installments: number;
292
+ installment_amount: string;
293
+ total_to_pay: string;
294
+ iof: string;
295
+ interest_rate: string;
296
+ interest: string;
297
+ monthly_cet: string;
298
+ yearly_cet: string;
299
+ }, {
300
+ debt: string;
301
+ discount: string;
302
+ discount_percentage: string;
303
+ simulation_id: string;
304
+ number_of_installments: number;
305
+ installment_amount: string;
306
+ total_to_pay: string;
307
+ iof: string;
308
+ interest_rate: string;
309
+ interest: string;
310
+ monthly_cet: string;
311
+ yearly_cet: string;
312
+ }>, "many">;
313
+ }, "strip", zod.ZodTypeAny, {
314
+ downpayment: string;
315
+ downpayment_due_date: string;
316
+ created_at: string;
317
+ has_installments_boleto: boolean;
318
+ first_installment_due_date: string;
319
+ due_day: number;
320
+ installment_options: {
321
+ debt: string;
322
+ discount: string;
323
+ discount_percentage: string;
324
+ simulation_id: string;
325
+ number_of_installments: number;
326
+ installment_amount: string;
327
+ total_to_pay: string;
328
+ iof: string;
329
+ interest_rate: string;
330
+ interest: string;
331
+ monthly_cet: string;
332
+ yearly_cet: string;
333
+ }[];
334
+ }, {
335
+ downpayment: string;
336
+ downpayment_due_date: string;
337
+ created_at: string;
338
+ has_installments_boleto: boolean;
339
+ first_installment_due_date: string;
340
+ due_day: number;
341
+ installment_options: {
342
+ debt: string;
343
+ discount: string;
344
+ discount_percentage: string;
345
+ simulation_id: string;
346
+ number_of_installments: number;
347
+ installment_amount: string;
348
+ total_to_pay: string;
349
+ iof: string;
350
+ interest_rate: string;
351
+ interest: string;
352
+ monthly_cet: string;
353
+ yearly_cet: string;
354
+ }[];
355
+ }>>;
356
+ }, "strip", zod.ZodTypeAny, {
357
+ single_payment?: {
358
+ debt: string;
359
+ discount: string;
360
+ discount_percentage: string;
361
+ downpayment: string;
362
+ downpayment_due_date: string;
363
+ simulation_id: string;
364
+ created_at: string;
365
+ } | undefined;
366
+ installments?: {
367
+ downpayment: string;
368
+ downpayment_due_date: string;
369
+ created_at: string;
370
+ has_installments_boleto: boolean;
371
+ first_installment_due_date: string;
372
+ due_day: number;
373
+ installment_options: {
374
+ debt: string;
375
+ discount: string;
376
+ discount_percentage: string;
377
+ simulation_id: string;
378
+ number_of_installments: number;
379
+ installment_amount: string;
380
+ total_to_pay: string;
381
+ iof: string;
382
+ interest_rate: string;
383
+ interest: string;
384
+ monthly_cet: string;
385
+ yearly_cet: string;
386
+ }[];
387
+ } | undefined;
388
+ }, {
389
+ single_payment?: {
390
+ debt: string;
391
+ discount: string;
392
+ discount_percentage: string;
393
+ downpayment: string;
394
+ downpayment_due_date: string;
395
+ simulation_id: string;
396
+ created_at: string;
397
+ } | undefined;
398
+ installments?: {
399
+ downpayment: string;
400
+ downpayment_due_date: string;
401
+ created_at: string;
402
+ has_installments_boleto: boolean;
403
+ first_installment_due_date: string;
404
+ due_day: number;
405
+ installment_options: {
406
+ debt: string;
407
+ discount: string;
408
+ discount_percentage: string;
409
+ simulation_id: string;
410
+ number_of_installments: number;
411
+ installment_amount: string;
412
+ total_to_pay: string;
413
+ iof: string;
414
+ interest_rate: string;
415
+ interest: string;
416
+ monthly_cet: string;
417
+ yearly_cet: string;
418
+ }[];
419
+ } | undefined;
420
+ }>;
421
+ product: zod.ZodObject<{
422
+ type: zod.ZodString;
423
+ reference_id: zod.ZodString;
424
+ }, "strip", zod.ZodTypeAny, {
425
+ type: string;
426
+ reference_id: string;
427
+ }, {
428
+ type: string;
429
+ reference_id: string;
430
+ }>;
431
+ }, "strip", zod.ZodTypeAny, {
432
+ type: string;
433
+ product: {
434
+ type: string;
435
+ reference_id: string;
436
+ };
437
+ offers: {
438
+ single_payment?: {
439
+ debt: string;
440
+ discount: string;
441
+ discount_percentage: string;
442
+ downpayment: string;
443
+ downpayment_due_date: string;
444
+ simulation_id: string;
445
+ created_at: string;
446
+ } | undefined;
447
+ installments?: {
448
+ downpayment: string;
449
+ downpayment_due_date: string;
450
+ created_at: string;
451
+ has_installments_boleto: boolean;
452
+ first_installment_due_date: string;
453
+ due_day: number;
454
+ installment_options: {
455
+ debt: string;
456
+ discount: string;
457
+ discount_percentage: string;
458
+ simulation_id: string;
459
+ number_of_installments: number;
460
+ installment_amount: string;
461
+ total_to_pay: string;
462
+ iof: string;
463
+ interest_rate: string;
464
+ interest: string;
465
+ monthly_cet: string;
466
+ yearly_cet: string;
467
+ }[];
468
+ } | undefined;
469
+ };
470
+ }, {
471
+ type: string;
472
+ product: {
473
+ type: string;
474
+ reference_id: string;
475
+ };
476
+ offers: {
477
+ single_payment?: {
478
+ debt: string;
479
+ discount: string;
480
+ discount_percentage: string;
481
+ downpayment: string;
482
+ downpayment_due_date: string;
483
+ simulation_id: string;
484
+ created_at: string;
485
+ } | undefined;
486
+ installments?: {
487
+ downpayment: string;
488
+ downpayment_due_date: string;
489
+ created_at: string;
490
+ has_installments_boleto: boolean;
491
+ first_installment_due_date: string;
492
+ due_day: number;
493
+ installment_options: {
494
+ debt: string;
495
+ discount: string;
496
+ discount_percentage: string;
497
+ simulation_id: string;
498
+ number_of_installments: number;
499
+ installment_amount: string;
500
+ total_to_pay: string;
501
+ iof: string;
502
+ interest_rate: string;
503
+ interest: string;
504
+ monthly_cet: string;
505
+ yearly_cet: string;
506
+ }[];
507
+ } | undefined;
508
+ };
509
+ }>, "many">, zod.ZodObject<{
510
+ error: zod.ZodString;
511
+ statusCode: zod.ZodOptional<zod.ZodString>;
512
+ }, "strip", zod.ZodTypeAny, {
513
+ error: string;
514
+ statusCode?: string | undefined;
515
+ }, {
516
+ error: string;
517
+ statusCode?: string | undefined;
518
+ }>]>;
519
+ }, "strip", zod.ZodTypeAny, {
520
+ customerId: string;
521
+ debts: {
522
+ late?: string | undefined;
523
+ start?: string | undefined;
524
+ total?: string | undefined;
525
+ current?: string | undefined;
526
+ principal?: string | undefined;
527
+ days_late?: number | undefined;
528
+ product?: {
529
+ type: string;
530
+ reference_id: string;
531
+ } | undefined;
532
+ }[] | {
533
+ error: string;
534
+ statusCode?: string | undefined;
535
+ };
536
+ offers: {
537
+ type: string;
538
+ product: {
539
+ type: string;
540
+ reference_id: string;
541
+ };
542
+ offers: {
543
+ single_payment?: {
544
+ debt: string;
545
+ discount: string;
546
+ discount_percentage: string;
547
+ downpayment: string;
548
+ downpayment_due_date: string;
549
+ simulation_id: string;
550
+ created_at: string;
551
+ } | undefined;
552
+ installments?: {
553
+ downpayment: string;
554
+ downpayment_due_date: string;
555
+ created_at: string;
556
+ has_installments_boleto: boolean;
557
+ first_installment_due_date: string;
558
+ due_day: number;
559
+ installment_options: {
560
+ debt: string;
561
+ discount: string;
562
+ discount_percentage: string;
563
+ simulation_id: string;
564
+ number_of_installments: number;
565
+ installment_amount: string;
566
+ total_to_pay: string;
567
+ iof: string;
568
+ interest_rate: string;
569
+ interest: string;
570
+ monthly_cet: string;
571
+ yearly_cet: string;
572
+ }[];
573
+ } | undefined;
574
+ };
575
+ }[] | {
576
+ error: string;
577
+ statusCode?: string | undefined;
578
+ };
579
+ }, {
580
+ customerId: string;
581
+ debts: {
582
+ late?: string | undefined;
583
+ start?: string | undefined;
584
+ total?: string | undefined;
585
+ current?: string | undefined;
586
+ principal?: string | undefined;
587
+ days_late?: number | undefined;
588
+ product?: {
589
+ type: string;
590
+ reference_id: string;
591
+ } | undefined;
592
+ }[] | {
593
+ error: string;
594
+ statusCode?: string | undefined;
595
+ };
596
+ offers: {
597
+ type: string;
598
+ product: {
599
+ type: string;
600
+ reference_id: string;
601
+ };
602
+ offers: {
603
+ single_payment?: {
604
+ debt: string;
605
+ discount: string;
606
+ discount_percentage: string;
607
+ downpayment: string;
608
+ downpayment_due_date: string;
609
+ simulation_id: string;
610
+ created_at: string;
611
+ } | undefined;
612
+ installments?: {
613
+ downpayment: string;
614
+ downpayment_due_date: string;
615
+ created_at: string;
616
+ has_installments_boleto: boolean;
617
+ first_installment_due_date: string;
618
+ due_day: number;
619
+ installment_options: {
620
+ debt: string;
621
+ discount: string;
622
+ discount_percentage: string;
623
+ simulation_id: string;
624
+ number_of_installments: number;
625
+ installment_amount: string;
626
+ total_to_pay: string;
627
+ iof: string;
628
+ interest_rate: string;
629
+ interest: string;
630
+ monthly_cet: string;
631
+ yearly_cet: string;
632
+ }[];
633
+ } | undefined;
634
+ };
635
+ }[] | {
636
+ error: string;
637
+ statusCode?: string | undefined;
638
+ };
639
+ }>]>;
640
+ /**
641
+ * Creates a call result note in SST Loan Services for Domu.AI integration.
642
+ * @summary Create note in SST
643
+ */
644
+ export declare const CreateAloricaNoteQueryParams: zod.ZodObject<{
645
+ campaignId: zod.ZodString;
646
+ }, "strip", zod.ZodTypeAny, {
647
+ campaignId: string;
648
+ }, {
649
+ campaignId: string;
650
+ }>;
651
+ export declare const CreateAloricaNoteBody: zod.ZodObject<{
652
+ phoneNumber: zod.ZodString;
653
+ result: zod.ZodEnum<["PAYMENT", "PROMISE", "PAYOFF_QUOTE_REQUEST", "ACCOUNT_INQUIRY", "ACCOUNT_UNLOCK", "GENERAL"]>;
654
+ note: zod.ZodString;
655
+ }, "strip", zod.ZodTypeAny, {
656
+ phoneNumber: string;
657
+ result: "PAYMENT" | "PROMISE" | "PAYOFF_QUOTE_REQUEST" | "ACCOUNT_INQUIRY" | "ACCOUNT_UNLOCK" | "GENERAL";
658
+ note: string;
659
+ }, {
660
+ phoneNumber: string;
661
+ result: "PAYMENT" | "PROMISE" | "PAYOFF_QUOTE_REQUEST" | "ACCOUNT_INQUIRY" | "ACCOUNT_UNLOCK" | "GENERAL";
662
+ note: string;
663
+ }>;
664
+ export declare const CreateAloricaNoteResponse: zod.ZodObject<{
665
+ returnMessage: zod.ZodEnum<["OK", "INVALID_ACCOUNT_NUMBER", "INVALID_RESULT_TYPE", "INTERNAL"]>;
666
+ }, "strip", zod.ZodTypeAny, {
667
+ returnMessage: "OK" | "INVALID_ACCOUNT_NUMBER" | "INVALID_RESULT_TYPE" | "INTERNAL";
668
+ }, {
669
+ returnMessage: "OK" | "INVALID_ACCOUNT_NUMBER" | "INVALID_RESULT_TYPE" | "INTERNAL";
670
+ }>;
671
+ /**
672
+ * @summary Get a contact by ID
673
+ */
674
+ export declare const GetContactParams: zod.ZodObject<{
675
+ id: zod.ZodString;
676
+ }, "strip", zod.ZodTypeAny, {
677
+ id: string;
678
+ }, {
679
+ id: string;
680
+ }>;
681
+ export declare const GetContactQueryParams: zod.ZodObject<{
682
+ campaignId: zod.ZodString;
683
+ }, "strip", zod.ZodTypeAny, {
684
+ campaignId: string;
685
+ }, {
686
+ campaignId: string;
687
+ }>;
688
+ export declare const GetContactResponse: zod.ZodObject<{
689
+ contactId: zod.ZodString;
690
+ contact: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
691
+ }, "strip", zod.ZodTypeAny, {
692
+ contactId: string;
693
+ contact: Record<string, unknown>;
694
+ }, {
695
+ contactId: string;
696
+ contact: Record<string, unknown>;
697
+ }>;
698
+ /**
699
+ * @summary Update contact disposition data by ID
700
+ */
701
+ export declare const UpdateContactParams: zod.ZodObject<{
702
+ id: zod.ZodString;
703
+ }, "strip", zod.ZodTypeAny, {
704
+ id: string;
705
+ }, {
706
+ id: string;
707
+ }>;
708
+ export declare const UpdateContactQueryParams: zod.ZodObject<{
709
+ campaignId: zod.ZodString;
710
+ }, "strip", zod.ZodTypeAny, {
711
+ campaignId: string;
712
+ }, {
713
+ campaignId: string;
714
+ }>;
715
+ export declare const UpdateContactBody: zod.ZodObject<{
716
+ resultCode: zod.ZodOptional<zod.ZodString>;
717
+ attributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodNullable<zod.ZodString>>>;
718
+ }, "strip", zod.ZodTypeAny, {
719
+ resultCode?: string | undefined;
720
+ attributes?: Record<string, string | null> | undefined;
721
+ }, {
722
+ resultCode?: string | undefined;
723
+ attributes?: Record<string, string | null> | undefined;
724
+ }>;
725
+ export declare const UpdateContactResponse: zod.ZodObject<{
726
+ contactId: zod.ZodString;
727
+ }, "strip", zod.ZodTypeAny, {
728
+ contactId: string;
729
+ }, {
730
+ contactId: string;
731
+ }>;
732
+ /**
733
+ * Moneris Generic Payment Connector
734
+ * @summary Process an end-to-end Moneris payment
735
+ */
736
+ export declare const ProcessMonerisPaymentBody: zod.ZodObject<{
737
+ transaction_id: zod.ZodString;
738
+ amount: zod.ZodString;
739
+ currency_code: zod.ZodOptional<zod.ZodString>;
740
+ method: zod.ZodOptional<zod.ZodString>;
741
+ description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
742
+ cardnumber: zod.ZodOptional<zod.ZodString>;
743
+ cvv: zod.ZodOptional<zod.ZodString>;
744
+ expiry_month: zod.ZodOptional<zod.ZodString>;
745
+ expiry_year: zod.ZodOptional<zod.ZodString>;
746
+ postal_code: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
747
+ bankaccountnumber: zod.ZodOptional<zod.ZodString>;
748
+ routing_number: zod.ZodOptional<zod.ZodString>;
749
+ account_type: zod.ZodOptional<zod.ZodString>;
750
+ parameters: zod.ZodObject<{
751
+ campaignid: zod.ZodString;
752
+ callerphone: zod.ZodString;
753
+ sessionid: zod.ZodOptional<zod.ZodString>;
754
+ payment_method_id: zod.ZodOptional<zod.ZodString>;
755
+ paymentdate: zod.ZodOptional<zod.ZodString>;
756
+ planfrequency: zod.ZodOptional<zod.ZodString>;
757
+ plantype: zod.ZodOptional<zod.ZodString>;
758
+ numberofpayments: zod.ZodOptional<zod.ZodString>;
759
+ }, "strip", zod.ZodTypeAny, {
760
+ campaignid: string;
761
+ callerphone: string;
762
+ sessionid?: string | undefined;
763
+ payment_method_id?: string | undefined;
764
+ paymentdate?: string | undefined;
765
+ planfrequency?: string | undefined;
766
+ plantype?: string | undefined;
767
+ numberofpayments?: string | undefined;
768
+ }, {
769
+ campaignid: string;
770
+ callerphone: string;
771
+ sessionid?: string | undefined;
772
+ payment_method_id?: string | undefined;
773
+ paymentdate?: string | undefined;
774
+ planfrequency?: string | undefined;
775
+ plantype?: string | undefined;
776
+ numberofpayments?: string | undefined;
777
+ }>;
778
+ }, "strip", zod.ZodTypeAny, {
779
+ transaction_id: string;
780
+ amount: string;
781
+ parameters: {
782
+ campaignid: string;
783
+ callerphone: string;
784
+ sessionid?: string | undefined;
785
+ payment_method_id?: string | undefined;
786
+ paymentdate?: string | undefined;
787
+ planfrequency?: string | undefined;
788
+ plantype?: string | undefined;
789
+ numberofpayments?: string | undefined;
790
+ };
791
+ method?: string | undefined;
792
+ currency_code?: string | undefined;
793
+ description?: string | null | undefined;
794
+ cardnumber?: string | undefined;
795
+ cvv?: string | undefined;
796
+ expiry_month?: string | undefined;
797
+ expiry_year?: string | undefined;
798
+ postal_code?: string | null | undefined;
799
+ bankaccountnumber?: string | undefined;
800
+ routing_number?: string | undefined;
801
+ account_type?: string | undefined;
802
+ }, {
803
+ transaction_id: string;
804
+ amount: string;
805
+ parameters: {
806
+ campaignid: string;
807
+ callerphone: string;
808
+ sessionid?: string | undefined;
809
+ payment_method_id?: string | undefined;
810
+ paymentdate?: string | undefined;
811
+ planfrequency?: string | undefined;
812
+ plantype?: string | undefined;
813
+ numberofpayments?: string | undefined;
814
+ };
815
+ method?: string | undefined;
816
+ currency_code?: string | undefined;
817
+ description?: string | null | undefined;
818
+ cardnumber?: string | undefined;
819
+ cvv?: string | undefined;
820
+ expiry_month?: string | undefined;
821
+ expiry_year?: string | undefined;
822
+ postal_code?: string | null | undefined;
823
+ bankaccountnumber?: string | undefined;
824
+ routing_number?: string | undefined;
825
+ account_type?: string | undefined;
826
+ }>;
827
+ export declare const ProcessMonerisPaymentResponse: zod.ZodObject<{
828
+ charge_id: zod.ZodString;
829
+ error_code: zod.ZodNullable<zod.ZodString>;
830
+ error_message: zod.ZodNullable<zod.ZodString>;
831
+ }, "strip", zod.ZodTypeAny, {
832
+ charge_id: string;
833
+ error_code: string | null;
834
+ error_message: string | null;
835
+ }, {
836
+ charge_id: string;
837
+ error_code: string | null;
838
+ error_message: string | null;
839
+ }>;
840
+ /**
841
+ * Payliance Generic Payment Connector
842
+ * @summary Process a Payliance card verify, tokenize, and optional payment delegate
843
+ */
844
+ export declare const ProcessPayliancePaymentBody: zod.ZodObject<{
845
+ transaction_id: zod.ZodString;
846
+ amount: zod.ZodString;
847
+ currency_code: zod.ZodOptional<zod.ZodString>;
848
+ method: zod.ZodOptional<zod.ZodString>;
849
+ description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
850
+ cardnumber: zod.ZodOptional<zod.ZodString>;
851
+ cvv: zod.ZodOptional<zod.ZodString>;
852
+ expiry_month: zod.ZodOptional<zod.ZodString>;
853
+ expiry_year: zod.ZodOptional<zod.ZodString>;
854
+ postal_code: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
855
+ bankaccountnumber: zod.ZodOptional<zod.ZodString>;
856
+ routing_number: zod.ZodOptional<zod.ZodString>;
857
+ account_type: zod.ZodOptional<zod.ZodString>;
858
+ parameters: zod.ZodObject<{
859
+ campaignid: zod.ZodString;
860
+ callerphone: zod.ZodString;
861
+ sessionid: zod.ZodOptional<zod.ZodString>;
862
+ payment_method_id: zod.ZodOptional<zod.ZodString>;
863
+ paymentdate: zod.ZodOptional<zod.ZodString>;
864
+ planfrequency: zod.ZodOptional<zod.ZodString>;
865
+ plantype: zod.ZodOptional<zod.ZodString>;
866
+ numberofpayments: zod.ZodOptional<zod.ZodString>;
867
+ }, "strip", zod.ZodTypeAny, {
868
+ campaignid: string;
869
+ callerphone: string;
870
+ sessionid?: string | undefined;
871
+ payment_method_id?: string | undefined;
872
+ paymentdate?: string | undefined;
873
+ planfrequency?: string | undefined;
874
+ plantype?: string | undefined;
875
+ numberofpayments?: string | undefined;
876
+ }, {
877
+ campaignid: string;
878
+ callerphone: string;
879
+ sessionid?: string | undefined;
880
+ payment_method_id?: string | undefined;
881
+ paymentdate?: string | undefined;
882
+ planfrequency?: string | undefined;
883
+ plantype?: string | undefined;
884
+ numberofpayments?: string | undefined;
885
+ }>;
886
+ }, "strip", zod.ZodTypeAny, {
887
+ transaction_id: string;
888
+ amount: string;
889
+ parameters: {
890
+ campaignid: string;
891
+ callerphone: string;
892
+ sessionid?: string | undefined;
893
+ payment_method_id?: string | undefined;
894
+ paymentdate?: string | undefined;
895
+ planfrequency?: string | undefined;
896
+ plantype?: string | undefined;
897
+ numberofpayments?: string | undefined;
898
+ };
899
+ method?: string | undefined;
900
+ currency_code?: string | undefined;
901
+ description?: string | null | undefined;
902
+ cardnumber?: string | undefined;
903
+ cvv?: string | undefined;
904
+ expiry_month?: string | undefined;
905
+ expiry_year?: string | undefined;
906
+ postal_code?: string | null | undefined;
907
+ bankaccountnumber?: string | undefined;
908
+ routing_number?: string | undefined;
909
+ account_type?: string | undefined;
910
+ }, {
911
+ transaction_id: string;
912
+ amount: string;
913
+ parameters: {
914
+ campaignid: string;
915
+ callerphone: string;
916
+ sessionid?: string | undefined;
917
+ payment_method_id?: string | undefined;
918
+ paymentdate?: string | undefined;
919
+ planfrequency?: string | undefined;
920
+ plantype?: string | undefined;
921
+ numberofpayments?: string | undefined;
922
+ };
923
+ method?: string | undefined;
924
+ currency_code?: string | undefined;
925
+ description?: string | null | undefined;
926
+ cardnumber?: string | undefined;
927
+ cvv?: string | undefined;
928
+ expiry_month?: string | undefined;
929
+ expiry_year?: string | undefined;
930
+ postal_code?: string | null | undefined;
931
+ bankaccountnumber?: string | undefined;
932
+ routing_number?: string | undefined;
933
+ account_type?: string | undefined;
934
+ }>;
935
+ export declare const ProcessPayliancePaymentResponse: zod.ZodObject<{
936
+ charge_id: zod.ZodString;
937
+ error_code: zod.ZodNullable<zod.ZodString>;
938
+ error_message: zod.ZodNullable<zod.ZodString>;
939
+ }, "strip", zod.ZodTypeAny, {
940
+ charge_id: string;
941
+ error_code: string | null;
942
+ error_message: string | null;
943
+ }, {
944
+ charge_id: string;
945
+ error_code: string | null;
946
+ error_message: string | null;
947
+ }>;
948
+ /**
949
+ * 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.
950
+ * @summary Process an end-to-end PayNearMe payment
951
+ */
952
+ export declare const ProcessPNMPaymentBody: zod.ZodObject<{
953
+ transaction_id: zod.ZodString;
954
+ amount: zod.ZodString;
955
+ currency_code: zod.ZodOptional<zod.ZodString>;
956
+ method: zod.ZodOptional<zod.ZodString>;
957
+ description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
958
+ cardnumber: zod.ZodOptional<zod.ZodString>;
959
+ cvv: zod.ZodOptional<zod.ZodString>;
960
+ expiry_month: zod.ZodOptional<zod.ZodString>;
961
+ expiry_year: zod.ZodOptional<zod.ZodString>;
962
+ postal_code: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
963
+ bankaccountnumber: zod.ZodOptional<zod.ZodString>;
964
+ routing_number: zod.ZodOptional<zod.ZodString>;
965
+ account_type: zod.ZodOptional<zod.ZodString>;
966
+ parameters: zod.ZodObject<{
967
+ campaignid: zod.ZodString;
968
+ callerphone: zod.ZodString;
969
+ sessionid: zod.ZodOptional<zod.ZodString>;
970
+ payment_method_id: zod.ZodOptional<zod.ZodString>;
971
+ paymentdate: zod.ZodOptional<zod.ZodString>;
972
+ planfrequency: zod.ZodOptional<zod.ZodString>;
973
+ plantype: zod.ZodOptional<zod.ZodString>;
974
+ numberofpayments: zod.ZodOptional<zod.ZodString>;
975
+ }, "strip", zod.ZodTypeAny, {
976
+ campaignid: string;
977
+ callerphone: string;
978
+ sessionid?: string | undefined;
979
+ payment_method_id?: string | undefined;
980
+ paymentdate?: string | undefined;
981
+ planfrequency?: string | undefined;
982
+ plantype?: string | undefined;
983
+ numberofpayments?: string | undefined;
984
+ }, {
985
+ campaignid: string;
986
+ callerphone: string;
987
+ sessionid?: string | undefined;
988
+ payment_method_id?: string | undefined;
989
+ paymentdate?: string | undefined;
990
+ planfrequency?: string | undefined;
991
+ plantype?: string | undefined;
992
+ numberofpayments?: string | undefined;
993
+ }>;
994
+ }, "strip", zod.ZodTypeAny, {
995
+ transaction_id: string;
996
+ amount: string;
997
+ parameters: {
998
+ campaignid: string;
999
+ callerphone: string;
1000
+ sessionid?: string | undefined;
1001
+ payment_method_id?: string | undefined;
1002
+ paymentdate?: string | undefined;
1003
+ planfrequency?: string | undefined;
1004
+ plantype?: string | undefined;
1005
+ numberofpayments?: string | undefined;
1006
+ };
1007
+ method?: string | undefined;
1008
+ currency_code?: string | undefined;
1009
+ description?: string | null | undefined;
1010
+ cardnumber?: string | undefined;
1011
+ cvv?: string | undefined;
1012
+ expiry_month?: string | undefined;
1013
+ expiry_year?: string | undefined;
1014
+ postal_code?: string | null | undefined;
1015
+ bankaccountnumber?: string | undefined;
1016
+ routing_number?: string | undefined;
1017
+ account_type?: string | undefined;
1018
+ }, {
1019
+ transaction_id: string;
1020
+ amount: string;
1021
+ parameters: {
1022
+ campaignid: string;
1023
+ callerphone: string;
1024
+ sessionid?: string | undefined;
1025
+ payment_method_id?: string | undefined;
1026
+ paymentdate?: string | undefined;
1027
+ planfrequency?: string | undefined;
1028
+ plantype?: string | undefined;
1029
+ numberofpayments?: string | undefined;
1030
+ };
1031
+ method?: string | undefined;
1032
+ currency_code?: string | undefined;
1033
+ description?: string | null | undefined;
1034
+ cardnumber?: string | undefined;
1035
+ cvv?: string | undefined;
1036
+ expiry_month?: string | undefined;
1037
+ expiry_year?: string | undefined;
1038
+ postal_code?: string | null | undefined;
1039
+ bankaccountnumber?: string | undefined;
1040
+ routing_number?: string | undefined;
1041
+ account_type?: string | undefined;
1042
+ }>;
1043
+ export declare const ProcessPNMPaymentResponse: zod.ZodObject<{
1044
+ charge_id: zod.ZodString;
1045
+ error_code: zod.ZodNullable<zod.ZodString>;
1046
+ error_message: zod.ZodNullable<zod.ZodString>;
1047
+ }, "strip", zod.ZodTypeAny, {
1048
+ charge_id: string;
1049
+ error_code: string | null;
1050
+ error_message: string | null;
1051
+ }, {
1052
+ charge_id: string;
1053
+ error_code: string | null;
1054
+ error_message: string | null;
1055
+ }>;
1056
+ /**
1057
+ * Payrazr Generic Payment Connector
1058
+ * @summary Process a Payrazr card or ACH payment with customer resolution and fee calculation
1059
+ */
1060
+ export declare const ProcessPayrazrPaymentBody: zod.ZodObject<{
1061
+ transaction_id: zod.ZodString;
1062
+ amount: zod.ZodString;
1063
+ currency_code: zod.ZodOptional<zod.ZodString>;
1064
+ method: zod.ZodOptional<zod.ZodString>;
1065
+ description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1066
+ cardnumber: zod.ZodOptional<zod.ZodString>;
1067
+ cvv: zod.ZodOptional<zod.ZodString>;
1068
+ expiry_month: zod.ZodOptional<zod.ZodString>;
1069
+ expiry_year: zod.ZodOptional<zod.ZodString>;
1070
+ postal_code: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1071
+ bankaccountnumber: zod.ZodOptional<zod.ZodString>;
1072
+ routing_number: zod.ZodOptional<zod.ZodString>;
1073
+ account_type: zod.ZodOptional<zod.ZodString>;
1074
+ parameters: zod.ZodObject<{
1075
+ campaignid: zod.ZodString;
1076
+ callerphone: zod.ZodString;
1077
+ sessionid: zod.ZodOptional<zod.ZodString>;
1078
+ payment_method_id: zod.ZodOptional<zod.ZodString>;
1079
+ paymentdate: zod.ZodOptional<zod.ZodString>;
1080
+ planfrequency: zod.ZodOptional<zod.ZodString>;
1081
+ plantype: zod.ZodOptional<zod.ZodString>;
1082
+ numberofpayments: zod.ZodOptional<zod.ZodString>;
1083
+ }, "strip", zod.ZodTypeAny, {
1084
+ campaignid: string;
1085
+ callerphone: string;
1086
+ sessionid?: string | undefined;
1087
+ payment_method_id?: string | undefined;
1088
+ paymentdate?: string | undefined;
1089
+ planfrequency?: string | undefined;
1090
+ plantype?: string | undefined;
1091
+ numberofpayments?: string | undefined;
1092
+ }, {
1093
+ campaignid: string;
1094
+ callerphone: string;
1095
+ sessionid?: string | undefined;
1096
+ payment_method_id?: string | undefined;
1097
+ paymentdate?: string | undefined;
1098
+ planfrequency?: string | undefined;
1099
+ plantype?: string | undefined;
1100
+ numberofpayments?: string | undefined;
1101
+ }>;
1102
+ }, "strip", zod.ZodTypeAny, {
1103
+ transaction_id: string;
1104
+ amount: string;
1105
+ parameters: {
1106
+ campaignid: string;
1107
+ callerphone: string;
1108
+ sessionid?: string | undefined;
1109
+ payment_method_id?: string | undefined;
1110
+ paymentdate?: string | undefined;
1111
+ planfrequency?: string | undefined;
1112
+ plantype?: string | undefined;
1113
+ numberofpayments?: string | undefined;
1114
+ };
1115
+ method?: string | undefined;
1116
+ currency_code?: string | undefined;
1117
+ description?: string | null | undefined;
1118
+ cardnumber?: string | undefined;
1119
+ cvv?: string | undefined;
1120
+ expiry_month?: string | undefined;
1121
+ expiry_year?: string | undefined;
1122
+ postal_code?: string | null | undefined;
1123
+ bankaccountnumber?: string | undefined;
1124
+ routing_number?: string | undefined;
1125
+ account_type?: string | undefined;
1126
+ }, {
1127
+ transaction_id: string;
1128
+ amount: string;
1129
+ parameters: {
1130
+ campaignid: string;
1131
+ callerphone: string;
1132
+ sessionid?: string | undefined;
1133
+ payment_method_id?: string | undefined;
1134
+ paymentdate?: string | undefined;
1135
+ planfrequency?: string | undefined;
1136
+ plantype?: string | undefined;
1137
+ numberofpayments?: string | undefined;
1138
+ };
1139
+ method?: string | undefined;
1140
+ currency_code?: string | undefined;
1141
+ description?: string | null | undefined;
1142
+ cardnumber?: string | undefined;
1143
+ cvv?: string | undefined;
1144
+ expiry_month?: string | undefined;
1145
+ expiry_year?: string | undefined;
1146
+ postal_code?: string | null | undefined;
1147
+ bankaccountnumber?: string | undefined;
1148
+ routing_number?: string | undefined;
1149
+ account_type?: string | undefined;
1150
+ }>;
1151
+ export declare const ProcessPayrazrPaymentResponse: zod.ZodObject<{
1152
+ charge_id: zod.ZodString;
1153
+ error_code: zod.ZodNullable<zod.ZodString>;
1154
+ error_message: zod.ZodNullable<zod.ZodString>;
1155
+ }, "strip", zod.ZodTypeAny, {
1156
+ charge_id: string;
1157
+ error_code: string | null;
1158
+ error_message: string | null;
1159
+ }, {
1160
+ charge_id: string;
1161
+ error_code: string | null;
1162
+ error_message: string | null;
1163
+ }>;
1164
+ /**
1165
+ * Repay Generic Payment Connector
1166
+ * @summary Process an end-to-end Repay payment
1167
+ */
1168
+ export declare const ProcessRepayPaymentBody: zod.ZodObject<{
1169
+ transaction_id: zod.ZodString;
1170
+ amount: zod.ZodString;
1171
+ currency_code: zod.ZodOptional<zod.ZodString>;
1172
+ method: zod.ZodOptional<zod.ZodString>;
1173
+ description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1174
+ cardnumber: zod.ZodOptional<zod.ZodString>;
1175
+ cvv: zod.ZodOptional<zod.ZodString>;
1176
+ expiry_month: zod.ZodOptional<zod.ZodString>;
1177
+ expiry_year: zod.ZodOptional<zod.ZodString>;
1178
+ postal_code: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1179
+ bankaccountnumber: zod.ZodOptional<zod.ZodString>;
1180
+ routing_number: zod.ZodOptional<zod.ZodString>;
1181
+ account_type: zod.ZodOptional<zod.ZodString>;
1182
+ parameters: zod.ZodObject<{
1183
+ campaignid: zod.ZodString;
1184
+ callerphone: zod.ZodString;
1185
+ sessionid: zod.ZodOptional<zod.ZodString>;
1186
+ payment_method_id: zod.ZodOptional<zod.ZodString>;
1187
+ paymentdate: zod.ZodOptional<zod.ZodString>;
1188
+ planfrequency: zod.ZodOptional<zod.ZodString>;
1189
+ plantype: zod.ZodOptional<zod.ZodString>;
1190
+ numberofpayments: zod.ZodOptional<zod.ZodString>;
1191
+ }, "strip", zod.ZodTypeAny, {
1192
+ campaignid: string;
1193
+ callerphone: string;
1194
+ sessionid?: string | undefined;
1195
+ payment_method_id?: string | undefined;
1196
+ paymentdate?: string | undefined;
1197
+ planfrequency?: string | undefined;
1198
+ plantype?: string | undefined;
1199
+ numberofpayments?: string | undefined;
1200
+ }, {
1201
+ campaignid: string;
1202
+ callerphone: string;
1203
+ sessionid?: string | undefined;
1204
+ payment_method_id?: string | undefined;
1205
+ paymentdate?: string | undefined;
1206
+ planfrequency?: string | undefined;
1207
+ plantype?: string | undefined;
1208
+ numberofpayments?: string | undefined;
1209
+ }>;
1210
+ }, "strip", zod.ZodTypeAny, {
1211
+ transaction_id: string;
1212
+ amount: string;
1213
+ parameters: {
1214
+ campaignid: string;
1215
+ callerphone: string;
1216
+ sessionid?: string | undefined;
1217
+ payment_method_id?: string | undefined;
1218
+ paymentdate?: string | undefined;
1219
+ planfrequency?: string | undefined;
1220
+ plantype?: string | undefined;
1221
+ numberofpayments?: string | undefined;
1222
+ };
1223
+ method?: string | undefined;
1224
+ currency_code?: string | undefined;
1225
+ description?: string | null | undefined;
1226
+ cardnumber?: string | undefined;
1227
+ cvv?: string | undefined;
1228
+ expiry_month?: string | undefined;
1229
+ expiry_year?: string | undefined;
1230
+ postal_code?: string | null | undefined;
1231
+ bankaccountnumber?: string | undefined;
1232
+ routing_number?: string | undefined;
1233
+ account_type?: string | undefined;
1234
+ }, {
1235
+ transaction_id: string;
1236
+ amount: string;
1237
+ parameters: {
1238
+ campaignid: string;
1239
+ callerphone: string;
1240
+ sessionid?: string | undefined;
1241
+ payment_method_id?: string | undefined;
1242
+ paymentdate?: string | undefined;
1243
+ planfrequency?: string | undefined;
1244
+ plantype?: string | undefined;
1245
+ numberofpayments?: string | undefined;
1246
+ };
1247
+ method?: string | undefined;
1248
+ currency_code?: string | undefined;
1249
+ description?: string | null | undefined;
1250
+ cardnumber?: string | undefined;
1251
+ cvv?: string | undefined;
1252
+ expiry_month?: string | undefined;
1253
+ expiry_year?: string | undefined;
1254
+ postal_code?: string | null | undefined;
1255
+ bankaccountnumber?: string | undefined;
1256
+ routing_number?: string | undefined;
1257
+ account_type?: string | undefined;
1258
+ }>;
1259
+ export declare const ProcessRepayPaymentResponse: zod.ZodObject<{
1260
+ charge_id: zod.ZodString;
1261
+ error_code: zod.ZodNullable<zod.ZodString>;
1262
+ error_message: zod.ZodNullable<zod.ZodString>;
1263
+ }, "strip", zod.ZodTypeAny, {
1264
+ charge_id: string;
1265
+ error_code: string | null;
1266
+ error_message: string | null;
1267
+ }, {
1268
+ charge_id: string;
1269
+ error_code: string | null;
1270
+ error_message: string | null;
1271
+ }>;
1272
+ /**
1273
+ * 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.
1274
+ * @summary Process an end-to-end SpeedPay payment
1275
+ */
1276
+ export declare const ProcessSpeedPayPaymentBody: zod.ZodObject<{
1277
+ transaction_id: zod.ZodString;
1278
+ amount: zod.ZodString;
1279
+ currency_code: zod.ZodOptional<zod.ZodString>;
1280
+ method: zod.ZodOptional<zod.ZodString>;
1281
+ description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1282
+ cardnumber: zod.ZodOptional<zod.ZodString>;
1283
+ cvv: zod.ZodOptional<zod.ZodString>;
1284
+ expiry_month: zod.ZodOptional<zod.ZodString>;
1285
+ expiry_year: zod.ZodOptional<zod.ZodString>;
1286
+ postal_code: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1287
+ bankaccountnumber: zod.ZodOptional<zod.ZodString>;
1288
+ routing_number: zod.ZodOptional<zod.ZodString>;
1289
+ account_type: zod.ZodOptional<zod.ZodString>;
1290
+ parameters: zod.ZodObject<{
1291
+ campaignid: zod.ZodString;
1292
+ callerphone: zod.ZodString;
1293
+ sessionid: zod.ZodOptional<zod.ZodString>;
1294
+ payment_method_id: zod.ZodOptional<zod.ZodString>;
1295
+ paymentdate: zod.ZodOptional<zod.ZodString>;
1296
+ planfrequency: zod.ZodOptional<zod.ZodString>;
1297
+ plantype: zod.ZodOptional<zod.ZodString>;
1298
+ numberofpayments: zod.ZodOptional<zod.ZodString>;
1299
+ }, "strip", zod.ZodTypeAny, {
1300
+ campaignid: string;
1301
+ callerphone: string;
1302
+ sessionid?: string | undefined;
1303
+ payment_method_id?: string | undefined;
1304
+ paymentdate?: string | undefined;
1305
+ planfrequency?: string | undefined;
1306
+ plantype?: string | undefined;
1307
+ numberofpayments?: string | undefined;
1308
+ }, {
1309
+ campaignid: string;
1310
+ callerphone: string;
1311
+ sessionid?: string | undefined;
1312
+ payment_method_id?: string | undefined;
1313
+ paymentdate?: string | undefined;
1314
+ planfrequency?: string | undefined;
1315
+ plantype?: string | undefined;
1316
+ numberofpayments?: string | undefined;
1317
+ }>;
1318
+ }, "strip", zod.ZodTypeAny, {
1319
+ transaction_id: string;
1320
+ amount: string;
1321
+ parameters: {
1322
+ campaignid: string;
1323
+ callerphone: string;
1324
+ sessionid?: string | undefined;
1325
+ payment_method_id?: string | undefined;
1326
+ paymentdate?: string | undefined;
1327
+ planfrequency?: string | undefined;
1328
+ plantype?: string | undefined;
1329
+ numberofpayments?: string | undefined;
1330
+ };
1331
+ method?: string | undefined;
1332
+ currency_code?: string | undefined;
1333
+ description?: string | null | undefined;
1334
+ cardnumber?: string | undefined;
1335
+ cvv?: string | undefined;
1336
+ expiry_month?: string | undefined;
1337
+ expiry_year?: string | undefined;
1338
+ postal_code?: string | null | undefined;
1339
+ bankaccountnumber?: string | undefined;
1340
+ routing_number?: string | undefined;
1341
+ account_type?: string | undefined;
1342
+ }, {
1343
+ transaction_id: string;
1344
+ amount: string;
1345
+ parameters: {
1346
+ campaignid: string;
1347
+ callerphone: string;
1348
+ sessionid?: string | undefined;
1349
+ payment_method_id?: string | undefined;
1350
+ paymentdate?: string | undefined;
1351
+ planfrequency?: string | undefined;
1352
+ plantype?: string | undefined;
1353
+ numberofpayments?: string | undefined;
1354
+ };
1355
+ method?: string | undefined;
1356
+ currency_code?: string | undefined;
1357
+ description?: string | null | undefined;
1358
+ cardnumber?: string | undefined;
1359
+ cvv?: string | undefined;
1360
+ expiry_month?: string | undefined;
1361
+ expiry_year?: string | undefined;
1362
+ postal_code?: string | null | undefined;
1363
+ bankaccountnumber?: string | undefined;
1364
+ routing_number?: string | undefined;
1365
+ account_type?: string | undefined;
1366
+ }>;
1367
+ export declare const ProcessSpeedPayPaymentResponse: zod.ZodObject<{
1368
+ charge_id: zod.ZodString;
1369
+ error_code: zod.ZodNullable<zod.ZodString>;
1370
+ error_message: zod.ZodNullable<zod.ZodString>;
1371
+ }, "strip", zod.ZodTypeAny, {
1372
+ charge_id: string;
1373
+ error_code: string | null;
1374
+ error_message: string | null;
1375
+ }, {
1376
+ charge_id: string;
1377
+ error_code: string | null;
1378
+ error_message: string | null;
1379
+ }>;
1380
+ /**
1381
+ * Accepts Twilio Generic Pay Connector JSON callback. Resolves target by phone, processes payment through SwervePay, and returns charge_id or error.
1382
+ * @summary Process an end-to-end SwervePay payment
1383
+ */
1384
+ export declare const ProcessSwervePayPaymentBody: zod.ZodObject<{
1385
+ transaction_id: zod.ZodString;
1386
+ amount: zod.ZodString;
1387
+ currency_code: zod.ZodOptional<zod.ZodString>;
1388
+ method: zod.ZodOptional<zod.ZodString>;
1389
+ description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1390
+ cardnumber: zod.ZodOptional<zod.ZodString>;
1391
+ cvv: zod.ZodOptional<zod.ZodString>;
1392
+ expiry_month: zod.ZodOptional<zod.ZodString>;
1393
+ expiry_year: zod.ZodOptional<zod.ZodString>;
1394
+ postal_code: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1395
+ bankaccountnumber: zod.ZodOptional<zod.ZodString>;
1396
+ routing_number: zod.ZodOptional<zod.ZodString>;
1397
+ account_type: zod.ZodOptional<zod.ZodString>;
1398
+ parameters: zod.ZodObject<{
1399
+ campaignid: zod.ZodString;
1400
+ callerphone: zod.ZodString;
1401
+ sessionid: zod.ZodOptional<zod.ZodString>;
1402
+ payment_method_id: zod.ZodOptional<zod.ZodString>;
1403
+ paymentdate: zod.ZodOptional<zod.ZodString>;
1404
+ planfrequency: zod.ZodOptional<zod.ZodString>;
1405
+ plantype: zod.ZodOptional<zod.ZodString>;
1406
+ numberofpayments: zod.ZodOptional<zod.ZodString>;
1407
+ }, "strip", zod.ZodTypeAny, {
1408
+ campaignid: string;
1409
+ callerphone: string;
1410
+ sessionid?: string | undefined;
1411
+ payment_method_id?: string | undefined;
1412
+ paymentdate?: string | undefined;
1413
+ planfrequency?: string | undefined;
1414
+ plantype?: string | undefined;
1415
+ numberofpayments?: string | undefined;
1416
+ }, {
1417
+ campaignid: string;
1418
+ callerphone: string;
1419
+ sessionid?: string | undefined;
1420
+ payment_method_id?: string | undefined;
1421
+ paymentdate?: string | undefined;
1422
+ planfrequency?: string | undefined;
1423
+ plantype?: string | undefined;
1424
+ numberofpayments?: string | undefined;
1425
+ }>;
1426
+ }, "strip", zod.ZodTypeAny, {
1427
+ transaction_id: string;
1428
+ amount: string;
1429
+ parameters: {
1430
+ campaignid: string;
1431
+ callerphone: string;
1432
+ sessionid?: string | undefined;
1433
+ payment_method_id?: string | undefined;
1434
+ paymentdate?: string | undefined;
1435
+ planfrequency?: string | undefined;
1436
+ plantype?: string | undefined;
1437
+ numberofpayments?: string | undefined;
1438
+ };
1439
+ method?: string | undefined;
1440
+ currency_code?: string | undefined;
1441
+ description?: string | null | undefined;
1442
+ cardnumber?: string | undefined;
1443
+ cvv?: string | undefined;
1444
+ expiry_month?: string | undefined;
1445
+ expiry_year?: string | undefined;
1446
+ postal_code?: string | null | undefined;
1447
+ bankaccountnumber?: string | undefined;
1448
+ routing_number?: string | undefined;
1449
+ account_type?: string | undefined;
1450
+ }, {
1451
+ transaction_id: string;
1452
+ amount: string;
1453
+ parameters: {
1454
+ campaignid: string;
1455
+ callerphone: string;
1456
+ sessionid?: string | undefined;
1457
+ payment_method_id?: string | undefined;
1458
+ paymentdate?: string | undefined;
1459
+ planfrequency?: string | undefined;
1460
+ plantype?: string | undefined;
1461
+ numberofpayments?: string | undefined;
1462
+ };
1463
+ method?: string | undefined;
1464
+ currency_code?: string | undefined;
1465
+ description?: string | null | undefined;
1466
+ cardnumber?: string | undefined;
1467
+ cvv?: string | undefined;
1468
+ expiry_month?: string | undefined;
1469
+ expiry_year?: string | undefined;
1470
+ postal_code?: string | null | undefined;
1471
+ bankaccountnumber?: string | undefined;
1472
+ routing_number?: string | undefined;
1473
+ account_type?: string | undefined;
1474
+ }>;
1475
+ export declare const ProcessSwervePayPaymentResponse: zod.ZodObject<{
1476
+ charge_id: zod.ZodString;
1477
+ error_code: zod.ZodNullable<zod.ZodString>;
1478
+ error_message: zod.ZodNullable<zod.ZodString>;
1479
+ }, "strip", zod.ZodTypeAny, {
1480
+ charge_id: string;
1481
+ error_code: string | null;
1482
+ error_message: string | null;
1483
+ }, {
1484
+ charge_id: string;
1485
+ error_code: string | null;
1486
+ error_message: string | null;
1487
+ }>;