import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { PickupLocation, CreatePickupLocationApplicationErrors, UpdatePickupLocation, AddDeliveryRegionOptions, AddDeliveryRegionResponse, RemoveDeliveryRegionOptions, RemoveDeliveryRegionResponse, BulkCreatePickupLocationResponse, BulkCreatePickupLocationApplicationErrors, BulkUpdatePickupLocationResponse, BulkDeletePickupLocationResponse, PickupLocationsQueryBuilder, PickupLocationQuery, typedQueryPickupLocation } from './index.typings.js'; export { AccountInfo, ActionEvent, AddDeliveryRegionRequest, Address, AddressStreetOneOf, ApplicationError, BulkCreatePickupLocationRequest, BulkDeletePickupLocationRequest, BulkUpdatePickupLocationRequest, CommonQueryWithEntityContext, Condition, ConditionType, ConditionTypeWithLiterals, ConditionalRates, CreatePickupLocationRequest, CreatePickupLocationResponse, CursorPaging, CursorPagingMetadata, Cursors, DeletePickupLocationRequest, DeletePickupLocationResponse, DiffmatokyPayload, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ErrorInformation, GetPickupLocationRequest, GetPickupLocationResponse, IdentificationData, IdentificationDataIdOneOf, LogicalOperator, LogicalOperatorWithLiterals, MessageEnvelope, Paging, PickupLocationError, PickupLocationQuerySpec, PickupLocationsQueryResult, QueryPickupLocationRequest, QueryPickupLocationResponse, QueryV2, QueryV2PagingMethodOneOf, RemoveDeliveryRegionRequest, RestoreInfo, SortOrder, SortOrderWithLiterals, Sorting, StreetAddress, UpdatePickupLocationRequest, UpdatePickupLocationResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js'; declare function createPickupLocation$1(httpClient: HttpClient): CreatePickupLocationSignature; interface CreatePickupLocationSignature { /** * Creates a new PickupLocation * @param - PickupLocation to be created * @returns The created PickupLocation */ (pickupLocation: NonNullablePaths): Promise & { __applicationErrorsType?: CreatePickupLocationApplicationErrors; }>; } declare function getPickupLocation$1(httpClient: HttpClient): GetPickupLocationSignature; interface GetPickupLocationSignature { /** * Get a PickupLocation by id * @param - Id of the PickupLocation to retrieve * @returns The retrieved PickupLocation */ (pickupLocationId: string): Promise>; } declare function updatePickupLocation$1(httpClient: HttpClient): UpdatePickupLocationSignature; interface UpdatePickupLocationSignature { /** * Update a PickupLocation * Delivery regions cannot be updated using this method, use AddDeliveryRegion and RemoveDeliveryRegion instead. * @param - PickupLocation ID * @returns The updated PickupLocation */ (_id: string, pickupLocation: NonNullablePaths): Promise>; } declare function deletePickupLocation$1(httpClient: HttpClient): DeletePickupLocationSignature; interface DeletePickupLocationSignature { /** * Delete a PickupLocation * @param - Id of the PickupLocation to delete */ (pickupLocationId: string): Promise; } declare function addDeliveryRegion$1(httpClient: HttpClient): AddDeliveryRegionSignature; interface AddDeliveryRegionSignature { /** * Add a DeliveryRegion to a PickupLocation * @param - Id of the PickupLocation to add to the delivery region * @param - Id of the DeliveryRegion to add the PickupLocation to */ (pickupLocationId: string, deliveryRegionId: string, options: NonNullablePaths): Promise>; } declare function removeDeliveryRegion$1(httpClient: HttpClient): RemoveDeliveryRegionSignature; interface RemoveDeliveryRegionSignature { /** * Remove a DeliveryRegion from a PickupLocation * @param - Id of the PickupLocation to add to the delivery region * @param - Id of the DeliveryRegion to add the PickupLocation to */ (pickupLocationId: string, deliveryRegionId: string, options: NonNullablePaths): Promise>; } declare function bulkCreatePickupLocation$1(httpClient: HttpClient): BulkCreatePickupLocationSignature; interface BulkCreatePickupLocationSignature { /** * Bulk Create for new PickupLocation */ (pickupLocations: NonNullablePaths[]): Promise & { __applicationErrorsType?: BulkCreatePickupLocationApplicationErrors; }>; } declare function bulkUpdatePickupLocation$1(httpClient: HttpClient): BulkUpdatePickupLocationSignature; interface BulkUpdatePickupLocationSignature { /** * Update a PickupLocation */ (pickupLocations: NonNullablePaths[]): Promise>; } declare function bulkDeletePickupLocation$1(httpClient: HttpClient): BulkDeletePickupLocationSignature; interface BulkDeletePickupLocationSignature { /** * Delete a PickupLocation */ (pickupLocationIds: string[]): Promise>; } declare function customQueryPickupLocation(httpClient: HttpClient): { (): PickupLocationsQueryBuilder; (query: PickupLocationQuery): ReturnType; }; declare const createPickupLocation: MaybeContext & typeof createPickupLocation$1>; declare const getPickupLocation: MaybeContext & typeof getPickupLocation$1>; declare const updatePickupLocation: MaybeContext & typeof updatePickupLocation$1>; declare const deletePickupLocation: MaybeContext & typeof deletePickupLocation$1>; declare const addDeliveryRegion: MaybeContext & typeof addDeliveryRegion$1>; declare const removeDeliveryRegion: MaybeContext & typeof removeDeliveryRegion$1>; declare const bulkCreatePickupLocation: MaybeContext & typeof bulkCreatePickupLocation$1>; declare const bulkUpdatePickupLocation: MaybeContext & typeof bulkUpdatePickupLocation$1>; declare const bulkDeletePickupLocation: MaybeContext & typeof bulkDeletePickupLocation$1>; declare const queryPickupLocation: MaybeContext & typeof customQueryPickupLocation>; export { AddDeliveryRegionOptions, AddDeliveryRegionResponse, BulkCreatePickupLocationApplicationErrors, BulkCreatePickupLocationResponse, BulkDeletePickupLocationResponse, BulkUpdatePickupLocationResponse, CreatePickupLocationApplicationErrors, PickupLocation, PickupLocationQuery, PickupLocationsQueryBuilder, RemoveDeliveryRegionOptions, RemoveDeliveryRegionResponse, UpdatePickupLocation, addDeliveryRegion, bulkCreatePickupLocation, bulkDeletePickupLocation, bulkUpdatePickupLocation, createPickupLocation, deletePickupLocation, getPickupLocation, queryPickupLocation, removeDeliveryRegion, updatePickupLocation };