@stigmer/protos 0.0.72 → 0.0.74
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.
- package/ai/stigmer/agentic/agent/v1/command_pb.js +2 -2
- package/ai/stigmer/agentic/agent/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/query_pb.js +2 -2
- package/ai/stigmer/agentic/agent/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +8 -6
- package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/command_pb.js +2 -2
- package/ai/stigmer/agentic/agentexecution/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/message_pb.d.ts +4 -3
- package/ai/stigmer/agentic/agentexecution/v1/message_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/query_connect.d.ts +2 -8
- package/ai/stigmer/agentic/agentexecution/v1/query_connect.js +2 -8
- package/ai/stigmer/agentic/agentexecution/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/query_pb.d.ts +2 -8
- package/ai/stigmer/agentic/agentexecution/v1/query_pb.js +2 -2
- package/ai/stigmer/agentic/agentexecution/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.d.ts +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/command_pb.js +2 -2
- package/ai/stigmer/agentic/agentinstance/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/query_pb.js +2 -2
- package/ai/stigmer/agentic/agentinstance/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/environment/v1/command_pb.js +2 -2
- package/ai/stigmer/agentic/environment/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/environment/v1/query_pb.js +2 -2
- package/ai/stigmer/agentic/environment/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/executioncontext/v1/command_pb.js +2 -2
- package/ai/stigmer/agentic/executioncontext/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/executioncontext/v1/query_pb.js +2 -2
- package/ai/stigmer/agentic/executioncontext/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.d.ts +16 -36
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.js +17 -37
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.d.ts +17 -36
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.js +2 -2
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/io_pb.d.ts +20 -48
- package/ai/stigmer/agentic/mcpserver/v1/io_pb.js +4 -10
- package/ai/stigmer/agentic/mcpserver/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/query_pb.js +2 -2
- package/ai/stigmer/agentic/mcpserver/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +100 -15
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js +7 -1
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.d.ts +26 -60
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.js +2 -45
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/command_pb.js +2 -2
- package/ai/stigmer/agentic/session/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/query_pb.js +2 -2
- package/ai/stigmer/agentic/session/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/skill/v1/command_pb.js +2 -2
- package/ai/stigmer/agentic/skill/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/skill/v1/query_pb.js +2 -2
- package/ai/stigmer/agentic/skill/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/command_pb.js +2 -2
- package/ai/stigmer/agentic/workflow/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/query_pb.js +2 -2
- package/ai/stigmer/agentic/workflow/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/command_pb.js +2 -2
- package/ai/stigmer/agentic/workflowexecution/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/query_pb.js +2 -2
- package/ai/stigmer/agentic/workflowexecution/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowinstance/v1/command_pb.js +2 -2
- package/ai/stigmer/agentic/workflowinstance/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowinstance/v1/query_pb.js +2 -2
- package/ai/stigmer/agentic/workflowinstance/v1/query_pb.js.map +1 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +6 -0
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +7 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/authorization_config_pb.d.ts +28 -0
- package/ai/stigmer/commons/apiresource/apiresourcekind/authorization_config_pb.js +2 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/authorization_config_pb.js.map +1 -1
- package/ai/stigmer/{iam/iampolicy/v1/rpcauthorization/io_pb.d.ts → commons/rpc/authorization_config_pb.d.ts} +9 -9
- package/ai/stigmer/commons/rpc/authorization_config_pb.js +16 -0
- package/ai/stigmer/commons/rpc/authorization_config_pb.js.map +1 -0
- package/ai/stigmer/{iam/iampolicy/v1/rpcauthorization → commons/rpc}/method_options_pb.d.ts +4 -4
- package/ai/stigmer/commons/rpc/method_options_pb.js +29 -0
- package/ai/stigmer/commons/rpc/method_options_pb.js.map +1 -0
- package/ai/stigmer/iam/apikey/v1/command_pb.js +2 -2
- package/ai/stigmer/iam/apikey/v1/command_pb.js.map +1 -1
- package/ai/stigmer/iam/apikey/v1/query_pb.js +2 -2
- package/ai/stigmer/iam/apikey/v1/query_pb.js.map +1 -1
- package/ai/stigmer/iam/iampolicy/v1/command_connect.d.ts +33 -0
- package/ai/stigmer/iam/iampolicy/v1/command_connect.js +33 -0
- package/ai/stigmer/iam/iampolicy/v1/command_connect.js.map +1 -1
- package/ai/stigmer/iam/iampolicy/v1/command_pb.d.ts +33 -0
- package/ai/stigmer/iam/iampolicy/v1/command_pb.js +3 -2
- package/ai/stigmer/iam/iampolicy/v1/command_pb.js.map +1 -1
- package/ai/stigmer/iam/iampolicy/v1/query_connect.d.ts +66 -0
- package/ai/stigmer/iam/iampolicy/v1/query_connect.js +66 -0
- package/ai/stigmer/iam/iampolicy/v1/query_connect.js.map +1 -1
- package/ai/stigmer/iam/iampolicy/v1/query_pb.d.ts +64 -1
- package/ai/stigmer/iam/iampolicy/v1/query_pb.js +2 -2
- package/ai/stigmer/iam/iampolicy/v1/query_pb.js.map +1 -1
- package/ai/stigmer/iam/iampolicy/v1/spec_pb.d.ts +1 -1
- package/ai/stigmer/iam/identityaccount/v1/command_connect.d.ts +61 -1
- package/ai/stigmer/iam/identityaccount/v1/command_connect.js +61 -1
- package/ai/stigmer/iam/identityaccount/v1/command_connect.js.map +1 -1
- package/ai/stigmer/iam/identityaccount/v1/command_pb.d.ts +59 -2
- package/ai/stigmer/iam/identityaccount/v1/command_pb.js +2 -2
- package/ai/stigmer/iam/identityaccount/v1/command_pb.js.map +1 -1
- package/ai/stigmer/iam/identityaccount/v1/enum_pb.d.ts +1 -1
- package/ai/stigmer/iam/identityaccount/v1/enum_pb.js +1 -1
- package/ai/stigmer/iam/identityaccount/v1/io_pb.d.ts +219 -0
- package/ai/stigmer/iam/identityaccount/v1/io_pb.js +22 -1
- package/ai/stigmer/iam/identityaccount/v1/io_pb.js.map +1 -1
- package/ai/stigmer/iam/identityaccount/v1/query_connect.d.ts +26 -2
- package/ai/stigmer/iam/identityaccount/v1/query_connect.js +26 -2
- package/ai/stigmer/iam/identityaccount/v1/query_connect.js.map +1 -1
- package/ai/stigmer/iam/identityaccount/v1/query_pb.d.ts +26 -3
- package/ai/stigmer/iam/identityaccount/v1/query_pb.js +2 -2
- package/ai/stigmer/iam/identityaccount/v1/query_pb.js.map +1 -1
- package/ai/stigmer/iam/identityaccount/v1/spec_pb.d.ts +9 -7
- package/ai/stigmer/iam/identityaccount/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/iam/identityprovider/v1/command_pb.js +2 -2
- package/ai/stigmer/iam/identityprovider/v1/command_pb.js.map +1 -1
- package/ai/stigmer/iam/identityprovider/v1/io_pb.d.ts +88 -0
- package/ai/stigmer/iam/identityprovider/v1/io_pb.js +16 -1
- package/ai/stigmer/iam/identityprovider/v1/io_pb.js.map +1 -1
- package/ai/stigmer/iam/identityprovider/v1/query_connect.d.ts +39 -0
- package/ai/stigmer/iam/identityprovider/v1/query_connect.js +39 -0
- package/ai/stigmer/iam/identityprovider/v1/query_connect.js.map +1 -1
- package/ai/stigmer/iam/identityprovider/v1/query_pb.d.ts +38 -0
- package/ai/stigmer/iam/identityprovider/v1/query_pb.js +3 -2
- package/ai/stigmer/iam/identityprovider/v1/query_pb.js.map +1 -1
- package/ai/stigmer/iam/identityprovider/v1/spec_pb.d.ts +60 -7
- package/ai/stigmer/iam/identityprovider/v1/spec_pb.js +1 -1
- package/ai/stigmer/iam/identityprovider/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/iam/invitation/v1/api_pb.d.ts +132 -0
- package/ai/stigmer/iam/invitation/v1/api_pb.js +30 -0
- package/ai/stigmer/iam/invitation/v1/api_pb.js.map +1 -0
- package/ai/stigmer/iam/invitation/v1/command_connect.d.ts +79 -0
- package/ai/stigmer/iam/invitation/v1/command_connect.js +85 -0
- package/ai/stigmer/iam/invitation/v1/command_connect.js.map +1 -0
- package/ai/stigmer/iam/invitation/v1/command_pb.d.ts +80 -0
- package/ai/stigmer/iam/invitation/v1/command_pb.js +19 -0
- package/ai/stigmer/iam/invitation/v1/command_pb.js.map +1 -0
- package/ai/stigmer/iam/invitation/v1/enum_pb.d.ts +49 -0
- package/ai/stigmer/iam/invitation/v1/enum_pb.js +54 -0
- package/ai/stigmer/iam/invitation/v1/enum_pb.js.map +1 -0
- package/ai/stigmer/iam/invitation/v1/io_pb.d.ts +173 -0
- package/ai/stigmer/iam/invitation/v1/io_pb.js +43 -0
- package/ai/stigmer/iam/invitation/v1/io_pb.js.map +1 -0
- package/ai/stigmer/iam/invitation/v1/query_connect.d.ts +68 -0
- package/ai/stigmer/iam/invitation/v1/query_connect.js +74 -0
- package/ai/stigmer/iam/invitation/v1/query_connect.js.map +1 -0
- package/ai/stigmer/iam/invitation/v1/query_pb.d.ts +69 -0
- package/ai/stigmer/iam/invitation/v1/query_pb.js +19 -0
- package/ai/stigmer/iam/invitation/v1/query_pb.js.map +1 -0
- package/ai/stigmer/iam/invitation/v1/spec_pb.d.ts +77 -0
- package/ai/stigmer/iam/invitation/v1/spec_pb.js +17 -0
- package/ai/stigmer/iam/invitation/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/iam/v1/enum_pb.d.ts +183 -0
- package/ai/stigmer/iam/v1/enum_pb.js +189 -0
- package/ai/stigmer/iam/v1/enum_pb.js.map +1 -0
- package/ai/stigmer/platform/github/v1/service_pb.js +2 -2
- package/ai/stigmer/platform/github/v1/service_pb.js.map +1 -1
- package/ai/stigmer/search/v1/io_pb.d.ts +15 -0
- package/ai/stigmer/search/v1/io_pb.js +1 -1
- package/ai/stigmer/search/v1/io_pb.js.map +1 -1
- package/ai/stigmer/search/v1/query_pb.js +2 -2
- package/ai/stigmer/search/v1/query_pb.js.map +1 -1
- package/ai/stigmer/tenancy/organization/v1/command_pb.js +2 -2
- package/ai/stigmer/tenancy/organization/v1/command_pb.js.map +1 -1
- package/ai/stigmer/tenancy/organization/v1/query_pb.js +2 -2
- package/ai/stigmer/tenancy/organization/v1/query_pb.js.map +1 -1
- package/ai/stigmer/tenancy/project/v1/command_pb.js +2 -2
- package/ai/stigmer/tenancy/project/v1/command_pb.js.map +1 -1
- package/ai/stigmer/tenancy/project/v1/query_pb.js +2 -2
- package/ai/stigmer/tenancy/project/v1/query_pb.js.map +1 -1
- package/package.json +1 -1
- package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/iam_permission_pb.d.ts +0 -198
- package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/iam_permission_pb.js +0 -203
- package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/iam_permission_pb.js.map +0 -1
- package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/io_pb.js +0 -16
- package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/io_pb.js.map +0 -1
- package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/method_options_pb.js +0 -29
- package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/method_options_pb.js.map +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { IamRole } from "../../../iam/v1/enum_pb";
|
|
2
3
|
import type { Message } from "@bufbuild/protobuf";
|
|
3
4
|
/**
|
|
4
5
|
* Describes the file ai/stigmer/commons/apiresource/apiresourcekind/authorization_config.proto.
|
|
@@ -112,10 +113,21 @@ export declare const ParentRelationConfigSchema: GenMessage<ParentRelationConfig
|
|
|
112
113
|
* scope_type: AUTHORIZATION_SCOPE_TYPE_ORGANIZATION
|
|
113
114
|
* owner_type: OWNER_ATTRIBUTION_TYPE_DIRECT
|
|
114
115
|
* requires_creator_tuple: true
|
|
116
|
+
* grantable_roles: [owner, viewer]
|
|
115
117
|
* -> Creates: environment#organization@organization:<org_id>
|
|
116
118
|
* -> Creates: environment#owner@identity_account:<creator_id>
|
|
117
119
|
* -> Creates: environment#creator@identity_account:<creator_id>
|
|
118
120
|
*
|
|
121
|
+
* Organization with three-tier role hierarchy:
|
|
122
|
+
* scope_type: AUTHORIZATION_SCOPE_TYPE_OWNER_ONLY
|
|
123
|
+
* owner_type: OWNER_ATTRIBUTION_TYPE_DIRECT
|
|
124
|
+
* grantable_roles: [owner, admin, member]
|
|
125
|
+
*
|
|
126
|
+
* Owner-only resource with no role sharing (api_key, execution_context):
|
|
127
|
+
* scope_type: AUTHORIZATION_SCOPE_TYPE_OWNER_ONLY
|
|
128
|
+
* owner_type: OWNER_ATTRIBUTION_TYPE_DIRECT
|
|
129
|
+
* grantable_roles: [] (empty — owner is set at creation, no sharing)
|
|
130
|
+
*
|
|
119
131
|
* @generated from message ai.stigmer.commons.apiresource.apiresourcekind.AuthorizationConfig
|
|
120
132
|
*/
|
|
121
133
|
export type AuthorizationConfig = Message<"ai.stigmer.commons.apiresource.apiresourcekind.AuthorizationConfig"> & {
|
|
@@ -167,6 +179,22 @@ export type AuthorizationConfig = Message<"ai.stigmer.commons.apiresource.apires
|
|
|
167
179
|
* @generated from field: bool requires_creator_tuple = 6;
|
|
168
180
|
*/
|
|
169
181
|
requiresCreatorTuple: boolean;
|
|
182
|
+
/**
|
|
183
|
+
* Roles that can be granted on this resource kind via IAM policies.
|
|
184
|
+
* Drives the web app role selector and SDK validation for IAM policy creation.
|
|
185
|
+
*
|
|
186
|
+
* Each value must correspond to a directly-assignable FGA relation
|
|
187
|
+
* (defined with [identity_account] in the FGA model). Computed roles
|
|
188
|
+
* and structural relations are excluded.
|
|
189
|
+
*
|
|
190
|
+
* Empty means no user-grantable roles: the resource is either owner-only
|
|
191
|
+
* (api_key, execution_context), inherits authorization from a parent
|
|
192
|
+
* (agent_execution), is self-owned (identity_account), or has no
|
|
193
|
+
* authorization (platform, api_resource_version).
|
|
194
|
+
*
|
|
195
|
+
* @generated from field: repeated ai.stigmer.iam.v1.IamRole grantable_roles = 7;
|
|
196
|
+
*/
|
|
197
|
+
grantableRoles: IamRole[];
|
|
170
198
|
};
|
|
171
199
|
/**
|
|
172
200
|
* Describes the message ai.stigmer.commons.apiresource.apiresourcekind.AuthorizationConfig.
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
// @generated from file ai/stigmer/commons/apiresource/apiresourcekind/authorization_config.proto (package ai.stigmer.commons.apiresource.apiresourcekind, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_iam_v1_enum } from "../../../iam/v1/enum_pb";
|
|
5
6
|
/**
|
|
6
7
|
* Describes the file ai/stigmer/commons/apiresource/apiresourcekind/authorization_config.proto.
|
|
7
8
|
*/
|
|
8
|
-
export const file_ai_stigmer_commons_apiresource_apiresourcekind_authorization_config = /*@__PURE__*/ fileDesc("
|
|
9
|
+
export const file_ai_stigmer_commons_apiresource_apiresourcekind_authorization_config = /*@__PURE__*/ fileDesc("CklhaS9zdGlnbWVyL2NvbW1vbnMvYXBpcmVzb3VyY2UvYXBpcmVzb3VyY2VraW5kL2F1dGhvcml6YXRpb25fY29uZmlnLnByb3RvEi5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuYXBpcmVzb3VyY2VraW5kIisKEFZpc2liaWxpdHlDb25maWcSFwoPc3VwcG9ydHNfcHVibGljGAEgASgIIkoKFFBhcmVudFJlbGF0aW9uQ29uZmlnEgwKBGtpbmQYASABKAkSEAoIcmVsYXRpb24YAiABKAkSEgoKc3BlY19maWVsZBgDIAEoCSKuBAoTQXV0aG9yaXphdGlvbkNvbmZpZxJaCgpzY29wZV90eXBlGAEgASgOMkYuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLmFwaXJlc291cmNla2luZC5BdXRob3JpemF0aW9uU2NvcGVUeXBlElgKCm93bmVyX3R5cGUYAiABKA4yRC5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuYXBpcmVzb3VyY2VraW5kLk93bmVyQXR0cmlidXRpb25UeXBlElQKBnBhcmVudBgDIAEoCzJELmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5hcGlyZXNvdXJjZWtpbmQuUGFyZW50UmVsYXRpb25Db25maWcSYAoSYWRkaXRpb25hbF9wYXJlbnRzGAQgAygLMkQuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLmFwaXJlc291cmNla2luZC5QYXJlbnRSZWxhdGlvbkNvbmZpZxJUCgp2aXNpYmlsaXR5GAUgASgLMkAuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLmFwaXJlc291cmNla2luZC5WaXNpYmlsaXR5Q29uZmlnEh4KFnJlcXVpcmVzX2NyZWF0b3JfdHVwbGUYBiABKAgSMwoPZ3JhbnRhYmxlX3JvbGVzGAcgAygOMhouYWkuc3RpZ21lci5pYW0udjEuSWFtUm9sZSqFAgoWQXV0aG9yaXphdGlvblNjb3BlVHlwZRIoCiRBVVRIT1JJWkFUSU9OX1NDT1BFX1RZUEVfVU5TUEVDSUZJRUQQABIlCiFBVVRIT1JJWkFUSU9OX1NDT1BFX1RZUEVfUExBVEZPUk0QARIpCiVBVVRIT1JJWkFUSU9OX1NDT1BFX1RZUEVfT1JHQU5JWkFUSU9OEAISIwofQVVUSE9SSVpBVElPTl9TQ09QRV9UWVBFX1BBUkVOVBADEicKI0FVVEhPUklaQVRJT05fU0NPUEVfVFlQRV9PV05FUl9PTkxZEAQSIQodQVVUSE9SSVpBVElPTl9TQ09QRV9UWVBFX05PTkUQBSrJAQoUT3duZXJBdHRyaWJ1dGlvblR5cGUSJgoiT1dORVJfQVRUUklCVVRJT05fVFlQRV9VTlNQRUNJRklFRBAAEiEKHU9XTkVSX0FUVFJJQlVUSU9OX1RZUEVfRElSRUNUEAESJAogT1dORVJfQVRUUklCVVRJT05fVFlQRV9JTkhFUklURUQQAhIfChtPV05FUl9BVFRSSUJVVElPTl9UWVBFX1NFTEYQAxIfChtPV05FUl9BVFRSSUJVVElPTl9UWVBFX05PTkUQBEIaQhhBdXRob3JpemF0aW9uQ29uZmlnUHJvdG9iBnByb3RvMw", [file_ai_stigmer_iam_v1_enum]);
|
|
9
10
|
/**
|
|
10
11
|
* Describes the message ai.stigmer.commons.apiresource.apiresourcekind.VisibilityConfig.
|
|
11
12
|
* Use `create(VisibilityConfigSchema)` to create a new message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authorization_config_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/commons/apiresource/apiresourcekind/authorization_config_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,yKAAyK;AACzK,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"authorization_config_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/commons/apiresource/apiresourcekind/authorization_config_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,yKAAyK;AACzK,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAGtE;;GAEG;AACH,MAAM,CAAC,MAAM,wEAAwE,GAAY,aAAa,CAC5G,QAAQ,CAAC,otDAAotD,EAAE,CAAC,2BAA2B,CAAC,CAAC,CAAC;AA+BhwD;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,wEAAwE,EAAE,CAAC,CAAC,CAAC;AAsC3F;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,wEAAwE,EAAE,CAAC,CAAC,CAAC;AAiI3F;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,wEAAwE,EAAE,CAAC,CAAC,CAAC;AAE3F;;;;;GAKG;AACH,MAAM,CAAN,IAAY,sBAiDX;AAjDD,WAAY,sBAAsB;IAChC;;OAEG;IACH,iFAAe,CAAA;IAEf;;;;;;OAMG;IACH,2EAAY,CAAA;IAEZ;;;;;;OAMG;IACH,mFAAgB,CAAA;IAEhB;;;;;;OAMG;IACH,uEAAU,CAAA;IAEV;;;;;;OAMG;IACH,+EAAc,CAAA;IAEd;;;;;OAKG;IACH,mEAAQ,CAAA;AACV,CAAC,EAjDW,sBAAsB,KAAtB,sBAAsB,QAiDjC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAoC,aAAa,CACxF,QAAQ,CAAC,wEAAwE,EAAE,CAAC,CAAC,CAAC;AAExF;;;;;GAKG;AACH,MAAM,CAAN,IAAY,oBAwCX;AAxCD,WAAY,oBAAoB;IAC9B;;OAEG;IACH,6EAAe,CAAA;IAEf;;;;;;OAMG;IACH,mEAAU,CAAA;IAEV;;;;;;OAMG;IACH,yEAAa,CAAA;IAEb;;;;;;OAMG;IACH,+DAAQ,CAAA;IAER;;;;;OAKG;IACH,+DAAQ,CAAA;AACV,CAAC,EAxCW,oBAAoB,KAApB,oBAAoB,QAwC/B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAkC,aAAa,CACpF,QAAQ,CAAC,wEAAwE,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
-
import type { ApiResourceKind } from "
|
|
3
|
-
import type {
|
|
2
|
+
import type { ApiResourceKind } from "../apiresource/apiresourcekind/api_resource_kind_pb";
|
|
3
|
+
import type { IamPermission } from "../../iam/v1/enum_pb";
|
|
4
4
|
import type { Message } from "@bufbuild/protobuf";
|
|
5
5
|
/**
|
|
6
|
-
* Describes the file ai/stigmer/
|
|
6
|
+
* Describes the file ai/stigmer/commons/rpc/authorization_config.proto.
|
|
7
7
|
*/
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const file_ai_stigmer_commons_rpc_authorization_config: GenFile;
|
|
9
9
|
/**
|
|
10
10
|
* RpcAuthorizationConfig defines the authorization check performed before an RPC executes.
|
|
11
11
|
*
|
|
@@ -14,15 +14,15 @@ export declare const file_ai_stigmer_iam_iampolicy_v1_rpcauthorization_io: GenFi
|
|
|
14
14
|
* and performs an FGA check: does the caller have `permission` on
|
|
15
15
|
* `resource_kind:<resolved_id>`?
|
|
16
16
|
*
|
|
17
|
-
* @generated from message ai.stigmer.
|
|
17
|
+
* @generated from message ai.stigmer.commons.rpc.RpcAuthorizationConfig
|
|
18
18
|
*/
|
|
19
|
-
export type RpcAuthorizationConfig = Message<"ai.stigmer.
|
|
19
|
+
export type RpcAuthorizationConfig = Message<"ai.stigmer.commons.rpc.RpcAuthorizationConfig"> & {
|
|
20
20
|
/**
|
|
21
21
|
* Permission required to invoke the RPC.
|
|
22
22
|
*
|
|
23
|
-
* @generated from field: ai.stigmer.iam.
|
|
23
|
+
* @generated from field: ai.stigmer.iam.v1.IamPermission permission = 1;
|
|
24
24
|
*/
|
|
25
|
-
permission:
|
|
25
|
+
permission: IamPermission;
|
|
26
26
|
/**
|
|
27
27
|
* Resource kind that the permission is checked against.
|
|
28
28
|
*
|
|
@@ -59,7 +59,7 @@ export type RpcAuthorizationConfig = Message<"ai.stigmer.iam.iampolicy.v1.rpcaut
|
|
|
59
59
|
resourceId: string;
|
|
60
60
|
};
|
|
61
61
|
/**
|
|
62
|
-
* Describes the message ai.stigmer.
|
|
62
|
+
* Describes the message ai.stigmer.commons.rpc.RpcAuthorizationConfig.
|
|
63
63
|
* Use `create(RpcAuthorizationConfigSchema)` to create a new message.
|
|
64
64
|
*/
|
|
65
65
|
export declare const RpcAuthorizationConfigSchema: GenMessage<RpcAuthorizationConfig>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file ai/stigmer/commons/rpc/authorization_config.proto (package ai.stigmer.commons.rpc, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_commons_apiresource_apiresourcekind_api_resource_kind } from "../apiresource/apiresourcekind/api_resource_kind_pb";
|
|
6
|
+
import { file_ai_stigmer_iam_v1_enum } from "../../iam/v1/enum_pb";
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file ai/stigmer/commons/rpc/authorization_config.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_ai_stigmer_commons_rpc_authorization_config = /*@__PURE__*/ fileDesc("CjFhaS9zdGlnbWVyL2NvbW1vbnMvcnBjL2F1dGhvcml6YXRpb25fY29uZmlnLnByb3RvEhZhaS5zdGlnbWVyLmNvbW1vbnMucnBjIv4BChZScGNBdXRob3JpemF0aW9uQ29uZmlnEjQKCnBlcm1pc3Npb24YASABKA4yIC5haS5zdGlnbWVyLmlhbS52MS5JYW1QZXJtaXNzaW9uElYKDXJlc291cmNlX2tpbmQYAiABKA4yPy5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuYXBpcmVzb3VyY2VraW5kLkFwaVJlc291cmNlS2luZBIaChJyZXNvdXJjZV9raW5kX3BhdGgYAyABKAkSEgoKZmllbGRfcGF0aBgEIAEoCRIRCgllcnJvcl9tc2cYBSABKAkSEwoLcmVzb3VyY2VfaWQYBiABKAliBnByb3RvMw", [file_ai_stigmer_commons_apiresource_apiresourcekind_api_resource_kind, file_ai_stigmer_iam_v1_enum]);
|
|
11
|
+
/**
|
|
12
|
+
* Describes the message ai.stigmer.commons.rpc.RpcAuthorizationConfig.
|
|
13
|
+
* Use `create(RpcAuthorizationConfigSchema)` to create a new message.
|
|
14
|
+
*/
|
|
15
|
+
export const RpcAuthorizationConfigSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_commons_rpc_authorization_config, 0);
|
|
16
|
+
//# sourceMappingURL=authorization_config_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authorization_config_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/commons/rpc/authorization_config_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,yHAAyH;AACzH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,qEAAqE,EAAE,MAAM,qDAAqD,CAAC;AAE5I,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AAGnE;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAY,aAAa,CACpF,QAAQ,CAAC,wcAAwc,EAAE,CAAC,qEAAqE,EAAE,2BAA2B,CAAC,CAAC,CAAC;AA4D3jB;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAuC,aAAa,CAC3F,WAAW,CAAC,gDAAgD,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { GenExtension, GenFile } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
-
import type { RpcAuthorizationConfig } from "./
|
|
2
|
+
import type { RpcAuthorizationConfig } from "./authorization_config_pb";
|
|
3
3
|
import type { MethodOptions } from "@bufbuild/protobuf/wkt";
|
|
4
4
|
/**
|
|
5
|
-
* Describes the file ai/stigmer/
|
|
5
|
+
* Describes the file ai/stigmer/commons/rpc/method_options.proto.
|
|
6
6
|
*/
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const file_ai_stigmer_commons_rpc_method_options: GenFile;
|
|
8
8
|
/**
|
|
9
9
|
* Full authorization configuration: permission, resource kind, field path, and error message.
|
|
10
10
|
*
|
|
11
|
-
* @generated from extension: ai.stigmer.
|
|
11
|
+
* @generated from extension: ai.stigmer.commons.rpc.RpcAuthorizationConfig config = 50056;
|
|
12
12
|
*/
|
|
13
13
|
export declare const config: GenExtension<MethodOptions, RpcAuthorizationConfig>;
|
|
14
14
|
/**
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file ai/stigmer/commons/rpc/method_options.proto (package ai.stigmer.commons.rpc, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { extDesc, fileDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_commons_rpc_authorization_config } from "./authorization_config_pb";
|
|
6
|
+
import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file ai/stigmer/commons/rpc/method_options.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_ai_stigmer_commons_rpc_method_options = /*@__PURE__*/ fileDesc("CithaS9zdGlnbWVyL2NvbW1vbnMvcnBjL21ldGhvZF9vcHRpb25zLnByb3RvEhZhaS5zdGlnbWVyLmNvbW1vbnMucnBjOmgKBmNvbmZpZxIeLmdvb2dsZS5wcm90b2J1Zi5NZXRob2RPcHRpb25zGIiHAyABKAsyLi5haS5zdGlnbWVyLmNvbW1vbnMucnBjLlJwY0F1dGhvcml6YXRpb25Db25maWdSBmNvbmZpZzo9Cglpc19wdWJsaWMSHi5nb29nbGUucHJvdG9idWYuTWV0aG9kT3B0aW9ucxiJhwMgASgIUghpc1B1YmxpYzpUChVpc19za2lwX2F1dGhvcml6YXRpb24SHi5nb29nbGUucHJvdG9idWYuTWV0aG9kT3B0aW9ucxiKhwMgASgIUhNpc1NraXBBdXRob3JpemF0aW9uYgZwcm90bzM", [file_ai_stigmer_commons_rpc_authorization_config, file_google_protobuf_descriptor]);
|
|
11
|
+
/**
|
|
12
|
+
* Full authorization configuration: permission, resource kind, field path, and error message.
|
|
13
|
+
*
|
|
14
|
+
* @generated from extension: ai.stigmer.commons.rpc.RpcAuthorizationConfig config = 50056;
|
|
15
|
+
*/
|
|
16
|
+
export const config = /*@__PURE__*/ extDesc(file_ai_stigmer_commons_rpc_method_options, 0);
|
|
17
|
+
/**
|
|
18
|
+
* When true, the RPC is publicly accessible without any authentication.
|
|
19
|
+
*
|
|
20
|
+
* @generated from extension: bool is_public = 50057;
|
|
21
|
+
*/
|
|
22
|
+
export const is_public = /*@__PURE__*/ extDesc(file_ai_stigmer_commons_rpc_method_options, 1);
|
|
23
|
+
/**
|
|
24
|
+
* When true, the RPC requires authentication but skips FGA authorization checks.
|
|
25
|
+
*
|
|
26
|
+
* @generated from extension: bool is_skip_authorization = 50058;
|
|
27
|
+
*/
|
|
28
|
+
export const is_skip_authorization = /*@__PURE__*/ extDesc(file_ai_stigmer_commons_rpc_method_options, 2);
|
|
29
|
+
//# sourceMappingURL=method_options_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"method_options_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/commons/rpc/method_options_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,mHAAmH;AACnH,oBAAoB;AAGpB,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAEjE,OAAO,EAAE,gDAAgD,EAAE,MAAM,2BAA2B,CAAC;AAE7F,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAC;AAEzE;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,6bAA6b,EAAE,CAAC,gDAAgD,EAAE,+BAA+B,CAAC,CAAC,CAAC;AAE/hB;;;;GAIG;AACH,MAAM,CAAC,MAAM,MAAM,GAAwD,aAAa,CACtF,OAAO,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC;AAEzD;;;;GAIG;AACH,MAAM,CAAC,MAAM,SAAS,GAAyC,aAAa,CAC1E,OAAO,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC;AAEzD;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAyC,aAAa,CACtF,OAAO,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
5
|
import { file_ai_stigmer_commons_apiresource_rpc_service_options } from "../../../commons/apiresource/rpc_service_options_pb";
|
|
6
|
+
import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc/method_options_pb";
|
|
6
7
|
import { file_ai_stigmer_iam_apikey_v1_api } from "./api_pb";
|
|
7
8
|
import { file_ai_stigmer_iam_apikey_v1_io } from "./io_pb";
|
|
8
|
-
import { file_ai_stigmer_iam_iampolicy_v1_rpcauthorization_method_options } from "../../iampolicy/v1/rpcauthorization/method_options_pb";
|
|
9
9
|
/**
|
|
10
10
|
* Describes the file ai/stigmer/iam/apikey/v1/command.proto.
|
|
11
11
|
*/
|
|
12
|
-
export const file_ai_stigmer_iam_apikey_v1_command = /*@__PURE__*/ fileDesc("
|
|
12
|
+
export const file_ai_stigmer_iam_apikey_v1_command = /*@__PURE__*/ fileDesc("CiZhaS9zdGlnbWVyL2lhbS9hcGlrZXkvdjEvY29tbWFuZC5wcm90bxIYYWkuc3RpZ21lci5pYW0uYXBpa2V5LnYxMvoCChdBcGlLZXlDb21tYW5kQ29udHJvbGxlchJSCgZjcmVhdGUSIC5haS5zdGlnbWVyLmlhbS5hcGlrZXkudjEuQXBpS2V5GiAuYWkuc3RpZ21lci5pYW0uYXBpa2V5LnYxLkFwaUtleSIE0LgYARKDAQoGdXBkYXRlEiAuYWkuc3RpZ21lci5pYW0uYXBpa2V5LnYxLkFwaUtleRogLmFpLnN0aWdtZXIuaWFtLmFwaWtleS52MS5BcGlLZXkiNcK4GDEIAhAMIgttZXRhZGF0YS5pZCoedW5hdXRob3JpemVkIHRvIHVwZGF0ZSBhcGkga2V5En8KBmRlbGV0ZRIiLmFpLnN0aWdtZXIuaWFtLmFwaWtleS52MS5BcGlLZXlJZBogLmFpLnN0aWdtZXIuaWFtLmFwaWtleS52MS5BcGlLZXkiL8K4GCsIAxAMIgV2YWx1ZSoedW5hdXRob3JpemVkIHRvIGRlbGV0ZSBhcGkga2V5GgSg/ysMYgZwcm90bzM", [file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options, file_ai_stigmer_iam_apikey_v1_api, file_ai_stigmer_iam_apikey_v1_io]);
|
|
13
13
|
/**
|
|
14
14
|
* ApiKeyCommandController handles write operations for API keys.
|
|
15
15
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/apikey/v1/command_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,gHAAgH;AAChH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,uDAAuD,EAAE,MAAM,qDAAqD,CAAC;
|
|
1
|
+
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/apikey/v1/command_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,gHAAgH;AAChH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,uDAAuD,EAAE,MAAM,qDAAqD,CAAC;AAC9H,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AAEpG,OAAO,EAAE,iCAAiC,EAAE,MAAM,UAAU,CAAC;AAE7D,OAAO,EAAE,gCAAgC,EAAE,MAAM,SAAS,CAAC;AAE3D;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAY,aAAa,CACzE,QAAQ,CAAC,imBAAimB,EAAE,CAAC,uDAAuD,EAAE,0CAA0C,EAAE,iCAAiC,EAAE,gCAAgC,CAAC,CAAC,CAAC;AAE1xB;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GA2C/B,aAAa,CAChB,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
5
|
import { file_ai_stigmer_commons_apiresource_rpc_service_options } from "../../../commons/apiresource/rpc_service_options_pb";
|
|
6
|
+
import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc/method_options_pb";
|
|
6
7
|
import { file_ai_stigmer_iam_apikey_v1_api } from "./api_pb";
|
|
7
8
|
import { file_ai_stigmer_iam_apikey_v1_io } from "./io_pb";
|
|
8
|
-
import { file_ai_stigmer_iam_iampolicy_v1_rpcauthorization_method_options } from "../../iampolicy/v1/rpcauthorization/method_options_pb";
|
|
9
9
|
import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
|
10
10
|
/**
|
|
11
11
|
* Describes the file ai/stigmer/iam/apikey/v1/query.proto.
|
|
12
12
|
*/
|
|
13
|
-
export const file_ai_stigmer_iam_apikey_v1_query = /*@__PURE__*/ fileDesc("
|
|
13
|
+
export const file_ai_stigmer_iam_apikey_v1_query = /*@__PURE__*/ fileDesc("CiRhaS9zdGlnbWVyL2lhbS9hcGlrZXkvdjEvcXVlcnkucHJvdG8SGGFpLnN0aWdtZXIuaWFtLmFwaWtleS52MTLDAgoVQXBpS2V5UXVlcnlDb250cm9sbGVyEnoKA2dldBIiLmFpLnN0aWdtZXIuaWFtLmFwaWtleS52MS5BcGlLZXlJZBogLmFpLnN0aWdtZXIuaWFtLmFwaWtleS52MS5BcGlLZXkiLcK4GCkIARAMIgV2YWx1ZSocdW5hdXRob3JpemVkIHRvIHZpZXcgYXBpIGtleRJcCgxnZXRCeUtleUhhc2gSJC5haS5zdGlnbWVyLmlhbS5hcGlrZXkudjEuQXBpS2V5SGFzaBogLmFpLnN0aWdtZXIuaWFtLmFwaWtleS52MS5BcGlLZXkiBNC4GAESSgoHZmluZEFsbBIWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRohLmFpLnN0aWdtZXIuaWFtLmFwaWtleS52MS5BcGlLZXlzIgTQuBgBGgSg/ysMYgZwcm90bzM", [file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options, file_ai_stigmer_iam_apikey_v1_api, file_ai_stigmer_iam_apikey_v1_io, file_google_protobuf_empty]);
|
|
14
14
|
/**
|
|
15
15
|
* ApiKeyQueryController handles read operations for API keys.
|
|
16
16
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/apikey/v1/query_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,8GAA8G;AAC9G,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,uDAAuD,EAAE,MAAM,qDAAqD,CAAC;
|
|
1
|
+
{"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/apikey/v1/query_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,8GAA8G;AAC9G,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,uDAAuD,EAAE,MAAM,qDAAqD,CAAC;AAC9H,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AAEpG,OAAO,EAAE,iCAAiC,EAAE,MAAM,UAAU,CAAC;AAE7D,OAAO,EAAE,gCAAgC,EAAE,MAAM,SAAS,CAAC;AAE3D,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAEpE;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAY,aAAa,CACvE,QAAQ,CAAC,qhBAAqhB,EAAE,CAAC,uDAAuD,EAAE,0CAA0C,EAAE,iCAAiC,EAAE,gCAAgC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAE1uB;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAwC7B,aAAa,CAChB,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -186,5 +186,38 @@ export declare const IamPolicyCommandController: {
|
|
|
186
186
|
readonly O: any;
|
|
187
187
|
readonly kind: any;
|
|
188
188
|
};
|
|
189
|
+
/**
|
|
190
|
+
* Revoke all of a user's access to an organization.
|
|
191
|
+
*
|
|
192
|
+
* Removes every IAM policy that grants the specified identity account access to
|
|
193
|
+
* resources within the given organization, including policies on the organization
|
|
194
|
+
* itself and on child resources (environments, agents, etc.).
|
|
195
|
+
*
|
|
196
|
+
* @internal
|
|
197
|
+
* The operation:
|
|
198
|
+
* 1. Validates the input (identity_account_id and organization_id are present)
|
|
199
|
+
* 2. Authorizes caller (can_grant_access on the organization)
|
|
200
|
+
* 3. Loads all policies where the user is principal within the org scope
|
|
201
|
+
* 4. Deletes all matching policies from MongoDB
|
|
202
|
+
* 5. Removes all corresponding tuples from OpenFGA
|
|
203
|
+
*
|
|
204
|
+
* Authorization:
|
|
205
|
+
* - Caller must have 'can_grant_access' permission on the organization
|
|
206
|
+
*
|
|
207
|
+
* Use Cases:
|
|
208
|
+
* - Removing a member from an organization
|
|
209
|
+
* - Offboarding a user from all org resources in one operation
|
|
210
|
+
*
|
|
211
|
+
* Input: RevokeOrgAccessInput with identity_account_id and organization_id
|
|
212
|
+
* Output: Empty (google.protobuf.Empty)
|
|
213
|
+
*
|
|
214
|
+
* @generated from rpc ai.stigmer.iam.iampolicy.v1.IamPolicyCommandController.revokeOrgAccess
|
|
215
|
+
*/
|
|
216
|
+
readonly revokeOrgAccess: {
|
|
217
|
+
readonly name: "revokeOrgAccess";
|
|
218
|
+
readonly I: any;
|
|
219
|
+
readonly O: any;
|
|
220
|
+
readonly kind: any;
|
|
221
|
+
};
|
|
189
222
|
};
|
|
190
223
|
};
|
|
@@ -191,6 +191,39 @@ export const IamPolicyCommandController = {
|
|
|
191
191
|
O: Empty,
|
|
192
192
|
kind: MethodKind.Unary,
|
|
193
193
|
},
|
|
194
|
+
/**
|
|
195
|
+
* Revoke all of a user's access to an organization.
|
|
196
|
+
*
|
|
197
|
+
* Removes every IAM policy that grants the specified identity account access to
|
|
198
|
+
* resources within the given organization, including policies on the organization
|
|
199
|
+
* itself and on child resources (environments, agents, etc.).
|
|
200
|
+
*
|
|
201
|
+
* @internal
|
|
202
|
+
* The operation:
|
|
203
|
+
* 1. Validates the input (identity_account_id and organization_id are present)
|
|
204
|
+
* 2. Authorizes caller (can_grant_access on the organization)
|
|
205
|
+
* 3. Loads all policies where the user is principal within the org scope
|
|
206
|
+
* 4. Deletes all matching policies from MongoDB
|
|
207
|
+
* 5. Removes all corresponding tuples from OpenFGA
|
|
208
|
+
*
|
|
209
|
+
* Authorization:
|
|
210
|
+
* - Caller must have 'can_grant_access' permission on the organization
|
|
211
|
+
*
|
|
212
|
+
* Use Cases:
|
|
213
|
+
* - Removing a member from an organization
|
|
214
|
+
* - Offboarding a user from all org resources in one operation
|
|
215
|
+
*
|
|
216
|
+
* Input: RevokeOrgAccessInput with identity_account_id and organization_id
|
|
217
|
+
* Output: Empty (google.protobuf.Empty)
|
|
218
|
+
*
|
|
219
|
+
* @generated from rpc ai.stigmer.iam.iampolicy.v1.IamPolicyCommandController.revokeOrgAccess
|
|
220
|
+
*/
|
|
221
|
+
revokeOrgAccess: {
|
|
222
|
+
name: "revokeOrgAccess",
|
|
223
|
+
I: RevokeOrgAccessInput,
|
|
224
|
+
O: Empty,
|
|
225
|
+
kind: MethodKind.Unary,
|
|
226
|
+
},
|
|
194
227
|
}
|
|
195
228
|
};
|
|
196
229
|
//# sourceMappingURL=command_connect.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/iampolicy/v1/command_connect.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,sHAAsH;AACtH,oBAAoB;AACpB,cAAc;AAId,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/iampolicy/v1/command_connect.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,sHAAsH;AACtH,oBAAoB;AACpB,cAAc;AAId,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGvD;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,QAAQ,EAAE,wDAAwD;IAClE,OAAO,EAAE;QACP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA8BG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,aAAa;YAChB,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAgCG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,aAAa;YAChB,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA0CG;QACH,eAAe,EAAE;YACf,IAAI,EAAE,iBAAiB;YACvB,CAAC,EAAE,aAAa;YAChB,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAkCG;QACH,uBAAuB,EAAE;YACvB,IAAI,EAAE,yBAAyB;YAC/B,CAAC,EAAE,cAAc;YACjB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;WA0BG;QACH,eAAe,EAAE;YACf,IAAI,EAAE,iBAAiB;YACvB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
2
|
import type { IamPolicySchema } from "./api_pb";
|
|
3
|
+
import type { RevokeOrgAccessInputSchema } from "./io_pb";
|
|
3
4
|
import type { ApiResourceRefSchema, IamPolicySpecSchema } from "./spec_pb";
|
|
4
5
|
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
5
6
|
/**
|
|
@@ -188,4 +189,36 @@ export declare const IamPolicyCommandController: GenService<{
|
|
|
188
189
|
input: typeof ApiResourceRefSchema;
|
|
189
190
|
output: typeof EmptySchema;
|
|
190
191
|
};
|
|
192
|
+
/**
|
|
193
|
+
* Revoke all of a user's access to an organization.
|
|
194
|
+
*
|
|
195
|
+
* Removes every IAM policy that grants the specified identity account access to
|
|
196
|
+
* resources within the given organization, including policies on the organization
|
|
197
|
+
* itself and on child resources (environments, agents, etc.).
|
|
198
|
+
*
|
|
199
|
+
* @internal
|
|
200
|
+
* The operation:
|
|
201
|
+
* 1. Validates the input (identity_account_id and organization_id are present)
|
|
202
|
+
* 2. Authorizes caller (can_grant_access on the organization)
|
|
203
|
+
* 3. Loads all policies where the user is principal within the org scope
|
|
204
|
+
* 4. Deletes all matching policies from MongoDB
|
|
205
|
+
* 5. Removes all corresponding tuples from OpenFGA
|
|
206
|
+
*
|
|
207
|
+
* Authorization:
|
|
208
|
+
* - Caller must have 'can_grant_access' permission on the organization
|
|
209
|
+
*
|
|
210
|
+
* Use Cases:
|
|
211
|
+
* - Removing a member from an organization
|
|
212
|
+
* - Offboarding a user from all org resources in one operation
|
|
213
|
+
*
|
|
214
|
+
* Input: RevokeOrgAccessInput with identity_account_id and organization_id
|
|
215
|
+
* Output: Empty (google.protobuf.Empty)
|
|
216
|
+
*
|
|
217
|
+
* @generated from rpc ai.stigmer.iam.iampolicy.v1.IamPolicyCommandController.revokeOrgAccess
|
|
218
|
+
*/
|
|
219
|
+
revokeOrgAccess: {
|
|
220
|
+
methodKind: "unary";
|
|
221
|
+
input: typeof RevokeOrgAccessInputSchema;
|
|
222
|
+
output: typeof EmptySchema;
|
|
223
|
+
};
|
|
191
224
|
}>;
|
|
@@ -3,14 +3,15 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
5
|
import { file_ai_stigmer_commons_apiresource_rpc_service_options } from "../../../commons/apiresource/rpc_service_options_pb";
|
|
6
|
+
import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc/method_options_pb";
|
|
6
7
|
import { file_ai_stigmer_iam_iampolicy_v1_api } from "./api_pb";
|
|
7
|
-
import {
|
|
8
|
+
import { file_ai_stigmer_iam_iampolicy_v1_io } from "./io_pb";
|
|
8
9
|
import { file_ai_stigmer_iam_iampolicy_v1_spec } from "./spec_pb";
|
|
9
10
|
import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
|
10
11
|
/**
|
|
11
12
|
* Describes the file ai/stigmer/iam/iampolicy/v1/command.proto.
|
|
12
13
|
*/
|
|
13
|
-
export const file_ai_stigmer_iam_iampolicy_v1_command = /*@__PURE__*/ fileDesc("
|
|
14
|
+
export const file_ai_stigmer_iam_iampolicy_v1_command = /*@__PURE__*/ fileDesc("CilhaS9zdGlnbWVyL2lhbS9pYW1wb2xpY3kvdjEvY29tbWFuZC5wcm90bxIbYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxMswGChpJYW1Qb2xpY3lDb21tYW5kQ29udHJvbGxlchKCAQoGY3JlYXRlEiouYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLklhbVBvbGljeVNwZWMaJi5haS5zdGlnbWVyLmlhbS5pYW1wb2xpY3kudjEuSWFtUG9saWN5IiTCuBggCAQqHHVuYXV0aG9yaXplZCB0byBncmFudCBhY2Nlc3MSgwEKBmRlbGV0ZRIqLmFpLnN0aWdtZXIuaWFtLmlhbXBvbGljeS52MS5JYW1Qb2xpY3lTcGVjGiYuYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLklhbVBvbGljeSIlwrgYIQgEKh11bmF1dGhvcml6ZWQgdG8gcmV2b2tlIGFjY2VzcxLCAQoPYm9vdHN0cmFwUG9saWN5EiouYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLklhbVBvbGljeVNwZWMaJi5haS5zdGlnbWVyLmlhbS5pYW1wb2xpY3kudjEuSWFtUG9saWN5IlvCuBhXCBEQHypIdW5hdXRob3JpemVkIHRvIGJvb3RzdHJhcCBwb2xpY3kgLSBjYW5fYm9vdHN0cmFwX2lhbSBwZXJtaXNzaW9uIHJlcXVpcmVkMgdzdGlnbWVyEsQBChdjbGVhbnVwUmVzb3VyY2VQb2xpY2llcxIrLmFpLnN0aWdtZXIuaWFtLmlhbXBvbGljeS52MS5BcGlSZXNvdXJjZVJlZhoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eSJkwrgYYAgREB8qUXVuYXV0aG9yaXplZCB0byBjbGVhbnVwIHJlc291cmNlIHBvbGljaWVzIC0gY2FuX2Jvb3RzdHJhcF9pYW0gcGVybWlzc2lvbiByZXF1aXJlZDIHc3RpZ21lchKQAQoPcmV2b2tlT3JnQWNjZXNzEjEuYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLlJldm9rZU9yZ0FjY2Vzc0lucHV0GhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5IjLCuBguCAQqKnVuYXV0aG9yaXplZCB0byByZXZva2Ugb3JnYW5pemF0aW9uIGFjY2VzcxoEoP8rCmIGcHJvdG8z", [file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options, file_ai_stigmer_iam_iampolicy_v1_api, file_ai_stigmer_iam_iampolicy_v1_io, file_ai_stigmer_iam_iampolicy_v1_spec, file_google_protobuf_empty]);
|
|
14
15
|
/**
|
|
15
16
|
* IAM Policy Command Controller
|
|
16
17
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/iampolicy/v1/command_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,sHAAsH;AACtH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,uDAAuD,EAAE,MAAM,qDAAqD,CAAC;
|
|
1
|
+
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/iampolicy/v1/command_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,sHAAsH;AACtH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,uDAAuD,EAAE,MAAM,qDAAqD,CAAC;AAC9H,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AAEpG,OAAO,EAAE,oCAAoC,EAAE,MAAM,UAAU,CAAC;AAEhE,OAAO,EAAE,mCAAmC,EAAE,MAAM,SAAS,CAAC;AAE9D,OAAO,EAAE,qCAAqC,EAAE,MAAM,WAAW,CAAC;AAElE,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAEpE;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,stCAAstC,EAAE,CAAC,uDAAuD,EAAE,0CAA0C,EAAE,oCAAoC,EAAE,mCAAmC,EAAE,qCAAqC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAEx9C;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAmMlC,aAAa,CAChB,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -92,5 +92,71 @@ export declare const IamPolicyQueryController: {
|
|
|
92
92
|
readonly O: any;
|
|
93
93
|
readonly kind: any;
|
|
94
94
|
};
|
|
95
|
+
/**
|
|
96
|
+
* List all principals and their roles on a resource, grouped by principal.
|
|
97
|
+
*
|
|
98
|
+
* This RPC answers: "Who has access to this resource, and what roles do they have?"
|
|
99
|
+
* Returns each principal with full display information and all their role grants,
|
|
100
|
+
* optionally including roles inherited from parent resources.
|
|
101
|
+
*
|
|
102
|
+
* Use Cases:
|
|
103
|
+
* - Organization members page (show all users and their roles)
|
|
104
|
+
* - Resource "Share" dialog (show who already has access)
|
|
105
|
+
* - Access audit views
|
|
106
|
+
*
|
|
107
|
+
* Input: ListResourceAccessInput with resource ref and include_inherited flag
|
|
108
|
+
* Output: ResourceAccessByPrincipalList with PrincipalAccess entries
|
|
109
|
+
*
|
|
110
|
+
* @generated from rpc ai.stigmer.iam.iampolicy.v1.IamPolicyQueryController.listResourceAccessByPrincipal
|
|
111
|
+
*/
|
|
112
|
+
readonly listResourceAccessByPrincipal: {
|
|
113
|
+
readonly name: "listResourceAccessByPrincipal";
|
|
114
|
+
readonly I: any;
|
|
115
|
+
readonly O: any;
|
|
116
|
+
readonly kind: any;
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Get all roles a specific principal has on a specific resource.
|
|
120
|
+
*
|
|
121
|
+
* This RPC answers: "What roles does [principal] have on [resource]?"
|
|
122
|
+
* Returns role metadata (code, display name, description) for each assigned role.
|
|
123
|
+
*
|
|
124
|
+
* Use Cases:
|
|
125
|
+
* - Displaying a user's current role in a resource detail view
|
|
126
|
+
* - Pre-populating role selectors when editing access
|
|
127
|
+
* - Permission summary for a specific user-resource pair
|
|
128
|
+
*
|
|
129
|
+
* Input: PrincipalResourceInput with principal and resource refs
|
|
130
|
+
* Output: PrincipalResourceRoles with list of RoleInfo entries
|
|
131
|
+
*
|
|
132
|
+
* @generated from rpc ai.stigmer.iam.iampolicy.v1.IamPolicyQueryController.getPrincipalResourceRoles
|
|
133
|
+
*/
|
|
134
|
+
readonly getPrincipalResourceRoles: {
|
|
135
|
+
readonly name: "getPrincipalResourceRoles";
|
|
136
|
+
readonly I: any;
|
|
137
|
+
readonly O: any;
|
|
138
|
+
readonly kind: any;
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* Count distinct principals that have access to a resource.
|
|
142
|
+
*
|
|
143
|
+
* This RPC answers: "How many [principal-kind] have access to this organization?"
|
|
144
|
+
* Used for member count badges and summary statistics.
|
|
145
|
+
*
|
|
146
|
+
* Use Cases:
|
|
147
|
+
* - Organization members count badge in navigation
|
|
148
|
+
* - Settings page member summary
|
|
149
|
+
*
|
|
150
|
+
* Input: GetPrincipalsCountInput with org_id and principal_kind
|
|
151
|
+
* Output: PrincipalsCount with integer count
|
|
152
|
+
*
|
|
153
|
+
* @generated from rpc ai.stigmer.iam.iampolicy.v1.IamPolicyQueryController.getPrincipalsCount
|
|
154
|
+
*/
|
|
155
|
+
readonly getPrincipalsCount: {
|
|
156
|
+
readonly name: "getPrincipalsCount";
|
|
157
|
+
readonly I: any;
|
|
158
|
+
readonly O: any;
|
|
159
|
+
readonly kind: any;
|
|
160
|
+
};
|
|
95
161
|
};
|
|
96
162
|
};
|
|
@@ -97,6 +97,72 @@ export const IamPolicyQueryController = {
|
|
|
97
97
|
O: AuthorizedPrincipalIdsList,
|
|
98
98
|
kind: MethodKind.Unary,
|
|
99
99
|
},
|
|
100
|
+
/**
|
|
101
|
+
* List all principals and their roles on a resource, grouped by principal.
|
|
102
|
+
*
|
|
103
|
+
* This RPC answers: "Who has access to this resource, and what roles do they have?"
|
|
104
|
+
* Returns each principal with full display information and all their role grants,
|
|
105
|
+
* optionally including roles inherited from parent resources.
|
|
106
|
+
*
|
|
107
|
+
* Use Cases:
|
|
108
|
+
* - Organization members page (show all users and their roles)
|
|
109
|
+
* - Resource "Share" dialog (show who already has access)
|
|
110
|
+
* - Access audit views
|
|
111
|
+
*
|
|
112
|
+
* Input: ListResourceAccessInput with resource ref and include_inherited flag
|
|
113
|
+
* Output: ResourceAccessByPrincipalList with PrincipalAccess entries
|
|
114
|
+
*
|
|
115
|
+
* @generated from rpc ai.stigmer.iam.iampolicy.v1.IamPolicyQueryController.listResourceAccessByPrincipal
|
|
116
|
+
*/
|
|
117
|
+
listResourceAccessByPrincipal: {
|
|
118
|
+
name: "listResourceAccessByPrincipal",
|
|
119
|
+
I: ListResourceAccessInput,
|
|
120
|
+
O: ResourceAccessByPrincipalList,
|
|
121
|
+
kind: MethodKind.Unary,
|
|
122
|
+
},
|
|
123
|
+
/**
|
|
124
|
+
* Get all roles a specific principal has on a specific resource.
|
|
125
|
+
*
|
|
126
|
+
* This RPC answers: "What roles does [principal] have on [resource]?"
|
|
127
|
+
* Returns role metadata (code, display name, description) for each assigned role.
|
|
128
|
+
*
|
|
129
|
+
* Use Cases:
|
|
130
|
+
* - Displaying a user's current role in a resource detail view
|
|
131
|
+
* - Pre-populating role selectors when editing access
|
|
132
|
+
* - Permission summary for a specific user-resource pair
|
|
133
|
+
*
|
|
134
|
+
* Input: PrincipalResourceInput with principal and resource refs
|
|
135
|
+
* Output: PrincipalResourceRoles with list of RoleInfo entries
|
|
136
|
+
*
|
|
137
|
+
* @generated from rpc ai.stigmer.iam.iampolicy.v1.IamPolicyQueryController.getPrincipalResourceRoles
|
|
138
|
+
*/
|
|
139
|
+
getPrincipalResourceRoles: {
|
|
140
|
+
name: "getPrincipalResourceRoles",
|
|
141
|
+
I: PrincipalResourceInput,
|
|
142
|
+
O: PrincipalResourceRoles,
|
|
143
|
+
kind: MethodKind.Unary,
|
|
144
|
+
},
|
|
145
|
+
/**
|
|
146
|
+
* Count distinct principals that have access to a resource.
|
|
147
|
+
*
|
|
148
|
+
* This RPC answers: "How many [principal-kind] have access to this organization?"
|
|
149
|
+
* Used for member count badges and summary statistics.
|
|
150
|
+
*
|
|
151
|
+
* Use Cases:
|
|
152
|
+
* - Organization members count badge in navigation
|
|
153
|
+
* - Settings page member summary
|
|
154
|
+
*
|
|
155
|
+
* Input: GetPrincipalsCountInput with org_id and principal_kind
|
|
156
|
+
* Output: PrincipalsCount with integer count
|
|
157
|
+
*
|
|
158
|
+
* @generated from rpc ai.stigmer.iam.iampolicy.v1.IamPolicyQueryController.getPrincipalsCount
|
|
159
|
+
*/
|
|
160
|
+
getPrincipalsCount: {
|
|
161
|
+
name: "getPrincipalsCount",
|
|
162
|
+
I: GetPrincipalsCountInput,
|
|
163
|
+
O: PrincipalsCount,
|
|
164
|
+
kind: MethodKind.Unary,
|
|
165
|
+
},
|
|
100
166
|
}
|
|
101
167
|
};
|
|
102
168
|
//# sourceMappingURL=query_connect.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/iampolicy/v1/query_connect.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,oHAAoH;AACpH,oBAAoB;AACpB,cAAc;AAId,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,QAAQ,EAAE,sDAAsD;IAChE,OAAO,EAAE;QACP;;;;;;;;;WASG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,WAAW;YACd,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;WAmBG;QACH,kBAAkB,EAAE;YAClB,IAAI,EAAE,oBAAoB;YAC1B,CAAC,EAAE,uBAAuB;YAC1B,CAAC,EAAE,wBAAwB;YAC3B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;WAeG;QACH,yBAAyB,EAAE;YACzB,IAAI,EAAE,2BAA2B;YACjC,CAAC,EAAE,8BAA8B;YACjC,CAAC,EAAE,yBAAyB;YAC5B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;WAeG;QACH,0BAA0B,EAAE;YAC1B,IAAI,EAAE,4BAA4B;YAClC,CAAC,EAAE,+BAA+B;YAClC,CAAC,EAAE,0BAA0B;YAC7B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
1
|
+
{"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/iampolicy/v1/query_connect.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,oHAAoH;AACpH,oBAAoB;AACpB,cAAc;AAId,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,QAAQ,EAAE,sDAAsD;IAChE,OAAO,EAAE;QACP;;;;;;;;;WASG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,WAAW;YACd,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;WAmBG;QACH,kBAAkB,EAAE;YAClB,IAAI,EAAE,oBAAoB;YAC1B,CAAC,EAAE,uBAAuB;YAC1B,CAAC,EAAE,wBAAwB;YAC3B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;WAeG;QACH,yBAAyB,EAAE;YACzB,IAAI,EAAE,2BAA2B;YACjC,CAAC,EAAE,8BAA8B;YACjC,CAAC,EAAE,yBAAyB;YAC5B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;WAeG;QACH,0BAA0B,EAAE;YAC1B,IAAI,EAAE,4BAA4B;YAClC,CAAC,EAAE,+BAA+B;YAClC,CAAC,EAAE,0BAA0B;YAC7B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;WAgBG;QACH,6BAA6B,EAAE;YAC7B,IAAI,EAAE,+BAA+B;YACrC,CAAC,EAAE,uBAAuB;YAC1B,CAAC,EAAE,6BAA6B;YAChC,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;WAeG;QACH,yBAAyB,EAAE;YACzB,IAAI,EAAE,2BAA2B;YACjC,CAAC,EAAE,sBAAsB;YACzB,CAAC,EAAE,sBAAsB;YACzB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;WAcG;QACH,kBAAkB,EAAE;YAClB,IAAI,EAAE,oBAAoB;YAC1B,CAAC,EAAE,uBAAuB;YAC1B,CAAC,EAAE,eAAe;YAClB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|