@wix/auto_sdk_online-programs_sections 1.0.32 → 1.0.34

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.
@@ -48,10 +48,13 @@ interface Section {
48
48
  * @readonly
49
49
  */
50
50
  totalSteps?: number | null;
51
- /** Position rank used to order sections within a program. To reorder sections, call Move Section. */
51
+ /**
52
+ * Position rank used to order sections within a program. To reorder sections, call Move Section.
53
+ * @readonly
54
+ */
52
55
  ordering?: number;
53
56
  /**
54
- * Number of days before the section becomes available counted from the program's start date for scheduled programs, or from the participant's enrollment date for self-paced ones. Someone joining a scheduled program after it began may find several sections already open. Use 0 for a section available from the start.
57
+ * Number of days before the section becomes available. The count starts from the program's start date for scheduled programs, or from the participant's enrollment date for self-paced ones. Someone joining a scheduled program after it began may find several sections already open. Use `0` for a section available from the start.
55
58
  * @max 5000
56
59
  */
57
60
  delayInDays?: number;
@@ -208,7 +211,7 @@ interface SectionDeleted {
208
211
  interface SectionCloned {
209
212
  /** Source section used for cloning. */
210
213
  prototype?: Section;
211
- /** Cloned section. */
214
+ /** Cloned section. Steps are cloned asynchronously after this event is sent, so `totalSteps` may not reflect the eventual number of cloned steps. Retrieve the section later for the current count. */
212
215
  cloned?: Section;
213
216
  }
214
217
  interface SectionMoved {
@@ -221,7 +224,7 @@ interface SectionMoved {
221
224
  newSectionPositionRank?: number;
222
225
  }
223
226
  interface CreateSectionRequest {
224
- /** Section to create. Must include `section.program_id`. */
227
+ /** Section to create. Must include `section.programId`. */
225
228
  section: Section;
226
229
  /**
227
230
  * Deprecated: `total_steps` is always returned. This field is ignored.
@@ -243,7 +246,7 @@ interface CreateSectionResponse {
243
246
  }
244
247
  interface BulkCreateSectionsRequest {
245
248
  /**
246
- * List of sections to create. Each section must include `program_id`, and all sections must belong to the same program.
249
+ * List of sections to create. Each section must include `programId`, and all sections must belong to the same program.
247
250
  * @minSize 1
248
251
  * @maxSize 100
249
252
  */
@@ -309,7 +312,7 @@ interface BulkActionMetadata {
309
312
  }
310
313
  interface BulkCreateSectionRequest {
311
314
  /**
312
- * List of sections to create. Each section must include `program_id`, and all sections must belong to the same program.
315
+ * List of sections to create. Each section must include `programId`, and all sections must belong to the same program.
313
316
  * @minSize 1
314
317
  * @maxSize 100
315
318
  */
@@ -364,9 +367,7 @@ interface UpdateSectionRequest {
364
367
  /** Section to update. Include `section.id`, `section.revision`, and the fields to update. */
365
368
  section?: Section;
366
369
  /**
367
- * Field mask that specifies which fields to update.
368
- *
369
- * Fields that aren't included in `fieldMask.paths` are ignored.
370
+ * Fields to update.
370
371
  * @internal
371
372
  */
372
373
  fieldMask?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_online-programs_sections",
3
- "version": "1.0.32",
3
+ "version": "1.0.34",
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": "94ea77e363c10668704e1dadb0a3fdf765686905dcb25a24a428c051"
53
+ "falconPackageHash": "a2888ec90feff3d0885d0ec4f45d9a8e4daa715989a44eede904449b"
54
54
  }