squarefi-bff-api-module 1.22.4 → 1.22.6

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.
@@ -58,7 +58,7 @@ export declare const issuing: {
58
58
  };
59
59
  config: {
60
60
  programs: {
61
- getAll: () => Promise<API.Issuing.Programs.Response["data"]>;
61
+ getAll: (params: API.Issuing.Programs.Request) => Promise<API.Issuing.Programs.Response>;
62
62
  };
63
63
  };
64
64
  };
@@ -131,7 +131,7 @@ exports.issuing = {
131
131
  },
132
132
  config: {
133
133
  programs: {
134
- getAll: () => apiClientFactory_1.apiClientV1.getRequest('/issuing/config/programs').then(({ data }) => data),
134
+ getAll: (params) => apiClientFactory_1.apiClientV1.getRequest('/issuing/config/programs', { params }),
135
135
  },
136
136
  },
137
137
  };
@@ -1040,6 +1040,8 @@ export interface components {
1040
1040
  is_developer: boolean;
1041
1041
  first_name?: string | null;
1042
1042
  last_name?: string | null;
1043
+ /** @description User birth date in ISO 8601 format */
1044
+ birth_date?: string | null;
1043
1045
  };
1044
1046
  SignInByEmailWithPasswordDto: {
1045
1047
  password: string;
@@ -1060,6 +1062,8 @@ export interface components {
1060
1062
  default_currency?: string;
1061
1063
  first_name?: string | null;
1062
1064
  last_name?: string | null;
1065
+ /** @description User birth date in ISO 8601 format */
1066
+ birth_date?: string | null;
1063
1067
  };
1064
1068
  ChangeEmailDto: {
1065
1069
  access_token: string;
@@ -763,6 +763,9 @@ export declare namespace API {
763
763
  }
764
764
  namespace Issuing {
765
765
  namespace Programs {
766
+ type Request = {
767
+ wallet_id: string;
768
+ };
766
769
  type Response = {
767
770
  count: number;
768
771
  data: API.Cards.Config.Program[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.22.4",
3
+ "version": "1.22.6",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -175,8 +175,8 @@ export const issuing = {
175
175
  },
176
176
  config: {
177
177
  programs: {
178
- getAll: (): Promise<API.Issuing.Programs.Response['data']> =>
179
- apiClientV1.getRequest<API.Issuing.Programs.Response>('/issuing/config/programs').then(({ data }) => data),
178
+ getAll: (params: API.Issuing.Programs.Request): Promise<API.Issuing.Programs.Response> =>
179
+ apiClientV1.getRequest<API.Issuing.Programs.Response>('/issuing/config/programs', { params }),
180
180
  },
181
181
  },
182
182
  };
@@ -1041,6 +1041,8 @@ export interface components {
1041
1041
  is_developer: boolean;
1042
1042
  first_name?: string | null;
1043
1043
  last_name?: string | null;
1044
+ /** @description User birth date in ISO 8601 format */
1045
+ birth_date?: string | null;
1044
1046
  };
1045
1047
  SignInByEmailWithPasswordDto: {
1046
1048
  password: string;
@@ -1061,6 +1063,8 @@ export interface components {
1061
1063
  default_currency?: string;
1062
1064
  first_name?: string | null;
1063
1065
  last_name?: string | null;
1066
+ /** @description User birth date in ISO 8601 format */
1067
+ birth_date?: string | null;
1064
1068
  };
1065
1069
  ChangeEmailDto: {
1066
1070
  access_token: string;
@@ -915,6 +915,9 @@ export namespace API {
915
915
 
916
916
  export namespace Issuing {
917
917
  export namespace Programs {
918
+ export type Request = {
919
+ wallet_id: string;
920
+ };
918
921
  export type Response = {
919
922
  count: number;
920
923
  data: API.Cards.Config.Program[];