@stigmer/protos 0.0.71 → 0.0.73
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/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/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/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_pb.js +2 -2
- package/ai/stigmer/agentic/mcpserver/v1/command_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/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/skill/v1/status_pb.d.ts +1 -1
- package/ai/stigmer/agentic/skill/v1/synth_pb.d.ts +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 +177 -0
- package/ai/stigmer/iam/v1/enum_pb.js +183 -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
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts"
|
|
2
|
+
// @generated from file ai/stigmer/iam/invitation/v1/query.proto (package ai.stigmer.iam.invitation.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* InvitationQueryController handles read operations for invitations.
|
|
8
|
+
*
|
|
9
|
+
* @generated from service ai.stigmer.iam.invitation.v1.InvitationQueryController
|
|
10
|
+
*/
|
|
11
|
+
export const InvitationQueryController = {
|
|
12
|
+
typeName: "ai.stigmer.iam.invitation.v1.InvitationQueryController",
|
|
13
|
+
methods: {
|
|
14
|
+
/**
|
|
15
|
+
* Get an invitation by its unique identifier.
|
|
16
|
+
*
|
|
17
|
+
* @internal
|
|
18
|
+
* Authorization: Requires can_view permission on the invitation resource.
|
|
19
|
+
*
|
|
20
|
+
* @generated from rpc ai.stigmer.iam.invitation.v1.InvitationQueryController.get
|
|
21
|
+
*/
|
|
22
|
+
get: {
|
|
23
|
+
name: "get",
|
|
24
|
+
I: InvitationId,
|
|
25
|
+
O: Invitation,
|
|
26
|
+
kind: MethodKind.Unary,
|
|
27
|
+
},
|
|
28
|
+
/**
|
|
29
|
+
* List all invitations belonging to an organization.
|
|
30
|
+
*
|
|
31
|
+
* Returns invitations ordered by creation time (newest first).
|
|
32
|
+
*
|
|
33
|
+
* @internal
|
|
34
|
+
* Authorization: Requires can_view_access permission on the organization.
|
|
35
|
+
* This is intentionally stricter than can_view — only users who can
|
|
36
|
+
* manage org access (admins and owners) should see invitation links.
|
|
37
|
+
*
|
|
38
|
+
* @generated from rpc ai.stigmer.iam.invitation.v1.InvitationQueryController.listByOrg
|
|
39
|
+
*/
|
|
40
|
+
listByOrg: {
|
|
41
|
+
name: "listByOrg",
|
|
42
|
+
I: ListInvitationsByOrgInput,
|
|
43
|
+
O: Invitations,
|
|
44
|
+
kind: MethodKind.Unary,
|
|
45
|
+
},
|
|
46
|
+
/**
|
|
47
|
+
* Get a preview of an invitation by its shareable token.
|
|
48
|
+
*
|
|
49
|
+
* Returns a safe projection (InvitationPreview) containing only the
|
|
50
|
+
* information needed to render the invite acceptance page: organization
|
|
51
|
+
* name, logo, the role being offered, and whether the invitation is
|
|
52
|
+
* still valid.
|
|
53
|
+
*
|
|
54
|
+
* This endpoint is called by the web app's invite page before the user
|
|
55
|
+
* has authenticated, so it requires no authorization. The response
|
|
56
|
+
* intentionally omits the token value, redemption history, and internal
|
|
57
|
+
* invitation metadata.
|
|
58
|
+
*
|
|
59
|
+
* @internal
|
|
60
|
+
* Authorization: none — unauthenticated, public endpoint for rendering
|
|
61
|
+
* the invite acceptance page. Uses is_skip_authorization following the
|
|
62
|
+
* getSsoProvider precedent.
|
|
63
|
+
*
|
|
64
|
+
* @generated from rpc ai.stigmer.iam.invitation.v1.InvitationQueryController.getByToken
|
|
65
|
+
*/
|
|
66
|
+
getByToken: {
|
|
67
|
+
name: "getByToken",
|
|
68
|
+
I: InvitationTokenInput,
|
|
69
|
+
O: InvitationPreview,
|
|
70
|
+
kind: MethodKind.Unary,
|
|
71
|
+
},
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
//# sourceMappingURL=query_connect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/invitation/v1/query_connect.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,sHAAsH;AACtH,oBAAoB;AACpB,cAAc;AAId,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;GAIG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,QAAQ,EAAE,wDAAwD;IAClE,OAAO,EAAE;QACP;;;;;;;WAOG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,YAAY;YACf,CAAC,EAAE,UAAU;YACb,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;WAWG;QACH,SAAS,EAAE;YACT,IAAI,EAAE,WAAW;YACjB,CAAC,EAAE,yBAAyB;YAC5B,CAAC,EAAE,WAAW;YACd,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;WAmBG;QACH,UAAU,EAAE;YACV,IAAI,EAAE,YAAY;YAClB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,iBAAiB;YACpB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { InvitationSchema } from "./api_pb";
|
|
3
|
+
import type { InvitationIdSchema, InvitationPreviewSchema, InvitationsSchema, InvitationTokenInputSchema, ListInvitationsByOrgInputSchema } from "./io_pb";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file ai/stigmer/iam/invitation/v1/query.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_ai_stigmer_iam_invitation_v1_query: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* InvitationQueryController handles read operations for invitations.
|
|
10
|
+
*
|
|
11
|
+
* @generated from service ai.stigmer.iam.invitation.v1.InvitationQueryController
|
|
12
|
+
*/
|
|
13
|
+
export declare const InvitationQueryController: GenService<{
|
|
14
|
+
/**
|
|
15
|
+
* Get an invitation by its unique identifier.
|
|
16
|
+
*
|
|
17
|
+
* @internal
|
|
18
|
+
* Authorization: Requires can_view permission on the invitation resource.
|
|
19
|
+
*
|
|
20
|
+
* @generated from rpc ai.stigmer.iam.invitation.v1.InvitationQueryController.get
|
|
21
|
+
*/
|
|
22
|
+
get: {
|
|
23
|
+
methodKind: "unary";
|
|
24
|
+
input: typeof InvitationIdSchema;
|
|
25
|
+
output: typeof InvitationSchema;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* List all invitations belonging to an organization.
|
|
29
|
+
*
|
|
30
|
+
* Returns invitations ordered by creation time (newest first).
|
|
31
|
+
*
|
|
32
|
+
* @internal
|
|
33
|
+
* Authorization: Requires can_view_access permission on the organization.
|
|
34
|
+
* This is intentionally stricter than can_view — only users who can
|
|
35
|
+
* manage org access (admins and owners) should see invitation links.
|
|
36
|
+
*
|
|
37
|
+
* @generated from rpc ai.stigmer.iam.invitation.v1.InvitationQueryController.listByOrg
|
|
38
|
+
*/
|
|
39
|
+
listByOrg: {
|
|
40
|
+
methodKind: "unary";
|
|
41
|
+
input: typeof ListInvitationsByOrgInputSchema;
|
|
42
|
+
output: typeof InvitationsSchema;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Get a preview of an invitation by its shareable token.
|
|
46
|
+
*
|
|
47
|
+
* Returns a safe projection (InvitationPreview) containing only the
|
|
48
|
+
* information needed to render the invite acceptance page: organization
|
|
49
|
+
* name, logo, the role being offered, and whether the invitation is
|
|
50
|
+
* still valid.
|
|
51
|
+
*
|
|
52
|
+
* This endpoint is called by the web app's invite page before the user
|
|
53
|
+
* has authenticated, so it requires no authorization. The response
|
|
54
|
+
* intentionally omits the token value, redemption history, and internal
|
|
55
|
+
* invitation metadata.
|
|
56
|
+
*
|
|
57
|
+
* @internal
|
|
58
|
+
* Authorization: none — unauthenticated, public endpoint for rendering
|
|
59
|
+
* the invite acceptance page. Uses is_skip_authorization following the
|
|
60
|
+
* getSsoProvider precedent.
|
|
61
|
+
*
|
|
62
|
+
* @generated from rpc ai.stigmer.iam.invitation.v1.InvitationQueryController.getByToken
|
|
63
|
+
*/
|
|
64
|
+
getByToken: {
|
|
65
|
+
methodKind: "unary";
|
|
66
|
+
input: typeof InvitationTokenInputSchema;
|
|
67
|
+
output: typeof InvitationPreviewSchema;
|
|
68
|
+
};
|
|
69
|
+
}>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file ai/stigmer/iam/invitation/v1/query.proto (package ai.stigmer.iam.invitation.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
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";
|
|
7
|
+
import { file_ai_stigmer_iam_invitation_v1_api } from "./api_pb";
|
|
8
|
+
import { file_ai_stigmer_iam_invitation_v1_io } from "./io_pb";
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file ai/stigmer/iam/invitation/v1/query.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_ai_stigmer_iam_invitation_v1_query = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL2lhbS9pbnZpdGF0aW9uL3YxL3F1ZXJ5LnByb3RvEhxhaS5zdGlnbWVyLmlhbS5pbnZpdGF0aW9uLnYxMuIDChlJbnZpdGF0aW9uUXVlcnlDb250cm9sbGVyEo0BCgNnZXQSKi5haS5zdGlnbWVyLmlhbS5pbnZpdGF0aW9uLnYxLkludml0YXRpb25JZBooLmFpLnN0aWdtZXIuaWFtLmludml0YXRpb24udjEuSW52aXRhdGlvbiIwwrgYLAgBEBQiBXZhbHVlKh91bmF1dGhvcml6ZWQgdG8gdmlldyBpbnZpdGF0aW9uErUBCglsaXN0QnlPcmcSNy5haS5zdGlnbWVyLmlhbS5pbnZpdGF0aW9uLnYxLkxpc3RJbnZpdGF0aW9uc0J5T3JnSW5wdXQaKS5haS5zdGlnbWVyLmlhbS5pbnZpdGF0aW9uLnYxLkludml0YXRpb25zIkTCuBhACAUQHiIDb3JnKjV1bmF1dGhvcml6ZWQgdG8gbGlzdCBpbnZpdGF0aW9ucyBpbiB0aGlzIG9yZ2FuaXphdGlvbhJ3CgpnZXRCeVRva2VuEjIuYWkuc3RpZ21lci5pYW0uaW52aXRhdGlvbi52MS5JbnZpdGF0aW9uVG9rZW5JbnB1dBovLmFpLnN0aWdtZXIuaWFtLmludml0YXRpb24udjEuSW52aXRhdGlvblByZXZpZXciBNC4GAEaBKD/KxRiBnByb3RvMw", [file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options, file_ai_stigmer_iam_invitation_v1_api, file_ai_stigmer_iam_invitation_v1_io]);
|
|
13
|
+
/**
|
|
14
|
+
* InvitationQueryController handles read operations for invitations.
|
|
15
|
+
*
|
|
16
|
+
* @generated from service ai.stigmer.iam.invitation.v1.InvitationQueryController
|
|
17
|
+
*/
|
|
18
|
+
export const InvitationQueryController = /*@__PURE__*/ serviceDesc(file_ai_stigmer_iam_invitation_v1_query, 0);
|
|
19
|
+
//# sourceMappingURL=query_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/invitation/v1/query_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,qCAAqC,EAAE,MAAM,UAAU,CAAC;AAEjE,OAAO,EAAE,oCAAoC,EAAE,MAAM,SAAS,CAAC;AAE/D;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAY,aAAa,CAC3E,QAAQ,CAAC,ovBAAovB,EAAE,CAAC,uDAAuD,EAAE,0CAA0C,EAAE,qCAAqC,EAAE,oCAAoC,CAAC,CAAC,CAAC;AAEr7B;;;;GAIG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAwDjC,aAAa,CAChB,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { IamRole } from "../../v1/enum_pb";
|
|
3
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file ai/stigmer/iam/invitation/v1/spec.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_ai_stigmer_iam_invitation_v1_spec: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* InvitationSpec defines the user-provided configuration for an invitation.
|
|
11
|
+
*
|
|
12
|
+
* An invitation is a shareable link that grants a specific role to anyone
|
|
13
|
+
* who redeems it. Invitations can be multi-use (persistent org invite link)
|
|
14
|
+
* or single-use (targeted invitation for a specific person).
|
|
15
|
+
*
|
|
16
|
+
* Example YAML (persistent org invite link):
|
|
17
|
+
* apiVersion: iam.stigmer.ai/v1
|
|
18
|
+
* kind: Invitation
|
|
19
|
+
* metadata:
|
|
20
|
+
* name: engineering-team-link
|
|
21
|
+
* org: acme
|
|
22
|
+
* spec:
|
|
23
|
+
* role: viewer
|
|
24
|
+
* max_redemptions: 0
|
|
25
|
+
* expires_at: "2026-05-06T00:00:00Z"
|
|
26
|
+
* label: "Engineering team invite"
|
|
27
|
+
*
|
|
28
|
+
* Example YAML (single-use targeted invite):
|
|
29
|
+
* apiVersion: iam.stigmer.ai/v1
|
|
30
|
+
* kind: Invitation
|
|
31
|
+
* metadata:
|
|
32
|
+
* name: contractor-invite
|
|
33
|
+
* org: acme
|
|
34
|
+
* spec:
|
|
35
|
+
* role: member
|
|
36
|
+
* max_redemptions: 1
|
|
37
|
+
* expires_at: "2026-04-13T00:00:00Z"
|
|
38
|
+
* label: "Contractor onboarding"
|
|
39
|
+
*
|
|
40
|
+
* @generated from message ai.stigmer.iam.invitation.v1.InvitationSpec
|
|
41
|
+
*/
|
|
42
|
+
export type InvitationSpec = Message<"ai.stigmer.iam.invitation.v1.InvitationSpec"> & {
|
|
43
|
+
/**
|
|
44
|
+
* The role granted to the identity account upon redemption.
|
|
45
|
+
* Must be a role listed in the organization's grantable_roles.
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: ai.stigmer.iam.v1.IamRole role = 1;
|
|
48
|
+
*/
|
|
49
|
+
role: IamRole;
|
|
50
|
+
/**
|
|
51
|
+
* Maximum number of times this invitation can be redeemed.
|
|
52
|
+
* 0 means unlimited (use for persistent org invite links).
|
|
53
|
+
* 1 means single-use (use for targeted invitations).
|
|
54
|
+
*
|
|
55
|
+
* @generated from field: int32 max_redemptions = 2;
|
|
56
|
+
*/
|
|
57
|
+
maxRedemptions: number;
|
|
58
|
+
/**
|
|
59
|
+
* When this invitation expires. Required.
|
|
60
|
+
* The backend enforces a maximum expiration window (configurable per org).
|
|
61
|
+
*
|
|
62
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 3;
|
|
63
|
+
*/
|
|
64
|
+
expiresAt?: Timestamp;
|
|
65
|
+
/**
|
|
66
|
+
* Human-readable label for organizational purposes.
|
|
67
|
+
* Helps admins distinguish between multiple active invitations.
|
|
68
|
+
*
|
|
69
|
+
* @generated from field: string label = 4;
|
|
70
|
+
*/
|
|
71
|
+
label: string;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Describes the message ai.stigmer.iam.invitation.v1.InvitationSpec.
|
|
75
|
+
* Use `create(InvitationSpecSchema)` to create a new message.
|
|
76
|
+
*/
|
|
77
|
+
export declare const InvitationSpecSchema: GenMessage<InvitationSpec>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file ai/stigmer/iam/invitation/v1/spec.proto (package ai.stigmer.iam.invitation.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_iam_v1_enum } from "../../v1/enum_pb";
|
|
6
|
+
import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb";
|
|
7
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file ai/stigmer/iam/invitation/v1/spec.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_ai_stigmer_iam_invitation_v1_spec = /*@__PURE__*/ fileDesc("CidhaS9zdGlnbWVyL2lhbS9pbnZpdGF0aW9uL3YxL3NwZWMucHJvdG8SHGFpLnN0aWdtZXIuaWFtLmludml0YXRpb24udjEirAEKDkludml0YXRpb25TcGVjEjAKBHJvbGUYASABKA4yGi5haS5zdGlnbWVyLmlhbS52MS5JYW1Sb2xlQga6SAPIAQESFwoPbWF4X3JlZGVtcHRpb25zGAIgASgFEjYKCmV4cGlyZXNfYXQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQga6SAPIAQESFwoFbGFiZWwYBCABKAlCCLpIBXIDGMgBYgZwcm90bzM", [file_ai_stigmer_iam_v1_enum, file_buf_validate_validate, file_google_protobuf_timestamp]);
|
|
12
|
+
/**
|
|
13
|
+
* Describes the message ai.stigmer.iam.invitation.v1.InvitationSpec.
|
|
14
|
+
* Use `create(InvitationSpecSchema)` to create a new message.
|
|
15
|
+
*/
|
|
16
|
+
export const InvitationSpecSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_iam_invitation_v1_spec, 0);
|
|
17
|
+
//# sourceMappingURL=spec_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/invitation/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,qHAAqH;AACrH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAErF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAY,aAAa,CAC1E,QAAQ,CAAC,qVAAqV,EAAE,CAAC,2BAA2B,EAAE,0BAA0B,EAAE,8BAA8B,CAAC,CAAC,CAAC;AAsE7b;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
/**
|
|
3
|
+
* Describes the file ai/stigmer/iam/v1/enum.proto.
|
|
4
|
+
*/
|
|
5
|
+
export declare const file_ai_stigmer_iam_v1_enum: GenFile;
|
|
6
|
+
/**
|
|
7
|
+
* IamPermission defines the permissions checked by the authorization
|
|
8
|
+
* interceptor before an RPC handler executes.
|
|
9
|
+
*
|
|
10
|
+
* Each value maps to an FGA permission name (a computed relation derived
|
|
11
|
+
* from roles). Permissions are never directly assigned to principals —
|
|
12
|
+
* they are granted implicitly through role assignments.
|
|
13
|
+
*
|
|
14
|
+
* For assignable roles, see IamRole below.
|
|
15
|
+
* For structural FGA relations (organization, session, agent, etc.),
|
|
16
|
+
* those are internal wiring and not represented in this enum.
|
|
17
|
+
*
|
|
18
|
+
* @generated from enum ai.stigmer.iam.v1.IamPermission
|
|
19
|
+
*/
|
|
20
|
+
export declare enum IamPermission {
|
|
21
|
+
/**
|
|
22
|
+
* @generated from enum value: unspecified = 0;
|
|
23
|
+
*/
|
|
24
|
+
unspecified = 0,
|
|
25
|
+
/**
|
|
26
|
+
* Standard CRUD permissions.
|
|
27
|
+
*
|
|
28
|
+
* @generated from enum value: can_view = 1;
|
|
29
|
+
*/
|
|
30
|
+
can_view = 1,
|
|
31
|
+
/**
|
|
32
|
+
* @generated from enum value: can_edit = 2;
|
|
33
|
+
*/
|
|
34
|
+
can_edit = 2,
|
|
35
|
+
/**
|
|
36
|
+
* @generated from enum value: can_delete = 3;
|
|
37
|
+
*/
|
|
38
|
+
can_delete = 3,
|
|
39
|
+
/**
|
|
40
|
+
* Access management permissions.
|
|
41
|
+
*
|
|
42
|
+
* @generated from enum value: can_grant_access = 4;
|
|
43
|
+
*/
|
|
44
|
+
can_grant_access = 4,
|
|
45
|
+
/**
|
|
46
|
+
* @generated from enum value: can_view_access = 5;
|
|
47
|
+
*/
|
|
48
|
+
can_view_access = 5,
|
|
49
|
+
/**
|
|
50
|
+
* Organization-level create permissions.
|
|
51
|
+
*
|
|
52
|
+
* @generated from enum value: can_create_agent = 6;
|
|
53
|
+
*/
|
|
54
|
+
can_create_agent = 6,
|
|
55
|
+
/**
|
|
56
|
+
* @generated from enum value: can_create_workflow = 7;
|
|
57
|
+
*/
|
|
58
|
+
can_create_workflow = 7,
|
|
59
|
+
/**
|
|
60
|
+
* @generated from enum value: can_create_session = 8;
|
|
61
|
+
*/
|
|
62
|
+
can_create_session = 8,
|
|
63
|
+
/**
|
|
64
|
+
* @generated from enum value: can_create_skill = 9;
|
|
65
|
+
*/
|
|
66
|
+
can_create_skill = 9,
|
|
67
|
+
/**
|
|
68
|
+
* @generated from enum value: can_create_project = 10;
|
|
69
|
+
*/
|
|
70
|
+
can_create_project = 10,
|
|
71
|
+
/**
|
|
72
|
+
* @generated from enum value: can_create_idp = 11;
|
|
73
|
+
*/
|
|
74
|
+
can_create_idp = 11,
|
|
75
|
+
/**
|
|
76
|
+
* @generated from enum value: can_create_environment = 12;
|
|
77
|
+
*/
|
|
78
|
+
can_create_environment = 12,
|
|
79
|
+
/**
|
|
80
|
+
* @generated from enum value: can_create_identity_account = 21;
|
|
81
|
+
*/
|
|
82
|
+
can_create_identity_account = 21,
|
|
83
|
+
/**
|
|
84
|
+
* Resource-level create permissions.
|
|
85
|
+
*
|
|
86
|
+
* @generated from enum value: can_create_execution_in = 13;
|
|
87
|
+
*/
|
|
88
|
+
can_create_execution_in = 13,
|
|
89
|
+
/**
|
|
90
|
+
* @generated from enum value: can_create_instance = 14;
|
|
91
|
+
*/
|
|
92
|
+
can_create_instance = 14,
|
|
93
|
+
/**
|
|
94
|
+
* Execution permission.
|
|
95
|
+
*
|
|
96
|
+
* @generated from enum value: can_execute = 15;
|
|
97
|
+
*/
|
|
98
|
+
can_execute = 15,
|
|
99
|
+
/**
|
|
100
|
+
* Secret access permission.
|
|
101
|
+
*
|
|
102
|
+
* @generated from enum value: can_read_secrets = 16;
|
|
103
|
+
*/
|
|
104
|
+
can_read_secrets = 16,
|
|
105
|
+
/**
|
|
106
|
+
* Platform-level permissions.
|
|
107
|
+
*
|
|
108
|
+
* @generated from enum value: can_bootstrap_iam = 17;
|
|
109
|
+
*/
|
|
110
|
+
can_bootstrap_iam = 17,
|
|
111
|
+
/**
|
|
112
|
+
* @generated from enum value: can_manage_identity_accounts = 18;
|
|
113
|
+
*/
|
|
114
|
+
can_manage_identity_accounts = 18,
|
|
115
|
+
/**
|
|
116
|
+
* @generated from enum value: can_update_execution_status = 19;
|
|
117
|
+
*/
|
|
118
|
+
can_update_execution_status = 19,
|
|
119
|
+
/**
|
|
120
|
+
* Back-office access permission.
|
|
121
|
+
*
|
|
122
|
+
* @generated from enum value: login_to_back_office = 20;
|
|
123
|
+
*/
|
|
124
|
+
login_to_back_office = 20
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Describes the enum ai.stigmer.iam.v1.IamPermission.
|
|
128
|
+
*/
|
|
129
|
+
export declare const IamPermissionSchema: GenEnum<IamPermission>;
|
|
130
|
+
/**
|
|
131
|
+
* IamRole defines the roles that can be assigned to principals on resources
|
|
132
|
+
* via IAM policies.
|
|
133
|
+
*
|
|
134
|
+
* Roles are human-assigned and represent a principal's relationship to a
|
|
135
|
+
* resource. They are distinct from permissions (which are computed from roles
|
|
136
|
+
* and checked by the authorization interceptor) and structural relations
|
|
137
|
+
* (which are internal FGA wiring like organization or session links).
|
|
138
|
+
*
|
|
139
|
+
* Each ApiResourceKind declares which of these roles are grantable via
|
|
140
|
+
* the grantable_roles field in its AuthorizationConfig.
|
|
141
|
+
*
|
|
142
|
+
* @generated from enum ai.stigmer.iam.v1.IamRole
|
|
143
|
+
*/
|
|
144
|
+
export declare enum IamRole {
|
|
145
|
+
/**
|
|
146
|
+
* @generated from enum value: iam_role_unspecified = 0;
|
|
147
|
+
*/
|
|
148
|
+
iam_role_unspecified = 0,
|
|
149
|
+
/**
|
|
150
|
+
* Full control of the resource. Typically assigned to the creator.
|
|
151
|
+
*
|
|
152
|
+
* @generated from enum value: owner = 1;
|
|
153
|
+
*/
|
|
154
|
+
owner = 1,
|
|
155
|
+
/**
|
|
156
|
+
* Administrative access. Grants most permissions except ownership transfer.
|
|
157
|
+
*
|
|
158
|
+
* @generated from enum value: admin = 2;
|
|
159
|
+
*/
|
|
160
|
+
admin = 2,
|
|
161
|
+
/**
|
|
162
|
+
* Membership-level access. Grants read and limited write permissions.
|
|
163
|
+
*
|
|
164
|
+
* @generated from enum value: member = 3;
|
|
165
|
+
*/
|
|
166
|
+
member = 3,
|
|
167
|
+
/**
|
|
168
|
+
* Read-only access to the resource.
|
|
169
|
+
*
|
|
170
|
+
* @generated from enum value: viewer = 4;
|
|
171
|
+
*/
|
|
172
|
+
viewer = 4
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Describes the enum ai.stigmer.iam.v1.IamRole.
|
|
176
|
+
*/
|
|
177
|
+
export declare const IamRoleSchema: GenEnum<IamRole>;
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file ai/stigmer/iam/v1/enum.proto (package ai.stigmer.iam.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file ai/stigmer/iam/v1/enum.proto.
|
|
7
|
+
*/
|
|
8
|
+
export const file_ai_stigmer_iam_v1_enum = /*@__PURE__*/ fileDesc("ChxhaS9zdGlnbWVyL2lhbS92MS9lbnVtLnByb3RvEhFhaS5zdGlnbWVyLmlhbS52MSqOBAoNSWFtUGVybWlzc2lvbhIPCgt1bnNwZWNpZmllZBAAEgwKCGNhbl92aWV3EAESDAoIY2FuX2VkaXQQAhIOCgpjYW5fZGVsZXRlEAMSFAoQY2FuX2dyYW50X2FjY2VzcxAEEhMKD2Nhbl92aWV3X2FjY2VzcxAFEhQKEGNhbl9jcmVhdGVfYWdlbnQQBhIXChNjYW5fY3JlYXRlX3dvcmtmbG93EAcSFgoSY2FuX2NyZWF0ZV9zZXNzaW9uEAgSFAoQY2FuX2NyZWF0ZV9za2lsbBAJEhYKEmNhbl9jcmVhdGVfcHJvamVjdBAKEhIKDmNhbl9jcmVhdGVfaWRwEAsSGgoWY2FuX2NyZWF0ZV9lbnZpcm9ubWVudBAMEh8KG2Nhbl9jcmVhdGVfaWRlbnRpdHlfYWNjb3VudBAVEhsKF2Nhbl9jcmVhdGVfZXhlY3V0aW9uX2luEA0SFwoTY2FuX2NyZWF0ZV9pbnN0YW5jZRAOEg8KC2Nhbl9leGVjdXRlEA8SFAoQY2FuX3JlYWRfc2VjcmV0cxAQEhUKEWNhbl9ib290c3RyYXBfaWFtEBESIAocY2FuX21hbmFnZV9pZGVudGl0eV9hY2NvdW50cxASEh8KG2Nhbl91cGRhdGVfZXhlY3V0aW9uX3N0YXR1cxATEhgKFGxvZ2luX3RvX2JhY2tfb2ZmaWNlEBQqUQoHSWFtUm9sZRIYChRpYW1fcm9sZV91bnNwZWNpZmllZBAAEgkKBW93bmVyEAESCQoFYWRtaW4QAhIKCgZtZW1iZXIQAxIKCgZ2aWV3ZXIQBGIGcHJvdG8z");
|
|
9
|
+
/**
|
|
10
|
+
* IamPermission defines the permissions checked by the authorization
|
|
11
|
+
* interceptor before an RPC handler executes.
|
|
12
|
+
*
|
|
13
|
+
* Each value maps to an FGA permission name (a computed relation derived
|
|
14
|
+
* from roles). Permissions are never directly assigned to principals —
|
|
15
|
+
* they are granted implicitly through role assignments.
|
|
16
|
+
*
|
|
17
|
+
* For assignable roles, see IamRole below.
|
|
18
|
+
* For structural FGA relations (organization, session, agent, etc.),
|
|
19
|
+
* those are internal wiring and not represented in this enum.
|
|
20
|
+
*
|
|
21
|
+
* @generated from enum ai.stigmer.iam.v1.IamPermission
|
|
22
|
+
*/
|
|
23
|
+
export var IamPermission;
|
|
24
|
+
(function (IamPermission) {
|
|
25
|
+
/**
|
|
26
|
+
* @generated from enum value: unspecified = 0;
|
|
27
|
+
*/
|
|
28
|
+
IamPermission[IamPermission["unspecified"] = 0] = "unspecified";
|
|
29
|
+
/**
|
|
30
|
+
* Standard CRUD permissions.
|
|
31
|
+
*
|
|
32
|
+
* @generated from enum value: can_view = 1;
|
|
33
|
+
*/
|
|
34
|
+
IamPermission[IamPermission["can_view"] = 1] = "can_view";
|
|
35
|
+
/**
|
|
36
|
+
* @generated from enum value: can_edit = 2;
|
|
37
|
+
*/
|
|
38
|
+
IamPermission[IamPermission["can_edit"] = 2] = "can_edit";
|
|
39
|
+
/**
|
|
40
|
+
* @generated from enum value: can_delete = 3;
|
|
41
|
+
*/
|
|
42
|
+
IamPermission[IamPermission["can_delete"] = 3] = "can_delete";
|
|
43
|
+
/**
|
|
44
|
+
* Access management permissions.
|
|
45
|
+
*
|
|
46
|
+
* @generated from enum value: can_grant_access = 4;
|
|
47
|
+
*/
|
|
48
|
+
IamPermission[IamPermission["can_grant_access"] = 4] = "can_grant_access";
|
|
49
|
+
/**
|
|
50
|
+
* @generated from enum value: can_view_access = 5;
|
|
51
|
+
*/
|
|
52
|
+
IamPermission[IamPermission["can_view_access"] = 5] = "can_view_access";
|
|
53
|
+
/**
|
|
54
|
+
* Organization-level create permissions.
|
|
55
|
+
*
|
|
56
|
+
* @generated from enum value: can_create_agent = 6;
|
|
57
|
+
*/
|
|
58
|
+
IamPermission[IamPermission["can_create_agent"] = 6] = "can_create_agent";
|
|
59
|
+
/**
|
|
60
|
+
* @generated from enum value: can_create_workflow = 7;
|
|
61
|
+
*/
|
|
62
|
+
IamPermission[IamPermission["can_create_workflow"] = 7] = "can_create_workflow";
|
|
63
|
+
/**
|
|
64
|
+
* @generated from enum value: can_create_session = 8;
|
|
65
|
+
*/
|
|
66
|
+
IamPermission[IamPermission["can_create_session"] = 8] = "can_create_session";
|
|
67
|
+
/**
|
|
68
|
+
* @generated from enum value: can_create_skill = 9;
|
|
69
|
+
*/
|
|
70
|
+
IamPermission[IamPermission["can_create_skill"] = 9] = "can_create_skill";
|
|
71
|
+
/**
|
|
72
|
+
* @generated from enum value: can_create_project = 10;
|
|
73
|
+
*/
|
|
74
|
+
IamPermission[IamPermission["can_create_project"] = 10] = "can_create_project";
|
|
75
|
+
/**
|
|
76
|
+
* @generated from enum value: can_create_idp = 11;
|
|
77
|
+
*/
|
|
78
|
+
IamPermission[IamPermission["can_create_idp"] = 11] = "can_create_idp";
|
|
79
|
+
/**
|
|
80
|
+
* @generated from enum value: can_create_environment = 12;
|
|
81
|
+
*/
|
|
82
|
+
IamPermission[IamPermission["can_create_environment"] = 12] = "can_create_environment";
|
|
83
|
+
/**
|
|
84
|
+
* @generated from enum value: can_create_identity_account = 21;
|
|
85
|
+
*/
|
|
86
|
+
IamPermission[IamPermission["can_create_identity_account"] = 21] = "can_create_identity_account";
|
|
87
|
+
/**
|
|
88
|
+
* Resource-level create permissions.
|
|
89
|
+
*
|
|
90
|
+
* @generated from enum value: can_create_execution_in = 13;
|
|
91
|
+
*/
|
|
92
|
+
IamPermission[IamPermission["can_create_execution_in"] = 13] = "can_create_execution_in";
|
|
93
|
+
/**
|
|
94
|
+
* @generated from enum value: can_create_instance = 14;
|
|
95
|
+
*/
|
|
96
|
+
IamPermission[IamPermission["can_create_instance"] = 14] = "can_create_instance";
|
|
97
|
+
/**
|
|
98
|
+
* Execution permission.
|
|
99
|
+
*
|
|
100
|
+
* @generated from enum value: can_execute = 15;
|
|
101
|
+
*/
|
|
102
|
+
IamPermission[IamPermission["can_execute"] = 15] = "can_execute";
|
|
103
|
+
/**
|
|
104
|
+
* Secret access permission.
|
|
105
|
+
*
|
|
106
|
+
* @generated from enum value: can_read_secrets = 16;
|
|
107
|
+
*/
|
|
108
|
+
IamPermission[IamPermission["can_read_secrets"] = 16] = "can_read_secrets";
|
|
109
|
+
/**
|
|
110
|
+
* Platform-level permissions.
|
|
111
|
+
*
|
|
112
|
+
* @generated from enum value: can_bootstrap_iam = 17;
|
|
113
|
+
*/
|
|
114
|
+
IamPermission[IamPermission["can_bootstrap_iam"] = 17] = "can_bootstrap_iam";
|
|
115
|
+
/**
|
|
116
|
+
* @generated from enum value: can_manage_identity_accounts = 18;
|
|
117
|
+
*/
|
|
118
|
+
IamPermission[IamPermission["can_manage_identity_accounts"] = 18] = "can_manage_identity_accounts";
|
|
119
|
+
/**
|
|
120
|
+
* @generated from enum value: can_update_execution_status = 19;
|
|
121
|
+
*/
|
|
122
|
+
IamPermission[IamPermission["can_update_execution_status"] = 19] = "can_update_execution_status";
|
|
123
|
+
/**
|
|
124
|
+
* Back-office access permission.
|
|
125
|
+
*
|
|
126
|
+
* @generated from enum value: login_to_back_office = 20;
|
|
127
|
+
*/
|
|
128
|
+
IamPermission[IamPermission["login_to_back_office"] = 20] = "login_to_back_office";
|
|
129
|
+
})(IamPermission || (IamPermission = {}));
|
|
130
|
+
/**
|
|
131
|
+
* Describes the enum ai.stigmer.iam.v1.IamPermission.
|
|
132
|
+
*/
|
|
133
|
+
export const IamPermissionSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_iam_v1_enum, 0);
|
|
134
|
+
/**
|
|
135
|
+
* IamRole defines the roles that can be assigned to principals on resources
|
|
136
|
+
* via IAM policies.
|
|
137
|
+
*
|
|
138
|
+
* Roles are human-assigned and represent a principal's relationship to a
|
|
139
|
+
* resource. They are distinct from permissions (which are computed from roles
|
|
140
|
+
* and checked by the authorization interceptor) and structural relations
|
|
141
|
+
* (which are internal FGA wiring like organization or session links).
|
|
142
|
+
*
|
|
143
|
+
* Each ApiResourceKind declares which of these roles are grantable via
|
|
144
|
+
* the grantable_roles field in its AuthorizationConfig.
|
|
145
|
+
*
|
|
146
|
+
* @generated from enum ai.stigmer.iam.v1.IamRole
|
|
147
|
+
*/
|
|
148
|
+
export var IamRole;
|
|
149
|
+
(function (IamRole) {
|
|
150
|
+
/**
|
|
151
|
+
* @generated from enum value: iam_role_unspecified = 0;
|
|
152
|
+
*/
|
|
153
|
+
IamRole[IamRole["iam_role_unspecified"] = 0] = "iam_role_unspecified";
|
|
154
|
+
/**
|
|
155
|
+
* Full control of the resource. Typically assigned to the creator.
|
|
156
|
+
*
|
|
157
|
+
* @generated from enum value: owner = 1;
|
|
158
|
+
*/
|
|
159
|
+
IamRole[IamRole["owner"] = 1] = "owner";
|
|
160
|
+
/**
|
|
161
|
+
* Administrative access. Grants most permissions except ownership transfer.
|
|
162
|
+
*
|
|
163
|
+
* @generated from enum value: admin = 2;
|
|
164
|
+
*/
|
|
165
|
+
IamRole[IamRole["admin"] = 2] = "admin";
|
|
166
|
+
/**
|
|
167
|
+
* Membership-level access. Grants read and limited write permissions.
|
|
168
|
+
*
|
|
169
|
+
* @generated from enum value: member = 3;
|
|
170
|
+
*/
|
|
171
|
+
IamRole[IamRole["member"] = 3] = "member";
|
|
172
|
+
/**
|
|
173
|
+
* Read-only access to the resource.
|
|
174
|
+
*
|
|
175
|
+
* @generated from enum value: viewer = 4;
|
|
176
|
+
*/
|
|
177
|
+
IamRole[IamRole["viewer"] = 4] = "viewer";
|
|
178
|
+
})(IamRole || (IamRole = {}));
|
|
179
|
+
/**
|
|
180
|
+
* Describes the enum ai.stigmer.iam.v1.IamRole.
|
|
181
|
+
*/
|
|
182
|
+
export const IamRoleSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_iam_v1_enum, 1);
|
|
183
|
+
//# sourceMappingURL=enum_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enum_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/iam/v1/enum_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,+FAA+F;AAC/F,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAElE;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAY,aAAa,CAC/D,QAAQ,CAAC,83BAA83B,CAAC,CAAC;AAE34B;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAN,IAAY,aA8HX;AA9HD,WAAY,aAAa;IACvB;;OAEG;IACH,+DAAe,CAAA;IAEf;;;;OAIG;IACH,yDAAY,CAAA;IAEZ;;OAEG;IACH,yDAAY,CAAA;IAEZ;;OAEG;IACH,6DAAc,CAAA;IAEd;;;;OAIG;IACH,yEAAoB,CAAA;IAEpB;;OAEG;IACH,uEAAmB,CAAA;IAEnB;;;;OAIG;IACH,yEAAoB,CAAA;IAEpB;;OAEG;IACH,+EAAuB,CAAA;IAEvB;;OAEG;IACH,6EAAsB,CAAA;IAEtB;;OAEG;IACH,yEAAoB,CAAA;IAEpB;;OAEG;IACH,8EAAuB,CAAA;IAEvB;;OAEG;IACH,sEAAmB,CAAA;IAEnB;;OAEG;IACH,sFAA2B,CAAA;IAE3B;;OAEG;IACH,gGAAgC,CAAA;IAEhC;;;;OAIG;IACH,wFAA4B,CAAA;IAE5B;;OAEG;IACH,gFAAwB,CAAA;IAExB;;;;OAIG;IACH,gEAAgB,CAAA;IAEhB;;;;OAIG;IACH,0EAAqB,CAAA;IAErB;;;;OAIG;IACH,4EAAsB,CAAA;IAEtB;;OAEG;IACH,kGAAiC,CAAA;IAEjC;;OAEG;IACH,gGAAgC,CAAA;IAEhC;;;;OAIG;IACH,kFAAyB,CAAA;AAC3B,CAAC,EA9HW,aAAa,KAAb,aAAa,QA8HxB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA2B,aAAa,CACtE,QAAQ,CAAC,2BAA2B,EAAE,CAAC,CAAC,CAAC;AAE3C;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAN,IAAY,OAiCX;AAjCD,WAAY,OAAO;IACjB;;OAEG;IACH,qEAAwB,CAAA;IAExB;;;;OAIG;IACH,uCAAS,CAAA;IAET;;;;OAIG;IACH,uCAAS,CAAA;IAET;;;;OAIG;IACH,yCAAU,CAAA;IAEV;;;;OAIG;IACH,yCAAU,CAAA;AACZ,CAAC,EAjCW,OAAO,KAAP,OAAO,QAiClB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAqB,aAAa,CAC1D,QAAQ,CAAC,2BAA2B,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
// @generated from file ai/stigmer/platform/github/v1/service.proto (package ai.stigmer.platform.github.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
-
import {
|
|
5
|
+
import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc/method_options_pb";
|
|
6
6
|
import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb";
|
|
7
7
|
/**
|
|
8
8
|
* Describes the file ai/stigmer/platform/github/v1/service.proto.
|
|
9
9
|
*/
|
|
10
|
-
export const file_ai_stigmer_platform_github_v1_service = /*@__PURE__*/ fileDesc("CithaS9zdGlnbWVyL3BsYXRmb3JtL2dpdGh1Yi92MS9zZXJ2aWNlLnByb3RvEh1haS5zdGlnbWVyLnBsYXRmb3JtLmdpdGh1Yi52MSI8ChtHZXRPQXV0aEF1dGhvcml6ZVVybFJlcXVlc3QSHQoMcmVkaXJlY3RfdXJpGAEgASgJQge6SARyAhABIkQKHEdldE9BdXRoQXV0aG9yaXplVXJsUmVzcG9uc2USFQoNYXV0aG9yaXplX3VybBgBIAEoCRINCgVzdGF0ZRgCIAEoCSJoChhFeGNoYW5nZU9BdXRoQ29kZVJlcXVlc3QSFQoEY29kZRgBIAEoCUIHukgEcgIQARIWCgVzdGF0ZRgCIAEoCUIHukgEcgIQARIdCgxyZWRpcmVjdF91cmkYAyABKAlCB7pIBHICEAEiVAoZRXhjaGFuZ2VPQXV0aENvZGVSZXNwb25zZRIUCgxhY2Nlc3NfdG9rZW4YASABKAkSEgoKdG9rZW5fdHlwZRgCIAEoCRINCgVzY29wZRgDIAEoCTK2AgoNR2l0SHViU2VydmljZRKVAQoUZ2V0T0F1dGhBdXRob3JpemVVcmwSOi5haS5zdGlnbWVyLnBsYXRmb3JtLmdpdGh1Yi52MS5HZXRPQXV0aEF1dGhvcml6ZVVybFJlcXVlc3QaOy5haS5zdGlnbWVyLnBsYXRmb3JtLmdpdGh1Yi52MS5HZXRPQXV0aEF1dGhvcml6ZVVybFJlc3BvbnNlIgTQuBgBEowBChFleGNoYW5nZU9BdXRoQ29kZRI3LmFpLnN0aWdtZXIucGxhdGZvcm0uZ2l0aHViLnYxLkV4Y2hhbmdlT0F1dGhDb2RlUmVxdWVzdBo4LmFpLnN0aWdtZXIucGxhdGZvcm0uZ2l0aHViLnYxLkV4Y2hhbmdlT0F1dGhDb2RlUmVzcG9uc2UiBNC4GAFiBnByb3RvMw", [
|
|
10
|
+
export const file_ai_stigmer_platform_github_v1_service = /*@__PURE__*/ fileDesc("CithaS9zdGlnbWVyL3BsYXRmb3JtL2dpdGh1Yi92MS9zZXJ2aWNlLnByb3RvEh1haS5zdGlnbWVyLnBsYXRmb3JtLmdpdGh1Yi52MSI8ChtHZXRPQXV0aEF1dGhvcml6ZVVybFJlcXVlc3QSHQoMcmVkaXJlY3RfdXJpGAEgASgJQge6SARyAhABIkQKHEdldE9BdXRoQXV0aG9yaXplVXJsUmVzcG9uc2USFQoNYXV0aG9yaXplX3VybBgBIAEoCRINCgVzdGF0ZRgCIAEoCSJoChhFeGNoYW5nZU9BdXRoQ29kZVJlcXVlc3QSFQoEY29kZRgBIAEoCUIHukgEcgIQARIWCgVzdGF0ZRgCIAEoCUIHukgEcgIQARIdCgxyZWRpcmVjdF91cmkYAyABKAlCB7pIBHICEAEiVAoZRXhjaGFuZ2VPQXV0aENvZGVSZXNwb25zZRIUCgxhY2Nlc3NfdG9rZW4YASABKAkSEgoKdG9rZW5fdHlwZRgCIAEoCRINCgVzY29wZRgDIAEoCTK2AgoNR2l0SHViU2VydmljZRKVAQoUZ2V0T0F1dGhBdXRob3JpemVVcmwSOi5haS5zdGlnbWVyLnBsYXRmb3JtLmdpdGh1Yi52MS5HZXRPQXV0aEF1dGhvcml6ZVVybFJlcXVlc3QaOy5haS5zdGlnbWVyLnBsYXRmb3JtLmdpdGh1Yi52MS5HZXRPQXV0aEF1dGhvcml6ZVVybFJlc3BvbnNlIgTQuBgBEowBChFleGNoYW5nZU9BdXRoQ29kZRI3LmFpLnN0aWdtZXIucGxhdGZvcm0uZ2l0aHViLnYxLkV4Y2hhbmdlT0F1dGhDb2RlUmVxdWVzdBo4LmFpLnN0aWdtZXIucGxhdGZvcm0uZ2l0aHViLnYxLkV4Y2hhbmdlT0F1dGhDb2RlUmVzcG9uc2UiBNC4GAFiBnByb3RvMw", [file_ai_stigmer_commons_rpc_method_options, file_buf_validate_validate]);
|
|
11
11
|
/**
|
|
12
12
|
* Describes the message ai.stigmer.platform.github.v1.GetOAuthAuthorizeUrlRequest.
|
|
13
13
|
* Use `create(GetOAuthAuthorizeUrlRequestSchema)` to create a new message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/platform/github/v1/service_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,0HAA0H;AAC1H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAClF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"service_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/platform/github/v1/service_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,0HAA0H;AAC1H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAClF,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AACpG,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,o8BAAo8B,EAAE,CAAC,0CAA0C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAmB3hC;;;GAGG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAA4C,aAAa,CACrG,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC;AAwB7D;;;GAGG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAA6C,aAAa,CACvG,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC;AAiC7D;;;GAGG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAyC,aAAa,CAC/F,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC;AA8B7D;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAA0C,aAAa,CACjG,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC;AAE7D;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,aAAa,GAwCrB,aAAa,CAChB,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC"}
|