squarefi-bff-api-module 1.32.2 → 1.32.4
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.
|
@@ -4,6 +4,7 @@ export declare const counterparties: {
|
|
|
4
4
|
getById: ({ wallet_id, counterparty_account_id, }: API.Counterparties.GetById.Request) => Promise<API.Counterparties.GetById.Response>;
|
|
5
5
|
create: ({ wallet_id, ...data }: API.Counterparties.Create.Request) => Promise<API.Counterparties.Create.Response>;
|
|
6
6
|
update: ({ wallet_id, counterparty_account_id, ...data }: API.Counterparties.Update.Request) => Promise<API.Counterparties.Update.Response>;
|
|
7
|
+
delete: ({ wallet_id, counterparty_account_id, }: API.Counterparties.Delete.Request) => Promise<API.Counterparties.Delete.Response>;
|
|
7
8
|
destinations: {
|
|
8
9
|
getAll: ({ wallet_id, counterparty_account_id, ...params }: API.Counterparties.Destination.List.Request) => Promise<API.Counterparties.Destination.List.Response>;
|
|
9
10
|
getById: ({ wallet_id, counterparty_account_id, counterparty_destination_id, }: API.Counterparties.Destination.Detail.Request) => Promise<API.Counterparties.Destination.Detail.Response>;
|
|
@@ -6,6 +6,7 @@ export const counterparties = {
|
|
|
6
6
|
getById: ({ wallet_id, counterparty_account_id, }) => apiClientV2.getRequest(`/counterparties/${wallet_id}/${counterparty_account_id}`),
|
|
7
7
|
create: ({ wallet_id, ...data }) => apiClientV2.postRequest(`/counterparties/${wallet_id}`, { data }),
|
|
8
8
|
update: ({ wallet_id, counterparty_account_id, ...data }) => apiClientV2.patchRequest(`/counterparties/${wallet_id}/${counterparty_account_id}`, { data }),
|
|
9
|
+
delete: ({ wallet_id, counterparty_account_id, }) => apiClientV2.deleteRequest(`/counterparties/${wallet_id}/${counterparty_account_id}`),
|
|
9
10
|
destinations: {
|
|
10
11
|
getAll: ({ wallet_id, counterparty_account_id, ...params }) => apiClientV2.getRequest(`/counterparties/${wallet_id}/${counterparty_account_id}/destinations`, { params }),
|
|
11
12
|
getById: ({ wallet_id, counterparty_account_id, counterparty_destination_id, }) => apiClientV2.getRequest(`/counterparties/${wallet_id}/${counterparty_account_id}/destinations/${counterparty_destination_id}`),
|
|
@@ -4322,10 +4322,7 @@ export interface operations {
|
|
|
4322
4322
|
CounterpartyDestinationsController_create: {
|
|
4323
4323
|
parameters: {
|
|
4324
4324
|
query?: never;
|
|
4325
|
-
header
|
|
4326
|
-
/** @description Verification request ID */
|
|
4327
|
-
"verification-request-id": string;
|
|
4328
|
-
};
|
|
4325
|
+
header?: never;
|
|
4329
4326
|
path: {
|
|
4330
4327
|
counterparty_account_id: string;
|
|
4331
4328
|
wallet_id: unknown;
|
|
@@ -4346,13 +4343,6 @@ export interface operations {
|
|
|
4346
4343
|
"application/json": components["schemas"]["CounterpartyDestinationDto"];
|
|
4347
4344
|
};
|
|
4348
4345
|
};
|
|
4349
|
-
/** @description Verification request ID is required */
|
|
4350
|
-
400: {
|
|
4351
|
-
headers: {
|
|
4352
|
-
[name: string]: unknown;
|
|
4353
|
-
};
|
|
4354
|
-
content?: never;
|
|
4355
|
-
};
|
|
4356
4346
|
/** @description Unauthorized */
|
|
4357
4347
|
401: {
|
|
4358
4348
|
headers: {
|
|
@@ -535,6 +535,13 @@ export declare namespace API {
|
|
|
535
535
|
};
|
|
536
536
|
type Response = Counterparty;
|
|
537
537
|
}
|
|
538
|
+
namespace Delete {
|
|
539
|
+
interface Request {
|
|
540
|
+
wallet_id: string;
|
|
541
|
+
counterparty_account_id: string;
|
|
542
|
+
}
|
|
543
|
+
type Response = Counterparty;
|
|
544
|
+
}
|
|
538
545
|
}
|
|
539
546
|
namespace Currencies {
|
|
540
547
|
interface CommonCurrencyFields {
|