From 2983f4cd7ae1b772ef7f095c850da9f71746eb57 Mon Sep 17 00:00:00 2001 From: "dev-portal-updater[bot]" <149019135+dev-portal-updater[bot]@users.noreply.github.com> Date: Tue, 17 Dec 2024 18:31:31 +0000 Subject: [PATCH 1/5] feat: update `bitgo-api-docs` This commit updates the BitGo API. --- api.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/api.yaml b/api.yaml index cc03fa4..282cd49 100644 --- a/api.yaml +++ b/api.yaml @@ -35313,6 +35313,15 @@ components: context: type: object additionalProperties: {} + status: + type: number + additionalDetails: + type: object + properties: + retryAfter: + type: number + required: + - retryAfter required: - context - $ref: '#/components/schemas/PlatformErrorNoName2' From ee87ae90b773ce26663b0d09be7682958eb56ed3 Mon Sep 17 00:00:00 2001 From: "dev-portal-updater[bot]" <149019135+dev-portal-updater[bot]@users.noreply.github.com> Date: Tue, 17 Dec 2024 20:14:46 +0000 Subject: [PATCH 2/5] feat: update `bitgo-api-docs` This commit updates the BitGo API. --- api.yaml | 214 ------------------------------------------------------- 1 file changed, 214 deletions(-) diff --git a/api.yaml b/api.yaml index 282cd49..b11fa8f 100644 --- a/api.yaml +++ b/api.yaml @@ -188,11 +188,6 @@ paths: oneOf: - $ref: '#/components/schemas/PlatformError' - $ref: '#/components/schemas/InvalidWalletId' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/listWalletWebhooks.js delete: tags: - Webhook @@ -238,11 +233,6 @@ paths: oneOf: - $ref: '#/components/schemas/PlatformError' - $ref: '#/components/schemas/InvalidWalletId' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/removeWalletWebhook.js post: summary: Add wallet webhook description: |- @@ -410,11 +400,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlatformError' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/getWalletShare.js post: tags: - Wallet share @@ -15261,11 +15246,6 @@ paths: - $ref: '#/components/schemas/InvalidUserId' '404': description: Not Found - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/getUser.js /api/v2/user/sharingkey: post: tags: @@ -15317,11 +15297,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlatformError3' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/listKeys.js post: tags: - Key @@ -15349,11 +15324,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlatformError3' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/createKey.js /api/v2/{coin}/wallet/{walletId}/policy/rule: post: tags: @@ -15538,11 +15508,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PendingApprovals' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/listPendingApprovals.js /api/v2/{coin}/wallet/{walletId}/transfer: get: tags: @@ -15623,11 +15588,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlatformError3' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/listTransfers.js /api/v2/{coin}/wallet/{walletId}/transfer/{transferId}: get: tags: @@ -15673,11 +15633,6 @@ paths: - $ref: '#/components/schemas/PlatformError3' - $ref: '#/components/schemas/InvalidTransferId' - $ref: '#/components/schemas/InvalidWalletId1' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/getTransfer.js /api/v2/{coin}/wallet/{walletId}/transfer/sequenceId/{sequenceId}: get: tags: @@ -15709,11 +15664,6 @@ paths: oneOf: - $ref: '#/components/schemas/PlatformError3' - $ref: '#/components/schemas/InvalidWalletId1' - x-code-sample: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/getTransferBySequenceId.js /api/v2/user/lock: post: description: | @@ -15733,11 +15683,6 @@ paths: properties: session: $ref: '#/components/schemas/LockedSession' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/lockSession.js /api/v2/user/unlock: post: description: | @@ -15766,11 +15711,6 @@ paths: properties: session: $ref: '#/components/schemas/Session1' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/unlockSession.js /api/v2/{coin}/wallet: post: tags: @@ -15844,11 +15784,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlatformError3' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/addWallet.js get: tags: - Wallet @@ -15878,11 +15813,6 @@ paths: $ref: '#/components/schemas/PlatformError3' '404': description: Not Found - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/listWallets.js /api/v2/{coin}/wallet/add: post: tags: @@ -15956,11 +15886,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlatformError3' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/addWallet.js /api/v2/{coin}/wallet/address/{address}: get: tags: @@ -15986,11 +15911,6 @@ paths: $ref: '#/components/schemas/PlatformError3' '404': description: Not Found - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/getWalletByAddress.js /api/v2/{coin}/wallet/{walletId}: get: tags: @@ -16033,11 +15953,6 @@ paths: - $ref: '#/components/schemas/InvalidWalletId1' '404': description: Not Found - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/getWallet.js put: tags: - Wallet @@ -16136,11 +16051,6 @@ paths: - $ref: '#/components/schemas/InvalidWalletId1' '404': description: Not Found - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/getWallet.js /api/v2/{coin}/wallet/{walletId}/user/{userId}: delete: tags: @@ -16178,11 +16088,6 @@ paths: - $ref: '#/components/schemas/InvalidWalletId1' '404': description: Not Found - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/removeWalletUser.js /api/v2/{coin}/wallet/{walletId}/freeze: post: tags: @@ -16225,11 +16130,6 @@ paths: $ref: '#/components/schemas/PlatformError3' '404': description: Not Found - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/freezeWallet.js /api/v2/{coin}/wallet/{walletId}/unspents: get: tags: @@ -16280,11 +16180,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlatformError3' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/listUnspents.js /api/v2/{coin}/wallet/{walletId}/maximumSpendable: get: tags: @@ -16336,11 +16231,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlatformError3' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/getMaximumSpendable.js /api/v2/{coin}/wallet/{walletId}/spending: get: tags: @@ -16724,11 +16614,6 @@ paths: application/json: schema: $ref: '#/components/schemas/ListWalletSharesResponse' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/listWalletShares.js /api/v1/{coin}/walletshare/{shareId}: get: tags: @@ -16788,11 +16673,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlatformError3' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/resendWalletShareInvite.js /api/v2/{coin}/wallet/{walletId}/webhooks/{webhookId}/simulate: post: tags: @@ -16840,11 +16720,6 @@ paths: oneOf: - $ref: '#/components/schemas/PlatformError3' - $ref: '#/components/schemas/InvalidWalletId1' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/simulateWalletWebhook.js /api/v2/{coin}/webhooks: post: tags: @@ -16886,11 +16761,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlatformError3' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/addBlockWebhook.js get: tags: - Webhook @@ -16920,11 +16790,6 @@ paths: userId: $ref: '#/components/schemas/Id' - $ref: '#/components/schemas/Webhook1' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/listBlockWebhooks.js delete: tags: - Webhook @@ -16964,11 +16829,6 @@ paths: type: integer example: 1 description: Number of block webhooks removed. - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/removeBlockWebhook.js /api/v2/{coin}/webhooks/{webhookId}/simulate: post: tags: @@ -17005,11 +16865,6 @@ paths: hash: $ref: '#/components/schemas/BlockHash' - $ref: '#/components/schemas/WebhookNotification' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/simulateBlockWebhook.js /api/v2/xlm/federation: get: tags: @@ -17395,11 +17250,6 @@ paths: - $ref: '#/components/schemas/PlatformError3' - $ref: '#/components/schemas/InvalidAddress1' - $ref: '#/components/schemas/InvalidWalletId1' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/buildTransaction.js /api/v2/{coin}/wallet/{walletId}/consolidateUnspents: post: tags: @@ -17511,11 +17361,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlatformErrorNoName3' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/sendTransaction.js /api/v2/{coin}/wallet/{walletId}/trustline/initiate: post: tags: @@ -17903,15 +17748,6 @@ paths: oneOf: - $ref: '#/components/schemas/PlatformError3' - $ref: '#/components/schemas/InvalidWalletId1' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/expressSendCoins.js - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/expressSendCoinsEth.js /api/v2/{coin}/wallet/{walletId}/sendmany: post: tags: @@ -17954,11 +17790,6 @@ paths: oneOf: - $ref: '#/components/schemas/PlatformError3' - $ref: '#/components/schemas/InvalidWalletId1' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/expressSendMany.js /api/v2/encrypt: post: tags: @@ -18041,11 +17872,6 @@ paths: application/json: schema: $ref: '#/components/schemas/ExpressCreateKeychainResponse' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/expressCreateKey.js /api/v2/{coin}/wallet/generate: post: tags: @@ -18086,11 +17912,6 @@ paths: application/json: schema: $ref: '#/components/schemas/ExpressGenerateWalletResponse' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/expressGenerateWallet.js //api/v2/{coin}/wallet/{walletId}/share: post: tags: @@ -18156,11 +17977,6 @@ paths: application/json: schema: $ref: '#/components/schemas/ExpressSignTxResponse' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/expressSignTransaction.js /api/v2/{coin}/wallet/{walletId}/signtx: post: tags: @@ -18191,11 +18007,6 @@ paths: oneOf: - $ref: '#/components/schemas/PlatformError3' - $ref: '#/components/schemas/InvalidWalletId1' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/expressSignWalletTransaction.js /api/v2/{coin}/wallet/{walletId}/signtxtss: post: tags: @@ -18279,11 +18090,6 @@ paths: - $ref: '#/components/schemas/PlatformError3' - $ref: '#/components/schemas/InvalidAddress1' - $ref: '#/components/schemas/InvalidWalletId1' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/consolidateAccountBuild.js /api/v2/{coin}/wallet/{walletId}/consolidateunspents: post: tags: @@ -18314,11 +18120,6 @@ paths: oneOf: - $ref: '#/components/schemas/PlatformError3' - $ref: '#/components/schemas/InvalidWalletId1' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/expressConsolidateUnspents.js /api/v2/{coin}/wallet/{walletId}/fanoutunspents: post: tags: @@ -18349,11 +18150,6 @@ paths: oneOf: - $ref: '#/components/schemas/PlatformError3' - $ref: '#/components/schemas/InvalidWalletId1' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/expressFanoutUnspents.js /api/v2/{coin}/wallet/{walletId}/sweep: post: tags: @@ -18387,11 +18183,6 @@ paths: oneOf: - $ref: '#/components/schemas/PlatformError3' - $ref: '#/components/schemas/InvalidWalletId1' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/expressWalletSweep.js /api/v2/{coin}/wallet/{walletId}/acceleratetx: post: tags: @@ -18600,11 +18391,6 @@ paths: oneOf: - $ref: '#/components/schemas/PlatformError3' - $ref: '#/components/schemas/InvalidWalletId1' - x-code-samples: - - lang: javascript - x-external-text: - - property: source - path: ../shared/code-samples/consolidateAccountBuild.js /api/policy/v1/enterprises/{enterpriseId}/rules: get: tags: From 24e8f140d38ee5e9dd340f097b8f0e0c9b0fb362 Mon Sep 17 00:00:00 2001 From: "dev-portal-updater[bot]" <149019135+dev-portal-updater[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:27:59 +0000 Subject: [PATCH 3/5] feat: update `bitgo-api-docs` This commit updates the BitGo API. --- api.yaml | 305 +++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 274 insertions(+), 31 deletions(-) diff --git a/api.yaml b/api.yaml index b11fa8f..93b8393 100644 --- a/api.yaml +++ b/api.yaml @@ -26474,6 +26474,7 @@ components: - approve - reject - skip + - fail description: Action taken during resolution resolutionMemo: type: string @@ -26614,6 +26615,7 @@ components: - approve - reject - skip + - fail description: Action taken during resolution resolutionMemo: type: string @@ -26710,6 +26712,7 @@ components: - processing - rejected - skipped + - failed PendingApprovalStatePending: title: Pending type: string @@ -27463,7 +27466,7 @@ components: type: object properties: intentType: - $ref: '#/components/schemas/IntentType' + $ref: '#/components/schemas/IntentType1' sequenceId: $ref: '#/components/schemas/optionalString' comment: @@ -27491,6 +27494,7 @@ components: - claim - stakeClaimRewards - pledge + - voteDelegation - vote - createAccount - updateAccount @@ -28128,6 +28132,8 @@ components: properties: poolKeyHash: type: string + dRepId: + type: string amount: type: object properties: @@ -28140,6 +28146,7 @@ components: - value required: - poolKeyHash + - dRepId - $ref: '#/components/schemas/StakeIntent' WalletTypePublic: type: string @@ -30116,6 +30123,7 @@ components: - $ref: '#/components/schemas/AdaStakeClaimRewardsIntent' - $ref: '#/components/schemas/AdaStakeIntent' - $ref: '#/components/schemas/AdaUnstakeIntent' + - $ref: '#/components/schemas/AdaVoteDelegationIntent' - $ref: '#/components/schemas/AtomPaymentIntent' - $ref: '#/components/schemas/AtomStakeIntent' - $ref: '#/components/schemas/AtomUnstakeIntent' @@ -30171,6 +30179,9 @@ components: - $ref: '#/components/schemas/CoreDaoDelegateIntent' - $ref: '#/components/schemas/CoreDaoUndelegateIntent' - $ref: '#/components/schemas/CoreDaoClaimIntent' + - $ref: '#/components/schemas/EthLikeDelegateIntent' + - $ref: '#/components/schemas/EthLikeUndelegateIntent' + - $ref: '#/components/schemas/EthLikeClaimIntent' - $ref: '#/components/schemas/BaseIntent' BaseIntent: title: Intent @@ -30188,6 +30199,125 @@ components: - type: number required: - intentType + EthLikeClaimIntent: + title: EthLike Claim Rewards Intent + allOf: + - type: object + properties: + intentType: + type: string + enum: + - stakeClaimRewards + recipients: + type: array + items: + type: object + properties: + address: + $ref: '#/components/schemas/Address' + amount: + $ref: '#/components/schemas/Amount' + data: + $ref: '#/components/schemas/optionalString' + required: + - address + - amount + required: + - intentType + - $ref: '#/components/schemas/BaseStakeIntent' + BaseStakeIntent: + title: BaseStakeIntent + allOf: + - type: object + properties: + stakingRequestId: + type: string + required: + - stakingRequestId + - $ref: '#/components/schemas/BaseIntent' + Amount: + title: Amount + type: object + properties: + value: + type: string + symbol: + type: string + required: + - value + - symbol + Address: + title: Address + type: object + properties: + address: + $ref: '#/components/schemas/optionalString' + option: + $ref: '#/components/schemas/optionalUnknownObject' + EthLikeUndelegateIntent: + title: EthLike Undelegate Intent + allOf: + - type: object + properties: + intentType: + type: string + enum: + - undelegate + validatorAddress: + type: string + amount: + $ref: '#/components/schemas/Amount' + recipients: + type: array + items: + type: object + properties: + address: + $ref: '#/components/schemas/Address' + amount: + $ref: '#/components/schemas/Amount' + data: + $ref: '#/components/schemas/optionalString' + required: + - address + - amount + required: + - intentType + - validatorAddress + - amount + - $ref: '#/components/schemas/BaseStakeIntent' + EthLikeDelegateIntent: + title: EthLike Delegate Intent + allOf: + - type: object + properties: + intentType: + type: string + enum: + - delegate + validatorAddress: + type: string + amount: + $ref: '#/components/schemas/Amount' + recipients: + type: array + items: + type: object + properties: + address: + $ref: '#/components/schemas/Address' + amount: + $ref: '#/components/schemas/Amount' + data: + $ref: '#/components/schemas/optionalString' + required: + - address + - amount + required: + - intentType + - validatorAddress + - amount + - $ref: '#/components/schemas/BaseStakeIntent' CoreDaoClaimIntent: title: CoreDAO Claim Rewards Intent allOf: @@ -30210,16 +30340,6 @@ components: required: - calldata - $ref: '#/components/schemas/BaseStakeIntent' - BaseStakeIntent: - title: BaseStakeIntent - allOf: - - type: object - properties: - stakingRequestId: - type: string - required: - - stakingRequestId - - $ref: '#/components/schemas/BaseIntent' CoreDaoUndelegateIntent: title: CoreDAO Undelegate Intent allOf: @@ -30238,17 +30358,6 @@ components: - validatorAddress - amount - $ref: '#/components/schemas/BaseStakeIntentWithCalldata' - Amount: - title: Amount - type: object - properties: - value: - type: string - symbol: - type: string - required: - - value - - symbol CoreDaoDelegateIntent: title: CoreDAO Delegate Intent allOf: @@ -30323,14 +30432,6 @@ components: - intentType - recipients - $ref: '#/components/schemas/BaseIntent' - Address: - title: Address - type: object - properties: - address: - $ref: '#/components/schemas/optionalString' - option: - $ref: '#/components/schemas/optionalUnknownObject' TonDelegateIntent: title: TON Delegate Intent allOf: @@ -31117,6 +31218,28 @@ components: required: - memo - $ref: '#/components/schemas/PaymentIntent' + AdaVoteDelegationIntent: + title: ADA Vote Delegation Intent + allOf: + - type: object + properties: + dRepId: + type: string + required: + - dRepId + - $ref: '#/components/schemas/VoteDelegationIntent' + VoteDelegationIntent: + title: Vote Delegation Intent + allOf: + - type: object + properties: + intentType: + type: string + enum: + - voteDelegation + required: + - intentType + - $ref: '#/components/schemas/BaseStakeIntent' AdaUnstakeIntent: title: ADA Unstake Intent allOf: @@ -35470,6 +35593,21 @@ components: required: - name - $ref: '#/components/schemas/PlatformErrorNoName2' + AccelerationIntent1: + title: AccelerationIntent + allOf: + - type: object + properties: + intentType: + type: string + enum: + - acceleration + txid: + type: string + required: + - intentType + - txid + - $ref: '#/components/schemas/BaseIntent1' AdaStakeIntent1: title: Ada Stake allOf: @@ -38346,6 +38484,39 @@ components: pattern: ^(-?\d+|max)$ example: '2000000' - type: integer + IntentType1: + title: IntentType + type: string + enum: + - payment + - transferToken + - consolidate + - consolidateToken + - fanout + - stake + - unstake + - delegate + - undelegate + - switchValidator + - claim + - stakeClaimRewards + - pledge + - vote + - createAccount + - updateAccount + - addTrustLine + - removeTrustLine + - signMessage + - signTypedStructuredData + - enableToken + - authorize + - acceleration + - fillNonce + - walletRecovery + - contractCall + - deactivate + - customTx + - closeAssociatedTokenAccount InternationalWireBankAccount: title: International Wire Bank Account type: object @@ -46416,7 +46587,7 @@ components: properties: intent: allOf: - - $ref: '#/components/schemas/TransactionIntent' + - $ref: '#/components/schemas/TransactionIntent1' description: The intent of the transaction request unsignedTxs: type: array @@ -46500,6 +46671,74 @@ components: type: string description: The hashes of all transactions from the TxRequest that have been signed and are pending broadcast. - $ref: '#/components/schemas/TransactionRequestBase' + TransactionIntent1: + title: TransactionIntent + oneOf: + - $ref: '#/components/schemas/AdaConsolidateIntent' + - $ref: '#/components/schemas/AdaPaymentIntent' + - $ref: '#/components/schemas/AdaStakeClaimRewardsIntent' + - $ref: '#/components/schemas/AdaStakeIntent' + - $ref: '#/components/schemas/AdaUnstakeIntent' + - $ref: '#/components/schemas/AdaVoteDelegationIntent' + - $ref: '#/components/schemas/AtomPaymentIntent' + - $ref: '#/components/schemas/AtomStakeIntent' + - $ref: '#/components/schemas/AtomUnstakeIntent' + - $ref: '#/components/schemas/AtomWithdrawIntent' + - $ref: '#/components/schemas/BscDelegateIntent' + - $ref: '#/components/schemas/BscUnDelegateIntent' + - $ref: '#/components/schemas/BscWithdrawUndelegateIntent' + - $ref: '#/components/schemas/CosmosPaymentIntent' + - $ref: '#/components/schemas/CosmosStakeIntent' + - $ref: '#/components/schemas/CosmosSwitchValidatorIntent' + - $ref: '#/components/schemas/CosmosUnstakeIntent' + - $ref: '#/components/schemas/CosmosWithdrawIntent' + - $ref: '#/components/schemas/DotConsolidateIntent' + - $ref: '#/components/schemas/DotCreateAccountIntent' + - $ref: '#/components/schemas/DotPaymentIntent' + - $ref: '#/components/schemas/DotStakingIntent' + - $ref: '#/components/schemas/DotUnstakingIntent' + - $ref: '#/components/schemas/DotWithdrawStakeIntent' + - $ref: '#/components/schemas/EthAccelerationIntent' + - $ref: '#/components/schemas/EthConsolidateIntent' + - $ref: '#/components/schemas/EthConsolidateTokenIntent' + - $ref: '#/components/schemas/EthFillNonceIntent' + - $ref: '#/components/schemas/EthPaymentIntent' + - $ref: '#/components/schemas/EthStakingIntent' + - $ref: '#/components/schemas/EthTransferTokenIntent' + - $ref: '#/components/schemas/LightningPaymentIntent' + - $ref: '#/components/schemas/MmiSignMessageIntent' + - $ref: '#/components/schemas/MmiSignTransactionIntent' + - $ref: '#/components/schemas/NearStakeIntent' + - $ref: '#/components/schemas/NearUnstakeIntent' + - $ref: '#/components/schemas/NearWithdrawIntent' + - $ref: '#/components/schemas/SolAuthorizeIntent' + - $ref: '#/components/schemas/SolClaimIntent' + - $ref: '#/components/schemas/SolCloseAssociatedTokenAccountIntent' + - $ref: '#/components/schemas/SolConsolidateIntent' + - $ref: '#/components/schemas/SolCreateAssociatedTokenAccountIntent' + - $ref: '#/components/schemas/SolDeactivateIntent' + - $ref: '#/components/schemas/SolDelegateIntent' + - $ref: '#/components/schemas/SolPaymentIntent' + - $ref: '#/components/schemas/SolStakeIntent' + - $ref: '#/components/schemas/SolUnstakeIntent' + - $ref: '#/components/schemas/SuiConsolidateIntent' + - $ref: '#/components/schemas/SuiCustomTxIntent' + - $ref: '#/components/schemas/SuiPaymentIntent' + - $ref: '#/components/schemas/SuiStakingIntent' + - $ref: '#/components/schemas/SuiUnstakingIntent' + - $ref: '#/components/schemas/TonConsolidateIntent' + - $ref: '#/components/schemas/TonDelegateIntent' + - $ref: '#/components/schemas/TonPaymentIntent' + - $ref: '#/components/schemas/TonUndelegateIntent' + - $ref: '#/components/schemas/WalletRecoveryIntent' + - $ref: '#/components/schemas/BaseStakeIntentWithCalldata' + - $ref: '#/components/schemas/CoreDaoDelegateIntent' + - $ref: '#/components/schemas/CoreDaoUndelegateIntent' + - $ref: '#/components/schemas/CoreDaoClaimIntent' + - $ref: '#/components/schemas/EthLikeDelegateIntent' + - $ref: '#/components/schemas/EthLikeUndelegateIntent' + - $ref: '#/components/schemas/EthLikeClaimIntent' + - $ref: '#/components/schemas/BaseIntent' ExchangeEddsaCommitmentsResponse: title: ExchangeEddsaCommitmentsResponse type: object @@ -47461,6 +47700,7 @@ components: - approve - reject - skip + - fail description: Action taken during resolution resolutionMemo: type: string @@ -47601,6 +47841,7 @@ components: - approve - reject - skip + - fail description: Action taken during resolution resolutionMemo: type: string @@ -50668,6 +50909,7 @@ components: type: string enum: - adaBYOValidator + - adaBYODRep - adaPledging - adaStaking - atomStaking @@ -53653,6 +53895,7 @@ components: type: string enum: - adaBYOValidator + - adaBYODRep - adaPledging - adaStaking - atomStaking From 6f2948b0013eed63cfae08921745235436258db4 Mon Sep 17 00:00:00 2001 From: "dev-portal-updater[bot]" <149019135+dev-portal-updater[bot]@users.noreply.github.com> Date: Thu, 19 Dec 2024 16:31:07 +0000 Subject: [PATCH 4/5] feat: update `bitgo-api-docs` This commit updates the BitGo API. --- api.yaml | 40 +++++++++++++++++++++++++++++++++++----- 1 file changed, 35 insertions(+), 5 deletions(-) diff --git a/api.yaml b/api.yaml index 93b8393..19d357b 100644 --- a/api.yaml +++ b/api.yaml @@ -22176,6 +22176,7 @@ paths: - freezeEnterprise - adminRenameEnterprise - adminDeleteEnterprisePricingTypes + - adminUpdateEnterpriseExternalContract - createAccessToken - modifyAccessToken - deleteAccessToken @@ -28705,6 +28706,10 @@ components: videoIdRequired: type: boolean description: Check for video ID Users + contract: + allOf: + - $ref: '#/components/schemas/EnterpriseContract' + description: Contract information required: - id - name @@ -28848,14 +28853,27 @@ components: description: Phone number for emergencies example: '+11234567890' EnterpriseContract: + title: EnterpriseContract type: object properties: startDate: - type: string - description: The contract start date for an enterprise + oneOf: + - type: string + format: date + title: Date String + - type: string + format: date-time + title: ISO Date String endDate: - type: string - description: The contract end date for an enterprise + oneOf: + - type: string + format: date + title: Date String + - type: string + format: date-time + title: ISO Date String + isExternal: + type: boolean BitgoOrg: title: BitgoOrg type: string @@ -29404,6 +29422,7 @@ components: - NOT_NEEDED - COMPLETE - CANCELLED + - FAILED PolicyActionParameters: title: PolicyActionParameters type: object @@ -31362,6 +31381,7 @@ components: - ftx-bahamas-retail - sofi - bitcoinWell + - lucid VideoIdUserState: title: VideoIdUserState type: string @@ -37060,7 +37080,7 @@ components: type: boolean description: whether the enterprise has the license to create hot wallets contract: - $ref: '#/components/schemas/EnterpriseContract' + $ref: '#/components/schemas/EnterpriseContract1' emergencyPhone: $ref: '#/components/schemas/EmergencyPhone' ethFeeAddress: @@ -37114,6 +37134,15 @@ components: type: string enterpriseId: $ref: '#/components/schemas/Id' + EnterpriseContract1: + type: object + properties: + startDate: + type: string + description: The contract start date for an enterprise + endDate: + type: string + description: The contract end date for an enterprise EnterpriseResponse1: allOf: - $ref: '#/components/schemas/Enterprise1' @@ -53660,6 +53689,7 @@ components: - freezeEnterprise - adminRenameEnterprise - adminDeleteEnterprisePricingTypes + - adminUpdateEnterpriseExternalContract - createAccessToken - modifyAccessToken - deleteAccessToken From 1991ad50456c5ea632a907120272bcc030ca5ea2 Mon Sep 17 00:00:00 2001 From: "dev-portal-updater[bot]" <149019135+dev-portal-updater[bot]@users.noreply.github.com> Date: Thu, 19 Dec 2024 17:58:40 +0000 Subject: [PATCH 5/5] feat: update `bitgo-api-docs` This commit updates the BitGo API. --- api.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api.yaml b/api.yaml index 19d357b..a5bfafe 100644 --- a/api.yaml +++ b/api.yaml @@ -28603,6 +28603,8 @@ components: description: Hot wallet transactions on this enterprise are monitored in Elliptic vaspId: type: string + bitgoVaspId: + type: string coinSpecific: type: object additionalProperties: {} @@ -51043,6 +51045,7 @@ components: - shouldCreateGoAccountAsynchronously - enableWhitelistTestTransactions - disableCustodyGoGasVideoWaiver + - enableFinancing XpubWithDerivationPath: title: XpubWithDerivationPath type: object @@ -54030,6 +54033,7 @@ components: - shouldCreateGoAccountAsynchronously - enableWhitelistTestTransactions - disableCustodyGoGasVideoWaiver + - enableFinancing distributedCustody: $ref: '#/components/schemas/DistributedCustody' UpfrontPaymentStatus: