squarefi-bff-api-module 1.26.1 → 1.26.3

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.
@@ -2,5 +2,6 @@ import { API } from './types/types';
2
2
  export declare const persona: {
3
3
  inquiries: {
4
4
  init: ({ wallet_id, type }: API.Persona.Inquiries.Init.Request) => Promise<API.Persona.Inquiries.Init.Response>;
5
+ resume: ({ wallet_id, inquiry_id, }: API.Persona.Inquiries.Resume.Request) => Promise<API.Persona.Inquiries.Resume.Response>;
5
6
  };
6
7
  };
@@ -5,5 +5,6 @@ const apiClientFactory_1 = require("../utils/apiClientFactory");
5
5
  exports.persona = {
6
6
  inquiries: {
7
7
  init: ({ wallet_id, type }) => apiClientFactory_1.apiClientV2.postRequest(`/persona/inquiries/init/${wallet_id}/${type}`),
8
+ resume: ({ wallet_id, inquiry_id, }) => apiClientFactory_1.apiClientV2.postRequest(`/persona/inquiries/${wallet_id}/${inquiry_id}/resume`),
8
9
  },
9
10
  };
@@ -89,7 +89,7 @@ export declare namespace API {
89
89
  form_factor: CardFormFactor | string;
90
90
  consent_text: string | null;
91
91
  name: string;
92
- card_limit: number;
92
+ max_cards: number;
93
93
  realtime_auth: boolean;
94
94
  tokenizable: boolean;
95
95
  kyc_rails_id: string;
@@ -1829,6 +1829,10 @@ export declare namespace API {
1829
1829
  type Request = operations['PersonaController_initInquiry']['parameters']['path'];
1830
1830
  type Response = operations['PersonaController_initInquiry']['responses']['200']['content']['application/json'];
1831
1831
  }
1832
+ namespace Resume {
1833
+ type Request = operations['PersonaController_resumeInquiry']['parameters']['path'];
1834
+ type Response = operations['PersonaController_resumeInquiry']['responses']['200']['content']['application/json'];
1835
+ }
1832
1836
  }
1833
1837
  }
1834
1838
  namespace TOTP {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.26.1",
3
+ "version": "1.26.3",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -5,5 +5,12 @@ export const persona = {
5
5
  inquiries: {
6
6
  init: ({ wallet_id, type }: API.Persona.Inquiries.Init.Request): Promise<API.Persona.Inquiries.Init.Response> =>
7
7
  apiClientV2.postRequest<API.Persona.Inquiries.Init.Response>(`/persona/inquiries/init/${wallet_id}/${type}`),
8
+ resume: ({
9
+ wallet_id,
10
+ inquiry_id,
11
+ }: API.Persona.Inquiries.Resume.Request): Promise<API.Persona.Inquiries.Resume.Response> =>
12
+ apiClientV2.postRequest<API.Persona.Inquiries.Resume.Response>(
13
+ `/persona/inquiries/${wallet_id}/${inquiry_id}/resume`
14
+ ),
8
15
  },
9
16
  };
@@ -122,7 +122,8 @@ export namespace API {
122
122
  form_factor: CardFormFactor | string;
123
123
  consent_text: string | null;
124
124
  name: string;
125
- card_limit: number;
125
+ // card_limit: number; deprecated, use max_cards instead
126
+ max_cards: number;
126
127
  realtime_auth: boolean;
127
128
  tokenizable: boolean;
128
129
  kyc_rails_id: string;
@@ -2303,6 +2304,11 @@ export namespace API {
2303
2304
  export type Response =
2304
2305
  operations['PersonaController_initInquiry']['responses']['200']['content']['application/json'];
2305
2306
  }
2307
+ export namespace Resume {
2308
+ export type Request = operations['PersonaController_resumeInquiry']['parameters']['path'];
2309
+ export type Response =
2310
+ operations['PersonaController_resumeInquiry']['responses']['200']['content']['application/json'];
2311
+ }
2306
2312
  }
2307
2313
  }
2308
2314