yellowgrid-api-ts 3.2.157-dev.0 → 3.2.157
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 +8 -1
- package/api.ts +644 -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 +240 -10
- package/dist/api.js +615 -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 +29 -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 +49 -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,61 +293,62 @@ 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',
|
|
305
307
|
CallBackDue: 'Call Back Due',
|
|
306
308
|
NoOrdersPlaced: 'No Orders Placed',
|
|
307
309
|
NoOrdersInTheLast4Months: 'No Orders In The Last 4 Months',
|
|
308
|
-
NoActionRequired: 'No Action Required'
|
|
310
|
+
NoActionRequired: 'No Action Required',
|
|
311
|
+
DoNotCall: 'Do Not Call',
|
|
309
312
|
};
|
|
310
313
|
exports.ServiceHealthDTOGlobalStatusEnum = {
|
|
311
314
|
NUMBER_0: 0,
|
|
312
315
|
NUMBER_1: 1,
|
|
313
|
-
NUMBER_2: 2
|
|
316
|
+
NUMBER_2: 2,
|
|
314
317
|
};
|
|
315
318
|
exports.ServiceStatusDTOStatusEnum = {
|
|
316
319
|
_0: '0',
|
|
317
320
|
_1: '1',
|
|
318
|
-
_2: '2'
|
|
321
|
+
_2: '2',
|
|
319
322
|
};
|
|
320
323
|
exports.ShipmentDTOCourierEnum = {
|
|
321
324
|
Dpd: 'DPD',
|
|
322
325
|
ChorltonPallet: 'Chorlton Pallet',
|
|
323
|
-
Pops: 'POPS'
|
|
326
|
+
Pops: 'POPS',
|
|
324
327
|
};
|
|
325
328
|
exports.ShipmentRequestDTOCourierEnum = {
|
|
326
329
|
Dpd: 'DPD',
|
|
327
330
|
ChorltonPallet: 'Chorlton Pallet',
|
|
328
|
-
Pops: 'POPS'
|
|
331
|
+
Pops: 'POPS',
|
|
329
332
|
};
|
|
330
333
|
exports.ShippingRequestDTOCourierEnum = {
|
|
331
334
|
Dpd: 'DPD',
|
|
332
335
|
ChorltonPallet: 'Chorlton Pallet',
|
|
333
|
-
Pops: 'POPS'
|
|
336
|
+
Pops: 'POPS',
|
|
334
337
|
};
|
|
335
338
|
exports.ShippingRequestDTOPrinterEnum = {
|
|
336
339
|
NUMBER_1: 1,
|
|
337
340
|
NUMBER_2: 2,
|
|
338
|
-
NUMBER_3: 3
|
|
341
|
+
NUMBER_3: 3,
|
|
339
342
|
};
|
|
340
343
|
exports.ShippingServiceDTOCourierEnum = {
|
|
341
344
|
Dpd: 'DPD',
|
|
342
345
|
ChorltonPallet: 'Chorlton Pallet',
|
|
343
|
-
Pops: 'POPS'
|
|
346
|
+
Pops: 'POPS',
|
|
344
347
|
};
|
|
345
348
|
exports.ShippingServiceModelCourierEnum = {
|
|
346
349
|
Dpd: 'DPD',
|
|
347
350
|
ChorltonPallet: 'Chorlton Pallet',
|
|
348
|
-
Pops: 'POPS'
|
|
351
|
+
Pops: 'POPS',
|
|
349
352
|
};
|
|
350
353
|
exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
351
354
|
NewTrunk: 'New Trunk',
|
|
@@ -361,17 +364,17 @@ exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
|
361
364
|
Address: 'Address',
|
|
362
365
|
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
363
366
|
Fraud: 'Fraud',
|
|
364
|
-
CallBarring: 'Call Barring'
|
|
367
|
+
CallBarring: 'Call Barring',
|
|
365
368
|
};
|
|
366
369
|
exports.SmsAccountRequestDTOProviderEnum = {
|
|
367
|
-
NUMBER_1: 1
|
|
370
|
+
NUMBER_1: 1,
|
|
368
371
|
};
|
|
369
372
|
exports.SmsAccountRequestDTOTypeEnum = {
|
|
370
373
|
Local: 'local',
|
|
371
374
|
TollFree: 'toll_free',
|
|
372
375
|
Mobile: 'mobile',
|
|
373
376
|
National: 'national',
|
|
374
|
-
SharedCost: 'shared_cost'
|
|
377
|
+
SharedCost: 'shared_cost',
|
|
375
378
|
};
|
|
376
379
|
exports.SmsPhoneNumberModelStatusEnum = {
|
|
377
380
|
Queued: 'queued',
|
|
@@ -382,31 +385,31 @@ exports.SmsPhoneNumberModelStatusEnum = {
|
|
|
382
385
|
DeliveryUnconfirmed: 'delivery_unconfirmed',
|
|
383
386
|
Delivered: 'delivered',
|
|
384
387
|
DeliveryFailed: 'delivery_failed',
|
|
385
|
-
WebhookDelivered: 'webhook_delivered'
|
|
388
|
+
WebhookDelivered: 'webhook_delivered',
|
|
386
389
|
};
|
|
387
390
|
exports.SmsResponseModelEventTypeEnum = {
|
|
388
391
|
MessageSent: 'message.sent',
|
|
389
392
|
MessageFinalized: 'message.finalized',
|
|
390
|
-
MessageReceived: 'message.received'
|
|
393
|
+
MessageReceived: 'message.received',
|
|
391
394
|
};
|
|
392
395
|
exports.StockOrderModelDeliveryMethodEnum = {
|
|
393
396
|
Sea: 'Sea',
|
|
394
397
|
Air: 'Air',
|
|
395
|
-
Road: 'Road'
|
|
398
|
+
Road: 'Road',
|
|
396
399
|
};
|
|
397
400
|
exports.StockOrderModelPaidEnum = {
|
|
398
401
|
NUMBER_0: 0,
|
|
399
402
|
NUMBER_1: 1,
|
|
400
|
-
NUMBER_2: 2
|
|
403
|
+
NUMBER_2: 2,
|
|
401
404
|
};
|
|
402
405
|
exports.TcxMultiTenantModelPackageEnum = {
|
|
403
|
-
_3CxStarterBundle: '3CX Starter Bundle'
|
|
406
|
+
_3CxStarterBundle: '3CX Starter Bundle',
|
|
404
407
|
};
|
|
405
408
|
exports.TcxSetupEntityInstallTypeEnum = {
|
|
406
409
|
New: 'new',
|
|
407
410
|
Restore: 'restore',
|
|
408
411
|
Failover: 'failover',
|
|
409
|
-
MultiTenant: 'multi-tenant'
|
|
412
|
+
MultiTenant: 'multi-tenant',
|
|
410
413
|
};
|
|
411
414
|
exports.TcxSetupEntityRegionEnum = {
|
|
412
415
|
Uk1: 'UK1',
|
|
@@ -417,13 +420,13 @@ exports.TcxSetupEntityRegionEnum = {
|
|
|
417
420
|
Syd1: 'SYD1',
|
|
418
421
|
Sgp1: 'SGP1',
|
|
419
422
|
UsEastVa1: 'US-EAST-VA-1',
|
|
420
|
-
UsWestOr1: 'US-WEST-OR-1'
|
|
423
|
+
UsWestOr1: 'US-WEST-OR-1',
|
|
421
424
|
};
|
|
422
425
|
exports.TcxWizardModelInstallTypeEnum = {
|
|
423
426
|
New: 'new',
|
|
424
427
|
Restore: 'restore',
|
|
425
428
|
Failover: 'failover',
|
|
426
|
-
MultiTenant: 'multi-tenant'
|
|
429
|
+
MultiTenant: 'multi-tenant',
|
|
427
430
|
};
|
|
428
431
|
exports.TcxWizardModelInstallationStatusEnum = {
|
|
429
432
|
Building: 'Building',
|
|
@@ -440,15 +443,15 @@ exports.TcxWizardModelInstallationStatusEnum = {
|
|
|
440
443
|
RecordingsBackupInstalled: 'Recordings Backup Installed',
|
|
441
444
|
Complete: 'Complete',
|
|
442
445
|
Deleted: 'Deleted',
|
|
443
|
-
Failed: 'Failed'
|
|
446
|
+
Failed: 'Failed',
|
|
444
447
|
};
|
|
445
448
|
exports.UpgradeRequestModelLicenceTypeEnum = {
|
|
446
449
|
Lite: 'lite',
|
|
447
|
-
Pro: 'pro'
|
|
450
|
+
Pro: 'pro',
|
|
448
451
|
};
|
|
449
452
|
exports.UpgradeRequestModelSchoolTypeEnum = {
|
|
450
453
|
Primary: 'primary',
|
|
451
|
-
Secondary: 'secondary'
|
|
454
|
+
Secondary: 'secondary',
|
|
452
455
|
};
|
|
453
456
|
/**
|
|
454
457
|
* AccountsApi - axios parameter creator
|
|
@@ -477,8 +480,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
477
480
|
// verify required parameter 'contactId' is not null or undefined
|
|
478
481
|
(0, common_1.assertParamExists)('deleteAdminUpdateAccountContact', 'contactId', contactId);
|
|
479
482
|
localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
|
|
480
|
-
.replace(
|
|
481
|
-
.replace(
|
|
483
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
484
|
+
.replace('{contact_id}', encodeURIComponent(String(contactId)));
|
|
482
485
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
483
486
|
if (configuration) {
|
|
484
487
|
baseOptions = configuration.baseOptions;
|
|
@@ -514,7 +517,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
514
517
|
// verify required parameter 'id' is not null or undefined
|
|
515
518
|
(0, common_1.assertParamExists)('deleteArchiveAccount', 'id', id);
|
|
516
519
|
localVarPath = "/admin/accounts/{id}/archive"
|
|
517
|
-
.replace(
|
|
520
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
518
521
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
519
522
|
if (configuration) {
|
|
520
523
|
baseOptions = configuration.baseOptions;
|
|
@@ -551,7 +554,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
551
554
|
// verify required parameter 'id' is not null or undefined
|
|
552
555
|
(0, common_1.assertParamExists)('deleteDeleteClientCredentials', 'id', id);
|
|
553
556
|
localVarPath = "/accounts/me/contacts/credentials/{id}"
|
|
554
|
-
.replace(
|
|
557
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
555
558
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
556
559
|
if (configuration) {
|
|
557
560
|
baseOptions = configuration.baseOptions;
|
|
@@ -588,7 +591,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
588
591
|
// verify required parameter 'email' is not null or undefined
|
|
589
592
|
(0, common_1.assertParamExists)('deleteUpdateAccountContact', 'email', email);
|
|
590
593
|
localVarPath = "/accounts/me/contacts/{email}"
|
|
591
|
-
.replace(
|
|
594
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
592
595
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
593
596
|
if (configuration) {
|
|
594
597
|
baseOptions = configuration.baseOptions;
|
|
@@ -624,7 +627,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
624
627
|
// verify required parameter 'id' is not null or undefined
|
|
625
628
|
(0, common_1.assertParamExists)('getAdminCreateAccountContact', 'id', id);
|
|
626
629
|
localVarPath = "/admin/accounts/{id}/contacts"
|
|
627
|
-
.replace(
|
|
630
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
628
631
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
629
632
|
if (configuration) {
|
|
630
633
|
baseOptions = configuration.baseOptions;
|
|
@@ -695,7 +698,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
695
698
|
// verify required parameter 'id' is not null or undefined
|
|
696
699
|
(0, common_1.assertParamExists)('getGetAccountAddresses', 'id', id);
|
|
697
700
|
localVarPath = "/admin/accounts/{id}/addresses"
|
|
698
|
-
.replace(
|
|
701
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
699
702
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
700
703
|
if (configuration) {
|
|
701
704
|
baseOptions = configuration.baseOptions;
|
|
@@ -771,7 +774,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
771
774
|
// verify required parameter 'id' is not null or undefined
|
|
772
775
|
(0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
|
|
773
776
|
localVarPath = "/accounts/{id}/summary"
|
|
774
|
-
.replace(
|
|
777
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
775
778
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
776
779
|
if (configuration) {
|
|
777
780
|
baseOptions = configuration.baseOptions;
|
|
@@ -874,6 +877,39 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
874
877
|
});
|
|
875
878
|
});
|
|
876
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
|
+
},
|
|
877
913
|
/**
|
|
878
914
|
* Get 3CX Keys
|
|
879
915
|
* @summary Get 3CX Keys
|
|
@@ -926,7 +962,41 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
926
962
|
// verify required parameter 'id' is not null or undefined
|
|
927
963
|
(0, common_1.assertParamExists)('getGetFinanceSettings', 'id', id);
|
|
928
964
|
localVarPath = "/admin/accounts/{id}/finance"
|
|
929
|
-
.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";
|
|
930
1000
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
931
1001
|
if (configuration) {
|
|
932
1002
|
baseOptions = configuration.baseOptions;
|
|
@@ -963,7 +1033,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
963
1033
|
// verify required parameter 'id' is not null or undefined
|
|
964
1034
|
(0, common_1.assertParamExists)('getGetTcxPartnerDetails', 'id', id);
|
|
965
1035
|
localVarPath = "/admin/accounts/{id}/tcx/partner"
|
|
966
|
-
.replace(
|
|
1036
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
967
1037
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
968
1038
|
if (configuration) {
|
|
969
1039
|
baseOptions = configuration.baseOptions;
|
|
@@ -1042,8 +1112,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1042
1112
|
// verify required parameter 'state' is not null or undefined
|
|
1043
1113
|
(0, common_1.assertParamExists)('patchSetPortalAccess', 'state', state);
|
|
1044
1114
|
localVarPath = "/admin/accounts/{id}/portal/access/{state}"
|
|
1045
|
-
.replace(
|
|
1046
|
-
.replace(
|
|
1115
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1116
|
+
.replace('{state}', encodeURIComponent(String(state)));
|
|
1047
1117
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1048
1118
|
if (configuration) {
|
|
1049
1119
|
baseOptions = configuration.baseOptions;
|
|
@@ -1082,8 +1152,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1082
1152
|
// verify required parameter 'state' is not null or undefined
|
|
1083
1153
|
(0, common_1.assertParamExists)('patchSetPrizePromo', 'state', state);
|
|
1084
1154
|
localVarPath = "/admin/accounts/{id}/prizes/{state}"
|
|
1085
|
-
.replace(
|
|
1086
|
-
.replace(
|
|
1155
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1156
|
+
.replace('{state}', encodeURIComponent(String(state)));
|
|
1087
1157
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1088
1158
|
if (configuration) {
|
|
1089
1159
|
baseOptions = configuration.baseOptions;
|
|
@@ -1155,7 +1225,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1155
1225
|
// verify required parameter 'id' is not null or undefined
|
|
1156
1226
|
(0, common_1.assertParamExists)('patchUpdateAccountCname', 'id', id);
|
|
1157
1227
|
localVarPath = "/admin/accounts/{id}/cname"
|
|
1158
|
-
.replace(
|
|
1228
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1159
1229
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1160
1230
|
if (configuration) {
|
|
1161
1231
|
baseOptions = configuration.baseOptions;
|
|
@@ -1194,7 +1264,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1194
1264
|
// verify required parameter 'id' is not null or undefined
|
|
1195
1265
|
(0, common_1.assertParamExists)('patchUpdateAccountCompanyNumber', 'id', id);
|
|
1196
1266
|
localVarPath = "/admin/accounts/{id}/companyNumber"
|
|
1197
|
-
.replace(
|
|
1267
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1198
1268
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1199
1269
|
if (configuration) {
|
|
1200
1270
|
baseOptions = configuration.baseOptions;
|
|
@@ -1275,7 +1345,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1275
1345
|
// verify required parameter 'id' is not null or undefined
|
|
1276
1346
|
(0, common_1.assertParamExists)('patchUpdateAccountPhone', 'id', id);
|
|
1277
1347
|
localVarPath = "/admin/accounts/{id}/phone"
|
|
1278
|
-
.replace(
|
|
1348
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1279
1349
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1280
1350
|
if (configuration) {
|
|
1281
1351
|
baseOptions = configuration.baseOptions;
|
|
@@ -1314,7 +1384,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1314
1384
|
// verify required parameter 'id' is not null or undefined
|
|
1315
1385
|
(0, common_1.assertParamExists)('patchUpdateAccountVatNumber', 'id', id);
|
|
1316
1386
|
localVarPath = "/admin/accounts/{id}/vatNumber"
|
|
1317
|
-
.replace(
|
|
1387
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1318
1388
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1319
1389
|
if (configuration) {
|
|
1320
1390
|
baseOptions = configuration.baseOptions;
|
|
@@ -1353,7 +1423,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1353
1423
|
// verify required parameter 'id' is not null or undefined
|
|
1354
1424
|
(0, common_1.assertParamExists)('patchUpdateCreditLimit', 'id', id);
|
|
1355
1425
|
localVarPath = "/admin/accounts/{id}/creditLimit"
|
|
1356
|
-
.replace(
|
|
1426
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1357
1427
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1358
1428
|
if (configuration) {
|
|
1359
1429
|
baseOptions = configuration.baseOptions;
|
|
@@ -1393,7 +1463,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1393
1463
|
// verify required parameter 'id' is not null or undefined
|
|
1394
1464
|
(0, common_1.assertParamExists)('patchUpdatePriceList', 'id', id);
|
|
1395
1465
|
localVarPath = "/admin/accounts/{id}/priceList"
|
|
1396
|
-
.replace(
|
|
1466
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1397
1467
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1398
1468
|
if (configuration) {
|
|
1399
1469
|
baseOptions = configuration.baseOptions;
|
|
@@ -1433,7 +1503,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1433
1503
|
// verify required parameter 'id' is not null or undefined
|
|
1434
1504
|
(0, common_1.assertParamExists)('patchUpdateSipChannelCost', 'id', id);
|
|
1435
1505
|
localVarPath = "/admin/accounts/{id}/channelCost"
|
|
1436
|
-
.replace(
|
|
1506
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1437
1507
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1438
1508
|
if (configuration) {
|
|
1439
1509
|
baseOptions = configuration.baseOptions;
|
|
@@ -1473,7 +1543,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1473
1543
|
// verify required parameter 'id' is not null or undefined
|
|
1474
1544
|
(0, common_1.assertParamExists)('patchUpdateTcxHostingPriceList', 'id', id);
|
|
1475
1545
|
localVarPath = "/admin/accounts/{id}/tcx/hosting/priceList"
|
|
1476
|
-
.replace(
|
|
1546
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1477
1547
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1478
1548
|
if (configuration) {
|
|
1479
1549
|
baseOptions = configuration.baseOptions;
|
|
@@ -1513,7 +1583,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1513
1583
|
// verify required parameter 'id' is not null or undefined
|
|
1514
1584
|
(0, common_1.assertParamExists)('patchUpdateTcxPartnerId', 'id', id);
|
|
1515
1585
|
localVarPath = "/admin/accounts{id}/tcx/partner/id"
|
|
1516
|
-
.replace(
|
|
1586
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1517
1587
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1518
1588
|
if (configuration) {
|
|
1519
1589
|
baseOptions = configuration.baseOptions;
|
|
@@ -1553,7 +1623,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1553
1623
|
// verify required parameter 'id' is not null or undefined
|
|
1554
1624
|
(0, common_1.assertParamExists)('postAdminCreateAccountContact', 'id', id);
|
|
1555
1625
|
localVarPath = "/admin/accounts/{id}/contacts"
|
|
1556
|
-
.replace(
|
|
1626
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1557
1627
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1558
1628
|
if (configuration) {
|
|
1559
1629
|
baseOptions = configuration.baseOptions;
|
|
@@ -1736,7 +1806,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1736
1806
|
// verify required parameter 'email' is not null or undefined
|
|
1737
1807
|
(0, common_1.assertParamExists)('postSendEmailVerificationEmail', 'email', email);
|
|
1738
1808
|
localVarPath = "/accounts/contacts/verify/{email}"
|
|
1739
|
-
.replace(
|
|
1809
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1740
1810
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1741
1811
|
if (configuration) {
|
|
1742
1812
|
baseOptions = configuration.baseOptions;
|
|
@@ -1812,7 +1882,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1812
1882
|
// verify required parameter 'id' is not null or undefined
|
|
1813
1883
|
(0, common_1.assertParamExists)('postSendWelcomeEmail', 'id', id);
|
|
1814
1884
|
localVarPath = "/admin/accounts/{id}/email/welcome"
|
|
1815
|
-
.replace(
|
|
1885
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1816
1886
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1817
1887
|
if (configuration) {
|
|
1818
1888
|
baseOptions = configuration.baseOptions;
|
|
@@ -1899,8 +1969,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1899
1969
|
// verify required parameter 'contactId' is not null or undefined
|
|
1900
1970
|
(0, common_1.assertParamExists)('putAdminUpdateAccountContact', 'contactId', contactId);
|
|
1901
1971
|
localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
|
|
1902
|
-
.replace(
|
|
1903
|
-
.replace(
|
|
1972
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1973
|
+
.replace('{contact_id}', encodeURIComponent(String(contactId)));
|
|
1904
1974
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1905
1975
|
if (configuration) {
|
|
1906
1976
|
baseOptions = configuration.baseOptions;
|
|
@@ -1940,7 +2010,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1940
2010
|
// verify required parameter 'email' is not null or undefined
|
|
1941
2011
|
(0, common_1.assertParamExists)('putUpdateAccountContact', 'email', email);
|
|
1942
2012
|
localVarPath = "/accounts/me/contacts/{email}"
|
|
1943
|
-
.replace(
|
|
2013
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1944
2014
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1945
2015
|
if (configuration) {
|
|
1946
2016
|
baseOptions = configuration.baseOptions;
|
|
@@ -1979,7 +2049,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1979
2049
|
// verify required parameter 'id' is not null or undefined
|
|
1980
2050
|
(0, common_1.assertParamExists)('putUpdateBillingAddress', 'id', id);
|
|
1981
2051
|
localVarPath = "/admin/accounts/{id}/billing/address"
|
|
1982
|
-
.replace(
|
|
2052
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1983
2053
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1984
2054
|
if (configuration) {
|
|
1985
2055
|
baseOptions = configuration.baseOptions;
|
|
@@ -2018,7 +2088,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
2018
2088
|
// verify required parameter 'id' is not null or undefined
|
|
2019
2089
|
(0, common_1.assertParamExists)('putUpdateShippingAddress', 'id', id);
|
|
2020
2090
|
localVarPath = "/admin/accounts/{id}/shipping/address"
|
|
2021
|
-
.replace(
|
|
2091
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
2022
2092
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2023
2093
|
if (configuration) {
|
|
2024
2094
|
baseOptions = configuration.baseOptions;
|
|
@@ -2298,6 +2368,27 @@ var AccountsApiFp = function (configuration) {
|
|
|
2298
2368
|
});
|
|
2299
2369
|
});
|
|
2300
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
|
+
},
|
|
2301
2392
|
/**
|
|
2302
2393
|
* Get 3CX Keys
|
|
2303
2394
|
* @summary Get 3CX Keys
|
|
@@ -2342,6 +2433,28 @@ var AccountsApiFp = function (configuration) {
|
|
|
2342
2433
|
});
|
|
2343
2434
|
});
|
|
2344
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
|
+
},
|
|
2345
2458
|
/**
|
|
2346
2459
|
* Get Account 3CX Details
|
|
2347
2460
|
* @param {string} id Xero ID
|
|
@@ -3105,6 +3218,14 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
3105
3218
|
getGetClientCredentials: function (options) {
|
|
3106
3219
|
return localVarFp.getGetClientCredentials(options).then(function (request) { return request(axios, basePath); });
|
|
3107
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
|
+
},
|
|
3108
3229
|
/**
|
|
3109
3230
|
* Get 3CX Keys
|
|
3110
3231
|
* @summary Get 3CX Keys
|
|
@@ -3123,6 +3244,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
3123
3244
|
getGetFinanceSettings: function (id, options) {
|
|
3124
3245
|
return localVarFp.getGetFinanceSettings(id, options).then(function (request) { return request(axios, basePath); });
|
|
3125
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
|
+
},
|
|
3126
3256
|
/**
|
|
3127
3257
|
* Get Account 3CX Details
|
|
3128
3258
|
* @param {string} id Xero ID
|
|
@@ -3535,6 +3665,15 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3535
3665
|
var _this = this;
|
|
3536
3666
|
return (0, exports.AccountsApiFp)(this.configuration).getGetClientCredentials(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3537
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
|
+
};
|
|
3538
3677
|
/**
|
|
3539
3678
|
* Get 3CX Keys
|
|
3540
3679
|
* @summary Get 3CX Keys
|
|
@@ -3555,6 +3694,16 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3555
3694
|
var _this = this;
|
|
3556
3695
|
return (0, exports.AccountsApiFp)(this.configuration).getGetFinanceSettings(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3557
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
|
+
};
|
|
3558
3707
|
/**
|
|
3559
3708
|
* Get Account 3CX Details
|
|
3560
3709
|
* @param {string} id Xero ID
|
|
@@ -3870,11 +4019,11 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3870
4019
|
exports.AccountsApi = AccountsApi;
|
|
3871
4020
|
exports.PatchSetPortalAccessStateEnum = {
|
|
3872
4021
|
Enable: 'enable',
|
|
3873
|
-
Disable: 'disable'
|
|
4022
|
+
Disable: 'disable',
|
|
3874
4023
|
};
|
|
3875
4024
|
exports.PatchSetPrizePromoStateEnum = {
|
|
3876
4025
|
Enable: 'enable',
|
|
3877
|
-
Disable: 'disable'
|
|
4026
|
+
Disable: 'disable',
|
|
3878
4027
|
};
|
|
3879
4028
|
/**
|
|
3880
4029
|
* BillingApi - axios parameter creator
|
|
@@ -4015,7 +4164,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
4015
4164
|
// verify required parameter 'id' is not null or undefined
|
|
4016
4165
|
(0, common_1.assertParamExists)('getGetCrmActivities', 'id', id);
|
|
4017
4166
|
localVarPath = "/admin/crm/{id}/activities"
|
|
4018
|
-
.replace(
|
|
4167
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4019
4168
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4020
4169
|
if (configuration) {
|
|
4021
4170
|
baseOptions = configuration.baseOptions;
|
|
@@ -4092,7 +4241,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
4092
4241
|
// verify required parameter 'id' is not null or undefined
|
|
4093
4242
|
(0, common_1.assertParamExists)('postCreateCrmNote', 'id', id);
|
|
4094
4243
|
localVarPath = "/admin/crm/{id}/activities/note"
|
|
4095
|
-
.replace(
|
|
4244
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4096
4245
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4097
4246
|
if (configuration) {
|
|
4098
4247
|
baseOptions = configuration.baseOptions;
|
|
@@ -4277,10 +4426,11 @@ exports.CRMApi = CRMApi;
|
|
|
4277
4426
|
exports.GetGetCrmActivitiesTypeEnum = {
|
|
4278
4427
|
Alert: 'alert',
|
|
4279
4428
|
Call: 'call',
|
|
4429
|
+
Email: 'email',
|
|
4280
4430
|
Note: 'note',
|
|
4281
4431
|
Order: 'order',
|
|
4282
4432
|
Quote: 'quote',
|
|
4283
|
-
TcxOrder: 'tcx_order'
|
|
4433
|
+
TcxOrder: 'tcx_order',
|
|
4284
4434
|
};
|
|
4285
4435
|
/**
|
|
4286
4436
|
* Class3CXApi - axios parameter creator
|
|
@@ -4328,6 +4478,40 @@ var Class3CXApiAxiosParamCreator = function (configuration) {
|
|
|
4328
4478
|
});
|
|
4329
4479
|
});
|
|
4330
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
|
+
},
|
|
4331
4515
|
/**
|
|
4332
4516
|
* Get Bulk 3CX Licence Details
|
|
4333
4517
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4397,6 +4581,28 @@ var Class3CXApiFp = function (configuration) {
|
|
|
4397
4581
|
});
|
|
4398
4582
|
});
|
|
4399
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
|
+
},
|
|
4400
4606
|
/**
|
|
4401
4607
|
* Get Bulk 3CX Licence Details
|
|
4402
4608
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4439,6 +4645,15 @@ var Class3CXApiFactory = function (configuration, basePath, axios) {
|
|
|
4439
4645
|
getGetLicenceDetails: function (key, options) {
|
|
4440
4646
|
return localVarFp.getGetLicenceDetails(key, options).then(function (request) { return request(axios, basePath); });
|
|
4441
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
|
+
},
|
|
4442
4657
|
/**
|
|
4443
4658
|
* Get Bulk 3CX Licence Details
|
|
4444
4659
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4471,6 +4686,16 @@ var Class3CXApi = /** @class */ (function (_super) {
|
|
|
4471
4686
|
var _this = this;
|
|
4472
4687
|
return (0, exports.Class3CXApiFp)(this.configuration).getGetLicenceDetails(key, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4473
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
|
+
};
|
|
4474
4699
|
/**
|
|
4475
4700
|
* Get Bulk 3CX Licence Details
|
|
4476
4701
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4755,7 +4980,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
4755
4980
|
// verify required parameter 'id' is not null or undefined
|
|
4756
4981
|
(0, common_1.assertParamExists)('getGetDdisTcxWizard', 'id', id);
|
|
4757
4982
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
4758
|
-
.replace(
|
|
4983
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4759
4984
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4760
4985
|
if (configuration) {
|
|
4761
4986
|
baseOptions = configuration.baseOptions;
|
|
@@ -4984,7 +5209,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
4984
5209
|
// verify required parameter 'id' is not null or undefined
|
|
4985
5210
|
(0, common_1.assertParamExists)('getGetSipTrunkTcxWizard', 'id', id);
|
|
4986
5211
|
localVarPath = "/tcx/wizards/sip/trunks/{id}"
|
|
4987
|
-
.replace(
|
|
5212
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4988
5213
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4989
5214
|
if (configuration) {
|
|
4990
5215
|
baseOptions = configuration.baseOptions;
|
|
@@ -5622,7 +5847,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
5622
5847
|
// verify required parameter 'id' is not null or undefined
|
|
5623
5848
|
(0, common_1.assertParamExists)('postGetDdisTcxWizard', 'id', id);
|
|
5624
5849
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
5625
|
-
.replace(
|
|
5850
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
5626
5851
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5627
5852
|
if (configuration) {
|
|
5628
5853
|
baseOptions = configuration.baseOptions;
|
|
@@ -7361,7 +7586,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7361
7586
|
// verify required parameter 'wizardId' is not null or undefined
|
|
7362
7587
|
(0, common_1.assertParamExists)('getGetDetails', 'wizardId', wizardId);
|
|
7363
7588
|
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
7364
|
-
.replace(
|
|
7589
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
7365
7590
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7366
7591
|
if (configuration) {
|
|
7367
7592
|
baseOptions = configuration.baseOptions;
|
|
@@ -7442,6 +7667,44 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7442
7667
|
});
|
|
7443
7668
|
});
|
|
7444
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
|
+
},
|
|
7445
7708
|
/**
|
|
7446
7709
|
* Change instance owner
|
|
7447
7710
|
* @summary Change instance owner
|
|
@@ -7464,7 +7727,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7464
7727
|
// verify required parameter 'customerId' is not null or undefined
|
|
7465
7728
|
(0, common_1.assertParamExists)('patchChangeInstanceOwner', 'customerId', customerId);
|
|
7466
7729
|
localVarPath = "/tcx/installations/{instance_id}/owner"
|
|
7467
|
-
.replace(
|
|
7730
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7468
7731
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7469
7732
|
if (configuration) {
|
|
7470
7733
|
baseOptions = configuration.baseOptions;
|
|
@@ -7507,7 +7770,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7507
7770
|
// verify required parameter 'enable' is not null or undefined
|
|
7508
7771
|
(0, common_1.assertParamExists)('patchUpdateAutoFailover', 'enable', enable);
|
|
7509
7772
|
localVarPath = "/tcx/installations/{instance_id}/failover/auto"
|
|
7510
|
-
.replace(
|
|
7773
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7511
7774
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7512
7775
|
if (configuration) {
|
|
7513
7776
|
baseOptions = configuration.baseOptions;
|
|
@@ -7550,7 +7813,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7550
7813
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
7551
7814
|
(0, common_1.assertParamExists)('postAddDisk', 'gigabytes', gigabytes);
|
|
7552
7815
|
localVarPath = "/tcx/installations/{instance_id}/disk"
|
|
7553
|
-
.replace(
|
|
7816
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7554
7817
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7555
7818
|
if (configuration) {
|
|
7556
7819
|
baseOptions = configuration.baseOptions;
|
|
@@ -7596,7 +7859,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7596
7859
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
7597
7860
|
(0, common_1.assertParamExists)('postCreateSshUser', 'ipAddress', ipAddress);
|
|
7598
7861
|
localVarPath = "/tcx/installations/{instance_id}/create/user/root"
|
|
7599
|
-
.replace(
|
|
7862
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7600
7863
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7601
7864
|
if (configuration) {
|
|
7602
7865
|
baseOptions = configuration.baseOptions;
|
|
@@ -7640,7 +7903,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7640
7903
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7641
7904
|
(0, common_1.assertParamExists)('postDeleteInstance', 'instanceId', instanceId);
|
|
7642
7905
|
localVarPath = "/tcx/installations/{instance_id}/delete"
|
|
7643
|
-
.replace(
|
|
7906
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7644
7907
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7645
7908
|
if (configuration) {
|
|
7646
7909
|
baseOptions = configuration.baseOptions;
|
|
@@ -7681,7 +7944,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7681
7944
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
7682
7945
|
(0, common_1.assertParamExists)('postExtendDisk', 'gigabytes', gigabytes);
|
|
7683
7946
|
localVarPath = "/tcx/installations/{instance_id}/disk/extend"
|
|
7684
|
-
.replace(
|
|
7947
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7685
7948
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7686
7949
|
if (configuration) {
|
|
7687
7950
|
baseOptions = configuration.baseOptions;
|
|
@@ -7727,7 +7990,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7727
7990
|
// verify required parameter 'type' is not null or undefined
|
|
7728
7991
|
(0, common_1.assertParamExists)('postFailoverInstance', 'type', type);
|
|
7729
7992
|
localVarPath = "/tcx/installations/{instance_id}/failover"
|
|
7730
|
-
.replace(
|
|
7993
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7731
7994
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7732
7995
|
if (configuration) {
|
|
7733
7996
|
baseOptions = configuration.baseOptions;
|
|
@@ -7767,7 +8030,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7767
8030
|
// verify required parameter 'sbcId' is not null or undefined
|
|
7768
8031
|
(0, common_1.assertParamExists)('postInstallTcxSbc', 'sbcId', sbcId);
|
|
7769
8032
|
localVarPath = "/tcx/installations/sbcs/{sbc_id}/install"
|
|
7770
|
-
.replace(
|
|
8033
|
+
.replace('{sbc_id}', encodeURIComponent(String(sbcId)));
|
|
7771
8034
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7772
8035
|
if (configuration) {
|
|
7773
8036
|
baseOptions = configuration.baseOptions;
|
|
@@ -7805,7 +8068,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7805
8068
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7806
8069
|
(0, common_1.assertParamExists)('postRebootInstance', 'instanceId', instanceId);
|
|
7807
8070
|
localVarPath = "/tcx/installations/{instance_id}/reboot"
|
|
7808
|
-
.replace(
|
|
8071
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7809
8072
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7810
8073
|
if (configuration) {
|
|
7811
8074
|
baseOptions = configuration.baseOptions;
|
|
@@ -7846,7 +8109,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7846
8109
|
// verify required parameter 'size' is not null or undefined
|
|
7847
8110
|
(0, common_1.assertParamExists)('postResizeInstance', 'size', size);
|
|
7848
8111
|
localVarPath = "/tcx/installations/{instance_id}/resize"
|
|
7849
|
-
.replace(
|
|
8112
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7850
8113
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7851
8114
|
if (configuration) {
|
|
7852
8115
|
baseOptions = configuration.baseOptions;
|
|
@@ -7890,7 +8153,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7890
8153
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7891
8154
|
(0, common_1.assertParamExists)('postRestartServices', 'instanceId', instanceId);
|
|
7892
8155
|
localVarPath = "/tcx/installations/{instance_id}/services/restart"
|
|
7893
|
-
.replace(
|
|
8156
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7894
8157
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7895
8158
|
if (configuration) {
|
|
7896
8159
|
baseOptions = configuration.baseOptions;
|
|
@@ -7931,7 +8194,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7931
8194
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7932
8195
|
(0, common_1.assertParamExists)('postScheduledReboot', 'instanceId', instanceId);
|
|
7933
8196
|
localVarPath = "/tcx/installations/{instance_id}/reboot/scheduled"
|
|
7934
|
-
.replace(
|
|
8197
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7935
8198
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7936
8199
|
if (configuration) {
|
|
7937
8200
|
baseOptions = configuration.baseOptions;
|
|
@@ -7972,7 +8235,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7972
8235
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7973
8236
|
(0, common_1.assertParamExists)('postSuspendInstance', 'instanceId', instanceId);
|
|
7974
8237
|
localVarPath = "/tcx/installations/{instance_id}/suspend"
|
|
7975
|
-
.replace(
|
|
8238
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7976
8239
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7977
8240
|
if (configuration) {
|
|
7978
8241
|
baseOptions = configuration.baseOptions;
|
|
@@ -8012,7 +8275,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8012
8275
|
// verify required parameter 'instanceId' is not null or undefined
|
|
8013
8276
|
(0, common_1.assertParamExists)('postTestLoginCredentials', 'instanceId', instanceId);
|
|
8014
8277
|
localVarPath = "/tcx/installations/{instance_id}/tests/login"
|
|
8015
|
-
.replace(
|
|
8278
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
8016
8279
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8017
8280
|
if (configuration) {
|
|
8018
8281
|
baseOptions = configuration.baseOptions;
|
|
@@ -8049,7 +8312,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8049
8312
|
// verify required parameter 'instanceId' is not null or undefined
|
|
8050
8313
|
(0, common_1.assertParamExists)('postUnsuspendInstance', 'instanceId', instanceId);
|
|
8051
8314
|
localVarPath = "/tcx/installations/{instance_id}/unsuspend"
|
|
8052
|
-
.replace(
|
|
8315
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
8053
8316
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8054
8317
|
if (configuration) {
|
|
8055
8318
|
baseOptions = configuration.baseOptions;
|
|
@@ -8089,7 +8352,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8089
8352
|
// verify required parameter 'schedule' is not null or undefined
|
|
8090
8353
|
(0, common_1.assertParamExists)('postUpgradeDebian', 'schedule', schedule);
|
|
8091
8354
|
localVarPath = "/tcx/installations/{instance_id}/debian/upgrade"
|
|
8092
|
-
.replace(
|
|
8355
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
8093
8356
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8094
8357
|
if (configuration) {
|
|
8095
8358
|
baseOptions = configuration.baseOptions;
|
|
@@ -8130,7 +8393,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8130
8393
|
// verify required parameter 'wizardId' is not null or undefined
|
|
8131
8394
|
(0, common_1.assertParamExists)('putGetDetails', 'wizardId', wizardId);
|
|
8132
8395
|
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
8133
|
-
.replace(
|
|
8396
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
8134
8397
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8135
8398
|
if (configuration) {
|
|
8136
8399
|
baseOptions = configuration.baseOptions;
|
|
@@ -8212,6 +8475,29 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
8212
8475
|
});
|
|
8213
8476
|
});
|
|
8214
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
|
+
},
|
|
8215
8501
|
/**
|
|
8216
8502
|
* Change instance owner
|
|
8217
8503
|
* @summary Change instance owner
|
|
@@ -8653,6 +8939,16 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
8653
8939
|
getGetInstallations: function (pageSize, page, customerId, search, status, hosting, installType, options) {
|
|
8654
8940
|
return localVarFp.getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(axios, basePath); });
|
|
8655
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
|
+
},
|
|
8656
8952
|
/**
|
|
8657
8953
|
* Change instance owner
|
|
8658
8954
|
* @summary Change instance owner
|
|
@@ -8877,6 +9173,17 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
8877
9173
|
var _this = this;
|
|
8878
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); });
|
|
8879
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
|
+
};
|
|
8880
9187
|
/**
|
|
8881
9188
|
* Change instance owner
|
|
8882
9189
|
* @summary Change instance owner
|
|
@@ -9086,30 +9393,30 @@ exports.GetGetInstallationsStatusEnum = {
|
|
|
9086
9393
|
Completed: 'Completed',
|
|
9087
9394
|
Outstanding: 'Outstanding',
|
|
9088
9395
|
Offline: 'Offline',
|
|
9089
|
-
FailedOver: 'Failed Over'
|
|
9396
|
+
FailedOver: 'Failed Over',
|
|
9090
9397
|
};
|
|
9091
9398
|
exports.GetGetInstallationsHostingEnum = {
|
|
9092
9399
|
Yellowgrid: 'yellowgrid',
|
|
9093
9400
|
MultiTenant: 'multi-tenant',
|
|
9094
9401
|
Onprem: 'onprem',
|
|
9095
|
-
All: 'all'
|
|
9402
|
+
All: 'all',
|
|
9096
9403
|
};
|
|
9097
9404
|
exports.GetGetInstallationsInstallTypeEnum = {
|
|
9098
9405
|
New: 'new',
|
|
9099
9406
|
Restore: 'restore',
|
|
9100
9407
|
Failover: 'failover',
|
|
9101
|
-
MultiTenant: 'multi-tenant'
|
|
9408
|
+
MultiTenant: 'multi-tenant',
|
|
9102
9409
|
};
|
|
9103
9410
|
exports.PostFailoverInstanceTypeEnum = {
|
|
9104
9411
|
Config: 'config',
|
|
9105
|
-
Image: 'image'
|
|
9412
|
+
Image: 'image',
|
|
9106
9413
|
};
|
|
9107
9414
|
exports.PostResizeInstanceSizeEnum = {
|
|
9108
9415
|
D24: 'd2-4',
|
|
9109
9416
|
D28: 'd2-8',
|
|
9110
9417
|
B230: 'b2-30',
|
|
9111
9418
|
S2vcpu4gb: 's-2vcpu-4gb',
|
|
9112
|
-
S4vcpu8gb: 's-4vcpu-8gb'
|
|
9419
|
+
S4vcpu8gb: 's-4vcpu-8gb',
|
|
9113
9420
|
};
|
|
9114
9421
|
/**
|
|
9115
9422
|
* Class3CXIntegrationsApi - axios parameter creator
|
|
@@ -9264,8 +9571,8 @@ var Class3CXIntegrationsApiAxiosParamCreator = function (configuration) {
|
|
|
9264
9571
|
// verify required parameter 'ref' is not null or undefined
|
|
9265
9572
|
(0, common_1.assertParamExists)('patchUpdateEtpOrderReference', 'ref', ref);
|
|
9266
9573
|
localVarPath = "/tcx/integrations/edtechpro/{clientId}/schools/{schoolId}/orderReference"
|
|
9267
|
-
.replace(
|
|
9268
|
-
.replace(
|
|
9574
|
+
.replace('{clientId}', encodeURIComponent(String(clientId)))
|
|
9575
|
+
.replace('{schoolId}', encodeURIComponent(String(schoolId)));
|
|
9269
9576
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9270
9577
|
if (configuration) {
|
|
9271
9578
|
baseOptions = configuration.baseOptions;
|
|
@@ -9650,11 +9957,11 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
9650
9957
|
exports.Class3CXIntegrationsApi = Class3CXIntegrationsApi;
|
|
9651
9958
|
exports.GetGetPriceLicenceTypeEnum = {
|
|
9652
9959
|
Lite: 'lite',
|
|
9653
|
-
Pro: 'pro'
|
|
9960
|
+
Pro: 'pro',
|
|
9654
9961
|
};
|
|
9655
9962
|
exports.GetGetPriceSchoolTypeEnum = {
|
|
9656
9963
|
Primary: 'primary',
|
|
9657
|
-
Secondary: 'secondary'
|
|
9964
|
+
Secondary: 'secondary',
|
|
9658
9965
|
};
|
|
9659
9966
|
/**
|
|
9660
9967
|
* Class3CXMultiTenantApi - axios parameter creator
|
|
@@ -9681,7 +9988,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
9681
9988
|
// verify required parameter 'reference' is not null or undefined
|
|
9682
9989
|
(0, common_1.assertParamExists)('deleteGetTenant', 'reference', reference);
|
|
9683
9990
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
9684
|
-
.replace(
|
|
9991
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
9685
9992
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9686
9993
|
if (configuration) {
|
|
9687
9994
|
baseOptions = configuration.baseOptions;
|
|
@@ -9758,7 +10065,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
9758
10065
|
// verify required parameter 'reference' is not null or undefined
|
|
9759
10066
|
(0, common_1.assertParamExists)('getGetTenant', 'reference', reference);
|
|
9760
10067
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
9761
|
-
.replace(
|
|
10068
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
9762
10069
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9763
10070
|
if (configuration) {
|
|
9764
10071
|
baseOptions = configuration.baseOptions;
|
|
@@ -10375,7 +10682,7 @@ exports.GetGetTenantsStatusEnum = {
|
|
|
10375
10682
|
Completed: 'Completed',
|
|
10376
10683
|
Outstanding: 'Outstanding',
|
|
10377
10684
|
Offline: 'Offline',
|
|
10378
|
-
FailedOver: 'Failed Over'
|
|
10685
|
+
FailedOver: 'Failed Over',
|
|
10379
10686
|
};
|
|
10380
10687
|
/**
|
|
10381
10688
|
* MyPBXToolsApi - axios parameter creator
|
|
@@ -10532,7 +10839,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10532
10839
|
// verify required parameter 'id' is not null or undefined
|
|
10533
10840
|
(0, common_1.assertParamExists)('deleteGetAdminNumberPort', 'id', id);
|
|
10534
10841
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
10535
|
-
.replace(
|
|
10842
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10536
10843
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10537
10844
|
if (configuration) {
|
|
10538
10845
|
baseOptions = configuration.baseOptions;
|
|
@@ -10613,7 +10920,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10613
10920
|
// verify required parameter 'id' is not null or undefined
|
|
10614
10921
|
(0, common_1.assertParamExists)('getGetAdminNumberPort', 'id', id);
|
|
10615
10922
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
10616
|
-
.replace(
|
|
10923
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10617
10924
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10618
10925
|
if (configuration) {
|
|
10619
10926
|
baseOptions = configuration.baseOptions;
|
|
@@ -10695,7 +11002,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10695
11002
|
// verify required parameter 'id' is not null or undefined
|
|
10696
11003
|
(0, common_1.assertParamExists)('getUpdateNumberPort', 'id', id);
|
|
10697
11004
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
10698
|
-
.replace(
|
|
11005
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10699
11006
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10700
11007
|
if (configuration) {
|
|
10701
11008
|
baseOptions = configuration.baseOptions;
|
|
@@ -10732,7 +11039,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10732
11039
|
// verify required parameter 'id' is not null or undefined
|
|
10733
11040
|
(0, common_1.assertParamExists)('patchCancelAdminNumberPort', 'id', id);
|
|
10734
11041
|
localVarPath = "/admin/sip/numbers/ports/{id}/cancel"
|
|
10735
|
-
.replace(
|
|
11042
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10736
11043
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10737
11044
|
if (configuration) {
|
|
10738
11045
|
baseOptions = configuration.baseOptions;
|
|
@@ -10769,7 +11076,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10769
11076
|
// verify required parameter 'id' is not null or undefined
|
|
10770
11077
|
(0, common_1.assertParamExists)('patchCloseAdminNumberPort', 'id', id);
|
|
10771
11078
|
localVarPath = "/admin/sip/numbers/ports/{id}/close"
|
|
10772
|
-
.replace(
|
|
11079
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10773
11080
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10774
11081
|
if (configuration) {
|
|
10775
11082
|
baseOptions = configuration.baseOptions;
|
|
@@ -10809,7 +11116,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10809
11116
|
// verify required parameter 'numberPortAdminNoteBody' is not null or undefined
|
|
10810
11117
|
(0, common_1.assertParamExists)('postAddAdminNote', 'numberPortAdminNoteBody', numberPortAdminNoteBody);
|
|
10811
11118
|
localVarPath = "/admin/sip/numbers/ports/{id}/notes"
|
|
10812
|
-
.replace(
|
|
11119
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10813
11120
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10814
11121
|
if (configuration) {
|
|
10815
11122
|
baseOptions = configuration.baseOptions;
|
|
@@ -10944,7 +11251,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10944
11251
|
// verify required parameter 'id' is not null or undefined
|
|
10945
11252
|
(0, common_1.assertParamExists)('postSubmitNumberPort', 'id', id);
|
|
10946
11253
|
localVarPath = "/sip/numbers/ports/{id}/submit"
|
|
10947
|
-
.replace(
|
|
11254
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10948
11255
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10949
11256
|
if (configuration) {
|
|
10950
11257
|
baseOptions = configuration.baseOptions;
|
|
@@ -11032,7 +11339,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
11032
11339
|
// verify required parameter 'id' is not null or undefined
|
|
11033
11340
|
(0, common_1.assertParamExists)('postUpdateNumberPort', 'id', id);
|
|
11034
11341
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
11035
|
-
.replace(
|
|
11342
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11036
11343
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11037
11344
|
if (configuration) {
|
|
11038
11345
|
baseOptions = configuration.baseOptions;
|
|
@@ -11111,7 +11418,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
11111
11418
|
// verify required parameter 'numberPortDTO' is not null or undefined
|
|
11112
11419
|
(0, common_1.assertParamExists)('putGetAdminNumberPort', 'numberPortDTO', numberPortDTO);
|
|
11113
11420
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
11114
|
-
.replace(
|
|
11421
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11115
11422
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11116
11423
|
if (configuration) {
|
|
11117
11424
|
baseOptions = configuration.baseOptions;
|
|
@@ -12039,6 +12346,38 @@ var OAuth20ApiAxiosParamCreator = function (configuration) {
|
|
|
12039
12346
|
});
|
|
12040
12347
|
});
|
|
12041
12348
|
},
|
|
12349
|
+
/**
|
|
12350
|
+
* Remove Oauth 2.0 Cookies
|
|
12351
|
+
* @param {*} [options] Override http request option.
|
|
12352
|
+
* @throws {RequiredError}
|
|
12353
|
+
*/
|
|
12354
|
+
postLogout: function () {
|
|
12355
|
+
var args_1 = [];
|
|
12356
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
12357
|
+
args_1[_i] = arguments[_i];
|
|
12358
|
+
}
|
|
12359
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
12360
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12361
|
+
if (options === void 0) { options = {}; }
|
|
12362
|
+
return __generator(this, function (_a) {
|
|
12363
|
+
localVarPath = "/oauth2/logout";
|
|
12364
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12365
|
+
if (configuration) {
|
|
12366
|
+
baseOptions = configuration.baseOptions;
|
|
12367
|
+
}
|
|
12368
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
12369
|
+
localVarHeaderParameter = {};
|
|
12370
|
+
localVarQueryParameter = {};
|
|
12371
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12372
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12373
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12374
|
+
return [2 /*return*/, {
|
|
12375
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12376
|
+
options: localVarRequestOptions,
|
|
12377
|
+
}];
|
|
12378
|
+
});
|
|
12379
|
+
});
|
|
12380
|
+
},
|
|
12042
12381
|
/**
|
|
12043
12382
|
* Portal Login
|
|
12044
12383
|
* @summary Portal Login
|
|
@@ -12214,6 +12553,27 @@ var OAuth20ApiFp = function (configuration) {
|
|
|
12214
12553
|
});
|
|
12215
12554
|
});
|
|
12216
12555
|
},
|
|
12556
|
+
/**
|
|
12557
|
+
* Remove Oauth 2.0 Cookies
|
|
12558
|
+
* @param {*} [options] Override http request option.
|
|
12559
|
+
* @throws {RequiredError}
|
|
12560
|
+
*/
|
|
12561
|
+
postLogout: function (options) {
|
|
12562
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12563
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
12564
|
+
var _a, _b, _c;
|
|
12565
|
+
return __generator(this, function (_d) {
|
|
12566
|
+
switch (_d.label) {
|
|
12567
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postLogout(options)];
|
|
12568
|
+
case 1:
|
|
12569
|
+
localVarAxiosArgs = _d.sent();
|
|
12570
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12571
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OAuth20Api.postLogout']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12572
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
12573
|
+
}
|
|
12574
|
+
});
|
|
12575
|
+
});
|
|
12576
|
+
},
|
|
12217
12577
|
/**
|
|
12218
12578
|
* Portal Login
|
|
12219
12579
|
* @summary Portal Login
|
|
@@ -12310,6 +12670,14 @@ var OAuth20ApiFactory = function (configuration, basePath, axios) {
|
|
|
12310
12670
|
postGetIdentity: function (options) {
|
|
12311
12671
|
return localVarFp.postGetIdentity(options).then(function (request) { return request(axios, basePath); });
|
|
12312
12672
|
},
|
|
12673
|
+
/**
|
|
12674
|
+
* Remove Oauth 2.0 Cookies
|
|
12675
|
+
* @param {*} [options] Override http request option.
|
|
12676
|
+
* @throws {RequiredError}
|
|
12677
|
+
*/
|
|
12678
|
+
postLogout: function (options) {
|
|
12679
|
+
return localVarFp.postLogout(options).then(function (request) { return request(axios, basePath); });
|
|
12680
|
+
},
|
|
12313
12681
|
/**
|
|
12314
12682
|
* Portal Login
|
|
12315
12683
|
* @summary Portal Login
|
|
@@ -12400,6 +12768,15 @@ var OAuth20Api = /** @class */ (function (_super) {
|
|
|
12400
12768
|
var _this = this;
|
|
12401
12769
|
return (0, exports.OAuth20ApiFp)(this.configuration).postGetIdentity(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12402
12770
|
};
|
|
12771
|
+
/**
|
|
12772
|
+
* Remove Oauth 2.0 Cookies
|
|
12773
|
+
* @param {*} [options] Override http request option.
|
|
12774
|
+
* @throws {RequiredError}
|
|
12775
|
+
*/
|
|
12776
|
+
OAuth20Api.prototype.postLogout = function (options) {
|
|
12777
|
+
var _this = this;
|
|
12778
|
+
return (0, exports.OAuth20ApiFp)(this.configuration).postLogout(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12779
|
+
};
|
|
12403
12780
|
/**
|
|
12404
12781
|
* Portal Login
|
|
12405
12782
|
* @summary Portal Login
|
|
@@ -12421,7 +12798,7 @@ exports.PostAccessTokenGrantTypeEnum = {
|
|
|
12421
12798
|
AuthorizationCode: 'authorization_code',
|
|
12422
12799
|
MsAuth: 'ms_auth',
|
|
12423
12800
|
TokenExchange: 'token_exchange',
|
|
12424
|
-
Password: 'password'
|
|
12801
|
+
Password: 'password',
|
|
12425
12802
|
};
|
|
12426
12803
|
exports.PostAccessTokenScopeEnum = {
|
|
12427
12804
|
Star: '*',
|
|
@@ -12451,11 +12828,11 @@ exports.PostAccessTokenScopeEnum = {
|
|
|
12451
12828
|
TcxMtRead: 'tcx_mt.read',
|
|
12452
12829
|
TcxMtWrite: 'tcx_mt.write',
|
|
12453
12830
|
TicketsRead: 'tickets.read',
|
|
12454
|
-
TicketsWrite: 'tickets.write'
|
|
12831
|
+
TicketsWrite: 'tickets.write',
|
|
12455
12832
|
};
|
|
12456
12833
|
exports.PostAccessTokenTokenExchangeTypeEnum = {
|
|
12457
12834
|
TcxWizard: 'tcx_wizard',
|
|
12458
|
-
Portal: 'portal'
|
|
12835
|
+
Portal: 'portal',
|
|
12459
12836
|
};
|
|
12460
12837
|
exports.PostAuthoriseScopeEnum = {
|
|
12461
12838
|
Star: '*',
|
|
@@ -12485,7 +12862,7 @@ exports.PostAuthoriseScopeEnum = {
|
|
|
12485
12862
|
TcxMtRead: 'tcx_mt.read',
|
|
12486
12863
|
TcxMtWrite: 'tcx_mt.write',
|
|
12487
12864
|
TicketsRead: 'tickets.read',
|
|
12488
|
-
TicketsWrite: 'tickets.write'
|
|
12865
|
+
TicketsWrite: 'tickets.write',
|
|
12489
12866
|
};
|
|
12490
12867
|
/**
|
|
12491
12868
|
* OrdersApi - axios parameter creator
|
|
@@ -12514,8 +12891,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12514
12891
|
// verify required parameter 'batchId' is not null or undefined
|
|
12515
12892
|
(0, common_1.assertParamExists)('deleteDeleteBatch', 'batchId', batchId);
|
|
12516
12893
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}"
|
|
12517
|
-
.replace(
|
|
12518
|
-
.replace(
|
|
12894
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12895
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
12519
12896
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12520
12897
|
if (configuration) {
|
|
12521
12898
|
baseOptions = configuration.baseOptions;
|
|
@@ -12552,7 +12929,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12552
12929
|
// verify required parameter 'id' is not null or undefined
|
|
12553
12930
|
(0, common_1.assertParamExists)('deleteUpdateOrder', 'id', id);
|
|
12554
12931
|
localVarPath = "/orders/{id}"
|
|
12555
|
-
.replace(
|
|
12932
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12556
12933
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12557
12934
|
if (configuration) {
|
|
12558
12935
|
baseOptions = configuration.baseOptions;
|
|
@@ -12595,9 +12972,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12595
12972
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12596
12973
|
(0, common_1.assertParamExists)('deleteUpdateShipment', 'shipmentId', shipmentId);
|
|
12597
12974
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
12598
|
-
.replace(
|
|
12599
|
-
.replace(
|
|
12600
|
-
.replace(
|
|
12975
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12976
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
12977
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12601
12978
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12602
12979
|
if (configuration) {
|
|
12603
12980
|
baseOptions = configuration.baseOptions;
|
|
@@ -12634,7 +13011,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12634
13011
|
// verify required parameter 'id' is not null or undefined
|
|
12635
13012
|
(0, common_1.assertParamExists)('getGetAdminEditableOrder', 'id', id);
|
|
12636
13013
|
localVarPath = "/admin/orders/{id}/views/editable"
|
|
12637
|
-
.replace(
|
|
13014
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12638
13015
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12639
13016
|
if (configuration) {
|
|
12640
13017
|
baseOptions = configuration.baseOptions;
|
|
@@ -12672,7 +13049,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12672
13049
|
// verify required parameter 'id' is not null or undefined
|
|
12673
13050
|
(0, common_1.assertParamExists)('getGetAdminOrderDetails', 'id', id);
|
|
12674
13051
|
localVarPath = "/admin/orders/{id}/details"
|
|
12675
|
-
.replace(
|
|
13052
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12676
13053
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12677
13054
|
if (configuration) {
|
|
12678
13055
|
baseOptions = configuration.baseOptions;
|
|
@@ -12716,9 +13093,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12716
13093
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12717
13094
|
(0, common_1.assertParamExists)('getGetCommercialInvoice', 'shipmentId', shipmentId);
|
|
12718
13095
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/pdf"
|
|
12719
|
-
.replace(
|
|
12720
|
-
.replace(
|
|
12721
|
-
.replace(
|
|
13096
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13097
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13098
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12722
13099
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12723
13100
|
if (configuration) {
|
|
12724
13101
|
baseOptions = configuration.baseOptions;
|
|
@@ -12756,7 +13133,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12756
13133
|
// verify required parameter 'id' is not null or undefined
|
|
12757
13134
|
(0, common_1.assertParamExists)('getGetEditableOrder', 'id', id);
|
|
12758
13135
|
localVarPath = "/orders/{id}/views/editable"
|
|
12759
|
-
.replace(
|
|
13136
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12760
13137
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12761
13138
|
if (configuration) {
|
|
12762
13139
|
baseOptions = configuration.baseOptions;
|
|
@@ -12797,8 +13174,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12797
13174
|
// verify required parameter 'itemId' is not null or undefined
|
|
12798
13175
|
(0, common_1.assertParamExists)('getGetItemSerialInfo', 'itemId', itemId);
|
|
12799
13176
|
localVarPath = "/admin/orders/{id}/items/{item_id}/info"
|
|
12800
|
-
.replace(
|
|
12801
|
-
.replace(
|
|
13177
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13178
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
12802
13179
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12803
13180
|
if (configuration) {
|
|
12804
13181
|
baseOptions = configuration.baseOptions;
|
|
@@ -12836,7 +13213,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12836
13213
|
// verify required parameter 'id' is not null or undefined
|
|
12837
13214
|
(0, common_1.assertParamExists)('getGetOrderPdf', 'id', id);
|
|
12838
13215
|
localVarPath = "/orders/{id}/pdf"
|
|
12839
|
-
.replace(
|
|
13216
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12840
13217
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12841
13218
|
if (configuration) {
|
|
12842
13219
|
baseOptions = configuration.baseOptions;
|
|
@@ -12874,7 +13251,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12874
13251
|
// verify required parameter 'id' is not null or undefined
|
|
12875
13252
|
(0, common_1.assertParamExists)('getGetOrderSummary', 'id', id);
|
|
12876
13253
|
localVarPath = "/admin/orders/{id}/summary"
|
|
12877
|
-
.replace(
|
|
13254
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12878
13255
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12879
13256
|
if (configuration) {
|
|
12880
13257
|
baseOptions = configuration.baseOptions;
|
|
@@ -12974,7 +13351,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12974
13351
|
// verify required parameter 'id' is not null or undefined
|
|
12975
13352
|
(0, common_1.assertParamExists)('patchCompleteOrder', 'id', id);
|
|
12976
13353
|
localVarPath = "/admin/orders/{id}/complete"
|
|
12977
|
-
.replace(
|
|
13354
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12978
13355
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12979
13356
|
if (configuration) {
|
|
12980
13357
|
baseOptions = configuration.baseOptions;
|
|
@@ -13013,7 +13390,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13013
13390
|
// verify required parameter 'id' is not null or undefined
|
|
13014
13391
|
(0, common_1.assertParamExists)('postAddOrderNote', 'id', id);
|
|
13015
13392
|
localVarPath = "/admin/orders/{id}/notes"
|
|
13016
|
-
.replace(
|
|
13393
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13017
13394
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13018
13395
|
if (configuration) {
|
|
13019
13396
|
baseOptions = configuration.baseOptions;
|
|
@@ -13098,8 +13475,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13098
13475
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
13099
13476
|
(0, common_1.assertParamExists)('postCreateConsignment', 'shipmentId', shipmentId);
|
|
13100
13477
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/consignment"
|
|
13101
|
-
.replace(
|
|
13102
|
-
.replace(
|
|
13478
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13479
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13103
13480
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13104
13481
|
if (configuration) {
|
|
13105
13482
|
baseOptions = configuration.baseOptions;
|
|
@@ -13180,8 +13557,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13180
13557
|
// verify required parameter 'batchId' is not null or undefined
|
|
13181
13558
|
(0, common_1.assertParamExists)('postCreateShipment', 'batchId', batchId);
|
|
13182
13559
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments"
|
|
13183
|
-
.replace(
|
|
13184
|
-
.replace(
|
|
13560
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13561
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
13185
13562
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13186
13563
|
if (configuration) {
|
|
13187
13564
|
baseOptions = configuration.baseOptions;
|
|
@@ -13263,7 +13640,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13263
13640
|
// verify required parameter 'id' is not null or undefined
|
|
13264
13641
|
(0, common_1.assertParamExists)('postIssueCredit', 'id', id);
|
|
13265
13642
|
localVarPath = "/admin/orders/{id}/credit"
|
|
13266
|
-
.replace(
|
|
13643
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13267
13644
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13268
13645
|
if (configuration) {
|
|
13269
13646
|
baseOptions = configuration.baseOptions;
|
|
@@ -13309,8 +13686,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13309
13686
|
// verify required parameter 'printer' is not null or undefined
|
|
13310
13687
|
(0, common_1.assertParamExists)('postPrintShippingLabel', 'printer', printer);
|
|
13311
13688
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/label/print"
|
|
13312
|
-
.replace(
|
|
13313
|
-
.replace(
|
|
13689
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13690
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13314
13691
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13315
13692
|
if (configuration) {
|
|
13316
13693
|
baseOptions = configuration.baseOptions;
|
|
@@ -13354,8 +13731,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13354
13731
|
// verify required parameter 'batchId' is not null or undefined
|
|
13355
13732
|
(0, common_1.assertParamExists)('postProcessTcxLicences', 'batchId', batchId);
|
|
13356
13733
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/licences/process"
|
|
13357
|
-
.replace(
|
|
13358
|
-
.replace(
|
|
13734
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13735
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
13359
13736
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13360
13737
|
if (configuration) {
|
|
13361
13738
|
baseOptions = configuration.baseOptions;
|
|
@@ -13396,7 +13773,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13396
13773
|
// verify required parameter 'email' is not null or undefined
|
|
13397
13774
|
(0, common_1.assertParamExists)('postSendOrderEmail', 'email', email);
|
|
13398
13775
|
localVarPath = "/admin/orders/{id}/email/send"
|
|
13399
|
-
.replace(
|
|
13776
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13400
13777
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13401
13778
|
if (configuration) {
|
|
13402
13779
|
baseOptions = configuration.baseOptions;
|
|
@@ -13445,9 +13822,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13445
13822
|
// verify required parameter 'email' is not null or undefined
|
|
13446
13823
|
(0, common_1.assertParamExists)('postSendShipmentEmail', 'email', email);
|
|
13447
13824
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/send/email"
|
|
13448
|
-
.replace(
|
|
13449
|
-
.replace(
|
|
13450
|
-
.replace(
|
|
13825
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13826
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13827
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13451
13828
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13452
13829
|
if (configuration) {
|
|
13453
13830
|
baseOptions = configuration.baseOptions;
|
|
@@ -13490,8 +13867,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13490
13867
|
// verify required parameter 'batchId' is not null or undefined
|
|
13491
13868
|
(0, common_1.assertParamExists)('postSendSupplierEmail', 'batchId', batchId);
|
|
13492
13869
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/email/send"
|
|
13493
|
-
.replace(
|
|
13494
|
-
.replace(
|
|
13870
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13871
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
13495
13872
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13496
13873
|
if (configuration) {
|
|
13497
13874
|
baseOptions = configuration.baseOptions;
|
|
@@ -13529,7 +13906,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13529
13906
|
// verify required parameter 'id' is not null or undefined
|
|
13530
13907
|
(0, common_1.assertParamExists)('postSplitOrder', 'id', id);
|
|
13531
13908
|
localVarPath = "/admin/orders/{id}/split"
|
|
13532
|
-
.replace(
|
|
13909
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13533
13910
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13534
13911
|
if (configuration) {
|
|
13535
13912
|
baseOptions = configuration.baseOptions;
|
|
@@ -13573,7 +13950,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13573
13950
|
// verify required parameter 'supplierId' is not null or undefined
|
|
13574
13951
|
(0, common_1.assertParamExists)('putAllocateItems', 'supplierId', supplierId);
|
|
13575
13952
|
localVarPath = "/admin/orders/{id}/items/allocate"
|
|
13576
|
-
.replace(
|
|
13953
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13577
13954
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13578
13955
|
if (configuration) {
|
|
13579
13956
|
baseOptions = configuration.baseOptions;
|
|
@@ -13618,7 +13995,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13618
13995
|
// verify required parameter 'id' is not null or undefined
|
|
13619
13996
|
(0, common_1.assertParamExists)('putUpdateAdminOrder', 'id', id);
|
|
13620
13997
|
localVarPath = "/admin/orders/{id}"
|
|
13621
|
-
.replace(
|
|
13998
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13622
13999
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13623
14000
|
if (configuration) {
|
|
13624
14001
|
baseOptions = configuration.baseOptions;
|
|
@@ -13668,9 +14045,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13668
14045
|
// verify required parameter 'itemId' is not null or undefined
|
|
13669
14046
|
(0, common_1.assertParamExists)('putUpdateBatchItem', 'itemId', itemId);
|
|
13670
14047
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/items/{item_id}"
|
|
13671
|
-
.replace(
|
|
13672
|
-
.replace(
|
|
13673
|
-
.replace(
|
|
14048
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
14049
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
14050
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
13674
14051
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13675
14052
|
if (configuration) {
|
|
13676
14053
|
baseOptions = configuration.baseOptions;
|
|
@@ -13712,7 +14089,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13712
14089
|
// verify required parameter 'id' is not null or undefined
|
|
13713
14090
|
(0, common_1.assertParamExists)('putUpdateOrder', 'id', id);
|
|
13714
14091
|
localVarPath = "/orders/{id}"
|
|
13715
|
-
.replace(
|
|
14092
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13716
14093
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13717
14094
|
if (configuration) {
|
|
13718
14095
|
baseOptions = configuration.baseOptions;
|
|
@@ -13758,7 +14135,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13758
14135
|
// verify required parameter 'paid' is not null or undefined
|
|
13759
14136
|
(0, common_1.assertParamExists)('putUpdatePaymentStatus', 'paid', paid);
|
|
13760
14137
|
localVarPath = "/admin/orders/{id}/paid"
|
|
13761
|
-
.replace(
|
|
14138
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13762
14139
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13763
14140
|
if (configuration) {
|
|
13764
14141
|
baseOptions = configuration.baseOptions;
|
|
@@ -13806,9 +14183,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13806
14183
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
13807
14184
|
(0, common_1.assertParamExists)('putUpdateShipment', 'shipmentId', shipmentId);
|
|
13808
14185
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
13809
|
-
.replace(
|
|
13810
|
-
.replace(
|
|
13811
|
-
.replace(
|
|
14186
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
14187
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
14188
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13812
14189
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13813
14190
|
if (configuration) {
|
|
13814
14191
|
baseOptions = configuration.baseOptions;
|
|
@@ -15352,18 +15729,18 @@ exports.GetGetOrdersStatusEnum = {
|
|
|
15352
15729
|
Paid: 'PAID',
|
|
15353
15730
|
InvoicePaid: 'INVOICE_PAID',
|
|
15354
15731
|
Unpaid: 'UNPAID',
|
|
15355
|
-
Quote: 'QUOTE'
|
|
15732
|
+
Quote: 'QUOTE',
|
|
15356
15733
|
};
|
|
15357
15734
|
exports.GetGetOrdersFilterEnum = {
|
|
15358
15735
|
Outstanding: 'OUTSTANDING',
|
|
15359
15736
|
Quotes: 'QUOTES',
|
|
15360
15737
|
All: 'ALL',
|
|
15361
|
-
BackOrders: 'BACK_ORDERS'
|
|
15738
|
+
BackOrders: 'BACK_ORDERS',
|
|
15362
15739
|
};
|
|
15363
15740
|
exports.PostPrintShippingLabelPrinterEnum = {
|
|
15364
15741
|
NUMBER_1: 1,
|
|
15365
15742
|
NUMBER_2: 2,
|
|
15366
|
-
NUMBER_3: 3
|
|
15743
|
+
NUMBER_3: 3,
|
|
15367
15744
|
};
|
|
15368
15745
|
/**
|
|
15369
15746
|
* PricingApi - axios parameter creator
|
|
@@ -15636,14 +16013,14 @@ exports.GetGetPriceListTypeEnum = {
|
|
|
15636
16013
|
EdTechPro: 'EdTechPro',
|
|
15637
16014
|
Sms: 'SMS',
|
|
15638
16015
|
SipTrunks: 'SIP Trunks',
|
|
15639
|
-
CrmIntegrations: 'CRM Integrations'
|
|
16016
|
+
CrmIntegrations: 'CRM Integrations',
|
|
15640
16017
|
};
|
|
15641
16018
|
exports.GetGetPriceListFormatEnum = {
|
|
15642
16019
|
Pdf: 'pdf',
|
|
15643
16020
|
Json: 'json',
|
|
15644
16021
|
Csv: 'csv',
|
|
15645
16022
|
Xml: 'xml',
|
|
15646
|
-
Html: 'html'
|
|
16023
|
+
Html: 'html',
|
|
15647
16024
|
};
|
|
15648
16025
|
exports.GetGetPriceListCategoryEnum = {
|
|
15649
16026
|
Yealink: 'Yealink',
|
|
@@ -15665,7 +16042,7 @@ exports.GetGetPriceListCategoryEnum = {
|
|
|
15665
16042
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
15666
16043
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
15667
16044
|
FanvilAccessories: 'Fanvil Accessories',
|
|
15668
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
16045
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
15669
16046
|
};
|
|
15670
16047
|
exports.PostSendPriceListTypeEnum = {
|
|
15671
16048
|
Products: 'Products',
|
|
@@ -15676,14 +16053,14 @@ exports.PostSendPriceListTypeEnum = {
|
|
|
15676
16053
|
EdTechPro: 'EdTechPro',
|
|
15677
16054
|
Sms: 'SMS',
|
|
15678
16055
|
SipTrunks: 'SIP Trunks',
|
|
15679
|
-
CrmIntegrations: 'CRM Integrations'
|
|
16056
|
+
CrmIntegrations: 'CRM Integrations',
|
|
15680
16057
|
};
|
|
15681
16058
|
exports.PostSendPriceListFormatEnum = {
|
|
15682
16059
|
Pdf: 'pdf',
|
|
15683
16060
|
Json: 'json',
|
|
15684
16061
|
Csv: 'csv',
|
|
15685
16062
|
Xml: 'xml',
|
|
15686
|
-
Html: 'html'
|
|
16063
|
+
Html: 'html',
|
|
15687
16064
|
};
|
|
15688
16065
|
exports.PostSendPriceListCategoryEnum = {
|
|
15689
16066
|
Yealink: 'Yealink',
|
|
@@ -15705,7 +16082,7 @@ exports.PostSendPriceListCategoryEnum = {
|
|
|
15705
16082
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
15706
16083
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
15707
16084
|
FanvilAccessories: 'Fanvil Accessories',
|
|
15708
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
16085
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
15709
16086
|
};
|
|
15710
16087
|
/**
|
|
15711
16088
|
* ProductsApi - axios parameter creator
|
|
@@ -15992,7 +16369,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15992
16369
|
// verify required parameter 'quantity' is not null or undefined
|
|
15993
16370
|
(0, common_1.assertParamExists)('patchAddQuantityToStock', 'quantity', quantity);
|
|
15994
16371
|
localVarPath = "/products/{sku}/stock/add"
|
|
15995
|
-
.replace(
|
|
16372
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
15996
16373
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15997
16374
|
if (configuration) {
|
|
15998
16375
|
baseOptions = configuration.baseOptions;
|
|
@@ -16035,7 +16412,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
16035
16412
|
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
16036
16413
|
(0, common_1.assertParamExists)('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
16037
16414
|
localVarPath = "/products/{sku}"
|
|
16038
|
-
.replace(
|
|
16415
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
16039
16416
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16040
16417
|
if (configuration) {
|
|
16041
16418
|
baseOptions = configuration.baseOptions;
|
|
@@ -16081,7 +16458,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
16081
16458
|
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
16082
16459
|
(0, common_1.assertParamExists)('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
16083
16460
|
localVarPath = "/admin/products/{sku}"
|
|
16084
|
-
.replace(
|
|
16461
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
16085
16462
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16086
16463
|
if (configuration) {
|
|
16087
16464
|
baseOptions = configuration.baseOptions;
|
|
@@ -16585,7 +16962,7 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
16585
16962
|
exports.ProductsApi = ProductsApi;
|
|
16586
16963
|
exports.GetGetLegacyStockListFormatEnum = {
|
|
16587
16964
|
Xml: 'XML',
|
|
16588
|
-
Csv: 'CSV'
|
|
16965
|
+
Csv: 'CSV',
|
|
16589
16966
|
};
|
|
16590
16967
|
/**
|
|
16591
16968
|
* ProspectsApi - axios parameter creator
|
|
@@ -16612,7 +16989,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
16612
16989
|
// verify required parameter 'xeroId' is not null or undefined
|
|
16613
16990
|
(0, common_1.assertParamExists)('getGetProspect', 'xeroId', xeroId);
|
|
16614
16991
|
localVarPath = "/accounts/prospects/{xero_id}"
|
|
16615
|
-
.replace(
|
|
16992
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
16616
16993
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16617
16994
|
if (configuration) {
|
|
16618
16995
|
baseOptions = configuration.baseOptions;
|
|
@@ -16687,7 +17064,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
16687
17064
|
// verify required parameter 'status' is not null or undefined
|
|
16688
17065
|
(0, common_1.assertParamExists)('getRemoveFromProspects', 'status', status);
|
|
16689
17066
|
localVarPath = "/accounts/prospects/{xero_id}/remove"
|
|
16690
|
-
.replace(
|
|
17067
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
16691
17068
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16692
17069
|
if (configuration) {
|
|
16693
17070
|
baseOptions = configuration.baseOptions;
|
|
@@ -16731,7 +17108,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
16731
17108
|
// verify required parameter 'date' is not null or undefined
|
|
16732
17109
|
(0, common_1.assertParamExists)('getSetCallback', 'date', date);
|
|
16733
17110
|
localVarPath = "/accounts/prospects/{xero_id}/date"
|
|
16734
|
-
.replace(
|
|
17111
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
16735
17112
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16736
17113
|
if (configuration) {
|
|
16737
17114
|
baseOptions = configuration.baseOptions;
|
|
@@ -16992,8 +17369,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16992
17369
|
// verify required parameter 'mac' is not null or undefined
|
|
16993
17370
|
(0, common_1.assertParamExists)('deleteAddFanvilMac', 'mac', mac);
|
|
16994
17371
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
16995
|
-
.replace(
|
|
16996
|
-
.replace(
|
|
17372
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17373
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
16997
17374
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16998
17375
|
if (configuration) {
|
|
16999
17376
|
baseOptions = configuration.baseOptions;
|
|
@@ -17030,7 +17407,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17030
17407
|
// verify required parameter 'id' is not null or undefined
|
|
17031
17408
|
(0, common_1.assertParamExists)('deleteDeleteFanvilGroup', 'id', id);
|
|
17032
17409
|
localVarPath = "/provisioning/fanvil/groups/{id}"
|
|
17033
|
-
.replace(
|
|
17410
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17034
17411
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17035
17412
|
if (configuration) {
|
|
17036
17413
|
baseOptions = configuration.baseOptions;
|
|
@@ -17070,8 +17447,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17070
17447
|
// verify required parameter 'mac' is not null or undefined
|
|
17071
17448
|
(0, common_1.assertParamExists)('getGetFanvilEncryptionKey', 'mac', mac);
|
|
17072
17449
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}/key"
|
|
17073
|
-
.replace(
|
|
17074
|
-
.replace(
|
|
17450
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17451
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
17075
17452
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17076
17453
|
if (configuration) {
|
|
17077
17454
|
baseOptions = configuration.baseOptions;
|
|
@@ -17109,7 +17486,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17109
17486
|
// verify required parameter 'id' is not null or undefined
|
|
17110
17487
|
(0, common_1.assertParamExists)('getGetFanvilGroupMacs', 'id', id);
|
|
17111
17488
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs"
|
|
17112
|
-
.replace(
|
|
17489
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17113
17490
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17114
17491
|
if (configuration) {
|
|
17115
17492
|
baseOptions = configuration.baseOptions;
|
|
@@ -17225,8 +17602,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17225
17602
|
// verify required parameter 'mac' is not null or undefined
|
|
17226
17603
|
(0, common_1.assertParamExists)('postAddFanvilMac', 'mac', mac);
|
|
17227
17604
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
17228
|
-
.replace(
|
|
17229
|
-
.replace(
|
|
17605
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17606
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
17230
17607
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17231
17608
|
if (configuration) {
|
|
17232
17609
|
baseOptions = configuration.baseOptions;
|
|
@@ -17618,7 +17995,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17618
17995
|
// verify required parameter 'id' is not null or undefined
|
|
17619
17996
|
(0, common_1.assertParamExists)('deleteGetSipTrunk', 'id', id);
|
|
17620
17997
|
localVarPath = "/sip/trunks/{id}"
|
|
17621
|
-
.replace(
|
|
17998
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17622
17999
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17623
18000
|
if (configuration) {
|
|
17624
18001
|
baseOptions = configuration.baseOptions;
|
|
@@ -17656,7 +18033,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17656
18033
|
// verify required parameter 'id' is not null or undefined
|
|
17657
18034
|
(0, common_1.assertParamExists)('getCanDivert', 'id', id);
|
|
17658
18035
|
localVarPath = "/sip/trunks/{id}/diverts/allowed"
|
|
17659
|
-
.replace(
|
|
18036
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17660
18037
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17661
18038
|
if (configuration) {
|
|
17662
18039
|
baseOptions = configuration.baseOptions;
|
|
@@ -17694,7 +18071,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17694
18071
|
// verify required parameter 'id' is not null or undefined
|
|
17695
18072
|
(0, common_1.assertParamExists)('getGetAddress', 'id', id);
|
|
17696
18073
|
localVarPath = "/sip/trunks/{id}/address"
|
|
17697
|
-
.replace(
|
|
18074
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17698
18075
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17699
18076
|
if (configuration) {
|
|
17700
18077
|
baseOptions = configuration.baseOptions;
|
|
@@ -17803,7 +18180,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17803
18180
|
// verify required parameter 'id' is not null or undefined
|
|
17804
18181
|
(0, common_1.assertParamExists)('getGetCliFlexibility', 'id', id);
|
|
17805
18182
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
17806
|
-
.replace(
|
|
18183
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17807
18184
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17808
18185
|
if (configuration) {
|
|
17809
18186
|
baseOptions = configuration.baseOptions;
|
|
@@ -17841,7 +18218,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17841
18218
|
// verify required parameter 'id' is not null or undefined
|
|
17842
18219
|
(0, common_1.assertParamExists)('getGetDdis', 'id', id);
|
|
17843
18220
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
17844
|
-
.replace(
|
|
18221
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17845
18222
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17846
18223
|
if (configuration) {
|
|
17847
18224
|
baseOptions = configuration.baseOptions;
|
|
@@ -17880,7 +18257,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17880
18257
|
// verify required parameter 'id' is not null or undefined
|
|
17881
18258
|
(0, common_1.assertParamExists)('getGetDiverts', 'id', id);
|
|
17882
18259
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
17883
|
-
.replace(
|
|
18260
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17884
18261
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17885
18262
|
if (configuration) {
|
|
17886
18263
|
baseOptions = configuration.baseOptions;
|
|
@@ -17921,7 +18298,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17921
18298
|
// verify required parameter 'id' is not null or undefined
|
|
17922
18299
|
(0, common_1.assertParamExists)('getGetSipTrunk', 'id', id);
|
|
17923
18300
|
localVarPath = "/sip/trunks/{id}"
|
|
17924
|
-
.replace(
|
|
18301
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17925
18302
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17926
18303
|
if (configuration) {
|
|
17927
18304
|
baseOptions = configuration.baseOptions;
|
|
@@ -18008,7 +18385,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18008
18385
|
// verify required parameter 'enabled' is not null or undefined
|
|
18009
18386
|
(0, common_1.assertParamExists)('patchGetCliFlexibility', 'enabled', enabled);
|
|
18010
18387
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
18011
|
-
.replace(
|
|
18388
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18012
18389
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18013
18390
|
if (configuration) {
|
|
18014
18391
|
baseOptions = configuration.baseOptions;
|
|
@@ -18049,7 +18426,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18049
18426
|
// verify required parameter 'id' is not null or undefined
|
|
18050
18427
|
(0, common_1.assertParamExists)('patchSetAsAvailable', 'id', id);
|
|
18051
18428
|
localVarPath = "/sip/trunks/{id}/available"
|
|
18052
|
-
.replace(
|
|
18429
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18053
18430
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18054
18431
|
if (configuration) {
|
|
18055
18432
|
baseOptions = configuration.baseOptions;
|
|
@@ -18090,7 +18467,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18090
18467
|
// verify required parameter 'ownerId' is not null or undefined
|
|
18091
18468
|
(0, common_1.assertParamExists)('patchSetOwnership', 'ownerId', ownerId);
|
|
18092
18469
|
localVarPath = "/sip/trunks/{id}/owner"
|
|
18093
|
-
.replace(
|
|
18470
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18094
18471
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18095
18472
|
if (configuration) {
|
|
18096
18473
|
baseOptions = configuration.baseOptions;
|
|
@@ -18136,7 +18513,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18136
18513
|
// verify required parameter 'channels' is not null or undefined
|
|
18137
18514
|
(0, common_1.assertParamExists)('patchUpdateChannelCount', 'channels', channels);
|
|
18138
18515
|
localVarPath = "/sip/trunks/{id}/channels"
|
|
18139
|
-
.replace(
|
|
18516
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18140
18517
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18141
18518
|
if (configuration) {
|
|
18142
18519
|
baseOptions = configuration.baseOptions;
|
|
@@ -18180,7 +18557,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18180
18557
|
// verify required parameter 'company' is not null or undefined
|
|
18181
18558
|
(0, common_1.assertParamExists)('patchUpdateCompanyName', 'company', company);
|
|
18182
18559
|
localVarPath = "/sip/trunks/{id}/company"
|
|
18183
|
-
.replace(
|
|
18560
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18184
18561
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18185
18562
|
if (configuration) {
|
|
18186
18563
|
baseOptions = configuration.baseOptions;
|
|
@@ -18224,7 +18601,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18224
18601
|
// verify required parameter 'number' is not null or undefined
|
|
18225
18602
|
(0, common_1.assertParamExists)('patchUpdateMainTrunkNumber', 'number', number);
|
|
18226
18603
|
localVarPath = "/sip/trunks/{id}/number"
|
|
18227
|
-
.replace(
|
|
18604
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18228
18605
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18229
18606
|
if (configuration) {
|
|
18230
18607
|
baseOptions = configuration.baseOptions;
|
|
@@ -18268,7 +18645,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18268
18645
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
18269
18646
|
(0, common_1.assertParamExists)('patchUpdatePbxIPAddress', 'ipAddress', ipAddress);
|
|
18270
18647
|
localVarPath = "/sip/trunks/{id}/pbx/ip"
|
|
18271
|
-
.replace(
|
|
18648
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18272
18649
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18273
18650
|
if (configuration) {
|
|
18274
18651
|
baseOptions = configuration.baseOptions;
|
|
@@ -18310,7 +18687,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18310
18687
|
// verify required parameter 'id' is not null or undefined
|
|
18311
18688
|
(0, common_1.assertParamExists)('postGetDdis', 'id', id);
|
|
18312
18689
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
18313
|
-
.replace(
|
|
18690
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18314
18691
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18315
18692
|
if (configuration) {
|
|
18316
18693
|
baseOptions = configuration.baseOptions;
|
|
@@ -18462,7 +18839,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18462
18839
|
// verify required parameter 'id' is not null or undefined
|
|
18463
18840
|
(0, common_1.assertParamExists)('putGetAddress', 'id', id);
|
|
18464
18841
|
localVarPath = "/sip/trunks/{id}/address"
|
|
18465
|
-
.replace(
|
|
18842
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18466
18843
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18467
18844
|
if (configuration) {
|
|
18468
18845
|
baseOptions = configuration.baseOptions;
|
|
@@ -18506,7 +18883,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18506
18883
|
// verify required parameter 'enabled' is not null or undefined
|
|
18507
18884
|
(0, common_1.assertParamExists)('putGetDiverts', 'enabled', enabled);
|
|
18508
18885
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
18509
|
-
.replace(
|
|
18886
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18510
18887
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18511
18888
|
if (configuration) {
|
|
18512
18889
|
baseOptions = configuration.baseOptions;
|
|
@@ -19912,7 +20289,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
19912
20289
|
// verify required parameter 'id' is not null or undefined
|
|
19913
20290
|
(0, common_1.assertParamExists)('patchArchiveEvent', 'id', id);
|
|
19914
20291
|
localVarPath = "/services/events/{id}/archive"
|
|
19915
|
-
.replace(
|
|
20292
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19916
20293
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19917
20294
|
if (configuration) {
|
|
19918
20295
|
baseOptions = configuration.baseOptions;
|
|
@@ -19950,7 +20327,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
19950
20327
|
// verify required parameter 'id' is not null or undefined
|
|
19951
20328
|
(0, common_1.assertParamExists)('patchUpdateEvent', 'id', id);
|
|
19952
20329
|
localVarPath = "/services/events/{id}"
|
|
19953
|
-
.replace(
|
|
20330
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19954
20331
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19955
20332
|
if (configuration) {
|
|
19956
20333
|
baseOptions = configuration.baseOptions;
|
|
@@ -20026,7 +20403,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
20026
20403
|
// verify required parameter 'id' is not null or undefined
|
|
20027
20404
|
(0, common_1.assertParamExists)('postCreateEventUpdate', 'id', id);
|
|
20028
20405
|
localVarPath = "/services/events/{id}/updates"
|
|
20029
|
-
.replace(
|
|
20406
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20030
20407
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20031
20408
|
if (configuration) {
|
|
20032
20409
|
baseOptions = configuration.baseOptions;
|
|
@@ -20642,7 +21019,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20642
21019
|
// verify required parameter 'id' is not null or undefined
|
|
20643
21020
|
(0, common_1.assertParamExists)('deleteDeleteStockOrder', 'id', id);
|
|
20644
21021
|
localVarPath = "/stock/orders/{id}"
|
|
20645
|
-
.replace(
|
|
21022
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20646
21023
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20647
21024
|
if (configuration) {
|
|
20648
21025
|
baseOptions = configuration.baseOptions;
|
|
@@ -20682,8 +21059,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20682
21059
|
// verify required parameter 'deductionId' is not null or undefined
|
|
20683
21060
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
20684
21061
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
20685
|
-
.replace(
|
|
20686
|
-
.replace(
|
|
21062
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21063
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
20687
21064
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20688
21065
|
if (configuration) {
|
|
20689
21066
|
baseOptions = configuration.baseOptions;
|
|
@@ -20723,8 +21100,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20723
21100
|
// verify required parameter 'itemId' is not null or undefined
|
|
20724
21101
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderItem', 'itemId', itemId);
|
|
20725
21102
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
20726
|
-
.replace(
|
|
20727
|
-
.replace(
|
|
21103
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21104
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
20728
21105
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20729
21106
|
if (configuration) {
|
|
20730
21107
|
baseOptions = configuration.baseOptions;
|
|
@@ -20761,7 +21138,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20761
21138
|
// verify required parameter 'id' is not null or undefined
|
|
20762
21139
|
(0, common_1.assertParamExists)('deleteGetStockProduct', 'id', id);
|
|
20763
21140
|
localVarPath = "/stock/products/{id}"
|
|
20764
|
-
.replace(
|
|
21141
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20765
21142
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20766
21143
|
if (configuration) {
|
|
20767
21144
|
baseOptions = configuration.baseOptions;
|
|
@@ -20798,7 +21175,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20798
21175
|
// verify required parameter 'id' is not null or undefined
|
|
20799
21176
|
(0, common_1.assertParamExists)('getDeleteStockOrder', 'id', id);
|
|
20800
21177
|
localVarPath = "/stock/orders/{id}"
|
|
20801
|
-
.replace(
|
|
21178
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20802
21179
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20803
21180
|
if (configuration) {
|
|
20804
21181
|
baseOptions = configuration.baseOptions;
|
|
@@ -20836,7 +21213,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20836
21213
|
// verify required parameter 'sku' is not null or undefined
|
|
20837
21214
|
(0, common_1.assertParamExists)('getGetProductDetails', 'sku', sku);
|
|
20838
21215
|
localVarPath = "/stock/products/{sku}/details"
|
|
20839
|
-
.replace(
|
|
21216
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
20840
21217
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20841
21218
|
if (configuration) {
|
|
20842
21219
|
baseOptions = configuration.baseOptions;
|
|
@@ -20874,7 +21251,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20874
21251
|
// verify required parameter 'id' is not null or undefined
|
|
20875
21252
|
(0, common_1.assertParamExists)('getGetStockOrderPurchaseOrder', 'id', id);
|
|
20876
21253
|
localVarPath = "/stock/orders/{id}/po"
|
|
20877
|
-
.replace(
|
|
21254
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20878
21255
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20879
21256
|
if (configuration) {
|
|
20880
21257
|
baseOptions = configuration.baseOptions;
|
|
@@ -20912,7 +21289,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20912
21289
|
// verify required parameter 'id' is not null or undefined
|
|
20913
21290
|
(0, common_1.assertParamExists)('getGetStockOrderSupplierEmail', 'id', id);
|
|
20914
21291
|
localVarPath = "/stock/orders/{id}/supplier/email"
|
|
20915
|
-
.replace(
|
|
21292
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20916
21293
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20917
21294
|
if (configuration) {
|
|
20918
21295
|
baseOptions = configuration.baseOptions;
|
|
@@ -21000,7 +21377,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21000
21377
|
// verify required parameter 'id' is not null or undefined
|
|
21001
21378
|
(0, common_1.assertParamExists)('getGetStockProduct', 'id', id);
|
|
21002
21379
|
localVarPath = "/stock/products/{id}"
|
|
21003
|
-
.replace(
|
|
21380
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21004
21381
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21005
21382
|
if (configuration) {
|
|
21006
21383
|
baseOptions = configuration.baseOptions;
|
|
@@ -21118,7 +21495,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21118
21495
|
// verify required parameter 'id' is not null or undefined
|
|
21119
21496
|
(0, common_1.assertParamExists)('getGetStockSupplierProducts', 'id', id);
|
|
21120
21497
|
localVarPath = "/stock/suppliers/{id}/products"
|
|
21121
|
-
.replace(
|
|
21498
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21122
21499
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21123
21500
|
if (configuration) {
|
|
21124
21501
|
baseOptions = configuration.baseOptions;
|
|
@@ -21156,7 +21533,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21156
21533
|
// verify required parameter 'id' is not null or undefined
|
|
21157
21534
|
(0, common_1.assertParamExists)('getUploadStockOrderInvoice', 'id', id);
|
|
21158
21535
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
21159
|
-
.replace(
|
|
21536
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21160
21537
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21161
21538
|
if (configuration) {
|
|
21162
21539
|
baseOptions = configuration.baseOptions;
|
|
@@ -21195,7 +21572,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21195
21572
|
// verify required parameter 'id' is not null or undefined
|
|
21196
21573
|
(0, common_1.assertParamExists)('patchDeleteStockOrder', 'id', id);
|
|
21197
21574
|
localVarPath = "/stock/orders/{id}"
|
|
21198
|
-
.replace(
|
|
21575
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21199
21576
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21200
21577
|
if (configuration) {
|
|
21201
21578
|
baseOptions = configuration.baseOptions;
|
|
@@ -21239,8 +21616,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21239
21616
|
// verify required parameter 'deductionId' is not null or undefined
|
|
21240
21617
|
(0, common_1.assertParamExists)('patchDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
21241
21618
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
21242
|
-
.replace(
|
|
21243
|
-
.replace(
|
|
21619
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21620
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
21244
21621
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21245
21622
|
if (configuration) {
|
|
21246
21623
|
baseOptions = configuration.baseOptions;
|
|
@@ -21284,8 +21661,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21284
21661
|
// verify required parameter 'itemId' is not null or undefined
|
|
21285
21662
|
(0, common_1.assertParamExists)('patchDeleteStockOrderItem', 'itemId', itemId);
|
|
21286
21663
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
21287
|
-
.replace(
|
|
21288
|
-
.replace(
|
|
21664
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21665
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
21289
21666
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21290
21667
|
if (configuration) {
|
|
21291
21668
|
baseOptions = configuration.baseOptions;
|
|
@@ -21326,7 +21703,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21326
21703
|
// verify required parameter 'id' is not null or undefined
|
|
21327
21704
|
(0, common_1.assertParamExists)('postAddStockOrderDeduction', 'id', id);
|
|
21328
21705
|
localVarPath = "/stock/orders/{id}/deductions"
|
|
21329
|
-
.replace(
|
|
21706
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21330
21707
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21331
21708
|
if (configuration) {
|
|
21332
21709
|
baseOptions = configuration.baseOptions;
|
|
@@ -21367,7 +21744,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21367
21744
|
// verify required parameter 'id' is not null or undefined
|
|
21368
21745
|
(0, common_1.assertParamExists)('postAddStockOrderItem', 'id', id);
|
|
21369
21746
|
localVarPath = "/stock/orders/{id}/items"
|
|
21370
|
-
.replace(
|
|
21747
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21371
21748
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21372
21749
|
if (configuration) {
|
|
21373
21750
|
baseOptions = configuration.baseOptions;
|
|
@@ -21484,7 +21861,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21484
21861
|
// verify required parameter 'invoice' is not null or undefined
|
|
21485
21862
|
(0, common_1.assertParamExists)('postUploadStockOrderInvoice', 'invoice', invoice);
|
|
21486
21863
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
21487
|
-
.replace(
|
|
21864
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21488
21865
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21489
21866
|
if (configuration) {
|
|
21490
21867
|
baseOptions = configuration.baseOptions;
|
|
@@ -21528,7 +21905,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21528
21905
|
// verify required parameter 'id' is not null or undefined
|
|
21529
21906
|
(0, common_1.assertParamExists)('putGetStockProduct', 'id', id);
|
|
21530
21907
|
localVarPath = "/stock/products/{id}"
|
|
21531
|
-
.replace(
|
|
21908
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21532
21909
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21533
21910
|
if (configuration) {
|
|
21534
21911
|
baseOptions = configuration.baseOptions;
|
|
@@ -21574,8 +21951,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21574
21951
|
// verify required parameter 'received' is not null or undefined
|
|
21575
21952
|
(0, common_1.assertParamExists)('putReceiveStockOrderItem', 'received', received);
|
|
21576
21953
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}/receive"
|
|
21577
|
-
.replace(
|
|
21578
|
-
.replace(
|
|
21954
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21955
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
21579
21956
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21580
21957
|
if (configuration) {
|
|
21581
21958
|
baseOptions = configuration.baseOptions;
|
|
@@ -22969,7 +23346,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
22969
23346
|
// verify required parameter 'id' is not null or undefined
|
|
22970
23347
|
(0, common_1.assertParamExists)('getGetTicket', 'id', id);
|
|
22971
23348
|
localVarPath = "/tickets/support/{id}"
|
|
22972
|
-
.replace(
|
|
23349
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
22973
23350
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22974
23351
|
if (configuration) {
|
|
22975
23352
|
baseOptions = configuration.baseOptions;
|
|
@@ -23006,7 +23383,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
23006
23383
|
// verify required parameter 'id' is not null or undefined
|
|
23007
23384
|
(0, common_1.assertParamExists)('patchCloseTicket', 'id', id);
|
|
23008
23385
|
localVarPath = "/tickets/support/{id}/close"
|
|
23009
|
-
.replace(
|
|
23386
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
23010
23387
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23011
23388
|
if (configuration) {
|
|
23012
23389
|
baseOptions = configuration.baseOptions;
|
|
@@ -23095,7 +23472,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
23095
23472
|
// verify required parameter 'id' is not null or undefined
|
|
23096
23473
|
(0, common_1.assertParamExists)('postTicketReply', 'id', id);
|
|
23097
23474
|
localVarPath = "/tickets/support/{id}/reply"
|
|
23098
|
-
.replace(
|
|
23475
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
23099
23476
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23100
23477
|
if (configuration) {
|
|
23101
23478
|
baseOptions = configuration.baseOptions;
|
|
@@ -23591,5 +23968,5 @@ exports.PostAddWebhookWebhookUriEnum = {
|
|
|
23591
23968
|
WebhookFreshdeskUpdate: '/webhook/freshdesk/update',
|
|
23592
23969
|
WebhookTest: '/webhook/test',
|
|
23593
23970
|
WebhookXeroInvoices: '/webhook/xero/invoices',
|
|
23594
|
-
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add'
|
|
23971
|
+
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add',
|
|
23595
23972
|
};
|