@milaboratories/pl-client 2.17.7 → 2.17.9

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 (276) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +43 -0
  2. package/dist/_virtual/_rolldown/runtime.js +18 -0
  3. package/dist/core/PromiseTracker.cjs +33 -33
  4. package/dist/core/PromiseTracker.cjs.map +1 -1
  5. package/dist/core/PromiseTracker.d.ts +10 -7
  6. package/dist/core/PromiseTracker.js +33 -31
  7. package/dist/core/PromiseTracker.js.map +1 -1
  8. package/dist/core/StatefulPromise.cjs +60 -61
  9. package/dist/core/StatefulPromise.cjs.map +1 -1
  10. package/dist/core/StatefulPromise.js +60 -60
  11. package/dist/core/StatefulPromise.js.map +1 -1
  12. package/dist/core/abstract_stream.d.ts +18 -15
  13. package/dist/core/advisory_locks.cjs +42 -49
  14. package/dist/core/advisory_locks.cjs.map +1 -1
  15. package/dist/core/advisory_locks.js +42 -48
  16. package/dist/core/advisory_locks.js.map +1 -1
  17. package/dist/core/auth.cjs +10 -15
  18. package/dist/core/auth.cjs.map +1 -1
  19. package/dist/core/auth.d.ts +7 -3
  20. package/dist/core/auth.js +10 -13
  21. package/dist/core/auth.js.map +1 -1
  22. package/dist/core/cache.d.ts +11 -7
  23. package/dist/core/client.cjs +255 -306
  24. package/dist/core/client.cjs.map +1 -1
  25. package/dist/core/client.d.ts +72 -68
  26. package/dist/core/client.js +253 -285
  27. package/dist/core/client.js.map +1 -1
  28. package/dist/core/config.cjs +81 -99
  29. package/dist/core/config.cjs.map +1 -1
  30. package/dist/core/config.d.ts +93 -90
  31. package/dist/core/config.js +81 -98
  32. package/dist/core/config.js.map +1 -1
  33. package/dist/core/default_client.cjs +84 -125
  34. package/dist/core/default_client.cjs.map +1 -1
  35. package/dist/core/default_client.d.ts +9 -6
  36. package/dist/core/default_client.js +78 -103
  37. package/dist/core/default_client.js.map +1 -1
  38. package/dist/core/driver.cjs +12 -16
  39. package/dist/core/driver.cjs.map +1 -1
  40. package/dist/core/driver.d.ts +18 -14
  41. package/dist/core/driver.js +12 -15
  42. package/dist/core/driver.js.map +1 -1
  43. package/dist/core/error_resource.cjs +5 -4
  44. package/dist/core/error_resource.cjs.map +1 -1
  45. package/dist/core/error_resource.js +5 -3
  46. package/dist/core/error_resource.js.map +1 -1
  47. package/dist/core/errors.cjs +104 -140
  48. package/dist/core/errors.cjs.map +1 -1
  49. package/dist/core/errors.d.ts +34 -30
  50. package/dist/core/errors.js +102 -137
  51. package/dist/core/errors.js.map +1 -1
  52. package/dist/core/final.cjs +63 -89
  53. package/dist/core/final.cjs.map +1 -1
  54. package/dist/core/final.d.ts +8 -4
  55. package/dist/core/final.js +63 -87
  56. package/dist/core/final.js.map +1 -1
  57. package/dist/core/ll_client.cjs +416 -521
  58. package/dist/core/ll_client.cjs.map +1 -1
  59. package/dist/core/ll_client.d.ts +100 -97
  60. package/dist/core/ll_client.js +415 -519
  61. package/dist/core/ll_client.js.map +1 -1
  62. package/dist/core/ll_transaction.cjs +206 -240
  63. package/dist/core/ll_transaction.cjs.map +1 -1
  64. package/dist/core/ll_transaction.d.ts +50 -52
  65. package/dist/core/ll_transaction.js +205 -238
  66. package/dist/core/ll_transaction.js.map +1 -1
  67. package/dist/core/stat.cjs +64 -63
  68. package/dist/core/stat.cjs.map +1 -1
  69. package/dist/core/stat.d.ts +35 -36
  70. package/dist/core/stat.js +64 -62
  71. package/dist/core/stat.js.map +1 -1
  72. package/dist/core/transaction.cjs +613 -650
  73. package/dist/core/transaction.cjs.map +1 -1
  74. package/dist/core/transaction.d.ts +165 -162
  75. package/dist/core/transaction.js +612 -648
  76. package/dist/core/transaction.js.map +1 -1
  77. package/dist/core/type_conversion.cjs +62 -83
  78. package/dist/core/type_conversion.cjs.map +1 -1
  79. package/dist/core/type_conversion.js +61 -81
  80. package/dist/core/type_conversion.js.map +1 -1
  81. package/dist/core/types.cjs +56 -86
  82. package/dist/core/types.cjs.map +1 -1
  83. package/dist/core/types.d.ts +63 -62
  84. package/dist/core/types.js +54 -83
  85. package/dist/core/types.js.map +1 -1
  86. package/dist/core/unauth_client.cjs +35 -41
  87. package/dist/core/unauth_client.cjs.map +1 -1
  88. package/dist/core/unauth_client.d.ts +18 -14
  89. package/dist/core/unauth_client.js +34 -39
  90. package/dist/core/unauth_client.js.map +1 -1
  91. package/dist/core/websocket_stream.cjs +280 -349
  92. package/dist/core/websocket_stream.cjs.map +1 -1
  93. package/dist/core/websocket_stream.js +278 -347
  94. package/dist/core/websocket_stream.js.map +1 -1
  95. package/dist/core/wire.d.ts +21 -17
  96. package/dist/helpers/pl.cjs +71 -73
  97. package/dist/helpers/pl.cjs.map +1 -1
  98. package/dist/helpers/pl.d.ts +40 -41
  99. package/dist/helpers/pl.js +66 -46
  100. package/dist/helpers/pl.js.map +1 -1
  101. package/dist/helpers/poll.cjs +99 -134
  102. package/dist/helpers/poll.cjs.map +1 -1
  103. package/dist/helpers/poll.d.ts +37 -34
  104. package/dist/helpers/poll.js +97 -113
  105. package/dist/helpers/poll.js.map +1 -1
  106. package/dist/helpers/retry_strategy.cjs +82 -87
  107. package/dist/helpers/retry_strategy.cjs.map +1 -1
  108. package/dist/helpers/retry_strategy.js +83 -86
  109. package/dist/helpers/retry_strategy.js.map +1 -1
  110. package/dist/helpers/tx_helpers.cjs +21 -20
  111. package/dist/helpers/tx_helpers.cjs.map +1 -1
  112. package/dist/helpers/tx_helpers.d.ts +11 -7
  113. package/dist/helpers/tx_helpers.js +20 -18
  114. package/dist/helpers/tx_helpers.js.map +1 -1
  115. package/dist/index.cjs +117 -106
  116. package/dist/index.d.ts +17 -17
  117. package/dist/index.js +17 -19
  118. package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.cjs +72 -66
  119. package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.cjs.map +1 -1
  120. package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.d.ts +35 -37
  121. package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.js +71 -64
  122. package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.js.map +1 -1
  123. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.cjs +12611 -12866
  124. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.cjs.map +1 -1
  125. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs +226 -226
  126. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs.map +1 -1
  127. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +281 -330
  128. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.js +225 -224
  129. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.js.map +1 -1
  130. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +2640 -4294
  131. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.js +12608 -12706
  132. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.js.map +1 -1
  133. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.cjs +1230 -1089
  134. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.cjs.map +1 -1
  135. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +393 -420
  136. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.js +1228 -1083
  137. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.js.map +1 -1
  138. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.cjs +142 -143
  139. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.cjs.map +1 -1
  140. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts +62 -64
  141. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.js +140 -141
  142. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.js.map +1 -1
  143. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.cjs +572 -487
  144. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.cjs.map +1 -1
  145. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts +125 -228
  146. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js +572 -485
  147. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js.map +1 -1
  148. package/dist/proto-grpc/google/protobuf/any.cjs +131 -146
  149. package/dist/proto-grpc/google/protobuf/any.cjs.map +1 -1
  150. package/dist/proto-grpc/google/protobuf/any.d.ts +78 -84
  151. package/dist/proto-grpc/google/protobuf/any.js +130 -144
  152. package/dist/proto-grpc/google/protobuf/any.js.map +1 -1
  153. package/dist/proto-grpc/google/protobuf/duration.cjs +92 -100
  154. package/dist/proto-grpc/google/protobuf/duration.cjs.map +1 -1
  155. package/dist/proto-grpc/google/protobuf/duration.d.ts +38 -43
  156. package/dist/proto-grpc/google/protobuf/duration.js +91 -98
  157. package/dist/proto-grpc/google/protobuf/duration.js.map +1 -1
  158. package/dist/proto-grpc/google/protobuf/timestamp.cjs +117 -128
  159. package/dist/proto-grpc/google/protobuf/timestamp.cjs.map +1 -1
  160. package/dist/proto-grpc/google/protobuf/timestamp.d.ts +50 -55
  161. package/dist/proto-grpc/google/protobuf/timestamp.js +116 -126
  162. package/dist/proto-grpc/google/protobuf/timestamp.js.map +1 -1
  163. package/dist/proto-grpc/google/rpc/code.cjs +223 -238
  164. package/dist/proto-grpc/google/rpc/code.cjs.map +1 -1
  165. package/dist/proto-grpc/google/rpc/code.d.ts +209 -206
  166. package/dist/proto-grpc/google/rpc/code.js +221 -237
  167. package/dist/proto-grpc/google/rpc/code.js.map +1 -1
  168. package/dist/proto-rest/index.cjs +67 -66
  169. package/dist/proto-rest/index.cjs.map +1 -1
  170. package/dist/proto-rest/index.d.ts +24 -18
  171. package/dist/proto-rest/index.js +61 -65
  172. package/dist/proto-rest/index.js.map +1 -1
  173. package/dist/proto-rest/plapi.d.ts +1400 -1477
  174. package/dist/test/tcp-proxy.cjs +100 -126
  175. package/dist/test/tcp-proxy.cjs.map +1 -1
  176. package/dist/test/tcp-proxy.d.ts +17 -13
  177. package/dist/test/tcp-proxy.js +97 -104
  178. package/dist/test/tcp-proxy.js.map +1 -1
  179. package/dist/test/test_config.cjs +145 -194
  180. package/dist/test/test_config.cjs.map +1 -1
  181. package/dist/test/test_config.d.ts +34 -30
  182. package/dist/test/test_config.js +138 -166
  183. package/dist/test/test_config.js.map +1 -1
  184. package/dist/util/pl.cjs +4 -3
  185. package/dist/util/pl.cjs.map +1 -1
  186. package/dist/util/pl.js +4 -2
  187. package/dist/util/pl.js.map +1 -1
  188. package/dist/util/util.cjs +7 -10
  189. package/dist/util/util.cjs.map +1 -1
  190. package/dist/util/util.js +7 -9
  191. package/dist/util/util.js.map +1 -1
  192. package/package.json +8 -8
  193. package/src/core/errors.ts +1 -1
  194. package/src/core/transaction.ts +123 -133
  195. package/src/core/websocket_stream.ts +10 -1
  196. package/dist/__external/.pnpm/@rollup_plugin-typescript@12.3.0_rollup@4.52.4_tslib@2.8.1_typescript@5.6.3/__external/tslib/tslib.es6.cjs +0 -61
  197. package/dist/__external/.pnpm/@rollup_plugin-typescript@12.3.0_rollup@4.52.4_tslib@2.8.1_typescript@5.6.3/__external/tslib/tslib.es6.cjs.map +0 -1
  198. package/dist/__external/.pnpm/@rollup_plugin-typescript@12.3.0_rollup@4.52.4_tslib@2.8.1_typescript@5.6.3/__external/tslib/tslib.es6.js +0 -58
  199. package/dist/__external/.pnpm/@rollup_plugin-typescript@12.3.0_rollup@4.52.4_tslib@2.8.1_typescript@5.6.3/__external/tslib/tslib.es6.js.map +0 -1
  200. package/dist/core/PromiseTracker.d.ts.map +0 -1
  201. package/dist/core/StatefulPromise.d.ts +0 -39
  202. package/dist/core/StatefulPromise.d.ts.map +0 -1
  203. package/dist/core/abstract_stream.d.ts.map +0 -1
  204. package/dist/core/advisory_locks.d.ts +0 -10
  205. package/dist/core/advisory_locks.d.ts.map +0 -1
  206. package/dist/core/auth.d.ts.map +0 -1
  207. package/dist/core/cache.d.ts.map +0 -1
  208. package/dist/core/client.d.ts.map +0 -1
  209. package/dist/core/config.d.ts.map +0 -1
  210. package/dist/core/default_client.d.ts.map +0 -1
  211. package/dist/core/driver.d.ts.map +0 -1
  212. package/dist/core/error_resource.d.ts +0 -6
  213. package/dist/core/error_resource.d.ts.map +0 -1
  214. package/dist/core/errors.d.ts.map +0 -1
  215. package/dist/core/final.d.ts.map +0 -1
  216. package/dist/core/ll_client.d.ts.map +0 -1
  217. package/dist/core/ll_transaction.d.ts.map +0 -1
  218. package/dist/core/stat.d.ts.map +0 -1
  219. package/dist/core/transaction.d.ts.map +0 -1
  220. package/dist/core/type_conversion.d.ts +0 -8
  221. package/dist/core/type_conversion.d.ts.map +0 -1
  222. package/dist/core/types.d.ts.map +0 -1
  223. package/dist/core/unauth_client.d.ts.map +0 -1
  224. package/dist/core/websocket_stream.d.ts +0 -67
  225. package/dist/core/websocket_stream.d.ts.map +0 -1
  226. package/dist/core/wire.d.ts.map +0 -1
  227. package/dist/helpers/pl.d.ts.map +0 -1
  228. package/dist/helpers/poll.d.ts.map +0 -1
  229. package/dist/helpers/retry_strategy.d.ts +0 -24
  230. package/dist/helpers/retry_strategy.d.ts.map +0 -1
  231. package/dist/helpers/state_helpers.d.ts +0 -3
  232. package/dist/helpers/state_helpers.d.ts.map +0 -1
  233. package/dist/helpers/tx_helpers.d.ts.map +0 -1
  234. package/dist/index.cjs.map +0 -1
  235. package/dist/index.d.ts.map +0 -1
  236. package/dist/index.js.map +0 -1
  237. package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.d.ts.map +0 -1
  238. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +0 -1
  239. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +0 -1
  240. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +0 -1
  241. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts.map +0 -1
  242. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts +0 -106
  243. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts.map +0 -1
  244. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts.map +0 -1
  245. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/ws-test.d.ts +0 -73
  246. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/ws-test.d.ts.map +0 -1
  247. package/dist/proto-grpc/google/api/http.d.ts +0 -456
  248. package/dist/proto-grpc/google/api/http.d.ts.map +0 -1
  249. package/dist/proto-grpc/google/protobuf/any.d.ts.map +0 -1
  250. package/dist/proto-grpc/google/protobuf/descriptor.d.ts +0 -2340
  251. package/dist/proto-grpc/google/protobuf/descriptor.d.ts.map +0 -1
  252. package/dist/proto-grpc/google/protobuf/duration.d.ts.map +0 -1
  253. package/dist/proto-grpc/google/protobuf/empty.d.ts +0 -32
  254. package/dist/proto-grpc/google/protobuf/empty.d.ts.map +0 -1
  255. package/dist/proto-grpc/google/protobuf/struct.d.ts +0 -187
  256. package/dist/proto-grpc/google/protobuf/struct.d.ts.map +0 -1
  257. package/dist/proto-grpc/google/protobuf/timestamp.d.ts.map +0 -1
  258. package/dist/proto-grpc/google/protobuf/wrappers.d.ts +0 -308
  259. package/dist/proto-grpc/google/protobuf/wrappers.d.ts.map +0 -1
  260. package/dist/proto-grpc/google/rpc/code.d.ts.map +0 -1
  261. package/dist/proto-grpc/google/rpc/error_details.d.ts +0 -654
  262. package/dist/proto-grpc/google/rpc/error_details.d.ts.map +0 -1
  263. package/dist/proto-grpc/google/rpc/http.d.ts +0 -121
  264. package/dist/proto-grpc/google/rpc/http.d.ts.map +0 -1
  265. package/dist/proto-grpc/google/rpc/status.d.ts +0 -55
  266. package/dist/proto-grpc/google/rpc/status.d.ts.map +0 -1
  267. package/dist/proto-rest/index.d.ts.map +0 -1
  268. package/dist/proto-rest/plapi.d.ts.map +0 -1
  269. package/dist/test/tcp-proxy.d.ts.map +0 -1
  270. package/dist/test/test_config.d.ts.map +0 -1
  271. package/dist/util/branding.d.ts +0 -7
  272. package/dist/util/branding.d.ts.map +0 -1
  273. package/dist/util/pl.d.ts +0 -9
  274. package/dist/util/pl.d.ts.map +0 -1
  275. package/dist/util/util.d.ts +0 -2
  276. package/dist/util/util.d.ts.map +0 -1
@@ -1,240 +1,225 @@
1
- 'use strict';
2
1
 
3
- // @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
4
- // @generated from protobuf file "google/rpc/code.proto" (package "google.rpc", syntax proto3)
5
- // tslint:disable
6
- //
7
- // Copyright 2025 Google LLC
8
- //
9
- // Licensed under the Apache License, Version 2.0 (the "License");
10
- // you may not use this file except in compliance with the License.
11
- // You may obtain a copy of the License at
12
- //
13
- // http://www.apache.org/licenses/LICENSE-2.0
14
- //
15
- // Unless required by applicable law or agreed to in writing, software
16
- // distributed under the License is distributed on an "AS IS" BASIS,
17
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
- // See the License for the specific language governing permissions and
19
- // limitations under the License.
20
- //
2
+ //#region src/proto-grpc/google/rpc/code.ts
21
3
  /**
22
- * The canonical error codes for gRPC APIs.
23
- *
24
- *
25
- * Sometimes multiple error codes may apply. Services should return
26
- * the most specific error code that applies. For example, prefer
27
- * `OUT_OF_RANGE` over `FAILED_PRECONDITION` if both codes apply.
28
- * Similarly prefer `NOT_FOUND` or `ALREADY_EXISTS` over `FAILED_PRECONDITION`.
29
- *
30
- * @generated from protobuf enum google.rpc.Code
31
- */
32
- exports.Code = void 0;
33
- (function (Code) {
34
- /**
35
- * Not an error; returned on success.
36
- *
37
- * HTTP Mapping: 200 OK
38
- *
39
- * @generated from protobuf enum value: OK = 0;
40
- */
41
- Code[Code["OK"] = 0] = "OK";
42
- /**
43
- * The operation was cancelled, typically by the caller.
44
- *
45
- * HTTP Mapping: 499 Client Closed Request
46
- *
47
- * @generated from protobuf enum value: CANCELLED = 1;
48
- */
49
- Code[Code["CANCELLED"] = 1] = "CANCELLED";
50
- /**
51
- * Unknown error. For example, this error may be returned when
52
- * a `Status` value received from another address space belongs to
53
- * an error space that is not known in this address space. Also
54
- * errors raised by APIs that do not return enough error information
55
- * may be converted to this error.
56
- *
57
- * HTTP Mapping: 500 Internal Server Error
58
- *
59
- * @generated from protobuf enum value: UNKNOWN = 2;
60
- */
61
- Code[Code["UNKNOWN"] = 2] = "UNKNOWN";
62
- /**
63
- * The client specified an invalid argument. Note that this differs
64
- * from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments
65
- * that are problematic regardless of the state of the system
66
- * (e.g., a malformed file name).
67
- *
68
- * HTTP Mapping: 400 Bad Request
69
- *
70
- * @generated from protobuf enum value: INVALID_ARGUMENT = 3;
71
- */
72
- Code[Code["INVALID_ARGUMENT"] = 3] = "INVALID_ARGUMENT";
73
- /**
74
- * The deadline expired before the operation could complete. For operations
75
- * that change the state of the system, this error may be returned
76
- * even if the operation has completed successfully. For example, a
77
- * successful response from a server could have been delayed long
78
- * enough for the deadline to expire.
79
- *
80
- * HTTP Mapping: 504 Gateway Timeout
81
- *
82
- * @generated from protobuf enum value: DEADLINE_EXCEEDED = 4;
83
- */
84
- Code[Code["DEADLINE_EXCEEDED"] = 4] = "DEADLINE_EXCEEDED";
85
- /**
86
- * Some requested entity (e.g., file or directory) was not found.
87
- *
88
- * Note to server developers: if a request is denied for an entire class
89
- * of users, such as gradual feature rollout or undocumented allowlist,
90
- * `NOT_FOUND` may be used. If a request is denied for some users within
91
- * a class of users, such as user-based access control, `PERMISSION_DENIED`
92
- * must be used.
93
- *
94
- * HTTP Mapping: 404 Not Found
95
- *
96
- * @generated from protobuf enum value: NOT_FOUND = 5;
97
- */
98
- Code[Code["NOT_FOUND"] = 5] = "NOT_FOUND";
99
- /**
100
- * The entity that a client attempted to create (e.g., file or directory)
101
- * already exists.
102
- *
103
- * HTTP Mapping: 409 Conflict
104
- *
105
- * @generated from protobuf enum value: ALREADY_EXISTS = 6;
106
- */
107
- Code[Code["ALREADY_EXISTS"] = 6] = "ALREADY_EXISTS";
108
- /**
109
- * The caller does not have permission to execute the specified
110
- * operation. `PERMISSION_DENIED` must not be used for rejections
111
- * caused by exhausting some resource (use `RESOURCE_EXHAUSTED`
112
- * instead for those errors). `PERMISSION_DENIED` must not be
113
- * used if the caller can not be identified (use `UNAUTHENTICATED`
114
- * instead for those errors). This error code does not imply the
115
- * request is valid or the requested entity exists or satisfies
116
- * other pre-conditions.
117
- *
118
- * HTTP Mapping: 403 Forbidden
119
- *
120
- * @generated from protobuf enum value: PERMISSION_DENIED = 7;
121
- */
122
- Code[Code["PERMISSION_DENIED"] = 7] = "PERMISSION_DENIED";
123
- /**
124
- * The request does not have valid authentication credentials for the
125
- * operation.
126
- *
127
- * HTTP Mapping: 401 Unauthorized
128
- *
129
- * @generated from protobuf enum value: UNAUTHENTICATED = 16;
130
- */
131
- Code[Code["UNAUTHENTICATED"] = 16] = "UNAUTHENTICATED";
132
- /**
133
- * Some resource has been exhausted, perhaps a per-user quota, or
134
- * perhaps the entire file system is out of space.
135
- *
136
- * HTTP Mapping: 429 Too Many Requests
137
- *
138
- * @generated from protobuf enum value: RESOURCE_EXHAUSTED = 8;
139
- */
140
- Code[Code["RESOURCE_EXHAUSTED"] = 8] = "RESOURCE_EXHAUSTED";
141
- /**
142
- * The operation was rejected because the system is not in a state
143
- * required for the operation's execution. For example, the directory
144
- * to be deleted is non-empty, an rmdir operation is applied to
145
- * a non-directory, etc.
146
- *
147
- * Service implementors can use the following guidelines to decide
148
- * between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`:
149
- * (a) Use `UNAVAILABLE` if the client can retry just the failing call.
150
- * (b) Use `ABORTED` if the client should retry at a higher level. For
151
- * example, when a client-specified test-and-set fails, indicating the
152
- * client should restart a read-modify-write sequence.
153
- * (c) Use `FAILED_PRECONDITION` if the client should not retry until
154
- * the system state has been explicitly fixed. For example, if an "rmdir"
155
- * fails because the directory is non-empty, `FAILED_PRECONDITION`
156
- * should be returned since the client should not retry unless
157
- * the files are deleted from the directory.
158
- *
159
- * HTTP Mapping: 400 Bad Request
160
- *
161
- * @generated from protobuf enum value: FAILED_PRECONDITION = 9;
162
- */
163
- Code[Code["FAILED_PRECONDITION"] = 9] = "FAILED_PRECONDITION";
164
- /**
165
- * The operation was aborted, typically due to a concurrency issue such as
166
- * a sequencer check failure or transaction abort.
167
- *
168
- * See the guidelines above for deciding between `FAILED_PRECONDITION`,
169
- * `ABORTED`, and `UNAVAILABLE`.
170
- *
171
- * HTTP Mapping: 409 Conflict
172
- *
173
- * @generated from protobuf enum value: ABORTED = 10;
174
- */
175
- Code[Code["ABORTED"] = 10] = "ABORTED";
176
- /**
177
- * The operation was attempted past the valid range. E.g., seeking or
178
- * reading past end-of-file.
179
- *
180
- * Unlike `INVALID_ARGUMENT`, this error indicates a problem that may
181
- * be fixed if the system state changes. For example, a 32-bit file
182
- * system will generate `INVALID_ARGUMENT` if asked to read at an
183
- * offset that is not in the range [0,2^32-1], but it will generate
184
- * `OUT_OF_RANGE` if asked to read from an offset past the current
185
- * file size.
186
- *
187
- * There is a fair bit of overlap between `FAILED_PRECONDITION` and
188
- * `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific
189
- * error) when it applies so that callers who are iterating through
190
- * a space can easily look for an `OUT_OF_RANGE` error to detect when
191
- * they are done.
192
- *
193
- * HTTP Mapping: 400 Bad Request
194
- *
195
- * @generated from protobuf enum value: OUT_OF_RANGE = 11;
196
- */
197
- Code[Code["OUT_OF_RANGE"] = 11] = "OUT_OF_RANGE";
198
- /**
199
- * The operation is not implemented or is not supported/enabled in this
200
- * service.
201
- *
202
- * HTTP Mapping: 501 Not Implemented
203
- *
204
- * @generated from protobuf enum value: UNIMPLEMENTED = 12;
205
- */
206
- Code[Code["UNIMPLEMENTED"] = 12] = "UNIMPLEMENTED";
207
- /**
208
- * Internal errors. This means that some invariants expected by the
209
- * underlying system have been broken. This error code is reserved
210
- * for serious errors.
211
- *
212
- * HTTP Mapping: 500 Internal Server Error
213
- *
214
- * @generated from protobuf enum value: INTERNAL = 13;
215
- */
216
- Code[Code["INTERNAL"] = 13] = "INTERNAL";
217
- /**
218
- * The service is currently unavailable. This is most likely a
219
- * transient condition, which can be corrected by retrying with
220
- * a backoff. Note that it is not always safe to retry
221
- * non-idempotent operations.
222
- *
223
- * See the guidelines above for deciding between `FAILED_PRECONDITION`,
224
- * `ABORTED`, and `UNAVAILABLE`.
225
- *
226
- * HTTP Mapping: 503 Service Unavailable
227
- *
228
- * @generated from protobuf enum value: UNAVAILABLE = 14;
229
- */
230
- Code[Code["UNAVAILABLE"] = 14] = "UNAVAILABLE";
231
- /**
232
- * Unrecoverable data loss or corruption.
233
- *
234
- * HTTP Mapping: 500 Internal Server Error
235
- *
236
- * @generated from protobuf enum value: DATA_LOSS = 15;
237
- */
238
- Code[Code["DATA_LOSS"] = 15] = "DATA_LOSS";
239
- })(exports.Code || (exports.Code = {}));
240
- //# sourceMappingURL=code.cjs.map
4
+ * The canonical error codes for gRPC APIs.
5
+ *
6
+ *
7
+ * Sometimes multiple error codes may apply. Services should return
8
+ * the most specific error code that applies. For example, prefer
9
+ * `OUT_OF_RANGE` over `FAILED_PRECONDITION` if both codes apply.
10
+ * Similarly prefer `NOT_FOUND` or `ALREADY_EXISTS` over `FAILED_PRECONDITION`.
11
+ *
12
+ * @generated from protobuf enum google.rpc.Code
13
+ */
14
+ let Code = /* @__PURE__ */ function(Code) {
15
+ /**
16
+ * Not an error; returned on success.
17
+ *
18
+ * HTTP Mapping: 200 OK
19
+ *
20
+ * @generated from protobuf enum value: OK = 0;
21
+ */
22
+ Code[Code["OK"] = 0] = "OK";
23
+ /**
24
+ * The operation was cancelled, typically by the caller.
25
+ *
26
+ * HTTP Mapping: 499 Client Closed Request
27
+ *
28
+ * @generated from protobuf enum value: CANCELLED = 1;
29
+ */
30
+ Code[Code["CANCELLED"] = 1] = "CANCELLED";
31
+ /**
32
+ * Unknown error. For example, this error may be returned when
33
+ * a `Status` value received from another address space belongs to
34
+ * an error space that is not known in this address space. Also
35
+ * errors raised by APIs that do not return enough error information
36
+ * may be converted to this error.
37
+ *
38
+ * HTTP Mapping: 500 Internal Server Error
39
+ *
40
+ * @generated from protobuf enum value: UNKNOWN = 2;
41
+ */
42
+ Code[Code["UNKNOWN"] = 2] = "UNKNOWN";
43
+ /**
44
+ * The client specified an invalid argument. Note that this differs
45
+ * from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments
46
+ * that are problematic regardless of the state of the system
47
+ * (e.g., a malformed file name).
48
+ *
49
+ * HTTP Mapping: 400 Bad Request
50
+ *
51
+ * @generated from protobuf enum value: INVALID_ARGUMENT = 3;
52
+ */
53
+ Code[Code["INVALID_ARGUMENT"] = 3] = "INVALID_ARGUMENT";
54
+ /**
55
+ * The deadline expired before the operation could complete. For operations
56
+ * that change the state of the system, this error may be returned
57
+ * even if the operation has completed successfully. For example, a
58
+ * successful response from a server could have been delayed long
59
+ * enough for the deadline to expire.
60
+ *
61
+ * HTTP Mapping: 504 Gateway Timeout
62
+ *
63
+ * @generated from protobuf enum value: DEADLINE_EXCEEDED = 4;
64
+ */
65
+ Code[Code["DEADLINE_EXCEEDED"] = 4] = "DEADLINE_EXCEEDED";
66
+ /**
67
+ * Some requested entity (e.g., file or directory) was not found.
68
+ *
69
+ * Note to server developers: if a request is denied for an entire class
70
+ * of users, such as gradual feature rollout or undocumented allowlist,
71
+ * `NOT_FOUND` may be used. If a request is denied for some users within
72
+ * a class of users, such as user-based access control, `PERMISSION_DENIED`
73
+ * must be used.
74
+ *
75
+ * HTTP Mapping: 404 Not Found
76
+ *
77
+ * @generated from protobuf enum value: NOT_FOUND = 5;
78
+ */
79
+ Code[Code["NOT_FOUND"] = 5] = "NOT_FOUND";
80
+ /**
81
+ * The entity that a client attempted to create (e.g., file or directory)
82
+ * already exists.
83
+ *
84
+ * HTTP Mapping: 409 Conflict
85
+ *
86
+ * @generated from protobuf enum value: ALREADY_EXISTS = 6;
87
+ */
88
+ Code[Code["ALREADY_EXISTS"] = 6] = "ALREADY_EXISTS";
89
+ /**
90
+ * The caller does not have permission to execute the specified
91
+ * operation. `PERMISSION_DENIED` must not be used for rejections
92
+ * caused by exhausting some resource (use `RESOURCE_EXHAUSTED`
93
+ * instead for those errors). `PERMISSION_DENIED` must not be
94
+ * used if the caller can not be identified (use `UNAUTHENTICATED`
95
+ * instead for those errors). This error code does not imply the
96
+ * request is valid or the requested entity exists or satisfies
97
+ * other pre-conditions.
98
+ *
99
+ * HTTP Mapping: 403 Forbidden
100
+ *
101
+ * @generated from protobuf enum value: PERMISSION_DENIED = 7;
102
+ */
103
+ Code[Code["PERMISSION_DENIED"] = 7] = "PERMISSION_DENIED";
104
+ /**
105
+ * The request does not have valid authentication credentials for the
106
+ * operation.
107
+ *
108
+ * HTTP Mapping: 401 Unauthorized
109
+ *
110
+ * @generated from protobuf enum value: UNAUTHENTICATED = 16;
111
+ */
112
+ Code[Code["UNAUTHENTICATED"] = 16] = "UNAUTHENTICATED";
113
+ /**
114
+ * Some resource has been exhausted, perhaps a per-user quota, or
115
+ * perhaps the entire file system is out of space.
116
+ *
117
+ * HTTP Mapping: 429 Too Many Requests
118
+ *
119
+ * @generated from protobuf enum value: RESOURCE_EXHAUSTED = 8;
120
+ */
121
+ Code[Code["RESOURCE_EXHAUSTED"] = 8] = "RESOURCE_EXHAUSTED";
122
+ /**
123
+ * The operation was rejected because the system is not in a state
124
+ * required for the operation's execution. For example, the directory
125
+ * to be deleted is non-empty, an rmdir operation is applied to
126
+ * a non-directory, etc.
127
+ *
128
+ * Service implementors can use the following guidelines to decide
129
+ * between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`:
130
+ * (a) Use `UNAVAILABLE` if the client can retry just the failing call.
131
+ * (b) Use `ABORTED` if the client should retry at a higher level. For
132
+ * example, when a client-specified test-and-set fails, indicating the
133
+ * client should restart a read-modify-write sequence.
134
+ * (c) Use `FAILED_PRECONDITION` if the client should not retry until
135
+ * the system state has been explicitly fixed. For example, if an "rmdir"
136
+ * fails because the directory is non-empty, `FAILED_PRECONDITION`
137
+ * should be returned since the client should not retry unless
138
+ * the files are deleted from the directory.
139
+ *
140
+ * HTTP Mapping: 400 Bad Request
141
+ *
142
+ * @generated from protobuf enum value: FAILED_PRECONDITION = 9;
143
+ */
144
+ Code[Code["FAILED_PRECONDITION"] = 9] = "FAILED_PRECONDITION";
145
+ /**
146
+ * The operation was aborted, typically due to a concurrency issue such as
147
+ * a sequencer check failure or transaction abort.
148
+ *
149
+ * See the guidelines above for deciding between `FAILED_PRECONDITION`,
150
+ * `ABORTED`, and `UNAVAILABLE`.
151
+ *
152
+ * HTTP Mapping: 409 Conflict
153
+ *
154
+ * @generated from protobuf enum value: ABORTED = 10;
155
+ */
156
+ Code[Code["ABORTED"] = 10] = "ABORTED";
157
+ /**
158
+ * The operation was attempted past the valid range. E.g., seeking or
159
+ * reading past end-of-file.
160
+ *
161
+ * Unlike `INVALID_ARGUMENT`, this error indicates a problem that may
162
+ * be fixed if the system state changes. For example, a 32-bit file
163
+ * system will generate `INVALID_ARGUMENT` if asked to read at an
164
+ * offset that is not in the range [0,2^32-1], but it will generate
165
+ * `OUT_OF_RANGE` if asked to read from an offset past the current
166
+ * file size.
167
+ *
168
+ * There is a fair bit of overlap between `FAILED_PRECONDITION` and
169
+ * `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific
170
+ * error) when it applies so that callers who are iterating through
171
+ * a space can easily look for an `OUT_OF_RANGE` error to detect when
172
+ * they are done.
173
+ *
174
+ * HTTP Mapping: 400 Bad Request
175
+ *
176
+ * @generated from protobuf enum value: OUT_OF_RANGE = 11;
177
+ */
178
+ Code[Code["OUT_OF_RANGE"] = 11] = "OUT_OF_RANGE";
179
+ /**
180
+ * The operation is not implemented or is not supported/enabled in this
181
+ * service.
182
+ *
183
+ * HTTP Mapping: 501 Not Implemented
184
+ *
185
+ * @generated from protobuf enum value: UNIMPLEMENTED = 12;
186
+ */
187
+ Code[Code["UNIMPLEMENTED"] = 12] = "UNIMPLEMENTED";
188
+ /**
189
+ * Internal errors. This means that some invariants expected by the
190
+ * underlying system have been broken. This error code is reserved
191
+ * for serious errors.
192
+ *
193
+ * HTTP Mapping: 500 Internal Server Error
194
+ *
195
+ * @generated from protobuf enum value: INTERNAL = 13;
196
+ */
197
+ Code[Code["INTERNAL"] = 13] = "INTERNAL";
198
+ /**
199
+ * The service is currently unavailable. This is most likely a
200
+ * transient condition, which can be corrected by retrying with
201
+ * a backoff. Note that it is not always safe to retry
202
+ * non-idempotent operations.
203
+ *
204
+ * See the guidelines above for deciding between `FAILED_PRECONDITION`,
205
+ * `ABORTED`, and `UNAVAILABLE`.
206
+ *
207
+ * HTTP Mapping: 503 Service Unavailable
208
+ *
209
+ * @generated from protobuf enum value: UNAVAILABLE = 14;
210
+ */
211
+ Code[Code["UNAVAILABLE"] = 14] = "UNAVAILABLE";
212
+ /**
213
+ * Unrecoverable data loss or corruption.
214
+ *
215
+ * HTTP Mapping: 500 Internal Server Error
216
+ *
217
+ * @generated from protobuf enum value: DATA_LOSS = 15;
218
+ */
219
+ Code[Code["DATA_LOSS"] = 15] = "DATA_LOSS";
220
+ return Code;
221
+ }({});
222
+
223
+ //#endregion
224
+ exports.Code = Code;
225
+ //# sourceMappingURL=code.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"code.cjs","sources":["../../../../src/proto-grpc/google/rpc/code.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"google/rpc/code.proto\" (package \"google.rpc\", syntax proto3)\n// tslint:disable\n//\n// Copyright 2025 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n//\n/**\n * The canonical error codes for gRPC APIs.\n *\n *\n * Sometimes multiple error codes may apply. Services should return\n * the most specific error code that applies. For example, prefer\n * `OUT_OF_RANGE` over `FAILED_PRECONDITION` if both codes apply.\n * Similarly prefer `NOT_FOUND` or `ALREADY_EXISTS` over `FAILED_PRECONDITION`.\n *\n * @generated from protobuf enum google.rpc.Code\n */\nexport enum Code {\n /**\n * Not an error; returned on success.\n *\n * HTTP Mapping: 200 OK\n *\n * @generated from protobuf enum value: OK = 0;\n */\n OK = 0,\n /**\n * The operation was cancelled, typically by the caller.\n *\n * HTTP Mapping: 499 Client Closed Request\n *\n * @generated from protobuf enum value: CANCELLED = 1;\n */\n CANCELLED = 1,\n /**\n * Unknown error. For example, this error may be returned when\n * a `Status` value received from another address space belongs to\n * an error space that is not known in this address space. Also\n * errors raised by APIs that do not return enough error information\n * may be converted to this error.\n *\n * HTTP Mapping: 500 Internal Server Error\n *\n * @generated from protobuf enum value: UNKNOWN = 2;\n */\n UNKNOWN = 2,\n /**\n * The client specified an invalid argument. Note that this differs\n * from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments\n * that are problematic regardless of the state of the system\n * (e.g., a malformed file name).\n *\n * HTTP Mapping: 400 Bad Request\n *\n * @generated from protobuf enum value: INVALID_ARGUMENT = 3;\n */\n INVALID_ARGUMENT = 3,\n /**\n * The deadline expired before the operation could complete. For operations\n * that change the state of the system, this error may be returned\n * even if the operation has completed successfully. For example, a\n * successful response from a server could have been delayed long\n * enough for the deadline to expire.\n *\n * HTTP Mapping: 504 Gateway Timeout\n *\n * @generated from protobuf enum value: DEADLINE_EXCEEDED = 4;\n */\n DEADLINE_EXCEEDED = 4,\n /**\n * Some requested entity (e.g., file or directory) was not found.\n *\n * Note to server developers: if a request is denied for an entire class\n * of users, such as gradual feature rollout or undocumented allowlist,\n * `NOT_FOUND` may be used. If a request is denied for some users within\n * a class of users, such as user-based access control, `PERMISSION_DENIED`\n * must be used.\n *\n * HTTP Mapping: 404 Not Found\n *\n * @generated from protobuf enum value: NOT_FOUND = 5;\n */\n NOT_FOUND = 5,\n /**\n * The entity that a client attempted to create (e.g., file or directory)\n * already exists.\n *\n * HTTP Mapping: 409 Conflict\n *\n * @generated from protobuf enum value: ALREADY_EXISTS = 6;\n */\n ALREADY_EXISTS = 6,\n /**\n * The caller does not have permission to execute the specified\n * operation. `PERMISSION_DENIED` must not be used for rejections\n * caused by exhausting some resource (use `RESOURCE_EXHAUSTED`\n * instead for those errors). `PERMISSION_DENIED` must not be\n * used if the caller can not be identified (use `UNAUTHENTICATED`\n * instead for those errors). This error code does not imply the\n * request is valid or the requested entity exists or satisfies\n * other pre-conditions.\n *\n * HTTP Mapping: 403 Forbidden\n *\n * @generated from protobuf enum value: PERMISSION_DENIED = 7;\n */\n PERMISSION_DENIED = 7,\n /**\n * The request does not have valid authentication credentials for the\n * operation.\n *\n * HTTP Mapping: 401 Unauthorized\n *\n * @generated from protobuf enum value: UNAUTHENTICATED = 16;\n */\n UNAUTHENTICATED = 16,\n /**\n * Some resource has been exhausted, perhaps a per-user quota, or\n * perhaps the entire file system is out of space.\n *\n * HTTP Mapping: 429 Too Many Requests\n *\n * @generated from protobuf enum value: RESOURCE_EXHAUSTED = 8;\n */\n RESOURCE_EXHAUSTED = 8,\n /**\n * The operation was rejected because the system is not in a state\n * required for the operation's execution. For example, the directory\n * to be deleted is non-empty, an rmdir operation is applied to\n * a non-directory, etc.\n *\n * Service implementors can use the following guidelines to decide\n * between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`:\n * (a) Use `UNAVAILABLE` if the client can retry just the failing call.\n * (b) Use `ABORTED` if the client should retry at a higher level. For\n * example, when a client-specified test-and-set fails, indicating the\n * client should restart a read-modify-write sequence.\n * (c) Use `FAILED_PRECONDITION` if the client should not retry until\n * the system state has been explicitly fixed. For example, if an \"rmdir\"\n * fails because the directory is non-empty, `FAILED_PRECONDITION`\n * should be returned since the client should not retry unless\n * the files are deleted from the directory.\n *\n * HTTP Mapping: 400 Bad Request\n *\n * @generated from protobuf enum value: FAILED_PRECONDITION = 9;\n */\n FAILED_PRECONDITION = 9,\n /**\n * The operation was aborted, typically due to a concurrency issue such as\n * a sequencer check failure or transaction abort.\n *\n * See the guidelines above for deciding between `FAILED_PRECONDITION`,\n * `ABORTED`, and `UNAVAILABLE`.\n *\n * HTTP Mapping: 409 Conflict\n *\n * @generated from protobuf enum value: ABORTED = 10;\n */\n ABORTED = 10,\n /**\n * The operation was attempted past the valid range. E.g., seeking or\n * reading past end-of-file.\n *\n * Unlike `INVALID_ARGUMENT`, this error indicates a problem that may\n * be fixed if the system state changes. For example, a 32-bit file\n * system will generate `INVALID_ARGUMENT` if asked to read at an\n * offset that is not in the range [0,2^32-1], but it will generate\n * `OUT_OF_RANGE` if asked to read from an offset past the current\n * file size.\n *\n * There is a fair bit of overlap between `FAILED_PRECONDITION` and\n * `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific\n * error) when it applies so that callers who are iterating through\n * a space can easily look for an `OUT_OF_RANGE` error to detect when\n * they are done.\n *\n * HTTP Mapping: 400 Bad Request\n *\n * @generated from protobuf enum value: OUT_OF_RANGE = 11;\n */\n OUT_OF_RANGE = 11,\n /**\n * The operation is not implemented or is not supported/enabled in this\n * service.\n *\n * HTTP Mapping: 501 Not Implemented\n *\n * @generated from protobuf enum value: UNIMPLEMENTED = 12;\n */\n UNIMPLEMENTED = 12,\n /**\n * Internal errors. This means that some invariants expected by the\n * underlying system have been broken. This error code is reserved\n * for serious errors.\n *\n * HTTP Mapping: 500 Internal Server Error\n *\n * @generated from protobuf enum value: INTERNAL = 13;\n */\n INTERNAL = 13,\n /**\n * The service is currently unavailable. This is most likely a\n * transient condition, which can be corrected by retrying with\n * a backoff. Note that it is not always safe to retry\n * non-idempotent operations.\n *\n * See the guidelines above for deciding between `FAILED_PRECONDITION`,\n * `ABORTED`, and `UNAVAILABLE`.\n *\n * HTTP Mapping: 503 Service Unavailable\n *\n * @generated from protobuf enum value: UNAVAILABLE = 14;\n */\n UNAVAILABLE = 14,\n /**\n * Unrecoverable data loss or corruption.\n *\n * HTTP Mapping: 500 Internal Server Error\n *\n * @generated from protobuf enum value: DATA_LOSS = 15;\n */\n DATA_LOSS = 15\n}\n"],"names":["Code"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;AAUG;AACSA;AAAZ,CAAA,UAAY,IAAI,EAAA;AACZ;;;;;;AAMG;AACH,IAAA,IAAA,CAAA,IAAA,CAAA,IAAA,CAAA,GAAA,CAAA,CAAA,GAAA,IAAM;AACN;;;;;;AAMG;AACH,IAAA,IAAA,CAAA,IAAA,CAAA,WAAA,CAAA,GAAA,CAAA,CAAA,GAAA,WAAa;AACb;;;;;;;;;;AAUG;AACH,IAAA,IAAA,CAAA,IAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAW;AACX;;;;;;;;;AASG;AACH,IAAA,IAAA,CAAA,IAAA,CAAA,kBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,kBAAoB;AACpB;;;;;;;;;;AAUG;AACH,IAAA,IAAA,CAAA,IAAA,CAAA,mBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,mBAAqB;AACrB;;;;;;;;;;;;AAYG;AACH,IAAA,IAAA,CAAA,IAAA,CAAA,WAAA,CAAA,GAAA,CAAA,CAAA,GAAA,WAAa;AACb;;;;;;;AAOG;AACH,IAAA,IAAA,CAAA,IAAA,CAAA,gBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,gBAAkB;AAClB;;;;;;;;;;;;;AAaG;AACH,IAAA,IAAA,CAAA,IAAA,CAAA,mBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,mBAAqB;AACrB;;;;;;;AAOG;AACH,IAAA,IAAA,CAAA,IAAA,CAAA,iBAAA,CAAA,GAAA,EAAA,CAAA,GAAA,iBAAoB;AACpB;;;;;;;AAOG;AACH,IAAA,IAAA,CAAA,IAAA,CAAA,oBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,oBAAsB;AACtB;;;;;;;;;;;;;;;;;;;;;AAqBG;AACH,IAAA,IAAA,CAAA,IAAA,CAAA,qBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,qBAAuB;AACvB;;;;;;;;;;AAUG;AACH,IAAA,IAAA,CAAA,IAAA,CAAA,SAAA,CAAA,GAAA,EAAA,CAAA,GAAA,SAAY;AACZ;;;;;;;;;;;;;;;;;;;;AAoBG;AACH,IAAA,IAAA,CAAA,IAAA,CAAA,cAAA,CAAA,GAAA,EAAA,CAAA,GAAA,cAAiB;AACjB;;;;;;;AAOG;AACH,IAAA,IAAA,CAAA,IAAA,CAAA,eAAA,CAAA,GAAA,EAAA,CAAA,GAAA,eAAkB;AAClB;;;;;;;;AAQG;AACH,IAAA,IAAA,CAAA,IAAA,CAAA,UAAA,CAAA,GAAA,EAAA,CAAA,GAAA,UAAa;AACb;;;;;;;;;;;;AAYG;AACH,IAAA,IAAA,CAAA,IAAA,CAAA,aAAA,CAAA,GAAA,EAAA,CAAA,GAAA,aAAgB;AAChB;;;;;;AAMG;AACH,IAAA,IAAA,CAAA,IAAA,CAAA,WAAA,CAAA,GAAA,EAAA,CAAA,GAAA,WAAc;AAClB,CAAC,EA9MWA,YAAI,KAAJA,YAAI,GAAA,EAAA,CAAA,CAAA;;"}
1
+ {"version":3,"file":"code.cjs","names":[],"sources":["../../../../src/proto-grpc/google/rpc/code.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"google/rpc/code.proto\" (package \"google.rpc\", syntax proto3)\n// tslint:disable\n//\n// Copyright 2025 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n//\n/**\n * The canonical error codes for gRPC APIs.\n *\n *\n * Sometimes multiple error codes may apply. Services should return\n * the most specific error code that applies. For example, prefer\n * `OUT_OF_RANGE` over `FAILED_PRECONDITION` if both codes apply.\n * Similarly prefer `NOT_FOUND` or `ALREADY_EXISTS` over `FAILED_PRECONDITION`.\n *\n * @generated from protobuf enum google.rpc.Code\n */\nexport enum Code {\n /**\n * Not an error; returned on success.\n *\n * HTTP Mapping: 200 OK\n *\n * @generated from protobuf enum value: OK = 0;\n */\n OK = 0,\n /**\n * The operation was cancelled, typically by the caller.\n *\n * HTTP Mapping: 499 Client Closed Request\n *\n * @generated from protobuf enum value: CANCELLED = 1;\n */\n CANCELLED = 1,\n /**\n * Unknown error. For example, this error may be returned when\n * a `Status` value received from another address space belongs to\n * an error space that is not known in this address space. Also\n * errors raised by APIs that do not return enough error information\n * may be converted to this error.\n *\n * HTTP Mapping: 500 Internal Server Error\n *\n * @generated from protobuf enum value: UNKNOWN = 2;\n */\n UNKNOWN = 2,\n /**\n * The client specified an invalid argument. Note that this differs\n * from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments\n * that are problematic regardless of the state of the system\n * (e.g., a malformed file name).\n *\n * HTTP Mapping: 400 Bad Request\n *\n * @generated from protobuf enum value: INVALID_ARGUMENT = 3;\n */\n INVALID_ARGUMENT = 3,\n /**\n * The deadline expired before the operation could complete. For operations\n * that change the state of the system, this error may be returned\n * even if the operation has completed successfully. For example, a\n * successful response from a server could have been delayed long\n * enough for the deadline to expire.\n *\n * HTTP Mapping: 504 Gateway Timeout\n *\n * @generated from protobuf enum value: DEADLINE_EXCEEDED = 4;\n */\n DEADLINE_EXCEEDED = 4,\n /**\n * Some requested entity (e.g., file or directory) was not found.\n *\n * Note to server developers: if a request is denied for an entire class\n * of users, such as gradual feature rollout or undocumented allowlist,\n * `NOT_FOUND` may be used. If a request is denied for some users within\n * a class of users, such as user-based access control, `PERMISSION_DENIED`\n * must be used.\n *\n * HTTP Mapping: 404 Not Found\n *\n * @generated from protobuf enum value: NOT_FOUND = 5;\n */\n NOT_FOUND = 5,\n /**\n * The entity that a client attempted to create (e.g., file or directory)\n * already exists.\n *\n * HTTP Mapping: 409 Conflict\n *\n * @generated from protobuf enum value: ALREADY_EXISTS = 6;\n */\n ALREADY_EXISTS = 6,\n /**\n * The caller does not have permission to execute the specified\n * operation. `PERMISSION_DENIED` must not be used for rejections\n * caused by exhausting some resource (use `RESOURCE_EXHAUSTED`\n * instead for those errors). `PERMISSION_DENIED` must not be\n * used if the caller can not be identified (use `UNAUTHENTICATED`\n * instead for those errors). This error code does not imply the\n * request is valid or the requested entity exists or satisfies\n * other pre-conditions.\n *\n * HTTP Mapping: 403 Forbidden\n *\n * @generated from protobuf enum value: PERMISSION_DENIED = 7;\n */\n PERMISSION_DENIED = 7,\n /**\n * The request does not have valid authentication credentials for the\n * operation.\n *\n * HTTP Mapping: 401 Unauthorized\n *\n * @generated from protobuf enum value: UNAUTHENTICATED = 16;\n */\n UNAUTHENTICATED = 16,\n /**\n * Some resource has been exhausted, perhaps a per-user quota, or\n * perhaps the entire file system is out of space.\n *\n * HTTP Mapping: 429 Too Many Requests\n *\n * @generated from protobuf enum value: RESOURCE_EXHAUSTED = 8;\n */\n RESOURCE_EXHAUSTED = 8,\n /**\n * The operation was rejected because the system is not in a state\n * required for the operation's execution. For example, the directory\n * to be deleted is non-empty, an rmdir operation is applied to\n * a non-directory, etc.\n *\n * Service implementors can use the following guidelines to decide\n * between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`:\n * (a) Use `UNAVAILABLE` if the client can retry just the failing call.\n * (b) Use `ABORTED` if the client should retry at a higher level. For\n * example, when a client-specified test-and-set fails, indicating the\n * client should restart a read-modify-write sequence.\n * (c) Use `FAILED_PRECONDITION` if the client should not retry until\n * the system state has been explicitly fixed. For example, if an \"rmdir\"\n * fails because the directory is non-empty, `FAILED_PRECONDITION`\n * should be returned since the client should not retry unless\n * the files are deleted from the directory.\n *\n * HTTP Mapping: 400 Bad Request\n *\n * @generated from protobuf enum value: FAILED_PRECONDITION = 9;\n */\n FAILED_PRECONDITION = 9,\n /**\n * The operation was aborted, typically due to a concurrency issue such as\n * a sequencer check failure or transaction abort.\n *\n * See the guidelines above for deciding between `FAILED_PRECONDITION`,\n * `ABORTED`, and `UNAVAILABLE`.\n *\n * HTTP Mapping: 409 Conflict\n *\n * @generated from protobuf enum value: ABORTED = 10;\n */\n ABORTED = 10,\n /**\n * The operation was attempted past the valid range. E.g., seeking or\n * reading past end-of-file.\n *\n * Unlike `INVALID_ARGUMENT`, this error indicates a problem that may\n * be fixed if the system state changes. For example, a 32-bit file\n * system will generate `INVALID_ARGUMENT` if asked to read at an\n * offset that is not in the range [0,2^32-1], but it will generate\n * `OUT_OF_RANGE` if asked to read from an offset past the current\n * file size.\n *\n * There is a fair bit of overlap between `FAILED_PRECONDITION` and\n * `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific\n * error) when it applies so that callers who are iterating through\n * a space can easily look for an `OUT_OF_RANGE` error to detect when\n * they are done.\n *\n * HTTP Mapping: 400 Bad Request\n *\n * @generated from protobuf enum value: OUT_OF_RANGE = 11;\n */\n OUT_OF_RANGE = 11,\n /**\n * The operation is not implemented or is not supported/enabled in this\n * service.\n *\n * HTTP Mapping: 501 Not Implemented\n *\n * @generated from protobuf enum value: UNIMPLEMENTED = 12;\n */\n UNIMPLEMENTED = 12,\n /**\n * Internal errors. This means that some invariants expected by the\n * underlying system have been broken. This error code is reserved\n * for serious errors.\n *\n * HTTP Mapping: 500 Internal Server Error\n *\n * @generated from protobuf enum value: INTERNAL = 13;\n */\n INTERNAL = 13,\n /**\n * The service is currently unavailable. This is most likely a\n * transient condition, which can be corrected by retrying with\n * a backoff. Note that it is not always safe to retry\n * non-idempotent operations.\n *\n * See the guidelines above for deciding between `FAILED_PRECONDITION`,\n * `ABORTED`, and `UNAVAILABLE`.\n *\n * HTTP Mapping: 503 Service Unavailable\n *\n * @generated from protobuf enum value: UNAVAILABLE = 14;\n */\n UNAVAILABLE = 14,\n /**\n * Unrecoverable data loss or corruption.\n *\n * HTTP Mapping: 500 Internal Server Error\n *\n * @generated from protobuf enum value: DATA_LOSS = 15;\n */\n DATA_LOSS = 15\n}\n"],"mappings":";;;;;;;;;;;;;AA6BA,IAAY,OAAL;;;;;;;;AAQH;;;;;;;;AAQA;;;;;;;;;;;;AAYA;;;;;;;;;;;AAWA;;;;;;;;;;;;AAYA;;;;;;;;;;;;;;AAcA;;;;;;;;;AASA;;;;;;;;;;;;;;;AAeA;;;;;;;;;AASA;;;;;;;;;AASA;;;;;;;;;;;;;;;;;;;;;;;AAuBA;;;;;;;;;;;;AAYA;;;;;;;;;;;;;;;;;;;;;;AAsBA;;;;;;;;;AASA;;;;;;;;;;AAUA;;;;;;;;;;;;;;AAcA;;;;;;;;AAQA;;KACH"}