@wix/auto_sdk_online-programs_programs 1.0.42 → 1.0.43
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.
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +105 -44
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/{online-programs-v3-program-programs.universal-CXWw_Yap.d.ts → online-programs-v3-program-programs.universal-Lt33oe5u.d.ts} +104 -43
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +105 -44
- package/build/es/meta.mjs.map +1 -1
- package/build/es/{online-programs-v3-program-programs.universal-CXWw_Yap.d.mts → online-programs-v3-program-programs.universal-Lt33oe5u.d.mts} +104 -43
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/meta.d.ts +105 -44
- package/build/internal/cjs/{online-programs-v3-program-programs.universal-C2QeyOXB.d.ts → online-programs-v3-program-programs.universal-DJ1omkE9.d.ts} +104 -43
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/meta.d.mts +105 -44
- package/build/internal/es/{online-programs-v3-program-programs.universal-C2QeyOXB.d.mts → online-programs-v3-program-programs.universal-DJ1omkE9.d.mts} +104 -43
- package/package.json +4 -4
|
@@ -228,73 +228,117 @@ interface Seo {
|
|
|
228
228
|
courseWorkload?: string;
|
|
229
229
|
}
|
|
230
230
|
/**
|
|
231
|
-
* The SEO
|
|
232
|
-
*
|
|
233
|
-
*
|
|
231
|
+
* The SEO data for a single page or dynamic item, in the shape stored today.
|
|
232
|
+
*
|
|
233
|
+
* FROZEN. Existing server code maps onto this message field by field, so its
|
|
234
|
+
* field set must never change (see the file header). New writers use
|
|
235
|
+
* `SeoSchemaV2`.
|
|
236
|
+
*
|
|
237
|
+
* These tags are rendered into the <head> of the HTML document and are not
|
|
238
|
+
* visible on the page itself. They override every other source of tags
|
|
239
|
+
* (site defaults, vertical presets, patterns) for this page.
|
|
234
240
|
*/
|
|
235
241
|
interface SeoSchema {
|
|
236
|
-
/**
|
|
242
|
+
/**
|
|
243
|
+
* The tags rendered into <head>, in no particular order. Render order is
|
|
244
|
+
* decided by the renderer, not by position in this list.
|
|
245
|
+
*
|
|
246
|
+
* No maxSize: this list is already populated by data written years ago, and
|
|
247
|
+
* a bound added now could reject a page that is already stored.
|
|
248
|
+
*/
|
|
237
249
|
tags?: Tag[];
|
|
238
|
-
/** SEO
|
|
250
|
+
/** Page-level SEO settings that are not themselves tags. */
|
|
239
251
|
settings?: Settings;
|
|
240
252
|
}
|
|
253
|
+
/** A keyword term the user is targeting. */
|
|
241
254
|
interface Keyword {
|
|
242
|
-
/**
|
|
255
|
+
/**
|
|
256
|
+
* The term itself, e.g. "trail running shoes".
|
|
257
|
+
*
|
|
258
|
+
* No maxLength, for the same reason as the legacy tag fields: keywords are
|
|
259
|
+
* already stored, and a bound added now could reject a record written
|
|
260
|
+
* before the bound existed. The flynt `missing-string-validations` warning
|
|
261
|
+
* on this field is accepted deliberately.
|
|
262
|
+
*/
|
|
243
263
|
term?: string;
|
|
244
|
-
/** Whether
|
|
264
|
+
/** Whether this is the page's primary focus keyword. At most one per page. */
|
|
245
265
|
isMain?: boolean;
|
|
246
266
|
/**
|
|
247
|
-
*
|
|
267
|
+
* Which surface added the term, e.g. a panel or a suggestion flow. Used for
|
|
268
|
+
* attribution in BI. Opaque to the renderer.
|
|
248
269
|
* @maxLength 1000
|
|
249
270
|
*/
|
|
250
271
|
origin?: string | null;
|
|
251
272
|
}
|
|
273
|
+
/**
|
|
274
|
+
* One tag in the page's <head>.
|
|
275
|
+
*
|
|
276
|
+
* Not deprecated, and with no removal date, deliberately: stored data is
|
|
277
|
+
* never migrated, so this shape stays valid input forever. `seo-renderer`
|
|
278
|
+
* normalizes both shapes on READ.
|
|
279
|
+
*/
|
|
252
280
|
interface Tag {
|
|
253
281
|
/**
|
|
254
|
-
*
|
|
255
|
-
*
|
|
256
|
-
*
|
|
257
|
-
* Supported values: `title`, `meta`, `script`, `link`.
|
|
282
|
+
* Legacy. Was a free-form string: "title" | "meta" | "script" | "link".
|
|
283
|
+
* The typed replacement is the `kind` oneof on `SeoSchemaV2.Tag`, which makes
|
|
284
|
+
* the invalid combinations unrepresentable rather than merely discouraged.
|
|
258
285
|
*
|
|
259
|
-
* Which of these an API actually accepts depends on where the tag is being
|
|
260
|
-
* list is not a blanket guarantee across every API that reuses
|
|
261
|
-
* Tags in particular accepts only `meta` (see
|
|
262
|
-
* `title`/`script`/`link` with a validation
|
|
263
|
-
*
|
|
264
|
-
*
|
|
286
|
+
* Which of these an API actually accepts depends on where the tag is being
|
|
287
|
+
* set: this list is not a blanket guarantee across every API that reuses
|
|
288
|
+
* this message. Site SEO Tags in particular accepts only `meta` (see
|
|
289
|
+
* `SiteSeoTags.tags`) and rejects `title`/`script`/`link` with a validation
|
|
290
|
+
* error even though they appear here — check the field description of the
|
|
291
|
+
* specific `tags`-typed field you are writing to.
|
|
265
292
|
*
|
|
266
293
|
* Limitation: `title` and `script` (e.g. a `script` tag with `props.type`
|
|
267
|
-
*
|
|
268
|
-
* `custom` is unset or `false`. Setting `custom: true` on a `title` or
|
|
269
|
-
* tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because
|
|
270
|
-
* write through the site's Advanced/Custom Tags
|
|
271
|
-
* omit `custom` (or set it to `false`).
|
|
294
|
+
* "application/ld+json" carrying structured data) are supported only when
|
|
295
|
+
* `custom` is unset or `false`. Setting `custom: true` on a `title` or
|
|
296
|
+
* `script` tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because
|
|
297
|
+
* `custom: true` routes the write through the site's Advanced/Custom Tags
|
|
298
|
+
* list. To write structured data, omit `custom` (or set it to `false`).
|
|
299
|
+
*
|
|
300
|
+
* No length limit: this field holds data written years ago by writers we
|
|
301
|
+
* are not migrating. A constraint here could reject a record that is
|
|
302
|
+
* already stored, which is exactly the promise this design makes.
|
|
272
303
|
*/
|
|
273
304
|
type?: string;
|
|
274
305
|
/**
|
|
275
|
-
*
|
|
276
|
-
*
|
|
306
|
+
* Legacy. Was an untyped bag of HTML attributes.
|
|
307
|
+
* Typed replacement: `SeoSchemaV2.TitleTag` / `MetaTag` / `LinkTag`.
|
|
277
308
|
*/
|
|
278
309
|
props?: Record<string, any> | null;
|
|
279
|
-
/**
|
|
310
|
+
/**
|
|
311
|
+
* Legacy. Was an untyped bag of 16 mixed-purpose keys. In `SeoSchemaV2`
|
|
312
|
+
* its contents are split by purpose: per-page structured-data state moves to
|
|
313
|
+
* StructuredDataTag, authorship to `written_by`, and render-time preset
|
|
314
|
+
* logic (variants, enabledByExperiment, removeSchemaIf*) moved out of the
|
|
315
|
+
* stored document entirely — it belongs to the preset definition, not to the
|
|
316
|
+
* page. See the design log for the full key-by-key mapping.
|
|
317
|
+
*/
|
|
280
318
|
meta?: Record<string, any> | null;
|
|
281
|
-
/**
|
|
319
|
+
/**
|
|
320
|
+
* Legacy. Was the tag's inner content, doubling as the JSON-LD payload
|
|
321
|
+
* for script tags. Typed replacement: `SeoSchemaV2.TitleTag.text` and
|
|
322
|
+
* `StructuredDataTag.json_ld`.
|
|
323
|
+
* No length limit, for the same reason as `type` above.
|
|
324
|
+
*/
|
|
282
325
|
children?: string;
|
|
283
326
|
/**
|
|
284
327
|
* Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —
|
|
285
328
|
* i.e. an entry from the site's Advanced/Custom Tags list.
|
|
286
329
|
*
|
|
287
|
-
* Setting this to `true` on a write restricts which `type` values are
|
|
288
|
-
* — the same restriction the Advanced/Custom Tags UI enforces.
|
|
289
|
-
* `script` tags (including JSON-LD structured data) must be sent
|
|
290
|
-
* omitted or `false`; sending them with `custom: true` is
|
|
291
|
-
* `TAG_TYPE_NOT_ALLOWED`.
|
|
330
|
+
* Setting this to `true` on a write restricts which `type` values are
|
|
331
|
+
* accepted — the same restriction the Advanced/Custom Tags UI enforces.
|
|
332
|
+
* `title` and `script` tags (including JSON-LD structured data) must be sent
|
|
333
|
+
* with `custom` omitted or `false`; sending them with `custom: true` is
|
|
334
|
+
* rejected with `TAG_TYPE_NOT_ALLOWED`.
|
|
292
335
|
*
|
|
293
|
-
* Note this is a separate restriction from Site SEO Tags' own type
|
|
294
|
-
* `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags
|
|
295
|
-
* for site-wide structured data) unconditionally.
|
|
296
|
-
* site-wide, every-page structured data
|
|
297
|
-
* `script` tag through the Item
|
|
336
|
+
* Note this is a separate restriction from Site SEO Tags' own type
|
|
337
|
+
* restriction on `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags
|
|
338
|
+
* rejects `script` (e.g. for site-wide structured data) unconditionally.
|
|
339
|
+
* There is currently no way to set site-wide, every-page structured data
|
|
340
|
+
* through any of these APIs — write a per-page `script` tag through the Item
|
|
341
|
+
* SEO Tags API instead.
|
|
298
342
|
*
|
|
299
343
|
* This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag
|
|
300
344
|
* (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed
|
|
@@ -307,22 +351,39 @@ interface Tag {
|
|
|
307
351
|
* or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the
|
|
308
352
|
* response entirely — there, `false` means this API could not tell, not that no custom tag exists.
|
|
309
353
|
* Pass `seoData` explicitly to resolve against a known set of tags.
|
|
354
|
+
*
|
|
355
|
+
* `SeoSchemaV2.Tag` expresses this as `written_by = USER_CUSTOM`.
|
|
310
356
|
*/
|
|
311
357
|
custom?: boolean;
|
|
312
|
-
/**
|
|
358
|
+
/**
|
|
359
|
+
* Whether the tag is excluded from the rendered <head>.
|
|
360
|
+
*
|
|
361
|
+
* A disabled tag is still stored, so the user can re-enable it and so a
|
|
362
|
+
* pattern-provided tag stays suppressed on this page. Default false.
|
|
363
|
+
*/
|
|
313
364
|
disabled?: boolean;
|
|
314
365
|
}
|
|
366
|
+
/** Page-level SEO settings that are not tags. */
|
|
315
367
|
interface Settings {
|
|
316
368
|
/**
|
|
317
|
-
* Whether the
|
|
369
|
+
* Whether to suppress the automatic redirect from this page's previous URL to
|
|
370
|
+
* its current one after a slug change.
|
|
318
371
|
*
|
|
319
|
-
*
|
|
320
|
-
*
|
|
372
|
+
* Default false, meaning the redirect IS created. The field is named for the
|
|
373
|
+
* exception rather than the rule, which reads backwards; kept as-is because
|
|
374
|
+
* renaming a stored boolean is not worth the migration.
|
|
321
375
|
*/
|
|
322
376
|
preventAutoRedirect?: boolean;
|
|
323
377
|
/**
|
|
324
|
-
*
|
|
325
|
-
*
|
|
378
|
+
* Keyword terms the user is targeting for this page. Used by the SEO
|
|
379
|
+
* assistant and checklist; never rendered into <head>.
|
|
380
|
+
*
|
|
381
|
+
* 20 is a sanity bound, not the product limit. v1 declared 5 — the number
|
|
382
|
+
* the panel happens to allow today — which is exactly the mistake we are
|
|
383
|
+
* fixing for structured data. A product decision to allow 8 should not need
|
|
384
|
+
* a proto release, so the panel owns that number and the proto only stops
|
|
385
|
+
* something absurd.
|
|
386
|
+
* @maxSize 20
|
|
326
387
|
*/
|
|
327
388
|
keywords?: Keyword[];
|
|
328
389
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { P as Program, D as DuplicateProgramResponse, U as UpdateProgram, a as UpdateProgramApplicationErrors, b as ProgramSearch, S as SearchProgramsResponse, c as PublishProgramResponse, d as PublishProgramApplicationErrors, E as EndProgramResponse, A as ArchiveProgramResponse, e as EnableProgramFreemiumResponse, f as EnableProgramFreemiumApplicationErrors, g as DisableProgramFreemiumResponse, M as MaskedProgram, B as BulkUpdateProgramsOptions, h as BulkUpdateProgramsResponse, C as CountProgramsOptions, i as CountProgramsResponse, L as ListSampleProgramsResponse, j as ProgramCreatedEnvelope, k as ProgramDeletedEnvelope, l as ProgramArchivedEnvelope, m as ProgramDuplicatedEnvelope, n as ProgramEndedEnvelope, o as ProgramPublishedEnvelope, p as ProgramUpdatedEnvelope, q as ProgramsQueryBuilder, r as ProgramQuery, t as typedQueryPrograms } from './online-programs-v3-program-programs.universal-
|
|
3
|
-
export { u as AccessType, d7 as AccessTypeWithLiterals, c_ as AccountInfo, d1 as AccountInfoMetadata, c6 as ActionEvent, cO as Address, cP as AddressHint, bh as Aggregation, bx as AggregationData, bi as AggregationKindOneOf, bQ as AggregationResults, bR as AggregationResultsResultOneOf, bE as AggregationResultsScalarResult, H as AggregationType, di as AggregationTypeWithLiterals, as as App, aR as ApplicationError, bU as ArchiveProgramRequest, cd as Asset, c$ as BaseEventMetadata, aS as BulkActionMetadata, w as BulkActionType, da as BulkActionTypeWithLiterals, aM as BulkCreateProgramsMigrationRequest, aO as BulkCreateProgramsMigrationResponse, aP as BulkProgramResult, bY as BulkUpdateProgramResult, bX as BulkUpdateProgramsRequest, cR as BusinessSchedule, cM as Categories, ab as Certificate, du as CommonQueryWithEntityContext, dv as CommonSearchWithEntityContext, cW as ConsentPolicy, ae as ContentSummary, bZ as CountProgramsRequest, aK as CreateProgramRequest, aL as CreateProgramResponse, ba as CursorPaging, bw as CursorPagingMetadata, bf as CursorSearch, bg as CursorSearchPagingMethodOneOf, bd as Cursors, aw as CustomTag, bp as DateHistogramAggregation, bM as DateHistogramResult, bO as DateHistogramResults, X as DayOfWeek, dr as DayOfWeekWithLiterals, aC as Delete, aT as DeleteAllProgramsMigrationRequest, aU as DeleteAllProgramsMigrationResponse, an as DeleteByFilterOperation, am as DeleteByIdsOperation, ch as DeleteContext, b3 as DeleteProgramRequest, b4 as DeleteProgramResponse, R as DeleteStatus, dn as DeleteStatusWithLiterals, _ as Description, $ as DescriptionMediaOneOf, bW as DisableProgramFreemiumRequest, al as DocumentImage, ak as DocumentPayload, ai as DocumentUpdateOperation, c0 as DomainEvent, c1 as DomainEventBodyOneOf, aV as DuplicateProgramRequest, b1 as DuplicatedSlugErrorDetails, cG as EditorlessAssigned, cH as EditorlessUnassigned, c7 as Empty, bV as EnableProgramFreemiumRequest, bT as EndProgramRequest, c2 as EntityCreatedEvent, c5 as EntityDeletedEvent, c4 as EntityUpdatedEvent, v as Enum, d9 as EnumWithLiterals, d0 as EventMetadata, ac as ExtendedFields, av as File, a0 as FocalPoint, af as FreemiumSettings, cQ as GeoCoordinates, aW as GetProgramRequest, aX as GetProgramResponse, bt as GroupByAggregation, bu as GroupByAggregationKindOneOf, bN as GroupByValueResults, cY as IdentificationData, cZ as IdentificationDataIdOneOf, bk as IncludeMissingValuesOptions, aj as IndexDocument, I as Interval, dh as IntervalWithLiterals, aq as InvalidateCache, ar as InvalidateCacheGetByOneOf, aQ as ItemMetadata, a7 as Keyword, b$ as LabeledProgram, b_ as ListSampleProgramsRequest, cN as Locale, cX as MessageEnvelope, cb as MetaSiteSpecialEvent, cc as MetaSiteSpecialEventPayloadOneOf, ca as MissingMetasiteIdErrorDetails, F as MissingValues, de as MissingValuesWithLiterals, J as Mode, dj as ModeWithLiterals, a4 as Money, cU as Multilingual, Q as Namespace, cr as NamespaceChanged, dm as NamespaceWithLiterals, bs as NestedAggregation, bq as NestedAggregationItem, br as NestedAggregationItemKindOneOf, bA as NestedAggregationResults, bB as NestedAggregationResultsResultOneOf, N as NestedAggregationType, dg as NestedAggregationTypeWithLiterals, bJ as NestedResultValue, bK as NestedResultValueResultOneOf, bP as NestedResults, bF as NestedValueAggregationResult, cw as OdeditorAssigned, cx as OdeditorUnassigned, at as Page, ax as Pages, b9 as Paging, bc as PagingMetadataV2, cy as PicassoAssigned, cz as PicassoUnassigned, W as PlacementType, dq as PlacementTypeWithLiterals, aG as ProgramArchived, aH as ProgramDuplicated, aF as ProgramEnded, aJ as ProgramFreemiumDisabled, aI as ProgramFreemiumEnabled, aN as ProgramMigration, aE as ProgramPublished, d3 as ProgramQuerySpec, d4 as ProgramSearchSpec, d2 as ProgramsQueryResult, cL as Properties, bS as PublishProgramRequest, b5 as QueryProgramsRequest, bb as QueryProgramsResponse, b6 as QueryV2, b7 as QueryV2PagingMethodOneOf, bn as RangeAggregation, bz as RangeAggregationResult, bj as RangeBucket, bH as RangeResult, bD as RangeResults, az as ReindexMessage, aA as ReindexMessageActionOneOf, Y as ResolutionMethod, ds as ResolutionMethodWithLiterals, c8 as ResolveProgramSlugRequest, c9 as ResolveProgramSlugResponse, c3 as RestoreInfo, a3 as Restrictions, bL as Results, aa as Reward, bo as ScalarAggregation, bI as ScalarResult, G as ScalarType, df as ScalarTypeWithLiterals, aD as Schema, bv as SearchDetails, cI as SearchIndexingNotification, V as SearchIndexingNotificationState, dp as SearchIndexingNotificationStateWithLiterals, be as SearchProgramsRequest, a5 as Seo, a6 as SeoSchema, cn as ServiceProvisioned, co as ServiceRemoved, a9 as Settings, ce as SiteCreated, O as SiteCreatedContext, dl as SiteCreatedContextWithLiterals, cg as SiteDeleted, cq as SiteHardDeleted, cl as SiteMarkedAsTemplate, cm as SiteMarkedAsWixSite, cK as SitePropertiesEvent, cJ as SitePropertiesUpdated, cj as SitePublished, cv as SitePurgedExternally, cp as SiteRenamed, cf as SiteTransferred, ci as SiteUndeleted, ck as SiteUnpublished, cu as SiteUrlChanged, z as SortDirection, dd as SortDirectionWithLiterals, x as SortOrder, db as SortOrderWithLiterals, y as SortType, dc as SortTypeWithLiterals, b8 as Sorting, cT as SpecialHourPeriod, K as State, dk as StateWithLiterals, s as Status, d6 as StatusWithLiterals, cs as StudioAssigned, cC as StudioTwoAssigned, cD as StudioTwoUnassigned, ct as StudioUnassigned, cV as SupportedLanguage, a8 as Tag, cS as TimePeriod, a2 as Timeline, b2 as TimelineSwitchForbiddenErrorDetails, T as Trigger, d8 as TriggerWithLiterals, au as URI, ay as URIs, ao as UpdateByFilterOperation, ag as UpdateDocumentsEvent, ah as UpdateDocumentsEventOperationOneOf, ap as UpdateExistingOperation, aY as UpdateProgramRequest, aZ as UpdateProgramResponse, aB as Upsert, cF as UserDomainMediaDisabled, cE as UserDomainMediaEnabled, bl as ValueAggregation, bm as ValueAggregationOptionsOneOf, by as ValueAggregationResult, bG as ValueResult, bC as ValueResults, a1 as VideoResolution, ad as VideoStepsSettings, Z as WebhookIdentityType, dt as WebhookIdentityTypeWithLiterals, cA as WixelAssigned, cB as WixelUnassigned, b0 as WrongParticipantsNumberErrorDetails, a$ as WrongStartDateErrorDetails, a_ as WrongStateErrorDetails, d5 as utils } from './online-programs-v3-program-programs.universal-
|
|
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, e as EnableProgramFreemiumResponse, f as EnableProgramFreemiumApplicationErrors, g as DisableProgramFreemiumResponse, M as MaskedProgram, B as BulkUpdateProgramsOptions, h as BulkUpdateProgramsResponse, C as CountProgramsOptions, i as CountProgramsResponse, L as ListSampleProgramsResponse, j as ProgramCreatedEnvelope, k as ProgramDeletedEnvelope, l as ProgramArchivedEnvelope, m as ProgramDuplicatedEnvelope, n as ProgramEndedEnvelope, o as ProgramPublishedEnvelope, p as ProgramUpdatedEnvelope, q as ProgramsQueryBuilder, r as ProgramQuery, t as typedQueryPrograms } from './online-programs-v3-program-programs.universal-DJ1omkE9.js';
|
|
3
|
+
export { u as AccessType, d7 as AccessTypeWithLiterals, c_ as AccountInfo, d1 as AccountInfoMetadata, c6 as ActionEvent, cO as Address, cP as AddressHint, bh as Aggregation, bx as AggregationData, bi as AggregationKindOneOf, bQ as AggregationResults, bR as AggregationResultsResultOneOf, bE as AggregationResultsScalarResult, H as AggregationType, di as AggregationTypeWithLiterals, as as App, aR as ApplicationError, bU as ArchiveProgramRequest, cd as Asset, c$ as BaseEventMetadata, aS as BulkActionMetadata, w as BulkActionType, da as BulkActionTypeWithLiterals, aM as BulkCreateProgramsMigrationRequest, aO as BulkCreateProgramsMigrationResponse, aP as BulkProgramResult, bY as BulkUpdateProgramResult, bX as BulkUpdateProgramsRequest, cR as BusinessSchedule, cM as Categories, ab as Certificate, du as CommonQueryWithEntityContext, dv as CommonSearchWithEntityContext, cW as ConsentPolicy, ae as ContentSummary, bZ as CountProgramsRequest, aK as CreateProgramRequest, aL as CreateProgramResponse, ba as CursorPaging, bw as CursorPagingMetadata, bf as CursorSearch, bg as CursorSearchPagingMethodOneOf, bd as Cursors, aw as CustomTag, bp as DateHistogramAggregation, bM as DateHistogramResult, bO as DateHistogramResults, X as DayOfWeek, dr as DayOfWeekWithLiterals, aC as Delete, aT as DeleteAllProgramsMigrationRequest, aU as DeleteAllProgramsMigrationResponse, an as DeleteByFilterOperation, am as DeleteByIdsOperation, ch as DeleteContext, b3 as DeleteProgramRequest, b4 as DeleteProgramResponse, R as DeleteStatus, dn as DeleteStatusWithLiterals, _ as Description, $ as DescriptionMediaOneOf, bW as DisableProgramFreemiumRequest, al as DocumentImage, ak as DocumentPayload, ai as DocumentUpdateOperation, c0 as DomainEvent, c1 as DomainEventBodyOneOf, aV as DuplicateProgramRequest, b1 as DuplicatedSlugErrorDetails, cG as EditorlessAssigned, cH as EditorlessUnassigned, c7 as Empty, bV as EnableProgramFreemiumRequest, bT as EndProgramRequest, c2 as EntityCreatedEvent, c5 as EntityDeletedEvent, c4 as EntityUpdatedEvent, v as Enum, d9 as EnumWithLiterals, d0 as EventMetadata, ac as ExtendedFields, av as File, a0 as FocalPoint, af as FreemiumSettings, cQ as GeoCoordinates, aW as GetProgramRequest, aX as GetProgramResponse, bt as GroupByAggregation, bu as GroupByAggregationKindOneOf, bN as GroupByValueResults, cY as IdentificationData, cZ as IdentificationDataIdOneOf, bk as IncludeMissingValuesOptions, aj as IndexDocument, I as Interval, dh as IntervalWithLiterals, aq as InvalidateCache, ar as InvalidateCacheGetByOneOf, aQ as ItemMetadata, a7 as Keyword, b$ as LabeledProgram, b_ as ListSampleProgramsRequest, cN as Locale, cX as MessageEnvelope, cb as MetaSiteSpecialEvent, cc as MetaSiteSpecialEventPayloadOneOf, ca as MissingMetasiteIdErrorDetails, F as MissingValues, de as MissingValuesWithLiterals, J as Mode, dj as ModeWithLiterals, a4 as Money, cU as Multilingual, Q as Namespace, cr as NamespaceChanged, dm as NamespaceWithLiterals, bs as NestedAggregation, bq as NestedAggregationItem, br as NestedAggregationItemKindOneOf, bA as NestedAggregationResults, bB as NestedAggregationResultsResultOneOf, N as NestedAggregationType, dg as NestedAggregationTypeWithLiterals, bJ as NestedResultValue, bK as NestedResultValueResultOneOf, bP as NestedResults, bF as NestedValueAggregationResult, cw as OdeditorAssigned, cx as OdeditorUnassigned, at as Page, ax as Pages, b9 as Paging, bc as PagingMetadataV2, cy as PicassoAssigned, cz as PicassoUnassigned, W as PlacementType, dq as PlacementTypeWithLiterals, aG as ProgramArchived, aH as ProgramDuplicated, aF as ProgramEnded, aJ as ProgramFreemiumDisabled, aI as ProgramFreemiumEnabled, aN as ProgramMigration, aE as ProgramPublished, d3 as ProgramQuerySpec, d4 as ProgramSearchSpec, d2 as ProgramsQueryResult, cL as Properties, bS as PublishProgramRequest, b5 as QueryProgramsRequest, bb as QueryProgramsResponse, b6 as QueryV2, b7 as QueryV2PagingMethodOneOf, bn as RangeAggregation, bz as RangeAggregationResult, bj as RangeBucket, bH as RangeResult, bD as RangeResults, az as ReindexMessage, aA as ReindexMessageActionOneOf, Y as ResolutionMethod, ds as ResolutionMethodWithLiterals, c8 as ResolveProgramSlugRequest, c9 as ResolveProgramSlugResponse, c3 as RestoreInfo, a3 as Restrictions, bL as Results, aa as Reward, bo as ScalarAggregation, bI as ScalarResult, G as ScalarType, df as ScalarTypeWithLiterals, aD as Schema, bv as SearchDetails, cI as SearchIndexingNotification, V as SearchIndexingNotificationState, dp as SearchIndexingNotificationStateWithLiterals, be as SearchProgramsRequest, a5 as Seo, a6 as SeoSchema, cn as ServiceProvisioned, co as ServiceRemoved, a9 as Settings, ce as SiteCreated, O as SiteCreatedContext, dl as SiteCreatedContextWithLiterals, cg as SiteDeleted, cq as SiteHardDeleted, cl as SiteMarkedAsTemplate, cm as SiteMarkedAsWixSite, cK as SitePropertiesEvent, cJ as SitePropertiesUpdated, cj as SitePublished, cv as SitePurgedExternally, cp as SiteRenamed, cf as SiteTransferred, ci as SiteUndeleted, ck as SiteUnpublished, cu as SiteUrlChanged, z as SortDirection, dd as SortDirectionWithLiterals, x as SortOrder, db as SortOrderWithLiterals, y as SortType, dc as SortTypeWithLiterals, b8 as Sorting, cT as SpecialHourPeriod, K as State, dk as StateWithLiterals, s as Status, d6 as StatusWithLiterals, cs as StudioAssigned, cC as StudioTwoAssigned, cD as StudioTwoUnassigned, ct as StudioUnassigned, cV as SupportedLanguage, a8 as Tag, cS as TimePeriod, a2 as Timeline, b2 as TimelineSwitchForbiddenErrorDetails, T as Trigger, d8 as TriggerWithLiterals, au as URI, ay as URIs, ao as UpdateByFilterOperation, ag as UpdateDocumentsEvent, ah as UpdateDocumentsEventOperationOneOf, ap as UpdateExistingOperation, aY as UpdateProgramRequest, aZ as UpdateProgramResponse, aB as Upsert, cF as UserDomainMediaDisabled, cE as UserDomainMediaEnabled, bl as ValueAggregation, bm as ValueAggregationOptionsOneOf, by as ValueAggregationResult, bG as ValueResult, bC as ValueResults, a1 as VideoResolution, ad as VideoStepsSettings, Z as WebhookIdentityType, dt as WebhookIdentityTypeWithLiterals, cA as WixelAssigned, cB as WixelUnassigned, b0 as WrongParticipantsNumberErrorDetails, a$ as WrongStartDateErrorDetails, a_ as WrongStateErrorDetails, d5 as utils } from './online-programs-v3-program-programs.universal-DJ1omkE9.js';
|
|
4
4
|
|
|
5
5
|
declare function createProgram$1(httpClient: HttpClient): CreateProgramSignature;
|
|
6
6
|
interface CreateProgramSignature {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { bf as CursorSearch, S as SearchProgramsResponse } from './online-programs-v3-program-programs.universal-
|
|
2
|
-
export { u as AccessType, d7 as AccessTypeWithLiterals, c_ as AccountInfo, d1 as AccountInfoMetadata, c6 as ActionEvent, cO as Address, cP as AddressHint, bh as Aggregation, bx as AggregationData, bi as AggregationKindOneOf, bQ as AggregationResults, bR as AggregationResultsResultOneOf, bE as AggregationResultsScalarResult, H as AggregationType, di as AggregationTypeWithLiterals, as as App, aR as ApplicationError, bU as ArchiveProgramRequest, A as ArchiveProgramResponse, cd as Asset, c$ as BaseEventMetadata, aS as BulkActionMetadata, w as BulkActionType, da as BulkActionTypeWithLiterals, aM as BulkCreateProgramsMigrationRequest, aO as BulkCreateProgramsMigrationResponse, aP as BulkProgramResult, bY as BulkUpdateProgramResult, B as BulkUpdateProgramsOptions, bX as BulkUpdateProgramsRequest, h as BulkUpdateProgramsResponse, cR as BusinessSchedule, cM as Categories, ab as Certificate, du as CommonQueryWithEntityContext, dv as CommonSearchWithEntityContext, cW as ConsentPolicy, ae as ContentSummary, C as CountProgramsOptions, bZ as CountProgramsRequest, i as CountProgramsResponse, aK as CreateProgramRequest, aL as CreateProgramResponse, ba as CursorPaging, bw as CursorPagingMetadata, bg as CursorSearchPagingMethodOneOf, bd as Cursors, aw as CustomTag, bp as DateHistogramAggregation, bM as DateHistogramResult, bO as DateHistogramResults, X as DayOfWeek, dr as DayOfWeekWithLiterals, aC as Delete, aT as DeleteAllProgramsMigrationRequest, aU as DeleteAllProgramsMigrationResponse, an as DeleteByFilterOperation, am as DeleteByIdsOperation, ch as DeleteContext, b3 as DeleteProgramRequest, b4 as DeleteProgramResponse, R as DeleteStatus, dn as DeleteStatusWithLiterals, _ as Description, $ as DescriptionMediaOneOf, bW as DisableProgramFreemiumRequest, g as DisableProgramFreemiumResponse, al as DocumentImage, ak as DocumentPayload, ai as DocumentUpdateOperation, c0 as DomainEvent, c1 as DomainEventBodyOneOf, aV as DuplicateProgramRequest, D as DuplicateProgramResponse, b1 as DuplicatedSlugErrorDetails, cG as EditorlessAssigned, cH as EditorlessUnassigned, c7 as Empty, f as EnableProgramFreemiumApplicationErrors, bV as EnableProgramFreemiumRequest, e as EnableProgramFreemiumResponse, bT as EndProgramRequest, E as EndProgramResponse, c2 as EntityCreatedEvent, c5 as EntityDeletedEvent, c4 as EntityUpdatedEvent, v as Enum, d9 as EnumWithLiterals, d0 as EventMetadata, ac as ExtendedFields, av as File, a0 as FocalPoint, af as FreemiumSettings, cQ as GeoCoordinates, aW as GetProgramRequest, aX as GetProgramResponse, bt as GroupByAggregation, bu as GroupByAggregationKindOneOf, bN as GroupByValueResults, cY as IdentificationData, cZ as IdentificationDataIdOneOf, bk as IncludeMissingValuesOptions, aj as IndexDocument, I as Interval, dh as IntervalWithLiterals, aq as InvalidateCache, ar as InvalidateCacheGetByOneOf, aQ as ItemMetadata, a7 as Keyword, b$ as LabeledProgram, b_ as ListSampleProgramsRequest, L as ListSampleProgramsResponse, cN as Locale, M as MaskedProgram, cX as MessageEnvelope, cb as MetaSiteSpecialEvent, cc as MetaSiteSpecialEventPayloadOneOf, ca as MissingMetasiteIdErrorDetails, F as MissingValues, de as MissingValuesWithLiterals, J as Mode, dj as ModeWithLiterals, a4 as Money, cU as Multilingual, Q as Namespace, cr as NamespaceChanged, dm as NamespaceWithLiterals, bs as NestedAggregation, bq as NestedAggregationItem, br as NestedAggregationItemKindOneOf, bA as NestedAggregationResults, bB as NestedAggregationResultsResultOneOf, N as NestedAggregationType, dg as NestedAggregationTypeWithLiterals, bJ as NestedResultValue, bK as NestedResultValueResultOneOf, bP as NestedResults, bF as NestedValueAggregationResult, cw as OdeditorAssigned, cx as OdeditorUnassigned, at as Page, ax as Pages, b9 as Paging, bc as PagingMetadataV2, cy as PicassoAssigned, cz as PicassoUnassigned, W as PlacementType, dq as PlacementTypeWithLiterals, P as Program, aG as ProgramArchived, l as ProgramArchivedEnvelope, j as ProgramCreatedEnvelope, k as ProgramDeletedEnvelope, aH as ProgramDuplicated, m as ProgramDuplicatedEnvelope, aF as ProgramEnded, n as ProgramEndedEnvelope, aJ as ProgramFreemiumDisabled, aI as ProgramFreemiumEnabled, aN as ProgramMigration, aE as ProgramPublished, o as ProgramPublishedEnvelope, r as ProgramQuery, d3 as ProgramQuerySpec, d4 as ProgramSearchSpec, p as ProgramUpdatedEnvelope, q as ProgramsQueryBuilder, d2 as ProgramsQueryResult, cL as Properties, d as PublishProgramApplicationErrors, bS as PublishProgramRequest, c as PublishProgramResponse, b5 as QueryProgramsRequest, bb as QueryProgramsResponse, b6 as QueryV2, b7 as QueryV2PagingMethodOneOf, bn as RangeAggregation, bz as RangeAggregationResult, bj as RangeBucket, bH as RangeResult, bD as RangeResults, az as ReindexMessage, aA as ReindexMessageActionOneOf, Y as ResolutionMethod, ds as ResolutionMethodWithLiterals, c8 as ResolveProgramSlugRequest, c9 as ResolveProgramSlugResponse, c3 as RestoreInfo, a3 as Restrictions, bL as Results, aa as Reward, bo as ScalarAggregation, bI as ScalarResult, G as ScalarType, df as ScalarTypeWithLiterals, aD as Schema, bv as SearchDetails, cI as SearchIndexingNotification, V as SearchIndexingNotificationState, dp as SearchIndexingNotificationStateWithLiterals, be as SearchProgramsRequest, a5 as Seo, a6 as SeoSchema, cn as ServiceProvisioned, co as ServiceRemoved, a9 as Settings, ce as SiteCreated, O as SiteCreatedContext, dl as SiteCreatedContextWithLiterals, cg as SiteDeleted, cq as SiteHardDeleted, cl as SiteMarkedAsTemplate, cm as SiteMarkedAsWixSite, cK as SitePropertiesEvent, cJ as SitePropertiesUpdated, cj as SitePublished, cv as SitePurgedExternally, cp as SiteRenamed, cf as SiteTransferred, ci as SiteUndeleted, ck as SiteUnpublished, cu as SiteUrlChanged, z as SortDirection, dd as SortDirectionWithLiterals, x as SortOrder, db as SortOrderWithLiterals, y as SortType, dc as SortTypeWithLiterals, b8 as Sorting, cT as SpecialHourPeriod, K as State, dk as StateWithLiterals, s as Status, d6 as StatusWithLiterals, cs as StudioAssigned, cC as StudioTwoAssigned, cD as StudioTwoUnassigned, ct as StudioUnassigned, cV as SupportedLanguage, a8 as Tag, cS as TimePeriod, a2 as Timeline, b2 as TimelineSwitchForbiddenErrorDetails, T as Trigger, d8 as TriggerWithLiterals, au as URI, ay as URIs, ao as UpdateByFilterOperation, ag as UpdateDocumentsEvent, ah as UpdateDocumentsEventOperationOneOf, ap as UpdateExistingOperation, U as UpdateProgram, a as UpdateProgramApplicationErrors, aY as UpdateProgramRequest, aZ as UpdateProgramResponse, aB as Upsert, cF as UserDomainMediaDisabled, cE as UserDomainMediaEnabled, bl as ValueAggregation, bm as ValueAggregationOptionsOneOf, by as ValueAggregationResult, bG as ValueResult, bC as ValueResults, a1 as VideoResolution, ad as VideoStepsSettings, Z as WebhookIdentityType, dt as WebhookIdentityTypeWithLiterals, cA as WixelAssigned, cB as WixelUnassigned, b0 as WrongParticipantsNumberErrorDetails, a$ as WrongStartDateErrorDetails, a_ as WrongStateErrorDetails, dL as archiveProgram, dO as bulkUpdatePrograms, dP as countPrograms, dD as createProgram, dH as deleteProgram, dN as disableProgramFreemium, dE as duplicateProgram, dM as enableProgramFreemium, dK as endProgram, dF as getProgram, dQ as listSamplePrograms, dy as onProgramArchived, dw as onProgramCreated, dx as onProgramDeleted, dz as onProgramDuplicated, dA as onProgramEnded, dB as onProgramPublished, dC as onProgramUpdated, dJ as publishProgram, dI as queryPrograms, t as typedQueryPrograms, dG as updateProgram, d5 as utils } from './online-programs-v3-program-programs.universal-
|
|
1
|
+
import { bf as CursorSearch, S as SearchProgramsResponse } from './online-programs-v3-program-programs.universal-DJ1omkE9.js';
|
|
2
|
+
export { u as AccessType, d7 as AccessTypeWithLiterals, c_ as AccountInfo, d1 as AccountInfoMetadata, c6 as ActionEvent, cO as Address, cP as AddressHint, bh as Aggregation, bx as AggregationData, bi as AggregationKindOneOf, bQ as AggregationResults, bR as AggregationResultsResultOneOf, bE as AggregationResultsScalarResult, H as AggregationType, di as AggregationTypeWithLiterals, as as App, aR as ApplicationError, bU as ArchiveProgramRequest, A as ArchiveProgramResponse, cd as Asset, c$ as BaseEventMetadata, aS as BulkActionMetadata, w as BulkActionType, da as BulkActionTypeWithLiterals, aM as BulkCreateProgramsMigrationRequest, aO as BulkCreateProgramsMigrationResponse, aP as BulkProgramResult, bY as BulkUpdateProgramResult, B as BulkUpdateProgramsOptions, bX as BulkUpdateProgramsRequest, h as BulkUpdateProgramsResponse, cR as BusinessSchedule, cM as Categories, ab as Certificate, du as CommonQueryWithEntityContext, dv as CommonSearchWithEntityContext, cW as ConsentPolicy, ae as ContentSummary, C as CountProgramsOptions, bZ as CountProgramsRequest, i as CountProgramsResponse, aK as CreateProgramRequest, aL as CreateProgramResponse, ba as CursorPaging, bw as CursorPagingMetadata, bg as CursorSearchPagingMethodOneOf, bd as Cursors, aw as CustomTag, bp as DateHistogramAggregation, bM as DateHistogramResult, bO as DateHistogramResults, X as DayOfWeek, dr as DayOfWeekWithLiterals, aC as Delete, aT as DeleteAllProgramsMigrationRequest, aU as DeleteAllProgramsMigrationResponse, an as DeleteByFilterOperation, am as DeleteByIdsOperation, ch as DeleteContext, b3 as DeleteProgramRequest, b4 as DeleteProgramResponse, R as DeleteStatus, dn as DeleteStatusWithLiterals, _ as Description, $ as DescriptionMediaOneOf, bW as DisableProgramFreemiumRequest, g as DisableProgramFreemiumResponse, al as DocumentImage, ak as DocumentPayload, ai as DocumentUpdateOperation, c0 as DomainEvent, c1 as DomainEventBodyOneOf, aV as DuplicateProgramRequest, D as DuplicateProgramResponse, b1 as DuplicatedSlugErrorDetails, cG as EditorlessAssigned, cH as EditorlessUnassigned, c7 as Empty, f as EnableProgramFreemiumApplicationErrors, bV as EnableProgramFreemiumRequest, e as EnableProgramFreemiumResponse, bT as EndProgramRequest, E as EndProgramResponse, c2 as EntityCreatedEvent, c5 as EntityDeletedEvent, c4 as EntityUpdatedEvent, v as Enum, d9 as EnumWithLiterals, d0 as EventMetadata, ac as ExtendedFields, av as File, a0 as FocalPoint, af as FreemiumSettings, cQ as GeoCoordinates, aW as GetProgramRequest, aX as GetProgramResponse, bt as GroupByAggregation, bu as GroupByAggregationKindOneOf, bN as GroupByValueResults, cY as IdentificationData, cZ as IdentificationDataIdOneOf, bk as IncludeMissingValuesOptions, aj as IndexDocument, I as Interval, dh as IntervalWithLiterals, aq as InvalidateCache, ar as InvalidateCacheGetByOneOf, aQ as ItemMetadata, a7 as Keyword, b$ as LabeledProgram, b_ as ListSampleProgramsRequest, L as ListSampleProgramsResponse, cN as Locale, M as MaskedProgram, cX as MessageEnvelope, cb as MetaSiteSpecialEvent, cc as MetaSiteSpecialEventPayloadOneOf, ca as MissingMetasiteIdErrorDetails, F as MissingValues, de as MissingValuesWithLiterals, J as Mode, dj as ModeWithLiterals, a4 as Money, cU as Multilingual, Q as Namespace, cr as NamespaceChanged, dm as NamespaceWithLiterals, bs as NestedAggregation, bq as NestedAggregationItem, br as NestedAggregationItemKindOneOf, bA as NestedAggregationResults, bB as NestedAggregationResultsResultOneOf, N as NestedAggregationType, dg as NestedAggregationTypeWithLiterals, bJ as NestedResultValue, bK as NestedResultValueResultOneOf, bP as NestedResults, bF as NestedValueAggregationResult, cw as OdeditorAssigned, cx as OdeditorUnassigned, at as Page, ax as Pages, b9 as Paging, bc as PagingMetadataV2, cy as PicassoAssigned, cz as PicassoUnassigned, W as PlacementType, dq as PlacementTypeWithLiterals, P as Program, aG as ProgramArchived, l as ProgramArchivedEnvelope, j as ProgramCreatedEnvelope, k as ProgramDeletedEnvelope, aH as ProgramDuplicated, m as ProgramDuplicatedEnvelope, aF as ProgramEnded, n as ProgramEndedEnvelope, aJ as ProgramFreemiumDisabled, aI as ProgramFreemiumEnabled, aN as ProgramMigration, aE as ProgramPublished, o as ProgramPublishedEnvelope, r as ProgramQuery, d3 as ProgramQuerySpec, d4 as ProgramSearchSpec, p as ProgramUpdatedEnvelope, q as ProgramsQueryBuilder, d2 as ProgramsQueryResult, cL as Properties, d as PublishProgramApplicationErrors, bS as PublishProgramRequest, c as PublishProgramResponse, b5 as QueryProgramsRequest, bb as QueryProgramsResponse, b6 as QueryV2, b7 as QueryV2PagingMethodOneOf, bn as RangeAggregation, bz as RangeAggregationResult, bj as RangeBucket, bH as RangeResult, bD as RangeResults, az as ReindexMessage, aA as ReindexMessageActionOneOf, Y as ResolutionMethod, ds as ResolutionMethodWithLiterals, c8 as ResolveProgramSlugRequest, c9 as ResolveProgramSlugResponse, c3 as RestoreInfo, a3 as Restrictions, bL as Results, aa as Reward, bo as ScalarAggregation, bI as ScalarResult, G as ScalarType, df as ScalarTypeWithLiterals, aD as Schema, bv as SearchDetails, cI as SearchIndexingNotification, V as SearchIndexingNotificationState, dp as SearchIndexingNotificationStateWithLiterals, be as SearchProgramsRequest, a5 as Seo, a6 as SeoSchema, cn as ServiceProvisioned, co as ServiceRemoved, a9 as Settings, ce as SiteCreated, O as SiteCreatedContext, dl as SiteCreatedContextWithLiterals, cg as SiteDeleted, cq as SiteHardDeleted, cl as SiteMarkedAsTemplate, cm as SiteMarkedAsWixSite, cK as SitePropertiesEvent, cJ as SitePropertiesUpdated, cj as SitePublished, cv as SitePurgedExternally, cp as SiteRenamed, cf as SiteTransferred, ci as SiteUndeleted, ck as SiteUnpublished, cu as SiteUrlChanged, z as SortDirection, dd as SortDirectionWithLiterals, x as SortOrder, db as SortOrderWithLiterals, y as SortType, dc as SortTypeWithLiterals, b8 as Sorting, cT as SpecialHourPeriod, K as State, dk as StateWithLiterals, s as Status, d6 as StatusWithLiterals, cs as StudioAssigned, cC as StudioTwoAssigned, cD as StudioTwoUnassigned, ct as StudioUnassigned, cV as SupportedLanguage, a8 as Tag, cS as TimePeriod, a2 as Timeline, b2 as TimelineSwitchForbiddenErrorDetails, T as Trigger, d8 as TriggerWithLiterals, au as URI, ay as URIs, ao as UpdateByFilterOperation, ag as UpdateDocumentsEvent, ah as UpdateDocumentsEventOperationOneOf, ap as UpdateExistingOperation, U as UpdateProgram, a as UpdateProgramApplicationErrors, aY as UpdateProgramRequest, aZ as UpdateProgramResponse, aB as Upsert, cF as UserDomainMediaDisabled, cE as UserDomainMediaEnabled, bl as ValueAggregation, bm as ValueAggregationOptionsOneOf, by as ValueAggregationResult, bG as ValueResult, bC as ValueResults, a1 as VideoResolution, ad as VideoStepsSettings, Z as WebhookIdentityType, dt as WebhookIdentityTypeWithLiterals, cA as WixelAssigned, cB as WixelUnassigned, b0 as WrongParticipantsNumberErrorDetails, a$ as WrongStartDateErrorDetails, a_ as WrongStateErrorDetails, dL as archiveProgram, dO as bulkUpdatePrograms, dP as countPrograms, dD as createProgram, dH as deleteProgram, dN as disableProgramFreemium, dE as duplicateProgram, dM as enableProgramFreemium, dK as endProgram, dF as getProgram, dQ as listSamplePrograms, dy as onProgramArchived, dw as onProgramCreated, dx as onProgramDeleted, dz as onProgramDuplicated, dA as onProgramEnded, dB as onProgramPublished, dC as onProgramUpdated, dJ as publishProgram, dI as queryPrograms, t as typedQueryPrograms, dG as updateProgram, d5 as utils } from './online-programs-v3-program-programs.universal-DJ1omkE9.js';
|
|
3
3
|
import '@wix/sdk-types';
|
|
4
4
|
|
|
5
5
|
/** @hidden */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aK as CreateProgramRequest$1, aL as CreateProgramResponse$1, aV as DuplicateProgramRequest$1, D as DuplicateProgramResponse$1, aW as GetProgramRequest$1, aX as GetProgramResponse$1, aY as UpdateProgramRequest$1, aZ as UpdateProgramResponse$1, b3 as DeleteProgramRequest$1, b4 as DeleteProgramResponse$1, b5 as QueryProgramsRequest$1, bb as QueryProgramsResponse$1, be as SearchProgramsRequest$1, S as SearchProgramsResponse$1, bS as PublishProgramRequest$1, c as PublishProgramResponse$1, bT as EndProgramRequest$1, E as EndProgramResponse$1, bU as ArchiveProgramRequest$1, A as ArchiveProgramResponse$1, bV as EnableProgramFreemiumRequest$1, e as EnableProgramFreemiumResponse$1, bW as DisableProgramFreemiumRequest$1, g as DisableProgramFreemiumResponse$1, bX as BulkUpdateProgramsRequest$1, h as BulkUpdateProgramsResponse$1, bZ as CountProgramsRequest$1, i as CountProgramsResponse$1, b_ as ListSampleProgramsRequest$1, L as ListSampleProgramsResponse$1 } from './online-programs-v3-program-programs.universal-
|
|
1
|
+
import { aK as CreateProgramRequest$1, aL as CreateProgramResponse$1, aV as DuplicateProgramRequest$1, D as DuplicateProgramResponse$1, aW as GetProgramRequest$1, aX as GetProgramResponse$1, aY as UpdateProgramRequest$1, aZ as UpdateProgramResponse$1, b3 as DeleteProgramRequest$1, b4 as DeleteProgramResponse$1, b5 as QueryProgramsRequest$1, bb as QueryProgramsResponse$1, be as SearchProgramsRequest$1, S as SearchProgramsResponse$1, bS as PublishProgramRequest$1, c as PublishProgramResponse$1, bT as EndProgramRequest$1, E as EndProgramResponse$1, bU as ArchiveProgramRequest$1, A as ArchiveProgramResponse$1, bV as EnableProgramFreemiumRequest$1, e as EnableProgramFreemiumResponse$1, bW as DisableProgramFreemiumRequest$1, g as DisableProgramFreemiumResponse$1, bX as BulkUpdateProgramsRequest$1, h as BulkUpdateProgramsResponse$1, bZ as CountProgramsRequest$1, i as CountProgramsResponse$1, b_ as ListSampleProgramsRequest$1, L as ListSampleProgramsResponse$1 } from './online-programs-v3-program-programs.universal-DJ1omkE9.js';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -405,73 +405,117 @@ interface Seo {
|
|
|
405
405
|
courseWorkload?: string;
|
|
406
406
|
}
|
|
407
407
|
/**
|
|
408
|
-
* The SEO
|
|
409
|
-
*
|
|
410
|
-
*
|
|
408
|
+
* The SEO data for a single page or dynamic item, in the shape stored today.
|
|
409
|
+
*
|
|
410
|
+
* FROZEN. Existing server code maps onto this message field by field, so its
|
|
411
|
+
* field set must never change (see the file header). New writers use
|
|
412
|
+
* `SeoSchemaV2`.
|
|
413
|
+
*
|
|
414
|
+
* These tags are rendered into the <head> of the HTML document and are not
|
|
415
|
+
* visible on the page itself. They override every other source of tags
|
|
416
|
+
* (site defaults, vertical presets, patterns) for this page.
|
|
411
417
|
*/
|
|
412
418
|
interface SeoSchema {
|
|
413
|
-
/**
|
|
419
|
+
/**
|
|
420
|
+
* The tags rendered into <head>, in no particular order. Render order is
|
|
421
|
+
* decided by the renderer, not by position in this list.
|
|
422
|
+
*
|
|
423
|
+
* No maxSize: this list is already populated by data written years ago, and
|
|
424
|
+
* a bound added now could reject a page that is already stored.
|
|
425
|
+
*/
|
|
414
426
|
tags?: Tag[];
|
|
415
|
-
/** SEO
|
|
427
|
+
/** Page-level SEO settings that are not themselves tags. */
|
|
416
428
|
settings?: Settings;
|
|
417
429
|
}
|
|
430
|
+
/** A keyword term the user is targeting. */
|
|
418
431
|
interface Keyword {
|
|
419
|
-
/**
|
|
432
|
+
/**
|
|
433
|
+
* The term itself, e.g. "trail running shoes".
|
|
434
|
+
*
|
|
435
|
+
* No maxLength, for the same reason as the legacy tag fields: keywords are
|
|
436
|
+
* already stored, and a bound added now could reject a record written
|
|
437
|
+
* before the bound existed. The flynt `missing-string-validations` warning
|
|
438
|
+
* on this field is accepted deliberately.
|
|
439
|
+
*/
|
|
420
440
|
term?: string;
|
|
421
|
-
/** Whether
|
|
441
|
+
/** Whether this is the page's primary focus keyword. At most one per page. */
|
|
422
442
|
isMain?: boolean;
|
|
423
443
|
/**
|
|
424
|
-
*
|
|
444
|
+
* Which surface added the term, e.g. a panel or a suggestion flow. Used for
|
|
445
|
+
* attribution in BI. Opaque to the renderer.
|
|
425
446
|
* @maxLength 1000
|
|
426
447
|
*/
|
|
427
448
|
origin?: string | null;
|
|
428
449
|
}
|
|
450
|
+
/**
|
|
451
|
+
* One tag in the page's <head>.
|
|
452
|
+
*
|
|
453
|
+
* Not deprecated, and with no removal date, deliberately: stored data is
|
|
454
|
+
* never migrated, so this shape stays valid input forever. `seo-renderer`
|
|
455
|
+
* normalizes both shapes on READ.
|
|
456
|
+
*/
|
|
429
457
|
interface Tag {
|
|
430
458
|
/**
|
|
431
|
-
*
|
|
432
|
-
*
|
|
433
|
-
*
|
|
434
|
-
* Supported values: `title`, `meta`, `script`, `link`.
|
|
459
|
+
* Legacy. Was a free-form string: "title" | "meta" | "script" | "link".
|
|
460
|
+
* The typed replacement is the `kind` oneof on `SeoSchemaV2.Tag`, which makes
|
|
461
|
+
* the invalid combinations unrepresentable rather than merely discouraged.
|
|
435
462
|
*
|
|
436
|
-
* Which of these an API actually accepts depends on where the tag is being
|
|
437
|
-
* list is not a blanket guarantee across every API that reuses
|
|
438
|
-
* Tags in particular accepts only `meta` (see
|
|
439
|
-
* `title`/`script`/`link` with a validation
|
|
440
|
-
*
|
|
441
|
-
*
|
|
463
|
+
* Which of these an API actually accepts depends on where the tag is being
|
|
464
|
+
* set: this list is not a blanket guarantee across every API that reuses
|
|
465
|
+
* this message. Site SEO Tags in particular accepts only `meta` (see
|
|
466
|
+
* `SiteSeoTags.tags`) and rejects `title`/`script`/`link` with a validation
|
|
467
|
+
* error even though they appear here — check the field description of the
|
|
468
|
+
* specific `tags`-typed field you are writing to.
|
|
442
469
|
*
|
|
443
470
|
* Limitation: `title` and `script` (e.g. a `script` tag with `props.type`
|
|
444
|
-
*
|
|
445
|
-
* `custom` is unset or `false`. Setting `custom: true` on a `title` or
|
|
446
|
-
* tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because
|
|
447
|
-
* write through the site's Advanced/Custom Tags
|
|
448
|
-
* omit `custom` (or set it to `false`).
|
|
471
|
+
* "application/ld+json" carrying structured data) are supported only when
|
|
472
|
+
* `custom` is unset or `false`. Setting `custom: true` on a `title` or
|
|
473
|
+
* `script` tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because
|
|
474
|
+
* `custom: true` routes the write through the site's Advanced/Custom Tags
|
|
475
|
+
* list. To write structured data, omit `custom` (or set it to `false`).
|
|
476
|
+
*
|
|
477
|
+
* No length limit: this field holds data written years ago by writers we
|
|
478
|
+
* are not migrating. A constraint here could reject a record that is
|
|
479
|
+
* already stored, which is exactly the promise this design makes.
|
|
449
480
|
*/
|
|
450
481
|
type?: string;
|
|
451
482
|
/**
|
|
452
|
-
*
|
|
453
|
-
*
|
|
483
|
+
* Legacy. Was an untyped bag of HTML attributes.
|
|
484
|
+
* Typed replacement: `SeoSchemaV2.TitleTag` / `MetaTag` / `LinkTag`.
|
|
454
485
|
*/
|
|
455
486
|
props?: Record<string, any> | null;
|
|
456
|
-
/**
|
|
487
|
+
/**
|
|
488
|
+
* Legacy. Was an untyped bag of 16 mixed-purpose keys. In `SeoSchemaV2`
|
|
489
|
+
* its contents are split by purpose: per-page structured-data state moves to
|
|
490
|
+
* StructuredDataTag, authorship to `written_by`, and render-time preset
|
|
491
|
+
* logic (variants, enabledByExperiment, removeSchemaIf*) moved out of the
|
|
492
|
+
* stored document entirely — it belongs to the preset definition, not to the
|
|
493
|
+
* page. See the design log for the full key-by-key mapping.
|
|
494
|
+
*/
|
|
457
495
|
meta?: Record<string, any> | null;
|
|
458
|
-
/**
|
|
496
|
+
/**
|
|
497
|
+
* Legacy. Was the tag's inner content, doubling as the JSON-LD payload
|
|
498
|
+
* for script tags. Typed replacement: `SeoSchemaV2.TitleTag.text` and
|
|
499
|
+
* `StructuredDataTag.json_ld`.
|
|
500
|
+
* No length limit, for the same reason as `type` above.
|
|
501
|
+
*/
|
|
459
502
|
children?: string;
|
|
460
503
|
/**
|
|
461
504
|
* Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —
|
|
462
505
|
* i.e. an entry from the site's Advanced/Custom Tags list.
|
|
463
506
|
*
|
|
464
|
-
* Setting this to `true` on a write restricts which `type` values are
|
|
465
|
-
* — the same restriction the Advanced/Custom Tags UI enforces.
|
|
466
|
-
* `script` tags (including JSON-LD structured data) must be sent
|
|
467
|
-
* omitted or `false`; sending them with `custom: true` is
|
|
468
|
-
* `TAG_TYPE_NOT_ALLOWED`.
|
|
507
|
+
* Setting this to `true` on a write restricts which `type` values are
|
|
508
|
+
* accepted — the same restriction the Advanced/Custom Tags UI enforces.
|
|
509
|
+
* `title` and `script` tags (including JSON-LD structured data) must be sent
|
|
510
|
+
* with `custom` omitted or `false`; sending them with `custom: true` is
|
|
511
|
+
* rejected with `TAG_TYPE_NOT_ALLOWED`.
|
|
469
512
|
*
|
|
470
|
-
* Note this is a separate restriction from Site SEO Tags' own type
|
|
471
|
-
* `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags
|
|
472
|
-
* for site-wide structured data) unconditionally.
|
|
473
|
-
* site-wide, every-page structured data
|
|
474
|
-
* `script` tag through the Item
|
|
513
|
+
* Note this is a separate restriction from Site SEO Tags' own type
|
|
514
|
+
* restriction on `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags
|
|
515
|
+
* rejects `script` (e.g. for site-wide structured data) unconditionally.
|
|
516
|
+
* There is currently no way to set site-wide, every-page structured data
|
|
517
|
+
* through any of these APIs — write a per-page `script` tag through the Item
|
|
518
|
+
* SEO Tags API instead.
|
|
475
519
|
*
|
|
476
520
|
* This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag
|
|
477
521
|
* (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed
|
|
@@ -484,22 +528,39 @@ interface Tag {
|
|
|
484
528
|
* or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the
|
|
485
529
|
* response entirely — there, `false` means this API could not tell, not that no custom tag exists.
|
|
486
530
|
* Pass `seoData` explicitly to resolve against a known set of tags.
|
|
531
|
+
*
|
|
532
|
+
* `SeoSchemaV2.Tag` expresses this as `written_by = USER_CUSTOM`.
|
|
487
533
|
*/
|
|
488
534
|
custom?: boolean;
|
|
489
|
-
/**
|
|
535
|
+
/**
|
|
536
|
+
* Whether the tag is excluded from the rendered <head>.
|
|
537
|
+
*
|
|
538
|
+
* A disabled tag is still stored, so the user can re-enable it and so a
|
|
539
|
+
* pattern-provided tag stays suppressed on this page. Default false.
|
|
540
|
+
*/
|
|
490
541
|
disabled?: boolean;
|
|
491
542
|
}
|
|
543
|
+
/** Page-level SEO settings that are not tags. */
|
|
492
544
|
interface Settings {
|
|
493
545
|
/**
|
|
494
|
-
* Whether the
|
|
546
|
+
* Whether to suppress the automatic redirect from this page's previous URL to
|
|
547
|
+
* its current one after a slug change.
|
|
495
548
|
*
|
|
496
|
-
*
|
|
497
|
-
*
|
|
549
|
+
* Default false, meaning the redirect IS created. The field is named for the
|
|
550
|
+
* exception rather than the rule, which reads backwards; kept as-is because
|
|
551
|
+
* renaming a stored boolean is not worth the migration.
|
|
498
552
|
*/
|
|
499
553
|
preventAutoRedirect?: boolean;
|
|
500
554
|
/**
|
|
501
|
-
*
|
|
502
|
-
*
|
|
555
|
+
* Keyword terms the user is targeting for this page. Used by the SEO
|
|
556
|
+
* assistant and checklist; never rendered into <head>.
|
|
557
|
+
*
|
|
558
|
+
* 20 is a sanity bound, not the product limit. v1 declared 5 — the number
|
|
559
|
+
* the panel happens to allow today — which is exactly the mistake we are
|
|
560
|
+
* fixing for structured data. A product decision to allow 8 should not need
|
|
561
|
+
* a proto release, so the panel owns that number and the proto only stops
|
|
562
|
+
* something absurd.
|
|
563
|
+
* @maxSize 20
|
|
503
564
|
*/
|
|
504
565
|
keywords?: Keyword[];
|
|
505
566
|
}
|