@integrahub/vergefy-client 0.10.0 → 0.11.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 (50) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/APIAFLFlagApi.d.ts +209 -0
  3. package/dist/apis/APIAFLFlagApi.js +554 -0
  4. package/dist/apis/index.d.ts +1 -0
  5. package/dist/apis/index.js +1 -0
  6. package/dist/esm/apis/APIAFLFlagApi.js +550 -0
  7. package/dist/esm/apis/index.js +1 -0
  8. package/dist/esm/ext/telemetry.js +1 -1
  9. package/dist/esm/models/DataResponseDTOFlagDTO.js +42 -0
  10. package/dist/esm/models/DataResponseDTOFlagEnvironmentValueDTO.js +42 -0
  11. package/dist/esm/models/DataResponseDTOListFlagEvaluationResultDTO.js +42 -0
  12. package/dist/esm/models/EventDTO.js +2 -0
  13. package/dist/esm/models/FlagCreateApiDTO.js +67 -0
  14. package/dist/esm/models/FlagDTO.js +98 -0
  15. package/dist/esm/models/FlagEnvironmentValueDTO.js +83 -0
  16. package/dist/esm/models/FlagEvaluationRequestDTO.js +47 -0
  17. package/dist/esm/models/FlagEvaluationResultDTO.js +55 -0
  18. package/dist/esm/models/FlagUpdateApiDTO.js +61 -0
  19. package/dist/esm/models/FlagVariantDTO.js +85 -0
  20. package/dist/esm/models/PageFlagDTO.js +64 -0
  21. package/dist/esm/models/index.js +11 -0
  22. package/dist/ext/telemetry.d.ts +1 -1
  23. package/dist/ext/telemetry.js +1 -1
  24. package/dist/models/DataResponseDTOFlagDTO.d.ts +33 -0
  25. package/dist/models/DataResponseDTOFlagDTO.js +49 -0
  26. package/dist/models/DataResponseDTOFlagEnvironmentValueDTO.d.ts +33 -0
  27. package/dist/models/DataResponseDTOFlagEnvironmentValueDTO.js +49 -0
  28. package/dist/models/DataResponseDTOListFlagEvaluationResultDTO.d.ts +33 -0
  29. package/dist/models/DataResponseDTOListFlagEvaluationResultDTO.js +49 -0
  30. package/dist/models/EventDTO.d.ts +6 -0
  31. package/dist/models/EventDTO.js +2 -0
  32. package/dist/models/FlagCreateApiDTO.d.ts +79 -0
  33. package/dist/models/FlagCreateApiDTO.js +75 -0
  34. package/dist/models/FlagDTO.d.ts +166 -0
  35. package/dist/models/FlagDTO.js +106 -0
  36. package/dist/models/FlagEnvironmentValueDTO.d.ts +140 -0
  37. package/dist/models/FlagEnvironmentValueDTO.js +91 -0
  38. package/dist/models/FlagEvaluationRequestDTO.d.ts +44 -0
  39. package/dist/models/FlagEvaluationRequestDTO.js +54 -0
  40. package/dist/models/FlagEvaluationResultDTO.d.ts +74 -0
  41. package/dist/models/FlagEvaluationResultDTO.js +62 -0
  42. package/dist/models/FlagUpdateApiDTO.d.ts +73 -0
  43. package/dist/models/FlagUpdateApiDTO.js +69 -0
  44. package/dist/models/FlagVariantDTO.d.ts +140 -0
  45. package/dist/models/FlagVariantDTO.js +93 -0
  46. package/dist/models/PageFlagDTO.d.ts +95 -0
  47. package/dist/models/PageFlagDTO.js +71 -0
  48. package/dist/models/index.d.ts +11 -0
  49. package/dist/models/index.js +11 -0
  50. package/package.json +1 -1
@@ -0,0 +1,74 @@
1
+ /**
2
+ * Vergefy API
3
+ * <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>
4
+ *
5
+ * The version of the OpenAPI document: 2026-05-30
6
+ * Contact: support@integrahub.co
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Resolved value of one feature flag in one environment
14
+ * @export
15
+ * @interface FlagEvaluationResultDTO
16
+ */
17
+ export interface FlagEvaluationResultDTO {
18
+ /**
19
+ * True when no value was configured for this environment and the disabled fallback was used
20
+ * @type {boolean}
21
+ * @memberof FlagEvaluationResultDTO
22
+ */
23
+ defaulted?: boolean;
24
+ /**
25
+ * Whether the flag is on in this environment
26
+ * @type {boolean}
27
+ * @memberof FlagEvaluationResultDTO
28
+ */
29
+ enabled?: boolean;
30
+ /**
31
+ * Environment the value was resolved for
32
+ * @type {string}
33
+ * @memberof FlagEvaluationResultDTO
34
+ */
35
+ environment?: string;
36
+ /**
37
+ * Flag id
38
+ * @type {string}
39
+ * @memberof FlagEvaluationResultDTO
40
+ */
41
+ flagId?: string;
42
+ /**
43
+ * Flag type: BOOLEAN, STRING, NUMBER or JSON
44
+ * @type {string}
45
+ * @memberof FlagEvaluationResultDTO
46
+ */
47
+ flagType?: string;
48
+ /**
49
+ * Flag slug
50
+ * @type {string}
51
+ * @memberof FlagEvaluationResultDTO
52
+ */
53
+ slug?: string;
54
+ /**
55
+ * Serialized value of the pinned variant; null when none is pinned or the flag is off
56
+ * @type {string}
57
+ * @memberof FlagEvaluationResultDTO
58
+ */
59
+ value?: string;
60
+ /**
61
+ * Id of the pinned variant, when one is pinned
62
+ * @type {string}
63
+ * @memberof FlagEvaluationResultDTO
64
+ */
65
+ variantId?: string;
66
+ }
67
+ /**
68
+ * Check if a given object implements the FlagEvaluationResultDTO interface.
69
+ */
70
+ export declare function instanceOfFlagEvaluationResultDTO(value: object): value is FlagEvaluationResultDTO;
71
+ export declare function FlagEvaluationResultDTOFromJSON(json: any): FlagEvaluationResultDTO;
72
+ export declare function FlagEvaluationResultDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlagEvaluationResultDTO;
73
+ export declare function FlagEvaluationResultDTOToJSON(json: any): FlagEvaluationResultDTO;
74
+ export declare function FlagEvaluationResultDTOToJSONTyped(value?: FlagEvaluationResultDTO | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Vergefy API
6
+ * <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>
7
+ *
8
+ * The version of the OpenAPI document: 2026-05-30
9
+ * Contact: support@integrahub.co
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfFlagEvaluationResultDTO = instanceOfFlagEvaluationResultDTO;
17
+ exports.FlagEvaluationResultDTOFromJSON = FlagEvaluationResultDTOFromJSON;
18
+ exports.FlagEvaluationResultDTOFromJSONTyped = FlagEvaluationResultDTOFromJSONTyped;
19
+ exports.FlagEvaluationResultDTOToJSON = FlagEvaluationResultDTOToJSON;
20
+ exports.FlagEvaluationResultDTOToJSONTyped = FlagEvaluationResultDTOToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the FlagEvaluationResultDTO interface.
23
+ */
24
+ function instanceOfFlagEvaluationResultDTO(value) {
25
+ return true;
26
+ }
27
+ function FlagEvaluationResultDTOFromJSON(json) {
28
+ return FlagEvaluationResultDTOFromJSONTyped(json, false);
29
+ }
30
+ function FlagEvaluationResultDTOFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'defaulted': json['defaulted'] == null ? undefined : json['defaulted'],
36
+ 'enabled': json['enabled'] == null ? undefined : json['enabled'],
37
+ 'environment': json['environment'] == null ? undefined : json['environment'],
38
+ 'flagId': json['flagId'] == null ? undefined : json['flagId'],
39
+ 'flagType': json['flagType'] == null ? undefined : json['flagType'],
40
+ 'slug': json['slug'] == null ? undefined : json['slug'],
41
+ 'value': json['value'] == null ? undefined : json['value'],
42
+ 'variantId': json['variantId'] == null ? undefined : json['variantId'],
43
+ };
44
+ }
45
+ function FlagEvaluationResultDTOToJSON(json) {
46
+ return FlagEvaluationResultDTOToJSONTyped(json, false);
47
+ }
48
+ function FlagEvaluationResultDTOToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'defaulted': value['defaulted'],
54
+ 'enabled': value['enabled'],
55
+ 'environment': value['environment'],
56
+ 'flagId': value['flagId'],
57
+ 'flagType': value['flagType'],
58
+ 'slug': value['slug'],
59
+ 'value': value['value'],
60
+ 'variantId': value['variantId'],
61
+ };
62
+ }
@@ -0,0 +1,73 @@
1
+ /**
2
+ * Vergefy API
3
+ * <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>
4
+ *
5
+ * The version of the OpenAPI document: 2026-05-30
6
+ * Contact: support@integrahub.co
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { FlagVariantDTO } from './FlagVariantDTO';
13
+ /**
14
+ * API request for updating a feature flag
15
+ * @export
16
+ * @interface FlagUpdateApiDTO
17
+ */
18
+ export interface FlagUpdateApiDTO {
19
+ /**
20
+ * Free-text description of what the flag controls
21
+ * @type {string}
22
+ * @memberof FlagUpdateApiDTO
23
+ */
24
+ description?: string;
25
+ /**
26
+ * Master kill-switch. While false the flag is off in every environment
27
+ * @type {boolean}
28
+ * @memberof FlagUpdateApiDTO
29
+ */
30
+ enabled?: boolean;
31
+ /**
32
+ * Value type of the flag
33
+ * @type {FlagUpdateApiDTOFlagTypeEnum}
34
+ * @memberof FlagUpdateApiDTO
35
+ */
36
+ flagType?: FlagUpdateApiDTOFlagTypeEnum;
37
+ /**
38
+ * Human-readable flag name
39
+ * @type {string}
40
+ * @memberof FlagUpdateApiDTO
41
+ */
42
+ name?: string;
43
+ /**
44
+ * Optional project this flag belongs to
45
+ * @type {string}
46
+ * @memberof FlagUpdateApiDTO
47
+ */
48
+ projectKey?: string;
49
+ /**
50
+ * Full replacement of the variant list. Null leaves the current variants untouched; any supplied list replaces them wholesale.
51
+ * @type {Array<FlagVariantDTO>}
52
+ * @memberof FlagUpdateApiDTO
53
+ */
54
+ variants?: Array<FlagVariantDTO>;
55
+ }
56
+ /**
57
+ * @export
58
+ */
59
+ export declare const FlagUpdateApiDTOFlagTypeEnum: {
60
+ readonly Boolean: "BOOLEAN";
61
+ readonly String: "STRING";
62
+ readonly Number: "NUMBER";
63
+ readonly Json: "JSON";
64
+ };
65
+ export type FlagUpdateApiDTOFlagTypeEnum = typeof FlagUpdateApiDTOFlagTypeEnum[keyof typeof FlagUpdateApiDTOFlagTypeEnum];
66
+ /**
67
+ * Check if a given object implements the FlagUpdateApiDTO interface.
68
+ */
69
+ export declare function instanceOfFlagUpdateApiDTO(value: object): value is FlagUpdateApiDTO;
70
+ export declare function FlagUpdateApiDTOFromJSON(json: any): FlagUpdateApiDTO;
71
+ export declare function FlagUpdateApiDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlagUpdateApiDTO;
72
+ export declare function FlagUpdateApiDTOToJSON(json: any): FlagUpdateApiDTO;
73
+ export declare function FlagUpdateApiDTOToJSONTyped(value?: FlagUpdateApiDTO | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Vergefy API
6
+ * <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>
7
+ *
8
+ * The version of the OpenAPI document: 2026-05-30
9
+ * Contact: support@integrahub.co
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.FlagUpdateApiDTOFlagTypeEnum = void 0;
17
+ exports.instanceOfFlagUpdateApiDTO = instanceOfFlagUpdateApiDTO;
18
+ exports.FlagUpdateApiDTOFromJSON = FlagUpdateApiDTOFromJSON;
19
+ exports.FlagUpdateApiDTOFromJSONTyped = FlagUpdateApiDTOFromJSONTyped;
20
+ exports.FlagUpdateApiDTOToJSON = FlagUpdateApiDTOToJSON;
21
+ exports.FlagUpdateApiDTOToJSONTyped = FlagUpdateApiDTOToJSONTyped;
22
+ const FlagVariantDTO_1 = require("./FlagVariantDTO");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.FlagUpdateApiDTOFlagTypeEnum = {
27
+ Boolean: 'BOOLEAN',
28
+ String: 'STRING',
29
+ Number: 'NUMBER',
30
+ Json: 'JSON'
31
+ };
32
+ /**
33
+ * Check if a given object implements the FlagUpdateApiDTO interface.
34
+ */
35
+ function instanceOfFlagUpdateApiDTO(value) {
36
+ return true;
37
+ }
38
+ function FlagUpdateApiDTOFromJSON(json) {
39
+ return FlagUpdateApiDTOFromJSONTyped(json, false);
40
+ }
41
+ function FlagUpdateApiDTOFromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'description': json['description'] == null ? undefined : json['description'],
47
+ 'enabled': json['enabled'] == null ? undefined : json['enabled'],
48
+ 'flagType': json['flagType'] == null ? undefined : json['flagType'],
49
+ 'name': json['name'] == null ? undefined : json['name'],
50
+ 'projectKey': json['projectKey'] == null ? undefined : json['projectKey'],
51
+ 'variants': json['variants'] == null ? undefined : (json['variants'].map(FlagVariantDTO_1.FlagVariantDTOFromJSON)),
52
+ };
53
+ }
54
+ function FlagUpdateApiDTOToJSON(json) {
55
+ return FlagUpdateApiDTOToJSONTyped(json, false);
56
+ }
57
+ function FlagUpdateApiDTOToJSONTyped(value, ignoreDiscriminator = false) {
58
+ if (value == null) {
59
+ return value;
60
+ }
61
+ return {
62
+ 'description': value['description'],
63
+ 'enabled': value['enabled'],
64
+ 'flagType': value['flagType'],
65
+ 'name': value['name'],
66
+ 'projectKey': value['projectKey'],
67
+ 'variants': value['variants'] == null ? undefined : (value['variants'].map(FlagVariantDTO_1.FlagVariantDTOToJSON)),
68
+ };
69
+ }
@@ -0,0 +1,140 @@
1
+ /**
2
+ * Vergefy API
3
+ * <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>
4
+ *
5
+ * The version of the OpenAPI document: 2026-05-30
6
+ * Contact: support@integrahub.co
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ElementPermissionBasedEntityEmbeddableDTO } from './ElementPermissionBasedEntityEmbeddableDTO';
13
+ /**
14
+ * A selectable value of a feature flag
15
+ * @export
16
+ * @interface FlagVariantDTO
17
+ */
18
+ export interface FlagVariantDTO {
19
+ /**
20
+ *
21
+ * @type {Date}
22
+ * @memberof FlagVariantDTO
23
+ */
24
+ createdAt?: Date;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof FlagVariantDTO
29
+ */
30
+ createdBy?: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof FlagVariantDTO
35
+ */
36
+ customId?: string;
37
+ /**
38
+ *
39
+ * @type {Date}
40
+ * @memberof FlagVariantDTO
41
+ */
42
+ deletedAt?: Date;
43
+ /**
44
+ *
45
+ * @type {FlagVariantDTOEntityStatusEnum}
46
+ * @memberof FlagVariantDTO
47
+ */
48
+ entityStatus?: FlagVariantDTOEntityStatusEnum;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof FlagVariantDTO
53
+ */
54
+ externalId?: string;
55
+ /**
56
+ * Owning flag id
57
+ * @type {string}
58
+ * @memberof FlagVariantDTO
59
+ */
60
+ readonly flagId?: string;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof FlagVariantDTO
65
+ */
66
+ id?: string;
67
+ /**
68
+ * Optional display label shown in the UI
69
+ * @type {string}
70
+ * @memberof FlagVariantDTO
71
+ */
72
+ label?: string;
73
+ /**
74
+ *
75
+ * @type {Date}
76
+ * @memberof FlagVariantDTO
77
+ */
78
+ lastModifiedAt?: Date;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof FlagVariantDTO
83
+ */
84
+ lastModifiedBy?: string;
85
+ /**
86
+ *
87
+ * @type {string}
88
+ * @memberof FlagVariantDTO
89
+ */
90
+ namespaceKey?: string;
91
+ /**
92
+ *
93
+ * @type {number}
94
+ * @memberof FlagVariantDTO
95
+ */
96
+ orderNumber?: number;
97
+ /**
98
+ * Display order within the flag
99
+ * @type {number}
100
+ * @memberof FlagVariantDTO
101
+ */
102
+ ordinal?: number;
103
+ /**
104
+ *
105
+ * @type {ElementPermissionBasedEntityEmbeddableDTO}
106
+ * @memberof FlagVariantDTO
107
+ */
108
+ permission?: ElementPermissionBasedEntityEmbeddableDTO;
109
+ /**
110
+ * Serialized variant value, interpreted per the owning flag's type
111
+ * @type {string}
112
+ * @memberof FlagVariantDTO
113
+ */
114
+ value: string;
115
+ /**
116
+ *
117
+ * @type {number}
118
+ * @memberof FlagVariantDTO
119
+ */
120
+ version?: number;
121
+ }
122
+ /**
123
+ * @export
124
+ */
125
+ export declare const FlagVariantDTOEntityStatusEnum: {
126
+ readonly Active: "ACTIVE";
127
+ readonly Passive: "PASSIVE";
128
+ readonly Archived: "ARCHIVED";
129
+ readonly Deleted: "DELETED";
130
+ readonly Pending: "PENDING";
131
+ };
132
+ export type FlagVariantDTOEntityStatusEnum = typeof FlagVariantDTOEntityStatusEnum[keyof typeof FlagVariantDTOEntityStatusEnum];
133
+ /**
134
+ * Check if a given object implements the FlagVariantDTO interface.
135
+ */
136
+ export declare function instanceOfFlagVariantDTO(value: object): value is FlagVariantDTO;
137
+ export declare function FlagVariantDTOFromJSON(json: any): FlagVariantDTO;
138
+ export declare function FlagVariantDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlagVariantDTO;
139
+ export declare function FlagVariantDTOToJSON(json: any): FlagVariantDTO;
140
+ export declare function FlagVariantDTOToJSONTyped(value?: Omit<FlagVariantDTO, 'flagId'> | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,93 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Vergefy API
6
+ * <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>
7
+ *
8
+ * The version of the OpenAPI document: 2026-05-30
9
+ * Contact: support@integrahub.co
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.FlagVariantDTOEntityStatusEnum = void 0;
17
+ exports.instanceOfFlagVariantDTO = instanceOfFlagVariantDTO;
18
+ exports.FlagVariantDTOFromJSON = FlagVariantDTOFromJSON;
19
+ exports.FlagVariantDTOFromJSONTyped = FlagVariantDTOFromJSONTyped;
20
+ exports.FlagVariantDTOToJSON = FlagVariantDTOToJSON;
21
+ exports.FlagVariantDTOToJSONTyped = FlagVariantDTOToJSONTyped;
22
+ const ElementPermissionBasedEntityEmbeddableDTO_1 = require("./ElementPermissionBasedEntityEmbeddableDTO");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.FlagVariantDTOEntityStatusEnum = {
27
+ Active: 'ACTIVE',
28
+ Passive: 'PASSIVE',
29
+ Archived: 'ARCHIVED',
30
+ Deleted: 'DELETED',
31
+ Pending: 'PENDING'
32
+ };
33
+ /**
34
+ * Check if a given object implements the FlagVariantDTO interface.
35
+ */
36
+ function instanceOfFlagVariantDTO(value) {
37
+ if (!('value' in value) || value['value'] === undefined)
38
+ return false;
39
+ return true;
40
+ }
41
+ function FlagVariantDTOFromJSON(json) {
42
+ return FlagVariantDTOFromJSONTyped(json, false);
43
+ }
44
+ function FlagVariantDTOFromJSONTyped(json, ignoreDiscriminator) {
45
+ if (json == null) {
46
+ return json;
47
+ }
48
+ return {
49
+ 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
50
+ 'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
51
+ 'customId': json['customId'] == null ? undefined : json['customId'],
52
+ 'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
53
+ 'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
54
+ 'externalId': json['externalId'] == null ? undefined : json['externalId'],
55
+ 'flagId': json['flagId'] == null ? undefined : json['flagId'],
56
+ 'id': json['id'] == null ? undefined : json['id'],
57
+ 'label': json['label'] == null ? undefined : json['label'],
58
+ 'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
59
+ 'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
60
+ 'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
61
+ 'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
62
+ 'ordinal': json['ordinal'] == null ? undefined : json['ordinal'],
63
+ 'permission': json['permission'] == null ? undefined : (0, ElementPermissionBasedEntityEmbeddableDTO_1.ElementPermissionBasedEntityEmbeddableDTOFromJSON)(json['permission']),
64
+ 'value': json['value'],
65
+ 'version': json['version'] == null ? undefined : json['version'],
66
+ };
67
+ }
68
+ function FlagVariantDTOToJSON(json) {
69
+ return FlagVariantDTOToJSONTyped(json, false);
70
+ }
71
+ function FlagVariantDTOToJSONTyped(value, ignoreDiscriminator = false) {
72
+ if (value == null) {
73
+ return value;
74
+ }
75
+ return {
76
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
77
+ 'createdBy': value['createdBy'],
78
+ 'customId': value['customId'],
79
+ 'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
80
+ 'entityStatus': value['entityStatus'],
81
+ 'externalId': value['externalId'],
82
+ 'id': value['id'],
83
+ 'label': value['label'],
84
+ 'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
85
+ 'lastModifiedBy': value['lastModifiedBy'],
86
+ 'namespaceKey': value['namespaceKey'],
87
+ 'orderNumber': value['orderNumber'],
88
+ 'ordinal': value['ordinal'],
89
+ 'permission': (0, ElementPermissionBasedEntityEmbeddableDTO_1.ElementPermissionBasedEntityEmbeddableDTOToJSON)(value['permission']),
90
+ 'value': value['value'],
91
+ 'version': value['version'],
92
+ };
93
+ }
@@ -0,0 +1,95 @@
1
+ /**
2
+ * Vergefy API
3
+ * <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>
4
+ *
5
+ * The version of the OpenAPI document: 2026-05-30
6
+ * Contact: support@integrahub.co
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { PageableObject } from './PageableObject';
13
+ import type { FlagDTO } from './FlagDTO';
14
+ import type { SortObject } from './SortObject';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface PageFlagDTO
19
+ */
20
+ export interface PageFlagDTO {
21
+ /**
22
+ *
23
+ * @type {Array<FlagDTO>}
24
+ * @memberof PageFlagDTO
25
+ */
26
+ content?: Array<FlagDTO>;
27
+ /**
28
+ *
29
+ * @type {boolean}
30
+ * @memberof PageFlagDTO
31
+ */
32
+ empty?: boolean;
33
+ /**
34
+ *
35
+ * @type {boolean}
36
+ * @memberof PageFlagDTO
37
+ */
38
+ first?: boolean;
39
+ /**
40
+ *
41
+ * @type {boolean}
42
+ * @memberof PageFlagDTO
43
+ */
44
+ last?: boolean;
45
+ /**
46
+ *
47
+ * @type {number}
48
+ * @memberof PageFlagDTO
49
+ */
50
+ number?: number;
51
+ /**
52
+ *
53
+ * @type {number}
54
+ * @memberof PageFlagDTO
55
+ */
56
+ numberOfElements?: number;
57
+ /**
58
+ *
59
+ * @type {PageableObject}
60
+ * @memberof PageFlagDTO
61
+ */
62
+ pageable?: PageableObject;
63
+ /**
64
+ *
65
+ * @type {number}
66
+ * @memberof PageFlagDTO
67
+ */
68
+ size?: number;
69
+ /**
70
+ *
71
+ * @type {SortObject}
72
+ * @memberof PageFlagDTO
73
+ */
74
+ sort?: SortObject;
75
+ /**
76
+ *
77
+ * @type {number}
78
+ * @memberof PageFlagDTO
79
+ */
80
+ totalElements?: number;
81
+ /**
82
+ *
83
+ * @type {number}
84
+ * @memberof PageFlagDTO
85
+ */
86
+ totalPages?: number;
87
+ }
88
+ /**
89
+ * Check if a given object implements the PageFlagDTO interface.
90
+ */
91
+ export declare function instanceOfPageFlagDTO(value: object): value is PageFlagDTO;
92
+ export declare function PageFlagDTOFromJSON(json: any): PageFlagDTO;
93
+ export declare function PageFlagDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageFlagDTO;
94
+ export declare function PageFlagDTOToJSON(json: any): PageFlagDTO;
95
+ export declare function PageFlagDTOToJSONTyped(value?: PageFlagDTO | null, ignoreDiscriminator?: boolean): any;