@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.
Files changed (50) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/APIAFLFlagApi.d.ts +209 -0
  3. package/dist/apis/APIAFLFlagApi.js +554 -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 +550 -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/DataResponseDTOListFlagEvaluationResultDTO.js +42 -0
  12. package/dist/esm/models/EventDTO.js +2 -0
  13. package/dist/esm/models/FlagCreateApiDTO.js +67 -0
  14. package/dist/esm/models/FlagDTO.js +98 -0
  15. package/dist/esm/models/FlagEnvironmentValueDTO.js +83 -0
  16. package/dist/esm/models/FlagEvaluationRequestDTO.js +47 -0
  17. package/dist/esm/models/FlagEvaluationResultDTO.js +55 -0
  18. package/dist/esm/models/FlagUpdateApiDTO.js +61 -0
  19. package/dist/esm/models/FlagVariantDTO.js +85 -0
  20. package/dist/esm/models/PageFlagDTO.js +64 -0
  21. package/dist/esm/models/index.js +11 -0
  22. package/dist/ext/telemetry.d.ts +1 -1
  23. package/dist/ext/telemetry.js +1 -1
  24. package/dist/models/DataResponseDTOFlagDTO.d.ts +33 -0
  25. package/dist/models/DataResponseDTOFlagDTO.js +49 -0
  26. package/dist/models/DataResponseDTOFlagEnvironmentValueDTO.d.ts +33 -0
  27. package/dist/models/DataResponseDTOFlagEnvironmentValueDTO.js +49 -0
  28. package/dist/models/DataResponseDTOListFlagEvaluationResultDTO.d.ts +33 -0
  29. package/dist/models/DataResponseDTOListFlagEvaluationResultDTO.js +49 -0
  30. package/dist/models/EventDTO.d.ts +6 -0
  31. package/dist/models/EventDTO.js +2 -0
  32. package/dist/models/FlagCreateApiDTO.d.ts +79 -0
  33. package/dist/models/FlagCreateApiDTO.js +75 -0
  34. package/dist/models/FlagDTO.d.ts +166 -0
  35. package/dist/models/FlagDTO.js +106 -0
  36. package/dist/models/FlagEnvironmentValueDTO.d.ts +140 -0
  37. package/dist/models/FlagEnvironmentValueDTO.js +91 -0
  38. package/dist/models/FlagEvaluationRequestDTO.d.ts +44 -0
  39. package/dist/models/FlagEvaluationRequestDTO.js +54 -0
  40. package/dist/models/FlagEvaluationResultDTO.d.ts +74 -0
  41. package/dist/models/FlagEvaluationResultDTO.js +62 -0
  42. package/dist/models/FlagUpdateApiDTO.d.ts +73 -0
  43. package/dist/models/FlagUpdateApiDTO.js +69 -0
  44. package/dist/models/FlagVariantDTO.d.ts +140 -0
  45. package/dist/models/FlagVariantDTO.js +93 -0
  46. package/dist/models/PageFlagDTO.d.ts +95 -0
  47. package/dist/models/PageFlagDTO.js +71 -0
  48. package/dist/models/index.d.ts +11 -0
  49. package/dist/models/index.js +11 -0
  50. package/package.json +1 -1
@@ -0,0 +1,64 @@
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 { PageableObjectFromJSON, PageableObjectToJSON, } from './PageableObject';
15
+ import { FlagDTOFromJSON, FlagDTOToJSON, } from './FlagDTO';
16
+ import { SortObjectFromJSON, SortObjectToJSON, } from './SortObject';
17
+ /**
18
+ * Check if a given object implements the PageFlagDTO interface.
19
+ */
20
+ export function instanceOfPageFlagDTO(value) {
21
+ return true;
22
+ }
23
+ export function PageFlagDTOFromJSON(json) {
24
+ return PageFlagDTOFromJSONTyped(json, false);
25
+ }
26
+ export function PageFlagDTOFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'content': json['content'] == null ? undefined : (json['content'].map(FlagDTOFromJSON)),
32
+ 'empty': json['empty'] == null ? undefined : json['empty'],
33
+ 'first': json['first'] == null ? undefined : json['first'],
34
+ 'last': json['last'] == null ? undefined : json['last'],
35
+ 'number': json['number'] == null ? undefined : json['number'],
36
+ 'numberOfElements': json['numberOfElements'] == null ? undefined : json['numberOfElements'],
37
+ 'pageable': json['pageable'] == null ? undefined : PageableObjectFromJSON(json['pageable']),
38
+ 'size': json['size'] == null ? undefined : json['size'],
39
+ 'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
40
+ 'totalElements': json['totalElements'] == null ? undefined : json['totalElements'],
41
+ 'totalPages': json['totalPages'] == null ? undefined : json['totalPages'],
42
+ };
43
+ }
44
+ export function PageFlagDTOToJSON(json) {
45
+ return PageFlagDTOToJSONTyped(json, false);
46
+ }
47
+ export function PageFlagDTOToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'content': value['content'] == null ? undefined : (value['content'].map(FlagDTOToJSON)),
53
+ 'empty': value['empty'],
54
+ 'first': value['first'],
55
+ 'last': value['last'],
56
+ 'number': value['number'],
57
+ 'numberOfElements': value['numberOfElements'],
58
+ 'pageable': PageableObjectToJSON(value['pageable']),
59
+ 'size': value['size'],
60
+ 'sort': SortObjectToJSON(value['sort']),
61
+ 'totalElements': value['totalElements'],
62
+ 'totalPages': value['totalPages'],
63
+ };
64
+ }
@@ -447,6 +447,8 @@ export * from './DataResponseDTOFinancialStatementDTO';
447
447
  export * from './DataResponseDTOFiscalPeriodDTO';
448
448
  export * from './DataResponseDTOFiscalYearDTO';
449
449
  export * from './DataResponseDTOFixedAssetDTO';
450
+ export * from './DataResponseDTOFlagDTO';
451
+ export * from './DataResponseDTOFlagEnvironmentValueDTO';
450
452
  export * from './DataResponseDTOFleetAlertDTO';
451
453
  export * from './DataResponseDTOFleetAlertRuleDTO';
452
454
  export * from './DataResponseDTOFleetDeviceCommandDTO';
@@ -547,6 +549,7 @@ export * from './DataResponseDTOListEventSessionDTO';
547
549
  export * from './DataResponseDTOListEventTicketTypeDTO';
548
550
  export * from './DataResponseDTOListFinanceAiRequestDTO';
549
551
  export * from './DataResponseDTOListFiscalPeriodDTO';
552
+ export * from './DataResponseDTOListFlagEvaluationResultDTO';
550
553
  export * from './DataResponseDTOListFleetAlertDTO';
551
554
  export * from './DataResponseDTOListFleetDeviceCommandDTO';
552
555
  export * from './DataResponseDTOListFleetDeviceConsumableDTO';
@@ -852,6 +855,13 @@ export * from './FixedAssetCreateDTO';
852
855
  export * from './FixedAssetDTO';
853
856
  export * from './FixedAssetSearchDTO';
854
857
  export * from './FixedAssetUpdateDTO';
858
+ export * from './FlagCreateApiDTO';
859
+ export * from './FlagDTO';
860
+ export * from './FlagEnvironmentValueDTO';
861
+ export * from './FlagEvaluationRequestDTO';
862
+ export * from './FlagEvaluationResultDTO';
863
+ export * from './FlagUpdateApiDTO';
864
+ export * from './FlagVariantDTO';
855
865
  export * from './FleetAlertDTO';
856
866
  export * from './FleetAlertRuleCreateDTO';
857
867
  export * from './FleetAlertRuleDTO';
@@ -1266,6 +1276,7 @@ export * from './PageFileWithURLDTO';
1266
1276
  export * from './PageFilterViewGroupDTO';
1267
1277
  export * from './PageFiscalYearDTO';
1268
1278
  export * from './PageFixedAssetDTO';
1279
+ export * from './PageFlagDTO';
1269
1280
  export * from './PageFleetAlertDTO';
1270
1281
  export * from './PageFleetAlertRuleDTO';
1271
1282
  export * from './PageFleetDeviceCommandDTO';
@@ -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.10.0";
9
+ export declare const VERSION = "0.11.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. */
@@ -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.10.0';
17
+ exports.VERSION = '0.11.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 { FlagDTO } from './FlagDTO';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface DataResponseDTOFlagDTO
17
+ */
18
+ export interface DataResponseDTOFlagDTO {
19
+ /**
20
+ *
21
+ * @type {FlagDTO}
22
+ * @memberof DataResponseDTOFlagDTO
23
+ */
24
+ data?: FlagDTO;
25
+ }
26
+ /**
27
+ * Check if a given object implements the DataResponseDTOFlagDTO interface.
28
+ */
29
+ export declare function instanceOfDataResponseDTOFlagDTO(value: object): value is DataResponseDTOFlagDTO;
30
+ export declare function DataResponseDTOFlagDTOFromJSON(json: any): DataResponseDTOFlagDTO;
31
+ export declare function DataResponseDTOFlagDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): DataResponseDTOFlagDTO;
32
+ export declare function DataResponseDTOFlagDTOToJSON(json: any): DataResponseDTOFlagDTO;
33
+ export declare function DataResponseDTOFlagDTOToJSONTyped(value?: DataResponseDTOFlagDTO | 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.instanceOfDataResponseDTOFlagDTO = instanceOfDataResponseDTOFlagDTO;
17
+ exports.DataResponseDTOFlagDTOFromJSON = DataResponseDTOFlagDTOFromJSON;
18
+ exports.DataResponseDTOFlagDTOFromJSONTyped = DataResponseDTOFlagDTOFromJSONTyped;
19
+ exports.DataResponseDTOFlagDTOToJSON = DataResponseDTOFlagDTOToJSON;
20
+ exports.DataResponseDTOFlagDTOToJSONTyped = DataResponseDTOFlagDTOToJSONTyped;
21
+ const FlagDTO_1 = require("./FlagDTO");
22
+ /**
23
+ * Check if a given object implements the DataResponseDTOFlagDTO interface.
24
+ */
25
+ function instanceOfDataResponseDTOFlagDTO(value) {
26
+ return true;
27
+ }
28
+ function DataResponseDTOFlagDTOFromJSON(json) {
29
+ return DataResponseDTOFlagDTOFromJSONTyped(json, false);
30
+ }
31
+ function DataResponseDTOFlagDTOFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (0, FlagDTO_1.FlagDTOFromJSON)(json['data']),
37
+ };
38
+ }
39
+ function DataResponseDTOFlagDTOToJSON(json) {
40
+ return DataResponseDTOFlagDTOToJSONTyped(json, false);
41
+ }
42
+ function DataResponseDTOFlagDTOToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'data': (0, FlagDTO_1.FlagDTOToJSON)(value['data']),
48
+ };
49
+ }
@@ -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 { FlagEnvironmentValueDTO } from './FlagEnvironmentValueDTO';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface DataResponseDTOFlagEnvironmentValueDTO
17
+ */
18
+ export interface DataResponseDTOFlagEnvironmentValueDTO {
19
+ /**
20
+ *
21
+ * @type {FlagEnvironmentValueDTO}
22
+ * @memberof DataResponseDTOFlagEnvironmentValueDTO
23
+ */
24
+ data?: FlagEnvironmentValueDTO;
25
+ }
26
+ /**
27
+ * Check if a given object implements the DataResponseDTOFlagEnvironmentValueDTO interface.
28
+ */
29
+ export declare function instanceOfDataResponseDTOFlagEnvironmentValueDTO(value: object): value is DataResponseDTOFlagEnvironmentValueDTO;
30
+ export declare function DataResponseDTOFlagEnvironmentValueDTOFromJSON(json: any): DataResponseDTOFlagEnvironmentValueDTO;
31
+ export declare function DataResponseDTOFlagEnvironmentValueDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): DataResponseDTOFlagEnvironmentValueDTO;
32
+ export declare function DataResponseDTOFlagEnvironmentValueDTOToJSON(json: any): DataResponseDTOFlagEnvironmentValueDTO;
33
+ export declare function DataResponseDTOFlagEnvironmentValueDTOToJSONTyped(value?: DataResponseDTOFlagEnvironmentValueDTO | 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.instanceOfDataResponseDTOFlagEnvironmentValueDTO = instanceOfDataResponseDTOFlagEnvironmentValueDTO;
17
+ exports.DataResponseDTOFlagEnvironmentValueDTOFromJSON = DataResponseDTOFlagEnvironmentValueDTOFromJSON;
18
+ exports.DataResponseDTOFlagEnvironmentValueDTOFromJSONTyped = DataResponseDTOFlagEnvironmentValueDTOFromJSONTyped;
19
+ exports.DataResponseDTOFlagEnvironmentValueDTOToJSON = DataResponseDTOFlagEnvironmentValueDTOToJSON;
20
+ exports.DataResponseDTOFlagEnvironmentValueDTOToJSONTyped = DataResponseDTOFlagEnvironmentValueDTOToJSONTyped;
21
+ const FlagEnvironmentValueDTO_1 = require("./FlagEnvironmentValueDTO");
22
+ /**
23
+ * Check if a given object implements the DataResponseDTOFlagEnvironmentValueDTO interface.
24
+ */
25
+ function instanceOfDataResponseDTOFlagEnvironmentValueDTO(value) {
26
+ return true;
27
+ }
28
+ function DataResponseDTOFlagEnvironmentValueDTOFromJSON(json) {
29
+ return DataResponseDTOFlagEnvironmentValueDTOFromJSONTyped(json, false);
30
+ }
31
+ function DataResponseDTOFlagEnvironmentValueDTOFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (0, FlagEnvironmentValueDTO_1.FlagEnvironmentValueDTOFromJSON)(json['data']),
37
+ };
38
+ }
39
+ function DataResponseDTOFlagEnvironmentValueDTOToJSON(json) {
40
+ return DataResponseDTOFlagEnvironmentValueDTOToJSONTyped(json, false);
41
+ }
42
+ function DataResponseDTOFlagEnvironmentValueDTOToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'data': (0, FlagEnvironmentValueDTO_1.FlagEnvironmentValueDTOToJSON)(value['data']),
48
+ };
49
+ }
@@ -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 { FlagEvaluationResultDTO } from './FlagEvaluationResultDTO';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface DataResponseDTOListFlagEvaluationResultDTO
17
+ */
18
+ export interface DataResponseDTOListFlagEvaluationResultDTO {
19
+ /**
20
+ *
21
+ * @type {Array<FlagEvaluationResultDTO>}
22
+ * @memberof DataResponseDTOListFlagEvaluationResultDTO
23
+ */
24
+ data?: Array<FlagEvaluationResultDTO>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the DataResponseDTOListFlagEvaluationResultDTO interface.
28
+ */
29
+ export declare function instanceOfDataResponseDTOListFlagEvaluationResultDTO(value: object): value is DataResponseDTOListFlagEvaluationResultDTO;
30
+ export declare function DataResponseDTOListFlagEvaluationResultDTOFromJSON(json: any): DataResponseDTOListFlagEvaluationResultDTO;
31
+ export declare function DataResponseDTOListFlagEvaluationResultDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): DataResponseDTOListFlagEvaluationResultDTO;
32
+ export declare function DataResponseDTOListFlagEvaluationResultDTOToJSON(json: any): DataResponseDTOListFlagEvaluationResultDTO;
33
+ export declare function DataResponseDTOListFlagEvaluationResultDTOToJSONTyped(value?: DataResponseDTOListFlagEvaluationResultDTO | 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.instanceOfDataResponseDTOListFlagEvaluationResultDTO = instanceOfDataResponseDTOListFlagEvaluationResultDTO;
17
+ exports.DataResponseDTOListFlagEvaluationResultDTOFromJSON = DataResponseDTOListFlagEvaluationResultDTOFromJSON;
18
+ exports.DataResponseDTOListFlagEvaluationResultDTOFromJSONTyped = DataResponseDTOListFlagEvaluationResultDTOFromJSONTyped;
19
+ exports.DataResponseDTOListFlagEvaluationResultDTOToJSON = DataResponseDTOListFlagEvaluationResultDTOToJSON;
20
+ exports.DataResponseDTOListFlagEvaluationResultDTOToJSONTyped = DataResponseDTOListFlagEvaluationResultDTOToJSONTyped;
21
+ const FlagEvaluationResultDTO_1 = require("./FlagEvaluationResultDTO");
22
+ /**
23
+ * Check if a given object implements the DataResponseDTOListFlagEvaluationResultDTO interface.
24
+ */
25
+ function instanceOfDataResponseDTOListFlagEvaluationResultDTO(value) {
26
+ return true;
27
+ }
28
+ function DataResponseDTOListFlagEvaluationResultDTOFromJSON(json) {
29
+ return DataResponseDTOListFlagEvaluationResultDTOFromJSONTyped(json, false);
30
+ }
31
+ function DataResponseDTOListFlagEvaluationResultDTOFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (json['data'].map(FlagEvaluationResultDTO_1.FlagEvaluationResultDTOFromJSON)),
37
+ };
38
+ }
39
+ function DataResponseDTOListFlagEvaluationResultDTOToJSON(json) {
40
+ return DataResponseDTOListFlagEvaluationResultDTOToJSONTyped(json, false);
41
+ }
42
+ function DataResponseDTOListFlagEvaluationResultDTOToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'data': value['data'] == null ? undefined : (value['data'].map(FlagEvaluationResultDTO_1.FlagEvaluationResultDTOToJSON)),
48
+ };
49
+ }
@@ -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
+ }