@wix/auto_sdk_online-programs_sections 1.0.19 → 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.
@@ -180,9 +180,9 @@ interface VideoResolution {
180
180
  assetKey?: string | null;
181
181
  }
182
182
  declare enum State {
183
- /** the section isn't ready to be shown to participants. */
183
+ /** Retained for backward compatibility. Doesn't affect whether the section is served. */
184
184
  DRAFT = "DRAFT",
185
- /** this content is visible to participants. */
185
+ /** Default state for new sections. */
186
186
  PUBLISHED = "PUBLISHED"
187
187
  }
188
188
  /** @enumType */
@@ -1086,7 +1086,7 @@ interface UpdateSectionOptions {
1086
1086
  programId?: string;
1087
1087
  /** Section title and deprecated backward-compatibility content fields. */
1088
1088
  description?: Description;
1089
- /** Publication state of the section. */
1089
+ /** Publication state of the section. If omitted when creating a section, the state defaults to `PUBLISHED`. */
1090
1090
  state?: StateWithLiterals;
1091
1091
  /**
1092
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.
@@ -290,9 +290,9 @@ interface VideoResolution {
290
290
  assetKey?: string | null;
291
291
  }
292
292
  declare enum State {
293
- /** the section isn't ready to be shown to participants. */
293
+ /** Retained for backward compatibility. Doesn't affect whether the section is served. */
294
294
  DRAFT = "DRAFT",
295
- /** this content is visible to participants. */
295
+ /** Default state for new sections. */
296
296
  PUBLISHED = "PUBLISHED"
297
297
  }
298
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.19",
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": "b6b2752a000ff7acd2de89cb27ebb40df26582c122d92a03e0162c7c"
53
+ "falconPackageHash": "ada5f97b057e3c616b940613c44453b1de7ed4a82c877b0951dc78aa"
54
54
  }