@wix/auto_sdk_online-programs_sections 1.0.18 → 1.0.20

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.
@@ -4,7 +4,7 @@ import { QuerySpec, Query, NonNullablePaths } from '@wix/sdk-types';
4
4
  /**
5
5
  * A section groups related steps within an online program.
6
6
  *
7
- * Sections can be drafted, published, reordered, and optionally released after a delay from the start of the parent program.
7
+ * Sections are published when created, and can be reordered and optionally released after a delay from the start of the parent program.
8
8
  */
9
9
  interface Section {
10
10
  /**
@@ -37,7 +37,7 @@ interface Section {
37
37
  programId?: string;
38
38
  /** Section title and deprecated backward-compatibility content fields. */
39
39
  description?: Description;
40
- /** Publication state of the section. */
40
+ /** Publication state of the section. If omitted when creating a section, the state defaults to `PUBLISHED`. */
41
41
  state?: StateWithLiterals;
42
42
  /**
43
43
  * Legacy total number of steps in the section.
@@ -63,11 +63,13 @@ interface Section {
63
63
  }
64
64
  interface Description extends DescriptionMediaOneOf {
65
65
  /**
66
+ * @internal
66
67
  * @deprecated
67
68
  * @targetRemovalDate 2025-05-10
68
69
  */
69
70
  image?: string;
70
71
  /**
72
+ * @internal
71
73
  * @deprecated
72
74
  * @targetRemovalDate 2025-05-10
73
75
  */
@@ -75,6 +77,7 @@ interface Description extends DescriptionMediaOneOf {
75
77
  /** @maxLength 500 */
76
78
  title?: string;
77
79
  /**
80
+ * @internal
78
81
  * @maxLength 10000000
79
82
  * @deprecated
80
83
  * @targetRemovalDate 2026-06-25
@@ -84,11 +87,13 @@ interface Description extends DescriptionMediaOneOf {
84
87
  /** @oneof */
85
88
  interface DescriptionMediaOneOf {
86
89
  /**
90
+ * @internal
87
91
  * @deprecated
88
92
  * @targetRemovalDate 2025-05-10
89
93
  */
90
94
  image?: string;
91
95
  /**
96
+ * @internal
92
97
  * @deprecated
93
98
  * @targetRemovalDate 2025-05-10
94
99
  */
@@ -175,9 +180,9 @@ interface VideoResolution {
175
180
  assetKey?: string | null;
176
181
  }
177
182
  declare enum State {
178
- /** the section isn't ready to be shown to participants. */
183
+ /** Retained for backward compatibility. Doesn't affect whether the section is served. */
179
184
  DRAFT = "DRAFT",
180
- /** this content is visible to participants. */
185
+ /** Default state for new sections. */
181
186
  PUBLISHED = "PUBLISHED"
182
187
  }
183
188
  /** @enumType */
@@ -1081,7 +1086,7 @@ interface UpdateSectionOptions {
1081
1086
  programId?: string;
1082
1087
  /** Section title and deprecated backward-compatibility content fields. */
1083
1088
  description?: Description;
1084
- /** Publication state of the section. */
1089
+ /** Publication state of the section. If omitted when creating a section, the state defaults to `PUBLISHED`. */
1085
1090
  state?: StateWithLiterals;
1086
1091
  /**
1087
1092
  * Legacy total number of steps in the section.
@@ -4,7 +4,7 @@ import '@wix/sdk-types';
4
4
  /**
5
5
  * A section groups related steps within an online program.
6
6
  *
7
- * Sections can be drafted, published, reordered, and optionally released after a delay from the start of the parent program.
7
+ * Sections are published when created, and can be reordered and optionally released after a delay from the start of the parent program.
8
8
  */
9
9
  interface Section {
10
10
  /**
@@ -37,7 +37,7 @@ interface Section {
37
37
  programId?: string;
38
38
  /** Section title and deprecated backward-compatibility content fields. */
39
39
  description?: Description;
40
- /** Publication state of the section. */
40
+ /** Publication state of the section. If omitted when creating a section, the state defaults to `PUBLISHED`. */
41
41
  state?: StateWithLiterals;
42
42
  /**
43
43
  * Legacy total number of steps in the section.
@@ -63,11 +63,13 @@ interface Section {
63
63
  }
64
64
  interface Description extends DescriptionMediaOneOf {
65
65
  /**
66
+ * @internal
66
67
  * @deprecated
67
68
  * @targetRemovalDate 2025-05-10
68
69
  */
69
70
  image?: Image;
70
71
  /**
72
+ * @internal
71
73
  * @deprecated
72
74
  * @targetRemovalDate 2025-05-10
73
75
  */
@@ -75,6 +77,7 @@ interface Description extends DescriptionMediaOneOf {
75
77
  /** @maxLength 500 */
76
78
  title?: string;
77
79
  /**
80
+ * @internal
78
81
  * @maxLength 10000000
79
82
  * @deprecated
80
83
  * @targetRemovalDate 2026-06-25
@@ -84,11 +87,13 @@ interface Description extends DescriptionMediaOneOf {
84
87
  /** @oneof */
85
88
  interface DescriptionMediaOneOf {
86
89
  /**
90
+ * @internal
87
91
  * @deprecated
88
92
  * @targetRemovalDate 2025-05-10
89
93
  */
90
94
  image?: Image;
91
95
  /**
96
+ * @internal
92
97
  * @deprecated
93
98
  * @targetRemovalDate 2025-05-10
94
99
  */
@@ -285,9 +290,9 @@ interface VideoResolution {
285
290
  assetKey?: string | null;
286
291
  }
287
292
  declare enum State {
288
- /** the section isn't ready to be shown to participants. */
293
+ /** Retained for backward compatibility. Doesn't affect whether the section is served. */
289
294
  DRAFT = "DRAFT",
290
- /** this content is visible to participants. */
295
+ /** Default state for new sections. */
291
296
  PUBLISHED = "PUBLISHED"
292
297
  }
293
298
  /** @enumType */
@@ -4,7 +4,7 @@ import { QuerySpec, Query, NonNullablePaths } from '@wix/sdk-types';
4
4
  /**
5
5
  * A section groups related steps within an online program.
6
6
  *
7
- * Sections can be drafted, published, reordered, and optionally released after a delay from the start of the parent program.
7
+ * Sections are published when created, and can be reordered and optionally released after a delay from the start of the parent program.
8
8
  */
9
9
  interface Section {
10
10
  /**
@@ -37,7 +37,7 @@ interface Section {
37
37
  programId?: string;
38
38
  /** Section title and deprecated backward-compatibility content fields. */
39
39
  description?: Description;
40
- /** Publication state of the section. */
40
+ /** Publication state of the section. If omitted when creating a section, the state defaults to `PUBLISHED`. */
41
41
  state?: StateWithLiterals;
42
42
  /**
43
43
  * Legacy total number of steps in the section.
@@ -63,11 +63,13 @@ interface Section {
63
63
  }
64
64
  interface Description extends DescriptionMediaOneOf {
65
65
  /**
66
+ * @internal
66
67
  * @deprecated
67
68
  * @targetRemovalDate 2025-05-10
68
69
  */
69
70
  image?: string;
70
71
  /**
72
+ * @internal
71
73
  * @deprecated
72
74
  * @targetRemovalDate 2025-05-10
73
75
  */
@@ -75,6 +77,7 @@ interface Description extends DescriptionMediaOneOf {
75
77
  /** @maxLength 500 */
76
78
  title?: string;
77
79
  /**
80
+ * @internal
78
81
  * @maxLength 10000000
79
82
  * @deprecated
80
83
  * @targetRemovalDate 2026-06-25
@@ -84,11 +87,13 @@ interface Description extends DescriptionMediaOneOf {
84
87
  /** @oneof */
85
88
  interface DescriptionMediaOneOf {
86
89
  /**
90
+ * @internal
87
91
  * @deprecated
88
92
  * @targetRemovalDate 2025-05-10
89
93
  */
90
94
  image?: string;
91
95
  /**
96
+ * @internal
92
97
  * @deprecated
93
98
  * @targetRemovalDate 2025-05-10
94
99
  */
@@ -175,9 +180,9 @@ interface VideoResolution {
175
180
  assetKey?: string | null;
176
181
  }
177
182
  declare enum State {
178
- /** the section isn't ready to be shown to participants. */
183
+ /** Retained for backward compatibility. Doesn't affect whether the section is served. */
179
184
  DRAFT = "DRAFT",
180
- /** this content is visible to participants. */
185
+ /** Default state for new sections. */
181
186
  PUBLISHED = "PUBLISHED"
182
187
  }
183
188
  /** @enumType */
@@ -1081,7 +1086,7 @@ interface UpdateSectionOptions {
1081
1086
  programId?: string;
1082
1087
  /** Section title and deprecated backward-compatibility content fields. */
1083
1088
  description?: Description;
1084
- /** Publication state of the section. */
1089
+ /** Publication state of the section. If omitted when creating a section, the state defaults to `PUBLISHED`. */
1085
1090
  state?: StateWithLiterals;
1086
1091
  /**
1087
1092
  * Legacy total number of steps in the section.
@@ -4,7 +4,7 @@ import '@wix/sdk-types';
4
4
  /**
5
5
  * A section groups related steps within an online program.
6
6
  *
7
- * Sections can be drafted, published, reordered, and optionally released after a delay from the start of the parent program.
7
+ * Sections are published when created, and can be reordered and optionally released after a delay from the start of the parent program.
8
8
  */
9
9
  interface Section {
10
10
  /**
@@ -37,7 +37,7 @@ interface Section {
37
37
  programId?: string;
38
38
  /** Section title and deprecated backward-compatibility content fields. */
39
39
  description?: Description;
40
- /** Publication state of the section. */
40
+ /** Publication state of the section. If omitted when creating a section, the state defaults to `PUBLISHED`. */
41
41
  state?: StateWithLiterals;
42
42
  /**
43
43
  * Legacy total number of steps in the section.
@@ -63,11 +63,13 @@ interface Section {
63
63
  }
64
64
  interface Description extends DescriptionMediaOneOf {
65
65
  /**
66
+ * @internal
66
67
  * @deprecated
67
68
  * @targetRemovalDate 2025-05-10
68
69
  */
69
70
  image?: Image;
70
71
  /**
72
+ * @internal
71
73
  * @deprecated
72
74
  * @targetRemovalDate 2025-05-10
73
75
  */
@@ -75,6 +77,7 @@ interface Description extends DescriptionMediaOneOf {
75
77
  /** @maxLength 500 */
76
78
  title?: string;
77
79
  /**
80
+ * @internal
78
81
  * @maxLength 10000000
79
82
  * @deprecated
80
83
  * @targetRemovalDate 2026-06-25
@@ -84,11 +87,13 @@ interface Description extends DescriptionMediaOneOf {
84
87
  /** @oneof */
85
88
  interface DescriptionMediaOneOf {
86
89
  /**
90
+ * @internal
87
91
  * @deprecated
88
92
  * @targetRemovalDate 2025-05-10
89
93
  */
90
94
  image?: Image;
91
95
  /**
96
+ * @internal
92
97
  * @deprecated
93
98
  * @targetRemovalDate 2025-05-10
94
99
  */
@@ -285,9 +290,9 @@ interface VideoResolution {
285
290
  assetKey?: string | null;
286
291
  }
287
292
  declare enum State {
288
- /** the section isn't ready to be shown to participants. */
293
+ /** Retained for backward compatibility. Doesn't affect whether the section is served. */
289
294
  DRAFT = "DRAFT",
290
- /** this content is visible to participants. */
295
+ /** Default state for new sections. */
291
296
  PUBLISHED = "PUBLISHED"
292
297
  }
293
298
  /** @enumType */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_online-programs_sections",
3
- "version": "1.0.18",
3
+ "version": "1.0.20",
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.section"
51
51
  }
52
52
  },
53
- "falconPackageHash": "5be185815f9599ba811e275cf2bc68b02a07affe4e8448bc16931fe0"
53
+ "falconPackageHash": "ada5f97b057e3c616b940613c44453b1de7ed4a82c877b0951dc78aa"
54
54
  }