@integrahub/vergefy-client 0.11.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.
- package/README.md +2 -2
- package/dist/apis/APIAFLFlagApi.d.ts +24 -12
- package/dist/apis/APIAFLFlagApi.js +63 -11
- package/dist/esm/apis/APIAFLFlagApi.js +62 -10
- package/dist/esm/ext/telemetry.js +1 -1
- package/dist/esm/models/DataResponseDTOListFlagEnvironmentDefinitionDTO.js +42 -0
- package/dist/esm/models/FlagEnvironmentDefinitionDTO.js +88 -0
- package/dist/esm/models/index.js +2 -0
- package/dist/ext/telemetry.d.ts +1 -1
- package/dist/ext/telemetry.js +1 -1
- package/dist/models/DataResponseDTOListFlagEnvironmentDefinitionDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOListFlagEnvironmentDefinitionDTO.js +49 -0
- package/dist/models/FlagEnvironmentDefinitionDTO.d.ts +140 -0
- package/dist/models/FlagEnvironmentDefinitionDTO.js +96 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @integrahub/vergefy-client@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.
|
|
93
|
+
- Package version: `0.12.0`
|
|
94
94
|
- Generator version: `7.22.0`
|
|
95
95
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
96
96
|
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import { type DataResponseDTOFlagDTO } from '../models/DataResponseDTOFlagDTO';
|
|
14
14
|
import { type DataResponseDTOFlagEnvironmentValueDTO } from '../models/DataResponseDTOFlagEnvironmentValueDTO';
|
|
15
|
+
import { type DataResponseDTOListFlagEnvironmentDefinitionDTO } from '../models/DataResponseDTOListFlagEnvironmentDefinitionDTO';
|
|
15
16
|
import { type DataResponseDTOListFlagEvaluationResultDTO } from '../models/DataResponseDTOListFlagEvaluationResultDTO';
|
|
16
17
|
import { type FlagCreateApiDTO } from '../models/FlagCreateApiDTO';
|
|
17
18
|
import { type FlagEnvironmentValueDTO } from '../models/FlagEnvironmentValueDTO';
|
|
@@ -77,13 +78,19 @@ export interface AFL006Request {
|
|
|
77
78
|
}
|
|
78
79
|
export interface AFL007Request {
|
|
79
80
|
id: string;
|
|
80
|
-
environment:
|
|
81
|
+
environment: string;
|
|
81
82
|
xAppAccountId: string;
|
|
82
83
|
flagEnvironmentValueDTO: Omit<FlagEnvironmentValueDTO, 'flagId'>;
|
|
83
84
|
acceptLanguage?: string;
|
|
84
85
|
vergefyVersion?: string;
|
|
85
86
|
acceptTimezone?: string;
|
|
86
87
|
}
|
|
88
|
+
export interface AFL008Request {
|
|
89
|
+
xAppAccountId: string;
|
|
90
|
+
acceptLanguage?: string;
|
|
91
|
+
vergefyVersion?: string;
|
|
92
|
+
acceptTimezone?: string;
|
|
93
|
+
}
|
|
87
94
|
/**
|
|
88
95
|
*
|
|
89
96
|
*/
|
|
@@ -177,15 +184,29 @@ export declare class APIAFLFlagApi extends runtime.BaseAPI {
|
|
|
177
184
|
*/
|
|
178
185
|
aFL007RequestOpts(requestParameters: AFL007Request): Promise<runtime.RequestOpts>;
|
|
179
186
|
/**
|
|
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.
|
|
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.
|
|
181
188
|
* AFL007 - Set Flag Environment Value
|
|
182
189
|
*/
|
|
183
190
|
aFL007Raw(requestParameters: AFL007Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOFlagEnvironmentValueDTO>>;
|
|
184
191
|
/**
|
|
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.
|
|
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.
|
|
186
193
|
* AFL007 - Set Flag Environment Value
|
|
187
194
|
*/
|
|
188
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>;
|
|
189
210
|
}
|
|
190
211
|
/**
|
|
191
212
|
* @export
|
|
@@ -198,12 +219,3 @@ export declare const AFL004EntityStatusesEnum: {
|
|
|
198
219
|
readonly Pending: "PENDING";
|
|
199
220
|
};
|
|
200
221
|
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];
|
|
@@ -22,10 +22,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
25
|
+
exports.AFL004EntityStatusesEnum = exports.APIAFLFlagApi = void 0;
|
|
26
26
|
const runtime = require("../runtime");
|
|
27
27
|
const DataResponseDTOFlagDTO_1 = require("../models/DataResponseDTOFlagDTO");
|
|
28
28
|
const DataResponseDTOFlagEnvironmentValueDTO_1 = require("../models/DataResponseDTOFlagEnvironmentValueDTO");
|
|
29
|
+
const DataResponseDTOListFlagEnvironmentDefinitionDTO_1 = require("../models/DataResponseDTOListFlagEnvironmentDefinitionDTO");
|
|
29
30
|
const DataResponseDTOListFlagEvaluationResultDTO_1 = require("../models/DataResponseDTOListFlagEvaluationResultDTO");
|
|
30
31
|
const FlagCreateApiDTO_1 = require("../models/FlagCreateApiDTO");
|
|
31
32
|
const FlagEnvironmentValueDTO_1 = require("../models/FlagEnvironmentValueDTO");
|
|
@@ -512,7 +513,7 @@ class APIAFLFlagApi extends runtime.BaseAPI {
|
|
|
512
513
|
});
|
|
513
514
|
}
|
|
514
515
|
/**
|
|
515
|
-
* 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.
|
|
516
|
+
* 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.
|
|
516
517
|
* AFL007 - Set Flag Environment Value
|
|
517
518
|
*/
|
|
518
519
|
aFL007Raw(requestParameters, initOverrides) {
|
|
@@ -523,7 +524,7 @@ class APIAFLFlagApi extends runtime.BaseAPI {
|
|
|
523
524
|
});
|
|
524
525
|
}
|
|
525
526
|
/**
|
|
526
|
-
* 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.
|
|
527
|
+
* 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.
|
|
527
528
|
* AFL007 - Set Flag Environment Value
|
|
528
529
|
*/
|
|
529
530
|
aFL007(requestParameters, initOverrides) {
|
|
@@ -532,6 +533,65 @@ class APIAFLFlagApi extends runtime.BaseAPI {
|
|
|
532
533
|
return yield response.value();
|
|
533
534
|
});
|
|
534
535
|
}
|
|
536
|
+
/**
|
|
537
|
+
* Creates request options for aFL008 without sending the request
|
|
538
|
+
*/
|
|
539
|
+
aFL008RequestOpts(requestParameters) {
|
|
540
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
541
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
542
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling aFL008().');
|
|
543
|
+
}
|
|
544
|
+
const queryParameters = {};
|
|
545
|
+
const headerParameters = {};
|
|
546
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
547
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
548
|
+
}
|
|
549
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
550
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
551
|
+
}
|
|
552
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
553
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
554
|
+
}
|
|
555
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
556
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
557
|
+
}
|
|
558
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
559
|
+
const token = this.configuration.accessToken;
|
|
560
|
+
const tokenString = yield token("BearerAuth", []);
|
|
561
|
+
if (tokenString) {
|
|
562
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
let urlPath = `/api/flags/environments`;
|
|
566
|
+
return {
|
|
567
|
+
path: urlPath,
|
|
568
|
+
method: 'GET',
|
|
569
|
+
headers: headerParameters,
|
|
570
|
+
query: queryParameters,
|
|
571
|
+
};
|
|
572
|
+
});
|
|
573
|
+
}
|
|
574
|
+
/**
|
|
575
|
+
* 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.
|
|
576
|
+
* AFL008 - List Flag Environments
|
|
577
|
+
*/
|
|
578
|
+
aFL008Raw(requestParameters, initOverrides) {
|
|
579
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
580
|
+
const requestOptions = yield this.aFL008RequestOpts(requestParameters);
|
|
581
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
582
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOListFlagEnvironmentDefinitionDTO_1.DataResponseDTOListFlagEnvironmentDefinitionDTOFromJSON)(jsonValue));
|
|
583
|
+
});
|
|
584
|
+
}
|
|
585
|
+
/**
|
|
586
|
+
* 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.
|
|
587
|
+
* AFL008 - List Flag Environments
|
|
588
|
+
*/
|
|
589
|
+
aFL008(requestParameters, initOverrides) {
|
|
590
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
591
|
+
const response = yield this.aFL008Raw(requestParameters, initOverrides);
|
|
592
|
+
return yield response.value();
|
|
593
|
+
});
|
|
594
|
+
}
|
|
535
595
|
}
|
|
536
596
|
exports.APIAFLFlagApi = APIAFLFlagApi;
|
|
537
597
|
/**
|
|
@@ -544,11 +604,3 @@ exports.AFL004EntityStatusesEnum = {
|
|
|
544
604
|
Deleted: 'DELETED',
|
|
545
605
|
Pending: 'PENDING'
|
|
546
606
|
};
|
|
547
|
-
/**
|
|
548
|
-
* @export
|
|
549
|
-
*/
|
|
550
|
-
exports.AFL007EnvironmentEnum = {
|
|
551
|
-
Production: 'PRODUCTION',
|
|
552
|
-
Preview: 'PREVIEW',
|
|
553
|
-
Development: 'DEVELOPMENT'
|
|
554
|
-
};
|
|
@@ -23,6 +23,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
24
|
import { DataResponseDTOFlagDTOFromJSON, } from '../models/DataResponseDTOFlagDTO';
|
|
25
25
|
import { DataResponseDTOFlagEnvironmentValueDTOFromJSON, } from '../models/DataResponseDTOFlagEnvironmentValueDTO';
|
|
26
|
+
import { DataResponseDTOListFlagEnvironmentDefinitionDTOFromJSON, } from '../models/DataResponseDTOListFlagEnvironmentDefinitionDTO';
|
|
26
27
|
import { DataResponseDTOListFlagEvaluationResultDTOFromJSON, } from '../models/DataResponseDTOListFlagEvaluationResultDTO';
|
|
27
28
|
import { FlagCreateApiDTOToJSON, } from '../models/FlagCreateApiDTO';
|
|
28
29
|
import { FlagEnvironmentValueDTOToJSON, } from '../models/FlagEnvironmentValueDTO';
|
|
@@ -509,7 +510,7 @@ export class APIAFLFlagApi extends runtime.BaseAPI {
|
|
|
509
510
|
});
|
|
510
511
|
}
|
|
511
512
|
/**
|
|
512
|
-
* 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.
|
|
513
|
+
* 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.
|
|
513
514
|
* AFL007 - Set Flag Environment Value
|
|
514
515
|
*/
|
|
515
516
|
aFL007Raw(requestParameters, initOverrides) {
|
|
@@ -520,7 +521,7 @@ export class APIAFLFlagApi extends runtime.BaseAPI {
|
|
|
520
521
|
});
|
|
521
522
|
}
|
|
522
523
|
/**
|
|
523
|
-
* 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.
|
|
524
|
+
* 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.
|
|
524
525
|
* AFL007 - Set Flag Environment Value
|
|
525
526
|
*/
|
|
526
527
|
aFL007(requestParameters, initOverrides) {
|
|
@@ -529,6 +530,65 @@ export class APIAFLFlagApi extends runtime.BaseAPI {
|
|
|
529
530
|
return yield response.value();
|
|
530
531
|
});
|
|
531
532
|
}
|
|
533
|
+
/**
|
|
534
|
+
* Creates request options for aFL008 without sending the request
|
|
535
|
+
*/
|
|
536
|
+
aFL008RequestOpts(requestParameters) {
|
|
537
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
538
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
539
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling aFL008().');
|
|
540
|
+
}
|
|
541
|
+
const queryParameters = {};
|
|
542
|
+
const headerParameters = {};
|
|
543
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
544
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
545
|
+
}
|
|
546
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
547
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
548
|
+
}
|
|
549
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
550
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
551
|
+
}
|
|
552
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
553
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
554
|
+
}
|
|
555
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
556
|
+
const token = this.configuration.accessToken;
|
|
557
|
+
const tokenString = yield token("BearerAuth", []);
|
|
558
|
+
if (tokenString) {
|
|
559
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
let urlPath = `/api/flags/environments`;
|
|
563
|
+
return {
|
|
564
|
+
path: urlPath,
|
|
565
|
+
method: 'GET',
|
|
566
|
+
headers: headerParameters,
|
|
567
|
+
query: queryParameters,
|
|
568
|
+
};
|
|
569
|
+
});
|
|
570
|
+
}
|
|
571
|
+
/**
|
|
572
|
+
* 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.
|
|
573
|
+
* AFL008 - List Flag Environments
|
|
574
|
+
*/
|
|
575
|
+
aFL008Raw(requestParameters, initOverrides) {
|
|
576
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
577
|
+
const requestOptions = yield this.aFL008RequestOpts(requestParameters);
|
|
578
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
579
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => DataResponseDTOListFlagEnvironmentDefinitionDTOFromJSON(jsonValue));
|
|
580
|
+
});
|
|
581
|
+
}
|
|
582
|
+
/**
|
|
583
|
+
* 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.
|
|
584
|
+
* AFL008 - List Flag Environments
|
|
585
|
+
*/
|
|
586
|
+
aFL008(requestParameters, initOverrides) {
|
|
587
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
588
|
+
const response = yield this.aFL008Raw(requestParameters, initOverrides);
|
|
589
|
+
return yield response.value();
|
|
590
|
+
});
|
|
591
|
+
}
|
|
532
592
|
}
|
|
533
593
|
/**
|
|
534
594
|
* @export
|
|
@@ -540,11 +600,3 @@ export const AFL004EntityStatusesEnum = {
|
|
|
540
600
|
Deleted: 'DELETED',
|
|
541
601
|
Pending: 'PENDING'
|
|
542
602
|
};
|
|
543
|
-
/**
|
|
544
|
-
* @export
|
|
545
|
-
*/
|
|
546
|
-
export const AFL007EnvironmentEnum = {
|
|
547
|
-
Production: 'PRODUCTION',
|
|
548
|
-
Preview: 'PREVIEW',
|
|
549
|
-
Development: 'DEVELOPMENT'
|
|
550
|
-
};
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Mirrors the canonical Java `ext/Telemetry`.
|
|
9
9
|
*/
|
|
10
10
|
/** Kept in sync with `vergefySdkVersion` (the published artifact version). */
|
|
11
|
-
export const VERSION = '0.
|
|
11
|
+
export const VERSION = '0.12.0';
|
|
12
12
|
const NAME = 'vergefy-typescript-client';
|
|
13
13
|
/** The `User-Agent` value, e.g. `vergefy-typescript-client/0.1.0`. */
|
|
14
14
|
export function userAgent() {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Vergefy API
|
|
5
|
+
* <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>
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2026-05-30
|
|
8
|
+
* Contact: support@integrahub.co
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { FlagEnvironmentDefinitionDTOFromJSON, FlagEnvironmentDefinitionDTOToJSON, } from './FlagEnvironmentDefinitionDTO';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the DataResponseDTOListFlagEnvironmentDefinitionDTO interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfDataResponseDTOListFlagEnvironmentDefinitionDTO(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function DataResponseDTOListFlagEnvironmentDefinitionDTOFromJSON(json) {
|
|
22
|
+
return DataResponseDTOListFlagEnvironmentDefinitionDTOFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function DataResponseDTOListFlagEnvironmentDefinitionDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'data': json['data'] == null ? undefined : (json['data'].map(FlagEnvironmentDefinitionDTOFromJSON)),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function DataResponseDTOListFlagEnvironmentDefinitionDTOToJSON(json) {
|
|
33
|
+
return DataResponseDTOListFlagEnvironmentDefinitionDTOToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function DataResponseDTOListFlagEnvironmentDefinitionDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'data': value['data'] == null ? undefined : (value['data'].map(FlagEnvironmentDefinitionDTOToJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Vergefy API
|
|
5
|
+
* <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>
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2026-05-30
|
|
8
|
+
* Contact: support@integrahub.co
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ElementPermissionBasedEntityEmbeddableDTOFromJSON, ElementPermissionBasedEntityEmbeddableDTOToJSON, } from './ElementPermissionBasedEntityEmbeddableDTO';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const FlagEnvironmentDefinitionDTOEntityStatusEnum = {
|
|
19
|
+
Active: 'ACTIVE',
|
|
20
|
+
Passive: 'PASSIVE',
|
|
21
|
+
Archived: 'ARCHIVED',
|
|
22
|
+
Deleted: 'DELETED',
|
|
23
|
+
Pending: 'PENDING'
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the FlagEnvironmentDefinitionDTO interface.
|
|
27
|
+
*/
|
|
28
|
+
export function instanceOfFlagEnvironmentDefinitionDTO(value) {
|
|
29
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
export function FlagEnvironmentDefinitionDTOFromJSON(json) {
|
|
36
|
+
return FlagEnvironmentDefinitionDTOFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function FlagEnvironmentDefinitionDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
44
|
+
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
45
|
+
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
46
|
+
'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
|
|
47
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
48
|
+
'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
|
|
49
|
+
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
50
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
51
|
+
'key': json['key'],
|
|
52
|
+
'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
|
|
53
|
+
'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
|
|
54
|
+
'name': json['name'],
|
|
55
|
+
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
56
|
+
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
57
|
+
'ordinal': json['ordinal'] == null ? undefined : json['ordinal'],
|
|
58
|
+
'permission': json['permission'] == null ? undefined : ElementPermissionBasedEntityEmbeddableDTOFromJSON(json['permission']),
|
|
59
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
export function FlagEnvironmentDefinitionDTOToJSON(json) {
|
|
63
|
+
return FlagEnvironmentDefinitionDTOToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
export function FlagEnvironmentDefinitionDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
71
|
+
'createdBy': value['createdBy'],
|
|
72
|
+
'customId': value['customId'],
|
|
73
|
+
'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
|
|
74
|
+
'description': value['description'],
|
|
75
|
+
'entityStatus': value['entityStatus'],
|
|
76
|
+
'externalId': value['externalId'],
|
|
77
|
+
'id': value['id'],
|
|
78
|
+
'key': value['key'],
|
|
79
|
+
'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
|
|
80
|
+
'lastModifiedBy': value['lastModifiedBy'],
|
|
81
|
+
'name': value['name'],
|
|
82
|
+
'namespaceKey': value['namespaceKey'],
|
|
83
|
+
'orderNumber': value['orderNumber'],
|
|
84
|
+
'ordinal': value['ordinal'],
|
|
85
|
+
'permission': ElementPermissionBasedEntityEmbeddableDTOToJSON(value['permission']),
|
|
86
|
+
'version': value['version'],
|
|
87
|
+
};
|
|
88
|
+
}
|
package/dist/esm/models/index.js
CHANGED
|
@@ -549,6 +549,7 @@ export * from './DataResponseDTOListEventSessionDTO';
|
|
|
549
549
|
export * from './DataResponseDTOListEventTicketTypeDTO';
|
|
550
550
|
export * from './DataResponseDTOListFinanceAiRequestDTO';
|
|
551
551
|
export * from './DataResponseDTOListFiscalPeriodDTO';
|
|
552
|
+
export * from './DataResponseDTOListFlagEnvironmentDefinitionDTO';
|
|
552
553
|
export * from './DataResponseDTOListFlagEvaluationResultDTO';
|
|
553
554
|
export * from './DataResponseDTOListFleetAlertDTO';
|
|
554
555
|
export * from './DataResponseDTOListFleetDeviceCommandDTO';
|
|
@@ -857,6 +858,7 @@ export * from './FixedAssetSearchDTO';
|
|
|
857
858
|
export * from './FixedAssetUpdateDTO';
|
|
858
859
|
export * from './FlagCreateApiDTO';
|
|
859
860
|
export * from './FlagDTO';
|
|
861
|
+
export * from './FlagEnvironmentDefinitionDTO';
|
|
860
862
|
export * from './FlagEnvironmentValueDTO';
|
|
861
863
|
export * from './FlagEvaluationRequestDTO';
|
|
862
864
|
export * from './FlagEvaluationResultDTO';
|
package/dist/ext/telemetry.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Mirrors the canonical Java `ext/Telemetry`.
|
|
7
7
|
*/
|
|
8
8
|
/** Kept in sync with `vergefySdkVersion` (the published artifact version). */
|
|
9
|
-
export declare const VERSION = "0.
|
|
9
|
+
export declare const VERSION = "0.12.0";
|
|
10
10
|
/** The `User-Agent` value, e.g. `vergefy-typescript-client/0.1.0`. */
|
|
11
11
|
export declare function userAgent(): string;
|
|
12
12
|
/** The structured `X-Vergefy-Client-User-Agent` JSON header value. */
|
package/dist/ext/telemetry.js
CHANGED
|
@@ -14,7 +14,7 @@ exports.userAgent = userAgent;
|
|
|
14
14
|
exports.clientInfo = clientInfo;
|
|
15
15
|
exports.telemetryHeaders = telemetryHeaders;
|
|
16
16
|
/** Kept in sync with `vergefySdkVersion` (the published artifact version). */
|
|
17
|
-
exports.VERSION = '0.
|
|
17
|
+
exports.VERSION = '0.12.0';
|
|
18
18
|
const NAME = 'vergefy-typescript-client';
|
|
19
19
|
/** The `User-Agent` value, e.g. `vergefy-typescript-client/0.1.0`. */
|
|
20
20
|
function userAgent() {
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { FlagEnvironmentDefinitionDTO } from './FlagEnvironmentDefinitionDTO';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DataResponseDTOListFlagEnvironmentDefinitionDTO
|
|
17
|
+
*/
|
|
18
|
+
export interface DataResponseDTOListFlagEnvironmentDefinitionDTO {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<FlagEnvironmentDefinitionDTO>}
|
|
22
|
+
* @memberof DataResponseDTOListFlagEnvironmentDefinitionDTO
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<FlagEnvironmentDefinitionDTO>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the DataResponseDTOListFlagEnvironmentDefinitionDTO interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfDataResponseDTOListFlagEnvironmentDefinitionDTO(value: object): value is DataResponseDTOListFlagEnvironmentDefinitionDTO;
|
|
30
|
+
export declare function DataResponseDTOListFlagEnvironmentDefinitionDTOFromJSON(json: any): DataResponseDTOListFlagEnvironmentDefinitionDTO;
|
|
31
|
+
export declare function DataResponseDTOListFlagEnvironmentDefinitionDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): DataResponseDTOListFlagEnvironmentDefinitionDTO;
|
|
32
|
+
export declare function DataResponseDTOListFlagEnvironmentDefinitionDTOToJSON(json: any): DataResponseDTOListFlagEnvironmentDefinitionDTO;
|
|
33
|
+
export declare function DataResponseDTOListFlagEnvironmentDefinitionDTOToJSONTyped(value?: DataResponseDTOListFlagEnvironmentDefinitionDTO | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
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.instanceOfDataResponseDTOListFlagEnvironmentDefinitionDTO = instanceOfDataResponseDTOListFlagEnvironmentDefinitionDTO;
|
|
17
|
+
exports.DataResponseDTOListFlagEnvironmentDefinitionDTOFromJSON = DataResponseDTOListFlagEnvironmentDefinitionDTOFromJSON;
|
|
18
|
+
exports.DataResponseDTOListFlagEnvironmentDefinitionDTOFromJSONTyped = DataResponseDTOListFlagEnvironmentDefinitionDTOFromJSONTyped;
|
|
19
|
+
exports.DataResponseDTOListFlagEnvironmentDefinitionDTOToJSON = DataResponseDTOListFlagEnvironmentDefinitionDTOToJSON;
|
|
20
|
+
exports.DataResponseDTOListFlagEnvironmentDefinitionDTOToJSONTyped = DataResponseDTOListFlagEnvironmentDefinitionDTOToJSONTyped;
|
|
21
|
+
const FlagEnvironmentDefinitionDTO_1 = require("./FlagEnvironmentDefinitionDTO");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the DataResponseDTOListFlagEnvironmentDefinitionDTO interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfDataResponseDTOListFlagEnvironmentDefinitionDTO(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function DataResponseDTOListFlagEnvironmentDefinitionDTOFromJSON(json) {
|
|
29
|
+
return DataResponseDTOListFlagEnvironmentDefinitionDTOFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function DataResponseDTOListFlagEnvironmentDefinitionDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(FlagEnvironmentDefinitionDTO_1.FlagEnvironmentDefinitionDTOFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function DataResponseDTOListFlagEnvironmentDefinitionDTOToJSON(json) {
|
|
40
|
+
return DataResponseDTOListFlagEnvironmentDefinitionDTOToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function DataResponseDTOListFlagEnvironmentDefinitionDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'data': value['data'] == null ? undefined : (value['data'].map(FlagEnvironmentDefinitionDTO_1.FlagEnvironmentDefinitionDTOToJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -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 tenant-defined environment a feature flag can be pinned in
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FlagEnvironmentDefinitionDTO
|
|
17
|
+
*/
|
|
18
|
+
export interface FlagEnvironmentDefinitionDTO {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Date}
|
|
22
|
+
* @memberof FlagEnvironmentDefinitionDTO
|
|
23
|
+
*/
|
|
24
|
+
createdAt?: Date;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof FlagEnvironmentDefinitionDTO
|
|
29
|
+
*/
|
|
30
|
+
createdBy?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof FlagEnvironmentDefinitionDTO
|
|
35
|
+
*/
|
|
36
|
+
customId?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Date}
|
|
40
|
+
* @memberof FlagEnvironmentDefinitionDTO
|
|
41
|
+
*/
|
|
42
|
+
deletedAt?: Date;
|
|
43
|
+
/**
|
|
44
|
+
* Optional description
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof FlagEnvironmentDefinitionDTO
|
|
47
|
+
*/
|
|
48
|
+
description?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {FlagEnvironmentDefinitionDTOEntityStatusEnum}
|
|
52
|
+
* @memberof FlagEnvironmentDefinitionDTO
|
|
53
|
+
*/
|
|
54
|
+
entityStatus?: FlagEnvironmentDefinitionDTOEntityStatusEnum;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof FlagEnvironmentDefinitionDTO
|
|
59
|
+
*/
|
|
60
|
+
externalId?: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof FlagEnvironmentDefinitionDTO
|
|
65
|
+
*/
|
|
66
|
+
id?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Stable key used when evaluating. Case-insensitive: "Production" and "production" are the same environment.
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof FlagEnvironmentDefinitionDTO
|
|
71
|
+
*/
|
|
72
|
+
key: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {Date}
|
|
76
|
+
* @memberof FlagEnvironmentDefinitionDTO
|
|
77
|
+
*/
|
|
78
|
+
lastModifiedAt?: Date;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof FlagEnvironmentDefinitionDTO
|
|
83
|
+
*/
|
|
84
|
+
lastModifiedBy?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Display name shown in the UI
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof FlagEnvironmentDefinitionDTO
|
|
89
|
+
*/
|
|
90
|
+
name: string;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof FlagEnvironmentDefinitionDTO
|
|
95
|
+
*/
|
|
96
|
+
namespaceKey?: string;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {number}
|
|
100
|
+
* @memberof FlagEnvironmentDefinitionDTO
|
|
101
|
+
*/
|
|
102
|
+
orderNumber?: number;
|
|
103
|
+
/**
|
|
104
|
+
* Display order within the workspace
|
|
105
|
+
* @type {number}
|
|
106
|
+
* @memberof FlagEnvironmentDefinitionDTO
|
|
107
|
+
*/
|
|
108
|
+
ordinal?: number;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {ElementPermissionBasedEntityEmbeddableDTO}
|
|
112
|
+
* @memberof FlagEnvironmentDefinitionDTO
|
|
113
|
+
*/
|
|
114
|
+
permission?: ElementPermissionBasedEntityEmbeddableDTO;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @type {number}
|
|
118
|
+
* @memberof FlagEnvironmentDefinitionDTO
|
|
119
|
+
*/
|
|
120
|
+
version?: number;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* @export
|
|
124
|
+
*/
|
|
125
|
+
export declare const FlagEnvironmentDefinitionDTOEntityStatusEnum: {
|
|
126
|
+
readonly Active: "ACTIVE";
|
|
127
|
+
readonly Passive: "PASSIVE";
|
|
128
|
+
readonly Archived: "ARCHIVED";
|
|
129
|
+
readonly Deleted: "DELETED";
|
|
130
|
+
readonly Pending: "PENDING";
|
|
131
|
+
};
|
|
132
|
+
export type FlagEnvironmentDefinitionDTOEntityStatusEnum = typeof FlagEnvironmentDefinitionDTOEntityStatusEnum[keyof typeof FlagEnvironmentDefinitionDTOEntityStatusEnum];
|
|
133
|
+
/**
|
|
134
|
+
* Check if a given object implements the FlagEnvironmentDefinitionDTO interface.
|
|
135
|
+
*/
|
|
136
|
+
export declare function instanceOfFlagEnvironmentDefinitionDTO(value: object): value is FlagEnvironmentDefinitionDTO;
|
|
137
|
+
export declare function FlagEnvironmentDefinitionDTOFromJSON(json: any): FlagEnvironmentDefinitionDTO;
|
|
138
|
+
export declare function FlagEnvironmentDefinitionDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlagEnvironmentDefinitionDTO;
|
|
139
|
+
export declare function FlagEnvironmentDefinitionDTOToJSON(json: any): FlagEnvironmentDefinitionDTO;
|
|
140
|
+
export declare function FlagEnvironmentDefinitionDTOToJSONTyped(value?: FlagEnvironmentDefinitionDTO | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,96 @@
|
|
|
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.FlagEnvironmentDefinitionDTOEntityStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfFlagEnvironmentDefinitionDTO = instanceOfFlagEnvironmentDefinitionDTO;
|
|
18
|
+
exports.FlagEnvironmentDefinitionDTOFromJSON = FlagEnvironmentDefinitionDTOFromJSON;
|
|
19
|
+
exports.FlagEnvironmentDefinitionDTOFromJSONTyped = FlagEnvironmentDefinitionDTOFromJSONTyped;
|
|
20
|
+
exports.FlagEnvironmentDefinitionDTOToJSON = FlagEnvironmentDefinitionDTOToJSON;
|
|
21
|
+
exports.FlagEnvironmentDefinitionDTOToJSONTyped = FlagEnvironmentDefinitionDTOToJSONTyped;
|
|
22
|
+
const ElementPermissionBasedEntityEmbeddableDTO_1 = require("./ElementPermissionBasedEntityEmbeddableDTO");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.FlagEnvironmentDefinitionDTOEntityStatusEnum = {
|
|
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 FlagEnvironmentDefinitionDTO interface.
|
|
35
|
+
*/
|
|
36
|
+
function instanceOfFlagEnvironmentDefinitionDTO(value) {
|
|
37
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function FlagEnvironmentDefinitionDTOFromJSON(json) {
|
|
44
|
+
return FlagEnvironmentDefinitionDTOFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function FlagEnvironmentDefinitionDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
52
|
+
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
53
|
+
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
54
|
+
'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
|
|
55
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
56
|
+
'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
|
|
57
|
+
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
58
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
59
|
+
'key': json['key'],
|
|
60
|
+
'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
|
|
61
|
+
'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
|
|
62
|
+
'name': json['name'],
|
|
63
|
+
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
64
|
+
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
65
|
+
'ordinal': json['ordinal'] == null ? undefined : json['ordinal'],
|
|
66
|
+
'permission': json['permission'] == null ? undefined : (0, ElementPermissionBasedEntityEmbeddableDTO_1.ElementPermissionBasedEntityEmbeddableDTOFromJSON)(json['permission']),
|
|
67
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
function FlagEnvironmentDefinitionDTOToJSON(json) {
|
|
71
|
+
return FlagEnvironmentDefinitionDTOToJSONTyped(json, false);
|
|
72
|
+
}
|
|
73
|
+
function FlagEnvironmentDefinitionDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
74
|
+
if (value == null) {
|
|
75
|
+
return value;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
79
|
+
'createdBy': value['createdBy'],
|
|
80
|
+
'customId': value['customId'],
|
|
81
|
+
'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
|
|
82
|
+
'description': value['description'],
|
|
83
|
+
'entityStatus': value['entityStatus'],
|
|
84
|
+
'externalId': value['externalId'],
|
|
85
|
+
'id': value['id'],
|
|
86
|
+
'key': value['key'],
|
|
87
|
+
'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
|
|
88
|
+
'lastModifiedBy': value['lastModifiedBy'],
|
|
89
|
+
'name': value['name'],
|
|
90
|
+
'namespaceKey': value['namespaceKey'],
|
|
91
|
+
'orderNumber': value['orderNumber'],
|
|
92
|
+
'ordinal': value['ordinal'],
|
|
93
|
+
'permission': (0, ElementPermissionBasedEntityEmbeddableDTO_1.ElementPermissionBasedEntityEmbeddableDTOToJSON)(value['permission']),
|
|
94
|
+
'version': value['version'],
|
|
95
|
+
};
|
|
96
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -547,6 +547,7 @@ export * from './DataResponseDTOListEventSessionDTO';
|
|
|
547
547
|
export * from './DataResponseDTOListEventTicketTypeDTO';
|
|
548
548
|
export * from './DataResponseDTOListFinanceAiRequestDTO';
|
|
549
549
|
export * from './DataResponseDTOListFiscalPeriodDTO';
|
|
550
|
+
export * from './DataResponseDTOListFlagEnvironmentDefinitionDTO';
|
|
550
551
|
export * from './DataResponseDTOListFlagEvaluationResultDTO';
|
|
551
552
|
export * from './DataResponseDTOListFleetAlertDTO';
|
|
552
553
|
export * from './DataResponseDTOListFleetDeviceCommandDTO';
|
|
@@ -855,6 +856,7 @@ export * from './FixedAssetSearchDTO';
|
|
|
855
856
|
export * from './FixedAssetUpdateDTO';
|
|
856
857
|
export * from './FlagCreateApiDTO';
|
|
857
858
|
export * from './FlagDTO';
|
|
859
|
+
export * from './FlagEnvironmentDefinitionDTO';
|
|
858
860
|
export * from './FlagEnvironmentValueDTO';
|
|
859
861
|
export * from './FlagEvaluationRequestDTO';
|
|
860
862
|
export * from './FlagEvaluationResultDTO';
|
package/dist/models/index.js
CHANGED
|
@@ -565,6 +565,7 @@ __exportStar(require("./DataResponseDTOListEventSessionDTO"), exports);
|
|
|
565
565
|
__exportStar(require("./DataResponseDTOListEventTicketTypeDTO"), exports);
|
|
566
566
|
__exportStar(require("./DataResponseDTOListFinanceAiRequestDTO"), exports);
|
|
567
567
|
__exportStar(require("./DataResponseDTOListFiscalPeriodDTO"), exports);
|
|
568
|
+
__exportStar(require("./DataResponseDTOListFlagEnvironmentDefinitionDTO"), exports);
|
|
568
569
|
__exportStar(require("./DataResponseDTOListFlagEvaluationResultDTO"), exports);
|
|
569
570
|
__exportStar(require("./DataResponseDTOListFleetAlertDTO"), exports);
|
|
570
571
|
__exportStar(require("./DataResponseDTOListFleetDeviceCommandDTO"), exports);
|
|
@@ -873,6 +874,7 @@ __exportStar(require("./FixedAssetSearchDTO"), exports);
|
|
|
873
874
|
__exportStar(require("./FixedAssetUpdateDTO"), exports);
|
|
874
875
|
__exportStar(require("./FlagCreateApiDTO"), exports);
|
|
875
876
|
__exportStar(require("./FlagDTO"), exports);
|
|
877
|
+
__exportStar(require("./FlagEnvironmentDefinitionDTO"), exports);
|
|
876
878
|
__exportStar(require("./FlagEnvironmentValueDTO"), exports);
|
|
877
879
|
__exportStar(require("./FlagEvaluationRequestDTO"), exports);
|
|
878
880
|
__exportStar(require("./FlagEvaluationResultDTO"), exports);
|
package/package.json
CHANGED