@furo/open-models 1.15.3 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (636) hide show
  1. package/custom-elements.json +3545 -3545
  2. package/dist/protoc-gen-open-models/API_OPTIONS.d.ts +5 -0
  3. package/dist/protoc-gen-open-models/API_OPTIONS.js +11 -0
  4. package/dist/protoc-gen-open-models/API_OPTIONS.js.map +1 -0
  5. package/dist/protoc-gen-open-models/BusinessValidators.d.ts +1 -0
  6. package/dist/protoc-gen-open-models/BusinessValidators.js +201 -0
  7. package/dist/protoc-gen-open-models/BusinessValidators.js.map +1 -0
  8. package/dist/protoc-gen-open-models/CustomPrototypes.d.ts +1 -0
  9. package/dist/protoc-gen-open-models/CustomPrototypes.js +17 -0
  10. package/dist/protoc-gen-open-models/CustomPrototypes.js.map +1 -0
  11. package/dist/protoc-gen-open-models/furo/cube/Colour.d.ts +61 -0
  12. package/dist/protoc-gen-open-models/furo/cube/Colour.js +110 -0
  13. package/dist/protoc-gen-open-models/furo/cube/Colour.js.map +1 -0
  14. package/dist/protoc-gen-open-models/furo/cube/CubeDefinition.d.ts +80 -0
  15. package/dist/protoc-gen-open-models/furo/cube/CubeDefinition.js +131 -0
  16. package/dist/protoc-gen-open-models/furo/cube/CubeDefinition.js.map +1 -0
  17. package/dist/protoc-gen-open-models/furo/cube/CubeEntity.d.ts +57 -0
  18. package/dist/protoc-gen-open-models/furo/cube/CubeEntity.js +94 -0
  19. package/dist/protoc-gen-open-models/furo/cube/CubeEntity.js.map +1 -0
  20. package/dist/protoc-gen-open-models/furo/cube/CubeService.d.ts +12 -0
  21. package/dist/protoc-gen-open-models/furo/cube/CubeService.js +14 -0
  22. package/dist/protoc-gen-open-models/furo/cube/CubeService.js.map +1 -0
  23. package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetListRequest.d.ts +31 -0
  24. package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetListRequest.js +58 -0
  25. package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetListRequest.js.map +1 -0
  26. package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetListResponse.d.ts +26 -0
  27. package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetListResponse.js +57 -0
  28. package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetListResponse.js.map +1 -0
  29. package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetRequest.d.ts +44 -0
  30. package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetRequest.js +79 -0
  31. package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetRequest.js.map +1 -0
  32. package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetResponse.d.ts +26 -0
  33. package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetResponse.js +57 -0
  34. package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetResponse.js.map +1 -0
  35. package/dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateRequest.d.ts +37 -0
  36. package/dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateRequest.js +73 -0
  37. package/dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateRequest.js.map +1 -0
  38. package/dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateResponse.d.ts +26 -0
  39. package/dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateResponse.js +57 -0
  40. package/dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateResponse.js.map +1 -0
  41. package/dist/protoc-gen-open-models/furo/cube/Materials.d.ts +12 -0
  42. package/dist/protoc-gen-open-models/furo/cube/Materials.js +21 -0
  43. package/dist/protoc-gen-open-models/furo/cube/Materials.js.map +1 -0
  44. package/dist/protoc-gen-open-models/furo/cube/Wrappers.d.ts +65 -0
  45. package/dist/protoc-gen-open-models/furo/cube/Wrappers.js +168 -0
  46. package/dist/protoc-gen-open-models/furo/cube/Wrappers.js.map +1 -0
  47. package/dist/protoc-gen-open-models/furo/fat/Any.AttributesEntry.d.ts +50 -0
  48. package/dist/protoc-gen-open-models/furo/fat/Any.AttributesEntry.js +83 -0
  49. package/dist/protoc-gen-open-models/furo/fat/Any.AttributesEntry.js.map +1 -0
  50. package/dist/protoc-gen-open-models/furo/fat/Any.LabelsEntry.d.ts +50 -0
  51. package/dist/protoc-gen-open-models/furo/fat/Any.LabelsEntry.js +83 -0
  52. package/dist/protoc-gen-open-models/furo/fat/Any.LabelsEntry.js.map +1 -0
  53. package/dist/protoc-gen-open-models/furo/fat/Any.d.ts +74 -0
  54. package/dist/protoc-gen-open-models/furo/fat/Any.js +96 -0
  55. package/dist/protoc-gen-open-models/furo/fat/Any.js.map +1 -0
  56. package/dist/protoc-gen-open-models/furo/fat/Bool.AttributesEntry.d.ts +42 -0
  57. package/dist/protoc-gen-open-models/furo/fat/Bool.AttributesEntry.js +75 -0
  58. package/dist/protoc-gen-open-models/furo/fat/Bool.AttributesEntry.js.map +1 -0
  59. package/dist/protoc-gen-open-models/furo/fat/Bool.LabelsEntry.d.ts +42 -0
  60. package/dist/protoc-gen-open-models/furo/fat/Bool.LabelsEntry.js +75 -0
  61. package/dist/protoc-gen-open-models/furo/fat/Bool.LabelsEntry.js.map +1 -0
  62. package/dist/protoc-gen-open-models/furo/fat/Bool.d.ts +68 -0
  63. package/dist/protoc-gen-open-models/furo/fat/Bool.js +94 -0
  64. package/dist/protoc-gen-open-models/furo/fat/Bool.js.map +1 -0
  65. package/dist/protoc-gen-open-models/furo/fat/Bytes.AttributesEntry.d.ts +42 -0
  66. package/dist/protoc-gen-open-models/furo/fat/Bytes.AttributesEntry.js +75 -0
  67. package/dist/protoc-gen-open-models/furo/fat/Bytes.AttributesEntry.js.map +1 -0
  68. package/dist/protoc-gen-open-models/furo/fat/Bytes.LabelsEntry.d.ts +42 -0
  69. package/dist/protoc-gen-open-models/furo/fat/Bytes.LabelsEntry.js +76 -0
  70. package/dist/protoc-gen-open-models/furo/fat/Bytes.LabelsEntry.js.map +1 -0
  71. package/dist/protoc-gen-open-models/furo/fat/Bytes.d.ts +68 -0
  72. package/dist/protoc-gen-open-models/furo/fat/Bytes.js +94 -0
  73. package/dist/protoc-gen-open-models/furo/fat/Bytes.js.map +1 -0
  74. package/dist/protoc-gen-open-models/furo/fat/DecimalRange.d.ts +58 -0
  75. package/dist/protoc-gen-open-models/furo/fat/DecimalRange.js +82 -0
  76. package/dist/protoc-gen-open-models/furo/fat/DecimalRange.js.map +1 -0
  77. package/dist/protoc-gen-open-models/furo/fat/Double.AttributesEntry.d.ts +42 -0
  78. package/dist/protoc-gen-open-models/furo/fat/Double.AttributesEntry.js +75 -0
  79. package/dist/protoc-gen-open-models/furo/fat/Double.AttributesEntry.js.map +1 -0
  80. package/dist/protoc-gen-open-models/furo/fat/Double.LabelsEntry.d.ts +42 -0
  81. package/dist/protoc-gen-open-models/furo/fat/Double.LabelsEntry.js +75 -0
  82. package/dist/protoc-gen-open-models/furo/fat/Double.LabelsEntry.js.map +1 -0
  83. package/dist/protoc-gen-open-models/furo/fat/Double.d.ts +68 -0
  84. package/dist/protoc-gen-open-models/furo/fat/Double.js +94 -0
  85. package/dist/protoc-gen-open-models/furo/fat/Double.js.map +1 -0
  86. package/dist/protoc-gen-open-models/furo/fat/Empty.AttributesEntry.d.ts +42 -0
  87. package/dist/protoc-gen-open-models/furo/fat/Empty.AttributesEntry.js +75 -0
  88. package/dist/protoc-gen-open-models/furo/fat/Empty.AttributesEntry.js.map +1 -0
  89. package/dist/protoc-gen-open-models/furo/fat/Empty.LabelsEntry.d.ts +42 -0
  90. package/dist/protoc-gen-open-models/furo/fat/Empty.LabelsEntry.js +76 -0
  91. package/dist/protoc-gen-open-models/furo/fat/Empty.LabelsEntry.js.map +1 -0
  92. package/dist/protoc-gen-open-models/furo/fat/Empty.d.ts +57 -0
  93. package/dist/protoc-gen-open-models/furo/fat/Empty.js +78 -0
  94. package/dist/protoc-gen-open-models/furo/fat/Empty.js.map +1 -0
  95. package/dist/protoc-gen-open-models/furo/fat/Float.AttributesEntry.d.ts +42 -0
  96. package/dist/protoc-gen-open-models/furo/fat/Float.AttributesEntry.js +75 -0
  97. package/dist/protoc-gen-open-models/furo/fat/Float.AttributesEntry.js.map +1 -0
  98. package/dist/protoc-gen-open-models/furo/fat/Float.LabelsEntry.d.ts +42 -0
  99. package/dist/protoc-gen-open-models/furo/fat/Float.LabelsEntry.js +76 -0
  100. package/dist/protoc-gen-open-models/furo/fat/Float.LabelsEntry.js.map +1 -0
  101. package/dist/protoc-gen-open-models/furo/fat/Float.d.ts +68 -0
  102. package/dist/protoc-gen-open-models/furo/fat/Float.js +94 -0
  103. package/dist/protoc-gen-open-models/furo/fat/Float.js.map +1 -0
  104. package/dist/protoc-gen-open-models/furo/fat/Int32.AttributesEntry.d.ts +42 -0
  105. package/dist/protoc-gen-open-models/furo/fat/Int32.AttributesEntry.js +75 -0
  106. package/dist/protoc-gen-open-models/furo/fat/Int32.AttributesEntry.js.map +1 -0
  107. package/dist/protoc-gen-open-models/furo/fat/Int32.LabelsEntry.d.ts +42 -0
  108. package/dist/protoc-gen-open-models/furo/fat/Int32.LabelsEntry.js +76 -0
  109. package/dist/protoc-gen-open-models/furo/fat/Int32.LabelsEntry.js.map +1 -0
  110. package/dist/protoc-gen-open-models/furo/fat/Int32.d.ts +68 -0
  111. package/dist/protoc-gen-open-models/furo/fat/Int32.js +94 -0
  112. package/dist/protoc-gen-open-models/furo/fat/Int32.js.map +1 -0
  113. package/dist/protoc-gen-open-models/furo/fat/Int64.AttributesEntry.d.ts +42 -0
  114. package/dist/protoc-gen-open-models/furo/fat/Int64.AttributesEntry.js +75 -0
  115. package/dist/protoc-gen-open-models/furo/fat/Int64.AttributesEntry.js.map +1 -0
  116. package/dist/protoc-gen-open-models/furo/fat/Int64.LabelsEntry.d.ts +42 -0
  117. package/dist/protoc-gen-open-models/furo/fat/Int64.LabelsEntry.js +76 -0
  118. package/dist/protoc-gen-open-models/furo/fat/Int64.LabelsEntry.js.map +1 -0
  119. package/dist/protoc-gen-open-models/furo/fat/Int64.d.ts +68 -0
  120. package/dist/protoc-gen-open-models/furo/fat/Int64.js +94 -0
  121. package/dist/protoc-gen-open-models/furo/fat/Int64.js.map +1 -0
  122. package/dist/protoc-gen-open-models/furo/fat/String.AttributesEntry.d.ts +42 -0
  123. package/dist/protoc-gen-open-models/furo/fat/String.AttributesEntry.js +75 -0
  124. package/dist/protoc-gen-open-models/furo/fat/String.AttributesEntry.js.map +1 -0
  125. package/dist/protoc-gen-open-models/furo/fat/String.LabelsEntry.d.ts +42 -0
  126. package/dist/protoc-gen-open-models/furo/fat/String.LabelsEntry.js +75 -0
  127. package/dist/protoc-gen-open-models/furo/fat/String.LabelsEntry.js.map +1 -0
  128. package/dist/protoc-gen-open-models/furo/fat/String.d.ts +68 -0
  129. package/dist/protoc-gen-open-models/furo/fat/String.js +94 -0
  130. package/dist/protoc-gen-open-models/furo/fat/String.js.map +1 -0
  131. package/dist/protoc-gen-open-models/furo/fat/Uint32.AttributesEntry.d.ts +42 -0
  132. package/dist/protoc-gen-open-models/furo/fat/Uint32.AttributesEntry.js +75 -0
  133. package/dist/protoc-gen-open-models/furo/fat/Uint32.AttributesEntry.js.map +1 -0
  134. package/dist/protoc-gen-open-models/furo/fat/Uint32.LabelsEntry.d.ts +42 -0
  135. package/dist/protoc-gen-open-models/furo/fat/Uint32.LabelsEntry.js +75 -0
  136. package/dist/protoc-gen-open-models/furo/fat/Uint32.LabelsEntry.js.map +1 -0
  137. package/dist/protoc-gen-open-models/furo/fat/Uint32.d.ts +68 -0
  138. package/dist/protoc-gen-open-models/furo/fat/Uint32.js +94 -0
  139. package/dist/protoc-gen-open-models/furo/fat/Uint32.js.map +1 -0
  140. package/dist/protoc-gen-open-models/furo/fat/Uint64.AttributesEntry.d.ts +42 -0
  141. package/dist/protoc-gen-open-models/furo/fat/Uint64.AttributesEntry.js +75 -0
  142. package/dist/protoc-gen-open-models/furo/fat/Uint64.AttributesEntry.js.map +1 -0
  143. package/dist/protoc-gen-open-models/furo/fat/Uint64.LabelsEntry.d.ts +42 -0
  144. package/dist/protoc-gen-open-models/furo/fat/Uint64.LabelsEntry.js +75 -0
  145. package/dist/protoc-gen-open-models/furo/fat/Uint64.LabelsEntry.js.map +1 -0
  146. package/dist/protoc-gen-open-models/furo/fat/Uint64.d.ts +68 -0
  147. package/dist/protoc-gen-open-models/furo/fat/Uint64.js +94 -0
  148. package/dist/protoc-gen-open-models/furo/fat/Uint64.js.map +1 -0
  149. package/dist/protoc-gen-open-models/furo/type/BookingCenter.d.ts +11 -0
  150. package/dist/protoc-gen-open-models/furo/type/BookingCenter.js +15 -0
  151. package/dist/protoc-gen-open-models/furo/type/BookingCenter.js.map +1 -0
  152. package/dist/protoc-gen-open-models/furo/type/ConstraintWrappers.d.ts +75 -0
  153. package/dist/protoc-gen-open-models/furo/type/ConstraintWrappers.js +230 -0
  154. package/dist/protoc-gen-open-models/furo/type/ConstraintWrappers.js.map +1 -0
  155. package/dist/protoc-gen-open-models/furo/type/Decimal.d.ts +37 -0
  156. package/dist/protoc-gen-open-models/furo/type/Decimal.js +61 -0
  157. package/dist/protoc-gen-open-models/furo/type/Decimal.js.map +1 -0
  158. package/dist/protoc-gen-open-models/furo/type/DecimalB.d.ts +37 -0
  159. package/dist/protoc-gen-open-models/furo/type/DecimalB.js +61 -0
  160. package/dist/protoc-gen-open-models/furo/type/DecimalB.js.map +1 -0
  161. package/dist/protoc-gen-open-models/furo/type/DecimalRange.d.ts +58 -0
  162. package/dist/protoc-gen-open-models/furo/type/DecimalRange.js +82 -0
  163. package/dist/protoc-gen-open-models/furo/type/DecimalRange.js.map +1 -0
  164. package/dist/protoc-gen-open-models/furo/type/DeepRecursion.d.ts +31 -0
  165. package/dist/protoc-gen-open-models/furo/type/DeepRecursion.js +72 -0
  166. package/dist/protoc-gen-open-models/furo/type/DeepRecursion.js.map +1 -0
  167. package/dist/protoc-gen-open-models/furo/type/Defaults.AttributesEntry.d.ts +30 -0
  168. package/dist/protoc-gen-open-models/furo/type/Defaults.AttributesEntry.js +70 -0
  169. package/dist/protoc-gen-open-models/furo/type/Defaults.AttributesEntry.js.map +1 -0
  170. package/dist/protoc-gen-open-models/furo/type/Defaults.d.ts +111 -0
  171. package/dist/protoc-gen-open-models/furo/type/Defaults.js +222 -0
  172. package/dist/protoc-gen-open-models/furo/type/Defaults.js.map +1 -0
  173. package/dist/protoc-gen-open-models/furo/type/Identifier.AttributesEntry.d.ts +30 -0
  174. package/dist/protoc-gen-open-models/furo/type/Identifier.AttributesEntry.js +70 -0
  175. package/dist/protoc-gen-open-models/furo/type/Identifier.AttributesEntry.js.map +1 -0
  176. package/dist/protoc-gen-open-models/furo/type/Identifier.d.ts +117 -0
  177. package/dist/protoc-gen-open-models/furo/type/Identifier.js +215 -0
  178. package/dist/protoc-gen-open-models/furo/type/Identifier.js.map +1 -0
  179. package/dist/protoc-gen-open-models/furo/type/Numeric.d.ts +42 -0
  180. package/dist/protoc-gen-open-models/furo/type/Numeric.js +81 -0
  181. package/dist/protoc-gen-open-models/furo/type/Numeric.js.map +1 -0
  182. package/dist/protoc-gen-open-models/furo/type/Numeric64.d.ts +47 -0
  183. package/dist/protoc-gen-open-models/furo/type/Numeric64.js +95 -0
  184. package/dist/protoc-gen-open-models/furo/type/Numeric64.js.map +1 -0
  185. package/dist/protoc-gen-open-models/furo/type/Other.d.ts +26 -0
  186. package/dist/protoc-gen-open-models/furo/type/Other.js +57 -0
  187. package/dist/protoc-gen-open-models/furo/type/Other.js.map +1 -0
  188. package/dist/protoc-gen-open-models/furo/type/RefSystem.d.ts +13 -0
  189. package/dist/protoc-gen-open-models/furo/type/RefSystem.js +17 -0
  190. package/dist/protoc-gen-open-models/furo/type/RefSystem.js.map +1 -0
  191. package/dist/protoc-gen-open-models/furo/type/RefType.d.ts +53 -0
  192. package/dist/protoc-gen-open-models/furo/type/RefType.js +57 -0
  193. package/dist/protoc-gen-open-models/furo/type/RefType.js.map +1 -0
  194. package/dist/protoc-gen-open-models/furo/type/Tree.d.ts +53 -0
  195. package/dist/protoc-gen-open-models/furo/type/Tree.js +90 -0
  196. package/dist/protoc-gen-open-models/furo/type/Tree.js.map +1 -0
  197. package/dist/protoc-gen-open-models/furo/type/Uints.d.ts +46 -0
  198. package/dist/protoc-gen-open-models/furo/type/Uints.js +113 -0
  199. package/dist/protoc-gen-open-models/furo/type/Uints.js.map +1 -0
  200. package/dist/protoc-gen-open-models/furo/type/Wrappers.d.ts +65 -0
  201. package/dist/protoc-gen-open-models/furo/type/Wrappers.js +168 -0
  202. package/dist/protoc-gen-open-models/furo/type/Wrappers.js.map +1 -0
  203. package/dist/protoc-gen-open-models/google/api/CustomHttpPattern.d.ts +45 -0
  204. package/dist/protoc-gen-open-models/google/api/CustomHttpPattern.js +77 -0
  205. package/dist/protoc-gen-open-models/google/api/CustomHttpPattern.js.map +1 -0
  206. package/dist/protoc-gen-open-models/google/api/Http.d.ts +66 -0
  207. package/dist/protoc-gen-open-models/google/api/Http.js +93 -0
  208. package/dist/protoc-gen-open-models/google/api/Http.js.map +1 -0
  209. package/dist/protoc-gen-open-models/google/api/HttpRule.d.ts +985 -0
  210. package/dist/protoc-gen-open-models/google/api/HttpRule.js +514 -0
  211. package/dist/protoc-gen-open-models/google/api/HttpRule.js.map +1 -0
  212. package/dist/protoc-gen-open-models/google/protobuf/Any.d.ts +356 -0
  213. package/dist/protoc-gen-open-models/google/protobuf/Any.js +217 -0
  214. package/dist/protoc-gen-open-models/google/protobuf/Any.js.map +1 -0
  215. package/dist/protoc-gen-open-models/google/protobuf/BoolValue.d.ts +40 -0
  216. package/dist/protoc-gen-open-models/google/protobuf/BoolValue.js +62 -0
  217. package/dist/protoc-gen-open-models/google/protobuf/BoolValue.js.map +1 -0
  218. package/dist/protoc-gen-open-models/google/protobuf/BytesValue.d.ts +40 -0
  219. package/dist/protoc-gen-open-models/google/protobuf/BytesValue.js +62 -0
  220. package/dist/protoc-gen-open-models/google/protobuf/BytesValue.js.map +1 -0
  221. package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.ExtensionRange.d.ts +36 -0
  222. package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.ExtensionRange.js +85 -0
  223. package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.ExtensionRange.js.map +1 -0
  224. package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.ReservedRange.d.ts +30 -0
  225. package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.ReservedRange.js +70 -0
  226. package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.ReservedRange.js.map +1 -0
  227. package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.d.ts +87 -0
  228. package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.js +194 -0
  229. package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.js.map +1 -0
  230. package/dist/protoc-gen-open-models/google/protobuf/DoubleValue.d.ts +40 -0
  231. package/dist/protoc-gen-open-models/google/protobuf/DoubleValue.js +63 -0
  232. package/dist/protoc-gen-open-models/google/protobuf/DoubleValue.js.map +1 -0
  233. package/dist/protoc-gen-open-models/google/protobuf/Edition.d.ts +11 -0
  234. package/dist/protoc-gen-open-models/google/protobuf/Edition.js +26 -0
  235. package/dist/protoc-gen-open-models/google/protobuf/Edition.js.map +1 -0
  236. package/dist/protoc-gen-open-models/google/protobuf/EnumDescriptorProto.EnumReservedRange.d.ts +30 -0
  237. package/dist/protoc-gen-open-models/google/protobuf/EnumDescriptorProto.EnumReservedRange.js +71 -0
  238. package/dist/protoc-gen-open-models/google/protobuf/EnumDescriptorProto.EnumReservedRange.js.map +1 -0
  239. package/dist/protoc-gen-open-models/google/protobuf/EnumDescriptorProto.d.ts +69 -0
  240. package/dist/protoc-gen-open-models/google/protobuf/EnumDescriptorProto.js +127 -0
  241. package/dist/protoc-gen-open-models/google/protobuf/EnumDescriptorProto.js.map +1 -0
  242. package/dist/protoc-gen-open-models/google/protobuf/EnumOptions.d.ts +95 -0
  243. package/dist/protoc-gen-open-models/google/protobuf/EnumOptions.js +143 -0
  244. package/dist/protoc-gen-open-models/google/protobuf/EnumOptions.js.map +1 -0
  245. package/dist/protoc-gen-open-models/google/protobuf/EnumValueDescriptorProto.d.ts +39 -0
  246. package/dist/protoc-gen-open-models/google/protobuf/EnumValueDescriptorProto.js +87 -0
  247. package/dist/protoc-gen-open-models/google/protobuf/EnumValueDescriptorProto.js.map +1 -0
  248. package/dist/protoc-gen-open-models/google/protobuf/EnumValueOptions.d.ts +76 -0
  249. package/dist/protoc-gen-open-models/google/protobuf/EnumValueOptions.js +120 -0
  250. package/dist/protoc-gen-open-models/google/protobuf/EnumValueOptions.js.map +1 -0
  251. package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.Declaration.d.ts +81 -0
  252. package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.Declaration.js +132 -0
  253. package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.Declaration.js.map +1 -0
  254. package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.VerificationState.d.ts +4 -0
  255. package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.VerificationState.js +8 -0
  256. package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.VerificationState.js.map +1 -0
  257. package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.d.ts +76 -0
  258. package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.js +120 -0
  259. package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.js.map +1 -0
  260. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.EnumType.d.ts +5 -0
  261. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.EnumType.js +15 -0
  262. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.EnumType.js.map +1 -0
  263. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.FieldPresence.d.ts +6 -0
  264. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.FieldPresence.js +16 -0
  265. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.FieldPresence.js.map +1 -0
  266. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.JsonFormat.d.ts +5 -0
  267. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.JsonFormat.js +15 -0
  268. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.JsonFormat.js.map +1 -0
  269. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.MessageEncoding.d.ts +5 -0
  270. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.MessageEncoding.js +15 -0
  271. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.MessageEncoding.js.map +1 -0
  272. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.RepeatedFieldEncoding.d.ts +5 -0
  273. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.RepeatedFieldEncoding.js +15 -0
  274. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.RepeatedFieldEncoding.js.map +1 -0
  275. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.Utf8Validation.d.ts +5 -0
  276. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.Utf8Validation.js +15 -0
  277. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.Utf8Validation.js.map +1 -0
  278. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.d.ts +74 -0
  279. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.js +140 -0
  280. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.js.map +1 -0
  281. package/dist/protoc-gen-open-models/google/protobuf/FeatureSetDefaults.FeatureSetEditionDefault.d.ts +32 -0
  282. package/dist/protoc-gen-open-models/google/protobuf/FeatureSetDefaults.FeatureSetEditionDefault.js +73 -0
  283. package/dist/protoc-gen-open-models/google/protobuf/FeatureSetDefaults.FeatureSetEditionDefault.js.map +1 -0
  284. package/dist/protoc-gen-open-models/google/protobuf/FeatureSetDefaults.d.ts +65 -0
  285. package/dist/protoc-gen-open-models/google/protobuf/FeatureSetDefaults.js +100 -0
  286. package/dist/protoc-gen-open-models/google/protobuf/FeatureSetDefaults.js.map +1 -0
  287. package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.Label.d.ts +5 -0
  288. package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.Label.js +10 -0
  289. package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.Label.js.map +1 -0
  290. package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.Type.d.ts +20 -0
  291. package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.Type.js +25 -0
  292. package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.Type.js.map +1 -0
  293. package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.d.ts +189 -0
  294. package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.js +282 -0
  295. package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.js.map +1 -0
  296. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.CType.d.ts +5 -0
  297. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.CType.js +9 -0
  298. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.CType.js.map +1 -0
  299. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.EditionDefault.d.ts +31 -0
  300. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.EditionDefault.js +71 -0
  301. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.EditionDefault.js.map +1 -0
  302. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.JSType.d.ts +5 -0
  303. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.JSType.js +9 -0
  304. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.JSType.js.map +1 -0
  305. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.OptionRetention.d.ts +5 -0
  306. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.OptionRetention.js +9 -0
  307. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.OptionRetention.js.map +1 -0
  308. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.OptionTargetType.d.ts +12 -0
  309. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.OptionTargetType.js +16 -0
  310. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.OptionTargetType.js.map +1 -0
  311. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.d.ts +264 -0
  312. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.js +364 -0
  313. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.js.map +1 -0
  314. package/dist/protoc-gen-open-models/google/protobuf/FileDescriptorProto.d.ts +151 -0
  315. package/dist/protoc-gen-open-models/google/protobuf/FileDescriptorProto.js +262 -0
  316. package/dist/protoc-gen-open-models/google/protobuf/FileDescriptorProto.js.map +1 -0
  317. package/dist/protoc-gen-open-models/google/protobuf/FileDescriptorSet.d.ts +32 -0
  318. package/dist/protoc-gen-open-models/google/protobuf/FileDescriptorSet.js +61 -0
  319. package/dist/protoc-gen-open-models/google/protobuf/FileDescriptorSet.js.map +1 -0
  320. package/dist/protoc-gen-open-models/google/protobuf/FileOptions.OptimizeMode.d.ts +5 -0
  321. package/dist/protoc-gen-open-models/google/protobuf/FileOptions.OptimizeMode.js +9 -0
  322. package/dist/protoc-gen-open-models/google/protobuf/FileOptions.OptimizeMode.js.map +1 -0
  323. package/dist/protoc-gen-open-models/google/protobuf/FileOptions.d.ts +333 -0
  324. package/dist/protoc-gen-open-models/google/protobuf/FileOptions.js +482 -0
  325. package/dist/protoc-gen-open-models/google/protobuf/FileOptions.js.map +1 -0
  326. package/dist/protoc-gen-open-models/google/protobuf/FloatValue.d.ts +40 -0
  327. package/dist/protoc-gen-open-models/google/protobuf/FloatValue.js +62 -0
  328. package/dist/protoc-gen-open-models/google/protobuf/FloatValue.js.map +1 -0
  329. package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.Annotation.Semantic.d.ts +5 -0
  330. package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.Annotation.Semantic.js +12 -0
  331. package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.Annotation.Semantic.js.map +1 -0
  332. package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.Annotation.d.ts +78 -0
  333. package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.Annotation.js +130 -0
  334. package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.Annotation.js.map +1 -0
  335. package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.d.ts +43 -0
  336. package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.js +66 -0
  337. package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.js.map +1 -0
  338. package/dist/protoc-gen-open-models/google/protobuf/Int32Value.d.ts +40 -0
  339. package/dist/protoc-gen-open-models/google/protobuf/Int32Value.js +62 -0
  340. package/dist/protoc-gen-open-models/google/protobuf/Int32Value.js.map +1 -0
  341. package/dist/protoc-gen-open-models/google/protobuf/Int64Value.d.ts +40 -0
  342. package/dist/protoc-gen-open-models/google/protobuf/Int64Value.js +62 -0
  343. package/dist/protoc-gen-open-models/google/protobuf/Int64Value.js.map +1 -0
  344. package/dist/protoc-gen-open-models/google/protobuf/MessageOptions.d.ts +201 -0
  345. package/dist/protoc-gen-open-models/google/protobuf/MessageOptions.js +259 -0
  346. package/dist/protoc-gen-open-models/google/protobuf/MessageOptions.js.map +1 -0
  347. package/dist/protoc-gen-open-models/google/protobuf/MethodDescriptorProto.d.ts +74 -0
  348. package/dist/protoc-gen-open-models/google/protobuf/MethodDescriptorProto.js +138 -0
  349. package/dist/protoc-gen-open-models/google/protobuf/MethodDescriptorProto.js.map +1 -0
  350. package/dist/protoc-gen-open-models/google/protobuf/MethodOptions.IdempotencyLevel.d.ts +5 -0
  351. package/dist/protoc-gen-open-models/google/protobuf/MethodOptions.IdempotencyLevel.js +9 -0
  352. package/dist/protoc-gen-open-models/google/protobuf/MethodOptions.IdempotencyLevel.js.map +1 -0
  353. package/dist/protoc-gen-open-models/google/protobuf/MethodOptions.d.ts +67 -0
  354. package/dist/protoc-gen-open-models/google/protobuf/MethodOptions.js +115 -0
  355. package/dist/protoc-gen-open-models/google/protobuf/MethodOptions.js.map +1 -0
  356. package/dist/protoc-gen-open-models/google/protobuf/OneofDescriptorProto.d.ts +34 -0
  357. package/dist/protoc-gen-open-models/google/protobuf/OneofDescriptorProto.js +73 -0
  358. package/dist/protoc-gen-open-models/google/protobuf/OneofDescriptorProto.js.map +1 -0
  359. package/dist/protoc-gen-open-models/google/protobuf/OneofOptions.d.ts +44 -0
  360. package/dist/protoc-gen-open-models/google/protobuf/OneofOptions.js +77 -0
  361. package/dist/protoc-gen-open-models/google/protobuf/OneofOptions.js.map +1 -0
  362. package/dist/protoc-gen-open-models/google/protobuf/ServiceDescriptorProto.d.ts +40 -0
  363. package/dist/protoc-gen-open-models/google/protobuf/ServiceDescriptorProto.js +87 -0
  364. package/dist/protoc-gen-open-models/google/protobuf/ServiceDescriptorProto.js.map +1 -0
  365. package/dist/protoc-gen-open-models/google/protobuf/ServiceOptions.d.ts +61 -0
  366. package/dist/protoc-gen-open-models/google/protobuf/ServiceOptions.js +99 -0
  367. package/dist/protoc-gen-open-models/google/protobuf/ServiceOptions.js.map +1 -0
  368. package/dist/protoc-gen-open-models/google/protobuf/SourceCodeInfo.Location.d.ts +207 -0
  369. package/dist/protoc-gen-open-models/google/protobuf/SourceCodeInfo.Location.js +262 -0
  370. package/dist/protoc-gen-open-models/google/protobuf/SourceCodeInfo.Location.js.map +1 -0
  371. package/dist/protoc-gen-open-models/google/protobuf/SourceCodeInfo.d.ts +122 -0
  372. package/dist/protoc-gen-open-models/google/protobuf/SourceCodeInfo.js +147 -0
  373. package/dist/protoc-gen-open-models/google/protobuf/SourceCodeInfo.js.map +1 -0
  374. package/dist/protoc-gen-open-models/google/protobuf/StringValue.d.ts +40 -0
  375. package/dist/protoc-gen-open-models/google/protobuf/StringValue.js +63 -0
  376. package/dist/protoc-gen-open-models/google/protobuf/StringValue.js.map +1 -0
  377. package/dist/protoc-gen-open-models/google/protobuf/UInt32Value.d.ts +40 -0
  378. package/dist/protoc-gen-open-models/google/protobuf/UInt32Value.js +63 -0
  379. package/dist/protoc-gen-open-models/google/protobuf/UInt32Value.js.map +1 -0
  380. package/dist/protoc-gen-open-models/google/protobuf/UInt64Value.d.ts +40 -0
  381. package/dist/protoc-gen-open-models/google/protobuf/UInt64Value.js +63 -0
  382. package/dist/protoc-gen-open-models/google/protobuf/UInt64Value.js.map +1 -0
  383. package/dist/protoc-gen-open-models/google/protobuf/UninterpretedOption.NamePart.d.ts +30 -0
  384. package/dist/protoc-gen-open-models/google/protobuf/UninterpretedOption.NamePart.js +70 -0
  385. package/dist/protoc-gen-open-models/google/protobuf/UninterpretedOption.NamePart.js.map +1 -0
  386. package/dist/protoc-gen-open-models/google/protobuf/UninterpretedOption.d.ts +82 -0
  387. package/dist/protoc-gen-open-models/google/protobuf/UninterpretedOption.js +153 -0
  388. package/dist/protoc-gen-open-models/google/protobuf/UninterpretedOption.js.map +1 -0
  389. package/dist/protoc-gen-open-models/init.d.ts +10 -0
  390. package/dist/protoc-gen-open-models/init.js +10 -0
  391. package/dist/protoc-gen-open-models/init.js.map +1 -0
  392. package/dist/protoc-gen-open-models/openapiv3/AdditionalPropertiesItem.d.ts +31 -0
  393. package/dist/protoc-gen-open-models/openapiv3/AdditionalPropertiesItem.js +71 -0
  394. package/dist/protoc-gen-open-models/openapiv3/AdditionalPropertiesItem.js.map +1 -0
  395. package/dist/protoc-gen-open-models/openapiv3/Any.d.ts +30 -0
  396. package/dist/protoc-gen-open-models/openapiv3/Any.js +70 -0
  397. package/dist/protoc-gen-open-models/openapiv3/Any.js.map +1 -0
  398. package/dist/protoc-gen-open-models/openapiv3/AnyOrExpression.d.ts +32 -0
  399. package/dist/protoc-gen-open-models/openapiv3/AnyOrExpression.js +73 -0
  400. package/dist/protoc-gen-open-models/openapiv3/AnyOrExpression.js.map +1 -0
  401. package/dist/protoc-gen-open-models/openapiv3/Callback.d.ts +35 -0
  402. package/dist/protoc-gen-open-models/openapiv3/Callback.js +74 -0
  403. package/dist/protoc-gen-open-models/openapiv3/Callback.js.map +1 -0
  404. package/dist/protoc-gen-open-models/openapiv3/CallbackOrReference.d.ts +32 -0
  405. package/dist/protoc-gen-open-models/openapiv3/CallbackOrReference.js +73 -0
  406. package/dist/protoc-gen-open-models/openapiv3/CallbackOrReference.js.map +1 -0
  407. package/dist/protoc-gen-open-models/openapiv3/CallbacksOrReferences.d.ts +26 -0
  408. package/dist/protoc-gen-open-models/openapiv3/CallbacksOrReferences.js +58 -0
  409. package/dist/protoc-gen-open-models/openapiv3/CallbacksOrReferences.js.map +1 -0
  410. package/dist/protoc-gen-open-models/openapiv3/Components.d.ts +83 -0
  411. package/dist/protoc-gen-open-models/openapiv3/Components.js +194 -0
  412. package/dist/protoc-gen-open-models/openapiv3/Components.js.map +1 -0
  413. package/dist/protoc-gen-open-models/openapiv3/Contact.d.ts +44 -0
  414. package/dist/protoc-gen-open-models/openapiv3/Contact.js +101 -0
  415. package/dist/protoc-gen-open-models/openapiv3/Contact.js.map +1 -0
  416. package/dist/protoc-gen-open-models/openapiv3/DefaultType.d.ts +35 -0
  417. package/dist/protoc-gen-open-models/openapiv3/DefaultType.js +85 -0
  418. package/dist/protoc-gen-open-models/openapiv3/DefaultType.js.map +1 -0
  419. package/dist/protoc-gen-open-models/openapiv3/Discriminator.d.ts +40 -0
  420. package/dist/protoc-gen-open-models/openapiv3/Discriminator.js +89 -0
  421. package/dist/protoc-gen-open-models/openapiv3/Discriminator.js.map +1 -0
  422. package/dist/protoc-gen-open-models/openapiv3/Document.d.ts +73 -0
  423. package/dist/protoc-gen-open-models/openapiv3/Document.js +176 -0
  424. package/dist/protoc-gen-open-models/openapiv3/Document.js.map +1 -0
  425. package/dist/protoc-gen-open-models/openapiv3/Encoding.d.ts +55 -0
  426. package/dist/protoc-gen-open-models/openapiv3/Encoding.js +130 -0
  427. package/dist/protoc-gen-open-models/openapiv3/Encoding.js.map +1 -0
  428. package/dist/protoc-gen-open-models/openapiv3/Encodings.d.ts +26 -0
  429. package/dist/protoc-gen-open-models/openapiv3/Encodings.js +57 -0
  430. package/dist/protoc-gen-open-models/openapiv3/Encodings.js.map +1 -0
  431. package/dist/protoc-gen-open-models/openapiv3/Example.d.ts +47 -0
  432. package/dist/protoc-gen-open-models/openapiv3/Example.js +114 -0
  433. package/dist/protoc-gen-open-models/openapiv3/Example.js.map +1 -0
  434. package/dist/protoc-gen-open-models/openapiv3/ExampleOrReference.d.ts +32 -0
  435. package/dist/protoc-gen-open-models/openapiv3/ExampleOrReference.js +73 -0
  436. package/dist/protoc-gen-open-models/openapiv3/ExampleOrReference.js.map +1 -0
  437. package/dist/protoc-gen-open-models/openapiv3/ExamplesOrReferences.d.ts +26 -0
  438. package/dist/protoc-gen-open-models/openapiv3/ExamplesOrReferences.js +58 -0
  439. package/dist/protoc-gen-open-models/openapiv3/ExamplesOrReferences.js.map +1 -0
  440. package/dist/protoc-gen-open-models/openapiv3/Expression.d.ts +26 -0
  441. package/dist/protoc-gen-open-models/openapiv3/Expression.js +57 -0
  442. package/dist/protoc-gen-open-models/openapiv3/Expression.js.map +1 -0
  443. package/dist/protoc-gen-open-models/openapiv3/ExternalDocs.d.ts +39 -0
  444. package/dist/protoc-gen-open-models/openapiv3/ExternalDocs.js +88 -0
  445. package/dist/protoc-gen-open-models/openapiv3/ExternalDocs.js.map +1 -0
  446. package/dist/protoc-gen-open-models/openapiv3/Header.d.ts +88 -0
  447. package/dist/protoc-gen-open-models/openapiv3/Header.js +217 -0
  448. package/dist/protoc-gen-open-models/openapiv3/Header.js.map +1 -0
  449. package/dist/protoc-gen-open-models/openapiv3/HeaderOrReference.d.ts +32 -0
  450. package/dist/protoc-gen-open-models/openapiv3/HeaderOrReference.js +73 -0
  451. package/dist/protoc-gen-open-models/openapiv3/HeaderOrReference.js.map +1 -0
  452. package/dist/protoc-gen-open-models/openapiv3/HeadersOrReferences.d.ts +26 -0
  453. package/dist/protoc-gen-open-models/openapiv3/HeadersOrReferences.js +58 -0
  454. package/dist/protoc-gen-open-models/openapiv3/HeadersOrReferences.js.map +1 -0
  455. package/dist/protoc-gen-open-models/openapiv3/Info.d.ts +66 -0
  456. package/dist/protoc-gen-open-models/openapiv3/Info.js +159 -0
  457. package/dist/protoc-gen-open-models/openapiv3/Info.js.map +1 -0
  458. package/dist/protoc-gen-open-models/openapiv3/ItemsItem.d.ts +26 -0
  459. package/dist/protoc-gen-open-models/openapiv3/ItemsItem.js +57 -0
  460. package/dist/protoc-gen-open-models/openapiv3/ItemsItem.js.map +1 -0
  461. package/dist/protoc-gen-open-models/openapiv3/License.d.ts +39 -0
  462. package/dist/protoc-gen-open-models/openapiv3/License.js +87 -0
  463. package/dist/protoc-gen-open-models/openapiv3/License.js.map +1 -0
  464. package/dist/protoc-gen-open-models/openapiv3/Link.d.ts +61 -0
  465. package/dist/protoc-gen-open-models/openapiv3/Link.js +145 -0
  466. package/dist/protoc-gen-open-models/openapiv3/Link.js.map +1 -0
  467. package/dist/protoc-gen-open-models/openapiv3/LinkOrReference.d.ts +32 -0
  468. package/dist/protoc-gen-open-models/openapiv3/LinkOrReference.js +73 -0
  469. package/dist/protoc-gen-open-models/openapiv3/LinkOrReference.js.map +1 -0
  470. package/dist/protoc-gen-open-models/openapiv3/LinksOrReferences.d.ts +26 -0
  471. package/dist/protoc-gen-open-models/openapiv3/LinksOrReferences.js +58 -0
  472. package/dist/protoc-gen-open-models/openapiv3/LinksOrReferences.js.map +1 -0
  473. package/dist/protoc-gen-open-models/openapiv3/MediaType.d.ts +53 -0
  474. package/dist/protoc-gen-open-models/openapiv3/MediaType.js +119 -0
  475. package/dist/protoc-gen-open-models/openapiv3/MediaType.js.map +1 -0
  476. package/dist/protoc-gen-open-models/openapiv3/MediaTypes.d.ts +26 -0
  477. package/dist/protoc-gen-open-models/openapiv3/MediaTypes.js +57 -0
  478. package/dist/protoc-gen-open-models/openapiv3/MediaTypes.js.map +1 -0
  479. package/dist/protoc-gen-open-models/openapiv3/NamedAny.d.ts +46 -0
  480. package/dist/protoc-gen-open-models/openapiv3/NamedAny.js +77 -0
  481. package/dist/protoc-gen-open-models/openapiv3/NamedAny.js.map +1 -0
  482. package/dist/protoc-gen-open-models/openapiv3/NamedCallbackOrReference.d.ts +46 -0
  483. package/dist/protoc-gen-open-models/openapiv3/NamedCallbackOrReference.js +77 -0
  484. package/dist/protoc-gen-open-models/openapiv3/NamedCallbackOrReference.js.map +1 -0
  485. package/dist/protoc-gen-open-models/openapiv3/NamedEncoding.d.ts +46 -0
  486. package/dist/protoc-gen-open-models/openapiv3/NamedEncoding.js +78 -0
  487. package/dist/protoc-gen-open-models/openapiv3/NamedEncoding.js.map +1 -0
  488. package/dist/protoc-gen-open-models/openapiv3/NamedExampleOrReference.d.ts +46 -0
  489. package/dist/protoc-gen-open-models/openapiv3/NamedExampleOrReference.js +77 -0
  490. package/dist/protoc-gen-open-models/openapiv3/NamedExampleOrReference.js.map +1 -0
  491. package/dist/protoc-gen-open-models/openapiv3/NamedHeaderOrReference.d.ts +46 -0
  492. package/dist/protoc-gen-open-models/openapiv3/NamedHeaderOrReference.js +77 -0
  493. package/dist/protoc-gen-open-models/openapiv3/NamedHeaderOrReference.js.map +1 -0
  494. package/dist/protoc-gen-open-models/openapiv3/NamedLinkOrReference.d.ts +46 -0
  495. package/dist/protoc-gen-open-models/openapiv3/NamedLinkOrReference.js +78 -0
  496. package/dist/protoc-gen-open-models/openapiv3/NamedLinkOrReference.js.map +1 -0
  497. package/dist/protoc-gen-open-models/openapiv3/NamedMediaType.d.ts +46 -0
  498. package/dist/protoc-gen-open-models/openapiv3/NamedMediaType.js +78 -0
  499. package/dist/protoc-gen-open-models/openapiv3/NamedMediaType.js.map +1 -0
  500. package/dist/protoc-gen-open-models/openapiv3/NamedParameterOrReference.d.ts +46 -0
  501. package/dist/protoc-gen-open-models/openapiv3/NamedParameterOrReference.js +77 -0
  502. package/dist/protoc-gen-open-models/openapiv3/NamedParameterOrReference.js.map +1 -0
  503. package/dist/protoc-gen-open-models/openapiv3/NamedPathItem.d.ts +46 -0
  504. package/dist/protoc-gen-open-models/openapiv3/NamedPathItem.js +78 -0
  505. package/dist/protoc-gen-open-models/openapiv3/NamedPathItem.js.map +1 -0
  506. package/dist/protoc-gen-open-models/openapiv3/NamedRequestBodyOrReference.d.ts +46 -0
  507. package/dist/protoc-gen-open-models/openapiv3/NamedRequestBodyOrReference.js +77 -0
  508. package/dist/protoc-gen-open-models/openapiv3/NamedRequestBodyOrReference.js.map +1 -0
  509. package/dist/protoc-gen-open-models/openapiv3/NamedResponseOrReference.d.ts +46 -0
  510. package/dist/protoc-gen-open-models/openapiv3/NamedResponseOrReference.js +77 -0
  511. package/dist/protoc-gen-open-models/openapiv3/NamedResponseOrReference.js.map +1 -0
  512. package/dist/protoc-gen-open-models/openapiv3/NamedSchemaOrReference.d.ts +46 -0
  513. package/dist/protoc-gen-open-models/openapiv3/NamedSchemaOrReference.js +77 -0
  514. package/dist/protoc-gen-open-models/openapiv3/NamedSchemaOrReference.js.map +1 -0
  515. package/dist/protoc-gen-open-models/openapiv3/NamedSecuritySchemeOrReference.d.ts +46 -0
  516. package/dist/protoc-gen-open-models/openapiv3/NamedSecuritySchemeOrReference.js +77 -0
  517. package/dist/protoc-gen-open-models/openapiv3/NamedSecuritySchemeOrReference.js.map +1 -0
  518. package/dist/protoc-gen-open-models/openapiv3/NamedServerVariable.d.ts +46 -0
  519. package/dist/protoc-gen-open-models/openapiv3/NamedServerVariable.js +78 -0
  520. package/dist/protoc-gen-open-models/openapiv3/NamedServerVariable.js.map +1 -0
  521. package/dist/protoc-gen-open-models/openapiv3/NamedString.d.ts +45 -0
  522. package/dist/protoc-gen-open-models/openapiv3/NamedString.js +77 -0
  523. package/dist/protoc-gen-open-models/openapiv3/NamedString.js.map +1 -0
  524. package/dist/protoc-gen-open-models/openapiv3/NamedStringArray.d.ts +46 -0
  525. package/dist/protoc-gen-open-models/openapiv3/NamedStringArray.js +79 -0
  526. package/dist/protoc-gen-open-models/openapiv3/NamedStringArray.js.map +1 -0
  527. package/dist/protoc-gen-open-models/openapiv3/OauthFlow.d.ts +50 -0
  528. package/dist/protoc-gen-open-models/openapiv3/OauthFlow.js +116 -0
  529. package/dist/protoc-gen-open-models/openapiv3/OauthFlow.js.map +1 -0
  530. package/dist/protoc-gen-open-models/openapiv3/OauthFlows.d.ts +50 -0
  531. package/dist/protoc-gen-open-models/openapiv3/OauthFlows.js +116 -0
  532. package/dist/protoc-gen-open-models/openapiv3/OauthFlows.js.map +1 -0
  533. package/dist/protoc-gen-open-models/openapiv3/Object.d.ts +26 -0
  534. package/dist/protoc-gen-open-models/openapiv3/Object.js +57 -0
  535. package/dist/protoc-gen-open-models/openapiv3/Object.js.map +1 -0
  536. package/dist/protoc-gen-open-models/openapiv3/Operation.d.ts +96 -0
  537. package/dist/protoc-gen-open-models/openapiv3/Operation.js +234 -0
  538. package/dist/protoc-gen-open-models/openapiv3/Operation.js.map +1 -0
  539. package/dist/protoc-gen-open-models/openapiv3/Parameter.d.ts +98 -0
  540. package/dist/protoc-gen-open-models/openapiv3/Parameter.js +245 -0
  541. package/dist/protoc-gen-open-models/openapiv3/Parameter.js.map +1 -0
  542. package/dist/protoc-gen-open-models/openapiv3/ParameterOrReference.d.ts +32 -0
  543. package/dist/protoc-gen-open-models/openapiv3/ParameterOrReference.js +73 -0
  544. package/dist/protoc-gen-open-models/openapiv3/ParameterOrReference.js.map +1 -0
  545. package/dist/protoc-gen-open-models/openapiv3/ParametersOrReferences.d.ts +26 -0
  546. package/dist/protoc-gen-open-models/openapiv3/ParametersOrReferences.js +57 -0
  547. package/dist/protoc-gen-open-models/openapiv3/ParametersOrReferences.js.map +1 -0
  548. package/dist/protoc-gen-open-models/openapiv3/PathItem.d.ts +97 -0
  549. package/dist/protoc-gen-open-models/openapiv3/PathItem.js +244 -0
  550. package/dist/protoc-gen-open-models/openapiv3/PathItem.js.map +1 -0
  551. package/dist/protoc-gen-open-models/openapiv3/Paths.d.ts +35 -0
  552. package/dist/protoc-gen-open-models/openapiv3/Paths.js +74 -0
  553. package/dist/protoc-gen-open-models/openapiv3/Paths.js.map +1 -0
  554. package/dist/protoc-gen-open-models/openapiv3/Properties.d.ts +26 -0
  555. package/dist/protoc-gen-open-models/openapiv3/Properties.js +57 -0
  556. package/dist/protoc-gen-open-models/openapiv3/Properties.js.map +1 -0
  557. package/dist/protoc-gen-open-models/openapiv3/Reference.d.ts +38 -0
  558. package/dist/protoc-gen-open-models/openapiv3/Reference.js +86 -0
  559. package/dist/protoc-gen-open-models/openapiv3/Reference.js.map +1 -0
  560. package/dist/protoc-gen-open-models/openapiv3/RequestBodiesOrReferences.d.ts +26 -0
  561. package/dist/protoc-gen-open-models/openapiv3/RequestBodiesOrReferences.js +57 -0
  562. package/dist/protoc-gen-open-models/openapiv3/RequestBodiesOrReferences.js.map +1 -0
  563. package/dist/protoc-gen-open-models/openapiv3/RequestBody.d.ts +45 -0
  564. package/dist/protoc-gen-open-models/openapiv3/RequestBody.js +102 -0
  565. package/dist/protoc-gen-open-models/openapiv3/RequestBody.js.map +1 -0
  566. package/dist/protoc-gen-open-models/openapiv3/RequestBodyOrReference.d.ts +32 -0
  567. package/dist/protoc-gen-open-models/openapiv3/RequestBodyOrReference.js +72 -0
  568. package/dist/protoc-gen-open-models/openapiv3/RequestBodyOrReference.js.map +1 -0
  569. package/dist/protoc-gen-open-models/openapiv3/Response.d.ts +52 -0
  570. package/dist/protoc-gen-open-models/openapiv3/Response.js +118 -0
  571. package/dist/protoc-gen-open-models/openapiv3/Response.js.map +1 -0
  572. package/dist/protoc-gen-open-models/openapiv3/ResponseOrReference.d.ts +32 -0
  573. package/dist/protoc-gen-open-models/openapiv3/ResponseOrReference.js +73 -0
  574. package/dist/protoc-gen-open-models/openapiv3/ResponseOrReference.js.map +1 -0
  575. package/dist/protoc-gen-open-models/openapiv3/Responses.d.ts +41 -0
  576. package/dist/protoc-gen-open-models/openapiv3/Responses.js +89 -0
  577. package/dist/protoc-gen-open-models/openapiv3/Responses.js.map +1 -0
  578. package/dist/protoc-gen-open-models/openapiv3/ResponsesOrReferences.d.ts +26 -0
  579. package/dist/protoc-gen-open-models/openapiv3/ResponsesOrReferences.js +58 -0
  580. package/dist/protoc-gen-open-models/openapiv3/ResponsesOrReferences.js.map +1 -0
  581. package/dist/protoc-gen-open-models/openapiv3/Schema.d.ts +213 -0
  582. package/dist/protoc-gen-open-models/openapiv3/Schema.js +558 -0
  583. package/dist/protoc-gen-open-models/openapiv3/Schema.js.map +1 -0
  584. package/dist/protoc-gen-open-models/openapiv3/SchemaOrReference.d.ts +32 -0
  585. package/dist/protoc-gen-open-models/openapiv3/SchemaOrReference.js +73 -0
  586. package/dist/protoc-gen-open-models/openapiv3/SchemaOrReference.js.map +1 -0
  587. package/dist/protoc-gen-open-models/openapiv3/SchemasOrReferences.d.ts +26 -0
  588. package/dist/protoc-gen-open-models/openapiv3/SchemasOrReferences.js +58 -0
  589. package/dist/protoc-gen-open-models/openapiv3/SchemasOrReferences.js.map +1 -0
  590. package/dist/protoc-gen-open-models/openapiv3/SecurityRequirement.d.ts +29 -0
  591. package/dist/protoc-gen-open-models/openapiv3/SecurityRequirement.js +60 -0
  592. package/dist/protoc-gen-open-models/openapiv3/SecurityRequirement.js.map +1 -0
  593. package/dist/protoc-gen-open-models/openapiv3/SecurityScheme.d.ts +70 -0
  594. package/dist/protoc-gen-open-models/openapiv3/SecurityScheme.js +173 -0
  595. package/dist/protoc-gen-open-models/openapiv3/SecurityScheme.js.map +1 -0
  596. package/dist/protoc-gen-open-models/openapiv3/SecuritySchemeOrReference.d.ts +32 -0
  597. package/dist/protoc-gen-open-models/openapiv3/SecuritySchemeOrReference.js +72 -0
  598. package/dist/protoc-gen-open-models/openapiv3/SecuritySchemeOrReference.js.map +1 -0
  599. package/dist/protoc-gen-open-models/openapiv3/SecuritySchemesOrReferences.d.ts +26 -0
  600. package/dist/protoc-gen-open-models/openapiv3/SecuritySchemesOrReferences.js +57 -0
  601. package/dist/protoc-gen-open-models/openapiv3/SecuritySchemesOrReferences.js.map +1 -0
  602. package/dist/protoc-gen-open-models/openapiv3/Server.d.ts +45 -0
  603. package/dist/protoc-gen-open-models/openapiv3/Server.js +101 -0
  604. package/dist/protoc-gen-open-models/openapiv3/Server.js.map +1 -0
  605. package/dist/protoc-gen-open-models/openapiv3/ServerVariable.d.ts +44 -0
  606. package/dist/protoc-gen-open-models/openapiv3/ServerVariable.js +102 -0
  607. package/dist/protoc-gen-open-models/openapiv3/ServerVariable.js.map +1 -0
  608. package/dist/protoc-gen-open-models/openapiv3/ServerVariables.d.ts +26 -0
  609. package/dist/protoc-gen-open-models/openapiv3/ServerVariables.js +58 -0
  610. package/dist/protoc-gen-open-models/openapiv3/ServerVariables.js.map +1 -0
  611. package/dist/protoc-gen-open-models/openapiv3/SpecificationExtension.d.ts +38 -0
  612. package/dist/protoc-gen-open-models/openapiv3/SpecificationExtension.js +86 -0
  613. package/dist/protoc-gen-open-models/openapiv3/SpecificationExtension.js.map +1 -0
  614. package/dist/protoc-gen-open-models/openapiv3/StringArray.d.ts +25 -0
  615. package/dist/protoc-gen-open-models/openapiv3/StringArray.js +57 -0
  616. package/dist/protoc-gen-open-models/openapiv3/StringArray.js.map +1 -0
  617. package/dist/protoc-gen-open-models/openapiv3/Strings.d.ts +26 -0
  618. package/dist/protoc-gen-open-models/openapiv3/Strings.js +57 -0
  619. package/dist/protoc-gen-open-models/openapiv3/Strings.js.map +1 -0
  620. package/dist/protoc-gen-open-models/openapiv3/Tag.d.ts +45 -0
  621. package/dist/protoc-gen-open-models/openapiv3/Tag.js +102 -0
  622. package/dist/protoc-gen-open-models/openapiv3/Tag.js.map +1 -0
  623. package/dist/protoc-gen-open-models/openapiv3/Xml.d.ts +54 -0
  624. package/dist/protoc-gen-open-models/openapiv3/Xml.js +129 -0
  625. package/dist/protoc-gen-open-models/openapiv3/Xml.js.map +1 -0
  626. package/dist/web-components/furo-type-renderer.d.ts +6 -0
  627. package/dist/web-components/furo-type-renderer.js +3 -0
  628. package/dist/web-components/furo-type-renderer.js.map +1 -0
  629. package/dist/web-components/impl/TypeRenderer/TypeRenderer.d.ts +158 -0
  630. package/dist/web-components/impl/TypeRenderer/TypeRenderer.js +309 -0
  631. package/dist/web-components/impl/TypeRenderer/TypeRenderer.js.map +1 -0
  632. package/dist/web-components/impl/TypeRenderer/index.d.ts +6 -0
  633. package/dist/web-components/impl/TypeRenderer/index.js +3 -0
  634. package/dist/web-components/impl/TypeRenderer/index.js.map +1 -0
  635. package/package.json +18 -15
  636. package/tsconfig.json +0 -44
@@ -0,0 +1,985 @@
1
+ import { ARRAY, FieldNode, STRING } from '@furo/open-models/dist/index';
2
+ import { CustomHttpPattern as GoogleApiCustomHttpPattern, type ICustomHttpPattern as IGoogleApiCustomHttpPattern, type TCustomHttpPattern as TGoogleApiCustomHttpPattern } from './CustomHttpPattern.js';
3
+ /**
4
+ * @interface IHttpRule
5
+ * # gRPC Transcoding
6
+ *
7
+ * gRPC Transcoding is a feature for mapping between a gRPC method and one or
8
+ * more HTTP REST endpoints. It allows developers to build a single API service
9
+ * that supports both gRPC APIs and REST APIs. Many systems, including [Google
10
+ * APIs](https://github.com/googleapis/googleapis),
11
+ * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC
12
+ * Gateway](https://github.com/grpc-ecosystem/grpc-gateway),
13
+ * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature
14
+ * and use it for large scale production services.
15
+ *
16
+ * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies
17
+ * how different portions of the gRPC request message are mapped to the URL
18
+ * path, URL query parameters, and HTTP request body. It also controls how the
19
+ * gRPC response message is mapped to the HTTP response body. `HttpRule` is
20
+ * typically specified as an `google.api.http` annotation on the gRPC method.
21
+ *
22
+ * Each mapping specifies a URL path template and an HTTP method. The path
23
+ * template may refer to one or more fields in the gRPC request message, as long
24
+ * as each field is a non-repeated field with a primitive (non-message) type.
25
+ * The path template controls how fields of the request message are mapped to
26
+ * the URL path.
27
+ *
28
+ * Example:
29
+ *
30
+ * service Messaging {
31
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
32
+ * option (google.api.http) = {
33
+ * get: "/v1/{name=messages/*}"
34
+ * };
35
+ * }
36
+ * }
37
+ * message GetMessageRequest {
38
+ * string name = 1; // Mapped to URL path.
39
+ * }
40
+ * message Message {
41
+ * string text = 1; // The resource content.
42
+ * }
43
+ *
44
+ * This enables an HTTP REST to gRPC mapping as below:
45
+ *
46
+ * HTTP | gRPC
47
+ * -----|-----
48
+ * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")`
49
+ *
50
+ * Any fields in the request message which are not bound by the path template
51
+ * automatically become HTTP query parameters if there is no HTTP request body.
52
+ * For example:
53
+ *
54
+ * service Messaging {
55
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
56
+ * option (google.api.http) = {
57
+ * get:"/v1/messages/{message_id}"
58
+ * };
59
+ * }
60
+ * }
61
+ * message GetMessageRequest {
62
+ * message SubMessage {
63
+ * string subfield = 1;
64
+ * }
65
+ * string message_id = 1; // Mapped to URL path.
66
+ * int64 revision = 2; // Mapped to URL query parameter `revision`.
67
+ * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.
68
+ * }
69
+ *
70
+ * This enables a HTTP JSON to RPC mapping as below:
71
+ *
72
+ * HTTP | gRPC
73
+ * -----|-----
74
+ * `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
75
+ * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
76
+ * "foo"))`
77
+ *
78
+ * Note that fields which are mapped to URL query parameters must have a
79
+ * primitive type or a repeated primitive type or a non-repeated message type.
80
+ * In the case of a repeated type, the parameter can be repeated in the URL
81
+ * as `...?param=A&param=B`. In the case of a message type, each field of the
82
+ * message is mapped to a separate parameter, such as
83
+ * `...?foo.a=A&foo.b=B&foo.c=C`.
84
+ *
85
+ * For HTTP methods that allow a request body, the `body` field
86
+ * specifies the mapping. Consider a REST update method on the
87
+ * message resource collection:
88
+ *
89
+ * service Messaging {
90
+ * rpc UpdateMessage(UpdateMessageRequest) returns (Message) {
91
+ * option (google.api.http) = {
92
+ * patch: "/v1/messages/{message_id}"
93
+ * body: "message"
94
+ * };
95
+ * }
96
+ * }
97
+ * message UpdateMessageRequest {
98
+ * string message_id = 1; // mapped to the URL
99
+ * Message message = 2; // mapped to the body
100
+ * }
101
+ *
102
+ * The following HTTP JSON to RPC mapping is enabled, where the
103
+ * representation of the JSON in the request body is determined by
104
+ * protos JSON encoding:
105
+ *
106
+ * HTTP | gRPC
107
+ * -----|-----
108
+ * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
109
+ * "123456" message { text: "Hi!" })`
110
+ *
111
+ * The special name `*` can be used in the body mapping to define that
112
+ * every field not bound by the path template should be mapped to the
113
+ * request body. This enables the following alternative definition of
114
+ * the update method:
115
+ *
116
+ * service Messaging {
117
+ * rpc UpdateMessage(Message) returns (Message) {
118
+ * option (google.api.http) = {
119
+ * patch: "/v1/messages/{message_id}"
120
+ * body: "*"
121
+ * };
122
+ * }
123
+ * }
124
+ * message Message {
125
+ * string message_id = 1;
126
+ * string text = 2;
127
+ * }
128
+ *
129
+ *
130
+ * The following HTTP JSON to RPC mapping is enabled:
131
+ *
132
+ * HTTP | gRPC
133
+ * -----|-----
134
+ * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
135
+ * "123456" text: "Hi!")`
136
+ *
137
+ * Note that when using `*` in the body mapping, it is not possible to
138
+ * have HTTP parameters, as all fields not bound by the path end in
139
+ * the body. This makes this option more rarely used in practice when
140
+ * defining REST APIs. The common usage of `*` is in custom methods
141
+ * which don't use the URL at all for transferring data.
142
+ *
143
+ * It is possible to define multiple HTTP methods for one RPC by using
144
+ * the `additional_bindings` option. Example:
145
+ *
146
+ * service Messaging {
147
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
148
+ * option (google.api.http) = {
149
+ * get: "/v1/messages/{message_id}"
150
+ * additional_bindings {
151
+ * get: "/v1/users/{user_id}/messages/{message_id}"
152
+ * }
153
+ * };
154
+ * }
155
+ * }
156
+ * message GetMessageRequest {
157
+ * string message_id = 1;
158
+ * string user_id = 2;
159
+ * }
160
+ *
161
+ * This enables the following two alternative HTTP JSON to RPC mappings:
162
+ *
163
+ * HTTP | gRPC
164
+ * -----|-----
165
+ * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
166
+ * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
167
+ * "123456")`
168
+ *
169
+ * ## Rules for HTTP mapping
170
+ *
171
+ * 1. Leaf request fields (recursive expansion nested messages in the request
172
+ * message) are classified into three categories:
173
+ * - Fields referred by the path template. They are passed via the URL path.
174
+ * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They
175
+ * are passed via the HTTP
176
+ * request body.
177
+ * - All other fields are passed via the URL query parameters, and the
178
+ * parameter name is the field path in the request message. A repeated
179
+ * field can be represented as multiple query parameters under the same
180
+ * name.
181
+ * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL
182
+ * query parameter, all fields
183
+ * are passed via URL path and HTTP request body.
184
+ * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP
185
+ * request body, all
186
+ * fields are passed via URL path and URL query parameters.
187
+ *
188
+ * ### Path template syntax
189
+ *
190
+ * Template = "/" Segments [ Verb ] ;
191
+ * Segments = Segment { "/" Segment } ;
192
+ * Segment = "*" | "**" | LITERAL | Variable ;
193
+ * Variable = "{" FieldPath [ "=" Segments ] "}" ;
194
+ * FieldPath = IDENT { "." IDENT } ;
195
+ * Verb = ":" LITERAL ;
196
+ *
197
+ * The syntax `*` matches a single URL path segment. The syntax `**` matches
198
+ * zero or more URL path segments, which must be the last part of the URL path
199
+ * except the `Verb`.
200
+ *
201
+ * The syntax `Variable` matches part of the URL path as specified by its
202
+ * template. A variable template must not contain other variables. If a variable
203
+ * matches a single path segment, its template may be omitted, e.g. `{var}`
204
+ * is equivalent to `{var=*}`.
205
+ *
206
+ * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`
207
+ * contains any reserved character, such characters should be percent-encoded
208
+ * before the matching.
209
+ *
210
+ * If a variable contains exactly one path segment, such as `"{var}"` or
211
+ * `"{var=*}"`, when such a variable is expanded into a URL path on the client
212
+ * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
213
+ * server side does the reverse decoding. Such variables show up in the
214
+ * [Discovery
215
+ * Document](https://developers.google.com/discovery/v1/reference/apis) as
216
+ * `{var}`.
217
+ *
218
+ * If a variable contains multiple path segments, such as `"{var=foo/*}"`
219
+ * or `"{var=**}"`, when such a variable is expanded into a URL path on the
220
+ * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
221
+ * The server side does the reverse decoding, except "%2F" and "%2f" are left
222
+ * unchanged. Such variables show up in the
223
+ * [Discovery
224
+ * Document](https://developers.google.com/discovery/v1/reference/apis) as
225
+ * `{+var}`.
226
+ *
227
+ * ## Using gRPC API Service Configuration
228
+ *
229
+ * gRPC API Service Configuration (service config) is a configuration language
230
+ * for configuring a gRPC service to become a user-facing product. The
231
+ * service config is simply the YAML representation of the `google.api.Service`
232
+ * proto message.
233
+ *
234
+ * As an alternative to annotating your proto file, you can configure gRPC
235
+ * transcoding in your service config YAML files. You do this by specifying a
236
+ * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
237
+ * effect as the proto annotation. This can be particularly useful if you
238
+ * have a proto that is reused in multiple services. Note that any transcoding
239
+ * specified in the service config will override any matching transcoding
240
+ * configuration in the proto.
241
+ *
242
+ * Example:
243
+ *
244
+ * http:
245
+ * rules:
246
+ * # Selects a gRPC method and applies HttpRule to it.
247
+ * - selector: example.v1.Messaging.GetMessage
248
+ * get: /v1/messages/{message_id}/{sub.subfield}
249
+ *
250
+ * ## Special notes
251
+ *
252
+ * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the
253
+ * proto to JSON conversion must follow the [proto3
254
+ * specification](https://developers.google.com/protocol-buffers/docs/proto3#json).
255
+ *
256
+ * While the single segment variable follows the semantics of
257
+ * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
258
+ * Expansion, the multi segment variable **does not** follow RFC 6570 Section
259
+ * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion
260
+ * does not expand special characters like `?` and `#`, which would lead
261
+ * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
262
+ * for multi segment variables.
263
+ *
264
+ * The path variables **must not** refer to any repeated or mapped field,
265
+ * because client libraries are not capable of handling such variable expansion.
266
+ *
267
+ * The path variables **must not** capture the leading "/" character. The reason
268
+ * is that the most common use case "{var}" does not capture the leading "/"
269
+ * character. For consistency, all path variables must share the same behavior.
270
+ *
271
+ * Repeated message fields must not be mapped to URL query parameters, because
272
+ * no client library can support such complicated mapping.
273
+ *
274
+ * If an API needs to use a JSON array for request or response body, it can map
275
+ * the request or response body to a repeated field. However, some gRPC
276
+ * Transcoding implementations may not support this feature.
277
+ */
278
+ export interface IHttpRule {
279
+ /**
280
+ * Selects a method to which this rule applies.
281
+ *
282
+ * Refer to [selector][google.api.DocumentationRule.selector] for syntax
283
+ * details.
284
+ */
285
+ selector?: string;
286
+ /**
287
+ * Maps to HTTP GET. Used for listing and getting information about
288
+ * resources.
289
+ */
290
+ get?: string;
291
+ /**
292
+ * Maps to HTTP PUT. Used for replacing a resource.
293
+ */
294
+ put?: string;
295
+ /**
296
+ * Maps to HTTP POST. Used for creating a resource or performing an action.
297
+ */
298
+ post?: string;
299
+ /**
300
+ * Maps to HTTP DELETE. Used for deleting a resource.
301
+ */
302
+ delete?: string;
303
+ /**
304
+ * Maps to HTTP PATCH. Used for updating a resource.
305
+ */
306
+ patch?: string;
307
+ /**
308
+ * The custom pattern is used for specifying an HTTP method that is not
309
+ * included in the `pattern` field, such as HEAD, or "*" to leave the
310
+ * HTTP method unspecified for this rule. The wild-card rule is useful
311
+ * for services that provide content to Web (HTML) clients.
312
+ */
313
+ custom?: IGoogleApiCustomHttpPattern;
314
+ /**
315
+ * The name of the request field whose value is mapped to the HTTP request
316
+ * body, or `*` for mapping all request fields not captured by the path
317
+ * pattern to the HTTP body, or omitted for not having any HTTP request body.
318
+ *
319
+ * NOTE: the referred field must be present at the top-level of the request
320
+ * message type.
321
+ */
322
+ body?: string;
323
+ /**
324
+ * Optional. The name of the response field whose value is mapped to the HTTP
325
+ * response body. When omitted, the entire response message will be used
326
+ * as the HTTP response body.
327
+ *
328
+ * NOTE: The referred field must be present at the top-level of the response
329
+ * message type.
330
+ */
331
+ responseBody?: string;
332
+ /**
333
+ * Additional HTTP bindings for the selector. Nested bindings must
334
+ * not contain an `additional_bindings` field themselves (that is,
335
+ * the nesting may only be one level deep).
336
+ */
337
+ additionalBindings?: IHttpRule[];
338
+ }
339
+ /**
340
+ * @interface THttpRule
341
+ * # gRPC Transcoding
342
+ *
343
+ * gRPC Transcoding is a feature for mapping between a gRPC method and one or
344
+ * more HTTP REST endpoints. It allows developers to build a single API service
345
+ * that supports both gRPC APIs and REST APIs. Many systems, including [Google
346
+ * APIs](https://github.com/googleapis/googleapis),
347
+ * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC
348
+ * Gateway](https://github.com/grpc-ecosystem/grpc-gateway),
349
+ * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature
350
+ * and use it for large scale production services.
351
+ *
352
+ * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies
353
+ * how different portions of the gRPC request message are mapped to the URL
354
+ * path, URL query parameters, and HTTP request body. It also controls how the
355
+ * gRPC response message is mapped to the HTTP response body. `HttpRule` is
356
+ * typically specified as an `google.api.http` annotation on the gRPC method.
357
+ *
358
+ * Each mapping specifies a URL path template and an HTTP method. The path
359
+ * template may refer to one or more fields in the gRPC request message, as long
360
+ * as each field is a non-repeated field with a primitive (non-message) type.
361
+ * The path template controls how fields of the request message are mapped to
362
+ * the URL path.
363
+ *
364
+ * Example:
365
+ *
366
+ * service Messaging {
367
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
368
+ * option (google.api.http) = {
369
+ * get: "/v1/{name=messages/*}"
370
+ * };
371
+ * }
372
+ * }
373
+ * message GetMessageRequest {
374
+ * string name = 1; // Mapped to URL path.
375
+ * }
376
+ * message Message {
377
+ * string text = 1; // The resource content.
378
+ * }
379
+ *
380
+ * This enables an HTTP REST to gRPC mapping as below:
381
+ *
382
+ * HTTP | gRPC
383
+ * -----|-----
384
+ * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")`
385
+ *
386
+ * Any fields in the request message which are not bound by the path template
387
+ * automatically become HTTP query parameters if there is no HTTP request body.
388
+ * For example:
389
+ *
390
+ * service Messaging {
391
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
392
+ * option (google.api.http) = {
393
+ * get:"/v1/messages/{message_id}"
394
+ * };
395
+ * }
396
+ * }
397
+ * message GetMessageRequest {
398
+ * message SubMessage {
399
+ * string subfield = 1;
400
+ * }
401
+ * string message_id = 1; // Mapped to URL path.
402
+ * int64 revision = 2; // Mapped to URL query parameter `revision`.
403
+ * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.
404
+ * }
405
+ *
406
+ * This enables a HTTP JSON to RPC mapping as below:
407
+ *
408
+ * HTTP | gRPC
409
+ * -----|-----
410
+ * `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
411
+ * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
412
+ * "foo"))`
413
+ *
414
+ * Note that fields which are mapped to URL query parameters must have a
415
+ * primitive type or a repeated primitive type or a non-repeated message type.
416
+ * In the case of a repeated type, the parameter can be repeated in the URL
417
+ * as `...?param=A&param=B`. In the case of a message type, each field of the
418
+ * message is mapped to a separate parameter, such as
419
+ * `...?foo.a=A&foo.b=B&foo.c=C`.
420
+ *
421
+ * For HTTP methods that allow a request body, the `body` field
422
+ * specifies the mapping. Consider a REST update method on the
423
+ * message resource collection:
424
+ *
425
+ * service Messaging {
426
+ * rpc UpdateMessage(UpdateMessageRequest) returns (Message) {
427
+ * option (google.api.http) = {
428
+ * patch: "/v1/messages/{message_id}"
429
+ * body: "message"
430
+ * };
431
+ * }
432
+ * }
433
+ * message UpdateMessageRequest {
434
+ * string message_id = 1; // mapped to the URL
435
+ * Message message = 2; // mapped to the body
436
+ * }
437
+ *
438
+ * The following HTTP JSON to RPC mapping is enabled, where the
439
+ * representation of the JSON in the request body is determined by
440
+ * protos JSON encoding:
441
+ *
442
+ * HTTP | gRPC
443
+ * -----|-----
444
+ * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
445
+ * "123456" message { text: "Hi!" })`
446
+ *
447
+ * The special name `*` can be used in the body mapping to define that
448
+ * every field not bound by the path template should be mapped to the
449
+ * request body. This enables the following alternative definition of
450
+ * the update method:
451
+ *
452
+ * service Messaging {
453
+ * rpc UpdateMessage(Message) returns (Message) {
454
+ * option (google.api.http) = {
455
+ * patch: "/v1/messages/{message_id}"
456
+ * body: "*"
457
+ * };
458
+ * }
459
+ * }
460
+ * message Message {
461
+ * string message_id = 1;
462
+ * string text = 2;
463
+ * }
464
+ *
465
+ *
466
+ * The following HTTP JSON to RPC mapping is enabled:
467
+ *
468
+ * HTTP | gRPC
469
+ * -----|-----
470
+ * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
471
+ * "123456" text: "Hi!")`
472
+ *
473
+ * Note that when using `*` in the body mapping, it is not possible to
474
+ * have HTTP parameters, as all fields not bound by the path end in
475
+ * the body. This makes this option more rarely used in practice when
476
+ * defining REST APIs. The common usage of `*` is in custom methods
477
+ * which don't use the URL at all for transferring data.
478
+ *
479
+ * It is possible to define multiple HTTP methods for one RPC by using
480
+ * the `additional_bindings` option. Example:
481
+ *
482
+ * service Messaging {
483
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
484
+ * option (google.api.http) = {
485
+ * get: "/v1/messages/{message_id}"
486
+ * additional_bindings {
487
+ * get: "/v1/users/{user_id}/messages/{message_id}"
488
+ * }
489
+ * };
490
+ * }
491
+ * }
492
+ * message GetMessageRequest {
493
+ * string message_id = 1;
494
+ * string user_id = 2;
495
+ * }
496
+ *
497
+ * This enables the following two alternative HTTP JSON to RPC mappings:
498
+ *
499
+ * HTTP | gRPC
500
+ * -----|-----
501
+ * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
502
+ * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
503
+ * "123456")`
504
+ *
505
+ * ## Rules for HTTP mapping
506
+ *
507
+ * 1. Leaf request fields (recursive expansion nested messages in the request
508
+ * message) are classified into three categories:
509
+ * - Fields referred by the path template. They are passed via the URL path.
510
+ * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They
511
+ * are passed via the HTTP
512
+ * request body.
513
+ * - All other fields are passed via the URL query parameters, and the
514
+ * parameter name is the field path in the request message. A repeated
515
+ * field can be represented as multiple query parameters under the same
516
+ * name.
517
+ * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL
518
+ * query parameter, all fields
519
+ * are passed via URL path and HTTP request body.
520
+ * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP
521
+ * request body, all
522
+ * fields are passed via URL path and URL query parameters.
523
+ *
524
+ * ### Path template syntax
525
+ *
526
+ * Template = "/" Segments [ Verb ] ;
527
+ * Segments = Segment { "/" Segment } ;
528
+ * Segment = "*" | "**" | LITERAL | Variable ;
529
+ * Variable = "{" FieldPath [ "=" Segments ] "}" ;
530
+ * FieldPath = IDENT { "." IDENT } ;
531
+ * Verb = ":" LITERAL ;
532
+ *
533
+ * The syntax `*` matches a single URL path segment. The syntax `**` matches
534
+ * zero or more URL path segments, which must be the last part of the URL path
535
+ * except the `Verb`.
536
+ *
537
+ * The syntax `Variable` matches part of the URL path as specified by its
538
+ * template. A variable template must not contain other variables. If a variable
539
+ * matches a single path segment, its template may be omitted, e.g. `{var}`
540
+ * is equivalent to `{var=*}`.
541
+ *
542
+ * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`
543
+ * contains any reserved character, such characters should be percent-encoded
544
+ * before the matching.
545
+ *
546
+ * If a variable contains exactly one path segment, such as `"{var}"` or
547
+ * `"{var=*}"`, when such a variable is expanded into a URL path on the client
548
+ * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
549
+ * server side does the reverse decoding. Such variables show up in the
550
+ * [Discovery
551
+ * Document](https://developers.google.com/discovery/v1/reference/apis) as
552
+ * `{var}`.
553
+ *
554
+ * If a variable contains multiple path segments, such as `"{var=foo/*}"`
555
+ * or `"{var=**}"`, when such a variable is expanded into a URL path on the
556
+ * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
557
+ * The server side does the reverse decoding, except "%2F" and "%2f" are left
558
+ * unchanged. Such variables show up in the
559
+ * [Discovery
560
+ * Document](https://developers.google.com/discovery/v1/reference/apis) as
561
+ * `{+var}`.
562
+ *
563
+ * ## Using gRPC API Service Configuration
564
+ *
565
+ * gRPC API Service Configuration (service config) is a configuration language
566
+ * for configuring a gRPC service to become a user-facing product. The
567
+ * service config is simply the YAML representation of the `google.api.Service`
568
+ * proto message.
569
+ *
570
+ * As an alternative to annotating your proto file, you can configure gRPC
571
+ * transcoding in your service config YAML files. You do this by specifying a
572
+ * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
573
+ * effect as the proto annotation. This can be particularly useful if you
574
+ * have a proto that is reused in multiple services. Note that any transcoding
575
+ * specified in the service config will override any matching transcoding
576
+ * configuration in the proto.
577
+ *
578
+ * Example:
579
+ *
580
+ * http:
581
+ * rules:
582
+ * # Selects a gRPC method and applies HttpRule to it.
583
+ * - selector: example.v1.Messaging.GetMessage
584
+ * get: /v1/messages/{message_id}/{sub.subfield}
585
+ *
586
+ * ## Special notes
587
+ *
588
+ * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the
589
+ * proto to JSON conversion must follow the [proto3
590
+ * specification](https://developers.google.com/protocol-buffers/docs/proto3#json).
591
+ *
592
+ * While the single segment variable follows the semantics of
593
+ * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
594
+ * Expansion, the multi segment variable **does not** follow RFC 6570 Section
595
+ * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion
596
+ * does not expand special characters like `?` and `#`, which would lead
597
+ * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
598
+ * for multi segment variables.
599
+ *
600
+ * The path variables **must not** refer to any repeated or mapped field,
601
+ * because client libraries are not capable of handling such variable expansion.
602
+ *
603
+ * The path variables **must not** capture the leading "/" character. The reason
604
+ * is that the most common use case "{var}" does not capture the leading "/"
605
+ * character. For consistency, all path variables must share the same behavior.
606
+ *
607
+ * Repeated message fields must not be mapped to URL query parameters, because
608
+ * no client library can support such complicated mapping.
609
+ *
610
+ * If an API needs to use a JSON array for request or response body, it can map
611
+ * the request or response body to a repeated field. However, some gRPC
612
+ * Transcoding implementations may not support this feature.
613
+ */
614
+ export interface THttpRule {
615
+ /**
616
+ * Selects a method to which this rule applies.
617
+ *
618
+ * Refer to [selector][google.api.DocumentationRule.selector] for syntax
619
+ * details.
620
+ */
621
+ selector?: string;
622
+ /**
623
+ * Maps to HTTP GET. Used for listing and getting information about
624
+ * resources.
625
+ */
626
+ get?: string;
627
+ /**
628
+ * Maps to HTTP PUT. Used for replacing a resource.
629
+ */
630
+ put?: string;
631
+ /**
632
+ * Maps to HTTP POST. Used for creating a resource or performing an action.
633
+ */
634
+ post?: string;
635
+ /**
636
+ * Maps to HTTP DELETE. Used for deleting a resource.
637
+ */
638
+ delete?: string;
639
+ /**
640
+ * Maps to HTTP PATCH. Used for updating a resource.
641
+ */
642
+ patch?: string;
643
+ /**
644
+ * The custom pattern is used for specifying an HTTP method that is not
645
+ * included in the `pattern` field, such as HEAD, or "*" to leave the
646
+ * HTTP method unspecified for this rule. The wild-card rule is useful
647
+ * for services that provide content to Web (HTML) clients.
648
+ */
649
+ custom?: TGoogleApiCustomHttpPattern;
650
+ /**
651
+ * The name of the request field whose value is mapped to the HTTP request
652
+ * body, or `*` for mapping all request fields not captured by the path
653
+ * pattern to the HTTP body, or omitted for not having any HTTP request body.
654
+ *
655
+ * NOTE: the referred field must be present at the top-level of the request
656
+ * message type.
657
+ */
658
+ body?: string;
659
+ /**
660
+ * Optional. The name of the response field whose value is mapped to the HTTP
661
+ * response body. When omitted, the entire response message will be used
662
+ * as the HTTP response body.
663
+ *
664
+ * NOTE: The referred field must be present at the top-level of the response
665
+ * message type.
666
+ */
667
+ response_body?: string;
668
+ /**
669
+ * Additional HTTP bindings for the selector. Nested bindings must
670
+ * not contain an `additional_bindings` field themselves (that is,
671
+ * the nesting may only be one level deep).
672
+ */
673
+ additional_bindings?: THttpRule[];
674
+ }
675
+ /**
676
+ * HttpRule
677
+ * # gRPC Transcoding
678
+ *
679
+ * gRPC Transcoding is a feature for mapping between a gRPC method and one or
680
+ * more HTTP REST endpoints. It allows developers to build a single API service
681
+ * that supports both gRPC APIs and REST APIs. Many systems, including [Google
682
+ * APIs](https://github.com/googleapis/googleapis),
683
+ * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC
684
+ * Gateway](https://github.com/grpc-ecosystem/grpc-gateway),
685
+ * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature
686
+ * and use it for large scale production services.
687
+ *
688
+ * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies
689
+ * how different portions of the gRPC request message are mapped to the URL
690
+ * path, URL query parameters, and HTTP request body. It also controls how the
691
+ * gRPC response message is mapped to the HTTP response body. `HttpRule` is
692
+ * typically specified as an `google.api.http` annotation on the gRPC method.
693
+ *
694
+ * Each mapping specifies a URL path template and an HTTP method. The path
695
+ * template may refer to one or more fields in the gRPC request message, as long
696
+ * as each field is a non-repeated field with a primitive (non-message) type.
697
+ * The path template controls how fields of the request message are mapped to
698
+ * the URL path.
699
+ *
700
+ * Example:
701
+ *
702
+ * service Messaging {
703
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
704
+ * option (google.api.http) = {
705
+ * get: "/v1/{name=messages/*}"
706
+ * };
707
+ * }
708
+ * }
709
+ * message GetMessageRequest {
710
+ * string name = 1; // Mapped to URL path.
711
+ * }
712
+ * message Message {
713
+ * string text = 1; // The resource content.
714
+ * }
715
+ *
716
+ * This enables an HTTP REST to gRPC mapping as below:
717
+ *
718
+ * HTTP | gRPC
719
+ * -----|-----
720
+ * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")`
721
+ *
722
+ * Any fields in the request message which are not bound by the path template
723
+ * automatically become HTTP query parameters if there is no HTTP request body.
724
+ * For example:
725
+ *
726
+ * service Messaging {
727
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
728
+ * option (google.api.http) = {
729
+ * get:"/v1/messages/{message_id}"
730
+ * };
731
+ * }
732
+ * }
733
+ * message GetMessageRequest {
734
+ * message SubMessage {
735
+ * string subfield = 1;
736
+ * }
737
+ * string message_id = 1; // Mapped to URL path.
738
+ * int64 revision = 2; // Mapped to URL query parameter `revision`.
739
+ * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.
740
+ * }
741
+ *
742
+ * This enables a HTTP JSON to RPC mapping as below:
743
+ *
744
+ * HTTP | gRPC
745
+ * -----|-----
746
+ * `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
747
+ * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
748
+ * "foo"))`
749
+ *
750
+ * Note that fields which are mapped to URL query parameters must have a
751
+ * primitive type or a repeated primitive type or a non-repeated message type.
752
+ * In the case of a repeated type, the parameter can be repeated in the URL
753
+ * as `...?param=A&param=B`. In the case of a message type, each field of the
754
+ * message is mapped to a separate parameter, such as
755
+ * `...?foo.a=A&foo.b=B&foo.c=C`.
756
+ *
757
+ * For HTTP methods that allow a request body, the `body` field
758
+ * specifies the mapping. Consider a REST update method on the
759
+ * message resource collection:
760
+ *
761
+ * service Messaging {
762
+ * rpc UpdateMessage(UpdateMessageRequest) returns (Message) {
763
+ * option (google.api.http) = {
764
+ * patch: "/v1/messages/{message_id}"
765
+ * body: "message"
766
+ * };
767
+ * }
768
+ * }
769
+ * message UpdateMessageRequest {
770
+ * string message_id = 1; // mapped to the URL
771
+ * Message message = 2; // mapped to the body
772
+ * }
773
+ *
774
+ * The following HTTP JSON to RPC mapping is enabled, where the
775
+ * representation of the JSON in the request body is determined by
776
+ * protos JSON encoding:
777
+ *
778
+ * HTTP | gRPC
779
+ * -----|-----
780
+ * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
781
+ * "123456" message { text: "Hi!" })`
782
+ *
783
+ * The special name `*` can be used in the body mapping to define that
784
+ * every field not bound by the path template should be mapped to the
785
+ * request body. This enables the following alternative definition of
786
+ * the update method:
787
+ *
788
+ * service Messaging {
789
+ * rpc UpdateMessage(Message) returns (Message) {
790
+ * option (google.api.http) = {
791
+ * patch: "/v1/messages/{message_id}"
792
+ * body: "*"
793
+ * };
794
+ * }
795
+ * }
796
+ * message Message {
797
+ * string message_id = 1;
798
+ * string text = 2;
799
+ * }
800
+ *
801
+ *
802
+ * The following HTTP JSON to RPC mapping is enabled:
803
+ *
804
+ * HTTP | gRPC
805
+ * -----|-----
806
+ * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
807
+ * "123456" text: "Hi!")`
808
+ *
809
+ * Note that when using `*` in the body mapping, it is not possible to
810
+ * have HTTP parameters, as all fields not bound by the path end in
811
+ * the body. This makes this option more rarely used in practice when
812
+ * defining REST APIs. The common usage of `*` is in custom methods
813
+ * which don't use the URL at all for transferring data.
814
+ *
815
+ * It is possible to define multiple HTTP methods for one RPC by using
816
+ * the `additional_bindings` option. Example:
817
+ *
818
+ * service Messaging {
819
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
820
+ * option (google.api.http) = {
821
+ * get: "/v1/messages/{message_id}"
822
+ * additional_bindings {
823
+ * get: "/v1/users/{user_id}/messages/{message_id}"
824
+ * }
825
+ * };
826
+ * }
827
+ * }
828
+ * message GetMessageRequest {
829
+ * string message_id = 1;
830
+ * string user_id = 2;
831
+ * }
832
+ *
833
+ * This enables the following two alternative HTTP JSON to RPC mappings:
834
+ *
835
+ * HTTP | gRPC
836
+ * -----|-----
837
+ * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
838
+ * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
839
+ * "123456")`
840
+ *
841
+ * ## Rules for HTTP mapping
842
+ *
843
+ * 1. Leaf request fields (recursive expansion nested messages in the request
844
+ * message) are classified into three categories:
845
+ * - Fields referred by the path template. They are passed via the URL path.
846
+ * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They
847
+ * are passed via the HTTP
848
+ * request body.
849
+ * - All other fields are passed via the URL query parameters, and the
850
+ * parameter name is the field path in the request message. A repeated
851
+ * field can be represented as multiple query parameters under the same
852
+ * name.
853
+ * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL
854
+ * query parameter, all fields
855
+ * are passed via URL path and HTTP request body.
856
+ * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP
857
+ * request body, all
858
+ * fields are passed via URL path and URL query parameters.
859
+ *
860
+ * ### Path template syntax
861
+ *
862
+ * Template = "/" Segments [ Verb ] ;
863
+ * Segments = Segment { "/" Segment } ;
864
+ * Segment = "*" | "**" | LITERAL | Variable ;
865
+ * Variable = "{" FieldPath [ "=" Segments ] "}" ;
866
+ * FieldPath = IDENT { "." IDENT } ;
867
+ * Verb = ":" LITERAL ;
868
+ *
869
+ * The syntax `*` matches a single URL path segment. The syntax `**` matches
870
+ * zero or more URL path segments, which must be the last part of the URL path
871
+ * except the `Verb`.
872
+ *
873
+ * The syntax `Variable` matches part of the URL path as specified by its
874
+ * template. A variable template must not contain other variables. If a variable
875
+ * matches a single path segment, its template may be omitted, e.g. `{var}`
876
+ * is equivalent to `{var=*}`.
877
+ *
878
+ * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`
879
+ * contains any reserved character, such characters should be percent-encoded
880
+ * before the matching.
881
+ *
882
+ * If a variable contains exactly one path segment, such as `"{var}"` or
883
+ * `"{var=*}"`, when such a variable is expanded into a URL path on the client
884
+ * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
885
+ * server side does the reverse decoding. Such variables show up in the
886
+ * [Discovery
887
+ * Document](https://developers.google.com/discovery/v1/reference/apis) as
888
+ * `{var}`.
889
+ *
890
+ * If a variable contains multiple path segments, such as `"{var=foo/*}"`
891
+ * or `"{var=**}"`, when such a variable is expanded into a URL path on the
892
+ * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
893
+ * The server side does the reverse decoding, except "%2F" and "%2f" are left
894
+ * unchanged. Such variables show up in the
895
+ * [Discovery
896
+ * Document](https://developers.google.com/discovery/v1/reference/apis) as
897
+ * `{+var}`.
898
+ *
899
+ * ## Using gRPC API Service Configuration
900
+ *
901
+ * gRPC API Service Configuration (service config) is a configuration language
902
+ * for configuring a gRPC service to become a user-facing product. The
903
+ * service config is simply the YAML representation of the `google.api.Service`
904
+ * proto message.
905
+ *
906
+ * As an alternative to annotating your proto file, you can configure gRPC
907
+ * transcoding in your service config YAML files. You do this by specifying a
908
+ * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
909
+ * effect as the proto annotation. This can be particularly useful if you
910
+ * have a proto that is reused in multiple services. Note that any transcoding
911
+ * specified in the service config will override any matching transcoding
912
+ * configuration in the proto.
913
+ *
914
+ * Example:
915
+ *
916
+ * http:
917
+ * rules:
918
+ * # Selects a gRPC method and applies HttpRule to it.
919
+ * - selector: example.v1.Messaging.GetMessage
920
+ * get: /v1/messages/{message_id}/{sub.subfield}
921
+ *
922
+ * ## Special notes
923
+ *
924
+ * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the
925
+ * proto to JSON conversion must follow the [proto3
926
+ * specification](https://developers.google.com/protocol-buffers/docs/proto3#json).
927
+ *
928
+ * While the single segment variable follows the semantics of
929
+ * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
930
+ * Expansion, the multi segment variable **does not** follow RFC 6570 Section
931
+ * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion
932
+ * does not expand special characters like `?` and `#`, which would lead
933
+ * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
934
+ * for multi segment variables.
935
+ *
936
+ * The path variables **must not** refer to any repeated or mapped field,
937
+ * because client libraries are not capable of handling such variable expansion.
938
+ *
939
+ * The path variables **must not** capture the leading "/" character. The reason
940
+ * is that the most common use case "{var}" does not capture the leading "/"
941
+ * character. For consistency, all path variables must share the same behavior.
942
+ *
943
+ * Repeated message fields must not be mapped to URL query parameters, because
944
+ * no client library can support such complicated mapping.
945
+ *
946
+ * If an API needs to use a JSON array for request or response body, it can map
947
+ * the request or response body to a repeated field. However, some gRPC
948
+ * Transcoding implementations may not support this feature.
949
+ */
950
+ export declare class HttpRule extends FieldNode {
951
+ private _selector;
952
+ private _get;
953
+ private _put;
954
+ private _post;
955
+ private _delete;
956
+ private _patch;
957
+ private _custom;
958
+ private _body;
959
+ private _responseBody;
960
+ private _additionalBindings;
961
+ __defaultValues: IHttpRule;
962
+ constructor(initData?: IHttpRule, parent?: FieldNode, parentAttributeName?: string);
963
+ get selector(): STRING;
964
+ set selector(v: string);
965
+ get get(): STRING;
966
+ set get(v: string);
967
+ get put(): STRING;
968
+ set put(v: string);
969
+ get post(): STRING;
970
+ set post(v: string);
971
+ get delete(): STRING;
972
+ set delete(v: string);
973
+ get patch(): STRING;
974
+ set patch(v: string);
975
+ get custom(): GoogleApiCustomHttpPattern;
976
+ set custom(v: IGoogleApiCustomHttpPattern);
977
+ get body(): STRING;
978
+ set body(v: string);
979
+ get responseBody(): STRING;
980
+ set responseBody(v: string);
981
+ get additionalBindings(): ARRAY<HttpRule, IHttpRule>;
982
+ set additionalBindings(v: IHttpRule[]);
983
+ fromLiteral(data: IHttpRule): void;
984
+ toLiteral(): IHttpRule;
985
+ }