@in-human-resources/backend-proto 0.1.5 → 0.1.6

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 (686) hide show
  1. package/README.md +16 -1
  2. package/buf.gen.yaml +3 -3
  3. package/gen/ts/api/v1/auth_connect.ts +3 -3
  4. package/gen/ts/api/v1/auth_pb.ts +2 -2
  5. package/gen/ts/api/v1/candidate_connect.ts +3 -3
  6. package/gen/ts/api/v1/candidate_pb.ts +1 -1
  7. package/gen/ts/api/v1/common_pb.ts +1 -1
  8. package/gen/ts/api/v1/company_connect.ts +3 -3
  9. package/gen/ts/api/v1/company_pb.ts +1 -1
  10. package/gen/ts/api/v1/hiring_connect.ts +95 -2
  11. package/gen/ts/api/v1/hiring_pb.ts +31 -1
  12. package/gen/ts/api/v1/pipeline_pb.ts +1220 -0
  13. package/gen/ts/auth/v1/service_connect.ts +2 -2
  14. package/gen/ts/auth/v1/service_pb.ts +2 -2
  15. package/gen/ts/common/v1/common_pb.ts +1 -1
  16. package/gen/ts/hiring/v1/pipeline_pb.ts +1220 -0
  17. package/gen/ts/hiring/v1/service_connect.ts +95 -2
  18. package/gen/ts/hiring/v1/service_pb.ts +31 -1
  19. package/gen/ts/in-human-resources-backend-proto-0.1.6-local.tgz +0 -0
  20. package/gen/ts/node_modules/.package-lock.json +39 -0
  21. package/gen/ts/node_modules/@bufbuild/protobuf/README.md +43 -0
  22. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/binary-encoding.d.ts +422 -0
  23. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/binary-encoding.js +444 -0
  24. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/binary-format.d.ts +113 -0
  25. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/binary-format.js +15 -0
  26. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/codegen-info.d.ts +33 -0
  27. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/codegen-info.js +69 -0
  28. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/create-descriptor-set.d.ts +36 -0
  29. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/create-descriptor-set.js +910 -0
  30. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/create-registry-from-desc.d.ts +15 -0
  31. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/create-registry-from-desc.js +264 -0
  32. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/create-registry.d.ts +13 -0
  33. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/create-registry.js +103 -0
  34. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/descriptor-set.d.ts +672 -0
  35. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/descriptor-set.js +15 -0
  36. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/enum.d.ts +35 -0
  37. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/enum.js +15 -0
  38. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/extension-accessor.d.ts +35 -0
  39. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/extension-accessor.js +114 -0
  40. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/extension.d.ts +24 -0
  41. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/extension.js +15 -0
  42. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/field-list.d.ts +27 -0
  43. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/field-list.js +15 -0
  44. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/field.d.ts +314 -0
  45. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/field.js +15 -0
  46. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/any_pb.d.ts +157 -0
  47. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/any_pb.js +273 -0
  48. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/api_pb.d.ts +256 -0
  49. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/api_pb.js +316 -0
  50. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/compiler/plugin_pb.d.ts +271 -0
  51. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/compiler/plugin_pb.js +219 -0
  52. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/descriptor_pb.d.ts +2277 -0
  53. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/descriptor_pb.js +2077 -0
  54. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/duration_pb.d.ts +100 -0
  55. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/duration_pb.js +169 -0
  56. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/empty_pb.d.ts +28 -0
  57. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/empty_pb.js +52 -0
  58. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/field_mask_pb.d.ts +227 -0
  59. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/field_mask_pb.js +311 -0
  60. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/source_context_pb.d.ts +29 -0
  61. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/source_context_pb.js +55 -0
  62. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/struct_pb.d.ts +158 -0
  63. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/struct_pb.js +240 -0
  64. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/timestamp_pb.d.ts +132 -0
  65. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/timestamp_pb.js +213 -0
  66. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/type_pb.d.ts +437 -0
  67. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/type_pb.js +562 -0
  68. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/wrappers_pb.d.ts +267 -0
  69. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/wrappers_pb.js +569 -0
  70. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/varint.d.ts +70 -0
  71. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/varint.js +323 -0
  72. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/index.d.ts +42 -0
  73. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/index.js +85 -0
  74. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/is-message.d.ts +22 -0
  75. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/is-message.js +52 -0
  76. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/json-format.d.ts +111 -0
  77. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/json-format.js +15 -0
  78. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/message-type.d.ts +51 -0
  79. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/message-type.js +15 -0
  80. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/message.d.ts +131 -0
  81. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/message.js +129 -0
  82. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/package.json +1 -0
  83. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/assert.d.ts +16 -0
  84. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/assert.js +59 -0
  85. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/binary-format.d.ts +7 -0
  86. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/binary-format.js +431 -0
  87. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/enum.d.ts +27 -0
  88. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/enum.js +94 -0
  89. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/extensions.d.ts +34 -0
  90. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/extensions.js +86 -0
  91. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/feature-set.d.ts +19 -0
  92. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/feature-set.js +120 -0
  93. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field-list.d.ts +18 -0
  94. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field-list.js +76 -0
  95. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field-normalize.d.ts +9 -0
  96. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field-normalize.js +69 -0
  97. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field-wrapper.d.ts +25 -0
  98. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field-wrapper.js +57 -0
  99. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field.d.ts +16 -0
  100. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field.js +45 -0
  101. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/json-format.d.ts +2 -0
  102. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/json-format.js +626 -0
  103. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/message-type.d.ts +18 -0
  104. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/message-type.js +50 -0
  105. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/names.d.ts +43 -0
  106. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/names.js +278 -0
  107. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/options-map.d.ts +7 -0
  108. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/options-map.js +15 -0
  109. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/proto-runtime.d.ts +53 -0
  110. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/proto-runtime.js +41 -0
  111. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/reflect.d.ts +9 -0
  112. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/reflect.js +79 -0
  113. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/reify-wkt.d.ts +102 -0
  114. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/reify-wkt.js +172 -0
  115. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/scalars.d.ts +18 -0
  116. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/scalars.js +105 -0
  117. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/text-format.d.ts +4 -0
  118. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/text-format.js +189 -0
  119. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/util-common.d.ts +2 -0
  120. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/util-common.js +247 -0
  121. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/util.d.ts +38 -0
  122. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/util.js +15 -0
  123. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-base64.d.ts +18 -0
  124. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-base64.js +128 -0
  125. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-delimited.d.ts +54 -0
  126. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-delimited.js +155 -0
  127. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-double.d.ts +5 -0
  128. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-double.js +29 -0
  129. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.d.ts +95 -0
  130. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.js +116 -0
  131. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto2.d.ts +4 -0
  132. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto2.js +53 -0
  133. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto3.d.ts +4 -0
  134. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto3.js +56 -0
  135. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/scalar.d.ts +53 -0
  136. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/scalar.js +81 -0
  137. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/service-type.d.ts +96 -0
  138. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/service-type.js +53 -0
  139. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/to-plain-message.d.ts +12 -0
  140. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/to-plain-message.js +72 -0
  141. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/type-registry.d.ts +66 -0
  142. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/type-registry.js +15 -0
  143. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/binary-encoding.d.ts +422 -0
  144. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/binary-encoding.js +439 -0
  145. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/binary-format.d.ts +113 -0
  146. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/binary-format.js +14 -0
  147. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/codegen-info.d.ts +33 -0
  148. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/codegen-info.js +67 -0
  149. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/create-descriptor-set.d.ts +36 -0
  150. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/create-descriptor-set.js +906 -0
  151. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/create-registry-from-desc.d.ts +15 -0
  152. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/create-registry-from-desc.js +261 -0
  153. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/create-registry.d.ts +13 -0
  154. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/create-registry.js +98 -0
  155. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/descriptor-set.d.ts +672 -0
  156. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/descriptor-set.js +14 -0
  157. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/enum.d.ts +35 -0
  158. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/enum.js +14 -0
  159. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/extension-accessor.d.ts +35 -0
  160. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/extension-accessor.js +107 -0
  161. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/extension.d.ts +24 -0
  162. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/extension.js +14 -0
  163. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/field-list.d.ts +27 -0
  164. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/field-list.js +14 -0
  165. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/field.d.ts +314 -0
  166. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/field.js +14 -0
  167. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/any_pb.d.ts +157 -0
  168. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/any_pb.js +269 -0
  169. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/api_pb.d.ts +256 -0
  170. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/api_pb.js +310 -0
  171. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/compiler/plugin_pb.d.ts +271 -0
  172. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/compiler/plugin_pb.js +212 -0
  173. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/descriptor_pb.d.ts +2277 -0
  174. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/descriptor_pb.js +2041 -0
  175. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/duration_pb.d.ts +100 -0
  176. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/duration_pb.js +165 -0
  177. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/empty_pb.d.ts +28 -0
  178. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/empty_pb.js +48 -0
  179. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/field_mask_pb.d.ts +227 -0
  180. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/field_mask_pb.js +307 -0
  181. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/source_context_pb.d.ts +29 -0
  182. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/source_context_pb.js +51 -0
  183. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/struct_pb.d.ts +158 -0
  184. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/struct_pb.js +234 -0
  185. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/timestamp_pb.d.ts +132 -0
  186. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/timestamp_pb.js +209 -0
  187. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/type_pb.d.ts +437 -0
  188. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/type_pb.js +554 -0
  189. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/wrappers_pb.d.ts +267 -0
  190. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/wrappers_pb.js +557 -0
  191. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/varint.d.ts +70 -0
  192. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/varint.js +313 -0
  193. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/index.d.ts +42 -0
  194. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/index.js +43 -0
  195. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/is-message.d.ts +22 -0
  196. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/is-message.js +48 -0
  197. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/json-format.d.ts +111 -0
  198. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/json-format.js +14 -0
  199. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/message-type.d.ts +51 -0
  200. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/message-type.js +14 -0
  201. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/message.d.ts +131 -0
  202. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/message.js +125 -0
  203. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/assert.d.ts +16 -0
  204. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/assert.js +52 -0
  205. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/binary-format.d.ts +7 -0
  206. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/binary-format.js +427 -0
  207. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/enum.d.ts +27 -0
  208. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/enum.js +87 -0
  209. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/extensions.d.ts +34 -0
  210. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/extensions.js +81 -0
  211. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/feature-set.d.ts +19 -0
  212. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/feature-set.js +116 -0
  213. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field-list.d.ts +18 -0
  214. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field-list.js +72 -0
  215. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field-normalize.d.ts +9 -0
  216. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field-normalize.js +65 -0
  217. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field-wrapper.d.ts +25 -0
  218. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field-wrapper.js +53 -0
  219. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field.d.ts +16 -0
  220. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field.js +41 -0
  221. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/json-format.d.ts +2 -0
  222. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/json-format.js +623 -0
  223. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/message-type.d.ts +18 -0
  224. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/message-type.js +46 -0
  225. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/names.d.ts +43 -0
  226. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/names.js +269 -0
  227. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/options-map.d.ts +7 -0
  228. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/options-map.js +14 -0
  229. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/proto-runtime.d.ts +53 -0
  230. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/proto-runtime.js +37 -0
  231. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/reflect.d.ts +9 -0
  232. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/reflect.js +74 -0
  233. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/reify-wkt.d.ts +102 -0
  234. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/reify-wkt.js +168 -0
  235. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/scalars.d.ts +18 -0
  236. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/scalars.js +99 -0
  237. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/text-format.d.ts +4 -0
  238. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/text-format.js +184 -0
  239. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/util-common.d.ts +2 -0
  240. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/util-common.js +244 -0
  241. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/util.d.ts +38 -0
  242. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/util.js +14 -0
  243. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-base64.d.ts +18 -0
  244. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-base64.js +125 -0
  245. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-delimited.d.ts +54 -0
  246. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-delimited.js +152 -0
  247. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-double.d.ts +5 -0
  248. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-double.js +26 -0
  249. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.d.ts +95 -0
  250. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js +113 -0
  251. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto2.d.ts +4 -0
  252. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto2.js +50 -0
  253. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto3.d.ts +4 -0
  254. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto3.js +53 -0
  255. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/scalar.d.ts +53 -0
  256. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/scalar.js +78 -0
  257. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/service-type.d.ts +96 -0
  258. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/service-type.js +50 -0
  259. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/to-plain-message.d.ts +12 -0
  260. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/to-plain-message.js +70 -0
  261. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/type-registry.d.ts +66 -0
  262. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/type-registry.js +14 -0
  263. package/gen/ts/node_modules/@bufbuild/protobuf/package.json +40 -0
  264. package/gen/ts/node_modules/@connectrpc/connect/README.md +62 -0
  265. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/any-client.d.ts +22 -0
  266. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/any-client.js +34 -0
  267. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/call-options.d.ts +34 -0
  268. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/call-options.js +15 -0
  269. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/callback-client.d.ts +31 -0
  270. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/callback-client.js +116 -0
  271. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/code.d.ts +75 -0
  272. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/code.js +92 -0
  273. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/connect-error.d.ts +90 -0
  274. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/connect-error.js +134 -0
  275. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/context-values.d.ts +34 -0
  276. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/context-values.js +41 -0
  277. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/cors.d.ts +45 -0
  278. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/cors.js +82 -0
  279. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/http-headers.d.ts +36 -0
  280. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/http-headers.js +68 -0
  281. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/implementation.d.ts +165 -0
  282. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/implementation.js +79 -0
  283. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/index.d.ts +22 -0
  284. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/index.js +47 -0
  285. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/interceptor.d.ts +155 -0
  286. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/interceptor.js +27 -0
  287. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/method-type.d.ts +43 -0
  288. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/method-type.js +15 -0
  289. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/package.json +1 -0
  290. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/promise-client.d.ts +49 -0
  291. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/promise-client.js +147 -0
  292. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/async-iterable.d.ts +527 -0
  293. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/async-iterable.js +959 -0
  294. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/compression.d.ts +48 -0
  295. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/compression.js +75 -0
  296. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/content-type-matcher.d.ts +16 -0
  297. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/content-type-matcher.js +43 -0
  298. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/create-method-url.d.ts +17 -0
  299. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/create-method-url.js +36 -0
  300. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/envelope.d.ts +59 -0
  301. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/envelope.js +152 -0
  302. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/index.d.ts +24 -0
  303. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/index.js +93 -0
  304. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/invoke-implementation.d.ts +21 -0
  305. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/invoke-implementation.js +250 -0
  306. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/limit-io.d.ts +24 -0
  307. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/limit-io.js +80 -0
  308. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/normalize.d.ts +12 -0
  309. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/normalize.js +56 -0
  310. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/protocol-handler-factory.d.ts +18 -0
  311. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/protocol-handler-factory.js +15 -0
  312. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/run-call.d.ts +45 -0
  313. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/run-call.js +119 -0
  314. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/serialization.d.ts +104 -0
  315. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/serialization.js +148 -0
  316. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/signals.d.ts +36 -0
  317. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/signals.js +100 -0
  318. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/transport-options.d.ts +98 -0
  319. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/transport-options.js +15 -0
  320. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-fetch.d.ts +35 -0
  321. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-fetch.js +150 -0
  322. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler-client.d.ts +7 -0
  323. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler-client.js +90 -0
  324. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler.d.ts +155 -0
  325. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler.js +131 -0
  326. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal.d.ts +102 -0
  327. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal.js +78 -0
  328. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/code-string.d.ts +16 -0
  329. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/code-string.js +52 -0
  330. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/content-type.d.ts +40 -0
  331. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/content-type.js +71 -0
  332. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/end-stream.d.ts +44 -0
  333. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/end-stream.js +132 -0
  334. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/error-json.d.ts +36 -0
  335. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/error-json.js +163 -0
  336. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/get-request.d.ts +7 -0
  337. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/get-request.js +68 -0
  338. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/handler-factory.d.ts +6 -0
  339. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/handler-factory.js +281 -0
  340. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/headers.d.ts +12 -0
  341. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/headers.js +28 -0
  342. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/http-status.d.ts +15 -0
  343. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/http-status.js +90 -0
  344. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/index.d.ts +16 -0
  345. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/index.js +81 -0
  346. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/parse-timeout.d.ts +13 -0
  347. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/parse-timeout.js +44 -0
  348. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/query-params.d.ts +8 -0
  349. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/query-params.js +24 -0
  350. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/request-header.d.ts +19 -0
  351. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/request-header.js +70 -0
  352. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/trailer-mux.d.ts +19 -0
  353. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/trailer-mux.js +53 -0
  354. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/transport.d.ts +6 -0
  355. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/transport.js +214 -0
  356. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/validate-response.d.ts +30 -0
  357. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/validate-response.js +72 -0
  358. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/version.d.ts +20 -0
  359. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/version.js +58 -0
  360. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/content-type.d.ts +16 -0
  361. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/content-type.js +38 -0
  362. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/gen/status_pb.d.ts +89 -0
  363. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/gen/status_pb.js +120 -0
  364. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/handler-factory.d.ts +6 -0
  365. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/handler-factory.js +122 -0
  366. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/headers.d.ts +12 -0
  367. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/headers.js +28 -0
  368. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/http-status.d.ts +8 -0
  369. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/http-status.js +46 -0
  370. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/index.d.ts +10 -0
  371. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/index.js +61 -0
  372. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/parse-timeout.d.ts +13 -0
  373. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/parse-timeout.js +53 -0
  374. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/request-header.d.ts +13 -0
  375. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/request-header.js +56 -0
  376. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/trailer-status.d.ts +28 -0
  377. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/trailer-status.js +104 -0
  378. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/transport.d.ts +6 -0
  379. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/transport.js +185 -0
  380. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-response.d.ts +33 -0
  381. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-response.js +75 -0
  382. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-trailer.d.ts +13 -0
  383. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-trailer.js +44 -0
  384. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/content-type.d.ts +19 -0
  385. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/content-type.js +41 -0
  386. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/handler-factory.d.ts +6 -0
  387. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/handler-factory.js +128 -0
  388. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/headers.d.ts +20 -0
  389. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/headers.js +44 -0
  390. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/index.d.ts +8 -0
  391. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/index.js +61 -0
  392. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/request-header.d.ts +13 -0
  393. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/request-header.js +59 -0
  394. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/trailer.d.ts +27 -0
  395. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/trailer.js +71 -0
  396. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/transport.d.ts +6 -0
  397. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/transport.js +238 -0
  398. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/validate-response.d.ts +34 -0
  399. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/validate-response.js +73 -0
  400. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/router-transport.d.ts +13 -0
  401. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/router-transport.js +32 -0
  402. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/router.d.ts +88 -0
  403. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/router.js +83 -0
  404. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/transport.d.ts +20 -0
  405. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/transport.js +15 -0
  406. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/any-client.d.ts +22 -0
  407. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/any-client.js +31 -0
  408. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/call-options.d.ts +34 -0
  409. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/call-options.js +14 -0
  410. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/callback-client.d.ts +31 -0
  411. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/callback-client.js +113 -0
  412. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/code.d.ts +75 -0
  413. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/code.js +89 -0
  414. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/connect-error.d.ts +90 -0
  415. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/connect-error.js +130 -0
  416. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/context-values.d.ts +34 -0
  417. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/context-values.js +37 -0
  418. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/cors.d.ts +45 -0
  419. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/cors.js +79 -0
  420. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/http-headers.d.ts +36 -0
  421. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/http-headers.js +63 -0
  422. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/implementation.d.ts +165 -0
  423. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/implementation.js +75 -0
  424. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/index.d.ts +22 -0
  425. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/index.js +27 -0
  426. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/interceptor.d.ts +155 -0
  427. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/interceptor.js +24 -0
  428. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/method-type.d.ts +43 -0
  429. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/method-type.js +14 -0
  430. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/promise-client.d.ts +49 -0
  431. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/promise-client.js +139 -0
  432. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/async-iterable.d.ts +527 -0
  433. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/async-iterable.js +937 -0
  434. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/compression.d.ts +48 -0
  435. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/compression.js +71 -0
  436. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/content-type-matcher.d.ts +16 -0
  437. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/content-type-matcher.js +40 -0
  438. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/create-method-url.d.ts +17 -0
  439. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/create-method-url.js +33 -0
  440. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/envelope.d.ts +59 -0
  441. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/envelope.js +145 -0
  442. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/index.d.ts +24 -0
  443. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/index.js +32 -0
  444. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/invoke-implementation.d.ts +21 -0
  445. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/invoke-implementation.js +246 -0
  446. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/limit-io.d.ts +24 -0
  447. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/limit-io.js +75 -0
  448. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/normalize.d.ts +12 -0
  449. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/normalize.js +53 -0
  450. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/protocol-handler-factory.d.ts +18 -0
  451. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/protocol-handler-factory.js +14 -0
  452. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/run-call.d.ts +45 -0
  453. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/run-call.js +115 -0
  454. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/serialization.d.ts +104 -0
  455. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/serialization.js +140 -0
  456. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/signals.d.ts +36 -0
  457. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/signals.js +95 -0
  458. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/transport-options.d.ts +98 -0
  459. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/transport-options.js +14 -0
  460. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal-fetch.d.ts +35 -0
  461. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal-fetch.js +142 -0
  462. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler-client.d.ts +7 -0
  463. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler-client.js +87 -0
  464. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler.d.ts +155 -0
  465. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler.js +125 -0
  466. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal.d.ts +102 -0
  467. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal.js +74 -0
  468. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/code-string.d.ts +16 -0
  469. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/code-string.js +48 -0
  470. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/content-type.d.ts +40 -0
  471. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/content-type.js +66 -0
  472. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/end-stream.d.ts +44 -0
  473. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/end-stream.js +126 -0
  474. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/error-json.d.ts +36 -0
  475. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/error-json.js +157 -0
  476. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/get-request.d.ts +7 -0
  477. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/get-request.js +65 -0
  478. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/handler-factory.d.ts +6 -0
  479. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/handler-factory.js +278 -0
  480. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/headers.d.ts +12 -0
  481. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/headers.js +25 -0
  482. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/http-status.d.ts +15 -0
  483. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/http-status.js +86 -0
  484. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/index.d.ts +16 -0
  485. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/index.js +33 -0
  486. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/parse-timeout.d.ts +13 -0
  487. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/parse-timeout.js +41 -0
  488. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/query-params.d.ts +8 -0
  489. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/query-params.js +21 -0
  490. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/request-header.d.ts +19 -0
  491. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/request-header.js +66 -0
  492. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/trailer-mux.d.ts +19 -0
  493. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/trailer-mux.js +49 -0
  494. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/transport.d.ts +6 -0
  495. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/transport.js +211 -0
  496. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/validate-response.d.ts +30 -0
  497. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/validate-response.js +68 -0
  498. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/version.d.ts +20 -0
  499. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/version.js +53 -0
  500. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/content-type.d.ts +16 -0
  501. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/content-type.js +34 -0
  502. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/gen/status_pb.d.ts +89 -0
  503. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/gen/status_pb.js +116 -0
  504. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/handler-factory.d.ts +6 -0
  505. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/handler-factory.js +119 -0
  506. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/headers.d.ts +12 -0
  507. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/headers.js +25 -0
  508. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/http-status.d.ts +8 -0
  509. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/http-status.js +43 -0
  510. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/index.d.ts +10 -0
  511. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/index.js +28 -0
  512. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/parse-timeout.d.ts +13 -0
  513. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/parse-timeout.js +50 -0
  514. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/request-header.d.ts +13 -0
  515. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/request-header.js +52 -0
  516. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/trailer-status.d.ts +28 -0
  517. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/trailer-status.js +99 -0
  518. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/transport.d.ts +6 -0
  519. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/transport.js +182 -0
  520. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-response.d.ts +33 -0
  521. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-response.js +71 -0
  522. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-trailer.d.ts +13 -0
  523. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-trailer.js +41 -0
  524. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/content-type.d.ts +19 -0
  525. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/content-type.js +37 -0
  526. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/handler-factory.d.ts +6 -0
  527. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/handler-factory.js +125 -0
  528. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/headers.d.ts +20 -0
  529. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/headers.js +33 -0
  530. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/index.d.ts +8 -0
  531. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/index.js +26 -0
  532. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/request-header.d.ts +13 -0
  533. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/request-header.js +55 -0
  534. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/trailer.d.ts +27 -0
  535. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/trailer.js +65 -0
  536. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/transport.d.ts +6 -0
  537. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/transport.js +235 -0
  538. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/validate-response.d.ts +34 -0
  539. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/validate-response.js +69 -0
  540. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/router-transport.d.ts +13 -0
  541. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/router-transport.js +29 -0
  542. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/router.d.ts +88 -0
  543. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/router.js +80 -0
  544. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/transport.d.ts +20 -0
  545. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/transport.js +14 -0
  546. package/gen/ts/node_modules/@connectrpc/connect/package.json +75 -0
  547. package/gen/ts/node_modules/@connectrpc/connect/protocol-connect.js +16 -0
  548. package/gen/ts/node_modules/@connectrpc/connect/protocol-grpc-web.js +16 -0
  549. package/gen/ts/node_modules/@connectrpc/connect/protocol-grpc.js +16 -0
  550. package/gen/ts/node_modules/@connectrpc/connect/protocol.js +16 -0
  551. package/gen/ts/node_modules/typescript/LICENSE.txt +55 -0
  552. package/gen/ts/node_modules/typescript/README.md +50 -0
  553. package/gen/ts/node_modules/typescript/SECURITY.md +41 -0
  554. package/gen/ts/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
  555. package/gen/ts/node_modules/typescript/bin/tsc +2 -0
  556. package/gen/ts/node_modules/typescript/bin/tsserver +2 -0
  557. package/gen/ts/node_modules/typescript/lib/_tsc.js +133818 -0
  558. package/gen/ts/node_modules/typescript/lib/_tsserver.js +659 -0
  559. package/gen/ts/node_modules/typescript/lib/_typingsInstaller.js +222 -0
  560. package/gen/ts/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +2122 -0
  561. package/gen/ts/node_modules/typescript/lib/de/diagnosticMessages.generated.json +2122 -0
  562. package/gen/ts/node_modules/typescript/lib/es/diagnosticMessages.generated.json +2122 -0
  563. package/gen/ts/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +2122 -0
  564. package/gen/ts/node_modules/typescript/lib/it/diagnosticMessages.generated.json +2122 -0
  565. package/gen/ts/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +2122 -0
  566. package/gen/ts/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +2122 -0
  567. package/gen/ts/node_modules/typescript/lib/lib.d.ts +22 -0
  568. package/gen/ts/node_modules/typescript/lib/lib.decorators.d.ts +384 -0
  569. package/gen/ts/node_modules/typescript/lib/lib.decorators.legacy.d.ts +22 -0
  570. package/gen/ts/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +41 -0
  571. package/gen/ts/node_modules/typescript/lib/lib.dom.d.ts +39429 -0
  572. package/gen/ts/node_modules/typescript/lib/lib.dom.iterable.d.ts +571 -0
  573. package/gen/ts/node_modules/typescript/lib/lib.es2015.collection.d.ts +147 -0
  574. package/gen/ts/node_modules/typescript/lib/lib.es2015.core.d.ts +597 -0
  575. package/gen/ts/node_modules/typescript/lib/lib.es2015.d.ts +28 -0
  576. package/gen/ts/node_modules/typescript/lib/lib.es2015.generator.d.ts +77 -0
  577. package/gen/ts/node_modules/typescript/lib/lib.es2015.iterable.d.ts +605 -0
  578. package/gen/ts/node_modules/typescript/lib/lib.es2015.promise.d.ts +81 -0
  579. package/gen/ts/node_modules/typescript/lib/lib.es2015.proxy.d.ts +128 -0
  580. package/gen/ts/node_modules/typescript/lib/lib.es2015.reflect.d.ts +144 -0
  581. package/gen/ts/node_modules/typescript/lib/lib.es2015.symbol.d.ts +46 -0
  582. package/gen/ts/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
  583. package/gen/ts/node_modules/typescript/lib/lib.es2016.array.include.d.ts +116 -0
  584. package/gen/ts/node_modules/typescript/lib/lib.es2016.d.ts +21 -0
  585. package/gen/ts/node_modules/typescript/lib/lib.es2016.full.d.ts +23 -0
  586. package/gen/ts/node_modules/typescript/lib/lib.es2016.intl.d.ts +31 -0
  587. package/gen/ts/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +21 -0
  588. package/gen/ts/node_modules/typescript/lib/lib.es2017.d.ts +26 -0
  589. package/gen/ts/node_modules/typescript/lib/lib.es2017.date.d.ts +31 -0
  590. package/gen/ts/node_modules/typescript/lib/lib.es2017.full.d.ts +23 -0
  591. package/gen/ts/node_modules/typescript/lib/lib.es2017.intl.d.ts +44 -0
  592. package/gen/ts/node_modules/typescript/lib/lib.es2017.object.d.ts +49 -0
  593. package/gen/ts/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +135 -0
  594. package/gen/ts/node_modules/typescript/lib/lib.es2017.string.d.ts +45 -0
  595. package/gen/ts/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +53 -0
  596. package/gen/ts/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +77 -0
  597. package/gen/ts/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +53 -0
  598. package/gen/ts/node_modules/typescript/lib/lib.es2018.d.ts +24 -0
  599. package/gen/ts/node_modules/typescript/lib/lib.es2018.full.d.ts +24 -0
  600. package/gen/ts/node_modules/typescript/lib/lib.es2018.intl.d.ts +83 -0
  601. package/gen/ts/node_modules/typescript/lib/lib.es2018.promise.d.ts +30 -0
  602. package/gen/ts/node_modules/typescript/lib/lib.es2018.regexp.d.ts +37 -0
  603. package/gen/ts/node_modules/typescript/lib/lib.es2019.array.d.ts +79 -0
  604. package/gen/ts/node_modules/typescript/lib/lib.es2019.d.ts +24 -0
  605. package/gen/ts/node_modules/typescript/lib/lib.es2019.full.d.ts +24 -0
  606. package/gen/ts/node_modules/typescript/lib/lib.es2019.intl.d.ts +23 -0
  607. package/gen/ts/node_modules/typescript/lib/lib.es2019.object.d.ts +33 -0
  608. package/gen/ts/node_modules/typescript/lib/lib.es2019.string.d.ts +37 -0
  609. package/gen/ts/node_modules/typescript/lib/lib.es2019.symbol.d.ts +24 -0
  610. package/gen/ts/node_modules/typescript/lib/lib.es2020.bigint.d.ts +765 -0
  611. package/gen/ts/node_modules/typescript/lib/lib.es2020.d.ts +27 -0
  612. package/gen/ts/node_modules/typescript/lib/lib.es2020.date.d.ts +42 -0
  613. package/gen/ts/node_modules/typescript/lib/lib.es2020.full.d.ts +24 -0
  614. package/gen/ts/node_modules/typescript/lib/lib.es2020.intl.d.ts +474 -0
  615. package/gen/ts/node_modules/typescript/lib/lib.es2020.number.d.ts +28 -0
  616. package/gen/ts/node_modules/typescript/lib/lib.es2020.promise.d.ts +47 -0
  617. package/gen/ts/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +99 -0
  618. package/gen/ts/node_modules/typescript/lib/lib.es2020.string.d.ts +44 -0
  619. package/gen/ts/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +41 -0
  620. package/gen/ts/node_modules/typescript/lib/lib.es2021.d.ts +23 -0
  621. package/gen/ts/node_modules/typescript/lib/lib.es2021.full.d.ts +24 -0
  622. package/gen/ts/node_modules/typescript/lib/lib.es2021.intl.d.ts +166 -0
  623. package/gen/ts/node_modules/typescript/lib/lib.es2021.promise.d.ts +48 -0
  624. package/gen/ts/node_modules/typescript/lib/lib.es2021.string.d.ts +33 -0
  625. package/gen/ts/node_modules/typescript/lib/lib.es2021.weakref.d.ts +78 -0
  626. package/gen/ts/node_modules/typescript/lib/lib.es2022.array.d.ts +121 -0
  627. package/gen/ts/node_modules/typescript/lib/lib.es2022.d.ts +25 -0
  628. package/gen/ts/node_modules/typescript/lib/lib.es2022.error.d.ts +75 -0
  629. package/gen/ts/node_modules/typescript/lib/lib.es2022.full.d.ts +24 -0
  630. package/gen/ts/node_modules/typescript/lib/lib.es2022.intl.d.ts +145 -0
  631. package/gen/ts/node_modules/typescript/lib/lib.es2022.object.d.ts +26 -0
  632. package/gen/ts/node_modules/typescript/lib/lib.es2022.regexp.d.ts +39 -0
  633. package/gen/ts/node_modules/typescript/lib/lib.es2022.string.d.ts +25 -0
  634. package/gen/ts/node_modules/typescript/lib/lib.es2023.array.d.ts +924 -0
  635. package/gen/ts/node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
  636. package/gen/ts/node_modules/typescript/lib/lib.es2023.d.ts +22 -0
  637. package/gen/ts/node_modules/typescript/lib/lib.es2023.full.d.ts +24 -0
  638. package/gen/ts/node_modules/typescript/lib/lib.es2023.intl.d.ts +56 -0
  639. package/gen/ts/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +65 -0
  640. package/gen/ts/node_modules/typescript/lib/lib.es2024.collection.d.ts +29 -0
  641. package/gen/ts/node_modules/typescript/lib/lib.es2024.d.ts +26 -0
  642. package/gen/ts/node_modules/typescript/lib/lib.es2024.full.d.ts +24 -0
  643. package/gen/ts/node_modules/typescript/lib/lib.es2024.object.d.ts +29 -0
  644. package/gen/ts/node_modules/typescript/lib/lib.es2024.promise.d.ts +35 -0
  645. package/gen/ts/node_modules/typescript/lib/lib.es2024.regexp.d.ts +25 -0
  646. package/gen/ts/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +68 -0
  647. package/gen/ts/node_modules/typescript/lib/lib.es2024.string.d.ts +29 -0
  648. package/gen/ts/node_modules/typescript/lib/lib.es5.d.ts +4601 -0
  649. package/gen/ts/node_modules/typescript/lib/lib.es6.d.ts +23 -0
  650. package/gen/ts/node_modules/typescript/lib/lib.esnext.array.d.ts +35 -0
  651. package/gen/ts/node_modules/typescript/lib/lib.esnext.collection.d.ts +96 -0
  652. package/gen/ts/node_modules/typescript/lib/lib.esnext.d.ts +29 -0
  653. package/gen/ts/node_modules/typescript/lib/lib.esnext.decorators.d.ts +28 -0
  654. package/gen/ts/node_modules/typescript/lib/lib.esnext.disposable.d.ts +193 -0
  655. package/gen/ts/node_modules/typescript/lib/lib.esnext.error.d.ts +24 -0
  656. package/gen/ts/node_modules/typescript/lib/lib.esnext.float16.d.ts +445 -0
  657. package/gen/ts/node_modules/typescript/lib/lib.esnext.full.d.ts +24 -0
  658. package/gen/ts/node_modules/typescript/lib/lib.esnext.intl.d.ts +21 -0
  659. package/gen/ts/node_modules/typescript/lib/lib.esnext.iterator.d.ts +148 -0
  660. package/gen/ts/node_modules/typescript/lib/lib.esnext.promise.d.ts +34 -0
  661. package/gen/ts/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +25 -0
  662. package/gen/ts/node_modules/typescript/lib/lib.scripthost.d.ts +322 -0
  663. package/gen/ts/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +41 -0
  664. package/gen/ts/node_modules/typescript/lib/lib.webworker.d.ts +13150 -0
  665. package/gen/ts/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +23 -0
  666. package/gen/ts/node_modules/typescript/lib/lib.webworker.iterable.d.ts +340 -0
  667. package/gen/ts/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +2122 -0
  668. package/gen/ts/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +2122 -0
  669. package/gen/ts/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +2122 -0
  670. package/gen/ts/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +2122 -0
  671. package/gen/ts/node_modules/typescript/lib/tsc.js +8 -0
  672. package/gen/ts/node_modules/typescript/lib/tsserver.js +8 -0
  673. package/gen/ts/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
  674. package/gen/ts/node_modules/typescript/lib/tsserverlibrary.js +21 -0
  675. package/gen/ts/node_modules/typescript/lib/typesMap.json +497 -0
  676. package/gen/ts/node_modules/typescript/lib/typescript.d.ts +11437 -0
  677. package/gen/ts/node_modules/typescript/lib/typescript.js +200276 -0
  678. package/gen/ts/node_modules/typescript/lib/typingsInstaller.js +8 -0
  679. package/gen/ts/node_modules/typescript/lib/watchGuard.js +53 -0
  680. package/gen/ts/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +2122 -0
  681. package/gen/ts/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +2122 -0
  682. package/gen/ts/node_modules/typescript/package.json +120 -0
  683. package/gen/ts/package-lock.json +51 -0
  684. package/gen/ts/workflow/v1/service_connect.ts +2 -2
  685. package/gen/ts/workflow/v1/service_pb.ts +15 -1
  686. package/package.json +12 -1
@@ -0,0 +1,281 @@
1
+ "use strict";
2
+ // Copyright 2021-2024 The Connect Authors
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // http://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.createHandlerFactory = createHandlerFactory;
17
+ const protobuf_1 = require("@bufbuild/protobuf");
18
+ const code_js_1 = require("../code.js");
19
+ const connect_error_js_1 = require("../connect-error.js");
20
+ const implementation_js_1 = require("../implementation.js");
21
+ const content_type_js_1 = require("./content-type.js");
22
+ const end_stream_js_1 = require("./end-stream.js");
23
+ const error_json_js_1 = require("./error-json.js");
24
+ const headers_js_1 = require("./headers.js");
25
+ const http_status_js_1 = require("./http-status.js");
26
+ const parse_timeout_js_1 = require("./parse-timeout.js");
27
+ const query_params_js_1 = require("./query-params.js");
28
+ const trailer_mux_js_1 = require("./trailer-mux.js");
29
+ const version_js_1 = require("./version.js");
30
+ const compression_js_1 = require("../protocol/compression.js");
31
+ const serialization_js_1 = require("../protocol/serialization.js");
32
+ const universal_handler_js_1 = require("../protocol/universal-handler.js");
33
+ const universal_js_1 = require("../protocol/universal.js");
34
+ const async_iterable_js_1 = require("../protocol/async-iterable.js");
35
+ const content_type_matcher_js_1 = require("../protocol/content-type-matcher.js");
36
+ const create_method_url_js_1 = require("../protocol/create-method-url.js");
37
+ const invoke_implementation_js_1 = require("../protocol/invoke-implementation.js");
38
+ const protocolName = "connect";
39
+ const methodPost = "POST";
40
+ const methodGet = "GET";
41
+ /**
42
+ * Create a factory that creates Connect handlers.
43
+ */
44
+ function createHandlerFactory(options) {
45
+ const opt = (0, universal_handler_js_1.validateUniversalHandlerOptions)(options);
46
+ const endStreamSerialization = (0, end_stream_js_1.createEndStreamSerialization)(opt.jsonOptions);
47
+ function fact(spec) {
48
+ let h;
49
+ let contentTypeRegExp;
50
+ const serialization = (0, serialization_js_1.createMethodSerializationLookup)(spec.method, opt.binaryOptions, opt.jsonOptions, opt);
51
+ switch (spec.kind) {
52
+ case protobuf_1.MethodKind.Unary:
53
+ contentTypeRegExp = content_type_js_1.contentTypeUnaryRegExp;
54
+ h = createUnaryHandler(opt, spec, serialization);
55
+ break;
56
+ default:
57
+ contentTypeRegExp = content_type_js_1.contentTypeStreamRegExp;
58
+ h = createStreamHandler(opt, spec, serialization, endStreamSerialization);
59
+ break;
60
+ }
61
+ const allowedMethods = [methodPost];
62
+ if (spec.method.idempotency === protobuf_1.MethodIdempotency.NoSideEffects) {
63
+ allowedMethods.push(methodGet);
64
+ }
65
+ return Object.assign(h, {
66
+ protocolNames: [protocolName],
67
+ supportedContentType: (0, content_type_matcher_js_1.contentTypeMatcher)(contentTypeRegExp),
68
+ allowedMethods,
69
+ requestPath: (0, create_method_url_js_1.createMethodUrl)("/", spec.service, spec.method),
70
+ service: spec.service,
71
+ method: spec.method,
72
+ });
73
+ }
74
+ fact.protocolName = protocolName;
75
+ return fact;
76
+ }
77
+ function createUnaryHandler(opt, spec, serialization) {
78
+ return async function handle(req) {
79
+ const isGet = req.method == methodGet;
80
+ if (isGet && spec.method.idempotency != protobuf_1.MethodIdempotency.NoSideEffects) {
81
+ return universal_js_1.uResponseMethodNotAllowed;
82
+ }
83
+ const queryParams = new URL(req.url).searchParams;
84
+ const compressionRequested = isGet
85
+ ? queryParams.get(query_params_js_1.paramCompression)
86
+ : req.header.get(headers_js_1.headerUnaryEncoding);
87
+ const type = isGet
88
+ ? (0, content_type_js_1.parseEncodingQuery)(queryParams.get(query_params_js_1.paramEncoding))
89
+ : (0, content_type_js_1.parseContentType)(req.header.get(headers_js_1.headerContentType));
90
+ if (type == undefined || type.stream) {
91
+ return universal_js_1.uResponseUnsupportedMediaType;
92
+ }
93
+ const timeout = (0, parse_timeout_js_1.parseTimeout)(req.header.get(headers_js_1.headerTimeout), opt.maxTimeoutMs);
94
+ const context = (0, implementation_js_1.createHandlerContext)(Object.assign(Object.assign({}, spec), { requestMethod: req.method, protocolName, timeoutMs: timeout.timeoutMs, shutdownSignal: opt.shutdownSignal, requestSignal: req.signal, requestHeader: req.header, url: req.url, responseHeader: {
95
+ [headers_js_1.headerContentType]: type.binary
96
+ ? content_type_js_1.contentTypeUnaryProto
97
+ : content_type_js_1.contentTypeUnaryJson,
98
+ }, contextValues: req.contextValues }));
99
+ const compression = (0, compression_js_1.compressionNegotiate)(opt.acceptCompression, compressionRequested, req.header.get(headers_js_1.headerUnaryAcceptEncoding), headers_js_1.headerUnaryAcceptEncoding);
100
+ let status = universal_js_1.uResponseOk.status;
101
+ let body;
102
+ try {
103
+ if (opt.requireConnectProtocolHeader) {
104
+ if (isGet) {
105
+ (0, version_js_1.requireProtocolVersionParam)(queryParams);
106
+ }
107
+ else {
108
+ (0, version_js_1.requireProtocolVersionHeader)(req.header);
109
+ }
110
+ }
111
+ // raise compression error to serialize it as a error response
112
+ if (compression.error) {
113
+ throw compression.error;
114
+ }
115
+ // raise timeout parsing error to serialize it as a trailer status
116
+ if (timeout.error) {
117
+ throw timeout.error;
118
+ }
119
+ let reqBody;
120
+ if (isGet) {
121
+ reqBody = await readUnaryMessageFromQuery(opt.readMaxBytes, compression.request, queryParams);
122
+ }
123
+ else {
124
+ reqBody = await readUnaryMessageFromBody(opt.readMaxBytes, compression.request, req);
125
+ }
126
+ const input = parseUnaryMessage(spec.method, type.binary, serialization, reqBody);
127
+ const output = await (0, invoke_implementation_js_1.invokeUnaryImplementation)(spec, context, input, opt.interceptors);
128
+ body = serialization.getO(type.binary).serialize(output);
129
+ }
130
+ catch (e) {
131
+ let error;
132
+ if (e instanceof connect_error_js_1.ConnectError) {
133
+ error = e;
134
+ }
135
+ else {
136
+ error = new connect_error_js_1.ConnectError("internal error", code_js_1.Code.Internal, undefined, undefined, e);
137
+ }
138
+ status = (0, http_status_js_1.codeToHttpStatus)(error.code);
139
+ context.responseHeader.set(headers_js_1.headerContentType, content_type_js_1.contentTypeUnaryJson);
140
+ error.metadata.forEach((value, key) => {
141
+ context.responseHeader.set(key, value);
142
+ });
143
+ body = (0, error_json_js_1.errorToJsonBytes)(error, opt.jsonOptions);
144
+ }
145
+ finally {
146
+ context.abort();
147
+ }
148
+ if (compression.response && body.byteLength >= opt.compressMinBytes) {
149
+ body = await compression.response.compress(body);
150
+ context.responseHeader.set(headers_js_1.headerUnaryEncoding, compression.response.name);
151
+ }
152
+ const header = (0, trailer_mux_js_1.trailerMux)(context.responseHeader, context.responseTrailer);
153
+ header.set(headers_js_1.headerUnaryContentLength, body.byteLength.toString(10));
154
+ return {
155
+ status,
156
+ body: (0, async_iterable_js_1.createAsyncIterable)([body]),
157
+ header,
158
+ };
159
+ };
160
+ }
161
+ async function readUnaryMessageFromBody(readMaxBytes, compression, request) {
162
+ if (typeof request.body == "object" &&
163
+ request.body !== null &&
164
+ Symbol.asyncIterator in request.body) {
165
+ let reqBytes = await (0, async_iterable_js_1.readAllBytes)(request.body, readMaxBytes, request.header.get(headers_js_1.headerUnaryContentLength));
166
+ if (compression) {
167
+ reqBytes = await compression.decompress(reqBytes, readMaxBytes);
168
+ }
169
+ return reqBytes;
170
+ }
171
+ return request.body;
172
+ }
173
+ async function readUnaryMessageFromQuery(readMaxBytes, compression, queryParams) {
174
+ var _a;
175
+ const base64 = queryParams.get(query_params_js_1.paramBase64);
176
+ const message = (_a = queryParams.get(query_params_js_1.paramMessage)) !== null && _a !== void 0 ? _a : "";
177
+ let decoded;
178
+ if (base64 === "1") {
179
+ decoded = protobuf_1.protoBase64.dec(message);
180
+ }
181
+ else {
182
+ decoded = new TextEncoder().encode(message);
183
+ }
184
+ if (compression) {
185
+ decoded = await compression.decompress(decoded, readMaxBytes);
186
+ }
187
+ return decoded;
188
+ }
189
+ function parseUnaryMessage(method, useBinaryFormat, serialization, input) {
190
+ if (input instanceof Uint8Array) {
191
+ return serialization.getI(useBinaryFormat).parse(input);
192
+ }
193
+ if (useBinaryFormat) {
194
+ throw new connect_error_js_1.ConnectError("received parsed JSON request body, but content-type indicates binary format", code_js_1.Code.Internal);
195
+ }
196
+ try {
197
+ return method.I.fromJson(input);
198
+ }
199
+ catch (e) {
200
+ throw connect_error_js_1.ConnectError.from(e, code_js_1.Code.InvalidArgument);
201
+ }
202
+ }
203
+ function createStreamHandler(opt, spec, serialization, endStreamSerialization) {
204
+ return async function handle(req) {
205
+ (0, universal_js_1.assertByteStreamRequest)(req);
206
+ const type = (0, content_type_js_1.parseContentType)(req.header.get(headers_js_1.headerContentType));
207
+ if (type == undefined || !type.stream) {
208
+ return universal_js_1.uResponseUnsupportedMediaType;
209
+ }
210
+ if (req.method !== methodPost) {
211
+ return universal_js_1.uResponseMethodNotAllowed;
212
+ }
213
+ const timeout = (0, parse_timeout_js_1.parseTimeout)(req.header.get(headers_js_1.headerTimeout), opt.maxTimeoutMs);
214
+ const context = (0, implementation_js_1.createHandlerContext)(Object.assign(Object.assign({}, spec), { requestMethod: req.method, protocolName, timeoutMs: timeout.timeoutMs, shutdownSignal: opt.shutdownSignal, requestSignal: req.signal, requestHeader: req.header, url: req.url, responseHeader: {
215
+ [headers_js_1.headerContentType]: type.binary
216
+ ? content_type_js_1.contentTypeStreamProto
217
+ : content_type_js_1.contentTypeStreamJson,
218
+ }, contextValues: req.contextValues }));
219
+ const compression = (0, compression_js_1.compressionNegotiate)(opt.acceptCompression, req.header.get(headers_js_1.headerStreamEncoding), req.header.get(headers_js_1.headerStreamAcceptEncoding), headers_js_1.headerStreamAcceptEncoding);
220
+ if (compression.response) {
221
+ context.responseHeader.set(headers_js_1.headerStreamEncoding, compression.response.name);
222
+ }
223
+ // We split the pipeline into two parts: The request iterator, and the
224
+ // response iterator. We do this because the request iterator is responsible
225
+ // for parsing the request body, and we don't want write errors of the response
226
+ // iterator to affect the request iterator.
227
+ const inputIt = (0, async_iterable_js_1.pipe)(req.body, (0, async_iterable_js_1.transformPrepend)(() => {
228
+ if (opt.requireConnectProtocolHeader) {
229
+ (0, version_js_1.requireProtocolVersionHeader)(req.header);
230
+ }
231
+ // raise compression error to serialize it as the end stream response
232
+ if (compression.error)
233
+ throw compression.error;
234
+ // raise timeout parsing error to serialize it as a trailer status
235
+ if (timeout.error)
236
+ throw timeout.error;
237
+ return undefined;
238
+ }), (0, async_iterable_js_1.transformSplitEnvelope)(opt.readMaxBytes), (0, async_iterable_js_1.transformDecompressEnvelope)(compression.request, opt.readMaxBytes), (0, async_iterable_js_1.transformParseEnvelope)(serialization.getI(type.binary), end_stream_js_1.endStreamFlag));
239
+ const it = (0, invoke_implementation_js_1.transformInvokeImplementation)(spec, context, opt.interceptors)(inputIt)[Symbol.asyncIterator]();
240
+ const outputIt = (0, async_iterable_js_1.pipe)(
241
+ // We wrap the iterator in an async iterator to ensure that the
242
+ // abort signal is aborted when the iterator is done.
243
+ {
244
+ [Symbol.asyncIterator]() {
245
+ return {
246
+ next: () => it.next(),
247
+ throw: (e) => {
248
+ var _a, _b;
249
+ context.abort(e);
250
+ return (_b = (_a = it.throw) === null || _a === void 0 ? void 0 : _a.call(it, e)) !== null && _b !== void 0 ? _b : Promise.reject({ done: true });
251
+ },
252
+ return: (v) => {
253
+ var _a, _b;
254
+ context.abort();
255
+ return ((_b = (_a = it.return) === null || _a === void 0 ? void 0 : _a.call(it, v)) !== null && _b !== void 0 ? _b : Promise.resolve({ done: true, value: v }));
256
+ },
257
+ };
258
+ },
259
+ }, (0, async_iterable_js_1.transformSerializeEnvelope)(serialization.getO(type.binary)), (0, async_iterable_js_1.transformCatchFinally)((e) => {
260
+ context.abort();
261
+ const end = {
262
+ metadata: context.responseTrailer,
263
+ };
264
+ if (e instanceof connect_error_js_1.ConnectError) {
265
+ end.error = e;
266
+ }
267
+ else if (e !== undefined) {
268
+ end.error = new connect_error_js_1.ConnectError("internal error", code_js_1.Code.Internal, undefined, undefined, e);
269
+ }
270
+ return {
271
+ flags: end_stream_js_1.endStreamFlag,
272
+ data: endStreamSerialization.serialize(end),
273
+ };
274
+ }), (0, async_iterable_js_1.transformCompressEnvelope)(compression.response, opt.compressMinBytes), (0, async_iterable_js_1.transformJoinEnvelopes)(), { propagateDownStreamError: true });
275
+ return Object.assign(Object.assign({}, universal_js_1.uResponseOk), {
276
+ // We wait for the first response body bytes before resolving, so that
277
+ // implementations have a chance to add headers before an adapter commits
278
+ // them to the wire.
279
+ body: await (0, async_iterable_js_1.untilFirst)(outputIt), header: context.responseHeader });
280
+ };
281
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @private Internal code, does not follow semantic versioning.
3
+ */
4
+ export declare const headerContentType = "Content-Type";
5
+ export declare const headerUnaryContentLength = "Content-Length";
6
+ export declare const headerUnaryEncoding = "Content-Encoding";
7
+ export declare const headerStreamEncoding = "Connect-Content-Encoding";
8
+ export declare const headerUnaryAcceptEncoding = "Accept-Encoding";
9
+ export declare const headerStreamAcceptEncoding = "Connect-Accept-Encoding";
10
+ export declare const headerTimeout = "Connect-Timeout-Ms";
11
+ export declare const headerProtocolVersion = "Connect-Protocol-Version";
12
+ export declare const headerUserAgent = "User-Agent";
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ // Copyright 2021-2024 The Connect Authors
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // http://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.headerUserAgent = exports.headerProtocolVersion = exports.headerTimeout = exports.headerStreamAcceptEncoding = exports.headerUnaryAcceptEncoding = exports.headerStreamEncoding = exports.headerUnaryEncoding = exports.headerUnaryContentLength = exports.headerContentType = void 0;
17
+ /**
18
+ * @private Internal code, does not follow semantic versioning.
19
+ */
20
+ exports.headerContentType = "Content-Type";
21
+ exports.headerUnaryContentLength = "Content-Length";
22
+ exports.headerUnaryEncoding = "Content-Encoding";
23
+ exports.headerStreamEncoding = "Connect-Content-Encoding";
24
+ exports.headerUnaryAcceptEncoding = "Accept-Encoding";
25
+ exports.headerStreamAcceptEncoding = "Connect-Accept-Encoding";
26
+ exports.headerTimeout = "Connect-Timeout-Ms";
27
+ exports.headerProtocolVersion = "Connect-Protocol-Version";
28
+ exports.headerUserAgent = "User-Agent";
@@ -0,0 +1,15 @@
1
+ import { Code } from "../code.js";
2
+ /**
3
+ * Determine the Connect error code for the given HTTP status code.
4
+ * See https://connectrpc.com/docs/protocol/#http-to-error-code
5
+ *
6
+ * @private Internal code, does not follow semantic versioning.
7
+ */
8
+ export declare function codeFromHttpStatus(httpStatus: number): Code;
9
+ /**
10
+ * Returns a HTTP status code for the given Connect code.
11
+ * See https://connectrpc.com/docs/protocol#error-codes
12
+ *
13
+ * @private Internal code, does not follow semantic versioning.
14
+ */
15
+ export declare function codeToHttpStatus(code: Code): number;
@@ -0,0 +1,90 @@
1
+ "use strict";
2
+ // Copyright 2021-2024 The Connect Authors
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // http://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.codeFromHttpStatus = codeFromHttpStatus;
17
+ exports.codeToHttpStatus = codeToHttpStatus;
18
+ const code_js_1 = require("../code.js");
19
+ /**
20
+ * Determine the Connect error code for the given HTTP status code.
21
+ * See https://connectrpc.com/docs/protocol/#http-to-error-code
22
+ *
23
+ * @private Internal code, does not follow semantic versioning.
24
+ */
25
+ function codeFromHttpStatus(httpStatus) {
26
+ switch (httpStatus) {
27
+ case 400: // Bad Request
28
+ return code_js_1.Code.Internal;
29
+ case 401: // Unauthorized
30
+ return code_js_1.Code.Unauthenticated;
31
+ case 403: // Forbidden
32
+ return code_js_1.Code.PermissionDenied;
33
+ case 404: // Not Found
34
+ return code_js_1.Code.Unimplemented;
35
+ case 429: // Too Many Requests
36
+ return code_js_1.Code.Unavailable;
37
+ case 502: // Bad Gateway
38
+ return code_js_1.Code.Unavailable;
39
+ case 503: // Service Unavailable
40
+ return code_js_1.Code.Unavailable;
41
+ case 504: // Gateway Timeout
42
+ return code_js_1.Code.Unavailable;
43
+ default:
44
+ return code_js_1.Code.Unknown;
45
+ }
46
+ }
47
+ /**
48
+ * Returns a HTTP status code for the given Connect code.
49
+ * See https://connectrpc.com/docs/protocol#error-codes
50
+ *
51
+ * @private Internal code, does not follow semantic versioning.
52
+ */
53
+ function codeToHttpStatus(code) {
54
+ switch (code) {
55
+ case code_js_1.Code.Canceled:
56
+ return 499; // Client Closed Request
57
+ case code_js_1.Code.Unknown:
58
+ return 500; // Internal Server Error
59
+ case code_js_1.Code.InvalidArgument:
60
+ return 400; // Bad Request
61
+ case code_js_1.Code.DeadlineExceeded:
62
+ return 504; // Gateway Timeout
63
+ case code_js_1.Code.NotFound:
64
+ return 404; // Not Found
65
+ case code_js_1.Code.AlreadyExists:
66
+ return 409; // Conflict
67
+ case code_js_1.Code.PermissionDenied:
68
+ return 403; // Forbidden
69
+ case code_js_1.Code.ResourceExhausted:
70
+ return 429; // Too Many Requests
71
+ case code_js_1.Code.FailedPrecondition:
72
+ return 400; // Bad Request
73
+ case code_js_1.Code.Aborted:
74
+ return 409; // Conflict
75
+ case code_js_1.Code.OutOfRange:
76
+ return 400; // Bad Request
77
+ case code_js_1.Code.Unimplemented:
78
+ return 501; // Not Implemented
79
+ case code_js_1.Code.Internal:
80
+ return 500; // Internal Server Error
81
+ case code_js_1.Code.Unavailable:
82
+ return 503; // Service Unavailable
83
+ case code_js_1.Code.DataLoss:
84
+ return 500; // Internal Server Error
85
+ case code_js_1.Code.Unauthenticated:
86
+ return 401; // Unauthorized
87
+ default:
88
+ return 500; // same as CodeUnknown
89
+ }
90
+ }
@@ -0,0 +1,16 @@
1
+ export { createHandlerFactory } from "./handler-factory.js";
2
+ export { createTransport } from "./transport.js";
3
+ export { codeFromHttpStatus, codeToHttpStatus } from "./http-status.js";
4
+ export { requestHeader, requestHeaderWithCompression, } from "./request-header.js";
5
+ export { endStreamToJson, endStreamFromJson, endStreamFlag, createEndStreamSerialization, } from "./end-stream.js";
6
+ export type { EndStreamResponse } from "./end-stream.js";
7
+ export { errorFromJson, errorFromJsonBytes, errorToJson, errorToJsonBytes, } from "./error-json.js";
8
+ export { parseContentType, contentTypeUnaryProto, contentTypeUnaryJson, contentTypeStreamProto, contentTypeStreamJson, contentTypeRegExp, contentTypeUnaryRegExp, contentTypeStreamRegExp, } from "./content-type.js";
9
+ export { parseTimeout } from "./parse-timeout.js";
10
+ export { validateResponse, validateResponseWithCompression, } from "./validate-response.js";
11
+ export { trailerMux, trailerDemux } from "./trailer-mux.js";
12
+ export * from "./headers.js";
13
+ export { transformConnectPostToGetRequest } from "./get-request.js";
14
+ export { protocolVersion } from "./version.js";
15
+ export { codeFromString } from "./code-string.js";
16
+ export { codeToString } from "./code-string.js";
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ // Copyright 2021-2024 The Connect Authors
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // http://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ var desc = Object.getOwnPropertyDescriptor(m, k);
18
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
+ desc = { enumerable: true, get: function() { return m[k]; } };
20
+ }
21
+ Object.defineProperty(o, k2, desc);
22
+ }) : (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ o[k2] = m[k];
25
+ }));
26
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28
+ };
29
+ Object.defineProperty(exports, "__esModule", { value: true });
30
+ exports.codeToString = exports.codeFromString = exports.protocolVersion = exports.transformConnectPostToGetRequest = exports.trailerDemux = exports.trailerMux = exports.validateResponseWithCompression = exports.validateResponse = exports.parseTimeout = exports.contentTypeStreamRegExp = exports.contentTypeUnaryRegExp = exports.contentTypeRegExp = exports.contentTypeStreamJson = exports.contentTypeStreamProto = exports.contentTypeUnaryJson = exports.contentTypeUnaryProto = exports.parseContentType = exports.errorToJsonBytes = exports.errorToJson = exports.errorFromJsonBytes = exports.errorFromJson = exports.createEndStreamSerialization = exports.endStreamFlag = exports.endStreamFromJson = exports.endStreamToJson = exports.requestHeaderWithCompression = exports.requestHeader = exports.codeToHttpStatus = exports.codeFromHttpStatus = exports.createTransport = exports.createHandlerFactory = void 0;
31
+ var handler_factory_js_1 = require("./handler-factory.js");
32
+ Object.defineProperty(exports, "createHandlerFactory", { enumerable: true, get: function () { return handler_factory_js_1.createHandlerFactory; } });
33
+ var transport_js_1 = require("./transport.js");
34
+ Object.defineProperty(exports, "createTransport", { enumerable: true, get: function () { return transport_js_1.createTransport; } });
35
+ // All exports below are private — internal code that does not follow semantic
36
+ // versioning.
37
+ // We will try hard to avoid breaking changes, but if you depend on the
38
+ // following exports, we recommend that you do so with an exact version
39
+ // constraint (no ~ or ^).
40
+ var http_status_js_1 = require("./http-status.js");
41
+ Object.defineProperty(exports, "codeFromHttpStatus", { enumerable: true, get: function () { return http_status_js_1.codeFromHttpStatus; } });
42
+ Object.defineProperty(exports, "codeToHttpStatus", { enumerable: true, get: function () { return http_status_js_1.codeToHttpStatus; } });
43
+ var request_header_js_1 = require("./request-header.js");
44
+ Object.defineProperty(exports, "requestHeader", { enumerable: true, get: function () { return request_header_js_1.requestHeader; } });
45
+ Object.defineProperty(exports, "requestHeaderWithCompression", { enumerable: true, get: function () { return request_header_js_1.requestHeaderWithCompression; } });
46
+ var end_stream_js_1 = require("./end-stream.js");
47
+ Object.defineProperty(exports, "endStreamToJson", { enumerable: true, get: function () { return end_stream_js_1.endStreamToJson; } });
48
+ Object.defineProperty(exports, "endStreamFromJson", { enumerable: true, get: function () { return end_stream_js_1.endStreamFromJson; } });
49
+ Object.defineProperty(exports, "endStreamFlag", { enumerable: true, get: function () { return end_stream_js_1.endStreamFlag; } });
50
+ Object.defineProperty(exports, "createEndStreamSerialization", { enumerable: true, get: function () { return end_stream_js_1.createEndStreamSerialization; } });
51
+ var error_json_js_1 = require("./error-json.js");
52
+ Object.defineProperty(exports, "errorFromJson", { enumerable: true, get: function () { return error_json_js_1.errorFromJson; } });
53
+ Object.defineProperty(exports, "errorFromJsonBytes", { enumerable: true, get: function () { return error_json_js_1.errorFromJsonBytes; } });
54
+ Object.defineProperty(exports, "errorToJson", { enumerable: true, get: function () { return error_json_js_1.errorToJson; } });
55
+ Object.defineProperty(exports, "errorToJsonBytes", { enumerable: true, get: function () { return error_json_js_1.errorToJsonBytes; } });
56
+ var content_type_js_1 = require("./content-type.js");
57
+ Object.defineProperty(exports, "parseContentType", { enumerable: true, get: function () { return content_type_js_1.parseContentType; } });
58
+ Object.defineProperty(exports, "contentTypeUnaryProto", { enumerable: true, get: function () { return content_type_js_1.contentTypeUnaryProto; } });
59
+ Object.defineProperty(exports, "contentTypeUnaryJson", { enumerable: true, get: function () { return content_type_js_1.contentTypeUnaryJson; } });
60
+ Object.defineProperty(exports, "contentTypeStreamProto", { enumerable: true, get: function () { return content_type_js_1.contentTypeStreamProto; } });
61
+ Object.defineProperty(exports, "contentTypeStreamJson", { enumerable: true, get: function () { return content_type_js_1.contentTypeStreamJson; } });
62
+ Object.defineProperty(exports, "contentTypeRegExp", { enumerable: true, get: function () { return content_type_js_1.contentTypeRegExp; } });
63
+ Object.defineProperty(exports, "contentTypeUnaryRegExp", { enumerable: true, get: function () { return content_type_js_1.contentTypeUnaryRegExp; } });
64
+ Object.defineProperty(exports, "contentTypeStreamRegExp", { enumerable: true, get: function () { return content_type_js_1.contentTypeStreamRegExp; } });
65
+ var parse_timeout_js_1 = require("./parse-timeout.js");
66
+ Object.defineProperty(exports, "parseTimeout", { enumerable: true, get: function () { return parse_timeout_js_1.parseTimeout; } });
67
+ var validate_response_js_1 = require("./validate-response.js");
68
+ Object.defineProperty(exports, "validateResponse", { enumerable: true, get: function () { return validate_response_js_1.validateResponse; } });
69
+ Object.defineProperty(exports, "validateResponseWithCompression", { enumerable: true, get: function () { return validate_response_js_1.validateResponseWithCompression; } });
70
+ var trailer_mux_js_1 = require("./trailer-mux.js");
71
+ Object.defineProperty(exports, "trailerMux", { enumerable: true, get: function () { return trailer_mux_js_1.trailerMux; } });
72
+ Object.defineProperty(exports, "trailerDemux", { enumerable: true, get: function () { return trailer_mux_js_1.trailerDemux; } });
73
+ __exportStar(require("./headers.js"), exports);
74
+ var get_request_js_1 = require("./get-request.js");
75
+ Object.defineProperty(exports, "transformConnectPostToGetRequest", { enumerable: true, get: function () { return get_request_js_1.transformConnectPostToGetRequest; } });
76
+ var version_js_1 = require("./version.js");
77
+ Object.defineProperty(exports, "protocolVersion", { enumerable: true, get: function () { return version_js_1.protocolVersion; } });
78
+ var code_string_js_1 = require("./code-string.js");
79
+ Object.defineProperty(exports, "codeFromString", { enumerable: true, get: function () { return code_string_js_1.codeFromString; } });
80
+ var code_string_js_2 = require("./code-string.js");
81
+ Object.defineProperty(exports, "codeToString", { enumerable: true, get: function () { return code_string_js_2.codeToString; } });
@@ -0,0 +1,13 @@
1
+ import { ConnectError } from "../connect-error.js";
2
+ /**
3
+ * Parse a Connect Timeout (Deadline) header.
4
+ *
5
+ * @private Internal code, does not follow semantic versioning.
6
+ */
7
+ export declare function parseTimeout(value: string | null, maxTimeoutMs: number): {
8
+ timeoutMs?: number;
9
+ error?: undefined;
10
+ } | {
11
+ timeoutMs?: number;
12
+ error: ConnectError;
13
+ };
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ // Copyright 2021-2024 The Connect Authors
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // http://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.parseTimeout = parseTimeout;
17
+ const code_js_1 = require("../code.js");
18
+ const connect_error_js_1 = require("../connect-error.js");
19
+ /**
20
+ * Parse a Connect Timeout (Deadline) header.
21
+ *
22
+ * @private Internal code, does not follow semantic versioning.
23
+ */
24
+ function parseTimeout(value, maxTimeoutMs) {
25
+ if (value === null) {
26
+ return {};
27
+ }
28
+ const results = /^\d{1,10}$/.exec(value);
29
+ if (results === null) {
30
+ return {
31
+ error: new connect_error_js_1.ConnectError(`protocol error: invalid connect timeout value: ${value}`, code_js_1.Code.InvalidArgument),
32
+ };
33
+ }
34
+ const timeoutMs = parseInt(results[0]);
35
+ if (timeoutMs > maxTimeoutMs) {
36
+ return {
37
+ timeoutMs: timeoutMs,
38
+ error: new connect_error_js_1.ConnectError(`timeout ${timeoutMs}ms must be <= ${maxTimeoutMs}`, code_js_1.Code.InvalidArgument),
39
+ };
40
+ }
41
+ return {
42
+ timeoutMs: parseInt(results[0]),
43
+ };
44
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @private Internal code, does not follow semantic versioning.
3
+ */
4
+ export declare const paramConnectVersion = "connect";
5
+ export declare const paramEncoding = "encoding";
6
+ export declare const paramCompression = "compression";
7
+ export declare const paramBase64 = "base64";
8
+ export declare const paramMessage = "message";
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ // Copyright 2021-2024 The Connect Authors
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // http://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.paramMessage = exports.paramBase64 = exports.paramCompression = exports.paramEncoding = exports.paramConnectVersion = void 0;
17
+ /**
18
+ * @private Internal code, does not follow semantic versioning.
19
+ */
20
+ exports.paramConnectVersion = "connect";
21
+ exports.paramEncoding = "encoding";
22
+ exports.paramCompression = "compression";
23
+ exports.paramBase64 = "base64";
24
+ exports.paramMessage = "message";
@@ -0,0 +1,19 @@
1
+ import { MethodKind } from "@bufbuild/protobuf";
2
+ import type { Compression } from "../protocol/compression.js";
3
+ /**
4
+ * Creates headers for a Connect request.
5
+ *
6
+ * @private Internal code, does not follow semantic versioning.
7
+ */
8
+ export declare function requestHeader(methodKind: MethodKind, useBinaryFormat: boolean, timeoutMs: number | undefined, userProvidedHeaders: HeadersInit | undefined, setUserAgent: boolean): Headers;
9
+ /**
10
+ * Creates headers for a Connect request with compression.
11
+ *
12
+ * Note that we always set the Content-Encoding header for unary methods.
13
+ * It is up to the caller to decide whether to apply compression - and remove
14
+ * the header if compression is not used, for example because the payload is
15
+ * too small to make compression effective.
16
+ *
17
+ * @private Internal code, does not follow semantic versioning.
18
+ */
19
+ export declare function requestHeaderWithCompression(methodKind: MethodKind, useBinaryFormat: boolean, timeoutMs: number | undefined, userProvidedHeaders: HeadersInit | undefined, acceptCompression: Compression[], sendCompression: Compression | null, setUserAgent: boolean): Headers;