@canton-network/core-ledger-client 0.9.0 → 0.11.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 (238) hide show
  1. package/dist/constants.d.ts +0 -3
  2. package/dist/constants.d.ts.map +1 -1
  3. package/dist/constants.js +8 -8
  4. package/dist/index.d.ts +2 -10
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +1 -9
  7. package/dist/ledger-api-utils.d.ts +14 -2
  8. package/dist/ledger-api-utils.d.ts.map +1 -1
  9. package/dist/ledger-api-utils.js +76 -5
  10. package/dist/ledger-client.d.ts +35 -1
  11. package/dist/ledger-client.d.ts.map +1 -1
  12. package/dist/ledger-client.js +146 -10
  13. package/dist/token-standard-service.d.ts +33 -9
  14. package/dist/token-standard-service.d.ts.map +1 -1
  15. package/dist/token-standard-service.js +284 -67
  16. package/dist/topology-write-service.d.ts +15 -3
  17. package/dist/topology-write-service.d.ts.map +1 -1
  18. package/dist/topology-write-service.js +28 -18
  19. package/dist/txparse/parser.d.ts +2 -1
  20. package/dist/txparse/parser.d.ts.map +1 -1
  21. package/dist/txparse/parser.js +22 -18
  22. package/dist/txparse/parser.test.js +3 -3
  23. package/dist/txparse/types.d.ts +9 -9
  24. package/dist/txparse/types.d.ts.map +1 -1
  25. package/package.json +6 -8
  26. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts +0 -58
  27. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts.map +0 -1
  28. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.js +0 -34
  29. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts +0 -232
  30. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts.map +0 -1
  31. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.js +0 -560
  32. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts +0 -144
  33. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts.map +0 -1
  34. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.js +0 -85
  35. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts +0 -291
  36. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts.map +0 -1
  37. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.js +0 -663
  38. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts +0 -76
  39. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts.map +0 -1
  40. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.js +0 -96
  41. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts +0 -106
  42. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts.map +0 -1
  43. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.js +0 -62
  44. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts +0 -199
  45. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts.map +0 -1
  46. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.js +0 -427
  47. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts +0 -56
  48. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts.map +0 -1
  49. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.js +0 -35
  50. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts +0 -81
  51. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts.map +0 -1
  52. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.js +0 -135
  53. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts +0 -196
  54. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts.map +0 -1
  55. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.js +0 -113
  56. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts +0 -413
  57. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts.map +0 -1
  58. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.js +0 -867
  59. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts +0 -210
  60. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts.map +0 -1
  61. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.js +0 -126
  62. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts +0 -758
  63. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts.map +0 -1
  64. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.js +0 -1580
  65. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts +0 -66
  66. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts.map +0 -1
  67. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.js +0 -38
  68. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts +0 -90
  69. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts.map +0 -1
  70. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.js +0 -178
  71. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts +0 -99
  72. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts.map +0 -1
  73. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.js +0 -61
  74. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts +0 -210
  75. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts.map +0 -1
  76. package/dist/_proto/com/daml/ledger/api/v2/command_service.js +0 -436
  77. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts +0 -80
  78. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts.map +0 -1
  79. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.js +0 -47
  80. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts +0 -91
  81. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts.map +0 -1
  82. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.js +0 -200
  83. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts +0 -491
  84. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts.map +0 -1
  85. package/dist/_proto/com/daml/ledger/api/v2/commands.js +0 -828
  86. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts +0 -149
  87. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts.map +0 -1
  88. package/dist/_proto/com/daml/ledger/api/v2/completion.js +0 -196
  89. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts +0 -495
  90. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts.map +0 -1
  91. package/dist/_proto/com/daml/ledger/api/v2/event.js +0 -723
  92. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts +0 -52
  93. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts.map +0 -1
  94. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.js +0 -31
  95. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts +0 -150
  96. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts.map +0 -1
  97. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.js +0 -291
  98. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts +0 -96
  99. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts.map +0 -1
  100. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.js +0 -225
  101. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts +0 -43
  102. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts.map +0 -1
  103. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.js +0 -85
  104. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts +0 -100
  105. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts.map +0 -1
  106. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.js +0 -59
  107. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts +0 -877
  108. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts.map +0 -1
  109. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.js +0 -1768
  110. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts +0 -259
  111. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts.map +0 -1
  112. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.js +0 -667
  113. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts +0 -69
  114. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts.map +0 -1
  115. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.js +0 -133
  116. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts +0 -41
  117. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts.map +0 -1
  118. package/dist/_proto/com/daml/ledger/api/v2/package_reference.js +0 -84
  119. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts +0 -68
  120. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts.map +0 -1
  121. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.js +0 -43
  122. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts +0 -181
  123. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts.map +0 -1
  124. package/dist/_proto/com/daml/ledger/api/v2/package_service.js +0 -395
  125. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts +0 -308
  126. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts.map +0 -1
  127. package/dist/_proto/com/daml/ledger/api/v2/reassignment.js +0 -521
  128. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts +0 -193
  129. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts.map +0 -1
  130. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.js +0 -350
  131. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts +0 -91
  132. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts.map +0 -1
  133. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.js +0 -56
  134. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts +0 -448
  135. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts.map +0 -1
  136. package/dist/_proto/com/daml/ledger/api/v2/state_service.js +0 -874
  137. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts +0 -54
  138. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts.map +0 -1
  139. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.js +0 -34
  140. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts +0 -78
  141. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts.map +0 -1
  142. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.js +0 -168
  143. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts +0 -211
  144. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts.map +0 -1
  145. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.js +0 -447
  146. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts +0 -33
  147. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts.map +0 -1
  148. package/dist/_proto/com/daml/ledger/api/v2/trace_context.js +0 -69
  149. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts +0 -252
  150. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts.map +0 -1
  151. package/dist/_proto/com/daml/ledger/api/v2/transaction.js +0 -410
  152. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts +0 -453
  153. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts.map +0 -1
  154. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.js +0 -815
  155. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts +0 -199
  156. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts.map +0 -1
  157. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.js +0 -121
  158. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts +0 -424
  159. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts.map +0 -1
  160. package/dist/_proto/com/daml/ledger/api/v2/update_service.js +0 -853
  161. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts +0 -500
  162. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts.map +0 -1
  163. package/dist/_proto/com/daml/ledger/api/v2/value.js +0 -937
  164. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts +0 -40
  165. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts.map +0 -1
  166. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.js +0 -25
  167. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts +0 -190
  168. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts.map +0 -1
  169. package/dist/_proto/com/daml/ledger/api/v2/version_service.js +0 -400
  170. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts +0 -1028
  171. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts.map +0 -1
  172. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.js +0 -2110
  173. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts +0 -30
  174. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts.map +0 -1
  175. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.js +0 -62
  176. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts +0 -168
  177. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts.map +0 -1
  178. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.js +0 -395
  179. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts +0 -1105
  180. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts.map +0 -1
  181. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.js +0 -2294
  182. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts +0 -278
  183. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts.map +0 -1
  184. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.js +0 -654
  185. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts +0 -166
  186. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts.map +0 -1
  187. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.js +0 -379
  188. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts +0 -199
  189. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts.map +0 -1
  190. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.js +0 -136
  191. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts +0 -1195
  192. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts.map +0 -1
  193. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js +0 -3342
  194. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts +0 -119
  195. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts.map +0 -1
  196. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.js +0 -76
  197. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts +0 -607
  198. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts.map +0 -1
  199. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.js +0 -1292
  200. package/dist/_proto/google/protobuf/any.d.ts +0 -177
  201. package/dist/_proto/google/protobuf/any.d.ts.map +0 -1
  202. package/dist/_proto/google/protobuf/any.js +0 -175
  203. package/dist/_proto/google/protobuf/descriptor.d.ts +0 -1638
  204. package/dist/_proto/google/protobuf/descriptor.d.ts.map +0 -1
  205. package/dist/_proto/google/protobuf/descriptor.js +0 -2999
  206. package/dist/_proto/google/protobuf/duration.d.ts +0 -114
  207. package/dist/_proto/google/protobuf/duration.d.ts.map +0 -1
  208. package/dist/_proto/google/protobuf/duration.js +0 -113
  209. package/dist/_proto/google/protobuf/empty.d.ts +0 -33
  210. package/dist/_proto/google/protobuf/empty.d.ts.map +0 -1
  211. package/dist/_proto/google/protobuf/empty.js +0 -41
  212. package/dist/_proto/google/protobuf/field_mask.d.ts +0 -240
  213. package/dist/_proto/google/protobuf/field_mask.d.ts.map +0 -1
  214. package/dist/_proto/google/protobuf/field_mask.js +0 -95
  215. package/dist/_proto/google/protobuf/struct.d.ts +0 -187
  216. package/dist/_proto/google/protobuf/struct.d.ts.map +0 -1
  217. package/dist/_proto/google/protobuf/struct.js +0 -417
  218. package/dist/_proto/google/protobuf/timestamp.d.ts +0 -159
  219. package/dist/_proto/google/protobuf/timestamp.d.ts.map +0 -1
  220. package/dist/_proto/google/protobuf/timestamp.js +0 -157
  221. package/dist/_proto/google/rpc/code.d.ts +0 -219
  222. package/dist/_proto/google/rpc/code.d.ts.map +0 -1
  223. package/dist/_proto/google/rpc/code.js +0 -237
  224. package/dist/_proto/google/rpc/context/attribute_context.d.ts +0 -594
  225. package/dist/_proto/google/rpc/context/attribute_context.d.ts.map +0 -1
  226. package/dist/_proto/google/rpc/context/attribute_context.js +0 -1007
  227. package/dist/_proto/google/rpc/context/audit_context.d.ts +0 -62
  228. package/dist/_proto/google/rpc/context/audit_context.d.ts.map +0 -1
  229. package/dist/_proto/google/rpc/context/audit_context.js +0 -111
  230. package/dist/_proto/google/rpc/error_details.d.ts +0 -549
  231. package/dist/_proto/google/rpc/error_details.d.ts.map +0 -1
  232. package/dist/_proto/google/rpc/error_details.js +0 -918
  233. package/dist/_proto/google/rpc/status.d.ts +0 -55
  234. package/dist/_proto/google/rpc/status.d.ts.map +0 -1
  235. package/dist/_proto/google/rpc/status.js +0 -79
  236. package/dist/_proto/scalapb/scalapb.d.ts +0 -779
  237. package/dist/_proto/scalapb/scalapb.d.ts.map +0 -1
  238. package/dist/_proto/scalapb/scalapb.js +0 -1658
@@ -1,237 +0,0 @@
1
- // @generated by protobuf-ts 2.11.1 with parameter generate_dependencies
2
- // @generated from protobuf file "google/rpc/code.proto" (package "google.rpc", syntax proto3)
3
- // tslint:disable
4
- //
5
- // Copyright 2024 Google LLC
6
- //
7
- // Licensed under the Apache License, Version 2.0 (the "License");
8
- // you may not use this file except in compliance with the License.
9
- // You may obtain a copy of the License at
10
- //
11
- // http://www.apache.org/licenses/LICENSE-2.0
12
- //
13
- // Unless required by applicable law or agreed to in writing, software
14
- // distributed under the License is distributed on an "AS IS" BASIS,
15
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- // See the License for the specific language governing permissions and
17
- // limitations under the License.
18
- //
19
- /**
20
- * The canonical error codes for gRPC APIs.
21
- *
22
- *
23
- * Sometimes multiple error codes may apply. Services should return
24
- * the most specific error code that applies. For example, prefer
25
- * `OUT_OF_RANGE` over `FAILED_PRECONDITION` if both codes apply.
26
- * Similarly prefer `NOT_FOUND` or `ALREADY_EXISTS` over `FAILED_PRECONDITION`.
27
- *
28
- * @generated from protobuf enum google.rpc.Code
29
- */
30
- export var Code;
31
- (function (Code) {
32
- /**
33
- * Not an error; returned on success.
34
- *
35
- * HTTP Mapping: 200 OK
36
- *
37
- * @generated from protobuf enum value: OK = 0;
38
- */
39
- Code[Code["OK"] = 0] = "OK";
40
- /**
41
- * The operation was cancelled, typically by the caller.
42
- *
43
- * HTTP Mapping: 499 Client Closed Request
44
- *
45
- * @generated from protobuf enum value: CANCELLED = 1;
46
- */
47
- Code[Code["CANCELLED"] = 1] = "CANCELLED";
48
- /**
49
- * Unknown error. For example, this error may be returned when
50
- * a `Status` value received from another address space belongs to
51
- * an error space that is not known in this address space. Also
52
- * errors raised by APIs that do not return enough error information
53
- * may be converted to this error.
54
- *
55
- * HTTP Mapping: 500 Internal Server Error
56
- *
57
- * @generated from protobuf enum value: UNKNOWN = 2;
58
- */
59
- Code[Code["UNKNOWN"] = 2] = "UNKNOWN";
60
- /**
61
- * The client specified an invalid argument. Note that this differs
62
- * from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments
63
- * that are problematic regardless of the state of the system
64
- * (e.g., a malformed file name).
65
- *
66
- * HTTP Mapping: 400 Bad Request
67
- *
68
- * @generated from protobuf enum value: INVALID_ARGUMENT = 3;
69
- */
70
- Code[Code["INVALID_ARGUMENT"] = 3] = "INVALID_ARGUMENT";
71
- /**
72
- * The deadline expired before the operation could complete. For operations
73
- * that change the state of the system, this error may be returned
74
- * even if the operation has completed successfully. For example, a
75
- * successful response from a server could have been delayed long
76
- * enough for the deadline to expire.
77
- *
78
- * HTTP Mapping: 504 Gateway Timeout
79
- *
80
- * @generated from protobuf enum value: DEADLINE_EXCEEDED = 4;
81
- */
82
- Code[Code["DEADLINE_EXCEEDED"] = 4] = "DEADLINE_EXCEEDED";
83
- /**
84
- * Some requested entity (e.g., file or directory) was not found.
85
- *
86
- * Note to server developers: if a request is denied for an entire class
87
- * of users, such as gradual feature rollout or undocumented allowlist,
88
- * `NOT_FOUND` may be used. If a request is denied for some users within
89
- * a class of users, such as user-based access control, `PERMISSION_DENIED`
90
- * must be used.
91
- *
92
- * HTTP Mapping: 404 Not Found
93
- *
94
- * @generated from protobuf enum value: NOT_FOUND = 5;
95
- */
96
- Code[Code["NOT_FOUND"] = 5] = "NOT_FOUND";
97
- /**
98
- * The entity that a client attempted to create (e.g., file or directory)
99
- * already exists.
100
- *
101
- * HTTP Mapping: 409 Conflict
102
- *
103
- * @generated from protobuf enum value: ALREADY_EXISTS = 6;
104
- */
105
- Code[Code["ALREADY_EXISTS"] = 6] = "ALREADY_EXISTS";
106
- /**
107
- * The caller does not have permission to execute the specified
108
- * operation. `PERMISSION_DENIED` must not be used for rejections
109
- * caused by exhausting some resource (use `RESOURCE_EXHAUSTED`
110
- * instead for those errors). `PERMISSION_DENIED` must not be
111
- * used if the caller can not be identified (use `UNAUTHENTICATED`
112
- * instead for those errors). This error code does not imply the
113
- * request is valid or the requested entity exists or satisfies
114
- * other pre-conditions.
115
- *
116
- * HTTP Mapping: 403 Forbidden
117
- *
118
- * @generated from protobuf enum value: PERMISSION_DENIED = 7;
119
- */
120
- Code[Code["PERMISSION_DENIED"] = 7] = "PERMISSION_DENIED";
121
- /**
122
- * The request does not have valid authentication credentials for the
123
- * operation.
124
- *
125
- * HTTP Mapping: 401 Unauthorized
126
- *
127
- * @generated from protobuf enum value: UNAUTHENTICATED = 16;
128
- */
129
- Code[Code["UNAUTHENTICATED"] = 16] = "UNAUTHENTICATED";
130
- /**
131
- * Some resource has been exhausted, perhaps a per-user quota, or
132
- * perhaps the entire file system is out of space.
133
- *
134
- * HTTP Mapping: 429 Too Many Requests
135
- *
136
- * @generated from protobuf enum value: RESOURCE_EXHAUSTED = 8;
137
- */
138
- Code[Code["RESOURCE_EXHAUSTED"] = 8] = "RESOURCE_EXHAUSTED";
139
- /**
140
- * The operation was rejected because the system is not in a state
141
- * required for the operation's execution. For example, the directory
142
- * to be deleted is non-empty, an rmdir operation is applied to
143
- * a non-directory, etc.
144
- *
145
- * Service implementors can use the following guidelines to decide
146
- * between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`:
147
- * (a) Use `UNAVAILABLE` if the client can retry just the failing call.
148
- * (b) Use `ABORTED` if the client should retry at a higher level. For
149
- * example, when a client-specified test-and-set fails, indicating the
150
- * client should restart a read-modify-write sequence.
151
- * (c) Use `FAILED_PRECONDITION` if the client should not retry until
152
- * the system state has been explicitly fixed. For example, if an "rmdir"
153
- * fails because the directory is non-empty, `FAILED_PRECONDITION`
154
- * should be returned since the client should not retry unless
155
- * the files are deleted from the directory.
156
- *
157
- * HTTP Mapping: 400 Bad Request
158
- *
159
- * @generated from protobuf enum value: FAILED_PRECONDITION = 9;
160
- */
161
- Code[Code["FAILED_PRECONDITION"] = 9] = "FAILED_PRECONDITION";
162
- /**
163
- * The operation was aborted, typically due to a concurrency issue such as
164
- * a sequencer check failure or transaction abort.
165
- *
166
- * See the guidelines above for deciding between `FAILED_PRECONDITION`,
167
- * `ABORTED`, and `UNAVAILABLE`.
168
- *
169
- * HTTP Mapping: 409 Conflict
170
- *
171
- * @generated from protobuf enum value: ABORTED = 10;
172
- */
173
- Code[Code["ABORTED"] = 10] = "ABORTED";
174
- /**
175
- * The operation was attempted past the valid range. E.g., seeking or
176
- * reading past end-of-file.
177
- *
178
- * Unlike `INVALID_ARGUMENT`, this error indicates a problem that may
179
- * be fixed if the system state changes. For example, a 32-bit file
180
- * system will generate `INVALID_ARGUMENT` if asked to read at an
181
- * offset that is not in the range [0,2^32-1], but it will generate
182
- * `OUT_OF_RANGE` if asked to read from an offset past the current
183
- * file size.
184
- *
185
- * There is a fair bit of overlap between `FAILED_PRECONDITION` and
186
- * `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific
187
- * error) when it applies so that callers who are iterating through
188
- * a space can easily look for an `OUT_OF_RANGE` error to detect when
189
- * they are done.
190
- *
191
- * HTTP Mapping: 400 Bad Request
192
- *
193
- * @generated from protobuf enum value: OUT_OF_RANGE = 11;
194
- */
195
- Code[Code["OUT_OF_RANGE"] = 11] = "OUT_OF_RANGE";
196
- /**
197
- * The operation is not implemented or is not supported/enabled in this
198
- * service.
199
- *
200
- * HTTP Mapping: 501 Not Implemented
201
- *
202
- * @generated from protobuf enum value: UNIMPLEMENTED = 12;
203
- */
204
- Code[Code["UNIMPLEMENTED"] = 12] = "UNIMPLEMENTED";
205
- /**
206
- * Internal errors. This means that some invariants expected by the
207
- * underlying system have been broken. This error code is reserved
208
- * for serious errors.
209
- *
210
- * HTTP Mapping: 500 Internal Server Error
211
- *
212
- * @generated from protobuf enum value: INTERNAL = 13;
213
- */
214
- Code[Code["INTERNAL"] = 13] = "INTERNAL";
215
- /**
216
- * The service is currently unavailable. This is most likely a
217
- * transient condition, which can be corrected by retrying with
218
- * a backoff. Note that it is not always safe to retry
219
- * non-idempotent operations.
220
- *
221
- * See the guidelines above for deciding between `FAILED_PRECONDITION`,
222
- * `ABORTED`, and `UNAVAILABLE`.
223
- *
224
- * HTTP Mapping: 503 Service Unavailable
225
- *
226
- * @generated from protobuf enum value: UNAVAILABLE = 14;
227
- */
228
- Code[Code["UNAVAILABLE"] = 14] = "UNAVAILABLE";
229
- /**
230
- * Unrecoverable data loss or corruption.
231
- *
232
- * HTTP Mapping: 500 Internal Server Error
233
- *
234
- * @generated from protobuf enum value: DATA_LOSS = 15;
235
- */
236
- Code[Code["DATA_LOSS"] = 15] = "DATA_LOSS";
237
- })(Code || (Code = {}));