import { HttpClient, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { P as Plan, C as CreatePlanOptions, U as UpdatePlan, M as MaskedPlan, B as BulkUpdatePlansOptions, a as BulkUpdatePlansResponse, b as PlansQueryBuilder, c as PlanSearch, S as SearchPlansResponse, d as CountPlansOptions, e as CountPlansResponse, f as UpdateExtendedFieldsOptions, g as UpdateExtendedFieldsResponse } from './pricing-plans-v3-plan-plansv-3.universal-Caq1J-FR.js'; export { a6 as ActionEvent, aE as Aggregation, aF as AggregationKindOneOf, s as AggregationType, an as ApplicationError, A as AppliedAt, y as BillingTerms, z as BillingTermsEndOptionOneOf, ap as BulkActionMetadata, ao as BulkPlanResult, al as BulkUpdatePlansRequest, aS as CountPlansRequest, af as CreatePlanRequest, ag as CreatePlanResponse, ax as CursorPaging, aR as CursorPagingMetadata, aC as CursorSearch, aD as CursorSearchPagingMethodOneOf, aA as Cursors, G as CyclesCompletedDetails, aM as DateHistogramAggregation, ad as Delete, aq as DeletePlanRequest, ar as DeletePlanResponse, a0 as DomainEvent, a1 as DomainEventBodyOneOf, D as Duration, E as EndType, a2 as EntityCreatedEvent, a5 as EntityDeletedEvent, a4 as EntityUpdatedEvent, Q as ExtendedFields, v as Fee, w as FeePriceOptionOneOf, x as FixedAmountOption, F as FlatRate, ah as GetPlanRequest, ai as GetPlanResponse, a8 as IdentificationData, a9 as IdentificationDataIdOneOf, aH as IncludeMissingValuesOptions, I as Interval, am as ItemMetadata, a7 as MessageEnvelope, q as MissingValues, t as Mode, aP as NestedAggregation, aN as NestedAggregationItem, aO as NestedAggregationItemKindOneOf, N as NestedAggregationType, X as Options, Y as OptionsOptionsOneOf, aw as Paging, az as PagingMetadataV2, i as Period, K as Perk, Z as PlanOptions, aV as PlanSearchSpec, aU as PlansQueryResult, h as PriceType, H as PricingStrategy, J as PricingStrategyStrategyOneOf, u as PricingVariant, as as QueryPlansRequest, ay as QueryPlansResponse, at as QueryV2, au as QueryV2PagingMethodOneOf, aK as RangeAggregation, aG as RangeBucket, aa as ReindexMessage, ab as ReindexMessageActionOneOf, a3 as RestoreInfo, aL as ScalarAggregation, r as ScalarType, ae as Schema, aQ as SearchDetails, aB as SearchPlansRequest, p as SortDirection, n as SortOrder, o as SortType, av as Sorting, j as StartType, k as Status, l as TaxableAddress, L as TermsAndConditionsSettings, O as ThankYouPageSettings, T as Type, aT as UpdateExtendedFieldsRequest, aj as UpdatePlanRequest, ak as UpdatePlanResponse, ac as Upsert, R as ValidateOptionsRequest, _ as ValidateOptionsResponse, m as ValidationStrategy, aI as ValueAggregation, aJ as ValueAggregationOptionsOneOf, $ as Violation, V as Visibility, W as WebhookIdentityType } from './pricing-plans-v3-plan-plansv-3.universal-Caq1J-FR.js'; declare function createPlan$1(httpClient: HttpClient): CreatePlanSignature; interface CreatePlanSignature { /** * Creates a plan with specified billing terms and a pricing strategy. * @param - plan to create. * @returns Created plan. */ (plan: Plan, options?: CreatePlanOptions | undefined): Promise; } declare function getPlan$1(httpClient: HttpClient): GetPlanSignature; interface GetPlanSignature { /** * Retrieves a plan by ID. * @param - ID of the plan to retrieve. * @returns Requested plan. */ (planId: string): Promise; } declare function updatePlan$1(httpClient: HttpClient): UpdatePlanSignature; interface UpdatePlanSignature { /** * Updates a single plan. * * To update multiple plans at once, call [Bulk Update Plans](https://dev.wix.com/docs/rest/business-solutions/pricing-plans/pricing-plans/plans-v3/bulk-update-plans). * @param - Plan ID. * @returns Updated plan. */ (_id: string, plan: UpdatePlan): Promise; } declare function bulkUpdatePlans$1(httpClient: HttpClient): BulkUpdatePlansSignature; interface BulkUpdatePlansSignature { /** * Updates multiple plans at once. * * You can't change plan names with this method. * * To update a single plan, call [Update Plan](https://dev.wix.com/docs/rest/business-solutions/pricing-plans/pricing-plans/plans-v3/update-plan). * @param - Plans to update. */ (plans: MaskedPlan[], options?: BulkUpdatePlansOptions | undefined): Promise; } declare function deletePlan$1(httpClient: HttpClient): DeletePlanSignature; interface DeletePlanSignature { /** * Deletes a plan. * @param - ID of the plan to delete. */ (planId: string): Promise; } declare function queryPlans$1(httpClient: HttpClient): QueryPlansSignature; interface QueryPlansSignature { /** * Retrieves a list of plans, given the provided paging, filtering, and sorting. * Query plans runs with these defaults, which you can override: * - `createdDate` is sorted in `ASC` order * - `paging.limit` is `100` * - `paging.offset` is `0` *
* For field support for filters and sorting, see [plans: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-solutions/events/ticket-definition-v3/filter-and-sort). * To learn about working with queries, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language). */ (): PlansQueryBuilder; } declare function searchPlans$1(httpClient: HttpClient): SearchPlansSignature; interface SearchPlansSignature { /** * Retrieves a list of plans that match the provided search query and optionally performs aggregations on the data queried. * * To learn about working with queries, see [Search, Query and List Methods](https://dev.wix.com/docs/rest/articles/get-started/search-query-and-list-methods). * @param - Search options. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details. */ (search: PlanSearch): Promise; } declare function countPlans$1(httpClient: HttpClient): CountPlansSignature; interface CountPlansSignature { /** * Counts plans by the provided filter. * * To learn about working with queries, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language). */ (options?: CountPlansOptions | undefined): Promise; } declare function updateExtendedFields$1(httpClient: HttpClient): UpdateExtendedFieldsSignature; interface UpdateExtendedFieldsSignature { /** * Updates extended fields of a Plan 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: UpdateExtendedFieldsOptions): Promise; } declare const createPlan: MaybeContext & typeof createPlan$1>; declare const getPlan: MaybeContext & typeof getPlan$1>; declare const updatePlan: MaybeContext & typeof updatePlan$1>; declare const bulkUpdatePlans: MaybeContext & typeof bulkUpdatePlans$1>; declare const deletePlan: MaybeContext & typeof deletePlan$1>; declare const queryPlans: MaybeContext & typeof queryPlans$1>; declare const searchPlans: MaybeContext & typeof searchPlans$1>; declare const countPlans: MaybeContext & typeof countPlans$1>; declare const updateExtendedFields: MaybeContext & typeof updateExtendedFields$1>; export { BulkUpdatePlansOptions, BulkUpdatePlansResponse, CountPlansOptions, CountPlansResponse, CreatePlanOptions, MaskedPlan, Plan, PlansQueryBuilder, SearchPlansResponse, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, UpdatePlan, bulkUpdatePlans, countPlans, createPlan, deletePlan, getPlan, queryPlans, searchPlans, updateExtendedFields, updatePlan };