@wix/auto_sdk_online-programs_programs 1.0.6 → 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 (33) 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 +1 -1
  8. package/build/cjs/{online-programs-v3-program-programs.universal-lMRAEV0c.d.ts → online-programs-v3-program-programs.universal-YXMOfctc.d.ts} +7 -1
  9. package/build/es/index.d.mts +8 -11
  10. package/build/es/index.mjs +58 -1
  11. package/build/es/index.mjs.map +1 -1
  12. package/build/es/index.typings.d.mts +2 -2
  13. package/build/es/index.typings.mjs +39 -0
  14. package/build/es/index.typings.mjs.map +1 -1
  15. package/build/es/meta.d.mts +1 -1
  16. package/build/es/{online-programs-v3-program-programs.universal-lMRAEV0c.d.mts → online-programs-v3-program-programs.universal-YXMOfctc.d.mts} +7 -1
  17. package/build/internal/cjs/index.d.ts +8 -11
  18. package/build/internal/cjs/index.js +58 -1
  19. package/build/internal/cjs/index.js.map +1 -1
  20. package/build/internal/cjs/index.typings.d.ts +2 -2
  21. package/build/internal/cjs/index.typings.js +40 -0
  22. package/build/internal/cjs/index.typings.js.map +1 -1
  23. package/build/internal/cjs/meta.d.ts +1 -1
  24. package/build/internal/cjs/{online-programs-v3-program-programs.universal-CxVOaZH3.d.ts → online-programs-v3-program-programs.universal-DlAnCRAK.d.ts} +7 -1
  25. package/build/internal/es/index.d.mts +8 -11
  26. package/build/internal/es/index.mjs +58 -1
  27. package/build/internal/es/index.mjs.map +1 -1
  28. package/build/internal/es/index.typings.d.mts +2 -2
  29. package/build/internal/es/index.typings.mjs +39 -0
  30. package/build/internal/es/index.typings.mjs.map +1 -1
  31. package/build/internal/es/meta.d.mts +1 -1
  32. package/build/internal/es/{online-programs-v3-program-programs.universal-CxVOaZH3.d.mts → online-programs-v3-program-programs.universal-DlAnCRAK.d.mts} +7 -1
  33. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import { av as CreateProgramRequest$1, aw as CreateProgramResponse$1, aG as DuplicateProgramRequest$1, D as DuplicateProgramResponse$1, aH as GetProgramRequest$1, aI as GetProgramResponse$1, aJ as UpdateProgramRequest$1, aK as UpdateProgramResponse$1, aQ as DeleteProgramRequest$1, aR as DeleteProgramResponse$1, aS as QueryProgramsRequest$1, aY as QueryProgramsResponse$1, a$ as SearchProgramsRequest$1, S as SearchProgramsResponse$1, bD as PublishProgramRequest$1, d as PublishProgramResponse$1, bE as EndProgramRequest$1, E as EndProgramResponse$1, bF as ArchiveProgramRequest$1, A as ArchiveProgramResponse$1, bG as BulkUpdateProgramsRequest$1, f as BulkUpdateProgramsResponse$1, bI as CountProgramsRequest$1, g as CountProgramsResponse$1, bJ as ListSampleProgramsRequest$1, L as ListSampleProgramsResponse$1 } from './online-programs-v3-program-programs.universal-lMRAEV0c.js';
1
+ import { ax as CreateProgramRequest$1, ay as CreateProgramResponse$1, aI as DuplicateProgramRequest$1, D as DuplicateProgramResponse$1, aJ as GetProgramRequest$1, aK as GetProgramResponse$1, aL as UpdateProgramRequest$1, aM as UpdateProgramResponse$1, aS as DeleteProgramRequest$1, aT as DeleteProgramResponse$1, aU as QueryProgramsRequest$1, aZ as QueryProgramsResponse$1, b0 as SearchProgramsRequest$1, S as SearchProgramsResponse$1, bE as PublishProgramRequest$1, c as PublishProgramResponse$1, bF as EndProgramRequest$1, E as EndProgramResponse$1, bG as ArchiveProgramRequest$1, A as ArchiveProgramResponse$1, bH as BulkUpdateProgramsRequest$1, e as BulkUpdateProgramsResponse$1, bJ as CountProgramsRequest$1, f as CountProgramsResponse$1, bK as ListSampleProgramsRequest$1, L as ListSampleProgramsResponse$1 } from './online-programs-v3-program-programs.universal-YXMOfctc.js';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  interface Program {
@@ -2628,6 +2628,12 @@ interface ProgramsQueryBuilder {
2628
2628
  /** @documentationMaturity preview */
2629
2629
  find: () => Promise<ProgramsQueryResult>;
2630
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>>;
2631
2637
  interface ProgramSearchSpec extends SearchSpec {
2632
2638
  searchable: ['description.title'];
2633
2639
  aggregatable: [
@@ -2891,4 +2897,4 @@ interface CountProgramsOptions {
2891
2897
  */
2892
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>>;
2893
2899
 
2894
- 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 SearchIndexingNotificationStateWithLiterals 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 SupportedLanguage as cA, type ConsentPolicy as cB, type MessageEnvelope as cC, type IdentificationData as cD, type IdentificationDataIdOneOf as cE, type ProgramsQueryResult as cF, type ProgramSearchSpec as cG, type V3StateWithLiterals as cH, type StatusWithLiterals as cI, type RestrictionsAccessTypeWithLiterals as cJ, type TriggerWithLiterals as cK, type AccessTypeWithLiterals as cL, type EnumWithLiterals as cM, type BulkActionTypeWithLiterals as cN, type SortOrderWithLiterals as cO, type SortTypeWithLiterals as cP, type SortDirectionWithLiterals as cQ, type MissingValuesWithLiterals as cR, type ScalarTypeWithLiterals as cS, type NestedAggregationTypeWithLiterals as cT, type IntervalWithLiterals as cU, type AggregationTypeWithLiterals as cV, type ModeWithLiterals as cW, type StateWithLiterals as cX, type SiteCreatedContextWithLiterals as cY, type NamespaceWithLiterals as cZ, type DeleteStatusWithLiterals 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 StudioTwoAssigned as cl, type StudioTwoUnassigned as cm, type SearchIndexingNotification as cn, type SitePropertiesUpdated as co, type SitePropertiesEvent as cp, type Properties as cq, type Categories as cr, type Locale as cs, type Address as ct, type AddressHint as cu, type GeoCoordinates as cv, type BusinessSchedule as cw, type TimePeriod as cx, type SpecialHourPeriod as cy, type Multilingual as cz, type PublishProgramResponse as d, type PlacementTypeWithLiterals as d0, type DayOfWeekWithLiterals as d1, type ResolutionMethodWithLiterals as d2, type WebhookIdentityTypeWithLiterals as d3, type CommonSearchWithEntityContext as d4, createProgram as d5, duplicateProgram as d6, getProgram as d7, updateProgram as d8, deleteProgram as d9, queryPrograms as da, publishProgram as db, endProgram as dc, archiveProgram as dd, bulkUpdatePrograms as de, countPrograms as df, listSamplePrograms as dg, 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-lMRAEV0c.mjs';
3
- export { i as AccessType, cL as AccessTypeWithLiterals, bR as ActionEvent, ct as Address, cu as AddressHint, b2 as Aggregation, bi as AggregationData, b3 as AggregationKindOneOf, bB as AggregationResults, bC as AggregationResultsResultOneOf, bp as AggregationResultsScalarResult, q as AggregationType, cV as AggregationTypeWithLiterals, ah as App, aC as ApplicationError, bF as ArchiveProgramRequest, bY as Asset, aD as BulkActionMetadata, k as BulkActionType, cN as BulkActionTypeWithLiterals, ax as BulkCreateProgramsMigrationRequest, az as BulkCreateProgramsMigrationResponse, aA as BulkProgramResult, bH as BulkUpdateProgramResult, bG as BulkUpdateProgramsRequest, cw as BusinessSchedule, cr as Categories, a1 as Certificate, d4 as CommonSearchWithEntityContext, cB 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, d1 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, c_ 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, cM as EnumWithLiterals, a2 as ExtendedFields, ak as File, H as FocalPoint, cv as GeoCoordinates, aH as GetProgramRequest, aI as GetProgramResponse, be as GroupByAggregation, bf as GroupByAggregationKindOneOf, by as GroupByValueResults, cD as IdentificationData, cE as IdentificationDataIdOneOf, b5 as IncludeMissingValuesOptions, a8 as IndexDocument, I as Interval, cU as IntervalWithLiterals, af as InvalidateCache, ag as InvalidateCacheGetByOneOf, aB as ItemMetadata, Z as Keyword, bK as LabeledProgram, bJ as ListSampleProgramsRequest, cs as Locale, cC as MessageEnvelope, bW as MetaSiteSpecialEvent, bX as MetaSiteSpecialEventPayloadOneOf, bV as MissingMetasiteIdErrorDetails, o as MissingValues, cR as MissingValuesWithLiterals, r as Mode, cW as ModeWithLiterals, Q as Money, cz as Multilingual, u as Namespace, ca as NamespaceChanged, cZ as NamespaceWithLiterals, bd as NestedAggregation, bb as NestedAggregationItem, bc as NestedAggregationItemKindOneOf, bl as NestedAggregationResults, bm as NestedAggregationResultsResultOneOf, N as NestedAggregationType, cT 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, d0 as PlacementTypeWithLiterals, at as ProgramArchived, au as ProgramDuplicated, as as ProgramEnded, ay as ProgramMigration, ar as ProgramPublished, cG as ProgramSearchSpec, cF as ProgramsQueryResult, cq 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, d2 as ResolutionMethodWithLiterals, bT as ResolveProgramSlugRequest, bU as ResolveProgramSlugResponse, bO as RestoreInfo, O as Restrictions, R as RestrictionsAccessType, cJ as RestrictionsAccessTypeWithLiterals, bw as Results, a0 as Reward, b9 as ScalarAggregation, bt as ScalarResult, p as ScalarType, cS as ScalarTypeWithLiterals, aq as Schema, bg as SearchDetails, cn as SearchIndexingNotification, w as SearchIndexingNotificationState, c$ 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, cY as SiteCreatedContextWithLiterals, b$ as SiteDeleted, c9 as SiteHardDeleted, c4 as SiteMarkedAsTemplate, c5 as SiteMarkedAsWixSite, cp as SitePropertiesEvent, co 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, cQ as SortDirectionWithLiterals, l as SortOrder, cO as SortOrderWithLiterals, m as SortType, cP as SortTypeWithLiterals, aV as Sorting, cy as SpecialHourPeriod, s as State, cX as StateWithLiterals, h as Status, cI as StatusWithLiterals, cb as StudioAssigned, cl as StudioTwoAssigned, cm as StudioTwoUnassigned, cc as StudioUnassigned, cA as SupportedLanguage, _ as Tag, cx as TimePeriod, K as Timeline, aP as TimelineSwitchForbiddenErrorDetails, T as Trigger, cK 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, cH 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, d3 as WebhookIdentityTypeWithLiterals, cj as WixelAssigned, ck as WixelUnassigned, aN as WrongParticipantsNumberErrorDetails, aM as WrongStartDateErrorDetails, aL as WrongStateErrorDetails } from './online-programs-v3-program-programs.universal-lMRAEV0c.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 ProgramsQueryBuilder, Q as QueryV2, t as typedQueryPrograms } from './online-programs-v3-program-programs.universal-YXMOfctc.mjs';
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-YXMOfctc.mjs';
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 };
@@ -1385,6 +1385,44 @@ function queryPrograms2() {
1385
1385
  transformationPaths: {}
1386
1386
  });
1387
1387
  }
1388
+ async function typedQueryPrograms(query) {
1389
+ const { httpClient, sideEffects } = arguments[1];
1390
+ const payload = renameKeysFromSDKRequestToRESTRequest({ query });
1391
+ const reqOpts = queryPrograms(payload);
1392
+ sideEffects?.onSiteCall?.();
1393
+ try {
1394
+ const result = await httpClient.request(reqOpts);
1395
+ sideEffects?.onSuccess?.(result);
1396
+ return renameKeysFromRESTResponseToSDKResponse(
1397
+ transformPaths2(result.data, [
1398
+ {
1399
+ transformFn: transformRESTImageToSDKImage,
1400
+ paths: [{ path: "programs.description.image" }]
1401
+ },
1402
+ {
1403
+ transformFn: transformRESTVideoV2ToSDKVideoV2,
1404
+ paths: [{ path: "programs.description.video" }]
1405
+ },
1406
+ {
1407
+ transformFn: transformRESTPageURLToSDKPageURL,
1408
+ paths: [{ path: "programs.seo.url" }]
1409
+ }
1410
+ ])
1411
+ );
1412
+ } catch (err) {
1413
+ const transformedError = sdkTransformError(
1414
+ err,
1415
+ {
1416
+ spreadPathsToArguments: {},
1417
+ explicitPathsToArguments: { query: "$[0]" },
1418
+ singleArgumentUnchanged: false
1419
+ },
1420
+ ["query"]
1421
+ );
1422
+ sideEffects?.onError?.(err);
1423
+ throw transformedError;
1424
+ }
1425
+ }
1388
1426
  async function searchPrograms2(search) {
1389
1427
  const { httpClient, sideEffects } = arguments[1];
1390
1428
  const payload = renameKeysFromSDKRequestToRESTRequest({ search });
@@ -1710,6 +1748,13 @@ function queryPrograms3(httpClient) {
1710
1748
  { httpClient }
1711
1749
  );
1712
1750
  }
1751
+ function typedQueryPrograms2(httpClient) {
1752
+ return (query) => typedQueryPrograms(
1753
+ query,
1754
+ // @ts-ignore
1755
+ { httpClient }
1756
+ );
1757
+ }
1713
1758
  function searchPrograms3(httpClient) {
1714
1759
  return (search) => searchPrograms2(
1715
1760
  search,
@@ -1762,12 +1807,23 @@ function listSamplePrograms3(httpClient) {
1762
1807
 
1763
1808
  // src/online-programs-v3-program-programs.context.ts
1764
1809
  import { createRESTModule } from "@wix/sdk-runtime/rest-modules";
1810
+ import { createQueryOverloadRouter } from "@wix/sdk-runtime/query-method-router";
1811
+ function customQueryPrograms(httpClient) {
1812
+ const router = createQueryOverloadRouter({
1813
+ builderQueryFunction: () => queryPrograms3(httpClient)(),
1814
+ typedQueryFunction: (query) => typedQueryPrograms2(httpClient)(query),
1815
+ hasOptionsParameter: false
1816
+ });
1817
+ function overloadedQuery(query) {
1818
+ return router(...arguments);
1819
+ }
1820
+ return overloadedQuery;
1821
+ }
1765
1822
  var createProgram4 = /* @__PURE__ */ createRESTModule(createProgram3);
1766
1823
  var duplicateProgram4 = /* @__PURE__ */ createRESTModule(duplicateProgram3);
1767
1824
  var getProgram4 = /* @__PURE__ */ createRESTModule(getProgram3);
1768
1825
  var updateProgram4 = /* @__PURE__ */ createRESTModule(updateProgram3);
1769
1826
  var deleteProgram4 = /* @__PURE__ */ createRESTModule(deleteProgram3);
1770
- var queryPrograms4 = /* @__PURE__ */ createRESTModule(queryPrograms3);
1771
1827
  var searchPrograms4 = /* @__PURE__ */ createRESTModule(searchPrograms3);
1772
1828
  var publishProgram4 = /* @__PURE__ */ createRESTModule(publishProgram3);
1773
1829
  var endProgram4 = /* @__PURE__ */ createRESTModule(endProgram3);
@@ -1775,6 +1831,7 @@ var archiveProgram4 = /* @__PURE__ */ createRESTModule(archiveProgram3);
1775
1831
  var bulkUpdatePrograms4 = /* @__PURE__ */ createRESTModule(bulkUpdatePrograms3);
1776
1832
  var countPrograms4 = /* @__PURE__ */ createRESTModule(countPrograms3);
1777
1833
  var listSamplePrograms4 = /* @__PURE__ */ createRESTModule(listSamplePrograms3);
1834
+ var queryPrograms4 = /* @__PURE__ */ createRESTModule(customQueryPrograms);
1778
1835
  export {
1779
1836
  AccessType,
1780
1837
  AggregationType,