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/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
|
*
|
|
@@ -302,6 +302,7 @@ exports.PatchUpdateTcxHostingPriceListRequestPriceListEnum = {
|
|
|
302
302
|
_3: '3',
|
|
303
303
|
_4: '4',
|
|
304
304
|
_5: '5',
|
|
305
|
+
_6: '6',
|
|
305
306
|
};
|
|
306
307
|
exports.ProspectDTOStatusEnum = {
|
|
307
308
|
NoCallBackSet: 'No Call Back Set',
|
|
@@ -1413,6 +1414,45 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1413
1414
|
});
|
|
1414
1415
|
});
|
|
1415
1416
|
},
|
|
1417
|
+
/**
|
|
1418
|
+
* Set Account Name
|
|
1419
|
+
* @param {string} id Xero ID
|
|
1420
|
+
* @param {PatchUpdateAccountNameRequest} [patchUpdateAccountNameRequest] Account Name Request
|
|
1421
|
+
* @param {*} [options] Override http request option.
|
|
1422
|
+
* @throws {RequiredError}
|
|
1423
|
+
*/
|
|
1424
|
+
patchUpdateAccountName: function (id_1, patchUpdateAccountNameRequest_1) {
|
|
1425
|
+
var args_1 = [];
|
|
1426
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1427
|
+
args_1[_i - 2] = arguments[_i];
|
|
1428
|
+
}
|
|
1429
|
+
return __awaiter(_this, __spreadArray([id_1, patchUpdateAccountNameRequest_1], args_1, true), void 0, function (id, patchUpdateAccountNameRequest, options) {
|
|
1430
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1431
|
+
if (options === void 0) { options = {}; }
|
|
1432
|
+
return __generator(this, function (_a) {
|
|
1433
|
+
// verify required parameter 'id' is not null or undefined
|
|
1434
|
+
(0, common_1.assertParamExists)('patchUpdateAccountName', 'id', id);
|
|
1435
|
+
localVarPath = "/admin/accounts/{id}/name"
|
|
1436
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1437
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1438
|
+
if (configuration) {
|
|
1439
|
+
baseOptions = configuration.baseOptions;
|
|
1440
|
+
}
|
|
1441
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
1442
|
+
localVarHeaderParameter = {};
|
|
1443
|
+
localVarQueryParameter = {};
|
|
1444
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1445
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1446
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1447
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1448
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateAccountNameRequest, localVarRequestOptions, configuration);
|
|
1449
|
+
return [2 /*return*/, {
|
|
1450
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1451
|
+
options: localVarRequestOptions,
|
|
1452
|
+
}];
|
|
1453
|
+
});
|
|
1454
|
+
});
|
|
1455
|
+
},
|
|
1416
1456
|
/**
|
|
1417
1457
|
* Set Account Phone
|
|
1418
1458
|
* @param {string} id Xero ID
|
|
@@ -2771,6 +2811,29 @@ var AccountsApiFp = function (configuration) {
|
|
|
2771
2811
|
});
|
|
2772
2812
|
});
|
|
2773
2813
|
},
|
|
2814
|
+
/**
|
|
2815
|
+
* Set Account Name
|
|
2816
|
+
* @param {string} id Xero ID
|
|
2817
|
+
* @param {PatchUpdateAccountNameRequest} [patchUpdateAccountNameRequest] Account Name Request
|
|
2818
|
+
* @param {*} [options] Override http request option.
|
|
2819
|
+
* @throws {RequiredError}
|
|
2820
|
+
*/
|
|
2821
|
+
patchUpdateAccountName: function (id, patchUpdateAccountNameRequest, options) {
|
|
2822
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2823
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2824
|
+
var _a, _b, _c;
|
|
2825
|
+
return __generator(this, function (_d) {
|
|
2826
|
+
switch (_d.label) {
|
|
2827
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountName(id, patchUpdateAccountNameRequest, options)];
|
|
2828
|
+
case 1:
|
|
2829
|
+
localVarAxiosArgs = _d.sent();
|
|
2830
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2831
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountName']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2832
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2833
|
+
}
|
|
2834
|
+
});
|
|
2835
|
+
});
|
|
2836
|
+
},
|
|
2774
2837
|
/**
|
|
2775
2838
|
* Set Account Phone
|
|
2776
2839
|
* @param {string} id Xero ID
|
|
@@ -3485,6 +3548,16 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
3485
3548
|
patchUpdateAccountContactPassword: function (token, patchUpdateAccountContactPasswordRequest, options) {
|
|
3486
3549
|
return localVarFp.patchUpdateAccountContactPassword(token, patchUpdateAccountContactPasswordRequest, options).then(function (request) { return request(axios, basePath); });
|
|
3487
3550
|
},
|
|
3551
|
+
/**
|
|
3552
|
+
* Set Account Name
|
|
3553
|
+
* @param {string} id Xero ID
|
|
3554
|
+
* @param {PatchUpdateAccountNameRequest} [patchUpdateAccountNameRequest] Account Name Request
|
|
3555
|
+
* @param {*} [options] Override http request option.
|
|
3556
|
+
* @throws {RequiredError}
|
|
3557
|
+
*/
|
|
3558
|
+
patchUpdateAccountName: function (id, patchUpdateAccountNameRequest, options) {
|
|
3559
|
+
return localVarFp.patchUpdateAccountName(id, patchUpdateAccountNameRequest, options).then(function (request) { return request(axios, basePath); });
|
|
3560
|
+
},
|
|
3488
3561
|
/**
|
|
3489
3562
|
* Set Account Phone
|
|
3490
3563
|
* @param {string} id Xero ID
|
|
@@ -3966,6 +4039,17 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3966
4039
|
var _this = this;
|
|
3967
4040
|
return (0, exports.AccountsApiFp)(this.configuration).patchUpdateAccountContactPassword(token, patchUpdateAccountContactPasswordRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3968
4041
|
};
|
|
4042
|
+
/**
|
|
4043
|
+
* Set Account Name
|
|
4044
|
+
* @param {string} id Xero ID
|
|
4045
|
+
* @param {PatchUpdateAccountNameRequest} [patchUpdateAccountNameRequest] Account Name Request
|
|
4046
|
+
* @param {*} [options] Override http request option.
|
|
4047
|
+
* @throws {RequiredError}
|
|
4048
|
+
*/
|
|
4049
|
+
AccountsApi.prototype.patchUpdateAccountName = function (id, patchUpdateAccountNameRequest, options) {
|
|
4050
|
+
var _this = this;
|
|
4051
|
+
return (0, exports.AccountsApiFp)(this.configuration).patchUpdateAccountName(id, patchUpdateAccountNameRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4052
|
+
};
|
|
3969
4053
|
/**
|
|
3970
4054
|
* Set Account Phone
|
|
3971
4055
|
* @param {string} id Xero ID
|
|
@@ -16914,15 +16998,16 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
16914
16998
|
* @summary Get Product
|
|
16915
16999
|
* @param {string} sku Product SKU
|
|
16916
17000
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17001
|
+
* @param {number} [orderId] Order ID
|
|
16917
17002
|
* @param {*} [options] Override http request option.
|
|
16918
17003
|
* @throws {RequiredError}
|
|
16919
17004
|
*/
|
|
16920
|
-
postGetProduct: function (sku_1, postGetProductForCustomerRequest_1) {
|
|
17005
|
+
postGetProduct: function (sku_1, postGetProductForCustomerRequest_1, orderId_1) {
|
|
16921
17006
|
var args_1 = [];
|
|
16922
|
-
for (var _i =
|
|
16923
|
-
args_1[_i -
|
|
17007
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
17008
|
+
args_1[_i - 3] = arguments[_i];
|
|
16924
17009
|
}
|
|
16925
|
-
return __awaiter(_this, __spreadArray([sku_1, postGetProductForCustomerRequest_1], args_1, true), void 0, function (sku, postGetProductForCustomerRequest, options) {
|
|
17010
|
+
return __awaiter(_this, __spreadArray([sku_1, postGetProductForCustomerRequest_1, orderId_1], args_1, true), void 0, function (sku, postGetProductForCustomerRequest, orderId, options) {
|
|
16926
17011
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
16927
17012
|
if (options === void 0) { options = {}; }
|
|
16928
17013
|
return __generator(this, function (_a) {
|
|
@@ -16939,6 +17024,9 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
16939
17024
|
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
16940
17025
|
localVarHeaderParameter = {};
|
|
16941
17026
|
localVarQueryParameter = {};
|
|
17027
|
+
if (orderId !== undefined) {
|
|
17028
|
+
localVarQueryParameter['orderId'] = orderId;
|
|
17029
|
+
}
|
|
16942
17030
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16943
17031
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
16944
17032
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -16958,15 +17046,16 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
16958
17046
|
* @param {number} customerId Customer ID
|
|
16959
17047
|
* @param {string} sku Product SKU
|
|
16960
17048
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17049
|
+
* @param {number} [orderId] Order ID
|
|
16961
17050
|
* @param {*} [options] Override http request option.
|
|
16962
17051
|
* @throws {RequiredError}
|
|
16963
17052
|
*/
|
|
16964
|
-
postGetProductForCustomer: function (customerId_1, sku_1, postGetProductForCustomerRequest_1) {
|
|
17053
|
+
postGetProductForCustomer: function (customerId_1, sku_1, postGetProductForCustomerRequest_1, orderId_1) {
|
|
16965
17054
|
var args_1 = [];
|
|
16966
|
-
for (var _i =
|
|
16967
|
-
args_1[_i -
|
|
17055
|
+
for (var _i = 4; _i < arguments.length; _i++) {
|
|
17056
|
+
args_1[_i - 4] = arguments[_i];
|
|
16968
17057
|
}
|
|
16969
|
-
return __awaiter(_this, __spreadArray([customerId_1, sku_1, postGetProductForCustomerRequest_1], args_1, true), void 0, function (customerId, sku, postGetProductForCustomerRequest, options) {
|
|
17058
|
+
return __awaiter(_this, __spreadArray([customerId_1, sku_1, postGetProductForCustomerRequest_1, orderId_1], args_1, true), void 0, function (customerId, sku, postGetProductForCustomerRequest, orderId, options) {
|
|
16970
17059
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
16971
17060
|
if (options === void 0) { options = {}; }
|
|
16972
17061
|
return __generator(this, function (_a) {
|
|
@@ -16988,6 +17077,9 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
16988
17077
|
if (customerId !== undefined) {
|
|
16989
17078
|
localVarQueryParameter['customerId'] = customerId;
|
|
16990
17079
|
}
|
|
17080
|
+
if (orderId !== undefined) {
|
|
17081
|
+
localVarQueryParameter['orderId'] = orderId;
|
|
17082
|
+
}
|
|
16991
17083
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16992
17084
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
16993
17085
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -17198,16 +17290,17 @@ var ProductsApiFp = function (configuration) {
|
|
|
17198
17290
|
* @summary Get Product
|
|
17199
17291
|
* @param {string} sku Product SKU
|
|
17200
17292
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17293
|
+
* @param {number} [orderId] Order ID
|
|
17201
17294
|
* @param {*} [options] Override http request option.
|
|
17202
17295
|
* @throws {RequiredError}
|
|
17203
17296
|
*/
|
|
17204
|
-
postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
|
|
17297
|
+
postGetProduct: function (sku, postGetProductForCustomerRequest, orderId, options) {
|
|
17205
17298
|
return __awaiter(this, void 0, void 0, function () {
|
|
17206
17299
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
17207
17300
|
var _a, _b, _c;
|
|
17208
17301
|
return __generator(this, function (_d) {
|
|
17209
17302
|
switch (_d.label) {
|
|
17210
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options)];
|
|
17303
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, orderId, options)];
|
|
17211
17304
|
case 1:
|
|
17212
17305
|
localVarAxiosArgs = _d.sent();
|
|
17213
17306
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -17223,16 +17316,17 @@ var ProductsApiFp = function (configuration) {
|
|
|
17223
17316
|
* @param {number} customerId Customer ID
|
|
17224
17317
|
* @param {string} sku Product SKU
|
|
17225
17318
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17319
|
+
* @param {number} [orderId] Order ID
|
|
17226
17320
|
* @param {*} [options] Override http request option.
|
|
17227
17321
|
* @throws {RequiredError}
|
|
17228
17322
|
*/
|
|
17229
|
-
postGetProductForCustomer: function (customerId, sku, postGetProductForCustomerRequest, options) {
|
|
17323
|
+
postGetProductForCustomer: function (customerId, sku, postGetProductForCustomerRequest, orderId, options) {
|
|
17230
17324
|
return __awaiter(this, void 0, void 0, function () {
|
|
17231
17325
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
17232
17326
|
var _a, _b, _c;
|
|
17233
17327
|
return __generator(this, function (_d) {
|
|
17234
17328
|
switch (_d.label) {
|
|
17235
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options)];
|
|
17329
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, orderId, options)];
|
|
17236
17330
|
case 1:
|
|
17237
17331
|
localVarAxiosArgs = _d.sent();
|
|
17238
17332
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -17335,11 +17429,12 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
17335
17429
|
* @summary Get Product
|
|
17336
17430
|
* @param {string} sku Product SKU
|
|
17337
17431
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17432
|
+
* @param {number} [orderId] Order ID
|
|
17338
17433
|
* @param {*} [options] Override http request option.
|
|
17339
17434
|
* @throws {RequiredError}
|
|
17340
17435
|
*/
|
|
17341
|
-
postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
|
|
17342
|
-
return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(axios, basePath); });
|
|
17436
|
+
postGetProduct: function (sku, postGetProductForCustomerRequest, orderId, options) {
|
|
17437
|
+
return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, orderId, options).then(function (request) { return request(axios, basePath); });
|
|
17343
17438
|
},
|
|
17344
17439
|
/**
|
|
17345
17440
|
* Get Product For Customer
|
|
@@ -17347,11 +17442,12 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
17347
17442
|
* @param {number} customerId Customer ID
|
|
17348
17443
|
* @param {string} sku Product SKU
|
|
17349
17444
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17445
|
+
* @param {number} [orderId] Order ID
|
|
17350
17446
|
* @param {*} [options] Override http request option.
|
|
17351
17447
|
* @throws {RequiredError}
|
|
17352
17448
|
*/
|
|
17353
|
-
postGetProductForCustomer: function (customerId, sku, postGetProductForCustomerRequest, options) {
|
|
17354
|
-
return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then(function (request) { return request(axios, basePath); });
|
|
17449
|
+
postGetProductForCustomer: function (customerId, sku, postGetProductForCustomerRequest, orderId, options) {
|
|
17450
|
+
return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, orderId, options).then(function (request) { return request(axios, basePath); });
|
|
17355
17451
|
},
|
|
17356
17452
|
};
|
|
17357
17453
|
};
|
|
@@ -17456,12 +17552,13 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
17456
17552
|
* @summary Get Product
|
|
17457
17553
|
* @param {string} sku Product SKU
|
|
17458
17554
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17555
|
+
* @param {number} [orderId] Order ID
|
|
17459
17556
|
* @param {*} [options] Override http request option.
|
|
17460
17557
|
* @throws {RequiredError}
|
|
17461
17558
|
*/
|
|
17462
|
-
ProductsApi.prototype.postGetProduct = function (sku, postGetProductForCustomerRequest, options) {
|
|
17559
|
+
ProductsApi.prototype.postGetProduct = function (sku, postGetProductForCustomerRequest, orderId, options) {
|
|
17463
17560
|
var _this = this;
|
|
17464
|
-
return (0, exports.ProductsApiFp)(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17561
|
+
return (0, exports.ProductsApiFp)(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, orderId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17465
17562
|
};
|
|
17466
17563
|
/**
|
|
17467
17564
|
* Get Product For Customer
|
|
@@ -17469,12 +17566,13 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
17469
17566
|
* @param {number} customerId Customer ID
|
|
17470
17567
|
* @param {string} sku Product SKU
|
|
17471
17568
|
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17569
|
+
* @param {number} [orderId] Order ID
|
|
17472
17570
|
* @param {*} [options] Override http request option.
|
|
17473
17571
|
* @throws {RequiredError}
|
|
17474
17572
|
*/
|
|
17475
|
-
ProductsApi.prototype.postGetProductForCustomer = function (customerId, sku, postGetProductForCustomerRequest, options) {
|
|
17573
|
+
ProductsApi.prototype.postGetProductForCustomer = function (customerId, sku, postGetProductForCustomerRequest, orderId, options) {
|
|
17476
17574
|
var _this = this;
|
|
17477
|
-
return (0, exports.ProductsApiFp)(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17575
|
+
return (0, exports.ProductsApiFp)(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, orderId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17478
17576
|
};
|
|
17479
17577
|
return ProductsApi;
|
|
17480
17578
|
}(base_1.BaseAPI));
|
|
@@ -17907,6 +18005,42 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17907
18005
|
});
|
|
17908
18006
|
});
|
|
17909
18007
|
},
|
|
18008
|
+
/**
|
|
18009
|
+
* Delete a MAC address in FDPS
|
|
18010
|
+
* @param {string} mac MAC Address
|
|
18011
|
+
* @param {*} [options] Override http request option.
|
|
18012
|
+
* @throws {RequiredError}
|
|
18013
|
+
*/
|
|
18014
|
+
deleteCheckMacExists: function (mac_1) {
|
|
18015
|
+
var args_1 = [];
|
|
18016
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
18017
|
+
args_1[_i - 1] = arguments[_i];
|
|
18018
|
+
}
|
|
18019
|
+
return __awaiter(_this, __spreadArray([mac_1], args_1, true), void 0, function (mac, options) {
|
|
18020
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
18021
|
+
if (options === void 0) { options = {}; }
|
|
18022
|
+
return __generator(this, function (_a) {
|
|
18023
|
+
// verify required parameter 'mac' is not null or undefined
|
|
18024
|
+
(0, common_1.assertParamExists)('deleteCheckMacExists', 'mac', mac);
|
|
18025
|
+
localVarPath = "/admin/provisioning/fanvil/macs/{mac}"
|
|
18026
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
18027
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18028
|
+
if (configuration) {
|
|
18029
|
+
baseOptions = configuration.baseOptions;
|
|
18030
|
+
}
|
|
18031
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
18032
|
+
localVarHeaderParameter = {};
|
|
18033
|
+
localVarQueryParameter = {};
|
|
18034
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
18035
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18036
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
18037
|
+
return [2 /*return*/, {
|
|
18038
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
18039
|
+
options: localVarRequestOptions,
|
|
18040
|
+
}];
|
|
18041
|
+
});
|
|
18042
|
+
});
|
|
18043
|
+
},
|
|
17910
18044
|
/**
|
|
17911
18045
|
* Delete a Fanvil provisioning group
|
|
17912
18046
|
* @summary Delete group from DB and FDPS
|
|
@@ -17944,6 +18078,43 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17944
18078
|
});
|
|
17945
18079
|
});
|
|
17946
18080
|
},
|
|
18081
|
+
/**
|
|
18082
|
+
* Check if a MAC address exists in FDPS
|
|
18083
|
+
* @param {string} mac MAC Address
|
|
18084
|
+
* @param {*} [options] Override http request option.
|
|
18085
|
+
* @throws {RequiredError}
|
|
18086
|
+
*/
|
|
18087
|
+
getCheckMacExists: function (mac_1) {
|
|
18088
|
+
var args_1 = [];
|
|
18089
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
18090
|
+
args_1[_i - 1] = arguments[_i];
|
|
18091
|
+
}
|
|
18092
|
+
return __awaiter(_this, __spreadArray([mac_1], args_1, true), void 0, function (mac, options) {
|
|
18093
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
18094
|
+
if (options === void 0) { options = {}; }
|
|
18095
|
+
return __generator(this, function (_a) {
|
|
18096
|
+
// verify required parameter 'mac' is not null or undefined
|
|
18097
|
+
(0, common_1.assertParamExists)('getCheckMacExists', 'mac', mac);
|
|
18098
|
+
localVarPath = "/admin/provisioning/fanvil/macs/{mac}"
|
|
18099
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
18100
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18101
|
+
if (configuration) {
|
|
18102
|
+
baseOptions = configuration.baseOptions;
|
|
18103
|
+
}
|
|
18104
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
18105
|
+
localVarHeaderParameter = {};
|
|
18106
|
+
localVarQueryParameter = {};
|
|
18107
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
18108
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
18109
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18110
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
18111
|
+
return [2 /*return*/, {
|
|
18112
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
18113
|
+
options: localVarRequestOptions,
|
|
18114
|
+
}];
|
|
18115
|
+
});
|
|
18116
|
+
});
|
|
18117
|
+
},
|
|
17947
18118
|
/**
|
|
17948
18119
|
* Get group Fanvil encryption key
|
|
17949
18120
|
* @summary Get group Fanvil encryption key
|
|
@@ -18140,6 +18311,42 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
18140
18311
|
});
|
|
18141
18312
|
});
|
|
18142
18313
|
},
|
|
18314
|
+
/**
|
|
18315
|
+
* Create a MAC address in FDPS
|
|
18316
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
18317
|
+
* @param {*} [options] Override http request option.
|
|
18318
|
+
* @throws {RequiredError}
|
|
18319
|
+
*/
|
|
18320
|
+
postCreateMac: function (macAddressDTO_1) {
|
|
18321
|
+
var args_1 = [];
|
|
18322
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
18323
|
+
args_1[_i - 1] = arguments[_i];
|
|
18324
|
+
}
|
|
18325
|
+
return __awaiter(_this, __spreadArray([macAddressDTO_1], args_1, true), void 0, function (macAddressDTO, options) {
|
|
18326
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
18327
|
+
if (options === void 0) { options = {}; }
|
|
18328
|
+
return __generator(this, function (_a) {
|
|
18329
|
+
localVarPath = "/admin/provisioning/fanvil/macs";
|
|
18330
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18331
|
+
if (configuration) {
|
|
18332
|
+
baseOptions = configuration.baseOptions;
|
|
18333
|
+
}
|
|
18334
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
18335
|
+
localVarHeaderParameter = {};
|
|
18336
|
+
localVarQueryParameter = {};
|
|
18337
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18338
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
18339
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
18340
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18341
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
18342
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(macAddressDTO, localVarRequestOptions, configuration);
|
|
18343
|
+
return [2 /*return*/, {
|
|
18344
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
18345
|
+
options: localVarRequestOptions,
|
|
18346
|
+
}];
|
|
18347
|
+
});
|
|
18348
|
+
});
|
|
18349
|
+
},
|
|
18143
18350
|
};
|
|
18144
18351
|
};
|
|
18145
18352
|
exports.ProvisioningApiAxiosParamCreator = ProvisioningApiAxiosParamCreator;
|
|
@@ -18173,6 +18380,28 @@ var ProvisioningApiFp = function (configuration) {
|
|
|
18173
18380
|
});
|
|
18174
18381
|
});
|
|
18175
18382
|
},
|
|
18383
|
+
/**
|
|
18384
|
+
* Delete a MAC address in FDPS
|
|
18385
|
+
* @param {string} mac MAC Address
|
|
18386
|
+
* @param {*} [options] Override http request option.
|
|
18387
|
+
* @throws {RequiredError}
|
|
18388
|
+
*/
|
|
18389
|
+
deleteCheckMacExists: function (mac, options) {
|
|
18390
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
18391
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
18392
|
+
var _a, _b, _c;
|
|
18393
|
+
return __generator(this, function (_d) {
|
|
18394
|
+
switch (_d.label) {
|
|
18395
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteCheckMacExists(mac, options)];
|
|
18396
|
+
case 1:
|
|
18397
|
+
localVarAxiosArgs = _d.sent();
|
|
18398
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18399
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProvisioningApi.deleteCheckMacExists']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18400
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
18401
|
+
}
|
|
18402
|
+
});
|
|
18403
|
+
});
|
|
18404
|
+
},
|
|
18176
18405
|
/**
|
|
18177
18406
|
* Delete a Fanvil provisioning group
|
|
18178
18407
|
* @summary Delete group from DB and FDPS
|
|
@@ -18196,6 +18425,28 @@ var ProvisioningApiFp = function (configuration) {
|
|
|
18196
18425
|
});
|
|
18197
18426
|
});
|
|
18198
18427
|
},
|
|
18428
|
+
/**
|
|
18429
|
+
* Check if a MAC address exists in FDPS
|
|
18430
|
+
* @param {string} mac MAC Address
|
|
18431
|
+
* @param {*} [options] Override http request option.
|
|
18432
|
+
* @throws {RequiredError}
|
|
18433
|
+
*/
|
|
18434
|
+
getCheckMacExists: function (mac, options) {
|
|
18435
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
18436
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
18437
|
+
var _a, _b, _c;
|
|
18438
|
+
return __generator(this, function (_d) {
|
|
18439
|
+
switch (_d.label) {
|
|
18440
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getCheckMacExists(mac, options)];
|
|
18441
|
+
case 1:
|
|
18442
|
+
localVarAxiosArgs = _d.sent();
|
|
18443
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18444
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProvisioningApi.getCheckMacExists']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18445
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
18446
|
+
}
|
|
18447
|
+
});
|
|
18448
|
+
});
|
|
18449
|
+
},
|
|
18199
18450
|
/**
|
|
18200
18451
|
* Get group Fanvil encryption key
|
|
18201
18452
|
* @summary Get group Fanvil encryption key
|
|
@@ -18313,6 +18564,28 @@ var ProvisioningApiFp = function (configuration) {
|
|
|
18313
18564
|
});
|
|
18314
18565
|
});
|
|
18315
18566
|
},
|
|
18567
|
+
/**
|
|
18568
|
+
* Create a MAC address in FDPS
|
|
18569
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
18570
|
+
* @param {*} [options] Override http request option.
|
|
18571
|
+
* @throws {RequiredError}
|
|
18572
|
+
*/
|
|
18573
|
+
postCreateMac: function (macAddressDTO, options) {
|
|
18574
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
18575
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
18576
|
+
var _a, _b, _c;
|
|
18577
|
+
return __generator(this, function (_d) {
|
|
18578
|
+
switch (_d.label) {
|
|
18579
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateMac(macAddressDTO, options)];
|
|
18580
|
+
case 1:
|
|
18581
|
+
localVarAxiosArgs = _d.sent();
|
|
18582
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18583
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProvisioningApi.postCreateMac']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18584
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
18585
|
+
}
|
|
18586
|
+
});
|
|
18587
|
+
});
|
|
18588
|
+
},
|
|
18316
18589
|
};
|
|
18317
18590
|
};
|
|
18318
18591
|
exports.ProvisioningApiFp = ProvisioningApiFp;
|
|
@@ -18333,6 +18606,15 @@ var ProvisioningApiFactory = function (configuration, basePath, axios) {
|
|
|
18333
18606
|
deleteAddFanvilMac: function (id, mac, options) {
|
|
18334
18607
|
return localVarFp.deleteAddFanvilMac(id, mac, options).then(function (request) { return request(axios, basePath); });
|
|
18335
18608
|
},
|
|
18609
|
+
/**
|
|
18610
|
+
* Delete a MAC address in FDPS
|
|
18611
|
+
* @param {string} mac MAC Address
|
|
18612
|
+
* @param {*} [options] Override http request option.
|
|
18613
|
+
* @throws {RequiredError}
|
|
18614
|
+
*/
|
|
18615
|
+
deleteCheckMacExists: function (mac, options) {
|
|
18616
|
+
return localVarFp.deleteCheckMacExists(mac, options).then(function (request) { return request(axios, basePath); });
|
|
18617
|
+
},
|
|
18336
18618
|
/**
|
|
18337
18619
|
* Delete a Fanvil provisioning group
|
|
18338
18620
|
* @summary Delete group from DB and FDPS
|
|
@@ -18343,6 +18625,15 @@ var ProvisioningApiFactory = function (configuration, basePath, axios) {
|
|
|
18343
18625
|
deleteDeleteFanvilGroup: function (id, options) {
|
|
18344
18626
|
return localVarFp.deleteDeleteFanvilGroup(id, options).then(function (request) { return request(axios, basePath); });
|
|
18345
18627
|
},
|
|
18628
|
+
/**
|
|
18629
|
+
* Check if a MAC address exists in FDPS
|
|
18630
|
+
* @param {string} mac MAC Address
|
|
18631
|
+
* @param {*} [options] Override http request option.
|
|
18632
|
+
* @throws {RequiredError}
|
|
18633
|
+
*/
|
|
18634
|
+
getCheckMacExists: function (mac, options) {
|
|
18635
|
+
return localVarFp.getCheckMacExists(mac, options).then(function (request) { return request(axios, basePath); });
|
|
18636
|
+
},
|
|
18346
18637
|
/**
|
|
18347
18638
|
* Get group Fanvil encryption key
|
|
18348
18639
|
* @summary Get group Fanvil encryption key
|
|
@@ -18395,6 +18686,15 @@ var ProvisioningApiFactory = function (configuration, basePath, axios) {
|
|
|
18395
18686
|
postAddFanvilMac: function (id, mac, options) {
|
|
18396
18687
|
return localVarFp.postAddFanvilMac(id, mac, options).then(function (request) { return request(axios, basePath); });
|
|
18397
18688
|
},
|
|
18689
|
+
/**
|
|
18690
|
+
* Create a MAC address in FDPS
|
|
18691
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
18692
|
+
* @param {*} [options] Override http request option.
|
|
18693
|
+
* @throws {RequiredError}
|
|
18694
|
+
*/
|
|
18695
|
+
postCreateMac: function (macAddressDTO, options) {
|
|
18696
|
+
return localVarFp.postCreateMac(macAddressDTO, options).then(function (request) { return request(axios, basePath); });
|
|
18697
|
+
},
|
|
18398
18698
|
};
|
|
18399
18699
|
};
|
|
18400
18700
|
exports.ProvisioningApiFactory = ProvisioningApiFactory;
|
|
@@ -18418,6 +18718,16 @@ var ProvisioningApi = /** @class */ (function (_super) {
|
|
|
18418
18718
|
var _this = this;
|
|
18419
18719
|
return (0, exports.ProvisioningApiFp)(this.configuration).deleteAddFanvilMac(id, mac, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18420
18720
|
};
|
|
18721
|
+
/**
|
|
18722
|
+
* Delete a MAC address in FDPS
|
|
18723
|
+
* @param {string} mac MAC Address
|
|
18724
|
+
* @param {*} [options] Override http request option.
|
|
18725
|
+
* @throws {RequiredError}
|
|
18726
|
+
*/
|
|
18727
|
+
ProvisioningApi.prototype.deleteCheckMacExists = function (mac, options) {
|
|
18728
|
+
var _this = this;
|
|
18729
|
+
return (0, exports.ProvisioningApiFp)(this.configuration).deleteCheckMacExists(mac, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18730
|
+
};
|
|
18421
18731
|
/**
|
|
18422
18732
|
* Delete a Fanvil provisioning group
|
|
18423
18733
|
* @summary Delete group from DB and FDPS
|
|
@@ -18429,6 +18739,16 @@ var ProvisioningApi = /** @class */ (function (_super) {
|
|
|
18429
18739
|
var _this = this;
|
|
18430
18740
|
return (0, exports.ProvisioningApiFp)(this.configuration).deleteDeleteFanvilGroup(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18431
18741
|
};
|
|
18742
|
+
/**
|
|
18743
|
+
* Check if a MAC address exists in FDPS
|
|
18744
|
+
* @param {string} mac MAC Address
|
|
18745
|
+
* @param {*} [options] Override http request option.
|
|
18746
|
+
* @throws {RequiredError}
|
|
18747
|
+
*/
|
|
18748
|
+
ProvisioningApi.prototype.getCheckMacExists = function (mac, options) {
|
|
18749
|
+
var _this = this;
|
|
18750
|
+
return (0, exports.ProvisioningApiFp)(this.configuration).getCheckMacExists(mac, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18751
|
+
};
|
|
18432
18752
|
/**
|
|
18433
18753
|
* Get group Fanvil encryption key
|
|
18434
18754
|
* @summary Get group Fanvil encryption key
|
|
@@ -18486,6 +18806,16 @@ var ProvisioningApi = /** @class */ (function (_super) {
|
|
|
18486
18806
|
var _this = this;
|
|
18487
18807
|
return (0, exports.ProvisioningApiFp)(this.configuration).postAddFanvilMac(id, mac, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18488
18808
|
};
|
|
18809
|
+
/**
|
|
18810
|
+
* Create a MAC address in FDPS
|
|
18811
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
18812
|
+
* @param {*} [options] Override http request option.
|
|
18813
|
+
* @throws {RequiredError}
|
|
18814
|
+
*/
|
|
18815
|
+
ProvisioningApi.prototype.postCreateMac = function (macAddressDTO, options) {
|
|
18816
|
+
var _this = this;
|
|
18817
|
+
return (0, exports.ProvisioningApiFp)(this.configuration).postCreateMac(macAddressDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18818
|
+
};
|
|
18489
18819
|
return ProvisioningApi;
|
|
18490
18820
|
}(base_1.BaseAPI));
|
|
18491
18821
|
exports.ProvisioningApi = ProvisioningApi;
|
package/dist/base.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Yellowgrid
|
|
3
|
-
* Welcome to the Yellowgrid API documentation.
|
|
3
|
+
* 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.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 0
|
|
6
6
|
*
|
package/dist/base.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
|
*
|
|
@@ -30,7 +30,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
30
30
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
31
|
exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
32
32
|
var axios_1 = require("axios");
|
|
33
|
-
exports.BASE_PATH = "https://
|
|
33
|
+
exports.BASE_PATH = "https://localhost".replace(/\/+$/, "");
|
|
34
34
|
exports.COLLECTION_FORMATS = {
|
|
35
35
|
csv: ",",
|
|
36
36
|
ssv: " ",
|
package/dist/common.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Yellowgrid
|
|
3
|
-
* Welcome to the Yellowgrid API documentation.
|
|
3
|
+
* 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.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 0
|
|
6
6
|
*
|