@wix/auto_sdk_online-programs_sections 1.0.29 → 1.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -224,8 +224,10 @@ interface CreateSectionRequest {
224
224
  /** Section to create. Must include `section.program_id`. */
225
225
  section: Section;
226
226
  /**
227
- * Predefined sets of fields to return.
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
- * Predefined sets of fields to return.
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
- * Predefined sets of fields to return.
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
  }
@@ -342,11 +348,17 @@ interface GetSectionRequest {
342
348
  * @format GUID
343
349
  */
344
350
  sectionId: string;
345
- /** Compatibility option for existing integrations. Current section responses return the section title. */
351
+ /**
352
+ * Deprecated: Current section responses always include the section title. This field is ignored.
353
+ * @deprecated
354
+ * @targetRemovalDate 2026-12-31
355
+ */
346
356
  descriptionFieldSet?: DescriptionFieldSetWithLiterals;
347
357
  /**
348
- * Predefined sets of fields to return.
358
+ * Deprecated: `total_steps` is always returned. This field is ignored.
349
359
  * @maxSize 1
360
+ * @deprecated
361
+ * @targetRemovalDate 2026-12-31
350
362
  */
351
363
  fields?: RequestedFieldsWithLiterals[];
352
364
  }
@@ -373,8 +385,10 @@ interface UpdateSectionRequest {
373
385
  */
374
386
  fieldMask?: string[];
375
387
  /**
376
- * Predefined sets of fields to return.
388
+ * Deprecated: `total_steps` is always returned. This field is ignored.
377
389
  * @maxSize 1
390
+ * @deprecated
391
+ * @targetRemovalDate 2026-12-31
378
392
  */
379
393
  fields?: RequestedFieldsWithLiterals[];
380
394
  }
@@ -409,11 +423,17 @@ interface DeleteAllProgramSectionsResponse {
409
423
  interface QuerySectionsRequest {
410
424
  /** WQL expression. */
411
425
  query?: CursorQuery;
412
- /** Compatibility option for existing integrations. Current section responses return the section title. */
426
+ /**
427
+ * Deprecated: Current section responses always include the section title. This field is ignored.
428
+ * @deprecated
429
+ * @targetRemovalDate 2026-12-31
430
+ */
413
431
  descriptionFieldSet?: DescriptionFieldSetWithLiterals;
414
432
  /**
415
- * Predefined sets of fields to return.
433
+ * Deprecated: `total_steps` is always returned. This field is ignored.
416
434
  * @maxSize 1
435
+ * @deprecated
436
+ * @targetRemovalDate 2026-12-31
417
437
  */
418
438
  fields?: RequestedFieldsWithLiterals[];
419
439
  }
@@ -546,11 +566,17 @@ interface ListSectionsRequest {
546
566
  * @format GUID
547
567
  */
548
568
  programId: string;
549
- /** Compatibility option for existing integrations. Current section responses return the section title. */
569
+ /**
570
+ * Deprecated: Current section responses always include the section title. This field is ignored.
571
+ * @deprecated
572
+ * @targetRemovalDate 2026-12-31
573
+ */
550
574
  descriptionFieldSet?: DescriptionFieldSetWithLiterals;
551
575
  /**
552
- * Predefined sets of fields to return.
576
+ * Deprecated: `total_steps` is always returned. This field is ignored.
553
577
  * @maxSize 1
578
+ * @deprecated
579
+ * @targetRemovalDate 2026-12-31
554
580
  */
555
581
  fields?: RequestedFieldsWithLiterals[];
556
582
  }
@@ -568,8 +594,10 @@ interface CloneSectionRequest {
568
594
  */
569
595
  sectionId: string;
570
596
  /**
571
- * Predefined sets of fields to return.
597
+ * Deprecated: `total_steps` is always returned. This field is ignored.
572
598
  * @maxSize 1
599
+ * @deprecated
600
+ * @targetRemovalDate 2026-12-31
573
601
  */
574
602
  fields?: RequestedFieldsWithLiterals[];
575
603
  }
@@ -582,7 +610,7 @@ interface MoveSectionRequest {
582
610
  * ID of the section to move.
583
611
  * @format GUID
584
612
  */
585
- sectionId?: string;
613
+ sectionId: string;
586
614
  /**
587
615
  * ID of the section that the moved section should be placed after. Leave empty to move the section to the beginning of the program.
588
616
  * @format GUID
@@ -591,8 +619,10 @@ interface MoveSectionRequest {
591
619
  /** Current revision of the section. When provided, it must match the current revision to protect against conflicting updates. */
592
620
  revision?: string;
593
621
  /**
594
- * Predefined sets of fields to return.
622
+ * Deprecated: `total_steps` is always returned. This field is ignored.
595
623
  * @maxSize 1
624
+ * @deprecated
625
+ * @targetRemovalDate 2026-12-31
596
626
  */
597
627
  fields?: RequestedFieldsWithLiterals[];
598
628
  }
@@ -633,8 +663,10 @@ interface RestoreSectionFromTrashRequest {
633
663
  */
634
664
  sectionId?: string;
635
665
  /**
636
- * Predefined sets of fields to return.
666
+ * Deprecated: `total_steps` is always returned. This field is ignored.
637
667
  * @maxSize 1
668
+ * @deprecated
669
+ * @targetRemovalDate 2026-12-31
638
670
  */
639
671
  fields?: RequestedFieldsWithLiterals[];
640
672
  }
@@ -825,6 +857,8 @@ interface AccountInfo {
825
857
  *
826
858
  * The section is added to the program identified by `section.program_id`. Provide that program ID in the request. Set `section.description.title` for the section title. The stored ordering value is assigned automatically.
827
859
  *
860
+ * A program can contain up to 1,000 sections. This call fails if creating the section would exceed that limit.
861
+ *
828
862
  * To create multiple sections in a single API call, call [Bulk Create Sections](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/bulk-create-sections).
829
863
  * @param section - Section to create. Must include `section.program_id`.
830
864
  * @public
@@ -839,8 +873,10 @@ interface AccountInfo {
839
873
  declare function createSection(section: NonNullablePaths<Section, `programId`, 0>, options?: CreateSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `ordering` | `delayInDays`, 1>>;
840
874
  interface CreateSectionOptions {
841
875
  /**
842
- * Predefined sets of fields to return.
876
+ * Deprecated: `total_steps` is always returned. This field is ignored.
843
877
  * @maxSize 1
878
+ * @deprecated
879
+ * @targetRemovalDate 2026-12-31
844
880
  */
845
881
  fields?: RequestedFieldsWithLiterals[];
846
882
  }
@@ -849,6 +885,8 @@ interface CreateSectionOptions {
849
885
  *
850
886
  * All sections in the request must include `program_id` and belong to the same program. Set `description.title` for each section title. The stored ordering values are assigned automatically.
851
887
  *
888
+ * A program can contain up to 1,000 sections. This call fails if creating the requested sections would exceed that limit.
889
+ *
852
890
  * To create a single section, call [Create Section](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/create-section).
853
891
  * @param sections - List of sections to create. Each section must include `program_id`, and all sections must belong to the same program.
854
892
  * @public
@@ -862,15 +900,15 @@ interface CreateSectionOptions {
862
900
  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>>;
863
901
  interface BulkCreateSectionsOptions {
864
902
  /**
865
- * Predefined sets of fields to return.
903
+ * Deprecated: This field is ignored.
866
904
  * @maxSize 1
905
+ * @deprecated
906
+ * @targetRemovalDate 2026-12-31
867
907
  */
868
908
  fields?: RequestedFieldsWithLiterals[];
869
909
  }
870
910
  /**
871
911
  * Retrieves a section.
872
- *
873
- * `descriptionFieldSet` is retained for backward compatibility. Current section responses return the section title.
874
912
  * @param sectionId - ID of the Section to retrieve.
875
913
  * @public
876
914
  * @documentationMaturity preview
@@ -882,11 +920,17 @@ interface BulkCreateSectionsOptions {
882
920
  */
883
921
  declare function getSection(sectionId: string, options?: GetSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `ordering` | `delayInDays`, 1>>;
884
922
  interface GetSectionOptions {
885
- /** Compatibility option for existing integrations. Current section responses return the section title. */
923
+ /**
924
+ * Deprecated: Current section responses always include the section title. This field is ignored.
925
+ * @deprecated
926
+ * @targetRemovalDate 2026-12-31
927
+ */
886
928
  descriptionFieldSet?: DescriptionFieldSetWithLiterals;
887
929
  /**
888
- * Predefined sets of fields to return.
930
+ * Deprecated: `total_steps` is always returned. This field is ignored.
889
931
  * @maxSize 1
932
+ * @deprecated
933
+ * @targetRemovalDate 2026-12-31
890
934
  */
891
935
  fields?: RequestedFieldsWithLiterals[];
892
936
  }
@@ -961,8 +1005,10 @@ interface UpdateSectionOptions {
961
1005
  extendedFields?: ExtendedFields;
962
1006
  };
963
1007
  /**
964
- * Predefined sets of fields to return.
1008
+ * Deprecated: `total_steps` is always returned. This field is ignored.
965
1009
  * @maxSize 1
1010
+ * @deprecated
1011
+ * @targetRemovalDate 2026-12-31
966
1012
  */
967
1013
  fields?: RequestedFieldsWithLiterals[];
968
1014
  }
@@ -982,6 +1028,9 @@ declare function deleteSection(sectionId: string): Promise<void>;
982
1028
  /**
983
1029
  * Retrieves a list of up to 1,000 sections, given the provided paging, filtering, and sorting.
984
1030
  *
1031
+ * Use this method when you need to filter sections, apply custom sorting or paging, or query across programs.
1032
+ * 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).
1033
+ *
985
1034
  * Query Sections runs with these defaults, which you can override:
986
1035
  *
987
1036
  * - `createdDate` is sorted in `DESC` order.
@@ -990,7 +1039,7 @@ declare function deleteSection(sectionId: string): Promise<void>;
990
1039
  *
991
1040
  * Supported filter fields are `programId`, `id`, and `delayInDays`.
992
1041
  * Supported sorting fields are `id`, `delayInDays`, `createdDate`, and `ordering`. When sorting by a field other than `programId`, also filter by `programId`.
993
- * `descriptionFieldSet` is retained for backward compatibility. Current section responses return the section title.
1042
+ * Section extended fields aren't supported for filtering or sorting. Queries that reference them are rejected.
994
1043
  *
995
1044
  * 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).
996
1045
  * @public
@@ -1001,11 +1050,17 @@ declare function deleteSection(sectionId: string): Promise<void>;
1001
1050
  */
1002
1051
  declare function querySections(options?: QuerySectionsOptions): SectionsQueryBuilder;
1003
1052
  interface QuerySectionsOptions {
1004
- /** Compatibility option for existing integrations. Current section responses return the section title. */
1053
+ /**
1054
+ * Deprecated: Current section responses always include the section title. This field is ignored.
1055
+ * @deprecated
1056
+ * @targetRemovalDate 2026-12-31
1057
+ */
1005
1058
  descriptionFieldSet?: DescriptionFieldSetWithLiterals | undefined;
1006
1059
  /**
1007
- * Predefined sets of fields to return.
1060
+ * Deprecated: `total_steps` is always returned. This field is ignored.
1008
1061
  * @maxSize 1
1062
+ * @deprecated
1063
+ * @targetRemovalDate 2026-12-31
1009
1064
  */
1010
1065
  fields?: RequestedFieldsWithLiterals[] | undefined;
1011
1066
  }
@@ -1176,11 +1231,13 @@ declare const utils: {
1176
1231
  query: _wix_sdk_types.QueryHelpers<Section, SectionQuerySpec, SectionQuery>;
1177
1232
  };
1178
1233
  /**
1179
- * Retrieves the sections in a program.
1234
+ * Retrieves all sections in a program.
1180
1235
  *
1181
- * Results are sorted by `ordering` in ascending order. `descriptionFieldSet` is retained for backward compatibility. Current section responses return the section title.
1236
+ * Use this method when you know the program ID and need all sections in program order.
1182
1237
  *
1183
- * To filter or sort sections, call [Query Sections](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/query-sections).
1238
+ * Results are sorted by `ordering` in ascending order.
1239
+ *
1240
+ * 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).
1184
1241
  * @param programId - Program ID to list sections for.
1185
1242
  * @public
1186
1243
  * @documentationMaturity preview
@@ -1191,11 +1248,17 @@ declare const utils: {
1191
1248
  */
1192
1249
  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>>;
1193
1250
  interface ListSectionsOptions {
1194
- /** Compatibility option for existing integrations. Current section responses return the section title. */
1251
+ /**
1252
+ * Deprecated: Current section responses always include the section title. This field is ignored.
1253
+ * @deprecated
1254
+ * @targetRemovalDate 2026-12-31
1255
+ */
1195
1256
  descriptionFieldSet?: DescriptionFieldSetWithLiterals;
1196
1257
  /**
1197
- * Predefined sets of fields to return.
1258
+ * Deprecated: `total_steps` is always returned. This field is ignored.
1198
1259
  * @maxSize 1
1260
+ * @deprecated
1261
+ * @targetRemovalDate 2026-12-31
1199
1262
  */
1200
1263
  fields?: RequestedFieldsWithLiterals[];
1201
1264
  }
@@ -1203,6 +1266,10 @@ interface ListSectionsOptions {
1203
1266
  * Clones a section.
1204
1267
  *
1205
1268
  * The cloned section is added to the same program after the current last section. Translation content and extended field data are copied to the cloned section.
1269
+ *
1270
+ * Steps are cloned asynchronously after this call returns. The `section.total_steps` value in the response may not reflect the eventual number of cloned steps. Until cloning finishes, Get, List, and Query calls may return a lower actual step count.
1271
+ *
1272
+ * A program can contain up to 1,000 sections. This call fails if cloning the section would exceed that limit.
1206
1273
  * @param sectionId - ID of the section to clone.
1207
1274
  * @public
1208
1275
  * @documentationMaturity preview
@@ -1214,8 +1281,10 @@ interface ListSectionsOptions {
1214
1281
  declare function cloneSection(sectionId: string, options?: CloneSectionOptions): Promise<NonNullablePaths<CloneSectionResponse, `section.programId` | `section.description.title` | `section.ordering` | `section.delayInDays`, 2>>;
1215
1282
  interface CloneSectionOptions {
1216
1283
  /**
1217
- * Predefined sets of fields to return.
1284
+ * Deprecated: `total_steps` is always returned. This field is ignored.
1218
1285
  * @maxSize 1
1286
+ * @deprecated
1287
+ * @targetRemovalDate 2026-12-31
1219
1288
  */
1220
1289
  fields?: RequestedFieldsWithLiterals[];
1221
1290
  }
@@ -1225,19 +1294,16 @@ interface CloneSectionOptions {
1225
1294
  * Each time the section is updated, its `revision` increments by 1. When provided, `revision` must match the current section revision to protect against conflicting updates.
1226
1295
  *
1227
1296
  * If `afterSectionId` isn't specified, the section is moved to the beginning of the program. The stored ordering value is recalculated automatically.
1297
+ * @param sectionId - ID of the section to move.
1228
1298
  * @public
1229
1299
  * @documentationMaturity preview
1300
+ * @requiredField sectionId
1230
1301
  * @permissionId ONLINE_PROGRAMS.SECTION_UPDATE
1231
1302
  * @applicableIdentity APP
1232
1303
  * @fqn wix.onlineprograms.sections.v3.SectionsService.MoveSection
1233
1304
  */
1234
- declare function moveSection(options?: MoveSectionOptions): Promise<NonNullablePaths<MoveSectionResponse, `section.programId` | `section.description.title` | `section.ordering` | `section.delayInDays`, 2>>;
1305
+ declare function moveSection(sectionId: string, options?: MoveSectionOptions): Promise<NonNullablePaths<MoveSectionResponse, `section.programId` | `section.description.title` | `section.ordering` | `section.delayInDays`, 2>>;
1235
1306
  interface MoveSectionOptions {
1236
- /**
1237
- * ID of the section to move.
1238
- * @format GUID
1239
- */
1240
- sectionId?: string;
1241
1307
  /**
1242
1308
  * ID of the section that the moved section should be placed after. Leave empty to move the section to the beginning of the program.
1243
1309
  * @format GUID
@@ -1246,8 +1312,10 @@ interface MoveSectionOptions {
1246
1312
  /** Current revision of the section. When provided, it must match the current revision to protect against conflicting updates. */
1247
1313
  revision?: string;
1248
1314
  /**
1249
- * Predefined sets of fields to return.
1315
+ * Deprecated: `total_steps` is always returned. This field is ignored.
1250
1316
  * @maxSize 1
1317
+ * @deprecated
1318
+ * @targetRemovalDate 2026-12-31
1251
1319
  */
1252
1320
  fields?: RequestedFieldsWithLiterals[];
1253
1321
  }
@@ -224,8 +224,10 @@ interface CreateSectionRequest {
224
224
  /** Section to create. Must include `section.program_id`. */
225
225
  section: Section;
226
226
  /**
227
- * Predefined sets of fields to return.
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
- * Predefined sets of fields to return.
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
- * Predefined sets of fields to return.
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
  }
@@ -342,11 +348,17 @@ interface GetSectionRequest {
342
348
  * @format GUID
343
349
  */
344
350
  sectionId: string;
345
- /** Compatibility option for existing integrations. Current section responses return the section title. */
351
+ /**
352
+ * Deprecated: Current section responses always include the section title. This field is ignored.
353
+ * @deprecated
354
+ * @targetRemovalDate 2026-12-31
355
+ */
346
356
  descriptionFieldSet?: DescriptionFieldSetWithLiterals;
347
357
  /**
348
- * Predefined sets of fields to return.
358
+ * Deprecated: `total_steps` is always returned. This field is ignored.
349
359
  * @maxSize 1
360
+ * @deprecated
361
+ * @targetRemovalDate 2026-12-31
350
362
  */
351
363
  fields?: RequestedFieldsWithLiterals[];
352
364
  }
@@ -373,8 +385,10 @@ interface UpdateSectionRequest {
373
385
  */
374
386
  fieldMask?: string[];
375
387
  /**
376
- * Predefined sets of fields to return.
388
+ * Deprecated: `total_steps` is always returned. This field is ignored.
377
389
  * @maxSize 1
390
+ * @deprecated
391
+ * @targetRemovalDate 2026-12-31
378
392
  */
379
393
  fields?: RequestedFieldsWithLiterals[];
380
394
  }
@@ -409,11 +423,17 @@ interface DeleteAllProgramSectionsResponse {
409
423
  interface QuerySectionsRequest {
410
424
  /** WQL expression. */
411
425
  query?: CursorQuery;
412
- /** Compatibility option for existing integrations. Current section responses return the section title. */
426
+ /**
427
+ * Deprecated: Current section responses always include the section title. This field is ignored.
428
+ * @deprecated
429
+ * @targetRemovalDate 2026-12-31
430
+ */
413
431
  descriptionFieldSet?: DescriptionFieldSetWithLiterals;
414
432
  /**
415
- * Predefined sets of fields to return.
433
+ * Deprecated: `total_steps` is always returned. This field is ignored.
416
434
  * @maxSize 1
435
+ * @deprecated
436
+ * @targetRemovalDate 2026-12-31
417
437
  */
418
438
  fields?: RequestedFieldsWithLiterals[];
419
439
  }
@@ -546,11 +566,17 @@ interface ListSectionsRequest {
546
566
  * @format GUID
547
567
  */
548
568
  programId: string;
549
- /** Compatibility option for existing integrations. Current section responses return the section title. */
569
+ /**
570
+ * Deprecated: Current section responses always include the section title. This field is ignored.
571
+ * @deprecated
572
+ * @targetRemovalDate 2026-12-31
573
+ */
550
574
  descriptionFieldSet?: DescriptionFieldSetWithLiterals;
551
575
  /**
552
- * Predefined sets of fields to return.
576
+ * Deprecated: `total_steps` is always returned. This field is ignored.
553
577
  * @maxSize 1
578
+ * @deprecated
579
+ * @targetRemovalDate 2026-12-31
554
580
  */
555
581
  fields?: RequestedFieldsWithLiterals[];
556
582
  }
@@ -568,8 +594,10 @@ interface CloneSectionRequest {
568
594
  */
569
595
  sectionId: string;
570
596
  /**
571
- * Predefined sets of fields to return.
597
+ * Deprecated: `total_steps` is always returned. This field is ignored.
572
598
  * @maxSize 1
599
+ * @deprecated
600
+ * @targetRemovalDate 2026-12-31
573
601
  */
574
602
  fields?: RequestedFieldsWithLiterals[];
575
603
  }
@@ -582,7 +610,7 @@ interface MoveSectionRequest {
582
610
  * ID of the section to move.
583
611
  * @format GUID
584
612
  */
585
- sectionId?: string;
613
+ sectionId: string;
586
614
  /**
587
615
  * ID of the section that the moved section should be placed after. Leave empty to move the section to the beginning of the program.
588
616
  * @format GUID
@@ -591,8 +619,10 @@ interface MoveSectionRequest {
591
619
  /** Current revision of the section. When provided, it must match the current revision to protect against conflicting updates. */
592
620
  revision?: string;
593
621
  /**
594
- * Predefined sets of fields to return.
622
+ * Deprecated: `total_steps` is always returned. This field is ignored.
595
623
  * @maxSize 1
624
+ * @deprecated
625
+ * @targetRemovalDate 2026-12-31
596
626
  */
597
627
  fields?: RequestedFieldsWithLiterals[];
598
628
  }
@@ -633,8 +663,10 @@ interface RestoreSectionFromTrashRequest {
633
663
  */
634
664
  sectionId?: string;
635
665
  /**
636
- * Predefined sets of fields to return.
666
+ * Deprecated: `total_steps` is always returned. This field is ignored.
637
667
  * @maxSize 1
668
+ * @deprecated
669
+ * @targetRemovalDate 2026-12-31
638
670
  */
639
671
  fields?: RequestedFieldsWithLiterals[];
640
672
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_online-programs_sections",
3
- "version": "1.0.29",
3
+ "version": "1.0.31",
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": "a5ba7173a7a46e224979d177775a46458a57d16f94eaeaae96044287"
53
+ "falconPackageHash": "437fc9edc7d6ba1c81d5b89b5b845f6101f339faeb81c5a218b8407a"
54
54
  }