squarefi-bff-api-module 1.36.35 → 1.36.36
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/frontend.d.ts +1 -0
- package/dist/api/frontend.js +10 -4
- package/dist/api/types/autogen/apiV1External.types.d.ts +541 -25
- package/dist/api/types/autogen/apiV1Frontend.types.d.ts +507 -22
- package/dist/api/types/autogen/apiV1Legacy.types.d.ts +0 -114
- package/dist/api/types/autogen/apiV1Tenant.types.d.ts +564 -22
- package/dist/api/types/autogen/apiV2.types.d.ts +64 -9
- package/dist/api/types/types.d.ts +6 -0
- package/package.json +1 -1
|
@@ -4178,119 +4178,6 @@ export interface paths {
|
|
|
4178
4178
|
patch?: never;
|
|
4179
4179
|
trace?: never;
|
|
4180
4180
|
};
|
|
4181
|
-
"/orders/TRANSFER_CARD_WHOLESALE": {
|
|
4182
|
-
parameters: {
|
|
4183
|
-
query?: never;
|
|
4184
|
-
header?: never;
|
|
4185
|
-
path?: never;
|
|
4186
|
-
cookie?: never;
|
|
4187
|
-
};
|
|
4188
|
-
get?: never;
|
|
4189
|
-
put?: never;
|
|
4190
|
-
/**
|
|
4191
|
-
* Create a wholesale card transfer order
|
|
4192
|
-
* @description Create a wholesale card transfer order
|
|
4193
|
-
*/
|
|
4194
|
-
post: {
|
|
4195
|
-
parameters: {
|
|
4196
|
-
query?: never;
|
|
4197
|
-
header?: never;
|
|
4198
|
-
path?: never;
|
|
4199
|
-
cookie?: never;
|
|
4200
|
-
};
|
|
4201
|
-
requestBody: {
|
|
4202
|
-
content: {
|
|
4203
|
-
"application/json": {
|
|
4204
|
-
/**
|
|
4205
|
-
* @description Amount to transfer
|
|
4206
|
-
* @example 100
|
|
4207
|
-
*/
|
|
4208
|
-
amount: number;
|
|
4209
|
-
/**
|
|
4210
|
-
* @description Source wallet UUID
|
|
4211
|
-
* @example 8205c701-cd41-4929-910f-fccbb949729a
|
|
4212
|
-
*/
|
|
4213
|
-
wallet_id: string;
|
|
4214
|
-
/**
|
|
4215
|
-
* @description Vendor ID
|
|
4216
|
-
* @example 509eca03-bc0d-4a38-b7dc-d136d2bdaa43
|
|
4217
|
-
*/
|
|
4218
|
-
vendor_id: string;
|
|
4219
|
-
/**
|
|
4220
|
-
* @description Currency ID
|
|
4221
|
-
* @example a60e477a-2ebb-4158-91ee-2f39ade8d883
|
|
4222
|
-
*/
|
|
4223
|
-
currency_id: string;
|
|
4224
|
-
};
|
|
4225
|
-
};
|
|
4226
|
-
};
|
|
4227
|
-
responses: {
|
|
4228
|
-
/** @description Order successfully created */
|
|
4229
|
-
200: {
|
|
4230
|
-
headers: {
|
|
4231
|
-
[name: string]: unknown;
|
|
4232
|
-
};
|
|
4233
|
-
content: {
|
|
4234
|
-
"application/json": {
|
|
4235
|
-
/** Format: date-time */
|
|
4236
|
-
created_at?: string;
|
|
4237
|
-
order_uuid?: string;
|
|
4238
|
-
wallet_uuid?: string;
|
|
4239
|
-
from_uuid?: string;
|
|
4240
|
-
to_uuid?: string;
|
|
4241
|
-
amount_from?: number;
|
|
4242
|
-
/** @example TRANSFER_CARD_WHOLESALE */
|
|
4243
|
-
order_type?: string;
|
|
4244
|
-
/** @enum {string} */
|
|
4245
|
-
status?: "PENDING" | "COMPLETE" | "FAILED";
|
|
4246
|
-
amount_to?: number;
|
|
4247
|
-
info?: string;
|
|
4248
|
-
meta?: {
|
|
4249
|
-
fee?: number;
|
|
4250
|
-
order_uuid?: string;
|
|
4251
|
-
fee_currency?: string;
|
|
4252
|
-
billing_amount?: number;
|
|
4253
|
-
transaction_amount?: number;
|
|
4254
|
-
transaction_currency?: string;
|
|
4255
|
-
exchange_rate?: number;
|
|
4256
|
-
network_fee?: number;
|
|
4257
|
-
meta_type?: string;
|
|
4258
|
-
vendor_id?: string;
|
|
4259
|
-
};
|
|
4260
|
-
id?: string;
|
|
4261
|
-
};
|
|
4262
|
-
};
|
|
4263
|
-
};
|
|
4264
|
-
/** @description Bad request - validation error */
|
|
4265
|
-
400: {
|
|
4266
|
-
headers: {
|
|
4267
|
-
[name: string]: unknown;
|
|
4268
|
-
};
|
|
4269
|
-
content: {
|
|
4270
|
-
"application/json": {
|
|
4271
|
-
error?: string;
|
|
4272
|
-
};
|
|
4273
|
-
};
|
|
4274
|
-
};
|
|
4275
|
-
/** @description Server error */
|
|
4276
|
-
500: {
|
|
4277
|
-
headers: {
|
|
4278
|
-
[name: string]: unknown;
|
|
4279
|
-
};
|
|
4280
|
-
content: {
|
|
4281
|
-
"application/json": {
|
|
4282
|
-
error?: string;
|
|
4283
|
-
};
|
|
4284
|
-
};
|
|
4285
|
-
};
|
|
4286
|
-
};
|
|
4287
|
-
};
|
|
4288
|
-
delete?: never;
|
|
4289
|
-
options?: never;
|
|
4290
|
-
head?: never;
|
|
4291
|
-
patch?: never;
|
|
4292
|
-
trace?: never;
|
|
4293
|
-
};
|
|
4294
4181
|
"/orders/EXCHANGE_CRYPTO_INTERNAL": {
|
|
4295
4182
|
parameters: {
|
|
4296
4183
|
query?: never;
|
|
@@ -5226,7 +5113,6 @@ export interface paths {
|
|
|
5226
5113
|
updated_at?: string;
|
|
5227
5114
|
/** Format: date-time */
|
|
5228
5115
|
deleted_at?: string | null;
|
|
5229
|
-
is_deleted?: boolean | null;
|
|
5230
5116
|
/** @description Parent counterparty account */
|
|
5231
5117
|
counterparty_account?: {
|
|
5232
5118
|
id?: string;
|