@furo/open-models 1.6.0 → 1.6.2

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 (634) hide show
  1. package/custom-elements.json +1058 -1058
  2. package/dist/OPEN_MODELS_OPTIONS.d.ts +2 -1
  3. package/dist/OPEN_MODELS_OPTIONS.js.map +1 -1
  4. package/package.json +5 -3
  5. package/dist/protoc-gen-open-models/API_OPTIONS.d.ts +0 -5
  6. package/dist/protoc-gen-open-models/API_OPTIONS.js +0 -11
  7. package/dist/protoc-gen-open-models/API_OPTIONS.js.map +0 -1
  8. package/dist/protoc-gen-open-models/BusinessValidators.d.ts +0 -1
  9. package/dist/protoc-gen-open-models/BusinessValidators.js +0 -201
  10. package/dist/protoc-gen-open-models/BusinessValidators.js.map +0 -1
  11. package/dist/protoc-gen-open-models/CustomPrototypes.d.ts +0 -1
  12. package/dist/protoc-gen-open-models/CustomPrototypes.js +0 -17
  13. package/dist/protoc-gen-open-models/CustomPrototypes.js.map +0 -1
  14. package/dist/protoc-gen-open-models/furo/cube/Colour.d.ts +0 -54
  15. package/dist/protoc-gen-open-models/furo/cube/Colour.js +0 -104
  16. package/dist/protoc-gen-open-models/furo/cube/Colour.js.map +0 -1
  17. package/dist/protoc-gen-open-models/furo/cube/CubeDefinition.d.ts +0 -62
  18. package/dist/protoc-gen-open-models/furo/cube/CubeDefinition.js +0 -152
  19. package/dist/protoc-gen-open-models/furo/cube/CubeDefinition.js.map +0 -1
  20. package/dist/protoc-gen-open-models/furo/cube/CubeEntity.d.ts +0 -36
  21. package/dist/protoc-gen-open-models/furo/cube/CubeEntity.js +0 -83
  22. package/dist/protoc-gen-open-models/furo/cube/CubeEntity.js.map +0 -1
  23. package/dist/protoc-gen-open-models/furo/cube/CubeService.d.ts +0 -12
  24. package/dist/protoc-gen-open-models/furo/cube/CubeService.js +0 -14
  25. package/dist/protoc-gen-open-models/furo/cube/CubeService.js.map +0 -1
  26. package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetListRequest.d.ts +0 -31
  27. package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetListRequest.js +0 -56
  28. package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetListRequest.js.map +0 -1
  29. package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetListResponse.d.ts +0 -26
  30. package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetListResponse.js +0 -55
  31. package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetListResponse.js.map +0 -1
  32. package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetRequest.d.ts +0 -44
  33. package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetRequest.js +0 -76
  34. package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetRequest.js.map +0 -1
  35. package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetResponse.d.ts +0 -26
  36. package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetResponse.js +0 -55
  37. package/dist/protoc-gen-open-models/furo/cube/CubeServiceGetResponse.js.map +0 -1
  38. package/dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateRequest.d.ts +0 -37
  39. package/dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateRequest.js +0 -70
  40. package/dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateRequest.js.map +0 -1
  41. package/dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateResponse.d.ts +0 -26
  42. package/dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateResponse.js +0 -55
  43. package/dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateResponse.js.map +0 -1
  44. package/dist/protoc-gen-open-models/furo/cube/Materials.d.ts +0 -12
  45. package/dist/protoc-gen-open-models/furo/cube/Materials.js +0 -21
  46. package/dist/protoc-gen-open-models/furo/cube/Materials.js.map +0 -1
  47. package/dist/protoc-gen-open-models/furo/cube/Wrappers.d.ts +0 -65
  48. package/dist/protoc-gen-open-models/furo/cube/Wrappers.js +0 -158
  49. package/dist/protoc-gen-open-models/furo/cube/Wrappers.js.map +0 -1
  50. package/dist/protoc-gen-open-models/furo/fat/Any.AttributesEntry.d.ts +0 -50
  51. package/dist/protoc-gen-open-models/furo/fat/Any.AttributesEntry.js +0 -80
  52. package/dist/protoc-gen-open-models/furo/fat/Any.AttributesEntry.js.map +0 -1
  53. package/dist/protoc-gen-open-models/furo/fat/Any.LabelsEntry.d.ts +0 -50
  54. package/dist/protoc-gen-open-models/furo/fat/Any.LabelsEntry.js +0 -80
  55. package/dist/protoc-gen-open-models/furo/fat/Any.LabelsEntry.js.map +0 -1
  56. package/dist/protoc-gen-open-models/furo/fat/Any.d.ts +0 -74
  57. package/dist/protoc-gen-open-models/furo/fat/Any.js +0 -91
  58. package/dist/protoc-gen-open-models/furo/fat/Any.js.map +0 -1
  59. package/dist/protoc-gen-open-models/furo/fat/Bool.AttributesEntry.d.ts +0 -42
  60. package/dist/protoc-gen-open-models/furo/fat/Bool.AttributesEntry.js +0 -72
  61. package/dist/protoc-gen-open-models/furo/fat/Bool.AttributesEntry.js.map +0 -1
  62. package/dist/protoc-gen-open-models/furo/fat/Bool.LabelsEntry.d.ts +0 -42
  63. package/dist/protoc-gen-open-models/furo/fat/Bool.LabelsEntry.js +0 -72
  64. package/dist/protoc-gen-open-models/furo/fat/Bool.LabelsEntry.js.map +0 -1
  65. package/dist/protoc-gen-open-models/furo/fat/Bool.d.ts +0 -68
  66. package/dist/protoc-gen-open-models/furo/fat/Bool.js +0 -89
  67. package/dist/protoc-gen-open-models/furo/fat/Bool.js.map +0 -1
  68. package/dist/protoc-gen-open-models/furo/fat/Bytes.AttributesEntry.d.ts +0 -42
  69. package/dist/protoc-gen-open-models/furo/fat/Bytes.AttributesEntry.js +0 -72
  70. package/dist/protoc-gen-open-models/furo/fat/Bytes.AttributesEntry.js.map +0 -1
  71. package/dist/protoc-gen-open-models/furo/fat/Bytes.LabelsEntry.d.ts +0 -42
  72. package/dist/protoc-gen-open-models/furo/fat/Bytes.LabelsEntry.js +0 -73
  73. package/dist/protoc-gen-open-models/furo/fat/Bytes.LabelsEntry.js.map +0 -1
  74. package/dist/protoc-gen-open-models/furo/fat/Bytes.d.ts +0 -68
  75. package/dist/protoc-gen-open-models/furo/fat/Bytes.js +0 -89
  76. package/dist/protoc-gen-open-models/furo/fat/Bytes.js.map +0 -1
  77. package/dist/protoc-gen-open-models/furo/fat/DecimalRange.d.ts +0 -58
  78. package/dist/protoc-gen-open-models/furo/fat/DecimalRange.js +0 -78
  79. package/dist/protoc-gen-open-models/furo/fat/DecimalRange.js.map +0 -1
  80. package/dist/protoc-gen-open-models/furo/fat/Double.AttributesEntry.d.ts +0 -42
  81. package/dist/protoc-gen-open-models/furo/fat/Double.AttributesEntry.js +0 -72
  82. package/dist/protoc-gen-open-models/furo/fat/Double.AttributesEntry.js.map +0 -1
  83. package/dist/protoc-gen-open-models/furo/fat/Double.LabelsEntry.d.ts +0 -42
  84. package/dist/protoc-gen-open-models/furo/fat/Double.LabelsEntry.js +0 -72
  85. package/dist/protoc-gen-open-models/furo/fat/Double.LabelsEntry.js.map +0 -1
  86. package/dist/protoc-gen-open-models/furo/fat/Double.d.ts +0 -68
  87. package/dist/protoc-gen-open-models/furo/fat/Double.js +0 -89
  88. package/dist/protoc-gen-open-models/furo/fat/Double.js.map +0 -1
  89. package/dist/protoc-gen-open-models/furo/fat/Empty.AttributesEntry.d.ts +0 -42
  90. package/dist/protoc-gen-open-models/furo/fat/Empty.AttributesEntry.js +0 -72
  91. package/dist/protoc-gen-open-models/furo/fat/Empty.AttributesEntry.js.map +0 -1
  92. package/dist/protoc-gen-open-models/furo/fat/Empty.LabelsEntry.d.ts +0 -42
  93. package/dist/protoc-gen-open-models/furo/fat/Empty.LabelsEntry.js +0 -73
  94. package/dist/protoc-gen-open-models/furo/fat/Empty.LabelsEntry.js.map +0 -1
  95. package/dist/protoc-gen-open-models/furo/fat/Empty.d.ts +0 -57
  96. package/dist/protoc-gen-open-models/furo/fat/Empty.js +0 -74
  97. package/dist/protoc-gen-open-models/furo/fat/Empty.js.map +0 -1
  98. package/dist/protoc-gen-open-models/furo/fat/Float.AttributesEntry.d.ts +0 -42
  99. package/dist/protoc-gen-open-models/furo/fat/Float.AttributesEntry.js +0 -72
  100. package/dist/protoc-gen-open-models/furo/fat/Float.AttributesEntry.js.map +0 -1
  101. package/dist/protoc-gen-open-models/furo/fat/Float.LabelsEntry.d.ts +0 -42
  102. package/dist/protoc-gen-open-models/furo/fat/Float.LabelsEntry.js +0 -73
  103. package/dist/protoc-gen-open-models/furo/fat/Float.LabelsEntry.js.map +0 -1
  104. package/dist/protoc-gen-open-models/furo/fat/Float.d.ts +0 -68
  105. package/dist/protoc-gen-open-models/furo/fat/Float.js +0 -89
  106. package/dist/protoc-gen-open-models/furo/fat/Float.js.map +0 -1
  107. package/dist/protoc-gen-open-models/furo/fat/Int32.AttributesEntry.d.ts +0 -42
  108. package/dist/protoc-gen-open-models/furo/fat/Int32.AttributesEntry.js +0 -72
  109. package/dist/protoc-gen-open-models/furo/fat/Int32.AttributesEntry.js.map +0 -1
  110. package/dist/protoc-gen-open-models/furo/fat/Int32.LabelsEntry.d.ts +0 -42
  111. package/dist/protoc-gen-open-models/furo/fat/Int32.LabelsEntry.js +0 -73
  112. package/dist/protoc-gen-open-models/furo/fat/Int32.LabelsEntry.js.map +0 -1
  113. package/dist/protoc-gen-open-models/furo/fat/Int32.d.ts +0 -68
  114. package/dist/protoc-gen-open-models/furo/fat/Int32.js +0 -89
  115. package/dist/protoc-gen-open-models/furo/fat/Int32.js.map +0 -1
  116. package/dist/protoc-gen-open-models/furo/fat/Int64.AttributesEntry.d.ts +0 -42
  117. package/dist/protoc-gen-open-models/furo/fat/Int64.AttributesEntry.js +0 -72
  118. package/dist/protoc-gen-open-models/furo/fat/Int64.AttributesEntry.js.map +0 -1
  119. package/dist/protoc-gen-open-models/furo/fat/Int64.LabelsEntry.d.ts +0 -42
  120. package/dist/protoc-gen-open-models/furo/fat/Int64.LabelsEntry.js +0 -73
  121. package/dist/protoc-gen-open-models/furo/fat/Int64.LabelsEntry.js.map +0 -1
  122. package/dist/protoc-gen-open-models/furo/fat/Int64.d.ts +0 -68
  123. package/dist/protoc-gen-open-models/furo/fat/Int64.js +0 -89
  124. package/dist/protoc-gen-open-models/furo/fat/Int64.js.map +0 -1
  125. package/dist/protoc-gen-open-models/furo/fat/String.AttributesEntry.d.ts +0 -42
  126. package/dist/protoc-gen-open-models/furo/fat/String.AttributesEntry.js +0 -72
  127. package/dist/protoc-gen-open-models/furo/fat/String.AttributesEntry.js.map +0 -1
  128. package/dist/protoc-gen-open-models/furo/fat/String.LabelsEntry.d.ts +0 -42
  129. package/dist/protoc-gen-open-models/furo/fat/String.LabelsEntry.js +0 -72
  130. package/dist/protoc-gen-open-models/furo/fat/String.LabelsEntry.js.map +0 -1
  131. package/dist/protoc-gen-open-models/furo/fat/String.d.ts +0 -68
  132. package/dist/protoc-gen-open-models/furo/fat/String.js +0 -89
  133. package/dist/protoc-gen-open-models/furo/fat/String.js.map +0 -1
  134. package/dist/protoc-gen-open-models/furo/fat/Uint32.AttributesEntry.d.ts +0 -42
  135. package/dist/protoc-gen-open-models/furo/fat/Uint32.AttributesEntry.js +0 -72
  136. package/dist/protoc-gen-open-models/furo/fat/Uint32.AttributesEntry.js.map +0 -1
  137. package/dist/protoc-gen-open-models/furo/fat/Uint32.LabelsEntry.d.ts +0 -42
  138. package/dist/protoc-gen-open-models/furo/fat/Uint32.LabelsEntry.js +0 -72
  139. package/dist/protoc-gen-open-models/furo/fat/Uint32.LabelsEntry.js.map +0 -1
  140. package/dist/protoc-gen-open-models/furo/fat/Uint32.d.ts +0 -68
  141. package/dist/protoc-gen-open-models/furo/fat/Uint32.js +0 -89
  142. package/dist/protoc-gen-open-models/furo/fat/Uint32.js.map +0 -1
  143. package/dist/protoc-gen-open-models/furo/fat/Uint64.AttributesEntry.d.ts +0 -42
  144. package/dist/protoc-gen-open-models/furo/fat/Uint64.AttributesEntry.js +0 -72
  145. package/dist/protoc-gen-open-models/furo/fat/Uint64.AttributesEntry.js.map +0 -1
  146. package/dist/protoc-gen-open-models/furo/fat/Uint64.LabelsEntry.d.ts +0 -42
  147. package/dist/protoc-gen-open-models/furo/fat/Uint64.LabelsEntry.js +0 -72
  148. package/dist/protoc-gen-open-models/furo/fat/Uint64.LabelsEntry.js.map +0 -1
  149. package/dist/protoc-gen-open-models/furo/fat/Uint64.d.ts +0 -68
  150. package/dist/protoc-gen-open-models/furo/fat/Uint64.js +0 -89
  151. package/dist/protoc-gen-open-models/furo/fat/Uint64.js.map +0 -1
  152. package/dist/protoc-gen-open-models/furo/type/BookingCenter.d.ts +0 -11
  153. package/dist/protoc-gen-open-models/furo/type/BookingCenter.js +0 -15
  154. package/dist/protoc-gen-open-models/furo/type/BookingCenter.js.map +0 -1
  155. package/dist/protoc-gen-open-models/furo/type/ConstraintWrappers.d.ts +0 -75
  156. package/dist/protoc-gen-open-models/furo/type/ConstraintWrappers.js +0 -218
  157. package/dist/protoc-gen-open-models/furo/type/ConstraintWrappers.js.map +0 -1
  158. package/dist/protoc-gen-open-models/furo/type/Decimal.d.ts +0 -37
  159. package/dist/protoc-gen-open-models/furo/type/Decimal.js +0 -58
  160. package/dist/protoc-gen-open-models/furo/type/Decimal.js.map +0 -1
  161. package/dist/protoc-gen-open-models/furo/type/DecimalB.d.ts +0 -37
  162. package/dist/protoc-gen-open-models/furo/type/DecimalB.js +0 -58
  163. package/dist/protoc-gen-open-models/furo/type/DecimalB.js.map +0 -1
  164. package/dist/protoc-gen-open-models/furo/type/DecimalRange.d.ts +0 -58
  165. package/dist/protoc-gen-open-models/furo/type/DecimalRange.js +0 -78
  166. package/dist/protoc-gen-open-models/furo/type/DecimalRange.js.map +0 -1
  167. package/dist/protoc-gen-open-models/furo/type/DeepRecursion.d.ts +0 -31
  168. package/dist/protoc-gen-open-models/furo/type/DeepRecursion.js +0 -69
  169. package/dist/protoc-gen-open-models/furo/type/DeepRecursion.js.map +0 -1
  170. package/dist/protoc-gen-open-models/furo/type/Defaults.AttributesEntry.d.ts +0 -30
  171. package/dist/protoc-gen-open-models/furo/type/Defaults.AttributesEntry.js +0 -67
  172. package/dist/protoc-gen-open-models/furo/type/Defaults.AttributesEntry.js.map +0 -1
  173. package/dist/protoc-gen-open-models/furo/type/Defaults.d.ts +0 -111
  174. package/dist/protoc-gen-open-models/furo/type/Defaults.js +0 -210
  175. package/dist/protoc-gen-open-models/furo/type/Defaults.js.map +0 -1
  176. package/dist/protoc-gen-open-models/furo/type/Identifier.AttributesEntry.d.ts +0 -30
  177. package/dist/protoc-gen-open-models/furo/type/Identifier.AttributesEntry.js +0 -67
  178. package/dist/protoc-gen-open-models/furo/type/Identifier.AttributesEntry.js.map +0 -1
  179. package/dist/protoc-gen-open-models/furo/type/Identifier.d.ts +0 -117
  180. package/dist/protoc-gen-open-models/furo/type/Identifier.js +0 -203
  181. package/dist/protoc-gen-open-models/furo/type/Identifier.js.map +0 -1
  182. package/dist/protoc-gen-open-models/furo/type/Numeric.d.ts +0 -42
  183. package/dist/protoc-gen-open-models/furo/type/Numeric.js +0 -77
  184. package/dist/protoc-gen-open-models/furo/type/Numeric.js.map +0 -1
  185. package/dist/protoc-gen-open-models/furo/type/Other.d.ts +0 -26
  186. package/dist/protoc-gen-open-models/furo/type/Other.js +0 -55
  187. package/dist/protoc-gen-open-models/furo/type/Other.js.map +0 -1
  188. package/dist/protoc-gen-open-models/furo/type/RefSystem.d.ts +0 -13
  189. package/dist/protoc-gen-open-models/furo/type/RefSystem.js +0 -17
  190. package/dist/protoc-gen-open-models/furo/type/RefSystem.js.map +0 -1
  191. package/dist/protoc-gen-open-models/furo/type/RefType.d.ts +0 -53
  192. package/dist/protoc-gen-open-models/furo/type/RefType.js +0 -57
  193. package/dist/protoc-gen-open-models/furo/type/RefType.js.map +0 -1
  194. package/dist/protoc-gen-open-models/furo/type/Tree.d.ts +0 -53
  195. package/dist/protoc-gen-open-models/furo/type/Tree.js +0 -86
  196. package/dist/protoc-gen-open-models/furo/type/Tree.js.map +0 -1
  197. package/dist/protoc-gen-open-models/furo/type/Wrappers.d.ts +0 -65
  198. package/dist/protoc-gen-open-models/furo/type/Wrappers.js +0 -158
  199. package/dist/protoc-gen-open-models/furo/type/Wrappers.js.map +0 -1
  200. package/dist/protoc-gen-open-models/google/api/CustomHttpPattern.d.ts +0 -45
  201. package/dist/protoc-gen-open-models/google/api/CustomHttpPattern.js +0 -73
  202. package/dist/protoc-gen-open-models/google/api/CustomHttpPattern.js.map +0 -1
  203. package/dist/protoc-gen-open-models/google/api/Http.d.ts +0 -66
  204. package/dist/protoc-gen-open-models/google/api/Http.js +0 -89
  205. package/dist/protoc-gen-open-models/google/api/Http.js.map +0 -1
  206. package/dist/protoc-gen-open-models/google/api/HttpRule.d.ts +0 -985
  207. package/dist/protoc-gen-open-models/google/api/HttpRule.js +0 -502
  208. package/dist/protoc-gen-open-models/google/api/HttpRule.js.map +0 -1
  209. package/dist/protoc-gen-open-models/google/protobuf/Any.d.ts +0 -356
  210. package/dist/protoc-gen-open-models/google/protobuf/Any.js +0 -213
  211. package/dist/protoc-gen-open-models/google/protobuf/Any.js.map +0 -1
  212. package/dist/protoc-gen-open-models/google/protobuf/BoolValue.d.ts +0 -40
  213. package/dist/protoc-gen-open-models/google/protobuf/BoolValue.js +0 -59
  214. package/dist/protoc-gen-open-models/google/protobuf/BoolValue.js.map +0 -1
  215. package/dist/protoc-gen-open-models/google/protobuf/BytesValue.d.ts +0 -40
  216. package/dist/protoc-gen-open-models/google/protobuf/BytesValue.js +0 -59
  217. package/dist/protoc-gen-open-models/google/protobuf/BytesValue.js.map +0 -1
  218. package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.ExtensionRange.d.ts +0 -36
  219. package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.ExtensionRange.js +0 -81
  220. package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.ExtensionRange.js.map +0 -1
  221. package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.ReservedRange.d.ts +0 -30
  222. package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.ReservedRange.js +0 -67
  223. package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.ReservedRange.js.map +0 -1
  224. package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.d.ts +0 -87
  225. package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.js +0 -183
  226. package/dist/protoc-gen-open-models/google/protobuf/DescriptorProto.js.map +0 -1
  227. package/dist/protoc-gen-open-models/google/protobuf/DoubleValue.d.ts +0 -40
  228. package/dist/protoc-gen-open-models/google/protobuf/DoubleValue.js +0 -60
  229. package/dist/protoc-gen-open-models/google/protobuf/DoubleValue.js.map +0 -1
  230. package/dist/protoc-gen-open-models/google/protobuf/Edition.d.ts +0 -11
  231. package/dist/protoc-gen-open-models/google/protobuf/Edition.js +0 -26
  232. package/dist/protoc-gen-open-models/google/protobuf/Edition.js.map +0 -1
  233. package/dist/protoc-gen-open-models/google/protobuf/EnumDescriptorProto.EnumReservedRange.d.ts +0 -30
  234. package/dist/protoc-gen-open-models/google/protobuf/EnumDescriptorProto.EnumReservedRange.js +0 -68
  235. package/dist/protoc-gen-open-models/google/protobuf/EnumDescriptorProto.EnumReservedRange.js.map +0 -1
  236. package/dist/protoc-gen-open-models/google/protobuf/EnumDescriptorProto.d.ts +0 -69
  237. package/dist/protoc-gen-open-models/google/protobuf/EnumDescriptorProto.js +0 -121
  238. package/dist/protoc-gen-open-models/google/protobuf/EnumDescriptorProto.js.map +0 -1
  239. package/dist/protoc-gen-open-models/google/protobuf/EnumOptions.d.ts +0 -95
  240. package/dist/protoc-gen-open-models/google/protobuf/EnumOptions.js +0 -137
  241. package/dist/protoc-gen-open-models/google/protobuf/EnumOptions.js.map +0 -1
  242. package/dist/protoc-gen-open-models/google/protobuf/EnumValueDescriptorProto.d.ts +0 -39
  243. package/dist/protoc-gen-open-models/google/protobuf/EnumValueDescriptorProto.js +0 -82
  244. package/dist/protoc-gen-open-models/google/protobuf/EnumValueDescriptorProto.js.map +0 -1
  245. package/dist/protoc-gen-open-models/google/protobuf/EnumValueOptions.d.ts +0 -76
  246. package/dist/protoc-gen-open-models/google/protobuf/EnumValueOptions.js +0 -115
  247. package/dist/protoc-gen-open-models/google/protobuf/EnumValueOptions.js.map +0 -1
  248. package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.Declaration.d.ts +0 -81
  249. package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.Declaration.js +0 -126
  250. package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.Declaration.js.map +0 -1
  251. package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.VerificationState.d.ts +0 -4
  252. package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.VerificationState.js +0 -8
  253. package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.VerificationState.js.map +0 -1
  254. package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.d.ts +0 -76
  255. package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.js +0 -115
  256. package/dist/protoc-gen-open-models/google/protobuf/ExtensionRangeOptions.js.map +0 -1
  257. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.EnumType.d.ts +0 -5
  258. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.EnumType.js +0 -15
  259. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.EnumType.js.map +0 -1
  260. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.FieldPresence.d.ts +0 -6
  261. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.FieldPresence.js +0 -16
  262. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.FieldPresence.js.map +0 -1
  263. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.JsonFormat.d.ts +0 -5
  264. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.JsonFormat.js +0 -15
  265. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.JsonFormat.js.map +0 -1
  266. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.MessageEncoding.d.ts +0 -5
  267. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.MessageEncoding.js +0 -15
  268. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.MessageEncoding.js.map +0 -1
  269. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.RepeatedFieldEncoding.d.ts +0 -5
  270. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.RepeatedFieldEncoding.js +0 -15
  271. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.RepeatedFieldEncoding.js.map +0 -1
  272. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.Utf8Validation.d.ts +0 -5
  273. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.Utf8Validation.js +0 -15
  274. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.Utf8Validation.js.map +0 -1
  275. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.d.ts +0 -74
  276. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.js +0 -132
  277. package/dist/protoc-gen-open-models/google/protobuf/FeatureSet.js.map +0 -1
  278. package/dist/protoc-gen-open-models/google/protobuf/FeatureSetDefaults.FeatureSetEditionDefault.d.ts +0 -32
  279. package/dist/protoc-gen-open-models/google/protobuf/FeatureSetDefaults.FeatureSetEditionDefault.js +0 -70
  280. package/dist/protoc-gen-open-models/google/protobuf/FeatureSetDefaults.FeatureSetEditionDefault.js.map +0 -1
  281. package/dist/protoc-gen-open-models/google/protobuf/FeatureSetDefaults.d.ts +0 -65
  282. package/dist/protoc-gen-open-models/google/protobuf/FeatureSetDefaults.js +0 -95
  283. package/dist/protoc-gen-open-models/google/protobuf/FeatureSetDefaults.js.map +0 -1
  284. package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.Label.d.ts +0 -5
  285. package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.Label.js +0 -10
  286. package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.Label.js.map +0 -1
  287. package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.Type.d.ts +0 -20
  288. package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.Type.js +0 -25
  289. package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.Type.js.map +0 -1
  290. package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.d.ts +0 -189
  291. package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.js +0 -269
  292. package/dist/protoc-gen-open-models/google/protobuf/FieldDescriptorProto.js.map +0 -1
  293. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.CType.d.ts +0 -5
  294. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.CType.js +0 -9
  295. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.CType.js.map +0 -1
  296. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.EditionDefault.d.ts +0 -31
  297. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.EditionDefault.js +0 -68
  298. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.EditionDefault.js.map +0 -1
  299. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.JSType.d.ts +0 -5
  300. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.JSType.js +0 -9
  301. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.JSType.js.map +0 -1
  302. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.OptionRetention.d.ts +0 -5
  303. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.OptionRetention.js +0 -9
  304. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.OptionRetention.js.map +0 -1
  305. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.OptionTargetType.d.ts +0 -12
  306. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.OptionTargetType.js +0 -16
  307. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.OptionTargetType.js.map +0 -1
  308. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.d.ts +0 -264
  309. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.js +0 -350
  310. package/dist/protoc-gen-open-models/google/protobuf/FieldOptions.js.map +0 -1
  311. package/dist/protoc-gen-open-models/google/protobuf/FileDescriptorProto.d.ts +0 -151
  312. package/dist/protoc-gen-open-models/google/protobuf/FileDescriptorProto.js +0 -247
  313. package/dist/protoc-gen-open-models/google/protobuf/FileDescriptorProto.js.map +0 -1
  314. package/dist/protoc-gen-open-models/google/protobuf/FileDescriptorSet.d.ts +0 -32
  315. package/dist/protoc-gen-open-models/google/protobuf/FileDescriptorSet.js +0 -58
  316. package/dist/protoc-gen-open-models/google/protobuf/FileDescriptorSet.js.map +0 -1
  317. package/dist/protoc-gen-open-models/google/protobuf/FileOptions.OptimizeMode.d.ts +0 -5
  318. package/dist/protoc-gen-open-models/google/protobuf/FileOptions.OptimizeMode.js +0 -9
  319. package/dist/protoc-gen-open-models/google/protobuf/FileOptions.OptimizeMode.js.map +0 -1
  320. package/dist/protoc-gen-open-models/google/protobuf/FileOptions.d.ts +0 -333
  321. package/dist/protoc-gen-open-models/google/protobuf/FileOptions.js +0 -459
  322. package/dist/protoc-gen-open-models/google/protobuf/FileOptions.js.map +0 -1
  323. package/dist/protoc-gen-open-models/google/protobuf/FloatValue.d.ts +0 -40
  324. package/dist/protoc-gen-open-models/google/protobuf/FloatValue.js +0 -59
  325. package/dist/protoc-gen-open-models/google/protobuf/FloatValue.js.map +0 -1
  326. package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.Annotation.Semantic.d.ts +0 -5
  327. package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.Annotation.Semantic.js +0 -12
  328. package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.Annotation.Semantic.js.map +0 -1
  329. package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.Annotation.d.ts +0 -78
  330. package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.Annotation.js +0 -124
  331. package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.Annotation.js.map +0 -1
  332. package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.d.ts +0 -43
  333. package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.js +0 -63
  334. package/dist/protoc-gen-open-models/google/protobuf/GeneratedCodeInfo.js.map +0 -1
  335. package/dist/protoc-gen-open-models/google/protobuf/Int32Value.d.ts +0 -40
  336. package/dist/protoc-gen-open-models/google/protobuf/Int32Value.js +0 -59
  337. package/dist/protoc-gen-open-models/google/protobuf/Int32Value.js.map +0 -1
  338. package/dist/protoc-gen-open-models/google/protobuf/Int64Value.d.ts +0 -40
  339. package/dist/protoc-gen-open-models/google/protobuf/Int64Value.js +0 -59
  340. package/dist/protoc-gen-open-models/google/protobuf/Int64Value.js.map +0 -1
  341. package/dist/protoc-gen-open-models/google/protobuf/MessageOptions.d.ts +0 -201
  342. package/dist/protoc-gen-open-models/google/protobuf/MessageOptions.js +0 -251
  343. package/dist/protoc-gen-open-models/google/protobuf/MessageOptions.js.map +0 -1
  344. package/dist/protoc-gen-open-models/google/protobuf/MethodDescriptorProto.d.ts +0 -74
  345. package/dist/protoc-gen-open-models/google/protobuf/MethodDescriptorProto.js +0 -130
  346. package/dist/protoc-gen-open-models/google/protobuf/MethodDescriptorProto.js.map +0 -1
  347. package/dist/protoc-gen-open-models/google/protobuf/MethodOptions.IdempotencyLevel.d.ts +0 -5
  348. package/dist/protoc-gen-open-models/google/protobuf/MethodOptions.IdempotencyLevel.js +0 -9
  349. package/dist/protoc-gen-open-models/google/protobuf/MethodOptions.IdempotencyLevel.js.map +0 -1
  350. package/dist/protoc-gen-open-models/google/protobuf/MethodOptions.d.ts +0 -67
  351. package/dist/protoc-gen-open-models/google/protobuf/MethodOptions.js +0 -110
  352. package/dist/protoc-gen-open-models/google/protobuf/MethodOptions.js.map +0 -1
  353. package/dist/protoc-gen-open-models/google/protobuf/OneofDescriptorProto.d.ts +0 -34
  354. package/dist/protoc-gen-open-models/google/protobuf/OneofDescriptorProto.js +0 -70
  355. package/dist/protoc-gen-open-models/google/protobuf/OneofDescriptorProto.js.map +0 -1
  356. package/dist/protoc-gen-open-models/google/protobuf/OneofOptions.d.ts +0 -44
  357. package/dist/protoc-gen-open-models/google/protobuf/OneofOptions.js +0 -74
  358. package/dist/protoc-gen-open-models/google/protobuf/OneofOptions.js.map +0 -1
  359. package/dist/protoc-gen-open-models/google/protobuf/ServiceDescriptorProto.d.ts +0 -40
  360. package/dist/protoc-gen-open-models/google/protobuf/ServiceDescriptorProto.js +0 -83
  361. package/dist/protoc-gen-open-models/google/protobuf/ServiceDescriptorProto.js.map +0 -1
  362. package/dist/protoc-gen-open-models/google/protobuf/ServiceOptions.d.ts +0 -61
  363. package/dist/protoc-gen-open-models/google/protobuf/ServiceOptions.js +0 -95
  364. package/dist/protoc-gen-open-models/google/protobuf/ServiceOptions.js.map +0 -1
  365. package/dist/protoc-gen-open-models/google/protobuf/SourceCodeInfo.Location.d.ts +0 -207
  366. package/dist/protoc-gen-open-models/google/protobuf/SourceCodeInfo.Location.js +0 -256
  367. package/dist/protoc-gen-open-models/google/protobuf/SourceCodeInfo.Location.js.map +0 -1
  368. package/dist/protoc-gen-open-models/google/protobuf/SourceCodeInfo.d.ts +0 -122
  369. package/dist/protoc-gen-open-models/google/protobuf/SourceCodeInfo.js +0 -144
  370. package/dist/protoc-gen-open-models/google/protobuf/SourceCodeInfo.js.map +0 -1
  371. package/dist/protoc-gen-open-models/google/protobuf/StringValue.d.ts +0 -40
  372. package/dist/protoc-gen-open-models/google/protobuf/StringValue.js +0 -60
  373. package/dist/protoc-gen-open-models/google/protobuf/StringValue.js.map +0 -1
  374. package/dist/protoc-gen-open-models/google/protobuf/UInt32Value.d.ts +0 -40
  375. package/dist/protoc-gen-open-models/google/protobuf/UInt32Value.js +0 -60
  376. package/dist/protoc-gen-open-models/google/protobuf/UInt32Value.js.map +0 -1
  377. package/dist/protoc-gen-open-models/google/protobuf/UInt64Value.d.ts +0 -40
  378. package/dist/protoc-gen-open-models/google/protobuf/UInt64Value.js +0 -60
  379. package/dist/protoc-gen-open-models/google/protobuf/UInt64Value.js.map +0 -1
  380. package/dist/protoc-gen-open-models/google/protobuf/UninterpretedOption.NamePart.d.ts +0 -30
  381. package/dist/protoc-gen-open-models/google/protobuf/UninterpretedOption.NamePart.js +0 -67
  382. package/dist/protoc-gen-open-models/google/protobuf/UninterpretedOption.NamePart.js.map +0 -1
  383. package/dist/protoc-gen-open-models/google/protobuf/UninterpretedOption.d.ts +0 -82
  384. package/dist/protoc-gen-open-models/google/protobuf/UninterpretedOption.js +0 -144
  385. package/dist/protoc-gen-open-models/google/protobuf/UninterpretedOption.js.map +0 -1
  386. package/dist/protoc-gen-open-models/init.d.ts +0 -10
  387. package/dist/protoc-gen-open-models/init.js +0 -10
  388. package/dist/protoc-gen-open-models/init.js.map +0 -1
  389. package/dist/protoc-gen-open-models/openapiv3/AdditionalPropertiesItem.d.ts +0 -31
  390. package/dist/protoc-gen-open-models/openapiv3/AdditionalPropertiesItem.js +0 -68
  391. package/dist/protoc-gen-open-models/openapiv3/AdditionalPropertiesItem.js.map +0 -1
  392. package/dist/protoc-gen-open-models/openapiv3/Any.d.ts +0 -30
  393. package/dist/protoc-gen-open-models/openapiv3/Any.js +0 -67
  394. package/dist/protoc-gen-open-models/openapiv3/Any.js.map +0 -1
  395. package/dist/protoc-gen-open-models/openapiv3/AnyOrExpression.d.ts +0 -32
  396. package/dist/protoc-gen-open-models/openapiv3/AnyOrExpression.js +0 -70
  397. package/dist/protoc-gen-open-models/openapiv3/AnyOrExpression.js.map +0 -1
  398. package/dist/protoc-gen-open-models/openapiv3/Callback.d.ts +0 -35
  399. package/dist/protoc-gen-open-models/openapiv3/Callback.js +0 -70
  400. package/dist/protoc-gen-open-models/openapiv3/Callback.js.map +0 -1
  401. package/dist/protoc-gen-open-models/openapiv3/CallbackOrReference.d.ts +0 -32
  402. package/dist/protoc-gen-open-models/openapiv3/CallbackOrReference.js +0 -70
  403. package/dist/protoc-gen-open-models/openapiv3/CallbackOrReference.js.map +0 -1
  404. package/dist/protoc-gen-open-models/openapiv3/CallbacksOrReferences.d.ts +0 -26
  405. package/dist/protoc-gen-open-models/openapiv3/CallbacksOrReferences.js +0 -56
  406. package/dist/protoc-gen-open-models/openapiv3/CallbacksOrReferences.js.map +0 -1
  407. package/dist/protoc-gen-open-models/openapiv3/Components.d.ts +0 -83
  408. package/dist/protoc-gen-open-models/openapiv3/Components.js +0 -182
  409. package/dist/protoc-gen-open-models/openapiv3/Components.js.map +0 -1
  410. package/dist/protoc-gen-open-models/openapiv3/Contact.d.ts +0 -44
  411. package/dist/protoc-gen-open-models/openapiv3/Contact.js +0 -95
  412. package/dist/protoc-gen-open-models/openapiv3/Contact.js.map +0 -1
  413. package/dist/protoc-gen-open-models/openapiv3/DefaultType.d.ts +0 -35
  414. package/dist/protoc-gen-open-models/openapiv3/DefaultType.js +0 -81
  415. package/dist/protoc-gen-open-models/openapiv3/DefaultType.js.map +0 -1
  416. package/dist/protoc-gen-open-models/openapiv3/Discriminator.d.ts +0 -40
  417. package/dist/protoc-gen-open-models/openapiv3/Discriminator.js +0 -84
  418. package/dist/protoc-gen-open-models/openapiv3/Discriminator.js.map +0 -1
  419. package/dist/protoc-gen-open-models/openapiv3/Document.d.ts +0 -73
  420. package/dist/protoc-gen-open-models/openapiv3/Document.js +0 -166
  421. package/dist/protoc-gen-open-models/openapiv3/Document.js.map +0 -1
  422. package/dist/protoc-gen-open-models/openapiv3/Encoding.d.ts +0 -55
  423. package/dist/protoc-gen-open-models/openapiv3/Encoding.js +0 -122
  424. package/dist/protoc-gen-open-models/openapiv3/Encoding.js.map +0 -1
  425. package/dist/protoc-gen-open-models/openapiv3/Encodings.d.ts +0 -26
  426. package/dist/protoc-gen-open-models/openapiv3/Encodings.js +0 -55
  427. package/dist/protoc-gen-open-models/openapiv3/Encodings.js.map +0 -1
  428. package/dist/protoc-gen-open-models/openapiv3/Example.d.ts +0 -47
  429. package/dist/protoc-gen-open-models/openapiv3/Example.js +0 -108
  430. package/dist/protoc-gen-open-models/openapiv3/Example.js.map +0 -1
  431. package/dist/protoc-gen-open-models/openapiv3/ExampleOrReference.d.ts +0 -32
  432. package/dist/protoc-gen-open-models/openapiv3/ExampleOrReference.js +0 -70
  433. package/dist/protoc-gen-open-models/openapiv3/ExampleOrReference.js.map +0 -1
  434. package/dist/protoc-gen-open-models/openapiv3/ExamplesOrReferences.d.ts +0 -26
  435. package/dist/protoc-gen-open-models/openapiv3/ExamplesOrReferences.js +0 -56
  436. package/dist/protoc-gen-open-models/openapiv3/ExamplesOrReferences.js.map +0 -1
  437. package/dist/protoc-gen-open-models/openapiv3/Expression.d.ts +0 -26
  438. package/dist/protoc-gen-open-models/openapiv3/Expression.js +0 -55
  439. package/dist/protoc-gen-open-models/openapiv3/Expression.js.map +0 -1
  440. package/dist/protoc-gen-open-models/openapiv3/ExternalDocs.d.ts +0 -39
  441. package/dist/protoc-gen-open-models/openapiv3/ExternalDocs.js +0 -83
  442. package/dist/protoc-gen-open-models/openapiv3/ExternalDocs.js.map +0 -1
  443. package/dist/protoc-gen-open-models/openapiv3/Header.d.ts +0 -88
  444. package/dist/protoc-gen-open-models/openapiv3/Header.js +0 -203
  445. package/dist/protoc-gen-open-models/openapiv3/Header.js.map +0 -1
  446. package/dist/protoc-gen-open-models/openapiv3/HeaderOrReference.d.ts +0 -32
  447. package/dist/protoc-gen-open-models/openapiv3/HeaderOrReference.js +0 -70
  448. package/dist/protoc-gen-open-models/openapiv3/HeaderOrReference.js.map +0 -1
  449. package/dist/protoc-gen-open-models/openapiv3/HeadersOrReferences.d.ts +0 -26
  450. package/dist/protoc-gen-open-models/openapiv3/HeadersOrReferences.js +0 -56
  451. package/dist/protoc-gen-open-models/openapiv3/HeadersOrReferences.js.map +0 -1
  452. package/dist/protoc-gen-open-models/openapiv3/Info.d.ts +0 -66
  453. package/dist/protoc-gen-open-models/openapiv3/Info.js +0 -149
  454. package/dist/protoc-gen-open-models/openapiv3/Info.js.map +0 -1
  455. package/dist/protoc-gen-open-models/openapiv3/ItemsItem.d.ts +0 -26
  456. package/dist/protoc-gen-open-models/openapiv3/ItemsItem.js +0 -55
  457. package/dist/protoc-gen-open-models/openapiv3/ItemsItem.js.map +0 -1
  458. package/dist/protoc-gen-open-models/openapiv3/License.d.ts +0 -39
  459. package/dist/protoc-gen-open-models/openapiv3/License.js +0 -82
  460. package/dist/protoc-gen-open-models/openapiv3/License.js.map +0 -1
  461. package/dist/protoc-gen-open-models/openapiv3/Link.d.ts +0 -61
  462. package/dist/protoc-gen-open-models/openapiv3/Link.js +0 -136
  463. package/dist/protoc-gen-open-models/openapiv3/Link.js.map +0 -1
  464. package/dist/protoc-gen-open-models/openapiv3/LinkOrReference.d.ts +0 -32
  465. package/dist/protoc-gen-open-models/openapiv3/LinkOrReference.js +0 -70
  466. package/dist/protoc-gen-open-models/openapiv3/LinkOrReference.js.map +0 -1
  467. package/dist/protoc-gen-open-models/openapiv3/LinksOrReferences.d.ts +0 -26
  468. package/dist/protoc-gen-open-models/openapiv3/LinksOrReferences.js +0 -56
  469. package/dist/protoc-gen-open-models/openapiv3/LinksOrReferences.js.map +0 -1
  470. package/dist/protoc-gen-open-models/openapiv3/MediaType.d.ts +0 -53
  471. package/dist/protoc-gen-open-models/openapiv3/MediaType.js +0 -112
  472. package/dist/protoc-gen-open-models/openapiv3/MediaType.js.map +0 -1
  473. package/dist/protoc-gen-open-models/openapiv3/MediaTypes.d.ts +0 -26
  474. package/dist/protoc-gen-open-models/openapiv3/MediaTypes.js +0 -55
  475. package/dist/protoc-gen-open-models/openapiv3/MediaTypes.js.map +0 -1
  476. package/dist/protoc-gen-open-models/openapiv3/NamedAny.d.ts +0 -46
  477. package/dist/protoc-gen-open-models/openapiv3/NamedAny.js +0 -73
  478. package/dist/protoc-gen-open-models/openapiv3/NamedAny.js.map +0 -1
  479. package/dist/protoc-gen-open-models/openapiv3/NamedCallbackOrReference.d.ts +0 -46
  480. package/dist/protoc-gen-open-models/openapiv3/NamedCallbackOrReference.js +0 -73
  481. package/dist/protoc-gen-open-models/openapiv3/NamedCallbackOrReference.js.map +0 -1
  482. package/dist/protoc-gen-open-models/openapiv3/NamedEncoding.d.ts +0 -46
  483. package/dist/protoc-gen-open-models/openapiv3/NamedEncoding.js +0 -74
  484. package/dist/protoc-gen-open-models/openapiv3/NamedEncoding.js.map +0 -1
  485. package/dist/protoc-gen-open-models/openapiv3/NamedExampleOrReference.d.ts +0 -46
  486. package/dist/protoc-gen-open-models/openapiv3/NamedExampleOrReference.js +0 -73
  487. package/dist/protoc-gen-open-models/openapiv3/NamedExampleOrReference.js.map +0 -1
  488. package/dist/protoc-gen-open-models/openapiv3/NamedHeaderOrReference.d.ts +0 -46
  489. package/dist/protoc-gen-open-models/openapiv3/NamedHeaderOrReference.js +0 -73
  490. package/dist/protoc-gen-open-models/openapiv3/NamedHeaderOrReference.js.map +0 -1
  491. package/dist/protoc-gen-open-models/openapiv3/NamedLinkOrReference.d.ts +0 -46
  492. package/dist/protoc-gen-open-models/openapiv3/NamedLinkOrReference.js +0 -74
  493. package/dist/protoc-gen-open-models/openapiv3/NamedLinkOrReference.js.map +0 -1
  494. package/dist/protoc-gen-open-models/openapiv3/NamedMediaType.d.ts +0 -46
  495. package/dist/protoc-gen-open-models/openapiv3/NamedMediaType.js +0 -74
  496. package/dist/protoc-gen-open-models/openapiv3/NamedMediaType.js.map +0 -1
  497. package/dist/protoc-gen-open-models/openapiv3/NamedParameterOrReference.d.ts +0 -46
  498. package/dist/protoc-gen-open-models/openapiv3/NamedParameterOrReference.js +0 -73
  499. package/dist/protoc-gen-open-models/openapiv3/NamedParameterOrReference.js.map +0 -1
  500. package/dist/protoc-gen-open-models/openapiv3/NamedPathItem.d.ts +0 -46
  501. package/dist/protoc-gen-open-models/openapiv3/NamedPathItem.js +0 -74
  502. package/dist/protoc-gen-open-models/openapiv3/NamedPathItem.js.map +0 -1
  503. package/dist/protoc-gen-open-models/openapiv3/NamedRequestBodyOrReference.d.ts +0 -46
  504. package/dist/protoc-gen-open-models/openapiv3/NamedRequestBodyOrReference.js +0 -73
  505. package/dist/protoc-gen-open-models/openapiv3/NamedRequestBodyOrReference.js.map +0 -1
  506. package/dist/protoc-gen-open-models/openapiv3/NamedResponseOrReference.d.ts +0 -46
  507. package/dist/protoc-gen-open-models/openapiv3/NamedResponseOrReference.js +0 -73
  508. package/dist/protoc-gen-open-models/openapiv3/NamedResponseOrReference.js.map +0 -1
  509. package/dist/protoc-gen-open-models/openapiv3/NamedSchemaOrReference.d.ts +0 -46
  510. package/dist/protoc-gen-open-models/openapiv3/NamedSchemaOrReference.js +0 -73
  511. package/dist/protoc-gen-open-models/openapiv3/NamedSchemaOrReference.js.map +0 -1
  512. package/dist/protoc-gen-open-models/openapiv3/NamedSecuritySchemeOrReference.d.ts +0 -46
  513. package/dist/protoc-gen-open-models/openapiv3/NamedSecuritySchemeOrReference.js +0 -73
  514. package/dist/protoc-gen-open-models/openapiv3/NamedSecuritySchemeOrReference.js.map +0 -1
  515. package/dist/protoc-gen-open-models/openapiv3/NamedServerVariable.d.ts +0 -46
  516. package/dist/protoc-gen-open-models/openapiv3/NamedServerVariable.js +0 -74
  517. package/dist/protoc-gen-open-models/openapiv3/NamedServerVariable.js.map +0 -1
  518. package/dist/protoc-gen-open-models/openapiv3/NamedString.d.ts +0 -45
  519. package/dist/protoc-gen-open-models/openapiv3/NamedString.js +0 -73
  520. package/dist/protoc-gen-open-models/openapiv3/NamedString.js.map +0 -1
  521. package/dist/protoc-gen-open-models/openapiv3/NamedStringArray.d.ts +0 -46
  522. package/dist/protoc-gen-open-models/openapiv3/NamedStringArray.js +0 -75
  523. package/dist/protoc-gen-open-models/openapiv3/NamedStringArray.js.map +0 -1
  524. package/dist/protoc-gen-open-models/openapiv3/OauthFlow.d.ts +0 -50
  525. package/dist/protoc-gen-open-models/openapiv3/OauthFlow.js +0 -109
  526. package/dist/protoc-gen-open-models/openapiv3/OauthFlow.js.map +0 -1
  527. package/dist/protoc-gen-open-models/openapiv3/OauthFlows.d.ts +0 -50
  528. package/dist/protoc-gen-open-models/openapiv3/OauthFlows.js +0 -109
  529. package/dist/protoc-gen-open-models/openapiv3/OauthFlows.js.map +0 -1
  530. package/dist/protoc-gen-open-models/openapiv3/Object.d.ts +0 -26
  531. package/dist/protoc-gen-open-models/openapiv3/Object.js +0 -55
  532. package/dist/protoc-gen-open-models/openapiv3/Object.js.map +0 -1
  533. package/dist/protoc-gen-open-models/openapiv3/Operation.d.ts +0 -96
  534. package/dist/protoc-gen-open-models/openapiv3/Operation.js +0 -219
  535. package/dist/protoc-gen-open-models/openapiv3/Operation.js.map +0 -1
  536. package/dist/protoc-gen-open-models/openapiv3/Parameter.d.ts +0 -98
  537. package/dist/protoc-gen-open-models/openapiv3/Parameter.js +0 -229
  538. package/dist/protoc-gen-open-models/openapiv3/Parameter.js.map +0 -1
  539. package/dist/protoc-gen-open-models/openapiv3/ParameterOrReference.d.ts +0 -32
  540. package/dist/protoc-gen-open-models/openapiv3/ParameterOrReference.js +0 -70
  541. package/dist/protoc-gen-open-models/openapiv3/ParameterOrReference.js.map +0 -1
  542. package/dist/protoc-gen-open-models/openapiv3/ParametersOrReferences.d.ts +0 -26
  543. package/dist/protoc-gen-open-models/openapiv3/ParametersOrReferences.js +0 -55
  544. package/dist/protoc-gen-open-models/openapiv3/ParametersOrReferences.js.map +0 -1
  545. package/dist/protoc-gen-open-models/openapiv3/PathItem.d.ts +0 -97
  546. package/dist/protoc-gen-open-models/openapiv3/PathItem.js +0 -228
  547. package/dist/protoc-gen-open-models/openapiv3/PathItem.js.map +0 -1
  548. package/dist/protoc-gen-open-models/openapiv3/Paths.d.ts +0 -35
  549. package/dist/protoc-gen-open-models/openapiv3/Paths.js +0 -70
  550. package/dist/protoc-gen-open-models/openapiv3/Paths.js.map +0 -1
  551. package/dist/protoc-gen-open-models/openapiv3/Properties.d.ts +0 -26
  552. package/dist/protoc-gen-open-models/openapiv3/Properties.js +0 -55
  553. package/dist/protoc-gen-open-models/openapiv3/Properties.js.map +0 -1
  554. package/dist/protoc-gen-open-models/openapiv3/Reference.d.ts +0 -38
  555. package/dist/protoc-gen-open-models/openapiv3/Reference.js +0 -81
  556. package/dist/protoc-gen-open-models/openapiv3/Reference.js.map +0 -1
  557. package/dist/protoc-gen-open-models/openapiv3/RequestBodiesOrReferences.d.ts +0 -26
  558. package/dist/protoc-gen-open-models/openapiv3/RequestBodiesOrReferences.js +0 -55
  559. package/dist/protoc-gen-open-models/openapiv3/RequestBodiesOrReferences.js.map +0 -1
  560. package/dist/protoc-gen-open-models/openapiv3/RequestBody.d.ts +0 -45
  561. package/dist/protoc-gen-open-models/openapiv3/RequestBody.js +0 -97
  562. package/dist/protoc-gen-open-models/openapiv3/RequestBody.js.map +0 -1
  563. package/dist/protoc-gen-open-models/openapiv3/RequestBodyOrReference.d.ts +0 -32
  564. package/dist/protoc-gen-open-models/openapiv3/RequestBodyOrReference.js +0 -69
  565. package/dist/protoc-gen-open-models/openapiv3/RequestBodyOrReference.js.map +0 -1
  566. package/dist/protoc-gen-open-models/openapiv3/Response.d.ts +0 -52
  567. package/dist/protoc-gen-open-models/openapiv3/Response.js +0 -111
  568. package/dist/protoc-gen-open-models/openapiv3/Response.js.map +0 -1
  569. package/dist/protoc-gen-open-models/openapiv3/ResponseOrReference.d.ts +0 -32
  570. package/dist/protoc-gen-open-models/openapiv3/ResponseOrReference.js +0 -70
  571. package/dist/protoc-gen-open-models/openapiv3/ResponseOrReference.js.map +0 -1
  572. package/dist/protoc-gen-open-models/openapiv3/Responses.d.ts +0 -41
  573. package/dist/protoc-gen-open-models/openapiv3/Responses.js +0 -84
  574. package/dist/protoc-gen-open-models/openapiv3/Responses.js.map +0 -1
  575. package/dist/protoc-gen-open-models/openapiv3/ResponsesOrReferences.d.ts +0 -26
  576. package/dist/protoc-gen-open-models/openapiv3/ResponsesOrReferences.js +0 -56
  577. package/dist/protoc-gen-open-models/openapiv3/ResponsesOrReferences.js.map +0 -1
  578. package/dist/protoc-gen-open-models/openapiv3/Schema.d.ts +0 -213
  579. package/dist/protoc-gen-open-models/openapiv3/Schema.js +0 -520
  580. package/dist/protoc-gen-open-models/openapiv3/Schema.js.map +0 -1
  581. package/dist/protoc-gen-open-models/openapiv3/SchemaOrReference.d.ts +0 -32
  582. package/dist/protoc-gen-open-models/openapiv3/SchemaOrReference.js +0 -70
  583. package/dist/protoc-gen-open-models/openapiv3/SchemaOrReference.js.map +0 -1
  584. package/dist/protoc-gen-open-models/openapiv3/SchemasOrReferences.d.ts +0 -26
  585. package/dist/protoc-gen-open-models/openapiv3/SchemasOrReferences.js +0 -56
  586. package/dist/protoc-gen-open-models/openapiv3/SchemasOrReferences.js.map +0 -1
  587. package/dist/protoc-gen-open-models/openapiv3/SecurityRequirement.d.ts +0 -29
  588. package/dist/protoc-gen-open-models/openapiv3/SecurityRequirement.js +0 -57
  589. package/dist/protoc-gen-open-models/openapiv3/SecurityRequirement.js.map +0 -1
  590. package/dist/protoc-gen-open-models/openapiv3/SecurityScheme.d.ts +0 -70
  591. package/dist/protoc-gen-open-models/openapiv3/SecurityScheme.js +0 -162
  592. package/dist/protoc-gen-open-models/openapiv3/SecurityScheme.js.map +0 -1
  593. package/dist/protoc-gen-open-models/openapiv3/SecuritySchemeOrReference.d.ts +0 -32
  594. package/dist/protoc-gen-open-models/openapiv3/SecuritySchemeOrReference.js +0 -69
  595. package/dist/protoc-gen-open-models/openapiv3/SecuritySchemeOrReference.js.map +0 -1
  596. package/dist/protoc-gen-open-models/openapiv3/SecuritySchemesOrReferences.d.ts +0 -26
  597. package/dist/protoc-gen-open-models/openapiv3/SecuritySchemesOrReferences.js +0 -55
  598. package/dist/protoc-gen-open-models/openapiv3/SecuritySchemesOrReferences.js.map +0 -1
  599. package/dist/protoc-gen-open-models/openapiv3/Server.d.ts +0 -45
  600. package/dist/protoc-gen-open-models/openapiv3/Server.js +0 -96
  601. package/dist/protoc-gen-open-models/openapiv3/Server.js.map +0 -1
  602. package/dist/protoc-gen-open-models/openapiv3/ServerVariable.d.ts +0 -44
  603. package/dist/protoc-gen-open-models/openapiv3/ServerVariable.js +0 -96
  604. package/dist/protoc-gen-open-models/openapiv3/ServerVariable.js.map +0 -1
  605. package/dist/protoc-gen-open-models/openapiv3/ServerVariables.d.ts +0 -26
  606. package/dist/protoc-gen-open-models/openapiv3/ServerVariables.js +0 -56
  607. package/dist/protoc-gen-open-models/openapiv3/ServerVariables.js.map +0 -1
  608. package/dist/protoc-gen-open-models/openapiv3/SpecificationExtension.d.ts +0 -38
  609. package/dist/protoc-gen-open-models/openapiv3/SpecificationExtension.js +0 -81
  610. package/dist/protoc-gen-open-models/openapiv3/SpecificationExtension.js.map +0 -1
  611. package/dist/protoc-gen-open-models/openapiv3/StringArray.d.ts +0 -25
  612. package/dist/protoc-gen-open-models/openapiv3/StringArray.js +0 -55
  613. package/dist/protoc-gen-open-models/openapiv3/StringArray.js.map +0 -1
  614. package/dist/protoc-gen-open-models/openapiv3/Strings.d.ts +0 -26
  615. package/dist/protoc-gen-open-models/openapiv3/Strings.js +0 -55
  616. package/dist/protoc-gen-open-models/openapiv3/Strings.js.map +0 -1
  617. package/dist/protoc-gen-open-models/openapiv3/Tag.d.ts +0 -45
  618. package/dist/protoc-gen-open-models/openapiv3/Tag.js +0 -96
  619. package/dist/protoc-gen-open-models/openapiv3/Tag.js.map +0 -1
  620. package/dist/protoc-gen-open-models/openapiv3/Xml.d.ts +0 -54
  621. package/dist/protoc-gen-open-models/openapiv3/Xml.js +0 -121
  622. package/dist/protoc-gen-open-models/openapiv3/Xml.js.map +0 -1
  623. package/dist/test_components/form-furo-type-defaults.d.ts +0 -30
  624. package/dist/test_components/form-furo-type-defaults.js +0 -67
  625. package/dist/test_components/form-furo-type-defaults.js.map +0 -1
  626. package/dist/test_components/form-number.d.ts +0 -42
  627. package/dist/test_components/form-number.js +0 -125
  628. package/dist/test_components/form-number.js.map +0 -1
  629. package/dist/test_components/form-string.d.ts +0 -1
  630. package/dist/test_components/form-string.js +0 -80
  631. package/dist/test_components/form-string.js.map +0 -1
  632. package/dist/test_components/page-index.d.ts +0 -39
  633. package/dist/test_components/page-index.js +0 -156
  634. package/dist/test_components/page-index.js.map +0 -1
@@ -1,502 +0,0 @@
1
- // Code generated by furo protoc-gen-open-models. DO NOT EDIT.
2
- // protoc-gen-open-models version: ????
3
- import { ARRAY, FieldNode, Registry, STRING, } from '@furo/open-models/dist/index';
4
- import { CustomHttpPattern as GoogleApiCustomHttpPattern, } from './CustomHttpPattern.js';
5
- /**
6
- * HttpRule
7
- * # gRPC Transcoding
8
- *
9
- * gRPC Transcoding is a feature for mapping between a gRPC method and one or
10
- * more HTTP REST endpoints. It allows developers to build a single API service
11
- * that supports both gRPC APIs and REST APIs. Many systems, including [Google
12
- * APIs](https://github.com/googleapis/googleapis),
13
- * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC
14
- * Gateway](https://github.com/grpc-ecosystem/grpc-gateway),
15
- * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature
16
- * and use it for large scale production services.
17
- *
18
- * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies
19
- * how different portions of the gRPC request message are mapped to the URL
20
- * path, URL query parameters, and HTTP request body. It also controls how the
21
- * gRPC response message is mapped to the HTTP response body. `HttpRule` is
22
- * typically specified as an `google.api.http` annotation on the gRPC method.
23
- *
24
- * Each mapping specifies a URL path template and an HTTP method. The path
25
- * template may refer to one or more fields in the gRPC request message, as long
26
- * as each field is a non-repeated field with a primitive (non-message) type.
27
- * The path template controls how fields of the request message are mapped to
28
- * the URL path.
29
- *
30
- * Example:
31
- *
32
- * service Messaging {
33
- * rpc GetMessage(GetMessageRequest) returns (Message) {
34
- * option (google.api.http) = {
35
- * get: "/v1/{name=messages/*}"
36
- * };
37
- * }
38
- * }
39
- * message GetMessageRequest {
40
- * string name = 1; // Mapped to URL path.
41
- * }
42
- * message Message {
43
- * string text = 1; // The resource content.
44
- * }
45
- *
46
- * This enables an HTTP REST to gRPC mapping as below:
47
- *
48
- * HTTP | gRPC
49
- * -----|-----
50
- * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")`
51
- *
52
- * Any fields in the request message which are not bound by the path template
53
- * automatically become HTTP query parameters if there is no HTTP request body.
54
- * For example:
55
- *
56
- * service Messaging {
57
- * rpc GetMessage(GetMessageRequest) returns (Message) {
58
- * option (google.api.http) = {
59
- * get:"/v1/messages/{message_id}"
60
- * };
61
- * }
62
- * }
63
- * message GetMessageRequest {
64
- * message SubMessage {
65
- * string subfield = 1;
66
- * }
67
- * string message_id = 1; // Mapped to URL path.
68
- * int64 revision = 2; // Mapped to URL query parameter `revision`.
69
- * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.
70
- * }
71
- *
72
- * This enables a HTTP JSON to RPC mapping as below:
73
- *
74
- * HTTP | gRPC
75
- * -----|-----
76
- * `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
77
- * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
78
- * "foo"))`
79
- *
80
- * Note that fields which are mapped to URL query parameters must have a
81
- * primitive type or a repeated primitive type or a non-repeated message type.
82
- * In the case of a repeated type, the parameter can be repeated in the URL
83
- * as `...?param=A&param=B`. In the case of a message type, each field of the
84
- * message is mapped to a separate parameter, such as
85
- * `...?foo.a=A&foo.b=B&foo.c=C`.
86
- *
87
- * For HTTP methods that allow a request body, the `body` field
88
- * specifies the mapping. Consider a REST update method on the
89
- * message resource collection:
90
- *
91
- * service Messaging {
92
- * rpc UpdateMessage(UpdateMessageRequest) returns (Message) {
93
- * option (google.api.http) = {
94
- * patch: "/v1/messages/{message_id}"
95
- * body: "message"
96
- * };
97
- * }
98
- * }
99
- * message UpdateMessageRequest {
100
- * string message_id = 1; // mapped to the URL
101
- * Message message = 2; // mapped to the body
102
- * }
103
- *
104
- * The following HTTP JSON to RPC mapping is enabled, where the
105
- * representation of the JSON in the request body is determined by
106
- * protos JSON encoding:
107
- *
108
- * HTTP | gRPC
109
- * -----|-----
110
- * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
111
- * "123456" message { text: "Hi!" })`
112
- *
113
- * The special name `*` can be used in the body mapping to define that
114
- * every field not bound by the path template should be mapped to the
115
- * request body. This enables the following alternative definition of
116
- * the update method:
117
- *
118
- * service Messaging {
119
- * rpc UpdateMessage(Message) returns (Message) {
120
- * option (google.api.http) = {
121
- * patch: "/v1/messages/{message_id}"
122
- * body: "*"
123
- * };
124
- * }
125
- * }
126
- * message Message {
127
- * string message_id = 1;
128
- * string text = 2;
129
- * }
130
- *
131
- *
132
- * The following HTTP JSON to RPC mapping is enabled:
133
- *
134
- * HTTP | gRPC
135
- * -----|-----
136
- * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
137
- * "123456" text: "Hi!")`
138
- *
139
- * Note that when using `*` in the body mapping, it is not possible to
140
- * have HTTP parameters, as all fields not bound by the path end in
141
- * the body. This makes this option more rarely used in practice when
142
- * defining REST APIs. The common usage of `*` is in custom methods
143
- * which don't use the URL at all for transferring data.
144
- *
145
- * It is possible to define multiple HTTP methods for one RPC by using
146
- * the `additional_bindings` option. Example:
147
- *
148
- * service Messaging {
149
- * rpc GetMessage(GetMessageRequest) returns (Message) {
150
- * option (google.api.http) = {
151
- * get: "/v1/messages/{message_id}"
152
- * additional_bindings {
153
- * get: "/v1/users/{user_id}/messages/{message_id}"
154
- * }
155
- * };
156
- * }
157
- * }
158
- * message GetMessageRequest {
159
- * string message_id = 1;
160
- * string user_id = 2;
161
- * }
162
- *
163
- * This enables the following two alternative HTTP JSON to RPC mappings:
164
- *
165
- * HTTP | gRPC
166
- * -----|-----
167
- * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
168
- * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
169
- * "123456")`
170
- *
171
- * ## Rules for HTTP mapping
172
- *
173
- * 1. Leaf request fields (recursive expansion nested messages in the request
174
- * message) are classified into three categories:
175
- * - Fields referred by the path template. They are passed via the URL path.
176
- * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They
177
- * are passed via the HTTP
178
- * request body.
179
- * - All other fields are passed via the URL query parameters, and the
180
- * parameter name is the field path in the request message. A repeated
181
- * field can be represented as multiple query parameters under the same
182
- * name.
183
- * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL
184
- * query parameter, all fields
185
- * are passed via URL path and HTTP request body.
186
- * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP
187
- * request body, all
188
- * fields are passed via URL path and URL query parameters.
189
- *
190
- * ### Path template syntax
191
- *
192
- * Template = "/" Segments [ Verb ] ;
193
- * Segments = Segment { "/" Segment } ;
194
- * Segment = "*" | "**" | LITERAL | Variable ;
195
- * Variable = "{" FieldPath [ "=" Segments ] "}" ;
196
- * FieldPath = IDENT { "." IDENT } ;
197
- * Verb = ":" LITERAL ;
198
- *
199
- * The syntax `*` matches a single URL path segment. The syntax `**` matches
200
- * zero or more URL path segments, which must be the last part of the URL path
201
- * except the `Verb`.
202
- *
203
- * The syntax `Variable` matches part of the URL path as specified by its
204
- * template. A variable template must not contain other variables. If a variable
205
- * matches a single path segment, its template may be omitted, e.g. `{var}`
206
- * is equivalent to `{var=*}`.
207
- *
208
- * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`
209
- * contains any reserved character, such characters should be percent-encoded
210
- * before the matching.
211
- *
212
- * If a variable contains exactly one path segment, such as `"{var}"` or
213
- * `"{var=*}"`, when such a variable is expanded into a URL path on the client
214
- * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
215
- * server side does the reverse decoding. Such variables show up in the
216
- * [Discovery
217
- * Document](https://developers.google.com/discovery/v1/reference/apis) as
218
- * `{var}`.
219
- *
220
- * If a variable contains multiple path segments, such as `"{var=foo/*}"`
221
- * or `"{var=**}"`, when such a variable is expanded into a URL path on the
222
- * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
223
- * The server side does the reverse decoding, except "%2F" and "%2f" are left
224
- * unchanged. Such variables show up in the
225
- * [Discovery
226
- * Document](https://developers.google.com/discovery/v1/reference/apis) as
227
- * `{+var}`.
228
- *
229
- * ## Using gRPC API Service Configuration
230
- *
231
- * gRPC API Service Configuration (service config) is a configuration language
232
- * for configuring a gRPC service to become a user-facing product. The
233
- * service config is simply the YAML representation of the `google.api.Service`
234
- * proto message.
235
- *
236
- * As an alternative to annotating your proto file, you can configure gRPC
237
- * transcoding in your service config YAML files. You do this by specifying a
238
- * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
239
- * effect as the proto annotation. This can be particularly useful if you
240
- * have a proto that is reused in multiple services. Note that any transcoding
241
- * specified in the service config will override any matching transcoding
242
- * configuration in the proto.
243
- *
244
- * Example:
245
- *
246
- * http:
247
- * rules:
248
- * # Selects a gRPC method and applies HttpRule to it.
249
- * - selector: example.v1.Messaging.GetMessage
250
- * get: /v1/messages/{message_id}/{sub.subfield}
251
- *
252
- * ## Special notes
253
- *
254
- * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the
255
- * proto to JSON conversion must follow the [proto3
256
- * specification](https://developers.google.com/protocol-buffers/docs/proto3#json).
257
- *
258
- * While the single segment variable follows the semantics of
259
- * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
260
- * Expansion, the multi segment variable **does not** follow RFC 6570 Section
261
- * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion
262
- * does not expand special characters like `?` and `#`, which would lead
263
- * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
264
- * for multi segment variables.
265
- *
266
- * The path variables **must not** refer to any repeated or mapped field,
267
- * because client libraries are not capable of handling such variable expansion.
268
- *
269
- * The path variables **must not** capture the leading "/" character. The reason
270
- * is that the most common use case "{var}" does not capture the leading "/"
271
- * character. For consistency, all path variables must share the same behavior.
272
- *
273
- * Repeated message fields must not be mapped to URL query parameters, because
274
- * no client library can support such complicated mapping.
275
- *
276
- * If an API needs to use a JSON array for request or response body, it can map
277
- * the request or response body to a repeated field. However, some gRPC
278
- * Transcoding implementations may not support this feature.
279
- */
280
- export class HttpRule extends FieldNode {
281
- constructor(initData, parent, parentAttributeName) {
282
- super(undefined, parent, parentAttributeName);
283
- this.__meta.typeName = 'google.api.HttpRule';
284
- this.__meta.nodeFields = [
285
- {
286
- fieldName: 'selector',
287
- protoName: 'selector',
288
- FieldConstructor: STRING,
289
- constraints: {},
290
- },
291
- {
292
- fieldName: 'get',
293
- protoName: 'get',
294
- FieldConstructor: STRING,
295
- constraints: {},
296
- },
297
- {
298
- fieldName: 'put',
299
- protoName: 'put',
300
- FieldConstructor: STRING,
301
- constraints: {},
302
- },
303
- {
304
- fieldName: 'post',
305
- protoName: 'post',
306
- FieldConstructor: STRING,
307
- constraints: {},
308
- },
309
- {
310
- fieldName: 'delete',
311
- protoName: 'delete',
312
- FieldConstructor: STRING,
313
- constraints: {},
314
- },
315
- {
316
- fieldName: 'patch',
317
- protoName: 'patch',
318
- FieldConstructor: STRING,
319
- constraints: {},
320
- },
321
- {
322
- fieldName: 'custom',
323
- protoName: 'custom',
324
- FieldConstructor: GoogleApiCustomHttpPattern,
325
- constraints: {},
326
- },
327
- {
328
- fieldName: 'body',
329
- protoName: 'body',
330
- FieldConstructor: STRING,
331
- constraints: {},
332
- },
333
- {
334
- fieldName: 'responseBody',
335
- protoName: 'response_body',
336
- FieldConstructor: STRING,
337
- constraints: {},
338
- },
339
- {
340
- fieldName: 'additionalBindings',
341
- protoName: 'additional_bindings',
342
- FieldConstructor: HttpRule,
343
- constraints: {},
344
- },
345
- ];
346
- // Initialize the fields
347
- // Selects a method to which this rule applies.
348
- //
349
- // Refer to [selector][google.api.DocumentationRule.selector] for syntax
350
- // details.
351
- this._selector = new STRING(undefined, this, 'selector');
352
- // Maps to HTTP GET. Used for listing and getting information about
353
- // resources.
354
- this._get = new STRING(undefined, this, 'get');
355
- // Maps to HTTP PUT. Used for replacing a resource.
356
- this._put = new STRING(undefined, this, 'put');
357
- // Maps to HTTP POST. Used for creating a resource or performing an action.
358
- this._post = new STRING(undefined, this, 'post');
359
- // Maps to HTTP DELETE. Used for deleting a resource.
360
- this._delete = new STRING(undefined, this, 'delete');
361
- // Maps to HTTP PATCH. Used for updating a resource.
362
- this._patch = new STRING(undefined, this, 'patch');
363
- // The custom pattern is used for specifying an HTTP method that is not
364
- // included in the `pattern` field, such as HEAD, or "*" to leave the
365
- // HTTP method unspecified for this rule. The wild-card rule is useful
366
- // for services that provide content to Web (HTML) clients.
367
- this._custom = new GoogleApiCustomHttpPattern(undefined, this, 'custom');
368
- // The name of the request field whose value is mapped to the HTTP request
369
- // body, or `*` for mapping all request fields not captured by the path
370
- // pattern to the HTTP body, or omitted for not having any HTTP request body.
371
- //
372
- // NOTE: the referred field must be present at the top-level of the request
373
- // message type.
374
- this._body = new STRING(undefined, this, 'body');
375
- // Optional. The name of the response field whose value is mapped to the HTTP
376
- // response body. When omitted, the entire response message will be used
377
- // as the HTTP response body.
378
- //
379
- // NOTE: The referred field must be present at the top-level of the response
380
- // message type.
381
- this._responseBody = new STRING(undefined, this, 'responseBody');
382
- // Additional HTTP bindings for the selector. Nested bindings must
383
- // not contain an `additional_bindings` field themselves (that is,
384
- // the nesting may only be one level deep).
385
- this._additionalBindings = new ARRAY(undefined, this, 'additionalBindings');
386
- // Set required fields
387
- [].forEach(fieldName => {
388
- this[fieldName].__meta.required = true;
389
- });
390
- // Default values from openAPI annotations
391
- this.__defaultValues = {};
392
- // Initialize the fields with init data
393
- if (initData !== undefined) {
394
- this.__fromLiteral({ ...this.__defaultValues, ...initData });
395
- }
396
- else {
397
- this.__fromLiteral(this.__defaultValues);
398
- }
399
- // Set readonly fields after the init, so child nodes are readonly too
400
- [].forEach(fieldName => {
401
- this[fieldName].__readonly = true;
402
- });
403
- this.__meta.isPristine = true;
404
- }
405
- // Selects a method to which this rule applies.
406
- //
407
- // Refer to [selector][google.api.DocumentationRule.selector] for syntax
408
- // details.
409
- get selector() {
410
- return this._selector;
411
- }
412
- set selector(v) {
413
- this.__PrimitivesSetter(this._selector, v);
414
- }
415
- // Maps to HTTP GET. Used for listing and getting information about
416
- // resources.
417
- get get() {
418
- return this._get;
419
- }
420
- set get(v) {
421
- this.__PrimitivesSetter(this._get, v);
422
- }
423
- // Maps to HTTP PUT. Used for replacing a resource.
424
- get put() {
425
- return this._put;
426
- }
427
- set put(v) {
428
- this.__PrimitivesSetter(this._put, v);
429
- }
430
- // Maps to HTTP POST. Used for creating a resource or performing an action.
431
- get post() {
432
- return this._post;
433
- }
434
- set post(v) {
435
- this.__PrimitivesSetter(this._post, v);
436
- }
437
- // Maps to HTTP DELETE. Used for deleting a resource.
438
- get delete() {
439
- return this._delete;
440
- }
441
- set delete(v) {
442
- this.__PrimitivesSetter(this._delete, v);
443
- }
444
- // Maps to HTTP PATCH. Used for updating a resource.
445
- get patch() {
446
- return this._patch;
447
- }
448
- set patch(v) {
449
- this.__PrimitivesSetter(this._patch, v);
450
- }
451
- // The custom pattern is used for specifying an HTTP method that is not
452
- // included in the `pattern` field, such as HEAD, or "*" to leave the
453
- // HTTP method unspecified for this rule. The wild-card rule is useful
454
- // for services that provide content to Web (HTML) clients.
455
- get custom() {
456
- return this._custom;
457
- }
458
- set custom(v) {
459
- this.__TypeSetter(this._custom, v);
460
- }
461
- // The name of the request field whose value is mapped to the HTTP request
462
- // body, or `*` for mapping all request fields not captured by the path
463
- // pattern to the HTTP body, or omitted for not having any HTTP request body.
464
- //
465
- // NOTE: the referred field must be present at the top-level of the request
466
- // message type.
467
- get body() {
468
- return this._body;
469
- }
470
- set body(v) {
471
- this.__PrimitivesSetter(this._body, v);
472
- }
473
- // Optional. The name of the response field whose value is mapped to the HTTP
474
- // response body. When omitted, the entire response message will be used
475
- // as the HTTP response body.
476
- //
477
- // NOTE: The referred field must be present at the top-level of the response
478
- // message type.
479
- get responseBody() {
480
- return this._responseBody;
481
- }
482
- set responseBody(v) {
483
- this.__PrimitivesSetter(this._responseBody, v);
484
- }
485
- // Additional HTTP bindings for the selector. Nested bindings must
486
- // not contain an `additional_bindings` field themselves (that is,
487
- // the nesting may only be one level deep).
488
- get additionalBindings() {
489
- return this._additionalBindings;
490
- }
491
- set additionalBindings(v) {
492
- this.__TypeSetter(this._additionalBindings, v);
493
- }
494
- fromLiteral(data) {
495
- super.__fromLiteral(data);
496
- }
497
- toLiteral() {
498
- return super.__toLiteral();
499
- }
500
- }
501
- Registry.register('google.api.HttpRule', HttpRule);
502
- //# sourceMappingURL=HttpRule.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HttpRule.js","sourceRoot":"","sources":["../../../../protoc-gen-open-models/google/api/HttpRule.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAC9D,uCAAuC;AAEvC,OAAO,EACL,KAAK,EACL,SAAS,EACT,QAAQ,EACR,MAAM,GACP,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,iBAAiB,IAAI,0BAA0B,GAGhD,MAAM,qBAAqB,CAAC;AAoqB7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkRG;AACH,MAAM,OAAO,QAAS,SAAQ,SAAS;IAoDrC,YACE,QAAoB,EACpB,MAAkB,EAClB,mBAA4B;QAE5B,KAAK,CAAC,SAAS,EAAE,MAAM,EAAE,mBAAmB,CAAC,CAAC;QAC9C,IAAI,CAAC,MAAM,CAAC,QAAQ,GAAG,qBAAqB,CAAC;QAE7C,IAAI,CAAC,MAAM,CAAC,UAAU,GAAG;YACvB;gBACE,SAAS,EAAE,UAAU;gBACrB,SAAS,EAAE,UAAU;gBACrB,gBAAgB,EAAE,MAAM;gBACxB,WAAW,EAAE,EAAE;aAChB;YACD;gBACE,SAAS,EAAE,KAAK;gBAChB,SAAS,EAAE,KAAK;gBAChB,gBAAgB,EAAE,MAAM;gBACxB,WAAW,EAAE,EAAE;aAChB;YACD;gBACE,SAAS,EAAE,KAAK;gBAChB,SAAS,EAAE,KAAK;gBAChB,gBAAgB,EAAE,MAAM;gBACxB,WAAW,EAAE,EAAE;aAChB;YACD;gBACE,SAAS,EAAE,MAAM;gBACjB,SAAS,EAAE,MAAM;gBACjB,gBAAgB,EAAE,MAAM;gBACxB,WAAW,EAAE,EAAE;aAChB;YACD;gBACE,SAAS,EAAE,QAAQ;gBACnB,SAAS,EAAE,QAAQ;gBACnB,gBAAgB,EAAE,MAAM;gBACxB,WAAW,EAAE,EAAE;aAChB;YACD;gBACE,SAAS,EAAE,OAAO;gBAClB,SAAS,EAAE,OAAO;gBAClB,gBAAgB,EAAE,MAAM;gBACxB,WAAW,EAAE,EAAE;aAChB;YACD;gBACE,SAAS,EAAE,QAAQ;gBACnB,SAAS,EAAE,QAAQ;gBACnB,gBAAgB,EAAE,0BAA0B;gBAC5C,WAAW,EAAE,EAAE;aAChB;YACD;gBACE,SAAS,EAAE,MAAM;gBACjB,SAAS,EAAE,MAAM;gBACjB,gBAAgB,EAAE,MAAM;gBACxB,WAAW,EAAE,EAAE;aAChB;YACD;gBACE,SAAS,EAAE,cAAc;gBACzB,SAAS,EAAE,eAAe;gBAC1B,gBAAgB,EAAE,MAAM;gBACxB,WAAW,EAAE,EAAE;aAChB;YACD;gBACE,SAAS,EAAE,oBAAoB;gBAC/B,SAAS,EAAE,qBAAqB;gBAChC,gBAAgB,EAAE,QAAQ;gBAC1B,WAAW,EAAE,EAAE;aAChB;SACF,CAAC;QAEF,wBAAwB;QACxB,gDAAgD;QAChD,EAAE;QACF,yEAAyE;QACzE,YAAY;QACZ,IAAI,CAAC,SAAS,GAAG,IAAI,MAAM,CAAC,SAAS,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC;QAEzD,oEAAoE;QACpE,cAAc;QACd,IAAI,CAAC,IAAI,GAAG,IAAI,MAAM,CAAC,SAAS,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;QAE/C,oDAAoD;QACpD,IAAI,CAAC,IAAI,GAAG,IAAI,MAAM,CAAC,SAAS,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;QAE/C,4EAA4E;QAC5E,IAAI,CAAC,KAAK,GAAG,IAAI,MAAM,CAAC,SAAS,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;QAEjD,sDAAsD;QACtD,IAAI,CAAC,OAAO,GAAG,IAAI,MAAM,CAAC,SAAS,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;QAErD,qDAAqD;QACrD,IAAI,CAAC,MAAM,GAAG,IAAI,MAAM,CAAC,SAAS,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAEnD,wEAAwE;QACxE,sEAAsE;QACtE,uEAAuE;QACvE,4DAA4D;QAC5D,IAAI,CAAC,OAAO,GAAG,IAAI,0BAA0B,CAAC,SAAS,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;QAEzE,2EAA2E;QAC3E,wEAAwE;QACxE,8EAA8E;QAC9E,EAAE;QACF,4EAA4E;QAC5E,iBAAiB;QACjB,IAAI,CAAC,KAAK,GAAG,IAAI,MAAM,CAAC,SAAS,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;QAEjD,8EAA8E;QAC9E,yEAAyE;QACzE,8BAA8B;QAC9B,EAAE;QACF,6EAA6E;QAC7E,iBAAiB;QACjB,IAAI,CAAC,aAAa,GAAG,IAAI,MAAM,CAAC,SAAS,EAAE,IAAI,EAAE,cAAc,CAAC,CAAC;QAEjE,mEAAmE;QACnE,mEAAmE;QACnE,4CAA4C;QAC5C,IAAI,CAAC,mBAAmB,GAAG,IAAI,KAAK,CAClC,SAAS,EACT,IAAI,EACJ,oBAAoB,CACrB,CAAC;QAEF,sBAAsB;QACtB,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE;YACpB,IAAI,CAAC,SAA2B,CAAe,CAAC,MAAM,CAAC,QAAQ,GAAG,IAAI,CAAC;QAC1E,CAAC,CAAC,CAAC;QAEH,0CAA0C;QAC1C,IAAI,CAAC,eAAe,GAAG,EAAE,CAAC;QAE1B,uCAAuC;QACvC,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC3B,IAAI,CAAC,aAAa,CAAC,EAAE,GAAG,IAAI,CAAC,eAAe,EAAE,GAAG,QAAQ,EAAE,CAAC,CAAC;QAC/D,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAC3C,CAAC;QAED,sEAAsE;QACtE,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE;YACpB,IAAI,CAAC,SAA2B,CAAe,CAAC,UAAU,GAAG,IAAI,CAAC;QACrE,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,MAAM,CAAC,UAAU,GAAG,IAAI,CAAC;IAChC,CAAC;IAED,gDAAgD;IAChD,EAAE;IACF,yEAAyE;IACzE,YAAY;IACZ,IAAW,QAAQ;QACjB,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED,IAAW,QAAQ,CAAC,CAAS;QAC3B,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC;IAC7C,CAAC;IAED,oEAAoE;IACpE,cAAc;IACd,IAAW,GAAG;QACZ,OAAO,IAAI,CAAC,IAAI,CAAC;IACnB,CAAC;IAED,IAAW,GAAG,CAAC,CAAS;QACtB,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IACxC,CAAC;IAED,oDAAoD;IACpD,IAAW,GAAG;QACZ,OAAO,IAAI,CAAC,IAAI,CAAC;IACnB,CAAC;IAED,IAAW,GAAG,CAAC,CAAS;QACtB,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IACxC,CAAC;IAED,4EAA4E;IAC5E,IAAW,IAAI;QACb,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED,IAAW,IAAI,CAAC,CAAS;QACvB,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACzC,CAAC;IAED,sDAAsD;IACtD,IAAW,MAAM;QACf,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAED,IAAW,MAAM,CAAC,CAAS;QACzB,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;IAC3C,CAAC;IAED,qDAAqD;IACrD,IAAW,KAAK;QACd,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,IAAW,KAAK,CAAC,CAAS;QACxB,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IAC1C,CAAC;IAED,wEAAwE;IACxE,sEAAsE;IACtE,uEAAuE;IACvE,4DAA4D;IAC5D,IAAW,MAAM;QACf,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAED,IAAW,MAAM,CAAC,CAA8B;QAC9C,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;IACrC,CAAC;IAED,2EAA2E;IAC3E,wEAAwE;IACxE,8EAA8E;IAC9E,EAAE;IACF,4EAA4E;IAC5E,iBAAiB;IACjB,IAAW,IAAI;QACb,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED,IAAW,IAAI,CAAC,CAAS;QACvB,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACzC,CAAC;IAED,8EAA8E;IAC9E,yEAAyE;IACzE,8BAA8B;IAC9B,EAAE;IACF,6EAA6E;IAC7E,iBAAiB;IACjB,IAAW,YAAY;QACrB,OAAO,IAAI,CAAC,aAAa,CAAC;IAC5B,CAAC;IAED,IAAW,YAAY,CAAC,CAAS;QAC/B,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC;IACjD,CAAC;IAED,mEAAmE;IACnE,mEAAmE;IACnE,4CAA4C;IAC5C,IAAW,kBAAkB;QAC3B,OAAO,IAAI,CAAC,mBAAmB,CAAC;IAClC,CAAC;IAED,IAAW,kBAAkB,CAAC,CAAc;QAC1C,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,mBAAmB,EAAE,CAAC,CAAC,CAAC;IACjD,CAAC;IAED,WAAW,CAAC,IAAe;QACzB,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED,SAAS;QACP,OAAO,KAAK,CAAC,WAAW,EAAE,CAAC;IAC7B,CAAC;CACF;AAED,QAAQ,CAAC,QAAQ,CAAC,qBAAqB,EAAE,QAAQ,CAAC,CAAC","sourcesContent":["// Code generated by furo protoc-gen-open-models. DO NOT EDIT.\n// protoc-gen-open-models version: ????\n\nimport {\n ARRAY,\n FieldNode,\n Registry,\n STRING,\n} from '@furo/open-models/dist/index';\nimport {\n CustomHttpPattern as GoogleApiCustomHttpPattern,\n ICustomHttpPattern as IGoogleApiCustomHttpPattern,\n TCustomHttpPattern as TGoogleApiCustomHttpPattern,\n} from './CustomHttpPattern';\n\n/**\n * @interface IHttpRule\n * # gRPC Transcoding\n *\n * gRPC Transcoding is a feature for mapping between a gRPC method and one or\n * more HTTP REST endpoints. It allows developers to build a single API service\n * that supports both gRPC APIs and REST APIs. Many systems, including [Google\n * APIs](https://github.com/googleapis/googleapis),\n * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC\n * Gateway](https://github.com/grpc-ecosystem/grpc-gateway),\n * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature\n * and use it for large scale production services.\n *\n * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies\n * how different portions of the gRPC request message are mapped to the URL\n * path, URL query parameters, and HTTP request body. It also controls how the\n * gRPC response message is mapped to the HTTP response body. `HttpRule` is\n * typically specified as an `google.api.http` annotation on the gRPC method.\n *\n * Each mapping specifies a URL path template and an HTTP method. The path\n * template may refer to one or more fields in the gRPC request message, as long\n * as each field is a non-repeated field with a primitive (non-message) type.\n * The path template controls how fields of the request message are mapped to\n * the URL path.\n *\n * Example:\n *\n * service Messaging {\n * rpc GetMessage(GetMessageRequest) returns (Message) {\n * option (google.api.http) = {\n * get: \"/v1/{name=messages/*}\"\n * };\n * }\n * }\n * message GetMessageRequest {\n * string name = 1; // Mapped to URL path.\n * }\n * message Message {\n * string text = 1; // The resource content.\n * }\n *\n * This enables an HTTP REST to gRPC mapping as below:\n *\n * HTTP | gRPC\n * -----|-----\n * `GET /v1/messages/123456` | `GetMessage(name: \"messages/123456\")`\n *\n * Any fields in the request message which are not bound by the path template\n * automatically become HTTP query parameters if there is no HTTP request body.\n * For example:\n *\n * service Messaging {\n * rpc GetMessage(GetMessageRequest) returns (Message) {\n * option (google.api.http) = {\n * get:\"/v1/messages/{message_id}\"\n * };\n * }\n * }\n * message GetMessageRequest {\n * message SubMessage {\n * string subfield = 1;\n * }\n * string message_id = 1; // Mapped to URL path.\n * int64 revision = 2; // Mapped to URL query parameter `revision`.\n * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.\n * }\n *\n * This enables a HTTP JSON to RPC mapping as below:\n *\n * HTTP | gRPC\n * -----|-----\n * `GET /v1/messages/123456?revision=2&sub.subfield=foo` |\n * `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield:\n * \"foo\"))`\n *\n * Note that fields which are mapped to URL query parameters must have a\n * primitive type or a repeated primitive type or a non-repeated message type.\n * In the case of a repeated type, the parameter can be repeated in the URL\n * as `...?param=A&param=B`. In the case of a message type, each field of the\n * message is mapped to a separate parameter, such as\n * `...?foo.a=A&foo.b=B&foo.c=C`.\n *\n * For HTTP methods that allow a request body, the `body` field\n * specifies the mapping. Consider a REST update method on the\n * message resource collection:\n *\n * service Messaging {\n * rpc UpdateMessage(UpdateMessageRequest) returns (Message) {\n * option (google.api.http) = {\n * patch: \"/v1/messages/{message_id}\"\n * body: \"message\"\n * };\n * }\n * }\n * message UpdateMessageRequest {\n * string message_id = 1; // mapped to the URL\n * Message message = 2; // mapped to the body\n * }\n *\n * The following HTTP JSON to RPC mapping is enabled, where the\n * representation of the JSON in the request body is determined by\n * protos JSON encoding:\n *\n * HTTP | gRPC\n * -----|-----\n * `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id:\n * \"123456\" message { text: \"Hi!\" })`\n *\n * The special name `*` can be used in the body mapping to define that\n * every field not bound by the path template should be mapped to the\n * request body. This enables the following alternative definition of\n * the update method:\n *\n * service Messaging {\n * rpc UpdateMessage(Message) returns (Message) {\n * option (google.api.http) = {\n * patch: \"/v1/messages/{message_id}\"\n * body: \"*\"\n * };\n * }\n * }\n * message Message {\n * string message_id = 1;\n * string text = 2;\n * }\n *\n *\n * The following HTTP JSON to RPC mapping is enabled:\n *\n * HTTP | gRPC\n * -----|-----\n * `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id:\n * \"123456\" text: \"Hi!\")`\n *\n * Note that when using `*` in the body mapping, it is not possible to\n * have HTTP parameters, as all fields not bound by the path end in\n * the body. This makes this option more rarely used in practice when\n * defining REST APIs. The common usage of `*` is in custom methods\n * which don't use the URL at all for transferring data.\n *\n * It is possible to define multiple HTTP methods for one RPC by using\n * the `additional_bindings` option. Example:\n *\n * service Messaging {\n * rpc GetMessage(GetMessageRequest) returns (Message) {\n * option (google.api.http) = {\n * get: \"/v1/messages/{message_id}\"\n * additional_bindings {\n * get: \"/v1/users/{user_id}/messages/{message_id}\"\n * }\n * };\n * }\n * }\n * message GetMessageRequest {\n * string message_id = 1;\n * string user_id = 2;\n * }\n *\n * This enables the following two alternative HTTP JSON to RPC mappings:\n *\n * HTTP | gRPC\n * -----|-----\n * `GET /v1/messages/123456` | `GetMessage(message_id: \"123456\")`\n * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: \"me\" message_id:\n * \"123456\")`\n *\n * ## Rules for HTTP mapping\n *\n * 1. Leaf request fields (recursive expansion nested messages in the request\n * message) are classified into three categories:\n * - Fields referred by the path template. They are passed via the URL path.\n * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They\n * are passed via the HTTP\n * request body.\n * - All other fields are passed via the URL query parameters, and the\n * parameter name is the field path in the request message. A repeated\n * field can be represented as multiple query parameters under the same\n * name.\n * 2. If [HttpRule.body][google.api.HttpRule.body] is \"*\", there is no URL\n * query parameter, all fields\n * are passed via URL path and HTTP request body.\n * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP\n * request body, all\n * fields are passed via URL path and URL query parameters.\n *\n * ### Path template syntax\n *\n * Template = \"/\" Segments [ Verb ] ;\n * Segments = Segment { \"/\" Segment } ;\n * Segment = \"*\" | \"**\" | LITERAL | Variable ;\n * Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ;\n * FieldPath = IDENT { \".\" IDENT } ;\n * Verb = \":\" LITERAL ;\n *\n * The syntax `*` matches a single URL path segment. The syntax `**` matches\n * zero or more URL path segments, which must be the last part of the URL path\n * except the `Verb`.\n *\n * The syntax `Variable` matches part of the URL path as specified by its\n * template. A variable template must not contain other variables. If a variable\n * matches a single path segment, its template may be omitted, e.g. `{var}`\n * is equivalent to `{var=*}`.\n *\n * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`\n * contains any reserved character, such characters should be percent-encoded\n * before the matching.\n *\n * If a variable contains exactly one path segment, such as `\"{var}\"` or\n * `\"{var=*}\"`, when such a variable is expanded into a URL path on the client\n * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The\n * server side does the reverse decoding. Such variables show up in the\n * [Discovery\n * Document](https://developers.google.com/discovery/v1/reference/apis) as\n * `{var}`.\n *\n * If a variable contains multiple path segments, such as `\"{var=foo/*}\"`\n * or `\"{var=**}\"`, when such a variable is expanded into a URL path on the\n * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.\n * The server side does the reverse decoding, except \"%2F\" and \"%2f\" are left\n * unchanged. Such variables show up in the\n * [Discovery\n * Document](https://developers.google.com/discovery/v1/reference/apis) as\n * `{+var}`.\n *\n * ## Using gRPC API Service Configuration\n *\n * gRPC API Service Configuration (service config) is a configuration language\n * for configuring a gRPC service to become a user-facing product. The\n * service config is simply the YAML representation of the `google.api.Service`\n * proto message.\n *\n * As an alternative to annotating your proto file, you can configure gRPC\n * transcoding in your service config YAML files. You do this by specifying a\n * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same\n * effect as the proto annotation. This can be particularly useful if you\n * have a proto that is reused in multiple services. Note that any transcoding\n * specified in the service config will override any matching transcoding\n * configuration in the proto.\n *\n * Example:\n *\n * http:\n * rules:\n * # Selects a gRPC method and applies HttpRule to it.\n * - selector: example.v1.Messaging.GetMessage\n * get: /v1/messages/{message_id}/{sub.subfield}\n *\n * ## Special notes\n *\n * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the\n * proto to JSON conversion must follow the [proto3\n * specification](https://developers.google.com/protocol-buffers/docs/proto3#json).\n *\n * While the single segment variable follows the semantics of\n * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String\n * Expansion, the multi segment variable **does not** follow RFC 6570 Section\n * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion\n * does not expand special characters like `?` and `#`, which would lead\n * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding\n * for multi segment variables.\n *\n * The path variables **must not** refer to any repeated or mapped field,\n * because client libraries are not capable of handling such variable expansion.\n *\n * The path variables **must not** capture the leading \"/\" character. The reason\n * is that the most common use case \"{var}\" does not capture the leading \"/\"\n * character. For consistency, all path variables must share the same behavior.\n *\n * Repeated message fields must not be mapped to URL query parameters, because\n * no client library can support such complicated mapping.\n *\n * If an API needs to use a JSON array for request or response body, it can map\n * the request or response body to a repeated field. However, some gRPC\n * Transcoding implementations may not support this feature.\n */\nexport interface IHttpRule {\n /**\n * Selects a method to which this rule applies.\n *\n * Refer to [selector][google.api.DocumentationRule.selector] for syntax\n * details.\n */\n selector?: string;\n /**\n * Maps to HTTP GET. Used for listing and getting information about\n * resources.\n */\n get?: string;\n /**\n * Maps to HTTP PUT. Used for replacing a resource.\n */\n put?: string;\n /**\n * Maps to HTTP POST. Used for creating a resource or performing an action.\n */\n post?: string;\n /**\n * Maps to HTTP DELETE. Used for deleting a resource.\n */\n delete?: string;\n /**\n * Maps to HTTP PATCH. Used for updating a resource.\n */\n patch?: string;\n /**\n * The custom pattern is used for specifying an HTTP method that is not\n * included in the `pattern` field, such as HEAD, or \"*\" to leave the\n * HTTP method unspecified for this rule. The wild-card rule is useful\n * for services that provide content to Web (HTML) clients.\n */\n custom?: IGoogleApiCustomHttpPattern;\n /**\n * The name of the request field whose value is mapped to the HTTP request\n * body, or `*` for mapping all request fields not captured by the path\n * pattern to the HTTP body, or omitted for not having any HTTP request body.\n *\n * NOTE: the referred field must be present at the top-level of the request\n * message type.\n */\n body?: string;\n /**\n * Optional. The name of the response field whose value is mapped to the HTTP\n * response body. When omitted, the entire response message will be used\n * as the HTTP response body.\n *\n * NOTE: The referred field must be present at the top-level of the response\n * message type.\n */\n responseBody?: string;\n /**\n * Additional HTTP bindings for the selector. Nested bindings must\n * not contain an `additional_bindings` field themselves (that is,\n * the nesting may only be one level deep).\n */\n additionalBindings?: IHttpRule[];\n}\n\n/**\n * @interface THttpRule\n * # gRPC Transcoding\n *\n * gRPC Transcoding is a feature for mapping between a gRPC method and one or\n * more HTTP REST endpoints. It allows developers to build a single API service\n * that supports both gRPC APIs and REST APIs. Many systems, including [Google\n * APIs](https://github.com/googleapis/googleapis),\n * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC\n * Gateway](https://github.com/grpc-ecosystem/grpc-gateway),\n * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature\n * and use it for large scale production services.\n *\n * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies\n * how different portions of the gRPC request message are mapped to the URL\n * path, URL query parameters, and HTTP request body. It also controls how the\n * gRPC response message is mapped to the HTTP response body. `HttpRule` is\n * typically specified as an `google.api.http` annotation on the gRPC method.\n *\n * Each mapping specifies a URL path template and an HTTP method. The path\n * template may refer to one or more fields in the gRPC request message, as long\n * as each field is a non-repeated field with a primitive (non-message) type.\n * The path template controls how fields of the request message are mapped to\n * the URL path.\n *\n * Example:\n *\n * service Messaging {\n * rpc GetMessage(GetMessageRequest) returns (Message) {\n * option (google.api.http) = {\n * get: \"/v1/{name=messages/*}\"\n * };\n * }\n * }\n * message GetMessageRequest {\n * string name = 1; // Mapped to URL path.\n * }\n * message Message {\n * string text = 1; // The resource content.\n * }\n *\n * This enables an HTTP REST to gRPC mapping as below:\n *\n * HTTP | gRPC\n * -----|-----\n * `GET /v1/messages/123456` | `GetMessage(name: \"messages/123456\")`\n *\n * Any fields in the request message which are not bound by the path template\n * automatically become HTTP query parameters if there is no HTTP request body.\n * For example:\n *\n * service Messaging {\n * rpc GetMessage(GetMessageRequest) returns (Message) {\n * option (google.api.http) = {\n * get:\"/v1/messages/{message_id}\"\n * };\n * }\n * }\n * message GetMessageRequest {\n * message SubMessage {\n * string subfield = 1;\n * }\n * string message_id = 1; // Mapped to URL path.\n * int64 revision = 2; // Mapped to URL query parameter `revision`.\n * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.\n * }\n *\n * This enables a HTTP JSON to RPC mapping as below:\n *\n * HTTP | gRPC\n * -----|-----\n * `GET /v1/messages/123456?revision=2&sub.subfield=foo` |\n * `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield:\n * \"foo\"))`\n *\n * Note that fields which are mapped to URL query parameters must have a\n * primitive type or a repeated primitive type or a non-repeated message type.\n * In the case of a repeated type, the parameter can be repeated in the URL\n * as `...?param=A&param=B`. In the case of a message type, each field of the\n * message is mapped to a separate parameter, such as\n * `...?foo.a=A&foo.b=B&foo.c=C`.\n *\n * For HTTP methods that allow a request body, the `body` field\n * specifies the mapping. Consider a REST update method on the\n * message resource collection:\n *\n * service Messaging {\n * rpc UpdateMessage(UpdateMessageRequest) returns (Message) {\n * option (google.api.http) = {\n * patch: \"/v1/messages/{message_id}\"\n * body: \"message\"\n * };\n * }\n * }\n * message UpdateMessageRequest {\n * string message_id = 1; // mapped to the URL\n * Message message = 2; // mapped to the body\n * }\n *\n * The following HTTP JSON to RPC mapping is enabled, where the\n * representation of the JSON in the request body is determined by\n * protos JSON encoding:\n *\n * HTTP | gRPC\n * -----|-----\n * `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id:\n * \"123456\" message { text: \"Hi!\" })`\n *\n * The special name `*` can be used in the body mapping to define that\n * every field not bound by the path template should be mapped to the\n * request body. This enables the following alternative definition of\n * the update method:\n *\n * service Messaging {\n * rpc UpdateMessage(Message) returns (Message) {\n * option (google.api.http) = {\n * patch: \"/v1/messages/{message_id}\"\n * body: \"*\"\n * };\n * }\n * }\n * message Message {\n * string message_id = 1;\n * string text = 2;\n * }\n *\n *\n * The following HTTP JSON to RPC mapping is enabled:\n *\n * HTTP | gRPC\n * -----|-----\n * `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id:\n * \"123456\" text: \"Hi!\")`\n *\n * Note that when using `*` in the body mapping, it is not possible to\n * have HTTP parameters, as all fields not bound by the path end in\n * the body. This makes this option more rarely used in practice when\n * defining REST APIs. The common usage of `*` is in custom methods\n * which don't use the URL at all for transferring data.\n *\n * It is possible to define multiple HTTP methods for one RPC by using\n * the `additional_bindings` option. Example:\n *\n * service Messaging {\n * rpc GetMessage(GetMessageRequest) returns (Message) {\n * option (google.api.http) = {\n * get: \"/v1/messages/{message_id}\"\n * additional_bindings {\n * get: \"/v1/users/{user_id}/messages/{message_id}\"\n * }\n * };\n * }\n * }\n * message GetMessageRequest {\n * string message_id = 1;\n * string user_id = 2;\n * }\n *\n * This enables the following two alternative HTTP JSON to RPC mappings:\n *\n * HTTP | gRPC\n * -----|-----\n * `GET /v1/messages/123456` | `GetMessage(message_id: \"123456\")`\n * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: \"me\" message_id:\n * \"123456\")`\n *\n * ## Rules for HTTP mapping\n *\n * 1. Leaf request fields (recursive expansion nested messages in the request\n * message) are classified into three categories:\n * - Fields referred by the path template. They are passed via the URL path.\n * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They\n * are passed via the HTTP\n * request body.\n * - All other fields are passed via the URL query parameters, and the\n * parameter name is the field path in the request message. A repeated\n * field can be represented as multiple query parameters under the same\n * name.\n * 2. If [HttpRule.body][google.api.HttpRule.body] is \"*\", there is no URL\n * query parameter, all fields\n * are passed via URL path and HTTP request body.\n * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP\n * request body, all\n * fields are passed via URL path and URL query parameters.\n *\n * ### Path template syntax\n *\n * Template = \"/\" Segments [ Verb ] ;\n * Segments = Segment { \"/\" Segment } ;\n * Segment = \"*\" | \"**\" | LITERAL | Variable ;\n * Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ;\n * FieldPath = IDENT { \".\" IDENT } ;\n * Verb = \":\" LITERAL ;\n *\n * The syntax `*` matches a single URL path segment. The syntax `**` matches\n * zero or more URL path segments, which must be the last part of the URL path\n * except the `Verb`.\n *\n * The syntax `Variable` matches part of the URL path as specified by its\n * template. A variable template must not contain other variables. If a variable\n * matches a single path segment, its template may be omitted, e.g. `{var}`\n * is equivalent to `{var=*}`.\n *\n * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`\n * contains any reserved character, such characters should be percent-encoded\n * before the matching.\n *\n * If a variable contains exactly one path segment, such as `\"{var}\"` or\n * `\"{var=*}\"`, when such a variable is expanded into a URL path on the client\n * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The\n * server side does the reverse decoding. Such variables show up in the\n * [Discovery\n * Document](https://developers.google.com/discovery/v1/reference/apis) as\n * `{var}`.\n *\n * If a variable contains multiple path segments, such as `\"{var=foo/*}\"`\n * or `\"{var=**}\"`, when such a variable is expanded into a URL path on the\n * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.\n * The server side does the reverse decoding, except \"%2F\" and \"%2f\" are left\n * unchanged. Such variables show up in the\n * [Discovery\n * Document](https://developers.google.com/discovery/v1/reference/apis) as\n * `{+var}`.\n *\n * ## Using gRPC API Service Configuration\n *\n * gRPC API Service Configuration (service config) is a configuration language\n * for configuring a gRPC service to become a user-facing product. The\n * service config is simply the YAML representation of the `google.api.Service`\n * proto message.\n *\n * As an alternative to annotating your proto file, you can configure gRPC\n * transcoding in your service config YAML files. You do this by specifying a\n * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same\n * effect as the proto annotation. This can be particularly useful if you\n * have a proto that is reused in multiple services. Note that any transcoding\n * specified in the service config will override any matching transcoding\n * configuration in the proto.\n *\n * Example:\n *\n * http:\n * rules:\n * # Selects a gRPC method and applies HttpRule to it.\n * - selector: example.v1.Messaging.GetMessage\n * get: /v1/messages/{message_id}/{sub.subfield}\n *\n * ## Special notes\n *\n * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the\n * proto to JSON conversion must follow the [proto3\n * specification](https://developers.google.com/protocol-buffers/docs/proto3#json).\n *\n * While the single segment variable follows the semantics of\n * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String\n * Expansion, the multi segment variable **does not** follow RFC 6570 Section\n * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion\n * does not expand special characters like `?` and `#`, which would lead\n * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding\n * for multi segment variables.\n *\n * The path variables **must not** refer to any repeated or mapped field,\n * because client libraries are not capable of handling such variable expansion.\n *\n * The path variables **must not** capture the leading \"/\" character. The reason\n * is that the most common use case \"{var}\" does not capture the leading \"/\"\n * character. For consistency, all path variables must share the same behavior.\n *\n * Repeated message fields must not be mapped to URL query parameters, because\n * no client library can support such complicated mapping.\n *\n * If an API needs to use a JSON array for request or response body, it can map\n * the request or response body to a repeated field. However, some gRPC\n * Transcoding implementations may not support this feature.\n */\nexport interface THttpRule {\n /**\n * Selects a method to which this rule applies.\n *\n * Refer to [selector][google.api.DocumentationRule.selector] for syntax\n * details.\n */\n selector?: string;\n /**\n * Maps to HTTP GET. Used for listing and getting information about\n * resources.\n */\n get?: string;\n /**\n * Maps to HTTP PUT. Used for replacing a resource.\n */\n put?: string;\n /**\n * Maps to HTTP POST. Used for creating a resource or performing an action.\n */\n post?: string;\n /**\n * Maps to HTTP DELETE. Used for deleting a resource.\n */\n delete?: string;\n /**\n * Maps to HTTP PATCH. Used for updating a resource.\n */\n patch?: string;\n /**\n * The custom pattern is used for specifying an HTTP method that is not\n * included in the `pattern` field, such as HEAD, or \"*\" to leave the\n * HTTP method unspecified for this rule. The wild-card rule is useful\n * for services that provide content to Web (HTML) clients.\n */\n custom?: TGoogleApiCustomHttpPattern;\n /**\n * The name of the request field whose value is mapped to the HTTP request\n * body, or `*` for mapping all request fields not captured by the path\n * pattern to the HTTP body, or omitted for not having any HTTP request body.\n *\n * NOTE: the referred field must be present at the top-level of the request\n * message type.\n */\n body?: string;\n /**\n * Optional. The name of the response field whose value is mapped to the HTTP\n * response body. When omitted, the entire response message will be used\n * as the HTTP response body.\n *\n * NOTE: The referred field must be present at the top-level of the response\n * message type.\n */\n response_body?: string;\n /**\n * Additional HTTP bindings for the selector. Nested bindings must\n * not contain an `additional_bindings` field themselves (that is,\n * the nesting may only be one level deep).\n */\n additional_bindings?: THttpRule[];\n}\n\n/**\n * HttpRule\n * # gRPC Transcoding\n *\n * gRPC Transcoding is a feature for mapping between a gRPC method and one or\n * more HTTP REST endpoints. It allows developers to build a single API service\n * that supports both gRPC APIs and REST APIs. Many systems, including [Google\n * APIs](https://github.com/googleapis/googleapis),\n * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC\n * Gateway](https://github.com/grpc-ecosystem/grpc-gateway),\n * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature\n * and use it for large scale production services.\n *\n * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies\n * how different portions of the gRPC request message are mapped to the URL\n * path, URL query parameters, and HTTP request body. It also controls how the\n * gRPC response message is mapped to the HTTP response body. `HttpRule` is\n * typically specified as an `google.api.http` annotation on the gRPC method.\n *\n * Each mapping specifies a URL path template and an HTTP method. The path\n * template may refer to one or more fields in the gRPC request message, as long\n * as each field is a non-repeated field with a primitive (non-message) type.\n * The path template controls how fields of the request message are mapped to\n * the URL path.\n *\n * Example:\n *\n * service Messaging {\n * rpc GetMessage(GetMessageRequest) returns (Message) {\n * option (google.api.http) = {\n * get: \"/v1/{name=messages/*}\"\n * };\n * }\n * }\n * message GetMessageRequest {\n * string name = 1; // Mapped to URL path.\n * }\n * message Message {\n * string text = 1; // The resource content.\n * }\n *\n * This enables an HTTP REST to gRPC mapping as below:\n *\n * HTTP | gRPC\n * -----|-----\n * `GET /v1/messages/123456` | `GetMessage(name: \"messages/123456\")`\n *\n * Any fields in the request message which are not bound by the path template\n * automatically become HTTP query parameters if there is no HTTP request body.\n * For example:\n *\n * service Messaging {\n * rpc GetMessage(GetMessageRequest) returns (Message) {\n * option (google.api.http) = {\n * get:\"/v1/messages/{message_id}\"\n * };\n * }\n * }\n * message GetMessageRequest {\n * message SubMessage {\n * string subfield = 1;\n * }\n * string message_id = 1; // Mapped to URL path.\n * int64 revision = 2; // Mapped to URL query parameter `revision`.\n * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.\n * }\n *\n * This enables a HTTP JSON to RPC mapping as below:\n *\n * HTTP | gRPC\n * -----|-----\n * `GET /v1/messages/123456?revision=2&sub.subfield=foo` |\n * `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield:\n * \"foo\"))`\n *\n * Note that fields which are mapped to URL query parameters must have a\n * primitive type or a repeated primitive type or a non-repeated message type.\n * In the case of a repeated type, the parameter can be repeated in the URL\n * as `...?param=A&param=B`. In the case of a message type, each field of the\n * message is mapped to a separate parameter, such as\n * `...?foo.a=A&foo.b=B&foo.c=C`.\n *\n * For HTTP methods that allow a request body, the `body` field\n * specifies the mapping. Consider a REST update method on the\n * message resource collection:\n *\n * service Messaging {\n * rpc UpdateMessage(UpdateMessageRequest) returns (Message) {\n * option (google.api.http) = {\n * patch: \"/v1/messages/{message_id}\"\n * body: \"message\"\n * };\n * }\n * }\n * message UpdateMessageRequest {\n * string message_id = 1; // mapped to the URL\n * Message message = 2; // mapped to the body\n * }\n *\n * The following HTTP JSON to RPC mapping is enabled, where the\n * representation of the JSON in the request body is determined by\n * protos JSON encoding:\n *\n * HTTP | gRPC\n * -----|-----\n * `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id:\n * \"123456\" message { text: \"Hi!\" })`\n *\n * The special name `*` can be used in the body mapping to define that\n * every field not bound by the path template should be mapped to the\n * request body. This enables the following alternative definition of\n * the update method:\n *\n * service Messaging {\n * rpc UpdateMessage(Message) returns (Message) {\n * option (google.api.http) = {\n * patch: \"/v1/messages/{message_id}\"\n * body: \"*\"\n * };\n * }\n * }\n * message Message {\n * string message_id = 1;\n * string text = 2;\n * }\n *\n *\n * The following HTTP JSON to RPC mapping is enabled:\n *\n * HTTP | gRPC\n * -----|-----\n * `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id:\n * \"123456\" text: \"Hi!\")`\n *\n * Note that when using `*` in the body mapping, it is not possible to\n * have HTTP parameters, as all fields not bound by the path end in\n * the body. This makes this option more rarely used in practice when\n * defining REST APIs. The common usage of `*` is in custom methods\n * which don't use the URL at all for transferring data.\n *\n * It is possible to define multiple HTTP methods for one RPC by using\n * the `additional_bindings` option. Example:\n *\n * service Messaging {\n * rpc GetMessage(GetMessageRequest) returns (Message) {\n * option (google.api.http) = {\n * get: \"/v1/messages/{message_id}\"\n * additional_bindings {\n * get: \"/v1/users/{user_id}/messages/{message_id}\"\n * }\n * };\n * }\n * }\n * message GetMessageRequest {\n * string message_id = 1;\n * string user_id = 2;\n * }\n *\n * This enables the following two alternative HTTP JSON to RPC mappings:\n *\n * HTTP | gRPC\n * -----|-----\n * `GET /v1/messages/123456` | `GetMessage(message_id: \"123456\")`\n * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: \"me\" message_id:\n * \"123456\")`\n *\n * ## Rules for HTTP mapping\n *\n * 1. Leaf request fields (recursive expansion nested messages in the request\n * message) are classified into three categories:\n * - Fields referred by the path template. They are passed via the URL path.\n * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They\n * are passed via the HTTP\n * request body.\n * - All other fields are passed via the URL query parameters, and the\n * parameter name is the field path in the request message. A repeated\n * field can be represented as multiple query parameters under the same\n * name.\n * 2. If [HttpRule.body][google.api.HttpRule.body] is \"*\", there is no URL\n * query parameter, all fields\n * are passed via URL path and HTTP request body.\n * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP\n * request body, all\n * fields are passed via URL path and URL query parameters.\n *\n * ### Path template syntax\n *\n * Template = \"/\" Segments [ Verb ] ;\n * Segments = Segment { \"/\" Segment } ;\n * Segment = \"*\" | \"**\" | LITERAL | Variable ;\n * Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ;\n * FieldPath = IDENT { \".\" IDENT } ;\n * Verb = \":\" LITERAL ;\n *\n * The syntax `*` matches a single URL path segment. The syntax `**` matches\n * zero or more URL path segments, which must be the last part of the URL path\n * except the `Verb`.\n *\n * The syntax `Variable` matches part of the URL path as specified by its\n * template. A variable template must not contain other variables. If a variable\n * matches a single path segment, its template may be omitted, e.g. `{var}`\n * is equivalent to `{var=*}`.\n *\n * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`\n * contains any reserved character, such characters should be percent-encoded\n * before the matching.\n *\n * If a variable contains exactly one path segment, such as `\"{var}\"` or\n * `\"{var=*}\"`, when such a variable is expanded into a URL path on the client\n * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The\n * server side does the reverse decoding. Such variables show up in the\n * [Discovery\n * Document](https://developers.google.com/discovery/v1/reference/apis) as\n * `{var}`.\n *\n * If a variable contains multiple path segments, such as `\"{var=foo/*}\"`\n * or `\"{var=**}\"`, when such a variable is expanded into a URL path on the\n * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.\n * The server side does the reverse decoding, except \"%2F\" and \"%2f\" are left\n * unchanged. Such variables show up in the\n * [Discovery\n * Document](https://developers.google.com/discovery/v1/reference/apis) as\n * `{+var}`.\n *\n * ## Using gRPC API Service Configuration\n *\n * gRPC API Service Configuration (service config) is a configuration language\n * for configuring a gRPC service to become a user-facing product. The\n * service config is simply the YAML representation of the `google.api.Service`\n * proto message.\n *\n * As an alternative to annotating your proto file, you can configure gRPC\n * transcoding in your service config YAML files. You do this by specifying a\n * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same\n * effect as the proto annotation. This can be particularly useful if you\n * have a proto that is reused in multiple services. Note that any transcoding\n * specified in the service config will override any matching transcoding\n * configuration in the proto.\n *\n * Example:\n *\n * http:\n * rules:\n * # Selects a gRPC method and applies HttpRule to it.\n * - selector: example.v1.Messaging.GetMessage\n * get: /v1/messages/{message_id}/{sub.subfield}\n *\n * ## Special notes\n *\n * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the\n * proto to JSON conversion must follow the [proto3\n * specification](https://developers.google.com/protocol-buffers/docs/proto3#json).\n *\n * While the single segment variable follows the semantics of\n * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String\n * Expansion, the multi segment variable **does not** follow RFC 6570 Section\n * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion\n * does not expand special characters like `?` and `#`, which would lead\n * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding\n * for multi segment variables.\n *\n * The path variables **must not** refer to any repeated or mapped field,\n * because client libraries are not capable of handling such variable expansion.\n *\n * The path variables **must not** capture the leading \"/\" character. The reason\n * is that the most common use case \"{var}\" does not capture the leading \"/\"\n * character. For consistency, all path variables must share the same behavior.\n *\n * Repeated message fields must not be mapped to URL query parameters, because\n * no client library can support such complicated mapping.\n *\n * If an API needs to use a JSON array for request or response body, it can map\n * the request or response body to a repeated field. However, some gRPC\n * Transcoding implementations may not support this feature.\n */\nexport class HttpRule extends FieldNode {\n // Selects a method to which this rule applies.\n //\n // Refer to [selector][google.api.DocumentationRule.selector] for syntax\n // details.\n private _selector: STRING;\n\n // Maps to HTTP GET. Used for listing and getting information about\n // resources.\n private _get: STRING;\n\n // Maps to HTTP PUT. Used for replacing a resource.\n private _put: STRING;\n\n // Maps to HTTP POST. Used for creating a resource or performing an action.\n private _post: STRING;\n\n // Maps to HTTP DELETE. Used for deleting a resource.\n private _delete: STRING;\n\n // Maps to HTTP PATCH. Used for updating a resource.\n private _patch: STRING;\n\n // The custom pattern is used for specifying an HTTP method that is not\n // included in the `pattern` field, such as HEAD, or \"*\" to leave the\n // HTTP method unspecified for this rule. The wild-card rule is useful\n // for services that provide content to Web (HTML) clients.\n private _custom: GoogleApiCustomHttpPattern;\n\n // The name of the request field whose value is mapped to the HTTP request\n // body, or `*` for mapping all request fields not captured by the path\n // pattern to the HTTP body, or omitted for not having any HTTP request body.\n //\n // NOTE: the referred field must be present at the top-level of the request\n // message type.\n private _body: STRING;\n\n // Optional. The name of the response field whose value is mapped to the HTTP\n // response body. When omitted, the entire response message will be used\n // as the HTTP response body.\n //\n // NOTE: The referred field must be present at the top-level of the response\n // message type.\n private _responseBody: STRING;\n\n // Additional HTTP bindings for the selector. Nested bindings must\n // not contain an `additional_bindings` field themselves (that is,\n // the nesting may only be one level deep).\n private _additionalBindings: ARRAY<HttpRule, IHttpRule>;\n\n public __defaultValues: IHttpRule;\n\n constructor(\n initData?: IHttpRule,\n parent?: FieldNode,\n parentAttributeName?: string,\n ) {\n super(undefined, parent, parentAttributeName);\n this.__meta.typeName = 'google.api.HttpRule';\n\n this.__meta.nodeFields = [\n {\n fieldName: 'selector',\n protoName: 'selector',\n FieldConstructor: STRING,\n constraints: {},\n },\n {\n fieldName: 'get',\n protoName: 'get',\n FieldConstructor: STRING,\n constraints: {},\n },\n {\n fieldName: 'put',\n protoName: 'put',\n FieldConstructor: STRING,\n constraints: {},\n },\n {\n fieldName: 'post',\n protoName: 'post',\n FieldConstructor: STRING,\n constraints: {},\n },\n {\n fieldName: 'delete',\n protoName: 'delete',\n FieldConstructor: STRING,\n constraints: {},\n },\n {\n fieldName: 'patch',\n protoName: 'patch',\n FieldConstructor: STRING,\n constraints: {},\n },\n {\n fieldName: 'custom',\n protoName: 'custom',\n FieldConstructor: GoogleApiCustomHttpPattern,\n constraints: {},\n },\n {\n fieldName: 'body',\n protoName: 'body',\n FieldConstructor: STRING,\n constraints: {},\n },\n {\n fieldName: 'responseBody',\n protoName: 'response_body',\n FieldConstructor: STRING,\n constraints: {},\n },\n {\n fieldName: 'additionalBindings',\n protoName: 'additional_bindings',\n FieldConstructor: HttpRule,\n constraints: {},\n },\n ];\n\n // Initialize the fields\n // Selects a method to which this rule applies.\n //\n // Refer to [selector][google.api.DocumentationRule.selector] for syntax\n // details.\n this._selector = new STRING(undefined, this, 'selector');\n\n // Maps to HTTP GET. Used for listing and getting information about\n // resources.\n this._get = new STRING(undefined, this, 'get');\n\n // Maps to HTTP PUT. Used for replacing a resource.\n this._put = new STRING(undefined, this, 'put');\n\n // Maps to HTTP POST. Used for creating a resource or performing an action.\n this._post = new STRING(undefined, this, 'post');\n\n // Maps to HTTP DELETE. Used for deleting a resource.\n this._delete = new STRING(undefined, this, 'delete');\n\n // Maps to HTTP PATCH. Used for updating a resource.\n this._patch = new STRING(undefined, this, 'patch');\n\n // The custom pattern is used for specifying an HTTP method that is not\n // included in the `pattern` field, such as HEAD, or \"*\" to leave the\n // HTTP method unspecified for this rule. The wild-card rule is useful\n // for services that provide content to Web (HTML) clients.\n this._custom = new GoogleApiCustomHttpPattern(undefined, this, 'custom');\n\n // The name of the request field whose value is mapped to the HTTP request\n // body, or `*` for mapping all request fields not captured by the path\n // pattern to the HTTP body, or omitted for not having any HTTP request body.\n //\n // NOTE: the referred field must be present at the top-level of the request\n // message type.\n this._body = new STRING(undefined, this, 'body');\n\n // Optional. The name of the response field whose value is mapped to the HTTP\n // response body. When omitted, the entire response message will be used\n // as the HTTP response body.\n //\n // NOTE: The referred field must be present at the top-level of the response\n // message type.\n this._responseBody = new STRING(undefined, this, 'responseBody');\n\n // Additional HTTP bindings for the selector. Nested bindings must\n // not contain an `additional_bindings` field themselves (that is,\n // the nesting may only be one level deep).\n this._additionalBindings = new ARRAY<HttpRule, IHttpRule>(\n undefined,\n this,\n 'additionalBindings',\n );\n\n // Set required fields\n [].forEach(fieldName => {\n (this[fieldName as keyof HttpRule] as FieldNode).__meta.required = true;\n });\n\n // Default values from openAPI annotations\n this.__defaultValues = {};\n\n // Initialize the fields with init data\n if (initData !== undefined) {\n this.__fromLiteral({ ...this.__defaultValues, ...initData });\n } else {\n this.__fromLiteral(this.__defaultValues);\n }\n\n // Set readonly fields after the init, so child nodes are readonly too\n [].forEach(fieldName => {\n (this[fieldName as keyof HttpRule] as FieldNode).__readonly = true;\n });\n\n this.__meta.isPristine = true;\n }\n\n // Selects a method to which this rule applies.\n //\n // Refer to [selector][google.api.DocumentationRule.selector] for syntax\n // details.\n public get selector(): STRING {\n return this._selector;\n }\n\n public set selector(v: string) {\n this.__PrimitivesSetter(this._selector, v);\n }\n\n // Maps to HTTP GET. Used for listing and getting information about\n // resources.\n public get get(): STRING {\n return this._get;\n }\n\n public set get(v: string) {\n this.__PrimitivesSetter(this._get, v);\n }\n\n // Maps to HTTP PUT. Used for replacing a resource.\n public get put(): STRING {\n return this._put;\n }\n\n public set put(v: string) {\n this.__PrimitivesSetter(this._put, v);\n }\n\n // Maps to HTTP POST. Used for creating a resource or performing an action.\n public get post(): STRING {\n return this._post;\n }\n\n public set post(v: string) {\n this.__PrimitivesSetter(this._post, v);\n }\n\n // Maps to HTTP DELETE. Used for deleting a resource.\n public get delete(): STRING {\n return this._delete;\n }\n\n public set delete(v: string) {\n this.__PrimitivesSetter(this._delete, v);\n }\n\n // Maps to HTTP PATCH. Used for updating a resource.\n public get patch(): STRING {\n return this._patch;\n }\n\n public set patch(v: string) {\n this.__PrimitivesSetter(this._patch, v);\n }\n\n // The custom pattern is used for specifying an HTTP method that is not\n // included in the `pattern` field, such as HEAD, or \"*\" to leave the\n // HTTP method unspecified for this rule. The wild-card rule is useful\n // for services that provide content to Web (HTML) clients.\n public get custom(): GoogleApiCustomHttpPattern {\n return this._custom;\n }\n\n public set custom(v: IGoogleApiCustomHttpPattern) {\n this.__TypeSetter(this._custom, v);\n }\n\n // The name of the request field whose value is mapped to the HTTP request\n // body, or `*` for mapping all request fields not captured by the path\n // pattern to the HTTP body, or omitted for not having any HTTP request body.\n //\n // NOTE: the referred field must be present at the top-level of the request\n // message type.\n public get body(): STRING {\n return this._body;\n }\n\n public set body(v: string) {\n this.__PrimitivesSetter(this._body, v);\n }\n\n // Optional. The name of the response field whose value is mapped to the HTTP\n // response body. When omitted, the entire response message will be used\n // as the HTTP response body.\n //\n // NOTE: The referred field must be present at the top-level of the response\n // message type.\n public get responseBody(): STRING {\n return this._responseBody;\n }\n\n public set responseBody(v: string) {\n this.__PrimitivesSetter(this._responseBody, v);\n }\n\n // Additional HTTP bindings for the selector. Nested bindings must\n // not contain an `additional_bindings` field themselves (that is,\n // the nesting may only be one level deep).\n public get additionalBindings(): ARRAY<HttpRule, IHttpRule> {\n return this._additionalBindings;\n }\n\n public set additionalBindings(v: IHttpRule[]) {\n this.__TypeSetter(this._additionalBindings, v);\n }\n\n fromLiteral(data: IHttpRule) {\n super.__fromLiteral(data);\n }\n\n toLiteral(): IHttpRule {\n return super.__toLiteral();\n }\n}\n\nRegistry.register('google.api.HttpRule', HttpRule);\n"]}