@milaboratories/pl-client 2.16.8 → 2.16.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 (253) hide show
  1. package/dist/__external/.pnpm/{@rollup_plugin-typescript@12.1.4_rollup@4.52.4_tslib@2.7.0_typescript@5.6.3 → @rollup_plugin-typescript@12.1.4_rollup@4.52.4_tslib@2.8.1_typescript@5.6.3}/__external/tslib/tslib.es6.cjs +2 -2
  2. package/dist/__external/.pnpm/{@rollup_plugin-typescript@12.1.4_rollup@4.52.4_tslib@2.7.0_typescript@5.6.3 → @rollup_plugin-typescript@12.1.4_rollup@4.52.4_tslib@2.8.1_typescript@5.6.3}/__external/tslib/tslib.es6.cjs.map +1 -1
  3. package/dist/__external/.pnpm/{@rollup_plugin-typescript@12.1.4_rollup@4.52.4_tslib@2.7.0_typescript@5.6.3 → @rollup_plugin-typescript@12.1.4_rollup@4.52.4_tslib@2.8.1_typescript@5.6.3}/__external/tslib/tslib.es6.js +2 -2
  4. package/dist/__external/.pnpm/{@rollup_plugin-typescript@12.1.4_rollup@4.52.4_tslib@2.7.0_typescript@5.6.3 → @rollup_plugin-typescript@12.1.4_rollup@4.52.4_tslib@2.8.1_typescript@5.6.3}/__external/tslib/tslib.es6.js.map +1 -1
  5. package/dist/core/abstract_stream.d.ts +18 -0
  6. package/dist/core/abstract_stream.d.ts.map +1 -0
  7. package/dist/core/client.cjs +6 -6
  8. package/dist/core/client.cjs.map +1 -1
  9. package/dist/core/client.d.ts +3 -3
  10. package/dist/core/client.d.ts.map +1 -1
  11. package/dist/core/client.js +6 -6
  12. package/dist/core/client.js.map +1 -1
  13. package/dist/core/config.cjs +3 -0
  14. package/dist/core/config.cjs.map +1 -1
  15. package/dist/core/config.d.ts +4 -0
  16. package/dist/core/config.d.ts.map +1 -1
  17. package/dist/core/config.js +3 -1
  18. package/dist/core/config.js.map +1 -1
  19. package/dist/core/driver.cjs +11 -0
  20. package/dist/core/driver.cjs.map +1 -1
  21. package/dist/core/driver.d.ts +8 -2
  22. package/dist/core/driver.d.ts.map +1 -1
  23. package/dist/core/driver.js +11 -1
  24. package/dist/core/driver.js.map +1 -1
  25. package/dist/core/errors.cjs +9 -0
  26. package/dist/core/errors.cjs.map +1 -1
  27. package/dist/core/errors.d.ts +1 -1
  28. package/dist/core/errors.d.ts.map +1 -1
  29. package/dist/core/errors.js +9 -0
  30. package/dist/core/errors.js.map +1 -1
  31. package/dist/core/ll_client.cjs +194 -39
  32. package/dist/core/ll_client.cjs.map +1 -1
  33. package/dist/core/ll_client.d.ts +36 -15
  34. package/dist/core/ll_client.d.ts.map +1 -1
  35. package/dist/core/ll_client.js +195 -40
  36. package/dist/core/ll_client.js.map +1 -1
  37. package/dist/core/ll_transaction.cjs.map +1 -1
  38. package/dist/core/ll_transaction.d.ts +3 -3
  39. package/dist/core/ll_transaction.d.ts.map +1 -1
  40. package/dist/core/ll_transaction.js.map +1 -1
  41. package/dist/core/transaction.cjs +2 -2
  42. package/dist/core/transaction.cjs.map +1 -1
  43. package/dist/core/transaction.js +2 -2
  44. package/dist/core/transaction.js.map +1 -1
  45. package/dist/core/type_conversion.cjs +2 -2
  46. package/dist/core/type_conversion.cjs.map +1 -1
  47. package/dist/core/type_conversion.d.ts +2 -2
  48. package/dist/core/type_conversion.d.ts.map +1 -1
  49. package/dist/core/type_conversion.js +2 -2
  50. package/dist/core/type_conversion.js.map +1 -1
  51. package/dist/core/unauth_client.cjs +4 -8
  52. package/dist/core/unauth_client.cjs.map +1 -1
  53. package/dist/core/unauth_client.d.ts +1 -1
  54. package/dist/core/unauth_client.d.ts.map +1 -1
  55. package/dist/core/unauth_client.js +4 -8
  56. package/dist/core/unauth_client.js.map +1 -1
  57. package/dist/core/wire.d.ts +34 -0
  58. package/dist/core/wire.d.ts.map +1 -0
  59. package/dist/index.cjs +4 -0
  60. package/dist/index.cjs.map +1 -1
  61. package/dist/index.d.ts +2 -1
  62. package/dist/index.d.ts.map +1 -1
  63. package/dist/index.js +4 -2
  64. package/dist/index.js.map +1 -1
  65. package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.cjs.map +1 -0
  66. package/dist/{proto → proto-grpc}/github.com/googleapis/googleapis/google/rpc/status.d.ts +4 -2
  67. package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.d.ts.map +1 -0
  68. package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.js.map +1 -0
  69. package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api.cjs +25 -25
  70. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.cjs.map +1 -0
  71. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs.map +1 -0
  72. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +1 -0
  73. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.js.map +1 -0
  74. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -0
  75. package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api.js +25 -25
  76. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.js.map +1 -0
  77. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.cjs.map +1 -0
  78. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +1 -0
  79. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.js.map +1 -0
  80. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.cjs.map +1 -0
  81. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts.map +1 -0
  82. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.js.map +1 -0
  83. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts.map +1 -0
  84. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.cjs.map +1 -0
  85. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts.map +1 -0
  86. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js.map +1 -0
  87. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/ws-test.d.ts +73 -0
  88. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/ws-test.d.ts.map +1 -0
  89. package/dist/{proto → proto-grpc}/google/api/http.d.ts +28 -32
  90. package/dist/proto-grpc/google/api/http.d.ts.map +1 -0
  91. package/dist/proto-grpc/google/protobuf/any.cjs.map +1 -0
  92. package/dist/proto-grpc/google/protobuf/any.d.ts.map +1 -0
  93. package/dist/proto-grpc/google/protobuf/any.js.map +1 -0
  94. package/dist/{proto → proto-grpc}/google/protobuf/descriptor.d.ts +6 -152
  95. package/dist/proto-grpc/google/protobuf/descriptor.d.ts.map +1 -0
  96. package/dist/proto-grpc/google/protobuf/duration.cjs.map +1 -0
  97. package/dist/proto-grpc/google/protobuf/duration.d.ts.map +1 -0
  98. package/dist/proto-grpc/google/protobuf/duration.js.map +1 -0
  99. package/dist/proto-grpc/google/protobuf/empty.d.ts.map +1 -0
  100. package/dist/proto-grpc/google/protobuf/struct.d.ts.map +1 -0
  101. package/dist/proto-grpc/google/protobuf/timestamp.cjs.map +1 -0
  102. package/dist/proto-grpc/google/protobuf/timestamp.d.ts.map +1 -0
  103. package/dist/proto-grpc/google/protobuf/timestamp.js.map +1 -0
  104. package/dist/{proto → proto-grpc}/google/protobuf/wrappers.d.ts +0 -27
  105. package/dist/proto-grpc/google/protobuf/wrappers.d.ts.map +1 -0
  106. package/dist/proto-grpc/google/rpc/code.cjs +240 -0
  107. package/dist/proto-grpc/google/rpc/code.cjs.map +1 -0
  108. package/dist/proto-grpc/google/rpc/code.d.ts +219 -0
  109. package/dist/proto-grpc/google/rpc/code.d.ts.map +1 -0
  110. package/dist/proto-grpc/google/rpc/code.js +240 -0
  111. package/dist/proto-grpc/google/rpc/code.js.map +1 -0
  112. package/dist/proto-grpc/google/rpc/error_details.d.ts +654 -0
  113. package/dist/proto-grpc/google/rpc/error_details.d.ts.map +1 -0
  114. package/dist/proto-grpc/google/rpc/http.d.ts +121 -0
  115. package/dist/proto-grpc/google/rpc/http.d.ts.map +1 -0
  116. package/dist/proto-grpc/google/rpc/status.d.ts +55 -0
  117. package/dist/proto-grpc/google/rpc/status.d.ts.map +1 -0
  118. package/dist/proto-rest/index.cjs +64 -0
  119. package/dist/proto-rest/index.cjs.map +1 -0
  120. package/dist/proto-rest/index.d.ts +23 -0
  121. package/dist/proto-rest/index.d.ts.map +1 -0
  122. package/dist/proto-rest/index.js +61 -0
  123. package/dist/proto-rest/index.js.map +1 -0
  124. package/dist/proto-rest/plapi.d.ts +1488 -0
  125. package/dist/proto-rest/plapi.d.ts.map +1 -0
  126. package/package.json +7 -4
  127. package/src/core/abstract_stream.ts +25 -0
  128. package/src/core/client.ts +8 -8
  129. package/src/core/config.ts +9 -0
  130. package/src/core/driver.ts +13 -2
  131. package/src/core/errors.ts +7 -1
  132. package/src/core/ll_client.test.ts +1 -1
  133. package/src/core/ll_client.ts +212 -42
  134. package/src/core/ll_transaction.test.ts +1 -1
  135. package/src/core/ll_transaction.ts +4 -4
  136. package/src/core/transaction.ts +1 -1
  137. package/src/core/type_conversion.ts +3 -3
  138. package/src/core/unauth_client.test.ts +6 -0
  139. package/src/core/unauth_client.ts +8 -12
  140. package/src/core/wire.ts +40 -0
  141. package/src/index.ts +3 -1
  142. package/src/{proto → proto-grpc}/github.com/googleapis/googleapis/google/rpc/status.ts +5 -3
  143. package/src/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api.ts +25 -25
  144. package/src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/ws-test.ts +209 -0
  145. package/src/{proto → proto-grpc}/google/api/http.ts +29 -33
  146. package/src/{proto → proto-grpc}/google/protobuf/descriptor.ts +11 -221
  147. package/src/{proto → proto-grpc}/google/protobuf/wrappers.ts +4 -38
  148. package/src/proto-grpc/google/rpc/code.ts +236 -0
  149. package/src/proto-grpc/google/rpc/error_details.ts +1386 -0
  150. package/src/proto-grpc/google/rpc/http.ts +307 -0
  151. package/src/proto-grpc/google/rpc/status.ts +127 -0
  152. package/src/proto-rest/index.ts +83 -0
  153. package/src/proto-rest/plapi.ts +1488 -0
  154. package/dist/core/grpc.d.ts +0 -16
  155. package/dist/core/grpc.d.ts.map +0 -1
  156. package/dist/core/http.d.ts +0 -2
  157. package/dist/core/http.d.ts.map +0 -1
  158. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.cjs.map +0 -1
  159. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts.map +0 -1
  160. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.js.map +0 -1
  161. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +0 -40
  162. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts.map +0 -1
  163. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +0 -116
  164. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts.map +0 -1
  165. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts +0 -46
  166. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts.map +0 -1
  167. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts +0 -170
  168. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts.map +0 -1
  169. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts +0 -51
  170. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts.map +0 -1
  171. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +0 -176
  172. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +0 -1
  173. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts +0 -131
  174. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts.map +0 -1
  175. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts +0 -320
  176. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts.map +0 -1
  177. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.cjs.map +0 -1
  178. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs.map +0 -1
  179. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +0 -1
  180. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.js.map +0 -1
  181. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +0 -1
  182. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.js.map +0 -1
  183. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.cjs.map +0 -1
  184. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +0 -1
  185. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.js.map +0 -1
  186. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.cjs.map +0 -1
  187. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts.map +0 -1
  188. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.js.map +0 -1
  189. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts.map +0 -1
  190. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.cjs.map +0 -1
  191. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts.map +0 -1
  192. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js.map +0 -1
  193. package/dist/proto/google/api/http.d.ts.map +0 -1
  194. package/dist/proto/google/protobuf/any.cjs.map +0 -1
  195. package/dist/proto/google/protobuf/any.d.ts.map +0 -1
  196. package/dist/proto/google/protobuf/any.js.map +0 -1
  197. package/dist/proto/google/protobuf/descriptor.d.ts.map +0 -1
  198. package/dist/proto/google/protobuf/duration.cjs.map +0 -1
  199. package/dist/proto/google/protobuf/duration.d.ts.map +0 -1
  200. package/dist/proto/google/protobuf/duration.js.map +0 -1
  201. package/dist/proto/google/protobuf/empty.d.ts.map +0 -1
  202. package/dist/proto/google/protobuf/struct.d.ts.map +0 -1
  203. package/dist/proto/google/protobuf/timestamp.cjs.map +0 -1
  204. package/dist/proto/google/protobuf/timestamp.d.ts.map +0 -1
  205. package/dist/proto/google/protobuf/timestamp.js.map +0 -1
  206. package/dist/proto/google/protobuf/wrappers.d.ts.map +0 -1
  207. package/src/core/grpc.ts +0 -17
  208. package/src/core/http.ts +0 -178
  209. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts +0 -45
  210. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +0 -313
  211. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +0 -51
  212. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +0 -406
  213. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +0 -59
  214. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +0 -489
  215. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +0 -148
  216. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +0 -719
  217. /package/dist/{proto → proto-grpc}/github.com/googleapis/googleapis/google/rpc/status.cjs +0 -0
  218. /package/dist/{proto → proto-grpc}/github.com/googleapis/googleapis/google/rpc/status.js +0 -0
  219. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs +0 -0
  220. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +0 -0
  221. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api.client.js +0 -0
  222. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +0 -0
  223. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api_types.cjs +0 -0
  224. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +0 -0
  225. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api_types.js +0 -0
  226. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/base_types.cjs +0 -0
  227. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts +0 -0
  228. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/base_types.js +0 -0
  229. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts +0 -0
  230. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/resource_types.cjs +0 -0
  231. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts +0 -0
  232. /package/dist/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js +0 -0
  233. /package/dist/{proto → proto-grpc}/google/protobuf/any.cjs +0 -0
  234. /package/dist/{proto → proto-grpc}/google/protobuf/any.d.ts +0 -0
  235. /package/dist/{proto → proto-grpc}/google/protobuf/any.js +0 -0
  236. /package/dist/{proto → proto-grpc}/google/protobuf/duration.cjs +0 -0
  237. /package/dist/{proto → proto-grpc}/google/protobuf/duration.d.ts +0 -0
  238. /package/dist/{proto → proto-grpc}/google/protobuf/duration.js +0 -0
  239. /package/dist/{proto → proto-grpc}/google/protobuf/empty.d.ts +0 -0
  240. /package/dist/{proto → proto-grpc}/google/protobuf/struct.d.ts +0 -0
  241. /package/dist/{proto → proto-grpc}/google/protobuf/timestamp.cjs +0 -0
  242. /package/dist/{proto → proto-grpc}/google/protobuf/timestamp.d.ts +0 -0
  243. /package/dist/{proto → proto-grpc}/google/protobuf/timestamp.js +0 -0
  244. /package/src/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +0 -0
  245. /package/src/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts +0 -0
  246. /package/src/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/base_types.ts +0 -0
  247. /package/src/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/import.ts +0 -0
  248. /package/src/{proto → proto-grpc}/github.com/milaboratory/pl/plapi/plapiproto/resource_types.ts +0 -0
  249. /package/src/{proto → proto-grpc}/google/protobuf/any.ts +0 -0
  250. /package/src/{proto → proto-grpc}/google/protobuf/duration.ts +0 -0
  251. /package/src/{proto → proto-grpc}/google/protobuf/empty.ts +0 -0
  252. /package/src/{proto → proto-grpc}/google/protobuf/struct.ts +0 -0
  253. /package/src/{proto → proto-grpc}/google/protobuf/timestamp.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timestamp.js","sources":["../../../../src/proto-grpc/google/protobuf/timestamp.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/protobuf/timestamp.proto\" (package \"google.protobuf\", syntax proto3)\n// tslint:disable\n//\n// Protocol Buffers - Google's data interchange format\n// Copyright 2008 Google Inc. All rights reserved.\n// https://developers.google.com/protocol-buffers/\n//\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions are\n// met:\n//\n// * Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// * Redistributions in binary form must reproduce the above\n// copyright notice, this list of conditions and the following disclaimer\n// in the documentation and/or other materials provided with the\n// distribution.\n// * Neither the name of Google Inc. nor the names of its\n// contributors may be used to endorse or promote products derived from\n// this software without specific prior written permission.\n//\n// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n// \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n//\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { typeofJsonValue } from \"@protobuf-ts/runtime\";\nimport type { JsonValue } from \"@protobuf-ts/runtime\";\nimport type { JsonReadOptions } from \"@protobuf-ts/runtime\";\nimport type { JsonWriteOptions } from \"@protobuf-ts/runtime\";\nimport { PbLong } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\n/**\n * A Timestamp represents a point in time independent of any time zone or local\n * calendar, encoded as a count of seconds and fractions of seconds at\n * nanosecond resolution. The count is relative to an epoch at UTC midnight on\n * January 1, 1970, in the proleptic Gregorian calendar which extends the\n * Gregorian calendar backwards to year one.\n *\n * All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap\n * second table is needed for interpretation, using a [24-hour linear\n * smear](https://developers.google.com/time/smear).\n *\n * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By\n * restricting to that range, we ensure that we can convert to and from [RFC\n * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.\n *\n * # Examples\n *\n * Example 1: Compute Timestamp from POSIX `time()`.\n *\n * Timestamp timestamp;\n * timestamp.set_seconds(time(NULL));\n * timestamp.set_nanos(0);\n *\n * Example 2: Compute Timestamp from POSIX `gettimeofday()`.\n *\n * struct timeval tv;\n * gettimeofday(&tv, NULL);\n *\n * Timestamp timestamp;\n * timestamp.set_seconds(tv.tv_sec);\n * timestamp.set_nanos(tv.tv_usec * 1000);\n *\n * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.\n *\n * FILETIME ft;\n * GetSystemTimeAsFileTime(&ft);\n * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;\n *\n * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z\n * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.\n * Timestamp timestamp;\n * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));\n * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));\n *\n * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.\n *\n * long millis = System.currentTimeMillis();\n *\n * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)\n * .setNanos((int) ((millis % 1000) * 1000000)).build();\n *\n * Example 5: Compute Timestamp from Java `Instant.now()`.\n *\n * Instant now = Instant.now();\n *\n * Timestamp timestamp =\n * Timestamp.newBuilder().setSeconds(now.getEpochSecond())\n * .setNanos(now.getNano()).build();\n *\n * Example 6: Compute Timestamp from current time in Python.\n *\n * timestamp = Timestamp()\n * timestamp.GetCurrentTime()\n *\n * # JSON Mapping\n *\n * In JSON format, the Timestamp type is encoded as a string in the\n * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the\n * format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\"\n * where {year} is always expressed using four digits while {month}, {day},\n * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional\n * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),\n * are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone\n * is required. A proto3 JSON serializer should always use UTC (as indicated by\n * \"Z\") when printing the Timestamp type and a proto3 JSON parser should be\n * able to accept both UTC and other timezones (as indicated by an offset).\n *\n * For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past\n * 01:30 UTC on January 15, 2017.\n *\n * In JavaScript, one can convert a Date object to this format using the\n * standard\n * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)\n * method. In Python, a standard `datetime.datetime` object can be converted\n * to this format using\n * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with\n * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use\n * the Joda Time's [`ISODateTimeFormat.dateTime()`](\n * http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()\n * ) to obtain a formatter capable of generating timestamps in this format.\n *\n *\n * @generated from protobuf message google.protobuf.Timestamp\n */\nexport interface Timestamp {\n /**\n * Represents seconds of UTC time since Unix epoch\n * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to\n * 9999-12-31T23:59:59Z inclusive.\n *\n * @generated from protobuf field: int64 seconds = 1\n */\n seconds: bigint;\n /**\n * Non-negative fractions of a second at nanosecond resolution. Negative\n * second values with fractions must still have non-negative nanos values\n * that count forward in time. Must be from 0 to 999,999,999\n * inclusive.\n *\n * @generated from protobuf field: int32 nanos = 2\n */\n nanos: number;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Timestamp$Type extends MessageType<Timestamp> {\n constructor() {\n super(\"google.protobuf.Timestamp\", [\n { no: 1, name: \"seconds\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"nanos\", kind: \"scalar\", T: 5 /*ScalarType.INT32*/ }\n ]);\n }\n /**\n * Creates a new `Timestamp` for the current time.\n */\n now(): Timestamp {\n const msg = this.create();\n const ms = Date.now();\n msg.seconds = PbLong.from(Math.floor(ms / 1000)).toBigInt();\n msg.nanos = (ms % 1000) * 1000000;\n return msg;\n }\n /**\n * Converts a `Timestamp` to a JavaScript Date.\n */\n toDate(message: Timestamp): Date {\n return new Date(PbLong.from(message.seconds).toNumber() * 1000 + Math.ceil(message.nanos / 1000000));\n }\n /**\n * Converts a JavaScript Date to a `Timestamp`.\n */\n fromDate(date: Date): Timestamp {\n const msg = this.create();\n const ms = date.getTime();\n msg.seconds = PbLong.from(Math.floor(ms / 1000)).toBigInt();\n msg.nanos = ((ms % 1000) + (ms < 0 && ms % 1000 !== 0 ? 1000 : 0)) * 1000000;\n return msg;\n }\n /**\n * In JSON format, the `Timestamp` type is encoded as a string\n * in the RFC 3339 format.\n */\n internalJsonWrite(message: Timestamp, options: JsonWriteOptions): JsonValue {\n let ms = PbLong.from(message.seconds).toNumber() * 1000;\n if (ms < Date.parse(\"0001-01-01T00:00:00Z\") || ms > Date.parse(\"9999-12-31T23:59:59Z\"))\n throw new Error(\"Unable to encode Timestamp to JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.\");\n if (message.nanos < 0)\n throw new Error(\"Unable to encode invalid Timestamp to JSON. Nanos must not be negative.\");\n let z = \"Z\";\n if (message.nanos > 0) {\n let nanosStr = (message.nanos + 1000000000).toString().substring(1);\n if (nanosStr.substring(3) === \"000000\")\n z = \".\" + nanosStr.substring(0, 3) + \"Z\";\n else if (nanosStr.substring(6) === \"000\")\n z = \".\" + nanosStr.substring(0, 6) + \"Z\";\n else\n z = \".\" + nanosStr + \"Z\";\n }\n return new Date(ms).toISOString().replace(\".000Z\", z);\n }\n /**\n * In JSON format, the `Timestamp` type is encoded as a string\n * in the RFC 3339 format.\n */\n internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Timestamp): Timestamp {\n if (typeof json !== \"string\")\n throw new Error(\"Unable to parse Timestamp from JSON \" + typeofJsonValue(json) + \".\");\n let matches = json.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);\n if (!matches)\n throw new Error(\"Unable to parse Timestamp from JSON. Invalid format.\");\n let ms = Date.parse(matches[1] + \"-\" + matches[2] + \"-\" + matches[3] + \"T\" + matches[4] + \":\" + matches[5] + \":\" + matches[6] + (matches[8] ? matches[8] : \"Z\"));\n if (Number.isNaN(ms))\n throw new Error(\"Unable to parse Timestamp from JSON. Invalid value.\");\n if (ms < Date.parse(\"0001-01-01T00:00:00Z\") || ms > Date.parse(\"9999-12-31T23:59:59Z\"))\n throw new globalThis.Error(\"Unable to parse Timestamp from JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.\");\n if (!target)\n target = this.create();\n target.seconds = PbLong.from(ms / 1000).toBigInt();\n target.nanos = 0;\n if (matches[7])\n target.nanos = (parseInt(\"1\" + matches[7] + \"0\".repeat(9 - matches[7].length)) - 1000000000);\n return target;\n }\n create(value?: PartialMessage<Timestamp>): Timestamp {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.seconds = 0n;\n message.nanos = 0;\n if (value !== undefined)\n reflectionMergePartial<Timestamp>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Timestamp): Timestamp {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* int64 seconds */ 1:\n message.seconds = reader.int64().toBigInt();\n break;\n case /* int32 nanos */ 2:\n message.nanos = reader.int32();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: Timestamp, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* int64 seconds = 1; */\n if (message.seconds !== 0n)\n writer.tag(1, WireType.Varint).int64(message.seconds);\n /* int32 nanos = 2; */\n if (message.nanos !== 0)\n writer.tag(2, WireType.Varint).int32(message.nanos);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.protobuf.Timestamp\n */\nexport const Timestamp = new Timestamp$Type();\n"],"names":[],"mappings":";;AAiKA;AACA,MAAM,cAAe,SAAQ,WAAsB,CAAA;AAC/C,IAAA,WAAA,GAAA;QACI,KAAK,CAAC,2BAA2B,EAAE;YAC/B,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,uBAAuB,CAAC,EAAE,CAAC,sBAAsB;AAC/F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,YAAA,EAAe,QAAQ,SAAS,IAAI,CAAC,QAAQ,CAAA,CAAE,CAAC;oBACvG,IAAI,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;oBAC7B,IAAI,CAAC,KAAK,KAAK;wBACX,CAAC,CAAC,KAAK,IAAI,GAAG,mBAAmB,CAAC,MAAM,GAAG,CAAC,EAAE,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,CAAC;;QAE3G;AACA,QAAA,OAAO,OAAO;IAClB;AACA,IAAA,mBAAmB,CAAC,OAAkB,EAAE,MAAqB,EAAE,OAA2B,EAAA;;AAEtF,QAAA,IAAI,OAAO,CAAC,OAAO,KAAK,EAAE;AACtB,YAAA,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC;;AAEzD,QAAA,IAAI,OAAO,CAAC,KAAK,KAAK,CAAC;AACnB,YAAA,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;AACvD,QAAA,IAAI,CAAC,GAAG,OAAO,CAAC,kBAAkB;QAClC,IAAI,CAAC,KAAK,KAAK;YACX,CAAC,CAAC,IAAI,IAAI,GAAG,mBAAmB,CAAC,OAAO,GAAG,CAAC,EAAE,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC;AACjF,QAAA,OAAO,MAAM;IACjB;AACH;AACD;;AAEG;AACI,MAAM,SAAS,GAAG,IAAI,cAAc;;;;"}
@@ -12,9 +12,6 @@ import { MessageType } from "@protobuf-ts/runtime";
12
12
  *
13
13
  * The JSON representation for `DoubleValue` is JSON number.
14
14
  *
15
- * Not recommended for use in new APIs, but still useful for legacy APIs and
16
- * has no plan to be removed.
17
- *
18
15
  * @generated from protobuf message google.protobuf.DoubleValue
19
16
  */
20
17
  export interface DoubleValue {
@@ -30,9 +27,6 @@ export interface DoubleValue {
30
27
  *
31
28
  * The JSON representation for `FloatValue` is JSON number.
32
29
  *
33
- * Not recommended for use in new APIs, but still useful for legacy APIs and
34
- * has no plan to be removed.
35
- *
36
30
  * @generated from protobuf message google.protobuf.FloatValue
37
31
  */
38
32
  export interface FloatValue {
@@ -48,9 +42,6 @@ export interface FloatValue {
48
42
  *
49
43
  * The JSON representation for `Int64Value` is JSON string.
50
44
  *
51
- * Not recommended for use in new APIs, but still useful for legacy APIs and
52
- * has no plan to be removed.
53
- *
54
45
  * @generated from protobuf message google.protobuf.Int64Value
55
46
  */
56
47
  export interface Int64Value {
@@ -66,9 +57,6 @@ export interface Int64Value {
66
57
  *
67
58
  * The JSON representation for `UInt64Value` is JSON string.
68
59
  *
69
- * Not recommended for use in new APIs, but still useful for legacy APIs and
70
- * has no plan to be removed.
71
- *
72
60
  * @generated from protobuf message google.protobuf.UInt64Value
73
61
  */
74
62
  export interface UInt64Value {
@@ -84,9 +72,6 @@ export interface UInt64Value {
84
72
  *
85
73
  * The JSON representation for `Int32Value` is JSON number.
86
74
  *
87
- * Not recommended for use in new APIs, but still useful for legacy APIs and
88
- * has no plan to be removed.
89
- *
90
75
  * @generated from protobuf message google.protobuf.Int32Value
91
76
  */
92
77
  export interface Int32Value {
@@ -102,9 +87,6 @@ export interface Int32Value {
102
87
  *
103
88
  * The JSON representation for `UInt32Value` is JSON number.
104
89
  *
105
- * Not recommended for use in new APIs, but still useful for legacy APIs and
106
- * has no plan to be removed.
107
- *
108
90
  * @generated from protobuf message google.protobuf.UInt32Value
109
91
  */
110
92
  export interface UInt32Value {
@@ -120,9 +102,6 @@ export interface UInt32Value {
120
102
  *
121
103
  * The JSON representation for `BoolValue` is JSON `true` and `false`.
122
104
  *
123
- * Not recommended for use in new APIs, but still useful for legacy APIs and
124
- * has no plan to be removed.
125
- *
126
105
  * @generated from protobuf message google.protobuf.BoolValue
127
106
  */
128
107
  export interface BoolValue {
@@ -138,9 +117,6 @@ export interface BoolValue {
138
117
  *
139
118
  * The JSON representation for `StringValue` is JSON string.
140
119
  *
141
- * Not recommended for use in new APIs, but still useful for legacy APIs and
142
- * has no plan to be removed.
143
- *
144
120
  * @generated from protobuf message google.protobuf.StringValue
145
121
  */
146
122
  export interface StringValue {
@@ -156,9 +132,6 @@ export interface StringValue {
156
132
  *
157
133
  * The JSON representation for `BytesValue` is JSON string.
158
134
  *
159
- * Not recommended for use in new APIs, but still useful for legacy APIs and
160
- * has no plan to be removed.
161
- *
162
135
  * @generated from protobuf message google.protobuf.BytesValue
163
136
  */
164
137
  export interface BytesValue {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wrappers.d.ts","sourceRoot":"","sources":["../../../../src/proto-grpc/google/protobuf/wrappers.ts"],"names":[],"mappings":"AA8CA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD;;;;;;GAMG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB;AACD;;;;;;GAMG;AACH,MAAM,WAAW,UAAU;IACvB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB;AACD;;;;;;GAMG;AACH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OAAO,EAAE,kBAAkB,GAAG,aAAa;CAS9G;AACD;;GAEG;AACH,eAAO,MAAM,UAAU,iBAAwB,CAAC"}
@@ -0,0 +1,240 @@
1
+ 'use strict';
2
+
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
+ //
21
+ /**
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
@@ -0,0 +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;;"}
@@ -0,0 +1,219 @@
1
+ /**
2
+ * The canonical error codes for gRPC APIs.
3
+ *
4
+ *
5
+ * Sometimes multiple error codes may apply. Services should return
6
+ * the most specific error code that applies. For example, prefer
7
+ * `OUT_OF_RANGE` over `FAILED_PRECONDITION` if both codes apply.
8
+ * Similarly prefer `NOT_FOUND` or `ALREADY_EXISTS` over `FAILED_PRECONDITION`.
9
+ *
10
+ * @generated from protobuf enum google.rpc.Code
11
+ */
12
+ export declare enum Code {
13
+ /**
14
+ * Not an error; returned on success.
15
+ *
16
+ * HTTP Mapping: 200 OK
17
+ *
18
+ * @generated from protobuf enum value: OK = 0;
19
+ */
20
+ OK = 0,
21
+ /**
22
+ * The operation was cancelled, typically by the caller.
23
+ *
24
+ * HTTP Mapping: 499 Client Closed Request
25
+ *
26
+ * @generated from protobuf enum value: CANCELLED = 1;
27
+ */
28
+ CANCELLED = 1,
29
+ /**
30
+ * Unknown error. For example, this error may be returned when
31
+ * a `Status` value received from another address space belongs to
32
+ * an error space that is not known in this address space. Also
33
+ * errors raised by APIs that do not return enough error information
34
+ * may be converted to this error.
35
+ *
36
+ * HTTP Mapping: 500 Internal Server Error
37
+ *
38
+ * @generated from protobuf enum value: UNKNOWN = 2;
39
+ */
40
+ UNKNOWN = 2,
41
+ /**
42
+ * The client specified an invalid argument. Note that this differs
43
+ * from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments
44
+ * that are problematic regardless of the state of the system
45
+ * (e.g., a malformed file name).
46
+ *
47
+ * HTTP Mapping: 400 Bad Request
48
+ *
49
+ * @generated from protobuf enum value: INVALID_ARGUMENT = 3;
50
+ */
51
+ INVALID_ARGUMENT = 3,
52
+ /**
53
+ * The deadline expired before the operation could complete. For operations
54
+ * that change the state of the system, this error may be returned
55
+ * even if the operation has completed successfully. For example, a
56
+ * successful response from a server could have been delayed long
57
+ * enough for the deadline to expire.
58
+ *
59
+ * HTTP Mapping: 504 Gateway Timeout
60
+ *
61
+ * @generated from protobuf enum value: DEADLINE_EXCEEDED = 4;
62
+ */
63
+ DEADLINE_EXCEEDED = 4,
64
+ /**
65
+ * Some requested entity (e.g., file or directory) was not found.
66
+ *
67
+ * Note to server developers: if a request is denied for an entire class
68
+ * of users, such as gradual feature rollout or undocumented allowlist,
69
+ * `NOT_FOUND` may be used. If a request is denied for some users within
70
+ * a class of users, such as user-based access control, `PERMISSION_DENIED`
71
+ * must be used.
72
+ *
73
+ * HTTP Mapping: 404 Not Found
74
+ *
75
+ * @generated from protobuf enum value: NOT_FOUND = 5;
76
+ */
77
+ NOT_FOUND = 5,
78
+ /**
79
+ * The entity that a client attempted to create (e.g., file or directory)
80
+ * already exists.
81
+ *
82
+ * HTTP Mapping: 409 Conflict
83
+ *
84
+ * @generated from protobuf enum value: ALREADY_EXISTS = 6;
85
+ */
86
+ ALREADY_EXISTS = 6,
87
+ /**
88
+ * The caller does not have permission to execute the specified
89
+ * operation. `PERMISSION_DENIED` must not be used for rejections
90
+ * caused by exhausting some resource (use `RESOURCE_EXHAUSTED`
91
+ * instead for those errors). `PERMISSION_DENIED` must not be
92
+ * used if the caller can not be identified (use `UNAUTHENTICATED`
93
+ * instead for those errors). This error code does not imply the
94
+ * request is valid or the requested entity exists or satisfies
95
+ * other pre-conditions.
96
+ *
97
+ * HTTP Mapping: 403 Forbidden
98
+ *
99
+ * @generated from protobuf enum value: PERMISSION_DENIED = 7;
100
+ */
101
+ PERMISSION_DENIED = 7,
102
+ /**
103
+ * The request does not have valid authentication credentials for the
104
+ * operation.
105
+ *
106
+ * HTTP Mapping: 401 Unauthorized
107
+ *
108
+ * @generated from protobuf enum value: UNAUTHENTICATED = 16;
109
+ */
110
+ UNAUTHENTICATED = 16,
111
+ /**
112
+ * Some resource has been exhausted, perhaps a per-user quota, or
113
+ * perhaps the entire file system is out of space.
114
+ *
115
+ * HTTP Mapping: 429 Too Many Requests
116
+ *
117
+ * @generated from protobuf enum value: RESOURCE_EXHAUSTED = 8;
118
+ */
119
+ RESOURCE_EXHAUSTED = 8,
120
+ /**
121
+ * The operation was rejected because the system is not in a state
122
+ * required for the operation's execution. For example, the directory
123
+ * to be deleted is non-empty, an rmdir operation is applied to
124
+ * a non-directory, etc.
125
+ *
126
+ * Service implementors can use the following guidelines to decide
127
+ * between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`:
128
+ * (a) Use `UNAVAILABLE` if the client can retry just the failing call.
129
+ * (b) Use `ABORTED` if the client should retry at a higher level. For
130
+ * example, when a client-specified test-and-set fails, indicating the
131
+ * client should restart a read-modify-write sequence.
132
+ * (c) Use `FAILED_PRECONDITION` if the client should not retry until
133
+ * the system state has been explicitly fixed. For example, if an "rmdir"
134
+ * fails because the directory is non-empty, `FAILED_PRECONDITION`
135
+ * should be returned since the client should not retry unless
136
+ * the files are deleted from the directory.
137
+ *
138
+ * HTTP Mapping: 400 Bad Request
139
+ *
140
+ * @generated from protobuf enum value: FAILED_PRECONDITION = 9;
141
+ */
142
+ FAILED_PRECONDITION = 9,
143
+ /**
144
+ * The operation was aborted, typically due to a concurrency issue such as
145
+ * a sequencer check failure or transaction abort.
146
+ *
147
+ * See the guidelines above for deciding between `FAILED_PRECONDITION`,
148
+ * `ABORTED`, and `UNAVAILABLE`.
149
+ *
150
+ * HTTP Mapping: 409 Conflict
151
+ *
152
+ * @generated from protobuf enum value: ABORTED = 10;
153
+ */
154
+ ABORTED = 10,
155
+ /**
156
+ * The operation was attempted past the valid range. E.g., seeking or
157
+ * reading past end-of-file.
158
+ *
159
+ * Unlike `INVALID_ARGUMENT`, this error indicates a problem that may
160
+ * be fixed if the system state changes. For example, a 32-bit file
161
+ * system will generate `INVALID_ARGUMENT` if asked to read at an
162
+ * offset that is not in the range [0,2^32-1], but it will generate
163
+ * `OUT_OF_RANGE` if asked to read from an offset past the current
164
+ * file size.
165
+ *
166
+ * There is a fair bit of overlap between `FAILED_PRECONDITION` and
167
+ * `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific
168
+ * error) when it applies so that callers who are iterating through
169
+ * a space can easily look for an `OUT_OF_RANGE` error to detect when
170
+ * they are done.
171
+ *
172
+ * HTTP Mapping: 400 Bad Request
173
+ *
174
+ * @generated from protobuf enum value: OUT_OF_RANGE = 11;
175
+ */
176
+ OUT_OF_RANGE = 11,
177
+ /**
178
+ * The operation is not implemented or is not supported/enabled in this
179
+ * service.
180
+ *
181
+ * HTTP Mapping: 501 Not Implemented
182
+ *
183
+ * @generated from protobuf enum value: UNIMPLEMENTED = 12;
184
+ */
185
+ UNIMPLEMENTED = 12,
186
+ /**
187
+ * Internal errors. This means that some invariants expected by the
188
+ * underlying system have been broken. This error code is reserved
189
+ * for serious errors.
190
+ *
191
+ * HTTP Mapping: 500 Internal Server Error
192
+ *
193
+ * @generated from protobuf enum value: INTERNAL = 13;
194
+ */
195
+ INTERNAL = 13,
196
+ /**
197
+ * The service is currently unavailable. This is most likely a
198
+ * transient condition, which can be corrected by retrying with
199
+ * a backoff. Note that it is not always safe to retry
200
+ * non-idempotent operations.
201
+ *
202
+ * See the guidelines above for deciding between `FAILED_PRECONDITION`,
203
+ * `ABORTED`, and `UNAVAILABLE`.
204
+ *
205
+ * HTTP Mapping: 503 Service Unavailable
206
+ *
207
+ * @generated from protobuf enum value: UNAVAILABLE = 14;
208
+ */
209
+ UNAVAILABLE = 14,
210
+ /**
211
+ * Unrecoverable data loss or corruption.
212
+ *
213
+ * HTTP Mapping: 500 Internal Server Error
214
+ *
215
+ * @generated from protobuf enum value: DATA_LOSS = 15;
216
+ */
217
+ DATA_LOSS = 15
218
+ }
219
+ //# sourceMappingURL=code.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code.d.ts","sourceRoot":"","sources":["../../../../src/proto-grpc/google/rpc/code.ts"],"names":[],"mappings":"AAkBA;;;;;;;;;;GAUG;AACH,oBAAY,IAAI;IACZ;;;;;;OAMG;IACH,EAAE,IAAI;IACN;;;;;;OAMG;IACH,SAAS,IAAI;IACb;;;;;;;;;;OAUG;IACH,OAAO,IAAI;IACX;;;;;;;;;OASG;IACH,gBAAgB,IAAI;IACpB;;;;;;;;;;OAUG;IACH,iBAAiB,IAAI;IACrB;;;;;;;;;;;;OAYG;IACH,SAAS,IAAI;IACb;;;;;;;OAOG;IACH,cAAc,IAAI;IAClB;;;;;;;;;;;;;OAaG;IACH,iBAAiB,IAAI;IACrB;;;;;;;OAOG;IACH,eAAe,KAAK;IACpB;;;;;;;OAOG;IACH,kBAAkB,IAAI;IACtB;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,mBAAmB,IAAI;IACvB;;;;;;;;;;OAUG;IACH,OAAO,KAAK;IACZ;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,YAAY,KAAK;IACjB;;;;;;;OAOG;IACH,aAAa,KAAK;IAClB;;;;;;;;OAQG;IACH,QAAQ,KAAK;IACb;;;;;;;;;;;;OAYG;IACH,WAAW,KAAK;IAChB;;;;;;OAMG;IACH,SAAS,KAAK;CACjB"}