@evalops/sdk-ts 0.1.13
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/README.md +15 -0
- package/dist/agentregistry/v1/service_pb.d.ts +458 -0
- package/dist/agentregistry/v1/service_pb.js +100 -0
- package/dist/agentruntime/v1/runtime_pb.d.ts +1809 -0
- package/dist/agentruntime/v1/runtime_pb.js +480 -0
- package/dist/agents/v1/agents_pb.d.ts +1151 -0
- package/dist/agents/v1/agents_pb.js +256 -0
- package/dist/approvals/v1/approvals_pb.d.ts +788 -0
- package/dist/approvals/v1/approvals_pb.js +212 -0
- package/dist/artifacts/v1/artifacts_pb.d.ts +1079 -0
- package/dist/artifacts/v1/artifacts_pb.js +292 -0
- package/dist/attestation/v1/attestation_pb.d.ts +359 -0
- package/dist/attestation/v1/attestation_pb.js +84 -0
- package/dist/attribution/v1/attribution_pb.d.ts +1312 -0
- package/dist/attribution/v1/attribution_pb.js +285 -0
- package/dist/audit/v1/audit_pb.d.ts +1151 -0
- package/dist/audit/v1/audit_pb.js +262 -0
- package/dist/buf/validate/validate_pb.d.ts +4827 -0
- package/dist/buf/validate/validate_pb.js +356 -0
- package/dist/catalogs/v1/catalogs_pb.d.ts +150 -0
- package/dist/catalogs/v1/catalogs_pb.js +38 -0
- package/dist/common/v1/analytics_pb.d.ts +134 -0
- package/dist/common/v1/analytics_pb.js +72 -0
- package/dist/common/v1/authz_pb.d.ts +23 -0
- package/dist/common/v1/authz_pb.js +26 -0
- package/dist/common/v1/delivery_pb.d.ts +36 -0
- package/dist/common/v1/delivery_pb.js +40 -0
- package/dist/common/v1/entity_pb.d.ts +44 -0
- package/dist/common/v1/entity_pb.js +48 -0
- package/dist/common/v1/risk_pb.d.ts +36 -0
- package/dist/common/v1/risk_pb.js +40 -0
- package/dist/compliance/v1/compliance_pb.d.ts +866 -0
- package/dist/compliance/v1/compliance_pb.js +240 -0
- package/dist/config/v1/config_pb.d.ts +589 -0
- package/dist/config/v1/config_pb.js +164 -0
- package/dist/connectors/v1/connectors_pb.d.ts +653 -0
- package/dist/connectors/v1/connectors_pb.js +236 -0
- package/dist/entities/v1/entities_pb.d.ts +784 -0
- package/dist/entities/v1/entities_pb.js +197 -0
- package/dist/evalpipeline/v1/evalpipeline_pb.d.ts +943 -0
- package/dist/evalpipeline/v1/evalpipeline_pb.js +227 -0
- package/dist/events/v1/change_pb.d.ts +60 -0
- package/dist/events/v1/change_pb.js +14 -0
- package/dist/events/v1/cloudevent_pb.d.ts +63 -0
- package/dist/events/v1/cloudevent_pb.js +14 -0
- package/dist/events/v1/evaluation_pb.d.ts +124 -0
- package/dist/events/v1/evaluation_pb.js +24 -0
- package/dist/fermata/v1/fermata_pb.d.ts +1869 -0
- package/dist/fermata/v1/fermata_pb.js +515 -0
- package/dist/fermata/v1/worker_pb.d.ts +223 -0
- package/dist/fermata/v1/worker_pb.js +55 -0
- package/dist/gate/v1/audit_pb.d.ts +243 -0
- package/dist/gate/v1/audit_pb.js +60 -0
- package/dist/gate/v1/connector_pb.d.ts +360 -0
- package/dist/gate/v1/connector_pb.js +91 -0
- package/dist/gate/v1/controlplane_pb.d.ts +345 -0
- package/dist/gate/v1/controlplane_pb.js +19 -0
- package/dist/gate/v1/identity_group_pb.d.ts +255 -0
- package/dist/gate/v1/identity_group_pb.js +90 -0
- package/dist/gate/v1/recording_pb.d.ts +93 -0
- package/dist/gate/v1/recording_pb.js +35 -0
- package/dist/gate/v1/resource_policy_pb.d.ts +541 -0
- package/dist/gate/v1/resource_policy_pb.js +145 -0
- package/dist/gate/v1/tenant_pb.d.ts +273 -0
- package/dist/gate/v1/tenant_pb.js +101 -0
- package/dist/gate/v1/webhook_access_pb.d.ts +359 -0
- package/dist/gate/v1/webhook_access_pb.js +105 -0
- package/dist/google/api/annotations_pb.d.ts +13 -0
- package/dist/google/api/annotations_pb.js +26 -0
- package/dist/google/api/http_pb.d.ts +440 -0
- package/dist/google/api/http_pb.js +33 -0
- package/dist/governance/v1/governance_pb.d.ts +1219 -0
- package/dist/governance/v1/governance_pb.js +376 -0
- package/dist/identity/v1/organizations_pb.d.ts +621 -0
- package/dist/identity/v1/organizations_pb.js +166 -0
- package/dist/identity/v1/sessions_pb.d.ts +78 -0
- package/dist/identity/v1/sessions_pb.js +19 -0
- package/dist/identity/v1/tokens_pb.d.ts +332 -0
- package/dist/identity/v1/tokens_pb.js +56 -0
- package/dist/ingest/v1/admin_pb.d.ts +471 -0
- package/dist/ingest/v1/admin_pb.js +112 -0
- package/dist/ingest/v1/event_pb.d.ts +155 -0
- package/dist/ingest/v1/event_pb.js +24 -0
- package/dist/keys/v1/keys_pb.d.ts +241 -0
- package/dist/keys/v1/keys_pb.js +52 -0
- package/dist/llmgateway/v1/gateway_pb.d.ts +393 -0
- package/dist/llmgateway/v1/gateway_pb.js +79 -0
- package/dist/memory/v1/memory_pb.d.ts +1260 -0
- package/dist/memory/v1/memory_pb.js +243 -0
- package/dist/meter/v1/meter_pb.d.ts +1691 -0
- package/dist/meter/v1/meter_pb.js +263 -0
- package/dist/notifications/v1/notifications_pb.d.ts +777 -0
- package/dist/notifications/v1/notifications_pb.js +257 -0
- package/dist/objectives/v1/objectives_pb.d.ts +1000 -0
- package/dist/objectives/v1/objectives_pb.js +340 -0
- package/dist/posture/v1/posture_pb.d.ts +357 -0
- package/dist/posture/v1/posture_pb.js +88 -0
- package/dist/prompts/v1/prompts_pb.d.ts +864 -0
- package/dist/prompts/v1/prompts_pb.js +156 -0
- package/dist/relationships/v1/relationships_pb.d.ts +367 -0
- package/dist/relationships/v1/relationships_pb.js +96 -0
- package/dist/secretbroker/v1/broker_pb.d.ts +888 -0
- package/dist/secretbroker/v1/broker_pb.js +168 -0
- package/dist/skills/v1/skills_pb.d.ts +652 -0
- package/dist/skills/v1/skills_pb.js +164 -0
- package/dist/tap/v1/admin_pb.d.ts +530 -0
- package/dist/tap/v1/admin_pb.js +132 -0
- package/dist/tap/v1/event_pb.d.ts +141 -0
- package/dist/tap/v1/event_pb.js +27 -0
- package/dist/toolexecution/v1/toolexecution_pb.d.ts +994 -0
- package/dist/toolexecution/v1/toolexecution_pb.js +315 -0
- package/dist/traces/v1/traces_pb.d.ts +633 -0
- package/dist/traces/v1/traces_pb.js +163 -0
- package/dist/workflows/v1/workflows_pb.d.ts +1784 -0
- package/dist/workflows/v1/workflows_pb.js +431 -0
- package/package.json +272 -0
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=.js"
|
|
2
|
+
// @generated from file identity/v1/organizations.proto (package identity.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file identity/v1/organizations.proto.
|
|
8
|
+
*/
|
|
9
|
+
export const file_identity_v1_organizations = /*@__PURE__*/ fileDesc("Ch9pZGVudGl0eS92MS9vcmdhbml6YXRpb25zLnByb3RvEgtpZGVudGl0eS52MSJmCgxPcmdhbml6YXRpb24SCgoCaWQYASABKAkSDAoEbmFtZRgCIAEoCRIMCgRzbHVnGAMgASgJEi4KCmNyZWF0ZWRfYXQYBCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wIlcKFk9yZ2FuaXphdGlvbk1lbWJlcnNoaXASLwoMb3JnYW5pemF0aW9uGAEgASgLMhkuaWRlbnRpdHkudjEuT3JnYW5pemF0aW9uEgwKBHJvbGUYAiABKAki5gEKBk1lbWJlchIPCgd1c2VyX2lkGAEgASgJEhcKD29yZ2FuaXphdGlvbl9pZBgCIAEoCRINCgVlbWFpbBgDIAEoCRIMCgRuYW1lGAQgASgJEg8KB3BpY3R1cmUYBSABKAkSDAoEcm9sZRgGIAEoCRIOCgZzdGF0dXMYByABKAkSGQoRaWRlbnRpdHlfcHJvdmlkZXIYC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MS5MaXN0Um9sZUFzc2lnbm1lbnRzUmVxdWVzdBooLmlkZW50aXR5LnYxLkxpc3RSb2xlQXNzaWdubWVudHNSZXNwb25zZRJcCg9DaGVja1Blcm1pc3Npb24SIy5pZGVudGl0eS52MS5DaGVja1Blcm1pc3Npb25SZXF1ZXN0GiQuaWRlbnRpdHkudjEuQ2hlY2tQZXJtaXNzaW9uUmVzcG9uc2VCO1o5Z2l0aHViLmNvbS9ldmFsb3BzL3BsYXRmb3JtL2dlbi9nby9pZGVudGl0eS92MTtpZGVudGl0eXYxYgZwcm90bzM", [file_google_protobuf_timestamp]);
|
|
10
|
+
/**
|
|
11
|
+
* Describes the message identity.v1.Organization.
|
|
12
|
+
* Use `create(OrganizationSchema)` to create a new message.
|
|
13
|
+
*/
|
|
14
|
+
export const OrganizationSchema = /*@__PURE__*/ messageDesc(file_identity_v1_organizations, 0);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message identity.v1.OrganizationMembership.
|
|
17
|
+
* Use `create(OrganizationMembershipSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const OrganizationMembershipSchema = /*@__PURE__*/ messageDesc(file_identity_v1_organizations, 1);
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message identity.v1.Member.
|
|
22
|
+
* Use `create(MemberSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const MemberSchema = /*@__PURE__*/ messageDesc(file_identity_v1_organizations, 2);
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message identity.v1.APIKey.
|
|
27
|
+
* Use `create(APIKeySchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
export const APIKeySchema = /*@__PURE__*/ messageDesc(file_identity_v1_organizations, 3);
|
|
30
|
+
/**
|
|
31
|
+
* Describes the message identity.v1.Permission.
|
|
32
|
+
* Use `create(PermissionSchema)` to create a new message.
|
|
33
|
+
*/
|
|
34
|
+
export const PermissionSchema = /*@__PURE__*/ messageDesc(file_identity_v1_organizations, 4);
|
|
35
|
+
/**
|
|
36
|
+
* Describes the message identity.v1.Role.
|
|
37
|
+
* Use `create(RoleSchema)` to create a new message.
|
|
38
|
+
*/
|
|
39
|
+
export const RoleSchema = /*@__PURE__*/ messageDesc(file_identity_v1_organizations, 5);
|
|
40
|
+
/**
|
|
41
|
+
* Describes the message identity.v1.RoleAssignment.
|
|
42
|
+
* Use `create(RoleAssignmentSchema)` to create a new message.
|
|
43
|
+
*/
|
|
44
|
+
export const RoleAssignmentSchema = /*@__PURE__*/ messageDesc(file_identity_v1_organizations, 6);
|
|
45
|
+
/**
|
|
46
|
+
* Describes the message identity.v1.ListRolesRequest.
|
|
47
|
+
* Use `create(ListRolesRequestSchema)` to create a new message.
|
|
48
|
+
*/
|
|
49
|
+
export const ListRolesRequestSchema = /*@__PURE__*/ messageDesc(file_identity_v1_organizations, 7);
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message identity.v1.ListRolesResponse.
|
|
52
|
+
* Use `create(ListRolesResponseSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
export const ListRolesResponseSchema = /*@__PURE__*/ messageDesc(file_identity_v1_organizations, 8);
|
|
55
|
+
/**
|
|
56
|
+
* Describes the message identity.v1.AssignRoleRequest.
|
|
57
|
+
* Use `create(AssignRoleRequestSchema)` to create a new message.
|
|
58
|
+
*/
|
|
59
|
+
export const AssignRoleRequestSchema = /*@__PURE__*/ messageDesc(file_identity_v1_organizations, 9);
|
|
60
|
+
/**
|
|
61
|
+
* Describes the message identity.v1.AssignRoleResponse.
|
|
62
|
+
* Use `create(AssignRoleResponseSchema)` to create a new message.
|
|
63
|
+
*/
|
|
64
|
+
export const AssignRoleResponseSchema = /*@__PURE__*/ messageDesc(file_identity_v1_organizations, 10);
|
|
65
|
+
/**
|
|
66
|
+
* Describes the message identity.v1.RevokeRoleRequest.
|
|
67
|
+
* Use `create(RevokeRoleRequestSchema)` to create a new message.
|
|
68
|
+
*/
|
|
69
|
+
export const RevokeRoleRequestSchema = /*@__PURE__*/ messageDesc(file_identity_v1_organizations, 11);
|
|
70
|
+
/**
|
|
71
|
+
* Describes the message identity.v1.RevokeRoleResponse.
|
|
72
|
+
* Use `create(RevokeRoleResponseSchema)` to create a new message.
|
|
73
|
+
*/
|
|
74
|
+
export const RevokeRoleResponseSchema = /*@__PURE__*/ messageDesc(file_identity_v1_organizations, 12);
|
|
75
|
+
/**
|
|
76
|
+
* Describes the message identity.v1.ListRoleAssignmentsRequest.
|
|
77
|
+
* Use `create(ListRoleAssignmentsRequestSchema)` to create a new message.
|
|
78
|
+
*/
|
|
79
|
+
export const ListRoleAssignmentsRequestSchema = /*@__PURE__*/ messageDesc(file_identity_v1_organizations, 13);
|
|
80
|
+
/**
|
|
81
|
+
* Describes the message identity.v1.ListRoleAssignmentsResponse.
|
|
82
|
+
* Use `create(ListRoleAssignmentsResponseSchema)` to create a new message.
|
|
83
|
+
*/
|
|
84
|
+
export const ListRoleAssignmentsResponseSchema = /*@__PURE__*/ messageDesc(file_identity_v1_organizations, 14);
|
|
85
|
+
/**
|
|
86
|
+
* Describes the message identity.v1.CheckPermissionRequest.
|
|
87
|
+
* Use `create(CheckPermissionRequestSchema)` to create a new message.
|
|
88
|
+
*/
|
|
89
|
+
export const CheckPermissionRequestSchema = /*@__PURE__*/ messageDesc(file_identity_v1_organizations, 15);
|
|
90
|
+
/**
|
|
91
|
+
* Describes the message identity.v1.CheckPermissionResponse.
|
|
92
|
+
* Use `create(CheckPermissionResponseSchema)` to create a new message.
|
|
93
|
+
*/
|
|
94
|
+
export const CheckPermissionResponseSchema = /*@__PURE__*/ messageDesc(file_identity_v1_organizations, 16);
|
|
95
|
+
/**
|
|
96
|
+
* PermissionEffect describes whether a permission grants or denies access.
|
|
97
|
+
*
|
|
98
|
+
* @generated from enum identity.v1.PermissionEffect
|
|
99
|
+
*/
|
|
100
|
+
export var PermissionEffect;
|
|
101
|
+
(function (PermissionEffect) {
|
|
102
|
+
/**
|
|
103
|
+
* PERMISSION_EFFECT_UNSPECIFIED is rejected by RBAC mutation APIs.
|
|
104
|
+
*
|
|
105
|
+
* @generated from enum value: PERMISSION_EFFECT_UNSPECIFIED = 0;
|
|
106
|
+
*/
|
|
107
|
+
PermissionEffect[PermissionEffect["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
108
|
+
/**
|
|
109
|
+
* PERMISSION_EFFECT_ALLOW grants access when the resource and action match.
|
|
110
|
+
*
|
|
111
|
+
* @generated from enum value: PERMISSION_EFFECT_ALLOW = 1;
|
|
112
|
+
*/
|
|
113
|
+
PermissionEffect[PermissionEffect["ALLOW"] = 1] = "ALLOW";
|
|
114
|
+
/**
|
|
115
|
+
* PERMISSION_EFFECT_DENY denies access when the resource and action match.
|
|
116
|
+
*
|
|
117
|
+
* @generated from enum value: PERMISSION_EFFECT_DENY = 2;
|
|
118
|
+
*/
|
|
119
|
+
PermissionEffect[PermissionEffect["DENY"] = 2] = "DENY";
|
|
120
|
+
})(PermissionEffect || (PermissionEffect = {}));
|
|
121
|
+
/**
|
|
122
|
+
* Describes the enum identity.v1.PermissionEffect.
|
|
123
|
+
*/
|
|
124
|
+
export const PermissionEffectSchema = /*@__PURE__*/ enumDesc(file_identity_v1_organizations, 0);
|
|
125
|
+
/**
|
|
126
|
+
* PrincipalType identifies the kind of actor receiving a role assignment.
|
|
127
|
+
*
|
|
128
|
+
* @generated from enum identity.v1.PrincipalType
|
|
129
|
+
*/
|
|
130
|
+
export var PrincipalType;
|
|
131
|
+
(function (PrincipalType) {
|
|
132
|
+
/**
|
|
133
|
+
* PRINCIPAL_TYPE_UNSPECIFIED is rejected by RBAC mutation APIs.
|
|
134
|
+
*
|
|
135
|
+
* @generated from enum value: PRINCIPAL_TYPE_UNSPECIFIED = 0;
|
|
136
|
+
*/
|
|
137
|
+
PrincipalType[PrincipalType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
138
|
+
/**
|
|
139
|
+
* PRINCIPAL_TYPE_USER represents a human user in an organization.
|
|
140
|
+
*
|
|
141
|
+
* @generated from enum value: PRINCIPAL_TYPE_USER = 1;
|
|
142
|
+
*/
|
|
143
|
+
PrincipalType[PrincipalType["USER"] = 1] = "USER";
|
|
144
|
+
/**
|
|
145
|
+
* PRINCIPAL_TYPE_SERVICE_ACCOUNT represents a non-human service account.
|
|
146
|
+
*
|
|
147
|
+
* @generated from enum value: PRINCIPAL_TYPE_SERVICE_ACCOUNT = 2;
|
|
148
|
+
*/
|
|
149
|
+
PrincipalType[PrincipalType["SERVICE_ACCOUNT"] = 2] = "SERVICE_ACCOUNT";
|
|
150
|
+
/**
|
|
151
|
+
* PRINCIPAL_TYPE_AGENT represents a registered agent identity.
|
|
152
|
+
*
|
|
153
|
+
* @generated from enum value: PRINCIPAL_TYPE_AGENT = 3;
|
|
154
|
+
*/
|
|
155
|
+
PrincipalType[PrincipalType["AGENT"] = 3] = "AGENT";
|
|
156
|
+
})(PrincipalType || (PrincipalType = {}));
|
|
157
|
+
/**
|
|
158
|
+
* Describes the enum identity.v1.PrincipalType.
|
|
159
|
+
*/
|
|
160
|
+
export const PrincipalTypeSchema = /*@__PURE__*/ enumDesc(file_identity_v1_organizations, 1);
|
|
161
|
+
/**
|
|
162
|
+
* RBACService manages organization-scoped roles and permission checks.
|
|
163
|
+
*
|
|
164
|
+
* @generated from service identity.v1.RBACService
|
|
165
|
+
*/
|
|
166
|
+
export const RBACService = /*@__PURE__*/ serviceDesc(file_identity_v1_organizations, 0);
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file identity/v1/sessions.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_identity_v1_sessions: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* Session represents an authenticated user session.
|
|
10
|
+
* Derived from identity/internal/sessions.Session.
|
|
11
|
+
*
|
|
12
|
+
* @generated from message identity.v1.Session
|
|
13
|
+
*/
|
|
14
|
+
export type Session = Message<"identity.v1.Session"> & {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from field: string id = 1;
|
|
17
|
+
*/
|
|
18
|
+
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: string identity_id = 2;
|
|
21
|
+
*/
|
|
22
|
+
identityId: string;
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: string organization_id = 3;
|
|
25
|
+
*/
|
|
26
|
+
organizationId: string;
|
|
27
|
+
/**
|
|
28
|
+
* @generated from field: string tenant_id = 4;
|
|
29
|
+
*/
|
|
30
|
+
tenantId: string;
|
|
31
|
+
/**
|
|
32
|
+
* @generated from field: bool active = 5;
|
|
33
|
+
*/
|
|
34
|
+
active: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* @generated from field: identity.v1.DeviceInfo device_info = 6;
|
|
37
|
+
*/
|
|
38
|
+
deviceInfo?: DeviceInfo;
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 7;
|
|
41
|
+
*/
|
|
42
|
+
expiresAt?: Timestamp;
|
|
43
|
+
/**
|
|
44
|
+
* @generated from field: google.protobuf.Timestamp created_at = 8;
|
|
45
|
+
*/
|
|
46
|
+
createdAt?: Timestamp;
|
|
47
|
+
/**
|
|
48
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 9;
|
|
49
|
+
*/
|
|
50
|
+
updatedAt?: Timestamp;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Describes the message identity.v1.Session.
|
|
54
|
+
* Use `create(SessionSchema)` to create a new message.
|
|
55
|
+
*/
|
|
56
|
+
export declare const SessionSchema: GenMessage<Session>;
|
|
57
|
+
/**
|
|
58
|
+
* @generated from message identity.v1.DeviceInfo
|
|
59
|
+
*/
|
|
60
|
+
export type DeviceInfo = Message<"identity.v1.DeviceInfo"> & {
|
|
61
|
+
/**
|
|
62
|
+
* @generated from field: string ip = 1;
|
|
63
|
+
*/
|
|
64
|
+
ip: string;
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: string forwarded_for = 2;
|
|
67
|
+
*/
|
|
68
|
+
forwardedFor: string;
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: string user_agent = 3;
|
|
71
|
+
*/
|
|
72
|
+
userAgent: string;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Describes the message identity.v1.DeviceInfo.
|
|
76
|
+
* Use `create(DeviceInfoSchema)` to create a new message.
|
|
77
|
+
*/
|
|
78
|
+
export declare const DeviceInfoSchema: GenMessage<DeviceInfo>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=.js"
|
|
2
|
+
// @generated from file identity/v1/sessions.proto (package identity.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file identity/v1/sessions.proto.
|
|
8
|
+
*/
|
|
9
|
+
export const file_identity_v1_sessions = /*@__PURE__*/ fileDesc("ChppZGVudGl0eS92MS9zZXNzaW9ucy5wcm90bxILaWRlbnRpdHkudjEipAIKB1Nlc3Npb24SCgoCaWQYASABKAkSEwoLaWRlbnRpdHlfaWQYAiABKAkSFwoPb3JnYW5pemF0aW9uX2lkGAMgASgJEhEKCXRlbmFudF9pZBgEIAEoCRIOCgZhY3RpdmUYBSABKAgSLAoLZGV2aWNlX2luZm8YBiABKAsyFy5pZGVudGl0eS52MS5EZXZpY2VJbmZvEi4KCmV4cGlyZXNfYXQYByABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi4KCmNyZWF0ZWRfYXQYCCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi4KCnVwZGF0ZWRfYXQYCSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wIkMKCkRldmljZUluZm8SCgoCaXAYASABKAkSFQoNZm9yd2FyZGVkX2ZvchgCIAEoCRISCgp1c2VyX2FnZW50GAMgASgJQjtaOWdpdGh1Yi5jb20vZXZhbG9wcy9wbGF0Zm9ybS9nZW4vZ28vaWRlbnRpdHkvdjE7aWRlbnRpdHl2MWIGcHJvdG8z", [file_google_protobuf_timestamp]);
|
|
10
|
+
/**
|
|
11
|
+
* Describes the message identity.v1.Session.
|
|
12
|
+
* Use `create(SessionSchema)` to create a new message.
|
|
13
|
+
*/
|
|
14
|
+
export const SessionSchema = /*@__PURE__*/ messageDesc(file_identity_v1_sessions, 0);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message identity.v1.DeviceInfo.
|
|
17
|
+
* Use `create(DeviceInfoSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const DeviceInfoSchema = /*@__PURE__*/ messageDesc(file_identity_v1_sessions, 1);
|
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file identity/v1/tokens.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_identity_v1_tokens: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message identity.v1.IntrospectRequest
|
|
10
|
+
*/
|
|
11
|
+
export type IntrospectRequest = Message<"identity.v1.IntrospectRequest"> & {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: string token = 1;
|
|
14
|
+
*/
|
|
15
|
+
token: string;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message identity.v1.IntrospectRequest.
|
|
19
|
+
* Use `create(IntrospectRequestSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export declare const IntrospectRequestSchema: GenMessage<IntrospectRequest>;
|
|
22
|
+
/**
|
|
23
|
+
* IntrospectResponse is the canonical introspection result.
|
|
24
|
+
* Superset of service-runtime/identityclient.IntrospectionResult and
|
|
25
|
+
* llm-gateway/internal/auth.IntrospectionResult — callers should import
|
|
26
|
+
* this type instead of maintaining their own structs.
|
|
27
|
+
*
|
|
28
|
+
* @generated from message identity.v1.IntrospectResponse
|
|
29
|
+
*/
|
|
30
|
+
export type IntrospectResponse = Message<"identity.v1.IntrospectResponse"> & {
|
|
31
|
+
/**
|
|
32
|
+
* @generated from field: bool active = 1;
|
|
33
|
+
*/
|
|
34
|
+
active: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* @generated from field: string subject = 2;
|
|
37
|
+
*/
|
|
38
|
+
subject: string;
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: string token_type = 3;
|
|
41
|
+
*/
|
|
42
|
+
tokenType: string;
|
|
43
|
+
/**
|
|
44
|
+
* @generated from field: string service = 4;
|
|
45
|
+
*/
|
|
46
|
+
service: string;
|
|
47
|
+
/**
|
|
48
|
+
* @generated from field: string organization_id = 5;
|
|
49
|
+
*/
|
|
50
|
+
organizationId: string;
|
|
51
|
+
/**
|
|
52
|
+
* @generated from field: repeated string scopes = 6;
|
|
53
|
+
*/
|
|
54
|
+
scopes: string[];
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: string agent_type = 7;
|
|
57
|
+
*/
|
|
58
|
+
agentType: string;
|
|
59
|
+
/**
|
|
60
|
+
* @generated from field: repeated string capabilities = 8;
|
|
61
|
+
*/
|
|
62
|
+
capabilities: string[];
|
|
63
|
+
/**
|
|
64
|
+
* @generated from field: string run_id = 9;
|
|
65
|
+
*/
|
|
66
|
+
runId: string;
|
|
67
|
+
/**
|
|
68
|
+
* @generated from field: string surface = 10;
|
|
69
|
+
*/
|
|
70
|
+
surface: string;
|
|
71
|
+
/**
|
|
72
|
+
* @generated from field: string user_subject = 11;
|
|
73
|
+
*/
|
|
74
|
+
userSubject: string;
|
|
75
|
+
/**
|
|
76
|
+
* @generated from field: string email = 12;
|
|
77
|
+
*/
|
|
78
|
+
email: string;
|
|
79
|
+
/**
|
|
80
|
+
* @generated from field: string name = 13;
|
|
81
|
+
*/
|
|
82
|
+
name: string;
|
|
83
|
+
/**
|
|
84
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 14;
|
|
85
|
+
*/
|
|
86
|
+
expiresAt?: Timestamp;
|
|
87
|
+
/**
|
|
88
|
+
* @generated from field: google.protobuf.Timestamp issued_at = 15;
|
|
89
|
+
*/
|
|
90
|
+
issuedAt?: Timestamp;
|
|
91
|
+
/**
|
|
92
|
+
* @generated from field: repeated string delegation_chain = 16;
|
|
93
|
+
*/
|
|
94
|
+
delegationChain: string[];
|
|
95
|
+
/**
|
|
96
|
+
* @generated from field: string delegator_subject = 17;
|
|
97
|
+
*/
|
|
98
|
+
delegatorSubject: string;
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: string delegator_token_type = 18;
|
|
101
|
+
*/
|
|
102
|
+
delegatorTokenType: string;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Describes the message identity.v1.IntrospectResponse.
|
|
106
|
+
* Use `create(IntrospectResponseSchema)` to create a new message.
|
|
107
|
+
*/
|
|
108
|
+
export declare const IntrospectResponseSchema: GenMessage<IntrospectResponse>;
|
|
109
|
+
/**
|
|
110
|
+
* @generated from message identity.v1.IssueServiceTokenRequest
|
|
111
|
+
*/
|
|
112
|
+
export type IssueServiceTokenRequest = Message<"identity.v1.IssueServiceTokenRequest"> & {
|
|
113
|
+
/**
|
|
114
|
+
* @generated from field: string service = 1;
|
|
115
|
+
*/
|
|
116
|
+
service: string;
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: string organization_id = 2;
|
|
119
|
+
*/
|
|
120
|
+
organizationId: string;
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: repeated string scopes = 3;
|
|
123
|
+
*/
|
|
124
|
+
scopes: string[];
|
|
125
|
+
/**
|
|
126
|
+
* @generated from field: int32 ttl_seconds = 4;
|
|
127
|
+
*/
|
|
128
|
+
ttlSeconds: number;
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* Describes the message identity.v1.IssueServiceTokenRequest.
|
|
132
|
+
* Use `create(IssueServiceTokenRequestSchema)` to create a new message.
|
|
133
|
+
*/
|
|
134
|
+
export declare const IssueServiceTokenRequestSchema: GenMessage<IssueServiceTokenRequest>;
|
|
135
|
+
/**
|
|
136
|
+
* @generated from message identity.v1.IssueServiceTokenResponse
|
|
137
|
+
*/
|
|
138
|
+
export type IssueServiceTokenResponse = Message<"identity.v1.IssueServiceTokenResponse"> & {
|
|
139
|
+
/**
|
|
140
|
+
* @generated from field: string token = 1;
|
|
141
|
+
*/
|
|
142
|
+
token: string;
|
|
143
|
+
/**
|
|
144
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 2;
|
|
145
|
+
*/
|
|
146
|
+
expiresAt?: Timestamp;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* Describes the message identity.v1.IssueServiceTokenResponse.
|
|
150
|
+
* Use `create(IssueServiceTokenResponseSchema)` to create a new message.
|
|
151
|
+
*/
|
|
152
|
+
export declare const IssueServiceTokenResponseSchema: GenMessage<IssueServiceTokenResponse>;
|
|
153
|
+
/**
|
|
154
|
+
* @generated from message identity.v1.IssueAgentTokenRequest
|
|
155
|
+
*/
|
|
156
|
+
export type IssueAgentTokenRequest = Message<"identity.v1.IssueAgentTokenRequest"> & {
|
|
157
|
+
/**
|
|
158
|
+
* Deprecated: use agent_id instead. Ignored when agent_id is set.
|
|
159
|
+
* Accepted for backward compatibility when agent_id is empty.
|
|
160
|
+
*
|
|
161
|
+
* @generated from field: string agent_type = 1 [deprecated = true];
|
|
162
|
+
* @deprecated
|
|
163
|
+
*/
|
|
164
|
+
agentType: string;
|
|
165
|
+
/**
|
|
166
|
+
* Deprecated: use agent_id instead. Ignored when agent_id is set.
|
|
167
|
+
* Accepted for backward compatibility when agent_id is empty.
|
|
168
|
+
*
|
|
169
|
+
* @generated from field: repeated string capabilities = 2 [deprecated = true];
|
|
170
|
+
* @deprecated
|
|
171
|
+
*/
|
|
172
|
+
capabilities: string[];
|
|
173
|
+
/**
|
|
174
|
+
* @generated from field: repeated string scopes = 3;
|
|
175
|
+
*/
|
|
176
|
+
scopes: string[];
|
|
177
|
+
/**
|
|
178
|
+
* @generated from field: string surface = 4;
|
|
179
|
+
*/
|
|
180
|
+
surface: string;
|
|
181
|
+
/**
|
|
182
|
+
* @generated from field: int32 ttl_seconds = 5;
|
|
183
|
+
*/
|
|
184
|
+
ttlSeconds: number;
|
|
185
|
+
/**
|
|
186
|
+
* When set, the identity service looks up the agent record in registry
|
|
187
|
+
* and derives agent_type and capabilities from it. Takes precedence over
|
|
188
|
+
* the deprecated agent_type and capabilities fields. Must reference an
|
|
189
|
+
* existing agents/v1 Agent record.
|
|
190
|
+
*
|
|
191
|
+
* @generated from field: string agent_id = 6;
|
|
192
|
+
*/
|
|
193
|
+
agentId: string;
|
|
194
|
+
};
|
|
195
|
+
/**
|
|
196
|
+
* Describes the message identity.v1.IssueAgentTokenRequest.
|
|
197
|
+
* Use `create(IssueAgentTokenRequestSchema)` to create a new message.
|
|
198
|
+
*/
|
|
199
|
+
export declare const IssueAgentTokenRequestSchema: GenMessage<IssueAgentTokenRequest>;
|
|
200
|
+
/**
|
|
201
|
+
* @generated from message identity.v1.IssueAgentTokenResponse
|
|
202
|
+
*/
|
|
203
|
+
export type IssueAgentTokenResponse = Message<"identity.v1.IssueAgentTokenResponse"> & {
|
|
204
|
+
/**
|
|
205
|
+
* @generated from field: string token = 1;
|
|
206
|
+
*/
|
|
207
|
+
token: string;
|
|
208
|
+
/**
|
|
209
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 2;
|
|
210
|
+
*/
|
|
211
|
+
expiresAt?: Timestamp;
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* Describes the message identity.v1.IssueAgentTokenResponse.
|
|
215
|
+
* Use `create(IssueAgentTokenResponseSchema)` to create a new message.
|
|
216
|
+
*/
|
|
217
|
+
export declare const IssueAgentTokenResponseSchema: GenMessage<IssueAgentTokenResponse>;
|
|
218
|
+
/**
|
|
219
|
+
* @generated from message identity.v1.IssueDelegationTokenRequest
|
|
220
|
+
*/
|
|
221
|
+
export type IssueDelegationTokenRequest = Message<"identity.v1.IssueDelegationTokenRequest"> & {
|
|
222
|
+
/**
|
|
223
|
+
* @generated from field: string agent_id = 1;
|
|
224
|
+
*/
|
|
225
|
+
agentId: string;
|
|
226
|
+
/**
|
|
227
|
+
* @generated from field: string agent_type = 2;
|
|
228
|
+
*/
|
|
229
|
+
agentType: string;
|
|
230
|
+
/**
|
|
231
|
+
* @generated from field: repeated string capabilities = 3;
|
|
232
|
+
*/
|
|
233
|
+
capabilities: string[];
|
|
234
|
+
/**
|
|
235
|
+
* @generated from field: repeated string scopes = 4;
|
|
236
|
+
*/
|
|
237
|
+
scopes: string[];
|
|
238
|
+
/**
|
|
239
|
+
* @generated from field: string surface = 5;
|
|
240
|
+
*/
|
|
241
|
+
surface: string;
|
|
242
|
+
/**
|
|
243
|
+
* @generated from field: string run_id = 6;
|
|
244
|
+
*/
|
|
245
|
+
runId: string;
|
|
246
|
+
/**
|
|
247
|
+
* @generated from field: int32 ttl_seconds = 7;
|
|
248
|
+
*/
|
|
249
|
+
ttlSeconds: number;
|
|
250
|
+
};
|
|
251
|
+
/**
|
|
252
|
+
* Describes the message identity.v1.IssueDelegationTokenRequest.
|
|
253
|
+
* Use `create(IssueDelegationTokenRequestSchema)` to create a new message.
|
|
254
|
+
*/
|
|
255
|
+
export declare const IssueDelegationTokenRequestSchema: GenMessage<IssueDelegationTokenRequest>;
|
|
256
|
+
/**
|
|
257
|
+
* @generated from message identity.v1.IssueDelegationTokenResponse
|
|
258
|
+
*/
|
|
259
|
+
export type IssueDelegationTokenResponse = Message<"identity.v1.IssueDelegationTokenResponse"> & {
|
|
260
|
+
/**
|
|
261
|
+
* @generated from field: string token = 1;
|
|
262
|
+
*/
|
|
263
|
+
token: string;
|
|
264
|
+
/**
|
|
265
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 2;
|
|
266
|
+
*/
|
|
267
|
+
expiresAt?: Timestamp;
|
|
268
|
+
/**
|
|
269
|
+
* @generated from field: repeated string scopes_requested = 3;
|
|
270
|
+
*/
|
|
271
|
+
scopesRequested: string[];
|
|
272
|
+
/**
|
|
273
|
+
* @generated from field: repeated string scopes_granted = 4;
|
|
274
|
+
*/
|
|
275
|
+
scopesGranted: string[];
|
|
276
|
+
/**
|
|
277
|
+
* @generated from field: repeated string scopes_denied = 5;
|
|
278
|
+
*/
|
|
279
|
+
scopesDenied: string[];
|
|
280
|
+
};
|
|
281
|
+
/**
|
|
282
|
+
* Describes the message identity.v1.IssueDelegationTokenResponse.
|
|
283
|
+
* Use `create(IssueDelegationTokenResponseSchema)` to create a new message.
|
|
284
|
+
*/
|
|
285
|
+
export declare const IssueDelegationTokenResponseSchema: GenMessage<IssueDelegationTokenResponse>;
|
|
286
|
+
/**
|
|
287
|
+
* TokenService handles token introspection and issuance for cross-service auth.
|
|
288
|
+
*
|
|
289
|
+
* @generated from service identity.v1.TokenService
|
|
290
|
+
*/
|
|
291
|
+
export declare const TokenService: GenService<{
|
|
292
|
+
/**
|
|
293
|
+
* Introspect validates a bearer token and returns the resolved claims.
|
|
294
|
+
*
|
|
295
|
+
* @generated from rpc identity.v1.TokenService.Introspect
|
|
296
|
+
*/
|
|
297
|
+
introspect: {
|
|
298
|
+
methodKind: "unary";
|
|
299
|
+
input: typeof IntrospectRequestSchema;
|
|
300
|
+
output: typeof IntrospectResponseSchema;
|
|
301
|
+
};
|
|
302
|
+
/**
|
|
303
|
+
* IssueServiceToken mints a short-lived token for service-to-service calls.
|
|
304
|
+
*
|
|
305
|
+
* @generated from rpc identity.v1.TokenService.IssueServiceToken
|
|
306
|
+
*/
|
|
307
|
+
issueServiceToken: {
|
|
308
|
+
methodKind: "unary";
|
|
309
|
+
input: typeof IssueServiceTokenRequestSchema;
|
|
310
|
+
output: typeof IssueServiceTokenResponseSchema;
|
|
311
|
+
};
|
|
312
|
+
/**
|
|
313
|
+
* IssueAgentToken mints a token scoped to an agent identity.
|
|
314
|
+
*
|
|
315
|
+
* @generated from rpc identity.v1.TokenService.IssueAgentToken
|
|
316
|
+
*/
|
|
317
|
+
issueAgentToken: {
|
|
318
|
+
methodKind: "unary";
|
|
319
|
+
input: typeof IssueAgentTokenRequestSchema;
|
|
320
|
+
output: typeof IssueAgentTokenResponseSchema;
|
|
321
|
+
};
|
|
322
|
+
/**
|
|
323
|
+
* IssueDelegationToken mints a short-lived token narrowed at delegation time.
|
|
324
|
+
*
|
|
325
|
+
* @generated from rpc identity.v1.TokenService.IssueDelegationToken
|
|
326
|
+
*/
|
|
327
|
+
issueDelegationToken: {
|
|
328
|
+
methodKind: "unary";
|
|
329
|
+
input: typeof IssueDelegationTokenRequestSchema;
|
|
330
|
+
output: typeof IssueDelegationTokenResponseSchema;
|
|
331
|
+
};
|
|
332
|
+
}>;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=.js"
|
|
2
|
+
// @generated from file identity/v1/tokens.proto (package identity.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.js";
|
|
6
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file identity/v1/tokens.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_identity_v1_tokens = /*@__PURE__*/ fileDesc("ChhpZGVudGl0eS92MS90b2tlbnMucHJvdG8SC2lkZW50aXR5LnYxIisKEUludHJvc3BlY3RSZXF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va2VuEiguaWRlbnRpdHkudjEuSXNzdWVEZWxlZ2F0aW9uVG9rZW5SZXF1ZXN0GikuaWRlbnRpdHkudjEuSXNzdWVEZWxlZ2F0aW9uVG9rZW5SZXNwb25zZUI7WjlnaXRodWIuY29tL2V2YWxvcHMvcGxhdGZvcm0vZ2VuL2dvL2lkZW50aXR5L3YxO2lkZW50aXR5djFiBnByb3RvMw", [file_buf_validate_validate, file_google_protobuf_timestamp]);
|
|
11
|
+
/**
|
|
12
|
+
* Describes the message identity.v1.IntrospectRequest.
|
|
13
|
+
* Use `create(IntrospectRequestSchema)` to create a new message.
|
|
14
|
+
*/
|
|
15
|
+
export const IntrospectRequestSchema = /*@__PURE__*/ messageDesc(file_identity_v1_tokens, 0);
|
|
16
|
+
/**
|
|
17
|
+
* Describes the message identity.v1.IntrospectResponse.
|
|
18
|
+
* Use `create(IntrospectResponseSchema)` to create a new message.
|
|
19
|
+
*/
|
|
20
|
+
export const IntrospectResponseSchema = /*@__PURE__*/ messageDesc(file_identity_v1_tokens, 1);
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message identity.v1.IssueServiceTokenRequest.
|
|
23
|
+
* Use `create(IssueServiceTokenRequestSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export const IssueServiceTokenRequestSchema = /*@__PURE__*/ messageDesc(file_identity_v1_tokens, 2);
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message identity.v1.IssueServiceTokenResponse.
|
|
28
|
+
* Use `create(IssueServiceTokenResponseSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export const IssueServiceTokenResponseSchema = /*@__PURE__*/ messageDesc(file_identity_v1_tokens, 3);
|
|
31
|
+
/**
|
|
32
|
+
* Describes the message identity.v1.IssueAgentTokenRequest.
|
|
33
|
+
* Use `create(IssueAgentTokenRequestSchema)` to create a new message.
|
|
34
|
+
*/
|
|
35
|
+
export const IssueAgentTokenRequestSchema = /*@__PURE__*/ messageDesc(file_identity_v1_tokens, 4);
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message identity.v1.IssueAgentTokenResponse.
|
|
38
|
+
* Use `create(IssueAgentTokenResponseSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
export const IssueAgentTokenResponseSchema = /*@__PURE__*/ messageDesc(file_identity_v1_tokens, 5);
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message identity.v1.IssueDelegationTokenRequest.
|
|
43
|
+
* Use `create(IssueDelegationTokenRequestSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export const IssueDelegationTokenRequestSchema = /*@__PURE__*/ messageDesc(file_identity_v1_tokens, 6);
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message identity.v1.IssueDelegationTokenResponse.
|
|
48
|
+
* Use `create(IssueDelegationTokenResponseSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
export const IssueDelegationTokenResponseSchema = /*@__PURE__*/ messageDesc(file_identity_v1_tokens, 7);
|
|
51
|
+
/**
|
|
52
|
+
* TokenService handles token introspection and issuance for cross-service auth.
|
|
53
|
+
*
|
|
54
|
+
* @generated from service identity.v1.TokenService
|
|
55
|
+
*/
|
|
56
|
+
export const TokenService = /*@__PURE__*/ serviceDesc(file_identity_v1_tokens, 0);
|