@domu-ai/kiban-sdk 1.192.3 → 1.192.5

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.192.3",
3
+ "version": "1.192.5",
4
4
  "description": "Generated TypeScript SDKs for Kiban public, internal, and dashboard APIs.",
5
5
  "license": "UNLICENSED",
6
6
  "main": "./index.js",
@@ -337,34 +337,6 @@ export type PublicClientsNubankOffersCustomerIdGet503 = {
337
337
  code?: string;
338
338
  details?: unknown | null;
339
339
  };
340
- export type PublicClientsOliphantLookupPostParams = {
341
- /**
342
- * @minLength 1
343
- */
344
- campaignId: string;
345
- };
346
- export type PublicClientsOliphantLookupPostBody = {
347
- referenceNumber: string | number;
348
- };
349
- export type PublicClientsOliphantLookupPost200 = {
350
- account_found: boolean;
351
- accounts: (unknown | null)[];
352
- };
353
- export type PublicClientsOliphantLookupPost400 = {
354
- message: string;
355
- code?: string;
356
- details?: unknown | null;
357
- };
358
- export type PublicClientsOliphantLookupPost404 = {
359
- message: string;
360
- code?: string;
361
- details?: unknown | null;
362
- };
363
- export type PublicClientsOliphantLookupPost500 = {
364
- message: string;
365
- code?: string;
366
- details?: unknown | null;
367
- };
368
340
  export type PublicContactsIdGetParams = {
369
341
  campaignId: string;
370
342
  };
@@ -1114,61 +1086,6 @@ export declare function usePublicClientsNubankOffersCustomerIdGet<TData = Awaite
1114
1086
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1115
1087
  queryKey: DataTag<QueryKey, TData, TError>;
1116
1088
  };
1117
- /**
1118
- * Looks up an account by referenceNumber via the Oliphant agent lookup API.
1119
- * @summary Look up account in Oliphant
1120
- */
1121
- export type publicClientsOliphantLookupPostResponse200 = {
1122
- data: PublicClientsOliphantLookupPost200;
1123
- status: 200;
1124
- };
1125
- export type publicClientsOliphantLookupPostResponse400 = {
1126
- data: PublicClientsOliphantLookupPost400;
1127
- status: 400;
1128
- };
1129
- export type publicClientsOliphantLookupPostResponse404 = {
1130
- data: PublicClientsOliphantLookupPost404;
1131
- status: 404;
1132
- };
1133
- export type publicClientsOliphantLookupPostResponse500 = {
1134
- data: PublicClientsOliphantLookupPost500;
1135
- status: 500;
1136
- };
1137
- export type publicClientsOliphantLookupPostResponseSuccess = (publicClientsOliphantLookupPostResponse200) & {
1138
- headers: Headers;
1139
- };
1140
- export type publicClientsOliphantLookupPostResponseError = (publicClientsOliphantLookupPostResponse400 | publicClientsOliphantLookupPostResponse404 | publicClientsOliphantLookupPostResponse500) & {
1141
- headers: Headers;
1142
- };
1143
- export type publicClientsOliphantLookupPostResponse = (publicClientsOliphantLookupPostResponseSuccess | publicClientsOliphantLookupPostResponseError);
1144
- export declare const getPublicClientsOliphantLookupPostUrl: (params: PublicClientsOliphantLookupPostParams) => string;
1145
- export declare const publicClientsOliphantLookupPost: (publicClientsOliphantLookupPostBody: PublicClientsOliphantLookupPostBody, params: PublicClientsOliphantLookupPostParams, options?: RequestInit) => Promise<publicClientsOliphantLookupPostResponse>;
1146
- export declare const getPublicClientsOliphantLookupPostMutationOptions: <TError = PublicClientsOliphantLookupPost400 | PublicClientsOliphantLookupPost404 | PublicClientsOliphantLookupPost500, TContext = unknown>(options?: {
1147
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof publicClientsOliphantLookupPost>>, TError, {
1148
- data: PublicClientsOliphantLookupPostBody;
1149
- params: PublicClientsOliphantLookupPostParams;
1150
- }, TContext>;
1151
- request?: SecondParameter<typeof customFetcher>;
1152
- }) => UseMutationOptions<Awaited<ReturnType<typeof publicClientsOliphantLookupPost>>, TError, {
1153
- data: PublicClientsOliphantLookupPostBody;
1154
- params: PublicClientsOliphantLookupPostParams;
1155
- }, TContext>;
1156
- export type PublicClientsOliphantLookupPostMutationResult = NonNullable<Awaited<ReturnType<typeof publicClientsOliphantLookupPost>>>;
1157
- export type PublicClientsOliphantLookupPostMutationBody = PublicClientsOliphantLookupPostBody;
1158
- export type PublicClientsOliphantLookupPostMutationError = PublicClientsOliphantLookupPost400 | PublicClientsOliphantLookupPost404 | PublicClientsOliphantLookupPost500;
1159
- /**
1160
- * @summary Look up account in Oliphant
1161
- */
1162
- export declare const usePublicClientsOliphantLookupPost: <TError = PublicClientsOliphantLookupPost400 | PublicClientsOliphantLookupPost404 | PublicClientsOliphantLookupPost500, TContext = unknown>(options?: {
1163
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof publicClientsOliphantLookupPost>>, TError, {
1164
- data: PublicClientsOliphantLookupPostBody;
1165
- params: PublicClientsOliphantLookupPostParams;
1166
- }, TContext>;
1167
- request?: SecondParameter<typeof customFetcher>;
1168
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof publicClientsOliphantLookupPost>>, TError, {
1169
- data: PublicClientsOliphantLookupPostBody;
1170
- params: PublicClientsOliphantLookupPostParams;
1171
- }, TContext>;
1172
1089
  /**
1173
1090
  * @summary Get a contact by ID
1174
1091
  */
package/public/client.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.publicPaymentsConnectorsOliphantPaymentPost = exports.getPublicPaymentsConnectorsOliphantPaymentPostUrl = 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.usePublicClientsOliphantLookupPost = exports.getPublicClientsOliphantLookupPostMutationOptions = exports.publicClientsOliphantLookupPost = exports.getPublicClientsOliphantLookupPostUrl = 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;
3
+ exports.publicPaymentsConnectorsPayliancePost = exports.getPublicPaymentsConnectorsPayliancePostUrl = exports.usePublicPaymentsConnectorsOliphantPaymentPost = exports.getPublicPaymentsConnectorsOliphantPaymentPostMutationOptions = exports.publicPaymentsConnectorsOliphantPaymentPost = exports.getPublicPaymentsConnectorsOliphantPaymentPostUrl = 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 = void 0;
5
5
  exports.usePublicHealthGet = usePublicHealthGet;
6
6
  exports.usePublicAuthMeGet = usePublicAuthMeGet;
7
7
  exports.usePublicClientsNubankDebtsCustomerIdGet = usePublicClientsNubankDebtsCustomerIdGet;
@@ -268,47 +268,6 @@ function usePublicClientsNubankOffersCustomerIdGet(customerId, options, queryCli
268
268
  const query = (0, react_query_1.useQuery)(queryOptions, queryClient);
269
269
  return { ...query, queryKey: queryOptions.queryKey };
270
270
  }
271
- const getPublicClientsOliphantLookupPostUrl = (params) => {
272
- const normalizedParams = new URLSearchParams();
273
- Object.entries(params || {}).forEach(([key, value]) => {
274
- if (value !== undefined) {
275
- normalizedParams.append(key, value === null ? 'null' : value.toString());
276
- }
277
- });
278
- const stringifiedParams = normalizedParams.toString();
279
- return stringifiedParams.length > 0 ? `/v1/clients/oliphant/lookup?${stringifiedParams}` : `/v1/clients/oliphant/lookup`;
280
- };
281
- exports.getPublicClientsOliphantLookupPostUrl = getPublicClientsOliphantLookupPostUrl;
282
- const publicClientsOliphantLookupPost = async (publicClientsOliphantLookupPostBody, params, options) => {
283
- return (0, fetcher_1.customFetcher)((0, exports.getPublicClientsOliphantLookupPostUrl)(params), {
284
- ...options,
285
- method: 'POST',
286
- headers: { 'Content-Type': 'application/json', ...options?.headers },
287
- body: JSON.stringify(publicClientsOliphantLookupPostBody)
288
- });
289
- };
290
- exports.publicClientsOliphantLookupPost = publicClientsOliphantLookupPost;
291
- const getPublicClientsOliphantLookupPostMutationOptions = (options) => {
292
- const mutationKey = ['publicClientsOliphantLookupPost'];
293
- const { mutation: mutationOptions, request: requestOptions } = options ?
294
- options.mutation && 'mutationKey' in options.mutation && options.mutation.mutationKey ?
295
- options
296
- : { ...options, mutation: { ...options.mutation, mutationKey } }
297
- : { mutation: { mutationKey, }, request: undefined };
298
- const mutationFn = (props) => {
299
- const { data, params } = props ?? {};
300
- return (0, exports.publicClientsOliphantLookupPost)(data, params, requestOptions);
301
- };
302
- return { mutationFn, ...mutationOptions };
303
- };
304
- exports.getPublicClientsOliphantLookupPostMutationOptions = getPublicClientsOliphantLookupPostMutationOptions;
305
- /**
306
- * @summary Look up account in Oliphant
307
- */
308
- const usePublicClientsOliphantLookupPost = (options, queryClient) => {
309
- return (0, react_query_1.useMutation)((0, exports.getPublicClientsOliphantLookupPostMutationOptions)(options), queryClient);
310
- };
311
- exports.usePublicClientsOliphantLookupPost = usePublicClientsOliphantLookupPost;
312
271
  const getPublicContactsIdGetUrl = (id, params) => {
313
272
  const normalizedParams = new URLSearchParams();
314
273
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -1058,34 +1058,6 @@ export declare const GetOffersResponse: zod.ZodObject<{
1058
1058
  statusCode?: string | undefined;
1059
1059
  };
1060
1060
  }>;
1061
- /**
1062
- * Looks up an account by referenceNumber via the Oliphant agent lookup API.
1063
- * @summary Look up account in Oliphant
1064
- */
1065
- export declare const AgentLookupQueryParams: zod.ZodObject<{
1066
- campaignId: zod.ZodString;
1067
- }, "strip", zod.ZodTypeAny, {
1068
- campaignId: string;
1069
- }, {
1070
- campaignId: string;
1071
- }>;
1072
- export declare const AgentLookupBody: zod.ZodObject<{
1073
- referenceNumber: zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>;
1074
- }, "strip", zod.ZodTypeAny, {
1075
- referenceNumber: string | number;
1076
- }, {
1077
- referenceNumber: string | number;
1078
- }>;
1079
- export declare const AgentLookupResponse: zod.ZodObject<{
1080
- account_found: zod.ZodBoolean;
1081
- accounts: zod.ZodArray<zod.ZodNullable<zod.ZodUnknown>, "many">;
1082
- }, "strip", zod.ZodTypeAny, {
1083
- account_found: boolean;
1084
- accounts: unknown[];
1085
- }, {
1086
- account_found: boolean;
1087
- accounts: unknown[];
1088
- }>;
1089
1061
  /**
1090
1062
  * @summary Get a contact by ID
1091
1063
  */
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.AgentLookupResponse = exports.AgentLookupBody = exports.AgentLookupQueryParams = 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.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.
@@ -242,20 +242,6 @@ exports.GetOffersResponse = zod.object({
242
242
  "statusCode": zod.string().optional()
243
243
  })])
244
244
  });
245
- /**
246
- * Looks up an account by referenceNumber via the Oliphant agent lookup API.
247
- * @summary Look up account in Oliphant
248
- */
249
- exports.AgentLookupQueryParams = zod.object({
250
- "campaignId": zod.string().min(1)
251
- });
252
- exports.AgentLookupBody = zod.object({
253
- "referenceNumber": zod.union([zod.string().min(1), zod.number()])
254
- });
255
- exports.AgentLookupResponse = zod.object({
256
- "account_found": zod.boolean(),
257
- "accounts": zod.array(zod.unknown().nullable())
258
- });
259
245
  /**
260
246
  * @summary Get a contact by ID
261
247
  */