@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
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @integrahub/vergefy-client@0.
|
|
1
|
+
# @integrahub/vergefy-client@0.11.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.
|
|
93
|
+
- Package version: `0.11.0`
|
|
94
94
|
- Generator version: `7.22.0`
|
|
95
95
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
96
96
|
|
|
@@ -0,0 +1,209 @@
|
|
|
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 DataResponseDTOListFlagEvaluationResultDTO } from '../models/DataResponseDTOListFlagEvaluationResultDTO';
|
|
16
|
+
import { type FlagCreateApiDTO } from '../models/FlagCreateApiDTO';
|
|
17
|
+
import { type FlagEnvironmentValueDTO } from '../models/FlagEnvironmentValueDTO';
|
|
18
|
+
import { type FlagEvaluationRequestDTO } from '../models/FlagEvaluationRequestDTO';
|
|
19
|
+
import { type FlagUpdateApiDTO } from '../models/FlagUpdateApiDTO';
|
|
20
|
+
import { type PageFlagDTO } from '../models/PageFlagDTO';
|
|
21
|
+
export interface AFL001Request {
|
|
22
|
+
xAppAccountId: string;
|
|
23
|
+
flagCreateApiDTO: FlagCreateApiDTO;
|
|
24
|
+
acceptLanguage?: string;
|
|
25
|
+
vergefyVersion?: string;
|
|
26
|
+
acceptTimezone?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface AFL002Request {
|
|
29
|
+
id: string;
|
|
30
|
+
xAppAccountId: string;
|
|
31
|
+
flagUpdateApiDTO: FlagUpdateApiDTO;
|
|
32
|
+
acceptLanguage?: string;
|
|
33
|
+
vergefyVersion?: string;
|
|
34
|
+
acceptTimezone?: string;
|
|
35
|
+
}
|
|
36
|
+
export interface AFL003Request {
|
|
37
|
+
id: string;
|
|
38
|
+
xAppAccountId: string;
|
|
39
|
+
acceptLanguage?: string;
|
|
40
|
+
vergefyVersion?: string;
|
|
41
|
+
acceptTimezone?: string;
|
|
42
|
+
}
|
|
43
|
+
export interface AFL004Request {
|
|
44
|
+
xAppAccountId: string;
|
|
45
|
+
slug?: string;
|
|
46
|
+
projectKey?: string;
|
|
47
|
+
flagTypes?: Array<string>;
|
|
48
|
+
enabled?: boolean;
|
|
49
|
+
search?: string;
|
|
50
|
+
entityStatuses?: Array<AFL004EntityStatusesEnum>;
|
|
51
|
+
ids?: Array<string>;
|
|
52
|
+
uuids?: Array<string>;
|
|
53
|
+
externalIds?: Array<string>;
|
|
54
|
+
customIds?: Array<string>;
|
|
55
|
+
createdAtStart?: Date;
|
|
56
|
+
createdAtEnd?: Date;
|
|
57
|
+
page?: number;
|
|
58
|
+
size?: number;
|
|
59
|
+
sort?: Array<string>;
|
|
60
|
+
acceptLanguage?: string;
|
|
61
|
+
vergefyVersion?: string;
|
|
62
|
+
acceptTimezone?: string;
|
|
63
|
+
}
|
|
64
|
+
export interface AFL005Request {
|
|
65
|
+
id: string;
|
|
66
|
+
xAppAccountId: string;
|
|
67
|
+
acceptLanguage?: string;
|
|
68
|
+
vergefyVersion?: string;
|
|
69
|
+
acceptTimezone?: string;
|
|
70
|
+
}
|
|
71
|
+
export interface AFL006Request {
|
|
72
|
+
xAppAccountId: string;
|
|
73
|
+
flagEvaluationRequestDTO: FlagEvaluationRequestDTO;
|
|
74
|
+
acceptLanguage?: string;
|
|
75
|
+
vergefyVersion?: string;
|
|
76
|
+
acceptTimezone?: string;
|
|
77
|
+
}
|
|
78
|
+
export interface AFL007Request {
|
|
79
|
+
id: string;
|
|
80
|
+
environment: AFL007EnvironmentEnum;
|
|
81
|
+
xAppAccountId: string;
|
|
82
|
+
flagEnvironmentValueDTO: Omit<FlagEnvironmentValueDTO, 'flagId'>;
|
|
83
|
+
acceptLanguage?: string;
|
|
84
|
+
vergefyVersion?: string;
|
|
85
|
+
acceptTimezone?: string;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
export declare class APIAFLFlagApi extends runtime.BaseAPI {
|
|
91
|
+
/**
|
|
92
|
+
* Creates request options for aFL001 without sending the request
|
|
93
|
+
*/
|
|
94
|
+
aFL001RequestOpts(requestParameters: AFL001Request): Promise<runtime.RequestOpts>;
|
|
95
|
+
/**
|
|
96
|
+
* 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.
|
|
97
|
+
* AFL001 - Create Flag
|
|
98
|
+
*/
|
|
99
|
+
aFL001Raw(requestParameters: AFL001Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOFlagDTO>>;
|
|
100
|
+
/**
|
|
101
|
+
* 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.
|
|
102
|
+
* AFL001 - Create Flag
|
|
103
|
+
*/
|
|
104
|
+
aFL001(requestParameters: AFL001Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOFlagDTO>;
|
|
105
|
+
/**
|
|
106
|
+
* Creates request options for aFL002 without sending the request
|
|
107
|
+
*/
|
|
108
|
+
aFL002RequestOpts(requestParameters: AFL002Request): Promise<runtime.RequestOpts>;
|
|
109
|
+
/**
|
|
110
|
+
* 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.
|
|
111
|
+
* AFL002 - Update Flag
|
|
112
|
+
*/
|
|
113
|
+
aFL002Raw(requestParameters: AFL002Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
114
|
+
/**
|
|
115
|
+
* 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.
|
|
116
|
+
* AFL002 - Update Flag
|
|
117
|
+
*/
|
|
118
|
+
aFL002(requestParameters: AFL002Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
119
|
+
/**
|
|
120
|
+
* Creates request options for aFL003 without sending the request
|
|
121
|
+
*/
|
|
122
|
+
aFL003RequestOpts(requestParameters: AFL003Request): Promise<runtime.RequestOpts>;
|
|
123
|
+
/**
|
|
124
|
+
* Soft-deletes a feature flag together with its variants and per-environment values, freeing the slug for reuse.
|
|
125
|
+
* AFL003 - Delete Flag
|
|
126
|
+
*/
|
|
127
|
+
aFL003Raw(requestParameters: AFL003Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
128
|
+
/**
|
|
129
|
+
* Soft-deletes a feature flag together with its variants and per-environment values, freeing the slug for reuse.
|
|
130
|
+
* AFL003 - Delete Flag
|
|
131
|
+
*/
|
|
132
|
+
aFL003(requestParameters: AFL003Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
133
|
+
/**
|
|
134
|
+
* Creates request options for aFL004 without sending the request
|
|
135
|
+
*/
|
|
136
|
+
aFL004RequestOpts(requestParameters: AFL004Request): Promise<runtime.RequestOpts>;
|
|
137
|
+
/**
|
|
138
|
+
* 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.
|
|
139
|
+
* AFL004 - Search Flags
|
|
140
|
+
*/
|
|
141
|
+
aFL004Raw(requestParameters: AFL004Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageFlagDTO>>;
|
|
142
|
+
/**
|
|
143
|
+
* 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.
|
|
144
|
+
* AFL004 - Search Flags
|
|
145
|
+
*/
|
|
146
|
+
aFL004(requestParameters: AFL004Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageFlagDTO>;
|
|
147
|
+
/**
|
|
148
|
+
* Creates request options for aFL005 without sending the request
|
|
149
|
+
*/
|
|
150
|
+
aFL005RequestOpts(requestParameters: AFL005Request): Promise<runtime.RequestOpts>;
|
|
151
|
+
/**
|
|
152
|
+
* Retrieves one feature flag with its ordered variants and every per-environment value configured for it.
|
|
153
|
+
* AFL005 - Get Flag By Id
|
|
154
|
+
*/
|
|
155
|
+
aFL005Raw(requestParameters: AFL005Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOFlagDTO>>;
|
|
156
|
+
/**
|
|
157
|
+
* Retrieves one feature flag with its ordered variants and every per-environment value configured for it.
|
|
158
|
+
* AFL005 - Get Flag By Id
|
|
159
|
+
*/
|
|
160
|
+
aFL005(requestParameters: AFL005Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOFlagDTO>;
|
|
161
|
+
/**
|
|
162
|
+
* Creates request options for aFL006 without sending the request
|
|
163
|
+
*/
|
|
164
|
+
aFL006RequestOpts(requestParameters: AFL006Request): Promise<runtime.RequestOpts>;
|
|
165
|
+
/**
|
|
166
|
+
* 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\'.
|
|
167
|
+
* AFL006 - Evaluate Flags
|
|
168
|
+
*/
|
|
169
|
+
aFL006Raw(requestParameters: AFL006Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOListFlagEvaluationResultDTO>>;
|
|
170
|
+
/**
|
|
171
|
+
* 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\'.
|
|
172
|
+
* AFL006 - Evaluate Flags
|
|
173
|
+
*/
|
|
174
|
+
aFL006(requestParameters: AFL006Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOListFlagEvaluationResultDTO>;
|
|
175
|
+
/**
|
|
176
|
+
* Creates request options for aFL007 without sending the request
|
|
177
|
+
*/
|
|
178
|
+
aFL007RequestOpts(requestParameters: AFL007Request): Promise<runtime.RequestOpts>;
|
|
179
|
+
/**
|
|
180
|
+
* 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.
|
|
181
|
+
* AFL007 - Set Flag Environment Value
|
|
182
|
+
*/
|
|
183
|
+
aFL007Raw(requestParameters: AFL007Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOFlagEnvironmentValueDTO>>;
|
|
184
|
+
/**
|
|
185
|
+
* 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.
|
|
186
|
+
* AFL007 - Set Flag Environment Value
|
|
187
|
+
*/
|
|
188
|
+
aFL007(requestParameters: AFL007Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOFlagEnvironmentValueDTO>;
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* @export
|
|
192
|
+
*/
|
|
193
|
+
export declare const AFL004EntityStatusesEnum: {
|
|
194
|
+
readonly Active: "ACTIVE";
|
|
195
|
+
readonly Passive: "PASSIVE";
|
|
196
|
+
readonly Archived: "ARCHIVED";
|
|
197
|
+
readonly Deleted: "DELETED";
|
|
198
|
+
readonly Pending: "PENDING";
|
|
199
|
+
};
|
|
200
|
+
export type AFL004EntityStatusesEnum = typeof AFL004EntityStatusesEnum[keyof typeof AFL004EntityStatusesEnum];
|
|
201
|
+
/**
|
|
202
|
+
* @export
|
|
203
|
+
*/
|
|
204
|
+
export declare const AFL007EnvironmentEnum: {
|
|
205
|
+
readonly Production: "PRODUCTION";
|
|
206
|
+
readonly Preview: "PREVIEW";
|
|
207
|
+
readonly Development: "DEVELOPMENT";
|
|
208
|
+
};
|
|
209
|
+
export type AFL007EnvironmentEnum = typeof AFL007EnvironmentEnum[keyof typeof AFL007EnvironmentEnum];
|