import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { ShippoConfiguration, CreateShippoConfigurationOptions, UpdateShippoConfiguration, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, AddDeliveryRegionOptions, AddDeliveryRegionResponse, RemoveDeliveryRegionIdentifiers, RemoveDeliveryRegionOptions, RemoveDeliveryRegionResponse, ShippoConfigurationCreatedEnvelope, ShippoConfigurationDeletedEnvelope, ShippoConfigurationUpdatedEnvelope, ShippoConfigurationsQueryBuilder, ShippoConfigurationQuery, typedQueryShippoConfigurations } from './index.typings.js'; export { AccountInfo, AccountInfoMetadata, ActionEvent, AddDeliveryRegionRequest, Address, AddressLocation, BaseEventMetadata, CalculationType, CalculationTypeWithLiterals, CommonQueryWithEntityContext, CreateShippoConfigurationRequest, CreateShippoConfigurationResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteShippoConfigurationRequest, DeleteShippoConfigurationResponse, DomainEvent, DomainEventBodyOneOf, DomesticService, DomesticServiceSettings, DomesticServiceWithLiterals, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, GetShippoConfigurationRequest, GetShippoConfigurationResponse, HandlingFee, IdentificationData, IdentificationDataIdOneOf, InternationalService, InternationalServiceSettings, InternationalServiceWithLiterals, MessageEnvelope, PackageDetails, PackageDimensions, PackageType, PackageTypeWithLiterals, QueryShippoConfigurationsRequest, QueryShippoConfigurationsResponse, RemoveDeliveryRegionRequest, RestoreInfo, ServiceSettings, ShippoConfigurationQuerySpec, ShippoConfigurationsQueryResult, SortOrder, SortOrderWithLiterals, Sorting, StreetAddress, UpdateExtendedFieldsRequest, UpdateShippoConfigurationRequest, UpdateShippoConfigurationResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js'; declare function createShippoConfiguration$1(httpClient: HttpClient): CreateShippoConfigurationSignature; interface CreateShippoConfigurationSignature { /** * Creates a ShippoConfiguration. * @param - ShippoConfiguration to be created. * @returns The created ShippoConfiguration. */ (shippoConfiguration: NonNullablePaths, options?: CreateShippoConfigurationOptions): Promise>; } declare function getShippoConfiguration$1(httpClient: HttpClient): GetShippoConfigurationSignature; interface GetShippoConfigurationSignature { /** * Retrieves a ShippoConfiguration. * @param - ID of the ShippoConfiguration to retrieve. * @returns The requested ShippoConfiguration. */ (shippoConfigurationId: string): Promise>; } declare function updateShippoConfiguration$1(httpClient: HttpClient): UpdateShippoConfigurationSignature; interface UpdateShippoConfigurationSignature { /** * Updates a ShippoConfiguration. * @param - ShippoConfiguration ID. * @returns Updated ShippoConfiguration. */ (_id: string, shippoConfiguration: NonNullablePaths): Promise>; } declare function deleteShippoConfiguration$1(httpClient: HttpClient): DeleteShippoConfigurationSignature; interface DeleteShippoConfigurationSignature { /** * Deletes a ShippoConfiguration. * @param - ID of the ShippoConfiguration to delete. */ (shippoConfigurationId: string): Promise; } declare function updateExtendedFields$1(httpClient: HttpClient): UpdateExtendedFieldsSignature; interface UpdateExtendedFieldsSignature { /** * Updates extended fields of a ShippoConfiguration without incrementing revision * @param - ID of the entity to update. * @param - Identifier for the app whose extended fields are being updated. */ (_id: string, namespace: string, options: NonNullablePaths): Promise>; } declare function addDeliveryRegion$1(httpClient: HttpClient): AddDeliveryRegionSignature; interface AddDeliveryRegionSignature { /** * Adds a delivery region to a Shippo configuration. * @param - ID of the ShippoConfiguration to add the delivery region to. * @param - ID of the delivery region to add. */ (shippoConfigurationId: string, deliveryRegionId: string, options?: AddDeliveryRegionOptions): Promise>; } declare function removeDeliveryRegion$1(httpClient: HttpClient): RemoveDeliveryRegionSignature; interface RemoveDeliveryRegionSignature { /** * Removes a delivery region from a Shippo configuration. * When passing the ID of the only existing delivery region, removing it will delete the Shippo configuration. */ (identifiers: NonNullablePaths, options?: RemoveDeliveryRegionOptions): Promise>; } declare const onShippoConfigurationCreated$1: EventDefinition; declare const onShippoConfigurationDeleted$1: EventDefinition; declare const onShippoConfigurationUpdated$1: EventDefinition; declare function customQueryShippoConfigurations(httpClient: HttpClient): { (): ShippoConfigurationsQueryBuilder; (query: ShippoConfigurationQuery): ReturnType; }; declare const createShippoConfiguration: MaybeContext & typeof createShippoConfiguration$1>; declare const getShippoConfiguration: MaybeContext & typeof getShippoConfiguration$1>; declare const updateShippoConfiguration: MaybeContext & typeof updateShippoConfiguration$1>; declare const deleteShippoConfiguration: MaybeContext & typeof deleteShippoConfiguration$1>; declare const updateExtendedFields: MaybeContext & typeof updateExtendedFields$1>; declare const addDeliveryRegion: MaybeContext & typeof addDeliveryRegion$1>; declare const removeDeliveryRegion: MaybeContext & typeof removeDeliveryRegion$1>; declare const queryShippoConfigurations: MaybeContext & typeof customQueryShippoConfigurations>; /** * Triggered when a shipping option is created. */ declare const onShippoConfigurationCreated: BuildEventDefinition & typeof onShippoConfigurationCreated$1; /** * Triggered when a shipping option is deleted. */ declare const onShippoConfigurationDeleted: BuildEventDefinition & typeof onShippoConfigurationDeleted$1; /** * Triggered when a shipping option is updated. */ declare const onShippoConfigurationUpdated: BuildEventDefinition & typeof onShippoConfigurationUpdated$1; export { AddDeliveryRegionOptions, AddDeliveryRegionResponse, CreateShippoConfigurationOptions, RemoveDeliveryRegionIdentifiers, RemoveDeliveryRegionOptions, RemoveDeliveryRegionResponse, ShippoConfiguration, ShippoConfigurationCreatedEnvelope, ShippoConfigurationDeletedEnvelope, ShippoConfigurationQuery, ShippoConfigurationUpdatedEnvelope, ShippoConfigurationsQueryBuilder, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, UpdateShippoConfiguration, addDeliveryRegion, createShippoConfiguration, deleteShippoConfiguration, getShippoConfiguration, onShippoConfigurationCreated, onShippoConfigurationDeleted, onShippoConfigurationUpdated, queryShippoConfigurations, removeDeliveryRegion, updateExtendedFields, updateShippoConfiguration };