@integrahub/vergefy-client 0.9.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/AIIAGAgentApi.d.ts +4 -4
  3. package/dist/apis/AIIAGAgentApi.js +3 -8
  4. package/dist/apis/APIAFLFlagApi.d.ts +209 -0
  5. package/dist/apis/APIAFLFlagApi.js +554 -0
  6. package/dist/apis/APIAISOIntegrationShopifyApi.d.ts +22 -0
  7. package/dist/apis/APIAISOIntegrationShopifyApi.js +66 -0
  8. package/dist/apis/APIASUPSubscriptionPublicBridgeApi.d.ts +19 -0
  9. package/dist/apis/APIASUPSubscriptionPublicBridgeApi.js +54 -0
  10. package/dist/apis/PLATFORMLTNATenantManagementAccountApi.d.ts +25 -0
  11. package/dist/apis/PLATFORMLTNATenantManagementAccountApi.js +77 -0
  12. package/dist/apis/PLATFORMLTNTenantManagementApi.d.ts +21 -0
  13. package/dist/apis/PLATFORMLTNTenantManagementApi.js +60 -0
  14. package/dist/apis/index.d.ts +1 -0
  15. package/dist/apis/index.js +1 -0
  16. package/dist/esm/apis/AIIAGAgentApi.js +3 -8
  17. package/dist/esm/apis/APIAFLFlagApi.js +550 -0
  18. package/dist/esm/apis/APIAISOIntegrationShopifyApi.js +66 -0
  19. package/dist/esm/apis/APIASUPSubscriptionPublicBridgeApi.js +54 -0
  20. package/dist/esm/apis/PLATFORMLTNATenantManagementAccountApi.js +77 -0
  21. package/dist/esm/apis/PLATFORMLTNTenantManagementApi.js +60 -0
  22. package/dist/esm/apis/index.js +1 -0
  23. package/dist/esm/ext/telemetry.js +1 -1
  24. package/dist/esm/models/DataResponseDTOFlagDTO.js +42 -0
  25. package/dist/esm/models/DataResponseDTOFlagEnvironmentValueDTO.js +42 -0
  26. package/dist/esm/models/DataResponseDTOListFlagEvaluationResultDTO.js +42 -0
  27. package/dist/esm/models/DataResponseDTOListTenantDTO.js +42 -0
  28. package/dist/esm/models/EntitlementSummaryResponseDTO.js +58 -0
  29. package/dist/esm/models/EventDTO.js +2 -0
  30. package/dist/esm/models/FlagCreateApiDTO.js +67 -0
  31. package/dist/esm/models/FlagDTO.js +98 -0
  32. package/dist/esm/models/FlagEnvironmentValueDTO.js +83 -0
  33. package/dist/esm/models/FlagEvaluationRequestDTO.js +47 -0
  34. package/dist/esm/models/FlagEvaluationResultDTO.js +55 -0
  35. package/dist/esm/models/FlagUpdateApiDTO.js +61 -0
  36. package/dist/esm/models/FlagVariantDTO.js +85 -0
  37. package/dist/esm/models/PageFlagDTO.js +64 -0
  38. package/dist/esm/models/ShopifyConfigurationLookupDTO.js +59 -0
  39. package/dist/esm/models/index.js +14 -0
  40. package/dist/ext/telemetry.d.ts +1 -1
  41. package/dist/ext/telemetry.js +1 -1
  42. package/dist/models/CapabilityCreateApiDTO.d.ts +2 -4
  43. package/dist/models/CapabilityDTO.d.ts +2 -4
  44. package/dist/models/CapabilityUpdateApiDTO.d.ts +2 -4
  45. package/dist/models/DataResponseDTOFlagDTO.d.ts +33 -0
  46. package/dist/models/DataResponseDTOFlagDTO.js +49 -0
  47. package/dist/models/DataResponseDTOFlagEnvironmentValueDTO.d.ts +33 -0
  48. package/dist/models/DataResponseDTOFlagEnvironmentValueDTO.js +49 -0
  49. package/dist/models/DataResponseDTOListFlagEvaluationResultDTO.d.ts +33 -0
  50. package/dist/models/DataResponseDTOListFlagEvaluationResultDTO.js +49 -0
  51. package/dist/models/DataResponseDTOListTenantDTO.d.ts +33 -0
  52. package/dist/models/DataResponseDTOListTenantDTO.js +49 -0
  53. package/dist/models/EntitlementSummaryResponseDTO.d.ts +70 -0
  54. package/dist/models/EntitlementSummaryResponseDTO.js +66 -0
  55. package/dist/models/EventDTO.d.ts +6 -0
  56. package/dist/models/EventDTO.js +2 -0
  57. package/dist/models/FlagCreateApiDTO.d.ts +79 -0
  58. package/dist/models/FlagCreateApiDTO.js +75 -0
  59. package/dist/models/FlagDTO.d.ts +166 -0
  60. package/dist/models/FlagDTO.js +106 -0
  61. package/dist/models/FlagEnvironmentValueDTO.d.ts +140 -0
  62. package/dist/models/FlagEnvironmentValueDTO.js +91 -0
  63. package/dist/models/FlagEvaluationRequestDTO.d.ts +44 -0
  64. package/dist/models/FlagEvaluationRequestDTO.js +54 -0
  65. package/dist/models/FlagEvaluationResultDTO.d.ts +74 -0
  66. package/dist/models/FlagEvaluationResultDTO.js +62 -0
  67. package/dist/models/FlagUpdateApiDTO.d.ts +73 -0
  68. package/dist/models/FlagUpdateApiDTO.js +69 -0
  69. package/dist/models/FlagVariantDTO.d.ts +140 -0
  70. package/dist/models/FlagVariantDTO.js +93 -0
  71. package/dist/models/PageFlagDTO.d.ts +95 -0
  72. package/dist/models/PageFlagDTO.js +71 -0
  73. package/dist/models/ShopifyConfigurationLookupDTO.d.ts +63 -0
  74. package/dist/models/ShopifyConfigurationLookupDTO.js +67 -0
  75. package/dist/models/index.d.ts +14 -0
  76. package/dist/models/index.js +14 -0
  77. package/package.json +1 -1
@@ -82,6 +82,12 @@ export interface EventDTO {
82
82
  * @memberof EventDTO
83
83
  */
84
84
  id?: string;
85
+ /**
86
+ *
87
+ * @type {boolean}
88
+ * @memberof EventDTO
89
+ */
90
+ isFeatured?: boolean;
85
91
  /**
86
92
  *
87
93
  * @type {Date}
@@ -87,6 +87,7 @@ function EventDTOFromJSONTyped(json, ignoreDiscriminator) {
87
87
  'externalId': json['externalId'] == null ? undefined : json['externalId'],
88
88
  'format': json['format'] == null ? undefined : json['format'],
89
89
  'id': json['id'] == null ? undefined : json['id'],
90
+ 'isFeatured': json['isFeatured'] == null ? undefined : json['isFeatured'],
90
91
  'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
91
92
  'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
92
93
  'maxAttendees': json['maxAttendees'] == null ? undefined : json['maxAttendees'],
@@ -128,6 +129,7 @@ function EventDTOToJSONTyped(value, ignoreDiscriminator = false) {
128
129
  'externalId': value['externalId'],
129
130
  'format': value['format'],
130
131
  'id': value['id'],
132
+ 'isFeatured': value['isFeatured'],
131
133
  'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
132
134
  'lastModifiedBy': value['lastModifiedBy'],
133
135
  'maxAttendees': value['maxAttendees'],
@@ -0,0 +1,79 @@
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 creating a feature flag
15
+ * @export
16
+ * @interface FlagCreateApiDTO
17
+ */
18
+ export interface FlagCreateApiDTO {
19
+ /**
20
+ * Free-text description of what the flag controls
21
+ * @type {string}
22
+ * @memberof FlagCreateApiDTO
23
+ */
24
+ description?: string;
25
+ /**
26
+ * Master kill-switch. While false the flag is off in every environment
27
+ * @type {boolean}
28
+ * @memberof FlagCreateApiDTO
29
+ */
30
+ enabled?: boolean;
31
+ /**
32
+ * Value type of the flag
33
+ * @type {FlagCreateApiDTOFlagTypeEnum}
34
+ * @memberof FlagCreateApiDTO
35
+ */
36
+ flagType?: FlagCreateApiDTOFlagTypeEnum;
37
+ /**
38
+ * Human-readable flag name
39
+ * @type {string}
40
+ * @memberof FlagCreateApiDTO
41
+ */
42
+ name: string;
43
+ /**
44
+ * Optional project this flag belongs to
45
+ * @type {string}
46
+ * @memberof FlagCreateApiDTO
47
+ */
48
+ projectKey?: string;
49
+ /**
50
+ * Business key of the flag, unique per tenant (case-insensitive)
51
+ * @type {string}
52
+ * @memberof FlagCreateApiDTO
53
+ */
54
+ slug: string;
55
+ /**
56
+ * Variants to create alongside the flag, in display order
57
+ * @type {Array<FlagVariantDTO>}
58
+ * @memberof FlagCreateApiDTO
59
+ */
60
+ variants?: Array<FlagVariantDTO>;
61
+ }
62
+ /**
63
+ * @export
64
+ */
65
+ export declare const FlagCreateApiDTOFlagTypeEnum: {
66
+ readonly Boolean: "BOOLEAN";
67
+ readonly String: "STRING";
68
+ readonly Number: "NUMBER";
69
+ readonly Json: "JSON";
70
+ };
71
+ export type FlagCreateApiDTOFlagTypeEnum = typeof FlagCreateApiDTOFlagTypeEnum[keyof typeof FlagCreateApiDTOFlagTypeEnum];
72
+ /**
73
+ * Check if a given object implements the FlagCreateApiDTO interface.
74
+ */
75
+ export declare function instanceOfFlagCreateApiDTO(value: object): value is FlagCreateApiDTO;
76
+ export declare function FlagCreateApiDTOFromJSON(json: any): FlagCreateApiDTO;
77
+ export declare function FlagCreateApiDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlagCreateApiDTO;
78
+ export declare function FlagCreateApiDTOToJSON(json: any): FlagCreateApiDTO;
79
+ export declare function FlagCreateApiDTOToJSONTyped(value?: FlagCreateApiDTO | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,75 @@
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.FlagCreateApiDTOFlagTypeEnum = void 0;
17
+ exports.instanceOfFlagCreateApiDTO = instanceOfFlagCreateApiDTO;
18
+ exports.FlagCreateApiDTOFromJSON = FlagCreateApiDTOFromJSON;
19
+ exports.FlagCreateApiDTOFromJSONTyped = FlagCreateApiDTOFromJSONTyped;
20
+ exports.FlagCreateApiDTOToJSON = FlagCreateApiDTOToJSON;
21
+ exports.FlagCreateApiDTOToJSONTyped = FlagCreateApiDTOToJSONTyped;
22
+ const FlagVariantDTO_1 = require("./FlagVariantDTO");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.FlagCreateApiDTOFlagTypeEnum = {
27
+ Boolean: 'BOOLEAN',
28
+ String: 'STRING',
29
+ Number: 'NUMBER',
30
+ Json: 'JSON'
31
+ };
32
+ /**
33
+ * Check if a given object implements the FlagCreateApiDTO interface.
34
+ */
35
+ function instanceOfFlagCreateApiDTO(value) {
36
+ if (!('name' in value) || value['name'] === undefined)
37
+ return false;
38
+ if (!('slug' in value) || value['slug'] === undefined)
39
+ return false;
40
+ return true;
41
+ }
42
+ function FlagCreateApiDTOFromJSON(json) {
43
+ return FlagCreateApiDTOFromJSONTyped(json, false);
44
+ }
45
+ function FlagCreateApiDTOFromJSONTyped(json, ignoreDiscriminator) {
46
+ if (json == null) {
47
+ return json;
48
+ }
49
+ return {
50
+ 'description': json['description'] == null ? undefined : json['description'],
51
+ 'enabled': json['enabled'] == null ? undefined : json['enabled'],
52
+ 'flagType': json['flagType'] == null ? undefined : json['flagType'],
53
+ 'name': json['name'],
54
+ 'projectKey': json['projectKey'] == null ? undefined : json['projectKey'],
55
+ 'slug': json['slug'],
56
+ 'variants': json['variants'] == null ? undefined : (json['variants'].map(FlagVariantDTO_1.FlagVariantDTOFromJSON)),
57
+ };
58
+ }
59
+ function FlagCreateApiDTOToJSON(json) {
60
+ return FlagCreateApiDTOToJSONTyped(json, false);
61
+ }
62
+ function FlagCreateApiDTOToJSONTyped(value, ignoreDiscriminator = false) {
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+ return {
67
+ 'description': value['description'],
68
+ 'enabled': value['enabled'],
69
+ 'flagType': value['flagType'],
70
+ 'name': value['name'],
71
+ 'projectKey': value['projectKey'],
72
+ 'slug': value['slug'],
73
+ 'variants': value['variants'] == null ? undefined : (value['variants'].map(FlagVariantDTO_1.FlagVariantDTOToJSON)),
74
+ };
75
+ }
@@ -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;