@vrplatform/api 1.3.1-stage.2406 → 1.3.1-stage.2408
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.
|
@@ -278,6 +278,23 @@ export interface paths {
|
|
|
278
278
|
patch?: never;
|
|
279
279
|
trace?: never;
|
|
280
280
|
};
|
|
281
|
+
"/bank-accounts": {
|
|
282
|
+
parameters: {
|
|
283
|
+
query?: never;
|
|
284
|
+
header?: never;
|
|
285
|
+
path?: never;
|
|
286
|
+
cookie?: never;
|
|
287
|
+
};
|
|
288
|
+
/** @description List bank accounts for the current team */
|
|
289
|
+
get: operations["getBankAccounts"];
|
|
290
|
+
put?: never;
|
|
291
|
+
post?: never;
|
|
292
|
+
delete?: never;
|
|
293
|
+
options?: never;
|
|
294
|
+
head?: never;
|
|
295
|
+
patch?: never;
|
|
296
|
+
trace?: never;
|
|
297
|
+
};
|
|
281
298
|
"/bank-accounts/batch": {
|
|
282
299
|
parameters: {
|
|
283
300
|
query?: never;
|
|
@@ -6917,6 +6934,148 @@ export interface operations {
|
|
|
6917
6934
|
};
|
|
6918
6935
|
};
|
|
6919
6936
|
};
|
|
6937
|
+
getBankAccounts: {
|
|
6938
|
+
parameters: {
|
|
6939
|
+
query?: {
|
|
6940
|
+
status?: "active" | "inactive";
|
|
6941
|
+
connectionId?: string;
|
|
6942
|
+
search?: string;
|
|
6943
|
+
};
|
|
6944
|
+
header?: never;
|
|
6945
|
+
path?: never;
|
|
6946
|
+
cookie?: never;
|
|
6947
|
+
};
|
|
6948
|
+
requestBody?: never;
|
|
6949
|
+
responses: {
|
|
6950
|
+
/** @description Successful response */
|
|
6951
|
+
200: {
|
|
6952
|
+
headers: {
|
|
6953
|
+
[name: string]: unknown;
|
|
6954
|
+
};
|
|
6955
|
+
content: {
|
|
6956
|
+
"application/json": {
|
|
6957
|
+
data: {
|
|
6958
|
+
/** Format: uuid */
|
|
6959
|
+
id: string;
|
|
6960
|
+
name?: string | null;
|
|
6961
|
+
type?: ("deposit" | "creditCard") | null;
|
|
6962
|
+
category?: ("trust" | "operating" | "external") | null;
|
|
6963
|
+
uniqueRef?: string | null;
|
|
6964
|
+
currency?: string | null;
|
|
6965
|
+
lastDigits?: string | null;
|
|
6966
|
+
/** @enum {string} */
|
|
6967
|
+
status: "active" | "inactive";
|
|
6968
|
+
startDate?: string | null;
|
|
6969
|
+
account?: {
|
|
6970
|
+
id: string;
|
|
6971
|
+
name: string;
|
|
6972
|
+
uniqueRef?: string | null;
|
|
6973
|
+
/** @enum {string} */
|
|
6974
|
+
status: "active" | "inactive";
|
|
6975
|
+
} | null;
|
|
6976
|
+
connection?: {
|
|
6977
|
+
/** Format: uuid */
|
|
6978
|
+
id: string;
|
|
6979
|
+
name: string;
|
|
6980
|
+
/** @enum {string} */
|
|
6981
|
+
status: "active" | "inactive";
|
|
6982
|
+
uniqueRef?: string | null;
|
|
6983
|
+
appId: string;
|
|
6984
|
+
} | null;
|
|
6985
|
+
source?: {
|
|
6986
|
+
/** Format: uuid */
|
|
6987
|
+
id: string;
|
|
6988
|
+
type: string;
|
|
6989
|
+
status?: ("active" | "inactive") | null;
|
|
6990
|
+
appId?: string | null;
|
|
6991
|
+
appIcon?: string | null;
|
|
6992
|
+
} | null;
|
|
6993
|
+
}[];
|
|
6994
|
+
};
|
|
6995
|
+
};
|
|
6996
|
+
};
|
|
6997
|
+
/** @description Bad request */
|
|
6998
|
+
400: {
|
|
6999
|
+
headers: {
|
|
7000
|
+
[name: string]: unknown;
|
|
7001
|
+
};
|
|
7002
|
+
content: {
|
|
7003
|
+
"application/json": {
|
|
7004
|
+
code: string;
|
|
7005
|
+
message: string;
|
|
7006
|
+
issues?: {
|
|
7007
|
+
message: string;
|
|
7008
|
+
}[];
|
|
7009
|
+
context?: unknown;
|
|
7010
|
+
};
|
|
7011
|
+
};
|
|
7012
|
+
};
|
|
7013
|
+
/** @description Unauthorized */
|
|
7014
|
+
401: {
|
|
7015
|
+
headers: {
|
|
7016
|
+
[name: string]: unknown;
|
|
7017
|
+
};
|
|
7018
|
+
content: {
|
|
7019
|
+
"application/json": {
|
|
7020
|
+
code: string;
|
|
7021
|
+
message: string;
|
|
7022
|
+
issues?: {
|
|
7023
|
+
message: string;
|
|
7024
|
+
}[];
|
|
7025
|
+
context?: unknown;
|
|
7026
|
+
};
|
|
7027
|
+
};
|
|
7028
|
+
};
|
|
7029
|
+
/** @description Forbidden */
|
|
7030
|
+
403: {
|
|
7031
|
+
headers: {
|
|
7032
|
+
[name: string]: unknown;
|
|
7033
|
+
};
|
|
7034
|
+
content: {
|
|
7035
|
+
"application/json": {
|
|
7036
|
+
code: string;
|
|
7037
|
+
message: string;
|
|
7038
|
+
issues?: {
|
|
7039
|
+
message: string;
|
|
7040
|
+
}[];
|
|
7041
|
+
context?: unknown;
|
|
7042
|
+
};
|
|
7043
|
+
};
|
|
7044
|
+
};
|
|
7045
|
+
/** @description Not found */
|
|
7046
|
+
404: {
|
|
7047
|
+
headers: {
|
|
7048
|
+
[name: string]: unknown;
|
|
7049
|
+
};
|
|
7050
|
+
content: {
|
|
7051
|
+
"application/json": {
|
|
7052
|
+
code: string;
|
|
7053
|
+
message: string;
|
|
7054
|
+
issues?: {
|
|
7055
|
+
message: string;
|
|
7056
|
+
}[];
|
|
7057
|
+
context?: unknown;
|
|
7058
|
+
};
|
|
7059
|
+
};
|
|
7060
|
+
};
|
|
7061
|
+
/** @description Internal server error */
|
|
7062
|
+
500: {
|
|
7063
|
+
headers: {
|
|
7064
|
+
[name: string]: unknown;
|
|
7065
|
+
};
|
|
7066
|
+
content: {
|
|
7067
|
+
"application/json": {
|
|
7068
|
+
code: string;
|
|
7069
|
+
message: string;
|
|
7070
|
+
issues?: {
|
|
7071
|
+
message: string;
|
|
7072
|
+
}[];
|
|
7073
|
+
context?: unknown;
|
|
7074
|
+
};
|
|
7075
|
+
};
|
|
7076
|
+
};
|
|
7077
|
+
};
|
|
7078
|
+
};
|
|
6920
7079
|
batchBankAccounts: {
|
|
6921
7080
|
parameters: {
|
|
6922
7081
|
query?: never;
|