@integrahub/vergefy-client 0.26.0 → 0.28.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 (131) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/AIIAMPPMPPPaymentApi.d.ts +33 -31
  3. package/dist/apis/AIIAMPPMPPPaymentApi.js +50 -46
  4. package/dist/apis/APIAIHDIntegrationHelpdeskApi.d.ts +86 -0
  5. package/dist/apis/APIAIHDIntegrationHelpdeskApi.js +232 -0
  6. package/dist/apis/APIAINIntegrationApi.d.ts +5 -0
  7. package/dist/apis/APIAINIntegrationApi.js +5 -0
  8. package/dist/apis/APIAPAPaymentApi.d.ts +29 -4
  9. package/dist/apis/APIAPAPaymentApi.js +76 -5
  10. package/dist/apis/APIARTReturnApi.d.ts +3 -2
  11. package/dist/apis/APIARTReturnApi.js +5 -2
  12. package/dist/apis/APIIntegrationConfigurationApi.d.ts +1 -0
  13. package/dist/apis/APIIntegrationConfigurationApi.js +1 -0
  14. package/dist/apis/AUTHUAUIdentityAuthenticationApi.d.ts +3 -3
  15. package/dist/apis/AUTHUAUIdentityAuthenticationApi.js +2 -5
  16. package/dist/apis/PLATFORMLTNPTenantPrincipalsApi.d.ts +25 -0
  17. package/dist/apis/PLATFORMLTNPTenantPrincipalsApi.js +73 -0
  18. package/dist/apis/index.d.ts +1 -0
  19. package/dist/apis/index.js +1 -0
  20. package/dist/esm/apis/AIIAMPPMPPPaymentApi.js +50 -46
  21. package/dist/esm/apis/APIAIHDIntegrationHelpdeskApi.js +228 -0
  22. package/dist/esm/apis/APIAINIntegrationApi.js +5 -0
  23. package/dist/esm/apis/APIAPAPaymentApi.js +76 -5
  24. package/dist/esm/apis/APIARTReturnApi.js +5 -2
  25. package/dist/esm/apis/APIIntegrationConfigurationApi.js +1 -0
  26. package/dist/esm/apis/AUTHUAUIdentityAuthenticationApi.js +2 -5
  27. package/dist/esm/apis/PLATFORMLTNPTenantPrincipalsApi.js +73 -0
  28. package/dist/esm/apis/index.js +1 -0
  29. package/dist/esm/ext/telemetry.js +1 -1
  30. package/dist/esm/models/AvailableProviderDTO.js +12 -0
  31. package/dist/esm/models/ChannelResult.js +1 -0
  32. package/dist/esm/models/ConnectorListingDTO.js +2 -0
  33. package/dist/esm/models/DataResponseDTOPagePrincipalAuditEventDTO.js +42 -0
  34. package/dist/esm/models/EdgeGatewayDTO.js +1 -0
  35. package/dist/esm/models/HelpdeskContactDTO.js +57 -0
  36. package/dist/esm/models/HelpdeskContextDTO.js +82 -0
  37. package/dist/esm/models/HelpdeskLookupKeyDTO.js +57 -0
  38. package/dist/esm/models/HelpdeskOrderDTO.js +76 -0
  39. package/dist/esm/models/HelpdeskOrderLineDTO.js +51 -0
  40. package/dist/esm/models/HelpdeskSidebarKeyDTO.js +67 -0
  41. package/dist/esm/models/HelpdeskSidebarKeyStateDTO.js +64 -0
  42. package/dist/esm/models/HostedCheckoutAddressDTO.js +49 -0
  43. package/dist/esm/models/HostedCheckoutBasketItemDTO.js +49 -0
  44. package/dist/esm/models/HostedCheckoutRequestDTO.js +71 -0
  45. package/dist/esm/models/HostedCheckoutResultDTO.js +45 -0
  46. package/dist/esm/models/ImportJobDTO.js +1 -0
  47. package/dist/esm/models/IntegrationConfigurationCreateDTO.js +2 -0
  48. package/dist/esm/models/IntegrationConfigurationDTO.js +2 -0
  49. package/dist/esm/models/IntegrationHealthSummaryDTO.js +2 -0
  50. package/dist/esm/models/InvoiceApiDTO.js +2 -1
  51. package/dist/esm/models/{MppPaymentSessionCreateApiDTO.js → MppChallengeOpenApiDTO.js} +18 -10
  52. package/dist/{models/MppPaymentSessionCreateApiDTO.js → esm/models/MppChallengePaymentApiDTO.js} +24 -17
  53. package/dist/esm/models/OrderReturnSummaryDTO.js +66 -0
  54. package/dist/esm/models/OrderShipmentSummaryDTO.js +68 -0
  55. package/dist/esm/models/PagePrincipalAuditEventDTO.js +64 -0
  56. package/dist/esm/models/PaymentConfigurationDTO.js +2 -1
  57. package/dist/esm/models/PrincipalDTO.js +2 -1
  58. package/dist/esm/models/ProviderHealthStatusDTO.js +1 -0
  59. package/dist/esm/models/ReturnRequestDTO.js +2 -0
  60. package/dist/esm/models/SocialConnectionRegisterDTO.js +1 -0
  61. package/dist/esm/models/SocialProviderCredentialReadinessDTO.js +1 -0
  62. package/dist/esm/models/index.js +17 -1
  63. package/dist/ext/telemetry.d.ts +1 -1
  64. package/dist/ext/telemetry.js +1 -1
  65. package/dist/models/AvailableProviderDTO.d.ts +17 -0
  66. package/dist/models/AvailableProviderDTO.js +13 -1
  67. package/dist/models/ChannelResult.d.ts +1 -0
  68. package/dist/models/ChannelResult.js +1 -0
  69. package/dist/models/ConnectorListingDTO.d.ts +2 -0
  70. package/dist/models/ConnectorListingDTO.js +2 -0
  71. package/dist/models/DataResponseDTOPagePrincipalAuditEventDTO.d.ts +33 -0
  72. package/dist/models/DataResponseDTOPagePrincipalAuditEventDTO.js +49 -0
  73. package/dist/models/EdgeGatewayDTO.d.ts +1 -0
  74. package/dist/models/EdgeGatewayDTO.js +1 -0
  75. package/dist/models/HelpdeskContactDTO.d.ts +74 -0
  76. package/dist/models/HelpdeskContactDTO.js +64 -0
  77. package/dist/models/HelpdeskContextDTO.d.ts +87 -0
  78. package/dist/models/HelpdeskContextDTO.js +90 -0
  79. package/dist/models/HelpdeskLookupKeyDTO.d.ts +49 -0
  80. package/dist/models/HelpdeskLookupKeyDTO.js +65 -0
  81. package/dist/models/HelpdeskOrderDTO.d.ts +125 -0
  82. package/dist/models/HelpdeskOrderDTO.js +83 -0
  83. package/dist/models/HelpdeskOrderLineDTO.d.ts +56 -0
  84. package/dist/models/HelpdeskOrderLineDTO.js +58 -0
  85. package/dist/models/HelpdeskSidebarKeyDTO.d.ts +68 -0
  86. package/dist/models/HelpdeskSidebarKeyDTO.js +74 -0
  87. package/dist/models/HelpdeskSidebarKeyStateDTO.d.ts +72 -0
  88. package/dist/models/HelpdeskSidebarKeyStateDTO.js +72 -0
  89. package/dist/models/HostedCheckoutAddressDTO.d.ts +56 -0
  90. package/dist/models/HostedCheckoutAddressDTO.js +56 -0
  91. package/dist/models/HostedCheckoutBasketItemDTO.d.ts +56 -0
  92. package/dist/models/HostedCheckoutBasketItemDTO.js +56 -0
  93. package/dist/models/HostedCheckoutRequestDTO.d.ts +118 -0
  94. package/dist/models/HostedCheckoutRequestDTO.js +78 -0
  95. package/dist/models/{MppPaymentSessionCreateApiDTO.d.ts → HostedCheckoutResultDTO.d.ts} +18 -12
  96. package/dist/models/HostedCheckoutResultDTO.js +52 -0
  97. package/dist/models/ImportJobDTO.d.ts +1 -0
  98. package/dist/models/ImportJobDTO.js +1 -0
  99. package/dist/models/IntegrationConfigurationCreateDTO.d.ts +2 -0
  100. package/dist/models/IntegrationConfigurationCreateDTO.js +2 -0
  101. package/dist/models/IntegrationConfigurationDTO.d.ts +2 -0
  102. package/dist/models/IntegrationConfigurationDTO.js +2 -0
  103. package/dist/models/IntegrationHealthSummaryDTO.d.ts +2 -0
  104. package/dist/models/IntegrationHealthSummaryDTO.js +2 -0
  105. package/dist/models/InvoiceApiDTO.d.ts +1 -0
  106. package/dist/models/InvoiceApiDTO.js +2 -1
  107. package/dist/models/MppChallengeOpenApiDTO.d.ts +50 -0
  108. package/dist/models/MppChallengeOpenApiDTO.js +60 -0
  109. package/dist/models/MppChallengePaymentApiDTO.d.ts +56 -0
  110. package/dist/models/MppChallengePaymentApiDTO.js +66 -0
  111. package/dist/models/OrderReturnSummaryDTO.d.ts +78 -0
  112. package/dist/models/OrderReturnSummaryDTO.js +74 -0
  113. package/dist/models/OrderShipmentSummaryDTO.d.ts +92 -0
  114. package/dist/models/OrderShipmentSummaryDTO.js +76 -0
  115. package/dist/models/PagePrincipalAuditEventDTO.d.ts +95 -0
  116. package/dist/models/PagePrincipalAuditEventDTO.js +71 -0
  117. package/dist/models/PaymentConfigurationDTO.d.ts +1 -0
  118. package/dist/models/PaymentConfigurationDTO.js +2 -1
  119. package/dist/models/PrincipalDTO.d.ts +1 -0
  120. package/dist/models/PrincipalDTO.js +2 -1
  121. package/dist/models/ProviderHealthStatusDTO.d.ts +1 -0
  122. package/dist/models/ProviderHealthStatusDTO.js +1 -0
  123. package/dist/models/ReturnRequestDTO.d.ts +6 -0
  124. package/dist/models/ReturnRequestDTO.js +2 -0
  125. package/dist/models/SocialConnectionRegisterDTO.d.ts +1 -0
  126. package/dist/models/SocialConnectionRegisterDTO.js +1 -0
  127. package/dist/models/SocialProviderCredentialReadinessDTO.d.ts +1 -0
  128. package/dist/models/SocialProviderCredentialReadinessDTO.js +1 -0
  129. package/dist/models/index.d.ts +17 -1
  130. package/dist/models/index.js +17 -1
  131. package/package.json +1 -1
@@ -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.instanceOfDataResponseDTOPagePrincipalAuditEventDTO = instanceOfDataResponseDTOPagePrincipalAuditEventDTO;
17
+ exports.DataResponseDTOPagePrincipalAuditEventDTOFromJSON = DataResponseDTOPagePrincipalAuditEventDTOFromJSON;
18
+ exports.DataResponseDTOPagePrincipalAuditEventDTOFromJSONTyped = DataResponseDTOPagePrincipalAuditEventDTOFromJSONTyped;
19
+ exports.DataResponseDTOPagePrincipalAuditEventDTOToJSON = DataResponseDTOPagePrincipalAuditEventDTOToJSON;
20
+ exports.DataResponseDTOPagePrincipalAuditEventDTOToJSONTyped = DataResponseDTOPagePrincipalAuditEventDTOToJSONTyped;
21
+ const PagePrincipalAuditEventDTO_1 = require("./PagePrincipalAuditEventDTO");
22
+ /**
23
+ * Check if a given object implements the DataResponseDTOPagePrincipalAuditEventDTO interface.
24
+ */
25
+ function instanceOfDataResponseDTOPagePrincipalAuditEventDTO(value) {
26
+ return true;
27
+ }
28
+ function DataResponseDTOPagePrincipalAuditEventDTOFromJSON(json) {
29
+ return DataResponseDTOPagePrincipalAuditEventDTOFromJSONTyped(json, false);
30
+ }
31
+ function DataResponseDTOPagePrincipalAuditEventDTOFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (0, PagePrincipalAuditEventDTO_1.PagePrincipalAuditEventDTOFromJSON)(json['data']),
37
+ };
38
+ }
39
+ function DataResponseDTOPagePrincipalAuditEventDTOToJSON(json) {
40
+ return DataResponseDTOPagePrincipalAuditEventDTOToJSONTyped(json, false);
41
+ }
42
+ function DataResponseDTOPagePrincipalAuditEventDTOToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'data': (0, PagePrincipalAuditEventDTO_1.PagePrincipalAuditEventDTOToJSON)(value['data']),
48
+ };
49
+ }
@@ -236,6 +236,7 @@ export declare const EdgeGatewayDTOProviderTypeEnum: {
236
236
  readonly Aws: "AWS";
237
237
  readonly BambuCloud: "BAMBU_CLOUD";
238
238
  readonly EdgeAgent: "EDGE_AGENT";
239
+ readonly Zendesk: "ZENDESK";
239
240
  readonly Custom: "CUSTOM";
240
241
  };
241
242
  export type EdgeGatewayDTOProviderTypeEnum = typeof EdgeGatewayDTOProviderTypeEnum[keyof typeof EdgeGatewayDTOProviderTypeEnum];
@@ -88,6 +88,7 @@ exports.EdgeGatewayDTOProviderTypeEnum = {
88
88
  Aws: 'AWS',
89
89
  BambuCloud: 'BAMBU_CLOUD',
90
90
  EdgeAgent: 'EDGE_AGENT',
91
+ Zendesk: 'ZENDESK',
91
92
  Custom: 'CUSTOM'
92
93
  };
93
94
  /**
@@ -0,0 +1,74 @@
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
+ * A Vergefy customer, as the helpdesk sidebar shows them
14
+ * @export
15
+ * @interface HelpdeskContactDTO
16
+ */
17
+ export interface HelpdeskContactDTO {
18
+ /**
19
+ * The city of the contact's primary address, to tell two customers with the same e-mail apart
20
+ * @type {string}
21
+ * @memberof HelpdeskContactDTO
22
+ */
23
+ city?: string;
24
+ /**
25
+ * When the contact was created in Vergefy
26
+ * @type {Date}
27
+ * @memberof HelpdeskContactDTO
28
+ */
29
+ customerSince?: Date;
30
+ /**
31
+ * The contact's first e-mail
32
+ * @type {string}
33
+ * @memberof HelpdeskContactDTO
34
+ */
35
+ email?: string;
36
+ /**
37
+ * The Vergefy contact
38
+ * @type {string}
39
+ * @memberof HelpdeskContactDTO
40
+ */
41
+ id: string;
42
+ /**
43
+ * When the customer's latest order was placed; null when there is none or orders could not be read
44
+ * @type {Date}
45
+ * @memberof HelpdeskContactDTO
46
+ */
47
+ lastOrderAt?: Date;
48
+ /**
49
+ * The person's name, when the contact belongs to a person; otherwise null
50
+ * @type {string}
51
+ * @memberof HelpdeskContactDTO
52
+ */
53
+ name?: string;
54
+ /**
55
+ * How many orders the customer has placed; null when orders could not be read
56
+ * @type {number}
57
+ * @memberof HelpdeskContactDTO
58
+ */
59
+ orderCount?: number;
60
+ /**
61
+ * The contact's first phone number
62
+ * @type {string}
63
+ * @memberof HelpdeskContactDTO
64
+ */
65
+ phone?: string;
66
+ }
67
+ /**
68
+ * Check if a given object implements the HelpdeskContactDTO interface.
69
+ */
70
+ export declare function instanceOfHelpdeskContactDTO(value: object): value is HelpdeskContactDTO;
71
+ export declare function HelpdeskContactDTOFromJSON(json: any): HelpdeskContactDTO;
72
+ export declare function HelpdeskContactDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): HelpdeskContactDTO;
73
+ export declare function HelpdeskContactDTOToJSON(json: any): HelpdeskContactDTO;
74
+ export declare function HelpdeskContactDTOToJSONTyped(value?: HelpdeskContactDTO | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,64 @@
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.instanceOfHelpdeskContactDTO = instanceOfHelpdeskContactDTO;
17
+ exports.HelpdeskContactDTOFromJSON = HelpdeskContactDTOFromJSON;
18
+ exports.HelpdeskContactDTOFromJSONTyped = HelpdeskContactDTOFromJSONTyped;
19
+ exports.HelpdeskContactDTOToJSON = HelpdeskContactDTOToJSON;
20
+ exports.HelpdeskContactDTOToJSONTyped = HelpdeskContactDTOToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the HelpdeskContactDTO interface.
23
+ */
24
+ function instanceOfHelpdeskContactDTO(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function HelpdeskContactDTOFromJSON(json) {
30
+ return HelpdeskContactDTOFromJSONTyped(json, false);
31
+ }
32
+ function HelpdeskContactDTOFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'city': json['city'] == null ? undefined : json['city'],
38
+ 'customerSince': json['customerSince'] == null ? undefined : (new Date(json['customerSince'])),
39
+ 'email': json['email'] == null ? undefined : json['email'],
40
+ 'id': json['id'],
41
+ 'lastOrderAt': json['lastOrderAt'] == null ? undefined : (new Date(json['lastOrderAt'])),
42
+ 'name': json['name'] == null ? undefined : json['name'],
43
+ 'orderCount': json['orderCount'] == null ? undefined : json['orderCount'],
44
+ 'phone': json['phone'] == null ? undefined : json['phone'],
45
+ };
46
+ }
47
+ function HelpdeskContactDTOToJSON(json) {
48
+ return HelpdeskContactDTOToJSONTyped(json, false);
49
+ }
50
+ function HelpdeskContactDTOToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'city': value['city'],
56
+ 'customerSince': value['customerSince'] == null ? value['customerSince'] : value['customerSince'].toISOString(),
57
+ 'email': value['email'],
58
+ 'id': value['id'],
59
+ 'lastOrderAt': value['lastOrderAt'] == null ? value['lastOrderAt'] : value['lastOrderAt'].toISOString(),
60
+ 'name': value['name'],
61
+ 'orderCount': value['orderCount'],
62
+ 'phone': value['phone'],
63
+ };
64
+ }
@@ -0,0 +1,87 @@
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 { HelpdeskOrderDTO } from './HelpdeskOrderDTO';
13
+ import type { HelpdeskContactDTO } from './HelpdeskContactDTO';
14
+ import type { HelpdeskLookupKeyDTO } from './HelpdeskLookupKeyDTO';
15
+ /**
16
+ * What Vergefy knows about a helpdesk ticket's requester: their contact, latest orders, shipments, returns and stock
17
+ * @export
18
+ * @interface HelpdeskContextDTO
19
+ */
20
+ export interface HelpdeskContextDTO {
21
+ /**
22
+ * The matched contact, or every candidate when several share the e-mail (at most 5)
23
+ * @type {Array<HelpdeskContactDTO>}
24
+ * @memberof HelpdeskContextDTO
25
+ */
26
+ contacts: Array<HelpdeskContactDTO>;
27
+ /**
28
+ * Every key tried, in order
29
+ * @type {Array<HelpdeskLookupKeyDTO>}
30
+ * @memberof HelpdeskContextDTO
31
+ */
32
+ keysTried: Array<HelpdeskLookupKeyDTO>;
33
+ /**
34
+ * The key that found the customer; null when nothing matched
35
+ * @type {HelpdeskContextDTOMatchedByEnum}
36
+ * @memberof HelpdeskContextDTO
37
+ */
38
+ matchedBy?: HelpdeskContextDTOMatchedByEnum;
39
+ /**
40
+ * Sections left out because the caller may not read them (or, for STOCK, because stock could not be read): not the same as having none
41
+ * @type {Array<HelpdeskContextDTOOmittedSectionsEnum>}
42
+ * @memberof HelpdeskContextDTO
43
+ */
44
+ omittedSections: Array<HelpdeskContextDTOOmittedSectionsEnum>;
45
+ /**
46
+ * The customer's latest orders, newest first (at most 10)
47
+ * @type {Array<HelpdeskOrderDTO>}
48
+ * @memberof HelpdeskContextDTO
49
+ */
50
+ orders: Array<HelpdeskOrderDTO>;
51
+ /**
52
+ * How many orders the customer has in all, for "Show all N"; null when orders could not be read
53
+ * @type {number}
54
+ * @memberof HelpdeskContextDTO
55
+ */
56
+ totalOrders?: number;
57
+ }
58
+ /**
59
+ * @export
60
+ */
61
+ export declare const HelpdeskContextDTOMatchedByEnum: {
62
+ readonly ContactId: "CONTACT_ID";
63
+ readonly Email: "EMAIL";
64
+ readonly OrderNumber: "ORDER_NUMBER";
65
+ readonly MarketplaceOrderId: "MARKETPLACE_ORDER_ID";
66
+ readonly MarketplaceOrderNumber: "MARKETPLACE_ORDER_NUMBER";
67
+ };
68
+ export type HelpdeskContextDTOMatchedByEnum = typeof HelpdeskContextDTOMatchedByEnum[keyof typeof HelpdeskContextDTOMatchedByEnum];
69
+ /**
70
+ * @export
71
+ */
72
+ export declare const HelpdeskContextDTOOmittedSectionsEnum: {
73
+ readonly Contacts: "CONTACTS";
74
+ readonly Orders: "ORDERS";
75
+ readonly Shipments: "SHIPMENTS";
76
+ readonly Returns: "RETURNS";
77
+ readonly Stock: "STOCK";
78
+ };
79
+ export type HelpdeskContextDTOOmittedSectionsEnum = typeof HelpdeskContextDTOOmittedSectionsEnum[keyof typeof HelpdeskContextDTOOmittedSectionsEnum];
80
+ /**
81
+ * Check if a given object implements the HelpdeskContextDTO interface.
82
+ */
83
+ export declare function instanceOfHelpdeskContextDTO(value: object): value is HelpdeskContextDTO;
84
+ export declare function HelpdeskContextDTOFromJSON(json: any): HelpdeskContextDTO;
85
+ export declare function HelpdeskContextDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): HelpdeskContextDTO;
86
+ export declare function HelpdeskContextDTOToJSON(json: any): HelpdeskContextDTO;
87
+ export declare function HelpdeskContextDTOToJSONTyped(value?: HelpdeskContextDTO | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,90 @@
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.HelpdeskContextDTOOmittedSectionsEnum = exports.HelpdeskContextDTOMatchedByEnum = void 0;
17
+ exports.instanceOfHelpdeskContextDTO = instanceOfHelpdeskContextDTO;
18
+ exports.HelpdeskContextDTOFromJSON = HelpdeskContextDTOFromJSON;
19
+ exports.HelpdeskContextDTOFromJSONTyped = HelpdeskContextDTOFromJSONTyped;
20
+ exports.HelpdeskContextDTOToJSON = HelpdeskContextDTOToJSON;
21
+ exports.HelpdeskContextDTOToJSONTyped = HelpdeskContextDTOToJSONTyped;
22
+ const HelpdeskOrderDTO_1 = require("./HelpdeskOrderDTO");
23
+ const HelpdeskContactDTO_1 = require("./HelpdeskContactDTO");
24
+ const HelpdeskLookupKeyDTO_1 = require("./HelpdeskLookupKeyDTO");
25
+ /**
26
+ * @export
27
+ */
28
+ exports.HelpdeskContextDTOMatchedByEnum = {
29
+ ContactId: 'CONTACT_ID',
30
+ Email: 'EMAIL',
31
+ OrderNumber: 'ORDER_NUMBER',
32
+ MarketplaceOrderId: 'MARKETPLACE_ORDER_ID',
33
+ MarketplaceOrderNumber: 'MARKETPLACE_ORDER_NUMBER'
34
+ };
35
+ /**
36
+ * @export
37
+ */
38
+ exports.HelpdeskContextDTOOmittedSectionsEnum = {
39
+ Contacts: 'CONTACTS',
40
+ Orders: 'ORDERS',
41
+ Shipments: 'SHIPMENTS',
42
+ Returns: 'RETURNS',
43
+ Stock: 'STOCK'
44
+ };
45
+ /**
46
+ * Check if a given object implements the HelpdeskContextDTO interface.
47
+ */
48
+ function instanceOfHelpdeskContextDTO(value) {
49
+ if (!('contacts' in value) || value['contacts'] === undefined)
50
+ return false;
51
+ if (!('keysTried' in value) || value['keysTried'] === undefined)
52
+ return false;
53
+ if (!('omittedSections' in value) || value['omittedSections'] === undefined)
54
+ return false;
55
+ if (!('orders' in value) || value['orders'] === undefined)
56
+ return false;
57
+ return true;
58
+ }
59
+ function HelpdeskContextDTOFromJSON(json) {
60
+ return HelpdeskContextDTOFromJSONTyped(json, false);
61
+ }
62
+ function HelpdeskContextDTOFromJSONTyped(json, ignoreDiscriminator) {
63
+ if (json == null) {
64
+ return json;
65
+ }
66
+ return {
67
+ 'contacts': (json['contacts'].map(HelpdeskContactDTO_1.HelpdeskContactDTOFromJSON)),
68
+ 'keysTried': (json['keysTried'].map(HelpdeskLookupKeyDTO_1.HelpdeskLookupKeyDTOFromJSON)),
69
+ 'matchedBy': json['matchedBy'] == null ? undefined : json['matchedBy'],
70
+ 'omittedSections': json['omittedSections'],
71
+ 'orders': (json['orders'].map(HelpdeskOrderDTO_1.HelpdeskOrderDTOFromJSON)),
72
+ 'totalOrders': json['totalOrders'] == null ? undefined : json['totalOrders'],
73
+ };
74
+ }
75
+ function HelpdeskContextDTOToJSON(json) {
76
+ return HelpdeskContextDTOToJSONTyped(json, false);
77
+ }
78
+ function HelpdeskContextDTOToJSONTyped(value, ignoreDiscriminator = false) {
79
+ if (value == null) {
80
+ return value;
81
+ }
82
+ return {
83
+ 'contacts': (value['contacts'].map(HelpdeskContactDTO_1.HelpdeskContactDTOToJSON)),
84
+ 'keysTried': (value['keysTried'].map(HelpdeskLookupKeyDTO_1.HelpdeskLookupKeyDTOToJSON)),
85
+ 'matchedBy': value['matchedBy'],
86
+ 'omittedSections': value['omittedSections'],
87
+ 'orders': (value['orders'].map(HelpdeskOrderDTO_1.HelpdeskOrderDTOToJSON)),
88
+ 'totalOrders': value['totalOrders'],
89
+ };
90
+ }
@@ -0,0 +1,49 @@
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
+ * A key the helpdesk context read tried
14
+ * @export
15
+ * @interface HelpdeskLookupKeyDTO
16
+ */
17
+ export interface HelpdeskLookupKeyDTO {
18
+ /**
19
+ * What was looked up
20
+ * @type {HelpdeskLookupKeyDTOTypeEnum}
21
+ * @memberof HelpdeskLookupKeyDTO
22
+ */
23
+ type: HelpdeskLookupKeyDTOTypeEnum;
24
+ /**
25
+ * The value, as searched (an e-mail lower-cased, an order number without its leading #)
26
+ * @type {string}
27
+ * @memberof HelpdeskLookupKeyDTO
28
+ */
29
+ value: string;
30
+ }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const HelpdeskLookupKeyDTOTypeEnum: {
35
+ readonly ContactId: "CONTACT_ID";
36
+ readonly Email: "EMAIL";
37
+ readonly OrderNumber: "ORDER_NUMBER";
38
+ readonly MarketplaceOrderId: "MARKETPLACE_ORDER_ID";
39
+ readonly MarketplaceOrderNumber: "MARKETPLACE_ORDER_NUMBER";
40
+ };
41
+ export type HelpdeskLookupKeyDTOTypeEnum = typeof HelpdeskLookupKeyDTOTypeEnum[keyof typeof HelpdeskLookupKeyDTOTypeEnum];
42
+ /**
43
+ * Check if a given object implements the HelpdeskLookupKeyDTO interface.
44
+ */
45
+ export declare function instanceOfHelpdeskLookupKeyDTO(value: object): value is HelpdeskLookupKeyDTO;
46
+ export declare function HelpdeskLookupKeyDTOFromJSON(json: any): HelpdeskLookupKeyDTO;
47
+ export declare function HelpdeskLookupKeyDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): HelpdeskLookupKeyDTO;
48
+ export declare function HelpdeskLookupKeyDTOToJSON(json: any): HelpdeskLookupKeyDTO;
49
+ export declare function HelpdeskLookupKeyDTOToJSONTyped(value?: HelpdeskLookupKeyDTO | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,65 @@
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.HelpdeskLookupKeyDTOTypeEnum = void 0;
17
+ exports.instanceOfHelpdeskLookupKeyDTO = instanceOfHelpdeskLookupKeyDTO;
18
+ exports.HelpdeskLookupKeyDTOFromJSON = HelpdeskLookupKeyDTOFromJSON;
19
+ exports.HelpdeskLookupKeyDTOFromJSONTyped = HelpdeskLookupKeyDTOFromJSONTyped;
20
+ exports.HelpdeskLookupKeyDTOToJSON = HelpdeskLookupKeyDTOToJSON;
21
+ exports.HelpdeskLookupKeyDTOToJSONTyped = HelpdeskLookupKeyDTOToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.HelpdeskLookupKeyDTOTypeEnum = {
26
+ ContactId: 'CONTACT_ID',
27
+ Email: 'EMAIL',
28
+ OrderNumber: 'ORDER_NUMBER',
29
+ MarketplaceOrderId: 'MARKETPLACE_ORDER_ID',
30
+ MarketplaceOrderNumber: 'MARKETPLACE_ORDER_NUMBER'
31
+ };
32
+ /**
33
+ * Check if a given object implements the HelpdeskLookupKeyDTO interface.
34
+ */
35
+ function instanceOfHelpdeskLookupKeyDTO(value) {
36
+ if (!('type' in value) || value['type'] === undefined)
37
+ return false;
38
+ if (!('value' in value) || value['value'] === undefined)
39
+ return false;
40
+ return true;
41
+ }
42
+ function HelpdeskLookupKeyDTOFromJSON(json) {
43
+ return HelpdeskLookupKeyDTOFromJSONTyped(json, false);
44
+ }
45
+ function HelpdeskLookupKeyDTOFromJSONTyped(json, ignoreDiscriminator) {
46
+ if (json == null) {
47
+ return json;
48
+ }
49
+ return {
50
+ 'type': json['type'],
51
+ 'value': json['value'],
52
+ };
53
+ }
54
+ function HelpdeskLookupKeyDTOToJSON(json) {
55
+ return HelpdeskLookupKeyDTOToJSONTyped(json, false);
56
+ }
57
+ function HelpdeskLookupKeyDTOToJSONTyped(value, ignoreDiscriminator = false) {
58
+ if (value == null) {
59
+ return value;
60
+ }
61
+ return {
62
+ 'type': value['type'],
63
+ 'value': value['value'],
64
+ };
65
+ }
@@ -0,0 +1,125 @@
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 { OrderReturnSummaryDTO } from './OrderReturnSummaryDTO';
13
+ import type { HelpdeskOrderLineDTO } from './HelpdeskOrderLineDTO';
14
+ import type { OrderShipmentSummaryDTO } from './OrderShipmentSummaryDTO';
15
+ /**
16
+ * One order in the helpdesk sidebar
17
+ * @export
18
+ * @interface HelpdeskOrderDTO
19
+ */
20
+ export interface HelpdeskOrderDTO {
21
+ /**
22
+ * Where the order was placed: a marketplace provider such as SHOPIFY or AMAZON, or DIRECT
23
+ * @type {string}
24
+ * @memberof HelpdeskOrderDTO
25
+ */
26
+ channel?: string;
27
+ /**
28
+ * ISO 4217 currency of every amount on the order
29
+ * @type {string}
30
+ * @memberof HelpdeskOrderDTO
31
+ */
32
+ currencyCode?: string;
33
+ /**
34
+ * Discount, as a decimal string
35
+ * @type {string}
36
+ * @memberof HelpdeskOrderDTO
37
+ */
38
+ discount?: string;
39
+ /**
40
+ * The marketplace's own order id, when the order came from one
41
+ * @type {string}
42
+ * @memberof HelpdeskOrderDTO
43
+ */
44
+ externalOrderNumber?: string;
45
+ /**
46
+ * The Vergefy order
47
+ * @type {string}
48
+ * @memberof HelpdeskOrderDTO
49
+ */
50
+ id: string;
51
+ /**
52
+ * The order's lines
53
+ * @type {Array<HelpdeskOrderLineDTO>}
54
+ * @memberof HelpdeskOrderDTO
55
+ */
56
+ lines?: Array<HelpdeskOrderLineDTO>;
57
+ /**
58
+ * The number the marketplace showed its customer, for example Shopify's #1042; absent when it is the marketplace's id, or for an order imported before it was kept
59
+ * @type {string}
60
+ * @memberof HelpdeskOrderDTO
61
+ */
62
+ marketplaceOrderNumber?: string;
63
+ /**
64
+ * The Vergefy order number
65
+ * @type {string}
66
+ * @memberof HelpdeskOrderDTO
67
+ */
68
+ orderNumber?: string;
69
+ /**
70
+ * The order's state, for example NOT_DELIVERED or DELIVERED
71
+ * @type {string}
72
+ * @memberof HelpdeskOrderDTO
73
+ */
74
+ orderState?: string;
75
+ /**
76
+ * When the order was placed
77
+ * @type {Date}
78
+ * @memberof HelpdeskOrderDTO
79
+ */
80
+ orderedAt?: Date;
81
+ /**
82
+ * The order's payment state
83
+ * @type {string}
84
+ * @memberof HelpdeskOrderDTO
85
+ */
86
+ paymentState?: string;
87
+ /**
88
+ * The order's returns; absent when the caller may not read returns
89
+ * @type {Array<OrderReturnSummaryDTO>}
90
+ * @memberof HelpdeskOrderDTO
91
+ */
92
+ returns?: Array<OrderReturnSummaryDTO>;
93
+ /**
94
+ * The order's shipments; absent when the caller may not read shipments
95
+ * @type {Array<OrderShipmentSummaryDTO>}
96
+ * @memberof HelpdeskOrderDTO
97
+ */
98
+ shipments?: Array<OrderShipmentSummaryDTO>;
99
+ /**
100
+ * Subtotal, as a decimal string
101
+ * @type {string}
102
+ * @memberof HelpdeskOrderDTO
103
+ */
104
+ subtotal?: string;
105
+ /**
106
+ * Tax, as a decimal string
107
+ * @type {string}
108
+ * @memberof HelpdeskOrderDTO
109
+ */
110
+ tax?: string;
111
+ /**
112
+ * Total, as a decimal string
113
+ * @type {string}
114
+ * @memberof HelpdeskOrderDTO
115
+ */
116
+ total?: string;
117
+ }
118
+ /**
119
+ * Check if a given object implements the HelpdeskOrderDTO interface.
120
+ */
121
+ export declare function instanceOfHelpdeskOrderDTO(value: object): value is HelpdeskOrderDTO;
122
+ export declare function HelpdeskOrderDTOFromJSON(json: any): HelpdeskOrderDTO;
123
+ export declare function HelpdeskOrderDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): HelpdeskOrderDTO;
124
+ export declare function HelpdeskOrderDTOToJSON(json: any): HelpdeskOrderDTO;
125
+ export declare function HelpdeskOrderDTOToJSONTyped(value?: HelpdeskOrderDTO | null, ignoreDiscriminator?: boolean): any;