yellowgrid-api-ts 3.2.188 → 3.2.189-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 +299 -295
- package/.openapi-generator/VERSION +1 -1
- package/README.md +10 -2
- package/api.ts +399 -60
- 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 +242 -54
- package/dist/api.js +351 -21
- 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/HostingPriceListEnum.d.ts +5 -0
- package/dist/models/HostingPriceListEnum.js +5 -0
- 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 +60 -1
- package/docs/BillingApi.md +1 -1
- package/docs/CRMApi.md +1 -1
- package/docs/Class3CXApi.md +1 -1
- package/docs/Class3CXInstallationWizardApi.md +1 -1
- package/docs/Class3CXInstallationsApi.md +1 -1
- package/docs/Class3CXIntegrationsApi.md +1 -1
- package/docs/Class3CXMultiTenantApi.md +1 -1
- package/docs/CrmActivityDTO.md +2 -2
- 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 +1 -1
- package/docs/PatchUpdateAccountNameRequest.md +20 -0
- package/docs/PricingApi.md +1 -1
- package/docs/ProductDetailedSummaryDTO.md +41 -0
- package/docs/ProductSummaryDTO.md +0 -2
- package/docs/ProductsApi.md +13 -7
- 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/TcxInstallationModel.md +4 -0
- package/docs/TicketsApi.md +1 -1
- package/docs/WebhooksApi.md +1 -1
- package/getEnums.php +31 -31
- package/index.ts +1 -1
- package/models/HostingPriceListEnum.ts +5 -0
- package/openapitools.json +1 -1
- package/package.json +2 -2
- package/docs/TcxHostingPricingEntity.md +0 -35
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
|
*
|
|
@@ -1717,10 +1717,6 @@ export interface CrmActivityDTO {
|
|
|
1717
1717
|
* Activity Description
|
|
1718
1718
|
*/
|
|
1719
1719
|
'description'?: string;
|
|
1720
|
-
/**
|
|
1721
|
-
* Activity URL
|
|
1722
|
-
*/
|
|
1723
|
-
'url'?: string | null;
|
|
1724
1720
|
/**
|
|
1725
1721
|
* Activity User Name
|
|
1726
1722
|
*/
|
|
@@ -1729,6 +1725,10 @@ export interface CrmActivityDTO {
|
|
|
1729
1725
|
* Activity Contact Name
|
|
1730
1726
|
*/
|
|
1731
1727
|
'contact'?: string | null;
|
|
1728
|
+
/**
|
|
1729
|
+
* Activity Order ID
|
|
1730
|
+
*/
|
|
1731
|
+
'orderId'?: number | null;
|
|
1732
1732
|
}
|
|
1733
1733
|
/**
|
|
1734
1734
|
* CRM Contact
|
|
@@ -2619,6 +2619,9 @@ export interface GenericFileModel {
|
|
|
2619
2619
|
*/
|
|
2620
2620
|
'type'?: string;
|
|
2621
2621
|
}
|
|
2622
|
+
export interface GetCheckMacExists200Response {
|
|
2623
|
+
'found'?: boolean;
|
|
2624
|
+
}
|
|
2622
2625
|
export interface GetGetPrice200Response {
|
|
2623
2626
|
'price'?: number;
|
|
2624
2627
|
}
|
|
@@ -3285,6 +3288,19 @@ export interface MFARequiredModel {
|
|
|
3285
3288
|
*/
|
|
3286
3289
|
'png'?: string;
|
|
3287
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
|
+
}
|
|
3288
3304
|
/**
|
|
3289
3305
|
* Monthly Contract Usage
|
|
3290
3306
|
*/
|
|
@@ -3568,6 +3584,31 @@ export interface OfflineInstancesEntity {
|
|
|
3568
3584
|
*/
|
|
3569
3585
|
'alerted'?: number;
|
|
3570
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
|
+
}
|
|
3571
3612
|
/**
|
|
3572
3613
|
* Legacy Portal Order
|
|
3573
3614
|
*/
|
|
@@ -4418,6 +4459,12 @@ export interface PatchUpdateAccountContactPasswordRequest {
|
|
|
4418
4459
|
*/
|
|
4419
4460
|
'password'?: string;
|
|
4420
4461
|
}
|
|
4462
|
+
export interface PatchUpdateAccountNameRequest {
|
|
4463
|
+
/**
|
|
4464
|
+
* Company Name
|
|
4465
|
+
*/
|
|
4466
|
+
'name'?: string;
|
|
4467
|
+
}
|
|
4421
4468
|
export interface PatchUpdateAccountPhoneRequest {
|
|
4422
4469
|
/**
|
|
4423
4470
|
* Phone
|
|
@@ -4474,6 +4521,7 @@ export const PatchUpdateTcxHostingPriceListRequestPriceListEnum = {
|
|
|
4474
4521
|
_3: '3',
|
|
4475
4522
|
_4: '4',
|
|
4476
4523
|
_5: '5',
|
|
4524
|
+
_6: '6',
|
|
4477
4525
|
} as const;
|
|
4478
4526
|
|
|
4479
4527
|
export type PatchUpdateTcxHostingPriceListRequestPriceListEnum = typeof PatchUpdateTcxHostingPriceListRequestPriceListEnum[keyof typeof PatchUpdateTcxHostingPriceListRequestPriceListEnum];
|
|
@@ -4750,6 +4798,55 @@ export interface PrizesEntity {
|
|
|
4750
4798
|
*/
|
|
4751
4799
|
'image'?: string;
|
|
4752
4800
|
}
|
|
4801
|
+
/**
|
|
4802
|
+
* Product Detailed Summary
|
|
4803
|
+
*/
|
|
4804
|
+
export interface ProductDetailedSummaryDTO {
|
|
4805
|
+
/**
|
|
4806
|
+
* SKU
|
|
4807
|
+
*/
|
|
4808
|
+
'sku'?: string;
|
|
4809
|
+
/**
|
|
4810
|
+
* Title
|
|
4811
|
+
*/
|
|
4812
|
+
'title'?: string;
|
|
4813
|
+
/**
|
|
4814
|
+
* Stock Quantity
|
|
4815
|
+
*/
|
|
4816
|
+
'quantity'?: number | null;
|
|
4817
|
+
/**
|
|
4818
|
+
* Stock Product
|
|
4819
|
+
*/
|
|
4820
|
+
'stockProduct'?: boolean;
|
|
4821
|
+
/**
|
|
4822
|
+
* Price
|
|
4823
|
+
*/
|
|
4824
|
+
'price'?: number | null;
|
|
4825
|
+
/**
|
|
4826
|
+
* Carton Size
|
|
4827
|
+
*/
|
|
4828
|
+
'cartonSize'?: number | null;
|
|
4829
|
+
/**
|
|
4830
|
+
* RRP Price
|
|
4831
|
+
*/
|
|
4832
|
+
'rrp'?: number | null;
|
|
4833
|
+
/**
|
|
4834
|
+
* 3CX Licence Details
|
|
4835
|
+
*/
|
|
4836
|
+
'licenceDetails'?: TcxLicenceDetailsModel | null;
|
|
4837
|
+
/**
|
|
4838
|
+
* 3CX Hosting
|
|
4839
|
+
*/
|
|
4840
|
+
'hosting'?: boolean | null;
|
|
4841
|
+
/**
|
|
4842
|
+
* Due Date
|
|
4843
|
+
*/
|
|
4844
|
+
'dueDate'?: string | null;
|
|
4845
|
+
/**
|
|
4846
|
+
* On Order
|
|
4847
|
+
*/
|
|
4848
|
+
'onOrder'?: number | null;
|
|
4849
|
+
}
|
|
4753
4850
|
/**
|
|
4754
4851
|
* Product Price List Item
|
|
4755
4852
|
*/
|
|
@@ -4829,10 +4926,6 @@ export interface ProductSummaryDTO {
|
|
|
4829
4926
|
* Stock Product
|
|
4830
4927
|
*/
|
|
4831
4928
|
'stockProduct'?: boolean;
|
|
4832
|
-
/**
|
|
4833
|
-
* Due Date
|
|
4834
|
-
*/
|
|
4835
|
-
'dueDate'?: string | null;
|
|
4836
4929
|
/**
|
|
4837
4930
|
* Price
|
|
4838
4931
|
*/
|
|
@@ -7303,43 +7396,6 @@ export interface TcxExtsEntity {
|
|
|
7303
7396
|
*/
|
|
7304
7397
|
'recording'?: boolean;
|
|
7305
7398
|
}
|
|
7306
|
-
/**
|
|
7307
|
-
* HostingPricingEntity
|
|
7308
|
-
*/
|
|
7309
|
-
export interface TcxHostingPricingEntity {
|
|
7310
|
-
/**
|
|
7311
|
-
* id
|
|
7312
|
-
*/
|
|
7313
|
-
'id'?: number;
|
|
7314
|
-
/**
|
|
7315
|
-
* title
|
|
7316
|
-
*/
|
|
7317
|
-
'title'?: string;
|
|
7318
|
-
/**
|
|
7319
|
-
* perSc
|
|
7320
|
-
*/
|
|
7321
|
-
'perSc'?: number;
|
|
7322
|
-
/**
|
|
7323
|
-
* perMultiTenantSc
|
|
7324
|
-
*/
|
|
7325
|
-
'perMultiTenantSc'?: number;
|
|
7326
|
-
/**
|
|
7327
|
-
* flatRate
|
|
7328
|
-
*/
|
|
7329
|
-
'flatRate'?: number;
|
|
7330
|
-
/**
|
|
7331
|
-
* maxFlatRateSc
|
|
7332
|
-
*/
|
|
7333
|
-
'maxFlatRateSc'?: number;
|
|
7334
|
-
/**
|
|
7335
|
-
* highScThreshold
|
|
7336
|
-
*/
|
|
7337
|
-
'highScThreshold'?: number;
|
|
7338
|
-
/**
|
|
7339
|
-
* highScDiscount
|
|
7340
|
-
*/
|
|
7341
|
-
'highScDiscount'?: number;
|
|
7342
|
-
}
|
|
7343
7399
|
/**
|
|
7344
7400
|
* 3CX Installation
|
|
7345
7401
|
*/
|
|
@@ -7460,6 +7516,14 @@ export interface TcxInstallationModel {
|
|
|
7460
7516
|
* Auto Failover
|
|
7461
7517
|
*/
|
|
7462
7518
|
'autoFailover'?: boolean;
|
|
7519
|
+
/**
|
|
7520
|
+
* Extensions in Use
|
|
7521
|
+
*/
|
|
7522
|
+
'extensions'?: number | null;
|
|
7523
|
+
/**
|
|
7524
|
+
* Max Allowed Extensions
|
|
7525
|
+
*/
|
|
7526
|
+
'maxExtensions'?: number | null;
|
|
7463
7527
|
}
|
|
7464
7528
|
/**
|
|
7465
7529
|
* 3CX Installations
|
|
@@ -9522,6 +9586,41 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
9522
9586
|
options: localVarRequestOptions,
|
|
9523
9587
|
};
|
|
9524
9588
|
},
|
|
9589
|
+
/**
|
|
9590
|
+
* Set Account Name
|
|
9591
|
+
* @param {string} id Xero ID
|
|
9592
|
+
* @param {PatchUpdateAccountNameRequest} [patchUpdateAccountNameRequest] Account Name Request
|
|
9593
|
+
* @param {*} [options] Override http request option.
|
|
9594
|
+
* @throws {RequiredError}
|
|
9595
|
+
*/
|
|
9596
|
+
patchUpdateAccountName: async (id: string, patchUpdateAccountNameRequest?: PatchUpdateAccountNameRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9597
|
+
// verify required parameter 'id' is not null or undefined
|
|
9598
|
+
assertParamExists('patchUpdateAccountName', 'id', id)
|
|
9599
|
+
const localVarPath = `/admin/accounts/{id}/name`
|
|
9600
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
9601
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9602
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9603
|
+
let baseOptions;
|
|
9604
|
+
if (configuration) {
|
|
9605
|
+
baseOptions = configuration.baseOptions;
|
|
9606
|
+
}
|
|
9607
|
+
|
|
9608
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
9609
|
+
const localVarHeaderParameter = {} as any;
|
|
9610
|
+
const localVarQueryParameter = {} as any;
|
|
9611
|
+
|
|
9612
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9613
|
+
|
|
9614
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9615
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9616
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9617
|
+
localVarRequestOptions.data = serializeDataIfNeeded(patchUpdateAccountNameRequest, localVarRequestOptions, configuration)
|
|
9618
|
+
|
|
9619
|
+
return {
|
|
9620
|
+
url: toPathString(localVarUrlObj),
|
|
9621
|
+
options: localVarRequestOptions,
|
|
9622
|
+
};
|
|
9623
|
+
},
|
|
9525
9624
|
/**
|
|
9526
9625
|
* Set Account Phone
|
|
9527
9626
|
* @param {string} id Xero ID
|
|
@@ -10554,6 +10653,19 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
10554
10653
|
const localVarOperationServerBasePath = operationServerMap['AccountsApi.patchUpdateAccountContactPassword']?.[localVarOperationServerIndex]?.url;
|
|
10555
10654
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10556
10655
|
},
|
|
10656
|
+
/**
|
|
10657
|
+
* Set Account Name
|
|
10658
|
+
* @param {string} id Xero ID
|
|
10659
|
+
* @param {PatchUpdateAccountNameRequest} [patchUpdateAccountNameRequest] Account Name Request
|
|
10660
|
+
* @param {*} [options] Override http request option.
|
|
10661
|
+
* @throws {RequiredError}
|
|
10662
|
+
*/
|
|
10663
|
+
async patchUpdateAccountName(id: string, patchUpdateAccountNameRequest?: PatchUpdateAccountNameRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
10664
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchUpdateAccountName(id, patchUpdateAccountNameRequest, options);
|
|
10665
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10666
|
+
const localVarOperationServerBasePath = operationServerMap['AccountsApi.patchUpdateAccountName']?.[localVarOperationServerIndex]?.url;
|
|
10667
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10668
|
+
},
|
|
10557
10669
|
/**
|
|
10558
10670
|
* Set Account Phone
|
|
10559
10671
|
* @param {string} id Xero ID
|
|
@@ -11068,6 +11180,16 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
11068
11180
|
patchUpdateAccountContactPassword(token: string, patchUpdateAccountContactPasswordRequest?: PatchUpdateAccountContactPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
11069
11181
|
return localVarFp.patchUpdateAccountContactPassword(token, patchUpdateAccountContactPasswordRequest, options).then((request) => request(axios, basePath));
|
|
11070
11182
|
},
|
|
11183
|
+
/**
|
|
11184
|
+
* Set Account Name
|
|
11185
|
+
* @param {string} id Xero ID
|
|
11186
|
+
* @param {PatchUpdateAccountNameRequest} [patchUpdateAccountNameRequest] Account Name Request
|
|
11187
|
+
* @param {*} [options] Override http request option.
|
|
11188
|
+
* @throws {RequiredError}
|
|
11189
|
+
*/
|
|
11190
|
+
patchUpdateAccountName(id: string, patchUpdateAccountNameRequest?: PatchUpdateAccountNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
11191
|
+
return localVarFp.patchUpdateAccountName(id, patchUpdateAccountNameRequest, options).then((request) => request(axios, basePath));
|
|
11192
|
+
},
|
|
11071
11193
|
/**
|
|
11072
11194
|
* Set Account Phone
|
|
11073
11195
|
* @param {string} id Xero ID
|
|
@@ -11545,6 +11667,17 @@ export class AccountsApi extends BaseAPI {
|
|
|
11545
11667
|
return AccountsApiFp(this.configuration).patchUpdateAccountContactPassword(token, patchUpdateAccountContactPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
11546
11668
|
}
|
|
11547
11669
|
|
|
11670
|
+
/**
|
|
11671
|
+
* Set Account Name
|
|
11672
|
+
* @param {string} id Xero ID
|
|
11673
|
+
* @param {PatchUpdateAccountNameRequest} [patchUpdateAccountNameRequest] Account Name Request
|
|
11674
|
+
* @param {*} [options] Override http request option.
|
|
11675
|
+
* @throws {RequiredError}
|
|
11676
|
+
*/
|
|
11677
|
+
public patchUpdateAccountName(id: string, patchUpdateAccountNameRequest?: PatchUpdateAccountNameRequest, options?: RawAxiosRequestConfig) {
|
|
11678
|
+
return AccountsApiFp(this.configuration).patchUpdateAccountName(id, patchUpdateAccountNameRequest, options).then((request) => request(this.axios, this.basePath));
|
|
11679
|
+
}
|
|
11680
|
+
|
|
11548
11681
|
/**
|
|
11549
11682
|
* Set Account Phone
|
|
11550
11683
|
* @param {string} id Xero ID
|
|
@@ -22727,10 +22860,11 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
22727
22860
|
* @summary Get Product
|
|
22728
22861
|
* @param {string} sku Product SKU
|
|
22729
22862
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
22863
|
+
* @param {number} [orderId] Order ID
|
|
22730
22864
|
* @param {*} [options] Override http request option.
|
|
22731
22865
|
* @throws {RequiredError}
|
|
22732
22866
|
*/
|
|
22733
|
-
postGetProduct: async (sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22867
|
+
postGetProduct: async (sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22734
22868
|
// verify required parameter 'sku' is not null or undefined
|
|
22735
22869
|
assertParamExists('postGetProduct', 'sku', sku)
|
|
22736
22870
|
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
@@ -22748,6 +22882,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
22748
22882
|
const localVarHeaderParameter = {} as any;
|
|
22749
22883
|
const localVarQueryParameter = {} as any;
|
|
22750
22884
|
|
|
22885
|
+
if (orderId !== undefined) {
|
|
22886
|
+
localVarQueryParameter['orderId'] = orderId;
|
|
22887
|
+
}
|
|
22888
|
+
|
|
22751
22889
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22752
22890
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
22753
22891
|
|
|
@@ -22767,10 +22905,11 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
22767
22905
|
* @param {number} customerId Customer ID
|
|
22768
22906
|
* @param {string} sku Product SKU
|
|
22769
22907
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
22908
|
+
* @param {number} [orderId] Order ID
|
|
22770
22909
|
* @param {*} [options] Override http request option.
|
|
22771
22910
|
* @throws {RequiredError}
|
|
22772
22911
|
*/
|
|
22773
|
-
postGetProductForCustomer: async (customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22912
|
+
postGetProductForCustomer: async (customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22774
22913
|
// verify required parameter 'customerId' is not null or undefined
|
|
22775
22914
|
assertParamExists('postGetProductForCustomer', 'customerId', customerId)
|
|
22776
22915
|
// verify required parameter 'sku' is not null or undefined
|
|
@@ -22794,6 +22933,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
22794
22933
|
localVarQueryParameter['customerId'] = customerId;
|
|
22795
22934
|
}
|
|
22796
22935
|
|
|
22936
|
+
if (orderId !== undefined) {
|
|
22937
|
+
localVarQueryParameter['orderId'] = orderId;
|
|
22938
|
+
}
|
|
22939
|
+
|
|
22797
22940
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22798
22941
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
22799
22942
|
|
|
@@ -22924,11 +23067,12 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
22924
23067
|
* @summary Get Product
|
|
22925
23068
|
* @param {string} sku Product SKU
|
|
22926
23069
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
23070
|
+
* @param {number} [orderId] Order ID
|
|
22927
23071
|
* @param {*} [options] Override http request option.
|
|
22928
23072
|
* @throws {RequiredError}
|
|
22929
23073
|
*/
|
|
22930
|
-
async postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
22931
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options);
|
|
23074
|
+
async postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductDetailedSummaryDTO>> {
|
|
23075
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, orderId, options);
|
|
22932
23076
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22933
23077
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProduct']?.[localVarOperationServerIndex]?.url;
|
|
22934
23078
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -22939,11 +23083,12 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
22939
23083
|
* @param {number} customerId Customer ID
|
|
22940
23084
|
* @param {string} sku Product SKU
|
|
22941
23085
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
23086
|
+
* @param {number} [orderId] Order ID
|
|
22942
23087
|
* @param {*} [options] Override http request option.
|
|
22943
23088
|
* @throws {RequiredError}
|
|
22944
23089
|
*/
|
|
22945
|
-
async postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
22946
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options);
|
|
23090
|
+
async postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductDetailedSummaryDTO>> {
|
|
23091
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, orderId, options);
|
|
22947
23092
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22948
23093
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProductForCustomer']?.[localVarOperationServerIndex]?.url;
|
|
22949
23094
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -23041,11 +23186,12 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
23041
23186
|
* @summary Get Product
|
|
23042
23187
|
* @param {string} sku Product SKU
|
|
23043
23188
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
23189
|
+
* @param {number} [orderId] Order ID
|
|
23044
23190
|
* @param {*} [options] Override http request option.
|
|
23045
23191
|
* @throws {RequiredError}
|
|
23046
23192
|
*/
|
|
23047
|
-
postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
23048
|
-
return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
|
|
23193
|
+
postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig): AxiosPromise<ProductDetailedSummaryDTO> {
|
|
23194
|
+
return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, orderId, options).then((request) => request(axios, basePath));
|
|
23049
23195
|
},
|
|
23050
23196
|
/**
|
|
23051
23197
|
* Get Product For Customer
|
|
@@ -23053,11 +23199,12 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
23053
23199
|
* @param {number} customerId Customer ID
|
|
23054
23200
|
* @param {string} sku Product SKU
|
|
23055
23201
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
23202
|
+
* @param {number} [orderId] Order ID
|
|
23056
23203
|
* @param {*} [options] Override http request option.
|
|
23057
23204
|
* @throws {RequiredError}
|
|
23058
23205
|
*/
|
|
23059
|
-
postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
23060
|
-
return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
|
|
23206
|
+
postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig): AxiosPromise<ProductDetailedSummaryDTO> {
|
|
23207
|
+
return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, orderId, options).then((request) => request(axios, basePath));
|
|
23061
23208
|
},
|
|
23062
23209
|
};
|
|
23063
23210
|
};
|
|
@@ -23158,11 +23305,12 @@ export class ProductsApi extends BaseAPI {
|
|
|
23158
23305
|
* @summary Get Product
|
|
23159
23306
|
* @param {string} sku Product SKU
|
|
23160
23307
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
23308
|
+
* @param {number} [orderId] Order ID
|
|
23161
23309
|
* @param {*} [options] Override http request option.
|
|
23162
23310
|
* @throws {RequiredError}
|
|
23163
23311
|
*/
|
|
23164
|
-
public postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
|
|
23165
|
-
return ProductsApiFp(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
23312
|
+
public postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig) {
|
|
23313
|
+
return ProductsApiFp(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, orderId, options).then((request) => request(this.axios, this.basePath));
|
|
23166
23314
|
}
|
|
23167
23315
|
|
|
23168
23316
|
/**
|
|
@@ -23171,11 +23319,12 @@ export class ProductsApi extends BaseAPI {
|
|
|
23171
23319
|
* @param {number} customerId Customer ID
|
|
23172
23320
|
* @param {string} sku Product SKU
|
|
23173
23321
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
23322
|
+
* @param {number} [orderId] Order ID
|
|
23174
23323
|
* @param {*} [options] Override http request option.
|
|
23175
23324
|
* @throws {RequiredError}
|
|
23176
23325
|
*/
|
|
23177
|
-
public postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
|
|
23178
|
-
return ProductsApiFp(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
23326
|
+
public postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig) {
|
|
23327
|
+
return ProductsApiFp(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, orderId, options).then((request) => request(this.axios, this.basePath));
|
|
23179
23328
|
}
|
|
23180
23329
|
}
|
|
23181
23330
|
|
|
@@ -23537,6 +23686,38 @@ export const ProvisioningApiAxiosParamCreator = function (configuration?: Config
|
|
|
23537
23686
|
const localVarQueryParameter = {} as any;
|
|
23538
23687
|
|
|
23539
23688
|
|
|
23689
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23690
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23691
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23692
|
+
|
|
23693
|
+
return {
|
|
23694
|
+
url: toPathString(localVarUrlObj),
|
|
23695
|
+
options: localVarRequestOptions,
|
|
23696
|
+
};
|
|
23697
|
+
},
|
|
23698
|
+
/**
|
|
23699
|
+
* Delete a MAC address in FDPS
|
|
23700
|
+
* @param {string} mac MAC Address
|
|
23701
|
+
* @param {*} [options] Override http request option.
|
|
23702
|
+
* @throws {RequiredError}
|
|
23703
|
+
*/
|
|
23704
|
+
deleteCheckMacExists: async (mac: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23705
|
+
// verify required parameter 'mac' is not null or undefined
|
|
23706
|
+
assertParamExists('deleteCheckMacExists', 'mac', mac)
|
|
23707
|
+
const localVarPath = `/admin/provisioning/fanvil/macs/{mac}`
|
|
23708
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
23709
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23710
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23711
|
+
let baseOptions;
|
|
23712
|
+
if (configuration) {
|
|
23713
|
+
baseOptions = configuration.baseOptions;
|
|
23714
|
+
}
|
|
23715
|
+
|
|
23716
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
23717
|
+
const localVarHeaderParameter = {} as any;
|
|
23718
|
+
const localVarQueryParameter = {} as any;
|
|
23719
|
+
|
|
23720
|
+
|
|
23540
23721
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23541
23722
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23542
23723
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -23570,6 +23751,39 @@ export const ProvisioningApiAxiosParamCreator = function (configuration?: Config
|
|
|
23570
23751
|
const localVarQueryParameter = {} as any;
|
|
23571
23752
|
|
|
23572
23753
|
|
|
23754
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23755
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23756
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23757
|
+
|
|
23758
|
+
return {
|
|
23759
|
+
url: toPathString(localVarUrlObj),
|
|
23760
|
+
options: localVarRequestOptions,
|
|
23761
|
+
};
|
|
23762
|
+
},
|
|
23763
|
+
/**
|
|
23764
|
+
* Check if a MAC address exists in FDPS
|
|
23765
|
+
* @param {string} mac MAC Address
|
|
23766
|
+
* @param {*} [options] Override http request option.
|
|
23767
|
+
* @throws {RequiredError}
|
|
23768
|
+
*/
|
|
23769
|
+
getCheckMacExists: async (mac: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23770
|
+
// verify required parameter 'mac' is not null or undefined
|
|
23771
|
+
assertParamExists('getCheckMacExists', 'mac', mac)
|
|
23772
|
+
const localVarPath = `/admin/provisioning/fanvil/macs/{mac}`
|
|
23773
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
23774
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23775
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23776
|
+
let baseOptions;
|
|
23777
|
+
if (configuration) {
|
|
23778
|
+
baseOptions = configuration.baseOptions;
|
|
23779
|
+
}
|
|
23780
|
+
|
|
23781
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
23782
|
+
const localVarHeaderParameter = {} as any;
|
|
23783
|
+
const localVarQueryParameter = {} as any;
|
|
23784
|
+
|
|
23785
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
23786
|
+
|
|
23573
23787
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23574
23788
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23575
23789
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -23751,6 +23965,38 @@ export const ProvisioningApiAxiosParamCreator = function (configuration?: Config
|
|
|
23751
23965
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23752
23966
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23753
23967
|
|
|
23968
|
+
return {
|
|
23969
|
+
url: toPathString(localVarUrlObj),
|
|
23970
|
+
options: localVarRequestOptions,
|
|
23971
|
+
};
|
|
23972
|
+
},
|
|
23973
|
+
/**
|
|
23974
|
+
* Create a MAC address in FDPS
|
|
23975
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
23976
|
+
* @param {*} [options] Override http request option.
|
|
23977
|
+
* @throws {RequiredError}
|
|
23978
|
+
*/
|
|
23979
|
+
postCreateMac: async (macAddressDTO?: MacAddressDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23980
|
+
const localVarPath = `/admin/provisioning/fanvil/macs`;
|
|
23981
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23982
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23983
|
+
let baseOptions;
|
|
23984
|
+
if (configuration) {
|
|
23985
|
+
baseOptions = configuration.baseOptions;
|
|
23986
|
+
}
|
|
23987
|
+
|
|
23988
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
23989
|
+
const localVarHeaderParameter = {} as any;
|
|
23990
|
+
const localVarQueryParameter = {} as any;
|
|
23991
|
+
|
|
23992
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23993
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
23994
|
+
|
|
23995
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23996
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23997
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23998
|
+
localVarRequestOptions.data = serializeDataIfNeeded(macAddressDTO, localVarRequestOptions, configuration)
|
|
23999
|
+
|
|
23754
24000
|
return {
|
|
23755
24001
|
url: toPathString(localVarUrlObj),
|
|
23756
24002
|
options: localVarRequestOptions,
|
|
@@ -23779,6 +24025,18 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
23779
24025
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.deleteAddFanvilMac']?.[localVarOperationServerIndex]?.url;
|
|
23780
24026
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23781
24027
|
},
|
|
24028
|
+
/**
|
|
24029
|
+
* Delete a MAC address in FDPS
|
|
24030
|
+
* @param {string} mac MAC Address
|
|
24031
|
+
* @param {*} [options] Override http request option.
|
|
24032
|
+
* @throws {RequiredError}
|
|
24033
|
+
*/
|
|
24034
|
+
async deleteCheckMacExists(mac: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
24035
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCheckMacExists(mac, options);
|
|
24036
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24037
|
+
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.deleteCheckMacExists']?.[localVarOperationServerIndex]?.url;
|
|
24038
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24039
|
+
},
|
|
23782
24040
|
/**
|
|
23783
24041
|
* Delete a Fanvil provisioning group
|
|
23784
24042
|
* @summary Delete group from DB and FDPS
|
|
@@ -23792,6 +24050,18 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
23792
24050
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.deleteDeleteFanvilGroup']?.[localVarOperationServerIndex]?.url;
|
|
23793
24051
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23794
24052
|
},
|
|
24053
|
+
/**
|
|
24054
|
+
* Check if a MAC address exists in FDPS
|
|
24055
|
+
* @param {string} mac MAC Address
|
|
24056
|
+
* @param {*} [options] Override http request option.
|
|
24057
|
+
* @throws {RequiredError}
|
|
24058
|
+
*/
|
|
24059
|
+
async getCheckMacExists(mac: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCheckMacExists200Response>> {
|
|
24060
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCheckMacExists(mac, options);
|
|
24061
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24062
|
+
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.getCheckMacExists']?.[localVarOperationServerIndex]?.url;
|
|
24063
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24064
|
+
},
|
|
23795
24065
|
/**
|
|
23796
24066
|
* Get group Fanvil encryption key
|
|
23797
24067
|
* @summary Get group Fanvil encryption key
|
|
@@ -23859,6 +24129,18 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
23859
24129
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postAddFanvilMac']?.[localVarOperationServerIndex]?.url;
|
|
23860
24130
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23861
24131
|
},
|
|
24132
|
+
/**
|
|
24133
|
+
* Create a MAC address in FDPS
|
|
24134
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
24135
|
+
* @param {*} [options] Override http request option.
|
|
24136
|
+
* @throws {RequiredError}
|
|
24137
|
+
*/
|
|
24138
|
+
async postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MacAddressDTO>> {
|
|
24139
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateMac(macAddressDTO, options);
|
|
24140
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24141
|
+
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postCreateMac']?.[localVarOperationServerIndex]?.url;
|
|
24142
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24143
|
+
},
|
|
23862
24144
|
}
|
|
23863
24145
|
};
|
|
23864
24146
|
|
|
@@ -23879,6 +24161,15 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
23879
24161
|
deleteAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23880
24162
|
return localVarFp.deleteAddFanvilMac(id, mac, options).then((request) => request(axios, basePath));
|
|
23881
24163
|
},
|
|
24164
|
+
/**
|
|
24165
|
+
* Delete a MAC address in FDPS
|
|
24166
|
+
* @param {string} mac MAC Address
|
|
24167
|
+
* @param {*} [options] Override http request option.
|
|
24168
|
+
* @throws {RequiredError}
|
|
24169
|
+
*/
|
|
24170
|
+
deleteCheckMacExists(mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24171
|
+
return localVarFp.deleteCheckMacExists(mac, options).then((request) => request(axios, basePath));
|
|
24172
|
+
},
|
|
23882
24173
|
/**
|
|
23883
24174
|
* Delete a Fanvil provisioning group
|
|
23884
24175
|
* @summary Delete group from DB and FDPS
|
|
@@ -23889,6 +24180,15 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
23889
24180
|
deleteDeleteFanvilGroup(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23890
24181
|
return localVarFp.deleteDeleteFanvilGroup(id, options).then((request) => request(axios, basePath));
|
|
23891
24182
|
},
|
|
24183
|
+
/**
|
|
24184
|
+
* Check if a MAC address exists in FDPS
|
|
24185
|
+
* @param {string} mac MAC Address
|
|
24186
|
+
* @param {*} [options] Override http request option.
|
|
24187
|
+
* @throws {RequiredError}
|
|
24188
|
+
*/
|
|
24189
|
+
getCheckMacExists(mac: string, options?: RawAxiosRequestConfig): AxiosPromise<GetCheckMacExists200Response> {
|
|
24190
|
+
return localVarFp.getCheckMacExists(mac, options).then((request) => request(axios, basePath));
|
|
24191
|
+
},
|
|
23892
24192
|
/**
|
|
23893
24193
|
* Get group Fanvil encryption key
|
|
23894
24194
|
* @summary Get group Fanvil encryption key
|
|
@@ -23941,6 +24241,15 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
23941
24241
|
postAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23942
24242
|
return localVarFp.postAddFanvilMac(id, mac, options).then((request) => request(axios, basePath));
|
|
23943
24243
|
},
|
|
24244
|
+
/**
|
|
24245
|
+
* Create a MAC address in FDPS
|
|
24246
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
24247
|
+
* @param {*} [options] Override http request option.
|
|
24248
|
+
* @throws {RequiredError}
|
|
24249
|
+
*/
|
|
24250
|
+
postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig): AxiosPromise<MacAddressDTO> {
|
|
24251
|
+
return localVarFp.postCreateMac(macAddressDTO, options).then((request) => request(axios, basePath));
|
|
24252
|
+
},
|
|
23944
24253
|
};
|
|
23945
24254
|
};
|
|
23946
24255
|
|
|
@@ -23960,6 +24269,16 @@ export class ProvisioningApi extends BaseAPI {
|
|
|
23960
24269
|
return ProvisioningApiFp(this.configuration).deleteAddFanvilMac(id, mac, options).then((request) => request(this.axios, this.basePath));
|
|
23961
24270
|
}
|
|
23962
24271
|
|
|
24272
|
+
/**
|
|
24273
|
+
* Delete a MAC address in FDPS
|
|
24274
|
+
* @param {string} mac MAC Address
|
|
24275
|
+
* @param {*} [options] Override http request option.
|
|
24276
|
+
* @throws {RequiredError}
|
|
24277
|
+
*/
|
|
24278
|
+
public deleteCheckMacExists(mac: string, options?: RawAxiosRequestConfig) {
|
|
24279
|
+
return ProvisioningApiFp(this.configuration).deleteCheckMacExists(mac, options).then((request) => request(this.axios, this.basePath));
|
|
24280
|
+
}
|
|
24281
|
+
|
|
23963
24282
|
/**
|
|
23964
24283
|
* Delete a Fanvil provisioning group
|
|
23965
24284
|
* @summary Delete group from DB and FDPS
|
|
@@ -23971,6 +24290,16 @@ export class ProvisioningApi extends BaseAPI {
|
|
|
23971
24290
|
return ProvisioningApiFp(this.configuration).deleteDeleteFanvilGroup(id, options).then((request) => request(this.axios, this.basePath));
|
|
23972
24291
|
}
|
|
23973
24292
|
|
|
24293
|
+
/**
|
|
24294
|
+
* Check if a MAC address exists in FDPS
|
|
24295
|
+
* @param {string} mac MAC Address
|
|
24296
|
+
* @param {*} [options] Override http request option.
|
|
24297
|
+
* @throws {RequiredError}
|
|
24298
|
+
*/
|
|
24299
|
+
public getCheckMacExists(mac: string, options?: RawAxiosRequestConfig) {
|
|
24300
|
+
return ProvisioningApiFp(this.configuration).getCheckMacExists(mac, options).then((request) => request(this.axios, this.basePath));
|
|
24301
|
+
}
|
|
24302
|
+
|
|
23974
24303
|
/**
|
|
23975
24304
|
* Get group Fanvil encryption key
|
|
23976
24305
|
* @summary Get group Fanvil encryption key
|
|
@@ -24027,6 +24356,16 @@ export class ProvisioningApi extends BaseAPI {
|
|
|
24027
24356
|
public postAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig) {
|
|
24028
24357
|
return ProvisioningApiFp(this.configuration).postAddFanvilMac(id, mac, options).then((request) => request(this.axios, this.basePath));
|
|
24029
24358
|
}
|
|
24359
|
+
|
|
24360
|
+
/**
|
|
24361
|
+
* Create a MAC address in FDPS
|
|
24362
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
24363
|
+
* @param {*} [options] Override http request option.
|
|
24364
|
+
* @throws {RequiredError}
|
|
24365
|
+
*/
|
|
24366
|
+
public postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig) {
|
|
24367
|
+
return ProvisioningApiFp(this.configuration).postCreateMac(macAddressDTO, options).then((request) => request(this.axios, this.basePath));
|
|
24368
|
+
}
|
|
24030
24369
|
}
|
|
24031
24370
|
|
|
24032
24371
|
|