@stigmer/protos 0.0.77 → 0.0.78
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/mcpserver/v1/command_connect.d.ts +60 -0
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.js +60 -0
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.d.ts +59 -1
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.js +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/io_pb.d.ts +156 -0
- package/ai/stigmer/agentic/mcpserver/v1/io_pb.js +21 -1
- package/ai/stigmer/agentic/mcpserver/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/oauth_pb.d.ts +102 -0
- package/ai/stigmer/agentic/mcpserver/v1/oauth_pb.js +14 -0
- package/ai/stigmer/agentic/mcpserver/v1/oauth_pb.js.map +1 -0
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +87 -76
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js +5 -5
- package/ai/stigmer/agentic/mcpserver/v1/spec_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/iam/oauthapp/v1/api_pb.d.ts +82 -0
- package/ai/stigmer/iam/oauthapp/v1/api_pb.js +18 -0
- package/ai/stigmer/iam/oauthapp/v1/api_pb.js.map +1 -0
- package/ai/stigmer/iam/oauthapp/v1/command_connect.d.ts +82 -0
- package/ai/stigmer/iam/oauthapp/v1/command_connect.js +88 -0
- package/ai/stigmer/iam/oauthapp/v1/command_connect.js.map +1 -0
- package/ai/stigmer/iam/oauthapp/v1/command_pb.d.ts +82 -0
- package/ai/stigmer/iam/oauthapp/v1/command_pb.js +24 -0
- package/ai/stigmer/iam/oauthapp/v1/command_pb.js.map +1 -0
- package/ai/stigmer/iam/oauthapp/v1/io_pb.d.ts +62 -0
- package/ai/stigmer/iam/oauthapp/v1/io_pb.js +26 -0
- package/ai/stigmer/iam/oauthapp/v1/io_pb.js.map +1 -0
- package/ai/stigmer/iam/oauthapp/v1/query_connect.d.ts +59 -0
- package/ai/stigmer/iam/oauthapp/v1/query_connect.js +65 -0
- package/ai/stigmer/iam/oauthapp/v1/query_connect.js.map +1 -0
- package/ai/stigmer/iam/oauthapp/v1/query_pb.d.ts +61 -0
- package/ai/stigmer/iam/oauthapp/v1/query_pb.js +20 -0
- package/ai/stigmer/iam/oauthapp/v1/query_pb.js.map +1 -0
- package/ai/stigmer/iam/oauthapp/v1/spec_pb.d.ts +108 -0
- package/ai/stigmer/iam/oauthapp/v1/spec_pb.js +15 -0
- package/ai/stigmer/iam/oauthapp/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/iam/v1/enum_pb.d.ts +4 -0
- package/ai/stigmer/iam/v1/enum_pb.js +5 -1
- package/ai/stigmer/iam/v1/enum_pb.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { ApiResourceDeleteInputSchema } from "../../../commons/apiresource/io_pb";
|
|
3
|
+
import type { OAuthAppSchema } from "./api_pb";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file ai/stigmer/iam/oauthapp/v1/command.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_ai_stigmer_iam_oauthapp_v1_command: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* OAuthAppCommandController provides write operations for OAuth app resources.
|
|
10
|
+
*
|
|
11
|
+
* @internal
|
|
12
|
+
* OAuthApps hold vendor client credentials (client_secret) and are always
|
|
13
|
+
* org-private. There is no updateVisibility RPC — public visibility is
|
|
14
|
+
* intentionally unsupported to prevent credential leakage.
|
|
15
|
+
*
|
|
16
|
+
* @generated from service ai.stigmer.iam.oauthapp.v1.OAuthAppCommandController
|
|
17
|
+
*/
|
|
18
|
+
export declare const OAuthAppCommandController: GenService<{
|
|
19
|
+
/**
|
|
20
|
+
* Create or update an OAuth app.
|
|
21
|
+
*
|
|
22
|
+
* If the resource does not exist, creates a new OAuth app.
|
|
23
|
+
* If the resource exists, updates the existing OAuth app.
|
|
24
|
+
*
|
|
25
|
+
* @internal
|
|
26
|
+
* The authorization and state-operation are determined depending on whether the
|
|
27
|
+
* OAuth app is going to be created or updated, which is determined as
|
|
28
|
+
* part of the request execution.
|
|
29
|
+
*
|
|
30
|
+
* @generated from rpc ai.stigmer.iam.oauthapp.v1.OAuthAppCommandController.apply
|
|
31
|
+
*/
|
|
32
|
+
apply: {
|
|
33
|
+
methodKind: "unary";
|
|
34
|
+
input: typeof OAuthAppSchema;
|
|
35
|
+
output: typeof OAuthAppSchema;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Create an OAuth app.
|
|
39
|
+
*
|
|
40
|
+
* The creator's organization owns the OAuth app. The creator is granted
|
|
41
|
+
* the owner role automatically.
|
|
42
|
+
*
|
|
43
|
+
* @internal
|
|
44
|
+
* Authorization: Requires can_create_oauth_app permission in the organization.
|
|
45
|
+
*
|
|
46
|
+
* @generated from rpc ai.stigmer.iam.oauthapp.v1.OAuthAppCommandController.create
|
|
47
|
+
*/
|
|
48
|
+
create: {
|
|
49
|
+
methodKind: "unary";
|
|
50
|
+
input: typeof OAuthAppSchema;
|
|
51
|
+
output: typeof OAuthAppSchema;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Update an existing OAuth app.
|
|
55
|
+
*
|
|
56
|
+
* @internal
|
|
57
|
+
* Authorization: Requires can_edit permission on the oauth_app resource.
|
|
58
|
+
*
|
|
59
|
+
* @generated from rpc ai.stigmer.iam.oauthapp.v1.OAuthAppCommandController.update
|
|
60
|
+
*/
|
|
61
|
+
update: {
|
|
62
|
+
methodKind: "unary";
|
|
63
|
+
input: typeof OAuthAppSchema;
|
|
64
|
+
output: typeof OAuthAppSchema;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Delete an OAuth app.
|
|
68
|
+
*
|
|
69
|
+
* Deletion should be blocked if any McpServer resources reference this
|
|
70
|
+
* OAuth app via McpServerVendorOAuth.oauth_app_ref.
|
|
71
|
+
*
|
|
72
|
+
* @internal
|
|
73
|
+
* Authorization: Requires can_delete permission on the oauth_app resource.
|
|
74
|
+
*
|
|
75
|
+
* @generated from rpc ai.stigmer.iam.oauthapp.v1.OAuthAppCommandController.delete
|
|
76
|
+
*/
|
|
77
|
+
delete: {
|
|
78
|
+
methodKind: "unary";
|
|
79
|
+
input: typeof ApiResourceDeleteInputSchema;
|
|
80
|
+
output: typeof OAuthAppSchema;
|
|
81
|
+
};
|
|
82
|
+
}>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file ai/stigmer/iam/oauthapp/v1/command.proto (package ai.stigmer.iam.oauthapp.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_commons_apiresource_io } from "../../../commons/apiresource/io_pb";
|
|
6
|
+
import { file_ai_stigmer_commons_apiresource_rpc_service_options } from "../../../commons/apiresource/rpc_service_options_pb";
|
|
7
|
+
import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc/method_options_pb";
|
|
8
|
+
import { file_ai_stigmer_iam_oauthapp_v1_api } from "./api_pb";
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file ai/stigmer/iam/oauthapp/v1/command.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_ai_stigmer_iam_oauthapp_v1_command = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL2lhbS9vYXV0aGFwcC92MS9jb21tYW5kLnByb3RvEhphaS5zdGlnbWVyLmlhbS5vYXV0aGFwcC52MTLOBAoZT0F1dGhBcHBDb21tYW5kQ29udHJvbGxlchJTCgVhcHBseRIkLmFpLnN0aWdtZXIuaWFtLm9hdXRoYXBwLnYxLk9BdXRoQXBwGiQuYWkuc3RpZ21lci5pYW0ub2F1dGhhcHAudjEuT0F1dGhBcHASowEKBmNyZWF0ZRIkLmFpLnN0aWdtZXIuaWFtLm9hdXRoYXBwLnYxLk9BdXRoQXBwGiQuYWkuc3RpZ21lci5pYW0ub2F1dGhhcHAudjEuT0F1dGhBcHAiTcK4GEkIFxAeIgxtZXRhZGF0YS5vcmcqNXVuYXV0aG9yaXplZCB0byBjcmVhdGUgb2F1dGggYXBwIGluIHRoaXMgb3JnYW5pemF0aW9uEo0BCgZ1cGRhdGUSJC5haS5zdGlnbWVyLmlhbS5vYXV0aGFwcC52MS5PQXV0aEFwcBokLmFpLnN0aWdtZXIuaWFtLm9hdXRoYXBwLnYxLk9BdXRoQXBwIjfCuBgzCAIQFiILbWV0YWRhdGEuaWQqIHVuYXV0aG9yaXplZCB0byB1cGRhdGUgb2F1dGggYXBwEp8BCgZkZWxldGUSNi5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuQXBpUmVzb3VyY2VEZWxldGVJbnB1dBokLmFpLnN0aWdtZXIuaWFtLm9hdXRoYXBwLnYxLk9BdXRoQXBwIjfCuBgzCAMQFiILcmVzb3VyY2VfaWQqIHVuYXV0aG9yaXplZCB0byBkZWxldGUgb2F1dGggYXBwGgSg/ysWYgZwcm90bzM", [file_ai_stigmer_commons_apiresource_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options, file_ai_stigmer_iam_oauthapp_v1_api]);
|
|
13
|
+
/**
|
|
14
|
+
* OAuthAppCommandController provides write operations for OAuth app resources.
|
|
15
|
+
*
|
|
16
|
+
* @internal
|
|
17
|
+
* OAuthApps hold vendor client credentials (client_secret) and are always
|
|
18
|
+
* org-private. There is no updateVisibility RPC — public visibility is
|
|
19
|
+
* intentionally unsupported to prevent credential leakage.
|
|
20
|
+
*
|
|
21
|
+
* @generated from service ai.stigmer.iam.oauthapp.v1.OAuthAppCommandController
|
|
22
|
+
*/
|
|
23
|
+
export const OAuthAppCommandController = /*@__PURE__*/ serviceDesc(file_ai_stigmer_iam_oauthapp_v1_command, 0);
|
|
24
|
+
//# sourceMappingURL=command_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/oauthapp/v1/command_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,oHAAoH;AACpH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,oCAAoC,CAAC;AAC5F,OAAO,EAAE,uDAAuD,EAAE,MAAM,qDAAqD,CAAC;AAC9H,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AAEpG,OAAO,EAAE,mCAAmC,EAAE,MAAM,UAAU,CAAC;AAE/D;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAY,aAAa,CAC3E,QAAQ,CAAC,i4BAAi4B,EAAE,CAAC,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,EAAE,mCAAmC,CAAC,CAAC,CAAC;AAElkC;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAgEjC,aAAa,CAChB,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { OAuthApp } from "./api_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file ai/stigmer/iam/oauthapp/v1/io.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_ai_stigmer_iam_oauthapp_v1_io: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* OAuthAppId identifies an OAuth app by its unique identifier.
|
|
10
|
+
*
|
|
11
|
+
* @generated from message ai.stigmer.iam.oauthapp.v1.OAuthAppId
|
|
12
|
+
*/
|
|
13
|
+
export type OAuthAppId = Message<"ai.stigmer.iam.oauthapp.v1.OAuthAppId"> & {
|
|
14
|
+
/**
|
|
15
|
+
* Unique identifier of the OAuth app resource.
|
|
16
|
+
*
|
|
17
|
+
* @generated from field: string value = 1;
|
|
18
|
+
*/
|
|
19
|
+
value: string;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message ai.stigmer.iam.oauthapp.v1.OAuthAppId.
|
|
23
|
+
* Use `create(OAuthAppIdSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export declare const OAuthAppIdSchema: GenMessage<OAuthAppId>;
|
|
26
|
+
/**
|
|
27
|
+
* OAuthApps contains a list of OAuth app resources.
|
|
28
|
+
*
|
|
29
|
+
* @generated from message ai.stigmer.iam.oauthapp.v1.OAuthApps
|
|
30
|
+
*/
|
|
31
|
+
export type OAuthApps = Message<"ai.stigmer.iam.oauthapp.v1.OAuthApps"> & {
|
|
32
|
+
/**
|
|
33
|
+
* OAuth app entries.
|
|
34
|
+
*
|
|
35
|
+
* @generated from field: repeated ai.stigmer.iam.oauthapp.v1.OAuthApp entries = 1;
|
|
36
|
+
*/
|
|
37
|
+
entries: OAuthApp[];
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Describes the message ai.stigmer.iam.oauthapp.v1.OAuthApps.
|
|
41
|
+
* Use `create(OAuthAppsSchema)` to create a new message.
|
|
42
|
+
*/
|
|
43
|
+
export declare const OAuthAppsSchema: GenMessage<OAuthApps>;
|
|
44
|
+
/**
|
|
45
|
+
* ListOAuthAppsByOrgInput specifies the organization whose OAuth apps
|
|
46
|
+
* should be returned.
|
|
47
|
+
*
|
|
48
|
+
* @generated from message ai.stigmer.iam.oauthapp.v1.ListOAuthAppsByOrgInput
|
|
49
|
+
*/
|
|
50
|
+
export type ListOAuthAppsByOrgInput = Message<"ai.stigmer.iam.oauthapp.v1.ListOAuthAppsByOrgInput"> & {
|
|
51
|
+
/**
|
|
52
|
+
* Organization slug to list OAuth apps for.
|
|
53
|
+
*
|
|
54
|
+
* @generated from field: string org = 1;
|
|
55
|
+
*/
|
|
56
|
+
org: string;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Describes the message ai.stigmer.iam.oauthapp.v1.ListOAuthAppsByOrgInput.
|
|
60
|
+
* Use `create(ListOAuthAppsByOrgInputSchema)` to create a new message.
|
|
61
|
+
*/
|
|
62
|
+
export declare const ListOAuthAppsByOrgInputSchema: GenMessage<ListOAuthAppsByOrgInput>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file ai/stigmer/iam/oauthapp/v1/io.proto (package ai.stigmer.iam.oauthapp.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_iam_oauthapp_v1_api } from "./api_pb";
|
|
6
|
+
import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb";
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file ai/stigmer/iam/oauthapp/v1/io.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_ai_stigmer_iam_oauthapp_v1_io = /*@__PURE__*/ fileDesc("CiNhaS9zdGlnbWVyL2lhbS9vYXV0aGFwcC92MS9pby5wcm90bxIaYWkuc3RpZ21lci5pYW0ub2F1dGhhcHAudjEiJgoKT0F1dGhBcHBJZBIYCgV2YWx1ZRgBIAEoCUIJukgGcgQQARhAIkIKCU9BdXRoQXBwcxI1CgdlbnRyaWVzGAEgAygLMiQuYWkuc3RpZ21lci5pYW0ub2F1dGhhcHAudjEuT0F1dGhBcHAiLwoXTGlzdE9BdXRoQXBwc0J5T3JnSW5wdXQSFAoDb3JnGAEgASgJQge6SARyAhABYgZwcm90bzM", [file_ai_stigmer_iam_oauthapp_v1_api, file_buf_validate_validate]);
|
|
11
|
+
/**
|
|
12
|
+
* Describes the message ai.stigmer.iam.oauthapp.v1.OAuthAppId.
|
|
13
|
+
* Use `create(OAuthAppIdSchema)` to create a new message.
|
|
14
|
+
*/
|
|
15
|
+
export const OAuthAppIdSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_iam_oauthapp_v1_io, 0);
|
|
16
|
+
/**
|
|
17
|
+
* Describes the message ai.stigmer.iam.oauthapp.v1.OAuthApps.
|
|
18
|
+
* Use `create(OAuthAppsSchema)` to create a new message.
|
|
19
|
+
*/
|
|
20
|
+
export const OAuthAppsSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_iam_oauthapp_v1_io, 1);
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message ai.stigmer.iam.oauthapp.v1.ListOAuthAppsByOrgInput.
|
|
23
|
+
* Use `create(ListOAuthAppsByOrgInputSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export const ListOAuthAppsByOrgInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_iam_oauthapp_v1_io, 2);
|
|
26
|
+
//# sourceMappingURL=io_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/oauthapp/v1/io_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,+GAA+G;AAC/G,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,mCAAmC,EAAE,MAAM,UAAU,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAY,aAAa,CACtE,QAAQ,CAAC,qTAAqT,EAAE,CAAC,mCAAmC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAgBrY;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA2B,aAAa,CACnE,WAAW,CAAC,kCAAkC,EAAE,CAAC,CAAC,CAAC;AAgBrD;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAA0B,aAAa,CACjE,WAAW,CAAC,kCAAkC,EAAE,CAAC,CAAC,CAAC;AAiBrD;;;GAGG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAwC,aAAa,CAC7F,WAAW,CAAC,kCAAkC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OAuthAppQueryController provides read operations for OAuth app resources.
|
|
3
|
+
*
|
|
4
|
+
* @generated from service ai.stigmer.iam.oauthapp.v1.OAuthAppQueryController
|
|
5
|
+
*/
|
|
6
|
+
export declare const OAuthAppQueryController: {
|
|
7
|
+
readonly typeName: "ai.stigmer.iam.oauthapp.v1.OAuthAppQueryController";
|
|
8
|
+
readonly methods: {
|
|
9
|
+
/**
|
|
10
|
+
* Get an OAuth app by its unique identifier.
|
|
11
|
+
*
|
|
12
|
+
* @internal
|
|
13
|
+
* Authorization: Requires can_view permission on the oauth_app resource.
|
|
14
|
+
*
|
|
15
|
+
* @generated from rpc ai.stigmer.iam.oauthapp.v1.OAuthAppQueryController.get
|
|
16
|
+
*/
|
|
17
|
+
readonly get: {
|
|
18
|
+
readonly name: "get";
|
|
19
|
+
readonly I: any;
|
|
20
|
+
readonly O: any;
|
|
21
|
+
readonly kind: any;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Get an OAuth app by its organization-scoped reference (org/slug).
|
|
25
|
+
*
|
|
26
|
+
* Resolves a human-readable reference like "acme/slack-oauth" to the full
|
|
27
|
+
* OAuthApp resource.
|
|
28
|
+
*
|
|
29
|
+
* @internal
|
|
30
|
+
* Custom authorization in handler — checks both direct resource access
|
|
31
|
+
* and organization-level visibility permissions.
|
|
32
|
+
*
|
|
33
|
+
* @generated from rpc ai.stigmer.iam.oauthapp.v1.OAuthAppQueryController.getByReference
|
|
34
|
+
*/
|
|
35
|
+
readonly getByReference: {
|
|
36
|
+
readonly name: "getByReference";
|
|
37
|
+
readonly I: any;
|
|
38
|
+
readonly O: any;
|
|
39
|
+
readonly kind: any;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* List all OAuth apps belonging to an organization.
|
|
43
|
+
*
|
|
44
|
+
* Returns every OAuthApp whose metadata.org matches the input org.
|
|
45
|
+
* Typically a small set (1-5 per org), so results are not paginated.
|
|
46
|
+
*
|
|
47
|
+
* @internal
|
|
48
|
+
* Authorization: Requires can_view permission on the organization resource.
|
|
49
|
+
*
|
|
50
|
+
* @generated from rpc ai.stigmer.iam.oauthapp.v1.OAuthAppQueryController.listByOrg
|
|
51
|
+
*/
|
|
52
|
+
readonly listByOrg: {
|
|
53
|
+
readonly name: "listByOrg";
|
|
54
|
+
readonly I: any;
|
|
55
|
+
readonly O: any;
|
|
56
|
+
readonly kind: any;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts"
|
|
2
|
+
// @generated from file ai/stigmer/iam/oauthapp/v1/query.proto (package ai.stigmer.iam.oauthapp.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* OAuthAppQueryController provides read operations for OAuth app resources.
|
|
8
|
+
*
|
|
9
|
+
* @generated from service ai.stigmer.iam.oauthapp.v1.OAuthAppQueryController
|
|
10
|
+
*/
|
|
11
|
+
export const OAuthAppQueryController = {
|
|
12
|
+
typeName: "ai.stigmer.iam.oauthapp.v1.OAuthAppQueryController",
|
|
13
|
+
methods: {
|
|
14
|
+
/**
|
|
15
|
+
* Get an OAuth app by its unique identifier.
|
|
16
|
+
*
|
|
17
|
+
* @internal
|
|
18
|
+
* Authorization: Requires can_view permission on the oauth_app resource.
|
|
19
|
+
*
|
|
20
|
+
* @generated from rpc ai.stigmer.iam.oauthapp.v1.OAuthAppQueryController.get
|
|
21
|
+
*/
|
|
22
|
+
get: {
|
|
23
|
+
name: "get",
|
|
24
|
+
I: ApiResourceId,
|
|
25
|
+
O: OAuthApp,
|
|
26
|
+
kind: MethodKind.Unary,
|
|
27
|
+
},
|
|
28
|
+
/**
|
|
29
|
+
* Get an OAuth app by its organization-scoped reference (org/slug).
|
|
30
|
+
*
|
|
31
|
+
* Resolves a human-readable reference like "acme/slack-oauth" to the full
|
|
32
|
+
* OAuthApp resource.
|
|
33
|
+
*
|
|
34
|
+
* @internal
|
|
35
|
+
* Custom authorization in handler — checks both direct resource access
|
|
36
|
+
* and organization-level visibility permissions.
|
|
37
|
+
*
|
|
38
|
+
* @generated from rpc ai.stigmer.iam.oauthapp.v1.OAuthAppQueryController.getByReference
|
|
39
|
+
*/
|
|
40
|
+
getByReference: {
|
|
41
|
+
name: "getByReference",
|
|
42
|
+
I: ApiResourceReference,
|
|
43
|
+
O: OAuthApp,
|
|
44
|
+
kind: MethodKind.Unary,
|
|
45
|
+
},
|
|
46
|
+
/**
|
|
47
|
+
* List all OAuth apps belonging to an organization.
|
|
48
|
+
*
|
|
49
|
+
* Returns every OAuthApp whose metadata.org matches the input org.
|
|
50
|
+
* Typically a small set (1-5 per org), so results are not paginated.
|
|
51
|
+
*
|
|
52
|
+
* @internal
|
|
53
|
+
* Authorization: Requires can_view permission on the organization resource.
|
|
54
|
+
*
|
|
55
|
+
* @generated from rpc ai.stigmer.iam.oauthapp.v1.OAuthAppQueryController.listByOrg
|
|
56
|
+
*/
|
|
57
|
+
listByOrg: {
|
|
58
|
+
name: "listByOrg",
|
|
59
|
+
I: ListOAuthAppsByOrgInput,
|
|
60
|
+
O: OAuthApps,
|
|
61
|
+
kind: MethodKind.Unary,
|
|
62
|
+
},
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
//# sourceMappingURL=query_connect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/oauthapp/v1/query_connect.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,kHAAkH;AAClH,oBAAoB;AACpB,cAAc;AAId,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGhD;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,QAAQ,EAAE,oDAAoD;IAC9D,OAAO,EAAE;QACP;;;;;;;WAOG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,aAAa;YAChB,CAAC,EAAE,QAAQ;YACX,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;WAWG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,QAAQ;YACX,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;WAUG;QACH,SAAS,EAAE;YACT,IAAI,EAAE,WAAW;YACjB,CAAC,EAAE,uBAAuB;YAC1B,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { ApiResourceIdSchema, ApiResourceReferenceSchema } from "../../../commons/apiresource/io_pb";
|
|
3
|
+
import type { OAuthAppSchema } from "./api_pb";
|
|
4
|
+
import type { ListOAuthAppsByOrgInputSchema, OAuthAppsSchema } from "./io_pb";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file ai/stigmer/iam/oauthapp/v1/query.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_ai_stigmer_iam_oauthapp_v1_query: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* OAuthAppQueryController provides read operations for OAuth app resources.
|
|
11
|
+
*
|
|
12
|
+
* @generated from service ai.stigmer.iam.oauthapp.v1.OAuthAppQueryController
|
|
13
|
+
*/
|
|
14
|
+
export declare const OAuthAppQueryController: GenService<{
|
|
15
|
+
/**
|
|
16
|
+
* Get an OAuth app by its unique identifier.
|
|
17
|
+
*
|
|
18
|
+
* @internal
|
|
19
|
+
* Authorization: Requires can_view permission on the oauth_app resource.
|
|
20
|
+
*
|
|
21
|
+
* @generated from rpc ai.stigmer.iam.oauthapp.v1.OAuthAppQueryController.get
|
|
22
|
+
*/
|
|
23
|
+
get: {
|
|
24
|
+
methodKind: "unary";
|
|
25
|
+
input: typeof ApiResourceIdSchema;
|
|
26
|
+
output: typeof OAuthAppSchema;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Get an OAuth app by its organization-scoped reference (org/slug).
|
|
30
|
+
*
|
|
31
|
+
* Resolves a human-readable reference like "acme/slack-oauth" to the full
|
|
32
|
+
* OAuthApp resource.
|
|
33
|
+
*
|
|
34
|
+
* @internal
|
|
35
|
+
* Custom authorization in handler — checks both direct resource access
|
|
36
|
+
* and organization-level visibility permissions.
|
|
37
|
+
*
|
|
38
|
+
* @generated from rpc ai.stigmer.iam.oauthapp.v1.OAuthAppQueryController.getByReference
|
|
39
|
+
*/
|
|
40
|
+
getByReference: {
|
|
41
|
+
methodKind: "unary";
|
|
42
|
+
input: typeof ApiResourceReferenceSchema;
|
|
43
|
+
output: typeof OAuthAppSchema;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* List all OAuth apps belonging to an organization.
|
|
47
|
+
*
|
|
48
|
+
* Returns every OAuthApp whose metadata.org matches the input org.
|
|
49
|
+
* Typically a small set (1-5 per org), so results are not paginated.
|
|
50
|
+
*
|
|
51
|
+
* @internal
|
|
52
|
+
* Authorization: Requires can_view permission on the organization resource.
|
|
53
|
+
*
|
|
54
|
+
* @generated from rpc ai.stigmer.iam.oauthapp.v1.OAuthAppQueryController.listByOrg
|
|
55
|
+
*/
|
|
56
|
+
listByOrg: {
|
|
57
|
+
methodKind: "unary";
|
|
58
|
+
input: typeof ListOAuthAppsByOrgInputSchema;
|
|
59
|
+
output: typeof OAuthAppsSchema;
|
|
60
|
+
};
|
|
61
|
+
}>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file ai/stigmer/iam/oauthapp/v1/query.proto (package ai.stigmer.iam.oauthapp.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_commons_apiresource_io } from "../../../commons/apiresource/io_pb";
|
|
6
|
+
import { file_ai_stigmer_commons_apiresource_rpc_service_options } from "../../../commons/apiresource/rpc_service_options_pb";
|
|
7
|
+
import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc/method_options_pb";
|
|
8
|
+
import { file_ai_stigmer_iam_oauthapp_v1_api } from "./api_pb";
|
|
9
|
+
import { file_ai_stigmer_iam_oauthapp_v1_io } from "./io_pb";
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file ai/stigmer/iam/oauthapp/v1/query.proto.
|
|
12
|
+
*/
|
|
13
|
+
export const file_ai_stigmer_iam_oauthapp_v1_query = /*@__PURE__*/ fileDesc("CiZhaS9zdGlnbWVyL2lhbS9vYXV0aGFwcC92MS9xdWVyeS5wcm90bxIaYWkuc3RpZ21lci5pYW0ub2F1dGhhcHAudjEy0AMKF09BdXRoQXBwUXVlcnlDb250cm9sbGVyEosBCgNnZXQSLS5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuQXBpUmVzb3VyY2VJZBokLmFpLnN0aWdtZXIuaWFtLm9hdXRoYXBwLnYxLk9BdXRoQXBwIi/CuBgrCAEQFiIFdmFsdWUqHnVuYXV0aG9yaXplZCB0byB2aWV3IG9hdXRoIGFwcBJyCg5nZXRCeVJlZmVyZW5jZRI0LmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZVJlZmVyZW5jZRokLmFpLnN0aWdtZXIuaWFtLm9hdXRoYXBwLnYxLk9BdXRoQXBwIgTQuBgBEqwBCglsaXN0QnlPcmcSMy5haS5zdGlnbWVyLmlhbS5vYXV0aGFwcC52MS5MaXN0T0F1dGhBcHBzQnlPcmdJbnB1dBolLmFpLnN0aWdtZXIuaWFtLm9hdXRoYXBwLnYxLk9BdXRoQXBwcyJDwrgYPwgBEB4iA29yZyo0dW5hdXRob3JpemVkIHRvIGxpc3Qgb2F1dGggYXBwcyBpbiB0aGlzIG9yZ2FuaXphdGlvbhoEoP8rFmIGcHJvdG8z", [file_ai_stigmer_commons_apiresource_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options, file_ai_stigmer_iam_oauthapp_v1_api, file_ai_stigmer_iam_oauthapp_v1_io]);
|
|
14
|
+
/**
|
|
15
|
+
* OAuthAppQueryController provides read operations for OAuth app resources.
|
|
16
|
+
*
|
|
17
|
+
* @generated from service ai.stigmer.iam.oauthapp.v1.OAuthAppQueryController
|
|
18
|
+
*/
|
|
19
|
+
export const OAuthAppQueryController = /*@__PURE__*/ serviceDesc(file_ai_stigmer_iam_oauthapp_v1_query, 0);
|
|
20
|
+
//# sourceMappingURL=query_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/oauthapp/v1/query_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,kHAAkH;AAClH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,oCAAoC,CAAC;AAC5F,OAAO,EAAE,uDAAuD,EAAE,MAAM,qDAAqD,CAAC;AAC9H,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AAEpG,OAAO,EAAE,mCAAmC,EAAE,MAAM,UAAU,CAAC;AAE/D,OAAO,EAAE,kCAAkC,EAAE,MAAM,SAAS,CAAC;AAE7D;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAY,aAAa,CACzE,QAAQ,CAAC,stBAAstB,EAAE,CAAC,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,EAAE,mCAAmC,EAAE,kCAAkC,CAAC,CAAC,CAAC;AAE37B;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GA+C/B,aAAa,CAChB,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file ai/stigmer/iam/oauthapp/v1/spec.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_ai_stigmer_iam_oauthapp_v1_spec: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* OAuthAppSpec defines a registered OAuth application with an external vendor.
|
|
9
|
+
*
|
|
10
|
+
* @internal
|
|
11
|
+
* Represents Stigmer's (or a platform builder's) OAuth app registration
|
|
12
|
+
* with an external vendor like Slack, Salesforce, or Figma.
|
|
13
|
+
*
|
|
14
|
+
* Created by org admins or platform operators. Referenced by McpServer
|
|
15
|
+
* resources that need vendor OAuth authentication via McpServerVendorOAuth.
|
|
16
|
+
*
|
|
17
|
+
* Analogous to IdentityProvider (inbound auth trust), OAuthApp represents
|
|
18
|
+
* outbound auth — how Stigmer authenticates with external services on
|
|
19
|
+
* behalf of users.
|
|
20
|
+
*
|
|
21
|
+
* The redirect URI is intentionally omitted: the platform derives its
|
|
22
|
+
* OAuth callback URL from server configuration, not from per-app settings.
|
|
23
|
+
* When registering the OAuth app with a vendor, the admin uses the
|
|
24
|
+
* callback URL documented in Stigmer's deployment settings.
|
|
25
|
+
*
|
|
26
|
+
* Security:
|
|
27
|
+
* - client_secret is encrypted at rest and redacted in logs.
|
|
28
|
+
* - The resource should have visibility_private to prevent secret leakage.
|
|
29
|
+
* - OAuthApp does not support public visibility.
|
|
30
|
+
*
|
|
31
|
+
* Example YAML:
|
|
32
|
+
* apiVersion: iam.stigmer.ai/v1
|
|
33
|
+
* kind: OAuthApp
|
|
34
|
+
* metadata:
|
|
35
|
+
* name: Slack OAuth
|
|
36
|
+
* slug: slack-oauth
|
|
37
|
+
* org: acme
|
|
38
|
+
* spec:
|
|
39
|
+
* provider: "Slack"
|
|
40
|
+
* client_id: "1234567890.abcdef"
|
|
41
|
+
* client_secret: "xoxs-..."
|
|
42
|
+
* authorization_url: "https://slack.com/oauth/v2/authorize"
|
|
43
|
+
* token_url: "https://slack.com/api/oauth.v2.access"
|
|
44
|
+
* scopes: ["channels:read", "chat:write"]
|
|
45
|
+
*
|
|
46
|
+
* @generated from message ai.stigmer.iam.oauthapp.v1.OAuthAppSpec
|
|
47
|
+
*/
|
|
48
|
+
export type OAuthAppSpec = Message<"ai.stigmer.iam.oauthapp.v1.OAuthAppSpec"> & {
|
|
49
|
+
/**
|
|
50
|
+
* Human-readable vendor name for UI display and logging.
|
|
51
|
+
* Examples: "Slack", "Salesforce", "Figma"
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: string provider = 1;
|
|
54
|
+
*/
|
|
55
|
+
provider: string;
|
|
56
|
+
/**
|
|
57
|
+
* OAuth client identifier registered with the vendor.
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: string client_id = 2;
|
|
60
|
+
*/
|
|
61
|
+
clientId: string;
|
|
62
|
+
/**
|
|
63
|
+
* OAuth client secret registered with the vendor.
|
|
64
|
+
* Encrypted at rest, redacted in logs.
|
|
65
|
+
*
|
|
66
|
+
* @generated from field: string client_secret = 3;
|
|
67
|
+
*/
|
|
68
|
+
clientSecret: string;
|
|
69
|
+
/**
|
|
70
|
+
* Vendor's OAuth authorization endpoint.
|
|
71
|
+
* The browser redirects here to start the authorization code flow.
|
|
72
|
+
* Example: "https://slack.com/oauth/v2/authorize"
|
|
73
|
+
*
|
|
74
|
+
* @generated from field: string authorization_url = 4;
|
|
75
|
+
*/
|
|
76
|
+
authorizationUrl: string;
|
|
77
|
+
/**
|
|
78
|
+
* Vendor's OAuth token endpoint.
|
|
79
|
+
* The backend exchanges the authorization code for tokens here.
|
|
80
|
+
* Example: "https://slack.com/api/oauth.v2.access"
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: string token_url = 5;
|
|
83
|
+
*/
|
|
84
|
+
tokenUrl: string;
|
|
85
|
+
/**
|
|
86
|
+
* OAuth scopes to request during the authorization flow.
|
|
87
|
+
* Scope values are vendor-specific.
|
|
88
|
+
* Examples: ["channels:read", "chat:write"] (Slack),
|
|
89
|
+
* ["read_api", "api"] (GitLab)
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: repeated string scopes = 6;
|
|
92
|
+
*/
|
|
93
|
+
scopes: string[];
|
|
94
|
+
/**
|
|
95
|
+
* Optional OIDC UserInfo endpoint for fetching user profile data.
|
|
96
|
+
* When set, Stigmer calls this endpoint after token acquisition to
|
|
97
|
+
* retrieve the user's display name and avatar for the connected account.
|
|
98
|
+
* Omit for vendors that do not support a standard userinfo endpoint.
|
|
99
|
+
*
|
|
100
|
+
* @generated from field: string userinfo_url = 7;
|
|
101
|
+
*/
|
|
102
|
+
userinfoUrl: string;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Describes the message ai.stigmer.iam.oauthapp.v1.OAuthAppSpec.
|
|
106
|
+
* Use `create(OAuthAppSpecSchema)` to create a new message.
|
|
107
|
+
*/
|
|
108
|
+
export declare const OAuthAppSpecSchema: GenMessage<OAuthAppSpec>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file ai/stigmer/iam/oauthapp/v1/spec.proto (package ai.stigmer.iam.oauthapp.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file ai/stigmer/iam/oauthapp/v1/spec.proto.
|
|
8
|
+
*/
|
|
9
|
+
export const file_ai_stigmer_iam_oauthapp_v1_spec = /*@__PURE__*/ fileDesc("CiVhaS9zdGlnbWVyL2lhbS9vYXV0aGFwcC92MS9zcGVjLnByb3RvEhphaS5zdGlnbWVyLmlhbS5vYXV0aGFwcC52MSLEAQoMT0F1dGhBcHBTcGVjEhAKCHByb3ZpZGVyGAEgASgJEhoKCWNsaWVudF9pZBgCIAEoCUIHukgEcgIQARIeCg1jbGllbnRfc2VjcmV0GAMgASgJQge6SARyAhABEiMKEWF1dGhvcml6YXRpb25fdXJsGAQgASgJQgi6SAVyA4gBARIbCgl0b2tlbl91cmwYBSABKAlCCLpIBXIDiAEBEg4KBnNjb3BlcxgGIAMoCRIUCgx1c2VyaW5mb191cmwYByABKAliBnByb3RvMw", [file_buf_validate_validate]);
|
|
10
|
+
/**
|
|
11
|
+
* Describes the message ai.stigmer.iam.oauthapp.v1.OAuthAppSpec.
|
|
12
|
+
* Use `create(OAuthAppSpecSchema)` to create a new message.
|
|
13
|
+
*/
|
|
14
|
+
export const OAuthAppSpecSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_iam_oauthapp_v1_spec, 0);
|
|
15
|
+
//# sourceMappingURL=spec_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/oauthapp/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,iHAAiH;AACjH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAY,aAAa,CACxE,QAAQ,CAAC,gXAAgX,EAAE,CAAC,0BAA0B,CAAC,CAAC,CAAC;AA0G3Z;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,oCAAoC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -80,6 +80,10 @@ export declare enum IamPermission {
|
|
|
80
80
|
* @generated from enum value: can_create_identity_account = 21;
|
|
81
81
|
*/
|
|
82
82
|
can_create_identity_account = 21,
|
|
83
|
+
/**
|
|
84
|
+
* @generated from enum value: can_create_oauth_app = 23;
|
|
85
|
+
*/
|
|
86
|
+
can_create_oauth_app = 23,
|
|
83
87
|
/**
|
|
84
88
|
* Resource-level create permissions.
|
|
85
89
|
*
|
|
@@ -5,7 +5,7 @@ import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv1";
|
|
|
5
5
|
/**
|
|
6
6
|
* Describes the file ai/stigmer/iam/v1/enum.proto.
|
|
7
7
|
*/
|
|
8
|
-
export const file_ai_stigmer_iam_v1_enum = /*@__PURE__*/ fileDesc("
|
|
8
|
+
export const file_ai_stigmer_iam_v1_enum = /*@__PURE__*/ fileDesc("ChxhaS9zdGlnbWVyL2lhbS92MS9lbnVtLnByb3RvEhFhaS5zdGlnbWVyLmlhbS52MSq5BAoNSWFtUGVybWlzc2lvbhIPCgt1bnNwZWNpZmllZBAAEgwKCGNhbl92aWV3EAESDAoIY2FuX2VkaXQQAhIOCgpjYW5fZGVsZXRlEAMSFAoQY2FuX2dyYW50X2FjY2VzcxAEEhMKD2Nhbl92aWV3X2FjY2VzcxAFEhQKEGNhbl9jcmVhdGVfYWdlbnQQBhIXChNjYW5fY3JlYXRlX3dvcmtmbG93EAcSFgoSY2FuX2NyZWF0ZV9zZXNzaW9uEAgSFAoQY2FuX2NyZWF0ZV9za2lsbBAJEhYKEmNhbl9jcmVhdGVfcHJvamVjdBAKEhIKDmNhbl9jcmVhdGVfaWRwEAsSGgoWY2FuX2NyZWF0ZV9lbnZpcm9ubWVudBAMEh8KG2Nhbl9jcmVhdGVfaWRlbnRpdHlfYWNjb3VudBAVEhgKFGNhbl9jcmVhdGVfb2F1dGhfYXBwEBcSGwoXY2FuX2NyZWF0ZV9leGVjdXRpb25faW4QDRIXChNjYW5fY3JlYXRlX2luc3RhbmNlEA4SDwoLY2FuX2V4ZWN1dGUQDxIUChBjYW5fcmVhZF9zZWNyZXRzEBASFQoRY2FuX2Jvb3RzdHJhcF9pYW0QERIgChxjYW5fbWFuYWdlX2lkZW50aXR5X2FjY291bnRzEBISHwobY2FuX3VwZGF0ZV9leGVjdXRpb25fc3RhdHVzEBMSGAoUbG9naW5fdG9fYmFja19vZmZpY2UQFBIPCgtjYW5fY29ubmVjdBAWKlEKB0lhbVJvbGUSGAoUaWFtX3JvbGVfdW5zcGVjaWZpZWQQABIJCgVvd25lchABEgkKBWFkbWluEAISCgoGbWVtYmVyEAMSCgoGdmlld2VyEARiBnByb3RvMw");
|
|
9
9
|
/**
|
|
10
10
|
* IamPermission defines the permissions checked by the authorization
|
|
11
11
|
* interceptor before an RPC handler executes.
|
|
@@ -84,6 +84,10 @@ export var IamPermission;
|
|
|
84
84
|
* @generated from enum value: can_create_identity_account = 21;
|
|
85
85
|
*/
|
|
86
86
|
IamPermission[IamPermission["can_create_identity_account"] = 21] = "can_create_identity_account";
|
|
87
|
+
/**
|
|
88
|
+
* @generated from enum value: can_create_oauth_app = 23;
|
|
89
|
+
*/
|
|
90
|
+
IamPermission[IamPermission["can_create_oauth_app"] = 23] = "can_create_oauth_app";
|
|
87
91
|
/**
|
|
88
92
|
* Resource-level create permissions.
|
|
89
93
|
*
|
|
@@ -1 +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,
|
|
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,w7BAAw7B,CAAC,CAAC;AAEr8B;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAN,IAAY,aA0IX;AA1ID,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;;OAEG;IACH,kFAAyB,CAAA;IAEzB;;;;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;IAEzB;;;;OAIG;IACH,gEAAgB,CAAA;AAClB,CAAC,EA1IW,aAAa,KAAb,aAAa,QA0IxB;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"}
|