@wix/auto_sdk_online-programs_sections 1.0.0

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 (39) hide show
  1. package/build/cjs/index.d.ts +109 -0
  2. package/build/cjs/index.js +1478 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/index.typings.d.ts +1128 -0
  5. package/build/cjs/index.typings.js +1379 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +514 -0
  8. package/build/cjs/meta.js +1018 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/es/index.d.mts +109 -0
  11. package/build/es/index.mjs +1436 -0
  12. package/build/es/index.mjs.map +1 -0
  13. package/build/es/index.typings.d.mts +1128 -0
  14. package/build/es/index.typings.mjs +1337 -0
  15. package/build/es/index.typings.mjs.map +1 -0
  16. package/build/es/meta.d.mts +514 -0
  17. package/build/es/meta.mjs +981 -0
  18. package/build/es/meta.mjs.map +1 -0
  19. package/build/es/package.json +3 -0
  20. package/build/internal/cjs/index.d.ts +109 -0
  21. package/build/internal/cjs/index.js +1478 -0
  22. package/build/internal/cjs/index.js.map +1 -0
  23. package/build/internal/cjs/index.typings.d.ts +1128 -0
  24. package/build/internal/cjs/index.typings.js +1379 -0
  25. package/build/internal/cjs/index.typings.js.map +1 -0
  26. package/build/internal/cjs/meta.d.ts +514 -0
  27. package/build/internal/cjs/meta.js +1018 -0
  28. package/build/internal/cjs/meta.js.map +1 -0
  29. package/build/internal/es/index.d.mts +109 -0
  30. package/build/internal/es/index.mjs +1436 -0
  31. package/build/internal/es/index.mjs.map +1 -0
  32. package/build/internal/es/index.typings.d.mts +1128 -0
  33. package/build/internal/es/index.typings.mjs +1337 -0
  34. package/build/internal/es/index.typings.mjs.map +1 -0
  35. package/build/internal/es/meta.d.mts +514 -0
  36. package/build/internal/es/meta.mjs +981 -0
  37. package/build/internal/es/meta.mjs.map +1 -0
  38. package/meta/package.json +3 -0
  39. package/package.json +54 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../meta.ts","../../../src/online-programs-v3-section-sections.http.ts","../../../src/online-programs-v3-section-sections.meta.ts"],"sourcesContent":["export * from './src/online-programs-v3-section-sections.meta.js';\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 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 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 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 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 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 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 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 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 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 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 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","import * as ambassadorWixOnlineProgramsV3Section from './online-programs-v3-section-sections.http.js';\nimport * as ambassadorWixOnlineProgramsV3SectionTypes from './online-programs-v3-section-sections.types.js';\nimport * as ambassadorWixOnlineProgramsV3SectionUniversalTypes from './online-programs-v3-section-sections.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createSection(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3SectionUniversalTypes.CreateSectionRequest,\n ambassadorWixOnlineProgramsV3SectionTypes.CreateSectionRequest,\n ambassadorWixOnlineProgramsV3SectionUniversalTypes.CreateSectionResponse,\n ambassadorWixOnlineProgramsV3SectionTypes.CreateSectionResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Section.createSection(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/sections',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkCreateSection(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3SectionUniversalTypes.BulkCreateSectionRequest,\n ambassadorWixOnlineProgramsV3SectionTypes.BulkCreateSectionRequest,\n ambassadorWixOnlineProgramsV3SectionUniversalTypes.BulkCreateSectionResponse,\n ambassadorWixOnlineProgramsV3SectionTypes.BulkCreateSectionResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Section.bulkCreateSection(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/sections/create',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkCreateSectionMigration(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3SectionUniversalTypes.BulkCreateSectionMigrationRequest,\n ambassadorWixOnlineProgramsV3SectionTypes.BulkCreateSectionMigrationRequest,\n ambassadorWixOnlineProgramsV3SectionUniversalTypes.BulkCreateSectionMigrationResponse,\n ambassadorWixOnlineProgramsV3SectionTypes.BulkCreateSectionMigrationResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Section.bulkCreateSectionMigration(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/sections/create/migration',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getSection(): __PublicMethodMetaInfo<\n 'GET',\n { sectionId: string },\n ambassadorWixOnlineProgramsV3SectionUniversalTypes.GetSectionRequest,\n ambassadorWixOnlineProgramsV3SectionTypes.GetSectionRequest,\n ambassadorWixOnlineProgramsV3SectionUniversalTypes.GetSectionResponse,\n ambassadorWixOnlineProgramsV3SectionTypes.GetSectionResponse\n> {\n const payload = { sectionId: ':sectionId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Section.getSection(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/sections/{sectionId}',\n pathParams: { sectionId: 'sectionId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateSection(): __PublicMethodMetaInfo<\n 'PATCH',\n { sectionId: string },\n ambassadorWixOnlineProgramsV3SectionUniversalTypes.UpdateSectionRequest,\n ambassadorWixOnlineProgramsV3SectionTypes.UpdateSectionRequest,\n ambassadorWixOnlineProgramsV3SectionUniversalTypes.UpdateSectionResponse,\n ambassadorWixOnlineProgramsV3SectionTypes.UpdateSectionResponse\n> {\n const payload = { section: { id: ':sectionId' } } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Section.updateSection(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v3/sections/{section.id}',\n pathParams: { sectionId: 'sectionId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteSection(): __PublicMethodMetaInfo<\n 'DELETE',\n { sectionId: string },\n ambassadorWixOnlineProgramsV3SectionUniversalTypes.DeleteSectionRequest,\n ambassadorWixOnlineProgramsV3SectionTypes.DeleteSectionRequest,\n ambassadorWixOnlineProgramsV3SectionUniversalTypes.DeleteSectionResponse,\n ambassadorWixOnlineProgramsV3SectionTypes.DeleteSectionResponse\n> {\n const payload = { sectionId: ':sectionId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Section.deleteSection(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v3/sections/{sectionId}',\n pathParams: { sectionId: 'sectionId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function querySections(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixOnlineProgramsV3SectionUniversalTypes.QuerySectionsRequest,\n ambassadorWixOnlineProgramsV3SectionTypes.QuerySectionsRequest,\n ambassadorWixOnlineProgramsV3SectionUniversalTypes.QuerySectionsResponse,\n ambassadorWixOnlineProgramsV3SectionTypes.QuerySectionsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Section.querySections(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/sections/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function listSections(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixOnlineProgramsV3SectionUniversalTypes.ListSectionsRequest,\n ambassadorWixOnlineProgramsV3SectionTypes.ListSectionsRequest,\n ambassadorWixOnlineProgramsV3SectionUniversalTypes.ListSectionsResponse,\n ambassadorWixOnlineProgramsV3SectionTypes.ListSectionsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Section.listSections(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/sections',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function cloneSection(): __PublicMethodMetaInfo<\n 'POST',\n { sectionId: string },\n ambassadorWixOnlineProgramsV3SectionUniversalTypes.CloneSectionRequest,\n ambassadorWixOnlineProgramsV3SectionTypes.CloneSectionRequest,\n ambassadorWixOnlineProgramsV3SectionUniversalTypes.CloneSectionResponse,\n ambassadorWixOnlineProgramsV3SectionTypes.CloneSectionResponse\n> {\n const payload = { sectionId: ':sectionId' } as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Section.cloneSection(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/sections/{sectionId}/clone',\n pathParams: { sectionId: 'sectionId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function moveSection(): __PublicMethodMetaInfo<\n 'PATCH',\n {},\n ambassadorWixOnlineProgramsV3SectionUniversalTypes.MoveSectionRequest,\n ambassadorWixOnlineProgramsV3SectionTypes.MoveSectionRequest,\n ambassadorWixOnlineProgramsV3SectionUniversalTypes.MoveSectionResponse,\n ambassadorWixOnlineProgramsV3SectionTypes.MoveSectionResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Section.moveSection(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v3/sections/move',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function publishSection(): __PublicMethodMetaInfo<\n 'PATCH',\n {},\n ambassadorWixOnlineProgramsV3SectionUniversalTypes.PublishSectionRequest,\n ambassadorWixOnlineProgramsV3SectionTypes.PublishSectionRequest,\n ambassadorWixOnlineProgramsV3SectionUniversalTypes.PublishSectionResponse,\n ambassadorWixOnlineProgramsV3SectionTypes.PublishSectionResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixOnlineProgramsV3Section.publishSection(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v3/sections/publish',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;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,qBAAAC;AAAA;AAAA;;;ACAA,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;AAA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AkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,WAAW,YAAY;AAAA,IACrC,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,eAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACiC,YAAY,OAAO;AAE1D,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,kBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACiC,eAAe,OAAO;AAE7D,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["bulkCreateSection","bulkCreateSectionMigration","cloneSection","createSection","deleteSection","getSection","listSections","moveSection","publishSection","querySections","updateSection","import_float","import_timestamp","import_rest_modules","payload","createSection","bulkCreateSection","bulkCreateSectionMigration","getSection","updateSection","deleteSection","querySections","listSections","cloneSection","moveSection","publishSection"]}
@@ -0,0 +1,109 @@
1
+ import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
2
+ import { Section, CreateSectionOptions, BulkCreateSectionOptions, BulkCreateSectionResponse, BulkCreateSectionMigrationResponse, GetSectionOptions, UpdateSectionOptions, QuerySectionsOptions, SectionsQueryBuilder, ListSectionsOptions, ListSectionsResponse, CloneSectionOptions, CloneSectionResponse, MoveSectionOptions, MoveSectionResponse, PublishSectionOptions, PublishSectionResponse } from './index.typings.mjs';
3
+ export { ActionEvent, ApplicationError, BulkActionMetadata, BulkActionType, BulkActionTypeWithLiterals, BulkCloneSectionRequest, BulkCloneSectionResponse, BulkCreateSectionMigrationRequest, BulkCreateSectionRequest, BulkSectionResult, CloneSectionRequest, CreateSectionRequest, CreateSectionResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteAllProgramSectionsRequest, DeleteAllProgramSectionsResponse, DeleteByFilterOperation, DeleteByIdsOperation, DeleteSectionRequest, DeleteSectionResponse, Description, DescriptionFieldSet, DescriptionFieldSetWithLiterals, DescriptionMediaOneOf, DocumentImage, DocumentPayload, DocumentUpdateOperation, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Enum, EnumWithLiterals, ExtendedFields, FocalPoint, GetSectionRequest, GetSectionResponse, IdentificationData, IdentificationDataIdOneOf, IndexDocument, ItemMetadata, ListSectionsRequest, MessageEnvelope, MoveSectionRequest, PublishSectionRequest, QuerySectionsRequest, QuerySectionsResponse, RequestedFields, RequestedFieldsWithLiterals, RestoreInfo, RestoreSectionFromTrashRequest, RestoreSectionFromTrashResponse, SearchIndexingNotification, SearchIndexingNotificationState, SearchIndexingNotificationStateWithLiterals, SectionCloned, SectionDeleted, SectionMoved, SectionPublished, SectionUpdated, SectionsQueryResult, SortOrder, SortOrderWithLiterals, Sorting, State, StateWithLiterals, UpdateByFilterOperation, UpdateDocumentsEvent, UpdateDocumentsEventOperationOneOf, UpdateExistingOperation, UpdateSectionRequest, UpdateSectionResponse, VideoResolution, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.mjs';
4
+
5
+ declare function createSection$1(httpClient: HttpClient): CreateSectionSignature;
6
+ interface CreateSectionSignature {
7
+ /**
8
+ * Creates a Section.
9
+ * @param - Section to be created.
10
+ * @returns The created Section.
11
+ */
12
+ (section: Section, options?: CreateSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `state` | `oldTotalSteps` | `trialSection` | `ordering` | `delayInDays`, 3>>;
13
+ }
14
+ declare function bulkCreateSection$1(httpClient: HttpClient): BulkCreateSectionSignature;
15
+ interface BulkCreateSectionSignature {
16
+ /**
17
+ * Bulk Section creation.
18
+ * @param - List of sections you want to create
19
+ */
20
+ (sections: Section[], options?: BulkCreateSectionOptions): Promise<NonNullablePaths<BulkCreateSectionResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.programId` | `results.${number}.item.description.title` | `results.${number}.item.state` | `results.${number}.item.oldTotalSteps` | `results.${number}.item.trialSection` | `results.${number}.item.ordering` | `results.${number}.item.delayInDays` | `results.${number}.action` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
21
+ }
22
+ declare function bulkCreateSectionMigration$1(httpClient: HttpClient): BulkCreateSectionMigrationSignature;
23
+ interface BulkCreateSectionMigrationSignature {
24
+ /**
25
+ * Bulk Section creation for migration.
26
+ * @param - List of sections you want to create
27
+ */
28
+ (sections: Section[]): Promise<NonNullablePaths<BulkCreateSectionMigrationResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.programId` | `results.${number}.item.description.title` | `results.${number}.item.state` | `results.${number}.item.oldTotalSteps` | `results.${number}.item.trialSection` | `results.${number}.item.ordering` | `results.${number}.item.delayInDays` | `results.${number}.action` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
29
+ }
30
+ declare function getSection$1(httpClient: HttpClient): GetSectionSignature;
31
+ interface GetSectionSignature {
32
+ /**
33
+ * Retrieves a Section.
34
+ * @param - ID of the Section to retrieve.
35
+ * @returns The requested Section.
36
+ */
37
+ (sectionId: string, options?: GetSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `state` | `oldTotalSteps` | `trialSection` | `ordering` | `delayInDays`, 3>>;
38
+ }
39
+ declare function updateSection$1(httpClient: HttpClient): UpdateSectionSignature;
40
+ interface UpdateSectionSignature {
41
+ /**
42
+ * Updates a Section.
43
+ * @param - Program Section ID.
44
+ * @returns Updated Section.
45
+ */
46
+ (_id: string, options?: NonNullablePaths<UpdateSectionOptions, `section.revision`, 3>): Promise<NonNullablePaths<Section, `programId` | `description.title` | `state` | `oldTotalSteps` | `trialSection` | `ordering` | `delayInDays`, 3>>;
47
+ }
48
+ declare function deleteSection$1(httpClient: HttpClient): DeleteSectionSignature;
49
+ interface DeleteSectionSignature {
50
+ /**
51
+ * Deletes a Section.
52
+ * Deleting a Section permanently removes them from the Section List.
53
+ * @param - Id of the Section to delete.
54
+ */
55
+ (sectionId: string): Promise<void>;
56
+ }
57
+ declare function querySections$1(httpClient: HttpClient): QuerySectionsSignature;
58
+ interface QuerySectionsSignature {
59
+ /**
60
+ * Retrieves a list of Sections, given the provided [paging, filtering, and sorting][1].
61
+ *
62
+ * Up to 1,000 Sections can be returned per request.
63
+ */
64
+ (options?: QuerySectionsOptions): SectionsQueryBuilder;
65
+ }
66
+ declare function listSections$1(httpClient: HttpClient): ListSectionsSignature;
67
+ interface ListSectionsSignature {
68
+ /**
69
+ * List sections per program id
70
+ * @param - Program id to list sections
71
+ */
72
+ (programId: string, options?: ListSectionsOptions): Promise<NonNullablePaths<ListSectionsResponse, `sections` | `sections.${number}.programId` | `sections.${number}.description.title` | `sections.${number}.state` | `sections.${number}.oldTotalSteps` | `sections.${number}.trialSection` | `sections.${number}.ordering` | `sections.${number}.delayInDays`, 5>>;
73
+ }
74
+ declare function cloneSection$1(httpClient: HttpClient): CloneSectionSignature;
75
+ interface CloneSectionSignature {
76
+ /**
77
+ * Clones section with specified id
78
+ * @param - Section to clone
79
+ */
80
+ (sectionId: string, options?: CloneSectionOptions): Promise<NonNullablePaths<CloneSectionResponse, `section.programId` | `section.description.title` | `section.state` | `section.oldTotalSteps` | `section.trialSection` | `section.ordering` | `section.delayInDays`, 4>>;
81
+ }
82
+ declare function moveSection$1(httpClient: HttpClient): MoveSectionSignature;
83
+ interface MoveSectionSignature {
84
+ /**
85
+ * Places section after specified one or inserts it in the beginning
86
+ */
87
+ (options?: MoveSectionOptions): Promise<NonNullablePaths<MoveSectionResponse, `section.programId` | `section.description.title` | `section.state` | `section.oldTotalSteps` | `section.trialSection` | `section.ordering` | `section.delayInDays`, 4>>;
88
+ }
89
+ declare function publishSection$1(httpClient: HttpClient): PublishSectionSignature;
90
+ interface PublishSectionSignature {
91
+ /**
92
+ * Publishes section
93
+ */
94
+ (options?: PublishSectionOptions): Promise<NonNullablePaths<PublishSectionResponse, `section.programId` | `section.description.title` | `section.state` | `section.oldTotalSteps` | `section.trialSection` | `section.ordering` | `section.delayInDays`, 4>>;
95
+ }
96
+
97
+ declare const createSection: MaybeContext<BuildRESTFunction<typeof createSection$1> & typeof createSection$1>;
98
+ declare const bulkCreateSection: MaybeContext<BuildRESTFunction<typeof bulkCreateSection$1> & typeof bulkCreateSection$1>;
99
+ declare const bulkCreateSectionMigration: MaybeContext<BuildRESTFunction<typeof bulkCreateSectionMigration$1> & typeof bulkCreateSectionMigration$1>;
100
+ declare const getSection: MaybeContext<BuildRESTFunction<typeof getSection$1> & typeof getSection$1>;
101
+ declare const updateSection: MaybeContext<BuildRESTFunction<typeof updateSection$1> & typeof updateSection$1>;
102
+ declare const deleteSection: MaybeContext<BuildRESTFunction<typeof deleteSection$1> & typeof deleteSection$1>;
103
+ declare const querySections: MaybeContext<BuildRESTFunction<typeof querySections$1> & typeof querySections$1>;
104
+ declare const listSections: MaybeContext<BuildRESTFunction<typeof listSections$1> & typeof listSections$1>;
105
+ declare const cloneSection: MaybeContext<BuildRESTFunction<typeof cloneSection$1> & typeof cloneSection$1>;
106
+ declare const moveSection: MaybeContext<BuildRESTFunction<typeof moveSection$1> & typeof moveSection$1>;
107
+ declare const publishSection: MaybeContext<BuildRESTFunction<typeof publishSection$1> & typeof publishSection$1>;
108
+
109
+ export { BulkCreateSectionMigrationResponse, BulkCreateSectionOptions, BulkCreateSectionResponse, CloneSectionOptions, CloneSectionResponse, CreateSectionOptions, GetSectionOptions, ListSectionsOptions, ListSectionsResponse, MoveSectionOptions, MoveSectionResponse, PublishSectionOptions, PublishSectionResponse, QuerySectionsOptions, Section, SectionsQueryBuilder, UpdateSectionOptions, bulkCreateSection, bulkCreateSectionMigration, cloneSection, createSection, deleteSection, getSection, listSections, moveSection, publishSection, querySections, updateSection };