@integrahub/vergefy-client 0.10.0 → 0.12.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 (56) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/APIAFLFlagApi.d.ts +221 -0
  3. package/dist/apis/APIAFLFlagApi.js +606 -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 +602 -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/DataResponseDTOListFlagEnvironmentDefinitionDTO.js +42 -0
  12. package/dist/esm/models/DataResponseDTOListFlagEvaluationResultDTO.js +42 -0
  13. package/dist/esm/models/EventDTO.js +2 -0
  14. package/dist/esm/models/FlagCreateApiDTO.js +67 -0
  15. package/dist/esm/models/FlagDTO.js +98 -0
  16. package/dist/esm/models/FlagEnvironmentDefinitionDTO.js +88 -0
  17. package/dist/esm/models/FlagEnvironmentValueDTO.js +83 -0
  18. package/dist/esm/models/FlagEvaluationRequestDTO.js +47 -0
  19. package/dist/esm/models/FlagEvaluationResultDTO.js +55 -0
  20. package/dist/esm/models/FlagUpdateApiDTO.js +61 -0
  21. package/dist/esm/models/FlagVariantDTO.js +85 -0
  22. package/dist/esm/models/PageFlagDTO.js +64 -0
  23. package/dist/esm/models/index.js +13 -0
  24. package/dist/ext/telemetry.d.ts +1 -1
  25. package/dist/ext/telemetry.js +1 -1
  26. package/dist/models/DataResponseDTOFlagDTO.d.ts +33 -0
  27. package/dist/models/DataResponseDTOFlagDTO.js +49 -0
  28. package/dist/models/DataResponseDTOFlagEnvironmentValueDTO.d.ts +33 -0
  29. package/dist/models/DataResponseDTOFlagEnvironmentValueDTO.js +49 -0
  30. package/dist/models/DataResponseDTOListFlagEnvironmentDefinitionDTO.d.ts +33 -0
  31. package/dist/models/DataResponseDTOListFlagEnvironmentDefinitionDTO.js +49 -0
  32. package/dist/models/DataResponseDTOListFlagEvaluationResultDTO.d.ts +33 -0
  33. package/dist/models/DataResponseDTOListFlagEvaluationResultDTO.js +49 -0
  34. package/dist/models/EventDTO.d.ts +6 -0
  35. package/dist/models/EventDTO.js +2 -0
  36. package/dist/models/FlagCreateApiDTO.d.ts +79 -0
  37. package/dist/models/FlagCreateApiDTO.js +75 -0
  38. package/dist/models/FlagDTO.d.ts +166 -0
  39. package/dist/models/FlagDTO.js +106 -0
  40. package/dist/models/FlagEnvironmentDefinitionDTO.d.ts +140 -0
  41. package/dist/models/FlagEnvironmentDefinitionDTO.js +96 -0
  42. package/dist/models/FlagEnvironmentValueDTO.d.ts +140 -0
  43. package/dist/models/FlagEnvironmentValueDTO.js +91 -0
  44. package/dist/models/FlagEvaluationRequestDTO.d.ts +44 -0
  45. package/dist/models/FlagEvaluationRequestDTO.js +54 -0
  46. package/dist/models/FlagEvaluationResultDTO.d.ts +74 -0
  47. package/dist/models/FlagEvaluationResultDTO.js +62 -0
  48. package/dist/models/FlagUpdateApiDTO.d.ts +73 -0
  49. package/dist/models/FlagUpdateApiDTO.js +69 -0
  50. package/dist/models/FlagVariantDTO.d.ts +140 -0
  51. package/dist/models/FlagVariantDTO.js +93 -0
  52. package/dist/models/PageFlagDTO.d.ts +95 -0
  53. package/dist/models/PageFlagDTO.js +71 -0
  54. package/dist/models/index.d.ts +13 -0
  55. package/dist/models/index.js +13 -0
  56. package/package.json +1 -1
@@ -0,0 +1,96 @@
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.FlagEnvironmentDefinitionDTOEntityStatusEnum = void 0;
17
+ exports.instanceOfFlagEnvironmentDefinitionDTO = instanceOfFlagEnvironmentDefinitionDTO;
18
+ exports.FlagEnvironmentDefinitionDTOFromJSON = FlagEnvironmentDefinitionDTOFromJSON;
19
+ exports.FlagEnvironmentDefinitionDTOFromJSONTyped = FlagEnvironmentDefinitionDTOFromJSONTyped;
20
+ exports.FlagEnvironmentDefinitionDTOToJSON = FlagEnvironmentDefinitionDTOToJSON;
21
+ exports.FlagEnvironmentDefinitionDTOToJSONTyped = FlagEnvironmentDefinitionDTOToJSONTyped;
22
+ const ElementPermissionBasedEntityEmbeddableDTO_1 = require("./ElementPermissionBasedEntityEmbeddableDTO");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.FlagEnvironmentDefinitionDTOEntityStatusEnum = {
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 FlagEnvironmentDefinitionDTO interface.
35
+ */
36
+ function instanceOfFlagEnvironmentDefinitionDTO(value) {
37
+ if (!('key' in value) || value['key'] === undefined)
38
+ return false;
39
+ if (!('name' in value) || value['name'] === undefined)
40
+ return false;
41
+ return true;
42
+ }
43
+ function FlagEnvironmentDefinitionDTOFromJSON(json) {
44
+ return FlagEnvironmentDefinitionDTOFromJSONTyped(json, false);
45
+ }
46
+ function FlagEnvironmentDefinitionDTOFromJSONTyped(json, ignoreDiscriminator) {
47
+ if (json == null) {
48
+ return json;
49
+ }
50
+ return {
51
+ 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
52
+ 'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
53
+ 'customId': json['customId'] == null ? undefined : json['customId'],
54
+ 'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
55
+ 'description': json['description'] == null ? undefined : json['description'],
56
+ 'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
57
+ 'externalId': json['externalId'] == null ? undefined : json['externalId'],
58
+ 'id': json['id'] == null ? undefined : json['id'],
59
+ 'key': json['key'],
60
+ 'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
61
+ 'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
62
+ 'name': json['name'],
63
+ 'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
64
+ 'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
65
+ 'ordinal': json['ordinal'] == null ? undefined : json['ordinal'],
66
+ 'permission': json['permission'] == null ? undefined : (0, ElementPermissionBasedEntityEmbeddableDTO_1.ElementPermissionBasedEntityEmbeddableDTOFromJSON)(json['permission']),
67
+ 'version': json['version'] == null ? undefined : json['version'],
68
+ };
69
+ }
70
+ function FlagEnvironmentDefinitionDTOToJSON(json) {
71
+ return FlagEnvironmentDefinitionDTOToJSONTyped(json, false);
72
+ }
73
+ function FlagEnvironmentDefinitionDTOToJSONTyped(value, ignoreDiscriminator = false) {
74
+ if (value == null) {
75
+ return value;
76
+ }
77
+ return {
78
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
79
+ 'createdBy': value['createdBy'],
80
+ 'customId': value['customId'],
81
+ 'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
82
+ 'description': value['description'],
83
+ 'entityStatus': value['entityStatus'],
84
+ 'externalId': value['externalId'],
85
+ 'id': value['id'],
86
+ 'key': value['key'],
87
+ 'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
88
+ 'lastModifiedBy': value['lastModifiedBy'],
89
+ 'name': value['name'],
90
+ 'namespaceKey': value['namespaceKey'],
91
+ 'orderNumber': value['orderNumber'],
92
+ 'ordinal': value['ordinal'],
93
+ 'permission': (0, ElementPermissionBasedEntityEmbeddableDTO_1.ElementPermissionBasedEntityEmbeddableDTOToJSON)(value['permission']),
94
+ 'version': value['version'],
95
+ };
96
+ }
@@ -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
+ * Per-environment configured state of a feature flag
15
+ * @export
16
+ * @interface FlagEnvironmentValueDTO
17
+ */
18
+ export interface FlagEnvironmentValueDTO {
19
+ /**
20
+ *
21
+ * @type {Date}
22
+ * @memberof FlagEnvironmentValueDTO
23
+ */
24
+ createdAt?: Date;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof FlagEnvironmentValueDTO
29
+ */
30
+ createdBy?: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof FlagEnvironmentValueDTO
35
+ */
36
+ customId?: string;
37
+ /**
38
+ *
39
+ * @type {Date}
40
+ * @memberof FlagEnvironmentValueDTO
41
+ */
42
+ deletedAt?: Date;
43
+ /**
44
+ * Whether the flag is switched on in this environment
45
+ * @type {boolean}
46
+ * @memberof FlagEnvironmentValueDTO
47
+ */
48
+ enabled?: boolean;
49
+ /**
50
+ *
51
+ * @type {FlagEnvironmentValueDTOEntityStatusEnum}
52
+ * @memberof FlagEnvironmentValueDTO
53
+ */
54
+ entityStatus?: FlagEnvironmentValueDTOEntityStatusEnum;
55
+ /**
56
+ * Environment this value applies to: PRODUCTION, PREVIEW or DEVELOPMENT
57
+ * @type {string}
58
+ * @memberof FlagEnvironmentValueDTO
59
+ */
60
+ environment?: string;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof FlagEnvironmentValueDTO
65
+ */
66
+ externalId?: string;
67
+ /**
68
+ * Owning flag id
69
+ * @type {string}
70
+ * @memberof FlagEnvironmentValueDTO
71
+ */
72
+ readonly flagId?: string;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof FlagEnvironmentValueDTO
77
+ */
78
+ id?: string;
79
+ /**
80
+ *
81
+ * @type {Date}
82
+ * @memberof FlagEnvironmentValueDTO
83
+ */
84
+ lastModifiedAt?: Date;
85
+ /**
86
+ *
87
+ * @type {string}
88
+ * @memberof FlagEnvironmentValueDTO
89
+ */
90
+ lastModifiedBy?: string;
91
+ /**
92
+ *
93
+ * @type {string}
94
+ * @memberof FlagEnvironmentValueDTO
95
+ */
96
+ namespaceKey?: string;
97
+ /**
98
+ *
99
+ * @type {number}
100
+ * @memberof FlagEnvironmentValueDTO
101
+ */
102
+ orderNumber?: number;
103
+ /**
104
+ *
105
+ * @type {ElementPermissionBasedEntityEmbeddableDTO}
106
+ * @memberof FlagEnvironmentValueDTO
107
+ */
108
+ permission?: ElementPermissionBasedEntityEmbeddableDTO;
109
+ /**
110
+ * Variant selected for this environment; null means no variant is pinned
111
+ * @type {string}
112
+ * @memberof FlagEnvironmentValueDTO
113
+ */
114
+ variantId?: string;
115
+ /**
116
+ *
117
+ * @type {number}
118
+ * @memberof FlagEnvironmentValueDTO
119
+ */
120
+ version?: number;
121
+ }
122
+ /**
123
+ * @export
124
+ */
125
+ export declare const FlagEnvironmentValueDTOEntityStatusEnum: {
126
+ readonly Active: "ACTIVE";
127
+ readonly Passive: "PASSIVE";
128
+ readonly Archived: "ARCHIVED";
129
+ readonly Deleted: "DELETED";
130
+ readonly Pending: "PENDING";
131
+ };
132
+ export type FlagEnvironmentValueDTOEntityStatusEnum = typeof FlagEnvironmentValueDTOEntityStatusEnum[keyof typeof FlagEnvironmentValueDTOEntityStatusEnum];
133
+ /**
134
+ * Check if a given object implements the FlagEnvironmentValueDTO interface.
135
+ */
136
+ export declare function instanceOfFlagEnvironmentValueDTO(value: object): value is FlagEnvironmentValueDTO;
137
+ export declare function FlagEnvironmentValueDTOFromJSON(json: any): FlagEnvironmentValueDTO;
138
+ export declare function FlagEnvironmentValueDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlagEnvironmentValueDTO;
139
+ export declare function FlagEnvironmentValueDTOToJSON(json: any): FlagEnvironmentValueDTO;
140
+ export declare function FlagEnvironmentValueDTOToJSONTyped(value?: Omit<FlagEnvironmentValueDTO, 'flagId'> | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,91 @@
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.FlagEnvironmentValueDTOEntityStatusEnum = void 0;
17
+ exports.instanceOfFlagEnvironmentValueDTO = instanceOfFlagEnvironmentValueDTO;
18
+ exports.FlagEnvironmentValueDTOFromJSON = FlagEnvironmentValueDTOFromJSON;
19
+ exports.FlagEnvironmentValueDTOFromJSONTyped = FlagEnvironmentValueDTOFromJSONTyped;
20
+ exports.FlagEnvironmentValueDTOToJSON = FlagEnvironmentValueDTOToJSON;
21
+ exports.FlagEnvironmentValueDTOToJSONTyped = FlagEnvironmentValueDTOToJSONTyped;
22
+ const ElementPermissionBasedEntityEmbeddableDTO_1 = require("./ElementPermissionBasedEntityEmbeddableDTO");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.FlagEnvironmentValueDTOEntityStatusEnum = {
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 FlagEnvironmentValueDTO interface.
35
+ */
36
+ function instanceOfFlagEnvironmentValueDTO(value) {
37
+ return true;
38
+ }
39
+ function FlagEnvironmentValueDTOFromJSON(json) {
40
+ return FlagEnvironmentValueDTOFromJSONTyped(json, false);
41
+ }
42
+ function FlagEnvironmentValueDTOFromJSONTyped(json, ignoreDiscriminator) {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+ 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
48
+ 'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
49
+ 'customId': json['customId'] == null ? undefined : json['customId'],
50
+ 'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
51
+ 'enabled': json['enabled'] == null ? undefined : json['enabled'],
52
+ 'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
53
+ 'environment': json['environment'] == null ? undefined : json['environment'],
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
+ 'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
58
+ 'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
59
+ 'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
60
+ 'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
61
+ 'permission': json['permission'] == null ? undefined : (0, ElementPermissionBasedEntityEmbeddableDTO_1.ElementPermissionBasedEntityEmbeddableDTOFromJSON)(json['permission']),
62
+ 'variantId': json['variantId'] == null ? undefined : json['variantId'],
63
+ 'version': json['version'] == null ? undefined : json['version'],
64
+ };
65
+ }
66
+ function FlagEnvironmentValueDTOToJSON(json) {
67
+ return FlagEnvironmentValueDTOToJSONTyped(json, false);
68
+ }
69
+ function FlagEnvironmentValueDTOToJSONTyped(value, ignoreDiscriminator = false) {
70
+ if (value == null) {
71
+ return value;
72
+ }
73
+ return {
74
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
75
+ 'createdBy': value['createdBy'],
76
+ 'customId': value['customId'],
77
+ 'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
78
+ 'enabled': value['enabled'],
79
+ 'entityStatus': value['entityStatus'],
80
+ 'environment': value['environment'],
81
+ 'externalId': value['externalId'],
82
+ 'id': value['id'],
83
+ 'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
84
+ 'lastModifiedBy': value['lastModifiedBy'],
85
+ 'namespaceKey': value['namespaceKey'],
86
+ 'orderNumber': value['orderNumber'],
87
+ 'permission': (0, ElementPermissionBasedEntityEmbeddableDTO_1.ElementPermissionBasedEntityEmbeddableDTOToJSON)(value['permission']),
88
+ 'variantId': value['variantId'],
89
+ 'version': value['version'],
90
+ };
91
+ }
@@ -0,0 +1,44 @@
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
+ * Request to evaluate feature flags for one environment
14
+ * @export
15
+ * @interface FlagEvaluationRequestDTO
16
+ */
17
+ export interface FlagEvaluationRequestDTO {
18
+ /**
19
+ * Environment to evaluate in: PRODUCTION, PREVIEW or DEVELOPMENT
20
+ * @type {string}
21
+ * @memberof FlagEvaluationRequestDTO
22
+ */
23
+ environment: string;
24
+ /**
25
+ * Restrict evaluation to one project
26
+ * @type {string}
27
+ * @memberof FlagEvaluationRequestDTO
28
+ */
29
+ projectKey?: string;
30
+ /**
31
+ * Flag slugs to evaluate; empty evaluates every flag of the tenant
32
+ * @type {Array<string>}
33
+ * @memberof FlagEvaluationRequestDTO
34
+ */
35
+ slugs?: Array<string>;
36
+ }
37
+ /**
38
+ * Check if a given object implements the FlagEvaluationRequestDTO interface.
39
+ */
40
+ export declare function instanceOfFlagEvaluationRequestDTO(value: object): value is FlagEvaluationRequestDTO;
41
+ export declare function FlagEvaluationRequestDTOFromJSON(json: any): FlagEvaluationRequestDTO;
42
+ export declare function FlagEvaluationRequestDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlagEvaluationRequestDTO;
43
+ export declare function FlagEvaluationRequestDTOToJSON(json: any): FlagEvaluationRequestDTO;
44
+ export declare function FlagEvaluationRequestDTOToJSONTyped(value?: FlagEvaluationRequestDTO | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
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.instanceOfFlagEvaluationRequestDTO = instanceOfFlagEvaluationRequestDTO;
17
+ exports.FlagEvaluationRequestDTOFromJSON = FlagEvaluationRequestDTOFromJSON;
18
+ exports.FlagEvaluationRequestDTOFromJSONTyped = FlagEvaluationRequestDTOFromJSONTyped;
19
+ exports.FlagEvaluationRequestDTOToJSON = FlagEvaluationRequestDTOToJSON;
20
+ exports.FlagEvaluationRequestDTOToJSONTyped = FlagEvaluationRequestDTOToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the FlagEvaluationRequestDTO interface.
23
+ */
24
+ function instanceOfFlagEvaluationRequestDTO(value) {
25
+ if (!('environment' in value) || value['environment'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function FlagEvaluationRequestDTOFromJSON(json) {
30
+ return FlagEvaluationRequestDTOFromJSONTyped(json, false);
31
+ }
32
+ function FlagEvaluationRequestDTOFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'environment': json['environment'],
38
+ 'projectKey': json['projectKey'] == null ? undefined : json['projectKey'],
39
+ 'slugs': json['slugs'] == null ? undefined : json['slugs'],
40
+ };
41
+ }
42
+ function FlagEvaluationRequestDTOToJSON(json) {
43
+ return FlagEvaluationRequestDTOToJSONTyped(json, false);
44
+ }
45
+ function FlagEvaluationRequestDTOToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'environment': value['environment'],
51
+ 'projectKey': value['projectKey'],
52
+ 'slugs': value['slugs'],
53
+ };
54
+ }
@@ -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
+ }