@wix/auto_sdk_online-programs_programs 1.0.41 → 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.
@@ -789,6 +789,22 @@ interface ProgramDuplicated {
789
789
  /** Whether the program was cloned from a template. */
790
790
  fromTemplate?: boolean;
791
791
  }
792
+ /** Triggered when a program's Freemium setting changes to enabled. */
793
+ interface ProgramFreemiumEnabled {
794
+ /**
795
+ * Snapshot of the program after the mode change committed.
796
+ * @internal
797
+ */
798
+ program?: Program;
799
+ }
800
+ /** Triggered when a program's Freemium setting changes to disabled. */
801
+ interface ProgramFreemiumDisabled {
802
+ /**
803
+ * Snapshot of the program after the mode change committed.
804
+ * @internal
805
+ */
806
+ program?: Program;
807
+ }
792
808
  interface CreateProgramRequest {
793
809
  /** Program to create. Server-generated fields such as `id`, `revision`, status, dates, owner, and content summary are ignored on create. */
794
810
  program: Program;
@@ -3570,4 +3586,4 @@ interface CountProgramsOptions {
3570
3586
  */
3571
3587
  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>>;
3572
3588
 
3573
- 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 };
3589
+ 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 WrongStartDateErrorDetails 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 ProgramFreemiumEnabled as aI, type ProgramFreemiumDisabled as aJ, type CreateProgramRequest as aK, type CreateProgramResponse as aL, type BulkCreateProgramsMigrationRequest as aM, type ProgramMigration as aN, type BulkCreateProgramsMigrationResponse as aO, type BulkProgramResult as aP, type ItemMetadata as aQ, type ApplicationError as aR, type BulkActionMetadata as aS, type DeleteAllProgramsMigrationRequest as aT, type DeleteAllProgramsMigrationResponse as aU, type DuplicateProgramRequest as aV, type GetProgramRequest as aW, type GetProgramResponse as aX, type UpdateProgramRequest as aY, type UpdateProgramResponse as aZ, type WrongStateErrorDetails 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 LabeledProgram as b$, type WrongParticipantsNumberErrorDetails as b0, type DuplicatedSlugErrorDetails as b1, type TimelineSwitchForbiddenErrorDetails as b2, type DeleteProgramRequest as b3, type DeleteProgramResponse as b4, type QueryProgramsRequest as b5, type QueryV2 as b6, type QueryV2PagingMethodOneOf as b7, type Sorting as b8, type Paging as b9, type NestedAggregationResults as bA, type NestedAggregationResultsResultOneOf as bB, type ValueResults as bC, type RangeResults as bD, type AggregationResultsScalarResult as bE, type NestedValueAggregationResult as bF, type ValueResult as bG, type RangeResult as bH, type ScalarResult as bI, type NestedResultValue as bJ, type NestedResultValueResultOneOf as bK, type Results as bL, type DateHistogramResult as bM, type GroupByValueResults as bN, type DateHistogramResults as bO, type NestedResults as bP, type AggregationResults as bQ, type AggregationResultsResultOneOf as bR, type PublishProgramRequest as bS, type EndProgramRequest as bT, type ArchiveProgramRequest as bU, type EnableProgramFreemiumRequest as bV, type DisableProgramFreemiumRequest as bW, type BulkUpdateProgramsRequest as bX, type BulkUpdateProgramResult as bY, type CountProgramsRequest as bZ, type ListSampleProgramsRequest as b_, type CursorPaging as ba, type QueryProgramsResponse as bb, type PagingMetadataV2 as bc, type Cursors as bd, type SearchProgramsRequest as be, type CursorSearch as bf, type CursorSearchPagingMethodOneOf as bg, type Aggregation as bh, type AggregationKindOneOf as bi, type RangeBucket as bj, type IncludeMissingValuesOptions as bk, type ValueAggregation as bl, type ValueAggregationOptionsOneOf as bm, type RangeAggregation as bn, type ScalarAggregation as bo, type DateHistogramAggregation as bp, type NestedAggregationItem as bq, type NestedAggregationItemKindOneOf as br, type NestedAggregation as bs, type GroupByAggregation as bt, type GroupByAggregationKindOneOf as bu, type SearchDetails as bv, type CursorPagingMetadata as bw, type AggregationData as bx, type ValueAggregationResult as by, type RangeAggregationResult as bz, type PublishProgramResponse as c, type BaseEventMetadata as c$, type DomainEvent as c0, type DomainEventBodyOneOf as c1, type EntityCreatedEvent as c2, type RestoreInfo as c3, type EntityUpdatedEvent as c4, type EntityDeletedEvent as c5, type ActionEvent as c6, type Empty as c7, type ResolveProgramSlugRequest as c8, type ResolveProgramSlugResponse as c9, type WixelAssigned as cA, type WixelUnassigned as cB, type StudioTwoAssigned as cC, type StudioTwoUnassigned as cD, type UserDomainMediaEnabled as cE, type UserDomainMediaDisabled as cF, type EditorlessAssigned as cG, type EditorlessUnassigned as cH, type SearchIndexingNotification as cI, type SitePropertiesUpdated as cJ, type SitePropertiesEvent as cK, type Properties as cL, type Categories as cM, type Locale as cN, type Address as cO, type AddressHint as cP, type GeoCoordinates as cQ, type BusinessSchedule as cR, type TimePeriod as cS, type SpecialHourPeriod as cT, type Multilingual as cU, type SupportedLanguage as cV, type ConsentPolicy as cW, type MessageEnvelope as cX, type IdentificationData as cY, type IdentificationDataIdOneOf as cZ, type AccountInfo as c_, type MissingMetasiteIdErrorDetails as ca, type MetaSiteSpecialEvent as cb, type MetaSiteSpecialEventPayloadOneOf as cc, type Asset as cd, type SiteCreated as ce, type SiteTransferred as cf, type SiteDeleted as cg, type DeleteContext as ch, type SiteUndeleted as ci, type SitePublished as cj, type SiteUnpublished as ck, type SiteMarkedAsTemplate as cl, type SiteMarkedAsWixSite as cm, type ServiceProvisioned as cn, type ServiceRemoved as co, type SiteRenamed as cp, type SiteHardDeleted as cq, type NamespaceChanged as cr, type StudioAssigned as cs, type StudioUnassigned as ct, type SiteUrlChanged as cu, type SitePurgedExternally as cv, type OdeditorAssigned as cw, type OdeditorUnassigned as cx, type PicassoAssigned as cy, type PicassoUnassigned as cz, type PublishProgramApplicationErrors as d, type EventMetadata as d0, type AccountInfoMetadata as d1, type ProgramsQueryResult as d2, type ProgramQuerySpec as d3, type ProgramSearchSpec as d4, utils as d5, type StatusWithLiterals as d6, type AccessTypeWithLiterals as d7, type TriggerWithLiterals as d8, type EnumWithLiterals 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, enableProgramFreemium as dM, disableProgramFreemium as dN, bulkUpdatePrograms as dO, countPrograms as dP, listSamplePrograms as dQ, type BulkActionTypeWithLiterals as da, type SortOrderWithLiterals as db, type SortTypeWithLiterals as dc, type SortDirectionWithLiterals as dd, type MissingValuesWithLiterals as de, type ScalarTypeWithLiterals as df, type NestedAggregationTypeWithLiterals as dg, type IntervalWithLiterals as dh, type AggregationTypeWithLiterals as di, type ModeWithLiterals as dj, type StateWithLiterals as dk, type SiteCreatedContextWithLiterals as dl, type NamespaceWithLiterals as dm, type DeleteStatusWithLiterals as dn, type SearchIndexingNotificationStateWithLiterals as dp, type PlacementTypeWithLiterals as dq, type DayOfWeekWithLiterals as dr, type ResolutionMethodWithLiterals as ds, type WebhookIdentityTypeWithLiterals as dt, type CommonQueryWithEntityContext as du, type CommonSearchWithEntityContext as dv, onProgramCreated as dw, onProgramDeleted as dx, onProgramArchived as dy, onProgramDuplicated 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_online-programs_programs",
3
- "version": "1.0.41",
3
+ "version": "1.0.42",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -50,5 +50,5 @@
50
50
  "fqdn": "wix.online_programs.v3.program"
51
51
  }
52
52
  },
53
- "falconPackageHash": "435651e9dfb517692850af6aee45bef522b367d537e78593eb7c36cd"
53
+ "falconPackageHash": "7c92f64347d7bf2ab6c2cfd557a4cd753280debd3b751926dca3e8d9"
54
54
  }