<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 1999-2022. Plesk International GmbH. All rights reserved. -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:include schemaLocation="plesk_client.xsd"/>
	<xs:complexType name="clientSelectionFilterType">
		<xs:annotation>
			<xs:documentation>Fliter clients list</xs:documentation>
		</xs:annotation>
		<xs:choice>
			<xs:element name="id" type="id_type" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Client ID</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="login" type="string" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Client name</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="owner-id" type="int" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation> Owner id </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="owner-login" type="string" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation> Reseller login </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="guid" type="string" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation> Clients GUID </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="external-id" type="string" minOccurs="0" maxOccurs="unbounded"/>
		</xs:choice>
	</xs:complexType>
	<xs:complexType name="ClientTypeRequest">
		<xs:choice maxOccurs="unbounded">
			<xs:element name="add">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="gen_info" type="clientAddGenInfo"/>
						<xs:element name="add-packages-to-customer-pool" minOccurs="0">
							<xs:complexType>
								<xs:sequence>
									<xs:element name="package_id" type="xs:int" maxOccurs="unbounded"/>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="get">
				<xs:annotation>
					<xs:documentation>Get clients data from server</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="filter" type="clientSelectionFilterType">
							<xs:annotation>
								<xs:documentation>Filter clients to be refreshed</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="dataset" type="clientDatasetType">
							<xs:annotation>
								<xs:documentation>Client information to be updated</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="del">
				<xs:annotation>
					<xs:documentation>Delete client(s) from server</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="filter" type="clientSelectionFilterType">
							<xs:annotation>
								<xs:documentation>Fliter clients to be deleted</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="set">
				<xs:annotation>
					<xs:documentation>Set client properties</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="filter" type="clientSelectionFilterType">
							<xs:annotation>
								<xs:documentation>Filter clients to be refreshed</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="values">
							<xs:complexType>
								<xs:sequence>
									<xs:element name="gen_info" type="clientSetGenInfo" minOccurs="0">
										<xs:annotation>
											<xs:documentation>client client info</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="cform_buttons_list">
				<xs:annotation>
					<xs:documentation>List client control form buttons</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="filter" type="clientSelectionFilterType">
							<xs:annotation>
								<xs:documentation>Fliter clients to be listed</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="set-billing-info">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="filter" type="clientSelectionFilterType"/>
						<xs:element name="values">
							<xs:complexType>
								<xs:sequence>
									<xs:element name="income" type="clientPriceInput" minOccurs="0"/>
									<xs:element name="invoices-due" type="clientPriceInput" minOccurs="0"/>
									<xs:element name="invoices-paid" type="clientPriceInput" minOccurs="0"/>
									<xs:element name="invoices-refunded" type="clientPriceInput" minOccurs="0"/>
									<xs:element name="credit-balance" type="clientPriceInput" minOccurs="0"/>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="convert-to-reseller">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="filter" type="clientSelectionFilterType">
							<xs:annotation>
								<xs:documentation>Fliter resellers/clients</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:choice>
	</xs:complexType>
	<xs:complexType name="clientPriceInput">
		<xs:sequence>
			<xs:element name="value" type="priceInput" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
</xs:schema>
