yellowgrid-api-ts 3.2.158-dev.0 → 3.2.158
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 +292 -289
- package/.openapi-generator/VERSION +1 -1
- package/README.md +7 -1
- package/api.ts +619 -247
- package/base.ts +2 -2
- package/common.ts +1 -1
- package/config.json +3 -3
- package/configuration.ts +3 -3
- package/dist/api.d.ts +247 -10
- package/dist/api.js +544 -238
- 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 +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/HostingPriceListEnum.d.ts +5 -5
- package/dist/models/HostingPriceListEnum.js +5 -5
- package/dist/models/PaymentMethodEnum.d.ts +13 -0
- package/dist/models/PaymentMethodEnum.js +15 -0
- package/dist/models/UserGroupEnum.d.ts +33 -0
- package/dist/models/UserGroupEnum.js +35 -0
- package/docs/AbstractOrderRequestDTO.md +1 -1
- package/docs/AccountsApi.md +97 -1
- package/docs/AdminOrderRequestDTO.md +1 -1
- package/docs/BillingApi.md +1 -1
- package/docs/CRMApi.md +3 -3
- package/docs/Class3CXApi.md +49 -1
- package/docs/Class3CXInstallationWizardApi.md +1 -1
- package/docs/Class3CXInstallationsApi.md +56 -1
- package/docs/Class3CXIntegrationsApi.md +1 -1
- package/docs/Class3CXMultiTenantApi.md +1 -1
- package/docs/{CrmActivityDto.md → CrmActivityDTO.md} +1 -1
- package/docs/CrmDateActivitiesDTO.md +1 -1
- package/docs/CustomerListAccountDTO.md +45 -0
- package/docs/CustomerOrderRequestDTO.md +1 -1
- package/docs/DetailedOrderRequestDTO.md +1 -1
- package/docs/MyPBXToolsApi.md +1 -1
- package/docs/NumberPortingApi.md +1 -1
- package/docs/OAuth20Api.md +1 -1
- package/docs/OrdersApi.md +1 -1
- package/docs/PricingApi.md +1 -1
- package/docs/ProductSummaryDTO.md +2 -2
- package/docs/ProductsApi.md +1 -1
- package/docs/ProspectDTO.md +2 -2
- package/docs/ProspectsApi.md +1 -1
- package/docs/ProvisioningApi.md +1 -1
- package/docs/RecordingBackupAzureModel.md +2 -0
- package/docs/RecordingsBackupInfoDTO.md +2 -2
- package/docs/SIPTrunksApi.md +1 -1
- package/docs/SMSApi.md +1 -1
- package/docs/ServicesApi.md +1 -1
- package/docs/ShipmentRequestDTO.md +2 -2
- package/docs/ShippingApi.md +1 -1
- package/docs/StockManagementApi.md +1 -1
- package/docs/SystemApi.md +1 -1
- package/docs/TableHistoryEntity.md +35 -0
- package/docs/TcxKeySummaryDTO.md +1 -1
- package/docs/TicketsApi.md +1 -1
- package/docs/WebhooksApi.md +1 -1
- package/getEnums.php +31 -31
- package/index.ts +1 -1
- package/models/HostingPriceListEnum.ts +5 -5
- package/models/PaymentMethodEnum.ts +14 -0
- package/models/UserGroupEnum.ts +34 -0
- package/openapitools.json +1 -1
- package/package.json +2 -2
- package/dist/models/StatusEnum.d.ts +0 -18
- package/dist/models/StatusEnum.js +0 -20
- package/dist/src/apis/AccountsApi.d.ts +0 -258
- package/dist/src/apis/AccountsApi.js +0 -975
- package/dist/src/apis/CRMApi.d.ts +0 -26
- package/dist/src/apis/CRMApi.js +0 -122
- package/dist/src/apis/Class3CXApi.d.ts +0 -44
- package/dist/src/apis/Class3CXApi.js +0 -177
- package/dist/src/apis/Class3CXInstallationWizardApi.d.ts +0 -446
- package/dist/src/apis/Class3CXInstallationWizardApi.js +0 -1740
- package/dist/src/apis/Class3CXInstallationsApi.d.ts +0 -253
- package/dist/src/apis/Class3CXInstallationsApi.js +0 -806
- package/dist/src/apis/Class3CXIntegrationsApi.d.ts +0 -102
- package/dist/src/apis/Class3CXIntegrationsApi.js +0 -386
- package/dist/src/apis/Class3CXMultiTenantApi.d.ts +0 -122
- package/dist/src/apis/Class3CXMultiTenantApi.js +0 -431
- package/dist/src/apis/MyPBXToolsApi.d.ts +0 -32
- package/dist/src/apis/MyPBXToolsApi.js +0 -136
- package/dist/src/apis/OAuth20Api.d.ts +0 -185
- package/dist/src/apis/OAuth20Api.js +0 -507
- package/dist/src/apis/OrdersApi.d.ts +0 -154
- package/dist/src/apis/OrdersApi.js +0 -512
- package/dist/src/apis/PricingApi.d.ts +0 -154
- package/dist/src/apis/PricingApi.js +0 -308
- package/dist/src/apis/ProductsApi.d.ts +0 -135
- package/dist/src/apis/ProductsApi.js +0 -531
- package/dist/src/apis/ProvisioningApi.d.ts +0 -112
- package/dist/src/apis/ProvisioningApi.js +0 -427
- package/dist/src/apis/SIPTrunksApi.d.ts +0 -315
- package/dist/src/apis/SIPTrunksApi.js +0 -1197
- package/dist/src/apis/SMSApi.d.ts +0 -30
- package/dist/src/apis/SMSApi.js +0 -130
- package/dist/src/apis/ServicesApi.d.ts +0 -81
- package/dist/src/apis/ServicesApi.js +0 -386
- package/dist/src/apis/ShippingApi.d.ts +0 -45
- package/dist/src/apis/ShippingApi.js +0 -179
- package/dist/src/apis/StockManagementApi.d.ts +0 -345
- package/dist/src/apis/StockManagementApi.js +0 -1293
- package/dist/src/apis/SystemApi.d.ts +0 -37
- package/dist/src/apis/SystemApi.js +0 -146
- package/dist/src/apis/TicketsApi.d.ts +0 -79
- package/dist/src/apis/TicketsApi.js +0 -360
- package/dist/src/apis/WebhooksApi.d.ts +0 -56
- package/dist/src/apis/WebhooksApi.js +0 -189
- package/dist/src/apis/index.d.ts +0 -21
- package/dist/src/apis/index.js +0 -39
- package/dist/src/index.d.ts +0 -3
- package/dist/src/index.js +0 -21
- package/dist/src/models/AbstractOrderRequestDTO.d.ts +0 -71
- package/dist/src/models/AbstractOrderRequestDTO.js +0 -64
- package/dist/src/models/AccountContactEntity.d.ts +0 -104
- package/dist/src/models/AccountContactEntity.js +0 -73
- package/dist/src/models/AccountContactModel.d.ts +0 -104
- package/dist/src/models/AccountContactModel.js +0 -73
- package/dist/src/models/AccountContactRequestModel.d.ts +0 -80
- package/dist/src/models/AccountContactRequestModel.js +0 -65
- package/dist/src/models/AccountDetailedSummaryDTO.d.ts +0 -89
- package/dist/src/models/AccountDetailedSummaryDTO.js +0 -70
- package/dist/src/models/AccountRequestModel.d.ts +0 -128
- package/dist/src/models/AccountRequestModel.js +0 -81
- package/dist/src/models/AccountSummaryDTO.d.ts +0 -44
- package/dist/src/models/AccountSummaryDTO.js +0 -53
- package/dist/src/models/AccountsResponseModel.d.ts +0 -51
- package/dist/src/models/AccountsResponseModel.js +0 -56
- package/dist/src/models/AddressModel.d.ts +0 -110
- package/dist/src/models/AddressModel.js +0 -75
- package/dist/src/models/AddressRequestModel.d.ts +0 -50
- package/dist/src/models/AddressRequestModel.js +0 -55
- package/dist/src/models/AdminOrderRequestDTO.d.ts +0 -113
- package/dist/src/models/AdminOrderRequestDTO.js +0 -78
- package/dist/src/models/AdminUserModel.d.ts +0 -79
- package/dist/src/models/AdminUserModel.js +0 -72
- package/dist/src/models/AgentHoursGraphModel.d.ts +0 -51
- package/dist/src/models/AgentHoursGraphModel.js +0 -56
- package/dist/src/models/AgentHoursGraphMonthModel.d.ts +0 -38
- package/dist/src/models/AgentHoursGraphMonthModel.js +0 -51
- package/dist/src/models/ApiLogEntity.d.ts +0 -98
- package/dist/src/models/ApiLogEntity.js +0 -71
- package/dist/src/models/AreaCodeModel.d.ts +0 -38
- package/dist/src/models/AreaCodeModel.js +0 -51
- package/dist/src/models/AttachmentModel.d.ts +0 -56
- package/dist/src/models/AttachmentModel.js +0 -57
- package/dist/src/models/AttributeSetEnum.d.ts +0 -38
- package/dist/src/models/AttributeSetEnum.js +0 -51
- package/dist/src/models/AuditLogEntity.d.ts +0 -80
- package/dist/src/models/AuditLogEntity.js +0 -65
- package/dist/src/models/AuthCodeResponseModel.d.ts +0 -44
- package/dist/src/models/AuthCodeResponseModel.js +0 -53
- package/dist/src/models/BasicItemDTO.d.ts +0 -38
- package/dist/src/models/BasicItemDTO.js +0 -51
- package/dist/src/models/BasicProductDTO.d.ts +0 -38
- package/dist/src/models/BasicProductDTO.js +0 -51
- package/dist/src/models/BatchEntity.d.ts +0 -128
- package/dist/src/models/BatchEntity.js +0 -81
- package/dist/src/models/CallBarringModel.d.ts +0 -56
- package/dist/src/models/CallBarringModel.js +0 -57
- package/dist/src/models/ClientDetailsModel.d.ts +0 -68
- package/dist/src/models/ClientDetailsModel.js +0 -61
- package/dist/src/models/ClientModel.d.ts +0 -50
- package/dist/src/models/ClientModel.js +0 -55
- package/dist/src/models/CompanyContractModel.d.ts +0 -56
- package/dist/src/models/CompanyContractModel.js +0 -57
- package/dist/src/models/ContactInfoModel.d.ts +0 -56
- package/dist/src/models/ContactInfoModel.js +0 -57
- package/dist/src/models/ConversationModel.d.ts +0 -75
- package/dist/src/models/ConversationModel.js +0 -64
- package/dist/src/models/CourierPriceEntity.d.ts +0 -86
- package/dist/src/models/CourierPriceEntity.js +0 -67
- package/dist/src/models/CreditAccountEntity.d.ts +0 -152
- package/dist/src/models/CreditAccountEntity.js +0 -89
- package/dist/src/models/CrmContactDTO.d.ts +0 -68
- package/dist/src/models/CrmContactDTO.js +0 -61
- package/dist/src/models/CustomerInformationModel.d.ts +0 -68
- package/dist/src/models/CustomerInformationModel.js +0 -61
- package/dist/src/models/CustomerItemRequestDTO.d.ts +0 -81
- package/dist/src/models/CustomerItemRequestDTO.js +0 -66
- package/dist/src/models/CustomerOrderRequestDTO.d.ts +0 -71
- package/dist/src/models/CustomerOrderRequestDTO.js +0 -64
- package/dist/src/models/CustomerPriceListEnum.d.ts +0 -38
- package/dist/src/models/CustomerPriceListEnum.js +0 -51
- package/dist/src/models/CustomerSummaryReportDTO.d.ts +0 -65
- package/dist/src/models/CustomerSummaryReportDTO.js +0 -62
- package/dist/src/models/DdiRangeRequestModel.d.ts +0 -44
- package/dist/src/models/DdiRangeRequestModel.js +0 -53
- package/dist/src/models/DdiRangesRequestModel.d.ts +0 -33
- package/dist/src/models/DdiRangesRequestModel.js +0 -50
- package/dist/src/models/DetailedItemRequestDTO.d.ts +0 -99
- package/dist/src/models/DetailedItemRequestDTO.js +0 -72
- package/dist/src/models/DetailedOrderRequestDTO.d.ts +0 -71
- package/dist/src/models/DetailedOrderRequestDTO.js +0 -64
- package/dist/src/models/DivertRequestModel.d.ts +0 -38
- package/dist/src/models/DivertRequestModel.js +0 -51
- package/dist/src/models/DivertResponseModel.d.ts +0 -52
- package/dist/src/models/DivertResponseModel.js +0 -61
- package/dist/src/models/EdTechProClientEntity.d.ts +0 -56
- package/dist/src/models/EdTechProClientEntity.js +0 -57
- package/dist/src/models/EdTechProSchoolModel.d.ts +0 -104
- package/dist/src/models/EdTechProSchoolModel.js +0 -73
- package/dist/src/models/EdTechProSchoolsModel.d.ts +0 -51
- package/dist/src/models/EdTechProSchoolsModel.js +0 -56
- package/dist/src/models/EdTechProSetupModel.d.ts +0 -56
- package/dist/src/models/EdTechProSetupModel.js +0 -57
- package/dist/src/models/EventDTO.d.ts +0 -84
- package/dist/src/models/EventDTO.js +0 -73
- package/dist/src/models/EventRequestDTO.d.ts +0 -44
- package/dist/src/models/EventRequestDTO.js +0 -53
- package/dist/src/models/EventSubscriptionModel.d.ts +0 -38
- package/dist/src/models/EventSubscriptionModel.js +0 -51
- package/dist/src/models/EventTypeEnum.d.ts +0 -19
- package/dist/src/models/EventTypeEnum.js +0 -24
- package/dist/src/models/EventUpdateDTO.d.ts +0 -50
- package/dist/src/models/EventUpdateDTO.js +0 -55
- package/dist/src/models/EventUpdateEntity.d.ts +0 -56
- package/dist/src/models/EventUpdateEntity.js +0 -57
- package/dist/src/models/EventUpdateRequestDTO.d.ts +0 -44
- package/dist/src/models/EventUpdateRequestDTO.js +0 -53
- package/dist/src/models/FraudManagementModel.d.ts +0 -38
- package/dist/src/models/FraudManagementModel.js +0 -51
- package/dist/src/models/FreshdeskCompanyTicketsModel.d.ts +0 -51
- package/dist/src/models/FreshdeskCompanyTicketsModel.js +0 -56
- package/dist/src/models/FreshdeskTicketEntity.d.ts +0 -68
- package/dist/src/models/FreshdeskTicketEntity.js +0 -61
- package/dist/src/models/FtpAccountsEntity.d.ts +0 -56
- package/dist/src/models/FtpAccountsEntity.js +0 -57
- package/dist/src/models/GenericFileModel.d.ts +0 -44
- package/dist/src/models/GenericFileModel.js +0 -53
- package/dist/src/models/GetGetPrice200Response.d.ts +0 -32
- package/dist/src/models/GetGetPrice200Response.js +0 -49
- package/dist/src/models/GetGetRecording200Response.d.ts +0 -32
- package/dist/src/models/GetGetRecording200Response.js +0 -49
- package/dist/src/models/HostingChangeResponseModel.d.ts +0 -64
- package/dist/src/models/HostingChangeResponseModel.js +0 -65
- package/dist/src/models/HostingRegionDTO.d.ts +0 -59
- package/dist/src/models/HostingRegionDTO.js +0 -68
- package/dist/src/models/InstanceAutoFailoverEntity.d.ts +0 -56
- package/dist/src/models/InstanceAutoFailoverEntity.js +0 -57
- package/dist/src/models/InstanceDeletionScheduleEntity.d.ts +0 -50
- package/dist/src/models/InstanceDeletionScheduleEntity.js +0 -55
- package/dist/src/models/InstanceEntity.d.ts +0 -152
- package/dist/src/models/InstanceEntity.js +0 -89
- package/dist/src/models/InstanceFailoverEntity.d.ts +0 -92
- package/dist/src/models/InstanceFailoverEntity.js +0 -69
- package/dist/src/models/InstanceMonitoringEntity.d.ts +0 -44
- package/dist/src/models/InstanceMonitoringEntity.js +0 -53
- package/dist/src/models/InstanceMonitoringLogEntity.d.ts +0 -62
- package/dist/src/models/InstanceMonitoringLogEntity.js +0 -59
- package/dist/src/models/InstanceScheduledTasksEntity.d.ts +0 -62
- package/dist/src/models/InstanceScheduledTasksEntity.js +0 -59
- package/dist/src/models/InstanceTcxDetailsEntity.d.ts +0 -86
- package/dist/src/models/InstanceTcxDetailsEntity.js +0 -67
- package/dist/src/models/InstanceUserCredentialsEntity.d.ts +0 -56
- package/dist/src/models/InstanceUserCredentialsEntity.js +0 -57
- package/dist/src/models/ItemDTO.d.ts +0 -117
- package/dist/src/models/ItemDTO.js +0 -78
- package/dist/src/models/ItemDiscountEntity.d.ts +0 -77
- package/dist/src/models/ItemDiscountEntity.js +0 -70
- package/dist/src/models/ItemEntity.d.ts +0 -158
- package/dist/src/models/ItemEntity.js +0 -91
- package/dist/src/models/LinkedOrderEntity.d.ts +0 -38
- package/dist/src/models/LinkedOrderEntity.js +0 -51
- package/dist/src/models/MFARequiredModel.d.ts +0 -38
- package/dist/src/models/MFARequiredModel.js +0 -51
- package/dist/src/models/MonthlyUsageModel.d.ts +0 -38
- package/dist/src/models/MonthlyUsageModel.js +0 -51
- package/dist/src/models/MultiTenantChangeResponseModel.d.ts +0 -70
- package/dist/src/models/MultiTenantChangeResponseModel.js +0 -75
- package/dist/src/models/NavigationModel.d.ts +0 -50
- package/dist/src/models/NavigationModel.js +0 -55
- package/dist/src/models/OfflineInstancesEntity.d.ts +0 -56
- package/dist/src/models/OfflineInstancesEntity.js +0 -57
- package/dist/src/models/OrderEntity.d.ts +0 -374
- package/dist/src/models/OrderEntity.js +0 -163
- package/dist/src/models/OrderRequestModel.d.ts +0 -120
- package/dist/src/models/OrderRequestModel.js +0 -88
- package/dist/src/models/OrderSummariesModel.d.ts +0 -51
- package/dist/src/models/OrderSummariesModel.js +0 -56
- package/dist/src/models/OrderSummaryDTO.d.ts +0 -126
- package/dist/src/models/OrderSummaryDTO.js +0 -83
- package/dist/src/models/OrderTotalModel.d.ts +0 -111
- package/dist/src/models/OrderTotalModel.js +0 -100
- package/dist/src/models/OrderedItemEntity.d.ts +0 -110
- package/dist/src/models/OrderedItemEntity.js +0 -75
- package/dist/src/models/PatchSetTcxWizardCnameRequest.d.ts +0 -32
- package/dist/src/models/PatchSetTcxWizardCnameRequest.js +0 -49
- package/dist/src/models/PatchUpdateAccountContactPasswordRequest.d.ts +0 -32
- package/dist/src/models/PatchUpdateAccountContactPasswordRequest.js +0 -49
- package/dist/src/models/PortalAccountModel.d.ts +0 -171
- package/dist/src/models/PortalAccountModel.js +0 -96
- package/dist/src/models/PortalLoginModel.d.ts +0 -68
- package/dist/src/models/PortalLoginModel.js +0 -61
- package/dist/src/models/PostAddWebhook200Response.d.ts +0 -32
- package/dist/src/models/PostAddWebhook200Response.js +0 -49
- package/dist/src/models/PostGetClientCredentialsRequest.d.ts +0 -32
- package/dist/src/models/PostGetClientCredentialsRequest.js +0 -49
- package/dist/src/models/PostGetProductForCustomerRequest.d.ts +0 -50
- package/dist/src/models/PostGetProductForCustomerRequest.js +0 -55
- package/dist/src/models/PostGetProductRequest.d.ts +0 -44
- package/dist/src/models/PostGetProductRequest.js +0 -53
- package/dist/src/models/PriceListItemModel.d.ts +0 -56
- package/dist/src/models/PriceListItemModel.js +0 -57
- package/dist/src/models/PrizesEntity.d.ts +0 -62
- package/dist/src/models/PrizesEntity.js +0 -59
- package/dist/src/models/ProductPriceListItemModel.d.ts +0 -62
- package/dist/src/models/ProductPriceListItemModel.js +0 -59
- package/dist/src/models/ProductSearchResultsModel.d.ts +0 -33
- package/dist/src/models/ProductSearchResultsModel.js +0 -50
- package/dist/src/models/ProductSerialInfoModel.d.ts +0 -50
- package/dist/src/models/ProductSerialInfoModel.js +0 -55
- package/dist/src/models/ProductSummaryDTO.d.ts +0 -81
- package/dist/src/models/ProductSummaryDTO.js +0 -66
- package/dist/src/models/PromoCodesEntity.d.ts +0 -98
- package/dist/src/models/PromoCodesEntity.js +0 -71
- package/dist/src/models/PromoItemsEntity.d.ts +0 -74
- package/dist/src/models/PromoItemsEntity.js +0 -63
- package/dist/src/models/ProvisioningModel.d.ts +0 -56
- package/dist/src/models/ProvisioningModel.js +0 -57
- package/dist/src/models/ProvisioningRequestEntity.d.ts +0 -44
- package/dist/src/models/ProvisioningRequestEntity.js +0 -53
- package/dist/src/models/RecordingBackupAzureModel.d.ts +0 -50
- package/dist/src/models/RecordingBackupAzureModel.js +0 -55
- package/dist/src/models/RecordingsBackupInfoDTO.d.ts +0 -40
- package/dist/src/models/RecordingsBackupInfoDTO.js +0 -53
- package/dist/src/models/ResourceNotReadyException.d.ts +0 -44
- package/dist/src/models/ResourceNotReadyException.js +0 -53
- package/dist/src/models/RootAccessModel.d.ts +0 -44
- package/dist/src/models/RootAccessModel.js +0 -53
- package/dist/src/models/S3BucketEntity.d.ts +0 -50
- package/dist/src/models/S3BucketEntity.js +0 -55
- package/dist/src/models/ScannedItemModel.d.ts +0 -56
- package/dist/src/models/ScannedItemModel.js +0 -57
- package/dist/src/models/ScopeModel.d.ts +0 -38
- package/dist/src/models/ScopeModel.js +0 -51
- package/dist/src/models/ServiceEnum.d.ts +0 -14
- package/dist/src/models/ServiceEnum.js +0 -19
- package/dist/src/models/ServiceHealthDTO.d.ts +0 -48
- package/dist/src/models/ServiceHealthDTO.js +0 -61
- package/dist/src/models/ServiceHealthEnum.d.ts +0 -19
- package/dist/src/models/ServiceHealthEnum.js +0 -24
- package/dist/src/models/ServiceStatusDTO.d.ts +0 -60
- package/dist/src/models/ServiceStatusDTO.js +0 -65
- package/dist/src/models/ServiceStatusEnum.d.ts +0 -19
- package/dist/src/models/ServiceStatusEnum.js +0 -24
- package/dist/src/models/ShipmentAddressEntity.d.ts +0 -92
- package/dist/src/models/ShipmentAddressEntity.js +0 -69
- package/dist/src/models/ShipmentEntity.d.ts +0 -98
- package/dist/src/models/ShipmentEntity.js +0 -71
- package/dist/src/models/ShipmentItemEntity.d.ts +0 -56
- package/dist/src/models/ShipmentItemEntity.js +0 -57
- package/dist/src/models/ShippingConsignmentModel.d.ts +0 -51
- package/dist/src/models/ShippingConsignmentModel.js +0 -56
- package/dist/src/models/ShippingInformationDTO.d.ts +0 -45
- package/dist/src/models/ShippingInformationDTO.js +0 -54
- package/dist/src/models/ShippingServiceDTO.d.ts +0 -47
- package/dist/src/models/ShippingServiceDTO.js +0 -60
- package/dist/src/models/ShippingServiceModel.d.ts +0 -71
- package/dist/src/models/ShippingServiceModel.js +0 -68
- package/dist/src/models/ShippingServicesModel.d.ts +0 -33
- package/dist/src/models/ShippingServicesModel.js +0 -50
- package/dist/src/models/SipTrunkChangeResponseModel.d.ts +0 -77
- package/dist/src/models/SipTrunkChangeResponseModel.js +0 -78
- package/dist/src/models/SipTrunkCreationRequestModel.d.ts +0 -66
- package/dist/src/models/SipTrunkCreationRequestModel.js +0 -63
- package/dist/src/models/SipTrunkEntity.d.ts +0 -98
- package/dist/src/models/SipTrunkEntity.js +0 -71
- package/dist/src/models/SipTrunksResponseModel.d.ts +0 -51
- package/dist/src/models/SipTrunksResponseModel.js +0 -56
- package/dist/src/models/SmsAccountEntity.d.ts +0 -68
- package/dist/src/models/SmsAccountEntity.js +0 -61
- package/dist/src/models/SmsDataModel.d.ts +0 -33
- package/dist/src/models/SmsDataModel.js +0 -50
- package/dist/src/models/SmsMessageModel.d.ts +0 -44
- package/dist/src/models/SmsMessageModel.js +0 -53
- package/dist/src/models/SmsNumbersEntity.d.ts +0 -38
- package/dist/src/models/SmsNumbersEntity.js +0 -51
- package/dist/src/models/SmsPayloadModel.d.ts +0 -45
- package/dist/src/models/SmsPayloadModel.js +0 -54
- package/dist/src/models/SmsPhoneNumberModel.d.ts +0 -53
- package/dist/src/models/SmsPhoneNumberModel.js +0 -66
- package/dist/src/models/SmsResponseModel.d.ts +0 -67
- package/dist/src/models/SmsResponseModel.js +0 -68
- package/dist/src/models/SmsWhitelistEntity.d.ts +0 -38
- package/dist/src/models/SmsWhitelistEntity.js +0 -51
- package/dist/src/models/StockOrderCourierEntity.d.ts +0 -50
- package/dist/src/models/StockOrderCourierEntity.js +0 -55
- package/dist/src/models/StockOrderDeductionModel.d.ts +0 -50
- package/dist/src/models/StockOrderDeductionModel.js +0 -55
- package/dist/src/models/StockOrderDeductionRequestModel.d.ts +0 -38
- package/dist/src/models/StockOrderDeductionRequestModel.js +0 -51
- package/dist/src/models/StockOrderDeductionsEntity.d.ts +0 -50
- package/dist/src/models/StockOrderDeductionsEntity.js +0 -55
- package/dist/src/models/StockOrderEntity.d.ts +0 -158
- package/dist/src/models/StockOrderEntity.js +0 -91
- package/dist/src/models/StockOrderItemEntity.d.ts +0 -68
- package/dist/src/models/StockOrderItemEntity.js +0 -61
- package/dist/src/models/StockOrderItemModel.d.ts +0 -80
- package/dist/src/models/StockOrderItemModel.js +0 -65
- package/dist/src/models/StockOrderItemRequestModel.d.ts +0 -50
- package/dist/src/models/StockOrderItemRequestModel.js +0 -55
- package/dist/src/models/StockOrderModel.d.ts +0 -137
- package/dist/src/models/StockOrderModel.js +0 -97
- package/dist/src/models/StockOrderProductEntity.d.ts +0 -62
- package/dist/src/models/StockOrderProductEntity.js +0 -59
- package/dist/src/models/StockOrderRequestModel.d.ts +0 -46
- package/dist/src/models/StockOrderRequestModel.js +0 -55
- package/dist/src/models/StockOrderSupplierEntity.d.ts +0 -80
- package/dist/src/models/StockOrderSupplierEntity.js +0 -65
- package/dist/src/models/StockOrderSupplierModel.d.ts +0 -80
- package/dist/src/models/StockOrderSupplierModel.js +0 -65
- package/dist/src/models/StockOrdersModel.d.ts +0 -51
- package/dist/src/models/StockOrdersModel.js +0 -56
- package/dist/src/models/StockProductModel.d.ts +0 -120
- package/dist/src/models/StockProductModel.js +0 -81
- package/dist/src/models/StockProductPriceModel.d.ts +0 -39
- package/dist/src/models/StockProductPriceModel.js +0 -52
- package/dist/src/models/StockProductSummariesModel.d.ts +0 -51
- package/dist/src/models/StockProductSummariesModel.js +0 -56
- package/dist/src/models/StockProductSummaryModel.d.ts +0 -69
- package/dist/src/models/StockProductSummaryModel.js +0 -62
- package/dist/src/models/StockTransactionsEntity.d.ts +0 -74
- package/dist/src/models/StockTransactionsEntity.js +0 -63
- package/dist/src/models/SupplierEntity.d.ts +0 -80
- package/dist/src/models/SupplierEntity.js +0 -65
- package/dist/src/models/SupplierItemEntity.d.ts +0 -74
- package/dist/src/models/SupplierItemEntity.js +0 -63
- package/dist/src/models/TcxBackupEntity.d.ts +0 -80
- package/dist/src/models/TcxBackupEntity.js +0 -65
- package/dist/src/models/TcxBackupModel.d.ts +0 -140
- package/dist/src/models/TcxBackupModel.js +0 -85
- package/dist/src/models/TcxBillingEntity.d.ts +0 -86
- package/dist/src/models/TcxBillingEntity.js +0 -67
- package/dist/src/models/TcxBulkLicenceDetailsModel.d.ts +0 -40
- package/dist/src/models/TcxBulkLicenceDetailsModel.js +0 -53
- package/dist/src/models/TcxDeadLicenceEntity.d.ts +0 -44
- package/dist/src/models/TcxDeadLicenceEntity.js +0 -53
- package/dist/src/models/TcxExtsEntity.d.ts +0 -74
- package/dist/src/models/TcxExtsEntity.js +0 -63
- package/dist/src/models/TcxHostingPricingEntity.d.ts +0 -74
- package/dist/src/models/TcxHostingPricingEntity.js +0 -63
- package/dist/src/models/TcxInstallationDetailsModel.d.ts +0 -106
- package/dist/src/models/TcxInstallationDetailsModel.js +0 -75
- package/dist/src/models/TcxInstallationModel.d.ts +0 -200
- package/dist/src/models/TcxInstallationModel.js +0 -105
- package/dist/src/models/TcxInstallationsModel.d.ts +0 -51
- package/dist/src/models/TcxInstallationsModel.js +0 -56
- package/dist/src/models/TcxKeySummaryDTO.d.ts +0 -56
- package/dist/src/models/TcxKeySummaryDTO.js +0 -57
- package/dist/src/models/TcxKeysEntity.d.ts +0 -62
- package/dist/src/models/TcxKeysEntity.js +0 -59
- package/dist/src/models/TcxLicenceDetailsErrorModel.d.ts +0 -50
- package/dist/src/models/TcxLicenceDetailsErrorModel.js +0 -55
- package/dist/src/models/TcxLicenceDetailsModel.d.ts +0 -92
- package/dist/src/models/TcxLicenceDetailsModel.js +0 -69
- package/dist/src/models/TcxMacsEntity.d.ts +0 -44
- package/dist/src/models/TcxMacsEntity.js +0 -53
- package/dist/src/models/TcxMultiTenantModel.d.ts +0 -118
- package/dist/src/models/TcxMultiTenantModel.js +0 -83
- package/dist/src/models/TcxMultiTenantUserModel.d.ts +0 -44
- package/dist/src/models/TcxMultiTenantUserModel.js +0 -53
- package/dist/src/models/TcxMultiTenantsModel.d.ts +0 -51
- package/dist/src/models/TcxMultiTenantsModel.js +0 -56
- package/dist/src/models/TcxNumbersEntity.d.ts +0 -44
- package/dist/src/models/TcxNumbersEntity.js +0 -53
- package/dist/src/models/TcxOfficeHoursEntity.d.ts +0 -116
- package/dist/src/models/TcxOfficeHoursEntity.js +0 -77
- package/dist/src/models/TcxPhoneModel.d.ts +0 -68
- package/dist/src/models/TcxPhoneModel.js +0 -61
- package/dist/src/models/TcxPhonesEntity.d.ts +0 -62
- package/dist/src/models/TcxPhonesEntity.js +0 -59
- package/dist/src/models/TcxRemoteStorageModel.d.ts +0 -50
- package/dist/src/models/TcxRemoteStorageModel.js +0 -55
- package/dist/src/models/TcxSbcDTO.d.ts +0 -62
- package/dist/src/models/TcxSbcDTO.js +0 -59
- package/dist/src/models/TcxSbcEntity.d.ts +0 -122
- package/dist/src/models/TcxSbcEntity.js +0 -79
- package/dist/src/models/TcxSbcModel.d.ts +0 -122
- package/dist/src/models/TcxSbcModel.js +0 -79
- package/dist/src/models/TcxSetupEntity.d.ts +0 -207
- package/dist/src/models/TcxSetupEntity.js +0 -123
- package/dist/src/models/TcxSetupsModel.d.ts +0 -51
- package/dist/src/models/TcxSetupsModel.js +0 -56
- package/dist/src/models/TcxSipTrunksEntity.d.ts +0 -104
- package/dist/src/models/TcxSipTrunksEntity.js +0 -73
- package/dist/src/models/TcxTemplateXmlEnum.d.ts +0 -38
- package/dist/src/models/TcxTemplateXmlEnum.js +0 -51
- package/dist/src/models/TcxUsersEntity.d.ts +0 -62
- package/dist/src/models/TcxUsersEntity.js +0 -59
- package/dist/src/models/TcxWizardConfigModel.d.ts +0 -39
- package/dist/src/models/TcxWizardConfigModel.js +0 -52
- package/dist/src/models/TcxWizardModel.d.ts +0 -150
- package/dist/src/models/TcxWizardModel.js +0 -114
- package/dist/src/models/TechSupportCompanySummaryDTO.d.ts +0 -57
- package/dist/src/models/TechSupportCompanySummaryDTO.js +0 -58
- package/dist/src/models/TelephonySupportTicketModel.d.ts +0 -94
- package/dist/src/models/TelephonySupportTicketModel.js +0 -71
- package/dist/src/models/TicketSummaryModel.d.ts +0 -74
- package/dist/src/models/TicketSummaryModel.js +0 -63
- package/dist/src/models/TicketTimeDTO.d.ts +0 -80
- package/dist/src/models/TicketTimeDTO.js +0 -65
- package/dist/src/models/TokenResponseModel.d.ts +0 -44
- package/dist/src/models/TokenResponseModel.js +0 -53
- package/dist/src/models/UpdateTypeEnum.d.ts +0 -19
- package/dist/src/models/UpdateTypeEnum.js +0 -24
- package/dist/src/models/UpgradeOrderResponseModel.d.ts +0 -38
- package/dist/src/models/UpgradeOrderResponseModel.js +0 -51
- package/dist/src/models/UpgradeRequestModel.d.ts +0 -66
- package/dist/src/models/UpgradeRequestModel.js +0 -70
- package/dist/src/models/UserEntity.d.ts +0 -98
- package/dist/src/models/UserEntity.js +0 -71
- package/dist/src/models/XeroLogEntity.d.ts +0 -86
- package/dist/src/models/XeroLogEntity.js +0 -67
- package/dist/src/models/index.d.ts +0 -196
- package/dist/src/models/index.js +0 -214
- package/dist/src/runtime.d.ts +0 -184
- package/dist/src/runtime.js +0 -564
- package/docs/AccountPageDetailsDTO.md +0 -41
- package/docs/PatchSendWelcomeEmailRequest.md +0 -20
- package/docs/PatchSetTcxWizardCnameRequest.md +0 -20
- package/docs/PostAddAdminNoteRequest.md +0 -20
- package/docs/PostCreateCrmNoteRequest.md +0 -20
- package/docs/PostGetProductRequest.md +0 -24
- package/docs/TcxInstallationDetailsModel.md +0 -45
- /package/docs/{CrmActivitiesResponseDto.md → CrmActivitiesResponseDTO.md} +0 -0
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://bitbucket.org` For questions or technical support, please contact support@yellowgrid.co.uk.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 0
|
|
9
9
|
*
|
|
@@ -96,27 +96,28 @@ var common_1 = require("./common");
|
|
|
96
96
|
var base_1 = require("./base");
|
|
97
97
|
exports.AdminOrderRequestDTOPaymentMethodEnum = {
|
|
98
98
|
Card: 'card',
|
|
99
|
-
Bacs: 'bacs'
|
|
99
|
+
Bacs: 'bacs',
|
|
100
100
|
};
|
|
101
101
|
exports.AdminUserModelRoleEnum = {
|
|
102
102
|
NUMBER_0: 0,
|
|
103
103
|
NUMBER_1: 1,
|
|
104
104
|
NUMBER_2: 2,
|
|
105
105
|
NUMBER_3: 3,
|
|
106
|
-
NUMBER_4: 4
|
|
106
|
+
NUMBER_4: 4,
|
|
107
107
|
};
|
|
108
108
|
exports.AdminUserModelPermissionsEnum = {
|
|
109
109
|
All: 'All',
|
|
110
110
|
Standard: 'Standard',
|
|
111
111
|
Technical: 'Technical',
|
|
112
112
|
Privileged: 'Privileged',
|
|
113
|
-
Development: 'Development'
|
|
113
|
+
Development: 'Development',
|
|
114
|
+
Finance: 'Finance',
|
|
114
115
|
};
|
|
115
116
|
exports.AuditLogEntityActionEnum = {
|
|
116
117
|
Create: 'CREATE',
|
|
117
118
|
Read: 'READ',
|
|
118
119
|
Update: 'UPDATE',
|
|
119
|
-
Delete: 'DELETE'
|
|
120
|
+
Delete: 'DELETE',
|
|
120
121
|
};
|
|
121
122
|
exports.AuditLogEntityTypeEnum = {
|
|
122
123
|
AuditLog: 'audit_log',
|
|
@@ -178,6 +179,7 @@ exports.AuditLogEntityTypeEnum = {
|
|
|
178
179
|
PopsStockTransactions: 'pops_stock_transactions',
|
|
179
180
|
PopsSuppliers: 'pops_suppliers',
|
|
180
181
|
PopsSupplierItems: 'pops_supplier_items',
|
|
182
|
+
PopsTableAttribs: 'pops_table_attribs',
|
|
181
183
|
Pops3cxBackup: 'pops_3cx_backup',
|
|
182
184
|
Pops3cxBilling: 'pops_3cx_billing',
|
|
183
185
|
PopsDeadLicences: 'pops_dead_licences',
|
|
@@ -196,20 +198,20 @@ exports.AuditLogEntityTypeEnum = {
|
|
|
196
198
|
Webhook: 'webhook',
|
|
197
199
|
PopsXeroLog: 'pops_xero_log',
|
|
198
200
|
Oauth2Clients: 'oauth2_clients',
|
|
199
|
-
Oauth2Tokens: 'oauth2_tokens'
|
|
201
|
+
Oauth2Tokens: 'oauth2_tokens',
|
|
200
202
|
};
|
|
201
203
|
exports.DivertResponseModelStatusEnum = {
|
|
202
204
|
Enabled: 'enabled',
|
|
203
|
-
Disabled: 'disabled'
|
|
205
|
+
Disabled: 'disabled',
|
|
204
206
|
};
|
|
205
207
|
exports.EventDTOStatusEnum = {
|
|
206
208
|
NUMBER_0: 0,
|
|
207
209
|
NUMBER_1: 1,
|
|
208
|
-
NUMBER_2: 2
|
|
210
|
+
NUMBER_2: 2,
|
|
209
211
|
};
|
|
210
212
|
exports.HostingChangeResponseModelTypeEnum = {
|
|
211
213
|
NewInstance: 'New Instance',
|
|
212
|
-
BuildingInstance: 'Building Instance'
|
|
214
|
+
BuildingInstance: 'Building Instance',
|
|
213
215
|
};
|
|
214
216
|
exports.HostingRegionDTOCodeEnum = {
|
|
215
217
|
Uk1: 'UK1',
|
|
@@ -220,12 +222,12 @@ exports.HostingRegionDTOCodeEnum = {
|
|
|
220
222
|
Syd1: 'SYD1',
|
|
221
223
|
Sgp1: 'SGP1',
|
|
222
224
|
UsEastVa1: 'US-EAST-VA-1',
|
|
223
|
-
UsWestOr1: 'US-WEST-OR-1'
|
|
225
|
+
UsWestOr1: 'US-WEST-OR-1',
|
|
224
226
|
};
|
|
225
227
|
exports.ItemDiscountEntityTypeEnum = {
|
|
226
228
|
TcxPhones: 'TCX_PHONES',
|
|
227
229
|
PhoneBulk: 'PHONE_BULK',
|
|
228
|
-
Additional: 'ADDITIONAL'
|
|
230
|
+
Additional: 'ADDITIONAL',
|
|
229
231
|
};
|
|
230
232
|
exports.MultiTenantChangeResponseModelTypeEnum = {
|
|
231
233
|
NewTrunk: 'New Trunk',
|
|
@@ -241,15 +243,15 @@ exports.MultiTenantChangeResponseModelTypeEnum = {
|
|
|
241
243
|
Address: 'Address',
|
|
242
244
|
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
243
245
|
Fraud: 'Fraud',
|
|
244
|
-
CallBarring: 'Call Barring'
|
|
246
|
+
CallBarring: 'Call Barring',
|
|
245
247
|
};
|
|
246
248
|
exports.OrderRequestModelLicenceTypeEnum = {
|
|
247
249
|
Lite: 'lite',
|
|
248
|
-
Pro: 'pro'
|
|
250
|
+
Pro: 'pro',
|
|
249
251
|
};
|
|
250
252
|
exports.OrderRequestModelSchoolTypeEnum = {
|
|
251
253
|
Primary: 'primary',
|
|
252
|
-
Secondary: 'secondary'
|
|
254
|
+
Secondary: 'secondary',
|
|
253
255
|
};
|
|
254
256
|
exports.OrderTotalModelCurrencyEnum = {
|
|
255
257
|
Eur: 'EUR',
|
|
@@ -282,7 +284,7 @@ exports.OrderTotalModelCurrencyEnum = {
|
|
|
282
284
|
Php: 'PHP',
|
|
283
285
|
Sgd: 'SGD',
|
|
284
286
|
Thb: 'THB',
|
|
285
|
-
Zar: 'ZAR'
|
|
287
|
+
Zar: 'ZAR',
|
|
286
288
|
};
|
|
287
289
|
exports.PatchUpdatePriceListRequestPriceListEnum = {
|
|
288
290
|
Rrp: 'RRP',
|
|
@@ -291,14 +293,14 @@ exports.PatchUpdatePriceListRequestPriceListEnum = {
|
|
|
291
293
|
Itsp: 'ITSP',
|
|
292
294
|
SubDisti: 'Sub Disti',
|
|
293
295
|
Distributor: 'Distributor',
|
|
294
|
-
HotelDisti: 'Hotel Disti'
|
|
296
|
+
HotelDisti: 'Hotel Disti',
|
|
295
297
|
};
|
|
296
298
|
exports.PatchUpdateTcxHostingPriceListRequestPriceListEnum = {
|
|
297
299
|
_1: '1',
|
|
298
300
|
_2: '2',
|
|
299
301
|
_3: '3',
|
|
300
302
|
_4: '4',
|
|
301
|
-
_5: '5'
|
|
303
|
+
_5: '5',
|
|
302
304
|
};
|
|
303
305
|
exports.ProspectDTOStatusEnum = {
|
|
304
306
|
NoCallBackSet: 'No Call Back Set',
|
|
@@ -306,47 +308,47 @@ exports.ProspectDTOStatusEnum = {
|
|
|
306
308
|
NoOrdersPlaced: 'No Orders Placed',
|
|
307
309
|
NoOrdersInTheLast4Months: 'No Orders In The Last 4 Months',
|
|
308
310
|
NoActionRequired: 'No Action Required',
|
|
309
|
-
DoNotCall: 'Do Not Call'
|
|
311
|
+
DoNotCall: 'Do Not Call',
|
|
310
312
|
};
|
|
311
313
|
exports.ServiceHealthDTOGlobalStatusEnum = {
|
|
312
314
|
NUMBER_0: 0,
|
|
313
315
|
NUMBER_1: 1,
|
|
314
|
-
NUMBER_2: 2
|
|
316
|
+
NUMBER_2: 2,
|
|
315
317
|
};
|
|
316
318
|
exports.ServiceStatusDTOStatusEnum = {
|
|
317
319
|
_0: '0',
|
|
318
320
|
_1: '1',
|
|
319
|
-
_2: '2'
|
|
321
|
+
_2: '2',
|
|
320
322
|
};
|
|
321
323
|
exports.ShipmentDTOCourierEnum = {
|
|
322
324
|
Dpd: 'DPD',
|
|
323
325
|
ChorltonPallet: 'Chorlton Pallet',
|
|
324
|
-
Pops: 'POPS'
|
|
326
|
+
Pops: 'POPS',
|
|
325
327
|
};
|
|
326
328
|
exports.ShipmentRequestDTOCourierEnum = {
|
|
327
329
|
Dpd: 'DPD',
|
|
328
330
|
ChorltonPallet: 'Chorlton Pallet',
|
|
329
|
-
Pops: 'POPS'
|
|
331
|
+
Pops: 'POPS',
|
|
330
332
|
};
|
|
331
333
|
exports.ShippingRequestDTOCourierEnum = {
|
|
332
334
|
Dpd: 'DPD',
|
|
333
335
|
ChorltonPallet: 'Chorlton Pallet',
|
|
334
|
-
Pops: 'POPS'
|
|
336
|
+
Pops: 'POPS',
|
|
335
337
|
};
|
|
336
338
|
exports.ShippingRequestDTOPrinterEnum = {
|
|
337
339
|
NUMBER_1: 1,
|
|
338
340
|
NUMBER_2: 2,
|
|
339
|
-
NUMBER_3: 3
|
|
341
|
+
NUMBER_3: 3,
|
|
340
342
|
};
|
|
341
343
|
exports.ShippingServiceDTOCourierEnum = {
|
|
342
344
|
Dpd: 'DPD',
|
|
343
345
|
ChorltonPallet: 'Chorlton Pallet',
|
|
344
|
-
Pops: 'POPS'
|
|
346
|
+
Pops: 'POPS',
|
|
345
347
|
};
|
|
346
348
|
exports.ShippingServiceModelCourierEnum = {
|
|
347
349
|
Dpd: 'DPD',
|
|
348
350
|
ChorltonPallet: 'Chorlton Pallet',
|
|
349
|
-
Pops: 'POPS'
|
|
351
|
+
Pops: 'POPS',
|
|
350
352
|
};
|
|
351
353
|
exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
352
354
|
NewTrunk: 'New Trunk',
|
|
@@ -362,17 +364,17 @@ exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
|
362
364
|
Address: 'Address',
|
|
363
365
|
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
364
366
|
Fraud: 'Fraud',
|
|
365
|
-
CallBarring: 'Call Barring'
|
|
367
|
+
CallBarring: 'Call Barring',
|
|
366
368
|
};
|
|
367
369
|
exports.SmsAccountRequestDTOProviderEnum = {
|
|
368
|
-
NUMBER_1: 1
|
|
370
|
+
NUMBER_1: 1,
|
|
369
371
|
};
|
|
370
372
|
exports.SmsAccountRequestDTOTypeEnum = {
|
|
371
373
|
Local: 'local',
|
|
372
374
|
TollFree: 'toll_free',
|
|
373
375
|
Mobile: 'mobile',
|
|
374
376
|
National: 'national',
|
|
375
|
-
SharedCost: 'shared_cost'
|
|
377
|
+
SharedCost: 'shared_cost',
|
|
376
378
|
};
|
|
377
379
|
exports.SmsPhoneNumberModelStatusEnum = {
|
|
378
380
|
Queued: 'queued',
|
|
@@ -383,31 +385,31 @@ exports.SmsPhoneNumberModelStatusEnum = {
|
|
|
383
385
|
DeliveryUnconfirmed: 'delivery_unconfirmed',
|
|
384
386
|
Delivered: 'delivered',
|
|
385
387
|
DeliveryFailed: 'delivery_failed',
|
|
386
|
-
WebhookDelivered: 'webhook_delivered'
|
|
388
|
+
WebhookDelivered: 'webhook_delivered',
|
|
387
389
|
};
|
|
388
390
|
exports.SmsResponseModelEventTypeEnum = {
|
|
389
391
|
MessageSent: 'message.sent',
|
|
390
392
|
MessageFinalized: 'message.finalized',
|
|
391
|
-
MessageReceived: 'message.received'
|
|
393
|
+
MessageReceived: 'message.received',
|
|
392
394
|
};
|
|
393
395
|
exports.StockOrderModelDeliveryMethodEnum = {
|
|
394
396
|
Sea: 'Sea',
|
|
395
397
|
Air: 'Air',
|
|
396
|
-
Road: 'Road'
|
|
398
|
+
Road: 'Road',
|
|
397
399
|
};
|
|
398
400
|
exports.StockOrderModelPaidEnum = {
|
|
399
401
|
NUMBER_0: 0,
|
|
400
402
|
NUMBER_1: 1,
|
|
401
|
-
NUMBER_2: 2
|
|
403
|
+
NUMBER_2: 2,
|
|
402
404
|
};
|
|
403
405
|
exports.TcxMultiTenantModelPackageEnum = {
|
|
404
|
-
_3CxStarterBundle: '3CX Starter Bundle'
|
|
406
|
+
_3CxStarterBundle: '3CX Starter Bundle',
|
|
405
407
|
};
|
|
406
408
|
exports.TcxSetupEntityInstallTypeEnum = {
|
|
407
409
|
New: 'new',
|
|
408
410
|
Restore: 'restore',
|
|
409
411
|
Failover: 'failover',
|
|
410
|
-
MultiTenant: 'multi-tenant'
|
|
412
|
+
MultiTenant: 'multi-tenant',
|
|
411
413
|
};
|
|
412
414
|
exports.TcxSetupEntityRegionEnum = {
|
|
413
415
|
Uk1: 'UK1',
|
|
@@ -418,13 +420,13 @@ exports.TcxSetupEntityRegionEnum = {
|
|
|
418
420
|
Syd1: 'SYD1',
|
|
419
421
|
Sgp1: 'SGP1',
|
|
420
422
|
UsEastVa1: 'US-EAST-VA-1',
|
|
421
|
-
UsWestOr1: 'US-WEST-OR-1'
|
|
423
|
+
UsWestOr1: 'US-WEST-OR-1',
|
|
422
424
|
};
|
|
423
425
|
exports.TcxWizardModelInstallTypeEnum = {
|
|
424
426
|
New: 'new',
|
|
425
427
|
Restore: 'restore',
|
|
426
428
|
Failover: 'failover',
|
|
427
|
-
MultiTenant: 'multi-tenant'
|
|
429
|
+
MultiTenant: 'multi-tenant',
|
|
428
430
|
};
|
|
429
431
|
exports.TcxWizardModelInstallationStatusEnum = {
|
|
430
432
|
Building: 'Building',
|
|
@@ -441,15 +443,15 @@ exports.TcxWizardModelInstallationStatusEnum = {
|
|
|
441
443
|
RecordingsBackupInstalled: 'Recordings Backup Installed',
|
|
442
444
|
Complete: 'Complete',
|
|
443
445
|
Deleted: 'Deleted',
|
|
444
|
-
Failed: 'Failed'
|
|
446
|
+
Failed: 'Failed',
|
|
445
447
|
};
|
|
446
448
|
exports.UpgradeRequestModelLicenceTypeEnum = {
|
|
447
449
|
Lite: 'lite',
|
|
448
|
-
Pro: 'pro'
|
|
450
|
+
Pro: 'pro',
|
|
449
451
|
};
|
|
450
452
|
exports.UpgradeRequestModelSchoolTypeEnum = {
|
|
451
453
|
Primary: 'primary',
|
|
452
|
-
Secondary: 'secondary'
|
|
454
|
+
Secondary: 'secondary',
|
|
453
455
|
};
|
|
454
456
|
/**
|
|
455
457
|
* AccountsApi - axios parameter creator
|
|
@@ -478,8 +480,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
478
480
|
// verify required parameter 'contactId' is not null or undefined
|
|
479
481
|
(0, common_1.assertParamExists)('deleteAdminUpdateAccountContact', 'contactId', contactId);
|
|
480
482
|
localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
|
|
481
|
-
.replace(
|
|
482
|
-
.replace(
|
|
483
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
484
|
+
.replace('{contact_id}', encodeURIComponent(String(contactId)));
|
|
483
485
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
484
486
|
if (configuration) {
|
|
485
487
|
baseOptions = configuration.baseOptions;
|
|
@@ -515,7 +517,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
515
517
|
// verify required parameter 'id' is not null or undefined
|
|
516
518
|
(0, common_1.assertParamExists)('deleteArchiveAccount', 'id', id);
|
|
517
519
|
localVarPath = "/admin/accounts/{id}/archive"
|
|
518
|
-
.replace(
|
|
520
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
519
521
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
520
522
|
if (configuration) {
|
|
521
523
|
baseOptions = configuration.baseOptions;
|
|
@@ -552,7 +554,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
552
554
|
// verify required parameter 'id' is not null or undefined
|
|
553
555
|
(0, common_1.assertParamExists)('deleteDeleteClientCredentials', 'id', id);
|
|
554
556
|
localVarPath = "/accounts/me/contacts/credentials/{id}"
|
|
555
|
-
.replace(
|
|
557
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
556
558
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
557
559
|
if (configuration) {
|
|
558
560
|
baseOptions = configuration.baseOptions;
|
|
@@ -589,7 +591,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
589
591
|
// verify required parameter 'email' is not null or undefined
|
|
590
592
|
(0, common_1.assertParamExists)('deleteUpdateAccountContact', 'email', email);
|
|
591
593
|
localVarPath = "/accounts/me/contacts/{email}"
|
|
592
|
-
.replace(
|
|
594
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
593
595
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
594
596
|
if (configuration) {
|
|
595
597
|
baseOptions = configuration.baseOptions;
|
|
@@ -625,7 +627,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
625
627
|
// verify required parameter 'id' is not null or undefined
|
|
626
628
|
(0, common_1.assertParamExists)('getAdminCreateAccountContact', 'id', id);
|
|
627
629
|
localVarPath = "/admin/accounts/{id}/contacts"
|
|
628
|
-
.replace(
|
|
630
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
629
631
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
630
632
|
if (configuration) {
|
|
631
633
|
baseOptions = configuration.baseOptions;
|
|
@@ -696,7 +698,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
696
698
|
// verify required parameter 'id' is not null or undefined
|
|
697
699
|
(0, common_1.assertParamExists)('getGetAccountAddresses', 'id', id);
|
|
698
700
|
localVarPath = "/admin/accounts/{id}/addresses"
|
|
699
|
-
.replace(
|
|
701
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
700
702
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
701
703
|
if (configuration) {
|
|
702
704
|
baseOptions = configuration.baseOptions;
|
|
@@ -772,7 +774,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
772
774
|
// verify required parameter 'id' is not null or undefined
|
|
773
775
|
(0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
|
|
774
776
|
localVarPath = "/accounts/{id}/summary"
|
|
775
|
-
.replace(
|
|
777
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
776
778
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
777
779
|
if (configuration) {
|
|
778
780
|
baseOptions = configuration.baseOptions;
|
|
@@ -875,6 +877,39 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
875
877
|
});
|
|
876
878
|
});
|
|
877
879
|
},
|
|
880
|
+
/**
|
|
881
|
+
* Get Customer Accounts List
|
|
882
|
+
* @param {*} [options] Override http request option.
|
|
883
|
+
* @throws {RequiredError}
|
|
884
|
+
*/
|
|
885
|
+
getGetCustomerAccountsList: function () {
|
|
886
|
+
var args_1 = [];
|
|
887
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
888
|
+
args_1[_i] = arguments[_i];
|
|
889
|
+
}
|
|
890
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
891
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
892
|
+
if (options === void 0) { options = {}; }
|
|
893
|
+
return __generator(this, function (_a) {
|
|
894
|
+
localVarPath = "/admin/accounts/customers/list";
|
|
895
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
896
|
+
if (configuration) {
|
|
897
|
+
baseOptions = configuration.baseOptions;
|
|
898
|
+
}
|
|
899
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
900
|
+
localVarHeaderParameter = {};
|
|
901
|
+
localVarQueryParameter = {};
|
|
902
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
903
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
904
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
905
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
906
|
+
return [2 /*return*/, {
|
|
907
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
908
|
+
options: localVarRequestOptions,
|
|
909
|
+
}];
|
|
910
|
+
});
|
|
911
|
+
});
|
|
912
|
+
},
|
|
878
913
|
/**
|
|
879
914
|
* Get 3CX Keys
|
|
880
915
|
* @summary Get 3CX Keys
|
|
@@ -927,7 +962,41 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
927
962
|
// verify required parameter 'id' is not null or undefined
|
|
928
963
|
(0, common_1.assertParamExists)('getGetFinanceSettings', 'id', id);
|
|
929
964
|
localVarPath = "/admin/accounts/{id}/finance"
|
|
930
|
-
.replace(
|
|
965
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
966
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
967
|
+
if (configuration) {
|
|
968
|
+
baseOptions = configuration.baseOptions;
|
|
969
|
+
}
|
|
970
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
971
|
+
localVarHeaderParameter = {};
|
|
972
|
+
localVarQueryParameter = {};
|
|
973
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
974
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
975
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
976
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
977
|
+
return [2 /*return*/, {
|
|
978
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
979
|
+
options: localVarRequestOptions,
|
|
980
|
+
}];
|
|
981
|
+
});
|
|
982
|
+
});
|
|
983
|
+
},
|
|
984
|
+
/**
|
|
985
|
+
* Get Last Account
|
|
986
|
+
* @summary Get Last Account
|
|
987
|
+
* @param {*} [options] Override http request option.
|
|
988
|
+
* @throws {RequiredError}
|
|
989
|
+
*/
|
|
990
|
+
getGetLastAccount: function () {
|
|
991
|
+
var args_1 = [];
|
|
992
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
993
|
+
args_1[_i] = arguments[_i];
|
|
994
|
+
}
|
|
995
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
996
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
997
|
+
if (options === void 0) { options = {}; }
|
|
998
|
+
return __generator(this, function (_a) {
|
|
999
|
+
localVarPath = "/admin/accounts/last";
|
|
931
1000
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
932
1001
|
if (configuration) {
|
|
933
1002
|
baseOptions = configuration.baseOptions;
|
|
@@ -964,7 +1033,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
964
1033
|
// verify required parameter 'id' is not null or undefined
|
|
965
1034
|
(0, common_1.assertParamExists)('getGetTcxPartnerDetails', 'id', id);
|
|
966
1035
|
localVarPath = "/admin/accounts/{id}/tcx/partner"
|
|
967
|
-
.replace(
|
|
1036
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
968
1037
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
969
1038
|
if (configuration) {
|
|
970
1039
|
baseOptions = configuration.baseOptions;
|
|
@@ -1043,8 +1112,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1043
1112
|
// verify required parameter 'state' is not null or undefined
|
|
1044
1113
|
(0, common_1.assertParamExists)('patchSetPortalAccess', 'state', state);
|
|
1045
1114
|
localVarPath = "/admin/accounts/{id}/portal/access/{state}"
|
|
1046
|
-
.replace(
|
|
1047
|
-
.replace(
|
|
1115
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1116
|
+
.replace('{state}', encodeURIComponent(String(state)));
|
|
1048
1117
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1049
1118
|
if (configuration) {
|
|
1050
1119
|
baseOptions = configuration.baseOptions;
|
|
@@ -1083,8 +1152,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1083
1152
|
// verify required parameter 'state' is not null or undefined
|
|
1084
1153
|
(0, common_1.assertParamExists)('patchSetPrizePromo', 'state', state);
|
|
1085
1154
|
localVarPath = "/admin/accounts/{id}/prizes/{state}"
|
|
1086
|
-
.replace(
|
|
1087
|
-
.replace(
|
|
1155
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1156
|
+
.replace('{state}', encodeURIComponent(String(state)));
|
|
1088
1157
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1089
1158
|
if (configuration) {
|
|
1090
1159
|
baseOptions = configuration.baseOptions;
|
|
@@ -1156,7 +1225,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1156
1225
|
// verify required parameter 'id' is not null or undefined
|
|
1157
1226
|
(0, common_1.assertParamExists)('patchUpdateAccountCname', 'id', id);
|
|
1158
1227
|
localVarPath = "/admin/accounts/{id}/cname"
|
|
1159
|
-
.replace(
|
|
1228
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1160
1229
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1161
1230
|
if (configuration) {
|
|
1162
1231
|
baseOptions = configuration.baseOptions;
|
|
@@ -1195,7 +1264,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1195
1264
|
// verify required parameter 'id' is not null or undefined
|
|
1196
1265
|
(0, common_1.assertParamExists)('patchUpdateAccountCompanyNumber', 'id', id);
|
|
1197
1266
|
localVarPath = "/admin/accounts/{id}/companyNumber"
|
|
1198
|
-
.replace(
|
|
1267
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1199
1268
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1200
1269
|
if (configuration) {
|
|
1201
1270
|
baseOptions = configuration.baseOptions;
|
|
@@ -1276,7 +1345,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1276
1345
|
// verify required parameter 'id' is not null or undefined
|
|
1277
1346
|
(0, common_1.assertParamExists)('patchUpdateAccountPhone', 'id', id);
|
|
1278
1347
|
localVarPath = "/admin/accounts/{id}/phone"
|
|
1279
|
-
.replace(
|
|
1348
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1280
1349
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1281
1350
|
if (configuration) {
|
|
1282
1351
|
baseOptions = configuration.baseOptions;
|
|
@@ -1315,7 +1384,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1315
1384
|
// verify required parameter 'id' is not null or undefined
|
|
1316
1385
|
(0, common_1.assertParamExists)('patchUpdateAccountVatNumber', 'id', id);
|
|
1317
1386
|
localVarPath = "/admin/accounts/{id}/vatNumber"
|
|
1318
|
-
.replace(
|
|
1387
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1319
1388
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1320
1389
|
if (configuration) {
|
|
1321
1390
|
baseOptions = configuration.baseOptions;
|
|
@@ -1354,7 +1423,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1354
1423
|
// verify required parameter 'id' is not null or undefined
|
|
1355
1424
|
(0, common_1.assertParamExists)('patchUpdateCreditLimit', 'id', id);
|
|
1356
1425
|
localVarPath = "/admin/accounts/{id}/creditLimit"
|
|
1357
|
-
.replace(
|
|
1426
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1358
1427
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1359
1428
|
if (configuration) {
|
|
1360
1429
|
baseOptions = configuration.baseOptions;
|
|
@@ -1394,7 +1463,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1394
1463
|
// verify required parameter 'id' is not null or undefined
|
|
1395
1464
|
(0, common_1.assertParamExists)('patchUpdatePriceList', 'id', id);
|
|
1396
1465
|
localVarPath = "/admin/accounts/{id}/priceList"
|
|
1397
|
-
.replace(
|
|
1466
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1398
1467
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1399
1468
|
if (configuration) {
|
|
1400
1469
|
baseOptions = configuration.baseOptions;
|
|
@@ -1434,7 +1503,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1434
1503
|
// verify required parameter 'id' is not null or undefined
|
|
1435
1504
|
(0, common_1.assertParamExists)('patchUpdateSipChannelCost', 'id', id);
|
|
1436
1505
|
localVarPath = "/admin/accounts/{id}/channelCost"
|
|
1437
|
-
.replace(
|
|
1506
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1438
1507
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1439
1508
|
if (configuration) {
|
|
1440
1509
|
baseOptions = configuration.baseOptions;
|
|
@@ -1474,7 +1543,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1474
1543
|
// verify required parameter 'id' is not null or undefined
|
|
1475
1544
|
(0, common_1.assertParamExists)('patchUpdateTcxHostingPriceList', 'id', id);
|
|
1476
1545
|
localVarPath = "/admin/accounts/{id}/tcx/hosting/priceList"
|
|
1477
|
-
.replace(
|
|
1546
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1478
1547
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1479
1548
|
if (configuration) {
|
|
1480
1549
|
baseOptions = configuration.baseOptions;
|
|
@@ -1514,7 +1583,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1514
1583
|
// verify required parameter 'id' is not null or undefined
|
|
1515
1584
|
(0, common_1.assertParamExists)('patchUpdateTcxPartnerId', 'id', id);
|
|
1516
1585
|
localVarPath = "/admin/accounts{id}/tcx/partner/id"
|
|
1517
|
-
.replace(
|
|
1586
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1518
1587
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1519
1588
|
if (configuration) {
|
|
1520
1589
|
baseOptions = configuration.baseOptions;
|
|
@@ -1554,7 +1623,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1554
1623
|
// verify required parameter 'id' is not null or undefined
|
|
1555
1624
|
(0, common_1.assertParamExists)('postAdminCreateAccountContact', 'id', id);
|
|
1556
1625
|
localVarPath = "/admin/accounts/{id}/contacts"
|
|
1557
|
-
.replace(
|
|
1626
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1558
1627
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1559
1628
|
if (configuration) {
|
|
1560
1629
|
baseOptions = configuration.baseOptions;
|
|
@@ -1737,7 +1806,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1737
1806
|
// verify required parameter 'email' is not null or undefined
|
|
1738
1807
|
(0, common_1.assertParamExists)('postSendEmailVerificationEmail', 'email', email);
|
|
1739
1808
|
localVarPath = "/accounts/contacts/verify/{email}"
|
|
1740
|
-
.replace(
|
|
1809
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1741
1810
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1742
1811
|
if (configuration) {
|
|
1743
1812
|
baseOptions = configuration.baseOptions;
|
|
@@ -1813,7 +1882,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1813
1882
|
// verify required parameter 'id' is not null or undefined
|
|
1814
1883
|
(0, common_1.assertParamExists)('postSendWelcomeEmail', 'id', id);
|
|
1815
1884
|
localVarPath = "/admin/accounts/{id}/email/welcome"
|
|
1816
|
-
.replace(
|
|
1885
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1817
1886
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1818
1887
|
if (configuration) {
|
|
1819
1888
|
baseOptions = configuration.baseOptions;
|
|
@@ -1900,8 +1969,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1900
1969
|
// verify required parameter 'contactId' is not null or undefined
|
|
1901
1970
|
(0, common_1.assertParamExists)('putAdminUpdateAccountContact', 'contactId', contactId);
|
|
1902
1971
|
localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
|
|
1903
|
-
.replace(
|
|
1904
|
-
.replace(
|
|
1972
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1973
|
+
.replace('{contact_id}', encodeURIComponent(String(contactId)));
|
|
1905
1974
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1906
1975
|
if (configuration) {
|
|
1907
1976
|
baseOptions = configuration.baseOptions;
|
|
@@ -1941,7 +2010,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1941
2010
|
// verify required parameter 'email' is not null or undefined
|
|
1942
2011
|
(0, common_1.assertParamExists)('putUpdateAccountContact', 'email', email);
|
|
1943
2012
|
localVarPath = "/accounts/me/contacts/{email}"
|
|
1944
|
-
.replace(
|
|
2013
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1945
2014
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1946
2015
|
if (configuration) {
|
|
1947
2016
|
baseOptions = configuration.baseOptions;
|
|
@@ -1980,7 +2049,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1980
2049
|
// verify required parameter 'id' is not null or undefined
|
|
1981
2050
|
(0, common_1.assertParamExists)('putUpdateBillingAddress', 'id', id);
|
|
1982
2051
|
localVarPath = "/admin/accounts/{id}/billing/address"
|
|
1983
|
-
.replace(
|
|
2052
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1984
2053
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1985
2054
|
if (configuration) {
|
|
1986
2055
|
baseOptions = configuration.baseOptions;
|
|
@@ -2019,7 +2088,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
2019
2088
|
// verify required parameter 'id' is not null or undefined
|
|
2020
2089
|
(0, common_1.assertParamExists)('putUpdateShippingAddress', 'id', id);
|
|
2021
2090
|
localVarPath = "/admin/accounts/{id}/shipping/address"
|
|
2022
|
-
.replace(
|
|
2091
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
2023
2092
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2024
2093
|
if (configuration) {
|
|
2025
2094
|
baseOptions = configuration.baseOptions;
|
|
@@ -2299,6 +2368,27 @@ var AccountsApiFp = function (configuration) {
|
|
|
2299
2368
|
});
|
|
2300
2369
|
});
|
|
2301
2370
|
},
|
|
2371
|
+
/**
|
|
2372
|
+
* Get Customer Accounts List
|
|
2373
|
+
* @param {*} [options] Override http request option.
|
|
2374
|
+
* @throws {RequiredError}
|
|
2375
|
+
*/
|
|
2376
|
+
getGetCustomerAccountsList: function (options) {
|
|
2377
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2378
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2379
|
+
var _a, _b, _c;
|
|
2380
|
+
return __generator(this, function (_d) {
|
|
2381
|
+
switch (_d.label) {
|
|
2382
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetCustomerAccountsList(options)];
|
|
2383
|
+
case 1:
|
|
2384
|
+
localVarAxiosArgs = _d.sent();
|
|
2385
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2386
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetCustomerAccountsList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2387
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2388
|
+
}
|
|
2389
|
+
});
|
|
2390
|
+
});
|
|
2391
|
+
},
|
|
2302
2392
|
/**
|
|
2303
2393
|
* Get 3CX Keys
|
|
2304
2394
|
* @summary Get 3CX Keys
|
|
@@ -2343,6 +2433,28 @@ var AccountsApiFp = function (configuration) {
|
|
|
2343
2433
|
});
|
|
2344
2434
|
});
|
|
2345
2435
|
},
|
|
2436
|
+
/**
|
|
2437
|
+
* Get Last Account
|
|
2438
|
+
* @summary Get Last Account
|
|
2439
|
+
* @param {*} [options] Override http request option.
|
|
2440
|
+
* @throws {RequiredError}
|
|
2441
|
+
*/
|
|
2442
|
+
getGetLastAccount: function (options) {
|
|
2443
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2444
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2445
|
+
var _a, _b, _c;
|
|
2446
|
+
return __generator(this, function (_d) {
|
|
2447
|
+
switch (_d.label) {
|
|
2448
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetLastAccount(options)];
|
|
2449
|
+
case 1:
|
|
2450
|
+
localVarAxiosArgs = _d.sent();
|
|
2451
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2452
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetLastAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2453
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2454
|
+
}
|
|
2455
|
+
});
|
|
2456
|
+
});
|
|
2457
|
+
},
|
|
2346
2458
|
/**
|
|
2347
2459
|
* Get Account 3CX Details
|
|
2348
2460
|
* @param {string} id Xero ID
|
|
@@ -3106,6 +3218,14 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
3106
3218
|
getGetClientCredentials: function (options) {
|
|
3107
3219
|
return localVarFp.getGetClientCredentials(options).then(function (request) { return request(axios, basePath); });
|
|
3108
3220
|
},
|
|
3221
|
+
/**
|
|
3222
|
+
* Get Customer Accounts List
|
|
3223
|
+
* @param {*} [options] Override http request option.
|
|
3224
|
+
* @throws {RequiredError}
|
|
3225
|
+
*/
|
|
3226
|
+
getGetCustomerAccountsList: function (options) {
|
|
3227
|
+
return localVarFp.getGetCustomerAccountsList(options).then(function (request) { return request(axios, basePath); });
|
|
3228
|
+
},
|
|
3109
3229
|
/**
|
|
3110
3230
|
* Get 3CX Keys
|
|
3111
3231
|
* @summary Get 3CX Keys
|
|
@@ -3124,6 +3244,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
3124
3244
|
getGetFinanceSettings: function (id, options) {
|
|
3125
3245
|
return localVarFp.getGetFinanceSettings(id, options).then(function (request) { return request(axios, basePath); });
|
|
3126
3246
|
},
|
|
3247
|
+
/**
|
|
3248
|
+
* Get Last Account
|
|
3249
|
+
* @summary Get Last Account
|
|
3250
|
+
* @param {*} [options] Override http request option.
|
|
3251
|
+
* @throws {RequiredError}
|
|
3252
|
+
*/
|
|
3253
|
+
getGetLastAccount: function (options) {
|
|
3254
|
+
return localVarFp.getGetLastAccount(options).then(function (request) { return request(axios, basePath); });
|
|
3255
|
+
},
|
|
3127
3256
|
/**
|
|
3128
3257
|
* Get Account 3CX Details
|
|
3129
3258
|
* @param {string} id Xero ID
|
|
@@ -3536,6 +3665,15 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3536
3665
|
var _this = this;
|
|
3537
3666
|
return (0, exports.AccountsApiFp)(this.configuration).getGetClientCredentials(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3538
3667
|
};
|
|
3668
|
+
/**
|
|
3669
|
+
* Get Customer Accounts List
|
|
3670
|
+
* @param {*} [options] Override http request option.
|
|
3671
|
+
* @throws {RequiredError}
|
|
3672
|
+
*/
|
|
3673
|
+
AccountsApi.prototype.getGetCustomerAccountsList = function (options) {
|
|
3674
|
+
var _this = this;
|
|
3675
|
+
return (0, exports.AccountsApiFp)(this.configuration).getGetCustomerAccountsList(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3676
|
+
};
|
|
3539
3677
|
/**
|
|
3540
3678
|
* Get 3CX Keys
|
|
3541
3679
|
* @summary Get 3CX Keys
|
|
@@ -3556,6 +3694,16 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3556
3694
|
var _this = this;
|
|
3557
3695
|
return (0, exports.AccountsApiFp)(this.configuration).getGetFinanceSettings(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3558
3696
|
};
|
|
3697
|
+
/**
|
|
3698
|
+
* Get Last Account
|
|
3699
|
+
* @summary Get Last Account
|
|
3700
|
+
* @param {*} [options] Override http request option.
|
|
3701
|
+
* @throws {RequiredError}
|
|
3702
|
+
*/
|
|
3703
|
+
AccountsApi.prototype.getGetLastAccount = function (options) {
|
|
3704
|
+
var _this = this;
|
|
3705
|
+
return (0, exports.AccountsApiFp)(this.configuration).getGetLastAccount(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3706
|
+
};
|
|
3559
3707
|
/**
|
|
3560
3708
|
* Get Account 3CX Details
|
|
3561
3709
|
* @param {string} id Xero ID
|
|
@@ -3871,11 +4019,11 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3871
4019
|
exports.AccountsApi = AccountsApi;
|
|
3872
4020
|
exports.PatchSetPortalAccessStateEnum = {
|
|
3873
4021
|
Enable: 'enable',
|
|
3874
|
-
Disable: 'disable'
|
|
4022
|
+
Disable: 'disable',
|
|
3875
4023
|
};
|
|
3876
4024
|
exports.PatchSetPrizePromoStateEnum = {
|
|
3877
4025
|
Enable: 'enable',
|
|
3878
|
-
Disable: 'disable'
|
|
4026
|
+
Disable: 'disable',
|
|
3879
4027
|
};
|
|
3880
4028
|
/**
|
|
3881
4029
|
* BillingApi - axios parameter creator
|
|
@@ -4016,7 +4164,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
4016
4164
|
// verify required parameter 'id' is not null or undefined
|
|
4017
4165
|
(0, common_1.assertParamExists)('getGetCrmActivities', 'id', id);
|
|
4018
4166
|
localVarPath = "/admin/crm/{id}/activities"
|
|
4019
|
-
.replace(
|
|
4167
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4020
4168
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4021
4169
|
if (configuration) {
|
|
4022
4170
|
baseOptions = configuration.baseOptions;
|
|
@@ -4093,7 +4241,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
4093
4241
|
// verify required parameter 'id' is not null or undefined
|
|
4094
4242
|
(0, common_1.assertParamExists)('postCreateCrmNote', 'id', id);
|
|
4095
4243
|
localVarPath = "/admin/crm/{id}/activities/note"
|
|
4096
|
-
.replace(
|
|
4244
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4097
4245
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4098
4246
|
if (configuration) {
|
|
4099
4247
|
baseOptions = configuration.baseOptions;
|
|
@@ -4278,10 +4426,11 @@ exports.CRMApi = CRMApi;
|
|
|
4278
4426
|
exports.GetGetCrmActivitiesTypeEnum = {
|
|
4279
4427
|
Alert: 'alert',
|
|
4280
4428
|
Call: 'call',
|
|
4429
|
+
Email: 'email',
|
|
4281
4430
|
Note: 'note',
|
|
4282
4431
|
Order: 'order',
|
|
4283
4432
|
Quote: 'quote',
|
|
4284
|
-
TcxOrder: 'tcx_order'
|
|
4433
|
+
TcxOrder: 'tcx_order',
|
|
4285
4434
|
};
|
|
4286
4435
|
/**
|
|
4287
4436
|
* Class3CXApi - axios parameter creator
|
|
@@ -4329,6 +4478,40 @@ var Class3CXApiAxiosParamCreator = function (configuration) {
|
|
|
4329
4478
|
});
|
|
4330
4479
|
});
|
|
4331
4480
|
},
|
|
4481
|
+
/**
|
|
4482
|
+
* Get 3CX Expiring Keys
|
|
4483
|
+
* @summary Get 3CX Expiring Keys
|
|
4484
|
+
* @param {*} [options] Override http request option.
|
|
4485
|
+
* @throws {RequiredError}
|
|
4486
|
+
*/
|
|
4487
|
+
getGetTcxExpiringKeys: function () {
|
|
4488
|
+
var args_1 = [];
|
|
4489
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
4490
|
+
args_1[_i] = arguments[_i];
|
|
4491
|
+
}
|
|
4492
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
4493
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4494
|
+
if (options === void 0) { options = {}; }
|
|
4495
|
+
return __generator(this, function (_a) {
|
|
4496
|
+
localVarPath = "/tcx/admin/keys/expiring/csv";
|
|
4497
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4498
|
+
if (configuration) {
|
|
4499
|
+
baseOptions = configuration.baseOptions;
|
|
4500
|
+
}
|
|
4501
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
4502
|
+
localVarHeaderParameter = {};
|
|
4503
|
+
localVarQueryParameter = {};
|
|
4504
|
+
localVarHeaderParameter['Accept'] = 'text/csv';
|
|
4505
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4506
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4507
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4508
|
+
return [2 /*return*/, {
|
|
4509
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4510
|
+
options: localVarRequestOptions,
|
|
4511
|
+
}];
|
|
4512
|
+
});
|
|
4513
|
+
});
|
|
4514
|
+
},
|
|
4332
4515
|
/**
|
|
4333
4516
|
* Get Bulk 3CX Licence Details
|
|
4334
4517
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4398,6 +4581,28 @@ var Class3CXApiFp = function (configuration) {
|
|
|
4398
4581
|
});
|
|
4399
4582
|
});
|
|
4400
4583
|
},
|
|
4584
|
+
/**
|
|
4585
|
+
* Get 3CX Expiring Keys
|
|
4586
|
+
* @summary Get 3CX Expiring Keys
|
|
4587
|
+
* @param {*} [options] Override http request option.
|
|
4588
|
+
* @throws {RequiredError}
|
|
4589
|
+
*/
|
|
4590
|
+
getGetTcxExpiringKeys: function (options) {
|
|
4591
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4592
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
4593
|
+
var _a, _b, _c;
|
|
4594
|
+
return __generator(this, function (_d) {
|
|
4595
|
+
switch (_d.label) {
|
|
4596
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetTcxExpiringKeys(options)];
|
|
4597
|
+
case 1:
|
|
4598
|
+
localVarAxiosArgs = _d.sent();
|
|
4599
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4600
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXApi.getGetTcxExpiringKeys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4601
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
4602
|
+
}
|
|
4603
|
+
});
|
|
4604
|
+
});
|
|
4605
|
+
},
|
|
4401
4606
|
/**
|
|
4402
4607
|
* Get Bulk 3CX Licence Details
|
|
4403
4608
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4440,6 +4645,15 @@ var Class3CXApiFactory = function (configuration, basePath, axios) {
|
|
|
4440
4645
|
getGetLicenceDetails: function (key, options) {
|
|
4441
4646
|
return localVarFp.getGetLicenceDetails(key, options).then(function (request) { return request(axios, basePath); });
|
|
4442
4647
|
},
|
|
4648
|
+
/**
|
|
4649
|
+
* Get 3CX Expiring Keys
|
|
4650
|
+
* @summary Get 3CX Expiring Keys
|
|
4651
|
+
* @param {*} [options] Override http request option.
|
|
4652
|
+
* @throws {RequiredError}
|
|
4653
|
+
*/
|
|
4654
|
+
getGetTcxExpiringKeys: function (options) {
|
|
4655
|
+
return localVarFp.getGetTcxExpiringKeys(options).then(function (request) { return request(axios, basePath); });
|
|
4656
|
+
},
|
|
4443
4657
|
/**
|
|
4444
4658
|
* Get Bulk 3CX Licence Details
|
|
4445
4659
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4472,6 +4686,16 @@ var Class3CXApi = /** @class */ (function (_super) {
|
|
|
4472
4686
|
var _this = this;
|
|
4473
4687
|
return (0, exports.Class3CXApiFp)(this.configuration).getGetLicenceDetails(key, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4474
4688
|
};
|
|
4689
|
+
/**
|
|
4690
|
+
* Get 3CX Expiring Keys
|
|
4691
|
+
* @summary Get 3CX Expiring Keys
|
|
4692
|
+
* @param {*} [options] Override http request option.
|
|
4693
|
+
* @throws {RequiredError}
|
|
4694
|
+
*/
|
|
4695
|
+
Class3CXApi.prototype.getGetTcxExpiringKeys = function (options) {
|
|
4696
|
+
var _this = this;
|
|
4697
|
+
return (0, exports.Class3CXApiFp)(this.configuration).getGetTcxExpiringKeys(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4698
|
+
};
|
|
4475
4699
|
/**
|
|
4476
4700
|
* Get Bulk 3CX Licence Details
|
|
4477
4701
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4756,7 +4980,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
4756
4980
|
// verify required parameter 'id' is not null or undefined
|
|
4757
4981
|
(0, common_1.assertParamExists)('getGetDdisTcxWizard', 'id', id);
|
|
4758
4982
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
4759
|
-
.replace(
|
|
4983
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4760
4984
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4761
4985
|
if (configuration) {
|
|
4762
4986
|
baseOptions = configuration.baseOptions;
|
|
@@ -4985,7 +5209,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
4985
5209
|
// verify required parameter 'id' is not null or undefined
|
|
4986
5210
|
(0, common_1.assertParamExists)('getGetSipTrunkTcxWizard', 'id', id);
|
|
4987
5211
|
localVarPath = "/tcx/wizards/sip/trunks/{id}"
|
|
4988
|
-
.replace(
|
|
5212
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4989
5213
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4990
5214
|
if (configuration) {
|
|
4991
5215
|
baseOptions = configuration.baseOptions;
|
|
@@ -5623,7 +5847,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
5623
5847
|
// verify required parameter 'id' is not null or undefined
|
|
5624
5848
|
(0, common_1.assertParamExists)('postGetDdisTcxWizard', 'id', id);
|
|
5625
5849
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
5626
|
-
.replace(
|
|
5850
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
5627
5851
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5628
5852
|
if (configuration) {
|
|
5629
5853
|
baseOptions = configuration.baseOptions;
|
|
@@ -7362,7 +7586,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7362
7586
|
// verify required parameter 'wizardId' is not null or undefined
|
|
7363
7587
|
(0, common_1.assertParamExists)('getGetDetails', 'wizardId', wizardId);
|
|
7364
7588
|
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
7365
|
-
.replace(
|
|
7589
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
7366
7590
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7367
7591
|
if (configuration) {
|
|
7368
7592
|
baseOptions = configuration.baseOptions;
|
|
@@ -7443,6 +7667,44 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7443
7667
|
});
|
|
7444
7668
|
});
|
|
7445
7669
|
},
|
|
7670
|
+
/**
|
|
7671
|
+
* Get Recording Backup Storage
|
|
7672
|
+
* @summary Get Recording Backup Storage
|
|
7673
|
+
* @param {string} instanceId Instance ID
|
|
7674
|
+
* @param {*} [options] Override http request option.
|
|
7675
|
+
* @throws {RequiredError}
|
|
7676
|
+
*/
|
|
7677
|
+
getGetRecordingBackupStorage: function (instanceId_1) {
|
|
7678
|
+
var args_1 = [];
|
|
7679
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
7680
|
+
args_1[_i - 1] = arguments[_i];
|
|
7681
|
+
}
|
|
7682
|
+
return __awaiter(_this, __spreadArray([instanceId_1], args_1, true), void 0, function (instanceId, options) {
|
|
7683
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7684
|
+
if (options === void 0) { options = {}; }
|
|
7685
|
+
return __generator(this, function (_a) {
|
|
7686
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
7687
|
+
(0, common_1.assertParamExists)('getGetRecordingBackupStorage', 'instanceId', instanceId);
|
|
7688
|
+
localVarPath = "/tcx/installations/{instance_id}/recordings/backup"
|
|
7689
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7690
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7691
|
+
if (configuration) {
|
|
7692
|
+
baseOptions = configuration.baseOptions;
|
|
7693
|
+
}
|
|
7694
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
7695
|
+
localVarHeaderParameter = {};
|
|
7696
|
+
localVarQueryParameter = {};
|
|
7697
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
7698
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7699
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7700
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7701
|
+
return [2 /*return*/, {
|
|
7702
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7703
|
+
options: localVarRequestOptions,
|
|
7704
|
+
}];
|
|
7705
|
+
});
|
|
7706
|
+
});
|
|
7707
|
+
},
|
|
7446
7708
|
/**
|
|
7447
7709
|
* Change instance owner
|
|
7448
7710
|
* @summary Change instance owner
|
|
@@ -7465,7 +7727,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7465
7727
|
// verify required parameter 'customerId' is not null or undefined
|
|
7466
7728
|
(0, common_1.assertParamExists)('patchChangeInstanceOwner', 'customerId', customerId);
|
|
7467
7729
|
localVarPath = "/tcx/installations/{instance_id}/owner"
|
|
7468
|
-
.replace(
|
|
7730
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7469
7731
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7470
7732
|
if (configuration) {
|
|
7471
7733
|
baseOptions = configuration.baseOptions;
|
|
@@ -7508,7 +7770,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7508
7770
|
// verify required parameter 'enable' is not null or undefined
|
|
7509
7771
|
(0, common_1.assertParamExists)('patchUpdateAutoFailover', 'enable', enable);
|
|
7510
7772
|
localVarPath = "/tcx/installations/{instance_id}/failover/auto"
|
|
7511
|
-
.replace(
|
|
7773
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7512
7774
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7513
7775
|
if (configuration) {
|
|
7514
7776
|
baseOptions = configuration.baseOptions;
|
|
@@ -7551,7 +7813,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7551
7813
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
7552
7814
|
(0, common_1.assertParamExists)('postAddDisk', 'gigabytes', gigabytes);
|
|
7553
7815
|
localVarPath = "/tcx/installations/{instance_id}/disk"
|
|
7554
|
-
.replace(
|
|
7816
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7555
7817
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7556
7818
|
if (configuration) {
|
|
7557
7819
|
baseOptions = configuration.baseOptions;
|
|
@@ -7597,7 +7859,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7597
7859
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
7598
7860
|
(0, common_1.assertParamExists)('postCreateSshUser', 'ipAddress', ipAddress);
|
|
7599
7861
|
localVarPath = "/tcx/installations/{instance_id}/create/user/root"
|
|
7600
|
-
.replace(
|
|
7862
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7601
7863
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7602
7864
|
if (configuration) {
|
|
7603
7865
|
baseOptions = configuration.baseOptions;
|
|
@@ -7641,7 +7903,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7641
7903
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7642
7904
|
(0, common_1.assertParamExists)('postDeleteInstance', 'instanceId', instanceId);
|
|
7643
7905
|
localVarPath = "/tcx/installations/{instance_id}/delete"
|
|
7644
|
-
.replace(
|
|
7906
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7645
7907
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7646
7908
|
if (configuration) {
|
|
7647
7909
|
baseOptions = configuration.baseOptions;
|
|
@@ -7682,7 +7944,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7682
7944
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
7683
7945
|
(0, common_1.assertParamExists)('postExtendDisk', 'gigabytes', gigabytes);
|
|
7684
7946
|
localVarPath = "/tcx/installations/{instance_id}/disk/extend"
|
|
7685
|
-
.replace(
|
|
7947
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7686
7948
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7687
7949
|
if (configuration) {
|
|
7688
7950
|
baseOptions = configuration.baseOptions;
|
|
@@ -7728,7 +7990,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7728
7990
|
// verify required parameter 'type' is not null or undefined
|
|
7729
7991
|
(0, common_1.assertParamExists)('postFailoverInstance', 'type', type);
|
|
7730
7992
|
localVarPath = "/tcx/installations/{instance_id}/failover"
|
|
7731
|
-
.replace(
|
|
7993
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7732
7994
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7733
7995
|
if (configuration) {
|
|
7734
7996
|
baseOptions = configuration.baseOptions;
|
|
@@ -7768,7 +8030,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7768
8030
|
// verify required parameter 'sbcId' is not null or undefined
|
|
7769
8031
|
(0, common_1.assertParamExists)('postInstallTcxSbc', 'sbcId', sbcId);
|
|
7770
8032
|
localVarPath = "/tcx/installations/sbcs/{sbc_id}/install"
|
|
7771
|
-
.replace(
|
|
8033
|
+
.replace('{sbc_id}', encodeURIComponent(String(sbcId)));
|
|
7772
8034
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7773
8035
|
if (configuration) {
|
|
7774
8036
|
baseOptions = configuration.baseOptions;
|
|
@@ -7806,7 +8068,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7806
8068
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7807
8069
|
(0, common_1.assertParamExists)('postRebootInstance', 'instanceId', instanceId);
|
|
7808
8070
|
localVarPath = "/tcx/installations/{instance_id}/reboot"
|
|
7809
|
-
.replace(
|
|
8071
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7810
8072
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7811
8073
|
if (configuration) {
|
|
7812
8074
|
baseOptions = configuration.baseOptions;
|
|
@@ -7847,7 +8109,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7847
8109
|
// verify required parameter 'size' is not null or undefined
|
|
7848
8110
|
(0, common_1.assertParamExists)('postResizeInstance', 'size', size);
|
|
7849
8111
|
localVarPath = "/tcx/installations/{instance_id}/resize"
|
|
7850
|
-
.replace(
|
|
8112
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7851
8113
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7852
8114
|
if (configuration) {
|
|
7853
8115
|
baseOptions = configuration.baseOptions;
|
|
@@ -7891,7 +8153,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7891
8153
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7892
8154
|
(0, common_1.assertParamExists)('postRestartServices', 'instanceId', instanceId);
|
|
7893
8155
|
localVarPath = "/tcx/installations/{instance_id}/services/restart"
|
|
7894
|
-
.replace(
|
|
8156
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7895
8157
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7896
8158
|
if (configuration) {
|
|
7897
8159
|
baseOptions = configuration.baseOptions;
|
|
@@ -7932,7 +8194,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7932
8194
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7933
8195
|
(0, common_1.assertParamExists)('postScheduledReboot', 'instanceId', instanceId);
|
|
7934
8196
|
localVarPath = "/tcx/installations/{instance_id}/reboot/scheduled"
|
|
7935
|
-
.replace(
|
|
8197
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7936
8198
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7937
8199
|
if (configuration) {
|
|
7938
8200
|
baseOptions = configuration.baseOptions;
|
|
@@ -7973,7 +8235,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7973
8235
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7974
8236
|
(0, common_1.assertParamExists)('postSuspendInstance', 'instanceId', instanceId);
|
|
7975
8237
|
localVarPath = "/tcx/installations/{instance_id}/suspend"
|
|
7976
|
-
.replace(
|
|
8238
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7977
8239
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7978
8240
|
if (configuration) {
|
|
7979
8241
|
baseOptions = configuration.baseOptions;
|
|
@@ -8013,7 +8275,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8013
8275
|
// verify required parameter 'instanceId' is not null or undefined
|
|
8014
8276
|
(0, common_1.assertParamExists)('postTestLoginCredentials', 'instanceId', instanceId);
|
|
8015
8277
|
localVarPath = "/tcx/installations/{instance_id}/tests/login"
|
|
8016
|
-
.replace(
|
|
8278
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
8017
8279
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8018
8280
|
if (configuration) {
|
|
8019
8281
|
baseOptions = configuration.baseOptions;
|
|
@@ -8050,7 +8312,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8050
8312
|
// verify required parameter 'instanceId' is not null or undefined
|
|
8051
8313
|
(0, common_1.assertParamExists)('postUnsuspendInstance', 'instanceId', instanceId);
|
|
8052
8314
|
localVarPath = "/tcx/installations/{instance_id}/unsuspend"
|
|
8053
|
-
.replace(
|
|
8315
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
8054
8316
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8055
8317
|
if (configuration) {
|
|
8056
8318
|
baseOptions = configuration.baseOptions;
|
|
@@ -8090,7 +8352,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8090
8352
|
// verify required parameter 'schedule' is not null or undefined
|
|
8091
8353
|
(0, common_1.assertParamExists)('postUpgradeDebian', 'schedule', schedule);
|
|
8092
8354
|
localVarPath = "/tcx/installations/{instance_id}/debian/upgrade"
|
|
8093
|
-
.replace(
|
|
8355
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
8094
8356
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8095
8357
|
if (configuration) {
|
|
8096
8358
|
baseOptions = configuration.baseOptions;
|
|
@@ -8131,7 +8393,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8131
8393
|
// verify required parameter 'wizardId' is not null or undefined
|
|
8132
8394
|
(0, common_1.assertParamExists)('putGetDetails', 'wizardId', wizardId);
|
|
8133
8395
|
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
8134
|
-
.replace(
|
|
8396
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
8135
8397
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8136
8398
|
if (configuration) {
|
|
8137
8399
|
baseOptions = configuration.baseOptions;
|
|
@@ -8213,6 +8475,29 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
8213
8475
|
});
|
|
8214
8476
|
});
|
|
8215
8477
|
},
|
|
8478
|
+
/**
|
|
8479
|
+
* Get Recording Backup Storage
|
|
8480
|
+
* @summary Get Recording Backup Storage
|
|
8481
|
+
* @param {string} instanceId Instance ID
|
|
8482
|
+
* @param {*} [options] Override http request option.
|
|
8483
|
+
* @throws {RequiredError}
|
|
8484
|
+
*/
|
|
8485
|
+
getGetRecordingBackupStorage: function (instanceId, options) {
|
|
8486
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8487
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8488
|
+
var _a, _b, _c;
|
|
8489
|
+
return __generator(this, function (_d) {
|
|
8490
|
+
switch (_d.label) {
|
|
8491
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetRecordingBackupStorage(instanceId, options)];
|
|
8492
|
+
case 1:
|
|
8493
|
+
localVarAxiosArgs = _d.sent();
|
|
8494
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8495
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.getGetRecordingBackupStorage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8496
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8497
|
+
}
|
|
8498
|
+
});
|
|
8499
|
+
});
|
|
8500
|
+
},
|
|
8216
8501
|
/**
|
|
8217
8502
|
* Change instance owner
|
|
8218
8503
|
* @summary Change instance owner
|
|
@@ -8654,6 +8939,16 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
8654
8939
|
getGetInstallations: function (pageSize, page, customerId, search, status, hosting, installType, options) {
|
|
8655
8940
|
return localVarFp.getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(axios, basePath); });
|
|
8656
8941
|
},
|
|
8942
|
+
/**
|
|
8943
|
+
* Get Recording Backup Storage
|
|
8944
|
+
* @summary Get Recording Backup Storage
|
|
8945
|
+
* @param {string} instanceId Instance ID
|
|
8946
|
+
* @param {*} [options] Override http request option.
|
|
8947
|
+
* @throws {RequiredError}
|
|
8948
|
+
*/
|
|
8949
|
+
getGetRecordingBackupStorage: function (instanceId, options) {
|
|
8950
|
+
return localVarFp.getGetRecordingBackupStorage(instanceId, options).then(function (request) { return request(axios, basePath); });
|
|
8951
|
+
},
|
|
8657
8952
|
/**
|
|
8658
8953
|
* Change instance owner
|
|
8659
8954
|
* @summary Change instance owner
|
|
@@ -8878,6 +9173,17 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
8878
9173
|
var _this = this;
|
|
8879
9174
|
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8880
9175
|
};
|
|
9176
|
+
/**
|
|
9177
|
+
* Get Recording Backup Storage
|
|
9178
|
+
* @summary Get Recording Backup Storage
|
|
9179
|
+
* @param {string} instanceId Instance ID
|
|
9180
|
+
* @param {*} [options] Override http request option.
|
|
9181
|
+
* @throws {RequiredError}
|
|
9182
|
+
*/
|
|
9183
|
+
Class3CXInstallationsApi.prototype.getGetRecordingBackupStorage = function (instanceId, options) {
|
|
9184
|
+
var _this = this;
|
|
9185
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).getGetRecordingBackupStorage(instanceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9186
|
+
};
|
|
8881
9187
|
/**
|
|
8882
9188
|
* Change instance owner
|
|
8883
9189
|
* @summary Change instance owner
|
|
@@ -9087,30 +9393,30 @@ exports.GetGetInstallationsStatusEnum = {
|
|
|
9087
9393
|
Completed: 'Completed',
|
|
9088
9394
|
Outstanding: 'Outstanding',
|
|
9089
9395
|
Offline: 'Offline',
|
|
9090
|
-
FailedOver: 'Failed Over'
|
|
9396
|
+
FailedOver: 'Failed Over',
|
|
9091
9397
|
};
|
|
9092
9398
|
exports.GetGetInstallationsHostingEnum = {
|
|
9093
9399
|
Yellowgrid: 'yellowgrid',
|
|
9094
9400
|
MultiTenant: 'multi-tenant',
|
|
9095
9401
|
Onprem: 'onprem',
|
|
9096
|
-
All: 'all'
|
|
9402
|
+
All: 'all',
|
|
9097
9403
|
};
|
|
9098
9404
|
exports.GetGetInstallationsInstallTypeEnum = {
|
|
9099
9405
|
New: 'new',
|
|
9100
9406
|
Restore: 'restore',
|
|
9101
9407
|
Failover: 'failover',
|
|
9102
|
-
MultiTenant: 'multi-tenant'
|
|
9408
|
+
MultiTenant: 'multi-tenant',
|
|
9103
9409
|
};
|
|
9104
9410
|
exports.PostFailoverInstanceTypeEnum = {
|
|
9105
9411
|
Config: 'config',
|
|
9106
|
-
Image: 'image'
|
|
9412
|
+
Image: 'image',
|
|
9107
9413
|
};
|
|
9108
9414
|
exports.PostResizeInstanceSizeEnum = {
|
|
9109
9415
|
D24: 'd2-4',
|
|
9110
9416
|
D28: 'd2-8',
|
|
9111
9417
|
B230: 'b2-30',
|
|
9112
9418
|
S2vcpu4gb: 's-2vcpu-4gb',
|
|
9113
|
-
S4vcpu8gb: 's-4vcpu-8gb'
|
|
9419
|
+
S4vcpu8gb: 's-4vcpu-8gb',
|
|
9114
9420
|
};
|
|
9115
9421
|
/**
|
|
9116
9422
|
* Class3CXIntegrationsApi - axios parameter creator
|
|
@@ -9265,8 +9571,8 @@ var Class3CXIntegrationsApiAxiosParamCreator = function (configuration) {
|
|
|
9265
9571
|
// verify required parameter 'ref' is not null or undefined
|
|
9266
9572
|
(0, common_1.assertParamExists)('patchUpdateEtpOrderReference', 'ref', ref);
|
|
9267
9573
|
localVarPath = "/tcx/integrations/edtechpro/{clientId}/schools/{schoolId}/orderReference"
|
|
9268
|
-
.replace(
|
|
9269
|
-
.replace(
|
|
9574
|
+
.replace('{clientId}', encodeURIComponent(String(clientId)))
|
|
9575
|
+
.replace('{schoolId}', encodeURIComponent(String(schoolId)));
|
|
9270
9576
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9271
9577
|
if (configuration) {
|
|
9272
9578
|
baseOptions = configuration.baseOptions;
|
|
@@ -9651,11 +9957,11 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
9651
9957
|
exports.Class3CXIntegrationsApi = Class3CXIntegrationsApi;
|
|
9652
9958
|
exports.GetGetPriceLicenceTypeEnum = {
|
|
9653
9959
|
Lite: 'lite',
|
|
9654
|
-
Pro: 'pro'
|
|
9960
|
+
Pro: 'pro',
|
|
9655
9961
|
};
|
|
9656
9962
|
exports.GetGetPriceSchoolTypeEnum = {
|
|
9657
9963
|
Primary: 'primary',
|
|
9658
|
-
Secondary: 'secondary'
|
|
9964
|
+
Secondary: 'secondary',
|
|
9659
9965
|
};
|
|
9660
9966
|
/**
|
|
9661
9967
|
* Class3CXMultiTenantApi - axios parameter creator
|
|
@@ -9682,7 +9988,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
9682
9988
|
// verify required parameter 'reference' is not null or undefined
|
|
9683
9989
|
(0, common_1.assertParamExists)('deleteGetTenant', 'reference', reference);
|
|
9684
9990
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
9685
|
-
.replace(
|
|
9991
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
9686
9992
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9687
9993
|
if (configuration) {
|
|
9688
9994
|
baseOptions = configuration.baseOptions;
|
|
@@ -9759,7 +10065,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
9759
10065
|
// verify required parameter 'reference' is not null or undefined
|
|
9760
10066
|
(0, common_1.assertParamExists)('getGetTenant', 'reference', reference);
|
|
9761
10067
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
9762
|
-
.replace(
|
|
10068
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
9763
10069
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9764
10070
|
if (configuration) {
|
|
9765
10071
|
baseOptions = configuration.baseOptions;
|
|
@@ -10376,7 +10682,7 @@ exports.GetGetTenantsStatusEnum = {
|
|
|
10376
10682
|
Completed: 'Completed',
|
|
10377
10683
|
Outstanding: 'Outstanding',
|
|
10378
10684
|
Offline: 'Offline',
|
|
10379
|
-
FailedOver: 'Failed Over'
|
|
10685
|
+
FailedOver: 'Failed Over',
|
|
10380
10686
|
};
|
|
10381
10687
|
/**
|
|
10382
10688
|
* MyPBXToolsApi - axios parameter creator
|
|
@@ -10533,7 +10839,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10533
10839
|
// verify required parameter 'id' is not null or undefined
|
|
10534
10840
|
(0, common_1.assertParamExists)('deleteGetAdminNumberPort', 'id', id);
|
|
10535
10841
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
10536
|
-
.replace(
|
|
10842
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10537
10843
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10538
10844
|
if (configuration) {
|
|
10539
10845
|
baseOptions = configuration.baseOptions;
|
|
@@ -10614,7 +10920,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10614
10920
|
// verify required parameter 'id' is not null or undefined
|
|
10615
10921
|
(0, common_1.assertParamExists)('getGetAdminNumberPort', 'id', id);
|
|
10616
10922
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
10617
|
-
.replace(
|
|
10923
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10618
10924
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10619
10925
|
if (configuration) {
|
|
10620
10926
|
baseOptions = configuration.baseOptions;
|
|
@@ -10696,7 +11002,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10696
11002
|
// verify required parameter 'id' is not null or undefined
|
|
10697
11003
|
(0, common_1.assertParamExists)('getUpdateNumberPort', 'id', id);
|
|
10698
11004
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
10699
|
-
.replace(
|
|
11005
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10700
11006
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10701
11007
|
if (configuration) {
|
|
10702
11008
|
baseOptions = configuration.baseOptions;
|
|
@@ -10733,7 +11039,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10733
11039
|
// verify required parameter 'id' is not null or undefined
|
|
10734
11040
|
(0, common_1.assertParamExists)('patchCancelAdminNumberPort', 'id', id);
|
|
10735
11041
|
localVarPath = "/admin/sip/numbers/ports/{id}/cancel"
|
|
10736
|
-
.replace(
|
|
11042
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10737
11043
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10738
11044
|
if (configuration) {
|
|
10739
11045
|
baseOptions = configuration.baseOptions;
|
|
@@ -10770,7 +11076,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10770
11076
|
// verify required parameter 'id' is not null or undefined
|
|
10771
11077
|
(0, common_1.assertParamExists)('patchCloseAdminNumberPort', 'id', id);
|
|
10772
11078
|
localVarPath = "/admin/sip/numbers/ports/{id}/close"
|
|
10773
|
-
.replace(
|
|
11079
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10774
11080
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10775
11081
|
if (configuration) {
|
|
10776
11082
|
baseOptions = configuration.baseOptions;
|
|
@@ -10810,7 +11116,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10810
11116
|
// verify required parameter 'numberPortAdminNoteBody' is not null or undefined
|
|
10811
11117
|
(0, common_1.assertParamExists)('postAddAdminNote', 'numberPortAdminNoteBody', numberPortAdminNoteBody);
|
|
10812
11118
|
localVarPath = "/admin/sip/numbers/ports/{id}/notes"
|
|
10813
|
-
.replace(
|
|
11119
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10814
11120
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10815
11121
|
if (configuration) {
|
|
10816
11122
|
baseOptions = configuration.baseOptions;
|
|
@@ -10945,7 +11251,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10945
11251
|
// verify required parameter 'id' is not null or undefined
|
|
10946
11252
|
(0, common_1.assertParamExists)('postSubmitNumberPort', 'id', id);
|
|
10947
11253
|
localVarPath = "/sip/numbers/ports/{id}/submit"
|
|
10948
|
-
.replace(
|
|
11254
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10949
11255
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10950
11256
|
if (configuration) {
|
|
10951
11257
|
baseOptions = configuration.baseOptions;
|
|
@@ -11033,7 +11339,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
11033
11339
|
// verify required parameter 'id' is not null or undefined
|
|
11034
11340
|
(0, common_1.assertParamExists)('postUpdateNumberPort', 'id', id);
|
|
11035
11341
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
11036
|
-
.replace(
|
|
11342
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11037
11343
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11038
11344
|
if (configuration) {
|
|
11039
11345
|
baseOptions = configuration.baseOptions;
|
|
@@ -11112,7 +11418,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
11112
11418
|
// verify required parameter 'numberPortDTO' is not null or undefined
|
|
11113
11419
|
(0, common_1.assertParamExists)('putGetAdminNumberPort', 'numberPortDTO', numberPortDTO);
|
|
11114
11420
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
11115
|
-
.replace(
|
|
11421
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11116
11422
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11117
11423
|
if (configuration) {
|
|
11118
11424
|
baseOptions = configuration.baseOptions;
|
|
@@ -12492,7 +12798,7 @@ exports.PostAccessTokenGrantTypeEnum = {
|
|
|
12492
12798
|
AuthorizationCode: 'authorization_code',
|
|
12493
12799
|
MsAuth: 'ms_auth',
|
|
12494
12800
|
TokenExchange: 'token_exchange',
|
|
12495
|
-
Password: 'password'
|
|
12801
|
+
Password: 'password',
|
|
12496
12802
|
};
|
|
12497
12803
|
exports.PostAccessTokenScopeEnum = {
|
|
12498
12804
|
Star: '*',
|
|
@@ -12522,11 +12828,11 @@ exports.PostAccessTokenScopeEnum = {
|
|
|
12522
12828
|
TcxMtRead: 'tcx_mt.read',
|
|
12523
12829
|
TcxMtWrite: 'tcx_mt.write',
|
|
12524
12830
|
TicketsRead: 'tickets.read',
|
|
12525
|
-
TicketsWrite: 'tickets.write'
|
|
12831
|
+
TicketsWrite: 'tickets.write',
|
|
12526
12832
|
};
|
|
12527
12833
|
exports.PostAccessTokenTokenExchangeTypeEnum = {
|
|
12528
12834
|
TcxWizard: 'tcx_wizard',
|
|
12529
|
-
Portal: 'portal'
|
|
12835
|
+
Portal: 'portal',
|
|
12530
12836
|
};
|
|
12531
12837
|
exports.PostAuthoriseScopeEnum = {
|
|
12532
12838
|
Star: '*',
|
|
@@ -12556,7 +12862,7 @@ exports.PostAuthoriseScopeEnum = {
|
|
|
12556
12862
|
TcxMtRead: 'tcx_mt.read',
|
|
12557
12863
|
TcxMtWrite: 'tcx_mt.write',
|
|
12558
12864
|
TicketsRead: 'tickets.read',
|
|
12559
|
-
TicketsWrite: 'tickets.write'
|
|
12865
|
+
TicketsWrite: 'tickets.write',
|
|
12560
12866
|
};
|
|
12561
12867
|
/**
|
|
12562
12868
|
* OrdersApi - axios parameter creator
|
|
@@ -12585,8 +12891,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12585
12891
|
// verify required parameter 'batchId' is not null or undefined
|
|
12586
12892
|
(0, common_1.assertParamExists)('deleteDeleteBatch', 'batchId', batchId);
|
|
12587
12893
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}"
|
|
12588
|
-
.replace(
|
|
12589
|
-
.replace(
|
|
12894
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12895
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
12590
12896
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12591
12897
|
if (configuration) {
|
|
12592
12898
|
baseOptions = configuration.baseOptions;
|
|
@@ -12623,7 +12929,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12623
12929
|
// verify required parameter 'id' is not null or undefined
|
|
12624
12930
|
(0, common_1.assertParamExists)('deleteUpdateOrder', 'id', id);
|
|
12625
12931
|
localVarPath = "/orders/{id}"
|
|
12626
|
-
.replace(
|
|
12932
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12627
12933
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12628
12934
|
if (configuration) {
|
|
12629
12935
|
baseOptions = configuration.baseOptions;
|
|
@@ -12666,9 +12972,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12666
12972
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12667
12973
|
(0, common_1.assertParamExists)('deleteUpdateShipment', 'shipmentId', shipmentId);
|
|
12668
12974
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
12669
|
-
.replace(
|
|
12670
|
-
.replace(
|
|
12671
|
-
.replace(
|
|
12975
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12976
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
12977
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12672
12978
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12673
12979
|
if (configuration) {
|
|
12674
12980
|
baseOptions = configuration.baseOptions;
|
|
@@ -12705,7 +13011,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12705
13011
|
// verify required parameter 'id' is not null or undefined
|
|
12706
13012
|
(0, common_1.assertParamExists)('getGetAdminEditableOrder', 'id', id);
|
|
12707
13013
|
localVarPath = "/admin/orders/{id}/views/editable"
|
|
12708
|
-
.replace(
|
|
13014
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12709
13015
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12710
13016
|
if (configuration) {
|
|
12711
13017
|
baseOptions = configuration.baseOptions;
|
|
@@ -12743,7 +13049,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12743
13049
|
// verify required parameter 'id' is not null or undefined
|
|
12744
13050
|
(0, common_1.assertParamExists)('getGetAdminOrderDetails', 'id', id);
|
|
12745
13051
|
localVarPath = "/admin/orders/{id}/details"
|
|
12746
|
-
.replace(
|
|
13052
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12747
13053
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12748
13054
|
if (configuration) {
|
|
12749
13055
|
baseOptions = configuration.baseOptions;
|
|
@@ -12787,9 +13093,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12787
13093
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12788
13094
|
(0, common_1.assertParamExists)('getGetCommercialInvoice', 'shipmentId', shipmentId);
|
|
12789
13095
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/pdf"
|
|
12790
|
-
.replace(
|
|
12791
|
-
.replace(
|
|
12792
|
-
.replace(
|
|
13096
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13097
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13098
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12793
13099
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12794
13100
|
if (configuration) {
|
|
12795
13101
|
baseOptions = configuration.baseOptions;
|
|
@@ -12827,7 +13133,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12827
13133
|
// verify required parameter 'id' is not null or undefined
|
|
12828
13134
|
(0, common_1.assertParamExists)('getGetEditableOrder', 'id', id);
|
|
12829
13135
|
localVarPath = "/orders/{id}/views/editable"
|
|
12830
|
-
.replace(
|
|
13136
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12831
13137
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12832
13138
|
if (configuration) {
|
|
12833
13139
|
baseOptions = configuration.baseOptions;
|
|
@@ -12868,8 +13174,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12868
13174
|
// verify required parameter 'itemId' is not null or undefined
|
|
12869
13175
|
(0, common_1.assertParamExists)('getGetItemSerialInfo', 'itemId', itemId);
|
|
12870
13176
|
localVarPath = "/admin/orders/{id}/items/{item_id}/info"
|
|
12871
|
-
.replace(
|
|
12872
|
-
.replace(
|
|
13177
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13178
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
12873
13179
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12874
13180
|
if (configuration) {
|
|
12875
13181
|
baseOptions = configuration.baseOptions;
|
|
@@ -12907,7 +13213,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12907
13213
|
// verify required parameter 'id' is not null or undefined
|
|
12908
13214
|
(0, common_1.assertParamExists)('getGetOrderPdf', 'id', id);
|
|
12909
13215
|
localVarPath = "/orders/{id}/pdf"
|
|
12910
|
-
.replace(
|
|
13216
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12911
13217
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12912
13218
|
if (configuration) {
|
|
12913
13219
|
baseOptions = configuration.baseOptions;
|
|
@@ -12945,7 +13251,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12945
13251
|
// verify required parameter 'id' is not null or undefined
|
|
12946
13252
|
(0, common_1.assertParamExists)('getGetOrderSummary', 'id', id);
|
|
12947
13253
|
localVarPath = "/admin/orders/{id}/summary"
|
|
12948
|
-
.replace(
|
|
13254
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12949
13255
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12950
13256
|
if (configuration) {
|
|
12951
13257
|
baseOptions = configuration.baseOptions;
|
|
@@ -13045,7 +13351,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13045
13351
|
// verify required parameter 'id' is not null or undefined
|
|
13046
13352
|
(0, common_1.assertParamExists)('patchCompleteOrder', 'id', id);
|
|
13047
13353
|
localVarPath = "/admin/orders/{id}/complete"
|
|
13048
|
-
.replace(
|
|
13354
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13049
13355
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13050
13356
|
if (configuration) {
|
|
13051
13357
|
baseOptions = configuration.baseOptions;
|
|
@@ -13084,7 +13390,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13084
13390
|
// verify required parameter 'id' is not null or undefined
|
|
13085
13391
|
(0, common_1.assertParamExists)('postAddOrderNote', 'id', id);
|
|
13086
13392
|
localVarPath = "/admin/orders/{id}/notes"
|
|
13087
|
-
.replace(
|
|
13393
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13088
13394
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13089
13395
|
if (configuration) {
|
|
13090
13396
|
baseOptions = configuration.baseOptions;
|
|
@@ -13169,8 +13475,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13169
13475
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
13170
13476
|
(0, common_1.assertParamExists)('postCreateConsignment', 'shipmentId', shipmentId);
|
|
13171
13477
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/consignment"
|
|
13172
|
-
.replace(
|
|
13173
|
-
.replace(
|
|
13478
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13479
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13174
13480
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13175
13481
|
if (configuration) {
|
|
13176
13482
|
baseOptions = configuration.baseOptions;
|
|
@@ -13251,8 +13557,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13251
13557
|
// verify required parameter 'batchId' is not null or undefined
|
|
13252
13558
|
(0, common_1.assertParamExists)('postCreateShipment', 'batchId', batchId);
|
|
13253
13559
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments"
|
|
13254
|
-
.replace(
|
|
13255
|
-
.replace(
|
|
13560
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13561
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
13256
13562
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13257
13563
|
if (configuration) {
|
|
13258
13564
|
baseOptions = configuration.baseOptions;
|
|
@@ -13334,7 +13640,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13334
13640
|
// verify required parameter 'id' is not null or undefined
|
|
13335
13641
|
(0, common_1.assertParamExists)('postIssueCredit', 'id', id);
|
|
13336
13642
|
localVarPath = "/admin/orders/{id}/credit"
|
|
13337
|
-
.replace(
|
|
13643
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13338
13644
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13339
13645
|
if (configuration) {
|
|
13340
13646
|
baseOptions = configuration.baseOptions;
|
|
@@ -13380,8 +13686,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13380
13686
|
// verify required parameter 'printer' is not null or undefined
|
|
13381
13687
|
(0, common_1.assertParamExists)('postPrintShippingLabel', 'printer', printer);
|
|
13382
13688
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/label/print"
|
|
13383
|
-
.replace(
|
|
13384
|
-
.replace(
|
|
13689
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13690
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13385
13691
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13386
13692
|
if (configuration) {
|
|
13387
13693
|
baseOptions = configuration.baseOptions;
|
|
@@ -13425,8 +13731,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13425
13731
|
// verify required parameter 'batchId' is not null or undefined
|
|
13426
13732
|
(0, common_1.assertParamExists)('postProcessTcxLicences', 'batchId', batchId);
|
|
13427
13733
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/licences/process"
|
|
13428
|
-
.replace(
|
|
13429
|
-
.replace(
|
|
13734
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13735
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
13430
13736
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13431
13737
|
if (configuration) {
|
|
13432
13738
|
baseOptions = configuration.baseOptions;
|
|
@@ -13467,7 +13773,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13467
13773
|
// verify required parameter 'email' is not null or undefined
|
|
13468
13774
|
(0, common_1.assertParamExists)('postSendOrderEmail', 'email', email);
|
|
13469
13775
|
localVarPath = "/admin/orders/{id}/email/send"
|
|
13470
|
-
.replace(
|
|
13776
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13471
13777
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13472
13778
|
if (configuration) {
|
|
13473
13779
|
baseOptions = configuration.baseOptions;
|
|
@@ -13516,9 +13822,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13516
13822
|
// verify required parameter 'email' is not null or undefined
|
|
13517
13823
|
(0, common_1.assertParamExists)('postSendShipmentEmail', 'email', email);
|
|
13518
13824
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/send/email"
|
|
13519
|
-
.replace(
|
|
13520
|
-
.replace(
|
|
13521
|
-
.replace(
|
|
13825
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13826
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13827
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13522
13828
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13523
13829
|
if (configuration) {
|
|
13524
13830
|
baseOptions = configuration.baseOptions;
|
|
@@ -13561,8 +13867,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13561
13867
|
// verify required parameter 'batchId' is not null or undefined
|
|
13562
13868
|
(0, common_1.assertParamExists)('postSendSupplierEmail', 'batchId', batchId);
|
|
13563
13869
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/email/send"
|
|
13564
|
-
.replace(
|
|
13565
|
-
.replace(
|
|
13870
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13871
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
13566
13872
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13567
13873
|
if (configuration) {
|
|
13568
13874
|
baseOptions = configuration.baseOptions;
|
|
@@ -13600,7 +13906,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13600
13906
|
// verify required parameter 'id' is not null or undefined
|
|
13601
13907
|
(0, common_1.assertParamExists)('postSplitOrder', 'id', id);
|
|
13602
13908
|
localVarPath = "/admin/orders/{id}/split"
|
|
13603
|
-
.replace(
|
|
13909
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13604
13910
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13605
13911
|
if (configuration) {
|
|
13606
13912
|
baseOptions = configuration.baseOptions;
|
|
@@ -13644,7 +13950,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13644
13950
|
// verify required parameter 'supplierId' is not null or undefined
|
|
13645
13951
|
(0, common_1.assertParamExists)('putAllocateItems', 'supplierId', supplierId);
|
|
13646
13952
|
localVarPath = "/admin/orders/{id}/items/allocate"
|
|
13647
|
-
.replace(
|
|
13953
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13648
13954
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13649
13955
|
if (configuration) {
|
|
13650
13956
|
baseOptions = configuration.baseOptions;
|
|
@@ -13689,7 +13995,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13689
13995
|
// verify required parameter 'id' is not null or undefined
|
|
13690
13996
|
(0, common_1.assertParamExists)('putUpdateAdminOrder', 'id', id);
|
|
13691
13997
|
localVarPath = "/admin/orders/{id}"
|
|
13692
|
-
.replace(
|
|
13998
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13693
13999
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13694
14000
|
if (configuration) {
|
|
13695
14001
|
baseOptions = configuration.baseOptions;
|
|
@@ -13739,9 +14045,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13739
14045
|
// verify required parameter 'itemId' is not null or undefined
|
|
13740
14046
|
(0, common_1.assertParamExists)('putUpdateBatchItem', 'itemId', itemId);
|
|
13741
14047
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/items/{item_id}"
|
|
13742
|
-
.replace(
|
|
13743
|
-
.replace(
|
|
13744
|
-
.replace(
|
|
14048
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
14049
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
14050
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
13745
14051
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13746
14052
|
if (configuration) {
|
|
13747
14053
|
baseOptions = configuration.baseOptions;
|
|
@@ -13783,7 +14089,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13783
14089
|
// verify required parameter 'id' is not null or undefined
|
|
13784
14090
|
(0, common_1.assertParamExists)('putUpdateOrder', 'id', id);
|
|
13785
14091
|
localVarPath = "/orders/{id}"
|
|
13786
|
-
.replace(
|
|
14092
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13787
14093
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13788
14094
|
if (configuration) {
|
|
13789
14095
|
baseOptions = configuration.baseOptions;
|
|
@@ -13829,7 +14135,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13829
14135
|
// verify required parameter 'paid' is not null or undefined
|
|
13830
14136
|
(0, common_1.assertParamExists)('putUpdatePaymentStatus', 'paid', paid);
|
|
13831
14137
|
localVarPath = "/admin/orders/{id}/paid"
|
|
13832
|
-
.replace(
|
|
14138
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13833
14139
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13834
14140
|
if (configuration) {
|
|
13835
14141
|
baseOptions = configuration.baseOptions;
|
|
@@ -13877,9 +14183,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13877
14183
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
13878
14184
|
(0, common_1.assertParamExists)('putUpdateShipment', 'shipmentId', shipmentId);
|
|
13879
14185
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
13880
|
-
.replace(
|
|
13881
|
-
.replace(
|
|
13882
|
-
.replace(
|
|
14186
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
14187
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
14188
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13883
14189
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13884
14190
|
if (configuration) {
|
|
13885
14191
|
baseOptions = configuration.baseOptions;
|
|
@@ -15423,18 +15729,18 @@ exports.GetGetOrdersStatusEnum = {
|
|
|
15423
15729
|
Paid: 'PAID',
|
|
15424
15730
|
InvoicePaid: 'INVOICE_PAID',
|
|
15425
15731
|
Unpaid: 'UNPAID',
|
|
15426
|
-
Quote: 'QUOTE'
|
|
15732
|
+
Quote: 'QUOTE',
|
|
15427
15733
|
};
|
|
15428
15734
|
exports.GetGetOrdersFilterEnum = {
|
|
15429
15735
|
Outstanding: 'OUTSTANDING',
|
|
15430
15736
|
Quotes: 'QUOTES',
|
|
15431
15737
|
All: 'ALL',
|
|
15432
|
-
BackOrders: 'BACK_ORDERS'
|
|
15738
|
+
BackOrders: 'BACK_ORDERS',
|
|
15433
15739
|
};
|
|
15434
15740
|
exports.PostPrintShippingLabelPrinterEnum = {
|
|
15435
15741
|
NUMBER_1: 1,
|
|
15436
15742
|
NUMBER_2: 2,
|
|
15437
|
-
NUMBER_3: 3
|
|
15743
|
+
NUMBER_3: 3,
|
|
15438
15744
|
};
|
|
15439
15745
|
/**
|
|
15440
15746
|
* PricingApi - axios parameter creator
|
|
@@ -15707,14 +16013,14 @@ exports.GetGetPriceListTypeEnum = {
|
|
|
15707
16013
|
EdTechPro: 'EdTechPro',
|
|
15708
16014
|
Sms: 'SMS',
|
|
15709
16015
|
SipTrunks: 'SIP Trunks',
|
|
15710
|
-
CrmIntegrations: 'CRM Integrations'
|
|
16016
|
+
CrmIntegrations: 'CRM Integrations',
|
|
15711
16017
|
};
|
|
15712
16018
|
exports.GetGetPriceListFormatEnum = {
|
|
15713
16019
|
Pdf: 'pdf',
|
|
15714
16020
|
Json: 'json',
|
|
15715
16021
|
Csv: 'csv',
|
|
15716
16022
|
Xml: 'xml',
|
|
15717
|
-
Html: 'html'
|
|
16023
|
+
Html: 'html',
|
|
15718
16024
|
};
|
|
15719
16025
|
exports.GetGetPriceListCategoryEnum = {
|
|
15720
16026
|
Yealink: 'Yealink',
|
|
@@ -15736,7 +16042,7 @@ exports.GetGetPriceListCategoryEnum = {
|
|
|
15736
16042
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
15737
16043
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
15738
16044
|
FanvilAccessories: 'Fanvil Accessories',
|
|
15739
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
16045
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
15740
16046
|
};
|
|
15741
16047
|
exports.PostSendPriceListTypeEnum = {
|
|
15742
16048
|
Products: 'Products',
|
|
@@ -15747,14 +16053,14 @@ exports.PostSendPriceListTypeEnum = {
|
|
|
15747
16053
|
EdTechPro: 'EdTechPro',
|
|
15748
16054
|
Sms: 'SMS',
|
|
15749
16055
|
SipTrunks: 'SIP Trunks',
|
|
15750
|
-
CrmIntegrations: 'CRM Integrations'
|
|
16056
|
+
CrmIntegrations: 'CRM Integrations',
|
|
15751
16057
|
};
|
|
15752
16058
|
exports.PostSendPriceListFormatEnum = {
|
|
15753
16059
|
Pdf: 'pdf',
|
|
15754
16060
|
Json: 'json',
|
|
15755
16061
|
Csv: 'csv',
|
|
15756
16062
|
Xml: 'xml',
|
|
15757
|
-
Html: 'html'
|
|
16063
|
+
Html: 'html',
|
|
15758
16064
|
};
|
|
15759
16065
|
exports.PostSendPriceListCategoryEnum = {
|
|
15760
16066
|
Yealink: 'Yealink',
|
|
@@ -15776,7 +16082,7 @@ exports.PostSendPriceListCategoryEnum = {
|
|
|
15776
16082
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
15777
16083
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
15778
16084
|
FanvilAccessories: 'Fanvil Accessories',
|
|
15779
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
16085
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
15780
16086
|
};
|
|
15781
16087
|
/**
|
|
15782
16088
|
* ProductsApi - axios parameter creator
|
|
@@ -16063,7 +16369,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
16063
16369
|
// verify required parameter 'quantity' is not null or undefined
|
|
16064
16370
|
(0, common_1.assertParamExists)('patchAddQuantityToStock', 'quantity', quantity);
|
|
16065
16371
|
localVarPath = "/products/{sku}/stock/add"
|
|
16066
|
-
.replace(
|
|
16372
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
16067
16373
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16068
16374
|
if (configuration) {
|
|
16069
16375
|
baseOptions = configuration.baseOptions;
|
|
@@ -16106,7 +16412,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
16106
16412
|
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
16107
16413
|
(0, common_1.assertParamExists)('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
16108
16414
|
localVarPath = "/products/{sku}"
|
|
16109
|
-
.replace(
|
|
16415
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
16110
16416
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16111
16417
|
if (configuration) {
|
|
16112
16418
|
baseOptions = configuration.baseOptions;
|
|
@@ -16152,7 +16458,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
16152
16458
|
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
16153
16459
|
(0, common_1.assertParamExists)('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
16154
16460
|
localVarPath = "/admin/products/{sku}"
|
|
16155
|
-
.replace(
|
|
16461
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
16156
16462
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16157
16463
|
if (configuration) {
|
|
16158
16464
|
baseOptions = configuration.baseOptions;
|
|
@@ -16656,7 +16962,7 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
16656
16962
|
exports.ProductsApi = ProductsApi;
|
|
16657
16963
|
exports.GetGetLegacyStockListFormatEnum = {
|
|
16658
16964
|
Xml: 'XML',
|
|
16659
|
-
Csv: 'CSV'
|
|
16965
|
+
Csv: 'CSV',
|
|
16660
16966
|
};
|
|
16661
16967
|
/**
|
|
16662
16968
|
* ProspectsApi - axios parameter creator
|
|
@@ -16683,7 +16989,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
16683
16989
|
// verify required parameter 'xeroId' is not null or undefined
|
|
16684
16990
|
(0, common_1.assertParamExists)('getGetProspect', 'xeroId', xeroId);
|
|
16685
16991
|
localVarPath = "/accounts/prospects/{xero_id}"
|
|
16686
|
-
.replace(
|
|
16992
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
16687
16993
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16688
16994
|
if (configuration) {
|
|
16689
16995
|
baseOptions = configuration.baseOptions;
|
|
@@ -16758,7 +17064,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
16758
17064
|
// verify required parameter 'status' is not null or undefined
|
|
16759
17065
|
(0, common_1.assertParamExists)('getRemoveFromProspects', 'status', status);
|
|
16760
17066
|
localVarPath = "/accounts/prospects/{xero_id}/remove"
|
|
16761
|
-
.replace(
|
|
17067
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
16762
17068
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16763
17069
|
if (configuration) {
|
|
16764
17070
|
baseOptions = configuration.baseOptions;
|
|
@@ -16802,7 +17108,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
16802
17108
|
// verify required parameter 'date' is not null or undefined
|
|
16803
17109
|
(0, common_1.assertParamExists)('getSetCallback', 'date', date);
|
|
16804
17110
|
localVarPath = "/accounts/prospects/{xero_id}/date"
|
|
16805
|
-
.replace(
|
|
17111
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
16806
17112
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16807
17113
|
if (configuration) {
|
|
16808
17114
|
baseOptions = configuration.baseOptions;
|
|
@@ -17063,8 +17369,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17063
17369
|
// verify required parameter 'mac' is not null or undefined
|
|
17064
17370
|
(0, common_1.assertParamExists)('deleteAddFanvilMac', 'mac', mac);
|
|
17065
17371
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
17066
|
-
.replace(
|
|
17067
|
-
.replace(
|
|
17372
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17373
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
17068
17374
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17069
17375
|
if (configuration) {
|
|
17070
17376
|
baseOptions = configuration.baseOptions;
|
|
@@ -17101,7 +17407,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17101
17407
|
// verify required parameter 'id' is not null or undefined
|
|
17102
17408
|
(0, common_1.assertParamExists)('deleteDeleteFanvilGroup', 'id', id);
|
|
17103
17409
|
localVarPath = "/provisioning/fanvil/groups/{id}"
|
|
17104
|
-
.replace(
|
|
17410
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17105
17411
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17106
17412
|
if (configuration) {
|
|
17107
17413
|
baseOptions = configuration.baseOptions;
|
|
@@ -17141,8 +17447,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17141
17447
|
// verify required parameter 'mac' is not null or undefined
|
|
17142
17448
|
(0, common_1.assertParamExists)('getGetFanvilEncryptionKey', 'mac', mac);
|
|
17143
17449
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}/key"
|
|
17144
|
-
.replace(
|
|
17145
|
-
.replace(
|
|
17450
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17451
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
17146
17452
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17147
17453
|
if (configuration) {
|
|
17148
17454
|
baseOptions = configuration.baseOptions;
|
|
@@ -17180,7 +17486,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17180
17486
|
// verify required parameter 'id' is not null or undefined
|
|
17181
17487
|
(0, common_1.assertParamExists)('getGetFanvilGroupMacs', 'id', id);
|
|
17182
17488
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs"
|
|
17183
|
-
.replace(
|
|
17489
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17184
17490
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17185
17491
|
if (configuration) {
|
|
17186
17492
|
baseOptions = configuration.baseOptions;
|
|
@@ -17296,8 +17602,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17296
17602
|
// verify required parameter 'mac' is not null or undefined
|
|
17297
17603
|
(0, common_1.assertParamExists)('postAddFanvilMac', 'mac', mac);
|
|
17298
17604
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
17299
|
-
.replace(
|
|
17300
|
-
.replace(
|
|
17605
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17606
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
17301
17607
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17302
17608
|
if (configuration) {
|
|
17303
17609
|
baseOptions = configuration.baseOptions;
|
|
@@ -17689,7 +17995,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17689
17995
|
// verify required parameter 'id' is not null or undefined
|
|
17690
17996
|
(0, common_1.assertParamExists)('deleteGetSipTrunk', 'id', id);
|
|
17691
17997
|
localVarPath = "/sip/trunks/{id}"
|
|
17692
|
-
.replace(
|
|
17998
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17693
17999
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17694
18000
|
if (configuration) {
|
|
17695
18001
|
baseOptions = configuration.baseOptions;
|
|
@@ -17727,7 +18033,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17727
18033
|
// verify required parameter 'id' is not null or undefined
|
|
17728
18034
|
(0, common_1.assertParamExists)('getCanDivert', 'id', id);
|
|
17729
18035
|
localVarPath = "/sip/trunks/{id}/diverts/allowed"
|
|
17730
|
-
.replace(
|
|
18036
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17731
18037
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17732
18038
|
if (configuration) {
|
|
17733
18039
|
baseOptions = configuration.baseOptions;
|
|
@@ -17765,7 +18071,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17765
18071
|
// verify required parameter 'id' is not null or undefined
|
|
17766
18072
|
(0, common_1.assertParamExists)('getGetAddress', 'id', id);
|
|
17767
18073
|
localVarPath = "/sip/trunks/{id}/address"
|
|
17768
|
-
.replace(
|
|
18074
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17769
18075
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17770
18076
|
if (configuration) {
|
|
17771
18077
|
baseOptions = configuration.baseOptions;
|
|
@@ -17874,7 +18180,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17874
18180
|
// verify required parameter 'id' is not null or undefined
|
|
17875
18181
|
(0, common_1.assertParamExists)('getGetCliFlexibility', 'id', id);
|
|
17876
18182
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
17877
|
-
.replace(
|
|
18183
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17878
18184
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17879
18185
|
if (configuration) {
|
|
17880
18186
|
baseOptions = configuration.baseOptions;
|
|
@@ -17912,7 +18218,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17912
18218
|
// verify required parameter 'id' is not null or undefined
|
|
17913
18219
|
(0, common_1.assertParamExists)('getGetDdis', 'id', id);
|
|
17914
18220
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
17915
|
-
.replace(
|
|
18221
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17916
18222
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17917
18223
|
if (configuration) {
|
|
17918
18224
|
baseOptions = configuration.baseOptions;
|
|
@@ -17951,7 +18257,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17951
18257
|
// verify required parameter 'id' is not null or undefined
|
|
17952
18258
|
(0, common_1.assertParamExists)('getGetDiverts', 'id', id);
|
|
17953
18259
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
17954
|
-
.replace(
|
|
18260
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17955
18261
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17956
18262
|
if (configuration) {
|
|
17957
18263
|
baseOptions = configuration.baseOptions;
|
|
@@ -17992,7 +18298,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17992
18298
|
// verify required parameter 'id' is not null or undefined
|
|
17993
18299
|
(0, common_1.assertParamExists)('getGetSipTrunk', 'id', id);
|
|
17994
18300
|
localVarPath = "/sip/trunks/{id}"
|
|
17995
|
-
.replace(
|
|
18301
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17996
18302
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17997
18303
|
if (configuration) {
|
|
17998
18304
|
baseOptions = configuration.baseOptions;
|
|
@@ -18079,7 +18385,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18079
18385
|
// verify required parameter 'enabled' is not null or undefined
|
|
18080
18386
|
(0, common_1.assertParamExists)('patchGetCliFlexibility', 'enabled', enabled);
|
|
18081
18387
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
18082
|
-
.replace(
|
|
18388
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18083
18389
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18084
18390
|
if (configuration) {
|
|
18085
18391
|
baseOptions = configuration.baseOptions;
|
|
@@ -18120,7 +18426,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18120
18426
|
// verify required parameter 'id' is not null or undefined
|
|
18121
18427
|
(0, common_1.assertParamExists)('patchSetAsAvailable', 'id', id);
|
|
18122
18428
|
localVarPath = "/sip/trunks/{id}/available"
|
|
18123
|
-
.replace(
|
|
18429
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18124
18430
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18125
18431
|
if (configuration) {
|
|
18126
18432
|
baseOptions = configuration.baseOptions;
|
|
@@ -18161,7 +18467,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18161
18467
|
// verify required parameter 'ownerId' is not null or undefined
|
|
18162
18468
|
(0, common_1.assertParamExists)('patchSetOwnership', 'ownerId', ownerId);
|
|
18163
18469
|
localVarPath = "/sip/trunks/{id}/owner"
|
|
18164
|
-
.replace(
|
|
18470
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18165
18471
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18166
18472
|
if (configuration) {
|
|
18167
18473
|
baseOptions = configuration.baseOptions;
|
|
@@ -18207,7 +18513,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18207
18513
|
// verify required parameter 'channels' is not null or undefined
|
|
18208
18514
|
(0, common_1.assertParamExists)('patchUpdateChannelCount', 'channels', channels);
|
|
18209
18515
|
localVarPath = "/sip/trunks/{id}/channels"
|
|
18210
|
-
.replace(
|
|
18516
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18211
18517
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18212
18518
|
if (configuration) {
|
|
18213
18519
|
baseOptions = configuration.baseOptions;
|
|
@@ -18251,7 +18557,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18251
18557
|
// verify required parameter 'company' is not null or undefined
|
|
18252
18558
|
(0, common_1.assertParamExists)('patchUpdateCompanyName', 'company', company);
|
|
18253
18559
|
localVarPath = "/sip/trunks/{id}/company"
|
|
18254
|
-
.replace(
|
|
18560
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18255
18561
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18256
18562
|
if (configuration) {
|
|
18257
18563
|
baseOptions = configuration.baseOptions;
|
|
@@ -18295,7 +18601,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18295
18601
|
// verify required parameter 'number' is not null or undefined
|
|
18296
18602
|
(0, common_1.assertParamExists)('patchUpdateMainTrunkNumber', 'number', number);
|
|
18297
18603
|
localVarPath = "/sip/trunks/{id}/number"
|
|
18298
|
-
.replace(
|
|
18604
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18299
18605
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18300
18606
|
if (configuration) {
|
|
18301
18607
|
baseOptions = configuration.baseOptions;
|
|
@@ -18339,7 +18645,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18339
18645
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
18340
18646
|
(0, common_1.assertParamExists)('patchUpdatePbxIPAddress', 'ipAddress', ipAddress);
|
|
18341
18647
|
localVarPath = "/sip/trunks/{id}/pbx/ip"
|
|
18342
|
-
.replace(
|
|
18648
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18343
18649
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18344
18650
|
if (configuration) {
|
|
18345
18651
|
baseOptions = configuration.baseOptions;
|
|
@@ -18381,7 +18687,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18381
18687
|
// verify required parameter 'id' is not null or undefined
|
|
18382
18688
|
(0, common_1.assertParamExists)('postGetDdis', 'id', id);
|
|
18383
18689
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
18384
|
-
.replace(
|
|
18690
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18385
18691
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18386
18692
|
if (configuration) {
|
|
18387
18693
|
baseOptions = configuration.baseOptions;
|
|
@@ -18533,7 +18839,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18533
18839
|
// verify required parameter 'id' is not null or undefined
|
|
18534
18840
|
(0, common_1.assertParamExists)('putGetAddress', 'id', id);
|
|
18535
18841
|
localVarPath = "/sip/trunks/{id}/address"
|
|
18536
|
-
.replace(
|
|
18842
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18537
18843
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18538
18844
|
if (configuration) {
|
|
18539
18845
|
baseOptions = configuration.baseOptions;
|
|
@@ -18577,7 +18883,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18577
18883
|
// verify required parameter 'enabled' is not null or undefined
|
|
18578
18884
|
(0, common_1.assertParamExists)('putGetDiverts', 'enabled', enabled);
|
|
18579
18885
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
18580
|
-
.replace(
|
|
18886
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18581
18887
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18582
18888
|
if (configuration) {
|
|
18583
18889
|
baseOptions = configuration.baseOptions;
|
|
@@ -19983,7 +20289,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
19983
20289
|
// verify required parameter 'id' is not null or undefined
|
|
19984
20290
|
(0, common_1.assertParamExists)('patchArchiveEvent', 'id', id);
|
|
19985
20291
|
localVarPath = "/services/events/{id}/archive"
|
|
19986
|
-
.replace(
|
|
20292
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19987
20293
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19988
20294
|
if (configuration) {
|
|
19989
20295
|
baseOptions = configuration.baseOptions;
|
|
@@ -20021,7 +20327,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
20021
20327
|
// verify required parameter 'id' is not null or undefined
|
|
20022
20328
|
(0, common_1.assertParamExists)('patchUpdateEvent', 'id', id);
|
|
20023
20329
|
localVarPath = "/services/events/{id}"
|
|
20024
|
-
.replace(
|
|
20330
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20025
20331
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20026
20332
|
if (configuration) {
|
|
20027
20333
|
baseOptions = configuration.baseOptions;
|
|
@@ -20097,7 +20403,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
20097
20403
|
// verify required parameter 'id' is not null or undefined
|
|
20098
20404
|
(0, common_1.assertParamExists)('postCreateEventUpdate', 'id', id);
|
|
20099
20405
|
localVarPath = "/services/events/{id}/updates"
|
|
20100
|
-
.replace(
|
|
20406
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20101
20407
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20102
20408
|
if (configuration) {
|
|
20103
20409
|
baseOptions = configuration.baseOptions;
|
|
@@ -20713,7 +21019,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20713
21019
|
// verify required parameter 'id' is not null or undefined
|
|
20714
21020
|
(0, common_1.assertParamExists)('deleteDeleteStockOrder', 'id', id);
|
|
20715
21021
|
localVarPath = "/stock/orders/{id}"
|
|
20716
|
-
.replace(
|
|
21022
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20717
21023
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20718
21024
|
if (configuration) {
|
|
20719
21025
|
baseOptions = configuration.baseOptions;
|
|
@@ -20753,8 +21059,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20753
21059
|
// verify required parameter 'deductionId' is not null or undefined
|
|
20754
21060
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
20755
21061
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
20756
|
-
.replace(
|
|
20757
|
-
.replace(
|
|
21062
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21063
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
20758
21064
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20759
21065
|
if (configuration) {
|
|
20760
21066
|
baseOptions = configuration.baseOptions;
|
|
@@ -20794,8 +21100,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20794
21100
|
// verify required parameter 'itemId' is not null or undefined
|
|
20795
21101
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderItem', 'itemId', itemId);
|
|
20796
21102
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
20797
|
-
.replace(
|
|
20798
|
-
.replace(
|
|
21103
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21104
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
20799
21105
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20800
21106
|
if (configuration) {
|
|
20801
21107
|
baseOptions = configuration.baseOptions;
|
|
@@ -20832,7 +21138,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20832
21138
|
// verify required parameter 'id' is not null or undefined
|
|
20833
21139
|
(0, common_1.assertParamExists)('deleteGetStockProduct', 'id', id);
|
|
20834
21140
|
localVarPath = "/stock/products/{id}"
|
|
20835
|
-
.replace(
|
|
21141
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20836
21142
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20837
21143
|
if (configuration) {
|
|
20838
21144
|
baseOptions = configuration.baseOptions;
|
|
@@ -20869,7 +21175,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20869
21175
|
// verify required parameter 'id' is not null or undefined
|
|
20870
21176
|
(0, common_1.assertParamExists)('getDeleteStockOrder', 'id', id);
|
|
20871
21177
|
localVarPath = "/stock/orders/{id}"
|
|
20872
|
-
.replace(
|
|
21178
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20873
21179
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20874
21180
|
if (configuration) {
|
|
20875
21181
|
baseOptions = configuration.baseOptions;
|
|
@@ -20907,7 +21213,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20907
21213
|
// verify required parameter 'sku' is not null or undefined
|
|
20908
21214
|
(0, common_1.assertParamExists)('getGetProductDetails', 'sku', sku);
|
|
20909
21215
|
localVarPath = "/stock/products/{sku}/details"
|
|
20910
|
-
.replace(
|
|
21216
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
20911
21217
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20912
21218
|
if (configuration) {
|
|
20913
21219
|
baseOptions = configuration.baseOptions;
|
|
@@ -20945,7 +21251,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20945
21251
|
// verify required parameter 'id' is not null or undefined
|
|
20946
21252
|
(0, common_1.assertParamExists)('getGetStockOrderPurchaseOrder', 'id', id);
|
|
20947
21253
|
localVarPath = "/stock/orders/{id}/po"
|
|
20948
|
-
.replace(
|
|
21254
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20949
21255
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20950
21256
|
if (configuration) {
|
|
20951
21257
|
baseOptions = configuration.baseOptions;
|
|
@@ -20983,7 +21289,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20983
21289
|
// verify required parameter 'id' is not null or undefined
|
|
20984
21290
|
(0, common_1.assertParamExists)('getGetStockOrderSupplierEmail', 'id', id);
|
|
20985
21291
|
localVarPath = "/stock/orders/{id}/supplier/email"
|
|
20986
|
-
.replace(
|
|
21292
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20987
21293
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20988
21294
|
if (configuration) {
|
|
20989
21295
|
baseOptions = configuration.baseOptions;
|
|
@@ -21071,7 +21377,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21071
21377
|
// verify required parameter 'id' is not null or undefined
|
|
21072
21378
|
(0, common_1.assertParamExists)('getGetStockProduct', 'id', id);
|
|
21073
21379
|
localVarPath = "/stock/products/{id}"
|
|
21074
|
-
.replace(
|
|
21380
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21075
21381
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21076
21382
|
if (configuration) {
|
|
21077
21383
|
baseOptions = configuration.baseOptions;
|
|
@@ -21189,7 +21495,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21189
21495
|
// verify required parameter 'id' is not null or undefined
|
|
21190
21496
|
(0, common_1.assertParamExists)('getGetStockSupplierProducts', 'id', id);
|
|
21191
21497
|
localVarPath = "/stock/suppliers/{id}/products"
|
|
21192
|
-
.replace(
|
|
21498
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21193
21499
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21194
21500
|
if (configuration) {
|
|
21195
21501
|
baseOptions = configuration.baseOptions;
|
|
@@ -21227,7 +21533,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21227
21533
|
// verify required parameter 'id' is not null or undefined
|
|
21228
21534
|
(0, common_1.assertParamExists)('getUploadStockOrderInvoice', 'id', id);
|
|
21229
21535
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
21230
|
-
.replace(
|
|
21536
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21231
21537
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21232
21538
|
if (configuration) {
|
|
21233
21539
|
baseOptions = configuration.baseOptions;
|
|
@@ -21266,7 +21572,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21266
21572
|
// verify required parameter 'id' is not null or undefined
|
|
21267
21573
|
(0, common_1.assertParamExists)('patchDeleteStockOrder', 'id', id);
|
|
21268
21574
|
localVarPath = "/stock/orders/{id}"
|
|
21269
|
-
.replace(
|
|
21575
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21270
21576
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21271
21577
|
if (configuration) {
|
|
21272
21578
|
baseOptions = configuration.baseOptions;
|
|
@@ -21310,8 +21616,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21310
21616
|
// verify required parameter 'deductionId' is not null or undefined
|
|
21311
21617
|
(0, common_1.assertParamExists)('patchDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
21312
21618
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
21313
|
-
.replace(
|
|
21314
|
-
.replace(
|
|
21619
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21620
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
21315
21621
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21316
21622
|
if (configuration) {
|
|
21317
21623
|
baseOptions = configuration.baseOptions;
|
|
@@ -21355,8 +21661,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21355
21661
|
// verify required parameter 'itemId' is not null or undefined
|
|
21356
21662
|
(0, common_1.assertParamExists)('patchDeleteStockOrderItem', 'itemId', itemId);
|
|
21357
21663
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
21358
|
-
.replace(
|
|
21359
|
-
.replace(
|
|
21664
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21665
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
21360
21666
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21361
21667
|
if (configuration) {
|
|
21362
21668
|
baseOptions = configuration.baseOptions;
|
|
@@ -21397,7 +21703,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21397
21703
|
// verify required parameter 'id' is not null or undefined
|
|
21398
21704
|
(0, common_1.assertParamExists)('postAddStockOrderDeduction', 'id', id);
|
|
21399
21705
|
localVarPath = "/stock/orders/{id}/deductions"
|
|
21400
|
-
.replace(
|
|
21706
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21401
21707
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21402
21708
|
if (configuration) {
|
|
21403
21709
|
baseOptions = configuration.baseOptions;
|
|
@@ -21438,7 +21744,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21438
21744
|
// verify required parameter 'id' is not null or undefined
|
|
21439
21745
|
(0, common_1.assertParamExists)('postAddStockOrderItem', 'id', id);
|
|
21440
21746
|
localVarPath = "/stock/orders/{id}/items"
|
|
21441
|
-
.replace(
|
|
21747
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21442
21748
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21443
21749
|
if (configuration) {
|
|
21444
21750
|
baseOptions = configuration.baseOptions;
|
|
@@ -21555,7 +21861,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21555
21861
|
// verify required parameter 'invoice' is not null or undefined
|
|
21556
21862
|
(0, common_1.assertParamExists)('postUploadStockOrderInvoice', 'invoice', invoice);
|
|
21557
21863
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
21558
|
-
.replace(
|
|
21864
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21559
21865
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21560
21866
|
if (configuration) {
|
|
21561
21867
|
baseOptions = configuration.baseOptions;
|
|
@@ -21599,7 +21905,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21599
21905
|
// verify required parameter 'id' is not null or undefined
|
|
21600
21906
|
(0, common_1.assertParamExists)('putGetStockProduct', 'id', id);
|
|
21601
21907
|
localVarPath = "/stock/products/{id}"
|
|
21602
|
-
.replace(
|
|
21908
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21603
21909
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21604
21910
|
if (configuration) {
|
|
21605
21911
|
baseOptions = configuration.baseOptions;
|
|
@@ -21645,8 +21951,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21645
21951
|
// verify required parameter 'received' is not null or undefined
|
|
21646
21952
|
(0, common_1.assertParamExists)('putReceiveStockOrderItem', 'received', received);
|
|
21647
21953
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}/receive"
|
|
21648
|
-
.replace(
|
|
21649
|
-
.replace(
|
|
21954
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21955
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
21650
21956
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21651
21957
|
if (configuration) {
|
|
21652
21958
|
baseOptions = configuration.baseOptions;
|
|
@@ -23040,7 +23346,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
23040
23346
|
// verify required parameter 'id' is not null or undefined
|
|
23041
23347
|
(0, common_1.assertParamExists)('getGetTicket', 'id', id);
|
|
23042
23348
|
localVarPath = "/tickets/support/{id}"
|
|
23043
|
-
.replace(
|
|
23349
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
23044
23350
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23045
23351
|
if (configuration) {
|
|
23046
23352
|
baseOptions = configuration.baseOptions;
|
|
@@ -23077,7 +23383,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
23077
23383
|
// verify required parameter 'id' is not null or undefined
|
|
23078
23384
|
(0, common_1.assertParamExists)('patchCloseTicket', 'id', id);
|
|
23079
23385
|
localVarPath = "/tickets/support/{id}/close"
|
|
23080
|
-
.replace(
|
|
23386
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
23081
23387
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23082
23388
|
if (configuration) {
|
|
23083
23389
|
baseOptions = configuration.baseOptions;
|
|
@@ -23166,7 +23472,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
23166
23472
|
// verify required parameter 'id' is not null or undefined
|
|
23167
23473
|
(0, common_1.assertParamExists)('postTicketReply', 'id', id);
|
|
23168
23474
|
localVarPath = "/tickets/support/{id}/reply"
|
|
23169
|
-
.replace(
|
|
23475
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
23170
23476
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23171
23477
|
if (configuration) {
|
|
23172
23478
|
baseOptions = configuration.baseOptions;
|
|
@@ -23662,5 +23968,5 @@ exports.PostAddWebhookWebhookUriEnum = {
|
|
|
23662
23968
|
WebhookFreshdeskUpdate: '/webhook/freshdesk/update',
|
|
23663
23969
|
WebhookTest: '/webhook/test',
|
|
23664
23970
|
WebhookXeroInvoices: '/webhook/xero/invoices',
|
|
23665
|
-
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add'
|
|
23971
|
+
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add',
|
|
23666
23972
|
};
|