@mysten/sui 1.42.0 → 1.43.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 (424) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/bcs/bcs.d.ts +47 -111
  3. package/dist/cjs/bcs/bcs.js +17 -17
  4. package/dist/cjs/bcs/bcs.js.map +2 -2
  5. package/dist/cjs/bcs/effects.d.ts +2 -6
  6. package/dist/cjs/bcs/effects.js +1 -1
  7. package/dist/cjs/bcs/effects.js.map +2 -2
  8. package/dist/cjs/bcs/index.d.ts +49 -117
  9. package/dist/cjs/bcs/type-tag-serializer.d.ts +1 -0
  10. package/dist/cjs/bcs/type-tag-serializer.js +5 -1
  11. package/dist/cjs/bcs/type-tag-serializer.js.map +2 -2
  12. package/dist/cjs/cryptography/intent.js +1 -1
  13. package/dist/cjs/cryptography/intent.js.map +2 -2
  14. package/dist/cjs/cryptography/keypair.js +1 -1
  15. package/dist/cjs/cryptography/keypair.js.map +2 -2
  16. package/dist/cjs/cryptography/publickey.js +1 -1
  17. package/dist/cjs/cryptography/publickey.js.map +2 -2
  18. package/dist/cjs/cryptography/signature.d.ts +2 -2
  19. package/dist/cjs/experimental/client.js +0 -4
  20. package/dist/cjs/experimental/client.js.map +2 -2
  21. package/dist/cjs/experimental/types.d.ts +1 -7
  22. package/dist/cjs/experimental/types.js.map +1 -1
  23. package/dist/cjs/graphql/generated/queries.d.ts +1 -1
  24. package/dist/cjs/graphql/generated/queries.js.map +1 -1
  25. package/dist/cjs/grpc/core.d.ts +3 -1
  26. package/dist/cjs/grpc/core.js +5 -3
  27. package/dist/cjs/grpc/core.js.map +2 -2
  28. package/dist/cjs/grpc/proto/google/protobuf/any.d.ts +6 -6
  29. package/dist/cjs/grpc/proto/google/protobuf/any.js +20 -20
  30. package/dist/cjs/grpc/proto/google/protobuf/any.js.map +2 -2
  31. package/dist/cjs/grpc/proto/google/protobuf/duration.d.ts +4 -4
  32. package/dist/cjs/grpc/proto/google/protobuf/duration.js +8 -12
  33. package/dist/cjs/grpc/proto/google/protobuf/duration.js.map +2 -2
  34. package/dist/cjs/grpc/proto/google/protobuf/empty.d.ts +1 -1
  35. package/dist/cjs/grpc/proto/google/protobuf/empty.js.map +2 -2
  36. package/dist/cjs/grpc/proto/google/protobuf/field_mask.d.ts +4 -4
  37. package/dist/cjs/grpc/proto/google/protobuf/field_mask.js +8 -7
  38. package/dist/cjs/grpc/proto/google/protobuf/field_mask.js.map +2 -2
  39. package/dist/cjs/grpc/proto/google/protobuf/struct.d.ts +10 -10
  40. package/dist/cjs/grpc/proto/google/protobuf/struct.js +29 -17
  41. package/dist/cjs/grpc/proto/google/protobuf/struct.js.map +2 -2
  42. package/dist/cjs/grpc/proto/google/protobuf/timestamp.d.ts +4 -4
  43. package/dist/cjs/grpc/proto/google/protobuf/timestamp.js +21 -18
  44. package/dist/cjs/grpc/proto/google/protobuf/timestamp.js.map +2 -2
  45. package/dist/cjs/grpc/proto/google/rpc/error_details.d.ts +2 -2
  46. package/dist/cjs/grpc/proto/google/rpc/error_details.js +40 -11
  47. package/dist/cjs/grpc/proto/google/rpc/error_details.js.map +2 -2
  48. package/dist/cjs/grpc/proto/google/rpc/status.d.ts +2 -2
  49. package/dist/cjs/grpc/proto/google/rpc/status.js +1 -1
  50. package/dist/cjs/grpc/proto/google/rpc/status.js.map +2 -2
  51. package/dist/cjs/grpc/proto/sui/rpc/v2/argument.d.ts +1 -1
  52. package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js +7 -1
  53. package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js.map +2 -2
  54. package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.d.ts +1 -1
  55. package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.js.map +2 -2
  56. package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.d.ts +1 -1
  57. package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.js.map +2 -2
  58. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.d.ts +6 -6
  59. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js +12 -7
  60. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js.map +2 -2
  61. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.d.ts +3 -3
  62. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js +16 -4
  63. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +2 -2
  64. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.d.ts +5 -5
  65. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js +35 -13
  66. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +2 -2
  67. package/dist/cjs/grpc/proto/sui/rpc/v2/effects.d.ts +6 -6
  68. package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js +65 -19
  69. package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js.map +2 -2
  70. package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.d.ts +5 -5
  71. package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js +4 -8
  72. package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js.map +2 -2
  73. package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.js.map +2 -2
  74. package/dist/cjs/grpc/proto/sui/rpc/v2/event.d.ts +3 -3
  75. package/dist/cjs/grpc/proto/sui/rpc/v2/event.js +2 -2
  76. package/dist/cjs/grpc/proto/sui/rpc/v2/event.js.map +2 -2
  77. package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.d.ts +8 -8
  78. package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js +21 -10
  79. package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js.map +2 -2
  80. package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.d.ts +12 -12
  81. package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js +75 -17
  82. package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js.map +2 -2
  83. package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.d.ts +1 -1
  84. package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js +0 -4
  85. package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +2 -2
  86. package/dist/cjs/grpc/proto/sui/rpc/v2/input.d.ts +2 -2
  87. package/dist/cjs/grpc/proto/sui/rpc/v2/input.js +8 -3
  88. package/dist/cjs/grpc/proto/sui/rpc/v2/input.js.map +2 -2
  89. package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.d.ts +1 -1
  90. package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.js.map +2 -2
  91. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +18 -18
  92. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js +50 -8
  93. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +2 -2
  94. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.d.ts +15 -15
  95. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js +41 -20
  96. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js.map +2 -2
  97. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.d.ts +1 -1
  98. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js +126 -20
  99. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js.map +2 -2
  100. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +12 -12
  101. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js +29 -5
  102. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +2 -2
  103. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.d.ts +5 -5
  104. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js +16 -6
  105. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js.map +2 -2
  106. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.d.ts +8 -8
  107. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.js +15 -3
  108. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.js.map +2 -2
  109. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.d.ts +3 -3
  110. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.js +18 -7
  111. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.js.map +2 -2
  112. package/dist/cjs/grpc/proto/sui/rpc/v2/object.d.ts +5 -5
  113. package/dist/cjs/grpc/proto/sui/rpc/v2/object.js +4 -8
  114. package/dist/cjs/grpc/proto/sui/rpc/v2/object.js.map +2 -2
  115. package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.d.ts +1 -1
  116. package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js +0 -1
  117. package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js.map +2 -2
  118. package/dist/cjs/grpc/proto/sui/rpc/v2/owner.d.ts +1 -1
  119. package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js +7 -2
  120. package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js.map +2 -2
  121. package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.d.ts +1 -1
  122. package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js +22 -11
  123. package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js.map +2 -2
  124. package/dist/cjs/grpc/proto/sui/rpc/v2/signature.d.ts +8 -8
  125. package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js +73 -17
  126. package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js.map +2 -2
  127. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.js.map +2 -2
  128. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts +6 -6
  129. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js +8 -2
  130. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +2 -2
  131. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.d.ts +5 -5
  132. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js +7 -6
  133. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +2 -2
  134. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.d.ts +14 -14
  135. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js +36 -6
  136. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js.map +2 -2
  137. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.d.ts +5 -5
  138. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js +60 -14
  139. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js.map +2 -2
  140. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts +6 -6
  141. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js +8 -2
  142. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +2 -2
  143. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.d.ts +4 -4
  144. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js +9 -4
  145. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js.map +2 -2
  146. package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.d.ts +1 -1
  147. package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js +26 -59
  148. package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js.map +2 -2
  149. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.d.ts +29 -29
  150. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js +210 -71
  151. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js.map +2 -2
  152. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +8 -8
  153. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js +15 -3
  154. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +2 -2
  155. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +9 -9
  156. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js +62 -16
  157. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +2 -2
  158. package/dist/cjs/jsonRpc/client.d.ts +2 -6
  159. package/dist/cjs/jsonRpc/client.js +0 -8
  160. package/dist/cjs/jsonRpc/client.js.map +2 -2
  161. package/dist/cjs/keypairs/passkey/publickey.d.ts +1 -1
  162. package/dist/cjs/multisig/publickey.d.ts +10 -10
  163. package/dist/cjs/multisig/publickey.js +2 -2
  164. package/dist/cjs/multisig/publickey.js.map +2 -2
  165. package/dist/cjs/transactions/TransactionData.d.ts +1 -0
  166. package/dist/cjs/transactions/TransactionData.js +71 -0
  167. package/dist/cjs/transactions/TransactionData.js.map +3 -3
  168. package/dist/cjs/transactions/serializer.js +1 -1
  169. package/dist/cjs/transactions/serializer.js.map +2 -2
  170. package/dist/cjs/utils/index.d.ts +1 -0
  171. package/dist/cjs/utils/index.js +2 -0
  172. package/dist/cjs/utils/index.js.map +2 -2
  173. package/dist/cjs/version.d.ts +2 -2
  174. package/dist/cjs/version.js +2 -2
  175. package/dist/cjs/version.js.map +1 -1
  176. package/dist/cjs/zklogin/bcs.d.ts +1 -3
  177. package/dist/cjs/zklogin/bcs.js +1 -1
  178. package/dist/cjs/zklogin/bcs.js.map +2 -2
  179. package/dist/cjs/zklogin/publickey.d.ts +1 -1
  180. package/dist/cjs/zklogin/signature.d.ts +1 -1
  181. package/dist/esm/bcs/bcs.d.ts +47 -111
  182. package/dist/esm/bcs/bcs.js +17 -17
  183. package/dist/esm/bcs/bcs.js.map +2 -2
  184. package/dist/esm/bcs/effects.d.ts +2 -6
  185. package/dist/esm/bcs/effects.js +1 -1
  186. package/dist/esm/bcs/effects.js.map +2 -2
  187. package/dist/esm/bcs/index.d.ts +49 -117
  188. package/dist/esm/bcs/type-tag-serializer.d.ts +1 -0
  189. package/dist/esm/bcs/type-tag-serializer.js +5 -1
  190. package/dist/esm/bcs/type-tag-serializer.js.map +2 -2
  191. package/dist/esm/cryptography/intent.js +1 -1
  192. package/dist/esm/cryptography/intent.js.map +2 -2
  193. package/dist/esm/cryptography/keypair.js +1 -1
  194. package/dist/esm/cryptography/keypair.js.map +2 -2
  195. package/dist/esm/cryptography/publickey.js +1 -1
  196. package/dist/esm/cryptography/publickey.js.map +2 -2
  197. package/dist/esm/cryptography/signature.d.ts +2 -2
  198. package/dist/esm/experimental/client.js +0 -4
  199. package/dist/esm/experimental/client.js.map +2 -2
  200. package/dist/esm/experimental/types.d.ts +1 -7
  201. package/dist/esm/graphql/generated/queries.d.ts +1 -1
  202. package/dist/esm/graphql/generated/queries.js.map +1 -1
  203. package/dist/esm/grpc/core.d.ts +3 -1
  204. package/dist/esm/grpc/core.js +5 -3
  205. package/dist/esm/grpc/core.js.map +2 -2
  206. package/dist/esm/grpc/proto/google/protobuf/any.d.ts +6 -6
  207. package/dist/esm/grpc/proto/google/protobuf/any.js +20 -20
  208. package/dist/esm/grpc/proto/google/protobuf/any.js.map +2 -2
  209. package/dist/esm/grpc/proto/google/protobuf/duration.d.ts +4 -4
  210. package/dist/esm/grpc/proto/google/protobuf/duration.js +8 -12
  211. package/dist/esm/grpc/proto/google/protobuf/duration.js.map +2 -2
  212. package/dist/esm/grpc/proto/google/protobuf/empty.d.ts +1 -1
  213. package/dist/esm/grpc/proto/google/protobuf/empty.js.map +2 -2
  214. package/dist/esm/grpc/proto/google/protobuf/field_mask.d.ts +4 -4
  215. package/dist/esm/grpc/proto/google/protobuf/field_mask.js +8 -7
  216. package/dist/esm/grpc/proto/google/protobuf/field_mask.js.map +2 -2
  217. package/dist/esm/grpc/proto/google/protobuf/struct.d.ts +10 -10
  218. package/dist/esm/grpc/proto/google/protobuf/struct.js +29 -17
  219. package/dist/esm/grpc/proto/google/protobuf/struct.js.map +2 -2
  220. package/dist/esm/grpc/proto/google/protobuf/timestamp.d.ts +4 -4
  221. package/dist/esm/grpc/proto/google/protobuf/timestamp.js +21 -18
  222. package/dist/esm/grpc/proto/google/protobuf/timestamp.js.map +2 -2
  223. package/dist/esm/grpc/proto/google/rpc/error_details.d.ts +2 -2
  224. package/dist/esm/grpc/proto/google/rpc/error_details.js +40 -11
  225. package/dist/esm/grpc/proto/google/rpc/error_details.js.map +2 -2
  226. package/dist/esm/grpc/proto/google/rpc/status.d.ts +2 -2
  227. package/dist/esm/grpc/proto/google/rpc/status.js +1 -1
  228. package/dist/esm/grpc/proto/google/rpc/status.js.map +2 -2
  229. package/dist/esm/grpc/proto/sui/rpc/v2/argument.d.ts +1 -1
  230. package/dist/esm/grpc/proto/sui/rpc/v2/argument.js +7 -1
  231. package/dist/esm/grpc/proto/sui/rpc/v2/argument.js.map +2 -2
  232. package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.d.ts +1 -1
  233. package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.js.map +2 -2
  234. package/dist/esm/grpc/proto/sui/rpc/v2/bcs.d.ts +1 -1
  235. package/dist/esm/grpc/proto/sui/rpc/v2/bcs.js.map +2 -2
  236. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.d.ts +6 -6
  237. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js +12 -7
  238. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js.map +2 -2
  239. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.d.ts +3 -3
  240. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js +16 -4
  241. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +2 -2
  242. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.d.ts +5 -5
  243. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js +35 -13
  244. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +2 -2
  245. package/dist/esm/grpc/proto/sui/rpc/v2/effects.d.ts +6 -6
  246. package/dist/esm/grpc/proto/sui/rpc/v2/effects.js +65 -19
  247. package/dist/esm/grpc/proto/sui/rpc/v2/effects.js.map +2 -2
  248. package/dist/esm/grpc/proto/sui/rpc/v2/epoch.d.ts +5 -5
  249. package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js +4 -8
  250. package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js.map +2 -2
  251. package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.js.map +2 -2
  252. package/dist/esm/grpc/proto/sui/rpc/v2/event.d.ts +3 -3
  253. package/dist/esm/grpc/proto/sui/rpc/v2/event.js +2 -2
  254. package/dist/esm/grpc/proto/sui/rpc/v2/event.js.map +2 -2
  255. package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.d.ts +8 -8
  256. package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js +21 -10
  257. package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js.map +2 -2
  258. package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.d.ts +12 -12
  259. package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js +75 -17
  260. package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js.map +2 -2
  261. package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.d.ts +1 -1
  262. package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js +0 -4
  263. package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +2 -2
  264. package/dist/esm/grpc/proto/sui/rpc/v2/input.d.ts +2 -2
  265. package/dist/esm/grpc/proto/sui/rpc/v2/input.js +8 -3
  266. package/dist/esm/grpc/proto/sui/rpc/v2/input.js.map +2 -2
  267. package/dist/esm/grpc/proto/sui/rpc/v2/jwk.d.ts +1 -1
  268. package/dist/esm/grpc/proto/sui/rpc/v2/jwk.js.map +2 -2
  269. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +18 -18
  270. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js +50 -8
  271. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +2 -2
  272. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.d.ts +15 -15
  273. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js +41 -20
  274. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js.map +2 -2
  275. package/dist/esm/grpc/proto/sui/rpc/v2/move_package.d.ts +1 -1
  276. package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js +126 -20
  277. package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js.map +2 -2
  278. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +12 -12
  279. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js +29 -5
  280. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +2 -2
  281. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.d.ts +5 -5
  282. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js +16 -6
  283. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js.map +2 -2
  284. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.d.ts +8 -8
  285. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js +15 -3
  286. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js.map +2 -2
  287. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.d.ts +3 -3
  288. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js +18 -7
  289. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js.map +2 -2
  290. package/dist/esm/grpc/proto/sui/rpc/v2/object.d.ts +5 -5
  291. package/dist/esm/grpc/proto/sui/rpc/v2/object.js +4 -8
  292. package/dist/esm/grpc/proto/sui/rpc/v2/object.js.map +2 -2
  293. package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.d.ts +1 -1
  294. package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js +0 -1
  295. package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js.map +2 -2
  296. package/dist/esm/grpc/proto/sui/rpc/v2/owner.d.ts +1 -1
  297. package/dist/esm/grpc/proto/sui/rpc/v2/owner.js +7 -2
  298. package/dist/esm/grpc/proto/sui/rpc/v2/owner.js.map +2 -2
  299. package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.d.ts +1 -1
  300. package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js +22 -11
  301. package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js.map +2 -2
  302. package/dist/esm/grpc/proto/sui/rpc/v2/signature.d.ts +8 -8
  303. package/dist/esm/grpc/proto/sui/rpc/v2/signature.js +73 -17
  304. package/dist/esm/grpc/proto/sui/rpc/v2/signature.js.map +2 -2
  305. package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.js.map +2 -2
  306. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts +6 -6
  307. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js +8 -2
  308. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +2 -2
  309. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.d.ts +5 -5
  310. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js +7 -6
  311. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +2 -2
  312. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.d.ts +14 -14
  313. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js +36 -6
  314. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js.map +2 -2
  315. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.d.ts +5 -5
  316. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js +60 -14
  317. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js.map +2 -2
  318. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts +6 -6
  319. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js +8 -2
  320. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +2 -2
  321. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.d.ts +4 -4
  322. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js +9 -4
  323. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js.map +2 -2
  324. package/dist/esm/grpc/proto/sui/rpc/v2/system_state.d.ts +1 -1
  325. package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js +26 -59
  326. package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js.map +2 -2
  327. package/dist/esm/grpc/proto/sui/rpc/v2/transaction.d.ts +29 -29
  328. package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js +210 -71
  329. package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js.map +2 -2
  330. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +8 -8
  331. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js +15 -3
  332. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +2 -2
  333. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +9 -9
  334. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js +62 -16
  335. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +2 -2
  336. package/dist/esm/jsonRpc/client.d.ts +2 -6
  337. package/dist/esm/jsonRpc/client.js +0 -8
  338. package/dist/esm/jsonRpc/client.js.map +2 -2
  339. package/dist/esm/keypairs/passkey/publickey.d.ts +1 -1
  340. package/dist/esm/multisig/publickey.d.ts +10 -10
  341. package/dist/esm/multisig/publickey.js +2 -2
  342. package/dist/esm/multisig/publickey.js.map +2 -2
  343. package/dist/esm/transactions/TransactionData.d.ts +1 -0
  344. package/dist/esm/transactions/TransactionData.js +71 -0
  345. package/dist/esm/transactions/TransactionData.js.map +3 -3
  346. package/dist/esm/transactions/serializer.js +1 -1
  347. package/dist/esm/transactions/serializer.js.map +2 -2
  348. package/dist/esm/utils/index.d.ts +1 -0
  349. package/dist/esm/utils/index.js +2 -0
  350. package/dist/esm/utils/index.js.map +2 -2
  351. package/dist/esm/version.d.ts +2 -2
  352. package/dist/esm/version.js +2 -2
  353. package/dist/esm/version.js.map +1 -1
  354. package/dist/esm/zklogin/bcs.d.ts +1 -3
  355. package/dist/esm/zklogin/bcs.js +1 -1
  356. package/dist/esm/zklogin/bcs.js.map +2 -2
  357. package/dist/esm/zklogin/publickey.d.ts +1 -1
  358. package/dist/esm/zklogin/signature.d.ts +1 -1
  359. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  360. package/dist/tsconfig.tsbuildinfo +1 -1
  361. package/package.json +2 -2
  362. package/src/bcs/bcs.ts +17 -17
  363. package/src/bcs/effects.ts +1 -1
  364. package/src/bcs/type-tag-serializer.ts +4 -0
  365. package/src/cryptography/intent.ts +1 -1
  366. package/src/cryptography/keypair.ts +1 -1
  367. package/src/cryptography/publickey.ts +1 -1
  368. package/src/experimental/client.ts +0 -4
  369. package/src/experimental/types.ts +4 -17
  370. package/src/graphql/generated/queries.ts +1 -1
  371. package/src/grpc/core.ts +28 -8
  372. package/src/grpc/proto/google/protobuf/any.ts +159 -144
  373. package/src/grpc/proto/google/protobuf/duration.ts +77 -74
  374. package/src/grpc/proto/google/protobuf/empty.ts +5 -6
  375. package/src/grpc/proto/google/protobuf/field_mask.ts +59 -47
  376. package/src/grpc/proto/google/protobuf/struct.ts +223 -201
  377. package/src/grpc/proto/google/protobuf/timestamp.ts +121 -100
  378. package/src/grpc/proto/google/rpc/error_details.ts +388 -352
  379. package/src/grpc/proto/google/rpc/status.ts +32 -32
  380. package/src/grpc/proto/sui/rpc/v2/argument.ts +60 -54
  381. package/src/grpc/proto/sui/rpc/v2/balance_change.ts +26 -26
  382. package/src/grpc/proto/sui/rpc/v2/bcs.ts +19 -19
  383. package/src/grpc/proto/sui/rpc/v2/checkpoint.ts +79 -66
  384. package/src/grpc/proto/sui/rpc/v2/checkpoint_contents.ts +72 -60
  385. package/src/grpc/proto/sui/rpc/v2/checkpoint_summary.ts +219 -158
  386. package/src/grpc/proto/sui/rpc/v2/effects.ts +418 -318
  387. package/src/grpc/proto/sui/rpc/v2/epoch.ts +90 -62
  388. package/src/grpc/proto/sui/rpc/v2/error_reason.ts +12 -12
  389. package/src/grpc/proto/sui/rpc/v2/event.ts +76 -76
  390. package/src/grpc/proto/sui/rpc/v2/executed_transaction.ts +99 -80
  391. package/src/grpc/proto/sui/rpc/v2/execution_status.ts +888 -755
  392. package/src/grpc/proto/sui/rpc/v2/gas_cost_summary.ts +62 -34
  393. package/src/grpc/proto/sui/rpc/v2/input.ts +102 -89
  394. package/src/grpc/proto/sui/rpc/v2/jwk.ts +51 -51
  395. package/src/grpc/proto/sui/rpc/v2/ledger_service.client.ts +196 -106
  396. package/src/grpc/proto/sui/rpc/v2/ledger_service.ts +420 -328
  397. package/src/grpc/proto/sui/rpc/v2/move_package.ts +608 -486
  398. package/src/grpc/proto/sui/rpc/v2/move_package_service.client.ts +114 -63
  399. package/src/grpc/proto/sui/rpc/v2/move_package_service.ts +190 -172
  400. package/src/grpc/proto/sui/rpc/v2/name_service.client.ts +62 -37
  401. package/src/grpc/proto/sui/rpc/v2/name_service.ts +123 -112
  402. package/src/grpc/proto/sui/rpc/v2/object.ts +147 -120
  403. package/src/grpc/proto/sui/rpc/v2/object_reference.ts +33 -26
  404. package/src/grpc/proto/sui/rpc/v2/owner.ts +61 -48
  405. package/src/grpc/proto/sui/rpc/v2/protocol_config.ts +43 -24
  406. package/src/grpc/proto/sui/rpc/v2/signature.ts +596 -503
  407. package/src/grpc/proto/sui/rpc/v2/signature_scheme.ts +28 -28
  408. package/src/grpc/proto/sui/rpc/v2/signature_verification_service.client.ts +43 -29
  409. package/src/grpc/proto/sui/rpc/v2/signature_verification_service.ts +68 -67
  410. package/src/grpc/proto/sui/rpc/v2/state_service.client.ts +140 -76
  411. package/src/grpc/proto/sui/rpc/v2/state_service.ts +642 -573
  412. package/src/grpc/proto/sui/rpc/v2/subscription_service.client.ts +60 -48
  413. package/src/grpc/proto/sui/rpc/v2/subscription_service.ts +50 -37
  414. package/src/grpc/proto/sui/rpc/v2/system_state.ts +1055 -689
  415. package/src/grpc/proto/sui/rpc/v2/transaction.ts +1535 -1110
  416. package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.client.ts +65 -38
  417. package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.ts +185 -139
  418. package/src/jsonRpc/client.ts +2 -17
  419. package/src/multisig/publickey.ts +14 -14
  420. package/src/transactions/TransactionData.ts +100 -1
  421. package/src/transactions/serializer.ts +1 -1
  422. package/src/utils/index.ts +1 -0
  423. package/src/version.ts +2 -2
  424. package/src/zklogin/bcs.ts +1 -1
@@ -20,8 +20,8 @@
20
20
  // See the License for the specific language governing permissions and
21
21
  // limitations under the License.
22
22
  //
23
- import { MessageType } from "@protobuf-ts/runtime";
24
- import { Duration } from "../protobuf/duration";
23
+ import { MessageType } from '@protobuf-ts/runtime';
24
+ import { Duration } from '../protobuf/duration.js';
25
25
  /**
26
26
  * Describes the cause of the error with structured details.
27
27
  *
@@ -55,43 +55,43 @@ import { Duration } from "../protobuf/duration";
55
55
  * @generated from protobuf message google.rpc.ErrorInfo
56
56
  */
57
57
  export interface ErrorInfo {
58
- /**
59
- * The reason of the error. This is a constant value that identifies the
60
- * proximate cause of the error. Error reasons are unique within a particular
61
- * domain of errors. This should be at most 63 characters and match a
62
- * regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`, which represents
63
- * UPPER_SNAKE_CASE.
64
- *
65
- * @generated from protobuf field: string reason = 1;
66
- */
67
- reason: string;
68
- /**
69
- * The logical grouping to which the "reason" belongs. The error domain
70
- * is typically the registered service name of the tool or product that
71
- * generates the error. Example: "pubsub.googleapis.com". If the error is
72
- * generated by some common infrastructure, the error domain must be a
73
- * globally unique value that identifies the infrastructure. For Google API
74
- * infrastructure, the error domain is "googleapis.com".
75
- *
76
- * @generated from protobuf field: string domain = 2;
77
- */
78
- domain: string;
79
- /**
80
- * Additional structured details about this error.
81
- *
82
- * Keys must match a regular expression of `[a-z][a-zA-Z0-9-_]+` but should
83
- * ideally be lowerCamelCase. Also, they must be limited to 64 characters in
84
- * length. When identifying the current value of an exceeded limit, the units
85
- * should be contained in the key, not the value. For example, rather than
86
- * `{"instanceLimit": "100/request"}`, should be returned as,
87
- * `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of
88
- * instances that can be created in a single (batch) request.
89
- *
90
- * @generated from protobuf field: map<string, string> metadata = 3;
91
- */
92
- metadata: {
93
- [key: string]: string;
94
- };
58
+ /**
59
+ * The reason of the error. This is a constant value that identifies the
60
+ * proximate cause of the error. Error reasons are unique within a particular
61
+ * domain of errors. This should be at most 63 characters and match a
62
+ * regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`, which represents
63
+ * UPPER_SNAKE_CASE.
64
+ *
65
+ * @generated from protobuf field: string reason = 1;
66
+ */
67
+ reason: string;
68
+ /**
69
+ * The logical grouping to which the "reason" belongs. The error domain
70
+ * is typically the registered service name of the tool or product that
71
+ * generates the error. Example: "pubsub.googleapis.com". If the error is
72
+ * generated by some common infrastructure, the error domain must be a
73
+ * globally unique value that identifies the infrastructure. For Google API
74
+ * infrastructure, the error domain is "googleapis.com".
75
+ *
76
+ * @generated from protobuf field: string domain = 2;
77
+ */
78
+ domain: string;
79
+ /**
80
+ * Additional structured details about this error.
81
+ *
82
+ * Keys must match a regular expression of `[a-z][a-zA-Z0-9-_]+` but should
83
+ * ideally be lowerCamelCase. Also, they must be limited to 64 characters in
84
+ * length. When identifying the current value of an exceeded limit, the units
85
+ * should be contained in the key, not the value. For example, rather than
86
+ * `{"instanceLimit": "100/request"}`, should be returned as,
87
+ * `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of
88
+ * instances that can be created in a single (batch) request.
89
+ *
90
+ * @generated from protobuf field: map<string, string> metadata = 3;
91
+ */
92
+ metadata: {
93
+ [key: string]: string;
94
+ };
95
95
  }
96
96
  /**
97
97
  * Describes when the clients can retry a failed request. Clients could ignore
@@ -111,12 +111,12 @@ export interface ErrorInfo {
111
111
  * @generated from protobuf message google.rpc.RetryInfo
112
112
  */
113
113
  export interface RetryInfo {
114
- /**
115
- * Clients should wait at least this long between retrying the same request.
116
- *
117
- * @generated from protobuf field: google.protobuf.Duration retry_delay = 1;
118
- */
119
- retryDelay?: Duration;
114
+ /**
115
+ * Clients should wait at least this long between retrying the same request.
116
+ *
117
+ * @generated from protobuf field: google.protobuf.Duration retry_delay = 1;
118
+ */
119
+ retryDelay?: Duration;
120
120
  }
121
121
  /**
122
122
  * Describes additional debugging info.
@@ -124,18 +124,18 @@ export interface RetryInfo {
124
124
  * @generated from protobuf message google.rpc.DebugInfo
125
125
  */
126
126
  export interface DebugInfo {
127
- /**
128
- * The stack trace entries indicating where the error occurred.
129
- *
130
- * @generated from protobuf field: repeated string stack_entries = 1;
131
- */
132
- stackEntries: string[];
133
- /**
134
- * Additional debugging information provided by the server.
135
- *
136
- * @generated from protobuf field: string detail = 2;
137
- */
138
- detail: string;
127
+ /**
128
+ * The stack trace entries indicating where the error occurred.
129
+ *
130
+ * @generated from protobuf field: repeated string stack_entries = 1;
131
+ */
132
+ stackEntries: string[];
133
+ /**
134
+ * Additional debugging information provided by the server.
135
+ *
136
+ * @generated from protobuf field: string detail = 2;
137
+ */
138
+ detail: string;
139
139
  }
140
140
  /**
141
141
  * Describes how a quota check failed.
@@ -153,12 +153,12 @@ export interface DebugInfo {
153
153
  * @generated from protobuf message google.rpc.QuotaFailure
154
154
  */
155
155
  export interface QuotaFailure {
156
- /**
157
- * Describes all quota violations.
158
- *
159
- * @generated from protobuf field: repeated google.rpc.QuotaFailure.Violation violations = 1;
160
- */
161
- violations: QuotaFailure_Violation[];
156
+ /**
157
+ * Describes all quota violations.
158
+ *
159
+ * @generated from protobuf field: repeated google.rpc.QuotaFailure.Violation violations = 1;
160
+ */
161
+ violations: QuotaFailure_Violation[];
162
162
  }
163
163
  /**
164
164
  * A message type used to describe a single quota violation. For example, a
@@ -167,26 +167,26 @@ export interface QuotaFailure {
167
167
  * @generated from protobuf message google.rpc.QuotaFailure.Violation
168
168
  */
169
169
  export interface QuotaFailure_Violation {
170
- /**
171
- * The subject on which the quota check failed.
172
- * For example, `clientip:<ip address of client>` or `project:<Google
173
- * developer project id>`.
174
- *
175
- * @generated from protobuf field: string subject = 1;
176
- */
177
- subject: string;
178
- /**
179
- * A description of how the quota check failed. Clients can use this
180
- * description to find more about the quota configuration in the service's
181
- * public documentation, or find the relevant quota limit to adjust through
182
- * developer console.
183
- *
184
- * For example: "Service disabled" or "Daily Limit for read operations
185
- * exceeded".
186
- *
187
- * @generated from protobuf field: string description = 2;
188
- */
189
- description: string;
170
+ /**
171
+ * The subject on which the quota check failed.
172
+ * For example, `clientip:<ip address of client>` or `project:<Google
173
+ * developer project id>`.
174
+ *
175
+ * @generated from protobuf field: string subject = 1;
176
+ */
177
+ subject: string;
178
+ /**
179
+ * A description of how the quota check failed. Clients can use this
180
+ * description to find more about the quota configuration in the service's
181
+ * public documentation, or find the relevant quota limit to adjust through
182
+ * developer console.
183
+ *
184
+ * For example: "Service disabled" or "Daily Limit for read operations
185
+ * exceeded".
186
+ *
187
+ * @generated from protobuf field: string description = 2;
188
+ */
189
+ description: string;
190
190
  }
191
191
  /**
192
192
  * Describes what preconditions have failed.
@@ -198,12 +198,12 @@ export interface QuotaFailure_Violation {
198
198
  * @generated from protobuf message google.rpc.PreconditionFailure
199
199
  */
200
200
  export interface PreconditionFailure {
201
- /**
202
- * Describes all precondition violations.
203
- *
204
- * @generated from protobuf field: repeated google.rpc.PreconditionFailure.Violation violations = 1;
205
- */
206
- violations: PreconditionFailure_Violation[];
201
+ /**
202
+ * Describes all precondition violations.
203
+ *
204
+ * @generated from protobuf field: repeated google.rpc.PreconditionFailure.Violation violations = 1;
205
+ */
206
+ violations: PreconditionFailure_Violation[];
207
207
  }
208
208
  /**
209
209
  * A message type used to describe a single precondition failure.
@@ -211,31 +211,31 @@ export interface PreconditionFailure {
211
211
  * @generated from protobuf message google.rpc.PreconditionFailure.Violation
212
212
  */
213
213
  export interface PreconditionFailure_Violation {
214
- /**
215
- * The type of PreconditionFailure. We recommend using a service-specific
216
- * enum type to define the supported precondition violation subjects. For
217
- * example, "TOS" for "Terms of Service violation".
218
- *
219
- * @generated from protobuf field: string type = 1;
220
- */
221
- type: string;
222
- /**
223
- * The subject, relative to the type, that failed.
224
- * For example, "google.com/cloud" relative to the "TOS" type would indicate
225
- * which terms of service is being referenced.
226
- *
227
- * @generated from protobuf field: string subject = 2;
228
- */
229
- subject: string;
230
- /**
231
- * A description of how the precondition failed. Developers can use this
232
- * description to understand how to fix the failure.
233
- *
234
- * For example: "Terms of service not accepted".
235
- *
236
- * @generated from protobuf field: string description = 3;
237
- */
238
- description: string;
214
+ /**
215
+ * The type of PreconditionFailure. We recommend using a service-specific
216
+ * enum type to define the supported precondition violation subjects. For
217
+ * example, "TOS" for "Terms of Service violation".
218
+ *
219
+ * @generated from protobuf field: string type = 1;
220
+ */
221
+ type: string;
222
+ /**
223
+ * The subject, relative to the type, that failed.
224
+ * For example, "google.com/cloud" relative to the "TOS" type would indicate
225
+ * which terms of service is being referenced.
226
+ *
227
+ * @generated from protobuf field: string subject = 2;
228
+ */
229
+ subject: string;
230
+ /**
231
+ * A description of how the precondition failed. Developers can use this
232
+ * description to understand how to fix the failure.
233
+ *
234
+ * For example: "Terms of service not accepted".
235
+ *
236
+ * @generated from protobuf field: string description = 3;
237
+ */
238
+ description: string;
239
239
  }
240
240
  /**
241
241
  * Describes violations in a client request. This error type focuses on the
@@ -244,12 +244,12 @@ export interface PreconditionFailure_Violation {
244
244
  * @generated from protobuf message google.rpc.BadRequest
245
245
  */
246
246
  export interface BadRequest {
247
- /**
248
- * Describes all violations in a client request.
249
- *
250
- * @generated from protobuf field: repeated google.rpc.BadRequest.FieldViolation field_violations = 1;
251
- */
252
- fieldViolations: BadRequest_FieldViolation[];
247
+ /**
248
+ * Describes all violations in a client request.
249
+ *
250
+ * @generated from protobuf field: repeated google.rpc.BadRequest.FieldViolation field_violations = 1;
251
+ */
252
+ fieldViolations: BadRequest_FieldViolation[];
253
253
  }
254
254
  /**
255
255
  * A message type used to describe a single bad request field.
@@ -257,74 +257,74 @@ export interface BadRequest {
257
257
  * @generated from protobuf message google.rpc.BadRequest.FieldViolation
258
258
  */
259
259
  export interface BadRequest_FieldViolation {
260
- /**
261
- * A path that leads to a field in the request body. The value will be a
262
- * sequence of dot-separated identifiers that identify a protocol buffer
263
- * field.
264
- *
265
- * Consider the following:
266
- *
267
- * ```text,json
268
- * message CreateContactRequest {
269
- * message EmailAddress {
270
- * enum Type {
271
- * TYPE_UNSPECIFIED = 0;
272
- * HOME = 1;
273
- * WORK = 2;
274
- * }
275
- *
276
- * optional string email = 1;
277
- * repeated EmailType type = 2;
278
- * }
279
- *
280
- * string full_name = 1;
281
- * repeated EmailAddress email_addresses = 2;
282
- * }
283
- * ```
284
- *
285
- * In this example, in proto `field` could take one of the following values:
286
- *
287
- * * `full_name` for a violation in the `full_name` value
288
- * * `email_addresses[1].email` for a violation in the `email` field of the
289
- * first `email_addresses` message
290
- * * `email_addresses[3].type[2]` for a violation in the second `type`
291
- * value in the third `email_addresses` message.
292
- *
293
- * In JSON, the same values are represented as:
294
- *
295
- * * `fullName` for a violation in the `fullName` value
296
- * * `emailAddresses[1].email` for a violation in the `email` field of the
297
- * first `emailAddresses` message
298
- * * `emailAddresses[3].type[2]` for a violation in the second `type`
299
- * value in the third `emailAddresses` message.
300
- *
301
- * @generated from protobuf field: string field = 1;
302
- */
303
- field: string;
304
- /**
305
- * A description of why the request element is bad.
306
- *
307
- * @generated from protobuf field: string description = 2;
308
- */
309
- description: string;
310
- /**
311
- * The reason of the field-level error. This is a constant value that
312
- * identifies the proximate cause of the field-level error. It should
313
- * uniquely identify the type of the FieldViolation within the scope of the
314
- * google.rpc.ErrorInfo.domain. This should be at most 63
315
- * characters and match a regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`,
316
- * which represents UPPER_SNAKE_CASE.
317
- *
318
- * @generated from protobuf field: string reason = 3;
319
- */
320
- reason: string;
321
- /**
322
- * Provides a localized error message for field-level errors that is safe to
323
- * return to the API consumer.
324
- *
325
- * @generated from protobuf field: google.rpc.LocalizedMessage localized_message = 4;
326
- */
327
- localizedMessage?: LocalizedMessage;
260
+ /**
261
+ * A path that leads to a field in the request body. The value will be a
262
+ * sequence of dot-separated identifiers that identify a protocol buffer
263
+ * field.
264
+ *
265
+ * Consider the following:
266
+ *
267
+ * ```text,json
268
+ * message CreateContactRequest {
269
+ * message EmailAddress {
270
+ * enum Type {
271
+ * TYPE_UNSPECIFIED = 0;
272
+ * HOME = 1;
273
+ * WORK = 2;
274
+ * }
275
+ *
276
+ * optional string email = 1;
277
+ * repeated EmailType type = 2;
278
+ * }
279
+ *
280
+ * string full_name = 1;
281
+ * repeated EmailAddress email_addresses = 2;
282
+ * }
283
+ * ```
284
+ *
285
+ * In this example, in proto `field` could take one of the following values:
286
+ *
287
+ * * `full_name` for a violation in the `full_name` value
288
+ * * `email_addresses[1].email` for a violation in the `email` field of the
289
+ * first `email_addresses` message
290
+ * * `email_addresses[3].type[2]` for a violation in the second `type`
291
+ * value in the third `email_addresses` message.
292
+ *
293
+ * In JSON, the same values are represented as:
294
+ *
295
+ * * `fullName` for a violation in the `fullName` value
296
+ * * `emailAddresses[1].email` for a violation in the `email` field of the
297
+ * first `emailAddresses` message
298
+ * * `emailAddresses[3].type[2]` for a violation in the second `type`
299
+ * value in the third `emailAddresses` message.
300
+ *
301
+ * @generated from protobuf field: string field = 1;
302
+ */
303
+ field: string;
304
+ /**
305
+ * A description of why the request element is bad.
306
+ *
307
+ * @generated from protobuf field: string description = 2;
308
+ */
309
+ description: string;
310
+ /**
311
+ * The reason of the field-level error. This is a constant value that
312
+ * identifies the proximate cause of the field-level error. It should
313
+ * uniquely identify the type of the FieldViolation within the scope of the
314
+ * google.rpc.ErrorInfo.domain. This should be at most 63
315
+ * characters and match a regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`,
316
+ * which represents UPPER_SNAKE_CASE.
317
+ *
318
+ * @generated from protobuf field: string reason = 3;
319
+ */
320
+ reason: string;
321
+ /**
322
+ * Provides a localized error message for field-level errors that is safe to
323
+ * return to the API consumer.
324
+ *
325
+ * @generated from protobuf field: google.rpc.LocalizedMessage localized_message = 4;
326
+ */
327
+ localizedMessage?: LocalizedMessage;
328
328
  }
329
329
  /**
330
330
  * Contains metadata about the request that clients can attach when filing a bug
@@ -333,20 +333,20 @@ export interface BadRequest_FieldViolation {
333
333
  * @generated from protobuf message google.rpc.RequestInfo
334
334
  */
335
335
  export interface RequestInfo {
336
- /**
337
- * An opaque string that should only be interpreted by the service generating
338
- * it. For example, it can be used to identify requests in the service's logs.
339
- *
340
- * @generated from protobuf field: string request_id = 1;
341
- */
342
- requestId: string;
343
- /**
344
- * Any data that was used to serve this request. For example, an encrypted
345
- * stack trace that can be sent back to the service provider for debugging.
346
- *
347
- * @generated from protobuf field: string serving_data = 2;
348
- */
349
- servingData: string;
336
+ /**
337
+ * An opaque string that should only be interpreted by the service generating
338
+ * it. For example, it can be used to identify requests in the service's logs.
339
+ *
340
+ * @generated from protobuf field: string request_id = 1;
341
+ */
342
+ requestId: string;
343
+ /**
344
+ * Any data that was used to serve this request. For example, an encrypted
345
+ * stack trace that can be sent back to the service provider for debugging.
346
+ *
347
+ * @generated from protobuf field: string serving_data = 2;
348
+ */
349
+ servingData: string;
350
350
  }
351
351
  /**
352
352
  * Describes the resource that is being accessed.
@@ -354,39 +354,39 @@ export interface RequestInfo {
354
354
  * @generated from protobuf message google.rpc.ResourceInfo
355
355
  */
356
356
  export interface ResourceInfo {
357
- /**
358
- * A name for the type of resource being accessed, e.g. "sql table",
359
- * "cloud storage bucket", "file", "Google calendar"; or the type URL
360
- * of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".
361
- *
362
- * @generated from protobuf field: string resource_type = 1;
363
- */
364
- resourceType: string;
365
- /**
366
- * The name of the resource being accessed. For example, a shared calendar
367
- * name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current
368
- * error is
369
- * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
370
- *
371
- * @generated from protobuf field: string resource_name = 2;
372
- */
373
- resourceName: string;
374
- /**
375
- * The owner of the resource (optional).
376
- * For example, `user:<owner email>` or `project:<Google developer project
377
- * id>`.
378
- *
379
- * @generated from protobuf field: string owner = 3;
380
- */
381
- owner: string;
382
- /**
383
- * Describes what error is encountered when accessing this resource.
384
- * For example, updating a cloud project may require the `writer` permission
385
- * on the developer console project.
386
- *
387
- * @generated from protobuf field: string description = 4;
388
- */
389
- description: string;
357
+ /**
358
+ * A name for the type of resource being accessed, e.g. "sql table",
359
+ * "cloud storage bucket", "file", "Google calendar"; or the type URL
360
+ * of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".
361
+ *
362
+ * @generated from protobuf field: string resource_type = 1;
363
+ */
364
+ resourceType: string;
365
+ /**
366
+ * The name of the resource being accessed. For example, a shared calendar
367
+ * name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current
368
+ * error is
369
+ * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
370
+ *
371
+ * @generated from protobuf field: string resource_name = 2;
372
+ */
373
+ resourceName: string;
374
+ /**
375
+ * The owner of the resource (optional).
376
+ * For example, `user:<owner email>` or `project:<Google developer project
377
+ * id>`.
378
+ *
379
+ * @generated from protobuf field: string owner = 3;
380
+ */
381
+ owner: string;
382
+ /**
383
+ * Describes what error is encountered when accessing this resource.
384
+ * For example, updating a cloud project may require the `writer` permission
385
+ * on the developer console project.
386
+ *
387
+ * @generated from protobuf field: string description = 4;
388
+ */
389
+ description: string;
390
390
  }
391
391
  /**
392
392
  * Provides links to documentation or for performing an out of band action.
@@ -398,12 +398,12 @@ export interface ResourceInfo {
398
398
  * @generated from protobuf message google.rpc.Help
399
399
  */
400
400
  export interface Help {
401
- /**
402
- * URL(s) pointing to additional information on handling the current error.
403
- *
404
- * @generated from protobuf field: repeated google.rpc.Help.Link links = 1;
405
- */
406
- links: Help_Link[];
401
+ /**
402
+ * URL(s) pointing to additional information on handling the current error.
403
+ *
404
+ * @generated from protobuf field: repeated google.rpc.Help.Link links = 1;
405
+ */
406
+ links: Help_Link[];
407
407
  }
408
408
  /**
409
409
  * Describes a URL link.
@@ -411,18 +411,18 @@ export interface Help {
411
411
  * @generated from protobuf message google.rpc.Help.Link
412
412
  */
413
413
  export interface Help_Link {
414
- /**
415
- * Describes what the link offers.
416
- *
417
- * @generated from protobuf field: string description = 1;
418
- */
419
- description: string;
420
- /**
421
- * The URL of the link.
422
- *
423
- * @generated from protobuf field: string url = 2;
424
- */
425
- url: string;
414
+ /**
415
+ * Describes what the link offers.
416
+ *
417
+ * @generated from protobuf field: string description = 1;
418
+ */
419
+ description: string;
420
+ /**
421
+ * The URL of the link.
422
+ *
423
+ * @generated from protobuf field: string url = 2;
424
+ */
425
+ url: string;
426
426
  }
427
427
  /**
428
428
  * Provides a localized error message that is safe to return to the user
@@ -431,30 +431,36 @@ export interface Help_Link {
431
431
  * @generated from protobuf message google.rpc.LocalizedMessage
432
432
  */
433
433
  export interface LocalizedMessage {
434
- /**
435
- * The locale used following the specification defined at
436
- * https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
437
- * Examples are: "en-US", "fr-CH", "es-MX"
438
- *
439
- * @generated from protobuf field: string locale = 1;
440
- */
441
- locale: string;
442
- /**
443
- * The localized error message in the above locale.
444
- *
445
- * @generated from protobuf field: string message = 2;
446
- */
447
- message: string;
434
+ /**
435
+ * The locale used following the specification defined at
436
+ * https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
437
+ * Examples are: "en-US", "fr-CH", "es-MX"
438
+ *
439
+ * @generated from protobuf field: string locale = 1;
440
+ */
441
+ locale: string;
442
+ /**
443
+ * The localized error message in the above locale.
444
+ *
445
+ * @generated from protobuf field: string message = 2;
446
+ */
447
+ message: string;
448
448
  }
449
449
  // @generated message type with reflection information, may provide speed optimized methods
450
450
  class ErrorInfo$Type extends MessageType<ErrorInfo> {
451
- constructor() {
452
- super("google.rpc.ErrorInfo", [
453
- { no: 1, name: "reason", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
454
- { no: 2, name: "domain", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
455
- { no: 3, name: "metadata", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "scalar", T: 9 /*ScalarType.STRING*/ } }
456
- ]);
457
- }
451
+ constructor() {
452
+ super('google.rpc.ErrorInfo', [
453
+ { no: 1, name: 'reason', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },
454
+ { no: 2, name: 'domain', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },
455
+ {
456
+ no: 3,
457
+ name: 'metadata',
458
+ kind: 'map',
459
+ K: 9 /*ScalarType.STRING*/,
460
+ V: { kind: 'scalar', T: 9 /*ScalarType.STRING*/ },
461
+ },
462
+ ]);
463
+ }
458
464
  }
459
465
  /**
460
466
  * @generated MessageType for protobuf message google.rpc.ErrorInfo
@@ -462,11 +468,11 @@ class ErrorInfo$Type extends MessageType<ErrorInfo> {
462
468
  export const ErrorInfo = new ErrorInfo$Type();
463
469
  // @generated message type with reflection information, may provide speed optimized methods
464
470
  class RetryInfo$Type extends MessageType<RetryInfo> {
465
- constructor() {
466
- super("google.rpc.RetryInfo", [
467
- { no: 1, name: "retry_delay", kind: "message", T: () => Duration }
468
- ]);
469
- }
471
+ constructor() {
472
+ super('google.rpc.RetryInfo', [
473
+ { no: 1, name: 'retry_delay', kind: 'message', T: () => Duration },
474
+ ]);
475
+ }
470
476
  }
471
477
  /**
472
478
  * @generated MessageType for protobuf message google.rpc.RetryInfo
@@ -474,12 +480,18 @@ class RetryInfo$Type extends MessageType<RetryInfo> {
474
480
  export const RetryInfo = new RetryInfo$Type();
475
481
  // @generated message type with reflection information, may provide speed optimized methods
476
482
  class DebugInfo$Type extends MessageType<DebugInfo> {
477
- constructor() {
478
- super("google.rpc.DebugInfo", [
479
- { no: 1, name: "stack_entries", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
480
- { no: 2, name: "detail", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
481
- ]);
482
- }
483
+ constructor() {
484
+ super('google.rpc.DebugInfo', [
485
+ {
486
+ no: 1,
487
+ name: 'stack_entries',
488
+ kind: 'scalar',
489
+ repeat: 2 /*RepeatType.UNPACKED*/,
490
+ T: 9 /*ScalarType.STRING*/,
491
+ },
492
+ { no: 2, name: 'detail', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },
493
+ ]);
494
+ }
483
495
  }
484
496
  /**
485
497
  * @generated MessageType for protobuf message google.rpc.DebugInfo
@@ -487,11 +499,17 @@ class DebugInfo$Type extends MessageType<DebugInfo> {
487
499
  export const DebugInfo = new DebugInfo$Type();
488
500
  // @generated message type with reflection information, may provide speed optimized methods
489
501
  class QuotaFailure$Type extends MessageType<QuotaFailure> {
490
- constructor() {
491
- super("google.rpc.QuotaFailure", [
492
- { no: 1, name: "violations", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => QuotaFailure_Violation }
493
- ]);
494
- }
502
+ constructor() {
503
+ super('google.rpc.QuotaFailure', [
504
+ {
505
+ no: 1,
506
+ name: 'violations',
507
+ kind: 'message',
508
+ repeat: 1 /*RepeatType.PACKED*/,
509
+ T: () => QuotaFailure_Violation,
510
+ },
511
+ ]);
512
+ }
495
513
  }
496
514
  /**
497
515
  * @generated MessageType for protobuf message google.rpc.QuotaFailure
@@ -499,12 +517,12 @@ class QuotaFailure$Type extends MessageType<QuotaFailure> {
499
517
  export const QuotaFailure = new QuotaFailure$Type();
500
518
  // @generated message type with reflection information, may provide speed optimized methods
501
519
  class QuotaFailure_Violation$Type extends MessageType<QuotaFailure_Violation> {
502
- constructor() {
503
- super("google.rpc.QuotaFailure.Violation", [
504
- { no: 1, name: "subject", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
505
- { no: 2, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
506
- ]);
507
- }
520
+ constructor() {
521
+ super('google.rpc.QuotaFailure.Violation', [
522
+ { no: 1, name: 'subject', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },
523
+ { no: 2, name: 'description', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },
524
+ ]);
525
+ }
508
526
  }
509
527
  /**
510
528
  * @generated MessageType for protobuf message google.rpc.QuotaFailure.Violation
@@ -512,11 +530,17 @@ class QuotaFailure_Violation$Type extends MessageType<QuotaFailure_Violation> {
512
530
  export const QuotaFailure_Violation = new QuotaFailure_Violation$Type();
513
531
  // @generated message type with reflection information, may provide speed optimized methods
514
532
  class PreconditionFailure$Type extends MessageType<PreconditionFailure> {
515
- constructor() {
516
- super("google.rpc.PreconditionFailure", [
517
- { no: 1, name: "violations", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => PreconditionFailure_Violation }
518
- ]);
519
- }
533
+ constructor() {
534
+ super('google.rpc.PreconditionFailure', [
535
+ {
536
+ no: 1,
537
+ name: 'violations',
538
+ kind: 'message',
539
+ repeat: 1 /*RepeatType.PACKED*/,
540
+ T: () => PreconditionFailure_Violation,
541
+ },
542
+ ]);
543
+ }
520
544
  }
521
545
  /**
522
546
  * @generated MessageType for protobuf message google.rpc.PreconditionFailure
@@ -524,13 +548,13 @@ class PreconditionFailure$Type extends MessageType<PreconditionFailure> {
524
548
  export const PreconditionFailure = new PreconditionFailure$Type();
525
549
  // @generated message type with reflection information, may provide speed optimized methods
526
550
  class PreconditionFailure_Violation$Type extends MessageType<PreconditionFailure_Violation> {
527
- constructor() {
528
- super("google.rpc.PreconditionFailure.Violation", [
529
- { no: 1, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
530
- { no: 2, name: "subject", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
531
- { no: 3, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
532
- ]);
533
- }
551
+ constructor() {
552
+ super('google.rpc.PreconditionFailure.Violation', [
553
+ { no: 1, name: 'type', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },
554
+ { no: 2, name: 'subject', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },
555
+ { no: 3, name: 'description', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },
556
+ ]);
557
+ }
534
558
  }
535
559
  /**
536
560
  * @generated MessageType for protobuf message google.rpc.PreconditionFailure.Violation
@@ -538,11 +562,17 @@ class PreconditionFailure_Violation$Type extends MessageType<PreconditionFailure
538
562
  export const PreconditionFailure_Violation = new PreconditionFailure_Violation$Type();
539
563
  // @generated message type with reflection information, may provide speed optimized methods
540
564
  class BadRequest$Type extends MessageType<BadRequest> {
541
- constructor() {
542
- super("google.rpc.BadRequest", [
543
- { no: 1, name: "field_violations", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => BadRequest_FieldViolation }
544
- ]);
545
- }
565
+ constructor() {
566
+ super('google.rpc.BadRequest', [
567
+ {
568
+ no: 1,
569
+ name: 'field_violations',
570
+ kind: 'message',
571
+ repeat: 1 /*RepeatType.PACKED*/,
572
+ T: () => BadRequest_FieldViolation,
573
+ },
574
+ ]);
575
+ }
546
576
  }
547
577
  /**
548
578
  * @generated MessageType for protobuf message google.rpc.BadRequest
@@ -550,14 +580,14 @@ class BadRequest$Type extends MessageType<BadRequest> {
550
580
  export const BadRequest = new BadRequest$Type();
551
581
  // @generated message type with reflection information, may provide speed optimized methods
552
582
  class BadRequest_FieldViolation$Type extends MessageType<BadRequest_FieldViolation> {
553
- constructor() {
554
- super("google.rpc.BadRequest.FieldViolation", [
555
- { no: 1, name: "field", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
556
- { no: 2, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
557
- { no: 3, name: "reason", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
558
- { no: 4, name: "localized_message", kind: "message", T: () => LocalizedMessage }
559
- ]);
560
- }
583
+ constructor() {
584
+ super('google.rpc.BadRequest.FieldViolation', [
585
+ { no: 1, name: 'field', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },
586
+ { no: 2, name: 'description', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },
587
+ { no: 3, name: 'reason', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },
588
+ { no: 4, name: 'localized_message', kind: 'message', T: () => LocalizedMessage },
589
+ ]);
590
+ }
561
591
  }
562
592
  /**
563
593
  * @generated MessageType for protobuf message google.rpc.BadRequest.FieldViolation
@@ -565,12 +595,12 @@ class BadRequest_FieldViolation$Type extends MessageType<BadRequest_FieldViolati
565
595
  export const BadRequest_FieldViolation = new BadRequest_FieldViolation$Type();
566
596
  // @generated message type with reflection information, may provide speed optimized methods
567
597
  class RequestInfo$Type extends MessageType<RequestInfo> {
568
- constructor() {
569
- super("google.rpc.RequestInfo", [
570
- { no: 1, name: "request_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
571
- { no: 2, name: "serving_data", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
572
- ]);
573
- }
598
+ constructor() {
599
+ super('google.rpc.RequestInfo', [
600
+ { no: 1, name: 'request_id', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },
601
+ { no: 2, name: 'serving_data', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },
602
+ ]);
603
+ }
574
604
  }
575
605
  /**
576
606
  * @generated MessageType for protobuf message google.rpc.RequestInfo
@@ -578,14 +608,14 @@ class RequestInfo$Type extends MessageType<RequestInfo> {
578
608
  export const RequestInfo = new RequestInfo$Type();
579
609
  // @generated message type with reflection information, may provide speed optimized methods
580
610
  class ResourceInfo$Type extends MessageType<ResourceInfo> {
581
- constructor() {
582
- super("google.rpc.ResourceInfo", [
583
- { no: 1, name: "resource_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
584
- { no: 2, name: "resource_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
585
- { no: 3, name: "owner", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
586
- { no: 4, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
587
- ]);
588
- }
611
+ constructor() {
612
+ super('google.rpc.ResourceInfo', [
613
+ { no: 1, name: 'resource_type', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },
614
+ { no: 2, name: 'resource_name', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },
615
+ { no: 3, name: 'owner', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },
616
+ { no: 4, name: 'description', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },
617
+ ]);
618
+ }
589
619
  }
590
620
  /**
591
621
  * @generated MessageType for protobuf message google.rpc.ResourceInfo
@@ -593,11 +623,17 @@ class ResourceInfo$Type extends MessageType<ResourceInfo> {
593
623
  export const ResourceInfo = new ResourceInfo$Type();
594
624
  // @generated message type with reflection information, may provide speed optimized methods
595
625
  class Help$Type extends MessageType<Help> {
596
- constructor() {
597
- super("google.rpc.Help", [
598
- { no: 1, name: "links", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Help_Link }
599
- ]);
600
- }
626
+ constructor() {
627
+ super('google.rpc.Help', [
628
+ {
629
+ no: 1,
630
+ name: 'links',
631
+ kind: 'message',
632
+ repeat: 1 /*RepeatType.PACKED*/,
633
+ T: () => Help_Link,
634
+ },
635
+ ]);
636
+ }
601
637
  }
602
638
  /**
603
639
  * @generated MessageType for protobuf message google.rpc.Help
@@ -605,12 +641,12 @@ class Help$Type extends MessageType<Help> {
605
641
  export const Help = new Help$Type();
606
642
  // @generated message type with reflection information, may provide speed optimized methods
607
643
  class Help_Link$Type extends MessageType<Help_Link> {
608
- constructor() {
609
- super("google.rpc.Help.Link", [
610
- { no: 1, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
611
- { no: 2, name: "url", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
612
- ]);
613
- }
644
+ constructor() {
645
+ super('google.rpc.Help.Link', [
646
+ { no: 1, name: 'description', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },
647
+ { no: 2, name: 'url', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },
648
+ ]);
649
+ }
614
650
  }
615
651
  /**
616
652
  * @generated MessageType for protobuf message google.rpc.Help.Link
@@ -618,12 +654,12 @@ class Help_Link$Type extends MessageType<Help_Link> {
618
654
  export const Help_Link = new Help_Link$Type();
619
655
  // @generated message type with reflection information, may provide speed optimized methods
620
656
  class LocalizedMessage$Type extends MessageType<LocalizedMessage> {
621
- constructor() {
622
- super("google.rpc.LocalizedMessage", [
623
- { no: 1, name: "locale", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
624
- { no: 2, name: "message", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
625
- ]);
626
- }
657
+ constructor() {
658
+ super('google.rpc.LocalizedMessage', [
659
+ { no: 1, name: 'locale', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },
660
+ { no: 2, name: 'message', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },
661
+ ]);
662
+ }
627
663
  }
628
664
  /**
629
665
  * @generated MessageType for protobuf message google.rpc.LocalizedMessage