squarefi-bff-api-module 1.36.76 → 1.36.77
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/types/autogen/apiV1External.types.d.ts +1 -119
- package/dist/api/types/autogen/apiV1Frontend.types.d.ts +786 -149
- package/dist/api/types/autogen/apiV1Legacy.types.d.ts +1550 -6071
- package/dist/api/types/autogen/apiV1Tenant.types.d.ts +1 -107
- package/dist/api/types/types.d.ts +37 -2
- package/package.json +1 -1
|
@@ -784,125 +784,7 @@ export interface paths {
|
|
|
784
784
|
};
|
|
785
785
|
};
|
|
786
786
|
put?: never;
|
|
787
|
-
|
|
788
|
-
post: {
|
|
789
|
-
parameters: {
|
|
790
|
-
query?: never;
|
|
791
|
-
header?: never;
|
|
792
|
-
path?: never;
|
|
793
|
-
cookie?: never;
|
|
794
|
-
};
|
|
795
|
-
requestBody: {
|
|
796
|
-
content: {
|
|
797
|
-
"application/json": {
|
|
798
|
-
/**
|
|
799
|
-
* Format: uuid
|
|
800
|
-
* @description Parent counterparty account ID
|
|
801
|
-
*/
|
|
802
|
-
counterparty_account_id: string;
|
|
803
|
-
/**
|
|
804
|
-
* @description Payment rail type
|
|
805
|
-
* @enum {string}
|
|
806
|
-
*/
|
|
807
|
-
type: "ACH" | "SWIFT" | "SEPA" | "CRYPTO_EXTERNAL" | "CRYPTO_INTERNAL" | "CHAPS" | "FPS" | "FEDWIRE" | "INTERNAL";
|
|
808
|
-
/** @description User-friendly alias for this destination */
|
|
809
|
-
nickname?: string;
|
|
810
|
-
/** @description Required for banking types (ACH, SWIFT, SEPA, CHAPS, FPS, FEDWIRE) */
|
|
811
|
-
banking_data?: {
|
|
812
|
-
/** @description Bank account number */
|
|
813
|
-
account_number?: string;
|
|
814
|
-
/** @description Routing/sort code */
|
|
815
|
-
routing_number?: string;
|
|
816
|
-
/** @description Bank name */
|
|
817
|
-
bank_name?: string;
|
|
818
|
-
/** @description SWIFT/BIC code */
|
|
819
|
-
swift_bic?: string;
|
|
820
|
-
/** @description IBAN */
|
|
821
|
-
iban?: string;
|
|
822
|
-
/** @description Sort code (6 digits, UK banking) */
|
|
823
|
-
sort_code?: string;
|
|
824
|
-
/** @description Additional notes/reference */
|
|
825
|
-
note?: string;
|
|
826
|
-
/** @description Bank/beneficiary postal address */
|
|
827
|
-
address?: {
|
|
828
|
-
country_id?: number;
|
|
829
|
-
city?: string;
|
|
830
|
-
postcode?: string;
|
|
831
|
-
street1?: string;
|
|
832
|
-
street2?: string;
|
|
833
|
-
/** @description Required when the selected country has states; countries without states may omit it */
|
|
834
|
-
state_id?: number | null;
|
|
835
|
-
};
|
|
836
|
-
};
|
|
837
|
-
/** @description Required for crypto types (CRYPTO_EXTERNAL, CRYPTO_INTERNAL) */
|
|
838
|
-
crypto_data?: {
|
|
839
|
-
/** @description Blockchain address */
|
|
840
|
-
address?: string;
|
|
841
|
-
/**
|
|
842
|
-
* Format: uuid
|
|
843
|
-
* @description Currency UUID
|
|
844
|
-
*/
|
|
845
|
-
currency_id?: string;
|
|
846
|
-
/** @description Memo/tag (for XRP, XLM, etc.) */
|
|
847
|
-
memo?: string;
|
|
848
|
-
/**
|
|
849
|
-
* @description Hosting classification of the address (custodial VASP, self-hosted/unhosted, or unknown)
|
|
850
|
-
* @default unknown
|
|
851
|
-
* @enum {string}
|
|
852
|
-
*/
|
|
853
|
-
wallet_custody_type?: "custodial" | "selfhosted" | "unknown";
|
|
854
|
-
};
|
|
855
|
-
/** @description Required for type INTERNAL — points at the receiver wallet on the same platform. */
|
|
856
|
-
internal_data?: {
|
|
857
|
-
/**
|
|
858
|
-
* Format: uuid
|
|
859
|
-
* @description Target (receiver) wallet uuid on the same platform.
|
|
860
|
-
*/
|
|
861
|
-
wallet_id: string;
|
|
862
|
-
/** @description Optional, reserved for future use. */
|
|
863
|
-
description?: string;
|
|
864
|
-
};
|
|
865
|
-
};
|
|
866
|
-
};
|
|
867
|
-
};
|
|
868
|
-
responses: {
|
|
869
|
-
/** @description Destination created */
|
|
870
|
-
201: {
|
|
871
|
-
headers: {
|
|
872
|
-
[name: string]: unknown;
|
|
873
|
-
};
|
|
874
|
-
content: {
|
|
875
|
-
"application/json": {
|
|
876
|
-
/** @example true */
|
|
877
|
-
success?: boolean;
|
|
878
|
-
data?: {
|
|
879
|
-
destination?: components["schemas"]["CounterpartyDestination"];
|
|
880
|
-
/** @example Destination created successfully */
|
|
881
|
-
message?: string;
|
|
882
|
-
};
|
|
883
|
-
};
|
|
884
|
-
};
|
|
885
|
-
};
|
|
886
|
-
/** @description Validation error */
|
|
887
|
-
400: {
|
|
888
|
-
headers: {
|
|
889
|
-
[name: string]: unknown;
|
|
890
|
-
};
|
|
891
|
-
content: {
|
|
892
|
-
"application/json": components["schemas"]["ApiErrorResponse"];
|
|
893
|
-
};
|
|
894
|
-
};
|
|
895
|
-
/** @description Account not found */
|
|
896
|
-
404: {
|
|
897
|
-
headers: {
|
|
898
|
-
[name: string]: unknown;
|
|
899
|
-
};
|
|
900
|
-
content: {
|
|
901
|
-
"application/json": components["schemas"]["ApiErrorResponse"];
|
|
902
|
-
};
|
|
903
|
-
};
|
|
904
|
-
};
|
|
905
|
-
};
|
|
787
|
+
post?: never;
|
|
906
788
|
delete?: never;
|
|
907
789
|
options?: never;
|
|
908
790
|
head?: never;
|