@wix/auto_sdk_online-programs_programs 1.0.5 → 1.0.7

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 (37) hide show
  1. package/build/cjs/index.d.ts +8 -11
  2. package/build/cjs/index.js +58 -1
  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 +40 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +16 -2
  8. package/build/cjs/meta.js.map +1 -1
  9. package/build/cjs/{online-programs-v3-program-programs.universal-CML74QF5.d.ts → online-programs-v3-program-programs.universal-YXMOfctc.d.ts} +21 -1
  10. package/build/es/index.d.mts +8 -11
  11. package/build/es/index.mjs +58 -1
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +2 -2
  14. package/build/es/index.typings.mjs +39 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +16 -2
  17. package/build/es/meta.mjs.map +1 -1
  18. package/build/es/{online-programs-v3-program-programs.universal-CML74QF5.d.mts → online-programs-v3-program-programs.universal-YXMOfctc.d.mts} +21 -1
  19. package/build/internal/cjs/index.d.ts +8 -11
  20. package/build/internal/cjs/index.js +58 -1
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +2 -2
  23. package/build/internal/cjs/index.typings.js +40 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +16 -2
  26. package/build/internal/cjs/meta.js.map +1 -1
  27. package/build/internal/cjs/{online-programs-v3-program-programs.universal-on1_FmyF.d.ts → online-programs-v3-program-programs.universal-DlAnCRAK.d.ts} +21 -1
  28. package/build/internal/es/index.d.mts +8 -11
  29. package/build/internal/es/index.mjs +58 -1
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +2 -2
  32. package/build/internal/es/index.typings.mjs +39 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +16 -2
  35. package/build/internal/es/meta.mjs.map +1 -1
  36. package/build/internal/es/{online-programs-v3-program-programs.universal-on1_FmyF.d.mts → online-programs-v3-program-programs.universal-DlAnCRAK.d.mts} +21 -1
  37. package/package.json +3 -3
@@ -1624,6 +1624,10 @@ interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
1624
1624
  wixelAssigned?: WixelAssigned;
1625
1625
  /** Emitted when Wixel is detached. */
1626
1626
  wixelUnassigned?: WixelUnassigned;
1627
+ /** Emitted when StudioTwo is attached. */
1628
+ studioTwoAssigned?: StudioTwoAssigned;
1629
+ /** Emitted when StudioTwo is detached. */
1630
+ studioTwoUnassigned?: StudioTwoUnassigned;
1627
1631
  /**
1628
1632
  * A meta site id.
1629
1633
  * @format GUID
@@ -1694,6 +1698,10 @@ interface MetaSiteSpecialEventPayloadOneOf {
1694
1698
  wixelAssigned?: WixelAssigned;
1695
1699
  /** Emitted when Wixel is detached. */
1696
1700
  wixelUnassigned?: WixelUnassigned;
1701
+ /** Emitted when StudioTwo is attached. */
1702
+ studioTwoAssigned?: StudioTwoAssigned;
1703
+ /** Emitted when StudioTwo is detached. */
1704
+ studioTwoUnassigned?: StudioTwoUnassigned;
1697
1705
  }
1698
1706
  interface Asset {
1699
1707
  /**
@@ -2046,6 +2054,12 @@ interface WixelAssigned {
2046
2054
  /** Unassigned Wixel */
2047
2055
  interface WixelUnassigned {
2048
2056
  }
2057
+ /** Assigned StudioTwo */
2058
+ interface StudioTwoAssigned {
2059
+ }
2060
+ /** Unassigned StudioTwo */
2061
+ interface StudioTwoUnassigned {
2062
+ }
2049
2063
  interface SearchIndexingNotification {
2050
2064
  /** new state of indexing for the site specified in ms_id */
2051
2065
  indexState?: SearchIndexingNotificationStateWithLiterals;
@@ -2614,6 +2628,12 @@ interface ProgramsQueryBuilder {
2614
2628
  /** @documentationMaturity preview */
2615
2629
  find: () => Promise<ProgramsQueryResult>;
2616
2630
  }
2631
+ /**
2632
+ * @hidden
2633
+ * @fqn wix.onlineprograms.programs.v3.ProgramsService.QueryPrograms
2634
+ * @requiredField query
2635
+ */
2636
+ declare function typedQueryPrograms(query: QueryV2): Promise<NonNullablePaths<QueryProgramsResponse, `programs` | `programs.${number}.state` | `programs.${number}.status` | `programs.${number}.description.title` | `programs.${number}.timeline.selfPaced` | `programs.${number}.restrictions.hideFutureSteps` | `programs.${number}.restrictions.resolveStepsInOrder` | `programs.${number}.restrictions.shareProgress` | `programs.${number}.restrictions.accessType` | `programs.${number}.price.value` | `programs.${number}.price.currency` | `programs.${number}.seo.slug` | `programs.${number}.seo.imageAlt` | `programs.${number}.seo.courseWorkload` | `programs.${number}.accessType` | `programs.${number}.shouldSendInvoice` | `programs.${number}.videoStepsSettings.autoNavigate` | `programs.${number}.videoStepsSettings.requiredCompletionPercentage` | `programs.${number}.contentSummary.stepCount` | `programs.${number}.contentSummary.sectionCount`, 5>>;
2617
2637
  interface ProgramSearchSpec extends SearchSpec {
2618
2638
  searchable: ['description.title'];
2619
2639
  aggregatable: [
@@ -2877,4 +2897,4 @@ interface CountProgramsOptions {
2877
2897
  */
2878
2898
  declare function listSamplePrograms(): Promise<NonNullablePaths<ListSampleProgramsResponse, `programs` | `programs.${number}.program.state` | `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.accessType` | `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`, 6>>;
2879
2899
 
2880
- export { type Settings as $, type ArchiveProgramResponse as A, type BulkUpdateProgramsOptions as B, type CountProgramsOptions as C, type DuplicateProgramResponse as D, type EndProgramResponse as E, type Description as F, type DescriptionMediaOneOf as G, type FocalPoint as H, Interval as I, type VideoResolution 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, RestrictionsAccessType as R, type SearchProgramsResponse as S, Trigger as T, type UpdateProgram as U, V3State 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 SearchProgramsRequest 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 BulkProgramResult as aA, type ItemMetadata as aB, type ApplicationError as aC, type BulkActionMetadata as aD, type DeleteAllProgramsMigrationRequest as aE, type DeleteAllProgramsMigrationResponse as aF, type DuplicateProgramRequest as aG, type GetProgramRequest as aH, type GetProgramResponse as aI, type UpdateProgramRequest as aJ, type UpdateProgramResponse as aK, type WrongStateErrorDetails as aL, type WrongStartDateErrorDetails as aM, type WrongParticipantsNumberErrorDetails as aN, type DuplicatedSlugErrorDetails as aO, type TimelineSwitchForbiddenErrorDetails as aP, type DeleteProgramRequest as aQ, type DeleteProgramResponse as aR, type QueryProgramsRequest as aS, type QueryV2 as aT, type QueryV2PagingMethodOneOf as aU, type Sorting as aV, type Paging as aW, type CursorPaging as aX, type QueryProgramsResponse as aY, type PagingMetadataV2 as aZ, type Cursors 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 ReindexMessage as am, type ReindexMessageActionOneOf as an, type Upsert as ao, type Delete as ap, type Schema as aq, type ProgramPublished as ar, type ProgramEnded as as, type ProgramArchived as at, type ProgramDuplicated as au, type CreateProgramRequest as av, type CreateProgramResponse as aw, type BulkCreateProgramsMigrationRequest as ax, type ProgramMigration as ay, type BulkCreateProgramsMigrationResponse as az, type ProgramsQueryBuilder as b, type SiteDeleted as b$, type CursorSearch as b0, type CursorSearchPagingMethodOneOf as b1, type Aggregation as b2, type AggregationKindOneOf as b3, type RangeBucket as b4, type IncludeMissingValuesOptions as b5, type ValueAggregation as b6, type ValueAggregationOptionsOneOf as b7, type RangeAggregation as b8, type ScalarAggregation as b9, type NestedResults as bA, type AggregationResults as bB, type AggregationResultsResultOneOf as bC, type PublishProgramRequest as bD, type EndProgramRequest as bE, type ArchiveProgramRequest as bF, type BulkUpdateProgramsRequest as bG, type BulkUpdateProgramResult as bH, type CountProgramsRequest as bI, type ListSampleProgramsRequest as bJ, type LabeledProgram as bK, type DomainEvent as bL, type DomainEventBodyOneOf as bM, type EntityCreatedEvent as bN, type RestoreInfo as bO, type EntityUpdatedEvent as bP, type EntityDeletedEvent as bQ, type ActionEvent as bR, type Empty as bS, type ResolveProgramSlugRequest as bT, type ResolveProgramSlugResponse as bU, type MissingMetasiteIdErrorDetails as bV, type MetaSiteSpecialEvent as bW, type MetaSiteSpecialEventPayloadOneOf as bX, type Asset as bY, type SiteCreated as bZ, type SiteTransferred as b_, type DateHistogramAggregation as ba, type NestedAggregationItem as bb, type NestedAggregationItemKindOneOf as bc, type NestedAggregation as bd, type GroupByAggregation as be, type GroupByAggregationKindOneOf as bf, type SearchDetails as bg, type CursorPagingMetadata as bh, type AggregationData as bi, type ValueAggregationResult as bj, type RangeAggregationResult as bk, type NestedAggregationResults as bl, type NestedAggregationResultsResultOneOf as bm, type ValueResults as bn, type RangeResults as bo, type AggregationResultsScalarResult as bp, type NestedValueAggregationResult as bq, type ValueResult as br, type RangeResult as bs, type ScalarResult as bt, type NestedResultValue as bu, type NestedResultValueResultOneOf as bv, type Results as bw, type DateHistogramResult as bx, type GroupByValueResults as by, type DateHistogramResults as bz, type ProgramSearch as c, type DayOfWeekWithLiterals as c$, type DeleteContext as c0, type SiteUndeleted as c1, type SitePublished as c2, type SiteUnpublished as c3, type SiteMarkedAsTemplate as c4, type SiteMarkedAsWixSite as c5, type ServiceProvisioned as c6, type ServiceRemoved as c7, type SiteRenamed as c8, type SiteHardDeleted as c9, type MessageEnvelope as cA, type IdentificationData as cB, type IdentificationDataIdOneOf as cC, type ProgramsQueryResult as cD, type ProgramSearchSpec as cE, type V3StateWithLiterals as cF, type StatusWithLiterals as cG, type RestrictionsAccessTypeWithLiterals as cH, type TriggerWithLiterals as cI, type AccessTypeWithLiterals as cJ, type EnumWithLiterals as cK, type BulkActionTypeWithLiterals as cL, type SortOrderWithLiterals as cM, type SortTypeWithLiterals as cN, type SortDirectionWithLiterals as cO, type MissingValuesWithLiterals as cP, type ScalarTypeWithLiterals as cQ, type NestedAggregationTypeWithLiterals as cR, type IntervalWithLiterals as cS, type AggregationTypeWithLiterals as cT, type ModeWithLiterals as cU, type StateWithLiterals as cV, type SiteCreatedContextWithLiterals as cW, type NamespaceWithLiterals as cX, type DeleteStatusWithLiterals as cY, type SearchIndexingNotificationStateWithLiterals as cZ, type PlacementTypeWithLiterals as c_, type NamespaceChanged as ca, type StudioAssigned as cb, type StudioUnassigned as cc, type SiteUrlChanged as cd, type SitePurgedExternally as ce, type OdeditorAssigned as cf, type OdeditorUnassigned as cg, type PicassoAssigned as ch, type PicassoUnassigned as ci, type WixelAssigned as cj, type WixelUnassigned as ck, type SearchIndexingNotification as cl, type SitePropertiesUpdated as cm, type SitePropertiesEvent as cn, type Properties as co, type Categories as cp, type Locale as cq, type Address as cr, type AddressHint as cs, type GeoCoordinates as ct, type BusinessSchedule as cu, type TimePeriod as cv, type SpecialHourPeriod as cw, type Multilingual as cx, type SupportedLanguage as cy, type ConsentPolicy as cz, type PublishProgramResponse as d, type ResolutionMethodWithLiterals as d0, type WebhookIdentityTypeWithLiterals as d1, type CommonSearchWithEntityContext as d2, createProgram as d3, duplicateProgram as d4, getProgram as d5, updateProgram as d6, deleteProgram as d7, queryPrograms as d8, publishProgram as d9, endProgram as da, archiveProgram as db, bulkUpdatePrograms as dc, countPrograms as dd, listSamplePrograms as de, type PublishProgramApplicationErrors as e, type BulkUpdateProgramsResponse as f, type CountProgramsResponse as g, Status as h, AccessType as i, Enum as j, BulkActionType as k, SortOrder as l, SortType as m, SortDirection as n, MissingValues as o, ScalarType as p, AggregationType as q, Mode as r, State as s, SiteCreatedContext as t, Namespace as u, DeleteStatus as v, SearchIndexingNotificationState as w, PlacementType as x, DayOfWeek as y, ResolutionMethod as z };
2900
+ export { type Keyword as $, type ArchiveProgramResponse as A, type BulkUpdateProgramsOptions as B, type CountProgramsOptions as C, type DuplicateProgramResponse as D, type EndProgramResponse as E, ResolutionMethod as F, type Description as G, type DescriptionMediaOneOf as H, Interval as I, type FocalPoint as J, type VideoResolution as K, type ListSampleProgramsResponse as L, type MaskedProgram as M, NestedAggregationType as N, type Timeline as O, type Program as P, type QueryV2 as Q, RestrictionsAccessType as R, type SearchProgramsResponse as S, Trigger as T, type UpdateProgram as U, V3State as V, WebhookIdentityType as W, type Restrictions as X, type Money as Y, type Seo as Z, type SeoSchema as _, type UpdateProgramApplicationErrors as a, type Cursors as a$, type Tag as a0, type Settings as a1, type Reward as a2, type Certificate as a3, type ExtendedFields as a4, type VideoStepsSettings as a5, type ContentSummary as a6, type UpdateDocumentsEvent as a7, type UpdateDocumentsEventOperationOneOf as a8, type DocumentUpdateOperation 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 QueryV2PagingMethodOneOf as aV, type Sorting as aW, type Paging as aX, type CursorPaging as aY, type QueryProgramsResponse as aZ, type PagingMetadataV2 as a_, type IndexDocument as aa, type DocumentPayload as ab, type DocumentImage as ac, type DeleteByIdsOperation as ad, type DeleteByFilterOperation as ae, type UpdateByFilterOperation as af, type UpdateExistingOperation as ag, type InvalidateCache as ah, type InvalidateCacheGetByOneOf as ai, type App as aj, type Page as ak, type URI as al, type File as am, type CustomTag 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 SiteTransferred as b$, type SearchProgramsRequest as b0, type CursorSearch as b1, type CursorSearchPagingMethodOneOf as b2, type Aggregation as b3, type AggregationKindOneOf as b4, type RangeBucket as b5, type IncludeMissingValuesOptions as b6, type ValueAggregation as b7, type ValueAggregationOptionsOneOf as b8, type RangeAggregation as b9, type DateHistogramResults as bA, type NestedResults as bB, type AggregationResults as bC, type AggregationResultsResultOneOf as bD, type PublishProgramRequest as bE, type EndProgramRequest as bF, type ArchiveProgramRequest as bG, type BulkUpdateProgramsRequest as bH, type BulkUpdateProgramResult as bI, type CountProgramsRequest as bJ, type ListSampleProgramsRequest as bK, type LabeledProgram as bL, type DomainEvent as bM, type DomainEventBodyOneOf as bN, type EntityCreatedEvent as bO, type RestoreInfo as bP, type EntityUpdatedEvent as bQ, type EntityDeletedEvent as bR, type ActionEvent as bS, type Empty as bT, type ResolveProgramSlugRequest as bU, type ResolveProgramSlugResponse as bV, type MissingMetasiteIdErrorDetails as bW, type MetaSiteSpecialEvent as bX, type MetaSiteSpecialEventPayloadOneOf as bY, type Asset as bZ, type SiteCreated as b_, type ScalarAggregation as ba, type DateHistogramAggregation as bb, type NestedAggregationItem as bc, type NestedAggregationItemKindOneOf as bd, type NestedAggregation as be, type GroupByAggregation as bf, type GroupByAggregationKindOneOf as bg, type SearchDetails as bh, type CursorPagingMetadata as bi, type AggregationData as bj, type ValueAggregationResult as bk, type RangeAggregationResult as bl, type NestedAggregationResults as bm, type NestedAggregationResultsResultOneOf as bn, type ValueResults as bo, type RangeResults as bp, type AggregationResultsScalarResult as bq, type NestedValueAggregationResult as br, type ValueResult as bs, type RangeResult as bt, type ScalarResult as bu, type NestedResultValue as bv, type NestedResultValueResultOneOf as bw, type Results as bx, type DateHistogramResult as by, type GroupByValueResults as bz, type PublishProgramResponse as c, type DeleteStatusWithLiterals as c$, type SiteDeleted as c0, type DeleteContext as c1, type SiteUndeleted as c2, type SitePublished as c3, type SiteUnpublished as c4, type SiteMarkedAsTemplate as c5, type SiteMarkedAsWixSite as c6, type ServiceProvisioned as c7, type ServiceRemoved as c8, type SiteRenamed as c9, type Multilingual as cA, type SupportedLanguage as cB, type ConsentPolicy as cC, type MessageEnvelope as cD, type IdentificationData as cE, type IdentificationDataIdOneOf as cF, type ProgramsQueryResult as cG, type ProgramSearchSpec as cH, type V3StateWithLiterals as cI, type StatusWithLiterals as cJ, type RestrictionsAccessTypeWithLiterals as cK, type TriggerWithLiterals as cL, type AccessTypeWithLiterals as cM, type EnumWithLiterals as cN, type BulkActionTypeWithLiterals as cO, type SortOrderWithLiterals as cP, type SortTypeWithLiterals as cQ, type SortDirectionWithLiterals as cR, type MissingValuesWithLiterals as cS, type ScalarTypeWithLiterals as cT, type NestedAggregationTypeWithLiterals as cU, type IntervalWithLiterals as cV, type AggregationTypeWithLiterals as cW, type ModeWithLiterals as cX, type StateWithLiterals as cY, type SiteCreatedContextWithLiterals as cZ, type NamespaceWithLiterals as c_, type SiteHardDeleted as ca, type NamespaceChanged as cb, type StudioAssigned as cc, type StudioUnassigned as cd, type SiteUrlChanged as ce, type SitePurgedExternally as cf, type OdeditorAssigned as cg, type OdeditorUnassigned as ch, type PicassoAssigned as ci, type PicassoUnassigned as cj, type WixelAssigned as ck, type WixelUnassigned as cl, type StudioTwoAssigned as cm, type StudioTwoUnassigned as cn, type SearchIndexingNotification as co, type SitePropertiesUpdated as cp, type SitePropertiesEvent as cq, type Properties as cr, type Categories as cs, type Locale as ct, type Address as cu, type AddressHint as cv, type GeoCoordinates as cw, type BusinessSchedule as cx, type TimePeriod as cy, type SpecialHourPeriod as cz, type PublishProgramApplicationErrors as d, type SearchIndexingNotificationStateWithLiterals as d0, type PlacementTypeWithLiterals as d1, type DayOfWeekWithLiterals as d2, type ResolutionMethodWithLiterals as d3, type WebhookIdentityTypeWithLiterals as d4, type CommonSearchWithEntityContext as d5, createProgram as d6, duplicateProgram as d7, getProgram as d8, updateProgram as d9, deleteProgram as da, queryPrograms as db, publishProgram as dc, endProgram as dd, archiveProgram as de, bulkUpdatePrograms as df, countPrograms as dg, listSamplePrograms as dh, type BulkUpdateProgramsResponse as e, type CountProgramsResponse as f, type ProgramsQueryBuilder as g, Status as h, AccessType as i, Enum as j, BulkActionType as k, SortOrder as l, SortType as m, SortDirection as n, MissingValues as o, ScalarType as p, AggregationType as q, Mode as r, State as s, typedQueryPrograms as t, SiteCreatedContext as u, Namespace as v, DeleteStatus as w, SearchIndexingNotificationState as x, PlacementType as y, DayOfWeek as z };
@@ -1,6 +1,6 @@
1
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 ProgramsQueryBuilder, c as ProgramSearch, S as SearchProgramsResponse, d as PublishProgramResponse, e as PublishProgramApplicationErrors, E as EndProgramResponse, A as ArchiveProgramResponse, M as MaskedProgram, B as BulkUpdateProgramsOptions, f as BulkUpdateProgramsResponse, C as CountProgramsOptions, g as CountProgramsResponse, L as ListSampleProgramsResponse } from './online-programs-v3-program-programs.universal-on1_FmyF.js';
3
- export { i as AccessType, cJ as AccessTypeWithLiterals, bR as ActionEvent, cr as Address, cs as AddressHint, b2 as Aggregation, bi as AggregationData, b3 as AggregationKindOneOf, bB as AggregationResults, bC as AggregationResultsResultOneOf, bp as AggregationResultsScalarResult, q as AggregationType, cT as AggregationTypeWithLiterals, ah as App, aC as ApplicationError, bF as ArchiveProgramRequest, bY as Asset, aD as BulkActionMetadata, k as BulkActionType, cL as BulkActionTypeWithLiterals, ax as BulkCreateProgramsMigrationRequest, az as BulkCreateProgramsMigrationResponse, aA as BulkProgramResult, bH as BulkUpdateProgramResult, bG as BulkUpdateProgramsRequest, cu as BusinessSchedule, cp as Categories, a1 as Certificate, d2 as CommonSearchWithEntityContext, cz as ConsentPolicy, a4 as ContentSummary, bI as CountProgramsRequest, av as CreateProgramRequest, aw as CreateProgramResponse, aX as CursorPaging, bh as CursorPagingMetadata, b0 as CursorSearch, b1 as CursorSearchPagingMethodOneOf, a_ as Cursors, al as CustomTag, ba as DateHistogramAggregation, bx as DateHistogramResult, bz as DateHistogramResults, y as DayOfWeek, c$ as DayOfWeekWithLiterals, ap as Delete, aE as DeleteAllProgramsMigrationRequest, aF as DeleteAllProgramsMigrationResponse, ac as DeleteByFilterOperation, ab as DeleteByIdsOperation, c0 as DeleteContext, aQ as DeleteProgramRequest, aR as DeleteProgramResponse, v as DeleteStatus, cY as DeleteStatusWithLiterals, F as Description, G as DescriptionMediaOneOf, aa as DocumentImage, a9 as DocumentPayload, a7 as DocumentUpdateOperation, bL as DomainEvent, bM as DomainEventBodyOneOf, aG as DuplicateProgramRequest, aO as DuplicatedSlugErrorDetails, bS as Empty, bE as EndProgramRequest, bN as EntityCreatedEvent, bQ as EntityDeletedEvent, bP as EntityUpdatedEvent, j as Enum, cK as EnumWithLiterals, a2 as ExtendedFields, ak as File, H as FocalPoint, ct as GeoCoordinates, aH as GetProgramRequest, aI as GetProgramResponse, be as GroupByAggregation, bf as GroupByAggregationKindOneOf, by as GroupByValueResults, cB as IdentificationData, cC as IdentificationDataIdOneOf, b5 as IncludeMissingValuesOptions, a8 as IndexDocument, I as Interval, cS as IntervalWithLiterals, af as InvalidateCache, ag as InvalidateCacheGetByOneOf, aB as ItemMetadata, Z as Keyword, bK as LabeledProgram, bJ as ListSampleProgramsRequest, cq as Locale, cA as MessageEnvelope, bW as MetaSiteSpecialEvent, bX as MetaSiteSpecialEventPayloadOneOf, bV as MissingMetasiteIdErrorDetails, o as MissingValues, cP as MissingValuesWithLiterals, r as Mode, cU as ModeWithLiterals, Q as Money, cx as Multilingual, u as Namespace, ca as NamespaceChanged, cX as NamespaceWithLiterals, bd as NestedAggregation, bb as NestedAggregationItem, bc as NestedAggregationItemKindOneOf, bl as NestedAggregationResults, bm as NestedAggregationResultsResultOneOf, N as NestedAggregationType, cR as NestedAggregationTypeWithLiterals, bu as NestedResultValue, bv as NestedResultValueResultOneOf, bA as NestedResults, bq as NestedValueAggregationResult, cf as OdeditorAssigned, cg as OdeditorUnassigned, ai as Page, aW as Paging, aZ as PagingMetadataV2, ch as PicassoAssigned, ci as PicassoUnassigned, x as PlacementType, c_ as PlacementTypeWithLiterals, at as ProgramArchived, au as ProgramDuplicated, as as ProgramEnded, ay as ProgramMigration, ar as ProgramPublished, cE as ProgramSearchSpec, cD as ProgramsQueryResult, co as Properties, bD as PublishProgramRequest, aS as QueryProgramsRequest, aY as QueryProgramsResponse, aT as QueryV2, aU as QueryV2PagingMethodOneOf, b8 as RangeAggregation, bk as RangeAggregationResult, b4 as RangeBucket, bs as RangeResult, bo as RangeResults, am as ReindexMessage, an as ReindexMessageActionOneOf, z as ResolutionMethod, d0 as ResolutionMethodWithLiterals, bT as ResolveProgramSlugRequest, bU as ResolveProgramSlugResponse, bO as RestoreInfo, O as Restrictions, R as RestrictionsAccessType, cH as RestrictionsAccessTypeWithLiterals, bw as Results, a0 as Reward, b9 as ScalarAggregation, bt as ScalarResult, p as ScalarType, cQ as ScalarTypeWithLiterals, aq as Schema, bg as SearchDetails, cl as SearchIndexingNotification, w as SearchIndexingNotificationState, cZ as SearchIndexingNotificationStateWithLiterals, a$ as SearchProgramsRequest, X as Seo, Y as SeoSchema, c6 as ServiceProvisioned, c7 as ServiceRemoved, $ as Settings, bZ as SiteCreated, t as SiteCreatedContext, cW as SiteCreatedContextWithLiterals, b$ as SiteDeleted, c9 as SiteHardDeleted, c4 as SiteMarkedAsTemplate, c5 as SiteMarkedAsWixSite, cn as SitePropertiesEvent, cm as SitePropertiesUpdated, c2 as SitePublished, ce as SitePurgedExternally, c8 as SiteRenamed, b_ as SiteTransferred, c1 as SiteUndeleted, c3 as SiteUnpublished, cd as SiteUrlChanged, n as SortDirection, cO as SortDirectionWithLiterals, l as SortOrder, cM as SortOrderWithLiterals, m as SortType, cN as SortTypeWithLiterals, aV as Sorting, cw as SpecialHourPeriod, s as State, cV as StateWithLiterals, h as Status, cG as StatusWithLiterals, cb as StudioAssigned, cc as StudioUnassigned, cy as SupportedLanguage, _ as Tag, cv as TimePeriod, K as Timeline, aP as TimelineSwitchForbiddenErrorDetails, T as Trigger, cI as TriggerWithLiterals, aj as URI, ad as UpdateByFilterOperation, a5 as UpdateDocumentsEvent, a6 as UpdateDocumentsEventOperationOneOf, ae as UpdateExistingOperation, aJ as UpdateProgramRequest, aK as UpdateProgramResponse, ao as Upsert, V as V3State, cF as V3StateWithLiterals, b6 as ValueAggregation, b7 as ValueAggregationOptionsOneOf, bj as ValueAggregationResult, br as ValueResult, bn as ValueResults, J as VideoResolution, a3 as VideoStepsSettings, W as WebhookIdentityType, d1 as WebhookIdentityTypeWithLiterals, cj as WixelAssigned, ck as WixelUnassigned, aN as WrongParticipantsNumberErrorDetails, aM as WrongStartDateErrorDetails, aL as WrongStateErrorDetails } from './online-programs-v3-program-programs.universal-on1_FmyF.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 ProgramsQueryBuilder, Q as QueryV2, t as typedQueryPrograms } from './online-programs-v3-program-programs.universal-DlAnCRAK.js';
3
+ export { i as AccessType, cM as AccessTypeWithLiterals, bS as ActionEvent, cu as Address, cv as AddressHint, b3 as Aggregation, bj as AggregationData, b4 as AggregationKindOneOf, bC as AggregationResults, bD as AggregationResultsResultOneOf, bq as AggregationResultsScalarResult, q as AggregationType, cW as AggregationTypeWithLiterals, aj as App, aE as ApplicationError, bG as ArchiveProgramRequest, bZ as Asset, aF as BulkActionMetadata, k as BulkActionType, cO as BulkActionTypeWithLiterals, az as BulkCreateProgramsMigrationRequest, aB as BulkCreateProgramsMigrationResponse, aC as BulkProgramResult, bI as BulkUpdateProgramResult, bH as BulkUpdateProgramsRequest, cx as BusinessSchedule, cs as Categories, a3 as Certificate, d5 as CommonSearchWithEntityContext, cC as ConsentPolicy, a6 as ContentSummary, bJ as CountProgramsRequest, ax as CreateProgramRequest, ay as CreateProgramResponse, aY as CursorPaging, bi as CursorPagingMetadata, b1 as CursorSearch, b2 as CursorSearchPagingMethodOneOf, a$ as Cursors, an as CustomTag, bb as DateHistogramAggregation, by as DateHistogramResult, bA as DateHistogramResults, z as DayOfWeek, d2 as DayOfWeekWithLiterals, ar as Delete, aG as DeleteAllProgramsMigrationRequest, aH as DeleteAllProgramsMigrationResponse, ae as DeleteByFilterOperation, ad as DeleteByIdsOperation, c1 as DeleteContext, aS as DeleteProgramRequest, aT as DeleteProgramResponse, w as DeleteStatus, c$ as DeleteStatusWithLiterals, G as Description, H as DescriptionMediaOneOf, ac as DocumentImage, ab as DocumentPayload, a9 as DocumentUpdateOperation, bM as DomainEvent, bN as DomainEventBodyOneOf, aI as DuplicateProgramRequest, aQ as DuplicatedSlugErrorDetails, bT as Empty, bF as EndProgramRequest, bO as EntityCreatedEvent, bR as EntityDeletedEvent, bQ as EntityUpdatedEvent, j as Enum, cN as EnumWithLiterals, a4 as ExtendedFields, am as File, J as FocalPoint, cw as GeoCoordinates, aJ as GetProgramRequest, aK as GetProgramResponse, bf as GroupByAggregation, bg as GroupByAggregationKindOneOf, bz as GroupByValueResults, cE as IdentificationData, cF as IdentificationDataIdOneOf, b6 as IncludeMissingValuesOptions, aa as IndexDocument, I as Interval, cV as IntervalWithLiterals, ah as InvalidateCache, ai as InvalidateCacheGetByOneOf, aD as ItemMetadata, $ as Keyword, bL as LabeledProgram, bK as ListSampleProgramsRequest, ct as Locale, cD as MessageEnvelope, bX as MetaSiteSpecialEvent, bY as MetaSiteSpecialEventPayloadOneOf, bW as MissingMetasiteIdErrorDetails, o as MissingValues, cS as MissingValuesWithLiterals, r as Mode, cX as ModeWithLiterals, Y as Money, cA as Multilingual, v as Namespace, cb as NamespaceChanged, c_ as NamespaceWithLiterals, be as NestedAggregation, bc as NestedAggregationItem, bd as NestedAggregationItemKindOneOf, bm as NestedAggregationResults, bn as NestedAggregationResultsResultOneOf, N as NestedAggregationType, cU as NestedAggregationTypeWithLiterals, bv as NestedResultValue, bw as NestedResultValueResultOneOf, bB as NestedResults, br as NestedValueAggregationResult, cg as OdeditorAssigned, ch as OdeditorUnassigned, ak as Page, aX as Paging, a_ as PagingMetadataV2, ci as PicassoAssigned, cj as PicassoUnassigned, y as PlacementType, d1 as PlacementTypeWithLiterals, av as ProgramArchived, aw as ProgramDuplicated, au as ProgramEnded, aA as ProgramMigration, at as ProgramPublished, cH as ProgramSearchSpec, cG as ProgramsQueryResult, cr as Properties, bE as PublishProgramRequest, aU as QueryProgramsRequest, aZ as QueryProgramsResponse, aV as QueryV2PagingMethodOneOf, b9 as RangeAggregation, bl as RangeAggregationResult, b5 as RangeBucket, bt as RangeResult, bp as RangeResults, ao as ReindexMessage, ap as ReindexMessageActionOneOf, F as ResolutionMethod, d3 as ResolutionMethodWithLiterals, bU as ResolveProgramSlugRequest, bV as ResolveProgramSlugResponse, bP as RestoreInfo, X as Restrictions, R as RestrictionsAccessType, cK as RestrictionsAccessTypeWithLiterals, bx as Results, a2 as Reward, ba as ScalarAggregation, bu as ScalarResult, p as ScalarType, cT as ScalarTypeWithLiterals, as as Schema, bh as SearchDetails, co as SearchIndexingNotification, x as SearchIndexingNotificationState, d0 as SearchIndexingNotificationStateWithLiterals, b0 as SearchProgramsRequest, Z as Seo, _ as SeoSchema, c7 as ServiceProvisioned, c8 as ServiceRemoved, a1 as Settings, b_ as SiteCreated, u as SiteCreatedContext, cZ as SiteCreatedContextWithLiterals, c0 as SiteDeleted, ca as SiteHardDeleted, c5 as SiteMarkedAsTemplate, c6 as SiteMarkedAsWixSite, cq as SitePropertiesEvent, cp as SitePropertiesUpdated, c3 as SitePublished, cf as SitePurgedExternally, c9 as SiteRenamed, b$ as SiteTransferred, c2 as SiteUndeleted, c4 as SiteUnpublished, ce as SiteUrlChanged, n as SortDirection, cR as SortDirectionWithLiterals, l as SortOrder, cP as SortOrderWithLiterals, m as SortType, cQ as SortTypeWithLiterals, aW as Sorting, cz as SpecialHourPeriod, s as State, cY as StateWithLiterals, h as Status, cJ as StatusWithLiterals, cc as StudioAssigned, cm as StudioTwoAssigned, cn as StudioTwoUnassigned, cd as StudioUnassigned, cB as SupportedLanguage, a0 as Tag, cy as TimePeriod, O as Timeline, aR as TimelineSwitchForbiddenErrorDetails, T as Trigger, cL as TriggerWithLiterals, al as URI, af as UpdateByFilterOperation, a7 as UpdateDocumentsEvent, a8 as UpdateDocumentsEventOperationOneOf, ag as UpdateExistingOperation, aL as UpdateProgramRequest, aM as UpdateProgramResponse, aq as Upsert, V as V3State, cI as V3StateWithLiterals, b7 as ValueAggregation, b8 as ValueAggregationOptionsOneOf, bk as ValueAggregationResult, bs as ValueResult, bo as ValueResults, K as VideoResolution, a5 as VideoStepsSettings, W as WebhookIdentityType, d4 as WebhookIdentityTypeWithLiterals, ck as WixelAssigned, cl as WixelUnassigned, aP as WrongParticipantsNumberErrorDetails, aO as WrongStartDateErrorDetails, aN as WrongStateErrorDetails } from './online-programs-v3-program-programs.universal-DlAnCRAK.js';
4
4
 
5
5
  declare function createProgram$1(httpClient: HttpClient): CreateProgramSignature;
6
6
  interface CreateProgramSignature {
@@ -48,13 +48,6 @@ interface DeleteProgramSignature {
48
48
  */
49
49
  (programId: string): Promise<void>;
50
50
  }
51
- declare function queryPrograms$1(httpClient: HttpClient): QueryProgramsSignature;
52
- interface QueryProgramsSignature {
53
- /**
54
- * Retrieves a list of Programs
55
- */
56
- (): ProgramsQueryBuilder;
57
- }
58
51
  declare function searchPrograms$1(httpClient: HttpClient): SearchProgramsSignature;
59
52
  interface SearchProgramsSignature {
60
53
  /**
@@ -112,12 +105,15 @@ interface ListSampleProgramsSignature {
112
105
  (): Promise<NonNullablePaths<ListSampleProgramsResponse, `programs` | `programs.${number}.program.state` | `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.accessType` | `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`, 6>>;
113
106
  }
114
107
 
108
+ declare function customQueryPrograms(httpClient: HttpClient): {
109
+ (): ProgramsQueryBuilder;
110
+ (query: QueryV2): ReturnType<typeof typedQueryPrograms>;
111
+ };
115
112
  declare const createProgram: MaybeContext<BuildRESTFunction<typeof createProgram$1> & typeof createProgram$1>;
116
113
  declare const duplicateProgram: MaybeContext<BuildRESTFunction<typeof duplicateProgram$1> & typeof duplicateProgram$1>;
117
114
  declare const getProgram: MaybeContext<BuildRESTFunction<typeof getProgram$1> & typeof getProgram$1>;
118
115
  declare const updateProgram: MaybeContext<BuildRESTFunction<typeof updateProgram$1> & typeof updateProgram$1>;
119
116
  declare const deleteProgram: MaybeContext<BuildRESTFunction<typeof deleteProgram$1> & typeof deleteProgram$1>;
120
- declare const queryPrograms: MaybeContext<BuildRESTFunction<typeof queryPrograms$1> & typeof queryPrograms$1>;
121
117
  declare const searchPrograms: MaybeContext<BuildRESTFunction<typeof searchPrograms$1> & typeof searchPrograms$1>;
122
118
  declare const publishProgram: MaybeContext<BuildRESTFunction<typeof publishProgram$1> & typeof publishProgram$1>;
123
119
  declare const endProgram: MaybeContext<BuildRESTFunction<typeof endProgram$1> & typeof endProgram$1>;
@@ -125,5 +121,6 @@ declare const archiveProgram: MaybeContext<BuildRESTFunction<typeof archiveProgr
125
121
  declare const bulkUpdatePrograms: MaybeContext<BuildRESTFunction<typeof bulkUpdatePrograms$1> & typeof bulkUpdatePrograms$1>;
126
122
  declare const countPrograms: MaybeContext<BuildRESTFunction<typeof countPrograms$1> & typeof countPrograms$1>;
127
123
  declare const listSamplePrograms: MaybeContext<BuildRESTFunction<typeof listSamplePrograms$1> & typeof listSamplePrograms$1>;
124
+ declare const queryPrograms: MaybeContext<BuildRESTFunction<typeof customQueryPrograms> & typeof customQueryPrograms>;
128
125
 
129
- export { ArchiveProgramResponse, BulkUpdateProgramsOptions, BulkUpdateProgramsResponse, CountProgramsOptions, CountProgramsResponse, DuplicateProgramResponse, EndProgramResponse, ListSampleProgramsResponse, MaskedProgram, Program, ProgramSearch, ProgramsQueryBuilder, PublishProgramApplicationErrors, PublishProgramResponse, SearchProgramsResponse, UpdateProgram, UpdateProgramApplicationErrors, archiveProgram, bulkUpdatePrograms, countPrograms, createProgram, deleteProgram, duplicateProgram, endProgram, getProgram, listSamplePrograms, publishProgram, queryPrograms, searchPrograms, updateProgram };
126
+ export { ArchiveProgramResponse, BulkUpdateProgramsOptions, BulkUpdateProgramsResponse, CountProgramsOptions, CountProgramsResponse, DuplicateProgramResponse, EndProgramResponse, ListSampleProgramsResponse, MaskedProgram, Program, ProgramSearch, ProgramsQueryBuilder, PublishProgramApplicationErrors, PublishProgramResponse, QueryV2, SearchProgramsResponse, UpdateProgram, UpdateProgramApplicationErrors, archiveProgram, bulkUpdatePrograms, countPrograms, createProgram, deleteProgram, duplicateProgram, endProgram, getProgram, listSamplePrograms, publishProgram, queryPrograms, searchPrograms, updateProgram };
@@ -1445,6 +1445,44 @@ function queryPrograms2() {
1445
1445
  transformationPaths: {}
1446
1446
  });
1447
1447
  }
1448
+ async function typedQueryPrograms(query) {
1449
+ const { httpClient, sideEffects } = arguments[1];
1450
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ query });
1451
+ const reqOpts = queryPrograms(payload);
1452
+ sideEffects?.onSiteCall?.();
1453
+ try {
1454
+ const result = await httpClient.request(reqOpts);
1455
+ sideEffects?.onSuccess?.(result);
1456
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
1457
+ (0, import_transform_paths2.transformPaths)(result.data, [
1458
+ {
1459
+ transformFn: import_image2.transformRESTImageToSDKImage,
1460
+ paths: [{ path: "programs.description.image" }]
1461
+ },
1462
+ {
1463
+ transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
1464
+ paths: [{ path: "programs.description.video" }]
1465
+ },
1466
+ {
1467
+ transformFn: import_page_url2.transformRESTPageURLToSDKPageURL,
1468
+ paths: [{ path: "programs.seo.url" }]
1469
+ }
1470
+ ])
1471
+ );
1472
+ } catch (err) {
1473
+ const transformedError = (0, import_transform_error.transformError)(
1474
+ err,
1475
+ {
1476
+ spreadPathsToArguments: {},
1477
+ explicitPathsToArguments: { query: "$[0]" },
1478
+ singleArgumentUnchanged: false
1479
+ },
1480
+ ["query"]
1481
+ );
1482
+ sideEffects?.onError?.(err);
1483
+ throw transformedError;
1484
+ }
1485
+ }
1448
1486
  async function searchPrograms2(search) {
1449
1487
  const { httpClient, sideEffects } = arguments[1];
1450
1488
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ search });
@@ -1770,6 +1808,13 @@ function queryPrograms3(httpClient) {
1770
1808
  { httpClient }
1771
1809
  );
1772
1810
  }
1811
+ function typedQueryPrograms2(httpClient) {
1812
+ return (query) => typedQueryPrograms(
1813
+ query,
1814
+ // @ts-ignore
1815
+ { httpClient }
1816
+ );
1817
+ }
1773
1818
  function searchPrograms3(httpClient) {
1774
1819
  return (search) => searchPrograms2(
1775
1820
  search,
@@ -1822,12 +1867,23 @@ function listSamplePrograms3(httpClient) {
1822
1867
 
1823
1868
  // src/online-programs-v3-program-programs.context.ts
1824
1869
  var import_rest_modules3 = require("@wix/sdk-runtime/rest-modules");
1870
+ var import_query_method_router = require("@wix/sdk-runtime/query-method-router");
1871
+ function customQueryPrograms(httpClient) {
1872
+ const router = (0, import_query_method_router.createQueryOverloadRouter)({
1873
+ builderQueryFunction: () => queryPrograms3(httpClient)(),
1874
+ typedQueryFunction: (query) => typedQueryPrograms2(httpClient)(query),
1875
+ hasOptionsParameter: false
1876
+ });
1877
+ function overloadedQuery(query) {
1878
+ return router(...arguments);
1879
+ }
1880
+ return overloadedQuery;
1881
+ }
1825
1882
  var createProgram4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(createProgram3);
1826
1883
  var duplicateProgram4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(duplicateProgram3);
1827
1884
  var getProgram4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getProgram3);
1828
1885
  var updateProgram4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(updateProgram3);
1829
1886
  var deleteProgram4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(deleteProgram3);
1830
- var queryPrograms4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(queryPrograms3);
1831
1887
  var searchPrograms4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(searchPrograms3);
1832
1888
  var publishProgram4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(publishProgram3);
1833
1889
  var endProgram4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(endProgram3);
@@ -1835,6 +1891,7 @@ var archiveProgram4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)
1835
1891
  var bulkUpdatePrograms4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkUpdatePrograms3);
1836
1892
  var countPrograms4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(countPrograms3);
1837
1893
  var listSamplePrograms4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(listSamplePrograms3);
1894
+ var queryPrograms4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(customQueryPrograms);
1838
1895
  // Annotate the CommonJS export names for ESM import in node:
1839
1896
  0 && (module.exports = {
1840
1897
  AccessType,