@wix/auto_sdk_online-programs_sections 1.0.24 → 1.0.25
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 +6 -6
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +7 -17
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +0 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +6 -6
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +7 -17
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +0 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +6 -6
- package/build/internal/cjs/index.typings.d.ts +7 -17
- package/build/internal/cjs/meta.d.ts +0 -5
- package/build/internal/es/index.d.mts +6 -6
- package/build/internal/es/index.typings.d.mts +7 -17
- package/build/internal/es/meta.d.mts +0 -5
- package/package.json +2 -2
|
@@ -43,11 +43,6 @@ interface Section {
|
|
|
43
43
|
* @targetRemovalDate 2026-09-22
|
|
44
44
|
*/
|
|
45
45
|
state?: StateWithLiterals;
|
|
46
|
-
/**
|
|
47
|
-
* Legacy total number of steps in the section.
|
|
48
|
-
* @readonly
|
|
49
|
-
*/
|
|
50
|
-
oldTotalSteps?: number;
|
|
51
46
|
/**
|
|
52
47
|
* Total number of steps in the section.
|
|
53
48
|
* @readonly
|
|
@@ -987,7 +982,7 @@ interface AccountInfo {
|
|
|
987
982
|
* @returns Created section.
|
|
988
983
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.CreateSection
|
|
989
984
|
*/
|
|
990
|
-
declare function createSection(section: NonNullablePaths<Section, `programId`, 0>, options?: CreateSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `
|
|
985
|
+
declare function createSection(section: NonNullablePaths<Section, `programId`, 0>, options?: CreateSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `ordering` | `delayInDays`, 1>>;
|
|
991
986
|
interface CreateSectionOptions {
|
|
992
987
|
/**
|
|
993
988
|
* Predefined sets of fields to return.
|
|
@@ -1031,7 +1026,7 @@ interface BulkCreateSectionsOptions {
|
|
|
1031
1026
|
* @returns Retrieved section.
|
|
1032
1027
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.GetSection
|
|
1033
1028
|
*/
|
|
1034
|
-
declare function getSection(sectionId: string, options?: GetSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `
|
|
1029
|
+
declare function getSection(sectionId: string, options?: GetSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `ordering` | `delayInDays`, 1>>;
|
|
1035
1030
|
interface GetSectionOptions {
|
|
1036
1031
|
/** Compatibility option for existing integrations. Current section responses return the section title. */
|
|
1037
1032
|
descriptionFieldSet?: DescriptionFieldSetWithLiterals;
|
|
@@ -1057,7 +1052,7 @@ interface GetSectionOptions {
|
|
|
1057
1052
|
* @returns Updated section.
|
|
1058
1053
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.UpdateSection
|
|
1059
1054
|
*/
|
|
1060
|
-
declare function updateSection(_id: string, options?: NonNullablePaths<UpdateSectionOptions, `section.revision`, 1>): Promise<NonNullablePaths<Section, `programId` | `description.title` | `
|
|
1055
|
+
declare function updateSection(_id: string, options?: NonNullablePaths<UpdateSectionOptions, `section.revision`, 1>): Promise<NonNullablePaths<Section, `programId` | `description.title` | `ordering` | `delayInDays`, 1>>;
|
|
1061
1056
|
interface UpdateSectionOptions {
|
|
1062
1057
|
section?: {
|
|
1063
1058
|
/**
|
|
@@ -1096,11 +1091,6 @@ interface UpdateSectionOptions {
|
|
|
1096
1091
|
* @targetRemovalDate 2026-09-22
|
|
1097
1092
|
*/
|
|
1098
1093
|
state?: StateWithLiterals;
|
|
1099
|
-
/**
|
|
1100
|
-
* Legacy total number of steps in the section.
|
|
1101
|
-
* @readonly
|
|
1102
|
-
*/
|
|
1103
|
-
oldTotalSteps?: number;
|
|
1104
1094
|
/**
|
|
1105
1095
|
* Total number of steps in the section.
|
|
1106
1096
|
* @readonly
|
|
@@ -1249,7 +1239,7 @@ interface SectionsQueryBuilder {
|
|
|
1249
1239
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.QuerySections
|
|
1250
1240
|
* @requiredField query
|
|
1251
1241
|
*/
|
|
1252
|
-
declare function typedQuerySections(query: SectionQuery, options?: QuerySectionsOptions): Promise<NonNullablePaths<QuerySectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.
|
|
1242
|
+
declare function typedQuerySections(query: SectionQuery, options?: QuerySectionsOptions): Promise<NonNullablePaths<QuerySectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.ordering` | `sections.${number}.delayInDays`, 3>>;
|
|
1253
1243
|
interface SectionQuerySpec extends QuerySpec {
|
|
1254
1244
|
paging: 'cursor';
|
|
1255
1245
|
wql: [
|
|
@@ -1352,7 +1342,7 @@ declare const utils: {
|
|
|
1352
1342
|
* @applicableIdentity APP
|
|
1353
1343
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.ListSections
|
|
1354
1344
|
*/
|
|
1355
|
-
declare function listSections(programId: string, options?: ListSectionsOptions): Promise<NonNullablePaths<ListSectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.
|
|
1345
|
+
declare function listSections(programId: string, options?: ListSectionsOptions): Promise<NonNullablePaths<ListSectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.ordering` | `sections.${number}.delayInDays`, 3>>;
|
|
1356
1346
|
interface ListSectionsOptions {
|
|
1357
1347
|
/** Compatibility option for existing integrations. Current section responses return the section title. */
|
|
1358
1348
|
descriptionFieldSet?: DescriptionFieldSetWithLiterals;
|
|
@@ -1374,7 +1364,7 @@ interface ListSectionsOptions {
|
|
|
1374
1364
|
* @applicableIdentity APP
|
|
1375
1365
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.CloneSection
|
|
1376
1366
|
*/
|
|
1377
|
-
declare function cloneSection(sectionId: string, options?: CloneSectionOptions): Promise<NonNullablePaths<CloneSectionResponse, `section.programId` | `section.description.title` | `section.
|
|
1367
|
+
declare function cloneSection(sectionId: string, options?: CloneSectionOptions): Promise<NonNullablePaths<CloneSectionResponse, `section.programId` | `section.description.title` | `section.ordering` | `section.delayInDays`, 2>>;
|
|
1378
1368
|
interface CloneSectionOptions {
|
|
1379
1369
|
/**
|
|
1380
1370
|
* Predefined sets of fields to return.
|
|
@@ -1394,7 +1384,7 @@ interface CloneSectionOptions {
|
|
|
1394
1384
|
* @applicableIdentity APP
|
|
1395
1385
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.MoveSection
|
|
1396
1386
|
*/
|
|
1397
|
-
declare function moveSection(options?: MoveSectionOptions): Promise<NonNullablePaths<MoveSectionResponse, `section.programId` | `section.description.title` | `section.
|
|
1387
|
+
declare function moveSection(options?: MoveSectionOptions): Promise<NonNullablePaths<MoveSectionResponse, `section.programId` | `section.description.title` | `section.ordering` | `section.delayInDays`, 2>>;
|
|
1398
1388
|
interface MoveSectionOptions {
|
|
1399
1389
|
/**
|
|
1400
1390
|
* ID of the section to move.
|
|
@@ -43,11 +43,6 @@ interface Section {
|
|
|
43
43
|
* @targetRemovalDate 2026-09-22
|
|
44
44
|
*/
|
|
45
45
|
state?: StateWithLiterals;
|
|
46
|
-
/**
|
|
47
|
-
* Legacy total number of steps in the section.
|
|
48
|
-
* @readonly
|
|
49
|
-
*/
|
|
50
|
-
oldTotalSteps?: number;
|
|
51
46
|
/**
|
|
52
47
|
* Total number of steps in the section.
|
|
53
48
|
* @readonly
|
|
@@ -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`, 0>, options?: CreateSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `
|
|
16
|
+
(section: NonNullablePaths<Section, `programId`, 0>, options?: CreateSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `ordering` | `delayInDays`, 1>>;
|
|
17
17
|
}
|
|
18
18
|
declare function bulkCreateSections$1(httpClient: HttpClient): BulkCreateSectionsSignature;
|
|
19
19
|
interface BulkCreateSectionsSignature {
|
|
@@ -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` | `
|
|
39
|
+
(sectionId: string, options?: GetSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `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`, 1>): Promise<NonNullablePaths<Section, `programId` | `description.title` | `
|
|
52
|
+
(_id: string, options?: NonNullablePaths<UpdateSectionOptions, `section.revision`, 1>): Promise<NonNullablePaths<Section, `programId` | `description.title` | `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}.
|
|
74
|
+
(programId: string, options?: ListSectionsOptions): Promise<NonNullablePaths<ListSectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `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.
|
|
84
|
+
(sectionId: string, options?: CloneSectionOptions): Promise<NonNullablePaths<CloneSectionResponse, `section.programId` | `section.description.title` | `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.
|
|
95
|
+
(options?: MoveSectionOptions): Promise<NonNullablePaths<MoveSectionResponse, `section.programId` | `section.description.title` | `section.ordering` | `section.delayInDays`, 2>>;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
declare function customQuerySections(httpClient: HttpClient): {
|
|
@@ -43,11 +43,6 @@ interface Section {
|
|
|
43
43
|
* @targetRemovalDate 2026-09-22
|
|
44
44
|
*/
|
|
45
45
|
state?: StateWithLiterals;
|
|
46
|
-
/**
|
|
47
|
-
* Legacy total number of steps in the section.
|
|
48
|
-
* @readonly
|
|
49
|
-
*/
|
|
50
|
-
oldTotalSteps?: number;
|
|
51
46
|
/**
|
|
52
47
|
* Total number of steps in the section.
|
|
53
48
|
* @readonly
|
|
@@ -987,7 +982,7 @@ interface AccountInfo {
|
|
|
987
982
|
* @returns Created section.
|
|
988
983
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.CreateSection
|
|
989
984
|
*/
|
|
990
|
-
declare function createSection(section: NonNullablePaths<Section, `programId`, 0>, options?: CreateSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `
|
|
985
|
+
declare function createSection(section: NonNullablePaths<Section, `programId`, 0>, options?: CreateSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `ordering` | `delayInDays`, 1>>;
|
|
991
986
|
interface CreateSectionOptions {
|
|
992
987
|
/**
|
|
993
988
|
* Predefined sets of fields to return.
|
|
@@ -1031,7 +1026,7 @@ interface BulkCreateSectionsOptions {
|
|
|
1031
1026
|
* @returns Retrieved section.
|
|
1032
1027
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.GetSection
|
|
1033
1028
|
*/
|
|
1034
|
-
declare function getSection(sectionId: string, options?: GetSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `
|
|
1029
|
+
declare function getSection(sectionId: string, options?: GetSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `ordering` | `delayInDays`, 1>>;
|
|
1035
1030
|
interface GetSectionOptions {
|
|
1036
1031
|
/** Compatibility option for existing integrations. Current section responses return the section title. */
|
|
1037
1032
|
descriptionFieldSet?: DescriptionFieldSetWithLiterals;
|
|
@@ -1057,7 +1052,7 @@ interface GetSectionOptions {
|
|
|
1057
1052
|
* @returns Updated section.
|
|
1058
1053
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.UpdateSection
|
|
1059
1054
|
*/
|
|
1060
|
-
declare function updateSection(_id: string, options?: NonNullablePaths<UpdateSectionOptions, `section.revision`, 1>): Promise<NonNullablePaths<Section, `programId` | `description.title` | `
|
|
1055
|
+
declare function updateSection(_id: string, options?: NonNullablePaths<UpdateSectionOptions, `section.revision`, 1>): Promise<NonNullablePaths<Section, `programId` | `description.title` | `ordering` | `delayInDays`, 1>>;
|
|
1061
1056
|
interface UpdateSectionOptions {
|
|
1062
1057
|
section?: {
|
|
1063
1058
|
/**
|
|
@@ -1096,11 +1091,6 @@ interface UpdateSectionOptions {
|
|
|
1096
1091
|
* @targetRemovalDate 2026-09-22
|
|
1097
1092
|
*/
|
|
1098
1093
|
state?: StateWithLiterals;
|
|
1099
|
-
/**
|
|
1100
|
-
* Legacy total number of steps in the section.
|
|
1101
|
-
* @readonly
|
|
1102
|
-
*/
|
|
1103
|
-
oldTotalSteps?: number;
|
|
1104
1094
|
/**
|
|
1105
1095
|
* Total number of steps in the section.
|
|
1106
1096
|
* @readonly
|
|
@@ -1249,7 +1239,7 @@ interface SectionsQueryBuilder {
|
|
|
1249
1239
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.QuerySections
|
|
1250
1240
|
* @requiredField query
|
|
1251
1241
|
*/
|
|
1252
|
-
declare function typedQuerySections(query: SectionQuery, options?: QuerySectionsOptions): Promise<NonNullablePaths<QuerySectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.
|
|
1242
|
+
declare function typedQuerySections(query: SectionQuery, options?: QuerySectionsOptions): Promise<NonNullablePaths<QuerySectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.ordering` | `sections.${number}.delayInDays`, 3>>;
|
|
1253
1243
|
interface SectionQuerySpec extends QuerySpec {
|
|
1254
1244
|
paging: 'cursor';
|
|
1255
1245
|
wql: [
|
|
@@ -1352,7 +1342,7 @@ declare const utils: {
|
|
|
1352
1342
|
* @applicableIdentity APP
|
|
1353
1343
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.ListSections
|
|
1354
1344
|
*/
|
|
1355
|
-
declare function listSections(programId: string, options?: ListSectionsOptions): Promise<NonNullablePaths<ListSectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.
|
|
1345
|
+
declare function listSections(programId: string, options?: ListSectionsOptions): Promise<NonNullablePaths<ListSectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.ordering` | `sections.${number}.delayInDays`, 3>>;
|
|
1356
1346
|
interface ListSectionsOptions {
|
|
1357
1347
|
/** Compatibility option for existing integrations. Current section responses return the section title. */
|
|
1358
1348
|
descriptionFieldSet?: DescriptionFieldSetWithLiterals;
|
|
@@ -1374,7 +1364,7 @@ interface ListSectionsOptions {
|
|
|
1374
1364
|
* @applicableIdentity APP
|
|
1375
1365
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.CloneSection
|
|
1376
1366
|
*/
|
|
1377
|
-
declare function cloneSection(sectionId: string, options?: CloneSectionOptions): Promise<NonNullablePaths<CloneSectionResponse, `section.programId` | `section.description.title` | `section.
|
|
1367
|
+
declare function cloneSection(sectionId: string, options?: CloneSectionOptions): Promise<NonNullablePaths<CloneSectionResponse, `section.programId` | `section.description.title` | `section.ordering` | `section.delayInDays`, 2>>;
|
|
1378
1368
|
interface CloneSectionOptions {
|
|
1379
1369
|
/**
|
|
1380
1370
|
* Predefined sets of fields to return.
|
|
@@ -1394,7 +1384,7 @@ interface CloneSectionOptions {
|
|
|
1394
1384
|
* @applicableIdentity APP
|
|
1395
1385
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.MoveSection
|
|
1396
1386
|
*/
|
|
1397
|
-
declare function moveSection(options?: MoveSectionOptions): Promise<NonNullablePaths<MoveSectionResponse, `section.programId` | `section.description.title` | `section.
|
|
1387
|
+
declare function moveSection(options?: MoveSectionOptions): Promise<NonNullablePaths<MoveSectionResponse, `section.programId` | `section.description.title` | `section.ordering` | `section.delayInDays`, 2>>;
|
|
1398
1388
|
interface MoveSectionOptions {
|
|
1399
1389
|
/**
|
|
1400
1390
|
* ID of the section to move.
|
|
@@ -43,11 +43,6 @@ interface Section {
|
|
|
43
43
|
* @targetRemovalDate 2026-09-22
|
|
44
44
|
*/
|
|
45
45
|
state?: StateWithLiterals;
|
|
46
|
-
/**
|
|
47
|
-
* Legacy total number of steps in the section.
|
|
48
|
-
* @readonly
|
|
49
|
-
*/
|
|
50
|
-
oldTotalSteps?: number;
|
|
51
46
|
/**
|
|
52
47
|
* Total number of steps in the section.
|
|
53
48
|
* @readonly
|
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.25",
|
|
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": "66db95a29140cfc1ca24df89067a5f200af16c37a72ee98b830c4187"
|
|
54
54
|
}
|