@opentdf/sdk 0.3.0 → 0.3.2-beta.1

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 (227) hide show
  1. package/dist/cjs/src/access/access-fetch.js +155 -0
  2. package/dist/cjs/src/access/access-rpc.js +131 -0
  3. package/dist/cjs/src/access.js +81 -107
  4. package/dist/cjs/src/auth/oidc.js +2 -2
  5. package/dist/cjs/src/nanotdf/Client.js +17 -13
  6. package/dist/cjs/src/nanotdf/models/Header.js +2 -2
  7. package/dist/cjs/src/nanotdf-crypto/keyAgreement.js +2 -2
  8. package/dist/cjs/src/opentdf.js +43 -9
  9. package/dist/cjs/src/platform/authorization/authorization_pb.js +138 -0
  10. package/dist/cjs/src/platform/buf/validate/validate_pb.js +410 -0
  11. package/dist/cjs/src/platform/common/common_pb.js +79 -0
  12. package/dist/cjs/src/platform/entityresolution/entity_resolution_pb.js +49 -0
  13. package/dist/cjs/src/platform/google/api/annotations_pb.js +30 -0
  14. package/dist/cjs/src/platform/google/api/http_pb.js +37 -0
  15. package/dist/cjs/src/platform/kas/kas_pb.js +96 -0
  16. package/dist/cjs/src/platform/policy/actions/actions_pb.js +70 -0
  17. package/dist/cjs/src/platform/policy/attributes/attributes_pb.js +240 -0
  18. package/dist/cjs/src/platform/policy/kasregistry/key_access_server_registry_pb.js +236 -0
  19. package/dist/cjs/src/platform/policy/keymanagement/key_management_pb.js +70 -0
  20. package/dist/cjs/src/platform/policy/namespaces/namespaces_pb.js +121 -0
  21. package/dist/cjs/src/platform/policy/objects_pb.js +395 -0
  22. package/dist/cjs/src/platform/policy/registeredresources/registered_resources_pb.js +132 -0
  23. package/dist/cjs/src/platform/policy/resourcemapping/resource_mapping_pb.js +139 -0
  24. package/dist/cjs/src/platform/policy/selectors_pb.js +67 -0
  25. package/dist/cjs/src/platform/policy/subjectmapping/subject_mapping_pb.js +146 -0
  26. package/dist/cjs/src/platform/policy/unsafe/unsafe_pb.js +124 -0
  27. package/dist/cjs/src/platform/protoc-gen-openapiv2/options/annotations_pb.js +68 -0
  28. package/dist/cjs/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.js +307 -0
  29. package/dist/cjs/src/platform/wellknownconfiguration/wellknown_configuration_pb.js +33 -0
  30. package/dist/cjs/src/platform.js +124 -0
  31. package/dist/cjs/src/policy/api.js +21 -38
  32. package/dist/cjs/src/policy/attributes.js +4 -1
  33. package/dist/cjs/src/policy/granter.js +9 -9
  34. package/dist/cjs/src/utils.js +31 -1
  35. package/dist/cjs/src/version.js +2 -2
  36. package/dist/cjs/tdf3/src/assertions.js +5 -5
  37. package/dist/cjs/tdf3/src/client/index.js +24 -18
  38. package/dist/cjs/tdf3/src/tdf.js +16 -10
  39. package/dist/types/src/access/access-fetch.d.ts +21 -0
  40. package/dist/types/src/access/access-fetch.d.ts.map +1 -0
  41. package/dist/types/src/access/access-rpc.d.ts +22 -0
  42. package/dist/types/src/access/access-rpc.d.ts.map +1 -0
  43. package/dist/types/src/access.d.ts +19 -11
  44. package/dist/types/src/access.d.ts.map +1 -1
  45. package/dist/types/src/nanotdf/Client.d.ts +3 -1
  46. package/dist/types/src/nanotdf/Client.d.ts.map +1 -1
  47. package/dist/types/src/opentdf.d.ts +5 -1
  48. package/dist/types/src/opentdf.d.ts.map +1 -1
  49. package/dist/types/src/platform/authorization/authorization_pb.d.ts +609 -0
  50. package/dist/types/src/platform/authorization/authorization_pb.d.ts.map +1 -0
  51. package/dist/types/src/platform/buf/validate/validate_pb.d.ts +4466 -0
  52. package/dist/types/src/platform/buf/validate/validate_pb.d.ts.map +1 -0
  53. package/dist/types/src/platform/common/common_pb.d.ts +112 -0
  54. package/dist/types/src/platform/common/common_pb.d.ts.map +1 -0
  55. package/dist/types/src/platform/entityresolution/entity_resolution_pb.d.ts +199 -0
  56. package/dist/types/src/platform/entityresolution/entity_resolution_pb.d.ts.map +1 -0
  57. package/dist/types/src/platform/google/api/annotations_pb.d.ts +14 -0
  58. package/dist/types/src/platform/google/api/annotations_pb.d.ts.map +1 -0
  59. package/dist/types/src/platform/google/api/http_pb.d.ts +441 -0
  60. package/dist/types/src/platform/google/api/http_pb.d.ts.map +1 -0
  61. package/dist/types/src/platform/kas/kas_pb.d.ts +404 -0
  62. package/dist/types/src/platform/kas/kas_pb.d.ts.map +1 -0
  63. package/dist/types/src/platform/policy/actions/actions_pb.d.ts +265 -0
  64. package/dist/types/src/platform/policy/actions/actions_pb.d.ts.map +1 -0
  65. package/dist/types/src/platform/policy/attributes/attributes_pb.d.ts +1022 -0
  66. package/dist/types/src/platform/policy/attributes/attributes_pb.d.ts.map +1 -0
  67. package/dist/types/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts +1306 -0
  68. package/dist/types/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts.map +1 -0
  69. package/dist/types/src/platform/policy/keymanagement/key_management_pb.d.ts +269 -0
  70. package/dist/types/src/platform/policy/keymanagement/key_management_pb.d.ts.map +1 -0
  71. package/dist/types/src/platform/policy/namespaces/namespaces_pb.d.ts +448 -0
  72. package/dist/types/src/platform/policy/namespaces/namespaces_pb.d.ts.map +1 -0
  73. package/dist/types/src/platform/policy/objects_pb.d.ts +1112 -0
  74. package/dist/types/src/platform/policy/objects_pb.d.ts.map +1 -0
  75. package/dist/types/src/platform/policy/registeredresources/registered_resources_pb.d.ts +539 -0
  76. package/dist/types/src/platform/policy/registeredresources/registered_resources_pb.d.ts.map +1 -0
  77. package/dist/types/src/platform/policy/resourcemapping/resource_mapping_pb.d.ts +558 -0
  78. package/dist/types/src/platform/policy/resourcemapping/resource_mapping_pb.d.ts.map +1 -0
  79. package/dist/types/src/platform/policy/selectors_pb.d.ts +221 -0
  80. package/dist/types/src/platform/policy/selectors_pb.d.ts.map +1 -0
  81. package/dist/types/src/platform/policy/subjectmapping/subject_mapping_pb.d.ts +582 -0
  82. package/dist/types/src/platform/policy/subjectmapping/subject_mapping_pb.d.ts.map +1 -0
  83. package/dist/types/src/platform/policy/unsafe/unsafe_pb.d.ts +513 -0
  84. package/dist/types/src/platform/policy/unsafe/unsafe_pb.d.ts.map +1 -0
  85. package/dist/types/src/platform/protoc-gen-openapiv2/options/annotations_pb.d.ts +62 -0
  86. package/dist/types/src/platform/protoc-gen-openapiv2/options/annotations_pb.d.ts.map +1 -0
  87. package/dist/types/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +1441 -0
  88. package/dist/types/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.d.ts.map +1 -0
  89. package/dist/types/src/platform/wellknownconfiguration/wellknown_configuration_pb.d.ts +59 -0
  90. package/dist/types/src/platform/wellknownconfiguration/wellknown_configuration_pb.d.ts.map +1 -0
  91. package/dist/types/src/platform.d.ts +49 -0
  92. package/dist/types/src/platform.d.ts.map +1 -0
  93. package/dist/types/src/policy/api.d.ts +1 -1
  94. package/dist/types/src/policy/api.d.ts.map +1 -1
  95. package/dist/types/src/policy/attributes.d.ts +10 -87
  96. package/dist/types/src/policy/attributes.d.ts.map +1 -1
  97. package/dist/types/src/policy/granter.d.ts.map +1 -1
  98. package/dist/types/src/utils.d.ts +10 -0
  99. package/dist/types/src/utils.d.ts.map +1 -1
  100. package/dist/types/src/version.d.ts +1 -1
  101. package/dist/types/tdf3/src/assertions.d.ts +1 -1
  102. package/dist/types/tdf3/src/assertions.d.ts.map +1 -1
  103. package/dist/types/tdf3/src/client/index.d.ts +8 -3
  104. package/dist/types/tdf3/src/client/index.d.ts.map +1 -1
  105. package/dist/types/tdf3/src/models/manifest.d.ts +1 -1
  106. package/dist/types/tdf3/src/models/manifest.d.ts.map +1 -1
  107. package/dist/types/tdf3/src/tdf.d.ts.map +1 -1
  108. package/dist/web/src/access/access-fetch.js +150 -0
  109. package/dist/web/src/access/access-rpc.js +125 -0
  110. package/dist/web/src/access.js +82 -110
  111. package/dist/web/src/auth/oidc.js +2 -2
  112. package/dist/web/src/nanotdf/Client.js +18 -14
  113. package/dist/web/src/nanotdf/models/Header.js +2 -2
  114. package/dist/web/src/nanotdf-crypto/keyAgreement.js +2 -2
  115. package/dist/web/src/opentdf.js +44 -10
  116. package/dist/web/src/platform/authorization/authorization_pb.js +135 -0
  117. package/dist/web/src/platform/buf/validate/validate_pb.js +407 -0
  118. package/dist/web/src/platform/common/common_pb.js +76 -0
  119. package/dist/web/src/platform/entityresolution/entity_resolution_pb.js +46 -0
  120. package/dist/web/src/platform/google/api/annotations_pb.js +27 -0
  121. package/dist/web/src/platform/google/api/http_pb.js +34 -0
  122. package/dist/web/src/platform/kas/kas_pb.js +93 -0
  123. package/dist/web/src/platform/policy/actions/actions_pb.js +67 -0
  124. package/dist/web/src/platform/policy/attributes/attributes_pb.js +237 -0
  125. package/dist/web/src/platform/policy/kasregistry/key_access_server_registry_pb.js +233 -0
  126. package/dist/web/src/platform/policy/keymanagement/key_management_pb.js +67 -0
  127. package/dist/web/src/platform/policy/namespaces/namespaces_pb.js +118 -0
  128. package/dist/web/src/platform/policy/objects_pb.js +392 -0
  129. package/dist/web/src/platform/policy/registeredresources/registered_resources_pb.js +129 -0
  130. package/dist/web/src/platform/policy/resourcemapping/resource_mapping_pb.js +136 -0
  131. package/dist/web/src/platform/policy/selectors_pb.js +64 -0
  132. package/dist/web/src/platform/policy/subjectmapping/subject_mapping_pb.js +143 -0
  133. package/dist/web/src/platform/policy/unsafe/unsafe_pb.js +121 -0
  134. package/dist/web/src/platform/protoc-gen-openapiv2/options/annotations_pb.js +65 -0
  135. package/dist/web/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.js +304 -0
  136. package/dist/web/src/platform/wellknownconfiguration/wellknown_configuration_pb.js +30 -0
  137. package/dist/web/src/platform.js +87 -0
  138. package/dist/web/src/policy/api.js +23 -40
  139. package/dist/web/src/policy/attributes.js +3 -2
  140. package/dist/web/src/policy/granter.js +9 -9
  141. package/dist/web/src/utils.js +29 -1
  142. package/dist/web/src/version.js +2 -2
  143. package/dist/web/tdf3/src/assertions.js +5 -5
  144. package/dist/web/tdf3/src/client/index.js +26 -20
  145. package/dist/web/tdf3/src/tdf.js +16 -10
  146. package/package.json +17 -1
  147. package/src/access/access-fetch.ts +202 -0
  148. package/src/access/access-rpc.ts +175 -0
  149. package/src/access.ts +113 -138
  150. package/src/auth/oidc.ts +1 -1
  151. package/src/nanotdf/Client.ts +28 -18
  152. package/src/nanotdf/models/Header.ts +1 -1
  153. package/src/nanotdf-crypto/keyAgreement.ts +1 -1
  154. package/src/opentdf.ts +67 -11
  155. package/src/platform/authorization/authorization_pb.ts +689 -0
  156. package/src/platform/buf/validate/validate_pb.ts +4626 -0
  157. package/src/platform/common/common_pb.ts +135 -0
  158. package/src/platform/entityresolution/entity_resolution_pb.ts +233 -0
  159. package/src/platform/google/api/annotations_pb.ts +39 -0
  160. package/src/platform/google/api/http_pb.ts +474 -0
  161. package/src/platform/kas/kas_pb.ts +484 -0
  162. package/src/platform/policy/actions/actions_pb.ts +312 -0
  163. package/src/platform/policy/attributes/attributes_pb.ts +1181 -0
  164. package/src/platform/policy/kasregistry/key_access_server_registry_pb.ts +1482 -0
  165. package/src/platform/policy/keymanagement/key_management_pb.ts +316 -0
  166. package/src/platform/policy/namespaces/namespaces_pb.ts +528 -0
  167. package/src/platform/policy/objects_pb.ts +1319 -0
  168. package/src/platform/policy/registeredresources/registered_resources_pb.ts +623 -0
  169. package/src/platform/policy/resourcemapping/resource_mapping_pb.ts +658 -0
  170. package/src/platform/policy/selectors_pb.ts +277 -0
  171. package/src/platform/policy/subjectmapping/subject_mapping_pb.ts +687 -0
  172. package/src/platform/policy/unsafe/unsafe_pb.ts +593 -0
  173. package/src/platform/protoc-gen-openapiv2/options/annotations_pb.ts +83 -0
  174. package/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.ts +1615 -0
  175. package/src/platform/wellknownconfiguration/wellknown_configuration_pb.ts +78 -0
  176. package/src/platform.ts +122 -0
  177. package/src/policy/api.ts +29 -42
  178. package/src/policy/attributes.ts +12 -108
  179. package/src/policy/granter.ts +7 -8
  180. package/src/utils.ts +30 -0
  181. package/src/version.ts +1 -1
  182. package/tdf3/src/assertions.ts +4 -4
  183. package/tdf3/src/client/index.ts +42 -19
  184. package/tdf3/src/models/manifest.ts +2 -1
  185. package/tdf3/src/tdf.ts +25 -16
  186. package/src/platform/authorization/authorization_connect.d.ts +0 -44
  187. package/src/platform/authorization/authorization_connect.js +0 -44
  188. package/src/platform/authorization/authorization_pb.d.ts +0 -707
  189. package/src/platform/authorization/authorization_pb.js +0 -372
  190. package/src/platform/common/common_pb.d.ts +0 -129
  191. package/src/platform/common/common_pb.js +0 -58
  192. package/src/platform/entityresolution/entity_resolution_connect.d.ts +0 -35
  193. package/src/platform/entityresolution/entity_resolution_connect.js +0 -35
  194. package/src/platform/entityresolution/entity_resolution_pb.d.ts +0 -242
  195. package/src/platform/entityresolution/entity_resolution_pb.js +0 -139
  196. package/src/platform/kas/kas_connect.d.ts +0 -59
  197. package/src/platform/kas/kas_connect.js +0 -59
  198. package/src/platform/kas/kas_pb.d.ts +0 -200
  199. package/src/platform/kas/kas_pb.js +0 -84
  200. package/src/platform/policy/attributes/attributes_connect.d.ts +0 -168
  201. package/src/platform/policy/attributes/attributes_connect.js +0 -168
  202. package/src/platform/policy/attributes/attributes_pb.d.ts +0 -929
  203. package/src/platform/policy/attributes/attributes_pb.js +0 -363
  204. package/src/platform/policy/kasregistry/key_access_server_registry_connect.d.ts +0 -62
  205. package/src/platform/policy/kasregistry/key_access_server_registry_connect.js +0 -62
  206. package/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts +0 -283
  207. package/src/platform/policy/kasregistry/key_access_server_registry_pb.js +0 -113
  208. package/src/platform/policy/namespaces/namespaces_connect.d.ts +0 -62
  209. package/src/platform/policy/namespaces/namespaces_connect.js +0 -62
  210. package/src/platform/policy/namespaces/namespaces_pb.d.ts +0 -270
  211. package/src/platform/policy/namespaces/namespaces_pb.js +0 -110
  212. package/src/platform/policy/objects_pb.d.ts +0 -725
  213. package/src/platform/policy/objects_pb.js +0 -288
  214. package/src/platform/policy/resourcemapping/resource_mapping_connect.d.ts +0 -259
  215. package/src/platform/policy/resourcemapping/resource_mapping_connect.js +0 -259
  216. package/src/platform/policy/resourcemapping/resource_mapping_pb.d.ts +0 -314
  217. package/src/platform/policy/resourcemapping/resource_mapping_pb.js +0 -142
  218. package/src/platform/policy/selectors_pb.d.ts +0 -269
  219. package/src/platform/policy/selectors_pb.js +0 -110
  220. package/src/platform/policy/subjectmapping/subject_mapping_connect.d.ts +0 -118
  221. package/src/platform/policy/subjectmapping/subject_mapping_connect.js +0 -118
  222. package/src/platform/policy/subjectmapping/subject_mapping_pb.d.ts +0 -672
  223. package/src/platform/policy/subjectmapping/subject_mapping_pb.js +0 -260
  224. package/src/platform/wellknownconfiguration/wellknown_configuration_connect.d.ts +0 -26
  225. package/src/platform/wellknownconfiguration/wellknown_configuration_connect.js +0 -26
  226. package/src/platform/wellknownconfiguration/wellknown_configuration_pb.d.ts +0 -75
  227. package/src/platform/wellknownconfiguration/wellknown_configuration_pb.js +0 -35
@@ -0,0 +1,593 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.js"
2
+ // @generated from file policy/unsafe/unsafe.proto (package policy.unsafe, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
6
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import { file_buf_validate_validate } from "../../buf/validate/validate_pb.js";
8
+ import { file_google_api_annotations } from "../../google/api/annotations_pb.js";
9
+ import type { Attribute, AttributeRuleTypeEnum, Key, Namespace, Value } from "../objects_pb.js";
10
+ import { file_policy_objects } from "../objects_pb.js";
11
+ import type { Message } from "@bufbuild/protobuf";
12
+
13
+ /**
14
+ * Describes the file policy/unsafe/unsafe.proto.
15
+ */
16
+ export const file_policy_unsafe_unsafe: GenFile = /*@__PURE__*/
17
+ fileDesc("Chpwb2xpY3kvdW5zYWZlL3Vuc2FmZS5wcm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HRyaWJ1dGVWYWx1ZRIwLnBvbGljeS51bnNhZmUuVW5zYWZlRGVsZXRlQXR0cmlidXRlVmFsdWVSZXF1ZXN0GjEucG9saWN5LnVuc2FmZS5VbnNhZmVEZWxldGVBdHRyaWJ1dGVWYWx1ZVJlc3BvbnNlIiaC0+STAiAqHi91bnNhZmUvYXR0cmlidXRlcy92YWx1ZXMve2lkfRJrChJVbnNhZmVEZWxldGVLYXNLZXkSKC5wb2xpY3kudW5zYWZlLlVuc2FmZURlbGV0ZUthc0tleVJlcXVlc3QaKS5wb2xpY3kudW5zYWZlLlVuc2FmZURlbGV0ZUthc0tleVJlc3BvbnNlIgBiBnByb3RvMw", [file_buf_validate_validate, file_google_api_annotations, file_policy_objects]);
18
+
19
+ /**
20
+ * WARNING!!
21
+ * Updating the Namespace of an Attribute will retroactively alter access to existing TDFs of the old and new Namespace name.
22
+ * Existing Attribute Definitions and their Values under the Namespace will now be associated with the new Namespace name.
23
+ *
24
+ * @generated from message policy.unsafe.UnsafeUpdateNamespaceRequest
25
+ */
26
+ export type UnsafeUpdateNamespaceRequest = Message<"policy.unsafe.UnsafeUpdateNamespaceRequest"> & {
27
+ /**
28
+ * Required
29
+ *
30
+ * @generated from field: string id = 1;
31
+ */
32
+ id: string;
33
+
34
+ /**
35
+ * Required
36
+ *
37
+ * @generated from field: string name = 2;
38
+ */
39
+ name: string;
40
+ };
41
+
42
+ /**
43
+ * Describes the message policy.unsafe.UnsafeUpdateNamespaceRequest.
44
+ * Use `create(UnsafeUpdateNamespaceRequestSchema)` to create a new message.
45
+ */
46
+ export const UnsafeUpdateNamespaceRequestSchema: GenMessage<UnsafeUpdateNamespaceRequest> = /*@__PURE__*/
47
+ messageDesc(file_policy_unsafe_unsafe, 0);
48
+
49
+ /**
50
+ * @generated from message policy.unsafe.UnsafeUpdateNamespaceResponse
51
+ */
52
+ export type UnsafeUpdateNamespaceResponse = Message<"policy.unsafe.UnsafeUpdateNamespaceResponse"> & {
53
+ /**
54
+ * @generated from field: policy.Namespace namespace = 1;
55
+ */
56
+ namespace?: Namespace;
57
+ };
58
+
59
+ /**
60
+ * Describes the message policy.unsafe.UnsafeUpdateNamespaceResponse.
61
+ * Use `create(UnsafeUpdateNamespaceResponseSchema)` to create a new message.
62
+ */
63
+ export const UnsafeUpdateNamespaceResponseSchema: GenMessage<UnsafeUpdateNamespaceResponse> = /*@__PURE__*/
64
+ messageDesc(file_policy_unsafe_unsafe, 1);
65
+
66
+ /**
67
+ * WARNING!!
68
+ * Reactivating a Namespace can potentially open up an access path to existing TDFs containing any Attributes under the Namespace.
69
+ * Active state of any Definitions and their Values under this Namespace will NOT be changed.
70
+ *
71
+ * @generated from message policy.unsafe.UnsafeReactivateNamespaceRequest
72
+ */
73
+ export type UnsafeReactivateNamespaceRequest = Message<"policy.unsafe.UnsafeReactivateNamespaceRequest"> & {
74
+ /**
75
+ * Required
76
+ *
77
+ * @generated from field: string id = 1;
78
+ */
79
+ id: string;
80
+ };
81
+
82
+ /**
83
+ * Describes the message policy.unsafe.UnsafeReactivateNamespaceRequest.
84
+ * Use `create(UnsafeReactivateNamespaceRequestSchema)` to create a new message.
85
+ */
86
+ export const UnsafeReactivateNamespaceRequestSchema: GenMessage<UnsafeReactivateNamespaceRequest> = /*@__PURE__*/
87
+ messageDesc(file_policy_unsafe_unsafe, 2);
88
+
89
+ /**
90
+ * @generated from message policy.unsafe.UnsafeReactivateNamespaceResponse
91
+ */
92
+ export type UnsafeReactivateNamespaceResponse = Message<"policy.unsafe.UnsafeReactivateNamespaceResponse"> & {
93
+ /**
94
+ * @generated from field: policy.Namespace namespace = 1;
95
+ */
96
+ namespace?: Namespace;
97
+ };
98
+
99
+ /**
100
+ * Describes the message policy.unsafe.UnsafeReactivateNamespaceResponse.
101
+ * Use `create(UnsafeReactivateNamespaceResponseSchema)` to create a new message.
102
+ */
103
+ export const UnsafeReactivateNamespaceResponseSchema: GenMessage<UnsafeReactivateNamespaceResponse> = /*@__PURE__*/
104
+ messageDesc(file_policy_unsafe_unsafe, 3);
105
+
106
+ /**
107
+ * WARNING!!
108
+ * Deleting a Namespace will free up the Attribute Namespace, Definitions, and Values for reuse, which can introduce an access path to existing TDFs containing the deleted policy.
109
+ * Definitions and their Values under this Namespace will be cascadingly deleted.
110
+ *
111
+ * @generated from message policy.unsafe.UnsafeDeleteNamespaceRequest
112
+ */
113
+ export type UnsafeDeleteNamespaceRequest = Message<"policy.unsafe.UnsafeDeleteNamespaceRequest"> & {
114
+ /**
115
+ * Required
116
+ * UUID of the Namespace
117
+ *
118
+ * @generated from field: string id = 1;
119
+ */
120
+ id: string;
121
+
122
+ /**
123
+ * Required
124
+ * Fully Qualified Name (FQN) of Namespace (i.e. https://<namespace>), normalized to lower case.
125
+ *
126
+ * @generated from field: string fqn = 2;
127
+ */
128
+ fqn: string;
129
+ };
130
+
131
+ /**
132
+ * Describes the message policy.unsafe.UnsafeDeleteNamespaceRequest.
133
+ * Use `create(UnsafeDeleteNamespaceRequestSchema)` to create a new message.
134
+ */
135
+ export const UnsafeDeleteNamespaceRequestSchema: GenMessage<UnsafeDeleteNamespaceRequest> = /*@__PURE__*/
136
+ messageDesc(file_policy_unsafe_unsafe, 4);
137
+
138
+ /**
139
+ * @generated from message policy.unsafe.UnsafeDeleteNamespaceResponse
140
+ */
141
+ export type UnsafeDeleteNamespaceResponse = Message<"policy.unsafe.UnsafeDeleteNamespaceResponse"> & {
142
+ /**
143
+ * @generated from field: policy.Namespace namespace = 1;
144
+ */
145
+ namespace?: Namespace;
146
+ };
147
+
148
+ /**
149
+ * Describes the message policy.unsafe.UnsafeDeleteNamespaceResponse.
150
+ * Use `create(UnsafeDeleteNamespaceResponseSchema)` to create a new message.
151
+ */
152
+ export const UnsafeDeleteNamespaceResponseSchema: GenMessage<UnsafeDeleteNamespaceResponse> = /*@__PURE__*/
153
+ messageDesc(file_policy_unsafe_unsafe, 5);
154
+
155
+ /**
156
+ * WARNING!!
157
+ * Updating an Attribute can have dangerous consequences. Use with caution.
158
+ *
159
+ * @generated from message policy.unsafe.UnsafeUpdateAttributeRequest
160
+ */
161
+ export type UnsafeUpdateAttributeRequest = Message<"policy.unsafe.UnsafeUpdateAttributeRequest"> & {
162
+ /**
163
+ * Required
164
+ *
165
+ * @generated from field: string id = 1;
166
+ */
167
+ id: string;
168
+
169
+ /**
170
+ * Optional
171
+ * WARNING!!
172
+ * Updating the name of an Attribute will retroactively alter access to existing TDFs of the old and new Attribute name.
173
+ *
174
+ * @generated from field: string name = 2;
175
+ */
176
+ name: string;
177
+
178
+ /**
179
+ * Optional
180
+ * WARNING!!
181
+ * Updating the rule of an Attribute will retroactively alter access to existing TDFs of the Attribute name.
182
+ *
183
+ * @generated from field: policy.AttributeRuleTypeEnum rule = 3;
184
+ */
185
+ rule: AttributeRuleTypeEnum;
186
+
187
+ /**
188
+ * Optional
189
+ * WARNING!!
190
+ * Unsafe reordering requires the full list of values in the new order they should be stored. Updating the order of values in a HIERARCHY-rule Attribute Definition
191
+ * will retroactively alter access to existing TDFs containing those values. Replacing values on an attribute in place is not supported; values can be unsafely deleted
192
+ * deleted, created, and unsafely re-ordered as necessary.
193
+ *
194
+ * @generated from field: repeated string values_order = 4;
195
+ */
196
+ valuesOrder: string[];
197
+ };
198
+
199
+ /**
200
+ * Describes the message policy.unsafe.UnsafeUpdateAttributeRequest.
201
+ * Use `create(UnsafeUpdateAttributeRequestSchema)` to create a new message.
202
+ */
203
+ export const UnsafeUpdateAttributeRequestSchema: GenMessage<UnsafeUpdateAttributeRequest> = /*@__PURE__*/
204
+ messageDesc(file_policy_unsafe_unsafe, 6);
205
+
206
+ /**
207
+ * @generated from message policy.unsafe.UnsafeUpdateAttributeResponse
208
+ */
209
+ export type UnsafeUpdateAttributeResponse = Message<"policy.unsafe.UnsafeUpdateAttributeResponse"> & {
210
+ /**
211
+ * @generated from field: policy.Attribute attribute = 1;
212
+ */
213
+ attribute?: Attribute;
214
+ };
215
+
216
+ /**
217
+ * Describes the message policy.unsafe.UnsafeUpdateAttributeResponse.
218
+ * Use `create(UnsafeUpdateAttributeResponseSchema)` to create a new message.
219
+ */
220
+ export const UnsafeUpdateAttributeResponseSchema: GenMessage<UnsafeUpdateAttributeResponse> = /*@__PURE__*/
221
+ messageDesc(file_policy_unsafe_unsafe, 7);
222
+
223
+ /**
224
+ * WARNING!!
225
+ * Reactivating an Attribute can potentially open up an access path to existing TDFs containing the Attribute name.
226
+ * Active state of any Values under this Attribute Definition will NOT be changed.
227
+ *
228
+ * @generated from message policy.unsafe.UnsafeReactivateAttributeRequest
229
+ */
230
+ export type UnsafeReactivateAttributeRequest = Message<"policy.unsafe.UnsafeReactivateAttributeRequest"> & {
231
+ /**
232
+ * Required
233
+ *
234
+ * @generated from field: string id = 1;
235
+ */
236
+ id: string;
237
+ };
238
+
239
+ /**
240
+ * Describes the message policy.unsafe.UnsafeReactivateAttributeRequest.
241
+ * Use `create(UnsafeReactivateAttributeRequestSchema)` to create a new message.
242
+ */
243
+ export const UnsafeReactivateAttributeRequestSchema: GenMessage<UnsafeReactivateAttributeRequest> = /*@__PURE__*/
244
+ messageDesc(file_policy_unsafe_unsafe, 8);
245
+
246
+ /**
247
+ * @generated from message policy.unsafe.UnsafeReactivateAttributeResponse
248
+ */
249
+ export type UnsafeReactivateAttributeResponse = Message<"policy.unsafe.UnsafeReactivateAttributeResponse"> & {
250
+ /**
251
+ * @generated from field: policy.Attribute attribute = 1;
252
+ */
253
+ attribute?: Attribute;
254
+ };
255
+
256
+ /**
257
+ * Describes the message policy.unsafe.UnsafeReactivateAttributeResponse.
258
+ * Use `create(UnsafeReactivateAttributeResponseSchema)` to create a new message.
259
+ */
260
+ export const UnsafeReactivateAttributeResponseSchema: GenMessage<UnsafeReactivateAttributeResponse> = /*@__PURE__*/
261
+ messageDesc(file_policy_unsafe_unsafe, 9);
262
+
263
+ /**
264
+ * WARNING!!
265
+ * Deleting an Attribute will free up the Attribute name for reuse, which can introduce an access path to existing TDFs containing the deleted Attribute name.
266
+ * Values under this Attribute will be cascadingly deleted.
267
+ * Any KAS Grants associated with this Attribute will be cascadingly deleted.
268
+ *
269
+ * @generated from message policy.unsafe.UnsafeDeleteAttributeRequest
270
+ */
271
+ export type UnsafeDeleteAttributeRequest = Message<"policy.unsafe.UnsafeDeleteAttributeRequest"> & {
272
+ /**
273
+ * Required
274
+ * UUID of the Attribute
275
+ *
276
+ * @generated from field: string id = 1;
277
+ */
278
+ id: string;
279
+
280
+ /**
281
+ * Required
282
+ * Fully Qualified Name (FQN) of Attribute Definition (i.e. https://<namespace>/attr/<attribute name>), normalized to lower case.
283
+ *
284
+ * @generated from field: string fqn = 2;
285
+ */
286
+ fqn: string;
287
+ };
288
+
289
+ /**
290
+ * Describes the message policy.unsafe.UnsafeDeleteAttributeRequest.
291
+ * Use `create(UnsafeDeleteAttributeRequestSchema)` to create a new message.
292
+ */
293
+ export const UnsafeDeleteAttributeRequestSchema: GenMessage<UnsafeDeleteAttributeRequest> = /*@__PURE__*/
294
+ messageDesc(file_policy_unsafe_unsafe, 10);
295
+
296
+ /**
297
+ * @generated from message policy.unsafe.UnsafeDeleteAttributeResponse
298
+ */
299
+ export type UnsafeDeleteAttributeResponse = Message<"policy.unsafe.UnsafeDeleteAttributeResponse"> & {
300
+ /**
301
+ * @generated from field: policy.Attribute attribute = 1;
302
+ */
303
+ attribute?: Attribute;
304
+ };
305
+
306
+ /**
307
+ * Describes the message policy.unsafe.UnsafeDeleteAttributeResponse.
308
+ * Use `create(UnsafeDeleteAttributeResponseSchema)` to create a new message.
309
+ */
310
+ export const UnsafeDeleteAttributeResponseSchema: GenMessage<UnsafeDeleteAttributeResponse> = /*@__PURE__*/
311
+ messageDesc(file_policy_unsafe_unsafe, 11);
312
+
313
+ /**
314
+ * WARNING!!
315
+ * Updating an Attribute Value will retroactively alter access to existing TDFs containing the old and new Attribute Value.
316
+ *
317
+ * @generated from message policy.unsafe.UnsafeUpdateAttributeValueRequest
318
+ */
319
+ export type UnsafeUpdateAttributeValueRequest = Message<"policy.unsafe.UnsafeUpdateAttributeValueRequest"> & {
320
+ /**
321
+ * Required
322
+ *
323
+ * @generated from field: string id = 1;
324
+ */
325
+ id: string;
326
+
327
+ /**
328
+ * Required
329
+ *
330
+ * @generated from field: string value = 2;
331
+ */
332
+ value: string;
333
+ };
334
+
335
+ /**
336
+ * Describes the message policy.unsafe.UnsafeUpdateAttributeValueRequest.
337
+ * Use `create(UnsafeUpdateAttributeValueRequestSchema)` to create a new message.
338
+ */
339
+ export const UnsafeUpdateAttributeValueRequestSchema: GenMessage<UnsafeUpdateAttributeValueRequest> = /*@__PURE__*/
340
+ messageDesc(file_policy_unsafe_unsafe, 12);
341
+
342
+ /**
343
+ * @generated from message policy.unsafe.UnsafeUpdateAttributeValueResponse
344
+ */
345
+ export type UnsafeUpdateAttributeValueResponse = Message<"policy.unsafe.UnsafeUpdateAttributeValueResponse"> & {
346
+ /**
347
+ * @generated from field: policy.Value value = 1;
348
+ */
349
+ value?: Value;
350
+ };
351
+
352
+ /**
353
+ * Describes the message policy.unsafe.UnsafeUpdateAttributeValueResponse.
354
+ * Use `create(UnsafeUpdateAttributeValueResponseSchema)` to create a new message.
355
+ */
356
+ export const UnsafeUpdateAttributeValueResponseSchema: GenMessage<UnsafeUpdateAttributeValueResponse> = /*@__PURE__*/
357
+ messageDesc(file_policy_unsafe_unsafe, 13);
358
+
359
+ /**
360
+ * WARNING!!
361
+ * Reactivating an Attribute Value can potentially open up an access path to existing TDFs containing the Attribute Value.
362
+ *
363
+ * @generated from message policy.unsafe.UnsafeReactivateAttributeValueRequest
364
+ */
365
+ export type UnsafeReactivateAttributeValueRequest = Message<"policy.unsafe.UnsafeReactivateAttributeValueRequest"> & {
366
+ /**
367
+ * Required
368
+ *
369
+ * @generated from field: string id = 1;
370
+ */
371
+ id: string;
372
+ };
373
+
374
+ /**
375
+ * Describes the message policy.unsafe.UnsafeReactivateAttributeValueRequest.
376
+ * Use `create(UnsafeReactivateAttributeValueRequestSchema)` to create a new message.
377
+ */
378
+ export const UnsafeReactivateAttributeValueRequestSchema: GenMessage<UnsafeReactivateAttributeValueRequest> = /*@__PURE__*/
379
+ messageDesc(file_policy_unsafe_unsafe, 14);
380
+
381
+ /**
382
+ * @generated from message policy.unsafe.UnsafeReactivateAttributeValueResponse
383
+ */
384
+ export type UnsafeReactivateAttributeValueResponse = Message<"policy.unsafe.UnsafeReactivateAttributeValueResponse"> & {
385
+ /**
386
+ * @generated from field: policy.Value value = 1;
387
+ */
388
+ value?: Value;
389
+ };
390
+
391
+ /**
392
+ * Describes the message policy.unsafe.UnsafeReactivateAttributeValueResponse.
393
+ * Use `create(UnsafeReactivateAttributeValueResponseSchema)` to create a new message.
394
+ */
395
+ export const UnsafeReactivateAttributeValueResponseSchema: GenMessage<UnsafeReactivateAttributeValueResponse> = /*@__PURE__*/
396
+ messageDesc(file_policy_unsafe_unsafe, 15);
397
+
398
+ /**
399
+ * WARNING!!
400
+ * Deleting an Attribute Value will free up the Attribute Value for reuse, which can introduce an access path to existing TDFs containing the deleted Attribute Value.
401
+ * Any KAS Grants associated with this Attribute Value will be cascadingly deleted.
402
+ *
403
+ * @generated from message policy.unsafe.UnsafeDeleteAttributeValueRequest
404
+ */
405
+ export type UnsafeDeleteAttributeValueRequest = Message<"policy.unsafe.UnsafeDeleteAttributeValueRequest"> & {
406
+ /**
407
+ * Required
408
+ * UUID of the Attribute Value
409
+ *
410
+ * @generated from field: string id = 1;
411
+ */
412
+ id: string;
413
+
414
+ /**
415
+ * Required
416
+ * Fully Qualified Name (FQN) of Attribute Value (i.e. https://<namespace>/attr/<attribute name>/value/<value>), normalized to lower case.
417
+ *
418
+ * @generated from field: string fqn = 2;
419
+ */
420
+ fqn: string;
421
+ };
422
+
423
+ /**
424
+ * Describes the message policy.unsafe.UnsafeDeleteAttributeValueRequest.
425
+ * Use `create(UnsafeDeleteAttributeValueRequestSchema)` to create a new message.
426
+ */
427
+ export const UnsafeDeleteAttributeValueRequestSchema: GenMessage<UnsafeDeleteAttributeValueRequest> = /*@__PURE__*/
428
+ messageDesc(file_policy_unsafe_unsafe, 16);
429
+
430
+ /**
431
+ * @generated from message policy.unsafe.UnsafeDeleteAttributeValueResponse
432
+ */
433
+ export type UnsafeDeleteAttributeValueResponse = Message<"policy.unsafe.UnsafeDeleteAttributeValueResponse"> & {
434
+ /**
435
+ * @generated from field: policy.Value value = 1;
436
+ */
437
+ value?: Value;
438
+ };
439
+
440
+ /**
441
+ * Describes the message policy.unsafe.UnsafeDeleteAttributeValueResponse.
442
+ * Use `create(UnsafeDeleteAttributeValueResponseSchema)` to create a new message.
443
+ */
444
+ export const UnsafeDeleteAttributeValueResponseSchema: GenMessage<UnsafeDeleteAttributeValueResponse> = /*@__PURE__*/
445
+ messageDesc(file_policy_unsafe_unsafe, 17);
446
+
447
+ /**
448
+ * WARNING!!
449
+ *
450
+ * @generated from message policy.unsafe.UnsafeDeleteKasKeyRequest
451
+ */
452
+ export type UnsafeDeleteKasKeyRequest = Message<"policy.unsafe.UnsafeDeleteKasKeyRequest"> & {
453
+ /**
454
+ * Required
455
+ * UUID of the Key
456
+ *
457
+ * @generated from field: string id = 1;
458
+ */
459
+ id: string;
460
+ };
461
+
462
+ /**
463
+ * Describes the message policy.unsafe.UnsafeDeleteKasKeyRequest.
464
+ * Use `create(UnsafeDeleteKasKeyRequestSchema)` to create a new message.
465
+ */
466
+ export const UnsafeDeleteKasKeyRequestSchema: GenMessage<UnsafeDeleteKasKeyRequest> = /*@__PURE__*/
467
+ messageDesc(file_policy_unsafe_unsafe, 18);
468
+
469
+ /**
470
+ * @generated from message policy.unsafe.UnsafeDeleteKasKeyResponse
471
+ */
472
+ export type UnsafeDeleteKasKeyResponse = Message<"policy.unsafe.UnsafeDeleteKasKeyResponse"> & {
473
+ /**
474
+ * @generated from field: policy.Key key = 1;
475
+ */
476
+ key?: Key;
477
+ };
478
+
479
+ /**
480
+ * Describes the message policy.unsafe.UnsafeDeleteKasKeyResponse.
481
+ * Use `create(UnsafeDeleteKasKeyResponseSchema)` to create a new message.
482
+ */
483
+ export const UnsafeDeleteKasKeyResponseSchema: GenMessage<UnsafeDeleteKasKeyResponse> = /*@__PURE__*/
484
+ messageDesc(file_policy_unsafe_unsafe, 19);
485
+
486
+ /**
487
+ * /
488
+ * / Unsafe Service
489
+ * / IN FLIGHT AND NOT YET IMPLEMENTED!
490
+ * /
491
+ *
492
+ * @generated from service policy.unsafe.UnsafeService
493
+ */
494
+ export const UnsafeService: GenService<{
495
+ /**
496
+ * --------------------------------------*
497
+ * Namespace RPCs
498
+ * ---------------------------------------
499
+ *
500
+ * @generated from rpc policy.unsafe.UnsafeService.UnsafeUpdateNamespace
501
+ */
502
+ unsafeUpdateNamespace: {
503
+ methodKind: "unary";
504
+ input: typeof UnsafeUpdateNamespaceRequestSchema;
505
+ output: typeof UnsafeUpdateNamespaceResponseSchema;
506
+ },
507
+ /**
508
+ * @generated from rpc policy.unsafe.UnsafeService.UnsafeReactivateNamespace
509
+ */
510
+ unsafeReactivateNamespace: {
511
+ methodKind: "unary";
512
+ input: typeof UnsafeReactivateNamespaceRequestSchema;
513
+ output: typeof UnsafeReactivateNamespaceResponseSchema;
514
+ },
515
+ /**
516
+ * @generated from rpc policy.unsafe.UnsafeService.UnsafeDeleteNamespace
517
+ */
518
+ unsafeDeleteNamespace: {
519
+ methodKind: "unary";
520
+ input: typeof UnsafeDeleteNamespaceRequestSchema;
521
+ output: typeof UnsafeDeleteNamespaceResponseSchema;
522
+ },
523
+ /**
524
+ * --------------------------------------*
525
+ * Attribute RPCs
526
+ * ---------------------------------------
527
+ *
528
+ * @generated from rpc policy.unsafe.UnsafeService.UnsafeUpdateAttribute
529
+ */
530
+ unsafeUpdateAttribute: {
531
+ methodKind: "unary";
532
+ input: typeof UnsafeUpdateAttributeRequestSchema;
533
+ output: typeof UnsafeUpdateAttributeResponseSchema;
534
+ },
535
+ /**
536
+ * @generated from rpc policy.unsafe.UnsafeService.UnsafeReactivateAttribute
537
+ */
538
+ unsafeReactivateAttribute: {
539
+ methodKind: "unary";
540
+ input: typeof UnsafeReactivateAttributeRequestSchema;
541
+ output: typeof UnsafeReactivateAttributeResponseSchema;
542
+ },
543
+ /**
544
+ * @generated from rpc policy.unsafe.UnsafeService.UnsafeDeleteAttribute
545
+ */
546
+ unsafeDeleteAttribute: {
547
+ methodKind: "unary";
548
+ input: typeof UnsafeDeleteAttributeRequestSchema;
549
+ output: typeof UnsafeDeleteAttributeResponseSchema;
550
+ },
551
+ /**
552
+ * --------------------------------------*
553
+ * Value RPCs
554
+ * ---------------------------------------
555
+ *
556
+ * @generated from rpc policy.unsafe.UnsafeService.UnsafeUpdateAttributeValue
557
+ */
558
+ unsafeUpdateAttributeValue: {
559
+ methodKind: "unary";
560
+ input: typeof UnsafeUpdateAttributeValueRequestSchema;
561
+ output: typeof UnsafeUpdateAttributeValueResponseSchema;
562
+ },
563
+ /**
564
+ * @generated from rpc policy.unsafe.UnsafeService.UnsafeReactivateAttributeValue
565
+ */
566
+ unsafeReactivateAttributeValue: {
567
+ methodKind: "unary";
568
+ input: typeof UnsafeReactivateAttributeValueRequestSchema;
569
+ output: typeof UnsafeReactivateAttributeValueResponseSchema;
570
+ },
571
+ /**
572
+ * @generated from rpc policy.unsafe.UnsafeService.UnsafeDeleteAttributeValue
573
+ */
574
+ unsafeDeleteAttributeValue: {
575
+ methodKind: "unary";
576
+ input: typeof UnsafeDeleteAttributeValueRequestSchema;
577
+ output: typeof UnsafeDeleteAttributeValueResponseSchema;
578
+ },
579
+ /**
580
+ * --------------------------------------*
581
+ * Kas Key RPCs
582
+ * ---------------------------------------
583
+ *
584
+ * @generated from rpc policy.unsafe.UnsafeService.UnsafeDeleteKasKey
585
+ */
586
+ unsafeDeleteKasKey: {
587
+ methodKind: "unary";
588
+ input: typeof UnsafeDeleteKasKeyRequestSchema;
589
+ output: typeof UnsafeDeleteKasKeyResponseSchema;
590
+ },
591
+ }> = /*@__PURE__*/
592
+ serviceDesc(file_policy_unsafe_unsafe, 0);
593
+
@@ -0,0 +1,83 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.js"
2
+ // @generated from file protoc-gen-openapiv2/options/annotations.proto (package grpc.gateway.protoc_gen_openapiv2.options, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenExtension, GenFile } from "@bufbuild/protobuf/codegenv1";
6
+ import { extDesc, fileDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import type { EnumOptions, FieldOptions, FileOptions, MessageOptions, MethodOptions, ServiceOptions } from "@bufbuild/protobuf/wkt";
8
+ import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
9
+ import type { EnumSchema, JSONSchema, Operation, Schema, Swagger, Tag } from "./openapiv2_pb.js";
10
+ import { file_protoc_gen_openapiv2_options_openapiv2 } from "./openapiv2_pb.js";
11
+
12
+ /**
13
+ * Describes the file protoc-gen-openapiv2/options/annotations.proto.
14
+ */
15
+ export const file_protoc_gen_openapiv2_options_annotations: GenFile = /*@__PURE__*/
16
+ fileDesc("Ci5wcm90b2MtZ2VuLW9wZW5hcGl2Mi9vcHRpb25zL2Fubm90YXRpb25zLnByb3RvEilncnBjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9uczp+ChFvcGVuYXBpdjJfc3dhZ2dlchIcLmdvb2dsZS5wcm90b2J1Zi5GaWxlT3B0aW9ucxiSCCABKAsyMi5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5Td2FnZ2VyUhBvcGVuYXBpdjJTd2FnZ2VyOoYBChNvcGVuYXBpdjJfb3BlcmF0aW9uEh4uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMYkgggASgLMjQuZ3JwYy5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9wdGlvbnMuT3BlcmF0aW9uUhJvcGVuYXBpdjJPcGVyYXRpb246fgoQb3BlbmFwaXYyX3NjaGVtYRIfLmdvb2dsZS5wcm90b2J1Zi5NZXNzYWdlT3B0aW9ucxiSCCABKAsyMS5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5TY2hlbWFSD29wZW5hcGl2MlNjaGVtYTp7Cg5vcGVuYXBpdjJfZW51bRIcLmdvb2dsZS5wcm90b2J1Zi5FbnVtT3B0aW9ucxiSCCABKAsyNS5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5FbnVtU2NoZW1hUg1vcGVuYXBpdjJFbnVtOnUKDW9wZW5hcGl2Ml90YWcSHy5nb29nbGUucHJvdG9idWYuU2VydmljZU9wdGlvbnMYkgggASgLMi4uZ3JwYy5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9wdGlvbnMuVGFnUgxvcGVuYXBpdjJUYWc6fgoPb3BlbmFwaXYyX2ZpZWxkEh0uZ29vZ2xlLnByb3RvYnVmLkZpZWxkT3B0aW9ucxiSCCABKAsyNS5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5KU09OU2NoZW1hUg5vcGVuYXBpdjJGaWVsZEJIWkZnaXRodWIuY29tL2dycGMtZWNvc3lzdGVtL2dycGMtZ2F0ZXdheS92Mi9wcm90b2MtZ2VuLW9wZW5hcGl2Mi9vcHRpb25zYgZwcm90bzM", [file_google_protobuf_descriptor, file_protoc_gen_openapiv2_options_openapiv2]);
17
+
18
+ /**
19
+ * ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project.
20
+ *
21
+ * All IDs are the same, as assigned. It is okay that they are the same, as they extend
22
+ * different descriptor messages.
23
+ *
24
+ * @generated from extension: grpc.gateway.protoc_gen_openapiv2.options.Swagger openapiv2_swagger = 1042;
25
+ */
26
+ export const openapiv2_swagger: GenExtension<FileOptions, Swagger> = /*@__PURE__*/
27
+ extDesc(file_protoc_gen_openapiv2_options_annotations, 0);
28
+
29
+ /**
30
+ * ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project.
31
+ *
32
+ * All IDs are the same, as assigned. It is okay that they are the same, as they extend
33
+ * different descriptor messages.
34
+ *
35
+ * @generated from extension: grpc.gateway.protoc_gen_openapiv2.options.Operation openapiv2_operation = 1042;
36
+ */
37
+ export const openapiv2_operation: GenExtension<MethodOptions, Operation> = /*@__PURE__*/
38
+ extDesc(file_protoc_gen_openapiv2_options_annotations, 1);
39
+
40
+ /**
41
+ * ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project.
42
+ *
43
+ * All IDs are the same, as assigned. It is okay that they are the same, as they extend
44
+ * different descriptor messages.
45
+ *
46
+ * @generated from extension: grpc.gateway.protoc_gen_openapiv2.options.Schema openapiv2_schema = 1042;
47
+ */
48
+ export const openapiv2_schema: GenExtension<MessageOptions, Schema> = /*@__PURE__*/
49
+ extDesc(file_protoc_gen_openapiv2_options_annotations, 2);
50
+
51
+ /**
52
+ * ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project.
53
+ *
54
+ * All IDs are the same, as assigned. It is okay that they are the same, as they extend
55
+ * different descriptor messages.
56
+ *
57
+ * @generated from extension: grpc.gateway.protoc_gen_openapiv2.options.EnumSchema openapiv2_enum = 1042;
58
+ */
59
+ export const openapiv2_enum: GenExtension<EnumOptions, EnumSchema> = /*@__PURE__*/
60
+ extDesc(file_protoc_gen_openapiv2_options_annotations, 3);
61
+
62
+ /**
63
+ * ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project.
64
+ *
65
+ * All IDs are the same, as assigned. It is okay that they are the same, as they extend
66
+ * different descriptor messages.
67
+ *
68
+ * @generated from extension: grpc.gateway.protoc_gen_openapiv2.options.Tag openapiv2_tag = 1042;
69
+ */
70
+ export const openapiv2_tag: GenExtension<ServiceOptions, Tag> = /*@__PURE__*/
71
+ extDesc(file_protoc_gen_openapiv2_options_annotations, 4);
72
+
73
+ /**
74
+ * ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project.
75
+ *
76
+ * All IDs are the same, as assigned. It is okay that they are the same, as they extend
77
+ * different descriptor messages.
78
+ *
79
+ * @generated from extension: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema openapiv2_field = 1042;
80
+ */
81
+ export const openapiv2_field: GenExtension<FieldOptions, JSONSchema> = /*@__PURE__*/
82
+ extDesc(file_protoc_gen_openapiv2_options_annotations, 5);
83
+