@wix/auto_sdk_online-programs_sections 1.0.23 → 1.0.24

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.
@@ -13,7 +13,7 @@ interface CreateSectionSignature {
13
13
  * @param - Section to create. Must include `section.program_id`.
14
14
  * @returns Created section.
15
15
  */
16
- (section: NonNullablePaths<Section, `programId`, 2>, options?: CreateSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `ordering` | `delayInDays`, 3>>;
16
+ (section: NonNullablePaths<Section, `programId`, 0>, options?: CreateSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `ordering` | `delayInDays`, 1>>;
17
17
  }
18
18
  declare function bulkCreateSections$1(httpClient: HttpClient): BulkCreateSectionsSignature;
19
19
  interface BulkCreateSectionsSignature {
@@ -25,7 +25,7 @@ interface BulkCreateSectionsSignature {
25
25
  * To create a single section, call [Create Section](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/create-section).
26
26
  * @param - List of sections to create. Each section must include `program_id`, and all sections must belong to the same program.
27
27
  */
28
- (sections: NonNullablePaths<Section, `programId`, 2>[], options?: BulkCreateSectionsOptions): Promise<NonNullablePaths<BulkCreateSectionsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.action` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
28
+ (sections: NonNullablePaths<Section, `programId`, 0>[], options?: BulkCreateSectionsOptions): Promise<NonNullablePaths<BulkCreateSectionsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.action` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 4>>;
29
29
  }
30
30
  declare function getSection$1(httpClient: HttpClient): GetSectionSignature;
31
31
  interface GetSectionSignature {
@@ -36,7 +36,7 @@ interface GetSectionSignature {
36
36
  * @param - ID of the Section to retrieve.
37
37
  * @returns Retrieved section.
38
38
  */
39
- (sectionId: string, options?: GetSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `ordering` | `delayInDays`, 3>>;
39
+ (sectionId: string, options?: GetSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `ordering` | `delayInDays`, 1>>;
40
40
  }
41
41
  declare function updateSection$1(httpClient: HttpClient): UpdateSectionSignature;
42
42
  interface UpdateSectionSignature {
@@ -49,7 +49,7 @@ interface UpdateSectionSignature {
49
49
  * @param - Section ID.
50
50
  * @returns Updated section.
51
51
  */
52
- (_id: string, options?: NonNullablePaths<UpdateSectionOptions, `section.revision`, 3>): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `ordering` | `delayInDays`, 3>>;
52
+ (_id: string, options?: NonNullablePaths<UpdateSectionOptions, `section.revision`, 1>): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `ordering` | `delayInDays`, 1>>;
53
53
  }
54
54
  declare function deleteSection$1(httpClient: HttpClient): DeleteSectionSignature;
55
55
  interface DeleteSectionSignature {
@@ -71,7 +71,7 @@ interface ListSectionsSignature {
71
71
  * To filter or sort sections, call [Query Sections](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/query-sections).
72
72
  * @param - Program ID to list sections for.
73
73
  */
74
- (programId: string, options?: ListSectionsOptions): Promise<NonNullablePaths<ListSectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.oldTotalSteps` | `sections.${number}.ordering` | `sections.${number}.delayInDays`, 5>>;
74
+ (programId: string, options?: ListSectionsOptions): Promise<NonNullablePaths<ListSectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.oldTotalSteps` | `sections.${number}.ordering` | `sections.${number}.delayInDays`, 3>>;
75
75
  }
76
76
  declare function cloneSection$1(httpClient: HttpClient): CloneSectionSignature;
77
77
  interface CloneSectionSignature {
@@ -81,7 +81,7 @@ interface CloneSectionSignature {
81
81
  * The cloned section is added to the same program after the current last section. Translation content is copied to the cloned section.
82
82
  * @param - ID of the section to clone.
83
83
  */
84
- (sectionId: string, options?: CloneSectionOptions): Promise<NonNullablePaths<CloneSectionResponse, `section.programId` | `section.description.title` | `section.oldTotalSteps` | `section.ordering` | `section.delayInDays`, 4>>;
84
+ (sectionId: string, options?: CloneSectionOptions): Promise<NonNullablePaths<CloneSectionResponse, `section.programId` | `section.description.title` | `section.oldTotalSteps` | `section.ordering` | `section.delayInDays`, 2>>;
85
85
  }
86
86
  declare function moveSection$1(httpClient: HttpClient): MoveSectionSignature;
87
87
  interface MoveSectionSignature {
@@ -92,7 +92,7 @@ interface MoveSectionSignature {
92
92
  *
93
93
  * If `afterSectionId` isn't specified, the section is moved to the beginning of the program. The stored ordering value is recalculated automatically.
94
94
  */
95
- (options?: MoveSectionOptions): Promise<NonNullablePaths<MoveSectionResponse, `section.programId` | `section.description.title` | `section.oldTotalSteps` | `section.ordering` | `section.delayInDays`, 4>>;
95
+ (options?: MoveSectionOptions): Promise<NonNullablePaths<MoveSectionResponse, `section.programId` | `section.description.title` | `section.oldTotalSteps` | `section.ordering` | `section.delayInDays`, 2>>;
96
96
  }
97
97
 
98
98
  declare function customQuerySections(httpClient: HttpClient): {
@@ -987,7 +987,7 @@ interface AccountInfo {
987
987
  * @returns Created section.
988
988
  * @fqn wix.onlineprograms.sections.v3.SectionsService.CreateSection
989
989
  */
990
- declare function createSection(section: NonNullablePaths<Section, `programId`, 2>, options?: CreateSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `ordering` | `delayInDays`, 3>>;
990
+ declare function createSection(section: NonNullablePaths<Section, `programId`, 0>, options?: CreateSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `ordering` | `delayInDays`, 1>>;
991
991
  interface CreateSectionOptions {
992
992
  /**
993
993
  * Predefined sets of fields to return.
@@ -1010,7 +1010,7 @@ interface CreateSectionOptions {
1010
1010
  * @applicableIdentity APP
1011
1011
  * @fqn wix.onlineprograms.sections.v3.SectionsService.BulkCreateSections
1012
1012
  */
1013
- declare function bulkCreateSections(sections: NonNullablePaths<Section, `programId`, 2>[], options?: BulkCreateSectionsOptions): Promise<NonNullablePaths<BulkCreateSectionsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.action` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
1013
+ declare function bulkCreateSections(sections: NonNullablePaths<Section, `programId`, 0>[], options?: BulkCreateSectionsOptions): Promise<NonNullablePaths<BulkCreateSectionsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.action` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 4>>;
1014
1014
  interface BulkCreateSectionsOptions {
1015
1015
  /**
1016
1016
  * Predefined sets of fields to return.
@@ -1031,7 +1031,7 @@ interface BulkCreateSectionsOptions {
1031
1031
  * @returns Retrieved section.
1032
1032
  * @fqn wix.onlineprograms.sections.v3.SectionsService.GetSection
1033
1033
  */
1034
- declare function getSection(sectionId: string, options?: GetSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `ordering` | `delayInDays`, 3>>;
1034
+ declare function getSection(sectionId: string, options?: GetSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `ordering` | `delayInDays`, 1>>;
1035
1035
  interface GetSectionOptions {
1036
1036
  /** Compatibility option for existing integrations. Current section responses return the section title. */
1037
1037
  descriptionFieldSet?: DescriptionFieldSetWithLiterals;
@@ -1057,7 +1057,7 @@ interface GetSectionOptions {
1057
1057
  * @returns Updated section.
1058
1058
  * @fqn wix.onlineprograms.sections.v3.SectionsService.UpdateSection
1059
1059
  */
1060
- declare function updateSection(_id: string, options?: NonNullablePaths<UpdateSectionOptions, `section.revision`, 3>): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `ordering` | `delayInDays`, 3>>;
1060
+ declare function updateSection(_id: string, options?: NonNullablePaths<UpdateSectionOptions, `section.revision`, 1>): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `ordering` | `delayInDays`, 1>>;
1061
1061
  interface UpdateSectionOptions {
1062
1062
  section?: {
1063
1063
  /**
@@ -1249,7 +1249,7 @@ interface SectionsQueryBuilder {
1249
1249
  * @fqn wix.onlineprograms.sections.v3.SectionsService.QuerySections
1250
1250
  * @requiredField query
1251
1251
  */
1252
- declare function typedQuerySections(query: SectionQuery, options?: QuerySectionsOptions): Promise<NonNullablePaths<QuerySectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.oldTotalSteps` | `sections.${number}.ordering` | `sections.${number}.delayInDays`, 5>>;
1252
+ declare function typedQuerySections(query: SectionQuery, options?: QuerySectionsOptions): Promise<NonNullablePaths<QuerySectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.oldTotalSteps` | `sections.${number}.ordering` | `sections.${number}.delayInDays`, 3>>;
1253
1253
  interface SectionQuerySpec extends QuerySpec {
1254
1254
  paging: 'cursor';
1255
1255
  wql: [
@@ -1352,7 +1352,7 @@ declare const utils: {
1352
1352
  * @applicableIdentity APP
1353
1353
  * @fqn wix.onlineprograms.sections.v3.SectionsService.ListSections
1354
1354
  */
1355
- declare function listSections(programId: string, options?: ListSectionsOptions): Promise<NonNullablePaths<ListSectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.oldTotalSteps` | `sections.${number}.ordering` | `sections.${number}.delayInDays`, 5>>;
1355
+ declare function listSections(programId: string, options?: ListSectionsOptions): Promise<NonNullablePaths<ListSectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.oldTotalSteps` | `sections.${number}.ordering` | `sections.${number}.delayInDays`, 3>>;
1356
1356
  interface ListSectionsOptions {
1357
1357
  /** Compatibility option for existing integrations. Current section responses return the section title. */
1358
1358
  descriptionFieldSet?: DescriptionFieldSetWithLiterals;
@@ -1374,7 +1374,7 @@ interface ListSectionsOptions {
1374
1374
  * @applicableIdentity APP
1375
1375
  * @fqn wix.onlineprograms.sections.v3.SectionsService.CloneSection
1376
1376
  */
1377
- declare function cloneSection(sectionId: string, options?: CloneSectionOptions): Promise<NonNullablePaths<CloneSectionResponse, `section.programId` | `section.description.title` | `section.oldTotalSteps` | `section.ordering` | `section.delayInDays`, 4>>;
1377
+ declare function cloneSection(sectionId: string, options?: CloneSectionOptions): Promise<NonNullablePaths<CloneSectionResponse, `section.programId` | `section.description.title` | `section.oldTotalSteps` | `section.ordering` | `section.delayInDays`, 2>>;
1378
1378
  interface CloneSectionOptions {
1379
1379
  /**
1380
1380
  * Predefined sets of fields to return.
@@ -1394,7 +1394,7 @@ interface CloneSectionOptions {
1394
1394
  * @applicableIdentity APP
1395
1395
  * @fqn wix.onlineprograms.sections.v3.SectionsService.MoveSection
1396
1396
  */
1397
- declare function moveSection(options?: MoveSectionOptions): Promise<NonNullablePaths<MoveSectionResponse, `section.programId` | `section.description.title` | `section.oldTotalSteps` | `section.ordering` | `section.delayInDays`, 4>>;
1397
+ declare function moveSection(options?: MoveSectionOptions): Promise<NonNullablePaths<MoveSectionResponse, `section.programId` | `section.description.title` | `section.oldTotalSteps` | `section.ordering` | `section.delayInDays`, 2>>;
1398
1398
  interface MoveSectionOptions {
1399
1399
  /**
1400
1400
  * ID of the section to move.
@@ -13,7 +13,7 @@ interface CreateSectionSignature {
13
13
  * @param - Section to create. Must include `section.program_id`.
14
14
  * @returns Created section.
15
15
  */
16
- (section: NonNullablePaths<Section, `programId`, 2>, options?: CreateSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `ordering` | `delayInDays`, 3>>;
16
+ (section: NonNullablePaths<Section, `programId`, 0>, options?: CreateSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `ordering` | `delayInDays`, 1>>;
17
17
  }
18
18
  declare function bulkCreateSections$1(httpClient: HttpClient): BulkCreateSectionsSignature;
19
19
  interface BulkCreateSectionsSignature {
@@ -25,7 +25,7 @@ interface BulkCreateSectionsSignature {
25
25
  * To create a single section, call [Create Section](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/create-section).
26
26
  * @param - List of sections to create. Each section must include `program_id`, and all sections must belong to the same program.
27
27
  */
28
- (sections: NonNullablePaths<Section, `programId`, 2>[], options?: BulkCreateSectionsOptions): Promise<NonNullablePaths<BulkCreateSectionsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.action` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
28
+ (sections: NonNullablePaths<Section, `programId`, 0>[], options?: BulkCreateSectionsOptions): Promise<NonNullablePaths<BulkCreateSectionsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.action` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 4>>;
29
29
  }
30
30
  declare function getSection$1(httpClient: HttpClient): GetSectionSignature;
31
31
  interface GetSectionSignature {
@@ -36,7 +36,7 @@ interface GetSectionSignature {
36
36
  * @param - ID of the Section to retrieve.
37
37
  * @returns Retrieved section.
38
38
  */
39
- (sectionId: string, options?: GetSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `ordering` | `delayInDays`, 3>>;
39
+ (sectionId: string, options?: GetSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `ordering` | `delayInDays`, 1>>;
40
40
  }
41
41
  declare function updateSection$1(httpClient: HttpClient): UpdateSectionSignature;
42
42
  interface UpdateSectionSignature {
@@ -49,7 +49,7 @@ interface UpdateSectionSignature {
49
49
  * @param - Section ID.
50
50
  * @returns Updated section.
51
51
  */
52
- (_id: string, options?: NonNullablePaths<UpdateSectionOptions, `section.revision`, 3>): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `ordering` | `delayInDays`, 3>>;
52
+ (_id: string, options?: NonNullablePaths<UpdateSectionOptions, `section.revision`, 1>): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `ordering` | `delayInDays`, 1>>;
53
53
  }
54
54
  declare function deleteSection$1(httpClient: HttpClient): DeleteSectionSignature;
55
55
  interface DeleteSectionSignature {
@@ -71,7 +71,7 @@ interface ListSectionsSignature {
71
71
  * To filter or sort sections, call [Query Sections](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/query-sections).
72
72
  * @param - Program ID to list sections for.
73
73
  */
74
- (programId: string, options?: ListSectionsOptions): Promise<NonNullablePaths<ListSectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.oldTotalSteps` | `sections.${number}.ordering` | `sections.${number}.delayInDays`, 5>>;
74
+ (programId: string, options?: ListSectionsOptions): Promise<NonNullablePaths<ListSectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.oldTotalSteps` | `sections.${number}.ordering` | `sections.${number}.delayInDays`, 3>>;
75
75
  }
76
76
  declare function cloneSection$1(httpClient: HttpClient): CloneSectionSignature;
77
77
  interface CloneSectionSignature {
@@ -81,7 +81,7 @@ interface CloneSectionSignature {
81
81
  * The cloned section is added to the same program after the current last section. Translation content is copied to the cloned section.
82
82
  * @param - ID of the section to clone.
83
83
  */
84
- (sectionId: string, options?: CloneSectionOptions): Promise<NonNullablePaths<CloneSectionResponse, `section.programId` | `section.description.title` | `section.oldTotalSteps` | `section.ordering` | `section.delayInDays`, 4>>;
84
+ (sectionId: string, options?: CloneSectionOptions): Promise<NonNullablePaths<CloneSectionResponse, `section.programId` | `section.description.title` | `section.oldTotalSteps` | `section.ordering` | `section.delayInDays`, 2>>;
85
85
  }
86
86
  declare function moveSection$1(httpClient: HttpClient): MoveSectionSignature;
87
87
  interface MoveSectionSignature {
@@ -92,7 +92,7 @@ interface MoveSectionSignature {
92
92
  *
93
93
  * If `afterSectionId` isn't specified, the section is moved to the beginning of the program. The stored ordering value is recalculated automatically.
94
94
  */
95
- (options?: MoveSectionOptions): Promise<NonNullablePaths<MoveSectionResponse, `section.programId` | `section.description.title` | `section.oldTotalSteps` | `section.ordering` | `section.delayInDays`, 4>>;
95
+ (options?: MoveSectionOptions): Promise<NonNullablePaths<MoveSectionResponse, `section.programId` | `section.description.title` | `section.oldTotalSteps` | `section.ordering` | `section.delayInDays`, 2>>;
96
96
  }
97
97
 
98
98
  declare function customQuerySections(httpClient: HttpClient): {
@@ -987,7 +987,7 @@ interface AccountInfo {
987
987
  * @returns Created section.
988
988
  * @fqn wix.onlineprograms.sections.v3.SectionsService.CreateSection
989
989
  */
990
- declare function createSection(section: NonNullablePaths<Section, `programId`, 2>, options?: CreateSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `ordering` | `delayInDays`, 3>>;
990
+ declare function createSection(section: NonNullablePaths<Section, `programId`, 0>, options?: CreateSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `ordering` | `delayInDays`, 1>>;
991
991
  interface CreateSectionOptions {
992
992
  /**
993
993
  * Predefined sets of fields to return.
@@ -1010,7 +1010,7 @@ interface CreateSectionOptions {
1010
1010
  * @applicableIdentity APP
1011
1011
  * @fqn wix.onlineprograms.sections.v3.SectionsService.BulkCreateSections
1012
1012
  */
1013
- declare function bulkCreateSections(sections: NonNullablePaths<Section, `programId`, 2>[], options?: BulkCreateSectionsOptions): Promise<NonNullablePaths<BulkCreateSectionsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.action` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
1013
+ declare function bulkCreateSections(sections: NonNullablePaths<Section, `programId`, 0>[], options?: BulkCreateSectionsOptions): Promise<NonNullablePaths<BulkCreateSectionsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.action` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 4>>;
1014
1014
  interface BulkCreateSectionsOptions {
1015
1015
  /**
1016
1016
  * Predefined sets of fields to return.
@@ -1031,7 +1031,7 @@ interface BulkCreateSectionsOptions {
1031
1031
  * @returns Retrieved section.
1032
1032
  * @fqn wix.onlineprograms.sections.v3.SectionsService.GetSection
1033
1033
  */
1034
- declare function getSection(sectionId: string, options?: GetSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `ordering` | `delayInDays`, 3>>;
1034
+ declare function getSection(sectionId: string, options?: GetSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `ordering` | `delayInDays`, 1>>;
1035
1035
  interface GetSectionOptions {
1036
1036
  /** Compatibility option for existing integrations. Current section responses return the section title. */
1037
1037
  descriptionFieldSet?: DescriptionFieldSetWithLiterals;
@@ -1057,7 +1057,7 @@ interface GetSectionOptions {
1057
1057
  * @returns Updated section.
1058
1058
  * @fqn wix.onlineprograms.sections.v3.SectionsService.UpdateSection
1059
1059
  */
1060
- declare function updateSection(_id: string, options?: NonNullablePaths<UpdateSectionOptions, `section.revision`, 3>): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `ordering` | `delayInDays`, 3>>;
1060
+ declare function updateSection(_id: string, options?: NonNullablePaths<UpdateSectionOptions, `section.revision`, 1>): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `ordering` | `delayInDays`, 1>>;
1061
1061
  interface UpdateSectionOptions {
1062
1062
  section?: {
1063
1063
  /**
@@ -1249,7 +1249,7 @@ interface SectionsQueryBuilder {
1249
1249
  * @fqn wix.onlineprograms.sections.v3.SectionsService.QuerySections
1250
1250
  * @requiredField query
1251
1251
  */
1252
- declare function typedQuerySections(query: SectionQuery, options?: QuerySectionsOptions): Promise<NonNullablePaths<QuerySectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.oldTotalSteps` | `sections.${number}.ordering` | `sections.${number}.delayInDays`, 5>>;
1252
+ declare function typedQuerySections(query: SectionQuery, options?: QuerySectionsOptions): Promise<NonNullablePaths<QuerySectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.oldTotalSteps` | `sections.${number}.ordering` | `sections.${number}.delayInDays`, 3>>;
1253
1253
  interface SectionQuerySpec extends QuerySpec {
1254
1254
  paging: 'cursor';
1255
1255
  wql: [
@@ -1352,7 +1352,7 @@ declare const utils: {
1352
1352
  * @applicableIdentity APP
1353
1353
  * @fqn wix.onlineprograms.sections.v3.SectionsService.ListSections
1354
1354
  */
1355
- declare function listSections(programId: string, options?: ListSectionsOptions): Promise<NonNullablePaths<ListSectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.oldTotalSteps` | `sections.${number}.ordering` | `sections.${number}.delayInDays`, 5>>;
1355
+ declare function listSections(programId: string, options?: ListSectionsOptions): Promise<NonNullablePaths<ListSectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.oldTotalSteps` | `sections.${number}.ordering` | `sections.${number}.delayInDays`, 3>>;
1356
1356
  interface ListSectionsOptions {
1357
1357
  /** Compatibility option for existing integrations. Current section responses return the section title. */
1358
1358
  descriptionFieldSet?: DescriptionFieldSetWithLiterals;
@@ -1374,7 +1374,7 @@ interface ListSectionsOptions {
1374
1374
  * @applicableIdentity APP
1375
1375
  * @fqn wix.onlineprograms.sections.v3.SectionsService.CloneSection
1376
1376
  */
1377
- declare function cloneSection(sectionId: string, options?: CloneSectionOptions): Promise<NonNullablePaths<CloneSectionResponse, `section.programId` | `section.description.title` | `section.oldTotalSteps` | `section.ordering` | `section.delayInDays`, 4>>;
1377
+ declare function cloneSection(sectionId: string, options?: CloneSectionOptions): Promise<NonNullablePaths<CloneSectionResponse, `section.programId` | `section.description.title` | `section.oldTotalSteps` | `section.ordering` | `section.delayInDays`, 2>>;
1378
1378
  interface CloneSectionOptions {
1379
1379
  /**
1380
1380
  * Predefined sets of fields to return.
@@ -1394,7 +1394,7 @@ interface CloneSectionOptions {
1394
1394
  * @applicableIdentity APP
1395
1395
  * @fqn wix.onlineprograms.sections.v3.SectionsService.MoveSection
1396
1396
  */
1397
- declare function moveSection(options?: MoveSectionOptions): Promise<NonNullablePaths<MoveSectionResponse, `section.programId` | `section.description.title` | `section.oldTotalSteps` | `section.ordering` | `section.delayInDays`, 4>>;
1397
+ declare function moveSection(options?: MoveSectionOptions): Promise<NonNullablePaths<MoveSectionResponse, `section.programId` | `section.description.title` | `section.oldTotalSteps` | `section.ordering` | `section.delayInDays`, 2>>;
1398
1398
  interface MoveSectionOptions {
1399
1399
  /**
1400
1400
  * ID of the section to move.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_online-programs_sections",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
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": "b0e798a73b537494629af548557882ca45b98bbae57f74b5e8a2bdd9"
53
+ "falconPackageHash": "43c54583389c8c869e5c498341cfcb11f00f0f49d183f2c375a96721"
54
54
  }