@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,97 @@
|
|
|
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 { SupplierPriceListLineDTOFromJSON, SupplierPriceListLineDTOToJSON, } from './SupplierPriceListLineDTO';
|
|
15
|
+
import { ElementPermissionBasedEntityEmbeddableDTOFromJSON, ElementPermissionBasedEntityEmbeddableDTOToJSON, } from './ElementPermissionBasedEntityEmbeddableDTO';
|
|
16
|
+
/**
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export const SupplierPriceListDTOEntityStatusEnum = {
|
|
20
|
+
Active: 'ACTIVE',
|
|
21
|
+
Passive: 'PASSIVE',
|
|
22
|
+
Archived: 'ARCHIVED',
|
|
23
|
+
Deleted: 'DELETED',
|
|
24
|
+
Pending: 'PENDING'
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the SupplierPriceListDTO interface.
|
|
28
|
+
*/
|
|
29
|
+
export function instanceOfSupplierPriceListDTO(value) {
|
|
30
|
+
if (!('currencyCode' in value) || value['currencyCode'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('lines' in value) || value['lines'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('supplierId' in value) || value['supplierId'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('validFrom' in value) || value['validFrom'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
export function SupplierPriceListDTOFromJSON(json) {
|
|
41
|
+
return SupplierPriceListDTOFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function SupplierPriceListDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
49
|
+
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
50
|
+
'currencyCode': json['currencyCode'],
|
|
51
|
+
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
52
|
+
'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
|
|
53
|
+
'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
|
|
54
|
+
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
55
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
56
|
+
'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
|
|
57
|
+
'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
|
|
58
|
+
'lines': (json['lines'].map(SupplierPriceListLineDTOFromJSON)),
|
|
59
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
60
|
+
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
61
|
+
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
62
|
+
'permission': json['permission'] == null ? undefined : ElementPermissionBasedEntityEmbeddableDTOFromJSON(json['permission']),
|
|
63
|
+
'supplierId': json['supplierId'],
|
|
64
|
+
'validFrom': json['validFrom'],
|
|
65
|
+
'validTo': json['validTo'] == null ? undefined : json['validTo'],
|
|
66
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
export function SupplierPriceListDTOToJSON(json) {
|
|
70
|
+
return SupplierPriceListDTOToJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
export function SupplierPriceListDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
78
|
+
'createdBy': value['createdBy'],
|
|
79
|
+
'currencyCode': value['currencyCode'],
|
|
80
|
+
'customId': value['customId'],
|
|
81
|
+
'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
|
|
82
|
+
'entityStatus': value['entityStatus'],
|
|
83
|
+
'externalId': value['externalId'],
|
|
84
|
+
'id': value['id'],
|
|
85
|
+
'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
|
|
86
|
+
'lastModifiedBy': value['lastModifiedBy'],
|
|
87
|
+
'lines': (value['lines'].map(SupplierPriceListLineDTOToJSON)),
|
|
88
|
+
'name': value['name'],
|
|
89
|
+
'namespaceKey': value['namespaceKey'],
|
|
90
|
+
'orderNumber': value['orderNumber'],
|
|
91
|
+
'permission': ElementPermissionBasedEntityEmbeddableDTOToJSON(value['permission']),
|
|
92
|
+
'supplierId': value['supplierId'],
|
|
93
|
+
'validFrom': value['validFrom'],
|
|
94
|
+
'validTo': value['validTo'],
|
|
95
|
+
'version': value['version'],
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
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 { ElementPermissionBasedEntityEmbeddableDTOFromJSON, ElementPermissionBasedEntityEmbeddableDTOToJSON, } from './ElementPermissionBasedEntityEmbeddableDTO';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const SupplierPriceListLineDTOEntityStatusEnum = {
|
|
19
|
+
Active: 'ACTIVE',
|
|
20
|
+
Passive: 'PASSIVE',
|
|
21
|
+
Archived: 'ARCHIVED',
|
|
22
|
+
Deleted: 'DELETED',
|
|
23
|
+
Pending: 'PENDING'
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the SupplierPriceListLineDTO interface.
|
|
27
|
+
*/
|
|
28
|
+
export function instanceOfSupplierPriceListLineDTO(value) {
|
|
29
|
+
if (!('articleId' in value) || value['articleId'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('unitCost' in value) || value['unitCost'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
export function SupplierPriceListLineDTOFromJSON(json) {
|
|
36
|
+
return SupplierPriceListLineDTOFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SupplierPriceListLineDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'articleId': json['articleId'],
|
|
44
|
+
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
45
|
+
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
46
|
+
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
47
|
+
'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
|
|
48
|
+
'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
|
|
49
|
+
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
50
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
51
|
+
'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
|
|
52
|
+
'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
|
|
53
|
+
'leadTimeDays': json['leadTimeDays'] == null ? undefined : json['leadTimeDays'],
|
|
54
|
+
'minimumQuantity': json['minimumQuantity'] == null ? undefined : json['minimumQuantity'],
|
|
55
|
+
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
56
|
+
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
57
|
+
'permission': json['permission'] == null ? undefined : ElementPermissionBasedEntityEmbeddableDTOFromJSON(json['permission']),
|
|
58
|
+
'unitCost': json['unitCost'],
|
|
59
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
export function SupplierPriceListLineDTOToJSON(json) {
|
|
63
|
+
return SupplierPriceListLineDTOToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
export function SupplierPriceListLineDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
'articleId': value['articleId'],
|
|
71
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
72
|
+
'createdBy': value['createdBy'],
|
|
73
|
+
'customId': value['customId'],
|
|
74
|
+
'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
|
|
75
|
+
'entityStatus': value['entityStatus'],
|
|
76
|
+
'externalId': value['externalId'],
|
|
77
|
+
'id': value['id'],
|
|
78
|
+
'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
|
|
79
|
+
'lastModifiedBy': value['lastModifiedBy'],
|
|
80
|
+
'leadTimeDays': value['leadTimeDays'],
|
|
81
|
+
'minimumQuantity': value['minimumQuantity'],
|
|
82
|
+
'namespaceKey': value['namespaceKey'],
|
|
83
|
+
'orderNumber': value['orderNumber'],
|
|
84
|
+
'permission': ElementPermissionBasedEntityEmbeddableDTOToJSON(value['permission']),
|
|
85
|
+
'unitCost': value['unitCost'],
|
|
86
|
+
'version': value['version'],
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
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 { ElementPermissionBasedEntityEmbeddableDTOFromJSON, ElementPermissionBasedEntityEmbeddableDTOToJSON, } from './ElementPermissionBasedEntityEmbeddableDTO';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const SupplierPurchaseOrderApprovalRuleDTOEntityStatusEnum = {
|
|
19
|
+
Active: 'ACTIVE',
|
|
20
|
+
Passive: 'PASSIVE',
|
|
21
|
+
Archived: 'ARCHIVED',
|
|
22
|
+
Deleted: 'DELETED',
|
|
23
|
+
Pending: 'PENDING'
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the SupplierPurchaseOrderApprovalRuleDTO interface.
|
|
27
|
+
*/
|
|
28
|
+
export function instanceOfSupplierPurchaseOrderApprovalRuleDTO(value) {
|
|
29
|
+
if (!('currencyCode' in value) || value['currencyCode'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('thresholdAmount' in value) || value['thresholdAmount'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
export function SupplierPurchaseOrderApprovalRuleDTOFromJSON(json) {
|
|
36
|
+
return SupplierPurchaseOrderApprovalRuleDTOFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SupplierPurchaseOrderApprovalRuleDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
44
|
+
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
45
|
+
'currencyCode': json['currencyCode'],
|
|
46
|
+
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
47
|
+
'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
|
|
48
|
+
'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
|
|
49
|
+
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
50
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
51
|
+
'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
|
|
52
|
+
'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
|
|
53
|
+
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
54
|
+
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
55
|
+
'permission': json['permission'] == null ? undefined : ElementPermissionBasedEntityEmbeddableDTOFromJSON(json['permission']),
|
|
56
|
+
'supplierId': json['supplierId'] == null ? undefined : json['supplierId'],
|
|
57
|
+
'thresholdAmount': json['thresholdAmount'],
|
|
58
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
export function SupplierPurchaseOrderApprovalRuleDTOToJSON(json) {
|
|
62
|
+
return SupplierPurchaseOrderApprovalRuleDTOToJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
export function SupplierPurchaseOrderApprovalRuleDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
70
|
+
'createdBy': value['createdBy'],
|
|
71
|
+
'currencyCode': value['currencyCode'],
|
|
72
|
+
'customId': value['customId'],
|
|
73
|
+
'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
|
|
74
|
+
'entityStatus': value['entityStatus'],
|
|
75
|
+
'externalId': value['externalId'],
|
|
76
|
+
'id': value['id'],
|
|
77
|
+
'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
|
|
78
|
+
'lastModifiedBy': value['lastModifiedBy'],
|
|
79
|
+
'namespaceKey': value['namespaceKey'],
|
|
80
|
+
'orderNumber': value['orderNumber'],
|
|
81
|
+
'permission': ElementPermissionBasedEntityEmbeddableDTOToJSON(value['permission']),
|
|
82
|
+
'supplierId': value['supplierId'],
|
|
83
|
+
'thresholdAmount': value['thresholdAmount'],
|
|
84
|
+
'version': value['version'],
|
|
85
|
+
};
|
|
86
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
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 { SupplierPurchaseOrderLineDTOFromJSON, SupplierPurchaseOrderLineDTOToJSON, } from './SupplierPurchaseOrderLineDTO';
|
|
15
|
+
import { ElementPermissionBasedEntityEmbeddableDTOFromJSON, ElementPermissionBasedEntityEmbeddableDTOToJSON, } from './ElementPermissionBasedEntityEmbeddableDTO';
|
|
16
|
+
/**
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export const SupplierPurchaseOrderDTOEntityStatusEnum = {
|
|
20
|
+
Active: 'ACTIVE',
|
|
21
|
+
Passive: 'PASSIVE',
|
|
22
|
+
Archived: 'ARCHIVED',
|
|
23
|
+
Deleted: 'DELETED',
|
|
24
|
+
Pending: 'PENDING'
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
export const SupplierPurchaseOrderDTOStatusEnum = {
|
|
30
|
+
Draft: 'DRAFT',
|
|
31
|
+
Submitted: 'SUBMITTED',
|
|
32
|
+
Approved: 'APPROVED',
|
|
33
|
+
Sent: 'SENT',
|
|
34
|
+
PartiallyReceived: 'PARTIALLY_RECEIVED',
|
|
35
|
+
Received: 'RECEIVED',
|
|
36
|
+
Closed: 'CLOSED',
|
|
37
|
+
Cancelled: 'CANCELLED'
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the SupplierPurchaseOrderDTO interface.
|
|
41
|
+
*/
|
|
42
|
+
export function instanceOfSupplierPurchaseOrderDTO(value) {
|
|
43
|
+
if (!('currencyCode' in value) || value['currencyCode'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('lines' in value) || value['lines'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('supplierId' in value) || value['supplierId'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
export function SupplierPurchaseOrderDTOFromJSON(json) {
|
|
52
|
+
return SupplierPurchaseOrderDTOFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
export function SupplierPurchaseOrderDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
55
|
+
if (json == null) {
|
|
56
|
+
return json;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'approvalRuleId': json['approvalRuleId'] == null ? undefined : json['approvalRuleId'],
|
|
60
|
+
'approvedAt': json['approvedAt'] == null ? undefined : (new Date(json['approvedAt'])),
|
|
61
|
+
'approvedBy': json['approvedBy'] == null ? undefined : json['approvedBy'],
|
|
62
|
+
'cancelledAt': json['cancelledAt'] == null ? undefined : (new Date(json['cancelledAt'])),
|
|
63
|
+
'closedAt': json['closedAt'] == null ? undefined : (new Date(json['closedAt'])),
|
|
64
|
+
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
65
|
+
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
66
|
+
'currencyCode': json['currencyCode'],
|
|
67
|
+
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
68
|
+
'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
|
|
69
|
+
'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
|
|
70
|
+
'expectedDate': json['expectedDate'] == null ? undefined : json['expectedDate'],
|
|
71
|
+
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
72
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
73
|
+
'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
|
|
74
|
+
'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
|
|
75
|
+
'lines': (json['lines'].map(SupplierPurchaseOrderLineDTOFromJSON)),
|
|
76
|
+
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
77
|
+
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
78
|
+
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
79
|
+
'overReceiptTolerancePercent': json['overReceiptTolerancePercent'] == null ? undefined : json['overReceiptTolerancePercent'],
|
|
80
|
+
'permission': json['permission'] == null ? undefined : ElementPermissionBasedEntityEmbeddableDTOFromJSON(json['permission']),
|
|
81
|
+
'poNumber': json['poNumber'] == null ? undefined : json['poNumber'],
|
|
82
|
+
'rejectedAt': json['rejectedAt'] == null ? undefined : (new Date(json['rejectedAt'])),
|
|
83
|
+
'rejectedBy': json['rejectedBy'] == null ? undefined : json['rejectedBy'],
|
|
84
|
+
'rejectionReason': json['rejectionReason'] == null ? undefined : json['rejectionReason'],
|
|
85
|
+
'sentAt': json['sentAt'] == null ? undefined : (new Date(json['sentAt'])),
|
|
86
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
87
|
+
'submittedAt': json['submittedAt'] == null ? undefined : (new Date(json['submittedAt'])),
|
|
88
|
+
'submittedBy': json['submittedBy'] == null ? undefined : json['submittedBy'],
|
|
89
|
+
'subtotal': json['subtotal'] == null ? undefined : json['subtotal'],
|
|
90
|
+
'supplierId': json['supplierId'],
|
|
91
|
+
'taxTotal': json['taxTotal'] == null ? undefined : json['taxTotal'],
|
|
92
|
+
'total': json['total'] == null ? undefined : json['total'],
|
|
93
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
94
|
+
'warehouseId': json['warehouseId'] == null ? undefined : json['warehouseId'],
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
export function SupplierPurchaseOrderDTOToJSON(json) {
|
|
98
|
+
return SupplierPurchaseOrderDTOToJSONTyped(json, false);
|
|
99
|
+
}
|
|
100
|
+
export function SupplierPurchaseOrderDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
101
|
+
if (value == null) {
|
|
102
|
+
return value;
|
|
103
|
+
}
|
|
104
|
+
return {
|
|
105
|
+
'approvalRuleId': value['approvalRuleId'],
|
|
106
|
+
'approvedAt': value['approvedAt'] == null ? value['approvedAt'] : value['approvedAt'].toISOString(),
|
|
107
|
+
'approvedBy': value['approvedBy'],
|
|
108
|
+
'cancelledAt': value['cancelledAt'] == null ? value['cancelledAt'] : value['cancelledAt'].toISOString(),
|
|
109
|
+
'closedAt': value['closedAt'] == null ? value['closedAt'] : value['closedAt'].toISOString(),
|
|
110
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
111
|
+
'createdBy': value['createdBy'],
|
|
112
|
+
'currencyCode': value['currencyCode'],
|
|
113
|
+
'customId': value['customId'],
|
|
114
|
+
'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
|
|
115
|
+
'entityStatus': value['entityStatus'],
|
|
116
|
+
'expectedDate': value['expectedDate'],
|
|
117
|
+
'externalId': value['externalId'],
|
|
118
|
+
'id': value['id'],
|
|
119
|
+
'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
|
|
120
|
+
'lastModifiedBy': value['lastModifiedBy'],
|
|
121
|
+
'lines': (value['lines'].map(SupplierPurchaseOrderLineDTOToJSON)),
|
|
122
|
+
'namespaceKey': value['namespaceKey'],
|
|
123
|
+
'notes': value['notes'],
|
|
124
|
+
'orderNumber': value['orderNumber'],
|
|
125
|
+
'overReceiptTolerancePercent': value['overReceiptTolerancePercent'],
|
|
126
|
+
'permission': ElementPermissionBasedEntityEmbeddableDTOToJSON(value['permission']),
|
|
127
|
+
'poNumber': value['poNumber'],
|
|
128
|
+
'rejectedAt': value['rejectedAt'] == null ? value['rejectedAt'] : value['rejectedAt'].toISOString(),
|
|
129
|
+
'rejectedBy': value['rejectedBy'],
|
|
130
|
+
'rejectionReason': value['rejectionReason'],
|
|
131
|
+
'sentAt': value['sentAt'] == null ? value['sentAt'] : value['sentAt'].toISOString(),
|
|
132
|
+
'status': value['status'],
|
|
133
|
+
'submittedAt': value['submittedAt'] == null ? value['submittedAt'] : value['submittedAt'].toISOString(),
|
|
134
|
+
'submittedBy': value['submittedBy'],
|
|
135
|
+
'subtotal': value['subtotal'],
|
|
136
|
+
'supplierId': value['supplierId'],
|
|
137
|
+
'taxTotal': value['taxTotal'],
|
|
138
|
+
'total': value['total'],
|
|
139
|
+
'version': value['version'],
|
|
140
|
+
'warehouseId': value['warehouseId'],
|
|
141
|
+
};
|
|
142
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
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 { ElementPermissionBasedEntityEmbeddableDTOFromJSON, ElementPermissionBasedEntityEmbeddableDTOToJSON, } from './ElementPermissionBasedEntityEmbeddableDTO';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const SupplierPurchaseOrderLineDTOEntityStatusEnum = {
|
|
19
|
+
Active: 'ACTIVE',
|
|
20
|
+
Passive: 'PASSIVE',
|
|
21
|
+
Archived: 'ARCHIVED',
|
|
22
|
+
Deleted: 'DELETED',
|
|
23
|
+
Pending: 'PENDING'
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the SupplierPurchaseOrderLineDTO interface.
|
|
27
|
+
*/
|
|
28
|
+
export function instanceOfSupplierPurchaseOrderLineDTO(value) {
|
|
29
|
+
if (!('articleId' in value) || value['articleId'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('quantity' in value) || value['quantity'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
export function SupplierPurchaseOrderLineDTOFromJSON(json) {
|
|
36
|
+
return SupplierPurchaseOrderLineDTOFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SupplierPurchaseOrderLineDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'articleId': json['articleId'],
|
|
44
|
+
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
45
|
+
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
46
|
+
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
47
|
+
'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
|
|
48
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
49
|
+
'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
|
|
50
|
+
'expectedDate': json['expectedDate'] == null ? undefined : json['expectedDate'],
|
|
51
|
+
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
52
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
53
|
+
'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
|
|
54
|
+
'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
|
|
55
|
+
'lineTotal': json['lineTotal'] == null ? undefined : json['lineTotal'],
|
|
56
|
+
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
57
|
+
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
58
|
+
'permission': json['permission'] == null ? undefined : ElementPermissionBasedEntityEmbeddableDTOFromJSON(json['permission']),
|
|
59
|
+
'quantity': json['quantity'],
|
|
60
|
+
'receivedQuantity': json['receivedQuantity'] == null ? undefined : json['receivedQuantity'],
|
|
61
|
+
'taxAmount': json['taxAmount'] == null ? undefined : json['taxAmount'],
|
|
62
|
+
'taxRate': json['taxRate'] == null ? undefined : json['taxRate'],
|
|
63
|
+
'unitCost': json['unitCost'] == null ? undefined : json['unitCost'],
|
|
64
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
export function SupplierPurchaseOrderLineDTOToJSON(json) {
|
|
68
|
+
return SupplierPurchaseOrderLineDTOToJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
export function SupplierPurchaseOrderLineDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
71
|
+
if (value == null) {
|
|
72
|
+
return value;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
'articleId': value['articleId'],
|
|
76
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
77
|
+
'createdBy': value['createdBy'],
|
|
78
|
+
'customId': value['customId'],
|
|
79
|
+
'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
|
|
80
|
+
'description': value['description'],
|
|
81
|
+
'entityStatus': value['entityStatus'],
|
|
82
|
+
'expectedDate': value['expectedDate'],
|
|
83
|
+
'externalId': value['externalId'],
|
|
84
|
+
'id': value['id'],
|
|
85
|
+
'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
|
|
86
|
+
'lastModifiedBy': value['lastModifiedBy'],
|
|
87
|
+
'lineTotal': value['lineTotal'],
|
|
88
|
+
'namespaceKey': value['namespaceKey'],
|
|
89
|
+
'orderNumber': value['orderNumber'],
|
|
90
|
+
'permission': ElementPermissionBasedEntityEmbeddableDTOToJSON(value['permission']),
|
|
91
|
+
'quantity': value['quantity'],
|
|
92
|
+
'receivedQuantity': value['receivedQuantity'],
|
|
93
|
+
'taxAmount': value['taxAmount'],
|
|
94
|
+
'taxRate': value['taxRate'],
|
|
95
|
+
'unitCost': value['unitCost'],
|
|
96
|
+
'version': value['version'],
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
/**
|
|
15
|
+
* Check if a given object implements the SupplierPurchaseOrderRejectionDTO interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSupplierPurchaseOrderRejectionDTO(value) {
|
|
18
|
+
if (!('reason' in value) || value['reason'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function SupplierPurchaseOrderRejectionDTOFromJSON(json) {
|
|
23
|
+
return SupplierPurchaseOrderRejectionDTOFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function SupplierPurchaseOrderRejectionDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'reason': json['reason'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function SupplierPurchaseOrderRejectionDTOToJSON(json) {
|
|
34
|
+
return SupplierPurchaseOrderRejectionDTOToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function SupplierPurchaseOrderRejectionDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'reason': value['reason'],
|
|
42
|
+
};
|
|
43
|
+
}
|
package/dist/esm/models/index.js
CHANGED
|
@@ -577,10 +577,12 @@ export * from './DataResponseDTOListProductBundleComponentDTO';
|
|
|
577
577
|
export * from './DataResponseDTOListProductComparisonEventDTO';
|
|
578
578
|
export * from './DataResponseDTOListProductVersionDTO';
|
|
579
579
|
export * from './DataResponseDTOListRecurringJournalDTO';
|
|
580
|
+
export * from './DataResponseDTOListReorderSuggestionDTO';
|
|
580
581
|
export * from './DataResponseDTOListRollbackEvent';
|
|
581
582
|
export * from './DataResponseDTOListShipmentDTO';
|
|
582
583
|
export * from './DataResponseDTOListStockLotDTO';
|
|
583
584
|
export * from './DataResponseDTOListString';
|
|
585
|
+
export * from './DataResponseDTOListSupplierPurchaseOrderDTO';
|
|
584
586
|
export * from './DataResponseDTOListTenantAITokenCostDTO';
|
|
585
587
|
export * from './DataResponseDTOListTenantConfigurationSchemaDTO';
|
|
586
588
|
export * from './DataResponseDTOListTenantCostAllocationDTO';
|
|
@@ -720,6 +722,10 @@ export * from './DataResponseDTOStockLotDTO';
|
|
|
720
722
|
export * from './DataResponseDTOString';
|
|
721
723
|
export * from './DataResponseDTOSubscriptionDTO';
|
|
722
724
|
export * from './DataResponseDTOSupplierDTO';
|
|
725
|
+
export * from './DataResponseDTOSupplierPriceDTO';
|
|
726
|
+
export * from './DataResponseDTOSupplierPriceListDTO';
|
|
727
|
+
export * from './DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO';
|
|
728
|
+
export * from './DataResponseDTOSupplierPurchaseOrderDTO';
|
|
723
729
|
export * from './DataResponseDTOTagDTO';
|
|
724
730
|
export * from './DataResponseDTOTaxCodeDTO';
|
|
725
731
|
export * from './DataResponseDTOTaxJurisdictionDTO';
|
|
@@ -1453,6 +1459,9 @@ export * from './PageStockChangeDTO';
|
|
|
1453
1459
|
export * from './PageStockLotDTO';
|
|
1454
1460
|
export * from './PageString';
|
|
1455
1461
|
export * from './PageSupplierDTO';
|
|
1462
|
+
export * from './PageSupplierPriceListDTO';
|
|
1463
|
+
export * from './PageSupplierPurchaseOrderApprovalRuleDTO';
|
|
1464
|
+
export * from './PageSupplierPurchaseOrderDTO';
|
|
1456
1465
|
export * from './PageTagDTO';
|
|
1457
1466
|
export * from './PageTaskDTO';
|
|
1458
1467
|
export * from './PageTaxCodeDTO';
|
|
@@ -1661,6 +1670,9 @@ export * from './RefundRequestDTO';
|
|
|
1661
1670
|
export * from './RefundResultDTO';
|
|
1662
1671
|
export * from './RefundSearchDTO';
|
|
1663
1672
|
export * from './RenamePasskeyRequestDTO';
|
|
1673
|
+
export * from './ReorderSuggestionDTO';
|
|
1674
|
+
export * from './ReorderSuggestionDraftDTO';
|
|
1675
|
+
export * from './ReorderSuggestionSelectionDTO';
|
|
1664
1676
|
export * from './RequiredServicesMissingDetailDTO';
|
|
1665
1677
|
export * from './RequiredServicesMissingErrorDTO';
|
|
1666
1678
|
export * from './RequirementAssignmentDTO';
|
|
@@ -1792,6 +1804,13 @@ export * from './SubscriptionScheduleSettingsDefaultDTO';
|
|
|
1792
1804
|
export * from './SuccessResponseDTOMailTemplateDTO';
|
|
1793
1805
|
export * from './SuccessResponseDTOMapStringObject';
|
|
1794
1806
|
export * from './SupplierDTO';
|
|
1807
|
+
export * from './SupplierPriceDTO';
|
|
1808
|
+
export * from './SupplierPriceListDTO';
|
|
1809
|
+
export * from './SupplierPriceListLineDTO';
|
|
1810
|
+
export * from './SupplierPurchaseOrderApprovalRuleDTO';
|
|
1811
|
+
export * from './SupplierPurchaseOrderDTO';
|
|
1812
|
+
export * from './SupplierPurchaseOrderLineDTO';
|
|
1813
|
+
export * from './SupplierPurchaseOrderRejectionDTO';
|
|
1795
1814
|
export * from './TagAssignmentRequest';
|
|
1796
1815
|
export * from './TagColorHexCodesEmbeddableDTO';
|
|
1797
1816
|
export * from './TagCreateApiDTO';
|