@integrahub/vergefy-client 0.23.0 → 0.25.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/AILAIKTenantModelKeysApi.d.ts +129 -0
- package/dist/apis/AILAIKTenantModelKeysApi.js +311 -0
- package/dist/apis/APIAASAssociationApi.d.ts +2 -0
- package/dist/apis/APIAASAssociationApi.js +4 -2
- package/dist/apis/APIAAUSTAutomationWorkflowSandboxApi.d.ts +4 -4
- package/dist/apis/APIAAUSTAutomationWorkflowSandboxApi.js +4 -4
- package/dist/apis/APIAAUWEXAutomationWorkflowStepExecutionApi.d.ts +2 -2
- package/dist/apis/APIAAUWEXAutomationWorkflowStepExecutionApi.js +2 -2
- package/dist/apis/APIAAUWFAutomationWorkflowApi.d.ts +24 -24
- package/dist/apis/APIAAUWFAutomationWorkflowApi.js +24 -24
- package/dist/apis/APIAAUWIAutomationWorkflowInstanceApi.d.ts +10 -10
- package/dist/apis/APIAAUWIAutomationWorkflowInstanceApi.js +10 -10
- package/dist/apis/APIAAUWSEAutomationWorkflowStepEdgeApi.d.ts +2 -2
- package/dist/apis/APIAAUWSEAutomationWorkflowStepEdgeApi.js +2 -2
- package/dist/apis/APIACFCustomFieldOptionApi.d.ts +4 -4
- package/dist/apis/APIACFCustomFieldOptionApi.js +4 -4
- package/dist/apis/APIACTContentApi.d.ts +8 -8
- package/dist/apis/APIACTContentApi.js +8 -8
- package/dist/apis/APIADIDataImporterApi.d.ts +80 -80
- package/dist/apis/APIADIDataImporterApi.js +80 -80
- package/dist/apis/APIADODocumentApi.d.ts +8 -8
- package/dist/apis/APIADODocumentApi.js +8 -8
- package/dist/apis/APIAGRGoodsReceiptApi.d.ts +1 -10
- package/dist/apis/APIAGRGoodsReceiptApi.js +1 -11
- package/dist/apis/APIAPRFProductFeatureApi.d.ts +4 -4
- package/dist/apis/APIAPRFProductFeatureApi.js +4 -4
- package/dist/apis/APIAPRPProductPriceApi.d.ts +12 -12
- package/dist/apis/APIAPRPProductPriceApi.js +12 -12
- package/dist/apis/APIARQRequirementApi.d.ts +42 -42
- package/dist/apis/APIARQRequirementApi.js +42 -42
- 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 +329 -0
- package/dist/apis/APIASPOSupplierPurchaseOrderApi.js +912 -0
- package/dist/apis/APIASPRSupplierPurchaseOrderApprovalRuleApi.d.ts +131 -0
- package/dist/apis/APIASPRSupplierPurchaseOrderApprovalRuleApi.js +369 -0
- package/dist/apis/APIATKTaskApi.d.ts +124 -124
- package/dist/apis/APIATKTaskApi.js +124 -124
- package/dist/apis/APIIntegrationConfigurationApi.d.ts +21 -0
- package/dist/apis/APIIntegrationConfigurationApi.js +60 -0
- package/dist/apis/APPPCRCRMApi.d.ts +12 -12
- package/dist/apis/APPPCRCRMApi.js +12 -12
- package/dist/apis/APPPCRCRMSalesBoardApi.d.ts +16 -16
- package/dist/apis/APPPCRCRMSalesBoardApi.js +16 -16
- package/dist/apis/APPPCRCRMSupportTicketApi.d.ts +16 -16
- package/dist/apis/APPPCRCRMSupportTicketApi.js +16 -16
- package/dist/apis/APPPCRDCRMDealApi.d.ts +16 -16
- package/dist/apis/APPPCRDCRMDealApi.js +16 -16
- package/dist/apis/APPPCRLCRMLeadApi.d.ts +8 -8
- package/dist/apis/APPPCRLCRMLeadApi.js +8 -8
- package/dist/apis/APPPCRPCRMPipelineApi.d.ts +12 -12
- package/dist/apis/APPPCRPCRMPipelineApi.js +12 -12
- package/dist/apis/APPPCRTCRMTaskApi.d.ts +36 -36
- package/dist/apis/APPPCRTCRMTaskApi.js +36 -36
- package/dist/apis/APPPFMAFormActionApi.d.ts +8 -8
- package/dist/apis/APPPFMAFormActionApi.js +8 -8
- package/dist/apis/APPPFMCFormConfigurationApi.d.ts +8 -8
- package/dist/apis/APPPFMCFormConfigurationApi.js +8 -8
- package/dist/apis/APPPFMGFormGroupApi.d.ts +8 -8
- package/dist/apis/APPPFMGFormGroupApi.js +8 -8
- package/dist/apis/APPPFMSFormSessionApi.d.ts +8 -8
- package/dist/apis/APPPFMSFormSessionApi.js +8 -8
- package/dist/apis/APPPFTPFormTemplateApi.d.ts +8 -8
- package/dist/apis/APPPFTPFormTemplateApi.js +8 -8
- package/dist/apis/APPPHRAWHRApprovalWorkflowApi.d.ts +1 -0
- package/dist/apis/APPPHRAWHRApprovalWorkflowApi.js +3 -0
- package/dist/apis/APPPINAIInsuranceAIApi.d.ts +158 -0
- package/dist/apis/APPPINAIInsuranceAIApi.js +446 -0
- package/dist/apis/APPPINPInsurancePolicyApi.d.ts +8 -6
- package/dist/apis/APPPINPInsurancePolicyApi.js +12 -6
- package/dist/apis/APPPMECMailEngineCampaignApi.d.ts +8 -8
- package/dist/apis/APPPMECMailEngineCampaignApi.js +8 -8
- package/dist/apis/APPPMEGMailEngineSegmentApi.d.ts +32 -32
- package/dist/apis/APPPMEGMailEngineSegmentApi.js +32 -32
- package/dist/apis/APPPMEOMailEngineComplianceApi.d.ts +12 -12
- package/dist/apis/APPPMEOMailEngineComplianceApi.js +12 -12
- package/dist/apis/APPPMESMailEngineSubscriptionApi.d.ts +28 -28
- package/dist/apis/APPPMESMailEngineSubscriptionApi.js +28 -28
- package/dist/apis/APPPMETMailEngineTemplateApi.d.ts +12 -12
- package/dist/apis/APPPMETMailEngineTemplateApi.js +12 -12
- package/dist/apis/APPPMTMailTrustApi.d.ts +65 -66
- package/dist/apis/APPPMTMailTrustApi.js +64 -67
- package/dist/apis/APPPPMCPMSSystemConfigurationApi.d.ts +4 -4
- package/dist/apis/APPPPMCPMSSystemConfigurationApi.js +4 -4
- package/dist/apis/APPPPMPMSApi.d.ts +48 -48
- package/dist/apis/APPPPMPMSApi.js +48 -48
- package/dist/apis/PLATFORMLPOPlatformOrderApi.d.ts +10 -10
- package/dist/apis/PLATFORMLPOPlatformOrderApi.js +10 -10
- package/dist/apis/PLATFORMLPSPlatformServiceApi.d.ts +1 -0
- package/dist/apis/PLATFORMLPSPlatformServiceApi.js +2 -1
- package/dist/apis/PLATFORMLTNPTenantPrincipalMetricsApi.d.ts +63 -0
- package/dist/apis/PLATFORMLTNPTenantPrincipalMetricsApi.js +164 -0
- package/dist/apis/PLATFORMLTNPTenantPrincipalsApi.d.ts +450 -0
- package/dist/apis/PLATFORMLTNPTenantPrincipalsApi.js +1245 -0
- package/dist/apis/index.d.ts +8 -0
- package/dist/apis/index.js +8 -0
- package/dist/esm/apis/AILAIKTenantModelKeysApi.js +307 -0
- package/dist/esm/apis/APIAASAssociationApi.js +4 -2
- package/dist/esm/apis/APIAAUSTAutomationWorkflowSandboxApi.js +4 -4
- package/dist/esm/apis/APIAAUWEXAutomationWorkflowStepExecutionApi.js +2 -2
- package/dist/esm/apis/APIAAUWFAutomationWorkflowApi.js +24 -24
- package/dist/esm/apis/APIAAUWIAutomationWorkflowInstanceApi.js +10 -10
- package/dist/esm/apis/APIAAUWSEAutomationWorkflowStepEdgeApi.js +2 -2
- package/dist/esm/apis/APIACFCustomFieldOptionApi.js +4 -4
- package/dist/esm/apis/APIACTContentApi.js +8 -8
- package/dist/esm/apis/APIADIDataImporterApi.js +80 -80
- package/dist/esm/apis/APIADODocumentApi.js +8 -8
- package/dist/esm/apis/APIAGRGoodsReceiptApi.js +0 -10
- package/dist/esm/apis/APIAPRFProductFeatureApi.js +4 -4
- package/dist/esm/apis/APIAPRPProductPriceApi.js +12 -12
- package/dist/esm/apis/APIARQRequirementApi.js +42 -42
- package/dist/esm/apis/APIARSGReorderSuggestionApi.js +154 -0
- package/dist/esm/apis/APIASPLSupplierPriceListApi.js +390 -0
- package/dist/esm/apis/APIASPOSupplierPurchaseOrderApi.js +908 -0
- package/dist/esm/apis/APIASPRSupplierPurchaseOrderApprovalRuleApi.js +365 -0
- package/dist/esm/apis/APIATKTaskApi.js +124 -124
- package/dist/esm/apis/APIIntegrationConfigurationApi.js +60 -0
- package/dist/esm/apis/APPPCRCRMApi.js +12 -12
- package/dist/esm/apis/APPPCRCRMSalesBoardApi.js +16 -16
- package/dist/esm/apis/APPPCRCRMSupportTicketApi.js +16 -16
- package/dist/esm/apis/APPPCRDCRMDealApi.js +16 -16
- package/dist/esm/apis/APPPCRLCRMLeadApi.js +8 -8
- package/dist/esm/apis/APPPCRPCRMPipelineApi.js +12 -12
- package/dist/esm/apis/APPPCRTCRMTaskApi.js +36 -36
- package/dist/esm/apis/APPPFMAFormActionApi.js +8 -8
- package/dist/esm/apis/APPPFMCFormConfigurationApi.js +8 -8
- package/dist/esm/apis/APPPFMGFormGroupApi.js +8 -8
- package/dist/esm/apis/APPPFMSFormSessionApi.js +8 -8
- package/dist/esm/apis/APPPFTPFormTemplateApi.js +8 -8
- package/dist/esm/apis/APPPHRAWHRApprovalWorkflowApi.js +3 -0
- package/dist/esm/apis/APPPINAIInsuranceAIApi.js +442 -0
- package/dist/esm/apis/APPPINPInsurancePolicyApi.js +12 -6
- package/dist/esm/apis/APPPMECMailEngineCampaignApi.js +8 -8
- package/dist/esm/apis/APPPMEGMailEngineSegmentApi.js +32 -32
- package/dist/esm/apis/APPPMEOMailEngineComplianceApi.js +12 -12
- package/dist/esm/apis/APPPMESMailEngineSubscriptionApi.js +28 -28
- package/dist/esm/apis/APPPMETMailEngineTemplateApi.js +12 -12
- package/dist/esm/apis/APPPMTMailTrustApi.js +64 -67
- package/dist/esm/apis/APPPPMCPMSSystemConfigurationApi.js +4 -4
- package/dist/esm/apis/APPPPMPMSApi.js +48 -48
- package/dist/esm/apis/PLATFORMLPOPlatformOrderApi.js +10 -10
- package/dist/esm/apis/PLATFORMLPSPlatformServiceApi.js +2 -1
- package/dist/esm/apis/PLATFORMLTNPTenantPrincipalMetricsApi.js +160 -0
- package/dist/esm/apis/PLATFORMLTNPTenantPrincipalsApi.js +1241 -0
- package/dist/esm/apis/index.js +8 -0
- package/dist/esm/ext/telemetry.js +1 -1
- package/dist/esm/models/AgentApprovalActionDTO.js +47 -0
- package/dist/esm/models/AgentCostSummaryDTO.js +49 -0
- package/dist/esm/models/AgentPrincipalCredentialsDTO.js +46 -0
- package/dist/esm/models/AgentTokenDTO.js +45 -0
- package/dist/esm/models/AgentTokenRequestDTO.js +45 -0
- package/dist/esm/models/AssociationDTO.js +4 -2
- package/dist/esm/models/ConnectorListingDTO.js +161 -0
- package/dist/esm/models/CreateAgentPrincipalDTO.js +57 -0
- package/dist/esm/models/DataResponseDTOAgentPrincipalCredentialsDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOAgentTokenDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOInsuranceAiRequestDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOListAgentApprovalActionDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOListAgentCostSummaryDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOListConnectorListingDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOListInsuranceAiRequestDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOListMcpClientFamilyDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOListPrincipalAuditEventDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOListReorderSuggestionDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOListSupplierPurchaseOrderDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOListTenantModelKeyDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOPrincipalApprovalRequestDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOPrincipalDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOPrincipalPolicyDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOPrincipalWorkShareDTO.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/DataResponseDTOSupplierPurchaseOrderBillMatchDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOSupplierPurchaseOrderDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOSupplierPurchaseOrderMatchDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOTenantModelKeyCredentialDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOTenantModelKeyDTO.js +42 -0
- package/dist/esm/models/DeveloperApiKeyDTO.js +2 -0
- package/dist/esm/models/GoodsReceiptLineDTO.js +2 -0
- package/dist/esm/models/InsuranceAiRequestDTO.js +100 -0
- package/dist/esm/models/InsuranceClaimCreateDTO.js +3 -1
- package/dist/esm/models/MailSubscription.js +2 -0
- package/dist/esm/models/McpClientFamilyDTO.js +43 -0
- package/dist/esm/models/PagePrincipalApprovalRequestDTO.js +64 -0
- package/dist/esm/models/PagePrincipalDTO.js +64 -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/PlatformServiceDTO.js +2 -1
- package/dist/esm/models/PrincipalAgentWorkDTO.js +45 -0
- package/dist/esm/models/PrincipalApprovalDecisionDTO.js +43 -0
- package/dist/esm/models/PrincipalApprovalRequestDTO.js +92 -0
- package/dist/esm/models/PrincipalAuditEventDTO.js +85 -0
- package/dist/esm/models/PrincipalDTO.js +112 -0
- package/dist/esm/models/PrincipalModuleWorkShareDTO.js +47 -0
- package/dist/esm/models/PrincipalPolicyDTO.js +43 -0
- package/dist/esm/models/PrincipalUpdateDTO.js +57 -0
- package/dist/esm/models/PrincipalWorkShareDTO.js +59 -0
- package/dist/esm/models/PurchaseBillCreateDTO.js +2 -0
- package/dist/esm/models/PurchaseBillDTO.js +2 -0
- package/dist/esm/models/PurchaseBillLineCreateDTO.js +2 -0
- package/dist/esm/models/PurchaseBillLineDTO.js +2 -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/SupplierPurchaseOrderBillLineMatchDTO.js +65 -0
- package/dist/esm/models/SupplierPurchaseOrderBillMatchDTO.js +67 -0
- package/dist/esm/models/SupplierPurchaseOrderDTO.js +153 -0
- package/dist/esm/models/SupplierPurchaseOrderLineDTO.js +107 -0
- package/dist/esm/models/SupplierPurchaseOrderLineMatchDTO.js +74 -0
- package/dist/esm/models/SupplierPurchaseOrderMatchDTO.js +73 -0
- package/dist/esm/models/SupplierPurchaseOrderRejectionDTO.js +43 -0
- package/dist/esm/models/TenantModelKeyCredentialDTO.js +54 -0
- package/dist/esm/models/TenantModelKeyDTO.js +58 -0
- package/dist/esm/models/TenantModelKeyUpsertDTO.js +45 -0
- package/dist/esm/models/TransferPrincipalSponsorDTO.js +43 -0
- package/dist/esm/models/index.js +65 -0
- package/dist/ext/telemetry.d.ts +1 -1
- package/dist/ext/telemetry.js +1 -1
- package/dist/models/AgentApprovalActionDTO.d.ts +50 -0
- package/dist/models/AgentApprovalActionDTO.js +54 -0
- package/dist/models/AgentCostSummaryDTO.d.ts +56 -0
- package/dist/models/AgentCostSummaryDTO.js +56 -0
- package/dist/models/AgentPrincipalCredentialsDTO.d.ts +45 -0
- package/dist/models/AgentPrincipalCredentialsDTO.js +53 -0
- package/dist/models/AgentTokenDTO.d.ts +44 -0
- package/dist/models/AgentTokenDTO.js +52 -0
- package/dist/models/AgentTokenRequestDTO.d.ts +38 -0
- package/dist/models/AgentTokenRequestDTO.js +52 -0
- package/dist/models/AssociationDTO.d.ts +2 -0
- package/dist/models/AssociationDTO.js +4 -2
- package/dist/models/ConnectorListingDTO.d.ts +175 -0
- package/dist/models/ConnectorListingDTO.js +169 -0
- package/dist/models/CreateAgentPrincipalDTO.d.ts +59 -0
- package/dist/models/CreateAgentPrincipalDTO.js +65 -0
- package/dist/models/DataResponseDTOAgentPrincipalCredentialsDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOAgentPrincipalCredentialsDTO.js +49 -0
- package/dist/models/DataResponseDTOAgentTokenDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOAgentTokenDTO.js +49 -0
- package/dist/models/DataResponseDTOInsuranceAiRequestDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOInsuranceAiRequestDTO.js +49 -0
- package/dist/models/DataResponseDTOListAgentApprovalActionDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOListAgentApprovalActionDTO.js +49 -0
- package/dist/models/DataResponseDTOListAgentCostSummaryDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOListAgentCostSummaryDTO.js +49 -0
- package/dist/models/DataResponseDTOListConnectorListingDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOListConnectorListingDTO.js +49 -0
- package/dist/models/DataResponseDTOListInsuranceAiRequestDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOListInsuranceAiRequestDTO.js +49 -0
- package/dist/models/DataResponseDTOListMcpClientFamilyDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOListMcpClientFamilyDTO.js +49 -0
- package/dist/models/DataResponseDTOListPrincipalAuditEventDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOListPrincipalAuditEventDTO.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/DataResponseDTOListTenantModelKeyDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOListTenantModelKeyDTO.js +49 -0
- package/dist/models/DataResponseDTOPrincipalApprovalRequestDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOPrincipalApprovalRequestDTO.js +49 -0
- package/dist/models/DataResponseDTOPrincipalDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOPrincipalDTO.js +49 -0
- package/dist/models/DataResponseDTOPrincipalPolicyDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOPrincipalPolicyDTO.js +49 -0
- package/dist/models/DataResponseDTOPrincipalWorkShareDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOPrincipalWorkShareDTO.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/DataResponseDTOSupplierPurchaseOrderBillMatchDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOSupplierPurchaseOrderBillMatchDTO.js +49 -0
- package/dist/models/DataResponseDTOSupplierPurchaseOrderDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOSupplierPurchaseOrderDTO.js +49 -0
- package/dist/models/DataResponseDTOSupplierPurchaseOrderMatchDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOSupplierPurchaseOrderMatchDTO.js +49 -0
- package/dist/models/DataResponseDTOTenantModelKeyCredentialDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOTenantModelKeyCredentialDTO.js +49 -0
- package/dist/models/DataResponseDTOTenantModelKeyDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOTenantModelKeyDTO.js +49 -0
- package/dist/models/DeveloperApiKeyDTO.d.ts +6 -0
- package/dist/models/DeveloperApiKeyDTO.js +2 -0
- package/dist/models/GoodsReceiptLineDTO.d.ts +7 -1
- package/dist/models/GoodsReceiptLineDTO.js +2 -0
- package/dist/models/InsuranceAiRequestDTO.d.ts +188 -0
- package/dist/models/InsuranceAiRequestDTO.js +108 -0
- package/dist/models/InsuranceClaimCreateDTO.d.ts +1 -1
- package/dist/models/InsuranceClaimCreateDTO.js +3 -1
- package/dist/models/MailSubscription.d.ts +6 -0
- package/dist/models/MailSubscription.js +2 -0
- package/dist/models/McpClientFamilyDTO.d.ts +38 -0
- package/dist/models/McpClientFamilyDTO.js +50 -0
- package/dist/models/PagePrincipalApprovalRequestDTO.d.ts +95 -0
- package/dist/models/PagePrincipalApprovalRequestDTO.js +71 -0
- package/dist/models/PagePrincipalDTO.d.ts +95 -0
- package/dist/models/PagePrincipalDTO.js +71 -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/PlatformServiceDTO.d.ts +1 -0
- package/dist/models/PlatformServiceDTO.js +2 -1
- package/dist/models/PrincipalAgentWorkDTO.d.ts +44 -0
- package/dist/models/PrincipalAgentWorkDTO.js +52 -0
- package/dist/models/PrincipalApprovalDecisionDTO.d.ts +32 -0
- package/dist/models/PrincipalApprovalDecisionDTO.js +50 -0
- package/dist/models/PrincipalApprovalRequestDTO.d.ts +164 -0
- package/dist/models/PrincipalApprovalRequestDTO.js +100 -0
- package/dist/models/PrincipalAuditEventDTO.d.ts +134 -0
- package/dist/models/PrincipalAuditEventDTO.js +93 -0
- package/dist/models/PrincipalDTO.d.ts +172 -0
- package/dist/models/PrincipalDTO.js +120 -0
- package/dist/models/PrincipalModuleWorkShareDTO.d.ts +50 -0
- package/dist/models/PrincipalModuleWorkShareDTO.js +54 -0
- package/dist/models/PrincipalPolicyDTO.d.ts +38 -0
- package/dist/models/PrincipalPolicyDTO.js +50 -0
- package/dist/models/PrincipalUpdateDTO.d.ts +59 -0
- package/dist/models/PrincipalUpdateDTO.js +65 -0
- package/dist/models/PrincipalWorkShareDTO.d.ts +82 -0
- package/dist/models/PrincipalWorkShareDTO.js +66 -0
- package/dist/models/PurchaseBillCreateDTO.d.ts +6 -0
- package/dist/models/PurchaseBillCreateDTO.js +2 -0
- package/dist/models/PurchaseBillDTO.d.ts +6 -0
- package/dist/models/PurchaseBillDTO.js +2 -0
- package/dist/models/PurchaseBillLineCreateDTO.d.ts +6 -0
- package/dist/models/PurchaseBillLineCreateDTO.js +2 -0
- package/dist/models/PurchaseBillLineDTO.d.ts +6 -0
- package/dist/models/PurchaseBillLineDTO.js +2 -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/SupplierPurchaseOrderBillLineMatchDTO.d.ts +85 -0
- package/dist/models/SupplierPurchaseOrderBillLineMatchDTO.js +73 -0
- package/dist/models/SupplierPurchaseOrderBillMatchDTO.d.ts +76 -0
- package/dist/models/SupplierPurchaseOrderBillMatchDTO.js +75 -0
- package/dist/models/SupplierPurchaseOrderDTO.d.ts +289 -0
- package/dist/models/SupplierPurchaseOrderDTO.js +161 -0
- package/dist/models/SupplierPurchaseOrderLineDTO.d.ts +184 -0
- package/dist/models/SupplierPurchaseOrderLineDTO.js +115 -0
- package/dist/models/SupplierPurchaseOrderLineMatchDTO.d.ts +99 -0
- package/dist/models/SupplierPurchaseOrderLineMatchDTO.js +82 -0
- package/dist/models/SupplierPurchaseOrderMatchDTO.d.ts +94 -0
- package/dist/models/SupplierPurchaseOrderMatchDTO.js +81 -0
- package/dist/models/SupplierPurchaseOrderRejectionDTO.d.ts +32 -0
- package/dist/models/SupplierPurchaseOrderRejectionDTO.js +50 -0
- package/dist/models/TenantModelKeyCredentialDTO.d.ts +58 -0
- package/dist/models/TenantModelKeyCredentialDTO.js +62 -0
- package/dist/models/TenantModelKeyDTO.d.ts +70 -0
- package/dist/models/TenantModelKeyDTO.js +66 -0
- package/dist/models/TenantModelKeyUpsertDTO.d.ts +38 -0
- package/dist/models/TenantModelKeyUpsertDTO.js +52 -0
- package/dist/models/TransferPrincipalSponsorDTO.d.ts +32 -0
- package/dist/models/TransferPrincipalSponsorDTO.js +50 -0
- package/dist/models/index.d.ts +65 -0
- package/dist/models/index.js +65 -0
- package/package.json +1 -1
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vergefy API
|
|
3
|
+
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2026-05-30
|
|
6
|
+
* Contact: support@integrahub.co
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import { type DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO } from '../models/DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO';
|
|
14
|
+
import { type PageSupplierPurchaseOrderApprovalRuleDTO } from '../models/PageSupplierPurchaseOrderApprovalRuleDTO';
|
|
15
|
+
import { type SupplierPurchaseOrderApprovalRuleDTO } from '../models/SupplierPurchaseOrderApprovalRuleDTO';
|
|
16
|
+
export interface ASPR001Request {
|
|
17
|
+
id: string;
|
|
18
|
+
xAppAccountId: string;
|
|
19
|
+
acceptLanguage?: string;
|
|
20
|
+
vergefyVersion?: string;
|
|
21
|
+
acceptTimezone?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface ASPR002Request {
|
|
24
|
+
xAppAccountId: string;
|
|
25
|
+
supplierId?: string;
|
|
26
|
+
currencyCode?: string;
|
|
27
|
+
tenantWide?: boolean;
|
|
28
|
+
page?: number;
|
|
29
|
+
size?: number;
|
|
30
|
+
sort?: Array<string>;
|
|
31
|
+
acceptLanguage?: string;
|
|
32
|
+
vergefyVersion?: string;
|
|
33
|
+
acceptTimezone?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface ASPR100Request {
|
|
36
|
+
xAppAccountId: string;
|
|
37
|
+
supplierPurchaseOrderApprovalRuleDTO: SupplierPurchaseOrderApprovalRuleDTO;
|
|
38
|
+
acceptLanguage?: string;
|
|
39
|
+
vergefyVersion?: string;
|
|
40
|
+
acceptTimezone?: string;
|
|
41
|
+
}
|
|
42
|
+
export interface ASPR101Request {
|
|
43
|
+
id: string;
|
|
44
|
+
xAppAccountId: string;
|
|
45
|
+
supplierPurchaseOrderApprovalRuleDTO: SupplierPurchaseOrderApprovalRuleDTO;
|
|
46
|
+
acceptLanguage?: string;
|
|
47
|
+
vergefyVersion?: string;
|
|
48
|
+
acceptTimezone?: string;
|
|
49
|
+
}
|
|
50
|
+
export interface ASPR102Request {
|
|
51
|
+
id: string;
|
|
52
|
+
xAppAccountId: string;
|
|
53
|
+
acceptLanguage?: string;
|
|
54
|
+
vergefyVersion?: string;
|
|
55
|
+
acceptTimezone?: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
*/
|
|
60
|
+
export declare class APIASPRSupplierPurchaseOrderApprovalRuleApi extends runtime.BaseAPI {
|
|
61
|
+
/**
|
|
62
|
+
* Creates request options for aSPR001 without sending the request
|
|
63
|
+
*/
|
|
64
|
+
aSPR001RequestOpts(requestParameters: ASPR001Request): Promise<runtime.RequestOpts>;
|
|
65
|
+
/**
|
|
66
|
+
* Retrieves an approval rule by id
|
|
67
|
+
* ASPR001 - Get Supplier Purchase Order Approval Rule
|
|
68
|
+
*/
|
|
69
|
+
aSPR001Raw(requestParameters: ASPR001Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO>>;
|
|
70
|
+
/**
|
|
71
|
+
* Retrieves an approval rule by id
|
|
72
|
+
* ASPR001 - Get Supplier Purchase Order Approval Rule
|
|
73
|
+
*/
|
|
74
|
+
aSPR001(requestParameters: ASPR001Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO>;
|
|
75
|
+
/**
|
|
76
|
+
* Creates request options for aSPR002 without sending the request
|
|
77
|
+
*/
|
|
78
|
+
aSPR002RequestOpts(requestParameters: ASPR002Request): Promise<runtime.RequestOpts>;
|
|
79
|
+
/**
|
|
80
|
+
* Filtered, paginated search over approval rules (supplier, currency, and whether a rule is tenant-wide)
|
|
81
|
+
* ASPR002 - Search Supplier Purchase Order Approval Rules
|
|
82
|
+
*/
|
|
83
|
+
aSPR002Raw(requestParameters: ASPR002Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageSupplierPurchaseOrderApprovalRuleDTO>>;
|
|
84
|
+
/**
|
|
85
|
+
* Filtered, paginated search over approval rules (supplier, currency, and whether a rule is tenant-wide)
|
|
86
|
+
* ASPR002 - Search Supplier Purchase Order Approval Rules
|
|
87
|
+
*/
|
|
88
|
+
aSPR002(requestParameters: ASPR002Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageSupplierPurchaseOrderApprovalRuleDTO>;
|
|
89
|
+
/**
|
|
90
|
+
* Creates request options for aSPR100 without sending the request
|
|
91
|
+
*/
|
|
92
|
+
aSPR100RequestOpts(requestParameters: ASPR100Request): Promise<runtime.RequestOpts>;
|
|
93
|
+
/**
|
|
94
|
+
* Creates the rule for one currency, tenant-wide when supplierId is omitted or for one supplier, whose rule overrides the tenant-wide one. An order whose total is at or under the threshold is approved when submitted
|
|
95
|
+
* ASPR100 - Create Supplier Purchase Order Approval Rule
|
|
96
|
+
*/
|
|
97
|
+
aSPR100Raw(requestParameters: ASPR100Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO>>;
|
|
98
|
+
/**
|
|
99
|
+
* Creates the rule for one currency, tenant-wide when supplierId is omitted or for one supplier, whose rule overrides the tenant-wide one. An order whose total is at or under the threshold is approved when submitted
|
|
100
|
+
* ASPR100 - Create Supplier Purchase Order Approval Rule
|
|
101
|
+
*/
|
|
102
|
+
aSPR100(requestParameters: ASPR100Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO>;
|
|
103
|
+
/**
|
|
104
|
+
* Creates request options for aSPR101 without sending the request
|
|
105
|
+
*/
|
|
106
|
+
aSPR101RequestOpts(requestParameters: ASPR101Request): Promise<runtime.RequestOpts>;
|
|
107
|
+
/**
|
|
108
|
+
* Replaces a rule\'s supplier, currency and threshold. Orders already waiting for approval are not decided again
|
|
109
|
+
* ASPR101 - Update Supplier Purchase Order Approval Rule
|
|
110
|
+
*/
|
|
111
|
+
aSPR101Raw(requestParameters: ASPR101Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO>>;
|
|
112
|
+
/**
|
|
113
|
+
* Replaces a rule\'s supplier, currency and threshold. Orders already waiting for approval are not decided again
|
|
114
|
+
* ASPR101 - Update Supplier Purchase Order Approval Rule
|
|
115
|
+
*/
|
|
116
|
+
aSPR101(requestParameters: ASPR101Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO>;
|
|
117
|
+
/**
|
|
118
|
+
* Creates request options for aSPR102 without sending the request
|
|
119
|
+
*/
|
|
120
|
+
aSPR102RequestOpts(requestParameters: ASPR102Request): Promise<runtime.RequestOpts>;
|
|
121
|
+
/**
|
|
122
|
+
* Deletes a rule. A supplier\'s orders then follow the tenant-wide rule, and orders in a currency with no rule wait for a person
|
|
123
|
+
* ASPR102 - Delete Supplier Purchase Order Approval Rule
|
|
124
|
+
*/
|
|
125
|
+
aSPR102Raw(requestParameters: ASPR102Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
126
|
+
/**
|
|
127
|
+
* Deletes a rule. A supplier\'s orders then follow the tenant-wide rule, and orders in a currency with no rule wait for a person
|
|
128
|
+
* ASPR102 - Delete Supplier Purchase Order Approval Rule
|
|
129
|
+
*/
|
|
130
|
+
aSPR102(requestParameters: ASPR102Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
131
|
+
}
|
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Vergefy API
|
|
6
|
+
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2026-05-30
|
|
9
|
+
* Contact: support@integrahub.co
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.APIASPRSupplierPurchaseOrderApprovalRuleApi = void 0;
|
|
26
|
+
const runtime = require("../runtime");
|
|
27
|
+
const DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO_1 = require("../models/DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO");
|
|
28
|
+
const PageSupplierPurchaseOrderApprovalRuleDTO_1 = require("../models/PageSupplierPurchaseOrderApprovalRuleDTO");
|
|
29
|
+
const SupplierPurchaseOrderApprovalRuleDTO_1 = require("../models/SupplierPurchaseOrderApprovalRuleDTO");
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
class APIASPRSupplierPurchaseOrderApprovalRuleApi extends runtime.BaseAPI {
|
|
34
|
+
/**
|
|
35
|
+
* Creates request options for aSPR001 without sending the request
|
|
36
|
+
*/
|
|
37
|
+
aSPR001RequestOpts(requestParameters) {
|
|
38
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
+
if (requestParameters['id'] == null) {
|
|
40
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling aSPR001().');
|
|
41
|
+
}
|
|
42
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
43
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling aSPR001().');
|
|
44
|
+
}
|
|
45
|
+
const queryParameters = {};
|
|
46
|
+
const headerParameters = {};
|
|
47
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
48
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
49
|
+
}
|
|
50
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
51
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
52
|
+
}
|
|
53
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
54
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
55
|
+
}
|
|
56
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
57
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
58
|
+
}
|
|
59
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
60
|
+
const token = this.configuration.accessToken;
|
|
61
|
+
const tokenString = yield token("BearerAuth", []);
|
|
62
|
+
if (tokenString) {
|
|
63
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
let urlPath = `/api/supplier-purchase-order-approval-rules/{id}`;
|
|
67
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
68
|
+
return {
|
|
69
|
+
path: urlPath,
|
|
70
|
+
method: 'GET',
|
|
71
|
+
headers: headerParameters,
|
|
72
|
+
query: queryParameters,
|
|
73
|
+
};
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Retrieves an approval rule by id
|
|
78
|
+
* ASPR001 - Get Supplier Purchase Order Approval Rule
|
|
79
|
+
*/
|
|
80
|
+
aSPR001Raw(requestParameters, initOverrides) {
|
|
81
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
82
|
+
const requestOptions = yield this.aSPR001RequestOpts(requestParameters);
|
|
83
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
84
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO_1.DataResponseDTOSupplierPurchaseOrderApprovalRuleDTOFromJSON)(jsonValue));
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Retrieves an approval rule by id
|
|
89
|
+
* ASPR001 - Get Supplier Purchase Order Approval Rule
|
|
90
|
+
*/
|
|
91
|
+
aSPR001(requestParameters, initOverrides) {
|
|
92
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
93
|
+
const response = yield this.aSPR001Raw(requestParameters, initOverrides);
|
|
94
|
+
return yield response.value();
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Creates request options for aSPR002 without sending the request
|
|
99
|
+
*/
|
|
100
|
+
aSPR002RequestOpts(requestParameters) {
|
|
101
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
102
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
103
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling aSPR002().');
|
|
104
|
+
}
|
|
105
|
+
const queryParameters = {};
|
|
106
|
+
if (requestParameters['supplierId'] != null) {
|
|
107
|
+
queryParameters['supplierId'] = requestParameters['supplierId'];
|
|
108
|
+
}
|
|
109
|
+
if (requestParameters['currencyCode'] != null) {
|
|
110
|
+
queryParameters['currencyCode'] = requestParameters['currencyCode'];
|
|
111
|
+
}
|
|
112
|
+
if (requestParameters['tenantWide'] != null) {
|
|
113
|
+
queryParameters['tenantWide'] = requestParameters['tenantWide'];
|
|
114
|
+
}
|
|
115
|
+
if (requestParameters['page'] != null) {
|
|
116
|
+
queryParameters['page'] = requestParameters['page'];
|
|
117
|
+
}
|
|
118
|
+
if (requestParameters['size'] != null) {
|
|
119
|
+
queryParameters['size'] = requestParameters['size'];
|
|
120
|
+
}
|
|
121
|
+
if (requestParameters['sort'] != null) {
|
|
122
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
123
|
+
}
|
|
124
|
+
const headerParameters = {};
|
|
125
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
126
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
127
|
+
}
|
|
128
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
129
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
130
|
+
}
|
|
131
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
132
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
133
|
+
}
|
|
134
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
135
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
136
|
+
}
|
|
137
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
138
|
+
const token = this.configuration.accessToken;
|
|
139
|
+
const tokenString = yield token("BearerAuth", []);
|
|
140
|
+
if (tokenString) {
|
|
141
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
let urlPath = `/api/supplier-purchase-order-approval-rules`;
|
|
145
|
+
return {
|
|
146
|
+
path: urlPath,
|
|
147
|
+
method: 'GET',
|
|
148
|
+
headers: headerParameters,
|
|
149
|
+
query: queryParameters,
|
|
150
|
+
};
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Filtered, paginated search over approval rules (supplier, currency, and whether a rule is tenant-wide)
|
|
155
|
+
* ASPR002 - Search Supplier Purchase Order Approval Rules
|
|
156
|
+
*/
|
|
157
|
+
aSPR002Raw(requestParameters, initOverrides) {
|
|
158
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
159
|
+
const requestOptions = yield this.aSPR002RequestOpts(requestParameters);
|
|
160
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
161
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PageSupplierPurchaseOrderApprovalRuleDTO_1.PageSupplierPurchaseOrderApprovalRuleDTOFromJSON)(jsonValue));
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Filtered, paginated search over approval rules (supplier, currency, and whether a rule is tenant-wide)
|
|
166
|
+
* ASPR002 - Search Supplier Purchase Order Approval Rules
|
|
167
|
+
*/
|
|
168
|
+
aSPR002(requestParameters, initOverrides) {
|
|
169
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
170
|
+
const response = yield this.aSPR002Raw(requestParameters, initOverrides);
|
|
171
|
+
return yield response.value();
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Creates request options for aSPR100 without sending the request
|
|
176
|
+
*/
|
|
177
|
+
aSPR100RequestOpts(requestParameters) {
|
|
178
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
179
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
180
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling aSPR100().');
|
|
181
|
+
}
|
|
182
|
+
if (requestParameters['supplierPurchaseOrderApprovalRuleDTO'] == null) {
|
|
183
|
+
throw new runtime.RequiredError('supplierPurchaseOrderApprovalRuleDTO', 'Required parameter "supplierPurchaseOrderApprovalRuleDTO" was null or undefined when calling aSPR100().');
|
|
184
|
+
}
|
|
185
|
+
const queryParameters = {};
|
|
186
|
+
const headerParameters = {};
|
|
187
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
188
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
189
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
190
|
+
}
|
|
191
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
192
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
193
|
+
}
|
|
194
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
195
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
196
|
+
}
|
|
197
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
198
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
199
|
+
}
|
|
200
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
201
|
+
const token = this.configuration.accessToken;
|
|
202
|
+
const tokenString = yield token("BearerAuth", []);
|
|
203
|
+
if (tokenString) {
|
|
204
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
let urlPath = `/api/supplier-purchase-order-approval-rules`;
|
|
208
|
+
return {
|
|
209
|
+
path: urlPath,
|
|
210
|
+
method: 'POST',
|
|
211
|
+
headers: headerParameters,
|
|
212
|
+
query: queryParameters,
|
|
213
|
+
body: (0, SupplierPurchaseOrderApprovalRuleDTO_1.SupplierPurchaseOrderApprovalRuleDTOToJSON)(requestParameters['supplierPurchaseOrderApprovalRuleDTO']),
|
|
214
|
+
};
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Creates the rule for one currency, tenant-wide when supplierId is omitted or for one supplier, whose rule overrides the tenant-wide one. An order whose total is at or under the threshold is approved when submitted
|
|
219
|
+
* ASPR100 - Create Supplier Purchase Order Approval Rule
|
|
220
|
+
*/
|
|
221
|
+
aSPR100Raw(requestParameters, initOverrides) {
|
|
222
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
223
|
+
const requestOptions = yield this.aSPR100RequestOpts(requestParameters);
|
|
224
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
225
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO_1.DataResponseDTOSupplierPurchaseOrderApprovalRuleDTOFromJSON)(jsonValue));
|
|
226
|
+
});
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Creates the rule for one currency, tenant-wide when supplierId is omitted or for one supplier, whose rule overrides the tenant-wide one. An order whose total is at or under the threshold is approved when submitted
|
|
230
|
+
* ASPR100 - Create Supplier Purchase Order Approval Rule
|
|
231
|
+
*/
|
|
232
|
+
aSPR100(requestParameters, initOverrides) {
|
|
233
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
234
|
+
const response = yield this.aSPR100Raw(requestParameters, initOverrides);
|
|
235
|
+
return yield response.value();
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* Creates request options for aSPR101 without sending the request
|
|
240
|
+
*/
|
|
241
|
+
aSPR101RequestOpts(requestParameters) {
|
|
242
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
243
|
+
if (requestParameters['id'] == null) {
|
|
244
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling aSPR101().');
|
|
245
|
+
}
|
|
246
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
247
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling aSPR101().');
|
|
248
|
+
}
|
|
249
|
+
if (requestParameters['supplierPurchaseOrderApprovalRuleDTO'] == null) {
|
|
250
|
+
throw new runtime.RequiredError('supplierPurchaseOrderApprovalRuleDTO', 'Required parameter "supplierPurchaseOrderApprovalRuleDTO" was null or undefined when calling aSPR101().');
|
|
251
|
+
}
|
|
252
|
+
const queryParameters = {};
|
|
253
|
+
const headerParameters = {};
|
|
254
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
255
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
256
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
257
|
+
}
|
|
258
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
259
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
260
|
+
}
|
|
261
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
262
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
263
|
+
}
|
|
264
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
265
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
266
|
+
}
|
|
267
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
268
|
+
const token = this.configuration.accessToken;
|
|
269
|
+
const tokenString = yield token("BearerAuth", []);
|
|
270
|
+
if (tokenString) {
|
|
271
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
let urlPath = `/api/supplier-purchase-order-approval-rules/{id}`;
|
|
275
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
276
|
+
return {
|
|
277
|
+
path: urlPath,
|
|
278
|
+
method: 'PUT',
|
|
279
|
+
headers: headerParameters,
|
|
280
|
+
query: queryParameters,
|
|
281
|
+
body: (0, SupplierPurchaseOrderApprovalRuleDTO_1.SupplierPurchaseOrderApprovalRuleDTOToJSON)(requestParameters['supplierPurchaseOrderApprovalRuleDTO']),
|
|
282
|
+
};
|
|
283
|
+
});
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* Replaces a rule\'s supplier, currency and threshold. Orders already waiting for approval are not decided again
|
|
287
|
+
* ASPR101 - Update Supplier Purchase Order Approval Rule
|
|
288
|
+
*/
|
|
289
|
+
aSPR101Raw(requestParameters, initOverrides) {
|
|
290
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
291
|
+
const requestOptions = yield this.aSPR101RequestOpts(requestParameters);
|
|
292
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
293
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO_1.DataResponseDTOSupplierPurchaseOrderApprovalRuleDTOFromJSON)(jsonValue));
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* Replaces a rule\'s supplier, currency and threshold. Orders already waiting for approval are not decided again
|
|
298
|
+
* ASPR101 - Update Supplier Purchase Order Approval Rule
|
|
299
|
+
*/
|
|
300
|
+
aSPR101(requestParameters, initOverrides) {
|
|
301
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
302
|
+
const response = yield this.aSPR101Raw(requestParameters, initOverrides);
|
|
303
|
+
return yield response.value();
|
|
304
|
+
});
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* Creates request options for aSPR102 without sending the request
|
|
308
|
+
*/
|
|
309
|
+
aSPR102RequestOpts(requestParameters) {
|
|
310
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
311
|
+
if (requestParameters['id'] == null) {
|
|
312
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling aSPR102().');
|
|
313
|
+
}
|
|
314
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
315
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling aSPR102().');
|
|
316
|
+
}
|
|
317
|
+
const queryParameters = {};
|
|
318
|
+
const headerParameters = {};
|
|
319
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
320
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
321
|
+
}
|
|
322
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
323
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
324
|
+
}
|
|
325
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
326
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
327
|
+
}
|
|
328
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
329
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
330
|
+
}
|
|
331
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
332
|
+
const token = this.configuration.accessToken;
|
|
333
|
+
const tokenString = yield token("BearerAuth", []);
|
|
334
|
+
if (tokenString) {
|
|
335
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
let urlPath = `/api/supplier-purchase-order-approval-rules/{id}`;
|
|
339
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
340
|
+
return {
|
|
341
|
+
path: urlPath,
|
|
342
|
+
method: 'DELETE',
|
|
343
|
+
headers: headerParameters,
|
|
344
|
+
query: queryParameters,
|
|
345
|
+
};
|
|
346
|
+
});
|
|
347
|
+
}
|
|
348
|
+
/**
|
|
349
|
+
* Deletes a rule. A supplier\'s orders then follow the tenant-wide rule, and orders in a currency with no rule wait for a person
|
|
350
|
+
* ASPR102 - Delete Supplier Purchase Order Approval Rule
|
|
351
|
+
*/
|
|
352
|
+
aSPR102Raw(requestParameters, initOverrides) {
|
|
353
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
354
|
+
const requestOptions = yield this.aSPR102RequestOpts(requestParameters);
|
|
355
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
356
|
+
return new runtime.VoidApiResponse(response);
|
|
357
|
+
});
|
|
358
|
+
}
|
|
359
|
+
/**
|
|
360
|
+
* Deletes a rule. A supplier\'s orders then follow the tenant-wide rule, and orders in a currency with no rule wait for a person
|
|
361
|
+
* ASPR102 - Delete Supplier Purchase Order Approval Rule
|
|
362
|
+
*/
|
|
363
|
+
aSPR102(requestParameters, initOverrides) {
|
|
364
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
365
|
+
yield this.aSPR102Raw(requestParameters, initOverrides);
|
|
366
|
+
});
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
exports.APIASPRSupplierPurchaseOrderApprovalRuleApi = APIASPRSupplierPurchaseOrderApprovalRuleApi;
|