@integrahub/vergefy-client 0.11.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 (86) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/APIAFLFlagApi.d.ts +68 -12
  3. package/dist/apis/APIAFLFlagApi.js +191 -11
  4. package/dist/esm/apis/APIAFLFlagApi.js +190 -10
  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/DataResponseDTOListFlagEnvironmentDefinitionDTO.js +42 -0
  11. package/dist/esm/models/DealCloseDTO.js +3 -1
  12. package/dist/esm/models/DealStageUpdateDTO.js +3 -1
  13. package/dist/esm/models/FlagEnvironmentCreateApiDTO.js +51 -0
  14. package/dist/esm/models/FlagEnvironmentDefinitionDTO.js +88 -0
  15. package/dist/esm/models/FleetDeviceConsumableCreateDTO.js +6 -2
  16. package/dist/esm/models/FleetGeofenceCreateDTO.js +9 -3
  17. package/dist/esm/models/FleetTelemetryCreateDTO.js +6 -2
  18. package/dist/esm/models/GoodsReceiptDTO.js +3 -1
  19. package/dist/esm/models/InsuranceBrokerCreateDTO.js +6 -2
  20. package/dist/esm/models/InsuranceCarrierCreateDTO.js +3 -1
  21. package/dist/esm/models/InsuranceClaimCreateDTO.js +10 -4
  22. package/dist/esm/models/InsuranceCommissionCreateDTO.js +9 -3
  23. package/dist/esm/models/InsuranceCommissionStatementCreateDTO.js +11 -5
  24. package/dist/esm/models/InsurancePolicyCreateDTO.js +14 -6
  25. package/dist/esm/models/LoyaltyMemberEnrollDTO.js +6 -2
  26. package/dist/esm/models/ManufacturingProcessProfileCreateDTO.js +3 -1
  27. package/dist/esm/models/ManufacturingWorkOrderMaterialCreateDTO.js +6 -2
  28. package/dist/esm/models/PlatformPaymentMethodDTO.js +3 -1
  29. package/dist/esm/models/SocialWorkflowCreateDTO.js +3 -1
  30. package/dist/esm/models/StockDTO.js +6 -2
  31. package/dist/esm/models/index.js +4 -0
  32. package/dist/ext/telemetry.d.ts +1 -1
  33. package/dist/ext/telemetry.js +1 -1
  34. package/dist/models/AffiliateTierHistoryDTO.d.ts +3 -3
  35. package/dist/models/AffiliateTierHistoryDTO.js +9 -3
  36. package/dist/models/AgentHierarchyCreateDTO.d.ts +1 -1
  37. package/dist/models/AgentHierarchyCreateDTO.js +3 -1
  38. package/dist/models/ArticleChannelStockCreateDTO.d.ts +1 -1
  39. package/dist/models/ArticleChannelStockCreateDTO.js +3 -1
  40. package/dist/models/DataResponseDTOFlagEnvironmentDefinitionDTO.d.ts +33 -0
  41. package/dist/models/DataResponseDTOFlagEnvironmentDefinitionDTO.js +49 -0
  42. package/dist/models/DataResponseDTOListFlagEnvironmentDefinitionDTO.d.ts +33 -0
  43. package/dist/models/DataResponseDTOListFlagEnvironmentDefinitionDTO.js +49 -0
  44. package/dist/models/DealCloseDTO.d.ts +1 -1
  45. package/dist/models/DealCloseDTO.js +3 -1
  46. package/dist/models/DealStageUpdateDTO.d.ts +1 -1
  47. package/dist/models/DealStageUpdateDTO.js +3 -1
  48. package/dist/models/FlagEnvironmentCreateApiDTO.d.ts +50 -0
  49. package/dist/models/FlagEnvironmentCreateApiDTO.js +58 -0
  50. package/dist/models/FlagEnvironmentDefinitionDTO.d.ts +140 -0
  51. package/dist/models/FlagEnvironmentDefinitionDTO.js +96 -0
  52. package/dist/models/FleetDeviceConsumableCreateDTO.d.ts +2 -2
  53. package/dist/models/FleetDeviceConsumableCreateDTO.js +6 -2
  54. package/dist/models/FleetGeofenceCreateDTO.d.ts +3 -3
  55. package/dist/models/FleetGeofenceCreateDTO.js +9 -3
  56. package/dist/models/FleetTelemetryCreateDTO.d.ts +2 -2
  57. package/dist/models/FleetTelemetryCreateDTO.js +6 -2
  58. package/dist/models/GoodsReceiptDTO.d.ts +1 -1
  59. package/dist/models/GoodsReceiptDTO.js +3 -1
  60. package/dist/models/InsuranceBrokerCreateDTO.d.ts +2 -2
  61. package/dist/models/InsuranceBrokerCreateDTO.js +6 -2
  62. package/dist/models/InsuranceCarrierCreateDTO.d.ts +1 -1
  63. package/dist/models/InsuranceCarrierCreateDTO.js +3 -1
  64. package/dist/models/InsuranceClaimCreateDTO.d.ts +3 -3
  65. package/dist/models/InsuranceClaimCreateDTO.js +10 -4
  66. package/dist/models/InsuranceCommissionCreateDTO.d.ts +3 -3
  67. package/dist/models/InsuranceCommissionCreateDTO.js +9 -3
  68. package/dist/models/InsuranceCommissionStatementCreateDTO.d.ts +3 -3
  69. package/dist/models/InsuranceCommissionStatementCreateDTO.js +11 -5
  70. package/dist/models/InsurancePolicyCreateDTO.d.ts +4 -4
  71. package/dist/models/InsurancePolicyCreateDTO.js +14 -6
  72. package/dist/models/LoyaltyMemberEnrollDTO.d.ts +2 -2
  73. package/dist/models/LoyaltyMemberEnrollDTO.js +6 -2
  74. package/dist/models/ManufacturingProcessProfileCreateDTO.d.ts +1 -1
  75. package/dist/models/ManufacturingProcessProfileCreateDTO.js +3 -1
  76. package/dist/models/ManufacturingWorkOrderMaterialCreateDTO.d.ts +2 -2
  77. package/dist/models/ManufacturingWorkOrderMaterialCreateDTO.js +6 -2
  78. package/dist/models/PlatformPaymentMethodDTO.d.ts +1 -1
  79. package/dist/models/PlatformPaymentMethodDTO.js +3 -1
  80. package/dist/models/SocialWorkflowCreateDTO.d.ts +1 -1
  81. package/dist/models/SocialWorkflowCreateDTO.js +3 -1
  82. package/dist/models/StockDTO.d.ts +2 -2
  83. package/dist/models/StockDTO.js +6 -2
  84. package/dist/models/index.d.ts +4 -0
  85. package/dist/models/index.js +4 -0
  86. package/package.json +1 -1
@@ -32,6 +32,8 @@ export const AgentHierarchyCreateDTODelegationStrategyEnum = {
32
32
  export function instanceOfAgentHierarchyCreateDTO(value) {
33
33
  if (!('allowSubDelegation' in value) || value['allowSubDelegation'] === undefined)
34
34
  return false;
35
+ if (!('delegationRules' in value) || value['delegationRules'] === undefined)
36
+ return false;
35
37
  if (!('delegationStrategy' in value) || value['delegationStrategy'] === undefined)
36
38
  return false;
37
39
  if (!('priority' in value) || value['priority'] === undefined)
@@ -52,7 +54,7 @@ export function AgentHierarchyCreateDTOFromJSONTyped(json, ignoreDiscriminator)
52
54
  return {
53
55
  'active': json['active'] == null ? undefined : json['active'],
54
56
  'allowSubDelegation': json['allowSubDelegation'],
55
- 'delegationRules': json['delegationRules'] == null ? undefined : json['delegationRules'],
57
+ 'delegationRules': json['delegationRules'],
56
58
  'delegationStrategy': json['delegationStrategy'],
57
59
  'maxDelegations': json['maxDelegations'] == null ? undefined : json['maxDelegations'],
58
60
  'metadata': json['metadata'] == null ? undefined : json['metadata'],
@@ -26,6 +26,8 @@ export const ArticleChannelStockCreateDTOChannelTypeEnum = {
26
26
  export function instanceOfArticleChannelStockCreateDTO(value) {
27
27
  if (!('articleId' in value) || value['articleId'] === undefined)
28
28
  return false;
29
+ if (!('channelId' in value) || value['channelId'] === undefined)
30
+ return false;
29
31
  if (!('channelType' in value) || value['channelType'] === undefined)
30
32
  return false;
31
33
  return true;
@@ -39,7 +41,7 @@ export function ArticleChannelStockCreateDTOFromJSONTyped(json, ignoreDiscrimina
39
41
  }
40
42
  return {
41
43
  'articleId': json['articleId'],
42
- 'channelId': json['channelId'] == null ? undefined : json['channelId'],
44
+ 'channelId': json['channelId'],
43
45
  'channelType': json['channelType'],
44
46
  'quantityOnHand': json['quantityOnHand'] == null ? undefined : json['quantityOnHand'],
45
47
  'reservedQuantity': json['reservedQuantity'] == null ? undefined : json['reservedQuantity'],
@@ -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 DataResponseDTOFlagEnvironmentDefinitionDTO interface.
17
+ */
18
+ export function instanceOfDataResponseDTOFlagEnvironmentDefinitionDTO(value) {
19
+ return true;
20
+ }
21
+ export function DataResponseDTOFlagEnvironmentDefinitionDTOFromJSON(json) {
22
+ return DataResponseDTOFlagEnvironmentDefinitionDTOFromJSONTyped(json, false);
23
+ }
24
+ export function DataResponseDTOFlagEnvironmentDefinitionDTOFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'data': json['data'] == null ? undefined : FlagEnvironmentDefinitionDTOFromJSON(json['data']),
30
+ };
31
+ }
32
+ export function DataResponseDTOFlagEnvironmentDefinitionDTOToJSON(json) {
33
+ return DataResponseDTOFlagEnvironmentDefinitionDTOToJSONTyped(json, false);
34
+ }
35
+ export function DataResponseDTOFlagEnvironmentDefinitionDTOToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'data': FlagEnvironmentDefinitionDTOToJSON(value['data']),
41
+ };
42
+ }
@@ -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
+ }
@@ -38,6 +38,8 @@ export const DealCloseDTOEntityStatusEnum = {
38
38
  * Check if a given object implements the DealCloseDTO interface.
39
39
  */
40
40
  export function instanceOfDealCloseDTO(value) {
41
+ if (!('closeReason' in value) || value['closeReason'] === undefined)
42
+ return false;
41
43
  if (!('dealStage' in value) || value['dealStage'] === undefined)
42
44
  return false;
43
45
  return true;
@@ -51,7 +53,7 @@ export function DealCloseDTOFromJSONTyped(json, ignoreDiscriminator) {
51
53
  }
52
54
  return {
53
55
  'actualCloseDate': json['actualCloseDate'] == null ? undefined : json['actualCloseDate'],
54
- 'closeReason': json['closeReason'] == null ? undefined : json['closeReason'],
56
+ 'closeReason': json['closeReason'],
55
57
  'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
56
58
  'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
57
59
  'customId': json['customId'] == null ? undefined : json['customId'],
@@ -38,6 +38,8 @@ export const DealStageUpdateDTONewDealStageEnum = {
38
38
  * Check if a given object implements the DealStageUpdateDTO interface.
39
39
  */
40
40
  export function instanceOfDealStageUpdateDTO(value) {
41
+ if (!('newDealStage' in value) || value['newDealStage'] === undefined)
42
+ return false;
41
43
  if (!('newPipelineStageId' in value) || value['newPipelineStageId'] === undefined)
42
44
  return false;
43
45
  return true;
@@ -60,7 +62,7 @@ export function DealStageUpdateDTOFromJSONTyped(json, ignoreDiscriminator) {
60
62
  'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
61
63
  'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
62
64
  'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
63
- 'newDealStage': json['newDealStage'] == null ? undefined : json['newDealStage'],
65
+ 'newDealStage': json['newDealStage'],
64
66
  'newPipelineStageId': json['newPipelineStageId'],
65
67
  'newProbability': json['newProbability'] == null ? undefined : json['newProbability'],
66
68
  'notes': json['notes'] == null ? undefined : json['notes'],
@@ -0,0 +1,51 @@
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
+ /**
15
+ * Check if a given object implements the FlagEnvironmentCreateApiDTO interface.
16
+ */
17
+ export function instanceOfFlagEnvironmentCreateApiDTO(value) {
18
+ if (!('key' in value) || value['key'] === undefined)
19
+ return false;
20
+ if (!('name' in value) || value['name'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function FlagEnvironmentCreateApiDTOFromJSON(json) {
25
+ return FlagEnvironmentCreateApiDTOFromJSONTyped(json, false);
26
+ }
27
+ export function FlagEnvironmentCreateApiDTOFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'description': json['description'] == null ? undefined : json['description'],
33
+ 'key': json['key'],
34
+ 'name': json['name'],
35
+ 'ordinal': json['ordinal'] == null ? undefined : json['ordinal'],
36
+ };
37
+ }
38
+ export function FlagEnvironmentCreateApiDTOToJSON(json) {
39
+ return FlagEnvironmentCreateApiDTOToJSONTyped(json, false);
40
+ }
41
+ export function FlagEnvironmentCreateApiDTOToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'description': value['description'],
47
+ 'key': value['key'],
48
+ 'name': value['name'],
49
+ 'ordinal': value['ordinal'],
50
+ };
51
+ }
@@ -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
+ }
@@ -15,6 +15,10 @@
15
15
  * Check if a given object implements the FleetDeviceConsumableCreateDTO interface.
16
16
  */
17
17
  export function instanceOfFleetDeviceConsumableCreateDTO(value) {
18
+ if (!('capacity' in value) || value['capacity'] === undefined)
19
+ return false;
20
+ if (!('deviceId' in value) || value['deviceId'] === undefined)
21
+ return false;
18
22
  return true;
19
23
  }
20
24
  export function FleetDeviceConsumableCreateDTOFromJSON(json) {
@@ -25,10 +29,10 @@ export function FleetDeviceConsumableCreateDTOFromJSONTyped(json, ignoreDiscrimi
25
29
  return json;
26
30
  }
27
31
  return {
28
- 'capacity': json['capacity'] == null ? undefined : json['capacity'],
32
+ 'capacity': json['capacity'],
29
33
  'criticalThresholdPercent': json['criticalThresholdPercent'] == null ? undefined : json['criticalThresholdPercent'],
30
34
  'currentQuantity': json['currentQuantity'] == null ? undefined : json['currentQuantity'],
31
- 'deviceId': json['deviceId'] == null ? undefined : json['deviceId'],
35
+ 'deviceId': json['deviceId'],
32
36
  'inventoryStockId': json['inventoryStockId'] == null ? undefined : json['inventoryStockId'],
33
37
  'lowThresholdPercent': json['lowThresholdPercent'] == null ? undefined : json['lowThresholdPercent'],
34
38
  'name': json['name'] == null ? undefined : json['name'],
@@ -24,8 +24,14 @@ export const FleetGeofenceCreateDTOTypeEnum = {
24
24
  * Check if a given object implements the FleetGeofenceCreateDTO interface.
25
25
  */
26
26
  export function instanceOfFleetGeofenceCreateDTO(value) {
27
+ if (!('centerLatitude' in value) || value['centerLatitude'] === undefined)
28
+ return false;
29
+ if (!('centerLongitude' in value) || value['centerLongitude'] === undefined)
30
+ return false;
27
31
  if (!('name' in value) || value['name'] === undefined)
28
32
  return false;
33
+ if (!('radius' in value) || value['radius'] === undefined)
34
+ return false;
29
35
  return true;
30
36
  }
31
37
  export function FleetGeofenceCreateDTOFromJSON(json) {
@@ -36,8 +42,8 @@ export function FleetGeofenceCreateDTOFromJSONTyped(json, ignoreDiscriminator) {
36
42
  return json;
37
43
  }
38
44
  return {
39
- 'centerLatitude': json['centerLatitude'] == null ? undefined : json['centerLatitude'],
40
- 'centerLongitude': json['centerLongitude'] == null ? undefined : json['centerLongitude'],
45
+ 'centerLatitude': json['centerLatitude'],
46
+ 'centerLongitude': json['centerLongitude'],
41
47
  'contactId': json['contactId'] == null ? undefined : json['contactId'],
42
48
  'coordinates': json['coordinates'] == null ? undefined : json['coordinates'],
43
49
  'customId': json['customId'] == null ? undefined : json['customId'],
@@ -49,7 +55,7 @@ export function FleetGeofenceCreateDTOFromJSONTyped(json, ignoreDiscriminator) {
49
55
  'permissionAdmin': json['permissionAdmin'] == null ? undefined : json['permissionAdmin'],
50
56
  'permissionRead': json['permissionRead'] == null ? undefined : json['permissionRead'],
51
57
  'permissionWrite': json['permissionWrite'] == null ? undefined : json['permissionWrite'],
52
- 'radius': json['radius'] == null ? undefined : json['radius'],
58
+ 'radius': json['radius'],
53
59
  'translation': json['translation'] == null ? undefined : TranslatedEntityEmbeddableDTOFromJSON(json['translation']),
54
60
  'type': json['type'] == null ? undefined : json['type'],
55
61
  };
@@ -15,6 +15,10 @@
15
15
  * Check if a given object implements the FleetTelemetryCreateDTO interface.
16
16
  */
17
17
  export function instanceOfFleetTelemetryCreateDTO(value) {
18
+ if (!('deviceId' in value) || value['deviceId'] === undefined)
19
+ return false;
20
+ if (!('metricValue' in value) || value['metricValue'] === undefined)
21
+ return false;
18
22
  return true;
19
23
  }
20
24
  export function FleetTelemetryCreateDTOFromJSON(json) {
@@ -25,9 +29,9 @@ export function FleetTelemetryCreateDTOFromJSONTyped(json, ignoreDiscriminator)
25
29
  return json;
26
30
  }
27
31
  return {
28
- 'deviceId': json['deviceId'] == null ? undefined : json['deviceId'],
32
+ 'deviceId': json['deviceId'],
29
33
  'metricName': json['metricName'] == null ? undefined : json['metricName'],
30
- 'metricValue': json['metricValue'] == null ? undefined : json['metricValue'],
34
+ 'metricValue': json['metricValue'],
31
35
  'qualityScore': json['qualityScore'] == null ? undefined : json['qualityScore'],
32
36
  'rawData': json['rawData'] == null ? undefined : json['rawData'],
33
37
  'recordedAt': json['recordedAt'] == null ? undefined : (new Date(json['recordedAt'])),
@@ -35,6 +35,8 @@ export const GoodsReceiptDTOStatusEnum = {
35
35
  * Check if a given object implements the GoodsReceiptDTO interface.
36
36
  */
37
37
  export function instanceOfGoodsReceiptDTO(value) {
38
+ if (!('warehouseId' in value) || value['warehouseId'] === undefined)
39
+ return false;
38
40
  return true;
39
41
  }
40
42
  export function GoodsReceiptDTOFromJSON(json) {
@@ -64,7 +66,7 @@ export function GoodsReceiptDTOFromJSONTyped(json, ignoreDiscriminator) {
64
66
  'status': json['status'] == null ? undefined : json['status'],
65
67
  'supplierId': json['supplierId'] == null ? undefined : json['supplierId'],
66
68
  'version': json['version'] == null ? undefined : json['version'],
67
- 'warehouseId': json['warehouseId'] == null ? undefined : json['warehouseId'],
69
+ 'warehouseId': json['warehouseId'],
68
70
  };
69
71
  }
70
72
  export function GoodsReceiptDTOToJSON(json) {
@@ -43,6 +43,10 @@ export const InsuranceBrokerCreateDTORegionEnum = {
43
43
  * Check if a given object implements the InsuranceBrokerCreateDTO interface.
44
44
  */
45
45
  export function instanceOfInsuranceBrokerCreateDTO(value) {
46
+ if (!('brokerType' in value) || value['brokerType'] === undefined)
47
+ return false;
48
+ if (!('region' in value) || value['region'] === undefined)
49
+ return false;
46
50
  return true;
47
51
  }
48
52
  export function InsuranceBrokerCreateDTOFromJSON(json) {
@@ -55,7 +59,7 @@ export function InsuranceBrokerCreateDTOFromJSONTyped(json, ignoreDiscriminator)
55
59
  return {
56
60
  'brokerCode': json['brokerCode'] == null ? undefined : json['brokerCode'],
57
61
  'brokerName': json['brokerName'] == null ? undefined : json['brokerName'],
58
- 'brokerType': json['brokerType'] == null ? undefined : json['brokerType'],
62
+ 'brokerType': json['brokerType'],
59
63
  'commissionSplitPercentage': json['commissionSplitPercentage'] == null ? undefined : json['commissionSplitPercentage'],
60
64
  'companyId': json['companyId'] == null ? undefined : json['companyId'],
61
65
  'customId': json['customId'] == null ? undefined : json['customId'],
@@ -68,7 +72,7 @@ export function InsuranceBrokerCreateDTOFromJSONTyped(json, ignoreDiscriminator)
68
72
  'permissionRead': json['permissionRead'] == null ? undefined : json['permissionRead'],
69
73
  'permissionWrite': json['permissionWrite'] == null ? undefined : json['permissionWrite'],
70
74
  'primaryContactId': json['primaryContactId'] == null ? undefined : json['primaryContactId'],
71
- 'region': json['region'] == null ? undefined : json['region'],
75
+ 'region': json['region'],
72
76
  'status': json['status'] == null ? undefined : json['status'],
73
77
  'tagIds': json['tagIds'] == null ? undefined : json['tagIds'],
74
78
  };
@@ -26,6 +26,8 @@ export const InsuranceCarrierCreateDTORegionEnum = {
26
26
  * Check if a given object implements the InsuranceCarrierCreateDTO interface.
27
27
  */
28
28
  export function instanceOfInsuranceCarrierCreateDTO(value) {
29
+ if (!('region' in value) || value['region'] === undefined)
30
+ return false;
29
31
  return true;
30
32
  }
31
33
  export function InsuranceCarrierCreateDTOFromJSON(json) {
@@ -48,7 +50,7 @@ export function InsuranceCarrierCreateDTOFromJSONTyped(json, ignoreDiscriminator
48
50
  'permissionAdmin': json['permissionAdmin'] == null ? undefined : json['permissionAdmin'],
49
51
  'permissionRead': json['permissionRead'] == null ? undefined : json['permissionRead'],
50
52
  'permissionWrite': json['permissionWrite'] == null ? undefined : json['permissionWrite'],
51
- 'region': json['region'] == null ? undefined : json['region'],
53
+ 'region': json['region'],
52
54
  'status': json['status'] == null ? undefined : json['status'],
53
55
  'supportedProducts': json['supportedProducts'] == null ? undefined : json['supportedProducts'],
54
56
  };
@@ -31,6 +31,12 @@ export const InsuranceClaimCreateDTOStatusEnum = {
31
31
  * Check if a given object implements the InsuranceClaimCreateDTO interface.
32
32
  */
33
33
  export function instanceOfInsuranceClaimCreateDTO(value) {
34
+ if (!('claimedAmount' in value) || value['claimedAmount'] === undefined)
35
+ return false;
36
+ if (!('lossAt' in value) || value['lossAt'] === undefined)
37
+ return false;
38
+ if (!('policyId' in value) || value['policyId'] === undefined)
39
+ return false;
34
40
  return true;
35
41
  }
36
42
  export function InsuranceClaimCreateDTOFromJSON(json) {
@@ -43,18 +49,18 @@ export function InsuranceClaimCreateDTOFromJSONTyped(json, ignoreDiscriminator)
43
49
  return {
44
50
  'adjusterPersonId': json['adjusterPersonId'] == null ? undefined : json['adjusterPersonId'],
45
51
  'claimNumber': json['claimNumber'] == null ? undefined : json['claimNumber'],
46
- 'claimedAmount': json['claimedAmount'] == null ? undefined : json['claimedAmount'],
52
+ 'claimedAmount': json['claimedAmount'],
47
53
  'currency': json['currency'] == null ? undefined : json['currency'],
48
54
  'customId': json['customId'] == null ? undefined : json['customId'],
49
55
  'description': json['description'] == null ? undefined : json['description'],
50
56
  'documentIds': json['documentIds'] == null ? undefined : json['documentIds'],
51
- 'lossAt': json['lossAt'] == null ? undefined : (new Date(json['lossAt'])),
57
+ 'lossAt': (new Date(json['lossAt'])),
52
58
  'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
53
59
  'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
54
60
  'permissionAdmin': json['permissionAdmin'] == null ? undefined : json['permissionAdmin'],
55
61
  'permissionRead': json['permissionRead'] == null ? undefined : json['permissionRead'],
56
62
  'permissionWrite': json['permissionWrite'] == null ? undefined : json['permissionWrite'],
57
- 'policyId': json['policyId'] == null ? undefined : json['policyId'],
63
+ 'policyId': json['policyId'],
58
64
  'reportedAt': json['reportedAt'] == null ? undefined : (new Date(json['reportedAt'])),
59
65
  'reserveAmount': json['reserveAmount'] == null ? undefined : json['reserveAmount'],
60
66
  'status': json['status'] == null ? undefined : json['status'],
@@ -75,7 +81,7 @@ export function InsuranceClaimCreateDTOToJSONTyped(value, ignoreDiscriminator =
75
81
  'customId': value['customId'],
76
82
  'description': value['description'],
77
83
  'documentIds': value['documentIds'],
78
- 'lossAt': value['lossAt'] == null ? value['lossAt'] : value['lossAt'].toISOString(),
84
+ 'lossAt': value['lossAt'].toISOString(),
79
85
  'namespaceKey': value['namespaceKey'],
80
86
  'orderNumber': value['orderNumber'],
81
87
  'permissionAdmin': value['permissionAdmin'],
@@ -34,6 +34,12 @@ export const InsuranceCommissionCreateDTOPaymentStatusEnum = {
34
34
  * Check if a given object implements the InsuranceCommissionCreateDTO interface.
35
35
  */
36
36
  export function instanceOfInsuranceCommissionCreateDTO(value) {
37
+ if (!('brokerId' in value) || value['brokerId'] === undefined)
38
+ return false;
39
+ if (!('grossCommission' in value) || value['grossCommission'] === undefined)
40
+ return false;
41
+ if (!('policyId' in value) || value['policyId'] === undefined)
42
+ return false;
37
43
  return true;
38
44
  }
39
45
  export function InsuranceCommissionCreateDTOFromJSON(json) {
@@ -44,12 +50,12 @@ export function InsuranceCommissionCreateDTOFromJSONTyped(json, ignoreDiscrimina
44
50
  return json;
45
51
  }
46
52
  return {
47
- 'brokerId': json['brokerId'] == null ? undefined : json['brokerId'],
53
+ 'brokerId': json['brokerId'],
48
54
  'brokerSplit': json['brokerSplit'] == null ? undefined : json['brokerSplit'],
49
55
  'commissionType': json['commissionType'] == null ? undefined : json['commissionType'],
50
56
  'currency': json['currency'] == null ? undefined : json['currency'],
51
57
  'customId': json['customId'] == null ? undefined : json['customId'],
52
- 'grossCommission': json['grossCommission'] == null ? undefined : json['grossCommission'],
58
+ 'grossCommission': json['grossCommission'],
53
59
  'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
54
60
  'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
55
61
  'paymentStatus': json['paymentStatus'] == null ? undefined : json['paymentStatus'],
@@ -57,7 +63,7 @@ export function InsuranceCommissionCreateDTOFromJSONTyped(json, ignoreDiscrimina
57
63
  'permissionRead': json['permissionRead'] == null ? undefined : json['permissionRead'],
58
64
  'permissionWrite': json['permissionWrite'] == null ? undefined : json['permissionWrite'],
59
65
  'platformSplit': json['platformSplit'] == null ? undefined : json['platformSplit'],
60
- 'policyId': json['policyId'] == null ? undefined : json['policyId'],
66
+ 'policyId': json['policyId'],
61
67
  };
62
68
  }
63
69
  export function InsuranceCommissionCreateDTOToJSON(json) {
@@ -15,6 +15,12 @@
15
15
  * Check if a given object implements the InsuranceCommissionStatementCreateDTO interface.
16
16
  */
17
17
  export function instanceOfInsuranceCommissionStatementCreateDTO(value) {
18
+ if (!('brokerId' in value) || value['brokerId'] === undefined)
19
+ return false;
20
+ if (!('periodEndAt' in value) || value['periodEndAt'] === undefined)
21
+ return false;
22
+ if (!('periodStartAt' in value) || value['periodStartAt'] === undefined)
23
+ return false;
18
24
  return true;
19
25
  }
20
26
  export function InsuranceCommissionStatementCreateDTOFromJSON(json) {
@@ -25,13 +31,13 @@ export function InsuranceCommissionStatementCreateDTOFromJSONTyped(json, ignoreD
25
31
  return json;
26
32
  }
27
33
  return {
28
- 'brokerId': json['brokerId'] == null ? undefined : json['brokerId'],
34
+ 'brokerId': json['brokerId'],
29
35
  'currency': json['currency'] == null ? undefined : json['currency'],
30
36
  'customId': json['customId'] == null ? undefined : json['customId'],
31
37
  'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
32
38
  'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
33
- 'periodEndAt': json['periodEndAt'] == null ? undefined : (new Date(json['periodEndAt'])),
34
- 'periodStartAt': json['periodStartAt'] == null ? undefined : (new Date(json['periodStartAt'])),
39
+ 'periodEndAt': (new Date(json['periodEndAt'])),
40
+ 'periodStartAt': (new Date(json['periodStartAt'])),
35
41
  'permissionAdmin': json['permissionAdmin'] == null ? undefined : json['permissionAdmin'],
36
42
  'permissionRead': json['permissionRead'] == null ? undefined : json['permissionRead'],
37
43
  'permissionWrite': json['permissionWrite'] == null ? undefined : json['permissionWrite'],
@@ -55,8 +61,8 @@ export function InsuranceCommissionStatementCreateDTOToJSONTyped(value, ignoreDi
55
61
  'customId': value['customId'],
56
62
  'namespaceKey': value['namespaceKey'],
57
63
  'orderNumber': value['orderNumber'],
58
- 'periodEndAt': value['periodEndAt'] == null ? value['periodEndAt'] : value['periodEndAt'].toISOString(),
59
- 'periodStartAt': value['periodStartAt'] == null ? value['periodStartAt'] : value['periodStartAt'].toISOString(),
64
+ 'periodEndAt': value['periodEndAt'].toISOString(),
65
+ 'periodStartAt': value['periodStartAt'].toISOString(),
60
66
  'permissionAdmin': value['permissionAdmin'],
61
67
  'permissionRead': value['permissionRead'],
62
68
  'permissionWrite': value['permissionWrite'],