@wix/auto_sdk_online-programs_sections 1.0.30 → 1.0.32
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 +93 -45
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +46 -28
- 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 +93 -45
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +46 -28
- 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 +93 -45
- package/build/internal/cjs/meta.d.ts +46 -28
- package/build/internal/es/index.d.mts +6 -6
- package/build/internal/es/index.typings.d.mts +93 -45
- package/build/internal/es/meta.d.mts +46 -28
- package/package.json +2 -2
|
@@ -224,8 +224,10 @@ interface CreateSectionRequest {
|
|
|
224
224
|
/** Section to create. Must include `section.program_id`. */
|
|
225
225
|
section: Section;
|
|
226
226
|
/**
|
|
227
|
-
*
|
|
227
|
+
* Deprecated: `total_steps` is always returned. This field is ignored.
|
|
228
228
|
* @maxSize 1
|
|
229
|
+
* @deprecated
|
|
230
|
+
* @targetRemovalDate 2026-12-31
|
|
229
231
|
*/
|
|
230
232
|
fields?: RequestedFieldsWithLiterals[];
|
|
231
233
|
}
|
|
@@ -247,8 +249,10 @@ interface BulkCreateSectionsRequest {
|
|
|
247
249
|
*/
|
|
248
250
|
sections: Section[];
|
|
249
251
|
/**
|
|
250
|
-
*
|
|
252
|
+
* Deprecated: This field is ignored.
|
|
251
253
|
* @maxSize 1
|
|
254
|
+
* @deprecated
|
|
255
|
+
* @targetRemovalDate 2026-12-31
|
|
252
256
|
*/
|
|
253
257
|
fields?: RequestedFieldsWithLiterals[];
|
|
254
258
|
}
|
|
@@ -311,8 +315,10 @@ interface BulkCreateSectionRequest {
|
|
|
311
315
|
*/
|
|
312
316
|
sections?: Section[];
|
|
313
317
|
/**
|
|
314
|
-
*
|
|
318
|
+
* Deprecated: This field is ignored.
|
|
315
319
|
* @maxSize 1
|
|
320
|
+
* @deprecated
|
|
321
|
+
* @targetRemovalDate 2026-12-31
|
|
316
322
|
*/
|
|
317
323
|
fields?: RequestedFieldsWithLiterals[];
|
|
318
324
|
}
|
|
@@ -322,31 +328,23 @@ interface BulkCreateSectionResponse {
|
|
|
322
328
|
/** Summary of the bulk create operation. */
|
|
323
329
|
bulkActionMetadata?: BulkActionMetadata;
|
|
324
330
|
}
|
|
325
|
-
interface BulkCreateSectionMigrationRequest {
|
|
326
|
-
/**
|
|
327
|
-
* List of sections to create.
|
|
328
|
-
* @minSize 1
|
|
329
|
-
* @maxSize 100
|
|
330
|
-
*/
|
|
331
|
-
sections?: Section[];
|
|
332
|
-
}
|
|
333
|
-
interface BulkCreateSectionMigrationResponse {
|
|
334
|
-
/** Results for the bulk create operation. */
|
|
335
|
-
results?: BulkSectionResult[];
|
|
336
|
-
/** Summary of the bulk create operation. */
|
|
337
|
-
bulkActionMetadata?: BulkActionMetadata;
|
|
338
|
-
}
|
|
339
331
|
interface GetSectionRequest {
|
|
340
332
|
/**
|
|
341
333
|
* ID of the Section to retrieve.
|
|
342
334
|
* @format GUID
|
|
343
335
|
*/
|
|
344
336
|
sectionId: string;
|
|
345
|
-
/**
|
|
337
|
+
/**
|
|
338
|
+
* Deprecated: Current section responses always include the section title. This field is ignored.
|
|
339
|
+
* @deprecated
|
|
340
|
+
* @targetRemovalDate 2026-12-31
|
|
341
|
+
*/
|
|
346
342
|
descriptionFieldSet?: DescriptionFieldSetWithLiterals;
|
|
347
343
|
/**
|
|
348
|
-
*
|
|
344
|
+
* Deprecated: `total_steps` is always returned. This field is ignored.
|
|
349
345
|
* @maxSize 1
|
|
346
|
+
* @deprecated
|
|
347
|
+
* @targetRemovalDate 2026-12-31
|
|
350
348
|
*/
|
|
351
349
|
fields?: RequestedFieldsWithLiterals[];
|
|
352
350
|
}
|
|
@@ -373,8 +371,10 @@ interface UpdateSectionRequest {
|
|
|
373
371
|
*/
|
|
374
372
|
fieldMask?: string[];
|
|
375
373
|
/**
|
|
376
|
-
*
|
|
374
|
+
* Deprecated: `total_steps` is always returned. This field is ignored.
|
|
377
375
|
* @maxSize 1
|
|
376
|
+
* @deprecated
|
|
377
|
+
* @targetRemovalDate 2026-12-31
|
|
378
378
|
*/
|
|
379
379
|
fields?: RequestedFieldsWithLiterals[];
|
|
380
380
|
}
|
|
@@ -409,11 +409,17 @@ interface DeleteAllProgramSectionsResponse {
|
|
|
409
409
|
interface QuerySectionsRequest {
|
|
410
410
|
/** WQL expression. */
|
|
411
411
|
query?: CursorQuery;
|
|
412
|
-
/**
|
|
412
|
+
/**
|
|
413
|
+
* Deprecated: Current section responses always include the section title. This field is ignored.
|
|
414
|
+
* @deprecated
|
|
415
|
+
* @targetRemovalDate 2026-12-31
|
|
416
|
+
*/
|
|
413
417
|
descriptionFieldSet?: DescriptionFieldSetWithLiterals;
|
|
414
418
|
/**
|
|
415
|
-
*
|
|
419
|
+
* Deprecated: `total_steps` is always returned. This field is ignored.
|
|
416
420
|
* @maxSize 1
|
|
421
|
+
* @deprecated
|
|
422
|
+
* @targetRemovalDate 2026-12-31
|
|
417
423
|
*/
|
|
418
424
|
fields?: RequestedFieldsWithLiterals[];
|
|
419
425
|
}
|
|
@@ -546,11 +552,17 @@ interface ListSectionsRequest {
|
|
|
546
552
|
* @format GUID
|
|
547
553
|
*/
|
|
548
554
|
programId: string;
|
|
549
|
-
/**
|
|
555
|
+
/**
|
|
556
|
+
* Deprecated: Current section responses always include the section title. This field is ignored.
|
|
557
|
+
* @deprecated
|
|
558
|
+
* @targetRemovalDate 2026-12-31
|
|
559
|
+
*/
|
|
550
560
|
descriptionFieldSet?: DescriptionFieldSetWithLiterals;
|
|
551
561
|
/**
|
|
552
|
-
*
|
|
562
|
+
* Deprecated: `total_steps` is always returned. This field is ignored.
|
|
553
563
|
* @maxSize 1
|
|
564
|
+
* @deprecated
|
|
565
|
+
* @targetRemovalDate 2026-12-31
|
|
554
566
|
*/
|
|
555
567
|
fields?: RequestedFieldsWithLiterals[];
|
|
556
568
|
}
|
|
@@ -568,8 +580,10 @@ interface CloneSectionRequest {
|
|
|
568
580
|
*/
|
|
569
581
|
sectionId: string;
|
|
570
582
|
/**
|
|
571
|
-
*
|
|
583
|
+
* Deprecated: `total_steps` is always returned. This field is ignored.
|
|
572
584
|
* @maxSize 1
|
|
585
|
+
* @deprecated
|
|
586
|
+
* @targetRemovalDate 2026-12-31
|
|
573
587
|
*/
|
|
574
588
|
fields?: RequestedFieldsWithLiterals[];
|
|
575
589
|
}
|
|
@@ -591,8 +605,10 @@ interface MoveSectionRequest {
|
|
|
591
605
|
/** Current revision of the section. When provided, it must match the current revision to protect against conflicting updates. */
|
|
592
606
|
revision?: string;
|
|
593
607
|
/**
|
|
594
|
-
*
|
|
608
|
+
* Deprecated: `total_steps` is always returned. This field is ignored.
|
|
595
609
|
* @maxSize 1
|
|
610
|
+
* @deprecated
|
|
611
|
+
* @targetRemovalDate 2026-12-31
|
|
596
612
|
*/
|
|
597
613
|
fields?: RequestedFieldsWithLiterals[];
|
|
598
614
|
}
|
|
@@ -633,8 +649,10 @@ interface RestoreSectionFromTrashRequest {
|
|
|
633
649
|
*/
|
|
634
650
|
sectionId?: string;
|
|
635
651
|
/**
|
|
636
|
-
*
|
|
652
|
+
* Deprecated: `total_steps` is always returned. This field is ignored.
|
|
637
653
|
* @maxSize 1
|
|
654
|
+
* @deprecated
|
|
655
|
+
* @targetRemovalDate 2026-12-31
|
|
638
656
|
*/
|
|
639
657
|
fields?: RequestedFieldsWithLiterals[];
|
|
640
658
|
}
|
|
@@ -841,8 +859,10 @@ interface AccountInfo {
|
|
|
841
859
|
declare function createSection(section: NonNullablePaths<Section, `programId`, 0>, options?: CreateSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `ordering` | `delayInDays`, 1>>;
|
|
842
860
|
interface CreateSectionOptions {
|
|
843
861
|
/**
|
|
844
|
-
*
|
|
862
|
+
* Deprecated: `total_steps` is always returned. This field is ignored.
|
|
845
863
|
* @maxSize 1
|
|
864
|
+
* @deprecated
|
|
865
|
+
* @targetRemovalDate 2026-12-31
|
|
846
866
|
*/
|
|
847
867
|
fields?: RequestedFieldsWithLiterals[];
|
|
848
868
|
}
|
|
@@ -866,15 +886,15 @@ interface CreateSectionOptions {
|
|
|
866
886
|
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>>;
|
|
867
887
|
interface BulkCreateSectionsOptions {
|
|
868
888
|
/**
|
|
869
|
-
*
|
|
889
|
+
* Deprecated: This field is ignored.
|
|
870
890
|
* @maxSize 1
|
|
891
|
+
* @deprecated
|
|
892
|
+
* @targetRemovalDate 2026-12-31
|
|
871
893
|
*/
|
|
872
894
|
fields?: RequestedFieldsWithLiterals[];
|
|
873
895
|
}
|
|
874
896
|
/**
|
|
875
897
|
* Retrieves a section.
|
|
876
|
-
*
|
|
877
|
-
* `descriptionFieldSet` is retained for backward compatibility. Current section responses return the section title.
|
|
878
898
|
* @param sectionId - ID of the Section to retrieve.
|
|
879
899
|
* @public
|
|
880
900
|
* @documentationMaturity preview
|
|
@@ -886,11 +906,17 @@ interface BulkCreateSectionsOptions {
|
|
|
886
906
|
*/
|
|
887
907
|
declare function getSection(sectionId: string, options?: GetSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `ordering` | `delayInDays`, 1>>;
|
|
888
908
|
interface GetSectionOptions {
|
|
889
|
-
/**
|
|
909
|
+
/**
|
|
910
|
+
* Deprecated: Current section responses always include the section title. This field is ignored.
|
|
911
|
+
* @deprecated
|
|
912
|
+
* @targetRemovalDate 2026-12-31
|
|
913
|
+
*/
|
|
890
914
|
descriptionFieldSet?: DescriptionFieldSetWithLiterals;
|
|
891
915
|
/**
|
|
892
|
-
*
|
|
916
|
+
* Deprecated: `total_steps` is always returned. This field is ignored.
|
|
893
917
|
* @maxSize 1
|
|
918
|
+
* @deprecated
|
|
919
|
+
* @targetRemovalDate 2026-12-31
|
|
894
920
|
*/
|
|
895
921
|
fields?: RequestedFieldsWithLiterals[];
|
|
896
922
|
}
|
|
@@ -965,8 +991,10 @@ interface UpdateSectionOptions {
|
|
|
965
991
|
extendedFields?: ExtendedFields;
|
|
966
992
|
};
|
|
967
993
|
/**
|
|
968
|
-
*
|
|
994
|
+
* Deprecated: `total_steps` is always returned. This field is ignored.
|
|
969
995
|
* @maxSize 1
|
|
996
|
+
* @deprecated
|
|
997
|
+
* @targetRemovalDate 2026-12-31
|
|
970
998
|
*/
|
|
971
999
|
fields?: RequestedFieldsWithLiterals[];
|
|
972
1000
|
}
|
|
@@ -986,6 +1014,9 @@ declare function deleteSection(sectionId: string): Promise<void>;
|
|
|
986
1014
|
/**
|
|
987
1015
|
* Retrieves a list of up to 1,000 sections, given the provided paging, filtering, and sorting.
|
|
988
1016
|
*
|
|
1017
|
+
* Use this method when you need to filter sections, apply custom sorting or paging, or query across programs.
|
|
1018
|
+
* When you know the program ID and need all sections in program order, call [List Sections](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/list-sections).
|
|
1019
|
+
*
|
|
989
1020
|
* Query Sections runs with these defaults, which you can override:
|
|
990
1021
|
*
|
|
991
1022
|
* - `createdDate` is sorted in `DESC` order.
|
|
@@ -995,7 +1026,6 @@ declare function deleteSection(sectionId: string): Promise<void>;
|
|
|
995
1026
|
* Supported filter fields are `programId`, `id`, and `delayInDays`.
|
|
996
1027
|
* Supported sorting fields are `id`, `delayInDays`, `createdDate`, and `ordering`. When sorting by a field other than `programId`, also filter by `programId`.
|
|
997
1028
|
* Section extended fields aren't supported for filtering or sorting. Queries that reference them are rejected.
|
|
998
|
-
* `descriptionFieldSet` is retained for backward compatibility. Current section responses return the section title.
|
|
999
1029
|
*
|
|
1000
1030
|
* 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).
|
|
1001
1031
|
* @public
|
|
@@ -1006,11 +1036,17 @@ declare function deleteSection(sectionId: string): Promise<void>;
|
|
|
1006
1036
|
*/
|
|
1007
1037
|
declare function querySections(options?: QuerySectionsOptions): SectionsQueryBuilder;
|
|
1008
1038
|
interface QuerySectionsOptions {
|
|
1009
|
-
/**
|
|
1039
|
+
/**
|
|
1040
|
+
* Deprecated: Current section responses always include the section title. This field is ignored.
|
|
1041
|
+
* @deprecated
|
|
1042
|
+
* @targetRemovalDate 2026-12-31
|
|
1043
|
+
*/
|
|
1010
1044
|
descriptionFieldSet?: DescriptionFieldSetWithLiterals | undefined;
|
|
1011
1045
|
/**
|
|
1012
|
-
*
|
|
1046
|
+
* Deprecated: `total_steps` is always returned. This field is ignored.
|
|
1013
1047
|
* @maxSize 1
|
|
1048
|
+
* @deprecated
|
|
1049
|
+
* @targetRemovalDate 2026-12-31
|
|
1014
1050
|
*/
|
|
1015
1051
|
fields?: RequestedFieldsWithLiterals[] | undefined;
|
|
1016
1052
|
}
|
|
@@ -1181,11 +1217,13 @@ declare const utils: {
|
|
|
1181
1217
|
query: _wix_sdk_types.QueryHelpers<Section, SectionQuerySpec, SectionQuery>;
|
|
1182
1218
|
};
|
|
1183
1219
|
/**
|
|
1184
|
-
* Retrieves
|
|
1220
|
+
* Retrieves all sections in a program.
|
|
1221
|
+
*
|
|
1222
|
+
* Use this method when you know the program ID and need all sections in program order.
|
|
1185
1223
|
*
|
|
1186
|
-
* Results are sorted by `ordering` in ascending order.
|
|
1224
|
+
* Results are sorted by `ordering` in ascending order.
|
|
1187
1225
|
*
|
|
1188
|
-
* To filter or
|
|
1226
|
+
* 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).
|
|
1189
1227
|
* @param programId - Program ID to list sections for.
|
|
1190
1228
|
* @public
|
|
1191
1229
|
* @documentationMaturity preview
|
|
@@ -1196,11 +1234,17 @@ declare const utils: {
|
|
|
1196
1234
|
*/
|
|
1197
1235
|
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>>;
|
|
1198
1236
|
interface ListSectionsOptions {
|
|
1199
|
-
/**
|
|
1237
|
+
/**
|
|
1238
|
+
* Deprecated: Current section responses always include the section title. This field is ignored.
|
|
1239
|
+
* @deprecated
|
|
1240
|
+
* @targetRemovalDate 2026-12-31
|
|
1241
|
+
*/
|
|
1200
1242
|
descriptionFieldSet?: DescriptionFieldSetWithLiterals;
|
|
1201
1243
|
/**
|
|
1202
|
-
*
|
|
1244
|
+
* Deprecated: `total_steps` is always returned. This field is ignored.
|
|
1203
1245
|
* @maxSize 1
|
|
1246
|
+
* @deprecated
|
|
1247
|
+
* @targetRemovalDate 2026-12-31
|
|
1204
1248
|
*/
|
|
1205
1249
|
fields?: RequestedFieldsWithLiterals[];
|
|
1206
1250
|
}
|
|
@@ -1223,8 +1267,10 @@ interface ListSectionsOptions {
|
|
|
1223
1267
|
declare function cloneSection(sectionId: string, options?: CloneSectionOptions): Promise<NonNullablePaths<CloneSectionResponse, `section.programId` | `section.description.title` | `section.ordering` | `section.delayInDays`, 2>>;
|
|
1224
1268
|
interface CloneSectionOptions {
|
|
1225
1269
|
/**
|
|
1226
|
-
*
|
|
1270
|
+
* Deprecated: `total_steps` is always returned. This field is ignored.
|
|
1227
1271
|
* @maxSize 1
|
|
1272
|
+
* @deprecated
|
|
1273
|
+
* @targetRemovalDate 2026-12-31
|
|
1228
1274
|
*/
|
|
1229
1275
|
fields?: RequestedFieldsWithLiterals[];
|
|
1230
1276
|
}
|
|
@@ -1252,10 +1298,12 @@ interface MoveSectionOptions {
|
|
|
1252
1298
|
/** Current revision of the section. When provided, it must match the current revision to protect against conflicting updates. */
|
|
1253
1299
|
revision?: string;
|
|
1254
1300
|
/**
|
|
1255
|
-
*
|
|
1301
|
+
* Deprecated: `total_steps` is always returned. This field is ignored.
|
|
1256
1302
|
* @maxSize 1
|
|
1303
|
+
* @deprecated
|
|
1304
|
+
* @targetRemovalDate 2026-12-31
|
|
1257
1305
|
*/
|
|
1258
1306
|
fields?: RequestedFieldsWithLiterals[];
|
|
1259
1307
|
}
|
|
1260
1308
|
|
|
1261
|
-
export { type AccountInfo, type ActionEvent, type AddressLocation, type ApplicationError, type BulkActionMetadata, BulkActionType, type BulkActionTypeWithLiterals, type BulkCloneSectionRequest, type BulkCloneSectionResponse, type
|
|
1309
|
+
export { type AccountInfo, type ActionEvent, type AddressLocation, type ApplicationError, type BulkActionMetadata, BulkActionType, type BulkActionTypeWithLiterals, type BulkCloneSectionRequest, type BulkCloneSectionResponse, 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 DocumentImage, type DocumentPayload, type DocumentUpdateOperation, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, Enum, type EnumWithLiterals, type ExtendedFields, 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 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 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, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, bulkCreateSections, cloneSection, createSection, deleteSection, getSection, listSections, moveSection, querySections, typedQuerySections, updateSection, utils };
|
|
@@ -224,8 +224,10 @@ interface CreateSectionRequest {
|
|
|
224
224
|
/** Section to create. Must include `section.program_id`. */
|
|
225
225
|
section: Section;
|
|
226
226
|
/**
|
|
227
|
-
*
|
|
227
|
+
* Deprecated: `total_steps` is always returned. This field is ignored.
|
|
228
228
|
* @maxSize 1
|
|
229
|
+
* @deprecated
|
|
230
|
+
* @targetRemovalDate 2026-12-31
|
|
229
231
|
*/
|
|
230
232
|
fields?: RequestedFieldsWithLiterals[];
|
|
231
233
|
}
|
|
@@ -247,8 +249,10 @@ interface BulkCreateSectionsRequest {
|
|
|
247
249
|
*/
|
|
248
250
|
sections: Section[];
|
|
249
251
|
/**
|
|
250
|
-
*
|
|
252
|
+
* Deprecated: This field is ignored.
|
|
251
253
|
* @maxSize 1
|
|
254
|
+
* @deprecated
|
|
255
|
+
* @targetRemovalDate 2026-12-31
|
|
252
256
|
*/
|
|
253
257
|
fields?: RequestedFieldsWithLiterals[];
|
|
254
258
|
}
|
|
@@ -311,8 +315,10 @@ interface BulkCreateSectionRequest {
|
|
|
311
315
|
*/
|
|
312
316
|
sections?: Section[];
|
|
313
317
|
/**
|
|
314
|
-
*
|
|
318
|
+
* Deprecated: This field is ignored.
|
|
315
319
|
* @maxSize 1
|
|
320
|
+
* @deprecated
|
|
321
|
+
* @targetRemovalDate 2026-12-31
|
|
316
322
|
*/
|
|
317
323
|
fields?: RequestedFieldsWithLiterals[];
|
|
318
324
|
}
|
|
@@ -322,31 +328,23 @@ interface BulkCreateSectionResponse {
|
|
|
322
328
|
/** Summary of the bulk create operation. */
|
|
323
329
|
bulkActionMetadata?: BulkActionMetadata;
|
|
324
330
|
}
|
|
325
|
-
interface BulkCreateSectionMigrationRequest {
|
|
326
|
-
/**
|
|
327
|
-
* List of sections to create.
|
|
328
|
-
* @minSize 1
|
|
329
|
-
* @maxSize 100
|
|
330
|
-
*/
|
|
331
|
-
sections?: Section[];
|
|
332
|
-
}
|
|
333
|
-
interface BulkCreateSectionMigrationResponse {
|
|
334
|
-
/** Results for the bulk create operation. */
|
|
335
|
-
results?: BulkSectionResult[];
|
|
336
|
-
/** Summary of the bulk create operation. */
|
|
337
|
-
bulkActionMetadata?: BulkActionMetadata;
|
|
338
|
-
}
|
|
339
331
|
interface GetSectionRequest {
|
|
340
332
|
/**
|
|
341
333
|
* ID of the Section to retrieve.
|
|
342
334
|
* @format GUID
|
|
343
335
|
*/
|
|
344
336
|
sectionId: string;
|
|
345
|
-
/**
|
|
337
|
+
/**
|
|
338
|
+
* Deprecated: Current section responses always include the section title. This field is ignored.
|
|
339
|
+
* @deprecated
|
|
340
|
+
* @targetRemovalDate 2026-12-31
|
|
341
|
+
*/
|
|
346
342
|
descriptionFieldSet?: DescriptionFieldSetWithLiterals;
|
|
347
343
|
/**
|
|
348
|
-
*
|
|
344
|
+
* Deprecated: `total_steps` is always returned. This field is ignored.
|
|
349
345
|
* @maxSize 1
|
|
346
|
+
* @deprecated
|
|
347
|
+
* @targetRemovalDate 2026-12-31
|
|
350
348
|
*/
|
|
351
349
|
fields?: RequestedFieldsWithLiterals[];
|
|
352
350
|
}
|
|
@@ -373,8 +371,10 @@ interface UpdateSectionRequest {
|
|
|
373
371
|
*/
|
|
374
372
|
fieldMask?: string[];
|
|
375
373
|
/**
|
|
376
|
-
*
|
|
374
|
+
* Deprecated: `total_steps` is always returned. This field is ignored.
|
|
377
375
|
* @maxSize 1
|
|
376
|
+
* @deprecated
|
|
377
|
+
* @targetRemovalDate 2026-12-31
|
|
378
378
|
*/
|
|
379
379
|
fields?: RequestedFieldsWithLiterals[];
|
|
380
380
|
}
|
|
@@ -409,11 +409,17 @@ interface DeleteAllProgramSectionsResponse {
|
|
|
409
409
|
interface QuerySectionsRequest {
|
|
410
410
|
/** WQL expression. */
|
|
411
411
|
query?: CursorQuery;
|
|
412
|
-
/**
|
|
412
|
+
/**
|
|
413
|
+
* Deprecated: Current section responses always include the section title. This field is ignored.
|
|
414
|
+
* @deprecated
|
|
415
|
+
* @targetRemovalDate 2026-12-31
|
|
416
|
+
*/
|
|
413
417
|
descriptionFieldSet?: DescriptionFieldSetWithLiterals;
|
|
414
418
|
/**
|
|
415
|
-
*
|
|
419
|
+
* Deprecated: `total_steps` is always returned. This field is ignored.
|
|
416
420
|
* @maxSize 1
|
|
421
|
+
* @deprecated
|
|
422
|
+
* @targetRemovalDate 2026-12-31
|
|
417
423
|
*/
|
|
418
424
|
fields?: RequestedFieldsWithLiterals[];
|
|
419
425
|
}
|
|
@@ -546,11 +552,17 @@ interface ListSectionsRequest {
|
|
|
546
552
|
* @format GUID
|
|
547
553
|
*/
|
|
548
554
|
programId: string;
|
|
549
|
-
/**
|
|
555
|
+
/**
|
|
556
|
+
* Deprecated: Current section responses always include the section title. This field is ignored.
|
|
557
|
+
* @deprecated
|
|
558
|
+
* @targetRemovalDate 2026-12-31
|
|
559
|
+
*/
|
|
550
560
|
descriptionFieldSet?: DescriptionFieldSetWithLiterals;
|
|
551
561
|
/**
|
|
552
|
-
*
|
|
562
|
+
* Deprecated: `total_steps` is always returned. This field is ignored.
|
|
553
563
|
* @maxSize 1
|
|
564
|
+
* @deprecated
|
|
565
|
+
* @targetRemovalDate 2026-12-31
|
|
554
566
|
*/
|
|
555
567
|
fields?: RequestedFieldsWithLiterals[];
|
|
556
568
|
}
|
|
@@ -568,8 +580,10 @@ interface CloneSectionRequest {
|
|
|
568
580
|
*/
|
|
569
581
|
sectionId: string;
|
|
570
582
|
/**
|
|
571
|
-
*
|
|
583
|
+
* Deprecated: `total_steps` is always returned. This field is ignored.
|
|
572
584
|
* @maxSize 1
|
|
585
|
+
* @deprecated
|
|
586
|
+
* @targetRemovalDate 2026-12-31
|
|
573
587
|
*/
|
|
574
588
|
fields?: RequestedFieldsWithLiterals[];
|
|
575
589
|
}
|
|
@@ -591,8 +605,10 @@ interface MoveSectionRequest {
|
|
|
591
605
|
/** Current revision of the section. When provided, it must match the current revision to protect against conflicting updates. */
|
|
592
606
|
revision?: string;
|
|
593
607
|
/**
|
|
594
|
-
*
|
|
608
|
+
* Deprecated: `total_steps` is always returned. This field is ignored.
|
|
595
609
|
* @maxSize 1
|
|
610
|
+
* @deprecated
|
|
611
|
+
* @targetRemovalDate 2026-12-31
|
|
596
612
|
*/
|
|
597
613
|
fields?: RequestedFieldsWithLiterals[];
|
|
598
614
|
}
|
|
@@ -633,8 +649,10 @@ interface RestoreSectionFromTrashRequest {
|
|
|
633
649
|
*/
|
|
634
650
|
sectionId?: string;
|
|
635
651
|
/**
|
|
636
|
-
*
|
|
652
|
+
* Deprecated: `total_steps` is always returned. This field is ignored.
|
|
637
653
|
* @maxSize 1
|
|
654
|
+
* @deprecated
|
|
655
|
+
* @targetRemovalDate 2026-12-31
|
|
638
656
|
*/
|
|
639
657
|
fields?: RequestedFieldsWithLiterals[];
|
|
640
658
|
}
|
|
@@ -893,4 +911,4 @@ declare function cloneSection(): __PublicMethodMetaInfo<'POST', {
|
|
|
893
911
|
}, CloneSectionRequest$1, CloneSectionRequest, CloneSectionResponse$1, CloneSectionResponse>;
|
|
894
912
|
declare function moveSection(): __PublicMethodMetaInfo<'PATCH', {}, MoveSectionRequest$1, MoveSectionRequest, MoveSectionResponse$1, MoveSectionResponse>;
|
|
895
913
|
|
|
896
|
-
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
|
|
914
|
+
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 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 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 GetSectionRequest as GetSectionRequestOriginal, type GetSectionResponse as GetSectionResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, 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 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 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, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCreateSections, cloneSection, createSection, deleteSection, getSection, listSections, moveSection, querySections, updateSection };
|
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.32",
|
|
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": "94ea77e363c10668704e1dadb0a3fdf765686905dcb25a24a428c051"
|
|
54
54
|
}
|