@integrahub/vergefy-client 0.23.0 → 0.24.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/APIAASAssociationApi.d.ts +2 -0
- package/dist/apis/APIAASAssociationApi.js +4 -2
- package/dist/apis/APIAGRGoodsReceiptApi.d.ts +1 -10
- package/dist/apis/APIAGRGoodsReceiptApi.js +1 -11
- package/dist/apis/APIARSGReorderSuggestionApi.d.ts +61 -0
- package/dist/apis/APIARSGReorderSuggestionApi.js +158 -0
- package/dist/apis/APIASPLSupplierPriceListApi.d.ts +137 -0
- package/dist/apis/APIASPLSupplierPriceListApi.js +394 -0
- package/dist/apis/APIASPOSupplierPurchaseOrderApi.d.ts +255 -0
- package/dist/apis/APIASPOSupplierPurchaseOrderApi.js +711 -0
- package/dist/apis/APIASPRSupplierPurchaseOrderApprovalRuleApi.d.ts +131 -0
- package/dist/apis/APIASPRSupplierPurchaseOrderApprovalRuleApi.js +369 -0
- package/dist/apis/APPPHRAWHRApprovalWorkflowApi.d.ts +1 -0
- package/dist/apis/APPPHRAWHRApprovalWorkflowApi.js +3 -0
- package/dist/apis/APPPMTMailTrustApi.d.ts +1 -2
- package/dist/apis/APPPMTMailTrustApi.js +0 -3
- package/dist/apis/index.d.ts +4 -0
- package/dist/apis/index.js +4 -0
- package/dist/esm/apis/APIAASAssociationApi.js +4 -2
- package/dist/esm/apis/APIAGRGoodsReceiptApi.js +0 -10
- package/dist/esm/apis/APIARSGReorderSuggestionApi.js +154 -0
- package/dist/esm/apis/APIASPLSupplierPriceListApi.js +390 -0
- package/dist/esm/apis/APIASPOSupplierPurchaseOrderApi.js +707 -0
- package/dist/esm/apis/APIASPRSupplierPurchaseOrderApprovalRuleApi.js +365 -0
- package/dist/esm/apis/APPPHRAWHRApprovalWorkflowApi.js +3 -0
- package/dist/esm/apis/APPPMTMailTrustApi.js +0 -3
- package/dist/esm/apis/index.js +4 -0
- package/dist/esm/ext/telemetry.js +1 -1
- package/dist/esm/models/AssociationDTO.js +4 -2
- package/dist/esm/models/DataResponseDTOListReorderSuggestionDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOListSupplierPurchaseOrderDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOSupplierPriceDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOSupplierPriceListDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOSupplierPurchaseOrderDTO.js +42 -0
- package/dist/esm/models/GoodsReceiptLineDTO.js +2 -0
- package/dist/esm/models/PageSupplierPriceListDTO.js +64 -0
- package/dist/esm/models/PageSupplierPurchaseOrderApprovalRuleDTO.js +64 -0
- package/dist/esm/models/PageSupplierPurchaseOrderDTO.js +64 -0
- package/dist/esm/models/ReorderSuggestionDTO.js +63 -0
- package/dist/esm/models/ReorderSuggestionDraftDTO.js +44 -0
- package/dist/esm/models/ReorderSuggestionSelectionDTO.js +43 -0
- package/dist/esm/models/SupplierPriceDTO.js +61 -0
- package/dist/esm/models/SupplierPriceListDTO.js +97 -0
- package/dist/esm/models/SupplierPriceListLineDTO.js +88 -0
- package/dist/esm/models/SupplierPurchaseOrderApprovalRuleDTO.js +86 -0
- package/dist/esm/models/SupplierPurchaseOrderDTO.js +142 -0
- package/dist/esm/models/SupplierPurchaseOrderLineDTO.js +98 -0
- package/dist/esm/models/SupplierPurchaseOrderRejectionDTO.js +43 -0
- package/dist/esm/models/index.js +19 -0
- package/dist/ext/telemetry.d.ts +1 -1
- package/dist/ext/telemetry.js +1 -1
- package/dist/models/AssociationDTO.d.ts +2 -0
- package/dist/models/AssociationDTO.js +4 -2
- package/dist/models/DataResponseDTOListReorderSuggestionDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOListReorderSuggestionDTO.js +49 -0
- package/dist/models/DataResponseDTOListSupplierPurchaseOrderDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOListSupplierPurchaseOrderDTO.js +49 -0
- package/dist/models/DataResponseDTOSupplierPriceDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOSupplierPriceDTO.js +49 -0
- package/dist/models/DataResponseDTOSupplierPriceListDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOSupplierPriceListDTO.js +49 -0
- package/dist/models/DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO.js +49 -0
- package/dist/models/DataResponseDTOSupplierPurchaseOrderDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOSupplierPurchaseOrderDTO.js +49 -0
- package/dist/models/GoodsReceiptLineDTO.d.ts +7 -1
- package/dist/models/GoodsReceiptLineDTO.js +2 -0
- package/dist/models/PageSupplierPriceListDTO.d.ts +95 -0
- package/dist/models/PageSupplierPriceListDTO.js +71 -0
- package/dist/models/PageSupplierPurchaseOrderApprovalRuleDTO.d.ts +95 -0
- package/dist/models/PageSupplierPurchaseOrderApprovalRuleDTO.js +71 -0
- package/dist/models/PageSupplierPurchaseOrderDTO.d.ts +95 -0
- package/dist/models/PageSupplierPurchaseOrderDTO.js +71 -0
- package/dist/models/ReorderSuggestionDTO.d.ts +98 -0
- package/dist/models/ReorderSuggestionDTO.js +70 -0
- package/dist/models/ReorderSuggestionDraftDTO.d.ts +33 -0
- package/dist/models/ReorderSuggestionDraftDTO.js +51 -0
- package/dist/models/ReorderSuggestionSelectionDTO.d.ts +38 -0
- package/dist/models/ReorderSuggestionSelectionDTO.js +50 -0
- package/dist/models/SupplierPriceDTO.d.ts +92 -0
- package/dist/models/SupplierPriceDTO.js +68 -0
- package/dist/models/SupplierPriceListDTO.d.ts +153 -0
- package/dist/models/SupplierPriceListDTO.js +105 -0
- package/dist/models/SupplierPriceListLineDTO.d.ts +140 -0
- package/dist/models/SupplierPriceListLineDTO.js +96 -0
- package/dist/models/SupplierPurchaseOrderApprovalRuleDTO.d.ts +134 -0
- package/dist/models/SupplierPurchaseOrderApprovalRuleDTO.js +94 -0
- package/dist/models/SupplierPurchaseOrderDTO.d.ts +269 -0
- package/dist/models/SupplierPurchaseOrderDTO.js +150 -0
- package/dist/models/SupplierPurchaseOrderLineDTO.d.ts +170 -0
- package/dist/models/SupplierPurchaseOrderLineDTO.js +106 -0
- package/dist/models/SupplierPurchaseOrderRejectionDTO.d.ts +32 -0
- package/dist/models/SupplierPurchaseOrderRejectionDTO.js +50 -0
- package/dist/models/index.d.ts +19 -0
- package/dist/models/index.js +19 -0
- package/package.json +1 -1
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Vergefy API
|
|
5
|
+
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2026-05-30
|
|
8
|
+
* Contact: support@integrahub.co
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime';
|
|
24
|
+
import { DataResponseDTOSupplierPurchaseOrderApprovalRuleDTOFromJSON, } from '../models/DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO';
|
|
25
|
+
import { PageSupplierPurchaseOrderApprovalRuleDTOFromJSON, } from '../models/PageSupplierPurchaseOrderApprovalRuleDTO';
|
|
26
|
+
import { SupplierPurchaseOrderApprovalRuleDTOToJSON, } from '../models/SupplierPurchaseOrderApprovalRuleDTO';
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export class APIASPRSupplierPurchaseOrderApprovalRuleApi extends runtime.BaseAPI {
|
|
31
|
+
/**
|
|
32
|
+
* Creates request options for aSPR001 without sending the request
|
|
33
|
+
*/
|
|
34
|
+
aSPR001RequestOpts(requestParameters) {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
if (requestParameters['id'] == null) {
|
|
37
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling aSPR001().');
|
|
38
|
+
}
|
|
39
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
40
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling aSPR001().');
|
|
41
|
+
}
|
|
42
|
+
const queryParameters = {};
|
|
43
|
+
const headerParameters = {};
|
|
44
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
45
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
46
|
+
}
|
|
47
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
48
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
49
|
+
}
|
|
50
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
51
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
52
|
+
}
|
|
53
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
54
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
55
|
+
}
|
|
56
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
57
|
+
const token = this.configuration.accessToken;
|
|
58
|
+
const tokenString = yield token("BearerAuth", []);
|
|
59
|
+
if (tokenString) {
|
|
60
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
let urlPath = `/api/supplier-purchase-order-approval-rules/{id}`;
|
|
64
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
65
|
+
return {
|
|
66
|
+
path: urlPath,
|
|
67
|
+
method: 'GET',
|
|
68
|
+
headers: headerParameters,
|
|
69
|
+
query: queryParameters,
|
|
70
|
+
};
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Retrieves an approval rule by id
|
|
75
|
+
* ASPR001 - Get Supplier Purchase Order Approval Rule
|
|
76
|
+
*/
|
|
77
|
+
aSPR001Raw(requestParameters, initOverrides) {
|
|
78
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
79
|
+
const requestOptions = yield this.aSPR001RequestOpts(requestParameters);
|
|
80
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
81
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => DataResponseDTOSupplierPurchaseOrderApprovalRuleDTOFromJSON(jsonValue));
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Retrieves an approval rule by id
|
|
86
|
+
* ASPR001 - Get Supplier Purchase Order Approval Rule
|
|
87
|
+
*/
|
|
88
|
+
aSPR001(requestParameters, initOverrides) {
|
|
89
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
90
|
+
const response = yield this.aSPR001Raw(requestParameters, initOverrides);
|
|
91
|
+
return yield response.value();
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Creates request options for aSPR002 without sending the request
|
|
96
|
+
*/
|
|
97
|
+
aSPR002RequestOpts(requestParameters) {
|
|
98
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
99
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
100
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling aSPR002().');
|
|
101
|
+
}
|
|
102
|
+
const queryParameters = {};
|
|
103
|
+
if (requestParameters['supplierId'] != null) {
|
|
104
|
+
queryParameters['supplierId'] = requestParameters['supplierId'];
|
|
105
|
+
}
|
|
106
|
+
if (requestParameters['currencyCode'] != null) {
|
|
107
|
+
queryParameters['currencyCode'] = requestParameters['currencyCode'];
|
|
108
|
+
}
|
|
109
|
+
if (requestParameters['tenantWide'] != null) {
|
|
110
|
+
queryParameters['tenantWide'] = requestParameters['tenantWide'];
|
|
111
|
+
}
|
|
112
|
+
if (requestParameters['page'] != null) {
|
|
113
|
+
queryParameters['page'] = requestParameters['page'];
|
|
114
|
+
}
|
|
115
|
+
if (requestParameters['size'] != null) {
|
|
116
|
+
queryParameters['size'] = requestParameters['size'];
|
|
117
|
+
}
|
|
118
|
+
if (requestParameters['sort'] != null) {
|
|
119
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
120
|
+
}
|
|
121
|
+
const headerParameters = {};
|
|
122
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
123
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
124
|
+
}
|
|
125
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
126
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
127
|
+
}
|
|
128
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
129
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
130
|
+
}
|
|
131
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
132
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
133
|
+
}
|
|
134
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
135
|
+
const token = this.configuration.accessToken;
|
|
136
|
+
const tokenString = yield token("BearerAuth", []);
|
|
137
|
+
if (tokenString) {
|
|
138
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
let urlPath = `/api/supplier-purchase-order-approval-rules`;
|
|
142
|
+
return {
|
|
143
|
+
path: urlPath,
|
|
144
|
+
method: 'GET',
|
|
145
|
+
headers: headerParameters,
|
|
146
|
+
query: queryParameters,
|
|
147
|
+
};
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Filtered, paginated search over approval rules (supplier, currency, and whether a rule is tenant-wide)
|
|
152
|
+
* ASPR002 - Search Supplier Purchase Order Approval Rules
|
|
153
|
+
*/
|
|
154
|
+
aSPR002Raw(requestParameters, initOverrides) {
|
|
155
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
156
|
+
const requestOptions = yield this.aSPR002RequestOpts(requestParameters);
|
|
157
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
158
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PageSupplierPurchaseOrderApprovalRuleDTOFromJSON(jsonValue));
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Filtered, paginated search over approval rules (supplier, currency, and whether a rule is tenant-wide)
|
|
163
|
+
* ASPR002 - Search Supplier Purchase Order Approval Rules
|
|
164
|
+
*/
|
|
165
|
+
aSPR002(requestParameters, initOverrides) {
|
|
166
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
167
|
+
const response = yield this.aSPR002Raw(requestParameters, initOverrides);
|
|
168
|
+
return yield response.value();
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Creates request options for aSPR100 without sending the request
|
|
173
|
+
*/
|
|
174
|
+
aSPR100RequestOpts(requestParameters) {
|
|
175
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
176
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
177
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling aSPR100().');
|
|
178
|
+
}
|
|
179
|
+
if (requestParameters['supplierPurchaseOrderApprovalRuleDTO'] == null) {
|
|
180
|
+
throw new runtime.RequiredError('supplierPurchaseOrderApprovalRuleDTO', 'Required parameter "supplierPurchaseOrderApprovalRuleDTO" was null or undefined when calling aSPR100().');
|
|
181
|
+
}
|
|
182
|
+
const queryParameters = {};
|
|
183
|
+
const headerParameters = {};
|
|
184
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
185
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
186
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
187
|
+
}
|
|
188
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
189
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
190
|
+
}
|
|
191
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
192
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
193
|
+
}
|
|
194
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
195
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
196
|
+
}
|
|
197
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
198
|
+
const token = this.configuration.accessToken;
|
|
199
|
+
const tokenString = yield token("BearerAuth", []);
|
|
200
|
+
if (tokenString) {
|
|
201
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
let urlPath = `/api/supplier-purchase-order-approval-rules`;
|
|
205
|
+
return {
|
|
206
|
+
path: urlPath,
|
|
207
|
+
method: 'POST',
|
|
208
|
+
headers: headerParameters,
|
|
209
|
+
query: queryParameters,
|
|
210
|
+
body: SupplierPurchaseOrderApprovalRuleDTOToJSON(requestParameters['supplierPurchaseOrderApprovalRuleDTO']),
|
|
211
|
+
};
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Creates the rule for one currency, tenant-wide when supplierId is omitted or for one supplier, whose rule overrides the tenant-wide one. An order whose total is at or under the threshold is approved when submitted
|
|
216
|
+
* ASPR100 - Create Supplier Purchase Order Approval Rule
|
|
217
|
+
*/
|
|
218
|
+
aSPR100Raw(requestParameters, initOverrides) {
|
|
219
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
220
|
+
const requestOptions = yield this.aSPR100RequestOpts(requestParameters);
|
|
221
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
222
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => DataResponseDTOSupplierPurchaseOrderApprovalRuleDTOFromJSON(jsonValue));
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Creates the rule for one currency, tenant-wide when supplierId is omitted or for one supplier, whose rule overrides the tenant-wide one. An order whose total is at or under the threshold is approved when submitted
|
|
227
|
+
* ASPR100 - Create Supplier Purchase Order Approval Rule
|
|
228
|
+
*/
|
|
229
|
+
aSPR100(requestParameters, initOverrides) {
|
|
230
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
231
|
+
const response = yield this.aSPR100Raw(requestParameters, initOverrides);
|
|
232
|
+
return yield response.value();
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* Creates request options for aSPR101 without sending the request
|
|
237
|
+
*/
|
|
238
|
+
aSPR101RequestOpts(requestParameters) {
|
|
239
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
240
|
+
if (requestParameters['id'] == null) {
|
|
241
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling aSPR101().');
|
|
242
|
+
}
|
|
243
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
244
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling aSPR101().');
|
|
245
|
+
}
|
|
246
|
+
if (requestParameters['supplierPurchaseOrderApprovalRuleDTO'] == null) {
|
|
247
|
+
throw new runtime.RequiredError('supplierPurchaseOrderApprovalRuleDTO', 'Required parameter "supplierPurchaseOrderApprovalRuleDTO" was null or undefined when calling aSPR101().');
|
|
248
|
+
}
|
|
249
|
+
const queryParameters = {};
|
|
250
|
+
const headerParameters = {};
|
|
251
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
252
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
253
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
254
|
+
}
|
|
255
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
256
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
257
|
+
}
|
|
258
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
259
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
260
|
+
}
|
|
261
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
262
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
263
|
+
}
|
|
264
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
265
|
+
const token = this.configuration.accessToken;
|
|
266
|
+
const tokenString = yield token("BearerAuth", []);
|
|
267
|
+
if (tokenString) {
|
|
268
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
let urlPath = `/api/supplier-purchase-order-approval-rules/{id}`;
|
|
272
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
273
|
+
return {
|
|
274
|
+
path: urlPath,
|
|
275
|
+
method: 'PUT',
|
|
276
|
+
headers: headerParameters,
|
|
277
|
+
query: queryParameters,
|
|
278
|
+
body: SupplierPurchaseOrderApprovalRuleDTOToJSON(requestParameters['supplierPurchaseOrderApprovalRuleDTO']),
|
|
279
|
+
};
|
|
280
|
+
});
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* Replaces a rule\'s supplier, currency and threshold. Orders already waiting for approval are not decided again
|
|
284
|
+
* ASPR101 - Update Supplier Purchase Order Approval Rule
|
|
285
|
+
*/
|
|
286
|
+
aSPR101Raw(requestParameters, initOverrides) {
|
|
287
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
288
|
+
const requestOptions = yield this.aSPR101RequestOpts(requestParameters);
|
|
289
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
290
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => DataResponseDTOSupplierPurchaseOrderApprovalRuleDTOFromJSON(jsonValue));
|
|
291
|
+
});
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* Replaces a rule\'s supplier, currency and threshold. Orders already waiting for approval are not decided again
|
|
295
|
+
* ASPR101 - Update Supplier Purchase Order Approval Rule
|
|
296
|
+
*/
|
|
297
|
+
aSPR101(requestParameters, initOverrides) {
|
|
298
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
299
|
+
const response = yield this.aSPR101Raw(requestParameters, initOverrides);
|
|
300
|
+
return yield response.value();
|
|
301
|
+
});
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* Creates request options for aSPR102 without sending the request
|
|
305
|
+
*/
|
|
306
|
+
aSPR102RequestOpts(requestParameters) {
|
|
307
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
308
|
+
if (requestParameters['id'] == null) {
|
|
309
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling aSPR102().');
|
|
310
|
+
}
|
|
311
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
312
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling aSPR102().');
|
|
313
|
+
}
|
|
314
|
+
const queryParameters = {};
|
|
315
|
+
const headerParameters = {};
|
|
316
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
317
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
318
|
+
}
|
|
319
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
320
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
321
|
+
}
|
|
322
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
323
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
324
|
+
}
|
|
325
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
326
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
327
|
+
}
|
|
328
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
329
|
+
const token = this.configuration.accessToken;
|
|
330
|
+
const tokenString = yield token("BearerAuth", []);
|
|
331
|
+
if (tokenString) {
|
|
332
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
let urlPath = `/api/supplier-purchase-order-approval-rules/{id}`;
|
|
336
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
337
|
+
return {
|
|
338
|
+
path: urlPath,
|
|
339
|
+
method: 'DELETE',
|
|
340
|
+
headers: headerParameters,
|
|
341
|
+
query: queryParameters,
|
|
342
|
+
};
|
|
343
|
+
});
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* Deletes a rule. A supplier\'s orders then follow the tenant-wide rule, and orders in a currency with no rule wait for a person
|
|
347
|
+
* ASPR102 - Delete Supplier Purchase Order Approval Rule
|
|
348
|
+
*/
|
|
349
|
+
aSPR102Raw(requestParameters, initOverrides) {
|
|
350
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
351
|
+
const requestOptions = yield this.aSPR102RequestOpts(requestParameters);
|
|
352
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
353
|
+
return new runtime.VoidApiResponse(response);
|
|
354
|
+
});
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* Deletes a rule. A supplier\'s orders then follow the tenant-wide rule, and orders in a currency with no rule wait for a person
|
|
358
|
+
* ASPR102 - Delete Supplier Purchase Order Approval Rule
|
|
359
|
+
*/
|
|
360
|
+
aSPR102(requestParameters, initOverrides) {
|
|
361
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
362
|
+
yield this.aSPR102Raw(requestParameters, initOverrides);
|
|
363
|
+
});
|
|
364
|
+
}
|
|
365
|
+
}
|
|
@@ -128,6 +128,9 @@ export class APPPHRAWHRApprovalWorkflowApi extends runtime.BaseAPI {
|
|
|
128
128
|
if (requestParameters['size'] != null) {
|
|
129
129
|
queryParameters['size'] = requestParameters['size'];
|
|
130
130
|
}
|
|
131
|
+
if (requestParameters['sort'] != null) {
|
|
132
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
133
|
+
}
|
|
131
134
|
const headerParameters = {};
|
|
132
135
|
if (requestParameters['acceptLanguage'] != null) {
|
|
133
136
|
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
@@ -554,9 +554,6 @@ export class APPPMTMailTrustApi extends runtime.BaseAPI {
|
|
|
554
554
|
if (requestParameters['sort'] != null) {
|
|
555
555
|
queryParameters['sort'] = requestParameters['sort'];
|
|
556
556
|
}
|
|
557
|
-
if (requestParameters['direction'] != null) {
|
|
558
|
-
queryParameters['direction'] = requestParameters['direction'];
|
|
559
|
-
}
|
|
560
557
|
if (requestParameters['name'] != null) {
|
|
561
558
|
queryParameters['name'] = requestParameters['name'];
|
|
562
559
|
}
|
package/dist/esm/apis/index.js
CHANGED
|
@@ -138,10 +138,14 @@ export * from './APIARDReadsApi';
|
|
|
138
138
|
export * from './APIARERefundApi';
|
|
139
139
|
export * from './APIARFRFIDApi';
|
|
140
140
|
export * from './APIARQRequirementApi';
|
|
141
|
+
export * from './APIARSGReorderSuggestionApi';
|
|
141
142
|
export * from './APIARTReturnApi';
|
|
142
143
|
export * from './APIARVReviewApi';
|
|
143
144
|
export * from './APIASHShipmentApi';
|
|
144
145
|
export * from './APIASMSSMSApi';
|
|
146
|
+
export * from './APIASPLSupplierPriceListApi';
|
|
147
|
+
export * from './APIASPOSupplierPurchaseOrderApi';
|
|
148
|
+
export * from './APIASPRSupplierPurchaseOrderApprovalRuleApi';
|
|
145
149
|
export * from './APIASPSupplierApi';
|
|
146
150
|
export * from './APIASTAssetApi';
|
|
147
151
|
export * from './APIASUPSubscriptionPublicBridgeApi';
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Mirrors the canonical Java `ext/Telemetry`.
|
|
9
9
|
*/
|
|
10
10
|
/** Kept in sync with `vergefySdkVersion` (the published artifact version). */
|
|
11
|
-
export const VERSION = '0.
|
|
11
|
+
export const VERSION = '0.24.0';
|
|
12
12
|
const NAME = 'vergefy-typescript-client';
|
|
13
13
|
/** The `User-Agent` value, e.g. `vergefy-typescript-client/0.1.0`. */
|
|
14
14
|
export function userAgent() {
|
|
@@ -71,7 +71,8 @@ export const AssociationDTOSourceTypeEnum = {
|
|
|
71
71
|
RouteStop: 'ROUTE_STOP',
|
|
72
72
|
Shipment: 'SHIPMENT',
|
|
73
73
|
WarehouseLocation: 'WAREHOUSE_LOCATION',
|
|
74
|
-
FleetDevice: 'FLEET_DEVICE'
|
|
74
|
+
FleetDevice: 'FLEET_DEVICE',
|
|
75
|
+
SupplierPurchaseOrder: 'SUPPLIER_PURCHASE_ORDER'
|
|
75
76
|
};
|
|
76
77
|
/**
|
|
77
78
|
* @export
|
|
@@ -122,7 +123,8 @@ export const AssociationDTOTargetTypeEnum = {
|
|
|
122
123
|
RouteStop: 'ROUTE_STOP',
|
|
123
124
|
Shipment: 'SHIPMENT',
|
|
124
125
|
WarehouseLocation: 'WAREHOUSE_LOCATION',
|
|
125
|
-
FleetDevice: 'FLEET_DEVICE'
|
|
126
|
+
FleetDevice: 'FLEET_DEVICE',
|
|
127
|
+
SupplierPurchaseOrder: 'SUPPLIER_PURCHASE_ORDER'
|
|
126
128
|
};
|
|
127
129
|
/**
|
|
128
130
|
* Check if a given object implements the AssociationDTO interface.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Vergefy API
|
|
5
|
+
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2026-05-30
|
|
8
|
+
* Contact: support@integrahub.co
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ReorderSuggestionDTOFromJSON, ReorderSuggestionDTOToJSON, } from './ReorderSuggestionDTO';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the DataResponseDTOListReorderSuggestionDTO interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfDataResponseDTOListReorderSuggestionDTO(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function DataResponseDTOListReorderSuggestionDTOFromJSON(json) {
|
|
22
|
+
return DataResponseDTOListReorderSuggestionDTOFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function DataResponseDTOListReorderSuggestionDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'data': json['data'] == null ? undefined : (json['data'].map(ReorderSuggestionDTOFromJSON)),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function DataResponseDTOListReorderSuggestionDTOToJSON(json) {
|
|
33
|
+
return DataResponseDTOListReorderSuggestionDTOToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function DataResponseDTOListReorderSuggestionDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'data': value['data'] == null ? undefined : (value['data'].map(ReorderSuggestionDTOToJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Vergefy API
|
|
5
|
+
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2026-05-30
|
|
8
|
+
* Contact: support@integrahub.co
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { SupplierPurchaseOrderDTOFromJSON, SupplierPurchaseOrderDTOToJSON, } from './SupplierPurchaseOrderDTO';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the DataResponseDTOListSupplierPurchaseOrderDTO interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfDataResponseDTOListSupplierPurchaseOrderDTO(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function DataResponseDTOListSupplierPurchaseOrderDTOFromJSON(json) {
|
|
22
|
+
return DataResponseDTOListSupplierPurchaseOrderDTOFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function DataResponseDTOListSupplierPurchaseOrderDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'data': json['data'] == null ? undefined : (json['data'].map(SupplierPurchaseOrderDTOFromJSON)),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function DataResponseDTOListSupplierPurchaseOrderDTOToJSON(json) {
|
|
33
|
+
return DataResponseDTOListSupplierPurchaseOrderDTOToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function DataResponseDTOListSupplierPurchaseOrderDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'data': value['data'] == null ? undefined : (value['data'].map(SupplierPurchaseOrderDTOToJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Vergefy API
|
|
5
|
+
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2026-05-30
|
|
8
|
+
* Contact: support@integrahub.co
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { SupplierPriceDTOFromJSON, SupplierPriceDTOToJSON, } from './SupplierPriceDTO';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the DataResponseDTOSupplierPriceDTO interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfDataResponseDTOSupplierPriceDTO(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function DataResponseDTOSupplierPriceDTOFromJSON(json) {
|
|
22
|
+
return DataResponseDTOSupplierPriceDTOFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function DataResponseDTOSupplierPriceDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'data': json['data'] == null ? undefined : SupplierPriceDTOFromJSON(json['data']),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function DataResponseDTOSupplierPriceDTOToJSON(json) {
|
|
33
|
+
return DataResponseDTOSupplierPriceDTOToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function DataResponseDTOSupplierPriceDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'data': SupplierPriceDTOToJSON(value['data']),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Vergefy API
|
|
5
|
+
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2026-05-30
|
|
8
|
+
* Contact: support@integrahub.co
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { SupplierPriceListDTOFromJSON, SupplierPriceListDTOToJSON, } from './SupplierPriceListDTO';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the DataResponseDTOSupplierPriceListDTO interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfDataResponseDTOSupplierPriceListDTO(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function DataResponseDTOSupplierPriceListDTOFromJSON(json) {
|
|
22
|
+
return DataResponseDTOSupplierPriceListDTOFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function DataResponseDTOSupplierPriceListDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'data': json['data'] == null ? undefined : SupplierPriceListDTOFromJSON(json['data']),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function DataResponseDTOSupplierPriceListDTOToJSON(json) {
|
|
33
|
+
return DataResponseDTOSupplierPriceListDTOToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function DataResponseDTOSupplierPriceListDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'data': SupplierPriceListDTOToJSON(value['data']),
|
|
41
|
+
};
|
|
42
|
+
}
|