@wix/auto_sdk_online-programs_programs 1.0.22 → 1.0.23

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 (41) hide show
  1. package/build/cjs/index.d.ts +2 -2
  2. package/build/cjs/index.js +2 -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 +2 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +1 -1
  8. package/build/cjs/meta.js +2 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/{online-programs-v3-program-programs.universal-D4WCMJwS.d.ts → online-programs-v3-program-programs.universal-BT1XB9EK.d.ts} +4 -0
  11. package/build/es/index.d.mts +2 -2
  12. package/build/es/index.mjs +2 -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 +2 -0
  16. package/build/es/index.typings.mjs.map +1 -1
  17. package/build/es/meta.d.mts +1 -1
  18. package/build/es/meta.mjs +2 -0
  19. package/build/es/meta.mjs.map +1 -1
  20. package/build/es/{online-programs-v3-program-programs.universal-D4WCMJwS.d.mts → online-programs-v3-program-programs.universal-BT1XB9EK.d.mts} +4 -0
  21. package/build/internal/cjs/index.d.ts +2 -2
  22. package/build/internal/cjs/index.js +2 -0
  23. package/build/internal/cjs/index.js.map +1 -1
  24. package/build/internal/cjs/index.typings.d.ts +2 -2
  25. package/build/internal/cjs/index.typings.js +2 -0
  26. package/build/internal/cjs/index.typings.js.map +1 -1
  27. package/build/internal/cjs/meta.d.ts +219 -2
  28. package/build/internal/cjs/meta.js +2 -0
  29. package/build/internal/cjs/meta.js.map +1 -1
  30. package/build/internal/cjs/{online-programs-v3-program-programs.universal-D4WCMJwS.d.ts → online-programs-v3-program-programs.universal-CY1iRKeB.d.ts} +136 -1
  31. package/build/internal/es/index.d.mts +2 -2
  32. package/build/internal/es/index.mjs +2 -0
  33. package/build/internal/es/index.mjs.map +1 -1
  34. package/build/internal/es/index.typings.d.mts +2 -2
  35. package/build/internal/es/index.typings.mjs +2 -0
  36. package/build/internal/es/index.typings.mjs.map +1 -1
  37. package/build/internal/es/meta.d.mts +219 -2
  38. package/build/internal/es/meta.mjs +2 -0
  39. package/build/internal/es/meta.mjs.map +1 -1
  40. package/build/internal/es/{online-programs-v3-program-programs.universal-D4WCMJwS.d.mts → online-programs-v3-program-programs.universal-CY1iRKeB.d.mts} +136 -1
  41. package/package.json +4 -4
@@ -136,8 +136,68 @@ interface VideoResolution {
136
136
  height?: number;
137
137
  /** Video width. */
138
138
  width?: number;
139
+ /**
140
+ * Deprecated. Use the `posters` property in the parent entity instead.
141
+ * @internal
142
+ * @deprecated
143
+ */
144
+ poster?: string;
139
145
  /** Video format for example, mp4, hls. */
140
146
  format?: string;
147
+ /**
148
+ * Deprecated. Use the `urlExpirationDate` property in the parent entity instead.
149
+ * @internal
150
+ * @deprecated
151
+ */
152
+ urlExpirationDate?: Date | null;
153
+ /**
154
+ * Deprecated. Use the `sizeInBytes` property in the parent entity instead. Size cannot be provided per resolution.
155
+ * @internal
156
+ * @format DECIMAL_VALUE
157
+ * @deprecated
158
+ */
159
+ sizeInBytes?: string | null;
160
+ /**
161
+ * Video quality. For example: 480p, 720p.
162
+ * @internal
163
+ */
164
+ quality?: string | null;
165
+ /**
166
+ * Video filename.
167
+ * @internal
168
+ */
169
+ filename?: string | null;
170
+ /**
171
+ * Video duration in seconds.
172
+ * @internal
173
+ * @readonly
174
+ * @deprecated Video duration in seconds.
175
+ * @replacedBy duration_in_milliseconds
176
+ * @targetRemovalDate 2024-08-01
177
+ */
178
+ durationInSeconds?: number | null;
179
+ /**
180
+ * Video duration in milliseconds.
181
+ * @internal
182
+ * @readonly
183
+ */
184
+ durationInMilliseconds?: number | null;
185
+ /**
186
+ * When true, this is a protected asset, and calling the URL will return a 403 error.
187
+ * In order to access private assets, make a request to:
188
+ * `GenerateFileDownloadUrl` with the WixMedia id and specify the asset_key in the request
189
+ * @internal
190
+ * @readonly
191
+ */
192
+ private?: boolean | null;
193
+ /**
194
+ * Key to identify the video resolution's relationship to the original media in WixMedia.
195
+ * Can be used to request a download for the specific video resolution.
196
+ * For example: 480p.mp4, 720p.mp4, 1080p.mp4, trailer-720p.mp4, clip-720p.mp4
197
+ * @internal
198
+ * @readonly
199
+ */
200
+ assetKey?: string | null;
141
201
  }
142
202
  /** Program scheduling settings. */
143
203
  interface Timeline {
@@ -773,6 +833,11 @@ interface GetProgramResponse {
773
833
  interface UpdateProgramRequest {
774
834
  /** Program fields to update. Include `id` and the latest `revision`. */
775
835
  program: Program;
836
+ /**
837
+ * The list of fields to update. For REST requests, this list is inferred from the request body.
838
+ * @internal
839
+ */
840
+ fieldMask?: string[];
776
841
  }
777
842
  interface UpdateProgramResponse {
778
843
  /** Updated program. */
@@ -849,6 +914,20 @@ interface Sorting {
849
914
  fieldName?: string;
850
915
  /** Sort order. */
851
916
  order?: SortOrderWithLiterals;
917
+ /**
918
+ * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by
919
+ * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.
920
+ *
921
+ * If multiple filters are provided, they are combined with AND operator.
922
+ *
923
+ * Example:
924
+ * Given we have document like {"id": "1", "nestedField": [{"price": 10, "region": "EU"}, {"price": 20, "region": "US"}]}
925
+ * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be
926
+ * { fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] }
927
+ * @internal
928
+ * @maxSize 10
929
+ */
930
+ selectItemsBy?: Record<string, any>[] | null;
852
931
  }
853
932
  declare enum SortOrder {
854
933
  ASC = "ASC",
@@ -893,6 +972,13 @@ interface PagingMetadataV2 {
893
972
  tooManyToCount?: boolean | null;
894
973
  /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
895
974
  cursors?: Cursors;
975
+ /**
976
+ * Indicates if there are more results after the current page.
977
+ * If `true`, another page of results can be retrieved.
978
+ * If `false`, this is the last page.
979
+ * @internal
980
+ */
981
+ hasNext?: boolean | null;
896
982
  }
897
983
  interface Cursors {
898
984
  /**
@@ -1045,7 +1131,17 @@ declare enum ScalarType {
1045
1131
  /** Minimum value. */
1046
1132
  MIN = "MIN",
1047
1133
  /** Maximum value. */
1048
- MAX = "MAX"
1134
+ MAX = "MAX",
1135
+ /**
1136
+ * Sum of values.
1137
+ * @internal
1138
+ */
1139
+ SUM = "SUM",
1140
+ /**
1141
+ * Average of values.
1142
+ * @internal
1143
+ */
1144
+ AVG = "AVG"
1049
1145
  }
1050
1146
  /** @enumType */
1051
1147
  type ScalarTypeWithLiterals = ScalarType | 'COUNT_DISTINCT' | 'MIN' | 'MAX';
@@ -1231,6 +1327,13 @@ interface CursorPagingMetadata {
1231
1327
  * + `false`: This is the last page.
1232
1328
  */
1233
1329
  hasNext?: boolean | null;
1330
+ /**
1331
+ * Total number of items matching the filter.
1332
+ * Available only on the first page of *Search* results, not included in *Query* or *List* results.
1333
+ * If the Search results span multiple pages, the value of `total` will exceed the number of items returned on the first page.
1334
+ * @internal
1335
+ */
1336
+ total?: number | null;
1234
1337
  }
1235
1338
  interface AggregationData {
1236
1339
  /**
@@ -2857,6 +2960,20 @@ type ProgramQuery = {
2857
2960
  Sort order.
2858
2961
  */
2859
2962
  order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
2963
+ /**
2964
+ When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by
2965
+ a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.
2966
+
2967
+ If multiple filters are provided, they are combined with AND operator.
2968
+
2969
+ Example:
2970
+ Given we have document like {"id": "1", "nestedField": [{"price": 10, "region": "EU"}, {"price": 20, "region": "US"}]}
2971
+ and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be
2972
+ { fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] }
2973
+ @internal: undefined,
2974
+ @maxSize: 10
2975
+ */
2976
+ selectItemsBy?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['selectItemsBy'] | null;
2860
2977
  }[];
2861
2978
  };
2862
2979
  declare const utils: {
@@ -2868,6 +2985,10 @@ declare const utils: {
2868
2985
  search: {
2869
2986
  SearchBuilder: () => _wix_sdk_types.SearchBuilder<Program, ProgramSearchSpec, ProgramSearch>;
2870
2987
  Filter: _wix_sdk_types.FilterFactory<Program, ProgramSearchSpec>;
2988
+ /**
2989
+ * Field to aggregate by, matches the one provided in request.
2990
+ * @maxLength 200
2991
+ */
2871
2992
  Sort: _wix_sdk_types.SortFactory<ProgramSearchSpec>;
2872
2993
  SearchParams: _wix_sdk_types.SearchParamsFactory<ProgramSearchSpec>;
2873
2994
  Aggregation: _wix_sdk_types.AggregationFactory<ProgramSearchSpec>;
@@ -2966,6 +3087,20 @@ type ProgramSearch = {
2966
3087
  Sort order.
2967
3088
  */
2968
3089
  order?: NonNullable<CommonSearchWithEntityContext['sort']>[number]['order'];
3090
+ /**
3091
+ When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by
3092
+ a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.
3093
+
3094
+ If multiple filters are provided, they are combined with AND operator.
3095
+
3096
+ Example:
3097
+ Given we have document like {"id": "1", "nestedField": [{"price": 10, "region": "EU"}, {"price": 20, "region": "US"}]}
3098
+ and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be
3099
+ { fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] }
3100
+ @internal: undefined,
3101
+ @maxSize: 10
3102
+ */
3103
+ selectItemsBy?: NonNullable<CommonSearchWithEntityContext['sort']>[number]['selectItemsBy'] | null;
2969
3104
  }[];
2970
3105
  /**
2971
3106
  Aggregations are a way to explore large amounts of data by displaying summaries about various partitions of the data and later allowing to narrow the navigation to a specific partition.
@@ -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 ProgramSearch, S as SearchProgramsResponse, c as PublishProgramResponse, d as PublishProgramApplicationErrors, E as EndProgramResponse, A as ArchiveProgramResponse, M as MaskedProgram, B as BulkUpdateProgramsOptions, e as BulkUpdateProgramsResponse, C as CountProgramsOptions, f as CountProgramsResponse, L as ListSampleProgramsResponse, g as ProgramsQueryBuilder, h as ProgramQuery, t as typedQueryPrograms } from './online-programs-v3-program-programs.universal-D4WCMJwS.mjs';
3
- export { j as AccessType, cR as AccessTypeWithLiterals, cL as AccountInfo, bT as ActionEvent, cz as Address, cA as AddressHint, b4 as Aggregation, bk as AggregationData, b5 as AggregationKindOneOf, bD as AggregationResults, bE as AggregationResultsResultOneOf, br as AggregationResultsScalarResult, r as AggregationType, d0 as AggregationTypeWithLiterals, ah as App, aE as ApplicationError, bH as ArchiveProgramRequest, b_ as Asset, aF as BulkActionMetadata, l as BulkActionType, cU as BulkActionTypeWithLiterals, az as BulkCreateProgramsMigrationRequest, aB as BulkCreateProgramsMigrationResponse, aC as BulkProgramResult, bJ as BulkUpdateProgramResult, bI as BulkUpdateProgramsRequest, cC as BusinessSchedule, cx as Categories, a1 as Certificate, db as CommonQueryWithEntityContext, dc as CommonSearchWithEntityContext, cH as ConsentPolicy, a4 as ContentSummary, bK as CountProgramsRequest, ax as CreateProgramRequest, ay as CreateProgramResponse, aZ as CursorPaging, bj as CursorPagingMetadata, b2 as CursorSearch, b3 as CursorSearchPagingMethodOneOf, b0 as Cursors, al as CustomTag, bc as DateHistogramAggregation, bz as DateHistogramResult, bB as DateHistogramResults, F as DayOfWeek, d8 as DayOfWeekWithLiterals, ar as Delete, aG as DeleteAllProgramsMigrationRequest, aH as DeleteAllProgramsMigrationResponse, ac as DeleteByFilterOperation, ab as DeleteByIdsOperation, c2 as DeleteContext, aS as DeleteProgramRequest, aT as DeleteProgramResponse, x as DeleteStatus, d5 as DeleteStatusWithLiterals, G as Description, H as DescriptionMediaOneOf, aa as DocumentImage, a9 as DocumentPayload, a7 as DocumentUpdateOperation, bN as DomainEvent, bO as DomainEventBodyOneOf, aI as DuplicateProgramRequest, aQ as DuplicatedSlugErrorDetails, cr as EditorlessAssigned, cs as EditorlessUnassigned, bU as Empty, bG as EndProgramRequest, bP as EntityCreatedEvent, bS as EntityDeletedEvent, bR as EntityUpdatedEvent, k as Enum, cT as EnumWithLiterals, a2 as ExtendedFields, ak as File, J as FocalPoint, cB as GeoCoordinates, aJ as GetProgramRequest, aK as GetProgramResponse, bg as GroupByAggregation, bh as GroupByAggregationKindOneOf, bA as GroupByValueResults, cJ as IdentificationData, cK as IdentificationDataIdOneOf, b7 as IncludeMissingValuesOptions, a8 as IndexDocument, I as Interval, c$ as IntervalWithLiterals, af as InvalidateCache, ag as InvalidateCacheGetByOneOf, aD as ItemMetadata, Z as Keyword, bM as LabeledProgram, bL as ListSampleProgramsRequest, cy as Locale, cI as MessageEnvelope, bY as MetaSiteSpecialEvent, bZ as MetaSiteSpecialEventPayloadOneOf, bX as MissingMetasiteIdErrorDetails, p as MissingValues, cY as MissingValuesWithLiterals, s as Mode, d1 as ModeWithLiterals, Q as Money, cF as Multilingual, w as Namespace, cc as NamespaceChanged, d4 as NamespaceWithLiterals, bf as NestedAggregation, bd as NestedAggregationItem, be as NestedAggregationItemKindOneOf, bn as NestedAggregationResults, bo as NestedAggregationResultsResultOneOf, N as NestedAggregationType, c_ as NestedAggregationTypeWithLiterals, bw as NestedResultValue, bx as NestedResultValueResultOneOf, bC as NestedResults, bs as NestedValueAggregationResult, ch as OdeditorAssigned, ci as OdeditorUnassigned, ai as Page, am as Pages, aY as Paging, a$ as PagingMetadataV2, cj as PicassoAssigned, ck as PicassoUnassigned, z as PlacementType, d7 as PlacementTypeWithLiterals, av as ProgramArchived, aw as ProgramDuplicated, au as ProgramEnded, aA as ProgramMigration, at as ProgramPublished, cN as ProgramQuerySpec, cO as ProgramSearchSpec, cM as ProgramsQueryResult, cw as Properties, bF as PublishProgramRequest, aU as QueryProgramsRequest, a_ as QueryProgramsResponse, aV as QueryV2, aW as QueryV2PagingMethodOneOf, ba as RangeAggregation, bm as RangeAggregationResult, b6 as RangeBucket, bu as RangeResult, bq as RangeResults, ao as ReindexMessage, ap as ReindexMessageActionOneOf, R as ResolutionMethod, d9 as ResolutionMethodWithLiterals, bV as ResolveProgramSlugRequest, bW as ResolveProgramSlugResponse, bQ as RestoreInfo, O as Restrictions, by as Results, a0 as Reward, bb as ScalarAggregation, bv as ScalarResult, q as ScalarType, cZ as ScalarTypeWithLiterals, as as Schema, bi as SearchDetails, ct as SearchIndexingNotification, y as SearchIndexingNotificationState, d6 as SearchIndexingNotificationStateWithLiterals, b1 as SearchProgramsRequest, X as Seo, Y as SeoSchema, c8 as ServiceProvisioned, c9 as ServiceRemoved, $ as Settings, b$ as SiteCreated, v as SiteCreatedContext, d3 as SiteCreatedContextWithLiterals, c1 as SiteDeleted, cb as SiteHardDeleted, c6 as SiteMarkedAsTemplate, c7 as SiteMarkedAsWixSite, cv as SitePropertiesEvent, cu as SitePropertiesUpdated, c4 as SitePublished, cg as SitePurgedExternally, ca as SiteRenamed, c0 as SiteTransferred, c3 as SiteUndeleted, c5 as SiteUnpublished, cf as SiteUrlChanged, o as SortDirection, cX as SortDirectionWithLiterals, m as SortOrder, cV as SortOrderWithLiterals, n as SortType, cW as SortTypeWithLiterals, aX as Sorting, cE as SpecialHourPeriod, u as State, d2 as StateWithLiterals, i as Status, cQ as StatusWithLiterals, cd as StudioAssigned, cn as StudioTwoAssigned, co as StudioTwoUnassigned, ce as StudioUnassigned, cG as SupportedLanguage, _ as Tag, cD as TimePeriod, K as Timeline, aR as TimelineSwitchForbiddenErrorDetails, T as Trigger, cS as TriggerWithLiterals, aj as URI, an as URIs, ad as UpdateByFilterOperation, a5 as UpdateDocumentsEvent, a6 as UpdateDocumentsEventOperationOneOf, ae as UpdateExistingOperation, aL as UpdateProgramRequest, aM as UpdateProgramResponse, aq as Upsert, cq as UserDomainMediaDisabled, cp as UserDomainMediaEnabled, b8 as ValueAggregation, b9 as ValueAggregationOptionsOneOf, bl as ValueAggregationResult, bt as ValueResult, bp as ValueResults, V as VideoResolution, a3 as VideoStepsSettings, W as WebhookIdentityType, da as WebhookIdentityTypeWithLiterals, cl as WixelAssigned, cm as WixelUnassigned, aP as WrongParticipantsNumberErrorDetails, aO as WrongStartDateErrorDetails, aN as WrongStateErrorDetails, cP as utils } from './online-programs-v3-program-programs.universal-D4WCMJwS.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, h as ProgramQuery, t as typedQueryPrograms } from './online-programs-v3-program-programs.universal-CY1iRKeB.mjs';
3
+ export { j as AccessType, cR as AccessTypeWithLiterals, cL as AccountInfo, bT as ActionEvent, cz as Address, cA as AddressHint, b4 as Aggregation, bk as AggregationData, b5 as AggregationKindOneOf, bD as AggregationResults, bE as AggregationResultsResultOneOf, br as AggregationResultsScalarResult, r as AggregationType, d0 as AggregationTypeWithLiterals, ah as App, aE as ApplicationError, bH as ArchiveProgramRequest, b_ as Asset, aF as BulkActionMetadata, l as BulkActionType, cU as BulkActionTypeWithLiterals, az as BulkCreateProgramsMigrationRequest, aB as BulkCreateProgramsMigrationResponse, aC as BulkProgramResult, bJ as BulkUpdateProgramResult, bI as BulkUpdateProgramsRequest, cC as BusinessSchedule, cx as Categories, a1 as Certificate, db as CommonQueryWithEntityContext, dc as CommonSearchWithEntityContext, cH as ConsentPolicy, a4 as ContentSummary, bK as CountProgramsRequest, ax as CreateProgramRequest, ay as CreateProgramResponse, aZ as CursorPaging, bj as CursorPagingMetadata, b2 as CursorSearch, b3 as CursorSearchPagingMethodOneOf, b0 as Cursors, al as CustomTag, bc as DateHistogramAggregation, bz as DateHistogramResult, bB as DateHistogramResults, F as DayOfWeek, d8 as DayOfWeekWithLiterals, ar as Delete, aG as DeleteAllProgramsMigrationRequest, aH as DeleteAllProgramsMigrationResponse, ac as DeleteByFilterOperation, ab as DeleteByIdsOperation, c2 as DeleteContext, aS as DeleteProgramRequest, aT as DeleteProgramResponse, x as DeleteStatus, d5 as DeleteStatusWithLiterals, G as Description, H as DescriptionMediaOneOf, aa as DocumentImage, a9 as DocumentPayload, a7 as DocumentUpdateOperation, bN as DomainEvent, bO as DomainEventBodyOneOf, aI as DuplicateProgramRequest, aQ as DuplicatedSlugErrorDetails, cr as EditorlessAssigned, cs as EditorlessUnassigned, bU as Empty, bG as EndProgramRequest, bP as EntityCreatedEvent, bS as EntityDeletedEvent, bR as EntityUpdatedEvent, k as Enum, cT as EnumWithLiterals, a2 as ExtendedFields, ak as File, J as FocalPoint, cB as GeoCoordinates, aJ as GetProgramRequest, aK as GetProgramResponse, bg as GroupByAggregation, bh as GroupByAggregationKindOneOf, bA as GroupByValueResults, cJ as IdentificationData, cK as IdentificationDataIdOneOf, b7 as IncludeMissingValuesOptions, a8 as IndexDocument, I as Interval, c$ as IntervalWithLiterals, af as InvalidateCache, ag as InvalidateCacheGetByOneOf, aD as ItemMetadata, Z as Keyword, bM as LabeledProgram, bL as ListSampleProgramsRequest, cy as Locale, cI as MessageEnvelope, bY as MetaSiteSpecialEvent, bZ as MetaSiteSpecialEventPayloadOneOf, bX as MissingMetasiteIdErrorDetails, p as MissingValues, cY as MissingValuesWithLiterals, s as Mode, d1 as ModeWithLiterals, Q as Money, cF as Multilingual, w as Namespace, cc as NamespaceChanged, d4 as NamespaceWithLiterals, bf as NestedAggregation, bd as NestedAggregationItem, be as NestedAggregationItemKindOneOf, bn as NestedAggregationResults, bo as NestedAggregationResultsResultOneOf, N as NestedAggregationType, c_ as NestedAggregationTypeWithLiterals, bw as NestedResultValue, bx as NestedResultValueResultOneOf, bC as NestedResults, bs as NestedValueAggregationResult, ch as OdeditorAssigned, ci as OdeditorUnassigned, ai as Page, am as Pages, aY as Paging, a$ as PagingMetadataV2, cj as PicassoAssigned, ck as PicassoUnassigned, z as PlacementType, d7 as PlacementTypeWithLiterals, av as ProgramArchived, aw as ProgramDuplicated, au as ProgramEnded, aA as ProgramMigration, at as ProgramPublished, cN as ProgramQuerySpec, cO as ProgramSearchSpec, cM as ProgramsQueryResult, cw as Properties, bF as PublishProgramRequest, aU as QueryProgramsRequest, a_ as QueryProgramsResponse, aV as QueryV2, aW as QueryV2PagingMethodOneOf, ba as RangeAggregation, bm as RangeAggregationResult, b6 as RangeBucket, bu as RangeResult, bq as RangeResults, ao as ReindexMessage, ap as ReindexMessageActionOneOf, R as ResolutionMethod, d9 as ResolutionMethodWithLiterals, bV as ResolveProgramSlugRequest, bW as ResolveProgramSlugResponse, bQ as RestoreInfo, O as Restrictions, by as Results, a0 as Reward, bb as ScalarAggregation, bv as ScalarResult, q as ScalarType, cZ as ScalarTypeWithLiterals, as as Schema, bi as SearchDetails, ct as SearchIndexingNotification, y as SearchIndexingNotificationState, d6 as SearchIndexingNotificationStateWithLiterals, b1 as SearchProgramsRequest, X as Seo, Y as SeoSchema, c8 as ServiceProvisioned, c9 as ServiceRemoved, $ as Settings, b$ as SiteCreated, v as SiteCreatedContext, d3 as SiteCreatedContextWithLiterals, c1 as SiteDeleted, cb as SiteHardDeleted, c6 as SiteMarkedAsTemplate, c7 as SiteMarkedAsWixSite, cv as SitePropertiesEvent, cu as SitePropertiesUpdated, c4 as SitePublished, cg as SitePurgedExternally, ca as SiteRenamed, c0 as SiteTransferred, c3 as SiteUndeleted, c5 as SiteUnpublished, cf as SiteUrlChanged, o as SortDirection, cX as SortDirectionWithLiterals, m as SortOrder, cV as SortOrderWithLiterals, n as SortType, cW as SortTypeWithLiterals, aX as Sorting, cE as SpecialHourPeriod, u as State, d2 as StateWithLiterals, i as Status, cQ as StatusWithLiterals, cd as StudioAssigned, cn as StudioTwoAssigned, co as StudioTwoUnassigned, ce as StudioUnassigned, cG as SupportedLanguage, _ as Tag, cD as TimePeriod, K as Timeline, aR as TimelineSwitchForbiddenErrorDetails, T as Trigger, cS as TriggerWithLiterals, aj as URI, an as URIs, ad as UpdateByFilterOperation, a5 as UpdateDocumentsEvent, a6 as UpdateDocumentsEventOperationOneOf, ae as UpdateExistingOperation, aL as UpdateProgramRequest, aM as UpdateProgramResponse, aq as Upsert, cq as UserDomainMediaDisabled, cp as UserDomainMediaEnabled, b8 as ValueAggregation, b9 as ValueAggregationOptionsOneOf, bl as ValueAggregationResult, bt as ValueResult, bp as ValueResults, V as VideoResolution, a3 as VideoStepsSettings, W as WebhookIdentityType, da as WebhookIdentityTypeWithLiterals, cl as WixelAssigned, cm as WixelUnassigned, aP as WrongParticipantsNumberErrorDetails, aO as WrongStartDateErrorDetails, aN as WrongStateErrorDetails, cP as utils } from './online-programs-v3-program-programs.universal-CY1iRKeB.mjs';
4
4
 
5
5
  declare function createProgram$1(httpClient: HttpClient): CreateProgramSignature;
6
6
  interface CreateProgramSignature {
@@ -976,6 +976,8 @@ var ScalarType = /* @__PURE__ */ ((ScalarType2) => {
976
976
  ScalarType2["COUNT_DISTINCT"] = "COUNT_DISTINCT";
977
977
  ScalarType2["MIN"] = "MIN";
978
978
  ScalarType2["MAX"] = "MAX";
979
+ ScalarType2["SUM"] = "SUM";
980
+ ScalarType2["AVG"] = "AVG";
979
981
  return ScalarType2;
980
982
  })(ScalarType || {});
981
983
  var NestedAggregationType = /* @__PURE__ */ ((NestedAggregationType2) => {