squarefi-bff-api-module 1.22.5 → 1.22.7
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/dist/api/issuing.d.ts
CHANGED
package/dist/api/issuing.js
CHANGED
|
@@ -131,7 +131,7 @@ exports.issuing = {
|
|
|
131
131
|
},
|
|
132
132
|
config: {
|
|
133
133
|
programs: {
|
|
134
|
-
getAll: () => apiClientFactory_1.apiClientV1.getRequest('/issuing/config/programs'
|
|
134
|
+
getAll: (params) => apiClientFactory_1.apiClientV1.getRequest('/issuing/config/programs', { params }),
|
|
135
135
|
},
|
|
136
136
|
},
|
|
137
137
|
};
|
|
@@ -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[];
|
|
@@ -2055,6 +2058,7 @@ export declare namespace API {
|
|
|
2055
2058
|
offset: number;
|
|
2056
2059
|
limit: number;
|
|
2057
2060
|
pagination?: boolean;
|
|
2061
|
+
wallet_id: string;
|
|
2058
2062
|
}
|
|
2059
2063
|
interface Response {
|
|
2060
2064
|
data: Program[];
|
package/package.json
CHANGED
package/src/api/issuing.ts
CHANGED
|
@@ -175,8 +175,8 @@ export const issuing = {
|
|
|
175
175
|
},
|
|
176
176
|
config: {
|
|
177
177
|
programs: {
|
|
178
|
-
getAll: (): Promise<API.Issuing.Programs.Response
|
|
179
|
-
apiClientV1.getRequest<API.Issuing.Programs.Response>('/issuing/config/programs'
|
|
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
|
};
|
package/src/api/types/types.ts
CHANGED
|
@@ -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[];
|
|
@@ -2414,6 +2417,7 @@ export namespace API {
|
|
|
2414
2417
|
offset: number;
|
|
2415
2418
|
limit: number;
|
|
2416
2419
|
pagination?: boolean;
|
|
2420
|
+
wallet_id: string;
|
|
2417
2421
|
}
|
|
2418
2422
|
export interface Response {
|
|
2419
2423
|
data: Program[];
|