@wix/auto_sdk_online-programs_programs 1.0.41 → 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 +112 -45
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/{online-programs-v3-program-programs.universal-jF7XKDI_.d.ts → online-programs-v3-program-programs.universal-Lt33oe5u.d.ts} +111 -44
- 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 +112 -45
- package/build/es/meta.mjs.map +1 -1
- package/build/es/{online-programs-v3-program-programs.universal-jF7XKDI_.d.mts → online-programs-v3-program-programs.universal-Lt33oe5u.d.mts} +111 -44
- 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 +122 -45
- package/build/internal/cjs/{online-programs-v3-program-programs.universal-C1gLuVO0.d.ts → online-programs-v3-program-programs.universal-DJ1omkE9.d.ts} +121 -44
- 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 +122 -45
- package/build/internal/es/{online-programs-v3-program-programs.universal-C1gLuVO0.d.mts → online-programs-v3-program-programs.universal-DJ1omkE9.d.mts} +121 -44
- 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
|
-
*
|
|
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.
|
|
255
285
|
*
|
|
256
|
-
*
|
|
257
|
-
*
|
|
258
|
-
*
|
|
259
|
-
*
|
|
260
|
-
*
|
|
261
|
-
*
|
|
262
|
-
* `title`/`script`/`link` with a validation error even though they appear here —
|
|
263
|
-
* check the field description of the specific `tags`-typed field you're writing to
|
|
264
|
-
* for the types it actually supports and the error it returns.
|
|
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
|
|
318
|
-
*
|
|
369
|
+
* Whether to suppress the automatic redirect from this page's previous URL to
|
|
370
|
+
* its current one after a slug change.
|
|
319
371
|
*
|
|
320
|
-
* Default
|
|
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
|
}
|
|
@@ -716,6 +777,12 @@ interface ProgramDuplicated {
|
|
|
716
777
|
/** Whether the program was cloned from a template. */
|
|
717
778
|
fromTemplate?: boolean;
|
|
718
779
|
}
|
|
780
|
+
/** Triggered when a program's Freemium setting changes to enabled. */
|
|
781
|
+
interface ProgramFreemiumEnabled {
|
|
782
|
+
}
|
|
783
|
+
/** Triggered when a program's Freemium setting changes to disabled. */
|
|
784
|
+
interface ProgramFreemiumDisabled {
|
|
785
|
+
}
|
|
719
786
|
interface CreateProgramRequest {
|
|
720
787
|
/** Program to create. Server-generated fields such as `id`, `revision`, status, dates, owner, and content summary are ignored on create. */
|
|
721
788
|
program: Program;
|
|
@@ -3388,4 +3455,4 @@ interface CountProgramsOptions {
|
|
|
3388
3455
|
*/
|
|
3389
3456
|
declare function listSamplePrograms(): Promise<NonNullablePaths<ListSampleProgramsResponse, `programs` | `programs.${number}.program.status` | `programs.${number}.program.description.title` | `programs.${number}.program.timeline.selfPaced` | `programs.${number}.program.restrictions.hideFutureSteps` | `programs.${number}.program.restrictions.resolveStepsInOrder` | `programs.${number}.program.restrictions.shareProgress` | `programs.${number}.program.restrictions.accessType` | `programs.${number}.program.price.value` | `programs.${number}.program.price.currency` | `programs.${number}.program.seo.slug` | `programs.${number}.program.seo.imageAlt` | `programs.${number}.program.seo.courseWorkload` | `programs.${number}.program.shouldSendInvoice` | `programs.${number}.program.videoStepsSettings.autoNavigate` | `programs.${number}.program.videoStepsSettings.requiredCompletionPercentage` | `programs.${number}.program.contentSummary.stepCount` | `programs.${number}.program.contentSummary.sectionCount` | `programs.${number}.label`, 4>>;
|
|
3390
3457
|
|
|
3391
|
-
export { type Timeline as $, type ArchiveProgramResponse as A, type BulkUpdateProgramsOptions as B, type CountProgramsOptions as C, type DuplicateProgramResponse as D, type EndProgramResponse as E, Mode as F, State as G, SiteCreatedContext as H, Interval as I, Namespace as J, DeleteStatus as K, type ListSampleProgramsResponse as L, type MaskedProgram as M, NestedAggregationType as N, SearchIndexingNotificationState as O, type Program as P, PlacementType as Q, DayOfWeek as R, type SearchProgramsResponse as S, Trigger as T, type UpdateProgram as U, ResolutionMethod as V, WebhookIdentityType as W, type Description as X, type DescriptionMediaOneOf as Y, type FocalPoint as Z, type VideoResolution as _, type UpdateProgramApplicationErrors as a, type
|
|
3458
|
+
export { type Timeline as $, type ArchiveProgramResponse as A, type BulkUpdateProgramsOptions as B, type CountProgramsOptions as C, type DuplicateProgramResponse as D, type EndProgramResponse as E, Mode as F, State as G, SiteCreatedContext as H, Interval as I, Namespace as J, DeleteStatus as K, type ListSampleProgramsResponse as L, type MaskedProgram as M, NestedAggregationType as N, SearchIndexingNotificationState as O, type Program as P, PlacementType as Q, DayOfWeek as R, type SearchProgramsResponse as S, Trigger as T, type UpdateProgram as U, ResolutionMethod as V, WebhookIdentityType as W, type Description as X, type DescriptionMediaOneOf as Y, type FocalPoint as Z, type VideoResolution as _, type UpdateProgramApplicationErrors as a, type TimelineSwitchForbiddenErrorDetails as a$, type Restrictions as a0, type Money as a1, type Seo as a2, type SeoSchema as a3, type Keyword as a4, type Tag as a5, type Settings as a6, type Reward as a7, type Certificate as a8, type ExtendedFields as a9, type Schema as aA, type ProgramPublished as aB, type ProgramEnded as aC, type ProgramArchived as aD, type ProgramDuplicated as aE, type ProgramFreemiumEnabled as aF, type ProgramFreemiumDisabled as aG, type CreateProgramRequest as aH, type CreateProgramResponse as aI, type BulkCreateProgramsMigrationRequest as aJ, type ProgramMigration as aK, type BulkCreateProgramsMigrationResponse as aL, type BulkProgramResult as aM, type ItemMetadata as aN, type ApplicationError as aO, type BulkActionMetadata as aP, type DeleteAllProgramsMigrationRequest as aQ, type DeleteAllProgramsMigrationResponse as aR, type DuplicateProgramRequest as aS, type GetProgramRequest as aT, type GetProgramResponse as aU, type UpdateProgramRequest as aV, type UpdateProgramResponse as aW, type WrongStateErrorDetails as aX, type WrongStartDateErrorDetails as aY, type WrongParticipantsNumberErrorDetails as aZ, type DuplicatedSlugErrorDetails as a_, type VideoStepsSettings as aa, type ContentSummary as ab, type FreemiumSettings as ac, type UpdateDocumentsEvent as ad, type UpdateDocumentsEventOperationOneOf as ae, type DocumentUpdateOperation as af, type IndexDocument as ag, type DocumentPayload as ah, type DocumentImage as ai, type DeleteByIdsOperation as aj, type DeleteByFilterOperation as ak, type UpdateByFilterOperation as al, type UpdateExistingOperation as am, type InvalidateCache as an, type InvalidateCacheGetByOneOf as ao, type App as ap, type Page as aq, type URI as ar, type File as as, type CustomTag as at, type Pages as au, type URIs as av, type ReindexMessage as aw, type ReindexMessageActionOneOf as ax, type Upsert as ay, type Delete as az, type ProgramSearch as b, type DomainEvent as b$, type DeleteProgramRequest as b0, type DeleteProgramResponse as b1, type QueryProgramsRequest as b2, type QueryV2 as b3, type QueryV2PagingMethodOneOf as b4, type Sorting as b5, type Paging as b6, type CursorPaging as b7, type QueryProgramsResponse as b8, type PagingMetadataV2 as b9, type RangeResults as bA, type AggregationResultsScalarResult as bB, type NestedValueAggregationResult as bC, type ValueResult as bD, type RangeResult as bE, type ScalarResult as bF, type NestedResultValue as bG, type NestedResultValueResultOneOf as bH, type Results as bI, type DateHistogramResult as bJ, type GroupByValueResults as bK, type DateHistogramResults as bL, type NestedResults as bM, type AggregationResults as bN, type AggregationResultsResultOneOf as bO, type PublishProgramRequest as bP, type EndProgramRequest as bQ, type ArchiveProgramRequest as bR, type EnableProgramFreemiumRequest as bS, type EnableProgramFreemiumResponse as bT, type DisableProgramFreemiumRequest as bU, type DisableProgramFreemiumResponse as bV, type BulkUpdateProgramsRequest as bW, type BulkUpdateProgramResult as bX, type CountProgramsRequest as bY, type ListSampleProgramsRequest as bZ, type LabeledProgram as b_, type Cursors as ba, type SearchProgramsRequest as bb, type CursorSearch as bc, type CursorSearchPagingMethodOneOf as bd, type Aggregation as be, type AggregationKindOneOf as bf, type RangeBucket as bg, type IncludeMissingValuesOptions as bh, type ValueAggregation as bi, type ValueAggregationOptionsOneOf as bj, type RangeAggregation as bk, type ScalarAggregation as bl, type DateHistogramAggregation as bm, type NestedAggregationItem as bn, type NestedAggregationItemKindOneOf as bo, type NestedAggregation as bp, type GroupByAggregation as bq, type GroupByAggregationKindOneOf as br, type SearchDetails as bs, type CursorPagingMetadata as bt, type AggregationData as bu, type ValueAggregationResult as bv, type RangeAggregationResult as bw, type NestedAggregationResults as bx, type NestedAggregationResultsResultOneOf as by, type ValueResults as bz, type PublishProgramResponse as c, type EventMetadata as c$, type DomainEventBodyOneOf as c0, type EntityCreatedEvent as c1, type RestoreInfo as c2, type EntityUpdatedEvent as c3, type EntityDeletedEvent as c4, type ActionEvent as c5, type Empty as c6, type ResolveProgramSlugRequest as c7, type ResolveProgramSlugResponse as c8, type MissingMetasiteIdErrorDetails as c9, type WixelUnassigned as cA, type StudioTwoAssigned as cB, type StudioTwoUnassigned as cC, type UserDomainMediaEnabled as cD, type UserDomainMediaDisabled as cE, type EditorlessAssigned as cF, type EditorlessUnassigned as cG, type SearchIndexingNotification as cH, type SitePropertiesUpdated as cI, type SitePropertiesEvent as cJ, type Properties as cK, type Categories as cL, type Locale as cM, type Address as cN, type AddressHint as cO, type GeoCoordinates as cP, type BusinessSchedule as cQ, type TimePeriod as cR, type SpecialHourPeriod as cS, type Multilingual as cT, type SupportedLanguage as cU, type ConsentPolicy as cV, type MessageEnvelope as cW, type IdentificationData as cX, type IdentificationDataIdOneOf as cY, type AccountInfo as cZ, type BaseEventMetadata as c_, type MetaSiteSpecialEvent as ca, type MetaSiteSpecialEventPayloadOneOf as cb, type Asset as cc, type SiteCreated as cd, type SiteTransferred as ce, type SiteDeleted as cf, type DeleteContext as cg, type SiteUndeleted as ch, type SitePublished as ci, type SiteUnpublished as cj, type SiteMarkedAsTemplate as ck, type SiteMarkedAsWixSite as cl, type ServiceProvisioned as cm, type ServiceRemoved as cn, type SiteRenamed as co, type SiteHardDeleted as cp, type NamespaceChanged as cq, type StudioAssigned as cr, type StudioUnassigned as cs, type SiteUrlChanged as ct, type SitePurgedExternally as cu, type OdeditorAssigned as cv, type OdeditorUnassigned as cw, type PicassoAssigned as cx, type PicassoUnassigned as cy, type WixelAssigned as cz, type PublishProgramApplicationErrors as d, type AccountInfoMetadata as d0, type ProgramsQueryResult as d1, type ProgramQuerySpec as d2, type ProgramSearchSpec as d3, utils as d4, type StatusWithLiterals as d5, type AccessTypeWithLiterals as d6, type TriggerWithLiterals as d7, type EnumWithLiterals as d8, type BulkActionTypeWithLiterals as d9, onProgramEnded as dA, onProgramPublished as dB, onProgramUpdated as dC, createProgram as dD, duplicateProgram as dE, getProgram as dF, updateProgram as dG, deleteProgram as dH, queryPrograms as dI, publishProgram as dJ, endProgram as dK, archiveProgram as dL, bulkUpdatePrograms as dM, countPrograms as dN, listSamplePrograms as dO, type SortOrderWithLiterals as da, type SortTypeWithLiterals as db, type SortDirectionWithLiterals as dc, type MissingValuesWithLiterals as dd, type ScalarTypeWithLiterals as de, type NestedAggregationTypeWithLiterals as df, type IntervalWithLiterals as dg, type AggregationTypeWithLiterals as dh, type ModeWithLiterals as di, type StateWithLiterals as dj, type SiteCreatedContextWithLiterals as dk, type NamespaceWithLiterals as dl, type DeleteStatusWithLiterals as dm, type SearchIndexingNotificationStateWithLiterals as dn, type PlacementTypeWithLiterals as dp, type DayOfWeekWithLiterals as dq, type ResolutionMethodWithLiterals as dr, type WebhookIdentityTypeWithLiterals as ds, type EnableProgramFreemiumApplicationErrors as dt, type CommonQueryWithEntityContext as du, type CommonSearchWithEntityContext as dv, onProgramCreated as dw, onProgramDeleted as dx, onProgramArchived as dy, onProgramDuplicated as dz, type BulkUpdateProgramsResponse as e, type CountProgramsResponse as f, type ProgramCreatedEnvelope as g, type ProgramDeletedEnvelope as h, type ProgramArchivedEnvelope as i, type ProgramDuplicatedEnvelope as j, type ProgramEndedEnvelope as k, type ProgramPublishedEnvelope as l, type ProgramUpdatedEnvelope as m, type ProgramsQueryBuilder as n, type ProgramQuery as o, Status as p, AccessType as q, Enum as r, BulkActionType as s, typedQueryPrograms as t, SortOrder as u, SortType as v, SortDirection as w, MissingValues as x, ScalarType as y, AggregationType as z };
|
package/build/es/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { P as Program, D as DuplicateProgramResponse, U as UpdateProgram, a as UpdateProgramApplicationErrors, b as ProgramSearch, S as SearchProgramsResponse, c as PublishProgramResponse, d as PublishProgramApplicationErrors, E as EndProgramResponse, A as ArchiveProgramResponse, M as MaskedProgram, B as BulkUpdateProgramsOptions, e as BulkUpdateProgramsResponse, C as CountProgramsOptions, f as CountProgramsResponse, L as ListSampleProgramsResponse, g as ProgramCreatedEnvelope, h as ProgramDeletedEnvelope, i as ProgramArchivedEnvelope, j as ProgramDuplicatedEnvelope, k as ProgramEndedEnvelope, l as ProgramPublishedEnvelope, m as ProgramUpdatedEnvelope, n as ProgramsQueryBuilder, o as ProgramQuery, t as typedQueryPrograms } from './online-programs-v3-program-programs.universal-
|
|
3
|
-
export { q as AccessType,
|
|
2
|
+
import { P as Program, D as DuplicateProgramResponse, U as UpdateProgram, a as UpdateProgramApplicationErrors, b as ProgramSearch, S as SearchProgramsResponse, c as PublishProgramResponse, d as PublishProgramApplicationErrors, E as EndProgramResponse, A as ArchiveProgramResponse, M as MaskedProgram, B as BulkUpdateProgramsOptions, e as BulkUpdateProgramsResponse, C as CountProgramsOptions, f as CountProgramsResponse, L as ListSampleProgramsResponse, g as ProgramCreatedEnvelope, h as ProgramDeletedEnvelope, i as ProgramArchivedEnvelope, j as ProgramDuplicatedEnvelope, k as ProgramEndedEnvelope, l as ProgramPublishedEnvelope, m as ProgramUpdatedEnvelope, n as ProgramsQueryBuilder, o as ProgramQuery, t as typedQueryPrograms } from './online-programs-v3-program-programs.universal-Lt33oe5u.mjs';
|
|
3
|
+
export { q as AccessType, d6 as AccessTypeWithLiterals, cZ as AccountInfo, d0 as AccountInfoMetadata, c5 as ActionEvent, cN as Address, cO as AddressHint, be as Aggregation, bu as AggregationData, bf as AggregationKindOneOf, bN as AggregationResults, bO as AggregationResultsResultOneOf, bB as AggregationResultsScalarResult, z as AggregationType, dh as AggregationTypeWithLiterals, ap as App, aO as ApplicationError, bR as ArchiveProgramRequest, cc as Asset, c_ as BaseEventMetadata, aP as BulkActionMetadata, s as BulkActionType, d9 as BulkActionTypeWithLiterals, aJ as BulkCreateProgramsMigrationRequest, aL as BulkCreateProgramsMigrationResponse, aM as BulkProgramResult, bX as BulkUpdateProgramResult, bW as BulkUpdateProgramsRequest, cQ as BusinessSchedule, cL as Categories, a8 as Certificate, du as CommonQueryWithEntityContext, dv as CommonSearchWithEntityContext, cV as ConsentPolicy, ab as ContentSummary, bY as CountProgramsRequest, aH as CreateProgramRequest, aI as CreateProgramResponse, b7 as CursorPaging, bt as CursorPagingMetadata, bc as CursorSearch, bd as CursorSearchPagingMethodOneOf, ba as Cursors, at as CustomTag, bm as DateHistogramAggregation, bJ as DateHistogramResult, bL as DateHistogramResults, R as DayOfWeek, dq as DayOfWeekWithLiterals, az as Delete, aQ as DeleteAllProgramsMigrationRequest, aR as DeleteAllProgramsMigrationResponse, ak as DeleteByFilterOperation, aj as DeleteByIdsOperation, cg as DeleteContext, b0 as DeleteProgramRequest, b1 as DeleteProgramResponse, K as DeleteStatus, dm as DeleteStatusWithLiterals, X as Description, Y as DescriptionMediaOneOf, bU as DisableProgramFreemiumRequest, bV as DisableProgramFreemiumResponse, ai as DocumentImage, ah as DocumentPayload, af as DocumentUpdateOperation, b$ as DomainEvent, c0 as DomainEventBodyOneOf, aS as DuplicateProgramRequest, a_ as DuplicatedSlugErrorDetails, cF as EditorlessAssigned, cG as EditorlessUnassigned, c6 as Empty, dt as EnableProgramFreemiumApplicationErrors, bS as EnableProgramFreemiumRequest, bT as EnableProgramFreemiumResponse, bQ as EndProgramRequest, c1 as EntityCreatedEvent, c4 as EntityDeletedEvent, c3 as EntityUpdatedEvent, r as Enum, d8 as EnumWithLiterals, c$ as EventMetadata, a9 as ExtendedFields, as as File, Z as FocalPoint, ac as FreemiumSettings, cP as GeoCoordinates, aT as GetProgramRequest, aU as GetProgramResponse, bq as GroupByAggregation, br as GroupByAggregationKindOneOf, bK as GroupByValueResults, cX as IdentificationData, cY as IdentificationDataIdOneOf, bh as IncludeMissingValuesOptions, ag as IndexDocument, I as Interval, dg as IntervalWithLiterals, an as InvalidateCache, ao as InvalidateCacheGetByOneOf, aN as ItemMetadata, a4 as Keyword, b_ as LabeledProgram, bZ as ListSampleProgramsRequest, cM as Locale, cW as MessageEnvelope, ca as MetaSiteSpecialEvent, cb as MetaSiteSpecialEventPayloadOneOf, c9 as MissingMetasiteIdErrorDetails, x as MissingValues, dd as MissingValuesWithLiterals, F as Mode, di as ModeWithLiterals, a1 as Money, cT as Multilingual, J as Namespace, cq as NamespaceChanged, dl as NamespaceWithLiterals, bp as NestedAggregation, bn as NestedAggregationItem, bo as NestedAggregationItemKindOneOf, bx as NestedAggregationResults, by as NestedAggregationResultsResultOneOf, N as NestedAggregationType, df as NestedAggregationTypeWithLiterals, bG as NestedResultValue, bH as NestedResultValueResultOneOf, bM as NestedResults, bC as NestedValueAggregationResult, cv as OdeditorAssigned, cw as OdeditorUnassigned, aq as Page, au as Pages, b6 as Paging, b9 as PagingMetadataV2, cx as PicassoAssigned, cy as PicassoUnassigned, Q as PlacementType, dp as PlacementTypeWithLiterals, aD as ProgramArchived, aE as ProgramDuplicated, aC as ProgramEnded, aG as ProgramFreemiumDisabled, aF as ProgramFreemiumEnabled, aK as ProgramMigration, aB as ProgramPublished, d2 as ProgramQuerySpec, d3 as ProgramSearchSpec, d1 as ProgramsQueryResult, cK as Properties, bP as PublishProgramRequest, b2 as QueryProgramsRequest, b8 as QueryProgramsResponse, b3 as QueryV2, b4 as QueryV2PagingMethodOneOf, bk as RangeAggregation, bw as RangeAggregationResult, bg as RangeBucket, bE as RangeResult, bA as RangeResults, aw as ReindexMessage, ax as ReindexMessageActionOneOf, V as ResolutionMethod, dr as ResolutionMethodWithLiterals, c7 as ResolveProgramSlugRequest, c8 as ResolveProgramSlugResponse, c2 as RestoreInfo, a0 as Restrictions, bI as Results, a7 as Reward, bl as ScalarAggregation, bF as ScalarResult, y as ScalarType, de as ScalarTypeWithLiterals, aA as Schema, bs as SearchDetails, cH as SearchIndexingNotification, O as SearchIndexingNotificationState, dn as SearchIndexingNotificationStateWithLiterals, bb as SearchProgramsRequest, a2 as Seo, a3 as SeoSchema, cm as ServiceProvisioned, cn as ServiceRemoved, a6 as Settings, cd as SiteCreated, H as SiteCreatedContext, dk as SiteCreatedContextWithLiterals, cf as SiteDeleted, cp as SiteHardDeleted, ck as SiteMarkedAsTemplate, cl as SiteMarkedAsWixSite, cJ as SitePropertiesEvent, cI as SitePropertiesUpdated, ci as SitePublished, cu as SitePurgedExternally, co as SiteRenamed, ce as SiteTransferred, ch as SiteUndeleted, cj as SiteUnpublished, ct as SiteUrlChanged, w as SortDirection, dc as SortDirectionWithLiterals, u as SortOrder, da as SortOrderWithLiterals, v as SortType, db as SortTypeWithLiterals, b5 as Sorting, cS as SpecialHourPeriod, G as State, dj as StateWithLiterals, p as Status, d5 as StatusWithLiterals, cr as StudioAssigned, cB as StudioTwoAssigned, cC as StudioTwoUnassigned, cs as StudioUnassigned, cU as SupportedLanguage, a5 as Tag, cR as TimePeriod, $ as Timeline, a$ as TimelineSwitchForbiddenErrorDetails, T as Trigger, d7 as TriggerWithLiterals, ar as URI, av as URIs, al as UpdateByFilterOperation, ad as UpdateDocumentsEvent, ae as UpdateDocumentsEventOperationOneOf, am as UpdateExistingOperation, aV as UpdateProgramRequest, aW as UpdateProgramResponse, ay as Upsert, cE as UserDomainMediaDisabled, cD as UserDomainMediaEnabled, bi as ValueAggregation, bj as ValueAggregationOptionsOneOf, bv as ValueAggregationResult, bD as ValueResult, bz as ValueResults, _ as VideoResolution, aa as VideoStepsSettings, W as WebhookIdentityType, ds as WebhookIdentityTypeWithLiterals, cz as WixelAssigned, cA as WixelUnassigned, aZ as WrongParticipantsNumberErrorDetails, aY as WrongStartDateErrorDetails, aX as WrongStateErrorDetails, d4 as utils } from './online-programs-v3-program-programs.universal-Lt33oe5u.mjs';
|
|
4
4
|
|
|
5
5
|
declare function createProgram$1(httpClient: HttpClient): CreateProgramSignature;
|
|
6
6
|
interface CreateProgramSignature {
|