@domu-ai/kiban-sdk 1.145.2 → 1.146.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domu-ai/kiban-sdk",
3
- "version": "1.145.2",
3
+ "version": "1.146.0",
4
4
  "description": "Generated TypeScript SDKs for Kiban public, internal, and dashboard APIs.",
5
5
  "license": "UNLICENSED",
6
6
  "main": "./index.js",
@@ -503,6 +503,41 @@ export type PublicPaymentsConnectorsMonerisPost200 = {
503
503
  /** @nullable */
504
504
  error_message: string | null;
505
505
  };
506
+ export type PublicPaymentsConnectorsOliphantPaymentPostBodyParameters = {
507
+ campaignid: string;
508
+ callerphone: string;
509
+ sessionid?: string;
510
+ payment_method_id?: string;
511
+ paymentdate?: string;
512
+ planfrequency?: string;
513
+ plantype?: string;
514
+ numberofpayments?: string;
515
+ };
516
+ export type PublicPaymentsConnectorsOliphantPaymentPostBody = {
517
+ transaction_id: string;
518
+ amount: string;
519
+ currency_code?: string;
520
+ method?: string;
521
+ /** @nullable */
522
+ description?: string | null;
523
+ cardnumber?: string;
524
+ cvv?: string;
525
+ expiry_month?: string;
526
+ expiry_year?: string;
527
+ /** @nullable */
528
+ postal_code?: string | null;
529
+ bankaccountnumber?: string;
530
+ routing_number?: string;
531
+ account_type?: string;
532
+ parameters: PublicPaymentsConnectorsOliphantPaymentPostBodyParameters;
533
+ };
534
+ export type PublicPaymentsConnectorsOliphantPaymentPost200 = {
535
+ charge_id: string;
536
+ /** @nullable */
537
+ error_code: string | null;
538
+ /** @nullable */
539
+ error_message: string | null;
540
+ };
506
541
  export type PublicPaymentsConnectorsPayliancePostBodyParameters = {
507
542
  campaignid: string;
508
543
  callerphone: string;
@@ -1052,6 +1087,20 @@ export type publicPaymentsConnectorsMonerisPostResponseSuccess = (publicPayments
1052
1087
  export type publicPaymentsConnectorsMonerisPostResponse = (publicPaymentsConnectorsMonerisPostResponseSuccess);
1053
1088
  export declare const getPublicPaymentsConnectorsMonerisPostUrl: () => string;
1054
1089
  export declare const publicPaymentsConnectorsMonerisPost: (publicPaymentsConnectorsMonerisPostBody: PublicPaymentsConnectorsMonerisPostBody, options?: RequestInit) => Promise<publicPaymentsConnectorsMonerisPostResponse>;
1090
+ /**
1091
+ * Accepts Twilio Generic Pay Connector JSON callback. Resolves target by phone, processes payment through Oliphant, and returns charge_id or error.
1092
+ * @summary Process an end-to-end Oliphant payment
1093
+ */
1094
+ export type publicPaymentsConnectorsOliphantPaymentPostResponse200 = {
1095
+ data: PublicPaymentsConnectorsOliphantPaymentPost200;
1096
+ status: 200;
1097
+ };
1098
+ export type publicPaymentsConnectorsOliphantPaymentPostResponseSuccess = (publicPaymentsConnectorsOliphantPaymentPostResponse200) & {
1099
+ headers: Headers;
1100
+ };
1101
+ export type publicPaymentsConnectorsOliphantPaymentPostResponse = (publicPaymentsConnectorsOliphantPaymentPostResponseSuccess);
1102
+ export declare const getPublicPaymentsConnectorsOliphantPaymentPostUrl: () => string;
1103
+ export declare const publicPaymentsConnectorsOliphantPaymentPost: (publicPaymentsConnectorsOliphantPaymentPostBody: PublicPaymentsConnectorsOliphantPaymentPostBody, options?: RequestInit) => Promise<publicPaymentsConnectorsOliphantPaymentPostResponse>;
1055
1104
  /**
1056
1105
  * Payliance Generic Payment Connector
1057
1106
  * @summary Process a Payliance card verify, tokenize, and optional payment delegate
package/public/client.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.publicPaymentsConnectorsSwervepayPost = exports.getPublicPaymentsConnectorsSwervepayPostUrl = exports.publicPaymentsConnectorsSpeedpayPost = exports.getPublicPaymentsConnectorsSpeedpayPostUrl = exports.publicPaymentsConnectorsRepayPost = exports.getPublicPaymentsConnectorsRepayPostUrl = exports.publicPaymentsConnectorsPayrazrPost = exports.getPublicPaymentsConnectorsPayrazrPostUrl = exports.publicPaymentsConnectorsPaynearmePost = exports.getPublicPaymentsConnectorsPaynearmePostUrl = exports.publicPaymentsConnectorsPayliancePost = exports.getPublicPaymentsConnectorsPayliancePostUrl = exports.publicPaymentsConnectorsMonerisPost = exports.getPublicPaymentsConnectorsMonerisPostUrl = exports.publicContactsIdPut = exports.getPublicContactsIdPutUrl = exports.publicContactsIdGet = exports.getPublicContactsIdGetUrl = exports.publicClientsOliphantLookupPost = exports.getPublicClientsOliphantLookupPostUrl = exports.publicClientsAloricaNotesPost = exports.getPublicClientsAloricaNotesPostUrl = exports.publicClientsNubankOffersCustomerIdGet = exports.getPublicClientsNubankOffersCustomerIdGetUrl = exports.publicClientsNubankDebtsCustomerIdGet = exports.getPublicClientsNubankDebtsCustomerIdGetUrl = exports.publicClientsNubankInteractionsEndPost = exports.getPublicClientsNubankInteractionsEndPostUrl = exports.publicClientsNubankInteractionsStartPost = exports.getPublicClientsNubankInteractionsStartPostUrl = exports.publicCallsPost = exports.getPublicCallsPostUrl = exports.publicAuthMeGet = exports.getPublicAuthMeGetUrl = exports.publicHealthGet = exports.getPublicHealthGetUrl = exports.PublicClientsAloricaNotesPost200ReturnMessage = exports.PublicClientsAloricaNotesPostBodyResult = exports.PublicClientsNubankInteractionsEndPostBodyCountry = exports.PublicClientsNubankInteractionsStartPostBodyCountry = exports.PublicCallsPost202Status = exports.PublicHealthGet200Status = void 0;
3
+ exports.publicPaymentsConnectorsSwervepayPost = exports.getPublicPaymentsConnectorsSwervepayPostUrl = exports.publicPaymentsConnectorsSpeedpayPost = exports.getPublicPaymentsConnectorsSpeedpayPostUrl = exports.publicPaymentsConnectorsRepayPost = exports.getPublicPaymentsConnectorsRepayPostUrl = exports.publicPaymentsConnectorsPayrazrPost = exports.getPublicPaymentsConnectorsPayrazrPostUrl = exports.publicPaymentsConnectorsPaynearmePost = exports.getPublicPaymentsConnectorsPaynearmePostUrl = exports.publicPaymentsConnectorsPayliancePost = exports.getPublicPaymentsConnectorsPayliancePostUrl = exports.publicPaymentsConnectorsOliphantPaymentPost = exports.getPublicPaymentsConnectorsOliphantPaymentPostUrl = exports.publicPaymentsConnectorsMonerisPost = exports.getPublicPaymentsConnectorsMonerisPostUrl = exports.publicContactsIdPut = exports.getPublicContactsIdPutUrl = exports.publicContactsIdGet = exports.getPublicContactsIdGetUrl = exports.publicClientsOliphantLookupPost = exports.getPublicClientsOliphantLookupPostUrl = exports.publicClientsAloricaNotesPost = exports.getPublicClientsAloricaNotesPostUrl = exports.publicClientsNubankOffersCustomerIdGet = exports.getPublicClientsNubankOffersCustomerIdGetUrl = exports.publicClientsNubankDebtsCustomerIdGet = exports.getPublicClientsNubankDebtsCustomerIdGetUrl = exports.publicClientsNubankInteractionsEndPost = exports.getPublicClientsNubankInteractionsEndPostUrl = exports.publicClientsNubankInteractionsStartPost = exports.getPublicClientsNubankInteractionsStartPostUrl = exports.publicCallsPost = exports.getPublicCallsPostUrl = exports.publicAuthMeGet = exports.getPublicAuthMeGetUrl = exports.publicHealthGet = exports.getPublicHealthGetUrl = exports.PublicClientsAloricaNotesPost200ReturnMessage = exports.PublicClientsAloricaNotesPostBodyResult = exports.PublicClientsNubankInteractionsEndPostBodyCountry = exports.PublicClientsNubankInteractionsStartPostBodyCountry = exports.PublicCallsPost202Status = exports.PublicHealthGet200Status = void 0;
4
4
  /**
5
5
  * Generated by orval v8.2.0 🍺
6
6
  * Do not edit manually.
@@ -221,6 +221,20 @@ const publicPaymentsConnectorsMonerisPost = async (publicPaymentsConnectorsMoner
221
221
  };
222
222
  exports.publicPaymentsConnectorsMonerisPost = publicPaymentsConnectorsMonerisPost;
223
223
  ;
224
+ const getPublicPaymentsConnectorsOliphantPaymentPostUrl = () => {
225
+ return `/v1/payments/connectors/oliphant-payment`;
226
+ };
227
+ exports.getPublicPaymentsConnectorsOliphantPaymentPostUrl = getPublicPaymentsConnectorsOliphantPaymentPostUrl;
228
+ const publicPaymentsConnectorsOliphantPaymentPost = async (publicPaymentsConnectorsOliphantPaymentPostBody, options) => {
229
+ return (0, fetcher_1.customFetcher)((0, exports.getPublicPaymentsConnectorsOliphantPaymentPostUrl)(), {
230
+ ...options,
231
+ method: 'POST',
232
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
233
+ body: JSON.stringify(publicPaymentsConnectorsOliphantPaymentPostBody)
234
+ });
235
+ };
236
+ exports.publicPaymentsConnectorsOliphantPaymentPost = publicPaymentsConnectorsOliphantPaymentPost;
237
+ ;
224
238
  const getPublicPaymentsConnectorsPayliancePostUrl = () => {
225
239
  return `/v1/payments/connectors/payliance`;
226
240
  };
@@ -1286,6 +1286,114 @@ export declare const ProcessMonerisPaymentResponse: zod.ZodObject<{
1286
1286
  error_code: string | null;
1287
1287
  error_message: string | null;
1288
1288
  }>;
1289
+ /**
1290
+ * Accepts Twilio Generic Pay Connector JSON callback. Resolves target by phone, processes payment through Oliphant, and returns charge_id or error.
1291
+ * @summary Process an end-to-end Oliphant payment
1292
+ */
1293
+ export declare const ProcessOliphantPaymentBody: zod.ZodObject<{
1294
+ transaction_id: zod.ZodString;
1295
+ amount: zod.ZodString;
1296
+ currency_code: zod.ZodOptional<zod.ZodString>;
1297
+ method: zod.ZodOptional<zod.ZodString>;
1298
+ description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1299
+ cardnumber: zod.ZodOptional<zod.ZodString>;
1300
+ cvv: zod.ZodOptional<zod.ZodString>;
1301
+ expiry_month: zod.ZodOptional<zod.ZodString>;
1302
+ expiry_year: zod.ZodOptional<zod.ZodString>;
1303
+ postal_code: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1304
+ bankaccountnumber: zod.ZodOptional<zod.ZodString>;
1305
+ routing_number: zod.ZodOptional<zod.ZodString>;
1306
+ account_type: zod.ZodOptional<zod.ZodString>;
1307
+ parameters: zod.ZodObject<{
1308
+ campaignid: zod.ZodString;
1309
+ callerphone: zod.ZodString;
1310
+ sessionid: zod.ZodOptional<zod.ZodString>;
1311
+ payment_method_id: zod.ZodOptional<zod.ZodString>;
1312
+ paymentdate: zod.ZodOptional<zod.ZodString>;
1313
+ planfrequency: zod.ZodOptional<zod.ZodString>;
1314
+ plantype: zod.ZodOptional<zod.ZodString>;
1315
+ numberofpayments: zod.ZodOptional<zod.ZodString>;
1316
+ }, "strip", zod.ZodTypeAny, {
1317
+ campaignid: string;
1318
+ callerphone: string;
1319
+ sessionid?: string | undefined;
1320
+ payment_method_id?: string | undefined;
1321
+ paymentdate?: string | undefined;
1322
+ planfrequency?: string | undefined;
1323
+ plantype?: string | undefined;
1324
+ numberofpayments?: string | undefined;
1325
+ }, {
1326
+ campaignid: string;
1327
+ callerphone: string;
1328
+ sessionid?: string | undefined;
1329
+ payment_method_id?: string | undefined;
1330
+ paymentdate?: string | undefined;
1331
+ planfrequency?: string | undefined;
1332
+ plantype?: string | undefined;
1333
+ numberofpayments?: string | undefined;
1334
+ }>;
1335
+ }, "strip", zod.ZodTypeAny, {
1336
+ transaction_id: string;
1337
+ amount: string;
1338
+ parameters: {
1339
+ campaignid: string;
1340
+ callerphone: string;
1341
+ sessionid?: string | undefined;
1342
+ payment_method_id?: string | undefined;
1343
+ paymentdate?: string | undefined;
1344
+ planfrequency?: string | undefined;
1345
+ plantype?: string | undefined;
1346
+ numberofpayments?: string | undefined;
1347
+ };
1348
+ method?: string | undefined;
1349
+ currency_code?: string | undefined;
1350
+ description?: string | null | undefined;
1351
+ cardnumber?: string | undefined;
1352
+ cvv?: string | undefined;
1353
+ expiry_month?: string | undefined;
1354
+ expiry_year?: string | undefined;
1355
+ postal_code?: string | null | undefined;
1356
+ bankaccountnumber?: string | undefined;
1357
+ routing_number?: string | undefined;
1358
+ account_type?: string | undefined;
1359
+ }, {
1360
+ transaction_id: string;
1361
+ amount: string;
1362
+ parameters: {
1363
+ campaignid: string;
1364
+ callerphone: string;
1365
+ sessionid?: string | undefined;
1366
+ payment_method_id?: string | undefined;
1367
+ paymentdate?: string | undefined;
1368
+ planfrequency?: string | undefined;
1369
+ plantype?: string | undefined;
1370
+ numberofpayments?: string | undefined;
1371
+ };
1372
+ method?: string | undefined;
1373
+ currency_code?: string | undefined;
1374
+ description?: string | null | undefined;
1375
+ cardnumber?: string | undefined;
1376
+ cvv?: string | undefined;
1377
+ expiry_month?: string | undefined;
1378
+ expiry_year?: string | undefined;
1379
+ postal_code?: string | null | undefined;
1380
+ bankaccountnumber?: string | undefined;
1381
+ routing_number?: string | undefined;
1382
+ account_type?: string | undefined;
1383
+ }>;
1384
+ export declare const ProcessOliphantPaymentResponse: zod.ZodObject<{
1385
+ charge_id: zod.ZodString;
1386
+ error_code: zod.ZodNullable<zod.ZodString>;
1387
+ error_message: zod.ZodNullable<zod.ZodString>;
1388
+ }, "strip", zod.ZodTypeAny, {
1389
+ charge_id: string;
1390
+ error_code: string | null;
1391
+ error_message: string | null;
1392
+ }, {
1393
+ charge_id: string;
1394
+ error_code: string | null;
1395
+ error_message: string | null;
1396
+ }>;
1289
1397
  /**
1290
1398
  * Payliance Generic Payment Connector
1291
1399
  * @summary Process a Payliance card verify, tokenize, and optional payment delegate
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.ProcessMonerisPaymentResponse = exports.ProcessMonerisPaymentBody = exports.UpdateContactResponse = exports.UpdateContactBody = exports.UpdateContactQueryParams = exports.UpdateContactParams = exports.GetContactResponse = exports.GetContactQueryParams = exports.GetContactParams = exports.AgentLookupResponse = exports.AgentLookupBody = exports.AgentLookupQueryParams = exports.CreateAloricaNoteResponse = exports.CreateAloricaNoteBody = exports.CreateAloricaNoteQueryParams = 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.ProcessMonerisPaymentResponse = exports.ProcessMonerisPaymentBody = exports.UpdateContactResponse = exports.UpdateContactBody = exports.UpdateContactQueryParams = exports.UpdateContactParams = exports.GetContactResponse = exports.GetContactQueryParams = exports.GetContactParams = exports.AgentLookupResponse = exports.AgentLookupBody = exports.AgentLookupQueryParams = exports.CreateAloricaNoteResponse = exports.CreateAloricaNoteBody = exports.CreateAloricaNoteQueryParams = 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.
@@ -334,6 +334,40 @@ exports.ProcessMonerisPaymentResponse = zod.object({
334
334
  "error_code": zod.string().nullable(),
335
335
  "error_message": zod.string().nullable()
336
336
  });
337
+ /**
338
+ * Accepts Twilio Generic Pay Connector JSON callback. Resolves target by phone, processes payment through Oliphant, and returns charge_id or error.
339
+ * @summary Process an end-to-end Oliphant payment
340
+ */
341
+ exports.ProcessOliphantPaymentBody = zod.object({
342
+ "transaction_id": zod.string(),
343
+ "amount": zod.string(),
344
+ "currency_code": zod.string().optional(),
345
+ "method": zod.string().optional(),
346
+ "description": zod.string().nullish(),
347
+ "cardnumber": zod.string().optional(),
348
+ "cvv": zod.string().optional(),
349
+ "expiry_month": zod.string().optional(),
350
+ "expiry_year": zod.string().optional(),
351
+ "postal_code": zod.string().nullish(),
352
+ "bankaccountnumber": zod.string().optional(),
353
+ "routing_number": zod.string().optional(),
354
+ "account_type": zod.string().optional(),
355
+ "parameters": zod.object({
356
+ "campaignid": zod.string(),
357
+ "callerphone": zod.string(),
358
+ "sessionid": zod.string().optional(),
359
+ "payment_method_id": zod.string().optional(),
360
+ "paymentdate": zod.string().optional(),
361
+ "planfrequency": zod.string().optional(),
362
+ "plantype": zod.string().optional(),
363
+ "numberofpayments": zod.string().optional()
364
+ })
365
+ });
366
+ exports.ProcessOliphantPaymentResponse = zod.object({
367
+ "charge_id": zod.string(),
368
+ "error_code": zod.string().nullable(),
369
+ "error_message": zod.string().nullable()
370
+ });
337
371
  /**
338
372
  * Payliance Generic Payment Connector
339
373
  * @summary Process a Payliance card verify, tokenize, and optional payment delegate