import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { G as GetPageOptions, a as GetPageResponse, b as GetSitemapOptions, c as GetSitemapResponse, d as GetSitemapCountOptions, e as GetSitemapCountResponse, P as Program, D as DuplicateProgramResponse, U as UpdateProgram, f as UpdateProgramApplicationErrors, g as ProgramSearch, S as SearchProgramsResponse, h as PublishProgramResponse, i as PublishProgramApplicationErrors, E as EndProgramResponse, A as ArchiveProgramResponse, j as EnableProgramFreemiumResponse, k as EnableProgramFreemiumApplicationErrors, l as DisableProgramFreemiumResponse, M as MaskedProgram, B as BulkUpdateProgramsOptions, m as BulkUpdateProgramsResponse, C as CountProgramsOptions, n as CountProgramsResponse, L as ListSampleProgramsResponse, o as ProgramCreatedEnvelope, p as ProgramDeletedEnvelope, q as ProgramArchivedEnvelope, r as ProgramDuplicatedEnvelope, s as ProgramEndedEnvelope, t as ProgramPublishedEnvelope, u as ProgramUpdatedEnvelope, v as ProgramsQueryBuilder, w as ProgramQuery, x as typedQueryPrograms } from './online-programs-v3-program-programs.universal-TGUT5hju.js'; export { z as AccessType, dm as AccessTypeWithLiterals, aJ as AccountInfo, dg as AccountInfoMetadata, aF as ActionEvent, d5 as Address, d6 as AddressHint, bH as Aggregation, bX as AggregationData, bI as AggregationKindOneOf, ce as AggregationResults, cf as AggregationResultsResultOneOf, c2 as AggregationResultsScalarResult, V as AggregationType, dz as AggregationTypeWithLiterals, aW as App, bd as ApplicationError, ci as ArchiveProgramRequest, cw as Asset, de as BaseEventMetadata, be as BulkActionMetadata, H as BulkActionType, dr as BulkActionTypeWithLiterals, b8 as BulkCreateProgramsMigrationRequest, ba as BulkCreateProgramsMigrationResponse, bb as BulkProgramResult, cm as BulkUpdateProgramResult, cl as BulkUpdateProgramsRequest, d8 as BusinessSchedule, d3 as Categories, ah as Certificate, dJ as CommonQueryWithEntityContext, dK as CommonSearchWithEntityContext, dd as ConsentPolicy, ak as ContentSummary, cn as CountProgramsRequest, b6 as CreateProgramRequest, b7 as CreateProgramResponse, bA as CursorPaging, bW as CursorPagingMetadata, bF as CursorSearch, bG as CursorSearchPagingMethodOneOf, bD as Cursors, a_ as CustomTag, bP as DateHistogramAggregation, ca as DateHistogramResult, cc as DateHistogramResults, a2 as DayOfWeek, dH as DayOfWeekWithLiterals, b4 as Delete, bf as DeleteAllProgramsMigrationRequest, bg as DeleteAllProgramsMigrationResponse, aR as DeleteByFilterOperation, aQ as DeleteByIdsOperation, cA as DeleteContext, bt as DeleteProgramRequest, bu as DeleteProgramResponse, $ as DeleteStatus, dE as DeleteStatusWithLiterals, a4 as Description, a5 as DescriptionMediaOneOf, ck as DisableProgramFreemiumRequest, aP as DocumentImage, aO as DocumentPayload, aM as DocumentUpdateOperation, az as DomainEvent, aA as DomainEventBodyOneOf, bj as DuplicateProgramRequest, br as DuplicatedSlugErrorDetails, cZ as EditorlessAssigned, c_ as EditorlessUnassigned, cq as Empty, cj as EnableProgramFreemiumRequest, ch as EndProgramRequest, aB as EntityCreatedEvent, aE as EntityDeletedEvent, aD as EntityUpdatedEvent, F as Enum, dq as EnumWithLiterals, df as EventMetadata, ai as ExtendedFields, aZ as File, a6 as FocalPoint, al as FreemiumSettings, d7 as GeoCoordinates, as as GetPageRequest, bk as GetProgramRequest, bl as GetProgramResponse, ay as GetSitemapCountRequest, ax as GetSitemapRequest, bT as GroupByAggregation, bU as GroupByAggregationKindOneOf, cb as GroupByValueResults, aH as IdentificationData, aI as IdentificationDataIdOneOf, bK as IncludeMissingValuesOptions, aN as IndexDocument, R as Interval, dy as IntervalWithLiterals, aU as InvalidateCache, aV as InvalidateCacheGetByOneOf, bc as ItemMetadata, ad as Keyword, cp as LabeledProgram, co as ListSampleProgramsRequest, d4 as Locale, aG as MessageEnvelope, cu as MetaSiteSpecialEvent, cv as MetaSiteSpecialEventPayloadOneOf, ct as MissingMetasiteIdErrorDetails, N as MissingValues, dv as MissingValuesWithLiterals, X as Mode, dA as ModeWithLiterals, aa as Money, db as Multilingual, _ as Namespace, cK as NamespaceChanged, dD as NamespaceWithLiterals, bS as NestedAggregation, bQ as NestedAggregationItem, bR as NestedAggregationItemKindOneOf, b_ as NestedAggregationResults, b$ as NestedAggregationResultsResultOneOf, Q as NestedAggregationType, dx as NestedAggregationTypeWithLiterals, c7 as NestedResultValue, c8 as NestedResultValueResultOneOf, cd as NestedResults, c3 as NestedValueAggregationResult, cP as OdeditorAssigned, cQ as OdeditorUnassigned, aX as Page, a$ as Pages, bz as Paging, bC as PagingMetadataV2, cR as PicassoAssigned, cS as PicassoUnassigned, a1 as PlacementType, dG as PlacementTypeWithLiterals, ao as ProgramArchived, ap as ProgramDuplicated, an as ProgramEnded, ar as ProgramFreemiumDisabled, aq as ProgramFreemiumEnabled, b9 as ProgramMigration, am as ProgramPublished, di as ProgramQuerySpec, av as ProgramRouterData, aw as ProgramRouterDataSelectionOneOf, au as ProgramRouterPageResult, at as ProgramRouterPageRole, dj as ProgramSearchSpec, dh as ProgramsQueryResult, d2 as Properties, cg as PublishProgramRequest, bv as QueryProgramsRequest, bB as QueryProgramsResponse, bw as QueryV2, bx as QueryV2PagingMethodOneOf, bN as RangeAggregation, bZ as RangeAggregationResult, bJ as RangeBucket, c5 as RangeResult, c1 as RangeResults, b1 as ReindexMessage, b2 as ReindexMessageActionOneOf, a3 as ResolutionMethod, dI as ResolutionMethodWithLiterals, cr as ResolveProgramSlugRequest, cs as ResolveProgramSlugResponse, aC as RestoreInfo, bh as RestoreProgramFromTrashRequest, bi as RestoreProgramFromTrashResponse, a9 as Restrictions, c9 as Results, ag as Reward, bO as ScalarAggregation, c6 as ScalarResult, O as ScalarType, dw as ScalarTypeWithLiterals, b5 as Schema, bV as SearchDetails, c$ as SearchIndexingNotification, a0 as SearchIndexingNotificationState, dF as SearchIndexingNotificationStateWithLiterals, bE as SearchProgramsRequest, ab as Seo, ac as SeoSchema, cG as ServiceProvisioned, cH as ServiceRemoved, af as Settings, cx as SiteCreated, Z as SiteCreatedContext, dC as SiteCreatedContextWithLiterals, cz as SiteDeleted, cJ as SiteHardDeleted, cE as SiteMarkedAsTemplate, cF as SiteMarkedAsWixSite, d1 as SitePropertiesEvent, d0 as SitePropertiesUpdated, cC as SitePublished, cO as SitePurgedExternally, cI as SiteRenamed, cy as SiteTransferred, cB as SiteUndeleted, cD as SiteUnpublished, cN as SiteUrlChanged, K as SortDirection, du as SortDirectionWithLiterals, I as SortOrder, ds as SortOrderWithLiterals, J as SortType, dt as SortTypeWithLiterals, by as Sorting, da as SpecialHourPeriod, Y as State, dB as StateWithLiterals, y as Status, dl as StatusWithLiterals, cL as StudioAssigned, cV as StudioTwoAssigned, cW as StudioTwoUnassigned, cM as StudioUnassigned, dc as SupportedLanguage, ae as Tag, d9 as TimePeriod, a8 as Timeline, bs as TimelineSwitchForbiddenErrorDetails, T as Trigger, dn as TriggerWithLiterals, aY as URI, b0 as URIs, aS as UpdateByFilterOperation, aK as UpdateDocumentsEvent, aL as UpdateDocumentsEventOperationOneOf, aT as UpdateExistingOperation, bm as UpdateProgramRequest, bn as UpdateProgramResponse, b3 as Upsert, cY as UserDomainMediaDisabled, cX as UserDomainMediaEnabled, bL as ValueAggregation, bM as ValueAggregationOptionsOneOf, bY as ValueAggregationResult, c4 as ValueResult, c0 as ValueResults, a7 as VideoResolution, aj as VideoStepsSettings, W as WebhookIdentityType, dp as WebhookIdentityTypeWithLiterals, cT as WixelAssigned, cU as WixelUnassigned, bq as WrongParticipantsNumberErrorDetails, bp as WrongStartDateErrorDetails, bo as WrongStateErrorDetails, dk as utils } from './online-programs-v3-program-programs.universal-TGUT5hju.js'; declare function getPage$1(httpClient: HttpClient): GetPageSignature; interface GetPageSignature { /** * Resolves an encoded program route to a connected Builder page. */ (options?: GetPageOptions): Promise>; } declare function getSitemap$1(httpClient: HttpClient): GetSitemapSignature; interface GetSitemapSignature { /** * Lists connected Builder routes for editor navigation, not crawler indexing. */ (options?: GetSitemapOptions): Promise; } declare function getSitemapCount$1(httpClient: HttpClient): GetSitemapCountSignature; interface GetSitemapCountSignature { /** * Counts editor navigation entries using the same visibility policy as sitemap. * NOT-PRECEDENT: `/sitemapCount` is required by the App Router contract: * https://github.com/wix-private/editor-platform/blob/master/packages/platform-editor-sdk/docs/articles/routers.md#sitemap-count-request */ (options?: GetSitemapCountOptions): Promise; } declare function createProgram$1(httpClient: HttpClient): CreateProgramSignature; interface CreateProgramSignature { /** * Creates a draft program. * * The service sets the program ID, revision, creation dates, owner, and initial * `DRAFT` status. Publish the program when it's ready to be visible * according to its access restrictions. * @param - Program to create. Server-generated fields such as `id`, `revision`, status, dates, owner, and content summary are ignored on create. * @returns Created draft program. */ (program: Program): Promise>; } declare function duplicateProgram$1(httpClient: HttpClient): DuplicateProgramSignature; interface DuplicateProgramSignature { /** * Duplicates a program as a new draft. * * The duplicated program gets a new ID and owner, starts in `DRAFT` status, * keeps category assignments and translation content, resets the SEO slug to * the duplicated program ID, clears the connected social group, and doesn't * copy section or step references. * @param - ID of the program to duplicate. */ (programId: string): Promise>; } declare function getProgram$1(httpClient: HttpClient): GetProgramSignature; interface GetProgramSignature { /** * Retrieves a program by ID. * * Visibility depends on caller identity and program access settings. Public * callers can retrieve published and ended non-secret programs. Site members * can retrieve secret programs only when they participate in them. Trusted apps * and services can retrieve management views. * @param - ID of the program to retrieve. * @returns Requested program. */ (programId: string): Promise>; } declare function updateProgram$1(httpClient: HttpClient): UpdateProgramSignature; interface UpdateProgramSignature { /** * Updates selected fields of a program. * * Each time the program is updated, `revision` increments by 1. The current * `revision` must be passed when updating the program. This ensures you're * working with the latest program and prevents unintended overwrites. * * Ended and archived programs can't be updated. Timeline changes are blocked * when the program has active participants. * @param - Program ID. * @returns Updated program. */ (_id: string, program: NonNullablePaths): Promise & { __applicationErrorsType?: UpdateProgramApplicationErrors; }>; } declare function deleteProgram$1(httpClient: HttpClient): DeleteProgramSignature; interface DeleteProgramSignature { /** * Deletes a program. * * Deleting a program permanently removes it from the program list, cancels its * scheduled end task, removes related member groups, and removes it from search. * @param - ID of the program to delete. */ (programId: string): Promise; } declare function searchPrograms$1(httpClient: HttpClient): SearchProgramsSignature; interface SearchProgramsSignature { /** * Searches programs by title and structured filters. * * Use this method when you need full-text search over `description.title`. * Results are visibility-filtered according to the caller identity. * @param - Search expression, filters, sorting, and cursor paging options. */ (search: ProgramSearch): Promise>; } declare function publishProgram$1(httpClient: HttpClient): PublishProgramSignature; interface PublishProgramSignature { /** * Publishes a draft program. * * A scheduled program can't be published when its start date is in the past. * If the program has an end date, the service schedules an automatic transition * to `ENDED` using the site's timezone. * @param - ID of the draft program to publish. */ (programId: string): Promise & { __applicationErrorsType?: PublishProgramApplicationErrors; }>; } declare function endProgram$1(httpClient: HttpClient): EndProgramSignature; interface EndProgramSignature { /** * Ends a published program. * * Ending a program changes its status to `ENDED` and cancels any scheduled end * task. The operation succeeds only for currently published programs. * @param - ID of the published program to end. */ (programId: string): Promise>; } declare function archiveProgram$1(httpClient: HttpClient): ArchiveProgramSignature; interface ArchiveProgramSignature { /** * Archives a program. * * Archiving closes the program, removes it from normal public discovery, and * replaces its SEO slug with the program ID so the previous slug can be reused. * @param - ID of the program to archive. */ (programId: string): Promise>; } /** @internal */ declare function enableProgramFreemium$1(httpClient: HttpClient): EnableProgramFreemiumSignature; interface EnableProgramFreemiumSignature { /** * Enables Freemium for a self-paced draft or published program that requires * payment according to Join Applications: a one-time price or an available * pricing plan. Pricing-plan availability uses the member-facing benefit lookup. * * Success confirms the persisted setting, not divider readiness. Repeated * requests for an eligible enabled program leave its revision unchanged. * @param - ID of the program to enable Freemium for. */ (programId: string): Promise & { __applicationErrorsType?: EnableProgramFreemiumApplicationErrors; }>; } /** @internal */ declare function disableProgramFreemium$1(httpClient: HttpClient): DisableProgramFreemiumSignature; interface DisableProgramFreemiumSignature { /** * Disables Freemium without checking pricing eligibility or waiting for divider * cleanup. Preview members are retained. Repeated requests for a disabled * program leave its settings and revision unchanged. * @param - ID of the program to disable Freemium for. */ (programId: string): Promise>; } declare function bulkUpdatePrograms$1(httpClient: HttpClient): BulkUpdateProgramsSignature; interface BulkUpdateProgramsSignature { /** * Updates multiple programs in a single synchronous request. * * Each item includes its own program data and revision. Set `returnEntity` to * return updated programs in the response. * @param - Programs to update. Each item contains partial program data. */ (programs: NonNullablePaths[], options?: BulkUpdateProgramsOptions): Promise>; } declare function countPrograms$1(httpClient: HttpClient): CountProgramsSignature; interface CountProgramsSignature { /** * Counts programs that match a filter. * * Results use the same visibility rules as `QueryPrograms`. */ (options?: CountProgramsOptions): Promise>; } declare function listSamplePrograms$1(httpClient: HttpClient): ListSampleProgramsSignature; interface ListSampleProgramsSignature { /** * Lists sample programs used as templates for creating new programs. */ (): Promise>; } declare const onProgramCreated$1: EventDefinition; declare const onProgramDeleted$1: EventDefinition; declare const onProgramArchived$1: EventDefinition; declare const onProgramDuplicated$1: EventDefinition; declare const onProgramEnded$1: EventDefinition; declare const onProgramPublished$1: EventDefinition; declare const onProgramUpdated$1: EventDefinition; declare function customQueryPrograms(httpClient: HttpClient): { (): ProgramsQueryBuilder; (query: ProgramQuery): ReturnType; }; declare const getPage: MaybeContext & typeof getPage$1>; declare const getSitemap: MaybeContext & typeof getSitemap$1>; declare const getSitemapCount: MaybeContext & typeof getSitemapCount$1>; declare const createProgram: MaybeContext & typeof createProgram$1>; declare const duplicateProgram: MaybeContext & typeof duplicateProgram$1>; declare const getProgram: MaybeContext & typeof getProgram$1>; declare const updateProgram: MaybeContext & typeof updateProgram$1>; declare const deleteProgram: MaybeContext & typeof deleteProgram$1>; declare const searchPrograms: MaybeContext & typeof searchPrograms$1>; declare const publishProgram: MaybeContext & typeof publishProgram$1>; declare const endProgram: MaybeContext & typeof endProgram$1>; declare const archiveProgram: MaybeContext & typeof archiveProgram$1>; /** @internal */ declare const enableProgramFreemium: MaybeContext & typeof enableProgramFreemium$1>; /** @internal */ declare const disableProgramFreemium: MaybeContext & typeof disableProgramFreemium$1>; declare const bulkUpdatePrograms: MaybeContext & typeof bulkUpdatePrograms$1>; declare const countPrograms: MaybeContext & typeof countPrograms$1>; declare const listSamplePrograms: MaybeContext & typeof listSamplePrograms$1>; declare const queryPrograms: MaybeContext & typeof customQueryPrograms>; /** * Triggered when a program is created. */ declare const onProgramCreated: BuildEventDefinition & typeof onProgramCreated$1; /** * Triggered when a program is deleted. */ declare const onProgramDeleted: BuildEventDefinition & typeof onProgramDeleted$1; /** * Triggered when a program is archived. */ declare const onProgramArchived: BuildEventDefinition & typeof onProgramArchived$1; /** * Triggered when a program is duplicated. */ declare const onProgramDuplicated: BuildEventDefinition & typeof onProgramDuplicated$1; /** * Triggered when a program ends, either automatically or manually by the owner. */ declare const onProgramEnded: BuildEventDefinition & typeof onProgramEnded$1; /** * Triggered when a program is published. */ declare const onProgramPublished: BuildEventDefinition & typeof onProgramPublished$1; /** * Triggered when a program is updated. */ declare const onProgramUpdated: BuildEventDefinition & typeof onProgramUpdated$1; export { ArchiveProgramResponse, BulkUpdateProgramsOptions, BulkUpdateProgramsResponse, CountProgramsOptions, CountProgramsResponse, DisableProgramFreemiumResponse, DuplicateProgramResponse, EnableProgramFreemiumApplicationErrors, EnableProgramFreemiumResponse, EndProgramResponse, GetPageOptions, GetPageResponse, GetSitemapCountOptions, GetSitemapCountResponse, GetSitemapOptions, GetSitemapResponse, ListSampleProgramsResponse, MaskedProgram, Program, ProgramArchivedEnvelope, ProgramCreatedEnvelope, ProgramDeletedEnvelope, ProgramDuplicatedEnvelope, ProgramEndedEnvelope, ProgramPublishedEnvelope, ProgramQuery, ProgramSearch, ProgramUpdatedEnvelope, ProgramsQueryBuilder, PublishProgramApplicationErrors, PublishProgramResponse, SearchProgramsResponse, UpdateProgram, UpdateProgramApplicationErrors, archiveProgram, bulkUpdatePrograms, countPrograms, createProgram, deleteProgram, disableProgramFreemium, duplicateProgram, enableProgramFreemium, endProgram, getPage, getProgram, getSitemap, getSitemapCount, listSamplePrograms, onProgramArchived, onProgramCreated, onProgramDeleted, onProgramDuplicated, onProgramEnded, onProgramPublished, onProgramUpdated, publishProgram, queryPrograms, searchPrograms, updateProgram };