@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/src/schema.ts CHANGED
@@ -613,7 +613,8 @@ export interface paths {
613
613
  * List pending invitations
614
614
  * @description List pending invitations
615
615
  *
616
- * Returns all pending (not yet accepted) invitations for the organization.
616
+ * Returns all pending invitations for the organization, i.e., those that have neither
617
+ * been accepted nor canceled, and have not expired.
617
618
  */
618
619
  get: operations["listInvitations"];
619
620
  /**
@@ -3084,6 +3085,7 @@ export interface components {
3084
3085
  | "PolicyVersionInvalid"
3085
3086
  | "PolicySecretLimitReached"
3086
3087
  | "PolicySecretTooLarge"
3088
+ | "InvalidRandomSecretLength"
3087
3089
  | "InvalidImportKey"
3088
3090
  | "AlienOwnerInvalid"
3089
3091
  | "EmptyUpdateRequest"
@@ -3102,7 +3104,8 @@ export interface components {
3102
3104
  | "InputTooShort"
3103
3105
  | "InvalidTweakLength"
3104
3106
  | "InvalidCustomChains"
3105
- | "InvalidRpcRequest";
3107
+ | "InvalidRpcRequest"
3108
+ | "InvalidAclEntry";
3106
3109
  BillingArgs: {
3107
3110
  billing_org: components["schemas"]["Id"];
3108
3111
  event_type: components["schemas"]["BillingEvent"];
@@ -3120,192 +3123,192 @@ export interface components {
3120
3123
  * @enum {string}
3121
3124
  */
3122
3125
  BillingEvent:
3123
- | "Mmi"
3124
- | "MmiMessageGet"
3125
- | "MmiMessageList"
3126
- | "MmiMessageSign"
3127
- | "MmiMessageReject"
3128
- | "MmiMessageDelete"
3129
- | "AboutMe"
3130
- | "UserResetEmailInit"
3131
- | "UserResetEmailComplete"
3132
- | "UserDeleteTotp"
3133
- | "UserResetTotpInit"
3134
- | "UserResetTotpComplete"
3135
- | "UserVerifyTotp"
3136
- | "UserRegisterFidoInit"
3137
- | "UserRegisterFidoComplete"
3138
- | "UserDeleteFido"
3139
- | "CreateProofOidc"
3140
- | "CreateProofCubeSigner"
3141
- | "VerifyProof"
3142
- | "AddOidcIdentity"
3143
- | "RemoveOidcIdentity"
3144
- | "ListOidcIdentities"
3145
- | "GetOrg"
3146
- | "UpdateOrg"
3147
- | "GetOrgExport"
3148
- | "CreateOrg"
3149
- | "ListKeys"
3150
- | "AttestKey"
3151
- | "GetKey"
3152
- | "GetKeyByMaterialId"
3153
- | "ListKeyRoles"
3154
- | "UpdateKey"
3155
- | "ListHistoricalKeyTx"
3156
- | "Invite"
3157
- | "CancelInvitation"
3158
- | "ListInvitations"
3159
- | "ListUsers"
3160
- | "GetUser"
3161
- | "GetUserByEmail"
3162
- | "GetUserByOidc"
3163
- | "UpdateMembership"
3164
- | "ResetMemberMfa"
3165
- | "CompleteResetMemberMfa"
3166
- | "CreateRole"
3167
- | "AttestRole"
3168
- | "GetRole"
3169
- | "ListTokenKeys"
3170
- | "ListRoles"
3171
- | "GetRoleKey"
3172
- | "ListRoleKeys"
3173
- | "ListRoleUsers"
3174
- | "UpdateRole"
3175
- | "DeleteRole"
3176
- | "ConfigureEmail"
3177
- | "GetEmailConfig"
3178
- | "DeleteEmailConfig"
3179
- | "ListHistoricalRoleTx"
3180
- | "CreatePolicy"
3181
- | "GetPolicy"
3182
- | "ListPolicies"
3183
- | "DeletePolicy"
3184
- | "UpdatePolicy"
3185
- | "InvokePolicy"
3186
- | "GetPolicyLogs"
3187
- | "UploadWasmPolicy"
3188
- | "GetPolicySecrets"
3189
- | "UpdatePolicySecrets"
3190
- | "SetPolicySecret"
3191
- | "DeletePolicySecret"
3192
- | "CreatePolicyImportKey"
3193
- | "GetPolicyBucket"
3194
- | "ListPolicyBuckets"
3195
- | "UpdatePolicyBucket"
3196
- | "UserExportDelete"
3197
- | "UserExportList"
3198
- | "UserExportInit"
3199
- | "UserExportComplete"
3200
- | "AddUserToRole"
3201
- | "RemoveUserFromRole"
3202
- | "MfaApproveCs"
3203
- | "MfaRejectCs"
3204
- | "MfaGet"
3205
- | "MfaList"
3206
- | "AddKeysToRole"
3207
- | "RemoveKeyFromRole"
3208
- | "CreateToken"
3209
- | "CreateSession"
3210
- | "RevokeSession"
3211
- | "RevokeCurrentSession"
3212
- | "RevokeSessions"
3213
- | "ListSessions"
3214
- | "GetSession"
3215
- | "SignerSessionRefresh"
3216
- | "MfaApproveTotp"
3217
- | "MfaRejectTotp"
3218
- | "MfaFidoInit"
3219
- | "MfaApproveFidoComplete"
3220
- | "MfaRejectFidoComplete"
3221
- | "MfaEmailInit"
3222
- | "MfaEmailComplete"
3223
- | "Cube3signerHeartbeat"
3224
- | "CreateContact"
3225
- | "GetContact"
3226
- | "ListContacts"
3227
- | "DeleteContact"
3228
- | "UpdateContact"
3229
- | "LookupContactsByAddress"
3230
- | "QueryMetrics"
3231
- | "QueryAuditLog"
3232
- | "Counts"
3233
- | "CreateKey"
3234
- | "ImportKey"
3235
- | "CreateKeyImportKey"
3236
- | "DeriveKey"
3237
- | "DeleteKey"
3238
- | "AvaSign"
3239
- | "AvaSerializedTxSign"
3240
- | "BabylonRegistration"
3241
- | "BabylonStaking"
3242
- | "BabylonCovSign"
3243
- | "BinanceSign"
3244
- | "BybitSign"
3245
- | "CoinbaseSign"
3246
- | "BlobSign"
3247
- | "BtcMessageSign"
3248
- | "BtcSign"
3249
- | "DiffieHellmanExchange"
3250
- | "PsbtSign"
3251
- | "PsbtLegacyInputSign"
3252
- | "PsbtSegwitInputSign"
3253
- | "PsbtTaprootInputSign"
3254
- | "TaprootSign"
3255
- | "Eip712Sign"
3256
- | "Eip191Sign"
3257
- | "Eip7702Sign"
3258
- | "Eth1Sign"
3259
- | "Eth2Sign"
3260
- | "SolanaSign"
3261
- | "SuiSign"
3262
- | "TendermintSign"
3263
- | "Stake"
3264
- | "Unstake"
3265
- | "PasskeyAuthInit"
3266
- | "PasskeyAuthComplete"
3267
- | "OidcAuth"
3268
- | "Oauth2Twitter"
3269
- | "OAuth2TokenRefresh"
3270
- | "EmailOtpAuth"
3271
- | "SiweInit"
3272
- | "SiweComplete"
3273
- | "SiwsInit"
3274
- | "SiwsComplete"
3275
- | "TelegramAuth"
3276
- | "CreateOidcUser"
3277
- | "DeleteOidcUser"
3278
- | "DeleteUser"
3279
- | "CreateEotsNonces"
3280
- | "EotsSign"
3281
- | "AuthMigrationIdentityAdd"
3282
- | "AuthMigrationIdentityRemove"
3283
- | "AuthMigrationUserUpdate"
3284
- | "KeyCreated"
3285
- | "KeyImported"
3286
- | "InvitationAccept"
3287
- | "IdpAuthenticate"
3288
- | "IdpPasswordResetRequest"
3289
- | "IdpPasswordResetConfirm"
3290
- | "RpcApi"
3291
- | "RpcCreateTransaction"
3292
- | "RpcGetTransaction"
3293
- | "RpcListTransactions"
3294
- | "RpcBtcListUtxos"
3295
- | "RpcRetryTransaction"
3296
- | "RpcCancelTransaction"
3297
- | "RpcBinance"
3298
- | "RpcBybit"
3299
- | "RpcCoinbase"
3300
- | "CustomChainRpcCall"
3301
- | "EsploraApiCall"
3302
- | "SentryApiCall"
3303
- | "SentryApiCallPublic"
3304
- | "MmiJwkSet"
3305
- | "AttestationJwkSet"
3306
- | "UserOrgs"
3307
- | "PublicOrgInfo"
3308
- | "EmailMyOrgs";
3126
+ | "mmi"
3127
+ | "mmiMessageGet"
3128
+ | "mmiMessageList"
3129
+ | "mmiMessageSign"
3130
+ | "mmiMessageReject"
3131
+ | "mmiMessageDelete"
3132
+ | "aboutMe"
3133
+ | "userResetEmailInit"
3134
+ | "userResetEmailComplete"
3135
+ | "userDeleteTotp"
3136
+ | "userResetTotpInit"
3137
+ | "userResetTotpComplete"
3138
+ | "userVerifyTotp"
3139
+ | "userRegisterFidoInit"
3140
+ | "userRegisterFidoComplete"
3141
+ | "userDeleteFido"
3142
+ | "createProofOidc"
3143
+ | "createProofCubeSigner"
3144
+ | "verifyProof"
3145
+ | "addOidcIdentity"
3146
+ | "removeOidcIdentity"
3147
+ | "listOidcIdentities"
3148
+ | "getOrg"
3149
+ | "updateOrg"
3150
+ | "getOrgExport"
3151
+ | "createOrg"
3152
+ | "listKeysInOrg"
3153
+ | "attestKey"
3154
+ | "getKeyInOrg"
3155
+ | "getKeyByMaterialId"
3156
+ | "listKeyRoles"
3157
+ | "updateKey"
3158
+ | "listHistoricalKeyTx"
3159
+ | "invite"
3160
+ | "cancelInvitation"
3161
+ | "listInvitations"
3162
+ | "listUsersInOrg"
3163
+ | "getUserInOrg"
3164
+ | "getUserInOrgByEmail"
3165
+ | "getUserInOrgByOidc"
3166
+ | "updateUserMembership"
3167
+ | "resetMemberMfa"
3168
+ | "completeResetMemberMfa"
3169
+ | "createRole"
3170
+ | "attestRole"
3171
+ | "getRole"
3172
+ | "listTokenKeys"
3173
+ | "listRoles"
3174
+ | "getRoleKey"
3175
+ | "listRoleKeys"
3176
+ | "listRoleUsers"
3177
+ | "updateRole"
3178
+ | "deleteRole"
3179
+ | "configureEmail"
3180
+ | "getEmailConfig"
3181
+ | "deleteEmailConfig"
3182
+ | "listHistoricalRoleTx"
3183
+ | "createPolicy"
3184
+ | "getPolicy"
3185
+ | "listPolicies"
3186
+ | "deletePolicy"
3187
+ | "updatePolicy"
3188
+ | "invokePolicy"
3189
+ | "getPolicyLogs"
3190
+ | "uploadWasmPolicy"
3191
+ | "getPolicySecrets"
3192
+ | "updatePolicySecrets"
3193
+ | "setPolicySecret"
3194
+ | "deletePolicySecret"
3195
+ | "createPolicyImportKey"
3196
+ | "getPolicyBucket"
3197
+ | "listPolicyBuckets"
3198
+ | "updatePolicyBucket"
3199
+ | "userExportDelete"
3200
+ | "userExportList"
3201
+ | "userExportInit"
3202
+ | "userExportComplete"
3203
+ | "addUserToRole"
3204
+ | "removeUserFromRole"
3205
+ | "mfaApproveCs"
3206
+ | "mfaRejectCs"
3207
+ | "mfaGet"
3208
+ | "mfaList"
3209
+ | "addKeysToRole"
3210
+ | "removeKeyFromRole"
3211
+ | "createRoleToken"
3212
+ | "createSession"
3213
+ | "revokeSession"
3214
+ | "revokeCurrentSession"
3215
+ | "revokeSessions"
3216
+ | "listSessions"
3217
+ | "getSession"
3218
+ | "signerSessionRefresh"
3219
+ | "mfaApproveTotp"
3220
+ | "mfaRejectTotp"
3221
+ | "mfaFidoInit"
3222
+ | "mfaApproveFidoComplete"
3223
+ | "mfaRejectFidoComplete"
3224
+ | "mfaEmailInit"
3225
+ | "mfaEmailComplete"
3226
+ | "cube3signerHeartbeat"
3227
+ | "createContact"
3228
+ | "getContact"
3229
+ | "listContacts"
3230
+ | "deleteContact"
3231
+ | "updateContact"
3232
+ | "lookupContactsByAddress"
3233
+ | "queryMetrics"
3234
+ | "queryAuditLog"
3235
+ | "counts"
3236
+ | "createKey"
3237
+ | "importKey"
3238
+ | "createKeyImportKey"
3239
+ | "deriveKey"
3240
+ | "deleteKey"
3241
+ | "avaSign"
3242
+ | "avaSerializedTxSign"
3243
+ | "babylonRegistration"
3244
+ | "babylonStaking"
3245
+ | "babylonCovSign"
3246
+ | "binanceSign"
3247
+ | "bybitSign"
3248
+ | "coinbaseSign"
3249
+ | "blobSign"
3250
+ | "btcMessageSign"
3251
+ | "btcSign"
3252
+ | "diffieHellmanExchange"
3253
+ | "psbtSign"
3254
+ | "psbtLegacyInputSign"
3255
+ | "psbtSegwitInputSign"
3256
+ | "psbtTaprootInputSign"
3257
+ | "btcTaprootSign"
3258
+ | "eip712Sign"
3259
+ | "eip191Sign"
3260
+ | "eip7702Sign"
3261
+ | "eth1Sign"
3262
+ | "eth2Sign"
3263
+ | "solanaSign"
3264
+ | "suiSign"
3265
+ | "tendermintSign"
3266
+ | "stake"
3267
+ | "unstake"
3268
+ | "passkeyAuthInit"
3269
+ | "passkeyAuthComplete"
3270
+ | "oidcAuth"
3271
+ | "oauth2Twitter"
3272
+ | "oauth2TokenRefresh"
3273
+ | "emailOtpAuth"
3274
+ | "siweInit"
3275
+ | "siweComplete"
3276
+ | "siwsInit"
3277
+ | "siwsComplete"
3278
+ | "telegramAuth"
3279
+ | "createOidcUser"
3280
+ | "deleteOidcUser"
3281
+ | "deleteUser"
3282
+ | "createEotsNonces"
3283
+ | "eotsSign"
3284
+ | "authMigrationIdentityAdd"
3285
+ | "authMigrationIdentityRemove"
3286
+ | "authMigrationUserUpdate"
3287
+ | "keyCreated"
3288
+ | "keyImported"
3289
+ | "invitationAccept"
3290
+ | "idpAuthenticate"
3291
+ | "idpPasswordResetRequest"
3292
+ | "idpPasswordResetConfirm"
3293
+ | "rpcApi"
3294
+ | "rpcCreateTransaction"
3295
+ | "rpcGetTransaction"
3296
+ | "rpcListTransactions"
3297
+ | "rpcBtcListUtxos"
3298
+ | "rpcRetryTransaction"
3299
+ | "rpcCancelTransaction"
3300
+ | "rpcBinance"
3301
+ | "rpcBybit"
3302
+ | "rpcCoinbase"
3303
+ | "customChainRpcCall"
3304
+ | "esploraApiCall"
3305
+ | "sentryApiCall"
3306
+ | "sentryApiCallPublic"
3307
+ | "mmiJwkSet"
3308
+ | "attestationJwkSet"
3309
+ | "userOrgs"
3310
+ | "public_org_info"
3311
+ | "email_my_orgs";
3309
3312
  /** @description Parameters envelope for all Binance RPC methods. */
3310
3313
  BinanceAccountInfoParams: components["schemas"]["AccountInfoRequest"] & {
3311
3314
  dryRun?: components["schemas"]["BinanceDryRunMode"] | null;
@@ -3470,6 +3473,11 @@ export interface components {
3470
3473
  /** @enum {string} */
3471
3474
  method: "cs_binanceCoinInfo";
3472
3475
  params: components["schemas"]["BinanceCoinInfoParams"];
3476
+ }
3477
+ | {
3478
+ /** @enum {string} */
3479
+ method: "cs_binanceSubAccountDepositAddress";
3480
+ params: components["schemas"]["BinanceSubAccountDepositAddressParams"];
3473
3481
  };
3474
3482
  /** @description Response returned by the typed `binance_sign` endpoint. */
3475
3483
  BinanceSignResponse: {
@@ -3495,6 +3503,18 @@ export interface components {
3495
3503
  recvWindow?: number | null;
3496
3504
  };
3497
3505
  /** @description Parameters envelope for all Binance RPC methods. */
3506
+ BinanceSubAccountDepositAddressParams: components["schemas"]["SubAccountDepositAddressRequest"] & {
3507
+ dryRun?: components["schemas"]["BinanceDryRunMode"] | null;
3508
+ keyId: components["schemas"]["Id"];
3509
+ /**
3510
+ * Format: float
3511
+ * @description Optional "receive window", i.e., for how long the request stays valid.
3512
+ * May only be specified in milliseconds, with up to three decimal places of precision.
3513
+ * If omitted, defaults to 10000. Must not be greater than 60000.
3514
+ */
3515
+ recvWindow?: number | null;
3516
+ };
3517
+ /** @description Parameters envelope for all Binance RPC methods. */
3498
3518
  BinanceSubAccountTransferHistoryParams: components["schemas"]["SubAccountTransferHistoryRequest"] & {
3499
3519
  dryRun?: components["schemas"]["BinanceDryRunMode"] | null;
3500
3520
  keyId: components["schemas"]["Id"];
@@ -4198,6 +4218,47 @@ export interface components {
4198
4218
  /** @description Coin symbol the deposit addresses are for (e.g. `USDT`). */
4199
4219
  coin: string;
4200
4220
  };
4221
+ /**
4222
+ * @description Parameters envelope for all Bybit RPC variants whose payload schema is
4223
+ * derived from a `*Request` struct. (`BybitQueryUserParams` and
4224
+ * `BybitQuerySubMembersParams` have no per-variant payload and are defined
4225
+ * directly below.)
4226
+ */
4227
+ BybitQuerySubDepositAddressParams: components["schemas"]["BybitQuerySubDepositAddressRequest"] & {
4228
+ dryRun?: components["schemas"]["BybitDryRunMode"] | null;
4229
+ keyId: components["schemas"]["Id"];
4230
+ /**
4231
+ * Format: int32
4232
+ * @description Optional "receive window", i.e., for how long the request stays valid.
4233
+ * Specified in milliseconds. If omitted, defaults to 10000.
4234
+ */
4235
+ recvWindow?: number | null;
4236
+ };
4237
+ /** @description Parameters for `GET /v5/asset/deposit/query-sub-member-address`. */
4238
+ BybitQuerySubDepositAddressRequest: {
4239
+ /**
4240
+ * @description Short chain code, as returned in the `chain` field of
4241
+ * [`BybitRpc::QueryCoinInfo`] (e.g. `"ETH"`, `"TRX"`).
4242
+ */
4243
+ chainType: string;
4244
+ /** @description Coin symbol, uppercase only (e.g. `"USDT"`). */
4245
+ coin: string;
4246
+ /** @description UID of the sub-account whose deposit address to fetch. */
4247
+ subMemberId: string;
4248
+ };
4249
+ /**
4250
+ * @description Response of `GET /v5/asset/deposit/query-sub-member-address`.
4251
+ *
4252
+ * NOTE: unlike the master-account `query-address` endpoint (modelled by
4253
+ * [`BybitQueryDepositAddressResponse`]), Bybit returns `chains` here as a
4254
+ * single object rather than an array — the request pins one `chainType`, so
4255
+ * there is only ever one chain to report.
4256
+ */
4257
+ BybitQuerySubDepositAddressResponse: {
4258
+ chains: components["schemas"]["BybitDepositChain"];
4259
+ /** @description Coin symbol the deposit address is for (e.g. `USDT`). */
4260
+ coin: string;
4261
+ };
4201
4262
  /**
4202
4263
  * @description Parameters for [`BybitRpc::QuerySubMembers`].
4203
4264
  *
@@ -4256,6 +4317,56 @@ export interface components {
4256
4317
  vipLevel?: string | null;
4257
4318
  [key: string]: unknown;
4258
4319
  };
4320
+ /**
4321
+ * @description Parameters envelope for all Bybit RPC variants whose payload schema is
4322
+ * derived from a `*Request` struct. (`BybitQueryUserParams` and
4323
+ * `BybitQuerySubMembersParams` have no per-variant payload and are defined
4324
+ * directly below.)
4325
+ */
4326
+ BybitQueryWithdrawAddressParams: components["schemas"]["BybitQueryWithdrawAddressRequest"] & {
4327
+ dryRun?: components["schemas"]["BybitDryRunMode"] | null;
4328
+ keyId: components["schemas"]["Id"];
4329
+ /**
4330
+ * Format: int32
4331
+ * @description Optional "receive window", i.e., for how long the request stays valid.
4332
+ * Specified in milliseconds. If omitted, defaults to 10000.
4333
+ */
4334
+ recvWindow?: number | null;
4335
+ };
4336
+ /** @description Parameters for `GET /v5/asset/withdraw/query-address`. */
4337
+ BybitQueryWithdrawAddressRequest: {
4338
+ /**
4339
+ * Format: int32
4340
+ * @description Filter by address category: `0` on-chain, `1` internal transfer, `2`
4341
+ * both. Bybit returns every category when omitted.
4342
+ */
4343
+ addressType?: number | null;
4344
+ /** @description Filter by short chain code (e.g. `"ETH"`, `"TRX"`). */
4345
+ chain?: string | null;
4346
+ /**
4347
+ * @description Filter by coin symbol (uppercase). Bybit also accepts the coin's
4348
+ * `baseCoin` here, which matches addresses whitelisted for every chain of
4349
+ * that coin.
4350
+ */
4351
+ coin?: string | null;
4352
+ /** @description Pagination cursor (the `nextPageCursor` from a prior response). */
4353
+ cursor?: string | null;
4354
+ /**
4355
+ * Format: int32
4356
+ * @description Page size, `[1, 50]`. Defaults to 50.
4357
+ */
4358
+ limit?: number | null;
4359
+ };
4360
+ /** @description Response of `GET /v5/asset/withdraw/query-address`. */
4361
+ BybitQueryWithdrawAddressResponse: {
4362
+ /**
4363
+ * @description Opaque cursor to pass back as `cursor` on the next request; absent on
4364
+ * the last page.
4365
+ */
4366
+ nextPageCursor?: string | null;
4367
+ /** @description Whitelisted withdrawal addresses matching the query. */
4368
+ rows: components["schemas"]["BybitWithdrawAddressEntry"][];
4369
+ };
4259
4370
  /**
4260
4371
  * @description Bybit-family RPC methods. Each variant authenticates as the
4261
4372
  * [`KeyType::HmacSha256Bybit`] key in its `params.key_id` (which must carry
@@ -4311,6 +4422,16 @@ export interface components {
4311
4422
  /** @enum {string} */
4312
4423
  method: "cs_bybitUniversalTransferHistory";
4313
4424
  params: components["schemas"]["BybitUniversalTransferHistoryParams"];
4425
+ }
4426
+ | {
4427
+ /** @enum {string} */
4428
+ method: "cs_bybitQueryWithdrawAddress";
4429
+ params: components["schemas"]["BybitQueryWithdrawAddressParams"];
4430
+ }
4431
+ | {
4432
+ /** @enum {string} */
4433
+ method: "cs_bybitQuerySubDepositAddress";
4434
+ params: components["schemas"]["BybitQuerySubDepositAddressParams"];
4314
4435
  };
4315
4436
  /** @description Response returned by the typed `bybit_sign` endpoint. */
4316
4437
  BybitSignResponse: {
@@ -4514,6 +4635,41 @@ export interface components {
4514
4635
  */
4515
4636
  transferId: string;
4516
4637
  };
4638
+ /** @description One entry in [`BybitQueryWithdrawAddressResponse::rows`]. */
4639
+ BybitWithdrawAddressEntry: {
4640
+ /** @description The whitelisted destination address. */
4641
+ address: string;
4642
+ /**
4643
+ * Format: int32
4644
+ * @description Address category: `0` on-chain, `1` internal transfer, `2` both.
4645
+ */
4646
+ addressType?: number | null;
4647
+ /** @description Short chain code (e.g. `ETH`, `TRX`). */
4648
+ chain: string;
4649
+ /** @description Coin symbol, uppercase (e.g. `USDT`). */
4650
+ coin: string;
4651
+ /** @description Creation timestamp, in milliseconds since epoch (as a string). */
4652
+ createdAt?: string | null;
4653
+ /** @description User-supplied label for this address-book entry. */
4654
+ remark?: string | null;
4655
+ /**
4656
+ * Format: int32
4657
+ * @description Entry state: `0` normal, `1` newly added (Bybit blocks withdrawals to
4658
+ * it for 24 hours).
4659
+ */
4660
+ status?: number | null;
4661
+ /**
4662
+ * @description Memo / tag for chains that use one (e.g. XRP, EOS). Empty for chains
4663
+ * that don't.
4664
+ */
4665
+ tag?: string | null;
4666
+ /**
4667
+ * Format: int32
4668
+ * @description Whether the address has been verified: `0` unverified, `1` verified.
4669
+ */
4670
+ verified?: number | null;
4671
+ [key: string]: unknown;
4672
+ };
4517
4673
  /** @description One entry in [`BybitWithdrawalsResponse::rows`]. */
4518
4674
  BybitWithdrawEntry: {
4519
4675
  /** @description Withdrawal amount as a decimal string. */
@@ -5237,8 +5393,6 @@ export interface components {
5237
5393
  keys: components["schemas"]["KeyInfo"][];
5238
5394
  };
5239
5395
  CreateOrgRequest: {
5240
- /** @description Whether to enable metrics for the new organization */
5241
- metrics_enabled?: boolean;
5242
5396
  /**
5243
5397
  * @description The human readable name of the new organization
5244
5398
  * @example My Cool Org
@@ -6491,6 +6645,7 @@ export interface components {
6491
6645
  | "sign:binance:depositHistory"
6492
6646
  | "sign:binance:listSubAccounts"
6493
6647
  | "sign:binance:coinInfo"
6648
+ | "sign:binance:subAccountDepositAddress"
6494
6649
  | "sign:bybit:*"
6495
6650
  | "sign:bybit:queryUser"
6496
6651
  | "sign:bybit:querySubMembers"
@@ -6502,6 +6657,8 @@ export interface components {
6502
6657
  | "sign:bybit:queryCoinInfo"
6503
6658
  | "sign:bybit:depositHistory"
6504
6659
  | "sign:bybit:universalTransferHistory"
6660
+ | "sign:bybit:queryWithdrawAddress"
6661
+ | "sign:bybit:querySubDepositAddress"
6505
6662
  | "sign:coinbase:*"
6506
6663
  | "sign:coinbase:accounts:list"
6507
6664
  | "sign:coinbase:portfolios:list"
@@ -7448,6 +7605,7 @@ export interface components {
7448
7605
  | components["schemas"]["DepositHistoryResponse"]
7449
7606
  | components["schemas"]["ListSubAccountsResponse"]
7450
7607
  | components["schemas"]["CoinInfoResponse"]
7608
+ | components["schemas"]["SubAccountDepositAddressResponse"]
7451
7609
  | components["schemas"]["BybitQueryUserResponse"]
7452
7610
  | components["schemas"]["BybitQuerySubMembersResponse"]
7453
7611
  | components["schemas"]["BybitQueryCoinsBalanceResponse"]
@@ -7458,6 +7616,8 @@ export interface components {
7458
7616
  | components["schemas"]["BybitCoinInfoResponse"]
7459
7617
  | components["schemas"]["BybitDepositHistoryResponse"]
7460
7618
  | components["schemas"]["BybitUniversalTransferHistoryResponse"]
7619
+ | components["schemas"]["BybitQueryWithdrawAddressResponse"]
7620
+ | components["schemas"]["BybitQuerySubDepositAddressResponse"]
7461
7621
  | components["schemas"]["CoinbaseListAccountsResponse"]
7462
7622
  | components["schemas"]["CoinbaseListPortfoliosResponse"]
7463
7623
  | components["schemas"]["CoinbaseMoveFundsResponse"]
@@ -8179,6 +8339,7 @@ export interface components {
8179
8339
  | "BinanceDepositHistory"
8180
8340
  | "BinanceListSubAccounts"
8181
8341
  | "BinanceCoinInfo"
8342
+ | "BinanceSubAccountDepositAddress"
8182
8343
  | "BlobSign"
8183
8344
  | "BtcMessageSign"
8184
8345
  | "BtcSign"
@@ -8192,6 +8353,8 @@ export interface components {
8192
8353
  | "BybitQueryCoinInfo"
8193
8354
  | "BybitDepositHistory"
8194
8355
  | "BybitUniversalTransferHistory"
8356
+ | "BybitQueryWithdrawAddress"
8357
+ | "BybitQuerySubDepositAddress"
8195
8358
  | "CoinbaseListAccounts"
8196
8359
  | "CoinbaseListPortfolios"
8197
8360
  | "CoinbaseMoveFunds"
@@ -8567,8 +8730,6 @@ export interface components {
8567
8730
  * @description How many 'unstake' calls happened on the day when `last_unstake` was performed.
8568
8731
  */
8569
8732
  last_unstake_day_count: number;
8570
- /** @description Whether metrics are collected for this org */
8571
- metrics_enabled?: boolean;
8572
8733
  /**
8573
8734
  * @description The human-readable name for the org
8574
8735
  * @example my_org_name
@@ -10079,7 +10240,13 @@ export interface components {
10079
10240
  acl?: unknown[] | null;
10080
10241
  /** @description The name of the secret. */
10081
10242
  name: string;
10243
+ provenance: components["schemas"]["SecretProvenance"];
10082
10244
  };
10245
+ /**
10246
+ * @description Where a policy secret's value came from.
10247
+ * @enum {string}
10248
+ */
10249
+ SecretProvenance: "Imported" | "Generated";
10083
10250
  /** @description The value of a policy secret. */
10084
10251
  SecretValue: OneOf<
10085
10252
  [
@@ -10101,6 +10268,17 @@ export interface components {
10101
10268
  */
10102
10269
  salt: string;
10103
10270
  },
10271
+ {
10272
+ /**
10273
+ * @description The number of random bytes to generate.
10274
+ * The secret value is the base64 encoding of those bytes, so it is
10275
+ * `4 * ceil(generate_random_bytes / 3)` characters long.
10276
+ *
10277
+ * Must be between 1 and
10278
+ * [MAX_RANDOM_SECRET_BYTES](secrets::MAX_RANDOM_SECRET_BYTES).
10279
+ */
10280
+ generate_random_bytes: number;
10281
+ },
10104
10282
  ]
10105
10283
  >;
10106
10284
  SessionInfo: components["schemas"]["SessionMetadata"] & {
@@ -10557,6 +10735,51 @@ export interface components {
10557
10735
  */
10558
10736
  balances: components["schemas"]["SubAccountAsset"][];
10559
10737
  };
10738
+ /**
10739
+ * @description Parameters for `GET /sapi/v1/capital/deposit/subAddress`.
10740
+ *
10741
+ * Fetches the deposit address for `coin` on the sub-account identified by
10742
+ * `email`. Master-account keys only; use [`DepositRequest`] for the calling
10743
+ * account's own address.
10744
+ */
10745
+ SubAccountDepositAddressRequest: {
10746
+ /**
10747
+ * @description Required only when `network` is `"LIGHTNING"`: the deposit amount that
10748
+ * the returned invoice should encode, as a decimal string.
10749
+ */
10750
+ amount?: string | null;
10751
+ /** @description The asset symbol whose deposit address to fetch (e.g. `"USDT"`, `"BTC"`). */
10752
+ coin: string;
10753
+ /** @description Email of the sub-account whose deposit address to fetch. */
10754
+ email: string;
10755
+ /**
10756
+ * @description Network identifier (e.g. `"BSC"`, `"ETH"`). If omitted, Binance returns
10757
+ * the address on the asset's default network. Valid values are the
10758
+ * networks listed by [`BinanceRpc::CoinInfo`].
10759
+ */
10760
+ network?: string | null;
10761
+ };
10762
+ /**
10763
+ * @description Response returned by `cs_binanceSubAccountDepositAddress`.
10764
+ *
10765
+ * Same shape as [`DepositResponse`], but kept as a distinct type: `tag`/`url`
10766
+ * are modelled as optional here, and [`crate::response::JsonRpcResult`] is
10767
+ * `untagged` + `derive_more::From`, so two variants cannot share a payload
10768
+ * type.
10769
+ */
10770
+ SubAccountDepositAddressResponse: {
10771
+ /** @description The sub-account's deposit address. */
10772
+ address: string;
10773
+ /** @description Asset symbol (echoes the request's `coin` field). */
10774
+ coin: string;
10775
+ /**
10776
+ * @description Secondary address identifier required by some assets (e.g. memo for
10777
+ * XRP, tag for XLM). Empty string when the asset does not use one.
10778
+ */
10779
+ tag?: string | null;
10780
+ /** @description Blockchain explorer URL for `address`. */
10781
+ url?: string | null;
10782
+ };
10560
10783
  /** @description One sub-account entry in [`ListSubAccountsResponse`]. */
10561
10784
  SubAccountInfo: {
10562
10785
  /**
@@ -12978,8 +13201,6 @@ export interface components {
12978
13201
  * @description How many 'unstake' calls happened on the day when `last_unstake` was performed.
12979
13202
  */
12980
13203
  last_unstake_day_count: number;
12981
- /** @description Whether metrics are collected for this org */
12982
- metrics_enabled?: boolean;
12983
13204
  /**
12984
13205
  * @description The human-readable name for the org
12985
13206
  * @example my_org_name
@@ -15989,7 +16210,8 @@ export interface operations {
15989
16210
  * List pending invitations
15990
16211
  * @description List pending invitations
15991
16212
  *
15992
- * Returns all pending (not yet accepted) invitations for the organization.
16213
+ * Returns all pending invitations for the organization, i.e., those that have neither
16214
+ * been accepted nor canceled, and have not expired.
15993
16215
  */
15994
16216
  listInvitations: {
15995
16217
  parameters: {