@integrahub/vergefy-client 0.12.0 → 0.13.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 (80) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/APIAFLFlagApi.d.ts +44 -0
  3. package/dist/apis/APIAFLFlagApi.js +128 -0
  4. package/dist/esm/apis/APIAFLFlagApi.js +128 -0
  5. package/dist/esm/ext/telemetry.js +1 -1
  6. package/dist/esm/models/AffiliateTierHistoryDTO.js +9 -3
  7. package/dist/esm/models/AgentHierarchyCreateDTO.js +3 -1
  8. package/dist/esm/models/ArticleChannelStockCreateDTO.js +3 -1
  9. package/dist/esm/models/DataResponseDTOFlagEnvironmentDefinitionDTO.js +42 -0
  10. package/dist/esm/models/DealCloseDTO.js +3 -1
  11. package/dist/esm/models/DealStageUpdateDTO.js +3 -1
  12. package/dist/esm/models/FlagEnvironmentCreateApiDTO.js +51 -0
  13. package/dist/esm/models/FleetDeviceConsumableCreateDTO.js +6 -2
  14. package/dist/esm/models/FleetGeofenceCreateDTO.js +9 -3
  15. package/dist/esm/models/FleetTelemetryCreateDTO.js +6 -2
  16. package/dist/esm/models/GoodsReceiptDTO.js +3 -1
  17. package/dist/esm/models/InsuranceBrokerCreateDTO.js +6 -2
  18. package/dist/esm/models/InsuranceCarrierCreateDTO.js +3 -1
  19. package/dist/esm/models/InsuranceClaimCreateDTO.js +10 -4
  20. package/dist/esm/models/InsuranceCommissionCreateDTO.js +9 -3
  21. package/dist/esm/models/InsuranceCommissionStatementCreateDTO.js +11 -5
  22. package/dist/esm/models/InsurancePolicyCreateDTO.js +14 -6
  23. package/dist/esm/models/LoyaltyMemberEnrollDTO.js +6 -2
  24. package/dist/esm/models/ManufacturingProcessProfileCreateDTO.js +3 -1
  25. package/dist/esm/models/ManufacturingWorkOrderMaterialCreateDTO.js +6 -2
  26. package/dist/esm/models/PlatformPaymentMethodDTO.js +3 -1
  27. package/dist/esm/models/SocialWorkflowCreateDTO.js +3 -1
  28. package/dist/esm/models/StockDTO.js +6 -2
  29. package/dist/esm/models/index.js +2 -0
  30. package/dist/ext/telemetry.d.ts +1 -1
  31. package/dist/ext/telemetry.js +1 -1
  32. package/dist/models/AffiliateTierHistoryDTO.d.ts +3 -3
  33. package/dist/models/AffiliateTierHistoryDTO.js +9 -3
  34. package/dist/models/AgentHierarchyCreateDTO.d.ts +1 -1
  35. package/dist/models/AgentHierarchyCreateDTO.js +3 -1
  36. package/dist/models/ArticleChannelStockCreateDTO.d.ts +1 -1
  37. package/dist/models/ArticleChannelStockCreateDTO.js +3 -1
  38. package/dist/models/DataResponseDTOFlagEnvironmentDefinitionDTO.d.ts +33 -0
  39. package/dist/models/DataResponseDTOFlagEnvironmentDefinitionDTO.js +49 -0
  40. package/dist/models/DealCloseDTO.d.ts +1 -1
  41. package/dist/models/DealCloseDTO.js +3 -1
  42. package/dist/models/DealStageUpdateDTO.d.ts +1 -1
  43. package/dist/models/DealStageUpdateDTO.js +3 -1
  44. package/dist/models/FlagEnvironmentCreateApiDTO.d.ts +50 -0
  45. package/dist/models/FlagEnvironmentCreateApiDTO.js +58 -0
  46. package/dist/models/FleetDeviceConsumableCreateDTO.d.ts +2 -2
  47. package/dist/models/FleetDeviceConsumableCreateDTO.js +6 -2
  48. package/dist/models/FleetGeofenceCreateDTO.d.ts +3 -3
  49. package/dist/models/FleetGeofenceCreateDTO.js +9 -3
  50. package/dist/models/FleetTelemetryCreateDTO.d.ts +2 -2
  51. package/dist/models/FleetTelemetryCreateDTO.js +6 -2
  52. package/dist/models/GoodsReceiptDTO.d.ts +1 -1
  53. package/dist/models/GoodsReceiptDTO.js +3 -1
  54. package/dist/models/InsuranceBrokerCreateDTO.d.ts +2 -2
  55. package/dist/models/InsuranceBrokerCreateDTO.js +6 -2
  56. package/dist/models/InsuranceCarrierCreateDTO.d.ts +1 -1
  57. package/dist/models/InsuranceCarrierCreateDTO.js +3 -1
  58. package/dist/models/InsuranceClaimCreateDTO.d.ts +3 -3
  59. package/dist/models/InsuranceClaimCreateDTO.js +10 -4
  60. package/dist/models/InsuranceCommissionCreateDTO.d.ts +3 -3
  61. package/dist/models/InsuranceCommissionCreateDTO.js +9 -3
  62. package/dist/models/InsuranceCommissionStatementCreateDTO.d.ts +3 -3
  63. package/dist/models/InsuranceCommissionStatementCreateDTO.js +11 -5
  64. package/dist/models/InsurancePolicyCreateDTO.d.ts +4 -4
  65. package/dist/models/InsurancePolicyCreateDTO.js +14 -6
  66. package/dist/models/LoyaltyMemberEnrollDTO.d.ts +2 -2
  67. package/dist/models/LoyaltyMemberEnrollDTO.js +6 -2
  68. package/dist/models/ManufacturingProcessProfileCreateDTO.d.ts +1 -1
  69. package/dist/models/ManufacturingProcessProfileCreateDTO.js +3 -1
  70. package/dist/models/ManufacturingWorkOrderMaterialCreateDTO.d.ts +2 -2
  71. package/dist/models/ManufacturingWorkOrderMaterialCreateDTO.js +6 -2
  72. package/dist/models/PlatformPaymentMethodDTO.d.ts +1 -1
  73. package/dist/models/PlatformPaymentMethodDTO.js +3 -1
  74. package/dist/models/SocialWorkflowCreateDTO.d.ts +1 -1
  75. package/dist/models/SocialWorkflowCreateDTO.js +3 -1
  76. package/dist/models/StockDTO.d.ts +2 -2
  77. package/dist/models/StockDTO.js +6 -2
  78. package/dist/models/index.d.ts +2 -0
  79. package/dist/models/index.js +2 -0
  80. package/package.json +1 -1
@@ -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 DataResponseDTOFlagEnvironmentDefinitionDTO
17
+ */
18
+ export interface DataResponseDTOFlagEnvironmentDefinitionDTO {
19
+ /**
20
+ *
21
+ * @type {FlagEnvironmentDefinitionDTO}
22
+ * @memberof DataResponseDTOFlagEnvironmentDefinitionDTO
23
+ */
24
+ data?: FlagEnvironmentDefinitionDTO;
25
+ }
26
+ /**
27
+ * Check if a given object implements the DataResponseDTOFlagEnvironmentDefinitionDTO interface.
28
+ */
29
+ export declare function instanceOfDataResponseDTOFlagEnvironmentDefinitionDTO(value: object): value is DataResponseDTOFlagEnvironmentDefinitionDTO;
30
+ export declare function DataResponseDTOFlagEnvironmentDefinitionDTOFromJSON(json: any): DataResponseDTOFlagEnvironmentDefinitionDTO;
31
+ export declare function DataResponseDTOFlagEnvironmentDefinitionDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): DataResponseDTOFlagEnvironmentDefinitionDTO;
32
+ export declare function DataResponseDTOFlagEnvironmentDefinitionDTOToJSON(json: any): DataResponseDTOFlagEnvironmentDefinitionDTO;
33
+ export declare function DataResponseDTOFlagEnvironmentDefinitionDTOToJSONTyped(value?: DataResponseDTOFlagEnvironmentDefinitionDTO | 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.instanceOfDataResponseDTOFlagEnvironmentDefinitionDTO = instanceOfDataResponseDTOFlagEnvironmentDefinitionDTO;
17
+ exports.DataResponseDTOFlagEnvironmentDefinitionDTOFromJSON = DataResponseDTOFlagEnvironmentDefinitionDTOFromJSON;
18
+ exports.DataResponseDTOFlagEnvironmentDefinitionDTOFromJSONTyped = DataResponseDTOFlagEnvironmentDefinitionDTOFromJSONTyped;
19
+ exports.DataResponseDTOFlagEnvironmentDefinitionDTOToJSON = DataResponseDTOFlagEnvironmentDefinitionDTOToJSON;
20
+ exports.DataResponseDTOFlagEnvironmentDefinitionDTOToJSONTyped = DataResponseDTOFlagEnvironmentDefinitionDTOToJSONTyped;
21
+ const FlagEnvironmentDefinitionDTO_1 = require("./FlagEnvironmentDefinitionDTO");
22
+ /**
23
+ * Check if a given object implements the DataResponseDTOFlagEnvironmentDefinitionDTO interface.
24
+ */
25
+ function instanceOfDataResponseDTOFlagEnvironmentDefinitionDTO(value) {
26
+ return true;
27
+ }
28
+ function DataResponseDTOFlagEnvironmentDefinitionDTOFromJSON(json) {
29
+ return DataResponseDTOFlagEnvironmentDefinitionDTOFromJSONTyped(json, false);
30
+ }
31
+ function DataResponseDTOFlagEnvironmentDefinitionDTOFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (0, FlagEnvironmentDefinitionDTO_1.FlagEnvironmentDefinitionDTOFromJSON)(json['data']),
37
+ };
38
+ }
39
+ function DataResponseDTOFlagEnvironmentDefinitionDTOToJSON(json) {
40
+ return DataResponseDTOFlagEnvironmentDefinitionDTOToJSONTyped(json, false);
41
+ }
42
+ function DataResponseDTOFlagEnvironmentDefinitionDTOToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'data': (0, FlagEnvironmentDefinitionDTO_1.FlagEnvironmentDefinitionDTOToJSON)(value['data']),
48
+ };
49
+ }
@@ -27,7 +27,7 @@ export interface DealCloseDTO {
27
27
  * @type {string}
28
28
  * @memberof DealCloseDTO
29
29
  */
30
- closeReason?: string;
30
+ closeReason: string;
31
31
  /**
32
32
  *
33
33
  * @type {Date}
@@ -46,6 +46,8 @@ exports.DealCloseDTOEntityStatusEnum = {
46
46
  * Check if a given object implements the DealCloseDTO interface.
47
47
  */
48
48
  function instanceOfDealCloseDTO(value) {
49
+ if (!('closeReason' in value) || value['closeReason'] === undefined)
50
+ return false;
49
51
  if (!('dealStage' in value) || value['dealStage'] === undefined)
50
52
  return false;
51
53
  return true;
@@ -59,7 +61,7 @@ function DealCloseDTOFromJSONTyped(json, ignoreDiscriminator) {
59
61
  }
60
62
  return {
61
63
  'actualCloseDate': json['actualCloseDate'] == null ? undefined : json['actualCloseDate'],
62
- 'closeReason': json['closeReason'] == null ? undefined : json['closeReason'],
64
+ 'closeReason': json['closeReason'],
63
65
  'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
64
66
  'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
65
67
  'customId': json['customId'] == null ? undefined : json['customId'],
@@ -81,7 +81,7 @@ export interface DealStageUpdateDTO {
81
81
  * @type {DealStageUpdateDTONewDealStageEnum}
82
82
  * @memberof DealStageUpdateDTO
83
83
  */
84
- newDealStage?: DealStageUpdateDTONewDealStageEnum;
84
+ newDealStage: DealStageUpdateDTONewDealStageEnum;
85
85
  /**
86
86
  *
87
87
  * @type {string}
@@ -46,6 +46,8 @@ exports.DealStageUpdateDTONewDealStageEnum = {
46
46
  * Check if a given object implements the DealStageUpdateDTO interface.
47
47
  */
48
48
  function instanceOfDealStageUpdateDTO(value) {
49
+ if (!('newDealStage' in value) || value['newDealStage'] === undefined)
50
+ return false;
49
51
  if (!('newPipelineStageId' in value) || value['newPipelineStageId'] === undefined)
50
52
  return false;
51
53
  return true;
@@ -68,7 +70,7 @@ function DealStageUpdateDTOFromJSONTyped(json, ignoreDiscriminator) {
68
70
  'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
69
71
  'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
70
72
  'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
71
- 'newDealStage': json['newDealStage'] == null ? undefined : json['newDealStage'],
73
+ 'newDealStage': json['newDealStage'],
72
74
  'newPipelineStageId': json['newPipelineStageId'],
73
75
  'newProbability': json['newProbability'] == null ? undefined : json['newProbability'],
74
76
  'notes': json['notes'] == null ? undefined : json['notes'],
@@ -0,0 +1,50 @@
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
+ /**
13
+ * API request for defining a feature-flag environment
14
+ * @export
15
+ * @interface FlagEnvironmentCreateApiDTO
16
+ */
17
+ export interface FlagEnvironmentCreateApiDTO {
18
+ /**
19
+ * Free-text description of what this environment is for
20
+ * @type {string}
21
+ * @memberof FlagEnvironmentCreateApiDTO
22
+ */
23
+ description?: string;
24
+ /**
25
+ * Environment key, unique per workspace and case-insensitive. Used as the path segment on AFL007 and as the `environment` value on AFL006.
26
+ * @type {string}
27
+ * @memberof FlagEnvironmentCreateApiDTO
28
+ */
29
+ key: string;
30
+ /**
31
+ * Human-readable name shown in the UI
32
+ * @type {string}
33
+ * @memberof FlagEnvironmentCreateApiDTO
34
+ */
35
+ name: string;
36
+ /**
37
+ * Display order in the UI; ties break on key. Defaults to 0.
38
+ * @type {number}
39
+ * @memberof FlagEnvironmentCreateApiDTO
40
+ */
41
+ ordinal?: number;
42
+ }
43
+ /**
44
+ * Check if a given object implements the FlagEnvironmentCreateApiDTO interface.
45
+ */
46
+ export declare function instanceOfFlagEnvironmentCreateApiDTO(value: object): value is FlagEnvironmentCreateApiDTO;
47
+ export declare function FlagEnvironmentCreateApiDTOFromJSON(json: any): FlagEnvironmentCreateApiDTO;
48
+ export declare function FlagEnvironmentCreateApiDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlagEnvironmentCreateApiDTO;
49
+ export declare function FlagEnvironmentCreateApiDTOToJSON(json: any): FlagEnvironmentCreateApiDTO;
50
+ export declare function FlagEnvironmentCreateApiDTOToJSONTyped(value?: FlagEnvironmentCreateApiDTO | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,58 @@
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.instanceOfFlagEnvironmentCreateApiDTO = instanceOfFlagEnvironmentCreateApiDTO;
17
+ exports.FlagEnvironmentCreateApiDTOFromJSON = FlagEnvironmentCreateApiDTOFromJSON;
18
+ exports.FlagEnvironmentCreateApiDTOFromJSONTyped = FlagEnvironmentCreateApiDTOFromJSONTyped;
19
+ exports.FlagEnvironmentCreateApiDTOToJSON = FlagEnvironmentCreateApiDTOToJSON;
20
+ exports.FlagEnvironmentCreateApiDTOToJSONTyped = FlagEnvironmentCreateApiDTOToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the FlagEnvironmentCreateApiDTO interface.
23
+ */
24
+ function instanceOfFlagEnvironmentCreateApiDTO(value) {
25
+ if (!('key' in value) || value['key'] === undefined)
26
+ return false;
27
+ if (!('name' in value) || value['name'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function FlagEnvironmentCreateApiDTOFromJSON(json) {
32
+ return FlagEnvironmentCreateApiDTOFromJSONTyped(json, false);
33
+ }
34
+ function FlagEnvironmentCreateApiDTOFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'description': json['description'] == null ? undefined : json['description'],
40
+ 'key': json['key'],
41
+ 'name': json['name'],
42
+ 'ordinal': json['ordinal'] == null ? undefined : json['ordinal'],
43
+ };
44
+ }
45
+ function FlagEnvironmentCreateApiDTOToJSON(json) {
46
+ return FlagEnvironmentCreateApiDTOToJSONTyped(json, false);
47
+ }
48
+ function FlagEnvironmentCreateApiDTOToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'description': value['description'],
54
+ 'key': value['key'],
55
+ 'name': value['name'],
56
+ 'ordinal': value['ordinal'],
57
+ };
58
+ }
@@ -20,7 +20,7 @@ export interface FleetDeviceConsumableCreateDTO {
20
20
  * @type {number}
21
21
  * @memberof FleetDeviceConsumableCreateDTO
22
22
  */
23
- capacity?: number;
23
+ capacity: number;
24
24
  /**
25
25
  *
26
26
  * @type {number}
@@ -38,7 +38,7 @@ export interface FleetDeviceConsumableCreateDTO {
38
38
  * @type {string}
39
39
  * @memberof FleetDeviceConsumableCreateDTO
40
40
  */
41
- deviceId?: string;
41
+ deviceId: string;
42
42
  /**
43
43
  *
44
44
  * @type {string}
@@ -22,6 +22,10 @@ exports.FleetDeviceConsumableCreateDTOToJSONTyped = FleetDeviceConsumableCreateD
22
22
  * Check if a given object implements the FleetDeviceConsumableCreateDTO interface.
23
23
  */
24
24
  function instanceOfFleetDeviceConsumableCreateDTO(value) {
25
+ if (!('capacity' in value) || value['capacity'] === undefined)
26
+ return false;
27
+ if (!('deviceId' in value) || value['deviceId'] === undefined)
28
+ return false;
25
29
  return true;
26
30
  }
27
31
  function FleetDeviceConsumableCreateDTOFromJSON(json) {
@@ -32,10 +36,10 @@ function FleetDeviceConsumableCreateDTOFromJSONTyped(json, ignoreDiscriminator)
32
36
  return json;
33
37
  }
34
38
  return {
35
- 'capacity': json['capacity'] == null ? undefined : json['capacity'],
39
+ 'capacity': json['capacity'],
36
40
  'criticalThresholdPercent': json['criticalThresholdPercent'] == null ? undefined : json['criticalThresholdPercent'],
37
41
  'currentQuantity': json['currentQuantity'] == null ? undefined : json['currentQuantity'],
38
- 'deviceId': json['deviceId'] == null ? undefined : json['deviceId'],
42
+ 'deviceId': json['deviceId'],
39
43
  'inventoryStockId': json['inventoryStockId'] == null ? undefined : json['inventoryStockId'],
40
44
  'lowThresholdPercent': json['lowThresholdPercent'] == null ? undefined : json['lowThresholdPercent'],
41
45
  'name': json['name'] == null ? undefined : json['name'],
@@ -21,13 +21,13 @@ export interface FleetGeofenceCreateDTO {
21
21
  * @type {number}
22
22
  * @memberof FleetGeofenceCreateDTO
23
23
  */
24
- centerLatitude?: number;
24
+ centerLatitude: number;
25
25
  /**
26
26
  *
27
27
  * @type {number}
28
28
  * @memberof FleetGeofenceCreateDTO
29
29
  */
30
- centerLongitude?: number;
30
+ centerLongitude: number;
31
31
  /**
32
32
  *
33
33
  * @type {string}
@@ -99,7 +99,7 @@ export interface FleetGeofenceCreateDTO {
99
99
  * @type {number}
100
100
  * @memberof FleetGeofenceCreateDTO
101
101
  */
102
- radius?: number;
102
+ radius: number;
103
103
  /**
104
104
  *
105
105
  * @type {TranslatedEntityEmbeddableDTO}
@@ -32,8 +32,14 @@ exports.FleetGeofenceCreateDTOTypeEnum = {
32
32
  * Check if a given object implements the FleetGeofenceCreateDTO interface.
33
33
  */
34
34
  function instanceOfFleetGeofenceCreateDTO(value) {
35
+ if (!('centerLatitude' in value) || value['centerLatitude'] === undefined)
36
+ return false;
37
+ if (!('centerLongitude' in value) || value['centerLongitude'] === undefined)
38
+ return false;
35
39
  if (!('name' in value) || value['name'] === undefined)
36
40
  return false;
41
+ if (!('radius' in value) || value['radius'] === undefined)
42
+ return false;
37
43
  return true;
38
44
  }
39
45
  function FleetGeofenceCreateDTOFromJSON(json) {
@@ -44,8 +50,8 @@ function FleetGeofenceCreateDTOFromJSONTyped(json, ignoreDiscriminator) {
44
50
  return json;
45
51
  }
46
52
  return {
47
- 'centerLatitude': json['centerLatitude'] == null ? undefined : json['centerLatitude'],
48
- 'centerLongitude': json['centerLongitude'] == null ? undefined : json['centerLongitude'],
53
+ 'centerLatitude': json['centerLatitude'],
54
+ 'centerLongitude': json['centerLongitude'],
49
55
  'contactId': json['contactId'] == null ? undefined : json['contactId'],
50
56
  'coordinates': json['coordinates'] == null ? undefined : json['coordinates'],
51
57
  'customId': json['customId'] == null ? undefined : json['customId'],
@@ -57,7 +63,7 @@ function FleetGeofenceCreateDTOFromJSONTyped(json, ignoreDiscriminator) {
57
63
  'permissionAdmin': json['permissionAdmin'] == null ? undefined : json['permissionAdmin'],
58
64
  'permissionRead': json['permissionRead'] == null ? undefined : json['permissionRead'],
59
65
  'permissionWrite': json['permissionWrite'] == null ? undefined : json['permissionWrite'],
60
- 'radius': json['radius'] == null ? undefined : json['radius'],
66
+ 'radius': json['radius'],
61
67
  'translation': json['translation'] == null ? undefined : (0, TranslatedEntityEmbeddableDTO_1.TranslatedEntityEmbeddableDTOFromJSON)(json['translation']),
62
68
  'type': json['type'] == null ? undefined : json['type'],
63
69
  };
@@ -20,7 +20,7 @@ export interface FleetTelemetryCreateDTO {
20
20
  * @type {string}
21
21
  * @memberof FleetTelemetryCreateDTO
22
22
  */
23
- deviceId?: string;
23
+ deviceId: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
@@ -32,7 +32,7 @@ export interface FleetTelemetryCreateDTO {
32
32
  * @type {number}
33
33
  * @memberof FleetTelemetryCreateDTO
34
34
  */
35
- metricValue?: number;
35
+ metricValue: number;
36
36
  /**
37
37
  *
38
38
  * @type {number}
@@ -22,6 +22,10 @@ exports.FleetTelemetryCreateDTOToJSONTyped = FleetTelemetryCreateDTOToJSONTyped;
22
22
  * Check if a given object implements the FleetTelemetryCreateDTO interface.
23
23
  */
24
24
  function instanceOfFleetTelemetryCreateDTO(value) {
25
+ if (!('deviceId' in value) || value['deviceId'] === undefined)
26
+ return false;
27
+ if (!('metricValue' in value) || value['metricValue'] === undefined)
28
+ return false;
25
29
  return true;
26
30
  }
27
31
  function FleetTelemetryCreateDTOFromJSON(json) {
@@ -32,9 +36,9 @@ function FleetTelemetryCreateDTOFromJSONTyped(json, ignoreDiscriminator) {
32
36
  return json;
33
37
  }
34
38
  return {
35
- 'deviceId': json['deviceId'] == null ? undefined : json['deviceId'],
39
+ 'deviceId': json['deviceId'],
36
40
  'metricName': json['metricName'] == null ? undefined : json['metricName'],
37
- 'metricValue': json['metricValue'] == null ? undefined : json['metricValue'],
41
+ 'metricValue': json['metricValue'],
38
42
  'qualityScore': json['qualityScore'] == null ? undefined : json['qualityScore'],
39
43
  'rawData': json['rawData'] == null ? undefined : json['rawData'],
40
44
  'recordedAt': json['recordedAt'] == null ? undefined : (new Date(json['recordedAt'])),
@@ -136,7 +136,7 @@ export interface GoodsReceiptDTO {
136
136
  * @type {string}
137
137
  * @memberof GoodsReceiptDTO
138
138
  */
139
- warehouseId?: string;
139
+ warehouseId: string;
140
140
  }
141
141
  /**
142
142
  * @export
@@ -43,6 +43,8 @@ exports.GoodsReceiptDTOStatusEnum = {
43
43
  * Check if a given object implements the GoodsReceiptDTO interface.
44
44
  */
45
45
  function instanceOfGoodsReceiptDTO(value) {
46
+ if (!('warehouseId' in value) || value['warehouseId'] === undefined)
47
+ return false;
46
48
  return true;
47
49
  }
48
50
  function GoodsReceiptDTOFromJSON(json) {
@@ -72,7 +74,7 @@ function GoodsReceiptDTOFromJSONTyped(json, ignoreDiscriminator) {
72
74
  'status': json['status'] == null ? undefined : json['status'],
73
75
  'supplierId': json['supplierId'] == null ? undefined : json['supplierId'],
74
76
  'version': json['version'] == null ? undefined : json['version'],
75
- 'warehouseId': json['warehouseId'] == null ? undefined : json['warehouseId'],
77
+ 'warehouseId': json['warehouseId'],
76
78
  };
77
79
  }
78
80
  function GoodsReceiptDTOToJSON(json) {
@@ -32,7 +32,7 @@ export interface InsuranceBrokerCreateDTO {
32
32
  * @type {InsuranceBrokerCreateDTOBrokerTypeEnum}
33
33
  * @memberof InsuranceBrokerCreateDTO
34
34
  */
35
- brokerType?: InsuranceBrokerCreateDTOBrokerTypeEnum;
35
+ brokerType: InsuranceBrokerCreateDTOBrokerTypeEnum;
36
36
  /**
37
37
  *
38
38
  * @type {string}
@@ -110,7 +110,7 @@ export interface InsuranceBrokerCreateDTO {
110
110
  * @type {InsuranceBrokerCreateDTORegionEnum}
111
111
  * @memberof InsuranceBrokerCreateDTO
112
112
  */
113
- region?: InsuranceBrokerCreateDTORegionEnum;
113
+ region: InsuranceBrokerCreateDTORegionEnum;
114
114
  /**
115
115
  *
116
116
  * @type {string}
@@ -51,6 +51,10 @@ exports.InsuranceBrokerCreateDTORegionEnum = {
51
51
  * Check if a given object implements the InsuranceBrokerCreateDTO interface.
52
52
  */
53
53
  function instanceOfInsuranceBrokerCreateDTO(value) {
54
+ if (!('brokerType' in value) || value['brokerType'] === undefined)
55
+ return false;
56
+ if (!('region' in value) || value['region'] === undefined)
57
+ return false;
54
58
  return true;
55
59
  }
56
60
  function InsuranceBrokerCreateDTOFromJSON(json) {
@@ -63,7 +67,7 @@ function InsuranceBrokerCreateDTOFromJSONTyped(json, ignoreDiscriminator) {
63
67
  return {
64
68
  'brokerCode': json['brokerCode'] == null ? undefined : json['brokerCode'],
65
69
  'brokerName': json['brokerName'] == null ? undefined : json['brokerName'],
66
- 'brokerType': json['brokerType'] == null ? undefined : json['brokerType'],
70
+ 'brokerType': json['brokerType'],
67
71
  'commissionSplitPercentage': json['commissionSplitPercentage'] == null ? undefined : json['commissionSplitPercentage'],
68
72
  'companyId': json['companyId'] == null ? undefined : json['companyId'],
69
73
  'customId': json['customId'] == null ? undefined : json['customId'],
@@ -76,7 +80,7 @@ function InsuranceBrokerCreateDTOFromJSONTyped(json, ignoreDiscriminator) {
76
80
  'permissionRead': json['permissionRead'] == null ? undefined : json['permissionRead'],
77
81
  'permissionWrite': json['permissionWrite'] == null ? undefined : json['permissionWrite'],
78
82
  'primaryContactId': json['primaryContactId'] == null ? undefined : json['primaryContactId'],
79
- 'region': json['region'] == null ? undefined : json['region'],
83
+ 'region': json['region'],
80
84
  'status': json['status'] == null ? undefined : json['status'],
81
85
  'tagIds': json['tagIds'] == null ? undefined : json['tagIds'],
82
86
  };
@@ -92,7 +92,7 @@ export interface InsuranceCarrierCreateDTO {
92
92
  * @type {InsuranceCarrierCreateDTORegionEnum}
93
93
  * @memberof InsuranceCarrierCreateDTO
94
94
  */
95
- region?: InsuranceCarrierCreateDTORegionEnum;
95
+ region: InsuranceCarrierCreateDTORegionEnum;
96
96
  /**
97
97
  *
98
98
  * @type {string}
@@ -34,6 +34,8 @@ exports.InsuranceCarrierCreateDTORegionEnum = {
34
34
  * Check if a given object implements the InsuranceCarrierCreateDTO interface.
35
35
  */
36
36
  function instanceOfInsuranceCarrierCreateDTO(value) {
37
+ if (!('region' in value) || value['region'] === undefined)
38
+ return false;
37
39
  return true;
38
40
  }
39
41
  function InsuranceCarrierCreateDTOFromJSON(json) {
@@ -56,7 +58,7 @@ function InsuranceCarrierCreateDTOFromJSONTyped(json, ignoreDiscriminator) {
56
58
  'permissionAdmin': json['permissionAdmin'] == null ? undefined : json['permissionAdmin'],
57
59
  'permissionRead': json['permissionRead'] == null ? undefined : json['permissionRead'],
58
60
  'permissionWrite': json['permissionWrite'] == null ? undefined : json['permissionWrite'],
59
- 'region': json['region'] == null ? undefined : json['region'],
61
+ 'region': json['region'],
60
62
  'status': json['status'] == null ? undefined : json['status'],
61
63
  'supportedProducts': json['supportedProducts'] == null ? undefined : json['supportedProducts'],
62
64
  };
@@ -32,7 +32,7 @@ export interface InsuranceClaimCreateDTO {
32
32
  * @type {string}
33
33
  * @memberof InsuranceClaimCreateDTO
34
34
  */
35
- claimedAmount?: string;
35
+ claimedAmount: string;
36
36
  /**
37
37
  *
38
38
  * @type {string}
@@ -62,7 +62,7 @@ export interface InsuranceClaimCreateDTO {
62
62
  * @type {Date}
63
63
  * @memberof InsuranceClaimCreateDTO
64
64
  */
65
- lossAt?: Date;
65
+ lossAt: Date;
66
66
  /**
67
67
  *
68
68
  * @type {string}
@@ -98,7 +98,7 @@ export interface InsuranceClaimCreateDTO {
98
98
  * @type {string}
99
99
  * @memberof InsuranceClaimCreateDTO
100
100
  */
101
- policyId?: string;
101
+ policyId: string;
102
102
  /**
103
103
  *
104
104
  * @type {Date}
@@ -39,6 +39,12 @@ exports.InsuranceClaimCreateDTOStatusEnum = {
39
39
  * Check if a given object implements the InsuranceClaimCreateDTO interface.
40
40
  */
41
41
  function instanceOfInsuranceClaimCreateDTO(value) {
42
+ if (!('claimedAmount' in value) || value['claimedAmount'] === undefined)
43
+ return false;
44
+ if (!('lossAt' in value) || value['lossAt'] === undefined)
45
+ return false;
46
+ if (!('policyId' in value) || value['policyId'] === undefined)
47
+ return false;
42
48
  return true;
43
49
  }
44
50
  function InsuranceClaimCreateDTOFromJSON(json) {
@@ -51,18 +57,18 @@ function InsuranceClaimCreateDTOFromJSONTyped(json, ignoreDiscriminator) {
51
57
  return {
52
58
  'adjusterPersonId': json['adjusterPersonId'] == null ? undefined : json['adjusterPersonId'],
53
59
  'claimNumber': json['claimNumber'] == null ? undefined : json['claimNumber'],
54
- 'claimedAmount': json['claimedAmount'] == null ? undefined : json['claimedAmount'],
60
+ 'claimedAmount': json['claimedAmount'],
55
61
  'currency': json['currency'] == null ? undefined : json['currency'],
56
62
  'customId': json['customId'] == null ? undefined : json['customId'],
57
63
  'description': json['description'] == null ? undefined : json['description'],
58
64
  'documentIds': json['documentIds'] == null ? undefined : json['documentIds'],
59
- 'lossAt': json['lossAt'] == null ? undefined : (new Date(json['lossAt'])),
65
+ 'lossAt': (new Date(json['lossAt'])),
60
66
  'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
61
67
  'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
62
68
  'permissionAdmin': json['permissionAdmin'] == null ? undefined : json['permissionAdmin'],
63
69
  'permissionRead': json['permissionRead'] == null ? undefined : json['permissionRead'],
64
70
  'permissionWrite': json['permissionWrite'] == null ? undefined : json['permissionWrite'],
65
- 'policyId': json['policyId'] == null ? undefined : json['policyId'],
71
+ 'policyId': json['policyId'],
66
72
  'reportedAt': json['reportedAt'] == null ? undefined : (new Date(json['reportedAt'])),
67
73
  'reserveAmount': json['reserveAmount'] == null ? undefined : json['reserveAmount'],
68
74
  'status': json['status'] == null ? undefined : json['status'],
@@ -83,7 +89,7 @@ function InsuranceClaimCreateDTOToJSONTyped(value, ignoreDiscriminator = false)
83
89
  'customId': value['customId'],
84
90
  'description': value['description'],
85
91
  'documentIds': value['documentIds'],
86
- 'lossAt': value['lossAt'] == null ? value['lossAt'] : value['lossAt'].toISOString(),
92
+ 'lossAt': value['lossAt'].toISOString(),
87
93
  'namespaceKey': value['namespaceKey'],
88
94
  'orderNumber': value['orderNumber'],
89
95
  'permissionAdmin': value['permissionAdmin'],
@@ -20,7 +20,7 @@ export interface InsuranceCommissionCreateDTO {
20
20
  * @type {string}
21
21
  * @memberof InsuranceCommissionCreateDTO
22
22
  */
23
- brokerId?: string;
23
+ brokerId: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
@@ -50,7 +50,7 @@ export interface InsuranceCommissionCreateDTO {
50
50
  * @type {string}
51
51
  * @memberof InsuranceCommissionCreateDTO
52
52
  */
53
- grossCommission?: string;
53
+ grossCommission: string;
54
54
  /**
55
55
  *
56
56
  * @type {string}
@@ -98,7 +98,7 @@ export interface InsuranceCommissionCreateDTO {
98
98
  * @type {string}
99
99
  * @memberof InsuranceCommissionCreateDTO
100
100
  */
101
- policyId?: string;
101
+ policyId: string;
102
102
  }
103
103
  /**
104
104
  * @export