@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,6 +1,6 @@
|
|
|
1
1
|
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
2
|
import type { IamPolicySchema } from "./api_pb";
|
|
3
|
-
import type { AuthorizedPrincipalIdsListSchema, AuthorizedResourceIdsListSchema, CheckAuthorizationInputSchema, CheckAuthorizationResultSchema, IamPolicyIdSchema, ListAuthorizedPrincipalIdsInputSchema, ListAuthorizedResourceIdsInputSchema } from "./io_pb";
|
|
3
|
+
import type { AuthorizedPrincipalIdsListSchema, AuthorizedResourceIdsListSchema, CheckAuthorizationInputSchema, CheckAuthorizationResultSchema, GetPrincipalsCountInputSchema, IamPolicyIdSchema, ListAuthorizedPrincipalIdsInputSchema, ListAuthorizedResourceIdsInputSchema, ListResourceAccessInputSchema, PrincipalResourceInputSchema, PrincipalResourceRolesSchema, PrincipalsCountSchema, ResourceAccessByPrincipalListSchema } from "./io_pb";
|
|
4
4
|
/**
|
|
5
5
|
* Describes the file ai/stigmer/iam/iampolicy/v1/query.proto.
|
|
6
6
|
*/
|
|
@@ -93,4 +93,67 @@ export declare const IamPolicyQueryController: GenService<{
|
|
|
93
93
|
input: typeof ListAuthorizedPrincipalIdsInputSchema;
|
|
94
94
|
output: typeof AuthorizedPrincipalIdsListSchema;
|
|
95
95
|
};
|
|
96
|
+
/**
|
|
97
|
+
* List all principals and their roles on a resource, grouped by principal.
|
|
98
|
+
*
|
|
99
|
+
* This RPC answers: "Who has access to this resource, and what roles do they have?"
|
|
100
|
+
* Returns each principal with full display information and all their role grants,
|
|
101
|
+
* optionally including roles inherited from parent resources.
|
|
102
|
+
*
|
|
103
|
+
* Use Cases:
|
|
104
|
+
* - Organization members page (show all users and their roles)
|
|
105
|
+
* - Resource "Share" dialog (show who already has access)
|
|
106
|
+
* - Access audit views
|
|
107
|
+
*
|
|
108
|
+
* Input: ListResourceAccessInput with resource ref and include_inherited flag
|
|
109
|
+
* Output: ResourceAccessByPrincipalList with PrincipalAccess entries
|
|
110
|
+
*
|
|
111
|
+
* @generated from rpc ai.stigmer.iam.iampolicy.v1.IamPolicyQueryController.listResourceAccessByPrincipal
|
|
112
|
+
*/
|
|
113
|
+
listResourceAccessByPrincipal: {
|
|
114
|
+
methodKind: "unary";
|
|
115
|
+
input: typeof ListResourceAccessInputSchema;
|
|
116
|
+
output: typeof ResourceAccessByPrincipalListSchema;
|
|
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
|
+
getPrincipalResourceRoles: {
|
|
135
|
+
methodKind: "unary";
|
|
136
|
+
input: typeof PrincipalResourceInputSchema;
|
|
137
|
+
output: typeof PrincipalResourceRolesSchema;
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* Count distinct principals that have access to a resource.
|
|
141
|
+
*
|
|
142
|
+
* This RPC answers: "How many [principal-kind] have access to this organization?"
|
|
143
|
+
* Used for member count badges and summary statistics.
|
|
144
|
+
*
|
|
145
|
+
* Use Cases:
|
|
146
|
+
* - Organization members count badge in navigation
|
|
147
|
+
* - Settings page member summary
|
|
148
|
+
*
|
|
149
|
+
* Input: GetPrincipalsCountInput with org_id and principal_kind
|
|
150
|
+
* Output: PrincipalsCount with integer count
|
|
151
|
+
*
|
|
152
|
+
* @generated from rpc ai.stigmer.iam.iampolicy.v1.IamPolicyQueryController.getPrincipalsCount
|
|
153
|
+
*/
|
|
154
|
+
getPrincipalsCount: {
|
|
155
|
+
methodKind: "unary";
|
|
156
|
+
input: typeof GetPrincipalsCountInputSchema;
|
|
157
|
+
output: typeof PrincipalsCountSchema;
|
|
158
|
+
};
|
|
96
159
|
}>;
|
|
@@ -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_iampolicy_v1_api } from "./api_pb";
|
|
7
8
|
import { file_ai_stigmer_iam_iampolicy_v1_io } from "./io_pb";
|
|
8
|
-
import { file_ai_stigmer_iam_iampolicy_v1_rpcauthorization_method_options } from "./rpcauthorization/method_options_pb";
|
|
9
9
|
/**
|
|
10
10
|
* Describes the file ai/stigmer/iam/iampolicy/v1/query.proto.
|
|
11
11
|
*/
|
|
12
|
-
export const file_ai_stigmer_iam_iampolicy_v1_query = /*@__PURE__*/ fileDesc("
|
|
12
|
+
export const file_ai_stigmer_iam_iampolicy_v1_query = /*@__PURE__*/ fileDesc("CidhaS9zdGlnbWVyL2lhbS9pYW1wb2xpY3kvdjEvcXVlcnkucHJvdG8SG2FpLnN0aWdtZXIuaWFtLmlhbXBvbGljeS52MTLqCQoYSWFtUG9saWN5UXVlcnlDb250cm9sbGVyEoUBCgNnZXQSKC5haS5zdGlnbWVyLmlhbS5pYW1wb2xpY3kudjEuSWFtUG9saWN5SWQaJi5haS5zdGlnbWVyLmlhbS5pYW1wb2xpY3kudjEuSWFtUG9saWN5IizCuBgoCAUqJHVuYXV0aG9yaXplZCB0byB2aWV3IGFjY2VzcyBwb2xpY2llcxKHAQoSY2hlY2tBdXRob3JpemF0aW9uEjQuYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLkNoZWNrQXV0aG9yaXphdGlvbklucHV0GjUuYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLkNoZWNrQXV0aG9yaXphdGlvblJlc3VsdCIE0LgYARLGAQoZbGlzdEF1dGhvcml6ZWRSZXNvdXJjZUlkcxI7LmFpLnN0aWdtZXIuaWFtLmlhbXBvbGljeS52MS5MaXN0QXV0aG9yaXplZFJlc291cmNlSWRzSW5wdXQaNi5haS5zdGlnbWVyLmlhbS5pYW1wb2xpY3kudjEuQXV0aG9yaXplZFJlc291cmNlSWRzTGlzdCI0wrgYMAgFKix1bmF1dGhvcml6ZWQgdG8gdmlldyBhdXRob3JpemVkIHJlc291cmNlIGlkcxLKAQoabGlzdEF1dGhvcml6ZWRQcmluY2lwYWxJZHMSPC5haS5zdGlnbWVyLmlhbS5pYW1wb2xpY3kudjEuTGlzdEF1dGhvcml6ZWRQcmluY2lwYWxJZHNJbnB1dBo3LmFpLnN0aWdtZXIuaWFtLmlhbXBvbGljeS52MS5BdXRob3JpemVkUHJpbmNpcGFsSWRzTGlzdCI1wrgYMQgFKi11bmF1dGhvcml6ZWQgdG8gdmlldyBhdXRob3JpemVkIHByaW5jaXBhbCBpZHMSvwEKHWxpc3RSZXNvdXJjZUFjY2Vzc0J5UHJpbmNpcGFsEjQuYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLkxpc3RSZXNvdXJjZUFjY2Vzc0lucHV0GjouYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLlJlc291cmNlQWNjZXNzQnlQcmluY2lwYWxMaXN0IizCuBgoCAUqJHVuYXV0aG9yaXplZCB0byB2aWV3IHJlc291cmNlIGFjY2VzcxKzAQoZZ2V0UHJpbmNpcGFsUmVzb3VyY2VSb2xlcxIzLmFpLnN0aWdtZXIuaWFtLmlhbXBvbGljeS52MS5QcmluY2lwYWxSZXNvdXJjZUlucHV0GjMuYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLlByaW5jaXBhbFJlc291cmNlUm9sZXMiLMK4GCgIBSokdW5hdXRob3JpemVkIHRvIHZpZXcgcHJpbmNpcGFsIHJvbGVzEqcBChJnZXRQcmluY2lwYWxzQ291bnQSNC5haS5zdGlnbWVyLmlhbS5pYW1wb2xpY3kudjEuR2V0UHJpbmNpcGFsc0NvdW50SW5wdXQaLC5haS5zdGlnbWVyLmlhbS5pYW1wb2xpY3kudjEuUHJpbmNpcGFsc0NvdW50Ii3CuBgpCAUqJXVuYXV0aG9yaXplZCB0byB2aWV3IHByaW5jaXBhbHMgY291bnQaBKD/KwpiBnByb3RvMw", [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]);
|
|
13
13
|
/**
|
|
14
14
|
* IamPolicyQueryController handles read operations for IAM policies.
|
|
15
15
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/iampolicy/v1/query_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,oHAAoH;AACpH,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/iampolicy/v1/query_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,oHAAoH;AACpH,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;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAY,aAAa,CAC1E,QAAQ,CAAC,4vDAA4vD,EAAE,CAAC,uDAAuD,EAAE,0CAA0C,EAAE,oCAAoC,EAAE,mCAAmC,CAAC,CAAC,CAAC;AAE37D;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAkJhC,aAAa,CAChB,WAAW,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -36,7 +36,7 @@ export type IamPolicySpec = Message<"ai.stigmer.iam.iampolicy.v1.IamPolicySpec">
|
|
|
36
36
|
resource?: ApiResourceRef;
|
|
37
37
|
/**
|
|
38
38
|
* The permission being granted (e.g., "admin", "viewer", "owner").
|
|
39
|
-
* Maps to
|
|
39
|
+
* Maps to a role_code from ai.stigmer.iam.v1.IamRole.
|
|
40
40
|
* Examples: "admin", "editor", "viewer", "owner", "member"
|
|
41
41
|
*
|
|
42
42
|
* @internal
|
|
@@ -10,7 +10,7 @@ export declare const IdentityAccountCommandController: {
|
|
|
10
10
|
* Create a new identity account.
|
|
11
11
|
*
|
|
12
12
|
* @internal
|
|
13
|
-
* System-level RPC used by
|
|
13
|
+
* System-level RPC used by Auth0 webhook flow and federated account creation.
|
|
14
14
|
* No FGA authorization — called via inProcessChannelAsSystem (machine account).
|
|
15
15
|
* The handler's createAuthorizationTuples step writes the self-ownership tuple after creation.
|
|
16
16
|
*
|
|
@@ -50,6 +50,66 @@ export declare const IdentityAccountCommandController: {
|
|
|
50
50
|
readonly O: any;
|
|
51
51
|
readonly kind: any;
|
|
52
52
|
};
|
|
53
|
+
/**
|
|
54
|
+
* Create a federated identity account for an external platform user.
|
|
55
|
+
*
|
|
56
|
+
* Called by platform backends (via API key) when a new user signs up on their
|
|
57
|
+
* platform. The platform provides the user's OIDC subject identifier and profile
|
|
58
|
+
* data. The account must be created before the user can authenticate via the IdP.
|
|
59
|
+
*
|
|
60
|
+
* Returns the full identity account including its ID, which the platform uses
|
|
61
|
+
* to grant roles via IAM policies.
|
|
62
|
+
*
|
|
63
|
+
* Authorization: Requires can_create_identity_account on the organization
|
|
64
|
+
* that owns the identity provider.
|
|
65
|
+
*
|
|
66
|
+
* @generated from rpc ai.stigmer.iam.identityaccount.v1.IdentityAccountCommandController.createFederatedAccount
|
|
67
|
+
*/
|
|
68
|
+
readonly createFederatedAccount: {
|
|
69
|
+
readonly name: "createFederatedAccount";
|
|
70
|
+
readonly I: any;
|
|
71
|
+
readonly O: any;
|
|
72
|
+
readonly kind: any;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Update profile fields on a federated identity account.
|
|
76
|
+
*
|
|
77
|
+
* Looks up the account by natural key (identity_provider_ref + external_sub)
|
|
78
|
+
* and updates email, name, and picture. Identity keys are immutable.
|
|
79
|
+
*
|
|
80
|
+
* Called by platform backends when a user's profile changes on their platform.
|
|
81
|
+
*
|
|
82
|
+
* Authorization: Requires can_create_identity_account on the organization
|
|
83
|
+
* that owns the identity provider.
|
|
84
|
+
*
|
|
85
|
+
* @generated from rpc ai.stigmer.iam.identityaccount.v1.IdentityAccountCommandController.updateFederatedAccount
|
|
86
|
+
*/
|
|
87
|
+
readonly updateFederatedAccount: {
|
|
88
|
+
readonly name: "updateFederatedAccount";
|
|
89
|
+
readonly I: any;
|
|
90
|
+
readonly O: any;
|
|
91
|
+
readonly kind: any;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* Deprovision a federated identity account by revoking access or deleting it.
|
|
95
|
+
*
|
|
96
|
+
* Looks up the account by natural key (identity_provider_ref + external_sub).
|
|
97
|
+
* When delete_account is false, revokes all IAM policies in the organization.
|
|
98
|
+
* When delete_account is true, revokes policies and deletes the account.
|
|
99
|
+
*
|
|
100
|
+
* Called by platform backends during user offboarding.
|
|
101
|
+
*
|
|
102
|
+
* Authorization: Requires can_create_identity_account on the organization
|
|
103
|
+
* that owns the identity provider.
|
|
104
|
+
*
|
|
105
|
+
* @generated from rpc ai.stigmer.iam.identityaccount.v1.IdentityAccountCommandController.deprovisionFederatedAccount
|
|
106
|
+
*/
|
|
107
|
+
readonly deprovisionFederatedAccount: {
|
|
108
|
+
readonly name: "deprovisionFederatedAccount";
|
|
109
|
+
readonly I: any;
|
|
110
|
+
readonly O: any;
|
|
111
|
+
readonly kind: any;
|
|
112
|
+
};
|
|
53
113
|
/**
|
|
54
114
|
* Trigger account provisioning for a user who exists in Auth0 but not in Stigmer.
|
|
55
115
|
*
|
|
@@ -15,7 +15,7 @@ export const IdentityAccountCommandController = {
|
|
|
15
15
|
* Create a new identity account.
|
|
16
16
|
*
|
|
17
17
|
* @internal
|
|
18
|
-
* System-level RPC used by
|
|
18
|
+
* System-level RPC used by Auth0 webhook flow and federated account creation.
|
|
19
19
|
* No FGA authorization — called via inProcessChannelAsSystem (machine account).
|
|
20
20
|
* The handler's createAuthorizationTuples step writes the self-ownership tuple after creation.
|
|
21
21
|
*
|
|
@@ -55,6 +55,66 @@ export const IdentityAccountCommandController = {
|
|
|
55
55
|
O: IdentityAccount,
|
|
56
56
|
kind: MethodKind.Unary,
|
|
57
57
|
},
|
|
58
|
+
/**
|
|
59
|
+
* Create a federated identity account for an external platform user.
|
|
60
|
+
*
|
|
61
|
+
* Called by platform backends (via API key) when a new user signs up on their
|
|
62
|
+
* platform. The platform provides the user's OIDC subject identifier and profile
|
|
63
|
+
* data. The account must be created before the user can authenticate via the IdP.
|
|
64
|
+
*
|
|
65
|
+
* Returns the full identity account including its ID, which the platform uses
|
|
66
|
+
* to grant roles via IAM policies.
|
|
67
|
+
*
|
|
68
|
+
* Authorization: Requires can_create_identity_account on the organization
|
|
69
|
+
* that owns the identity provider.
|
|
70
|
+
*
|
|
71
|
+
* @generated from rpc ai.stigmer.iam.identityaccount.v1.IdentityAccountCommandController.createFederatedAccount
|
|
72
|
+
*/
|
|
73
|
+
createFederatedAccount: {
|
|
74
|
+
name: "createFederatedAccount",
|
|
75
|
+
I: CreateFederatedAccountInput,
|
|
76
|
+
O: IdentityAccount,
|
|
77
|
+
kind: MethodKind.Unary,
|
|
78
|
+
},
|
|
79
|
+
/**
|
|
80
|
+
* Update profile fields on a federated identity account.
|
|
81
|
+
*
|
|
82
|
+
* Looks up the account by natural key (identity_provider_ref + external_sub)
|
|
83
|
+
* and updates email, name, and picture. Identity keys are immutable.
|
|
84
|
+
*
|
|
85
|
+
* Called by platform backends when a user's profile changes on their platform.
|
|
86
|
+
*
|
|
87
|
+
* Authorization: Requires can_create_identity_account on the organization
|
|
88
|
+
* that owns the identity provider.
|
|
89
|
+
*
|
|
90
|
+
* @generated from rpc ai.stigmer.iam.identityaccount.v1.IdentityAccountCommandController.updateFederatedAccount
|
|
91
|
+
*/
|
|
92
|
+
updateFederatedAccount: {
|
|
93
|
+
name: "updateFederatedAccount",
|
|
94
|
+
I: UpdateFederatedAccountInput,
|
|
95
|
+
O: IdentityAccount,
|
|
96
|
+
kind: MethodKind.Unary,
|
|
97
|
+
},
|
|
98
|
+
/**
|
|
99
|
+
* Deprovision a federated identity account by revoking access or deleting it.
|
|
100
|
+
*
|
|
101
|
+
* Looks up the account by natural key (identity_provider_ref + external_sub).
|
|
102
|
+
* When delete_account is false, revokes all IAM policies in the organization.
|
|
103
|
+
* When delete_account is true, revokes policies and deletes the account.
|
|
104
|
+
*
|
|
105
|
+
* Called by platform backends during user offboarding.
|
|
106
|
+
*
|
|
107
|
+
* Authorization: Requires can_create_identity_account on the organization
|
|
108
|
+
* that owns the identity provider.
|
|
109
|
+
*
|
|
110
|
+
* @generated from rpc ai.stigmer.iam.identityaccount.v1.IdentityAccountCommandController.deprovisionFederatedAccount
|
|
111
|
+
*/
|
|
112
|
+
deprovisionFederatedAccount: {
|
|
113
|
+
name: "deprovisionFederatedAccount",
|
|
114
|
+
I: DeprovisionFederatedAccountInput,
|
|
115
|
+
O: IdentityAccount,
|
|
116
|
+
kind: MethodKind.Unary,
|
|
117
|
+
},
|
|
58
118
|
/**
|
|
59
119
|
* Trigger account provisioning for a user who exists in Auth0 but not in Stigmer.
|
|
60
120
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/identityaccount/v1/command_connect.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,kIAAkI;AAClI,oBAAoB;AACpB,cAAc;AAGd,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGvD;;;;GAIG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG;IAC9C,QAAQ,EAAE,oEAAoE;IAC9E,OAAO,EAAE;QACP;;;;;;;;;WASG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,eAAe;YAClB,CAAC,EAAE,eAAe;YAClB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;WAOG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,eAAe;YAClB,CAAC,EAAE,eAAe;YAClB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;WAOG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,iBAAiB;YACpB,CAAC,EAAE,eAAe;YAClB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;WASG;QACH,qBAAqB,EAAE;YACrB,IAAI,EAAE,uBAAuB;YAC7B,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
1
|
+
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/identityaccount/v1/command_connect.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,kIAAkI;AAClI,oBAAoB;AACpB,cAAc;AAGd,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGvD;;;;GAIG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG;IAC9C,QAAQ,EAAE,oEAAoE;IAC9E,OAAO,EAAE;QACP;;;;;;;;;WASG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,eAAe;YAClB,CAAC,EAAE,eAAe;YAClB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;WAOG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,eAAe;YAClB,CAAC,EAAE,eAAe;YAClB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;WAOG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,iBAAiB;YACpB,CAAC,EAAE,eAAe;YAClB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;WAcG;QACH,sBAAsB,EAAE;YACtB,IAAI,EAAE,wBAAwB;YAC9B,CAAC,EAAE,2BAA2B;YAC9B,CAAC,EAAE,eAAe;YAClB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;WAYG;QACH,sBAAsB,EAAE;YACtB,IAAI,EAAE,wBAAwB;YAC9B,CAAC,EAAE,2BAA2B;YAC9B,CAAC,EAAE,eAAe;YAClB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;WAaG;QACH,2BAA2B,EAAE;YAC3B,IAAI,EAAE,6BAA6B;YACnC,CAAC,EAAE,gCAAgC;YACnC,CAAC,EAAE,eAAe;YAClB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;WASG;QACH,qBAAqB,EAAE;YACrB,IAAI,EAAE,uBAAuB;YAC7B,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
2
|
import type { IdentityAccountSchema } from "./api_pb";
|
|
3
|
-
import type { IdentityAccountEmailSchema, IdentityAccountIdSchema } from "./io_pb";
|
|
3
|
+
import type { CreateFederatedAccountInputSchema, DeprovisionFederatedAccountInputSchema, IdentityAccountEmailSchema, IdentityAccountIdSchema, UpdateFederatedAccountInputSchema } from "./io_pb";
|
|
4
4
|
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
5
5
|
/**
|
|
6
6
|
* Describes the file ai/stigmer/iam/identityaccount/v1/command.proto.
|
|
@@ -16,7 +16,7 @@ export declare const IdentityAccountCommandController: GenService<{
|
|
|
16
16
|
* Create a new identity account.
|
|
17
17
|
*
|
|
18
18
|
* @internal
|
|
19
|
-
* System-level RPC used by
|
|
19
|
+
* System-level RPC used by Auth0 webhook flow and federated account creation.
|
|
20
20
|
* No FGA authorization — called via inProcessChannelAsSystem (machine account).
|
|
21
21
|
* The handler's createAuthorizationTuples step writes the self-ownership tuple after creation.
|
|
22
22
|
*
|
|
@@ -53,6 +53,63 @@ export declare const IdentityAccountCommandController: GenService<{
|
|
|
53
53
|
input: typeof IdentityAccountIdSchema;
|
|
54
54
|
output: typeof IdentityAccountSchema;
|
|
55
55
|
};
|
|
56
|
+
/**
|
|
57
|
+
* Create a federated identity account for an external platform user.
|
|
58
|
+
*
|
|
59
|
+
* Called by platform backends (via API key) when a new user signs up on their
|
|
60
|
+
* platform. The platform provides the user's OIDC subject identifier and profile
|
|
61
|
+
* data. The account must be created before the user can authenticate via the IdP.
|
|
62
|
+
*
|
|
63
|
+
* Returns the full identity account including its ID, which the platform uses
|
|
64
|
+
* to grant roles via IAM policies.
|
|
65
|
+
*
|
|
66
|
+
* Authorization: Requires can_create_identity_account on the organization
|
|
67
|
+
* that owns the identity provider.
|
|
68
|
+
*
|
|
69
|
+
* @generated from rpc ai.stigmer.iam.identityaccount.v1.IdentityAccountCommandController.createFederatedAccount
|
|
70
|
+
*/
|
|
71
|
+
createFederatedAccount: {
|
|
72
|
+
methodKind: "unary";
|
|
73
|
+
input: typeof CreateFederatedAccountInputSchema;
|
|
74
|
+
output: typeof IdentityAccountSchema;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Update profile fields on a federated identity account.
|
|
78
|
+
*
|
|
79
|
+
* Looks up the account by natural key (identity_provider_ref + external_sub)
|
|
80
|
+
* and updates email, name, and picture. Identity keys are immutable.
|
|
81
|
+
*
|
|
82
|
+
* Called by platform backends when a user's profile changes on their platform.
|
|
83
|
+
*
|
|
84
|
+
* Authorization: Requires can_create_identity_account on the organization
|
|
85
|
+
* that owns the identity provider.
|
|
86
|
+
*
|
|
87
|
+
* @generated from rpc ai.stigmer.iam.identityaccount.v1.IdentityAccountCommandController.updateFederatedAccount
|
|
88
|
+
*/
|
|
89
|
+
updateFederatedAccount: {
|
|
90
|
+
methodKind: "unary";
|
|
91
|
+
input: typeof UpdateFederatedAccountInputSchema;
|
|
92
|
+
output: typeof IdentityAccountSchema;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Deprovision a federated identity account by revoking access or deleting it.
|
|
96
|
+
*
|
|
97
|
+
* Looks up the account by natural key (identity_provider_ref + external_sub).
|
|
98
|
+
* When delete_account is false, revokes all IAM policies in the organization.
|
|
99
|
+
* When delete_account is true, revokes policies and deletes the account.
|
|
100
|
+
*
|
|
101
|
+
* Called by platform backends during user offboarding.
|
|
102
|
+
*
|
|
103
|
+
* Authorization: Requires can_create_identity_account on the organization
|
|
104
|
+
* that owns the identity provider.
|
|
105
|
+
*
|
|
106
|
+
* @generated from rpc ai.stigmer.iam.identityaccount.v1.IdentityAccountCommandController.deprovisionFederatedAccount
|
|
107
|
+
*/
|
|
108
|
+
deprovisionFederatedAccount: {
|
|
109
|
+
methodKind: "unary";
|
|
110
|
+
input: typeof DeprovisionFederatedAccountInputSchema;
|
|
111
|
+
output: typeof IdentityAccountSchema;
|
|
112
|
+
};
|
|
56
113
|
/**
|
|
57
114
|
* Trigger account provisioning for a user who exists in Auth0 but not in Stigmer.
|
|
58
115
|
*
|
|
@@ -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 {
|
|
6
|
+
import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc/method_options_pb";
|
|
7
7
|
import { file_ai_stigmer_iam_identityaccount_v1_api } from "./api_pb";
|
|
8
8
|
import { file_ai_stigmer_iam_identityaccount_v1_io } from "./io_pb";
|
|
9
9
|
import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
|
10
10
|
/**
|
|
11
11
|
* Describes the file ai/stigmer/iam/identityaccount/v1/command.proto.
|
|
12
12
|
*/
|
|
13
|
-
export const file_ai_stigmer_iam_identityaccount_v1_command = /*@__PURE__*/ fileDesc("
|
|
13
|
+
export const file_ai_stigmer_iam_identityaccount_v1_command = /*@__PURE__*/ fileDesc("Ci9haS9zdGlnbWVyL2lhbS9pZGVudGl0eWFjY291bnQvdjEvY29tbWFuZC5wcm90bxIhYWkuc3RpZ21lci5pYW0uaWRlbnRpdHlhY2NvdW50LnYxMpMKCiBJZGVudGl0eUFjY291bnRDb21tYW5kQ29udHJvbGxlchJ2CgZjcmVhdGUSMi5haS5zdGlnbWVyLmlhbS5pZGVudGl0eWFjY291bnQudjEuSWRlbnRpdHlBY2NvdW50GjIuYWkuc3RpZ21lci5pYW0uaWRlbnRpdHlhY2NvdW50LnYxLklkZW50aXR5QWNjb3VudCIE0LgYARKwAQoGdXBkYXRlEjIuYWkuc3RpZ21lci5pYW0uaWRlbnRpdHlhY2NvdW50LnYxLklkZW50aXR5QWNjb3VudBoyLmFpLnN0aWdtZXIuaWFtLmlkZW50aXR5YWNjb3VudC52MS5JZGVudGl0eUFjY291bnQiPsK4GDoIAhALIgttZXRhZGF0YS5pZCondW5hdXRob3JpemVkIHRvIHVwZGF0ZSBpZGVudGl0eSBhY2NvdW50EqwBCgZkZWxldGUSNC5haS5zdGlnbWVyLmlhbS5pZGVudGl0eWFjY291bnQudjEuSWRlbnRpdHlBY2NvdW50SWQaMi5haS5zdGlnbWVyLmlhbS5pZGVudGl0eWFjY291bnQudjEuSWRlbnRpdHlBY2NvdW50IjjCuBg0CAMQCyIFdmFsdWUqJ3VuYXV0aG9yaXplZCB0byBkZWxldGUgaWRlbnRpdHkgYWNjb3VudBLaAQoWY3JlYXRlRmVkZXJhdGVkQWNjb3VudBI+LmFpLnN0aWdtZXIuaWFtLmlkZW50aXR5YWNjb3VudC52MS5DcmVhdGVGZWRlcmF0ZWRBY2NvdW50SW5wdXQaMi5haS5zdGlnbWVyLmlhbS5pZGVudGl0eWFjY291bnQudjEuSWRlbnRpdHlBY2NvdW50IkzCuBhICBUQHiIDb3JnKj11bmF1dGhvcml6ZWQgdG8gY3JlYXRlIGlkZW50aXR5IGFjY291bnRzIGluIHRoaXMgb3JnYW5pemF0aW9uEtoBChZ1cGRhdGVGZWRlcmF0ZWRBY2NvdW50Ej4uYWkuc3RpZ21lci5pYW0uaWRlbnRpdHlhY2NvdW50LnYxLlVwZGF0ZUZlZGVyYXRlZEFjY291bnRJbnB1dBoyLmFpLnN0aWdtZXIuaWFtLmlkZW50aXR5YWNjb3VudC52MS5JZGVudGl0eUFjY291bnQiTMK4GEgIFRAeIgNvcmcqPXVuYXV0aG9yaXplZCB0byBtYW5hZ2UgaWRlbnRpdHkgYWNjb3VudHMgaW4gdGhpcyBvcmdhbml6YXRpb24S5AEKG2RlcHJvdmlzaW9uRmVkZXJhdGVkQWNjb3VudBJDLmFpLnN0aWdtZXIuaWFtLmlkZW50aXR5YWNjb3VudC52MS5EZXByb3Zpc2lvbkZlZGVyYXRlZEFjY291bnRJbnB1dBoyLmFpLnN0aWdtZXIuaWFtLmlkZW50aXR5YWNjb3VudC52MS5JZGVudGl0eUFjY291bnQiTMK4GEgIFRAeIgNvcmcqPXVuYXV0aG9yaXplZCB0byBtYW5hZ2UgaWRlbnRpdHkgYWNjb3VudHMgaW4gdGhpcyBvcmdhbml6YXRpb24SbgoVc2ltdWxhdGVTaWdudXBXZWJob29rEjcuYWkuc3RpZ21lci5pYW0uaWRlbnRpdHlhY2NvdW50LnYxLklkZW50aXR5QWNjb3VudEVtYWlsGhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5IgTQuBgBGgSg/ysLYgZwcm90bzM", [file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options, file_ai_stigmer_iam_identityaccount_v1_api, file_ai_stigmer_iam_identityaccount_v1_io, file_google_protobuf_empty]);
|
|
14
14
|
/**
|
|
15
15
|
* IdentityAccountCommandController handles write operations for identity accounts.
|
|
16
16
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/identityaccount/v1/command_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,kIAAkI;AAClI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,uDAAuD,EAAE,MAAM,qDAAqD,CAAC;AAC9H,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/identityaccount/v1/command_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,kIAAkI;AAClI,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,0CAA0C,EAAE,MAAM,UAAU,CAAC;AAEtE,OAAO,EAAE,yCAAyC,EAAE,MAAM,SAAS,CAAC;AAEpE,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAEpE;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAY,aAAa,CAClF,QAAQ,CAAC,q0DAAq0D,EAAE,CAAC,uDAAuD,EAAE,0CAA0C,EAAE,0CAA0C,EAAE,yCAAyC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAE5iE;;;;GAIG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAkHxC,aAAa,CAChB,WAAW,CAAC,8CAA8C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -25,7 +25,7 @@ export declare enum IdentityAccountProvisioningMode {
|
|
|
25
25
|
*/
|
|
26
26
|
direct = 1,
|
|
27
27
|
/**
|
|
28
|
-
* Account was
|
|
28
|
+
* Account was created by the platform for federated authentication via an IdentityProvider.
|
|
29
29
|
*
|
|
30
30
|
* @generated from enum value: federated = 2;
|
|
31
31
|
*/
|
|
@@ -29,7 +29,7 @@ export var IdentityAccountProvisioningMode;
|
|
|
29
29
|
*/
|
|
30
30
|
IdentityAccountProvisioningMode[IdentityAccountProvisioningMode["direct"] = 1] = "direct";
|
|
31
31
|
/**
|
|
32
|
-
* Account was
|
|
32
|
+
* Account was created by the platform for federated authentication via an IdentityProvider.
|
|
33
33
|
*
|
|
34
34
|
* @generated from enum value: federated = 2;
|
|
35
35
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { ApiResourceReference } from "../../../commons/apiresource/io_pb";
|
|
2
3
|
import type { PageInfo } from "../../../commons/rpc/pagination_pb";
|
|
3
4
|
import type { IdentityAccount } from "./api_pb";
|
|
4
5
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -150,3 +151,221 @@ export type ListWithIdentityOrg = Message<"ai.stigmer.iam.identityaccount.v1.Lis
|
|
|
150
151
|
* Use `create(ListWithIdentityOrgSchema)` to create a new message.
|
|
151
152
|
*/
|
|
152
153
|
export declare const ListWithIdentityOrgSchema: GenMessage<ListWithIdentityOrg>;
|
|
154
|
+
/**
|
|
155
|
+
* ExternalSubLookup identifies a federated identity account by its identity provider
|
|
156
|
+
* reference and external subject identifier (OIDC sub claim).
|
|
157
|
+
*
|
|
158
|
+
* Used by platform backends to check whether a federated account already exists
|
|
159
|
+
* before calling createFederatedAccount.
|
|
160
|
+
*
|
|
161
|
+
* @generated from message ai.stigmer.iam.identityaccount.v1.ExternalSubLookup
|
|
162
|
+
*/
|
|
163
|
+
export type ExternalSubLookup = Message<"ai.stigmer.iam.identityaccount.v1.ExternalSubLookup"> & {
|
|
164
|
+
/**
|
|
165
|
+
* Organization that owns the identity provider.
|
|
166
|
+
* Used as the authorization scope: caller must have can_create_identity_account
|
|
167
|
+
* permission on this organization.
|
|
168
|
+
*
|
|
169
|
+
* @generated from field: string org = 1;
|
|
170
|
+
*/
|
|
171
|
+
org: string;
|
|
172
|
+
/**
|
|
173
|
+
* Reference to the IdentityProvider that the federated account belongs to.
|
|
174
|
+
*
|
|
175
|
+
* @generated from field: ai.stigmer.commons.apiresource.ApiResourceReference identity_provider_ref = 2;
|
|
176
|
+
*/
|
|
177
|
+
identityProviderRef?: ApiResourceReference;
|
|
178
|
+
/**
|
|
179
|
+
* External subject identifier from the platform's OIDC provider.
|
|
180
|
+
* The raw OIDC sub claim (e.g., "google-oauth2|109876543210").
|
|
181
|
+
*
|
|
182
|
+
* @generated from field: string external_sub = 3;
|
|
183
|
+
*/
|
|
184
|
+
externalSub: string;
|
|
185
|
+
};
|
|
186
|
+
/**
|
|
187
|
+
* Describes the message ai.stigmer.iam.identityaccount.v1.ExternalSubLookup.
|
|
188
|
+
* Use `create(ExternalSubLookupSchema)` to create a new message.
|
|
189
|
+
*/
|
|
190
|
+
export declare const ExternalSubLookupSchema: GenMessage<ExternalSubLookup>;
|
|
191
|
+
/**
|
|
192
|
+
* CreateFederatedAccountInput is the command for creating a federated identity account
|
|
193
|
+
* linked to an external platform's identity provider.
|
|
194
|
+
*
|
|
195
|
+
* Called by platform backends (via API key) when a new user signs up on their platform.
|
|
196
|
+
* The platform provides the user's OIDC subject identifier and profile data.
|
|
197
|
+
* The account must be created before the user can authenticate via the IdP.
|
|
198
|
+
*
|
|
199
|
+
* @generated from message ai.stigmer.iam.identityaccount.v1.CreateFederatedAccountInput
|
|
200
|
+
*/
|
|
201
|
+
export type CreateFederatedAccountInput = Message<"ai.stigmer.iam.identityaccount.v1.CreateFederatedAccountInput"> & {
|
|
202
|
+
/**
|
|
203
|
+
* Organization that owns the identity provider.
|
|
204
|
+
* Used as the authorization scope: caller must have can_create_identity_account
|
|
205
|
+
* permission on this organization.
|
|
206
|
+
* Must match identity_provider_ref.org (when identity_provider_ref.org is non-empty).
|
|
207
|
+
*
|
|
208
|
+
* @generated from field: string org = 1;
|
|
209
|
+
*/
|
|
210
|
+
org: string;
|
|
211
|
+
/**
|
|
212
|
+
* Reference to the IdentityProvider that this federated account belongs to.
|
|
213
|
+
* The IdP must exist and belong to the specified org.
|
|
214
|
+
*
|
|
215
|
+
* @generated from field: ai.stigmer.commons.apiresource.ApiResourceReference identity_provider_ref = 2;
|
|
216
|
+
*/
|
|
217
|
+
identityProviderRef?: ApiResourceReference;
|
|
218
|
+
/**
|
|
219
|
+
* External subject identifier from the platform's OIDC provider.
|
|
220
|
+
* The raw OIDC sub claim (e.g., "google-oauth2|109876543210").
|
|
221
|
+
* Stored as-is without any prefix transformation.
|
|
222
|
+
* Must match the sub claim in JWTs issued by this IdP for authentication to work.
|
|
223
|
+
*
|
|
224
|
+
* @generated from field: string external_sub = 3;
|
|
225
|
+
*/
|
|
226
|
+
externalSub: string;
|
|
227
|
+
/**
|
|
228
|
+
* Email address of the user.
|
|
229
|
+
*
|
|
230
|
+
* @generated from field: string email = 4;
|
|
231
|
+
*/
|
|
232
|
+
email: string;
|
|
233
|
+
/**
|
|
234
|
+
* First name of the user.
|
|
235
|
+
*
|
|
236
|
+
* @generated from field: string first_name = 5;
|
|
237
|
+
*/
|
|
238
|
+
firstName: string;
|
|
239
|
+
/**
|
|
240
|
+
* Last name of the user.
|
|
241
|
+
*
|
|
242
|
+
* @generated from field: string last_name = 6;
|
|
243
|
+
*/
|
|
244
|
+
lastName: string;
|
|
245
|
+
/**
|
|
246
|
+
* URL of the user's profile picture.
|
|
247
|
+
*
|
|
248
|
+
* @generated from field: string picture_url = 7;
|
|
249
|
+
*/
|
|
250
|
+
pictureUrl: string;
|
|
251
|
+
};
|
|
252
|
+
/**
|
|
253
|
+
* Describes the message ai.stigmer.iam.identityaccount.v1.CreateFederatedAccountInput.
|
|
254
|
+
* Use `create(CreateFederatedAccountInputSchema)` to create a new message.
|
|
255
|
+
*/
|
|
256
|
+
export declare const CreateFederatedAccountInputSchema: GenMessage<CreateFederatedAccountInput>;
|
|
257
|
+
/**
|
|
258
|
+
* UpdateFederatedAccountInput is the command for updating profile fields on a
|
|
259
|
+
* federated identity account identified by its natural key (identity provider
|
|
260
|
+
* reference + external subject).
|
|
261
|
+
*
|
|
262
|
+
* Called by platform backends when a user's profile changes on their platform
|
|
263
|
+
* (e.g., name update, email change). Uses full-replace semantics: all profile
|
|
264
|
+
* fields must be provided. Identity keys (org, identity_provider_ref, external_sub)
|
|
265
|
+
* are immutable and used only for lookup.
|
|
266
|
+
*
|
|
267
|
+
* @generated from message ai.stigmer.iam.identityaccount.v1.UpdateFederatedAccountInput
|
|
268
|
+
*/
|
|
269
|
+
export type UpdateFederatedAccountInput = Message<"ai.stigmer.iam.identityaccount.v1.UpdateFederatedAccountInput"> & {
|
|
270
|
+
/**
|
|
271
|
+
* Organization that owns the identity provider.
|
|
272
|
+
* Used as the authorization scope: caller must have can_create_identity_account
|
|
273
|
+
* permission on this organization.
|
|
274
|
+
*
|
|
275
|
+
* @generated from field: string org = 1;
|
|
276
|
+
*/
|
|
277
|
+
org: string;
|
|
278
|
+
/**
|
|
279
|
+
* Reference to the IdentityProvider that the federated account belongs to.
|
|
280
|
+
*
|
|
281
|
+
* @generated from field: ai.stigmer.commons.apiresource.ApiResourceReference identity_provider_ref = 2;
|
|
282
|
+
*/
|
|
283
|
+
identityProviderRef?: ApiResourceReference;
|
|
284
|
+
/**
|
|
285
|
+
* External subject identifier (OIDC sub claim) — lookup key, not updatable.
|
|
286
|
+
*
|
|
287
|
+
* @generated from field: string external_sub = 3;
|
|
288
|
+
*/
|
|
289
|
+
externalSub: string;
|
|
290
|
+
/**
|
|
291
|
+
* Updated email address.
|
|
292
|
+
*
|
|
293
|
+
* @generated from field: string email = 4;
|
|
294
|
+
*/
|
|
295
|
+
email: string;
|
|
296
|
+
/**
|
|
297
|
+
* Updated first name.
|
|
298
|
+
*
|
|
299
|
+
* @generated from field: string first_name = 5;
|
|
300
|
+
*/
|
|
301
|
+
firstName: string;
|
|
302
|
+
/**
|
|
303
|
+
* Updated last name.
|
|
304
|
+
*
|
|
305
|
+
* @generated from field: string last_name = 6;
|
|
306
|
+
*/
|
|
307
|
+
lastName: string;
|
|
308
|
+
/**
|
|
309
|
+
* Updated profile picture URL.
|
|
310
|
+
*
|
|
311
|
+
* @generated from field: string picture_url = 7;
|
|
312
|
+
*/
|
|
313
|
+
pictureUrl: string;
|
|
314
|
+
};
|
|
315
|
+
/**
|
|
316
|
+
* Describes the message ai.stigmer.iam.identityaccount.v1.UpdateFederatedAccountInput.
|
|
317
|
+
* Use `create(UpdateFederatedAccountInputSchema)` to create a new message.
|
|
318
|
+
*/
|
|
319
|
+
export declare const UpdateFederatedAccountInputSchema: GenMessage<UpdateFederatedAccountInput>;
|
|
320
|
+
/**
|
|
321
|
+
* DeprovisionFederatedAccountInput is the command for revoking a federated
|
|
322
|
+
* identity account's access, with an option to delete the account entirely.
|
|
323
|
+
*
|
|
324
|
+
* Called by platform backends when a user is removed from their platform
|
|
325
|
+
* (e.g., employee offboarding, account suspension). Uses the natural key
|
|
326
|
+
* (identity provider reference + external subject) for lookup.
|
|
327
|
+
*
|
|
328
|
+
* Two modes:
|
|
329
|
+
* - Revoke only (delete_account = false): removes all IAM policies for the
|
|
330
|
+
* account in the organization. The identity account is preserved for audit
|
|
331
|
+
* trail. The user loses access but the account record remains.
|
|
332
|
+
* - Revoke and delete (delete_account = true): revokes access AND deletes
|
|
333
|
+
* the identity account. All IAM policies across all organizations are
|
|
334
|
+
* cleaned up. Use this for permanent offboarding.
|
|
335
|
+
*
|
|
336
|
+
* @generated from message ai.stigmer.iam.identityaccount.v1.DeprovisionFederatedAccountInput
|
|
337
|
+
*/
|
|
338
|
+
export type DeprovisionFederatedAccountInput = Message<"ai.stigmer.iam.identityaccount.v1.DeprovisionFederatedAccountInput"> & {
|
|
339
|
+
/**
|
|
340
|
+
* Organization that owns the identity provider.
|
|
341
|
+
* Used as the authorization scope: caller must have can_create_identity_account
|
|
342
|
+
* permission on this organization.
|
|
343
|
+
*
|
|
344
|
+
* @generated from field: string org = 1;
|
|
345
|
+
*/
|
|
346
|
+
org: string;
|
|
347
|
+
/**
|
|
348
|
+
* Reference to the IdentityProvider that the federated account belongs to.
|
|
349
|
+
*
|
|
350
|
+
* @generated from field: ai.stigmer.commons.apiresource.ApiResourceReference identity_provider_ref = 2;
|
|
351
|
+
*/
|
|
352
|
+
identityProviderRef?: ApiResourceReference;
|
|
353
|
+
/**
|
|
354
|
+
* External subject identifier (OIDC sub claim) — lookup key.
|
|
355
|
+
*
|
|
356
|
+
* @generated from field: string external_sub = 3;
|
|
357
|
+
*/
|
|
358
|
+
externalSub: string;
|
|
359
|
+
/**
|
|
360
|
+
* When false (default): revoke the account's access in this organization only.
|
|
361
|
+
* When true: revoke access AND permanently delete the identity account.
|
|
362
|
+
*
|
|
363
|
+
* @generated from field: bool delete_account = 4;
|
|
364
|
+
*/
|
|
365
|
+
deleteAccount: boolean;
|
|
366
|
+
};
|
|
367
|
+
/**
|
|
368
|
+
* Describes the message ai.stigmer.iam.identityaccount.v1.DeprovisionFederatedAccountInput.
|
|
369
|
+
* Use `create(DeprovisionFederatedAccountInputSchema)` to create a new message.
|
|
370
|
+
*/
|
|
371
|
+
export declare const DeprovisionFederatedAccountInputSchema: GenMessage<DeprovisionFederatedAccountInput>;
|