yellowgrid-api-ts 3.2.177 → 3.2.178-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 +365 -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 +204 -16
- package/dist/api.js +362 -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/models/UserGroupEnum.d.ts +5 -0
- package/dist/models/UserGroupEnum.js +5 -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/models/UserGroupEnum.ts +5 -0
- 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
|
*
|
|
@@ -748,6 +748,7 @@ export const AdminUserModelPermissionsEnum = {
|
|
|
748
748
|
Privileged: 'Privileged',
|
|
749
749
|
Development: 'Development',
|
|
750
750
|
Finance: 'Finance',
|
|
751
|
+
Telesales: 'Telesales',
|
|
751
752
|
} as const;
|
|
752
753
|
|
|
753
754
|
export type AdminUserModelPermissionsEnum = typeof AdminUserModelPermissionsEnum[keyof typeof AdminUserModelPermissionsEnum];
|
|
@@ -2487,6 +2488,28 @@ export interface EventUpdateRequestDTO {
|
|
|
2487
2488
|
*/
|
|
2488
2489
|
'createdAt'?: string;
|
|
2489
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
|
+
}
|
|
2490
2513
|
/**
|
|
2491
2514
|
* Fraud Management
|
|
2492
2515
|
*/
|
|
@@ -2596,6 +2619,9 @@ export interface GenericFileModel {
|
|
|
2596
2619
|
*/
|
|
2597
2620
|
'type'?: string;
|
|
2598
2621
|
}
|
|
2622
|
+
export interface GetCheckMacExists200Response {
|
|
2623
|
+
'found'?: boolean;
|
|
2624
|
+
}
|
|
2599
2625
|
export interface GetGetPrice200Response {
|
|
2600
2626
|
'price'?: number;
|
|
2601
2627
|
}
|
|
@@ -3262,6 +3288,19 @@ export interface MFARequiredModel {
|
|
|
3262
3288
|
*/
|
|
3263
3289
|
'png'?: string;
|
|
3264
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
|
+
}
|
|
3265
3304
|
/**
|
|
3266
3305
|
* Monthly Contract Usage
|
|
3267
3306
|
*/
|
|
@@ -3545,6 +3584,31 @@ export interface OfflineInstancesEntity {
|
|
|
3545
3584
|
*/
|
|
3546
3585
|
'alerted'?: number;
|
|
3547
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
|
+
}
|
|
3548
3612
|
/**
|
|
3549
3613
|
* Legacy Portal Order
|
|
3550
3614
|
*/
|
|
@@ -12280,6 +12344,36 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12280
12344
|
* @throws {RequiredError}
|
|
12281
12345
|
*/
|
|
12282
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> => {
|
|
12283
12377
|
const localVarPath = `/tcx/admin/keys/expiring/csv`;
|
|
12284
12378
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12285
12379
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -12406,12 +12500,24 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
|
|
|
12406
12500
|
* @param {*} [options] Override http request option.
|
|
12407
12501
|
* @throws {RequiredError}
|
|
12408
12502
|
*/
|
|
12409
|
-
async getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
12503
|
+
async getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ExpiringKeyDTO>>> {
|
|
12410
12504
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetTcxExpiringKeys(options);
|
|
12411
12505
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12412
12506
|
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetTcxExpiringKeys']?.[localVarOperationServerIndex]?.url;
|
|
12413
12507
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12414
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
|
+
},
|
|
12415
12521
|
/**
|
|
12416
12522
|
* Get 3CX Partners
|
|
12417
12523
|
* @summary Get 3CX Partners
|
|
@@ -12471,9 +12577,18 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
|
|
|
12471
12577
|
* @param {*} [options] Override http request option.
|
|
12472
12578
|
* @throws {RequiredError}
|
|
12473
12579
|
*/
|
|
12474
|
-
getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
12580
|
+
getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): AxiosPromise<Array<ExpiringKeyDTO>> {
|
|
12475
12581
|
return localVarFp.getGetTcxExpiringKeys(options).then((request) => request(axios, basePath));
|
|
12476
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
|
+
},
|
|
12477
12592
|
/**
|
|
12478
12593
|
* Get 3CX Partners
|
|
12479
12594
|
* @summary Get 3CX Partners
|
|
@@ -12531,6 +12646,16 @@ export class Class3CXApi extends BaseAPI {
|
|
|
12531
12646
|
return Class3CXApiFp(this.configuration).getGetTcxExpiringKeys(options).then((request) => request(this.axios, this.basePath));
|
|
12532
12647
|
}
|
|
12533
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
|
+
|
|
12534
12659
|
/**
|
|
12535
12660
|
* Get 3CX Partners
|
|
12536
12661
|
* @summary Get 3CX Partners
|
|
@@ -20000,12 +20125,15 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
20000
20125
|
* Mark Order As Complete (Admin)
|
|
20001
20126
|
* @summary Mark Order As Complete (Admin)
|
|
20002
20127
|
* @param {number} id Order ID
|
|
20128
|
+
* @param {boolean} complete Complete Status
|
|
20003
20129
|
* @param {*} [options] Override http request option.
|
|
20004
20130
|
* @throws {RequiredError}
|
|
20005
20131
|
*/
|
|
20006
|
-
patchCompleteOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20132
|
+
patchCompleteOrder: async (id: number, complete: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20007
20133
|
// verify required parameter 'id' is not null or undefined
|
|
20008
20134
|
assertParamExists('patchCompleteOrder', 'id', id)
|
|
20135
|
+
// verify required parameter 'complete' is not null or undefined
|
|
20136
|
+
assertParamExists('patchCompleteOrder', 'complete', complete)
|
|
20009
20137
|
const localVarPath = `/admin/orders/{id}/complete`
|
|
20010
20138
|
.replace('{id}', encodeURIComponent(String(id)));
|
|
20011
20139
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -20019,6 +20147,10 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
20019
20147
|
const localVarHeaderParameter = {} as any;
|
|
20020
20148
|
const localVarQueryParameter = {} as any;
|
|
20021
20149
|
|
|
20150
|
+
if (complete !== undefined) {
|
|
20151
|
+
localVarQueryParameter['complete'] = complete;
|
|
20152
|
+
}
|
|
20153
|
+
|
|
20022
20154
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
20023
20155
|
|
|
20024
20156
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -20966,11 +21098,12 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
20966
21098
|
* Mark Order As Complete (Admin)
|
|
20967
21099
|
* @summary Mark Order As Complete (Admin)
|
|
20968
21100
|
* @param {number} id Order ID
|
|
21101
|
+
* @param {boolean} complete Complete Status
|
|
20969
21102
|
* @param {*} [options] Override http request option.
|
|
20970
21103
|
* @throws {RequiredError}
|
|
20971
21104
|
*/
|
|
20972
|
-
async patchCompleteOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderDetailsDTO>> {
|
|
20973
|
-
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);
|
|
20974
21107
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20975
21108
|
const localVarOperationServerBasePath = operationServerMap['OrdersApi.patchCompleteOrder']?.[localVarOperationServerIndex]?.url;
|
|
20976
21109
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -21386,11 +21519,12 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
21386
21519
|
* Mark Order As Complete (Admin)
|
|
21387
21520
|
* @summary Mark Order As Complete (Admin)
|
|
21388
21521
|
* @param {number} id Order ID
|
|
21522
|
+
* @param {boolean} complete Complete Status
|
|
21389
21523
|
* @param {*} [options] Override http request option.
|
|
21390
21524
|
* @throws {RequiredError}
|
|
21391
21525
|
*/
|
|
21392
|
-
patchCompleteOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<OrderDetailsDTO> {
|
|
21393
|
-
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));
|
|
21394
21528
|
},
|
|
21395
21529
|
/**
|
|
21396
21530
|
* Add Order Note
|
|
@@ -21755,11 +21889,12 @@ export class OrdersApi extends BaseAPI {
|
|
|
21755
21889
|
* Mark Order As Complete (Admin)
|
|
21756
21890
|
* @summary Mark Order As Complete (Admin)
|
|
21757
21891
|
* @param {number} id Order ID
|
|
21892
|
+
* @param {boolean} complete Complete Status
|
|
21758
21893
|
* @param {*} [options] Override http request option.
|
|
21759
21894
|
* @throws {RequiredError}
|
|
21760
21895
|
*/
|
|
21761
|
-
public patchCompleteOrder(id: number, options?: RawAxiosRequestConfig) {
|
|
21762
|
-
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));
|
|
21763
21898
|
}
|
|
21764
21899
|
|
|
21765
21900
|
/**
|
|
@@ -22633,10 +22768,11 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
22633
22768
|
* @summary Get Product
|
|
22634
22769
|
* @param {string} sku Product SKU
|
|
22635
22770
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
22771
|
+
* @param {number} [orderId] Order ID
|
|
22636
22772
|
* @param {*} [options] Override http request option.
|
|
22637
22773
|
* @throws {RequiredError}
|
|
22638
22774
|
*/
|
|
22639
|
-
postGetProduct: async (sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22775
|
+
postGetProduct: async (sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22640
22776
|
// verify required parameter 'sku' is not null or undefined
|
|
22641
22777
|
assertParamExists('postGetProduct', 'sku', sku)
|
|
22642
22778
|
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
@@ -22654,6 +22790,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
22654
22790
|
const localVarHeaderParameter = {} as any;
|
|
22655
22791
|
const localVarQueryParameter = {} as any;
|
|
22656
22792
|
|
|
22793
|
+
if (orderId !== undefined) {
|
|
22794
|
+
localVarQueryParameter['orderId'] = orderId;
|
|
22795
|
+
}
|
|
22796
|
+
|
|
22657
22797
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22658
22798
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
22659
22799
|
|
|
@@ -22673,10 +22813,11 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
22673
22813
|
* @param {number} customerId Customer ID
|
|
22674
22814
|
* @param {string} sku Product SKU
|
|
22675
22815
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
22816
|
+
* @param {number} [orderId] Order ID
|
|
22676
22817
|
* @param {*} [options] Override http request option.
|
|
22677
22818
|
* @throws {RequiredError}
|
|
22678
22819
|
*/
|
|
22679
|
-
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> => {
|
|
22680
22821
|
// verify required parameter 'customerId' is not null or undefined
|
|
22681
22822
|
assertParamExists('postGetProductForCustomer', 'customerId', customerId)
|
|
22682
22823
|
// verify required parameter 'sku' is not null or undefined
|
|
@@ -22700,6 +22841,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
22700
22841
|
localVarQueryParameter['customerId'] = customerId;
|
|
22701
22842
|
}
|
|
22702
22843
|
|
|
22844
|
+
if (orderId !== undefined) {
|
|
22845
|
+
localVarQueryParameter['orderId'] = orderId;
|
|
22846
|
+
}
|
|
22847
|
+
|
|
22703
22848
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22704
22849
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
22705
22850
|
|
|
@@ -22830,11 +22975,12 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
22830
22975
|
* @summary Get Product
|
|
22831
22976
|
* @param {string} sku Product SKU
|
|
22832
22977
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
22978
|
+
* @param {number} [orderId] Order ID
|
|
22833
22979
|
* @param {*} [options] Override http request option.
|
|
22834
22980
|
* @throws {RequiredError}
|
|
22835
22981
|
*/
|
|
22836
|
-
async postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
|
|
22837
|
-
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);
|
|
22838
22984
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22839
22985
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProduct']?.[localVarOperationServerIndex]?.url;
|
|
22840
22986
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -22845,11 +22991,12 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
22845
22991
|
* @param {number} customerId Customer ID
|
|
22846
22992
|
* @param {string} sku Product SKU
|
|
22847
22993
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
22994
|
+
* @param {number} [orderId] Order ID
|
|
22848
22995
|
* @param {*} [options] Override http request option.
|
|
22849
22996
|
* @throws {RequiredError}
|
|
22850
22997
|
*/
|
|
22851
|
-
async postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
|
|
22852
|
-
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);
|
|
22853
23000
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22854
23001
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProductForCustomer']?.[localVarOperationServerIndex]?.url;
|
|
22855
23002
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -22947,11 +23094,12 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
22947
23094
|
* @summary Get Product
|
|
22948
23095
|
* @param {string} sku Product SKU
|
|
22949
23096
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
23097
|
+
* @param {number} [orderId] Order ID
|
|
22950
23098
|
* @param {*} [options] Override http request option.
|
|
22951
23099
|
* @throws {RequiredError}
|
|
22952
23100
|
*/
|
|
22953
|
-
postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
|
|
22954
|
-
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));
|
|
22955
23103
|
},
|
|
22956
23104
|
/**
|
|
22957
23105
|
* Get Product For Customer
|
|
@@ -22959,11 +23107,12 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
22959
23107
|
* @param {number} customerId Customer ID
|
|
22960
23108
|
* @param {string} sku Product SKU
|
|
22961
23109
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
23110
|
+
* @param {number} [orderId] Order ID
|
|
22962
23111
|
* @param {*} [options] Override http request option.
|
|
22963
23112
|
* @throws {RequiredError}
|
|
22964
23113
|
*/
|
|
22965
|
-
postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
|
|
22966
|
-
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));
|
|
22967
23116
|
},
|
|
22968
23117
|
};
|
|
22969
23118
|
};
|
|
@@ -23064,11 +23213,12 @@ export class ProductsApi extends BaseAPI {
|
|
|
23064
23213
|
* @summary Get Product
|
|
23065
23214
|
* @param {string} sku Product SKU
|
|
23066
23215
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
23216
|
+
* @param {number} [orderId] Order ID
|
|
23067
23217
|
* @param {*} [options] Override http request option.
|
|
23068
23218
|
* @throws {RequiredError}
|
|
23069
23219
|
*/
|
|
23070
|
-
public postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
|
|
23071
|
-
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));
|
|
23072
23222
|
}
|
|
23073
23223
|
|
|
23074
23224
|
/**
|
|
@@ -23077,11 +23227,12 @@ export class ProductsApi extends BaseAPI {
|
|
|
23077
23227
|
* @param {number} customerId Customer ID
|
|
23078
23228
|
* @param {string} sku Product SKU
|
|
23079
23229
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
23230
|
+
* @param {number} [orderId] Order ID
|
|
23080
23231
|
* @param {*} [options] Override http request option.
|
|
23081
23232
|
* @throws {RequiredError}
|
|
23082
23233
|
*/
|
|
23083
|
-
public postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
|
|
23084
|
-
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));
|
|
23085
23236
|
}
|
|
23086
23237
|
}
|
|
23087
23238
|
|
|
@@ -23443,6 +23594,38 @@ export const ProvisioningApiAxiosParamCreator = function (configuration?: Config
|
|
|
23443
23594
|
const localVarQueryParameter = {} as any;
|
|
23444
23595
|
|
|
23445
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
|
+
|
|
23446
23629
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23447
23630
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23448
23631
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -23476,6 +23659,39 @@ export const ProvisioningApiAxiosParamCreator = function (configuration?: Config
|
|
|
23476
23659
|
const localVarQueryParameter = {} as any;
|
|
23477
23660
|
|
|
23478
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
|
+
|
|
23479
23695
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23480
23696
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23481
23697
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -23657,6 +23873,38 @@ export const ProvisioningApiAxiosParamCreator = function (configuration?: Config
|
|
|
23657
23873
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23658
23874
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23659
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
|
+
|
|
23660
23908
|
return {
|
|
23661
23909
|
url: toPathString(localVarUrlObj),
|
|
23662
23910
|
options: localVarRequestOptions,
|
|
@@ -23685,6 +23933,18 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
23685
23933
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.deleteAddFanvilMac']?.[localVarOperationServerIndex]?.url;
|
|
23686
23934
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23687
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
|
+
},
|
|
23688
23948
|
/**
|
|
23689
23949
|
* Delete a Fanvil provisioning group
|
|
23690
23950
|
* @summary Delete group from DB and FDPS
|
|
@@ -23698,6 +23958,18 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
23698
23958
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.deleteDeleteFanvilGroup']?.[localVarOperationServerIndex]?.url;
|
|
23699
23959
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23700
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
|
+
},
|
|
23701
23973
|
/**
|
|
23702
23974
|
* Get group Fanvil encryption key
|
|
23703
23975
|
* @summary Get group Fanvil encryption key
|
|
@@ -23765,6 +24037,18 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
23765
24037
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postAddFanvilMac']?.[localVarOperationServerIndex]?.url;
|
|
23766
24038
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23767
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
|
+
},
|
|
23768
24052
|
}
|
|
23769
24053
|
};
|
|
23770
24054
|
|
|
@@ -23785,6 +24069,15 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
23785
24069
|
deleteAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23786
24070
|
return localVarFp.deleteAddFanvilMac(id, mac, options).then((request) => request(axios, basePath));
|
|
23787
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
|
+
},
|
|
23788
24081
|
/**
|
|
23789
24082
|
* Delete a Fanvil provisioning group
|
|
23790
24083
|
* @summary Delete group from DB and FDPS
|
|
@@ -23795,6 +24088,15 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
23795
24088
|
deleteDeleteFanvilGroup(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23796
24089
|
return localVarFp.deleteDeleteFanvilGroup(id, options).then((request) => request(axios, basePath));
|
|
23797
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
|
+
},
|
|
23798
24100
|
/**
|
|
23799
24101
|
* Get group Fanvil encryption key
|
|
23800
24102
|
* @summary Get group Fanvil encryption key
|
|
@@ -23847,6 +24149,15 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
23847
24149
|
postAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23848
24150
|
return localVarFp.postAddFanvilMac(id, mac, options).then((request) => request(axios, basePath));
|
|
23849
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
|
+
},
|
|
23850
24161
|
};
|
|
23851
24162
|
};
|
|
23852
24163
|
|
|
@@ -23866,6 +24177,16 @@ export class ProvisioningApi extends BaseAPI {
|
|
|
23866
24177
|
return ProvisioningApiFp(this.configuration).deleteAddFanvilMac(id, mac, options).then((request) => request(this.axios, this.basePath));
|
|
23867
24178
|
}
|
|
23868
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
|
+
|
|
23869
24190
|
/**
|
|
23870
24191
|
* Delete a Fanvil provisioning group
|
|
23871
24192
|
* @summary Delete group from DB and FDPS
|
|
@@ -23877,6 +24198,16 @@ export class ProvisioningApi extends BaseAPI {
|
|
|
23877
24198
|
return ProvisioningApiFp(this.configuration).deleteDeleteFanvilGroup(id, options).then((request) => request(this.axios, this.basePath));
|
|
23878
24199
|
}
|
|
23879
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
|
+
|
|
23880
24211
|
/**
|
|
23881
24212
|
* Get group Fanvil encryption key
|
|
23882
24213
|
* @summary Get group Fanvil encryption key
|
|
@@ -23933,6 +24264,16 @@ export class ProvisioningApi extends BaseAPI {
|
|
|
23933
24264
|
public postAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig) {
|
|
23934
24265
|
return ProvisioningApiFp(this.configuration).postAddFanvilMac(id, mac, options).then((request) => request(this.axios, this.basePath));
|
|
23935
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
|
+
}
|
|
23936
24277
|
}
|
|
23937
24278
|
|
|
23938
24279
|
|