yellowgrid-api-ts 3.2.178 → 3.2.179-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +297 -294
- package/.openapi-generator/VERSION +1 -1
- package/README.md +10 -2
- package/api.ts +364 -24
- package/base.ts +2 -2
- package/common.ts +1 -1
- package/config.json +3 -3
- package/configuration.ts +1 -1
- package/dist/api.d.ts +203 -16
- package/dist/api.js +361 -31
- package/dist/base.d.ts +1 -1
- package/dist/base.js +2 -2
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/StatusEnum.d.ts +18 -0
- package/dist/models/StatusEnum.js +20 -0
- package/dist/src/apis/AccountsApi.d.ts +258 -0
- package/dist/src/apis/AccountsApi.js +975 -0
- package/dist/src/apis/CRMApi.d.ts +26 -0
- package/dist/src/apis/CRMApi.js +122 -0
- package/dist/src/apis/Class3CXApi.d.ts +44 -0
- package/dist/src/apis/Class3CXApi.js +177 -0
- package/dist/src/apis/Class3CXInstallationWizardApi.d.ts +446 -0
- package/dist/src/apis/Class3CXInstallationWizardApi.js +1740 -0
- package/dist/src/apis/Class3CXInstallationsApi.d.ts +253 -0
- package/dist/src/apis/Class3CXInstallationsApi.js +806 -0
- package/dist/src/apis/Class3CXIntegrationsApi.d.ts +102 -0
- package/dist/src/apis/Class3CXIntegrationsApi.js +386 -0
- package/dist/src/apis/Class3CXMultiTenantApi.d.ts +122 -0
- package/dist/src/apis/Class3CXMultiTenantApi.js +431 -0
- package/dist/src/apis/MyPBXToolsApi.d.ts +32 -0
- package/dist/src/apis/MyPBXToolsApi.js +136 -0
- package/dist/src/apis/OAuth20Api.d.ts +185 -0
- package/dist/src/apis/OAuth20Api.js +507 -0
- package/dist/src/apis/OrdersApi.d.ts +154 -0
- package/dist/src/apis/OrdersApi.js +512 -0
- package/dist/src/apis/PricingApi.d.ts +154 -0
- package/dist/src/apis/PricingApi.js +308 -0
- package/dist/src/apis/ProductsApi.d.ts +135 -0
- package/dist/src/apis/ProductsApi.js +531 -0
- package/dist/src/apis/ProvisioningApi.d.ts +112 -0
- package/dist/src/apis/ProvisioningApi.js +427 -0
- package/dist/src/apis/SIPTrunksApi.d.ts +315 -0
- package/dist/src/apis/SIPTrunksApi.js +1197 -0
- package/dist/src/apis/SMSApi.d.ts +30 -0
- package/dist/src/apis/SMSApi.js +130 -0
- package/dist/src/apis/ServicesApi.d.ts +81 -0
- package/dist/src/apis/ServicesApi.js +386 -0
- package/dist/src/apis/ShippingApi.d.ts +45 -0
- package/dist/src/apis/ShippingApi.js +179 -0
- package/dist/src/apis/StockManagementApi.d.ts +345 -0
- package/dist/src/apis/StockManagementApi.js +1293 -0
- package/dist/src/apis/SystemApi.d.ts +37 -0
- package/dist/src/apis/SystemApi.js +146 -0
- package/dist/src/apis/TicketsApi.d.ts +79 -0
- package/dist/src/apis/TicketsApi.js +360 -0
- package/dist/src/apis/WebhooksApi.d.ts +56 -0
- package/dist/src/apis/WebhooksApi.js +189 -0
- package/dist/src/apis/index.d.ts +21 -0
- package/dist/src/apis/index.js +39 -0
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.js +21 -0
- package/dist/src/models/AbstractOrderRequestDTO.d.ts +71 -0
- package/dist/src/models/AbstractOrderRequestDTO.js +64 -0
- package/dist/src/models/AccountContactEntity.d.ts +104 -0
- package/dist/src/models/AccountContactEntity.js +73 -0
- package/dist/src/models/AccountContactModel.d.ts +104 -0
- package/dist/src/models/AccountContactModel.js +73 -0
- package/dist/src/models/AccountContactRequestModel.d.ts +80 -0
- package/dist/src/models/AccountContactRequestModel.js +65 -0
- package/dist/src/models/AccountDetailedSummaryDTO.d.ts +89 -0
- package/dist/src/models/AccountDetailedSummaryDTO.js +70 -0
- package/dist/src/models/AccountRequestModel.d.ts +128 -0
- package/dist/src/models/AccountRequestModel.js +81 -0
- package/dist/src/models/AccountSummaryDTO.d.ts +44 -0
- package/dist/src/models/AccountSummaryDTO.js +53 -0
- package/dist/src/models/AccountsResponseModel.d.ts +51 -0
- package/dist/src/models/AccountsResponseModel.js +56 -0
- package/dist/src/models/AddressModel.d.ts +110 -0
- package/dist/src/models/AddressModel.js +75 -0
- package/dist/src/models/AddressRequestModel.d.ts +50 -0
- package/dist/src/models/AddressRequestModel.js +55 -0
- package/dist/src/models/AdminOrderRequestDTO.d.ts +113 -0
- package/dist/src/models/AdminOrderRequestDTO.js +78 -0
- package/dist/src/models/AdminUserModel.d.ts +79 -0
- package/dist/src/models/AdminUserModel.js +72 -0
- package/dist/src/models/AgentHoursGraphModel.d.ts +51 -0
- package/dist/src/models/AgentHoursGraphModel.js +56 -0
- package/dist/src/models/AgentHoursGraphMonthModel.d.ts +38 -0
- package/dist/src/models/AgentHoursGraphMonthModel.js +51 -0
- package/dist/src/models/ApiLogEntity.d.ts +98 -0
- package/dist/src/models/ApiLogEntity.js +71 -0
- package/dist/src/models/AreaCodeModel.d.ts +38 -0
- package/dist/src/models/AreaCodeModel.js +51 -0
- package/dist/src/models/AttachmentModel.d.ts +56 -0
- package/dist/src/models/AttachmentModel.js +57 -0
- package/dist/src/models/AttributeSetEnum.d.ts +38 -0
- package/dist/src/models/AttributeSetEnum.js +51 -0
- package/dist/src/models/AuditLogEntity.d.ts +80 -0
- package/dist/src/models/AuditLogEntity.js +65 -0
- package/dist/src/models/AuthCodeResponseModel.d.ts +44 -0
- package/dist/src/models/AuthCodeResponseModel.js +53 -0
- package/dist/src/models/BasicItemDTO.d.ts +38 -0
- package/dist/src/models/BasicItemDTO.js +51 -0
- package/dist/src/models/BasicProductDTO.d.ts +38 -0
- package/dist/src/models/BasicProductDTO.js +51 -0
- package/dist/src/models/BatchEntity.d.ts +128 -0
- package/dist/src/models/BatchEntity.js +81 -0
- package/dist/src/models/CallBarringModel.d.ts +56 -0
- package/dist/src/models/CallBarringModel.js +57 -0
- package/dist/src/models/ClientDetailsModel.d.ts +68 -0
- package/dist/src/models/ClientDetailsModel.js +61 -0
- package/dist/src/models/ClientModel.d.ts +50 -0
- package/dist/src/models/ClientModel.js +55 -0
- package/dist/src/models/CompanyContractModel.d.ts +56 -0
- package/dist/src/models/CompanyContractModel.js +57 -0
- package/dist/src/models/ContactInfoModel.d.ts +56 -0
- package/dist/src/models/ContactInfoModel.js +57 -0
- package/dist/src/models/ConversationModel.d.ts +75 -0
- package/dist/src/models/ConversationModel.js +64 -0
- package/dist/src/models/CourierPriceEntity.d.ts +86 -0
- package/dist/src/models/CourierPriceEntity.js +67 -0
- package/dist/src/models/CreditAccountEntity.d.ts +152 -0
- package/dist/src/models/CreditAccountEntity.js +89 -0
- package/dist/src/models/CrmContactDTO.d.ts +68 -0
- package/dist/src/models/CrmContactDTO.js +61 -0
- package/dist/src/models/CustomerInformationModel.d.ts +68 -0
- package/dist/src/models/CustomerInformationModel.js +61 -0
- package/dist/src/models/CustomerItemRequestDTO.d.ts +81 -0
- package/dist/src/models/CustomerItemRequestDTO.js +66 -0
- package/dist/src/models/CustomerOrderRequestDTO.d.ts +71 -0
- package/dist/src/models/CustomerOrderRequestDTO.js +64 -0
- package/dist/src/models/CustomerPriceListEnum.d.ts +38 -0
- package/dist/src/models/CustomerPriceListEnum.js +51 -0
- package/dist/src/models/CustomerSummaryReportDTO.d.ts +65 -0
- package/dist/src/models/CustomerSummaryReportDTO.js +62 -0
- package/dist/src/models/DdiRangeRequestModel.d.ts +44 -0
- package/dist/src/models/DdiRangeRequestModel.js +53 -0
- package/dist/src/models/DdiRangesRequestModel.d.ts +33 -0
- package/dist/src/models/DdiRangesRequestModel.js +50 -0
- package/dist/src/models/DetailedItemRequestDTO.d.ts +99 -0
- package/dist/src/models/DetailedItemRequestDTO.js +72 -0
- package/dist/src/models/DetailedOrderRequestDTO.d.ts +71 -0
- package/dist/src/models/DetailedOrderRequestDTO.js +64 -0
- package/dist/src/models/DivertRequestModel.d.ts +38 -0
- package/dist/src/models/DivertRequestModel.js +51 -0
- package/dist/src/models/DivertResponseModel.d.ts +52 -0
- package/dist/src/models/DivertResponseModel.js +61 -0
- package/dist/src/models/EdTechProClientEntity.d.ts +56 -0
- package/dist/src/models/EdTechProClientEntity.js +57 -0
- package/dist/src/models/EdTechProSchoolModel.d.ts +104 -0
- package/dist/src/models/EdTechProSchoolModel.js +73 -0
- package/dist/src/models/EdTechProSchoolsModel.d.ts +51 -0
- package/dist/src/models/EdTechProSchoolsModel.js +56 -0
- package/dist/src/models/EdTechProSetupModel.d.ts +56 -0
- package/dist/src/models/EdTechProSetupModel.js +57 -0
- package/dist/src/models/EventDTO.d.ts +84 -0
- package/dist/src/models/EventDTO.js +73 -0
- package/dist/src/models/EventRequestDTO.d.ts +44 -0
- package/dist/src/models/EventRequestDTO.js +53 -0
- package/dist/src/models/EventSubscriptionModel.d.ts +38 -0
- package/dist/src/models/EventSubscriptionModel.js +51 -0
- package/dist/src/models/EventTypeEnum.d.ts +19 -0
- package/dist/src/models/EventTypeEnum.js +24 -0
- package/dist/src/models/EventUpdateDTO.d.ts +50 -0
- package/dist/src/models/EventUpdateDTO.js +55 -0
- package/dist/src/models/EventUpdateEntity.d.ts +56 -0
- package/dist/src/models/EventUpdateEntity.js +57 -0
- package/dist/src/models/EventUpdateRequestDTO.d.ts +44 -0
- package/dist/src/models/EventUpdateRequestDTO.js +53 -0
- package/dist/src/models/FraudManagementModel.d.ts +38 -0
- package/dist/src/models/FraudManagementModel.js +51 -0
- package/dist/src/models/FreshdeskCompanyTicketsModel.d.ts +51 -0
- package/dist/src/models/FreshdeskCompanyTicketsModel.js +56 -0
- package/dist/src/models/FreshdeskTicketEntity.d.ts +68 -0
- package/dist/src/models/FreshdeskTicketEntity.js +61 -0
- package/dist/src/models/FtpAccountsEntity.d.ts +56 -0
- package/dist/src/models/FtpAccountsEntity.js +57 -0
- package/dist/src/models/GenericFileModel.d.ts +44 -0
- package/dist/src/models/GenericFileModel.js +53 -0
- package/dist/src/models/GetGetPrice200Response.d.ts +32 -0
- package/dist/src/models/GetGetPrice200Response.js +49 -0
- package/dist/src/models/GetGetRecording200Response.d.ts +32 -0
- package/dist/src/models/GetGetRecording200Response.js +49 -0
- package/dist/src/models/HostingChangeResponseModel.d.ts +64 -0
- package/dist/src/models/HostingChangeResponseModel.js +65 -0
- package/dist/src/models/HostingRegionDTO.d.ts +59 -0
- package/dist/src/models/HostingRegionDTO.js +68 -0
- package/dist/src/models/InstanceAutoFailoverEntity.d.ts +56 -0
- package/dist/src/models/InstanceAutoFailoverEntity.js +57 -0
- package/dist/src/models/InstanceDeletionScheduleEntity.d.ts +50 -0
- package/dist/src/models/InstanceDeletionScheduleEntity.js +55 -0
- package/dist/src/models/InstanceEntity.d.ts +152 -0
- package/dist/src/models/InstanceEntity.js +89 -0
- package/dist/src/models/InstanceFailoverEntity.d.ts +92 -0
- package/dist/src/models/InstanceFailoverEntity.js +69 -0
- package/dist/src/models/InstanceMonitoringEntity.d.ts +44 -0
- package/dist/src/models/InstanceMonitoringEntity.js +53 -0
- package/dist/src/models/InstanceMonitoringLogEntity.d.ts +62 -0
- package/dist/src/models/InstanceMonitoringLogEntity.js +59 -0
- package/dist/src/models/InstanceScheduledTasksEntity.d.ts +62 -0
- package/dist/src/models/InstanceScheduledTasksEntity.js +59 -0
- package/dist/src/models/InstanceTcxDetailsEntity.d.ts +86 -0
- package/dist/src/models/InstanceTcxDetailsEntity.js +67 -0
- package/dist/src/models/InstanceUserCredentialsEntity.d.ts +56 -0
- package/dist/src/models/InstanceUserCredentialsEntity.js +57 -0
- package/dist/src/models/ItemDTO.d.ts +117 -0
- package/dist/src/models/ItemDTO.js +78 -0
- package/dist/src/models/ItemDiscountEntity.d.ts +77 -0
- package/dist/src/models/ItemDiscountEntity.js +70 -0
- package/dist/src/models/ItemEntity.d.ts +158 -0
- package/dist/src/models/ItemEntity.js +91 -0
- package/dist/src/models/LinkedOrderEntity.d.ts +38 -0
- package/dist/src/models/LinkedOrderEntity.js +51 -0
- package/dist/src/models/MFARequiredModel.d.ts +38 -0
- package/dist/src/models/MFARequiredModel.js +51 -0
- package/dist/src/models/MonthlyUsageModel.d.ts +38 -0
- package/dist/src/models/MonthlyUsageModel.js +51 -0
- package/dist/src/models/MultiTenantChangeResponseModel.d.ts +70 -0
- package/dist/src/models/MultiTenantChangeResponseModel.js +75 -0
- package/dist/src/models/NavigationModel.d.ts +50 -0
- package/dist/src/models/NavigationModel.js +55 -0
- package/dist/src/models/OfflineInstancesEntity.d.ts +56 -0
- package/dist/src/models/OfflineInstancesEntity.js +57 -0
- package/dist/src/models/OrderEntity.d.ts +374 -0
- package/dist/src/models/OrderEntity.js +163 -0
- package/dist/src/models/OrderRequestModel.d.ts +120 -0
- package/dist/src/models/OrderRequestModel.js +88 -0
- package/dist/src/models/OrderSummariesModel.d.ts +51 -0
- package/dist/src/models/OrderSummariesModel.js +56 -0
- package/dist/src/models/OrderSummaryDTO.d.ts +126 -0
- package/dist/src/models/OrderSummaryDTO.js +83 -0
- package/dist/src/models/OrderTotalModel.d.ts +111 -0
- package/dist/src/models/OrderTotalModel.js +100 -0
- package/dist/src/models/OrderedItemEntity.d.ts +110 -0
- package/dist/src/models/OrderedItemEntity.js +75 -0
- package/dist/src/models/PatchSetTcxWizardCnameRequest.d.ts +32 -0
- package/dist/src/models/PatchSetTcxWizardCnameRequest.js +49 -0
- package/dist/src/models/PatchUpdateAccountContactPasswordRequest.d.ts +32 -0
- package/dist/src/models/PatchUpdateAccountContactPasswordRequest.js +49 -0
- package/dist/src/models/PortalAccountModel.d.ts +171 -0
- package/dist/src/models/PortalAccountModel.js +96 -0
- package/dist/src/models/PortalLoginModel.d.ts +68 -0
- package/dist/src/models/PortalLoginModel.js +61 -0
- package/dist/src/models/PostAddWebhook200Response.d.ts +32 -0
- package/dist/src/models/PostAddWebhook200Response.js +49 -0
- package/dist/src/models/PostGetClientCredentialsRequest.d.ts +32 -0
- package/dist/src/models/PostGetClientCredentialsRequest.js +49 -0
- package/dist/src/models/PostGetProductForCustomerRequest.d.ts +50 -0
- package/dist/src/models/PostGetProductForCustomerRequest.js +55 -0
- package/dist/src/models/PostGetProductRequest.d.ts +44 -0
- package/dist/src/models/PostGetProductRequest.js +53 -0
- package/dist/src/models/PriceListItemModel.d.ts +56 -0
- package/dist/src/models/PriceListItemModel.js +57 -0
- package/dist/src/models/PrizesEntity.d.ts +62 -0
- package/dist/src/models/PrizesEntity.js +59 -0
- package/dist/src/models/ProductPriceListItemModel.d.ts +62 -0
- package/dist/src/models/ProductPriceListItemModel.js +59 -0
- package/dist/src/models/ProductSearchResultsModel.d.ts +33 -0
- package/dist/src/models/ProductSearchResultsModel.js +50 -0
- package/dist/src/models/ProductSerialInfoModel.d.ts +50 -0
- package/dist/src/models/ProductSerialInfoModel.js +55 -0
- package/dist/src/models/ProductSummaryDTO.d.ts +81 -0
- package/dist/src/models/ProductSummaryDTO.js +66 -0
- package/dist/src/models/PromoCodesEntity.d.ts +98 -0
- package/dist/src/models/PromoCodesEntity.js +71 -0
- package/dist/src/models/PromoItemsEntity.d.ts +74 -0
- package/dist/src/models/PromoItemsEntity.js +63 -0
- package/dist/src/models/ProvisioningModel.d.ts +56 -0
- package/dist/src/models/ProvisioningModel.js +57 -0
- package/dist/src/models/ProvisioningRequestEntity.d.ts +44 -0
- package/dist/src/models/ProvisioningRequestEntity.js +53 -0
- package/dist/src/models/RecordingBackupAzureModel.d.ts +50 -0
- package/dist/src/models/RecordingBackupAzureModel.js +55 -0
- package/dist/src/models/RecordingsBackupInfoDTO.d.ts +40 -0
- package/dist/src/models/RecordingsBackupInfoDTO.js +53 -0
- package/dist/src/models/ResourceNotReadyException.d.ts +44 -0
- package/dist/src/models/ResourceNotReadyException.js +53 -0
- package/dist/src/models/RootAccessModel.d.ts +44 -0
- package/dist/src/models/RootAccessModel.js +53 -0
- package/dist/src/models/S3BucketEntity.d.ts +50 -0
- package/dist/src/models/S3BucketEntity.js +55 -0
- package/dist/src/models/ScannedItemModel.d.ts +56 -0
- package/dist/src/models/ScannedItemModel.js +57 -0
- package/dist/src/models/ScopeModel.d.ts +38 -0
- package/dist/src/models/ScopeModel.js +51 -0
- package/dist/src/models/ServiceEnum.d.ts +14 -0
- package/dist/src/models/ServiceEnum.js +19 -0
- package/dist/src/models/ServiceHealthDTO.d.ts +48 -0
- package/dist/src/models/ServiceHealthDTO.js +61 -0
- package/dist/src/models/ServiceHealthEnum.d.ts +19 -0
- package/dist/src/models/ServiceHealthEnum.js +24 -0
- package/dist/src/models/ServiceStatusDTO.d.ts +60 -0
- package/dist/src/models/ServiceStatusDTO.js +65 -0
- package/dist/src/models/ServiceStatusEnum.d.ts +19 -0
- package/dist/src/models/ServiceStatusEnum.js +24 -0
- package/dist/src/models/ShipmentAddressEntity.d.ts +92 -0
- package/dist/src/models/ShipmentAddressEntity.js +69 -0
- package/dist/src/models/ShipmentEntity.d.ts +98 -0
- package/dist/src/models/ShipmentEntity.js +71 -0
- package/dist/src/models/ShipmentItemEntity.d.ts +56 -0
- package/dist/src/models/ShipmentItemEntity.js +57 -0
- package/dist/src/models/ShippingConsignmentModel.d.ts +51 -0
- package/dist/src/models/ShippingConsignmentModel.js +56 -0
- package/dist/src/models/ShippingInformationDTO.d.ts +45 -0
- package/dist/src/models/ShippingInformationDTO.js +54 -0
- package/dist/src/models/ShippingServiceDTO.d.ts +47 -0
- package/dist/src/models/ShippingServiceDTO.js +60 -0
- package/dist/src/models/ShippingServiceModel.d.ts +71 -0
- package/dist/src/models/ShippingServiceModel.js +68 -0
- package/dist/src/models/ShippingServicesModel.d.ts +33 -0
- package/dist/src/models/ShippingServicesModel.js +50 -0
- package/dist/src/models/SipTrunkChangeResponseModel.d.ts +77 -0
- package/dist/src/models/SipTrunkChangeResponseModel.js +78 -0
- package/dist/src/models/SipTrunkCreationRequestModel.d.ts +66 -0
- package/dist/src/models/SipTrunkCreationRequestModel.js +63 -0
- package/dist/src/models/SipTrunkEntity.d.ts +98 -0
- package/dist/src/models/SipTrunkEntity.js +71 -0
- package/dist/src/models/SipTrunksResponseModel.d.ts +51 -0
- package/dist/src/models/SipTrunksResponseModel.js +56 -0
- package/dist/src/models/SmsAccountEntity.d.ts +68 -0
- package/dist/src/models/SmsAccountEntity.js +61 -0
- package/dist/src/models/SmsDataModel.d.ts +33 -0
- package/dist/src/models/SmsDataModel.js +50 -0
- package/dist/src/models/SmsMessageModel.d.ts +44 -0
- package/dist/src/models/SmsMessageModel.js +53 -0
- package/dist/src/models/SmsNumbersEntity.d.ts +38 -0
- package/dist/src/models/SmsNumbersEntity.js +51 -0
- package/dist/src/models/SmsPayloadModel.d.ts +45 -0
- package/dist/src/models/SmsPayloadModel.js +54 -0
- package/dist/src/models/SmsPhoneNumberModel.d.ts +53 -0
- package/dist/src/models/SmsPhoneNumberModel.js +66 -0
- package/dist/src/models/SmsResponseModel.d.ts +67 -0
- package/dist/src/models/SmsResponseModel.js +68 -0
- package/dist/src/models/SmsWhitelistEntity.d.ts +38 -0
- package/dist/src/models/SmsWhitelistEntity.js +51 -0
- package/dist/src/models/StockOrderCourierEntity.d.ts +50 -0
- package/dist/src/models/StockOrderCourierEntity.js +55 -0
- package/dist/src/models/StockOrderDeductionModel.d.ts +50 -0
- package/dist/src/models/StockOrderDeductionModel.js +55 -0
- package/dist/src/models/StockOrderDeductionRequestModel.d.ts +38 -0
- package/dist/src/models/StockOrderDeductionRequestModel.js +51 -0
- package/dist/src/models/StockOrderDeductionsEntity.d.ts +50 -0
- package/dist/src/models/StockOrderDeductionsEntity.js +55 -0
- package/dist/src/models/StockOrderEntity.d.ts +158 -0
- package/dist/src/models/StockOrderEntity.js +91 -0
- package/dist/src/models/StockOrderItemEntity.d.ts +68 -0
- package/dist/src/models/StockOrderItemEntity.js +61 -0
- package/dist/src/models/StockOrderItemModel.d.ts +80 -0
- package/dist/src/models/StockOrderItemModel.js +65 -0
- package/dist/src/models/StockOrderItemRequestModel.d.ts +50 -0
- package/dist/src/models/StockOrderItemRequestModel.js +55 -0
- package/dist/src/models/StockOrderModel.d.ts +137 -0
- package/dist/src/models/StockOrderModel.js +97 -0
- package/dist/src/models/StockOrderProductEntity.d.ts +62 -0
- package/dist/src/models/StockOrderProductEntity.js +59 -0
- package/dist/src/models/StockOrderRequestModel.d.ts +46 -0
- package/dist/src/models/StockOrderRequestModel.js +55 -0
- package/dist/src/models/StockOrderSupplierEntity.d.ts +80 -0
- package/dist/src/models/StockOrderSupplierEntity.js +65 -0
- package/dist/src/models/StockOrderSupplierModel.d.ts +80 -0
- package/dist/src/models/StockOrderSupplierModel.js +65 -0
- package/dist/src/models/StockOrdersModel.d.ts +51 -0
- package/dist/src/models/StockOrdersModel.js +56 -0
- package/dist/src/models/StockProductModel.d.ts +120 -0
- package/dist/src/models/StockProductModel.js +81 -0
- package/dist/src/models/StockProductPriceModel.d.ts +39 -0
- package/dist/src/models/StockProductPriceModel.js +52 -0
- package/dist/src/models/StockProductSummariesModel.d.ts +51 -0
- package/dist/src/models/StockProductSummariesModel.js +56 -0
- package/dist/src/models/StockProductSummaryModel.d.ts +69 -0
- package/dist/src/models/StockProductSummaryModel.js +62 -0
- package/dist/src/models/StockTransactionsEntity.d.ts +74 -0
- package/dist/src/models/StockTransactionsEntity.js +63 -0
- package/dist/src/models/SupplierEntity.d.ts +80 -0
- package/dist/src/models/SupplierEntity.js +65 -0
- package/dist/src/models/SupplierItemEntity.d.ts +74 -0
- package/dist/src/models/SupplierItemEntity.js +63 -0
- package/dist/src/models/TcxBackupEntity.d.ts +80 -0
- package/dist/src/models/TcxBackupEntity.js +65 -0
- package/dist/src/models/TcxBackupModel.d.ts +140 -0
- package/dist/src/models/TcxBackupModel.js +85 -0
- package/dist/src/models/TcxBillingEntity.d.ts +86 -0
- package/dist/src/models/TcxBillingEntity.js +67 -0
- package/dist/src/models/TcxBulkLicenceDetailsModel.d.ts +40 -0
- package/dist/src/models/TcxBulkLicenceDetailsModel.js +53 -0
- package/dist/src/models/TcxDeadLicenceEntity.d.ts +44 -0
- package/dist/src/models/TcxDeadLicenceEntity.js +53 -0
- package/dist/src/models/TcxExtsEntity.d.ts +74 -0
- package/dist/src/models/TcxExtsEntity.js +63 -0
- package/dist/src/models/TcxHostingPricingEntity.d.ts +74 -0
- package/dist/src/models/TcxHostingPricingEntity.js +63 -0
- package/dist/src/models/TcxInstallationDetailsModel.d.ts +106 -0
- package/dist/src/models/TcxInstallationDetailsModel.js +75 -0
- package/dist/src/models/TcxInstallationModel.d.ts +200 -0
- package/dist/src/models/TcxInstallationModel.js +105 -0
- package/dist/src/models/TcxInstallationsModel.d.ts +51 -0
- package/dist/src/models/TcxInstallationsModel.js +56 -0
- package/dist/src/models/TcxKeySummaryDTO.d.ts +56 -0
- package/dist/src/models/TcxKeySummaryDTO.js +57 -0
- package/dist/src/models/TcxKeysEntity.d.ts +62 -0
- package/dist/src/models/TcxKeysEntity.js +59 -0
- package/dist/src/models/TcxLicenceDetailsErrorModel.d.ts +50 -0
- package/dist/src/models/TcxLicenceDetailsErrorModel.js +55 -0
- package/dist/src/models/TcxLicenceDetailsModel.d.ts +92 -0
- package/dist/src/models/TcxLicenceDetailsModel.js +69 -0
- package/dist/src/models/TcxMacsEntity.d.ts +44 -0
- package/dist/src/models/TcxMacsEntity.js +53 -0
- package/dist/src/models/TcxMultiTenantModel.d.ts +118 -0
- package/dist/src/models/TcxMultiTenantModel.js +83 -0
- package/dist/src/models/TcxMultiTenantUserModel.d.ts +44 -0
- package/dist/src/models/TcxMultiTenantUserModel.js +53 -0
- package/dist/src/models/TcxMultiTenantsModel.d.ts +51 -0
- package/dist/src/models/TcxMultiTenantsModel.js +56 -0
- package/dist/src/models/TcxNumbersEntity.d.ts +44 -0
- package/dist/src/models/TcxNumbersEntity.js +53 -0
- package/dist/src/models/TcxOfficeHoursEntity.d.ts +116 -0
- package/dist/src/models/TcxOfficeHoursEntity.js +77 -0
- package/dist/src/models/TcxPhoneModel.d.ts +68 -0
- package/dist/src/models/TcxPhoneModel.js +61 -0
- package/dist/src/models/TcxPhonesEntity.d.ts +62 -0
- package/dist/src/models/TcxPhonesEntity.js +59 -0
- package/dist/src/models/TcxRemoteStorageModel.d.ts +50 -0
- package/dist/src/models/TcxRemoteStorageModel.js +55 -0
- package/dist/src/models/TcxSbcDTO.d.ts +62 -0
- package/dist/src/models/TcxSbcDTO.js +59 -0
- package/dist/src/models/TcxSbcEntity.d.ts +122 -0
- package/dist/src/models/TcxSbcEntity.js +79 -0
- package/dist/src/models/TcxSbcModel.d.ts +122 -0
- package/dist/src/models/TcxSbcModel.js +79 -0
- package/dist/src/models/TcxSetupEntity.d.ts +207 -0
- package/dist/src/models/TcxSetupEntity.js +123 -0
- package/dist/src/models/TcxSetupsModel.d.ts +51 -0
- package/dist/src/models/TcxSetupsModel.js +56 -0
- package/dist/src/models/TcxSipTrunksEntity.d.ts +104 -0
- package/dist/src/models/TcxSipTrunksEntity.js +73 -0
- package/dist/src/models/TcxTemplateXmlEnum.d.ts +38 -0
- package/dist/src/models/TcxTemplateXmlEnum.js +51 -0
- package/dist/src/models/TcxUsersEntity.d.ts +62 -0
- package/dist/src/models/TcxUsersEntity.js +59 -0
- package/dist/src/models/TcxWizardConfigModel.d.ts +39 -0
- package/dist/src/models/TcxWizardConfigModel.js +52 -0
- package/dist/src/models/TcxWizardModel.d.ts +150 -0
- package/dist/src/models/TcxWizardModel.js +114 -0
- package/dist/src/models/TechSupportCompanySummaryDTO.d.ts +57 -0
- package/dist/src/models/TechSupportCompanySummaryDTO.js +58 -0
- package/dist/src/models/TelephonySupportTicketModel.d.ts +94 -0
- package/dist/src/models/TelephonySupportTicketModel.js +71 -0
- package/dist/src/models/TicketSummaryModel.d.ts +74 -0
- package/dist/src/models/TicketSummaryModel.js +63 -0
- package/dist/src/models/TicketTimeDTO.d.ts +80 -0
- package/dist/src/models/TicketTimeDTO.js +65 -0
- package/dist/src/models/TokenResponseModel.d.ts +44 -0
- package/dist/src/models/TokenResponseModel.js +53 -0
- package/dist/src/models/UpdateTypeEnum.d.ts +19 -0
- package/dist/src/models/UpdateTypeEnum.js +24 -0
- package/dist/src/models/UpgradeOrderResponseModel.d.ts +38 -0
- package/dist/src/models/UpgradeOrderResponseModel.js +51 -0
- package/dist/src/models/UpgradeRequestModel.d.ts +66 -0
- package/dist/src/models/UpgradeRequestModel.js +70 -0
- package/dist/src/models/UserEntity.d.ts +98 -0
- package/dist/src/models/UserEntity.js +71 -0
- package/dist/src/models/XeroLogEntity.d.ts +86 -0
- package/dist/src/models/XeroLogEntity.js +67 -0
- package/dist/src/models/index.d.ts +196 -0
- package/dist/src/models/index.js +214 -0
- package/dist/src/runtime.d.ts +184 -0
- package/dist/src/runtime.js +564 -0
- package/docs/AccountsApi.md +1 -1
- package/docs/BillingApi.md +1 -1
- package/docs/CRMApi.md +1 -1
- package/docs/Class3CXApi.md +51 -3
- package/docs/Class3CXInstallationWizardApi.md +1 -1
- package/docs/Class3CXInstallationsApi.md +1 -1
- package/docs/Class3CXIntegrationsApi.md +1 -1
- package/docs/Class3CXMultiTenantApi.md +1 -1
- package/docs/ExpiringKeyDTO.md +29 -0
- package/docs/GetCheckMacExists200Response.md +20 -0
- package/docs/MacAddressDTO.md +23 -0
- package/docs/MyPBXToolsApi.md +1 -1
- package/docs/NumberPortingApi.md +1 -1
- package/docs/OAuth20Api.md +1 -1
- package/docs/OpayoRedirectDTO.md +29 -0
- package/docs/OrdersApi.md +5 -2
- package/docs/PricingApi.md +1 -1
- package/docs/ProductsApi.md +9 -3
- package/docs/ProspectsApi.md +1 -1
- package/docs/ProvisioningApi.md +167 -1
- package/docs/SIPTrunksApi.md +1 -1
- package/docs/SMSApi.md +1 -1
- package/docs/ServicesApi.md +1 -1
- package/docs/ShippingApi.md +1 -1
- package/docs/StockManagementApi.md +1 -1
- package/docs/SystemApi.md +1 -1
- package/docs/TicketsApi.md +1 -1
- package/docs/WebhooksApi.md +1 -1
- package/getEnums.php +31 -31
- package/index.ts +1 -1
- package/openapitools.json +1 -1
- package/package.json +2 -2
package/dist/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Yellowgrid
|
|
6
|
-
* Welcome to the Yellowgrid API documentation.
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 0
|
|
9
9
|
*
|
|
@@ -4802,6 +4802,40 @@ var Class3CXApiAxiosParamCreator = function (configuration) {
|
|
|
4802
4802
|
* @throws {RequiredError}
|
|
4803
4803
|
*/
|
|
4804
4804
|
getGetTcxExpiringKeys: function () {
|
|
4805
|
+
var args_1 = [];
|
|
4806
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
4807
|
+
args_1[_i] = arguments[_i];
|
|
4808
|
+
}
|
|
4809
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
4810
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4811
|
+
if (options === void 0) { options = {}; }
|
|
4812
|
+
return __generator(this, function (_a) {
|
|
4813
|
+
localVarPath = "/tcx/admin/keys/expiring";
|
|
4814
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4815
|
+
if (configuration) {
|
|
4816
|
+
baseOptions = configuration.baseOptions;
|
|
4817
|
+
}
|
|
4818
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
4819
|
+
localVarHeaderParameter = {};
|
|
4820
|
+
localVarQueryParameter = {};
|
|
4821
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4822
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4823
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4824
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4825
|
+
return [2 /*return*/, {
|
|
4826
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4827
|
+
options: localVarRequestOptions,
|
|
4828
|
+
}];
|
|
4829
|
+
});
|
|
4830
|
+
});
|
|
4831
|
+
},
|
|
4832
|
+
/**
|
|
4833
|
+
* Get 3CX Expiring Keys
|
|
4834
|
+
* @summary Get 3CX Expiring Keys
|
|
4835
|
+
* @param {*} [options] Override http request option.
|
|
4836
|
+
* @throws {RequiredError}
|
|
4837
|
+
*/
|
|
4838
|
+
getGetTcxExpiringKeysCsv: function () {
|
|
4805
4839
|
var args_1 = [];
|
|
4806
4840
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
4807
4841
|
args_1[_i] = arguments[_i];
|
|
@@ -4976,6 +5010,28 @@ var Class3CXApiFp = function (configuration) {
|
|
|
4976
5010
|
});
|
|
4977
5011
|
});
|
|
4978
5012
|
},
|
|
5013
|
+
/**
|
|
5014
|
+
* Get 3CX Expiring Keys
|
|
5015
|
+
* @summary Get 3CX Expiring Keys
|
|
5016
|
+
* @param {*} [options] Override http request option.
|
|
5017
|
+
* @throws {RequiredError}
|
|
5018
|
+
*/
|
|
5019
|
+
getGetTcxExpiringKeysCsv: function (options) {
|
|
5020
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5021
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
5022
|
+
var _a, _b, _c;
|
|
5023
|
+
return __generator(this, function (_d) {
|
|
5024
|
+
switch (_d.label) {
|
|
5025
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetTcxExpiringKeysCsv(options)];
|
|
5026
|
+
case 1:
|
|
5027
|
+
localVarAxiosArgs = _d.sent();
|
|
5028
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5029
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXApi.getGetTcxExpiringKeysCsv']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5030
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
5031
|
+
}
|
|
5032
|
+
});
|
|
5033
|
+
});
|
|
5034
|
+
},
|
|
4979
5035
|
/**
|
|
4980
5036
|
* Get 3CX Partners
|
|
4981
5037
|
* @summary Get 3CX Partners
|
|
@@ -5058,6 +5114,15 @@ var Class3CXApiFactory = function (configuration, basePath, axios) {
|
|
|
5058
5114
|
getGetTcxExpiringKeys: function (options) {
|
|
5059
5115
|
return localVarFp.getGetTcxExpiringKeys(options).then(function (request) { return request(axios, basePath); });
|
|
5060
5116
|
},
|
|
5117
|
+
/**
|
|
5118
|
+
* Get 3CX Expiring Keys
|
|
5119
|
+
* @summary Get 3CX Expiring Keys
|
|
5120
|
+
* @param {*} [options] Override http request option.
|
|
5121
|
+
* @throws {RequiredError}
|
|
5122
|
+
*/
|
|
5123
|
+
getGetTcxExpiringKeysCsv: function (options) {
|
|
5124
|
+
return localVarFp.getGetTcxExpiringKeysCsv(options).then(function (request) { return request(axios, basePath); });
|
|
5125
|
+
},
|
|
5061
5126
|
/**
|
|
5062
5127
|
* Get 3CX Partners
|
|
5063
5128
|
* @summary Get 3CX Partners
|
|
@@ -5119,6 +5184,16 @@ var Class3CXApi = /** @class */ (function (_super) {
|
|
|
5119
5184
|
var _this = this;
|
|
5120
5185
|
return (0, exports.Class3CXApiFp)(this.configuration).getGetTcxExpiringKeys(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5121
5186
|
};
|
|
5187
|
+
/**
|
|
5188
|
+
* Get 3CX Expiring Keys
|
|
5189
|
+
* @summary Get 3CX Expiring Keys
|
|
5190
|
+
* @param {*} [options] Override http request option.
|
|
5191
|
+
* @throws {RequiredError}
|
|
5192
|
+
*/
|
|
5193
|
+
Class3CXApi.prototype.getGetTcxExpiringKeysCsv = function (options) {
|
|
5194
|
+
var _this = this;
|
|
5195
|
+
return (0, exports.Class3CXApiFp)(this.configuration).getGetTcxExpiringKeysCsv(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5196
|
+
};
|
|
5122
5197
|
/**
|
|
5123
5198
|
* Get 3CX Partners
|
|
5124
5199
|
* @summary Get 3CX Partners
|
|
@@ -13769,20 +13844,23 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13769
13844
|
* Mark Order As Complete (Admin)
|
|
13770
13845
|
* @summary Mark Order As Complete (Admin)
|
|
13771
13846
|
* @param {number} id Order ID
|
|
13847
|
+
* @param {boolean} complete Complete Status
|
|
13772
13848
|
* @param {*} [options] Override http request option.
|
|
13773
13849
|
* @throws {RequiredError}
|
|
13774
13850
|
*/
|
|
13775
|
-
patchCompleteOrder: function (id_1) {
|
|
13851
|
+
patchCompleteOrder: function (id_1, complete_1) {
|
|
13776
13852
|
var args_1 = [];
|
|
13777
|
-
for (var _i =
|
|
13778
|
-
args_1[_i -
|
|
13853
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
13854
|
+
args_1[_i - 2] = arguments[_i];
|
|
13779
13855
|
}
|
|
13780
|
-
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
13856
|
+
return __awaiter(_this, __spreadArray([id_1, complete_1], args_1, true), void 0, function (id, complete, options) {
|
|
13781
13857
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13782
13858
|
if (options === void 0) { options = {}; }
|
|
13783
13859
|
return __generator(this, function (_a) {
|
|
13784
13860
|
// verify required parameter 'id' is not null or undefined
|
|
13785
13861
|
(0, common_1.assertParamExists)('patchCompleteOrder', 'id', id);
|
|
13862
|
+
// verify required parameter 'complete' is not null or undefined
|
|
13863
|
+
(0, common_1.assertParamExists)('patchCompleteOrder', 'complete', complete);
|
|
13786
13864
|
localVarPath = "/admin/orders/{id}/complete"
|
|
13787
13865
|
.replace('{id}', encodeURIComponent(String(id)));
|
|
13788
13866
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -13792,6 +13870,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13792
13870
|
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
13793
13871
|
localVarHeaderParameter = {};
|
|
13794
13872
|
localVarQueryParameter = {};
|
|
13873
|
+
if (complete !== undefined) {
|
|
13874
|
+
localVarQueryParameter['complete'] = complete;
|
|
13875
|
+
}
|
|
13795
13876
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
13796
13877
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13797
13878
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -14916,16 +14997,17 @@ var OrdersApiFp = function (configuration) {
|
|
|
14916
14997
|
* Mark Order As Complete (Admin)
|
|
14917
14998
|
* @summary Mark Order As Complete (Admin)
|
|
14918
14999
|
* @param {number} id Order ID
|
|
15000
|
+
* @param {boolean} complete Complete Status
|
|
14919
15001
|
* @param {*} [options] Override http request option.
|
|
14920
15002
|
* @throws {RequiredError}
|
|
14921
15003
|
*/
|
|
14922
|
-
patchCompleteOrder: function (id, options) {
|
|
15004
|
+
patchCompleteOrder: function (id, complete, options) {
|
|
14923
15005
|
return __awaiter(this, void 0, void 0, function () {
|
|
14924
15006
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
14925
15007
|
var _a, _b, _c;
|
|
14926
15008
|
return __generator(this, function (_d) {
|
|
14927
15009
|
switch (_d.label) {
|
|
14928
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchCompleteOrder(id, options)];
|
|
15010
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchCompleteOrder(id, complete, options)];
|
|
14929
15011
|
case 1:
|
|
14930
15012
|
localVarAxiosArgs = _d.sent();
|
|
14931
15013
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -15536,11 +15618,12 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
15536
15618
|
* Mark Order As Complete (Admin)
|
|
15537
15619
|
* @summary Mark Order As Complete (Admin)
|
|
15538
15620
|
* @param {number} id Order ID
|
|
15621
|
+
* @param {boolean} complete Complete Status
|
|
15539
15622
|
* @param {*} [options] Override http request option.
|
|
15540
15623
|
* @throws {RequiredError}
|
|
15541
15624
|
*/
|
|
15542
|
-
patchCompleteOrder: function (id, options) {
|
|
15543
|
-
return localVarFp.patchCompleteOrder(id, options).then(function (request) { return request(axios, basePath); });
|
|
15625
|
+
patchCompleteOrder: function (id, complete, options) {
|
|
15626
|
+
return localVarFp.patchCompleteOrder(id, complete, options).then(function (request) { return request(axios, basePath); });
|
|
15544
15627
|
},
|
|
15545
15628
|
/**
|
|
15546
15629
|
* Add Order Note
|
|
@@ -15909,12 +15992,13 @@ var OrdersApi = /** @class */ (function (_super) {
|
|
|
15909
15992
|
* Mark Order As Complete (Admin)
|
|
15910
15993
|
* @summary Mark Order As Complete (Admin)
|
|
15911
15994
|
* @param {number} id Order ID
|
|
15995
|
+
* @param {boolean} complete Complete Status
|
|
15912
15996
|
* @param {*} [options] Override http request option.
|
|
15913
15997
|
* @throws {RequiredError}
|
|
15914
15998
|
*/
|
|
15915
|
-
OrdersApi.prototype.patchCompleteOrder = function (id, options) {
|
|
15999
|
+
OrdersApi.prototype.patchCompleteOrder = function (id, complete, options) {
|
|
15916
16000
|
var _this = this;
|
|
15917
|
-
return (0, exports.OrdersApiFp)(this.configuration).patchCompleteOrder(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16001
|
+
return (0, exports.OrdersApiFp)(this.configuration).patchCompleteOrder(id, complete, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15918
16002
|
};
|
|
15919
16003
|
/**
|
|
15920
16004
|
* Add Order Note
|
|
@@ -16830,15 +16914,16 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
16830
16914
|
* @summary Get Product
|
|
16831
16915
|
* @param {string} sku Product SKU
|
|
16832
16916
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
16917
|
+
* @param {number} [orderId] Order ID
|
|
16833
16918
|
* @param {*} [options] Override http request option.
|
|
16834
16919
|
* @throws {RequiredError}
|
|
16835
16920
|
*/
|
|
16836
|
-
postGetProduct: function (sku_1, postGetProductForCustomerRequest_1) {
|
|
16921
|
+
postGetProduct: function (sku_1, postGetProductForCustomerRequest_1, orderId_1) {
|
|
16837
16922
|
var args_1 = [];
|
|
16838
|
-
for (var _i =
|
|
16839
|
-
args_1[_i -
|
|
16923
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
16924
|
+
args_1[_i - 3] = arguments[_i];
|
|
16840
16925
|
}
|
|
16841
|
-
return __awaiter(_this, __spreadArray([sku_1, postGetProductForCustomerRequest_1], args_1, true), void 0, function (sku, postGetProductForCustomerRequest, options) {
|
|
16926
|
+
return __awaiter(_this, __spreadArray([sku_1, postGetProductForCustomerRequest_1, orderId_1], args_1, true), void 0, function (sku, postGetProductForCustomerRequest, orderId, options) {
|
|
16842
16927
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
16843
16928
|
if (options === void 0) { options = {}; }
|
|
16844
16929
|
return __generator(this, function (_a) {
|
|
@@ -16855,6 +16940,9 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
16855
16940
|
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
16856
16941
|
localVarHeaderParameter = {};
|
|
16857
16942
|
localVarQueryParameter = {};
|
|
16943
|
+
if (orderId !== undefined) {
|
|
16944
|
+
localVarQueryParameter['orderId'] = orderId;
|
|
16945
|
+
}
|
|
16858
16946
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16859
16947
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
16860
16948
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -16874,15 +16962,16 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
16874
16962
|
* @param {number} customerId Customer ID
|
|
16875
16963
|
* @param {string} sku Product SKU
|
|
16876
16964
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
16965
|
+
* @param {number} [orderId] Order ID
|
|
16877
16966
|
* @param {*} [options] Override http request option.
|
|
16878
16967
|
* @throws {RequiredError}
|
|
16879
16968
|
*/
|
|
16880
|
-
postGetProductForCustomer: function (customerId_1, sku_1, postGetProductForCustomerRequest_1) {
|
|
16969
|
+
postGetProductForCustomer: function (customerId_1, sku_1, postGetProductForCustomerRequest_1, orderId_1) {
|
|
16881
16970
|
var args_1 = [];
|
|
16882
|
-
for (var _i =
|
|
16883
|
-
args_1[_i -
|
|
16971
|
+
for (var _i = 4; _i < arguments.length; _i++) {
|
|
16972
|
+
args_1[_i - 4] = arguments[_i];
|
|
16884
16973
|
}
|
|
16885
|
-
return __awaiter(_this, __spreadArray([customerId_1, sku_1, postGetProductForCustomerRequest_1], args_1, true), void 0, function (customerId, sku, postGetProductForCustomerRequest, options) {
|
|
16974
|
+
return __awaiter(_this, __spreadArray([customerId_1, sku_1, postGetProductForCustomerRequest_1, orderId_1], args_1, true), void 0, function (customerId, sku, postGetProductForCustomerRequest, orderId, options) {
|
|
16886
16975
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
16887
16976
|
if (options === void 0) { options = {}; }
|
|
16888
16977
|
return __generator(this, function (_a) {
|
|
@@ -16904,6 +16993,9 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
16904
16993
|
if (customerId !== undefined) {
|
|
16905
16994
|
localVarQueryParameter['customerId'] = customerId;
|
|
16906
16995
|
}
|
|
16996
|
+
if (orderId !== undefined) {
|
|
16997
|
+
localVarQueryParameter['orderId'] = orderId;
|
|
16998
|
+
}
|
|
16907
16999
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16908
17000
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
16909
17001
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -17114,16 +17206,17 @@ var ProductsApiFp = function (configuration) {
|
|
|
17114
17206
|
* @summary Get Product
|
|
17115
17207
|
* @param {string} sku Product SKU
|
|
17116
17208
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17209
|
+
* @param {number} [orderId] Order ID
|
|
17117
17210
|
* @param {*} [options] Override http request option.
|
|
17118
17211
|
* @throws {RequiredError}
|
|
17119
17212
|
*/
|
|
17120
|
-
postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
|
|
17213
|
+
postGetProduct: function (sku, postGetProductForCustomerRequest, orderId, options) {
|
|
17121
17214
|
return __awaiter(this, void 0, void 0, function () {
|
|
17122
17215
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
17123
17216
|
var _a, _b, _c;
|
|
17124
17217
|
return __generator(this, function (_d) {
|
|
17125
17218
|
switch (_d.label) {
|
|
17126
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options)];
|
|
17219
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, orderId, options)];
|
|
17127
17220
|
case 1:
|
|
17128
17221
|
localVarAxiosArgs = _d.sent();
|
|
17129
17222
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -17139,16 +17232,17 @@ var ProductsApiFp = function (configuration) {
|
|
|
17139
17232
|
* @param {number} customerId Customer ID
|
|
17140
17233
|
* @param {string} sku Product SKU
|
|
17141
17234
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17235
|
+
* @param {number} [orderId] Order ID
|
|
17142
17236
|
* @param {*} [options] Override http request option.
|
|
17143
17237
|
* @throws {RequiredError}
|
|
17144
17238
|
*/
|
|
17145
|
-
postGetProductForCustomer: function (customerId, sku, postGetProductForCustomerRequest, options) {
|
|
17239
|
+
postGetProductForCustomer: function (customerId, sku, postGetProductForCustomerRequest, orderId, options) {
|
|
17146
17240
|
return __awaiter(this, void 0, void 0, function () {
|
|
17147
17241
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
17148
17242
|
var _a, _b, _c;
|
|
17149
17243
|
return __generator(this, function (_d) {
|
|
17150
17244
|
switch (_d.label) {
|
|
17151
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options)];
|
|
17245
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, orderId, options)];
|
|
17152
17246
|
case 1:
|
|
17153
17247
|
localVarAxiosArgs = _d.sent();
|
|
17154
17248
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -17251,11 +17345,12 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
17251
17345
|
* @summary Get Product
|
|
17252
17346
|
* @param {string} sku Product SKU
|
|
17253
17347
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17348
|
+
* @param {number} [orderId] Order ID
|
|
17254
17349
|
* @param {*} [options] Override http request option.
|
|
17255
17350
|
* @throws {RequiredError}
|
|
17256
17351
|
*/
|
|
17257
|
-
postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
|
|
17258
|
-
return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(axios, basePath); });
|
|
17352
|
+
postGetProduct: function (sku, postGetProductForCustomerRequest, orderId, options) {
|
|
17353
|
+
return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, orderId, options).then(function (request) { return request(axios, basePath); });
|
|
17259
17354
|
},
|
|
17260
17355
|
/**
|
|
17261
17356
|
* Get Product For Customer
|
|
@@ -17263,11 +17358,12 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
17263
17358
|
* @param {number} customerId Customer ID
|
|
17264
17359
|
* @param {string} sku Product SKU
|
|
17265
17360
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17361
|
+
* @param {number} [orderId] Order ID
|
|
17266
17362
|
* @param {*} [options] Override http request option.
|
|
17267
17363
|
* @throws {RequiredError}
|
|
17268
17364
|
*/
|
|
17269
|
-
postGetProductForCustomer: function (customerId, sku, postGetProductForCustomerRequest, options) {
|
|
17270
|
-
return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then(function (request) { return request(axios, basePath); });
|
|
17365
|
+
postGetProductForCustomer: function (customerId, sku, postGetProductForCustomerRequest, orderId, options) {
|
|
17366
|
+
return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, orderId, options).then(function (request) { return request(axios, basePath); });
|
|
17271
17367
|
},
|
|
17272
17368
|
};
|
|
17273
17369
|
};
|
|
@@ -17372,12 +17468,13 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
17372
17468
|
* @summary Get Product
|
|
17373
17469
|
* @param {string} sku Product SKU
|
|
17374
17470
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17471
|
+
* @param {number} [orderId] Order ID
|
|
17375
17472
|
* @param {*} [options] Override http request option.
|
|
17376
17473
|
* @throws {RequiredError}
|
|
17377
17474
|
*/
|
|
17378
|
-
ProductsApi.prototype.postGetProduct = function (sku, postGetProductForCustomerRequest, options) {
|
|
17475
|
+
ProductsApi.prototype.postGetProduct = function (sku, postGetProductForCustomerRequest, orderId, options) {
|
|
17379
17476
|
var _this = this;
|
|
17380
|
-
return (0, exports.ProductsApiFp)(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17477
|
+
return (0, exports.ProductsApiFp)(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, orderId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17381
17478
|
};
|
|
17382
17479
|
/**
|
|
17383
17480
|
* Get Product For Customer
|
|
@@ -17385,12 +17482,13 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
17385
17482
|
* @param {number} customerId Customer ID
|
|
17386
17483
|
* @param {string} sku Product SKU
|
|
17387
17484
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17485
|
+
* @param {number} [orderId] Order ID
|
|
17388
17486
|
* @param {*} [options] Override http request option.
|
|
17389
17487
|
* @throws {RequiredError}
|
|
17390
17488
|
*/
|
|
17391
|
-
ProductsApi.prototype.postGetProductForCustomer = function (customerId, sku, postGetProductForCustomerRequest, options) {
|
|
17489
|
+
ProductsApi.prototype.postGetProductForCustomer = function (customerId, sku, postGetProductForCustomerRequest, orderId, options) {
|
|
17392
17490
|
var _this = this;
|
|
17393
|
-
return (0, exports.ProductsApiFp)(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17491
|
+
return (0, exports.ProductsApiFp)(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, orderId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17394
17492
|
};
|
|
17395
17493
|
return ProductsApi;
|
|
17396
17494
|
}(base_1.BaseAPI));
|
|
@@ -17823,6 +17921,42 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17823
17921
|
});
|
|
17824
17922
|
});
|
|
17825
17923
|
},
|
|
17924
|
+
/**
|
|
17925
|
+
* Delete a MAC address in FDPS
|
|
17926
|
+
* @param {string} mac MAC Address
|
|
17927
|
+
* @param {*} [options] Override http request option.
|
|
17928
|
+
* @throws {RequiredError}
|
|
17929
|
+
*/
|
|
17930
|
+
deleteCheckMacExists: function (mac_1) {
|
|
17931
|
+
var args_1 = [];
|
|
17932
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
17933
|
+
args_1[_i - 1] = arguments[_i];
|
|
17934
|
+
}
|
|
17935
|
+
return __awaiter(_this, __spreadArray([mac_1], args_1, true), void 0, function (mac, options) {
|
|
17936
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
17937
|
+
if (options === void 0) { options = {}; }
|
|
17938
|
+
return __generator(this, function (_a) {
|
|
17939
|
+
// verify required parameter 'mac' is not null or undefined
|
|
17940
|
+
(0, common_1.assertParamExists)('deleteCheckMacExists', 'mac', mac);
|
|
17941
|
+
localVarPath = "/admin/provisioning/fanvil/macs/{mac}"
|
|
17942
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
17943
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17944
|
+
if (configuration) {
|
|
17945
|
+
baseOptions = configuration.baseOptions;
|
|
17946
|
+
}
|
|
17947
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
17948
|
+
localVarHeaderParameter = {};
|
|
17949
|
+
localVarQueryParameter = {};
|
|
17950
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17951
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17952
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17953
|
+
return [2 /*return*/, {
|
|
17954
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
17955
|
+
options: localVarRequestOptions,
|
|
17956
|
+
}];
|
|
17957
|
+
});
|
|
17958
|
+
});
|
|
17959
|
+
},
|
|
17826
17960
|
/**
|
|
17827
17961
|
* Delete a Fanvil provisioning group
|
|
17828
17962
|
* @summary Delete group from DB and FDPS
|
|
@@ -17860,6 +17994,43 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17860
17994
|
});
|
|
17861
17995
|
});
|
|
17862
17996
|
},
|
|
17997
|
+
/**
|
|
17998
|
+
* Check if a MAC address exists in FDPS
|
|
17999
|
+
* @param {string} mac MAC Address
|
|
18000
|
+
* @param {*} [options] Override http request option.
|
|
18001
|
+
* @throws {RequiredError}
|
|
18002
|
+
*/
|
|
18003
|
+
getCheckMacExists: function (mac_1) {
|
|
18004
|
+
var args_1 = [];
|
|
18005
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
18006
|
+
args_1[_i - 1] = arguments[_i];
|
|
18007
|
+
}
|
|
18008
|
+
return __awaiter(_this, __spreadArray([mac_1], args_1, true), void 0, function (mac, options) {
|
|
18009
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
18010
|
+
if (options === void 0) { options = {}; }
|
|
18011
|
+
return __generator(this, function (_a) {
|
|
18012
|
+
// verify required parameter 'mac' is not null or undefined
|
|
18013
|
+
(0, common_1.assertParamExists)('getCheckMacExists', 'mac', mac);
|
|
18014
|
+
localVarPath = "/admin/provisioning/fanvil/macs/{mac}"
|
|
18015
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
18016
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18017
|
+
if (configuration) {
|
|
18018
|
+
baseOptions = configuration.baseOptions;
|
|
18019
|
+
}
|
|
18020
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
18021
|
+
localVarHeaderParameter = {};
|
|
18022
|
+
localVarQueryParameter = {};
|
|
18023
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
18024
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
18025
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18026
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
18027
|
+
return [2 /*return*/, {
|
|
18028
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
18029
|
+
options: localVarRequestOptions,
|
|
18030
|
+
}];
|
|
18031
|
+
});
|
|
18032
|
+
});
|
|
18033
|
+
},
|
|
17863
18034
|
/**
|
|
17864
18035
|
* Get group Fanvil encryption key
|
|
17865
18036
|
* @summary Get group Fanvil encryption key
|
|
@@ -18056,6 +18227,42 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
18056
18227
|
});
|
|
18057
18228
|
});
|
|
18058
18229
|
},
|
|
18230
|
+
/**
|
|
18231
|
+
* Create a MAC address in FDPS
|
|
18232
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
18233
|
+
* @param {*} [options] Override http request option.
|
|
18234
|
+
* @throws {RequiredError}
|
|
18235
|
+
*/
|
|
18236
|
+
postCreateMac: function (macAddressDTO_1) {
|
|
18237
|
+
var args_1 = [];
|
|
18238
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
18239
|
+
args_1[_i - 1] = arguments[_i];
|
|
18240
|
+
}
|
|
18241
|
+
return __awaiter(_this, __spreadArray([macAddressDTO_1], args_1, true), void 0, function (macAddressDTO, options) {
|
|
18242
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
18243
|
+
if (options === void 0) { options = {}; }
|
|
18244
|
+
return __generator(this, function (_a) {
|
|
18245
|
+
localVarPath = "/admin/provisioning/fanvil/macs";
|
|
18246
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18247
|
+
if (configuration) {
|
|
18248
|
+
baseOptions = configuration.baseOptions;
|
|
18249
|
+
}
|
|
18250
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
18251
|
+
localVarHeaderParameter = {};
|
|
18252
|
+
localVarQueryParameter = {};
|
|
18253
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18254
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
18255
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
18256
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18257
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
18258
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(macAddressDTO, localVarRequestOptions, configuration);
|
|
18259
|
+
return [2 /*return*/, {
|
|
18260
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
18261
|
+
options: localVarRequestOptions,
|
|
18262
|
+
}];
|
|
18263
|
+
});
|
|
18264
|
+
});
|
|
18265
|
+
},
|
|
18059
18266
|
};
|
|
18060
18267
|
};
|
|
18061
18268
|
exports.ProvisioningApiAxiosParamCreator = ProvisioningApiAxiosParamCreator;
|
|
@@ -18089,6 +18296,28 @@ var ProvisioningApiFp = function (configuration) {
|
|
|
18089
18296
|
});
|
|
18090
18297
|
});
|
|
18091
18298
|
},
|
|
18299
|
+
/**
|
|
18300
|
+
* Delete a MAC address in FDPS
|
|
18301
|
+
* @param {string} mac MAC Address
|
|
18302
|
+
* @param {*} [options] Override http request option.
|
|
18303
|
+
* @throws {RequiredError}
|
|
18304
|
+
*/
|
|
18305
|
+
deleteCheckMacExists: function (mac, options) {
|
|
18306
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
18307
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
18308
|
+
var _a, _b, _c;
|
|
18309
|
+
return __generator(this, function (_d) {
|
|
18310
|
+
switch (_d.label) {
|
|
18311
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteCheckMacExists(mac, options)];
|
|
18312
|
+
case 1:
|
|
18313
|
+
localVarAxiosArgs = _d.sent();
|
|
18314
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18315
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProvisioningApi.deleteCheckMacExists']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18316
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
18317
|
+
}
|
|
18318
|
+
});
|
|
18319
|
+
});
|
|
18320
|
+
},
|
|
18092
18321
|
/**
|
|
18093
18322
|
* Delete a Fanvil provisioning group
|
|
18094
18323
|
* @summary Delete group from DB and FDPS
|
|
@@ -18112,6 +18341,28 @@ var ProvisioningApiFp = function (configuration) {
|
|
|
18112
18341
|
});
|
|
18113
18342
|
});
|
|
18114
18343
|
},
|
|
18344
|
+
/**
|
|
18345
|
+
* Check if a MAC address exists in FDPS
|
|
18346
|
+
* @param {string} mac MAC Address
|
|
18347
|
+
* @param {*} [options] Override http request option.
|
|
18348
|
+
* @throws {RequiredError}
|
|
18349
|
+
*/
|
|
18350
|
+
getCheckMacExists: function (mac, options) {
|
|
18351
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
18352
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
18353
|
+
var _a, _b, _c;
|
|
18354
|
+
return __generator(this, function (_d) {
|
|
18355
|
+
switch (_d.label) {
|
|
18356
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getCheckMacExists(mac, options)];
|
|
18357
|
+
case 1:
|
|
18358
|
+
localVarAxiosArgs = _d.sent();
|
|
18359
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18360
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProvisioningApi.getCheckMacExists']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18361
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
18362
|
+
}
|
|
18363
|
+
});
|
|
18364
|
+
});
|
|
18365
|
+
},
|
|
18115
18366
|
/**
|
|
18116
18367
|
* Get group Fanvil encryption key
|
|
18117
18368
|
* @summary Get group Fanvil encryption key
|
|
@@ -18229,6 +18480,28 @@ var ProvisioningApiFp = function (configuration) {
|
|
|
18229
18480
|
});
|
|
18230
18481
|
});
|
|
18231
18482
|
},
|
|
18483
|
+
/**
|
|
18484
|
+
* Create a MAC address in FDPS
|
|
18485
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
18486
|
+
* @param {*} [options] Override http request option.
|
|
18487
|
+
* @throws {RequiredError}
|
|
18488
|
+
*/
|
|
18489
|
+
postCreateMac: function (macAddressDTO, options) {
|
|
18490
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
18491
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
18492
|
+
var _a, _b, _c;
|
|
18493
|
+
return __generator(this, function (_d) {
|
|
18494
|
+
switch (_d.label) {
|
|
18495
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateMac(macAddressDTO, options)];
|
|
18496
|
+
case 1:
|
|
18497
|
+
localVarAxiosArgs = _d.sent();
|
|
18498
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18499
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProvisioningApi.postCreateMac']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18500
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
18501
|
+
}
|
|
18502
|
+
});
|
|
18503
|
+
});
|
|
18504
|
+
},
|
|
18232
18505
|
};
|
|
18233
18506
|
};
|
|
18234
18507
|
exports.ProvisioningApiFp = ProvisioningApiFp;
|
|
@@ -18249,6 +18522,15 @@ var ProvisioningApiFactory = function (configuration, basePath, axios) {
|
|
|
18249
18522
|
deleteAddFanvilMac: function (id, mac, options) {
|
|
18250
18523
|
return localVarFp.deleteAddFanvilMac(id, mac, options).then(function (request) { return request(axios, basePath); });
|
|
18251
18524
|
},
|
|
18525
|
+
/**
|
|
18526
|
+
* Delete a MAC address in FDPS
|
|
18527
|
+
* @param {string} mac MAC Address
|
|
18528
|
+
* @param {*} [options] Override http request option.
|
|
18529
|
+
* @throws {RequiredError}
|
|
18530
|
+
*/
|
|
18531
|
+
deleteCheckMacExists: function (mac, options) {
|
|
18532
|
+
return localVarFp.deleteCheckMacExists(mac, options).then(function (request) { return request(axios, basePath); });
|
|
18533
|
+
},
|
|
18252
18534
|
/**
|
|
18253
18535
|
* Delete a Fanvil provisioning group
|
|
18254
18536
|
* @summary Delete group from DB and FDPS
|
|
@@ -18259,6 +18541,15 @@ var ProvisioningApiFactory = function (configuration, basePath, axios) {
|
|
|
18259
18541
|
deleteDeleteFanvilGroup: function (id, options) {
|
|
18260
18542
|
return localVarFp.deleteDeleteFanvilGroup(id, options).then(function (request) { return request(axios, basePath); });
|
|
18261
18543
|
},
|
|
18544
|
+
/**
|
|
18545
|
+
* Check if a MAC address exists in FDPS
|
|
18546
|
+
* @param {string} mac MAC Address
|
|
18547
|
+
* @param {*} [options] Override http request option.
|
|
18548
|
+
* @throws {RequiredError}
|
|
18549
|
+
*/
|
|
18550
|
+
getCheckMacExists: function (mac, options) {
|
|
18551
|
+
return localVarFp.getCheckMacExists(mac, options).then(function (request) { return request(axios, basePath); });
|
|
18552
|
+
},
|
|
18262
18553
|
/**
|
|
18263
18554
|
* Get group Fanvil encryption key
|
|
18264
18555
|
* @summary Get group Fanvil encryption key
|
|
@@ -18311,6 +18602,15 @@ var ProvisioningApiFactory = function (configuration, basePath, axios) {
|
|
|
18311
18602
|
postAddFanvilMac: function (id, mac, options) {
|
|
18312
18603
|
return localVarFp.postAddFanvilMac(id, mac, options).then(function (request) { return request(axios, basePath); });
|
|
18313
18604
|
},
|
|
18605
|
+
/**
|
|
18606
|
+
* Create a MAC address in FDPS
|
|
18607
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
18608
|
+
* @param {*} [options] Override http request option.
|
|
18609
|
+
* @throws {RequiredError}
|
|
18610
|
+
*/
|
|
18611
|
+
postCreateMac: function (macAddressDTO, options) {
|
|
18612
|
+
return localVarFp.postCreateMac(macAddressDTO, options).then(function (request) { return request(axios, basePath); });
|
|
18613
|
+
},
|
|
18314
18614
|
};
|
|
18315
18615
|
};
|
|
18316
18616
|
exports.ProvisioningApiFactory = ProvisioningApiFactory;
|
|
@@ -18334,6 +18634,16 @@ var ProvisioningApi = /** @class */ (function (_super) {
|
|
|
18334
18634
|
var _this = this;
|
|
18335
18635
|
return (0, exports.ProvisioningApiFp)(this.configuration).deleteAddFanvilMac(id, mac, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18336
18636
|
};
|
|
18637
|
+
/**
|
|
18638
|
+
* Delete a MAC address in FDPS
|
|
18639
|
+
* @param {string} mac MAC Address
|
|
18640
|
+
* @param {*} [options] Override http request option.
|
|
18641
|
+
* @throws {RequiredError}
|
|
18642
|
+
*/
|
|
18643
|
+
ProvisioningApi.prototype.deleteCheckMacExists = function (mac, options) {
|
|
18644
|
+
var _this = this;
|
|
18645
|
+
return (0, exports.ProvisioningApiFp)(this.configuration).deleteCheckMacExists(mac, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18646
|
+
};
|
|
18337
18647
|
/**
|
|
18338
18648
|
* Delete a Fanvil provisioning group
|
|
18339
18649
|
* @summary Delete group from DB and FDPS
|
|
@@ -18345,6 +18655,16 @@ var ProvisioningApi = /** @class */ (function (_super) {
|
|
|
18345
18655
|
var _this = this;
|
|
18346
18656
|
return (0, exports.ProvisioningApiFp)(this.configuration).deleteDeleteFanvilGroup(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18347
18657
|
};
|
|
18658
|
+
/**
|
|
18659
|
+
* Check if a MAC address exists in FDPS
|
|
18660
|
+
* @param {string} mac MAC Address
|
|
18661
|
+
* @param {*} [options] Override http request option.
|
|
18662
|
+
* @throws {RequiredError}
|
|
18663
|
+
*/
|
|
18664
|
+
ProvisioningApi.prototype.getCheckMacExists = function (mac, options) {
|
|
18665
|
+
var _this = this;
|
|
18666
|
+
return (0, exports.ProvisioningApiFp)(this.configuration).getCheckMacExists(mac, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18667
|
+
};
|
|
18348
18668
|
/**
|
|
18349
18669
|
* Get group Fanvil encryption key
|
|
18350
18670
|
* @summary Get group Fanvil encryption key
|
|
@@ -18402,6 +18722,16 @@ var ProvisioningApi = /** @class */ (function (_super) {
|
|
|
18402
18722
|
var _this = this;
|
|
18403
18723
|
return (0, exports.ProvisioningApiFp)(this.configuration).postAddFanvilMac(id, mac, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18404
18724
|
};
|
|
18725
|
+
/**
|
|
18726
|
+
* Create a MAC address in FDPS
|
|
18727
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
18728
|
+
* @param {*} [options] Override http request option.
|
|
18729
|
+
* @throws {RequiredError}
|
|
18730
|
+
*/
|
|
18731
|
+
ProvisioningApi.prototype.postCreateMac = function (macAddressDTO, options) {
|
|
18732
|
+
var _this = this;
|
|
18733
|
+
return (0, exports.ProvisioningApiFp)(this.configuration).postCreateMac(macAddressDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18734
|
+
};
|
|
18405
18735
|
return ProvisioningApi;
|
|
18406
18736
|
}(base_1.BaseAPI));
|
|
18407
18737
|
exports.ProvisioningApi = ProvisioningApi;
|