@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,513 @@
1
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
2
+ import type { Attribute, AttributeRuleTypeEnum, Key, Namespace, Value } from "../objects_pb.js";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file policy/unsafe/unsafe.proto.
6
+ */
7
+ export declare const file_policy_unsafe_unsafe: GenFile;
8
+ /**
9
+ * WARNING!!
10
+ * Updating the Namespace of an Attribute will retroactively alter access to existing TDFs of the old and new Namespace name.
11
+ * Existing Attribute Definitions and their Values under the Namespace will now be associated with the new Namespace name.
12
+ *
13
+ * @generated from message policy.unsafe.UnsafeUpdateNamespaceRequest
14
+ */
15
+ export type UnsafeUpdateNamespaceRequest = Message<"policy.unsafe.UnsafeUpdateNamespaceRequest"> & {
16
+ /**
17
+ * Required
18
+ *
19
+ * @generated from field: string id = 1;
20
+ */
21
+ id: string;
22
+ /**
23
+ * Required
24
+ *
25
+ * @generated from field: string name = 2;
26
+ */
27
+ name: string;
28
+ };
29
+ /**
30
+ * Describes the message policy.unsafe.UnsafeUpdateNamespaceRequest.
31
+ * Use `create(UnsafeUpdateNamespaceRequestSchema)` to create a new message.
32
+ */
33
+ export declare const UnsafeUpdateNamespaceRequestSchema: GenMessage<UnsafeUpdateNamespaceRequest>;
34
+ /**
35
+ * @generated from message policy.unsafe.UnsafeUpdateNamespaceResponse
36
+ */
37
+ export type UnsafeUpdateNamespaceResponse = Message<"policy.unsafe.UnsafeUpdateNamespaceResponse"> & {
38
+ /**
39
+ * @generated from field: policy.Namespace namespace = 1;
40
+ */
41
+ namespace?: Namespace;
42
+ };
43
+ /**
44
+ * Describes the message policy.unsafe.UnsafeUpdateNamespaceResponse.
45
+ * Use `create(UnsafeUpdateNamespaceResponseSchema)` to create a new message.
46
+ */
47
+ export declare const UnsafeUpdateNamespaceResponseSchema: GenMessage<UnsafeUpdateNamespaceResponse>;
48
+ /**
49
+ * WARNING!!
50
+ * Reactivating a Namespace can potentially open up an access path to existing TDFs containing any Attributes under the Namespace.
51
+ * Active state of any Definitions and their Values under this Namespace will NOT be changed.
52
+ *
53
+ * @generated from message policy.unsafe.UnsafeReactivateNamespaceRequest
54
+ */
55
+ export type UnsafeReactivateNamespaceRequest = Message<"policy.unsafe.UnsafeReactivateNamespaceRequest"> & {
56
+ /**
57
+ * Required
58
+ *
59
+ * @generated from field: string id = 1;
60
+ */
61
+ id: string;
62
+ };
63
+ /**
64
+ * Describes the message policy.unsafe.UnsafeReactivateNamespaceRequest.
65
+ * Use `create(UnsafeReactivateNamespaceRequestSchema)` to create a new message.
66
+ */
67
+ export declare const UnsafeReactivateNamespaceRequestSchema: GenMessage<UnsafeReactivateNamespaceRequest>;
68
+ /**
69
+ * @generated from message policy.unsafe.UnsafeReactivateNamespaceResponse
70
+ */
71
+ export type UnsafeReactivateNamespaceResponse = Message<"policy.unsafe.UnsafeReactivateNamespaceResponse"> & {
72
+ /**
73
+ * @generated from field: policy.Namespace namespace = 1;
74
+ */
75
+ namespace?: Namespace;
76
+ };
77
+ /**
78
+ * Describes the message policy.unsafe.UnsafeReactivateNamespaceResponse.
79
+ * Use `create(UnsafeReactivateNamespaceResponseSchema)` to create a new message.
80
+ */
81
+ export declare const UnsafeReactivateNamespaceResponseSchema: GenMessage<UnsafeReactivateNamespaceResponse>;
82
+ /**
83
+ * WARNING!!
84
+ * 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.
85
+ * Definitions and their Values under this Namespace will be cascadingly deleted.
86
+ *
87
+ * @generated from message policy.unsafe.UnsafeDeleteNamespaceRequest
88
+ */
89
+ export type UnsafeDeleteNamespaceRequest = Message<"policy.unsafe.UnsafeDeleteNamespaceRequest"> & {
90
+ /**
91
+ * Required
92
+ * UUID of the Namespace
93
+ *
94
+ * @generated from field: string id = 1;
95
+ */
96
+ id: string;
97
+ /**
98
+ * Required
99
+ * Fully Qualified Name (FQN) of Namespace (i.e. https://<namespace>), normalized to lower case.
100
+ *
101
+ * @generated from field: string fqn = 2;
102
+ */
103
+ fqn: string;
104
+ };
105
+ /**
106
+ * Describes the message policy.unsafe.UnsafeDeleteNamespaceRequest.
107
+ * Use `create(UnsafeDeleteNamespaceRequestSchema)` to create a new message.
108
+ */
109
+ export declare const UnsafeDeleteNamespaceRequestSchema: GenMessage<UnsafeDeleteNamespaceRequest>;
110
+ /**
111
+ * @generated from message policy.unsafe.UnsafeDeleteNamespaceResponse
112
+ */
113
+ export type UnsafeDeleteNamespaceResponse = Message<"policy.unsafe.UnsafeDeleteNamespaceResponse"> & {
114
+ /**
115
+ * @generated from field: policy.Namespace namespace = 1;
116
+ */
117
+ namespace?: Namespace;
118
+ };
119
+ /**
120
+ * Describes the message policy.unsafe.UnsafeDeleteNamespaceResponse.
121
+ * Use `create(UnsafeDeleteNamespaceResponseSchema)` to create a new message.
122
+ */
123
+ export declare const UnsafeDeleteNamespaceResponseSchema: GenMessage<UnsafeDeleteNamespaceResponse>;
124
+ /**
125
+ * WARNING!!
126
+ * Updating an Attribute can have dangerous consequences. Use with caution.
127
+ *
128
+ * @generated from message policy.unsafe.UnsafeUpdateAttributeRequest
129
+ */
130
+ export type UnsafeUpdateAttributeRequest = Message<"policy.unsafe.UnsafeUpdateAttributeRequest"> & {
131
+ /**
132
+ * Required
133
+ *
134
+ * @generated from field: string id = 1;
135
+ */
136
+ id: string;
137
+ /**
138
+ * Optional
139
+ * WARNING!!
140
+ * Updating the name of an Attribute will retroactively alter access to existing TDFs of the old and new Attribute name.
141
+ *
142
+ * @generated from field: string name = 2;
143
+ */
144
+ name: string;
145
+ /**
146
+ * Optional
147
+ * WARNING!!
148
+ * Updating the rule of an Attribute will retroactively alter access to existing TDFs of the Attribute name.
149
+ *
150
+ * @generated from field: policy.AttributeRuleTypeEnum rule = 3;
151
+ */
152
+ rule: AttributeRuleTypeEnum;
153
+ /**
154
+ * Optional
155
+ * WARNING!!
156
+ * 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
157
+ * 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
158
+ * deleted, created, and unsafely re-ordered as necessary.
159
+ *
160
+ * @generated from field: repeated string values_order = 4;
161
+ */
162
+ valuesOrder: string[];
163
+ };
164
+ /**
165
+ * Describes the message policy.unsafe.UnsafeUpdateAttributeRequest.
166
+ * Use `create(UnsafeUpdateAttributeRequestSchema)` to create a new message.
167
+ */
168
+ export declare const UnsafeUpdateAttributeRequestSchema: GenMessage<UnsafeUpdateAttributeRequest>;
169
+ /**
170
+ * @generated from message policy.unsafe.UnsafeUpdateAttributeResponse
171
+ */
172
+ export type UnsafeUpdateAttributeResponse = Message<"policy.unsafe.UnsafeUpdateAttributeResponse"> & {
173
+ /**
174
+ * @generated from field: policy.Attribute attribute = 1;
175
+ */
176
+ attribute?: Attribute;
177
+ };
178
+ /**
179
+ * Describes the message policy.unsafe.UnsafeUpdateAttributeResponse.
180
+ * Use `create(UnsafeUpdateAttributeResponseSchema)` to create a new message.
181
+ */
182
+ export declare const UnsafeUpdateAttributeResponseSchema: GenMessage<UnsafeUpdateAttributeResponse>;
183
+ /**
184
+ * WARNING!!
185
+ * Reactivating an Attribute can potentially open up an access path to existing TDFs containing the Attribute name.
186
+ * Active state of any Values under this Attribute Definition will NOT be changed.
187
+ *
188
+ * @generated from message policy.unsafe.UnsafeReactivateAttributeRequest
189
+ */
190
+ export type UnsafeReactivateAttributeRequest = Message<"policy.unsafe.UnsafeReactivateAttributeRequest"> & {
191
+ /**
192
+ * Required
193
+ *
194
+ * @generated from field: string id = 1;
195
+ */
196
+ id: string;
197
+ };
198
+ /**
199
+ * Describes the message policy.unsafe.UnsafeReactivateAttributeRequest.
200
+ * Use `create(UnsafeReactivateAttributeRequestSchema)` to create a new message.
201
+ */
202
+ export declare const UnsafeReactivateAttributeRequestSchema: GenMessage<UnsafeReactivateAttributeRequest>;
203
+ /**
204
+ * @generated from message policy.unsafe.UnsafeReactivateAttributeResponse
205
+ */
206
+ export type UnsafeReactivateAttributeResponse = Message<"policy.unsafe.UnsafeReactivateAttributeResponse"> & {
207
+ /**
208
+ * @generated from field: policy.Attribute attribute = 1;
209
+ */
210
+ attribute?: Attribute;
211
+ };
212
+ /**
213
+ * Describes the message policy.unsafe.UnsafeReactivateAttributeResponse.
214
+ * Use `create(UnsafeReactivateAttributeResponseSchema)` to create a new message.
215
+ */
216
+ export declare const UnsafeReactivateAttributeResponseSchema: GenMessage<UnsafeReactivateAttributeResponse>;
217
+ /**
218
+ * WARNING!!
219
+ * 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.
220
+ * Values under this Attribute will be cascadingly deleted.
221
+ * Any KAS Grants associated with this Attribute will be cascadingly deleted.
222
+ *
223
+ * @generated from message policy.unsafe.UnsafeDeleteAttributeRequest
224
+ */
225
+ export type UnsafeDeleteAttributeRequest = Message<"policy.unsafe.UnsafeDeleteAttributeRequest"> & {
226
+ /**
227
+ * Required
228
+ * UUID of the Attribute
229
+ *
230
+ * @generated from field: string id = 1;
231
+ */
232
+ id: string;
233
+ /**
234
+ * Required
235
+ * Fully Qualified Name (FQN) of Attribute Definition (i.e. https://<namespace>/attr/<attribute name>), normalized to lower case.
236
+ *
237
+ * @generated from field: string fqn = 2;
238
+ */
239
+ fqn: string;
240
+ };
241
+ /**
242
+ * Describes the message policy.unsafe.UnsafeDeleteAttributeRequest.
243
+ * Use `create(UnsafeDeleteAttributeRequestSchema)` to create a new message.
244
+ */
245
+ export declare const UnsafeDeleteAttributeRequestSchema: GenMessage<UnsafeDeleteAttributeRequest>;
246
+ /**
247
+ * @generated from message policy.unsafe.UnsafeDeleteAttributeResponse
248
+ */
249
+ export type UnsafeDeleteAttributeResponse = Message<"policy.unsafe.UnsafeDeleteAttributeResponse"> & {
250
+ /**
251
+ * @generated from field: policy.Attribute attribute = 1;
252
+ */
253
+ attribute?: Attribute;
254
+ };
255
+ /**
256
+ * Describes the message policy.unsafe.UnsafeDeleteAttributeResponse.
257
+ * Use `create(UnsafeDeleteAttributeResponseSchema)` to create a new message.
258
+ */
259
+ export declare const UnsafeDeleteAttributeResponseSchema: GenMessage<UnsafeDeleteAttributeResponse>;
260
+ /**
261
+ * WARNING!!
262
+ * Updating an Attribute Value will retroactively alter access to existing TDFs containing the old and new Attribute Value.
263
+ *
264
+ * @generated from message policy.unsafe.UnsafeUpdateAttributeValueRequest
265
+ */
266
+ export type UnsafeUpdateAttributeValueRequest = Message<"policy.unsafe.UnsafeUpdateAttributeValueRequest"> & {
267
+ /**
268
+ * Required
269
+ *
270
+ * @generated from field: string id = 1;
271
+ */
272
+ id: string;
273
+ /**
274
+ * Required
275
+ *
276
+ * @generated from field: string value = 2;
277
+ */
278
+ value: string;
279
+ };
280
+ /**
281
+ * Describes the message policy.unsafe.UnsafeUpdateAttributeValueRequest.
282
+ * Use `create(UnsafeUpdateAttributeValueRequestSchema)` to create a new message.
283
+ */
284
+ export declare const UnsafeUpdateAttributeValueRequestSchema: GenMessage<UnsafeUpdateAttributeValueRequest>;
285
+ /**
286
+ * @generated from message policy.unsafe.UnsafeUpdateAttributeValueResponse
287
+ */
288
+ export type UnsafeUpdateAttributeValueResponse = Message<"policy.unsafe.UnsafeUpdateAttributeValueResponse"> & {
289
+ /**
290
+ * @generated from field: policy.Value value = 1;
291
+ */
292
+ value?: Value;
293
+ };
294
+ /**
295
+ * Describes the message policy.unsafe.UnsafeUpdateAttributeValueResponse.
296
+ * Use `create(UnsafeUpdateAttributeValueResponseSchema)` to create a new message.
297
+ */
298
+ export declare const UnsafeUpdateAttributeValueResponseSchema: GenMessage<UnsafeUpdateAttributeValueResponse>;
299
+ /**
300
+ * WARNING!!
301
+ * Reactivating an Attribute Value can potentially open up an access path to existing TDFs containing the Attribute Value.
302
+ *
303
+ * @generated from message policy.unsafe.UnsafeReactivateAttributeValueRequest
304
+ */
305
+ export type UnsafeReactivateAttributeValueRequest = Message<"policy.unsafe.UnsafeReactivateAttributeValueRequest"> & {
306
+ /**
307
+ * Required
308
+ *
309
+ * @generated from field: string id = 1;
310
+ */
311
+ id: string;
312
+ };
313
+ /**
314
+ * Describes the message policy.unsafe.UnsafeReactivateAttributeValueRequest.
315
+ * Use `create(UnsafeReactivateAttributeValueRequestSchema)` to create a new message.
316
+ */
317
+ export declare const UnsafeReactivateAttributeValueRequestSchema: GenMessage<UnsafeReactivateAttributeValueRequest>;
318
+ /**
319
+ * @generated from message policy.unsafe.UnsafeReactivateAttributeValueResponse
320
+ */
321
+ export type UnsafeReactivateAttributeValueResponse = Message<"policy.unsafe.UnsafeReactivateAttributeValueResponse"> & {
322
+ /**
323
+ * @generated from field: policy.Value value = 1;
324
+ */
325
+ value?: Value;
326
+ };
327
+ /**
328
+ * Describes the message policy.unsafe.UnsafeReactivateAttributeValueResponse.
329
+ * Use `create(UnsafeReactivateAttributeValueResponseSchema)` to create a new message.
330
+ */
331
+ export declare const UnsafeReactivateAttributeValueResponseSchema: GenMessage<UnsafeReactivateAttributeValueResponse>;
332
+ /**
333
+ * WARNING!!
334
+ * 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.
335
+ * Any KAS Grants associated with this Attribute Value will be cascadingly deleted.
336
+ *
337
+ * @generated from message policy.unsafe.UnsafeDeleteAttributeValueRequest
338
+ */
339
+ export type UnsafeDeleteAttributeValueRequest = Message<"policy.unsafe.UnsafeDeleteAttributeValueRequest"> & {
340
+ /**
341
+ * Required
342
+ * UUID of the Attribute Value
343
+ *
344
+ * @generated from field: string id = 1;
345
+ */
346
+ id: string;
347
+ /**
348
+ * Required
349
+ * Fully Qualified Name (FQN) of Attribute Value (i.e. https://<namespace>/attr/<attribute name>/value/<value>), normalized to lower case.
350
+ *
351
+ * @generated from field: string fqn = 2;
352
+ */
353
+ fqn: string;
354
+ };
355
+ /**
356
+ * Describes the message policy.unsafe.UnsafeDeleteAttributeValueRequest.
357
+ * Use `create(UnsafeDeleteAttributeValueRequestSchema)` to create a new message.
358
+ */
359
+ export declare const UnsafeDeleteAttributeValueRequestSchema: GenMessage<UnsafeDeleteAttributeValueRequest>;
360
+ /**
361
+ * @generated from message policy.unsafe.UnsafeDeleteAttributeValueResponse
362
+ */
363
+ export type UnsafeDeleteAttributeValueResponse = Message<"policy.unsafe.UnsafeDeleteAttributeValueResponse"> & {
364
+ /**
365
+ * @generated from field: policy.Value value = 1;
366
+ */
367
+ value?: Value;
368
+ };
369
+ /**
370
+ * Describes the message policy.unsafe.UnsafeDeleteAttributeValueResponse.
371
+ * Use `create(UnsafeDeleteAttributeValueResponseSchema)` to create a new message.
372
+ */
373
+ export declare const UnsafeDeleteAttributeValueResponseSchema: GenMessage<UnsafeDeleteAttributeValueResponse>;
374
+ /**
375
+ * WARNING!!
376
+ *
377
+ * @generated from message policy.unsafe.UnsafeDeleteKasKeyRequest
378
+ */
379
+ export type UnsafeDeleteKasKeyRequest = Message<"policy.unsafe.UnsafeDeleteKasKeyRequest"> & {
380
+ /**
381
+ * Required
382
+ * UUID of the Key
383
+ *
384
+ * @generated from field: string id = 1;
385
+ */
386
+ id: string;
387
+ };
388
+ /**
389
+ * Describes the message policy.unsafe.UnsafeDeleteKasKeyRequest.
390
+ * Use `create(UnsafeDeleteKasKeyRequestSchema)` to create a new message.
391
+ */
392
+ export declare const UnsafeDeleteKasKeyRequestSchema: GenMessage<UnsafeDeleteKasKeyRequest>;
393
+ /**
394
+ * @generated from message policy.unsafe.UnsafeDeleteKasKeyResponse
395
+ */
396
+ export type UnsafeDeleteKasKeyResponse = Message<"policy.unsafe.UnsafeDeleteKasKeyResponse"> & {
397
+ /**
398
+ * @generated from field: policy.Key key = 1;
399
+ */
400
+ key?: Key;
401
+ };
402
+ /**
403
+ * Describes the message policy.unsafe.UnsafeDeleteKasKeyResponse.
404
+ * Use `create(UnsafeDeleteKasKeyResponseSchema)` to create a new message.
405
+ */
406
+ export declare const UnsafeDeleteKasKeyResponseSchema: GenMessage<UnsafeDeleteKasKeyResponse>;
407
+ /**
408
+ * /
409
+ * / Unsafe Service
410
+ * / IN FLIGHT AND NOT YET IMPLEMENTED!
411
+ * /
412
+ *
413
+ * @generated from service policy.unsafe.UnsafeService
414
+ */
415
+ export declare const UnsafeService: GenService<{
416
+ /**
417
+ * --------------------------------------*
418
+ * Namespace RPCs
419
+ * ---------------------------------------
420
+ *
421
+ * @generated from rpc policy.unsafe.UnsafeService.UnsafeUpdateNamespace
422
+ */
423
+ unsafeUpdateNamespace: {
424
+ methodKind: "unary";
425
+ input: typeof UnsafeUpdateNamespaceRequestSchema;
426
+ output: typeof UnsafeUpdateNamespaceResponseSchema;
427
+ };
428
+ /**
429
+ * @generated from rpc policy.unsafe.UnsafeService.UnsafeReactivateNamespace
430
+ */
431
+ unsafeReactivateNamespace: {
432
+ methodKind: "unary";
433
+ input: typeof UnsafeReactivateNamespaceRequestSchema;
434
+ output: typeof UnsafeReactivateNamespaceResponseSchema;
435
+ };
436
+ /**
437
+ * @generated from rpc policy.unsafe.UnsafeService.UnsafeDeleteNamespace
438
+ */
439
+ unsafeDeleteNamespace: {
440
+ methodKind: "unary";
441
+ input: typeof UnsafeDeleteNamespaceRequestSchema;
442
+ output: typeof UnsafeDeleteNamespaceResponseSchema;
443
+ };
444
+ /**
445
+ * --------------------------------------*
446
+ * Attribute RPCs
447
+ * ---------------------------------------
448
+ *
449
+ * @generated from rpc policy.unsafe.UnsafeService.UnsafeUpdateAttribute
450
+ */
451
+ unsafeUpdateAttribute: {
452
+ methodKind: "unary";
453
+ input: typeof UnsafeUpdateAttributeRequestSchema;
454
+ output: typeof UnsafeUpdateAttributeResponseSchema;
455
+ };
456
+ /**
457
+ * @generated from rpc policy.unsafe.UnsafeService.UnsafeReactivateAttribute
458
+ */
459
+ unsafeReactivateAttribute: {
460
+ methodKind: "unary";
461
+ input: typeof UnsafeReactivateAttributeRequestSchema;
462
+ output: typeof UnsafeReactivateAttributeResponseSchema;
463
+ };
464
+ /**
465
+ * @generated from rpc policy.unsafe.UnsafeService.UnsafeDeleteAttribute
466
+ */
467
+ unsafeDeleteAttribute: {
468
+ methodKind: "unary";
469
+ input: typeof UnsafeDeleteAttributeRequestSchema;
470
+ output: typeof UnsafeDeleteAttributeResponseSchema;
471
+ };
472
+ /**
473
+ * --------------------------------------*
474
+ * Value RPCs
475
+ * ---------------------------------------
476
+ *
477
+ * @generated from rpc policy.unsafe.UnsafeService.UnsafeUpdateAttributeValue
478
+ */
479
+ unsafeUpdateAttributeValue: {
480
+ methodKind: "unary";
481
+ input: typeof UnsafeUpdateAttributeValueRequestSchema;
482
+ output: typeof UnsafeUpdateAttributeValueResponseSchema;
483
+ };
484
+ /**
485
+ * @generated from rpc policy.unsafe.UnsafeService.UnsafeReactivateAttributeValue
486
+ */
487
+ unsafeReactivateAttributeValue: {
488
+ methodKind: "unary";
489
+ input: typeof UnsafeReactivateAttributeValueRequestSchema;
490
+ output: typeof UnsafeReactivateAttributeValueResponseSchema;
491
+ };
492
+ /**
493
+ * @generated from rpc policy.unsafe.UnsafeService.UnsafeDeleteAttributeValue
494
+ */
495
+ unsafeDeleteAttributeValue: {
496
+ methodKind: "unary";
497
+ input: typeof UnsafeDeleteAttributeValueRequestSchema;
498
+ output: typeof UnsafeDeleteAttributeValueResponseSchema;
499
+ };
500
+ /**
501
+ * --------------------------------------*
502
+ * Kas Key RPCs
503
+ * ---------------------------------------
504
+ *
505
+ * @generated from rpc policy.unsafe.UnsafeService.UnsafeDeleteKasKey
506
+ */
507
+ unsafeDeleteKasKey: {
508
+ methodKind: "unary";
509
+ input: typeof UnsafeDeleteKasKeyRequestSchema;
510
+ output: typeof UnsafeDeleteKasKeyResponseSchema;
511
+ };
512
+ }>;
513
+ //# sourceMappingURL=unsafe_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unsafe_pb.d.ts","sourceRoot":"","sources":["../../../../../../src/platform/policy/unsafe/unsafe_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAIpF,OAAO,KAAK,EAAE,SAAS,EAAE,qBAAqB,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEhG,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,OAC4kL,CAAC;AAErnL;;;;;;GAMG;AACH,MAAM,MAAM,4BAA4B,GAAG,OAAO,CAAC,4CAA4C,CAAC,GAAG;IACjG;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kCAAkC,EAAE,UAAU,CAAC,4BAA4B,CAC7C,CAAC;AAE5C;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG,OAAO,CAAC,6CAA6C,CAA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;OAMG;IACH,qBAAqB,EAAE;QACrB,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,kCAAkC,CAAC;QACjD,MAAM,EAAE,OAAO,mCAAmC,CAAC;KACpD,CAAC;IACF;;OAEG;IACH,yBAAyB,EAAE;QACzB,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,sCAAsC,CAAC;QACrD,MAAM,EAAE,OAAO,uCAAuC,CAAC;KACxD,CAAC;IACF;;OAEG;IACH,qBAAqB,EAAE;QACrB,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,kCAAkC,CAAC;QACjD,MAAM,EAAE,OAAO,mCAAmC,CAAC;KACpD,CAAC;IACF;;;;;;OAMG;IACH,0BAA0B,EAAE;QAC1B,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,uCAAuC,CAAC;QACtD,MAAM,EAAE,OAAO,wCAAwC,CAAC;KACzD,CAAC;IACF;;OAEG;IACH,8BAA8B,EAAE;QAC9B,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,2CAA2C,CAAC;QAC1D,MAAM,EAAE,OAAO,4CAA4C,CAAC;KAC7D,CAAC;IACF;;OAEG;IACH,0BAA0B,EAAE;QAC1B,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,uCAAuC,CAAC;QACtD,MAAM,EAAE,OAAO,wCAAwC,CAAC;KACzD,CAAC;IACF;;;;;;OAMG;IACH,kBAAkB,EAAE;QAClB,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,+BAA+B,CAAC;QAC9C,MAAM,EAAE,OAAO,gCAAgC,CAAC;KACjD,CAAC;CACH,CAC0C,CAAC"}
@@ -0,0 +1,62 @@
1
+ import type { GenExtension, GenFile } from "@bufbuild/protobuf/codegenv1";
2
+ import type { EnumOptions, FieldOptions, FileOptions, MessageOptions, MethodOptions, ServiceOptions } from "@bufbuild/protobuf/wkt";
3
+ import type { EnumSchema, JSONSchema, Operation, Schema, Swagger, Tag } from "./openapiv2_pb.js";
4
+ /**
5
+ * Describes the file protoc-gen-openapiv2/options/annotations.proto.
6
+ */
7
+ export declare const file_protoc_gen_openapiv2_options_annotations: GenFile;
8
+ /**
9
+ * ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project.
10
+ *
11
+ * All IDs are the same, as assigned. It is okay that they are the same, as they extend
12
+ * different descriptor messages.
13
+ *
14
+ * @generated from extension: grpc.gateway.protoc_gen_openapiv2.options.Swagger openapiv2_swagger = 1042;
15
+ */
16
+ export declare const openapiv2_swagger: GenExtension<FileOptions, Swagger>;
17
+ /**
18
+ * ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project.
19
+ *
20
+ * All IDs are the same, as assigned. It is okay that they are the same, as they extend
21
+ * different descriptor messages.
22
+ *
23
+ * @generated from extension: grpc.gateway.protoc_gen_openapiv2.options.Operation openapiv2_operation = 1042;
24
+ */
25
+ export declare const openapiv2_operation: GenExtension<MethodOptions, Operation>;
26
+ /**
27
+ * ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project.
28
+ *
29
+ * All IDs are the same, as assigned. It is okay that they are the same, as they extend
30
+ * different descriptor messages.
31
+ *
32
+ * @generated from extension: grpc.gateway.protoc_gen_openapiv2.options.Schema openapiv2_schema = 1042;
33
+ */
34
+ export declare const openapiv2_schema: GenExtension<MessageOptions, Schema>;
35
+ /**
36
+ * ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project.
37
+ *
38
+ * All IDs are the same, as assigned. It is okay that they are the same, as they extend
39
+ * different descriptor messages.
40
+ *
41
+ * @generated from extension: grpc.gateway.protoc_gen_openapiv2.options.EnumSchema openapiv2_enum = 1042;
42
+ */
43
+ export declare const openapiv2_enum: GenExtension<EnumOptions, EnumSchema>;
44
+ /**
45
+ * ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project.
46
+ *
47
+ * All IDs are the same, as assigned. It is okay that they are the same, as they extend
48
+ * different descriptor messages.
49
+ *
50
+ * @generated from extension: grpc.gateway.protoc_gen_openapiv2.options.Tag openapiv2_tag = 1042;
51
+ */
52
+ export declare const openapiv2_tag: GenExtension<ServiceOptions, Tag>;
53
+ /**
54
+ * ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project.
55
+ *
56
+ * All IDs are the same, as assigned. It is okay that they are the same, as they extend
57
+ * different descriptor messages.
58
+ *
59
+ * @generated from extension: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema openapiv2_field = 1042;
60
+ */
61
+ export declare const openapiv2_field: GenExtension<FieldOptions, JSONSchema>;
62
+ //# sourceMappingURL=annotations_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"annotations_pb.d.ts","sourceRoot":"","sources":["../../../../../../src/platform/protoc-gen-openapiv2/options/annotations_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAE1E,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAEpI,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGjG;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,OACqwC,CAAC;AAEl0C;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,EAAE,YAAY,CAAC,WAAW,EAAE,OAAO,CACN,CAAC;AAE5D;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,EAAE,YAAY,CAAC,aAAa,EAAE,SAAS,CACZ,CAAC;AAE5D;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,EAAE,YAAY,CAAC,cAAc,EAAE,MAAM,CACP,CAAC;AAE5D;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,EAAE,YAAY,CAAC,WAAW,EAAE,UAAU,CACN,CAAC;AAE5D;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,cAAc,EAAE,GAAG,CACD,CAAC;AAE5D;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,EAAE,YAAY,CAAC,YAAY,EAAE,UAAU,CACR,CAAC"}