@wix/auto_sdk_online-programs_programs 1.0.19 → 1.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/build/cjs/index.d.ts +2 -2
  2. package/build/cjs/index.js +7 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +2 -3
  5. package/build/cjs/index.typings.js +7 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +16 -4
  8. package/build/cjs/meta.js +7 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/{online-programs-v3-program-programs.universal-s9OPdNxX.d.ts → online-programs-v3-program-programs.universal-Bq1WUZOo.d.ts} +19 -33
  11. package/build/es/index.d.mts +2 -2
  12. package/build/es/index.mjs +7 -0
  13. package/build/es/index.mjs.map +1 -1
  14. package/build/es/index.typings.d.mts +2 -3
  15. package/build/es/index.typings.mjs +7 -0
  16. package/build/es/index.typings.mjs.map +1 -1
  17. package/build/es/meta.d.mts +16 -4
  18. package/build/es/meta.mjs +7 -0
  19. package/build/es/meta.mjs.map +1 -1
  20. package/build/es/{online-programs-v3-program-programs.universal-s9OPdNxX.d.mts → online-programs-v3-program-programs.universal-Bq1WUZOo.d.mts} +19 -33
  21. package/build/internal/cjs/index.d.ts +2 -2
  22. package/build/internal/cjs/index.js +7 -0
  23. package/build/internal/cjs/index.js.map +1 -1
  24. package/build/internal/cjs/index.typings.d.ts +2 -3
  25. package/build/internal/cjs/index.typings.js +7 -0
  26. package/build/internal/cjs/index.typings.js.map +1 -1
  27. package/build/internal/cjs/meta.d.ts +16 -4
  28. package/build/internal/cjs/meta.js +7 -0
  29. package/build/internal/cjs/meta.js.map +1 -1
  30. package/build/internal/cjs/{online-programs-v3-program-programs.universal-s9OPdNxX.d.ts → online-programs-v3-program-programs.universal-Bq1WUZOo.d.ts} +19 -33
  31. package/build/internal/es/index.d.mts +2 -2
  32. package/build/internal/es/index.mjs +7 -0
  33. package/build/internal/es/index.mjs.map +1 -1
  34. package/build/internal/es/index.typings.d.mts +2 -3
  35. package/build/internal/es/index.typings.mjs +7 -0
  36. package/build/internal/es/index.typings.mjs.map +1 -1
  37. package/build/internal/es/meta.d.mts +16 -4
  38. package/build/internal/es/meta.mjs +7 -0
  39. package/build/internal/es/meta.mjs.map +1 -1
  40. package/build/internal/es/{online-programs-v3-program-programs.universal-s9OPdNxX.d.mts → online-programs-v3-program-programs.universal-Bq1WUZOo.d.mts} +19 -33
  41. package/package.json +2 -2
@@ -1555,7 +1555,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
1555
1555
  /** If present, indicates the action that triggered the event. */
1556
1556
  originatedFrom?: string | null;
1557
1557
  /**
1558
- * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
1558
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.
1559
1559
  * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
1560
1560
  */
1561
1561
  entityEventSequence?: string | null;
@@ -1909,10 +1909,22 @@ declare enum Namespace {
1909
1909
  /** Wix Channels Sites */
1910
1910
  CHANNELS = "CHANNELS",
1911
1911
  /** Nautilus platform. */
1912
- NAUTILUS = "NAUTILUS"
1912
+ NAUTILUS = "NAUTILUS",
1913
+ /**
1914
+ * Symphony — a siteless site representing a project within Symphony (the evolution of Orion).
1915
+ * Holds project data, conversations, assets, and manages collaborators / shared team members for the project.
1916
+ */
1917
+ SYMPHONY = "SYMPHONY",
1918
+ /** Nautilus platform app. */
1919
+ NAUTILUS_APPS = "NAUTILUS_APPS",
1920
+ /**
1921
+ * Vibu — a siteless site representing a project built with Vibu (the AI app builder).
1922
+ * Holds the project's generated code, conversations, assets, and manages collaborators for the project.
1923
+ */
1924
+ VIBU = "VIBU"
1913
1925
  }
1914
1926
  /** @enumType */
1915
- type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR' | 'TWINS' | 'NANO' | 'BASE44' | 'CHANNELS' | 'NAUTILUS';
1927
+ type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR' | 'TWINS' | 'NANO' | 'BASE44' | 'CHANNELS' | 'NAUTILUS' | 'SYMPHONY' | 'NAUTILUS_APPS' | 'VIBU';
1916
1928
  /** Site transferred to another user. */
1917
1929
  interface SiteTransferred {
1918
1930
  /**
@@ -2524,7 +2536,6 @@ type PublishProgramApplicationErrors = {
2524
2536
  * according to its access restrictions.
2525
2537
  * @param program - Program to create. Server-generated fields such as `id`, `revision`, status, dates, owner, and content summary are ignored on create.
2526
2538
  * @public
2527
- * @documentationMaturity preview
2528
2539
  * @requiredField program
2529
2540
  * @permissionId ONLINE_PROGRAMS.PROGRAM_CREATE
2530
2541
  * @applicableIdentity APP
@@ -2541,7 +2552,6 @@ declare function createProgram(program: Program): Promise<NonNullablePaths<Progr
2541
2552
  * copy section or step references.
2542
2553
  * @param programId - ID of the program to duplicate.
2543
2554
  * @public
2544
- * @documentationMaturity preview
2545
2555
  * @requiredField programId
2546
2556
  * @permissionId ONLINE_PROGRAMS.PROGRAM_CREATE
2547
2557
  * @applicableIdentity APP
@@ -2557,7 +2567,6 @@ declare function duplicateProgram(programId: string): Promise<NonNullablePaths<D
2557
2567
  * and services can retrieve management views.
2558
2568
  * @param programId - ID of the program to retrieve.
2559
2569
  * @public
2560
- * @documentationMaturity preview
2561
2570
  * @requiredField programId
2562
2571
  * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2563
2572
  * @applicableIdentity APP
@@ -2576,7 +2585,6 @@ declare function getProgram(programId: string): Promise<NonNullablePaths<Program
2576
2585
  * when the program has active participants.
2577
2586
  * @param _id - Program ID.
2578
2587
  * @public
2579
- * @documentationMaturity preview
2580
2588
  * @requiredField _id
2581
2589
  * @requiredField program
2582
2590
  * @requiredField program.revision
@@ -2672,7 +2680,6 @@ interface UpdateProgram {
2672
2680
  * scheduled end task, removes related member groups, and removes it from search.
2673
2681
  * @param programId - ID of the program to delete.
2674
2682
  * @public
2675
- * @documentationMaturity preview
2676
2683
  * @requiredField programId
2677
2684
  * @permissionId ONLINE_PROGRAMS.PROGRAM_DELETE
2678
2685
  * @applicableIdentity APP
@@ -2692,7 +2699,6 @@ declare function deleteProgram(programId: string): Promise<void>;
2692
2699
  *
2693
2700
  * Results are visibility-filtered according to the caller identity.
2694
2701
  * @public
2695
- * @documentationMaturity preview
2696
2702
  * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
2697
2703
  * @applicableIdentity APP
2698
2704
  * @fqn wix.onlineprograms.programs.v3.ProgramsService.QueryPrograms
@@ -2714,40 +2720,26 @@ interface ProgramsQueryResult extends QueryCursorResult {
2714
2720
  interface ProgramsQueryBuilder {
2715
2721
  /** @param propertyName - Property whose value is compared with `value`.
2716
2722
  * @param value - Value to compare against.
2717
- * @documentationMaturity preview
2718
2723
  */
2719
2724
  eq: (propertyName: '_id' | 'status' | 'timeline.selfPaced' | 'seo.slug' | 'socialGroupId', value: any) => ProgramsQueryBuilder;
2720
2725
  /** @param propertyName - Property whose value is compared with `values`.
2721
2726
  * @param values - List of values to compare against.
2722
- * @documentationMaturity preview
2723
2727
  */
2724
2728
  hasSome: (propertyName: string, value: any[]) => ProgramsQueryBuilder;
2725
2729
  /** @param propertyName - Property whose value is compared with `values`.
2726
2730
  * @param values - List of values to compare against.
2727
- * @documentationMaturity preview
2728
2731
  */
2729
2732
  hasAll: (propertyName: string, value: any[]) => ProgramsQueryBuilder;
2730
- /** @documentationMaturity preview */
2731
2733
  in: (propertyName: '_id' | 'status' | 'restrictions.accessType' | 'socialGroupId', value: any) => ProgramsQueryBuilder;
2732
- /** @documentationMaturity preview */
2733
2734
  exists: (propertyName: 'price', value: boolean) => ProgramsQueryBuilder;
2734
- /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
2735
- * @documentationMaturity preview
2736
- */
2735
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
2737
2736
  ascending: (...propertyNames: Array<'_id' | '_createdDate' | 'status' | 'statusUpdatedDate' | 'description.title' | 'seo.slug'>) => ProgramsQueryBuilder;
2738
- /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
2739
- * @documentationMaturity preview
2740
- */
2737
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
2741
2738
  descending: (...propertyNames: Array<'_id' | '_createdDate' | 'status' | 'statusUpdatedDate' | 'description.title' | 'seo.slug'>) => ProgramsQueryBuilder;
2742
- /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
2743
- * @documentationMaturity preview
2744
- */
2739
+ /** @param limit - Number of items to return, which is also the `pageSize` of the results object. */
2745
2740
  limit: (limit: number) => ProgramsQueryBuilder;
2746
- /** @param cursor - A pointer to specific record
2747
- * @documentationMaturity preview
2748
- */
2741
+ /** @param cursor - A pointer to specific record */
2749
2742
  skipTo: (cursor: string) => ProgramsQueryBuilder;
2750
- /** @documentationMaturity preview */
2751
2743
  find: () => Promise<ProgramsQueryResult>;
2752
2744
  }
2753
2745
  /**
@@ -3059,7 +3051,6 @@ type ProgramSearch = {
3059
3051
  * to `ENDED` using the site's timezone.
3060
3052
  * @param programId - ID of the draft program to publish.
3061
3053
  * @public
3062
- * @documentationMaturity preview
3063
3054
  * @requiredField programId
3064
3055
  * @permissionId ONLINE_PROGRAMS.PROGRAM_UPDATE
3065
3056
  * @applicableIdentity APP
@@ -3075,7 +3066,6 @@ declare function publishProgram(programId: string): Promise<NonNullablePaths<Pub
3075
3066
  * task. The operation succeeds only for currently published programs.
3076
3067
  * @param programId - ID of the published program to end.
3077
3068
  * @public
3078
- * @documentationMaturity preview
3079
3069
  * @requiredField programId
3080
3070
  * @permissionId ONLINE_PROGRAMS.PROGRAM_UPDATE
3081
3071
  * @applicableIdentity APP
@@ -3089,7 +3079,6 @@ declare function endProgram(programId: string): Promise<NonNullablePaths<EndProg
3089
3079
  * replaces its SEO slug with the program ID so the previous slug can be reused.
3090
3080
  * @param programId - ID of the program to archive.
3091
3081
  * @public
3092
- * @documentationMaturity preview
3093
3082
  * @requiredField programId
3094
3083
  * @permissionId ONLINE_PROGRAMS.PROGRAM_UPDATE
3095
3084
  * @applicableIdentity APP
@@ -3103,7 +3092,6 @@ declare function archiveProgram(programId: string): Promise<NonNullablePaths<Arc
3103
3092
  * return updated programs in the response.
3104
3093
  * @param programs - Programs to update. Each item contains partial program data.
3105
3094
  * @public
3106
- * @documentationMaturity preview
3107
3095
  * @requiredField programs
3108
3096
  * @requiredField programs.program.revision
3109
3097
  * @permissionId ONLINE_PROGRAMS.PROGRAM_UPDATE
@@ -3120,7 +3108,6 @@ interface BulkUpdateProgramsOptions {
3120
3108
  *
3121
3109
  * Results use the same visibility rules as `QueryPrograms`.
3122
3110
  * @public
3123
- * @documentationMaturity preview
3124
3111
  * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
3125
3112
  * @applicableIdentity APP
3126
3113
  * @fqn wix.onlineprograms.programs.v3.ProgramsService.CountPrograms
@@ -3133,7 +3120,6 @@ interface CountProgramsOptions {
3133
3120
  /**
3134
3121
  * Lists sample programs used as templates for creating new programs.
3135
3122
  * @public
3136
- * @documentationMaturity preview
3137
3123
  * @permissionId ONLINE_PROGRAMS.PROGRAM_READ
3138
3124
  * @applicableIdentity APP
3139
3125
  * @fqn wix.onlineprograms.programs.v3.ProgramsService.ListSamplePrograms
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_online-programs_programs",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -57,5 +57,5 @@
57
57
  "fqdn": "wix.online_programs.v3.program"
58
58
  }
59
59
  },
60
- "falconPackageHash": "3c2c617ba37da99fe044875e0cf8352fcb3e2bedf616756dca636a4b"
60
+ "falconPackageHash": "7b11e0b7c6eb95b0b8286f09cfe18f3f1add9ddb9792cf5099a2416b"
61
61
  }