@integrahub/vergefy-client 0.27.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.
- package/README.md +2 -2
- package/dist/apis/AIIAMPPMPPPaymentApi.d.ts +33 -31
- package/dist/apis/AIIAMPPMPPPaymentApi.js +50 -46
- 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/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/AIIAMPPMPPPaymentApi.js +50 -46
- 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/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/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/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/index.d.ts +15 -1
- package/dist/models/index.js +15 -1
- package/package.json +1 -1
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
* The helpdesk sidebar's least-privilege key, shown once: paste both values into the app's settings in the helpdesk
|
|
14
|
+
* @export
|
|
15
|
+
* @interface HelpdeskSidebarKeyDTO
|
|
16
|
+
*/
|
|
17
|
+
export interface HelpdeskSidebarKeyDTO {
|
|
18
|
+
/**
|
|
19
|
+
* The helpdesk connection the key belongs to
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof HelpdeskSidebarKeyDTO
|
|
22
|
+
*/
|
|
23
|
+
connectionId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Exactly what the key may do: read contacts, orders, shipments, returns and stock, and create returns
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof HelpdeskSidebarKeyDTO
|
|
28
|
+
*/
|
|
29
|
+
grantedAuthorities: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
* When the key was issued
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof HelpdeskSidebarKeyDTO
|
|
34
|
+
*/
|
|
35
|
+
issuedAt: Date;
|
|
36
|
+
/**
|
|
37
|
+
* The first 8 characters of the access key, which tell two keys apart and are not a secret
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof HelpdeskSidebarKeyDTO
|
|
40
|
+
*/
|
|
41
|
+
keyPrefix: string;
|
|
42
|
+
/**
|
|
43
|
+
* The connection's own principal, which every call made with the key acts as
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof HelpdeskSidebarKeyDTO
|
|
46
|
+
*/
|
|
47
|
+
principalId: string;
|
|
48
|
+
/**
|
|
49
|
+
* Whether this call replaced an earlier key, which stopped working at once
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof HelpdeskSidebarKeyDTO
|
|
52
|
+
*/
|
|
53
|
+
rotated: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* The key, as the one string the helpdesk app keeps in its secure setting and sends as X-Vergefy-Key. It contains the secret: shown only in this response — store it now, it cannot be shown again
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof HelpdeskSidebarKeyDTO
|
|
58
|
+
*/
|
|
59
|
+
sidebarKey: string;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the HelpdeskSidebarKeyDTO interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfHelpdeskSidebarKeyDTO(value: object): value is HelpdeskSidebarKeyDTO;
|
|
65
|
+
export declare function HelpdeskSidebarKeyDTOFromJSON(json: any): HelpdeskSidebarKeyDTO;
|
|
66
|
+
export declare function HelpdeskSidebarKeyDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): HelpdeskSidebarKeyDTO;
|
|
67
|
+
export declare function HelpdeskSidebarKeyDTOToJSON(json: any): HelpdeskSidebarKeyDTO;
|
|
68
|
+
export declare function HelpdeskSidebarKeyDTOToJSONTyped(value?: HelpdeskSidebarKeyDTO | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,74 @@
|
|
|
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.instanceOfHelpdeskSidebarKeyDTO = instanceOfHelpdeskSidebarKeyDTO;
|
|
17
|
+
exports.HelpdeskSidebarKeyDTOFromJSON = HelpdeskSidebarKeyDTOFromJSON;
|
|
18
|
+
exports.HelpdeskSidebarKeyDTOFromJSONTyped = HelpdeskSidebarKeyDTOFromJSONTyped;
|
|
19
|
+
exports.HelpdeskSidebarKeyDTOToJSON = HelpdeskSidebarKeyDTOToJSON;
|
|
20
|
+
exports.HelpdeskSidebarKeyDTOToJSONTyped = HelpdeskSidebarKeyDTOToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the HelpdeskSidebarKeyDTO interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfHelpdeskSidebarKeyDTO(value) {
|
|
25
|
+
if (!('connectionId' in value) || value['connectionId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('grantedAuthorities' in value) || value['grantedAuthorities'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('issuedAt' in value) || value['issuedAt'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('keyPrefix' in value) || value['keyPrefix'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('principalId' in value) || value['principalId'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('rotated' in value) || value['rotated'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('sidebarKey' in value) || value['sidebarKey'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function HelpdeskSidebarKeyDTOFromJSON(json) {
|
|
42
|
+
return HelpdeskSidebarKeyDTOFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function HelpdeskSidebarKeyDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'connectionId': json['connectionId'],
|
|
50
|
+
'grantedAuthorities': json['grantedAuthorities'],
|
|
51
|
+
'issuedAt': (new Date(json['issuedAt'])),
|
|
52
|
+
'keyPrefix': json['keyPrefix'],
|
|
53
|
+
'principalId': json['principalId'],
|
|
54
|
+
'rotated': json['rotated'],
|
|
55
|
+
'sidebarKey': json['sidebarKey'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function HelpdeskSidebarKeyDTOToJSON(json) {
|
|
59
|
+
return HelpdeskSidebarKeyDTOToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function HelpdeskSidebarKeyDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'connectionId': value['connectionId'],
|
|
67
|
+
'grantedAuthorities': value['grantedAuthorities'],
|
|
68
|
+
'issuedAt': value['issuedAt'].toISOString(),
|
|
69
|
+
'keyPrefix': value['keyPrefix'],
|
|
70
|
+
'principalId': value['principalId'],
|
|
71
|
+
'rotated': value['rotated'],
|
|
72
|
+
'sidebarKey': value['sidebarKey'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
* Where a helpdesk connection's sidebar key stands; never the key itself
|
|
14
|
+
* @export
|
|
15
|
+
* @interface HelpdeskSidebarKeyStateDTO
|
|
16
|
+
*/
|
|
17
|
+
export interface HelpdeskSidebarKeyStateDTO {
|
|
18
|
+
/**
|
|
19
|
+
* The helpdesk connection
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof HelpdeskSidebarKeyStateDTO
|
|
22
|
+
*/
|
|
23
|
+
connectionId: string;
|
|
24
|
+
/**
|
|
25
|
+
* When that key was issued
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof HelpdeskSidebarKeyStateDTO
|
|
28
|
+
*/
|
|
29
|
+
issuedAt?: Date;
|
|
30
|
+
/**
|
|
31
|
+
* The first 8 characters of the current key's access key, or of the last one when none works; null before the first key
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof HelpdeskSidebarKeyStateDTO
|
|
34
|
+
*/
|
|
35
|
+
keyPrefix?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The connection's own principal; null before the first key
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof HelpdeskSidebarKeyStateDTO
|
|
40
|
+
*/
|
|
41
|
+
principalId?: string;
|
|
42
|
+
/**
|
|
43
|
+
* When calls with that key started being refused; null while it works
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof HelpdeskSidebarKeyStateDTO
|
|
46
|
+
*/
|
|
47
|
+
revokedAt?: Date;
|
|
48
|
+
/**
|
|
49
|
+
* NOT_ISSUED before the first key; ACTIVE while the key works; REVOKED once it was replaced or the connection deactivated; SWITCHED_OFF when the connection's principal was switched off on the principals page
|
|
50
|
+
* @type {HelpdeskSidebarKeyStateDTOStatusEnum}
|
|
51
|
+
* @memberof HelpdeskSidebarKeyStateDTO
|
|
52
|
+
*/
|
|
53
|
+
status: HelpdeskSidebarKeyStateDTOStatusEnum;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const HelpdeskSidebarKeyStateDTOStatusEnum: {
|
|
59
|
+
readonly NotIssued: "NOT_ISSUED";
|
|
60
|
+
readonly Active: "ACTIVE";
|
|
61
|
+
readonly Revoked: "REVOKED";
|
|
62
|
+
readonly SwitchedOff: "SWITCHED_OFF";
|
|
63
|
+
};
|
|
64
|
+
export type HelpdeskSidebarKeyStateDTOStatusEnum = typeof HelpdeskSidebarKeyStateDTOStatusEnum[keyof typeof HelpdeskSidebarKeyStateDTOStatusEnum];
|
|
65
|
+
/**
|
|
66
|
+
* Check if a given object implements the HelpdeskSidebarKeyStateDTO interface.
|
|
67
|
+
*/
|
|
68
|
+
export declare function instanceOfHelpdeskSidebarKeyStateDTO(value: object): value is HelpdeskSidebarKeyStateDTO;
|
|
69
|
+
export declare function HelpdeskSidebarKeyStateDTOFromJSON(json: any): HelpdeskSidebarKeyStateDTO;
|
|
70
|
+
export declare function HelpdeskSidebarKeyStateDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): HelpdeskSidebarKeyStateDTO;
|
|
71
|
+
export declare function HelpdeskSidebarKeyStateDTOToJSON(json: any): HelpdeskSidebarKeyStateDTO;
|
|
72
|
+
export declare function HelpdeskSidebarKeyStateDTOToJSONTyped(value?: HelpdeskSidebarKeyStateDTO | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,72 @@
|
|
|
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.HelpdeskSidebarKeyStateDTOStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfHelpdeskSidebarKeyStateDTO = instanceOfHelpdeskSidebarKeyStateDTO;
|
|
18
|
+
exports.HelpdeskSidebarKeyStateDTOFromJSON = HelpdeskSidebarKeyStateDTOFromJSON;
|
|
19
|
+
exports.HelpdeskSidebarKeyStateDTOFromJSONTyped = HelpdeskSidebarKeyStateDTOFromJSONTyped;
|
|
20
|
+
exports.HelpdeskSidebarKeyStateDTOToJSON = HelpdeskSidebarKeyStateDTOToJSON;
|
|
21
|
+
exports.HelpdeskSidebarKeyStateDTOToJSONTyped = HelpdeskSidebarKeyStateDTOToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.HelpdeskSidebarKeyStateDTOStatusEnum = {
|
|
26
|
+
NotIssued: 'NOT_ISSUED',
|
|
27
|
+
Active: 'ACTIVE',
|
|
28
|
+
Revoked: 'REVOKED',
|
|
29
|
+
SwitchedOff: 'SWITCHED_OFF'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the HelpdeskSidebarKeyStateDTO interface.
|
|
33
|
+
*/
|
|
34
|
+
function instanceOfHelpdeskSidebarKeyStateDTO(value) {
|
|
35
|
+
if (!('connectionId' in value) || value['connectionId'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function HelpdeskSidebarKeyStateDTOFromJSON(json) {
|
|
42
|
+
return HelpdeskSidebarKeyStateDTOFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function HelpdeskSidebarKeyStateDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'connectionId': json['connectionId'],
|
|
50
|
+
'issuedAt': json['issuedAt'] == null ? undefined : (new Date(json['issuedAt'])),
|
|
51
|
+
'keyPrefix': json['keyPrefix'] == null ? undefined : json['keyPrefix'],
|
|
52
|
+
'principalId': json['principalId'] == null ? undefined : json['principalId'],
|
|
53
|
+
'revokedAt': json['revokedAt'] == null ? undefined : (new Date(json['revokedAt'])),
|
|
54
|
+
'status': json['status'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function HelpdeskSidebarKeyStateDTOToJSON(json) {
|
|
58
|
+
return HelpdeskSidebarKeyStateDTOToJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
function HelpdeskSidebarKeyStateDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'connectionId': value['connectionId'],
|
|
66
|
+
'issuedAt': value['issuedAt'] == null ? value['issuedAt'] : value['issuedAt'].toISOString(),
|
|
67
|
+
'keyPrefix': value['keyPrefix'],
|
|
68
|
+
'principalId': value['principalId'],
|
|
69
|
+
'revokedAt': value['revokedAt'] == null ? value['revokedAt'] : value['revokedAt'].toISOString(),
|
|
70
|
+
'status': value['status'],
|
|
71
|
+
};
|
|
72
|
+
}
|