@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,166 @@
|
|
|
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
|
+
import type { FlagEnvironmentValueDTO } from './FlagEnvironmentValueDTO';
|
|
14
|
+
import type { ElementPermissionBasedEntityEmbeddableDTO } from './ElementPermissionBasedEntityEmbeddableDTO';
|
|
15
|
+
/**
|
|
16
|
+
* A tenant-scoped feature flag
|
|
17
|
+
* @export
|
|
18
|
+
* @interface FlagDTO
|
|
19
|
+
*/
|
|
20
|
+
export interface FlagDTO {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Date}
|
|
24
|
+
* @memberof FlagDTO
|
|
25
|
+
*/
|
|
26
|
+
createdAt?: Date;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof FlagDTO
|
|
31
|
+
*/
|
|
32
|
+
createdBy?: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof FlagDTO
|
|
37
|
+
*/
|
|
38
|
+
customId?: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {Date}
|
|
42
|
+
* @memberof FlagDTO
|
|
43
|
+
*/
|
|
44
|
+
deletedAt?: Date;
|
|
45
|
+
/**
|
|
46
|
+
* Free-text description of what the flag controls
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof FlagDTO
|
|
49
|
+
*/
|
|
50
|
+
description?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Master kill-switch. While false the flag is off in every environment
|
|
53
|
+
* @type {boolean}
|
|
54
|
+
* @memberof FlagDTO
|
|
55
|
+
*/
|
|
56
|
+
enabled?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {FlagDTOEntityStatusEnum}
|
|
60
|
+
* @memberof FlagDTO
|
|
61
|
+
*/
|
|
62
|
+
entityStatus?: FlagDTOEntityStatusEnum;
|
|
63
|
+
/**
|
|
64
|
+
* Per-environment values; populated on single-flag retrieval only
|
|
65
|
+
* @type {Array<FlagEnvironmentValueDTO>}
|
|
66
|
+
* @memberof FlagDTO
|
|
67
|
+
*/
|
|
68
|
+
environmentValues?: Array<FlagEnvironmentValueDTO>;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof FlagDTO
|
|
73
|
+
*/
|
|
74
|
+
externalId?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Value type of the flag: BOOLEAN, STRING, NUMBER or JSON
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @memberof FlagDTO
|
|
79
|
+
*/
|
|
80
|
+
flagType?: string;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {string}
|
|
84
|
+
* @memberof FlagDTO
|
|
85
|
+
*/
|
|
86
|
+
id?: string;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @type {Date}
|
|
90
|
+
* @memberof FlagDTO
|
|
91
|
+
*/
|
|
92
|
+
lastModifiedAt?: Date;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @type {string}
|
|
96
|
+
* @memberof FlagDTO
|
|
97
|
+
*/
|
|
98
|
+
lastModifiedBy?: string;
|
|
99
|
+
/**
|
|
100
|
+
* Human-readable flag name
|
|
101
|
+
* @type {string}
|
|
102
|
+
* @memberof FlagDTO
|
|
103
|
+
*/
|
|
104
|
+
name: string;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @type {string}
|
|
108
|
+
* @memberof FlagDTO
|
|
109
|
+
*/
|
|
110
|
+
namespaceKey?: string;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @type {number}
|
|
114
|
+
* @memberof FlagDTO
|
|
115
|
+
*/
|
|
116
|
+
orderNumber?: number;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {ElementPermissionBasedEntityEmbeddableDTO}
|
|
120
|
+
* @memberof FlagDTO
|
|
121
|
+
*/
|
|
122
|
+
permission?: ElementPermissionBasedEntityEmbeddableDTO;
|
|
123
|
+
/**
|
|
124
|
+
* Optional project this flag belongs to
|
|
125
|
+
* @type {string}
|
|
126
|
+
* @memberof FlagDTO
|
|
127
|
+
*/
|
|
128
|
+
projectKey?: string;
|
|
129
|
+
/**
|
|
130
|
+
* Business key of the flag, unique per tenant (case-insensitive)
|
|
131
|
+
* @type {string}
|
|
132
|
+
* @memberof FlagDTO
|
|
133
|
+
*/
|
|
134
|
+
slug: string;
|
|
135
|
+
/**
|
|
136
|
+
* Ordered variants; populated on single-flag retrieval only
|
|
137
|
+
* @type {Array<FlagVariantDTO>}
|
|
138
|
+
* @memberof FlagDTO
|
|
139
|
+
*/
|
|
140
|
+
variants?: Array<FlagVariantDTO>;
|
|
141
|
+
/**
|
|
142
|
+
*
|
|
143
|
+
* @type {number}
|
|
144
|
+
* @memberof FlagDTO
|
|
145
|
+
*/
|
|
146
|
+
version?: number;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* @export
|
|
150
|
+
*/
|
|
151
|
+
export declare const FlagDTOEntityStatusEnum: {
|
|
152
|
+
readonly Active: "ACTIVE";
|
|
153
|
+
readonly Passive: "PASSIVE";
|
|
154
|
+
readonly Archived: "ARCHIVED";
|
|
155
|
+
readonly Deleted: "DELETED";
|
|
156
|
+
readonly Pending: "PENDING";
|
|
157
|
+
};
|
|
158
|
+
export type FlagDTOEntityStatusEnum = typeof FlagDTOEntityStatusEnum[keyof typeof FlagDTOEntityStatusEnum];
|
|
159
|
+
/**
|
|
160
|
+
* Check if a given object implements the FlagDTO interface.
|
|
161
|
+
*/
|
|
162
|
+
export declare function instanceOfFlagDTO(value: object): value is FlagDTO;
|
|
163
|
+
export declare function FlagDTOFromJSON(json: any): FlagDTO;
|
|
164
|
+
export declare function FlagDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlagDTO;
|
|
165
|
+
export declare function FlagDTOToJSON(json: any): FlagDTO;
|
|
166
|
+
export declare function FlagDTOToJSONTyped(value?: FlagDTO | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,106 @@
|
|
|
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.FlagDTOEntityStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfFlagDTO = instanceOfFlagDTO;
|
|
18
|
+
exports.FlagDTOFromJSON = FlagDTOFromJSON;
|
|
19
|
+
exports.FlagDTOFromJSONTyped = FlagDTOFromJSONTyped;
|
|
20
|
+
exports.FlagDTOToJSON = FlagDTOToJSON;
|
|
21
|
+
exports.FlagDTOToJSONTyped = FlagDTOToJSONTyped;
|
|
22
|
+
const FlagVariantDTO_1 = require("./FlagVariantDTO");
|
|
23
|
+
const FlagEnvironmentValueDTO_1 = require("./FlagEnvironmentValueDTO");
|
|
24
|
+
const ElementPermissionBasedEntityEmbeddableDTO_1 = require("./ElementPermissionBasedEntityEmbeddableDTO");
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.FlagDTOEntityStatusEnum = {
|
|
29
|
+
Active: 'ACTIVE',
|
|
30
|
+
Passive: 'PASSIVE',
|
|
31
|
+
Archived: 'ARCHIVED',
|
|
32
|
+
Deleted: 'DELETED',
|
|
33
|
+
Pending: 'PENDING'
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the FlagDTO interface.
|
|
37
|
+
*/
|
|
38
|
+
function instanceOfFlagDTO(value) {
|
|
39
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
function FlagDTOFromJSON(json) {
|
|
46
|
+
return FlagDTOFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function FlagDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
54
|
+
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
55
|
+
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
56
|
+
'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
|
|
57
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
58
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
59
|
+
'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
|
|
60
|
+
'environmentValues': json['environmentValues'] == null ? undefined : (json['environmentValues'].map(FlagEnvironmentValueDTO_1.FlagEnvironmentValueDTOFromJSON)),
|
|
61
|
+
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
62
|
+
'flagType': json['flagType'] == null ? undefined : json['flagType'],
|
|
63
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
64
|
+
'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
|
|
65
|
+
'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
|
|
66
|
+
'name': json['name'],
|
|
67
|
+
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
68
|
+
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
69
|
+
'permission': json['permission'] == null ? undefined : (0, ElementPermissionBasedEntityEmbeddableDTO_1.ElementPermissionBasedEntityEmbeddableDTOFromJSON)(json['permission']),
|
|
70
|
+
'projectKey': json['projectKey'] == null ? undefined : json['projectKey'],
|
|
71
|
+
'slug': json['slug'],
|
|
72
|
+
'variants': json['variants'] == null ? undefined : (json['variants'].map(FlagVariantDTO_1.FlagVariantDTOFromJSON)),
|
|
73
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
function FlagDTOToJSON(json) {
|
|
77
|
+
return FlagDTOToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
function FlagDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
return {
|
|
84
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
85
|
+
'createdBy': value['createdBy'],
|
|
86
|
+
'customId': value['customId'],
|
|
87
|
+
'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
|
|
88
|
+
'description': value['description'],
|
|
89
|
+
'enabled': value['enabled'],
|
|
90
|
+
'entityStatus': value['entityStatus'],
|
|
91
|
+
'environmentValues': value['environmentValues'] == null ? undefined : (value['environmentValues'].map(FlagEnvironmentValueDTO_1.FlagEnvironmentValueDTOToJSON)),
|
|
92
|
+
'externalId': value['externalId'],
|
|
93
|
+
'flagType': value['flagType'],
|
|
94
|
+
'id': value['id'],
|
|
95
|
+
'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
|
|
96
|
+
'lastModifiedBy': value['lastModifiedBy'],
|
|
97
|
+
'name': value['name'],
|
|
98
|
+
'namespaceKey': value['namespaceKey'],
|
|
99
|
+
'orderNumber': value['orderNumber'],
|
|
100
|
+
'permission': (0, ElementPermissionBasedEntityEmbeddableDTO_1.ElementPermissionBasedEntityEmbeddableDTOToJSON)(value['permission']),
|
|
101
|
+
'projectKey': value['projectKey'],
|
|
102
|
+
'slug': value['slug'],
|
|
103
|
+
'variants': value['variants'] == null ? undefined : (value['variants'].map(FlagVariantDTO_1.FlagVariantDTOToJSON)),
|
|
104
|
+
'version': value['version'],
|
|
105
|
+
};
|
|
106
|
+
}
|
|
@@ -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
|
+
}
|