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