squarefi-bff-api-module 1.10.11 → 1.10.13
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/counterparties.d.ts +1 -1
- package/dist/api/types.d.ts +2 -9
- package/package.json +1 -1
- package/src/api/types.ts +6 -9
|
@@ -7,7 +7,7 @@ export declare const counterparties: {
|
|
|
7
7
|
destinations: {
|
|
8
8
|
getAll: ({ wallet_id, counterparty_account_id, ...params }: API.Counterparties.Destination.List.Request) => Promise<API.Counterparties.Destination.List.Response>;
|
|
9
9
|
getById: ({ wallet_id, counterparty_account_id, counterparty_destination_id, }: API.Counterparties.Destination.Detail.Request) => Promise<API.Counterparties.Destination.Detail.DestinationDetailItem>;
|
|
10
|
-
create: ({ wallet_id, counterparty_account_id, ...data }: API.Counterparties.Destination.Create.Request) => Promise<API.Counterparties.Destination.
|
|
10
|
+
create: ({ wallet_id, counterparty_account_id, ...data }: API.Counterparties.Destination.Create.Request) => Promise<API.Counterparties.Destination.Detail.DestinationDetailItem>;
|
|
11
11
|
update: ({ wallet_id, counterparty_account_id, counterparty_destination_id, ...data }: API.Counterparties.Destination.Update.Request) => Promise<API.Counterparties.Destination.List.DestinationListItemCommonFields>;
|
|
12
12
|
};
|
|
13
13
|
};
|
package/dist/api/types.d.ts
CHANGED
|
@@ -452,16 +452,9 @@ export declare namespace API {
|
|
|
452
452
|
type: CounterpartyDestinationType;
|
|
453
453
|
nickname: string;
|
|
454
454
|
external_banking_data?: API.Counterparties.Destination.Detail.DestinationDetailItemExternalBankingData;
|
|
455
|
-
external_crypto_data?: API.Counterparties.Destination.Detail.DestinationDetailItemExternalCryptoData
|
|
456
|
-
}
|
|
457
|
-
interface Response extends API.Counterparties.Destination.Detail.DestinationDetailItemCommonFields {
|
|
458
|
-
id: string;
|
|
459
|
-
nickname: string;
|
|
460
|
-
created_at: string;
|
|
461
|
-
type: CounterpartyDestinationType;
|
|
462
|
-
external_banking_data?: API.Counterparties.Destination.Detail.DestinationDetailItemExternalBankingData;
|
|
463
|
-
external_crypto_data?: API.Counterparties.Destination.Detail.DestinationDetailItemExternalCryptoData;
|
|
455
|
+
external_crypto_data?: Pick<API.Counterparties.Destination.Detail.DestinationDetailItemExternalCryptoData, 'currency_id' | 'address'>;
|
|
464
456
|
}
|
|
457
|
+
type Response = API.Counterparties.Destination.Detail.DestinationDetailItem;
|
|
465
458
|
}
|
|
466
459
|
namespace Update {
|
|
467
460
|
interface Request {
|
package/package.json
CHANGED
package/src/api/types.ts
CHANGED
|
@@ -541,17 +541,14 @@ export namespace API {
|
|
|
541
541
|
type: CounterpartyDestinationType;
|
|
542
542
|
nickname: string;
|
|
543
543
|
external_banking_data?: API.Counterparties.Destination.Detail.DestinationDetailItemExternalBankingData;
|
|
544
|
-
external_crypto_data?: API.Counterparties.Destination.Detail.DestinationDetailItemExternalCryptoData;
|
|
545
|
-
}
|
|
546
544
|
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
type: CounterpartyDestinationType;
|
|
552
|
-
external_banking_data?: API.Counterparties.Destination.Detail.DestinationDetailItemExternalBankingData;
|
|
553
|
-
external_crypto_data?: API.Counterparties.Destination.Detail.DestinationDetailItemExternalCryptoData;
|
|
545
|
+
external_crypto_data?: Pick<
|
|
546
|
+
API.Counterparties.Destination.Detail.DestinationDetailItemExternalCryptoData,
|
|
547
|
+
'currency_id' | 'address'
|
|
548
|
+
>;
|
|
554
549
|
}
|
|
550
|
+
|
|
551
|
+
export type Response = API.Counterparties.Destination.Detail.DestinationDetailItem;
|
|
555
552
|
}
|
|
556
553
|
|
|
557
554
|
export namespace Update {
|