@wix/auto_sdk_online-programs_sections 1.0.20 → 1.0.22
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 +11 -23
- package/build/cjs/index.js +0 -107
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +19 -48
- package/build/cjs/index.typings.js +0 -99
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -5
- package/build/cjs/meta.js +0 -75
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +11 -23
- package/build/es/index.mjs +0 -106
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +19 -48
- package/build/es/index.typings.mjs +0 -98
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +2 -5
- package/build/es/meta.mjs +0 -74
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +11 -23
- package/build/internal/cjs/index.typings.d.ts +29 -46
- package/build/internal/cjs/meta.d.ts +7 -4
- package/build/internal/es/index.d.mts +11 -23
- package/build/internal/es/index.typings.d.mts +29 -46
- package/build/internal/es/meta.d.mts +7 -4
- package/package.json +2 -2
|
@@ -37,7 +37,11 @@ interface Section {
|
|
|
37
37
|
programId?: string;
|
|
38
38
|
/** Section title and deprecated backward-compatibility content fields. */
|
|
39
39
|
description?: Description;
|
|
40
|
-
/**
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
* @deprecated
|
|
43
|
+
* @targetRemovalDate 2026-09-22
|
|
44
|
+
*/
|
|
41
45
|
state?: StateWithLiterals;
|
|
42
46
|
/**
|
|
43
47
|
* Legacy total number of steps in the section.
|
|
@@ -979,12 +983,13 @@ interface AccountInfo {
|
|
|
979
983
|
* @public
|
|
980
984
|
* @documentationMaturity preview
|
|
981
985
|
* @requiredField section
|
|
986
|
+
* @requiredField section.programId
|
|
982
987
|
* @permissionId ONLINE_PROGRAMS.SECTION_CREATE
|
|
983
988
|
* @applicableIdentity APP
|
|
984
989
|
* @returns Created section.
|
|
985
990
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.CreateSection
|
|
986
991
|
*/
|
|
987
|
-
declare function createSection(section: Section, options?: CreateSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `
|
|
992
|
+
declare function createSection(section: NonNullablePaths<Section, `programId`, 2>, options?: CreateSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `trialSection` | `ordering` | `delayInDays`, 3>>;
|
|
988
993
|
interface CreateSectionOptions {
|
|
989
994
|
/**
|
|
990
995
|
* Predefined sets of fields to return.
|
|
@@ -1002,11 +1007,12 @@ interface CreateSectionOptions {
|
|
|
1002
1007
|
* @public
|
|
1003
1008
|
* @documentationMaturity preview
|
|
1004
1009
|
* @requiredField sections
|
|
1010
|
+
* @requiredField sections.programId
|
|
1005
1011
|
* @permissionId ONLINE_PROGRAMS.SECTION_CREATE
|
|
1006
1012
|
* @applicableIdentity APP
|
|
1007
1013
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.BulkCreateSections
|
|
1008
1014
|
*/
|
|
1009
|
-
declare function bulkCreateSections(sections: Section[], 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>>;
|
|
1015
|
+
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>>;
|
|
1010
1016
|
interface BulkCreateSectionsOptions {
|
|
1011
1017
|
/**
|
|
1012
1018
|
* Predefined sets of fields to return.
|
|
@@ -1027,7 +1033,7 @@ interface BulkCreateSectionsOptions {
|
|
|
1027
1033
|
* @returns Retrieved section.
|
|
1028
1034
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.GetSection
|
|
1029
1035
|
*/
|
|
1030
|
-
declare function getSection(sectionId: string, options?: GetSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `
|
|
1036
|
+
declare function getSection(sectionId: string, options?: GetSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `trialSection` | `ordering` | `delayInDays`, 3>>;
|
|
1031
1037
|
interface GetSectionOptions {
|
|
1032
1038
|
/** Compatibility option for existing integrations. Current section responses return the section title. */
|
|
1033
1039
|
descriptionFieldSet?: DescriptionFieldSetWithLiterals;
|
|
@@ -1042,7 +1048,7 @@ interface GetSectionOptions {
|
|
|
1042
1048
|
*
|
|
1043
1049
|
* Each time the section is updated, `revision` increments by 1. The current `revision` must be passed when updating the section. This ensures you're working with the latest section and prevents unintended overwrites.
|
|
1044
1050
|
*
|
|
1045
|
-
* Use this method to update section content and settings. To reorder a section, call [Move Section](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/move-section).
|
|
1051
|
+
* Use this method to update section content and settings. To reorder a section, call [Move Section](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/move-section).
|
|
1046
1052
|
* @param _id - Section ID.
|
|
1047
1053
|
* @public
|
|
1048
1054
|
* @documentationMaturity preview
|
|
@@ -1053,7 +1059,7 @@ interface GetSectionOptions {
|
|
|
1053
1059
|
* @returns Updated section.
|
|
1054
1060
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.UpdateSection
|
|
1055
1061
|
*/
|
|
1056
|
-
declare function updateSection(_id: string, options?: NonNullablePaths<UpdateSectionOptions, `section.revision`, 3>): Promise<NonNullablePaths<Section, `programId` | `description.title` | `
|
|
1062
|
+
declare function updateSection(_id: string, options?: NonNullablePaths<UpdateSectionOptions, `section.revision`, 3>): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `trialSection` | `ordering` | `delayInDays`, 3>>;
|
|
1057
1063
|
interface UpdateSectionOptions {
|
|
1058
1064
|
section?: {
|
|
1059
1065
|
/**
|
|
@@ -1086,7 +1092,11 @@ interface UpdateSectionOptions {
|
|
|
1086
1092
|
programId?: string;
|
|
1087
1093
|
/** Section title and deprecated backward-compatibility content fields. */
|
|
1088
1094
|
description?: Description;
|
|
1089
|
-
/**
|
|
1095
|
+
/**
|
|
1096
|
+
* @internal
|
|
1097
|
+
* @deprecated
|
|
1098
|
+
* @targetRemovalDate 2026-09-22
|
|
1099
|
+
*/
|
|
1090
1100
|
state?: StateWithLiterals;
|
|
1091
1101
|
/**
|
|
1092
1102
|
* Legacy total number of steps in the section.
|
|
@@ -1138,8 +1148,8 @@ declare function deleteSection(sectionId: string): Promise<void>;
|
|
|
1138
1148
|
* - `paging.limit` is `1000`.
|
|
1139
1149
|
* - `paging.offset` is `0`.
|
|
1140
1150
|
*
|
|
1141
|
-
* Supported filter fields are `programId`, `id`, `delayInDays`,
|
|
1142
|
-
* Supported sorting fields are `id`, `delayInDays`, `trialSection`, `
|
|
1151
|
+
* Supported filter fields are `programId`, `id`, `delayInDays`, and `trialSection`.
|
|
1152
|
+
* Supported sorting fields are `id`, `delayInDays`, `trialSection`, `createdDate`, and `ordering`. When sorting by a field other than `programId`, also filter by `programId`.
|
|
1143
1153
|
* `descriptionFieldSet` is retained for backward compatibility. Current section responses return the section title.
|
|
1144
1154
|
*
|
|
1145
1155
|
* To learn about working with Query methods, see [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language), [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging), and [Field Projection](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-field-projection).
|
|
@@ -1184,12 +1194,12 @@ interface SectionsQueryBuilder {
|
|
|
1184
1194
|
* @param value - Value to compare against.
|
|
1185
1195
|
* @documentationMaturity preview
|
|
1186
1196
|
*/
|
|
1187
|
-
eq: (propertyName: '_id' | 'programId' | '
|
|
1197
|
+
eq: (propertyName: '_id' | 'programId' | 'trialSection' | 'delayInDays', value: any) => SectionsQueryBuilder;
|
|
1188
1198
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
1189
1199
|
* @param value - Value to compare against.
|
|
1190
1200
|
* @documentationMaturity preview
|
|
1191
1201
|
*/
|
|
1192
|
-
ne: (propertyName: '_id' | '
|
|
1202
|
+
ne: (propertyName: '_id' | 'trialSection' | 'delayInDays', value: any) => SectionsQueryBuilder;
|
|
1193
1203
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
1194
1204
|
* @param value - Value to compare against.
|
|
1195
1205
|
* @documentationMaturity preview
|
|
@@ -1216,9 +1226,9 @@ interface SectionsQueryBuilder {
|
|
|
1216
1226
|
*/
|
|
1217
1227
|
startsWith: (propertyName: '_id', value: string) => SectionsQueryBuilder;
|
|
1218
1228
|
/** @documentationMaturity preview */
|
|
1219
|
-
in: (propertyName: '_id' | '
|
|
1229
|
+
in: (propertyName: '_id' | 'trialSection' | 'delayInDays', value: any) => SectionsQueryBuilder;
|
|
1220
1230
|
/** @documentationMaturity preview */
|
|
1221
|
-
exists: (propertyName: '_id' | '
|
|
1231
|
+
exists: (propertyName: '_id' | 'trialSection' | 'delayInDays', value: boolean) => SectionsQueryBuilder;
|
|
1222
1232
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
1223
1233
|
* @documentationMaturity preview
|
|
1224
1234
|
*/
|
|
@@ -1243,7 +1253,7 @@ interface SectionsQueryBuilder {
|
|
|
1243
1253
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.QuerySections
|
|
1244
1254
|
* @requiredField query
|
|
1245
1255
|
*/
|
|
1246
|
-
declare function typedQuerySections(query: SectionQuery, options?: QuerySectionsOptions): Promise<NonNullablePaths<QuerySectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.
|
|
1256
|
+
declare function typedQuerySections(query: SectionQuery, options?: QuerySectionsOptions): Promise<NonNullablePaths<QuerySectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.oldTotalSteps` | `sections.${number}.trialSection` | `sections.${number}.ordering` | `sections.${number}.delayInDays`, 5>>;
|
|
1247
1257
|
interface SectionQuerySpec extends QuerySpec {
|
|
1248
1258
|
paging: 'cursor';
|
|
1249
1259
|
wql: [
|
|
@@ -1253,7 +1263,7 @@ interface SectionQuerySpec extends QuerySpec {
|
|
|
1253
1263
|
sort: 'NONE';
|
|
1254
1264
|
},
|
|
1255
1265
|
{
|
|
1256
|
-
fields: ['_id', 'delayInDays', '
|
|
1266
|
+
fields: ['_id', 'delayInDays', 'trialSection'];
|
|
1257
1267
|
operators: '*';
|
|
1258
1268
|
sort: 'BOTH';
|
|
1259
1269
|
},
|
|
@@ -1346,7 +1356,7 @@ declare const utils: {
|
|
|
1346
1356
|
* @applicableIdentity APP
|
|
1347
1357
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.ListSections
|
|
1348
1358
|
*/
|
|
1349
|
-
declare function listSections(programId: string, options?: ListSectionsOptions): Promise<NonNullablePaths<ListSectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.
|
|
1359
|
+
declare function listSections(programId: string, options?: ListSectionsOptions): Promise<NonNullablePaths<ListSectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.oldTotalSteps` | `sections.${number}.trialSection` | `sections.${number}.ordering` | `sections.${number}.delayInDays`, 5>>;
|
|
1350
1360
|
interface ListSectionsOptions {
|
|
1351
1361
|
/** Compatibility option for existing integrations. Current section responses return the section title. */
|
|
1352
1362
|
descriptionFieldSet?: DescriptionFieldSetWithLiterals;
|
|
@@ -1368,7 +1378,7 @@ interface ListSectionsOptions {
|
|
|
1368
1378
|
* @applicableIdentity APP
|
|
1369
1379
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.CloneSection
|
|
1370
1380
|
*/
|
|
1371
|
-
declare function cloneSection(sectionId: string, options?: CloneSectionOptions): Promise<NonNullablePaths<CloneSectionResponse, `section.programId` | `section.description.title` | `section.
|
|
1381
|
+
declare function cloneSection(sectionId: string, options?: CloneSectionOptions): Promise<NonNullablePaths<CloneSectionResponse, `section.programId` | `section.description.title` | `section.oldTotalSteps` | `section.trialSection` | `section.ordering` | `section.delayInDays`, 4>>;
|
|
1372
1382
|
interface CloneSectionOptions {
|
|
1373
1383
|
/**
|
|
1374
1384
|
* Predefined sets of fields to return.
|
|
@@ -1388,7 +1398,7 @@ interface CloneSectionOptions {
|
|
|
1388
1398
|
* @applicableIdentity APP
|
|
1389
1399
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.MoveSection
|
|
1390
1400
|
*/
|
|
1391
|
-
declare function moveSection(options?: MoveSectionOptions): Promise<NonNullablePaths<MoveSectionResponse, `section.programId` | `section.description.title` | `section.
|
|
1401
|
+
declare function moveSection(options?: MoveSectionOptions): Promise<NonNullablePaths<MoveSectionResponse, `section.programId` | `section.description.title` | `section.oldTotalSteps` | `section.trialSection` | `section.ordering` | `section.delayInDays`, 4>>;
|
|
1392
1402
|
interface MoveSectionOptions {
|
|
1393
1403
|
/**
|
|
1394
1404
|
* ID of the section to move.
|
|
@@ -1408,32 +1418,5 @@ interface MoveSectionOptions {
|
|
|
1408
1418
|
*/
|
|
1409
1419
|
fields?: RequestedFieldsWithLiterals[];
|
|
1410
1420
|
}
|
|
1411
|
-
/**
|
|
1412
|
-
* Publishes a section.
|
|
1413
|
-
*
|
|
1414
|
-
* Each time the section is updated, `revision` increments by 1. The current `revision` must be passed when publishing the section. This ensures you're working with the latest section and prevents unintended overwrites.
|
|
1415
|
-
*
|
|
1416
|
-
* Publishing sets the section's `state` to `PUBLISHED`.
|
|
1417
|
-
* @public
|
|
1418
|
-
* @documentationMaturity preview
|
|
1419
|
-
* @permissionId ONLINE_PROGRAMS.SECTION_UPDATE
|
|
1420
|
-
* @applicableIdentity APP
|
|
1421
|
-
* @fqn wix.onlineprograms.sections.v3.SectionsService.PublishSection
|
|
1422
|
-
*/
|
|
1423
|
-
declare function publishSection(options?: PublishSectionOptions): Promise<NonNullablePaths<PublishSectionResponse, `section.programId` | `section.description.title` | `section.state` | `section.oldTotalSteps` | `section.trialSection` | `section.ordering` | `section.delayInDays`, 4>>;
|
|
1424
|
-
interface PublishSectionOptions {
|
|
1425
|
-
/**
|
|
1426
|
-
* ID of the section to publish.
|
|
1427
|
-
* @format GUID
|
|
1428
|
-
*/
|
|
1429
|
-
sectionId?: string;
|
|
1430
|
-
/** Current revision of the section. */
|
|
1431
|
-
revision?: string;
|
|
1432
|
-
/**
|
|
1433
|
-
* Predefined sets of fields to return.
|
|
1434
|
-
* @maxSize 1
|
|
1435
|
-
*/
|
|
1436
|
-
fields?: RequestedFieldsWithLiterals[];
|
|
1437
|
-
}
|
|
1438
1421
|
|
|
1439
|
-
export { type AccountInfo, type ActionEvent, type AddressLocation, type ApplicationError, type BulkActionMetadata, BulkActionType, type BulkActionTypeWithLiterals, type BulkCloneSectionRequest, type BulkCloneSectionResponse, type BulkCreateSectionMigrationRequest, type BulkCreateSectionMigrationResponse, type BulkCreateSectionRequest, type BulkCreateSectionResponse, type BulkCreateSectionsOptions, type BulkCreateSectionsRequest, type BulkCreateSectionsResponse, type BulkSectionResult, type CloneSectionOptions, type CloneSectionRequest, type CloneSectionResponse, type CommonQueryWithEntityContext, type CreateSectionOptions, type CreateSectionRequest, type CreateSectionResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DeleteAllProgramSectionsRequest, type DeleteAllProgramSectionsResponse, type DeleteByFilterOperation, type DeleteByIdsOperation, type DeleteSectionRequest, type DeleteSectionResponse, type Description, DescriptionFieldSet, type DescriptionFieldSetWithLiterals, type DescriptionMediaOneOf, type DocumentImage, type DocumentPayload, type DocumentUpdateOperation, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, Enum, type EnumWithLiterals, type ExtendedFields, type FocalPoint, type GetSectionOptions, type GetSectionRequest, type GetSectionResponse, type IdentificationData, type IdentificationDataIdOneOf, type IndexDocument, type ItemMetadata, type ListSectionsOptions, type ListSectionsRequest, type ListSectionsResponse, type MessageEnvelope, type MoveSectionOptions, type MoveSectionRequest, type MoveSectionResponse, type
|
|
1422
|
+
export { type AccountInfo, type ActionEvent, type AddressLocation, type ApplicationError, type BulkActionMetadata, BulkActionType, type BulkActionTypeWithLiterals, type BulkCloneSectionRequest, type BulkCloneSectionResponse, type BulkCreateSectionMigrationRequest, type BulkCreateSectionMigrationResponse, type BulkCreateSectionRequest, type BulkCreateSectionResponse, type BulkCreateSectionsOptions, type BulkCreateSectionsRequest, type BulkCreateSectionsResponse, type BulkSectionResult, type CloneSectionOptions, type CloneSectionRequest, type CloneSectionResponse, type CommonQueryWithEntityContext, type CreateSectionOptions, type CreateSectionRequest, type CreateSectionResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DeleteAllProgramSectionsRequest, type DeleteAllProgramSectionsResponse, type DeleteByFilterOperation, type DeleteByIdsOperation, type DeleteSectionRequest, type DeleteSectionResponse, type Description, DescriptionFieldSet, type DescriptionFieldSetWithLiterals, type DescriptionMediaOneOf, type DocumentImage, type DocumentPayload, type DocumentUpdateOperation, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, Enum, type EnumWithLiterals, type ExtendedFields, type FocalPoint, type GetSectionOptions, type GetSectionRequest, type GetSectionResponse, type IdentificationData, type IdentificationDataIdOneOf, type IndexDocument, type ItemMetadata, type ListSectionsOptions, type ListSectionsRequest, type ListSectionsResponse, type MessageEnvelope, type MoveSectionOptions, type MoveSectionRequest, type MoveSectionResponse, type PublishSectionRequest, type PublishSectionResponse, type QuerySectionsOptions, type QuerySectionsRequest, type QuerySectionsResponse, RequestedFields, type RequestedFieldsWithLiterals, type RestoreInfo, type RestoreSectionFromTrashRequest, type RestoreSectionFromTrashResponse, type SearchIndexingNotification, SearchIndexingNotificationState, type SearchIndexingNotificationStateWithLiterals, type Section, type SectionCloned, type SectionDeleted, type SectionMoved, type SectionPublished, type SectionQuery, type SectionQuerySpec, type SectionUpdated, type SectionsQueryBuilder, type SectionsQueryResult, SortOrder, type SortOrderWithLiterals, type Sorting, State, type StateWithLiterals, type UpdateByFilterOperation, type UpdateDocumentsEvent, type UpdateDocumentsEventOperationOneOf, type UpdateExistingOperation, type UpdateSectionOptions, type UpdateSectionRequest, type UpdateSectionResponse, type VideoResolution, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, bulkCreateSections, cloneSection, createSection, deleteSection, getSection, listSections, moveSection, querySections, typedQuerySections, updateSection, utils };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CreateSectionRequest as CreateSectionRequest$1, CreateSectionResponse as CreateSectionResponse$1, BulkCreateSectionsRequest as BulkCreateSectionsRequest$1, BulkCreateSectionsResponse as BulkCreateSectionsResponse$1, GetSectionRequest as GetSectionRequest$1, GetSectionResponse as GetSectionResponse$1, UpdateSectionRequest as UpdateSectionRequest$1, UpdateSectionResponse as UpdateSectionResponse$1, DeleteSectionRequest as DeleteSectionRequest$1, DeleteSectionResponse as DeleteSectionResponse$1, QuerySectionsRequest as QuerySectionsRequest$1, QuerySectionsResponse as QuerySectionsResponse$1, ListSectionsRequest as ListSectionsRequest$1, ListSectionsResponse as ListSectionsResponse$1, CloneSectionRequest as CloneSectionRequest$1, CloneSectionResponse as CloneSectionResponse$1, MoveSectionRequest as MoveSectionRequest$1, MoveSectionResponse as MoveSectionResponse$1
|
|
1
|
+
import { CreateSectionRequest as CreateSectionRequest$1, CreateSectionResponse as CreateSectionResponse$1, BulkCreateSectionsRequest as BulkCreateSectionsRequest$1, BulkCreateSectionsResponse as BulkCreateSectionsResponse$1, GetSectionRequest as GetSectionRequest$1, GetSectionResponse as GetSectionResponse$1, UpdateSectionRequest as UpdateSectionRequest$1, UpdateSectionResponse as UpdateSectionResponse$1, DeleteSectionRequest as DeleteSectionRequest$1, DeleteSectionResponse as DeleteSectionResponse$1, QuerySectionsRequest as QuerySectionsRequest$1, QuerySectionsResponse as QuerySectionsResponse$1, ListSectionsRequest as ListSectionsRequest$1, ListSectionsResponse as ListSectionsResponse$1, CloneSectionRequest as CloneSectionRequest$1, CloneSectionResponse as CloneSectionResponse$1, MoveSectionRequest as MoveSectionRequest$1, MoveSectionResponse as MoveSectionResponse$1 } from './index.typings.js';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -37,7 +37,11 @@ interface Section {
|
|
|
37
37
|
programId?: string;
|
|
38
38
|
/** Section title and deprecated backward-compatibility content fields. */
|
|
39
39
|
description?: Description;
|
|
40
|
-
/**
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
* @deprecated
|
|
43
|
+
* @targetRemovalDate 2026-09-22
|
|
44
|
+
*/
|
|
41
45
|
state?: StateWithLiterals;
|
|
42
46
|
/**
|
|
43
47
|
* Legacy total number of steps in the section.
|
|
@@ -1151,6 +1155,5 @@ declare function cloneSection(): __PublicMethodMetaInfo<'POST', {
|
|
|
1151
1155
|
sectionId: string;
|
|
1152
1156
|
}, CloneSectionRequest$1, CloneSectionRequest, CloneSectionResponse$1, CloneSectionResponse>;
|
|
1153
1157
|
declare function moveSection(): __PublicMethodMetaInfo<'PATCH', {}, MoveSectionRequest$1, MoveSectionRequest, MoveSectionResponse$1, MoveSectionResponse>;
|
|
1154
|
-
declare function publishSection(): __PublicMethodMetaInfo<'PATCH', {}, PublishSectionRequest$1, PublishSectionRequest, PublishSectionResponse$1, PublishSectionResponse>;
|
|
1155
1158
|
|
|
1156
|
-
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddressLocation as AddressLocationOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, BulkActionType as BulkActionTypeOriginal, type BulkActionTypeWithLiterals as BulkActionTypeWithLiteralsOriginal, type BulkCloneSectionRequest as BulkCloneSectionRequestOriginal, type BulkCloneSectionResponse as BulkCloneSectionResponseOriginal, type BulkCreateSectionMigrationRequest as BulkCreateSectionMigrationRequestOriginal, type BulkCreateSectionMigrationResponse as BulkCreateSectionMigrationResponseOriginal, type BulkCreateSectionRequest as BulkCreateSectionRequestOriginal, type BulkCreateSectionResponse as BulkCreateSectionResponseOriginal, type BulkCreateSectionsRequest as BulkCreateSectionsRequestOriginal, type BulkCreateSectionsResponse as BulkCreateSectionsResponseOriginal, type BulkSectionResult as BulkSectionResultOriginal, type CloneSectionRequest as CloneSectionRequestOriginal, type CloneSectionResponse as CloneSectionResponseOriginal, type CreateSectionRequest as CreateSectionRequestOriginal, type CreateSectionResponse as CreateSectionResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DeleteAllProgramSectionsRequest as DeleteAllProgramSectionsRequestOriginal, type DeleteAllProgramSectionsResponse as DeleteAllProgramSectionsResponseOriginal, type DeleteByFilterOperation as DeleteByFilterOperationOriginal, type DeleteByIdsOperation as DeleteByIdsOperationOriginal, type DeleteSectionRequest as DeleteSectionRequestOriginal, type DeleteSectionResponse as DeleteSectionResponseOriginal, DescriptionFieldSet as DescriptionFieldSetOriginal, type DescriptionFieldSetWithLiterals as DescriptionFieldSetWithLiteralsOriginal, type DescriptionMediaOneOf as DescriptionMediaOneOfOriginal, type Description as DescriptionOriginal, type DocumentImage as DocumentImageOriginal, type DocumentPayload as DocumentPayloadOriginal, type DocumentUpdateOperation as DocumentUpdateOperationOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, Enum as EnumOriginal, type EnumWithLiterals as EnumWithLiteralsOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FocalPoint as FocalPointOriginal, type GetSectionRequest as GetSectionRequestOriginal, type GetSectionResponse as GetSectionResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type IndexDocument as IndexDocumentOriginal, type ItemMetadata as ItemMetadataOriginal, type ListSectionsRequest as ListSectionsRequestOriginal, type ListSectionsResponse as ListSectionsResponseOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MoveSectionRequest as MoveSectionRequestOriginal, type MoveSectionResponse as MoveSectionResponseOriginal, type PublishSectionRequest as PublishSectionRequestOriginal, type PublishSectionResponse as PublishSectionResponseOriginal, type QuerySectionsRequest as QuerySectionsRequestOriginal, type QuerySectionsResponse as QuerySectionsResponseOriginal, RequestedFields as RequestedFieldsOriginal, type RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type RestoreSectionFromTrashRequest as RestoreSectionFromTrashRequestOriginal, type RestoreSectionFromTrashResponse as RestoreSectionFromTrashResponseOriginal, type SearchIndexingNotification as SearchIndexingNotificationOriginal, SearchIndexingNotificationState as SearchIndexingNotificationStateOriginal, type SearchIndexingNotificationStateWithLiterals as SearchIndexingNotificationStateWithLiteralsOriginal, type SectionCloned as SectionClonedOriginal, type SectionDeleted as SectionDeletedOriginal, type SectionMoved as SectionMovedOriginal, type Section as SectionOriginal, type SectionPublished as SectionPublishedOriginal, type SectionUpdated as SectionUpdatedOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, State as StateOriginal, type StateWithLiterals as StateWithLiteralsOriginal, type UpdateByFilterOperation as UpdateByFilterOperationOriginal, type UpdateDocumentsEventOperationOneOf as UpdateDocumentsEventOperationOneOfOriginal, type UpdateDocumentsEvent as UpdateDocumentsEventOriginal, type UpdateExistingOperation as UpdateExistingOperationOriginal, type UpdateSectionRequest as UpdateSectionRequestOriginal, type UpdateSectionResponse as UpdateSectionResponseOriginal, type VideoResolution as VideoResolutionOriginal, type VideoV2 as VideoV2Original, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCreateSections, cloneSection, createSection, deleteSection, getSection, listSections, moveSection,
|
|
1159
|
+
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddressLocation as AddressLocationOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, BulkActionType as BulkActionTypeOriginal, type BulkActionTypeWithLiterals as BulkActionTypeWithLiteralsOriginal, type BulkCloneSectionRequest as BulkCloneSectionRequestOriginal, type BulkCloneSectionResponse as BulkCloneSectionResponseOriginal, type BulkCreateSectionMigrationRequest as BulkCreateSectionMigrationRequestOriginal, type BulkCreateSectionMigrationResponse as BulkCreateSectionMigrationResponseOriginal, type BulkCreateSectionRequest as BulkCreateSectionRequestOriginal, type BulkCreateSectionResponse as BulkCreateSectionResponseOriginal, type BulkCreateSectionsRequest as BulkCreateSectionsRequestOriginal, type BulkCreateSectionsResponse as BulkCreateSectionsResponseOriginal, type BulkSectionResult as BulkSectionResultOriginal, type CloneSectionRequest as CloneSectionRequestOriginal, type CloneSectionResponse as CloneSectionResponseOriginal, type CreateSectionRequest as CreateSectionRequestOriginal, type CreateSectionResponse as CreateSectionResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DeleteAllProgramSectionsRequest as DeleteAllProgramSectionsRequestOriginal, type DeleteAllProgramSectionsResponse as DeleteAllProgramSectionsResponseOriginal, type DeleteByFilterOperation as DeleteByFilterOperationOriginal, type DeleteByIdsOperation as DeleteByIdsOperationOriginal, type DeleteSectionRequest as DeleteSectionRequestOriginal, type DeleteSectionResponse as DeleteSectionResponseOriginal, DescriptionFieldSet as DescriptionFieldSetOriginal, type DescriptionFieldSetWithLiterals as DescriptionFieldSetWithLiteralsOriginal, type DescriptionMediaOneOf as DescriptionMediaOneOfOriginal, type Description as DescriptionOriginal, type DocumentImage as DocumentImageOriginal, type DocumentPayload as DocumentPayloadOriginal, type DocumentUpdateOperation as DocumentUpdateOperationOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, Enum as EnumOriginal, type EnumWithLiterals as EnumWithLiteralsOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FocalPoint as FocalPointOriginal, type GetSectionRequest as GetSectionRequestOriginal, type GetSectionResponse as GetSectionResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type IndexDocument as IndexDocumentOriginal, type ItemMetadata as ItemMetadataOriginal, type ListSectionsRequest as ListSectionsRequestOriginal, type ListSectionsResponse as ListSectionsResponseOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MoveSectionRequest as MoveSectionRequestOriginal, type MoveSectionResponse as MoveSectionResponseOriginal, type PublishSectionRequest as PublishSectionRequestOriginal, type PublishSectionResponse as PublishSectionResponseOriginal, type QuerySectionsRequest as QuerySectionsRequestOriginal, type QuerySectionsResponse as QuerySectionsResponseOriginal, RequestedFields as RequestedFieldsOriginal, type RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type RestoreSectionFromTrashRequest as RestoreSectionFromTrashRequestOriginal, type RestoreSectionFromTrashResponse as RestoreSectionFromTrashResponseOriginal, type SearchIndexingNotification as SearchIndexingNotificationOriginal, SearchIndexingNotificationState as SearchIndexingNotificationStateOriginal, type SearchIndexingNotificationStateWithLiterals as SearchIndexingNotificationStateWithLiteralsOriginal, type SectionCloned as SectionClonedOriginal, type SectionDeleted as SectionDeletedOriginal, type SectionMoved as SectionMovedOriginal, type Section as SectionOriginal, type SectionPublished as SectionPublishedOriginal, type SectionUpdated as SectionUpdatedOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, State as StateOriginal, type StateWithLiterals as StateWithLiteralsOriginal, type UpdateByFilterOperation as UpdateByFilterOperationOriginal, type UpdateDocumentsEventOperationOneOf as UpdateDocumentsEventOperationOneOfOriginal, type UpdateDocumentsEvent as UpdateDocumentsEventOriginal, type UpdateExistingOperation as UpdateExistingOperationOriginal, type UpdateSectionRequest as UpdateSectionRequestOriginal, type UpdateSectionResponse as UpdateSectionResponseOriginal, type VideoResolution as VideoResolutionOriginal, type VideoV2 as VideoV2Original, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCreateSections, cloneSection, createSection, deleteSection, getSection, listSections, moveSection, querySections, updateSection };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
|
-
import { Section, CreateSectionOptions, BulkCreateSectionsOptions, BulkCreateSectionsResponse, GetSectionOptions, UpdateSectionOptions, ListSectionsOptions, ListSectionsResponse, CloneSectionOptions, CloneSectionResponse, MoveSectionOptions, MoveSectionResponse,
|
|
3
|
-
export { AccountInfo, ActionEvent, AddressLocation, ApplicationError, BulkActionMetadata, BulkActionType, BulkActionTypeWithLiterals, BulkCloneSectionRequest, BulkCloneSectionResponse, BulkCreateSectionMigrationRequest, BulkCreateSectionMigrationResponse, BulkCreateSectionRequest, BulkCreateSectionResponse, BulkCreateSectionsRequest, BulkSectionResult, CloneSectionRequest, CommonQueryWithEntityContext, CreateSectionRequest, CreateSectionResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteAllProgramSectionsRequest, DeleteAllProgramSectionsResponse, DeleteByFilterOperation, DeleteByIdsOperation, DeleteSectionRequest, DeleteSectionResponse, Description, DescriptionFieldSet, DescriptionFieldSetWithLiterals, DescriptionMediaOneOf, DocumentImage, DocumentPayload, DocumentUpdateOperation, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Enum, EnumWithLiterals, ExtendedFields, FocalPoint, GetSectionRequest, GetSectionResponse, IdentificationData, IdentificationDataIdOneOf, IndexDocument, ItemMetadata, ListSectionsRequest, MessageEnvelope, MoveSectionRequest, PublishSectionRequest, QuerySectionsRequest, QuerySectionsResponse, RequestedFields, RequestedFieldsWithLiterals, RestoreInfo, RestoreSectionFromTrashRequest, RestoreSectionFromTrashResponse, SearchIndexingNotification, SearchIndexingNotificationState, SearchIndexingNotificationStateWithLiterals, SectionCloned, SectionDeleted, SectionMoved, SectionPublished, SectionQuerySpec, SectionUpdated, SectionsQueryResult, SortOrder, SortOrderWithLiterals, Sorting, State, StateWithLiterals, UpdateByFilterOperation, UpdateDocumentsEvent, UpdateDocumentsEventOperationOneOf, UpdateExistingOperation, UpdateSectionRequest, UpdateSectionResponse, VideoResolution, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.mjs';
|
|
2
|
+
import { Section, CreateSectionOptions, BulkCreateSectionsOptions, BulkCreateSectionsResponse, GetSectionOptions, UpdateSectionOptions, ListSectionsOptions, ListSectionsResponse, CloneSectionOptions, CloneSectionResponse, MoveSectionOptions, MoveSectionResponse, SectionQuery, QuerySectionsOptions, typedQuerySections, SectionsQueryBuilder } from './index.typings.mjs';
|
|
3
|
+
export { AccountInfo, ActionEvent, AddressLocation, ApplicationError, BulkActionMetadata, BulkActionType, BulkActionTypeWithLiterals, BulkCloneSectionRequest, BulkCloneSectionResponse, BulkCreateSectionMigrationRequest, BulkCreateSectionMigrationResponse, BulkCreateSectionRequest, BulkCreateSectionResponse, BulkCreateSectionsRequest, BulkSectionResult, CloneSectionRequest, CommonQueryWithEntityContext, CreateSectionRequest, CreateSectionResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteAllProgramSectionsRequest, DeleteAllProgramSectionsResponse, DeleteByFilterOperation, DeleteByIdsOperation, DeleteSectionRequest, DeleteSectionResponse, Description, DescriptionFieldSet, DescriptionFieldSetWithLiterals, DescriptionMediaOneOf, DocumentImage, DocumentPayload, DocumentUpdateOperation, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Enum, EnumWithLiterals, ExtendedFields, FocalPoint, GetSectionRequest, GetSectionResponse, IdentificationData, IdentificationDataIdOneOf, IndexDocument, ItemMetadata, ListSectionsRequest, MessageEnvelope, MoveSectionRequest, PublishSectionRequest, PublishSectionResponse, QuerySectionsRequest, QuerySectionsResponse, RequestedFields, RequestedFieldsWithLiterals, RestoreInfo, RestoreSectionFromTrashRequest, RestoreSectionFromTrashResponse, SearchIndexingNotification, SearchIndexingNotificationState, SearchIndexingNotificationStateWithLiterals, SectionCloned, SectionDeleted, SectionMoved, SectionPublished, SectionQuerySpec, SectionUpdated, SectionsQueryResult, SortOrder, SortOrderWithLiterals, Sorting, State, StateWithLiterals, UpdateByFilterOperation, UpdateDocumentsEvent, UpdateDocumentsEventOperationOneOf, UpdateExistingOperation, UpdateSectionRequest, UpdateSectionResponse, VideoResolution, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.mjs';
|
|
4
4
|
|
|
5
5
|
declare function createSection$1(httpClient: HttpClient): CreateSectionSignature;
|
|
6
6
|
interface CreateSectionSignature {
|
|
@@ -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: Section, options?: CreateSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `
|
|
16
|
+
(section: NonNullablePaths<Section, `programId`, 2>, options?: CreateSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `trialSection` | `ordering` | `delayInDays`, 3>>;
|
|
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: Section[], 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`, 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>>;
|
|
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` | `
|
|
39
|
+
(sectionId: string, options?: GetSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `trialSection` | `ordering` | `delayInDays`, 3>>;
|
|
40
40
|
}
|
|
41
41
|
declare function updateSection$1(httpClient: HttpClient): UpdateSectionSignature;
|
|
42
42
|
interface UpdateSectionSignature {
|
|
@@ -45,11 +45,11 @@ interface UpdateSectionSignature {
|
|
|
45
45
|
*
|
|
46
46
|
* Each time the section is updated, `revision` increments by 1. The current `revision` must be passed when updating the section. This ensures you're working with the latest section and prevents unintended overwrites.
|
|
47
47
|
*
|
|
48
|
-
* Use this method to update section content and settings. To reorder a section, call [Move Section](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/move-section).
|
|
48
|
+
* Use this method to update section content and settings. To reorder a section, call [Move Section](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/move-section).
|
|
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` | `
|
|
52
|
+
(_id: string, options?: NonNullablePaths<UpdateSectionOptions, `section.revision`, 3>): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `trialSection` | `ordering` | `delayInDays`, 3>>;
|
|
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}.oldTotalSteps` | `sections.${number}.trialSection` | `sections.${number}.ordering` | `sections.${number}.delayInDays`, 5>>;
|
|
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.oldTotalSteps` | `section.trialSection` | `section.ordering` | `section.delayInDays`, 4>>;
|
|
85
85
|
}
|
|
86
86
|
declare function moveSection$1(httpClient: HttpClient): MoveSectionSignature;
|
|
87
87
|
interface MoveSectionSignature {
|
|
@@ -92,18 +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.
|
|
96
|
-
}
|
|
97
|
-
declare function publishSection$1(httpClient: HttpClient): PublishSectionSignature;
|
|
98
|
-
interface PublishSectionSignature {
|
|
99
|
-
/**
|
|
100
|
-
* Publishes a section.
|
|
101
|
-
*
|
|
102
|
-
* Each time the section is updated, `revision` increments by 1. The current `revision` must be passed when publishing the section. This ensures you're working with the latest section and prevents unintended overwrites.
|
|
103
|
-
*
|
|
104
|
-
* Publishing sets the section's `state` to `PUBLISHED`.
|
|
105
|
-
*/
|
|
106
|
-
(options?: PublishSectionOptions): Promise<NonNullablePaths<PublishSectionResponse, `section.programId` | `section.description.title` | `section.state` | `section.oldTotalSteps` | `section.trialSection` | `section.ordering` | `section.delayInDays`, 4>>;
|
|
95
|
+
(options?: MoveSectionOptions): Promise<NonNullablePaths<MoveSectionResponse, `section.programId` | `section.description.title` | `section.oldTotalSteps` | `section.trialSection` | `section.ordering` | `section.delayInDays`, 4>>;
|
|
107
96
|
}
|
|
108
97
|
|
|
109
98
|
declare function customQuerySections(httpClient: HttpClient): {
|
|
@@ -118,7 +107,6 @@ declare const deleteSection: MaybeContext<BuildRESTFunction<typeof deleteSection
|
|
|
118
107
|
declare const listSections: MaybeContext<BuildRESTFunction<typeof listSections$1> & typeof listSections$1>;
|
|
119
108
|
declare const cloneSection: MaybeContext<BuildRESTFunction<typeof cloneSection$1> & typeof cloneSection$1>;
|
|
120
109
|
declare const moveSection: MaybeContext<BuildRESTFunction<typeof moveSection$1> & typeof moveSection$1>;
|
|
121
|
-
declare const publishSection: MaybeContext<BuildRESTFunction<typeof publishSection$1> & typeof publishSection$1>;
|
|
122
110
|
declare const querySections: MaybeContext<BuildRESTFunction<typeof customQuerySections> & typeof customQuerySections>;
|
|
123
111
|
|
|
124
|
-
export { BulkCreateSectionsOptions, BulkCreateSectionsResponse, CloneSectionOptions, CloneSectionResponse, CreateSectionOptions, GetSectionOptions, ListSectionsOptions, ListSectionsResponse, MoveSectionOptions, MoveSectionResponse,
|
|
112
|
+
export { BulkCreateSectionsOptions, BulkCreateSectionsResponse, CloneSectionOptions, CloneSectionResponse, CreateSectionOptions, GetSectionOptions, ListSectionsOptions, ListSectionsResponse, MoveSectionOptions, MoveSectionResponse, QuerySectionsOptions, Section, SectionQuery, SectionsQueryBuilder, UpdateSectionOptions, bulkCreateSections, cloneSection, createSection, deleteSection, getSection, listSections, moveSection, querySections, updateSection };
|
|
@@ -37,7 +37,11 @@ interface Section {
|
|
|
37
37
|
programId?: string;
|
|
38
38
|
/** Section title and deprecated backward-compatibility content fields. */
|
|
39
39
|
description?: Description;
|
|
40
|
-
/**
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
* @deprecated
|
|
43
|
+
* @targetRemovalDate 2026-09-22
|
|
44
|
+
*/
|
|
41
45
|
state?: StateWithLiterals;
|
|
42
46
|
/**
|
|
43
47
|
* Legacy total number of steps in the section.
|
|
@@ -979,12 +983,13 @@ interface AccountInfo {
|
|
|
979
983
|
* @public
|
|
980
984
|
* @documentationMaturity preview
|
|
981
985
|
* @requiredField section
|
|
986
|
+
* @requiredField section.programId
|
|
982
987
|
* @permissionId ONLINE_PROGRAMS.SECTION_CREATE
|
|
983
988
|
* @applicableIdentity APP
|
|
984
989
|
* @returns Created section.
|
|
985
990
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.CreateSection
|
|
986
991
|
*/
|
|
987
|
-
declare function createSection(section: Section, options?: CreateSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `
|
|
992
|
+
declare function createSection(section: NonNullablePaths<Section, `programId`, 2>, options?: CreateSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `trialSection` | `ordering` | `delayInDays`, 3>>;
|
|
988
993
|
interface CreateSectionOptions {
|
|
989
994
|
/**
|
|
990
995
|
* Predefined sets of fields to return.
|
|
@@ -1002,11 +1007,12 @@ interface CreateSectionOptions {
|
|
|
1002
1007
|
* @public
|
|
1003
1008
|
* @documentationMaturity preview
|
|
1004
1009
|
* @requiredField sections
|
|
1010
|
+
* @requiredField sections.programId
|
|
1005
1011
|
* @permissionId ONLINE_PROGRAMS.SECTION_CREATE
|
|
1006
1012
|
* @applicableIdentity APP
|
|
1007
1013
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.BulkCreateSections
|
|
1008
1014
|
*/
|
|
1009
|
-
declare function bulkCreateSections(sections: Section[], 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>>;
|
|
1015
|
+
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>>;
|
|
1010
1016
|
interface BulkCreateSectionsOptions {
|
|
1011
1017
|
/**
|
|
1012
1018
|
* Predefined sets of fields to return.
|
|
@@ -1027,7 +1033,7 @@ interface BulkCreateSectionsOptions {
|
|
|
1027
1033
|
* @returns Retrieved section.
|
|
1028
1034
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.GetSection
|
|
1029
1035
|
*/
|
|
1030
|
-
declare function getSection(sectionId: string, options?: GetSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `
|
|
1036
|
+
declare function getSection(sectionId: string, options?: GetSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `trialSection` | `ordering` | `delayInDays`, 3>>;
|
|
1031
1037
|
interface GetSectionOptions {
|
|
1032
1038
|
/** Compatibility option for existing integrations. Current section responses return the section title. */
|
|
1033
1039
|
descriptionFieldSet?: DescriptionFieldSetWithLiterals;
|
|
@@ -1042,7 +1048,7 @@ interface GetSectionOptions {
|
|
|
1042
1048
|
*
|
|
1043
1049
|
* Each time the section is updated, `revision` increments by 1. The current `revision` must be passed when updating the section. This ensures you're working with the latest section and prevents unintended overwrites.
|
|
1044
1050
|
*
|
|
1045
|
-
* Use this method to update section content and settings. To reorder a section, call [Move Section](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/move-section).
|
|
1051
|
+
* Use this method to update section content and settings. To reorder a section, call [Move Section](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/move-section).
|
|
1046
1052
|
* @param _id - Section ID.
|
|
1047
1053
|
* @public
|
|
1048
1054
|
* @documentationMaturity preview
|
|
@@ -1053,7 +1059,7 @@ interface GetSectionOptions {
|
|
|
1053
1059
|
* @returns Updated section.
|
|
1054
1060
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.UpdateSection
|
|
1055
1061
|
*/
|
|
1056
|
-
declare function updateSection(_id: string, options?: NonNullablePaths<UpdateSectionOptions, `section.revision`, 3>): Promise<NonNullablePaths<Section, `programId` | `description.title` | `
|
|
1062
|
+
declare function updateSection(_id: string, options?: NonNullablePaths<UpdateSectionOptions, `section.revision`, 3>): Promise<NonNullablePaths<Section, `programId` | `description.title` | `oldTotalSteps` | `trialSection` | `ordering` | `delayInDays`, 3>>;
|
|
1057
1063
|
interface UpdateSectionOptions {
|
|
1058
1064
|
section?: {
|
|
1059
1065
|
/**
|
|
@@ -1086,7 +1092,11 @@ interface UpdateSectionOptions {
|
|
|
1086
1092
|
programId?: string;
|
|
1087
1093
|
/** Section title and deprecated backward-compatibility content fields. */
|
|
1088
1094
|
description?: Description;
|
|
1089
|
-
/**
|
|
1095
|
+
/**
|
|
1096
|
+
* @internal
|
|
1097
|
+
* @deprecated
|
|
1098
|
+
* @targetRemovalDate 2026-09-22
|
|
1099
|
+
*/
|
|
1090
1100
|
state?: StateWithLiterals;
|
|
1091
1101
|
/**
|
|
1092
1102
|
* Legacy total number of steps in the section.
|
|
@@ -1138,8 +1148,8 @@ declare function deleteSection(sectionId: string): Promise<void>;
|
|
|
1138
1148
|
* - `paging.limit` is `1000`.
|
|
1139
1149
|
* - `paging.offset` is `0`.
|
|
1140
1150
|
*
|
|
1141
|
-
* Supported filter fields are `programId`, `id`, `delayInDays`,
|
|
1142
|
-
* Supported sorting fields are `id`, `delayInDays`, `trialSection`, `
|
|
1151
|
+
* Supported filter fields are `programId`, `id`, `delayInDays`, and `trialSection`.
|
|
1152
|
+
* Supported sorting fields are `id`, `delayInDays`, `trialSection`, `createdDate`, and `ordering`. When sorting by a field other than `programId`, also filter by `programId`.
|
|
1143
1153
|
* `descriptionFieldSet` is retained for backward compatibility. Current section responses return the section title.
|
|
1144
1154
|
*
|
|
1145
1155
|
* To learn about working with Query methods, see [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language), [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging), and [Field Projection](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-field-projection).
|
|
@@ -1184,12 +1194,12 @@ interface SectionsQueryBuilder {
|
|
|
1184
1194
|
* @param value - Value to compare against.
|
|
1185
1195
|
* @documentationMaturity preview
|
|
1186
1196
|
*/
|
|
1187
|
-
eq: (propertyName: '_id' | 'programId' | '
|
|
1197
|
+
eq: (propertyName: '_id' | 'programId' | 'trialSection' | 'delayInDays', value: any) => SectionsQueryBuilder;
|
|
1188
1198
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
1189
1199
|
* @param value - Value to compare against.
|
|
1190
1200
|
* @documentationMaturity preview
|
|
1191
1201
|
*/
|
|
1192
|
-
ne: (propertyName: '_id' | '
|
|
1202
|
+
ne: (propertyName: '_id' | 'trialSection' | 'delayInDays', value: any) => SectionsQueryBuilder;
|
|
1193
1203
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
1194
1204
|
* @param value - Value to compare against.
|
|
1195
1205
|
* @documentationMaturity preview
|
|
@@ -1216,9 +1226,9 @@ interface SectionsQueryBuilder {
|
|
|
1216
1226
|
*/
|
|
1217
1227
|
startsWith: (propertyName: '_id', value: string) => SectionsQueryBuilder;
|
|
1218
1228
|
/** @documentationMaturity preview */
|
|
1219
|
-
in: (propertyName: '_id' | '
|
|
1229
|
+
in: (propertyName: '_id' | 'trialSection' | 'delayInDays', value: any) => SectionsQueryBuilder;
|
|
1220
1230
|
/** @documentationMaturity preview */
|
|
1221
|
-
exists: (propertyName: '_id' | '
|
|
1231
|
+
exists: (propertyName: '_id' | 'trialSection' | 'delayInDays', value: boolean) => SectionsQueryBuilder;
|
|
1222
1232
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
1223
1233
|
* @documentationMaturity preview
|
|
1224
1234
|
*/
|
|
@@ -1243,7 +1253,7 @@ interface SectionsQueryBuilder {
|
|
|
1243
1253
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.QuerySections
|
|
1244
1254
|
* @requiredField query
|
|
1245
1255
|
*/
|
|
1246
|
-
declare function typedQuerySections(query: SectionQuery, options?: QuerySectionsOptions): Promise<NonNullablePaths<QuerySectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.
|
|
1256
|
+
declare function typedQuerySections(query: SectionQuery, options?: QuerySectionsOptions): Promise<NonNullablePaths<QuerySectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.oldTotalSteps` | `sections.${number}.trialSection` | `sections.${number}.ordering` | `sections.${number}.delayInDays`, 5>>;
|
|
1247
1257
|
interface SectionQuerySpec extends QuerySpec {
|
|
1248
1258
|
paging: 'cursor';
|
|
1249
1259
|
wql: [
|
|
@@ -1253,7 +1263,7 @@ interface SectionQuerySpec extends QuerySpec {
|
|
|
1253
1263
|
sort: 'NONE';
|
|
1254
1264
|
},
|
|
1255
1265
|
{
|
|
1256
|
-
fields: ['_id', 'delayInDays', '
|
|
1266
|
+
fields: ['_id', 'delayInDays', 'trialSection'];
|
|
1257
1267
|
operators: '*';
|
|
1258
1268
|
sort: 'BOTH';
|
|
1259
1269
|
},
|
|
@@ -1346,7 +1356,7 @@ declare const utils: {
|
|
|
1346
1356
|
* @applicableIdentity APP
|
|
1347
1357
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.ListSections
|
|
1348
1358
|
*/
|
|
1349
|
-
declare function listSections(programId: string, options?: ListSectionsOptions): Promise<NonNullablePaths<ListSectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.
|
|
1359
|
+
declare function listSections(programId: string, options?: ListSectionsOptions): Promise<NonNullablePaths<ListSectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.oldTotalSteps` | `sections.${number}.trialSection` | `sections.${number}.ordering` | `sections.${number}.delayInDays`, 5>>;
|
|
1350
1360
|
interface ListSectionsOptions {
|
|
1351
1361
|
/** Compatibility option for existing integrations. Current section responses return the section title. */
|
|
1352
1362
|
descriptionFieldSet?: DescriptionFieldSetWithLiterals;
|
|
@@ -1368,7 +1378,7 @@ interface ListSectionsOptions {
|
|
|
1368
1378
|
* @applicableIdentity APP
|
|
1369
1379
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.CloneSection
|
|
1370
1380
|
*/
|
|
1371
|
-
declare function cloneSection(sectionId: string, options?: CloneSectionOptions): Promise<NonNullablePaths<CloneSectionResponse, `section.programId` | `section.description.title` | `section.
|
|
1381
|
+
declare function cloneSection(sectionId: string, options?: CloneSectionOptions): Promise<NonNullablePaths<CloneSectionResponse, `section.programId` | `section.description.title` | `section.oldTotalSteps` | `section.trialSection` | `section.ordering` | `section.delayInDays`, 4>>;
|
|
1372
1382
|
interface CloneSectionOptions {
|
|
1373
1383
|
/**
|
|
1374
1384
|
* Predefined sets of fields to return.
|
|
@@ -1388,7 +1398,7 @@ interface CloneSectionOptions {
|
|
|
1388
1398
|
* @applicableIdentity APP
|
|
1389
1399
|
* @fqn wix.onlineprograms.sections.v3.SectionsService.MoveSection
|
|
1390
1400
|
*/
|
|
1391
|
-
declare function moveSection(options?: MoveSectionOptions): Promise<NonNullablePaths<MoveSectionResponse, `section.programId` | `section.description.title` | `section.
|
|
1401
|
+
declare function moveSection(options?: MoveSectionOptions): Promise<NonNullablePaths<MoveSectionResponse, `section.programId` | `section.description.title` | `section.oldTotalSteps` | `section.trialSection` | `section.ordering` | `section.delayInDays`, 4>>;
|
|
1392
1402
|
interface MoveSectionOptions {
|
|
1393
1403
|
/**
|
|
1394
1404
|
* ID of the section to move.
|
|
@@ -1408,32 +1418,5 @@ interface MoveSectionOptions {
|
|
|
1408
1418
|
*/
|
|
1409
1419
|
fields?: RequestedFieldsWithLiterals[];
|
|
1410
1420
|
}
|
|
1411
|
-
/**
|
|
1412
|
-
* Publishes a section.
|
|
1413
|
-
*
|
|
1414
|
-
* Each time the section is updated, `revision` increments by 1. The current `revision` must be passed when publishing the section. This ensures you're working with the latest section and prevents unintended overwrites.
|
|
1415
|
-
*
|
|
1416
|
-
* Publishing sets the section's `state` to `PUBLISHED`.
|
|
1417
|
-
* @public
|
|
1418
|
-
* @documentationMaturity preview
|
|
1419
|
-
* @permissionId ONLINE_PROGRAMS.SECTION_UPDATE
|
|
1420
|
-
* @applicableIdentity APP
|
|
1421
|
-
* @fqn wix.onlineprograms.sections.v3.SectionsService.PublishSection
|
|
1422
|
-
*/
|
|
1423
|
-
declare function publishSection(options?: PublishSectionOptions): Promise<NonNullablePaths<PublishSectionResponse, `section.programId` | `section.description.title` | `section.state` | `section.oldTotalSteps` | `section.trialSection` | `section.ordering` | `section.delayInDays`, 4>>;
|
|
1424
|
-
interface PublishSectionOptions {
|
|
1425
|
-
/**
|
|
1426
|
-
* ID of the section to publish.
|
|
1427
|
-
* @format GUID
|
|
1428
|
-
*/
|
|
1429
|
-
sectionId?: string;
|
|
1430
|
-
/** Current revision of the section. */
|
|
1431
|
-
revision?: string;
|
|
1432
|
-
/**
|
|
1433
|
-
* Predefined sets of fields to return.
|
|
1434
|
-
* @maxSize 1
|
|
1435
|
-
*/
|
|
1436
|
-
fields?: RequestedFieldsWithLiterals[];
|
|
1437
|
-
}
|
|
1438
1421
|
|
|
1439
|
-
export { type AccountInfo, type ActionEvent, type AddressLocation, type ApplicationError, type BulkActionMetadata, BulkActionType, type BulkActionTypeWithLiterals, type BulkCloneSectionRequest, type BulkCloneSectionResponse, type BulkCreateSectionMigrationRequest, type BulkCreateSectionMigrationResponse, type BulkCreateSectionRequest, type BulkCreateSectionResponse, type BulkCreateSectionsOptions, type BulkCreateSectionsRequest, type BulkCreateSectionsResponse, type BulkSectionResult, type CloneSectionOptions, type CloneSectionRequest, type CloneSectionResponse, type CommonQueryWithEntityContext, type CreateSectionOptions, type CreateSectionRequest, type CreateSectionResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DeleteAllProgramSectionsRequest, type DeleteAllProgramSectionsResponse, type DeleteByFilterOperation, type DeleteByIdsOperation, type DeleteSectionRequest, type DeleteSectionResponse, type Description, DescriptionFieldSet, type DescriptionFieldSetWithLiterals, type DescriptionMediaOneOf, type DocumentImage, type DocumentPayload, type DocumentUpdateOperation, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, Enum, type EnumWithLiterals, type ExtendedFields, type FocalPoint, type GetSectionOptions, type GetSectionRequest, type GetSectionResponse, type IdentificationData, type IdentificationDataIdOneOf, type IndexDocument, type ItemMetadata, type ListSectionsOptions, type ListSectionsRequest, type ListSectionsResponse, type MessageEnvelope, type MoveSectionOptions, type MoveSectionRequest, type MoveSectionResponse, type
|
|
1422
|
+
export { type AccountInfo, type ActionEvent, type AddressLocation, type ApplicationError, type BulkActionMetadata, BulkActionType, type BulkActionTypeWithLiterals, type BulkCloneSectionRequest, type BulkCloneSectionResponse, type BulkCreateSectionMigrationRequest, type BulkCreateSectionMigrationResponse, type BulkCreateSectionRequest, type BulkCreateSectionResponse, type BulkCreateSectionsOptions, type BulkCreateSectionsRequest, type BulkCreateSectionsResponse, type BulkSectionResult, type CloneSectionOptions, type CloneSectionRequest, type CloneSectionResponse, type CommonQueryWithEntityContext, type CreateSectionOptions, type CreateSectionRequest, type CreateSectionResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DeleteAllProgramSectionsRequest, type DeleteAllProgramSectionsResponse, type DeleteByFilterOperation, type DeleteByIdsOperation, type DeleteSectionRequest, type DeleteSectionResponse, type Description, DescriptionFieldSet, type DescriptionFieldSetWithLiterals, type DescriptionMediaOneOf, type DocumentImage, type DocumentPayload, type DocumentUpdateOperation, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, Enum, type EnumWithLiterals, type ExtendedFields, type FocalPoint, type GetSectionOptions, type GetSectionRequest, type GetSectionResponse, type IdentificationData, type IdentificationDataIdOneOf, type IndexDocument, type ItemMetadata, type ListSectionsOptions, type ListSectionsRequest, type ListSectionsResponse, type MessageEnvelope, type MoveSectionOptions, type MoveSectionRequest, type MoveSectionResponse, type PublishSectionRequest, type PublishSectionResponse, type QuerySectionsOptions, type QuerySectionsRequest, type QuerySectionsResponse, RequestedFields, type RequestedFieldsWithLiterals, type RestoreInfo, type RestoreSectionFromTrashRequest, type RestoreSectionFromTrashResponse, type SearchIndexingNotification, SearchIndexingNotificationState, type SearchIndexingNotificationStateWithLiterals, type Section, type SectionCloned, type SectionDeleted, type SectionMoved, type SectionPublished, type SectionQuery, type SectionQuerySpec, type SectionUpdated, type SectionsQueryBuilder, type SectionsQueryResult, SortOrder, type SortOrderWithLiterals, type Sorting, State, type StateWithLiterals, type UpdateByFilterOperation, type UpdateDocumentsEvent, type UpdateDocumentsEventOperationOneOf, type UpdateExistingOperation, type UpdateSectionOptions, type UpdateSectionRequest, type UpdateSectionResponse, type VideoResolution, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, bulkCreateSections, cloneSection, createSection, deleteSection, getSection, listSections, moveSection, querySections, typedQuerySections, updateSection, utils };
|