@wix/auto_sdk_online-programs_sections 1.0.13 → 1.0.15

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.
Files changed (49) hide show
  1. package/build/cjs/index.d.ts +61 -31
  2. package/build/cjs/index.js +47 -26
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +220 -120
  5. package/build/cjs/index.typings.js +41 -21
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +117 -72
  8. package/build/cjs/meta.js +35 -18
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.d.ts +14 -5
  11. package/build/cjs/schemas.js +335 -212
  12. package/build/cjs/schemas.js.map +1 -1
  13. package/build/es/index.d.mts +61 -31
  14. package/build/es/index.mjs +46 -25
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +220 -120
  17. package/build/es/index.typings.mjs +40 -20
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +117 -72
  20. package/build/es/meta.mjs +34 -17
  21. package/build/es/meta.mjs.map +1 -1
  22. package/build/es/schemas.d.mts +14 -5
  23. package/build/es/schemas.mjs +333 -210
  24. package/build/es/schemas.mjs.map +1 -1
  25. package/build/internal/cjs/index.d.ts +61 -31
  26. package/build/internal/cjs/index.js +47 -26
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +220 -120
  29. package/build/internal/cjs/index.typings.js +41 -21
  30. package/build/internal/cjs/index.typings.js.map +1 -1
  31. package/build/internal/cjs/meta.d.ts +117 -72
  32. package/build/internal/cjs/meta.js +35 -18
  33. package/build/internal/cjs/meta.js.map +1 -1
  34. package/build/internal/cjs/schemas.d.ts +14 -5
  35. package/build/internal/cjs/schemas.js +335 -212
  36. package/build/internal/cjs/schemas.js.map +1 -1
  37. package/build/internal/es/index.d.mts +61 -31
  38. package/build/internal/es/index.mjs +46 -25
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +220 -120
  41. package/build/internal/es/index.typings.mjs +40 -20
  42. package/build/internal/es/index.typings.mjs.map +1 -1
  43. package/build/internal/es/meta.d.mts +117 -72
  44. package/build/internal/es/meta.mjs +34 -17
  45. package/build/internal/es/meta.mjs.map +1 -1
  46. package/build/internal/es/schemas.d.mts +14 -5
  47. package/build/internal/es/schemas.mjs +333 -210
  48. package/build/internal/es/schemas.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../index.typings.ts","../../../src/online-programs-v3-section-sections.universal.ts","../../../src/online-programs-v3-section-sections.http.ts"],"sourcesContent":["export * from './src/online-programs-v3-section-sections.universal.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport { queryBuilder } from '@wix/sdk-runtime/query-builder';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport {\n HttpClient,\n HttpResponse,\n NonNullablePaths,\n QuerySpec,\n Query as QuerySdkType,\n} from '@wix/sdk-types';\nimport * as ambassadorWixOnlineProgramsV3Section from './online-programs-v3-section-sections.http.js';\n// @ts-ignore\nimport { transformSDKImageToRESTImage } from '@wix/sdk-runtime/transformations/image';\nimport { transformRESTImageToSDKImage } from '@wix/sdk-runtime/transformations/image';\nimport { transformSDKVideoV2ToRESTVideoV2 } from '@wix/sdk-runtime/transformations/video-v2';\nimport { transformRESTVideoV2ToSDKVideoV2 } from '@wix/sdk-runtime/transformations/video-v2';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { createQueryUtils } from '@wix/sdk-runtime/query-builder-utils';\n\nexport interface Section {\n /**\n * Program Section ID.\n * @format GUID\n * @readonly\n */\n _id?: string | null;\n /**\n * Represents the current state of an item. Each time the item is modified, its `revision` changes by the server. for an update operation to succeed, you MUST pass the latest revision\n * @readonly\n */\n revision?: string | null;\n /**\n * Represents the time this Section was created\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Represents the time this Section was last updated\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Program Id to which this section is assigned to.\n * @format GUID\n * @readonly\n */\n programId?: string;\n /** title, description and media content. */\n description?: Description;\n /** is this section published yet? */\n state?: StateWithLiterals;\n /**\n * number of program steps in this section.\n * @readonly\n */\n oldTotalSteps?: number;\n /**\n * number of program steps in this section.\n * @readonly\n */\n totalSteps?: number | null;\n /** should we open this section as a trial content even though the owning program isn't purchased yet? */\n trialSection?: boolean;\n /** field for manual ordering of sections */\n ordering?: number;\n /**\n * open after defined number of days passed.\n * @max 5000\n */\n delayInDays?: number;\n /** extensible field */\n extendedFields?: ExtendedFields;\n}\n\nexport interface Description extends DescriptionMediaOneOf {\n /**\n * @deprecated\n * @targetRemovalDate 2025-05-10\n */\n image?: string;\n /**\n * @deprecated\n * @targetRemovalDate 2025-05-10\n */\n video?: string;\n /** @maxLength 500 */\n title?: string;\n /** @maxLength 10000000 */\n details?: string | null;\n}\n\n/** @oneof */\nexport interface DescriptionMediaOneOf {\n /**\n * @deprecated\n * @targetRemovalDate 2025-05-10\n */\n image?: string;\n /**\n * @deprecated\n * @targetRemovalDate 2025-05-10\n */\n video?: string;\n}\n\nexport interface FocalPoint {\n /** X-coordinate of the focal point. */\n x?: number;\n /** Y-coordinate of the focal point. */\n y?: number;\n /** crop by height */\n height?: number | null;\n /** crop by width */\n width?: number | null;\n}\n\nexport interface VideoResolution {\n /** Video URL. */\n url?: string;\n /** Video height. */\n height?: number;\n /** Video width. */\n width?: number;\n /** Video format for example, mp4, hls. */\n format?: string;\n}\n\nexport enum State {\n /** the section isn't ready to be shown to participants. */\n DRAFT = 'DRAFT',\n /** this content is visible to participants. */\n PUBLISHED = 'PUBLISHED',\n}\n\n/** @enumType */\nexport type StateWithLiterals = State | 'DRAFT' | 'PUBLISHED';\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\nexport interface UpdateDocumentsEvent\n extends UpdateDocumentsEventOperationOneOf {\n /** insert/update documents */\n update?: DocumentUpdateOperation;\n /** delete by document ids */\n deleteByIds?: DeleteByIdsOperation;\n /** delete documents matching filter */\n deleteByFilter?: DeleteByFilterOperation;\n /** update documents matching filter */\n updateByFilter?: UpdateByFilterOperation;\n /** update only existing documents */\n updateExisting?: UpdateExistingOperation;\n /**\n * application which owns documents\n * @minLength 2\n */\n appDefId?: string | null;\n /**\n * type of the documents\n * @minLength 2\n */\n documentType?: string | null;\n /**\n * language of the documents\n * @minLength 2\n */\n language?: string | null;\n /**\n * site documents belong to\n * @minLength 2\n */\n msId?: string | null;\n}\n\n/** @oneof */\nexport interface UpdateDocumentsEventOperationOneOf {\n /** insert/update documents */\n update?: DocumentUpdateOperation;\n /** delete by document ids */\n deleteByIds?: DeleteByIdsOperation;\n /** delete documents matching filter */\n deleteByFilter?: DeleteByFilterOperation;\n /** update documents matching filter */\n updateByFilter?: UpdateByFilterOperation;\n /** update only existing documents */\n updateExisting?: UpdateExistingOperation;\n}\n\nexport interface DocumentUpdateOperation {\n /** documents to index or update */\n documents?: IndexDocument[];\n}\n\nexport interface IndexDocument {\n /** data bag with non-searchable fields (url, image) */\n payload?: DocumentPayload;\n /** what type of users should documents be visible to */\n exposure?: EnumWithLiterals;\n /** document with mandatory fields (id, title, description) and with fields specific to the type of the document */\n document?: Record<string, any> | null;\n /** what member groups is the document exposed to. Used only with GROUP_PROTECTED exposure */\n permittedMemberGroups?: string[];\n /** if true SEO is disabled for this document */\n seoHidden?: boolean | null;\n /** if true the page is a lightbox popup */\n isPopup?: boolean | null;\n}\n\nexport interface DocumentPayload {\n /** url of the page representing the document */\n url?: string | null;\n /** image which represents the document */\n documentImage?: DocumentImage;\n}\n\nexport interface DocumentImage {\n /** the name of the image */\n name?: string;\n /** the width of the image */\n width?: number;\n /** the height of the image */\n height?: number;\n}\n\nexport enum Enum {\n /** Default value. Means that permission not set */\n UNKNOWN = 'UNKNOWN',\n /** Protected exposure. Exposed to members and owners */\n PROTECTED = 'PROTECTED',\n /** Private exposure. Exposed to owners */\n PRIVATE = 'PRIVATE',\n /** Public exposure. Visible to everyone */\n PUBLIC = 'PUBLIC',\n /** Used for partial updates, to state that exposure is not changing */\n UNCHANGED = 'UNCHANGED',\n /** Protected to members of permitted groups and owners */\n GROUP_PROTECTED = 'GROUP_PROTECTED',\n}\n\n/** @enumType */\nexport type EnumWithLiterals =\n | Enum\n | 'UNKNOWN'\n | 'PROTECTED'\n | 'PRIVATE'\n | 'PUBLIC'\n | 'UNCHANGED'\n | 'GROUP_PROTECTED';\n\nexport interface DeleteByIdsOperation {\n /** ids of the documents to delete */\n documentIds?: string[];\n}\n\nexport interface DeleteByFilterOperation {\n /** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */\n filter?: Record<string, any> | null;\n}\n\nexport interface UpdateByFilterOperation {\n /** documents matching this filter will be updated */\n filter?: Record<string, any> | null;\n /** partial document to apply */\n document?: IndexDocument;\n}\n\nexport interface UpdateExistingOperation {\n /** documents to update */\n documents?: IndexDocument[];\n}\n\nexport interface SectionUpdated {\n /** Section before update. */\n previous?: Section;\n /** Section after update. */\n current?: Section;\n}\n\nexport interface SectionDeleted {\n /** Full section that was deleted */\n section?: Section;\n}\n\nexport interface SectionCloned {\n /** Section which was used as a prototype for cloning. */\n prototype?: Section;\n /** Result of section cloning. */\n cloned?: Section;\n}\n\nexport interface SectionMoved {\n /**\n * Moved section id\n * @format GUID\n */\n sectionId?: string;\n /** section position */\n newSectionPositionRank?: number;\n}\n\nexport interface SectionPublished {\n /**\n * Published section id\n * @format GUID\n */\n sectionId?: string;\n}\n\nexport interface CreateSectionRequest {\n /** Section to be created. */\n section: Section;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport enum RequestedFields {\n /** return total number of steps in this section. */\n TOTAL_STEPS = 'TOTAL_STEPS',\n}\n\n/** @enumType */\nexport type RequestedFieldsWithLiterals = RequestedFields | 'TOTAL_STEPS';\n\nexport interface CreateSectionResponse {\n /** The created Section. */\n section?: Section;\n}\n\nexport interface BulkCreateSectionRequest {\n /**\n * List of sections you want to create\n * @minSize 1\n * @maxSize 100\n */\n sections: Section[];\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface BulkCreateSectionResponse {\n /** bulk results */\n results?: BulkSectionResult[];\n /** bulk metadata */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkSectionResult {\n /** item metadata */\n itemMetadata?: ItemMetadata;\n /** created section */\n item?: Section;\n /** indicator whether it was create or update */\n action?: BulkActionTypeWithLiterals;\n}\n\nexport interface ItemMetadata {\n /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */\n _id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport enum BulkActionType {\n UNKNOWN_ACTION_TYPE = 'UNKNOWN_ACTION_TYPE',\n INSERT = 'INSERT',\n UPDATE = 'UPDATE',\n DELETE = 'DELETE',\n}\n\n/** @enumType */\nexport type BulkActionTypeWithLiterals =\n | BulkActionType\n | 'UNKNOWN_ACTION_TYPE'\n | 'INSERT'\n | 'UPDATE'\n | 'DELETE';\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\n}\n\nexport interface BulkCreateSectionMigrationRequest {\n /**\n * List of sections you want to create\n * @minSize 1\n * @maxSize 100\n */\n sections: Section[];\n}\n\nexport interface BulkCreateSectionMigrationResponse {\n /** bulk results */\n results?: BulkSectionResult[];\n /** bulk metadata */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface GetSectionRequest {\n /**\n * ID of the Section to retrieve.\n * @format GUID\n */\n sectionId: string;\n /** Whenever to return description only with title or with details as well */\n descriptionFieldSet?: DescriptionFieldSetWithLiterals;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport enum DescriptionFieldSet {\n STANDARD = 'STANDARD',\n EXTENDED = 'EXTENDED',\n}\n\n/** @enumType */\nexport type DescriptionFieldSetWithLiterals =\n | DescriptionFieldSet\n | 'STANDARD'\n | 'EXTENDED';\n\nexport interface GetSectionResponse {\n /** The requested Section. */\n section?: Section;\n}\n\nexport interface UpdateSectionRequest {\n /** Section to be updated, may be partial. */\n section?: Section;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface UpdateSectionResponse {\n /** Updated Section. */\n section?: Section;\n}\n\nexport interface DeleteSectionRequest {\n /**\n * Id of the Section to delete.\n * @format GUID\n */\n sectionId: string;\n}\n\nexport interface DeleteSectionResponse {}\n\nexport interface DeleteAllProgramSectionsRequest {\n /**\n * Program id to delete sections from\n * @format GUID\n */\n programId?: string;\n}\n\nexport interface DeleteAllProgramSectionsResponse {\n /** Total count of sections in the program */\n sectionsTotal?: number;\n /** Count of successfully deleted sections */\n successfulCount?: number;\n /** Count of sections that failed to be deleted */\n failedCount?: number;\n}\n\nexport interface QuerySectionsRequest {\n /** WQL expression. */\n query?: CursorQuery;\n /** Whenever to return description only with title or with details as well */\n descriptionFieldSet?: DescriptionFieldSetWithLiterals;\n /**\n * Program id to query sections. Not used anymore. Deprecated in favor of query filter param.\n * @deprecated\n * @replacedBy wix.common.CursorQuery\n * @targetRemovalDate 2026-06-30\n */\n programId?: string;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n /**\n * Cursor paging options.\n *\n * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).\n */\n cursorPaging?: CursorPaging;\n /**\n * Filter object.\n *\n * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object.\n *\n * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).\n * @maxSize 5\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n /**\n * Cursor paging options.\n *\n * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).\n */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface QuerySectionsResponse {\n /** List of Sections. */\n sections?: Section[];\n /** Paging metadata */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in current page. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\n * Whether there are more pages to retrieve following the current page.\n *\n * + `true`: Another page of results can be retrieved.\n * + `false`: This is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface ListSectionsRequest {\n /**\n * Program id to list sections\n * @format GUID\n */\n programId: string;\n /** Whenever to return description only with title or with details as well */\n descriptionFieldSet?: DescriptionFieldSetWithLiterals;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface ListSectionsResponse {\n /**\n * sections\n * @maxSize 1000\n */\n sections?: Section[];\n}\n\nexport interface CloneSectionRequest {\n /**\n * Section to clone\n * @format GUID\n */\n sectionId: string;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface CloneSectionResponse {\n /** cloned section */\n section?: Section;\n}\n\nexport interface MoveSectionRequest {\n /**\n * Section to move\n * @format GUID\n */\n sectionId?: string;\n /**\n * change section position to be after the specified section. If empty insert in the \"0\" position.\n * @format GUID\n */\n afterSectionId?: string | null;\n /** section revision */\n revision?: string;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface MoveSectionResponse {\n /** updated section which was moved */\n section?: Section;\n}\n\nexport interface PublishSectionRequest {\n /**\n * Section to publish\n * @format GUID\n */\n sectionId?: string;\n /** section revision */\n revision?: string;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface PublishSectionResponse {\n /** Published section */\n section?: Section;\n}\n\nexport interface BulkCloneSectionRequest {\n /**\n * id of program which was cloned\n * @format GUID\n */\n prototypeProgramId?: string;\n /**\n * id of program created after clone\n * @format GUID\n */\n clonedProgramId?: string;\n}\n\nexport interface BulkCloneSectionResponse {\n /**\n * id of program which was cloned\n * @format GUID\n */\n prototypeProgramId?: string;\n /**\n * id of program created after clone\n * @format GUID\n */\n clonedProgramId?: string;\n /** mapping of original to cloned section ids */\n prototypeIdToClonedId?: Record<string, string>;\n}\n\nexport interface RestoreSectionFromTrashRequest {\n /**\n * section id to restore\n * @format GUID\n */\n sectionId?: string;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface RestoreSectionFromTrashResponse {\n /** restored section */\n section?: Section;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entity?: string;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n body?: string;\n}\n\nexport interface Empty {}\n\nexport interface SearchIndexingNotification {\n /** new state of indexing for the site specified in ms_id */\n indexState?: SearchIndexingNotificationStateWithLiterals;\n /** type of the document the notification is targeted for. Applies to all types if not provided */\n documentType?: string | null;\n /** languaInternalDocumentUpdateByFilterOperationge the notification is targeted for. Applies to all languages if not provided */\n language?: string | null;\n /**\n * site for which notification is targeted\n * @minLength 2\n */\n msId?: string | null;\n}\n\nexport enum SearchIndexingNotificationState {\n /** default state */\n Unknown = 'Unknown',\n /** metasite does not require site search indexing */\n Off = 'Off',\n /** metasite requires site search indexing */\n On = 'On',\n}\n\n/** @enumType */\nexport type SearchIndexingNotificationStateWithLiterals =\n | SearchIndexingNotificationState\n | 'Unknown'\n | 'Off'\n | 'On';\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\n/**\n * Creates a Section.\n * @param section - Section to be created.\n * @public\n * @documentationMaturity preview\n * @requiredField section\n * @permissionId ONLINE_PROGRAMS.SECTION_CREATE\n * @applicableIdentity APP\n * @returns The created Section.\n * @fqn wix.onlineprograms.sections.v3.SectionsService.CreateSection\n */\nexport async function createSection(\n section: Section,\n options?: CreateSectionOptions\n): Promise<\n NonNullablePaths<\n Section,\n | `programId`\n | `description.title`\n | `state`\n | `oldTotalSteps`\n | `trialSection`\n | `ordering`\n | `delayInDays`,\n 3\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = transformPaths(\n renameKeysFromSDKRequestToRESTRequest({\n section: section,\n fields: options?.fields,\n }),\n [\n {\n transformFn: transformSDKImageToRESTImage,\n paths: [{ path: 'section.description.image' }],\n },\n {\n transformFn: transformSDKVideoV2ToRESTVideoV2,\n paths: [{ path: 'section.description.video' }],\n },\n ]\n );\n\n const reqOpts = ambassadorWixOnlineProgramsV3Section.createSection(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'section.description.image' }],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'section.description.video' }],\n },\n ])\n )?.section!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { section: '$[0]', fields: '$[1].fields' },\n singleArgumentUnchanged: false,\n },\n ['section', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface CreateSectionOptions {\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Bulk Section creation.\n * @param sections - List of sections you want to create\n * @public\n * @documentationMaturity preview\n * @requiredField sections\n * @permissionId ONLINE_PROGRAMS.SECTION_CREATE\n * @applicableIdentity APP\n * @fqn wix.onlineprograms.sections.v3.SectionsService.BulkCreateSection\n */\nexport async function bulkCreateSection(\n sections: Section[],\n options?: BulkCreateSectionOptions\n): Promise<\n NonNullablePaths<\n BulkCreateSectionResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `results.${number}.item.programId`\n | `results.${number}.item.description.title`\n | `results.${number}.item.state`\n | `results.${number}.item.oldTotalSteps`\n | `results.${number}.item.trialSection`\n | `results.${number}.item.ordering`\n | `results.${number}.item.delayInDays`\n | `results.${number}.action`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = transformPaths(\n renameKeysFromSDKRequestToRESTRequest({\n sections: sections,\n fields: options?.fields,\n }),\n [\n {\n transformFn: transformSDKImageToRESTImage,\n paths: [{ path: 'sections.description.image' }],\n },\n {\n transformFn: transformSDKVideoV2ToRESTVideoV2,\n paths: [{ path: 'sections.description.video' }],\n },\n ]\n );\n\n const reqOpts =\n ambassadorWixOnlineProgramsV3Section.bulkCreateSection(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'results.item.description.image' }],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'results.item.description.video' }],\n },\n ])\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { sections: '$[0]', fields: '$[1].fields' },\n singleArgumentUnchanged: false,\n },\n ['sections', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkCreateSectionOptions {\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Bulk Section creation for migration.\n * @param sections - List of sections you want to create\n * @public\n * @documentationMaturity preview\n * @requiredField sections\n * @permissionId ONLINE_PROGRAMS.SECTION_CREATE\n * @applicableIdentity APP\n * @fqn wix.onlineprograms.sections.v3.SectionsService.BulkCreateSectionMigration\n */\nexport async function bulkCreateSectionMigration(\n sections: Section[]\n): Promise<\n NonNullablePaths<\n BulkCreateSectionMigrationResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `results.${number}.item.programId`\n | `results.${number}.item.description.title`\n | `results.${number}.item.state`\n | `results.${number}.item.oldTotalSteps`\n | `results.${number}.item.trialSection`\n | `results.${number}.item.ordering`\n | `results.${number}.item.delayInDays`\n | `results.${number}.action`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = transformPaths(\n renameKeysFromSDKRequestToRESTRequest({ sections: sections }),\n [\n {\n transformFn: transformSDKImageToRESTImage,\n paths: [{ path: 'sections.description.image' }],\n },\n {\n transformFn: transformSDKVideoV2ToRESTVideoV2,\n paths: [{ path: 'sections.description.video' }],\n },\n ]\n );\n\n const reqOpts =\n ambassadorWixOnlineProgramsV3Section.bulkCreateSectionMigration(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'results.item.description.image' }],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'results.item.description.video' }],\n },\n ])\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { sections: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['sections']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Retrieves a Section.\n * @param sectionId - ID of the Section to retrieve.\n * @public\n * @documentationMaturity preview\n * @requiredField sectionId\n * @permissionId ONLINE_PROGRAMS.SECTION_READ\n * @applicableIdentity APP\n * @returns The requested Section.\n * @fqn wix.onlineprograms.sections.v3.SectionsService.GetSection\n */\nexport async function getSection(\n sectionId: string,\n options?: GetSectionOptions\n): Promise<\n NonNullablePaths<\n Section,\n | `programId`\n | `description.title`\n | `state`\n | `oldTotalSteps`\n | `trialSection`\n | `ordering`\n | `delayInDays`,\n 3\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n sectionId: sectionId,\n descriptionFieldSet: options?.descriptionFieldSet,\n fields: options?.fields,\n });\n\n const reqOpts = ambassadorWixOnlineProgramsV3Section.getSection(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'section.description.image' }],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'section.description.video' }],\n },\n ])\n )?.section!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n sectionId: '$[0]',\n descriptionFieldSet: '$[1].descriptionFieldSet',\n fields: '$[1].fields',\n },\n singleArgumentUnchanged: false,\n },\n ['sectionId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface GetSectionOptions {\n /** Whenever to return description only with title or with details as well */\n descriptionFieldSet?: DescriptionFieldSetWithLiterals;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Updates a Section.\n * @param _id - Program Section ID.\n * @public\n * @documentationMaturity preview\n * @requiredField _id\n * @requiredField options.section.revision\n * @permissionId ONLINE_PROGRAMS.SECTION_UPDATE\n * @applicableIdentity APP\n * @returns Updated Section.\n * @fqn wix.onlineprograms.sections.v3.SectionsService.UpdateSection\n */\nexport async function updateSection(\n _id: string,\n options?: NonNullablePaths<UpdateSectionOptions, `section.revision`, 3>\n): Promise<\n NonNullablePaths<\n Section,\n | `programId`\n | `description.title`\n | `state`\n | `oldTotalSteps`\n | `trialSection`\n | `ordering`\n | `delayInDays`,\n 3\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = transformPaths(\n renameKeysFromSDKRequestToRESTRequest({\n section: { ...options?.section, id: _id },\n fields: options?.fields,\n }),\n [\n {\n transformFn: transformSDKImageToRESTImage,\n paths: [{ path: 'section.description.image' }],\n },\n {\n transformFn: transformSDKVideoV2ToRESTVideoV2,\n paths: [{ path: 'section.description.video' }],\n },\n ]\n );\n\n const reqOpts = ambassadorWixOnlineProgramsV3Section.updateSection(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'section.description.image' }],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'section.description.video' }],\n },\n ])\n )?.section!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: { section: '$[1].section' },\n explicitPathsToArguments: {\n 'section.id': '$[0]',\n fields: '$[1].fields',\n },\n singleArgumentUnchanged: false,\n },\n ['_id', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface UpdateSectionOptions {\n section?: {\n /**\n * Program Section ID.\n * @format GUID\n * @readonly\n */\n _id?: string | null;\n /**\n * Represents the current state of an item. Each time the item is modified, its `revision` changes by the server. for an update operation to succeed, you MUST pass the latest revision\n * @readonly\n */\n revision?: string | null;\n /**\n * Represents the time this Section was created\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Represents the time this Section was last updated\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Program Id to which this section is assigned to.\n * @format GUID\n * @readonly\n */\n programId?: string;\n /** title, description and media content. */\n description?: Description;\n /** is this section published yet? */\n state?: StateWithLiterals;\n /**\n * number of program steps in this section.\n * @readonly\n */\n oldTotalSteps?: number;\n /**\n * number of program steps in this section.\n * @readonly\n */\n totalSteps?: number | null;\n /** should we open this section as a trial content even though the owning program isn't purchased yet? */\n trialSection?: boolean;\n /** field for manual ordering of sections */\n ordering?: number;\n /**\n * open after defined number of days passed.\n * @max 5000\n */\n delayInDays?: number;\n /** extensible field */\n extendedFields?: ExtendedFields;\n };\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Deletes a Section.\n * Deleting a Section permanently removes them from the Section List.\n * @param sectionId - Id of the Section to delete.\n * @public\n * @documentationMaturity preview\n * @requiredField sectionId\n * @permissionId ONLINE_PROGRAMS.SECTION_DELETE\n * @applicableIdentity APP\n * @fqn wix.onlineprograms.sections.v3.SectionsService.DeleteSection\n */\nexport async function deleteSection(sectionId: string): Promise<void> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n sectionId: sectionId,\n });\n\n const reqOpts = ambassadorWixOnlineProgramsV3Section.deleteSection(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { sectionId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['sectionId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Retrieves a list of Sections, given the provided [paging, filtering, and sorting][1].\n *\n * Up to 1,000 Sections can be returned per request.\n * @public\n * @documentationMaturity preview\n * @permissionId ONLINE_PROGRAMS.SECTION_READ\n * @applicableIdentity APP\n * @fqn wix.onlineprograms.sections.v3.SectionsService.QuerySections\n */\nexport function querySections(\n options?: QuerySectionsOptions\n): SectionsQueryBuilder {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n return queryBuilder<\n Section,\n 'CURSOR',\n QuerySectionsRequest,\n QuerySectionsResponse\n >({\n func: async (payload: QuerySectionsRequest) => {\n const reqOpts = ambassadorWixOnlineProgramsV3Section.querySections({\n ...payload,\n ...(options ?? {}),\n });\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n return result;\n } catch (err) {\n sideEffects?.onError?.(err);\n throw err;\n }\n },\n requestTransformer: (query: QuerySectionsRequest['query']) => {\n const args = [query, options] as [\n QuerySectionsRequest['query'],\n QuerySectionsOptions\n ];\n return renameKeysFromSDKRequestToRESTRequest({\n ...args?.[1],\n query: args?.[0],\n });\n },\n responseTransformer: ({ data }: HttpResponse<QuerySectionsResponse>) => {\n const transformedData = renameKeysFromRESTResponseToSDKResponse(\n transformPaths(data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'sections.description.image' }],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'sections.description.video' }],\n },\n ])\n );\n\n return {\n items: transformedData?.sections,\n pagingMetadata: transformedData?.pagingMetadata,\n };\n },\n errorTransformer: (err: unknown) => {\n const transformedError = sdkTransformError(err, {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n });\n\n throw transformedError;\n },\n pagingMethod: 'CURSOR',\n transformationPaths: {},\n });\n}\n\nexport interface QuerySectionsOptions {\n /** Whenever to return description only with title or with details as well */\n descriptionFieldSet?: DescriptionFieldSetWithLiterals | undefined;\n /**\n * Program id to query sections. Not used anymore. Deprecated in favor of query filter param.\n * @deprecated\n * @replacedBy wix.common.CursorQuery\n * @targetRemovalDate 2026-06-30\n */\n programId?: string | undefined;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[] | undefined;\n}\n\ninterface QueryCursorResult {\n cursors: Cursors;\n hasNext: () => boolean;\n hasPrev: () => boolean;\n length: number;\n pageSize: number;\n}\n\nexport interface SectionsQueryResult extends QueryCursorResult {\n items: Section[];\n query: SectionsQueryBuilder;\n next: () => Promise<SectionsQueryResult>;\n prev: () => Promise<SectionsQueryResult>;\n}\n\nexport interface SectionsQueryBuilder {\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n eq: (\n propertyName:\n | '_id'\n | 'programId'\n | 'state'\n | 'trialSection'\n | 'delayInDays',\n value: any\n ) => SectionsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n ne: (\n propertyName: '_id' | 'state' | 'trialSection' | 'delayInDays',\n value: any\n ) => SectionsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n ge: (propertyName: '_id' | 'delayInDays', value: any) => SectionsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n gt: (propertyName: '_id' | 'delayInDays', value: any) => SectionsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n le: (propertyName: '_id' | 'delayInDays', value: any) => SectionsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n lt: (propertyName: '_id' | 'delayInDays', value: any) => SectionsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `string`.\n * @param string - String to compare against. Case-insensitive.\n * @documentationMaturity preview\n */\n startsWith: (propertyName: '_id', value: string) => SectionsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `values`.\n * @param values - List of values to compare against.\n * @documentationMaturity preview\n */\n hasSome: (\n propertyName: '_id' | 'state' | 'trialSection' | 'delayInDays',\n value: any[]\n ) => SectionsQueryBuilder;\n /** @documentationMaturity preview */\n in: (\n propertyName: '_id' | 'state' | 'trialSection' | 'delayInDays',\n value: any\n ) => SectionsQueryBuilder;\n /** @documentationMaturity preview */\n exists: (\n propertyName: '_id' | 'state' | 'trialSection' | 'delayInDays',\n value: boolean\n ) => SectionsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n * @documentationMaturity preview\n */\n ascending: (\n ...propertyNames: Array<\n | '_id'\n | '_createdDate'\n | 'state'\n | 'trialSection'\n | 'ordering'\n | 'delayInDays'\n >\n ) => SectionsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n * @documentationMaturity preview\n */\n descending: (\n ...propertyNames: Array<\n | '_id'\n | '_createdDate'\n | 'state'\n | 'trialSection'\n | 'ordering'\n | 'delayInDays'\n >\n ) => SectionsQueryBuilder;\n /** @param limit - Number of items to return, which is also the `pageSize` of the results object.\n * @documentationMaturity preview\n */\n limit: (limit: number) => SectionsQueryBuilder;\n /** @param cursor - A pointer to specific record\n * @documentationMaturity preview\n */\n skipTo: (cursor: string) => SectionsQueryBuilder;\n /** @documentationMaturity preview */\n find: () => Promise<SectionsQueryResult>;\n}\n\n/**\n * @hidden\n * @fqn wix.onlineprograms.sections.v3.SectionsService.QuerySections\n * @requiredField query\n */\nexport async function typedQuerySections(\n query: SectionQuery,\n options?: QuerySectionsOptions\n): Promise<\n NonNullablePaths<\n QuerySectionsResponse,\n | `sections`\n | `sections.${number}.programId`\n | `sections.${number}.description.title`\n | `sections.${number}.state`\n | `sections.${number}.oldTotalSteps`\n | `sections.${number}.trialSection`\n | `sections.${number}.ordering`\n | `sections.${number}.delayInDays`,\n 5\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n query: query,\n ...options,\n });\n\n const reqOpts = ambassadorWixOnlineProgramsV3Section.querySections(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'sections.description.image' }],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'sections.description.video' }],\n },\n ])\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['query', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface SectionQuerySpec extends QuerySpec {\n paging: 'cursor';\n wql: [\n {\n fields: ['programId'];\n operators: ['$eq'];\n sort: 'NONE';\n },\n {\n fields: ['_id', 'delayInDays', 'state', 'trialSection'];\n operators: '*';\n sort: 'BOTH';\n },\n {\n fields: ['_createdDate', 'ordering'];\n operators: [];\n sort: 'BOTH';\n }\n ];\n}\n\nexport type CommonQueryWithEntityContext = QuerySdkType<\n Section,\n SectionQuerySpec\n>;\nexport type SectionQuery = {\n /** \n Cursor paging options.\n\n Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging). \n */\n cursorPaging?: {\n /** \n Maximum number of items to return in the results. \n @max: 100 \n */\n limit?:\n | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['limit']\n | null;\n /** \n Pointer to the next or previous page in the list of results.\n\n Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n Not relevant for the first request. \n @maxLength: 16000 \n */\n cursor?:\n | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['cursor']\n | null;\n };\n /** \n Filter object.\n\n Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters). \n */\n filter?: CommonQueryWithEntityContext['filter'] | null;\n /** \n Sort object.\n\n Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting). \n @maxSize: 5 \n */\n sort?: {\n /** \n Name of the field to sort by. \n @maxLength: 512 \n */\n fieldName?: NonNullable<\n CommonQueryWithEntityContext['sort']\n >[number]['fieldName'];\n /** \n Sort order. \n */\n order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];\n }[];\n};\n\nexport const utils = {\n query: {\n ...createQueryUtils<Section, SectionQuerySpec, SectionQuery>(),\n },\n};\n\n/**\n * List sections per program id\n * @param programId - Program id to list sections\n * @public\n * @documentationMaturity preview\n * @requiredField programId\n * @permissionId ONLINE_PROGRAMS.SECTION_READ\n * @applicableIdentity APP\n * @fqn wix.onlineprograms.sections.v3.SectionsService.ListSections\n */\nexport async function listSections(\n programId: string,\n options?: ListSectionsOptions\n): Promise<\n NonNullablePaths<\n ListSectionsResponse,\n | `sections`\n | `sections.${number}.programId`\n | `sections.${number}.description.title`\n | `sections.${number}.state`\n | `sections.${number}.oldTotalSteps`\n | `sections.${number}.trialSection`\n | `sections.${number}.ordering`\n | `sections.${number}.delayInDays`,\n 5\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n programId: programId,\n descriptionFieldSet: options?.descriptionFieldSet,\n fields: options?.fields,\n });\n\n const reqOpts = ambassadorWixOnlineProgramsV3Section.listSections(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'sections.description.image' }],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'sections.description.video' }],\n },\n ])\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n programId: '$[0]',\n descriptionFieldSet: '$[1].descriptionFieldSet',\n fields: '$[1].fields',\n },\n singleArgumentUnchanged: false,\n },\n ['programId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface ListSectionsOptions {\n /** Whenever to return description only with title or with details as well */\n descriptionFieldSet?: DescriptionFieldSetWithLiterals;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Clones section with specified id\n * @param sectionId - Section to clone\n * @public\n * @documentationMaturity preview\n * @requiredField sectionId\n * @permissionId ONLINE_PROGRAMS.SECTION_CREATE\n * @applicableIdentity APP\n * @fqn wix.onlineprograms.sections.v3.SectionsService.CloneSection\n */\nexport async function cloneSection(\n sectionId: string,\n options?: CloneSectionOptions\n): Promise<\n NonNullablePaths<\n CloneSectionResponse,\n | `section.programId`\n | `section.description.title`\n | `section.state`\n | `section.oldTotalSteps`\n | `section.trialSection`\n | `section.ordering`\n | `section.delayInDays`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n sectionId: sectionId,\n fields: options?.fields,\n });\n\n const reqOpts = ambassadorWixOnlineProgramsV3Section.cloneSection(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'section.description.image' }],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'section.description.video' }],\n },\n ])\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { sectionId: '$[0]', fields: '$[1].fields' },\n singleArgumentUnchanged: false,\n },\n ['sectionId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface CloneSectionOptions {\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Places section after specified one or inserts it in the beginning\n * @public\n * @documentationMaturity preview\n * @permissionId ONLINE_PROGRAMS.SECTION_UPDATE\n * @applicableIdentity APP\n * @fqn wix.onlineprograms.sections.v3.SectionsService.MoveSection\n */\nexport async function moveSection(\n options?: MoveSectionOptions\n): Promise<\n NonNullablePaths<\n MoveSectionResponse,\n | `section.programId`\n | `section.description.title`\n | `section.state`\n | `section.oldTotalSteps`\n | `section.trialSection`\n | `section.ordering`\n | `section.delayInDays`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n sectionId: options?.sectionId,\n afterSectionId: options?.afterSectionId,\n revision: options?.revision,\n fields: options?.fields,\n });\n\n const reqOpts = ambassadorWixOnlineProgramsV3Section.moveSection(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'section.description.image' }],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'section.description.video' }],\n },\n ])\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n sectionId: '$[0].sectionId',\n afterSectionId: '$[0].afterSectionId',\n revision: '$[0].revision',\n fields: '$[0].fields',\n },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface MoveSectionOptions {\n /**\n * Section to move\n * @format GUID\n */\n sectionId?: string;\n /**\n * change section position to be after the specified section. If empty insert in the \"0\" position.\n * @format GUID\n */\n afterSectionId?: string | null;\n /** section revision */\n revision?: string;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Publishes section\n * @public\n * @documentationMaturity preview\n * @permissionId ONLINE_PROGRAMS.SECTION_UPDATE\n * @applicableIdentity APP\n * @fqn wix.onlineprograms.sections.v3.SectionsService.PublishSection\n */\nexport async function publishSection(\n options?: PublishSectionOptions\n): Promise<\n NonNullablePaths<\n PublishSectionResponse,\n | `section.programId`\n | `section.description.title`\n | `section.state`\n | `section.oldTotalSteps`\n | `section.trialSection`\n | `section.ordering`\n | `section.delayInDays`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n sectionId: options?.sectionId,\n revision: options?.revision,\n fields: options?.fields,\n });\n\n const reqOpts = ambassadorWixOnlineProgramsV3Section.publishSection(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'section.description.image' }],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'section.description.video' }],\n },\n ])\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n sectionId: '$[0].sectionId',\n revision: '$[0].revision',\n fields: '$[0].fields',\n },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface PublishSectionOptions {\n /**\n * Section to publish\n * @format GUID\n */\n sectionId?: string;\n /** section revision */\n revision?: string;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixOnlineprogramsSectionsV3SectionsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'bo._base_domain_': [\n {\n srcPath: '/program-sections-service',\n destPath: '',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/program-sections-service',\n destPath: '',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/program-sections-service',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/program-sections-service',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/program-sections-service',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/program-sections-service',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/program-sections-service',\n destPath: '',\n },\n {\n srcPath: '/program-sections-service',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/program-sections-service',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/program-sections-service',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/program-sections-service',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/program-sections-service',\n destPath: '',\n },\n {\n srcPath: '/program-sections-service',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/program-sections-service',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/program-sections-service',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_online-programs_sections';\n\n/** Creates a Section. */\nexport function createSection(payload: object): RequestOptionsFactory<any> {\n function __createSection({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'section.createdDate' },\n { path: 'section.updatedDate' },\n { path: 'section.description.image.urlExpirationDate' },\n { path: 'section.description.video.urlExpirationDate' },\n { path: 'section.description.video.resolutions.urlExpirationDate' },\n {\n path: 'section.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'section.description.video.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'section.ordering' },\n { path: 'section.description.image.focalPoint.x' },\n { path: 'section.description.image.focalPoint.y' },\n { path: 'section.description.video.resolutions.poster.focalPoint.x' },\n { path: 'section.description.video.resolutions.poster.focalPoint.y' },\n { path: 'section.description.video.posters.focalPoint.x' },\n { path: 'section.description.video.posters.focalPoint.y' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.section',\n method: 'POST' as any,\n methodFqn: 'wix.onlineprograms.sections.v3.SectionsService.CreateSection',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({\n protoPath: '/v3/sections',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'section.createdDate' },\n { path: 'section.updatedDate' },\n { path: 'section.description.image.urlExpirationDate' },\n { path: 'section.description.video.urlExpirationDate' },\n {\n path: 'section.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'section.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'section.description.video.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'section.ordering' },\n { path: 'section.description.image.focalPoint.x' },\n { path: 'section.description.image.focalPoint.y' },\n {\n path: 'section.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'section.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'section.description.video.posters.focalPoint.x' },\n { path: 'section.description.video.posters.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createSection;\n}\n\n/** Bulk Section creation. */\nexport function bulkCreateSection(payload: object): RequestOptionsFactory<any> {\n function __bulkCreateSection({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'sections.createdDate' },\n { path: 'sections.updatedDate' },\n { path: 'sections.description.image.urlExpirationDate' },\n { path: 'sections.description.video.urlExpirationDate' },\n { path: 'sections.description.video.resolutions.urlExpirationDate' },\n {\n path: 'sections.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'sections.description.video.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'sections.ordering' },\n { path: 'sections.description.image.focalPoint.x' },\n { path: 'sections.description.image.focalPoint.y' },\n {\n path: 'sections.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'sections.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'sections.description.video.posters.focalPoint.x' },\n { path: 'sections.description.video.posters.focalPoint.y' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.section',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.sections.v3.SectionsService.BulkCreateSection',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({\n protoPath: '/v3/bulk/sections/create',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n { path: 'results.item.description.image.urlExpirationDate' },\n { path: 'results.item.description.video.urlExpirationDate' },\n {\n path: 'results.item.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'results.item.description.video.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'results.item.description.video.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'results.item.ordering' },\n { path: 'results.item.description.image.focalPoint.x' },\n { path: 'results.item.description.image.focalPoint.y' },\n {\n path: 'results.item.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'results.item.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'results.item.description.video.posters.focalPoint.x' },\n { path: 'results.item.description.video.posters.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateSection;\n}\n\n/** Bulk Section creation for migration. */\nexport function bulkCreateSectionMigration(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateSectionMigration({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'sections.createdDate' },\n { path: 'sections.updatedDate' },\n { path: 'sections.description.image.urlExpirationDate' },\n { path: 'sections.description.video.urlExpirationDate' },\n { path: 'sections.description.video.resolutions.urlExpirationDate' },\n {\n path: 'sections.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'sections.description.video.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'sections.ordering' },\n { path: 'sections.description.image.focalPoint.x' },\n { path: 'sections.description.image.focalPoint.y' },\n {\n path: 'sections.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'sections.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'sections.description.video.posters.focalPoint.x' },\n { path: 'sections.description.video.posters.focalPoint.y' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.section',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.sections.v3.SectionsService.BulkCreateSectionMigration',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({\n protoPath: '/v3/bulk/sections/create/migration',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n { path: 'results.item.description.image.urlExpirationDate' },\n { path: 'results.item.description.video.urlExpirationDate' },\n {\n path: 'results.item.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'results.item.description.video.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'results.item.description.video.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'results.item.ordering' },\n { path: 'results.item.description.image.focalPoint.x' },\n { path: 'results.item.description.image.focalPoint.y' },\n {\n path: 'results.item.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'results.item.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'results.item.description.video.posters.focalPoint.x' },\n { path: 'results.item.description.video.posters.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateSectionMigration;\n}\n\n/** Retrieves a Section. */\nexport function getSection(payload: object): RequestOptionsFactory<any> {\n function __getSection({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.section',\n method: 'GET' as any,\n methodFqn: 'wix.onlineprograms.sections.v3.SectionsService.GetSection',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({\n protoPath: '/v3/sections/{sectionId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'section.createdDate' },\n { path: 'section.updatedDate' },\n { path: 'section.description.image.urlExpirationDate' },\n { path: 'section.description.video.urlExpirationDate' },\n {\n path: 'section.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'section.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'section.description.video.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'section.ordering' },\n { path: 'section.description.image.focalPoint.x' },\n { path: 'section.description.image.focalPoint.y' },\n {\n path: 'section.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'section.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'section.description.video.posters.focalPoint.x' },\n { path: 'section.description.video.posters.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getSection;\n}\n\n/** Updates a Section. */\nexport function updateSection(payload: object): RequestOptionsFactory<any> {\n function __updateSection({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'section.createdDate' },\n { path: 'section.updatedDate' },\n { path: 'section.description.image.urlExpirationDate' },\n { path: 'section.description.video.urlExpirationDate' },\n { path: 'section.description.video.resolutions.urlExpirationDate' },\n {\n path: 'section.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'section.description.video.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'section.ordering' },\n { path: 'section.description.image.focalPoint.x' },\n { path: 'section.description.image.focalPoint.y' },\n { path: 'section.description.video.resolutions.poster.focalPoint.x' },\n { path: 'section.description.video.resolutions.poster.focalPoint.y' },\n { path: 'section.description.video.posters.focalPoint.x' },\n { path: 'section.description.video.posters.focalPoint.y' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.section',\n method: 'PATCH' as any,\n methodFqn: 'wix.onlineprograms.sections.v3.SectionsService.UpdateSection',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({\n protoPath: '/v3/sections/{section.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'section.createdDate' },\n { path: 'section.updatedDate' },\n { path: 'section.description.image.urlExpirationDate' },\n { path: 'section.description.video.urlExpirationDate' },\n {\n path: 'section.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'section.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'section.description.video.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'section.ordering' },\n { path: 'section.description.image.focalPoint.x' },\n { path: 'section.description.image.focalPoint.y' },\n {\n path: 'section.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'section.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'section.description.video.posters.focalPoint.x' },\n { path: 'section.description.video.posters.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateSection;\n}\n\n/**\n * Deletes a Section.\n * Deleting a Section permanently removes them from the Section List.\n */\nexport function deleteSection(payload: object): RequestOptionsFactory<any> {\n function __deleteSection({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.section',\n method: 'DELETE' as any,\n methodFqn: 'wix.onlineprograms.sections.v3.SectionsService.DeleteSection',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({\n protoPath: '/v3/sections/{sectionId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteSection;\n}\n\n/**\n * Retrieves a list of Sections, given the provided [paging, filtering, and sorting][1].\n *\n * Up to 1,000 Sections can be returned per request.\n */\nexport function querySections(payload: object): RequestOptionsFactory<any> {\n function __querySections({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.section',\n method: 'POST' as any,\n methodFqn: 'wix.onlineprograms.sections.v3.SectionsService.QuerySections',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({\n protoPath: '/v3/sections/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'sections.createdDate' },\n { path: 'sections.updatedDate' },\n { path: 'sections.description.image.urlExpirationDate' },\n { path: 'sections.description.video.urlExpirationDate' },\n {\n path: 'sections.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'sections.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'sections.description.video.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'sections.ordering' },\n { path: 'sections.description.image.focalPoint.x' },\n { path: 'sections.description.image.focalPoint.y' },\n {\n path: 'sections.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'sections.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'sections.description.video.posters.focalPoint.x' },\n { path: 'sections.description.video.posters.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __querySections;\n}\n\n/** List sections per program id */\nexport function listSections(payload: object): RequestOptionsFactory<any> {\n function __listSections({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.section',\n method: 'GET' as any,\n methodFqn: 'wix.onlineprograms.sections.v3.SectionsService.ListSections',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({\n protoPath: '/v3/sections',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'sections.createdDate' },\n { path: 'sections.updatedDate' },\n { path: 'sections.description.image.urlExpirationDate' },\n { path: 'sections.description.video.urlExpirationDate' },\n {\n path: 'sections.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'sections.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'sections.description.video.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'sections.ordering' },\n { path: 'sections.description.image.focalPoint.x' },\n { path: 'sections.description.image.focalPoint.y' },\n {\n path: 'sections.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'sections.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'sections.description.video.posters.focalPoint.x' },\n { path: 'sections.description.video.posters.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listSections;\n}\n\n/** Clones section with specified id */\nexport function cloneSection(payload: object): RequestOptionsFactory<any> {\n function __cloneSection({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.section',\n method: 'POST' as any,\n methodFqn: 'wix.onlineprograms.sections.v3.SectionsService.CloneSection',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({\n protoPath: '/v3/sections/{sectionId}/clone',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'section.createdDate' },\n { path: 'section.updatedDate' },\n { path: 'section.description.image.urlExpirationDate' },\n { path: 'section.description.video.urlExpirationDate' },\n {\n path: 'section.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'section.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'section.description.video.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'section.ordering' },\n { path: 'section.description.image.focalPoint.x' },\n { path: 'section.description.image.focalPoint.y' },\n {\n path: 'section.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'section.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'section.description.video.posters.focalPoint.x' },\n { path: 'section.description.video.posters.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __cloneSection;\n}\n\n/** Places section after specified one or inserts it in the beginning */\nexport function moveSection(payload: object): RequestOptionsFactory<any> {\n function __moveSection({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.section',\n method: 'PATCH' as any,\n methodFqn: 'wix.onlineprograms.sections.v3.SectionsService.MoveSection',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({\n protoPath: '/v3/sections/move',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'section.createdDate' },\n { path: 'section.updatedDate' },\n { path: 'section.description.image.urlExpirationDate' },\n { path: 'section.description.video.urlExpirationDate' },\n {\n path: 'section.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'section.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'section.description.video.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'section.ordering' },\n { path: 'section.description.image.focalPoint.x' },\n { path: 'section.description.image.focalPoint.y' },\n {\n path: 'section.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'section.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'section.description.video.posters.focalPoint.x' },\n { path: 'section.description.video.posters.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __moveSection;\n}\n\n/** Publishes section */\nexport function publishSection(payload: object): RequestOptionsFactory<any> {\n function __publishSection({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.section',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.onlineprograms.sections.v3.SectionsService.PublishSection',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({\n protoPath: '/v3/sections/publish',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'section.createdDate' },\n { path: 'section.updatedDate' },\n { path: 'section.description.image.urlExpirationDate' },\n { path: 'section.description.video.urlExpirationDate' },\n {\n path: 'section.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'section.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'section.description.video.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'section.ordering' },\n { path: 'section.description.image.focalPoint.x' },\n { path: 'section.description.image.focalPoint.y' },\n {\n path: 'section.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'section.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'section.description.video.posters.focalPoint.x' },\n { path: 'section.description.video.posters.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __publishSection;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2BAAAA;AAAA,EAAA,kCAAAC;AAAA,EAAA,oBAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,oBAAAC;AAAA,EAAA,mBAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA;AAAA,uBAAAC;AAAA,EAAA;AAAA;AAAA;;;ACAA,6BAAoD;AACpD,2BAA6B;AAC7B,oCAGO;;;ACLP,0BAAkC;AAClC,mBAA6C;AAC7C,IAAAC,gBAA6C;AAC7C,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,qDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,oBAAoB;AAAA,MAClB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,YAAY;AAAA,MACV;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,cAAc;AAAA,MACZ;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,yBAAyB;AAAA,MACvB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAA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ulkCreateSection","bulkCreateSectionMigration","cloneSection","createSection","deleteSection","getSection","listSections","moveSection","publishSection","querySections","updateSection","import_float","import_timestamp","import_rest_modules","payload","import_image","import_video_v2","import_transform_paths","State","Enum","RequestedFields","BulkActionType","DescriptionFieldSet","SortOrder","SearchIndexingNotificationState","WebhookIdentityType","createSection","sdkTransformError","bulkCreateSection","bulkCreateSectionMigration","getSection","updateSection","deleteSection","querySections","listSections","cloneSection","moveSection","publishSection"]}
1
+ {"version":3,"sources":["../../../index.typings.ts","../../../src/online-programs-v3-section-sections.universal.ts","../../../src/online-programs-v3-section-sections.http.ts"],"sourcesContent":["export * from './src/online-programs-v3-section-sections.universal.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport { queryBuilder } from '@wix/sdk-runtime/query-builder';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport {\n HttpClient,\n HttpResponse,\n NonNullablePaths,\n QuerySpec,\n Query as QuerySdkType,\n} from '@wix/sdk-types';\nimport * as ambassadorWixOnlineProgramsV3Section from './online-programs-v3-section-sections.http.js';\n// @ts-ignore\nimport { transformSDKImageToRESTImage } from '@wix/sdk-runtime/transformations/image';\nimport { transformRESTImageToSDKImage } from '@wix/sdk-runtime/transformations/image';\nimport { transformSDKVideoV2ToRESTVideoV2 } from '@wix/sdk-runtime/transformations/video-v2';\nimport { transformRESTVideoV2ToSDKVideoV2 } from '@wix/sdk-runtime/transformations/video-v2';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { createQueryUtils } from '@wix/sdk-runtime/query-builder-utils';\n\n/**\n * A section groups related steps within an online program.\n *\n * Sections can be drafted, published, reordered, and optionally released after a delay from the start of the parent program.\n */\nexport interface Section {\n /**\n * Section ID.\n * @format GUID\n * @readonly\n */\n _id?: string | null;\n /**\n * Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the section was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Date and time the section was last updated.\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\n * @format GUID\n * @readonly\n * @immutable\n */\n programId?: string;\n /** Section title and deprecated backward-compatibility content fields. */\n description?: Description;\n /** Publication state of the section. */\n state?: StateWithLiterals;\n /**\n * Legacy total number of steps in the section.\n * @readonly\n */\n oldTotalSteps?: number;\n /**\n * Total number of steps in the section.\n * @readonly\n */\n totalSteps?: number | null;\n /** Whether participants can access the section as trial content before purchasing the parent program. */\n trialSection?: boolean;\n /** Position rank used to order sections within a program. To reorder sections, call Move Section. */\n ordering?: number;\n /**\n * Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.\n * @max 5000\n */\n delayInDays?: number;\n /** Custom field data for the section. */\n extendedFields?: ExtendedFields;\n}\n\nexport interface Description extends DescriptionMediaOneOf {\n /**\n * @deprecated\n * @targetRemovalDate 2025-05-10\n */\n image?: string;\n /**\n * @deprecated\n * @targetRemovalDate 2025-05-10\n */\n video?: string;\n /** @maxLength 500 */\n title?: string;\n /**\n * @maxLength 10000000\n * @deprecated\n * @targetRemovalDate 2026-06-25\n */\n details?: string | null;\n}\n\n/** @oneof */\nexport interface DescriptionMediaOneOf {\n /**\n * @deprecated\n * @targetRemovalDate 2025-05-10\n */\n image?: string;\n /**\n * @deprecated\n * @targetRemovalDate 2025-05-10\n */\n video?: string;\n}\n\nexport interface FocalPoint {\n /** X-coordinate of the focal point. */\n x?: number;\n /** Y-coordinate of the focal point. */\n y?: number;\n /** crop by height */\n height?: number | null;\n /** crop by width */\n width?: number | null;\n}\n\nexport interface VideoResolution {\n /** Video URL. */\n url?: string;\n /** Video height. */\n height?: number;\n /** Video width. */\n width?: number;\n /** Video format for example, mp4, hls. */\n format?: string;\n}\n\nexport enum State {\n /** the section isn't ready to be shown to participants. */\n DRAFT = 'DRAFT',\n /** this content is visible to participants. */\n PUBLISHED = 'PUBLISHED',\n}\n\n/** @enumType */\nexport type StateWithLiterals = State | 'DRAFT' | 'PUBLISHED';\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\nexport interface UpdateDocumentsEvent\n extends UpdateDocumentsEventOperationOneOf {\n /** insert/update documents */\n update?: DocumentUpdateOperation;\n /** delete by document ids */\n deleteByIds?: DeleteByIdsOperation;\n /** delete documents matching filter */\n deleteByFilter?: DeleteByFilterOperation;\n /** update documents matching filter */\n updateByFilter?: UpdateByFilterOperation;\n /** update only existing documents */\n updateExisting?: UpdateExistingOperation;\n /**\n * application which owns documents\n * @minLength 2\n */\n appDefId?: string | null;\n /**\n * type of the documents\n * @minLength 2\n */\n documentType?: string | null;\n /**\n * language of the documents\n * @minLength 2\n */\n language?: string | null;\n /**\n * site documents belong to\n * @minLength 2\n */\n msId?: string | null;\n}\n\n/** @oneof */\nexport interface UpdateDocumentsEventOperationOneOf {\n /** insert/update documents */\n update?: DocumentUpdateOperation;\n /** delete by document ids */\n deleteByIds?: DeleteByIdsOperation;\n /** delete documents matching filter */\n deleteByFilter?: DeleteByFilterOperation;\n /** update documents matching filter */\n updateByFilter?: UpdateByFilterOperation;\n /** update only existing documents */\n updateExisting?: UpdateExistingOperation;\n}\n\nexport interface DocumentUpdateOperation {\n /** documents to index or update */\n documents?: IndexDocument[];\n}\n\nexport interface IndexDocument {\n /** data bag with non-searchable fields (url, image) */\n payload?: DocumentPayload;\n /** what type of users should documents be visible to */\n exposure?: EnumWithLiterals;\n /** document with mandatory fields (id, title, description) and with fields specific to the type of the document */\n document?: Record<string, any> | null;\n /** what member groups is the document exposed to. Used only with GROUP_PROTECTED exposure */\n permittedMemberGroups?: string[];\n /** if true SEO is disabled for this document */\n seoHidden?: boolean | null;\n /** if true the page is a lightbox popup */\n isPopup?: boolean | null;\n}\n\nexport interface DocumentPayload {\n /** url of the page representing the document */\n url?: string | null;\n /** image which represents the document */\n documentImage?: DocumentImage;\n}\n\nexport interface DocumentImage {\n /** the name of the image */\n name?: string;\n /** the width of the image */\n width?: number;\n /** the height of the image */\n height?: number;\n}\n\nexport enum Enum {\n /** Default value. Means that permission not set */\n UNKNOWN = 'UNKNOWN',\n /** Protected exposure. Exposed to members and owners */\n PROTECTED = 'PROTECTED',\n /** Private exposure. Exposed to owners */\n PRIVATE = 'PRIVATE',\n /** Public exposure. Visible to everyone */\n PUBLIC = 'PUBLIC',\n /** Used for partial updates, to state that exposure is not changing */\n UNCHANGED = 'UNCHANGED',\n /** Protected to members of permitted groups and owners */\n GROUP_PROTECTED = 'GROUP_PROTECTED',\n}\n\n/** @enumType */\nexport type EnumWithLiterals =\n | Enum\n | 'UNKNOWN'\n | 'PROTECTED'\n | 'PRIVATE'\n | 'PUBLIC'\n | 'UNCHANGED'\n | 'GROUP_PROTECTED';\n\nexport interface DeleteByIdsOperation {\n /** ids of the documents to delete */\n documentIds?: string[];\n}\n\nexport interface DeleteByFilterOperation {\n /** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */\n filter?: Record<string, any> | null;\n}\n\nexport interface UpdateByFilterOperation {\n /** documents matching this filter will be updated */\n filter?: Record<string, any> | null;\n /** partial document to apply */\n document?: IndexDocument;\n}\n\nexport interface UpdateExistingOperation {\n /** documents to update */\n documents?: IndexDocument[];\n}\n\n/** Payload for the Section Updated event. */\nexport interface SectionUpdated {\n /** Section before the update. */\n previous?: Section;\n /** Section after the update. */\n current?: Section;\n}\n\n/** Payload for the Section Deleted event. */\nexport interface SectionDeleted {\n /** Section that was deleted. */\n section?: Section;\n}\n\n/** Payload for the Section Cloned event. */\nexport interface SectionCloned {\n /** Source section used for cloning. */\n prototype?: Section;\n /** Cloned section. */\n cloned?: Section;\n}\n\nexport interface SectionMoved {\n /**\n * ID of the moved section.\n * @format GUID\n */\n sectionId?: string;\n /** New ordering rank assigned to the moved section. */\n newSectionPositionRank?: number;\n}\n\nexport interface SectionPublished {\n /**\n * ID of the published section.\n * @format GUID\n */\n sectionId?: string;\n}\n\nexport interface CreateSectionRequest {\n /** Section to create. Must include `section.program_id`. */\n section: Section;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport enum RequestedFields {\n /** return total number of steps in this section. */\n TOTAL_STEPS = 'TOTAL_STEPS',\n}\n\n/** @enumType */\nexport type RequestedFieldsWithLiterals = RequestedFields | 'TOTAL_STEPS';\n\nexport interface CreateSectionResponse {\n /** Created section. */\n section?: Section;\n}\n\nexport interface BulkCreateSectionsRequest {\n /**\n * List of sections to create. Each section must include `program_id`, and all sections must belong to the same program.\n * @minSize 1\n * @maxSize 100\n */\n sections: Section[];\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface BulkCreateSectionsResponse {\n /** Results for the bulk create operation. */\n results?: BulkSectionResult[];\n /** Summary of the bulk create operation. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkSectionResult {\n /** Metadata for the bulk operation result. */\n itemMetadata?: ItemMetadata;\n /** Created section. */\n item?: Section;\n /** Action associated with the bulk result. */\n action?: BulkActionTypeWithLiterals;\n}\n\nexport interface ItemMetadata {\n /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */\n _id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport enum BulkActionType {\n UNKNOWN_ACTION_TYPE = 'UNKNOWN_ACTION_TYPE',\n INSERT = 'INSERT',\n UPDATE = 'UPDATE',\n DELETE = 'DELETE',\n}\n\n/** @enumType */\nexport type BulkActionTypeWithLiterals =\n | BulkActionType\n | 'UNKNOWN_ACTION_TYPE'\n | 'INSERT'\n | 'UPDATE'\n | 'DELETE';\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\n}\n\nexport interface BulkCreateSectionRequest {\n /**\n * List of sections to create. Each section must include `program_id`, and all sections must belong to the same program.\n * @minSize 1\n * @maxSize 100\n */\n sections: Section[];\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface BulkCreateSectionResponse {\n /** Results for the bulk create operation. */\n results?: BulkSectionResult[];\n /** Summary of the bulk create operation. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkCreateSectionMigrationRequest {\n /**\n * List of sections to create.\n * @minSize 1\n * @maxSize 100\n */\n sections?: Section[];\n}\n\nexport interface BulkCreateSectionMigrationResponse {\n /** Results for the bulk create operation. */\n results?: BulkSectionResult[];\n /** Summary of the bulk create operation. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface GetSectionRequest {\n /**\n * ID of the Section to retrieve.\n * @format GUID\n */\n sectionId: string;\n /** Compatibility option for existing integrations. Current section responses return the section title. */\n descriptionFieldSet?: DescriptionFieldSetWithLiterals;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport enum DescriptionFieldSet {\n /** Retained for backward compatibility. Current section responses return the section title. */\n STANDARD = 'STANDARD',\n /** Retained for backward compatibility. Current section responses return the section title. */\n EXTENDED = 'EXTENDED',\n}\n\n/** @enumType */\nexport type DescriptionFieldSetWithLiterals =\n | DescriptionFieldSet\n | 'STANDARD'\n | 'EXTENDED';\n\nexport interface GetSectionResponse {\n /** Retrieved section. */\n section?: Section;\n}\n\nexport interface UpdateSectionRequest {\n /** Section to update. Include `section.id`, `section.revision`, and the fields to update. */\n section?: Section;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface UpdateSectionResponse {\n /** Updated section. */\n section?: Section;\n}\n\nexport interface DeleteSectionRequest {\n /**\n * ID of the section to delete.\n * @format GUID\n */\n sectionId: string;\n}\n\nexport interface DeleteSectionResponse {}\n\nexport interface DeleteAllProgramSectionsRequest {\n /**\n * Program ID to delete sections from.\n * @format GUID\n */\n programId?: string;\n}\n\nexport interface DeleteAllProgramSectionsResponse {\n /** Total number of sections in the program. */\n sectionsTotal?: number;\n /** Number of sections that were deleted successfully. */\n successfulCount?: number;\n /** Number of sections that couldn't be deleted. */\n failedCount?: number;\n}\n\nexport interface QuerySectionsRequest {\n /** WQL expression. */\n query?: CursorQuery;\n /** Compatibility option for existing integrations. Current section responses return the section title. */\n descriptionFieldSet?: DescriptionFieldSetWithLiterals;\n /**\n * Deprecated. Program ID used to scope the query. Use `query.filter` instead.\n * @deprecated\n * @replacedBy wix.common.CursorQuery\n * @targetRemovalDate 2026-06-30\n */\n programId?: string;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n /**\n * Cursor paging options.\n *\n * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).\n */\n cursorPaging?: CursorPaging;\n /**\n * Filter object.\n *\n * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object.\n *\n * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).\n * @maxSize 5\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n /**\n * Cursor paging options.\n *\n * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).\n */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n /**\n * Origin point for geo-distance sorting on a GEO field\n * results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).\n */\n origin?: AddressLocation;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface AddressLocation {\n /** Address latitude. */\n latitude?: number | null;\n /** Address longitude. */\n longitude?: number | null;\n}\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface QuerySectionsResponse {\n /** Matching sections. */\n sections?: Section[];\n /** Paging metadata. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in current page. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\n * Whether there are more pages to retrieve following the current page.\n *\n * + `true`: Another page of results can be retrieved.\n * + `false`: This is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface ListSectionsRequest {\n /**\n * Program ID to list sections for.\n * @format GUID\n */\n programId: string;\n /** Compatibility option for existing integrations. Current section responses return the section title. */\n descriptionFieldSet?: DescriptionFieldSetWithLiterals;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface ListSectionsResponse {\n /**\n * Sections in the requested program.\n * @maxSize 1000\n */\n sections?: Section[];\n}\n\nexport interface CloneSectionRequest {\n /**\n * ID of the section to clone.\n * @format GUID\n */\n sectionId: string;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface CloneSectionResponse {\n /** Cloned section. */\n section?: Section;\n}\n\nexport interface MoveSectionRequest {\n /**\n * ID of the section to move.\n * @format GUID\n */\n sectionId?: string;\n /**\n * ID of the section that the moved section should be placed after. Leave empty to move the section to the beginning of the program.\n * @format GUID\n */\n afterSectionId?: string | null;\n /** Current revision of the section. */\n revision?: string;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface MoveSectionResponse {\n /** Moved section. */\n section?: Section;\n}\n\nexport interface PublishSectionRequest {\n /**\n * ID of the section to publish.\n * @format GUID\n */\n sectionId?: string;\n /** Current revision of the section. */\n revision?: string;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface PublishSectionResponse {\n /** Published section. */\n section?: Section;\n}\n\nexport interface BulkCloneSectionRequest {\n /**\n * ID of the program that was cloned.\n * @format GUID\n */\n prototypeProgramId?: string;\n /**\n * ID of the program created by the clone operation.\n * @format GUID\n */\n clonedProgramId?: string;\n}\n\nexport interface BulkCloneSectionResponse {\n /**\n * ID of the program that was cloned.\n * @format GUID\n */\n prototypeProgramId?: string;\n /**\n * ID of the program created by the clone operation.\n * @format GUID\n */\n clonedProgramId?: string;\n /** Mapping from original section IDs to cloned section IDs. */\n prototypeIdToClonedId?: Record<string, string>;\n}\n\nexport interface RestoreSectionFromTrashRequest {\n /**\n * ID of the section to restore.\n * @format GUID\n */\n sectionId?: string;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface RestoreSectionFromTrashResponse {\n /** Restored section. */\n section?: Section;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entity?: string;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n body?: string;\n}\n\nexport interface Empty {}\n\nexport interface SearchIndexingNotification {\n /** new state of indexing for the site specified in ms_id */\n indexState?: SearchIndexingNotificationStateWithLiterals;\n /** type of the document the notification is targeted for. Applies to all types if not provided */\n documentType?: string | null;\n /** languaInternalDocumentUpdateByFilterOperationge the notification is targeted for. Applies to all languages if not provided */\n language?: string | null;\n /**\n * site for which notification is targeted\n * @minLength 2\n */\n msId?: string | null;\n}\n\nexport enum SearchIndexingNotificationState {\n /** default state */\n Unknown = 'Unknown',\n /** metasite does not require site search indexing */\n Off = 'Off',\n /** metasite requires site search indexing */\n On = 'On',\n}\n\n/** @enumType */\nexport type SearchIndexingNotificationStateWithLiterals =\n | SearchIndexingNotificationState\n | 'Unknown'\n | 'Off'\n | 'On';\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\n/**\n * Creates a section.\n *\n * 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.\n *\n * 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).\n * @param section - Section to create. Must include `section.program_id`.\n * @public\n * @documentationMaturity preview\n * @requiredField section\n * @permissionId ONLINE_PROGRAMS.SECTION_CREATE\n * @applicableIdentity APP\n * @returns Created section.\n * @fqn wix.onlineprograms.sections.v3.SectionsService.CreateSection\n */\nexport async function createSection(\n section: Section,\n options?: CreateSectionOptions\n): Promise<\n NonNullablePaths<\n Section,\n | `programId`\n | `description.title`\n | `state`\n | `oldTotalSteps`\n | `trialSection`\n | `ordering`\n | `delayInDays`,\n 3\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = transformPaths(\n renameKeysFromSDKRequestToRESTRequest({\n section: section,\n fields: options?.fields,\n }),\n [\n {\n transformFn: transformSDKImageToRESTImage,\n paths: [{ path: 'section.description.image' }],\n },\n {\n transformFn: transformSDKVideoV2ToRESTVideoV2,\n paths: [{ path: 'section.description.video' }],\n },\n ]\n );\n\n const reqOpts = ambassadorWixOnlineProgramsV3Section.createSection(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'section.description.image' }],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'section.description.video' }],\n },\n ])\n )?.section!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { section: '$[0]', fields: '$[1].fields' },\n singleArgumentUnchanged: false,\n },\n ['section', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface CreateSectionOptions {\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Creates up to 100 sections in a single API call.\n *\n * 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.\n *\n * To create a single section, call [Create Section](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/create-section).\n * @param sections - List of sections to create. Each section must include `program_id`, and all sections must belong to the same program.\n * @public\n * @documentationMaturity preview\n * @requiredField sections\n * @permissionId ONLINE_PROGRAMS.SECTION_CREATE\n * @applicableIdentity APP\n * @fqn wix.onlineprograms.sections.v3.SectionsService.BulkCreateSections\n */\nexport async function bulkCreateSections(\n sections: Section[],\n options?: BulkCreateSectionsOptions\n): Promise<\n NonNullablePaths<\n BulkCreateSectionsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `results.${number}.item.programId`\n | `results.${number}.item.description.title`\n | `results.${number}.item.state`\n | `results.${number}.item.oldTotalSteps`\n | `results.${number}.item.trialSection`\n | `results.${number}.item.ordering`\n | `results.${number}.item.delayInDays`\n | `results.${number}.action`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = transformPaths(\n renameKeysFromSDKRequestToRESTRequest({\n sections: sections,\n fields: options?.fields,\n }),\n [\n {\n transformFn: transformSDKImageToRESTImage,\n paths: [{ path: 'sections.description.image' }],\n },\n {\n transformFn: transformSDKVideoV2ToRESTVideoV2,\n paths: [{ path: 'sections.description.video' }],\n },\n ]\n );\n\n const reqOpts =\n ambassadorWixOnlineProgramsV3Section.bulkCreateSections(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'results.item.description.image' }],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'results.item.description.video' }],\n },\n ])\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { sections: '$[0]', fields: '$[1].fields' },\n singleArgumentUnchanged: false,\n },\n ['sections', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkCreateSectionsOptions {\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Deprecated. Use [Bulk Create Sections](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/bulk-create-sections).\n *\n * To create a single section, call [Create Section](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/create-section).\n * @param sections - List of sections to create. Each section must include `program_id`, and all sections must belong to the same program.\n * @public\n * @documentationMaturity preview\n * @requiredField sections\n * @permissionId ONLINE_PROGRAMS.SECTION_CREATE\n * @applicableIdentity APP\n * @fqn wix.onlineprograms.sections.v3.SectionsService.BulkCreateSection\n * @deprecated\n * @replacedBy wix.onlineprograms.sections.v3.SectionsService.BulkCreateSections\n * @targetRemovalDate 2026-07-24\n */\nexport async function bulkCreateSection(\n sections: Section[],\n options?: BulkCreateSectionOptions\n): Promise<\n NonNullablePaths<\n BulkCreateSectionResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `results.${number}.item.programId`\n | `results.${number}.item.description.title`\n | `results.${number}.item.state`\n | `results.${number}.item.oldTotalSteps`\n | `results.${number}.item.trialSection`\n | `results.${number}.item.ordering`\n | `results.${number}.item.delayInDays`\n | `results.${number}.action`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = transformPaths(\n renameKeysFromSDKRequestToRESTRequest({\n sections: sections,\n fields: options?.fields,\n }),\n [\n {\n transformFn: transformSDKImageToRESTImage,\n paths: [{ path: 'sections.description.image' }],\n },\n {\n transformFn: transformSDKVideoV2ToRESTVideoV2,\n paths: [{ path: 'sections.description.video' }],\n },\n ]\n );\n\n const reqOpts =\n ambassadorWixOnlineProgramsV3Section.bulkCreateSection(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'results.item.description.image' }],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'results.item.description.video' }],\n },\n ])\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { sections: '$[0]', fields: '$[1].fields' },\n singleArgumentUnchanged: false,\n },\n ['sections', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkCreateSectionOptions {\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Retrieves a section.\n *\n * `descriptionFieldSet` is retained for backward compatibility. Current section responses return the section title.\n * @param sectionId - ID of the Section to retrieve.\n * @public\n * @documentationMaturity preview\n * @requiredField sectionId\n * @permissionId ONLINE_PROGRAMS.SECTION_READ\n * @applicableIdentity APP\n * @returns Retrieved section.\n * @fqn wix.onlineprograms.sections.v3.SectionsService.GetSection\n */\nexport async function getSection(\n sectionId: string,\n options?: GetSectionOptions\n): Promise<\n NonNullablePaths<\n Section,\n | `programId`\n | `description.title`\n | `state`\n | `oldTotalSteps`\n | `trialSection`\n | `ordering`\n | `delayInDays`,\n 3\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n sectionId: sectionId,\n descriptionFieldSet: options?.descriptionFieldSet,\n fields: options?.fields,\n });\n\n const reqOpts = ambassadorWixOnlineProgramsV3Section.getSection(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'section.description.image' }],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'section.description.video' }],\n },\n ])\n )?.section!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n sectionId: '$[0]',\n descriptionFieldSet: '$[1].descriptionFieldSet',\n fields: '$[1].fields',\n },\n singleArgumentUnchanged: false,\n },\n ['sectionId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface GetSectionOptions {\n /** Compatibility option for existing integrations. Current section responses return the section title. */\n descriptionFieldSet?: DescriptionFieldSetWithLiterals;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Updates a section.\n *\n * 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.\n *\n * 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). To publish a section, call [Publish Section](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/publish-section).\n * @param _id - Section ID.\n * @public\n * @documentationMaturity preview\n * @requiredField _id\n * @requiredField options.section.revision\n * @permissionId ONLINE_PROGRAMS.SECTION_UPDATE\n * @applicableIdentity APP\n * @returns Updated section.\n * @fqn wix.onlineprograms.sections.v3.SectionsService.UpdateSection\n */\nexport async function updateSection(\n _id: string,\n options?: NonNullablePaths<UpdateSectionOptions, `section.revision`, 3>\n): Promise<\n NonNullablePaths<\n Section,\n | `programId`\n | `description.title`\n | `state`\n | `oldTotalSteps`\n | `trialSection`\n | `ordering`\n | `delayInDays`,\n 3\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = transformPaths(\n renameKeysFromSDKRequestToRESTRequest({\n section: { ...options?.section, id: _id },\n fields: options?.fields,\n }),\n [\n {\n transformFn: transformSDKImageToRESTImage,\n paths: [{ path: 'section.description.image' }],\n },\n {\n transformFn: transformSDKVideoV2ToRESTVideoV2,\n paths: [{ path: 'section.description.video' }],\n },\n ]\n );\n\n const reqOpts = ambassadorWixOnlineProgramsV3Section.updateSection(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'section.description.image' }],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'section.description.video' }],\n },\n ])\n )?.section!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: { section: '$[1].section' },\n explicitPathsToArguments: {\n 'section.id': '$[0]',\n fields: '$[1].fields',\n },\n singleArgumentUnchanged: false,\n },\n ['_id', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface UpdateSectionOptions {\n section?: {\n /**\n * Section ID.\n * @format GUID\n * @readonly\n */\n _id?: string | null;\n /**\n * Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current `revision` must be passed when updating or publishing the section.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the section was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Date and time the section was last updated.\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Program ID of the parent program. Provide it when creating a section. After creation, this value can't be changed.\n * @format GUID\n * @readonly\n * @immutable\n */\n programId?: string;\n /** Section title and deprecated backward-compatibility content fields. */\n description?: Description;\n /** Publication state of the section. */\n state?: StateWithLiterals;\n /**\n * Legacy total number of steps in the section.\n * @readonly\n */\n oldTotalSteps?: number;\n /**\n * Total number of steps in the section.\n * @readonly\n */\n totalSteps?: number | null;\n /** Whether participants can access the section as trial content before purchasing the parent program. */\n trialSection?: boolean;\n /** Position rank used to order sections within a program. To reorder sections, call Move Section. */\n ordering?: number;\n /**\n * Number of days after the parent program starts before the section becomes available. Use `0` to make the section available immediately.\n * @max 5000\n */\n delayInDays?: number;\n /** Custom field data for the section. */\n extendedFields?: ExtendedFields;\n };\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Permanently deletes a section from the public API.\n *\n * Deleted sections aren't returned by standard retrieval and list methods. The public API doesn't expose trash-bin or restore operations.\n * @param sectionId - ID of the section to delete.\n * @public\n * @documentationMaturity preview\n * @requiredField sectionId\n * @permissionId ONLINE_PROGRAMS.SECTION_DELETE\n * @applicableIdentity APP\n * @fqn wix.onlineprograms.sections.v3.SectionsService.DeleteSection\n */\nexport async function deleteSection(sectionId: string): Promise<void> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n sectionId: sectionId,\n });\n\n const reqOpts = ambassadorWixOnlineProgramsV3Section.deleteSection(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { sectionId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['sectionId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Retrieves a list of up to 1,000 sections, given the provided paging, filtering, and sorting.\n *\n * Query Sections runs with these defaults, which you can override:\n *\n * - `createdDate` is sorted in `DESC` order.\n * - `paging.limit` is `1000`.\n * - `paging.offset` is `0`.\n *\n * Supported filter fields are `programId`, `id`, `delayInDays`, `trialSection`, and `state`.\n * Supported sorting fields are `id`, `delayInDays`, `trialSection`, `state`, `createdDate`, and `ordering`. When sorting by a field other than `programId`, also filter by `programId`.\n * `descriptionFieldSet` is retained for backward compatibility. Current section responses return the section title.\n *\n * 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).\n * @public\n * @documentationMaturity preview\n * @permissionId ONLINE_PROGRAMS.SECTION_READ\n * @applicableIdentity APP\n * @fqn wix.onlineprograms.sections.v3.SectionsService.QuerySections\n */\nexport function querySections(\n options?: QuerySectionsOptions\n): SectionsQueryBuilder {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n return queryBuilder<\n Section,\n 'CURSOR',\n QuerySectionsRequest,\n QuerySectionsResponse\n >({\n func: async (payload: QuerySectionsRequest) => {\n const reqOpts = ambassadorWixOnlineProgramsV3Section.querySections({\n ...payload,\n ...(options ?? {}),\n });\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n return result;\n } catch (err) {\n sideEffects?.onError?.(err);\n throw err;\n }\n },\n requestTransformer: (query: QuerySectionsRequest['query']) => {\n const args = [query, options] as [\n QuerySectionsRequest['query'],\n QuerySectionsOptions\n ];\n return renameKeysFromSDKRequestToRESTRequest({\n ...args?.[1],\n query: args?.[0],\n });\n },\n responseTransformer: ({ data }: HttpResponse<QuerySectionsResponse>) => {\n const transformedData = renameKeysFromRESTResponseToSDKResponse(\n transformPaths(data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'sections.description.image' }],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'sections.description.video' }],\n },\n ])\n );\n\n return {\n items: transformedData?.sections,\n pagingMetadata: transformedData?.pagingMetadata,\n };\n },\n errorTransformer: (err: unknown) => {\n const transformedError = sdkTransformError(err, {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n });\n\n throw transformedError;\n },\n pagingMethod: 'CURSOR',\n transformationPaths: {},\n });\n}\n\nexport interface QuerySectionsOptions {\n /** Compatibility option for existing integrations. Current section responses return the section title. */\n descriptionFieldSet?: DescriptionFieldSetWithLiterals | undefined;\n /**\n * Deprecated. Program ID used to scope the query. Use `query.filter` instead.\n * @deprecated\n * @replacedBy wix.common.CursorQuery\n * @targetRemovalDate 2026-06-30\n */\n programId?: string | undefined;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[] | undefined;\n}\n\ninterface QueryCursorResult {\n cursors: Cursors;\n hasNext: () => boolean;\n hasPrev: () => boolean;\n length: number;\n pageSize: number;\n}\n\nexport interface SectionsQueryResult extends QueryCursorResult {\n items: Section[];\n query: SectionsQueryBuilder;\n next: () => Promise<SectionsQueryResult>;\n prev: () => Promise<SectionsQueryResult>;\n}\n\nexport interface SectionsQueryBuilder {\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n eq: (\n propertyName:\n | '_id'\n | 'programId'\n | 'state'\n | 'trialSection'\n | 'delayInDays',\n value: any\n ) => SectionsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n ne: (\n propertyName: '_id' | 'state' | 'trialSection' | 'delayInDays',\n value: any\n ) => SectionsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n ge: (propertyName: '_id' | 'delayInDays', value: any) => SectionsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n gt: (propertyName: '_id' | 'delayInDays', value: any) => SectionsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n le: (propertyName: '_id' | 'delayInDays', value: any) => SectionsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n lt: (propertyName: '_id' | 'delayInDays', value: any) => SectionsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `string`.\n * @param string - String to compare against. Case-insensitive.\n * @documentationMaturity preview\n */\n startsWith: (propertyName: '_id', value: string) => SectionsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `values`.\n * @param values - List of values to compare against.\n * @documentationMaturity preview\n */\n hasSome: (\n propertyName: '_id' | 'state' | 'trialSection' | 'delayInDays',\n value: any[]\n ) => SectionsQueryBuilder;\n /** @documentationMaturity preview */\n in: (\n propertyName: '_id' | 'state' | 'trialSection' | 'delayInDays',\n value: any\n ) => SectionsQueryBuilder;\n /** @documentationMaturity preview */\n exists: (\n propertyName: '_id' | 'state' | 'trialSection' | 'delayInDays',\n value: boolean\n ) => SectionsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n * @documentationMaturity preview\n */\n ascending: (\n ...propertyNames: Array<\n | '_id'\n | '_createdDate'\n | 'state'\n | 'trialSection'\n | 'ordering'\n | 'delayInDays'\n >\n ) => SectionsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n * @documentationMaturity preview\n */\n descending: (\n ...propertyNames: Array<\n | '_id'\n | '_createdDate'\n | 'state'\n | 'trialSection'\n | 'ordering'\n | 'delayInDays'\n >\n ) => SectionsQueryBuilder;\n /** @param limit - Number of items to return, which is also the `pageSize` of the results object.\n * @documentationMaturity preview\n */\n limit: (limit: number) => SectionsQueryBuilder;\n /** @param cursor - A pointer to specific record\n * @documentationMaturity preview\n */\n skipTo: (cursor: string) => SectionsQueryBuilder;\n /** @documentationMaturity preview */\n find: () => Promise<SectionsQueryResult>;\n}\n\n/**\n * @hidden\n * @fqn wix.onlineprograms.sections.v3.SectionsService.QuerySections\n * @requiredField query\n */\nexport async function typedQuerySections(\n query: SectionQuery,\n options?: QuerySectionsOptions\n): Promise<\n NonNullablePaths<\n QuerySectionsResponse,\n | `sections`\n | `sections.${number}.programId`\n | `sections.${number}.description.title`\n | `sections.${number}.state`\n | `sections.${number}.oldTotalSteps`\n | `sections.${number}.trialSection`\n | `sections.${number}.ordering`\n | `sections.${number}.delayInDays`,\n 5\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n query: query,\n ...options,\n });\n\n const reqOpts = ambassadorWixOnlineProgramsV3Section.querySections(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'sections.description.image' }],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'sections.description.video' }],\n },\n ])\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['query', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface SectionQuerySpec extends QuerySpec {\n paging: 'cursor';\n wql: [\n {\n fields: ['programId'];\n operators: ['$eq'];\n sort: 'NONE';\n },\n {\n fields: ['_id', 'delayInDays', 'state', 'trialSection'];\n operators: '*';\n sort: 'BOTH';\n },\n {\n fields: ['_createdDate', 'ordering'];\n operators: [];\n sort: 'BOTH';\n }\n ];\n}\n\nexport type CommonQueryWithEntityContext = QuerySdkType<\n Section,\n SectionQuerySpec\n>;\nexport type SectionQuery = {\n /** \n Cursor paging options.\n\n Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging). \n */\n cursorPaging?: {\n /** \n Maximum number of items to return in the results. \n @max: 100 \n */\n limit?:\n | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['limit']\n | null;\n /** \n Pointer to the next or previous page in the list of results.\n\n Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n Not relevant for the first request. \n @maxLength: 16000 \n */\n cursor?:\n | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['cursor']\n | null;\n };\n /** \n Filter object.\n\n Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters). \n */\n filter?: CommonQueryWithEntityContext['filter'] | null;\n /** \n Sort object.\n\n Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting). \n @maxSize: 5 \n */\n sort?: {\n /** \n Name of the field to sort by. \n @maxLength: 512 \n */\n fieldName?: NonNullable<\n CommonQueryWithEntityContext['sort']\n >[number]['fieldName'];\n /** \n Sort order. \n */\n order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];\n /** \n Origin point for geo-distance sorting on a GEO field\n results are ordered by distance from this point (ASC = nearest first, DESC = farthest first). \n */\n origin?: NonNullable<\n CommonQueryWithEntityContext['sort']\n >[number]['origin'];\n }[];\n};\n\nexport const utils = {\n query: {\n ...createQueryUtils<Section, SectionQuerySpec, SectionQuery>(),\n },\n};\n\n/**\n * Retrieves the sections in a program.\n *\n * Results are sorted by `ordering` in ascending order. `descriptionFieldSet` is retained for backward compatibility. Current section responses return the section title.\n *\n * To filter or sort sections, call [Query Sections](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/query-sections).\n * @param programId - Program ID to list sections for.\n * @public\n * @documentationMaturity preview\n * @requiredField programId\n * @permissionId ONLINE_PROGRAMS.SECTION_READ\n * @applicableIdentity APP\n * @fqn wix.onlineprograms.sections.v3.SectionsService.ListSections\n */\nexport async function listSections(\n programId: string,\n options?: ListSectionsOptions\n): Promise<\n NonNullablePaths<\n ListSectionsResponse,\n | `sections`\n | `sections.${number}.programId`\n | `sections.${number}.description.title`\n | `sections.${number}.state`\n | `sections.${number}.oldTotalSteps`\n | `sections.${number}.trialSection`\n | `sections.${number}.ordering`\n | `sections.${number}.delayInDays`,\n 5\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n programId: programId,\n descriptionFieldSet: options?.descriptionFieldSet,\n fields: options?.fields,\n });\n\n const reqOpts = ambassadorWixOnlineProgramsV3Section.listSections(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'sections.description.image' }],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'sections.description.video' }],\n },\n ])\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n programId: '$[0]',\n descriptionFieldSet: '$[1].descriptionFieldSet',\n fields: '$[1].fields',\n },\n singleArgumentUnchanged: false,\n },\n ['programId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface ListSectionsOptions {\n /** Compatibility option for existing integrations. Current section responses return the section title. */\n descriptionFieldSet?: DescriptionFieldSetWithLiterals;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Clones a section.\n *\n * The cloned section is added to the same program after the current last section. Translation content is copied to the cloned section.\n * @param sectionId - ID of the section to clone.\n * @public\n * @documentationMaturity preview\n * @requiredField sectionId\n * @permissionId ONLINE_PROGRAMS.SECTION_CREATE\n * @applicableIdentity APP\n * @fqn wix.onlineprograms.sections.v3.SectionsService.CloneSection\n */\nexport async function cloneSection(\n sectionId: string,\n options?: CloneSectionOptions\n): Promise<\n NonNullablePaths<\n CloneSectionResponse,\n | `section.programId`\n | `section.description.title`\n | `section.state`\n | `section.oldTotalSteps`\n | `section.trialSection`\n | `section.ordering`\n | `section.delayInDays`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n sectionId: sectionId,\n fields: options?.fields,\n });\n\n const reqOpts = ambassadorWixOnlineProgramsV3Section.cloneSection(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'section.description.image' }],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'section.description.video' }],\n },\n ])\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { sectionId: '$[0]', fields: '$[1].fields' },\n singleArgumentUnchanged: false,\n },\n ['sectionId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface CloneSectionOptions {\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Moves a section within its program.\n *\n * If `afterSectionId` isn't specified, the section is moved to the beginning of the program. The stored ordering value is recalculated automatically.\n * @public\n * @documentationMaturity preview\n * @permissionId ONLINE_PROGRAMS.SECTION_UPDATE\n * @applicableIdentity APP\n * @fqn wix.onlineprograms.sections.v3.SectionsService.MoveSection\n */\nexport async function moveSection(\n options?: MoveSectionOptions\n): Promise<\n NonNullablePaths<\n MoveSectionResponse,\n | `section.programId`\n | `section.description.title`\n | `section.state`\n | `section.oldTotalSteps`\n | `section.trialSection`\n | `section.ordering`\n | `section.delayInDays`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n sectionId: options?.sectionId,\n afterSectionId: options?.afterSectionId,\n revision: options?.revision,\n fields: options?.fields,\n });\n\n const reqOpts = ambassadorWixOnlineProgramsV3Section.moveSection(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'section.description.image' }],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'section.description.video' }],\n },\n ])\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n sectionId: '$[0].sectionId',\n afterSectionId: '$[0].afterSectionId',\n revision: '$[0].revision',\n fields: '$[0].fields',\n },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface MoveSectionOptions {\n /**\n * ID of the section to move.\n * @format GUID\n */\n sectionId?: string;\n /**\n * ID of the section that the moved section should be placed after. Leave empty to move the section to the beginning of the program.\n * @format GUID\n */\n afterSectionId?: string | null;\n /** Current revision of the section. */\n revision?: string;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\n/**\n * Publishes a section.\n *\n * 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.\n *\n * Publishing sets the section's `state` to `PUBLISHED`.\n * @public\n * @documentationMaturity preview\n * @permissionId ONLINE_PROGRAMS.SECTION_UPDATE\n * @applicableIdentity APP\n * @fqn wix.onlineprograms.sections.v3.SectionsService.PublishSection\n */\nexport async function publishSection(\n options?: PublishSectionOptions\n): Promise<\n NonNullablePaths<\n PublishSectionResponse,\n | `section.programId`\n | `section.description.title`\n | `section.state`\n | `section.oldTotalSteps`\n | `section.trialSection`\n | `section.ordering`\n | `section.delayInDays`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n sectionId: options?.sectionId,\n revision: options?.revision,\n fields: options?.fields,\n });\n\n const reqOpts = ambassadorWixOnlineProgramsV3Section.publishSection(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTImageToSDKImage,\n paths: [{ path: 'section.description.image' }],\n },\n {\n transformFn: transformRESTVideoV2ToSDKVideoV2,\n paths: [{ path: 'section.description.video' }],\n },\n ])\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n sectionId: '$[0].sectionId',\n revision: '$[0].revision',\n fields: '$[0].fields',\n },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface PublishSectionOptions {\n /**\n * ID of the section to publish.\n * @format GUID\n */\n sectionId?: string;\n /** Current revision of the section. */\n revision?: string;\n /**\n * Predefined sets of fields to return.\n * @maxSize 1\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixOnlineprogramsSectionsV3SectionsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'bo._base_domain_': [\n {\n srcPath: '/program-sections-service',\n destPath: '',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/program-sections-service',\n destPath: '',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/program-sections-service',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/program-sections-service',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/program-sections-service',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/program-sections-service',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/program-sections-service',\n destPath: '',\n },\n {\n srcPath: '/program-sections-service',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/program-sections-service',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/program-sections-service',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/program-sections-service',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/program-sections-service',\n destPath: '',\n },\n {\n srcPath: '/program-sections-service',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/program-sections-service',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/program-sections-service',\n destPath: '',\n },\n {\n srcPath: '/online-programs/v3/sections',\n destPath: '/v3/sections',\n },\n {\n srcPath: '/online-programs/v3/bulk/sections',\n destPath: '/v3/bulk/sections',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_online-programs_sections';\n\n/**\n * Creates a section.\n *\n * 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.\n *\n * 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).\n */\nexport function createSection(payload: object): RequestOptionsFactory<any> {\n function __createSection({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'section.createdDate' },\n { path: 'section.updatedDate' },\n { path: 'section.description.image.urlExpirationDate' },\n { path: 'section.description.video.urlExpirationDate' },\n { path: 'section.description.video.resolutions.urlExpirationDate' },\n {\n path: 'section.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'section.description.video.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'section.ordering' },\n { path: 'section.description.image.focalPoint.x' },\n { path: 'section.description.image.focalPoint.y' },\n { path: 'section.description.video.resolutions.poster.focalPoint.x' },\n { path: 'section.description.video.resolutions.poster.focalPoint.y' },\n { path: 'section.description.video.posters.focalPoint.x' },\n { path: 'section.description.video.posters.focalPoint.y' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.section',\n method: 'POST' as any,\n methodFqn: 'wix.onlineprograms.sections.v3.SectionsService.CreateSection',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({\n protoPath: '/v3/sections',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'section.createdDate' },\n { path: 'section.updatedDate' },\n { path: 'section.description.image.urlExpirationDate' },\n { path: 'section.description.video.urlExpirationDate' },\n {\n path: 'section.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'section.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'section.description.video.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'section.ordering' },\n { path: 'section.description.image.focalPoint.x' },\n { path: 'section.description.image.focalPoint.y' },\n {\n path: 'section.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'section.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'section.description.video.posters.focalPoint.x' },\n { path: 'section.description.video.posters.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createSection;\n}\n\n/**\n * Creates up to 100 sections in a single API call.\n *\n * 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.\n *\n * To create a single section, call [Create Section](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/create-section).\n */\nexport function bulkCreateSections(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateSections({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'sections.createdDate' },\n { path: 'sections.updatedDate' },\n { path: 'sections.description.image.urlExpirationDate' },\n { path: 'sections.description.video.urlExpirationDate' },\n { path: 'sections.description.video.resolutions.urlExpirationDate' },\n {\n path: 'sections.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'sections.description.video.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'sections.ordering' },\n { path: 'sections.description.image.focalPoint.x' },\n { path: 'sections.description.image.focalPoint.y' },\n {\n path: 'sections.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'sections.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'sections.description.video.posters.focalPoint.x' },\n { path: 'sections.description.video.posters.focalPoint.y' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.section',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.sections.v3.SectionsService.BulkCreateSections',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({\n protoPath: '/v3/bulk/sections/create',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n { path: 'results.item.description.image.urlExpirationDate' },\n { path: 'results.item.description.video.urlExpirationDate' },\n {\n path: 'results.item.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'results.item.description.video.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'results.item.description.video.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'results.item.ordering' },\n { path: 'results.item.description.image.focalPoint.x' },\n { path: 'results.item.description.image.focalPoint.y' },\n {\n path: 'results.item.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'results.item.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'results.item.description.video.posters.focalPoint.x' },\n { path: 'results.item.description.video.posters.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateSections;\n}\n\n/**\n * Deprecated. Use [Bulk Create Sections](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/bulk-create-sections).\n *\n * To create a single section, call [Create Section](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/create-section).\n * @deprecated It has been replaced with wix.onlineprograms.sections.v3.SectionsService.BulkCreateSections(), and will be removed on 2026-07-24.\n */\nexport function bulkCreateSection(payload: object): RequestOptionsFactory<any> {\n function __bulkCreateSection({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'sections.createdDate' },\n { path: 'sections.updatedDate' },\n { path: 'sections.description.image.urlExpirationDate' },\n { path: 'sections.description.video.urlExpirationDate' },\n { path: 'sections.description.video.resolutions.urlExpirationDate' },\n {\n path: 'sections.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'sections.description.video.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'sections.ordering' },\n { path: 'sections.description.image.focalPoint.x' },\n { path: 'sections.description.image.focalPoint.y' },\n {\n path: 'sections.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'sections.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'sections.description.video.posters.focalPoint.x' },\n { path: 'sections.description.video.posters.focalPoint.y' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.section',\n method: 'POST' as any,\n methodFqn:\n 'wix.onlineprograms.sections.v3.SectionsService.BulkCreateSection',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({\n protoPath: '/v3/bulk/sections/create-deprecated',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n { path: 'results.item.description.image.urlExpirationDate' },\n { path: 'results.item.description.video.urlExpirationDate' },\n {\n path: 'results.item.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'results.item.description.video.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'results.item.description.video.posters.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'results.item.ordering' },\n { path: 'results.item.description.image.focalPoint.x' },\n { path: 'results.item.description.image.focalPoint.y' },\n {\n path: 'results.item.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'results.item.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'results.item.description.video.posters.focalPoint.x' },\n { path: 'results.item.description.video.posters.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateSection;\n}\n\n/**\n * Retrieves a section.\n *\n * `descriptionFieldSet` is retained for backward compatibility. Current section responses return the section title.\n */\nexport function getSection(payload: object): RequestOptionsFactory<any> {\n function __getSection({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.section',\n method: 'GET' as any,\n methodFqn: 'wix.onlineprograms.sections.v3.SectionsService.GetSection',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({\n protoPath: '/v3/sections/{sectionId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'section.createdDate' },\n { path: 'section.updatedDate' },\n { path: 'section.description.image.urlExpirationDate' },\n { path: 'section.description.video.urlExpirationDate' },\n {\n path: 'section.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'section.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'section.description.video.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'section.ordering' },\n { path: 'section.description.image.focalPoint.x' },\n { path: 'section.description.image.focalPoint.y' },\n {\n path: 'section.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'section.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'section.description.video.posters.focalPoint.x' },\n { path: 'section.description.video.posters.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getSection;\n}\n\n/**\n * Updates a section.\n *\n * 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.\n *\n * 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). To publish a section, call [Publish Section](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/publish-section).\n */\nexport function updateSection(payload: object): RequestOptionsFactory<any> {\n function __updateSection({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'section.createdDate' },\n { path: 'section.updatedDate' },\n { path: 'section.description.image.urlExpirationDate' },\n { path: 'section.description.video.urlExpirationDate' },\n { path: 'section.description.video.resolutions.urlExpirationDate' },\n {\n path: 'section.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'section.description.video.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'section.ordering' },\n { path: 'section.description.image.focalPoint.x' },\n { path: 'section.description.image.focalPoint.y' },\n { path: 'section.description.video.resolutions.poster.focalPoint.x' },\n { path: 'section.description.video.resolutions.poster.focalPoint.y' },\n { path: 'section.description.video.posters.focalPoint.x' },\n { path: 'section.description.video.posters.focalPoint.y' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.section',\n method: 'PATCH' as any,\n methodFqn: 'wix.onlineprograms.sections.v3.SectionsService.UpdateSection',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({\n protoPath: '/v3/sections/{section.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'section.createdDate' },\n { path: 'section.updatedDate' },\n { path: 'section.description.image.urlExpirationDate' },\n { path: 'section.description.video.urlExpirationDate' },\n {\n path: 'section.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'section.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'section.description.video.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'section.ordering' },\n { path: 'section.description.image.focalPoint.x' },\n { path: 'section.description.image.focalPoint.y' },\n {\n path: 'section.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'section.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'section.description.video.posters.focalPoint.x' },\n { path: 'section.description.video.posters.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateSection;\n}\n\n/**\n * Permanently deletes a section from the public API.\n *\n * Deleted sections aren't returned by standard retrieval and list methods. The public API doesn't expose trash-bin or restore operations.\n */\nexport function deleteSection(payload: object): RequestOptionsFactory<any> {\n function __deleteSection({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.section',\n method: 'DELETE' as any,\n methodFqn: 'wix.onlineprograms.sections.v3.SectionsService.DeleteSection',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({\n protoPath: '/v3/sections/{sectionId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteSection;\n}\n\n/**\n * Retrieves a list of up to 1,000 sections, given the provided paging, filtering, and sorting.\n *\n * Query Sections runs with these defaults, which you can override:\n *\n * - `createdDate` is sorted in `DESC` order.\n * - `paging.limit` is `1000`.\n * - `paging.offset` is `0`.\n *\n * Supported filter fields are `programId`, `id`, `delayInDays`, `trialSection`, and `state`.\n * Supported sorting fields are `id`, `delayInDays`, `trialSection`, `state`, `createdDate`, and `ordering`. When sorting by a field other than `programId`, also filter by `programId`.\n * `descriptionFieldSet` is retained for backward compatibility. Current section responses return the section title.\n *\n * 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).\n */\nexport function querySections(payload: object): RequestOptionsFactory<any> {\n function __querySections({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'query.sort.origin.latitude' },\n { path: 'query.sort.origin.longitude' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.section',\n method: 'POST' as any,\n methodFqn: 'wix.onlineprograms.sections.v3.SectionsService.QuerySections',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({\n protoPath: '/v3/sections/query',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'sections.createdDate' },\n { path: 'sections.updatedDate' },\n { path: 'sections.description.image.urlExpirationDate' },\n { path: 'sections.description.video.urlExpirationDate' },\n {\n path: 'sections.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'sections.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'sections.description.video.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'sections.ordering' },\n { path: 'sections.description.image.focalPoint.x' },\n { path: 'sections.description.image.focalPoint.y' },\n {\n path: 'sections.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'sections.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'sections.description.video.posters.focalPoint.x' },\n { path: 'sections.description.video.posters.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __querySections;\n}\n\n/**\n * Retrieves the sections in a program.\n *\n * Results are sorted by `ordering` in ascending order. `descriptionFieldSet` is retained for backward compatibility. Current section responses return the section title.\n *\n * To filter or sort sections, call [Query Sections](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/query-sections).\n */\nexport function listSections(payload: object): RequestOptionsFactory<any> {\n function __listSections({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.section',\n method: 'GET' as any,\n methodFqn: 'wix.onlineprograms.sections.v3.SectionsService.ListSections',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({\n protoPath: '/v3/sections',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'sections.createdDate' },\n { path: 'sections.updatedDate' },\n { path: 'sections.description.image.urlExpirationDate' },\n { path: 'sections.description.video.urlExpirationDate' },\n {\n path: 'sections.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'sections.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'sections.description.video.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'sections.ordering' },\n { path: 'sections.description.image.focalPoint.x' },\n { path: 'sections.description.image.focalPoint.y' },\n {\n path: 'sections.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'sections.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'sections.description.video.posters.focalPoint.x' },\n { path: 'sections.description.video.posters.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listSections;\n}\n\n/**\n * Clones a section.\n *\n * The cloned section is added to the same program after the current last section. Translation content is copied to the cloned section.\n */\nexport function cloneSection(payload: object): RequestOptionsFactory<any> {\n function __cloneSection({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.section',\n method: 'POST' as any,\n methodFqn: 'wix.onlineprograms.sections.v3.SectionsService.CloneSection',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({\n protoPath: '/v3/sections/{sectionId}/clone',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'section.createdDate' },\n { path: 'section.updatedDate' },\n { path: 'section.description.image.urlExpirationDate' },\n { path: 'section.description.video.urlExpirationDate' },\n {\n path: 'section.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'section.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'section.description.video.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'section.ordering' },\n { path: 'section.description.image.focalPoint.x' },\n { path: 'section.description.image.focalPoint.y' },\n {\n path: 'section.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'section.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'section.description.video.posters.focalPoint.x' },\n { path: 'section.description.video.posters.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __cloneSection;\n}\n\n/**\n * Moves a section within its program.\n *\n * If `afterSectionId` isn't specified, the section is moved to the beginning of the program. The stored ordering value is recalculated automatically.\n */\nexport function moveSection(payload: object): RequestOptionsFactory<any> {\n function __moveSection({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.section',\n method: 'PATCH' as any,\n methodFqn: 'wix.onlineprograms.sections.v3.SectionsService.MoveSection',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({\n protoPath: '/v3/sections/move',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'section.createdDate' },\n { path: 'section.updatedDate' },\n { path: 'section.description.image.urlExpirationDate' },\n { path: 'section.description.video.urlExpirationDate' },\n {\n path: 'section.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'section.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'section.description.video.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'section.ordering' },\n { path: 'section.description.image.focalPoint.x' },\n { path: 'section.description.image.focalPoint.y' },\n {\n path: 'section.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'section.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'section.description.video.posters.focalPoint.x' },\n { path: 'section.description.video.posters.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __moveSection;\n}\n\n/**\n * Publishes a section.\n *\n * 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.\n *\n * Publishing sets the section's `state` to `PUBLISHED`.\n */\nexport function publishSection(payload: object): RequestOptionsFactory<any> {\n function __publishSection({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.online_programs.v3.section',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.onlineprograms.sections.v3.SectionsService.PublishSection',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({\n protoPath: '/v3/sections/publish',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'section.createdDate' },\n { path: 'section.updatedDate' },\n { path: 'section.description.image.urlExpirationDate' },\n { path: 'section.description.video.urlExpirationDate' },\n {\n path: 'section.description.video.resolutions.urlExpirationDate',\n },\n {\n path: 'section.description.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'section.description.video.posters.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'section.ordering' },\n { path: 'section.description.image.focalPoint.x' },\n { path: 'section.description.image.focalPoint.y' },\n {\n path: 'section.description.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'section.description.video.resolutions.poster.focalPoint.y',\n },\n { path: 'section.description.video.posters.focalPoint.x' },\n { path: 'section.description.video.posters.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __publishSection;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2BAAAA;AAAA,EAAA,0BAAAC;AAAA,EAAA,oBAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,oBAAAC;AAAA,EAAA,mBAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA;AAAA,uBAAAC;AAAA,EAAA;AAAA;AAAA;;;ACAA,6BAAoD;AACpD,2BAA6B;AAC7B,oCAGO;;;ACLP,0BAAkC;AAClC,mBAA6C;AAC7C,IAAAC,gBAA6C;AAC7C,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,qDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,oBAAoB;AAAA,MAClB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,YAAY;AAAA,MACV;AAAA,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AAO;AAC/C,iBAAa,YAAY,MAAM;AAE/B,eAAO;AAAA,UACL,wCAAe,OAAO,MAAM;AAAA,QAC1B;AAAA,UACE,aAAa;AAAA,UACb,OAAO,CAAC,EAAE,MAAM,4BAA4B,CAAC;AAAA,QAC/C;AAAA,QACA;AAAA,UACE,aAAa;AAAA,UACb,OAAO,CAAC,EAAE,MAAM,4BAA4B,CAAC;AAAA,QAC/C;AAAA,MACF,CAAC;AAAA,IACH;AAAA,EACF,SAAS,KAAU;AACjB,UAAM,uBAAmB,uBAAAV;AAAA,MACvB;AAAA,MACA;AAAA,QACE,wBAAwB,CAAC;AAAA,QACzB,0BAA0B;AAAA,UACxB,WAAW;AAAA,UACX,UAAU;AAAA,UACV,QAAQ;AAAA,QACV;AAAA,QACA,yBAAyB;AAAA,MAC3B;AAAA,MACA,CAAC,SAAS;AAAA,IACZ;AACA,iBAAa,UAAU,GAAG;AAE1B,UAAM;AAAA,EACR;AACF;","names":["bulkCreateSection","bulkCreateSections","cloneSection","createSection","deleteSection","getSection","listSections","moveSection","publishSection","querySections","updateSection","import_float","import_timestamp","import_rest_modules","payload","import_image","import_video_v2","import_transform_paths","State","Enum","RequestedFields","BulkActionType","DescriptionFieldSet","SortOrder","SearchIndexingNotificationState","WebhookIdentityType","createSection","sdkTransformError","bulkCreateSections","bulkCreateSection","getSection","updateSection","deleteSection","querySections","listSections","cloneSection","moveSection","publishSection"]}