@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
@@ -27,7 +27,10 @@ import { DataResponseDTOAgentPrincipalCredentialsDTOFromJSON, } from '../models/
27
27
  import { DataResponseDTOAgentTokenDTOFromJSON, } from '../models/DataResponseDTOAgentTokenDTO';
28
28
  import { DataResponseDTOListAgentApprovalActionDTOFromJSON, } from '../models/DataResponseDTOListAgentApprovalActionDTO';
29
29
  import { DataResponseDTOListMcpClientFamilyDTOFromJSON, } from '../models/DataResponseDTOListMcpClientFamilyDTO';
30
+ import { DataResponseDTOListPrincipalAuditEntityTypeDTOFromJSON, } from '../models/DataResponseDTOListPrincipalAuditEntityTypeDTO';
30
31
  import { DataResponseDTOListPrincipalAuditEventDTOFromJSON, } from '../models/DataResponseDTOListPrincipalAuditEventDTO';
32
+ import { DataResponseDTOListPrincipalGrantOptionDTOFromJSON, } from '../models/DataResponseDTOListPrincipalGrantOptionDTO';
33
+ import { DataResponseDTOPagePrincipalAuditEventDTOFromJSON, } from '../models/DataResponseDTOPagePrincipalAuditEventDTO';
31
34
  import { DataResponseDTOPrincipalApprovalRequestDTOFromJSON, } from '../models/DataResponseDTOPrincipalApprovalRequestDTO';
32
35
  import { DataResponseDTOPrincipalDTOFromJSON, } from '../models/DataResponseDTOPrincipalDTO';
33
36
  import { DataResponseDTOPrincipalPolicyDTOFromJSON, } from '../models/DataResponseDTOPrincipalPolicyDTO';
@@ -56,6 +59,9 @@ export class PLATFORMLTNPTenantPrincipalsApi extends runtime.BaseAPI {
56
59
  if (requestParameters['status'] != null) {
57
60
  queryParameters['status'] = requestParameters['status'];
58
61
  }
62
+ if (requestParameters['audience'] != null) {
63
+ queryParameters['audience'] = requestParameters['audience'];
64
+ }
59
65
  if (requestParameters['sponsorAccountId'] != null) {
60
66
  queryParameters['sponsorAccountId'] = requestParameters['sponsorAccountId'];
61
67
  }
@@ -98,7 +104,7 @@ export class PLATFORMLTNPTenantPrincipalsApi extends runtime.BaseAPI {
98
104
  });
99
105
  }
100
106
  /**
101
- * 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.
107
+ * 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.
102
108
  * LTNP001 - Search Principals
103
109
  */
104
110
  lTNP001Raw(requestParameters, initOverrides) {
@@ -109,7 +115,7 @@ export class PLATFORMLTNPTenantPrincipalsApi extends runtime.BaseAPI {
109
115
  });
110
116
  }
111
117
  /**
112
- * 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.
118
+ * 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.
113
119
  * LTNP001 - Search Principals
114
120
  */
115
121
  lTNP001(requestParameters, initOverrides) {
@@ -232,7 +238,7 @@ export class PLATFORMLTNPTenantPrincipalsApi extends runtime.BaseAPI {
232
238
  });
233
239
  }
234
240
  /**
235
- * 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.
241
+ * 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.
236
242
  * LTNP003 - Search Principal Audit Events
237
243
  */
238
244
  lTNP003Raw(requestParameters, initOverrides) {
@@ -243,7 +249,7 @@ export class PLATFORMLTNPTenantPrincipalsApi extends runtime.BaseAPI {
243
249
  });
244
250
  }
245
251
  /**
246
- * 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.
252
+ * 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.
247
253
  * LTNP003 - Search Principal Audit Events
248
254
  */
249
255
  lTNP003(requestParameters, initOverrides) {
@@ -252,6 +258,140 @@ export class PLATFORMLTNPTenantPrincipalsApi extends runtime.BaseAPI {
252
258
  return yield response.value();
253
259
  });
254
260
  }
261
+ /**
262
+ * Creates request options for lTNP004 without sending the request
263
+ */
264
+ lTNP004RequestOpts(requestParameters) {
265
+ return __awaiter(this, void 0, void 0, function* () {
266
+ if (requestParameters['xAppAccountId'] == null) {
267
+ throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling lTNP004().');
268
+ }
269
+ const queryParameters = {};
270
+ if (requestParameters['principalId'] != null) {
271
+ queryParameters['principalId'] = requestParameters['principalId'];
272
+ }
273
+ const headerParameters = {};
274
+ if (requestParameters['acceptLanguage'] != null) {
275
+ headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
276
+ }
277
+ if (requestParameters['xAppAccountId'] != null) {
278
+ headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
279
+ }
280
+ if (requestParameters['vergefyVersion'] != null) {
281
+ headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
282
+ }
283
+ if (requestParameters['acceptTimezone'] != null) {
284
+ headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
285
+ }
286
+ if (this.configuration && this.configuration.accessToken) {
287
+ const token = this.configuration.accessToken;
288
+ const tokenString = yield token("BearerAuth", []);
289
+ if (tokenString) {
290
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
291
+ }
292
+ }
293
+ let urlPath = `/platform/principals/grant-options`;
294
+ return {
295
+ path: urlPath,
296
+ method: 'GET',
297
+ headers: headerParameters,
298
+ query: queryParameters,
299
+ };
300
+ });
301
+ }
302
+ /**
303
+ * 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.
304
+ * LTNP004 - Search Principal Grant Options
305
+ */
306
+ lTNP004Raw(requestParameters, initOverrides) {
307
+ return __awaiter(this, void 0, void 0, function* () {
308
+ const requestOptions = yield this.lTNP004RequestOpts(requestParameters);
309
+ const response = yield this.request(requestOptions, initOverrides);
310
+ return new runtime.JSONApiResponse(response, (jsonValue) => DataResponseDTOListPrincipalGrantOptionDTOFromJSON(jsonValue));
311
+ });
312
+ }
313
+ /**
314
+ * 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.
315
+ * LTNP004 - Search Principal Grant Options
316
+ */
317
+ lTNP004(requestParameters, initOverrides) {
318
+ return __awaiter(this, void 0, void 0, function* () {
319
+ const response = yield this.lTNP004Raw(requestParameters, initOverrides);
320
+ return yield response.value();
321
+ });
322
+ }
323
+ /**
324
+ * Creates request options for lTNP005 without sending the request
325
+ */
326
+ lTNP005RequestOpts(requestParameters) {
327
+ return __awaiter(this, void 0, void 0, function* () {
328
+ if (requestParameters['id'] == null) {
329
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling lTNP005().');
330
+ }
331
+ if (requestParameters['xAppAccountId'] == null) {
332
+ throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling lTNP005().');
333
+ }
334
+ const queryParameters = {};
335
+ if (requestParameters['page'] != null) {
336
+ queryParameters['page'] = requestParameters['page'];
337
+ }
338
+ if (requestParameters['size'] != null) {
339
+ queryParameters['size'] = requestParameters['size'];
340
+ }
341
+ if (requestParameters['sort'] != null) {
342
+ queryParameters['sort'] = requestParameters['sort'];
343
+ }
344
+ const headerParameters = {};
345
+ if (requestParameters['acceptLanguage'] != null) {
346
+ headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
347
+ }
348
+ if (requestParameters['xAppAccountId'] != null) {
349
+ headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
350
+ }
351
+ if (requestParameters['vergefyVersion'] != null) {
352
+ headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
353
+ }
354
+ if (requestParameters['acceptTimezone'] != null) {
355
+ headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
356
+ }
357
+ if (this.configuration && this.configuration.accessToken) {
358
+ const token = this.configuration.accessToken;
359
+ const tokenString = yield token("BearerAuth", []);
360
+ if (tokenString) {
361
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
362
+ }
363
+ }
364
+ let urlPath = `/platform/principals/{id}/audit-events`;
365
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
366
+ return {
367
+ path: urlPath,
368
+ method: 'GET',
369
+ headers: headerParameters,
370
+ query: queryParameters,
371
+ };
372
+ });
373
+ }
374
+ /**
375
+ * 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.
376
+ * LTNP005 - Search Agent Audit Events
377
+ */
378
+ lTNP005Raw(requestParameters, initOverrides) {
379
+ return __awaiter(this, void 0, void 0, function* () {
380
+ const requestOptions = yield this.lTNP005RequestOpts(requestParameters);
381
+ const response = yield this.request(requestOptions, initOverrides);
382
+ return new runtime.JSONApiResponse(response, (jsonValue) => DataResponseDTOPagePrincipalAuditEventDTOFromJSON(jsonValue));
383
+ });
384
+ }
385
+ /**
386
+ * 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.
387
+ * LTNP005 - Search Agent Audit Events
388
+ */
389
+ lTNP005(requestParameters, initOverrides) {
390
+ return __awaiter(this, void 0, void 0, function* () {
391
+ const response = yield this.lTNP005Raw(requestParameters, initOverrides);
392
+ return yield response.value();
393
+ });
394
+ }
255
395
  /**
256
396
  * Creates request options for lTNP010 without sending the request
257
397
  */
@@ -563,6 +703,65 @@ export class PLATFORMLTNPTenantPrincipalsApi extends runtime.BaseAPI {
563
703
  return yield response.value();
564
704
  });
565
705
  }
706
+ /**
707
+ * Creates request options for lTNP023 without sending the request
708
+ */
709
+ lTNP023RequestOpts(requestParameters) {
710
+ return __awaiter(this, void 0, void 0, function* () {
711
+ if (requestParameters['xAppAccountId'] == null) {
712
+ throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling lTNP023().');
713
+ }
714
+ const queryParameters = {};
715
+ const headerParameters = {};
716
+ if (requestParameters['acceptLanguage'] != null) {
717
+ headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
718
+ }
719
+ if (requestParameters['xAppAccountId'] != null) {
720
+ headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
721
+ }
722
+ if (requestParameters['vergefyVersion'] != null) {
723
+ headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
724
+ }
725
+ if (requestParameters['acceptTimezone'] != null) {
726
+ headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
727
+ }
728
+ if (this.configuration && this.configuration.accessToken) {
729
+ const token = this.configuration.accessToken;
730
+ const tokenString = yield token("BearerAuth", []);
731
+ if (tokenString) {
732
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
733
+ }
734
+ }
735
+ let urlPath = `/platform/principals/audit-entity-types`;
736
+ return {
737
+ path: urlPath,
738
+ method: 'GET',
739
+ headers: headerParameters,
740
+ query: queryParameters,
741
+ };
742
+ });
743
+ }
744
+ /**
745
+ * 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.
746
+ * LTNP023 - Search Principal Audit Entity Types
747
+ */
748
+ lTNP023Raw(requestParameters, initOverrides) {
749
+ return __awaiter(this, void 0, void 0, function* () {
750
+ const requestOptions = yield this.lTNP023RequestOpts(requestParameters);
751
+ const response = yield this.request(requestOptions, initOverrides);
752
+ return new runtime.JSONApiResponse(response, (jsonValue) => DataResponseDTOListPrincipalAuditEntityTypeDTOFromJSON(jsonValue));
753
+ });
754
+ }
755
+ /**
756
+ * 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.
757
+ * LTNP023 - Search Principal Audit Entity Types
758
+ */
759
+ lTNP023(requestParameters, initOverrides) {
760
+ return __awaiter(this, void 0, void 0, function* () {
761
+ const response = yield this.lTNP023Raw(requestParameters, initOverrides);
762
+ return yield response.value();
763
+ });
764
+ }
566
765
  /**
567
766
  * Creates request options for lTNP100 without sending the request
568
767
  */
@@ -1228,6 +1427,13 @@ export const LTNP001StatusEnum = {
1228
1427
  Revoked: 'REVOKED',
1229
1428
  Suspended: 'SUSPENDED'
1230
1429
  };
1430
+ /**
1431
+ * @export
1432
+ */
1433
+ export const LTNP001AudienceEnum = {
1434
+ Personal: 'PERSONAL',
1435
+ Shared: 'SHARED'
1436
+ };
1231
1437
  /**
1232
1438
  * @export
1233
1439
  */
@@ -8,7 +8,7 @@
8
8
  * Mirrors the canonical Java `ext/Telemetry`.
9
9
  */
10
10
  /** Kept in sync with `vergefySdkVersion` (the published artifact version). */
11
- export const VERSION = '0.25.0';
11
+ export const VERSION = '0.27.0';
12
12
  const NAME = 'vergefy-typescript-client';
13
13
  /** The `User-Agent` value, e.g. `vergefy-typescript-client/0.1.0`. */
14
14
  export function userAgent() {
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Vergefy API
5
+ * <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
6
+ *
7
+ * The version of the OpenAPI document: 2026-05-30
8
+ * Contact: support@integrahub.co
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { PrincipalAuditEntityTypeDTOFromJSON, PrincipalAuditEntityTypeDTOToJSON, } from './PrincipalAuditEntityTypeDTO';
15
+ /**
16
+ * Check if a given object implements the DataResponseDTOListPrincipalAuditEntityTypeDTO interface.
17
+ */
18
+ export function instanceOfDataResponseDTOListPrincipalAuditEntityTypeDTO(value) {
19
+ return true;
20
+ }
21
+ export function DataResponseDTOListPrincipalAuditEntityTypeDTOFromJSON(json) {
22
+ return DataResponseDTOListPrincipalAuditEntityTypeDTOFromJSONTyped(json, false);
23
+ }
24
+ export function DataResponseDTOListPrincipalAuditEntityTypeDTOFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'data': json['data'] == null ? undefined : (json['data'].map(PrincipalAuditEntityTypeDTOFromJSON)),
30
+ };
31
+ }
32
+ export function DataResponseDTOListPrincipalAuditEntityTypeDTOToJSON(json) {
33
+ return DataResponseDTOListPrincipalAuditEntityTypeDTOToJSONTyped(json, false);
34
+ }
35
+ export function DataResponseDTOListPrincipalAuditEntityTypeDTOToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'data': value['data'] == null ? undefined : (value['data'].map(PrincipalAuditEntityTypeDTOToJSON)),
41
+ };
42
+ }
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Vergefy API
5
+ * <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
6
+ *
7
+ * The version of the OpenAPI document: 2026-05-30
8
+ * Contact: support@integrahub.co
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { PrincipalGrantOptionDTOFromJSON, PrincipalGrantOptionDTOToJSON, } from './PrincipalGrantOptionDTO';
15
+ /**
16
+ * Check if a given object implements the DataResponseDTOListPrincipalGrantOptionDTO interface.
17
+ */
18
+ export function instanceOfDataResponseDTOListPrincipalGrantOptionDTO(value) {
19
+ return true;
20
+ }
21
+ export function DataResponseDTOListPrincipalGrantOptionDTOFromJSON(json) {
22
+ return DataResponseDTOListPrincipalGrantOptionDTOFromJSONTyped(json, false);
23
+ }
24
+ export function DataResponseDTOListPrincipalGrantOptionDTOFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'data': json['data'] == null ? undefined : (json['data'].map(PrincipalGrantOptionDTOFromJSON)),
30
+ };
31
+ }
32
+ export function DataResponseDTOListPrincipalGrantOptionDTOToJSON(json) {
33
+ return DataResponseDTOListPrincipalGrantOptionDTOToJSONTyped(json, false);
34
+ }
35
+ export function DataResponseDTOListPrincipalGrantOptionDTOToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'data': value['data'] == null ? undefined : (value['data'].map(PrincipalGrantOptionDTOToJSON)),
41
+ };
42
+ }
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Vergefy API
5
+ * <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
6
+ *
7
+ * The version of the OpenAPI document: 2026-05-30
8
+ * Contact: support@integrahub.co
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { PagePrincipalAuditEventDTOFromJSON, PagePrincipalAuditEventDTOToJSON, } from './PagePrincipalAuditEventDTO';
15
+ /**
16
+ * Check if a given object implements the DataResponseDTOPagePrincipalAuditEventDTO interface.
17
+ */
18
+ export function instanceOfDataResponseDTOPagePrincipalAuditEventDTO(value) {
19
+ return true;
20
+ }
21
+ export function DataResponseDTOPagePrincipalAuditEventDTOFromJSON(json) {
22
+ return DataResponseDTOPagePrincipalAuditEventDTOFromJSONTyped(json, false);
23
+ }
24
+ export function DataResponseDTOPagePrincipalAuditEventDTOFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'data': json['data'] == null ? undefined : PagePrincipalAuditEventDTOFromJSON(json['data']),
30
+ };
31
+ }
32
+ export function DataResponseDTOPagePrincipalAuditEventDTOToJSON(json) {
33
+ return DataResponseDTOPagePrincipalAuditEventDTOToJSONTyped(json, false);
34
+ }
35
+ export function DataResponseDTOPagePrincipalAuditEventDTOToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'data': PagePrincipalAuditEventDTOToJSON(value['data']),
41
+ };
42
+ }
@@ -0,0 +1,64 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Vergefy API
5
+ * <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
6
+ *
7
+ * The version of the OpenAPI document: 2026-05-30
8
+ * Contact: support@integrahub.co
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { PageableObjectFromJSON, PageableObjectToJSON, } from './PageableObject';
15
+ import { PrincipalAuditEventDTOFromJSON, PrincipalAuditEventDTOToJSON, } from './PrincipalAuditEventDTO';
16
+ import { SortObjectFromJSON, SortObjectToJSON, } from './SortObject';
17
+ /**
18
+ * Check if a given object implements the PagePrincipalAuditEventDTO interface.
19
+ */
20
+ export function instanceOfPagePrincipalAuditEventDTO(value) {
21
+ return true;
22
+ }
23
+ export function PagePrincipalAuditEventDTOFromJSON(json) {
24
+ return PagePrincipalAuditEventDTOFromJSONTyped(json, false);
25
+ }
26
+ export function PagePrincipalAuditEventDTOFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'content': json['content'] == null ? undefined : (json['content'].map(PrincipalAuditEventDTOFromJSON)),
32
+ 'empty': json['empty'] == null ? undefined : json['empty'],
33
+ 'first': json['first'] == null ? undefined : json['first'],
34
+ 'last': json['last'] == null ? undefined : json['last'],
35
+ 'number': json['number'] == null ? undefined : json['number'],
36
+ 'numberOfElements': json['numberOfElements'] == null ? undefined : json['numberOfElements'],
37
+ 'pageable': json['pageable'] == null ? undefined : PageableObjectFromJSON(json['pageable']),
38
+ 'size': json['size'] == null ? undefined : json['size'],
39
+ 'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
40
+ 'totalElements': json['totalElements'] == null ? undefined : json['totalElements'],
41
+ 'totalPages': json['totalPages'] == null ? undefined : json['totalPages'],
42
+ };
43
+ }
44
+ export function PagePrincipalAuditEventDTOToJSON(json) {
45
+ return PagePrincipalAuditEventDTOToJSONTyped(json, false);
46
+ }
47
+ export function PagePrincipalAuditEventDTOToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'content': value['content'] == null ? undefined : (value['content'].map(PrincipalAuditEventDTOToJSON)),
53
+ 'empty': value['empty'],
54
+ 'first': value['first'],
55
+ 'last': value['last'],
56
+ 'number': value['number'],
57
+ 'numberOfElements': value['numberOfElements'],
58
+ 'pageable': PageableObjectToJSON(value['pageable']),
59
+ 'size': value['size'],
60
+ 'sort': SortObjectToJSON(value['sort']),
61
+ 'totalElements': value['totalElements'],
62
+ 'totalPages': value['totalPages'],
63
+ };
64
+ }
@@ -0,0 +1,45 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Vergefy API
5
+ * <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
6
+ *
7
+ * The version of the OpenAPI document: 2026-05-30
8
+ * Contact: support@integrahub.co
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the PrincipalAuditEntityTypeDTO interface.
16
+ */
17
+ export function instanceOfPrincipalAuditEntityTypeDTO(value) {
18
+ if (!('entityType' in value) || value['entityType'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function PrincipalAuditEntityTypeDTOFromJSON(json) {
23
+ return PrincipalAuditEntityTypeDTOFromJSONTyped(json, false);
24
+ }
25
+ export function PrincipalAuditEntityTypeDTOFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'entityType': json['entityType'],
31
+ 'module': json['module'] == null ? undefined : json['module'],
32
+ };
33
+ }
34
+ export function PrincipalAuditEntityTypeDTOToJSON(json) {
35
+ return PrincipalAuditEntityTypeDTOToJSONTyped(json, false);
36
+ }
37
+ export function PrincipalAuditEntityTypeDTOToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'entityType': value['entityType'],
43
+ 'module': value['module'],
44
+ };
45
+ }
@@ -74,6 +74,7 @@ export function PrincipalDTOFromJSONTyped(json, ignoreDiscriminator) {
74
74
  'name': json['name'] == null ? undefined : json['name'],
75
75
  'revokedAt': json['revokedAt'] == null ? undefined : (new Date(json['revokedAt'])),
76
76
  'revokedByAccountId': json['revokedByAccountId'] == null ? undefined : json['revokedByAccountId'],
77
+ 'revokedByName': json['revokedByName'] == null ? undefined : json['revokedByName'],
77
78
  'sourceId': json['sourceId'] == null ? undefined : json['sourceId'],
78
79
  'sourceKind': json['sourceKind'] == null ? undefined : json['sourceKind'],
79
80
  'sponsorAccountId': json['sponsorAccountId'] == null ? undefined : json['sponsorAccountId'],
@@ -101,6 +102,7 @@ export function PrincipalDTOToJSONTyped(value, ignoreDiscriminator = false) {
101
102
  'name': value['name'],
102
103
  'revokedAt': value['revokedAt'] == null ? value['revokedAt'] : value['revokedAt'].toISOString(),
103
104
  'revokedByAccountId': value['revokedByAccountId'],
105
+ 'revokedByName': value['revokedByName'],
104
106
  'sourceId': value['sourceId'],
105
107
  'sourceKind': value['sourceKind'],
106
108
  'sponsorAccountId': value['sponsorAccountId'],
@@ -0,0 +1,67 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Vergefy API
5
+ * <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
6
+ *
7
+ * The version of the OpenAPI document: 2026-05-30
8
+ * Contact: support@integrahub.co
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * @export
16
+ */
17
+ export const PrincipalGrantOptionDTOActionEnum = {
18
+ Admin: 'ADMIN',
19
+ Create: 'CREATE',
20
+ Delete: 'DELETE',
21
+ Write: 'WRITE',
22
+ Read: 'READ'
23
+ };
24
+ /**
25
+ * Check if a given object implements the PrincipalGrantOptionDTO interface.
26
+ */
27
+ export function instanceOfPrincipalGrantOptionDTO(value) {
28
+ if (!('action' in value) || value['action'] === undefined)
29
+ return false;
30
+ if (!('authority' in value) || value['authority'] === undefined)
31
+ return false;
32
+ if (!('keptByReadOnly' in value) || value['keptByReadOnly'] === undefined)
33
+ return false;
34
+ if (!('title' in value) || value['title'] === undefined)
35
+ return false;
36
+ return true;
37
+ }
38
+ export function PrincipalGrantOptionDTOFromJSON(json) {
39
+ return PrincipalGrantOptionDTOFromJSONTyped(json, false);
40
+ }
41
+ export function PrincipalGrantOptionDTOFromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'action': json['action'],
47
+ 'authority': json['authority'],
48
+ 'description': json['description'] == null ? undefined : json['description'],
49
+ 'keptByReadOnly': json['keptByReadOnly'],
50
+ 'title': json['title'],
51
+ };
52
+ }
53
+ export function PrincipalGrantOptionDTOToJSON(json) {
54
+ return PrincipalGrantOptionDTOToJSONTyped(json, false);
55
+ }
56
+ export function PrincipalGrantOptionDTOToJSONTyped(value, ignoreDiscriminator = false) {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'action': value['action'],
62
+ 'authority': value['authority'],
63
+ 'description': value['description'],
64
+ 'keptByReadOnly': value['keptByReadOnly'],
65
+ 'title': value['title'],
66
+ };
67
+ }