@integrahub/vergefy-client 0.27.0 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/apis/AIIAMPPMPPPaymentApi.d.ts +33 -31
- package/dist/apis/AIIAMPPMPPPaymentApi.js +50 -46
- package/dist/apis/AIIUCPCUCPConfigurationApi.d.ts +2 -2
- package/dist/apis/AIIUCPCUCPConfigurationApi.js +2 -2
- package/dist/apis/APIAGRGoodsReceiptApi.d.ts +2 -2
- package/dist/apis/APIAGRGoodsReceiptApi.js +2 -2
- package/dist/apis/APIAIHDIntegrationHelpdeskApi.d.ts +86 -0
- package/dist/apis/APIAIHDIntegrationHelpdeskApi.js +232 -0
- package/dist/apis/APIAINIntegrationApi.d.ts +5 -0
- package/dist/apis/APIAINIntegrationApi.js +5 -0
- package/dist/apis/APIAPAPaymentApi.d.ts +29 -4
- package/dist/apis/APIAPAPaymentApi.js +76 -5
- package/dist/apis/APIARTReturnApi.d.ts +3 -2
- package/dist/apis/APIARTReturnApi.js +5 -2
- package/dist/apis/APIIntegrationConfigurationApi.d.ts +1 -0
- package/dist/apis/APIIntegrationConfigurationApi.js +1 -0
- package/dist/apis/PLATFORMLPCPlatformPaymentCheckoutApi.d.ts +21 -0
- package/dist/apis/PLATFORMLPCPlatformPaymentCheckoutApi.js +63 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/AIIAMPPMPPPaymentApi.js +50 -46
- package/dist/esm/apis/AIIUCPCUCPConfigurationApi.js +2 -2
- package/dist/esm/apis/APIAGRGoodsReceiptApi.js +2 -2
- package/dist/esm/apis/APIAIHDIntegrationHelpdeskApi.js +228 -0
- package/dist/esm/apis/APIAINIntegrationApi.js +5 -0
- package/dist/esm/apis/APIAPAPaymentApi.js +76 -5
- package/dist/esm/apis/APIARTReturnApi.js +5 -2
- package/dist/esm/apis/APIIntegrationConfigurationApi.js +1 -0
- package/dist/esm/apis/PLATFORMLPCPlatformPaymentCheckoutApi.js +63 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/ext/telemetry.js +1 -1
- package/dist/esm/models/AvailableProviderDTO.js +12 -0
- package/dist/esm/models/ChannelResult.js +1 -0
- package/dist/esm/models/ConnectorListingDTO.js +2 -0
- package/dist/esm/models/EdgeGatewayDTO.js +1 -0
- package/dist/esm/models/HelpdeskContactDTO.js +57 -0
- package/dist/esm/models/HelpdeskContextDTO.js +82 -0
- package/dist/esm/models/HelpdeskLookupKeyDTO.js +57 -0
- package/dist/esm/models/HelpdeskOrderDTO.js +76 -0
- package/dist/esm/models/HelpdeskOrderLineDTO.js +51 -0
- package/dist/esm/models/HelpdeskSidebarKeyDTO.js +67 -0
- package/dist/esm/models/HelpdeskSidebarKeyStateDTO.js +64 -0
- package/dist/esm/models/HostedCheckoutAddressDTO.js +49 -0
- package/dist/esm/models/HostedCheckoutBasketItemDTO.js +49 -0
- package/dist/esm/models/HostedCheckoutRequestDTO.js +71 -0
- package/dist/esm/models/HostedCheckoutResultDTO.js +45 -0
- package/dist/esm/models/ImportJobDTO.js +1 -0
- package/dist/esm/models/IntegrationConfigurationCreateDTO.js +2 -0
- package/dist/esm/models/IntegrationConfigurationDTO.js +2 -0
- package/dist/esm/models/IntegrationHealthSummaryDTO.js +2 -0
- package/dist/esm/models/InvoiceApiDTO.js +2 -1
- package/dist/esm/models/{MppPaymentSessionCreateApiDTO.js → MppChallengeOpenApiDTO.js} +18 -10
- package/dist/{models/MppPaymentSessionCreateApiDTO.js → esm/models/MppChallengePaymentApiDTO.js} +24 -17
- package/dist/esm/models/OrderReturnSummaryDTO.js +66 -0
- package/dist/esm/models/OrderShipmentSummaryDTO.js +68 -0
- package/dist/esm/models/PaymentConfigurationDTO.js +2 -1
- package/dist/esm/models/PaymentIntentDTO.js +27 -9
- package/dist/esm/models/PrincipalDTO.js +2 -1
- package/dist/esm/models/ProviderHealthStatusDTO.js +1 -0
- package/dist/esm/models/ReturnRequestDTO.js +2 -0
- package/dist/esm/models/SocialConnectionRegisterDTO.js +1 -0
- package/dist/esm/models/SocialProviderCredentialReadinessDTO.js +1 -0
- package/dist/esm/models/index.js +15 -1
- package/dist/ext/telemetry.d.ts +1 -1
- package/dist/ext/telemetry.js +1 -1
- package/dist/models/AvailableProviderDTO.d.ts +17 -0
- package/dist/models/AvailableProviderDTO.js +13 -1
- package/dist/models/ChannelResult.d.ts +1 -0
- package/dist/models/ChannelResult.js +1 -0
- package/dist/models/ConnectorListingDTO.d.ts +2 -0
- package/dist/models/ConnectorListingDTO.js +2 -0
- package/dist/models/EdgeGatewayDTO.d.ts +1 -0
- package/dist/models/EdgeGatewayDTO.js +1 -0
- package/dist/models/HelpdeskContactDTO.d.ts +74 -0
- package/dist/models/HelpdeskContactDTO.js +64 -0
- package/dist/models/HelpdeskContextDTO.d.ts +87 -0
- package/dist/models/HelpdeskContextDTO.js +90 -0
- package/dist/models/HelpdeskLookupKeyDTO.d.ts +49 -0
- package/dist/models/HelpdeskLookupKeyDTO.js +65 -0
- package/dist/models/HelpdeskOrderDTO.d.ts +125 -0
- package/dist/models/HelpdeskOrderDTO.js +83 -0
- package/dist/models/HelpdeskOrderLineDTO.d.ts +56 -0
- package/dist/models/HelpdeskOrderLineDTO.js +58 -0
- package/dist/models/HelpdeskSidebarKeyDTO.d.ts +68 -0
- package/dist/models/HelpdeskSidebarKeyDTO.js +74 -0
- package/dist/models/HelpdeskSidebarKeyStateDTO.d.ts +72 -0
- package/dist/models/HelpdeskSidebarKeyStateDTO.js +72 -0
- package/dist/models/HostedCheckoutAddressDTO.d.ts +56 -0
- package/dist/models/HostedCheckoutAddressDTO.js +56 -0
- package/dist/models/HostedCheckoutBasketItemDTO.d.ts +56 -0
- package/dist/models/HostedCheckoutBasketItemDTO.js +56 -0
- package/dist/models/HostedCheckoutRequestDTO.d.ts +118 -0
- package/dist/models/HostedCheckoutRequestDTO.js +78 -0
- package/dist/models/{MppPaymentSessionCreateApiDTO.d.ts → HostedCheckoutResultDTO.d.ts} +18 -12
- package/dist/models/HostedCheckoutResultDTO.js +52 -0
- package/dist/models/ImportJobDTO.d.ts +1 -0
- package/dist/models/ImportJobDTO.js +1 -0
- package/dist/models/IntegrationConfigurationCreateDTO.d.ts +2 -0
- package/dist/models/IntegrationConfigurationCreateDTO.js +2 -0
- package/dist/models/IntegrationConfigurationDTO.d.ts +2 -0
- package/dist/models/IntegrationConfigurationDTO.js +2 -0
- package/dist/models/IntegrationHealthSummaryDTO.d.ts +2 -0
- package/dist/models/IntegrationHealthSummaryDTO.js +2 -0
- package/dist/models/InvoiceApiDTO.d.ts +1 -0
- package/dist/models/InvoiceApiDTO.js +2 -1
- package/dist/models/MppChallengeOpenApiDTO.d.ts +50 -0
- package/dist/models/MppChallengeOpenApiDTO.js +60 -0
- package/dist/models/MppChallengePaymentApiDTO.d.ts +56 -0
- package/dist/models/MppChallengePaymentApiDTO.js +66 -0
- package/dist/models/OrderReturnSummaryDTO.d.ts +78 -0
- package/dist/models/OrderReturnSummaryDTO.js +74 -0
- package/dist/models/OrderShipmentSummaryDTO.d.ts +92 -0
- package/dist/models/OrderShipmentSummaryDTO.js +76 -0
- package/dist/models/PaymentConfigurationDTO.d.ts +1 -0
- package/dist/models/PaymentConfigurationDTO.js +2 -1
- package/dist/models/PaymentIntentDTO.d.ts +9 -9
- package/dist/models/PaymentIntentDTO.js +27 -9
- package/dist/models/PrincipalDTO.d.ts +1 -0
- package/dist/models/PrincipalDTO.js +2 -1
- package/dist/models/ProviderHealthStatusDTO.d.ts +1 -0
- package/dist/models/ProviderHealthStatusDTO.js +1 -0
- package/dist/models/ReturnRequestDTO.d.ts +6 -0
- package/dist/models/ReturnRequestDTO.js +2 -0
- package/dist/models/SocialConnectionRegisterDTO.d.ts +1 -0
- package/dist/models/SocialConnectionRegisterDTO.js +1 -0
- package/dist/models/SocialProviderCredentialReadinessDTO.d.ts +1 -0
- package/dist/models/SocialProviderCredentialReadinessDTO.js +1 -0
- package/dist/models/UcpWebhookRegistrationDTO.d.ts +1 -1
- package/dist/models/index.d.ts +15 -1
- package/dist/models/index.js +15 -1
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -0,0 +1,83 @@
|
|
|
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.instanceOfHelpdeskOrderDTO = instanceOfHelpdeskOrderDTO;
|
|
17
|
+
exports.HelpdeskOrderDTOFromJSON = HelpdeskOrderDTOFromJSON;
|
|
18
|
+
exports.HelpdeskOrderDTOFromJSONTyped = HelpdeskOrderDTOFromJSONTyped;
|
|
19
|
+
exports.HelpdeskOrderDTOToJSON = HelpdeskOrderDTOToJSON;
|
|
20
|
+
exports.HelpdeskOrderDTOToJSONTyped = HelpdeskOrderDTOToJSONTyped;
|
|
21
|
+
const OrderReturnSummaryDTO_1 = require("./OrderReturnSummaryDTO");
|
|
22
|
+
const HelpdeskOrderLineDTO_1 = require("./HelpdeskOrderLineDTO");
|
|
23
|
+
const OrderShipmentSummaryDTO_1 = require("./OrderShipmentSummaryDTO");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the HelpdeskOrderDTO interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfHelpdeskOrderDTO(value) {
|
|
28
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function HelpdeskOrderDTOFromJSON(json) {
|
|
33
|
+
return HelpdeskOrderDTOFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function HelpdeskOrderDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'channel': json['channel'] == null ? undefined : json['channel'],
|
|
41
|
+
'currencyCode': json['currencyCode'] == null ? undefined : json['currencyCode'],
|
|
42
|
+
'discount': json['discount'] == null ? undefined : json['discount'],
|
|
43
|
+
'externalOrderNumber': json['externalOrderNumber'] == null ? undefined : json['externalOrderNumber'],
|
|
44
|
+
'id': json['id'],
|
|
45
|
+
'lines': json['lines'] == null ? undefined : (json['lines'].map(HelpdeskOrderLineDTO_1.HelpdeskOrderLineDTOFromJSON)),
|
|
46
|
+
'marketplaceOrderNumber': json['marketplaceOrderNumber'] == null ? undefined : json['marketplaceOrderNumber'],
|
|
47
|
+
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
48
|
+
'orderState': json['orderState'] == null ? undefined : json['orderState'],
|
|
49
|
+
'orderedAt': json['orderedAt'] == null ? undefined : (new Date(json['orderedAt'])),
|
|
50
|
+
'paymentState': json['paymentState'] == null ? undefined : json['paymentState'],
|
|
51
|
+
'returns': json['returns'] == null ? undefined : (json['returns'].map(OrderReturnSummaryDTO_1.OrderReturnSummaryDTOFromJSON)),
|
|
52
|
+
'shipments': json['shipments'] == null ? undefined : (json['shipments'].map(OrderShipmentSummaryDTO_1.OrderShipmentSummaryDTOFromJSON)),
|
|
53
|
+
'subtotal': json['subtotal'] == null ? undefined : json['subtotal'],
|
|
54
|
+
'tax': json['tax'] == null ? undefined : json['tax'],
|
|
55
|
+
'total': json['total'] == null ? undefined : json['total'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function HelpdeskOrderDTOToJSON(json) {
|
|
59
|
+
return HelpdeskOrderDTOToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function HelpdeskOrderDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'channel': value['channel'],
|
|
67
|
+
'currencyCode': value['currencyCode'],
|
|
68
|
+
'discount': value['discount'],
|
|
69
|
+
'externalOrderNumber': value['externalOrderNumber'],
|
|
70
|
+
'id': value['id'],
|
|
71
|
+
'lines': value['lines'] == null ? undefined : (value['lines'].map(HelpdeskOrderLineDTO_1.HelpdeskOrderLineDTOToJSON)),
|
|
72
|
+
'marketplaceOrderNumber': value['marketplaceOrderNumber'],
|
|
73
|
+
'orderNumber': value['orderNumber'],
|
|
74
|
+
'orderState': value['orderState'],
|
|
75
|
+
'orderedAt': value['orderedAt'] == null ? value['orderedAt'] : value['orderedAt'].toISOString(),
|
|
76
|
+
'paymentState': value['paymentState'],
|
|
77
|
+
'returns': value['returns'] == null ? undefined : (value['returns'].map(OrderReturnSummaryDTO_1.OrderReturnSummaryDTOToJSON)),
|
|
78
|
+
'shipments': value['shipments'] == null ? undefined : (value['shipments'].map(OrderShipmentSummaryDTO_1.OrderShipmentSummaryDTOToJSON)),
|
|
79
|
+
'subtotal': value['subtotal'],
|
|
80
|
+
'tax': value['tax'],
|
|
81
|
+
'total': value['total'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
* One line of an order in the helpdesk sidebar
|
|
14
|
+
* @export
|
|
15
|
+
* @interface HelpdeskOrderLineDTO
|
|
16
|
+
*/
|
|
17
|
+
export interface HelpdeskOrderLineDTO {
|
|
18
|
+
/**
|
|
19
|
+
* The article sold; null when the line has none
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof HelpdeskOrderLineDTO
|
|
22
|
+
*/
|
|
23
|
+
articleId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Stock on hand for the article, as a decimal string; null when stock could not be read
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof HelpdeskOrderLineDTO
|
|
28
|
+
*/
|
|
29
|
+
availableStock?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The order line, as sent back when opening a return for it
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof HelpdeskOrderLineDTO
|
|
34
|
+
*/
|
|
35
|
+
id: string;
|
|
36
|
+
/**
|
|
37
|
+
* What was sold: the product's title, else the price's own
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof HelpdeskOrderLineDTO
|
|
40
|
+
*/
|
|
41
|
+
name?: string;
|
|
42
|
+
/**
|
|
43
|
+
* How many were ordered
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof HelpdeskOrderLineDTO
|
|
46
|
+
*/
|
|
47
|
+
quantity?: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the HelpdeskOrderLineDTO interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfHelpdeskOrderLineDTO(value: object): value is HelpdeskOrderLineDTO;
|
|
53
|
+
export declare function HelpdeskOrderLineDTOFromJSON(json: any): HelpdeskOrderLineDTO;
|
|
54
|
+
export declare function HelpdeskOrderLineDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): HelpdeskOrderLineDTO;
|
|
55
|
+
export declare function HelpdeskOrderLineDTOToJSON(json: any): HelpdeskOrderLineDTO;
|
|
56
|
+
export declare function HelpdeskOrderLineDTOToJSONTyped(value?: HelpdeskOrderLineDTO | 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.instanceOfHelpdeskOrderLineDTO = instanceOfHelpdeskOrderLineDTO;
|
|
17
|
+
exports.HelpdeskOrderLineDTOFromJSON = HelpdeskOrderLineDTOFromJSON;
|
|
18
|
+
exports.HelpdeskOrderLineDTOFromJSONTyped = HelpdeskOrderLineDTOFromJSONTyped;
|
|
19
|
+
exports.HelpdeskOrderLineDTOToJSON = HelpdeskOrderLineDTOToJSON;
|
|
20
|
+
exports.HelpdeskOrderLineDTOToJSONTyped = HelpdeskOrderLineDTOToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the HelpdeskOrderLineDTO interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfHelpdeskOrderLineDTO(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function HelpdeskOrderLineDTOFromJSON(json) {
|
|
30
|
+
return HelpdeskOrderLineDTOFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function HelpdeskOrderLineDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'articleId': json['articleId'] == null ? undefined : json['articleId'],
|
|
38
|
+
'availableStock': json['availableStock'] == null ? undefined : json['availableStock'],
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
41
|
+
'quantity': json['quantity'] == null ? undefined : json['quantity'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function HelpdeskOrderLineDTOToJSON(json) {
|
|
45
|
+
return HelpdeskOrderLineDTOToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function HelpdeskOrderLineDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'articleId': value['articleId'],
|
|
53
|
+
'availableStock': value['availableStock'],
|
|
54
|
+
'id': value['id'],
|
|
55
|
+
'name': value['name'],
|
|
56
|
+
'quantity': value['quantity'],
|
|
57
|
+
};
|
|
58
|
+
}
|