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, M as MaskedProgram, B as BulkUpdateProgramsOptions, j as BulkUpdateProgramsResponse, C as CountProgramsOptions, k as CountProgramsResponse, L as ListSampleProgramsResponse, l as ProgramCreatedEnvelope, m as ProgramDeletedEnvelope, n as ProgramArchivedEnvelope, o as ProgramDuplicatedEnvelope, p as ProgramEndedEnvelope, q as ProgramPublishedEnvelope, r as ProgramUpdatedEnvelope, s as ProgramsQueryBuilder, t as ProgramQuery, u as typedQueryPrograms } from './online-programs-v3-program-programs.universal-CmY8Ib8H.mjs'; export { w as AccessType, dl as AccessTypeWithLiterals, aG as AccountInfo, df as AccountInfoMetadata, aC as ActionEvent, d4 as Address, d5 as AddressHint, bE as Aggregation, bU as AggregationData, bF as AggregationKindOneOf, cb as AggregationResults, cc as AggregationResultsResultOneOf, b$ as AggregationResultsScalarResult, O as AggregationType, dy as AggregationTypeWithLiterals, aT as App, ba as ApplicationError, cf as ArchiveProgramRequest, cv as Asset, dd as BaseEventMetadata, bb as BulkActionMetadata, y as BulkActionType, dq as BulkActionTypeWithLiterals, b5 as BulkCreateProgramsMigrationRequest, b7 as BulkCreateProgramsMigrationResponse, b8 as BulkProgramResult, cl as BulkUpdateProgramResult, ck as BulkUpdateProgramsRequest, d7 as BusinessSchedule, d2 as Categories, ae as Certificate, dJ as CommonQueryWithEntityContext, dK as CommonSearchWithEntityContext, dc as ConsentPolicy, ah as ContentSummary, cm as CountProgramsRequest, b3 as CreateProgramRequest, b4 as CreateProgramResponse, bx as CursorPaging, bT as CursorPagingMetadata, bC as CursorSearch, bD as CursorSearchPagingMethodOneOf, bA as Cursors, aX as CustomTag, bM as DateHistogramAggregation, c7 as DateHistogramResult, c9 as DateHistogramResults, $ as DayOfWeek, dG as DayOfWeekWithLiterals, b1 as Delete, bc as DeleteAllProgramsMigrationRequest, bd as DeleteAllProgramsMigrationResponse, aO as DeleteByFilterOperation, aN as DeleteByIdsOperation, cz as DeleteContext, bq as DeleteProgramRequest, br as DeleteProgramResponse, Y as DeleteStatus, dD as DeleteStatusWithLiterals, a1 as Description, a2 as DescriptionMediaOneOf, ci as DisableProgramFreemiumRequest, cj as DisableProgramFreemiumResponse, aM as DocumentImage, aL as DocumentPayload, aJ as DocumentUpdateOperation, aw as DomainEvent, ax as DomainEventBodyOneOf, bg as DuplicateProgramRequest, bo as DuplicatedSlugErrorDetails, cY as EditorlessAssigned, cZ as EditorlessUnassigned, cp as Empty, dI as EnableProgramFreemiumApplicationErrors, cg as EnableProgramFreemiumRequest, ch as EnableProgramFreemiumResponse, ce as EndProgramRequest, ay as EntityCreatedEvent, aB as EntityDeletedEvent, aA as EntityUpdatedEvent, x as Enum, dp as EnumWithLiterals, de as EventMetadata, af as ExtendedFields, aW as File, a3 as FocalPoint, ai as FreemiumSettings, d6 as GeoCoordinates, ap as GetPageRequest, bh as GetProgramRequest, bi as GetProgramResponse, av as GetSitemapCountRequest, au as GetSitemapRequest, bQ as GroupByAggregation, bR as GroupByAggregationKindOneOf, c8 as GroupByValueResults, aE as IdentificationData, aF as IdentificationDataIdOneOf, bH as IncludeMissingValuesOptions, aK as IndexDocument, K as Interval, dx as IntervalWithLiterals, aR as InvalidateCache, aS as InvalidateCacheGetByOneOf, b9 as ItemMetadata, aa as Keyword, co as LabeledProgram, cn as ListSampleProgramsRequest, d3 as Locale, aD as MessageEnvelope, ct as MetaSiteSpecialEvent, cu as MetaSiteSpecialEventPayloadOneOf, cs as MissingMetasiteIdErrorDetails, I as MissingValues, du as MissingValuesWithLiterals, Q as Mode, dz as ModeWithLiterals, a7 as Money, da as Multilingual, X as Namespace, cJ as NamespaceChanged, dC as NamespaceWithLiterals, bP as NestedAggregation, bN as NestedAggregationItem, bO as NestedAggregationItemKindOneOf, bX as NestedAggregationResults, bY as NestedAggregationResultsResultOneOf, N as NestedAggregationType, dw as NestedAggregationTypeWithLiterals, c4 as NestedResultValue, c5 as NestedResultValueResultOneOf, ca as NestedResults, c0 as NestedValueAggregationResult, cO as OdeditorAssigned, cP as OdeditorUnassigned, aU as Page, aY as Pages, bw as Paging, bz as PagingMetadataV2, cQ as PicassoAssigned, cR as PicassoUnassigned, _ as PlacementType, dF as PlacementTypeWithLiterals, al as ProgramArchived, am as ProgramDuplicated, ak as ProgramEnded, ao as ProgramFreemiumDisabled, an as ProgramFreemiumEnabled, b6 as ProgramMigration, aj as ProgramPublished, dh as ProgramQuerySpec, as as ProgramRouterData, at as ProgramRouterDataSelectionOneOf, ar as ProgramRouterPageResult, aq as ProgramRouterPageRole, di as ProgramSearchSpec, dg as ProgramsQueryResult, d1 as Properties, cd as PublishProgramRequest, bs as QueryProgramsRequest, by as QueryProgramsResponse, bt as QueryV2, bu as QueryV2PagingMethodOneOf, bK as RangeAggregation, bW as RangeAggregationResult, bG as RangeBucket, c2 as RangeResult, b_ as RangeResults, a_ as ReindexMessage, a$ as ReindexMessageActionOneOf, a0 as ResolutionMethod, dH as ResolutionMethodWithLiterals, cq as ResolveProgramSlugRequest, cr as ResolveProgramSlugResponse, az as RestoreInfo, be as RestoreProgramFromTrashRequest, bf as RestoreProgramFromTrashResponse, a6 as Restrictions, c6 as Results, ad as Reward, bL as ScalarAggregation, c3 as ScalarResult, J as ScalarType, dv as ScalarTypeWithLiterals, b2 as Schema, bS as SearchDetails, c_ as SearchIndexingNotification, Z as SearchIndexingNotificationState, dE as SearchIndexingNotificationStateWithLiterals, bB as SearchProgramsRequest, a8 as Seo, a9 as SeoSchema, cF as ServiceProvisioned, cG as ServiceRemoved, ac as Settings, cw as SiteCreated, V as SiteCreatedContext, dB as SiteCreatedContextWithLiterals, cy as SiteDeleted, cI as SiteHardDeleted, cD as SiteMarkedAsTemplate, cE as SiteMarkedAsWixSite, d0 as SitePropertiesEvent, c$ as SitePropertiesUpdated, cB as SitePublished, cN as SitePurgedExternally, cH as SiteRenamed, cx as SiteTransferred, cA as SiteUndeleted, cC as SiteUnpublished, cM as SiteUrlChanged, H as SortDirection, dt as SortDirectionWithLiterals, z as SortOrder, dr as SortOrderWithLiterals, F as SortType, ds as SortTypeWithLiterals, bv as Sorting, d9 as SpecialHourPeriod, R as State, dA as StateWithLiterals, v as Status, dk as StatusWithLiterals, cK as StudioAssigned, cU as StudioTwoAssigned, cV as StudioTwoUnassigned, cL as StudioUnassigned, db as SupportedLanguage, ab as Tag, d8 as TimePeriod, a5 as Timeline, bp as TimelineSwitchForbiddenErrorDetails, T as Trigger, dm as TriggerWithLiterals, aV as URI, aZ as URIs, aP as UpdateByFilterOperation, aH as UpdateDocumentsEvent, aI as UpdateDocumentsEventOperationOneOf, aQ as UpdateExistingOperation, bj as UpdateProgramRequest, bk as UpdateProgramResponse, b0 as Upsert, cX as UserDomainMediaDisabled, cW as UserDomainMediaEnabled, bI as ValueAggregation, bJ as ValueAggregationOptionsOneOf, bV as ValueAggregationResult, c1 as ValueResult, bZ as ValueResults, a4 as VideoResolution, ag as VideoStepsSettings, W as WebhookIdentityType, dn as WebhookIdentityTypeWithLiterals, cS as WixelAssigned, cT as WixelUnassigned, bn as WrongParticipantsNumberErrorDetails, bm as WrongStartDateErrorDetails, bl as WrongStateErrorDetails, dj as utils } from './online-programs-v3-program-programs.universal-CmY8Ib8H.mjs'; 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>; } 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>; 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, DuplicateProgramResponse, 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, duplicateProgram, endProgram, getPage, getProgram, getSitemap, getSitemapCount, listSamplePrograms, onProgramArchived, onProgramCreated, onProgramDeleted, onProgramDuplicated, onProgramEnded, onProgramPublished, onProgramUpdated, publishProgram, queryPrograms, searchPrograms, updateProgram };