@wix/auto_sdk_online-programs_programs 1.0.40 → 1.0.42
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 +8 -2
- 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-CXWw_Yap.d.ts} +7 -1
- 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 +8 -2
- 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-CXWw_Yap.d.mts} +7 -1
- 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 +18 -2
- package/build/internal/cjs/{online-programs-v3-program-programs.universal-E5Ho5dcB.d.ts → online-programs-v3-program-programs.universal-C2QeyOXB.d.ts} +19 -1
- 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 +18 -2
- package/build/internal/es/{online-programs-v3-program-programs.universal-E5Ho5dcB.d.mts → online-programs-v3-program-programs.universal-C2QeyOXB.d.mts} +19 -1
- package/package.json +2 -2
|
@@ -789,6 +789,22 @@ interface ProgramDuplicated {
|
|
|
789
789
|
/** Whether the program was cloned from a template. */
|
|
790
790
|
fromTemplate?: boolean;
|
|
791
791
|
}
|
|
792
|
+
/** Triggered when a program's Freemium setting changes to enabled. */
|
|
793
|
+
interface ProgramFreemiumEnabled {
|
|
794
|
+
/**
|
|
795
|
+
* Snapshot of the program after the mode change committed.
|
|
796
|
+
* @internal
|
|
797
|
+
*/
|
|
798
|
+
program?: Program;
|
|
799
|
+
}
|
|
800
|
+
/** Triggered when a program's Freemium setting changes to disabled. */
|
|
801
|
+
interface ProgramFreemiumDisabled {
|
|
802
|
+
/**
|
|
803
|
+
* Snapshot of the program after the mode change committed.
|
|
804
|
+
* @internal
|
|
805
|
+
*/
|
|
806
|
+
program?: Program;
|
|
807
|
+
}
|
|
792
808
|
interface CreateProgramRequest {
|
|
793
809
|
/** Program to create. Server-generated fields such as `id`, `revision`, status, dates, owner, and content summary are ignored on create. */
|
|
794
810
|
program: Program;
|
|
@@ -3510,6 +3526,7 @@ declare function archiveProgram(programId: string): Promise<NonNullablePaths<Arc
|
|
|
3510
3526
|
* @documentationMaturity preview
|
|
3511
3527
|
* @requiredField programId
|
|
3512
3528
|
* @permissionId online_programs:v3:program:enable_program_freemium
|
|
3529
|
+
* @applicableIdentity APP
|
|
3513
3530
|
* @fqn wix.onlineprograms.programs.v3.ProgramsService.EnableProgramFreemium
|
|
3514
3531
|
*/
|
|
3515
3532
|
declare function enableProgramFreemium(programId: string): Promise<NonNullablePaths<EnableProgramFreemiumResponse, `program.status` | `program.categoryIds` | `program.description.title` | `program.timeline.selfPaced` | `program.restrictions.hideFutureSteps` | `program.restrictions.resolveStepsInOrder` | `program.restrictions.shareProgress` | `program.restrictions.accessType` | `program.price.value` | `program.price.currency` | `program.seo.slug` | `program.seo.seoData.tags` | `program.seo.seoData.tags.${number}.type` | `program.seo.seoData.tags.${number}.children` | `program.seo.seoData.tags.${number}.custom` | `program.seo.seoData.tags.${number}.disabled` | `program.seo.seoData.settings.preventAutoRedirect` | `program.seo.seoData.settings.keywords` | `program.seo.seoData.settings.keywords.${number}.term` | `program.seo.seoData.settings.keywords.${number}.isMain` | `program.seo.imageAlt` | `program.seo.courseWorkload` | `program.rewards` | `program.rewards.${number}.trigger` | `program.rewards.${number}.certificate._id` | `program.shouldSendInvoice` | `program.videoStepsSettings.autoNavigate` | `program.videoStepsSettings.requiredCompletionPercentage` | `program.contentSummary.stepCount` | `program.contentSummary.sectionCount`, 6> & {
|
|
@@ -3524,6 +3541,7 @@ declare function enableProgramFreemium(programId: string): Promise<NonNullablePa
|
|
|
3524
3541
|
* @documentationMaturity preview
|
|
3525
3542
|
* @requiredField programId
|
|
3526
3543
|
* @permissionId online_programs:v3:program:disable_program_freemium
|
|
3544
|
+
* @applicableIdentity APP
|
|
3527
3545
|
* @fqn wix.onlineprograms.programs.v3.ProgramsService.DisableProgramFreemium
|
|
3528
3546
|
*/
|
|
3529
3547
|
declare function disableProgramFreemium(programId: string): Promise<NonNullablePaths<DisableProgramFreemiumResponse, `program.status` | `program.categoryIds` | `program.description.title` | `program.timeline.selfPaced` | `program.restrictions.hideFutureSteps` | `program.restrictions.resolveStepsInOrder` | `program.restrictions.shareProgress` | `program.restrictions.accessType` | `program.price.value` | `program.price.currency` | `program.seo.slug` | `program.seo.seoData.tags` | `program.seo.seoData.tags.${number}.type` | `program.seo.seoData.tags.${number}.children` | `program.seo.seoData.tags.${number}.custom` | `program.seo.seoData.tags.${number}.disabled` | `program.seo.seoData.settings.preventAutoRedirect` | `program.seo.seoData.settings.keywords` | `program.seo.seoData.settings.keywords.${number}.term` | `program.seo.seoData.settings.keywords.${number}.isMain` | `program.seo.imageAlt` | `program.seo.courseWorkload` | `program.rewards` | `program.rewards.${number}.trigger` | `program.rewards.${number}.certificate._id` | `program.shouldSendInvoice` | `program.videoStepsSettings.autoNavigate` | `program.videoStepsSettings.requiredCompletionPercentage` | `program.contentSummary.stepCount` | `program.contentSummary.sectionCount`, 6>>;
|
|
@@ -3568,4 +3586,4 @@ interface CountProgramsOptions {
|
|
|
3568
3586
|
*/
|
|
3569
3587
|
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>>;
|
|
3570
3588
|
|
|
3571
|
-
export { type DescriptionMediaOneOf as $, type ArchiveProgramResponse as A, type BulkUpdateProgramsOptions as B, type CountProgramsOptions as C, type DuplicateProgramResponse as D, type EndProgramResponse as E, MissingValues as F, ScalarType as G, AggregationType as H, Interval as I, Mode as J, State as K, type ListSampleProgramsResponse as L, type MaskedProgram as M, NestedAggregationType as N, SiteCreatedContext as O, type Program as P, Namespace as Q, DeleteStatus as R, type SearchProgramsResponse as S, Trigger as T, type UpdateProgram as U, SearchIndexingNotificationState as V, PlacementType as W, DayOfWeek as X, ResolutionMethod as Y, WebhookIdentityType as Z, type Description as _, type UpdateProgramApplicationErrors as a, type
|
|
3589
|
+
export { type DescriptionMediaOneOf as $, type ArchiveProgramResponse as A, type BulkUpdateProgramsOptions as B, type CountProgramsOptions as C, type DuplicateProgramResponse as D, type EndProgramResponse as E, MissingValues as F, ScalarType as G, AggregationType as H, Interval as I, Mode as J, State as K, type ListSampleProgramsResponse as L, type MaskedProgram as M, NestedAggregationType as N, SiteCreatedContext as O, type Program as P, Namespace as Q, DeleteStatus as R, type SearchProgramsResponse as S, Trigger as T, type UpdateProgram as U, SearchIndexingNotificationState as V, PlacementType as W, DayOfWeek as X, ResolutionMethod as Y, WebhookIdentityType as Z, type Description as _, type UpdateProgramApplicationErrors as a, type WrongStartDateErrorDetails as a$, type FocalPoint as a0, type VideoResolution as a1, type Timeline as a2, type Restrictions as a3, type Money as a4, type Seo as a5, type SeoSchema as a6, type Keyword as a7, type Tag as a8, type Settings as a9, type ReindexMessageActionOneOf as aA, type Upsert as aB, type Delete as aC, type Schema as aD, type ProgramPublished as aE, type ProgramEnded as aF, type ProgramArchived as aG, type ProgramDuplicated as aH, type ProgramFreemiumEnabled as aI, type ProgramFreemiumDisabled as aJ, type CreateProgramRequest as aK, type CreateProgramResponse as aL, type BulkCreateProgramsMigrationRequest as aM, type ProgramMigration as aN, type BulkCreateProgramsMigrationResponse as aO, type BulkProgramResult as aP, type ItemMetadata as aQ, type ApplicationError as aR, type BulkActionMetadata as aS, type DeleteAllProgramsMigrationRequest as aT, type DeleteAllProgramsMigrationResponse as aU, type DuplicateProgramRequest as aV, type GetProgramRequest as aW, type GetProgramResponse as aX, type UpdateProgramRequest as aY, type UpdateProgramResponse as aZ, type WrongStateErrorDetails as a_, type Reward as aa, type Certificate as ab, type ExtendedFields as ac, type VideoStepsSettings as ad, type ContentSummary as ae, type FreemiumSettings as af, type UpdateDocumentsEvent as ag, type UpdateDocumentsEventOperationOneOf as ah, type DocumentUpdateOperation as ai, type IndexDocument as aj, type DocumentPayload as ak, type DocumentImage as al, type DeleteByIdsOperation as am, type DeleteByFilterOperation as an, type UpdateByFilterOperation as ao, type UpdateExistingOperation as ap, type InvalidateCache as aq, type InvalidateCacheGetByOneOf as ar, type App as as, type Page as at, type URI as au, type File as av, type CustomTag as aw, type Pages as ax, type URIs as ay, type ReindexMessage as az, type ProgramSearch as b, type LabeledProgram as b$, type WrongParticipantsNumberErrorDetails as b0, type DuplicatedSlugErrorDetails as b1, type TimelineSwitchForbiddenErrorDetails as b2, type DeleteProgramRequest as b3, type DeleteProgramResponse as b4, type QueryProgramsRequest as b5, type QueryV2 as b6, type QueryV2PagingMethodOneOf as b7, type Sorting as b8, type Paging as b9, type NestedAggregationResults as bA, type NestedAggregationResultsResultOneOf as bB, type ValueResults as bC, type RangeResults as bD, type AggregationResultsScalarResult as bE, type NestedValueAggregationResult as bF, type ValueResult as bG, type RangeResult as bH, type ScalarResult as bI, type NestedResultValue as bJ, type NestedResultValueResultOneOf as bK, type Results as bL, type DateHistogramResult as bM, type GroupByValueResults as bN, type DateHistogramResults as bO, type NestedResults as bP, type AggregationResults as bQ, type AggregationResultsResultOneOf as bR, type PublishProgramRequest as bS, type EndProgramRequest as bT, type ArchiveProgramRequest as bU, type EnableProgramFreemiumRequest as bV, type DisableProgramFreemiumRequest as bW, type BulkUpdateProgramsRequest as bX, type BulkUpdateProgramResult as bY, type CountProgramsRequest as bZ, type ListSampleProgramsRequest as b_, type CursorPaging as ba, type QueryProgramsResponse as bb, type PagingMetadataV2 as bc, type Cursors as bd, type SearchProgramsRequest as be, type CursorSearch as bf, type CursorSearchPagingMethodOneOf as bg, type Aggregation as bh, type AggregationKindOneOf as bi, type RangeBucket as bj, type IncludeMissingValuesOptions as bk, type ValueAggregation as bl, type ValueAggregationOptionsOneOf as bm, type RangeAggregation as bn, type ScalarAggregation as bo, type DateHistogramAggregation as bp, type NestedAggregationItem as bq, type NestedAggregationItemKindOneOf as br, type NestedAggregation as bs, type GroupByAggregation as bt, type GroupByAggregationKindOneOf as bu, type SearchDetails as bv, type CursorPagingMetadata as bw, type AggregationData as bx, type ValueAggregationResult as by, type RangeAggregationResult as bz, type PublishProgramResponse as c, type BaseEventMetadata as c$, type DomainEvent as c0, type DomainEventBodyOneOf as c1, type EntityCreatedEvent as c2, type RestoreInfo as c3, type EntityUpdatedEvent as c4, type EntityDeletedEvent as c5, type ActionEvent as c6, type Empty as c7, type ResolveProgramSlugRequest as c8, type ResolveProgramSlugResponse as c9, type WixelAssigned as cA, type WixelUnassigned as cB, type StudioTwoAssigned as cC, type StudioTwoUnassigned as cD, type UserDomainMediaEnabled as cE, type UserDomainMediaDisabled as cF, type EditorlessAssigned as cG, type EditorlessUnassigned as cH, type SearchIndexingNotification as cI, type SitePropertiesUpdated as cJ, type SitePropertiesEvent as cK, type Properties as cL, type Categories as cM, type Locale as cN, type Address as cO, type AddressHint as cP, type GeoCoordinates as cQ, type BusinessSchedule as cR, type TimePeriod as cS, type SpecialHourPeriod as cT, type Multilingual as cU, type SupportedLanguage as cV, type ConsentPolicy as cW, type MessageEnvelope as cX, type IdentificationData as cY, type IdentificationDataIdOneOf as cZ, type AccountInfo as c_, type MissingMetasiteIdErrorDetails as ca, type MetaSiteSpecialEvent as cb, type MetaSiteSpecialEventPayloadOneOf as cc, type Asset as cd, type SiteCreated as ce, type SiteTransferred as cf, type SiteDeleted as cg, type DeleteContext as ch, type SiteUndeleted as ci, type SitePublished as cj, type SiteUnpublished as ck, type SiteMarkedAsTemplate as cl, type SiteMarkedAsWixSite as cm, type ServiceProvisioned as cn, type ServiceRemoved as co, type SiteRenamed as cp, type SiteHardDeleted as cq, type NamespaceChanged as cr, type StudioAssigned as cs, type StudioUnassigned as ct, type SiteUrlChanged as cu, type SitePurgedExternally as cv, type OdeditorAssigned as cw, type OdeditorUnassigned as cx, type PicassoAssigned as cy, type PicassoUnassigned as cz, type PublishProgramApplicationErrors as d, type EventMetadata as d0, type AccountInfoMetadata as d1, type ProgramsQueryResult as d2, type ProgramQuerySpec as d3, type ProgramSearchSpec as d4, utils as d5, type StatusWithLiterals as d6, type AccessTypeWithLiterals as d7, type TriggerWithLiterals as d8, type EnumWithLiterals 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, enableProgramFreemium as dM, disableProgramFreemium as dN, bulkUpdatePrograms as dO, countPrograms as dP, listSamplePrograms as dQ, type BulkActionTypeWithLiterals as da, type SortOrderWithLiterals as db, type SortTypeWithLiterals as dc, type SortDirectionWithLiterals as dd, type MissingValuesWithLiterals as de, type ScalarTypeWithLiterals as df, type NestedAggregationTypeWithLiterals as dg, type IntervalWithLiterals as dh, type AggregationTypeWithLiterals as di, type ModeWithLiterals as dj, type StateWithLiterals as dk, type SiteCreatedContextWithLiterals as dl, type NamespaceWithLiterals as dm, type DeleteStatusWithLiterals as dn, type SearchIndexingNotificationStateWithLiterals as dp, type PlacementTypeWithLiterals as dq, type DayOfWeekWithLiterals as dr, type ResolutionMethodWithLiterals as ds, type WebhookIdentityTypeWithLiterals as dt, type CommonQueryWithEntityContext as du, type CommonSearchWithEntityContext as dv, onProgramCreated as dw, onProgramDeleted as dx, onProgramArchived as dy, onProgramDuplicated as dz, type EnableProgramFreemiumResponse as e, type EnableProgramFreemiumApplicationErrors as f, type DisableProgramFreemiumResponse as g, type BulkUpdateProgramsResponse as h, type CountProgramsResponse as i, type ProgramCreatedEnvelope as j, type ProgramDeletedEnvelope as k, type ProgramArchivedEnvelope as l, type ProgramDuplicatedEnvelope as m, type ProgramEndedEnvelope as n, type ProgramPublishedEnvelope as o, type ProgramUpdatedEnvelope as p, type ProgramsQueryBuilder as q, type ProgramQuery as r, Status as s, typedQueryPrograms as t, AccessType as u, Enum as v, BulkActionType as w, SortOrder as x, SortType as y, SortDirection as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_online-programs_programs",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.42",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.online_programs.v3.program"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "7c92f64347d7bf2ab6c2cfd557a4cd753280debd3b751926dca3e8d9"
|
|
54
54
|
}
|