squarefi-bff-api-module 1.22.7 → 1.22.8

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.
@@ -2077,32 +2077,18 @@ export declare namespace API {
2077
2077
  namespace UpdateUser {
2078
2078
  namespace Phone {
2079
2079
  namespace RequestOTP {
2080
- type Request = {
2081
- phone: string;
2082
- access_token: string;
2083
- refresh_token: string;
2084
- };
2080
+ type Request = operations['AuthenticatedUserController_changePhone']['requestBody']['content']['application/json'];
2085
2081
  }
2086
2082
  namespace Confirm {
2087
- type Request = {
2088
- phone: string;
2089
- token: string;
2090
- };
2083
+ type Request = operations['AuthenticatedUserController_changePhoneNumberConfirm']['requestBody']['content']['application/json'];
2091
2084
  }
2092
2085
  }
2093
2086
  namespace Email {
2094
2087
  namespace RequestOTP {
2095
- type Request = {
2096
- email: string;
2097
- access_token: string;
2098
- refresh_token: string;
2099
- };
2088
+ type Request = operations['AuthenticatedUserController_changeEmail']['requestBody']['content']['application/json'];
2100
2089
  }
2101
2090
  namespace Confirm {
2102
- type Request = {
2103
- email: string;
2104
- token: string;
2105
- };
2091
+ type Request = operations['AuthenticatedUserController_changeEmail']['requestBody']['content']['application/json'];
2106
2092
  }
2107
2093
  }
2108
2094
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.22.7",
3
+ "version": "1.22.8",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -2439,34 +2439,24 @@ export namespace API {
2439
2439
  export namespace UpdateUser {
2440
2440
  export namespace Phone {
2441
2441
  export namespace RequestOTP {
2442
- export type Request = {
2443
- phone: string;
2444
- access_token: string;
2445
- refresh_token: string;
2446
- };
2442
+ export type Request =
2443
+ operations['AuthenticatedUserController_changePhone']['requestBody']['content']['application/json'];
2447
2444
  }
2448
2445
  export namespace Confirm {
2449
- export type Request = {
2450
- phone: string;
2451
- token: string;
2452
- };
2446
+ export type Request =
2447
+ operations['AuthenticatedUserController_changePhoneNumberConfirm']['requestBody']['content']['application/json'];
2453
2448
  }
2454
2449
  }
2455
2450
 
2456
2451
  export namespace Email {
2457
2452
  export namespace RequestOTP {
2458
- export type Request = {
2459
- email: string;
2460
- access_token: string;
2461
- refresh_token: string;
2462
- };
2453
+ export type Request =
2454
+ operations['AuthenticatedUserController_changeEmail']['requestBody']['content']['application/json'];
2463
2455
  }
2464
2456
 
2465
2457
  export namespace Confirm {
2466
- export type Request = {
2467
- email: string;
2468
- token: string;
2469
- };
2458
+ export type Request =
2459
+ operations['AuthenticatedUserController_changeEmail']['requestBody']['content']['application/json'];
2470
2460
  }
2471
2461
  }
2472
2462
  }