@wix/auto_sdk_online-programs_programs 1.0.38 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +500 -625
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +354 -492
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +47 -2
- package/build/cjs/meta.js +253 -447
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/{online-programs-v3-program-programs.universal-Z6YlRtAm.d.ts → online-programs-v3-program-programs.universal-jF7XKDI_.d.ts} +40 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +498 -625
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +352 -492
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +47 -2
- package/build/es/meta.mjs +251 -447
- package/build/es/meta.mjs.map +1 -1
- package/build/es/{online-programs-v3-program-programs.universal-Z6YlRtAm.d.mts → online-programs-v3-program-programs.universal-jF7XKDI_.d.mts} +40 -1
- package/build/internal/cjs/index.d.ts +34 -3
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/meta.d.ts +60 -2
- package/build/internal/cjs/{online-programs-v3-program-programs.universal-D_zbRqi7.d.ts → online-programs-v3-program-programs.universal-E5Ho5dcB.d.ts} +89 -1
- package/build/internal/es/index.d.mts +34 -3
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/meta.d.mts +60 -2
- package/build/internal/es/{online-programs-v3-program-programs.universal-D_zbRqi7.d.mts → online-programs-v3-program-programs.universal-E5Ho5dcB.d.mts} +89 -1
- package/package.json +2 -2
|
@@ -86,6 +86,13 @@ interface Program {
|
|
|
86
86
|
* @readonly
|
|
87
87
|
*/
|
|
88
88
|
ownerUserId?: string | null;
|
|
89
|
+
/**
|
|
90
|
+
* Freemium enablement. Absent settings mean Freemium is disabled.
|
|
91
|
+
* This field cannot be set through generic create or update operations.
|
|
92
|
+
* @internal
|
|
93
|
+
* @readonly
|
|
94
|
+
*/
|
|
95
|
+
freemiumSettings?: FreemiumSettings;
|
|
89
96
|
}
|
|
90
97
|
declare enum Status {
|
|
91
98
|
/** The program is editable and visible only in management contexts. */
|
|
@@ -450,6 +457,15 @@ interface ContentSummary {
|
|
|
450
457
|
*/
|
|
451
458
|
sectionCount?: number;
|
|
452
459
|
}
|
|
460
|
+
/** Program Freemium enablement settings. Divider placement is stored separately. */
|
|
461
|
+
interface FreemiumSettings {
|
|
462
|
+
/**
|
|
463
|
+
* Whether Freemium is enabled. Defaults to false.
|
|
464
|
+
* @internal
|
|
465
|
+
* @readonly
|
|
466
|
+
*/
|
|
467
|
+
enabled?: boolean;
|
|
468
|
+
}
|
|
453
469
|
interface UpdateDocumentsEvent extends UpdateDocumentsEventOperationOneOf {
|
|
454
470
|
/** insert/update documents */
|
|
455
471
|
update?: DocumentUpdateOperation;
|
|
@@ -1624,6 +1640,28 @@ interface ArchiveProgramResponse {
|
|
|
1624
1640
|
/** Archived program. */
|
|
1625
1641
|
program?: Program;
|
|
1626
1642
|
}
|
|
1643
|
+
interface EnableProgramFreemiumRequest {
|
|
1644
|
+
/**
|
|
1645
|
+
* ID of the program to enable Freemium for.
|
|
1646
|
+
* @format GUID
|
|
1647
|
+
*/
|
|
1648
|
+
programId: string;
|
|
1649
|
+
}
|
|
1650
|
+
interface EnableProgramFreemiumResponse {
|
|
1651
|
+
/** Program with the persisted Freemium setting. */
|
|
1652
|
+
program?: Program;
|
|
1653
|
+
}
|
|
1654
|
+
interface DisableProgramFreemiumRequest {
|
|
1655
|
+
/**
|
|
1656
|
+
* ID of the program to disable Freemium for.
|
|
1657
|
+
* @format GUID
|
|
1658
|
+
*/
|
|
1659
|
+
programId: string;
|
|
1660
|
+
}
|
|
1661
|
+
interface DisableProgramFreemiumResponse {
|
|
1662
|
+
/** Program with the persisted Freemium setting. */
|
|
1663
|
+
program?: Program;
|
|
1664
|
+
}
|
|
1627
1665
|
interface BulkUpdateProgramsRequest {
|
|
1628
1666
|
/**
|
|
1629
1667
|
* Programs to update. Each item contains partial program data.
|
|
@@ -2699,6 +2737,20 @@ type PublishProgramApplicationErrors = {
|
|
|
2699
2737
|
description?: string;
|
|
2700
2738
|
data?: Record<string, any>;
|
|
2701
2739
|
};
|
|
2740
|
+
/** @docsIgnore */
|
|
2741
|
+
type EnableProgramFreemiumApplicationErrors = {
|
|
2742
|
+
code?: 'FREEMIUM_PROGRAM_STATE_NOT_SUPPORTED';
|
|
2743
|
+
description?: string;
|
|
2744
|
+
data?: Record<string, any>;
|
|
2745
|
+
} | {
|
|
2746
|
+
code?: 'FREEMIUM_REQUIRES_SELF_PACED_PROGRAM';
|
|
2747
|
+
description?: string;
|
|
2748
|
+
data?: Record<string, any>;
|
|
2749
|
+
} | {
|
|
2750
|
+
code?: 'FREEMIUM_REQUIRES_PAID_ACCESS';
|
|
2751
|
+
description?: string;
|
|
2752
|
+
data?: Record<string, any>;
|
|
2753
|
+
};
|
|
2702
2754
|
interface BaseEventMetadata {
|
|
2703
2755
|
/**
|
|
2704
2756
|
* App instance ID.
|
|
@@ -3008,6 +3060,13 @@ interface UpdateProgram {
|
|
|
3008
3060
|
* @readonly
|
|
3009
3061
|
*/
|
|
3010
3062
|
ownerUserId?: string | null;
|
|
3063
|
+
/**
|
|
3064
|
+
* Freemium enablement. Absent settings mean Freemium is disabled.
|
|
3065
|
+
* This field cannot be set through generic create or update operations.
|
|
3066
|
+
* @internal
|
|
3067
|
+
* @readonly
|
|
3068
|
+
*/
|
|
3069
|
+
freemiumSettings?: FreemiumSettings;
|
|
3011
3070
|
}
|
|
3012
3071
|
/**
|
|
3013
3072
|
* Deletes a program.
|
|
@@ -3439,6 +3498,35 @@ declare function endProgram(programId: string): Promise<NonNullablePaths<EndProg
|
|
|
3439
3498
|
* @fqn wix.onlineprograms.programs.v3.ProgramsService.ArchiveProgram
|
|
3440
3499
|
*/
|
|
3441
3500
|
declare function archiveProgram(programId: string): Promise<NonNullablePaths<ArchiveProgramResponse, `program.status` | `program.categoryIds` | `program.description.title` | `program.timeline.selfPaced` | `program.restrictions.hideFutureSteps` | `program.restrictions.resolveStepsInOrder` | `program.restrictions.shareProgress` | `program.restrictions.accessType` | `program.price.value` | `program.price.currency` | `program.seo.slug` | `program.seo.seoData.tags` | `program.seo.seoData.tags.${number}.type` | `program.seo.seoData.tags.${number}.children` | `program.seo.seoData.tags.${number}.custom` | `program.seo.seoData.tags.${number}.disabled` | `program.seo.seoData.settings.preventAutoRedirect` | `program.seo.seoData.settings.keywords` | `program.seo.seoData.settings.keywords.${number}.term` | `program.seo.seoData.settings.keywords.${number}.isMain` | `program.seo.imageAlt` | `program.seo.courseWorkload` | `program.rewards` | `program.rewards.${number}.trigger` | `program.rewards.${number}.certificate._id` | `program.shouldSendInvoice` | `program.videoStepsSettings.autoNavigate` | `program.videoStepsSettings.requiredCompletionPercentage` | `program.contentSummary.stepCount` | `program.contentSummary.sectionCount`, 6>>;
|
|
3501
|
+
/**
|
|
3502
|
+
* Enables Freemium for a self-paced draft or published program that requires
|
|
3503
|
+
* payment according to Join Applications: a one-time price or an available
|
|
3504
|
+
* pricing plan. Pricing-plan availability uses the member-facing benefit lookup.
|
|
3505
|
+
*
|
|
3506
|
+
* Success confirms the persisted setting, not divider readiness. Repeated
|
|
3507
|
+
* requests for an eligible enabled program leave its revision unchanged.
|
|
3508
|
+
* @param programId - ID of the program to enable Freemium for.
|
|
3509
|
+
* @internal
|
|
3510
|
+
* @documentationMaturity preview
|
|
3511
|
+
* @requiredField programId
|
|
3512
|
+
* @permissionId online_programs:v3:program:enable_program_freemium
|
|
3513
|
+
* @fqn wix.onlineprograms.programs.v3.ProgramsService.EnableProgramFreemium
|
|
3514
|
+
*/
|
|
3515
|
+
declare function enableProgramFreemium(programId: string): Promise<NonNullablePaths<EnableProgramFreemiumResponse, `program.status` | `program.categoryIds` | `program.description.title` | `program.timeline.selfPaced` | `program.restrictions.hideFutureSteps` | `program.restrictions.resolveStepsInOrder` | `program.restrictions.shareProgress` | `program.restrictions.accessType` | `program.price.value` | `program.price.currency` | `program.seo.slug` | `program.seo.seoData.tags` | `program.seo.seoData.tags.${number}.type` | `program.seo.seoData.tags.${number}.children` | `program.seo.seoData.tags.${number}.custom` | `program.seo.seoData.tags.${number}.disabled` | `program.seo.seoData.settings.preventAutoRedirect` | `program.seo.seoData.settings.keywords` | `program.seo.seoData.settings.keywords.${number}.term` | `program.seo.seoData.settings.keywords.${number}.isMain` | `program.seo.imageAlt` | `program.seo.courseWorkload` | `program.rewards` | `program.rewards.${number}.trigger` | `program.rewards.${number}.certificate._id` | `program.shouldSendInvoice` | `program.videoStepsSettings.autoNavigate` | `program.videoStepsSettings.requiredCompletionPercentage` | `program.contentSummary.stepCount` | `program.contentSummary.sectionCount`, 6> & {
|
|
3516
|
+
__applicationErrorsType?: EnableProgramFreemiumApplicationErrors;
|
|
3517
|
+
}>;
|
|
3518
|
+
/**
|
|
3519
|
+
* Disables Freemium without checking pricing eligibility or waiting for divider
|
|
3520
|
+
* cleanup. Preview members are retained. Repeated requests for a disabled
|
|
3521
|
+
* program leave its settings and revision unchanged.
|
|
3522
|
+
* @param programId - ID of the program to disable Freemium for.
|
|
3523
|
+
* @internal
|
|
3524
|
+
* @documentationMaturity preview
|
|
3525
|
+
* @requiredField programId
|
|
3526
|
+
* @permissionId online_programs:v3:program:disable_program_freemium
|
|
3527
|
+
* @fqn wix.onlineprograms.programs.v3.ProgramsService.DisableProgramFreemium
|
|
3528
|
+
*/
|
|
3529
|
+
declare function disableProgramFreemium(programId: string): Promise<NonNullablePaths<DisableProgramFreemiumResponse, `program.status` | `program.categoryIds` | `program.description.title` | `program.timeline.selfPaced` | `program.restrictions.hideFutureSteps` | `program.restrictions.resolveStepsInOrder` | `program.restrictions.shareProgress` | `program.restrictions.accessType` | `program.price.value` | `program.price.currency` | `program.seo.slug` | `program.seo.seoData.tags` | `program.seo.seoData.tags.${number}.type` | `program.seo.seoData.tags.${number}.children` | `program.seo.seoData.tags.${number}.custom` | `program.seo.seoData.tags.${number}.disabled` | `program.seo.seoData.settings.preventAutoRedirect` | `program.seo.seoData.settings.keywords` | `program.seo.seoData.settings.keywords.${number}.term` | `program.seo.seoData.settings.keywords.${number}.isMain` | `program.seo.imageAlt` | `program.seo.courseWorkload` | `program.rewards` | `program.rewards.${number}.trigger` | `program.rewards.${number}.certificate._id` | `program.shouldSendInvoice` | `program.videoStepsSettings.autoNavigate` | `program.videoStepsSettings.requiredCompletionPercentage` | `program.contentSummary.stepCount` | `program.contentSummary.sectionCount`, 6>>;
|
|
3442
3530
|
/**
|
|
3443
3531
|
* Updates multiple programs in a single synchronous request.
|
|
3444
3532
|
*
|
|
@@ -3480,4 +3568,4 @@ interface CountProgramsOptions {
|
|
|
3480
3568
|
*/
|
|
3481
3569
|
declare function listSamplePrograms(): Promise<NonNullablePaths<ListSampleProgramsResponse, `programs` | `programs.${number}.program.status` | `programs.${number}.program.description.title` | `programs.${number}.program.timeline.selfPaced` | `programs.${number}.program.restrictions.hideFutureSteps` | `programs.${number}.program.restrictions.resolveStepsInOrder` | `programs.${number}.program.restrictions.shareProgress` | `programs.${number}.program.restrictions.accessType` | `programs.${number}.program.price.value` | `programs.${number}.program.price.currency` | `programs.${number}.program.seo.slug` | `programs.${number}.program.seo.imageAlt` | `programs.${number}.program.seo.courseWorkload` | `programs.${number}.program.shouldSendInvoice` | `programs.${number}.program.videoStepsSettings.autoNavigate` | `programs.${number}.program.videoStepsSettings.requiredCompletionPercentage` | `programs.${number}.program.contentSummary.stepCount` | `programs.${number}.program.contentSummary.sectionCount` | `programs.${number}.label`, 4>>;
|
|
3482
3570
|
|
|
3483
|
-
export { type
|
|
3571
|
+
export { type DescriptionMediaOneOf as $, type ArchiveProgramResponse as A, type BulkUpdateProgramsOptions as B, type CountProgramsOptions as C, type DuplicateProgramResponse as D, type EndProgramResponse as E, MissingValues as F, ScalarType as G, AggregationType as H, Interval as I, Mode as J, State as K, type ListSampleProgramsResponse as L, type MaskedProgram as M, NestedAggregationType as N, SiteCreatedContext as O, type Program as P, Namespace as Q, DeleteStatus as R, type SearchProgramsResponse as S, Trigger as T, type UpdateProgram as U, SearchIndexingNotificationState as V, PlacementType as W, DayOfWeek as X, ResolutionMethod as Y, WebhookIdentityType as Z, type Description as _, type UpdateProgramApplicationErrors as a, type DuplicatedSlugErrorDetails as a$, type FocalPoint as a0, type VideoResolution as a1, type Timeline as a2, type Restrictions as a3, type Money as a4, type Seo as a5, type SeoSchema as a6, type Keyword as a7, type Tag as a8, type Settings as a9, type ReindexMessageActionOneOf as aA, type Upsert as aB, type Delete as aC, type Schema as aD, type ProgramPublished as aE, type ProgramEnded as aF, type ProgramArchived as aG, type ProgramDuplicated as aH, type CreateProgramRequest as aI, type CreateProgramResponse as aJ, type BulkCreateProgramsMigrationRequest as aK, type ProgramMigration as aL, type BulkCreateProgramsMigrationResponse as aM, type BulkProgramResult as aN, type ItemMetadata as aO, type ApplicationError as aP, type BulkActionMetadata as aQ, type DeleteAllProgramsMigrationRequest as aR, type DeleteAllProgramsMigrationResponse as aS, type DuplicateProgramRequest as aT, type GetProgramRequest as aU, type GetProgramResponse as aV, type UpdateProgramRequest as aW, type UpdateProgramResponse as aX, type WrongStateErrorDetails as aY, type WrongStartDateErrorDetails as aZ, type WrongParticipantsNumberErrorDetails as a_, type Reward as aa, type Certificate as ab, type ExtendedFields as ac, type VideoStepsSettings as ad, type ContentSummary as ae, type FreemiumSettings as af, type UpdateDocumentsEvent as ag, type UpdateDocumentsEventOperationOneOf as ah, type DocumentUpdateOperation as ai, type IndexDocument as aj, type DocumentPayload as ak, type DocumentImage as al, type DeleteByIdsOperation as am, type DeleteByFilterOperation as an, type UpdateByFilterOperation as ao, type UpdateExistingOperation as ap, type InvalidateCache as aq, type InvalidateCacheGetByOneOf as ar, type App as as, type Page as at, type URI as au, type File as av, type CustomTag as aw, type Pages as ax, type URIs as ay, type ReindexMessage as az, type ProgramSearch as b, type DomainEventBodyOneOf as b$, type TimelineSwitchForbiddenErrorDetails as b0, type DeleteProgramRequest as b1, type DeleteProgramResponse as b2, type QueryProgramsRequest as b3, type QueryV2 as b4, type QueryV2PagingMethodOneOf as b5, type Sorting as b6, type Paging as b7, type CursorPaging as b8, type QueryProgramsResponse as b9, type ValueResults as bA, type RangeResults as bB, type AggregationResultsScalarResult as bC, type NestedValueAggregationResult as bD, type ValueResult as bE, type RangeResult as bF, type ScalarResult as bG, type NestedResultValue as bH, type NestedResultValueResultOneOf as bI, type Results as bJ, type DateHistogramResult as bK, type GroupByValueResults as bL, type DateHistogramResults as bM, type NestedResults as bN, type AggregationResults as bO, type AggregationResultsResultOneOf as bP, type PublishProgramRequest as bQ, type EndProgramRequest as bR, type ArchiveProgramRequest as bS, type EnableProgramFreemiumRequest as bT, type DisableProgramFreemiumRequest as bU, type BulkUpdateProgramsRequest as bV, type BulkUpdateProgramResult as bW, type CountProgramsRequest as bX, type ListSampleProgramsRequest as bY, type LabeledProgram as bZ, type DomainEvent as b_, type PagingMetadataV2 as ba, type Cursors as bb, type SearchProgramsRequest as bc, type CursorSearch as bd, type CursorSearchPagingMethodOneOf as be, type Aggregation as bf, type AggregationKindOneOf as bg, type RangeBucket as bh, type IncludeMissingValuesOptions as bi, type ValueAggregation as bj, type ValueAggregationOptionsOneOf as bk, type RangeAggregation as bl, type ScalarAggregation as bm, type DateHistogramAggregation as bn, type NestedAggregationItem as bo, type NestedAggregationItemKindOneOf as bp, type NestedAggregation as bq, type GroupByAggregation as br, type GroupByAggregationKindOneOf as bs, type SearchDetails as bt, type CursorPagingMetadata as bu, type AggregationData as bv, type ValueAggregationResult as bw, type RangeAggregationResult as bx, type NestedAggregationResults as by, type NestedAggregationResultsResultOneOf as bz, type PublishProgramResponse as c, type AccountInfoMetadata as c$, type EntityCreatedEvent as c0, type RestoreInfo as c1, type EntityUpdatedEvent as c2, type EntityDeletedEvent as c3, type ActionEvent as c4, type Empty as c5, type ResolveProgramSlugRequest as c6, type ResolveProgramSlugResponse as c7, type MissingMetasiteIdErrorDetails as c8, type MetaSiteSpecialEvent as c9, type StudioTwoAssigned as cA, type StudioTwoUnassigned as cB, type UserDomainMediaEnabled as cC, type UserDomainMediaDisabled as cD, type EditorlessAssigned as cE, type EditorlessUnassigned as cF, type SearchIndexingNotification as cG, type SitePropertiesUpdated as cH, type SitePropertiesEvent as cI, type Properties as cJ, type Categories as cK, type Locale as cL, type Address as cM, type AddressHint as cN, type GeoCoordinates as cO, type BusinessSchedule as cP, type TimePeriod as cQ, type SpecialHourPeriod as cR, type Multilingual as cS, type SupportedLanguage as cT, type ConsentPolicy as cU, type MessageEnvelope as cV, type IdentificationData as cW, type IdentificationDataIdOneOf as cX, type AccountInfo as cY, type BaseEventMetadata as cZ, type EventMetadata as c_, type MetaSiteSpecialEventPayloadOneOf as ca, type Asset as cb, type SiteCreated as cc, type SiteTransferred as cd, type SiteDeleted as ce, type DeleteContext as cf, type SiteUndeleted as cg, type SitePublished as ch, type SiteUnpublished as ci, type SiteMarkedAsTemplate as cj, type SiteMarkedAsWixSite as ck, type ServiceProvisioned as cl, type ServiceRemoved as cm, type SiteRenamed as cn, type SiteHardDeleted as co, type NamespaceChanged as cp, type StudioAssigned as cq, type StudioUnassigned as cr, type SiteUrlChanged as cs, type SitePurgedExternally as ct, type OdeditorAssigned as cu, type OdeditorUnassigned as cv, type PicassoAssigned as cw, type PicassoUnassigned as cx, type WixelAssigned as cy, type WixelUnassigned as cz, type PublishProgramApplicationErrors as d, type ProgramsQueryResult as d0, type ProgramQuerySpec as d1, type ProgramSearchSpec as d2, utils as d3, type StatusWithLiterals as d4, type AccessTypeWithLiterals as d5, type TriggerWithLiterals as d6, type EnumWithLiterals as d7, type BulkActionTypeWithLiterals as d8, type SortOrderWithLiterals as d9, onProgramUpdated as dA, createProgram as dB, duplicateProgram as dC, getProgram as dD, updateProgram as dE, deleteProgram as dF, queryPrograms as dG, publishProgram as dH, endProgram as dI, archiveProgram as dJ, enableProgramFreemium as dK, disableProgramFreemium as dL, bulkUpdatePrograms as dM, countPrograms as dN, listSamplePrograms as dO, type SortTypeWithLiterals as da, type SortDirectionWithLiterals as db, type MissingValuesWithLiterals as dc, type ScalarTypeWithLiterals as dd, type NestedAggregationTypeWithLiterals as de, type IntervalWithLiterals as df, type AggregationTypeWithLiterals as dg, type ModeWithLiterals as dh, type StateWithLiterals as di, type SiteCreatedContextWithLiterals as dj, type NamespaceWithLiterals as dk, type DeleteStatusWithLiterals as dl, type SearchIndexingNotificationStateWithLiterals as dm, type PlacementTypeWithLiterals as dn, type DayOfWeekWithLiterals as dp, type ResolutionMethodWithLiterals as dq, type WebhookIdentityTypeWithLiterals as dr, type CommonQueryWithEntityContext as ds, type CommonSearchWithEntityContext as dt, onProgramCreated as du, onProgramDeleted as dv, onProgramArchived as dw, onProgramDuplicated as dx, onProgramEnded as dy, onProgramPublished as dz, type EnableProgramFreemiumResponse as e, type EnableProgramFreemiumApplicationErrors as f, type DisableProgramFreemiumResponse as g, type BulkUpdateProgramsResponse as h, type CountProgramsResponse as i, type ProgramCreatedEnvelope as j, type ProgramDeletedEnvelope as k, type ProgramArchivedEnvelope as l, type ProgramDuplicatedEnvelope as m, type ProgramEndedEnvelope as n, type ProgramPublishedEnvelope as o, type ProgramUpdatedEnvelope as p, type ProgramsQueryBuilder as q, type ProgramQuery as r, Status as s, typedQueryPrograms as t, AccessType as u, Enum as v, BulkActionType as w, SortOrder as x, SortType as y, SortDirection as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { P as Program, D as DuplicateProgramResponse, U as UpdateProgram, a as UpdateProgramApplicationErrors, b as ProgramSearch, S as SearchProgramsResponse, c as PublishProgramResponse, d as PublishProgramApplicationErrors, E as EndProgramResponse, A as ArchiveProgramResponse, M as MaskedProgram, B as BulkUpdateProgramsOptions,
|
|
3
|
-
export {
|
|
2
|
+
import { P as Program, D as DuplicateProgramResponse, U as UpdateProgram, a as UpdateProgramApplicationErrors, b as ProgramSearch, S as SearchProgramsResponse, c as PublishProgramResponse, d as PublishProgramApplicationErrors, E as EndProgramResponse, A as ArchiveProgramResponse, e as EnableProgramFreemiumResponse, f as EnableProgramFreemiumApplicationErrors, g as DisableProgramFreemiumResponse, M as MaskedProgram, B as BulkUpdateProgramsOptions, h as BulkUpdateProgramsResponse, C as CountProgramsOptions, i as CountProgramsResponse, L as ListSampleProgramsResponse, j as ProgramCreatedEnvelope, k as ProgramDeletedEnvelope, l as ProgramArchivedEnvelope, m as ProgramDuplicatedEnvelope, n as ProgramEndedEnvelope, o as ProgramPublishedEnvelope, p as ProgramUpdatedEnvelope, q as ProgramsQueryBuilder, r as ProgramQuery, t as typedQueryPrograms } from './online-programs-v3-program-programs.universal-E5Ho5dcB.mjs';
|
|
3
|
+
export { u as AccessType, d5 as AccessTypeWithLiterals, cY as AccountInfo, c$ as AccountInfoMetadata, c4 as ActionEvent, cM as Address, cN as AddressHint, bf as Aggregation, bv as AggregationData, bg as AggregationKindOneOf, bO as AggregationResults, bP as AggregationResultsResultOneOf, bC as AggregationResultsScalarResult, H as AggregationType, dg as AggregationTypeWithLiterals, as as App, aP as ApplicationError, bS as ArchiveProgramRequest, cb as Asset, cZ as BaseEventMetadata, aQ as BulkActionMetadata, w as BulkActionType, d8 as BulkActionTypeWithLiterals, aK as BulkCreateProgramsMigrationRequest, aM as BulkCreateProgramsMigrationResponse, aN as BulkProgramResult, bW as BulkUpdateProgramResult, bV as BulkUpdateProgramsRequest, cP as BusinessSchedule, cK as Categories, ab as Certificate, ds as CommonQueryWithEntityContext, dt as CommonSearchWithEntityContext, cU as ConsentPolicy, ae as ContentSummary, bX as CountProgramsRequest, aI as CreateProgramRequest, aJ as CreateProgramResponse, b8 as CursorPaging, bu as CursorPagingMetadata, bd as CursorSearch, be as CursorSearchPagingMethodOneOf, bb as Cursors, aw as CustomTag, bn as DateHistogramAggregation, bK as DateHistogramResult, bM as DateHistogramResults, X as DayOfWeek, dp as DayOfWeekWithLiterals, aC as Delete, aR as DeleteAllProgramsMigrationRequest, aS as DeleteAllProgramsMigrationResponse, an as DeleteByFilterOperation, am as DeleteByIdsOperation, cf as DeleteContext, b1 as DeleteProgramRequest, b2 as DeleteProgramResponse, R as DeleteStatus, dl as DeleteStatusWithLiterals, _ as Description, $ as DescriptionMediaOneOf, bU as DisableProgramFreemiumRequest, al as DocumentImage, ak as DocumentPayload, ai as DocumentUpdateOperation, b_ as DomainEvent, b$ as DomainEventBodyOneOf, aT as DuplicateProgramRequest, a$ as DuplicatedSlugErrorDetails, cE as EditorlessAssigned, cF as EditorlessUnassigned, c5 as Empty, bT as EnableProgramFreemiumRequest, bR as EndProgramRequest, c0 as EntityCreatedEvent, c3 as EntityDeletedEvent, c2 as EntityUpdatedEvent, v as Enum, d7 as EnumWithLiterals, c_ as EventMetadata, ac as ExtendedFields, av as File, a0 as FocalPoint, af as FreemiumSettings, cO as GeoCoordinates, aU as GetProgramRequest, aV as GetProgramResponse, br as GroupByAggregation, bs as GroupByAggregationKindOneOf, bL as GroupByValueResults, cW as IdentificationData, cX as IdentificationDataIdOneOf, bi as IncludeMissingValuesOptions, aj as IndexDocument, I as Interval, df as IntervalWithLiterals, aq as InvalidateCache, ar as InvalidateCacheGetByOneOf, aO as ItemMetadata, a7 as Keyword, bZ as LabeledProgram, bY as ListSampleProgramsRequest, cL as Locale, cV as MessageEnvelope, c9 as MetaSiteSpecialEvent, ca as MetaSiteSpecialEventPayloadOneOf, c8 as MissingMetasiteIdErrorDetails, F as MissingValues, dc as MissingValuesWithLiterals, J as Mode, dh as ModeWithLiterals, a4 as Money, cS as Multilingual, Q as Namespace, cp as NamespaceChanged, dk as NamespaceWithLiterals, bq as NestedAggregation, bo as NestedAggregationItem, bp as NestedAggregationItemKindOneOf, by as NestedAggregationResults, bz as NestedAggregationResultsResultOneOf, N as NestedAggregationType, de as NestedAggregationTypeWithLiterals, bH as NestedResultValue, bI as NestedResultValueResultOneOf, bN as NestedResults, bD as NestedValueAggregationResult, cu as OdeditorAssigned, cv as OdeditorUnassigned, at as Page, ax as Pages, b7 as Paging, ba as PagingMetadataV2, cw as PicassoAssigned, cx as PicassoUnassigned, W as PlacementType, dn as PlacementTypeWithLiterals, aG as ProgramArchived, aH as ProgramDuplicated, aF as ProgramEnded, aL as ProgramMigration, aE as ProgramPublished, d1 as ProgramQuerySpec, d2 as ProgramSearchSpec, d0 as ProgramsQueryResult, cJ as Properties, bQ as PublishProgramRequest, b3 as QueryProgramsRequest, b9 as QueryProgramsResponse, b4 as QueryV2, b5 as QueryV2PagingMethodOneOf, bl as RangeAggregation, bx as RangeAggregationResult, bh as RangeBucket, bF as RangeResult, bB as RangeResults, az as ReindexMessage, aA as ReindexMessageActionOneOf, Y as ResolutionMethod, dq as ResolutionMethodWithLiterals, c6 as ResolveProgramSlugRequest, c7 as ResolveProgramSlugResponse, c1 as RestoreInfo, a3 as Restrictions, bJ as Results, aa as Reward, bm as ScalarAggregation, bG as ScalarResult, G as ScalarType, dd as ScalarTypeWithLiterals, aD as Schema, bt as SearchDetails, cG as SearchIndexingNotification, V as SearchIndexingNotificationState, dm as SearchIndexingNotificationStateWithLiterals, bc as SearchProgramsRequest, a5 as Seo, a6 as SeoSchema, cl as ServiceProvisioned, cm as ServiceRemoved, a9 as Settings, cc as SiteCreated, O as SiteCreatedContext, dj as SiteCreatedContextWithLiterals, ce as SiteDeleted, co as SiteHardDeleted, cj as SiteMarkedAsTemplate, ck as SiteMarkedAsWixSite, cI as SitePropertiesEvent, cH as SitePropertiesUpdated, ch as SitePublished, ct as SitePurgedExternally, cn as SiteRenamed, cd as SiteTransferred, cg as SiteUndeleted, ci as SiteUnpublished, cs as SiteUrlChanged, z as SortDirection, db as SortDirectionWithLiterals, x as SortOrder, d9 as SortOrderWithLiterals, y as SortType, da as SortTypeWithLiterals, b6 as Sorting, cR as SpecialHourPeriod, K as State, di as StateWithLiterals, s as Status, d4 as StatusWithLiterals, cq as StudioAssigned, cA as StudioTwoAssigned, cB as StudioTwoUnassigned, cr as StudioUnassigned, cT as SupportedLanguage, a8 as Tag, cQ as TimePeriod, a2 as Timeline, b0 as TimelineSwitchForbiddenErrorDetails, T as Trigger, d6 as TriggerWithLiterals, au as URI, ay as URIs, ao as UpdateByFilterOperation, ag as UpdateDocumentsEvent, ah as UpdateDocumentsEventOperationOneOf, ap as UpdateExistingOperation, aW as UpdateProgramRequest, aX as UpdateProgramResponse, aB as Upsert, cD as UserDomainMediaDisabled, cC as UserDomainMediaEnabled, bj as ValueAggregation, bk as ValueAggregationOptionsOneOf, bw as ValueAggregationResult, bE as ValueResult, bA as ValueResults, a1 as VideoResolution, ad as VideoStepsSettings, Z as WebhookIdentityType, dr as WebhookIdentityTypeWithLiterals, cy as WixelAssigned, cz as WixelUnassigned, a_ as WrongParticipantsNumberErrorDetails, aZ as WrongStartDateErrorDetails, aY as WrongStateErrorDetails, d3 as utils } from './online-programs-v3-program-programs.universal-E5Ho5dcB.mjs';
|
|
4
4
|
|
|
5
5
|
declare function createProgram$1(httpClient: HttpClient): CreateProgramSignature;
|
|
6
6
|
interface CreateProgramSignature {
|
|
@@ -118,6 +118,33 @@ interface ArchiveProgramSignature {
|
|
|
118
118
|
*/
|
|
119
119
|
(programId: string): Promise<NonNullablePaths<ArchiveProgramResponse, `program.status` | `program.categoryIds` | `program.description.title` | `program.timeline.selfPaced` | `program.restrictions.hideFutureSteps` | `program.restrictions.resolveStepsInOrder` | `program.restrictions.shareProgress` | `program.restrictions.accessType` | `program.price.value` | `program.price.currency` | `program.seo.slug` | `program.seo.seoData.tags` | `program.seo.seoData.tags.${number}.type` | `program.seo.seoData.tags.${number}.children` | `program.seo.seoData.tags.${number}.custom` | `program.seo.seoData.tags.${number}.disabled` | `program.seo.seoData.settings.preventAutoRedirect` | `program.seo.seoData.settings.keywords` | `program.seo.seoData.settings.keywords.${number}.term` | `program.seo.seoData.settings.keywords.${number}.isMain` | `program.seo.imageAlt` | `program.seo.courseWorkload` | `program.rewards` | `program.rewards.${number}.trigger` | `program.rewards.${number}.certificate._id` | `program.shouldSendInvoice` | `program.videoStepsSettings.autoNavigate` | `program.videoStepsSettings.requiredCompletionPercentage` | `program.contentSummary.stepCount` | `program.contentSummary.sectionCount`, 6>>;
|
|
120
120
|
}
|
|
121
|
+
/** @internal */
|
|
122
|
+
declare function enableProgramFreemium$1(httpClient: HttpClient): EnableProgramFreemiumSignature;
|
|
123
|
+
interface EnableProgramFreemiumSignature {
|
|
124
|
+
/**
|
|
125
|
+
* Enables Freemium for a self-paced draft or published program that requires
|
|
126
|
+
* payment according to Join Applications: a one-time price or an available
|
|
127
|
+
* pricing plan. Pricing-plan availability uses the member-facing benefit lookup.
|
|
128
|
+
*
|
|
129
|
+
* Success confirms the persisted setting, not divider readiness. Repeated
|
|
130
|
+
* requests for an eligible enabled program leave its revision unchanged.
|
|
131
|
+
* @param - ID of the program to enable Freemium for.
|
|
132
|
+
*/
|
|
133
|
+
(programId: string): Promise<NonNullablePaths<EnableProgramFreemiumResponse, `program.status` | `program.categoryIds` | `program.description.title` | `program.timeline.selfPaced` | `program.restrictions.hideFutureSteps` | `program.restrictions.resolveStepsInOrder` | `program.restrictions.shareProgress` | `program.restrictions.accessType` | `program.price.value` | `program.price.currency` | `program.seo.slug` | `program.seo.seoData.tags` | `program.seo.seoData.tags.${number}.type` | `program.seo.seoData.tags.${number}.children` | `program.seo.seoData.tags.${number}.custom` | `program.seo.seoData.tags.${number}.disabled` | `program.seo.seoData.settings.preventAutoRedirect` | `program.seo.seoData.settings.keywords` | `program.seo.seoData.settings.keywords.${number}.term` | `program.seo.seoData.settings.keywords.${number}.isMain` | `program.seo.imageAlt` | `program.seo.courseWorkload` | `program.rewards` | `program.rewards.${number}.trigger` | `program.rewards.${number}.certificate._id` | `program.shouldSendInvoice` | `program.videoStepsSettings.autoNavigate` | `program.videoStepsSettings.requiredCompletionPercentage` | `program.contentSummary.stepCount` | `program.contentSummary.sectionCount`, 6> & {
|
|
134
|
+
__applicationErrorsType?: EnableProgramFreemiumApplicationErrors;
|
|
135
|
+
}>;
|
|
136
|
+
}
|
|
137
|
+
/** @internal */
|
|
138
|
+
declare function disableProgramFreemium$1(httpClient: HttpClient): DisableProgramFreemiumSignature;
|
|
139
|
+
interface DisableProgramFreemiumSignature {
|
|
140
|
+
/**
|
|
141
|
+
* Disables Freemium without checking pricing eligibility or waiting for divider
|
|
142
|
+
* cleanup. Preview members are retained. Repeated requests for a disabled
|
|
143
|
+
* program leave its settings and revision unchanged.
|
|
144
|
+
* @param - ID of the program to disable Freemium for.
|
|
145
|
+
*/
|
|
146
|
+
(programId: string): Promise<NonNullablePaths<DisableProgramFreemiumResponse, `program.status` | `program.categoryIds` | `program.description.title` | `program.timeline.selfPaced` | `program.restrictions.hideFutureSteps` | `program.restrictions.resolveStepsInOrder` | `program.restrictions.shareProgress` | `program.restrictions.accessType` | `program.price.value` | `program.price.currency` | `program.seo.slug` | `program.seo.seoData.tags` | `program.seo.seoData.tags.${number}.type` | `program.seo.seoData.tags.${number}.children` | `program.seo.seoData.tags.${number}.custom` | `program.seo.seoData.tags.${number}.disabled` | `program.seo.seoData.settings.preventAutoRedirect` | `program.seo.seoData.settings.keywords` | `program.seo.seoData.settings.keywords.${number}.term` | `program.seo.seoData.settings.keywords.${number}.isMain` | `program.seo.imageAlt` | `program.seo.courseWorkload` | `program.rewards` | `program.rewards.${number}.trigger` | `program.rewards.${number}.certificate._id` | `program.shouldSendInvoice` | `program.videoStepsSettings.autoNavigate` | `program.videoStepsSettings.requiredCompletionPercentage` | `program.contentSummary.stepCount` | `program.contentSummary.sectionCount`, 6>>;
|
|
147
|
+
}
|
|
121
148
|
declare function bulkUpdatePrograms$1(httpClient: HttpClient): BulkUpdateProgramsSignature;
|
|
122
149
|
interface BulkUpdateProgramsSignature {
|
|
123
150
|
/**
|
|
@@ -166,6 +193,10 @@ declare const searchPrograms: MaybeContext<BuildRESTFunction<typeof searchProgra
|
|
|
166
193
|
declare const publishProgram: MaybeContext<BuildRESTFunction<typeof publishProgram$1> & typeof publishProgram$1>;
|
|
167
194
|
declare const endProgram: MaybeContext<BuildRESTFunction<typeof endProgram$1> & typeof endProgram$1>;
|
|
168
195
|
declare const archiveProgram: MaybeContext<BuildRESTFunction<typeof archiveProgram$1> & typeof archiveProgram$1>;
|
|
196
|
+
/** @internal */
|
|
197
|
+
declare const enableProgramFreemium: MaybeContext<BuildRESTFunction<typeof enableProgramFreemium$1> & typeof enableProgramFreemium$1>;
|
|
198
|
+
/** @internal */
|
|
199
|
+
declare const disableProgramFreemium: MaybeContext<BuildRESTFunction<typeof disableProgramFreemium$1> & typeof disableProgramFreemium$1>;
|
|
169
200
|
declare const bulkUpdatePrograms: MaybeContext<BuildRESTFunction<typeof bulkUpdatePrograms$1> & typeof bulkUpdatePrograms$1>;
|
|
170
201
|
declare const countPrograms: MaybeContext<BuildRESTFunction<typeof countPrograms$1> & typeof countPrograms$1>;
|
|
171
202
|
declare const listSamplePrograms: MaybeContext<BuildRESTFunction<typeof listSamplePrograms$1> & typeof listSamplePrograms$1>;
|
|
@@ -199,4 +230,4 @@ declare const onProgramPublished: BuildEventDefinition<typeof onProgramPublished
|
|
|
199
230
|
*/
|
|
200
231
|
declare const onProgramUpdated: BuildEventDefinition<typeof onProgramUpdated$1> & typeof onProgramUpdated$1;
|
|
201
232
|
|
|
202
|
-
export { ArchiveProgramResponse, BulkUpdateProgramsOptions, BulkUpdateProgramsResponse, CountProgramsOptions, CountProgramsResponse, DuplicateProgramResponse, EndProgramResponse, 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, getProgram, listSamplePrograms, onProgramArchived, onProgramCreated, onProgramDeleted, onProgramDuplicated, onProgramEnded, onProgramPublished, onProgramUpdated, publishProgram, queryPrograms, searchPrograms, updateProgram };
|
|
233
|
+
export { ArchiveProgramResponse, BulkUpdateProgramsOptions, BulkUpdateProgramsResponse, CountProgramsOptions, CountProgramsResponse, DisableProgramFreemiumResponse, DuplicateProgramResponse, EnableProgramFreemiumApplicationErrors, EnableProgramFreemiumResponse, EndProgramResponse, 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, getProgram, listSamplePrograms, onProgramArchived, onProgramCreated, onProgramDeleted, onProgramDuplicated, onProgramEnded, onProgramPublished, onProgramUpdated, publishProgram, queryPrograms, searchPrograms, updateProgram };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { bd as CursorSearch, S as SearchProgramsResponse } from './online-programs-v3-program-programs.universal-E5Ho5dcB.mjs';
|
|
2
|
+
export { u as AccessType, d5 as AccessTypeWithLiterals, cY as AccountInfo, c$ as AccountInfoMetadata, c4 as ActionEvent, cM as Address, cN as AddressHint, bf as Aggregation, bv as AggregationData, bg as AggregationKindOneOf, bO as AggregationResults, bP as AggregationResultsResultOneOf, bC as AggregationResultsScalarResult, H as AggregationType, dg as AggregationTypeWithLiterals, as as App, aP as ApplicationError, bS as ArchiveProgramRequest, A as ArchiveProgramResponse, cb as Asset, cZ as BaseEventMetadata, aQ as BulkActionMetadata, w as BulkActionType, d8 as BulkActionTypeWithLiterals, aK as BulkCreateProgramsMigrationRequest, aM as BulkCreateProgramsMigrationResponse, aN as BulkProgramResult, bW as BulkUpdateProgramResult, B as BulkUpdateProgramsOptions, bV as BulkUpdateProgramsRequest, h as BulkUpdateProgramsResponse, cP as BusinessSchedule, cK as Categories, ab as Certificate, ds as CommonQueryWithEntityContext, dt as CommonSearchWithEntityContext, cU as ConsentPolicy, ae as ContentSummary, C as CountProgramsOptions, bX as CountProgramsRequest, i as CountProgramsResponse, aI as CreateProgramRequest, aJ as CreateProgramResponse, b8 as CursorPaging, bu as CursorPagingMetadata, be as CursorSearchPagingMethodOneOf, bb as Cursors, aw as CustomTag, bn as DateHistogramAggregation, bK as DateHistogramResult, bM as DateHistogramResults, X as DayOfWeek, dp as DayOfWeekWithLiterals, aC as Delete, aR as DeleteAllProgramsMigrationRequest, aS as DeleteAllProgramsMigrationResponse, an as DeleteByFilterOperation, am as DeleteByIdsOperation, cf as DeleteContext, b1 as DeleteProgramRequest, b2 as DeleteProgramResponse, R as DeleteStatus, dl as DeleteStatusWithLiterals, _ as Description, $ as DescriptionMediaOneOf, bU as DisableProgramFreemiumRequest, g as DisableProgramFreemiumResponse, al as DocumentImage, ak as DocumentPayload, ai as DocumentUpdateOperation, b_ as DomainEvent, b$ as DomainEventBodyOneOf, aT as DuplicateProgramRequest, D as DuplicateProgramResponse, a$ as DuplicatedSlugErrorDetails, cE as EditorlessAssigned, cF as EditorlessUnassigned, c5 as Empty, f as EnableProgramFreemiumApplicationErrors, bT as EnableProgramFreemiumRequest, e as EnableProgramFreemiumResponse, bR as EndProgramRequest, E as EndProgramResponse, c0 as EntityCreatedEvent, c3 as EntityDeletedEvent, c2 as EntityUpdatedEvent, v as Enum, d7 as EnumWithLiterals, c_ as EventMetadata, ac as ExtendedFields, av as File, a0 as FocalPoint, af as FreemiumSettings, cO as GeoCoordinates, aU as GetProgramRequest, aV as GetProgramResponse, br as GroupByAggregation, bs as GroupByAggregationKindOneOf, bL as GroupByValueResults, cW as IdentificationData, cX as IdentificationDataIdOneOf, bi as IncludeMissingValuesOptions, aj as IndexDocument, I as Interval, df as IntervalWithLiterals, aq as InvalidateCache, ar as InvalidateCacheGetByOneOf, aO as ItemMetadata, a7 as Keyword, bZ as LabeledProgram, bY as ListSampleProgramsRequest, L as ListSampleProgramsResponse, cL as Locale, M as MaskedProgram, cV as MessageEnvelope, c9 as MetaSiteSpecialEvent, ca as MetaSiteSpecialEventPayloadOneOf, c8 as MissingMetasiteIdErrorDetails, F as MissingValues, dc as MissingValuesWithLiterals, J as Mode, dh as ModeWithLiterals, a4 as Money, cS as Multilingual, Q as Namespace, cp as NamespaceChanged, dk as NamespaceWithLiterals, bq as NestedAggregation, bo as NestedAggregationItem, bp as NestedAggregationItemKindOneOf, by as NestedAggregationResults, bz as NestedAggregationResultsResultOneOf, N as NestedAggregationType, de as NestedAggregationTypeWithLiterals, bH as NestedResultValue, bI as NestedResultValueResultOneOf, bN as NestedResults, bD as NestedValueAggregationResult, cu as OdeditorAssigned, cv as OdeditorUnassigned, at as Page, ax as Pages, b7 as Paging, ba as PagingMetadataV2, cw as PicassoAssigned, cx as PicassoUnassigned, W as PlacementType, dn as PlacementTypeWithLiterals, P as Program, aG as ProgramArchived, l as ProgramArchivedEnvelope, j as ProgramCreatedEnvelope, k as ProgramDeletedEnvelope, aH as ProgramDuplicated, m as ProgramDuplicatedEnvelope, aF as ProgramEnded, n as ProgramEndedEnvelope, aL as ProgramMigration, aE as ProgramPublished, o as ProgramPublishedEnvelope, r as ProgramQuery, d1 as ProgramQuerySpec, d2 as ProgramSearchSpec, p as ProgramUpdatedEnvelope, q as ProgramsQueryBuilder, d0 as ProgramsQueryResult, cJ as Properties, d as PublishProgramApplicationErrors, bQ as PublishProgramRequest, c as PublishProgramResponse, b3 as QueryProgramsRequest, b9 as QueryProgramsResponse, b4 as QueryV2, b5 as QueryV2PagingMethodOneOf, bl as RangeAggregation, bx as RangeAggregationResult, bh as RangeBucket, bF as RangeResult, bB as RangeResults, az as ReindexMessage, aA as ReindexMessageActionOneOf, Y as ResolutionMethod, dq as ResolutionMethodWithLiterals, c6 as ResolveProgramSlugRequest, c7 as ResolveProgramSlugResponse, c1 as RestoreInfo, a3 as Restrictions, bJ as Results, aa as Reward, bm as ScalarAggregation, bG as ScalarResult, G as ScalarType, dd as ScalarTypeWithLiterals, aD as Schema, bt as SearchDetails, cG as SearchIndexingNotification, V as SearchIndexingNotificationState, dm as SearchIndexingNotificationStateWithLiterals, bc as SearchProgramsRequest, a5 as Seo, a6 as SeoSchema, cl as ServiceProvisioned, cm as ServiceRemoved, a9 as Settings, cc as SiteCreated, O as SiteCreatedContext, dj as SiteCreatedContextWithLiterals, ce as SiteDeleted, co as SiteHardDeleted, cj as SiteMarkedAsTemplate, ck as SiteMarkedAsWixSite, cI as SitePropertiesEvent, cH as SitePropertiesUpdated, ch as SitePublished, ct as SitePurgedExternally, cn as SiteRenamed, cd as SiteTransferred, cg as SiteUndeleted, ci as SiteUnpublished, cs as SiteUrlChanged, z as SortDirection, db as SortDirectionWithLiterals, x as SortOrder, d9 as SortOrderWithLiterals, y as SortType, da as SortTypeWithLiterals, b6 as Sorting, cR as SpecialHourPeriod, K as State, di as StateWithLiterals, s as Status, d4 as StatusWithLiterals, cq as StudioAssigned, cA as StudioTwoAssigned, cB as StudioTwoUnassigned, cr as StudioUnassigned, cT as SupportedLanguage, a8 as Tag, cQ as TimePeriod, a2 as Timeline, b0 as TimelineSwitchForbiddenErrorDetails, T as Trigger, d6 as TriggerWithLiterals, au as URI, ay as URIs, ao as UpdateByFilterOperation, ag as UpdateDocumentsEvent, ah as UpdateDocumentsEventOperationOneOf, ap as UpdateExistingOperation, U as UpdateProgram, a as UpdateProgramApplicationErrors, aW as UpdateProgramRequest, aX as UpdateProgramResponse, aB as Upsert, cD as UserDomainMediaDisabled, cC as UserDomainMediaEnabled, bj as ValueAggregation, bk as ValueAggregationOptionsOneOf, bw as ValueAggregationResult, bE as ValueResult, bA as ValueResults, a1 as VideoResolution, ad as VideoStepsSettings, Z as WebhookIdentityType, dr as WebhookIdentityTypeWithLiterals, cy as WixelAssigned, cz as WixelUnassigned, a_ as WrongParticipantsNumberErrorDetails, aZ as WrongStartDateErrorDetails, aY as WrongStateErrorDetails, dJ as archiveProgram, dM as bulkUpdatePrograms, dN as countPrograms, dB as createProgram, dF as deleteProgram, dL as disableProgramFreemium, dC as duplicateProgram, dK as enableProgramFreemium, dI as endProgram, dD as getProgram, dO as listSamplePrograms, dw as onProgramArchived, du as onProgramCreated, dv as onProgramDeleted, dx as onProgramDuplicated, dy as onProgramEnded, dz as onProgramPublished, dA as onProgramUpdated, dH as publishProgram, dG as queryPrograms, t as typedQueryPrograms, dE as updateProgram, d3 as utils } from './online-programs-v3-program-programs.universal-E5Ho5dcB.mjs';
|
|
3
3
|
import '@wix/sdk-types';
|
|
4
4
|
|
|
5
5
|
/** @hidden */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aI as CreateProgramRequest$1, aJ as CreateProgramResponse$1, aT as DuplicateProgramRequest$1, D as DuplicateProgramResponse$1, aU as GetProgramRequest$1, aV as GetProgramResponse$1, aW as UpdateProgramRequest$1, aX as UpdateProgramResponse$1, b1 as DeleteProgramRequest$1, b2 as DeleteProgramResponse$1, b3 as QueryProgramsRequest$1, b9 as QueryProgramsResponse$1, bc as SearchProgramsRequest$1, S as SearchProgramsResponse$1, bQ as PublishProgramRequest$1, c as PublishProgramResponse$1, bR as EndProgramRequest$1, E as EndProgramResponse$1, bS as ArchiveProgramRequest$1, A as ArchiveProgramResponse$1, bT as EnableProgramFreemiumRequest$1, e as EnableProgramFreemiumResponse$1, bU as DisableProgramFreemiumRequest$1, g as DisableProgramFreemiumResponse$1, bV as BulkUpdateProgramsRequest$1, h as BulkUpdateProgramsResponse$1, bX as CountProgramsRequest$1, i as CountProgramsResponse$1, bY as ListSampleProgramsRequest$1, L as ListSampleProgramsResponse$1 } from './online-programs-v3-program-programs.universal-E5Ho5dcB.mjs';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -86,6 +86,13 @@ interface Program {
|
|
|
86
86
|
* @readonly
|
|
87
87
|
*/
|
|
88
88
|
ownerUserId?: string | null;
|
|
89
|
+
/**
|
|
90
|
+
* Freemium enablement. Absent settings mean Freemium is disabled.
|
|
91
|
+
* This field cannot be set through generic create or update operations.
|
|
92
|
+
* @internal
|
|
93
|
+
* @readonly
|
|
94
|
+
*/
|
|
95
|
+
freemiumSettings?: FreemiumSettings;
|
|
89
96
|
}
|
|
90
97
|
declare enum Status {
|
|
91
98
|
/** The program is editable and visible only in management contexts. */
|
|
@@ -566,6 +573,15 @@ interface ContentSummary {
|
|
|
566
573
|
*/
|
|
567
574
|
sectionCount?: number;
|
|
568
575
|
}
|
|
576
|
+
/** Program Freemium enablement settings. Divider placement is stored separately. */
|
|
577
|
+
interface FreemiumSettings {
|
|
578
|
+
/**
|
|
579
|
+
* Whether Freemium is enabled. Defaults to false.
|
|
580
|
+
* @internal
|
|
581
|
+
* @readonly
|
|
582
|
+
*/
|
|
583
|
+
enabled?: boolean;
|
|
584
|
+
}
|
|
569
585
|
interface UpdateDocumentsEvent extends UpdateDocumentsEventOperationOneOf {
|
|
570
586
|
/** insert/update documents */
|
|
571
587
|
update?: DocumentUpdateOperation;
|
|
@@ -1740,6 +1756,28 @@ interface ArchiveProgramResponse {
|
|
|
1740
1756
|
/** Archived program. */
|
|
1741
1757
|
program?: Program;
|
|
1742
1758
|
}
|
|
1759
|
+
interface EnableProgramFreemiumRequest {
|
|
1760
|
+
/**
|
|
1761
|
+
* ID of the program to enable Freemium for.
|
|
1762
|
+
* @format GUID
|
|
1763
|
+
*/
|
|
1764
|
+
programId: string;
|
|
1765
|
+
}
|
|
1766
|
+
interface EnableProgramFreemiumResponse {
|
|
1767
|
+
/** Program with the persisted Freemium setting. */
|
|
1768
|
+
program?: Program;
|
|
1769
|
+
}
|
|
1770
|
+
interface DisableProgramFreemiumRequest {
|
|
1771
|
+
/**
|
|
1772
|
+
* ID of the program to disable Freemium for.
|
|
1773
|
+
* @format GUID
|
|
1774
|
+
*/
|
|
1775
|
+
programId: string;
|
|
1776
|
+
}
|
|
1777
|
+
interface DisableProgramFreemiumResponse {
|
|
1778
|
+
/** Program with the persisted Freemium setting. */
|
|
1779
|
+
program?: Program;
|
|
1780
|
+
}
|
|
1743
1781
|
interface BulkUpdateProgramsRequest {
|
|
1744
1782
|
/**
|
|
1745
1783
|
* Programs to update. Each item contains partial program data.
|
|
@@ -2859,6 +2897,20 @@ type PublishProgramApplicationErrors = {
|
|
|
2859
2897
|
description?: string;
|
|
2860
2898
|
data?: Record<string, any>;
|
|
2861
2899
|
};
|
|
2900
|
+
/** @docsIgnore */
|
|
2901
|
+
type EnableProgramFreemiumApplicationErrors = {
|
|
2902
|
+
code?: 'FREEMIUM_PROGRAM_STATE_NOT_SUPPORTED';
|
|
2903
|
+
description?: string;
|
|
2904
|
+
data?: Record<string, any>;
|
|
2905
|
+
} | {
|
|
2906
|
+
code?: 'FREEMIUM_REQUIRES_SELF_PACED_PROGRAM';
|
|
2907
|
+
description?: string;
|
|
2908
|
+
data?: Record<string, any>;
|
|
2909
|
+
} | {
|
|
2910
|
+
code?: 'FREEMIUM_REQUIRES_PAID_ACCESS';
|
|
2911
|
+
description?: string;
|
|
2912
|
+
data?: Record<string, any>;
|
|
2913
|
+
};
|
|
2862
2914
|
|
|
2863
2915
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
2864
2916
|
getUrl: (context: any) => string;
|
|
@@ -2894,8 +2946,14 @@ declare function endProgram(): __PublicMethodMetaInfo<'POST', {
|
|
|
2894
2946
|
declare function archiveProgram(): __PublicMethodMetaInfo<'POST', {
|
|
2895
2947
|
programId: string;
|
|
2896
2948
|
}, ArchiveProgramRequest$1, ArchiveProgramRequest, ArchiveProgramResponse$1, ArchiveProgramResponse>;
|
|
2949
|
+
declare function enableProgramFreemium(): __PublicMethodMetaInfo<'POST', {
|
|
2950
|
+
programId: string;
|
|
2951
|
+
}, EnableProgramFreemiumRequest$1, EnableProgramFreemiumRequest, EnableProgramFreemiumResponse$1, EnableProgramFreemiumResponse>;
|
|
2952
|
+
declare function disableProgramFreemium(): __PublicMethodMetaInfo<'POST', {
|
|
2953
|
+
programId: string;
|
|
2954
|
+
}, DisableProgramFreemiumRequest$1, DisableProgramFreemiumRequest, DisableProgramFreemiumResponse$1, DisableProgramFreemiumResponse>;
|
|
2897
2955
|
declare function bulkUpdatePrograms(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateProgramsRequest$1, BulkUpdateProgramsRequest, BulkUpdateProgramsResponse$1, BulkUpdateProgramsResponse>;
|
|
2898
2956
|
declare function countPrograms(): __PublicMethodMetaInfo<'POST', {}, CountProgramsRequest$1, CountProgramsRequest, CountProgramsResponse$1, CountProgramsResponse>;
|
|
2899
2957
|
declare function listSamplePrograms(): __PublicMethodMetaInfo<'GET', {}, ListSampleProgramsRequest$1, ListSampleProgramsRequest, ListSampleProgramsResponse$1, ListSampleProgramsResponse>;
|
|
2900
2958
|
|
|
2901
|
-
export { AccessType as AccessTypeOriginal, type AccessTypeWithLiterals as AccessTypeWithLiteralsOriginal, type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddressHint as AddressHintOriginal, type Address as AddressOriginal, type AggregationData as AggregationDataOriginal, type AggregationKindOneOf as AggregationKindOneOfOriginal, type Aggregation as AggregationOriginal, type AggregationResults as AggregationResultsOriginal, type AggregationResultsResultOneOf as AggregationResultsResultOneOfOriginal, type AggregationResultsScalarResult as AggregationResultsScalarResultOriginal, AggregationType as AggregationTypeOriginal, type AggregationTypeWithLiterals as AggregationTypeWithLiteralsOriginal, type App as AppOriginal, type ApplicationError as ApplicationErrorOriginal, type ArchiveProgramRequest as ArchiveProgramRequestOriginal, type ArchiveProgramResponse as ArchiveProgramResponseOriginal, type Asset as AssetOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, BulkActionType as BulkActionTypeOriginal, type BulkActionTypeWithLiterals as BulkActionTypeWithLiteralsOriginal, type BulkCreateProgramsMigrationRequest as BulkCreateProgramsMigrationRequestOriginal, type BulkCreateProgramsMigrationResponse as BulkCreateProgramsMigrationResponseOriginal, type BulkProgramResult as BulkProgramResultOriginal, type BulkUpdateProgramResult as BulkUpdateProgramResultOriginal, type BulkUpdateProgramsRequest as BulkUpdateProgramsRequestOriginal, type BulkUpdateProgramsResponse as BulkUpdateProgramsResponseOriginal, type BusinessSchedule as BusinessScheduleOriginal, type Categories as CategoriesOriginal, type Certificate as CertificateOriginal, type ConsentPolicy as ConsentPolicyOriginal, type ContentSummary as ContentSummaryOriginal, type CountProgramsRequest as CountProgramsRequestOriginal, type CountProgramsResponse as CountProgramsResponseOriginal, type CreateProgramRequest as CreateProgramRequestOriginal, type CreateProgramResponse as CreateProgramResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorSearch as CursorSearchOriginal, type CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomTag as CustomTagOriginal, type DateHistogramAggregation as DateHistogramAggregationOriginal, type DateHistogramResult as DateHistogramResultOriginal, type DateHistogramResults as DateHistogramResultsOriginal, DayOfWeek as DayOfWeekOriginal, type DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal, type DeleteAllProgramsMigrationRequest as DeleteAllProgramsMigrationRequestOriginal, type DeleteAllProgramsMigrationResponse as DeleteAllProgramsMigrationResponseOriginal, type DeleteByFilterOperation as DeleteByFilterOperationOriginal, type DeleteByIdsOperation as DeleteByIdsOperationOriginal, type DeleteContext as DeleteContextOriginal, type Delete as DeleteOriginal, type DeleteProgramRequest as DeleteProgramRequestOriginal, type DeleteProgramResponse as DeleteProgramResponseOriginal, DeleteStatus as DeleteStatusOriginal, type DeleteStatusWithLiterals as DeleteStatusWithLiteralsOriginal, type DescriptionMediaOneOf as DescriptionMediaOneOfOriginal, type Description as DescriptionOriginal, type DocumentImage as DocumentImageOriginal, type DocumentPayload as DocumentPayloadOriginal, type DocumentUpdateOperation as DocumentUpdateOperationOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DuplicateProgramRequest as DuplicateProgramRequestOriginal, type DuplicateProgramResponse as DuplicateProgramResponseOriginal, type DuplicatedSlugErrorDetails as DuplicatedSlugErrorDetailsOriginal, type EditorlessAssigned as EditorlessAssignedOriginal, type EditorlessUnassigned as EditorlessUnassignedOriginal, type Empty as EmptyOriginal, type EndProgramRequest as EndProgramRequestOriginal, type EndProgramResponse as EndProgramResponseOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, Enum as EnumOriginal, type EnumWithLiterals as EnumWithLiteralsOriginal, type ExtendedFields as ExtendedFieldsOriginal, type File as FileOriginal, type FocalPoint as FocalPointOriginal, type GeoCoordinates as GeoCoordinatesOriginal, type GetProgramRequest as GetProgramRequestOriginal, type GetProgramResponse as GetProgramResponseOriginal, type GroupByAggregationKindOneOf as GroupByAggregationKindOneOfOriginal, type GroupByAggregation as GroupByAggregationOriginal, type GroupByValueResults as GroupByValueResultsOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type IncludeMissingValuesOptions as IncludeMissingValuesOptionsOriginal, type IndexDocument as IndexDocumentOriginal, Interval as IntervalOriginal, type IntervalWithLiterals as IntervalWithLiteralsOriginal, type InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal, type InvalidateCache as InvalidateCacheOriginal, type ItemMetadata as ItemMetadataOriginal, type Keyword as KeywordOriginal, type LabeledProgram as LabeledProgramOriginal, type ListSampleProgramsRequest as ListSampleProgramsRequestOriginal, type ListSampleProgramsResponse as ListSampleProgramsResponseOriginal, type Locale as LocaleOriginal, type MaskedProgram as MaskedProgramOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MetaSiteSpecialEvent as MetaSiteSpecialEventOriginal, type MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOfOriginal, type MissingMetasiteIdErrorDetails as MissingMetasiteIdErrorDetailsOriginal, MissingValues as MissingValuesOriginal, type MissingValuesWithLiterals as MissingValuesWithLiteralsOriginal, Mode as ModeOriginal, type ModeWithLiterals as ModeWithLiteralsOriginal, type Money as MoneyOriginal, type Multilingual as MultilingualOriginal, type NamespaceChanged as NamespaceChangedOriginal, Namespace as NamespaceOriginal, type NamespaceWithLiterals as NamespaceWithLiteralsOriginal, type NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOfOriginal, type NestedAggregationItem as NestedAggregationItemOriginal, type NestedAggregation as NestedAggregationOriginal, type NestedAggregationResults as NestedAggregationResultsOriginal, type NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOfOriginal, NestedAggregationType as NestedAggregationTypeOriginal, type NestedAggregationTypeWithLiterals as NestedAggregationTypeWithLiteralsOriginal, type NestedResultValue as NestedResultValueOriginal, type NestedResultValueResultOneOf as NestedResultValueResultOneOfOriginal, type NestedResults as NestedResultsOriginal, type NestedValueAggregationResult as NestedValueAggregationResultOriginal, type OdeditorAssigned as OdeditorAssignedOriginal, type OdeditorUnassigned as OdeditorUnassignedOriginal, type Page as PageOriginal, type PageUrl as PageUrlOriginal, type Pages as PagesOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type PicassoAssigned as PicassoAssignedOriginal, type PicassoUnassigned as PicassoUnassignedOriginal, PlacementType as PlacementTypeOriginal, type PlacementTypeWithLiterals as PlacementTypeWithLiteralsOriginal, type ProgramArchived as ProgramArchivedOriginal, type ProgramDuplicated as ProgramDuplicatedOriginal, type ProgramEnded as ProgramEndedOriginal, type ProgramMigration as ProgramMigrationOriginal, type Program as ProgramOriginal, type ProgramPublished as ProgramPublishedOriginal, type Properties as PropertiesOriginal, type PublishProgramApplicationErrors as PublishProgramApplicationErrorsOriginal, type PublishProgramRequest as PublishProgramRequestOriginal, type PublishProgramResponse as PublishProgramResponseOriginal, type QueryProgramsRequest as QueryProgramsRequestOriginal, type QueryProgramsResponse as QueryProgramsResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, type RangeAggregation as RangeAggregationOriginal, type RangeAggregationResult as RangeAggregationResultOriginal, type RangeBucket as RangeBucketOriginal, type RangeResult as RangeResultOriginal, type RangeResults as RangeResultsOriginal, type ReindexMessageActionOneOf as ReindexMessageActionOneOfOriginal, type ReindexMessage as ReindexMessageOriginal, ResolutionMethod as ResolutionMethodOriginal, type ResolutionMethodWithLiterals as ResolutionMethodWithLiteralsOriginal, type ResolveProgramSlugRequest as ResolveProgramSlugRequestOriginal, type ResolveProgramSlugResponse as ResolveProgramSlugResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type Restrictions as RestrictionsOriginal, type Results as ResultsOriginal, type Reward as RewardOriginal, type ScalarAggregation as ScalarAggregationOriginal, type ScalarResult as ScalarResultOriginal, ScalarType as ScalarTypeOriginal, type ScalarTypeWithLiterals as ScalarTypeWithLiteralsOriginal, type Schema as SchemaOriginal, type SearchDetails as SearchDetailsOriginal, type SearchIndexingNotification as SearchIndexingNotificationOriginal, SearchIndexingNotificationState as SearchIndexingNotificationStateOriginal, type SearchIndexingNotificationStateWithLiterals as SearchIndexingNotificationStateWithLiteralsOriginal, type SearchProgramsRequest as SearchProgramsRequestOriginal, type SearchProgramsResponse as SearchProgramsResponseOriginal, type Seo as SeoOriginal, type SeoSchema as SeoSchemaOriginal, type ServiceProvisioned as ServiceProvisionedOriginal, type ServiceRemoved as ServiceRemovedOriginal, type Settings as SettingsOriginal, SiteCreatedContext as SiteCreatedContextOriginal, type SiteCreatedContextWithLiterals as SiteCreatedContextWithLiteralsOriginal, type SiteCreated as SiteCreatedOriginal, type SiteDeleted as SiteDeletedOriginal, type SiteHardDeleted as SiteHardDeletedOriginal, type SiteMarkedAsTemplate as SiteMarkedAsTemplateOriginal, type SiteMarkedAsWixSite as SiteMarkedAsWixSiteOriginal, type SitePropertiesEvent as SitePropertiesEventOriginal, type SitePropertiesUpdated as SitePropertiesUpdatedOriginal, type SitePublished as SitePublishedOriginal, type SitePurgedExternally as SitePurgedExternallyOriginal, type SiteRenamed as SiteRenamedOriginal, type SiteTransferred as SiteTransferredOriginal, type SiteUndeleted as SiteUndeletedOriginal, type SiteUnpublished as SiteUnpublishedOriginal, type SiteUrlChanged as SiteUrlChangedOriginal, SortDirection as SortDirectionOriginal, type SortDirectionWithLiterals as SortDirectionWithLiteralsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, SortType as SortTypeOriginal, type SortTypeWithLiterals as SortTypeWithLiteralsOriginal, type Sorting as SortingOriginal, type SpecialHourPeriod as SpecialHourPeriodOriginal, State as StateOriginal, type StateWithLiterals as StateWithLiteralsOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type StudioAssigned as StudioAssignedOriginal, type StudioTwoAssigned as StudioTwoAssignedOriginal, type StudioTwoUnassigned as StudioTwoUnassignedOriginal, type StudioUnassigned as StudioUnassignedOriginal, type SupportedLanguage as SupportedLanguageOriginal, type Tag as TagOriginal, type TimePeriod as TimePeriodOriginal, type Timeline as TimelineOriginal, type TimelineSwitchForbiddenErrorDetails as TimelineSwitchForbiddenErrorDetailsOriginal, Trigger as TriggerOriginal, type TriggerWithLiterals as TriggerWithLiteralsOriginal, type URI as URIOriginal, type URIs as URIsOriginal, type UpdateByFilterOperation as UpdateByFilterOperationOriginal, type UpdateDocumentsEventOperationOneOf as UpdateDocumentsEventOperationOneOfOriginal, type UpdateDocumentsEvent as UpdateDocumentsEventOriginal, type UpdateExistingOperation as UpdateExistingOperationOriginal, type UpdateProgramApplicationErrors as UpdateProgramApplicationErrorsOriginal, type UpdateProgramRequest as UpdateProgramRequestOriginal, type UpdateProgramResponse as UpdateProgramResponseOriginal, type Upsert as UpsertOriginal, type UserDomainMediaDisabled as UserDomainMediaDisabledOriginal, type UserDomainMediaEnabled as UserDomainMediaEnabledOriginal, type ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOfOriginal, type ValueAggregation as ValueAggregationOriginal, type ValueAggregationResult as ValueAggregationResultOriginal, type ValueResult as ValueResultOriginal, type ValueResults as ValueResultsOriginal, type VideoResolution as VideoResolutionOriginal, type VideoStepsSettings as VideoStepsSettingsOriginal, type VideoV2 as VideoV2Original, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type WixelAssigned as WixelAssignedOriginal, type WixelUnassigned as WixelUnassignedOriginal, type WrongParticipantsNumberErrorDetails as WrongParticipantsNumberErrorDetailsOriginal, type WrongStartDateErrorDetails as WrongStartDateErrorDetailsOriginal, type WrongStateErrorDetails as WrongStateErrorDetailsOriginal, type __PublicMethodMetaInfo, archiveProgram, bulkUpdatePrograms, countPrograms, createProgram, deleteProgram, duplicateProgram, endProgram, getProgram, listSamplePrograms, publishProgram, queryPrograms, searchPrograms, updateProgram };
|
|
2959
|
+
export { AccessType as AccessTypeOriginal, type AccessTypeWithLiterals as AccessTypeWithLiteralsOriginal, type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddressHint as AddressHintOriginal, type Address as AddressOriginal, type AggregationData as AggregationDataOriginal, type AggregationKindOneOf as AggregationKindOneOfOriginal, type Aggregation as AggregationOriginal, type AggregationResults as AggregationResultsOriginal, type AggregationResultsResultOneOf as AggregationResultsResultOneOfOriginal, type AggregationResultsScalarResult as AggregationResultsScalarResultOriginal, AggregationType as AggregationTypeOriginal, type AggregationTypeWithLiterals as AggregationTypeWithLiteralsOriginal, type App as AppOriginal, type ApplicationError as ApplicationErrorOriginal, type ArchiveProgramRequest as ArchiveProgramRequestOriginal, type ArchiveProgramResponse as ArchiveProgramResponseOriginal, type Asset as AssetOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, BulkActionType as BulkActionTypeOriginal, type BulkActionTypeWithLiterals as BulkActionTypeWithLiteralsOriginal, type BulkCreateProgramsMigrationRequest as BulkCreateProgramsMigrationRequestOriginal, type BulkCreateProgramsMigrationResponse as BulkCreateProgramsMigrationResponseOriginal, type BulkProgramResult as BulkProgramResultOriginal, type BulkUpdateProgramResult as BulkUpdateProgramResultOriginal, type BulkUpdateProgramsRequest as BulkUpdateProgramsRequestOriginal, type BulkUpdateProgramsResponse as BulkUpdateProgramsResponseOriginal, type BusinessSchedule as BusinessScheduleOriginal, type Categories as CategoriesOriginal, type Certificate as CertificateOriginal, type ConsentPolicy as ConsentPolicyOriginal, type ContentSummary as ContentSummaryOriginal, type CountProgramsRequest as CountProgramsRequestOriginal, type CountProgramsResponse as CountProgramsResponseOriginal, type CreateProgramRequest as CreateProgramRequestOriginal, type CreateProgramResponse as CreateProgramResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorSearch as CursorSearchOriginal, type CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomTag as CustomTagOriginal, type DateHistogramAggregation as DateHistogramAggregationOriginal, type DateHistogramResult as DateHistogramResultOriginal, type DateHistogramResults as DateHistogramResultsOriginal, DayOfWeek as DayOfWeekOriginal, type DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal, type DeleteAllProgramsMigrationRequest as DeleteAllProgramsMigrationRequestOriginal, type DeleteAllProgramsMigrationResponse as DeleteAllProgramsMigrationResponseOriginal, type DeleteByFilterOperation as DeleteByFilterOperationOriginal, type DeleteByIdsOperation as DeleteByIdsOperationOriginal, type DeleteContext as DeleteContextOriginal, type Delete as DeleteOriginal, type DeleteProgramRequest as DeleteProgramRequestOriginal, type DeleteProgramResponse as DeleteProgramResponseOriginal, DeleteStatus as DeleteStatusOriginal, type DeleteStatusWithLiterals as DeleteStatusWithLiteralsOriginal, type DescriptionMediaOneOf as DescriptionMediaOneOfOriginal, type Description as DescriptionOriginal, type DisableProgramFreemiumRequest as DisableProgramFreemiumRequestOriginal, type DisableProgramFreemiumResponse as DisableProgramFreemiumResponseOriginal, type DocumentImage as DocumentImageOriginal, type DocumentPayload as DocumentPayloadOriginal, type DocumentUpdateOperation as DocumentUpdateOperationOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DuplicateProgramRequest as DuplicateProgramRequestOriginal, type DuplicateProgramResponse as DuplicateProgramResponseOriginal, type DuplicatedSlugErrorDetails as DuplicatedSlugErrorDetailsOriginal, type EditorlessAssigned as EditorlessAssignedOriginal, type EditorlessUnassigned as EditorlessUnassignedOriginal, type Empty as EmptyOriginal, type EnableProgramFreemiumApplicationErrors as EnableProgramFreemiumApplicationErrorsOriginal, type EnableProgramFreemiumRequest as EnableProgramFreemiumRequestOriginal, type EnableProgramFreemiumResponse as EnableProgramFreemiumResponseOriginal, type EndProgramRequest as EndProgramRequestOriginal, type EndProgramResponse as EndProgramResponseOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, Enum as EnumOriginal, type EnumWithLiterals as EnumWithLiteralsOriginal, type ExtendedFields as ExtendedFieldsOriginal, type File as FileOriginal, type FocalPoint as FocalPointOriginal, type FreemiumSettings as FreemiumSettingsOriginal, type GeoCoordinates as GeoCoordinatesOriginal, type GetProgramRequest as GetProgramRequestOriginal, type GetProgramResponse as GetProgramResponseOriginal, type GroupByAggregationKindOneOf as GroupByAggregationKindOneOfOriginal, type GroupByAggregation as GroupByAggregationOriginal, type GroupByValueResults as GroupByValueResultsOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type IncludeMissingValuesOptions as IncludeMissingValuesOptionsOriginal, type IndexDocument as IndexDocumentOriginal, Interval as IntervalOriginal, type IntervalWithLiterals as IntervalWithLiteralsOriginal, type InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal, type InvalidateCache as InvalidateCacheOriginal, type ItemMetadata as ItemMetadataOriginal, type Keyword as KeywordOriginal, type LabeledProgram as LabeledProgramOriginal, type ListSampleProgramsRequest as ListSampleProgramsRequestOriginal, type ListSampleProgramsResponse as ListSampleProgramsResponseOriginal, type Locale as LocaleOriginal, type MaskedProgram as MaskedProgramOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MetaSiteSpecialEvent as MetaSiteSpecialEventOriginal, type MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOfOriginal, type MissingMetasiteIdErrorDetails as MissingMetasiteIdErrorDetailsOriginal, MissingValues as MissingValuesOriginal, type MissingValuesWithLiterals as MissingValuesWithLiteralsOriginal, Mode as ModeOriginal, type ModeWithLiterals as ModeWithLiteralsOriginal, type Money as MoneyOriginal, type Multilingual as MultilingualOriginal, type NamespaceChanged as NamespaceChangedOriginal, Namespace as NamespaceOriginal, type NamespaceWithLiterals as NamespaceWithLiteralsOriginal, type NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOfOriginal, type NestedAggregationItem as NestedAggregationItemOriginal, type NestedAggregation as NestedAggregationOriginal, type NestedAggregationResults as NestedAggregationResultsOriginal, type NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOfOriginal, NestedAggregationType as NestedAggregationTypeOriginal, type NestedAggregationTypeWithLiterals as NestedAggregationTypeWithLiteralsOriginal, type NestedResultValue as NestedResultValueOriginal, type NestedResultValueResultOneOf as NestedResultValueResultOneOfOriginal, type NestedResults as NestedResultsOriginal, type NestedValueAggregationResult as NestedValueAggregationResultOriginal, type OdeditorAssigned as OdeditorAssignedOriginal, type OdeditorUnassigned as OdeditorUnassignedOriginal, type Page as PageOriginal, type PageUrl as PageUrlOriginal, type Pages as PagesOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type PicassoAssigned as PicassoAssignedOriginal, type PicassoUnassigned as PicassoUnassignedOriginal, PlacementType as PlacementTypeOriginal, type PlacementTypeWithLiterals as PlacementTypeWithLiteralsOriginal, type ProgramArchived as ProgramArchivedOriginal, type ProgramDuplicated as ProgramDuplicatedOriginal, type ProgramEnded as ProgramEndedOriginal, type ProgramMigration as ProgramMigrationOriginal, type Program as ProgramOriginal, type ProgramPublished as ProgramPublishedOriginal, type Properties as PropertiesOriginal, type PublishProgramApplicationErrors as PublishProgramApplicationErrorsOriginal, type PublishProgramRequest as PublishProgramRequestOriginal, type PublishProgramResponse as PublishProgramResponseOriginal, type QueryProgramsRequest as QueryProgramsRequestOriginal, type QueryProgramsResponse as QueryProgramsResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, type RangeAggregation as RangeAggregationOriginal, type RangeAggregationResult as RangeAggregationResultOriginal, type RangeBucket as RangeBucketOriginal, type RangeResult as RangeResultOriginal, type RangeResults as RangeResultsOriginal, type ReindexMessageActionOneOf as ReindexMessageActionOneOfOriginal, type ReindexMessage as ReindexMessageOriginal, ResolutionMethod as ResolutionMethodOriginal, type ResolutionMethodWithLiterals as ResolutionMethodWithLiteralsOriginal, type ResolveProgramSlugRequest as ResolveProgramSlugRequestOriginal, type ResolveProgramSlugResponse as ResolveProgramSlugResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type Restrictions as RestrictionsOriginal, type Results as ResultsOriginal, type Reward as RewardOriginal, type ScalarAggregation as ScalarAggregationOriginal, type ScalarResult as ScalarResultOriginal, ScalarType as ScalarTypeOriginal, type ScalarTypeWithLiterals as ScalarTypeWithLiteralsOriginal, type Schema as SchemaOriginal, type SearchDetails as SearchDetailsOriginal, type SearchIndexingNotification as SearchIndexingNotificationOriginal, SearchIndexingNotificationState as SearchIndexingNotificationStateOriginal, type SearchIndexingNotificationStateWithLiterals as SearchIndexingNotificationStateWithLiteralsOriginal, type SearchProgramsRequest as SearchProgramsRequestOriginal, type SearchProgramsResponse as SearchProgramsResponseOriginal, type Seo as SeoOriginal, type SeoSchema as SeoSchemaOriginal, type ServiceProvisioned as ServiceProvisionedOriginal, type ServiceRemoved as ServiceRemovedOriginal, type Settings as SettingsOriginal, SiteCreatedContext as SiteCreatedContextOriginal, type SiteCreatedContextWithLiterals as SiteCreatedContextWithLiteralsOriginal, type SiteCreated as SiteCreatedOriginal, type SiteDeleted as SiteDeletedOriginal, type SiteHardDeleted as SiteHardDeletedOriginal, type SiteMarkedAsTemplate as SiteMarkedAsTemplateOriginal, type SiteMarkedAsWixSite as SiteMarkedAsWixSiteOriginal, type SitePropertiesEvent as SitePropertiesEventOriginal, type SitePropertiesUpdated as SitePropertiesUpdatedOriginal, type SitePublished as SitePublishedOriginal, type SitePurgedExternally as SitePurgedExternallyOriginal, type SiteRenamed as SiteRenamedOriginal, type SiteTransferred as SiteTransferredOriginal, type SiteUndeleted as SiteUndeletedOriginal, type SiteUnpublished as SiteUnpublishedOriginal, type SiteUrlChanged as SiteUrlChangedOriginal, SortDirection as SortDirectionOriginal, type SortDirectionWithLiterals as SortDirectionWithLiteralsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, SortType as SortTypeOriginal, type SortTypeWithLiterals as SortTypeWithLiteralsOriginal, type Sorting as SortingOriginal, type SpecialHourPeriod as SpecialHourPeriodOriginal, State as StateOriginal, type StateWithLiterals as StateWithLiteralsOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type StudioAssigned as StudioAssignedOriginal, type StudioTwoAssigned as StudioTwoAssignedOriginal, type StudioTwoUnassigned as StudioTwoUnassignedOriginal, type StudioUnassigned as StudioUnassignedOriginal, type SupportedLanguage as SupportedLanguageOriginal, type Tag as TagOriginal, type TimePeriod as TimePeriodOriginal, type Timeline as TimelineOriginal, type TimelineSwitchForbiddenErrorDetails as TimelineSwitchForbiddenErrorDetailsOriginal, Trigger as TriggerOriginal, type TriggerWithLiterals as TriggerWithLiteralsOriginal, type URI as URIOriginal, type URIs as URIsOriginal, type UpdateByFilterOperation as UpdateByFilterOperationOriginal, type UpdateDocumentsEventOperationOneOf as UpdateDocumentsEventOperationOneOfOriginal, type UpdateDocumentsEvent as UpdateDocumentsEventOriginal, type UpdateExistingOperation as UpdateExistingOperationOriginal, type UpdateProgramApplicationErrors as UpdateProgramApplicationErrorsOriginal, type UpdateProgramRequest as UpdateProgramRequestOriginal, type UpdateProgramResponse as UpdateProgramResponseOriginal, type Upsert as UpsertOriginal, type UserDomainMediaDisabled as UserDomainMediaDisabledOriginal, type UserDomainMediaEnabled as UserDomainMediaEnabledOriginal, type ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOfOriginal, type ValueAggregation as ValueAggregationOriginal, type ValueAggregationResult as ValueAggregationResultOriginal, type ValueResult as ValueResultOriginal, type ValueResults as ValueResultsOriginal, type VideoResolution as VideoResolutionOriginal, type VideoStepsSettings as VideoStepsSettingsOriginal, type VideoV2 as VideoV2Original, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type WixelAssigned as WixelAssignedOriginal, type WixelUnassigned as WixelUnassignedOriginal, type WrongParticipantsNumberErrorDetails as WrongParticipantsNumberErrorDetailsOriginal, type WrongStartDateErrorDetails as WrongStartDateErrorDetailsOriginal, type WrongStateErrorDetails as WrongStateErrorDetailsOriginal, type __PublicMethodMetaInfo, archiveProgram, bulkUpdatePrograms, countPrograms, createProgram, deleteProgram, disableProgramFreemium, duplicateProgram, enableProgramFreemium, endProgram, getProgram, listSamplePrograms, publishProgram, queryPrograms, searchPrograms, updateProgram };
|