@cubist-labs/cubesigner-sdk 0.4.274 → 0.4.276
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/package.json +1 -1
- package/dist/src/audit_log.d.ts +3 -3
- package/dist/src/client/api_client.d.ts +17 -1
- package/dist/src/client/api_client.d.ts.map +1 -1
- package/dist/src/client/api_client.js +25 -1
- package/dist/src/org.d.ts +24 -1
- package/dist/src/org.d.ts.map +1 -1
- package/dist/src/org.js +30 -1
- package/dist/src/schema.d.ts +221 -13
- package/dist/src/schema.d.ts.map +1 -1
- package/dist/src/schema.js +1 -1
- package/dist/src/schema_types.d.ts +3 -0
- package/dist/src/schema_types.d.ts.map +1 -1
- package/dist/src/schema_types.js +4 -1
- package/dist/src/scopes.d.ts.map +1 -1
- package/dist/src/scopes.js +4 -1
- package/package.json +1 -1
- package/src/client/api_client.ts +38 -1
- package/src/org.ts +33 -0
- package/src/schema.ts +417 -195
- package/src/schema_types.ts +6 -0
- package/src/scopes.ts +3 -0
package/src/schema_types.ts
CHANGED
|
@@ -62,6 +62,7 @@ const AllOperationKinds: Record<OperationKind, true> = {
|
|
|
62
62
|
BinanceDepositHistory: true,
|
|
63
63
|
BinanceListSubAccounts: true,
|
|
64
64
|
BinanceCoinInfo: true,
|
|
65
|
+
BinanceSubAccountDepositAddress: true,
|
|
65
66
|
BlobSign: true,
|
|
66
67
|
BtcMessageSign: true,
|
|
67
68
|
BtcSign: true,
|
|
@@ -75,6 +76,8 @@ const AllOperationKinds: Record<OperationKind, true> = {
|
|
|
75
76
|
BybitUniversalTransferHistory: true,
|
|
76
77
|
BybitWithdraw: true,
|
|
77
78
|
BybitWithdrawals: true,
|
|
79
|
+
BybitQueryWithdrawAddress: true,
|
|
80
|
+
BybitQuerySubDepositAddress: true,
|
|
78
81
|
CoinbaseListAccounts: true,
|
|
79
82
|
CoinbaseListPortfolios: true,
|
|
80
83
|
CoinbaseMoveFunds: true,
|
|
@@ -363,6 +366,9 @@ export type SecretValue = schemas["SecretValue"];
|
|
|
363
366
|
export type ImportKeyRequestMaterial = schemas["ImportKeyRequestMaterial"];
|
|
364
367
|
|
|
365
368
|
export type InvitationAcceptRequest = schemas["InvitationAcceptRequest"];
|
|
369
|
+
export type InvitationInfo = schemas["InvitationInfo"];
|
|
370
|
+
export type PaginatedListInvitationsResponse = schemas["PaginatedListInvitationsResponse"];
|
|
371
|
+
export type CancelInvitationRequest = schemas["CancelInvitationRequest"];
|
|
366
372
|
|
|
367
373
|
export type KeyTypeAndDerivationPath = schemas["KeyTypeAndDerivationPath"];
|
|
368
374
|
export type PolicyInfo = schemas["PolicyInfo"] & {
|
package/src/scopes.ts
CHANGED
|
@@ -44,6 +44,7 @@ export const AllScopes: Record<ExplicitScope, string> =
|
|
|
44
44
|
"sign:binance:withdrawHistory" : "Allows access to the Binance sign endpoint, restricted to the 'WithdrawHistory' operation",
|
|
45
45
|
"sign:binance:listSubAccounts" : "Allows access to the typed sign 'binance' endpoint, but only for the 'ListSubAccounts' operation.",
|
|
46
46
|
"sign:binance:coinInfo" : "Allows access to the typed sign 'binance' endpoint, but only for the 'CoinInfo' operation.",
|
|
47
|
+
"sign:binance:subAccountDepositAddress" : "Allows access to the typed sign 'binance' endpoint, but only for the 'SubAccountDepositAddress' operation.",
|
|
47
48
|
"sign:babylon:*" : "Allows access to all Babylon endpoints",
|
|
48
49
|
"sign:babylon:eots:*" : "Allows access to all Babylon EOTS endpoints",
|
|
49
50
|
"sign:babylon:eots:nonces" : "Allows access to the EOTS nonce generation endpoint",
|
|
@@ -66,6 +67,8 @@ export const AllScopes: Record<ExplicitScope, string> =
|
|
|
66
67
|
"sign:bybit:universalTransferHistory" : "Allows access to the typed sign 'bybit' endpoint, but only for the 'UniversalTransferHistory' operation.",
|
|
67
68
|
"sign:bybit:withdraw" : "Allows access to the typed sign 'bybit' endpoint, but only for the 'Withdraw' operation.",
|
|
68
69
|
"sign:bybit:withdrawals" : "Allows access to the typed sign 'bybit' endpoint, but only for the 'Withdrawals' operation.",
|
|
70
|
+
"sign:bybit:queryWithdrawAddress" : "Allows access to the typed sign 'bybit' endpoint, but only for the 'QueryWithdrawAddress' operation.",
|
|
71
|
+
"sign:bybit:querySubDepositAddress" : "Allows access to the typed sign 'bybit' endpoint, but only for the 'QuerySubDepositAddress' operation.",
|
|
69
72
|
"sign:coinbase:*" : "Allows access to the typed sign 'coinbase' endpoint (signs Coinbase RPC requests).",
|
|
70
73
|
"sign:coinbase:accounts:list" : "Allows access to the typed sign 'coinbase' endpoint, but only for the 'ListAccounts' operation.",
|
|
71
74
|
"sign:coinbase:portfolios:list" : "Allows access to the typed sign 'coinbase' endpoint, but only for the 'ListPortfolios' operation.",
|