@wix/auto_sdk_online-programs_sections 1.0.33 → 1.0.35
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 +30 -8
- package/build/cjs/index.js +122 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +130 -11
- package/build/cjs/index.typings.js +4 -4
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +5 -5
- package/build/cjs/meta.js +4 -4
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +30 -8
- package/build/es/index.mjs +118 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +130 -11
- package/build/es/index.typings.mjs +4 -4
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +5 -5
- package/build/es/meta.mjs +4 -4
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +30 -8
- package/build/internal/cjs/index.typings.d.ts +131 -14
- package/build/internal/cjs/meta.d.ts +6 -8
- package/build/internal/es/index.d.mts +30 -8
- package/build/internal/es/index.typings.d.mts +131 -14
- package/build/internal/es/meta.d.mts +6 -8
- package/package.json +2 -2
|
@@ -54,7 +54,7 @@ interface Section {
|
|
|
54
54
|
*/
|
|
55
55
|
ordering?: number;
|
|
56
56
|
/**
|
|
57
|
-
* Number of days before the section becomes available
|
|
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.
|
|
58
58
|
* @max 5000
|
|
59
59
|
*/
|
|
60
60
|
delayInDays?: number;
|
|
@@ -211,7 +211,7 @@ interface SectionDeleted {
|
|
|
211
211
|
interface SectionCloned {
|
|
212
212
|
/** Source section used for cloning. */
|
|
213
213
|
prototype?: Section;
|
|
214
|
-
/** 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. */
|
|
215
215
|
cloned?: Section;
|
|
216
216
|
}
|
|
217
217
|
interface SectionMoved {
|
|
@@ -224,7 +224,7 @@ interface SectionMoved {
|
|
|
224
224
|
newSectionPositionRank?: number;
|
|
225
225
|
}
|
|
226
226
|
interface CreateSectionRequest {
|
|
227
|
-
/** Section to create. Must include `section.
|
|
227
|
+
/** Section to create. Must include `section.programId`. */
|
|
228
228
|
section: Section;
|
|
229
229
|
/**
|
|
230
230
|
* Deprecated: `total_steps` is always returned. This field is ignored.
|
|
@@ -246,7 +246,7 @@ interface CreateSectionResponse {
|
|
|
246
246
|
}
|
|
247
247
|
interface BulkCreateSectionsRequest {
|
|
248
248
|
/**
|
|
249
|
-
* List of sections to create. Each section must include `
|
|
249
|
+
* List of sections to create. Each section must include `programId`, and all sections must belong to the same program.
|
|
250
250
|
* @minSize 1
|
|
251
251
|
* @maxSize 100
|
|
252
252
|
*/
|
|
@@ -312,7 +312,7 @@ interface BulkActionMetadata {
|
|
|
312
312
|
}
|
|
313
313
|
interface BulkCreateSectionRequest {
|
|
314
314
|
/**
|
|
315
|
-
* List of sections to create. Each section must include `
|
|
315
|
+
* List of sections to create. Each section must include `programId`, and all sections must belong to the same program.
|
|
316
316
|
* @minSize 1
|
|
317
317
|
* @maxSize 100
|
|
318
318
|
*/
|
|
@@ -367,9 +367,7 @@ interface UpdateSectionRequest {
|
|
|
367
367
|
/** Section to update. Include `section.id`, `section.revision`, and the fields to update. */
|
|
368
368
|
section?: Section;
|
|
369
369
|
/**
|
|
370
|
-
*
|
|
371
|
-
*
|
|
372
|
-
* Fields that aren't included in `fieldMask.paths` are ignored.
|
|
370
|
+
* Fields to update.
|
|
373
371
|
* @internal
|
|
374
372
|
*/
|
|
375
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.
|
|
3
|
+
"version": "1.0.35",
|
|
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": "
|
|
53
|
+
"falconPackageHash": "790aacaab51ea1b3c3352a415a86e9995c90bad2e27f855a18d1ed9b"
|
|
54
54
|
}
|