@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.
- package/README.md +2 -2
- package/dist/apis/APIAFLFlagApi.d.ts +209 -0
- package/dist/apis/APIAFLFlagApi.js +554 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/APIAFLFlagApi.js +550 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/ext/telemetry.js +1 -1
- package/dist/esm/models/DataResponseDTOFlagDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOFlagEnvironmentValueDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOListFlagEvaluationResultDTO.js +42 -0
- package/dist/esm/models/EventDTO.js +2 -0
- package/dist/esm/models/FlagCreateApiDTO.js +67 -0
- package/dist/esm/models/FlagDTO.js +98 -0
- package/dist/esm/models/FlagEnvironmentValueDTO.js +83 -0
- package/dist/esm/models/FlagEvaluationRequestDTO.js +47 -0
- package/dist/esm/models/FlagEvaluationResultDTO.js +55 -0
- package/dist/esm/models/FlagUpdateApiDTO.js +61 -0
- package/dist/esm/models/FlagVariantDTO.js +85 -0
- package/dist/esm/models/PageFlagDTO.js +64 -0
- package/dist/esm/models/index.js +11 -0
- package/dist/ext/telemetry.d.ts +1 -1
- package/dist/ext/telemetry.js +1 -1
- package/dist/models/DataResponseDTOFlagDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOFlagDTO.js +49 -0
- package/dist/models/DataResponseDTOFlagEnvironmentValueDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOFlagEnvironmentValueDTO.js +49 -0
- package/dist/models/DataResponseDTOListFlagEvaluationResultDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOListFlagEvaluationResultDTO.js +49 -0
- package/dist/models/EventDTO.d.ts +6 -0
- package/dist/models/EventDTO.js +2 -0
- package/dist/models/FlagCreateApiDTO.d.ts +79 -0
- package/dist/models/FlagCreateApiDTO.js +75 -0
- package/dist/models/FlagDTO.d.ts +166 -0
- package/dist/models/FlagDTO.js +106 -0
- package/dist/models/FlagEnvironmentValueDTO.d.ts +140 -0
- package/dist/models/FlagEnvironmentValueDTO.js +91 -0
- package/dist/models/FlagEvaluationRequestDTO.d.ts +44 -0
- package/dist/models/FlagEvaluationRequestDTO.js +54 -0
- package/dist/models/FlagEvaluationResultDTO.d.ts +74 -0
- package/dist/models/FlagEvaluationResultDTO.js +62 -0
- package/dist/models/FlagUpdateApiDTO.d.ts +73 -0
- package/dist/models/FlagUpdateApiDTO.js +69 -0
- package/dist/models/FlagVariantDTO.d.ts +140 -0
- package/dist/models/FlagVariantDTO.js +93 -0
- package/dist/models/PageFlagDTO.d.ts +95 -0
- package/dist/models/PageFlagDTO.js +71 -0
- package/dist/models/index.d.ts +11 -0
- package/dist/models/index.js +11 -0
- package/package.json +1 -1
|
@@ -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 { FlagEvaluationResultDTOFromJSON, FlagEvaluationResultDTOToJSON, } from './FlagEvaluationResultDTO';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the DataResponseDTOListFlagEvaluationResultDTO interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfDataResponseDTOListFlagEvaluationResultDTO(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function DataResponseDTOListFlagEvaluationResultDTOFromJSON(json) {
|
|
22
|
+
return DataResponseDTOListFlagEvaluationResultDTOFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function DataResponseDTOListFlagEvaluationResultDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'data': json['data'] == null ? undefined : (json['data'].map(FlagEvaluationResultDTOFromJSON)),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function DataResponseDTOListFlagEvaluationResultDTOToJSON(json) {
|
|
33
|
+
return DataResponseDTOListFlagEvaluationResultDTOToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function DataResponseDTOListFlagEvaluationResultDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'data': value['data'] == null ? undefined : (value['data'].map(FlagEvaluationResultDTOToJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -79,6 +79,7 @@ export function EventDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
79
79
|
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
80
80
|
'format': json['format'] == null ? undefined : json['format'],
|
|
81
81
|
'id': json['id'] == null ? undefined : json['id'],
|
|
82
|
+
'isFeatured': json['isFeatured'] == null ? undefined : json['isFeatured'],
|
|
82
83
|
'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
|
|
83
84
|
'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
|
|
84
85
|
'maxAttendees': json['maxAttendees'] == null ? undefined : json['maxAttendees'],
|
|
@@ -120,6 +121,7 @@ export function EventDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
120
121
|
'externalId': value['externalId'],
|
|
121
122
|
'format': value['format'],
|
|
122
123
|
'id': value['id'],
|
|
124
|
+
'isFeatured': value['isFeatured'],
|
|
123
125
|
'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
|
|
124
126
|
'lastModifiedBy': value['lastModifiedBy'],
|
|
125
127
|
'maxAttendees': value['maxAttendees'],
|
|
@@ -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
|
+
import { FlagVariantDTOFromJSON, FlagVariantDTOToJSON, } from './FlagVariantDTO';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const FlagCreateApiDTOFlagTypeEnum = {
|
|
19
|
+
Boolean: 'BOOLEAN',
|
|
20
|
+
String: 'STRING',
|
|
21
|
+
Number: 'NUMBER',
|
|
22
|
+
Json: 'JSON'
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the FlagCreateApiDTO interface.
|
|
26
|
+
*/
|
|
27
|
+
export function instanceOfFlagCreateApiDTO(value) {
|
|
28
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
export function FlagCreateApiDTOFromJSON(json) {
|
|
35
|
+
return FlagCreateApiDTOFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function FlagCreateApiDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
43
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
44
|
+
'flagType': json['flagType'] == null ? undefined : json['flagType'],
|
|
45
|
+
'name': json['name'],
|
|
46
|
+
'projectKey': json['projectKey'] == null ? undefined : json['projectKey'],
|
|
47
|
+
'slug': json['slug'],
|
|
48
|
+
'variants': json['variants'] == null ? undefined : (json['variants'].map(FlagVariantDTOFromJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export function FlagCreateApiDTOToJSON(json) {
|
|
52
|
+
return FlagCreateApiDTOToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
export function FlagCreateApiDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'description': value['description'],
|
|
60
|
+
'enabled': value['enabled'],
|
|
61
|
+
'flagType': value['flagType'],
|
|
62
|
+
'name': value['name'],
|
|
63
|
+
'projectKey': value['projectKey'],
|
|
64
|
+
'slug': value['slug'],
|
|
65
|
+
'variants': value['variants'] == null ? undefined : (value['variants'].map(FlagVariantDTOToJSON)),
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
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 { FlagVariantDTOFromJSON, FlagVariantDTOToJSON, } from './FlagVariantDTO';
|
|
15
|
+
import { FlagEnvironmentValueDTOFromJSON, FlagEnvironmentValueDTOToJSON, } from './FlagEnvironmentValueDTO';
|
|
16
|
+
import { ElementPermissionBasedEntityEmbeddableDTOFromJSON, ElementPermissionBasedEntityEmbeddableDTOToJSON, } from './ElementPermissionBasedEntityEmbeddableDTO';
|
|
17
|
+
/**
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const FlagDTOEntityStatusEnum = {
|
|
21
|
+
Active: 'ACTIVE',
|
|
22
|
+
Passive: 'PASSIVE',
|
|
23
|
+
Archived: 'ARCHIVED',
|
|
24
|
+
Deleted: 'DELETED',
|
|
25
|
+
Pending: 'PENDING'
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the FlagDTO interface.
|
|
29
|
+
*/
|
|
30
|
+
export function instanceOfFlagDTO(value) {
|
|
31
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
export function FlagDTOFromJSON(json) {
|
|
38
|
+
return FlagDTOFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function FlagDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
46
|
+
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
47
|
+
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
48
|
+
'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
|
|
49
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
50
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
51
|
+
'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
|
|
52
|
+
'environmentValues': json['environmentValues'] == null ? undefined : (json['environmentValues'].map(FlagEnvironmentValueDTOFromJSON)),
|
|
53
|
+
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
54
|
+
'flagType': json['flagType'] == null ? undefined : json['flagType'],
|
|
55
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
56
|
+
'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
|
|
57
|
+
'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
|
|
58
|
+
'name': json['name'],
|
|
59
|
+
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
60
|
+
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
61
|
+
'permission': json['permission'] == null ? undefined : ElementPermissionBasedEntityEmbeddableDTOFromJSON(json['permission']),
|
|
62
|
+
'projectKey': json['projectKey'] == null ? undefined : json['projectKey'],
|
|
63
|
+
'slug': json['slug'],
|
|
64
|
+
'variants': json['variants'] == null ? undefined : (json['variants'].map(FlagVariantDTOFromJSON)),
|
|
65
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
export function FlagDTOToJSON(json) {
|
|
69
|
+
return FlagDTOToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
export function FlagDTOToJSONTyped(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
|
+
'description': value['description'],
|
|
81
|
+
'enabled': value['enabled'],
|
|
82
|
+
'entityStatus': value['entityStatus'],
|
|
83
|
+
'environmentValues': value['environmentValues'] == null ? undefined : (value['environmentValues'].map(FlagEnvironmentValueDTOToJSON)),
|
|
84
|
+
'externalId': value['externalId'],
|
|
85
|
+
'flagType': value['flagType'],
|
|
86
|
+
'id': value['id'],
|
|
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
|
+
'permission': ElementPermissionBasedEntityEmbeddableDTOToJSON(value['permission']),
|
|
93
|
+
'projectKey': value['projectKey'],
|
|
94
|
+
'slug': value['slug'],
|
|
95
|
+
'variants': value['variants'] == null ? undefined : (value['variants'].map(FlagVariantDTOToJSON)),
|
|
96
|
+
'version': value['version'],
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
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 { ElementPermissionBasedEntityEmbeddableDTOFromJSON, ElementPermissionBasedEntityEmbeddableDTOToJSON, } from './ElementPermissionBasedEntityEmbeddableDTO';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const FlagEnvironmentValueDTOEntityStatusEnum = {
|
|
19
|
+
Active: 'ACTIVE',
|
|
20
|
+
Passive: 'PASSIVE',
|
|
21
|
+
Archived: 'ARCHIVED',
|
|
22
|
+
Deleted: 'DELETED',
|
|
23
|
+
Pending: 'PENDING'
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the FlagEnvironmentValueDTO interface.
|
|
27
|
+
*/
|
|
28
|
+
export function instanceOfFlagEnvironmentValueDTO(value) {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
export function FlagEnvironmentValueDTOFromJSON(json) {
|
|
32
|
+
return FlagEnvironmentValueDTOFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function FlagEnvironmentValueDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
40
|
+
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
41
|
+
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
42
|
+
'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
|
|
43
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
44
|
+
'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
|
|
45
|
+
'environment': json['environment'] == null ? undefined : json['environment'],
|
|
46
|
+
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
47
|
+
'flagId': json['flagId'] == null ? undefined : json['flagId'],
|
|
48
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
49
|
+
'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
|
|
50
|
+
'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
|
|
51
|
+
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
52
|
+
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
53
|
+
'permission': json['permission'] == null ? undefined : ElementPermissionBasedEntityEmbeddableDTOFromJSON(json['permission']),
|
|
54
|
+
'variantId': json['variantId'] == null ? undefined : json['variantId'],
|
|
55
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
export function FlagEnvironmentValueDTOToJSON(json) {
|
|
59
|
+
return FlagEnvironmentValueDTOToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
export function FlagEnvironmentValueDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
67
|
+
'createdBy': value['createdBy'],
|
|
68
|
+
'customId': value['customId'],
|
|
69
|
+
'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
|
|
70
|
+
'enabled': value['enabled'],
|
|
71
|
+
'entityStatus': value['entityStatus'],
|
|
72
|
+
'environment': value['environment'],
|
|
73
|
+
'externalId': value['externalId'],
|
|
74
|
+
'id': value['id'],
|
|
75
|
+
'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
|
|
76
|
+
'lastModifiedBy': value['lastModifiedBy'],
|
|
77
|
+
'namespaceKey': value['namespaceKey'],
|
|
78
|
+
'orderNumber': value['orderNumber'],
|
|
79
|
+
'permission': ElementPermissionBasedEntityEmbeddableDTOToJSON(value['permission']),
|
|
80
|
+
'variantId': value['variantId'],
|
|
81
|
+
'version': value['version'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 FlagEvaluationRequestDTO interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfFlagEvaluationRequestDTO(value) {
|
|
18
|
+
if (!('environment' in value) || value['environment'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function FlagEvaluationRequestDTOFromJSON(json) {
|
|
23
|
+
return FlagEvaluationRequestDTOFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function FlagEvaluationRequestDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'environment': json['environment'],
|
|
31
|
+
'projectKey': json['projectKey'] == null ? undefined : json['projectKey'],
|
|
32
|
+
'slugs': json['slugs'] == null ? undefined : json['slugs'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function FlagEvaluationRequestDTOToJSON(json) {
|
|
36
|
+
return FlagEvaluationRequestDTOToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function FlagEvaluationRequestDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'environment': value['environment'],
|
|
44
|
+
'projectKey': value['projectKey'],
|
|
45
|
+
'slugs': value['slugs'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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 FlagEvaluationResultDTO interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfFlagEvaluationResultDTO(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function FlagEvaluationResultDTOFromJSON(json) {
|
|
21
|
+
return FlagEvaluationResultDTOFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function FlagEvaluationResultDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'defaulted': json['defaulted'] == null ? undefined : json['defaulted'],
|
|
29
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
30
|
+
'environment': json['environment'] == null ? undefined : json['environment'],
|
|
31
|
+
'flagId': json['flagId'] == null ? undefined : json['flagId'],
|
|
32
|
+
'flagType': json['flagType'] == null ? undefined : json['flagType'],
|
|
33
|
+
'slug': json['slug'] == null ? undefined : json['slug'],
|
|
34
|
+
'value': json['value'] == null ? undefined : json['value'],
|
|
35
|
+
'variantId': json['variantId'] == null ? undefined : json['variantId'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function FlagEvaluationResultDTOToJSON(json) {
|
|
39
|
+
return FlagEvaluationResultDTOToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function FlagEvaluationResultDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'defaulted': value['defaulted'],
|
|
47
|
+
'enabled': value['enabled'],
|
|
48
|
+
'environment': value['environment'],
|
|
49
|
+
'flagId': value['flagId'],
|
|
50
|
+
'flagType': value['flagType'],
|
|
51
|
+
'slug': value['slug'],
|
|
52
|
+
'value': value['value'],
|
|
53
|
+
'variantId': value['variantId'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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 { FlagVariantDTOFromJSON, FlagVariantDTOToJSON, } from './FlagVariantDTO';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const FlagUpdateApiDTOFlagTypeEnum = {
|
|
19
|
+
Boolean: 'BOOLEAN',
|
|
20
|
+
String: 'STRING',
|
|
21
|
+
Number: 'NUMBER',
|
|
22
|
+
Json: 'JSON'
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the FlagUpdateApiDTO interface.
|
|
26
|
+
*/
|
|
27
|
+
export function instanceOfFlagUpdateApiDTO(value) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function FlagUpdateApiDTOFromJSON(json) {
|
|
31
|
+
return FlagUpdateApiDTOFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function FlagUpdateApiDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
39
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
40
|
+
'flagType': json['flagType'] == null ? undefined : json['flagType'],
|
|
41
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
42
|
+
'projectKey': json['projectKey'] == null ? undefined : json['projectKey'],
|
|
43
|
+
'variants': json['variants'] == null ? undefined : (json['variants'].map(FlagVariantDTOFromJSON)),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export function FlagUpdateApiDTOToJSON(json) {
|
|
47
|
+
return FlagUpdateApiDTOToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
export function FlagUpdateApiDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'description': value['description'],
|
|
55
|
+
'enabled': value['enabled'],
|
|
56
|
+
'flagType': value['flagType'],
|
|
57
|
+
'name': value['name'],
|
|
58
|
+
'projectKey': value['projectKey'],
|
|
59
|
+
'variants': value['variants'] == null ? undefined : (value['variants'].map(FlagVariantDTOToJSON)),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
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 { ElementPermissionBasedEntityEmbeddableDTOFromJSON, ElementPermissionBasedEntityEmbeddableDTOToJSON, } from './ElementPermissionBasedEntityEmbeddableDTO';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const FlagVariantDTOEntityStatusEnum = {
|
|
19
|
+
Active: 'ACTIVE',
|
|
20
|
+
Passive: 'PASSIVE',
|
|
21
|
+
Archived: 'ARCHIVED',
|
|
22
|
+
Deleted: 'DELETED',
|
|
23
|
+
Pending: 'PENDING'
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the FlagVariantDTO interface.
|
|
27
|
+
*/
|
|
28
|
+
export function instanceOfFlagVariantDTO(value) {
|
|
29
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
export function FlagVariantDTOFromJSON(json) {
|
|
34
|
+
return FlagVariantDTOFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function FlagVariantDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
42
|
+
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
43
|
+
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
44
|
+
'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
|
|
45
|
+
'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
|
|
46
|
+
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
47
|
+
'flagId': json['flagId'] == null ? undefined : json['flagId'],
|
|
48
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
49
|
+
'label': json['label'] == null ? undefined : json['label'],
|
|
50
|
+
'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
|
|
51
|
+
'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
|
|
52
|
+
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
53
|
+
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
54
|
+
'ordinal': json['ordinal'] == null ? undefined : json['ordinal'],
|
|
55
|
+
'permission': json['permission'] == null ? undefined : ElementPermissionBasedEntityEmbeddableDTOFromJSON(json['permission']),
|
|
56
|
+
'value': json['value'],
|
|
57
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
export function FlagVariantDTOToJSON(json) {
|
|
61
|
+
return FlagVariantDTOToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
export function FlagVariantDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
69
|
+
'createdBy': value['createdBy'],
|
|
70
|
+
'customId': value['customId'],
|
|
71
|
+
'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
|
|
72
|
+
'entityStatus': value['entityStatus'],
|
|
73
|
+
'externalId': value['externalId'],
|
|
74
|
+
'id': value['id'],
|
|
75
|
+
'label': value['label'],
|
|
76
|
+
'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
|
|
77
|
+
'lastModifiedBy': value['lastModifiedBy'],
|
|
78
|
+
'namespaceKey': value['namespaceKey'],
|
|
79
|
+
'orderNumber': value['orderNumber'],
|
|
80
|
+
'ordinal': value['ordinal'],
|
|
81
|
+
'permission': ElementPermissionBasedEntityEmbeddableDTOToJSON(value['permission']),
|
|
82
|
+
'value': value['value'],
|
|
83
|
+
'version': value['version'],
|
|
84
|
+
};
|
|
85
|
+
}
|