@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,73 @@
1
+ /**
2
+ * Vergefy API
3
+ * <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
4
+ *
5
+ * The version of the OpenAPI document: 2026-05-30
6
+ * Contact: support@integrahub.co
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { FlagVariantDTO } from './FlagVariantDTO';
13
+ /**
14
+ * API request for updating a feature flag
15
+ * @export
16
+ * @interface FlagUpdateApiDTO
17
+ */
18
+ export interface FlagUpdateApiDTO {
19
+ /**
20
+ * Free-text description of what the flag controls
21
+ * @type {string}
22
+ * @memberof FlagUpdateApiDTO
23
+ */
24
+ description?: string;
25
+ /**
26
+ * Master kill-switch. While false the flag is off in every environment
27
+ * @type {boolean}
28
+ * @memberof FlagUpdateApiDTO
29
+ */
30
+ enabled?: boolean;
31
+ /**
32
+ * Value type of the flag
33
+ * @type {FlagUpdateApiDTOFlagTypeEnum}
34
+ * @memberof FlagUpdateApiDTO
35
+ */
36
+ flagType?: FlagUpdateApiDTOFlagTypeEnum;
37
+ /**
38
+ * Human-readable flag name
39
+ * @type {string}
40
+ * @memberof FlagUpdateApiDTO
41
+ */
42
+ name?: string;
43
+ /**
44
+ * Optional project this flag belongs to
45
+ * @type {string}
46
+ * @memberof FlagUpdateApiDTO
47
+ */
48
+ projectKey?: string;
49
+ /**
50
+ * Full replacement of the variant list. Null leaves the current variants untouched; any supplied list replaces them wholesale.
51
+ * @type {Array<FlagVariantDTO>}
52
+ * @memberof FlagUpdateApiDTO
53
+ */
54
+ variants?: Array<FlagVariantDTO>;
55
+ }
56
+ /**
57
+ * @export
58
+ */
59
+ export declare const FlagUpdateApiDTOFlagTypeEnum: {
60
+ readonly Boolean: "BOOLEAN";
61
+ readonly String: "STRING";
62
+ readonly Number: "NUMBER";
63
+ readonly Json: "JSON";
64
+ };
65
+ export type FlagUpdateApiDTOFlagTypeEnum = typeof FlagUpdateApiDTOFlagTypeEnum[keyof typeof FlagUpdateApiDTOFlagTypeEnum];
66
+ /**
67
+ * Check if a given object implements the FlagUpdateApiDTO interface.
68
+ */
69
+ export declare function instanceOfFlagUpdateApiDTO(value: object): value is FlagUpdateApiDTO;
70
+ export declare function FlagUpdateApiDTOFromJSON(json: any): FlagUpdateApiDTO;
71
+ export declare function FlagUpdateApiDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlagUpdateApiDTO;
72
+ export declare function FlagUpdateApiDTOToJSON(json: any): FlagUpdateApiDTO;
73
+ export declare function FlagUpdateApiDTOToJSONTyped(value?: FlagUpdateApiDTO | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Vergefy API
6
+ * <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
7
+ *
8
+ * The version of the OpenAPI document: 2026-05-30
9
+ * Contact: support@integrahub.co
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.FlagUpdateApiDTOFlagTypeEnum = void 0;
17
+ exports.instanceOfFlagUpdateApiDTO = instanceOfFlagUpdateApiDTO;
18
+ exports.FlagUpdateApiDTOFromJSON = FlagUpdateApiDTOFromJSON;
19
+ exports.FlagUpdateApiDTOFromJSONTyped = FlagUpdateApiDTOFromJSONTyped;
20
+ exports.FlagUpdateApiDTOToJSON = FlagUpdateApiDTOToJSON;
21
+ exports.FlagUpdateApiDTOToJSONTyped = FlagUpdateApiDTOToJSONTyped;
22
+ const FlagVariantDTO_1 = require("./FlagVariantDTO");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.FlagUpdateApiDTOFlagTypeEnum = {
27
+ Boolean: 'BOOLEAN',
28
+ String: 'STRING',
29
+ Number: 'NUMBER',
30
+ Json: 'JSON'
31
+ };
32
+ /**
33
+ * Check if a given object implements the FlagUpdateApiDTO interface.
34
+ */
35
+ function instanceOfFlagUpdateApiDTO(value) {
36
+ return true;
37
+ }
38
+ function FlagUpdateApiDTOFromJSON(json) {
39
+ return FlagUpdateApiDTOFromJSONTyped(json, false);
40
+ }
41
+ function FlagUpdateApiDTOFromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'description': json['description'] == null ? undefined : json['description'],
47
+ 'enabled': json['enabled'] == null ? undefined : json['enabled'],
48
+ 'flagType': json['flagType'] == null ? undefined : json['flagType'],
49
+ 'name': json['name'] == null ? undefined : json['name'],
50
+ 'projectKey': json['projectKey'] == null ? undefined : json['projectKey'],
51
+ 'variants': json['variants'] == null ? undefined : (json['variants'].map(FlagVariantDTO_1.FlagVariantDTOFromJSON)),
52
+ };
53
+ }
54
+ function FlagUpdateApiDTOToJSON(json) {
55
+ return FlagUpdateApiDTOToJSONTyped(json, false);
56
+ }
57
+ function FlagUpdateApiDTOToJSONTyped(value, ignoreDiscriminator = false) {
58
+ if (value == null) {
59
+ return value;
60
+ }
61
+ return {
62
+ 'description': value['description'],
63
+ 'enabled': value['enabled'],
64
+ 'flagType': value['flagType'],
65
+ 'name': value['name'],
66
+ 'projectKey': value['projectKey'],
67
+ 'variants': value['variants'] == null ? undefined : (value['variants'].map(FlagVariantDTO_1.FlagVariantDTOToJSON)),
68
+ };
69
+ }
@@ -0,0 +1,140 @@
1
+ /**
2
+ * Vergefy API
3
+ * <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
4
+ *
5
+ * The version of the OpenAPI document: 2026-05-30
6
+ * Contact: support@integrahub.co
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ElementPermissionBasedEntityEmbeddableDTO } from './ElementPermissionBasedEntityEmbeddableDTO';
13
+ /**
14
+ * A selectable value of a feature flag
15
+ * @export
16
+ * @interface FlagVariantDTO
17
+ */
18
+ export interface FlagVariantDTO {
19
+ /**
20
+ *
21
+ * @type {Date}
22
+ * @memberof FlagVariantDTO
23
+ */
24
+ createdAt?: Date;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof FlagVariantDTO
29
+ */
30
+ createdBy?: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof FlagVariantDTO
35
+ */
36
+ customId?: string;
37
+ /**
38
+ *
39
+ * @type {Date}
40
+ * @memberof FlagVariantDTO
41
+ */
42
+ deletedAt?: Date;
43
+ /**
44
+ *
45
+ * @type {FlagVariantDTOEntityStatusEnum}
46
+ * @memberof FlagVariantDTO
47
+ */
48
+ entityStatus?: FlagVariantDTOEntityStatusEnum;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof FlagVariantDTO
53
+ */
54
+ externalId?: string;
55
+ /**
56
+ * Owning flag id
57
+ * @type {string}
58
+ * @memberof FlagVariantDTO
59
+ */
60
+ readonly flagId?: string;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof FlagVariantDTO
65
+ */
66
+ id?: string;
67
+ /**
68
+ * Optional display label shown in the UI
69
+ * @type {string}
70
+ * @memberof FlagVariantDTO
71
+ */
72
+ label?: string;
73
+ /**
74
+ *
75
+ * @type {Date}
76
+ * @memberof FlagVariantDTO
77
+ */
78
+ lastModifiedAt?: Date;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof FlagVariantDTO
83
+ */
84
+ lastModifiedBy?: string;
85
+ /**
86
+ *
87
+ * @type {string}
88
+ * @memberof FlagVariantDTO
89
+ */
90
+ namespaceKey?: string;
91
+ /**
92
+ *
93
+ * @type {number}
94
+ * @memberof FlagVariantDTO
95
+ */
96
+ orderNumber?: number;
97
+ /**
98
+ * Display order within the flag
99
+ * @type {number}
100
+ * @memberof FlagVariantDTO
101
+ */
102
+ ordinal?: number;
103
+ /**
104
+ *
105
+ * @type {ElementPermissionBasedEntityEmbeddableDTO}
106
+ * @memberof FlagVariantDTO
107
+ */
108
+ permission?: ElementPermissionBasedEntityEmbeddableDTO;
109
+ /**
110
+ * Serialized variant value, interpreted per the owning flag's type
111
+ * @type {string}
112
+ * @memberof FlagVariantDTO
113
+ */
114
+ value: string;
115
+ /**
116
+ *
117
+ * @type {number}
118
+ * @memberof FlagVariantDTO
119
+ */
120
+ version?: number;
121
+ }
122
+ /**
123
+ * @export
124
+ */
125
+ export declare const FlagVariantDTOEntityStatusEnum: {
126
+ readonly Active: "ACTIVE";
127
+ readonly Passive: "PASSIVE";
128
+ readonly Archived: "ARCHIVED";
129
+ readonly Deleted: "DELETED";
130
+ readonly Pending: "PENDING";
131
+ };
132
+ export type FlagVariantDTOEntityStatusEnum = typeof FlagVariantDTOEntityStatusEnum[keyof typeof FlagVariantDTOEntityStatusEnum];
133
+ /**
134
+ * Check if a given object implements the FlagVariantDTO interface.
135
+ */
136
+ export declare function instanceOfFlagVariantDTO(value: object): value is FlagVariantDTO;
137
+ export declare function FlagVariantDTOFromJSON(json: any): FlagVariantDTO;
138
+ export declare function FlagVariantDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlagVariantDTO;
139
+ export declare function FlagVariantDTOToJSON(json: any): FlagVariantDTO;
140
+ export declare function FlagVariantDTOToJSONTyped(value?: Omit<FlagVariantDTO, 'flagId'> | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,93 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Vergefy API
6
+ * <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
7
+ *
8
+ * The version of the OpenAPI document: 2026-05-30
9
+ * Contact: support@integrahub.co
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.FlagVariantDTOEntityStatusEnum = void 0;
17
+ exports.instanceOfFlagVariantDTO = instanceOfFlagVariantDTO;
18
+ exports.FlagVariantDTOFromJSON = FlagVariantDTOFromJSON;
19
+ exports.FlagVariantDTOFromJSONTyped = FlagVariantDTOFromJSONTyped;
20
+ exports.FlagVariantDTOToJSON = FlagVariantDTOToJSON;
21
+ exports.FlagVariantDTOToJSONTyped = FlagVariantDTOToJSONTyped;
22
+ const ElementPermissionBasedEntityEmbeddableDTO_1 = require("./ElementPermissionBasedEntityEmbeddableDTO");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.FlagVariantDTOEntityStatusEnum = {
27
+ Active: 'ACTIVE',
28
+ Passive: 'PASSIVE',
29
+ Archived: 'ARCHIVED',
30
+ Deleted: 'DELETED',
31
+ Pending: 'PENDING'
32
+ };
33
+ /**
34
+ * Check if a given object implements the FlagVariantDTO interface.
35
+ */
36
+ function instanceOfFlagVariantDTO(value) {
37
+ if (!('value' in value) || value['value'] === undefined)
38
+ return false;
39
+ return true;
40
+ }
41
+ function FlagVariantDTOFromJSON(json) {
42
+ return FlagVariantDTOFromJSONTyped(json, false);
43
+ }
44
+ function FlagVariantDTOFromJSONTyped(json, ignoreDiscriminator) {
45
+ if (json == null) {
46
+ return json;
47
+ }
48
+ return {
49
+ 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
50
+ 'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
51
+ 'customId': json['customId'] == null ? undefined : json['customId'],
52
+ 'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
53
+ 'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
54
+ 'externalId': json['externalId'] == null ? undefined : json['externalId'],
55
+ 'flagId': json['flagId'] == null ? undefined : json['flagId'],
56
+ 'id': json['id'] == null ? undefined : json['id'],
57
+ 'label': json['label'] == null ? undefined : json['label'],
58
+ 'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
59
+ 'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
60
+ 'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
61
+ 'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
62
+ 'ordinal': json['ordinal'] == null ? undefined : json['ordinal'],
63
+ 'permission': json['permission'] == null ? undefined : (0, ElementPermissionBasedEntityEmbeddableDTO_1.ElementPermissionBasedEntityEmbeddableDTOFromJSON)(json['permission']),
64
+ 'value': json['value'],
65
+ 'version': json['version'] == null ? undefined : json['version'],
66
+ };
67
+ }
68
+ function FlagVariantDTOToJSON(json) {
69
+ return FlagVariantDTOToJSONTyped(json, false);
70
+ }
71
+ function FlagVariantDTOToJSONTyped(value, ignoreDiscriminator = false) {
72
+ if (value == null) {
73
+ return value;
74
+ }
75
+ return {
76
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
77
+ 'createdBy': value['createdBy'],
78
+ 'customId': value['customId'],
79
+ 'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
80
+ 'entityStatus': value['entityStatus'],
81
+ 'externalId': value['externalId'],
82
+ 'id': value['id'],
83
+ 'label': value['label'],
84
+ 'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
85
+ 'lastModifiedBy': value['lastModifiedBy'],
86
+ 'namespaceKey': value['namespaceKey'],
87
+ 'orderNumber': value['orderNumber'],
88
+ 'ordinal': value['ordinal'],
89
+ 'permission': (0, ElementPermissionBasedEntityEmbeddableDTO_1.ElementPermissionBasedEntityEmbeddableDTOToJSON)(value['permission']),
90
+ 'value': value['value'],
91
+ 'version': value['version'],
92
+ };
93
+ }
@@ -0,0 +1,95 @@
1
+ /**
2
+ * Vergefy API
3
+ * <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
4
+ *
5
+ * The version of the OpenAPI document: 2026-05-30
6
+ * Contact: support@integrahub.co
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { PageableObject } from './PageableObject';
13
+ import type { FlagDTO } from './FlagDTO';
14
+ import type { SortObject } from './SortObject';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface PageFlagDTO
19
+ */
20
+ export interface PageFlagDTO {
21
+ /**
22
+ *
23
+ * @type {Array<FlagDTO>}
24
+ * @memberof PageFlagDTO
25
+ */
26
+ content?: Array<FlagDTO>;
27
+ /**
28
+ *
29
+ * @type {boolean}
30
+ * @memberof PageFlagDTO
31
+ */
32
+ empty?: boolean;
33
+ /**
34
+ *
35
+ * @type {boolean}
36
+ * @memberof PageFlagDTO
37
+ */
38
+ first?: boolean;
39
+ /**
40
+ *
41
+ * @type {boolean}
42
+ * @memberof PageFlagDTO
43
+ */
44
+ last?: boolean;
45
+ /**
46
+ *
47
+ * @type {number}
48
+ * @memberof PageFlagDTO
49
+ */
50
+ number?: number;
51
+ /**
52
+ *
53
+ * @type {number}
54
+ * @memberof PageFlagDTO
55
+ */
56
+ numberOfElements?: number;
57
+ /**
58
+ *
59
+ * @type {PageableObject}
60
+ * @memberof PageFlagDTO
61
+ */
62
+ pageable?: PageableObject;
63
+ /**
64
+ *
65
+ * @type {number}
66
+ * @memberof PageFlagDTO
67
+ */
68
+ size?: number;
69
+ /**
70
+ *
71
+ * @type {SortObject}
72
+ * @memberof PageFlagDTO
73
+ */
74
+ sort?: SortObject;
75
+ /**
76
+ *
77
+ * @type {number}
78
+ * @memberof PageFlagDTO
79
+ */
80
+ totalElements?: number;
81
+ /**
82
+ *
83
+ * @type {number}
84
+ * @memberof PageFlagDTO
85
+ */
86
+ totalPages?: number;
87
+ }
88
+ /**
89
+ * Check if a given object implements the PageFlagDTO interface.
90
+ */
91
+ export declare function instanceOfPageFlagDTO(value: object): value is PageFlagDTO;
92
+ export declare function PageFlagDTOFromJSON(json: any): PageFlagDTO;
93
+ export declare function PageFlagDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageFlagDTO;
94
+ export declare function PageFlagDTOToJSON(json: any): PageFlagDTO;
95
+ export declare function PageFlagDTOToJSONTyped(value?: PageFlagDTO | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,71 @@
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.instanceOfPageFlagDTO = instanceOfPageFlagDTO;
17
+ exports.PageFlagDTOFromJSON = PageFlagDTOFromJSON;
18
+ exports.PageFlagDTOFromJSONTyped = PageFlagDTOFromJSONTyped;
19
+ exports.PageFlagDTOToJSON = PageFlagDTOToJSON;
20
+ exports.PageFlagDTOToJSONTyped = PageFlagDTOToJSONTyped;
21
+ const PageableObject_1 = require("./PageableObject");
22
+ const FlagDTO_1 = require("./FlagDTO");
23
+ const SortObject_1 = require("./SortObject");
24
+ /**
25
+ * Check if a given object implements the PageFlagDTO interface.
26
+ */
27
+ function instanceOfPageFlagDTO(value) {
28
+ return true;
29
+ }
30
+ function PageFlagDTOFromJSON(json) {
31
+ return PageFlagDTOFromJSONTyped(json, false);
32
+ }
33
+ function PageFlagDTOFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'content': json['content'] == null ? undefined : (json['content'].map(FlagDTO_1.FlagDTOFromJSON)),
39
+ 'empty': json['empty'] == null ? undefined : json['empty'],
40
+ 'first': json['first'] == null ? undefined : json['first'],
41
+ 'last': json['last'] == null ? undefined : json['last'],
42
+ 'number': json['number'] == null ? undefined : json['number'],
43
+ 'numberOfElements': json['numberOfElements'] == null ? undefined : json['numberOfElements'],
44
+ 'pageable': json['pageable'] == null ? undefined : (0, PageableObject_1.PageableObjectFromJSON)(json['pageable']),
45
+ 'size': json['size'] == null ? undefined : json['size'],
46
+ 'sort': json['sort'] == null ? undefined : (0, SortObject_1.SortObjectFromJSON)(json['sort']),
47
+ 'totalElements': json['totalElements'] == null ? undefined : json['totalElements'],
48
+ 'totalPages': json['totalPages'] == null ? undefined : json['totalPages'],
49
+ };
50
+ }
51
+ function PageFlagDTOToJSON(json) {
52
+ return PageFlagDTOToJSONTyped(json, false);
53
+ }
54
+ function PageFlagDTOToJSONTyped(value, ignoreDiscriminator = false) {
55
+ if (value == null) {
56
+ return value;
57
+ }
58
+ return {
59
+ 'content': value['content'] == null ? undefined : (value['content'].map(FlagDTO_1.FlagDTOToJSON)),
60
+ 'empty': value['empty'],
61
+ 'first': value['first'],
62
+ 'last': value['last'],
63
+ 'number': value['number'],
64
+ 'numberOfElements': value['numberOfElements'],
65
+ 'pageable': (0, PageableObject_1.PageableObjectToJSON)(value['pageable']),
66
+ 'size': value['size'],
67
+ 'sort': (0, SortObject_1.SortObjectToJSON)(value['sort']),
68
+ 'totalElements': value['totalElements'],
69
+ 'totalPages': value['totalPages'],
70
+ };
71
+ }
@@ -445,6 +445,8 @@ export * from './DataResponseDTOFinancialStatementDTO';
445
445
  export * from './DataResponseDTOFiscalPeriodDTO';
446
446
  export * from './DataResponseDTOFiscalYearDTO';
447
447
  export * from './DataResponseDTOFixedAssetDTO';
448
+ export * from './DataResponseDTOFlagDTO';
449
+ export * from './DataResponseDTOFlagEnvironmentValueDTO';
448
450
  export * from './DataResponseDTOFleetAlertDTO';
449
451
  export * from './DataResponseDTOFleetAlertRuleDTO';
450
452
  export * from './DataResponseDTOFleetDeviceCommandDTO';
@@ -545,6 +547,8 @@ export * from './DataResponseDTOListEventSessionDTO';
545
547
  export * from './DataResponseDTOListEventTicketTypeDTO';
546
548
  export * from './DataResponseDTOListFinanceAiRequestDTO';
547
549
  export * from './DataResponseDTOListFiscalPeriodDTO';
550
+ export * from './DataResponseDTOListFlagEnvironmentDefinitionDTO';
551
+ export * from './DataResponseDTOListFlagEvaluationResultDTO';
548
552
  export * from './DataResponseDTOListFleetAlertDTO';
549
553
  export * from './DataResponseDTOListFleetDeviceCommandDTO';
550
554
  export * from './DataResponseDTOListFleetDeviceConsumableDTO';
@@ -850,6 +854,14 @@ export * from './FixedAssetCreateDTO';
850
854
  export * from './FixedAssetDTO';
851
855
  export * from './FixedAssetSearchDTO';
852
856
  export * from './FixedAssetUpdateDTO';
857
+ export * from './FlagCreateApiDTO';
858
+ export * from './FlagDTO';
859
+ export * from './FlagEnvironmentDefinitionDTO';
860
+ export * from './FlagEnvironmentValueDTO';
861
+ export * from './FlagEvaluationRequestDTO';
862
+ export * from './FlagEvaluationResultDTO';
863
+ export * from './FlagUpdateApiDTO';
864
+ export * from './FlagVariantDTO';
853
865
  export * from './FleetAlertDTO';
854
866
  export * from './FleetAlertRuleCreateDTO';
855
867
  export * from './FleetAlertRuleDTO';
@@ -1264,6 +1276,7 @@ export * from './PageFileWithURLDTO';
1264
1276
  export * from './PageFilterViewGroupDTO';
1265
1277
  export * from './PageFiscalYearDTO';
1266
1278
  export * from './PageFixedAssetDTO';
1279
+ export * from './PageFlagDTO';
1267
1280
  export * from './PageFleetAlertDTO';
1268
1281
  export * from './PageFleetAlertRuleDTO';
1269
1282
  export * from './PageFleetDeviceCommandDTO';
@@ -463,6 +463,8 @@ __exportStar(require("./DataResponseDTOFinancialStatementDTO"), exports);
463
463
  __exportStar(require("./DataResponseDTOFiscalPeriodDTO"), exports);
464
464
  __exportStar(require("./DataResponseDTOFiscalYearDTO"), exports);
465
465
  __exportStar(require("./DataResponseDTOFixedAssetDTO"), exports);
466
+ __exportStar(require("./DataResponseDTOFlagDTO"), exports);
467
+ __exportStar(require("./DataResponseDTOFlagEnvironmentValueDTO"), exports);
466
468
  __exportStar(require("./DataResponseDTOFleetAlertDTO"), exports);
467
469
  __exportStar(require("./DataResponseDTOFleetAlertRuleDTO"), exports);
468
470
  __exportStar(require("./DataResponseDTOFleetDeviceCommandDTO"), exports);
@@ -563,6 +565,8 @@ __exportStar(require("./DataResponseDTOListEventSessionDTO"), exports);
563
565
  __exportStar(require("./DataResponseDTOListEventTicketTypeDTO"), exports);
564
566
  __exportStar(require("./DataResponseDTOListFinanceAiRequestDTO"), exports);
565
567
  __exportStar(require("./DataResponseDTOListFiscalPeriodDTO"), exports);
568
+ __exportStar(require("./DataResponseDTOListFlagEnvironmentDefinitionDTO"), exports);
569
+ __exportStar(require("./DataResponseDTOListFlagEvaluationResultDTO"), exports);
566
570
  __exportStar(require("./DataResponseDTOListFleetAlertDTO"), exports);
567
571
  __exportStar(require("./DataResponseDTOListFleetDeviceCommandDTO"), exports);
568
572
  __exportStar(require("./DataResponseDTOListFleetDeviceConsumableDTO"), exports);
@@ -868,6 +872,14 @@ __exportStar(require("./FixedAssetCreateDTO"), exports);
868
872
  __exportStar(require("./FixedAssetDTO"), exports);
869
873
  __exportStar(require("./FixedAssetSearchDTO"), exports);
870
874
  __exportStar(require("./FixedAssetUpdateDTO"), exports);
875
+ __exportStar(require("./FlagCreateApiDTO"), exports);
876
+ __exportStar(require("./FlagDTO"), exports);
877
+ __exportStar(require("./FlagEnvironmentDefinitionDTO"), exports);
878
+ __exportStar(require("./FlagEnvironmentValueDTO"), exports);
879
+ __exportStar(require("./FlagEvaluationRequestDTO"), exports);
880
+ __exportStar(require("./FlagEvaluationResultDTO"), exports);
881
+ __exportStar(require("./FlagUpdateApiDTO"), exports);
882
+ __exportStar(require("./FlagVariantDTO"), exports);
871
883
  __exportStar(require("./FleetAlertDTO"), exports);
872
884
  __exportStar(require("./FleetAlertRuleCreateDTO"), exports);
873
885
  __exportStar(require("./FleetAlertRuleDTO"), exports);
@@ -1282,6 +1294,7 @@ __exportStar(require("./PageFileWithURLDTO"), exports);
1282
1294
  __exportStar(require("./PageFilterViewGroupDTO"), exports);
1283
1295
  __exportStar(require("./PageFiscalYearDTO"), exports);
1284
1296
  __exportStar(require("./PageFixedAssetDTO"), exports);
1297
+ __exportStar(require("./PageFlagDTO"), exports);
1285
1298
  __exportStar(require("./PageFleetAlertDTO"), exports);
1286
1299
  __exportStar(require("./PageFleetAlertRuleDTO"), exports);
1287
1300
  __exportStar(require("./PageFleetDeviceCommandDTO"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrahub/vergefy-client",
3
- "version": "0.10.0",
3
+ "version": "0.12.0",
4
4
  "description": "Vergefy API — generated TypeScript client SDK",
5
5
  "author": "IntegraHub Technology (https://integrahub.co)",
6
6
  "main": "./dist/index.js",