@wix/auto_sdk_online-programs_programs 1.0.36 → 1.0.38

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.
Files changed (29) hide show
  1. package/build/cjs/index.d.ts +23 -9
  2. package/build/cjs/index.js +4 -4
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +2 -2
  5. package/build/cjs/index.typings.js +4 -4
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +5 -5
  8. package/build/cjs/meta.js +4 -4
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/{online-programs-v3-program-programs.universal-OTa3YFTd.d.ts → online-programs-v3-program-programs.universal-Z6YlRtAm.d.ts} +25 -11
  11. package/build/es/index.d.mts +23 -9
  12. package/build/es/index.mjs +4 -4
  13. package/build/es/index.mjs.map +1 -1
  14. package/build/es/index.typings.d.mts +2 -2
  15. package/build/es/index.typings.mjs +4 -4
  16. package/build/es/index.typings.mjs.map +1 -1
  17. package/build/es/meta.d.mts +5 -5
  18. package/build/es/meta.mjs +4 -4
  19. package/build/es/meta.mjs.map +1 -1
  20. package/build/es/{online-programs-v3-program-programs.universal-OTa3YFTd.d.mts → online-programs-v3-program-programs.universal-Z6YlRtAm.d.mts} +25 -11
  21. package/build/internal/cjs/index.d.ts +23 -9
  22. package/build/internal/cjs/index.typings.d.ts +2 -2
  23. package/build/internal/cjs/meta.d.ts +5 -5
  24. package/build/internal/cjs/{online-programs-v3-program-programs.universal-CZBplA-8.d.ts → online-programs-v3-program-programs.universal-D_zbRqi7.d.ts} +25 -11
  25. package/build/internal/es/index.d.mts +23 -9
  26. package/build/internal/es/index.typings.d.mts +2 -2
  27. package/build/internal/es/meta.d.mts +5 -5
  28. package/build/internal/es/{online-programs-v3-program-programs.universal-CZBplA-8.d.mts → online-programs-v3-program-programs.universal-D_zbRqi7.d.mts} +25 -11
  29. package/package.json +2 -2
@@ -687,24 +687,24 @@ interface Schema {
687
687
  label?: string;
688
688
  clusterName?: string;
689
689
  }
690
- /** Domain event emitted when a program is published. */
690
+ /** Triggered when a program is published. */
691
691
  interface ProgramPublished {
692
692
  /** Snapshot of the program after it was published. */
693
693
  program?: Program;
694
694
  }
695
- /** Domain event emitted when a program ends. */
695
+ /** Triggered when a program ends, either automatically or manually by the owner. */
696
696
  interface ProgramEnded {
697
697
  /** Whether the program was ended manually by the owner. */
698
698
  endedByOwner?: boolean;
699
699
  /** Snapshot of the program after it ended. */
700
700
  program?: Program;
701
701
  }
702
- /** Domain event emitted when a program is archived. */
702
+ /** Triggered when a program is archived. */
703
703
  interface ProgramArchived {
704
704
  /** Snapshot of the program after it was archived. */
705
705
  program?: Program;
706
706
  }
707
- /** Domain event emitted when a program is duplicated. */
707
+ /** Triggered when a program is duplicated. */
708
708
  interface ProgramDuplicated {
709
709
  /** Newly created program. */
710
710
  program?: Program;
@@ -2655,7 +2655,9 @@ interface ProgramCreatedEnvelope {
2655
2655
  entity: Program;
2656
2656
  metadata: EventMetadata;
2657
2657
  }
2658
- /** @permissionScope Manage Online Programs
2658
+ /**
2659
+ * Triggered when a program is created.
2660
+ * @permissionScope Manage Online Programs
2659
2661
  * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2660
2662
  * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2661
2663
  * @webhook
@@ -2667,7 +2669,9 @@ declare function onProgramCreated(handler: (event: ProgramCreatedEnvelope) => vo
2667
2669
  interface ProgramDeletedEnvelope {
2668
2670
  metadata: EventMetadata;
2669
2671
  }
2670
- /** @permissionScope Manage Online Programs
2672
+ /**
2673
+ * Triggered when a program is deleted.
2674
+ * @permissionScope Manage Online Programs
2671
2675
  * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2672
2676
  * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2673
2677
  * @webhook
@@ -2680,7 +2684,9 @@ interface ProgramArchivedEnvelope {
2680
2684
  data: ProgramArchived;
2681
2685
  metadata: EventMetadata;
2682
2686
  }
2683
- /** @permissionScope Manage Online Programs
2687
+ /**
2688
+ * Triggered when a program is archived.
2689
+ * @permissionScope Manage Online Programs
2684
2690
  * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2685
2691
  * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2686
2692
  * @webhook
@@ -2693,7 +2699,9 @@ interface ProgramDuplicatedEnvelope {
2693
2699
  data: ProgramDuplicated;
2694
2700
  metadata: EventMetadata;
2695
2701
  }
2696
- /** @permissionScope Manage Online Programs
2702
+ /**
2703
+ * Triggered when a program is duplicated.
2704
+ * @permissionScope Manage Online Programs
2697
2705
  * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2698
2706
  * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2699
2707
  * @webhook
@@ -2706,7 +2714,9 @@ interface ProgramEndedEnvelope {
2706
2714
  data: ProgramEnded;
2707
2715
  metadata: EventMetadata;
2708
2716
  }
2709
- /** @permissionScope Manage Online Programs
2717
+ /**
2718
+ * Triggered when a program ends, either automatically or manually by the owner.
2719
+ * @permissionScope Manage Online Programs
2710
2720
  * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2711
2721
  * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2712
2722
  * @webhook
@@ -2719,7 +2729,9 @@ interface ProgramPublishedEnvelope {
2719
2729
  data: ProgramPublished;
2720
2730
  metadata: EventMetadata;
2721
2731
  }
2722
- /** @permissionScope Manage Online Programs
2732
+ /**
2733
+ * Triggered when a program is published.
2734
+ * @permissionScope Manage Online Programs
2723
2735
  * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2724
2736
  * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2725
2737
  * @webhook
@@ -2734,7 +2746,9 @@ interface ProgramUpdatedEnvelope {
2734
2746
  /** @hidden */
2735
2747
  modifiedFields: Record<string, any>;
2736
2748
  }
2737
- /** @permissionScope Manage Online Programs
2749
+ /**
2750
+ * Triggered when a program is updated.
2751
+ * @permissionScope Manage Online Programs
2738
2752
  * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2739
2753
  * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2740
2754
  * @webhook
@@ -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-CZBplA-8.js';
3
- export { q as AccessType, c$ as AccessTypeWithLiterals, cS as AccountInfo, cV as AccountInfoMetadata, b_ as ActionEvent, cG as Address, cH as AddressHint, bb as Aggregation, br as AggregationData, bc as AggregationKindOneOf, bK as AggregationResults, bL as AggregationResultsResultOneOf, by as AggregationResultsScalarResult, z as AggregationType, da as AggregationTypeWithLiterals, ao as App, aL as ApplicationError, bO as ArchiveProgramRequest, c5 as Asset, cT as BaseEventMetadata, aM as BulkActionMetadata, s as BulkActionType, d2 as BulkActionTypeWithLiterals, aG as BulkCreateProgramsMigrationRequest, aI as BulkCreateProgramsMigrationResponse, aJ as BulkProgramResult, bQ as BulkUpdateProgramResult, bP as BulkUpdateProgramsRequest, cJ as BusinessSchedule, cE as Categories, a8 as Certificate, dl as CommonQueryWithEntityContext, dm as CommonSearchWithEntityContext, cO as ConsentPolicy, ab as ContentSummary, bR as CountProgramsRequest, aE as CreateProgramRequest, aF as CreateProgramResponse, b4 as CursorPaging, bq as CursorPagingMetadata, b9 as CursorSearch, ba as CursorSearchPagingMethodOneOf, b7 as Cursors, as as CustomTag, bj as DateHistogramAggregation, bG as DateHistogramResult, bI as DateHistogramResults, R as DayOfWeek, di as DayOfWeekWithLiterals, ay as Delete, aN as DeleteAllProgramsMigrationRequest, aO as DeleteAllProgramsMigrationResponse, aj as DeleteByFilterOperation, ai as DeleteByIdsOperation, c9 as DeleteContext, aZ as DeleteProgramRequest, a_ as DeleteProgramResponse, K as DeleteStatus, df as DeleteStatusWithLiterals, X as Description, Y as DescriptionMediaOneOf, ah as DocumentImage, ag as DocumentPayload, ae as DocumentUpdateOperation, bU as DomainEvent, bV as DomainEventBodyOneOf, aP as DuplicateProgramRequest, aX as DuplicatedSlugErrorDetails, cy as EditorlessAssigned, cz as EditorlessUnassigned, b$ as Empty, bN as EndProgramRequest, bW as EntityCreatedEvent, bZ as EntityDeletedEvent, bY as EntityUpdatedEvent, r as Enum, d1 as EnumWithLiterals, cU as EventMetadata, a9 as ExtendedFields, ar as File, Z as FocalPoint, cI as GeoCoordinates, aQ as GetProgramRequest, aR as GetProgramResponse, bn as GroupByAggregation, bo as GroupByAggregationKindOneOf, bH as GroupByValueResults, cQ as IdentificationData, cR as IdentificationDataIdOneOf, be as IncludeMissingValuesOptions, af as IndexDocument, I as Interval, d9 as IntervalWithLiterals, am as InvalidateCache, an as InvalidateCacheGetByOneOf, aK as ItemMetadata, a4 as Keyword, bT as LabeledProgram, bS as ListSampleProgramsRequest, cF as Locale, cP as MessageEnvelope, c3 as MetaSiteSpecialEvent, c4 as MetaSiteSpecialEventPayloadOneOf, c2 as MissingMetasiteIdErrorDetails, x as MissingValues, d6 as MissingValuesWithLiterals, F as Mode, db as ModeWithLiterals, a1 as Money, cM as Multilingual, J as Namespace, cj as NamespaceChanged, de as NamespaceWithLiterals, bm as NestedAggregation, bk as NestedAggregationItem, bl as NestedAggregationItemKindOneOf, bu as NestedAggregationResults, bv as NestedAggregationResultsResultOneOf, N as NestedAggregationType, d8 as NestedAggregationTypeWithLiterals, bD as NestedResultValue, bE as NestedResultValueResultOneOf, bJ as NestedResults, bz as NestedValueAggregationResult, co as OdeditorAssigned, cp as OdeditorUnassigned, ap as Page, at as Pages, b3 as Paging, b6 as PagingMetadataV2, cq as PicassoAssigned, cr as PicassoUnassigned, Q as PlacementType, dh as PlacementTypeWithLiterals, aC as ProgramArchived, aD as ProgramDuplicated, aB as ProgramEnded, aH as ProgramMigration, aA as ProgramPublished, cX as ProgramQuerySpec, cY as ProgramSearchSpec, cW as ProgramsQueryResult, cD as Properties, bM as PublishProgramRequest, a$ as QueryProgramsRequest, b5 as QueryProgramsResponse, b0 as QueryV2, b1 as QueryV2PagingMethodOneOf, bh as RangeAggregation, bt as RangeAggregationResult, bd as RangeBucket, bB as RangeResult, bx as RangeResults, av as ReindexMessage, aw as ReindexMessageActionOneOf, V as ResolutionMethod, dj as ResolutionMethodWithLiterals, c0 as ResolveProgramSlugRequest, c1 as ResolveProgramSlugResponse, bX as RestoreInfo, a0 as Restrictions, bF as Results, a7 as Reward, bi as ScalarAggregation, bC as ScalarResult, y as ScalarType, d7 as ScalarTypeWithLiterals, az as Schema, bp as SearchDetails, cA as SearchIndexingNotification, O as SearchIndexingNotificationState, dg as SearchIndexingNotificationStateWithLiterals, b8 as SearchProgramsRequest, a2 as Seo, a3 as SeoSchema, cf as ServiceProvisioned, cg as ServiceRemoved, a6 as Settings, c6 as SiteCreated, H as SiteCreatedContext, dd as SiteCreatedContextWithLiterals, c8 as SiteDeleted, ci as SiteHardDeleted, cd as SiteMarkedAsTemplate, ce as SiteMarkedAsWixSite, cC as SitePropertiesEvent, cB as SitePropertiesUpdated, cb as SitePublished, cn as SitePurgedExternally, ch as SiteRenamed, c7 as SiteTransferred, ca as SiteUndeleted, cc as SiteUnpublished, cm as SiteUrlChanged, w as SortDirection, d5 as SortDirectionWithLiterals, u as SortOrder, d3 as SortOrderWithLiterals, v as SortType, d4 as SortTypeWithLiterals, b2 as Sorting, cL as SpecialHourPeriod, G as State, dc as StateWithLiterals, p as Status, c_ as StatusWithLiterals, ck as StudioAssigned, cu as StudioTwoAssigned, cv as StudioTwoUnassigned, cl as StudioUnassigned, cN as SupportedLanguage, a5 as Tag, cK as TimePeriod, $ as Timeline, aY as TimelineSwitchForbiddenErrorDetails, T as Trigger, d0 as TriggerWithLiterals, aq as URI, au as URIs, ak as UpdateByFilterOperation, ac as UpdateDocumentsEvent, ad as UpdateDocumentsEventOperationOneOf, al as UpdateExistingOperation, aS as UpdateProgramRequest, aT as UpdateProgramResponse, ax as Upsert, cx as UserDomainMediaDisabled, cw as UserDomainMediaEnabled, bf as ValueAggregation, bg as ValueAggregationOptionsOneOf, bs as ValueAggregationResult, bA as ValueResult, bw as ValueResults, _ as VideoResolution, aa as VideoStepsSettings, W as WebhookIdentityType, dk as WebhookIdentityTypeWithLiterals, cs as WixelAssigned, ct as WixelUnassigned, aW as WrongParticipantsNumberErrorDetails, aV as WrongStartDateErrorDetails, aU as WrongStateErrorDetails, cZ as utils } from './online-programs-v3-program-programs.universal-CZBplA-8.js';
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-D_zbRqi7.js';
3
+ export { q as AccessType, c$ as AccessTypeWithLiterals, cS as AccountInfo, cV as AccountInfoMetadata, b_ as ActionEvent, cG as Address, cH as AddressHint, bb as Aggregation, br as AggregationData, bc as AggregationKindOneOf, bK as AggregationResults, bL as AggregationResultsResultOneOf, by as AggregationResultsScalarResult, z as AggregationType, da as AggregationTypeWithLiterals, ao as App, aL as ApplicationError, bO as ArchiveProgramRequest, c5 as Asset, cT as BaseEventMetadata, aM as BulkActionMetadata, s as BulkActionType, d2 as BulkActionTypeWithLiterals, aG as BulkCreateProgramsMigrationRequest, aI as BulkCreateProgramsMigrationResponse, aJ as BulkProgramResult, bQ as BulkUpdateProgramResult, bP as BulkUpdateProgramsRequest, cJ as BusinessSchedule, cE as Categories, a8 as Certificate, dl as CommonQueryWithEntityContext, dm as CommonSearchWithEntityContext, cO as ConsentPolicy, ab as ContentSummary, bR as CountProgramsRequest, aE as CreateProgramRequest, aF as CreateProgramResponse, b4 as CursorPaging, bq as CursorPagingMetadata, b9 as CursorSearch, ba as CursorSearchPagingMethodOneOf, b7 as Cursors, as as CustomTag, bj as DateHistogramAggregation, bG as DateHistogramResult, bI as DateHistogramResults, R as DayOfWeek, di as DayOfWeekWithLiterals, ay as Delete, aN as DeleteAllProgramsMigrationRequest, aO as DeleteAllProgramsMigrationResponse, aj as DeleteByFilterOperation, ai as DeleteByIdsOperation, c9 as DeleteContext, aZ as DeleteProgramRequest, a_ as DeleteProgramResponse, K as DeleteStatus, df as DeleteStatusWithLiterals, X as Description, Y as DescriptionMediaOneOf, ah as DocumentImage, ag as DocumentPayload, ae as DocumentUpdateOperation, bU as DomainEvent, bV as DomainEventBodyOneOf, aP as DuplicateProgramRequest, aX as DuplicatedSlugErrorDetails, cy as EditorlessAssigned, cz as EditorlessUnassigned, b$ as Empty, bN as EndProgramRequest, bW as EntityCreatedEvent, bZ as EntityDeletedEvent, bY as EntityUpdatedEvent, r as Enum, d1 as EnumWithLiterals, cU as EventMetadata, a9 as ExtendedFields, ar as File, Z as FocalPoint, cI as GeoCoordinates, aQ as GetProgramRequest, aR as GetProgramResponse, bn as GroupByAggregation, bo as GroupByAggregationKindOneOf, bH as GroupByValueResults, cQ as IdentificationData, cR as IdentificationDataIdOneOf, be as IncludeMissingValuesOptions, af as IndexDocument, I as Interval, d9 as IntervalWithLiterals, am as InvalidateCache, an as InvalidateCacheGetByOneOf, aK as ItemMetadata, a4 as Keyword, bT as LabeledProgram, bS as ListSampleProgramsRequest, cF as Locale, cP as MessageEnvelope, c3 as MetaSiteSpecialEvent, c4 as MetaSiteSpecialEventPayloadOneOf, c2 as MissingMetasiteIdErrorDetails, x as MissingValues, d6 as MissingValuesWithLiterals, F as Mode, db as ModeWithLiterals, a1 as Money, cM as Multilingual, J as Namespace, cj as NamespaceChanged, de as NamespaceWithLiterals, bm as NestedAggregation, bk as NestedAggregationItem, bl as NestedAggregationItemKindOneOf, bu as NestedAggregationResults, bv as NestedAggregationResultsResultOneOf, N as NestedAggregationType, d8 as NestedAggregationTypeWithLiterals, bD as NestedResultValue, bE as NestedResultValueResultOneOf, bJ as NestedResults, bz as NestedValueAggregationResult, co as OdeditorAssigned, cp as OdeditorUnassigned, ap as Page, at as Pages, b3 as Paging, b6 as PagingMetadataV2, cq as PicassoAssigned, cr as PicassoUnassigned, Q as PlacementType, dh as PlacementTypeWithLiterals, aC as ProgramArchived, aD as ProgramDuplicated, aB as ProgramEnded, aH as ProgramMigration, aA as ProgramPublished, cX as ProgramQuerySpec, cY as ProgramSearchSpec, cW as ProgramsQueryResult, cD as Properties, bM as PublishProgramRequest, a$ as QueryProgramsRequest, b5 as QueryProgramsResponse, b0 as QueryV2, b1 as QueryV2PagingMethodOneOf, bh as RangeAggregation, bt as RangeAggregationResult, bd as RangeBucket, bB as RangeResult, bx as RangeResults, av as ReindexMessage, aw as ReindexMessageActionOneOf, V as ResolutionMethod, dj as ResolutionMethodWithLiterals, c0 as ResolveProgramSlugRequest, c1 as ResolveProgramSlugResponse, bX as RestoreInfo, a0 as Restrictions, bF as Results, a7 as Reward, bi as ScalarAggregation, bC as ScalarResult, y as ScalarType, d7 as ScalarTypeWithLiterals, az as Schema, bp as SearchDetails, cA as SearchIndexingNotification, O as SearchIndexingNotificationState, dg as SearchIndexingNotificationStateWithLiterals, b8 as SearchProgramsRequest, a2 as Seo, a3 as SeoSchema, cf as ServiceProvisioned, cg as ServiceRemoved, a6 as Settings, c6 as SiteCreated, H as SiteCreatedContext, dd as SiteCreatedContextWithLiterals, c8 as SiteDeleted, ci as SiteHardDeleted, cd as SiteMarkedAsTemplate, ce as SiteMarkedAsWixSite, cC as SitePropertiesEvent, cB as SitePropertiesUpdated, cb as SitePublished, cn as SitePurgedExternally, ch as SiteRenamed, c7 as SiteTransferred, ca as SiteUndeleted, cc as SiteUnpublished, cm as SiteUrlChanged, w as SortDirection, d5 as SortDirectionWithLiterals, u as SortOrder, d3 as SortOrderWithLiterals, v as SortType, d4 as SortTypeWithLiterals, b2 as Sorting, cL as SpecialHourPeriod, G as State, dc as StateWithLiterals, p as Status, c_ as StatusWithLiterals, ck as StudioAssigned, cu as StudioTwoAssigned, cv as StudioTwoUnassigned, cl as StudioUnassigned, cN as SupportedLanguage, a5 as Tag, cK as TimePeriod, $ as Timeline, aY as TimelineSwitchForbiddenErrorDetails, T as Trigger, d0 as TriggerWithLiterals, aq as URI, au as URIs, ak as UpdateByFilterOperation, ac as UpdateDocumentsEvent, ad as UpdateDocumentsEventOperationOneOf, al as UpdateExistingOperation, aS as UpdateProgramRequest, aT as UpdateProgramResponse, ax as Upsert, cx as UserDomainMediaDisabled, cw as UserDomainMediaEnabled, bf as ValueAggregation, bg as ValueAggregationOptionsOneOf, bs as ValueAggregationResult, bA as ValueResult, bw as ValueResults, _ as VideoResolution, aa as VideoStepsSettings, W as WebhookIdentityType, dk as WebhookIdentityTypeWithLiterals, cs as WixelAssigned, ct as WixelUnassigned, aW as WrongParticipantsNumberErrorDetails, aV as WrongStartDateErrorDetails, aU as WrongStateErrorDetails, cZ as utils } from './online-programs-v3-program-programs.universal-D_zbRqi7.js';
4
4
 
5
5
  declare function createProgram$1(httpClient: HttpClient): CreateProgramSignature;
6
6
  interface CreateProgramSignature {
@@ -170,19 +170,33 @@ declare const bulkUpdatePrograms: MaybeContext<BuildRESTFunction<typeof bulkUpda
170
170
  declare const countPrograms: MaybeContext<BuildRESTFunction<typeof countPrograms$1> & typeof countPrograms$1>;
171
171
  declare const listSamplePrograms: MaybeContext<BuildRESTFunction<typeof listSamplePrograms$1> & typeof listSamplePrograms$1>;
172
172
  declare const queryPrograms: MaybeContext<BuildRESTFunction<typeof customQueryPrograms> & typeof customQueryPrograms>;
173
- /** */
173
+ /**
174
+ * Triggered when a program is created.
175
+ */
174
176
  declare const onProgramCreated: BuildEventDefinition<typeof onProgramCreated$1> & typeof onProgramCreated$1;
175
- /** */
177
+ /**
178
+ * Triggered when a program is deleted.
179
+ */
176
180
  declare const onProgramDeleted: BuildEventDefinition<typeof onProgramDeleted$1> & typeof onProgramDeleted$1;
177
- /** */
181
+ /**
182
+ * Triggered when a program is archived.
183
+ */
178
184
  declare const onProgramArchived: BuildEventDefinition<typeof onProgramArchived$1> & typeof onProgramArchived$1;
179
- /** */
185
+ /**
186
+ * Triggered when a program is duplicated.
187
+ */
180
188
  declare const onProgramDuplicated: BuildEventDefinition<typeof onProgramDuplicated$1> & typeof onProgramDuplicated$1;
181
- /** */
189
+ /**
190
+ * Triggered when a program ends, either automatically or manually by the owner.
191
+ */
182
192
  declare const onProgramEnded: BuildEventDefinition<typeof onProgramEnded$1> & typeof onProgramEnded$1;
183
- /** */
193
+ /**
194
+ * Triggered when a program is published.
195
+ */
184
196
  declare const onProgramPublished: BuildEventDefinition<typeof onProgramPublished$1> & typeof onProgramPublished$1;
185
- /** */
197
+ /**
198
+ * Triggered when a program is updated.
199
+ */
186
200
  declare const onProgramUpdated: BuildEventDefinition<typeof onProgramUpdated$1> & typeof onProgramUpdated$1;
187
201
 
188
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 };
@@ -1,5 +1,5 @@
1
- import { b9 as CursorSearch, S as SearchProgramsResponse } from './online-programs-v3-program-programs.universal-CZBplA-8.js';
2
- export { q as AccessType, c$ as AccessTypeWithLiterals, cS as AccountInfo, cV as AccountInfoMetadata, b_ as ActionEvent, cG as Address, cH as AddressHint, bb as Aggregation, br as AggregationData, bc as AggregationKindOneOf, bK as AggregationResults, bL as AggregationResultsResultOneOf, by as AggregationResultsScalarResult, z as AggregationType, da as AggregationTypeWithLiterals, ao as App, aL as ApplicationError, bO as ArchiveProgramRequest, A as ArchiveProgramResponse, c5 as Asset, cT as BaseEventMetadata, aM as BulkActionMetadata, s as BulkActionType, d2 as BulkActionTypeWithLiterals, aG as BulkCreateProgramsMigrationRequest, aI as BulkCreateProgramsMigrationResponse, aJ as BulkProgramResult, bQ as BulkUpdateProgramResult, B as BulkUpdateProgramsOptions, bP as BulkUpdateProgramsRequest, e as BulkUpdateProgramsResponse, cJ as BusinessSchedule, cE as Categories, a8 as Certificate, dl as CommonQueryWithEntityContext, dm as CommonSearchWithEntityContext, cO as ConsentPolicy, ab as ContentSummary, C as CountProgramsOptions, bR as CountProgramsRequest, f as CountProgramsResponse, aE as CreateProgramRequest, aF as CreateProgramResponse, b4 as CursorPaging, bq as CursorPagingMetadata, ba as CursorSearchPagingMethodOneOf, b7 as Cursors, as as CustomTag, bj as DateHistogramAggregation, bG as DateHistogramResult, bI as DateHistogramResults, R as DayOfWeek, di as DayOfWeekWithLiterals, ay as Delete, aN as DeleteAllProgramsMigrationRequest, aO as DeleteAllProgramsMigrationResponse, aj as DeleteByFilterOperation, ai as DeleteByIdsOperation, c9 as DeleteContext, aZ as DeleteProgramRequest, a_ as DeleteProgramResponse, K as DeleteStatus, df as DeleteStatusWithLiterals, X as Description, Y as DescriptionMediaOneOf, ah as DocumentImage, ag as DocumentPayload, ae as DocumentUpdateOperation, bU as DomainEvent, bV as DomainEventBodyOneOf, aP as DuplicateProgramRequest, D as DuplicateProgramResponse, aX as DuplicatedSlugErrorDetails, cy as EditorlessAssigned, cz as EditorlessUnassigned, b$ as Empty, bN as EndProgramRequest, E as EndProgramResponse, bW as EntityCreatedEvent, bZ as EntityDeletedEvent, bY as EntityUpdatedEvent, r as Enum, d1 as EnumWithLiterals, cU as EventMetadata, a9 as ExtendedFields, ar as File, Z as FocalPoint, cI as GeoCoordinates, aQ as GetProgramRequest, aR as GetProgramResponse, bn as GroupByAggregation, bo as GroupByAggregationKindOneOf, bH as GroupByValueResults, cQ as IdentificationData, cR as IdentificationDataIdOneOf, be as IncludeMissingValuesOptions, af as IndexDocument, I as Interval, d9 as IntervalWithLiterals, am as InvalidateCache, an as InvalidateCacheGetByOneOf, aK as ItemMetadata, a4 as Keyword, bT as LabeledProgram, bS as ListSampleProgramsRequest, L as ListSampleProgramsResponse, cF as Locale, M as MaskedProgram, cP as MessageEnvelope, c3 as MetaSiteSpecialEvent, c4 as MetaSiteSpecialEventPayloadOneOf, c2 as MissingMetasiteIdErrorDetails, x as MissingValues, d6 as MissingValuesWithLiterals, F as Mode, db as ModeWithLiterals, a1 as Money, cM as Multilingual, J as Namespace, cj as NamespaceChanged, de as NamespaceWithLiterals, bm as NestedAggregation, bk as NestedAggregationItem, bl as NestedAggregationItemKindOneOf, bu as NestedAggregationResults, bv as NestedAggregationResultsResultOneOf, N as NestedAggregationType, d8 as NestedAggregationTypeWithLiterals, bD as NestedResultValue, bE as NestedResultValueResultOneOf, bJ as NestedResults, bz as NestedValueAggregationResult, co as OdeditorAssigned, cp as OdeditorUnassigned, ap as Page, at as Pages, b3 as Paging, b6 as PagingMetadataV2, cq as PicassoAssigned, cr as PicassoUnassigned, Q as PlacementType, dh as PlacementTypeWithLiterals, P as Program, aC as ProgramArchived, i as ProgramArchivedEnvelope, g as ProgramCreatedEnvelope, h as ProgramDeletedEnvelope, aD as ProgramDuplicated, j as ProgramDuplicatedEnvelope, aB as ProgramEnded, k as ProgramEndedEnvelope, aH as ProgramMigration, aA as ProgramPublished, l as ProgramPublishedEnvelope, o as ProgramQuery, cX as ProgramQuerySpec, cY as ProgramSearchSpec, m as ProgramUpdatedEnvelope, n as ProgramsQueryBuilder, cW as ProgramsQueryResult, cD as Properties, d as PublishProgramApplicationErrors, bM as PublishProgramRequest, c as PublishProgramResponse, a$ as QueryProgramsRequest, b5 as QueryProgramsResponse, b0 as QueryV2, b1 as QueryV2PagingMethodOneOf, bh as RangeAggregation, bt as RangeAggregationResult, bd as RangeBucket, bB as RangeResult, bx as RangeResults, av as ReindexMessage, aw as ReindexMessageActionOneOf, V as ResolutionMethod, dj as ResolutionMethodWithLiterals, c0 as ResolveProgramSlugRequest, c1 as ResolveProgramSlugResponse, bX as RestoreInfo, a0 as Restrictions, bF as Results, a7 as Reward, bi as ScalarAggregation, bC as ScalarResult, y as ScalarType, d7 as ScalarTypeWithLiterals, az as Schema, bp as SearchDetails, cA as SearchIndexingNotification, O as SearchIndexingNotificationState, dg as SearchIndexingNotificationStateWithLiterals, b8 as SearchProgramsRequest, a2 as Seo, a3 as SeoSchema, cf as ServiceProvisioned, cg as ServiceRemoved, a6 as Settings, c6 as SiteCreated, H as SiteCreatedContext, dd as SiteCreatedContextWithLiterals, c8 as SiteDeleted, ci as SiteHardDeleted, cd as SiteMarkedAsTemplate, ce as SiteMarkedAsWixSite, cC as SitePropertiesEvent, cB as SitePropertiesUpdated, cb as SitePublished, cn as SitePurgedExternally, ch as SiteRenamed, c7 as SiteTransferred, ca as SiteUndeleted, cc as SiteUnpublished, cm as SiteUrlChanged, w as SortDirection, d5 as SortDirectionWithLiterals, u as SortOrder, d3 as SortOrderWithLiterals, v as SortType, d4 as SortTypeWithLiterals, b2 as Sorting, cL as SpecialHourPeriod, G as State, dc as StateWithLiterals, p as Status, c_ as StatusWithLiterals, ck as StudioAssigned, cu as StudioTwoAssigned, cv as StudioTwoUnassigned, cl as StudioUnassigned, cN as SupportedLanguage, a5 as Tag, cK as TimePeriod, $ as Timeline, aY as TimelineSwitchForbiddenErrorDetails, T as Trigger, d0 as TriggerWithLiterals, aq as URI, au as URIs, ak as UpdateByFilterOperation, ac as UpdateDocumentsEvent, ad as UpdateDocumentsEventOperationOneOf, al as UpdateExistingOperation, U as UpdateProgram, a as UpdateProgramApplicationErrors, aS as UpdateProgramRequest, aT as UpdateProgramResponse, ax as Upsert, cx as UserDomainMediaDisabled, cw as UserDomainMediaEnabled, bf as ValueAggregation, bg as ValueAggregationOptionsOneOf, bs as ValueAggregationResult, bA as ValueResult, bw as ValueResults, _ as VideoResolution, aa as VideoStepsSettings, W as WebhookIdentityType, dk as WebhookIdentityTypeWithLiterals, cs as WixelAssigned, ct as WixelUnassigned, aW as WrongParticipantsNumberErrorDetails, aV as WrongStartDateErrorDetails, aU as WrongStateErrorDetails, dD as archiveProgram, dE as bulkUpdatePrograms, dF as countPrograms, dv as createProgram, dz as deleteProgram, dw as duplicateProgram, dC as endProgram, dx as getProgram, dG as listSamplePrograms, dq as onProgramArchived, dn as onProgramCreated, dp as onProgramDeleted, dr as onProgramDuplicated, ds as onProgramEnded, dt as onProgramPublished, du as onProgramUpdated, dB as publishProgram, dA as queryPrograms, t as typedQueryPrograms, dy as updateProgram, cZ as utils } from './online-programs-v3-program-programs.universal-CZBplA-8.js';
1
+ import { b9 as CursorSearch, S as SearchProgramsResponse } from './online-programs-v3-program-programs.universal-D_zbRqi7.js';
2
+ export { q as AccessType, c$ as AccessTypeWithLiterals, cS as AccountInfo, cV as AccountInfoMetadata, b_ as ActionEvent, cG as Address, cH as AddressHint, bb as Aggregation, br as AggregationData, bc as AggregationKindOneOf, bK as AggregationResults, bL as AggregationResultsResultOneOf, by as AggregationResultsScalarResult, z as AggregationType, da as AggregationTypeWithLiterals, ao as App, aL as ApplicationError, bO as ArchiveProgramRequest, A as ArchiveProgramResponse, c5 as Asset, cT as BaseEventMetadata, aM as BulkActionMetadata, s as BulkActionType, d2 as BulkActionTypeWithLiterals, aG as BulkCreateProgramsMigrationRequest, aI as BulkCreateProgramsMigrationResponse, aJ as BulkProgramResult, bQ as BulkUpdateProgramResult, B as BulkUpdateProgramsOptions, bP as BulkUpdateProgramsRequest, e as BulkUpdateProgramsResponse, cJ as BusinessSchedule, cE as Categories, a8 as Certificate, dl as CommonQueryWithEntityContext, dm as CommonSearchWithEntityContext, cO as ConsentPolicy, ab as ContentSummary, C as CountProgramsOptions, bR as CountProgramsRequest, f as CountProgramsResponse, aE as CreateProgramRequest, aF as CreateProgramResponse, b4 as CursorPaging, bq as CursorPagingMetadata, ba as CursorSearchPagingMethodOneOf, b7 as Cursors, as as CustomTag, bj as DateHistogramAggregation, bG as DateHistogramResult, bI as DateHistogramResults, R as DayOfWeek, di as DayOfWeekWithLiterals, ay as Delete, aN as DeleteAllProgramsMigrationRequest, aO as DeleteAllProgramsMigrationResponse, aj as DeleteByFilterOperation, ai as DeleteByIdsOperation, c9 as DeleteContext, aZ as DeleteProgramRequest, a_ as DeleteProgramResponse, K as DeleteStatus, df as DeleteStatusWithLiterals, X as Description, Y as DescriptionMediaOneOf, ah as DocumentImage, ag as DocumentPayload, ae as DocumentUpdateOperation, bU as DomainEvent, bV as DomainEventBodyOneOf, aP as DuplicateProgramRequest, D as DuplicateProgramResponse, aX as DuplicatedSlugErrorDetails, cy as EditorlessAssigned, cz as EditorlessUnassigned, b$ as Empty, bN as EndProgramRequest, E as EndProgramResponse, bW as EntityCreatedEvent, bZ as EntityDeletedEvent, bY as EntityUpdatedEvent, r as Enum, d1 as EnumWithLiterals, cU as EventMetadata, a9 as ExtendedFields, ar as File, Z as FocalPoint, cI as GeoCoordinates, aQ as GetProgramRequest, aR as GetProgramResponse, bn as GroupByAggregation, bo as GroupByAggregationKindOneOf, bH as GroupByValueResults, cQ as IdentificationData, cR as IdentificationDataIdOneOf, be as IncludeMissingValuesOptions, af as IndexDocument, I as Interval, d9 as IntervalWithLiterals, am as InvalidateCache, an as InvalidateCacheGetByOneOf, aK as ItemMetadata, a4 as Keyword, bT as LabeledProgram, bS as ListSampleProgramsRequest, L as ListSampleProgramsResponse, cF as Locale, M as MaskedProgram, cP as MessageEnvelope, c3 as MetaSiteSpecialEvent, c4 as MetaSiteSpecialEventPayloadOneOf, c2 as MissingMetasiteIdErrorDetails, x as MissingValues, d6 as MissingValuesWithLiterals, F as Mode, db as ModeWithLiterals, a1 as Money, cM as Multilingual, J as Namespace, cj as NamespaceChanged, de as NamespaceWithLiterals, bm as NestedAggregation, bk as NestedAggregationItem, bl as NestedAggregationItemKindOneOf, bu as NestedAggregationResults, bv as NestedAggregationResultsResultOneOf, N as NestedAggregationType, d8 as NestedAggregationTypeWithLiterals, bD as NestedResultValue, bE as NestedResultValueResultOneOf, bJ as NestedResults, bz as NestedValueAggregationResult, co as OdeditorAssigned, cp as OdeditorUnassigned, ap as Page, at as Pages, b3 as Paging, b6 as PagingMetadataV2, cq as PicassoAssigned, cr as PicassoUnassigned, Q as PlacementType, dh as PlacementTypeWithLiterals, P as Program, aC as ProgramArchived, i as ProgramArchivedEnvelope, g as ProgramCreatedEnvelope, h as ProgramDeletedEnvelope, aD as ProgramDuplicated, j as ProgramDuplicatedEnvelope, aB as ProgramEnded, k as ProgramEndedEnvelope, aH as ProgramMigration, aA as ProgramPublished, l as ProgramPublishedEnvelope, o as ProgramQuery, cX as ProgramQuerySpec, cY as ProgramSearchSpec, m as ProgramUpdatedEnvelope, n as ProgramsQueryBuilder, cW as ProgramsQueryResult, cD as Properties, d as PublishProgramApplicationErrors, bM as PublishProgramRequest, c as PublishProgramResponse, a$ as QueryProgramsRequest, b5 as QueryProgramsResponse, b0 as QueryV2, b1 as QueryV2PagingMethodOneOf, bh as RangeAggregation, bt as RangeAggregationResult, bd as RangeBucket, bB as RangeResult, bx as RangeResults, av as ReindexMessage, aw as ReindexMessageActionOneOf, V as ResolutionMethod, dj as ResolutionMethodWithLiterals, c0 as ResolveProgramSlugRequest, c1 as ResolveProgramSlugResponse, bX as RestoreInfo, a0 as Restrictions, bF as Results, a7 as Reward, bi as ScalarAggregation, bC as ScalarResult, y as ScalarType, d7 as ScalarTypeWithLiterals, az as Schema, bp as SearchDetails, cA as SearchIndexingNotification, O as SearchIndexingNotificationState, dg as SearchIndexingNotificationStateWithLiterals, b8 as SearchProgramsRequest, a2 as Seo, a3 as SeoSchema, cf as ServiceProvisioned, cg as ServiceRemoved, a6 as Settings, c6 as SiteCreated, H as SiteCreatedContext, dd as SiteCreatedContextWithLiterals, c8 as SiteDeleted, ci as SiteHardDeleted, cd as SiteMarkedAsTemplate, ce as SiteMarkedAsWixSite, cC as SitePropertiesEvent, cB as SitePropertiesUpdated, cb as SitePublished, cn as SitePurgedExternally, ch as SiteRenamed, c7 as SiteTransferred, ca as SiteUndeleted, cc as SiteUnpublished, cm as SiteUrlChanged, w as SortDirection, d5 as SortDirectionWithLiterals, u as SortOrder, d3 as SortOrderWithLiterals, v as SortType, d4 as SortTypeWithLiterals, b2 as Sorting, cL as SpecialHourPeriod, G as State, dc as StateWithLiterals, p as Status, c_ as StatusWithLiterals, ck as StudioAssigned, cu as StudioTwoAssigned, cv as StudioTwoUnassigned, cl as StudioUnassigned, cN as SupportedLanguage, a5 as Tag, cK as TimePeriod, $ as Timeline, aY as TimelineSwitchForbiddenErrorDetails, T as Trigger, d0 as TriggerWithLiterals, aq as URI, au as URIs, ak as UpdateByFilterOperation, ac as UpdateDocumentsEvent, ad as UpdateDocumentsEventOperationOneOf, al as UpdateExistingOperation, U as UpdateProgram, a as UpdateProgramApplicationErrors, aS as UpdateProgramRequest, aT as UpdateProgramResponse, ax as Upsert, cx as UserDomainMediaDisabled, cw as UserDomainMediaEnabled, bf as ValueAggregation, bg as ValueAggregationOptionsOneOf, bs as ValueAggregationResult, bA as ValueResult, bw as ValueResults, _ as VideoResolution, aa as VideoStepsSettings, W as WebhookIdentityType, dk as WebhookIdentityTypeWithLiterals, cs as WixelAssigned, ct as WixelUnassigned, aW as WrongParticipantsNumberErrorDetails, aV as WrongStartDateErrorDetails, aU as WrongStateErrorDetails, dD as archiveProgram, dE as bulkUpdatePrograms, dF as countPrograms, dv as createProgram, dz as deleteProgram, dw as duplicateProgram, dC as endProgram, dx as getProgram, dG as listSamplePrograms, dq as onProgramArchived, dn as onProgramCreated, dp as onProgramDeleted, dr as onProgramDuplicated, ds as onProgramEnded, dt as onProgramPublished, du as onProgramUpdated, dB as publishProgram, dA as queryPrograms, t as typedQueryPrograms, dy as updateProgram, cZ as utils } from './online-programs-v3-program-programs.universal-D_zbRqi7.js';
3
3
  import '@wix/sdk-types';
4
4
 
5
5
  /** @hidden */
@@ -1,4 +1,4 @@
1
- import { aE as CreateProgramRequest$1, aF as CreateProgramResponse$1, aP as DuplicateProgramRequest$1, D as DuplicateProgramResponse$1, aQ as GetProgramRequest$1, aR as GetProgramResponse$1, aS as UpdateProgramRequest$1, aT as UpdateProgramResponse$1, aZ as DeleteProgramRequest$1, a_ as DeleteProgramResponse$1, a$ as QueryProgramsRequest$1, b5 as QueryProgramsResponse$1, b8 as SearchProgramsRequest$1, S as SearchProgramsResponse$1, bM as PublishProgramRequest$1, c as PublishProgramResponse$1, bN as EndProgramRequest$1, E as EndProgramResponse$1, bO as ArchiveProgramRequest$1, A as ArchiveProgramResponse$1, bP as BulkUpdateProgramsRequest$1, e as BulkUpdateProgramsResponse$1, bR as CountProgramsRequest$1, f as CountProgramsResponse$1, bS as ListSampleProgramsRequest$1, L as ListSampleProgramsResponse$1 } from './online-programs-v3-program-programs.universal-CZBplA-8.js';
1
+ import { aE as CreateProgramRequest$1, aF as CreateProgramResponse$1, aP as DuplicateProgramRequest$1, D as DuplicateProgramResponse$1, aQ as GetProgramRequest$1, aR as GetProgramResponse$1, aS as UpdateProgramRequest$1, aT as UpdateProgramResponse$1, aZ as DeleteProgramRequest$1, a_ as DeleteProgramResponse$1, a$ as QueryProgramsRequest$1, b5 as QueryProgramsResponse$1, b8 as SearchProgramsRequest$1, S as SearchProgramsResponse$1, bM as PublishProgramRequest$1, c as PublishProgramResponse$1, bN as EndProgramRequest$1, E as EndProgramResponse$1, bO as ArchiveProgramRequest$1, A as ArchiveProgramResponse$1, bP as BulkUpdateProgramsRequest$1, e as BulkUpdateProgramsResponse$1, bR as CountProgramsRequest$1, f as CountProgramsResponse$1, bS as ListSampleProgramsRequest$1, L as ListSampleProgramsResponse$1 } from './online-programs-v3-program-programs.universal-D_zbRqi7.js';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /**
@@ -863,24 +863,24 @@ interface Schema {
863
863
  label?: string;
864
864
  clusterName?: string;
865
865
  }
866
- /** Domain event emitted when a program is published. */
866
+ /** Triggered when a program is published. */
867
867
  interface ProgramPublished {
868
868
  /** Snapshot of the program after it was published. */
869
869
  program?: Program;
870
870
  }
871
- /** Domain event emitted when a program ends. */
871
+ /** Triggered when a program ends, either automatically or manually by the owner. */
872
872
  interface ProgramEnded {
873
873
  /** Whether the program was ended manually by the owner. */
874
874
  endedByOwner?: boolean;
875
875
  /** Snapshot of the program after it ended. */
876
876
  program?: Program;
877
877
  }
878
- /** Domain event emitted when a program is archived. */
878
+ /** Triggered when a program is archived. */
879
879
  interface ProgramArchived {
880
880
  /** Snapshot of the program after it was archived. */
881
881
  program?: Program;
882
882
  }
883
- /** Domain event emitted when a program is duplicated. */
883
+ /** Triggered when a program is duplicated. */
884
884
  interface ProgramDuplicated {
885
885
  /** Newly created program. */
886
886
  program?: Program;
@@ -747,24 +747,24 @@ interface Schema {
747
747
  label?: string;
748
748
  clusterName?: string;
749
749
  }
750
- /** Domain event emitted when a program is published. */
750
+ /** Triggered when a program is published. */
751
751
  interface ProgramPublished {
752
752
  /** Snapshot of the program after it was published. */
753
753
  program?: Program;
754
754
  }
755
- /** Domain event emitted when a program ends. */
755
+ /** Triggered when a program ends, either automatically or manually by the owner. */
756
756
  interface ProgramEnded {
757
757
  /** Whether the program was ended manually by the owner. */
758
758
  endedByOwner?: boolean;
759
759
  /** Snapshot of the program after it ended. */
760
760
  program?: Program;
761
761
  }
762
- /** Domain event emitted when a program is archived. */
762
+ /** Triggered when a program is archived. */
763
763
  interface ProgramArchived {
764
764
  /** Snapshot of the program after it was archived. */
765
765
  program?: Program;
766
766
  }
767
- /** Domain event emitted when a program is duplicated. */
767
+ /** Triggered when a program is duplicated. */
768
768
  interface ProgramDuplicated {
769
769
  /** Newly created program. */
770
770
  program?: Program;
@@ -2758,7 +2758,9 @@ interface ProgramCreatedEnvelope {
2758
2758
  entity: Program;
2759
2759
  metadata: EventMetadata;
2760
2760
  }
2761
- /** @permissionScope Manage Online Programs
2761
+ /**
2762
+ * Triggered when a program is created.
2763
+ * @permissionScope Manage Online Programs
2762
2764
  * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2763
2765
  * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2764
2766
  * @webhook
@@ -2770,7 +2772,9 @@ declare function onProgramCreated(handler: (event: ProgramCreatedEnvelope) => vo
2770
2772
  interface ProgramDeletedEnvelope {
2771
2773
  metadata: EventMetadata;
2772
2774
  }
2773
- /** @permissionScope Manage Online Programs
2775
+ /**
2776
+ * Triggered when a program is deleted.
2777
+ * @permissionScope Manage Online Programs
2774
2778
  * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2775
2779
  * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2776
2780
  * @webhook
@@ -2783,7 +2787,9 @@ interface ProgramArchivedEnvelope {
2783
2787
  data: ProgramArchived;
2784
2788
  metadata: EventMetadata;
2785
2789
  }
2786
- /** @permissionScope Manage Online Programs
2790
+ /**
2791
+ * Triggered when a program is archived.
2792
+ * @permissionScope Manage Online Programs
2787
2793
  * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2788
2794
  * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2789
2795
  * @webhook
@@ -2796,7 +2802,9 @@ interface ProgramDuplicatedEnvelope {
2796
2802
  data: ProgramDuplicated;
2797
2803
  metadata: EventMetadata;
2798
2804
  }
2799
- /** @permissionScope Manage Online Programs
2805
+ /**
2806
+ * Triggered when a program is duplicated.
2807
+ * @permissionScope Manage Online Programs
2800
2808
  * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2801
2809
  * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2802
2810
  * @webhook
@@ -2809,7 +2817,9 @@ interface ProgramEndedEnvelope {
2809
2817
  data: ProgramEnded;
2810
2818
  metadata: EventMetadata;
2811
2819
  }
2812
- /** @permissionScope Manage Online Programs
2820
+ /**
2821
+ * Triggered when a program ends, either automatically or manually by the owner.
2822
+ * @permissionScope Manage Online Programs
2813
2823
  * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2814
2824
  * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2815
2825
  * @webhook
@@ -2822,7 +2832,9 @@ interface ProgramPublishedEnvelope {
2822
2832
  data: ProgramPublished;
2823
2833
  metadata: EventMetadata;
2824
2834
  }
2825
- /** @permissionScope Manage Online Programs
2835
+ /**
2836
+ * Triggered when a program is published.
2837
+ * @permissionScope Manage Online Programs
2826
2838
  * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2827
2839
  * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2828
2840
  * @webhook
@@ -2837,7 +2849,9 @@ interface ProgramUpdatedEnvelope {
2837
2849
  /** @hidden */
2838
2850
  modifiedFields: Record<string, any>;
2839
2851
  }
2840
- /** @permissionScope Manage Online Programs
2852
+ /**
2853
+ * Triggered when a program is updated.
2854
+ * @permissionScope Manage Online Programs
2841
2855
  * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2842
2856
  * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2843
2857
  * @webhook
@@ -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-CZBplA-8.mjs';
3
- export { q as AccessType, c$ as AccessTypeWithLiterals, cS as AccountInfo, cV as AccountInfoMetadata, b_ as ActionEvent, cG as Address, cH as AddressHint, bb as Aggregation, br as AggregationData, bc as AggregationKindOneOf, bK as AggregationResults, bL as AggregationResultsResultOneOf, by as AggregationResultsScalarResult, z as AggregationType, da as AggregationTypeWithLiterals, ao as App, aL as ApplicationError, bO as ArchiveProgramRequest, c5 as Asset, cT as BaseEventMetadata, aM as BulkActionMetadata, s as BulkActionType, d2 as BulkActionTypeWithLiterals, aG as BulkCreateProgramsMigrationRequest, aI as BulkCreateProgramsMigrationResponse, aJ as BulkProgramResult, bQ as BulkUpdateProgramResult, bP as BulkUpdateProgramsRequest, cJ as BusinessSchedule, cE as Categories, a8 as Certificate, dl as CommonQueryWithEntityContext, dm as CommonSearchWithEntityContext, cO as ConsentPolicy, ab as ContentSummary, bR as CountProgramsRequest, aE as CreateProgramRequest, aF as CreateProgramResponse, b4 as CursorPaging, bq as CursorPagingMetadata, b9 as CursorSearch, ba as CursorSearchPagingMethodOneOf, b7 as Cursors, as as CustomTag, bj as DateHistogramAggregation, bG as DateHistogramResult, bI as DateHistogramResults, R as DayOfWeek, di as DayOfWeekWithLiterals, ay as Delete, aN as DeleteAllProgramsMigrationRequest, aO as DeleteAllProgramsMigrationResponse, aj as DeleteByFilterOperation, ai as DeleteByIdsOperation, c9 as DeleteContext, aZ as DeleteProgramRequest, a_ as DeleteProgramResponse, K as DeleteStatus, df as DeleteStatusWithLiterals, X as Description, Y as DescriptionMediaOneOf, ah as DocumentImage, ag as DocumentPayload, ae as DocumentUpdateOperation, bU as DomainEvent, bV as DomainEventBodyOneOf, aP as DuplicateProgramRequest, aX as DuplicatedSlugErrorDetails, cy as EditorlessAssigned, cz as EditorlessUnassigned, b$ as Empty, bN as EndProgramRequest, bW as EntityCreatedEvent, bZ as EntityDeletedEvent, bY as EntityUpdatedEvent, r as Enum, d1 as EnumWithLiterals, cU as EventMetadata, a9 as ExtendedFields, ar as File, Z as FocalPoint, cI as GeoCoordinates, aQ as GetProgramRequest, aR as GetProgramResponse, bn as GroupByAggregation, bo as GroupByAggregationKindOneOf, bH as GroupByValueResults, cQ as IdentificationData, cR as IdentificationDataIdOneOf, be as IncludeMissingValuesOptions, af as IndexDocument, I as Interval, d9 as IntervalWithLiterals, am as InvalidateCache, an as InvalidateCacheGetByOneOf, aK as ItemMetadata, a4 as Keyword, bT as LabeledProgram, bS as ListSampleProgramsRequest, cF as Locale, cP as MessageEnvelope, c3 as MetaSiteSpecialEvent, c4 as MetaSiteSpecialEventPayloadOneOf, c2 as MissingMetasiteIdErrorDetails, x as MissingValues, d6 as MissingValuesWithLiterals, F as Mode, db as ModeWithLiterals, a1 as Money, cM as Multilingual, J as Namespace, cj as NamespaceChanged, de as NamespaceWithLiterals, bm as NestedAggregation, bk as NestedAggregationItem, bl as NestedAggregationItemKindOneOf, bu as NestedAggregationResults, bv as NestedAggregationResultsResultOneOf, N as NestedAggregationType, d8 as NestedAggregationTypeWithLiterals, bD as NestedResultValue, bE as NestedResultValueResultOneOf, bJ as NestedResults, bz as NestedValueAggregationResult, co as OdeditorAssigned, cp as OdeditorUnassigned, ap as Page, at as Pages, b3 as Paging, b6 as PagingMetadataV2, cq as PicassoAssigned, cr as PicassoUnassigned, Q as PlacementType, dh as PlacementTypeWithLiterals, aC as ProgramArchived, aD as ProgramDuplicated, aB as ProgramEnded, aH as ProgramMigration, aA as ProgramPublished, cX as ProgramQuerySpec, cY as ProgramSearchSpec, cW as ProgramsQueryResult, cD as Properties, bM as PublishProgramRequest, a$ as QueryProgramsRequest, b5 as QueryProgramsResponse, b0 as QueryV2, b1 as QueryV2PagingMethodOneOf, bh as RangeAggregation, bt as RangeAggregationResult, bd as RangeBucket, bB as RangeResult, bx as RangeResults, av as ReindexMessage, aw as ReindexMessageActionOneOf, V as ResolutionMethod, dj as ResolutionMethodWithLiterals, c0 as ResolveProgramSlugRequest, c1 as ResolveProgramSlugResponse, bX as RestoreInfo, a0 as Restrictions, bF as Results, a7 as Reward, bi as ScalarAggregation, bC as ScalarResult, y as ScalarType, d7 as ScalarTypeWithLiterals, az as Schema, bp as SearchDetails, cA as SearchIndexingNotification, O as SearchIndexingNotificationState, dg as SearchIndexingNotificationStateWithLiterals, b8 as SearchProgramsRequest, a2 as Seo, a3 as SeoSchema, cf as ServiceProvisioned, cg as ServiceRemoved, a6 as Settings, c6 as SiteCreated, H as SiteCreatedContext, dd as SiteCreatedContextWithLiterals, c8 as SiteDeleted, ci as SiteHardDeleted, cd as SiteMarkedAsTemplate, ce as SiteMarkedAsWixSite, cC as SitePropertiesEvent, cB as SitePropertiesUpdated, cb as SitePublished, cn as SitePurgedExternally, ch as SiteRenamed, c7 as SiteTransferred, ca as SiteUndeleted, cc as SiteUnpublished, cm as SiteUrlChanged, w as SortDirection, d5 as SortDirectionWithLiterals, u as SortOrder, d3 as SortOrderWithLiterals, v as SortType, d4 as SortTypeWithLiterals, b2 as Sorting, cL as SpecialHourPeriod, G as State, dc as StateWithLiterals, p as Status, c_ as StatusWithLiterals, ck as StudioAssigned, cu as StudioTwoAssigned, cv as StudioTwoUnassigned, cl as StudioUnassigned, cN as SupportedLanguage, a5 as Tag, cK as TimePeriod, $ as Timeline, aY as TimelineSwitchForbiddenErrorDetails, T as Trigger, d0 as TriggerWithLiterals, aq as URI, au as URIs, ak as UpdateByFilterOperation, ac as UpdateDocumentsEvent, ad as UpdateDocumentsEventOperationOneOf, al as UpdateExistingOperation, aS as UpdateProgramRequest, aT as UpdateProgramResponse, ax as Upsert, cx as UserDomainMediaDisabled, cw as UserDomainMediaEnabled, bf as ValueAggregation, bg as ValueAggregationOptionsOneOf, bs as ValueAggregationResult, bA as ValueResult, bw as ValueResults, _ as VideoResolution, aa as VideoStepsSettings, W as WebhookIdentityType, dk as WebhookIdentityTypeWithLiterals, cs as WixelAssigned, ct as WixelUnassigned, aW as WrongParticipantsNumberErrorDetails, aV as WrongStartDateErrorDetails, aU as WrongStateErrorDetails, cZ as utils } from './online-programs-v3-program-programs.universal-CZBplA-8.mjs';
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-D_zbRqi7.mjs';
3
+ export { q as AccessType, c$ as AccessTypeWithLiterals, cS as AccountInfo, cV as AccountInfoMetadata, b_ as ActionEvent, cG as Address, cH as AddressHint, bb as Aggregation, br as AggregationData, bc as AggregationKindOneOf, bK as AggregationResults, bL as AggregationResultsResultOneOf, by as AggregationResultsScalarResult, z as AggregationType, da as AggregationTypeWithLiterals, ao as App, aL as ApplicationError, bO as ArchiveProgramRequest, c5 as Asset, cT as BaseEventMetadata, aM as BulkActionMetadata, s as BulkActionType, d2 as BulkActionTypeWithLiterals, aG as BulkCreateProgramsMigrationRequest, aI as BulkCreateProgramsMigrationResponse, aJ as BulkProgramResult, bQ as BulkUpdateProgramResult, bP as BulkUpdateProgramsRequest, cJ as BusinessSchedule, cE as Categories, a8 as Certificate, dl as CommonQueryWithEntityContext, dm as CommonSearchWithEntityContext, cO as ConsentPolicy, ab as ContentSummary, bR as CountProgramsRequest, aE as CreateProgramRequest, aF as CreateProgramResponse, b4 as CursorPaging, bq as CursorPagingMetadata, b9 as CursorSearch, ba as CursorSearchPagingMethodOneOf, b7 as Cursors, as as CustomTag, bj as DateHistogramAggregation, bG as DateHistogramResult, bI as DateHistogramResults, R as DayOfWeek, di as DayOfWeekWithLiterals, ay as Delete, aN as DeleteAllProgramsMigrationRequest, aO as DeleteAllProgramsMigrationResponse, aj as DeleteByFilterOperation, ai as DeleteByIdsOperation, c9 as DeleteContext, aZ as DeleteProgramRequest, a_ as DeleteProgramResponse, K as DeleteStatus, df as DeleteStatusWithLiterals, X as Description, Y as DescriptionMediaOneOf, ah as DocumentImage, ag as DocumentPayload, ae as DocumentUpdateOperation, bU as DomainEvent, bV as DomainEventBodyOneOf, aP as DuplicateProgramRequest, aX as DuplicatedSlugErrorDetails, cy as EditorlessAssigned, cz as EditorlessUnassigned, b$ as Empty, bN as EndProgramRequest, bW as EntityCreatedEvent, bZ as EntityDeletedEvent, bY as EntityUpdatedEvent, r as Enum, d1 as EnumWithLiterals, cU as EventMetadata, a9 as ExtendedFields, ar as File, Z as FocalPoint, cI as GeoCoordinates, aQ as GetProgramRequest, aR as GetProgramResponse, bn as GroupByAggregation, bo as GroupByAggregationKindOneOf, bH as GroupByValueResults, cQ as IdentificationData, cR as IdentificationDataIdOneOf, be as IncludeMissingValuesOptions, af as IndexDocument, I as Interval, d9 as IntervalWithLiterals, am as InvalidateCache, an as InvalidateCacheGetByOneOf, aK as ItemMetadata, a4 as Keyword, bT as LabeledProgram, bS as ListSampleProgramsRequest, cF as Locale, cP as MessageEnvelope, c3 as MetaSiteSpecialEvent, c4 as MetaSiteSpecialEventPayloadOneOf, c2 as MissingMetasiteIdErrorDetails, x as MissingValues, d6 as MissingValuesWithLiterals, F as Mode, db as ModeWithLiterals, a1 as Money, cM as Multilingual, J as Namespace, cj as NamespaceChanged, de as NamespaceWithLiterals, bm as NestedAggregation, bk as NestedAggregationItem, bl as NestedAggregationItemKindOneOf, bu as NestedAggregationResults, bv as NestedAggregationResultsResultOneOf, N as NestedAggregationType, d8 as NestedAggregationTypeWithLiterals, bD as NestedResultValue, bE as NestedResultValueResultOneOf, bJ as NestedResults, bz as NestedValueAggregationResult, co as OdeditorAssigned, cp as OdeditorUnassigned, ap as Page, at as Pages, b3 as Paging, b6 as PagingMetadataV2, cq as PicassoAssigned, cr as PicassoUnassigned, Q as PlacementType, dh as PlacementTypeWithLiterals, aC as ProgramArchived, aD as ProgramDuplicated, aB as ProgramEnded, aH as ProgramMigration, aA as ProgramPublished, cX as ProgramQuerySpec, cY as ProgramSearchSpec, cW as ProgramsQueryResult, cD as Properties, bM as PublishProgramRequest, a$ as QueryProgramsRequest, b5 as QueryProgramsResponse, b0 as QueryV2, b1 as QueryV2PagingMethodOneOf, bh as RangeAggregation, bt as RangeAggregationResult, bd as RangeBucket, bB as RangeResult, bx as RangeResults, av as ReindexMessage, aw as ReindexMessageActionOneOf, V as ResolutionMethod, dj as ResolutionMethodWithLiterals, c0 as ResolveProgramSlugRequest, c1 as ResolveProgramSlugResponse, bX as RestoreInfo, a0 as Restrictions, bF as Results, a7 as Reward, bi as ScalarAggregation, bC as ScalarResult, y as ScalarType, d7 as ScalarTypeWithLiterals, az as Schema, bp as SearchDetails, cA as SearchIndexingNotification, O as SearchIndexingNotificationState, dg as SearchIndexingNotificationStateWithLiterals, b8 as SearchProgramsRequest, a2 as Seo, a3 as SeoSchema, cf as ServiceProvisioned, cg as ServiceRemoved, a6 as Settings, c6 as SiteCreated, H as SiteCreatedContext, dd as SiteCreatedContextWithLiterals, c8 as SiteDeleted, ci as SiteHardDeleted, cd as SiteMarkedAsTemplate, ce as SiteMarkedAsWixSite, cC as SitePropertiesEvent, cB as SitePropertiesUpdated, cb as SitePublished, cn as SitePurgedExternally, ch as SiteRenamed, c7 as SiteTransferred, ca as SiteUndeleted, cc as SiteUnpublished, cm as SiteUrlChanged, w as SortDirection, d5 as SortDirectionWithLiterals, u as SortOrder, d3 as SortOrderWithLiterals, v as SortType, d4 as SortTypeWithLiterals, b2 as Sorting, cL as SpecialHourPeriod, G as State, dc as StateWithLiterals, p as Status, c_ as StatusWithLiterals, ck as StudioAssigned, cu as StudioTwoAssigned, cv as StudioTwoUnassigned, cl as StudioUnassigned, cN as SupportedLanguage, a5 as Tag, cK as TimePeriod, $ as Timeline, aY as TimelineSwitchForbiddenErrorDetails, T as Trigger, d0 as TriggerWithLiterals, aq as URI, au as URIs, ak as UpdateByFilterOperation, ac as UpdateDocumentsEvent, ad as UpdateDocumentsEventOperationOneOf, al as UpdateExistingOperation, aS as UpdateProgramRequest, aT as UpdateProgramResponse, ax as Upsert, cx as UserDomainMediaDisabled, cw as UserDomainMediaEnabled, bf as ValueAggregation, bg as ValueAggregationOptionsOneOf, bs as ValueAggregationResult, bA as ValueResult, bw as ValueResults, _ as VideoResolution, aa as VideoStepsSettings, W as WebhookIdentityType, dk as WebhookIdentityTypeWithLiterals, cs as WixelAssigned, ct as WixelUnassigned, aW as WrongParticipantsNumberErrorDetails, aV as WrongStartDateErrorDetails, aU as WrongStateErrorDetails, cZ as utils } from './online-programs-v3-program-programs.universal-D_zbRqi7.mjs';
4
4
 
5
5
  declare function createProgram$1(httpClient: HttpClient): CreateProgramSignature;
6
6
  interface CreateProgramSignature {
@@ -170,19 +170,33 @@ declare const bulkUpdatePrograms: MaybeContext<BuildRESTFunction<typeof bulkUpda
170
170
  declare const countPrograms: MaybeContext<BuildRESTFunction<typeof countPrograms$1> & typeof countPrograms$1>;
171
171
  declare const listSamplePrograms: MaybeContext<BuildRESTFunction<typeof listSamplePrograms$1> & typeof listSamplePrograms$1>;
172
172
  declare const queryPrograms: MaybeContext<BuildRESTFunction<typeof customQueryPrograms> & typeof customQueryPrograms>;
173
- /** */
173
+ /**
174
+ * Triggered when a program is created.
175
+ */
174
176
  declare const onProgramCreated: BuildEventDefinition<typeof onProgramCreated$1> & typeof onProgramCreated$1;
175
- /** */
177
+ /**
178
+ * Triggered when a program is deleted.
179
+ */
176
180
  declare const onProgramDeleted: BuildEventDefinition<typeof onProgramDeleted$1> & typeof onProgramDeleted$1;
177
- /** */
181
+ /**
182
+ * Triggered when a program is archived.
183
+ */
178
184
  declare const onProgramArchived: BuildEventDefinition<typeof onProgramArchived$1> & typeof onProgramArchived$1;
179
- /** */
185
+ /**
186
+ * Triggered when a program is duplicated.
187
+ */
180
188
  declare const onProgramDuplicated: BuildEventDefinition<typeof onProgramDuplicated$1> & typeof onProgramDuplicated$1;
181
- /** */
189
+ /**
190
+ * Triggered when a program ends, either automatically or manually by the owner.
191
+ */
182
192
  declare const onProgramEnded: BuildEventDefinition<typeof onProgramEnded$1> & typeof onProgramEnded$1;
183
- /** */
193
+ /**
194
+ * Triggered when a program is published.
195
+ */
184
196
  declare const onProgramPublished: BuildEventDefinition<typeof onProgramPublished$1> & typeof onProgramPublished$1;
185
- /** */
197
+ /**
198
+ * Triggered when a program is updated.
199
+ */
186
200
  declare const onProgramUpdated: BuildEventDefinition<typeof onProgramUpdated$1> & typeof onProgramUpdated$1;
187
201
 
188
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 };
@@ -1,5 +1,5 @@
1
- import { b9 as CursorSearch, S as SearchProgramsResponse } from './online-programs-v3-program-programs.universal-CZBplA-8.mjs';
2
- export { q as AccessType, c$ as AccessTypeWithLiterals, cS as AccountInfo, cV as AccountInfoMetadata, b_ as ActionEvent, cG as Address, cH as AddressHint, bb as Aggregation, br as AggregationData, bc as AggregationKindOneOf, bK as AggregationResults, bL as AggregationResultsResultOneOf, by as AggregationResultsScalarResult, z as AggregationType, da as AggregationTypeWithLiterals, ao as App, aL as ApplicationError, bO as ArchiveProgramRequest, A as ArchiveProgramResponse, c5 as Asset, cT as BaseEventMetadata, aM as BulkActionMetadata, s as BulkActionType, d2 as BulkActionTypeWithLiterals, aG as BulkCreateProgramsMigrationRequest, aI as BulkCreateProgramsMigrationResponse, aJ as BulkProgramResult, bQ as BulkUpdateProgramResult, B as BulkUpdateProgramsOptions, bP as BulkUpdateProgramsRequest, e as BulkUpdateProgramsResponse, cJ as BusinessSchedule, cE as Categories, a8 as Certificate, dl as CommonQueryWithEntityContext, dm as CommonSearchWithEntityContext, cO as ConsentPolicy, ab as ContentSummary, C as CountProgramsOptions, bR as CountProgramsRequest, f as CountProgramsResponse, aE as CreateProgramRequest, aF as CreateProgramResponse, b4 as CursorPaging, bq as CursorPagingMetadata, ba as CursorSearchPagingMethodOneOf, b7 as Cursors, as as CustomTag, bj as DateHistogramAggregation, bG as DateHistogramResult, bI as DateHistogramResults, R as DayOfWeek, di as DayOfWeekWithLiterals, ay as Delete, aN as DeleteAllProgramsMigrationRequest, aO as DeleteAllProgramsMigrationResponse, aj as DeleteByFilterOperation, ai as DeleteByIdsOperation, c9 as DeleteContext, aZ as DeleteProgramRequest, a_ as DeleteProgramResponse, K as DeleteStatus, df as DeleteStatusWithLiterals, X as Description, Y as DescriptionMediaOneOf, ah as DocumentImage, ag as DocumentPayload, ae as DocumentUpdateOperation, bU as DomainEvent, bV as DomainEventBodyOneOf, aP as DuplicateProgramRequest, D as DuplicateProgramResponse, aX as DuplicatedSlugErrorDetails, cy as EditorlessAssigned, cz as EditorlessUnassigned, b$ as Empty, bN as EndProgramRequest, E as EndProgramResponse, bW as EntityCreatedEvent, bZ as EntityDeletedEvent, bY as EntityUpdatedEvent, r as Enum, d1 as EnumWithLiterals, cU as EventMetadata, a9 as ExtendedFields, ar as File, Z as FocalPoint, cI as GeoCoordinates, aQ as GetProgramRequest, aR as GetProgramResponse, bn as GroupByAggregation, bo as GroupByAggregationKindOneOf, bH as GroupByValueResults, cQ as IdentificationData, cR as IdentificationDataIdOneOf, be as IncludeMissingValuesOptions, af as IndexDocument, I as Interval, d9 as IntervalWithLiterals, am as InvalidateCache, an as InvalidateCacheGetByOneOf, aK as ItemMetadata, a4 as Keyword, bT as LabeledProgram, bS as ListSampleProgramsRequest, L as ListSampleProgramsResponse, cF as Locale, M as MaskedProgram, cP as MessageEnvelope, c3 as MetaSiteSpecialEvent, c4 as MetaSiteSpecialEventPayloadOneOf, c2 as MissingMetasiteIdErrorDetails, x as MissingValues, d6 as MissingValuesWithLiterals, F as Mode, db as ModeWithLiterals, a1 as Money, cM as Multilingual, J as Namespace, cj as NamespaceChanged, de as NamespaceWithLiterals, bm as NestedAggregation, bk as NestedAggregationItem, bl as NestedAggregationItemKindOneOf, bu as NestedAggregationResults, bv as NestedAggregationResultsResultOneOf, N as NestedAggregationType, d8 as NestedAggregationTypeWithLiterals, bD as NestedResultValue, bE as NestedResultValueResultOneOf, bJ as NestedResults, bz as NestedValueAggregationResult, co as OdeditorAssigned, cp as OdeditorUnassigned, ap as Page, at as Pages, b3 as Paging, b6 as PagingMetadataV2, cq as PicassoAssigned, cr as PicassoUnassigned, Q as PlacementType, dh as PlacementTypeWithLiterals, P as Program, aC as ProgramArchived, i as ProgramArchivedEnvelope, g as ProgramCreatedEnvelope, h as ProgramDeletedEnvelope, aD as ProgramDuplicated, j as ProgramDuplicatedEnvelope, aB as ProgramEnded, k as ProgramEndedEnvelope, aH as ProgramMigration, aA as ProgramPublished, l as ProgramPublishedEnvelope, o as ProgramQuery, cX as ProgramQuerySpec, cY as ProgramSearchSpec, m as ProgramUpdatedEnvelope, n as ProgramsQueryBuilder, cW as ProgramsQueryResult, cD as Properties, d as PublishProgramApplicationErrors, bM as PublishProgramRequest, c as PublishProgramResponse, a$ as QueryProgramsRequest, b5 as QueryProgramsResponse, b0 as QueryV2, b1 as QueryV2PagingMethodOneOf, bh as RangeAggregation, bt as RangeAggregationResult, bd as RangeBucket, bB as RangeResult, bx as RangeResults, av as ReindexMessage, aw as ReindexMessageActionOneOf, V as ResolutionMethod, dj as ResolutionMethodWithLiterals, c0 as ResolveProgramSlugRequest, c1 as ResolveProgramSlugResponse, bX as RestoreInfo, a0 as Restrictions, bF as Results, a7 as Reward, bi as ScalarAggregation, bC as ScalarResult, y as ScalarType, d7 as ScalarTypeWithLiterals, az as Schema, bp as SearchDetails, cA as SearchIndexingNotification, O as SearchIndexingNotificationState, dg as SearchIndexingNotificationStateWithLiterals, b8 as SearchProgramsRequest, a2 as Seo, a3 as SeoSchema, cf as ServiceProvisioned, cg as ServiceRemoved, a6 as Settings, c6 as SiteCreated, H as SiteCreatedContext, dd as SiteCreatedContextWithLiterals, c8 as SiteDeleted, ci as SiteHardDeleted, cd as SiteMarkedAsTemplate, ce as SiteMarkedAsWixSite, cC as SitePropertiesEvent, cB as SitePropertiesUpdated, cb as SitePublished, cn as SitePurgedExternally, ch as SiteRenamed, c7 as SiteTransferred, ca as SiteUndeleted, cc as SiteUnpublished, cm as SiteUrlChanged, w as SortDirection, d5 as SortDirectionWithLiterals, u as SortOrder, d3 as SortOrderWithLiterals, v as SortType, d4 as SortTypeWithLiterals, b2 as Sorting, cL as SpecialHourPeriod, G as State, dc as StateWithLiterals, p as Status, c_ as StatusWithLiterals, ck as StudioAssigned, cu as StudioTwoAssigned, cv as StudioTwoUnassigned, cl as StudioUnassigned, cN as SupportedLanguage, a5 as Tag, cK as TimePeriod, $ as Timeline, aY as TimelineSwitchForbiddenErrorDetails, T as Trigger, d0 as TriggerWithLiterals, aq as URI, au as URIs, ak as UpdateByFilterOperation, ac as UpdateDocumentsEvent, ad as UpdateDocumentsEventOperationOneOf, al as UpdateExistingOperation, U as UpdateProgram, a as UpdateProgramApplicationErrors, aS as UpdateProgramRequest, aT as UpdateProgramResponse, ax as Upsert, cx as UserDomainMediaDisabled, cw as UserDomainMediaEnabled, bf as ValueAggregation, bg as ValueAggregationOptionsOneOf, bs as ValueAggregationResult, bA as ValueResult, bw as ValueResults, _ as VideoResolution, aa as VideoStepsSettings, W as WebhookIdentityType, dk as WebhookIdentityTypeWithLiterals, cs as WixelAssigned, ct as WixelUnassigned, aW as WrongParticipantsNumberErrorDetails, aV as WrongStartDateErrorDetails, aU as WrongStateErrorDetails, dD as archiveProgram, dE as bulkUpdatePrograms, dF as countPrograms, dv as createProgram, dz as deleteProgram, dw as duplicateProgram, dC as endProgram, dx as getProgram, dG as listSamplePrograms, dq as onProgramArchived, dn as onProgramCreated, dp as onProgramDeleted, dr as onProgramDuplicated, ds as onProgramEnded, dt as onProgramPublished, du as onProgramUpdated, dB as publishProgram, dA as queryPrograms, t as typedQueryPrograms, dy as updateProgram, cZ as utils } from './online-programs-v3-program-programs.universal-CZBplA-8.mjs';
1
+ import { b9 as CursorSearch, S as SearchProgramsResponse } from './online-programs-v3-program-programs.universal-D_zbRqi7.mjs';
2
+ export { q as AccessType, c$ as AccessTypeWithLiterals, cS as AccountInfo, cV as AccountInfoMetadata, b_ as ActionEvent, cG as Address, cH as AddressHint, bb as Aggregation, br as AggregationData, bc as AggregationKindOneOf, bK as AggregationResults, bL as AggregationResultsResultOneOf, by as AggregationResultsScalarResult, z as AggregationType, da as AggregationTypeWithLiterals, ao as App, aL as ApplicationError, bO as ArchiveProgramRequest, A as ArchiveProgramResponse, c5 as Asset, cT as BaseEventMetadata, aM as BulkActionMetadata, s as BulkActionType, d2 as BulkActionTypeWithLiterals, aG as BulkCreateProgramsMigrationRequest, aI as BulkCreateProgramsMigrationResponse, aJ as BulkProgramResult, bQ as BulkUpdateProgramResult, B as BulkUpdateProgramsOptions, bP as BulkUpdateProgramsRequest, e as BulkUpdateProgramsResponse, cJ as BusinessSchedule, cE as Categories, a8 as Certificate, dl as CommonQueryWithEntityContext, dm as CommonSearchWithEntityContext, cO as ConsentPolicy, ab as ContentSummary, C as CountProgramsOptions, bR as CountProgramsRequest, f as CountProgramsResponse, aE as CreateProgramRequest, aF as CreateProgramResponse, b4 as CursorPaging, bq as CursorPagingMetadata, ba as CursorSearchPagingMethodOneOf, b7 as Cursors, as as CustomTag, bj as DateHistogramAggregation, bG as DateHistogramResult, bI as DateHistogramResults, R as DayOfWeek, di as DayOfWeekWithLiterals, ay as Delete, aN as DeleteAllProgramsMigrationRequest, aO as DeleteAllProgramsMigrationResponse, aj as DeleteByFilterOperation, ai as DeleteByIdsOperation, c9 as DeleteContext, aZ as DeleteProgramRequest, a_ as DeleteProgramResponse, K as DeleteStatus, df as DeleteStatusWithLiterals, X as Description, Y as DescriptionMediaOneOf, ah as DocumentImage, ag as DocumentPayload, ae as DocumentUpdateOperation, bU as DomainEvent, bV as DomainEventBodyOneOf, aP as DuplicateProgramRequest, D as DuplicateProgramResponse, aX as DuplicatedSlugErrorDetails, cy as EditorlessAssigned, cz as EditorlessUnassigned, b$ as Empty, bN as EndProgramRequest, E as EndProgramResponse, bW as EntityCreatedEvent, bZ as EntityDeletedEvent, bY as EntityUpdatedEvent, r as Enum, d1 as EnumWithLiterals, cU as EventMetadata, a9 as ExtendedFields, ar as File, Z as FocalPoint, cI as GeoCoordinates, aQ as GetProgramRequest, aR as GetProgramResponse, bn as GroupByAggregation, bo as GroupByAggregationKindOneOf, bH as GroupByValueResults, cQ as IdentificationData, cR as IdentificationDataIdOneOf, be as IncludeMissingValuesOptions, af as IndexDocument, I as Interval, d9 as IntervalWithLiterals, am as InvalidateCache, an as InvalidateCacheGetByOneOf, aK as ItemMetadata, a4 as Keyword, bT as LabeledProgram, bS as ListSampleProgramsRequest, L as ListSampleProgramsResponse, cF as Locale, M as MaskedProgram, cP as MessageEnvelope, c3 as MetaSiteSpecialEvent, c4 as MetaSiteSpecialEventPayloadOneOf, c2 as MissingMetasiteIdErrorDetails, x as MissingValues, d6 as MissingValuesWithLiterals, F as Mode, db as ModeWithLiterals, a1 as Money, cM as Multilingual, J as Namespace, cj as NamespaceChanged, de as NamespaceWithLiterals, bm as NestedAggregation, bk as NestedAggregationItem, bl as NestedAggregationItemKindOneOf, bu as NestedAggregationResults, bv as NestedAggregationResultsResultOneOf, N as NestedAggregationType, d8 as NestedAggregationTypeWithLiterals, bD as NestedResultValue, bE as NestedResultValueResultOneOf, bJ as NestedResults, bz as NestedValueAggregationResult, co as OdeditorAssigned, cp as OdeditorUnassigned, ap as Page, at as Pages, b3 as Paging, b6 as PagingMetadataV2, cq as PicassoAssigned, cr as PicassoUnassigned, Q as PlacementType, dh as PlacementTypeWithLiterals, P as Program, aC as ProgramArchived, i as ProgramArchivedEnvelope, g as ProgramCreatedEnvelope, h as ProgramDeletedEnvelope, aD as ProgramDuplicated, j as ProgramDuplicatedEnvelope, aB as ProgramEnded, k as ProgramEndedEnvelope, aH as ProgramMigration, aA as ProgramPublished, l as ProgramPublishedEnvelope, o as ProgramQuery, cX as ProgramQuerySpec, cY as ProgramSearchSpec, m as ProgramUpdatedEnvelope, n as ProgramsQueryBuilder, cW as ProgramsQueryResult, cD as Properties, d as PublishProgramApplicationErrors, bM as PublishProgramRequest, c as PublishProgramResponse, a$ as QueryProgramsRequest, b5 as QueryProgramsResponse, b0 as QueryV2, b1 as QueryV2PagingMethodOneOf, bh as RangeAggregation, bt as RangeAggregationResult, bd as RangeBucket, bB as RangeResult, bx as RangeResults, av as ReindexMessage, aw as ReindexMessageActionOneOf, V as ResolutionMethod, dj as ResolutionMethodWithLiterals, c0 as ResolveProgramSlugRequest, c1 as ResolveProgramSlugResponse, bX as RestoreInfo, a0 as Restrictions, bF as Results, a7 as Reward, bi as ScalarAggregation, bC as ScalarResult, y as ScalarType, d7 as ScalarTypeWithLiterals, az as Schema, bp as SearchDetails, cA as SearchIndexingNotification, O as SearchIndexingNotificationState, dg as SearchIndexingNotificationStateWithLiterals, b8 as SearchProgramsRequest, a2 as Seo, a3 as SeoSchema, cf as ServiceProvisioned, cg as ServiceRemoved, a6 as Settings, c6 as SiteCreated, H as SiteCreatedContext, dd as SiteCreatedContextWithLiterals, c8 as SiteDeleted, ci as SiteHardDeleted, cd as SiteMarkedAsTemplate, ce as SiteMarkedAsWixSite, cC as SitePropertiesEvent, cB as SitePropertiesUpdated, cb as SitePublished, cn as SitePurgedExternally, ch as SiteRenamed, c7 as SiteTransferred, ca as SiteUndeleted, cc as SiteUnpublished, cm as SiteUrlChanged, w as SortDirection, d5 as SortDirectionWithLiterals, u as SortOrder, d3 as SortOrderWithLiterals, v as SortType, d4 as SortTypeWithLiterals, b2 as Sorting, cL as SpecialHourPeriod, G as State, dc as StateWithLiterals, p as Status, c_ as StatusWithLiterals, ck as StudioAssigned, cu as StudioTwoAssigned, cv as StudioTwoUnassigned, cl as StudioUnassigned, cN as SupportedLanguage, a5 as Tag, cK as TimePeriod, $ as Timeline, aY as TimelineSwitchForbiddenErrorDetails, T as Trigger, d0 as TriggerWithLiterals, aq as URI, au as URIs, ak as UpdateByFilterOperation, ac as UpdateDocumentsEvent, ad as UpdateDocumentsEventOperationOneOf, al as UpdateExistingOperation, U as UpdateProgram, a as UpdateProgramApplicationErrors, aS as UpdateProgramRequest, aT as UpdateProgramResponse, ax as Upsert, cx as UserDomainMediaDisabled, cw as UserDomainMediaEnabled, bf as ValueAggregation, bg as ValueAggregationOptionsOneOf, bs as ValueAggregationResult, bA as ValueResult, bw as ValueResults, _ as VideoResolution, aa as VideoStepsSettings, W as WebhookIdentityType, dk as WebhookIdentityTypeWithLiterals, cs as WixelAssigned, ct as WixelUnassigned, aW as WrongParticipantsNumberErrorDetails, aV as WrongStartDateErrorDetails, aU as WrongStateErrorDetails, dD as archiveProgram, dE as bulkUpdatePrograms, dF as countPrograms, dv as createProgram, dz as deleteProgram, dw as duplicateProgram, dC as endProgram, dx as getProgram, dG as listSamplePrograms, dq as onProgramArchived, dn as onProgramCreated, dp as onProgramDeleted, dr as onProgramDuplicated, ds as onProgramEnded, dt as onProgramPublished, du as onProgramUpdated, dB as publishProgram, dA as queryPrograms, t as typedQueryPrograms, dy as updateProgram, cZ as utils } from './online-programs-v3-program-programs.universal-D_zbRqi7.mjs';
3
3
  import '@wix/sdk-types';
4
4
 
5
5
  /** @hidden */
@@ -1,4 +1,4 @@
1
- import { aE as CreateProgramRequest$1, aF as CreateProgramResponse$1, aP as DuplicateProgramRequest$1, D as DuplicateProgramResponse$1, aQ as GetProgramRequest$1, aR as GetProgramResponse$1, aS as UpdateProgramRequest$1, aT as UpdateProgramResponse$1, aZ as DeleteProgramRequest$1, a_ as DeleteProgramResponse$1, a$ as QueryProgramsRequest$1, b5 as QueryProgramsResponse$1, b8 as SearchProgramsRequest$1, S as SearchProgramsResponse$1, bM as PublishProgramRequest$1, c as PublishProgramResponse$1, bN as EndProgramRequest$1, E as EndProgramResponse$1, bO as ArchiveProgramRequest$1, A as ArchiveProgramResponse$1, bP as BulkUpdateProgramsRequest$1, e as BulkUpdateProgramsResponse$1, bR as CountProgramsRequest$1, f as CountProgramsResponse$1, bS as ListSampleProgramsRequest$1, L as ListSampleProgramsResponse$1 } from './online-programs-v3-program-programs.universal-CZBplA-8.mjs';
1
+ import { aE as CreateProgramRequest$1, aF as CreateProgramResponse$1, aP as DuplicateProgramRequest$1, D as DuplicateProgramResponse$1, aQ as GetProgramRequest$1, aR as GetProgramResponse$1, aS as UpdateProgramRequest$1, aT as UpdateProgramResponse$1, aZ as DeleteProgramRequest$1, a_ as DeleteProgramResponse$1, a$ as QueryProgramsRequest$1, b5 as QueryProgramsResponse$1, b8 as SearchProgramsRequest$1, S as SearchProgramsResponse$1, bM as PublishProgramRequest$1, c as PublishProgramResponse$1, bN as EndProgramRequest$1, E as EndProgramResponse$1, bO as ArchiveProgramRequest$1, A as ArchiveProgramResponse$1, bP as BulkUpdateProgramsRequest$1, e as BulkUpdateProgramsResponse$1, bR as CountProgramsRequest$1, f as CountProgramsResponse$1, bS as ListSampleProgramsRequest$1, L as ListSampleProgramsResponse$1 } from './online-programs-v3-program-programs.universal-D_zbRqi7.mjs';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /**
@@ -863,24 +863,24 @@ interface Schema {
863
863
  label?: string;
864
864
  clusterName?: string;
865
865
  }
866
- /** Domain event emitted when a program is published. */
866
+ /** Triggered when a program is published. */
867
867
  interface ProgramPublished {
868
868
  /** Snapshot of the program after it was published. */
869
869
  program?: Program;
870
870
  }
871
- /** Domain event emitted when a program ends. */
871
+ /** Triggered when a program ends, either automatically or manually by the owner. */
872
872
  interface ProgramEnded {
873
873
  /** Whether the program was ended manually by the owner. */
874
874
  endedByOwner?: boolean;
875
875
  /** Snapshot of the program after it ended. */
876
876
  program?: Program;
877
877
  }
878
- /** Domain event emitted when a program is archived. */
878
+ /** Triggered when a program is archived. */
879
879
  interface ProgramArchived {
880
880
  /** Snapshot of the program after it was archived. */
881
881
  program?: Program;
882
882
  }
883
- /** Domain event emitted when a program is duplicated. */
883
+ /** Triggered when a program is duplicated. */
884
884
  interface ProgramDuplicated {
885
885
  /** Newly created program. */
886
886
  program?: Program;
@@ -747,24 +747,24 @@ interface Schema {
747
747
  label?: string;
748
748
  clusterName?: string;
749
749
  }
750
- /** Domain event emitted when a program is published. */
750
+ /** Triggered when a program is published. */
751
751
  interface ProgramPublished {
752
752
  /** Snapshot of the program after it was published. */
753
753
  program?: Program;
754
754
  }
755
- /** Domain event emitted when a program ends. */
755
+ /** Triggered when a program ends, either automatically or manually by the owner. */
756
756
  interface ProgramEnded {
757
757
  /** Whether the program was ended manually by the owner. */
758
758
  endedByOwner?: boolean;
759
759
  /** Snapshot of the program after it ended. */
760
760
  program?: Program;
761
761
  }
762
- /** Domain event emitted when a program is archived. */
762
+ /** Triggered when a program is archived. */
763
763
  interface ProgramArchived {
764
764
  /** Snapshot of the program after it was archived. */
765
765
  program?: Program;
766
766
  }
767
- /** Domain event emitted when a program is duplicated. */
767
+ /** Triggered when a program is duplicated. */
768
768
  interface ProgramDuplicated {
769
769
  /** Newly created program. */
770
770
  program?: Program;
@@ -2758,7 +2758,9 @@ interface ProgramCreatedEnvelope {
2758
2758
  entity: Program;
2759
2759
  metadata: EventMetadata;
2760
2760
  }
2761
- /** @permissionScope Manage Online Programs
2761
+ /**
2762
+ * Triggered when a program is created.
2763
+ * @permissionScope Manage Online Programs
2762
2764
  * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2763
2765
  * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2764
2766
  * @webhook
@@ -2770,7 +2772,9 @@ declare function onProgramCreated(handler: (event: ProgramCreatedEnvelope) => vo
2770
2772
  interface ProgramDeletedEnvelope {
2771
2773
  metadata: EventMetadata;
2772
2774
  }
2773
- /** @permissionScope Manage Online Programs
2775
+ /**
2776
+ * Triggered when a program is deleted.
2777
+ * @permissionScope Manage Online Programs
2774
2778
  * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2775
2779
  * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2776
2780
  * @webhook
@@ -2783,7 +2787,9 @@ interface ProgramArchivedEnvelope {
2783
2787
  data: ProgramArchived;
2784
2788
  metadata: EventMetadata;
2785
2789
  }
2786
- /** @permissionScope Manage Online Programs
2790
+ /**
2791
+ * Triggered when a program is archived.
2792
+ * @permissionScope Manage Online Programs
2787
2793
  * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2788
2794
  * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2789
2795
  * @webhook
@@ -2796,7 +2802,9 @@ interface ProgramDuplicatedEnvelope {
2796
2802
  data: ProgramDuplicated;
2797
2803
  metadata: EventMetadata;
2798
2804
  }
2799
- /** @permissionScope Manage Online Programs
2805
+ /**
2806
+ * Triggered when a program is duplicated.
2807
+ * @permissionScope Manage Online Programs
2800
2808
  * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2801
2809
  * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2802
2810
  * @webhook
@@ -2809,7 +2817,9 @@ interface ProgramEndedEnvelope {
2809
2817
  data: ProgramEnded;
2810
2818
  metadata: EventMetadata;
2811
2819
  }
2812
- /** @permissionScope Manage Online Programs
2820
+ /**
2821
+ * Triggered when a program ends, either automatically or manually by the owner.
2822
+ * @permissionScope Manage Online Programs
2813
2823
  * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2814
2824
  * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2815
2825
  * @webhook
@@ -2822,7 +2832,9 @@ interface ProgramPublishedEnvelope {
2822
2832
  data: ProgramPublished;
2823
2833
  metadata: EventMetadata;
2824
2834
  }
2825
- /** @permissionScope Manage Online Programs
2835
+ /**
2836
+ * Triggered when a program is published.
2837
+ * @permissionScope Manage Online Programs
2826
2838
  * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2827
2839
  * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2828
2840
  * @webhook
@@ -2837,7 +2849,9 @@ interface ProgramUpdatedEnvelope {
2837
2849
  /** @hidden */
2838
2850
  modifiedFields: Record<string, any>;
2839
2851
  }
2840
- /** @permissionScope Manage Online Programs
2852
+ /**
2853
+ * Triggered when a program is updated.
2854
+ * @permissionScope Manage Online Programs
2841
2855
  * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2842
2856
  * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2843
2857
  * @webhook