yellowgrid-api-ts 3.2.178 → 3.2.179-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 +297 -294
- package/.openapi-generator/VERSION +1 -1
- package/README.md +10 -2
- package/api.ts +364 -24
- package/base.ts +2 -2
- package/common.ts +1 -1
- package/config.json +3 -3
- package/configuration.ts +1 -1
- package/dist/api.d.ts +203 -16
- package/dist/api.js +361 -31
- package/dist/base.d.ts +1 -1
- package/dist/base.js +2 -2
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/StatusEnum.d.ts +18 -0
- package/dist/models/StatusEnum.js +20 -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/AccountsApi.md +1 -1
- package/docs/BillingApi.md +1 -1
- package/docs/CRMApi.md +1 -1
- package/docs/Class3CXApi.md +51 -3
- 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/ExpiringKeyDTO.md +29 -0
- package/docs/GetCheckMacExists200Response.md +20 -0
- package/docs/MacAddressDTO.md +23 -0
- package/docs/MyPBXToolsApi.md +1 -1
- package/docs/NumberPortingApi.md +1 -1
- package/docs/OAuth20Api.md +1 -1
- package/docs/OpayoRedirectDTO.md +29 -0
- package/docs/OrdersApi.md +5 -2
- package/docs/PricingApi.md +1 -1
- package/docs/ProductsApi.md +9 -3
- package/docs/ProspectsApi.md +1 -1
- package/docs/ProvisioningApi.md +167 -1
- package/docs/SIPTrunksApi.md +1 -1
- package/docs/SMSApi.md +1 -1
- package/docs/ServicesApi.md +1 -1
- package/docs/ShippingApi.md +1 -1
- package/docs/StockManagementApi.md +1 -1
- package/docs/SystemApi.md +1 -1
- package/docs/TicketsApi.md +1 -1
- package/docs/WebhooksApi.md +1 -1
- package/getEnums.php +31 -31
- package/index.ts +1 -1
- package/openapitools.json +1 -1
- package/package.json +2 -2
package/api.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Yellowgrid
|
|
5
|
-
* Welcome to the Yellowgrid API documentation.
|
|
5
|
+
* Welcome to the Yellowgrid API documentation. This API provides secure and comprehensive access to the Yellowgrid platform, enabling developers and integrators to manage accounts, contacts, SIP trunks, SMS messaging, 3CX integrations, and provisioning services. ## Key Features: - **Accounts**: View and manage account details, contacts, client credentials, and verification. - **Provisioning**: Automate setup and configuration of devices and groups. - **SIP Trunks**: Manage trunk creation, changes, DDIs, diverts, and configuration. - **Messaging**: Send SMS messages securely via the messaging gateway. - **3CX Integrations**: Automate licence handling, installation, and multi-tenant setup. ## Authentication: The API supports OAuth 2.0 for authentication and authorization. Ensure you use a valid bearer token for all authenticated endpoints. ## Base URL: `https://localhost` For questions or technical support, please contact support@yellowgrid.co.uk.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 0
|
|
8
8
|
*
|
|
@@ -2488,6 +2488,28 @@ export interface EventUpdateRequestDTO {
|
|
|
2488
2488
|
*/
|
|
2489
2489
|
'createdAt'?: string;
|
|
2490
2490
|
}
|
|
2491
|
+
/**
|
|
2492
|
+
* 3CX Expiring Key
|
|
2493
|
+
*/
|
|
2494
|
+
export interface ExpiringKeyDTO {
|
|
2495
|
+
/**
|
|
2496
|
+
* Date Time
|
|
2497
|
+
*/
|
|
2498
|
+
'expiryDate'?: string;
|
|
2499
|
+
/**
|
|
2500
|
+
* Licence Key
|
|
2501
|
+
*/
|
|
2502
|
+
'licenceKey'?: string;
|
|
2503
|
+
/**
|
|
2504
|
+
* Edition
|
|
2505
|
+
*/
|
|
2506
|
+
'edition'?: string;
|
|
2507
|
+
/**
|
|
2508
|
+
* Type
|
|
2509
|
+
*/
|
|
2510
|
+
'type'?: string;
|
|
2511
|
+
'partner'?: PartnerDTO;
|
|
2512
|
+
}
|
|
2491
2513
|
/**
|
|
2492
2514
|
* Fraud Management
|
|
2493
2515
|
*/
|
|
@@ -2597,6 +2619,9 @@ export interface GenericFileModel {
|
|
|
2597
2619
|
*/
|
|
2598
2620
|
'type'?: string;
|
|
2599
2621
|
}
|
|
2622
|
+
export interface GetCheckMacExists200Response {
|
|
2623
|
+
'found'?: boolean;
|
|
2624
|
+
}
|
|
2600
2625
|
export interface GetGetPrice200Response {
|
|
2601
2626
|
'price'?: number;
|
|
2602
2627
|
}
|
|
@@ -3263,6 +3288,19 @@ export interface MFARequiredModel {
|
|
|
3263
3288
|
*/
|
|
3264
3289
|
'png'?: string;
|
|
3265
3290
|
}
|
|
3291
|
+
/**
|
|
3292
|
+
* MAC Address DTO
|
|
3293
|
+
*/
|
|
3294
|
+
export interface MacAddressDTO {
|
|
3295
|
+
/**
|
|
3296
|
+
* Group ID
|
|
3297
|
+
*/
|
|
3298
|
+
'groupId'?: number;
|
|
3299
|
+
/**
|
|
3300
|
+
* MAC Address
|
|
3301
|
+
*/
|
|
3302
|
+
'macAddress'?: string;
|
|
3303
|
+
}
|
|
3266
3304
|
/**
|
|
3267
3305
|
* Monthly Contract Usage
|
|
3268
3306
|
*/
|
|
@@ -3546,6 +3584,31 @@ export interface OfflineInstancesEntity {
|
|
|
3546
3584
|
*/
|
|
3547
3585
|
'alerted'?: number;
|
|
3548
3586
|
}
|
|
3587
|
+
/**
|
|
3588
|
+
* Opayo Redirect
|
|
3589
|
+
*/
|
|
3590
|
+
export interface OpayoRedirectDTO {
|
|
3591
|
+
/**
|
|
3592
|
+
* acsUrl
|
|
3593
|
+
*/
|
|
3594
|
+
'acsUrl'?: string | null;
|
|
3595
|
+
/**
|
|
3596
|
+
* paReq
|
|
3597
|
+
*/
|
|
3598
|
+
'paReq'?: string | null;
|
|
3599
|
+
/**
|
|
3600
|
+
* Transaction ID
|
|
3601
|
+
*/
|
|
3602
|
+
'transactionId'?: string | null;
|
|
3603
|
+
/**
|
|
3604
|
+
* dsTranId
|
|
3605
|
+
*/
|
|
3606
|
+
'dsTranId'?: string | null;
|
|
3607
|
+
/**
|
|
3608
|
+
* cReq
|
|
3609
|
+
*/
|
|
3610
|
+
'cReq'?: string | null;
|
|
3611
|
+
}
|
|
3549
3612
|
/**
|
|
3550
3613
|
* Legacy Portal Order
|
|
3551
3614
|
*/
|
|
@@ -12281,6 +12344,36 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12281
12344
|
* @throws {RequiredError}
|
|
12282
12345
|
*/
|
|
12283
12346
|
getGetTcxExpiringKeys: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12347
|
+
const localVarPath = `/tcx/admin/keys/expiring`;
|
|
12348
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12349
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12350
|
+
let baseOptions;
|
|
12351
|
+
if (configuration) {
|
|
12352
|
+
baseOptions = configuration.baseOptions;
|
|
12353
|
+
}
|
|
12354
|
+
|
|
12355
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12356
|
+
const localVarHeaderParameter = {} as any;
|
|
12357
|
+
const localVarQueryParameter = {} as any;
|
|
12358
|
+
|
|
12359
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
12360
|
+
|
|
12361
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12362
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12363
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12364
|
+
|
|
12365
|
+
return {
|
|
12366
|
+
url: toPathString(localVarUrlObj),
|
|
12367
|
+
options: localVarRequestOptions,
|
|
12368
|
+
};
|
|
12369
|
+
},
|
|
12370
|
+
/**
|
|
12371
|
+
* Get 3CX Expiring Keys
|
|
12372
|
+
* @summary Get 3CX Expiring Keys
|
|
12373
|
+
* @param {*} [options] Override http request option.
|
|
12374
|
+
* @throws {RequiredError}
|
|
12375
|
+
*/
|
|
12376
|
+
getGetTcxExpiringKeysCsv: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12284
12377
|
const localVarPath = `/tcx/admin/keys/expiring/csv`;
|
|
12285
12378
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12286
12379
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -12407,12 +12500,24 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
|
|
|
12407
12500
|
* @param {*} [options] Override http request option.
|
|
12408
12501
|
* @throws {RequiredError}
|
|
12409
12502
|
*/
|
|
12410
|
-
async getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
12503
|
+
async getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ExpiringKeyDTO>>> {
|
|
12411
12504
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetTcxExpiringKeys(options);
|
|
12412
12505
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12413
12506
|
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetTcxExpiringKeys']?.[localVarOperationServerIndex]?.url;
|
|
12414
12507
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12415
12508
|
},
|
|
12509
|
+
/**
|
|
12510
|
+
* Get 3CX Expiring Keys
|
|
12511
|
+
* @summary Get 3CX Expiring Keys
|
|
12512
|
+
* @param {*} [options] Override http request option.
|
|
12513
|
+
* @throws {RequiredError}
|
|
12514
|
+
*/
|
|
12515
|
+
async getGetTcxExpiringKeysCsv(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
12516
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetTcxExpiringKeysCsv(options);
|
|
12517
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12518
|
+
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetTcxExpiringKeysCsv']?.[localVarOperationServerIndex]?.url;
|
|
12519
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12520
|
+
},
|
|
12416
12521
|
/**
|
|
12417
12522
|
* Get 3CX Partners
|
|
12418
12523
|
* @summary Get 3CX Partners
|
|
@@ -12472,9 +12577,18 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
|
|
|
12472
12577
|
* @param {*} [options] Override http request option.
|
|
12473
12578
|
* @throws {RequiredError}
|
|
12474
12579
|
*/
|
|
12475
|
-
getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
12580
|
+
getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): AxiosPromise<Array<ExpiringKeyDTO>> {
|
|
12476
12581
|
return localVarFp.getGetTcxExpiringKeys(options).then((request) => request(axios, basePath));
|
|
12477
12582
|
},
|
|
12583
|
+
/**
|
|
12584
|
+
* Get 3CX Expiring Keys
|
|
12585
|
+
* @summary Get 3CX Expiring Keys
|
|
12586
|
+
* @param {*} [options] Override http request option.
|
|
12587
|
+
* @throws {RequiredError}
|
|
12588
|
+
*/
|
|
12589
|
+
getGetTcxExpiringKeysCsv(options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
12590
|
+
return localVarFp.getGetTcxExpiringKeysCsv(options).then((request) => request(axios, basePath));
|
|
12591
|
+
},
|
|
12478
12592
|
/**
|
|
12479
12593
|
* Get 3CX Partners
|
|
12480
12594
|
* @summary Get 3CX Partners
|
|
@@ -12532,6 +12646,16 @@ export class Class3CXApi extends BaseAPI {
|
|
|
12532
12646
|
return Class3CXApiFp(this.configuration).getGetTcxExpiringKeys(options).then((request) => request(this.axios, this.basePath));
|
|
12533
12647
|
}
|
|
12534
12648
|
|
|
12649
|
+
/**
|
|
12650
|
+
* Get 3CX Expiring Keys
|
|
12651
|
+
* @summary Get 3CX Expiring Keys
|
|
12652
|
+
* @param {*} [options] Override http request option.
|
|
12653
|
+
* @throws {RequiredError}
|
|
12654
|
+
*/
|
|
12655
|
+
public getGetTcxExpiringKeysCsv(options?: RawAxiosRequestConfig) {
|
|
12656
|
+
return Class3CXApiFp(this.configuration).getGetTcxExpiringKeysCsv(options).then((request) => request(this.axios, this.basePath));
|
|
12657
|
+
}
|
|
12658
|
+
|
|
12535
12659
|
/**
|
|
12536
12660
|
* Get 3CX Partners
|
|
12537
12661
|
* @summary Get 3CX Partners
|
|
@@ -20001,12 +20125,15 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
20001
20125
|
* Mark Order As Complete (Admin)
|
|
20002
20126
|
* @summary Mark Order As Complete (Admin)
|
|
20003
20127
|
* @param {number} id Order ID
|
|
20128
|
+
* @param {boolean} complete Complete Status
|
|
20004
20129
|
* @param {*} [options] Override http request option.
|
|
20005
20130
|
* @throws {RequiredError}
|
|
20006
20131
|
*/
|
|
20007
|
-
patchCompleteOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20132
|
+
patchCompleteOrder: async (id: number, complete: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20008
20133
|
// verify required parameter 'id' is not null or undefined
|
|
20009
20134
|
assertParamExists('patchCompleteOrder', 'id', id)
|
|
20135
|
+
// verify required parameter 'complete' is not null or undefined
|
|
20136
|
+
assertParamExists('patchCompleteOrder', 'complete', complete)
|
|
20010
20137
|
const localVarPath = `/admin/orders/{id}/complete`
|
|
20011
20138
|
.replace('{id}', encodeURIComponent(String(id)));
|
|
20012
20139
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -20020,6 +20147,10 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
20020
20147
|
const localVarHeaderParameter = {} as any;
|
|
20021
20148
|
const localVarQueryParameter = {} as any;
|
|
20022
20149
|
|
|
20150
|
+
if (complete !== undefined) {
|
|
20151
|
+
localVarQueryParameter['complete'] = complete;
|
|
20152
|
+
}
|
|
20153
|
+
|
|
20023
20154
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
20024
20155
|
|
|
20025
20156
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -20967,11 +21098,12 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
20967
21098
|
* Mark Order As Complete (Admin)
|
|
20968
21099
|
* @summary Mark Order As Complete (Admin)
|
|
20969
21100
|
* @param {number} id Order ID
|
|
21101
|
+
* @param {boolean} complete Complete Status
|
|
20970
21102
|
* @param {*} [options] Override http request option.
|
|
20971
21103
|
* @throws {RequiredError}
|
|
20972
21104
|
*/
|
|
20973
|
-
async patchCompleteOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderDetailsDTO>> {
|
|
20974
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.patchCompleteOrder(id, options);
|
|
21105
|
+
async patchCompleteOrder(id: number, complete: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderDetailsDTO>> {
|
|
21106
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchCompleteOrder(id, complete, options);
|
|
20975
21107
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20976
21108
|
const localVarOperationServerBasePath = operationServerMap['OrdersApi.patchCompleteOrder']?.[localVarOperationServerIndex]?.url;
|
|
20977
21109
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -21387,11 +21519,12 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
21387
21519
|
* Mark Order As Complete (Admin)
|
|
21388
21520
|
* @summary Mark Order As Complete (Admin)
|
|
21389
21521
|
* @param {number} id Order ID
|
|
21522
|
+
* @param {boolean} complete Complete Status
|
|
21390
21523
|
* @param {*} [options] Override http request option.
|
|
21391
21524
|
* @throws {RequiredError}
|
|
21392
21525
|
*/
|
|
21393
|
-
patchCompleteOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<OrderDetailsDTO> {
|
|
21394
|
-
return localVarFp.patchCompleteOrder(id, options).then((request) => request(axios, basePath));
|
|
21526
|
+
patchCompleteOrder(id: number, complete: boolean, options?: RawAxiosRequestConfig): AxiosPromise<OrderDetailsDTO> {
|
|
21527
|
+
return localVarFp.patchCompleteOrder(id, complete, options).then((request) => request(axios, basePath));
|
|
21395
21528
|
},
|
|
21396
21529
|
/**
|
|
21397
21530
|
* Add Order Note
|
|
@@ -21756,11 +21889,12 @@ export class OrdersApi extends BaseAPI {
|
|
|
21756
21889
|
* Mark Order As Complete (Admin)
|
|
21757
21890
|
* @summary Mark Order As Complete (Admin)
|
|
21758
21891
|
* @param {number} id Order ID
|
|
21892
|
+
* @param {boolean} complete Complete Status
|
|
21759
21893
|
* @param {*} [options] Override http request option.
|
|
21760
21894
|
* @throws {RequiredError}
|
|
21761
21895
|
*/
|
|
21762
|
-
public patchCompleteOrder(id: number, options?: RawAxiosRequestConfig) {
|
|
21763
|
-
return OrdersApiFp(this.configuration).patchCompleteOrder(id, options).then((request) => request(this.axios, this.basePath));
|
|
21896
|
+
public patchCompleteOrder(id: number, complete: boolean, options?: RawAxiosRequestConfig) {
|
|
21897
|
+
return OrdersApiFp(this.configuration).patchCompleteOrder(id, complete, options).then((request) => request(this.axios, this.basePath));
|
|
21764
21898
|
}
|
|
21765
21899
|
|
|
21766
21900
|
/**
|
|
@@ -22634,10 +22768,11 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
22634
22768
|
* @summary Get Product
|
|
22635
22769
|
* @param {string} sku Product SKU
|
|
22636
22770
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
22771
|
+
* @param {number} [orderId] Order ID
|
|
22637
22772
|
* @param {*} [options] Override http request option.
|
|
22638
22773
|
* @throws {RequiredError}
|
|
22639
22774
|
*/
|
|
22640
|
-
postGetProduct: async (sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22775
|
+
postGetProduct: async (sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22641
22776
|
// verify required parameter 'sku' is not null or undefined
|
|
22642
22777
|
assertParamExists('postGetProduct', 'sku', sku)
|
|
22643
22778
|
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
@@ -22655,6 +22790,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
22655
22790
|
const localVarHeaderParameter = {} as any;
|
|
22656
22791
|
const localVarQueryParameter = {} as any;
|
|
22657
22792
|
|
|
22793
|
+
if (orderId !== undefined) {
|
|
22794
|
+
localVarQueryParameter['orderId'] = orderId;
|
|
22795
|
+
}
|
|
22796
|
+
|
|
22658
22797
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22659
22798
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
22660
22799
|
|
|
@@ -22674,10 +22813,11 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
22674
22813
|
* @param {number} customerId Customer ID
|
|
22675
22814
|
* @param {string} sku Product SKU
|
|
22676
22815
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
22816
|
+
* @param {number} [orderId] Order ID
|
|
22677
22817
|
* @param {*} [options] Override http request option.
|
|
22678
22818
|
* @throws {RequiredError}
|
|
22679
22819
|
*/
|
|
22680
|
-
postGetProductForCustomer: async (customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22820
|
+
postGetProductForCustomer: async (customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22681
22821
|
// verify required parameter 'customerId' is not null or undefined
|
|
22682
22822
|
assertParamExists('postGetProductForCustomer', 'customerId', customerId)
|
|
22683
22823
|
// verify required parameter 'sku' is not null or undefined
|
|
@@ -22701,6 +22841,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
22701
22841
|
localVarQueryParameter['customerId'] = customerId;
|
|
22702
22842
|
}
|
|
22703
22843
|
|
|
22844
|
+
if (orderId !== undefined) {
|
|
22845
|
+
localVarQueryParameter['orderId'] = orderId;
|
|
22846
|
+
}
|
|
22847
|
+
|
|
22704
22848
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22705
22849
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
22706
22850
|
|
|
@@ -22831,11 +22975,12 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
22831
22975
|
* @summary Get Product
|
|
22832
22976
|
* @param {string} sku Product SKU
|
|
22833
22977
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
22978
|
+
* @param {number} [orderId] Order ID
|
|
22834
22979
|
* @param {*} [options] Override http request option.
|
|
22835
22980
|
* @throws {RequiredError}
|
|
22836
22981
|
*/
|
|
22837
|
-
async postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
|
|
22838
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options);
|
|
22982
|
+
async postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
|
|
22983
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, orderId, options);
|
|
22839
22984
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22840
22985
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProduct']?.[localVarOperationServerIndex]?.url;
|
|
22841
22986
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -22846,11 +22991,12 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
22846
22991
|
* @param {number} customerId Customer ID
|
|
22847
22992
|
* @param {string} sku Product SKU
|
|
22848
22993
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
22994
|
+
* @param {number} [orderId] Order ID
|
|
22849
22995
|
* @param {*} [options] Override http request option.
|
|
22850
22996
|
* @throws {RequiredError}
|
|
22851
22997
|
*/
|
|
22852
|
-
async postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
|
|
22853
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options);
|
|
22998
|
+
async postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
|
|
22999
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, orderId, options);
|
|
22854
23000
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22855
23001
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProductForCustomer']?.[localVarOperationServerIndex]?.url;
|
|
22856
23002
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -22948,11 +23094,12 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
22948
23094
|
* @summary Get Product
|
|
22949
23095
|
* @param {string} sku Product SKU
|
|
22950
23096
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
23097
|
+
* @param {number} [orderId] Order ID
|
|
22951
23098
|
* @param {*} [options] Override http request option.
|
|
22952
23099
|
* @throws {RequiredError}
|
|
22953
23100
|
*/
|
|
22954
|
-
postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
|
|
22955
|
-
return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
|
|
23101
|
+
postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
|
|
23102
|
+
return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, orderId, options).then((request) => request(axios, basePath));
|
|
22956
23103
|
},
|
|
22957
23104
|
/**
|
|
22958
23105
|
* Get Product For Customer
|
|
@@ -22960,11 +23107,12 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
22960
23107
|
* @param {number} customerId Customer ID
|
|
22961
23108
|
* @param {string} sku Product SKU
|
|
22962
23109
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
23110
|
+
* @param {number} [orderId] Order ID
|
|
22963
23111
|
* @param {*} [options] Override http request option.
|
|
22964
23112
|
* @throws {RequiredError}
|
|
22965
23113
|
*/
|
|
22966
|
-
postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
|
|
22967
|
-
return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
|
|
23114
|
+
postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
|
|
23115
|
+
return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, orderId, options).then((request) => request(axios, basePath));
|
|
22968
23116
|
},
|
|
22969
23117
|
};
|
|
22970
23118
|
};
|
|
@@ -23065,11 +23213,12 @@ export class ProductsApi extends BaseAPI {
|
|
|
23065
23213
|
* @summary Get Product
|
|
23066
23214
|
* @param {string} sku Product SKU
|
|
23067
23215
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
23216
|
+
* @param {number} [orderId] Order ID
|
|
23068
23217
|
* @param {*} [options] Override http request option.
|
|
23069
23218
|
* @throws {RequiredError}
|
|
23070
23219
|
*/
|
|
23071
|
-
public postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
|
|
23072
|
-
return ProductsApiFp(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
23220
|
+
public postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig) {
|
|
23221
|
+
return ProductsApiFp(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, orderId, options).then((request) => request(this.axios, this.basePath));
|
|
23073
23222
|
}
|
|
23074
23223
|
|
|
23075
23224
|
/**
|
|
@@ -23078,11 +23227,12 @@ export class ProductsApi extends BaseAPI {
|
|
|
23078
23227
|
* @param {number} customerId Customer ID
|
|
23079
23228
|
* @param {string} sku Product SKU
|
|
23080
23229
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
23230
|
+
* @param {number} [orderId] Order ID
|
|
23081
23231
|
* @param {*} [options] Override http request option.
|
|
23082
23232
|
* @throws {RequiredError}
|
|
23083
23233
|
*/
|
|
23084
|
-
public postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
|
|
23085
|
-
return ProductsApiFp(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
23234
|
+
public postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig) {
|
|
23235
|
+
return ProductsApiFp(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, orderId, options).then((request) => request(this.axios, this.basePath));
|
|
23086
23236
|
}
|
|
23087
23237
|
}
|
|
23088
23238
|
|
|
@@ -23444,6 +23594,38 @@ export const ProvisioningApiAxiosParamCreator = function (configuration?: Config
|
|
|
23444
23594
|
const localVarQueryParameter = {} as any;
|
|
23445
23595
|
|
|
23446
23596
|
|
|
23597
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23598
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23599
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23600
|
+
|
|
23601
|
+
return {
|
|
23602
|
+
url: toPathString(localVarUrlObj),
|
|
23603
|
+
options: localVarRequestOptions,
|
|
23604
|
+
};
|
|
23605
|
+
},
|
|
23606
|
+
/**
|
|
23607
|
+
* Delete a MAC address in FDPS
|
|
23608
|
+
* @param {string} mac MAC Address
|
|
23609
|
+
* @param {*} [options] Override http request option.
|
|
23610
|
+
* @throws {RequiredError}
|
|
23611
|
+
*/
|
|
23612
|
+
deleteCheckMacExists: async (mac: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23613
|
+
// verify required parameter 'mac' is not null or undefined
|
|
23614
|
+
assertParamExists('deleteCheckMacExists', 'mac', mac)
|
|
23615
|
+
const localVarPath = `/admin/provisioning/fanvil/macs/{mac}`
|
|
23616
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
23617
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23618
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23619
|
+
let baseOptions;
|
|
23620
|
+
if (configuration) {
|
|
23621
|
+
baseOptions = configuration.baseOptions;
|
|
23622
|
+
}
|
|
23623
|
+
|
|
23624
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
23625
|
+
const localVarHeaderParameter = {} as any;
|
|
23626
|
+
const localVarQueryParameter = {} as any;
|
|
23627
|
+
|
|
23628
|
+
|
|
23447
23629
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23448
23630
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23449
23631
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -23477,6 +23659,39 @@ export const ProvisioningApiAxiosParamCreator = function (configuration?: Config
|
|
|
23477
23659
|
const localVarQueryParameter = {} as any;
|
|
23478
23660
|
|
|
23479
23661
|
|
|
23662
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23663
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23664
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23665
|
+
|
|
23666
|
+
return {
|
|
23667
|
+
url: toPathString(localVarUrlObj),
|
|
23668
|
+
options: localVarRequestOptions,
|
|
23669
|
+
};
|
|
23670
|
+
},
|
|
23671
|
+
/**
|
|
23672
|
+
* Check if a MAC address exists in FDPS
|
|
23673
|
+
* @param {string} mac MAC Address
|
|
23674
|
+
* @param {*} [options] Override http request option.
|
|
23675
|
+
* @throws {RequiredError}
|
|
23676
|
+
*/
|
|
23677
|
+
getCheckMacExists: async (mac: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23678
|
+
// verify required parameter 'mac' is not null or undefined
|
|
23679
|
+
assertParamExists('getCheckMacExists', 'mac', mac)
|
|
23680
|
+
const localVarPath = `/admin/provisioning/fanvil/macs/{mac}`
|
|
23681
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
23682
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23683
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23684
|
+
let baseOptions;
|
|
23685
|
+
if (configuration) {
|
|
23686
|
+
baseOptions = configuration.baseOptions;
|
|
23687
|
+
}
|
|
23688
|
+
|
|
23689
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
23690
|
+
const localVarHeaderParameter = {} as any;
|
|
23691
|
+
const localVarQueryParameter = {} as any;
|
|
23692
|
+
|
|
23693
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
23694
|
+
|
|
23480
23695
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23481
23696
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23482
23697
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -23658,6 +23873,38 @@ export const ProvisioningApiAxiosParamCreator = function (configuration?: Config
|
|
|
23658
23873
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23659
23874
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23660
23875
|
|
|
23876
|
+
return {
|
|
23877
|
+
url: toPathString(localVarUrlObj),
|
|
23878
|
+
options: localVarRequestOptions,
|
|
23879
|
+
};
|
|
23880
|
+
},
|
|
23881
|
+
/**
|
|
23882
|
+
* Create a MAC address in FDPS
|
|
23883
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
23884
|
+
* @param {*} [options] Override http request option.
|
|
23885
|
+
* @throws {RequiredError}
|
|
23886
|
+
*/
|
|
23887
|
+
postCreateMac: async (macAddressDTO?: MacAddressDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23888
|
+
const localVarPath = `/admin/provisioning/fanvil/macs`;
|
|
23889
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23890
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23891
|
+
let baseOptions;
|
|
23892
|
+
if (configuration) {
|
|
23893
|
+
baseOptions = configuration.baseOptions;
|
|
23894
|
+
}
|
|
23895
|
+
|
|
23896
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
23897
|
+
const localVarHeaderParameter = {} as any;
|
|
23898
|
+
const localVarQueryParameter = {} as any;
|
|
23899
|
+
|
|
23900
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23901
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
23902
|
+
|
|
23903
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23904
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23905
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23906
|
+
localVarRequestOptions.data = serializeDataIfNeeded(macAddressDTO, localVarRequestOptions, configuration)
|
|
23907
|
+
|
|
23661
23908
|
return {
|
|
23662
23909
|
url: toPathString(localVarUrlObj),
|
|
23663
23910
|
options: localVarRequestOptions,
|
|
@@ -23686,6 +23933,18 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
23686
23933
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.deleteAddFanvilMac']?.[localVarOperationServerIndex]?.url;
|
|
23687
23934
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23688
23935
|
},
|
|
23936
|
+
/**
|
|
23937
|
+
* Delete a MAC address in FDPS
|
|
23938
|
+
* @param {string} mac MAC Address
|
|
23939
|
+
* @param {*} [options] Override http request option.
|
|
23940
|
+
* @throws {RequiredError}
|
|
23941
|
+
*/
|
|
23942
|
+
async deleteCheckMacExists(mac: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23943
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCheckMacExists(mac, options);
|
|
23944
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23945
|
+
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.deleteCheckMacExists']?.[localVarOperationServerIndex]?.url;
|
|
23946
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23947
|
+
},
|
|
23689
23948
|
/**
|
|
23690
23949
|
* Delete a Fanvil provisioning group
|
|
23691
23950
|
* @summary Delete group from DB and FDPS
|
|
@@ -23699,6 +23958,18 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
23699
23958
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.deleteDeleteFanvilGroup']?.[localVarOperationServerIndex]?.url;
|
|
23700
23959
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23701
23960
|
},
|
|
23961
|
+
/**
|
|
23962
|
+
* Check if a MAC address exists in FDPS
|
|
23963
|
+
* @param {string} mac MAC Address
|
|
23964
|
+
* @param {*} [options] Override http request option.
|
|
23965
|
+
* @throws {RequiredError}
|
|
23966
|
+
*/
|
|
23967
|
+
async getCheckMacExists(mac: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCheckMacExists200Response>> {
|
|
23968
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCheckMacExists(mac, options);
|
|
23969
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23970
|
+
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.getCheckMacExists']?.[localVarOperationServerIndex]?.url;
|
|
23971
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23972
|
+
},
|
|
23702
23973
|
/**
|
|
23703
23974
|
* Get group Fanvil encryption key
|
|
23704
23975
|
* @summary Get group Fanvil encryption key
|
|
@@ -23766,6 +24037,18 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
23766
24037
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postAddFanvilMac']?.[localVarOperationServerIndex]?.url;
|
|
23767
24038
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23768
24039
|
},
|
|
24040
|
+
/**
|
|
24041
|
+
* Create a MAC address in FDPS
|
|
24042
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
24043
|
+
* @param {*} [options] Override http request option.
|
|
24044
|
+
* @throws {RequiredError}
|
|
24045
|
+
*/
|
|
24046
|
+
async postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MacAddressDTO>> {
|
|
24047
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateMac(macAddressDTO, options);
|
|
24048
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24049
|
+
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postCreateMac']?.[localVarOperationServerIndex]?.url;
|
|
24050
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24051
|
+
},
|
|
23769
24052
|
}
|
|
23770
24053
|
};
|
|
23771
24054
|
|
|
@@ -23786,6 +24069,15 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
23786
24069
|
deleteAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23787
24070
|
return localVarFp.deleteAddFanvilMac(id, mac, options).then((request) => request(axios, basePath));
|
|
23788
24071
|
},
|
|
24072
|
+
/**
|
|
24073
|
+
* Delete a MAC address in FDPS
|
|
24074
|
+
* @param {string} mac MAC Address
|
|
24075
|
+
* @param {*} [options] Override http request option.
|
|
24076
|
+
* @throws {RequiredError}
|
|
24077
|
+
*/
|
|
24078
|
+
deleteCheckMacExists(mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24079
|
+
return localVarFp.deleteCheckMacExists(mac, options).then((request) => request(axios, basePath));
|
|
24080
|
+
},
|
|
23789
24081
|
/**
|
|
23790
24082
|
* Delete a Fanvil provisioning group
|
|
23791
24083
|
* @summary Delete group from DB and FDPS
|
|
@@ -23796,6 +24088,15 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
23796
24088
|
deleteDeleteFanvilGroup(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23797
24089
|
return localVarFp.deleteDeleteFanvilGroup(id, options).then((request) => request(axios, basePath));
|
|
23798
24090
|
},
|
|
24091
|
+
/**
|
|
24092
|
+
* Check if a MAC address exists in FDPS
|
|
24093
|
+
* @param {string} mac MAC Address
|
|
24094
|
+
* @param {*} [options] Override http request option.
|
|
24095
|
+
* @throws {RequiredError}
|
|
24096
|
+
*/
|
|
24097
|
+
getCheckMacExists(mac: string, options?: RawAxiosRequestConfig): AxiosPromise<GetCheckMacExists200Response> {
|
|
24098
|
+
return localVarFp.getCheckMacExists(mac, options).then((request) => request(axios, basePath));
|
|
24099
|
+
},
|
|
23799
24100
|
/**
|
|
23800
24101
|
* Get group Fanvil encryption key
|
|
23801
24102
|
* @summary Get group Fanvil encryption key
|
|
@@ -23848,6 +24149,15 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
23848
24149
|
postAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23849
24150
|
return localVarFp.postAddFanvilMac(id, mac, options).then((request) => request(axios, basePath));
|
|
23850
24151
|
},
|
|
24152
|
+
/**
|
|
24153
|
+
* Create a MAC address in FDPS
|
|
24154
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
24155
|
+
* @param {*} [options] Override http request option.
|
|
24156
|
+
* @throws {RequiredError}
|
|
24157
|
+
*/
|
|
24158
|
+
postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig): AxiosPromise<MacAddressDTO> {
|
|
24159
|
+
return localVarFp.postCreateMac(macAddressDTO, options).then((request) => request(axios, basePath));
|
|
24160
|
+
},
|
|
23851
24161
|
};
|
|
23852
24162
|
};
|
|
23853
24163
|
|
|
@@ -23867,6 +24177,16 @@ export class ProvisioningApi extends BaseAPI {
|
|
|
23867
24177
|
return ProvisioningApiFp(this.configuration).deleteAddFanvilMac(id, mac, options).then((request) => request(this.axios, this.basePath));
|
|
23868
24178
|
}
|
|
23869
24179
|
|
|
24180
|
+
/**
|
|
24181
|
+
* Delete a MAC address in FDPS
|
|
24182
|
+
* @param {string} mac MAC Address
|
|
24183
|
+
* @param {*} [options] Override http request option.
|
|
24184
|
+
* @throws {RequiredError}
|
|
24185
|
+
*/
|
|
24186
|
+
public deleteCheckMacExists(mac: string, options?: RawAxiosRequestConfig) {
|
|
24187
|
+
return ProvisioningApiFp(this.configuration).deleteCheckMacExists(mac, options).then((request) => request(this.axios, this.basePath));
|
|
24188
|
+
}
|
|
24189
|
+
|
|
23870
24190
|
/**
|
|
23871
24191
|
* Delete a Fanvil provisioning group
|
|
23872
24192
|
* @summary Delete group from DB and FDPS
|
|
@@ -23878,6 +24198,16 @@ export class ProvisioningApi extends BaseAPI {
|
|
|
23878
24198
|
return ProvisioningApiFp(this.configuration).deleteDeleteFanvilGroup(id, options).then((request) => request(this.axios, this.basePath));
|
|
23879
24199
|
}
|
|
23880
24200
|
|
|
24201
|
+
/**
|
|
24202
|
+
* Check if a MAC address exists in FDPS
|
|
24203
|
+
* @param {string} mac MAC Address
|
|
24204
|
+
* @param {*} [options] Override http request option.
|
|
24205
|
+
* @throws {RequiredError}
|
|
24206
|
+
*/
|
|
24207
|
+
public getCheckMacExists(mac: string, options?: RawAxiosRequestConfig) {
|
|
24208
|
+
return ProvisioningApiFp(this.configuration).getCheckMacExists(mac, options).then((request) => request(this.axios, this.basePath));
|
|
24209
|
+
}
|
|
24210
|
+
|
|
23881
24211
|
/**
|
|
23882
24212
|
* Get group Fanvil encryption key
|
|
23883
24213
|
* @summary Get group Fanvil encryption key
|
|
@@ -23934,6 +24264,16 @@ export class ProvisioningApi extends BaseAPI {
|
|
|
23934
24264
|
public postAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig) {
|
|
23935
24265
|
return ProvisioningApiFp(this.configuration).postAddFanvilMac(id, mac, options).then((request) => request(this.axios, this.basePath));
|
|
23936
24266
|
}
|
|
24267
|
+
|
|
24268
|
+
/**
|
|
24269
|
+
* Create a MAC address in FDPS
|
|
24270
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
24271
|
+
* @param {*} [options] Override http request option.
|
|
24272
|
+
* @throws {RequiredError}
|
|
24273
|
+
*/
|
|
24274
|
+
public postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig) {
|
|
24275
|
+
return ProvisioningApiFp(this.configuration).postCreateMac(macAddressDTO, options).then((request) => request(this.axios, this.basePath));
|
|
24276
|
+
}
|
|
23937
24277
|
}
|
|
23938
24278
|
|
|
23939
24279
|
|