@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
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @integrahub/vergefy-client@0.
|
|
1
|
+
# @integrahub/vergefy-client@0.24.0
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the your-vergefy-host.invalid API.
|
|
4
4
|
|
|
@@ -90,7 +90,7 @@ and is automatically generated by the
|
|
|
90
90
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
91
91
|
|
|
92
92
|
- API version: `2026-05-30`
|
|
93
|
-
- Package version: `0.
|
|
93
|
+
- Package version: `0.24.0`
|
|
94
94
|
- Generator version: `7.22.0`
|
|
95
95
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
96
96
|
|
|
@@ -183,6 +183,7 @@ export declare const AAS005SourceTypesEnum: {
|
|
|
183
183
|
readonly Shipment: "SHIPMENT";
|
|
184
184
|
readonly WarehouseLocation: "WAREHOUSE_LOCATION";
|
|
185
185
|
readonly FleetDevice: "FLEET_DEVICE";
|
|
186
|
+
readonly SupplierPurchaseOrder: "SUPPLIER_PURCHASE_ORDER";
|
|
186
187
|
};
|
|
187
188
|
export type AAS005SourceTypesEnum = typeof AAS005SourceTypesEnum[keyof typeof AAS005SourceTypesEnum];
|
|
188
189
|
/**
|
|
@@ -235,5 +236,6 @@ export declare const AAS005TargetTypesEnum: {
|
|
|
235
236
|
readonly Shipment: "SHIPMENT";
|
|
236
237
|
readonly WarehouseLocation: "WAREHOUSE_LOCATION";
|
|
237
238
|
readonly FleetDevice: "FLEET_DEVICE";
|
|
239
|
+
readonly SupplierPurchaseOrder: "SUPPLIER_PURCHASE_ORDER";
|
|
238
240
|
};
|
|
239
241
|
export type AAS005TargetTypesEnum = typeof AAS005TargetTypesEnum[keyof typeof AAS005TargetTypesEnum];
|
|
@@ -427,7 +427,8 @@ exports.AAS005SourceTypesEnum = {
|
|
|
427
427
|
RouteStop: 'ROUTE_STOP',
|
|
428
428
|
Shipment: 'SHIPMENT',
|
|
429
429
|
WarehouseLocation: 'WAREHOUSE_LOCATION',
|
|
430
|
-
FleetDevice: 'FLEET_DEVICE'
|
|
430
|
+
FleetDevice: 'FLEET_DEVICE',
|
|
431
|
+
SupplierPurchaseOrder: 'SUPPLIER_PURCHASE_ORDER'
|
|
431
432
|
};
|
|
432
433
|
/**
|
|
433
434
|
* @export
|
|
@@ -478,5 +479,6 @@ exports.AAS005TargetTypesEnum = {
|
|
|
478
479
|
RouteStop: 'ROUTE_STOP',
|
|
479
480
|
Shipment: 'SHIPMENT',
|
|
480
481
|
WarehouseLocation: 'WAREHOUSE_LOCATION',
|
|
481
|
-
FleetDevice: 'FLEET_DEVICE'
|
|
482
|
+
FleetDevice: 'FLEET_DEVICE',
|
|
483
|
+
SupplierPurchaseOrder: 'SUPPLIER_PURCHASE_ORDER'
|
|
482
484
|
};
|
|
@@ -42,8 +42,7 @@ export interface AGR004Request {
|
|
|
42
42
|
supplierId?: string;
|
|
43
43
|
page?: number;
|
|
44
44
|
size?: number;
|
|
45
|
-
sort?: string
|
|
46
|
-
direction?: AGR004DirectionEnum;
|
|
45
|
+
sort?: Array<string>;
|
|
47
46
|
acceptLanguage?: string;
|
|
48
47
|
vergefyVersion?: string;
|
|
49
48
|
acceptTimezone?: string;
|
|
@@ -118,11 +117,3 @@ export declare const AGR004StatusEnum: {
|
|
|
118
117
|
readonly PutAway: "PUT_AWAY";
|
|
119
118
|
};
|
|
120
119
|
export type AGR004StatusEnum = typeof AGR004StatusEnum[keyof typeof AGR004StatusEnum];
|
|
121
|
-
/**
|
|
122
|
-
* @export
|
|
123
|
-
*/
|
|
124
|
-
export declare const AGR004DirectionEnum: {
|
|
125
|
-
readonly Asc: "ASC";
|
|
126
|
-
readonly Desc: "DESC";
|
|
127
|
-
};
|
|
128
|
-
export type AGR004DirectionEnum = typeof AGR004DirectionEnum[keyof typeof AGR004DirectionEnum];
|
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
25
|
+
exports.AGR004StatusEnum = exports.APIAGRGoodsReceiptApi = void 0;
|
|
26
26
|
const runtime = require("../runtime");
|
|
27
27
|
const DataResponseDTOGoodsReceiptDTO_1 = require("../models/DataResponseDTOGoodsReceiptDTO");
|
|
28
28
|
const GoodsReceiptDTO_1 = require("../models/GoodsReceiptDTO");
|
|
@@ -251,9 +251,6 @@ class APIAGRGoodsReceiptApi extends runtime.BaseAPI {
|
|
|
251
251
|
if (requestParameters['sort'] != null) {
|
|
252
252
|
queryParameters['sort'] = requestParameters['sort'];
|
|
253
253
|
}
|
|
254
|
-
if (requestParameters['direction'] != null) {
|
|
255
|
-
queryParameters['direction'] = requestParameters['direction'];
|
|
256
|
-
}
|
|
257
254
|
const headerParameters = {};
|
|
258
255
|
if (requestParameters['acceptLanguage'] != null) {
|
|
259
256
|
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
@@ -314,10 +311,3 @@ exports.AGR004StatusEnum = {
|
|
|
314
311
|
Received: 'RECEIVED',
|
|
315
312
|
PutAway: 'PUT_AWAY'
|
|
316
313
|
};
|
|
317
|
-
/**
|
|
318
|
-
* @export
|
|
319
|
-
*/
|
|
320
|
-
exports.AGR004DirectionEnum = {
|
|
321
|
-
Asc: 'ASC',
|
|
322
|
-
Desc: 'DESC'
|
|
323
|
-
};
|
|
@@ -0,0 +1,61 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import { type DataResponseDTOListReorderSuggestionDTO } from '../models/DataResponseDTOListReorderSuggestionDTO';
|
|
14
|
+
import { type DataResponseDTOListSupplierPurchaseOrderDTO } from '../models/DataResponseDTOListSupplierPurchaseOrderDTO';
|
|
15
|
+
import { type ReorderSuggestionDraftDTO } from '../models/ReorderSuggestionDraftDTO';
|
|
16
|
+
export interface ARSG001Request {
|
|
17
|
+
xAppAccountId: string;
|
|
18
|
+
acceptLanguage?: string;
|
|
19
|
+
vergefyVersion?: string;
|
|
20
|
+
acceptTimezone?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface ARSG100Request {
|
|
23
|
+
xAppAccountId: string;
|
|
24
|
+
reorderSuggestionDraftDTO: ReorderSuggestionDraftDTO;
|
|
25
|
+
acceptLanguage?: string;
|
|
26
|
+
vergefyVersion?: string;
|
|
27
|
+
acceptTimezone?: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
export declare class APIARSGReorderSuggestionApi extends runtime.BaseAPI {
|
|
33
|
+
/**
|
|
34
|
+
* Creates request options for aRSG001 without sending the request
|
|
35
|
+
*/
|
|
36
|
+
aRSG001RequestOpts(requestParameters: ARSG001Request): Promise<runtime.RequestOpts>;
|
|
37
|
+
/**
|
|
38
|
+
* Every article at or below its low-stock threshold, with the quantity to order and the supplier currently listing it cheapest. An article no price list covers is returned without a supplier rather than hidden.
|
|
39
|
+
* ARSG001 - List Reorder Suggestions
|
|
40
|
+
*/
|
|
41
|
+
aRSG001Raw(requestParameters: ARSG001Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOListReorderSuggestionDTO>>;
|
|
42
|
+
/**
|
|
43
|
+
* Every article at or below its low-stock threshold, with the quantity to order and the supplier currently listing it cheapest. An article no price list covers is returned without a supplier rather than hidden.
|
|
44
|
+
* ARSG001 - List Reorder Suggestions
|
|
45
|
+
*/
|
|
46
|
+
aRSG001(requestParameters: ARSG001Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOListReorderSuggestionDTO>;
|
|
47
|
+
/**
|
|
48
|
+
* Creates request options for aRSG100 without sending the request
|
|
49
|
+
*/
|
|
50
|
+
aRSG100RequestOpts(requestParameters: ARSG100Request): Promise<runtime.RequestOpts>;
|
|
51
|
+
/**
|
|
52
|
+
* Drafts one purchase order per supplier for the selected articles, pricing each line from the supplier\'s current list. The orders are DRAFT and still have to be submitted.
|
|
53
|
+
* ARSG100 - Draft Purchase Orders From Reorder Suggestions
|
|
54
|
+
*/
|
|
55
|
+
aRSG100Raw(requestParameters: ARSG100Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOListSupplierPurchaseOrderDTO>>;
|
|
56
|
+
/**
|
|
57
|
+
* Drafts one purchase order per supplier for the selected articles, pricing each line from the supplier\'s current list. The orders are DRAFT and still have to be submitted.
|
|
58
|
+
* ARSG100 - Draft Purchase Orders From Reorder Suggestions
|
|
59
|
+
*/
|
|
60
|
+
aRSG100(requestParameters: ARSG100Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOListSupplierPurchaseOrderDTO>;
|
|
61
|
+
}
|
|
@@ -0,0 +1,158 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.APIARSGReorderSuggestionApi = void 0;
|
|
26
|
+
const runtime = require("../runtime");
|
|
27
|
+
const DataResponseDTOListReorderSuggestionDTO_1 = require("../models/DataResponseDTOListReorderSuggestionDTO");
|
|
28
|
+
const DataResponseDTOListSupplierPurchaseOrderDTO_1 = require("../models/DataResponseDTOListSupplierPurchaseOrderDTO");
|
|
29
|
+
const ReorderSuggestionDraftDTO_1 = require("../models/ReorderSuggestionDraftDTO");
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
class APIARSGReorderSuggestionApi extends runtime.BaseAPI {
|
|
34
|
+
/**
|
|
35
|
+
* Creates request options for aRSG001 without sending the request
|
|
36
|
+
*/
|
|
37
|
+
aRSG001RequestOpts(requestParameters) {
|
|
38
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
40
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling aRSG001().');
|
|
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/reorder-suggestions`;
|
|
64
|
+
return {
|
|
65
|
+
path: urlPath,
|
|
66
|
+
method: 'GET',
|
|
67
|
+
headers: headerParameters,
|
|
68
|
+
query: queryParameters,
|
|
69
|
+
};
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Every article at or below its low-stock threshold, with the quantity to order and the supplier currently listing it cheapest. An article no price list covers is returned without a supplier rather than hidden.
|
|
74
|
+
* ARSG001 - List Reorder Suggestions
|
|
75
|
+
*/
|
|
76
|
+
aRSG001Raw(requestParameters, initOverrides) {
|
|
77
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
78
|
+
const requestOptions = yield this.aRSG001RequestOpts(requestParameters);
|
|
79
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
80
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOListReorderSuggestionDTO_1.DataResponseDTOListReorderSuggestionDTOFromJSON)(jsonValue));
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Every article at or below its low-stock threshold, with the quantity to order and the supplier currently listing it cheapest. An article no price list covers is returned without a supplier rather than hidden.
|
|
85
|
+
* ARSG001 - List Reorder Suggestions
|
|
86
|
+
*/
|
|
87
|
+
aRSG001(requestParameters, initOverrides) {
|
|
88
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
89
|
+
const response = yield this.aRSG001Raw(requestParameters, initOverrides);
|
|
90
|
+
return yield response.value();
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Creates request options for aRSG100 without sending the request
|
|
95
|
+
*/
|
|
96
|
+
aRSG100RequestOpts(requestParameters) {
|
|
97
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
98
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
99
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling aRSG100().');
|
|
100
|
+
}
|
|
101
|
+
if (requestParameters['reorderSuggestionDraftDTO'] == null) {
|
|
102
|
+
throw new runtime.RequiredError('reorderSuggestionDraftDTO', 'Required parameter "reorderSuggestionDraftDTO" was null or undefined when calling aRSG100().');
|
|
103
|
+
}
|
|
104
|
+
const queryParameters = {};
|
|
105
|
+
const headerParameters = {};
|
|
106
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
107
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
108
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
109
|
+
}
|
|
110
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
111
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
112
|
+
}
|
|
113
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
114
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
115
|
+
}
|
|
116
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
117
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
118
|
+
}
|
|
119
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
120
|
+
const token = this.configuration.accessToken;
|
|
121
|
+
const tokenString = yield token("BearerAuth", []);
|
|
122
|
+
if (tokenString) {
|
|
123
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
let urlPath = `/api/reorder-suggestions/draft-purchase-orders`;
|
|
127
|
+
return {
|
|
128
|
+
path: urlPath,
|
|
129
|
+
method: 'POST',
|
|
130
|
+
headers: headerParameters,
|
|
131
|
+
query: queryParameters,
|
|
132
|
+
body: (0, ReorderSuggestionDraftDTO_1.ReorderSuggestionDraftDTOToJSON)(requestParameters['reorderSuggestionDraftDTO']),
|
|
133
|
+
};
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Drafts one purchase order per supplier for the selected articles, pricing each line from the supplier\'s current list. The orders are DRAFT and still have to be submitted.
|
|
138
|
+
* ARSG100 - Draft Purchase Orders From Reorder Suggestions
|
|
139
|
+
*/
|
|
140
|
+
aRSG100Raw(requestParameters, initOverrides) {
|
|
141
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
142
|
+
const requestOptions = yield this.aRSG100RequestOpts(requestParameters);
|
|
143
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
144
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOListSupplierPurchaseOrderDTO_1.DataResponseDTOListSupplierPurchaseOrderDTOFromJSON)(jsonValue));
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Drafts one purchase order per supplier for the selected articles, pricing each line from the supplier\'s current list. The orders are DRAFT and still have to be submitted.
|
|
149
|
+
* ARSG100 - Draft Purchase Orders From Reorder Suggestions
|
|
150
|
+
*/
|
|
151
|
+
aRSG100(requestParameters, initOverrides) {
|
|
152
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
153
|
+
const response = yield this.aRSG100Raw(requestParameters, initOverrides);
|
|
154
|
+
return yield response.value();
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
exports.APIARSGReorderSuggestionApi = APIARSGReorderSuggestionApi;
|
|
@@ -0,0 +1,137 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import { type DataResponseDTOSupplierPriceDTO } from '../models/DataResponseDTOSupplierPriceDTO';
|
|
14
|
+
import { type DataResponseDTOSupplierPriceListDTO } from '../models/DataResponseDTOSupplierPriceListDTO';
|
|
15
|
+
import { type PageSupplierPriceListDTO } from '../models/PageSupplierPriceListDTO';
|
|
16
|
+
import { type SupplierPriceListDTO } from '../models/SupplierPriceListDTO';
|
|
17
|
+
export interface ASPL001Request {
|
|
18
|
+
id: string;
|
|
19
|
+
xAppAccountId: string;
|
|
20
|
+
acceptLanguage?: string;
|
|
21
|
+
vergefyVersion?: string;
|
|
22
|
+
acceptTimezone?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface ASPL002Request {
|
|
25
|
+
xAppAccountId: string;
|
|
26
|
+
search?: string;
|
|
27
|
+
supplierId?: string;
|
|
28
|
+
currencyCode?: string;
|
|
29
|
+
validOn?: string;
|
|
30
|
+
page?: number;
|
|
31
|
+
size?: number;
|
|
32
|
+
sort?: Array<string>;
|
|
33
|
+
acceptLanguage?: string;
|
|
34
|
+
vergefyVersion?: string;
|
|
35
|
+
acceptTimezone?: string;
|
|
36
|
+
}
|
|
37
|
+
export interface ASPL003Request {
|
|
38
|
+
supplierId: string;
|
|
39
|
+
articleId: string;
|
|
40
|
+
currencyCode: string;
|
|
41
|
+
xAppAccountId: string;
|
|
42
|
+
date?: string;
|
|
43
|
+
quantity?: string;
|
|
44
|
+
acceptLanguage?: string;
|
|
45
|
+
vergefyVersion?: string;
|
|
46
|
+
acceptTimezone?: string;
|
|
47
|
+
}
|
|
48
|
+
export interface ASPL100Request {
|
|
49
|
+
xAppAccountId: string;
|
|
50
|
+
supplierPriceListDTO: SupplierPriceListDTO;
|
|
51
|
+
acceptLanguage?: string;
|
|
52
|
+
vergefyVersion?: string;
|
|
53
|
+
acceptTimezone?: string;
|
|
54
|
+
}
|
|
55
|
+
export interface ASPL101Request {
|
|
56
|
+
id: string;
|
|
57
|
+
xAppAccountId: string;
|
|
58
|
+
supplierPriceListDTO: SupplierPriceListDTO;
|
|
59
|
+
acceptLanguage?: string;
|
|
60
|
+
vergefyVersion?: string;
|
|
61
|
+
acceptTimezone?: string;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
export declare class APIASPLSupplierPriceListApi extends runtime.BaseAPI {
|
|
67
|
+
/**
|
|
68
|
+
* Creates request options for aSPL001 without sending the request
|
|
69
|
+
*/
|
|
70
|
+
aSPL001RequestOpts(requestParameters: ASPL001Request): Promise<runtime.RequestOpts>;
|
|
71
|
+
/**
|
|
72
|
+
* Retrieves a supplier price list with its lines by id
|
|
73
|
+
* ASPL001 - Get Supplier Price List
|
|
74
|
+
*/
|
|
75
|
+
aSPL001Raw(requestParameters: ASPL001Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOSupplierPriceListDTO>>;
|
|
76
|
+
/**
|
|
77
|
+
* Retrieves a supplier price list with its lines by id
|
|
78
|
+
* ASPL001 - Get Supplier Price List
|
|
79
|
+
*/
|
|
80
|
+
aSPL001(requestParameters: ASPL001Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOSupplierPriceListDTO>;
|
|
81
|
+
/**
|
|
82
|
+
* Creates request options for aSPL002 without sending the request
|
|
83
|
+
*/
|
|
84
|
+
aSPL002RequestOpts(requestParameters: ASPL002Request): Promise<runtime.RequestOpts>;
|
|
85
|
+
/**
|
|
86
|
+
* Filtered, paginated search over supplier price lists (supplier, currency, the day they apply on, name)
|
|
87
|
+
* ASPL002 - Search Supplier Price Lists
|
|
88
|
+
*/
|
|
89
|
+
aSPL002Raw(requestParameters: ASPL002Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageSupplierPriceListDTO>>;
|
|
90
|
+
/**
|
|
91
|
+
* Filtered, paginated search over supplier price lists (supplier, currency, the day they apply on, name)
|
|
92
|
+
* ASPL002 - Search Supplier Price Lists
|
|
93
|
+
*/
|
|
94
|
+
aSPL002(requestParameters: ASPL002Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageSupplierPriceListDTO>;
|
|
95
|
+
/**
|
|
96
|
+
* Creates request options for aSPL003 without sending the request
|
|
97
|
+
*/
|
|
98
|
+
aSPL003RequestOpts(requestParameters: ASPL003Request): Promise<runtime.RequestOpts>;
|
|
99
|
+
/**
|
|
100
|
+
* The unit cost and lead time a supplier\'s price lists give an article in a currency, on a date (today when omitted) and at a quantity (one when omitted). Of the lists valid on the date with a line for the article at or below the quantity, the one with the latest validFrom applies, and within it the highest quantity break. This is how a purchase-order line with no unit cost is priced
|
|
101
|
+
* ASPL003 - Get Supplier Price
|
|
102
|
+
*/
|
|
103
|
+
aSPL003Raw(requestParameters: ASPL003Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOSupplierPriceDTO>>;
|
|
104
|
+
/**
|
|
105
|
+
* The unit cost and lead time a supplier\'s price lists give an article in a currency, on a date (today when omitted) and at a quantity (one when omitted). Of the lists valid on the date with a line for the article at or below the quantity, the one with the latest validFrom applies, and within it the highest quantity break. This is how a purchase-order line with no unit cost is priced
|
|
106
|
+
* ASPL003 - Get Supplier Price
|
|
107
|
+
*/
|
|
108
|
+
aSPL003(requestParameters: ASPL003Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOSupplierPriceDTO>;
|
|
109
|
+
/**
|
|
110
|
+
* Creates request options for aSPL100 without sending the request
|
|
111
|
+
*/
|
|
112
|
+
aSPL100RequestOpts(requestParameters: ASPL100Request): Promise<runtime.RequestOpts>;
|
|
113
|
+
/**
|
|
114
|
+
* Creates a price list for one supplier and currency, valid from validFrom to validTo (open-ended when omitted), with one line per article and quantity break
|
|
115
|
+
* ASPL100 - Create Supplier Price List
|
|
116
|
+
*/
|
|
117
|
+
aSPL100Raw(requestParameters: ASPL100Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOSupplierPriceListDTO>>;
|
|
118
|
+
/**
|
|
119
|
+
* Creates a price list for one supplier and currency, valid from validFrom to validTo (open-ended when omitted), with one line per article and quantity break
|
|
120
|
+
* ASPL100 - Create Supplier Price List
|
|
121
|
+
*/
|
|
122
|
+
aSPL100(requestParameters: ASPL100Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOSupplierPriceListDTO>;
|
|
123
|
+
/**
|
|
124
|
+
* Creates request options for aSPL101 without sending the request
|
|
125
|
+
*/
|
|
126
|
+
aSPL101RequestOpts(requestParameters: ASPL101Request): Promise<runtime.RequestOpts>;
|
|
127
|
+
/**
|
|
128
|
+
* Replaces a price list\'s details and lines
|
|
129
|
+
* ASPL101 - Update Supplier Price List
|
|
130
|
+
*/
|
|
131
|
+
aSPL101Raw(requestParameters: ASPL101Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOSupplierPriceListDTO>>;
|
|
132
|
+
/**
|
|
133
|
+
* Replaces a price list\'s details and lines
|
|
134
|
+
* ASPL101 - Update Supplier Price List
|
|
135
|
+
*/
|
|
136
|
+
aSPL101(requestParameters: ASPL101Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOSupplierPriceListDTO>;
|
|
137
|
+
}
|