@wix/auto_sdk_online-programs_programs 1.0.35 → 1.0.37

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.
@@ -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;
@@ -2596,6 +2596,167 @@ type PublishProgramApplicationErrors = {
2596
2596
  description?: string;
2597
2597
  data?: Record<string, any>;
2598
2598
  };
2599
+ interface BaseEventMetadata {
2600
+ /**
2601
+ * App instance ID.
2602
+ * @format GUID
2603
+ */
2604
+ instanceId?: string | null;
2605
+ /**
2606
+ * Event type.
2607
+ * @maxLength 150
2608
+ */
2609
+ eventType?: string;
2610
+ /** The identification type and identity data. */
2611
+ identity?: IdentificationData;
2612
+ /** Details related to the account */
2613
+ accountInfo?: AccountInfo;
2614
+ }
2615
+ interface EventMetadata extends BaseEventMetadata {
2616
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
2617
+ _id?: string;
2618
+ /**
2619
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
2620
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
2621
+ */
2622
+ entityFqdn?: string;
2623
+ /**
2624
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
2625
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
2626
+ */
2627
+ slug?: string;
2628
+ /** ID of the entity associated with the event. */
2629
+ entityId?: string;
2630
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
2631
+ eventTime?: Date | null;
2632
+ /**
2633
+ * Whether the event was triggered as a result of a privacy regulation application
2634
+ * (for example, GDPR).
2635
+ */
2636
+ triggeredByAnonymizeRequest?: boolean | null;
2637
+ /** If present, indicates the action that triggered the event. */
2638
+ originatedFrom?: string | null;
2639
+ /**
2640
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.
2641
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
2642
+ */
2643
+ entityEventSequence?: string | null;
2644
+ accountInfo?: AccountInfoMetadata;
2645
+ }
2646
+ interface AccountInfoMetadata {
2647
+ /** ID of the Wix account associated with the event */
2648
+ accountId: string;
2649
+ /** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
2650
+ siteId?: string;
2651
+ /** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
2652
+ parentAccountId?: string;
2653
+ }
2654
+ interface ProgramCreatedEnvelope {
2655
+ entity: Program;
2656
+ metadata: EventMetadata;
2657
+ }
2658
+ /**
2659
+ * Triggered when a program is created.
2660
+ * @permissionScope Manage Online Programs
2661
+ * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2662
+ * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2663
+ * @webhook
2664
+ * @eventType wix.online_programs.v3.program_created
2665
+ * @slug created
2666
+ * @documentationMaturity preview
2667
+ */
2668
+ declare function onProgramCreated(handler: (event: ProgramCreatedEnvelope) => void | Promise<void>): void;
2669
+ interface ProgramDeletedEnvelope {
2670
+ metadata: EventMetadata;
2671
+ }
2672
+ /**
2673
+ * Triggered when a program is deleted.
2674
+ * @permissionScope Manage Online Programs
2675
+ * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2676
+ * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2677
+ * @webhook
2678
+ * @eventType wix.online_programs.v3.program_deleted
2679
+ * @slug deleted
2680
+ * @documentationMaturity preview
2681
+ */
2682
+ declare function onProgramDeleted(handler: (event: ProgramDeletedEnvelope) => void | Promise<void>): void;
2683
+ interface ProgramArchivedEnvelope {
2684
+ data: ProgramArchived;
2685
+ metadata: EventMetadata;
2686
+ }
2687
+ /**
2688
+ * Triggered when a program is archived.
2689
+ * @permissionScope Manage Online Programs
2690
+ * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2691
+ * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2692
+ * @webhook
2693
+ * @eventType wix.online_programs.v3.program_program_archived
2694
+ * @slug program_archived
2695
+ * @documentationMaturity preview
2696
+ */
2697
+ declare function onProgramArchived(handler: (event: ProgramArchivedEnvelope) => void | Promise<void>): void;
2698
+ interface ProgramDuplicatedEnvelope {
2699
+ data: ProgramDuplicated;
2700
+ metadata: EventMetadata;
2701
+ }
2702
+ /**
2703
+ * Triggered when a program is duplicated.
2704
+ * @permissionScope Manage Online Programs
2705
+ * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2706
+ * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2707
+ * @webhook
2708
+ * @eventType wix.online_programs.v3.program_program_duplicated
2709
+ * @slug program_duplicated
2710
+ * @documentationMaturity preview
2711
+ */
2712
+ declare function onProgramDuplicated(handler: (event: ProgramDuplicatedEnvelope) => void | Promise<void>): void;
2713
+ interface ProgramEndedEnvelope {
2714
+ data: ProgramEnded;
2715
+ metadata: EventMetadata;
2716
+ }
2717
+ /**
2718
+ * Triggered when a program ends, either automatically or manually by the owner.
2719
+ * @permissionScope Manage Online Programs
2720
+ * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2721
+ * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2722
+ * @webhook
2723
+ * @eventType wix.online_programs.v3.program_program_ended
2724
+ * @slug program_ended
2725
+ * @documentationMaturity preview
2726
+ */
2727
+ declare function onProgramEnded(handler: (event: ProgramEndedEnvelope) => void | Promise<void>): void;
2728
+ interface ProgramPublishedEnvelope {
2729
+ data: ProgramPublished;
2730
+ metadata: EventMetadata;
2731
+ }
2732
+ /**
2733
+ * Triggered when a program is published.
2734
+ * @permissionScope Manage Online Programs
2735
+ * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2736
+ * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2737
+ * @webhook
2738
+ * @eventType wix.online_programs.v3.program_program_published
2739
+ * @slug program_published
2740
+ * @documentationMaturity preview
2741
+ */
2742
+ declare function onProgramPublished(handler: (event: ProgramPublishedEnvelope) => void | Promise<void>): void;
2743
+ interface ProgramUpdatedEnvelope {
2744
+ entity: Program;
2745
+ metadata: EventMetadata;
2746
+ /** @hidden */
2747
+ modifiedFields: Record<string, any>;
2748
+ }
2749
+ /**
2750
+ * Triggered when a program is updated.
2751
+ * @permissionScope Manage Online Programs
2752
+ * @permissionScopeId SCOPE.CHALLENGES.MANAGE
2753
+ * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2754
+ * @webhook
2755
+ * @eventType wix.online_programs.v3.program_updated
2756
+ * @slug updated
2757
+ * @documentationMaturity preview
2758
+ */
2759
+ declare function onProgramUpdated(handler: (event: ProgramUpdatedEnvelope) => void | Promise<void>): void;
2599
2760
  /**
2600
2761
  * Creates a draft program.
2601
2762
  *
@@ -3188,4 +3349,4 @@ interface CountProgramsOptions {
3188
3349
  */
3189
3350
  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>>;
3190
3351
 
3191
- export { type Settings as $, type ArchiveProgramResponse as A, type BulkUpdateProgramsOptions as B, type CountProgramsOptions as C, type DuplicateProgramResponse as D, type EndProgramResponse as E, DayOfWeek as F, type Description as G, type DescriptionMediaOneOf as H, Interval as I, type FocalPoint as J, type Timeline as K, type ListSampleProgramsResponse as L, type MaskedProgram as M, NestedAggregationType as N, type Restrictions as O, type Program as P, type Money as Q, ResolutionMethod as R, type SearchProgramsResponse as S, Trigger as T, type UpdateProgram as U, type VideoResolution as V, WebhookIdentityType as W, type Seo as X, type SeoSchema as Y, type Keyword as Z, type Tag as _, type UpdateProgramApplicationErrors as a, type PagingMetadataV2 as a$, type Reward as a0, type Certificate as a1, type ExtendedFields as a2, type VideoStepsSettings as a3, type ContentSummary as a4, type UpdateDocumentsEvent as a5, type UpdateDocumentsEventOperationOneOf as a6, type DocumentUpdateOperation as a7, type IndexDocument as a8, type DocumentPayload as a9, type ProgramMigration as aA, type BulkCreateProgramsMigrationResponse as aB, type BulkProgramResult as aC, type ItemMetadata as aD, type ApplicationError as aE, type BulkActionMetadata as aF, type DeleteAllProgramsMigrationRequest as aG, type DeleteAllProgramsMigrationResponse as aH, type DuplicateProgramRequest as aI, type GetProgramRequest as aJ, type GetProgramResponse as aK, type UpdateProgramRequest as aL, type UpdateProgramResponse as aM, type WrongStateErrorDetails as aN, type WrongStartDateErrorDetails as aO, type WrongParticipantsNumberErrorDetails as aP, type DuplicatedSlugErrorDetails as aQ, type TimelineSwitchForbiddenErrorDetails as aR, type DeleteProgramRequest as aS, type DeleteProgramResponse as aT, type QueryProgramsRequest as aU, type QueryV2 as aV, type QueryV2PagingMethodOneOf as aW, type Sorting as aX, type Paging as aY, type CursorPaging as aZ, type QueryProgramsResponse as a_, type DocumentImage as aa, type DeleteByIdsOperation as ab, type DeleteByFilterOperation as ac, type UpdateByFilterOperation as ad, type UpdateExistingOperation as ae, type InvalidateCache as af, type InvalidateCacheGetByOneOf as ag, type App as ah, type Page as ai, type URI as aj, type File as ak, type CustomTag as al, type Pages as am, type URIs as an, type ReindexMessage as ao, type ReindexMessageActionOneOf as ap, type Upsert as aq, type Delete as ar, type Schema as as, type ProgramPublished as at, type ProgramEnded as au, type ProgramArchived as av, type ProgramDuplicated as aw, type CreateProgramRequest as ax, type CreateProgramResponse as ay, type BulkCreateProgramsMigrationRequest as az, type ProgramSearch as b, type SiteCreated as b$, type Cursors as b0, type SearchProgramsRequest as b1, type CursorSearch as b2, type CursorSearchPagingMethodOneOf as b3, type Aggregation as b4, type AggregationKindOneOf as b5, type RangeBucket as b6, type IncludeMissingValuesOptions as b7, type ValueAggregation as b8, type ValueAggregationOptionsOneOf as b9, type GroupByValueResults as bA, type DateHistogramResults as bB, type NestedResults as bC, type AggregationResults as bD, type AggregationResultsResultOneOf as bE, type PublishProgramRequest as bF, type EndProgramRequest as bG, type ArchiveProgramRequest as bH, type BulkUpdateProgramsRequest as bI, type BulkUpdateProgramResult as bJ, type CountProgramsRequest as bK, type ListSampleProgramsRequest as bL, type LabeledProgram as bM, type DomainEvent as bN, type DomainEventBodyOneOf as bO, type EntityCreatedEvent as bP, type RestoreInfo as bQ, type EntityUpdatedEvent as bR, type EntityDeletedEvent as bS, type ActionEvent as bT, type Empty as bU, type ResolveProgramSlugRequest as bV, type ResolveProgramSlugResponse as bW, type MissingMetasiteIdErrorDetails as bX, type MetaSiteSpecialEvent as bY, type MetaSiteSpecialEventPayloadOneOf as bZ, type Asset as b_, type RangeAggregation as ba, type ScalarAggregation as bb, type DateHistogramAggregation as bc, type NestedAggregationItem as bd, type NestedAggregationItemKindOneOf as be, type NestedAggregation as bf, type GroupByAggregation as bg, type GroupByAggregationKindOneOf as bh, type SearchDetails as bi, type CursorPagingMetadata as bj, type AggregationData as bk, type ValueAggregationResult as bl, type RangeAggregationResult as bm, type NestedAggregationResults as bn, type NestedAggregationResultsResultOneOf as bo, type ValueResults as bp, type RangeResults as bq, type AggregationResultsScalarResult as br, type NestedValueAggregationResult as bs, type ValueResult as bt, type RangeResult as bu, type ScalarResult as bv, type NestedResultValue as bw, type NestedResultValueResultOneOf as bx, type Results as by, type DateHistogramResult as bz, type PublishProgramResponse as c, type IntervalWithLiterals as c$, type SiteTransferred as c0, type SiteDeleted as c1, type DeleteContext as c2, type SiteUndeleted as c3, type SitePublished as c4, type SiteUnpublished as c5, type SiteMarkedAsTemplate as c6, type SiteMarkedAsWixSite as c7, type ServiceProvisioned as c8, type ServiceRemoved as c9, type AddressHint as cA, type GeoCoordinates as cB, type BusinessSchedule as cC, type TimePeriod as cD, type SpecialHourPeriod as cE, type Multilingual as cF, type SupportedLanguage as cG, type ConsentPolicy as cH, type MessageEnvelope as cI, type IdentificationData as cJ, type IdentificationDataIdOneOf as cK, type AccountInfo as cL, type ProgramsQueryResult as cM, type ProgramQuerySpec as cN, type ProgramSearchSpec as cO, utils as cP, type StatusWithLiterals as cQ, type AccessTypeWithLiterals as cR, type TriggerWithLiterals as cS, type EnumWithLiterals as cT, type BulkActionTypeWithLiterals as cU, type SortOrderWithLiterals as cV, type SortTypeWithLiterals as cW, type SortDirectionWithLiterals as cX, type MissingValuesWithLiterals as cY, type ScalarTypeWithLiterals as cZ, type NestedAggregationTypeWithLiterals as c_, type SiteRenamed as ca, type SiteHardDeleted as cb, type NamespaceChanged as cc, type StudioAssigned as cd, type StudioUnassigned as ce, type SiteUrlChanged as cf, type SitePurgedExternally as cg, type OdeditorAssigned as ch, type OdeditorUnassigned as ci, type PicassoAssigned as cj, type PicassoUnassigned as ck, type WixelAssigned as cl, type WixelUnassigned as cm, type StudioTwoAssigned as cn, type StudioTwoUnassigned as co, type UserDomainMediaEnabled as cp, type UserDomainMediaDisabled as cq, type EditorlessAssigned as cr, type EditorlessUnassigned as cs, type SearchIndexingNotification as ct, type SitePropertiesUpdated as cu, type SitePropertiesEvent as cv, type Properties as cw, type Categories as cx, type Locale as cy, type Address as cz, type PublishProgramApplicationErrors as d, type AggregationTypeWithLiterals as d0, type ModeWithLiterals as d1, type StateWithLiterals as d2, type SiteCreatedContextWithLiterals as d3, type NamespaceWithLiterals as d4, type DeleteStatusWithLiterals as d5, type SearchIndexingNotificationStateWithLiterals as d6, type PlacementTypeWithLiterals as d7, type DayOfWeekWithLiterals as d8, type ResolutionMethodWithLiterals as d9, type WebhookIdentityTypeWithLiterals as da, type CommonQueryWithEntityContext as db, type CommonSearchWithEntityContext as dc, createProgram as dd, duplicateProgram as de, getProgram as df, updateProgram as dg, deleteProgram as dh, queryPrograms as di, publishProgram as dj, endProgram as dk, archiveProgram as dl, bulkUpdatePrograms as dm, countPrograms as dn, listSamplePrograms as dp, type BulkUpdateProgramsResponse as e, type CountProgramsResponse as f, type ProgramsQueryBuilder as g, type ProgramQuery as h, Status as i, AccessType as j, Enum as k, BulkActionType as l, SortOrder as m, SortType as n, SortDirection as o, MissingValues as p, ScalarType as q, AggregationType as r, Mode as s, typedQueryPrograms as t, State as u, SiteCreatedContext as v, Namespace as w, DeleteStatus as x, SearchIndexingNotificationState as y, PlacementType as z };
3352
+ export { type Timeline as $, type ArchiveProgramResponse as A, type BulkUpdateProgramsOptions as B, type CountProgramsOptions as C, type DuplicateProgramResponse as D, type EndProgramResponse as E, Mode as F, State as G, SiteCreatedContext as H, Interval as I, Namespace as J, DeleteStatus as K, type ListSampleProgramsResponse as L, type MaskedProgram as M, NestedAggregationType as N, SearchIndexingNotificationState as O, type Program as P, PlacementType as Q, DayOfWeek as R, type SearchProgramsResponse as S, Trigger as T, type UpdateProgram as U, ResolutionMethod as V, WebhookIdentityType as W, type Description as X, type DescriptionMediaOneOf as Y, type FocalPoint as Z, type VideoResolution as _, type UpdateProgramApplicationErrors as a, type QueryProgramsRequest as a$, type Restrictions as a0, type Money as a1, type Seo as a2, type SeoSchema as a3, type Keyword as a4, type Tag as a5, type Settings as a6, type Reward as a7, type Certificate as a8, type ExtendedFields as a9, type ProgramPublished as aA, type ProgramEnded as aB, type ProgramArchived as aC, type ProgramDuplicated as aD, type CreateProgramRequest as aE, type CreateProgramResponse as aF, type BulkCreateProgramsMigrationRequest as aG, type ProgramMigration as aH, type BulkCreateProgramsMigrationResponse as aI, type BulkProgramResult as aJ, type ItemMetadata as aK, type ApplicationError as aL, type BulkActionMetadata as aM, type DeleteAllProgramsMigrationRequest as aN, type DeleteAllProgramsMigrationResponse as aO, type DuplicateProgramRequest as aP, type GetProgramRequest as aQ, type GetProgramResponse as aR, type UpdateProgramRequest as aS, type UpdateProgramResponse as aT, type WrongStateErrorDetails as aU, type WrongStartDateErrorDetails as aV, type WrongParticipantsNumberErrorDetails as aW, type DuplicatedSlugErrorDetails as aX, type TimelineSwitchForbiddenErrorDetails as aY, type DeleteProgramRequest as aZ, type DeleteProgramResponse as a_, type VideoStepsSettings as aa, type ContentSummary as ab, type UpdateDocumentsEvent as ac, type UpdateDocumentsEventOperationOneOf as ad, type DocumentUpdateOperation as ae, type IndexDocument as af, type DocumentPayload as ag, type DocumentImage as ah, type DeleteByIdsOperation as ai, type DeleteByFilterOperation as aj, type UpdateByFilterOperation as ak, type UpdateExistingOperation as al, type InvalidateCache as am, type InvalidateCacheGetByOneOf as an, type App as ao, type Page as ap, type URI as aq, type File as ar, type CustomTag as as, type Pages as at, type URIs as au, type ReindexMessage as av, type ReindexMessageActionOneOf as aw, type Upsert as ax, type Delete as ay, type Schema as az, type ProgramSearch as b, type Empty as b$, type QueryV2 as b0, type QueryV2PagingMethodOneOf as b1, type Sorting as b2, type Paging as b3, type CursorPaging as b4, type QueryProgramsResponse as b5, type PagingMetadataV2 as b6, type Cursors as b7, type SearchProgramsRequest as b8, type CursorSearch as b9, type ValueResult as bA, type RangeResult as bB, type ScalarResult as bC, type NestedResultValue as bD, type NestedResultValueResultOneOf as bE, type Results as bF, type DateHistogramResult as bG, type GroupByValueResults as bH, type DateHistogramResults as bI, type NestedResults as bJ, type AggregationResults as bK, type AggregationResultsResultOneOf as bL, type PublishProgramRequest as bM, type EndProgramRequest as bN, type ArchiveProgramRequest as bO, type BulkUpdateProgramsRequest as bP, type BulkUpdateProgramResult as bQ, type CountProgramsRequest as bR, type ListSampleProgramsRequest as bS, type LabeledProgram as bT, type DomainEvent as bU, type DomainEventBodyOneOf as bV, type EntityCreatedEvent as bW, type RestoreInfo as bX, type EntityUpdatedEvent as bY, type EntityDeletedEvent as bZ, type ActionEvent as b_, type CursorSearchPagingMethodOneOf as ba, type Aggregation as bb, type AggregationKindOneOf as bc, type RangeBucket as bd, type IncludeMissingValuesOptions as be, type ValueAggregation as bf, type ValueAggregationOptionsOneOf as bg, type RangeAggregation as bh, type ScalarAggregation as bi, type DateHistogramAggregation as bj, type NestedAggregationItem as bk, type NestedAggregationItemKindOneOf as bl, type NestedAggregation as bm, type GroupByAggregation as bn, type GroupByAggregationKindOneOf as bo, type SearchDetails as bp, type CursorPagingMetadata as bq, type AggregationData as br, type ValueAggregationResult as bs, type RangeAggregationResult as bt, type NestedAggregationResults as bu, type NestedAggregationResultsResultOneOf as bv, type ValueResults as bw, type RangeResults as bx, type AggregationResultsScalarResult as by, type NestedValueAggregationResult as bz, type PublishProgramResponse as c, type AccessTypeWithLiterals as c$, type ResolveProgramSlugRequest as c0, type ResolveProgramSlugResponse as c1, type MissingMetasiteIdErrorDetails as c2, type MetaSiteSpecialEvent as c3, type MetaSiteSpecialEventPayloadOneOf as c4, type Asset as c5, type SiteCreated as c6, type SiteTransferred as c7, type SiteDeleted as c8, type DeleteContext as c9, type SearchIndexingNotification as cA, type SitePropertiesUpdated as cB, type SitePropertiesEvent as cC, type Properties as cD, type Categories as cE, type Locale as cF, type Address as cG, type AddressHint as cH, type GeoCoordinates as cI, type BusinessSchedule as cJ, type TimePeriod as cK, type SpecialHourPeriod as cL, type Multilingual as cM, type SupportedLanguage as cN, type ConsentPolicy as cO, type MessageEnvelope as cP, type IdentificationData as cQ, type IdentificationDataIdOneOf as cR, type AccountInfo as cS, type BaseEventMetadata as cT, type EventMetadata as cU, type AccountInfoMetadata as cV, type ProgramsQueryResult as cW, type ProgramQuerySpec as cX, type ProgramSearchSpec as cY, utils as cZ, type StatusWithLiterals as c_, type SiteUndeleted as ca, type SitePublished as cb, type SiteUnpublished as cc, type SiteMarkedAsTemplate as cd, type SiteMarkedAsWixSite as ce, type ServiceProvisioned as cf, type ServiceRemoved as cg, type SiteRenamed as ch, type SiteHardDeleted as ci, type NamespaceChanged as cj, type StudioAssigned as ck, type StudioUnassigned as cl, type SiteUrlChanged as cm, type SitePurgedExternally as cn, type OdeditorAssigned as co, type OdeditorUnassigned as cp, type PicassoAssigned as cq, type PicassoUnassigned as cr, type WixelAssigned as cs, type WixelUnassigned as ct, type StudioTwoAssigned as cu, type StudioTwoUnassigned as cv, type UserDomainMediaEnabled as cw, type UserDomainMediaDisabled as cx, type EditorlessAssigned as cy, type EditorlessUnassigned as cz, type PublishProgramApplicationErrors as d, type TriggerWithLiterals as d0, type EnumWithLiterals as d1, type BulkActionTypeWithLiterals as d2, type SortOrderWithLiterals as d3, type SortTypeWithLiterals as d4, type SortDirectionWithLiterals as d5, type MissingValuesWithLiterals as d6, type ScalarTypeWithLiterals as d7, type NestedAggregationTypeWithLiterals as d8, type IntervalWithLiterals as d9, queryPrograms as dA, publishProgram as dB, endProgram as dC, archiveProgram as dD, bulkUpdatePrograms as dE, countPrograms as dF, listSamplePrograms as dG, type AggregationTypeWithLiterals as da, type ModeWithLiterals as db, type StateWithLiterals as dc, type SiteCreatedContextWithLiterals as dd, type NamespaceWithLiterals as de, type DeleteStatusWithLiterals as df, type SearchIndexingNotificationStateWithLiterals as dg, type PlacementTypeWithLiterals as dh, type DayOfWeekWithLiterals as di, type ResolutionMethodWithLiterals as dj, type WebhookIdentityTypeWithLiterals as dk, type CommonQueryWithEntityContext as dl, type CommonSearchWithEntityContext as dm, onProgramCreated as dn, onProgramDeleted as dp, onProgramArchived as dq, onProgramDuplicated as dr, onProgramEnded as ds, onProgramPublished as dt, onProgramUpdated as du, createProgram as dv, duplicateProgram as dw, getProgram as dx, updateProgram as dy, deleteProgram as dz, type BulkUpdateProgramsResponse as e, type CountProgramsResponse as f, type ProgramCreatedEnvelope as g, type ProgramDeletedEnvelope as h, type ProgramArchivedEnvelope as i, type ProgramDuplicatedEnvelope as j, type ProgramEndedEnvelope as k, type ProgramPublishedEnvelope as l, type ProgramUpdatedEnvelope as m, type ProgramsQueryBuilder as n, type ProgramQuery as o, Status as p, AccessType as q, Enum as r, BulkActionType as s, typedQueryPrograms as t, SortOrder as u, SortType as v, SortDirection as w, MissingValues as x, ScalarType as y, AggregationType as z };
@@ -1,6 +1,6 @@
1
- import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } 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 ProgramsQueryBuilder, h as ProgramQuery, t as typedQueryPrograms } from './online-programs-v3-program-programs.universal-7yJy1Sk4.mjs';
3
- export { j as AccessType, cR as AccessTypeWithLiterals, cL as AccountInfo, bT as ActionEvent, cz as Address, cA as AddressHint, b4 as Aggregation, bk as AggregationData, b5 as AggregationKindOneOf, bD as AggregationResults, bE as AggregationResultsResultOneOf, br as AggregationResultsScalarResult, r as AggregationType, d0 as AggregationTypeWithLiterals, ah as App, aE as ApplicationError, bH as ArchiveProgramRequest, b_ as Asset, aF as BulkActionMetadata, l as BulkActionType, cU as BulkActionTypeWithLiterals, az as BulkCreateProgramsMigrationRequest, aB as BulkCreateProgramsMigrationResponse, aC as BulkProgramResult, bJ as BulkUpdateProgramResult, bI as BulkUpdateProgramsRequest, cC as BusinessSchedule, cx as Categories, a1 as Certificate, db as CommonQueryWithEntityContext, dc as CommonSearchWithEntityContext, cH as ConsentPolicy, a4 as ContentSummary, bK as CountProgramsRequest, ax as CreateProgramRequest, ay as CreateProgramResponse, aZ as CursorPaging, bj as CursorPagingMetadata, b2 as CursorSearch, b3 as CursorSearchPagingMethodOneOf, b0 as Cursors, al as CustomTag, bc as DateHistogramAggregation, bz as DateHistogramResult, bB as DateHistogramResults, F as DayOfWeek, d8 as DayOfWeekWithLiterals, ar as Delete, aG as DeleteAllProgramsMigrationRequest, aH as DeleteAllProgramsMigrationResponse, ac as DeleteByFilterOperation, ab as DeleteByIdsOperation, c2 as DeleteContext, aS as DeleteProgramRequest, aT as DeleteProgramResponse, x as DeleteStatus, d5 as DeleteStatusWithLiterals, G as Description, H as DescriptionMediaOneOf, aa as DocumentImage, a9 as DocumentPayload, a7 as DocumentUpdateOperation, bN as DomainEvent, bO as DomainEventBodyOneOf, aI as DuplicateProgramRequest, aQ as DuplicatedSlugErrorDetails, cr as EditorlessAssigned, cs as EditorlessUnassigned, bU as Empty, bG as EndProgramRequest, bP as EntityCreatedEvent, bS as EntityDeletedEvent, bR as EntityUpdatedEvent, k as Enum, cT as EnumWithLiterals, a2 as ExtendedFields, ak as File, J as FocalPoint, cB as GeoCoordinates, aJ as GetProgramRequest, aK as GetProgramResponse, bg as GroupByAggregation, bh as GroupByAggregationKindOneOf, bA as GroupByValueResults, cJ as IdentificationData, cK as IdentificationDataIdOneOf, b7 as IncludeMissingValuesOptions, a8 as IndexDocument, I as Interval, c$ as IntervalWithLiterals, af as InvalidateCache, ag as InvalidateCacheGetByOneOf, aD as ItemMetadata, Z as Keyword, bM as LabeledProgram, bL as ListSampleProgramsRequest, cy as Locale, cI as MessageEnvelope, bY as MetaSiteSpecialEvent, bZ as MetaSiteSpecialEventPayloadOneOf, bX as MissingMetasiteIdErrorDetails, p as MissingValues, cY as MissingValuesWithLiterals, s as Mode, d1 as ModeWithLiterals, Q as Money, cF as Multilingual, w as Namespace, cc as NamespaceChanged, d4 as NamespaceWithLiterals, bf as NestedAggregation, bd as NestedAggregationItem, be as NestedAggregationItemKindOneOf, bn as NestedAggregationResults, bo as NestedAggregationResultsResultOneOf, N as NestedAggregationType, c_ as NestedAggregationTypeWithLiterals, bw as NestedResultValue, bx as NestedResultValueResultOneOf, bC as NestedResults, bs as NestedValueAggregationResult, ch as OdeditorAssigned, ci as OdeditorUnassigned, ai as Page, am as Pages, aY as Paging, a$ as PagingMetadataV2, cj as PicassoAssigned, ck as PicassoUnassigned, z as PlacementType, d7 as PlacementTypeWithLiterals, av as ProgramArchived, aw as ProgramDuplicated, au as ProgramEnded, aA as ProgramMigration, at as ProgramPublished, cN as ProgramQuerySpec, cO as ProgramSearchSpec, cM as ProgramsQueryResult, cw as Properties, bF as PublishProgramRequest, aU as QueryProgramsRequest, a_ as QueryProgramsResponse, aV as QueryV2, aW as QueryV2PagingMethodOneOf, ba as RangeAggregation, bm as RangeAggregationResult, b6 as RangeBucket, bu as RangeResult, bq as RangeResults, ao as ReindexMessage, ap as ReindexMessageActionOneOf, R as ResolutionMethod, d9 as ResolutionMethodWithLiterals, bV as ResolveProgramSlugRequest, bW as ResolveProgramSlugResponse, bQ as RestoreInfo, O as Restrictions, by as Results, a0 as Reward, bb as ScalarAggregation, bv as ScalarResult, q as ScalarType, cZ as ScalarTypeWithLiterals, as as Schema, bi as SearchDetails, ct as SearchIndexingNotification, y as SearchIndexingNotificationState, d6 as SearchIndexingNotificationStateWithLiterals, b1 as SearchProgramsRequest, X as Seo, Y as SeoSchema, c8 as ServiceProvisioned, c9 as ServiceRemoved, $ as Settings, b$ as SiteCreated, v as SiteCreatedContext, d3 as SiteCreatedContextWithLiterals, c1 as SiteDeleted, cb as SiteHardDeleted, c6 as SiteMarkedAsTemplate, c7 as SiteMarkedAsWixSite, cv as SitePropertiesEvent, cu as SitePropertiesUpdated, c4 as SitePublished, cg as SitePurgedExternally, ca as SiteRenamed, c0 as SiteTransferred, c3 as SiteUndeleted, c5 as SiteUnpublished, cf as SiteUrlChanged, o as SortDirection, cX as SortDirectionWithLiterals, m as SortOrder, cV as SortOrderWithLiterals, n as SortType, cW as SortTypeWithLiterals, aX as Sorting, cE as SpecialHourPeriod, u as State, d2 as StateWithLiterals, i as Status, cQ as StatusWithLiterals, cd as StudioAssigned, cn as StudioTwoAssigned, co as StudioTwoUnassigned, ce as StudioUnassigned, cG as SupportedLanguage, _ as Tag, cD as TimePeriod, K as Timeline, aR as TimelineSwitchForbiddenErrorDetails, T as Trigger, cS as TriggerWithLiterals, aj as URI, an as URIs, ad as UpdateByFilterOperation, a5 as UpdateDocumentsEvent, a6 as UpdateDocumentsEventOperationOneOf, ae as UpdateExistingOperation, aL as UpdateProgramRequest, aM as UpdateProgramResponse, aq as Upsert, cq as UserDomainMediaDisabled, cp as UserDomainMediaEnabled, b8 as ValueAggregation, b9 as ValueAggregationOptionsOneOf, bl as ValueAggregationResult, bt as ValueResult, bp as ValueResults, V as VideoResolution, a3 as VideoStepsSettings, W as WebhookIdentityType, da as WebhookIdentityTypeWithLiterals, cl as WixelAssigned, cm as WixelUnassigned, aP as WrongParticipantsNumberErrorDetails, aO as WrongStartDateErrorDetails, aN as WrongStateErrorDetails, cP as utils } from './online-programs-v3-program-programs.universal-7yJy1Sk4.mjs';
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-Z6YlRtAm.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-Z6YlRtAm.mjs';
4
4
 
5
5
  declare function createProgram$1(httpClient: HttpClient): CreateProgramSignature;
6
6
  interface CreateProgramSignature {
@@ -145,6 +145,13 @@ interface ListSampleProgramsSignature {
145
145
  */
146
146
  (): 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>>;
147
147
  }
148
+ declare const onProgramCreated$1: EventDefinition<ProgramCreatedEnvelope, "wix.online_programs.v3.program_created">;
149
+ declare const onProgramDeleted$1: EventDefinition<ProgramDeletedEnvelope, "wix.online_programs.v3.program_deleted">;
150
+ declare const onProgramArchived$1: EventDefinition<ProgramArchivedEnvelope, "wix.online_programs.v3.program_program_archived">;
151
+ declare const onProgramDuplicated$1: EventDefinition<ProgramDuplicatedEnvelope, "wix.online_programs.v3.program_program_duplicated">;
152
+ declare const onProgramEnded$1: EventDefinition<ProgramEndedEnvelope, "wix.online_programs.v3.program_program_ended">;
153
+ declare const onProgramPublished$1: EventDefinition<ProgramPublishedEnvelope, "wix.online_programs.v3.program_program_published">;
154
+ declare const onProgramUpdated$1: EventDefinition<ProgramUpdatedEnvelope, "wix.online_programs.v3.program_updated">;
148
155
 
149
156
  declare function customQueryPrograms(httpClient: HttpClient): {
150
157
  (): ProgramsQueryBuilder;
@@ -163,5 +170,33 @@ declare const bulkUpdatePrograms: MaybeContext<BuildRESTFunction<typeof bulkUpda
163
170
  declare const countPrograms: MaybeContext<BuildRESTFunction<typeof countPrograms$1> & typeof countPrograms$1>;
164
171
  declare const listSamplePrograms: MaybeContext<BuildRESTFunction<typeof listSamplePrograms$1> & typeof listSamplePrograms$1>;
165
172
  declare const queryPrograms: MaybeContext<BuildRESTFunction<typeof customQueryPrograms> & typeof customQueryPrograms>;
173
+ /**
174
+ * Triggered when a program is created.
175
+ */
176
+ declare const onProgramCreated: BuildEventDefinition<typeof onProgramCreated$1> & typeof onProgramCreated$1;
177
+ /**
178
+ * Triggered when a program is deleted.
179
+ */
180
+ declare const onProgramDeleted: BuildEventDefinition<typeof onProgramDeleted$1> & typeof onProgramDeleted$1;
181
+ /**
182
+ * Triggered when a program is archived.
183
+ */
184
+ declare const onProgramArchived: BuildEventDefinition<typeof onProgramArchived$1> & typeof onProgramArchived$1;
185
+ /**
186
+ * Triggered when a program is duplicated.
187
+ */
188
+ declare const onProgramDuplicated: BuildEventDefinition<typeof onProgramDuplicated$1> & typeof onProgramDuplicated$1;
189
+ /**
190
+ * Triggered when a program ends, either automatically or manually by the owner.
191
+ */
192
+ declare const onProgramEnded: BuildEventDefinition<typeof onProgramEnded$1> & typeof onProgramEnded$1;
193
+ /**
194
+ * Triggered when a program is published.
195
+ */
196
+ declare const onProgramPublished: BuildEventDefinition<typeof onProgramPublished$1> & typeof onProgramPublished$1;
197
+ /**
198
+ * Triggered when a program is updated.
199
+ */
200
+ declare const onProgramUpdated: BuildEventDefinition<typeof onProgramUpdated$1> & typeof onProgramUpdated$1;
166
201
 
167
- export { ArchiveProgramResponse, BulkUpdateProgramsOptions, BulkUpdateProgramsResponse, CountProgramsOptions, CountProgramsResponse, DuplicateProgramResponse, EndProgramResponse, ListSampleProgramsResponse, MaskedProgram, Program, ProgramQuery, ProgramSearch, ProgramsQueryBuilder, PublishProgramApplicationErrors, PublishProgramResponse, SearchProgramsResponse, UpdateProgram, UpdateProgramApplicationErrors, archiveProgram, bulkUpdatePrograms, countPrograms, createProgram, deleteProgram, duplicateProgram, endProgram, getProgram, listSamplePrograms, publishProgram, queryPrograms, searchPrograms, updateProgram };
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 };