@stigmer/protos 0.0.89 → 0.0.91
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/agentexecution/v1/approval_pb.d.ts +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/message_pb.d.ts +2 -2
- package/ai/stigmer/agentic/workflow/v1/spec_pb.d.ts +2 -2
- 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/identityaccount/v1/enum_pb.d.ts +17 -1
- package/ai/stigmer/iam/identityaccount/v1/enum_pb.js +17 -1
- package/ai/stigmer/iam/identityaccount/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/iam/identityaccount/v1/spec_pb.d.ts +15 -2
- package/ai/stigmer/iam/identityaccount/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/iam/identityprovider/v1/api_pb.d.ts +4 -4
- package/ai/stigmer/iam/identityprovider/v1/query_connect.d.ts +1 -1
- package/ai/stigmer/iam/identityprovider/v1/query_connect.js +1 -1
- package/ai/stigmer/iam/identityprovider/v1/query_pb.d.ts +1 -1
- package/ai/stigmer/iam/identityprovider/v1/spec_pb.d.ts +3 -3
- package/ai/stigmer/iam/platformclient/v1/api_pb.d.ts +107 -0
- package/ai/stigmer/iam/platformclient/v1/api_pb.js +24 -0
- package/ai/stigmer/iam/platformclient/v1/api_pb.js.map +1 -0
- package/ai/stigmer/iam/platformclient/v1/command_connect.d.ts +97 -0
- package/ai/stigmer/iam/platformclient/v1/command_connect.js +103 -0
- package/ai/stigmer/iam/platformclient/v1/command_connect.js.map +1 -0
- package/ai/stigmer/iam/platformclient/v1/command_pb.d.ts +98 -0
- package/ai/stigmer/iam/platformclient/v1/command_pb.js +30 -0
- package/ai/stigmer/iam/platformclient/v1/command_pb.js.map +1 -0
- package/ai/stigmer/iam/platformclient/v1/io_pb.d.ts +95 -0
- package/ai/stigmer/iam/platformclient/v1/io_pb.js +31 -0
- package/ai/stigmer/iam/platformclient/v1/io_pb.js.map +1 -0
- package/ai/stigmer/iam/platformclient/v1/query_connect.d.ts +59 -0
- package/ai/stigmer/iam/platformclient/v1/query_connect.js +65 -0
- package/ai/stigmer/iam/platformclient/v1/query_connect.js.map +1 -0
- package/ai/stigmer/iam/platformclient/v1/query_pb.d.ts +61 -0
- package/ai/stigmer/iam/platformclient/v1/query_pb.js +20 -0
- package/ai/stigmer/iam/platformclient/v1/query_pb.js.map +1 -0
- package/ai/stigmer/iam/platformclient/v1/spec_pb.d.ts +160 -0
- package/ai/stigmer/iam/platformclient/v1/spec_pb.js +17 -0
- package/ai/stigmer/iam/platformclient/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/iam/platformclient/v1/token_connect.d.ts +56 -0
- package/ai/stigmer/iam/platformclient/v1/token_connect.js +62 -0
- package/ai/stigmer/iam/platformclient/v1/token_connect.js.map +1 -0
- package/ai/stigmer/iam/platformclient/v1/token_pb.d.ts +155 -0
- package/ai/stigmer/iam/platformclient/v1/token_pb.js +37 -0
- package/ai/stigmer/iam/platformclient/v1/token_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/ai/stigmer/tenancy/organization/v1/enum_pb.d.ts +1 -1
- package/ai/stigmer/tenancy/organization/v1/enum_pb.js +1 -1
- package/package.json +1 -1
|
@@ -102,7 +102,7 @@ export type PendingApproval = Message<"ai.stigmer.agentic.agentexecution.v1.Pend
|
|
|
102
102
|
* structured argument previews (scalar grids, humanized names)
|
|
103
103
|
* instead of falling back to raw JSON.
|
|
104
104
|
*
|
|
105
|
-
* Examples: "planton
|
|
105
|
+
* Examples: "planton", "github", "slack"
|
|
106
106
|
*
|
|
107
107
|
* @generated from field: string mcp_server_slug = 8;
|
|
108
108
|
*/
|
|
@@ -220,9 +220,9 @@ export type ToolCall = Message<"ai.stigmer.agentic.agentexecution.v1.ToolCall">
|
|
|
220
220
|
* Empty for built-in sandbox tools.
|
|
221
221
|
* Populated by the worker using the mcp_tools_config reverse lookup.
|
|
222
222
|
*
|
|
223
|
-
* Examples: "planton
|
|
223
|
+
* Examples: "planton", "github", "slack"
|
|
224
224
|
*
|
|
225
|
-
* Used by CLI/UI to render a qualified tool name (e.g., "planton
|
|
225
|
+
* Used by CLI/UI to render a qualified tool name (e.g., "planton/search")
|
|
226
226
|
* so users can distinguish tools with the same name from different servers.
|
|
227
227
|
*
|
|
228
228
|
* @generated from field: string mcp_server_slug = 17;
|
|
@@ -10,7 +10,7 @@ export declare const file_ai_stigmer_agentic_workflow_v1_spec: GenFile;
|
|
|
10
10
|
* WorkflowSpec defines the configurable properties of a workflow.
|
|
11
11
|
*
|
|
12
12
|
* @internal
|
|
13
|
-
* Follows the "kind + Struct" pattern from CloudResource (Planton
|
|
13
|
+
* Follows the "kind + Struct" pattern from CloudResource (Planton).
|
|
14
14
|
* This replaces the old `synthesized_yaml` field with structured proto definitions.
|
|
15
15
|
* Each workflow task uses WorkflowTaskKind enum + google.protobuf.Struct for configuration,
|
|
16
16
|
* providing maximum flexibility and extensibility.
|
|
@@ -102,7 +102,7 @@ export declare const WorkflowDocumentSchema: GenMessage<WorkflowDocument>;
|
|
|
102
102
|
* WorkflowTask represents a single executable step in a workflow.
|
|
103
103
|
*
|
|
104
104
|
* @internal
|
|
105
|
-
* Uses the "kind + Struct" pattern (like CloudResource in Planton
|
|
105
|
+
* Uses the "kind + Struct" pattern (like CloudResource in Planton):
|
|
106
106
|
* - `kind` determines the task type (set_vars, http_call, switch_case, etc.)
|
|
107
107
|
* - `task_config` contains task-specific configuration as dynamic JSON
|
|
108
108
|
* - Backend unmarshals `task_config` to the appropriate Go struct based on `kind`
|
|
@@ -200,6 +200,12 @@ export declare enum ApiResourceKind {
|
|
|
200
200
|
* @generated from enum value: oauth_app = 22;
|
|
201
201
|
*/
|
|
202
202
|
oauth_app = 22,
|
|
203
|
+
/**
|
|
204
|
+
* OAuth2 client credential for platform builders embedding Stigmer into their products.
|
|
205
|
+
*
|
|
206
|
+
* @generated from enum value: platform_client = 23;
|
|
207
|
+
*/
|
|
208
|
+
platform_client = 23,
|
|
203
209
|
/**
|
|
204
210
|
* Top-level tenant that owns and manages resources.
|
|
205
211
|
*
|
|
@@ -8,7 +8,7 @@ import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
|
|
|
8
8
|
/**
|
|
9
9
|
* Describes the file ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind.proto.
|
|
10
10
|
*/
|
|
11
|
-
export const file_ai_stigmer_commons_apiresource_apiresourcekind_api_resource_kind = /*@__PURE__*/ fileDesc("
|
|
11
|
+
export const file_ai_stigmer_commons_apiresource_apiresourcekind_api_resource_kind = /*@__PURE__*/ fileDesc("CkZhaS9zdGlnbWVyL2NvbW1vbnMvYXBpcmVzb3VyY2UvYXBpcmVzb3VyY2VraW5kL2FwaV9yZXNvdXJjZV9raW5kLnByb3RvEi5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuYXBpcmVzb3VyY2VraW5kIswDChNBcGlSZXNvdXJjZUtpbmRNZXRhEk8KBWdyb3VwGAEgASgOMkAuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLmFwaXJlc291cmNla2luZC5BcGlSZXNvdXJjZUdyb3VwElMKB3ZlcnNpb24YAiABKA4yQi5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuYXBpcmVzb3VyY2VraW5kLkFwaVJlc291cmNlVmVyc2lvbhIMCgRuYW1lGAMgASgJEhQKDGRpc3BsYXlfbmFtZRgEIAEoCRIRCglpZF9wcmVmaXgYBSABKAkSFAoMaXNfdmVyc2lvbmVkGAYgASgIEhoKEm5vd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gKBWFnZW50EgVhZ2VudBoIYWdlbnRfaWQqAggBOgIBBBI/Cgh3b3JrZmxvdxAyGjGq/ystCAEQARoIV29ya2Zsb3ciCFdvcmtmbG93KgN3ZmxAAUoMCAIQASoCCAE6AgEEEngKEXdvcmtmbG93X2luc3RhbmNlEDMaYar/K10IARABGhBXb3JrZmxvd0luc3RhbmNlIhFXb3JrZmxvdyBJbnN0YW5jZSoDd2luQAFKKwgCEAEiIQoId29ya2Zsb3cSCHdvcmtmbG93Ggt3b3JrZmxvd19pZDoCAQQSWAoSd29ya2Zsb3dfZXhlY3V0aW9uEDQaQKr/KzwIARABGhFXb3JrZmxvd0V4ZWN1dGlvbiISV29ya2Zsb3cgRXhlY3V0aW9uKgN3ZXhAAUoICAIQAToCAQQSRgoLZW52aXJvbm1lbnQQNRo1qv8rMQgBEAEaC0Vudmlyb25tZW50IgtFbnZpcm9ubWVudCoDZW52QAFKCggCEAEwAToCAQQSUgoRZXhlY3V0aW9uX2NvbnRleHQQNho7qv8rNwgBEAEaEEV4ZWN1dGlvbkNvbnRleHQiEUV4ZWN1dGlvbiBDb250ZXh0KgRlY3R4QAFKBAgEEAESOAoHcHJvamVjdBA8Giuq/ysnCAMQARoHUHJvamVjdCIHUHJvamVjdCoDcHJqQAFKCAgCEAE6AgEEOoUBCglraW5kX21ldGESIS5nb29nbGUucHJvdG9idWYuRW51bVZhbHVlT3B0aW9ucxj1vwUgASgLMkMuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLmFwaXJlc291cmNla2luZC5BcGlSZXNvdXJjZUtpbmRNZXRhUghraW5kTWV0YUIbQhlBcGlSZXNvdXJjZUtpbmRPdXRlckNsYXNzYgZwcm90bzM", [file_ai_stigmer_commons_apiresource_apiresourcekind_api_resource_group, file_ai_stigmer_commons_apiresource_apiresourcekind_authorization_config, file_google_protobuf_descriptor]);
|
|
12
12
|
/**
|
|
13
13
|
* Describes the message ai.stigmer.commons.apiresource.apiresourcekind.ApiResourceKindMeta.
|
|
14
14
|
* Use `create(ApiResourceKindMetaSchema)` to create a new message.
|
|
@@ -145,6 +145,12 @@ export var ApiResourceKind;
|
|
|
145
145
|
* @generated from enum value: oauth_app = 22;
|
|
146
146
|
*/
|
|
147
147
|
ApiResourceKind[ApiResourceKind["oauth_app"] = 22] = "oauth_app";
|
|
148
|
+
/**
|
|
149
|
+
* OAuth2 client credential for platform builders embedding Stigmer into their products.
|
|
150
|
+
*
|
|
151
|
+
* @generated from enum value: platform_client = 23;
|
|
152
|
+
*/
|
|
153
|
+
ApiResourceKind[ApiResourceKind["platform_client"] = 23] = "platform_client";
|
|
148
154
|
/**
|
|
149
155
|
* Top-level tenant that owns and manages resources.
|
|
150
156
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api_resource_kind_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,sKAAsK;AACtK,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAExF,OAAO,EAAE,sEAAsE,EAAE,MAAM,yBAAyB,CAAC;AAEjH,OAAO,EAAE,wEAAwE,EAAE,MAAM,2BAA2B,CAAC;AAErH,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAC;AAGzE;;GAEG;AACH,MAAM,CAAC,MAAM,qEAAqE,GAAY,aAAa,CACzG,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"api_resource_kind_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,sKAAsK;AACtK,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAExF,OAAO,EAAE,s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declare enum IdentityAccountProvisioningMode {
|
|
|
35
35
|
*
|
|
36
36
|
* @generated from enum value: machine = 3;
|
|
37
37
|
*/
|
|
38
|
-
machine = 3
|
|
38
|
+
machine = 3,
|
|
39
|
+
/**
|
|
40
|
+
* Account provisioned via a PlatformClient's mintUserToken endpoint.
|
|
41
|
+
*
|
|
42
|
+
* The idp_id for these accounts uses the composite encoding
|
|
43
|
+
* "stgm_pc|{platform_client_id}|{external_user_id}", where platform_client_id
|
|
44
|
+
* is the PlatformClient's permanent client_id (stgm_cid_*) and external_user_id
|
|
45
|
+
* is the user identifier supplied by the platform builder. The composite is
|
|
46
|
+
* globally unique by construction — no additional scope field is needed.
|
|
47
|
+
*
|
|
48
|
+
* Unlike federated accounts, PlatformClient is not an ongoing authentication
|
|
49
|
+
* authority. Stigmer signs its own JWTs for these users; the PlatformClient
|
|
50
|
+
* is the admission credential used at mint time only.
|
|
51
|
+
*
|
|
52
|
+
* @generated from enum value: platform_client = 4;
|
|
53
|
+
*/
|
|
54
|
+
platform_client = 4
|
|
39
55
|
}
|
|
40
56
|
/**
|
|
41
57
|
* Describes the enum ai.stigmer.iam.identityaccount.v1.IdentityAccountProvisioningMode.
|
|
@@ -5,7 +5,7 @@ import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv1";
|
|
|
5
5
|
/**
|
|
6
6
|
* Describes the file ai/stigmer/iam/identityaccount/v1/enum.proto.
|
|
7
7
|
*/
|
|
8
|
-
export const file_ai_stigmer_iam_identityaccount_v1_enum = /*@__PURE__*/ fileDesc("
|
|
8
|
+
export const file_ai_stigmer_iam_identityaccount_v1_enum = /*@__PURE__*/ fileDesc("CixhaS9zdGlnbWVyL2lhbS9pZGVudGl0eWFjY291bnQvdjEvZW51bS5wcm90bxIhYWkuc3RpZ21lci5pYW0uaWRlbnRpdHlhY2NvdW50LnYxKpIBCh9JZGVudGl0eUFjY291bnRQcm92aXNpb25pbmdNb2RlEjIKLmlkZW50aXR5X2FjY291bnRfcHJvdmlzaW9uaW5nX21vZGVfdW5zcGVjaWZpZWQQABIKCgZkaXJlY3QQARINCglmZWRlcmF0ZWQQAhILCgdtYWNoaW5lEAMSEwoPcGxhdGZvcm1fY2xpZW50EARiBnByb3RvMw");
|
|
9
9
|
/**
|
|
10
10
|
* IdentityAccountProvisioningMode defines how an identity account was created.
|
|
11
11
|
*
|
|
@@ -40,6 +40,22 @@ export var IdentityAccountProvisioningMode;
|
|
|
40
40
|
* @generated from enum value: machine = 3;
|
|
41
41
|
*/
|
|
42
42
|
IdentityAccountProvisioningMode[IdentityAccountProvisioningMode["machine"] = 3] = "machine";
|
|
43
|
+
/**
|
|
44
|
+
* Account provisioned via a PlatformClient's mintUserToken endpoint.
|
|
45
|
+
*
|
|
46
|
+
* The idp_id for these accounts uses the composite encoding
|
|
47
|
+
* "stgm_pc|{platform_client_id}|{external_user_id}", where platform_client_id
|
|
48
|
+
* is the PlatformClient's permanent client_id (stgm_cid_*) and external_user_id
|
|
49
|
+
* is the user identifier supplied by the platform builder. The composite is
|
|
50
|
+
* globally unique by construction — no additional scope field is needed.
|
|
51
|
+
*
|
|
52
|
+
* Unlike federated accounts, PlatformClient is not an ongoing authentication
|
|
53
|
+
* authority. Stigmer signs its own JWTs for these users; the PlatformClient
|
|
54
|
+
* is the admission credential used at mint time only.
|
|
55
|
+
*
|
|
56
|
+
* @generated from enum value: platform_client = 4;
|
|
57
|
+
*/
|
|
58
|
+
IdentityAccountProvisioningMode[IdentityAccountProvisioningMode["platform_client"] = 4] = "platform_client";
|
|
43
59
|
})(IdentityAccountProvisioningMode || (IdentityAccountProvisioningMode = {}));
|
|
44
60
|
/**
|
|
45
61
|
* Describes the enum ai.stigmer.iam.identityaccount.v1.IdentityAccountProvisioningMode.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enum_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/identityaccount/v1/enum_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,+HAA+H;AAC/H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAElE;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAY,aAAa,CAC/E,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"enum_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/identityaccount/v1/enum_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,+HAA+H;AAC/H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAElE;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAY,aAAa,CAC/E,QAAQ,CAAC,gUAAgU,CAAC,CAAC;AAE7U;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,+BA6CX;AA7CD,WAAY,+BAA+B;IACzC;;;;OAIG;IACH,yKAAkD,CAAA;IAElD;;;;OAIG;IACH,yFAAU,CAAA;IAEV;;;;OAIG;IACH,+FAAa,CAAA;IAEb;;;;OAIG;IACH,2FAAW,CAAA;IAEX;;;;;;;;;;;;;;OAcG;IACH,2GAAmB,CAAA;AACrB,CAAC,EA7CW,+BAA+B,KAA/B,+BAA+B,QA6C1C;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAA6C,aAAa,CAC1G,QAAQ,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -11,8 +11,9 @@ export declare const file_ai_stigmer_iam_identityaccount_v1_spec: GenFile;
|
|
|
11
11
|
*
|
|
12
12
|
* An identity account represents a user or machine principal in Stigmer.
|
|
13
13
|
* Accounts can be direct (signed up via Stigmer), federated (provisioned
|
|
14
|
-
* through an external identity provider),
|
|
15
|
-
* credentials)
|
|
14
|
+
* through an external identity provider), machine (service-to-service
|
|
15
|
+
* credentials), or platform_client (provisioned via a PlatformClient's
|
|
16
|
+
* mintUserToken endpoint).
|
|
16
17
|
*
|
|
17
18
|
* @internal
|
|
18
19
|
* All FGA tuples use identity_account as the principal type.
|
|
@@ -21,6 +22,12 @@ export declare const file_ai_stigmer_iam_identityaccount_v1_spec: GenFile;
|
|
|
21
22
|
* - federated: raw OIDC sub claim (e.g., "google-oauth2|109876543210"),
|
|
22
23
|
* scoped by identity_provider_ref
|
|
23
24
|
* - machine: Auth0 client ID with "@clients" suffix
|
|
25
|
+
* - platform_client: composite "stgm_pc|{org}|{external_user_id}" where org
|
|
26
|
+
* is the Stigmer org that owns the PlatformClient(s) and external_user_id
|
|
27
|
+
* is the platform builder's stable identifier for the user. Scoping by org
|
|
28
|
+
* (not by PlatformClient) means a customer's end user resolves to a single
|
|
29
|
+
* IdentityAccount across all of that customer's PlatformClients. Globally
|
|
30
|
+
* unique by construction.
|
|
24
31
|
*
|
|
25
32
|
* @generated from message ai.stigmer.iam.identityaccount.v1.IdentityAccountSpec
|
|
26
33
|
*/
|
|
@@ -33,6 +40,12 @@ export type IdentityAccountSpec = Message<"ai.stigmer.iam.identityaccount.v1.Ide
|
|
|
33
40
|
* provider (e.g., "google-oauth2|109876543210"). Uniqueness is scoped by
|
|
34
41
|
* identity_provider_ref — the pair (identity_provider_ref, idp_id) is unique.
|
|
35
42
|
* For machine accounts: the Auth0 client ID with "@clients" suffix.
|
|
43
|
+
* For platform_client accounts: composite "stgm_pc|{org}|{external_user_id}"
|
|
44
|
+
* where org is the Stigmer org that owns the PlatformClient(s) and
|
|
45
|
+
* external_user_id is the platform builder's stable identifier for the user.
|
|
46
|
+
* Scoping by org (not by PlatformClient) means the same user_id presented
|
|
47
|
+
* via any PlatformClient in the same org resolves to the same IdentityAccount.
|
|
48
|
+
* Globally unique by construction — no additional scope field is needed.
|
|
36
49
|
*
|
|
37
50
|
* @generated from field: string idp_id = 1;
|
|
38
51
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/identityaccount/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,+HAA+H;AAC/H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,oCAAoC,CAAC;AAE5F,OAAO,EAAE,2CAA2C,EAAE,MAAM,WAAW,CAAC;AACxE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAY,aAAa,CAC/E,QAAQ,CAAC,kjBAAkjB,EAAE,CAAC,sCAAsC,EAAE,2CAA2C,EAAE,0BAA0B,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/identityaccount/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,+HAA+H;AAC/H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,oCAAoC,CAAC;AAE5F,OAAO,EAAE,2CAA2C,EAAE,MAAM,WAAW,CAAC;AACxE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAY,aAAa,CAC/E,QAAQ,CAAC,kjBAAkjB,EAAE,CAAC,sCAAsC,EAAE,2CAA2C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AA8GlrB;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -19,13 +19,13 @@ export declare const file_ai_stigmer_iam_identityprovider_v1_api: GenFile;
|
|
|
19
19
|
* apiVersion: iam.stigmer.ai/v1
|
|
20
20
|
* kind: IdentityProvider
|
|
21
21
|
* metadata:
|
|
22
|
-
* name: Planton
|
|
23
|
-
* slug: planton
|
|
22
|
+
* name: Planton
|
|
23
|
+
* slug: planton
|
|
24
24
|
* org: planton
|
|
25
25
|
* spec:
|
|
26
|
-
* display_name: "Planton
|
|
26
|
+
* display_name: "Planton"
|
|
27
27
|
* jwks_uri: "https://api.planton.ai/.well-known/stigmer-jwks.json"
|
|
28
|
-
* allowed_issuers: ["planton
|
|
28
|
+
* allowed_issuers: ["planton"]
|
|
29
29
|
* expected_audience: "stigmer-api"
|
|
30
30
|
*
|
|
31
31
|
* @generated from message ai.stigmer.iam.identityprovider.v1.IdentityProvider
|
|
@@ -23,7 +23,7 @@ export declare const IdentityProviderQueryController: {
|
|
|
23
23
|
/**
|
|
24
24
|
* Get an identity provider by its organization-scoped reference (org/slug).
|
|
25
25
|
*
|
|
26
|
-
* Resolves a human-readable reference like "acme/planton
|
|
26
|
+
* Resolves a human-readable reference like "acme/planton" to the full
|
|
27
27
|
* IdentityProvider resource.
|
|
28
28
|
*
|
|
29
29
|
* @internal
|
|
@@ -28,7 +28,7 @@ export const IdentityProviderQueryController = {
|
|
|
28
28
|
/**
|
|
29
29
|
* Get an identity provider by its organization-scoped reference (org/slug).
|
|
30
30
|
*
|
|
31
|
-
* Resolves a human-readable reference like "acme/planton
|
|
31
|
+
* Resolves a human-readable reference like "acme/planton" to the full
|
|
32
32
|
* IdentityProvider resource.
|
|
33
33
|
*
|
|
34
34
|
* @internal
|
|
@@ -28,7 +28,7 @@ export declare const IdentityProviderQueryController: GenService<{
|
|
|
28
28
|
/**
|
|
29
29
|
* Get an identity provider by its organization-scoped reference (org/slug).
|
|
30
30
|
*
|
|
31
|
-
* Resolves a human-readable reference like "acme/planton
|
|
31
|
+
* Resolves a human-readable reference like "acme/planton" to the full
|
|
32
32
|
* IdentityProvider resource.
|
|
33
33
|
*
|
|
34
34
|
* @internal
|
|
@@ -38,11 +38,11 @@ export declare const file_ai_stigmer_iam_identityprovider_v1_spec: GenFile;
|
|
|
38
38
|
* apiVersion: iam.stigmer.ai/v1
|
|
39
39
|
* kind: IdentityProvider
|
|
40
40
|
* metadata:
|
|
41
|
-
* name: Planton
|
|
42
|
-
* slug: planton
|
|
41
|
+
* name: Planton
|
|
42
|
+
* slug: planton
|
|
43
43
|
* org: planton
|
|
44
44
|
* spec:
|
|
45
|
-
* display_name: "Planton
|
|
45
|
+
* display_name: "Planton"
|
|
46
46
|
* jwks_uri: "https://planton-prod.us.auth0.com/.well-known/jwks.json"
|
|
47
47
|
* allowed_issuers: ["https://planton-prod.us.auth0.com/"]
|
|
48
48
|
* expected_audience: "https://api.planton.ai/"
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { ApiResourceMetadata } from "../../../commons/apiresource/metadata_pb";
|
|
3
|
+
import type { ApiResourceAudit } from "../../../commons/apiresource/status_pb";
|
|
4
|
+
import type { PlatformClientSpec } from "./spec_pb";
|
|
5
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file ai/stigmer/iam/platformclient/v1/api.proto.
|
|
9
|
+
*/
|
|
10
|
+
export declare const file_ai_stigmer_iam_platformclient_v1_api: GenFile;
|
|
11
|
+
/**
|
|
12
|
+
* PlatformClient represents an OAuth2 client credential for platform builders
|
|
13
|
+
* who embed Stigmer into their products.
|
|
14
|
+
*
|
|
15
|
+
* A PlatformClient is owned by an organization and holds a client_id + client_secret
|
|
16
|
+
* credential pair. Platform builders use these credentials from their backend to
|
|
17
|
+
* mint user-scoped JWTs via the mintUserToken RPC, enabling their users to interact
|
|
18
|
+
* with Stigmer resources through the React SDK without requiring OIDC federation.
|
|
19
|
+
*
|
|
20
|
+
* PlatformClient is the inbound auth counterpart to OAuthApp (outbound auth).
|
|
21
|
+
* While OAuthApp configures how Stigmer authenticates *outward* to external services,
|
|
22
|
+
* PlatformClient configures how platform builders authenticate *inward* to Stigmer
|
|
23
|
+
* on behalf of their users.
|
|
24
|
+
*
|
|
25
|
+
* Example YAML:
|
|
26
|
+
* apiVersion: iam.stigmer.ai/v1
|
|
27
|
+
* kind: PlatformClient
|
|
28
|
+
* metadata:
|
|
29
|
+
* name: Acme Dashboard
|
|
30
|
+
* slug: acme-dashboard
|
|
31
|
+
* org: acme
|
|
32
|
+
* spec:
|
|
33
|
+
* auto_provision_accounts: true
|
|
34
|
+
* auto_grant_on_org: true
|
|
35
|
+
* auto_grant_role: viewer
|
|
36
|
+
* allowed_origins: ["https://app.acme.com"]
|
|
37
|
+
*
|
|
38
|
+
* @generated from message ai.stigmer.iam.platformclient.v1.PlatformClient
|
|
39
|
+
*/
|
|
40
|
+
export type PlatformClient = Message<"ai.stigmer.iam.platformclient.v1.PlatformClient"> & {
|
|
41
|
+
/**
|
|
42
|
+
* API version for this resource type.
|
|
43
|
+
*
|
|
44
|
+
* @generated from field: string api_version = 1;
|
|
45
|
+
*/
|
|
46
|
+
apiVersion: string;
|
|
47
|
+
/**
|
|
48
|
+
* Resource kind identifier.
|
|
49
|
+
*
|
|
50
|
+
* @generated from field: string kind = 2;
|
|
51
|
+
*/
|
|
52
|
+
kind: string;
|
|
53
|
+
/**
|
|
54
|
+
* Standard resource metadata including name, id, org, visibility, labels, and tags.
|
|
55
|
+
* The org field identifies which organization owns this platform client.
|
|
56
|
+
*
|
|
57
|
+
* @generated from field: ai.stigmer.commons.apiresource.ApiResourceMetadata metadata = 3;
|
|
58
|
+
*/
|
|
59
|
+
metadata?: ApiResourceMetadata;
|
|
60
|
+
/**
|
|
61
|
+
* User-provided platform client configuration (desired state).
|
|
62
|
+
*
|
|
63
|
+
* @generated from field: ai.stigmer.iam.platformclient.v1.PlatformClientSpec spec = 4;
|
|
64
|
+
*/
|
|
65
|
+
spec?: PlatformClientSpec;
|
|
66
|
+
/**
|
|
67
|
+
* System-managed state including audit trail and usage tracking.
|
|
68
|
+
*
|
|
69
|
+
* @generated from field: ai.stigmer.iam.platformclient.v1.PlatformClientStatus status = 5;
|
|
70
|
+
*/
|
|
71
|
+
status?: PlatformClientStatus;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Describes the message ai.stigmer.iam.platformclient.v1.PlatformClient.
|
|
75
|
+
* Use `create(PlatformClientSchema)` to create a new message.
|
|
76
|
+
*/
|
|
77
|
+
export declare const PlatformClientSchema: GenMessage<PlatformClient>;
|
|
78
|
+
/**
|
|
79
|
+
* PlatformClientStatus contains system-managed state for a platform client.
|
|
80
|
+
*
|
|
81
|
+
* Uses a custom status (rather than the generic ApiResourceAuditStatus) to
|
|
82
|
+
* include credential usage tracking, which is essential for security auditing
|
|
83
|
+
* and stale credential detection.
|
|
84
|
+
*
|
|
85
|
+
* @generated from message ai.stigmer.iam.platformclient.v1.PlatformClientStatus
|
|
86
|
+
*/
|
|
87
|
+
export type PlatformClientStatus = Message<"ai.stigmer.iam.platformclient.v1.PlatformClientStatus"> & {
|
|
88
|
+
/**
|
|
89
|
+
* Standard audit information (created_at, updated_at, created_by, etc.).
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: ai.stigmer.commons.apiresource.ApiResourceAudit audit = 99;
|
|
92
|
+
*/
|
|
93
|
+
audit?: ApiResourceAudit;
|
|
94
|
+
/**
|
|
95
|
+
* Timestamp of the most recent successful mintUserToken call using this
|
|
96
|
+
* platform client's credentials. Used for security monitoring — credentials
|
|
97
|
+
* that have not been used recently may be candidates for rotation or deletion.
|
|
98
|
+
*
|
|
99
|
+
* @generated from field: google.protobuf.Timestamp last_used_at = 1;
|
|
100
|
+
*/
|
|
101
|
+
lastUsedAt?: Timestamp;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Describes the message ai.stigmer.iam.platformclient.v1.PlatformClientStatus.
|
|
105
|
+
* Use `create(PlatformClientStatusSchema)` to create a new message.
|
|
106
|
+
*/
|
|
107
|
+
export declare const PlatformClientStatusSchema: GenMessage<PlatformClientStatus>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file ai/stigmer/iam/platformclient/v1/api.proto (package ai.stigmer.iam.platformclient.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_commons_apiresource_metadata } from "../../../commons/apiresource/metadata_pb";
|
|
6
|
+
import { file_ai_stigmer_commons_apiresource_status } from "../../../commons/apiresource/status_pb";
|
|
7
|
+
import { file_ai_stigmer_iam_platformclient_v1_spec } from "./spec_pb";
|
|
8
|
+
import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb";
|
|
9
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file ai/stigmer/iam/platformclient/v1/api.proto.
|
|
12
|
+
*/
|
|
13
|
+
export const file_ai_stigmer_iam_platformclient_v1_api = /*@__PURE__*/ fileDesc("CiphaS9zdGlnbWVyL2lhbS9wbGF0Zm9ybWNsaWVudC92MS9hcGkucHJvdG8SIGFpLnN0aWdtZXIuaWFtLnBsYXRmb3JtY2xpZW50LnYxIr8CCg5QbGF0Zm9ybUNsaWVudBItCgthcGlfdmVyc2lvbhgBIAEoCUIYukgVchMKEWlhbS5zdGlnbWVyLmFpL3YxEiMKBGtpbmQYAiABKAlCFbpIEnIQCg5QbGF0Zm9ybUNsaWVudBJNCghtZXRhZGF0YRgDIAEoCzIzLmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZU1ldGFkYXRhQga6SAPIAQESQgoEc3BlYxgEIAEoCzI0LmFpLnN0aWdtZXIuaWFtLnBsYXRmb3JtY2xpZW50LnYxLlBsYXRmb3JtQ2xpZW50U3BlYxJGCgZzdGF0dXMYBSABKAsyNi5haS5zdGlnbWVyLmlhbS5wbGF0Zm9ybWNsaWVudC52MS5QbGF0Zm9ybUNsaWVudFN0YXR1cyKJAQoUUGxhdGZvcm1DbGllbnRTdGF0dXMSPwoFYXVkaXQYYyABKAsyMC5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuQXBpUmVzb3VyY2VBdWRpdBIwCgxsYXN0X3VzZWRfYXQYASABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wYgZwcm90bzM", [file_ai_stigmer_commons_apiresource_metadata, file_ai_stigmer_commons_apiresource_status, file_ai_stigmer_iam_platformclient_v1_spec, file_buf_validate_validate, file_google_protobuf_timestamp]);
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message ai.stigmer.iam.platformclient.v1.PlatformClient.
|
|
16
|
+
* Use `create(PlatformClientSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
export const PlatformClientSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_iam_platformclient_v1_api, 0);
|
|
19
|
+
/**
|
|
20
|
+
* Describes the message ai.stigmer.iam.platformclient.v1.PlatformClientStatus.
|
|
21
|
+
* Use `create(PlatformClientStatusSchema)` to create a new message.
|
|
22
|
+
*/
|
|
23
|
+
export const PlatformClientStatusSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_iam_platformclient_v1_api, 1);
|
|
24
|
+
//# sourceMappingURL=api_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/platformclient/v1/api_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,4HAA4H;AAC5H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,4CAA4C,EAAE,MAAM,0CAA0C,CAAC;AAExG,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AAEpG,OAAO,EAAE,0CAA0C,EAAE,MAAM,WAAW,CAAC;AACvE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAErF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAY,aAAa,CAC7E,QAAQ,CAAC,6tBAA6tB,EAAE,CAAC,4CAA4C,EAAE,0CAA0C,EAAE,0CAA0C,EAAE,0BAA0B,EAAE,8BAA8B,CAAC,CAAC,CAAC;AAqE96B;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC;AA6B5D;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PlatformClientCommandController provides write operations for platform client resources.
|
|
3
|
+
*
|
|
4
|
+
* Platform clients hold OAuth2 credentials (client_id + client_secret) for
|
|
5
|
+
* platform builders embedding Stigmer into their products. The client_secret
|
|
6
|
+
* is generated server-side and returned only once in the create and
|
|
7
|
+
* rotateSecret responses.
|
|
8
|
+
*
|
|
9
|
+
* @internal
|
|
10
|
+
* PlatformClients hold credential material (client_secret_hash) and are always
|
|
11
|
+
* org-private. There is no updateVisibility RPC — public visibility is
|
|
12
|
+
* intentionally unsupported to prevent credential leakage.
|
|
13
|
+
*
|
|
14
|
+
* @generated from service ai.stigmer.iam.platformclient.v1.PlatformClientCommandController
|
|
15
|
+
*/
|
|
16
|
+
export declare const PlatformClientCommandController: {
|
|
17
|
+
readonly typeName: "ai.stigmer.iam.platformclient.v1.PlatformClientCommandController";
|
|
18
|
+
readonly methods: {
|
|
19
|
+
/**
|
|
20
|
+
* Create a platform client.
|
|
21
|
+
*
|
|
22
|
+
* Generates a new client_id (stgm_cid_ prefix) and client_secret (stgm_cs_ prefix).
|
|
23
|
+
* The raw client_secret is included in the response and is never returned again.
|
|
24
|
+
* Store it securely before discarding the response.
|
|
25
|
+
*
|
|
26
|
+
* The creator's organization owns the platform client. The creator is granted
|
|
27
|
+
* the owner role automatically.
|
|
28
|
+
*
|
|
29
|
+
* @internal
|
|
30
|
+
* Authorization: Requires can_create_platform_client permission in the organization.
|
|
31
|
+
*
|
|
32
|
+
* @generated from rpc ai.stigmer.iam.platformclient.v1.PlatformClientCommandController.create
|
|
33
|
+
*/
|
|
34
|
+
readonly create: {
|
|
35
|
+
readonly name: "create";
|
|
36
|
+
readonly I: any;
|
|
37
|
+
readonly O: any;
|
|
38
|
+
readonly kind: any;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Update an existing platform client.
|
|
42
|
+
*
|
|
43
|
+
* Only mutable fields can be changed: auto_provision_accounts, auto_grant_on_org,
|
|
44
|
+
* auto_grant_role, and allowed_origins. Credential fields (client_id,
|
|
45
|
+
* client_secret_hash, secret_fingerprint) are immutable after creation.
|
|
46
|
+
* Use rotateSecret to change the client secret.
|
|
47
|
+
*
|
|
48
|
+
* @internal
|
|
49
|
+
* Authorization: Requires can_edit permission on the platform client resource.
|
|
50
|
+
*
|
|
51
|
+
* @generated from rpc ai.stigmer.iam.platformclient.v1.PlatformClientCommandController.update
|
|
52
|
+
*/
|
|
53
|
+
readonly update: {
|
|
54
|
+
readonly name: "update";
|
|
55
|
+
readonly I: any;
|
|
56
|
+
readonly O: any;
|
|
57
|
+
readonly kind: any;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Delete a platform client.
|
|
61
|
+
*
|
|
62
|
+
* Immediately invalidates the client_id and client_secret. Any tokens
|
|
63
|
+
* previously minted by this platform client remain valid until their
|
|
64
|
+
* own expiration — deletion does not revoke already-issued tokens.
|
|
65
|
+
*
|
|
66
|
+
* @internal
|
|
67
|
+
* Authorization: Requires can_delete permission on the platform client resource.
|
|
68
|
+
*
|
|
69
|
+
* @generated from rpc ai.stigmer.iam.platformclient.v1.PlatformClientCommandController.delete
|
|
70
|
+
*/
|
|
71
|
+
readonly delete: {
|
|
72
|
+
readonly name: "delete";
|
|
73
|
+
readonly I: any;
|
|
74
|
+
readonly O: any;
|
|
75
|
+
readonly kind: any;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Rotate the client secret.
|
|
79
|
+
*
|
|
80
|
+
* Generates a new client_secret, invalidates the old one immediately,
|
|
81
|
+
* and returns the new raw secret in the response. The client_id remains
|
|
82
|
+
* unchanged — platform builders do not need to update their client_id
|
|
83
|
+
* configuration after rotation.
|
|
84
|
+
*
|
|
85
|
+
* @internal
|
|
86
|
+
* Authorization: Requires can_edit permission on the platform client resource.
|
|
87
|
+
*
|
|
88
|
+
* @generated from rpc ai.stigmer.iam.platformclient.v1.PlatformClientCommandController.rotateSecret
|
|
89
|
+
*/
|
|
90
|
+
readonly rotateSecret: {
|
|
91
|
+
readonly name: "rotateSecret";
|
|
92
|
+
readonly I: any;
|
|
93
|
+
readonly O: any;
|
|
94
|
+
readonly kind: any;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts"
|
|
2
|
+
// @generated from file ai/stigmer/iam/platformclient/v1/command.proto (package ai.stigmer.iam.platformclient.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* PlatformClientCommandController provides write operations for platform client resources.
|
|
8
|
+
*
|
|
9
|
+
* Platform clients hold OAuth2 credentials (client_id + client_secret) for
|
|
10
|
+
* platform builders embedding Stigmer into their products. The client_secret
|
|
11
|
+
* is generated server-side and returned only once in the create and
|
|
12
|
+
* rotateSecret responses.
|
|
13
|
+
*
|
|
14
|
+
* @internal
|
|
15
|
+
* PlatformClients hold credential material (client_secret_hash) and are always
|
|
16
|
+
* org-private. There is no updateVisibility RPC — public visibility is
|
|
17
|
+
* intentionally unsupported to prevent credential leakage.
|
|
18
|
+
*
|
|
19
|
+
* @generated from service ai.stigmer.iam.platformclient.v1.PlatformClientCommandController
|
|
20
|
+
*/
|
|
21
|
+
export const PlatformClientCommandController = {
|
|
22
|
+
typeName: "ai.stigmer.iam.platformclient.v1.PlatformClientCommandController",
|
|
23
|
+
methods: {
|
|
24
|
+
/**
|
|
25
|
+
* Create a platform client.
|
|
26
|
+
*
|
|
27
|
+
* Generates a new client_id (stgm_cid_ prefix) and client_secret (stgm_cs_ prefix).
|
|
28
|
+
* The raw client_secret is included in the response and is never returned again.
|
|
29
|
+
* Store it securely before discarding the response.
|
|
30
|
+
*
|
|
31
|
+
* The creator's organization owns the platform client. The creator is granted
|
|
32
|
+
* the owner role automatically.
|
|
33
|
+
*
|
|
34
|
+
* @internal
|
|
35
|
+
* Authorization: Requires can_create_platform_client permission in the organization.
|
|
36
|
+
*
|
|
37
|
+
* @generated from rpc ai.stigmer.iam.platformclient.v1.PlatformClientCommandController.create
|
|
38
|
+
*/
|
|
39
|
+
create: {
|
|
40
|
+
name: "create",
|
|
41
|
+
I: PlatformClient,
|
|
42
|
+
O: PlatformClientCreateResponse,
|
|
43
|
+
kind: MethodKind.Unary,
|
|
44
|
+
},
|
|
45
|
+
/**
|
|
46
|
+
* Update an existing platform client.
|
|
47
|
+
*
|
|
48
|
+
* Only mutable fields can be changed: auto_provision_accounts, auto_grant_on_org,
|
|
49
|
+
* auto_grant_role, and allowed_origins. Credential fields (client_id,
|
|
50
|
+
* client_secret_hash, secret_fingerprint) are immutable after creation.
|
|
51
|
+
* Use rotateSecret to change the client secret.
|
|
52
|
+
*
|
|
53
|
+
* @internal
|
|
54
|
+
* Authorization: Requires can_edit permission on the platform client resource.
|
|
55
|
+
*
|
|
56
|
+
* @generated from rpc ai.stigmer.iam.platformclient.v1.PlatformClientCommandController.update
|
|
57
|
+
*/
|
|
58
|
+
update: {
|
|
59
|
+
name: "update",
|
|
60
|
+
I: PlatformClient,
|
|
61
|
+
O: PlatformClient,
|
|
62
|
+
kind: MethodKind.Unary,
|
|
63
|
+
},
|
|
64
|
+
/**
|
|
65
|
+
* Delete a platform client.
|
|
66
|
+
*
|
|
67
|
+
* Immediately invalidates the client_id and client_secret. Any tokens
|
|
68
|
+
* previously minted by this platform client remain valid until their
|
|
69
|
+
* own expiration — deletion does not revoke already-issued tokens.
|
|
70
|
+
*
|
|
71
|
+
* @internal
|
|
72
|
+
* Authorization: Requires can_delete permission on the platform client resource.
|
|
73
|
+
*
|
|
74
|
+
* @generated from rpc ai.stigmer.iam.platformclient.v1.PlatformClientCommandController.delete
|
|
75
|
+
*/
|
|
76
|
+
delete: {
|
|
77
|
+
name: "delete",
|
|
78
|
+
I: ApiResourceDeleteInput,
|
|
79
|
+
O: PlatformClient,
|
|
80
|
+
kind: MethodKind.Unary,
|
|
81
|
+
},
|
|
82
|
+
/**
|
|
83
|
+
* Rotate the client secret.
|
|
84
|
+
*
|
|
85
|
+
* Generates a new client_secret, invalidates the old one immediately,
|
|
86
|
+
* and returns the new raw secret in the response. The client_id remains
|
|
87
|
+
* unchanged — platform builders do not need to update their client_id
|
|
88
|
+
* configuration after rotation.
|
|
89
|
+
*
|
|
90
|
+
* @internal
|
|
91
|
+
* Authorization: Requires can_edit permission on the platform client resource.
|
|
92
|
+
*
|
|
93
|
+
* @generated from rpc ai.stigmer.iam.platformclient.v1.PlatformClientCommandController.rotateSecret
|
|
94
|
+
*/
|
|
95
|
+
rotateSecret: {
|
|
96
|
+
name: "rotateSecret",
|
|
97
|
+
I: PlatformClientId,
|
|
98
|
+
O: PlatformClientCreateResponse,
|
|
99
|
+
kind: MethodKind.Unary,
|
|
100
|
+
},
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
//# sourceMappingURL=command_connect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/platformclient/v1/command_connect.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,gIAAgI;AAChI,oBAAoB;AACpB,cAAc;AAId,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGhD;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,QAAQ,EAAE,kEAAkE;IAC5E,OAAO,EAAE;QACP;;;;;;;;;;;;;;WAcG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,cAAc;YACjB,CAAC,EAAE,4BAA4B;YAC/B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;WAYG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,cAAc;YACjB,CAAC,EAAE,cAAc;YACjB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;WAWG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,sBAAsB;YACzB,CAAC,EAAE,cAAc;YACjB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;WAYG;QACH,YAAY,EAAE;YACZ,IAAI,EAAE,cAAc;YACpB,CAAC,EAAE,gBAAgB;YACnB,CAAC,EAAE,4BAA4B;YAC/B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|