@wix/auto_sdk_online-programs_sections 1.0.30 → 1.0.31
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 +5 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +92 -30
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +45 -13
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +5 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +92 -30
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +45 -13
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +5 -5
- package/build/internal/cjs/index.typings.d.ts +92 -30
- package/build/internal/cjs/meta.d.ts +45 -13
- package/build/internal/es/index.d.mts +5 -5
- package/build/internal/es/index.typings.d.mts +92 -30
- package/build/internal/es/meta.d.mts +45 -13
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -35,8 +35,6 @@ declare function getSection$1(httpClient: HttpClient): GetSectionSignature;
|
|
|
35
35
|
interface GetSectionSignature {
|
|
36
36
|
/**
|
|
37
37
|
* Retrieves a section.
|
|
38
|
-
*
|
|
39
|
-
* `descriptionFieldSet` is retained for backward compatibility. Current section responses return the section title.
|
|
40
38
|
* @param - ID of the Section to retrieve.
|
|
41
39
|
* @returns Retrieved section.
|
|
42
40
|
*/
|
|
@@ -68,11 +66,13 @@ interface DeleteSectionSignature {
|
|
|
68
66
|
declare function listSections$1(httpClient: HttpClient): ListSectionsSignature;
|
|
69
67
|
interface ListSectionsSignature {
|
|
70
68
|
/**
|
|
71
|
-
* Retrieves
|
|
69
|
+
* Retrieves all sections in a program.
|
|
70
|
+
*
|
|
71
|
+
* Use this method when you know the program ID and need all sections in program order.
|
|
72
72
|
*
|
|
73
|
-
* Results are sorted by `ordering` in ascending order.
|
|
73
|
+
* Results are sorted by `ordering` in ascending order.
|
|
74
74
|
*
|
|
75
|
-
* To filter or
|
|
75
|
+
* To filter sections, apply custom sorting or paging, or query across programs, call [Query Sections](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/query-sections).
|
|
76
76
|
* @param - Program ID to list sections for.
|
|
77
77
|
*/
|
|
78
78
|
(programId: string, options?: ListSectionsOptions): Promise<NonNullablePaths<ListSectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.ordering` | `sections.${number}.delayInDays`, 3>>;
|