squarefi-bff-api-module 1.26.2 → 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
  };
@@ -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.2",
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
  };
@@ -2304,6 +2304,11 @@ export namespace API {
2304
2304
  export type Response =
2305
2305
  operations['PersonaController_initInquiry']['responses']['200']['content']['application/json'];
2306
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
+ }
2307
2312
  }
2308
2313
  }
2309
2314