yellowgrid-api-ts 3.2.99-dev.0 → 3.2.101-dev.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/.openapi-generator/FILES +235 -261
- package/.openapi-generator/VERSION +1 -1
- package/.openapi-generator-ignore +0 -0
- package/README.md +1 -52
- package/api.ts +406 -7605
- package/base.ts +2 -26
- package/common.ts +16 -39
- package/config.json +0 -0
- package/configuration.ts +25 -19
- package/dist/api.d.ts +161 -6300
- package/dist/api.js +344 -2790
- package/dist/base.d.ts +1 -25
- package/dist/base.js +2 -21
- package/dist/common.d.ts +5 -36
- package/dist/common.js +17 -39
- package/dist/configuration.d.ts +25 -18
- package/dist/configuration.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/CourierEnum.d.ts +0 -0
- package/dist/models/CourierEnum.js +0 -0
- package/dist/models/EventStatusEnum.d.ts +0 -0
- package/dist/models/EventStatusEnum.js +0 -0
- package/dist/models/EventTypeEnum.d.ts +0 -0
- package/dist/models/EventTypeEnum.js +0 -0
- package/dist/models/PortStatusEnum.d.ts +0 -0
- package/dist/models/PortStatusEnum.js +0 -0
- package/dist/models/PrinterEnum.d.ts +0 -0
- package/dist/models/PrinterEnum.js +0 -0
- package/dist/models/ServiceEnum.d.ts +0 -0
- package/dist/models/ServiceEnum.js +0 -0
- package/dist/models/ServiceHealthEnum.d.ts +0 -0
- package/dist/models/ServiceHealthEnum.js +0 -0
- package/dist/models/ServiceStatusEnum.d.ts +0 -0
- package/dist/models/ServiceStatusEnum.js +0 -0
- package/dist/models/StatusEnum.d.ts +18 -0
- package/dist/models/StatusEnum.js +20 -0
- package/dist/models/UpdateTypeEnum.d.ts +0 -0
- package/dist/models/UpdateTypeEnum.js +0 -0
- package/dist/src/apis/AccountsApi.d.ts +258 -0
- package/dist/src/apis/AccountsApi.js +975 -0
- package/dist/src/apis/CRMApi.d.ts +26 -0
- package/dist/src/apis/CRMApi.js +122 -0
- package/dist/src/apis/Class3CXApi.d.ts +44 -0
- package/dist/src/apis/Class3CXApi.js +177 -0
- package/dist/src/apis/Class3CXInstallationWizardApi.d.ts +446 -0
- package/dist/src/apis/Class3CXInstallationWizardApi.js +1740 -0
- package/dist/src/apis/Class3CXInstallationsApi.d.ts +253 -0
- package/dist/src/apis/Class3CXInstallationsApi.js +806 -0
- package/dist/src/apis/Class3CXIntegrationsApi.d.ts +102 -0
- package/dist/src/apis/Class3CXIntegrationsApi.js +386 -0
- package/dist/src/apis/Class3CXMultiTenantApi.d.ts +122 -0
- package/dist/src/apis/Class3CXMultiTenantApi.js +431 -0
- package/dist/src/apis/MyPBXToolsApi.d.ts +32 -0
- package/dist/src/apis/MyPBXToolsApi.js +136 -0
- package/dist/src/apis/OAuth20Api.d.ts +185 -0
- package/dist/src/apis/OAuth20Api.js +507 -0
- package/dist/src/apis/OrdersApi.d.ts +154 -0
- package/dist/src/apis/OrdersApi.js +512 -0
- package/dist/src/apis/PricingApi.d.ts +154 -0
- package/dist/src/apis/PricingApi.js +308 -0
- package/dist/src/apis/ProductsApi.d.ts +135 -0
- package/dist/src/apis/ProductsApi.js +531 -0
- package/dist/src/apis/ProvisioningApi.d.ts +112 -0
- package/dist/src/apis/ProvisioningApi.js +427 -0
- package/dist/src/apis/SIPTrunksApi.d.ts +315 -0
- package/dist/src/apis/SIPTrunksApi.js +1197 -0
- package/dist/src/apis/SMSApi.d.ts +30 -0
- package/dist/src/apis/SMSApi.js +130 -0
- package/dist/src/apis/ServicesApi.d.ts +81 -0
- package/dist/src/apis/ServicesApi.js +386 -0
- package/dist/src/apis/ShippingApi.d.ts +45 -0
- package/dist/src/apis/ShippingApi.js +179 -0
- package/dist/src/apis/StockManagementApi.d.ts +345 -0
- package/dist/src/apis/StockManagementApi.js +1293 -0
- package/dist/src/apis/SystemApi.d.ts +37 -0
- package/dist/src/apis/SystemApi.js +146 -0
- package/dist/src/apis/TicketsApi.d.ts +79 -0
- package/dist/src/apis/TicketsApi.js +360 -0
- package/dist/src/apis/WebhooksApi.d.ts +56 -0
- package/dist/src/apis/WebhooksApi.js +189 -0
- package/dist/src/apis/index.d.ts +21 -0
- package/dist/src/apis/index.js +39 -0
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.js +21 -0
- package/dist/src/models/AbstractOrderRequestDTO.d.ts +71 -0
- package/dist/src/models/AbstractOrderRequestDTO.js +64 -0
- package/dist/src/models/AccountContactEntity.d.ts +104 -0
- package/dist/src/models/AccountContactEntity.js +73 -0
- package/dist/src/models/AccountContactModel.d.ts +104 -0
- package/dist/src/models/AccountContactModel.js +73 -0
- package/dist/src/models/AccountContactRequestModel.d.ts +80 -0
- package/dist/src/models/AccountContactRequestModel.js +65 -0
- package/dist/src/models/AccountDetailedSummaryDTO.d.ts +89 -0
- package/dist/src/models/AccountDetailedSummaryDTO.js +70 -0
- package/dist/src/models/AccountRequestModel.d.ts +128 -0
- package/dist/src/models/AccountRequestModel.js +81 -0
- package/dist/src/models/AccountSummaryDTO.d.ts +44 -0
- package/dist/src/models/AccountSummaryDTO.js +53 -0
- package/dist/src/models/AccountsResponseModel.d.ts +51 -0
- package/dist/src/models/AccountsResponseModel.js +56 -0
- package/dist/src/models/AddressModel.d.ts +110 -0
- package/dist/src/models/AddressModel.js +75 -0
- package/dist/src/models/AddressRequestModel.d.ts +50 -0
- package/dist/src/models/AddressRequestModel.js +55 -0
- package/dist/src/models/AdminOrderRequestDTO.d.ts +113 -0
- package/dist/src/models/AdminOrderRequestDTO.js +78 -0
- package/dist/src/models/AdminUserModel.d.ts +79 -0
- package/dist/src/models/AdminUserModel.js +72 -0
- package/dist/src/models/AgentHoursGraphModel.d.ts +51 -0
- package/dist/src/models/AgentHoursGraphModel.js +56 -0
- package/dist/src/models/AgentHoursGraphMonthModel.d.ts +38 -0
- package/dist/src/models/AgentHoursGraphMonthModel.js +51 -0
- package/dist/src/models/ApiLogEntity.d.ts +98 -0
- package/dist/src/models/ApiLogEntity.js +71 -0
- package/dist/src/models/AreaCodeModel.d.ts +38 -0
- package/dist/src/models/AreaCodeModel.js +51 -0
- package/dist/src/models/AttachmentModel.d.ts +56 -0
- package/dist/src/models/AttachmentModel.js +57 -0
- package/dist/src/models/AttributeSetEnum.d.ts +38 -0
- package/dist/src/models/AttributeSetEnum.js +51 -0
- package/dist/src/models/AuditLogEntity.d.ts +80 -0
- package/dist/src/models/AuditLogEntity.js +65 -0
- package/dist/src/models/AuthCodeResponseModel.d.ts +44 -0
- package/dist/src/models/AuthCodeResponseModel.js +53 -0
- package/dist/src/models/BasicItemDTO.d.ts +38 -0
- package/dist/src/models/BasicItemDTO.js +51 -0
- package/dist/src/models/BasicProductDTO.d.ts +38 -0
- package/dist/src/models/BasicProductDTO.js +51 -0
- package/dist/src/models/BatchEntity.d.ts +128 -0
- package/dist/src/models/BatchEntity.js +81 -0
- package/dist/src/models/CallBarringModel.d.ts +56 -0
- package/dist/src/models/CallBarringModel.js +57 -0
- package/dist/src/models/ClientDetailsModel.d.ts +68 -0
- package/dist/src/models/ClientDetailsModel.js +61 -0
- package/dist/src/models/ClientModel.d.ts +50 -0
- package/dist/src/models/ClientModel.js +55 -0
- package/dist/src/models/CompanyContractModel.d.ts +56 -0
- package/dist/src/models/CompanyContractModel.js +57 -0
- package/dist/src/models/ContactInfoModel.d.ts +56 -0
- package/dist/src/models/ContactInfoModel.js +57 -0
- package/dist/src/models/ConversationModel.d.ts +75 -0
- package/dist/src/models/ConversationModel.js +64 -0
- package/dist/src/models/CourierPriceEntity.d.ts +86 -0
- package/dist/src/models/CourierPriceEntity.js +67 -0
- package/dist/src/models/CreditAccountEntity.d.ts +152 -0
- package/dist/src/models/CreditAccountEntity.js +89 -0
- package/dist/src/models/CrmContactDTO.d.ts +68 -0
- package/dist/src/models/CrmContactDTO.js +61 -0
- package/dist/src/models/CustomerInformationModel.d.ts +68 -0
- package/dist/src/models/CustomerInformationModel.js +61 -0
- package/dist/src/models/CustomerItemRequestDTO.d.ts +81 -0
- package/dist/src/models/CustomerItemRequestDTO.js +66 -0
- package/dist/src/models/CustomerOrderRequestDTO.d.ts +71 -0
- package/dist/src/models/CustomerOrderRequestDTO.js +64 -0
- package/dist/src/models/CustomerPriceListEnum.d.ts +38 -0
- package/dist/src/models/CustomerPriceListEnum.js +51 -0
- package/dist/src/models/CustomerSummaryReportDTO.d.ts +65 -0
- package/dist/src/models/CustomerSummaryReportDTO.js +62 -0
- package/dist/src/models/DdiRangeRequestModel.d.ts +44 -0
- package/dist/src/models/DdiRangeRequestModel.js +53 -0
- package/dist/src/models/DdiRangesRequestModel.d.ts +33 -0
- package/dist/src/models/DdiRangesRequestModel.js +50 -0
- package/dist/src/models/DetailedItemRequestDTO.d.ts +99 -0
- package/dist/src/models/DetailedItemRequestDTO.js +72 -0
- package/dist/src/models/DetailedOrderRequestDTO.d.ts +71 -0
- package/dist/src/models/DetailedOrderRequestDTO.js +64 -0
- package/dist/src/models/DivertRequestModel.d.ts +38 -0
- package/dist/src/models/DivertRequestModel.js +51 -0
- package/dist/src/models/DivertResponseModel.d.ts +52 -0
- package/dist/src/models/DivertResponseModel.js +61 -0
- package/dist/src/models/EdTechProClientEntity.d.ts +56 -0
- package/dist/src/models/EdTechProClientEntity.js +57 -0
- package/dist/src/models/EdTechProSchoolModel.d.ts +104 -0
- package/dist/src/models/EdTechProSchoolModel.js +73 -0
- package/dist/src/models/EdTechProSchoolsModel.d.ts +51 -0
- package/dist/src/models/EdTechProSchoolsModel.js +56 -0
- package/dist/src/models/EdTechProSetupModel.d.ts +56 -0
- package/dist/src/models/EdTechProSetupModel.js +57 -0
- package/dist/src/models/EventDTO.d.ts +84 -0
- package/dist/src/models/EventDTO.js +73 -0
- package/dist/src/models/EventRequestDTO.d.ts +44 -0
- package/dist/src/models/EventRequestDTO.js +53 -0
- package/dist/src/models/EventSubscriptionModel.d.ts +38 -0
- package/dist/src/models/EventSubscriptionModel.js +51 -0
- package/dist/src/models/EventTypeEnum.d.ts +19 -0
- package/dist/src/models/EventTypeEnum.js +24 -0
- package/dist/src/models/EventUpdateDTO.d.ts +50 -0
- package/dist/src/models/EventUpdateDTO.js +55 -0
- package/dist/src/models/EventUpdateEntity.d.ts +56 -0
- package/dist/src/models/EventUpdateEntity.js +57 -0
- package/dist/src/models/EventUpdateRequestDTO.d.ts +44 -0
- package/dist/src/models/EventUpdateRequestDTO.js +53 -0
- package/dist/src/models/FraudManagementModel.d.ts +38 -0
- package/dist/src/models/FraudManagementModel.js +51 -0
- package/dist/src/models/FreshdeskCompanyTicketsModel.d.ts +51 -0
- package/dist/src/models/FreshdeskCompanyTicketsModel.js +56 -0
- package/dist/src/models/FreshdeskTicketEntity.d.ts +68 -0
- package/dist/src/models/FreshdeskTicketEntity.js +61 -0
- package/dist/src/models/FtpAccountsEntity.d.ts +56 -0
- package/dist/src/models/FtpAccountsEntity.js +57 -0
- package/dist/src/models/GenericFileModel.d.ts +44 -0
- package/dist/src/models/GenericFileModel.js +53 -0
- package/dist/src/models/GetGetPrice200Response.d.ts +32 -0
- package/dist/src/models/GetGetPrice200Response.js +49 -0
- package/dist/src/models/GetGetRecording200Response.d.ts +32 -0
- package/dist/src/models/GetGetRecording200Response.js +49 -0
- package/dist/src/models/HostingChangeResponseModel.d.ts +64 -0
- package/dist/src/models/HostingChangeResponseModel.js +65 -0
- package/dist/src/models/HostingRegionDTO.d.ts +59 -0
- package/dist/src/models/HostingRegionDTO.js +68 -0
- package/dist/src/models/InstanceAutoFailoverEntity.d.ts +56 -0
- package/dist/src/models/InstanceAutoFailoverEntity.js +57 -0
- package/dist/src/models/InstanceDeletionScheduleEntity.d.ts +50 -0
- package/dist/src/models/InstanceDeletionScheduleEntity.js +55 -0
- package/dist/src/models/InstanceEntity.d.ts +152 -0
- package/dist/src/models/InstanceEntity.js +89 -0
- package/dist/src/models/InstanceFailoverEntity.d.ts +92 -0
- package/dist/src/models/InstanceFailoverEntity.js +69 -0
- package/dist/src/models/InstanceMonitoringEntity.d.ts +44 -0
- package/dist/src/models/InstanceMonitoringEntity.js +53 -0
- package/dist/src/models/InstanceMonitoringLogEntity.d.ts +62 -0
- package/dist/src/models/InstanceMonitoringLogEntity.js +59 -0
- package/dist/src/models/InstanceScheduledTasksEntity.d.ts +62 -0
- package/dist/src/models/InstanceScheduledTasksEntity.js +59 -0
- package/dist/src/models/InstanceTcxDetailsEntity.d.ts +86 -0
- package/dist/src/models/InstanceTcxDetailsEntity.js +67 -0
- package/dist/src/models/InstanceUserCredentialsEntity.d.ts +56 -0
- package/dist/src/models/InstanceUserCredentialsEntity.js +57 -0
- package/dist/src/models/ItemDTO.d.ts +117 -0
- package/dist/src/models/ItemDTO.js +78 -0
- package/dist/src/models/ItemDiscountEntity.d.ts +77 -0
- package/dist/src/models/ItemDiscountEntity.js +70 -0
- package/dist/src/models/ItemEntity.d.ts +158 -0
- package/dist/src/models/ItemEntity.js +91 -0
- package/dist/src/models/LinkedOrderEntity.d.ts +38 -0
- package/dist/src/models/LinkedOrderEntity.js +51 -0
- package/dist/src/models/MFARequiredModel.d.ts +38 -0
- package/dist/src/models/MFARequiredModel.js +51 -0
- package/dist/src/models/MonthlyUsageModel.d.ts +38 -0
- package/dist/src/models/MonthlyUsageModel.js +51 -0
- package/dist/src/models/MultiTenantChangeResponseModel.d.ts +70 -0
- package/dist/src/models/MultiTenantChangeResponseModel.js +75 -0
- package/dist/src/models/NavigationModel.d.ts +50 -0
- package/dist/src/models/NavigationModel.js +55 -0
- package/dist/src/models/OfflineInstancesEntity.d.ts +56 -0
- package/dist/src/models/OfflineInstancesEntity.js +57 -0
- package/dist/src/models/OrderEntity.d.ts +374 -0
- package/dist/src/models/OrderEntity.js +163 -0
- package/dist/src/models/OrderRequestModel.d.ts +120 -0
- package/dist/src/models/OrderRequestModel.js +88 -0
- package/dist/src/models/OrderSummariesModel.d.ts +51 -0
- package/dist/src/models/OrderSummariesModel.js +56 -0
- package/dist/src/models/OrderSummaryDTO.d.ts +126 -0
- package/dist/src/models/OrderSummaryDTO.js +83 -0
- package/dist/src/models/OrderTotalModel.d.ts +111 -0
- package/dist/src/models/OrderTotalModel.js +100 -0
- package/dist/src/models/OrderedItemEntity.d.ts +110 -0
- package/dist/src/models/OrderedItemEntity.js +75 -0
- package/dist/src/models/PatchSetTcxWizardCnameRequest.d.ts +32 -0
- package/dist/src/models/PatchSetTcxWizardCnameRequest.js +49 -0
- package/dist/src/models/PatchUpdateAccountContactPasswordRequest.d.ts +32 -0
- package/dist/src/models/PatchUpdateAccountContactPasswordRequest.js +49 -0
- package/dist/src/models/PortalAccountModel.d.ts +171 -0
- package/dist/src/models/PortalAccountModel.js +96 -0
- package/dist/src/models/PortalLoginModel.d.ts +68 -0
- package/dist/src/models/PortalLoginModel.js +61 -0
- package/dist/src/models/PostAddWebhook200Response.d.ts +32 -0
- package/dist/src/models/PostAddWebhook200Response.js +49 -0
- package/dist/src/models/PostGetClientCredentialsRequest.d.ts +32 -0
- package/dist/src/models/PostGetClientCredentialsRequest.js +49 -0
- package/dist/src/models/PostGetProductForCustomerRequest.d.ts +50 -0
- package/dist/src/models/PostGetProductForCustomerRequest.js +55 -0
- package/dist/src/models/PostGetProductRequest.d.ts +44 -0
- package/dist/src/models/PostGetProductRequest.js +53 -0
- package/dist/src/models/PriceListItemModel.d.ts +56 -0
- package/dist/src/models/PriceListItemModel.js +57 -0
- package/dist/src/models/PrizesEntity.d.ts +62 -0
- package/dist/src/models/PrizesEntity.js +59 -0
- package/dist/src/models/ProductPriceListItemModel.d.ts +62 -0
- package/dist/src/models/ProductPriceListItemModel.js +59 -0
- package/dist/src/models/ProductSearchResultsModel.d.ts +33 -0
- package/dist/src/models/ProductSearchResultsModel.js +50 -0
- package/dist/src/models/ProductSerialInfoModel.d.ts +50 -0
- package/dist/src/models/ProductSerialInfoModel.js +55 -0
- package/dist/src/models/ProductSummaryDTO.d.ts +81 -0
- package/dist/src/models/ProductSummaryDTO.js +66 -0
- package/dist/src/models/PromoCodesEntity.d.ts +98 -0
- package/dist/src/models/PromoCodesEntity.js +71 -0
- package/dist/src/models/PromoItemsEntity.d.ts +74 -0
- package/dist/src/models/PromoItemsEntity.js +63 -0
- package/dist/src/models/ProvisioningModel.d.ts +56 -0
- package/dist/src/models/ProvisioningModel.js +57 -0
- package/dist/src/models/ProvisioningRequestEntity.d.ts +44 -0
- package/dist/src/models/ProvisioningRequestEntity.js +53 -0
- package/dist/src/models/RecordingBackupAzureModel.d.ts +50 -0
- package/dist/src/models/RecordingBackupAzureModel.js +55 -0
- package/dist/src/models/RecordingsBackupInfoDTO.d.ts +40 -0
- package/dist/src/models/RecordingsBackupInfoDTO.js +53 -0
- package/dist/src/models/ResourceNotReadyException.d.ts +44 -0
- package/dist/src/models/ResourceNotReadyException.js +53 -0
- package/dist/src/models/RootAccessModel.d.ts +44 -0
- package/dist/src/models/RootAccessModel.js +53 -0
- package/dist/src/models/S3BucketEntity.d.ts +50 -0
- package/dist/src/models/S3BucketEntity.js +55 -0
- package/dist/src/models/ScannedItemModel.d.ts +56 -0
- package/dist/src/models/ScannedItemModel.js +57 -0
- package/dist/src/models/ScopeModel.d.ts +38 -0
- package/dist/src/models/ScopeModel.js +51 -0
- package/dist/src/models/ServiceEnum.d.ts +14 -0
- package/dist/src/models/ServiceEnum.js +19 -0
- package/dist/src/models/ServiceHealthDTO.d.ts +48 -0
- package/dist/src/models/ServiceHealthDTO.js +61 -0
- package/dist/src/models/ServiceHealthEnum.d.ts +19 -0
- package/dist/src/models/ServiceHealthEnum.js +24 -0
- package/dist/src/models/ServiceStatusDTO.d.ts +60 -0
- package/dist/src/models/ServiceStatusDTO.js +65 -0
- package/dist/src/models/ServiceStatusEnum.d.ts +19 -0
- package/dist/src/models/ServiceStatusEnum.js +24 -0
- package/dist/src/models/ShipmentAddressEntity.d.ts +92 -0
- package/dist/src/models/ShipmentAddressEntity.js +69 -0
- package/dist/src/models/ShipmentEntity.d.ts +98 -0
- package/dist/src/models/ShipmentEntity.js +71 -0
- package/dist/src/models/ShipmentItemEntity.d.ts +56 -0
- package/dist/src/models/ShipmentItemEntity.js +57 -0
- package/dist/src/models/ShippingConsignmentModel.d.ts +51 -0
- package/dist/src/models/ShippingConsignmentModel.js +56 -0
- package/dist/src/models/ShippingInformationDTO.d.ts +45 -0
- package/dist/src/models/ShippingInformationDTO.js +54 -0
- package/dist/src/models/ShippingServiceDTO.d.ts +47 -0
- package/dist/src/models/ShippingServiceDTO.js +60 -0
- package/dist/src/models/ShippingServiceModel.d.ts +71 -0
- package/dist/src/models/ShippingServiceModel.js +68 -0
- package/dist/src/models/ShippingServicesModel.d.ts +33 -0
- package/dist/src/models/ShippingServicesModel.js +50 -0
- package/dist/src/models/SipTrunkChangeResponseModel.d.ts +77 -0
- package/dist/src/models/SipTrunkChangeResponseModel.js +78 -0
- package/dist/src/models/SipTrunkCreationRequestModel.d.ts +66 -0
- package/dist/src/models/SipTrunkCreationRequestModel.js +63 -0
- package/dist/src/models/SipTrunkEntity.d.ts +98 -0
- package/dist/src/models/SipTrunkEntity.js +71 -0
- package/dist/src/models/SipTrunksResponseModel.d.ts +51 -0
- package/dist/src/models/SipTrunksResponseModel.js +56 -0
- package/dist/src/models/SmsAccountEntity.d.ts +68 -0
- package/dist/src/models/SmsAccountEntity.js +61 -0
- package/dist/src/models/SmsDataModel.d.ts +33 -0
- package/dist/src/models/SmsDataModel.js +50 -0
- package/dist/src/models/SmsMessageModel.d.ts +44 -0
- package/dist/src/models/SmsMessageModel.js +53 -0
- package/dist/src/models/SmsNumbersEntity.d.ts +38 -0
- package/dist/src/models/SmsNumbersEntity.js +51 -0
- package/dist/src/models/SmsPayloadModel.d.ts +45 -0
- package/dist/src/models/SmsPayloadModel.js +54 -0
- package/dist/src/models/SmsPhoneNumberModel.d.ts +53 -0
- package/dist/src/models/SmsPhoneNumberModel.js +66 -0
- package/dist/src/models/SmsResponseModel.d.ts +67 -0
- package/dist/src/models/SmsResponseModel.js +68 -0
- package/dist/src/models/SmsWhitelistEntity.d.ts +38 -0
- package/dist/src/models/SmsWhitelistEntity.js +51 -0
- package/dist/src/models/StockOrderCourierEntity.d.ts +50 -0
- package/dist/src/models/StockOrderCourierEntity.js +55 -0
- package/dist/src/models/StockOrderDeductionModel.d.ts +50 -0
- package/dist/src/models/StockOrderDeductionModel.js +55 -0
- package/dist/src/models/StockOrderDeductionRequestModel.d.ts +38 -0
- package/dist/src/models/StockOrderDeductionRequestModel.js +51 -0
- package/dist/src/models/StockOrderDeductionsEntity.d.ts +50 -0
- package/dist/src/models/StockOrderDeductionsEntity.js +55 -0
- package/dist/src/models/StockOrderEntity.d.ts +158 -0
- package/dist/src/models/StockOrderEntity.js +91 -0
- package/dist/src/models/StockOrderItemEntity.d.ts +68 -0
- package/dist/src/models/StockOrderItemEntity.js +61 -0
- package/dist/src/models/StockOrderItemModel.d.ts +80 -0
- package/dist/src/models/StockOrderItemModel.js +65 -0
- package/dist/src/models/StockOrderItemRequestModel.d.ts +50 -0
- package/dist/src/models/StockOrderItemRequestModel.js +55 -0
- package/dist/src/models/StockOrderModel.d.ts +137 -0
- package/dist/src/models/StockOrderModel.js +97 -0
- package/dist/src/models/StockOrderProductEntity.d.ts +62 -0
- package/dist/src/models/StockOrderProductEntity.js +59 -0
- package/dist/src/models/StockOrderRequestModel.d.ts +46 -0
- package/dist/src/models/StockOrderRequestModel.js +55 -0
- package/dist/src/models/StockOrderSupplierEntity.d.ts +80 -0
- package/dist/src/models/StockOrderSupplierEntity.js +65 -0
- package/dist/src/models/StockOrderSupplierModel.d.ts +80 -0
- package/dist/src/models/StockOrderSupplierModel.js +65 -0
- package/dist/src/models/StockOrdersModel.d.ts +51 -0
- package/dist/src/models/StockOrdersModel.js +56 -0
- package/dist/src/models/StockProductModel.d.ts +120 -0
- package/dist/src/models/StockProductModel.js +81 -0
- package/dist/src/models/StockProductPriceModel.d.ts +39 -0
- package/dist/src/models/StockProductPriceModel.js +52 -0
- package/dist/src/models/StockProductSummariesModel.d.ts +51 -0
- package/dist/src/models/StockProductSummariesModel.js +56 -0
- package/dist/src/models/StockProductSummaryModel.d.ts +69 -0
- package/dist/src/models/StockProductSummaryModel.js +62 -0
- package/dist/src/models/StockTransactionsEntity.d.ts +74 -0
- package/dist/src/models/StockTransactionsEntity.js +63 -0
- package/dist/src/models/SupplierEntity.d.ts +80 -0
- package/dist/src/models/SupplierEntity.js +65 -0
- package/dist/src/models/SupplierItemEntity.d.ts +74 -0
- package/dist/src/models/SupplierItemEntity.js +63 -0
- package/dist/src/models/TcxBackupEntity.d.ts +80 -0
- package/dist/src/models/TcxBackupEntity.js +65 -0
- package/dist/src/models/TcxBackupModel.d.ts +140 -0
- package/dist/src/models/TcxBackupModel.js +85 -0
- package/dist/src/models/TcxBillingEntity.d.ts +86 -0
- package/dist/src/models/TcxBillingEntity.js +67 -0
- package/dist/src/models/TcxBulkLicenceDetailsModel.d.ts +40 -0
- package/dist/src/models/TcxBulkLicenceDetailsModel.js +53 -0
- package/dist/src/models/TcxDeadLicenceEntity.d.ts +44 -0
- package/dist/src/models/TcxDeadLicenceEntity.js +53 -0
- package/dist/src/models/TcxExtsEntity.d.ts +74 -0
- package/dist/src/models/TcxExtsEntity.js +63 -0
- package/dist/src/models/TcxHostingPricingEntity.d.ts +74 -0
- package/dist/src/models/TcxHostingPricingEntity.js +63 -0
- package/dist/src/models/TcxInstallationDetailsModel.d.ts +106 -0
- package/dist/src/models/TcxInstallationDetailsModel.js +75 -0
- package/dist/src/models/TcxInstallationModel.d.ts +200 -0
- package/dist/src/models/TcxInstallationModel.js +105 -0
- package/dist/src/models/TcxInstallationsModel.d.ts +51 -0
- package/dist/src/models/TcxInstallationsModel.js +56 -0
- package/dist/src/models/TcxKeySummaryDTO.d.ts +56 -0
- package/dist/src/models/TcxKeySummaryDTO.js +57 -0
- package/dist/src/models/TcxKeysEntity.d.ts +62 -0
- package/dist/src/models/TcxKeysEntity.js +59 -0
- package/dist/src/models/TcxLicenceDetailsErrorModel.d.ts +50 -0
- package/dist/src/models/TcxLicenceDetailsErrorModel.js +55 -0
- package/dist/src/models/TcxLicenceDetailsModel.d.ts +92 -0
- package/dist/src/models/TcxLicenceDetailsModel.js +69 -0
- package/dist/src/models/TcxMacsEntity.d.ts +44 -0
- package/dist/src/models/TcxMacsEntity.js +53 -0
- package/dist/src/models/TcxMultiTenantModel.d.ts +118 -0
- package/dist/src/models/TcxMultiTenantModel.js +83 -0
- package/dist/src/models/TcxMultiTenantUserModel.d.ts +44 -0
- package/dist/src/models/TcxMultiTenantUserModel.js +53 -0
- package/dist/src/models/TcxMultiTenantsModel.d.ts +51 -0
- package/dist/src/models/TcxMultiTenantsModel.js +56 -0
- package/dist/src/models/TcxNumbersEntity.d.ts +44 -0
- package/dist/src/models/TcxNumbersEntity.js +53 -0
- package/dist/src/models/TcxOfficeHoursEntity.d.ts +116 -0
- package/dist/src/models/TcxOfficeHoursEntity.js +77 -0
- package/dist/src/models/TcxPhoneModel.d.ts +68 -0
- package/dist/src/models/TcxPhoneModel.js +61 -0
- package/dist/src/models/TcxPhonesEntity.d.ts +62 -0
- package/dist/src/models/TcxPhonesEntity.js +59 -0
- package/dist/src/models/TcxRemoteStorageModel.d.ts +50 -0
- package/dist/src/models/TcxRemoteStorageModel.js +55 -0
- package/dist/src/models/TcxSbcDTO.d.ts +62 -0
- package/dist/src/models/TcxSbcDTO.js +59 -0
- package/dist/src/models/TcxSbcEntity.d.ts +122 -0
- package/dist/src/models/TcxSbcEntity.js +79 -0
- package/dist/src/models/TcxSbcModel.d.ts +122 -0
- package/dist/src/models/TcxSbcModel.js +79 -0
- package/dist/src/models/TcxSetupEntity.d.ts +207 -0
- package/dist/src/models/TcxSetupEntity.js +123 -0
- package/dist/src/models/TcxSetupsModel.d.ts +51 -0
- package/dist/src/models/TcxSetupsModel.js +56 -0
- package/dist/src/models/TcxSipTrunksEntity.d.ts +104 -0
- package/dist/src/models/TcxSipTrunksEntity.js +73 -0
- package/dist/src/models/TcxTemplateXmlEnum.d.ts +38 -0
- package/dist/src/models/TcxTemplateXmlEnum.js +51 -0
- package/dist/src/models/TcxUsersEntity.d.ts +62 -0
- package/dist/src/models/TcxUsersEntity.js +59 -0
- package/dist/src/models/TcxWizardConfigModel.d.ts +39 -0
- package/dist/src/models/TcxWizardConfigModel.js +52 -0
- package/dist/src/models/TcxWizardModel.d.ts +150 -0
- package/dist/src/models/TcxWizardModel.js +114 -0
- package/dist/src/models/TechSupportCompanySummaryDTO.d.ts +57 -0
- package/dist/src/models/TechSupportCompanySummaryDTO.js +58 -0
- package/dist/src/models/TelephonySupportTicketModel.d.ts +94 -0
- package/dist/src/models/TelephonySupportTicketModel.js +71 -0
- package/dist/src/models/TicketSummaryModel.d.ts +74 -0
- package/dist/src/models/TicketSummaryModel.js +63 -0
- package/dist/src/models/TicketTimeDTO.d.ts +80 -0
- package/dist/src/models/TicketTimeDTO.js +65 -0
- package/dist/src/models/TokenResponseModel.d.ts +44 -0
- package/dist/src/models/TokenResponseModel.js +53 -0
- package/dist/src/models/UpdateTypeEnum.d.ts +19 -0
- package/dist/src/models/UpdateTypeEnum.js +24 -0
- package/dist/src/models/UpgradeOrderResponseModel.d.ts +38 -0
- package/dist/src/models/UpgradeOrderResponseModel.js +51 -0
- package/dist/src/models/UpgradeRequestModel.d.ts +66 -0
- package/dist/src/models/UpgradeRequestModel.js +70 -0
- package/dist/src/models/UserEntity.d.ts +98 -0
- package/dist/src/models/UserEntity.js +71 -0
- package/dist/src/models/XeroLogEntity.d.ts +86 -0
- package/dist/src/models/XeroLogEntity.js +67 -0
- package/dist/src/models/index.d.ts +196 -0
- package/dist/src/models/index.js +214 -0
- package/dist/src/runtime.d.ts +184 -0
- package/dist/src/runtime.js +564 -0
- package/docs/AbstractOrderRequestDTO.md +0 -0
- package/docs/AccountContactEntity.md +0 -0
- package/docs/AccountContactModel.md +0 -0
- package/docs/AccountContactRequestModel.md +0 -0
- package/docs/AccountDetailedSummaryDTO.md +0 -0
- package/docs/AccountRequestModel.md +0 -0
- package/docs/AccountSummaryDTO.md +0 -0
- package/docs/AccountsApi.md +1 -1
- package/docs/AccountsResponseModel.md +0 -0
- package/docs/AddressModel.md +0 -0
- package/docs/AddressRequestModel.md +0 -0
- package/docs/AdminNumberPortDTO.md +0 -4
- package/docs/AdminOrderRequestDTO.md +0 -0
- package/docs/AdminUserModel.md +0 -0
- package/docs/AgentHoursGraphModel.md +0 -0
- package/docs/AgentHoursGraphMonthModel.md +0 -0
- package/docs/ApiLogEntity.md +0 -0
- package/docs/AreaCodeModel.md +0 -0
- package/docs/AttachmentModel.md +0 -0
- package/docs/AttributeSetEnum.md +0 -0
- package/docs/AuditLogEntity.md +0 -0
- package/docs/AuthCodeResponseModel.md +0 -0
- package/docs/BasicItemDTO.md +0 -0
- package/docs/BasicProductDTO.md +0 -0
- package/docs/BatchEntity.md +0 -0
- package/docs/CRMApi.md +1 -1
- package/docs/CallBarringModel.md +0 -0
- package/docs/Class3CXApi.md +1 -1
- package/docs/Class3CXInstallationWizardApi.md +1 -1
- package/docs/Class3CXInstallationsApi.md +1 -1
- package/docs/Class3CXIntegrationsApi.md +1 -1
- package/docs/Class3CXMultiTenantApi.md +1 -1
- package/docs/ClientDetailsModel.md +0 -0
- package/docs/ClientModel.md +0 -0
- package/docs/CompanyContractModel.md +0 -0
- package/docs/ContactInfoModel.md +0 -0
- package/docs/ConversationModel.md +0 -0
- package/docs/CourierPriceEntity.md +0 -0
- package/docs/CreditAccountEntity.md +0 -0
- package/docs/CrmContactDTO.md +0 -0
- package/docs/CustomerInformationModel.md +0 -0
- package/docs/CustomerItemRequestDTO.md +0 -0
- package/docs/CustomerOrderRequestDTO.md +0 -0
- package/docs/CustomerPriceListEnum.md +0 -0
- package/docs/CustomerSummaryReportDTO.md +0 -0
- package/docs/DdiRangeRequestModel.md +0 -0
- package/docs/DdiRangesRequestModel.md +0 -0
- package/docs/DetailedItemRequestDTO.md +0 -0
- package/docs/DetailedOrderRequestDTO.md +0 -0
- package/docs/DivertRequestModel.md +0 -0
- package/docs/DivertResponseModel.md +0 -0
- package/docs/EdTechProClientEntity.md +0 -0
- package/docs/EdTechProSchoolModel.md +0 -0
- package/docs/EdTechProSchoolsModel.md +0 -0
- package/docs/EdTechProSetupModel.md +0 -0
- package/docs/EventDTO.md +0 -0
- package/docs/EventRequestDTO.md +0 -0
- package/docs/EventSubscriptionModel.md +0 -0
- package/docs/EventUpdateDTO.md +0 -0
- package/docs/EventUpdateEntity.md +0 -0
- package/docs/EventUpdateRequestDTO.md +0 -0
- package/docs/FraudManagementModel.md +0 -0
- package/docs/FreshdeskCompanyTicketsModel.md +0 -0
- package/docs/FreshdeskTicketEntity.md +0 -0
- package/docs/FtpAccountsEntity.md +0 -0
- package/docs/GenericFileModel.md +0 -0
- package/docs/GetGetPrice200Response.md +0 -0
- package/docs/GetGetRecording200Response.md +0 -0
- package/docs/HostingChangeResponseModel.md +0 -0
- package/docs/HostingRegionDTO.md +0 -0
- package/docs/InstanceAutoFailoverEntity.md +0 -0
- package/docs/InstanceDeletionScheduleEntity.md +0 -0
- package/docs/InstanceEntity.md +0 -0
- package/docs/InstanceFailoverEntity.md +0 -0
- package/docs/InstanceMonitoringEntity.md +0 -0
- package/docs/InstanceMonitoringLogEntity.md +0 -0
- package/docs/InstanceScheduledTasksEntity.md +0 -0
- package/docs/InstanceTcxDetailsEntity.md +0 -0
- package/docs/InstanceUserCredentialsEntity.md +0 -0
- package/docs/ItemDTO.md +0 -0
- package/docs/ItemDiscountEntity.md +0 -0
- package/docs/ItemEntity.md +0 -0
- package/docs/LinkedOrderEntity.md +0 -0
- package/docs/MFARequiredModel.md +0 -0
- package/docs/MonthlyUsageModel.md +0 -0
- package/docs/MultiTenantChangeResponseModel.md +0 -0
- package/docs/MyPBXToolsApi.md +1 -1
- package/docs/NavigationModel.md +0 -0
- package/docs/NumberPortDTO.md +0 -0
- package/docs/NumberPortNoteDTO.md +0 -0
- package/docs/NumberPortRangeDTO.md +0 -0
- package/docs/NumberPortRangeRequestDTO.md +0 -0
- package/docs/NumberPortingApi.md +6 -61
- package/docs/NumberPortsModel.md +0 -0
- package/docs/OAuth20Api.md +4 -4
- package/docs/OfflineInstancesEntity.md +0 -0
- package/docs/OrderEntity.md +0 -0
- package/docs/OrderRequestModel.md +0 -0
- package/docs/OrderSummariesModel.md +0 -0
- package/docs/OrderSummaryDTO.md +0 -0
- package/docs/OrderTotalModel.md +0 -0
- package/docs/OrderedItemEntity.md +0 -0
- package/docs/OrdersApi.md +77 -1266
- package/docs/PatchSetTcxWizardCnameRequest.md +0 -0
- package/docs/PatchUpdateAccountContactPasswordRequest.md +0 -0
- package/docs/PortalAccountModel.md +0 -0
- package/docs/PortalLoginModel.md +0 -0
- package/docs/PostAddWebhook200Response.md +0 -0
- package/docs/PostGetClientCredentialsRequest.md +0 -0
- package/docs/PostGetProductForCustomerRequest.md +0 -0
- package/docs/PostGetProductRequest.md +0 -0
- package/docs/PriceListItemModel.md +0 -0
- package/docs/PricingApi.md +1 -1
- package/docs/PrizesEntity.md +0 -0
- package/docs/ProductPriceListItemModel.md +0 -0
- package/docs/ProductSearchResultsModel.md +0 -0
- package/docs/ProductSerialInfoModel.md +0 -0
- package/docs/ProductSummaryDTO.md +0 -0
- package/docs/ProductsApi.md +1 -59
- package/docs/PromoCodesEntity.md +0 -0
- package/docs/PromoItemsEntity.md +0 -0
- package/docs/ProvisioningApi.md +1 -1
- package/docs/ProvisioningModel.md +0 -0
- package/docs/ProvisioningRequestEntity.md +0 -0
- package/docs/RecordingBackupAzureModel.md +0 -0
- package/docs/RecordingsBackupInfoDTO.md +0 -0
- package/docs/ResourceNotReadyException.md +0 -0
- package/docs/RootAccessModel.md +0 -0
- package/docs/S3BucketEntity.md +0 -0
- package/docs/SIPTrunksApi.md +1 -1
- package/docs/SMSApi.md +1 -57
- package/docs/ScannedItemModel.md +0 -0
- package/docs/ScopeModel.md +0 -0
- package/docs/ServiceHealthDTO.md +0 -0
- package/docs/ServiceStatusDTO.md +0 -0
- package/docs/ServicesApi.md +1 -1
- package/docs/ShipmentAddressEntity.md +0 -0
- package/docs/ShipmentEntity.md +0 -0
- package/docs/ShipmentItemEntity.md +1 -1
- package/docs/ShippingApi.md +1 -1
- package/docs/ShippingConsignmentModel.md +0 -0
- package/docs/ShippingInformationDTO.md +0 -0
- package/docs/ShippingServiceDTO.md +0 -0
- package/docs/ShippingServiceModel.md +0 -0
- package/docs/ShippingServicesModel.md +0 -0
- package/docs/SipTrunkChangeResponseModel.md +0 -0
- package/docs/SipTrunkCreationRequestModel.md +0 -0
- package/docs/SipTrunkEntity.md +0 -0
- package/docs/SipTrunksResponseModel.md +0 -0
- package/docs/SmsAccountEntity.md +0 -0
- package/docs/SmsDataModel.md +0 -0
- package/docs/SmsMessageModel.md +0 -0
- package/docs/SmsNumbersEntity.md +0 -0
- package/docs/SmsPayloadModel.md +0 -0
- package/docs/SmsPhoneNumberModel.md +0 -0
- package/docs/SmsResponseModel.md +0 -0
- package/docs/SmsWhitelistEntity.md +0 -0
- package/docs/StockManagementApi.md +1 -1
- package/docs/StockOrderCourierEntity.md +0 -0
- package/docs/StockOrderDeductionModel.md +0 -0
- package/docs/StockOrderDeductionRequestModel.md +0 -0
- package/docs/StockOrderDeductionsEntity.md +0 -0
- package/docs/StockOrderEntity.md +0 -0
- package/docs/StockOrderItemEntity.md +0 -0
- package/docs/StockOrderItemModel.md +0 -0
- package/docs/StockOrderItemRequestModel.md +0 -0
- package/docs/StockOrderModel.md +0 -0
- package/docs/StockOrderProductEntity.md +0 -0
- package/docs/StockOrderRequestModel.md +0 -0
- package/docs/StockOrderSupplierEntity.md +0 -0
- package/docs/StockOrderSupplierModel.md +0 -0
- package/docs/StockOrdersModel.md +0 -0
- package/docs/StockProductModel.md +0 -0
- package/docs/StockProductPriceModel.md +0 -0
- package/docs/StockProductSummariesModel.md +0 -0
- package/docs/StockProductSummaryModel.md +0 -0
- package/docs/StockTransactionsEntity.md +0 -0
- package/docs/SupplierEntity.md +0 -0
- package/docs/SupplierItemEntity.md +0 -0
- package/docs/SupportTicketModel.md +0 -0
- package/docs/SystemApi.md +1 -1
- package/docs/TcxBackupEntity.md +0 -0
- package/docs/TcxBackupModel.md +0 -0
- package/docs/TcxBillingEntity.md +0 -0
- package/docs/TcxBulkLicenceDetailsModel.md +0 -0
- package/docs/TcxDeadLicenceEntity.md +0 -0
- package/docs/TcxExtsEntity.md +0 -0
- package/docs/TcxHostingPricingEntity.md +0 -0
- package/docs/TcxInstallationDetailsModel.md +0 -0
- package/docs/TcxInstallationModel.md +0 -0
- package/docs/TcxInstallationsModel.md +0 -0
- package/docs/TcxKeySummaryDTO.md +0 -0
- package/docs/TcxKeysEntity.md +0 -0
- package/docs/TcxLicenceDetailsErrorModel.md +0 -0
- package/docs/TcxLicenceDetailsModel.md +0 -0
- package/docs/TcxMacsEntity.md +0 -0
- package/docs/TcxMultiTenantModel.md +0 -0
- package/docs/TcxMultiTenantUserModel.md +0 -0
- package/docs/TcxMultiTenantsModel.md +0 -0
- package/docs/TcxNumbersEntity.md +0 -0
- package/docs/TcxOfficeHoursEntity.md +0 -0
- package/docs/TcxPhoneModel.md +0 -0
- package/docs/TcxPhonesEntity.md +0 -0
- package/docs/TcxRemoteStorageModel.md +0 -0
- package/docs/TcxSbcDTO.md +0 -2
- package/docs/TcxSbcEntity.md +0 -0
- package/docs/TcxSbcModel.md +0 -0
- package/docs/TcxSetupEntity.md +0 -0
- package/docs/TcxSetupsModel.md +0 -0
- package/docs/TcxSipTrunksEntity.md +0 -0
- package/docs/TcxTemplateXmlEnum.md +0 -0
- package/docs/TcxUsersEntity.md +0 -0
- package/docs/TcxWizardConfigModel.md +0 -0
- package/docs/TcxWizardModel.md +0 -0
- package/docs/TechSupportCompanySummaryDTO.md +0 -0
- package/docs/TicketSummaryModel.md +0 -0
- package/docs/TicketTimeDTO.md +0 -0
- package/docs/TicketsApi.md +1 -1
- package/docs/TokenResponseModel.md +0 -0
- package/docs/UpgradeOrderResponseModel.md +0 -0
- package/docs/UpgradeRequestModel.md +0 -0
- package/docs/UserEntity.md +0 -0
- package/docs/WebhooksApi.md +1 -1
- package/docs/XeroLogEntity.md +0 -0
- package/getEnums.php +0 -0
- package/git_push.sh +0 -0
- package/index.ts +1 -1
- package/models/CourierEnum.ts +0 -0
- package/models/EventStatusEnum.ts +0 -0
- package/models/EventTypeEnum.ts +0 -0
- package/models/PortStatusEnum.ts +0 -0
- package/models/PrinterEnum.ts +0 -0
- package/models/ServiceEnum.ts +0 -0
- package/models/ServiceHealthEnum.ts +0 -0
- package/models/ServiceStatusEnum.ts +0 -0
- package/models/UpdateTypeEnum.ts +0 -0
- package/openapitools.json +1 -1
- package/package.json +2 -2
- package/tsconfig.json +0 -0
- package/docs/BatchDTO.md +0 -59
- package/docs/CreditNoteDTO.md +0 -21
- package/docs/CreditNoteEntity.md +0 -29
- package/docs/CreditNoteItemDTO.md +0 -25
- package/docs/CreditNoteItemEntity.md +0 -29
- package/docs/CreditNoteItemModel.md +0 -29
- package/docs/CreditNoteModel.md +0 -31
- package/docs/NumberPortModel.md +0 -51
- package/docs/OrderDetailsDTO.md +0 -65
- package/docs/OrderItemDTO.md +0 -55
- package/docs/OrderedItemModel.md +0 -47
- package/docs/PostAddAdminNoteRequest.md +0 -20
- package/docs/PostAddOrderNoteRequest.md +0 -20
- package/docs/PostSplitOrderRequest.md +0 -20
- package/docs/PrinterEntity.md +0 -29
- package/docs/PutAllocateItemsRequest.md +0 -20
- package/docs/PutAllocateItemsRequestItemsInner.md +0 -22
- package/docs/ShipmentDTO.md +0 -41
- package/docs/ShipmentItemDTO.md +0 -23
- package/docs/ShipmentItemModel.md +0 -29
- package/docs/ShipmentModel.md +0 -43
- package/docs/ShipmentRequestDTO.md +0 -31
- package/docs/ShippingRequestDTO.md +0 -28
- package/docs/SmsAccountDTO.md +0 -31
- package/docs/SmsAccountRequestDTO.md +0 -29
- package/docs/SupplierItemModel.md +0 -35
- package/docs/SupplierModel.md +0 -37
- package/docs/TelephonySupportTicketModel.md +0 -41
- package/hs_err_pid16044.log +0 -249
- package/hs_err_pid44560.log +0 -249
- package/hs_err_pid53988.log +0 -249
- package/hs_err_pid58728.log +0 -40
package/docs/OrdersApi.md
CHANGED
|
@@ -1,1020 +1,22 @@
|
|
|
1
1
|
# OrdersApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *https://
|
|
3
|
+
All URIs are relative to *https://localhost*
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
-
|[**deleteDeleteBatch**](#deletedeletebatch) | **DELETE** /admin/orders/{id}/batches/{batch_id} | |
|
|
8
7
|
|[**deleteUpdateOrder**](#deleteupdateorder) | **DELETE** /orders/{id} | Delete Orders (Beta)|
|
|
9
|
-
|[**deleteUpdateShipment**](#deleteupdateshipment) | **DELETE** /admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id} | Delete Shipment (Admin)|
|
|
10
8
|
|[**getGetAdminEditableOrder**](#getgetadmineditableorder) | **GET** /admin/orders/{id}/views/editable | Get Editable Order (Admin)|
|
|
11
|
-
|[**getGetAdminOrderDetails**](#getgetadminorderdetails) | **GET** /admin/orders/{id}/details | Get Order Details (Admin)|
|
|
12
9
|
|[**getGetEditableOrder**](#getgeteditableorder) | **GET** /orders/{id}/views/editable | Get Editable Order (Beta)|
|
|
13
|
-
|[**getGetItemSerialInfo**](#getgetitemserialinfo) | **GET** /admin/orders/{id}/items/{item_id}/info | Get Item Serial Info (Admin)|
|
|
14
|
-
|[**getGetOrderPdf**](#getgetorderpdf) | **GET** /orders/{id}/pdf | Download Order PDF|
|
|
15
|
-
|[**getGetOrderSummary**](#getgetordersummary) | **GET** /admin/orders/{id}/summary | Get Order Summary (Admin)|
|
|
16
10
|
|[**getGetOrders**](#getgetorders) | **GET** /orders | Get Orders (Beta)|
|
|
17
|
-
|[**patchCompleteOrder**](#patchcompleteorder) | **PATCH** /admin/orders/{id}/complete | Mark Order As Complete (Admin)|
|
|
18
|
-
|[**postAddOrderNote**](#postaddordernote) | **POST** /admin/orders/{id}/notes | Add Order Note|
|
|
19
11
|
|[**postCreateAdminOrder**](#postcreateadminorder) | **POST** /admin/orders | Create An Order (Admin)|
|
|
20
|
-
|[**postCreateConsignment**](#postcreateconsignment) | **POST** /admin/orders/{id}/shipments/{shipment_id}/consignment | Create Shipping Consignment|
|
|
21
|
-
|[**postCreateShipment**](#postcreateshipment) | **POST** /admin/orders/{id}/batches/{batch_id}/shipments | Create Shipment (Admin)|
|
|
22
12
|
|[**postGetOrders**](#postgetorders) | **POST** /orders | Create An Order (Beta)|
|
|
23
|
-
|[**postIssueCredit**](#postissuecredit) | **POST** /admin/orders/{id}/credit | Issue Credit (Admin)|
|
|
24
|
-
|[**postPrintShippingLabel**](#postprintshippinglabel) | **POST** /admin/orders/{id}/shipments/{shipment_id}/label/print | Print Shipment Label|
|
|
25
|
-
|[**postSendOrderEmail**](#postsendorderemail) | **POST** /admin/orders/{id}/email/send | Send Order Email|
|
|
26
|
-
|[**postSendShipmentEmail**](#postsendshipmentemail) | **POST** /admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/send/email | Send Shipment Email (Admin)|
|
|
27
|
-
|[**postSendSupplierEmail**](#postsendsupplieremail) | **POST** /admin/orders/{id}/batches/{batch_id}/email/send | Send Supplier Email|
|
|
28
|
-
|[**postSplitOrder**](#postsplitorder) | **POST** /admin/orders/{id}/split | Split Order|
|
|
29
|
-
|[**putAllocateItems**](#putallocateitems) | **PUT** /admin/orders/{id}/items/allocate | Allocate Items To Supplier|
|
|
30
13
|
|[**putUpdateAdminOrder**](#putupdateadminorder) | **PUT** /admin/orders/{id} | Update An Order (Admin)|
|
|
31
|
-
|[**putUpdateBatchItem**](#putupdatebatchitem) | **PUT** /admin/orders/{id}/batches/{batch_id}/items/{item_id} | Update Batch Item (Admin)|
|
|
32
14
|
|[**putUpdateOrder**](#putupdateorder) | **PUT** /orders/{id} | Update An Order (Beta)|
|
|
33
|
-
|[**putUpdatePaymentStatus**](#putupdatepaymentstatus) | **PUT** /admin/orders/{id}/paid | Change Payment Status (Admin)|
|
|
34
|
-
|[**putUpdateShipment**](#putupdateshipment) | **PUT** /admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id} | Update Shipment (Admin)|
|
|
35
15
|
|
|
36
|
-
# **
|
|
37
|
-
>
|
|
38
|
-
|
|
39
|
-
Delete Batch (Admin)
|
|
40
|
-
|
|
41
|
-
### Example
|
|
42
|
-
|
|
43
|
-
```typescript
|
|
44
|
-
import {
|
|
45
|
-
OrdersApi,
|
|
46
|
-
Configuration
|
|
47
|
-
} from 'yellowgrid-api-ts';
|
|
48
|
-
|
|
49
|
-
const configuration = new Configuration();
|
|
50
|
-
const apiInstance = new OrdersApi(configuration);
|
|
51
|
-
|
|
52
|
-
let id: number; //Order ID (default to undefined)
|
|
53
|
-
let batchId: number; //Batch ID (default to undefined)
|
|
54
|
-
|
|
55
|
-
const { status, data } = await apiInstance.deleteDeleteBatch(
|
|
56
|
-
id,
|
|
57
|
-
batchId
|
|
58
|
-
);
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
### Parameters
|
|
62
|
-
|
|
63
|
-
|Name | Type | Description | Notes|
|
|
64
|
-
|------------- | ------------- | ------------- | -------------|
|
|
65
|
-
| **id** | [**number**] | Order ID | defaults to undefined|
|
|
66
|
-
| **batchId** | [**number**] | Batch ID | defaults to undefined|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
### Return type
|
|
70
|
-
|
|
71
|
-
void (empty response body)
|
|
72
|
-
|
|
73
|
-
### Authorization
|
|
74
|
-
|
|
75
|
-
No authorization required
|
|
76
|
-
|
|
77
|
-
### HTTP request headers
|
|
78
|
-
|
|
79
|
-
- **Content-Type**: Not defined
|
|
80
|
-
- **Accept**: Not defined
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
### HTTP response details
|
|
84
|
-
| Status code | Description | Response headers |
|
|
85
|
-
|-------------|-------------|------------------|
|
|
86
|
-
|**200** | No Response | - |
|
|
87
|
-
|**400** | Bad Request | - |
|
|
88
|
-
|**401** | Unauthorised | - |
|
|
89
|
-
|**403** | Access Denied | - |
|
|
90
|
-
|
|
91
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
92
|
-
|
|
93
|
-
# **deleteUpdateOrder**
|
|
94
|
-
> deleteUpdateOrder()
|
|
95
|
-
|
|
96
|
-
Delete Orders (Beta)
|
|
97
|
-
|
|
98
|
-
### Example
|
|
99
|
-
|
|
100
|
-
```typescript
|
|
101
|
-
import {
|
|
102
|
-
OrdersApi,
|
|
103
|
-
Configuration
|
|
104
|
-
} from 'yellowgrid-api-ts';
|
|
105
|
-
|
|
106
|
-
const configuration = new Configuration();
|
|
107
|
-
const apiInstance = new OrdersApi(configuration);
|
|
108
|
-
|
|
109
|
-
let id: number; //Order ID (default to undefined)
|
|
110
|
-
|
|
111
|
-
const { status, data } = await apiInstance.deleteUpdateOrder(
|
|
112
|
-
id
|
|
113
|
-
);
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
### Parameters
|
|
117
|
-
|
|
118
|
-
|Name | Type | Description | Notes|
|
|
119
|
-
|------------- | ------------- | ------------- | -------------|
|
|
120
|
-
| **id** | [**number**] | Order ID | defaults to undefined|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
### Return type
|
|
124
|
-
|
|
125
|
-
void (empty response body)
|
|
126
|
-
|
|
127
|
-
### Authorization
|
|
128
|
-
|
|
129
|
-
No authorization required
|
|
130
|
-
|
|
131
|
-
### HTTP request headers
|
|
132
|
-
|
|
133
|
-
- **Content-Type**: Not defined
|
|
134
|
-
- **Accept**: Not defined
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
### HTTP response details
|
|
138
|
-
| Status code | Description | Response headers |
|
|
139
|
-
|-------------|-------------|------------------|
|
|
140
|
-
|**200** | No Response | - |
|
|
141
|
-
|**400** | Bad Request | - |
|
|
142
|
-
|**401** | Unauthorised | - |
|
|
143
|
-
|**403** | Access Denied | - |
|
|
144
|
-
|
|
145
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
146
|
-
|
|
147
|
-
# **deleteUpdateShipment**
|
|
148
|
-
> deleteUpdateShipment()
|
|
149
|
-
|
|
150
|
-
Delete Shipment (Admin)
|
|
151
|
-
|
|
152
|
-
### Example
|
|
153
|
-
|
|
154
|
-
```typescript
|
|
155
|
-
import {
|
|
156
|
-
OrdersApi,
|
|
157
|
-
Configuration
|
|
158
|
-
} from 'yellowgrid-api-ts';
|
|
159
|
-
|
|
160
|
-
const configuration = new Configuration();
|
|
161
|
-
const apiInstance = new OrdersApi(configuration);
|
|
162
|
-
|
|
163
|
-
let id: number; //Order ID (default to undefined)
|
|
164
|
-
let batchId: number; //Batch ID (default to undefined)
|
|
165
|
-
let shipmentId: number; //Shipment ID (default to undefined)
|
|
166
|
-
|
|
167
|
-
const { status, data } = await apiInstance.deleteUpdateShipment(
|
|
168
|
-
id,
|
|
169
|
-
batchId,
|
|
170
|
-
shipmentId
|
|
171
|
-
);
|
|
172
|
-
```
|
|
173
|
-
|
|
174
|
-
### Parameters
|
|
175
|
-
|
|
176
|
-
|Name | Type | Description | Notes|
|
|
177
|
-
|------------- | ------------- | ------------- | -------------|
|
|
178
|
-
| **id** | [**number**] | Order ID | defaults to undefined|
|
|
179
|
-
| **batchId** | [**number**] | Batch ID | defaults to undefined|
|
|
180
|
-
| **shipmentId** | [**number**] | Shipment ID | defaults to undefined|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
### Return type
|
|
184
|
-
|
|
185
|
-
void (empty response body)
|
|
186
|
-
|
|
187
|
-
### Authorization
|
|
188
|
-
|
|
189
|
-
No authorization required
|
|
190
|
-
|
|
191
|
-
### HTTP request headers
|
|
192
|
-
|
|
193
|
-
- **Content-Type**: Not defined
|
|
194
|
-
- **Accept**: Not defined
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
### HTTP response details
|
|
198
|
-
| Status code | Description | Response headers |
|
|
199
|
-
|-------------|-------------|------------------|
|
|
200
|
-
|**200** | No Response | - |
|
|
201
|
-
|**400** | Bad Request | - |
|
|
202
|
-
|**401** | Unauthorised | - |
|
|
203
|
-
|**403** | Access Denied | - |
|
|
204
|
-
|
|
205
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
206
|
-
|
|
207
|
-
# **getGetAdminEditableOrder**
|
|
208
|
-
> AdminOrderRequestDTO getGetAdminEditableOrder()
|
|
209
|
-
|
|
210
|
-
Get Editable Order (Admin)
|
|
211
|
-
|
|
212
|
-
### Example
|
|
213
|
-
|
|
214
|
-
```typescript
|
|
215
|
-
import {
|
|
216
|
-
OrdersApi,
|
|
217
|
-
Configuration
|
|
218
|
-
} from 'yellowgrid-api-ts';
|
|
219
|
-
|
|
220
|
-
const configuration = new Configuration();
|
|
221
|
-
const apiInstance = new OrdersApi(configuration);
|
|
222
|
-
|
|
223
|
-
let id: number; //Order ID (default to undefined)
|
|
224
|
-
|
|
225
|
-
const { status, data } = await apiInstance.getGetAdminEditableOrder(
|
|
226
|
-
id
|
|
227
|
-
);
|
|
228
|
-
```
|
|
229
|
-
|
|
230
|
-
### Parameters
|
|
231
|
-
|
|
232
|
-
|Name | Type | Description | Notes|
|
|
233
|
-
|------------- | ------------- | ------------- | -------------|
|
|
234
|
-
| **id** | [**number**] | Order ID | defaults to undefined|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
### Return type
|
|
238
|
-
|
|
239
|
-
**AdminOrderRequestDTO**
|
|
240
|
-
|
|
241
|
-
### Authorization
|
|
242
|
-
|
|
243
|
-
No authorization required
|
|
244
|
-
|
|
245
|
-
### HTTP request headers
|
|
246
|
-
|
|
247
|
-
- **Content-Type**: Not defined
|
|
248
|
-
- **Accept**: application/json
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
### HTTP response details
|
|
252
|
-
| Status code | Description | Response headers |
|
|
253
|
-
|-------------|-------------|------------------|
|
|
254
|
-
|**200** | Order Request | - |
|
|
255
|
-
|**400** | Bad Request | - |
|
|
256
|
-
|**401** | Unauthorised | - |
|
|
257
|
-
|**403** | Access Denied | - |
|
|
258
|
-
|
|
259
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
260
|
-
|
|
261
|
-
# **getGetAdminOrderDetails**
|
|
262
|
-
> OrderDetailsDTO getGetAdminOrderDetails()
|
|
263
|
-
|
|
264
|
-
Get Order Details (Admin)
|
|
265
|
-
|
|
266
|
-
### Example
|
|
267
|
-
|
|
268
|
-
```typescript
|
|
269
|
-
import {
|
|
270
|
-
OrdersApi,
|
|
271
|
-
Configuration
|
|
272
|
-
} from 'yellowgrid-api-ts';
|
|
273
|
-
|
|
274
|
-
const configuration = new Configuration();
|
|
275
|
-
const apiInstance = new OrdersApi(configuration);
|
|
276
|
-
|
|
277
|
-
let id: number; //Order ID (default to undefined)
|
|
278
|
-
|
|
279
|
-
const { status, data } = await apiInstance.getGetAdminOrderDetails(
|
|
280
|
-
id
|
|
281
|
-
);
|
|
282
|
-
```
|
|
283
|
-
|
|
284
|
-
### Parameters
|
|
285
|
-
|
|
286
|
-
|Name | Type | Description | Notes|
|
|
287
|
-
|------------- | ------------- | ------------- | -------------|
|
|
288
|
-
| **id** | [**number**] | Order ID | defaults to undefined|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
### Return type
|
|
292
|
-
|
|
293
|
-
**OrderDetailsDTO**
|
|
294
|
-
|
|
295
|
-
### Authorization
|
|
296
|
-
|
|
297
|
-
No authorization required
|
|
298
|
-
|
|
299
|
-
### HTTP request headers
|
|
300
|
-
|
|
301
|
-
- **Content-Type**: Not defined
|
|
302
|
-
- **Accept**: application/json
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
### HTTP response details
|
|
306
|
-
| Status code | Description | Response headers |
|
|
307
|
-
|-------------|-------------|------------------|
|
|
308
|
-
|**200** | Order Details | - |
|
|
309
|
-
|**400** | Bad Request | - |
|
|
310
|
-
|**401** | Unauthorised | - |
|
|
311
|
-
|**403** | Access Denied | - |
|
|
312
|
-
|
|
313
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
314
|
-
|
|
315
|
-
# **getGetEditableOrder**
|
|
316
|
-
> DetailedOrderRequestDTO getGetEditableOrder()
|
|
317
|
-
|
|
318
|
-
Get Editable Order (Beta)
|
|
319
|
-
|
|
320
|
-
### Example
|
|
321
|
-
|
|
322
|
-
```typescript
|
|
323
|
-
import {
|
|
324
|
-
OrdersApi,
|
|
325
|
-
Configuration
|
|
326
|
-
} from 'yellowgrid-api-ts';
|
|
327
|
-
|
|
328
|
-
const configuration = new Configuration();
|
|
329
|
-
const apiInstance = new OrdersApi(configuration);
|
|
330
|
-
|
|
331
|
-
let id: number; //Order ID (default to undefined)
|
|
332
|
-
|
|
333
|
-
const { status, data } = await apiInstance.getGetEditableOrder(
|
|
334
|
-
id
|
|
335
|
-
);
|
|
336
|
-
```
|
|
337
|
-
|
|
338
|
-
### Parameters
|
|
339
|
-
|
|
340
|
-
|Name | Type | Description | Notes|
|
|
341
|
-
|------------- | ------------- | ------------- | -------------|
|
|
342
|
-
| **id** | [**number**] | Order ID | defaults to undefined|
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
### Return type
|
|
346
|
-
|
|
347
|
-
**DetailedOrderRequestDTO**
|
|
348
|
-
|
|
349
|
-
### Authorization
|
|
350
|
-
|
|
351
|
-
No authorization required
|
|
352
|
-
|
|
353
|
-
### HTTP request headers
|
|
354
|
-
|
|
355
|
-
- **Content-Type**: Not defined
|
|
356
|
-
- **Accept**: application/json
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
### HTTP response details
|
|
360
|
-
| Status code | Description | Response headers |
|
|
361
|
-
|-------------|-------------|------------------|
|
|
362
|
-
|**200** | Order Request | - |
|
|
363
|
-
|**400** | Bad Request | - |
|
|
364
|
-
|**401** | Unauthorised | - |
|
|
365
|
-
|**403** | Access Denied | - |
|
|
366
|
-
|
|
367
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
368
|
-
|
|
369
|
-
# **getGetItemSerialInfo**
|
|
370
|
-
> ProductSerialInfoModel getGetItemSerialInfo()
|
|
371
|
-
|
|
372
|
-
Get Item Serial Info (Admin)
|
|
373
|
-
|
|
374
|
-
### Example
|
|
375
|
-
|
|
376
|
-
```typescript
|
|
377
|
-
import {
|
|
378
|
-
OrdersApi,
|
|
379
|
-
Configuration
|
|
380
|
-
} from 'yellowgrid-api-ts';
|
|
381
|
-
|
|
382
|
-
const configuration = new Configuration();
|
|
383
|
-
const apiInstance = new OrdersApi(configuration);
|
|
384
|
-
|
|
385
|
-
let id: number; //Order ID (default to undefined)
|
|
386
|
-
let itemId: number; //Shipment Item ID (default to undefined)
|
|
387
|
-
|
|
388
|
-
const { status, data } = await apiInstance.getGetItemSerialInfo(
|
|
389
|
-
id,
|
|
390
|
-
itemId
|
|
391
|
-
);
|
|
392
|
-
```
|
|
393
|
-
|
|
394
|
-
### Parameters
|
|
395
|
-
|
|
396
|
-
|Name | Type | Description | Notes|
|
|
397
|
-
|------------- | ------------- | ------------- | -------------|
|
|
398
|
-
| **id** | [**number**] | Order ID | defaults to undefined|
|
|
399
|
-
| **itemId** | [**number**] | Shipment Item ID | defaults to undefined|
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
### Return type
|
|
403
|
-
|
|
404
|
-
**ProductSerialInfoModel**
|
|
405
|
-
|
|
406
|
-
### Authorization
|
|
407
|
-
|
|
408
|
-
No authorization required
|
|
409
|
-
|
|
410
|
-
### HTTP request headers
|
|
411
|
-
|
|
412
|
-
- **Content-Type**: Not defined
|
|
413
|
-
- **Accept**: application/json
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
### HTTP response details
|
|
417
|
-
| Status code | Description | Response headers |
|
|
418
|
-
|-------------|-------------|------------------|
|
|
419
|
-
|**200** | Serial Info | - |
|
|
420
|
-
|**400** | Bad Request | - |
|
|
421
|
-
|**401** | Unauthorised | - |
|
|
422
|
-
|**403** | Access Denied | - |
|
|
423
|
-
|
|
424
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
425
|
-
|
|
426
|
-
# **getGetOrderPdf**
|
|
427
|
-
> File getGetOrderPdf()
|
|
428
|
-
|
|
429
|
-
Download Order PDF
|
|
430
|
-
|
|
431
|
-
### Example
|
|
432
|
-
|
|
433
|
-
```typescript
|
|
434
|
-
import {
|
|
435
|
-
OrdersApi,
|
|
436
|
-
Configuration
|
|
437
|
-
} from 'yellowgrid-api-ts';
|
|
438
|
-
|
|
439
|
-
const configuration = new Configuration();
|
|
440
|
-
const apiInstance = new OrdersApi(configuration);
|
|
441
|
-
|
|
442
|
-
let id: number; //Order ID (default to undefined)
|
|
443
|
-
|
|
444
|
-
const { status, data } = await apiInstance.getGetOrderPdf(
|
|
445
|
-
id
|
|
446
|
-
);
|
|
447
|
-
```
|
|
448
|
-
|
|
449
|
-
### Parameters
|
|
450
|
-
|
|
451
|
-
|Name | Type | Description | Notes|
|
|
452
|
-
|------------- | ------------- | ------------- | -------------|
|
|
453
|
-
| **id** | [**number**] | Order ID | defaults to undefined|
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
### Return type
|
|
457
|
-
|
|
458
|
-
**File**
|
|
459
|
-
|
|
460
|
-
### Authorization
|
|
461
|
-
|
|
462
|
-
No authorization required
|
|
463
|
-
|
|
464
|
-
### HTTP request headers
|
|
465
|
-
|
|
466
|
-
- **Content-Type**: Not defined
|
|
467
|
-
- **Accept**: application/pdf
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
### HTTP response details
|
|
471
|
-
| Status code | Description | Response headers |
|
|
472
|
-
|-------------|-------------|------------------|
|
|
473
|
-
|**200** | Order PDF | - |
|
|
474
|
-
|**400** | Bad Request | - |
|
|
475
|
-
|**401** | Unauthorised | - |
|
|
476
|
-
|**403** | Access Denied | - |
|
|
477
|
-
|
|
478
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
479
|
-
|
|
480
|
-
# **getGetOrderSummary**
|
|
481
|
-
> OrderSummaryDTO getGetOrderSummary()
|
|
482
|
-
|
|
483
|
-
Get Order Summary (Admin)
|
|
484
|
-
|
|
485
|
-
### Example
|
|
486
|
-
|
|
487
|
-
```typescript
|
|
488
|
-
import {
|
|
489
|
-
OrdersApi,
|
|
490
|
-
Configuration
|
|
491
|
-
} from 'yellowgrid-api-ts';
|
|
492
|
-
|
|
493
|
-
const configuration = new Configuration();
|
|
494
|
-
const apiInstance = new OrdersApi(configuration);
|
|
495
|
-
|
|
496
|
-
let id: number; //Order ID (default to undefined)
|
|
497
|
-
|
|
498
|
-
const { status, data } = await apiInstance.getGetOrderSummary(
|
|
499
|
-
id
|
|
500
|
-
);
|
|
501
|
-
```
|
|
502
|
-
|
|
503
|
-
### Parameters
|
|
504
|
-
|
|
505
|
-
|Name | Type | Description | Notes|
|
|
506
|
-
|------------- | ------------- | ------------- | -------------|
|
|
507
|
-
| **id** | [**number**] | Order ID | defaults to undefined|
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
### Return type
|
|
511
|
-
|
|
512
|
-
**OrderSummaryDTO**
|
|
513
|
-
|
|
514
|
-
### Authorization
|
|
515
|
-
|
|
516
|
-
No authorization required
|
|
517
|
-
|
|
518
|
-
### HTTP request headers
|
|
519
|
-
|
|
520
|
-
- **Content-Type**: Not defined
|
|
521
|
-
- **Accept**: application/json
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
### HTTP response details
|
|
525
|
-
| Status code | Description | Response headers |
|
|
526
|
-
|-------------|-------------|------------------|
|
|
527
|
-
|**200** | Order Summary | - |
|
|
528
|
-
|**400** | Bad Request | - |
|
|
529
|
-
|**401** | Unauthorised | - |
|
|
530
|
-
|**403** | Access Denied | - |
|
|
531
|
-
|
|
532
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
533
|
-
|
|
534
|
-
# **getGetOrders**
|
|
535
|
-
> OrderSummariesModel getGetOrders()
|
|
536
|
-
|
|
537
|
-
Get Orders (Beta)
|
|
538
|
-
|
|
539
|
-
### Example
|
|
540
|
-
|
|
541
|
-
```typescript
|
|
542
|
-
import {
|
|
543
|
-
OrdersApi,
|
|
544
|
-
Configuration
|
|
545
|
-
} from 'yellowgrid-api-ts';
|
|
546
|
-
|
|
547
|
-
const configuration = new Configuration();
|
|
548
|
-
const apiInstance = new OrdersApi(configuration);
|
|
549
|
-
|
|
550
|
-
let pageSize: number; //Number Of Results (optional) (default to 20)
|
|
551
|
-
let page: number; //Page Number (optional) (default to 1)
|
|
552
|
-
let search: string; //Search (optional) (default to undefined)
|
|
553
|
-
let fulfillable: boolean; //Fulfillable (optional) (default to undefined)
|
|
554
|
-
let status: 'PAID' | 'INVOICE_PAID' | 'UNPAID' | 'QUOTE'; //Status (optional) (default to undefined)
|
|
555
|
-
let filter: 'OUTSTANDING' | 'QUOTES' | 'ALL' | 'BACK_ORDERS'; //Filter (optional) (default to undefined)
|
|
556
|
-
let customerId: number; //Customer ID (optional) (default to undefined)
|
|
557
|
-
|
|
558
|
-
const { status, data } = await apiInstance.getGetOrders(
|
|
559
|
-
pageSize,
|
|
560
|
-
page,
|
|
561
|
-
search,
|
|
562
|
-
fulfillable,
|
|
563
|
-
status,
|
|
564
|
-
filter,
|
|
565
|
-
customerId
|
|
566
|
-
);
|
|
567
|
-
```
|
|
568
|
-
|
|
569
|
-
### Parameters
|
|
570
|
-
|
|
571
|
-
|Name | Type | Description | Notes|
|
|
572
|
-
|------------- | ------------- | ------------- | -------------|
|
|
573
|
-
| **pageSize** | [**number**] | Number Of Results | (optional) defaults to 20|
|
|
574
|
-
| **page** | [**number**] | Page Number | (optional) defaults to 1|
|
|
575
|
-
| **search** | [**string**] | Search | (optional) defaults to undefined|
|
|
576
|
-
| **fulfillable** | [**boolean**] | Fulfillable | (optional) defaults to undefined|
|
|
577
|
-
| **status** | [**'PAID' | 'INVOICE_PAID' | 'UNPAID' | 'QUOTE'**]**Array<'PAID' | 'INVOICE_PAID' | 'UNPAID' | 'QUOTE'>** | Status | (optional) defaults to undefined|
|
|
578
|
-
| **filter** | [**'OUTSTANDING' | 'QUOTES' | 'ALL' | 'BACK_ORDERS'**]**Array<'OUTSTANDING' | 'QUOTES' | 'ALL' | 'BACK_ORDERS'>** | Filter | (optional) defaults to undefined|
|
|
579
|
-
| **customerId** | [**number**] | Customer ID | (optional) defaults to undefined|
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
### Return type
|
|
583
|
-
|
|
584
|
-
**OrderSummariesModel**
|
|
585
|
-
|
|
586
|
-
### Authorization
|
|
587
|
-
|
|
588
|
-
No authorization required
|
|
589
|
-
|
|
590
|
-
### HTTP request headers
|
|
591
|
-
|
|
592
|
-
- **Content-Type**: Not defined
|
|
593
|
-
- **Accept**: application/json
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
### HTTP response details
|
|
597
|
-
| Status code | Description | Response headers |
|
|
598
|
-
|-------------|-------------|------------------|
|
|
599
|
-
|**200** | Order Summaries | - |
|
|
600
|
-
|**400** | Bad Request | - |
|
|
601
|
-
|**401** | Unauthorised | - |
|
|
602
|
-
|**403** | Access Denied | - |
|
|
603
|
-
|
|
604
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
605
|
-
|
|
606
|
-
# **patchCompleteOrder**
|
|
607
|
-
> OrderDetailsDTO patchCompleteOrder()
|
|
608
|
-
|
|
609
|
-
Mark Order As Complete (Admin)
|
|
610
|
-
|
|
611
|
-
### Example
|
|
612
|
-
|
|
613
|
-
```typescript
|
|
614
|
-
import {
|
|
615
|
-
OrdersApi,
|
|
616
|
-
Configuration
|
|
617
|
-
} from 'yellowgrid-api-ts';
|
|
618
|
-
|
|
619
|
-
const configuration = new Configuration();
|
|
620
|
-
const apiInstance = new OrdersApi(configuration);
|
|
621
|
-
|
|
622
|
-
let id: number; //Order ID (default to undefined)
|
|
623
|
-
|
|
624
|
-
const { status, data } = await apiInstance.patchCompleteOrder(
|
|
625
|
-
id
|
|
626
|
-
);
|
|
627
|
-
```
|
|
628
|
-
|
|
629
|
-
### Parameters
|
|
630
|
-
|
|
631
|
-
|Name | Type | Description | Notes|
|
|
632
|
-
|------------- | ------------- | ------------- | -------------|
|
|
633
|
-
| **id** | [**number**] | Order ID | defaults to undefined|
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
### Return type
|
|
637
|
-
|
|
638
|
-
**OrderDetailsDTO**
|
|
639
|
-
|
|
640
|
-
### Authorization
|
|
641
|
-
|
|
642
|
-
No authorization required
|
|
643
|
-
|
|
644
|
-
### HTTP request headers
|
|
645
|
-
|
|
646
|
-
- **Content-Type**: Not defined
|
|
647
|
-
- **Accept**: application/json
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
### HTTP response details
|
|
651
|
-
| Status code | Description | Response headers |
|
|
652
|
-
|-------------|-------------|------------------|
|
|
653
|
-
|**200** | Order Details | - |
|
|
654
|
-
|**400** | Bad Request | - |
|
|
655
|
-
|**401** | Unauthorised | - |
|
|
656
|
-
|**403** | Access Denied | - |
|
|
657
|
-
|
|
658
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
659
|
-
|
|
660
|
-
# **postAddOrderNote**
|
|
661
|
-
> AuditLogEntity postAddOrderNote()
|
|
662
|
-
|
|
663
|
-
Add Order Note
|
|
664
|
-
|
|
665
|
-
### Example
|
|
666
|
-
|
|
667
|
-
```typescript
|
|
668
|
-
import {
|
|
669
|
-
OrdersApi,
|
|
670
|
-
Configuration,
|
|
671
|
-
PostAddOrderNoteRequest
|
|
672
|
-
} from 'yellowgrid-api-ts';
|
|
673
|
-
|
|
674
|
-
const configuration = new Configuration();
|
|
675
|
-
const apiInstance = new OrdersApi(configuration);
|
|
676
|
-
|
|
677
|
-
let id: number; //Order ID (default to undefined)
|
|
678
|
-
let postAddOrderNoteRequest: PostAddOrderNoteRequest; // (optional)
|
|
679
|
-
|
|
680
|
-
const { status, data } = await apiInstance.postAddOrderNote(
|
|
681
|
-
id,
|
|
682
|
-
postAddOrderNoteRequest
|
|
683
|
-
);
|
|
684
|
-
```
|
|
685
|
-
|
|
686
|
-
### Parameters
|
|
687
|
-
|
|
688
|
-
|Name | Type | Description | Notes|
|
|
689
|
-
|------------- | ------------- | ------------- | -------------|
|
|
690
|
-
| **postAddOrderNoteRequest** | **PostAddOrderNoteRequest**| | |
|
|
691
|
-
| **id** | [**number**] | Order ID | defaults to undefined|
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
### Return type
|
|
695
|
-
|
|
696
|
-
**AuditLogEntity**
|
|
697
|
-
|
|
698
|
-
### Authorization
|
|
699
|
-
|
|
700
|
-
No authorization required
|
|
701
|
-
|
|
702
|
-
### HTTP request headers
|
|
703
|
-
|
|
704
|
-
- **Content-Type**: application/json
|
|
705
|
-
- **Accept**: application/json
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
### HTTP response details
|
|
709
|
-
| Status code | Description | Response headers |
|
|
710
|
-
|-------------|-------------|------------------|
|
|
711
|
-
|**200** | Audit Log Entry | - |
|
|
712
|
-
|**400** | Bad Request | - |
|
|
713
|
-
|**401** | Unauthorised | - |
|
|
714
|
-
|**403** | Access Denied | - |
|
|
715
|
-
|
|
716
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
717
|
-
|
|
718
|
-
# **postCreateAdminOrder**
|
|
719
|
-
> Array<OrderSummaryDTO> postCreateAdminOrder()
|
|
720
|
-
|
|
721
|
-
Create An Order (Admin)
|
|
722
|
-
|
|
723
|
-
### Example
|
|
724
|
-
|
|
725
|
-
```typescript
|
|
726
|
-
import {
|
|
727
|
-
OrdersApi,
|
|
728
|
-
Configuration,
|
|
729
|
-
AdminOrderRequestDTO
|
|
730
|
-
} from 'yellowgrid-api-ts';
|
|
731
|
-
|
|
732
|
-
const configuration = new Configuration();
|
|
733
|
-
const apiInstance = new OrdersApi(configuration);
|
|
734
|
-
|
|
735
|
-
let readonly: boolean; //Readonly Order (optional) (default to undefined)
|
|
736
|
-
let adminOrderRequestDTO: AdminOrderRequestDTO; //Admin Order Request (optional)
|
|
737
|
-
|
|
738
|
-
const { status, data } = await apiInstance.postCreateAdminOrder(
|
|
739
|
-
readonly,
|
|
740
|
-
adminOrderRequestDTO
|
|
741
|
-
);
|
|
742
|
-
```
|
|
743
|
-
|
|
744
|
-
### Parameters
|
|
745
|
-
|
|
746
|
-
|Name | Type | Description | Notes|
|
|
747
|
-
|------------- | ------------- | ------------- | -------------|
|
|
748
|
-
| **adminOrderRequestDTO** | **AdminOrderRequestDTO**| Admin Order Request | |
|
|
749
|
-
| **readonly** | [**boolean**] | Readonly Order | (optional) defaults to undefined|
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
### Return type
|
|
753
|
-
|
|
754
|
-
**Array<OrderSummaryDTO>**
|
|
755
|
-
|
|
756
|
-
### Authorization
|
|
757
|
-
|
|
758
|
-
No authorization required
|
|
759
|
-
|
|
760
|
-
### HTTP request headers
|
|
761
|
-
|
|
762
|
-
- **Content-Type**: application/json
|
|
763
|
-
- **Accept**: application/json
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
### HTTP response details
|
|
767
|
-
| Status code | Description | Response headers |
|
|
768
|
-
|-------------|-------------|------------------|
|
|
769
|
-
|**200** | Order Summaries | - |
|
|
770
|
-
|**400** | Bad Request | - |
|
|
771
|
-
|**401** | Unauthorised | - |
|
|
772
|
-
|**403** | Access Denied | - |
|
|
773
|
-
|
|
774
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
775
|
-
|
|
776
|
-
# **postCreateConsignment**
|
|
777
|
-
> ShipmentDTO postCreateConsignment()
|
|
778
|
-
|
|
779
|
-
Create Shipping Consignment
|
|
780
|
-
|
|
781
|
-
### Example
|
|
782
|
-
|
|
783
|
-
```typescript
|
|
784
|
-
import {
|
|
785
|
-
OrdersApi,
|
|
786
|
-
Configuration,
|
|
787
|
-
ShippingRequestDTO
|
|
788
|
-
} from 'yellowgrid-api-ts';
|
|
789
|
-
|
|
790
|
-
const configuration = new Configuration();
|
|
791
|
-
const apiInstance = new OrdersApi(configuration);
|
|
792
|
-
|
|
793
|
-
let id: number; //Order ID (default to undefined)
|
|
794
|
-
let shipmentId: number; //Shipment ID (default to undefined)
|
|
795
|
-
let shippingRequestDTO: ShippingRequestDTO; //Shipping Request (optional)
|
|
796
|
-
|
|
797
|
-
const { status, data } = await apiInstance.postCreateConsignment(
|
|
798
|
-
id,
|
|
799
|
-
shipmentId,
|
|
800
|
-
shippingRequestDTO
|
|
801
|
-
);
|
|
802
|
-
```
|
|
803
|
-
|
|
804
|
-
### Parameters
|
|
805
|
-
|
|
806
|
-
|Name | Type | Description | Notes|
|
|
807
|
-
|------------- | ------------- | ------------- | -------------|
|
|
808
|
-
| **shippingRequestDTO** | **ShippingRequestDTO**| Shipping Request | |
|
|
809
|
-
| **id** | [**number**] | Order ID | defaults to undefined|
|
|
810
|
-
| **shipmentId** | [**number**] | Shipment ID | defaults to undefined|
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
### Return type
|
|
814
|
-
|
|
815
|
-
**ShipmentDTO**
|
|
816
|
-
|
|
817
|
-
### Authorization
|
|
818
|
-
|
|
819
|
-
No authorization required
|
|
820
|
-
|
|
821
|
-
### HTTP request headers
|
|
822
|
-
|
|
823
|
-
- **Content-Type**: application/json
|
|
824
|
-
- **Accept**: application/json
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
### HTTP response details
|
|
828
|
-
| Status code | Description | Response headers |
|
|
829
|
-
|-------------|-------------|------------------|
|
|
830
|
-
|**200** | Shipping Information | - |
|
|
831
|
-
|**400** | Bad Request | - |
|
|
832
|
-
|**401** | Unauthorised | - |
|
|
833
|
-
|**403** | Access Denied | - |
|
|
834
|
-
|
|
835
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
836
|
-
|
|
837
|
-
# **postCreateShipment**
|
|
838
|
-
> ShipmentDTO postCreateShipment()
|
|
839
|
-
|
|
840
|
-
Create Shipment (Admin)
|
|
841
|
-
|
|
842
|
-
### Example
|
|
843
|
-
|
|
844
|
-
```typescript
|
|
845
|
-
import {
|
|
846
|
-
OrdersApi,
|
|
847
|
-
Configuration,
|
|
848
|
-
ShipmentRequestDTO
|
|
849
|
-
} from 'yellowgrid-api-ts';
|
|
850
|
-
|
|
851
|
-
const configuration = new Configuration();
|
|
852
|
-
const apiInstance = new OrdersApi(configuration);
|
|
853
|
-
|
|
854
|
-
let id: number; //Order ID (default to undefined)
|
|
855
|
-
let batchId: number; //Batch ID (default to undefined)
|
|
856
|
-
let shipmentRequestDTO: ShipmentRequestDTO; //Shipment Request (optional)
|
|
857
|
-
|
|
858
|
-
const { status, data } = await apiInstance.postCreateShipment(
|
|
859
|
-
id,
|
|
860
|
-
batchId,
|
|
861
|
-
shipmentRequestDTO
|
|
862
|
-
);
|
|
863
|
-
```
|
|
864
|
-
|
|
865
|
-
### Parameters
|
|
866
|
-
|
|
867
|
-
|Name | Type | Description | Notes|
|
|
868
|
-
|------------- | ------------- | ------------- | -------------|
|
|
869
|
-
| **shipmentRequestDTO** | **ShipmentRequestDTO**| Shipment Request | |
|
|
870
|
-
| **id** | [**number**] | Order ID | defaults to undefined|
|
|
871
|
-
| **batchId** | [**number**] | Batch ID | defaults to undefined|
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
### Return type
|
|
875
|
-
|
|
876
|
-
**ShipmentDTO**
|
|
877
|
-
|
|
878
|
-
### Authorization
|
|
879
|
-
|
|
880
|
-
No authorization required
|
|
881
|
-
|
|
882
|
-
### HTTP request headers
|
|
883
|
-
|
|
884
|
-
- **Content-Type**: application/json
|
|
885
|
-
- **Accept**: application/json
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
### HTTP response details
|
|
889
|
-
| Status code | Description | Response headers |
|
|
890
|
-
|-------------|-------------|------------------|
|
|
891
|
-
|**200** | Shipment | - |
|
|
892
|
-
|**400** | Bad Request | - |
|
|
893
|
-
|**401** | Unauthorised | - |
|
|
894
|
-
|**403** | Access Denied | - |
|
|
895
|
-
|
|
896
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
897
|
-
|
|
898
|
-
# **postGetOrders**
|
|
899
|
-
> Array<OrderSummaryDTO> postGetOrders()
|
|
900
|
-
|
|
901
|
-
Create An Order (Beta)
|
|
902
|
-
|
|
903
|
-
### Example
|
|
904
|
-
|
|
905
|
-
```typescript
|
|
906
|
-
import {
|
|
907
|
-
OrdersApi,
|
|
908
|
-
Configuration,
|
|
909
|
-
CustomerOrderRequestDTO
|
|
910
|
-
} from 'yellowgrid-api-ts';
|
|
911
|
-
|
|
912
|
-
const configuration = new Configuration();
|
|
913
|
-
const apiInstance = new OrdersApi(configuration);
|
|
914
|
-
|
|
915
|
-
let readonly: boolean; //Readonly Order (optional) (default to undefined)
|
|
916
|
-
let customerOrderRequestDTO: CustomerOrderRequestDTO; //Order Request (optional)
|
|
917
|
-
|
|
918
|
-
const { status, data } = await apiInstance.postGetOrders(
|
|
919
|
-
readonly,
|
|
920
|
-
customerOrderRequestDTO
|
|
921
|
-
);
|
|
922
|
-
```
|
|
923
|
-
|
|
924
|
-
### Parameters
|
|
925
|
-
|
|
926
|
-
|Name | Type | Description | Notes|
|
|
927
|
-
|------------- | ------------- | ------------- | -------------|
|
|
928
|
-
| **customerOrderRequestDTO** | **CustomerOrderRequestDTO**| Order Request | |
|
|
929
|
-
| **readonly** | [**boolean**] | Readonly Order | (optional) defaults to undefined|
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
### Return type
|
|
933
|
-
|
|
934
|
-
**Array<OrderSummaryDTO>**
|
|
935
|
-
|
|
936
|
-
### Authorization
|
|
937
|
-
|
|
938
|
-
No authorization required
|
|
939
|
-
|
|
940
|
-
### HTTP request headers
|
|
941
|
-
|
|
942
|
-
- **Content-Type**: application/json
|
|
943
|
-
- **Accept**: application/json
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
### HTTP response details
|
|
947
|
-
| Status code | Description | Response headers |
|
|
948
|
-
|-------------|-------------|------------------|
|
|
949
|
-
|**200** | Order Summaries | - |
|
|
950
|
-
|**400** | Bad Request | - |
|
|
951
|
-
|**401** | Unauthorised | - |
|
|
952
|
-
|**403** | Access Denied | - |
|
|
953
|
-
|
|
954
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
955
|
-
|
|
956
|
-
# **postIssueCredit**
|
|
957
|
-
> CreditNoteModel postIssueCredit()
|
|
958
|
-
|
|
959
|
-
Issue Credit (Admin)
|
|
960
|
-
|
|
961
|
-
### Example
|
|
962
|
-
|
|
963
|
-
```typescript
|
|
964
|
-
import {
|
|
965
|
-
OrdersApi,
|
|
966
|
-
Configuration,
|
|
967
|
-
CreditNoteDTO
|
|
968
|
-
} from 'yellowgrid-api-ts';
|
|
969
|
-
|
|
970
|
-
const configuration = new Configuration();
|
|
971
|
-
const apiInstance = new OrdersApi(configuration);
|
|
972
|
-
|
|
973
|
-
let id: number; //Order ID (default to undefined)
|
|
974
|
-
let creditNoteDTO: CreditNoteDTO; //Credit Request (optional)
|
|
975
|
-
|
|
976
|
-
const { status, data } = await apiInstance.postIssueCredit(
|
|
977
|
-
id,
|
|
978
|
-
creditNoteDTO
|
|
979
|
-
);
|
|
980
|
-
```
|
|
981
|
-
|
|
982
|
-
### Parameters
|
|
983
|
-
|
|
984
|
-
|Name | Type | Description | Notes|
|
|
985
|
-
|------------- | ------------- | ------------- | -------------|
|
|
986
|
-
| **creditNoteDTO** | **CreditNoteDTO**| Credit Request | |
|
|
987
|
-
| **id** | [**number**] | Order ID | defaults to undefined|
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
### Return type
|
|
991
|
-
|
|
992
|
-
**CreditNoteModel**
|
|
993
|
-
|
|
994
|
-
### Authorization
|
|
995
|
-
|
|
996
|
-
No authorization required
|
|
997
|
-
|
|
998
|
-
### HTTP request headers
|
|
999
|
-
|
|
1000
|
-
- **Content-Type**: application/json
|
|
1001
|
-
- **Accept**: application/json
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
### HTTP response details
|
|
1005
|
-
| Status code | Description | Response headers |
|
|
1006
|
-
|-------------|-------------|------------------|
|
|
1007
|
-
|**200** | Credit Note | - |
|
|
1008
|
-
|**400** | Bad Request | - |
|
|
1009
|
-
|**401** | Unauthorised | - |
|
|
1010
|
-
|**403** | Access Denied | - |
|
|
1011
|
-
|
|
1012
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1013
|
-
|
|
1014
|
-
# **postPrintShippingLabel**
|
|
1015
|
-
> File postPrintShippingLabel()
|
|
16
|
+
# **deleteUpdateOrder**
|
|
17
|
+
> deleteUpdateOrder()
|
|
1016
18
|
|
|
1017
|
-
|
|
19
|
+
Delete Orders (Beta)
|
|
1018
20
|
|
|
1019
21
|
### Example
|
|
1020
22
|
|
|
@@ -1028,13 +30,9 @@ const configuration = new Configuration();
|
|
|
1028
30
|
const apiInstance = new OrdersApi(configuration);
|
|
1029
31
|
|
|
1030
32
|
let id: number; //Order ID (default to undefined)
|
|
1031
|
-
let shipmentId: number; //Shipment ID (default to undefined)
|
|
1032
|
-
let printer: 1 | 2 | 3; //Printer (default to undefined)
|
|
1033
33
|
|
|
1034
|
-
const { status, data } = await apiInstance.
|
|
1035
|
-
id
|
|
1036
|
-
shipmentId,
|
|
1037
|
-
printer
|
|
34
|
+
const { status, data } = await apiInstance.deleteUpdateOrder(
|
|
35
|
+
id
|
|
1038
36
|
);
|
|
1039
37
|
```
|
|
1040
38
|
|
|
@@ -1043,13 +41,11 @@ const { status, data } = await apiInstance.postPrintShippingLabel(
|
|
|
1043
41
|
|Name | Type | Description | Notes|
|
|
1044
42
|
|------------- | ------------- | ------------- | -------------|
|
|
1045
43
|
| **id** | [**number**] | Order ID | defaults to undefined|
|
|
1046
|
-
| **shipmentId** | [**number**] | Shipment ID | defaults to undefined|
|
|
1047
|
-
| **printer** | [**1 | 2 | 3**]**Array<1 | 2 | 3>** | Printer | defaults to undefined|
|
|
1048
44
|
|
|
1049
45
|
|
|
1050
46
|
### Return type
|
|
1051
47
|
|
|
1052
|
-
|
|
48
|
+
void (empty response body)
|
|
1053
49
|
|
|
1054
50
|
### Authorization
|
|
1055
51
|
|
|
@@ -1058,23 +54,23 @@ No authorization required
|
|
|
1058
54
|
### HTTP request headers
|
|
1059
55
|
|
|
1060
56
|
- **Content-Type**: Not defined
|
|
1061
|
-
- **Accept**:
|
|
57
|
+
- **Accept**: Not defined
|
|
1062
58
|
|
|
1063
59
|
|
|
1064
60
|
### HTTP response details
|
|
1065
61
|
| Status code | Description | Response headers |
|
|
1066
62
|
|-------------|-------------|------------------|
|
|
1067
|
-
|**200** |
|
|
63
|
+
|**200** | No Response | - |
|
|
1068
64
|
|**400** | Bad Request | - |
|
|
1069
65
|
|**401** | Unauthorised | - |
|
|
1070
66
|
|**403** | Access Denied | - |
|
|
1071
67
|
|
|
1072
68
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1073
69
|
|
|
1074
|
-
# **
|
|
1075
|
-
>
|
|
70
|
+
# **getGetAdminEditableOrder**
|
|
71
|
+
> AdminOrderRequestDTO getGetAdminEditableOrder()
|
|
1076
72
|
|
|
1077
|
-
|
|
73
|
+
Get Editable Order (Admin)
|
|
1078
74
|
|
|
1079
75
|
### Example
|
|
1080
76
|
|
|
@@ -1088,11 +84,9 @@ const configuration = new Configuration();
|
|
|
1088
84
|
const apiInstance = new OrdersApi(configuration);
|
|
1089
85
|
|
|
1090
86
|
let id: number; //Order ID (default to undefined)
|
|
1091
|
-
let email: string; //Email Address (default to undefined)
|
|
1092
87
|
|
|
1093
|
-
const { status, data } = await apiInstance.
|
|
1094
|
-
id
|
|
1095
|
-
email
|
|
88
|
+
const { status, data } = await apiInstance.getGetAdminEditableOrder(
|
|
89
|
+
id
|
|
1096
90
|
);
|
|
1097
91
|
```
|
|
1098
92
|
|
|
@@ -1101,12 +95,11 @@ const { status, data } = await apiInstance.postSendOrderEmail(
|
|
|
1101
95
|
|Name | Type | Description | Notes|
|
|
1102
96
|
|------------- | ------------- | ------------- | -------------|
|
|
1103
97
|
| **id** | [**number**] | Order ID | defaults to undefined|
|
|
1104
|
-
| **email** | [**string**] | Email Address | defaults to undefined|
|
|
1105
98
|
|
|
1106
99
|
|
|
1107
100
|
### Return type
|
|
1108
101
|
|
|
1109
|
-
|
|
102
|
+
**AdminOrderRequestDTO**
|
|
1110
103
|
|
|
1111
104
|
### Authorization
|
|
1112
105
|
|
|
@@ -1115,23 +108,23 @@ No authorization required
|
|
|
1115
108
|
### HTTP request headers
|
|
1116
109
|
|
|
1117
110
|
- **Content-Type**: Not defined
|
|
1118
|
-
- **Accept**:
|
|
111
|
+
- **Accept**: application/json
|
|
1119
112
|
|
|
1120
113
|
|
|
1121
114
|
### HTTP response details
|
|
1122
115
|
| Status code | Description | Response headers |
|
|
1123
116
|
|-------------|-------------|------------------|
|
|
1124
|
-
|**200** |
|
|
117
|
+
|**200** | Order Request | - |
|
|
1125
118
|
|**400** | Bad Request | - |
|
|
1126
119
|
|**401** | Unauthorised | - |
|
|
1127
120
|
|**403** | Access Denied | - |
|
|
1128
121
|
|
|
1129
122
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1130
123
|
|
|
1131
|
-
# **
|
|
1132
|
-
>
|
|
124
|
+
# **getGetEditableOrder**
|
|
125
|
+
> DetailedOrderRequestDTO getGetEditableOrder()
|
|
1133
126
|
|
|
1134
|
-
|
|
127
|
+
Get Editable Order (Beta)
|
|
1135
128
|
|
|
1136
129
|
### Example
|
|
1137
130
|
|
|
@@ -1145,15 +138,9 @@ const configuration = new Configuration();
|
|
|
1145
138
|
const apiInstance = new OrdersApi(configuration);
|
|
1146
139
|
|
|
1147
140
|
let id: number; //Order ID (default to undefined)
|
|
1148
|
-
let batchId: number; //Batch ID (default to undefined)
|
|
1149
|
-
let shipmentId: number; //Shipment ID (default to undefined)
|
|
1150
|
-
let email: string; //Email Address (default to undefined)
|
|
1151
141
|
|
|
1152
|
-
const { status, data } = await apiInstance.
|
|
1153
|
-
id
|
|
1154
|
-
batchId,
|
|
1155
|
-
shipmentId,
|
|
1156
|
-
email
|
|
142
|
+
const { status, data } = await apiInstance.getGetEditableOrder(
|
|
143
|
+
id
|
|
1157
144
|
);
|
|
1158
145
|
```
|
|
1159
146
|
|
|
@@ -1162,14 +149,11 @@ const { status, data } = await apiInstance.postSendShipmentEmail(
|
|
|
1162
149
|
|Name | Type | Description | Notes|
|
|
1163
150
|
|------------- | ------------- | ------------- | -------------|
|
|
1164
151
|
| **id** | [**number**] | Order ID | defaults to undefined|
|
|
1165
|
-
| **batchId** | [**number**] | Batch ID | defaults to undefined|
|
|
1166
|
-
| **shipmentId** | [**number**] | Shipment ID | defaults to undefined|
|
|
1167
|
-
| **email** | [**string**] | Email Address | defaults to undefined|
|
|
1168
152
|
|
|
1169
153
|
|
|
1170
154
|
### Return type
|
|
1171
155
|
|
|
1172
|
-
|
|
156
|
+
**DetailedOrderRequestDTO**
|
|
1173
157
|
|
|
1174
158
|
### Authorization
|
|
1175
159
|
|
|
@@ -1178,23 +162,23 @@ No authorization required
|
|
|
1178
162
|
### HTTP request headers
|
|
1179
163
|
|
|
1180
164
|
- **Content-Type**: Not defined
|
|
1181
|
-
- **Accept**:
|
|
165
|
+
- **Accept**: application/json
|
|
1182
166
|
|
|
1183
167
|
|
|
1184
168
|
### HTTP response details
|
|
1185
169
|
| Status code | Description | Response headers |
|
|
1186
170
|
|-------------|-------------|------------------|
|
|
1187
|
-
|**200** |
|
|
171
|
+
|**200** | Order Request | - |
|
|
1188
172
|
|**400** | Bad Request | - |
|
|
1189
173
|
|**401** | Unauthorised | - |
|
|
1190
174
|
|**403** | Access Denied | - |
|
|
1191
175
|
|
|
1192
176
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1193
177
|
|
|
1194
|
-
# **
|
|
1195
|
-
>
|
|
178
|
+
# **getGetOrders**
|
|
179
|
+
> OrderSummariesModel getGetOrders()
|
|
1196
180
|
|
|
1197
|
-
|
|
181
|
+
Get Orders (Beta)
|
|
1198
182
|
|
|
1199
183
|
### Example
|
|
1200
184
|
|
|
@@ -1207,12 +191,22 @@ import {
|
|
|
1207
191
|
const configuration = new Configuration();
|
|
1208
192
|
const apiInstance = new OrdersApi(configuration);
|
|
1209
193
|
|
|
1210
|
-
let
|
|
1211
|
-
let
|
|
194
|
+
let pageSize: number; //Number Of Results (optional) (default to 20)
|
|
195
|
+
let page: number; //Page Number (optional) (default to 1)
|
|
196
|
+
let search: string; //Search (optional) (default to undefined)
|
|
197
|
+
let fulfillable: boolean; //Fulfillable (optional) (default to undefined)
|
|
198
|
+
let status: 'PAID' | 'INVOICE_PAID' | 'UNPAID' | 'QUOTE'; //Status (optional) (default to undefined)
|
|
199
|
+
let filter: 'OUTSTANDING' | 'QUOTES' | 'ALL' | 'BACK_ORDERS'; //Filter (optional) (default to undefined)
|
|
200
|
+
let customerId: number; //Customer ID (optional) (default to undefined)
|
|
1212
201
|
|
|
1213
|
-
const { status, data } = await apiInstance.
|
|
1214
|
-
|
|
1215
|
-
|
|
202
|
+
const { status, data } = await apiInstance.getGetOrders(
|
|
203
|
+
pageSize,
|
|
204
|
+
page,
|
|
205
|
+
search,
|
|
206
|
+
fulfillable,
|
|
207
|
+
status,
|
|
208
|
+
filter,
|
|
209
|
+
customerId
|
|
1216
210
|
);
|
|
1217
211
|
```
|
|
1218
212
|
|
|
@@ -1220,13 +214,18 @@ const { status, data } = await apiInstance.postSendSupplierEmail(
|
|
|
1220
214
|
|
|
1221
215
|
|Name | Type | Description | Notes|
|
|
1222
216
|
|------------- | ------------- | ------------- | -------------|
|
|
1223
|
-
| **
|
|
1224
|
-
| **
|
|
217
|
+
| **pageSize** | [**number**] | Number Of Results | (optional) defaults to 20|
|
|
218
|
+
| **page** | [**number**] | Page Number | (optional) defaults to 1|
|
|
219
|
+
| **search** | [**string**] | Search | (optional) defaults to undefined|
|
|
220
|
+
| **fulfillable** | [**boolean**] | Fulfillable | (optional) defaults to undefined|
|
|
221
|
+
| **status** | [**'PAID' | 'INVOICE_PAID' | 'UNPAID' | 'QUOTE'**]**Array<'PAID' | 'INVOICE_PAID' | 'UNPAID' | 'QUOTE'>** | Status | (optional) defaults to undefined|
|
|
222
|
+
| **filter** | [**'OUTSTANDING' | 'QUOTES' | 'ALL' | 'BACK_ORDERS'**]**Array<'OUTSTANDING' | 'QUOTES' | 'ALL' | 'BACK_ORDERS'>** | Filter | (optional) defaults to undefined|
|
|
223
|
+
| **customerId** | [**number**] | Customer ID | (optional) defaults to undefined|
|
|
1225
224
|
|
|
1226
225
|
|
|
1227
226
|
### Return type
|
|
1228
227
|
|
|
1229
|
-
|
|
228
|
+
**OrderSummariesModel**
|
|
1230
229
|
|
|
1231
230
|
### Authorization
|
|
1232
231
|
|
|
@@ -1235,23 +234,23 @@ No authorization required
|
|
|
1235
234
|
### HTTP request headers
|
|
1236
235
|
|
|
1237
236
|
- **Content-Type**: Not defined
|
|
1238
|
-
- **Accept**:
|
|
237
|
+
- **Accept**: application/json
|
|
1239
238
|
|
|
1240
239
|
|
|
1241
240
|
### HTTP response details
|
|
1242
241
|
| Status code | Description | Response headers |
|
|
1243
242
|
|-------------|-------------|------------------|
|
|
1244
|
-
|**200** |
|
|
243
|
+
|**200** | Order Summaries | - |
|
|
1245
244
|
|**400** | Bad Request | - |
|
|
1246
245
|
|**401** | Unauthorised | - |
|
|
1247
246
|
|**403** | Access Denied | - |
|
|
1248
247
|
|
|
1249
248
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1250
249
|
|
|
1251
|
-
# **
|
|
1252
|
-
> Array<OrderSummaryDTO>
|
|
250
|
+
# **postCreateAdminOrder**
|
|
251
|
+
> Array<OrderSummaryDTO> postCreateAdminOrder()
|
|
1253
252
|
|
|
1254
|
-
|
|
253
|
+
Create An Order (Admin)
|
|
1255
254
|
|
|
1256
255
|
### Example
|
|
1257
256
|
|
|
@@ -1259,18 +258,18 @@ Split Order
|
|
|
1259
258
|
import {
|
|
1260
259
|
OrdersApi,
|
|
1261
260
|
Configuration,
|
|
1262
|
-
|
|
261
|
+
AdminOrderRequestDTO
|
|
1263
262
|
} from 'yellowgrid-api-ts';
|
|
1264
263
|
|
|
1265
264
|
const configuration = new Configuration();
|
|
1266
265
|
const apiInstance = new OrdersApi(configuration);
|
|
1267
266
|
|
|
1268
|
-
let
|
|
1269
|
-
let
|
|
267
|
+
let readonly: boolean; //Readonly Order (optional) (default to undefined)
|
|
268
|
+
let adminOrderRequestDTO: AdminOrderRequestDTO; //Admin Order Request (optional)
|
|
1270
269
|
|
|
1271
|
-
const { status, data } = await apiInstance.
|
|
1272
|
-
|
|
1273
|
-
|
|
270
|
+
const { status, data } = await apiInstance.postCreateAdminOrder(
|
|
271
|
+
readonly,
|
|
272
|
+
adminOrderRequestDTO
|
|
1274
273
|
);
|
|
1275
274
|
```
|
|
1276
275
|
|
|
@@ -1278,8 +277,8 @@ const { status, data } = await apiInstance.postSplitOrder(
|
|
|
1278
277
|
|
|
1279
278
|
|Name | Type | Description | Notes|
|
|
1280
279
|
|------------- | ------------- | ------------- | -------------|
|
|
1281
|
-
| **
|
|
1282
|
-
| **
|
|
280
|
+
| **adminOrderRequestDTO** | **AdminOrderRequestDTO**| Admin Order Request | |
|
|
281
|
+
| **readonly** | [**boolean**] | Readonly Order | (optional) defaults to undefined|
|
|
1283
282
|
|
|
1284
283
|
|
|
1285
284
|
### Return type
|
|
@@ -1306,10 +305,10 @@ No authorization required
|
|
|
1306
305
|
|
|
1307
306
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1308
307
|
|
|
1309
|
-
# **
|
|
1310
|
-
> Array<
|
|
308
|
+
# **postGetOrders**
|
|
309
|
+
> Array<OrderSummaryDTO> postGetOrders()
|
|
1311
310
|
|
|
1312
|
-
|
|
311
|
+
Create An Order (Beta)
|
|
1313
312
|
|
|
1314
313
|
### Example
|
|
1315
314
|
|
|
@@ -1317,20 +316,18 @@ Allocate Items To Supplier
|
|
|
1317
316
|
import {
|
|
1318
317
|
OrdersApi,
|
|
1319
318
|
Configuration,
|
|
1320
|
-
|
|
319
|
+
CustomerOrderRequestDTO
|
|
1321
320
|
} from 'yellowgrid-api-ts';
|
|
1322
321
|
|
|
1323
322
|
const configuration = new Configuration();
|
|
1324
323
|
const apiInstance = new OrdersApi(configuration);
|
|
1325
324
|
|
|
1326
|
-
let
|
|
1327
|
-
let
|
|
1328
|
-
let putAllocateItemsRequest: PutAllocateItemsRequest; // (optional)
|
|
325
|
+
let readonly: boolean; //Readonly Order (optional) (default to undefined)
|
|
326
|
+
let customerOrderRequestDTO: CustomerOrderRequestDTO; //Order Request (optional)
|
|
1329
327
|
|
|
1330
|
-
const { status, data } = await apiInstance.
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
putAllocateItemsRequest
|
|
328
|
+
const { status, data } = await apiInstance.postGetOrders(
|
|
329
|
+
readonly,
|
|
330
|
+
customerOrderRequestDTO
|
|
1334
331
|
);
|
|
1335
332
|
```
|
|
1336
333
|
|
|
@@ -1338,14 +335,13 @@ const { status, data } = await apiInstance.putAllocateItems(
|
|
|
1338
335
|
|
|
1339
336
|
|Name | Type | Description | Notes|
|
|
1340
337
|
|------------- | ------------- | ------------- | -------------|
|
|
1341
|
-
| **
|
|
1342
|
-
| **
|
|
1343
|
-
| **supplierId** | [**number**] | Supplier ID | defaults to undefined|
|
|
338
|
+
| **customerOrderRequestDTO** | **CustomerOrderRequestDTO**| Order Request | |
|
|
339
|
+
| **readonly** | [**boolean**] | Readonly Order | (optional) defaults to undefined|
|
|
1344
340
|
|
|
1345
341
|
|
|
1346
342
|
### Return type
|
|
1347
343
|
|
|
1348
|
-
**Array<
|
|
344
|
+
**Array<OrderSummaryDTO>**
|
|
1349
345
|
|
|
1350
346
|
### Authorization
|
|
1351
347
|
|
|
@@ -1360,7 +356,7 @@ No authorization required
|
|
|
1360
356
|
### HTTP response details
|
|
1361
357
|
| Status code | Description | Response headers |
|
|
1362
358
|
|-------------|-------------|------------------|
|
|
1363
|
-
|**200** | Order
|
|
359
|
+
|**200** | Order Summaries | - |
|
|
1364
360
|
|**400** | Bad Request | - |
|
|
1365
361
|
|**401** | Unauthorised | - |
|
|
1366
362
|
|**403** | Access Denied | - |
|
|
@@ -1428,70 +424,6 @@ No authorization required
|
|
|
1428
424
|
|
|
1429
425
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1430
426
|
|
|
1431
|
-
# **putUpdateBatchItem**
|
|
1432
|
-
> OrderedItemModel putUpdateBatchItem()
|
|
1433
|
-
|
|
1434
|
-
Update Batch Item (Admin)
|
|
1435
|
-
|
|
1436
|
-
### Example
|
|
1437
|
-
|
|
1438
|
-
```typescript
|
|
1439
|
-
import {
|
|
1440
|
-
OrdersApi,
|
|
1441
|
-
Configuration,
|
|
1442
|
-
OrderedItemModel
|
|
1443
|
-
} from 'yellowgrid-api-ts';
|
|
1444
|
-
|
|
1445
|
-
const configuration = new Configuration();
|
|
1446
|
-
const apiInstance = new OrdersApi(configuration);
|
|
1447
|
-
|
|
1448
|
-
let id: number; //Order ID (default to undefined)
|
|
1449
|
-
let batchId: number; //Batch ID (default to undefined)
|
|
1450
|
-
let itemId: number; //Ordered Item ID (default to undefined)
|
|
1451
|
-
let orderedItemModel: OrderedItemModel; //Batch Item (optional)
|
|
1452
|
-
|
|
1453
|
-
const { status, data } = await apiInstance.putUpdateBatchItem(
|
|
1454
|
-
id,
|
|
1455
|
-
batchId,
|
|
1456
|
-
itemId,
|
|
1457
|
-
orderedItemModel
|
|
1458
|
-
);
|
|
1459
|
-
```
|
|
1460
|
-
|
|
1461
|
-
### Parameters
|
|
1462
|
-
|
|
1463
|
-
|Name | Type | Description | Notes|
|
|
1464
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1465
|
-
| **orderedItemModel** | **OrderedItemModel**| Batch Item | |
|
|
1466
|
-
| **id** | [**number**] | Order ID | defaults to undefined|
|
|
1467
|
-
| **batchId** | [**number**] | Batch ID | defaults to undefined|
|
|
1468
|
-
| **itemId** | [**number**] | Ordered Item ID | defaults to undefined|
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
### Return type
|
|
1472
|
-
|
|
1473
|
-
**OrderedItemModel**
|
|
1474
|
-
|
|
1475
|
-
### Authorization
|
|
1476
|
-
|
|
1477
|
-
No authorization required
|
|
1478
|
-
|
|
1479
|
-
### HTTP request headers
|
|
1480
|
-
|
|
1481
|
-
- **Content-Type**: application/json
|
|
1482
|
-
- **Accept**: application/json
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
### HTTP response details
|
|
1486
|
-
| Status code | Description | Response headers |
|
|
1487
|
-
|-------------|-------------|------------------|
|
|
1488
|
-
|**200** | Ordered Item | - |
|
|
1489
|
-
|**400** | Bad Request | - |
|
|
1490
|
-
|**401** | Unauthorised | - |
|
|
1491
|
-
|**403** | Access Denied | - |
|
|
1492
|
-
|
|
1493
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1494
|
-
|
|
1495
427
|
# **putUpdateOrder**
|
|
1496
428
|
> Array<OrderSummaryDTO> putUpdateOrder()
|
|
1497
429
|
|
|
@@ -1553,124 +485,3 @@ No authorization required
|
|
|
1553
485
|
|
|
1554
486
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1555
487
|
|
|
1556
|
-
# **putUpdatePaymentStatus**
|
|
1557
|
-
> OrderDetailsDTO putUpdatePaymentStatus()
|
|
1558
|
-
|
|
1559
|
-
Change Payment Status (Admin)
|
|
1560
|
-
|
|
1561
|
-
### Example
|
|
1562
|
-
|
|
1563
|
-
```typescript
|
|
1564
|
-
import {
|
|
1565
|
-
OrdersApi,
|
|
1566
|
-
Configuration
|
|
1567
|
-
} from 'yellowgrid-api-ts';
|
|
1568
|
-
|
|
1569
|
-
const configuration = new Configuration();
|
|
1570
|
-
const apiInstance = new OrdersApi(configuration);
|
|
1571
|
-
|
|
1572
|
-
let id: number; //Order ID (default to undefined)
|
|
1573
|
-
let paid: boolean; //Paid (default to undefined)
|
|
1574
|
-
|
|
1575
|
-
const { status, data } = await apiInstance.putUpdatePaymentStatus(
|
|
1576
|
-
id,
|
|
1577
|
-
paid
|
|
1578
|
-
);
|
|
1579
|
-
```
|
|
1580
|
-
|
|
1581
|
-
### Parameters
|
|
1582
|
-
|
|
1583
|
-
|Name | Type | Description | Notes|
|
|
1584
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1585
|
-
| **id** | [**number**] | Order ID | defaults to undefined|
|
|
1586
|
-
| **paid** | [**boolean**] | Paid | defaults to undefined|
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
### Return type
|
|
1590
|
-
|
|
1591
|
-
**OrderDetailsDTO**
|
|
1592
|
-
|
|
1593
|
-
### Authorization
|
|
1594
|
-
|
|
1595
|
-
No authorization required
|
|
1596
|
-
|
|
1597
|
-
### HTTP request headers
|
|
1598
|
-
|
|
1599
|
-
- **Content-Type**: Not defined
|
|
1600
|
-
- **Accept**: application/json
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
### HTTP response details
|
|
1604
|
-
| Status code | Description | Response headers |
|
|
1605
|
-
|-------------|-------------|------------------|
|
|
1606
|
-
|**200** | Order Details | - |
|
|
1607
|
-
|**400** | Bad Request | - |
|
|
1608
|
-
|**401** | Unauthorised | - |
|
|
1609
|
-
|**403** | Access Denied | - |
|
|
1610
|
-
|
|
1611
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1612
|
-
|
|
1613
|
-
# **putUpdateShipment**
|
|
1614
|
-
> ShipmentDTO putUpdateShipment()
|
|
1615
|
-
|
|
1616
|
-
Update Shipment (Admin)
|
|
1617
|
-
|
|
1618
|
-
### Example
|
|
1619
|
-
|
|
1620
|
-
```typescript
|
|
1621
|
-
import {
|
|
1622
|
-
OrdersApi,
|
|
1623
|
-
Configuration,
|
|
1624
|
-
ShipmentRequestDTO
|
|
1625
|
-
} from 'yellowgrid-api-ts';
|
|
1626
|
-
|
|
1627
|
-
const configuration = new Configuration();
|
|
1628
|
-
const apiInstance = new OrdersApi(configuration);
|
|
1629
|
-
|
|
1630
|
-
let id: number; //Order ID (default to undefined)
|
|
1631
|
-
let batchId: number; //Batch ID (default to undefined)
|
|
1632
|
-
let shipmentId: number; //Shipment ID (default to undefined)
|
|
1633
|
-
let shipmentRequestDTO: ShipmentRequestDTO; //Shipment Request (optional)
|
|
1634
|
-
|
|
1635
|
-
const { status, data } = await apiInstance.putUpdateShipment(
|
|
1636
|
-
id,
|
|
1637
|
-
batchId,
|
|
1638
|
-
shipmentId,
|
|
1639
|
-
shipmentRequestDTO
|
|
1640
|
-
);
|
|
1641
|
-
```
|
|
1642
|
-
|
|
1643
|
-
### Parameters
|
|
1644
|
-
|
|
1645
|
-
|Name | Type | Description | Notes|
|
|
1646
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1647
|
-
| **shipmentRequestDTO** | **ShipmentRequestDTO**| Shipment Request | |
|
|
1648
|
-
| **id** | [**number**] | Order ID | defaults to undefined|
|
|
1649
|
-
| **batchId** | [**number**] | Batch ID | defaults to undefined|
|
|
1650
|
-
| **shipmentId** | [**number**] | Shipment ID | defaults to undefined|
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
### Return type
|
|
1654
|
-
|
|
1655
|
-
**ShipmentDTO**
|
|
1656
|
-
|
|
1657
|
-
### Authorization
|
|
1658
|
-
|
|
1659
|
-
No authorization required
|
|
1660
|
-
|
|
1661
|
-
### HTTP request headers
|
|
1662
|
-
|
|
1663
|
-
- **Content-Type**: application/json
|
|
1664
|
-
- **Accept**: application/json
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
### HTTP response details
|
|
1668
|
-
| Status code | Description | Response headers |
|
|
1669
|
-
|-------------|-------------|------------------|
|
|
1670
|
-
|**200** | Shipment | - |
|
|
1671
|
-
|**400** | Bad Request | - |
|
|
1672
|
-
|**401** | Unauthorised | - |
|
|
1673
|
-
|**403** | Access Denied | - |
|
|
1674
|
-
|
|
1675
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1676
|
-
|