yellowgrid-api-ts 3.2.151-dev.0 → 3.2.151
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 +291 -288
- package/.openapi-generator/VERSION +1 -1
- package/README.md +9 -3
- package/api.ts +752 -347
- 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 +323 -87
- package/dist/api.js +724 -299
- package/dist/base.d.ts +1 -1
- package/dist/base.js +2 -2
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/HostingPriceListEnum.d.ts +5 -5
- package/dist/models/HostingPriceListEnum.js +5 -5
- package/dist/models/PaymentMethodEnum.d.ts +13 -0
- package/dist/models/PaymentMethodEnum.js +15 -0
- package/dist/models/UserGroupEnum.d.ts +28 -0
- package/dist/models/UserGroupEnum.js +30 -0
- package/docs/AbstractOrderRequestDTO.md +1 -1
- package/docs/AccountAddressesDTO.md +25 -0
- package/docs/AccountsApi.md +76 -28
- package/docs/AdminOrderRequestDTO.md +1 -1
- package/docs/AdminUserModel.md +4 -0
- package/docs/BillingApi.md +55 -0
- package/docs/CRMApi.md +3 -3
- package/docs/Class3CXApi.md +49 -1
- package/docs/Class3CXInstallationWizardApi.md +1 -1
- package/docs/Class3CXInstallationsApi.md +56 -1
- package/docs/Class3CXIntegrationsApi.md +1 -1
- package/docs/Class3CXMultiTenantApi.md +1 -1
- package/docs/CreditAccountEntity.md +4 -0
- package/docs/{CrmActivityDto.md → CrmActivityDTO.md} +1 -1
- package/docs/CrmDateActivitiesDTO.md +1 -1
- package/docs/CustomerOrderRequestDTO.md +1 -1
- package/docs/DetailedOrderRequestDTO.md +1 -1
- package/docs/MyPBXToolsApi.md +1 -1
- package/docs/NumberPortingApi.md +1 -1
- package/docs/OAuth20Api.md +49 -1
- package/docs/OrdersApi.md +1 -1
- package/docs/PartnerDTO.md +2 -2
- package/docs/PortalAccountModel.md +4 -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/TableHistoryEntity.md +35 -0
- package/docs/TcxKeySummaryDTO.md +1 -1
- package/docs/TicketsApi.md +1 -1
- package/docs/WebhooksApi.md +1 -1
- package/getEnums.php +31 -31
- package/index.ts +1 -1
- package/models/HostingPriceListEnum.ts +5 -5
- package/models/PaymentMethodEnum.ts +14 -0
- package/models/UserGroupEnum.ts +29 -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
|
*
|
|
@@ -84,10 +84,10 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
84
84
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
85
|
};
|
|
86
86
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
87
|
-
exports.
|
|
88
|
-
exports.
|
|
89
|
-
exports.
|
|
90
|
-
exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = void 0;
|
|
87
|
+
exports.CRMApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.PatchSetPrizePromoStateEnum = exports.PatchSetPortalAccessStateEnum = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.UpgradeRequestModelSchoolTypeEnum = exports.UpgradeRequestModelLicenceTypeEnum = exports.TcxWizardModelInstallationStatusEnum = exports.TcxWizardModelInstallTypeEnum = exports.TcxSetupEntityRegionEnum = exports.TcxSetupEntityInstallTypeEnum = exports.TcxMultiTenantModelPackageEnum = exports.StockOrderModelPaidEnum = exports.StockOrderModelDeliveryMethodEnum = exports.SmsResponseModelEventTypeEnum = exports.SmsPhoneNumberModelStatusEnum = exports.SmsAccountRequestDTOTypeEnum = exports.SmsAccountRequestDTOProviderEnum = exports.SipTrunkChangeResponseModelTypeEnum = exports.ShippingServiceModelCourierEnum = exports.ShippingServiceDTOCourierEnum = exports.ShippingRequestDTOPrinterEnum = exports.ShippingRequestDTOCourierEnum = exports.ShipmentRequestDTOCourierEnum = exports.ShipmentDTOCourierEnum = exports.ServiceStatusDTOStatusEnum = exports.ServiceHealthDTOGlobalStatusEnum = exports.ProspectDTOStatusEnum = exports.PatchUpdateTcxHostingPriceListRequestPriceListEnum = exports.PatchUpdatePriceListRequestPriceListEnum = exports.OrderTotalModelCurrencyEnum = exports.OrderRequestModelSchoolTypeEnum = exports.OrderRequestModelLicenceTypeEnum = exports.MultiTenantChangeResponseModelTypeEnum = exports.ItemDiscountEntityTypeEnum = exports.HostingRegionDTOCodeEnum = exports.HostingChangeResponseModelTypeEnum = exports.EventDTOStatusEnum = exports.DivertResponseModelStatusEnum = exports.AuditLogEntityTypeEnum = exports.AuditLogEntityActionEnum = exports.AdminUserModelPermissionsEnum = exports.AdminUserModelRoleEnum = exports.AdminOrderRequestDTOPaymentMethodEnum = void 0;
|
|
88
|
+
exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.PostAuthoriseScopeEnum = exports.PostAccessTokenTokenExchangeTypeEnum = exports.PostAccessTokenScopeEnum = exports.PostAccessTokenGrantTypeEnum = exports.OAuth20Api = exports.OAuth20ApiFactory = exports.OAuth20ApiFp = exports.OAuth20ApiAxiosParamCreator = exports.NumberPortingApi = exports.NumberPortingApiFactory = exports.NumberPortingApiFp = exports.NumberPortingApiAxiosParamCreator = exports.MyPBXToolsApi = exports.MyPBXToolsApiFactory = exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = exports.Class3CXMultiTenantApiFp = exports.Class3CXMultiTenantApiAxiosParamCreator = exports.GetGetPriceSchoolTypeEnum = exports.GetGetPriceLicenceTypeEnum = exports.Class3CXIntegrationsApi = exports.Class3CXIntegrationsApiFactory = exports.Class3CXIntegrationsApiFp = exports.Class3CXIntegrationsApiAxiosParamCreator = exports.PostResizeInstanceSizeEnum = exports.PostFailoverInstanceTypeEnum = exports.GetGetInstallationsInstallTypeEnum = exports.GetGetInstallationsHostingEnum = exports.GetGetInstallationsStatusEnum = exports.Class3CXInstallationsApi = exports.Class3CXInstallationsApiFactory = exports.Class3CXInstallationsApiFp = exports.Class3CXInstallationsApiAxiosParamCreator = exports.Class3CXInstallationWizardApi = exports.Class3CXInstallationWizardApiFactory = exports.Class3CXInstallationWizardApiFp = exports.Class3CXInstallationWizardApiAxiosParamCreator = exports.Class3CXApi = exports.Class3CXApiFactory = exports.Class3CXApiFp = exports.Class3CXApiAxiosParamCreator = exports.GetGetCrmActivitiesTypeEnum = exports.CRMApi = exports.CRMApiFactory = exports.CRMApiFp = void 0;
|
|
89
|
+
exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.StockManagementApi = exports.StockManagementApiFactory = exports.StockManagementApiFp = exports.StockManagementApiAxiosParamCreator = exports.ShippingApi = exports.ShippingApiFactory = exports.ShippingApiFp = exports.ShippingApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = exports.SIPTrunksApiAxiosParamCreator = exports.ProvisioningApi = exports.ProvisioningApiFactory = exports.ProvisioningApiFp = exports.ProvisioningApiAxiosParamCreator = exports.ProspectsApi = exports.ProspectsApiFactory = exports.ProspectsApiFp = exports.ProspectsApiAxiosParamCreator = exports.GetGetLegacyStockListFormatEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PostSendPriceListCategoryEnum = exports.PostSendPriceListFormatEnum = exports.PostSendPriceListTypeEnum = exports.GetGetPriceListCategoryEnum = exports.GetGetPriceListFormatEnum = exports.GetGetPriceListTypeEnum = exports.PricingApi = exports.PricingApiFactory = exports.PricingApiFp = exports.PricingApiAxiosParamCreator = exports.PostPrintShippingLabelPrinterEnum = exports.GetGetOrdersFilterEnum = exports.GetGetOrdersStatusEnum = exports.OrdersApi = exports.OrdersApiFactory = void 0;
|
|
90
|
+
exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = void 0;
|
|
91
91
|
var axios_1 = require("axios");
|
|
92
92
|
// Some imports not used depending on template conditions
|
|
93
93
|
// @ts-ignore
|
|
@@ -96,20 +96,27 @@ 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
|
+
};
|
|
108
|
+
exports.AdminUserModelPermissionsEnum = {
|
|
109
|
+
All: 'All',
|
|
110
|
+
Standard: 'Standard',
|
|
111
|
+
Technical: 'Technical',
|
|
112
|
+
Privileged: 'Privileged',
|
|
113
|
+
Development: 'Development',
|
|
107
114
|
};
|
|
108
115
|
exports.AuditLogEntityActionEnum = {
|
|
109
116
|
Create: 'CREATE',
|
|
110
117
|
Read: 'READ',
|
|
111
118
|
Update: 'UPDATE',
|
|
112
|
-
Delete: 'DELETE'
|
|
119
|
+
Delete: 'DELETE',
|
|
113
120
|
};
|
|
114
121
|
exports.AuditLogEntityTypeEnum = {
|
|
115
122
|
AuditLog: 'audit_log',
|
|
@@ -171,6 +178,7 @@ exports.AuditLogEntityTypeEnum = {
|
|
|
171
178
|
PopsStockTransactions: 'pops_stock_transactions',
|
|
172
179
|
PopsSuppliers: 'pops_suppliers',
|
|
173
180
|
PopsSupplierItems: 'pops_supplier_items',
|
|
181
|
+
PopsTableAttribs: 'pops_table_attribs',
|
|
174
182
|
Pops3cxBackup: 'pops_3cx_backup',
|
|
175
183
|
Pops3cxBilling: 'pops_3cx_billing',
|
|
176
184
|
PopsDeadLicences: 'pops_dead_licences',
|
|
@@ -189,20 +197,20 @@ exports.AuditLogEntityTypeEnum = {
|
|
|
189
197
|
Webhook: 'webhook',
|
|
190
198
|
PopsXeroLog: 'pops_xero_log',
|
|
191
199
|
Oauth2Clients: 'oauth2_clients',
|
|
192
|
-
Oauth2Tokens: 'oauth2_tokens'
|
|
200
|
+
Oauth2Tokens: 'oauth2_tokens',
|
|
193
201
|
};
|
|
194
202
|
exports.DivertResponseModelStatusEnum = {
|
|
195
203
|
Enabled: 'enabled',
|
|
196
|
-
Disabled: 'disabled'
|
|
204
|
+
Disabled: 'disabled',
|
|
197
205
|
};
|
|
198
206
|
exports.EventDTOStatusEnum = {
|
|
199
207
|
NUMBER_0: 0,
|
|
200
208
|
NUMBER_1: 1,
|
|
201
|
-
NUMBER_2: 2
|
|
209
|
+
NUMBER_2: 2,
|
|
202
210
|
};
|
|
203
211
|
exports.HostingChangeResponseModelTypeEnum = {
|
|
204
212
|
NewInstance: 'New Instance',
|
|
205
|
-
BuildingInstance: 'Building Instance'
|
|
213
|
+
BuildingInstance: 'Building Instance',
|
|
206
214
|
};
|
|
207
215
|
exports.HostingRegionDTOCodeEnum = {
|
|
208
216
|
Uk1: 'UK1',
|
|
@@ -213,12 +221,12 @@ exports.HostingRegionDTOCodeEnum = {
|
|
|
213
221
|
Syd1: 'SYD1',
|
|
214
222
|
Sgp1: 'SGP1',
|
|
215
223
|
UsEastVa1: 'US-EAST-VA-1',
|
|
216
|
-
UsWestOr1: 'US-WEST-OR-1'
|
|
224
|
+
UsWestOr1: 'US-WEST-OR-1',
|
|
217
225
|
};
|
|
218
226
|
exports.ItemDiscountEntityTypeEnum = {
|
|
219
227
|
TcxPhones: 'TCX_PHONES',
|
|
220
228
|
PhoneBulk: 'PHONE_BULK',
|
|
221
|
-
Additional: 'ADDITIONAL'
|
|
229
|
+
Additional: 'ADDITIONAL',
|
|
222
230
|
};
|
|
223
231
|
exports.MultiTenantChangeResponseModelTypeEnum = {
|
|
224
232
|
NewTrunk: 'New Trunk',
|
|
@@ -234,15 +242,15 @@ exports.MultiTenantChangeResponseModelTypeEnum = {
|
|
|
234
242
|
Address: 'Address',
|
|
235
243
|
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
236
244
|
Fraud: 'Fraud',
|
|
237
|
-
CallBarring: 'Call Barring'
|
|
245
|
+
CallBarring: 'Call Barring',
|
|
238
246
|
};
|
|
239
247
|
exports.OrderRequestModelLicenceTypeEnum = {
|
|
240
248
|
Lite: 'lite',
|
|
241
|
-
Pro: 'pro'
|
|
249
|
+
Pro: 'pro',
|
|
242
250
|
};
|
|
243
251
|
exports.OrderRequestModelSchoolTypeEnum = {
|
|
244
252
|
Primary: 'primary',
|
|
245
|
-
Secondary: 'secondary'
|
|
253
|
+
Secondary: 'secondary',
|
|
246
254
|
};
|
|
247
255
|
exports.OrderTotalModelCurrencyEnum = {
|
|
248
256
|
Eur: 'EUR',
|
|
@@ -275,7 +283,7 @@ exports.OrderTotalModelCurrencyEnum = {
|
|
|
275
283
|
Php: 'PHP',
|
|
276
284
|
Sgd: 'SGD',
|
|
277
285
|
Thb: 'THB',
|
|
278
|
-
Zar: 'ZAR'
|
|
286
|
+
Zar: 'ZAR',
|
|
279
287
|
};
|
|
280
288
|
exports.PatchUpdatePriceListRequestPriceListEnum = {
|
|
281
289
|
Rrp: 'RRP',
|
|
@@ -284,61 +292,62 @@ exports.PatchUpdatePriceListRequestPriceListEnum = {
|
|
|
284
292
|
Itsp: 'ITSP',
|
|
285
293
|
SubDisti: 'Sub Disti',
|
|
286
294
|
Distributor: 'Distributor',
|
|
287
|
-
HotelDisti: 'Hotel Disti'
|
|
295
|
+
HotelDisti: 'Hotel Disti',
|
|
288
296
|
};
|
|
289
297
|
exports.PatchUpdateTcxHostingPriceListRequestPriceListEnum = {
|
|
290
298
|
_1: '1',
|
|
291
299
|
_2: '2',
|
|
292
300
|
_3: '3',
|
|
293
301
|
_4: '4',
|
|
294
|
-
_5: '5'
|
|
302
|
+
_5: '5',
|
|
295
303
|
};
|
|
296
304
|
exports.ProspectDTOStatusEnum = {
|
|
297
305
|
NoCallBackSet: 'No Call Back Set',
|
|
298
306
|
CallBackDue: 'Call Back Due',
|
|
299
307
|
NoOrdersPlaced: 'No Orders Placed',
|
|
300
308
|
NoOrdersInTheLast4Months: 'No Orders In The Last 4 Months',
|
|
301
|
-
NoActionRequired: 'No Action Required'
|
|
309
|
+
NoActionRequired: 'No Action Required',
|
|
310
|
+
DoNotCall: 'Do Not Call',
|
|
302
311
|
};
|
|
303
312
|
exports.ServiceHealthDTOGlobalStatusEnum = {
|
|
304
313
|
NUMBER_0: 0,
|
|
305
314
|
NUMBER_1: 1,
|
|
306
|
-
NUMBER_2: 2
|
|
315
|
+
NUMBER_2: 2,
|
|
307
316
|
};
|
|
308
317
|
exports.ServiceStatusDTOStatusEnum = {
|
|
309
318
|
_0: '0',
|
|
310
319
|
_1: '1',
|
|
311
|
-
_2: '2'
|
|
320
|
+
_2: '2',
|
|
312
321
|
};
|
|
313
322
|
exports.ShipmentDTOCourierEnum = {
|
|
314
323
|
Dpd: 'DPD',
|
|
315
324
|
ChorltonPallet: 'Chorlton Pallet',
|
|
316
|
-
Pops: 'POPS'
|
|
325
|
+
Pops: 'POPS',
|
|
317
326
|
};
|
|
318
327
|
exports.ShipmentRequestDTOCourierEnum = {
|
|
319
328
|
Dpd: 'DPD',
|
|
320
329
|
ChorltonPallet: 'Chorlton Pallet',
|
|
321
|
-
Pops: 'POPS'
|
|
330
|
+
Pops: 'POPS',
|
|
322
331
|
};
|
|
323
332
|
exports.ShippingRequestDTOCourierEnum = {
|
|
324
333
|
Dpd: 'DPD',
|
|
325
334
|
ChorltonPallet: 'Chorlton Pallet',
|
|
326
|
-
Pops: 'POPS'
|
|
335
|
+
Pops: 'POPS',
|
|
327
336
|
};
|
|
328
337
|
exports.ShippingRequestDTOPrinterEnum = {
|
|
329
338
|
NUMBER_1: 1,
|
|
330
339
|
NUMBER_2: 2,
|
|
331
|
-
NUMBER_3: 3
|
|
340
|
+
NUMBER_3: 3,
|
|
332
341
|
};
|
|
333
342
|
exports.ShippingServiceDTOCourierEnum = {
|
|
334
343
|
Dpd: 'DPD',
|
|
335
344
|
ChorltonPallet: 'Chorlton Pallet',
|
|
336
|
-
Pops: 'POPS'
|
|
345
|
+
Pops: 'POPS',
|
|
337
346
|
};
|
|
338
347
|
exports.ShippingServiceModelCourierEnum = {
|
|
339
348
|
Dpd: 'DPD',
|
|
340
349
|
ChorltonPallet: 'Chorlton Pallet',
|
|
341
|
-
Pops: 'POPS'
|
|
350
|
+
Pops: 'POPS',
|
|
342
351
|
};
|
|
343
352
|
exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
344
353
|
NewTrunk: 'New Trunk',
|
|
@@ -354,17 +363,17 @@ exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
|
354
363
|
Address: 'Address',
|
|
355
364
|
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
356
365
|
Fraud: 'Fraud',
|
|
357
|
-
CallBarring: 'Call Barring'
|
|
366
|
+
CallBarring: 'Call Barring',
|
|
358
367
|
};
|
|
359
368
|
exports.SmsAccountRequestDTOProviderEnum = {
|
|
360
|
-
NUMBER_1: 1
|
|
369
|
+
NUMBER_1: 1,
|
|
361
370
|
};
|
|
362
371
|
exports.SmsAccountRequestDTOTypeEnum = {
|
|
363
372
|
Local: 'local',
|
|
364
373
|
TollFree: 'toll_free',
|
|
365
374
|
Mobile: 'mobile',
|
|
366
375
|
National: 'national',
|
|
367
|
-
SharedCost: 'shared_cost'
|
|
376
|
+
SharedCost: 'shared_cost',
|
|
368
377
|
};
|
|
369
378
|
exports.SmsPhoneNumberModelStatusEnum = {
|
|
370
379
|
Queued: 'queued',
|
|
@@ -375,31 +384,31 @@ exports.SmsPhoneNumberModelStatusEnum = {
|
|
|
375
384
|
DeliveryUnconfirmed: 'delivery_unconfirmed',
|
|
376
385
|
Delivered: 'delivered',
|
|
377
386
|
DeliveryFailed: 'delivery_failed',
|
|
378
|
-
WebhookDelivered: 'webhook_delivered'
|
|
387
|
+
WebhookDelivered: 'webhook_delivered',
|
|
379
388
|
};
|
|
380
389
|
exports.SmsResponseModelEventTypeEnum = {
|
|
381
390
|
MessageSent: 'message.sent',
|
|
382
391
|
MessageFinalized: 'message.finalized',
|
|
383
|
-
MessageReceived: 'message.received'
|
|
392
|
+
MessageReceived: 'message.received',
|
|
384
393
|
};
|
|
385
394
|
exports.StockOrderModelDeliveryMethodEnum = {
|
|
386
395
|
Sea: 'Sea',
|
|
387
396
|
Air: 'Air',
|
|
388
|
-
Road: 'Road'
|
|
397
|
+
Road: 'Road',
|
|
389
398
|
};
|
|
390
399
|
exports.StockOrderModelPaidEnum = {
|
|
391
400
|
NUMBER_0: 0,
|
|
392
401
|
NUMBER_1: 1,
|
|
393
|
-
NUMBER_2: 2
|
|
402
|
+
NUMBER_2: 2,
|
|
394
403
|
};
|
|
395
404
|
exports.TcxMultiTenantModelPackageEnum = {
|
|
396
|
-
_3CxStarterBundle: '3CX Starter Bundle'
|
|
405
|
+
_3CxStarterBundle: '3CX Starter Bundle',
|
|
397
406
|
};
|
|
398
407
|
exports.TcxSetupEntityInstallTypeEnum = {
|
|
399
408
|
New: 'new',
|
|
400
409
|
Restore: 'restore',
|
|
401
410
|
Failover: 'failover',
|
|
402
|
-
MultiTenant: 'multi-tenant'
|
|
411
|
+
MultiTenant: 'multi-tenant',
|
|
403
412
|
};
|
|
404
413
|
exports.TcxSetupEntityRegionEnum = {
|
|
405
414
|
Uk1: 'UK1',
|
|
@@ -410,13 +419,13 @@ exports.TcxSetupEntityRegionEnum = {
|
|
|
410
419
|
Syd1: 'SYD1',
|
|
411
420
|
Sgp1: 'SGP1',
|
|
412
421
|
UsEastVa1: 'US-EAST-VA-1',
|
|
413
|
-
UsWestOr1: 'US-WEST-OR-1'
|
|
422
|
+
UsWestOr1: 'US-WEST-OR-1',
|
|
414
423
|
};
|
|
415
424
|
exports.TcxWizardModelInstallTypeEnum = {
|
|
416
425
|
New: 'new',
|
|
417
426
|
Restore: 'restore',
|
|
418
427
|
Failover: 'failover',
|
|
419
|
-
MultiTenant: 'multi-tenant'
|
|
428
|
+
MultiTenant: 'multi-tenant',
|
|
420
429
|
};
|
|
421
430
|
exports.TcxWizardModelInstallationStatusEnum = {
|
|
422
431
|
Building: 'Building',
|
|
@@ -433,15 +442,15 @@ exports.TcxWizardModelInstallationStatusEnum = {
|
|
|
433
442
|
RecordingsBackupInstalled: 'Recordings Backup Installed',
|
|
434
443
|
Complete: 'Complete',
|
|
435
444
|
Deleted: 'Deleted',
|
|
436
|
-
Failed: 'Failed'
|
|
445
|
+
Failed: 'Failed',
|
|
437
446
|
};
|
|
438
447
|
exports.UpgradeRequestModelLicenceTypeEnum = {
|
|
439
448
|
Lite: 'lite',
|
|
440
|
-
Pro: 'pro'
|
|
449
|
+
Pro: 'pro',
|
|
441
450
|
};
|
|
442
451
|
exports.UpgradeRequestModelSchoolTypeEnum = {
|
|
443
452
|
Primary: 'primary',
|
|
444
|
-
Secondary: 'secondary'
|
|
453
|
+
Secondary: 'secondary',
|
|
445
454
|
};
|
|
446
455
|
/**
|
|
447
456
|
* AccountsApi - axios parameter creator
|
|
@@ -470,8 +479,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
470
479
|
// verify required parameter 'contactId' is not null or undefined
|
|
471
480
|
(0, common_1.assertParamExists)('deleteAdminUpdateAccountContact', 'contactId', contactId);
|
|
472
481
|
localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
|
|
473
|
-
.replace(
|
|
474
|
-
.replace(
|
|
482
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
483
|
+
.replace('{contact_id}', encodeURIComponent(String(contactId)));
|
|
475
484
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
476
485
|
if (configuration) {
|
|
477
486
|
baseOptions = configuration.baseOptions;
|
|
@@ -507,7 +516,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
507
516
|
// verify required parameter 'id' is not null or undefined
|
|
508
517
|
(0, common_1.assertParamExists)('deleteArchiveAccount', 'id', id);
|
|
509
518
|
localVarPath = "/admin/accounts/{id}/archive"
|
|
510
|
-
.replace(
|
|
519
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
511
520
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
512
521
|
if (configuration) {
|
|
513
522
|
baseOptions = configuration.baseOptions;
|
|
@@ -544,7 +553,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
544
553
|
// verify required parameter 'id' is not null or undefined
|
|
545
554
|
(0, common_1.assertParamExists)('deleteDeleteClientCredentials', 'id', id);
|
|
546
555
|
localVarPath = "/accounts/me/contacts/credentials/{id}"
|
|
547
|
-
.replace(
|
|
556
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
548
557
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
549
558
|
if (configuration) {
|
|
550
559
|
baseOptions = configuration.baseOptions;
|
|
@@ -581,7 +590,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
581
590
|
// verify required parameter 'email' is not null or undefined
|
|
582
591
|
(0, common_1.assertParamExists)('deleteUpdateAccountContact', 'email', email);
|
|
583
592
|
localVarPath = "/accounts/me/contacts/{email}"
|
|
584
|
-
.replace(
|
|
593
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
585
594
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
586
595
|
if (configuration) {
|
|
587
596
|
baseOptions = configuration.baseOptions;
|
|
@@ -617,7 +626,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
617
626
|
// verify required parameter 'id' is not null or undefined
|
|
618
627
|
(0, common_1.assertParamExists)('getAdminCreateAccountContact', 'id', id);
|
|
619
628
|
localVarPath = "/admin/accounts/{id}/contacts"
|
|
620
|
-
.replace(
|
|
629
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
621
630
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
622
631
|
if (configuration) {
|
|
623
632
|
baseOptions = configuration.baseOptions;
|
|
@@ -671,22 +680,24 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
671
680
|
});
|
|
672
681
|
},
|
|
673
682
|
/**
|
|
674
|
-
* Get Account
|
|
675
|
-
* @
|
|
676
|
-
* @param {string} [email] Contact Email Address
|
|
683
|
+
* Get Account Addresses
|
|
684
|
+
* @param {string} id Xero ID
|
|
677
685
|
* @param {*} [options] Override http request option.
|
|
678
686
|
* @throws {RequiredError}
|
|
679
687
|
*/
|
|
680
|
-
|
|
688
|
+
getGetAccountAddresses: function (id_1) {
|
|
681
689
|
var args_1 = [];
|
|
682
690
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
683
691
|
args_1[_i - 1] = arguments[_i];
|
|
684
692
|
}
|
|
685
|
-
return __awaiter(_this, __spreadArray([
|
|
693
|
+
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
686
694
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
687
695
|
if (options === void 0) { options = {}; }
|
|
688
696
|
return __generator(this, function (_a) {
|
|
689
|
-
|
|
697
|
+
// verify required parameter 'id' is not null or undefined
|
|
698
|
+
(0, common_1.assertParamExists)('getGetAccountAddresses', 'id', id);
|
|
699
|
+
localVarPath = "/admin/accounts/{id}/addresses"
|
|
700
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
690
701
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
691
702
|
if (configuration) {
|
|
692
703
|
baseOptions = configuration.baseOptions;
|
|
@@ -694,9 +705,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
694
705
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
695
706
|
localVarHeaderParameter = {};
|
|
696
707
|
localVarQueryParameter = {};
|
|
697
|
-
if (email !== undefined) {
|
|
698
|
-
localVarQueryParameter['email'] = email;
|
|
699
|
-
}
|
|
700
708
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
701
709
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
702
710
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -709,25 +717,22 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
709
717
|
});
|
|
710
718
|
},
|
|
711
719
|
/**
|
|
712
|
-
* Get Account
|
|
713
|
-
* @summary Get Account
|
|
714
|
-
* @param {
|
|
720
|
+
* Get Account Contacts
|
|
721
|
+
* @summary Get Account Contacts
|
|
722
|
+
* @param {string} [email] Contact Email Address
|
|
715
723
|
* @param {*} [options] Override http request option.
|
|
716
724
|
* @throws {RequiredError}
|
|
717
725
|
*/
|
|
718
|
-
|
|
726
|
+
getGetAccountContacts: function (email_1) {
|
|
719
727
|
var args_1 = [];
|
|
720
728
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
721
729
|
args_1[_i - 1] = arguments[_i];
|
|
722
730
|
}
|
|
723
|
-
return __awaiter(_this, __spreadArray([
|
|
731
|
+
return __awaiter(_this, __spreadArray([email_1], args_1, true), void 0, function (email, options) {
|
|
724
732
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
725
733
|
if (options === void 0) { options = {}; }
|
|
726
734
|
return __generator(this, function (_a) {
|
|
727
|
-
|
|
728
|
-
(0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
|
|
729
|
-
localVarPath = "/accounts/{id}/summary"
|
|
730
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
735
|
+
localVarPath = "/accounts/me/contacts";
|
|
731
736
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
732
737
|
if (configuration) {
|
|
733
738
|
baseOptions = configuration.baseOptions;
|
|
@@ -735,6 +740,9 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
735
740
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
736
741
|
localVarHeaderParameter = {};
|
|
737
742
|
localVarQueryParameter = {};
|
|
743
|
+
if (email !== undefined) {
|
|
744
|
+
localVarQueryParameter['email'] = email;
|
|
745
|
+
}
|
|
738
746
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
739
747
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
740
748
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -747,12 +755,13 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
747
755
|
});
|
|
748
756
|
},
|
|
749
757
|
/**
|
|
750
|
-
* Get Account
|
|
751
|
-
* @
|
|
758
|
+
* Get Account Detailed Summary
|
|
759
|
+
* @summary Get Account Detailed Summary
|
|
760
|
+
* @param {number} id Customer ID
|
|
752
761
|
* @param {*} [options] Override http request option.
|
|
753
762
|
* @throws {RequiredError}
|
|
754
763
|
*/
|
|
755
|
-
|
|
764
|
+
getGetAccountDetailedSummary: function (id_1) {
|
|
756
765
|
var args_1 = [];
|
|
757
766
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
758
767
|
args_1[_i - 1] = arguments[_i];
|
|
@@ -762,9 +771,9 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
762
771
|
if (options === void 0) { options = {}; }
|
|
763
772
|
return __generator(this, function (_a) {
|
|
764
773
|
// verify required parameter 'id' is not null or undefined
|
|
765
|
-
(0, common_1.assertParamExists)('
|
|
766
|
-
localVarPath = "/
|
|
767
|
-
.replace(
|
|
774
|
+
(0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
|
|
775
|
+
localVarPath = "/accounts/{id}/summary"
|
|
776
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
768
777
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
769
778
|
if (configuration) {
|
|
770
779
|
baseOptions = configuration.baseOptions;
|
|
@@ -919,7 +928,41 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
919
928
|
// verify required parameter 'id' is not null or undefined
|
|
920
929
|
(0, common_1.assertParamExists)('getGetFinanceSettings', 'id', id);
|
|
921
930
|
localVarPath = "/admin/accounts/{id}/finance"
|
|
922
|
-
.replace(
|
|
931
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
932
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
933
|
+
if (configuration) {
|
|
934
|
+
baseOptions = configuration.baseOptions;
|
|
935
|
+
}
|
|
936
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
937
|
+
localVarHeaderParameter = {};
|
|
938
|
+
localVarQueryParameter = {};
|
|
939
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
940
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
941
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
942
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
943
|
+
return [2 /*return*/, {
|
|
944
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
945
|
+
options: localVarRequestOptions,
|
|
946
|
+
}];
|
|
947
|
+
});
|
|
948
|
+
});
|
|
949
|
+
},
|
|
950
|
+
/**
|
|
951
|
+
* Get Last Account
|
|
952
|
+
* @summary Get Last Account
|
|
953
|
+
* @param {*} [options] Override http request option.
|
|
954
|
+
* @throws {RequiredError}
|
|
955
|
+
*/
|
|
956
|
+
getGetLastAccount: function () {
|
|
957
|
+
var args_1 = [];
|
|
958
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
959
|
+
args_1[_i] = arguments[_i];
|
|
960
|
+
}
|
|
961
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
962
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
963
|
+
if (options === void 0) { options = {}; }
|
|
964
|
+
return __generator(this, function (_a) {
|
|
965
|
+
localVarPath = "/admin/accounts/last";
|
|
923
966
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
924
967
|
if (configuration) {
|
|
925
968
|
baseOptions = configuration.baseOptions;
|
|
@@ -956,7 +999,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
956
999
|
// verify required parameter 'id' is not null or undefined
|
|
957
1000
|
(0, common_1.assertParamExists)('getGetTcxPartnerDetails', 'id', id);
|
|
958
1001
|
localVarPath = "/admin/accounts/{id}/tcx/partner"
|
|
959
|
-
.replace(
|
|
1002
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
960
1003
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
961
1004
|
if (configuration) {
|
|
962
1005
|
baseOptions = configuration.baseOptions;
|
|
@@ -1035,8 +1078,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1035
1078
|
// verify required parameter 'state' is not null or undefined
|
|
1036
1079
|
(0, common_1.assertParamExists)('patchSetPortalAccess', 'state', state);
|
|
1037
1080
|
localVarPath = "/admin/accounts/{id}/portal/access/{state}"
|
|
1038
|
-
.replace(
|
|
1039
|
-
.replace(
|
|
1081
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1082
|
+
.replace('{state}', encodeURIComponent(String(state)));
|
|
1040
1083
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1041
1084
|
if (configuration) {
|
|
1042
1085
|
baseOptions = configuration.baseOptions;
|
|
@@ -1075,8 +1118,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1075
1118
|
// verify required parameter 'state' is not null or undefined
|
|
1076
1119
|
(0, common_1.assertParamExists)('patchSetPrizePromo', 'state', state);
|
|
1077
1120
|
localVarPath = "/admin/accounts/{id}/prizes/{state}"
|
|
1078
|
-
.replace(
|
|
1079
|
-
.replace(
|
|
1121
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1122
|
+
.replace('{state}', encodeURIComponent(String(state)));
|
|
1080
1123
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1081
1124
|
if (configuration) {
|
|
1082
1125
|
baseOptions = configuration.baseOptions;
|
|
@@ -1148,7 +1191,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1148
1191
|
// verify required parameter 'id' is not null or undefined
|
|
1149
1192
|
(0, common_1.assertParamExists)('patchUpdateAccountCname', 'id', id);
|
|
1150
1193
|
localVarPath = "/admin/accounts/{id}/cname"
|
|
1151
|
-
.replace(
|
|
1194
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1152
1195
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1153
1196
|
if (configuration) {
|
|
1154
1197
|
baseOptions = configuration.baseOptions;
|
|
@@ -1187,7 +1230,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1187
1230
|
// verify required parameter 'id' is not null or undefined
|
|
1188
1231
|
(0, common_1.assertParamExists)('patchUpdateAccountCompanyNumber', 'id', id);
|
|
1189
1232
|
localVarPath = "/admin/accounts/{id}/companyNumber"
|
|
1190
|
-
.replace(
|
|
1233
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1191
1234
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1192
1235
|
if (configuration) {
|
|
1193
1236
|
baseOptions = configuration.baseOptions;
|
|
@@ -1268,7 +1311,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1268
1311
|
// verify required parameter 'id' is not null or undefined
|
|
1269
1312
|
(0, common_1.assertParamExists)('patchUpdateAccountPhone', 'id', id);
|
|
1270
1313
|
localVarPath = "/admin/accounts/{id}/phone"
|
|
1271
|
-
.replace(
|
|
1314
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1272
1315
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1273
1316
|
if (configuration) {
|
|
1274
1317
|
baseOptions = configuration.baseOptions;
|
|
@@ -1307,7 +1350,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1307
1350
|
// verify required parameter 'id' is not null or undefined
|
|
1308
1351
|
(0, common_1.assertParamExists)('patchUpdateAccountVatNumber', 'id', id);
|
|
1309
1352
|
localVarPath = "/admin/accounts/{id}/vatNumber"
|
|
1310
|
-
.replace(
|
|
1353
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1311
1354
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1312
1355
|
if (configuration) {
|
|
1313
1356
|
baseOptions = configuration.baseOptions;
|
|
@@ -1346,7 +1389,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1346
1389
|
// verify required parameter 'id' is not null or undefined
|
|
1347
1390
|
(0, common_1.assertParamExists)('patchUpdateCreditLimit', 'id', id);
|
|
1348
1391
|
localVarPath = "/admin/accounts/{id}/creditLimit"
|
|
1349
|
-
.replace(
|
|
1392
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1350
1393
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1351
1394
|
if (configuration) {
|
|
1352
1395
|
baseOptions = configuration.baseOptions;
|
|
@@ -1386,7 +1429,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1386
1429
|
// verify required parameter 'id' is not null or undefined
|
|
1387
1430
|
(0, common_1.assertParamExists)('patchUpdatePriceList', 'id', id);
|
|
1388
1431
|
localVarPath = "/admin/accounts/{id}/priceList"
|
|
1389
|
-
.replace(
|
|
1432
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1390
1433
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1391
1434
|
if (configuration) {
|
|
1392
1435
|
baseOptions = configuration.baseOptions;
|
|
@@ -1426,7 +1469,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1426
1469
|
// verify required parameter 'id' is not null or undefined
|
|
1427
1470
|
(0, common_1.assertParamExists)('patchUpdateSipChannelCost', 'id', id);
|
|
1428
1471
|
localVarPath = "/admin/accounts/{id}/channelCost"
|
|
1429
|
-
.replace(
|
|
1472
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1430
1473
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1431
1474
|
if (configuration) {
|
|
1432
1475
|
baseOptions = configuration.baseOptions;
|
|
@@ -1466,7 +1509,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1466
1509
|
// verify required parameter 'id' is not null or undefined
|
|
1467
1510
|
(0, common_1.assertParamExists)('patchUpdateTcxHostingPriceList', 'id', id);
|
|
1468
1511
|
localVarPath = "/admin/accounts/{id}/tcx/hosting/priceList"
|
|
1469
|
-
.replace(
|
|
1512
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1470
1513
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1471
1514
|
if (configuration) {
|
|
1472
1515
|
baseOptions = configuration.baseOptions;
|
|
@@ -1506,7 +1549,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1506
1549
|
// verify required parameter 'id' is not null or undefined
|
|
1507
1550
|
(0, common_1.assertParamExists)('patchUpdateTcxPartnerId', 'id', id);
|
|
1508
1551
|
localVarPath = "/admin/accounts{id}/tcx/partner/id"
|
|
1509
|
-
.replace(
|
|
1552
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1510
1553
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1511
1554
|
if (configuration) {
|
|
1512
1555
|
baseOptions = configuration.baseOptions;
|
|
@@ -1546,7 +1589,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1546
1589
|
// verify required parameter 'id' is not null or undefined
|
|
1547
1590
|
(0, common_1.assertParamExists)('postAdminCreateAccountContact', 'id', id);
|
|
1548
1591
|
localVarPath = "/admin/accounts/{id}/contacts"
|
|
1549
|
-
.replace(
|
|
1592
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1550
1593
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1551
1594
|
if (configuration) {
|
|
1552
1595
|
baseOptions = configuration.baseOptions;
|
|
@@ -1729,7 +1772,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1729
1772
|
// verify required parameter 'email' is not null or undefined
|
|
1730
1773
|
(0, common_1.assertParamExists)('postSendEmailVerificationEmail', 'email', email);
|
|
1731
1774
|
localVarPath = "/accounts/contacts/verify/{email}"
|
|
1732
|
-
.replace(
|
|
1775
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1733
1776
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1734
1777
|
if (configuration) {
|
|
1735
1778
|
baseOptions = configuration.baseOptions;
|
|
@@ -1805,7 +1848,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1805
1848
|
// verify required parameter 'id' is not null or undefined
|
|
1806
1849
|
(0, common_1.assertParamExists)('postSendWelcomeEmail', 'id', id);
|
|
1807
1850
|
localVarPath = "/admin/accounts/{id}/email/welcome"
|
|
1808
|
-
.replace(
|
|
1851
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1809
1852
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1810
1853
|
if (configuration) {
|
|
1811
1854
|
baseOptions = configuration.baseOptions;
|
|
@@ -1892,8 +1935,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1892
1935
|
// verify required parameter 'contactId' is not null or undefined
|
|
1893
1936
|
(0, common_1.assertParamExists)('putAdminUpdateAccountContact', 'contactId', contactId);
|
|
1894
1937
|
localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
|
|
1895
|
-
.replace(
|
|
1896
|
-
.replace(
|
|
1938
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1939
|
+
.replace('{contact_id}', encodeURIComponent(String(contactId)));
|
|
1897
1940
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1898
1941
|
if (configuration) {
|
|
1899
1942
|
baseOptions = configuration.baseOptions;
|
|
@@ -1933,7 +1976,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1933
1976
|
// verify required parameter 'email' is not null or undefined
|
|
1934
1977
|
(0, common_1.assertParamExists)('putUpdateAccountContact', 'email', email);
|
|
1935
1978
|
localVarPath = "/accounts/me/contacts/{email}"
|
|
1936
|
-
.replace(
|
|
1979
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1937
1980
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1938
1981
|
if (configuration) {
|
|
1939
1982
|
baseOptions = configuration.baseOptions;
|
|
@@ -1972,7 +2015,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1972
2015
|
// verify required parameter 'id' is not null or undefined
|
|
1973
2016
|
(0, common_1.assertParamExists)('putUpdateBillingAddress', 'id', id);
|
|
1974
2017
|
localVarPath = "/admin/accounts/{id}/billing/address"
|
|
1975
|
-
.replace(
|
|
2018
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1976
2019
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1977
2020
|
if (configuration) {
|
|
1978
2021
|
baseOptions = configuration.baseOptions;
|
|
@@ -2011,7 +2054,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
2011
2054
|
// verify required parameter 'id' is not null or undefined
|
|
2012
2055
|
(0, common_1.assertParamExists)('putUpdateShippingAddress', 'id', id);
|
|
2013
2056
|
localVarPath = "/admin/accounts/{id}/shipping/address"
|
|
2014
|
-
.replace(
|
|
2057
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
2015
2058
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2016
2059
|
if (configuration) {
|
|
2017
2060
|
baseOptions = configuration.baseOptions;
|
|
@@ -2176,68 +2219,68 @@ var AccountsApiFp = function (configuration) {
|
|
|
2176
2219
|
});
|
|
2177
2220
|
},
|
|
2178
2221
|
/**
|
|
2179
|
-
* Get Account
|
|
2180
|
-
* @
|
|
2181
|
-
* @param {string} [email] Contact Email Address
|
|
2222
|
+
* Get Account Addresses
|
|
2223
|
+
* @param {string} id Xero ID
|
|
2182
2224
|
* @param {*} [options] Override http request option.
|
|
2183
2225
|
* @throws {RequiredError}
|
|
2184
2226
|
*/
|
|
2185
|
-
|
|
2227
|
+
getGetAccountAddresses: function (id, options) {
|
|
2186
2228
|
return __awaiter(this, void 0, void 0, function () {
|
|
2187
2229
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2188
2230
|
var _a, _b, _c;
|
|
2189
2231
|
return __generator(this, function (_d) {
|
|
2190
2232
|
switch (_d.label) {
|
|
2191
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2233
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountAddresses(id, options)];
|
|
2192
2234
|
case 1:
|
|
2193
2235
|
localVarAxiosArgs = _d.sent();
|
|
2194
2236
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2195
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.
|
|
2237
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountAddresses']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2196
2238
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2197
2239
|
}
|
|
2198
2240
|
});
|
|
2199
2241
|
});
|
|
2200
2242
|
},
|
|
2201
2243
|
/**
|
|
2202
|
-
* Get Account
|
|
2203
|
-
* @summary Get Account
|
|
2204
|
-
* @param {
|
|
2244
|
+
* Get Account Contacts
|
|
2245
|
+
* @summary Get Account Contacts
|
|
2246
|
+
* @param {string} [email] Contact Email Address
|
|
2205
2247
|
* @param {*} [options] Override http request option.
|
|
2206
2248
|
* @throws {RequiredError}
|
|
2207
2249
|
*/
|
|
2208
|
-
|
|
2250
|
+
getGetAccountContacts: function (email, options) {
|
|
2209
2251
|
return __awaiter(this, void 0, void 0, function () {
|
|
2210
2252
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2211
2253
|
var _a, _b, _c;
|
|
2212
2254
|
return __generator(this, function (_d) {
|
|
2213
2255
|
switch (_d.label) {
|
|
2214
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2256
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountContacts(email, options)];
|
|
2215
2257
|
case 1:
|
|
2216
2258
|
localVarAxiosArgs = _d.sent();
|
|
2217
2259
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2218
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.
|
|
2260
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountContacts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2219
2261
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2220
2262
|
}
|
|
2221
2263
|
});
|
|
2222
2264
|
});
|
|
2223
2265
|
},
|
|
2224
2266
|
/**
|
|
2225
|
-
* Get Account
|
|
2226
|
-
* @
|
|
2267
|
+
* Get Account Detailed Summary
|
|
2268
|
+
* @summary Get Account Detailed Summary
|
|
2269
|
+
* @param {number} id Customer ID
|
|
2227
2270
|
* @param {*} [options] Override http request option.
|
|
2228
2271
|
* @throws {RequiredError}
|
|
2229
2272
|
*/
|
|
2230
|
-
|
|
2273
|
+
getGetAccountDetailedSummary: function (id, options) {
|
|
2231
2274
|
return __awaiter(this, void 0, void 0, function () {
|
|
2232
2275
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2233
2276
|
var _a, _b, _c;
|
|
2234
2277
|
return __generator(this, function (_d) {
|
|
2235
2278
|
switch (_d.label) {
|
|
2236
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
2279
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountDetailedSummary(id, options)];
|
|
2237
2280
|
case 1:
|
|
2238
2281
|
localVarAxiosArgs = _d.sent();
|
|
2239
2282
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2240
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.
|
|
2283
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountDetailedSummary']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2241
2284
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2242
2285
|
}
|
|
2243
2286
|
});
|
|
@@ -2335,6 +2378,28 @@ var AccountsApiFp = function (configuration) {
|
|
|
2335
2378
|
});
|
|
2336
2379
|
});
|
|
2337
2380
|
},
|
|
2381
|
+
/**
|
|
2382
|
+
* Get Last Account
|
|
2383
|
+
* @summary Get Last Account
|
|
2384
|
+
* @param {*} [options] Override http request option.
|
|
2385
|
+
* @throws {RequiredError}
|
|
2386
|
+
*/
|
|
2387
|
+
getGetLastAccount: function (options) {
|
|
2388
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2389
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2390
|
+
var _a, _b, _c;
|
|
2391
|
+
return __generator(this, function (_d) {
|
|
2392
|
+
switch (_d.label) {
|
|
2393
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetLastAccount(options)];
|
|
2394
|
+
case 1:
|
|
2395
|
+
localVarAxiosArgs = _d.sent();
|
|
2396
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2397
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetLastAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2398
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2399
|
+
}
|
|
2400
|
+
});
|
|
2401
|
+
});
|
|
2402
|
+
},
|
|
2338
2403
|
/**
|
|
2339
2404
|
* Get Account 3CX Details
|
|
2340
2405
|
* @param {string} id Xero ID
|
|
@@ -3047,6 +3112,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
3047
3112
|
getGetAccount: function (options) {
|
|
3048
3113
|
return localVarFp.getGetAccount(options).then(function (request) { return request(axios, basePath); });
|
|
3049
3114
|
},
|
|
3115
|
+
/**
|
|
3116
|
+
* Get Account Addresses
|
|
3117
|
+
* @param {string} id Xero ID
|
|
3118
|
+
* @param {*} [options] Override http request option.
|
|
3119
|
+
* @throws {RequiredError}
|
|
3120
|
+
*/
|
|
3121
|
+
getGetAccountAddresses: function (id, options) {
|
|
3122
|
+
return localVarFp.getGetAccountAddresses(id, options).then(function (request) { return request(axios, basePath); });
|
|
3123
|
+
},
|
|
3050
3124
|
/**
|
|
3051
3125
|
* Get Account Contacts
|
|
3052
3126
|
* @summary Get Account Contacts
|
|
@@ -3067,15 +3141,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
3067
3141
|
getGetAccountDetailedSummary: function (id, options) {
|
|
3068
3142
|
return localVarFp.getGetAccountDetailedSummary(id, options).then(function (request) { return request(axios, basePath); });
|
|
3069
3143
|
},
|
|
3070
|
-
/**
|
|
3071
|
-
* Get Account Page Details
|
|
3072
|
-
* @param {string} id Xero ID
|
|
3073
|
-
* @param {*} [options] Override http request option.
|
|
3074
|
-
* @throws {RequiredError}
|
|
3075
|
-
*/
|
|
3076
|
-
getGetAccountPageInfo: function (id, options) {
|
|
3077
|
-
return localVarFp.getGetAccountPageInfo(id, options).then(function (request) { return request(axios, basePath); });
|
|
3078
|
-
},
|
|
3079
3144
|
/**
|
|
3080
3145
|
* Get Accounts
|
|
3081
3146
|
* @summary Get Accounts
|
|
@@ -3116,6 +3181,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
3116
3181
|
getGetFinanceSettings: function (id, options) {
|
|
3117
3182
|
return localVarFp.getGetFinanceSettings(id, options).then(function (request) { return request(axios, basePath); });
|
|
3118
3183
|
},
|
|
3184
|
+
/**
|
|
3185
|
+
* Get Last Account
|
|
3186
|
+
* @summary Get Last Account
|
|
3187
|
+
* @param {*} [options] Override http request option.
|
|
3188
|
+
* @throws {RequiredError}
|
|
3189
|
+
*/
|
|
3190
|
+
getGetLastAccount: function (options) {
|
|
3191
|
+
return localVarFp.getGetLastAccount(options).then(function (request) { return request(axios, basePath); });
|
|
3192
|
+
},
|
|
3119
3193
|
/**
|
|
3120
3194
|
* Get Account 3CX Details
|
|
3121
3195
|
* @param {string} id Xero ID
|
|
@@ -3472,6 +3546,16 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3472
3546
|
var _this = this;
|
|
3473
3547
|
return (0, exports.AccountsApiFp)(this.configuration).getGetAccount(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3474
3548
|
};
|
|
3549
|
+
/**
|
|
3550
|
+
* Get Account Addresses
|
|
3551
|
+
* @param {string} id Xero ID
|
|
3552
|
+
* @param {*} [options] Override http request option.
|
|
3553
|
+
* @throws {RequiredError}
|
|
3554
|
+
*/
|
|
3555
|
+
AccountsApi.prototype.getGetAccountAddresses = function (id, options) {
|
|
3556
|
+
var _this = this;
|
|
3557
|
+
return (0, exports.AccountsApiFp)(this.configuration).getGetAccountAddresses(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3558
|
+
};
|
|
3475
3559
|
/**
|
|
3476
3560
|
* Get Account Contacts
|
|
3477
3561
|
* @summary Get Account Contacts
|
|
@@ -3494,16 +3578,6 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3494
3578
|
var _this = this;
|
|
3495
3579
|
return (0, exports.AccountsApiFp)(this.configuration).getGetAccountDetailedSummary(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3496
3580
|
};
|
|
3497
|
-
/**
|
|
3498
|
-
* Get Account Page Details
|
|
3499
|
-
* @param {string} id Xero ID
|
|
3500
|
-
* @param {*} [options] Override http request option.
|
|
3501
|
-
* @throws {RequiredError}
|
|
3502
|
-
*/
|
|
3503
|
-
AccountsApi.prototype.getGetAccountPageInfo = function (id, options) {
|
|
3504
|
-
var _this = this;
|
|
3505
|
-
return (0, exports.AccountsApiFp)(this.configuration).getGetAccountPageInfo(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3506
|
-
};
|
|
3507
3581
|
/**
|
|
3508
3582
|
* Get Accounts
|
|
3509
3583
|
* @summary Get Accounts
|
|
@@ -3548,6 +3622,16 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3548
3622
|
var _this = this;
|
|
3549
3623
|
return (0, exports.AccountsApiFp)(this.configuration).getGetFinanceSettings(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3550
3624
|
};
|
|
3625
|
+
/**
|
|
3626
|
+
* Get Last Account
|
|
3627
|
+
* @summary Get Last Account
|
|
3628
|
+
* @param {*} [options] Override http request option.
|
|
3629
|
+
* @throws {RequiredError}
|
|
3630
|
+
*/
|
|
3631
|
+
AccountsApi.prototype.getGetLastAccount = function (options) {
|
|
3632
|
+
var _this = this;
|
|
3633
|
+
return (0, exports.AccountsApiFp)(this.configuration).getGetLastAccount(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3634
|
+
};
|
|
3551
3635
|
/**
|
|
3552
3636
|
* Get Account 3CX Details
|
|
3553
3637
|
* @param {string} id Xero ID
|
|
@@ -3863,12 +3947,125 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3863
3947
|
exports.AccountsApi = AccountsApi;
|
|
3864
3948
|
exports.PatchSetPortalAccessStateEnum = {
|
|
3865
3949
|
Enable: 'enable',
|
|
3866
|
-
Disable: 'disable'
|
|
3950
|
+
Disable: 'disable',
|
|
3867
3951
|
};
|
|
3868
3952
|
exports.PatchSetPrizePromoStateEnum = {
|
|
3869
3953
|
Enable: 'enable',
|
|
3870
|
-
Disable: 'disable'
|
|
3954
|
+
Disable: 'disable',
|
|
3871
3955
|
};
|
|
3956
|
+
/**
|
|
3957
|
+
* BillingApi - axios parameter creator
|
|
3958
|
+
*/
|
|
3959
|
+
var BillingApiAxiosParamCreator = function (configuration) {
|
|
3960
|
+
var _this = this;
|
|
3961
|
+
return {
|
|
3962
|
+
/**
|
|
3963
|
+
* Get Billing Customers
|
|
3964
|
+
* @summary Get Billing Customers
|
|
3965
|
+
* @param {*} [options] Override http request option.
|
|
3966
|
+
* @throws {RequiredError}
|
|
3967
|
+
*/
|
|
3968
|
+
getGetAllCustomer: function () {
|
|
3969
|
+
var args_1 = [];
|
|
3970
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
3971
|
+
args_1[_i] = arguments[_i];
|
|
3972
|
+
}
|
|
3973
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
3974
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3975
|
+
if (options === void 0) { options = {}; }
|
|
3976
|
+
return __generator(this, function (_a) {
|
|
3977
|
+
localVarPath = "/billing/admin/customerList";
|
|
3978
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3979
|
+
if (configuration) {
|
|
3980
|
+
baseOptions = configuration.baseOptions;
|
|
3981
|
+
}
|
|
3982
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
3983
|
+
localVarHeaderParameter = {};
|
|
3984
|
+
localVarQueryParameter = {};
|
|
3985
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3986
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3987
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3988
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3989
|
+
return [2 /*return*/, {
|
|
3990
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3991
|
+
options: localVarRequestOptions,
|
|
3992
|
+
}];
|
|
3993
|
+
});
|
|
3994
|
+
});
|
|
3995
|
+
},
|
|
3996
|
+
};
|
|
3997
|
+
};
|
|
3998
|
+
exports.BillingApiAxiosParamCreator = BillingApiAxiosParamCreator;
|
|
3999
|
+
/**
|
|
4000
|
+
* BillingApi - functional programming interface
|
|
4001
|
+
*/
|
|
4002
|
+
var BillingApiFp = function (configuration) {
|
|
4003
|
+
var localVarAxiosParamCreator = (0, exports.BillingApiAxiosParamCreator)(configuration);
|
|
4004
|
+
return {
|
|
4005
|
+
/**
|
|
4006
|
+
* Get Billing Customers
|
|
4007
|
+
* @summary Get Billing Customers
|
|
4008
|
+
* @param {*} [options] Override http request option.
|
|
4009
|
+
* @throws {RequiredError}
|
|
4010
|
+
*/
|
|
4011
|
+
getGetAllCustomer: function (options) {
|
|
4012
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4013
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
4014
|
+
var _a, _b, _c;
|
|
4015
|
+
return __generator(this, function (_d) {
|
|
4016
|
+
switch (_d.label) {
|
|
4017
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAllCustomer(options)];
|
|
4018
|
+
case 1:
|
|
4019
|
+
localVarAxiosArgs = _d.sent();
|
|
4020
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4021
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.getGetAllCustomer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4022
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
4023
|
+
}
|
|
4024
|
+
});
|
|
4025
|
+
});
|
|
4026
|
+
},
|
|
4027
|
+
};
|
|
4028
|
+
};
|
|
4029
|
+
exports.BillingApiFp = BillingApiFp;
|
|
4030
|
+
/**
|
|
4031
|
+
* BillingApi - factory interface
|
|
4032
|
+
*/
|
|
4033
|
+
var BillingApiFactory = function (configuration, basePath, axios) {
|
|
4034
|
+
var localVarFp = (0, exports.BillingApiFp)(configuration);
|
|
4035
|
+
return {
|
|
4036
|
+
/**
|
|
4037
|
+
* Get Billing Customers
|
|
4038
|
+
* @summary Get Billing Customers
|
|
4039
|
+
* @param {*} [options] Override http request option.
|
|
4040
|
+
* @throws {RequiredError}
|
|
4041
|
+
*/
|
|
4042
|
+
getGetAllCustomer: function (options) {
|
|
4043
|
+
return localVarFp.getGetAllCustomer(options).then(function (request) { return request(axios, basePath); });
|
|
4044
|
+
},
|
|
4045
|
+
};
|
|
4046
|
+
};
|
|
4047
|
+
exports.BillingApiFactory = BillingApiFactory;
|
|
4048
|
+
/**
|
|
4049
|
+
* BillingApi - object-oriented interface
|
|
4050
|
+
*/
|
|
4051
|
+
var BillingApi = /** @class */ (function (_super) {
|
|
4052
|
+
__extends(BillingApi, _super);
|
|
4053
|
+
function BillingApi() {
|
|
4054
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
4055
|
+
}
|
|
4056
|
+
/**
|
|
4057
|
+
* Get Billing Customers
|
|
4058
|
+
* @summary Get Billing Customers
|
|
4059
|
+
* @param {*} [options] Override http request option.
|
|
4060
|
+
* @throws {RequiredError}
|
|
4061
|
+
*/
|
|
4062
|
+
BillingApi.prototype.getGetAllCustomer = function (options) {
|
|
4063
|
+
var _this = this;
|
|
4064
|
+
return (0, exports.BillingApiFp)(this.configuration).getGetAllCustomer(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4065
|
+
};
|
|
4066
|
+
return BillingApi;
|
|
4067
|
+
}(base_1.BaseAPI));
|
|
4068
|
+
exports.BillingApi = BillingApi;
|
|
3872
4069
|
/**
|
|
3873
4070
|
* CRMApi - axios parameter creator
|
|
3874
4071
|
*/
|
|
@@ -3895,7 +4092,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
3895
4092
|
// verify required parameter 'id' is not null or undefined
|
|
3896
4093
|
(0, common_1.assertParamExists)('getGetCrmActivities', 'id', id);
|
|
3897
4094
|
localVarPath = "/admin/crm/{id}/activities"
|
|
3898
|
-
.replace(
|
|
4095
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
3899
4096
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3900
4097
|
if (configuration) {
|
|
3901
4098
|
baseOptions = configuration.baseOptions;
|
|
@@ -3972,7 +4169,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
3972
4169
|
// verify required parameter 'id' is not null or undefined
|
|
3973
4170
|
(0, common_1.assertParamExists)('postCreateCrmNote', 'id', id);
|
|
3974
4171
|
localVarPath = "/admin/crm/{id}/activities/note"
|
|
3975
|
-
.replace(
|
|
4172
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
3976
4173
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3977
4174
|
if (configuration) {
|
|
3978
4175
|
baseOptions = configuration.baseOptions;
|
|
@@ -4157,10 +4354,11 @@ exports.CRMApi = CRMApi;
|
|
|
4157
4354
|
exports.GetGetCrmActivitiesTypeEnum = {
|
|
4158
4355
|
Alert: 'alert',
|
|
4159
4356
|
Call: 'call',
|
|
4357
|
+
Email: 'email',
|
|
4160
4358
|
Note: 'note',
|
|
4161
4359
|
Order: 'order',
|
|
4162
4360
|
Quote: 'quote',
|
|
4163
|
-
TcxOrder: 'tcx_order'
|
|
4361
|
+
TcxOrder: 'tcx_order',
|
|
4164
4362
|
};
|
|
4165
4363
|
/**
|
|
4166
4364
|
* Class3CXApi - axios parameter creator
|
|
@@ -4208,6 +4406,40 @@ var Class3CXApiAxiosParamCreator = function (configuration) {
|
|
|
4208
4406
|
});
|
|
4209
4407
|
});
|
|
4210
4408
|
},
|
|
4409
|
+
/**
|
|
4410
|
+
* Get 3CX Expiring Keys
|
|
4411
|
+
* @summary Get 3CX Expiring Keys
|
|
4412
|
+
* @param {*} [options] Override http request option.
|
|
4413
|
+
* @throws {RequiredError}
|
|
4414
|
+
*/
|
|
4415
|
+
getGetTcxExpiringKeys: function () {
|
|
4416
|
+
var args_1 = [];
|
|
4417
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
4418
|
+
args_1[_i] = arguments[_i];
|
|
4419
|
+
}
|
|
4420
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
4421
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4422
|
+
if (options === void 0) { options = {}; }
|
|
4423
|
+
return __generator(this, function (_a) {
|
|
4424
|
+
localVarPath = "/tcx/admin/keys/expiring/csv";
|
|
4425
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4426
|
+
if (configuration) {
|
|
4427
|
+
baseOptions = configuration.baseOptions;
|
|
4428
|
+
}
|
|
4429
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
4430
|
+
localVarHeaderParameter = {};
|
|
4431
|
+
localVarQueryParameter = {};
|
|
4432
|
+
localVarHeaderParameter['Accept'] = 'text/csv';
|
|
4433
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4434
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4435
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4436
|
+
return [2 /*return*/, {
|
|
4437
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4438
|
+
options: localVarRequestOptions,
|
|
4439
|
+
}];
|
|
4440
|
+
});
|
|
4441
|
+
});
|
|
4442
|
+
},
|
|
4211
4443
|
/**
|
|
4212
4444
|
* Get Bulk 3CX Licence Details
|
|
4213
4445
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4277,6 +4509,28 @@ var Class3CXApiFp = function (configuration) {
|
|
|
4277
4509
|
});
|
|
4278
4510
|
});
|
|
4279
4511
|
},
|
|
4512
|
+
/**
|
|
4513
|
+
* Get 3CX Expiring Keys
|
|
4514
|
+
* @summary Get 3CX Expiring Keys
|
|
4515
|
+
* @param {*} [options] Override http request option.
|
|
4516
|
+
* @throws {RequiredError}
|
|
4517
|
+
*/
|
|
4518
|
+
getGetTcxExpiringKeys: function (options) {
|
|
4519
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4520
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
4521
|
+
var _a, _b, _c;
|
|
4522
|
+
return __generator(this, function (_d) {
|
|
4523
|
+
switch (_d.label) {
|
|
4524
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetTcxExpiringKeys(options)];
|
|
4525
|
+
case 1:
|
|
4526
|
+
localVarAxiosArgs = _d.sent();
|
|
4527
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4528
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXApi.getGetTcxExpiringKeys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4529
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
4530
|
+
}
|
|
4531
|
+
});
|
|
4532
|
+
});
|
|
4533
|
+
},
|
|
4280
4534
|
/**
|
|
4281
4535
|
* Get Bulk 3CX Licence Details
|
|
4282
4536
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4319,6 +4573,15 @@ var Class3CXApiFactory = function (configuration, basePath, axios) {
|
|
|
4319
4573
|
getGetLicenceDetails: function (key, options) {
|
|
4320
4574
|
return localVarFp.getGetLicenceDetails(key, options).then(function (request) { return request(axios, basePath); });
|
|
4321
4575
|
},
|
|
4576
|
+
/**
|
|
4577
|
+
* Get 3CX Expiring Keys
|
|
4578
|
+
* @summary Get 3CX Expiring Keys
|
|
4579
|
+
* @param {*} [options] Override http request option.
|
|
4580
|
+
* @throws {RequiredError}
|
|
4581
|
+
*/
|
|
4582
|
+
getGetTcxExpiringKeys: function (options) {
|
|
4583
|
+
return localVarFp.getGetTcxExpiringKeys(options).then(function (request) { return request(axios, basePath); });
|
|
4584
|
+
},
|
|
4322
4585
|
/**
|
|
4323
4586
|
* Get Bulk 3CX Licence Details
|
|
4324
4587
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4351,6 +4614,16 @@ var Class3CXApi = /** @class */ (function (_super) {
|
|
|
4351
4614
|
var _this = this;
|
|
4352
4615
|
return (0, exports.Class3CXApiFp)(this.configuration).getGetLicenceDetails(key, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4353
4616
|
};
|
|
4617
|
+
/**
|
|
4618
|
+
* Get 3CX Expiring Keys
|
|
4619
|
+
* @summary Get 3CX Expiring Keys
|
|
4620
|
+
* @param {*} [options] Override http request option.
|
|
4621
|
+
* @throws {RequiredError}
|
|
4622
|
+
*/
|
|
4623
|
+
Class3CXApi.prototype.getGetTcxExpiringKeys = function (options) {
|
|
4624
|
+
var _this = this;
|
|
4625
|
+
return (0, exports.Class3CXApiFp)(this.configuration).getGetTcxExpiringKeys(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4626
|
+
};
|
|
4354
4627
|
/**
|
|
4355
4628
|
* Get Bulk 3CX Licence Details
|
|
4356
4629
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4635,7 +4908,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
4635
4908
|
// verify required parameter 'id' is not null or undefined
|
|
4636
4909
|
(0, common_1.assertParamExists)('getGetDdisTcxWizard', 'id', id);
|
|
4637
4910
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
4638
|
-
.replace(
|
|
4911
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4639
4912
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4640
4913
|
if (configuration) {
|
|
4641
4914
|
baseOptions = configuration.baseOptions;
|
|
@@ -4864,7 +5137,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
4864
5137
|
// verify required parameter 'id' is not null or undefined
|
|
4865
5138
|
(0, common_1.assertParamExists)('getGetSipTrunkTcxWizard', 'id', id);
|
|
4866
5139
|
localVarPath = "/tcx/wizards/sip/trunks/{id}"
|
|
4867
|
-
.replace(
|
|
5140
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4868
5141
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4869
5142
|
if (configuration) {
|
|
4870
5143
|
baseOptions = configuration.baseOptions;
|
|
@@ -5502,7 +5775,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
5502
5775
|
// verify required parameter 'id' is not null or undefined
|
|
5503
5776
|
(0, common_1.assertParamExists)('postGetDdisTcxWizard', 'id', id);
|
|
5504
5777
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
5505
|
-
.replace(
|
|
5778
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
5506
5779
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5507
5780
|
if (configuration) {
|
|
5508
5781
|
baseOptions = configuration.baseOptions;
|
|
@@ -7241,7 +7514,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7241
7514
|
// verify required parameter 'wizardId' is not null or undefined
|
|
7242
7515
|
(0, common_1.assertParamExists)('getGetDetails', 'wizardId', wizardId);
|
|
7243
7516
|
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
7244
|
-
.replace(
|
|
7517
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
7245
7518
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7246
7519
|
if (configuration) {
|
|
7247
7520
|
baseOptions = configuration.baseOptions;
|
|
@@ -7322,6 +7595,44 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7322
7595
|
});
|
|
7323
7596
|
});
|
|
7324
7597
|
},
|
|
7598
|
+
/**
|
|
7599
|
+
* Get Recording Backup Storage
|
|
7600
|
+
* @summary Get Recording Backup Storage
|
|
7601
|
+
* @param {string} instanceId Instance ID
|
|
7602
|
+
* @param {*} [options] Override http request option.
|
|
7603
|
+
* @throws {RequiredError}
|
|
7604
|
+
*/
|
|
7605
|
+
getGetRecordingBackupStorage: function (instanceId_1) {
|
|
7606
|
+
var args_1 = [];
|
|
7607
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
7608
|
+
args_1[_i - 1] = arguments[_i];
|
|
7609
|
+
}
|
|
7610
|
+
return __awaiter(_this, __spreadArray([instanceId_1], args_1, true), void 0, function (instanceId, options) {
|
|
7611
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7612
|
+
if (options === void 0) { options = {}; }
|
|
7613
|
+
return __generator(this, function (_a) {
|
|
7614
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
7615
|
+
(0, common_1.assertParamExists)('getGetRecordingBackupStorage', 'instanceId', instanceId);
|
|
7616
|
+
localVarPath = "/tcx/installations/{instance_id}/recordings/backup"
|
|
7617
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7618
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7619
|
+
if (configuration) {
|
|
7620
|
+
baseOptions = configuration.baseOptions;
|
|
7621
|
+
}
|
|
7622
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
7623
|
+
localVarHeaderParameter = {};
|
|
7624
|
+
localVarQueryParameter = {};
|
|
7625
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
7626
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7627
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7628
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7629
|
+
return [2 /*return*/, {
|
|
7630
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7631
|
+
options: localVarRequestOptions,
|
|
7632
|
+
}];
|
|
7633
|
+
});
|
|
7634
|
+
});
|
|
7635
|
+
},
|
|
7325
7636
|
/**
|
|
7326
7637
|
* Change instance owner
|
|
7327
7638
|
* @summary Change instance owner
|
|
@@ -7344,7 +7655,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7344
7655
|
// verify required parameter 'customerId' is not null or undefined
|
|
7345
7656
|
(0, common_1.assertParamExists)('patchChangeInstanceOwner', 'customerId', customerId);
|
|
7346
7657
|
localVarPath = "/tcx/installations/{instance_id}/owner"
|
|
7347
|
-
.replace(
|
|
7658
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7348
7659
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7349
7660
|
if (configuration) {
|
|
7350
7661
|
baseOptions = configuration.baseOptions;
|
|
@@ -7387,7 +7698,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7387
7698
|
// verify required parameter 'enable' is not null or undefined
|
|
7388
7699
|
(0, common_1.assertParamExists)('patchUpdateAutoFailover', 'enable', enable);
|
|
7389
7700
|
localVarPath = "/tcx/installations/{instance_id}/failover/auto"
|
|
7390
|
-
.replace(
|
|
7701
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7391
7702
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7392
7703
|
if (configuration) {
|
|
7393
7704
|
baseOptions = configuration.baseOptions;
|
|
@@ -7430,7 +7741,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7430
7741
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
7431
7742
|
(0, common_1.assertParamExists)('postAddDisk', 'gigabytes', gigabytes);
|
|
7432
7743
|
localVarPath = "/tcx/installations/{instance_id}/disk"
|
|
7433
|
-
.replace(
|
|
7744
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7434
7745
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7435
7746
|
if (configuration) {
|
|
7436
7747
|
baseOptions = configuration.baseOptions;
|
|
@@ -7476,7 +7787,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7476
7787
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
7477
7788
|
(0, common_1.assertParamExists)('postCreateSshUser', 'ipAddress', ipAddress);
|
|
7478
7789
|
localVarPath = "/tcx/installations/{instance_id}/create/user/root"
|
|
7479
|
-
.replace(
|
|
7790
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7480
7791
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7481
7792
|
if (configuration) {
|
|
7482
7793
|
baseOptions = configuration.baseOptions;
|
|
@@ -7520,7 +7831,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7520
7831
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7521
7832
|
(0, common_1.assertParamExists)('postDeleteInstance', 'instanceId', instanceId);
|
|
7522
7833
|
localVarPath = "/tcx/installations/{instance_id}/delete"
|
|
7523
|
-
.replace(
|
|
7834
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7524
7835
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7525
7836
|
if (configuration) {
|
|
7526
7837
|
baseOptions = configuration.baseOptions;
|
|
@@ -7561,7 +7872,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7561
7872
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
7562
7873
|
(0, common_1.assertParamExists)('postExtendDisk', 'gigabytes', gigabytes);
|
|
7563
7874
|
localVarPath = "/tcx/installations/{instance_id}/disk/extend"
|
|
7564
|
-
.replace(
|
|
7875
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7565
7876
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7566
7877
|
if (configuration) {
|
|
7567
7878
|
baseOptions = configuration.baseOptions;
|
|
@@ -7607,7 +7918,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7607
7918
|
// verify required parameter 'type' is not null or undefined
|
|
7608
7919
|
(0, common_1.assertParamExists)('postFailoverInstance', 'type', type);
|
|
7609
7920
|
localVarPath = "/tcx/installations/{instance_id}/failover"
|
|
7610
|
-
.replace(
|
|
7921
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7611
7922
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7612
7923
|
if (configuration) {
|
|
7613
7924
|
baseOptions = configuration.baseOptions;
|
|
@@ -7647,7 +7958,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7647
7958
|
// verify required parameter 'sbcId' is not null or undefined
|
|
7648
7959
|
(0, common_1.assertParamExists)('postInstallTcxSbc', 'sbcId', sbcId);
|
|
7649
7960
|
localVarPath = "/tcx/installations/sbcs/{sbc_id}/install"
|
|
7650
|
-
.replace(
|
|
7961
|
+
.replace('{sbc_id}', encodeURIComponent(String(sbcId)));
|
|
7651
7962
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7652
7963
|
if (configuration) {
|
|
7653
7964
|
baseOptions = configuration.baseOptions;
|
|
@@ -7685,7 +7996,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7685
7996
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7686
7997
|
(0, common_1.assertParamExists)('postRebootInstance', 'instanceId', instanceId);
|
|
7687
7998
|
localVarPath = "/tcx/installations/{instance_id}/reboot"
|
|
7688
|
-
.replace(
|
|
7999
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7689
8000
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7690
8001
|
if (configuration) {
|
|
7691
8002
|
baseOptions = configuration.baseOptions;
|
|
@@ -7726,7 +8037,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7726
8037
|
// verify required parameter 'size' is not null or undefined
|
|
7727
8038
|
(0, common_1.assertParamExists)('postResizeInstance', 'size', size);
|
|
7728
8039
|
localVarPath = "/tcx/installations/{instance_id}/resize"
|
|
7729
|
-
.replace(
|
|
8040
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7730
8041
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7731
8042
|
if (configuration) {
|
|
7732
8043
|
baseOptions = configuration.baseOptions;
|
|
@@ -7770,7 +8081,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7770
8081
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7771
8082
|
(0, common_1.assertParamExists)('postRestartServices', 'instanceId', instanceId);
|
|
7772
8083
|
localVarPath = "/tcx/installations/{instance_id}/services/restart"
|
|
7773
|
-
.replace(
|
|
8084
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7774
8085
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7775
8086
|
if (configuration) {
|
|
7776
8087
|
baseOptions = configuration.baseOptions;
|
|
@@ -7811,7 +8122,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7811
8122
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7812
8123
|
(0, common_1.assertParamExists)('postScheduledReboot', 'instanceId', instanceId);
|
|
7813
8124
|
localVarPath = "/tcx/installations/{instance_id}/reboot/scheduled"
|
|
7814
|
-
.replace(
|
|
8125
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7815
8126
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7816
8127
|
if (configuration) {
|
|
7817
8128
|
baseOptions = configuration.baseOptions;
|
|
@@ -7852,7 +8163,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7852
8163
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7853
8164
|
(0, common_1.assertParamExists)('postSuspendInstance', 'instanceId', instanceId);
|
|
7854
8165
|
localVarPath = "/tcx/installations/{instance_id}/suspend"
|
|
7855
|
-
.replace(
|
|
8166
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7856
8167
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7857
8168
|
if (configuration) {
|
|
7858
8169
|
baseOptions = configuration.baseOptions;
|
|
@@ -7892,7 +8203,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7892
8203
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7893
8204
|
(0, common_1.assertParamExists)('postTestLoginCredentials', 'instanceId', instanceId);
|
|
7894
8205
|
localVarPath = "/tcx/installations/{instance_id}/tests/login"
|
|
7895
|
-
.replace(
|
|
8206
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7896
8207
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7897
8208
|
if (configuration) {
|
|
7898
8209
|
baseOptions = configuration.baseOptions;
|
|
@@ -7929,7 +8240,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7929
8240
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7930
8241
|
(0, common_1.assertParamExists)('postUnsuspendInstance', 'instanceId', instanceId);
|
|
7931
8242
|
localVarPath = "/tcx/installations/{instance_id}/unsuspend"
|
|
7932
|
-
.replace(
|
|
8243
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7933
8244
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7934
8245
|
if (configuration) {
|
|
7935
8246
|
baseOptions = configuration.baseOptions;
|
|
@@ -7969,7 +8280,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7969
8280
|
// verify required parameter 'schedule' is not null or undefined
|
|
7970
8281
|
(0, common_1.assertParamExists)('postUpgradeDebian', 'schedule', schedule);
|
|
7971
8282
|
localVarPath = "/tcx/installations/{instance_id}/debian/upgrade"
|
|
7972
|
-
.replace(
|
|
8283
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7973
8284
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7974
8285
|
if (configuration) {
|
|
7975
8286
|
baseOptions = configuration.baseOptions;
|
|
@@ -8010,7 +8321,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8010
8321
|
// verify required parameter 'wizardId' is not null or undefined
|
|
8011
8322
|
(0, common_1.assertParamExists)('putGetDetails', 'wizardId', wizardId);
|
|
8012
8323
|
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
8013
|
-
.replace(
|
|
8324
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
8014
8325
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8015
8326
|
if (configuration) {
|
|
8016
8327
|
baseOptions = configuration.baseOptions;
|
|
@@ -8092,6 +8403,29 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
8092
8403
|
});
|
|
8093
8404
|
});
|
|
8094
8405
|
},
|
|
8406
|
+
/**
|
|
8407
|
+
* Get Recording Backup Storage
|
|
8408
|
+
* @summary Get Recording Backup Storage
|
|
8409
|
+
* @param {string} instanceId Instance ID
|
|
8410
|
+
* @param {*} [options] Override http request option.
|
|
8411
|
+
* @throws {RequiredError}
|
|
8412
|
+
*/
|
|
8413
|
+
getGetRecordingBackupStorage: function (instanceId, options) {
|
|
8414
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8415
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8416
|
+
var _a, _b, _c;
|
|
8417
|
+
return __generator(this, function (_d) {
|
|
8418
|
+
switch (_d.label) {
|
|
8419
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetRecordingBackupStorage(instanceId, options)];
|
|
8420
|
+
case 1:
|
|
8421
|
+
localVarAxiosArgs = _d.sent();
|
|
8422
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8423
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.getGetRecordingBackupStorage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8424
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8425
|
+
}
|
|
8426
|
+
});
|
|
8427
|
+
});
|
|
8428
|
+
},
|
|
8095
8429
|
/**
|
|
8096
8430
|
* Change instance owner
|
|
8097
8431
|
* @summary Change instance owner
|
|
@@ -8533,6 +8867,16 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
8533
8867
|
getGetInstallations: function (pageSize, page, customerId, search, status, hosting, installType, options) {
|
|
8534
8868
|
return localVarFp.getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(axios, basePath); });
|
|
8535
8869
|
},
|
|
8870
|
+
/**
|
|
8871
|
+
* Get Recording Backup Storage
|
|
8872
|
+
* @summary Get Recording Backup Storage
|
|
8873
|
+
* @param {string} instanceId Instance ID
|
|
8874
|
+
* @param {*} [options] Override http request option.
|
|
8875
|
+
* @throws {RequiredError}
|
|
8876
|
+
*/
|
|
8877
|
+
getGetRecordingBackupStorage: function (instanceId, options) {
|
|
8878
|
+
return localVarFp.getGetRecordingBackupStorage(instanceId, options).then(function (request) { return request(axios, basePath); });
|
|
8879
|
+
},
|
|
8536
8880
|
/**
|
|
8537
8881
|
* Change instance owner
|
|
8538
8882
|
* @summary Change instance owner
|
|
@@ -8757,6 +9101,17 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
8757
9101
|
var _this = this;
|
|
8758
9102
|
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8759
9103
|
};
|
|
9104
|
+
/**
|
|
9105
|
+
* Get Recording Backup Storage
|
|
9106
|
+
* @summary Get Recording Backup Storage
|
|
9107
|
+
* @param {string} instanceId Instance ID
|
|
9108
|
+
* @param {*} [options] Override http request option.
|
|
9109
|
+
* @throws {RequiredError}
|
|
9110
|
+
*/
|
|
9111
|
+
Class3CXInstallationsApi.prototype.getGetRecordingBackupStorage = function (instanceId, options) {
|
|
9112
|
+
var _this = this;
|
|
9113
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).getGetRecordingBackupStorage(instanceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9114
|
+
};
|
|
8760
9115
|
/**
|
|
8761
9116
|
* Change instance owner
|
|
8762
9117
|
* @summary Change instance owner
|
|
@@ -8966,30 +9321,30 @@ exports.GetGetInstallationsStatusEnum = {
|
|
|
8966
9321
|
Completed: 'Completed',
|
|
8967
9322
|
Outstanding: 'Outstanding',
|
|
8968
9323
|
Offline: 'Offline',
|
|
8969
|
-
FailedOver: 'Failed Over'
|
|
9324
|
+
FailedOver: 'Failed Over',
|
|
8970
9325
|
};
|
|
8971
9326
|
exports.GetGetInstallationsHostingEnum = {
|
|
8972
9327
|
Yellowgrid: 'yellowgrid',
|
|
8973
9328
|
MultiTenant: 'multi-tenant',
|
|
8974
9329
|
Onprem: 'onprem',
|
|
8975
|
-
All: 'all'
|
|
9330
|
+
All: 'all',
|
|
8976
9331
|
};
|
|
8977
9332
|
exports.GetGetInstallationsInstallTypeEnum = {
|
|
8978
9333
|
New: 'new',
|
|
8979
9334
|
Restore: 'restore',
|
|
8980
9335
|
Failover: 'failover',
|
|
8981
|
-
MultiTenant: 'multi-tenant'
|
|
9336
|
+
MultiTenant: 'multi-tenant',
|
|
8982
9337
|
};
|
|
8983
9338
|
exports.PostFailoverInstanceTypeEnum = {
|
|
8984
9339
|
Config: 'config',
|
|
8985
|
-
Image: 'image'
|
|
9340
|
+
Image: 'image',
|
|
8986
9341
|
};
|
|
8987
9342
|
exports.PostResizeInstanceSizeEnum = {
|
|
8988
9343
|
D24: 'd2-4',
|
|
8989
9344
|
D28: 'd2-8',
|
|
8990
9345
|
B230: 'b2-30',
|
|
8991
9346
|
S2vcpu4gb: 's-2vcpu-4gb',
|
|
8992
|
-
S4vcpu8gb: 's-4vcpu-8gb'
|
|
9347
|
+
S4vcpu8gb: 's-4vcpu-8gb',
|
|
8993
9348
|
};
|
|
8994
9349
|
/**
|
|
8995
9350
|
* Class3CXIntegrationsApi - axios parameter creator
|
|
@@ -9144,8 +9499,8 @@ var Class3CXIntegrationsApiAxiosParamCreator = function (configuration) {
|
|
|
9144
9499
|
// verify required parameter 'ref' is not null or undefined
|
|
9145
9500
|
(0, common_1.assertParamExists)('patchUpdateEtpOrderReference', 'ref', ref);
|
|
9146
9501
|
localVarPath = "/tcx/integrations/edtechpro/{clientId}/schools/{schoolId}/orderReference"
|
|
9147
|
-
.replace(
|
|
9148
|
-
.replace(
|
|
9502
|
+
.replace('{clientId}', encodeURIComponent(String(clientId)))
|
|
9503
|
+
.replace('{schoolId}', encodeURIComponent(String(schoolId)));
|
|
9149
9504
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9150
9505
|
if (configuration) {
|
|
9151
9506
|
baseOptions = configuration.baseOptions;
|
|
@@ -9530,11 +9885,11 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
9530
9885
|
exports.Class3CXIntegrationsApi = Class3CXIntegrationsApi;
|
|
9531
9886
|
exports.GetGetPriceLicenceTypeEnum = {
|
|
9532
9887
|
Lite: 'lite',
|
|
9533
|
-
Pro: 'pro'
|
|
9888
|
+
Pro: 'pro',
|
|
9534
9889
|
};
|
|
9535
9890
|
exports.GetGetPriceSchoolTypeEnum = {
|
|
9536
9891
|
Primary: 'primary',
|
|
9537
|
-
Secondary: 'secondary'
|
|
9892
|
+
Secondary: 'secondary',
|
|
9538
9893
|
};
|
|
9539
9894
|
/**
|
|
9540
9895
|
* Class3CXMultiTenantApi - axios parameter creator
|
|
@@ -9561,7 +9916,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
9561
9916
|
// verify required parameter 'reference' is not null or undefined
|
|
9562
9917
|
(0, common_1.assertParamExists)('deleteGetTenant', 'reference', reference);
|
|
9563
9918
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
9564
|
-
.replace(
|
|
9919
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
9565
9920
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9566
9921
|
if (configuration) {
|
|
9567
9922
|
baseOptions = configuration.baseOptions;
|
|
@@ -9638,7 +9993,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
9638
9993
|
// verify required parameter 'reference' is not null or undefined
|
|
9639
9994
|
(0, common_1.assertParamExists)('getGetTenant', 'reference', reference);
|
|
9640
9995
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
9641
|
-
.replace(
|
|
9996
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
9642
9997
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9643
9998
|
if (configuration) {
|
|
9644
9999
|
baseOptions = configuration.baseOptions;
|
|
@@ -10255,7 +10610,7 @@ exports.GetGetTenantsStatusEnum = {
|
|
|
10255
10610
|
Completed: 'Completed',
|
|
10256
10611
|
Outstanding: 'Outstanding',
|
|
10257
10612
|
Offline: 'Offline',
|
|
10258
|
-
FailedOver: 'Failed Over'
|
|
10613
|
+
FailedOver: 'Failed Over',
|
|
10259
10614
|
};
|
|
10260
10615
|
/**
|
|
10261
10616
|
* MyPBXToolsApi - axios parameter creator
|
|
@@ -10412,7 +10767,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10412
10767
|
// verify required parameter 'id' is not null or undefined
|
|
10413
10768
|
(0, common_1.assertParamExists)('deleteGetAdminNumberPort', 'id', id);
|
|
10414
10769
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
10415
|
-
.replace(
|
|
10770
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10416
10771
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10417
10772
|
if (configuration) {
|
|
10418
10773
|
baseOptions = configuration.baseOptions;
|
|
@@ -10493,7 +10848,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10493
10848
|
// verify required parameter 'id' is not null or undefined
|
|
10494
10849
|
(0, common_1.assertParamExists)('getGetAdminNumberPort', 'id', id);
|
|
10495
10850
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
10496
|
-
.replace(
|
|
10851
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10497
10852
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10498
10853
|
if (configuration) {
|
|
10499
10854
|
baseOptions = configuration.baseOptions;
|
|
@@ -10575,7 +10930,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10575
10930
|
// verify required parameter 'id' is not null or undefined
|
|
10576
10931
|
(0, common_1.assertParamExists)('getUpdateNumberPort', 'id', id);
|
|
10577
10932
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
10578
|
-
.replace(
|
|
10933
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10579
10934
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10580
10935
|
if (configuration) {
|
|
10581
10936
|
baseOptions = configuration.baseOptions;
|
|
@@ -10612,7 +10967,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10612
10967
|
// verify required parameter 'id' is not null or undefined
|
|
10613
10968
|
(0, common_1.assertParamExists)('patchCancelAdminNumberPort', 'id', id);
|
|
10614
10969
|
localVarPath = "/admin/sip/numbers/ports/{id}/cancel"
|
|
10615
|
-
.replace(
|
|
10970
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10616
10971
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10617
10972
|
if (configuration) {
|
|
10618
10973
|
baseOptions = configuration.baseOptions;
|
|
@@ -10649,7 +11004,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10649
11004
|
// verify required parameter 'id' is not null or undefined
|
|
10650
11005
|
(0, common_1.assertParamExists)('patchCloseAdminNumberPort', 'id', id);
|
|
10651
11006
|
localVarPath = "/admin/sip/numbers/ports/{id}/close"
|
|
10652
|
-
.replace(
|
|
11007
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10653
11008
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10654
11009
|
if (configuration) {
|
|
10655
11010
|
baseOptions = configuration.baseOptions;
|
|
@@ -10689,7 +11044,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10689
11044
|
// verify required parameter 'numberPortAdminNoteBody' is not null or undefined
|
|
10690
11045
|
(0, common_1.assertParamExists)('postAddAdminNote', 'numberPortAdminNoteBody', numberPortAdminNoteBody);
|
|
10691
11046
|
localVarPath = "/admin/sip/numbers/ports/{id}/notes"
|
|
10692
|
-
.replace(
|
|
11047
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10693
11048
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10694
11049
|
if (configuration) {
|
|
10695
11050
|
baseOptions = configuration.baseOptions;
|
|
@@ -10824,7 +11179,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10824
11179
|
// verify required parameter 'id' is not null or undefined
|
|
10825
11180
|
(0, common_1.assertParamExists)('postSubmitNumberPort', 'id', id);
|
|
10826
11181
|
localVarPath = "/sip/numbers/ports/{id}/submit"
|
|
10827
|
-
.replace(
|
|
11182
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10828
11183
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10829
11184
|
if (configuration) {
|
|
10830
11185
|
baseOptions = configuration.baseOptions;
|
|
@@ -10912,7 +11267,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10912
11267
|
// verify required parameter 'id' is not null or undefined
|
|
10913
11268
|
(0, common_1.assertParamExists)('postUpdateNumberPort', 'id', id);
|
|
10914
11269
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
10915
|
-
.replace(
|
|
11270
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10916
11271
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10917
11272
|
if (configuration) {
|
|
10918
11273
|
baseOptions = configuration.baseOptions;
|
|
@@ -10991,7 +11346,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10991
11346
|
// verify required parameter 'numberPortDTO' is not null or undefined
|
|
10992
11347
|
(0, common_1.assertParamExists)('putGetAdminNumberPort', 'numberPortDTO', numberPortDTO);
|
|
10993
11348
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
10994
|
-
.replace(
|
|
11349
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10995
11350
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10996
11351
|
if (configuration) {
|
|
10997
11352
|
baseOptions = configuration.baseOptions;
|
|
@@ -11919,6 +12274,38 @@ var OAuth20ApiAxiosParamCreator = function (configuration) {
|
|
|
11919
12274
|
});
|
|
11920
12275
|
});
|
|
11921
12276
|
},
|
|
12277
|
+
/**
|
|
12278
|
+
* Remove Oauth 2.0 Cookies
|
|
12279
|
+
* @param {*} [options] Override http request option.
|
|
12280
|
+
* @throws {RequiredError}
|
|
12281
|
+
*/
|
|
12282
|
+
postLogout: function () {
|
|
12283
|
+
var args_1 = [];
|
|
12284
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
12285
|
+
args_1[_i] = arguments[_i];
|
|
12286
|
+
}
|
|
12287
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
12288
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12289
|
+
if (options === void 0) { options = {}; }
|
|
12290
|
+
return __generator(this, function (_a) {
|
|
12291
|
+
localVarPath = "/oauth2/logout";
|
|
12292
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12293
|
+
if (configuration) {
|
|
12294
|
+
baseOptions = configuration.baseOptions;
|
|
12295
|
+
}
|
|
12296
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
12297
|
+
localVarHeaderParameter = {};
|
|
12298
|
+
localVarQueryParameter = {};
|
|
12299
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12300
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12301
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12302
|
+
return [2 /*return*/, {
|
|
12303
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12304
|
+
options: localVarRequestOptions,
|
|
12305
|
+
}];
|
|
12306
|
+
});
|
|
12307
|
+
});
|
|
12308
|
+
},
|
|
11922
12309
|
/**
|
|
11923
12310
|
* Portal Login
|
|
11924
12311
|
* @summary Portal Login
|
|
@@ -12094,6 +12481,27 @@ var OAuth20ApiFp = function (configuration) {
|
|
|
12094
12481
|
});
|
|
12095
12482
|
});
|
|
12096
12483
|
},
|
|
12484
|
+
/**
|
|
12485
|
+
* Remove Oauth 2.0 Cookies
|
|
12486
|
+
* @param {*} [options] Override http request option.
|
|
12487
|
+
* @throws {RequiredError}
|
|
12488
|
+
*/
|
|
12489
|
+
postLogout: function (options) {
|
|
12490
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12491
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
12492
|
+
var _a, _b, _c;
|
|
12493
|
+
return __generator(this, function (_d) {
|
|
12494
|
+
switch (_d.label) {
|
|
12495
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postLogout(options)];
|
|
12496
|
+
case 1:
|
|
12497
|
+
localVarAxiosArgs = _d.sent();
|
|
12498
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12499
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OAuth20Api.postLogout']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12500
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
12501
|
+
}
|
|
12502
|
+
});
|
|
12503
|
+
});
|
|
12504
|
+
},
|
|
12097
12505
|
/**
|
|
12098
12506
|
* Portal Login
|
|
12099
12507
|
* @summary Portal Login
|
|
@@ -12190,6 +12598,14 @@ var OAuth20ApiFactory = function (configuration, basePath, axios) {
|
|
|
12190
12598
|
postGetIdentity: function (options) {
|
|
12191
12599
|
return localVarFp.postGetIdentity(options).then(function (request) { return request(axios, basePath); });
|
|
12192
12600
|
},
|
|
12601
|
+
/**
|
|
12602
|
+
* Remove Oauth 2.0 Cookies
|
|
12603
|
+
* @param {*} [options] Override http request option.
|
|
12604
|
+
* @throws {RequiredError}
|
|
12605
|
+
*/
|
|
12606
|
+
postLogout: function (options) {
|
|
12607
|
+
return localVarFp.postLogout(options).then(function (request) { return request(axios, basePath); });
|
|
12608
|
+
},
|
|
12193
12609
|
/**
|
|
12194
12610
|
* Portal Login
|
|
12195
12611
|
* @summary Portal Login
|
|
@@ -12280,6 +12696,15 @@ var OAuth20Api = /** @class */ (function (_super) {
|
|
|
12280
12696
|
var _this = this;
|
|
12281
12697
|
return (0, exports.OAuth20ApiFp)(this.configuration).postGetIdentity(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12282
12698
|
};
|
|
12699
|
+
/**
|
|
12700
|
+
* Remove Oauth 2.0 Cookies
|
|
12701
|
+
* @param {*} [options] Override http request option.
|
|
12702
|
+
* @throws {RequiredError}
|
|
12703
|
+
*/
|
|
12704
|
+
OAuth20Api.prototype.postLogout = function (options) {
|
|
12705
|
+
var _this = this;
|
|
12706
|
+
return (0, exports.OAuth20ApiFp)(this.configuration).postLogout(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12707
|
+
};
|
|
12283
12708
|
/**
|
|
12284
12709
|
* Portal Login
|
|
12285
12710
|
* @summary Portal Login
|
|
@@ -12301,7 +12726,7 @@ exports.PostAccessTokenGrantTypeEnum = {
|
|
|
12301
12726
|
AuthorizationCode: 'authorization_code',
|
|
12302
12727
|
MsAuth: 'ms_auth',
|
|
12303
12728
|
TokenExchange: 'token_exchange',
|
|
12304
|
-
Password: 'password'
|
|
12729
|
+
Password: 'password',
|
|
12305
12730
|
};
|
|
12306
12731
|
exports.PostAccessTokenScopeEnum = {
|
|
12307
12732
|
Star: '*',
|
|
@@ -12331,11 +12756,11 @@ exports.PostAccessTokenScopeEnum = {
|
|
|
12331
12756
|
TcxMtRead: 'tcx_mt.read',
|
|
12332
12757
|
TcxMtWrite: 'tcx_mt.write',
|
|
12333
12758
|
TicketsRead: 'tickets.read',
|
|
12334
|
-
TicketsWrite: 'tickets.write'
|
|
12759
|
+
TicketsWrite: 'tickets.write',
|
|
12335
12760
|
};
|
|
12336
12761
|
exports.PostAccessTokenTokenExchangeTypeEnum = {
|
|
12337
12762
|
TcxWizard: 'tcx_wizard',
|
|
12338
|
-
Portal: 'portal'
|
|
12763
|
+
Portal: 'portal',
|
|
12339
12764
|
};
|
|
12340
12765
|
exports.PostAuthoriseScopeEnum = {
|
|
12341
12766
|
Star: '*',
|
|
@@ -12365,7 +12790,7 @@ exports.PostAuthoriseScopeEnum = {
|
|
|
12365
12790
|
TcxMtRead: 'tcx_mt.read',
|
|
12366
12791
|
TcxMtWrite: 'tcx_mt.write',
|
|
12367
12792
|
TicketsRead: 'tickets.read',
|
|
12368
|
-
TicketsWrite: 'tickets.write'
|
|
12793
|
+
TicketsWrite: 'tickets.write',
|
|
12369
12794
|
};
|
|
12370
12795
|
/**
|
|
12371
12796
|
* OrdersApi - axios parameter creator
|
|
@@ -12394,8 +12819,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12394
12819
|
// verify required parameter 'batchId' is not null or undefined
|
|
12395
12820
|
(0, common_1.assertParamExists)('deleteDeleteBatch', 'batchId', batchId);
|
|
12396
12821
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}"
|
|
12397
|
-
.replace(
|
|
12398
|
-
.replace(
|
|
12822
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12823
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
12399
12824
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12400
12825
|
if (configuration) {
|
|
12401
12826
|
baseOptions = configuration.baseOptions;
|
|
@@ -12432,7 +12857,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12432
12857
|
// verify required parameter 'id' is not null or undefined
|
|
12433
12858
|
(0, common_1.assertParamExists)('deleteUpdateOrder', 'id', id);
|
|
12434
12859
|
localVarPath = "/orders/{id}"
|
|
12435
|
-
.replace(
|
|
12860
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12436
12861
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12437
12862
|
if (configuration) {
|
|
12438
12863
|
baseOptions = configuration.baseOptions;
|
|
@@ -12475,9 +12900,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12475
12900
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12476
12901
|
(0, common_1.assertParamExists)('deleteUpdateShipment', 'shipmentId', shipmentId);
|
|
12477
12902
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
12478
|
-
.replace(
|
|
12479
|
-
.replace(
|
|
12480
|
-
.replace(
|
|
12903
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12904
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
12905
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12481
12906
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12482
12907
|
if (configuration) {
|
|
12483
12908
|
baseOptions = configuration.baseOptions;
|
|
@@ -12514,7 +12939,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12514
12939
|
// verify required parameter 'id' is not null or undefined
|
|
12515
12940
|
(0, common_1.assertParamExists)('getGetAdminEditableOrder', 'id', id);
|
|
12516
12941
|
localVarPath = "/admin/orders/{id}/views/editable"
|
|
12517
|
-
.replace(
|
|
12942
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12518
12943
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12519
12944
|
if (configuration) {
|
|
12520
12945
|
baseOptions = configuration.baseOptions;
|
|
@@ -12552,7 +12977,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12552
12977
|
// verify required parameter 'id' is not null or undefined
|
|
12553
12978
|
(0, common_1.assertParamExists)('getGetAdminOrderDetails', 'id', id);
|
|
12554
12979
|
localVarPath = "/admin/orders/{id}/details"
|
|
12555
|
-
.replace(
|
|
12980
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12556
12981
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12557
12982
|
if (configuration) {
|
|
12558
12983
|
baseOptions = configuration.baseOptions;
|
|
@@ -12596,9 +13021,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12596
13021
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12597
13022
|
(0, common_1.assertParamExists)('getGetCommercialInvoice', 'shipmentId', shipmentId);
|
|
12598
13023
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/pdf"
|
|
12599
|
-
.replace(
|
|
12600
|
-
.replace(
|
|
12601
|
-
.replace(
|
|
13024
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13025
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13026
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12602
13027
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12603
13028
|
if (configuration) {
|
|
12604
13029
|
baseOptions = configuration.baseOptions;
|
|
@@ -12636,7 +13061,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12636
13061
|
// verify required parameter 'id' is not null or undefined
|
|
12637
13062
|
(0, common_1.assertParamExists)('getGetEditableOrder', 'id', id);
|
|
12638
13063
|
localVarPath = "/orders/{id}/views/editable"
|
|
12639
|
-
.replace(
|
|
13064
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12640
13065
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12641
13066
|
if (configuration) {
|
|
12642
13067
|
baseOptions = configuration.baseOptions;
|
|
@@ -12677,8 +13102,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12677
13102
|
// verify required parameter 'itemId' is not null or undefined
|
|
12678
13103
|
(0, common_1.assertParamExists)('getGetItemSerialInfo', 'itemId', itemId);
|
|
12679
13104
|
localVarPath = "/admin/orders/{id}/items/{item_id}/info"
|
|
12680
|
-
.replace(
|
|
12681
|
-
.replace(
|
|
13105
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13106
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
12682
13107
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12683
13108
|
if (configuration) {
|
|
12684
13109
|
baseOptions = configuration.baseOptions;
|
|
@@ -12716,7 +13141,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12716
13141
|
// verify required parameter 'id' is not null or undefined
|
|
12717
13142
|
(0, common_1.assertParamExists)('getGetOrderPdf', 'id', id);
|
|
12718
13143
|
localVarPath = "/orders/{id}/pdf"
|
|
12719
|
-
.replace(
|
|
13144
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12720
13145
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12721
13146
|
if (configuration) {
|
|
12722
13147
|
baseOptions = configuration.baseOptions;
|
|
@@ -12754,7 +13179,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12754
13179
|
// verify required parameter 'id' is not null or undefined
|
|
12755
13180
|
(0, common_1.assertParamExists)('getGetOrderSummary', 'id', id);
|
|
12756
13181
|
localVarPath = "/admin/orders/{id}/summary"
|
|
12757
|
-
.replace(
|
|
13182
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12758
13183
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12759
13184
|
if (configuration) {
|
|
12760
13185
|
baseOptions = configuration.baseOptions;
|
|
@@ -12854,7 +13279,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12854
13279
|
// verify required parameter 'id' is not null or undefined
|
|
12855
13280
|
(0, common_1.assertParamExists)('patchCompleteOrder', 'id', id);
|
|
12856
13281
|
localVarPath = "/admin/orders/{id}/complete"
|
|
12857
|
-
.replace(
|
|
13282
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12858
13283
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12859
13284
|
if (configuration) {
|
|
12860
13285
|
baseOptions = configuration.baseOptions;
|
|
@@ -12893,7 +13318,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12893
13318
|
// verify required parameter 'id' is not null or undefined
|
|
12894
13319
|
(0, common_1.assertParamExists)('postAddOrderNote', 'id', id);
|
|
12895
13320
|
localVarPath = "/admin/orders/{id}/notes"
|
|
12896
|
-
.replace(
|
|
13321
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12897
13322
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12898
13323
|
if (configuration) {
|
|
12899
13324
|
baseOptions = configuration.baseOptions;
|
|
@@ -12978,8 +13403,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12978
13403
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12979
13404
|
(0, common_1.assertParamExists)('postCreateConsignment', 'shipmentId', shipmentId);
|
|
12980
13405
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/consignment"
|
|
12981
|
-
.replace(
|
|
12982
|
-
.replace(
|
|
13406
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13407
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12983
13408
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12984
13409
|
if (configuration) {
|
|
12985
13410
|
baseOptions = configuration.baseOptions;
|
|
@@ -13060,8 +13485,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13060
13485
|
// verify required parameter 'batchId' is not null or undefined
|
|
13061
13486
|
(0, common_1.assertParamExists)('postCreateShipment', 'batchId', batchId);
|
|
13062
13487
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments"
|
|
13063
|
-
.replace(
|
|
13064
|
-
.replace(
|
|
13488
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13489
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
13065
13490
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13066
13491
|
if (configuration) {
|
|
13067
13492
|
baseOptions = configuration.baseOptions;
|
|
@@ -13143,7 +13568,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13143
13568
|
// verify required parameter 'id' is not null or undefined
|
|
13144
13569
|
(0, common_1.assertParamExists)('postIssueCredit', 'id', id);
|
|
13145
13570
|
localVarPath = "/admin/orders/{id}/credit"
|
|
13146
|
-
.replace(
|
|
13571
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13147
13572
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13148
13573
|
if (configuration) {
|
|
13149
13574
|
baseOptions = configuration.baseOptions;
|
|
@@ -13189,8 +13614,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13189
13614
|
// verify required parameter 'printer' is not null or undefined
|
|
13190
13615
|
(0, common_1.assertParamExists)('postPrintShippingLabel', 'printer', printer);
|
|
13191
13616
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/label/print"
|
|
13192
|
-
.replace(
|
|
13193
|
-
.replace(
|
|
13617
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13618
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13194
13619
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13195
13620
|
if (configuration) {
|
|
13196
13621
|
baseOptions = configuration.baseOptions;
|
|
@@ -13234,8 +13659,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13234
13659
|
// verify required parameter 'batchId' is not null or undefined
|
|
13235
13660
|
(0, common_1.assertParamExists)('postProcessTcxLicences', 'batchId', batchId);
|
|
13236
13661
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/licences/process"
|
|
13237
|
-
.replace(
|
|
13238
|
-
.replace(
|
|
13662
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13663
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
13239
13664
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13240
13665
|
if (configuration) {
|
|
13241
13666
|
baseOptions = configuration.baseOptions;
|
|
@@ -13276,7 +13701,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13276
13701
|
// verify required parameter 'email' is not null or undefined
|
|
13277
13702
|
(0, common_1.assertParamExists)('postSendOrderEmail', 'email', email);
|
|
13278
13703
|
localVarPath = "/admin/orders/{id}/email/send"
|
|
13279
|
-
.replace(
|
|
13704
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13280
13705
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13281
13706
|
if (configuration) {
|
|
13282
13707
|
baseOptions = configuration.baseOptions;
|
|
@@ -13325,9 +13750,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13325
13750
|
// verify required parameter 'email' is not null or undefined
|
|
13326
13751
|
(0, common_1.assertParamExists)('postSendShipmentEmail', 'email', email);
|
|
13327
13752
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/send/email"
|
|
13328
|
-
.replace(
|
|
13329
|
-
.replace(
|
|
13330
|
-
.replace(
|
|
13753
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13754
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13755
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13331
13756
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13332
13757
|
if (configuration) {
|
|
13333
13758
|
baseOptions = configuration.baseOptions;
|
|
@@ -13370,8 +13795,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13370
13795
|
// verify required parameter 'batchId' is not null or undefined
|
|
13371
13796
|
(0, common_1.assertParamExists)('postSendSupplierEmail', 'batchId', batchId);
|
|
13372
13797
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/email/send"
|
|
13373
|
-
.replace(
|
|
13374
|
-
.replace(
|
|
13798
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13799
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
13375
13800
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13376
13801
|
if (configuration) {
|
|
13377
13802
|
baseOptions = configuration.baseOptions;
|
|
@@ -13409,7 +13834,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13409
13834
|
// verify required parameter 'id' is not null or undefined
|
|
13410
13835
|
(0, common_1.assertParamExists)('postSplitOrder', 'id', id);
|
|
13411
13836
|
localVarPath = "/admin/orders/{id}/split"
|
|
13412
|
-
.replace(
|
|
13837
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13413
13838
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13414
13839
|
if (configuration) {
|
|
13415
13840
|
baseOptions = configuration.baseOptions;
|
|
@@ -13453,7 +13878,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13453
13878
|
// verify required parameter 'supplierId' is not null or undefined
|
|
13454
13879
|
(0, common_1.assertParamExists)('putAllocateItems', 'supplierId', supplierId);
|
|
13455
13880
|
localVarPath = "/admin/orders/{id}/items/allocate"
|
|
13456
|
-
.replace(
|
|
13881
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13457
13882
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13458
13883
|
if (configuration) {
|
|
13459
13884
|
baseOptions = configuration.baseOptions;
|
|
@@ -13498,7 +13923,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13498
13923
|
// verify required parameter 'id' is not null or undefined
|
|
13499
13924
|
(0, common_1.assertParamExists)('putUpdateAdminOrder', 'id', id);
|
|
13500
13925
|
localVarPath = "/admin/orders/{id}"
|
|
13501
|
-
.replace(
|
|
13926
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13502
13927
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13503
13928
|
if (configuration) {
|
|
13504
13929
|
baseOptions = configuration.baseOptions;
|
|
@@ -13548,9 +13973,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13548
13973
|
// verify required parameter 'itemId' is not null or undefined
|
|
13549
13974
|
(0, common_1.assertParamExists)('putUpdateBatchItem', 'itemId', itemId);
|
|
13550
13975
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/items/{item_id}"
|
|
13551
|
-
.replace(
|
|
13552
|
-
.replace(
|
|
13553
|
-
.replace(
|
|
13976
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13977
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13978
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
13554
13979
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13555
13980
|
if (configuration) {
|
|
13556
13981
|
baseOptions = configuration.baseOptions;
|
|
@@ -13592,7 +14017,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13592
14017
|
// verify required parameter 'id' is not null or undefined
|
|
13593
14018
|
(0, common_1.assertParamExists)('putUpdateOrder', 'id', id);
|
|
13594
14019
|
localVarPath = "/orders/{id}"
|
|
13595
|
-
.replace(
|
|
14020
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13596
14021
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13597
14022
|
if (configuration) {
|
|
13598
14023
|
baseOptions = configuration.baseOptions;
|
|
@@ -13638,7 +14063,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13638
14063
|
// verify required parameter 'paid' is not null or undefined
|
|
13639
14064
|
(0, common_1.assertParamExists)('putUpdatePaymentStatus', 'paid', paid);
|
|
13640
14065
|
localVarPath = "/admin/orders/{id}/paid"
|
|
13641
|
-
.replace(
|
|
14066
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13642
14067
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13643
14068
|
if (configuration) {
|
|
13644
14069
|
baseOptions = configuration.baseOptions;
|
|
@@ -13686,9 +14111,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13686
14111
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
13687
14112
|
(0, common_1.assertParamExists)('putUpdateShipment', 'shipmentId', shipmentId);
|
|
13688
14113
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
13689
|
-
.replace(
|
|
13690
|
-
.replace(
|
|
13691
|
-
.replace(
|
|
14114
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
14115
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
14116
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13692
14117
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13693
14118
|
if (configuration) {
|
|
13694
14119
|
baseOptions = configuration.baseOptions;
|
|
@@ -15232,18 +15657,18 @@ exports.GetGetOrdersStatusEnum = {
|
|
|
15232
15657
|
Paid: 'PAID',
|
|
15233
15658
|
InvoicePaid: 'INVOICE_PAID',
|
|
15234
15659
|
Unpaid: 'UNPAID',
|
|
15235
|
-
Quote: 'QUOTE'
|
|
15660
|
+
Quote: 'QUOTE',
|
|
15236
15661
|
};
|
|
15237
15662
|
exports.GetGetOrdersFilterEnum = {
|
|
15238
15663
|
Outstanding: 'OUTSTANDING',
|
|
15239
15664
|
Quotes: 'QUOTES',
|
|
15240
15665
|
All: 'ALL',
|
|
15241
|
-
BackOrders: 'BACK_ORDERS'
|
|
15666
|
+
BackOrders: 'BACK_ORDERS',
|
|
15242
15667
|
};
|
|
15243
15668
|
exports.PostPrintShippingLabelPrinterEnum = {
|
|
15244
15669
|
NUMBER_1: 1,
|
|
15245
15670
|
NUMBER_2: 2,
|
|
15246
|
-
NUMBER_3: 3
|
|
15671
|
+
NUMBER_3: 3,
|
|
15247
15672
|
};
|
|
15248
15673
|
/**
|
|
15249
15674
|
* PricingApi - axios parameter creator
|
|
@@ -15516,14 +15941,14 @@ exports.GetGetPriceListTypeEnum = {
|
|
|
15516
15941
|
EdTechPro: 'EdTechPro',
|
|
15517
15942
|
Sms: 'SMS',
|
|
15518
15943
|
SipTrunks: 'SIP Trunks',
|
|
15519
|
-
CrmIntegrations: 'CRM Integrations'
|
|
15944
|
+
CrmIntegrations: 'CRM Integrations',
|
|
15520
15945
|
};
|
|
15521
15946
|
exports.GetGetPriceListFormatEnum = {
|
|
15522
15947
|
Pdf: 'pdf',
|
|
15523
15948
|
Json: 'json',
|
|
15524
15949
|
Csv: 'csv',
|
|
15525
15950
|
Xml: 'xml',
|
|
15526
|
-
Html: 'html'
|
|
15951
|
+
Html: 'html',
|
|
15527
15952
|
};
|
|
15528
15953
|
exports.GetGetPriceListCategoryEnum = {
|
|
15529
15954
|
Yealink: 'Yealink',
|
|
@@ -15545,7 +15970,7 @@ exports.GetGetPriceListCategoryEnum = {
|
|
|
15545
15970
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
15546
15971
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
15547
15972
|
FanvilAccessories: 'Fanvil Accessories',
|
|
15548
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
15973
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
15549
15974
|
};
|
|
15550
15975
|
exports.PostSendPriceListTypeEnum = {
|
|
15551
15976
|
Products: 'Products',
|
|
@@ -15556,14 +15981,14 @@ exports.PostSendPriceListTypeEnum = {
|
|
|
15556
15981
|
EdTechPro: 'EdTechPro',
|
|
15557
15982
|
Sms: 'SMS',
|
|
15558
15983
|
SipTrunks: 'SIP Trunks',
|
|
15559
|
-
CrmIntegrations: 'CRM Integrations'
|
|
15984
|
+
CrmIntegrations: 'CRM Integrations',
|
|
15560
15985
|
};
|
|
15561
15986
|
exports.PostSendPriceListFormatEnum = {
|
|
15562
15987
|
Pdf: 'pdf',
|
|
15563
15988
|
Json: 'json',
|
|
15564
15989
|
Csv: 'csv',
|
|
15565
15990
|
Xml: 'xml',
|
|
15566
|
-
Html: 'html'
|
|
15991
|
+
Html: 'html',
|
|
15567
15992
|
};
|
|
15568
15993
|
exports.PostSendPriceListCategoryEnum = {
|
|
15569
15994
|
Yealink: 'Yealink',
|
|
@@ -15585,7 +16010,7 @@ exports.PostSendPriceListCategoryEnum = {
|
|
|
15585
16010
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
15586
16011
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
15587
16012
|
FanvilAccessories: 'Fanvil Accessories',
|
|
15588
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
16013
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
15589
16014
|
};
|
|
15590
16015
|
/**
|
|
15591
16016
|
* ProductsApi - axios parameter creator
|
|
@@ -15872,7 +16297,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15872
16297
|
// verify required parameter 'quantity' is not null or undefined
|
|
15873
16298
|
(0, common_1.assertParamExists)('patchAddQuantityToStock', 'quantity', quantity);
|
|
15874
16299
|
localVarPath = "/products/{sku}/stock/add"
|
|
15875
|
-
.replace(
|
|
16300
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
15876
16301
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15877
16302
|
if (configuration) {
|
|
15878
16303
|
baseOptions = configuration.baseOptions;
|
|
@@ -15915,7 +16340,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15915
16340
|
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
15916
16341
|
(0, common_1.assertParamExists)('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
15917
16342
|
localVarPath = "/products/{sku}"
|
|
15918
|
-
.replace(
|
|
16343
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
15919
16344
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15920
16345
|
if (configuration) {
|
|
15921
16346
|
baseOptions = configuration.baseOptions;
|
|
@@ -15961,7 +16386,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
15961
16386
|
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
15962
16387
|
(0, common_1.assertParamExists)('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
15963
16388
|
localVarPath = "/admin/products/{sku}"
|
|
15964
|
-
.replace(
|
|
16389
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
15965
16390
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15966
16391
|
if (configuration) {
|
|
15967
16392
|
baseOptions = configuration.baseOptions;
|
|
@@ -16465,7 +16890,7 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
16465
16890
|
exports.ProductsApi = ProductsApi;
|
|
16466
16891
|
exports.GetGetLegacyStockListFormatEnum = {
|
|
16467
16892
|
Xml: 'XML',
|
|
16468
|
-
Csv: 'CSV'
|
|
16893
|
+
Csv: 'CSV',
|
|
16469
16894
|
};
|
|
16470
16895
|
/**
|
|
16471
16896
|
* ProspectsApi - axios parameter creator
|
|
@@ -16492,7 +16917,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
16492
16917
|
// verify required parameter 'xeroId' is not null or undefined
|
|
16493
16918
|
(0, common_1.assertParamExists)('getGetProspect', 'xeroId', xeroId);
|
|
16494
16919
|
localVarPath = "/accounts/prospects/{xero_id}"
|
|
16495
|
-
.replace(
|
|
16920
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
16496
16921
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16497
16922
|
if (configuration) {
|
|
16498
16923
|
baseOptions = configuration.baseOptions;
|
|
@@ -16567,7 +16992,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
16567
16992
|
// verify required parameter 'status' is not null or undefined
|
|
16568
16993
|
(0, common_1.assertParamExists)('getRemoveFromProspects', 'status', status);
|
|
16569
16994
|
localVarPath = "/accounts/prospects/{xero_id}/remove"
|
|
16570
|
-
.replace(
|
|
16995
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
16571
16996
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16572
16997
|
if (configuration) {
|
|
16573
16998
|
baseOptions = configuration.baseOptions;
|
|
@@ -16611,7 +17036,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
16611
17036
|
// verify required parameter 'date' is not null or undefined
|
|
16612
17037
|
(0, common_1.assertParamExists)('getSetCallback', 'date', date);
|
|
16613
17038
|
localVarPath = "/accounts/prospects/{xero_id}/date"
|
|
16614
|
-
.replace(
|
|
17039
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
16615
17040
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16616
17041
|
if (configuration) {
|
|
16617
17042
|
baseOptions = configuration.baseOptions;
|
|
@@ -16872,8 +17297,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16872
17297
|
// verify required parameter 'mac' is not null or undefined
|
|
16873
17298
|
(0, common_1.assertParamExists)('deleteAddFanvilMac', 'mac', mac);
|
|
16874
17299
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
16875
|
-
.replace(
|
|
16876
|
-
.replace(
|
|
17300
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17301
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
16877
17302
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16878
17303
|
if (configuration) {
|
|
16879
17304
|
baseOptions = configuration.baseOptions;
|
|
@@ -16910,7 +17335,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16910
17335
|
// verify required parameter 'id' is not null or undefined
|
|
16911
17336
|
(0, common_1.assertParamExists)('deleteDeleteFanvilGroup', 'id', id);
|
|
16912
17337
|
localVarPath = "/provisioning/fanvil/groups/{id}"
|
|
16913
|
-
.replace(
|
|
17338
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16914
17339
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16915
17340
|
if (configuration) {
|
|
16916
17341
|
baseOptions = configuration.baseOptions;
|
|
@@ -16950,8 +17375,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16950
17375
|
// verify required parameter 'mac' is not null or undefined
|
|
16951
17376
|
(0, common_1.assertParamExists)('getGetFanvilEncryptionKey', 'mac', mac);
|
|
16952
17377
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}/key"
|
|
16953
|
-
.replace(
|
|
16954
|
-
.replace(
|
|
17378
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17379
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
16955
17380
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16956
17381
|
if (configuration) {
|
|
16957
17382
|
baseOptions = configuration.baseOptions;
|
|
@@ -16989,7 +17414,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
16989
17414
|
// verify required parameter 'id' is not null or undefined
|
|
16990
17415
|
(0, common_1.assertParamExists)('getGetFanvilGroupMacs', 'id', id);
|
|
16991
17416
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs"
|
|
16992
|
-
.replace(
|
|
17417
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
16993
17418
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16994
17419
|
if (configuration) {
|
|
16995
17420
|
baseOptions = configuration.baseOptions;
|
|
@@ -17105,8 +17530,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17105
17530
|
// verify required parameter 'mac' is not null or undefined
|
|
17106
17531
|
(0, common_1.assertParamExists)('postAddFanvilMac', 'mac', mac);
|
|
17107
17532
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
17108
|
-
.replace(
|
|
17109
|
-
.replace(
|
|
17533
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17534
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
17110
17535
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17111
17536
|
if (configuration) {
|
|
17112
17537
|
baseOptions = configuration.baseOptions;
|
|
@@ -17498,7 +17923,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17498
17923
|
// verify required parameter 'id' is not null or undefined
|
|
17499
17924
|
(0, common_1.assertParamExists)('deleteGetSipTrunk', 'id', id);
|
|
17500
17925
|
localVarPath = "/sip/trunks/{id}"
|
|
17501
|
-
.replace(
|
|
17926
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17502
17927
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17503
17928
|
if (configuration) {
|
|
17504
17929
|
baseOptions = configuration.baseOptions;
|
|
@@ -17536,7 +17961,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17536
17961
|
// verify required parameter 'id' is not null or undefined
|
|
17537
17962
|
(0, common_1.assertParamExists)('getCanDivert', 'id', id);
|
|
17538
17963
|
localVarPath = "/sip/trunks/{id}/diverts/allowed"
|
|
17539
|
-
.replace(
|
|
17964
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17540
17965
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17541
17966
|
if (configuration) {
|
|
17542
17967
|
baseOptions = configuration.baseOptions;
|
|
@@ -17574,7 +17999,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17574
17999
|
// verify required parameter 'id' is not null or undefined
|
|
17575
18000
|
(0, common_1.assertParamExists)('getGetAddress', 'id', id);
|
|
17576
18001
|
localVarPath = "/sip/trunks/{id}/address"
|
|
17577
|
-
.replace(
|
|
18002
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17578
18003
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17579
18004
|
if (configuration) {
|
|
17580
18005
|
baseOptions = configuration.baseOptions;
|
|
@@ -17683,7 +18108,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17683
18108
|
// verify required parameter 'id' is not null or undefined
|
|
17684
18109
|
(0, common_1.assertParamExists)('getGetCliFlexibility', 'id', id);
|
|
17685
18110
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
17686
|
-
.replace(
|
|
18111
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17687
18112
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17688
18113
|
if (configuration) {
|
|
17689
18114
|
baseOptions = configuration.baseOptions;
|
|
@@ -17721,7 +18146,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17721
18146
|
// verify required parameter 'id' is not null or undefined
|
|
17722
18147
|
(0, common_1.assertParamExists)('getGetDdis', 'id', id);
|
|
17723
18148
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
17724
|
-
.replace(
|
|
18149
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17725
18150
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17726
18151
|
if (configuration) {
|
|
17727
18152
|
baseOptions = configuration.baseOptions;
|
|
@@ -17760,7 +18185,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17760
18185
|
// verify required parameter 'id' is not null or undefined
|
|
17761
18186
|
(0, common_1.assertParamExists)('getGetDiverts', 'id', id);
|
|
17762
18187
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
17763
|
-
.replace(
|
|
18188
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17764
18189
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17765
18190
|
if (configuration) {
|
|
17766
18191
|
baseOptions = configuration.baseOptions;
|
|
@@ -17801,7 +18226,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17801
18226
|
// verify required parameter 'id' is not null or undefined
|
|
17802
18227
|
(0, common_1.assertParamExists)('getGetSipTrunk', 'id', id);
|
|
17803
18228
|
localVarPath = "/sip/trunks/{id}"
|
|
17804
|
-
.replace(
|
|
18229
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17805
18230
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17806
18231
|
if (configuration) {
|
|
17807
18232
|
baseOptions = configuration.baseOptions;
|
|
@@ -17888,7 +18313,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17888
18313
|
// verify required parameter 'enabled' is not null or undefined
|
|
17889
18314
|
(0, common_1.assertParamExists)('patchGetCliFlexibility', 'enabled', enabled);
|
|
17890
18315
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
17891
|
-
.replace(
|
|
18316
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17892
18317
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17893
18318
|
if (configuration) {
|
|
17894
18319
|
baseOptions = configuration.baseOptions;
|
|
@@ -17929,7 +18354,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17929
18354
|
// verify required parameter 'id' is not null or undefined
|
|
17930
18355
|
(0, common_1.assertParamExists)('patchSetAsAvailable', 'id', id);
|
|
17931
18356
|
localVarPath = "/sip/trunks/{id}/available"
|
|
17932
|
-
.replace(
|
|
18357
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17933
18358
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17934
18359
|
if (configuration) {
|
|
17935
18360
|
baseOptions = configuration.baseOptions;
|
|
@@ -17970,7 +18395,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17970
18395
|
// verify required parameter 'ownerId' is not null or undefined
|
|
17971
18396
|
(0, common_1.assertParamExists)('patchSetOwnership', 'ownerId', ownerId);
|
|
17972
18397
|
localVarPath = "/sip/trunks/{id}/owner"
|
|
17973
|
-
.replace(
|
|
18398
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17974
18399
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17975
18400
|
if (configuration) {
|
|
17976
18401
|
baseOptions = configuration.baseOptions;
|
|
@@ -18016,7 +18441,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18016
18441
|
// verify required parameter 'channels' is not null or undefined
|
|
18017
18442
|
(0, common_1.assertParamExists)('patchUpdateChannelCount', 'channels', channels);
|
|
18018
18443
|
localVarPath = "/sip/trunks/{id}/channels"
|
|
18019
|
-
.replace(
|
|
18444
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18020
18445
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18021
18446
|
if (configuration) {
|
|
18022
18447
|
baseOptions = configuration.baseOptions;
|
|
@@ -18060,7 +18485,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18060
18485
|
// verify required parameter 'company' is not null or undefined
|
|
18061
18486
|
(0, common_1.assertParamExists)('patchUpdateCompanyName', 'company', company);
|
|
18062
18487
|
localVarPath = "/sip/trunks/{id}/company"
|
|
18063
|
-
.replace(
|
|
18488
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18064
18489
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18065
18490
|
if (configuration) {
|
|
18066
18491
|
baseOptions = configuration.baseOptions;
|
|
@@ -18104,7 +18529,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18104
18529
|
// verify required parameter 'number' is not null or undefined
|
|
18105
18530
|
(0, common_1.assertParamExists)('patchUpdateMainTrunkNumber', 'number', number);
|
|
18106
18531
|
localVarPath = "/sip/trunks/{id}/number"
|
|
18107
|
-
.replace(
|
|
18532
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18108
18533
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18109
18534
|
if (configuration) {
|
|
18110
18535
|
baseOptions = configuration.baseOptions;
|
|
@@ -18148,7 +18573,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18148
18573
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
18149
18574
|
(0, common_1.assertParamExists)('patchUpdatePbxIPAddress', 'ipAddress', ipAddress);
|
|
18150
18575
|
localVarPath = "/sip/trunks/{id}/pbx/ip"
|
|
18151
|
-
.replace(
|
|
18576
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18152
18577
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18153
18578
|
if (configuration) {
|
|
18154
18579
|
baseOptions = configuration.baseOptions;
|
|
@@ -18190,7 +18615,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18190
18615
|
// verify required parameter 'id' is not null or undefined
|
|
18191
18616
|
(0, common_1.assertParamExists)('postGetDdis', 'id', id);
|
|
18192
18617
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
18193
|
-
.replace(
|
|
18618
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18194
18619
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18195
18620
|
if (configuration) {
|
|
18196
18621
|
baseOptions = configuration.baseOptions;
|
|
@@ -18342,7 +18767,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18342
18767
|
// verify required parameter 'id' is not null or undefined
|
|
18343
18768
|
(0, common_1.assertParamExists)('putGetAddress', 'id', id);
|
|
18344
18769
|
localVarPath = "/sip/trunks/{id}/address"
|
|
18345
|
-
.replace(
|
|
18770
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18346
18771
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18347
18772
|
if (configuration) {
|
|
18348
18773
|
baseOptions = configuration.baseOptions;
|
|
@@ -18386,7 +18811,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18386
18811
|
// verify required parameter 'enabled' is not null or undefined
|
|
18387
18812
|
(0, common_1.assertParamExists)('putGetDiverts', 'enabled', enabled);
|
|
18388
18813
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
18389
|
-
.replace(
|
|
18814
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18390
18815
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18391
18816
|
if (configuration) {
|
|
18392
18817
|
baseOptions = configuration.baseOptions;
|
|
@@ -19792,7 +20217,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
19792
20217
|
// verify required parameter 'id' is not null or undefined
|
|
19793
20218
|
(0, common_1.assertParamExists)('patchArchiveEvent', 'id', id);
|
|
19794
20219
|
localVarPath = "/services/events/{id}/archive"
|
|
19795
|
-
.replace(
|
|
20220
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19796
20221
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19797
20222
|
if (configuration) {
|
|
19798
20223
|
baseOptions = configuration.baseOptions;
|
|
@@ -19830,7 +20255,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
19830
20255
|
// verify required parameter 'id' is not null or undefined
|
|
19831
20256
|
(0, common_1.assertParamExists)('patchUpdateEvent', 'id', id);
|
|
19832
20257
|
localVarPath = "/services/events/{id}"
|
|
19833
|
-
.replace(
|
|
20258
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19834
20259
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19835
20260
|
if (configuration) {
|
|
19836
20261
|
baseOptions = configuration.baseOptions;
|
|
@@ -19906,7 +20331,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
19906
20331
|
// verify required parameter 'id' is not null or undefined
|
|
19907
20332
|
(0, common_1.assertParamExists)('postCreateEventUpdate', 'id', id);
|
|
19908
20333
|
localVarPath = "/services/events/{id}/updates"
|
|
19909
|
-
.replace(
|
|
20334
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
19910
20335
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19911
20336
|
if (configuration) {
|
|
19912
20337
|
baseOptions = configuration.baseOptions;
|
|
@@ -20522,7 +20947,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20522
20947
|
// verify required parameter 'id' is not null or undefined
|
|
20523
20948
|
(0, common_1.assertParamExists)('deleteDeleteStockOrder', 'id', id);
|
|
20524
20949
|
localVarPath = "/stock/orders/{id}"
|
|
20525
|
-
.replace(
|
|
20950
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20526
20951
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20527
20952
|
if (configuration) {
|
|
20528
20953
|
baseOptions = configuration.baseOptions;
|
|
@@ -20562,8 +20987,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20562
20987
|
// verify required parameter 'deductionId' is not null or undefined
|
|
20563
20988
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
20564
20989
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
20565
|
-
.replace(
|
|
20566
|
-
.replace(
|
|
20990
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
20991
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
20567
20992
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20568
20993
|
if (configuration) {
|
|
20569
20994
|
baseOptions = configuration.baseOptions;
|
|
@@ -20603,8 +21028,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20603
21028
|
// verify required parameter 'itemId' is not null or undefined
|
|
20604
21029
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderItem', 'itemId', itemId);
|
|
20605
21030
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
20606
|
-
.replace(
|
|
20607
|
-
.replace(
|
|
21031
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21032
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
20608
21033
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20609
21034
|
if (configuration) {
|
|
20610
21035
|
baseOptions = configuration.baseOptions;
|
|
@@ -20641,7 +21066,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20641
21066
|
// verify required parameter 'id' is not null or undefined
|
|
20642
21067
|
(0, common_1.assertParamExists)('deleteGetStockProduct', 'id', id);
|
|
20643
21068
|
localVarPath = "/stock/products/{id}"
|
|
20644
|
-
.replace(
|
|
21069
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20645
21070
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20646
21071
|
if (configuration) {
|
|
20647
21072
|
baseOptions = configuration.baseOptions;
|
|
@@ -20678,7 +21103,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20678
21103
|
// verify required parameter 'id' is not null or undefined
|
|
20679
21104
|
(0, common_1.assertParamExists)('getDeleteStockOrder', 'id', id);
|
|
20680
21105
|
localVarPath = "/stock/orders/{id}"
|
|
20681
|
-
.replace(
|
|
21106
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20682
21107
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20683
21108
|
if (configuration) {
|
|
20684
21109
|
baseOptions = configuration.baseOptions;
|
|
@@ -20716,7 +21141,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20716
21141
|
// verify required parameter 'sku' is not null or undefined
|
|
20717
21142
|
(0, common_1.assertParamExists)('getGetProductDetails', 'sku', sku);
|
|
20718
21143
|
localVarPath = "/stock/products/{sku}/details"
|
|
20719
|
-
.replace(
|
|
21144
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
20720
21145
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20721
21146
|
if (configuration) {
|
|
20722
21147
|
baseOptions = configuration.baseOptions;
|
|
@@ -20754,7 +21179,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20754
21179
|
// verify required parameter 'id' is not null or undefined
|
|
20755
21180
|
(0, common_1.assertParamExists)('getGetStockOrderPurchaseOrder', 'id', id);
|
|
20756
21181
|
localVarPath = "/stock/orders/{id}/po"
|
|
20757
|
-
.replace(
|
|
21182
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20758
21183
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20759
21184
|
if (configuration) {
|
|
20760
21185
|
baseOptions = configuration.baseOptions;
|
|
@@ -20792,7 +21217,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20792
21217
|
// verify required parameter 'id' is not null or undefined
|
|
20793
21218
|
(0, common_1.assertParamExists)('getGetStockOrderSupplierEmail', 'id', id);
|
|
20794
21219
|
localVarPath = "/stock/orders/{id}/supplier/email"
|
|
20795
|
-
.replace(
|
|
21220
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20796
21221
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20797
21222
|
if (configuration) {
|
|
20798
21223
|
baseOptions = configuration.baseOptions;
|
|
@@ -20880,7 +21305,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20880
21305
|
// verify required parameter 'id' is not null or undefined
|
|
20881
21306
|
(0, common_1.assertParamExists)('getGetStockProduct', 'id', id);
|
|
20882
21307
|
localVarPath = "/stock/products/{id}"
|
|
20883
|
-
.replace(
|
|
21308
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20884
21309
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20885
21310
|
if (configuration) {
|
|
20886
21311
|
baseOptions = configuration.baseOptions;
|
|
@@ -20998,7 +21423,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20998
21423
|
// verify required parameter 'id' is not null or undefined
|
|
20999
21424
|
(0, common_1.assertParamExists)('getGetStockSupplierProducts', 'id', id);
|
|
21000
21425
|
localVarPath = "/stock/suppliers/{id}/products"
|
|
21001
|
-
.replace(
|
|
21426
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21002
21427
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21003
21428
|
if (configuration) {
|
|
21004
21429
|
baseOptions = configuration.baseOptions;
|
|
@@ -21036,7 +21461,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21036
21461
|
// verify required parameter 'id' is not null or undefined
|
|
21037
21462
|
(0, common_1.assertParamExists)('getUploadStockOrderInvoice', 'id', id);
|
|
21038
21463
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
21039
|
-
.replace(
|
|
21464
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21040
21465
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21041
21466
|
if (configuration) {
|
|
21042
21467
|
baseOptions = configuration.baseOptions;
|
|
@@ -21075,7 +21500,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21075
21500
|
// verify required parameter 'id' is not null or undefined
|
|
21076
21501
|
(0, common_1.assertParamExists)('patchDeleteStockOrder', 'id', id);
|
|
21077
21502
|
localVarPath = "/stock/orders/{id}"
|
|
21078
|
-
.replace(
|
|
21503
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21079
21504
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21080
21505
|
if (configuration) {
|
|
21081
21506
|
baseOptions = configuration.baseOptions;
|
|
@@ -21119,8 +21544,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21119
21544
|
// verify required parameter 'deductionId' is not null or undefined
|
|
21120
21545
|
(0, common_1.assertParamExists)('patchDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
21121
21546
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
21122
|
-
.replace(
|
|
21123
|
-
.replace(
|
|
21547
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21548
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
21124
21549
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21125
21550
|
if (configuration) {
|
|
21126
21551
|
baseOptions = configuration.baseOptions;
|
|
@@ -21164,8 +21589,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21164
21589
|
// verify required parameter 'itemId' is not null or undefined
|
|
21165
21590
|
(0, common_1.assertParamExists)('patchDeleteStockOrderItem', 'itemId', itemId);
|
|
21166
21591
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
21167
|
-
.replace(
|
|
21168
|
-
.replace(
|
|
21592
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21593
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
21169
21594
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21170
21595
|
if (configuration) {
|
|
21171
21596
|
baseOptions = configuration.baseOptions;
|
|
@@ -21206,7 +21631,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21206
21631
|
// verify required parameter 'id' is not null or undefined
|
|
21207
21632
|
(0, common_1.assertParamExists)('postAddStockOrderDeduction', 'id', id);
|
|
21208
21633
|
localVarPath = "/stock/orders/{id}/deductions"
|
|
21209
|
-
.replace(
|
|
21634
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21210
21635
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21211
21636
|
if (configuration) {
|
|
21212
21637
|
baseOptions = configuration.baseOptions;
|
|
@@ -21247,7 +21672,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21247
21672
|
// verify required parameter 'id' is not null or undefined
|
|
21248
21673
|
(0, common_1.assertParamExists)('postAddStockOrderItem', 'id', id);
|
|
21249
21674
|
localVarPath = "/stock/orders/{id}/items"
|
|
21250
|
-
.replace(
|
|
21675
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21251
21676
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21252
21677
|
if (configuration) {
|
|
21253
21678
|
baseOptions = configuration.baseOptions;
|
|
@@ -21364,7 +21789,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21364
21789
|
// verify required parameter 'invoice' is not null or undefined
|
|
21365
21790
|
(0, common_1.assertParamExists)('postUploadStockOrderInvoice', 'invoice', invoice);
|
|
21366
21791
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
21367
|
-
.replace(
|
|
21792
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21368
21793
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21369
21794
|
if (configuration) {
|
|
21370
21795
|
baseOptions = configuration.baseOptions;
|
|
@@ -21408,7 +21833,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21408
21833
|
// verify required parameter 'id' is not null or undefined
|
|
21409
21834
|
(0, common_1.assertParamExists)('putGetStockProduct', 'id', id);
|
|
21410
21835
|
localVarPath = "/stock/products/{id}"
|
|
21411
|
-
.replace(
|
|
21836
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21412
21837
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21413
21838
|
if (configuration) {
|
|
21414
21839
|
baseOptions = configuration.baseOptions;
|
|
@@ -21454,8 +21879,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21454
21879
|
// verify required parameter 'received' is not null or undefined
|
|
21455
21880
|
(0, common_1.assertParamExists)('putReceiveStockOrderItem', 'received', received);
|
|
21456
21881
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}/receive"
|
|
21457
|
-
.replace(
|
|
21458
|
-
.replace(
|
|
21882
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21883
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
21459
21884
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21460
21885
|
if (configuration) {
|
|
21461
21886
|
baseOptions = configuration.baseOptions;
|
|
@@ -22849,7 +23274,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
22849
23274
|
// verify required parameter 'id' is not null or undefined
|
|
22850
23275
|
(0, common_1.assertParamExists)('getGetTicket', 'id', id);
|
|
22851
23276
|
localVarPath = "/tickets/support/{id}"
|
|
22852
|
-
.replace(
|
|
23277
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
22853
23278
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22854
23279
|
if (configuration) {
|
|
22855
23280
|
baseOptions = configuration.baseOptions;
|
|
@@ -22886,7 +23311,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
22886
23311
|
// verify required parameter 'id' is not null or undefined
|
|
22887
23312
|
(0, common_1.assertParamExists)('patchCloseTicket', 'id', id);
|
|
22888
23313
|
localVarPath = "/tickets/support/{id}/close"
|
|
22889
|
-
.replace(
|
|
23314
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
22890
23315
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22891
23316
|
if (configuration) {
|
|
22892
23317
|
baseOptions = configuration.baseOptions;
|
|
@@ -22975,7 +23400,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
22975
23400
|
// verify required parameter 'id' is not null or undefined
|
|
22976
23401
|
(0, common_1.assertParamExists)('postTicketReply', 'id', id);
|
|
22977
23402
|
localVarPath = "/tickets/support/{id}/reply"
|
|
22978
|
-
.replace(
|
|
23403
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
22979
23404
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22980
23405
|
if (configuration) {
|
|
22981
23406
|
baseOptions = configuration.baseOptions;
|
|
@@ -23471,5 +23896,5 @@ exports.PostAddWebhookWebhookUriEnum = {
|
|
|
23471
23896
|
WebhookFreshdeskUpdate: '/webhook/freshdesk/update',
|
|
23472
23897
|
WebhookTest: '/webhook/test',
|
|
23473
23898
|
WebhookXeroInvoices: '/webhook/xero/invoices',
|
|
23474
|
-
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add'
|
|
23899
|
+
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add',
|
|
23475
23900
|
};
|