@wix/auto_sdk_online-programs_sections 1.0.25 → 1.0.27

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.
@@ -35,7 +35,7 @@ interface Section {
35
35
  * @immutable
36
36
  */
37
37
  programId?: string;
38
- /** Section title and deprecated backward-compatibility content fields. */
38
+ /** Section title. */
39
39
  description?: Description;
40
40
  /**
41
41
  * Total number of steps in the section.
@@ -52,33 +52,10 @@ interface Section {
52
52
  /** Custom field data for the section. */
53
53
  extendedFields?: ExtendedFields;
54
54
  }
55
- interface Description extends DescriptionMediaOneOf {
55
+ interface Description {
56
56
  /** @maxLength 500 */
57
57
  title?: string;
58
58
  }
59
- /** @oneof */
60
- interface DescriptionMediaOneOf {
61
- }
62
- interface FocalPoint {
63
- /** X-coordinate of the focal point. */
64
- x?: number;
65
- /** Y-coordinate of the focal point. */
66
- y?: number;
67
- /** crop by height */
68
- height?: number | null;
69
- /** crop by width */
70
- width?: number | null;
71
- }
72
- interface VideoResolution {
73
- /** Video URL. */
74
- url?: string;
75
- /** Video height. */
76
- height?: number;
77
- /** Video width. */
78
- width?: number;
79
- /** Video format for example, mp4, hls. */
80
- format?: string;
81
- }
82
59
  declare enum State {
83
60
  /** Retained for backward compatibility. Doesn't affect whether the section is served. */
84
61
  DRAFT = "DRAFT",
@@ -423,13 +400,6 @@ interface QuerySectionsRequest {
423
400
  query?: CursorQuery;
424
401
  /** Compatibility option for existing integrations. Current section responses return the section title. */
425
402
  descriptionFieldSet?: DescriptionFieldSetWithLiterals;
426
- /**
427
- * Deprecated. Program ID used to scope the query. Use `query.filter` instead.
428
- * @deprecated
429
- * @replacedBy wix.common.CursorQuery
430
- * @targetRemovalDate 2026-06-30
431
- */
432
- programId?: string;
433
403
  /**
434
404
  * Predefined sets of fields to return.
435
405
  * @maxSize 1
@@ -839,7 +809,7 @@ interface AccountInfo {
839
809
  /**
840
810
  * Creates a section.
841
811
  *
842
- * 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. `section.description.details`, `section.description.image`, and `section.description.video` are deprecated backward-compatibility fields. The stored ordering value is assigned automatically.
812
+ * 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.
843
813
  *
844
814
  * 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).
845
815
  * @param section - Section to create. Must include `section.program_id`.
@@ -863,7 +833,7 @@ interface CreateSectionOptions {
863
833
  /**
864
834
  * Creates up to 100 sections in a single API call.
865
835
  *
866
- * All sections in the request must include `program_id` and belong to the same program. Set `description.title` for each section title. `description.details`, `description.image`, and `description.video` are deprecated backward-compatibility fields. The stored ordering values are assigned automatically.
836
+ * 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.
867
837
  *
868
838
  * To create a single section, call [Create Section](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/create-section).
869
839
  * @param sections - List of sections to create. Each section must include `program_id`, and all sections must belong to the same program.
@@ -953,7 +923,7 @@ interface UpdateSectionOptions {
953
923
  * @immutable
954
924
  */
955
925
  programId?: string;
956
- /** Section title and deprecated backward-compatibility content fields. */
926
+ /** Section title. */
957
927
  description?: Description;
958
928
  /**
959
929
  * Total number of steps in the section.
@@ -1013,13 +983,6 @@ declare function querySections(options?: QuerySectionsOptions): SectionsQueryBui
1013
983
  interface QuerySectionsOptions {
1014
984
  /** Compatibility option for existing integrations. Current section responses return the section title. */
1015
985
  descriptionFieldSet?: DescriptionFieldSetWithLiterals | undefined;
1016
- /**
1017
- * Deprecated. Program ID used to scope the query. Use `query.filter` instead.
1018
- * @deprecated
1019
- * @replacedBy wix.common.CursorQuery
1020
- * @targetRemovalDate 2026-06-30
1021
- */
1022
- programId?: string | undefined;
1023
986
  /**
1024
987
  * Predefined sets of fields to return.
1025
988
  * @maxSize 1
@@ -1255,4 +1218,4 @@ interface MoveSectionOptions {
1255
1218
  fields?: RequestedFieldsWithLiterals[];
1256
1219
  }
1257
1220
 
1258
- 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 };
1221
+ 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 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 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, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, bulkCreateSections, cloneSection, createSection, deleteSection, getSection, listSections, moveSection, querySections, typedQuerySections, updateSection, utils };