@integrahub/vergefy-client 0.25.0 → 0.27.0

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 (38) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/AUTHUAUIdentityAuthenticationApi.d.ts +3 -3
  3. package/dist/apis/AUTHUAUIdentityAuthenticationApi.js +2 -5
  4. package/dist/apis/PLATFORMLTNPTenantPrincipalMetricsApi.d.ts +4 -4
  5. package/dist/apis/PLATFORMLTNPTenantPrincipalMetricsApi.js +4 -4
  6. package/dist/apis/PLATFORMLTNPTenantPrincipalsApi.d.ts +81 -4
  7. package/dist/apis/PLATFORMLTNPTenantPrincipalsApi.js +211 -5
  8. package/dist/esm/apis/AUTHUAUIdentityAuthenticationApi.js +2 -5
  9. package/dist/esm/apis/PLATFORMLTNPTenantPrincipalMetricsApi.js +4 -4
  10. package/dist/esm/apis/PLATFORMLTNPTenantPrincipalsApi.js +210 -4
  11. package/dist/esm/ext/telemetry.js +1 -1
  12. package/dist/esm/models/DataResponseDTOListPrincipalAuditEntityTypeDTO.js +42 -0
  13. package/dist/esm/models/DataResponseDTOListPrincipalGrantOptionDTO.js +42 -0
  14. package/dist/esm/models/DataResponseDTOPagePrincipalAuditEventDTO.js +42 -0
  15. package/dist/esm/models/PagePrincipalAuditEventDTO.js +64 -0
  16. package/dist/esm/models/PrincipalAuditEntityTypeDTO.js +45 -0
  17. package/dist/esm/models/PrincipalDTO.js +2 -0
  18. package/dist/esm/models/PrincipalGrantOptionDTO.js +67 -0
  19. package/dist/esm/models/index.js +6 -0
  20. package/dist/ext/telemetry.d.ts +1 -1
  21. package/dist/ext/telemetry.js +1 -1
  22. package/dist/models/DataResponseDTOListPrincipalAuditEntityTypeDTO.d.ts +33 -0
  23. package/dist/models/DataResponseDTOListPrincipalAuditEntityTypeDTO.js +49 -0
  24. package/dist/models/DataResponseDTOListPrincipalGrantOptionDTO.d.ts +33 -0
  25. package/dist/models/DataResponseDTOListPrincipalGrantOptionDTO.js +49 -0
  26. package/dist/models/DataResponseDTOPagePrincipalAuditEventDTO.d.ts +33 -0
  27. package/dist/models/DataResponseDTOPagePrincipalAuditEventDTO.js +49 -0
  28. package/dist/models/PagePrincipalAuditEventDTO.d.ts +95 -0
  29. package/dist/models/PagePrincipalAuditEventDTO.js +71 -0
  30. package/dist/models/PrincipalAuditEntityTypeDTO.d.ts +38 -0
  31. package/dist/models/PrincipalAuditEntityTypeDTO.js +52 -0
  32. package/dist/models/PrincipalDTO.d.ts +6 -0
  33. package/dist/models/PrincipalDTO.js +2 -0
  34. package/dist/models/PrincipalGrantOptionDTO.d.ts +67 -0
  35. package/dist/models/PrincipalGrantOptionDTO.js +75 -0
  36. package/dist/models/index.d.ts +6 -0
  37. package/dist/models/index.js +6 -0
  38. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @integrahub/vergefy-client@0.25.0
1
+ # @integrahub/vergefy-client@0.27.0
2
2
 
3
3
  A TypeScript SDK client for the your-vergefy-host.invalid API.
4
4
 
@@ -90,7 +90,7 @@ and is automatically generated by the
90
90
  [OpenAPI Generator](https://openapi-generator.tech) project:
91
91
 
92
92
  - API version: `2026-05-30`
93
- - Package version: `0.25.0`
93
+ - Package version: `0.27.0`
94
94
  - Generator version: `7.22.0`
95
95
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
96
96
 
@@ -68,8 +68,8 @@ export interface UAU006Request {
68
68
  acceptTimezone?: string;
69
69
  }
70
70
  export interface UAU007Request {
71
- token: string;
72
71
  xAppAccountId: string;
72
+ token?: string;
73
73
  acceptLanguage?: string;
74
74
  vergefyVersion?: string;
75
75
  acceptTimezone?: string;
@@ -210,12 +210,12 @@ export declare class AUTHUAUIdentityAuthenticationApi extends runtime.BaseAPI {
210
210
  */
211
211
  uAU007RequestOpts(requestParameters: UAU007Request): Promise<runtime.RequestOpts>;
212
212
  /**
213
- * Signs out from all devices
213
+ * Signs out from all devices by revoking the session of the access token sent as `Authorization: Bearer <token>`. The `token` query parameter is deprecated and is read only when no bearer token is sent.
214
214
  * UAU007 - Global Sign Out
215
215
  */
216
216
  uAU007Raw(requestParameters: UAU007Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
217
217
  /**
218
- * Signs out from all devices
218
+ * Signs out from all devices by revoking the session of the access token sent as `Authorization: Bearer <token>`. The `token` query parameter is deprecated and is read only when no bearer token is sent.
219
219
  * UAU007 - Global Sign Out
220
220
  */
221
221
  uAU007(requestParameters: UAU007Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
@@ -430,9 +430,6 @@ class AUTHUAUIdentityAuthenticationApi extends runtime.BaseAPI {
430
430
  */
431
431
  uAU007RequestOpts(requestParameters) {
432
432
  return __awaiter(this, void 0, void 0, function* () {
433
- if (requestParameters['token'] == null) {
434
- throw new runtime.RequiredError('token', 'Required parameter "token" was null or undefined when calling uAU007().');
435
- }
436
433
  if (requestParameters['xAppAccountId'] == null) {
437
434
  throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling uAU007().');
438
435
  }
@@ -470,7 +467,7 @@ class AUTHUAUIdentityAuthenticationApi extends runtime.BaseAPI {
470
467
  });
471
468
  }
472
469
  /**
473
- * Signs out from all devices
470
+ * Signs out from all devices by revoking the session of the access token sent as `Authorization: Bearer <token>`. The `token` query parameter is deprecated and is read only when no bearer token is sent.
474
471
  * UAU007 - Global Sign Out
475
472
  */
476
473
  uAU007Raw(requestParameters, initOverrides) {
@@ -481,7 +478,7 @@ class AUTHUAUIdentityAuthenticationApi extends runtime.BaseAPI {
481
478
  });
482
479
  }
483
480
  /**
484
- * Signs out from all devices
481
+ * Signs out from all devices by revoking the session of the access token sent as `Authorization: Bearer <token>`. The `token` query parameter is deprecated and is read only when no bearer token is sent.
485
482
  * UAU007 - Global Sign Out
486
483
  */
487
484
  uAU007(requestParameters, initOverrides) {
@@ -37,12 +37,12 @@ export declare class PLATFORMLTNPTenantPrincipalMetricsApi extends runtime.BaseA
37
37
  */
38
38
  lTNP030RequestOpts(requestParameters: LTNP030Request): Promise<runtime.RequestOpts>;
39
39
  /**
40
- * Share of this tenant\'s work done by agents over a date range: totals by principal type, a per-module breakdown, and the agents that wrote. Defaults to the last 30 days; a range longer than 366 days is refused. Only a person may read this, and only with AGENT_PRINCIPAL_ADMIN.
40
+ * Share of this tenant\'s work done by agents over a date range: totals by principal type, a per-module breakdown, and the agents that wrote. Defaults to the last 30 days; a range longer than 366 days is refused. Only a person may read this, with AGENT_PRINCIPAL_ADMIN or AGENT_PRINCIPAL_APPROVE (owners, admins and managers).
41
41
  * LTNP030 - Get Principal Work Share
42
42
  */
43
43
  lTNP030Raw(requestParameters: LTNP030Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOPrincipalWorkShareDTO>>;
44
44
  /**
45
- * Share of this tenant\'s work done by agents over a date range: totals by principal type, a per-module breakdown, and the agents that wrote. Defaults to the last 30 days; a range longer than 366 days is refused. Only a person may read this, and only with AGENT_PRINCIPAL_ADMIN.
45
+ * Share of this tenant\'s work done by agents over a date range: totals by principal type, a per-module breakdown, and the agents that wrote. Defaults to the last 30 days; a range longer than 366 days is refused. Only a person may read this, with AGENT_PRINCIPAL_ADMIN or AGENT_PRINCIPAL_APPROVE (owners, admins and managers).
46
46
  * LTNP030 - Get Principal Work Share
47
47
  */
48
48
  lTNP030(requestParameters: LTNP030Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOPrincipalWorkShareDTO>;
@@ -51,12 +51,12 @@ export declare class PLATFORMLTNPTenantPrincipalMetricsApi extends runtime.BaseA
51
51
  */
52
52
  lTNP031RequestOpts(requestParameters: LTNP031Request): Promise<runtime.RequestOpts>;
53
53
  /**
54
- * Executions, tokens and cost per agent over a date range, and whether any executions ran without drawing AI credits. agentId is ai_platform.agent.id, not a tenant.principal id — see AgentCostSummaryDTO. Defaults to the last 30 days; a range longer than 366 days is refused. Only a person may read this, and only with AGENT_PRINCIPAL_ADMIN.
54
+ * Executions, tokens and cost per agent over a date range, and whether any executions ran without drawing AI credits. agentId is ai_platform.agent.id, not a tenant.principal id — see AgentCostSummaryDTO. Defaults to the last 30 days; a range longer than 366 days is refused. Only a person may read this, with AGENT_PRINCIPAL_ADMIN or AGENT_PRINCIPAL_APPROVE (owners, admins and managers).
55
55
  * LTNP031 - Get Agent Cost Summary
56
56
  */
57
57
  lTNP031Raw(requestParameters: LTNP031Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOListAgentCostSummaryDTO>>;
58
58
  /**
59
- * Executions, tokens and cost per agent over a date range, and whether any executions ran without drawing AI credits. agentId is ai_platform.agent.id, not a tenant.principal id — see AgentCostSummaryDTO. Defaults to the last 30 days; a range longer than 366 days is refused. Only a person may read this, and only with AGENT_PRINCIPAL_ADMIN.
59
+ * Executions, tokens and cost per agent over a date range, and whether any executions ran without drawing AI credits. agentId is ai_platform.agent.id, not a tenant.principal id — see AgentCostSummaryDTO. Defaults to the last 30 days; a range longer than 366 days is refused. Only a person may read this, with AGENT_PRINCIPAL_ADMIN or AGENT_PRINCIPAL_APPROVE (owners, admins and managers).
60
60
  * LTNP031 - Get Agent Cost Summary
61
61
  */
62
62
  lTNP031(requestParameters: LTNP031Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOListAgentCostSummaryDTO>;
@@ -75,7 +75,7 @@ class PLATFORMLTNPTenantPrincipalMetricsApi extends runtime.BaseAPI {
75
75
  });
76
76
  }
77
77
  /**
78
- * Share of this tenant\'s work done by agents over a date range: totals by principal type, a per-module breakdown, and the agents that wrote. Defaults to the last 30 days; a range longer than 366 days is refused. Only a person may read this, and only with AGENT_PRINCIPAL_ADMIN.
78
+ * Share of this tenant\'s work done by agents over a date range: totals by principal type, a per-module breakdown, and the agents that wrote. Defaults to the last 30 days; a range longer than 366 days is refused. Only a person may read this, with AGENT_PRINCIPAL_ADMIN or AGENT_PRINCIPAL_APPROVE (owners, admins and managers).
79
79
  * LTNP030 - Get Principal Work Share
80
80
  */
81
81
  lTNP030Raw(requestParameters, initOverrides) {
@@ -86,7 +86,7 @@ class PLATFORMLTNPTenantPrincipalMetricsApi extends runtime.BaseAPI {
86
86
  });
87
87
  }
88
88
  /**
89
- * Share of this tenant\'s work done by agents over a date range: totals by principal type, a per-module breakdown, and the agents that wrote. Defaults to the last 30 days; a range longer than 366 days is refused. Only a person may read this, and only with AGENT_PRINCIPAL_ADMIN.
89
+ * Share of this tenant\'s work done by agents over a date range: totals by principal type, a per-module breakdown, and the agents that wrote. Defaults to the last 30 days; a range longer than 366 days is refused. Only a person may read this, with AGENT_PRINCIPAL_ADMIN or AGENT_PRINCIPAL_APPROVE (owners, admins and managers).
90
90
  * LTNP030 - Get Principal Work Share
91
91
  */
92
92
  lTNP030(requestParameters, initOverrides) {
@@ -140,7 +140,7 @@ class PLATFORMLTNPTenantPrincipalMetricsApi extends runtime.BaseAPI {
140
140
  });
141
141
  }
142
142
  /**
143
- * Executions, tokens and cost per agent over a date range, and whether any executions ran without drawing AI credits. agentId is ai_platform.agent.id, not a tenant.principal id — see AgentCostSummaryDTO. Defaults to the last 30 days; a range longer than 366 days is refused. Only a person may read this, and only with AGENT_PRINCIPAL_ADMIN.
143
+ * Executions, tokens and cost per agent over a date range, and whether any executions ran without drawing AI credits. agentId is ai_platform.agent.id, not a tenant.principal id — see AgentCostSummaryDTO. Defaults to the last 30 days; a range longer than 366 days is refused. Only a person may read this, with AGENT_PRINCIPAL_ADMIN or AGENT_PRINCIPAL_APPROVE (owners, admins and managers).
144
144
  * LTNP031 - Get Agent Cost Summary
145
145
  */
146
146
  lTNP031Raw(requestParameters, initOverrides) {
@@ -151,7 +151,7 @@ class PLATFORMLTNPTenantPrincipalMetricsApi extends runtime.BaseAPI {
151
151
  });
152
152
  }
153
153
  /**
154
- * Executions, tokens and cost per agent over a date range, and whether any executions ran without drawing AI credits. agentId is ai_platform.agent.id, not a tenant.principal id — see AgentCostSummaryDTO. Defaults to the last 30 days; a range longer than 366 days is refused. Only a person may read this, and only with AGENT_PRINCIPAL_ADMIN.
154
+ * Executions, tokens and cost per agent over a date range, and whether any executions ran without drawing AI credits. agentId is ai_platform.agent.id, not a tenant.principal id — see AgentCostSummaryDTO. Defaults to the last 30 days; a range longer than 366 days is refused. Only a person may read this, with AGENT_PRINCIPAL_ADMIN or AGENT_PRINCIPAL_APPROVE (owners, admins and managers).
155
155
  * LTNP031 - Get Agent Cost Summary
156
156
  */
157
157
  lTNP031(requestParameters, initOverrides) {
@@ -16,7 +16,10 @@ import { type DataResponseDTOAgentPrincipalCredentialsDTO } from '../models/Data
16
16
  import { type DataResponseDTOAgentTokenDTO } from '../models/DataResponseDTOAgentTokenDTO';
17
17
  import { type DataResponseDTOListAgentApprovalActionDTO } from '../models/DataResponseDTOListAgentApprovalActionDTO';
18
18
  import { type DataResponseDTOListMcpClientFamilyDTO } from '../models/DataResponseDTOListMcpClientFamilyDTO';
19
+ import { type DataResponseDTOListPrincipalAuditEntityTypeDTO } from '../models/DataResponseDTOListPrincipalAuditEntityTypeDTO';
19
20
  import { type DataResponseDTOListPrincipalAuditEventDTO } from '../models/DataResponseDTOListPrincipalAuditEventDTO';
21
+ import { type DataResponseDTOListPrincipalGrantOptionDTO } from '../models/DataResponseDTOListPrincipalGrantOptionDTO';
22
+ import { type DataResponseDTOPagePrincipalAuditEventDTO } from '../models/DataResponseDTOPagePrincipalAuditEventDTO';
20
23
  import { type DataResponseDTOPrincipalApprovalRequestDTO } from '../models/DataResponseDTOPrincipalApprovalRequestDTO';
21
24
  import { type DataResponseDTOPrincipalDTO } from '../models/DataResponseDTOPrincipalDTO';
22
25
  import { type DataResponseDTOPrincipalPolicyDTO } from '../models/DataResponseDTOPrincipalPolicyDTO';
@@ -30,6 +33,7 @@ export interface LTNP001Request {
30
33
  xAppAccountId: string;
31
34
  type?: LTNP001TypeEnum;
32
35
  status?: LTNP001StatusEnum;
36
+ audience?: LTNP001AudienceEnum;
33
37
  sponsorAccountId?: string;
34
38
  page?: number;
35
39
  size?: number;
@@ -53,6 +57,23 @@ export interface LTNP003Request {
53
57
  vergefyVersion?: string;
54
58
  acceptTimezone?: string;
55
59
  }
60
+ export interface LTNP004Request {
61
+ xAppAccountId: string;
62
+ principalId?: string;
63
+ acceptLanguage?: string;
64
+ vergefyVersion?: string;
65
+ acceptTimezone?: string;
66
+ }
67
+ export interface LTNP005Request {
68
+ id: string;
69
+ xAppAccountId: string;
70
+ page?: number;
71
+ size?: number;
72
+ sort?: Array<string>;
73
+ acceptLanguage?: string;
74
+ vergefyVersion?: string;
75
+ acceptTimezone?: string;
76
+ }
56
77
  export interface LTNP010Request {
57
78
  xAppAccountId: string;
58
79
  status?: LTNP010StatusEnum;
@@ -88,6 +109,12 @@ export interface LTNP022Request {
88
109
  vergefyVersion?: string;
89
110
  acceptTimezone?: string;
90
111
  }
112
+ export interface LTNP023Request {
113
+ xAppAccountId: string;
114
+ acceptLanguage?: string;
115
+ vergefyVersion?: string;
116
+ acceptTimezone?: string;
117
+ }
91
118
  export interface LTNP100Request {
92
119
  id: string;
93
120
  xAppAccountId: string;
@@ -170,12 +197,12 @@ export declare class PLATFORMLTNPTenantPrincipalsApi extends runtime.BaseAPI {
170
197
  */
171
198
  lTNP001RequestOpts(requestParameters: LTNP001Request): Promise<runtime.RequestOpts>;
172
199
  /**
173
- * Lists the tenant\'s agents and services. An admin sees every one; anyone else sees only the agents they sponsor, whatever the sponsor filter says.
200
+ * Lists the tenant\'s agents and services. An admin sees every one; anyone else sees only the agents they sponsor, whatever the sponsor filter says. audience narrows the list to PERSONAL agents (Claude and ChatGPT connections) or SHARED ones.
174
201
  * LTNP001 - Search Principals
175
202
  */
176
203
  lTNP001Raw(requestParameters: LTNP001Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PagePrincipalDTO>>;
177
204
  /**
178
- * Lists the tenant\'s agents and services. An admin sees every one; anyone else sees only the agents they sponsor, whatever the sponsor filter says.
205
+ * Lists the tenant\'s agents and services. An admin sees every one; anyone else sees only the agents they sponsor, whatever the sponsor filter says. audience narrows the list to PERSONAL agents (Claude and ChatGPT connections) or SHARED ones.
179
206
  * LTNP001 - Search Principals
180
207
  */
181
208
  lTNP001(requestParameters: LTNP001Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PagePrincipalDTO>;
@@ -198,15 +225,43 @@ export declare class PLATFORMLTNPTenantPrincipalsApi extends runtime.BaseAPI {
198
225
  */
199
226
  lTNP003RequestOpts(requestParameters: LTNP003Request): Promise<runtime.RequestOpts>;
200
227
  /**
201
- * A record\'s agent history, newest first: which agent wrote it, for whom, and when. Only events in modules the caller may read are returned; a person\'s own writes have no event, their record\'s created_by names them.
228
+ * A record\'s agent history, newest first: which agent wrote it, for whom, and when. Only events in modules the caller may read are returned; a person\'s own writes have no event, their record\'s created_by names them. entityType is the name of the command facade that writes the record, less Command and Facade (CommandContactFacade writes Contact); LTNP023 lists them, and an unknown one is a 400 rather than an empty history.
202
229
  * LTNP003 - Search Principal Audit Events
203
230
  */
204
231
  lTNP003Raw(requestParameters: LTNP003Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOListPrincipalAuditEventDTO>>;
205
232
  /**
206
- * A record\'s agent history, newest first: which agent wrote it, for whom, and when. Only events in modules the caller may read are returned; a person\'s own writes have no event, their record\'s created_by names them.
233
+ * A record\'s agent history, newest first: which agent wrote it, for whom, and when. Only events in modules the caller may read are returned; a person\'s own writes have no event, their record\'s created_by names them. entityType is the name of the command facade that writes the record, less Command and Facade (CommandContactFacade writes Contact); LTNP023 lists them, and an unknown one is a 400 rather than an empty history.
207
234
  * LTNP003 - Search Principal Audit Events
208
235
  */
209
236
  lTNP003(requestParameters: LTNP003Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOListPrincipalAuditEventDTO>;
237
+ /**
238
+ * Creates request options for lTNP004 without sending the request
239
+ */
240
+ lTNP004RequestOpts(requestParameters: LTNP004Request): Promise<runtime.RequestOpts>;
241
+ /**
242
+ * The permissions an agent could be granted: the ones its sponsor holds, with their titles, sorted by authority. A CUSTOM grant may name only these, and a READ_ONLY grant keeps the ones marked keptByReadOnly. With principalId, that agent\'s sponsor\'s; without it, the caller\'s own, which is what a shared agent the caller creates (LTNP102) could be granted. Another person\'s agent reads as not found unless the caller is an admin. Refused to an agent.
243
+ * LTNP004 - Search Principal Grant Options
244
+ */
245
+ lTNP004Raw(requestParameters: LTNP004Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOListPrincipalGrantOptionDTO>>;
246
+ /**
247
+ * The permissions an agent could be granted: the ones its sponsor holds, with their titles, sorted by authority. A CUSTOM grant may name only these, and a READ_ONLY grant keeps the ones marked keptByReadOnly. With principalId, that agent\'s sponsor\'s; without it, the caller\'s own, which is what a shared agent the caller creates (LTNP102) could be granted. Another person\'s agent reads as not found unless the caller is an admin. Refused to an agent.
248
+ * LTNP004 - Search Principal Grant Options
249
+ */
250
+ lTNP004(requestParameters: LTNP004Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOListPrincipalGrantOptionDTO>;
251
+ /**
252
+ * Creates request options for lTNP005 without sending the request
253
+ */
254
+ lTNP005RequestOpts(requestParameters: LTNP005Request): Promise<runtime.RequestOpts>;
255
+ /**
256
+ * One agent\'s writes, newest first: what it wrote, where, and for whom. Limited to the modules the caller may read; an admin sees every module. Another person\'s agent reads as not found unless the caller is an admin.
257
+ * LTNP005 - Search Agent Audit Events
258
+ */
259
+ lTNP005Raw(requestParameters: LTNP005Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOPagePrincipalAuditEventDTO>>;
260
+ /**
261
+ * One agent\'s writes, newest first: what it wrote, where, and for whom. Limited to the modules the caller may read; an admin sees every module. Another person\'s agent reads as not found unless the caller is an admin.
262
+ * LTNP005 - Search Agent Audit Events
263
+ */
264
+ lTNP005(requestParameters: LTNP005Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOPagePrincipalAuditEventDTO>;
210
265
  /**
211
266
  * Creates request options for lTNP010 without sending the request
212
267
  */
@@ -277,6 +332,20 @@ export declare class PLATFORMLTNPTenantPrincipalsApi extends runtime.BaseAPI {
277
332
  * LTNP022 - Search Mcp Client Families
278
333
  */
279
334
  lTNP022(requestParameters: LTNP022Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOListMcpClientFamilyDTO>;
335
+ /**
336
+ * Creates request options for lTNP023 without sending the request
337
+ */
338
+ lTNP023RequestOpts(requestParameters: LTNP023Request): Promise<runtime.RequestOpts>;
339
+ /**
340
+ * The kinds of record whose agent writes are kept, as a record\'s history (LTNP003) names them in entityType, each with the module that writes it. Read from the command facades the application runs, so it matches what the history records.
341
+ * LTNP023 - Search Principal Audit Entity Types
342
+ */
343
+ lTNP023Raw(requestParameters: LTNP023Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOListPrincipalAuditEntityTypeDTO>>;
344
+ /**
345
+ * The kinds of record whose agent writes are kept, as a record\'s history (LTNP003) names them in entityType, each with the module that writes it. Read from the command facades the application runs, so it matches what the history records.
346
+ * LTNP023 - Search Principal Audit Entity Types
347
+ */
348
+ lTNP023(requestParameters: LTNP023Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOListPrincipalAuditEntityTypeDTO>;
280
349
  /**
281
350
  * Creates request options for lTNP100 without sending the request
282
351
  */
@@ -436,6 +505,14 @@ export declare const LTNP001StatusEnum: {
436
505
  readonly Suspended: "SUSPENDED";
437
506
  };
438
507
  export type LTNP001StatusEnum = typeof LTNP001StatusEnum[keyof typeof LTNP001StatusEnum];
508
+ /**
509
+ * @export
510
+ */
511
+ export declare const LTNP001AudienceEnum: {
512
+ readonly Personal: "PERSONAL";
513
+ readonly Shared: "SHARED";
514
+ };
515
+ export type LTNP001AudienceEnum = typeof LTNP001AudienceEnum[keyof typeof LTNP001AudienceEnum];
439
516
  /**
440
517
  * @export
441
518
  */
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.LTNP010StatusEnum = exports.LTNP001StatusEnum = exports.LTNP001TypeEnum = exports.PLATFORMLTNPTenantPrincipalsApi = void 0;
25
+ exports.LTNP010StatusEnum = exports.LTNP001AudienceEnum = exports.LTNP001StatusEnum = exports.LTNP001TypeEnum = exports.PLATFORMLTNPTenantPrincipalsApi = void 0;
26
26
  const runtime = require("../runtime");
27
27
  const AgentTokenRequestDTO_1 = require("../models/AgentTokenRequestDTO");
28
28
  const CreateAgentPrincipalDTO_1 = require("../models/CreateAgentPrincipalDTO");
@@ -30,7 +30,10 @@ const DataResponseDTOAgentPrincipalCredentialsDTO_1 = require("../models/DataRes
30
30
  const DataResponseDTOAgentTokenDTO_1 = require("../models/DataResponseDTOAgentTokenDTO");
31
31
  const DataResponseDTOListAgentApprovalActionDTO_1 = require("../models/DataResponseDTOListAgentApprovalActionDTO");
32
32
  const DataResponseDTOListMcpClientFamilyDTO_1 = require("../models/DataResponseDTOListMcpClientFamilyDTO");
33
+ const DataResponseDTOListPrincipalAuditEntityTypeDTO_1 = require("../models/DataResponseDTOListPrincipalAuditEntityTypeDTO");
33
34
  const DataResponseDTOListPrincipalAuditEventDTO_1 = require("../models/DataResponseDTOListPrincipalAuditEventDTO");
35
+ const DataResponseDTOListPrincipalGrantOptionDTO_1 = require("../models/DataResponseDTOListPrincipalGrantOptionDTO");
36
+ const DataResponseDTOPagePrincipalAuditEventDTO_1 = require("../models/DataResponseDTOPagePrincipalAuditEventDTO");
34
37
  const DataResponseDTOPrincipalApprovalRequestDTO_1 = require("../models/DataResponseDTOPrincipalApprovalRequestDTO");
35
38
  const DataResponseDTOPrincipalDTO_1 = require("../models/DataResponseDTOPrincipalDTO");
36
39
  const DataResponseDTOPrincipalPolicyDTO_1 = require("../models/DataResponseDTOPrincipalPolicyDTO");
@@ -59,6 +62,9 @@ class PLATFORMLTNPTenantPrincipalsApi extends runtime.BaseAPI {
59
62
  if (requestParameters['status'] != null) {
60
63
  queryParameters['status'] = requestParameters['status'];
61
64
  }
65
+ if (requestParameters['audience'] != null) {
66
+ queryParameters['audience'] = requestParameters['audience'];
67
+ }
62
68
  if (requestParameters['sponsorAccountId'] != null) {
63
69
  queryParameters['sponsorAccountId'] = requestParameters['sponsorAccountId'];
64
70
  }
@@ -101,7 +107,7 @@ class PLATFORMLTNPTenantPrincipalsApi extends runtime.BaseAPI {
101
107
  });
102
108
  }
103
109
  /**
104
- * Lists the tenant\'s agents and services. An admin sees every one; anyone else sees only the agents they sponsor, whatever the sponsor filter says.
110
+ * Lists the tenant\'s agents and services. An admin sees every one; anyone else sees only the agents they sponsor, whatever the sponsor filter says. audience narrows the list to PERSONAL agents (Claude and ChatGPT connections) or SHARED ones.
105
111
  * LTNP001 - Search Principals
106
112
  */
107
113
  lTNP001Raw(requestParameters, initOverrides) {
@@ -112,7 +118,7 @@ class PLATFORMLTNPTenantPrincipalsApi extends runtime.BaseAPI {
112
118
  });
113
119
  }
114
120
  /**
115
- * Lists the tenant\'s agents and services. An admin sees every one; anyone else sees only the agents they sponsor, whatever the sponsor filter says.
121
+ * Lists the tenant\'s agents and services. An admin sees every one; anyone else sees only the agents they sponsor, whatever the sponsor filter says. audience narrows the list to PERSONAL agents (Claude and ChatGPT connections) or SHARED ones.
116
122
  * LTNP001 - Search Principals
117
123
  */
118
124
  lTNP001(requestParameters, initOverrides) {
@@ -235,7 +241,7 @@ class PLATFORMLTNPTenantPrincipalsApi extends runtime.BaseAPI {
235
241
  });
236
242
  }
237
243
  /**
238
- * A record\'s agent history, newest first: which agent wrote it, for whom, and when. Only events in modules the caller may read are returned; a person\'s own writes have no event, their record\'s created_by names them.
244
+ * A record\'s agent history, newest first: which agent wrote it, for whom, and when. Only events in modules the caller may read are returned; a person\'s own writes have no event, their record\'s created_by names them. entityType is the name of the command facade that writes the record, less Command and Facade (CommandContactFacade writes Contact); LTNP023 lists them, and an unknown one is a 400 rather than an empty history.
239
245
  * LTNP003 - Search Principal Audit Events
240
246
  */
241
247
  lTNP003Raw(requestParameters, initOverrides) {
@@ -246,7 +252,7 @@ class PLATFORMLTNPTenantPrincipalsApi extends runtime.BaseAPI {
246
252
  });
247
253
  }
248
254
  /**
249
- * A record\'s agent history, newest first: which agent wrote it, for whom, and when. Only events in modules the caller may read are returned; a person\'s own writes have no event, their record\'s created_by names them.
255
+ * A record\'s agent history, newest first: which agent wrote it, for whom, and when. Only events in modules the caller may read are returned; a person\'s own writes have no event, their record\'s created_by names them. entityType is the name of the command facade that writes the record, less Command and Facade (CommandContactFacade writes Contact); LTNP023 lists them, and an unknown one is a 400 rather than an empty history.
250
256
  * LTNP003 - Search Principal Audit Events
251
257
  */
252
258
  lTNP003(requestParameters, initOverrides) {
@@ -255,6 +261,140 @@ class PLATFORMLTNPTenantPrincipalsApi extends runtime.BaseAPI {
255
261
  return yield response.value();
256
262
  });
257
263
  }
264
+ /**
265
+ * Creates request options for lTNP004 without sending the request
266
+ */
267
+ lTNP004RequestOpts(requestParameters) {
268
+ return __awaiter(this, void 0, void 0, function* () {
269
+ if (requestParameters['xAppAccountId'] == null) {
270
+ throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling lTNP004().');
271
+ }
272
+ const queryParameters = {};
273
+ if (requestParameters['principalId'] != null) {
274
+ queryParameters['principalId'] = requestParameters['principalId'];
275
+ }
276
+ const headerParameters = {};
277
+ if (requestParameters['acceptLanguage'] != null) {
278
+ headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
279
+ }
280
+ if (requestParameters['xAppAccountId'] != null) {
281
+ headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
282
+ }
283
+ if (requestParameters['vergefyVersion'] != null) {
284
+ headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
285
+ }
286
+ if (requestParameters['acceptTimezone'] != null) {
287
+ headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
288
+ }
289
+ if (this.configuration && this.configuration.accessToken) {
290
+ const token = this.configuration.accessToken;
291
+ const tokenString = yield token("BearerAuth", []);
292
+ if (tokenString) {
293
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
294
+ }
295
+ }
296
+ let urlPath = `/platform/principals/grant-options`;
297
+ return {
298
+ path: urlPath,
299
+ method: 'GET',
300
+ headers: headerParameters,
301
+ query: queryParameters,
302
+ };
303
+ });
304
+ }
305
+ /**
306
+ * The permissions an agent could be granted: the ones its sponsor holds, with their titles, sorted by authority. A CUSTOM grant may name only these, and a READ_ONLY grant keeps the ones marked keptByReadOnly. With principalId, that agent\'s sponsor\'s; without it, the caller\'s own, which is what a shared agent the caller creates (LTNP102) could be granted. Another person\'s agent reads as not found unless the caller is an admin. Refused to an agent.
307
+ * LTNP004 - Search Principal Grant Options
308
+ */
309
+ lTNP004Raw(requestParameters, initOverrides) {
310
+ return __awaiter(this, void 0, void 0, function* () {
311
+ const requestOptions = yield this.lTNP004RequestOpts(requestParameters);
312
+ const response = yield this.request(requestOptions, initOverrides);
313
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOListPrincipalGrantOptionDTO_1.DataResponseDTOListPrincipalGrantOptionDTOFromJSON)(jsonValue));
314
+ });
315
+ }
316
+ /**
317
+ * The permissions an agent could be granted: the ones its sponsor holds, with their titles, sorted by authority. A CUSTOM grant may name only these, and a READ_ONLY grant keeps the ones marked keptByReadOnly. With principalId, that agent\'s sponsor\'s; without it, the caller\'s own, which is what a shared agent the caller creates (LTNP102) could be granted. Another person\'s agent reads as not found unless the caller is an admin. Refused to an agent.
318
+ * LTNP004 - Search Principal Grant Options
319
+ */
320
+ lTNP004(requestParameters, initOverrides) {
321
+ return __awaiter(this, void 0, void 0, function* () {
322
+ const response = yield this.lTNP004Raw(requestParameters, initOverrides);
323
+ return yield response.value();
324
+ });
325
+ }
326
+ /**
327
+ * Creates request options for lTNP005 without sending the request
328
+ */
329
+ lTNP005RequestOpts(requestParameters) {
330
+ return __awaiter(this, void 0, void 0, function* () {
331
+ if (requestParameters['id'] == null) {
332
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling lTNP005().');
333
+ }
334
+ if (requestParameters['xAppAccountId'] == null) {
335
+ throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling lTNP005().');
336
+ }
337
+ const queryParameters = {};
338
+ if (requestParameters['page'] != null) {
339
+ queryParameters['page'] = requestParameters['page'];
340
+ }
341
+ if (requestParameters['size'] != null) {
342
+ queryParameters['size'] = requestParameters['size'];
343
+ }
344
+ if (requestParameters['sort'] != null) {
345
+ queryParameters['sort'] = requestParameters['sort'];
346
+ }
347
+ const headerParameters = {};
348
+ if (requestParameters['acceptLanguage'] != null) {
349
+ headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
350
+ }
351
+ if (requestParameters['xAppAccountId'] != null) {
352
+ headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
353
+ }
354
+ if (requestParameters['vergefyVersion'] != null) {
355
+ headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
356
+ }
357
+ if (requestParameters['acceptTimezone'] != null) {
358
+ headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
359
+ }
360
+ if (this.configuration && this.configuration.accessToken) {
361
+ const token = this.configuration.accessToken;
362
+ const tokenString = yield token("BearerAuth", []);
363
+ if (tokenString) {
364
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
365
+ }
366
+ }
367
+ let urlPath = `/platform/principals/{id}/audit-events`;
368
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
369
+ return {
370
+ path: urlPath,
371
+ method: 'GET',
372
+ headers: headerParameters,
373
+ query: queryParameters,
374
+ };
375
+ });
376
+ }
377
+ /**
378
+ * One agent\'s writes, newest first: what it wrote, where, and for whom. Limited to the modules the caller may read; an admin sees every module. Another person\'s agent reads as not found unless the caller is an admin.
379
+ * LTNP005 - Search Agent Audit Events
380
+ */
381
+ lTNP005Raw(requestParameters, initOverrides) {
382
+ return __awaiter(this, void 0, void 0, function* () {
383
+ const requestOptions = yield this.lTNP005RequestOpts(requestParameters);
384
+ const response = yield this.request(requestOptions, initOverrides);
385
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOPagePrincipalAuditEventDTO_1.DataResponseDTOPagePrincipalAuditEventDTOFromJSON)(jsonValue));
386
+ });
387
+ }
388
+ /**
389
+ * One agent\'s writes, newest first: what it wrote, where, and for whom. Limited to the modules the caller may read; an admin sees every module. Another person\'s agent reads as not found unless the caller is an admin.
390
+ * LTNP005 - Search Agent Audit Events
391
+ */
392
+ lTNP005(requestParameters, initOverrides) {
393
+ return __awaiter(this, void 0, void 0, function* () {
394
+ const response = yield this.lTNP005Raw(requestParameters, initOverrides);
395
+ return yield response.value();
396
+ });
397
+ }
258
398
  /**
259
399
  * Creates request options for lTNP010 without sending the request
260
400
  */
@@ -566,6 +706,65 @@ class PLATFORMLTNPTenantPrincipalsApi extends runtime.BaseAPI {
566
706
  return yield response.value();
567
707
  });
568
708
  }
709
+ /**
710
+ * Creates request options for lTNP023 without sending the request
711
+ */
712
+ lTNP023RequestOpts(requestParameters) {
713
+ return __awaiter(this, void 0, void 0, function* () {
714
+ if (requestParameters['xAppAccountId'] == null) {
715
+ throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling lTNP023().');
716
+ }
717
+ const queryParameters = {};
718
+ const headerParameters = {};
719
+ if (requestParameters['acceptLanguage'] != null) {
720
+ headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
721
+ }
722
+ if (requestParameters['xAppAccountId'] != null) {
723
+ headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
724
+ }
725
+ if (requestParameters['vergefyVersion'] != null) {
726
+ headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
727
+ }
728
+ if (requestParameters['acceptTimezone'] != null) {
729
+ headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
730
+ }
731
+ if (this.configuration && this.configuration.accessToken) {
732
+ const token = this.configuration.accessToken;
733
+ const tokenString = yield token("BearerAuth", []);
734
+ if (tokenString) {
735
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
736
+ }
737
+ }
738
+ let urlPath = `/platform/principals/audit-entity-types`;
739
+ return {
740
+ path: urlPath,
741
+ method: 'GET',
742
+ headers: headerParameters,
743
+ query: queryParameters,
744
+ };
745
+ });
746
+ }
747
+ /**
748
+ * The kinds of record whose agent writes are kept, as a record\'s history (LTNP003) names them in entityType, each with the module that writes it. Read from the command facades the application runs, so it matches what the history records.
749
+ * LTNP023 - Search Principal Audit Entity Types
750
+ */
751
+ lTNP023Raw(requestParameters, initOverrides) {
752
+ return __awaiter(this, void 0, void 0, function* () {
753
+ const requestOptions = yield this.lTNP023RequestOpts(requestParameters);
754
+ const response = yield this.request(requestOptions, initOverrides);
755
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOListPrincipalAuditEntityTypeDTO_1.DataResponseDTOListPrincipalAuditEntityTypeDTOFromJSON)(jsonValue));
756
+ });
757
+ }
758
+ /**
759
+ * The kinds of record whose agent writes are kept, as a record\'s history (LTNP003) names them in entityType, each with the module that writes it. Read from the command facades the application runs, so it matches what the history records.
760
+ * LTNP023 - Search Principal Audit Entity Types
761
+ */
762
+ lTNP023(requestParameters, initOverrides) {
763
+ return __awaiter(this, void 0, void 0, function* () {
764
+ const response = yield this.lTNP023Raw(requestParameters, initOverrides);
765
+ return yield response.value();
766
+ });
767
+ }
569
768
  /**
570
769
  * Creates request options for lTNP100 without sending the request
571
770
  */
@@ -1232,6 +1431,13 @@ exports.LTNP001StatusEnum = {
1232
1431
  Revoked: 'REVOKED',
1233
1432
  Suspended: 'SUSPENDED'
1234
1433
  };
1434
+ /**
1435
+ * @export
1436
+ */
1437
+ exports.LTNP001AudienceEnum = {
1438
+ Personal: 'PERSONAL',
1439
+ Shared: 'SHARED'
1440
+ };
1235
1441
  /**
1236
1442
  * @export
1237
1443
  */
@@ -427,9 +427,6 @@ export class AUTHUAUIdentityAuthenticationApi extends runtime.BaseAPI {
427
427
  */
428
428
  uAU007RequestOpts(requestParameters) {
429
429
  return __awaiter(this, void 0, void 0, function* () {
430
- if (requestParameters['token'] == null) {
431
- throw new runtime.RequiredError('token', 'Required parameter "token" was null or undefined when calling uAU007().');
432
- }
433
430
  if (requestParameters['xAppAccountId'] == null) {
434
431
  throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling uAU007().');
435
432
  }
@@ -467,7 +464,7 @@ export class AUTHUAUIdentityAuthenticationApi extends runtime.BaseAPI {
467
464
  });
468
465
  }
469
466
  /**
470
- * Signs out from all devices
467
+ * Signs out from all devices by revoking the session of the access token sent as `Authorization: Bearer <token>`. The `token` query parameter is deprecated and is read only when no bearer token is sent.
471
468
  * UAU007 - Global Sign Out
472
469
  */
473
470
  uAU007Raw(requestParameters, initOverrides) {
@@ -478,7 +475,7 @@ export class AUTHUAUIdentityAuthenticationApi extends runtime.BaseAPI {
478
475
  });
479
476
  }
480
477
  /**
481
- * Signs out from all devices
478
+ * Signs out from all devices by revoking the session of the access token sent as `Authorization: Bearer <token>`. The `token` query parameter is deprecated and is read only when no bearer token is sent.
482
479
  * UAU007 - Global Sign Out
483
480
  */
484
481
  uAU007(requestParameters, initOverrides) {
@@ -72,7 +72,7 @@ export class PLATFORMLTNPTenantPrincipalMetricsApi extends runtime.BaseAPI {
72
72
  });
73
73
  }
74
74
  /**
75
- * Share of this tenant\'s work done by agents over a date range: totals by principal type, a per-module breakdown, and the agents that wrote. Defaults to the last 30 days; a range longer than 366 days is refused. Only a person may read this, and only with AGENT_PRINCIPAL_ADMIN.
75
+ * Share of this tenant\'s work done by agents over a date range: totals by principal type, a per-module breakdown, and the agents that wrote. Defaults to the last 30 days; a range longer than 366 days is refused. Only a person may read this, with AGENT_PRINCIPAL_ADMIN or AGENT_PRINCIPAL_APPROVE (owners, admins and managers).
76
76
  * LTNP030 - Get Principal Work Share
77
77
  */
78
78
  lTNP030Raw(requestParameters, initOverrides) {
@@ -83,7 +83,7 @@ export class PLATFORMLTNPTenantPrincipalMetricsApi extends runtime.BaseAPI {
83
83
  });
84
84
  }
85
85
  /**
86
- * Share of this tenant\'s work done by agents over a date range: totals by principal type, a per-module breakdown, and the agents that wrote. Defaults to the last 30 days; a range longer than 366 days is refused. Only a person may read this, and only with AGENT_PRINCIPAL_ADMIN.
86
+ * Share of this tenant\'s work done by agents over a date range: totals by principal type, a per-module breakdown, and the agents that wrote. Defaults to the last 30 days; a range longer than 366 days is refused. Only a person may read this, with AGENT_PRINCIPAL_ADMIN or AGENT_PRINCIPAL_APPROVE (owners, admins and managers).
87
87
  * LTNP030 - Get Principal Work Share
88
88
  */
89
89
  lTNP030(requestParameters, initOverrides) {
@@ -137,7 +137,7 @@ export class PLATFORMLTNPTenantPrincipalMetricsApi extends runtime.BaseAPI {
137
137
  });
138
138
  }
139
139
  /**
140
- * Executions, tokens and cost per agent over a date range, and whether any executions ran without drawing AI credits. agentId is ai_platform.agent.id, not a tenant.principal id — see AgentCostSummaryDTO. Defaults to the last 30 days; a range longer than 366 days is refused. Only a person may read this, and only with AGENT_PRINCIPAL_ADMIN.
140
+ * Executions, tokens and cost per agent over a date range, and whether any executions ran without drawing AI credits. agentId is ai_platform.agent.id, not a tenant.principal id — see AgentCostSummaryDTO. Defaults to the last 30 days; a range longer than 366 days is refused. Only a person may read this, with AGENT_PRINCIPAL_ADMIN or AGENT_PRINCIPAL_APPROVE (owners, admins and managers).
141
141
  * LTNP031 - Get Agent Cost Summary
142
142
  */
143
143
  lTNP031Raw(requestParameters, initOverrides) {
@@ -148,7 +148,7 @@ export class PLATFORMLTNPTenantPrincipalMetricsApi extends runtime.BaseAPI {
148
148
  });
149
149
  }
150
150
  /**
151
- * Executions, tokens and cost per agent over a date range, and whether any executions ran without drawing AI credits. agentId is ai_platform.agent.id, not a tenant.principal id — see AgentCostSummaryDTO. Defaults to the last 30 days; a range longer than 366 days is refused. Only a person may read this, and only with AGENT_PRINCIPAL_ADMIN.
151
+ * Executions, tokens and cost per agent over a date range, and whether any executions ran without drawing AI credits. agentId is ai_platform.agent.id, not a tenant.principal id — see AgentCostSummaryDTO. Defaults to the last 30 days; a range longer than 366 days is refused. Only a person may read this, with AGENT_PRINCIPAL_ADMIN or AGENT_PRINCIPAL_APPROVE (owners, admins and managers).
152
152
  * LTNP031 - Get Agent Cost Summary
153
153
  */
154
154
  lTNP031(requestParameters, initOverrides) {