import { RequestOptionsFactory } from '@wix/sdk-types'; /** Creates a location. */ export declare function createLocation(payload: object): RequestOptionsFactory; /** Retrieves a location. */ export declare function getLocation(payload: object): RequestOptionsFactory; /** Retrieves locations, given the specified filters, sorting, and paging. */ export declare function listLocations(payload: object): RequestOptionsFactory; /** * Overrides an existing location. * * * > **Note:** Currently, it isn't possible to partially update a location. Therefore, you'll need to pass the full location object in the body of the call. */ export declare function updateLocation(payload: object): RequestOptionsFactory; /** * Creates a query to retrieve a list of locations. * * * The `queryLocations()` function builds a query to retrieve a list of up to 1,000 locations and returns a `LocationsQueryBuilder` object. * * The returned object contains the query definition which is typically used to run the query using the `find()` function. * * You can refine the query by chaining `LocationsQueryBuilder` functions onto the query. `LocationsQueryBuilder` functions enable you to sort, filter, and control the results that `queryLocations()` returns. The functions that are chained to `queryLocations()` are applied in the order they are called. * * `queryLocations()` runs with the following `LocationsQueryBuilder` defaults that you can override: * - `skip`: `0` * - `limit`: `50` * * The following `QueryLocationsBuilder` functions are supported for the `queryLocations()` function. For a full description of the Locations object, see the object returned for the `items` property in `LocationsQueryResult`. */ export declare function queryLocations(payload: object): RequestOptionsFactory; /** * Sets a new default location. * * * > **Notes:** * > + There can only be one default location per site. * > + The default location can't be archived. */ export declare function setDefaultLocation(payload: object): RequestOptionsFactory; /** * Archives a location. * * * > **Notes:** * > + Changes the `archived` boolean of a location to `true`. * > + You can't change a location's `status` using this endpoint. * > + Archived locations can't be updated. * > + The `default` location can't be archived. */ export declare function archiveLocation(payload: object): RequestOptionsFactory; /** Adds a location type to the specified location. */ export declare function addTypeToLocation(payload: object): RequestOptionsFactory; /** Removes a location type from the specified location. */ export declare function removeTypeFromLocation(payload: object): RequestOptionsFactory; /** * Add location type to a specific location. * * > **Notes:** * > + Add one the location type (UNKNOWN, BRANCH, OFFICES, RECEPTION, HEADQUARTERS, INVENTORY) to a specific location by id. * > + This EP is deprecated - Please use AddTypeFromLocation instead. * @deprecated */ export declare function addLocationType(payload: object): RequestOptionsFactory; /** * Remove location type from a specific location. * * > **Notes:** * > + Remove location type (UNKNOWN, BRANCH, OFFICES, RECEPTION, HEADQUARTERS, INVENTORY) from a specific location by id. * > + This EP is deprecated - Please use RemoveTypeFromLocation instead. * @deprecated */ export declare function removeLocationType(payload: object): RequestOptionsFactory;