@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
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @integrahub/vergefy-client@0.10.0
1
+ # @integrahub/vergefy-client@0.12.0
2
2
 
3
3
  A TypeScript SDK client for the your-vergefy-host.invalid API.
4
4
 
@@ -90,7 +90,7 @@ and is automatically generated by the
90
90
  [OpenAPI Generator](https://openapi-generator.tech) project:
91
91
 
92
92
  - API version: `2026-05-30`
93
- - Package version: `0.10.0`
93
+ - Package version: `0.12.0`
94
94
  - Generator version: `7.22.0`
95
95
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
96
96
 
@@ -0,0 +1,221 @@
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 * as runtime from '../runtime';
13
+ import { type DataResponseDTOFlagDTO } from '../models/DataResponseDTOFlagDTO';
14
+ import { type DataResponseDTOFlagEnvironmentValueDTO } from '../models/DataResponseDTOFlagEnvironmentValueDTO';
15
+ import { type DataResponseDTOListFlagEnvironmentDefinitionDTO } from '../models/DataResponseDTOListFlagEnvironmentDefinitionDTO';
16
+ import { type DataResponseDTOListFlagEvaluationResultDTO } from '../models/DataResponseDTOListFlagEvaluationResultDTO';
17
+ import { type FlagCreateApiDTO } from '../models/FlagCreateApiDTO';
18
+ import { type FlagEnvironmentValueDTO } from '../models/FlagEnvironmentValueDTO';
19
+ import { type FlagEvaluationRequestDTO } from '../models/FlagEvaluationRequestDTO';
20
+ import { type FlagUpdateApiDTO } from '../models/FlagUpdateApiDTO';
21
+ import { type PageFlagDTO } from '../models/PageFlagDTO';
22
+ export interface AFL001Request {
23
+ xAppAccountId: string;
24
+ flagCreateApiDTO: FlagCreateApiDTO;
25
+ acceptLanguage?: string;
26
+ vergefyVersion?: string;
27
+ acceptTimezone?: string;
28
+ }
29
+ export interface AFL002Request {
30
+ id: string;
31
+ xAppAccountId: string;
32
+ flagUpdateApiDTO: FlagUpdateApiDTO;
33
+ acceptLanguage?: string;
34
+ vergefyVersion?: string;
35
+ acceptTimezone?: string;
36
+ }
37
+ export interface AFL003Request {
38
+ id: string;
39
+ xAppAccountId: string;
40
+ acceptLanguage?: string;
41
+ vergefyVersion?: string;
42
+ acceptTimezone?: string;
43
+ }
44
+ export interface AFL004Request {
45
+ xAppAccountId: string;
46
+ slug?: string;
47
+ projectKey?: string;
48
+ flagTypes?: Array<string>;
49
+ enabled?: boolean;
50
+ search?: string;
51
+ entityStatuses?: Array<AFL004EntityStatusesEnum>;
52
+ ids?: Array<string>;
53
+ uuids?: Array<string>;
54
+ externalIds?: Array<string>;
55
+ customIds?: Array<string>;
56
+ createdAtStart?: Date;
57
+ createdAtEnd?: Date;
58
+ page?: number;
59
+ size?: number;
60
+ sort?: Array<string>;
61
+ acceptLanguage?: string;
62
+ vergefyVersion?: string;
63
+ acceptTimezone?: string;
64
+ }
65
+ export interface AFL005Request {
66
+ id: string;
67
+ xAppAccountId: string;
68
+ acceptLanguage?: string;
69
+ vergefyVersion?: string;
70
+ acceptTimezone?: string;
71
+ }
72
+ export interface AFL006Request {
73
+ xAppAccountId: string;
74
+ flagEvaluationRequestDTO: FlagEvaluationRequestDTO;
75
+ acceptLanguage?: string;
76
+ vergefyVersion?: string;
77
+ acceptTimezone?: string;
78
+ }
79
+ export interface AFL007Request {
80
+ id: string;
81
+ environment: string;
82
+ xAppAccountId: string;
83
+ flagEnvironmentValueDTO: Omit<FlagEnvironmentValueDTO, 'flagId'>;
84
+ acceptLanguage?: string;
85
+ vergefyVersion?: string;
86
+ acceptTimezone?: string;
87
+ }
88
+ export interface AFL008Request {
89
+ xAppAccountId: string;
90
+ acceptLanguage?: string;
91
+ vergefyVersion?: string;
92
+ acceptTimezone?: string;
93
+ }
94
+ /**
95
+ *
96
+ */
97
+ export declare class APIAFLFlagApi extends runtime.BaseAPI {
98
+ /**
99
+ * Creates request options for aFL001 without sending the request
100
+ */
101
+ aFL001RequestOpts(requestParameters: AFL001Request): Promise<runtime.RequestOpts>;
102
+ /**
103
+ * Creates a feature flag with a tenant-unique slug, a value type, and an optional ordered list of variants. The flag starts with its master kill-switch off unless stated otherwise.
104
+ * AFL001 - Create Flag
105
+ */
106
+ aFL001Raw(requestParameters: AFL001Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOFlagDTO>>;
107
+ /**
108
+ * Creates a feature flag with a tenant-unique slug, a value type, and an optional ordered list of variants. The flag starts with its master kill-switch off unless stated otherwise.
109
+ * AFL001 - Create Flag
110
+ */
111
+ aFL001(requestParameters: AFL001Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOFlagDTO>;
112
+ /**
113
+ * Creates request options for aFL002 without sending the request
114
+ */
115
+ aFL002RequestOpts(requestParameters: AFL002Request): Promise<runtime.RequestOpts>;
116
+ /**
117
+ * Partially updates a feature flag. Null fields are left untouched. Supplying a variant list replaces the current variants wholesale; omitting it leaves them alone. The slug is immutable.
118
+ * AFL002 - Update Flag
119
+ */
120
+ aFL002Raw(requestParameters: AFL002Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
121
+ /**
122
+ * Partially updates a feature flag. Null fields are left untouched. Supplying a variant list replaces the current variants wholesale; omitting it leaves them alone. The slug is immutable.
123
+ * AFL002 - Update Flag
124
+ */
125
+ aFL002(requestParameters: AFL002Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
126
+ /**
127
+ * Creates request options for aFL003 without sending the request
128
+ */
129
+ aFL003RequestOpts(requestParameters: AFL003Request): Promise<runtime.RequestOpts>;
130
+ /**
131
+ * Soft-deletes a feature flag together with its variants and per-environment values, freeing the slug for reuse.
132
+ * AFL003 - Delete Flag
133
+ */
134
+ aFL003Raw(requestParameters: AFL003Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
135
+ /**
136
+ * Soft-deletes a feature flag together with its variants and per-environment values, freeing the slug for reuse.
137
+ * AFL003 - Delete Flag
138
+ */
139
+ aFL003(requestParameters: AFL003Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
140
+ /**
141
+ * Creates request options for aFL004 without sending the request
142
+ */
143
+ aFL004RequestOpts(requestParameters: AFL004Request): Promise<runtime.RequestOpts>;
144
+ /**
145
+ * Searches feature flags with pagination. Filters by slug, project, type and master kill-switch state; free-text search matches the slug and the name. Variants and per-environment values are not included — retrieve a single flag for those.
146
+ * AFL004 - Search Flags
147
+ */
148
+ aFL004Raw(requestParameters: AFL004Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageFlagDTO>>;
149
+ /**
150
+ * Searches feature flags with pagination. Filters by slug, project, type and master kill-switch state; free-text search matches the slug and the name. Variants and per-environment values are not included — retrieve a single flag for those.
151
+ * AFL004 - Search Flags
152
+ */
153
+ aFL004(requestParameters: AFL004Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageFlagDTO>;
154
+ /**
155
+ * Creates request options for aFL005 without sending the request
156
+ */
157
+ aFL005RequestOpts(requestParameters: AFL005Request): Promise<runtime.RequestOpts>;
158
+ /**
159
+ * Retrieves one feature flag with its ordered variants and every per-environment value configured for it.
160
+ * AFL005 - Get Flag By Id
161
+ */
162
+ aFL005Raw(requestParameters: AFL005Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOFlagDTO>>;
163
+ /**
164
+ * Retrieves one feature flag with its ordered variants and every per-environment value configured for it.
165
+ * AFL005 - Get Flag By Id
166
+ */
167
+ aFL005(requestParameters: AFL005Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOFlagDTO>;
168
+ /**
169
+ * Creates request options for aFL006 without sending the request
170
+ */
171
+ aFL006RequestOpts(requestParameters: AFL006Request): Promise<runtime.RequestOpts>;
172
+ /**
173
+ * Resolves the effective value of the requested flags in one environment. A flag with no value configured for that environment falls back to its disabled state and is reported as defaulted, so callers can tell \'explicitly off\' from \'never configured\'.
174
+ * AFL006 - Evaluate Flags
175
+ */
176
+ aFL006Raw(requestParameters: AFL006Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOListFlagEvaluationResultDTO>>;
177
+ /**
178
+ * Resolves the effective value of the requested flags in one environment. A flag with no value configured for that environment falls back to its disabled state and is reported as defaulted, so callers can tell \'explicitly off\' from \'never configured\'.
179
+ * AFL006 - Evaluate Flags
180
+ */
181
+ aFL006(requestParameters: AFL006Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOListFlagEvaluationResultDTO>;
182
+ /**
183
+ * Creates request options for aFL007 without sending the request
184
+ */
185
+ aFL007RequestOpts(requestParameters: AFL007Request): Promise<runtime.RequestOpts>;
186
+ /**
187
+ * Sets the value of a flag in one environment, creating the row on first write. The environment in the path is authoritative; any environment in the body is ignored. The environment is a tenant-defined KEY (AFL008 lists them), not one of a fixed three; an unknown key is a 404 rather than a silent create.
188
+ * AFL007 - Set Flag Environment Value
189
+ */
190
+ aFL007Raw(requestParameters: AFL007Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOFlagEnvironmentValueDTO>>;
191
+ /**
192
+ * Sets the value of a flag in one environment, creating the row on first write. The environment in the path is authoritative; any environment in the body is ignored. The environment is a tenant-defined KEY (AFL008 lists them), not one of a fixed three; an unknown key is a 404 rather than a silent create.
193
+ * AFL007 - Set Flag Environment Value
194
+ */
195
+ aFL007(requestParameters: AFL007Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOFlagEnvironmentValueDTO>;
196
+ /**
197
+ * Creates request options for aFL008 without sending the request
198
+ */
199
+ aFL008RequestOpts(requestParameters: AFL008Request): Promise<runtime.RequestOpts>;
200
+ /**
201
+ * Lists the environments this workspace has defined, in display order. The set is tenant-defined and unbounded — callers must treat the environment as an opaque key and must not assume the three that ship by default.
202
+ * AFL008 - List Flag Environments
203
+ */
204
+ aFL008Raw(requestParameters: AFL008Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOListFlagEnvironmentDefinitionDTO>>;
205
+ /**
206
+ * Lists the environments this workspace has defined, in display order. The set is tenant-defined and unbounded — callers must treat the environment as an opaque key and must not assume the three that ship by default.
207
+ * AFL008 - List Flag Environments
208
+ */
209
+ aFL008(requestParameters: AFL008Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOListFlagEnvironmentDefinitionDTO>;
210
+ }
211
+ /**
212
+ * @export
213
+ */
214
+ export declare const AFL004EntityStatusesEnum: {
215
+ readonly Active: "ACTIVE";
216
+ readonly Passive: "PASSIVE";
217
+ readonly Archived: "ARCHIVED";
218
+ readonly Deleted: "DELETED";
219
+ readonly Pending: "PENDING";
220
+ };
221
+ export type AFL004EntityStatusesEnum = typeof AFL004EntityStatusesEnum[keyof typeof AFL004EntityStatusesEnum];