yellowgrid-api-ts 3.2.161-dev.0 → 3.2.161
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 -290
- package/.openapi-generator/VERSION +1 -1
- package/README.md +3 -1
- package/api.ts +394 -254
- 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 +123 -16
- package/dist/api.js +316 -239
- 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/CourierEnum.d.ts +5 -0
- package/dist/models/CourierEnum.js +5 -0
- package/dist/models/UserGroupEnum.d.ts +5 -0
- package/dist/models/UserGroupEnum.js +5 -0
- package/docs/AbstractOrderRequestDTO.md +1 -1
- package/docs/AccountsApi.md +49 -1
- package/docs/AdminOrderRequestDTO.md +1 -1
- package/docs/BillingApi.md +1 -1
- package/docs/CRMApi.md +1 -1
- package/docs/Class3CXApi.md +1 -1
- package/docs/Class3CXInstallationWizardApi.md +1 -1
- package/docs/Class3CXInstallationsApi.md +1 -1
- package/docs/Class3CXIntegrationsApi.md +1 -1
- package/docs/Class3CXMultiTenantApi.md +1 -1
- package/docs/CreditAccountEntity.md +0 -2
- package/docs/{CrmActivityDto.md → CrmActivityDTO.md} +1 -1
- package/docs/CrmDateActivitiesDTO.md +1 -1
- package/docs/CustomerListAccountDTO.md +45 -0
- package/docs/CustomerOrderRequestDTO.md +1 -1
- package/docs/DetailedOrderRequestDTO.md +1 -1
- package/docs/MyPBXToolsApi.md +1 -1
- package/docs/NumberPortingApi.md +1 -1
- package/docs/OAuth20Api.md +1 -1
- package/docs/OrdersApi.md +1 -1
- package/docs/PortalAccountModel.md +0 -2
- 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/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/CourierEnum.ts +5 -0
- package/models/UserGroupEnum.ts +5 -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',
|
|
@@ -197,20 +198,20 @@ exports.AuditLogEntityTypeEnum = {
|
|
|
197
198
|
Webhook: 'webhook',
|
|
198
199
|
PopsXeroLog: 'pops_xero_log',
|
|
199
200
|
Oauth2Clients: 'oauth2_clients',
|
|
200
|
-
Oauth2Tokens: 'oauth2_tokens'
|
|
201
|
+
Oauth2Tokens: 'oauth2_tokens',
|
|
201
202
|
};
|
|
202
203
|
exports.DivertResponseModelStatusEnum = {
|
|
203
204
|
Enabled: 'enabled',
|
|
204
|
-
Disabled: 'disabled'
|
|
205
|
+
Disabled: 'disabled',
|
|
205
206
|
};
|
|
206
207
|
exports.EventDTOStatusEnum = {
|
|
207
208
|
NUMBER_0: 0,
|
|
208
209
|
NUMBER_1: 1,
|
|
209
|
-
NUMBER_2: 2
|
|
210
|
+
NUMBER_2: 2,
|
|
210
211
|
};
|
|
211
212
|
exports.HostingChangeResponseModelTypeEnum = {
|
|
212
213
|
NewInstance: 'New Instance',
|
|
213
|
-
BuildingInstance: 'Building Instance'
|
|
214
|
+
BuildingInstance: 'Building Instance',
|
|
214
215
|
};
|
|
215
216
|
exports.HostingRegionDTOCodeEnum = {
|
|
216
217
|
Uk1: 'UK1',
|
|
@@ -221,12 +222,12 @@ exports.HostingRegionDTOCodeEnum = {
|
|
|
221
222
|
Syd1: 'SYD1',
|
|
222
223
|
Sgp1: 'SGP1',
|
|
223
224
|
UsEastVa1: 'US-EAST-VA-1',
|
|
224
|
-
UsWestOr1: 'US-WEST-OR-1'
|
|
225
|
+
UsWestOr1: 'US-WEST-OR-1',
|
|
225
226
|
};
|
|
226
227
|
exports.ItemDiscountEntityTypeEnum = {
|
|
227
228
|
TcxPhones: 'TCX_PHONES',
|
|
228
229
|
PhoneBulk: 'PHONE_BULK',
|
|
229
|
-
Additional: 'ADDITIONAL'
|
|
230
|
+
Additional: 'ADDITIONAL',
|
|
230
231
|
};
|
|
231
232
|
exports.MultiTenantChangeResponseModelTypeEnum = {
|
|
232
233
|
NewTrunk: 'New Trunk',
|
|
@@ -242,15 +243,15 @@ exports.MultiTenantChangeResponseModelTypeEnum = {
|
|
|
242
243
|
Address: 'Address',
|
|
243
244
|
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
244
245
|
Fraud: 'Fraud',
|
|
245
|
-
CallBarring: 'Call Barring'
|
|
246
|
+
CallBarring: 'Call Barring',
|
|
246
247
|
};
|
|
247
248
|
exports.OrderRequestModelLicenceTypeEnum = {
|
|
248
249
|
Lite: 'lite',
|
|
249
|
-
Pro: 'pro'
|
|
250
|
+
Pro: 'pro',
|
|
250
251
|
};
|
|
251
252
|
exports.OrderRequestModelSchoolTypeEnum = {
|
|
252
253
|
Primary: 'primary',
|
|
253
|
-
Secondary: 'secondary'
|
|
254
|
+
Secondary: 'secondary',
|
|
254
255
|
};
|
|
255
256
|
exports.OrderTotalModelCurrencyEnum = {
|
|
256
257
|
Eur: 'EUR',
|
|
@@ -283,7 +284,7 @@ exports.OrderTotalModelCurrencyEnum = {
|
|
|
283
284
|
Php: 'PHP',
|
|
284
285
|
Sgd: 'SGD',
|
|
285
286
|
Thb: 'THB',
|
|
286
|
-
Zar: 'ZAR'
|
|
287
|
+
Zar: 'ZAR',
|
|
287
288
|
};
|
|
288
289
|
exports.PatchUpdatePriceListRequestPriceListEnum = {
|
|
289
290
|
Rrp: 'RRP',
|
|
@@ -292,14 +293,14 @@ exports.PatchUpdatePriceListRequestPriceListEnum = {
|
|
|
292
293
|
Itsp: 'ITSP',
|
|
293
294
|
SubDisti: 'Sub Disti',
|
|
294
295
|
Distributor: 'Distributor',
|
|
295
|
-
HotelDisti: 'Hotel Disti'
|
|
296
|
+
HotelDisti: 'Hotel Disti',
|
|
296
297
|
};
|
|
297
298
|
exports.PatchUpdateTcxHostingPriceListRequestPriceListEnum = {
|
|
298
299
|
_1: '1',
|
|
299
300
|
_2: '2',
|
|
300
301
|
_3: '3',
|
|
301
302
|
_4: '4',
|
|
302
|
-
_5: '5'
|
|
303
|
+
_5: '5',
|
|
303
304
|
};
|
|
304
305
|
exports.ProspectDTOStatusEnum = {
|
|
305
306
|
NoCallBackSet: 'No Call Back Set',
|
|
@@ -307,47 +308,52 @@ exports.ProspectDTOStatusEnum = {
|
|
|
307
308
|
NoOrdersPlaced: 'No Orders Placed',
|
|
308
309
|
NoOrdersInTheLast4Months: 'No Orders In The Last 4 Months',
|
|
309
310
|
NoActionRequired: 'No Action Required',
|
|
310
|
-
DoNotCall: 'Do Not Call'
|
|
311
|
+
DoNotCall: 'Do Not Call',
|
|
311
312
|
};
|
|
312
313
|
exports.ServiceHealthDTOGlobalStatusEnum = {
|
|
313
314
|
NUMBER_0: 0,
|
|
314
315
|
NUMBER_1: 1,
|
|
315
|
-
NUMBER_2: 2
|
|
316
|
+
NUMBER_2: 2,
|
|
316
317
|
};
|
|
317
318
|
exports.ServiceStatusDTOStatusEnum = {
|
|
318
319
|
_0: '0',
|
|
319
320
|
_1: '1',
|
|
320
|
-
_2: '2'
|
|
321
|
+
_2: '2',
|
|
321
322
|
};
|
|
322
323
|
exports.ShipmentDTOCourierEnum = {
|
|
323
324
|
Dpd: 'DPD',
|
|
324
325
|
ChorltonPallet: 'Chorlton Pallet',
|
|
325
|
-
Pops: 'POPS'
|
|
326
|
+
Pops: 'POPS',
|
|
327
|
+
Interparcel: 'Interparcel',
|
|
326
328
|
};
|
|
327
329
|
exports.ShipmentRequestDTOCourierEnum = {
|
|
328
330
|
Dpd: 'DPD',
|
|
329
331
|
ChorltonPallet: 'Chorlton Pallet',
|
|
330
|
-
Pops: 'POPS'
|
|
332
|
+
Pops: 'POPS',
|
|
333
|
+
Interparcel: 'Interparcel',
|
|
331
334
|
};
|
|
332
335
|
exports.ShippingRequestDTOCourierEnum = {
|
|
333
336
|
Dpd: 'DPD',
|
|
334
337
|
ChorltonPallet: 'Chorlton Pallet',
|
|
335
|
-
Pops: 'POPS'
|
|
338
|
+
Pops: 'POPS',
|
|
339
|
+
Interparcel: 'Interparcel',
|
|
336
340
|
};
|
|
337
341
|
exports.ShippingRequestDTOPrinterEnum = {
|
|
338
342
|
NUMBER_1: 1,
|
|
339
343
|
NUMBER_2: 2,
|
|
340
|
-
NUMBER_3: 3
|
|
344
|
+
NUMBER_3: 3,
|
|
341
345
|
};
|
|
342
346
|
exports.ShippingServiceDTOCourierEnum = {
|
|
343
347
|
Dpd: 'DPD',
|
|
344
348
|
ChorltonPallet: 'Chorlton Pallet',
|
|
345
|
-
Pops: 'POPS'
|
|
349
|
+
Pops: 'POPS',
|
|
350
|
+
Interparcel: 'Interparcel',
|
|
346
351
|
};
|
|
347
352
|
exports.ShippingServiceModelCourierEnum = {
|
|
348
353
|
Dpd: 'DPD',
|
|
349
354
|
ChorltonPallet: 'Chorlton Pallet',
|
|
350
|
-
Pops: 'POPS'
|
|
355
|
+
Pops: 'POPS',
|
|
356
|
+
Interparcel: 'Interparcel',
|
|
351
357
|
};
|
|
352
358
|
exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
353
359
|
NewTrunk: 'New Trunk',
|
|
@@ -363,17 +369,17 @@ exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
|
363
369
|
Address: 'Address',
|
|
364
370
|
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
365
371
|
Fraud: 'Fraud',
|
|
366
|
-
CallBarring: 'Call Barring'
|
|
372
|
+
CallBarring: 'Call Barring',
|
|
367
373
|
};
|
|
368
374
|
exports.SmsAccountRequestDTOProviderEnum = {
|
|
369
|
-
NUMBER_1: 1
|
|
375
|
+
NUMBER_1: 1,
|
|
370
376
|
};
|
|
371
377
|
exports.SmsAccountRequestDTOTypeEnum = {
|
|
372
378
|
Local: 'local',
|
|
373
379
|
TollFree: 'toll_free',
|
|
374
380
|
Mobile: 'mobile',
|
|
375
381
|
National: 'national',
|
|
376
|
-
SharedCost: 'shared_cost'
|
|
382
|
+
SharedCost: 'shared_cost',
|
|
377
383
|
};
|
|
378
384
|
exports.SmsPhoneNumberModelStatusEnum = {
|
|
379
385
|
Queued: 'queued',
|
|
@@ -384,31 +390,31 @@ exports.SmsPhoneNumberModelStatusEnum = {
|
|
|
384
390
|
DeliveryUnconfirmed: 'delivery_unconfirmed',
|
|
385
391
|
Delivered: 'delivered',
|
|
386
392
|
DeliveryFailed: 'delivery_failed',
|
|
387
|
-
WebhookDelivered: 'webhook_delivered'
|
|
393
|
+
WebhookDelivered: 'webhook_delivered',
|
|
388
394
|
};
|
|
389
395
|
exports.SmsResponseModelEventTypeEnum = {
|
|
390
396
|
MessageSent: 'message.sent',
|
|
391
397
|
MessageFinalized: 'message.finalized',
|
|
392
|
-
MessageReceived: 'message.received'
|
|
398
|
+
MessageReceived: 'message.received',
|
|
393
399
|
};
|
|
394
400
|
exports.StockOrderModelDeliveryMethodEnum = {
|
|
395
401
|
Sea: 'Sea',
|
|
396
402
|
Air: 'Air',
|
|
397
|
-
Road: 'Road'
|
|
403
|
+
Road: 'Road',
|
|
398
404
|
};
|
|
399
405
|
exports.StockOrderModelPaidEnum = {
|
|
400
406
|
NUMBER_0: 0,
|
|
401
407
|
NUMBER_1: 1,
|
|
402
|
-
NUMBER_2: 2
|
|
408
|
+
NUMBER_2: 2,
|
|
403
409
|
};
|
|
404
410
|
exports.TcxMultiTenantModelPackageEnum = {
|
|
405
|
-
_3CxStarterBundle: '3CX Starter Bundle'
|
|
411
|
+
_3CxStarterBundle: '3CX Starter Bundle',
|
|
406
412
|
};
|
|
407
413
|
exports.TcxSetupEntityInstallTypeEnum = {
|
|
408
414
|
New: 'new',
|
|
409
415
|
Restore: 'restore',
|
|
410
416
|
Failover: 'failover',
|
|
411
|
-
MultiTenant: 'multi-tenant'
|
|
417
|
+
MultiTenant: 'multi-tenant',
|
|
412
418
|
};
|
|
413
419
|
exports.TcxSetupEntityRegionEnum = {
|
|
414
420
|
Uk1: 'UK1',
|
|
@@ -419,13 +425,13 @@ exports.TcxSetupEntityRegionEnum = {
|
|
|
419
425
|
Syd1: 'SYD1',
|
|
420
426
|
Sgp1: 'SGP1',
|
|
421
427
|
UsEastVa1: 'US-EAST-VA-1',
|
|
422
|
-
UsWestOr1: 'US-WEST-OR-1'
|
|
428
|
+
UsWestOr1: 'US-WEST-OR-1',
|
|
423
429
|
};
|
|
424
430
|
exports.TcxWizardModelInstallTypeEnum = {
|
|
425
431
|
New: 'new',
|
|
426
432
|
Restore: 'restore',
|
|
427
433
|
Failover: 'failover',
|
|
428
|
-
MultiTenant: 'multi-tenant'
|
|
434
|
+
MultiTenant: 'multi-tenant',
|
|
429
435
|
};
|
|
430
436
|
exports.TcxWizardModelInstallationStatusEnum = {
|
|
431
437
|
Building: 'Building',
|
|
@@ -442,15 +448,15 @@ exports.TcxWizardModelInstallationStatusEnum = {
|
|
|
442
448
|
RecordingsBackupInstalled: 'Recordings Backup Installed',
|
|
443
449
|
Complete: 'Complete',
|
|
444
450
|
Deleted: 'Deleted',
|
|
445
|
-
Failed: 'Failed'
|
|
451
|
+
Failed: 'Failed',
|
|
446
452
|
};
|
|
447
453
|
exports.UpgradeRequestModelLicenceTypeEnum = {
|
|
448
454
|
Lite: 'lite',
|
|
449
|
-
Pro: 'pro'
|
|
455
|
+
Pro: 'pro',
|
|
450
456
|
};
|
|
451
457
|
exports.UpgradeRequestModelSchoolTypeEnum = {
|
|
452
458
|
Primary: 'primary',
|
|
453
|
-
Secondary: 'secondary'
|
|
459
|
+
Secondary: 'secondary',
|
|
454
460
|
};
|
|
455
461
|
/**
|
|
456
462
|
* AccountsApi - axios parameter creator
|
|
@@ -479,8 +485,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
479
485
|
// verify required parameter 'contactId' is not null or undefined
|
|
480
486
|
(0, common_1.assertParamExists)('deleteAdminUpdateAccountContact', 'contactId', contactId);
|
|
481
487
|
localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
|
|
482
|
-
.replace(
|
|
483
|
-
.replace(
|
|
488
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
489
|
+
.replace('{contact_id}', encodeURIComponent(String(contactId)));
|
|
484
490
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
485
491
|
if (configuration) {
|
|
486
492
|
baseOptions = configuration.baseOptions;
|
|
@@ -516,7 +522,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
516
522
|
// verify required parameter 'id' is not null or undefined
|
|
517
523
|
(0, common_1.assertParamExists)('deleteArchiveAccount', 'id', id);
|
|
518
524
|
localVarPath = "/admin/accounts/{id}/archive"
|
|
519
|
-
.replace(
|
|
525
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
520
526
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
521
527
|
if (configuration) {
|
|
522
528
|
baseOptions = configuration.baseOptions;
|
|
@@ -553,7 +559,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
553
559
|
// verify required parameter 'id' is not null or undefined
|
|
554
560
|
(0, common_1.assertParamExists)('deleteDeleteClientCredentials', 'id', id);
|
|
555
561
|
localVarPath = "/accounts/me/contacts/credentials/{id}"
|
|
556
|
-
.replace(
|
|
562
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
557
563
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
558
564
|
if (configuration) {
|
|
559
565
|
baseOptions = configuration.baseOptions;
|
|
@@ -590,7 +596,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
590
596
|
// verify required parameter 'email' is not null or undefined
|
|
591
597
|
(0, common_1.assertParamExists)('deleteUpdateAccountContact', 'email', email);
|
|
592
598
|
localVarPath = "/accounts/me/contacts/{email}"
|
|
593
|
-
.replace(
|
|
599
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
594
600
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
595
601
|
if (configuration) {
|
|
596
602
|
baseOptions = configuration.baseOptions;
|
|
@@ -626,7 +632,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
626
632
|
// verify required parameter 'id' is not null or undefined
|
|
627
633
|
(0, common_1.assertParamExists)('getAdminCreateAccountContact', 'id', id);
|
|
628
634
|
localVarPath = "/admin/accounts/{id}/contacts"
|
|
629
|
-
.replace(
|
|
635
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
630
636
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
631
637
|
if (configuration) {
|
|
632
638
|
baseOptions = configuration.baseOptions;
|
|
@@ -697,7 +703,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
697
703
|
// verify required parameter 'id' is not null or undefined
|
|
698
704
|
(0, common_1.assertParamExists)('getGetAccountAddresses', 'id', id);
|
|
699
705
|
localVarPath = "/admin/accounts/{id}/addresses"
|
|
700
|
-
.replace(
|
|
706
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
701
707
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
702
708
|
if (configuration) {
|
|
703
709
|
baseOptions = configuration.baseOptions;
|
|
@@ -773,7 +779,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
773
779
|
// verify required parameter 'id' is not null or undefined
|
|
774
780
|
(0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
|
|
775
781
|
localVarPath = "/accounts/{id}/summary"
|
|
776
|
-
.replace(
|
|
782
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
777
783
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
778
784
|
if (configuration) {
|
|
779
785
|
baseOptions = configuration.baseOptions;
|
|
@@ -876,6 +882,39 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
876
882
|
});
|
|
877
883
|
});
|
|
878
884
|
},
|
|
885
|
+
/**
|
|
886
|
+
* Get Customer Accounts List
|
|
887
|
+
* @param {*} [options] Override http request option.
|
|
888
|
+
* @throws {RequiredError}
|
|
889
|
+
*/
|
|
890
|
+
getGetCustomerAccountsList: function () {
|
|
891
|
+
var args_1 = [];
|
|
892
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
893
|
+
args_1[_i] = arguments[_i];
|
|
894
|
+
}
|
|
895
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
896
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
897
|
+
if (options === void 0) { options = {}; }
|
|
898
|
+
return __generator(this, function (_a) {
|
|
899
|
+
localVarPath = "/admin/accounts/customers/list";
|
|
900
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
901
|
+
if (configuration) {
|
|
902
|
+
baseOptions = configuration.baseOptions;
|
|
903
|
+
}
|
|
904
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
905
|
+
localVarHeaderParameter = {};
|
|
906
|
+
localVarQueryParameter = {};
|
|
907
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
908
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
909
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
910
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
911
|
+
return [2 /*return*/, {
|
|
912
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
913
|
+
options: localVarRequestOptions,
|
|
914
|
+
}];
|
|
915
|
+
});
|
|
916
|
+
});
|
|
917
|
+
},
|
|
879
918
|
/**
|
|
880
919
|
* Get 3CX Keys
|
|
881
920
|
* @summary Get 3CX Keys
|
|
@@ -928,7 +967,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
928
967
|
// verify required parameter 'id' is not null or undefined
|
|
929
968
|
(0, common_1.assertParamExists)('getGetFinanceSettings', 'id', id);
|
|
930
969
|
localVarPath = "/admin/accounts/{id}/finance"
|
|
931
|
-
.replace(
|
|
970
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
932
971
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
933
972
|
if (configuration) {
|
|
934
973
|
baseOptions = configuration.baseOptions;
|
|
@@ -999,7 +1038,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
999
1038
|
// verify required parameter 'id' is not null or undefined
|
|
1000
1039
|
(0, common_1.assertParamExists)('getGetTcxPartnerDetails', 'id', id);
|
|
1001
1040
|
localVarPath = "/admin/accounts/{id}/tcx/partner"
|
|
1002
|
-
.replace(
|
|
1041
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1003
1042
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1004
1043
|
if (configuration) {
|
|
1005
1044
|
baseOptions = configuration.baseOptions;
|
|
@@ -1078,8 +1117,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1078
1117
|
// verify required parameter 'state' is not null or undefined
|
|
1079
1118
|
(0, common_1.assertParamExists)('patchSetPortalAccess', 'state', state);
|
|
1080
1119
|
localVarPath = "/admin/accounts/{id}/portal/access/{state}"
|
|
1081
|
-
.replace(
|
|
1082
|
-
.replace(
|
|
1120
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1121
|
+
.replace('{state}', encodeURIComponent(String(state)));
|
|
1083
1122
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1084
1123
|
if (configuration) {
|
|
1085
1124
|
baseOptions = configuration.baseOptions;
|
|
@@ -1118,8 +1157,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1118
1157
|
// verify required parameter 'state' is not null or undefined
|
|
1119
1158
|
(0, common_1.assertParamExists)('patchSetPrizePromo', 'state', state);
|
|
1120
1159
|
localVarPath = "/admin/accounts/{id}/prizes/{state}"
|
|
1121
|
-
.replace(
|
|
1122
|
-
.replace(
|
|
1160
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1161
|
+
.replace('{state}', encodeURIComponent(String(state)));
|
|
1123
1162
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1124
1163
|
if (configuration) {
|
|
1125
1164
|
baseOptions = configuration.baseOptions;
|
|
@@ -1191,7 +1230,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1191
1230
|
// verify required parameter 'id' is not null or undefined
|
|
1192
1231
|
(0, common_1.assertParamExists)('patchUpdateAccountCname', 'id', id);
|
|
1193
1232
|
localVarPath = "/admin/accounts/{id}/cname"
|
|
1194
|
-
.replace(
|
|
1233
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1195
1234
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1196
1235
|
if (configuration) {
|
|
1197
1236
|
baseOptions = configuration.baseOptions;
|
|
@@ -1230,7 +1269,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1230
1269
|
// verify required parameter 'id' is not null or undefined
|
|
1231
1270
|
(0, common_1.assertParamExists)('patchUpdateAccountCompanyNumber', 'id', id);
|
|
1232
1271
|
localVarPath = "/admin/accounts/{id}/companyNumber"
|
|
1233
|
-
.replace(
|
|
1272
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1234
1273
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1235
1274
|
if (configuration) {
|
|
1236
1275
|
baseOptions = configuration.baseOptions;
|
|
@@ -1311,7 +1350,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1311
1350
|
// verify required parameter 'id' is not null or undefined
|
|
1312
1351
|
(0, common_1.assertParamExists)('patchUpdateAccountPhone', 'id', id);
|
|
1313
1352
|
localVarPath = "/admin/accounts/{id}/phone"
|
|
1314
|
-
.replace(
|
|
1353
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1315
1354
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1316
1355
|
if (configuration) {
|
|
1317
1356
|
baseOptions = configuration.baseOptions;
|
|
@@ -1350,7 +1389,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1350
1389
|
// verify required parameter 'id' is not null or undefined
|
|
1351
1390
|
(0, common_1.assertParamExists)('patchUpdateAccountVatNumber', 'id', id);
|
|
1352
1391
|
localVarPath = "/admin/accounts/{id}/vatNumber"
|
|
1353
|
-
.replace(
|
|
1392
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1354
1393
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1355
1394
|
if (configuration) {
|
|
1356
1395
|
baseOptions = configuration.baseOptions;
|
|
@@ -1389,7 +1428,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1389
1428
|
// verify required parameter 'id' is not null or undefined
|
|
1390
1429
|
(0, common_1.assertParamExists)('patchUpdateCreditLimit', 'id', id);
|
|
1391
1430
|
localVarPath = "/admin/accounts/{id}/creditLimit"
|
|
1392
|
-
.replace(
|
|
1431
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1393
1432
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1394
1433
|
if (configuration) {
|
|
1395
1434
|
baseOptions = configuration.baseOptions;
|
|
@@ -1429,7 +1468,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1429
1468
|
// verify required parameter 'id' is not null or undefined
|
|
1430
1469
|
(0, common_1.assertParamExists)('patchUpdatePriceList', 'id', id);
|
|
1431
1470
|
localVarPath = "/admin/accounts/{id}/priceList"
|
|
1432
|
-
.replace(
|
|
1471
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1433
1472
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1434
1473
|
if (configuration) {
|
|
1435
1474
|
baseOptions = configuration.baseOptions;
|
|
@@ -1469,7 +1508,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1469
1508
|
// verify required parameter 'id' is not null or undefined
|
|
1470
1509
|
(0, common_1.assertParamExists)('patchUpdateSipChannelCost', 'id', id);
|
|
1471
1510
|
localVarPath = "/admin/accounts/{id}/channelCost"
|
|
1472
|
-
.replace(
|
|
1511
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1473
1512
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1474
1513
|
if (configuration) {
|
|
1475
1514
|
baseOptions = configuration.baseOptions;
|
|
@@ -1509,7 +1548,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1509
1548
|
// verify required parameter 'id' is not null or undefined
|
|
1510
1549
|
(0, common_1.assertParamExists)('patchUpdateTcxHostingPriceList', 'id', id);
|
|
1511
1550
|
localVarPath = "/admin/accounts/{id}/tcx/hosting/priceList"
|
|
1512
|
-
.replace(
|
|
1551
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1513
1552
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1514
1553
|
if (configuration) {
|
|
1515
1554
|
baseOptions = configuration.baseOptions;
|
|
@@ -1549,7 +1588,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1549
1588
|
// verify required parameter 'id' is not null or undefined
|
|
1550
1589
|
(0, common_1.assertParamExists)('patchUpdateTcxPartnerId', 'id', id);
|
|
1551
1590
|
localVarPath = "/admin/accounts{id}/tcx/partner/id"
|
|
1552
|
-
.replace(
|
|
1591
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1553
1592
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1554
1593
|
if (configuration) {
|
|
1555
1594
|
baseOptions = configuration.baseOptions;
|
|
@@ -1589,7 +1628,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1589
1628
|
// verify required parameter 'id' is not null or undefined
|
|
1590
1629
|
(0, common_1.assertParamExists)('postAdminCreateAccountContact', 'id', id);
|
|
1591
1630
|
localVarPath = "/admin/accounts/{id}/contacts"
|
|
1592
|
-
.replace(
|
|
1631
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1593
1632
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1594
1633
|
if (configuration) {
|
|
1595
1634
|
baseOptions = configuration.baseOptions;
|
|
@@ -1772,7 +1811,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1772
1811
|
// verify required parameter 'email' is not null or undefined
|
|
1773
1812
|
(0, common_1.assertParamExists)('postSendEmailVerificationEmail', 'email', email);
|
|
1774
1813
|
localVarPath = "/accounts/contacts/verify/{email}"
|
|
1775
|
-
.replace(
|
|
1814
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1776
1815
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1777
1816
|
if (configuration) {
|
|
1778
1817
|
baseOptions = configuration.baseOptions;
|
|
@@ -1848,7 +1887,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1848
1887
|
// verify required parameter 'id' is not null or undefined
|
|
1849
1888
|
(0, common_1.assertParamExists)('postSendWelcomeEmail', 'id', id);
|
|
1850
1889
|
localVarPath = "/admin/accounts/{id}/email/welcome"
|
|
1851
|
-
.replace(
|
|
1890
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1852
1891
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1853
1892
|
if (configuration) {
|
|
1854
1893
|
baseOptions = configuration.baseOptions;
|
|
@@ -1935,8 +1974,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1935
1974
|
// verify required parameter 'contactId' is not null or undefined
|
|
1936
1975
|
(0, common_1.assertParamExists)('putAdminUpdateAccountContact', 'contactId', contactId);
|
|
1937
1976
|
localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
|
|
1938
|
-
.replace(
|
|
1939
|
-
.replace(
|
|
1977
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1978
|
+
.replace('{contact_id}', encodeURIComponent(String(contactId)));
|
|
1940
1979
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1941
1980
|
if (configuration) {
|
|
1942
1981
|
baseOptions = configuration.baseOptions;
|
|
@@ -1976,7 +2015,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1976
2015
|
// verify required parameter 'email' is not null or undefined
|
|
1977
2016
|
(0, common_1.assertParamExists)('putUpdateAccountContact', 'email', email);
|
|
1978
2017
|
localVarPath = "/accounts/me/contacts/{email}"
|
|
1979
|
-
.replace(
|
|
2018
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1980
2019
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1981
2020
|
if (configuration) {
|
|
1982
2021
|
baseOptions = configuration.baseOptions;
|
|
@@ -2015,7 +2054,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
2015
2054
|
// verify required parameter 'id' is not null or undefined
|
|
2016
2055
|
(0, common_1.assertParamExists)('putUpdateBillingAddress', 'id', id);
|
|
2017
2056
|
localVarPath = "/admin/accounts/{id}/billing/address"
|
|
2018
|
-
.replace(
|
|
2057
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
2019
2058
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2020
2059
|
if (configuration) {
|
|
2021
2060
|
baseOptions = configuration.baseOptions;
|
|
@@ -2054,7 +2093,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
2054
2093
|
// verify required parameter 'id' is not null or undefined
|
|
2055
2094
|
(0, common_1.assertParamExists)('putUpdateShippingAddress', 'id', id);
|
|
2056
2095
|
localVarPath = "/admin/accounts/{id}/shipping/address"
|
|
2057
|
-
.replace(
|
|
2096
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
2058
2097
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2059
2098
|
if (configuration) {
|
|
2060
2099
|
baseOptions = configuration.baseOptions;
|
|
@@ -2334,6 +2373,27 @@ var AccountsApiFp = function (configuration) {
|
|
|
2334
2373
|
});
|
|
2335
2374
|
});
|
|
2336
2375
|
},
|
|
2376
|
+
/**
|
|
2377
|
+
* Get Customer Accounts List
|
|
2378
|
+
* @param {*} [options] Override http request option.
|
|
2379
|
+
* @throws {RequiredError}
|
|
2380
|
+
*/
|
|
2381
|
+
getGetCustomerAccountsList: function (options) {
|
|
2382
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2383
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2384
|
+
var _a, _b, _c;
|
|
2385
|
+
return __generator(this, function (_d) {
|
|
2386
|
+
switch (_d.label) {
|
|
2387
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetCustomerAccountsList(options)];
|
|
2388
|
+
case 1:
|
|
2389
|
+
localVarAxiosArgs = _d.sent();
|
|
2390
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2391
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetCustomerAccountsList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2392
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2393
|
+
}
|
|
2394
|
+
});
|
|
2395
|
+
});
|
|
2396
|
+
},
|
|
2337
2397
|
/**
|
|
2338
2398
|
* Get 3CX Keys
|
|
2339
2399
|
* @summary Get 3CX Keys
|
|
@@ -3163,6 +3223,14 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
3163
3223
|
getGetClientCredentials: function (options) {
|
|
3164
3224
|
return localVarFp.getGetClientCredentials(options).then(function (request) { return request(axios, basePath); });
|
|
3165
3225
|
},
|
|
3226
|
+
/**
|
|
3227
|
+
* Get Customer Accounts List
|
|
3228
|
+
* @param {*} [options] Override http request option.
|
|
3229
|
+
* @throws {RequiredError}
|
|
3230
|
+
*/
|
|
3231
|
+
getGetCustomerAccountsList: function (options) {
|
|
3232
|
+
return localVarFp.getGetCustomerAccountsList(options).then(function (request) { return request(axios, basePath); });
|
|
3233
|
+
},
|
|
3166
3234
|
/**
|
|
3167
3235
|
* Get 3CX Keys
|
|
3168
3236
|
* @summary Get 3CX Keys
|
|
@@ -3602,6 +3670,15 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3602
3670
|
var _this = this;
|
|
3603
3671
|
return (0, exports.AccountsApiFp)(this.configuration).getGetClientCredentials(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3604
3672
|
};
|
|
3673
|
+
/**
|
|
3674
|
+
* Get Customer Accounts List
|
|
3675
|
+
* @param {*} [options] Override http request option.
|
|
3676
|
+
* @throws {RequiredError}
|
|
3677
|
+
*/
|
|
3678
|
+
AccountsApi.prototype.getGetCustomerAccountsList = function (options) {
|
|
3679
|
+
var _this = this;
|
|
3680
|
+
return (0, exports.AccountsApiFp)(this.configuration).getGetCustomerAccountsList(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3681
|
+
};
|
|
3605
3682
|
/**
|
|
3606
3683
|
* Get 3CX Keys
|
|
3607
3684
|
* @summary Get 3CX Keys
|
|
@@ -3947,11 +4024,11 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3947
4024
|
exports.AccountsApi = AccountsApi;
|
|
3948
4025
|
exports.PatchSetPortalAccessStateEnum = {
|
|
3949
4026
|
Enable: 'enable',
|
|
3950
|
-
Disable: 'disable'
|
|
4027
|
+
Disable: 'disable',
|
|
3951
4028
|
};
|
|
3952
4029
|
exports.PatchSetPrizePromoStateEnum = {
|
|
3953
4030
|
Enable: 'enable',
|
|
3954
|
-
Disable: 'disable'
|
|
4031
|
+
Disable: 'disable',
|
|
3955
4032
|
};
|
|
3956
4033
|
/**
|
|
3957
4034
|
* BillingApi - axios parameter creator
|
|
@@ -4092,7 +4169,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
4092
4169
|
// verify required parameter 'id' is not null or undefined
|
|
4093
4170
|
(0, common_1.assertParamExists)('getGetCrmActivities', 'id', id);
|
|
4094
4171
|
localVarPath = "/admin/crm/{id}/activities"
|
|
4095
|
-
.replace(
|
|
4172
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4096
4173
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4097
4174
|
if (configuration) {
|
|
4098
4175
|
baseOptions = configuration.baseOptions;
|
|
@@ -4169,7 +4246,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
4169
4246
|
// verify required parameter 'id' is not null or undefined
|
|
4170
4247
|
(0, common_1.assertParamExists)('postCreateCrmNote', 'id', id);
|
|
4171
4248
|
localVarPath = "/admin/crm/{id}/activities/note"
|
|
4172
|
-
.replace(
|
|
4249
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4173
4250
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4174
4251
|
if (configuration) {
|
|
4175
4252
|
baseOptions = configuration.baseOptions;
|
|
@@ -4358,7 +4435,7 @@ exports.GetGetCrmActivitiesTypeEnum = {
|
|
|
4358
4435
|
Note: 'note',
|
|
4359
4436
|
Order: 'order',
|
|
4360
4437
|
Quote: 'quote',
|
|
4361
|
-
TcxOrder: 'tcx_order'
|
|
4438
|
+
TcxOrder: 'tcx_order',
|
|
4362
4439
|
};
|
|
4363
4440
|
/**
|
|
4364
4441
|
* Class3CXApi - axios parameter creator
|
|
@@ -4908,7 +4985,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
4908
4985
|
// verify required parameter 'id' is not null or undefined
|
|
4909
4986
|
(0, common_1.assertParamExists)('getGetDdisTcxWizard', 'id', id);
|
|
4910
4987
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
4911
|
-
.replace(
|
|
4988
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4912
4989
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4913
4990
|
if (configuration) {
|
|
4914
4991
|
baseOptions = configuration.baseOptions;
|
|
@@ -5137,7 +5214,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
5137
5214
|
// verify required parameter 'id' is not null or undefined
|
|
5138
5215
|
(0, common_1.assertParamExists)('getGetSipTrunkTcxWizard', 'id', id);
|
|
5139
5216
|
localVarPath = "/tcx/wizards/sip/trunks/{id}"
|
|
5140
|
-
.replace(
|
|
5217
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
5141
5218
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5142
5219
|
if (configuration) {
|
|
5143
5220
|
baseOptions = configuration.baseOptions;
|
|
@@ -5775,7 +5852,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
5775
5852
|
// verify required parameter 'id' is not null or undefined
|
|
5776
5853
|
(0, common_1.assertParamExists)('postGetDdisTcxWizard', 'id', id);
|
|
5777
5854
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
5778
|
-
.replace(
|
|
5855
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
5779
5856
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5780
5857
|
if (configuration) {
|
|
5781
5858
|
baseOptions = configuration.baseOptions;
|
|
@@ -7514,7 +7591,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7514
7591
|
// verify required parameter 'wizardId' is not null or undefined
|
|
7515
7592
|
(0, common_1.assertParamExists)('getGetDetails', 'wizardId', wizardId);
|
|
7516
7593
|
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
7517
|
-
.replace(
|
|
7594
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
7518
7595
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7519
7596
|
if (configuration) {
|
|
7520
7597
|
baseOptions = configuration.baseOptions;
|
|
@@ -7614,7 +7691,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7614
7691
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7615
7692
|
(0, common_1.assertParamExists)('getGetRecordingBackupStorage', 'instanceId', instanceId);
|
|
7616
7693
|
localVarPath = "/tcx/installations/{instance_id}/recordings/backup"
|
|
7617
|
-
.replace(
|
|
7694
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7618
7695
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7619
7696
|
if (configuration) {
|
|
7620
7697
|
baseOptions = configuration.baseOptions;
|
|
@@ -7655,7 +7732,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7655
7732
|
// verify required parameter 'customerId' is not null or undefined
|
|
7656
7733
|
(0, common_1.assertParamExists)('patchChangeInstanceOwner', 'customerId', customerId);
|
|
7657
7734
|
localVarPath = "/tcx/installations/{instance_id}/owner"
|
|
7658
|
-
.replace(
|
|
7735
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7659
7736
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7660
7737
|
if (configuration) {
|
|
7661
7738
|
baseOptions = configuration.baseOptions;
|
|
@@ -7698,7 +7775,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7698
7775
|
// verify required parameter 'enable' is not null or undefined
|
|
7699
7776
|
(0, common_1.assertParamExists)('patchUpdateAutoFailover', 'enable', enable);
|
|
7700
7777
|
localVarPath = "/tcx/installations/{instance_id}/failover/auto"
|
|
7701
|
-
.replace(
|
|
7778
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7702
7779
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7703
7780
|
if (configuration) {
|
|
7704
7781
|
baseOptions = configuration.baseOptions;
|
|
@@ -7741,7 +7818,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7741
7818
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
7742
7819
|
(0, common_1.assertParamExists)('postAddDisk', 'gigabytes', gigabytes);
|
|
7743
7820
|
localVarPath = "/tcx/installations/{instance_id}/disk"
|
|
7744
|
-
.replace(
|
|
7821
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7745
7822
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7746
7823
|
if (configuration) {
|
|
7747
7824
|
baseOptions = configuration.baseOptions;
|
|
@@ -7787,7 +7864,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7787
7864
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
7788
7865
|
(0, common_1.assertParamExists)('postCreateSshUser', 'ipAddress', ipAddress);
|
|
7789
7866
|
localVarPath = "/tcx/installations/{instance_id}/create/user/root"
|
|
7790
|
-
.replace(
|
|
7867
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7791
7868
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7792
7869
|
if (configuration) {
|
|
7793
7870
|
baseOptions = configuration.baseOptions;
|
|
@@ -7831,7 +7908,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7831
7908
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7832
7909
|
(0, common_1.assertParamExists)('postDeleteInstance', 'instanceId', instanceId);
|
|
7833
7910
|
localVarPath = "/tcx/installations/{instance_id}/delete"
|
|
7834
|
-
.replace(
|
|
7911
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7835
7912
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7836
7913
|
if (configuration) {
|
|
7837
7914
|
baseOptions = configuration.baseOptions;
|
|
@@ -7872,7 +7949,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7872
7949
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
7873
7950
|
(0, common_1.assertParamExists)('postExtendDisk', 'gigabytes', gigabytes);
|
|
7874
7951
|
localVarPath = "/tcx/installations/{instance_id}/disk/extend"
|
|
7875
|
-
.replace(
|
|
7952
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7876
7953
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7877
7954
|
if (configuration) {
|
|
7878
7955
|
baseOptions = configuration.baseOptions;
|
|
@@ -7918,7 +7995,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7918
7995
|
// verify required parameter 'type' is not null or undefined
|
|
7919
7996
|
(0, common_1.assertParamExists)('postFailoverInstance', 'type', type);
|
|
7920
7997
|
localVarPath = "/tcx/installations/{instance_id}/failover"
|
|
7921
|
-
.replace(
|
|
7998
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7922
7999
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7923
8000
|
if (configuration) {
|
|
7924
8001
|
baseOptions = configuration.baseOptions;
|
|
@@ -7958,7 +8035,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7958
8035
|
// verify required parameter 'sbcId' is not null or undefined
|
|
7959
8036
|
(0, common_1.assertParamExists)('postInstallTcxSbc', 'sbcId', sbcId);
|
|
7960
8037
|
localVarPath = "/tcx/installations/sbcs/{sbc_id}/install"
|
|
7961
|
-
.replace(
|
|
8038
|
+
.replace('{sbc_id}', encodeURIComponent(String(sbcId)));
|
|
7962
8039
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7963
8040
|
if (configuration) {
|
|
7964
8041
|
baseOptions = configuration.baseOptions;
|
|
@@ -7996,7 +8073,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7996
8073
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7997
8074
|
(0, common_1.assertParamExists)('postRebootInstance', 'instanceId', instanceId);
|
|
7998
8075
|
localVarPath = "/tcx/installations/{instance_id}/reboot"
|
|
7999
|
-
.replace(
|
|
8076
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
8000
8077
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8001
8078
|
if (configuration) {
|
|
8002
8079
|
baseOptions = configuration.baseOptions;
|
|
@@ -8037,7 +8114,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8037
8114
|
// verify required parameter 'size' is not null or undefined
|
|
8038
8115
|
(0, common_1.assertParamExists)('postResizeInstance', 'size', size);
|
|
8039
8116
|
localVarPath = "/tcx/installations/{instance_id}/resize"
|
|
8040
|
-
.replace(
|
|
8117
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
8041
8118
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8042
8119
|
if (configuration) {
|
|
8043
8120
|
baseOptions = configuration.baseOptions;
|
|
@@ -8081,7 +8158,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8081
8158
|
// verify required parameter 'instanceId' is not null or undefined
|
|
8082
8159
|
(0, common_1.assertParamExists)('postRestartServices', 'instanceId', instanceId);
|
|
8083
8160
|
localVarPath = "/tcx/installations/{instance_id}/services/restart"
|
|
8084
|
-
.replace(
|
|
8161
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
8085
8162
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8086
8163
|
if (configuration) {
|
|
8087
8164
|
baseOptions = configuration.baseOptions;
|
|
@@ -8122,7 +8199,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8122
8199
|
// verify required parameter 'instanceId' is not null or undefined
|
|
8123
8200
|
(0, common_1.assertParamExists)('postScheduledReboot', 'instanceId', instanceId);
|
|
8124
8201
|
localVarPath = "/tcx/installations/{instance_id}/reboot/scheduled"
|
|
8125
|
-
.replace(
|
|
8202
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
8126
8203
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8127
8204
|
if (configuration) {
|
|
8128
8205
|
baseOptions = configuration.baseOptions;
|
|
@@ -8163,7 +8240,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8163
8240
|
// verify required parameter 'instanceId' is not null or undefined
|
|
8164
8241
|
(0, common_1.assertParamExists)('postSuspendInstance', 'instanceId', instanceId);
|
|
8165
8242
|
localVarPath = "/tcx/installations/{instance_id}/suspend"
|
|
8166
|
-
.replace(
|
|
8243
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
8167
8244
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8168
8245
|
if (configuration) {
|
|
8169
8246
|
baseOptions = configuration.baseOptions;
|
|
@@ -8203,7 +8280,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8203
8280
|
// verify required parameter 'instanceId' is not null or undefined
|
|
8204
8281
|
(0, common_1.assertParamExists)('postTestLoginCredentials', 'instanceId', instanceId);
|
|
8205
8282
|
localVarPath = "/tcx/installations/{instance_id}/tests/login"
|
|
8206
|
-
.replace(
|
|
8283
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
8207
8284
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8208
8285
|
if (configuration) {
|
|
8209
8286
|
baseOptions = configuration.baseOptions;
|
|
@@ -8240,7 +8317,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8240
8317
|
// verify required parameter 'instanceId' is not null or undefined
|
|
8241
8318
|
(0, common_1.assertParamExists)('postUnsuspendInstance', 'instanceId', instanceId);
|
|
8242
8319
|
localVarPath = "/tcx/installations/{instance_id}/unsuspend"
|
|
8243
|
-
.replace(
|
|
8320
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
8244
8321
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8245
8322
|
if (configuration) {
|
|
8246
8323
|
baseOptions = configuration.baseOptions;
|
|
@@ -8280,7 +8357,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8280
8357
|
// verify required parameter 'schedule' is not null or undefined
|
|
8281
8358
|
(0, common_1.assertParamExists)('postUpgradeDebian', 'schedule', schedule);
|
|
8282
8359
|
localVarPath = "/tcx/installations/{instance_id}/debian/upgrade"
|
|
8283
|
-
.replace(
|
|
8360
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
8284
8361
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8285
8362
|
if (configuration) {
|
|
8286
8363
|
baseOptions = configuration.baseOptions;
|
|
@@ -8321,7 +8398,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8321
8398
|
// verify required parameter 'wizardId' is not null or undefined
|
|
8322
8399
|
(0, common_1.assertParamExists)('putGetDetails', 'wizardId', wizardId);
|
|
8323
8400
|
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
8324
|
-
.replace(
|
|
8401
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
8325
8402
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8326
8403
|
if (configuration) {
|
|
8327
8404
|
baseOptions = configuration.baseOptions;
|
|
@@ -9321,30 +9398,30 @@ exports.GetGetInstallationsStatusEnum = {
|
|
|
9321
9398
|
Completed: 'Completed',
|
|
9322
9399
|
Outstanding: 'Outstanding',
|
|
9323
9400
|
Offline: 'Offline',
|
|
9324
|
-
FailedOver: 'Failed Over'
|
|
9401
|
+
FailedOver: 'Failed Over',
|
|
9325
9402
|
};
|
|
9326
9403
|
exports.GetGetInstallationsHostingEnum = {
|
|
9327
9404
|
Yellowgrid: 'yellowgrid',
|
|
9328
9405
|
MultiTenant: 'multi-tenant',
|
|
9329
9406
|
Onprem: 'onprem',
|
|
9330
|
-
All: 'all'
|
|
9407
|
+
All: 'all',
|
|
9331
9408
|
};
|
|
9332
9409
|
exports.GetGetInstallationsInstallTypeEnum = {
|
|
9333
9410
|
New: 'new',
|
|
9334
9411
|
Restore: 'restore',
|
|
9335
9412
|
Failover: 'failover',
|
|
9336
|
-
MultiTenant: 'multi-tenant'
|
|
9413
|
+
MultiTenant: 'multi-tenant',
|
|
9337
9414
|
};
|
|
9338
9415
|
exports.PostFailoverInstanceTypeEnum = {
|
|
9339
9416
|
Config: 'config',
|
|
9340
|
-
Image: 'image'
|
|
9417
|
+
Image: 'image',
|
|
9341
9418
|
};
|
|
9342
9419
|
exports.PostResizeInstanceSizeEnum = {
|
|
9343
9420
|
D24: 'd2-4',
|
|
9344
9421
|
D28: 'd2-8',
|
|
9345
9422
|
B230: 'b2-30',
|
|
9346
9423
|
S2vcpu4gb: 's-2vcpu-4gb',
|
|
9347
|
-
S4vcpu8gb: 's-4vcpu-8gb'
|
|
9424
|
+
S4vcpu8gb: 's-4vcpu-8gb',
|
|
9348
9425
|
};
|
|
9349
9426
|
/**
|
|
9350
9427
|
* Class3CXIntegrationsApi - axios parameter creator
|
|
@@ -9499,8 +9576,8 @@ var Class3CXIntegrationsApiAxiosParamCreator = function (configuration) {
|
|
|
9499
9576
|
// verify required parameter 'ref' is not null or undefined
|
|
9500
9577
|
(0, common_1.assertParamExists)('patchUpdateEtpOrderReference', 'ref', ref);
|
|
9501
9578
|
localVarPath = "/tcx/integrations/edtechpro/{clientId}/schools/{schoolId}/orderReference"
|
|
9502
|
-
.replace(
|
|
9503
|
-
.replace(
|
|
9579
|
+
.replace('{clientId}', encodeURIComponent(String(clientId)))
|
|
9580
|
+
.replace('{schoolId}', encodeURIComponent(String(schoolId)));
|
|
9504
9581
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9505
9582
|
if (configuration) {
|
|
9506
9583
|
baseOptions = configuration.baseOptions;
|
|
@@ -9885,11 +9962,11 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
9885
9962
|
exports.Class3CXIntegrationsApi = Class3CXIntegrationsApi;
|
|
9886
9963
|
exports.GetGetPriceLicenceTypeEnum = {
|
|
9887
9964
|
Lite: 'lite',
|
|
9888
|
-
Pro: 'pro'
|
|
9965
|
+
Pro: 'pro',
|
|
9889
9966
|
};
|
|
9890
9967
|
exports.GetGetPriceSchoolTypeEnum = {
|
|
9891
9968
|
Primary: 'primary',
|
|
9892
|
-
Secondary: 'secondary'
|
|
9969
|
+
Secondary: 'secondary',
|
|
9893
9970
|
};
|
|
9894
9971
|
/**
|
|
9895
9972
|
* Class3CXMultiTenantApi - axios parameter creator
|
|
@@ -9916,7 +9993,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
9916
9993
|
// verify required parameter 'reference' is not null or undefined
|
|
9917
9994
|
(0, common_1.assertParamExists)('deleteGetTenant', 'reference', reference);
|
|
9918
9995
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
9919
|
-
.replace(
|
|
9996
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
9920
9997
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9921
9998
|
if (configuration) {
|
|
9922
9999
|
baseOptions = configuration.baseOptions;
|
|
@@ -9993,7 +10070,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
9993
10070
|
// verify required parameter 'reference' is not null or undefined
|
|
9994
10071
|
(0, common_1.assertParamExists)('getGetTenant', 'reference', reference);
|
|
9995
10072
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
9996
|
-
.replace(
|
|
10073
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
9997
10074
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9998
10075
|
if (configuration) {
|
|
9999
10076
|
baseOptions = configuration.baseOptions;
|
|
@@ -10610,7 +10687,7 @@ exports.GetGetTenantsStatusEnum = {
|
|
|
10610
10687
|
Completed: 'Completed',
|
|
10611
10688
|
Outstanding: 'Outstanding',
|
|
10612
10689
|
Offline: 'Offline',
|
|
10613
|
-
FailedOver: 'Failed Over'
|
|
10690
|
+
FailedOver: 'Failed Over',
|
|
10614
10691
|
};
|
|
10615
10692
|
/**
|
|
10616
10693
|
* MyPBXToolsApi - axios parameter creator
|
|
@@ -10767,7 +10844,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10767
10844
|
// verify required parameter 'id' is not null or undefined
|
|
10768
10845
|
(0, common_1.assertParamExists)('deleteGetAdminNumberPort', 'id', id);
|
|
10769
10846
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
10770
|
-
.replace(
|
|
10847
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10771
10848
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10772
10849
|
if (configuration) {
|
|
10773
10850
|
baseOptions = configuration.baseOptions;
|
|
@@ -10848,7 +10925,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10848
10925
|
// verify required parameter 'id' is not null or undefined
|
|
10849
10926
|
(0, common_1.assertParamExists)('getGetAdminNumberPort', 'id', id);
|
|
10850
10927
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
10851
|
-
.replace(
|
|
10928
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10852
10929
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10853
10930
|
if (configuration) {
|
|
10854
10931
|
baseOptions = configuration.baseOptions;
|
|
@@ -10930,7 +11007,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10930
11007
|
// verify required parameter 'id' is not null or undefined
|
|
10931
11008
|
(0, common_1.assertParamExists)('getUpdateNumberPort', 'id', id);
|
|
10932
11009
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
10933
|
-
.replace(
|
|
11010
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10934
11011
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10935
11012
|
if (configuration) {
|
|
10936
11013
|
baseOptions = configuration.baseOptions;
|
|
@@ -10967,7 +11044,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10967
11044
|
// verify required parameter 'id' is not null or undefined
|
|
10968
11045
|
(0, common_1.assertParamExists)('patchCancelAdminNumberPort', 'id', id);
|
|
10969
11046
|
localVarPath = "/admin/sip/numbers/ports/{id}/cancel"
|
|
10970
|
-
.replace(
|
|
11047
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10971
11048
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10972
11049
|
if (configuration) {
|
|
10973
11050
|
baseOptions = configuration.baseOptions;
|
|
@@ -11004,7 +11081,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
11004
11081
|
// verify required parameter 'id' is not null or undefined
|
|
11005
11082
|
(0, common_1.assertParamExists)('patchCloseAdminNumberPort', 'id', id);
|
|
11006
11083
|
localVarPath = "/admin/sip/numbers/ports/{id}/close"
|
|
11007
|
-
.replace(
|
|
11084
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11008
11085
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11009
11086
|
if (configuration) {
|
|
11010
11087
|
baseOptions = configuration.baseOptions;
|
|
@@ -11044,7 +11121,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
11044
11121
|
// verify required parameter 'numberPortAdminNoteBody' is not null or undefined
|
|
11045
11122
|
(0, common_1.assertParamExists)('postAddAdminNote', 'numberPortAdminNoteBody', numberPortAdminNoteBody);
|
|
11046
11123
|
localVarPath = "/admin/sip/numbers/ports/{id}/notes"
|
|
11047
|
-
.replace(
|
|
11124
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11048
11125
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11049
11126
|
if (configuration) {
|
|
11050
11127
|
baseOptions = configuration.baseOptions;
|
|
@@ -11179,7 +11256,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
11179
11256
|
// verify required parameter 'id' is not null or undefined
|
|
11180
11257
|
(0, common_1.assertParamExists)('postSubmitNumberPort', 'id', id);
|
|
11181
11258
|
localVarPath = "/sip/numbers/ports/{id}/submit"
|
|
11182
|
-
.replace(
|
|
11259
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11183
11260
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11184
11261
|
if (configuration) {
|
|
11185
11262
|
baseOptions = configuration.baseOptions;
|
|
@@ -11267,7 +11344,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
11267
11344
|
// verify required parameter 'id' is not null or undefined
|
|
11268
11345
|
(0, common_1.assertParamExists)('postUpdateNumberPort', 'id', id);
|
|
11269
11346
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
11270
|
-
.replace(
|
|
11347
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11271
11348
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11272
11349
|
if (configuration) {
|
|
11273
11350
|
baseOptions = configuration.baseOptions;
|
|
@@ -11346,7 +11423,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
11346
11423
|
// verify required parameter 'numberPortDTO' is not null or undefined
|
|
11347
11424
|
(0, common_1.assertParamExists)('putGetAdminNumberPort', 'numberPortDTO', numberPortDTO);
|
|
11348
11425
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
11349
|
-
.replace(
|
|
11426
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11350
11427
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11351
11428
|
if (configuration) {
|
|
11352
11429
|
baseOptions = configuration.baseOptions;
|
|
@@ -12726,7 +12803,7 @@ exports.PostAccessTokenGrantTypeEnum = {
|
|
|
12726
12803
|
AuthorizationCode: 'authorization_code',
|
|
12727
12804
|
MsAuth: 'ms_auth',
|
|
12728
12805
|
TokenExchange: 'token_exchange',
|
|
12729
|
-
Password: 'password'
|
|
12806
|
+
Password: 'password',
|
|
12730
12807
|
};
|
|
12731
12808
|
exports.PostAccessTokenScopeEnum = {
|
|
12732
12809
|
Star: '*',
|
|
@@ -12756,11 +12833,11 @@ exports.PostAccessTokenScopeEnum = {
|
|
|
12756
12833
|
TcxMtRead: 'tcx_mt.read',
|
|
12757
12834
|
TcxMtWrite: 'tcx_mt.write',
|
|
12758
12835
|
TicketsRead: 'tickets.read',
|
|
12759
|
-
TicketsWrite: 'tickets.write'
|
|
12836
|
+
TicketsWrite: 'tickets.write',
|
|
12760
12837
|
};
|
|
12761
12838
|
exports.PostAccessTokenTokenExchangeTypeEnum = {
|
|
12762
12839
|
TcxWizard: 'tcx_wizard',
|
|
12763
|
-
Portal: 'portal'
|
|
12840
|
+
Portal: 'portal',
|
|
12764
12841
|
};
|
|
12765
12842
|
exports.PostAuthoriseScopeEnum = {
|
|
12766
12843
|
Star: '*',
|
|
@@ -12790,7 +12867,7 @@ exports.PostAuthoriseScopeEnum = {
|
|
|
12790
12867
|
TcxMtRead: 'tcx_mt.read',
|
|
12791
12868
|
TcxMtWrite: 'tcx_mt.write',
|
|
12792
12869
|
TicketsRead: 'tickets.read',
|
|
12793
|
-
TicketsWrite: 'tickets.write'
|
|
12870
|
+
TicketsWrite: 'tickets.write',
|
|
12794
12871
|
};
|
|
12795
12872
|
/**
|
|
12796
12873
|
* OrdersApi - axios parameter creator
|
|
@@ -12819,8 +12896,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12819
12896
|
// verify required parameter 'batchId' is not null or undefined
|
|
12820
12897
|
(0, common_1.assertParamExists)('deleteDeleteBatch', 'batchId', batchId);
|
|
12821
12898
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}"
|
|
12822
|
-
.replace(
|
|
12823
|
-
.replace(
|
|
12899
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12900
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
12824
12901
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12825
12902
|
if (configuration) {
|
|
12826
12903
|
baseOptions = configuration.baseOptions;
|
|
@@ -12857,7 +12934,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12857
12934
|
// verify required parameter 'id' is not null or undefined
|
|
12858
12935
|
(0, common_1.assertParamExists)('deleteUpdateOrder', 'id', id);
|
|
12859
12936
|
localVarPath = "/orders/{id}"
|
|
12860
|
-
.replace(
|
|
12937
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12861
12938
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12862
12939
|
if (configuration) {
|
|
12863
12940
|
baseOptions = configuration.baseOptions;
|
|
@@ -12900,9 +12977,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12900
12977
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12901
12978
|
(0, common_1.assertParamExists)('deleteUpdateShipment', 'shipmentId', shipmentId);
|
|
12902
12979
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
12903
|
-
.replace(
|
|
12904
|
-
.replace(
|
|
12905
|
-
.replace(
|
|
12980
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12981
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
12982
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12906
12983
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12907
12984
|
if (configuration) {
|
|
12908
12985
|
baseOptions = configuration.baseOptions;
|
|
@@ -12939,7 +13016,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12939
13016
|
// verify required parameter 'id' is not null or undefined
|
|
12940
13017
|
(0, common_1.assertParamExists)('getGetAdminEditableOrder', 'id', id);
|
|
12941
13018
|
localVarPath = "/admin/orders/{id}/views/editable"
|
|
12942
|
-
.replace(
|
|
13019
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12943
13020
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12944
13021
|
if (configuration) {
|
|
12945
13022
|
baseOptions = configuration.baseOptions;
|
|
@@ -12977,7 +13054,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12977
13054
|
// verify required parameter 'id' is not null or undefined
|
|
12978
13055
|
(0, common_1.assertParamExists)('getGetAdminOrderDetails', 'id', id);
|
|
12979
13056
|
localVarPath = "/admin/orders/{id}/details"
|
|
12980
|
-
.replace(
|
|
13057
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12981
13058
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12982
13059
|
if (configuration) {
|
|
12983
13060
|
baseOptions = configuration.baseOptions;
|
|
@@ -13021,9 +13098,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13021
13098
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
13022
13099
|
(0, common_1.assertParamExists)('getGetCommercialInvoice', 'shipmentId', shipmentId);
|
|
13023
13100
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/pdf"
|
|
13024
|
-
.replace(
|
|
13025
|
-
.replace(
|
|
13026
|
-
.replace(
|
|
13101
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13102
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13103
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13027
13104
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13028
13105
|
if (configuration) {
|
|
13029
13106
|
baseOptions = configuration.baseOptions;
|
|
@@ -13061,7 +13138,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13061
13138
|
// verify required parameter 'id' is not null or undefined
|
|
13062
13139
|
(0, common_1.assertParamExists)('getGetEditableOrder', 'id', id);
|
|
13063
13140
|
localVarPath = "/orders/{id}/views/editable"
|
|
13064
|
-
.replace(
|
|
13141
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13065
13142
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13066
13143
|
if (configuration) {
|
|
13067
13144
|
baseOptions = configuration.baseOptions;
|
|
@@ -13102,8 +13179,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13102
13179
|
// verify required parameter 'itemId' is not null or undefined
|
|
13103
13180
|
(0, common_1.assertParamExists)('getGetItemSerialInfo', 'itemId', itemId);
|
|
13104
13181
|
localVarPath = "/admin/orders/{id}/items/{item_id}/info"
|
|
13105
|
-
.replace(
|
|
13106
|
-
.replace(
|
|
13182
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13183
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
13107
13184
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13108
13185
|
if (configuration) {
|
|
13109
13186
|
baseOptions = configuration.baseOptions;
|
|
@@ -13141,7 +13218,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13141
13218
|
// verify required parameter 'id' is not null or undefined
|
|
13142
13219
|
(0, common_1.assertParamExists)('getGetOrderPdf', 'id', id);
|
|
13143
13220
|
localVarPath = "/orders/{id}/pdf"
|
|
13144
|
-
.replace(
|
|
13221
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13145
13222
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13146
13223
|
if (configuration) {
|
|
13147
13224
|
baseOptions = configuration.baseOptions;
|
|
@@ -13179,7 +13256,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13179
13256
|
// verify required parameter 'id' is not null or undefined
|
|
13180
13257
|
(0, common_1.assertParamExists)('getGetOrderSummary', 'id', id);
|
|
13181
13258
|
localVarPath = "/admin/orders/{id}/summary"
|
|
13182
|
-
.replace(
|
|
13259
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13183
13260
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13184
13261
|
if (configuration) {
|
|
13185
13262
|
baseOptions = configuration.baseOptions;
|
|
@@ -13279,7 +13356,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13279
13356
|
// verify required parameter 'id' is not null or undefined
|
|
13280
13357
|
(0, common_1.assertParamExists)('patchCompleteOrder', 'id', id);
|
|
13281
13358
|
localVarPath = "/admin/orders/{id}/complete"
|
|
13282
|
-
.replace(
|
|
13359
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13283
13360
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13284
13361
|
if (configuration) {
|
|
13285
13362
|
baseOptions = configuration.baseOptions;
|
|
@@ -13318,7 +13395,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13318
13395
|
// verify required parameter 'id' is not null or undefined
|
|
13319
13396
|
(0, common_1.assertParamExists)('postAddOrderNote', 'id', id);
|
|
13320
13397
|
localVarPath = "/admin/orders/{id}/notes"
|
|
13321
|
-
.replace(
|
|
13398
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13322
13399
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13323
13400
|
if (configuration) {
|
|
13324
13401
|
baseOptions = configuration.baseOptions;
|
|
@@ -13403,8 +13480,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13403
13480
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
13404
13481
|
(0, common_1.assertParamExists)('postCreateConsignment', 'shipmentId', shipmentId);
|
|
13405
13482
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/consignment"
|
|
13406
|
-
.replace(
|
|
13407
|
-
.replace(
|
|
13483
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13484
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13408
13485
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13409
13486
|
if (configuration) {
|
|
13410
13487
|
baseOptions = configuration.baseOptions;
|
|
@@ -13485,8 +13562,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13485
13562
|
// verify required parameter 'batchId' is not null or undefined
|
|
13486
13563
|
(0, common_1.assertParamExists)('postCreateShipment', 'batchId', batchId);
|
|
13487
13564
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments"
|
|
13488
|
-
.replace(
|
|
13489
|
-
.replace(
|
|
13565
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13566
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
13490
13567
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13491
13568
|
if (configuration) {
|
|
13492
13569
|
baseOptions = configuration.baseOptions;
|
|
@@ -13568,7 +13645,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13568
13645
|
// verify required parameter 'id' is not null or undefined
|
|
13569
13646
|
(0, common_1.assertParamExists)('postIssueCredit', 'id', id);
|
|
13570
13647
|
localVarPath = "/admin/orders/{id}/credit"
|
|
13571
|
-
.replace(
|
|
13648
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13572
13649
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13573
13650
|
if (configuration) {
|
|
13574
13651
|
baseOptions = configuration.baseOptions;
|
|
@@ -13614,8 +13691,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13614
13691
|
// verify required parameter 'printer' is not null or undefined
|
|
13615
13692
|
(0, common_1.assertParamExists)('postPrintShippingLabel', 'printer', printer);
|
|
13616
13693
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/label/print"
|
|
13617
|
-
.replace(
|
|
13618
|
-
.replace(
|
|
13694
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13695
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13619
13696
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13620
13697
|
if (configuration) {
|
|
13621
13698
|
baseOptions = configuration.baseOptions;
|
|
@@ -13659,8 +13736,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13659
13736
|
// verify required parameter 'batchId' is not null or undefined
|
|
13660
13737
|
(0, common_1.assertParamExists)('postProcessTcxLicences', 'batchId', batchId);
|
|
13661
13738
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/licences/process"
|
|
13662
|
-
.replace(
|
|
13663
|
-
.replace(
|
|
13739
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13740
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
13664
13741
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13665
13742
|
if (configuration) {
|
|
13666
13743
|
baseOptions = configuration.baseOptions;
|
|
@@ -13701,7 +13778,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13701
13778
|
// verify required parameter 'email' is not null or undefined
|
|
13702
13779
|
(0, common_1.assertParamExists)('postSendOrderEmail', 'email', email);
|
|
13703
13780
|
localVarPath = "/admin/orders/{id}/email/send"
|
|
13704
|
-
.replace(
|
|
13781
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13705
13782
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13706
13783
|
if (configuration) {
|
|
13707
13784
|
baseOptions = configuration.baseOptions;
|
|
@@ -13750,9 +13827,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13750
13827
|
// verify required parameter 'email' is not null or undefined
|
|
13751
13828
|
(0, common_1.assertParamExists)('postSendShipmentEmail', 'email', email);
|
|
13752
13829
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/send/email"
|
|
13753
|
-
.replace(
|
|
13754
|
-
.replace(
|
|
13755
|
-
.replace(
|
|
13830
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13831
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13832
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13756
13833
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13757
13834
|
if (configuration) {
|
|
13758
13835
|
baseOptions = configuration.baseOptions;
|
|
@@ -13795,8 +13872,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13795
13872
|
// verify required parameter 'batchId' is not null or undefined
|
|
13796
13873
|
(0, common_1.assertParamExists)('postSendSupplierEmail', 'batchId', batchId);
|
|
13797
13874
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/email/send"
|
|
13798
|
-
.replace(
|
|
13799
|
-
.replace(
|
|
13875
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13876
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
13800
13877
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13801
13878
|
if (configuration) {
|
|
13802
13879
|
baseOptions = configuration.baseOptions;
|
|
@@ -13834,7 +13911,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13834
13911
|
// verify required parameter 'id' is not null or undefined
|
|
13835
13912
|
(0, common_1.assertParamExists)('postSplitOrder', 'id', id);
|
|
13836
13913
|
localVarPath = "/admin/orders/{id}/split"
|
|
13837
|
-
.replace(
|
|
13914
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13838
13915
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13839
13916
|
if (configuration) {
|
|
13840
13917
|
baseOptions = configuration.baseOptions;
|
|
@@ -13878,7 +13955,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13878
13955
|
// verify required parameter 'supplierId' is not null or undefined
|
|
13879
13956
|
(0, common_1.assertParamExists)('putAllocateItems', 'supplierId', supplierId);
|
|
13880
13957
|
localVarPath = "/admin/orders/{id}/items/allocate"
|
|
13881
|
-
.replace(
|
|
13958
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13882
13959
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13883
13960
|
if (configuration) {
|
|
13884
13961
|
baseOptions = configuration.baseOptions;
|
|
@@ -13923,7 +14000,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13923
14000
|
// verify required parameter 'id' is not null or undefined
|
|
13924
14001
|
(0, common_1.assertParamExists)('putUpdateAdminOrder', 'id', id);
|
|
13925
14002
|
localVarPath = "/admin/orders/{id}"
|
|
13926
|
-
.replace(
|
|
14003
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13927
14004
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13928
14005
|
if (configuration) {
|
|
13929
14006
|
baseOptions = configuration.baseOptions;
|
|
@@ -13973,9 +14050,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13973
14050
|
// verify required parameter 'itemId' is not null or undefined
|
|
13974
14051
|
(0, common_1.assertParamExists)('putUpdateBatchItem', 'itemId', itemId);
|
|
13975
14052
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/items/{item_id}"
|
|
13976
|
-
.replace(
|
|
13977
|
-
.replace(
|
|
13978
|
-
.replace(
|
|
14053
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
14054
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
14055
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
13979
14056
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13980
14057
|
if (configuration) {
|
|
13981
14058
|
baseOptions = configuration.baseOptions;
|
|
@@ -14017,7 +14094,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
14017
14094
|
// verify required parameter 'id' is not null or undefined
|
|
14018
14095
|
(0, common_1.assertParamExists)('putUpdateOrder', 'id', id);
|
|
14019
14096
|
localVarPath = "/orders/{id}"
|
|
14020
|
-
.replace(
|
|
14097
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
14021
14098
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14022
14099
|
if (configuration) {
|
|
14023
14100
|
baseOptions = configuration.baseOptions;
|
|
@@ -14063,7 +14140,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
14063
14140
|
// verify required parameter 'paid' is not null or undefined
|
|
14064
14141
|
(0, common_1.assertParamExists)('putUpdatePaymentStatus', 'paid', paid);
|
|
14065
14142
|
localVarPath = "/admin/orders/{id}/paid"
|
|
14066
|
-
.replace(
|
|
14143
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
14067
14144
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14068
14145
|
if (configuration) {
|
|
14069
14146
|
baseOptions = configuration.baseOptions;
|
|
@@ -14111,9 +14188,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
14111
14188
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
14112
14189
|
(0, common_1.assertParamExists)('putUpdateShipment', 'shipmentId', shipmentId);
|
|
14113
14190
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
14114
|
-
.replace(
|
|
14115
|
-
.replace(
|
|
14116
|
-
.replace(
|
|
14191
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
14192
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
14193
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
14117
14194
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14118
14195
|
if (configuration) {
|
|
14119
14196
|
baseOptions = configuration.baseOptions;
|
|
@@ -15657,18 +15734,18 @@ exports.GetGetOrdersStatusEnum = {
|
|
|
15657
15734
|
Paid: 'PAID',
|
|
15658
15735
|
InvoicePaid: 'INVOICE_PAID',
|
|
15659
15736
|
Unpaid: 'UNPAID',
|
|
15660
|
-
Quote: 'QUOTE'
|
|
15737
|
+
Quote: 'QUOTE',
|
|
15661
15738
|
};
|
|
15662
15739
|
exports.GetGetOrdersFilterEnum = {
|
|
15663
15740
|
Outstanding: 'OUTSTANDING',
|
|
15664
15741
|
Quotes: 'QUOTES',
|
|
15665
15742
|
All: 'ALL',
|
|
15666
|
-
BackOrders: 'BACK_ORDERS'
|
|
15743
|
+
BackOrders: 'BACK_ORDERS',
|
|
15667
15744
|
};
|
|
15668
15745
|
exports.PostPrintShippingLabelPrinterEnum = {
|
|
15669
15746
|
NUMBER_1: 1,
|
|
15670
15747
|
NUMBER_2: 2,
|
|
15671
|
-
NUMBER_3: 3
|
|
15748
|
+
NUMBER_3: 3,
|
|
15672
15749
|
};
|
|
15673
15750
|
/**
|
|
15674
15751
|
* PricingApi - axios parameter creator
|
|
@@ -15941,14 +16018,14 @@ exports.GetGetPriceListTypeEnum = {
|
|
|
15941
16018
|
EdTechPro: 'EdTechPro',
|
|
15942
16019
|
Sms: 'SMS',
|
|
15943
16020
|
SipTrunks: 'SIP Trunks',
|
|
15944
|
-
CrmIntegrations: 'CRM Integrations'
|
|
16021
|
+
CrmIntegrations: 'CRM Integrations',
|
|
15945
16022
|
};
|
|
15946
16023
|
exports.GetGetPriceListFormatEnum = {
|
|
15947
16024
|
Pdf: 'pdf',
|
|
15948
16025
|
Json: 'json',
|
|
15949
16026
|
Csv: 'csv',
|
|
15950
16027
|
Xml: 'xml',
|
|
15951
|
-
Html: 'html'
|
|
16028
|
+
Html: 'html',
|
|
15952
16029
|
};
|
|
15953
16030
|
exports.GetGetPriceListCategoryEnum = {
|
|
15954
16031
|
Yealink: 'Yealink',
|
|
@@ -15970,7 +16047,7 @@ exports.GetGetPriceListCategoryEnum = {
|
|
|
15970
16047
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
15971
16048
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
15972
16049
|
FanvilAccessories: 'Fanvil Accessories',
|
|
15973
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
16050
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
15974
16051
|
};
|
|
15975
16052
|
exports.PostSendPriceListTypeEnum = {
|
|
15976
16053
|
Products: 'Products',
|
|
@@ -15981,14 +16058,14 @@ exports.PostSendPriceListTypeEnum = {
|
|
|
15981
16058
|
EdTechPro: 'EdTechPro',
|
|
15982
16059
|
Sms: 'SMS',
|
|
15983
16060
|
SipTrunks: 'SIP Trunks',
|
|
15984
|
-
CrmIntegrations: 'CRM Integrations'
|
|
16061
|
+
CrmIntegrations: 'CRM Integrations',
|
|
15985
16062
|
};
|
|
15986
16063
|
exports.PostSendPriceListFormatEnum = {
|
|
15987
16064
|
Pdf: 'pdf',
|
|
15988
16065
|
Json: 'json',
|
|
15989
16066
|
Csv: 'csv',
|
|
15990
16067
|
Xml: 'xml',
|
|
15991
|
-
Html: 'html'
|
|
16068
|
+
Html: 'html',
|
|
15992
16069
|
};
|
|
15993
16070
|
exports.PostSendPriceListCategoryEnum = {
|
|
15994
16071
|
Yealink: 'Yealink',
|
|
@@ -16010,7 +16087,7 @@ exports.PostSendPriceListCategoryEnum = {
|
|
|
16010
16087
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
16011
16088
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
16012
16089
|
FanvilAccessories: 'Fanvil Accessories',
|
|
16013
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
16090
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
16014
16091
|
};
|
|
16015
16092
|
/**
|
|
16016
16093
|
* ProductsApi - axios parameter creator
|
|
@@ -16297,7 +16374,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
16297
16374
|
// verify required parameter 'quantity' is not null or undefined
|
|
16298
16375
|
(0, common_1.assertParamExists)('patchAddQuantityToStock', 'quantity', quantity);
|
|
16299
16376
|
localVarPath = "/products/{sku}/stock/add"
|
|
16300
|
-
.replace(
|
|
16377
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
16301
16378
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16302
16379
|
if (configuration) {
|
|
16303
16380
|
baseOptions = configuration.baseOptions;
|
|
@@ -16340,7 +16417,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
16340
16417
|
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
16341
16418
|
(0, common_1.assertParamExists)('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
16342
16419
|
localVarPath = "/products/{sku}"
|
|
16343
|
-
.replace(
|
|
16420
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
16344
16421
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16345
16422
|
if (configuration) {
|
|
16346
16423
|
baseOptions = configuration.baseOptions;
|
|
@@ -16386,7 +16463,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
16386
16463
|
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
16387
16464
|
(0, common_1.assertParamExists)('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
16388
16465
|
localVarPath = "/admin/products/{sku}"
|
|
16389
|
-
.replace(
|
|
16466
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
16390
16467
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16391
16468
|
if (configuration) {
|
|
16392
16469
|
baseOptions = configuration.baseOptions;
|
|
@@ -16890,7 +16967,7 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
16890
16967
|
exports.ProductsApi = ProductsApi;
|
|
16891
16968
|
exports.GetGetLegacyStockListFormatEnum = {
|
|
16892
16969
|
Xml: 'XML',
|
|
16893
|
-
Csv: 'CSV'
|
|
16970
|
+
Csv: 'CSV',
|
|
16894
16971
|
};
|
|
16895
16972
|
/**
|
|
16896
16973
|
* ProspectsApi - axios parameter creator
|
|
@@ -16917,7 +16994,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
16917
16994
|
// verify required parameter 'xeroId' is not null or undefined
|
|
16918
16995
|
(0, common_1.assertParamExists)('getGetProspect', 'xeroId', xeroId);
|
|
16919
16996
|
localVarPath = "/accounts/prospects/{xero_id}"
|
|
16920
|
-
.replace(
|
|
16997
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
16921
16998
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16922
16999
|
if (configuration) {
|
|
16923
17000
|
baseOptions = configuration.baseOptions;
|
|
@@ -16992,7 +17069,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
16992
17069
|
// verify required parameter 'status' is not null or undefined
|
|
16993
17070
|
(0, common_1.assertParamExists)('getRemoveFromProspects', 'status', status);
|
|
16994
17071
|
localVarPath = "/accounts/prospects/{xero_id}/remove"
|
|
16995
|
-
.replace(
|
|
17072
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
16996
17073
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16997
17074
|
if (configuration) {
|
|
16998
17075
|
baseOptions = configuration.baseOptions;
|
|
@@ -17036,7 +17113,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
17036
17113
|
// verify required parameter 'date' is not null or undefined
|
|
17037
17114
|
(0, common_1.assertParamExists)('getSetCallback', 'date', date);
|
|
17038
17115
|
localVarPath = "/accounts/prospects/{xero_id}/date"
|
|
17039
|
-
.replace(
|
|
17116
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
17040
17117
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17041
17118
|
if (configuration) {
|
|
17042
17119
|
baseOptions = configuration.baseOptions;
|
|
@@ -17297,8 +17374,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17297
17374
|
// verify required parameter 'mac' is not null or undefined
|
|
17298
17375
|
(0, common_1.assertParamExists)('deleteAddFanvilMac', 'mac', mac);
|
|
17299
17376
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
17300
|
-
.replace(
|
|
17301
|
-
.replace(
|
|
17377
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17378
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
17302
17379
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17303
17380
|
if (configuration) {
|
|
17304
17381
|
baseOptions = configuration.baseOptions;
|
|
@@ -17335,7 +17412,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17335
17412
|
// verify required parameter 'id' is not null or undefined
|
|
17336
17413
|
(0, common_1.assertParamExists)('deleteDeleteFanvilGroup', 'id', id);
|
|
17337
17414
|
localVarPath = "/provisioning/fanvil/groups/{id}"
|
|
17338
|
-
.replace(
|
|
17415
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17339
17416
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17340
17417
|
if (configuration) {
|
|
17341
17418
|
baseOptions = configuration.baseOptions;
|
|
@@ -17375,8 +17452,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17375
17452
|
// verify required parameter 'mac' is not null or undefined
|
|
17376
17453
|
(0, common_1.assertParamExists)('getGetFanvilEncryptionKey', 'mac', mac);
|
|
17377
17454
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}/key"
|
|
17378
|
-
.replace(
|
|
17379
|
-
.replace(
|
|
17455
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17456
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
17380
17457
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17381
17458
|
if (configuration) {
|
|
17382
17459
|
baseOptions = configuration.baseOptions;
|
|
@@ -17414,7 +17491,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17414
17491
|
// verify required parameter 'id' is not null or undefined
|
|
17415
17492
|
(0, common_1.assertParamExists)('getGetFanvilGroupMacs', 'id', id);
|
|
17416
17493
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs"
|
|
17417
|
-
.replace(
|
|
17494
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17418
17495
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17419
17496
|
if (configuration) {
|
|
17420
17497
|
baseOptions = configuration.baseOptions;
|
|
@@ -17530,8 +17607,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17530
17607
|
// verify required parameter 'mac' is not null or undefined
|
|
17531
17608
|
(0, common_1.assertParamExists)('postAddFanvilMac', 'mac', mac);
|
|
17532
17609
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
17533
|
-
.replace(
|
|
17534
|
-
.replace(
|
|
17610
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17611
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
17535
17612
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17536
17613
|
if (configuration) {
|
|
17537
17614
|
baseOptions = configuration.baseOptions;
|
|
@@ -17923,7 +18000,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17923
18000
|
// verify required parameter 'id' is not null or undefined
|
|
17924
18001
|
(0, common_1.assertParamExists)('deleteGetSipTrunk', 'id', id);
|
|
17925
18002
|
localVarPath = "/sip/trunks/{id}"
|
|
17926
|
-
.replace(
|
|
18003
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17927
18004
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17928
18005
|
if (configuration) {
|
|
17929
18006
|
baseOptions = configuration.baseOptions;
|
|
@@ -17961,7 +18038,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17961
18038
|
// verify required parameter 'id' is not null or undefined
|
|
17962
18039
|
(0, common_1.assertParamExists)('getCanDivert', 'id', id);
|
|
17963
18040
|
localVarPath = "/sip/trunks/{id}/diverts/allowed"
|
|
17964
|
-
.replace(
|
|
18041
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17965
18042
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17966
18043
|
if (configuration) {
|
|
17967
18044
|
baseOptions = configuration.baseOptions;
|
|
@@ -17999,7 +18076,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17999
18076
|
// verify required parameter 'id' is not null or undefined
|
|
18000
18077
|
(0, common_1.assertParamExists)('getGetAddress', 'id', id);
|
|
18001
18078
|
localVarPath = "/sip/trunks/{id}/address"
|
|
18002
|
-
.replace(
|
|
18079
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18003
18080
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18004
18081
|
if (configuration) {
|
|
18005
18082
|
baseOptions = configuration.baseOptions;
|
|
@@ -18108,7 +18185,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18108
18185
|
// verify required parameter 'id' is not null or undefined
|
|
18109
18186
|
(0, common_1.assertParamExists)('getGetCliFlexibility', 'id', id);
|
|
18110
18187
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
18111
|
-
.replace(
|
|
18188
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18112
18189
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18113
18190
|
if (configuration) {
|
|
18114
18191
|
baseOptions = configuration.baseOptions;
|
|
@@ -18146,7 +18223,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18146
18223
|
// verify required parameter 'id' is not null or undefined
|
|
18147
18224
|
(0, common_1.assertParamExists)('getGetDdis', 'id', id);
|
|
18148
18225
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
18149
|
-
.replace(
|
|
18226
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18150
18227
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18151
18228
|
if (configuration) {
|
|
18152
18229
|
baseOptions = configuration.baseOptions;
|
|
@@ -18185,7 +18262,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18185
18262
|
// verify required parameter 'id' is not null or undefined
|
|
18186
18263
|
(0, common_1.assertParamExists)('getGetDiverts', 'id', id);
|
|
18187
18264
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
18188
|
-
.replace(
|
|
18265
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18189
18266
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18190
18267
|
if (configuration) {
|
|
18191
18268
|
baseOptions = configuration.baseOptions;
|
|
@@ -18226,7 +18303,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18226
18303
|
// verify required parameter 'id' is not null or undefined
|
|
18227
18304
|
(0, common_1.assertParamExists)('getGetSipTrunk', 'id', id);
|
|
18228
18305
|
localVarPath = "/sip/trunks/{id}"
|
|
18229
|
-
.replace(
|
|
18306
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18230
18307
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18231
18308
|
if (configuration) {
|
|
18232
18309
|
baseOptions = configuration.baseOptions;
|
|
@@ -18313,7 +18390,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18313
18390
|
// verify required parameter 'enabled' is not null or undefined
|
|
18314
18391
|
(0, common_1.assertParamExists)('patchGetCliFlexibility', 'enabled', enabled);
|
|
18315
18392
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
18316
|
-
.replace(
|
|
18393
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18317
18394
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18318
18395
|
if (configuration) {
|
|
18319
18396
|
baseOptions = configuration.baseOptions;
|
|
@@ -18354,7 +18431,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18354
18431
|
// verify required parameter 'id' is not null or undefined
|
|
18355
18432
|
(0, common_1.assertParamExists)('patchSetAsAvailable', 'id', id);
|
|
18356
18433
|
localVarPath = "/sip/trunks/{id}/available"
|
|
18357
|
-
.replace(
|
|
18434
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18358
18435
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18359
18436
|
if (configuration) {
|
|
18360
18437
|
baseOptions = configuration.baseOptions;
|
|
@@ -18395,7 +18472,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18395
18472
|
// verify required parameter 'ownerId' is not null or undefined
|
|
18396
18473
|
(0, common_1.assertParamExists)('patchSetOwnership', 'ownerId', ownerId);
|
|
18397
18474
|
localVarPath = "/sip/trunks/{id}/owner"
|
|
18398
|
-
.replace(
|
|
18475
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18399
18476
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18400
18477
|
if (configuration) {
|
|
18401
18478
|
baseOptions = configuration.baseOptions;
|
|
@@ -18441,7 +18518,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18441
18518
|
// verify required parameter 'channels' is not null or undefined
|
|
18442
18519
|
(0, common_1.assertParamExists)('patchUpdateChannelCount', 'channels', channels);
|
|
18443
18520
|
localVarPath = "/sip/trunks/{id}/channels"
|
|
18444
|
-
.replace(
|
|
18521
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18445
18522
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18446
18523
|
if (configuration) {
|
|
18447
18524
|
baseOptions = configuration.baseOptions;
|
|
@@ -18485,7 +18562,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18485
18562
|
// verify required parameter 'company' is not null or undefined
|
|
18486
18563
|
(0, common_1.assertParamExists)('patchUpdateCompanyName', 'company', company);
|
|
18487
18564
|
localVarPath = "/sip/trunks/{id}/company"
|
|
18488
|
-
.replace(
|
|
18565
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18489
18566
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18490
18567
|
if (configuration) {
|
|
18491
18568
|
baseOptions = configuration.baseOptions;
|
|
@@ -18529,7 +18606,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18529
18606
|
// verify required parameter 'number' is not null or undefined
|
|
18530
18607
|
(0, common_1.assertParamExists)('patchUpdateMainTrunkNumber', 'number', number);
|
|
18531
18608
|
localVarPath = "/sip/trunks/{id}/number"
|
|
18532
|
-
.replace(
|
|
18609
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18533
18610
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18534
18611
|
if (configuration) {
|
|
18535
18612
|
baseOptions = configuration.baseOptions;
|
|
@@ -18573,7 +18650,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18573
18650
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
18574
18651
|
(0, common_1.assertParamExists)('patchUpdatePbxIPAddress', 'ipAddress', ipAddress);
|
|
18575
18652
|
localVarPath = "/sip/trunks/{id}/pbx/ip"
|
|
18576
|
-
.replace(
|
|
18653
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18577
18654
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18578
18655
|
if (configuration) {
|
|
18579
18656
|
baseOptions = configuration.baseOptions;
|
|
@@ -18615,7 +18692,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18615
18692
|
// verify required parameter 'id' is not null or undefined
|
|
18616
18693
|
(0, common_1.assertParamExists)('postGetDdis', 'id', id);
|
|
18617
18694
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
18618
|
-
.replace(
|
|
18695
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18619
18696
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18620
18697
|
if (configuration) {
|
|
18621
18698
|
baseOptions = configuration.baseOptions;
|
|
@@ -18767,7 +18844,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18767
18844
|
// verify required parameter 'id' is not null or undefined
|
|
18768
18845
|
(0, common_1.assertParamExists)('putGetAddress', 'id', id);
|
|
18769
18846
|
localVarPath = "/sip/trunks/{id}/address"
|
|
18770
|
-
.replace(
|
|
18847
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18771
18848
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18772
18849
|
if (configuration) {
|
|
18773
18850
|
baseOptions = configuration.baseOptions;
|
|
@@ -18811,7 +18888,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18811
18888
|
// verify required parameter 'enabled' is not null or undefined
|
|
18812
18889
|
(0, common_1.assertParamExists)('putGetDiverts', 'enabled', enabled);
|
|
18813
18890
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
18814
|
-
.replace(
|
|
18891
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18815
18892
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18816
18893
|
if (configuration) {
|
|
18817
18894
|
baseOptions = configuration.baseOptions;
|
|
@@ -20217,7 +20294,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
20217
20294
|
// verify required parameter 'id' is not null or undefined
|
|
20218
20295
|
(0, common_1.assertParamExists)('patchArchiveEvent', 'id', id);
|
|
20219
20296
|
localVarPath = "/services/events/{id}/archive"
|
|
20220
|
-
.replace(
|
|
20297
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20221
20298
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20222
20299
|
if (configuration) {
|
|
20223
20300
|
baseOptions = configuration.baseOptions;
|
|
@@ -20255,7 +20332,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
20255
20332
|
// verify required parameter 'id' is not null or undefined
|
|
20256
20333
|
(0, common_1.assertParamExists)('patchUpdateEvent', 'id', id);
|
|
20257
20334
|
localVarPath = "/services/events/{id}"
|
|
20258
|
-
.replace(
|
|
20335
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20259
20336
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20260
20337
|
if (configuration) {
|
|
20261
20338
|
baseOptions = configuration.baseOptions;
|
|
@@ -20331,7 +20408,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
20331
20408
|
// verify required parameter 'id' is not null or undefined
|
|
20332
20409
|
(0, common_1.assertParamExists)('postCreateEventUpdate', 'id', id);
|
|
20333
20410
|
localVarPath = "/services/events/{id}/updates"
|
|
20334
|
-
.replace(
|
|
20411
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20335
20412
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20336
20413
|
if (configuration) {
|
|
20337
20414
|
baseOptions = configuration.baseOptions;
|
|
@@ -20947,7 +21024,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20947
21024
|
// verify required parameter 'id' is not null or undefined
|
|
20948
21025
|
(0, common_1.assertParamExists)('deleteDeleteStockOrder', 'id', id);
|
|
20949
21026
|
localVarPath = "/stock/orders/{id}"
|
|
20950
|
-
.replace(
|
|
21027
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20951
21028
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20952
21029
|
if (configuration) {
|
|
20953
21030
|
baseOptions = configuration.baseOptions;
|
|
@@ -20987,8 +21064,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20987
21064
|
// verify required parameter 'deductionId' is not null or undefined
|
|
20988
21065
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
20989
21066
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
20990
|
-
.replace(
|
|
20991
|
-
.replace(
|
|
21067
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21068
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
20992
21069
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20993
21070
|
if (configuration) {
|
|
20994
21071
|
baseOptions = configuration.baseOptions;
|
|
@@ -21028,8 +21105,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21028
21105
|
// verify required parameter 'itemId' is not null or undefined
|
|
21029
21106
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderItem', 'itemId', itemId);
|
|
21030
21107
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
21031
|
-
.replace(
|
|
21032
|
-
.replace(
|
|
21108
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21109
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
21033
21110
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21034
21111
|
if (configuration) {
|
|
21035
21112
|
baseOptions = configuration.baseOptions;
|
|
@@ -21066,7 +21143,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21066
21143
|
// verify required parameter 'id' is not null or undefined
|
|
21067
21144
|
(0, common_1.assertParamExists)('deleteGetStockProduct', 'id', id);
|
|
21068
21145
|
localVarPath = "/stock/products/{id}"
|
|
21069
|
-
.replace(
|
|
21146
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21070
21147
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21071
21148
|
if (configuration) {
|
|
21072
21149
|
baseOptions = configuration.baseOptions;
|
|
@@ -21103,7 +21180,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21103
21180
|
// verify required parameter 'id' is not null or undefined
|
|
21104
21181
|
(0, common_1.assertParamExists)('getDeleteStockOrder', 'id', id);
|
|
21105
21182
|
localVarPath = "/stock/orders/{id}"
|
|
21106
|
-
.replace(
|
|
21183
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21107
21184
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21108
21185
|
if (configuration) {
|
|
21109
21186
|
baseOptions = configuration.baseOptions;
|
|
@@ -21141,7 +21218,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21141
21218
|
// verify required parameter 'sku' is not null or undefined
|
|
21142
21219
|
(0, common_1.assertParamExists)('getGetProductDetails', 'sku', sku);
|
|
21143
21220
|
localVarPath = "/stock/products/{sku}/details"
|
|
21144
|
-
.replace(
|
|
21221
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
21145
21222
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21146
21223
|
if (configuration) {
|
|
21147
21224
|
baseOptions = configuration.baseOptions;
|
|
@@ -21179,7 +21256,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21179
21256
|
// verify required parameter 'id' is not null or undefined
|
|
21180
21257
|
(0, common_1.assertParamExists)('getGetStockOrderPurchaseOrder', 'id', id);
|
|
21181
21258
|
localVarPath = "/stock/orders/{id}/po"
|
|
21182
|
-
.replace(
|
|
21259
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21183
21260
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21184
21261
|
if (configuration) {
|
|
21185
21262
|
baseOptions = configuration.baseOptions;
|
|
@@ -21217,7 +21294,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21217
21294
|
// verify required parameter 'id' is not null or undefined
|
|
21218
21295
|
(0, common_1.assertParamExists)('getGetStockOrderSupplierEmail', 'id', id);
|
|
21219
21296
|
localVarPath = "/stock/orders/{id}/supplier/email"
|
|
21220
|
-
.replace(
|
|
21297
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21221
21298
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21222
21299
|
if (configuration) {
|
|
21223
21300
|
baseOptions = configuration.baseOptions;
|
|
@@ -21305,7 +21382,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21305
21382
|
// verify required parameter 'id' is not null or undefined
|
|
21306
21383
|
(0, common_1.assertParamExists)('getGetStockProduct', 'id', id);
|
|
21307
21384
|
localVarPath = "/stock/products/{id}"
|
|
21308
|
-
.replace(
|
|
21385
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21309
21386
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21310
21387
|
if (configuration) {
|
|
21311
21388
|
baseOptions = configuration.baseOptions;
|
|
@@ -21423,7 +21500,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21423
21500
|
// verify required parameter 'id' is not null or undefined
|
|
21424
21501
|
(0, common_1.assertParamExists)('getGetStockSupplierProducts', 'id', id);
|
|
21425
21502
|
localVarPath = "/stock/suppliers/{id}/products"
|
|
21426
|
-
.replace(
|
|
21503
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21427
21504
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21428
21505
|
if (configuration) {
|
|
21429
21506
|
baseOptions = configuration.baseOptions;
|
|
@@ -21461,7 +21538,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21461
21538
|
// verify required parameter 'id' is not null or undefined
|
|
21462
21539
|
(0, common_1.assertParamExists)('getUploadStockOrderInvoice', 'id', id);
|
|
21463
21540
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
21464
|
-
.replace(
|
|
21541
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21465
21542
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21466
21543
|
if (configuration) {
|
|
21467
21544
|
baseOptions = configuration.baseOptions;
|
|
@@ -21500,7 +21577,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21500
21577
|
// verify required parameter 'id' is not null or undefined
|
|
21501
21578
|
(0, common_1.assertParamExists)('patchDeleteStockOrder', 'id', id);
|
|
21502
21579
|
localVarPath = "/stock/orders/{id}"
|
|
21503
|
-
.replace(
|
|
21580
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21504
21581
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21505
21582
|
if (configuration) {
|
|
21506
21583
|
baseOptions = configuration.baseOptions;
|
|
@@ -21544,8 +21621,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21544
21621
|
// verify required parameter 'deductionId' is not null or undefined
|
|
21545
21622
|
(0, common_1.assertParamExists)('patchDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
21546
21623
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
21547
|
-
.replace(
|
|
21548
|
-
.replace(
|
|
21624
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21625
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
21549
21626
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21550
21627
|
if (configuration) {
|
|
21551
21628
|
baseOptions = configuration.baseOptions;
|
|
@@ -21589,8 +21666,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21589
21666
|
// verify required parameter 'itemId' is not null or undefined
|
|
21590
21667
|
(0, common_1.assertParamExists)('patchDeleteStockOrderItem', 'itemId', itemId);
|
|
21591
21668
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
21592
|
-
.replace(
|
|
21593
|
-
.replace(
|
|
21669
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21670
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
21594
21671
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21595
21672
|
if (configuration) {
|
|
21596
21673
|
baseOptions = configuration.baseOptions;
|
|
@@ -21631,7 +21708,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21631
21708
|
// verify required parameter 'id' is not null or undefined
|
|
21632
21709
|
(0, common_1.assertParamExists)('postAddStockOrderDeduction', 'id', id);
|
|
21633
21710
|
localVarPath = "/stock/orders/{id}/deductions"
|
|
21634
|
-
.replace(
|
|
21711
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21635
21712
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21636
21713
|
if (configuration) {
|
|
21637
21714
|
baseOptions = configuration.baseOptions;
|
|
@@ -21672,7 +21749,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21672
21749
|
// verify required parameter 'id' is not null or undefined
|
|
21673
21750
|
(0, common_1.assertParamExists)('postAddStockOrderItem', 'id', id);
|
|
21674
21751
|
localVarPath = "/stock/orders/{id}/items"
|
|
21675
|
-
.replace(
|
|
21752
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21676
21753
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21677
21754
|
if (configuration) {
|
|
21678
21755
|
baseOptions = configuration.baseOptions;
|
|
@@ -21789,7 +21866,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21789
21866
|
// verify required parameter 'invoice' is not null or undefined
|
|
21790
21867
|
(0, common_1.assertParamExists)('postUploadStockOrderInvoice', 'invoice', invoice);
|
|
21791
21868
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
21792
|
-
.replace(
|
|
21869
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21793
21870
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21794
21871
|
if (configuration) {
|
|
21795
21872
|
baseOptions = configuration.baseOptions;
|
|
@@ -21833,7 +21910,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21833
21910
|
// verify required parameter 'id' is not null or undefined
|
|
21834
21911
|
(0, common_1.assertParamExists)('putGetStockProduct', 'id', id);
|
|
21835
21912
|
localVarPath = "/stock/products/{id}"
|
|
21836
|
-
.replace(
|
|
21913
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21837
21914
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21838
21915
|
if (configuration) {
|
|
21839
21916
|
baseOptions = configuration.baseOptions;
|
|
@@ -21879,8 +21956,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21879
21956
|
// verify required parameter 'received' is not null or undefined
|
|
21880
21957
|
(0, common_1.assertParamExists)('putReceiveStockOrderItem', 'received', received);
|
|
21881
21958
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}/receive"
|
|
21882
|
-
.replace(
|
|
21883
|
-
.replace(
|
|
21959
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21960
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
21884
21961
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21885
21962
|
if (configuration) {
|
|
21886
21963
|
baseOptions = configuration.baseOptions;
|
|
@@ -23274,7 +23351,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
23274
23351
|
// verify required parameter 'id' is not null or undefined
|
|
23275
23352
|
(0, common_1.assertParamExists)('getGetTicket', 'id', id);
|
|
23276
23353
|
localVarPath = "/tickets/support/{id}"
|
|
23277
|
-
.replace(
|
|
23354
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
23278
23355
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23279
23356
|
if (configuration) {
|
|
23280
23357
|
baseOptions = configuration.baseOptions;
|
|
@@ -23311,7 +23388,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
23311
23388
|
// verify required parameter 'id' is not null or undefined
|
|
23312
23389
|
(0, common_1.assertParamExists)('patchCloseTicket', 'id', id);
|
|
23313
23390
|
localVarPath = "/tickets/support/{id}/close"
|
|
23314
|
-
.replace(
|
|
23391
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
23315
23392
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23316
23393
|
if (configuration) {
|
|
23317
23394
|
baseOptions = configuration.baseOptions;
|
|
@@ -23400,7 +23477,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
23400
23477
|
// verify required parameter 'id' is not null or undefined
|
|
23401
23478
|
(0, common_1.assertParamExists)('postTicketReply', 'id', id);
|
|
23402
23479
|
localVarPath = "/tickets/support/{id}/reply"
|
|
23403
|
-
.replace(
|
|
23480
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
23404
23481
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23405
23482
|
if (configuration) {
|
|
23406
23483
|
baseOptions = configuration.baseOptions;
|
|
@@ -23896,5 +23973,5 @@ exports.PostAddWebhookWebhookUriEnum = {
|
|
|
23896
23973
|
WebhookFreshdeskUpdate: '/webhook/freshdesk/update',
|
|
23897
23974
|
WebhookTest: '/webhook/test',
|
|
23898
23975
|
WebhookXeroInvoices: '/webhook/xero/invoices',
|
|
23899
|
-
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add'
|
|
23976
|
+
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add',
|
|
23900
23977
|
};
|