@bitgo/public-types 6.36.0 → 6.38.0

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.
Files changed (199) hide show
  1. package/dist/src/schema/transactionRequest/intents/accelerationIntent.d.ts +1 -0
  2. package/dist/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.d.ts +1 -0
  3. package/dist/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.d.ts +1 -0
  4. package/dist/src/schema/transactionRequest/intents/adaPaymentIntent.d.ts +1 -0
  5. package/dist/src/schema/transactionRequest/intents/adaPledgeIntent.d.ts +1 -0
  6. package/dist/src/schema/transactionRequest/intents/adaStakeClaimRewardsIntent.d.ts +1 -0
  7. package/dist/src/schema/transactionRequest/intents/adaStakeIntent.d.ts +1 -0
  8. package/dist/src/schema/transactionRequest/intents/adaUnstakeIntent.d.ts +1 -0
  9. package/dist/src/schema/transactionRequest/intents/adaVoteDelegationIntent.d.ts +1 -0
  10. package/dist/src/schema/transactionRequest/intents/aptCustomTxIntent.d.ts +1 -0
  11. package/dist/src/schema/transactionRequest/intents/aptStakeIntent.d.ts +1 -0
  12. package/dist/src/schema/transactionRequest/intents/aptUnstakeIntent.d.ts +1 -0
  13. package/dist/src/schema/transactionRequest/intents/aptWithdrawStakeIntent.d.ts +1 -0
  14. package/dist/src/schema/transactionRequest/intents/atomPaymentIntent.d.ts +1 -0
  15. package/dist/src/schema/transactionRequest/intents/atomStakeIntent.d.ts +1 -0
  16. package/dist/src/schema/transactionRequest/intents/atomUnstakeIntent.d.ts +1 -0
  17. package/dist/src/schema/transactionRequest/intents/atomWithdrawIntent.d.ts +1 -0
  18. package/dist/src/schema/transactionRequest/intents/babyCreateBtcDelegationIntent.d.ts +1 -0
  19. package/dist/src/schema/transactionRequest/intents/babyWithdrawRewardIntent.d.ts +1 -0
  20. package/dist/src/schema/transactionRequest/intents/baseBridgeFundsIntent.d.ts +1 -0
  21. package/dist/src/schema/transactionRequest/intents/baseGoStakeIntent.d.ts +1 -0
  22. package/dist/src/schema/transactionRequest/intents/baseIntent.d.ts +2 -0
  23. package/dist/src/schema/transactionRequest/intents/baseStakeIntent.d.ts +1 -0
  24. package/dist/src/schema/transactionRequest/intents/baseStakeIntentWithCalldata.d.ts +1 -0
  25. package/dist/src/schema/transactionRequest/intents/beraDelegateIntent.d.ts +1 -0
  26. package/dist/src/schema/transactionRequest/intents/bscDelegateIntent.d.ts +1 -0
  27. package/dist/src/schema/transactionRequest/intents/bscStakeClaimRewardsIntent.d.ts +1 -0
  28. package/dist/src/schema/transactionRequest/intents/bscUndelegateIntent.d.ts +1 -0
  29. package/dist/src/schema/transactionRequest/intents/bscWithdrawUndelegateIntent.d.ts +1 -0
  30. package/dist/src/schema/transactionRequest/intents/cantonAllocationAllocateIntent.d.ts +1 -0
  31. package/dist/src/schema/transactionRequest/intents/cantonAllocationOfferWithdrawnIntent.d.ts +1 -0
  32. package/dist/src/schema/transactionRequest/intents/cantonAllocationRejectIntent.d.ts +1 -0
  33. package/dist/src/schema/transactionRequest/intents/cantonAllocationRequestIntent.d.ts +1 -0
  34. package/dist/src/schema/transactionRequest/intents/cantonCommandIntent.d.ts +1 -0
  35. package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationAcceptIntent.d.ts +1 -0
  36. package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationProposalIntent.d.ts +1 -0
  37. package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingAcceptIntent.d.ts +1 -0
  38. package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingOfferIntent.d.ts +1 -0
  39. package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingRejectIntent.d.ts +1 -0
  40. package/dist/src/schema/transactionRequest/intents/cantonParticipantOnboardingRequestIntent.d.ts +1 -0
  41. package/dist/src/schema/transactionRequest/intents/cantonPaymentIntent.d.ts +1 -0
  42. package/dist/src/schema/transactionRequest/intents/cantonTransferAcceptIntent.d.ts +1 -0
  43. package/dist/src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.d.ts +1 -0
  44. package/dist/src/schema/transactionRequest/intents/cantonTransferOfferWithdrawnIntent.d.ts +1 -0
  45. package/dist/src/schema/transactionRequest/intents/cantonTransferRejectIntent.d.ts +1 -0
  46. package/dist/src/schema/transactionRequest/intents/claimIntent.d.ts +1 -0
  47. package/dist/src/schema/transactionRequest/intents/consolidateTokenIntent.d.ts +1 -0
  48. package/dist/src/schema/transactionRequest/intents/coredaoClaimIntent.d.ts +1 -0
  49. package/dist/src/schema/transactionRequest/intents/coredaoDelegateIntent.d.ts +1 -0
  50. package/dist/src/schema/transactionRequest/intents/coredaoUndelegateIntent.d.ts +1 -0
  51. package/dist/src/schema/transactionRequest/intents/cosmosContractCallIntent.d.ts +1 -0
  52. package/dist/src/schema/transactionRequest/intents/cosmosPaymentIntent.d.ts +1 -0
  53. package/dist/src/schema/transactionRequest/intents/cosmosStakeClaimRewardsIntent.d.ts +1 -0
  54. package/dist/src/schema/transactionRequest/intents/cosmosStakeIntent.d.ts +1 -0
  55. package/dist/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.d.ts +1 -0
  56. package/dist/src/schema/transactionRequest/intents/cosmosUnstakeIntent.d.ts +1 -0
  57. package/dist/src/schema/transactionRequest/intents/cosmosWithdrawIntent.d.ts +1 -0
  58. package/dist/src/schema/transactionRequest/intents/defiApproveIntent.d.ts +1 -2
  59. package/dist/src/schema/transactionRequest/intents/defiApproveIntent.js +0 -3
  60. package/dist/src/schema/transactionRequest/intents/defiApproveIntent.js.map +1 -1
  61. package/dist/src/schema/transactionRequest/intents/defiDepositIntent.d.ts +1 -2
  62. package/dist/src/schema/transactionRequest/intents/defiDepositIntent.js +0 -3
  63. package/dist/src/schema/transactionRequest/intents/defiDepositIntent.js.map +1 -1
  64. package/dist/src/schema/transactionRequest/intents/defiRedeemIntent.d.ts +1 -0
  65. package/dist/src/schema/transactionRequest/intents/defiWithdrawIntent.d.ts +84 -0
  66. package/dist/src/schema/transactionRequest/intents/defiWithdrawIntent.js +37 -0
  67. package/dist/src/schema/transactionRequest/intents/defiWithdrawIntent.js.map +1 -0
  68. package/dist/src/schema/transactionRequest/intents/delegateIntent.d.ts +1 -0
  69. package/dist/src/schema/transactionRequest/intents/dotBaseIntent.d.ts +1 -0
  70. package/dist/src/schema/transactionRequest/intents/dotCreateAccountIntent.d.ts +1 -0
  71. package/dist/src/schema/transactionRequest/intents/dotPaymentIntent.d.ts +1 -0
  72. package/dist/src/schema/transactionRequest/intents/dotStakingIntent.d.ts +1 -0
  73. package/dist/src/schema/transactionRequest/intents/dotUnstakingIntent.d.ts +1 -0
  74. package/dist/src/schema/transactionRequest/intents/dotWithdrawStakeIntent.d.ts +1 -0
  75. package/dist/src/schema/transactionRequest/intents/enableTokenIntent.d.ts +1 -0
  76. package/dist/src/schema/transactionRequest/intents/ethAccelerationIntent.d.ts +1 -0
  77. package/dist/src/schema/transactionRequest/intents/ethConsolidateTokenIntent.d.ts +1 -0
  78. package/dist/src/schema/transactionRequest/intents/ethFillNonceIntent.d.ts +1 -0
  79. package/dist/src/schema/transactionRequest/intents/ethLikeStakeIntent.d.ts +2 -0
  80. package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.d.ts +1 -0
  81. package/dist/src/schema/transactionRequest/intents/ethStakingIntent.d.ts +1 -0
  82. package/dist/src/schema/transactionRequest/intents/ethTransferTokenIntent.d.ts +1 -0
  83. package/dist/src/schema/transactionRequest/intents/feeAddressTransferIntent.d.ts +1 -0
  84. package/dist/src/schema/transactionRequest/intents/fillNonceIntent.d.ts +1 -0
  85. package/dist/src/schema/transactionRequest/intents/goUnstakeIntent.d.ts +1 -0
  86. package/dist/src/schema/transactionRequest/intents/hbarUpdateAccountIntent.d.ts +1 -0
  87. package/dist/src/schema/transactionRequest/intents/hypeevmBridgeFundsIntent.d.ts +1 -0
  88. package/dist/src/schema/transactionRequest/intents/hypeevmEnableBridgingIntent.d.ts +1 -0
  89. package/dist/src/schema/transactionRequest/intents/hypeevmSpotTransferIntent.d.ts +1 -0
  90. package/dist/src/schema/transactionRequest/intents/icpPaymentIntent.d.ts +1 -0
  91. package/dist/src/schema/transactionRequest/intents/index.d.ts +1 -0
  92. package/dist/src/schema/transactionRequest/intents/index.js +1 -0
  93. package/dist/src/schema/transactionRequest/intents/index.js.map +1 -1
  94. package/dist/src/schema/transactionRequest/intents/intent.d.ts +312 -2
  95. package/dist/src/schema/transactionRequest/intents/intent.js +4 -0
  96. package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -1
  97. package/dist/src/schema/transactionRequest/intents/intentType.d.ts +2 -0
  98. package/dist/src/schema/transactionRequest/intents/intentType.js +1 -0
  99. package/dist/src/schema/transactionRequest/intents/intentType.js.map +1 -1
  100. package/dist/src/schema/transactionRequest/intents/iotaBuildOptions.d.ts +1 -0
  101. package/dist/src/schema/transactionRequest/intents/iotaConsolidateIntent.d.ts +1 -0
  102. package/dist/src/schema/transactionRequest/intents/iotaPaymentIntent.d.ts +2 -0
  103. package/dist/src/schema/transactionRequest/intents/lightningPaymentIntent.d.ts +2 -0
  104. package/dist/src/schema/transactionRequest/intents/mmiSignMessageIntent.d.ts +1 -0
  105. package/dist/src/schema/transactionRequest/intents/mmiSignTransactionIntent.d.ts +1 -0
  106. package/dist/src/schema/transactionRequest/intents/nearStakeIntent.d.ts +1 -0
  107. package/dist/src/schema/transactionRequest/intents/nearUnstakeIntent.d.ts +1 -0
  108. package/dist/src/schema/transactionRequest/intents/nearWithdrawIntent.d.ts +1 -0
  109. package/dist/src/schema/transactionRequest/intents/paymentIntent.d.ts +1 -0
  110. package/dist/src/schema/transactionRequest/intents/polyxBaseIntent.d.ts +1 -0
  111. package/dist/src/schema/transactionRequest/intents/polyxCreateAccountIntent.d.ts +1 -0
  112. package/dist/src/schema/transactionRequest/intents/polyxPreApproveAssetIntent.d.ts +1 -0
  113. package/dist/src/schema/transactionRequest/intents/polyxStakeIntent.d.ts +1 -0
  114. package/dist/src/schema/transactionRequest/intents/polyxSwitchValidatorIntent.d.ts +1 -0
  115. package/dist/src/schema/transactionRequest/intents/polyxUnstakeIntent.d.ts +1 -0
  116. package/dist/src/schema/transactionRequest/intents/polyxWithdrawIntent.d.ts +1 -0
  117. package/dist/src/schema/transactionRequest/intents/signMessageIntent.d.ts +1 -0
  118. package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.d.ts +1 -0
  119. package/dist/src/schema/transactionRequest/intents/solClaimIntent.d.ts +1 -0
  120. package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.d.ts +1 -0
  121. package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts +1 -0
  122. package/dist/src/schema/transactionRequest/intents/solCustomTxIntent.d.ts +1 -0
  123. package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.d.ts +1 -0
  124. package/dist/src/schema/transactionRequest/intents/solDelegateIntent.d.ts +1 -0
  125. package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.d.ts +1 -0
  126. package/dist/src/schema/transactionRequest/intents/solPaymentIntent.d.ts +1 -0
  127. package/dist/src/schema/transactionRequest/intents/solStakeIntent.d.ts +2 -0
  128. package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.d.ts +2 -0
  129. package/dist/src/schema/transactionRequest/intents/solVersionedCustomTxIntent.d.ts +1 -0
  130. package/dist/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.d.ts +1 -0
  131. package/dist/src/schema/transactionRequest/intents/stakeIntent.d.ts +1 -0
  132. package/dist/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.d.ts +1 -0
  133. package/dist/src/schema/transactionRequest/intents/stakeWithCallDataIntent.d.ts +1 -0
  134. package/dist/src/schema/transactionRequest/intents/substrateBaseIntent.d.ts +1 -0
  135. package/dist/src/schema/transactionRequest/intents/substratePaymentIntent.d.ts +1 -0
  136. package/dist/src/schema/transactionRequest/intents/suiBuildOptions.d.ts +1 -0
  137. package/dist/src/schema/transactionRequest/intents/suiConsolidateIntent.d.ts +1 -0
  138. package/dist/src/schema/transactionRequest/intents/suiCustomTxIntent.d.ts +2 -0
  139. package/dist/src/schema/transactionRequest/intents/suiGoUnstakeIntent.d.ts +3 -0
  140. package/dist/src/schema/transactionRequest/intents/suiPaymentIntent.d.ts +2 -0
  141. package/dist/src/schema/transactionRequest/intents/suiStakingIntent.d.ts +1 -0
  142. package/dist/src/schema/transactionRequest/intents/suiUnstakingIntent.d.ts +1 -0
  143. package/dist/src/schema/transactionRequest/intents/switchValidatorWithCallDataIntent.d.ts +1 -0
  144. package/dist/src/schema/transactionRequest/intents/taoStakeIntent.d.ts +2 -0
  145. package/dist/src/schema/transactionRequest/intents/taoStakingBaseIntent.d.ts +1 -0
  146. package/dist/src/schema/transactionRequest/intents/taoSwitchValidatorIntent.d.ts +1 -0
  147. package/dist/src/schema/transactionRequest/intents/taoTransferStakeIntent.d.ts +1 -0
  148. package/dist/src/schema/transactionRequest/intents/taoUnstakeIntent.d.ts +2 -0
  149. package/dist/src/schema/transactionRequest/intents/tokenApprovalIntent.d.ts +1 -0
  150. package/dist/src/schema/transactionRequest/intents/tonDelegateIntent.d.ts +1 -0
  151. package/dist/src/schema/transactionRequest/intents/tonMultiNominatorDelegateIntent.d.ts +1 -0
  152. package/dist/src/schema/transactionRequest/intents/tonMultiNominatorUndelegateIntent.d.ts +1 -0
  153. package/dist/src/schema/transactionRequest/intents/tonPaymentIntent.d.ts +1 -0
  154. package/dist/src/schema/transactionRequest/intents/tonSingleNominatorDelegateIntent.d.ts +1 -0
  155. package/dist/src/schema/transactionRequest/intents/tonSingleNominatorUndelegateIntent.d.ts +1 -0
  156. package/dist/src/schema/transactionRequest/intents/tonUndelegateIntent.d.ts +1 -0
  157. package/dist/src/schema/transactionRequest/intents/tonWhalesDelegateIntent.d.ts +1 -0
  158. package/dist/src/schema/transactionRequest/intents/tonWhalesUndelegateIntent.d.ts +1 -0
  159. package/dist/src/schema/transactionRequest/intents/transferTokenIntent.d.ts +1 -0
  160. package/dist/src/schema/transactionRequest/intents/trxClaimRewardsIntent.d.ts +1 -0
  161. package/dist/src/schema/transactionRequest/intents/trxCreateAccountIntent.d.ts +1 -0
  162. package/dist/src/schema/transactionRequest/intents/trxDelegateResourceIntent.d.ts +1 -0
  163. package/dist/src/schema/transactionRequest/intents/trxFreezeIntent.d.ts +1 -0
  164. package/dist/src/schema/transactionRequest/intents/trxUndelegateResourceIntent.d.ts +1 -0
  165. package/dist/src/schema/transactionRequest/intents/trxUnfreezeIntent.d.ts +1 -0
  166. package/dist/src/schema/transactionRequest/intents/trxVoteIntent.d.ts +1 -0
  167. package/dist/src/schema/transactionRequest/intents/trxWithdrawExpireUnfreezeIntent.d.ts +1 -0
  168. package/dist/src/schema/transactionRequest/intents/undelegateIntent.d.ts +1 -0
  169. package/dist/src/schema/transactionRequest/intents/unstakeIntent.d.ts +1 -0
  170. package/dist/src/schema/transactionRequest/intents/validatorRegistrationIntent.d.ts +1 -0
  171. package/dist/src/schema/transactionRequest/intents/vetDecreaseStakeIntent.d.ts +1 -0
  172. package/dist/src/schema/transactionRequest/intents/vetDelegateIntent.d.ts +1 -0
  173. package/dist/src/schema/transactionRequest/intents/vetIncreaseStakeIntent.d.ts +1 -0
  174. package/dist/src/schema/transactionRequest/intents/vetSignalExitIntent.d.ts +1 -0
  175. package/dist/src/schema/transactionRequest/intents/vetStakeClaimRewardsIntent.d.ts +1 -0
  176. package/dist/src/schema/transactionRequest/intents/vetStakingIntent.d.ts +1 -0
  177. package/dist/src/schema/transactionRequest/intents/vetUnstakingIntent.d.ts +2 -0
  178. package/dist/src/schema/transactionRequest/intents/vetValidatorRegistrationIntent.d.ts +1 -0
  179. package/dist/src/schema/transactionRequest/intents/vetWithdrawStakeIntent.d.ts +1 -0
  180. package/dist/src/schema/transactionRequest/intents/voteDelegationIntent.d.ts +1 -0
  181. package/dist/src/schema/transactionRequest/intents/walletRecoveryIntent.d.ts +1 -0
  182. package/dist/src/schema/transactionRequest/intents/walrusStakingIntent.d.ts +1 -0
  183. package/dist/src/schema/transactionRequest/intents/walrusUndelegateIntent.d.ts +1 -0
  184. package/dist/src/schema/transactionRequest/intents/walrusWithdrawIntent.d.ts +1 -0
  185. package/dist/src/schema/transactionRequest/intents/withdrawIntent.d.ts +1 -0
  186. package/dist/src/schema/transactionRequest/intents/xdcStakingIntent.d.ts +2 -0
  187. package/dist/src/schema/transactionRequest/intents/xdcUnstakingIntent.d.ts +2 -0
  188. package/dist/src/schema/transactionRequest/transactionRequest.d.ts +624 -4
  189. package/dist/src/schema/webhook/webhookType.d.ts +4 -2
  190. package/dist/src/schema/webhook/webhookType.js +2 -0
  191. package/dist/src/schema/webhook/webhookType.js.map +1 -1
  192. package/package.json +1 -1
  193. package/src/schema/transactionRequest/intents/defiApproveIntent.ts +0 -4
  194. package/src/schema/transactionRequest/intents/defiDepositIntent.ts +0 -3
  195. package/src/schema/transactionRequest/intents/defiWithdrawIntent.ts +14 -0
  196. package/src/schema/transactionRequest/intents/index.ts +1 -0
  197. package/src/schema/transactionRequest/intents/intent.ts +4 -0
  198. package/src/schema/transactionRequest/intents/intentType.ts +7 -0
  199. package/src/schema/webhook/webhookType.ts +6 -0
@@ -32,7 +32,8 @@ export declare enum WebhookTypeEnum {
32
32
  "unspentExpiry" = "unspentExpiry",
33
33
  "twoStepTransfer" = "twoStepTransfer",
34
34
  "twoStepDeposit" = "twoStepDeposit",
35
- "twoStepWithdrawal" = "twoStepWithdrawal"
35
+ "twoStepWithdrawal" = "twoStepWithdrawal",
36
+ "pendingDecryption" = "pendingDecryption"
36
37
  }
37
38
  export declare const WebhookType: t.KeyofC<typeof WebhookTypeEnum>;
38
39
  export type WebhookType = t.TypeOf<typeof WebhookType>;
@@ -56,7 +57,8 @@ export declare enum WalletWebhookTypeEnum {
56
57
  "unspentExpiry" = "unspentExpiry",
57
58
  "twoStepTransfer" = "twoStepTransfer",
58
59
  "twoStepDeposit" = "twoStepDeposit",
59
- "twoStepWithdrawal" = "twoStepWithdrawal"
60
+ "twoStepWithdrawal" = "twoStepWithdrawal",
61
+ "pendingDecryption" = "pendingDecryption"
60
62
  }
61
63
  export declare const WalletWebhookType: t.KeyofC<typeof WalletWebhookTypeEnum>;
62
64
  export type WalletWebhookType = t.TypeOf<typeof WalletWebhookType>;
@@ -60,6 +60,7 @@ var WebhookTypeEnum;
60
60
  WebhookTypeEnum["twoStepTransfer"] = "twoStepTransfer";
61
61
  WebhookTypeEnum["twoStepDeposit"] = "twoStepDeposit";
62
62
  WebhookTypeEnum["twoStepWithdrawal"] = "twoStepWithdrawal";
63
+ WebhookTypeEnum["pendingDecryption"] = "pendingDecryption";
63
64
  })(WebhookTypeEnum || (exports.WebhookTypeEnum = WebhookTypeEnum = {}));
64
65
  exports.WebhookType = t.keyof(WebhookTypeEnum, "WebhookType");
65
66
  var WalletWebhookTypeEnum;
@@ -84,6 +85,7 @@ var WalletWebhookTypeEnum;
84
85
  WalletWebhookTypeEnum["twoStepTransfer"] = "twoStepTransfer";
85
86
  WalletWebhookTypeEnum["twoStepDeposit"] = "twoStepDeposit";
86
87
  WalletWebhookTypeEnum["twoStepWithdrawal"] = "twoStepWithdrawal";
88
+ WalletWebhookTypeEnum["pendingDecryption"] = "pendingDecryption";
87
89
  })(WalletWebhookTypeEnum || (exports.WalletWebhookTypeEnum = WalletWebhookTypeEnum = {}));
88
90
  exports.WalletWebhookType = t.keyof(WalletWebhookTypeEnum, "WalletWebhookType");
89
91
  var EnterpriseWebhookTypeEnum;
@@ -1 +1 @@
1
- {"version":3,"file":"webhookType.js","sourceRoot":"","sources":["../../../../src/schema/webhook/webhookType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAE3B,IAAY,eA0DX;AA1DD,WAAY,eAAe;IAEzB,0CAAyB,CAAA;IAEzB,gEAA+C,CAAA;IAC/C,wCAAuB,CAAA;IACvB,8CAA6B,CAAA;IAC7B,4DAA2C,CAAA;IAC3C,0DAAyC,CAAA;IACz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,wDAA6B,CAAA;IAC7B,wEAA6C,CAAA;IAC7C,kDAAuB,CAAA;AACzB,CAAC,EALW,yBAAyB,yCAAzB,yBAAyB,QAKpC;AACY,QAAA,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAC1C,yBAAyB,EACzB,uBAAuB,CACxB,CAAC;AAGF,IAAY,2BAaX;AAbD,WAAY,2BAA2B;IACrC,oDAAuB,CAAA;IACvB,sDAAyB,CAAA;IACzB,kEAAqC,CAAA;IACrC,4EAA+C,CAAA;IAC/C,0DAA6B,CAAA;IAC7B,gEAAmC,CAAA;IACnC,sDAAyB,CAAA;IACzB,4DAA+B,CAAA;IAC/B,wEAA2C,CAAA;IAC3C,0DAA6B,CAAA;IAC7B,oDAAuB,CAAA;IACvB,wDAA2B,CAAA;AAC7B,CAAC,EAbW,2BAA2B,2CAA3B,2BAA2B,QAatC;AACY,QAAA,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAC5C,2BAA2B,EAC3B,yBAAyB,CAC1B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/public-types",
3
- "version": "6.36.0",
3
+ "version": "6.38.0",
4
4
  "description": "Collection of types exposed externally as part of the BitGo public API",
5
5
  "license": "UNLICENSED",
6
6
  "author": "",
@@ -6,12 +6,8 @@ export const DefiApproveIntent = t.intersection([
6
6
  t.type({
7
7
  intentType: t.literal("defi-approve"),
8
8
  vaultId: t.string,
9
- // Raw amount string in base units of the underlying asset.
10
9
  amount: t.string,
11
10
  }),
12
- t.partial({
13
- clientIdempotencyKey: t.string,
14
- }),
15
11
  ]);
16
12
 
17
13
  export type DefiApproveIntent = t.TypeOf<typeof DefiApproveIntent>;
@@ -11,9 +11,6 @@ export const DefiDepositIntent = t.intersection([
11
11
  // UUID binding this deposit to an existing operation row.
12
12
  operationId: t.string,
13
13
  }),
14
- t.partial({
15
- clientIdempotencyKey: t.string,
16
- }),
17
14
  ]);
18
15
 
19
16
  export type DefiDepositIntent = t.TypeOf<typeof DefiDepositIntent>;
@@ -0,0 +1,14 @@
1
+ import * as t from "io-ts";
2
+ import { BaseIntent } from "./baseIntent";
3
+
4
+ export const DefiWithdrawIntent = t.intersection([
5
+ BaseIntent,
6
+ t.type({
7
+ intentType: t.literal("defi-withdraw"),
8
+ vaultId: t.string,
9
+ // Raw amount string in base units of the vault share token (NOT the underlying asset).
10
+ shareTokenAmount: t.string,
11
+ }),
12
+ ]);
13
+
14
+ export type DefiWithdrawIntent = t.TypeOf<typeof DefiWithdrawIntent>;
@@ -64,6 +64,7 @@ export * from "./cosmosWithdrawIntent";
64
64
  export * from "./defiDepositIntent";
65
65
  export * from "./defiRedeemIntent";
66
66
  export * from "./defiApproveIntent";
67
+ export * from "./defiWithdrawIntent";
67
68
  export * from "./dotAccountBaseBuildOptions";
68
69
  export * from "./dotBaseIntent";
69
70
  export * from "./dotConsolidateIntent";
@@ -17,8 +17,10 @@ import {
17
17
  VetExitDelegationIntent,
18
18
  VetBurnNFTIntent,
19
19
  } from "./vetUnstakingIntent";
20
+ import { DefiApproveIntent } from "./defiApproveIntent";
20
21
  import { DefiDepositIntent } from "./defiDepositIntent";
21
22
  import { DefiRedeemIntent } from "./defiRedeemIntent";
23
+ import { DefiWithdrawIntent } from "./defiWithdrawIntent";
22
24
  import { CosmosContractCallIntent } from "./cosmosContractCallIntent";
23
25
  import { CosmosPaymentIntent } from "./cosmosPaymentIntent";
24
26
  import { CosmosStakeClaimRewardsIntent } from "./cosmosStakeClaimRewardsIntent";
@@ -188,8 +190,10 @@ export const TransactionIntent = t.union([
188
190
  CosmosStakeIntent,
189
191
  CosmosSwitchValidatorIntent,
190
192
  CosmosUnstakeIntent,
193
+ DefiApproveIntent,
191
194
  DefiDepositIntent,
192
195
  DefiRedeemIntent,
196
+ DefiWithdrawIntent,
193
197
  DotConsolidateIntent,
194
198
  DotCreateAccountIntent,
195
199
  DotPaymentIntent,
@@ -88,6 +88,13 @@ export const intentTypes = {
88
88
  * Approve an ERC-20 token for a DeFi protocol vault.
89
89
  */
90
90
  "defi-approve": t.literal("defi-approve"),
91
+ /**
92
+ * Withdraw (redeem) vault shares from an ERC-4626 vault back to the underlying asset
93
+ * (e.g. Galaxy Morpho USDC vault shares → USDC). Distinct from `defi-redeem`: this is the
94
+ * vaultId-keyed ERC-4626 registry flow (calldataInternal.ts), not the Concrete
95
+ * protocol-keyed flow (vaultInternal.ts).
96
+ */
97
+ "defi-withdraw": t.literal("defi-withdraw"),
91
98
  delegateResource: t.literal("delegateResource"),
92
99
  undelegateResource: t.literal("undelegateResource"),
93
100
  /**
@@ -58,6 +58,9 @@ export enum WebhookTypeEnum {
58
58
 
59
59
  /** Canton two-step withdrawal offer flows (expiring/expired withdrawal offers). */
60
60
  "twoStepWithdrawal" = "twoStepWithdrawal",
61
+
62
+ /** ERC-7984 confidential transfer pending decryption (wallet-scoped). */
63
+ "pendingDecryption" = "pendingDecryption",
61
64
  }
62
65
 
63
66
  export const WebhookType = t.keyof(WebhookTypeEnum, "WebhookType");
@@ -92,6 +95,9 @@ export enum WalletWebhookTypeEnum {
92
95
 
93
96
  /** Canton two-step withdrawal offer flows. */
94
97
  "twoStepWithdrawal" = "twoStepWithdrawal",
98
+
99
+ /** ERC-7984 confidential transfer pending decryption. */
100
+ "pendingDecryption" = "pendingDecryption",
95
101
  }
96
102
 
97
103
  export const WalletWebhookType = t.keyof(