node-ovh-ts
Version:
OVH API wrapper library for TypeScript
1 lines • 28 kB
Source Map (JSON)
{"version":3,"sources":["../src/handlers/OverTheBox.ts"],"sourcesContent":["/* WARNING: This file is auto-generated . Do not edit manually. */\n\nimport { OvertheboxConfigurationDnsNameserver } from '../models/OvertheboxConfigurationDnsNameserver';\nimport { OverTheBoxDevice } from '../models/OverTheBoxDevice';\nimport { OverTheBoxTaskStatusEnum } from '../models/OverTheBoxTaskStatusEnum';\nimport { OverTheBoxAvailableMigrationOffer } from '../models/OverTheBoxAvailableMigrationOffer';\nimport { ServicesService } from '../models/ServicesService';\nimport { OvertheboxConfigurationDnsLocalDomain } from '../models/OvertheboxConfigurationDnsLocalDomain';\nimport { OverTheBoxTask } from '../models/OverTheBoxTask';\nimport { OverTheBoxService } from '../models/OverTheBoxService';\nimport { OvertheboxConfigurationFirewallRedirect } from '../models/OvertheboxConfigurationFirewallRedirect';\nimport { OvertheboxConfigurationDhcpStaticLease } from '../models/OvertheboxConfigurationDhcpStaticLease';\nimport { OverTheBoxAvailableDeviceAction } from '../models/OverTheBoxAvailableDeviceAction';\nimport { OverTheBoxActionStatusEnum } from '../models/OverTheBoxActionStatusEnum';\nimport { OtbDeviceStatisticsTypeEnum } from '../models/OtbDeviceStatisticsTypeEnum';\nimport { OverTheBoxAvailableStatusEnum } from '../models/OverTheBoxAvailableStatusEnum';\nimport { OvertheboxConfigurationDhcpConfig } from '../models/OvertheboxConfigurationDhcpConfig';\nimport { OverTheBoxDeviceForRegistration } from '../models/OverTheBoxDeviceForRegistration';\nimport { OverTheBoxBackup } from '../models/OverTheBoxBackup';\nimport { OvertheboxConfigurationNetworkInterface } from '../models/OvertheboxConfigurationNetworkInterface';\nimport { OtbDeviceStatisticsPeriodEnum } from '../models/OtbDeviceStatisticsPeriodEnum';\nimport { OvertheboxConfigurationFirewallRule } from '../models/OvertheboxConfigurationFirewallRule';\nimport { OverTheBoxHardware } from '../models/OverTheBoxHardware';\nimport { OverTheBoxRemoteAccess } from '../models/OverTheBoxRemoteAccess';\nimport { OverTheBoxDeviceAction } from '../models/OverTheBoxDeviceAction';\nimport { PriceOverTheBoxOfferEnum } from '../models/PriceOverTheBoxOfferEnum';\nimport { OtbDeviceStatistics } from '../models/OtbDeviceStatistics';\nimport { OverTheBoxTemporaryLogsLink } from '../models/OverTheBoxTemporaryLogsLink';\nimport OVHBase from '../ovh';\n\nclass OverTheBoxHandler {\n ovh: OVHBase;\n\n constructor(ovh: OVHBase) {\n this.ovh = ovh;\n }\n\n /** List available services */\n list = (): Promise<string[]> => {\n return this.ovh.request('GET', '/overTheBox');\n };\n\n /** List the available offers for the new call */\n listAvailableOffers = (): Promise<PriceOverTheBoxOfferEnum[]> => {\n return this.ovh.request('GET', '/overTheBox/availableOffers');\n };\n\n /** Get the list of devices connected from the same IP address */\n postDevices = (): Promise<OverTheBoxDeviceForRegistration[]> => {\n return this.ovh.request('POST', '/overTheBox/devices');\n };\n\n /** List available services */\n listHardware = (): Promise<string[]> => {\n return this.ovh.request('GET', '/overTheBox/hardware');\n };\n\n /** List hardware that can be linked to a service */\n listHardwareAvailable = (): Promise<string[]> => {\n return this.ovh.request('GET', '/overTheBox/hardware/available');\n };\n\n /** Get this object properties */\n getHardwareByHardwareName = (hardwareName: string): Promise<OverTheBoxHardware> => {\n return this.ovh.request('GET', `/overTheBox/hardware/${hardwareName}`);\n };\n\n /** Resiliate a service */\n deleteByServiceName = (serviceName: string): Promise<void> => {\n return this.ovh.request('DELETE', `/overTheBox/${serviceName}`);\n };\n\n /** Get this object properties */\n getByServiceName = (serviceName: string): Promise<OverTheBoxService> => {\n return this.ovh.request('GET', `/overTheBox/${serviceName}`);\n };\n\n /** Alter this object properties */\n updateByServiceName = (serviceName: string, body: OverTheBoxService): Promise<void> => {\n return this.ovh.request('PUT', `/overTheBox/${serviceName}`, body);\n };\n\n /** Change the value of autoMTU */\n updateAutoMTUByServiceName = (\n serviceName: string,\n body: { mtuAuto: OverTheBoxAvailableStatusEnum }\n ): Promise<void> => {\n return this.ovh.request('PUT', `/overTheBox/${serviceName}/autoMTU`, body);\n };\n\n /** List available release channels for this service */\n listAvailableReleaseChannelsByServiceName = (serviceName: string): Promise<string[]> => {\n return this.ovh.request('GET', `/overTheBox/${serviceName}/availableReleaseChannels`);\n };\n\n /** List of backups for this service */\n listBackupsByServiceName = (serviceName: string): Promise<string[]> => {\n return this.ovh.request('GET', `/overTheBox/${serviceName}/backups`);\n };\n\n /** Delete a backup */\n deleteBackupsByServiceNameAndBackupId = (\n backupId: string,\n serviceName: string\n ): Promise<void> => {\n return this.ovh.request('DELETE', `/overTheBox/${serviceName}/backups/${backupId}`);\n };\n\n /** Get this object properties */\n getBackupsByServiceNameAndBackupId = (\n backupId: string,\n serviceName: string\n ): Promise<OverTheBoxBackup> => {\n return this.ovh.request('GET', `/overTheBox/${serviceName}/backups/${backupId}`);\n };\n\n /** Cancel the resiliation of the Service */\n postCancelResiliationByServiceName = (serviceName: string): Promise<void> => {\n return this.ovh.request('POST', `/overTheBox/${serviceName}/cancelResiliation`);\n };\n\n /** Launch a contact change procedure */\n launchChangeContactByServiceName = (\n serviceName: string,\n body: { contactAdmin?: string; contactBilling?: string; contactTech?: string }\n ): Promise<number[]> => {\n return this.ovh.request('POST', `/overTheBox/${serviceName}/changeContact`, body);\n };\n\n /** Return the list of DHCP configurations */\n getConfigurationDhcpConfigByServiceName = (\n serviceName: string\n ): Promise<OvertheboxConfigurationDhcpConfig[]> => {\n return this.ovh.request('GET', `/overTheBox/${serviceName}/configuration/dhcp/config`);\n };\n\n /** Create a DHCP configuration */\n createConfigurationDhcpConfigByServiceName = (\n serviceName: string,\n body: OvertheboxConfigurationDhcpConfig\n ): Promise<OvertheboxConfigurationDhcpConfig> => {\n return this.ovh.request('POST', `/overTheBox/${serviceName}/configuration/dhcp/config`, body);\n };\n\n /** Delete a DHCP configuration */\n deleteConfigurationDhcpConfigByServiceNameAndId = (\n serviceName: string,\n id: string\n ): Promise<void> => {\n return this.ovh.request('DELETE', `/overTheBox/${serviceName}/configuration/dhcp/config/${id}`);\n };\n\n /** Return the specified DHCP configuration */\n getConfigurationDhcpConfigByServiceNameAndId = (\n serviceName: string,\n id: string\n ): Promise<OvertheboxConfigurationDhcpConfig> => {\n return this.ovh.request('GET', `/overTheBox/${serviceName}/configuration/dhcp/config/${id}`);\n };\n\n /** Update a DHCP configuration */\n updateConfigurationDhcpConfigByServiceNameAndId = (\n serviceName: string,\n id: string,\n body: OvertheboxConfigurationDhcpConfig\n ): Promise<OvertheboxConfigurationDhcpConfig> => {\n return this.ovh.request(\n 'PUT',\n `/overTheBox/${serviceName}/configuration/dhcp/config/${id}`,\n body\n );\n };\n\n /** Return the list of DHCP static leases */\n getConfigurationDhcpStaticLeaseByServiceName = (\n serviceName: string\n ): Promise<OvertheboxConfigurationDhcpStaticLease[]> => {\n return this.ovh.request('GET', `/overTheBox/${serviceName}/configuration/dhcp/staticLease`);\n };\n\n /** Create a DHCP static lease */\n createConfigurationDhcpStaticLeaseByServiceName = (\n serviceName: string,\n body: OvertheboxConfigurationDhcpStaticLease\n ): Promise<OvertheboxConfigurationDhcpStaticLease> => {\n return this.ovh.request(\n 'POST',\n `/overTheBox/${serviceName}/configuration/dhcp/staticLease`,\n body\n );\n };\n\n /** Delete a DHCP static lease */\n deleteConfigurationDhcpStaticLeaseByServiceNameAndId = (\n serviceName: string,\n id: string\n ): Promise<void> => {\n return this.ovh.request(\n 'DELETE',\n `/overTheBox/${serviceName}/configuration/dhcp/staticLease/${id}`\n );\n };\n\n /** Return the specified DHCP static lease */\n getConfigurationDhcpStaticLeaseByServiceNameAndId = (\n serviceName: string,\n id: string\n ): Promise<OvertheboxConfigurationDhcpStaticLease> => {\n return this.ovh.request(\n 'GET',\n `/overTheBox/${serviceName}/configuration/dhcp/staticLease/${id}`\n );\n };\n\n /** Update a DHCP static lease */\n updateConfigurationDhcpStaticLeaseByServiceNameAndId = (\n serviceName: string,\n id: string,\n body: OvertheboxConfigurationDhcpStaticLease\n ): Promise<OvertheboxConfigurationDhcpStaticLease> => {\n return this.ovh.request(\n 'PUT',\n `/overTheBox/${serviceName}/configuration/dhcp/staticLease/${id}`,\n body\n );\n };\n\n /** Return the list of DNS local domains */\n getConfigurationDnsLocalDomainByServiceName = (\n serviceName: string\n ): Promise<OvertheboxConfigurationDnsLocalDomain[]> => {\n return this.ovh.request('GET', `/overTheBox/${serviceName}/configuration/dns/localDomain`);\n };\n\n /** Create a DNS local domain */\n createConfigurationDnsLocalDomainByServiceName = (\n serviceName: string,\n body: OvertheboxConfigurationDnsLocalDomain\n ): Promise<OvertheboxConfigurationDnsLocalDomain> => {\n return this.ovh.request(\n 'POST',\n `/overTheBox/${serviceName}/configuration/dns/localDomain`,\n body\n );\n };\n\n /** Delete a DNS local domain */\n deleteConfigurationDnsLocalDomainByServiceNameAndId = (\n serviceName: string,\n id: string\n ): Promise<void> => {\n return this.ovh.request(\n 'DELETE',\n `/overTheBox/${serviceName}/configuration/dns/localDomain/${id}`\n );\n };\n\n /** Return the specified DNS local domain */\n getConfigurationDnsLocalDomainByServiceNameAndId = (\n serviceName: string,\n id: string\n ): Promise<OvertheboxConfigurationDnsLocalDomain> => {\n return this.ovh.request(\n 'GET',\n `/overTheBox/${serviceName}/configuration/dns/localDomain/${id}`\n );\n };\n\n /** Update a DNS local domain */\n updateConfigurationDnsLocalDomainByServiceNameAndId = (\n serviceName: string,\n id: string,\n body: OvertheboxConfigurationDnsLocalDomain\n ): Promise<OvertheboxConfigurationDnsLocalDomain> => {\n return this.ovh.request(\n 'PUT',\n `/overTheBox/${serviceName}/configuration/dns/localDomain/${id}`,\n body\n );\n };\n\n /** Return the list of DNS nameservers */\n getConfigurationDnsNameserverByServiceName = (\n serviceName: string\n ): Promise<OvertheboxConfigurationDnsNameserver[]> => {\n return this.ovh.request('GET', `/overTheBox/${serviceName}/configuration/dns/nameserver`);\n };\n\n /** Create a DNS nameserver */\n createConfigurationDnsNameserverByServiceName = (\n serviceName: string,\n body: OvertheboxConfigurationDnsNameserver\n ): Promise<OvertheboxConfigurationDnsNameserver> => {\n return this.ovh.request(\n 'POST',\n `/overTheBox/${serviceName}/configuration/dns/nameserver`,\n body\n );\n };\n\n /** Delete a DNS nameserver */\n deleteConfigurationDnsNameserverByServiceNameAndId = (\n serviceName: string,\n id: string\n ): Promise<void> => {\n return this.ovh.request(\n 'DELETE',\n `/overTheBox/${serviceName}/configuration/dns/nameserver/${id}`\n );\n };\n\n /** Get a DNS nameserver configuration */\n getConfigurationDnsNameserverByServiceNameAndId = (\n serviceName: string,\n id: string\n ): Promise<OvertheboxConfigurationDnsNameserver> => {\n return this.ovh.request('GET', `/overTheBox/${serviceName}/configuration/dns/nameserver/${id}`);\n };\n\n /** Update a DNS nameserver configuration */\n updateConfigurationDnsNameserverByServiceNameAndId = (\n serviceName: string,\n id: string,\n body: OvertheboxConfigurationDnsNameserver\n ): Promise<OvertheboxConfigurationDnsNameserver> => {\n return this.ovh.request(\n 'PUT',\n `/overTheBox/${serviceName}/configuration/dns/nameserver/${id}`,\n body\n );\n };\n\n /** Return the list of firewall redirects */\n getConfigurationFirewallRedirectByServiceName = (\n serviceName: string\n ): Promise<OvertheboxConfigurationFirewallRedirect[]> => {\n return this.ovh.request('GET', `/overTheBox/${serviceName}/configuration/firewall/redirect`);\n };\n\n /** Create a firewall redirect */\n createConfigurationFirewallRedirectByServiceName = (\n serviceName: string,\n body: OvertheboxConfigurationFirewallRedirect\n ): Promise<OvertheboxConfigurationFirewallRedirect> => {\n return this.ovh.request(\n 'POST',\n `/overTheBox/${serviceName}/configuration/firewall/redirect`,\n body\n );\n };\n\n /** Delete a firewall redirect */\n deleteConfigurationFirewallRedirectByServiceNameAndId = (\n serviceName: string,\n id: string\n ): Promise<void> => {\n return this.ovh.request(\n 'DELETE',\n `/overTheBox/${serviceName}/configuration/firewall/redirect/${id}`\n );\n };\n\n /** Get a firewall redirect */\n getConfigurationFirewallRedirectByServiceNameAndId = (\n serviceName: string,\n id: string\n ): Promise<OvertheboxConfigurationFirewallRedirect> => {\n return this.ovh.request(\n 'GET',\n `/overTheBox/${serviceName}/configuration/firewall/redirect/${id}`\n );\n };\n\n /** Update a firewall redirect */\n updateConfigurationFirewallRedirectByServiceNameAndId = (\n serviceName: string,\n id: string,\n body: OvertheboxConfigurationFirewallRedirect\n ): Promise<OvertheboxConfigurationFirewallRedirect> => {\n return this.ovh.request(\n 'PUT',\n `/overTheBox/${serviceName}/configuration/firewall/redirect/${id}`,\n body\n );\n };\n\n /** Return the list of firewall rules */\n getConfigurationFirewallRuleByServiceName = (\n serviceName: string\n ): Promise<OvertheboxConfigurationFirewallRule[]> => {\n return this.ovh.request('GET', `/overTheBox/${serviceName}/configuration/firewall/rule`);\n };\n\n /** Create a firewall rule */\n createConfigurationFirewallRuleByServiceName = (\n serviceName: string,\n body: OvertheboxConfigurationFirewallRule\n ): Promise<OvertheboxConfigurationFirewallRule> => {\n return this.ovh.request('POST', `/overTheBox/${serviceName}/configuration/firewall/rule`, body);\n };\n\n /** Delete a firewall rule */\n deleteConfigurationFirewallRuleByServiceNameAndId = (\n serviceName: string,\n id: string\n ): Promise<void> => {\n return this.ovh.request(\n 'DELETE',\n `/overTheBox/${serviceName}/configuration/firewall/rule/${id}`\n );\n };\n\n /** Get a firewall rule */\n getConfigurationFirewallRuleByServiceNameAndId = (\n serviceName: string,\n id: string\n ): Promise<OvertheboxConfigurationFirewallRule> => {\n return this.ovh.request('GET', `/overTheBox/${serviceName}/configuration/firewall/rule/${id}`);\n };\n\n /** Update a firewall rule */\n updateConfigurationFirewallRuleByServiceNameAndId = (\n serviceName: string,\n id: string,\n body: OvertheboxConfigurationFirewallRule\n ): Promise<OvertheboxConfigurationFirewallRule> => {\n return this.ovh.request(\n 'PUT',\n `/overTheBox/${serviceName}/configuration/firewall/rule/${id}`,\n body\n );\n };\n\n /** Return the list of network interfaces */\n getConfigurationNetworkInterfaceByServiceName = (\n serviceName: string\n ): Promise<OvertheboxConfigurationNetworkInterface[]> => {\n return this.ovh.request('GET', `/overTheBox/${serviceName}/configuration/network/interface`);\n };\n\n /** Create a network interface */\n createConfigurationNetworkInterfaceByServiceName = (\n serviceName: string,\n body: OvertheboxConfigurationNetworkInterface\n ): Promise<OvertheboxConfigurationNetworkInterface> => {\n return this.ovh.request(\n 'POST',\n `/overTheBox/${serviceName}/configuration/network/interface`,\n body\n );\n };\n\n /** Delete a network interface */\n deleteConfigurationNetworkInterfaceByServiceNameAndId = (\n serviceName: string,\n id: string\n ): Promise<void> => {\n return this.ovh.request(\n 'DELETE',\n `/overTheBox/${serviceName}/configuration/network/interface/${id}`\n );\n };\n\n /** Get a network interface */\n getConfigurationNetworkInterfaceByServiceNameAndId = (\n serviceName: string,\n id: string\n ): Promise<OvertheboxConfigurationNetworkInterface> => {\n return this.ovh.request(\n 'GET',\n `/overTheBox/${serviceName}/configuration/network/interface/${id}`\n );\n };\n\n /** Update a network interface */\n updateConfigurationNetworkInterfaceByServiceNameAndId = (\n serviceName: string,\n id: string,\n body: OvertheboxConfigurationNetworkInterface\n ): Promise<OvertheboxConfigurationNetworkInterface> => {\n return this.ovh.request(\n 'PUT',\n `/overTheBox/${serviceName}/configuration/network/interface/${id}`,\n body\n );\n };\n\n /** Unlink a device from a service */\n deleteDeviceByServiceName = (serviceName: string): Promise<void> => {\n return this.ovh.request('DELETE', `/overTheBox/${serviceName}/device`);\n };\n\n /** Get this object properties */\n getDeviceByServiceName = (serviceName: string): Promise<OverTheBoxDevice> => {\n return this.ovh.request('GET', `/overTheBox/${serviceName}/device`);\n };\n\n /** List of actions scheduled for this device */\n listDeviceActionsByServiceName = (serviceName: string): Promise<string[]> => {\n return this.ovh.request('GET', `/overTheBox/${serviceName}/device/actions`);\n };\n\n /** Create a device action on the device */\n createDeviceActionsByServiceName = (\n serviceName: string,\n body: { name: string }\n ): Promise<OverTheBoxDeviceAction> => {\n return this.ovh.request('POST', `/overTheBox/${serviceName}/device/actions`, body);\n };\n\n /** Get this object properties */\n getDeviceActionsByServiceNameAndActionId = (\n actionId: string,\n serviceName: string\n ): Promise<OverTheBoxDeviceAction> => {\n return this.ovh.request('GET', `/overTheBox/${serviceName}/device/actions/${actionId}`);\n };\n\n /** List the available device actions */\n listDeviceAvailableActionsByServiceName = (\n serviceName: string\n ): Promise<OverTheBoxAvailableDeviceAction[]> => {\n return this.ovh.request('GET', `/overTheBox/${serviceName}/device/availableActions`);\n };\n\n /** Create an action to generate a backup */\n createDeviceBackupByServiceName = (serviceName: string): Promise<OverTheBoxDeviceAction> => {\n return this.ovh.request('POST', `/overTheBox/${serviceName}/device/backup`);\n };\n\n /** Generate a temporary url to retrieve device logs */\n postDeviceLogsByServiceName = (serviceName: string): Promise<OverTheBoxTemporaryLogsLink> => {\n return this.ovh.request('POST', `/overTheBox/${serviceName}/device/logs`);\n };\n\n /** Create a group of actions to restore a given backup */\n createDeviceRestoreBackupByServiceName = (\n serviceName: string,\n body: { backupId: string }\n ): Promise<OverTheBoxDeviceAction[]> => {\n return this.ovh.request('POST', `/overTheBox/${serviceName}/device/restoreBackup`, body);\n };\n\n /** Link a device to this service */\n postLinkDeviceByServiceName = (\n serviceName: string,\n body: { deviceId: string }\n ): Promise<void> => {\n return this.ovh.request('POST', `/overTheBox/${serviceName}/linkDevice`, body);\n };\n\n /** Link an available hardware to this service */\n postLinkHardwareByServiceName = (\n serviceName: string,\n body: { hardwareName: string }\n ): Promise<void> => {\n return this.ovh.request('POST', `/overTheBox/${serviceName}/linkHardware`, body);\n };\n\n /** List all available offers one can migrate to */\n listMigrationOffersByServiceName = (\n serviceName: string\n ): Promise<OverTheBoxAvailableMigrationOffer[]> => {\n return this.ovh.request('GET', `/overTheBox/${serviceName}/migration/offers`);\n };\n\n /** List of remote accesses for the service */\n listRemoteAccessesByServiceName = (serviceName: string): Promise<string[]> => {\n return this.ovh.request('GET', `/overTheBox/${serviceName}/remoteAccesses`);\n };\n\n /** Create a new remote access for the service */\n createRemoteAccessesByServiceName = (\n serviceName: string,\n body: { allowedIp?: string; expirationDate?: Date; exposedPort: number; publicKey?: string }\n ): Promise<OverTheBoxRemoteAccess> => {\n return this.ovh.request('POST', `/overTheBox/${serviceName}/remoteAccesses`, body);\n };\n\n /** Delete a remote access */\n deleteRemoteAccessesByServiceNameAndRemoteAccessId = (\n remoteAccessId: string,\n serviceName: string\n ): Promise<void> => {\n return this.ovh.request(\n 'DELETE',\n `/overTheBox/${serviceName}/remoteAccesses/${remoteAccessId}`\n );\n };\n\n /** Get this object properties */\n getRemoteAccessesByServiceNameAndRemoteAccessId = (\n remoteAccessId: string,\n serviceName: string\n ): Promise<OverTheBoxRemoteAccess> => {\n return this.ovh.request('GET', `/overTheBox/${serviceName}/remoteAccesses/${remoteAccessId}`);\n };\n\n /** Authorize the remote access */\n postRemoteAccessesAuthorizeByServiceNameAndRemoteAccessId = (\n remoteAccessId: string,\n serviceName: string\n ): Promise<void> => {\n return this.ovh.request(\n 'POST',\n `/overTheBox/${serviceName}/remoteAccesses/${remoteAccessId}/authorize`\n );\n };\n\n /** Get this object properties */\n getServiceInfosByServiceName = (serviceName: string): Promise<ServicesService> => {\n return this.ovh.request('GET', `/overTheBox/${serviceName}/serviceInfos`);\n };\n\n /** Alter this object properties */\n updateServiceInfosByServiceName = (serviceName: string, body: ServicesService): Promise<void> => {\n return this.ovh.request('PUT', `/overTheBox/${serviceName}/serviceInfos`, body);\n };\n\n /** Get statistics for an OTB device */\n getStatisticsByServiceName = (serviceName: string): Promise<OtbDeviceStatistics[]> => {\n return this.ovh.request('GET', `/overTheBox/${serviceName}/statistics`);\n };\n\n /** List of tasks scheduled for this service */\n listTasksByServiceName = (serviceName: string): Promise<string[]> => {\n return this.ovh.request('GET', `/overTheBox/${serviceName}/tasks`);\n };\n\n /** Get this object properties */\n getTasksByServiceNameAndTaskId = (\n serviceName: string,\n taskId: string\n ): Promise<OverTheBoxTask> => {\n return this.ovh.request('GET', `/overTheBox/${serviceName}/tasks/${taskId}`);\n };\n}\n\nexport { OverTheBoxHandler };\n"],"mappings":"AA8BA,IAAM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