@integrahub/vergefy-client 0.22.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/APIAISIntegrationShippingApi.d.ts +8 -8
- package/dist/apis/APIAISIntegrationShippingApi.js +10 -10
- package/dist/apis/APIAIVInventoryApi.d.ts +8 -8
- package/dist/apis/APIAIVInventoryApi.js +10 -10
- 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/APPPAFAAffiliateAccountApi.d.ts +0 -22
- package/dist/apis/APPPAFAAffiliateAccountApi.js +0 -66
- 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/APPPPMRPMSStockRFIDApi.d.ts +16 -16
- package/dist/apis/APPPPMRPMSStockRFIDApi.js +9 -9
- 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/APIAISIntegrationShippingApi.js +10 -10
- package/dist/esm/apis/APIAIVInventoryApi.js +10 -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/APPPAFAAffiliateAccountApi.js +0 -66
- package/dist/esm/apis/APPPHRAWHRApprovalWorkflowApi.js +3 -0
- package/dist/esm/apis/APPPMTMailTrustApi.js +0 -3
- package/dist/esm/apis/APPPPMRPMSStockRFIDApi.js +9 -9
- package/dist/esm/apis/index.js +4 -0
- package/dist/esm/ext/telemetry.js +1 -1
- package/dist/esm/models/AddressValidationResultDTO.js +3 -3
- package/dist/esm/models/AffiliateAccountDTO.js +0 -2
- package/dist/esm/models/AgentTemplateWorkflowDTO.js +3 -3
- package/dist/esm/models/AgentWorkflowDTO.js +6 -6
- package/dist/esm/models/AgentWorkflowInstanceDTO.js +68 -0
- package/dist/esm/models/AgentWorkflowTemplateDTO.js +74 -0
- package/dist/esm/models/AssociationDTO.js +4 -2
- package/dist/esm/models/DataResponseDTOInventoryArticleChannelStockDTO.js +42 -0
- 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/{DataResponseDTOArticleChannelStockDTO.js → DataResponseDTOSupplierPriceListDTO.js} +11 -11
- package/dist/esm/models/DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOSupplierPurchaseOrderDTO.js +42 -0
- package/dist/esm/models/DocumentDTO.js +3 -0
- package/dist/esm/models/EmailIntegrationAttachmentDTO.js +51 -0
- package/dist/esm/models/EmailMessageDTO.js +3 -3
- package/dist/esm/models/EmailSendRequestDTO.js +3 -3
- package/dist/esm/models/GoodsReceiptLineDTO.js +2 -0
- package/dist/esm/models/HrResumeLanguageDTO.js +43 -0
- package/dist/esm/models/HrResumeParseDTO.js +3 -3
- package/dist/esm/models/InventoryArticleChannelStockDTO.js +94 -0
- package/dist/esm/models/LanguageDTO.js +53 -4
- 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/{BulkOperationResultPmsRFIDTagDTO.js → PmsRFIDTagBulkOperationResultPmsRFIDTagDTO.js} +8 -8
- package/dist/esm/models/PmsRFIDTagBulkOperationResultUUID.js +51 -0
- package/dist/esm/models/RateRequestDTO.js +5 -5
- 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/ReturnLabelRequestDTO.js +5 -5
- package/dist/esm/models/ShipmentDTO.js +63 -24
- package/dist/esm/models/ShipmentRequestDTO.js +7 -7
- package/dist/esm/models/ShipmentResultDTO.js +3 -3
- package/dist/esm/models/ShippingIntegrationAddressDTO.js +61 -0
- package/dist/esm/models/ShippingIntegrationShipmentDTO.js +70 -0
- package/dist/esm/models/SubscriptionEntitlementDTO.js +3 -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 +29 -2
- package/dist/ext/telemetry.d.ts +1 -1
- package/dist/ext/telemetry.js +1 -1
- package/dist/models/AIDecisionAuditLogCreateDTO.d.ts +1 -1
- package/dist/models/AIFileProcessingJobCreateApiDTO.d.ts +1 -1
- package/dist/models/AIFileProcessingResultWriteApiDTO.d.ts +1 -1
- package/dist/models/AddressValidationResultDTO.d.ts +3 -3
- package/dist/models/AddressValidationResultDTO.js +3 -3
- package/dist/models/AffiliateAccountDTO.d.ts +0 -6
- package/dist/models/AffiliateAccountDTO.js +0 -2
- package/dist/models/AgentFeedbackRequestDTO.d.ts +1 -1
- package/dist/models/AgentGoalCreateDTO.d.ts +1 -1
- package/dist/models/AgentGoalUpdateDTO.d.ts +1 -1
- package/dist/models/AgentHierarchyCreateDTO.d.ts +1 -1
- package/dist/models/AgentHierarchyUpdateDTO.d.ts +1 -1
- package/dist/models/AgentTemplateWorkflowDTO.d.ts +3 -3
- package/dist/models/AgentTemplateWorkflowDTO.js +3 -3
- package/dist/models/AgentWorkflowDTO.d.ts +6 -6
- package/dist/models/AgentWorkflowDTO.js +6 -6
- package/dist/models/AgentWorkflowEventCreateDTO.d.ts +1 -1
- package/dist/models/AgentWorkflowInstanceDTO.d.ts +111 -0
- package/dist/models/AgentWorkflowInstanceDTO.js +75 -0
- package/dist/models/AgentWorkflowSearchDTO.d.ts +1 -1
- package/dist/models/AgentWorkflowTemplateDTO.d.ts +129 -0
- package/dist/models/AgentWorkflowTemplateDTO.js +81 -0
- package/dist/models/AssociationDTO.d.ts +2 -0
- package/dist/models/AssociationDTO.js +4 -2
- package/dist/models/BookingAvailabilityWindowDTO.d.ts +1 -1
- package/dist/models/BookingCreateDTO.d.ts +1 -1
- package/dist/models/BookingHostCreateDTO.d.ts +1 -1
- package/dist/models/BookingHostUpdateDTO.d.ts +1 -1
- package/dist/models/BookingReminderCreateDTO.d.ts +1 -1
- package/dist/models/BookingUpdateDTO.d.ts +1 -1
- package/dist/models/CheckoutSessionRequestDTO.d.ts +1 -1
- package/dist/models/ClosedLoopProposalDecisionRequestDTO.d.ts +1 -1
- package/dist/models/DataResponseDTOInventoryArticleChannelStockDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOInventoryArticleChannelStockDTO.js +49 -0
- 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/{DataResponseDTOArticleChannelStockDTO.d.ts → DataResponseDTOSupplierPriceDTO.d.ts} +12 -12
- package/dist/models/DataResponseDTOSupplierPriceDTO.js +49 -0
- package/dist/models/DataResponseDTOSupplierPriceListDTO.d.ts +33 -0
- package/dist/models/{DataResponseDTOArticleChannelStockDTO.js → DataResponseDTOSupplierPriceListDTO.js} +16 -16
- 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/DocumentDTO.d.ts +7 -0
- package/dist/models/DocumentDTO.js +3 -0
- package/dist/models/EmailIntegrationAttachmentDTO.d.ts +62 -0
- package/dist/models/EmailIntegrationAttachmentDTO.js +58 -0
- package/dist/models/EmailListRequestDTO.d.ts +1 -1
- package/dist/models/EmailMessageDTO.d.ts +3 -3
- package/dist/models/EmailMessageDTO.js +3 -3
- package/dist/models/EmailSendRequestDTO.d.ts +4 -4
- package/dist/models/EmailSendRequestDTO.js +3 -3
- package/dist/models/FileOCRTextDTO.d.ts +1 -1
- package/dist/models/FleetAlertRuleCreateDTO.d.ts +1 -1
- package/dist/models/FleetAlertRuleUpdateDTO.d.ts +1 -1
- package/dist/models/FleetDeviceCommandCreateDTO.d.ts +1 -1
- package/dist/models/FleetDeviceCreateDTO.d.ts +1 -1
- package/dist/models/FleetDeviceGroupCreateDTO.d.ts +1 -1
- package/dist/models/FleetDeviceGroupUpdateDTO.d.ts +1 -1
- package/dist/models/FleetDeviceTemplateCreateDTO.d.ts +1 -1
- package/dist/models/FleetDeviceTemplateUpdateDTO.d.ts +1 -1
- package/dist/models/FleetDeviceUpdateDTO.d.ts +1 -1
- package/dist/models/FleetGeofenceCreateDTO.d.ts +1 -1
- package/dist/models/FleetGeofenceUpdateDTO.d.ts +1 -1
- package/dist/models/FleetMaintenanceRecordCreateDTO.d.ts +1 -1
- package/dist/models/FleetMaintenanceRecordUpdateDTO.d.ts +1 -1
- package/dist/models/FleetTelemetryCreateDTO.d.ts +1 -1
- package/dist/models/FormConfigurationDTO.d.ts +1 -1
- package/dist/models/FormCustomFieldGroupCreateDTO.d.ts +1 -1
- package/dist/models/FormCustomFieldGroupUpdateDTO.d.ts +1 -1
- package/dist/models/GoodsReceiptLineDTO.d.ts +7 -1
- package/dist/models/GoodsReceiptLineDTO.js +2 -0
- package/dist/models/HrApprovalDecisionDTO.d.ts +1 -1
- package/dist/models/HrApprovalWorkflowCreateDTO.d.ts +1 -1
- package/dist/models/HrCertificationCreateDTO.d.ts +1 -1
- package/dist/models/HrCertificationUpdateDTO.d.ts +1 -1
- package/dist/models/HrEmployeeCreateApiDTO.d.ts +1 -1
- package/dist/models/HrEmployeeSearchDTO.d.ts +1 -1
- package/dist/models/HrEmployeeUpdateApiDTO.d.ts +1 -1
- package/dist/models/HrResumeLanguageDTO.d.ts +38 -0
- package/dist/models/HrResumeLanguageDTO.js +50 -0
- package/dist/models/HrResumeParseDTO.d.ts +3 -3
- package/dist/models/HrResumeParseDTO.js +3 -3
- package/dist/models/HrResumeParseRequestDTO.d.ts +1 -1
- package/dist/models/HrTrainingEnrollmentCreateDTO.d.ts +1 -1
- package/dist/models/HrTrainingProgramCreateDTO.d.ts +1 -1
- package/dist/models/HrTrainingProgramUpdateDTO.d.ts +1 -1
- package/dist/models/IntegrationConfigurationCreateDTO.d.ts +1 -1
- package/dist/models/IntegrationConfigurationUpdateDTO.d.ts +1 -1
- package/dist/models/InventoryArticleChannelStockDTO.d.ts +151 -0
- package/dist/models/InventoryArticleChannelStockDTO.js +102 -0
- package/dist/models/LanguageDTO.d.ts +117 -2
- package/dist/models/LanguageDTO.js +54 -4
- package/dist/models/LeadSource.d.ts +1 -1
- package/dist/models/ManufacturingProcessProfileCreateDTO.d.ts +1 -1
- package/dist/models/ManufacturingProcessProfileUpdateDTO.d.ts +1 -1
- package/dist/models/ManufacturingWorkOrderCreateDTO.d.ts +1 -1
- package/dist/models/ManufacturingWorkOrderMaterialCreateDTO.d.ts +1 -1
- package/dist/models/ManufacturingWorkOrderMaterialUpdateDTO.d.ts +1 -1
- package/dist/models/ManufacturingWorkOrderUpdateDTO.d.ts +1 -1
- 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/PaymentCustomerRequestDTO.d.ts +1 -1
- package/dist/models/PaymentIntentRequestDTO.d.ts +1 -1
- package/dist/models/PermissionDTO.d.ts +1 -1
- package/dist/models/PlatformBillingDTO.d.ts +1 -1
- package/dist/models/PlatformServiceDTO.d.ts +1 -1
- package/dist/models/PlatformSubscriptionCancellationDTO.d.ts +1 -1
- package/dist/models/{BulkOperationResultPmsRFIDTagDTO.d.ts → PmsRFIDTagBulkOperationResultPmsRFIDTagDTO.d.ts} +14 -14
- package/dist/models/{BulkOperationResultPmsRFIDTagDTO.js → PmsRFIDTagBulkOperationResultPmsRFIDTagDTO.js} +13 -13
- package/dist/models/PmsRFIDTagBulkOperationResultUUID.d.ts +62 -0
- package/dist/models/PmsRFIDTagBulkOperationResultUUID.js +58 -0
- package/dist/models/RateRequestDTO.d.ts +5 -5
- package/dist/models/RateRequestDTO.js +5 -5
- package/dist/models/RefundRequestDTO.d.ts +1 -1
- 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/ReturnLabelRequestDTO.d.ts +5 -5
- package/dist/models/ReturnLabelRequestDTO.js +5 -5
- package/dist/models/ShipmentDTO.d.ts +97 -20
- package/dist/models/ShipmentDTO.js +64 -24
- package/dist/models/ShipmentRequestDTO.d.ts +7 -7
- package/dist/models/ShipmentRequestDTO.js +7 -7
- package/dist/models/ShipmentResultDTO.d.ts +3 -3
- package/dist/models/ShipmentResultDTO.js +3 -3
- package/dist/models/ShippingIntegrationAddressDTO.d.ts +92 -0
- package/dist/models/ShippingIntegrationAddressDTO.js +68 -0
- package/dist/models/ShippingIntegrationShipmentDTO.d.ts +113 -0
- package/dist/models/ShippingIntegrationShipmentDTO.js +77 -0
- package/dist/models/ShopifyEntitySyncStatusDTO.d.ts +1 -1
- package/dist/models/SignInRequestDTO.d.ts +1 -1
- package/dist/models/SignUpPlatformRequestDTO.d.ts +1 -1
- package/dist/models/SmsSendRequestDTO.d.ts +1 -1
- package/dist/models/SubscriptionEntitlementDTO.d.ts +7 -0
- package/dist/models/SubscriptionEntitlementDTO.js +3 -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/TemplatedEmailRequestDTO.d.ts +1 -1
- package/dist/models/TenantDTO.d.ts +1 -1
- package/dist/models/WorkflowExecutionRequestDTO.d.ts +1 -1
- package/dist/models/index.d.ts +29 -2
- package/dist/models/index.js +29 -2
- package/package.json +1 -1
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vergefy API
|
|
3
|
+
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2026-05-30
|
|
6
|
+
* Contact: support@integrahub.co
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SupplierPurchaseOrderLineDTO } from './SupplierPurchaseOrderLineDTO';
|
|
13
|
+
import type { ElementPermissionBasedEntityEmbeddableDTO } from './ElementPermissionBasedEntityEmbeddableDTO';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SupplierPurchaseOrderDTO
|
|
18
|
+
*/
|
|
19
|
+
export interface SupplierPurchaseOrderDTO {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
24
|
+
*/
|
|
25
|
+
approvalRuleId?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Date}
|
|
29
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
30
|
+
*/
|
|
31
|
+
approvedAt?: Date;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
36
|
+
*/
|
|
37
|
+
approvedBy?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {Date}
|
|
41
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
42
|
+
*/
|
|
43
|
+
cancelledAt?: Date;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Date}
|
|
47
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
48
|
+
*/
|
|
49
|
+
closedAt?: Date;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Date}
|
|
53
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
54
|
+
*/
|
|
55
|
+
createdAt?: Date;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
60
|
+
*/
|
|
61
|
+
createdBy?: string;
|
|
62
|
+
/**
|
|
63
|
+
* ISO 4217 currency code, for example EUR
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
66
|
+
*/
|
|
67
|
+
currencyCode: string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
72
|
+
*/
|
|
73
|
+
customId?: string;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {Date}
|
|
77
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
78
|
+
*/
|
|
79
|
+
deletedAt?: Date;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {SupplierPurchaseOrderDTOEntityStatusEnum}
|
|
83
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
84
|
+
*/
|
|
85
|
+
entityStatus?: SupplierPurchaseOrderDTOEntityStatusEnum;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
90
|
+
*/
|
|
91
|
+
expectedDate?: string;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
96
|
+
*/
|
|
97
|
+
externalId?: string;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
102
|
+
*/
|
|
103
|
+
id?: string;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {Date}
|
|
107
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
108
|
+
*/
|
|
109
|
+
lastModifiedAt?: Date;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
114
|
+
*/
|
|
115
|
+
lastModifiedBy?: string;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {Array<SupplierPurchaseOrderLineDTO>}
|
|
119
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
120
|
+
*/
|
|
121
|
+
lines: Array<SupplierPurchaseOrderLineDTO>;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {string}
|
|
125
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
126
|
+
*/
|
|
127
|
+
namespaceKey?: string;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
132
|
+
*/
|
|
133
|
+
notes?: string;
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {number}
|
|
137
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
138
|
+
*/
|
|
139
|
+
orderNumber?: number;
|
|
140
|
+
/**
|
|
141
|
+
* How far a line may be received beyond what was ordered, in percent (0 to 100). Zero when omitted
|
|
142
|
+
* @type {string}
|
|
143
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
144
|
+
*/
|
|
145
|
+
overReceiptTolerancePercent?: string;
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* @type {ElementPermissionBasedEntityEmbeddableDTO}
|
|
149
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
150
|
+
*/
|
|
151
|
+
permission?: ElementPermissionBasedEntityEmbeddableDTO;
|
|
152
|
+
/**
|
|
153
|
+
*
|
|
154
|
+
* @type {string}
|
|
155
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
156
|
+
*/
|
|
157
|
+
poNumber?: string;
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* @type {Date}
|
|
161
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
162
|
+
*/
|
|
163
|
+
rejectedAt?: Date;
|
|
164
|
+
/**
|
|
165
|
+
*
|
|
166
|
+
* @type {string}
|
|
167
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
168
|
+
*/
|
|
169
|
+
rejectedBy?: string;
|
|
170
|
+
/**
|
|
171
|
+
*
|
|
172
|
+
* @type {string}
|
|
173
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
174
|
+
*/
|
|
175
|
+
rejectionReason?: string;
|
|
176
|
+
/**
|
|
177
|
+
*
|
|
178
|
+
* @type {Date}
|
|
179
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
180
|
+
*/
|
|
181
|
+
sentAt?: Date;
|
|
182
|
+
/**
|
|
183
|
+
*
|
|
184
|
+
* @type {SupplierPurchaseOrderDTOStatusEnum}
|
|
185
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
186
|
+
*/
|
|
187
|
+
status?: SupplierPurchaseOrderDTOStatusEnum;
|
|
188
|
+
/**
|
|
189
|
+
*
|
|
190
|
+
* @type {Date}
|
|
191
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
192
|
+
*/
|
|
193
|
+
submittedAt?: Date;
|
|
194
|
+
/**
|
|
195
|
+
*
|
|
196
|
+
* @type {string}
|
|
197
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
198
|
+
*/
|
|
199
|
+
submittedBy?: string;
|
|
200
|
+
/**
|
|
201
|
+
*
|
|
202
|
+
* @type {string}
|
|
203
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
204
|
+
*/
|
|
205
|
+
subtotal?: string;
|
|
206
|
+
/**
|
|
207
|
+
*
|
|
208
|
+
* @type {string}
|
|
209
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
210
|
+
*/
|
|
211
|
+
supplierId: string;
|
|
212
|
+
/**
|
|
213
|
+
*
|
|
214
|
+
* @type {string}
|
|
215
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
216
|
+
*/
|
|
217
|
+
taxTotal?: string;
|
|
218
|
+
/**
|
|
219
|
+
*
|
|
220
|
+
* @type {string}
|
|
221
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
222
|
+
*/
|
|
223
|
+
total?: string;
|
|
224
|
+
/**
|
|
225
|
+
*
|
|
226
|
+
* @type {number}
|
|
227
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
228
|
+
*/
|
|
229
|
+
version?: number;
|
|
230
|
+
/**
|
|
231
|
+
*
|
|
232
|
+
* @type {string}
|
|
233
|
+
* @memberof SupplierPurchaseOrderDTO
|
|
234
|
+
*/
|
|
235
|
+
warehouseId?: string;
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* @export
|
|
239
|
+
*/
|
|
240
|
+
export declare const SupplierPurchaseOrderDTOEntityStatusEnum: {
|
|
241
|
+
readonly Active: "ACTIVE";
|
|
242
|
+
readonly Passive: "PASSIVE";
|
|
243
|
+
readonly Archived: "ARCHIVED";
|
|
244
|
+
readonly Deleted: "DELETED";
|
|
245
|
+
readonly Pending: "PENDING";
|
|
246
|
+
};
|
|
247
|
+
export type SupplierPurchaseOrderDTOEntityStatusEnum = typeof SupplierPurchaseOrderDTOEntityStatusEnum[keyof typeof SupplierPurchaseOrderDTOEntityStatusEnum];
|
|
248
|
+
/**
|
|
249
|
+
* @export
|
|
250
|
+
*/
|
|
251
|
+
export declare const SupplierPurchaseOrderDTOStatusEnum: {
|
|
252
|
+
readonly Draft: "DRAFT";
|
|
253
|
+
readonly Submitted: "SUBMITTED";
|
|
254
|
+
readonly Approved: "APPROVED";
|
|
255
|
+
readonly Sent: "SENT";
|
|
256
|
+
readonly PartiallyReceived: "PARTIALLY_RECEIVED";
|
|
257
|
+
readonly Received: "RECEIVED";
|
|
258
|
+
readonly Closed: "CLOSED";
|
|
259
|
+
readonly Cancelled: "CANCELLED";
|
|
260
|
+
};
|
|
261
|
+
export type SupplierPurchaseOrderDTOStatusEnum = typeof SupplierPurchaseOrderDTOStatusEnum[keyof typeof SupplierPurchaseOrderDTOStatusEnum];
|
|
262
|
+
/**
|
|
263
|
+
* Check if a given object implements the SupplierPurchaseOrderDTO interface.
|
|
264
|
+
*/
|
|
265
|
+
export declare function instanceOfSupplierPurchaseOrderDTO(value: object): value is SupplierPurchaseOrderDTO;
|
|
266
|
+
export declare function SupplierPurchaseOrderDTOFromJSON(json: any): SupplierPurchaseOrderDTO;
|
|
267
|
+
export declare function SupplierPurchaseOrderDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupplierPurchaseOrderDTO;
|
|
268
|
+
export declare function SupplierPurchaseOrderDTOToJSON(json: any): SupplierPurchaseOrderDTO;
|
|
269
|
+
export declare function SupplierPurchaseOrderDTOToJSONTyped(value?: SupplierPurchaseOrderDTO | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Vergefy API
|
|
6
|
+
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2026-05-30
|
|
9
|
+
* Contact: support@integrahub.co
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SupplierPurchaseOrderDTOStatusEnum = exports.SupplierPurchaseOrderDTOEntityStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfSupplierPurchaseOrderDTO = instanceOfSupplierPurchaseOrderDTO;
|
|
18
|
+
exports.SupplierPurchaseOrderDTOFromJSON = SupplierPurchaseOrderDTOFromJSON;
|
|
19
|
+
exports.SupplierPurchaseOrderDTOFromJSONTyped = SupplierPurchaseOrderDTOFromJSONTyped;
|
|
20
|
+
exports.SupplierPurchaseOrderDTOToJSON = SupplierPurchaseOrderDTOToJSON;
|
|
21
|
+
exports.SupplierPurchaseOrderDTOToJSONTyped = SupplierPurchaseOrderDTOToJSONTyped;
|
|
22
|
+
const SupplierPurchaseOrderLineDTO_1 = require("./SupplierPurchaseOrderLineDTO");
|
|
23
|
+
const ElementPermissionBasedEntityEmbeddableDTO_1 = require("./ElementPermissionBasedEntityEmbeddableDTO");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.SupplierPurchaseOrderDTOEntityStatusEnum = {
|
|
28
|
+
Active: 'ACTIVE',
|
|
29
|
+
Passive: 'PASSIVE',
|
|
30
|
+
Archived: 'ARCHIVED',
|
|
31
|
+
Deleted: 'DELETED',
|
|
32
|
+
Pending: 'PENDING'
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @export
|
|
36
|
+
*/
|
|
37
|
+
exports.SupplierPurchaseOrderDTOStatusEnum = {
|
|
38
|
+
Draft: 'DRAFT',
|
|
39
|
+
Submitted: 'SUBMITTED',
|
|
40
|
+
Approved: 'APPROVED',
|
|
41
|
+
Sent: 'SENT',
|
|
42
|
+
PartiallyReceived: 'PARTIALLY_RECEIVED',
|
|
43
|
+
Received: 'RECEIVED',
|
|
44
|
+
Closed: 'CLOSED',
|
|
45
|
+
Cancelled: 'CANCELLED'
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Check if a given object implements the SupplierPurchaseOrderDTO interface.
|
|
49
|
+
*/
|
|
50
|
+
function instanceOfSupplierPurchaseOrderDTO(value) {
|
|
51
|
+
if (!('currencyCode' in value) || value['currencyCode'] === undefined)
|
|
52
|
+
return false;
|
|
53
|
+
if (!('lines' in value) || value['lines'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
if (!('supplierId' in value) || value['supplierId'] === undefined)
|
|
56
|
+
return false;
|
|
57
|
+
return true;
|
|
58
|
+
}
|
|
59
|
+
function SupplierPurchaseOrderDTOFromJSON(json) {
|
|
60
|
+
return SupplierPurchaseOrderDTOFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function SupplierPurchaseOrderDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
63
|
+
if (json == null) {
|
|
64
|
+
return json;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'approvalRuleId': json['approvalRuleId'] == null ? undefined : json['approvalRuleId'],
|
|
68
|
+
'approvedAt': json['approvedAt'] == null ? undefined : (new Date(json['approvedAt'])),
|
|
69
|
+
'approvedBy': json['approvedBy'] == null ? undefined : json['approvedBy'],
|
|
70
|
+
'cancelledAt': json['cancelledAt'] == null ? undefined : (new Date(json['cancelledAt'])),
|
|
71
|
+
'closedAt': json['closedAt'] == null ? undefined : (new Date(json['closedAt'])),
|
|
72
|
+
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
73
|
+
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
74
|
+
'currencyCode': json['currencyCode'],
|
|
75
|
+
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
76
|
+
'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
|
|
77
|
+
'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
|
|
78
|
+
'expectedDate': json['expectedDate'] == null ? undefined : json['expectedDate'],
|
|
79
|
+
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
80
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
81
|
+
'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
|
|
82
|
+
'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
|
|
83
|
+
'lines': (json['lines'].map(SupplierPurchaseOrderLineDTO_1.SupplierPurchaseOrderLineDTOFromJSON)),
|
|
84
|
+
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
85
|
+
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
86
|
+
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
87
|
+
'overReceiptTolerancePercent': json['overReceiptTolerancePercent'] == null ? undefined : json['overReceiptTolerancePercent'],
|
|
88
|
+
'permission': json['permission'] == null ? undefined : (0, ElementPermissionBasedEntityEmbeddableDTO_1.ElementPermissionBasedEntityEmbeddableDTOFromJSON)(json['permission']),
|
|
89
|
+
'poNumber': json['poNumber'] == null ? undefined : json['poNumber'],
|
|
90
|
+
'rejectedAt': json['rejectedAt'] == null ? undefined : (new Date(json['rejectedAt'])),
|
|
91
|
+
'rejectedBy': json['rejectedBy'] == null ? undefined : json['rejectedBy'],
|
|
92
|
+
'rejectionReason': json['rejectionReason'] == null ? undefined : json['rejectionReason'],
|
|
93
|
+
'sentAt': json['sentAt'] == null ? undefined : (new Date(json['sentAt'])),
|
|
94
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
95
|
+
'submittedAt': json['submittedAt'] == null ? undefined : (new Date(json['submittedAt'])),
|
|
96
|
+
'submittedBy': json['submittedBy'] == null ? undefined : json['submittedBy'],
|
|
97
|
+
'subtotal': json['subtotal'] == null ? undefined : json['subtotal'],
|
|
98
|
+
'supplierId': json['supplierId'],
|
|
99
|
+
'taxTotal': json['taxTotal'] == null ? undefined : json['taxTotal'],
|
|
100
|
+
'total': json['total'] == null ? undefined : json['total'],
|
|
101
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
102
|
+
'warehouseId': json['warehouseId'] == null ? undefined : json['warehouseId'],
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
function SupplierPurchaseOrderDTOToJSON(json) {
|
|
106
|
+
return SupplierPurchaseOrderDTOToJSONTyped(json, false);
|
|
107
|
+
}
|
|
108
|
+
function SupplierPurchaseOrderDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
109
|
+
if (value == null) {
|
|
110
|
+
return value;
|
|
111
|
+
}
|
|
112
|
+
return {
|
|
113
|
+
'approvalRuleId': value['approvalRuleId'],
|
|
114
|
+
'approvedAt': value['approvedAt'] == null ? value['approvedAt'] : value['approvedAt'].toISOString(),
|
|
115
|
+
'approvedBy': value['approvedBy'],
|
|
116
|
+
'cancelledAt': value['cancelledAt'] == null ? value['cancelledAt'] : value['cancelledAt'].toISOString(),
|
|
117
|
+
'closedAt': value['closedAt'] == null ? value['closedAt'] : value['closedAt'].toISOString(),
|
|
118
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
119
|
+
'createdBy': value['createdBy'],
|
|
120
|
+
'currencyCode': value['currencyCode'],
|
|
121
|
+
'customId': value['customId'],
|
|
122
|
+
'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
|
|
123
|
+
'entityStatus': value['entityStatus'],
|
|
124
|
+
'expectedDate': value['expectedDate'],
|
|
125
|
+
'externalId': value['externalId'],
|
|
126
|
+
'id': value['id'],
|
|
127
|
+
'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
|
|
128
|
+
'lastModifiedBy': value['lastModifiedBy'],
|
|
129
|
+
'lines': (value['lines'].map(SupplierPurchaseOrderLineDTO_1.SupplierPurchaseOrderLineDTOToJSON)),
|
|
130
|
+
'namespaceKey': value['namespaceKey'],
|
|
131
|
+
'notes': value['notes'],
|
|
132
|
+
'orderNumber': value['orderNumber'],
|
|
133
|
+
'overReceiptTolerancePercent': value['overReceiptTolerancePercent'],
|
|
134
|
+
'permission': (0, ElementPermissionBasedEntityEmbeddableDTO_1.ElementPermissionBasedEntityEmbeddableDTOToJSON)(value['permission']),
|
|
135
|
+
'poNumber': value['poNumber'],
|
|
136
|
+
'rejectedAt': value['rejectedAt'] == null ? value['rejectedAt'] : value['rejectedAt'].toISOString(),
|
|
137
|
+
'rejectedBy': value['rejectedBy'],
|
|
138
|
+
'rejectionReason': value['rejectionReason'],
|
|
139
|
+
'sentAt': value['sentAt'] == null ? value['sentAt'] : value['sentAt'].toISOString(),
|
|
140
|
+
'status': value['status'],
|
|
141
|
+
'submittedAt': value['submittedAt'] == null ? value['submittedAt'] : value['submittedAt'].toISOString(),
|
|
142
|
+
'submittedBy': value['submittedBy'],
|
|
143
|
+
'subtotal': value['subtotal'],
|
|
144
|
+
'supplierId': value['supplierId'],
|
|
145
|
+
'taxTotal': value['taxTotal'],
|
|
146
|
+
'total': value['total'],
|
|
147
|
+
'version': value['version'],
|
|
148
|
+
'warehouseId': value['warehouseId'],
|
|
149
|
+
};
|
|
150
|
+
}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vergefy API
|
|
3
|
+
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2026-05-30
|
|
6
|
+
* Contact: support@integrahub.co
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ElementPermissionBasedEntityEmbeddableDTO } from './ElementPermissionBasedEntityEmbeddableDTO';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SupplierPurchaseOrderLineDTO
|
|
17
|
+
*/
|
|
18
|
+
export interface SupplierPurchaseOrderLineDTO {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SupplierPurchaseOrderLineDTO
|
|
23
|
+
*/
|
|
24
|
+
articleId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Date}
|
|
28
|
+
* @memberof SupplierPurchaseOrderLineDTO
|
|
29
|
+
*/
|
|
30
|
+
createdAt?: Date;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SupplierPurchaseOrderLineDTO
|
|
35
|
+
*/
|
|
36
|
+
createdBy?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SupplierPurchaseOrderLineDTO
|
|
41
|
+
*/
|
|
42
|
+
customId?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Date}
|
|
46
|
+
* @memberof SupplierPurchaseOrderLineDTO
|
|
47
|
+
*/
|
|
48
|
+
deletedAt?: Date;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof SupplierPurchaseOrderLineDTO
|
|
53
|
+
*/
|
|
54
|
+
description?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {SupplierPurchaseOrderLineDTOEntityStatusEnum}
|
|
58
|
+
* @memberof SupplierPurchaseOrderLineDTO
|
|
59
|
+
*/
|
|
60
|
+
entityStatus?: SupplierPurchaseOrderLineDTOEntityStatusEnum;
|
|
61
|
+
/**
|
|
62
|
+
* When the line is expected. When omitted: the order's expected date, or else today plus the lead time of the supplier's applying price list; absent when neither applies
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof SupplierPurchaseOrderLineDTO
|
|
65
|
+
*/
|
|
66
|
+
expectedDate?: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof SupplierPurchaseOrderLineDTO
|
|
71
|
+
*/
|
|
72
|
+
externalId?: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof SupplierPurchaseOrderLineDTO
|
|
77
|
+
*/
|
|
78
|
+
id?: string;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {Date}
|
|
82
|
+
* @memberof SupplierPurchaseOrderLineDTO
|
|
83
|
+
*/
|
|
84
|
+
lastModifiedAt?: Date;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof SupplierPurchaseOrderLineDTO
|
|
89
|
+
*/
|
|
90
|
+
lastModifiedBy?: string;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof SupplierPurchaseOrderLineDTO
|
|
95
|
+
*/
|
|
96
|
+
lineTotal?: string;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof SupplierPurchaseOrderLineDTO
|
|
101
|
+
*/
|
|
102
|
+
namespaceKey?: string;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {number}
|
|
106
|
+
* @memberof SupplierPurchaseOrderLineDTO
|
|
107
|
+
*/
|
|
108
|
+
orderNumber?: number;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {ElementPermissionBasedEntityEmbeddableDTO}
|
|
112
|
+
* @memberof SupplierPurchaseOrderLineDTO
|
|
113
|
+
*/
|
|
114
|
+
permission?: ElementPermissionBasedEntityEmbeddableDTO;
|
|
115
|
+
/**
|
|
116
|
+
* Quantity ordered, greater than zero
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof SupplierPurchaseOrderLineDTO
|
|
119
|
+
*/
|
|
120
|
+
quantity: string;
|
|
121
|
+
/**
|
|
122
|
+
* Read-only: received so far over the order's received goods receipts. Zero until the first; may pass the ordered quantity, up to the over-receipt tolerance
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @memberof SupplierPurchaseOrderLineDTO
|
|
125
|
+
*/
|
|
126
|
+
receivedQuantity?: string;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof SupplierPurchaseOrderLineDTO
|
|
131
|
+
*/
|
|
132
|
+
taxAmount?: string;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @type {string}
|
|
136
|
+
* @memberof SupplierPurchaseOrderLineDTO
|
|
137
|
+
*/
|
|
138
|
+
taxRate?: string;
|
|
139
|
+
/**
|
|
140
|
+
* Unit cost, zero or more. When omitted, taken from the supplier's price list that applies to the article and quantity in the order's currency today; refused (422) when no list prices it
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @memberof SupplierPurchaseOrderLineDTO
|
|
143
|
+
*/
|
|
144
|
+
unitCost?: string;
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @type {number}
|
|
148
|
+
* @memberof SupplierPurchaseOrderLineDTO
|
|
149
|
+
*/
|
|
150
|
+
version?: number;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* @export
|
|
154
|
+
*/
|
|
155
|
+
export declare const SupplierPurchaseOrderLineDTOEntityStatusEnum: {
|
|
156
|
+
readonly Active: "ACTIVE";
|
|
157
|
+
readonly Passive: "PASSIVE";
|
|
158
|
+
readonly Archived: "ARCHIVED";
|
|
159
|
+
readonly Deleted: "DELETED";
|
|
160
|
+
readonly Pending: "PENDING";
|
|
161
|
+
};
|
|
162
|
+
export type SupplierPurchaseOrderLineDTOEntityStatusEnum = typeof SupplierPurchaseOrderLineDTOEntityStatusEnum[keyof typeof SupplierPurchaseOrderLineDTOEntityStatusEnum];
|
|
163
|
+
/**
|
|
164
|
+
* Check if a given object implements the SupplierPurchaseOrderLineDTO interface.
|
|
165
|
+
*/
|
|
166
|
+
export declare function instanceOfSupplierPurchaseOrderLineDTO(value: object): value is SupplierPurchaseOrderLineDTO;
|
|
167
|
+
export declare function SupplierPurchaseOrderLineDTOFromJSON(json: any): SupplierPurchaseOrderLineDTO;
|
|
168
|
+
export declare function SupplierPurchaseOrderLineDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupplierPurchaseOrderLineDTO;
|
|
169
|
+
export declare function SupplierPurchaseOrderLineDTOToJSON(json: any): SupplierPurchaseOrderLineDTO;
|
|
170
|
+
export declare function SupplierPurchaseOrderLineDTOToJSONTyped(value?: SupplierPurchaseOrderLineDTO | null, ignoreDiscriminator?: boolean): any;
|