@wix/auto_sdk_online-programs_programs 1.0.39 → 1.0.41

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 +2 -2
  2. package/build/cjs/index.js +162 -0
  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 +146 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +47 -2
  8. package/build/cjs/meta.js +102 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/{online-programs-v3-program-programs.universal-Z6YlRtAm.d.ts → online-programs-v3-program-programs.universal-jF7XKDI_.d.ts} +40 -1
  11. package/build/es/index.d.mts +2 -2
  12. package/build/es/index.mjs +160 -0
  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 +144 -0
  16. package/build/es/index.typings.mjs.map +1 -1
  17. package/build/es/meta.d.mts +47 -2
  18. package/build/es/meta.mjs +100 -0
  19. package/build/es/meta.mjs.map +1 -1
  20. package/build/es/{online-programs-v3-program-programs.universal-Z6YlRtAm.d.mts → online-programs-v3-program-programs.universal-jF7XKDI_.d.mts} +40 -1
  21. package/build/internal/cjs/index.d.ts +34 -3
  22. package/build/internal/cjs/index.typings.d.ts +2 -2
  23. package/build/internal/cjs/meta.d.ts +60 -2
  24. package/build/internal/cjs/{online-programs-v3-program-programs.universal-D_zbRqi7.d.ts → online-programs-v3-program-programs.universal-C1gLuVO0.d.ts} +91 -1
  25. package/build/internal/es/index.d.mts +34 -3
  26. package/build/internal/es/index.typings.d.mts +2 -2
  27. package/build/internal/es/meta.d.mts +60 -2
  28. package/build/internal/es/{online-programs-v3-program-programs.universal-D_zbRqi7.d.mts → online-programs-v3-program-programs.universal-C1gLuVO0.d.mts} +91 -1
  29. package/package.json +2 -2
@@ -390,6 +390,9 @@ interface ContentSummary {
390
390
  */
391
391
  sectionCount?: number;
392
392
  }
393
+ /** Program Freemium enablement settings. Divider placement is stored separately. */
394
+ interface FreemiumSettings {
395
+ }
393
396
  interface UpdateDocumentsEvent extends UpdateDocumentsEventOperationOneOf {
394
397
  /** insert/update documents */
395
398
  update?: DocumentUpdateOperation;
@@ -1521,6 +1524,28 @@ interface ArchiveProgramResponse {
1521
1524
  /** Archived program. */
1522
1525
  program?: Program;
1523
1526
  }
1527
+ interface EnableProgramFreemiumRequest {
1528
+ /**
1529
+ * ID of the program to enable Freemium for.
1530
+ * @format GUID
1531
+ */
1532
+ programId: string;
1533
+ }
1534
+ interface EnableProgramFreemiumResponse {
1535
+ /** Program with the persisted Freemium setting. */
1536
+ program?: Program;
1537
+ }
1538
+ interface DisableProgramFreemiumRequest {
1539
+ /**
1540
+ * ID of the program to disable Freemium for.
1541
+ * @format GUID
1542
+ */
1543
+ programId: string;
1544
+ }
1545
+ interface DisableProgramFreemiumResponse {
1546
+ /** Program with the persisted Freemium setting. */
1547
+ program?: Program;
1548
+ }
1524
1549
  interface BulkUpdateProgramsRequest {
1525
1550
  /**
1526
1551
  * Programs to update. Each item contains partial program data.
@@ -2596,6 +2621,20 @@ type PublishProgramApplicationErrors = {
2596
2621
  description?: string;
2597
2622
  data?: Record<string, any>;
2598
2623
  };
2624
+ /** @docsIgnore */
2625
+ type EnableProgramFreemiumApplicationErrors = {
2626
+ code?: 'FREEMIUM_PROGRAM_STATE_NOT_SUPPORTED';
2627
+ description?: string;
2628
+ data?: Record<string, any>;
2629
+ } | {
2630
+ code?: 'FREEMIUM_REQUIRES_SELF_PACED_PROGRAM';
2631
+ description?: string;
2632
+ data?: Record<string, any>;
2633
+ } | {
2634
+ code?: 'FREEMIUM_REQUIRES_PAID_ACCESS';
2635
+ description?: string;
2636
+ data?: Record<string, any>;
2637
+ };
2599
2638
  interface BaseEventMetadata {
2600
2639
  /**
2601
2640
  * App instance ID.
@@ -3349,4 +3388,4 @@ interface CountProgramsOptions {
3349
3388
  */
3350
3389
  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>>;
3351
3390
 
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 };
3391
+ export { type Timeline as $, type ArchiveProgramResponse as A, type BulkUpdateProgramsOptions as B, type CountProgramsOptions as C, type DuplicateProgramResponse as D, type EndProgramResponse as E, Mode as F, State as G, SiteCreatedContext as H, Interval as I, Namespace as J, DeleteStatus as K, type ListSampleProgramsResponse as L, type MaskedProgram as M, NestedAggregationType as N, SearchIndexingNotificationState as O, type Program as P, PlacementType as Q, DayOfWeek as R, type SearchProgramsResponse as S, Trigger as T, type UpdateProgram as U, ResolutionMethod as V, WebhookIdentityType as W, type Description as X, type DescriptionMediaOneOf as Y, type FocalPoint as Z, type VideoResolution as _, type UpdateProgramApplicationErrors as a, type DeleteProgramResponse as a$, type Restrictions as a0, type Money as a1, type Seo as a2, type SeoSchema as a3, type Keyword as a4, type Tag as a5, type Settings as a6, type Reward as a7, type Certificate as a8, type ExtendedFields as a9, type Schema as aA, type ProgramPublished as aB, type ProgramEnded as aC, type ProgramArchived as aD, type ProgramDuplicated as aE, type CreateProgramRequest as aF, type CreateProgramResponse as aG, type BulkCreateProgramsMigrationRequest as aH, type ProgramMigration as aI, type BulkCreateProgramsMigrationResponse as aJ, type BulkProgramResult as aK, type ItemMetadata as aL, type ApplicationError as aM, type BulkActionMetadata as aN, type DeleteAllProgramsMigrationRequest as aO, type DeleteAllProgramsMigrationResponse as aP, type DuplicateProgramRequest as aQ, type GetProgramRequest as aR, type GetProgramResponse as aS, type UpdateProgramRequest as aT, type UpdateProgramResponse as aU, type WrongStateErrorDetails as aV, type WrongStartDateErrorDetails as aW, type WrongParticipantsNumberErrorDetails as aX, type DuplicatedSlugErrorDetails as aY, type TimelineSwitchForbiddenErrorDetails as aZ, type DeleteProgramRequest as a_, type VideoStepsSettings as aa, type ContentSummary as ab, type FreemiumSettings as ac, type UpdateDocumentsEvent as ad, type UpdateDocumentsEventOperationOneOf as ae, type DocumentUpdateOperation as af, type IndexDocument as ag, type DocumentPayload as ah, type DocumentImage as ai, type DeleteByIdsOperation as aj, type DeleteByFilterOperation as ak, type UpdateByFilterOperation as al, type UpdateExistingOperation as am, type InvalidateCache as an, type InvalidateCacheGetByOneOf as ao, type App as ap, type Page as aq, type URI as ar, type File as as, type CustomTag as at, type Pages as au, type URIs as av, type ReindexMessage as aw, type ReindexMessageActionOneOf as ax, type Upsert as ay, type Delete as az, type ProgramSearch as b, type EntityCreatedEvent as b$, type QueryProgramsRequest as b0, type QueryV2 as b1, type QueryV2PagingMethodOneOf as b2, type Sorting as b3, type Paging as b4, type CursorPaging as b5, type QueryProgramsResponse as b6, type PagingMetadataV2 as b7, type Cursors as b8, type SearchProgramsRequest as b9, type NestedValueAggregationResult as bA, type ValueResult as bB, type RangeResult as bC, type ScalarResult as bD, type NestedResultValue as bE, type NestedResultValueResultOneOf as bF, type Results as bG, type DateHistogramResult as bH, type GroupByValueResults as bI, type DateHistogramResults as bJ, type NestedResults as bK, type AggregationResults as bL, type AggregationResultsResultOneOf as bM, type PublishProgramRequest as bN, type EndProgramRequest as bO, type ArchiveProgramRequest as bP, type EnableProgramFreemiumRequest as bQ, type EnableProgramFreemiumResponse as bR, type DisableProgramFreemiumRequest as bS, type DisableProgramFreemiumResponse as bT, type BulkUpdateProgramsRequest as bU, type BulkUpdateProgramResult as bV, type CountProgramsRequest as bW, type ListSampleProgramsRequest as bX, type LabeledProgram as bY, type DomainEvent as bZ, type DomainEventBodyOneOf as b_, type CursorSearch as ba, type CursorSearchPagingMethodOneOf as bb, type Aggregation as bc, type AggregationKindOneOf as bd, type RangeBucket as be, type IncludeMissingValuesOptions as bf, type ValueAggregation as bg, type ValueAggregationOptionsOneOf as bh, type RangeAggregation as bi, type ScalarAggregation as bj, type DateHistogramAggregation as bk, type NestedAggregationItem as bl, type NestedAggregationItemKindOneOf as bm, type NestedAggregation as bn, type GroupByAggregation as bo, type GroupByAggregationKindOneOf as bp, type SearchDetails as bq, type CursorPagingMetadata as br, type AggregationData as bs, type ValueAggregationResult as bt, type RangeAggregationResult as bu, type NestedAggregationResults as bv, type NestedAggregationResultsResultOneOf as bw, type ValueResults as bx, type RangeResults as by, type AggregationResultsScalarResult as bz, type PublishProgramResponse as c, type ProgramsQueryResult as c$, type RestoreInfo as c0, type EntityUpdatedEvent as c1, type EntityDeletedEvent as c2, type ActionEvent as c3, type Empty as c4, type ResolveProgramSlugRequest as c5, type ResolveProgramSlugResponse as c6, type MissingMetasiteIdErrorDetails as c7, type MetaSiteSpecialEvent as c8, type MetaSiteSpecialEventPayloadOneOf as c9, type StudioTwoUnassigned as cA, type UserDomainMediaEnabled as cB, type UserDomainMediaDisabled as cC, type EditorlessAssigned as cD, type EditorlessUnassigned as cE, type SearchIndexingNotification as cF, type SitePropertiesUpdated as cG, type SitePropertiesEvent as cH, type Properties as cI, type Categories as cJ, type Locale as cK, type Address as cL, type AddressHint as cM, type GeoCoordinates as cN, type BusinessSchedule as cO, type TimePeriod as cP, type SpecialHourPeriod as cQ, type Multilingual as cR, type SupportedLanguage as cS, type ConsentPolicy as cT, type MessageEnvelope as cU, type IdentificationData as cV, type IdentificationDataIdOneOf as cW, type AccountInfo as cX, type BaseEventMetadata as cY, type EventMetadata as cZ, type AccountInfoMetadata as c_, type Asset as ca, type SiteCreated as cb, type SiteTransferred as cc, type SiteDeleted as cd, type DeleteContext as ce, type SiteUndeleted as cf, type SitePublished as cg, type SiteUnpublished as ch, type SiteMarkedAsTemplate as ci, type SiteMarkedAsWixSite as cj, type ServiceProvisioned as ck, type ServiceRemoved as cl, type SiteRenamed as cm, type SiteHardDeleted as cn, type NamespaceChanged as co, type StudioAssigned as cp, type StudioUnassigned as cq, type SiteUrlChanged as cr, type SitePurgedExternally as cs, type OdeditorAssigned as ct, type OdeditorUnassigned as cu, type PicassoAssigned as cv, type PicassoUnassigned as cw, type WixelAssigned as cx, type WixelUnassigned as cy, type StudioTwoAssigned as cz, type PublishProgramApplicationErrors as d, type ProgramQuerySpec as d0, type ProgramSearchSpec as d1, utils as d2, type StatusWithLiterals as d3, type AccessTypeWithLiterals as d4, type TriggerWithLiterals as d5, type EnumWithLiterals as d6, type BulkActionTypeWithLiterals as d7, type SortOrderWithLiterals as d8, type SortTypeWithLiterals as d9, onProgramUpdated as dA, createProgram as dB, duplicateProgram as dC, getProgram as dD, updateProgram as dE, deleteProgram as dF, queryPrograms as dG, publishProgram as dH, endProgram as dI, archiveProgram as dJ, bulkUpdatePrograms as dK, countPrograms as dL, listSamplePrograms as dM, type SortDirectionWithLiterals as da, type MissingValuesWithLiterals as db, type ScalarTypeWithLiterals as dc, type NestedAggregationTypeWithLiterals as dd, type IntervalWithLiterals as de, type AggregationTypeWithLiterals as df, type ModeWithLiterals as dg, type StateWithLiterals as dh, type SiteCreatedContextWithLiterals as di, type NamespaceWithLiterals as dj, type DeleteStatusWithLiterals as dk, type SearchIndexingNotificationStateWithLiterals as dl, type PlacementTypeWithLiterals as dm, type DayOfWeekWithLiterals as dn, type ResolutionMethodWithLiterals as dp, type WebhookIdentityTypeWithLiterals as dq, type EnableProgramFreemiumApplicationErrors as dr, type CommonQueryWithEntityContext as ds, type CommonSearchWithEntityContext as dt, onProgramCreated as du, onProgramDeleted as dv, onProgramArchived as dw, onProgramDuplicated as dx, onProgramEnded as dy, onProgramPublished as dz, type 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
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';
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-jF7XKDI_.mjs';
3
+ export { q as AccessType, d4 as AccessTypeWithLiterals, cX as AccountInfo, c_ as AccountInfoMetadata, c3 as ActionEvent, cL as Address, cM as AddressHint, bc as Aggregation, bs as AggregationData, bd as AggregationKindOneOf, bL as AggregationResults, bM as AggregationResultsResultOneOf, bz as AggregationResultsScalarResult, z as AggregationType, df as AggregationTypeWithLiterals, ap as App, aM as ApplicationError, bP as ArchiveProgramRequest, ca as Asset, cY as BaseEventMetadata, aN as BulkActionMetadata, s as BulkActionType, d7 as BulkActionTypeWithLiterals, aH as BulkCreateProgramsMigrationRequest, aJ as BulkCreateProgramsMigrationResponse, aK as BulkProgramResult, bV as BulkUpdateProgramResult, bU as BulkUpdateProgramsRequest, cO as BusinessSchedule, cJ as Categories, a8 as Certificate, ds as CommonQueryWithEntityContext, dt as CommonSearchWithEntityContext, cT as ConsentPolicy, ab as ContentSummary, bW as CountProgramsRequest, aF as CreateProgramRequest, aG as CreateProgramResponse, b5 as CursorPaging, br as CursorPagingMetadata, ba as CursorSearch, bb as CursorSearchPagingMethodOneOf, b8 as Cursors, at as CustomTag, bk as DateHistogramAggregation, bH as DateHistogramResult, bJ as DateHistogramResults, R as DayOfWeek, dn as DayOfWeekWithLiterals, az as Delete, aO as DeleteAllProgramsMigrationRequest, aP as DeleteAllProgramsMigrationResponse, ak as DeleteByFilterOperation, aj as DeleteByIdsOperation, ce as DeleteContext, a_ as DeleteProgramRequest, a$ as DeleteProgramResponse, K as DeleteStatus, dk as DeleteStatusWithLiterals, X as Description, Y as DescriptionMediaOneOf, bS as DisableProgramFreemiumRequest, bT as DisableProgramFreemiumResponse, ai as DocumentImage, ah as DocumentPayload, af as DocumentUpdateOperation, bZ as DomainEvent, b_ as DomainEventBodyOneOf, aQ as DuplicateProgramRequest, aY as DuplicatedSlugErrorDetails, cD as EditorlessAssigned, cE as EditorlessUnassigned, c4 as Empty, dr as EnableProgramFreemiumApplicationErrors, bQ as EnableProgramFreemiumRequest, bR as EnableProgramFreemiumResponse, bO as EndProgramRequest, b$ as EntityCreatedEvent, c2 as EntityDeletedEvent, c1 as EntityUpdatedEvent, r as Enum, d6 as EnumWithLiterals, cZ as EventMetadata, a9 as ExtendedFields, as as File, Z as FocalPoint, ac as FreemiumSettings, cN as GeoCoordinates, aR as GetProgramRequest, aS as GetProgramResponse, bo as GroupByAggregation, bp as GroupByAggregationKindOneOf, bI as GroupByValueResults, cV as IdentificationData, cW as IdentificationDataIdOneOf, bf as IncludeMissingValuesOptions, ag as IndexDocument, I as Interval, de as IntervalWithLiterals, an as InvalidateCache, ao as InvalidateCacheGetByOneOf, aL as ItemMetadata, a4 as Keyword, bY as LabeledProgram, bX as ListSampleProgramsRequest, cK as Locale, cU as MessageEnvelope, c8 as MetaSiteSpecialEvent, c9 as MetaSiteSpecialEventPayloadOneOf, c7 as MissingMetasiteIdErrorDetails, x as MissingValues, db as MissingValuesWithLiterals, F as Mode, dg as ModeWithLiterals, a1 as Money, cR as Multilingual, J as Namespace, co as NamespaceChanged, dj as NamespaceWithLiterals, bn as NestedAggregation, bl as NestedAggregationItem, bm as NestedAggregationItemKindOneOf, bv as NestedAggregationResults, bw as NestedAggregationResultsResultOneOf, N as NestedAggregationType, dd as NestedAggregationTypeWithLiterals, bE as NestedResultValue, bF as NestedResultValueResultOneOf, bK as NestedResults, bA as NestedValueAggregationResult, ct as OdeditorAssigned, cu as OdeditorUnassigned, aq as Page, au as Pages, b4 as Paging, b7 as PagingMetadataV2, cv as PicassoAssigned, cw as PicassoUnassigned, Q as PlacementType, dm as PlacementTypeWithLiterals, aD as ProgramArchived, aE as ProgramDuplicated, aC as ProgramEnded, aI as ProgramMigration, aB as ProgramPublished, d0 as ProgramQuerySpec, d1 as ProgramSearchSpec, c$ as ProgramsQueryResult, cI as Properties, bN as PublishProgramRequest, b0 as QueryProgramsRequest, b6 as QueryProgramsResponse, b1 as QueryV2, b2 as QueryV2PagingMethodOneOf, bi as RangeAggregation, bu as RangeAggregationResult, be as RangeBucket, bC as RangeResult, by as RangeResults, aw as ReindexMessage, ax as ReindexMessageActionOneOf, V as ResolutionMethod, dp as ResolutionMethodWithLiterals, c5 as ResolveProgramSlugRequest, c6 as ResolveProgramSlugResponse, c0 as RestoreInfo, a0 as Restrictions, bG as Results, a7 as Reward, bj as ScalarAggregation, bD as ScalarResult, y as ScalarType, dc as ScalarTypeWithLiterals, aA as Schema, bq as SearchDetails, cF as SearchIndexingNotification, O as SearchIndexingNotificationState, dl as SearchIndexingNotificationStateWithLiterals, b9 as SearchProgramsRequest, a2 as Seo, a3 as SeoSchema, ck as ServiceProvisioned, cl as ServiceRemoved, a6 as Settings, cb as SiteCreated, H as SiteCreatedContext, di as SiteCreatedContextWithLiterals, cd as SiteDeleted, cn as SiteHardDeleted, ci as SiteMarkedAsTemplate, cj as SiteMarkedAsWixSite, cH as SitePropertiesEvent, cG as SitePropertiesUpdated, cg as SitePublished, cs as SitePurgedExternally, cm as SiteRenamed, cc as SiteTransferred, cf as SiteUndeleted, ch as SiteUnpublished, cr as SiteUrlChanged, w as SortDirection, da as SortDirectionWithLiterals, u as SortOrder, d8 as SortOrderWithLiterals, v as SortType, d9 as SortTypeWithLiterals, b3 as Sorting, cQ as SpecialHourPeriod, G as State, dh as StateWithLiterals, p as Status, d3 as StatusWithLiterals, cp as StudioAssigned, cz as StudioTwoAssigned, cA as StudioTwoUnassigned, cq as StudioUnassigned, cS as SupportedLanguage, a5 as Tag, cP as TimePeriod, $ as Timeline, aZ as TimelineSwitchForbiddenErrorDetails, T as Trigger, d5 as TriggerWithLiterals, ar as URI, av as URIs, al as UpdateByFilterOperation, ad as UpdateDocumentsEvent, ae as UpdateDocumentsEventOperationOneOf, am as UpdateExistingOperation, aT as UpdateProgramRequest, aU as UpdateProgramResponse, ay as Upsert, cC as UserDomainMediaDisabled, cB as UserDomainMediaEnabled, bg as ValueAggregation, bh as ValueAggregationOptionsOneOf, bt as ValueAggregationResult, bB as ValueResult, bx as ValueResults, _ as VideoResolution, aa as VideoStepsSettings, W as WebhookIdentityType, dq as WebhookIdentityTypeWithLiterals, cx as WixelAssigned, cy as WixelUnassigned, aX as WrongParticipantsNumberErrorDetails, aW as WrongStartDateErrorDetails, aV as WrongStateErrorDetails, d2 as utils } from './online-programs-v3-program-programs.universal-jF7XKDI_.mjs';
4
4
 
5
5
  declare function createProgram$1(httpClient: HttpClient): CreateProgramSignature;
6
6
  interface CreateProgramSignature {
@@ -523,6 +523,68 @@ function archiveProgram(payload) {
523
523
  }
524
524
  return __archiveProgram;
525
525
  }
526
+ function enableProgramFreemium(payload) {
527
+ function __enableProgramFreemium({ host }) {
528
+ const metadata = {
529
+ entityFqdn: "wix.online_programs.v3.program",
530
+ method: "POST",
531
+ methodFqn: "wix.onlineprograms.programs.v3.ProgramsService.EnableProgramFreemium",
532
+ packageName: PACKAGE_NAME,
533
+ migrationOptions: {
534
+ optInTransformResponse: true
535
+ },
536
+ url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({
537
+ protoPath: "/v3/programs/{programId}/enable-freemium",
538
+ data: payload,
539
+ host
540
+ }),
541
+ data: payload,
542
+ transformResponse: (payload2) => transformPaths(payload2, [
543
+ {
544
+ transformFn: transformRESTTimestampToSDKTimestamp,
545
+ paths: TRANSFORM_PATHS_0
546
+ },
547
+ {
548
+ transformFn: transformRESTFloatToSDKFloat,
549
+ paths: TRANSFORM_PATHS_1
550
+ }
551
+ ])
552
+ };
553
+ return metadata;
554
+ }
555
+ return __enableProgramFreemium;
556
+ }
557
+ function disableProgramFreemium(payload) {
558
+ function __disableProgramFreemium({ host }) {
559
+ const metadata = {
560
+ entityFqdn: "wix.online_programs.v3.program",
561
+ method: "POST",
562
+ methodFqn: "wix.onlineprograms.programs.v3.ProgramsService.DisableProgramFreemium",
563
+ packageName: PACKAGE_NAME,
564
+ migrationOptions: {
565
+ optInTransformResponse: true
566
+ },
567
+ url: resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl({
568
+ protoPath: "/v3/programs/{programId}/disable-freemium",
569
+ data: payload,
570
+ host
571
+ }),
572
+ data: payload,
573
+ transformResponse: (payload2) => transformPaths(payload2, [
574
+ {
575
+ transformFn: transformRESTTimestampToSDKTimestamp,
576
+ paths: TRANSFORM_PATHS_0
577
+ },
578
+ {
579
+ transformFn: transformRESTFloatToSDKFloat,
580
+ paths: TRANSFORM_PATHS_1
581
+ }
582
+ ])
583
+ };
584
+ return metadata;
585
+ }
586
+ return __disableProgramFreemium;
587
+ }
526
588
  function bulkUpdatePrograms(payload) {
527
589
  function __bulkUpdatePrograms({ host }) {
528
590
  const serializedData = transformPaths(payload, [
@@ -1308,6 +1370,86 @@ async function archiveProgram2(programId) {
1308
1370
  throw transformedError;
1309
1371
  }
1310
1372
  }
1373
+ async function enableProgramFreemium2(programId) {
1374
+ const { httpClient, sideEffects } = arguments[1];
1375
+ const payload = renameKeysFromSDKRequestToRESTRequest({
1376
+ programId
1377
+ });
1378
+ const reqOpts = enableProgramFreemium(payload);
1379
+ sideEffects?.onSiteCall?.();
1380
+ try {
1381
+ const result = await httpClient.request(reqOpts);
1382
+ sideEffects?.onSuccess?.(result);
1383
+ return renameKeysFromRESTResponseToSDKResponse(
1384
+ transformPaths2(result.data, [
1385
+ {
1386
+ transformFn: transformRESTImageToSDKImage,
1387
+ paths: TRANSFORM_PATHS_02
1388
+ },
1389
+ {
1390
+ transformFn: transformRESTVideoV2ToSDKVideoV2,
1391
+ paths: TRANSFORM_PATHS_12
1392
+ },
1393
+ {
1394
+ transformFn: transformRESTPageURLToSDKPageURL,
1395
+ paths: TRANSFORM_PATHS_22
1396
+ }
1397
+ ])
1398
+ );
1399
+ } catch (err) {
1400
+ const transformedError = sdkTransformError(
1401
+ err,
1402
+ {
1403
+ spreadPathsToArguments: {},
1404
+ explicitPathsToArguments: { programId: "$[0]" },
1405
+ singleArgumentUnchanged: false
1406
+ },
1407
+ ["programId"]
1408
+ );
1409
+ sideEffects?.onError?.(err);
1410
+ throw transformedError;
1411
+ }
1412
+ }
1413
+ async function disableProgramFreemium2(programId) {
1414
+ const { httpClient, sideEffects } = arguments[1];
1415
+ const payload = renameKeysFromSDKRequestToRESTRequest({
1416
+ programId
1417
+ });
1418
+ const reqOpts = disableProgramFreemium(payload);
1419
+ sideEffects?.onSiteCall?.();
1420
+ try {
1421
+ const result = await httpClient.request(reqOpts);
1422
+ sideEffects?.onSuccess?.(result);
1423
+ return renameKeysFromRESTResponseToSDKResponse(
1424
+ transformPaths2(result.data, [
1425
+ {
1426
+ transformFn: transformRESTImageToSDKImage,
1427
+ paths: TRANSFORM_PATHS_02
1428
+ },
1429
+ {
1430
+ transformFn: transformRESTVideoV2ToSDKVideoV2,
1431
+ paths: TRANSFORM_PATHS_12
1432
+ },
1433
+ {
1434
+ transformFn: transformRESTPageURLToSDKPageURL,
1435
+ paths: TRANSFORM_PATHS_22
1436
+ }
1437
+ ])
1438
+ );
1439
+ } catch (err) {
1440
+ const transformedError = sdkTransformError(
1441
+ err,
1442
+ {
1443
+ spreadPathsToArguments: {},
1444
+ explicitPathsToArguments: { programId: "$[0]" },
1445
+ singleArgumentUnchanged: false
1446
+ },
1447
+ ["programId"]
1448
+ );
1449
+ sideEffects?.onError?.(err);
1450
+ throw transformedError;
1451
+ }
1452
+ }
1311
1453
  async function bulkUpdatePrograms2(programs, options) {
1312
1454
  const { httpClient, sideEffects } = arguments[2];
1313
1455
  const payload = transformPaths2(
@@ -1605,6 +1747,20 @@ function archiveProgram3(httpClient) {
1605
1747
  { httpClient }
1606
1748
  );
1607
1749
  }
1750
+ function enableProgramFreemium3(httpClient) {
1751
+ return (programId) => enableProgramFreemium2(
1752
+ programId,
1753
+ // @ts-ignore
1754
+ { httpClient }
1755
+ );
1756
+ }
1757
+ function disableProgramFreemium3(httpClient) {
1758
+ return (programId) => disableProgramFreemium2(
1759
+ programId,
1760
+ // @ts-ignore
1761
+ { httpClient }
1762
+ );
1763
+ }
1608
1764
  function bulkUpdatePrograms3(httpClient) {
1609
1765
  return (programs, options) => bulkUpdatePrograms2(
1610
1766
  programs,
@@ -1847,6 +2003,8 @@ var searchPrograms4 = /* @__PURE__ */ createRESTModule(searchPrograms3);
1847
2003
  var publishProgram4 = /* @__PURE__ */ createRESTModule(publishProgram3);
1848
2004
  var endProgram4 = /* @__PURE__ */ createRESTModule(endProgram3);
1849
2005
  var archiveProgram4 = /* @__PURE__ */ createRESTModule(archiveProgram3);
2006
+ var enableProgramFreemium4 = /* @__PURE__ */ createRESTModule(enableProgramFreemium3);
2007
+ var disableProgramFreemium4 = /* @__PURE__ */ createRESTModule(disableProgramFreemium3);
1850
2008
  var bulkUpdatePrograms4 = /* @__PURE__ */ createRESTModule(bulkUpdatePrograms3);
1851
2009
  var countPrograms4 = /* @__PURE__ */ createRESTModule(countPrograms3);
1852
2010
  var listSamplePrograms4 = /* @__PURE__ */ createRESTModule(listSamplePrograms3);
@@ -1899,7 +2057,9 @@ export {
1899
2057
  countPrograms4 as countPrograms,
1900
2058
  createProgram4 as createProgram,
1901
2059
  deleteProgram4 as deleteProgram,
2060
+ disableProgramFreemium4 as disableProgramFreemium,
1902
2061
  duplicateProgram4 as duplicateProgram,
2062
+ enableProgramFreemium4 as enableProgramFreemium,
1903
2063
  endProgram4 as endProgram,
1904
2064
  getProgram4 as getProgram,
1905
2065
  listSamplePrograms4 as listSamplePrograms,