@domu-ai/kiban-sdk 1.195.1 → 1.197.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.
- package/internal/client.d.ts +2 -1
- package/internal/client.js +2 -1
- package/internal/schemas.d.ts +3 -3
- package/internal/schemas.js +1 -1
- package/package.json +1 -1
- package/public/client.d.ts +74 -0
- package/public/client.js +37 -2
- package/public/schemas.d.ts +123 -0
- package/public/schemas.js +38 -1
package/internal/client.d.ts
CHANGED
|
@@ -50,8 +50,9 @@ export declare const InternalActionsPostBodyActionType: {
|
|
|
50
50
|
readonly contactupdate: "contact.update";
|
|
51
51
|
readonly paymentnotify: "payment.notify";
|
|
52
52
|
readonly paymentdelegate: "payment.delegate";
|
|
53
|
-
readonly
|
|
53
|
+
readonly paymentchargeInfoOnFile: "payment.chargeInfoOnFile";
|
|
54
54
|
readonly targetenrich: "target.enrich";
|
|
55
|
+
readonly targetqualify: "target.qualify";
|
|
55
56
|
readonly smssend: "sms.send";
|
|
56
57
|
readonly emailsend: "email.send";
|
|
57
58
|
readonly transferprepareContact: "transfer.prepareContact";
|
package/internal/client.js
CHANGED
|
@@ -36,8 +36,9 @@ exports.InternalActionsPostBodyActionType = {
|
|
|
36
36
|
contactupdate: 'contact.update',
|
|
37
37
|
paymentnotify: 'payment.notify',
|
|
38
38
|
paymentdelegate: 'payment.delegate',
|
|
39
|
-
|
|
39
|
+
paymentchargeInfoOnFile: 'payment.chargeInfoOnFile',
|
|
40
40
|
targetenrich: 'target.enrich',
|
|
41
|
+
targetqualify: 'target.qualify',
|
|
41
42
|
smssend: 'sms.send',
|
|
42
43
|
emailsend: 'email.send',
|
|
43
44
|
transferprepareContact: 'transfer.prepareContact',
|
package/internal/schemas.d.ts
CHANGED
|
@@ -87,16 +87,16 @@ export declare const CreateQueryParams: zod.ZodObject<{
|
|
|
87
87
|
export declare const createBodyProviderMax = 50;
|
|
88
88
|
export declare const createBodyIsEnabledDefault = true;
|
|
89
89
|
export declare const CreateBody: zod.ZodObject<{
|
|
90
|
-
actionType: zod.ZodEnum<["payment.createPromise", "interaction.start", "interaction.end", "contact.get", "contact.update", "payment.notify", "payment.delegate", "payment.
|
|
90
|
+
actionType: zod.ZodEnum<["payment.createPromise", "interaction.start", "interaction.end", "contact.get", "contact.update", "payment.notify", "payment.delegate", "payment.chargeInfoOnFile", "target.enrich", "target.qualify", "sms.send", "email.send", "transfer.prepareContact", "transfer.updateCall", "agentsession.login", "screenpop.get", "call.update", "sipheader.extract"]>;
|
|
91
91
|
provider: zod.ZodString;
|
|
92
92
|
isEnabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
93
93
|
}, "strip", zod.ZodTypeAny, {
|
|
94
94
|
provider: string;
|
|
95
|
-
actionType: "payment.createPromise" | "interaction.start" | "interaction.end" | "contact.get" | "contact.update" | "payment.notify" | "payment.delegate" | "payment.
|
|
95
|
+
actionType: "payment.createPromise" | "interaction.start" | "interaction.end" | "contact.get" | "contact.update" | "payment.notify" | "payment.delegate" | "payment.chargeInfoOnFile" | "target.enrich" | "target.qualify" | "sms.send" | "email.send" | "transfer.prepareContact" | "transfer.updateCall" | "agentsession.login" | "screenpop.get" | "call.update" | "sipheader.extract";
|
|
96
96
|
isEnabled: boolean;
|
|
97
97
|
}, {
|
|
98
98
|
provider: string;
|
|
99
|
-
actionType: "payment.createPromise" | "interaction.start" | "interaction.end" | "contact.get" | "contact.update" | "payment.notify" | "payment.delegate" | "payment.
|
|
99
|
+
actionType: "payment.createPromise" | "interaction.start" | "interaction.end" | "contact.get" | "contact.update" | "payment.notify" | "payment.delegate" | "payment.chargeInfoOnFile" | "target.enrich" | "target.qualify" | "sms.send" | "email.send" | "transfer.prepareContact" | "transfer.updateCall" | "agentsession.login" | "screenpop.get" | "call.update" | "sipheader.extract";
|
|
100
100
|
isEnabled?: boolean | undefined;
|
|
101
101
|
}>;
|
|
102
102
|
/**
|
package/internal/schemas.js
CHANGED
|
@@ -74,7 +74,7 @@ exports.CreateQueryParams = zod.object({
|
|
|
74
74
|
exports.createBodyProviderMax = 50;
|
|
75
75
|
exports.createBodyIsEnabledDefault = true;
|
|
76
76
|
exports.CreateBody = zod.object({
|
|
77
|
-
"actionType": zod.enum(['payment.createPromise', 'interaction.start', 'interaction.end', 'contact.get', 'contact.update', 'payment.notify', 'payment.delegate', 'payment.
|
|
77
|
+
"actionType": zod.enum(['payment.createPromise', 'interaction.start', 'interaction.end', 'contact.get', 'contact.update', 'payment.notify', 'payment.delegate', 'payment.chargeInfoOnFile', 'target.enrich', 'target.qualify', 'sms.send', 'email.send', 'transfer.prepareContact', 'transfer.updateCall', 'agentsession.login', 'screenpop.get', 'call.update', 'sipheader.extract']).describe('Action type to register'),
|
|
78
78
|
"provider": zod.string().min(1).max(exports.createBodyProviderMax).describe('Provider name (e.g. \'sst\', \'livevox\', \'nubank\')'),
|
|
79
79
|
"isEnabled": zod.boolean().default(exports.createBodyIsEnabledDefault).describe('Whether the action is enabled')
|
|
80
80
|
});
|
package/package.json
CHANGED
package/public/client.d.ts
CHANGED
|
@@ -438,6 +438,44 @@ export type PublicPaymentsConnectorsMonerisPost200 = {
|
|
|
438
438
|
/** @nullable */
|
|
439
439
|
error_message: string | null;
|
|
440
440
|
};
|
|
441
|
+
export type PublicPaymentsConnectorsNelnetPaymentPostBodyParameters = {
|
|
442
|
+
campaignid: string;
|
|
443
|
+
callerphone: string;
|
|
444
|
+
sessionid?: string;
|
|
445
|
+
cardtype?: string;
|
|
446
|
+
billingzip?: string;
|
|
447
|
+
callid?: string;
|
|
448
|
+
payment_method_id?: string;
|
|
449
|
+
paymentdate?: string;
|
|
450
|
+
planfrequency?: string;
|
|
451
|
+
plantype?: string;
|
|
452
|
+
numberofpayments?: string;
|
|
453
|
+
};
|
|
454
|
+
export type PublicPaymentsConnectorsNelnetPaymentPostBody = {
|
|
455
|
+
transaction_id: string;
|
|
456
|
+
amount: string;
|
|
457
|
+
currency_code?: string;
|
|
458
|
+
method?: string;
|
|
459
|
+
/** @nullable */
|
|
460
|
+
description?: string | null;
|
|
461
|
+
cardnumber?: string;
|
|
462
|
+
cvv?: string;
|
|
463
|
+
expiry_month?: string;
|
|
464
|
+
expiry_year?: string;
|
|
465
|
+
/** @nullable */
|
|
466
|
+
postal_code?: string | null;
|
|
467
|
+
bankaccountnumber?: string;
|
|
468
|
+
routing_number?: string;
|
|
469
|
+
account_type?: string;
|
|
470
|
+
parameters: PublicPaymentsConnectorsNelnetPaymentPostBodyParameters;
|
|
471
|
+
};
|
|
472
|
+
export type PublicPaymentsConnectorsNelnetPaymentPost200 = {
|
|
473
|
+
charge_id: string;
|
|
474
|
+
/** @nullable */
|
|
475
|
+
error_code: string | null;
|
|
476
|
+
/** @nullable */
|
|
477
|
+
error_message: string | null;
|
|
478
|
+
};
|
|
441
479
|
export type PublicPaymentsConnectorsOliphantPaymentPostBodyParameters = {
|
|
442
480
|
campaignid: string;
|
|
443
481
|
callerphone: string;
|
|
@@ -1243,6 +1281,42 @@ export declare const usePublicPaymentsConnectorsMonerisPost: <TError = unknown,
|
|
|
1243
1281
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof publicPaymentsConnectorsMonerisPost>>, TError, {
|
|
1244
1282
|
data: PublicPaymentsConnectorsMonerisPostBody;
|
|
1245
1283
|
}, TContext>;
|
|
1284
|
+
/**
|
|
1285
|
+
* Accepts Twilio Generic Pay Connector JSON callback. Resolves target by phone, submits ACH against the borrower's saved Velocity bank profile, and returns charge_id or error.
|
|
1286
|
+
* @summary Process an end-to-end Nelnet ACH-on-file payment
|
|
1287
|
+
*/
|
|
1288
|
+
export type publicPaymentsConnectorsNelnetPaymentPostResponse200 = {
|
|
1289
|
+
data: PublicPaymentsConnectorsNelnetPaymentPost200;
|
|
1290
|
+
status: 200;
|
|
1291
|
+
};
|
|
1292
|
+
export type publicPaymentsConnectorsNelnetPaymentPostResponseSuccess = (publicPaymentsConnectorsNelnetPaymentPostResponse200) & {
|
|
1293
|
+
headers: Headers;
|
|
1294
|
+
};
|
|
1295
|
+
export type publicPaymentsConnectorsNelnetPaymentPostResponse = (publicPaymentsConnectorsNelnetPaymentPostResponseSuccess);
|
|
1296
|
+
export declare const getPublicPaymentsConnectorsNelnetPaymentPostUrl: () => string;
|
|
1297
|
+
export declare const publicPaymentsConnectorsNelnetPaymentPost: (publicPaymentsConnectorsNelnetPaymentPostBody: PublicPaymentsConnectorsNelnetPaymentPostBody, options?: RequestInit) => Promise<publicPaymentsConnectorsNelnetPaymentPostResponse>;
|
|
1298
|
+
export declare const getPublicPaymentsConnectorsNelnetPaymentPostMutationOptions: <TError = unknown, TContext = unknown>(options?: {
|
|
1299
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof publicPaymentsConnectorsNelnetPaymentPost>>, TError, {
|
|
1300
|
+
data: PublicPaymentsConnectorsNelnetPaymentPostBody;
|
|
1301
|
+
}, TContext>;
|
|
1302
|
+
request?: SecondParameter<typeof customFetcher>;
|
|
1303
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof publicPaymentsConnectorsNelnetPaymentPost>>, TError, {
|
|
1304
|
+
data: PublicPaymentsConnectorsNelnetPaymentPostBody;
|
|
1305
|
+
}, TContext>;
|
|
1306
|
+
export type PublicPaymentsConnectorsNelnetPaymentPostMutationResult = NonNullable<Awaited<ReturnType<typeof publicPaymentsConnectorsNelnetPaymentPost>>>;
|
|
1307
|
+
export type PublicPaymentsConnectorsNelnetPaymentPostMutationBody = PublicPaymentsConnectorsNelnetPaymentPostBody;
|
|
1308
|
+
export type PublicPaymentsConnectorsNelnetPaymentPostMutationError = unknown;
|
|
1309
|
+
/**
|
|
1310
|
+
* @summary Process an end-to-end Nelnet ACH-on-file payment
|
|
1311
|
+
*/
|
|
1312
|
+
export declare const usePublicPaymentsConnectorsNelnetPaymentPost: <TError = unknown, TContext = unknown>(options?: {
|
|
1313
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof publicPaymentsConnectorsNelnetPaymentPost>>, TError, {
|
|
1314
|
+
data: PublicPaymentsConnectorsNelnetPaymentPostBody;
|
|
1315
|
+
}, TContext>;
|
|
1316
|
+
request?: SecondParameter<typeof customFetcher>;
|
|
1317
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof publicPaymentsConnectorsNelnetPaymentPost>>, TError, {
|
|
1318
|
+
data: PublicPaymentsConnectorsNelnetPaymentPostBody;
|
|
1319
|
+
}, TContext>;
|
|
1246
1320
|
/**
|
|
1247
1321
|
* Accepts Twilio Generic Pay Connector JSON callback. Resolves target by phone, processes payment through Oliphant, and returns charge_id or error.
|
|
1248
1322
|
* @summary Process an end-to-end Oliphant payment
|
package/public/client.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.usePublicPaymentsConnectorsSwervepayPost = exports.getPublicPaymentsConnectorsSwervepayPostMutationOptions = exports.publicPaymentsConnectorsSwervepayPost = exports.getPublicPaymentsConnectorsSwervepayPostUrl = exports.usePublicPaymentsConnectorsSpeedpayPost = exports.getPublicPaymentsConnectorsSpeedpayPostMutationOptions = exports.publicPaymentsConnectorsSpeedpayPost = exports.getPublicPaymentsConnectorsSpeedpayPostUrl = exports.usePublicPaymentsConnectorsRepayPost = exports.getPublicPaymentsConnectorsRepayPostMutationOptions = exports.publicPaymentsConnectorsRepayPost = exports.getPublicPaymentsConnectorsRepayPostUrl = exports.usePublicPaymentsConnectorsPayrazrPost = exports.getPublicPaymentsConnectorsPayrazrPostMutationOptions = exports.publicPaymentsConnectorsPayrazrPost = exports.getPublicPaymentsConnectorsPayrazrPostUrl = exports.usePublicPaymentsConnectorsPaynearmePost = exports.getPublicPaymentsConnectorsPaynearmePostMutationOptions = exports.publicPaymentsConnectorsPaynearmePost = exports.getPublicPaymentsConnectorsPaynearmePostUrl = exports.usePublicPaymentsConnectorsPayliancePost = exports.getPublicPaymentsConnectorsPayliancePostMutationOptions = void 0;
|
|
3
|
+
exports.publicPaymentsConnectorsOliphantPaymentPost = exports.getPublicPaymentsConnectorsOliphantPaymentPostUrl = exports.usePublicPaymentsConnectorsNelnetPaymentPost = exports.getPublicPaymentsConnectorsNelnetPaymentPostMutationOptions = exports.publicPaymentsConnectorsNelnetPaymentPost = exports.getPublicPaymentsConnectorsNelnetPaymentPostUrl = exports.usePublicPaymentsConnectorsMonerisPost = exports.getPublicPaymentsConnectorsMonerisPostMutationOptions = exports.publicPaymentsConnectorsMonerisPost = exports.getPublicPaymentsConnectorsMonerisPostUrl = exports.usePublicContactsIdPut = exports.getPublicContactsIdPutMutationOptions = exports.publicContactsIdPut = exports.getPublicContactsIdPutUrl = exports.getPublicContactsIdGetQueryOptions = exports.getPublicContactsIdGetQueryKey = exports.publicContactsIdGet = exports.getPublicContactsIdGetUrl = exports.getPublicClientsNubankOffersCustomerIdGetQueryOptions = exports.getPublicClientsNubankOffersCustomerIdGetQueryKey = exports.publicClientsNubankOffersCustomerIdGet = exports.getPublicClientsNubankOffersCustomerIdGetUrl = exports.getPublicClientsNubankDebtsCustomerIdGetQueryOptions = exports.getPublicClientsNubankDebtsCustomerIdGetQueryKey = exports.publicClientsNubankDebtsCustomerIdGet = exports.getPublicClientsNubankDebtsCustomerIdGetUrl = exports.usePublicClientsNubankInteractionsEndPost = exports.getPublicClientsNubankInteractionsEndPostMutationOptions = exports.publicClientsNubankInteractionsEndPost = exports.getPublicClientsNubankInteractionsEndPostUrl = exports.usePublicClientsNubankInteractionsStartPost = exports.getPublicClientsNubankInteractionsStartPostMutationOptions = exports.publicClientsNubankInteractionsStartPost = exports.getPublicClientsNubankInteractionsStartPostUrl = exports.usePublicCallsPost = exports.getPublicCallsPostMutationOptions = exports.publicCallsPost = exports.getPublicCallsPostUrl = exports.getPublicAuthMeGetQueryOptions = exports.getPublicAuthMeGetQueryKey = exports.publicAuthMeGet = exports.getPublicAuthMeGetUrl = exports.getPublicHealthGetQueryOptions = exports.getPublicHealthGetQueryKey = exports.publicHealthGet = exports.getPublicHealthGetUrl = exports.PublicClientsNubankInteractionsEndPostBodyCountry = exports.PublicClientsNubankInteractionsStartPostBodyCountry = exports.PublicCallsPost202Status = exports.PublicHealthGet200Status = void 0;
|
|
4
|
+
exports.usePublicPaymentsConnectorsSwervepayPost = exports.getPublicPaymentsConnectorsSwervepayPostMutationOptions = exports.publicPaymentsConnectorsSwervepayPost = exports.getPublicPaymentsConnectorsSwervepayPostUrl = exports.usePublicPaymentsConnectorsSpeedpayPost = exports.getPublicPaymentsConnectorsSpeedpayPostMutationOptions = exports.publicPaymentsConnectorsSpeedpayPost = exports.getPublicPaymentsConnectorsSpeedpayPostUrl = exports.usePublicPaymentsConnectorsRepayPost = exports.getPublicPaymentsConnectorsRepayPostMutationOptions = exports.publicPaymentsConnectorsRepayPost = exports.getPublicPaymentsConnectorsRepayPostUrl = exports.usePublicPaymentsConnectorsPayrazrPost = exports.getPublicPaymentsConnectorsPayrazrPostMutationOptions = exports.publicPaymentsConnectorsPayrazrPost = exports.getPublicPaymentsConnectorsPayrazrPostUrl = exports.usePublicPaymentsConnectorsPaynearmePost = exports.getPublicPaymentsConnectorsPaynearmePostMutationOptions = exports.publicPaymentsConnectorsPaynearmePost = exports.getPublicPaymentsConnectorsPaynearmePostUrl = exports.usePublicPaymentsConnectorsPayliancePost = exports.getPublicPaymentsConnectorsPayliancePostMutationOptions = exports.publicPaymentsConnectorsPayliancePost = exports.getPublicPaymentsConnectorsPayliancePostUrl = exports.usePublicPaymentsConnectorsOliphantPaymentPost = exports.getPublicPaymentsConnectorsOliphantPaymentPostMutationOptions = void 0;
|
|
5
5
|
exports.usePublicHealthGet = usePublicHealthGet;
|
|
6
6
|
exports.usePublicAuthMeGet = usePublicAuthMeGet;
|
|
7
7
|
exports.usePublicClientsNubankDebtsCustomerIdGet = usePublicClientsNubankDebtsCustomerIdGet;
|
|
@@ -384,6 +384,41 @@ const usePublicPaymentsConnectorsMonerisPost = (options, queryClient) => {
|
|
|
384
384
|
};
|
|
385
385
|
exports.usePublicPaymentsConnectorsMonerisPost = usePublicPaymentsConnectorsMonerisPost;
|
|
386
386
|
;
|
|
387
|
+
const getPublicPaymentsConnectorsNelnetPaymentPostUrl = () => {
|
|
388
|
+
return `/v1/payments/connectors/nelnet-payment`;
|
|
389
|
+
};
|
|
390
|
+
exports.getPublicPaymentsConnectorsNelnetPaymentPostUrl = getPublicPaymentsConnectorsNelnetPaymentPostUrl;
|
|
391
|
+
const publicPaymentsConnectorsNelnetPaymentPost = async (publicPaymentsConnectorsNelnetPaymentPostBody, options) => {
|
|
392
|
+
return (0, fetcher_1.customFetcher)((0, exports.getPublicPaymentsConnectorsNelnetPaymentPostUrl)(), {
|
|
393
|
+
...options,
|
|
394
|
+
method: 'POST',
|
|
395
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
396
|
+
body: JSON.stringify(publicPaymentsConnectorsNelnetPaymentPostBody)
|
|
397
|
+
});
|
|
398
|
+
};
|
|
399
|
+
exports.publicPaymentsConnectorsNelnetPaymentPost = publicPaymentsConnectorsNelnetPaymentPost;
|
|
400
|
+
const getPublicPaymentsConnectorsNelnetPaymentPostMutationOptions = (options) => {
|
|
401
|
+
const mutationKey = ['publicPaymentsConnectorsNelnetPaymentPost'];
|
|
402
|
+
const { mutation: mutationOptions, request: requestOptions } = options ?
|
|
403
|
+
options.mutation && 'mutationKey' in options.mutation && options.mutation.mutationKey ?
|
|
404
|
+
options
|
|
405
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
406
|
+
: { mutation: { mutationKey, }, request: undefined };
|
|
407
|
+
const mutationFn = (props) => {
|
|
408
|
+
const { data } = props ?? {};
|
|
409
|
+
return (0, exports.publicPaymentsConnectorsNelnetPaymentPost)(data, requestOptions);
|
|
410
|
+
};
|
|
411
|
+
return { mutationFn, ...mutationOptions };
|
|
412
|
+
};
|
|
413
|
+
exports.getPublicPaymentsConnectorsNelnetPaymentPostMutationOptions = getPublicPaymentsConnectorsNelnetPaymentPostMutationOptions;
|
|
414
|
+
/**
|
|
415
|
+
* @summary Process an end-to-end Nelnet ACH-on-file payment
|
|
416
|
+
*/
|
|
417
|
+
const usePublicPaymentsConnectorsNelnetPaymentPost = (options, queryClient) => {
|
|
418
|
+
return (0, react_query_1.useMutation)((0, exports.getPublicPaymentsConnectorsNelnetPaymentPostMutationOptions)(options), queryClient);
|
|
419
|
+
};
|
|
420
|
+
exports.usePublicPaymentsConnectorsNelnetPaymentPost = usePublicPaymentsConnectorsNelnetPaymentPost;
|
|
421
|
+
;
|
|
387
422
|
const getPublicPaymentsConnectorsOliphantPaymentPostUrl = () => {
|
|
388
423
|
return `/v1/payments/connectors/oliphant-payment`;
|
|
389
424
|
};
|
package/public/schemas.d.ts
CHANGED
|
@@ -1242,6 +1242,129 @@ export declare const ProcessMonerisPaymentResponse: zod.ZodObject<{
|
|
|
1242
1242
|
error_code: string | null;
|
|
1243
1243
|
error_message: string | null;
|
|
1244
1244
|
}>;
|
|
1245
|
+
/**
|
|
1246
|
+
* Accepts Twilio Generic Pay Connector JSON callback. Resolves target by phone, submits ACH against the borrower's saved Velocity bank profile, and returns charge_id or error.
|
|
1247
|
+
* @summary Process an end-to-end Nelnet ACH-on-file payment
|
|
1248
|
+
*/
|
|
1249
|
+
export declare const ProcessNelnetPaymentBody: zod.ZodObject<{
|
|
1250
|
+
transaction_id: zod.ZodString;
|
|
1251
|
+
amount: zod.ZodString;
|
|
1252
|
+
currency_code: zod.ZodOptional<zod.ZodString>;
|
|
1253
|
+
method: zod.ZodOptional<zod.ZodString>;
|
|
1254
|
+
description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1255
|
+
cardnumber: zod.ZodOptional<zod.ZodString>;
|
|
1256
|
+
cvv: zod.ZodOptional<zod.ZodString>;
|
|
1257
|
+
expiry_month: zod.ZodOptional<zod.ZodString>;
|
|
1258
|
+
expiry_year: zod.ZodOptional<zod.ZodString>;
|
|
1259
|
+
postal_code: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1260
|
+
bankaccountnumber: zod.ZodOptional<zod.ZodString>;
|
|
1261
|
+
routing_number: zod.ZodOptional<zod.ZodString>;
|
|
1262
|
+
account_type: zod.ZodOptional<zod.ZodString>;
|
|
1263
|
+
parameters: zod.ZodObject<{
|
|
1264
|
+
campaignid: zod.ZodString;
|
|
1265
|
+
callerphone: zod.ZodString;
|
|
1266
|
+
sessionid: zod.ZodOptional<zod.ZodString>;
|
|
1267
|
+
cardtype: zod.ZodOptional<zod.ZodString>;
|
|
1268
|
+
billingzip: zod.ZodOptional<zod.ZodString>;
|
|
1269
|
+
callid: zod.ZodOptional<zod.ZodString>;
|
|
1270
|
+
payment_method_id: zod.ZodOptional<zod.ZodString>;
|
|
1271
|
+
paymentdate: zod.ZodOptional<zod.ZodString>;
|
|
1272
|
+
planfrequency: zod.ZodOptional<zod.ZodString>;
|
|
1273
|
+
plantype: zod.ZodOptional<zod.ZodString>;
|
|
1274
|
+
numberofpayments: zod.ZodOptional<zod.ZodString>;
|
|
1275
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1276
|
+
campaignid: string;
|
|
1277
|
+
callerphone: string;
|
|
1278
|
+
sessionid?: string | undefined;
|
|
1279
|
+
cardtype?: string | undefined;
|
|
1280
|
+
billingzip?: string | undefined;
|
|
1281
|
+
callid?: string | undefined;
|
|
1282
|
+
payment_method_id?: string | undefined;
|
|
1283
|
+
paymentdate?: string | undefined;
|
|
1284
|
+
planfrequency?: string | undefined;
|
|
1285
|
+
plantype?: string | undefined;
|
|
1286
|
+
numberofpayments?: string | undefined;
|
|
1287
|
+
}, {
|
|
1288
|
+
campaignid: string;
|
|
1289
|
+
callerphone: string;
|
|
1290
|
+
sessionid?: string | undefined;
|
|
1291
|
+
cardtype?: string | undefined;
|
|
1292
|
+
billingzip?: string | undefined;
|
|
1293
|
+
callid?: string | undefined;
|
|
1294
|
+
payment_method_id?: string | undefined;
|
|
1295
|
+
paymentdate?: string | undefined;
|
|
1296
|
+
planfrequency?: string | undefined;
|
|
1297
|
+
plantype?: string | undefined;
|
|
1298
|
+
numberofpayments?: string | undefined;
|
|
1299
|
+
}>;
|
|
1300
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1301
|
+
transaction_id: string;
|
|
1302
|
+
amount: string;
|
|
1303
|
+
parameters: {
|
|
1304
|
+
campaignid: string;
|
|
1305
|
+
callerphone: string;
|
|
1306
|
+
sessionid?: string | undefined;
|
|
1307
|
+
cardtype?: string | undefined;
|
|
1308
|
+
billingzip?: string | undefined;
|
|
1309
|
+
callid?: string | undefined;
|
|
1310
|
+
payment_method_id?: string | undefined;
|
|
1311
|
+
paymentdate?: string | undefined;
|
|
1312
|
+
planfrequency?: string | undefined;
|
|
1313
|
+
plantype?: string | undefined;
|
|
1314
|
+
numberofpayments?: string | undefined;
|
|
1315
|
+
};
|
|
1316
|
+
method?: string | undefined;
|
|
1317
|
+
currency_code?: string | undefined;
|
|
1318
|
+
description?: string | null | undefined;
|
|
1319
|
+
cardnumber?: string | undefined;
|
|
1320
|
+
cvv?: string | undefined;
|
|
1321
|
+
expiry_month?: string | undefined;
|
|
1322
|
+
expiry_year?: string | undefined;
|
|
1323
|
+
postal_code?: string | null | undefined;
|
|
1324
|
+
bankaccountnumber?: string | undefined;
|
|
1325
|
+
routing_number?: string | undefined;
|
|
1326
|
+
account_type?: string | undefined;
|
|
1327
|
+
}, {
|
|
1328
|
+
transaction_id: string;
|
|
1329
|
+
amount: string;
|
|
1330
|
+
parameters: {
|
|
1331
|
+
campaignid: string;
|
|
1332
|
+
callerphone: string;
|
|
1333
|
+
sessionid?: string | undefined;
|
|
1334
|
+
cardtype?: string | undefined;
|
|
1335
|
+
billingzip?: string | undefined;
|
|
1336
|
+
callid?: string | undefined;
|
|
1337
|
+
payment_method_id?: string | undefined;
|
|
1338
|
+
paymentdate?: string | undefined;
|
|
1339
|
+
planfrequency?: string | undefined;
|
|
1340
|
+
plantype?: string | undefined;
|
|
1341
|
+
numberofpayments?: string | undefined;
|
|
1342
|
+
};
|
|
1343
|
+
method?: string | undefined;
|
|
1344
|
+
currency_code?: string | undefined;
|
|
1345
|
+
description?: string | null | undefined;
|
|
1346
|
+
cardnumber?: string | undefined;
|
|
1347
|
+
cvv?: string | undefined;
|
|
1348
|
+
expiry_month?: string | undefined;
|
|
1349
|
+
expiry_year?: string | undefined;
|
|
1350
|
+
postal_code?: string | null | undefined;
|
|
1351
|
+
bankaccountnumber?: string | undefined;
|
|
1352
|
+
routing_number?: string | undefined;
|
|
1353
|
+
account_type?: string | undefined;
|
|
1354
|
+
}>;
|
|
1355
|
+
export declare const ProcessNelnetPaymentResponse: zod.ZodObject<{
|
|
1356
|
+
charge_id: zod.ZodString;
|
|
1357
|
+
error_code: zod.ZodNullable<zod.ZodString>;
|
|
1358
|
+
error_message: zod.ZodNullable<zod.ZodString>;
|
|
1359
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1360
|
+
charge_id: string;
|
|
1361
|
+
error_code: string | null;
|
|
1362
|
+
error_message: string | null;
|
|
1363
|
+
}, {
|
|
1364
|
+
charge_id: string;
|
|
1365
|
+
error_code: string | null;
|
|
1366
|
+
error_message: string | null;
|
|
1367
|
+
}>;
|
|
1245
1368
|
/**
|
|
1246
1369
|
* Accepts Twilio Generic Pay Connector JSON callback. Resolves target by phone, processes payment through Oliphant, and returns charge_id or error.
|
|
1247
1370
|
* @summary Process an end-to-end Oliphant payment
|
package/public/schemas.js
CHANGED
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.ProcessSwervePayPaymentResponse = exports.ProcessSwervePayPaymentBody = exports.ProcessSpeedPayPaymentResponse = exports.ProcessSpeedPayPaymentBody = exports.ProcessRepayPaymentResponse = exports.ProcessRepayPaymentBody = exports.ProcessPayrazrPaymentResponse = exports.ProcessPayrazrPaymentBody = exports.ProcessPNMPaymentResponse = exports.ProcessPNMPaymentBody = exports.ProcessPayliancePaymentResponse = exports.ProcessPayliancePaymentBody = exports.ProcessOliphantPaymentResponse = exports.ProcessOliphantPaymentBody = exports.ProcessMonerisPaymentResponse = exports.ProcessMonerisPaymentBody = exports.UpdateContactResponse = exports.UpdateContactBody = exports.UpdateContactQueryParams = exports.UpdateContactParams = exports.GetContactResponse = exports.GetContactQueryParams = exports.GetContactParams = exports.GetOffersResponse = exports.GetOffersParams = exports.GetDebtsResponse = exports.GetDebtsQueryParams = exports.getDebtsQueryIncludeOffersDefault = exports.GetDebtsParams = exports.EndResponse = exports.EndBody = exports.endBodyCountryDefault = exports.StartBody = exports.startBodyCountryDefault = exports.startBodyTypeDefault = exports.startBodyPhoneNumberRegExp = exports.CreateCallBody = exports.createCallBodyExternalIdMax = exports.createCallBodyLastNameMax = exports.createCallBodyFirstNameMax = exports.MeResponse = exports.CheckResponse = void 0;
|
|
36
|
+
exports.ProcessSwervePayPaymentResponse = exports.ProcessSwervePayPaymentBody = exports.ProcessSpeedPayPaymentResponse = exports.ProcessSpeedPayPaymentBody = exports.ProcessRepayPaymentResponse = exports.ProcessRepayPaymentBody = exports.ProcessPayrazrPaymentResponse = exports.ProcessPayrazrPaymentBody = exports.ProcessPNMPaymentResponse = exports.ProcessPNMPaymentBody = exports.ProcessPayliancePaymentResponse = exports.ProcessPayliancePaymentBody = exports.ProcessOliphantPaymentResponse = exports.ProcessOliphantPaymentBody = exports.ProcessNelnetPaymentResponse = exports.ProcessNelnetPaymentBody = exports.ProcessMonerisPaymentResponse = exports.ProcessMonerisPaymentBody = exports.UpdateContactResponse = exports.UpdateContactBody = exports.UpdateContactQueryParams = exports.UpdateContactParams = exports.GetContactResponse = exports.GetContactQueryParams = exports.GetContactParams = exports.GetOffersResponse = exports.GetOffersParams = exports.GetDebtsResponse = exports.GetDebtsQueryParams = exports.getDebtsQueryIncludeOffersDefault = exports.GetDebtsParams = exports.EndResponse = exports.EndBody = exports.endBodyCountryDefault = exports.StartBody = exports.startBodyCountryDefault = exports.startBodyTypeDefault = exports.startBodyPhoneNumberRegExp = exports.CreateCallBody = exports.createCallBodyExternalIdMax = exports.createCallBodyLastNameMax = exports.createCallBodyFirstNameMax = exports.MeResponse = exports.CheckResponse = void 0;
|
|
37
37
|
/**
|
|
38
38
|
* Generated by orval v8.2.0 🍺
|
|
39
39
|
* Do not edit manually.
|
|
@@ -308,6 +308,43 @@ exports.ProcessMonerisPaymentResponse = zod.object({
|
|
|
308
308
|
"error_code": zod.string().nullable(),
|
|
309
309
|
"error_message": zod.string().nullable()
|
|
310
310
|
});
|
|
311
|
+
/**
|
|
312
|
+
* Accepts Twilio Generic Pay Connector JSON callback. Resolves target by phone, submits ACH against the borrower's saved Velocity bank profile, and returns charge_id or error.
|
|
313
|
+
* @summary Process an end-to-end Nelnet ACH-on-file payment
|
|
314
|
+
*/
|
|
315
|
+
exports.ProcessNelnetPaymentBody = zod.object({
|
|
316
|
+
"transaction_id": zod.string(),
|
|
317
|
+
"amount": zod.string(),
|
|
318
|
+
"currency_code": zod.string().optional(),
|
|
319
|
+
"method": zod.string().optional(),
|
|
320
|
+
"description": zod.string().nullish(),
|
|
321
|
+
"cardnumber": zod.string().optional(),
|
|
322
|
+
"cvv": zod.string().optional(),
|
|
323
|
+
"expiry_month": zod.string().optional(),
|
|
324
|
+
"expiry_year": zod.string().optional(),
|
|
325
|
+
"postal_code": zod.string().nullish(),
|
|
326
|
+
"bankaccountnumber": zod.string().optional(),
|
|
327
|
+
"routing_number": zod.string().optional(),
|
|
328
|
+
"account_type": zod.string().optional(),
|
|
329
|
+
"parameters": zod.object({
|
|
330
|
+
"campaignid": zod.string(),
|
|
331
|
+
"callerphone": zod.string(),
|
|
332
|
+
"sessionid": zod.string().optional(),
|
|
333
|
+
"cardtype": zod.string().optional(),
|
|
334
|
+
"billingzip": zod.string().optional(),
|
|
335
|
+
"callid": zod.string().optional(),
|
|
336
|
+
"payment_method_id": zod.string().optional(),
|
|
337
|
+
"paymentdate": zod.string().optional(),
|
|
338
|
+
"planfrequency": zod.string().optional(),
|
|
339
|
+
"plantype": zod.string().optional(),
|
|
340
|
+
"numberofpayments": zod.string().optional()
|
|
341
|
+
})
|
|
342
|
+
});
|
|
343
|
+
exports.ProcessNelnetPaymentResponse = zod.object({
|
|
344
|
+
"charge_id": zod.string(),
|
|
345
|
+
"error_code": zod.string().nullable(),
|
|
346
|
+
"error_message": zod.string().nullable()
|
|
347
|
+
});
|
|
311
348
|
/**
|
|
312
349
|
* Accepts Twilio Generic Pay Connector JSON callback. Resolves target by phone, processes payment through Oliphant, and returns charge_id or error.
|
|
313
350
|
* @summary Process an end-to-end Oliphant payment
|