squarefi-bff-api-module 1.36.44 → 1.36.45
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.
|
@@ -3842,6 +3842,8 @@ export interface paths {
|
|
|
3842
3842
|
offset?: number;
|
|
3843
3843
|
/** @description Number of items to return */
|
|
3844
3844
|
limit?: number;
|
|
3845
|
+
/** @description Wallet context — tariffs follow the wallet owner's group. */
|
|
3846
|
+
wallet_id?: string;
|
|
3845
3847
|
};
|
|
3846
3848
|
header?: never;
|
|
3847
3849
|
path?: never;
|
|
@@ -3992,6 +3994,11 @@ export interface paths {
|
|
|
3992
3994
|
get: {
|
|
3993
3995
|
parameters: {
|
|
3994
3996
|
query?: {
|
|
3997
|
+
/** @description Wallet context: tariffs follow the wallet owner's group, and a wallet that already
|
|
3998
|
+
* holds a sub-account on the program keeps it readable even when the rail visibility
|
|
3999
|
+
* filter would hide it from the listing.
|
|
4000
|
+
* */
|
|
4001
|
+
wallet_id?: string;
|
|
3995
4002
|
/** @description Include extra UI fields (icon, card_design, consent_text, etc.) */
|
|
3996
4003
|
detailed?: boolean;
|
|
3997
4004
|
};
|
|
@@ -4017,6 +4024,19 @@ export interface paths {
|
|
|
4017
4024
|
/** Format: uuid */
|
|
4018
4025
|
id: string;
|
|
4019
4026
|
name: string;
|
|
4027
|
+
/** @enum {string} */
|
|
4028
|
+
status: "ACTIVE" | "INACTIVE";
|
|
4029
|
+
/** @description Default card spending limit */
|
|
4030
|
+
card_limit: number;
|
|
4031
|
+
/** @description Whether card supports Apple/Google Pay */
|
|
4032
|
+
tokenizable: boolean;
|
|
4033
|
+
icon?: string | null;
|
|
4034
|
+
code?: string | null;
|
|
4035
|
+
initial_topup?: number | null;
|
|
4036
|
+
card_design?: Record<string, never> | null;
|
|
4037
|
+
consent_text?: string | null;
|
|
4038
|
+
card_issuing_fee?: number | null;
|
|
4039
|
+
card_monthly_fee?: number | null;
|
|
4020
4040
|
description?: string | null;
|
|
4021
4041
|
/** @enum {string} */
|
|
4022
4042
|
form_factor: "VIRTUAL" | "PHYSICAL";
|
|
@@ -955,10 +955,7 @@ export declare namespace API {
|
|
|
955
955
|
/** What each country changes about the cardholder dossier (a `country_rules` entry). */
|
|
956
956
|
export type CountryRule = NonNullable<NonNullable<CardholderRequirements['country_rules']>[string]>;
|
|
957
957
|
export namespace List {
|
|
958
|
-
|
|
959
|
-
type Request = NonNullable<ProgramsRoot['get']['parameters']['query']> & {
|
|
960
|
-
wallet_id?: string;
|
|
961
|
-
};
|
|
958
|
+
type Request = NonNullable<ProgramsRoot['get']['parameters']['query']>;
|
|
962
959
|
type Response = ProgramsRoot['get']['responses']['200']['content']['application/json'];
|
|
963
960
|
}
|
|
964
961
|
export namespace Get {
|
|
@@ -966,6 +963,11 @@ export declare namespace API {
|
|
|
966
963
|
id: string;
|
|
967
964
|
} & NonNullable<ProgramByIdRoot['get']['parameters']['query']>;
|
|
968
965
|
type Response = ProgramByIdRoot['get']['responses']['200']['content']['application/json'];
|
|
966
|
+
/**
|
|
967
|
+
* The byId payload: the same program fields as the list item, but `order_types` is the
|
|
968
|
+
* DETAILED form ({id, tokens}) — flatten to ids when a list-shaped Program is needed.
|
|
969
|
+
*/
|
|
970
|
+
type Data = NonNullable<Response['data']>;
|
|
969
971
|
}
|
|
970
972
|
export {};
|
|
971
973
|
}
|