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