@mysten/sui 1.41.0 → 1.42.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 (475) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/grpc/client.d.ts +7 -7
  3. package/dist/cjs/grpc/client.js +7 -7
  4. package/dist/cjs/grpc/client.js.map +2 -2
  5. package/dist/cjs/grpc/core.d.ts +1 -1
  6. package/dist/cjs/grpc/core.js +14 -19
  7. package/dist/cjs/grpc/core.js.map +2 -2
  8. package/dist/cjs/grpc/proto/google/protobuf/any.d.ts +6 -6
  9. package/dist/cjs/grpc/proto/google/protobuf/any.js +20 -20
  10. package/dist/cjs/grpc/proto/google/protobuf/any.js.map +2 -2
  11. package/dist/cjs/grpc/proto/google/protobuf/duration.d.ts +4 -4
  12. package/dist/cjs/grpc/proto/google/protobuf/duration.js +12 -8
  13. package/dist/cjs/grpc/proto/google/protobuf/duration.js.map +2 -2
  14. package/dist/cjs/grpc/proto/google/protobuf/empty.d.ts +1 -1
  15. package/dist/cjs/grpc/proto/google/protobuf/empty.js.map +2 -2
  16. package/dist/cjs/grpc/proto/google/protobuf/field_mask.d.ts +4 -4
  17. package/dist/cjs/grpc/proto/google/protobuf/field_mask.js +7 -8
  18. package/dist/cjs/grpc/proto/google/protobuf/field_mask.js.map +2 -2
  19. package/dist/cjs/grpc/proto/google/protobuf/struct.d.ts +10 -10
  20. package/dist/cjs/grpc/proto/google/protobuf/struct.js +17 -29
  21. package/dist/cjs/grpc/proto/google/protobuf/struct.js.map +2 -2
  22. package/dist/cjs/grpc/proto/google/protobuf/timestamp.d.ts +4 -4
  23. package/dist/cjs/grpc/proto/google/protobuf/timestamp.js +18 -21
  24. package/dist/cjs/grpc/proto/google/protobuf/timestamp.js.map +2 -2
  25. package/dist/cjs/grpc/proto/google/rpc/error_details.d.ts +2 -2
  26. package/dist/cjs/grpc/proto/google/rpc/error_details.js +11 -40
  27. package/dist/cjs/grpc/proto/google/rpc/error_details.js.map +2 -2
  28. package/dist/cjs/grpc/proto/google/rpc/status.d.ts +2 -2
  29. package/dist/cjs/grpc/proto/google/rpc/status.js +1 -1
  30. package/dist/cjs/grpc/proto/google/rpc/status.js.map +2 -2
  31. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/argument.d.ts +5 -5
  32. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/argument.js +2 -8
  33. package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js.map +7 -0
  34. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/balance_change.d.ts +3 -3
  35. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/balance_change.js +1 -1
  36. package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.js.map +7 -0
  37. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/bcs.d.ts +3 -3
  38. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/bcs.js +1 -1
  39. package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.js.map +7 -0
  40. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.d.ts +68 -0
  41. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint.js +9 -12
  42. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js.map +7 -0
  43. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/checkpoint_contents.d.ts +10 -10
  44. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint_contents.js +6 -18
  45. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +7 -0
  46. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/checkpoint_summary.d.ts +19 -19
  47. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint_summary.js +16 -38
  48. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +7 -0
  49. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/effects.d.ts +33 -28
  50. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/effects.js +23 -61
  51. package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js.map +7 -0
  52. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/epoch.d.ts +10 -10
  53. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/epoch.js +9 -5
  54. package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js.map +7 -0
  55. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/error_reason.d.ts +1 -1
  56. package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.js.map +7 -0
  57. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/event.d.ts +10 -10
  58. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/event.js +4 -4
  59. package/dist/cjs/grpc/proto/sui/rpc/v2/event.js.map +7 -0
  60. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/executed_transaction.d.ts +19 -24
  61. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/executed_transaction.js +12 -36
  62. package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js.map +7 -0
  63. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/execution_status.d.ts +56 -56
  64. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/execution_status.js +29 -87
  65. package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js.map +7 -0
  66. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/gas_cost_summary.d.ts +3 -3
  67. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/gas_cost_summary.js +5 -1
  68. package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +7 -0
  69. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/input.d.ts +6 -6
  70. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/input.js +4 -9
  71. package/dist/cjs/grpc/proto/sui/rpc/v2/input.js.map +7 -0
  72. package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.d.ts +70 -0
  73. package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.js +88 -0
  74. package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.js.map +7 -0
  75. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +95 -0
  76. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.client.js +15 -57
  77. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +7 -0
  78. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/ledger_service.d.ts +58 -58
  79. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.js +37 -58
  80. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js.map +7 -0
  81. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/move_package.d.ts +49 -49
  82. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package.js +31 -140
  83. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js.map +7 -0
  84. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +61 -0
  85. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package_service.client.js +9 -33
  86. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +7 -0
  87. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package_service.d.ts +28 -28
  88. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package_service.js +16 -26
  89. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js.map +7 -0
  90. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.client.d.ts +14 -14
  91. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.client.js +5 -17
  92. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.js.map +7 -0
  93. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.d.ts +17 -17
  94. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.js +13 -24
  95. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.js.map +7 -0
  96. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/object.d.ts +31 -11
  97. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/object.js +19 -6
  98. package/dist/cjs/grpc/proto/sui/rpc/v2/object.js.map +7 -0
  99. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/object_reference.d.ts +3 -3
  100. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/object_reference.js +2 -1
  101. package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js.map +7 -0
  102. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/owner.d.ts +5 -5
  103. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/owner.js +3 -8
  104. package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js.map +7 -0
  105. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/protocol_config.d.ts +3 -3
  106. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/protocol_config.js +12 -23
  107. package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js.map +7 -0
  108. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature.d.ts +85 -72
  109. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature.js +44 -95
  110. package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js.map +7 -0
  111. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/signature_scheme.d.ts +1 -1
  112. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.js.map +7 -0
  113. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.client.d.ts +10 -10
  114. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.client.js +3 -9
  115. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +7 -0
  116. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/signature_verification_service.d.ts +14 -14
  117. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.js +8 -9
  118. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +7 -0
  119. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.d.ts +71 -0
  120. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js +69 -0
  121. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js.map +7 -0
  122. package/dist/{esm/grpc/proto/sui/rpc/v2beta2/live_data_service.d.ts → cjs/grpc/proto/sui/rpc/v2/state_service.d.ts} +70 -188
  123. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2/live_data_service.js → v2/state_service.js} +43 -195
  124. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js.map +7 -0
  125. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/subscription_service.client.d.ts +12 -12
  126. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/subscription_service.client.js +4 -10
  127. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +7 -0
  128. package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/subscription_service.d.ts +11 -11
  129. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/subscription_service.js +7 -12
  130. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js.map +7 -0
  131. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/system_state.d.ts +39 -39
  132. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/system_state.js +68 -35
  133. package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js.map +7 -0
  134. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction.d.ts +308 -288
  135. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction.js +144 -339
  136. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js.map +7 -0
  137. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +41 -0
  138. package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction_execution_service.client.js +10 -12
  139. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +7 -0
  140. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +184 -0
  141. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js +113 -0
  142. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +7 -0
  143. package/dist/cjs/version.d.ts +1 -1
  144. package/dist/cjs/version.js +1 -1
  145. package/dist/cjs/version.js.map +1 -1
  146. package/dist/esm/grpc/client.d.ts +7 -7
  147. package/dist/esm/grpc/client.js +7 -7
  148. package/dist/esm/grpc/client.js.map +2 -2
  149. package/dist/esm/grpc/core.d.ts +1 -1
  150. package/dist/esm/grpc/core.js +14 -19
  151. package/dist/esm/grpc/core.js.map +2 -2
  152. package/dist/esm/grpc/proto/google/protobuf/any.d.ts +6 -6
  153. package/dist/esm/grpc/proto/google/protobuf/any.js +20 -20
  154. package/dist/esm/grpc/proto/google/protobuf/any.js.map +2 -2
  155. package/dist/esm/grpc/proto/google/protobuf/duration.d.ts +4 -4
  156. package/dist/esm/grpc/proto/google/protobuf/duration.js +12 -8
  157. package/dist/esm/grpc/proto/google/protobuf/duration.js.map +2 -2
  158. package/dist/esm/grpc/proto/google/protobuf/empty.d.ts +1 -1
  159. package/dist/esm/grpc/proto/google/protobuf/empty.js.map +2 -2
  160. package/dist/esm/grpc/proto/google/protobuf/field_mask.d.ts +4 -4
  161. package/dist/esm/grpc/proto/google/protobuf/field_mask.js +7 -8
  162. package/dist/esm/grpc/proto/google/protobuf/field_mask.js.map +2 -2
  163. package/dist/esm/grpc/proto/google/protobuf/struct.d.ts +10 -10
  164. package/dist/esm/grpc/proto/google/protobuf/struct.js +17 -29
  165. package/dist/esm/grpc/proto/google/protobuf/struct.js.map +2 -2
  166. package/dist/esm/grpc/proto/google/protobuf/timestamp.d.ts +4 -4
  167. package/dist/esm/grpc/proto/google/protobuf/timestamp.js +18 -21
  168. package/dist/esm/grpc/proto/google/protobuf/timestamp.js.map +2 -2
  169. package/dist/esm/grpc/proto/google/rpc/error_details.d.ts +2 -2
  170. package/dist/esm/grpc/proto/google/rpc/error_details.js +11 -40
  171. package/dist/esm/grpc/proto/google/rpc/error_details.js.map +2 -2
  172. package/dist/esm/grpc/proto/google/rpc/status.d.ts +2 -2
  173. package/dist/esm/grpc/proto/google/rpc/status.js +1 -1
  174. package/dist/esm/grpc/proto/google/rpc/status.js.map +2 -2
  175. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/argument.d.ts +5 -5
  176. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/argument.js +2 -8
  177. package/dist/esm/grpc/proto/sui/rpc/v2/argument.js.map +7 -0
  178. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/balance_change.d.ts +3 -3
  179. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/balance_change.js +1 -1
  180. package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.js.map +7 -0
  181. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/bcs.d.ts +3 -3
  182. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/bcs.js +1 -1
  183. package/dist/esm/grpc/proto/sui/rpc/v2/bcs.js.map +7 -0
  184. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.d.ts +68 -0
  185. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint.js +9 -12
  186. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js.map +7 -0
  187. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/checkpoint_contents.d.ts +10 -10
  188. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint_contents.js +6 -18
  189. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +7 -0
  190. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/checkpoint_summary.d.ts +19 -19
  191. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint_summary.js +16 -38
  192. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +7 -0
  193. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/effects.d.ts +33 -28
  194. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/effects.js +23 -61
  195. package/dist/esm/grpc/proto/sui/rpc/v2/effects.js.map +7 -0
  196. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/epoch.d.ts +10 -10
  197. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/epoch.js +9 -5
  198. package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js.map +7 -0
  199. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/error_reason.d.ts +1 -1
  200. package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.js.map +7 -0
  201. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/event.d.ts +10 -10
  202. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/event.js +4 -4
  203. package/dist/esm/grpc/proto/sui/rpc/v2/event.js.map +7 -0
  204. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/executed_transaction.d.ts +19 -24
  205. package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js +43 -0
  206. package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js.map +7 -0
  207. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/execution_status.d.ts +56 -56
  208. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/execution_status.js +29 -87
  209. package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js.map +7 -0
  210. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/gas_cost_summary.d.ts +3 -3
  211. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/gas_cost_summary.js +5 -1
  212. package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +7 -0
  213. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/input.d.ts +6 -6
  214. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/input.js +4 -9
  215. package/dist/esm/grpc/proto/sui/rpc/v2/input.js.map +7 -0
  216. package/dist/esm/grpc/proto/sui/rpc/v2/jwk.d.ts +70 -0
  217. package/dist/esm/grpc/proto/sui/rpc/v2/jwk.js +68 -0
  218. package/dist/esm/grpc/proto/sui/rpc/v2/jwk.js.map +7 -0
  219. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +95 -0
  220. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js +65 -0
  221. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +7 -0
  222. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/ledger_service.d.ts +58 -58
  223. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.js +37 -58
  224. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js.map +7 -0
  225. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/move_package.d.ts +49 -49
  226. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package.js +31 -140
  227. package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js.map +7 -0
  228. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +61 -0
  229. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package_service.client.js +9 -33
  230. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +7 -0
  231. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package_service.d.ts +28 -28
  232. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package_service.js +16 -26
  233. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js.map +7 -0
  234. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.client.d.ts +14 -14
  235. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.client.js +5 -17
  236. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js.map +7 -0
  237. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.d.ts +17 -17
  238. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.js +13 -24
  239. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js.map +7 -0
  240. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/object.d.ts +31 -11
  241. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/object.js +19 -6
  242. package/dist/esm/grpc/proto/sui/rpc/v2/object.js.map +7 -0
  243. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/object_reference.d.ts +3 -3
  244. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/object_reference.js +2 -1
  245. package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js.map +7 -0
  246. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/owner.d.ts +5 -5
  247. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/owner.js +3 -8
  248. package/dist/esm/grpc/proto/sui/rpc/v2/owner.js.map +7 -0
  249. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/protocol_config.d.ts +3 -3
  250. package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js +31 -0
  251. package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js.map +7 -0
  252. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature.d.ts +85 -72
  253. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature.js +44 -95
  254. package/dist/esm/grpc/proto/sui/rpc/v2/signature.js.map +7 -0
  255. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/signature_scheme.d.ts +1 -1
  256. package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.js.map +7 -0
  257. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.client.d.ts +10 -10
  258. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.client.js +3 -9
  259. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +7 -0
  260. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/signature_verification_service.d.ts +14 -14
  261. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.js +8 -9
  262. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +7 -0
  263. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.d.ts +71 -0
  264. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js +49 -0
  265. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js.map +7 -0
  266. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2/live_data_service.d.ts → esm/grpc/proto/sui/rpc/v2/state_service.d.ts} +70 -188
  267. package/dist/esm/grpc/proto/sui/rpc/{v2beta2/live_data_service.js → v2/state_service.js} +40 -192
  268. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js.map +7 -0
  269. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/subscription_service.client.d.ts +12 -12
  270. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/subscription_service.client.js +4 -10
  271. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +7 -0
  272. package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/subscription_service.d.ts +11 -11
  273. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/subscription_service.js +7 -12
  274. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js.map +7 -0
  275. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/system_state.d.ts +39 -39
  276. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/system_state.js +68 -35
  277. package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js.map +7 -0
  278. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction.d.ts +308 -288
  279. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction.js +142 -337
  280. package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js.map +7 -0
  281. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +41 -0
  282. package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction_execution_service.client.js +10 -12
  283. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +7 -0
  284. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +184 -0
  285. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js +93 -0
  286. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +7 -0
  287. package/dist/esm/version.d.ts +1 -1
  288. package/dist/esm/version.js +1 -1
  289. package/dist/esm/version.js.map +1 -1
  290. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  291. package/dist/tsconfig.tsbuildinfo +1 -1
  292. package/package.json +2 -2
  293. package/src/grpc/client.ts +8 -8
  294. package/src/grpc/core.ts +20 -26
  295. package/src/grpc/proto/google/protobuf/any.ts +144 -159
  296. package/src/grpc/proto/google/protobuf/duration.ts +74 -77
  297. package/src/grpc/proto/google/protobuf/empty.ts +6 -5
  298. package/src/grpc/proto/google/protobuf/field_mask.ts +47 -59
  299. package/src/grpc/proto/google/protobuf/struct.ts +201 -223
  300. package/src/grpc/proto/google/protobuf/timestamp.ts +100 -121
  301. package/src/grpc/proto/google/rpc/error_details.ts +352 -388
  302. package/src/grpc/proto/google/rpc/status.ts +32 -32
  303. package/src/grpc/proto/sui/rpc/v2/argument.ts +84 -0
  304. package/src/grpc/proto/sui/rpc/v2/balance_change.ts +51 -0
  305. package/src/grpc/proto/sui/rpc/v2/bcs.ts +46 -0
  306. package/src/grpc/proto/sui/rpc/v2/checkpoint.ts +89 -0
  307. package/src/grpc/proto/sui/rpc/v2/checkpoint_contents.ts +99 -0
  308. package/src/grpc/proto/sui/rpc/v2/checkpoint_summary.ts +234 -0
  309. package/src/grpc/proto/sui/rpc/v2/effects.ts +391 -0
  310. package/src/grpc/proto/sui/rpc/v2/epoch.ts +85 -0
  311. package/src/grpc/proto/sui/rpc/v2/error_reason.ts +28 -0
  312. package/src/grpc/proto/sui/rpc/v2/event.ts +115 -0
  313. package/src/grpc/proto/sui/rpc/v2/executed_transaction.ts +103 -0
  314. package/src/grpc/proto/sui/rpc/v2/execution_status.ts +946 -0
  315. package/src/grpc/proto/sui/rpc/v2/gas_cost_summary.ts +59 -0
  316. package/src/grpc/proto/sui/rpc/v2/input.ts +119 -0
  317. package/src/grpc/proto/sui/rpc/v2/jwk.ts +94 -0
  318. package/src/grpc/proto/sui/rpc/v2/ledger_service.client.ts +127 -0
  319. package/src/grpc/proto/sui/rpc/v2/ledger_service.ts +533 -0
  320. package/src/grpc/proto/sui/rpc/v2/move_package.ts +678 -0
  321. package/src/grpc/proto/sui/rpc/v2/move_package_service.client.ts +84 -0
  322. package/src/grpc/proto/sui/rpc/v2/move_package_service.ts +297 -0
  323. package/src/grpc/proto/sui/rpc/v2/name_service.client.ts +58 -0
  324. package/src/grpc/proto/sui/rpc/v2/name_service.ts +187 -0
  325. package/src/grpc/proto/sui/rpc/v2/object.ts +159 -0
  326. package/src/grpc/proto/sui/rpc/v2/object_reference.ts +51 -0
  327. package/src/grpc/proto/sui/rpc/v2/owner.ts +78 -0
  328. package/src/grpc/proto/sui/rpc/v2/protocol_config.ts +47 -0
  329. package/src/grpc/proto/sui/rpc/v2/signature.ts +771 -0
  330. package/src/grpc/proto/sui/rpc/v2/signature_scheme.ts +51 -0
  331. package/src/grpc/proto/sui/rpc/v2/signature_verification_service.client.ts +49 -0
  332. package/src/grpc/proto/sui/rpc/v2/signature_verification_service.ts +105 -0
  333. package/src/grpc/proto/sui/rpc/v2/state_service.client.ts +97 -0
  334. package/src/grpc/proto/sui/rpc/v2/state_service.ts +820 -0
  335. package/src/grpc/proto/sui/rpc/v2/subscription_service.client.ts +69 -0
  336. package/src/grpc/proto/sui/rpc/v2/subscription_service.ts +80 -0
  337. package/src/grpc/proto/sui/rpc/v2/system_state.ts +818 -0
  338. package/src/grpc/proto/sui/rpc/v2/transaction.ts +1549 -0
  339. package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.client.ts +58 -0
  340. package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.ts +236 -0
  341. package/src/version.ts +1 -1
  342. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/argument.js.map +0 -7
  343. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/balance_change.js.map +0 -7
  344. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/bcs.js.map +0 -7
  345. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/checkpoint.d.ts +0 -55
  346. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/checkpoint.js.map +0 -7
  347. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/checkpoint_contents.js.map +0 -7
  348. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/checkpoint_summary.js.map +0 -7
  349. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/effects.js.map +0 -7
  350. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/epoch.js.map +0 -7
  351. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/error_reason.js.map +0 -7
  352. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/event.js.map +0 -7
  353. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/executed_transaction.js.map +0 -7
  354. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/execution_status.js.map +0 -7
  355. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/gas_cost_summary.js.map +0 -7
  356. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/input.js.map +0 -7
  357. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/ledger_service.client.d.ts +0 -95
  358. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/ledger_service.client.js.map +0 -7
  359. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/ledger_service.js.map +0 -7
  360. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/live_data_service.client.d.ts +0 -81
  361. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/live_data_service.client.js +0 -0
  362. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/live_data_service.client.js.map +0 -7
  363. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/live_data_service.js.map +0 -7
  364. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/move_package.js.map +0 -7
  365. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/move_package_service.client.d.ts +0 -61
  366. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/move_package_service.client.js.map +0 -7
  367. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/move_package_service.js.map +0 -7
  368. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/name_service.client.js.map +0 -7
  369. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/name_service.js.map +0 -7
  370. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/object.js.map +0 -7
  371. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/object_reference.js.map +0 -7
  372. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/owner.js.map +0 -7
  373. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/protocol_config.js.map +0 -7
  374. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature.js.map +0 -7
  375. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature_scheme.js.map +0 -7
  376. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature_verification_service.client.js.map +0 -7
  377. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature_verification_service.js.map +0 -7
  378. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/subscription_service.client.js.map +0 -7
  379. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/subscription_service.js.map +0 -7
  380. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/system_state.js.map +0 -7
  381. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction.js.map +0 -7
  382. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.client.d.ts +0 -37
  383. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.client.js.map +0 -7
  384. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.d.ts +0 -115
  385. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.js +0 -94
  386. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.js.map +0 -7
  387. package/dist/esm/grpc/proto/sui/rpc/v2beta2/argument.js.map +0 -7
  388. package/dist/esm/grpc/proto/sui/rpc/v2beta2/balance_change.js.map +0 -7
  389. package/dist/esm/grpc/proto/sui/rpc/v2beta2/bcs.js.map +0 -7
  390. package/dist/esm/grpc/proto/sui/rpc/v2beta2/checkpoint.d.ts +0 -55
  391. package/dist/esm/grpc/proto/sui/rpc/v2beta2/checkpoint.js.map +0 -7
  392. package/dist/esm/grpc/proto/sui/rpc/v2beta2/checkpoint_contents.js.map +0 -7
  393. package/dist/esm/grpc/proto/sui/rpc/v2beta2/checkpoint_summary.js.map +0 -7
  394. package/dist/esm/grpc/proto/sui/rpc/v2beta2/effects.js.map +0 -7
  395. package/dist/esm/grpc/proto/sui/rpc/v2beta2/epoch.js.map +0 -7
  396. package/dist/esm/grpc/proto/sui/rpc/v2beta2/error_reason.js.map +0 -7
  397. package/dist/esm/grpc/proto/sui/rpc/v2beta2/event.js.map +0 -7
  398. package/dist/esm/grpc/proto/sui/rpc/v2beta2/executed_transaction.js +0 -67
  399. package/dist/esm/grpc/proto/sui/rpc/v2beta2/executed_transaction.js.map +0 -7
  400. package/dist/esm/grpc/proto/sui/rpc/v2beta2/execution_status.js.map +0 -7
  401. package/dist/esm/grpc/proto/sui/rpc/v2beta2/gas_cost_summary.js.map +0 -7
  402. package/dist/esm/grpc/proto/sui/rpc/v2beta2/input.js.map +0 -7
  403. package/dist/esm/grpc/proto/sui/rpc/v2beta2/ledger_service.client.d.ts +0 -95
  404. package/dist/esm/grpc/proto/sui/rpc/v2beta2/ledger_service.client.js +0 -107
  405. package/dist/esm/grpc/proto/sui/rpc/v2beta2/ledger_service.client.js.map +0 -7
  406. package/dist/esm/grpc/proto/sui/rpc/v2beta2/ledger_service.js.map +0 -7
  407. package/dist/esm/grpc/proto/sui/rpc/v2beta2/live_data_service.client.d.ts +0 -81
  408. package/dist/esm/grpc/proto/sui/rpc/v2beta2/live_data_service.client.js +0 -92
  409. package/dist/esm/grpc/proto/sui/rpc/v2beta2/live_data_service.client.js.map +0 -7
  410. package/dist/esm/grpc/proto/sui/rpc/v2beta2/live_data_service.js.map +0 -7
  411. package/dist/esm/grpc/proto/sui/rpc/v2beta2/move_package.js.map +0 -7
  412. package/dist/esm/grpc/proto/sui/rpc/v2beta2/move_package_service.client.d.ts +0 -61
  413. package/dist/esm/grpc/proto/sui/rpc/v2beta2/move_package_service.client.js.map +0 -7
  414. package/dist/esm/grpc/proto/sui/rpc/v2beta2/move_package_service.js.map +0 -7
  415. package/dist/esm/grpc/proto/sui/rpc/v2beta2/name_service.client.js.map +0 -7
  416. package/dist/esm/grpc/proto/sui/rpc/v2beta2/name_service.js.map +0 -7
  417. package/dist/esm/grpc/proto/sui/rpc/v2beta2/object.js.map +0 -7
  418. package/dist/esm/grpc/proto/sui/rpc/v2beta2/object_reference.js.map +0 -7
  419. package/dist/esm/grpc/proto/sui/rpc/v2beta2/owner.js.map +0 -7
  420. package/dist/esm/grpc/proto/sui/rpc/v2beta2/protocol_config.js +0 -42
  421. package/dist/esm/grpc/proto/sui/rpc/v2beta2/protocol_config.js.map +0 -7
  422. package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature.js.map +0 -7
  423. package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature_scheme.js.map +0 -7
  424. package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature_verification_service.client.js.map +0 -7
  425. package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature_verification_service.js.map +0 -7
  426. package/dist/esm/grpc/proto/sui/rpc/v2beta2/subscription_service.client.js.map +0 -7
  427. package/dist/esm/grpc/proto/sui/rpc/v2beta2/subscription_service.js.map +0 -7
  428. package/dist/esm/grpc/proto/sui/rpc/v2beta2/system_state.js.map +0 -7
  429. package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction.js.map +0 -7
  430. package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.client.d.ts +0 -37
  431. package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.client.js.map +0 -7
  432. package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.d.ts +0 -115
  433. package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.js +0 -74
  434. package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.js.map +0 -7
  435. package/src/grpc/proto/sui/rpc/v2beta2/argument.ts +0 -90
  436. package/src/grpc/proto/sui/rpc/v2beta2/balance_change.ts +0 -51
  437. package/src/grpc/proto/sui/rpc/v2beta2/bcs.ts +0 -46
  438. package/src/grpc/proto/sui/rpc/v2beta2/checkpoint.ts +0 -88
  439. package/src/grpc/proto/sui/rpc/v2beta2/checkpoint_contents.ts +0 -111
  440. package/src/grpc/proto/sui/rpc/v2beta2/checkpoint_summary.ts +0 -295
  441. package/src/grpc/proto/sui/rpc/v2beta2/effects.ts +0 -479
  442. package/src/grpc/proto/sui/rpc/v2beta2/epoch.ts +0 -113
  443. package/src/grpc/proto/sui/rpc/v2beta2/error_reason.ts +0 -28
  444. package/src/grpc/proto/sui/rpc/v2beta2/event.ts +0 -115
  445. package/src/grpc/proto/sui/rpc/v2beta2/executed_transaction.ts +0 -140
  446. package/src/grpc/proto/sui/rpc/v2beta2/execution_status.ts +0 -1079
  447. package/src/grpc/proto/sui/rpc/v2beta2/gas_cost_summary.ts +0 -87
  448. package/src/grpc/proto/sui/rpc/v2beta2/input.ts +0 -132
  449. package/src/grpc/proto/sui/rpc/v2beta2/ledger_service.client.ts +0 -217
  450. package/src/grpc/proto/sui/rpc/v2beta2/ledger_service.ts +0 -625
  451. package/src/grpc/proto/sui/rpc/v2beta2/live_data_service.client.ts +0 -187
  452. package/src/grpc/proto/sui/rpc/v2beta2/live_data_service.ts +0 -1066
  453. package/src/grpc/proto/sui/rpc/v2beta2/move_package.ts +0 -803
  454. package/src/grpc/proto/sui/rpc/v2beta2/move_package_service.client.ts +0 -135
  455. package/src/grpc/proto/sui/rpc/v2beta2/move_package_service.ts +0 -315
  456. package/src/grpc/proto/sui/rpc/v2beta2/name_service.client.ts +0 -83
  457. package/src/grpc/proto/sui/rpc/v2beta2/name_service.ts +0 -198
  458. package/src/grpc/proto/sui/rpc/v2beta2/object.ts +0 -161
  459. package/src/grpc/proto/sui/rpc/v2beta2/object_reference.ts +0 -58
  460. package/src/grpc/proto/sui/rpc/v2beta2/owner.ts +0 -91
  461. package/src/grpc/proto/sui/rpc/v2beta2/protocol_config.ts +0 -66
  462. package/src/grpc/proto/sui/rpc/v2beta2/signature.ts +0 -861
  463. package/src/grpc/proto/sui/rpc/v2beta2/signature_scheme.ts +0 -51
  464. package/src/grpc/proto/sui/rpc/v2beta2/signature_verification_service.client.ts +0 -63
  465. package/src/grpc/proto/sui/rpc/v2beta2/signature_verification_service.ts +0 -106
  466. package/src/grpc/proto/sui/rpc/v2beta2/subscription_service.client.ts +0 -81
  467. package/src/grpc/proto/sui/rpc/v2beta2/subscription_service.ts +0 -93
  468. package/src/grpc/proto/sui/rpc/v2beta2/system_state.ts +0 -1184
  469. package/src/grpc/proto/sui/rpc/v2beta2/transaction.ts +0 -2012
  470. package/src/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.client.ts +0 -65
  471. package/src/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.ts +0 -178
  472. /package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/error_reason.js +0 -0
  473. /package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_scheme.js +0 -0
  474. /package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/error_reason.js +0 -0
  475. /package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_scheme.js +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../src/grpc/proto/google/protobuf/timestamp.ts"],
4
- "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"google/protobuf/timestamp.proto\" (package \"google.protobuf\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Protocol Buffers - Google's data interchange format\n// Copyright 2008 Google Inc. All rights reserved.\n// https://developers.google.com/protocol-buffers/\n//\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions are\n// met:\n//\n// * Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// * Redistributions in binary form must reproduce the above\n// copyright notice, this list of conditions and the following disclaimer\n// in the documentation and/or other materials provided with the\n// distribution.\n// * Neither the name of Google Inc. nor the names of its\n// contributors may be used to endorse or promote products derived from\n// this software without specific prior written permission.\n//\n// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n// \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n//\nimport { typeofJsonValue } from '@protobuf-ts/runtime';\nimport type { JsonValue } from '@protobuf-ts/runtime';\nimport type { JsonReadOptions } from '@protobuf-ts/runtime';\nimport type { JsonWriteOptions } from '@protobuf-ts/runtime';\nimport { PbLong } from '@protobuf-ts/runtime';\nimport { MessageType } from '@protobuf-ts/runtime';\n/**\n * A Timestamp represents a point in time independent of any time zone\n * or calendar, represented as seconds and fractions of seconds at\n * nanosecond resolution in UTC Epoch time. It is encoded using the\n * Proleptic Gregorian Calendar which extends the Gregorian calendar\n * backwards to year one. It is encoded assuming all minutes are 60\n * seconds long, i.e. leap seconds are \"smeared\" so that no leap second\n * table is needed for interpretation. Range is from\n * `0001-01-01T00:00:00Z` to `9999-12-31T23:59:59.999999999Z`.\n * Restricting to that range ensures that conversion to\n * and from RFC 3339 date strings is possible.\n * See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339.txt).\n *\n * # Examples\n *\n * Example 1: Compute Timestamp from POSIX `time()`.\n *\n * ```\n * Timestamp timestamp;\n * timestamp.set_seconds(time(NULL));\n * timestamp.set_nanos(0);\n * ```\n *\n * Example 2: Compute Timestamp from POSIX `gettimeofday()`.\n *\n * ```\n * struct timeval tv;\n * gettimeofday(&tv, NULL);\n *\n * Timestamp timestamp;\n * timestamp.set_seconds(tv.tv_sec);\n * timestamp.set_nanos(tv.tv_usec * 1000);\n * ```\n *\n * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.\n *\n * ```\n * FILETIME ft;\n * GetSystemTimeAsFileTime(&ft);\n * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;\n *\n * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z\n * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.\n * Timestamp timestamp;\n * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));\n * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); //\n * ```\n *\n * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.\n *\n * ```\n * long millis = System.currentTimeMillis();\n *\n * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)\n * .setNanos((int) ((millis % 1000) * 1000000)).build();\n *\n * ```\n *\n * Example 5: Compute Timestamp from current time in Python.\n *\n * ```\n * timestamp = Timestamp()\n * timestamp.GetCurrentTime()\n * ```\n *\n * # JSON Mapping\n *\n * In JSON format, the `Timestamp` type is encoded as a string in the\n * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the\n * format is `{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z`\n * where `{year}` is always expressed using four digits while `{month}`, `{day}`,\n * `{hour}`, `{min}`, and `{sec}` are zero-padded to two digits each. The fractional\n * seconds, which can go up to 9 digits (so up to 1 nanosecond resolution),\n * are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone\n * is required, though only UTC (as indicated by \"Z\") is presently supported.\n *\n * For example, `2017-01-15T01:30:15.01Z` encodes 15.01 seconds past\n * 01:30 UTC on January 15, 2017.\n *\n * In JavaScript, you can convert a `Date` object to this format using the\n * standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)\n * method. In Python, you can convert a standard `datetime.datetime` object\n * to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)\n * with the time format spec `%Y-%m-%dT%H:%M:%S.%fZ`. Likewise, in Java, you\n * can use the Joda Time's [`ISODateTimeFormat.dateTime()`](\n * http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--)\n * to obtain a formatter capable of generating timestamps in this format.\n *\n *\n *\n * @generated from protobuf message google.protobuf.Timestamp\n */\nexport interface Timestamp {\n\t/**\n\t * Represents seconds of UTC time since Unix epoch\n\t * `1970-01-01T00:00:00Z`. Must be from `0001-01-01T00:00:00Z` to\n\t * `9999-12-31T23:59:59Z` inclusive.\n\t *\n\t * @generated from protobuf field: int64 seconds = 1;\n\t */\n\tseconds: bigint;\n\t/**\n\t * Non-negative fractions of a second at nanosecond resolution. Negative\n\t * second values with fractions must still have non-negative nano values\n\t * that count forward in time. Must be from 0 to 999,999,999\n\t * inclusive.\n\t *\n\t * @generated from protobuf field: int32 nanos = 2;\n\t */\n\tnanos: number;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Timestamp$Type extends MessageType<Timestamp> {\n\tconstructor() {\n\t\tsuper('google.protobuf.Timestamp', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'seconds',\n\t\t\t\tkind: 'scalar',\n\t\t\t\tT: 3 /*ScalarType.INT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 2, name: 'nanos', kind: 'scalar', T: 5 /*ScalarType.INT32*/ },\n\t\t]);\n\t}\n\t/**\n\t * Creates a new `Timestamp` for the current time.\n\t */\n\tnow(): Timestamp {\n\t\tconst msg = this.create();\n\t\tconst ms = Date.now();\n\t\tmsg.seconds = PbLong.from(Math.floor(ms / 1000)).toBigInt();\n\t\tmsg.nanos = (ms % 1000) * 1000000;\n\t\treturn msg;\n\t}\n\t/**\n\t * Converts a `Timestamp` to a JavaScript Date.\n\t */\n\ttoDate(message: Timestamp): Date {\n\t\treturn new Date(\n\t\t\tPbLong.from(message.seconds).toNumber() * 1000 + Math.ceil(message.nanos / 1000000),\n\t\t);\n\t}\n\t/**\n\t * Converts a JavaScript Date to a `Timestamp`.\n\t */\n\tfromDate(date: Date): Timestamp {\n\t\tconst msg = this.create();\n\t\tconst ms = date.getTime();\n\t\tmsg.seconds = PbLong.from(Math.floor(ms / 1000)).toBigInt();\n\t\tmsg.nanos = ((ms % 1000) + (ms < 0 && ms % 1000 !== 0 ? 1000 : 0)) * 1000000;\n\t\treturn msg;\n\t}\n\t/**\n\t * In JSON format, the `Timestamp` type is encoded as a string\n\t * in the RFC 3339 format.\n\t */\n\tinternalJsonWrite(message: Timestamp, options: JsonWriteOptions): JsonValue {\n\t\tlet ms = PbLong.from(message.seconds).toNumber() * 1000;\n\t\tif (ms < Date.parse('0001-01-01T00:00:00Z') || ms > Date.parse('9999-12-31T23:59:59Z'))\n\t\t\tthrow new Error(\n\t\t\t\t'Unable to encode Timestamp to JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.',\n\t\t\t);\n\t\tif (message.nanos < 0)\n\t\t\tthrow new Error('Unable to encode invalid Timestamp to JSON. Nanos must not be negative.');\n\t\tlet z = 'Z';\n\t\tif (message.nanos > 0) {\n\t\t\tlet nanosStr = (message.nanos + 1000000000).toString().substring(1);\n\t\t\tif (nanosStr.substring(3) === '000000') z = '.' + nanosStr.substring(0, 3) + 'Z';\n\t\t\telse if (nanosStr.substring(6) === '000') z = '.' + nanosStr.substring(0, 6) + 'Z';\n\t\t\telse z = '.' + nanosStr + 'Z';\n\t\t}\n\t\treturn new Date(ms).toISOString().replace('.000Z', z);\n\t}\n\t/**\n\t * In JSON format, the `Timestamp` type is encoded as a string\n\t * in the RFC 3339 format.\n\t */\n\tinternalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Timestamp): Timestamp {\n\t\tif (typeof json !== 'string')\n\t\t\tthrow new Error('Unable to parse Timestamp from JSON ' + typeofJsonValue(json) + '.');\n\t\tlet matches = json.match(\n\t\t\t/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/,\n\t\t);\n\t\tif (!matches) throw new Error('Unable to parse Timestamp from JSON. Invalid format.');\n\t\tlet ms = Date.parse(\n\t\t\tmatches[1] +\n\t\t\t\t'-' +\n\t\t\t\tmatches[2] +\n\t\t\t\t'-' +\n\t\t\t\tmatches[3] +\n\t\t\t\t'T' +\n\t\t\t\tmatches[4] +\n\t\t\t\t':' +\n\t\t\t\tmatches[5] +\n\t\t\t\t':' +\n\t\t\t\tmatches[6] +\n\t\t\t\t(matches[8] ? matches[8] : 'Z'),\n\t\t);\n\t\tif (Number.isNaN(ms)) throw new Error('Unable to parse Timestamp from JSON. Invalid value.');\n\t\tif (ms < Date.parse('0001-01-01T00:00:00Z') || ms > Date.parse('9999-12-31T23:59:59Z'))\n\t\t\tthrow new globalThis.Error(\n\t\t\t\t'Unable to parse Timestamp from JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.',\n\t\t\t);\n\t\tif (!target) target = this.create();\n\t\ttarget.seconds = PbLong.from(ms / 1000).toBigInt();\n\t\ttarget.nanos = 0;\n\t\tif (matches[7])\n\t\t\ttarget.nanos = parseInt('1' + matches[7] + '0'.repeat(9 - matches[7].length)) - 1000000000;\n\t\treturn target;\n\t}\n}\n/**\n * @generated MessageType for protobuf message google.protobuf.Timestamp\n */\nexport const Timestamp = new Timestamp$Type();\n"],
5
- "mappings": "AAsCA,SAAS,uBAAuB;AAIhC,SAAS,cAAc;AACvB,SAAS,mBAAmB;AAiH5B,MAAM,uBAAuB,YAAuB;AAAA,EACnD,cAAc;AACb,UAAM,6BAA6B;AAAA,MAClC;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAS,MAAM;AAAA,QAAU,GAAG;AAAA;AAAA,MAAuB;AAAA,IACnE,CAAC;AAAA,EACF;AAAA;AAAA;AAAA;AAAA,EAIA,MAAiB;AAChB,UAAM,MAAM,KAAK,OAAO;AACxB,UAAM,KAAK,KAAK,IAAI;AACpB,QAAI,UAAU,OAAO,KAAK,KAAK,MAAM,KAAK,GAAI,CAAC,EAAE,SAAS;AA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KA,iBAAiB,MAAiB,SAA0B,QAA+B;AAC1F,QAAI,OAAO,SAAS;AACnB,YAAM,IAAI,MAAM,yCAAyC,gBAAgB,IAAI,IAAI,GAAG;AACrF,QAAI,UAAU,KAAK;AAAA,MAClB;AAAA,IACD;AACA,QAAI,CAAC,QAAS,OAAM,IAAI,MAAM,sDAAsD;AACpF,QAAI,KAAK,KAAK;AAAA,MACb,QAAQ,CAAC,IACR,MACA,QAAQ,CAAC,IACT,MACA,QAAQ,CAAC,IACT,MACA,QAAQ,CAAC,IACT,MACA,QAAQ,CAAC,IACT,MACA,QAAQ,CAAC,KACR,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI;AAAA,IAC7B;AACA,QAAI,OAAO,MAAM,EAAE,EAAG,OAAM,IAAI,MAAM,qDAAqD;AAC3F,QAAI,KAAK,KAAK,MAAM,sBAAsB,KAAK,KAAK,KAAK,MAAM,sBAAsB;AACpF,YAAM,IAAI,WAAW;AAAA,QACpB;AAAA,MACD;AACD,QAAI,CAAC,OAAQ,UAAS,KAAK,OAAO;AAClC,WAAO,UAAU,OAAO,KAAK,KAAK,GAAI,EAAE,SAAS;AACjD,WAAO,QAAQ;AACf,QAAI,QAAQ,CAAC;AACZ,aAAO,QAAQ,SAAS,MAAM,QAAQ,CAAC,IAAI,IAAI,OAAO,IAAI,QAAQ,CAAC,EAAE,MAAM,CAAC,IAAI;AACjF,WAAO;AAAA,EACR;AACD;AAIO,MAAM,YAAY,IAAI,eAAe;",
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"google/protobuf/timestamp.proto\" (package \"google.protobuf\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Protocol Buffers - Google's data interchange format\n// Copyright 2008 Google Inc. All rights reserved.\n// https://developers.google.com/protocol-buffers/\n//\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions are\n// met:\n//\n// * Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// * Redistributions in binary form must reproduce the above\n// copyright notice, this list of conditions and the following disclaimer\n// in the documentation and/or other materials provided with the\n// distribution.\n// * Neither the name of Google Inc. nor the names of its\n// contributors may be used to endorse or promote products derived from\n// this software without specific prior written permission.\n//\n// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n// \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n//\nimport { typeofJsonValue } from \"@protobuf-ts/runtime\";\nimport type { JsonValue } from \"@protobuf-ts/runtime\";\nimport type { JsonReadOptions } from \"@protobuf-ts/runtime\";\nimport type { JsonWriteOptions } from \"@protobuf-ts/runtime\";\nimport { PbLong } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\n/**\n * A Timestamp represents a point in time independent of any time zone\n * or calendar, represented as seconds and fractions of seconds at\n * nanosecond resolution in UTC Epoch time. It is encoded using the\n * Proleptic Gregorian Calendar which extends the Gregorian calendar\n * backwards to year one. It is encoded assuming all minutes are 60\n * seconds long, i.e. leap seconds are \"smeared\" so that no leap second\n * table is needed for interpretation. Range is from\n * `0001-01-01T00:00:00Z` to `9999-12-31T23:59:59.999999999Z`.\n * Restricting to that range ensures that conversion to\n * and from RFC 3339 date strings is possible.\n * See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339.txt).\n *\n * # Examples\n *\n * Example 1: Compute Timestamp from POSIX `time()`.\n *\n * ```\n * Timestamp timestamp;\n * timestamp.set_seconds(time(NULL));\n * timestamp.set_nanos(0);\n * ```\n *\n * Example 2: Compute Timestamp from POSIX `gettimeofday()`.\n *\n * ```\n * struct timeval tv;\n * gettimeofday(&tv, NULL);\n *\n * Timestamp timestamp;\n * timestamp.set_seconds(tv.tv_sec);\n * timestamp.set_nanos(tv.tv_usec * 1000);\n * ```\n *\n * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.\n *\n * ```\n * FILETIME ft;\n * GetSystemTimeAsFileTime(&ft);\n * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;\n *\n * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z\n * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.\n * Timestamp timestamp;\n * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));\n * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); //\n * ```\n *\n * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.\n *\n * ```\n * long millis = System.currentTimeMillis();\n *\n * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)\n * .setNanos((int) ((millis % 1000) * 1000000)).build();\n *\n * ```\n *\n * Example 5: Compute Timestamp from current time in Python.\n *\n * ```\n * timestamp = Timestamp()\n * timestamp.GetCurrentTime()\n * ```\n *\n * # JSON Mapping\n *\n * In JSON format, the `Timestamp` type is encoded as a string in the\n * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the\n * format is `{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z`\n * where `{year}` is always expressed using four digits while `{month}`, `{day}`,\n * `{hour}`, `{min}`, and `{sec}` are zero-padded to two digits each. The fractional\n * seconds, which can go up to 9 digits (so up to 1 nanosecond resolution),\n * are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone\n * is required, though only UTC (as indicated by \"Z\") is presently supported.\n *\n * For example, `2017-01-15T01:30:15.01Z` encodes 15.01 seconds past\n * 01:30 UTC on January 15, 2017.\n *\n * In JavaScript, you can convert a `Date` object to this format using the\n * standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)\n * method. In Python, you can convert a standard `datetime.datetime` object\n * to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)\n * with the time format spec `%Y-%m-%dT%H:%M:%S.%fZ`. Likewise, in Java, you\n * can use the Joda Time's [`ISODateTimeFormat.dateTime()`](\n * http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--)\n * to obtain a formatter capable of generating timestamps in this format.\n *\n *\n *\n * @generated from protobuf message google.protobuf.Timestamp\n */\nexport interface Timestamp {\n /**\n * Represents seconds of UTC time since Unix epoch\n * `1970-01-01T00:00:00Z`. Must be from `0001-01-01T00:00:00Z` to\n * `9999-12-31T23:59:59Z` inclusive.\n *\n * @generated from protobuf field: int64 seconds = 1;\n */\n seconds: bigint;\n /**\n * Non-negative fractions of a second at nanosecond resolution. Negative\n * second values with fractions must still have non-negative nano values\n * that count forward in time. Must be from 0 to 999,999,999\n * inclusive.\n *\n * @generated from protobuf field: int32 nanos = 2;\n */\n nanos: number;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Timestamp$Type extends MessageType<Timestamp> {\n constructor() {\n super(\"google.protobuf.Timestamp\", [\n { no: 1, name: \"seconds\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"nanos\", kind: \"scalar\", T: 5 /*ScalarType.INT32*/ }\n ]);\n }\n /**\n * Creates a new `Timestamp` for the current time.\n */\n now(): Timestamp {\n const msg = this.create();\n const ms = Date.now();\n msg.seconds = PbLong.from(Math.floor(ms / 1000)).toBigInt();\n msg.nanos = (ms % 1000) * 1000000;\n return msg;\n }\n /**\n * Converts a `Timestamp` to a JavaScript Date.\n */\n toDate(message: Timestamp): Date {\n return new Date(PbLong.from(message.seconds).toNumber() * 1000 + Math.ceil(message.nanos / 1000000));\n }\n /**\n * Converts a JavaScript Date to a `Timestamp`.\n */\n fromDate(date: Date): Timestamp {\n const msg = this.create();\n const ms = date.getTime();\n msg.seconds = PbLong.from(Math.floor(ms / 1000)).toBigInt();\n msg.nanos = ((ms % 1000) + (ms < 0 && ms % 1000 !== 0 ? 1000 : 0)) * 1000000;\n return msg;\n }\n /**\n * In JSON format, the `Timestamp` type is encoded as a string\n * in the RFC 3339 format.\n */\n internalJsonWrite(message: Timestamp, options: JsonWriteOptions): JsonValue {\n let ms = PbLong.from(message.seconds).toNumber() * 1000;\n if (ms < Date.parse(\"0001-01-01T00:00:00Z\") || ms > Date.parse(\"9999-12-31T23:59:59Z\"))\n throw new Error(\"Unable to encode Timestamp to JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.\");\n if (message.nanos < 0)\n throw new Error(\"Unable to encode invalid Timestamp to JSON. Nanos must not be negative.\");\n let z = \"Z\";\n if (message.nanos > 0) {\n let nanosStr = (message.nanos + 1000000000).toString().substring(1);\n if (nanosStr.substring(3) === \"000000\")\n z = \".\" + nanosStr.substring(0, 3) + \"Z\";\n else if (nanosStr.substring(6) === \"000\")\n z = \".\" + nanosStr.substring(0, 6) + \"Z\";\n else\n z = \".\" + nanosStr + \"Z\";\n }\n return new Date(ms).toISOString().replace(\".000Z\", z);\n }\n /**\n * In JSON format, the `Timestamp` type is encoded as a string\n * in the RFC 3339 format.\n */\n internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Timestamp): Timestamp {\n if (typeof json !== \"string\")\n throw new Error(\"Unable to parse Timestamp from JSON \" + typeofJsonValue(json) + \".\");\n let matches = json.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);\n if (!matches)\n throw new Error(\"Unable to parse Timestamp from JSON. Invalid format.\");\n let ms = Date.parse(matches[1] + \"-\" + matches[2] + \"-\" + matches[3] + \"T\" + matches[4] + \":\" + matches[5] + \":\" + matches[6] + (matches[8] ? matches[8] : \"Z\"));\n if (Number.isNaN(ms))\n throw new Error(\"Unable to parse Timestamp from JSON. Invalid value.\");\n if (ms < Date.parse(\"0001-01-01T00:00:00Z\") || ms > Date.parse(\"9999-12-31T23:59:59Z\"))\n throw new globalThis.Error(\"Unable to parse Timestamp from JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.\");\n if (!target)\n target = this.create();\n target.seconds = PbLong.from(ms / 1000).toBigInt();\n target.nanos = 0;\n if (matches[7])\n target.nanos = (parseInt(\"1\" + matches[7] + \"0\".repeat(9 - matches[7].length)) - 1000000000);\n return target;\n }\n}\n/**\n * @generated MessageType for protobuf message google.protobuf.Timestamp\n */\nexport const Timestamp = new Timestamp$Type();\n"],
5
+ "mappings": "AAsCA,SAAS,uBAAuB;AAIhC,SAAS,cAAc;AACvB,SAAS,mBAAmB;AAiH5B,MAAM,uBAAuB,YAAuB;AAAA,EAChD,cAAc;AACV,UAAM,6BAA6B;AAAA,MAC/B;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAW,MAAM;AAAA,QAAU,GAAG;AAAA,QAAwB,GAAG;AAAA;AAAA,MAAsB;AAAA,MAC9F;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAS,MAAM;AAAA,QA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"@protobuf-ts/runtime";
2
+ import { Duration } from "../protobuf/duration";
3
3
  /**
4
4
  * Describes the cause of the error with structured details.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import { MessageType } from "@protobuf-ts/runtime";
2
- import { Duration } from "../protobuf/duration.js";
2
+ import { Duration } from "../protobuf/duration";
3
3
  class ErrorInfo$Type extends MessageType {
4
4
  constructor() {
5
5
  super("google.rpc.ErrorInfo", [
@@ -17,17 +17,11 @@ class ErrorInfo$Type extends MessageType {
17
17
  T: 9
18
18
  /*ScalarType.STRING*/
19
19
  },
20
- {
21
- no: 3,
22
- name: "metadata",
23
- kind: "map",
24
- K: 9,
25
- V: {
26
- kind: "scalar",
27
- T: 9
28
- /*ScalarType.STRING*/
29
- }
30
- }
20
+ { no: 3, name: "metadata", kind: "map", K: 9, V: {
21
+ kind: "scalar",
22
+ T: 9
23
+ /*ScalarType.STRING*/
24
+ } }
31
25
  ]);
32
26
  }
33
27
  }
@@ -49,6 +43,7 @@ class DebugInfo$Type extends MessageType {
49
43
  kind: "scalar",
50
44
  repeat: 2,
51
45
  T: 9
46
+ /*ScalarType.STRING*/
52
47
  },
53
48
  {
54
49
  no: 2,
@@ -64,13 +59,7 @@ const DebugInfo = new DebugInfo$Type();
64
59
  class QuotaFailure$Type extends MessageType {
65
60
  constructor() {
66
61
  super("google.rpc.QuotaFailure", [
67
- {
68
- no: 1,
69
- name: "violations",
70
- kind: "message",
71
- repeat: 1,
72
- T: () => QuotaFailure_Violation
73
- }
62
+ { no: 1, name: "violations", kind: "message", repeat: 1, T: () => QuotaFailure_Violation }
74
63
  ]);
75
64
  }
76
65
  }
@@ -99,13 +88,7 @@ const QuotaFailure_Violation = new QuotaFailure_Violation$Type();
99
88
  class PreconditionFailure$Type extends MessageType {
100
89
  constructor() {
101
90
  super("google.rpc.PreconditionFailure", [
102
- {
103
- no: 1,
104
- name: "violations",
105
- kind: "message",
106
- repeat: 1,
107
- T: () => PreconditionFailure_Violation
108
- }
91
+ { no: 1, name: "violations", kind: "message", repeat: 1, T: () => PreconditionFailure_Violation }
109
92
  ]);
110
93
  }
111
94
  }
@@ -141,13 +124,7 @@ const PreconditionFailure_Violation = new PreconditionFailure_Violation$Type();
141
124
  class BadRequest$Type extends MessageType {
142
125
  constructor() {
143
126
  super("google.rpc.BadRequest", [
144
- {
145
- no: 1,
146
- name: "field_violations",
147
- kind: "message",
148
- repeat: 1,
149
- T: () => BadRequest_FieldViolation
150
- }
127
+ { no: 1, name: "field_violations", kind: "message", repeat: 1, T: () => BadRequest_FieldViolation }
151
128
  ]);
152
129
  }
153
130
  }
@@ -240,13 +217,7 @@ const ResourceInfo = new ResourceInfo$Type();
240
217
  class Help$Type extends MessageType {
241
218
  constructor() {
242
219
  super("google.rpc.Help", [
243
- {
244
- no: 1,
245
- name: "links",
246
- kind: "message",
247
- repeat: 1,
248
- T: () => Help_Link
249
- }
220
+ { no: 1, name: "links", kind: "message", repeat: 1, T: () => Help_Link }
250
221
  ]);
251
222
  }
252
223
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../src/grpc/proto/google/rpc/error_details.ts"],
4
- "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"google/rpc/error_details.proto\" (package \"google.rpc\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright 2024 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n//\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { Duration } from '../protobuf/duration.js';\n/**\n * Describes the cause of the error with structured details.\n *\n * Example of an error when contacting the \"pubsub.googleapis.com\" API when it\n * is not enabled:\n *\n * ```text,json\n * { \"reason\": \"API_DISABLED\"\n * \"domain\": \"googleapis.com\"\n * \"metadata\": {\n * \"resource\": \"projects/123\",\n * \"service\": \"pubsub.googleapis.com\"\n * }\n * }\n * ```\n *\n * This response indicates that the pubsub.googleapis.com API is not enabled.\n *\n * Example of an error that is returned when attempting to create a Spanner\n * instance in a region that is out of stock:\n *\n * ```text,json\n * { \"reason\": \"STOCKOUT\"\n * \"domain\": \"spanner.googleapis.com\",\n * \"metadata\": {\n * \"availableRegions\": \"us-central1,us-east2\"\n * }\n * }\n * ```\n *\n * @generated from protobuf message google.rpc.ErrorInfo\n */\nexport interface ErrorInfo {\n\t/**\n\t * The reason of the error. This is a constant value that identifies the\n\t * proximate cause of the error. Error reasons are unique within a particular\n\t * domain of errors. This should be at most 63 characters and match a\n\t * regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`, which represents\n\t * UPPER_SNAKE_CASE.\n\t *\n\t * @generated from protobuf field: string reason = 1;\n\t */\n\treason: string;\n\t/**\n\t * The logical grouping to which the \"reason\" belongs. The error domain\n\t * is typically the registered service name of the tool or product that\n\t * generates the error. Example: \"pubsub.googleapis.com\". If the error is\n\t * generated by some common infrastructure, the error domain must be a\n\t * globally unique value that identifies the infrastructure. For Google API\n\t * infrastructure, the error domain is \"googleapis.com\".\n\t *\n\t * @generated from protobuf field: string domain = 2;\n\t */\n\tdomain: string;\n\t/**\n\t * Additional structured details about this error.\n\t *\n\t * Keys must match a regular expression of `[a-z][a-zA-Z0-9-_]+` but should\n\t * ideally be lowerCamelCase. Also, they must be limited to 64 characters in\n\t * length. When identifying the current value of an exceeded limit, the units\n\t * should be contained in the key, not the value. For example, rather than\n\t * `{\"instanceLimit\": \"100/request\"}`, should be returned as,\n\t * `{\"instanceLimitPerRequest\": \"100\"}`, if the client exceeds the number of\n\t * instances that can be created in a single (batch) request.\n\t *\n\t * @generated from protobuf field: map<string, string> metadata = 3;\n\t */\n\tmetadata: {\n\t\t[key: string]: string;\n\t};\n}\n/**\n * Describes when the clients can retry a failed request. Clients could ignore\n * the recommendation here or retry when this information is missing from error\n * responses.\n *\n * It's always recommended that clients should use exponential backoff when\n * retrying.\n *\n * Clients should wait until `retry_delay` amount of time has passed since\n * receiving the error response before retrying. If retrying requests also\n * fail, clients should use an exponential backoff scheme to gradually increase\n * the delay between retries based on `retry_delay`, until either a maximum\n * number of retries have been reached or a maximum retry delay cap has been\n * reached.\n *\n * @generated from protobuf message google.rpc.RetryInfo\n */\nexport interface RetryInfo {\n\t/**\n\t * Clients should wait at least this long between retrying the same request.\n\t *\n\t * @generated from protobuf field: google.protobuf.Duration retry_delay = 1;\n\t */\n\tretryDelay?: Duration;\n}\n/**\n * Describes additional debugging info.\n *\n * @generated from protobuf message google.rpc.DebugInfo\n */\nexport interface DebugInfo {\n\t/**\n\t * The stack trace entries indicating where the error occurred.\n\t *\n\t * @generated from protobuf field: repeated string stack_entries = 1;\n\t */\n\tstackEntries: string[];\n\t/**\n\t * Additional debugging information provided by the server.\n\t *\n\t * @generated from protobuf field: string detail = 2;\n\t */\n\tdetail: string;\n}\n/**\n * Describes how a quota check failed.\n *\n * For example if a daily limit was exceeded for the calling project,\n * a service could respond with a QuotaFailure detail containing the project\n * id and the description of the quota limit that was exceeded. If the\n * calling project hasn't enabled the service in the developer console, then\n * a service could respond with the project id and set `service_disabled`\n * to true.\n *\n * Also see RetryInfo and Help types for other details about handling a\n * quota failure.\n *\n * @generated from protobuf message google.rpc.QuotaFailure\n */\nexport interface QuotaFailure {\n\t/**\n\t * Describes all quota violations.\n\t *\n\t * @generated from protobuf field: repeated google.rpc.QuotaFailure.Violation violations = 1;\n\t */\n\tviolations: QuotaFailure_Violation[];\n}\n/**\n * A message type used to describe a single quota violation. For example, a\n * daily quota or a custom quota that was exceeded.\n *\n * @generated from protobuf message google.rpc.QuotaFailure.Violation\n */\nexport interface QuotaFailure_Violation {\n\t/**\n\t * The subject on which the quota check failed.\n\t * For example, `clientip:<ip address of client>` or `project:<Google\n\t * developer project id>`.\n\t *\n\t * @generated from protobuf field: string subject = 1;\n\t */\n\tsubject: string;\n\t/**\n\t * A description of how the quota check failed. Clients can use this\n\t * description to find more about the quota configuration in the service's\n\t * public documentation, or find the relevant quota limit to adjust through\n\t * developer console.\n\t *\n\t * For example: \"Service disabled\" or \"Daily Limit for read operations\n\t * exceeded\".\n\t *\n\t * @generated from protobuf field: string description = 2;\n\t */\n\tdescription: string;\n}\n/**\n * Describes what preconditions have failed.\n *\n * For example, if an RPC failed because it required the Terms of Service to be\n * acknowledged, it could list the terms of service violation in the\n * PreconditionFailure message.\n *\n * @generated from protobuf message google.rpc.PreconditionFailure\n */\nexport interface PreconditionFailure {\n\t/**\n\t * Describes all precondition violations.\n\t *\n\t * @generated from protobuf field: repeated google.rpc.PreconditionFailure.Violation violations = 1;\n\t */\n\tviolations: PreconditionFailure_Violation[];\n}\n/**\n * A message type used to describe a single precondition failure.\n *\n * @generated from protobuf message google.rpc.PreconditionFailure.Violation\n */\nexport interface PreconditionFailure_Violation {\n\t/**\n\t * The type of PreconditionFailure. We recommend using a service-specific\n\t * enum type to define the supported precondition violation subjects. For\n\t * example, \"TOS\" for \"Terms of Service violation\".\n\t *\n\t * @generated from protobuf field: string type = 1;\n\t */\n\ttype: string;\n\t/**\n\t * The subject, relative to the type, that failed.\n\t * For example, \"google.com/cloud\" relative to the \"TOS\" type would indicate\n\t * which terms of service is being referenced.\n\t *\n\t * @generated from protobuf field: string subject = 2;\n\t */\n\tsubject: string;\n\t/**\n\t * A description of how the precondition failed. Developers can use this\n\t * description to understand how to fix the failure.\n\t *\n\t * For example: \"Terms of service not accepted\".\n\t *\n\t * @generated from protobuf field: string description = 3;\n\t */\n\tdescription: string;\n}\n/**\n * Describes violations in a client request. This error type focuses on the\n * syntactic aspects of the request.\n *\n * @generated from protobuf message google.rpc.BadRequest\n */\nexport interface BadRequest {\n\t/**\n\t * Describes all violations in a client request.\n\t *\n\t * @generated from protobuf field: repeated google.rpc.BadRequest.FieldViolation field_violations = 1;\n\t */\n\tfieldViolations: BadRequest_FieldViolation[];\n}\n/**\n * A message type used to describe a single bad request field.\n *\n * @generated from protobuf message google.rpc.BadRequest.FieldViolation\n */\nexport interface BadRequest_FieldViolation {\n\t/**\n\t * A path that leads to a field in the request body. The value will be a\n\t * sequence of dot-separated identifiers that identify a protocol buffer\n\t * field.\n\t *\n\t * Consider the following:\n\t *\n\t * ```text,json\n\t * message CreateContactRequest {\n\t * message EmailAddress {\n\t * enum Type {\n\t * TYPE_UNSPECIFIED = 0;\n\t * HOME = 1;\n\t * WORK = 2;\n\t * }\n\t *\n\t * optional string email = 1;\n\t * repeated EmailType type = 2;\n\t * }\n\t *\n\t * string full_name = 1;\n\t * repeated EmailAddress email_addresses = 2;\n\t * }\n\t * ```\n\t *\n\t * In this example, in proto `field` could take one of the following values:\n\t *\n\t * * `full_name` for a violation in the `full_name` value\n\t * * `email_addresses[1].email` for a violation in the `email` field of the\n\t * first `email_addresses` message\n\t * * `email_addresses[3].type[2]` for a violation in the second `type`\n\t * value in the third `email_addresses` message.\n\t *\n\t * In JSON, the same values are represented as:\n\t *\n\t * * `fullName` for a violation in the `fullName` value\n\t * * `emailAddresses[1].email` for a violation in the `email` field of the\n\t * first `emailAddresses` message\n\t * * `emailAddresses[3].type[2]` for a violation in the second `type`\n\t * value in the third `emailAddresses` message.\n\t *\n\t * @generated from protobuf field: string field = 1;\n\t */\n\tfield: string;\n\t/**\n\t * A description of why the request element is bad.\n\t *\n\t * @generated from protobuf field: string description = 2;\n\t */\n\tdescription: string;\n\t/**\n\t * The reason of the field-level error. This is a constant value that\n\t * identifies the proximate cause of the field-level error. It should\n\t * uniquely identify the type of the FieldViolation within the scope of the\n\t * google.rpc.ErrorInfo.domain. This should be at most 63\n\t * characters and match a regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`,\n\t * which represents UPPER_SNAKE_CASE.\n\t *\n\t * @generated from protobuf field: string reason = 3;\n\t */\n\treason: string;\n\t/**\n\t * Provides a localized error message for field-level errors that is safe to\n\t * return to the API consumer.\n\t *\n\t * @generated from protobuf field: google.rpc.LocalizedMessage localized_message = 4;\n\t */\n\tlocalizedMessage?: LocalizedMessage;\n}\n/**\n * Contains metadata about the request that clients can attach when filing a bug\n * or providing other forms of feedback.\n *\n * @generated from protobuf message google.rpc.RequestInfo\n */\nexport interface RequestInfo {\n\t/**\n\t * An opaque string that should only be interpreted by the service generating\n\t * it. For example, it can be used to identify requests in the service's logs.\n\t *\n\t * @generated from protobuf field: string request_id = 1;\n\t */\n\trequestId: string;\n\t/**\n\t * Any data that was used to serve this request. For example, an encrypted\n\t * stack trace that can be sent back to the service provider for debugging.\n\t *\n\t * @generated from protobuf field: string serving_data = 2;\n\t */\n\tservingData: string;\n}\n/**\n * Describes the resource that is being accessed.\n *\n * @generated from protobuf message google.rpc.ResourceInfo\n */\nexport interface ResourceInfo {\n\t/**\n\t * A name for the type of resource being accessed, e.g. \"sql table\",\n\t * \"cloud storage bucket\", \"file\", \"Google calendar\"; or the type URL\n\t * of the resource: e.g. \"type.googleapis.com/google.pubsub.v1.Topic\".\n\t *\n\t * @generated from protobuf field: string resource_type = 1;\n\t */\n\tresourceType: string;\n\t/**\n\t * The name of the resource being accessed. For example, a shared calendar\n\t * name: \"example.com_4fghdhgsrgh@group.calendar.google.com\", if the current\n\t * error is\n\t * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].\n\t *\n\t * @generated from protobuf field: string resource_name = 2;\n\t */\n\tresourceName: string;\n\t/**\n\t * The owner of the resource (optional).\n\t * For example, `user:<owner email>` or `project:<Google developer project\n\t * id>`.\n\t *\n\t * @generated from protobuf field: string owner = 3;\n\t */\n\towner: string;\n\t/**\n\t * Describes what error is encountered when accessing this resource.\n\t * For example, updating a cloud project may require the `writer` permission\n\t * on the developer console project.\n\t *\n\t * @generated from protobuf field: string description = 4;\n\t */\n\tdescription: string;\n}\n/**\n * Provides links to documentation or for performing an out of band action.\n *\n * For example, if a quota check failed with an error indicating the calling\n * project hasn't enabled the accessed service, this can contain a URL pointing\n * directly to the right place in the developer console to flip the bit.\n *\n * @generated from protobuf message google.rpc.Help\n */\nexport interface Help {\n\t/**\n\t * URL(s) pointing to additional information on handling the current error.\n\t *\n\t * @generated from protobuf field: repeated google.rpc.Help.Link links = 1;\n\t */\n\tlinks: Help_Link[];\n}\n/**\n * Describes a URL link.\n *\n * @generated from protobuf message google.rpc.Help.Link\n */\nexport interface Help_Link {\n\t/**\n\t * Describes what the link offers.\n\t *\n\t * @generated from protobuf field: string description = 1;\n\t */\n\tdescription: string;\n\t/**\n\t * The URL of the link.\n\t *\n\t * @generated from protobuf field: string url = 2;\n\t */\n\turl: string;\n}\n/**\n * Provides a localized error message that is safe to return to the user\n * which can be attached to an RPC error.\n *\n * @generated from protobuf message google.rpc.LocalizedMessage\n */\nexport interface LocalizedMessage {\n\t/**\n\t * The locale used following the specification defined at\n\t * https://www.rfc-editor.org/rfc/bcp/bcp47.txt.\n\t * Examples are: \"en-US\", \"fr-CH\", \"es-MX\"\n\t *\n\t * @generated from protobuf field: string locale = 1;\n\t */\n\tlocale: string;\n\t/**\n\t * The localized error message in the above locale.\n\t *\n\t * @generated from protobuf field: string message = 2;\n\t */\n\tmessage: string;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass ErrorInfo$Type extends MessageType<ErrorInfo> {\n\tconstructor() {\n\t\tsuper('google.rpc.ErrorInfo', [\n\t\t\t{ no: 1, name: 'reason', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'domain', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'metadata',\n\t\t\t\tkind: 'map',\n\t\t\t\tK: 9 /*ScalarType.STRING*/,\n\t\t\t\tV: { kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message google.rpc.ErrorInfo\n */\nexport const ErrorInfo = new ErrorInfo$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RetryInfo$Type extends MessageType<RetryInfo> {\n\tconstructor() {\n\t\tsuper('google.rpc.RetryInfo', [\n\t\t\t{ no: 1, name: 'retry_delay', kind: 'message', T: () => Duration },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message google.rpc.RetryInfo\n */\nexport const RetryInfo = new RetryInfo$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DebugInfo$Type extends MessageType<DebugInfo> {\n\tconstructor() {\n\t\tsuper('google.rpc.DebugInfo', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'stack_entries',\n\t\t\t\tkind: 'scalar',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{ no: 2, name: 'detail', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message google.rpc.DebugInfo\n */\nexport const DebugInfo = new DebugInfo$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass QuotaFailure$Type extends MessageType<QuotaFailure> {\n\tconstructor() {\n\t\tsuper('google.rpc.QuotaFailure', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'violations',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => QuotaFailure_Violation,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message google.rpc.QuotaFailure\n */\nexport const QuotaFailure = new QuotaFailure$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass QuotaFailure_Violation$Type extends MessageType<QuotaFailure_Violation> {\n\tconstructor() {\n\t\tsuper('google.rpc.QuotaFailure.Violation', [\n\t\t\t{ no: 1, name: 'subject', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'description', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message google.rpc.QuotaFailure.Violation\n */\nexport const QuotaFailure_Violation = new QuotaFailure_Violation$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PreconditionFailure$Type extends MessageType<PreconditionFailure> {\n\tconstructor() {\n\t\tsuper('google.rpc.PreconditionFailure', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'violations',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => PreconditionFailure_Violation,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message google.rpc.PreconditionFailure\n */\nexport const PreconditionFailure = new PreconditionFailure$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PreconditionFailure_Violation$Type extends MessageType<PreconditionFailure_Violation> {\n\tconstructor() {\n\t\tsuper('google.rpc.PreconditionFailure.Violation', [\n\t\t\t{ no: 1, name: 'type', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'subject', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'description', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message google.rpc.PreconditionFailure.Violation\n */\nexport const PreconditionFailure_Violation = new PreconditionFailure_Violation$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BadRequest$Type extends MessageType<BadRequest> {\n\tconstructor() {\n\t\tsuper('google.rpc.BadRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'field_violations',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => BadRequest_FieldViolation,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message google.rpc.BadRequest\n */\nexport const BadRequest = new BadRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BadRequest_FieldViolation$Type extends MessageType<BadRequest_FieldViolation> {\n\tconstructor() {\n\t\tsuper('google.rpc.BadRequest.FieldViolation', [\n\t\t\t{ no: 1, name: 'field', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'description', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'reason', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'localized_message', kind: 'message', T: () => LocalizedMessage },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message google.rpc.BadRequest.FieldViolation\n */\nexport const BadRequest_FieldViolation = new BadRequest_FieldViolation$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RequestInfo$Type extends MessageType<RequestInfo> {\n\tconstructor() {\n\t\tsuper('google.rpc.RequestInfo', [\n\t\t\t{ no: 1, name: 'request_id', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'serving_data', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message google.rpc.RequestInfo\n */\nexport const RequestInfo = new RequestInfo$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ResourceInfo$Type extends MessageType<ResourceInfo> {\n\tconstructor() {\n\t\tsuper('google.rpc.ResourceInfo', [\n\t\t\t{ no: 1, name: 'resource_type', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'resource_name', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'owner', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'description', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message google.rpc.ResourceInfo\n */\nexport const ResourceInfo = new ResourceInfo$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Help$Type extends MessageType<Help> {\n\tconstructor() {\n\t\tsuper('google.rpc.Help', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'links',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => Help_Link,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message google.rpc.Help\n */\nexport const Help = new Help$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Help_Link$Type extends MessageType<Help_Link> {\n\tconstructor() {\n\t\tsuper('google.rpc.Help.Link', [\n\t\t\t{ no: 1, name: 'description', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'url', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message google.rpc.Help.Link\n */\nexport const Help_Link = new Help_Link$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LocalizedMessage$Type extends MessageType<LocalizedMessage> {\n\tconstructor() {\n\t\tsuper('google.rpc.LocalizedMessage', [\n\t\t\t{ no: 1, name: 'locale', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'message', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message google.rpc.LocalizedMessage\n */\nexport const LocalizedMessage = new LocalizedMessage$Type();\n"],
5
- "mappings": "AAsBA,SAAS,mBAAmB;AAC5B,SAAS,gBAAgB;AA0azB,MAAM,uBAAuB,YAAuB;AAAA,EACnD,cAAc;AACb,UAAM,wBAAwB;AAAA,MAC7B;AAAA,Q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 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"google/rpc/error_details.proto\" (package \"google.rpc\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright 2024 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n//\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Duration } from \"../protobuf/duration\";\n/**\n * Describes the cause of the error with structured details.\n *\n * Example of an error when contacting the \"pubsub.googleapis.com\" API when it\n * is not enabled:\n *\n * ```text,json\n * { \"reason\": \"API_DISABLED\"\n * \"domain\": \"googleapis.com\"\n * \"metadata\": {\n * \"resource\": \"projects/123\",\n * \"service\": \"pubsub.googleapis.com\"\n * }\n * }\n * ```\n *\n * This response indicates that the pubsub.googleapis.com API is not enabled.\n *\n * Example of an error that is returned when attempting to create a Spanner\n * instance in a region that is out of stock:\n *\n * ```text,json\n * { \"reason\": \"STOCKOUT\"\n * \"domain\": \"spanner.googleapis.com\",\n * \"metadata\": {\n * \"availableRegions\": \"us-central1,us-east2\"\n * }\n * }\n * ```\n *\n * @generated from protobuf message google.rpc.ErrorInfo\n */\nexport interface ErrorInfo {\n /**\n * The reason of the error. This is a constant value that identifies the\n * proximate cause of the error. Error reasons are unique within a particular\n * domain of errors. This should be at most 63 characters and match a\n * regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`, which represents\n * UPPER_SNAKE_CASE.\n *\n * @generated from protobuf field: string reason = 1;\n */\n reason: string;\n /**\n * The logical grouping to which the \"reason\" belongs. The error domain\n * is typically the registered service name of the tool or product that\n * generates the error. Example: \"pubsub.googleapis.com\". If the error is\n * generated by some common infrastructure, the error domain must be a\n * globally unique value that identifies the infrastructure. For Google API\n * infrastructure, the error domain is \"googleapis.com\".\n *\n * @generated from protobuf field: string domain = 2;\n */\n domain: string;\n /**\n * Additional structured details about this error.\n *\n * Keys must match a regular expression of `[a-z][a-zA-Z0-9-_]+` but should\n * ideally be lowerCamelCase. Also, they must be limited to 64 characters in\n * length. When identifying the current value of an exceeded limit, the units\n * should be contained in the key, not the value. For example, rather than\n * `{\"instanceLimit\": \"100/request\"}`, should be returned as,\n * `{\"instanceLimitPerRequest\": \"100\"}`, if the client exceeds the number of\n * instances that can be created in a single (batch) request.\n *\n * @generated from protobuf field: map<string, string> metadata = 3;\n */\n metadata: {\n [key: string]: string;\n };\n}\n/**\n * Describes when the clients can retry a failed request. Clients could ignore\n * the recommendation here or retry when this information is missing from error\n * responses.\n *\n * It's always recommended that clients should use exponential backoff when\n * retrying.\n *\n * Clients should wait until `retry_delay` amount of time has passed since\n * receiving the error response before retrying. If retrying requests also\n * fail, clients should use an exponential backoff scheme to gradually increase\n * the delay between retries based on `retry_delay`, until either a maximum\n * number of retries have been reached or a maximum retry delay cap has been\n * reached.\n *\n * @generated from protobuf message google.rpc.RetryInfo\n */\nexport interface RetryInfo {\n /**\n * Clients should wait at least this long between retrying the same request.\n *\n * @generated from protobuf field: google.protobuf.Duration retry_delay = 1;\n */\n retryDelay?: Duration;\n}\n/**\n * Describes additional debugging info.\n *\n * @generated from protobuf message google.rpc.DebugInfo\n */\nexport interface DebugInfo {\n /**\n * The stack trace entries indicating where the error occurred.\n *\n * @generated from protobuf field: repeated string stack_entries = 1;\n */\n stackEntries: string[];\n /**\n * Additional debugging information provided by the server.\n *\n * @generated from protobuf field: string detail = 2;\n */\n detail: string;\n}\n/**\n * Describes how a quota check failed.\n *\n * For example if a daily limit was exceeded for the calling project,\n * a service could respond with a QuotaFailure detail containing the project\n * id and the description of the quota limit that was exceeded. If the\n * calling project hasn't enabled the service in the developer console, then\n * a service could respond with the project id and set `service_disabled`\n * to true.\n *\n * Also see RetryInfo and Help types for other details about handling a\n * quota failure.\n *\n * @generated from protobuf message google.rpc.QuotaFailure\n */\nexport interface QuotaFailure {\n /**\n * Describes all quota violations.\n *\n * @generated from protobuf field: repeated google.rpc.QuotaFailure.Violation violations = 1;\n */\n violations: QuotaFailure_Violation[];\n}\n/**\n * A message type used to describe a single quota violation. For example, a\n * daily quota or a custom quota that was exceeded.\n *\n * @generated from protobuf message google.rpc.QuotaFailure.Violation\n */\nexport interface QuotaFailure_Violation {\n /**\n * The subject on which the quota check failed.\n * For example, `clientip:<ip address of client>` or `project:<Google\n * developer project id>`.\n *\n * @generated from protobuf field: string subject = 1;\n */\n subject: string;\n /**\n * A description of how the quota check failed. Clients can use this\n * description to find more about the quota configuration in the service's\n * public documentation, or find the relevant quota limit to adjust through\n * developer console.\n *\n * For example: \"Service disabled\" or \"Daily Limit for read operations\n * exceeded\".\n *\n * @generated from protobuf field: string description = 2;\n */\n description: string;\n}\n/**\n * Describes what preconditions have failed.\n *\n * For example, if an RPC failed because it required the Terms of Service to be\n * acknowledged, it could list the terms of service violation in the\n * PreconditionFailure message.\n *\n * @generated from protobuf message google.rpc.PreconditionFailure\n */\nexport interface PreconditionFailure {\n /**\n * Describes all precondition violations.\n *\n * @generated from protobuf field: repeated google.rpc.PreconditionFailure.Violation violations = 1;\n */\n violations: PreconditionFailure_Violation[];\n}\n/**\n * A message type used to describe a single precondition failure.\n *\n * @generated from protobuf message google.rpc.PreconditionFailure.Violation\n */\nexport interface PreconditionFailure_Violation {\n /**\n * The type of PreconditionFailure. We recommend using a service-specific\n * enum type to define the supported precondition violation subjects. For\n * example, \"TOS\" for \"Terms of Service violation\".\n *\n * @generated from protobuf field: string type = 1;\n */\n type: string;\n /**\n * The subject, relative to the type, that failed.\n * For example, \"google.com/cloud\" relative to the \"TOS\" type would indicate\n * which terms of service is being referenced.\n *\n * @generated from protobuf field: string subject = 2;\n */\n subject: string;\n /**\n * A description of how the precondition failed. Developers can use this\n * description to understand how to fix the failure.\n *\n * For example: \"Terms of service not accepted\".\n *\n * @generated from protobuf field: string description = 3;\n */\n description: string;\n}\n/**\n * Describes violations in a client request. This error type focuses on the\n * syntactic aspects of the request.\n *\n * @generated from protobuf message google.rpc.BadRequest\n */\nexport interface BadRequest {\n /**\n * Describes all violations in a client request.\n *\n * @generated from protobuf field: repeated google.rpc.BadRequest.FieldViolation field_violations = 1;\n */\n fieldViolations: BadRequest_FieldViolation[];\n}\n/**\n * A message type used to describe a single bad request field.\n *\n * @generated from protobuf message google.rpc.BadRequest.FieldViolation\n */\nexport interface BadRequest_FieldViolation {\n /**\n * A path that leads to a field in the request body. The value will be a\n * sequence of dot-separated identifiers that identify a protocol buffer\n * field.\n *\n * Consider the following:\n *\n * ```text,json\n * message CreateContactRequest {\n * message EmailAddress {\n * enum Type {\n * TYPE_UNSPECIFIED = 0;\n * HOME = 1;\n * WORK = 2;\n * }\n *\n * optional string email = 1;\n * repeated EmailType type = 2;\n * }\n *\n * string full_name = 1;\n * repeated EmailAddress email_addresses = 2;\n * }\n * ```\n *\n * In this example, in proto `field` could take one of the following values:\n *\n * * `full_name` for a violation in the `full_name` value\n * * `email_addresses[1].email` for a violation in the `email` field of the\n * first `email_addresses` message\n * * `email_addresses[3].type[2]` for a violation in the second `type`\n * value in the third `email_addresses` message.\n *\n * In JSON, the same values are represented as:\n *\n * * `fullName` for a violation in the `fullName` value\n * * `emailAddresses[1].email` for a violation in the `email` field of the\n * first `emailAddresses` message\n * * `emailAddresses[3].type[2]` for a violation in the second `type`\n * value in the third `emailAddresses` message.\n *\n * @generated from protobuf field: string field = 1;\n */\n field: string;\n /**\n * A description of why the request element is bad.\n *\n * @generated from protobuf field: string description = 2;\n */\n description: string;\n /**\n * The reason of the field-level error. This is a constant value that\n * identifies the proximate cause of the field-level error. It should\n * uniquely identify the type of the FieldViolation within the scope of the\n * google.rpc.ErrorInfo.domain. This should be at most 63\n * characters and match a regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`,\n * which represents UPPER_SNAKE_CASE.\n *\n * @generated from protobuf field: string reason = 3;\n */\n reason: string;\n /**\n * Provides a localized error message for field-level errors that is safe to\n * return to the API consumer.\n *\n * @generated from protobuf field: google.rpc.LocalizedMessage localized_message = 4;\n */\n localizedMessage?: LocalizedMessage;\n}\n/**\n * Contains metadata about the request that clients can attach when filing a bug\n * or providing other forms of feedback.\n *\n * @generated from protobuf message google.rpc.RequestInfo\n */\nexport interface RequestInfo {\n /**\n * An opaque string that should only be interpreted by the service generating\n * it. For example, it can be used to identify requests in the service's logs.\n *\n * @generated from protobuf field: string request_id = 1;\n */\n requestId: string;\n /**\n * Any data that was used to serve this request. For example, an encrypted\n * stack trace that can be sent back to the service provider for debugging.\n *\n * @generated from protobuf field: string serving_data = 2;\n */\n servingData: string;\n}\n/**\n * Describes the resource that is being accessed.\n *\n * @generated from protobuf message google.rpc.ResourceInfo\n */\nexport interface ResourceInfo {\n /**\n * A name for the type of resource being accessed, e.g. \"sql table\",\n * \"cloud storage bucket\", \"file\", \"Google calendar\"; or the type URL\n * of the resource: e.g. \"type.googleapis.com/google.pubsub.v1.Topic\".\n *\n * @generated from protobuf field: string resource_type = 1;\n */\n resourceType: string;\n /**\n * The name of the resource being accessed. For example, a shared calendar\n * name: \"example.com_4fghdhgsrgh@group.calendar.google.com\", if the current\n * error is\n * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].\n *\n * @generated from protobuf field: string resource_name = 2;\n */\n resourceName: string;\n /**\n * The owner of the resource (optional).\n * For example, `user:<owner email>` or `project:<Google developer project\n * id>`.\n *\n * @generated from protobuf field: string owner = 3;\n */\n owner: string;\n /**\n * Describes what error is encountered when accessing this resource.\n * For example, updating a cloud project may require the `writer` permission\n * on the developer console project.\n *\n * @generated from protobuf field: string description = 4;\n */\n description: string;\n}\n/**\n * Provides links to documentation or for performing an out of band action.\n *\n * For example, if a quota check failed with an error indicating the calling\n * project hasn't enabled the accessed service, this can contain a URL pointing\n * directly to the right place in the developer console to flip the bit.\n *\n * @generated from protobuf message google.rpc.Help\n */\nexport interface Help {\n /**\n * URL(s) pointing to additional information on handling the current error.\n *\n * @generated from protobuf field: repeated google.rpc.Help.Link links = 1;\n */\n links: Help_Link[];\n}\n/**\n * Describes a URL link.\n *\n * @generated from protobuf message google.rpc.Help.Link\n */\nexport interface Help_Link {\n /**\n * Describes what the link offers.\n *\n * @generated from protobuf field: string description = 1;\n */\n description: string;\n /**\n * The URL of the link.\n *\n * @generated from protobuf field: string url = 2;\n */\n url: string;\n}\n/**\n * Provides a localized error message that is safe to return to the user\n * which can be attached to an RPC error.\n *\n * @generated from protobuf message google.rpc.LocalizedMessage\n */\nexport interface LocalizedMessage {\n /**\n * The locale used following the specification defined at\n * https://www.rfc-editor.org/rfc/bcp/bcp47.txt.\n * Examples are: \"en-US\", \"fr-CH\", \"es-MX\"\n *\n * @generated from protobuf field: string locale = 1;\n */\n locale: string;\n /**\n * The localized error message in the above locale.\n *\n * @generated from protobuf field: string message = 2;\n */\n message: string;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass ErrorInfo$Type extends MessageType<ErrorInfo> {\n constructor() {\n super(\"google.rpc.ErrorInfo\", [\n { no: 1, name: \"reason\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"domain\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"metadata\", kind: \"map\", K: 9 /*ScalarType.STRING*/, V: { kind: \"scalar\", T: 9 /*ScalarType.STRING*/ } }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message google.rpc.ErrorInfo\n */\nexport const ErrorInfo = new ErrorInfo$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RetryInfo$Type extends MessageType<RetryInfo> {\n constructor() {\n super(\"google.rpc.RetryInfo\", [\n { no: 1, name: \"retry_delay\", kind: \"message\", T: () => Duration }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message google.rpc.RetryInfo\n */\nexport const RetryInfo = new RetryInfo$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DebugInfo$Type extends MessageType<DebugInfo> {\n constructor() {\n super(\"google.rpc.DebugInfo\", [\n { no: 1, name: \"stack_entries\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"detail\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message google.rpc.DebugInfo\n */\nexport const DebugInfo = new DebugInfo$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass QuotaFailure$Type extends MessageType<QuotaFailure> {\n constructor() {\n super(\"google.rpc.QuotaFailure\", [\n { no: 1, name: \"violations\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => QuotaFailure_Violation }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message google.rpc.QuotaFailure\n */\nexport const QuotaFailure = new QuotaFailure$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass QuotaFailure_Violation$Type extends MessageType<QuotaFailure_Violation> {\n constructor() {\n super(\"google.rpc.QuotaFailure.Violation\", [\n { no: 1, name: \"subject\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"description\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message google.rpc.QuotaFailure.Violation\n */\nexport const QuotaFailure_Violation = new QuotaFailure_Violation$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PreconditionFailure$Type extends MessageType<PreconditionFailure> {\n constructor() {\n super(\"google.rpc.PreconditionFailure\", [\n { no: 1, name: \"violations\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => PreconditionFailure_Violation }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message google.rpc.PreconditionFailure\n */\nexport const PreconditionFailure = new PreconditionFailure$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PreconditionFailure_Violation$Type extends MessageType<PreconditionFailure_Violation> {\n constructor() {\n super(\"google.rpc.PreconditionFailure.Violation\", [\n { no: 1, name: \"type\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"subject\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"description\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message google.rpc.PreconditionFailure.Violation\n */\nexport const PreconditionFailure_Violation = new PreconditionFailure_Violation$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BadRequest$Type extends MessageType<BadRequest> {\n constructor() {\n super(\"google.rpc.BadRequest\", [\n { no: 1, name: \"field_violations\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => BadRequest_FieldViolation }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message google.rpc.BadRequest\n */\nexport const BadRequest = new BadRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BadRequest_FieldViolation$Type extends MessageType<BadRequest_FieldViolation> {\n constructor() {\n super(\"google.rpc.BadRequest.FieldViolation\", [\n { no: 1, name: \"field\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"description\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"reason\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"localized_message\", kind: \"message\", T: () => LocalizedMessage }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message google.rpc.BadRequest.FieldViolation\n */\nexport const BadRequest_FieldViolation = new BadRequest_FieldViolation$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RequestInfo$Type extends MessageType<RequestInfo> {\n constructor() {\n super(\"google.rpc.RequestInfo\", [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"serving_data\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message google.rpc.RequestInfo\n */\nexport const RequestInfo = new RequestInfo$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ResourceInfo$Type extends MessageType<ResourceInfo> {\n constructor() {\n super(\"google.rpc.ResourceInfo\", [\n { no: 1, name: \"resource_type\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"resource_name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"owner\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"description\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message google.rpc.ResourceInfo\n */\nexport const ResourceInfo = new ResourceInfo$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Help$Type extends MessageType<Help> {\n constructor() {\n super(\"google.rpc.Help\", [\n { no: 1, name: \"links\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => Help_Link }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message google.rpc.Help\n */\nexport const Help = new Help$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Help_Link$Type extends MessageType<Help_Link> {\n constructor() {\n super(\"google.rpc.Help.Link\", [\n { no: 1, name: \"description\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"url\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message google.rpc.Help.Link\n */\nexport const Help_Link = new Help_Link$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LocalizedMessage$Type extends MessageType<LocalizedMessage> {\n constructor() {\n super(\"google.rpc.LocalizedMessage\", [\n { no: 1, name: \"locale\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"message\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message google.rpc.LocalizedMessage\n */\nexport const LocalizedMessage = new LocalizedMessage$Type();\n"],
5
+ "mappings": "AAsBA,SAAS,mBAAmB;AAC5B,SAAS,gBAAgB;AA0azB,MAAM,uBAAuB,YAAuB;AAAA,EAChD,cAAc;AACV,UAAM,wBAAwB;AAAA,MAC1B;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAU,MAAM;AAAA,QAAU,GAAG;AAAA;AAAA,MAAwB;AAAA,MACpE;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAU,MAAM;AAAA,QAAU,GAAG;AAAA;AAAA,MAAwB;AAAA,MACpE,EAAE,IAAI,GAAG,MAAM,YAAY,MAAM,OAAO,GAAG,GAAyB,GAAG;AAAA,QAAE,MAAM;AAAA,QAAU,GAAG;AAAA;AAAA,MAAwB,EAAE;AAAA,IAC1H,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,YAAY,IAAI,eAAe;AAE5C,MAAM,uBAAuB,YAAuB;AAAA,EAChD,cAAc;AACV,UAAM,wBAAwB;AAAA,MAC1B,EAAE,IAAI,GAAG,MAAM,eAAe,MAAM,WAAW,GAAG,MAAM,SAAS;AAAA,IACrE,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,YAAY,IAAI,eAAe;AAE5C,MAAM,uBAAuB,YAAuB;AAAA,EAChD,cAAc;AACV,UAAM,wBAAwB;AAAA,MAC1B;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAiB,MAAM;AAAA,QAAU,QAAQ;AAAA,QAA2B,GAAG;AAAA;AAAA,MAAwB;AAAA,MAC9G;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAU,MAAM;AAAA,QAAU,GAAG;AAAA;AAAA,MAAwB;AAAA,IACxE,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,YAAY,IAAI,eAAe;AAE5C,MAAM,0BAA0B,YAA0B;AAAA,EACtD,cAAc;A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AA,EACL;AACJ;AAIO,MAAM,mBAAmB,IAAI,sBAAsB;",
6
6
  "names": []
7
7
  }
@@ -1,5 +1,5 @@
1
- import { MessageType } from '@protobuf-ts/runtime';
2
- import { Any } from '../protobuf/any.js';
1
+ import { MessageType } from "@protobuf-ts/runtime";
2
+ import { Any } from "../protobuf/any";
3
3
  /**
4
4
  * The `Status` type defines a logical error model that is suitable for
5
5
  * different programming environments, including REST APIs and RPC APIs. It is
@@ -1,5 +1,5 @@
1
1
  import { MessageType } from "@protobuf-ts/runtime";
2
- import { Any } from "../protobuf/any.js";
2
+ import { Any } from "../protobuf/any";
3
3
  class Status$Type extends MessageType {
4
4
  constructor() {
5
5
  super("google.rpc.Status", [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../src/grpc/proto/google/rpc/status.ts"],
4
- "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"google/rpc/status.proto\" (package \"google.rpc\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright 2024 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n//\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { Any } from '../protobuf/any.js';\n/**\n * The `Status` type defines a logical error model that is suitable for\n * different programming environments, including REST APIs and RPC APIs. It is\n * used by [gRPC](https://github.com/grpc). Each `Status` message contains\n * three pieces of data: error code, error message, and error details.\n *\n * You can find out more about this error model and how to work with it in the\n * [API Design Guide](https://cloud.google.com/apis/design/errors).\n *\n * @generated from protobuf message google.rpc.Status\n */\nexport interface Status {\n\t/**\n\t * The status code, which should be an enum value of\n\t * [google.rpc.Code][google.rpc.Code].\n\t *\n\t * @generated from protobuf field: int32 code = 1;\n\t */\n\tcode: number;\n\t/**\n\t * A developer-facing error message, which should be in English. Any\n\t * user-facing error message should be localized and sent in the\n\t * [google.rpc.Status.details][google.rpc.Status.details] field, or localized\n\t * by the client.\n\t *\n\t * @generated from protobuf field: string message = 2;\n\t */\n\tmessage: string;\n\t/**\n\t * A list of messages that carry the error details. There is a common set of\n\t * message types for APIs to use.\n\t *\n\t * @generated from protobuf field: repeated google.protobuf.Any details = 3;\n\t */\n\tdetails: Any[];\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Status$Type extends MessageType<Status> {\n\tconstructor() {\n\t\tsuper('google.rpc.Status', [\n\t\t\t{ no: 1, name: 'code', kind: 'scalar', T: 5 /*ScalarType.INT32*/ },\n\t\t\t{ no: 2, name: 'message', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'details', kind: 'message', repeat: 1 /*RepeatType.PACKED*/, T: () => Any },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message google.rpc.Status\n */\nexport const Status = new Status$Type();\n"],
5
- "mappings": "AAsBA,SAAS,mBAAmB;AAC5B,SAAS,WAAW;AAsCpB,MAAM,oBAAoB,YAAoB;AAAA,EAC7C,cAAc;AACb,UAAM,qBAAqB;AAAA,MAC1B;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAQ,MAAM;AAAA,QAAU,GAAG;AAAA;AAAA,MAAuB;AAAA,MACjE;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAW,MAAM;AAAA,QAAU,GAAG;AAAA;AAAA,MAAwB;AAAA,MACrE,EAAE,IAAI,GAAG,MAAM,WAAW,MAAM,WAAW,QAAQ,GAAyB,GAAG,MAAM,IAAI;AAAA,IAC1F,CAAC;AAAA,EACF;AACD;AAIO,MAAM,SAAS,IAAI,YAAY;",
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"google/rpc/status.proto\" (package \"google.rpc\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright 2024 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n//\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Any } from \"../protobuf/any\";\n/**\n * The `Status` type defines a logical error model that is suitable for\n * different programming environments, including REST APIs and RPC APIs. It is\n * used by [gRPC](https://github.com/grpc). Each `Status` message contains\n * three pieces of data: error code, error message, and error details.\n *\n * You can find out more about this error model and how to work with it in the\n * [API Design Guide](https://cloud.google.com/apis/design/errors).\n *\n * @generated from protobuf message google.rpc.Status\n */\nexport interface Status {\n /**\n * The status code, which should be an enum value of\n * [google.rpc.Code][google.rpc.Code].\n *\n * @generated from protobuf field: int32 code = 1;\n */\n code: number;\n /**\n * A developer-facing error message, which should be in English. Any\n * user-facing error message should be localized and sent in the\n * [google.rpc.Status.details][google.rpc.Status.details] field, or localized\n * by the client.\n *\n * @generated from protobuf field: string message = 2;\n */\n message: string;\n /**\n * A list of messages that carry the error details. There is a common set of\n * message types for APIs to use.\n *\n * @generated from protobuf field: repeated google.protobuf.Any details = 3;\n */\n details: Any[];\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Status$Type extends MessageType<Status> {\n constructor() {\n super(\"google.rpc.Status\", [\n { no: 1, name: \"code\", kind: \"scalar\", T: 5 /*ScalarType.INT32*/ },\n { no: 2, name: \"message\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"details\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => Any }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message google.rpc.Status\n */\nexport const Status = new Status$Type();\n"],
5
+ "mappings": "AAsBA,SAAS,mBAAmB;AAC5B,SAAS,WAAW;AAsCpB,MAAM,oBAAoB,YAAoB;AAAA,EAC1C,cAAc;AACV,UAAM,qBAAqB;AAAA,MACvB;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAQ,MAAM;AAAA,QAAU,GAAG;AAAA;AAAA,MAAuB;AAAA,MACjE;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAW,MAAM;AAAA,QAAU,GAAG;AAAA;AAAA,MAAwB;AAAA,MACrE,EAAE,IAAI,GAAG,MAAM,WAAW,MAAM,WAAW,QAAQ,GAAyB,GAAG,MAAM,IAAI;AAAA,IAC7F,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,SAAS,IAAI,YAAY;",
6
6
  "names": []
7
7
  }
@@ -1,12 +1,12 @@
1
- import { MessageType } from '@protobuf-ts/runtime';
1
+ import { MessageType } from "@protobuf-ts/runtime";
2
2
  /**
3
3
  * An argument to a programmable transaction command.
4
4
  *
5
- * @generated from protobuf message sui.rpc.v2beta2.Argument
5
+ * @generated from protobuf message sui.rpc.v2.Argument
6
6
  */
7
7
  export interface Argument {
8
8
  /**
9
- * @generated from protobuf field: optional sui.rpc.v2beta2.Argument.ArgumentKind kind = 1;
9
+ * @generated from protobuf field: optional sui.rpc.v2.Argument.ArgumentKind kind = 1;
10
10
  */
11
11
  kind?: Argument_ArgumentKind;
12
12
  /**
@@ -29,7 +29,7 @@ export interface Argument {
29
29
  subresult?: number;
30
30
  }
31
31
  /**
32
- * @generated from protobuf enum sui.rpc.v2beta2.Argument.ArgumentKind
32
+ * @generated from protobuf enum sui.rpc.v2.Argument.ArgumentKind
33
33
  */
34
34
  export declare enum Argument_ArgumentKind {
35
35
  /**
@@ -60,7 +60,7 @@ declare class Argument$Type extends MessageType<Argument> {
60
60
  constructor();
61
61
  }
62
62
  /**
63
- * @generated MessageType for protobuf message sui.rpc.v2beta2.Argument
63
+ * @generated MessageType for protobuf message sui.rpc.v2.Argument
64
64
  */
65
65
  export declare const Argument: Argument$Type;
66
66
  export {};
@@ -8,14 +8,8 @@ var Argument_ArgumentKind = /* @__PURE__ */ ((Argument_ArgumentKind2) => {
8
8
  })(Argument_ArgumentKind || {});
9
9
  class Argument$Type extends MessageType {
10
10
  constructor() {
11
- super("sui.rpc.v2beta2.Argument", [
12
- {
13
- no: 1,
14
- name: "kind",
15
- kind: "enum",
16
- opt: true,
17
- T: () => ["sui.rpc.v2beta2.Argument.ArgumentKind", Argument_ArgumentKind]
18
- },
11
+ super("sui.rpc.v2.Argument", [
12
+ { no: 1, name: "kind", kind: "enum", opt: true, T: () => ["sui.rpc.v2.Argument.ArgumentKind", Argument_ArgumentKind] },
19
13
  {
20
14
  no: 2,
21
15
  name: "input",
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/argument.ts"],
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/argument.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from \"@protobuf-ts/runtime\";\n/**\n * An argument to a programmable transaction command.\n *\n * @generated from protobuf message sui.rpc.v2.Argument\n */\nexport interface Argument {\n /**\n * @generated from protobuf field: optional sui.rpc.v2.Argument.ArgumentKind kind = 1;\n */\n kind?: Argument_ArgumentKind;\n /**\n * Index of an input when `kind` is `INPUT`.\n *\n * @generated from protobuf field: optional uint32 input = 2;\n */\n input?: number;\n /**\n * Index of a result when `kind` is `RESULT`.\n *\n * @generated from protobuf field: optional uint32 result = 3;\n */\n result?: number;\n /**\n * Used to access a nested result when `kind` is `RESULT`.\n *\n * @generated from protobuf field: optional uint32 subresult = 4;\n */\n subresult?: number;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.Argument.ArgumentKind\n */\nexport enum Argument_ArgumentKind {\n /**\n * @generated from protobuf enum value: ARGUMENT_KIND_UNKNOWN = 0;\n */\n ARGUMENT_KIND_UNKNOWN = 0,\n /**\n * The gas coin.\n *\n * @generated from protobuf enum value: GAS = 1;\n */\n GAS = 1,\n /**\n * One of the input objects or primitive values (from\n * `ProgrammableTransaction` inputs).\n *\n * @generated from protobuf enum value: INPUT = 2;\n */\n INPUT = 2,\n /**\n * The result of another command (from `ProgrammableTransaction` commands).\n *\n * @generated from protobuf enum value: RESULT = 3;\n */\n RESULT = 3\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Argument$Type extends MessageType<Argument> {\n constructor() {\n super(\"sui.rpc.v2.Argument\", [\n { no: 1, name: \"kind\", kind: \"enum\", opt: true, T: () => [\"sui.rpc.v2.Argument.ArgumentKind\", Argument_ArgumentKind] },\n { no: 2, name: \"input\", kind: \"scalar\", opt: true, T: 13 /*ScalarType.UINT32*/ },\n { no: 3, name: \"result\", kind: \"scalar\", opt: true, T: 13 /*ScalarType.UINT32*/ },\n { no: 4, name: \"subresult\", kind: \"scalar\", opt: true, T: 13 /*ScalarType.UINT32*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.Argument\n */\nexport const Argument = new Argument$Type();\n"],
5
+ "mappings": "AAWA,SAAS,mBAAmB;AAiCrB,IAAK,wBAAL,kBAAKA,2BAAL;AAIH,EAAAA,8CAAA,2BAAwB,KAAxB;AAMA,EAAAA,8CAAA,SAAM,KAAN;AAOA,EAAAA,8CAAA,WAAQ,KAAR;AAMA,EAAAA,8CAAA,YAAS,KAAT;AAvBQ,SAAAA;AAAA,GAAA;AA0BZ,MAAM,sBAAsB,YAAsB;AAAA,EAC9C,cAAc;AACV,UAAM,uBAAuB;AAAA,MACzB,EAAE,IAAI,GAAG,MAAM,QAAQ,MAAM,QAAQ,KAAK,MAAM,GAAG,MAAM,CAAC,oCAAoC,qBAAqB,EAAE;AAAA,MACrH;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAS,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAyB;AAAA,MAC/E;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAU,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAyB;AAAA,MAChF;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAa,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAyB;AAAA,IACvF,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,WAAW,IAAI,cAAc;",
6
+ "names": ["Argument_ArgumentKind"]
7
+ }
@@ -1,8 +1,8 @@
1
- import { MessageType } from '@protobuf-ts/runtime';
1
+ import { MessageType } from "@protobuf-ts/runtime";
2
2
  /**
3
3
  * The delta, or change, in balance for an address for a particular `Coin` type.
4
4
  *
5
- * @generated from protobuf message sui.rpc.v2beta2.BalanceChange
5
+ * @generated from protobuf message sui.rpc.v2.BalanceChange
6
6
  */
7
7
  export interface BalanceChange {
8
8
  /**
@@ -28,7 +28,7 @@ declare class BalanceChange$Type extends MessageType<BalanceChange> {
28
28
  constructor();
29
29
  }
30
30
  /**
31
- * @generated MessageType for protobuf message sui.rpc.v2beta2.BalanceChange
31
+ * @generated MessageType for protobuf message sui.rpc.v2.BalanceChange
32
32
  */
33
33
  export declare const BalanceChange: BalanceChange$Type;
34
34
  export {};
@@ -1,7 +1,7 @@
1
1
  import { MessageType } from "@protobuf-ts/runtime";
2
2
  class BalanceChange$Type extends MessageType {
3
3
  constructor() {
4
- super("sui.rpc.v2beta2.BalanceChange", [
4
+ super("sui.rpc.v2.BalanceChange", [
5
5
  {
6
6
  no: 1,
7
7
  name: "address",
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/balance_change.ts"],
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/balance_change.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from \"@protobuf-ts/runtime\";\n/**\n * The delta, or change, in balance for an address for a particular `Coin` type.\n *\n * @generated from protobuf message sui.rpc.v2.BalanceChange\n */\nexport interface BalanceChange {\n /**\n * The account address that is affected by this balance change event.\n *\n * @generated from protobuf field: optional string address = 1;\n */\n address?: string;\n /**\n * The `Coin` type of this balance change event.\n *\n * @generated from protobuf field: optional string coin_type = 2;\n */\n coinType?: string;\n /**\n * The amount or change in balance.\n *\n * @generated from protobuf field: optional string amount = 3;\n */\n amount?: string;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass BalanceChange$Type extends MessageType<BalanceChange> {\n constructor() {\n super(\"sui.rpc.v2.BalanceChange\", [\n { no: 1, name: \"address\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"coin_type\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"amount\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BalanceChange\n */\nexport const BalanceChange = new BalanceChange$Type();\n"],
5
+ "mappings": "AAWA,SAAS,mBAAmB;AA2B5B,MAAM,2BAA2B,YAA2B;AAAA,EACxD,cAAc;AACV,UAAM,4BAA4B;AAAA,MAC9B;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAW,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAChF;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAa,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAClF;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAU,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,IACnF,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,gBAAgB,IAAI,mBAAmB;",
6
+ "names": []
7
+ }
@@ -1,10 +1,10 @@
1
- import { MessageType } from '@protobuf-ts/runtime';
1
+ import { MessageType } from "@protobuf-ts/runtime";
2
2
  /**
3
3
  * `Bcs` contains an arbitrary type that is serialized using the
4
4
  * [BCS](https://mystenlabs.github.io/sui-rust-sdk/sui_sdk_types/index.html#bcs)
5
5
  * format as well as a name that identifies the type of the serialized value.
6
6
  *
7
- * @generated from protobuf message sui.rpc.v2beta2.Bcs
7
+ * @generated from protobuf message sui.rpc.v2.Bcs
8
8
  */
9
9
  export interface Bcs {
10
10
  /**
@@ -24,7 +24,7 @@ declare class Bcs$Type extends MessageType<Bcs> {
24
24
  constructor();
25
25
  }
26
26
  /**
27
- * @generated MessageType for protobuf message sui.rpc.v2beta2.Bcs
27
+ * @generated MessageType for protobuf message sui.rpc.v2.Bcs
28
28
  */
29
29
  export declare const Bcs: Bcs$Type;
30
30
  export {};
@@ -1,7 +1,7 @@
1
1
  import { MessageType } from "@protobuf-ts/runtime";
2
2
  class Bcs$Type extends MessageType {
3
3
  constructor() {
4
- super("sui.rpc.v2beta2.Bcs", [
4
+ super("sui.rpc.v2.Bcs", [
5
5
  {
6
6
  no: 1,
7
7
  name: "name",
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/bcs.ts"],
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/bcs.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from \"@protobuf-ts/runtime\";\n/**\n * `Bcs` contains an arbitrary type that is serialized using the\n * [BCS](https://mystenlabs.github.io/sui-rust-sdk/sui_sdk_types/index.html#bcs)\n * format as well as a name that identifies the type of the serialized value.\n *\n * @generated from protobuf message sui.rpc.v2.Bcs\n */\nexport interface Bcs {\n /**\n * Name that identifies the type of the serialized value.\n *\n * @generated from protobuf field: optional string name = 1;\n */\n name?: string;\n /**\n * Bytes of a BCS serialized value.\n *\n * @generated from protobuf field: optional bytes value = 2;\n */\n value?: Uint8Array;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Bcs$Type extends MessageType<Bcs> {\n constructor() {\n super(\"sui.rpc.v2.Bcs\", [\n { no: 1, name: \"name\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"value\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.Bcs\n */\nexport const Bcs = new Bcs$Type();\n"],
5
+ "mappings": "AAWA,SAAS,mBAAmB;AAuB5B,MAAM,iBAAiB,YAAiB;AAAA,EACpC,cAAc;AACV,UAAM,kBAAkB;AAAA,MACpB;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAQ,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAC7E;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAS,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,IAClF,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,MAAM,IAAI,SAAS;",
6
+ "names": []
7
+ }
@@ -0,0 +1,68 @@
1
+ import { MessageType } from "@protobuf-ts/runtime";
2
+ import { ObjectSet } from "./object";
3
+ import { ExecutedTransaction } from "./executed_transaction";
4
+ import { CheckpointContents } from "./checkpoint_contents";
5
+ import { ValidatorAggregatedSignature } from "./signature";
6
+ import { CheckpointSummary } from "./checkpoint_summary";
7
+ /**
8
+ * @generated from protobuf message sui.rpc.v2.Checkpoint
9
+ */
10
+ export interface Checkpoint {
11
+ /**
12
+ * The height of this checkpoint.
13
+ *
14
+ * @generated from protobuf field: optional uint64 sequence_number = 1;
15
+ */
16
+ sequenceNumber?: bigint;
17
+ /**
18
+ * The digest of this Checkpoint's CheckpointSummary.
19
+ *
20
+ * @generated from protobuf field: optional string digest = 2;
21
+ */
22
+ digest?: string;
23
+ /**
24
+ * The `CheckpointSummary` for this checkpoint.
25
+ *
26
+ * @generated from protobuf field: optional sui.rpc.v2.CheckpointSummary summary = 3;
27
+ */
28
+ summary?: CheckpointSummary;
29
+ /**
30
+ * An aggregated quorum signature from the validator committee that
31
+ * certified this checkpoint.
32
+ *
33
+ * @generated from protobuf field: optional sui.rpc.v2.ValidatorAggregatedSignature signature = 4;
34
+ */
35
+ signature?: ValidatorAggregatedSignature;
36
+ /**
37
+ * The `CheckpointContents` for this checkpoint.
38
+ *
39
+ * @generated from protobuf field: optional sui.rpc.v2.CheckpointContents contents = 5;
40
+ */
41
+ contents?: CheckpointContents;
42
+ /**
43
+ * List of transactions included in this checkpoint.
44
+ *
45
+ * @generated from protobuf field: repeated sui.rpc.v2.ExecutedTransaction transactions = 6;
46
+ */
47
+ transactions: ExecutedTransaction[];
48
+ /**
49
+ * Set of objects either referenced as inputs or produced as
50
+ * outputs by transactions included in this checkpoint.
51
+ *
52
+ * In order to benefit from deduplication of objects that
53
+ * appear in multiple transactions in this checkpoint, objects
54
+ * will only be present here and the `transactions.objects`
55
+ * field will not be populated.
56
+ *
57
+ * @generated from protobuf field: optional sui.rpc.v2.ObjectSet objects = 7;
58
+ */
59
+ objects?: ObjectSet;
60
+ }
61
+ declare class Checkpoint$Type extends MessageType<Checkpoint> {
62
+ constructor();
63
+ }
64
+ /**
65
+ * @generated MessageType for protobuf message sui.rpc.v2.Checkpoint
66
+ */
67
+ export declare const Checkpoint: Checkpoint$Type;
68
+ export {};