import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { P as PaymentLink, C as CreatePaymentLinkApplicationErrors, a as CreatePaymentLinkValidationErrors, D as DeletePaymentLinkApplicationErrors, b as PaymentLinkSearch, S as SearchPaymentLinksResponse, c as SearchPaymentLinksValidationErrors, d as DeactivatePaymentLinkResponse, e as DeactivatePaymentLinkApplicationErrors, A as ActivatePaymentLinkResponse, f as ActivatePaymentLinkApplicationErrors, I as InitiatePaymentResponse, g as InitiatePaymentApplicationErrors, h as SendPaymentLinkOptions, i as SendPaymentLinkResponse, j as SendPaymentLinkApplicationErrors, k as SendPaymentLinkValidationErrors, l as SetNoteOptions, m as SetNoteResponse, U as UpdateExtendedFieldsOptions, n as UpdateExtendedFieldsResponse, B as BulkUpdatePaymentLinkTagsOptions, o as BulkUpdatePaymentLinkTagsResponse, p as BulkUpdatePaymentLinkTagsByFilterOptions, q as BulkUpdatePaymentLinkTagsByFilterResponse, r as PaymentLinkCreatedEnvelope, s as PaymentLinkDeletedEnvelope, t as PaymentLinkActivatedEnvelope, u as PaymentLinkDeactivatedEnvelope, v as PaymentLinkNoteSetEnvelope, w as PaymentLinkPaymentInitiatedEnvelope, x as PaymentLinkSentEnvelope, y as PaymentLinkUpdatedEnvelope, z as PaymentLinksQueryBuilder, E as PaymentLinkQuery, F as typedQueryPaymentLinks } from './paymentlinks-v1-payment-link-payment-links.universal-D74W8o6v.js'; export { cI as AccountInfo, cL as AccountInfoMetadata, O as Action, cD as ActionEvent, cZ as ActionWithLiterals, bC as ActivatePaymentLinkRequest, cc as Address, be as AddressLocation, cd as AddressStreetOneOf, bn as Aggregation, bv as AggregationData, bo as AggregationKindOneOf, bz as AggregationResults, bA as AggregationResultsResultOneOf, _ as AggregationType, d6 as AggregationTypeWithLiterals, b1 as ApplicationError, cJ as BaseEventMetadata, b5 as BulkActionMetadata, dj as BulkCreatePaymentLinksApplicationErrors, cM as BulkCreatePaymentLinksOptions, aZ as BulkCreatePaymentLinksRequest, a_ as BulkCreatePaymentLinksResponse, dk as BulkCreatePaymentLinksValidationErrors, cQ as BulkDeactivatePaymentLinksOptions, bV as BulkDeactivatePaymentLinksRequest, bW as BulkDeactivatePaymentLinksResponse, dq as BulkDeactivatePaymentLinksValidationErrors, bX as BulkPaymentLinkDeactivateItemMetadata, bY as BulkPaymentLinkDeactivateResult, a$ as BulkPaymentLinkItemMetadata, b4 as BulkPaymentLinkResult, bT as BulkPaymentLinkSendItemMetadata, bU as BulkPaymentLinkSendResult, bR as BulkSendPaymentLink, dn as BulkSendPaymentLinksApplicationErrors, bQ as BulkSendPaymentLinksRequest, bS as BulkSendPaymentLinksResponse, dp as BulkSendPaymentLinksValidationErrors, c5 as BulkUpdatePaymentLinkTagsByFilterRequest, c3 as BulkUpdatePaymentLinkTagsRequest, c4 as BulkUpdatePaymentLinkTagsResult, bG as CashierOrder, aq as Catalog, af as CatalogOverrideFields, ae as CatalogReference, K as Channel, cW as ChannelWithLiterals, am as Color, bs as CommonCursorPaging, bu as CommonCursors, dr as CommonQueryWithEntityContext, ds as CommonSearchWithEntityContext, W as CommonSortOrder, d2 as CommonSortOrderWithLiterals, bm as CommonSorting, aX as CreatePaymentLinkRequest, aY as CreatePaymentLinkResponse, cn as CreditCardPaymentMethodData, cl as CurrencyAmount, bg as CursorPaging, bi as CursorPagingMetadata, bl as CursorSearch, bj as Cursors, ar as Custom, bB as DeactivatePaymentLinkRequest, aM as DeleteByFilterOperation, aL as DeleteByIdsOperation, b8 as DeletePaymentLinkRequest, b9 as DeletePaymentLinkResponse, ah as DescriptionLine, aj as DescriptionLineDescriptionLineValueOneOf, ak as DescriptionLineName, G as DescriptionLineType, cS as DescriptionLineTypeWithLiterals, ai as DescriptionLineValueOneOf, ao as Dimensions, H as DimensionsUnit, cT as DimensionsUnitWithLiterals, az as DisplayData, cx as DomainEvent, cy as DomainEventBodyOneOf, aB as Ecom, bF as EcomCheckout, bH as EcomOrder, aD as EcomPayWhatYouWant, ax as EcomReference, ay as EcomReferenceValueOneOf, cw as Empty, cz as EntityCreatedEvent, cC as EntityDeletedEvent, cB as EntityUpdatedEvent, cK as EventMetadata, a0 as EventType, d8 as EventTypeWithLiterals, bZ as ExpireOrderRequest, b_ as ExpireOrderResponse, aE as ExtendedFields, b3 as FieldViolation, ch as FullAddressContactDetails, dl as GetCheckoutPayWhatYouWantOptionsApplicationErrors, bI as GetCheckoutPayWhatYouWantOptionsRequest, bJ as GetCheckoutPayWhatYouWantOptionsResponse, b$ as GetOriginalUrlRequest, c0 as GetOriginalUrlResponse, b6 as GetPaymentLinkRequest, b7 as GetPaymentLinkResponse, cG as IdentificationData, cH as IdentificationDataIdOneOf, bD as InitiatePaymentRequest, bE as InitiatePaymentResponsePaymentOrderOneOf, a8 as Initiator, dg as InitiatorWithLiterals, aJ as InternalDocument, aN as InternalDocumentUpdateByFilterOperation, aK as InternalDocumentUpdateOperation, aO as InternalUpdateExistingOperation, b0 as ItemMetadata, ac as LineItem, ad as LineItemOptionsOneOf, L as LineItemType, cV as LineItemTypeWithLiterals, av as Links, cF as MessageEnvelope, $ as Mode, d7 as ModeWithLiterals, aA as Note, c9 as Order, cb as OrderAdditionalCharges, ca as OrderItem, a1 as OrderItemCategory, d9 as OrderItemCategoryWithLiterals, bf as Paging, bt as PagingMetadataV2, Q as PayLinkType, c_ as PayLinkTypeWithLiterals, bK as PayWhatYouWantOptions, c6 as PaymentEvent, c7 as PaymentEventEventOneOf, aS as PaymentLinkActivated, aT as PaymentLinkDeactivated, aC as PaymentLinkEcomOrder, aW as PaymentLinkNoteSet, aU as PaymentLinkPaymentInitiated, cO as PaymentLinkQuerySpec, cP as PaymentLinkSearchSpec, aV as PaymentLinkSent, N as PaymentLinkStatus, cY as PaymentLinkStatusWithLiterals, ab as PaymentLinkTypeDetailsOneOf, cN as PaymentLinksQueryResult, ap as PaymentOption, J as PaymentOptionType, cU as PaymentOptionTypeWithLiterals, an as PhysicalProperties, al as PlainTextValue, a9 as ProcessingResult, dh as ProcessingResultWithLiterals, ag as ProductName, ba as QueryPaymentLinksRequest, bh as QueryPaymentLinksResponse, bb as QueryV2, bc as QueryV2PagingMethodOneOf, as as Recipient, bO as RecipientSendStatus, ct as RecurringPaymentCancellationDetails, cm as RecurringPaymentDetails, cs as RecurringPaymentStatusChangedEvent, cr as Refund, a6 as RefundStatus, cq as RefundStatusChangedEvent, de as RefundStatusWithLiterals, cA as RestoreInfo, R as RuleType, d0 as RuleTypeWithLiterals, bq as ScalarAggregation, by as ScalarResult, Z as ScalarType, d5 as ScalarTypeWithLiterals, cp as ScheduledAction, a5 as ScheduledActionType, dd as ScheduledActionTypeWithLiterals, br as SearchDetails, bk as SearchPaymentLinksRequest, cE as SearchServicesProcessingNotification, bP as SendMetadata, M as SendMethod, cX as SendMethodWithLiterals, bN as SendPaymentLinkRequest, c1 as SetNoteRequest, Y as SortDirection, d4 as SortDirectionWithLiterals, T as SortOrder, d1 as SortOrderWithLiterals, X as SortType, d3 as SortTypeWithLiterals, bd as Sorting, aw as Source, cg as StandardDetails, a7 as Status, df as StatusWithLiterals, ce as StreetAddress, cf as Subdivision, a2 as SubdivisionType, da as SubdivisionTypeWithLiterals, aG as TagList, aF as Tags, au as TotalReceived, at as Totals, cj as Transaction, cv as TransactionCreatedEvent, ck as TransactionPaymentMethodDataOneOf, a4 as TransactionStatus, c8 as TransactionStatusChangedEvent, dc as TransactionStatusWithLiterals, cu as TransactionUpdatedEvent, dm as UpdateCheckoutItemPriceApplicationErrors, bL as UpdateCheckoutItemPriceRequest, bM as UpdateCheckoutItemPriceResponse, c2 as UpdateExtendedFieldsRequest, aH as UpdateInternalDocumentsEvent, aI as UpdateInternalDocumentsEventOperationOneOf, co as V3AccountInfo, b2 as ValidationError, bp as ValueAggregation, bw as ValueAggregationResult, bx as ValueResults, ci as VatId, a3 as VatType, db as VatTypeWithLiterals, aQ as VersionedDeleteByIdsOperation, aR as VersionedDocumentId, aP as VersionedDocumentUpdateOperation, V as VersioningMode, c$ as VersioningModeWithLiterals, aa as WebhookIdentityType, di as WebhookIdentityTypeWithLiterals, cR as utils } from './paymentlinks-v1-payment-link-payment-links.universal-D74W8o6v.js'; declare function createPaymentLink$1(httpClient: HttpClient): CreatePaymentLinkSignature; interface CreatePaymentLinkSignature { /** * Creates a new payment link. * * The site must be set up to accept payments. * @param - Payment link to create. * @returns Created payment link. */ (paymentLink: NonNullablePaths): Promise & { __applicationErrorsType?: CreatePaymentLinkApplicationErrors; __validationErrorsType?: CreatePaymentLinkValidationErrors; }>; } declare function getPaymentLink$1(httpClient: HttpClient): GetPaymentLinkSignature; interface GetPaymentLinkSignature { /** * Retrieves a payment link. * @param - ID of the payment link to retrieve. * @returns Retrieved payment link. */ (paymentLinkId: string): Promise>; } declare function deletePaymentLink$1(httpClient: HttpClient): DeletePaymentLinkSignature; interface DeletePaymentLinkSignature { /** * Deletes a payment link. * @param - ID of the payment link to delete. */ (paymentLinkId: string): Promise; } declare function searchPaymentLinks$1(httpClient: HttpClient): SearchPaymentLinksSignature; interface SearchPaymentLinksSignature { /** * Retrieves a list of up to 100 payment links, given the specified filtering, search expression, sorting, and cursor paging ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/api/rest/getting-started/api-query-language)). * @param - Search options. */ (search: PaymentLinkSearch): Promise & { __validationErrorsType?: SearchPaymentLinksValidationErrors; }>; } declare function deactivatePaymentLink$1(httpClient: HttpClient): DeactivatePaymentLinkSignature; interface DeactivatePaymentLinkSignature { /** * Changes the status of the specified payment link to `INACTIVE`. * * * To deactivate multiple payment links in a single API call, call [Bulk Deactivate Payment Links](https://dev.wix.com/docs/api-reference/business-management/get-paid/payment-links/payment-links/bulk-deactivate-payment-links). * @param - ID of the payment link to deactivate. */ (paymentLinkId: string): Promise & { __applicationErrorsType?: DeactivatePaymentLinkApplicationErrors; }>; } declare function activatePaymentLink$1(httpClient: HttpClient): ActivatePaymentLinkSignature; interface ActivatePaymentLinkSignature { /** * Changes the status of the specified payment link to `ACTIVE`. * @param - ID of the payment link to activate. */ (paymentLinkId: string): Promise & { __applicationErrorsType?: ActivatePaymentLinkApplicationErrors; }>; } declare function initiatePayment$1(httpClient: HttpClient): InitiatePaymentSignature; interface InitiatePaymentSignature { /** * Initiates payment for a payment link by creating a Wix eCommerce checkout. * Intended for use by Wix users to create a Wix eCommerce checkout directly without opening a payment link. * Initiating a payment will fail if successful payment will take the payment link over it's payment limit. * @param - ID of the payment link to initiate payment for. */ (paymentLinkId: string): Promise & { __applicationErrorsType?: InitiatePaymentApplicationErrors; }>; } declare function sendPaymentLink$1(httpClient: HttpClient): SendPaymentLinkSignature; interface SendPaymentLinkSignature { /** * Sends a payment link to up to 50 specified recipients. * @param - Payment link ID. * @param - Field options. */ (paymentLinkId: string, options?: SendPaymentLinkOptions): Promise & { __applicationErrorsType?: SendPaymentLinkApplicationErrors; __validationErrorsType?: SendPaymentLinkValidationErrors; }>; } declare function setNote$1(httpClient: HttpClient): SetNoteSignature; interface SetNoteSignature { /** * Sets a free text note for the payment link. * @param - Payment link ID. * @param - Field options. */ (paymentLinkId: string, options?: SetNoteOptions): Promise>; } declare function updateExtendedFields$1(httpClient: HttpClient): UpdateExtendedFieldsSignature; interface UpdateExtendedFieldsSignature { /** * Updates extended fields of a payment link without incrementing revision. * @param - ID of the entity to update. * @param - Identifier for the app whose extended fields are being updated. * @param - Field options. The `namespaceData` object **must** be passed. */ (_id: string, namespace: string, options: NonNullablePaths): Promise>; } declare function bulkUpdatePaymentLinkTags$1(httpClient: HttpClient): BulkUpdatePaymentLinkTagsSignature; interface BulkUpdatePaymentLinkTagsSignature { /** * Updates tags on multiple payment links. * A tag that is specified both in the list of assign and unassign tags, will be unassigned. * To only unassign tags, pass an empty `assignTags` object. * @param - Payment Link IDs to update. * @param - Field options. The `assignTags` object **must** be passed. */ (ids: string[], options?: NonNullablePaths): Promise>; } declare function bulkUpdatePaymentLinkTagsByFilter$1(httpClient: HttpClient): BulkUpdatePaymentLinkTagsByFilterSignature; interface BulkUpdatePaymentLinkTagsByFilterSignature { /** * Updates tags on multiple payment links, by the specified filter. Works asynchronously, and returns a job ID. * * An empty filter will update all payment links. * * A tag that is specified both in the list of assign and unassign tags, will be unassigned. * * Specify the returned `jobId` in Get Async Job ([SDK](https://dev.wix.com/docs/sdk/backend-modules/async-jobs/get-async-job) | [REST](https://dev.wix.com/docs/rest/business-management/async-job/get-async-job)) to track the job's status. * @param - Filter options. * @param - Field options. The `assignTags` object **must** be passed. */ (filter: Record, options?: NonNullablePaths): Promise>; } declare const onPaymentLinkCreated$1: EventDefinition; declare const onPaymentLinkDeleted$1: EventDefinition; declare const onPaymentLinkActivated$1: EventDefinition; declare const onPaymentLinkDeactivated$1: EventDefinition; declare const onPaymentLinkNoteSet$1: EventDefinition; declare const onPaymentLinkPaymentInitiated$1: EventDefinition; declare const onPaymentLinkSent$1: EventDefinition; declare const onPaymentLinkUpdated$1: EventDefinition; declare function customQueryPaymentLinks(httpClient: HttpClient): { (): PaymentLinksQueryBuilder; (query: PaymentLinkQuery): ReturnType; }; declare const createPaymentLink: MaybeContext & typeof createPaymentLink$1>; declare const getPaymentLink: MaybeContext & typeof getPaymentLink$1>; declare const deletePaymentLink: MaybeContext & typeof deletePaymentLink$1>; declare const searchPaymentLinks: MaybeContext & typeof searchPaymentLinks$1>; declare const deactivatePaymentLink: MaybeContext & typeof deactivatePaymentLink$1>; declare const activatePaymentLink: MaybeContext & typeof activatePaymentLink$1>; declare const initiatePayment: MaybeContext & typeof initiatePayment$1>; declare const sendPaymentLink: MaybeContext & typeof sendPaymentLink$1>; declare const setNote: MaybeContext & typeof setNote$1>; declare const updateExtendedFields: MaybeContext & typeof updateExtendedFields$1>; declare const bulkUpdatePaymentLinkTags: MaybeContext & typeof bulkUpdatePaymentLinkTags$1>; declare const bulkUpdatePaymentLinkTagsByFilter: MaybeContext & typeof bulkUpdatePaymentLinkTagsByFilter$1>; declare const queryPaymentLinks: MaybeContext & typeof customQueryPaymentLinks>; /** * Triggered when a payment link is created. */ declare const onPaymentLinkCreated: BuildEventDefinition & typeof onPaymentLinkCreated$1; /** * Triggered when a payment link is deleted. */ declare const onPaymentLinkDeleted: BuildEventDefinition & typeof onPaymentLinkDeleted$1; /** * Triggered when a payment link is activated. */ declare const onPaymentLinkActivated: BuildEventDefinition & typeof onPaymentLinkActivated$1; /** * Triggered when a payment link is deactivated. */ declare const onPaymentLinkDeactivated: BuildEventDefinition & typeof onPaymentLinkDeactivated$1; /** * Triggered when a note is added or updated to a payment link. */ declare const onPaymentLinkNoteSet: BuildEventDefinition & typeof onPaymentLinkNoteSet$1; /** * Triggered when a payment link payment is initiated. */ declare const onPaymentLinkPaymentInitiated: BuildEventDefinition & typeof onPaymentLinkPaymentInitiated$1; /** * Triggered when a payment link is sent. */ declare const onPaymentLinkSent: BuildEventDefinition & typeof onPaymentLinkSent$1; /** * Triggered when a payment link is updated. */ declare const onPaymentLinkUpdated: BuildEventDefinition & typeof onPaymentLinkUpdated$1; export { ActivatePaymentLinkApplicationErrors, ActivatePaymentLinkResponse, BulkUpdatePaymentLinkTagsByFilterOptions, BulkUpdatePaymentLinkTagsByFilterResponse, BulkUpdatePaymentLinkTagsOptions, BulkUpdatePaymentLinkTagsResponse, CreatePaymentLinkApplicationErrors, CreatePaymentLinkValidationErrors, DeactivatePaymentLinkApplicationErrors, DeactivatePaymentLinkResponse, DeletePaymentLinkApplicationErrors, InitiatePaymentApplicationErrors, InitiatePaymentResponse, PaymentLink, PaymentLinkActivatedEnvelope, PaymentLinkCreatedEnvelope, PaymentLinkDeactivatedEnvelope, PaymentLinkDeletedEnvelope, PaymentLinkNoteSetEnvelope, PaymentLinkPaymentInitiatedEnvelope, PaymentLinkQuery, PaymentLinkSearch, PaymentLinkSentEnvelope, PaymentLinkUpdatedEnvelope, PaymentLinksQueryBuilder, SearchPaymentLinksResponse, SearchPaymentLinksValidationErrors, SendPaymentLinkApplicationErrors, SendPaymentLinkOptions, SendPaymentLinkResponse, SendPaymentLinkValidationErrors, SetNoteOptions, SetNoteResponse, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, activatePaymentLink, bulkUpdatePaymentLinkTags, bulkUpdatePaymentLinkTagsByFilter, createPaymentLink, deactivatePaymentLink, deletePaymentLink, getPaymentLink, initiatePayment, onPaymentLinkActivated, onPaymentLinkCreated, onPaymentLinkDeactivated, onPaymentLinkDeleted, onPaymentLinkNoteSet, onPaymentLinkPaymentInitiated, onPaymentLinkSent, onPaymentLinkUpdated, queryPaymentLinks, searchPaymentLinks, sendPaymentLink, setNote, updateExtendedFields };