@stigmer/protos 0.0.88 → 0.0.90

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.
Files changed (49) hide show
  1. package/ai/stigmer/agentic/agentexecution/v1/approval_pb.d.ts +1 -1
  2. package/ai/stigmer/agentic/agentexecution/v1/message_pb.d.ts +2 -2
  3. package/ai/stigmer/agentic/workflow/v1/spec_pb.d.ts +2 -2
  4. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +6 -0
  5. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +7 -1
  6. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
  7. package/ai/stigmer/iam/identityaccount/v1/enum_pb.d.ts +17 -1
  8. package/ai/stigmer/iam/identityaccount/v1/enum_pb.js +17 -1
  9. package/ai/stigmer/iam/identityaccount/v1/enum_pb.js.map +1 -1
  10. package/ai/stigmer/iam/identityaccount/v1/spec_pb.d.ts +15 -2
  11. package/ai/stigmer/iam/identityaccount/v1/spec_pb.js.map +1 -1
  12. package/ai/stigmer/iam/identityprovider/v1/api_pb.d.ts +4 -4
  13. package/ai/stigmer/iam/identityprovider/v1/query_connect.d.ts +1 -1
  14. package/ai/stigmer/iam/identityprovider/v1/query_connect.js +1 -1
  15. package/ai/stigmer/iam/identityprovider/v1/query_pb.d.ts +1 -1
  16. package/ai/stigmer/iam/identityprovider/v1/spec_pb.d.ts +3 -3
  17. package/ai/stigmer/iam/platformclient/v1/api_pb.d.ts +107 -0
  18. package/ai/stigmer/iam/platformclient/v1/api_pb.js +24 -0
  19. package/ai/stigmer/iam/platformclient/v1/api_pb.js.map +1 -0
  20. package/ai/stigmer/iam/platformclient/v1/command_connect.d.ts +97 -0
  21. package/ai/stigmer/iam/platformclient/v1/command_connect.js +103 -0
  22. package/ai/stigmer/iam/platformclient/v1/command_connect.js.map +1 -0
  23. package/ai/stigmer/iam/platformclient/v1/command_pb.d.ts +98 -0
  24. package/ai/stigmer/iam/platformclient/v1/command_pb.js +30 -0
  25. package/ai/stigmer/iam/platformclient/v1/command_pb.js.map +1 -0
  26. package/ai/stigmer/iam/platformclient/v1/io_pb.d.ts +95 -0
  27. package/ai/stigmer/iam/platformclient/v1/io_pb.js +31 -0
  28. package/ai/stigmer/iam/platformclient/v1/io_pb.js.map +1 -0
  29. package/ai/stigmer/iam/platformclient/v1/query_connect.d.ts +59 -0
  30. package/ai/stigmer/iam/platformclient/v1/query_connect.js +65 -0
  31. package/ai/stigmer/iam/platformclient/v1/query_connect.js.map +1 -0
  32. package/ai/stigmer/iam/platformclient/v1/query_pb.d.ts +61 -0
  33. package/ai/stigmer/iam/platformclient/v1/query_pb.js +20 -0
  34. package/ai/stigmer/iam/platformclient/v1/query_pb.js.map +1 -0
  35. package/ai/stigmer/iam/platformclient/v1/spec_pb.d.ts +160 -0
  36. package/ai/stigmer/iam/platformclient/v1/spec_pb.js +17 -0
  37. package/ai/stigmer/iam/platformclient/v1/spec_pb.js.map +1 -0
  38. package/ai/stigmer/iam/platformclient/v1/token_connect.d.ts +56 -0
  39. package/ai/stigmer/iam/platformclient/v1/token_connect.js +62 -0
  40. package/ai/stigmer/iam/platformclient/v1/token_connect.js.map +1 -0
  41. package/ai/stigmer/iam/platformclient/v1/token_pb.d.ts +155 -0
  42. package/ai/stigmer/iam/platformclient/v1/token_pb.js +37 -0
  43. package/ai/stigmer/iam/platformclient/v1/token_pb.js.map +1 -0
  44. package/ai/stigmer/iam/v1/enum_pb.d.ts +4 -0
  45. package/ai/stigmer/iam/v1/enum_pb.js +5 -1
  46. package/ai/stigmer/iam/v1/enum_pb.js.map +1 -1
  47. package/ai/stigmer/tenancy/organization/v1/enum_pb.d.ts +1 -1
  48. package/ai/stigmer/tenancy/organization/v1/enum_pb.js +1 -1
  49. package/package.json +1 -1
@@ -0,0 +1,17 @@
1
+ // @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
2
+ // @generated from file ai/stigmer/iam/platformclient/v1/spec.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_field_options } from "../../../commons/apiresource/field_options_pb";
6
+ import { file_ai_stigmer_iam_v1_enum } from "../../v1/enum_pb";
7
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
8
+ /**
9
+ * Describes the file ai/stigmer/iam/platformclient/v1/spec.proto.
10
+ */
11
+ export const file_ai_stigmer_iam_platformclient_v1_spec = /*@__PURE__*/ fileDesc("CithaS9zdGlnbWVyL2lhbS9wbGF0Zm9ybWNsaWVudC92MS9zcGVjLnByb3RvEiBhaS5zdGlnbWVyLmlhbS5wbGF0Zm9ybWNsaWVudC52MSLCAgoSUGxhdGZvcm1DbGllbnRTcGVjEhcKCWNsaWVudF9pZBgBIAEoCUIEyIUsARIgChJjbGllbnRfc2VjcmV0X2hhc2gYAiABKAlCBMiFLAESIAoSc2VjcmV0X2ZpbmdlcnByaW50GAMgASgJQgTIhSwBEi4KCmV4cGlyZXNfYXQYBCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhUKDW5ldmVyX2V4cGlyZXMYBSABKAgSHwoXYXV0b19wcm92aXNpb25fYWNjb3VudHMYBiABKAgSGQoRYXV0b19ncmFudF9vbl9vcmcYByABKAgSMwoPYXV0b19ncmFudF9yb2xlGAggASgOMhouYWkuc3RpZ21lci5pYW0udjEuSWFtUm9sZRIXCg9hbGxvd2VkX29yaWdpbnMYCSADKAliBnByb3RvMw", [file_ai_stigmer_commons_apiresource_field_options, file_ai_stigmer_iam_v1_enum, file_google_protobuf_timestamp]);
12
+ /**
13
+ * Describes the message ai.stigmer.iam.platformclient.v1.PlatformClientSpec.
14
+ * Use `create(PlatformClientSpecSchema)` to create a new message.
15
+ */
16
+ export const PlatformClientSpecSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_iam_platformclient_v1_spec, 0);
17
+ //# sourceMappingURL=spec_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/platformclient/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,6HAA6H;AAC7H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,iDAAiD,EAAE,MAAM,+CAA+C,CAAC;AAElH,OAAO,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AAE/D,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,wiBAAwiB,EAAE,CAAC,iDAAiD,EAAE,2BAA2B,EAAE,8BAA8B,CAAC,CAAC,CAAC;AA8JvqB;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,56 @@
1
+ /**
2
+ * PlatformClientTokenController provides token-minting operations for
3
+ * platform builders embedding Stigmer into their products.
4
+ *
5
+ * This service is distinct from the CRUD controllers — it does not manage
6
+ * a resource lifecycle. Instead, it issues Stigmer-signed JWTs on behalf
7
+ * of platform builder users, authenticated via PlatformClient credentials
8
+ * (client_id + client_secret).
9
+ *
10
+ * The minted JWT is signed by Stigmer's own key pair (not Auth0). The auth
11
+ * chain validates these tokens via a dedicated PlatformClientTokenAuthenticationProvider
12
+ * that checks the Stigmer-issued signature and resolves the identity account.
13
+ *
14
+ * @generated from service ai.stigmer.iam.platformclient.v1.PlatformClientTokenController
15
+ */
16
+ export declare const PlatformClientTokenController: {
17
+ readonly typeName: "ai.stigmer.iam.platformclient.v1.PlatformClientTokenController";
18
+ readonly methods: {
19
+ /**
20
+ * Mint a user-scoped JWT for browser-based access to Stigmer resources.
21
+ *
22
+ * The platform builder's backend calls this RPC with its PlatformClient
23
+ * credentials (client_id + client_secret) and the end user's identity.
24
+ * Stigmer validates the credentials, optionally JIT-provisions the user's
25
+ * identity account, and returns a Stigmer-signed JWT.
26
+ *
27
+ * The returned JWT can be used by the React SDK (via StigmerProvider's
28
+ * getAccessToken callback) to authenticate API calls from the browser.
29
+ *
30
+ * Authentication flow:
31
+ * 1. Validate client_id + client_secret against stored hash
32
+ * 2. Resolve or JIT-provision the identity account for user_id
33
+ * 3. If auto_grant_on_org is enabled, grant the configured role
34
+ * 4. Sign a JWT with Stigmer's private key containing the user's identity
35
+ *
36
+ * Error scenarios:
37
+ * - UNAUTHENTICATED: Invalid client_id or client_secret
38
+ * - NOT_FOUND: user_id does not exist and auto_provision_accounts is false
39
+ * - FAILED_PRECONDITION: PlatformClient secret has expired
40
+ * - PERMISSION_DENIED: Origin not in allowed_origins (when configured)
41
+ *
42
+ * @internal
43
+ * This RPC is public — no Bearer token is required. The caller authenticates
44
+ * by providing client_id + client_secret in the request body. The handler
45
+ * validates these credentials as business logic, not via the auth interceptor.
46
+ *
47
+ * @generated from rpc ai.stigmer.iam.platformclient.v1.PlatformClientTokenController.mintUserToken
48
+ */
49
+ readonly mintUserToken: {
50
+ readonly name: "mintUserToken";
51
+ readonly I: any;
52
+ readonly O: any;
53
+ readonly kind: any;
54
+ };
55
+ };
56
+ };
@@ -0,0 +1,62 @@
1
+ // @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts"
2
+ // @generated from file ai/stigmer/iam/platformclient/v1/token.proto (package ai.stigmer.iam.platformclient.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+ import { MethodKind } from "@bufbuild/protobuf";
6
+ /**
7
+ * PlatformClientTokenController provides token-minting operations for
8
+ * platform builders embedding Stigmer into their products.
9
+ *
10
+ * This service is distinct from the CRUD controllers — it does not manage
11
+ * a resource lifecycle. Instead, it issues Stigmer-signed JWTs on behalf
12
+ * of platform builder users, authenticated via PlatformClient credentials
13
+ * (client_id + client_secret).
14
+ *
15
+ * The minted JWT is signed by Stigmer's own key pair (not Auth0). The auth
16
+ * chain validates these tokens via a dedicated PlatformClientTokenAuthenticationProvider
17
+ * that checks the Stigmer-issued signature and resolves the identity account.
18
+ *
19
+ * @generated from service ai.stigmer.iam.platformclient.v1.PlatformClientTokenController
20
+ */
21
+ export const PlatformClientTokenController = {
22
+ typeName: "ai.stigmer.iam.platformclient.v1.PlatformClientTokenController",
23
+ methods: {
24
+ /**
25
+ * Mint a user-scoped JWT for browser-based access to Stigmer resources.
26
+ *
27
+ * The platform builder's backend calls this RPC with its PlatformClient
28
+ * credentials (client_id + client_secret) and the end user's identity.
29
+ * Stigmer validates the credentials, optionally JIT-provisions the user's
30
+ * identity account, and returns a Stigmer-signed JWT.
31
+ *
32
+ * The returned JWT can be used by the React SDK (via StigmerProvider's
33
+ * getAccessToken callback) to authenticate API calls from the browser.
34
+ *
35
+ * Authentication flow:
36
+ * 1. Validate client_id + client_secret against stored hash
37
+ * 2. Resolve or JIT-provision the identity account for user_id
38
+ * 3. If auto_grant_on_org is enabled, grant the configured role
39
+ * 4. Sign a JWT with Stigmer's private key containing the user's identity
40
+ *
41
+ * Error scenarios:
42
+ * - UNAUTHENTICATED: Invalid client_id or client_secret
43
+ * - NOT_FOUND: user_id does not exist and auto_provision_accounts is false
44
+ * - FAILED_PRECONDITION: PlatformClient secret has expired
45
+ * - PERMISSION_DENIED: Origin not in allowed_origins (when configured)
46
+ *
47
+ * @internal
48
+ * This RPC is public — no Bearer token is required. The caller authenticates
49
+ * by providing client_id + client_secret in the request body. The handler
50
+ * validates these credentials as business logic, not via the auth interceptor.
51
+ *
52
+ * @generated from rpc ai.stigmer.iam.platformclient.v1.PlatformClientTokenController.mintUserToken
53
+ */
54
+ mintUserToken: {
55
+ name: "mintUserToken",
56
+ I: MintUserTokenRequest,
57
+ O: MintUserTokenResponse,
58
+ kind: MethodKind.Unary,
59
+ },
60
+ }
61
+ };
62
+ //# sourceMappingURL=token_connect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"token_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/platformclient/v1/token_connect.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,8HAA8H;AAC9H,oBAAoB;AACpB,cAAc;AAGd,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,QAAQ,EAAE,gEAAgE;IAC1E,OAAO,EAAE;QACP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA6BG;QACH,aAAa,EAAE;YACb,IAAI,EAAE,eAAe;YACrB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,qBAAqB;YACxB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -0,0 +1,155 @@
1
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
2
+ import type { Message } from "@bufbuild/protobuf";
3
+ /**
4
+ * Describes the file ai/stigmer/iam/platformclient/v1/token.proto.
5
+ */
6
+ export declare const file_ai_stigmer_iam_platformclient_v1_token: GenFile;
7
+ /**
8
+ * MintUserTokenRequest contains the credentials and user identity needed
9
+ * to mint a Stigmer JWT.
10
+ *
11
+ * Called from the platform builder's backend — never from a browser.
12
+ * The client_secret must be transmitted over TLS and never exposed in
13
+ * client-side code.
14
+ *
15
+ * @generated from message ai.stigmer.iam.platformclient.v1.MintUserTokenRequest
16
+ */
17
+ export type MintUserTokenRequest = Message<"ai.stigmer.iam.platformclient.v1.MintUserTokenRequest"> & {
18
+ /**
19
+ * The PlatformClient's client identifier (stgm_cid_ prefix).
20
+ * Used together with client_secret to authenticate the request.
21
+ *
22
+ * @generated from field: string client_id = 1;
23
+ */
24
+ clientId: string;
25
+ /**
26
+ * The raw client secret (stgm_cs_ prefix).
27
+ * Validated against the stored client_secret_hash.
28
+ *
29
+ * @generated from field: string client_secret = 2;
30
+ */
31
+ clientSecret: string;
32
+ /**
33
+ * Platform's stable user identifier for the end user. Used together with
34
+ * the PlatformClient's owning org to resolve or create an IdentityAccount
35
+ * (keyed as "stgm_pc|{org}|{user_id}").
36
+ *
37
+ * Must be unique and stable within the org — the same user_id presented
38
+ * via any PlatformClient in the same org resolves to the same identity.
39
+ * Changing this value for the same user creates a new identity account.
40
+ *
41
+ * @generated from field: string user_id = 3;
42
+ */
43
+ userId: string;
44
+ /**
45
+ * User's email address. Used for profile enrichment when JIT-provisioning
46
+ * an identity account. Updated on each token mint if the account exists.
47
+ *
48
+ * @generated from field: string user_email = 4;
49
+ */
50
+ userEmail: string;
51
+ /**
52
+ * User's display name. Used for profile enrichment when JIT-provisioning
53
+ * an identity account. Updated on each token mint if the account exists.
54
+ *
55
+ * @generated from field: string user_name = 5;
56
+ */
57
+ userName: string;
58
+ /**
59
+ * Optional organization to scope the minted token to.
60
+ * When set, the JWT's claims include this org context, and the user must
61
+ * have access to this organization. When empty, the token is scoped to
62
+ * the PlatformClient's owning organization.
63
+ *
64
+ * @generated from field: string org_id = 6;
65
+ */
66
+ orgId: string;
67
+ };
68
+ /**
69
+ * Describes the message ai.stigmer.iam.platformclient.v1.MintUserTokenRequest.
70
+ * Use `create(MintUserTokenRequestSchema)` to create a new message.
71
+ */
72
+ export declare const MintUserTokenRequestSchema: GenMessage<MintUserTokenRequest>;
73
+ /**
74
+ * MintUserTokenResponse contains the Stigmer-signed JWT and its metadata.
75
+ *
76
+ * @generated from message ai.stigmer.iam.platformclient.v1.MintUserTokenResponse
77
+ */
78
+ export type MintUserTokenResponse = Message<"ai.stigmer.iam.platformclient.v1.MintUserTokenResponse"> & {
79
+ /**
80
+ * Stigmer-signed JWT for authenticating browser-based API calls.
81
+ * Pass this to the React SDK's StigmerProvider via getAccessToken.
82
+ *
83
+ * @generated from field: string access_token = 1;
84
+ */
85
+ accessToken: string;
86
+ /**
87
+ * Token type. Always "Bearer".
88
+ *
89
+ * @generated from field: string token_type = 2;
90
+ */
91
+ tokenType: string;
92
+ /**
93
+ * Token lifetime in seconds from the time of issuance.
94
+ *
95
+ * @generated from field: int32 expires_in = 3;
96
+ */
97
+ expiresIn: number;
98
+ };
99
+ /**
100
+ * Describes the message ai.stigmer.iam.platformclient.v1.MintUserTokenResponse.
101
+ * Use `create(MintUserTokenResponseSchema)` to create a new message.
102
+ */
103
+ export declare const MintUserTokenResponseSchema: GenMessage<MintUserTokenResponse>;
104
+ /**
105
+ * PlatformClientTokenController provides token-minting operations for
106
+ * platform builders embedding Stigmer into their products.
107
+ *
108
+ * This service is distinct from the CRUD controllers — it does not manage
109
+ * a resource lifecycle. Instead, it issues Stigmer-signed JWTs on behalf
110
+ * of platform builder users, authenticated via PlatformClient credentials
111
+ * (client_id + client_secret).
112
+ *
113
+ * The minted JWT is signed by Stigmer's own key pair (not Auth0). The auth
114
+ * chain validates these tokens via a dedicated PlatformClientTokenAuthenticationProvider
115
+ * that checks the Stigmer-issued signature and resolves the identity account.
116
+ *
117
+ * @generated from service ai.stigmer.iam.platformclient.v1.PlatformClientTokenController
118
+ */
119
+ export declare const PlatformClientTokenController: GenService<{
120
+ /**
121
+ * Mint a user-scoped JWT for browser-based access to Stigmer resources.
122
+ *
123
+ * The platform builder's backend calls this RPC with its PlatformClient
124
+ * credentials (client_id + client_secret) and the end user's identity.
125
+ * Stigmer validates the credentials, optionally JIT-provisions the user's
126
+ * identity account, and returns a Stigmer-signed JWT.
127
+ *
128
+ * The returned JWT can be used by the React SDK (via StigmerProvider's
129
+ * getAccessToken callback) to authenticate API calls from the browser.
130
+ *
131
+ * Authentication flow:
132
+ * 1. Validate client_id + client_secret against stored hash
133
+ * 2. Resolve or JIT-provision the identity account for user_id
134
+ * 3. If auto_grant_on_org is enabled, grant the configured role
135
+ * 4. Sign a JWT with Stigmer's private key containing the user's identity
136
+ *
137
+ * Error scenarios:
138
+ * - UNAUTHENTICATED: Invalid client_id or client_secret
139
+ * - NOT_FOUND: user_id does not exist and auto_provision_accounts is false
140
+ * - FAILED_PRECONDITION: PlatformClient secret has expired
141
+ * - PERMISSION_DENIED: Origin not in allowed_origins (when configured)
142
+ *
143
+ * @internal
144
+ * This RPC is public — no Bearer token is required. The caller authenticates
145
+ * by providing client_id + client_secret in the request body. The handler
146
+ * validates these credentials as business logic, not via the auth interceptor.
147
+ *
148
+ * @generated from rpc ai.stigmer.iam.platformclient.v1.PlatformClientTokenController.mintUserToken
149
+ */
150
+ mintUserToken: {
151
+ methodKind: "unary";
152
+ input: typeof MintUserTokenRequestSchema;
153
+ output: typeof MintUserTokenResponseSchema;
154
+ };
155
+ }>;
@@ -0,0 +1,37 @@
1
+ // @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
2
+ // @generated from file ai/stigmer/iam/platformclient/v1/token.proto (package ai.stigmer.iam.platformclient.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc/method_options_pb";
6
+ import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb";
7
+ /**
8
+ * Describes the file ai/stigmer/iam/platformclient/v1/token.proto.
9
+ */
10
+ export const file_ai_stigmer_iam_platformclient_v1_token = /*@__PURE__*/ fileDesc("CixhaS9zdGlnbWVyL2lhbS9wbGF0Zm9ybWNsaWVudC92MS90b2tlbi5wcm90bxIgYWkuc3RpZ21lci5pYW0ucGxhdGZvcm1jbGllbnQudjEiowEKFE1pbnRVc2VyVG9rZW5SZXF1ZXN0EhoKCWNsaWVudF9pZBgBIAEoCUIHukgEcgIQARIeCg1jbGllbnRfc2VjcmV0GAIgASgJQge6SARyAhABEhgKB3VzZXJfaWQYAyABKAlCB7pIBHICEAESEgoKdXNlcl9lbWFpbBgEIAEoCRIRCgl1c2VyX25hbWUYBSABKAkSDgoGb3JnX2lkGAYgASgJIlUKFU1pbnRVc2VyVG9rZW5SZXNwb25zZRIUCgxhY2Nlc3NfdG9rZW4YASABKAkSEgoKdG9rZW5fdHlwZRgCIAEoCRISCgpleHBpcmVzX2luGAMgASgFMqgBCh1QbGF0Zm9ybUNsaWVudFRva2VuQ29udHJvbGxlchKGAQoNbWludFVzZXJUb2tlbhI2LmFpLnN0aWdtZXIuaWFtLnBsYXRmb3JtY2xpZW50LnYxLk1pbnRVc2VyVG9rZW5SZXF1ZXN0GjcuYWkuc3RpZ21lci5pYW0ucGxhdGZvcm1jbGllbnQudjEuTWludFVzZXJUb2tlblJlc3BvbnNlIgTIuBgBYgZwcm90bzM", [file_ai_stigmer_commons_rpc_method_options, file_buf_validate_validate]);
11
+ /**
12
+ * Describes the message ai.stigmer.iam.platformclient.v1.MintUserTokenRequest.
13
+ * Use `create(MintUserTokenRequestSchema)` to create a new message.
14
+ */
15
+ export const MintUserTokenRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_iam_platformclient_v1_token, 0);
16
+ /**
17
+ * Describes the message ai.stigmer.iam.platformclient.v1.MintUserTokenResponse.
18
+ * Use `create(MintUserTokenResponseSchema)` to create a new message.
19
+ */
20
+ export const MintUserTokenResponseSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_iam_platformclient_v1_token, 1);
21
+ /**
22
+ * PlatformClientTokenController provides token-minting operations for
23
+ * platform builders embedding Stigmer into their products.
24
+ *
25
+ * This service is distinct from the CRUD controllers — it does not manage
26
+ * a resource lifecycle. Instead, it issues Stigmer-signed JWTs on behalf
27
+ * of platform builder users, authenticated via PlatformClient credentials
28
+ * (client_id + client_secret).
29
+ *
30
+ * The minted JWT is signed by Stigmer's own key pair (not Auth0). The auth
31
+ * chain validates these tokens via a dedicated PlatformClientTokenAuthenticationProvider
32
+ * that checks the Stigmer-issued signature and resolves the identity account.
33
+ *
34
+ * @generated from service ai.stigmer.iam.platformclient.v1.PlatformClientTokenController
35
+ */
36
+ export const PlatformClientTokenController = /*@__PURE__*/ serviceDesc(file_ai_stigmer_iam_platformclient_v1_token, 0);
37
+ //# sourceMappingURL=token_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"token_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/platformclient/v1/token_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,8HAA8H;AAC9H,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,2CAA2C,GAAY,aAAa,CAC/E,QAAQ,CAAC,6qBAA6qB,EAAE,CAAC,0CAA0C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAqEpwB;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC;AA+B9D;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAsC,aAAa,CACzF,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC;AAE9D;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAoCrC,aAAa,CAChB,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC"}
@@ -84,6 +84,10 @@ export declare enum IamPermission {
84
84
  * @generated from enum value: can_create_oauth_app = 23;
85
85
  */
86
86
  can_create_oauth_app = 23,
87
+ /**
88
+ * @generated from enum value: can_create_platform_client = 24;
89
+ */
90
+ can_create_platform_client = 24,
87
91
  /**
88
92
  * Resource-level create permissions.
89
93
  *
@@ -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
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lbnVtLnByb3RvEhFhaS5zdGlnbWVyLmlhbS52MSrZBAoNSWFtUGVybWlzc2lvbhIPCgt1bnNwZWNpZmllZBAAEgwKCGNhbl92aWV3EAESDAoIY2FuX2VkaXQQAhIOCgpjYW5fZGVsZXRlEAMSFAoQY2FuX2dyYW50X2FjY2VzcxAEEhMKD2Nhbl92aWV3X2FjY2VzcxAFEhQKEGNhbl9jcmVhdGVfYWdlbnQQBhIXChNjYW5fY3JlYXRlX3dvcmtmbG93EAcSFgoSY2FuX2NyZWF0ZV9zZXNzaW9uEAgSFAoQY2FuX2NyZWF0ZV9za2lsbBAJEhYKEmNhbl9jcmVhdGVfcHJvamVjdBAKEhIKDmNhbl9jcmVhdGVfaWRwEAsSGgoWY2FuX2NyZWF0ZV9lbnZpcm9ubWVudBAMEh8KG2Nhbl9jcmVhdGVfaWRlbnRpdHlfYWNjb3VudBAVEhgKFGNhbl9jcmVhdGVfb2F1dGhfYXBwEBcSHgoaY2FuX2NyZWF0ZV9wbGF0Zm9ybV9jbGllbnQQGBIbChdjYW5fY3JlYXRlX2V4ZWN1dGlvbl9pbhANEhcKE2Nhbl9jcmVhdGVfaW5zdGFuY2UQDhIPCgtjYW5fZXhlY3V0ZRAPEhQKEGNhbl9yZWFkX3NlY3JldHMQEBIVChFjYW5fYm9vdHN0cmFwX2lhbRAREiAKHGNhbl9tYW5hZ2VfaWRlbnRpdHlfYWNjb3VudHMQEhIfChtjYW5fdXBkYXRlX2V4ZWN1dGlvbl9zdGF0dXMQExIYChRsb2dpbl90b19iYWNrX29mZmljZRAUEg8KC2Nhbl9jb25uZWN0EBYqUQoHSWFtUm9sZRIYChRpYW1fcm9sZV91bnNwZWNpZmllZBAAEgkKBW93bmVyEAESCQoFYWRtaW4QAhIKCgZtZW1iZXIQAxIKCgZ2aWV3ZXIQBGIGcHJvdG8z");
9
9
  /**
10
10
  * IamPermission defines the permissions checked by the authorization
11
11
  * interceptor before an RPC handler executes.
@@ -88,6 +88,10 @@ export var IamPermission;
88
88
  * @generated from enum value: can_create_oauth_app = 23;
89
89
  */
90
90
  IamPermission[IamPermission["can_create_oauth_app"] = 23] = "can_create_oauth_app";
91
+ /**
92
+ * @generated from enum value: can_create_platform_client = 24;
93
+ */
94
+ IamPermission[IamPermission["can_create_platform_client"] = 24] = "can_create_platform_client";
91
95
  /**
92
96
  * Resource-level create permissions.
93
97
  *
@@ -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,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,C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C,MAAM,aAAa,GAAqB,aAAa,CAC1D,QAAQ,CAAC,2BAA2B,EAAE,CAAC,CAAC,CAAC"}
@@ -9,7 +9,7 @@ export declare const file_ai_stigmer_tenancy_organization_v1_enum: GenFile;
9
9
  * @internal
10
10
  * Immutable after organization creation.
11
11
  * - self_managed: User signed up directly, manages the org via Stigmer UI/CLI/API.
12
- * - platform_managed: Created programmatically by an external platform (e.g., Planton Cloud)
12
+ * - platform_managed: Created programmatically by an external platform (e.g., Planton)
13
13
  * via an IdentityProvider. Operated by the platform on behalf of its users.
14
14
  *
15
15
  * @generated from enum ai.stigmer.tenancy.organization.v1.ManagementMode
@@ -12,7 +12,7 @@ export const file_ai_stigmer_tenancy_organization_v1_enum = /*@__PURE__*/ fileDe
12
12
  * @internal
13
13
  * Immutable after organization creation.
14
14
  * - self_managed: User signed up directly, manages the org via Stigmer UI/CLI/API.
15
- * - platform_managed: Created programmatically by an external platform (e.g., Planton Cloud)
15
+ * - platform_managed: Created programmatically by an external platform (e.g., Planton)
16
16
  * via an IdentityProvider. Operated by the platform on behalf of its users.
17
17
  *
18
18
  * @generated from enum ai.stigmer.tenancy.organization.v1.ManagementMode
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stigmer/protos",
3
- "version": "0.0.88",
3
+ "version": "0.0.90",
4
4
  "description": "Generated TypeScript protobuf stubs for Stigmer APIs",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",