{"version":3,"sources":["../../src/online-programs-v3-step-steps.http.ts","../../src/online-programs-v3-step-steps.types.ts","../../src/online-programs-v3-step-steps.meta.ts"],"sourcesContent":["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\nconst TRANSFORM_PATHS_0 = [\n  { path: 'step.createdDate' },\n  { path: 'step.updatedDate' },\n  { path: 'step.videoOptions.video.urlExpirationDate' },\n  { path: 'step.videoOptions.video.resolutions.urlExpirationDate' },\n  { path: 'step.videoOptions.video.resolutions.poster.urlExpirationDate' },\n  { path: 'step.videoOptions.video.posters.urlExpirationDate' },\n  { path: 'step.videoOptions.coverImage.urlExpirationDate' },\n  { path: 'step.description.image.urlExpirationDate' },\n  { path: 'step.description.video.urlExpirationDate' },\n  { path: 'step.description.video.resolutions.urlExpirationDate' },\n  { path: 'step.description.video.resolutions.poster.urlExpirationDate' },\n  { path: 'step.description.video.posters.urlExpirationDate' },\n];\nconst TRANSFORM_PATHS_1 = [\n  { path: 'step.ordering' },\n  { path: 'step.videoOptions.requiredCompletionPercentage' },\n  { path: 'step.videoOptions.video.resolutions.poster.focalPoint.x' },\n  { path: 'step.videoOptions.video.resolutions.poster.focalPoint.y' },\n  { path: 'step.videoOptions.video.posters.focalPoint.x' },\n  { path: 'step.videoOptions.video.posters.focalPoint.y' },\n  { path: 'step.videoOptions.coverImage.focalPoint.x' },\n  { path: 'step.videoOptions.coverImage.focalPoint.y' },\n  { path: 'step.description.image.focalPoint.x' },\n  { path: 'step.description.image.focalPoint.y' },\n  { path: 'step.description.video.resolutions.poster.focalPoint.x' },\n  { path: 'step.description.video.resolutions.poster.focalPoint.y' },\n  { path: 'step.description.video.posters.focalPoint.x' },\n  { path: 'step.description.video.posters.focalPoint.y' },\n  { path: 'step.quizOptions.passingGrade' },\n];\nconst TRANSFORM_PATHS_2 = [\n  { path: 'steps.createdDate' },\n  { path: 'steps.updatedDate' },\n  { path: 'steps.videoOptions.video.urlExpirationDate' },\n  { path: 'steps.videoOptions.video.resolutions.urlExpirationDate' },\n  { path: 'steps.videoOptions.video.resolutions.poster.urlExpirationDate' },\n  { path: 'steps.videoOptions.video.posters.urlExpirationDate' },\n  { path: 'steps.videoOptions.coverImage.urlExpirationDate' },\n  { path: 'steps.description.image.urlExpirationDate' },\n  { path: 'steps.description.video.urlExpirationDate' },\n  { path: 'steps.description.video.resolutions.urlExpirationDate' },\n  { path: 'steps.description.video.resolutions.poster.urlExpirationDate' },\n  { path: 'steps.description.video.posters.urlExpirationDate' },\n];\nconst TRANSFORM_PATHS_3 = [\n  { path: 'steps.ordering' },\n  { path: 'steps.videoOptions.requiredCompletionPercentage' },\n  { path: 'steps.videoOptions.video.resolutions.poster.focalPoint.x' },\n  { path: 'steps.videoOptions.video.resolutions.poster.focalPoint.y' },\n  { path: 'steps.videoOptions.video.posters.focalPoint.x' },\n  { path: 'steps.videoOptions.video.posters.focalPoint.y' },\n  { path: 'steps.videoOptions.coverImage.focalPoint.x' },\n  { path: 'steps.videoOptions.coverImage.focalPoint.y' },\n  { path: 'steps.description.image.focalPoint.x' },\n  { path: 'steps.description.image.focalPoint.y' },\n  { path: 'steps.description.video.resolutions.poster.focalPoint.x' },\n  { path: 'steps.description.video.resolutions.poster.focalPoint.y' },\n  { path: 'steps.description.video.posters.focalPoint.x' },\n  { path: 'steps.description.video.posters.focalPoint.y' },\n  { path: 'steps.quizOptions.passingGrade' },\n];\nconst TRANSFORM_PATHS_4 = [\n  { path: 'results.item.createdDate' },\n  { path: 'results.item.updatedDate' },\n  { path: 'results.item.videoOptions.video.urlExpirationDate' },\n  { path: 'results.item.videoOptions.video.resolutions.urlExpirationDate' },\n  {\n    path: 'results.item.videoOptions.video.resolutions.poster.urlExpirationDate',\n  },\n  { path: 'results.item.videoOptions.video.posters.urlExpirationDate' },\n  { path: 'results.item.videoOptions.coverImage.urlExpirationDate' },\n  { path: 'results.item.description.image.urlExpirationDate' },\n  { path: 'results.item.description.video.urlExpirationDate' },\n  { path: 'results.item.description.video.resolutions.urlExpirationDate' },\n  {\n    path: 'results.item.description.video.resolutions.poster.urlExpirationDate',\n  },\n  { path: 'results.item.description.video.posters.urlExpirationDate' },\n];\nconst TRANSFORM_PATHS_5 = [\n  { path: 'results.item.ordering' },\n  { path: 'results.item.videoOptions.requiredCompletionPercentage' },\n  { path: 'results.item.videoOptions.video.resolutions.poster.focalPoint.x' },\n  { path: 'results.item.videoOptions.video.resolutions.poster.focalPoint.y' },\n  { path: 'results.item.videoOptions.video.posters.focalPoint.x' },\n  { path: 'results.item.videoOptions.video.posters.focalPoint.y' },\n  { path: 'results.item.videoOptions.coverImage.focalPoint.x' },\n  { path: 'results.item.videoOptions.coverImage.focalPoint.y' },\n  { path: 'results.item.description.image.focalPoint.x' },\n  { path: 'results.item.description.image.focalPoint.y' },\n  { path: 'results.item.description.video.resolutions.poster.focalPoint.x' },\n  { path: 'results.item.description.video.resolutions.poster.focalPoint.y' },\n  { path: 'results.item.description.video.posters.focalPoint.x' },\n  { path: 'results.item.description.video.posters.focalPoint.y' },\n  { path: 'results.item.quizOptions.passingGrade' },\n];\nconst TRANSFORM_PATHS_6 = [{ path: 'fieldMask' }];\nconst TRANSFORM_PATHS_7 = [{ path: 'steps.fieldMask' }];\nconst TRANSFORM_PATHS_8 = [\n  { path: 'steps.step.createdDate' },\n  { path: 'steps.step.updatedDate' },\n  { path: 'steps.step.videoOptions.video.urlExpirationDate' },\n  { path: 'steps.step.videoOptions.video.resolutions.urlExpirationDate' },\n  {\n    path: 'steps.step.videoOptions.video.resolutions.poster.urlExpirationDate',\n  },\n  { path: 'steps.step.videoOptions.video.posters.urlExpirationDate' },\n  { path: 'steps.step.videoOptions.coverImage.urlExpirationDate' },\n  { path: 'steps.step.description.image.urlExpirationDate' },\n  { path: 'steps.step.description.video.urlExpirationDate' },\n  { path: 'steps.step.description.video.resolutions.urlExpirationDate' },\n  { path: 'steps.step.description.video.resolutions.poster.urlExpirationDate' },\n  { path: 'steps.step.description.video.posters.urlExpirationDate' },\n];\nconst TRANSFORM_PATHS_9 = [\n  { path: 'steps.step.ordering' },\n  { path: 'steps.step.videoOptions.requiredCompletionPercentage' },\n  { path: 'steps.step.videoOptions.video.resolutions.poster.focalPoint.x' },\n  { path: 'steps.step.videoOptions.video.resolutions.poster.focalPoint.y' },\n  { path: 'steps.step.videoOptions.video.posters.focalPoint.x' },\n  { path: 'steps.step.videoOptions.video.posters.focalPoint.y' },\n  { path: 'steps.step.videoOptions.coverImage.focalPoint.x' },\n  { path: 'steps.step.videoOptions.coverImage.focalPoint.y' },\n  { path: 'steps.step.description.image.focalPoint.x' },\n  { path: 'steps.step.description.image.focalPoint.y' },\n  { path: 'steps.step.description.video.resolutions.poster.focalPoint.x' },\n  { path: 'steps.step.description.video.resolutions.poster.focalPoint.y' },\n  { path: 'steps.step.description.video.posters.focalPoint.x' },\n  { path: 'steps.step.description.video.posters.focalPoint.y' },\n  { path: 'steps.step.quizOptions.passingGrade' },\n];\nconst TRANSFORM_PATHS_10 = [\n  { path: 'query.sort.origin.latitude' },\n  { path: 'query.sort.origin.longitude' },\n];\n\nfunction resolveWixOnlineprogramsStepsV3StepsServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'bo._base_domain_': [\n      {\n        srcPath: '/program-steps-service',\n        destPath: '',\n      },\n    ],\n    'wixbo.ai': [\n      {\n        srcPath: '/program-steps-service',\n        destPath: '',\n      },\n    ],\n    'wix-bo.com': [\n      {\n        srcPath: '/program-steps-service',\n        destPath: '',\n      },\n    ],\n    'api._api_base_domain_': [\n      {\n        srcPath: '/program-steps-service',\n        destPath: '',\n      },\n    ],\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/program-steps-service',\n        destPath: '',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/program-steps-service',\n        destPath: '',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/program-steps-service',\n        destPath: '',\n      },\n      {\n        srcPath: '/program-steps-service',\n        destPath: '',\n      },\n      {\n        srcPath: '/online-programs/v3/steps',\n        destPath: '/v3/steps',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/program-steps-service',\n        destPath: '',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/program-steps-service',\n        destPath: '',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/program-steps-service',\n        destPath: '',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/program-steps-service',\n        destPath: '',\n      },\n    ],\n    'editor.wixapps.net': [\n      {\n        srcPath: '/program-steps-service',\n        destPath: '',\n      },\n      {\n        srcPath: '/_api/program-steps-service',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/online-programs/v3/steps',\n        destPath: '/v3/steps',\n      },\n      {\n        srcPath: '/online-programs/v3/bulk/steps',\n        destPath: '/v3/bulk/steps',\n      },\n      {\n        srcPath: '/program-steps-service/v3/steps',\n        destPath: '/v3/steps',\n      },\n      {\n        srcPath: '/program-steps-service/v3/bulk/steps',\n        destPath: '/v3/bulk/steps',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_online-programs_steps';\n\n/**\n * Creates a step.\n *\n * Specify the parent section in `step.sectionId`.\n * The service derives the parent program automatically.\n * To create a quiz step, create or clone the quiz separately, then specify its ID in `step.quizOptions.id`.\n *\n * To create multiple steps in a single API call, call [BulkCreateSteps](https://dev.wix.com/docs/api-reference/business-management/online-programs/steps/bulk-create-steps).\n */\nexport function createStep(payload: object): RequestOptionsFactory<any> {\n  function __createStep({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: TRANSFORM_PATHS_0,\n      },\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: TRANSFORM_PATHS_1,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.online_programs.v3.step',\n      method: 'POST' as any,\n      methodFqn: 'wix.onlineprograms.steps.v3.StepsService.CreateStep',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixOnlineprogramsStepsV3StepsServiceUrl({\n        protoPath: '/v3/steps',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_0,\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: TRANSFORM_PATHS_1,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __createStep;\n}\n\n/**\n * Creates up to 100 steps in a single API call.\n *\n * Specify the parent section in each step's `sectionId`.\n * The service derives the parent program automatically.\n * To create quiz steps, create or clone the quizzes separately, then specify their IDs in each step's `quizOptions.id`.\n *\n * This is the preferred bulk-create method.\n * To create a single step, call [CreateStep](https://dev.wix.com/docs/api-reference/business-management/online-programs/steps/create-step).\n */\nexport function bulkCreateSteps(payload: object): RequestOptionsFactory<any> {\n  function __bulkCreateSteps({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: TRANSFORM_PATHS_2,\n      },\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: TRANSFORM_PATHS_3,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.online_programs.v3.step',\n      method: 'POST' as any,\n      methodFqn: 'wix.onlineprograms.steps.v3.StepsService.BulkCreateSteps',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixOnlineprogramsStepsV3StepsServiceUrl({\n        protoPath: '/v3/bulk/steps/create',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_4,\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: TRANSFORM_PATHS_5,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkCreateSteps;\n}\n\n/**\n * Retrieves a step.\n *\n * Use `descriptionFieldSet` to control how much description content to return.\n * Some returned fields depend on the caller's permissions.\n */\nexport function getStep(payload: object): RequestOptionsFactory<any> {\n  function __getStep({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.online_programs.v3.step',\n      method: 'GET' as any,\n      methodFqn: 'wix.onlineprograms.steps.v3.StepsService.GetStep',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixOnlineprogramsStepsV3StepsServiceUrl({\n        protoPath: '/v3/steps/{stepId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_0,\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: TRANSFORM_PATHS_1,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getStep;\n}\n\n/**\n * Updates a step.\n *\n * Each time the step is updated, `revision` increments by 1. The current `revision` must be passed when updating the step. This ensures you're working with the latest step and prevents unintended overwrites.\n *\n * Use this method to update step content and quiz settings.\n * To move a step within a section or to another section, call [MoveStep](https://dev.wix.com/docs/api-reference/business-management/online-programs/steps/move-step) instead of updating `step.sectionId`.\n * To attach a quiz to the step, create or clone the quiz separately, then specify its ID in `step.quizOptions.id`.\n *\n * To update multiple steps in a single API call, call [BulkUpdateSteps](https://dev.wix.com/docs/api-reference/business-management/online-programs/steps/bulk-update-steps).\n */\nexport function updateStep(payload: object): RequestOptionsFactory<any> {\n  function __updateStep({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: TRANSFORM_PATHS_6,\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: TRANSFORM_PATHS_0,\n      },\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: TRANSFORM_PATHS_1,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.online_programs.v3.step',\n      method: 'PATCH' as any,\n      methodFqn: 'wix.onlineprograms.steps.v3.StepsService.UpdateStep',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixOnlineprogramsStepsV3StepsServiceUrl({\n        protoPath: '/v3/steps/{step.id}',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_0,\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: TRANSFORM_PATHS_1,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateStep;\n}\n\n/**\n * Updates up to 100 steps in a single API call.\n *\n * Each time a step is updated, `revision` increments by 1. The current `revision` must be passed when updating the step. This ensures you're working with the latest step and prevents unintended overwrites.\n *\n * Use this method for content updates across multiple steps. Each `steps.step.revision` must be the current revision.\n * A partial step may omit `sectionId` and `programId`; the service resolves those values from the existing step.\n * If a requested `steps.step.id` does not identify an existing step, its result is returned as a failed item.\n * To move a step within a section or to another section, call [MoveStep](https://dev.wix.com/docs/api-reference/business-management/online-programs/steps/move-step).\n *\n * To update a single step, call [UpdateStep](https://dev.wix.com/docs/api-reference/business-management/online-programs/steps/update-step).\n */\nexport function bulkUpdateSteps(payload: object): RequestOptionsFactory<any> {\n  function __bulkUpdateSteps({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: TRANSFORM_PATHS_7,\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: TRANSFORM_PATHS_8,\n      },\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: TRANSFORM_PATHS_9,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.online_programs.v3.step',\n      method: 'POST' as any,\n      methodFqn: 'wix.onlineprograms.steps.v3.StepsService.BulkUpdateSteps',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixOnlineprogramsStepsV3StepsServiceUrl({\n        protoPath: '/v3/bulk/steps/update',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_4,\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: TRANSFORM_PATHS_5,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpdateSteps;\n}\n\n/**\n * Deletes a step from active program content.\n *\n * The public API doesn't provide a restore flow for deleted steps.\n *\n * If the deleted step is the last step that references a quiz, the quiz is also deleted.\n */\nexport function deleteStep(payload: object): RequestOptionsFactory<any> {\n  function __deleteStep({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.online_programs.v3.step',\n      method: 'DELETE' as any,\n      methodFqn: 'wix.onlineprograms.steps.v3.StepsService.DeleteStep',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixOnlineprogramsStepsV3StepsServiceUrl({\n        protoPath: '/v3/steps/{stepId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __deleteStep;\n}\n\n/**\n * Retrieves a list of steps, given the provided paging, filtering, and sorting.\n *\n * Query Steps runs with these defaults, which you can override:\n *\n * - `createdDate` is sorted in `DESC` order.\n * - `paging.offset` is `0`.\n *\n * For predictable response sizes, we recommend setting `paging.limit` up to `100`.\n *\n * If your app is already scoped to a specific program, pass `programId` in addition to the query filters. `programId` adds program context to the request and doesn't replace section-based filtering in `query`.\n * Supported sorting fields are `createdDate`, `id`, `programId`, and `ordering`. When sorting by `ordering`, also filter by `sectionId`.\n * Use `descriptionFieldSet` to control how much description content to return.\n * Some returned fields depend on the caller's permissions.\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 querySteps(payload: object): RequestOptionsFactory<any> {\n  function __querySteps({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: TRANSFORM_PATHS_10,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.online_programs.v3.step',\n      method: 'POST' as any,\n      methodFqn: 'wix.onlineprograms.steps.v3.StepsService.QuerySteps',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixOnlineprogramsStepsV3StepsServiceUrl({\n        protoPath: '/v3/steps/query',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_2,\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: TRANSFORM_PATHS_3,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __querySteps;\n}\n\n/**\n * Moves a step within a section or to a different section.\n *\n * Each time the step is updated, `revision` increments by 1. Pass the current `revision` when possible to protect against conflicting updates.\n *\n * If `afterStepId` isn't specified, the step is moved to the beginning of the target section.\n * The step's ordering is recalculated automatically.\n */\nexport function moveStep(payload: object): RequestOptionsFactory<any> {\n  function __moveStep({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.online_programs.v3.step',\n      method: 'PATCH' as any,\n      methodFqn: 'wix.onlineprograms.steps.v3.StepsService.MoveStep',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixOnlineprogramsStepsV3StepsServiceUrl({\n        protoPath: '/v3/steps/{stepId}/move',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_0,\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: TRANSFORM_PATHS_1,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __moveStep;\n}\n\n/**\n * Clones a step.\n *\n * The cloned step is added to the same section as the original step.\n * If the original step is linked to a quiz, the quiz is cloned and the cloned step references the new quiz.\n */\nexport function cloneStep(payload: object): RequestOptionsFactory<any> {\n  function __cloneStep({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.online_programs.v3.step',\n      method: 'POST' as any,\n      methodFqn: 'wix.onlineprograms.steps.v3.StepsService.CloneStep',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixOnlineprogramsStepsV3StepsServiceUrl({\n        protoPath: '/v3/steps/{stepId}/clone',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_0,\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: TRANSFORM_PATHS_1,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __cloneStep;\n}\n","/**\n * A step represents a piece of program content within a section.\n * A step can contain article, video, or quiz content.\n */\nexport interface Step extends StepStepTypeOptionsOneOf {\n  /** Video-specific settings. */\n  videoOptions?: VideoOptions;\n  /** Quiz-specific settings. */\n  quizOptions?: QuizOptions;\n  /**\n   * Step ID.\n   * @format GUID\n   * @readonly\n   */\n  id?: string | null;\n  /**\n   * Revision number, which increments by 1 each time the step is updated. To prevent conflicting changes, the current `revision` must be passed when updating the step.\n   * @readonly\n   */\n  revision?: string | null;\n  /**\n   * Date and time the step was created.\n   * @readonly\n   */\n  createdDate?: Date | null;\n  /**\n   * Date and time the step was updated.\n   * @readonly\n   */\n  updatedDate?: Date | null;\n  /**\n   * Parent section ID. To move a step within a section or to another section, call `MoveStep`.\n   * @format GUID\n   * @readonly\n   */\n  sectionId?: string;\n  /** Step title, rich text content, and optional media. */\n  description?: Description;\n  /** Step position within the section. */\n  ordering?: number;\n  /** Type of content in the step. */\n  stepType?: StepTypeWithLiterals;\n  /** Custom field data for the step object. */\n  extendedFields?: ExtendedFields;\n  /**\n   * Program ID.\n   * @format GUID\n   * @readonly\n   */\n  programId?: string;\n  /**\n   * Whether this step is before the enabled program's paywall divider. Returned only\n   * when PREVIEW_AVAILABLE is requested. This classification does not grant content access.\n   * NOT-PRECEDENT: Unlike AIP-7001's event recommendation, this cross-service read-time\n   * classification is omitted from events; it is not persisted Step state.\n   * @internal\n   * @readonly\n   */\n  previewAvailable?: boolean | null;\n}\n\n/** @oneof */\nexport interface StepStepTypeOptionsOneOf {\n  /** Video-specific settings. */\n  videoOptions?: VideoOptions;\n  /** Quiz-specific settings. */\n  quizOptions?: QuizOptions;\n}\n\n/** Video details for videos hosted in Wix Video. */\nexport interface WixVideo {\n  /**\n   * Wix Video ID.\n   * @format GUID\n   */\n  id?: string;\n  /** Whether the Wix Video is paid content. */\n  paid?: boolean;\n}\n\nexport interface VideoV2 {\n  /** WixMedia ID. */\n  id?: string;\n  /**\n   * Original video URL.\n   * @internal\n   */\n  url?: string;\n  /**\n   * Available resolutions for the video, starting with the optimal resolution.\n   * @readonly\n   * @maxSize 100\n   */\n  resolutions?: VideoResolution[];\n  /**\n   * Video filename.\n   * @readonly\n   */\n  filename?: string | null;\n  /**\n   * Video posters.\n   * @internal\n   * @readonly\n   */\n  posters?: Image[];\n  /**\n   * Original video size in bytes.\n   * @internal\n   * @readonly\n   * @format DECIMAL_VALUE\n   */\n  sizeInBytes?: string | null;\n  /**\n   * Video URL expiration date (when relevant).\n   * @internal\n   * @readonly\n   */\n  urlExpirationDate?: Date | null;\n  /**\n   * Original video duration in milliseconds.\n   * @internal\n   * @readonly\n   */\n  durationInMilliseconds?: number | null;\n  /**\n   * A short title for the video. will be used for SEO purposes.\n   * @internal\n   * @maxLength 300\n   */\n  title?: string | null;\n  /**\n   * A long description for the video. will be used for SEO purposes.\n   * @internal\n   * @maxLength 2000\n   */\n  description?: string | null;\n  /**\n   * Original video height.\n   * @internal\n   * @readonly\n   */\n  height?: number | null;\n  /**\n   * Original video width.\n   * @internal\n   * @readonly\n   */\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  /**\n   * Deprecated. Use the `posters` property in the parent entity instead.\n   * @internal\n   * @deprecated\n   */\n  poster?: Image;\n  /** Video format for example, mp4, hls. */\n  format?: string;\n  /**\n   * Deprecated. Use the `urlExpirationDate` property in the parent entity instead.\n   * @internal\n   * @deprecated\n   */\n  urlExpirationDate?: Date | null;\n  /**\n   * Deprecated. Use the `sizeInBytes` property in the parent entity instead. Size cannot be provided per resolution.\n   * @internal\n   * @format DECIMAL_VALUE\n   * @deprecated\n   */\n  sizeInBytes?: string | null;\n  /**\n   * Video quality. For example: 480p, 720p.\n   * @internal\n   */\n  quality?: string | null;\n  /**\n   * Video filename.\n   * @internal\n   */\n  filename?: string | null;\n  /**\n   * Video duration in seconds.\n   * @internal\n   * @readonly\n   * @deprecated Video duration in seconds.\n   * @replacedBy duration_in_milliseconds\n   * @targetRemovalDate 2024-08-01\n   */\n  durationInSeconds?: number | null;\n  /**\n   * Video duration in milliseconds.\n   * @internal\n   * @readonly\n   */\n  durationInMilliseconds?: number | null;\n  /**\n   * When true, this is a protected asset, and calling the URL will return a 403 error.\n   * In order to access private assets, make a request to:\n   * `GenerateFileDownloadUrl` with the WixMedia id and specify the asset_key in the request\n   * @internal\n   * @readonly\n   */\n  private?: boolean | null;\n  /**\n   * Key to identify the video resolution's relationship to the original media in WixMedia.\n   * Can be used to request a download for the specific video resolution.\n   * For example: 480p.mp4, 720p.mp4, 1080p.mp4, trailer-720p.mp4, clip-720p.mp4\n   * @internal\n   * @readonly\n   */\n  assetKey?: string | null;\n}\n\nexport interface Image {\n  /** WixMedia image ID. */\n  id?: string;\n  /** Image URL. */\n  url?: string;\n  /**\n   * Original image height.\n   * @readonly\n   */\n  height?: number;\n  /**\n   * Original image width.\n   * @readonly\n   */\n  width?: number;\n  /** Image alt text. */\n  altText?: string | null;\n  /**\n   * Image URL expiration date (when relevant).\n   * @internal\n   * @readonly\n   */\n  urlExpirationDate?: Date | null;\n  /**\n   * Image filename.\n   * @readonly\n   */\n  filename?: string | null;\n  /**\n   * Image size in bytes.\n   * @internal\n   * @readonly\n   * @format DECIMAL_VALUE\n   */\n  sizeInBytes?: string | null;\n  /**\n   * Focal point of the image.\n   * @internal\n   */\n  focalPoint?: FocalPoint;\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 Description extends DescriptionMediaOneOf {\n  /**\n   * @internal\n   * @deprecated\n   * @replacedBy description.details\n   * @targetRemovalDate 2026-12-01\n   */\n  image?: Image;\n  /**\n   * @internal\n   * @deprecated\n   * @replacedBy description.details\n   * @targetRemovalDate 2026-12-01\n   */\n  video?: VideoV2;\n  /** @maxLength 250 */\n  title?: string;\n  /** @maxLength 1000000 */\n  details?: string | null;\n}\n\n/** @oneof */\nexport interface DescriptionMediaOneOf {\n  /**\n   * @internal\n   * @deprecated\n   * @replacedBy description.details\n   * @targetRemovalDate 2026-12-01\n   */\n  image?: Image;\n  /**\n   * @internal\n   * @deprecated\n   * @replacedBy description.details\n   * @targetRemovalDate 2026-12-01\n   */\n  video?: VideoV2;\n}\n\nexport enum StepType {\n  /** Text-based step. */\n  ARTICLE = 'ARTICLE',\n  /** Step with video content. */\n  VIDEO = 'VIDEO',\n  /** Step linked to a quiz. */\n  QUIZ = 'QUIZ',\n}\n\n/** @enumType */\nexport type StepTypeWithLiterals = StepType | 'ARTICLE' | 'VIDEO' | 'QUIZ';\n\n/** Additional settings for video steps. */\nexport interface VideoOptions extends VideoOptionsVideoSourceOneOf {\n  /** Video from Wix Video. */\n  wixVideo?: WixVideo;\n  /** Video uploaded with Media Manager. */\n  video?: VideoV2;\n  /** Percentage of the video that must be watched to complete the step. */\n  requiredCompletionPercentage?: number;\n  /** Cover image for the video. */\n  coverImage?: Image;\n  /** Video duration in milliseconds. */\n  durationInMilliseconds?: number | null;\n  /** Whether the uploaded video was deleted from Media Manager. */\n  deleted?: boolean;\n}\n\n/** @oneof */\nexport interface VideoOptionsVideoSourceOneOf {\n  /** Video from Wix Video. */\n  wixVideo?: WixVideo;\n  /** Video uploaded with Media Manager. */\n  video?: VideoV2;\n}\n\n/** Additional settings for quiz steps. */\nexport interface QuizOptions {\n  /**\n   * Quiz ID. Provide it when creating a quiz step. After creation, the quiz reference can't be changed.\n   * @format GUID\n   * @readonly\n   * @immutable\n   */\n  id?: string;\n  /**\n   * Total number of questions in the quiz.\n   * @readonly\n   */\n  totalQuestions?: number;\n  /** Minimum percentage required to pass the quiz. */\n  passingGrade?: number | null;\n}\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 step moved webhook. */\nexport interface StepMoved {\n  /**\n   * Target section ID.\n   * @format GUID\n   */\n  sectionId?: string;\n  /**\n   * Moved step ID.\n   * @format GUID\n   */\n  stepId?: string;\n  /** New step position. */\n  newPosition?: number;\n  /**\n   * Program ID.\n   * @format GUID\n   */\n  programId?: string;\n  /**\n   * Previous section ID.\n   * @format GUID\n   */\n  prevSectionId?: string;\n}\n\nexport interface CreateStepRequest {\n  /** Step to create. */\n  step: Step;\n  /**\n   * @internal\n   * @format GUID\n   * @readonly\n   */\n  programId?: string;\n  /**\n   * Additional fields to return. Omit to preserve the standard response.\n   * @internal\n   * @maxSize 100\n   */\n  fields?: RequestedFieldsWithLiterals[];\n}\n\n/** Optional read-time fields. Unknown-only selections perform no classification. */\nexport enum RequestedFields {\n  /**\n   * Classify the step relative to its program's current paywall divider.\n   * @documentationMaturity preview\n   * @internal\n   */\n  PREVIEW_AVAILABLE = 'PREVIEW_AVAILABLE',\n}\n\n/** @enumType */\nexport type RequestedFieldsWithLiterals = RequestedFields;\n\nexport interface CreateStepResponse {\n  /** Created step. */\n  step?: Step;\n}\n\nexport interface BulkCreateStepsRequest {\n  /**\n   * Steps to create.\n   * @minSize 1\n   * @maxSize 100\n   */\n  steps: Step[];\n  /** Whether to return created steps in the response. */\n  returnEntity?: boolean;\n  /**\n   * @internal\n   * @format GUID\n   * @readonly\n   */\n  programId?: string;\n  /**\n   * Additional fields to return. Omit to preserve the standard response.\n   * @internal\n   * @maxSize 100\n   */\n  fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface BulkCreateStepsResponse {\n  /** Results for each processed step. */\n  results?: BulkStepResult[];\n  /** Metadata about the bulk action. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkStepResult {\n  /** Metadata for the processed step. */\n  itemMetadata?: ItemMetadata;\n  /** Processed step. Empty when `returnEntity` is `false`. */\n  item?: Step;\n  /** Bulk action performed for the step. */\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\n/**\n * NOT-PRECEDENT: AIP-7001 requests fields on all entity-returning methods.\n * This private/deprecated method intentionally does not offer preview classification.\n */\nexport interface BulkCreateStepRequest {\n  /**\n   * Steps to create.\n   * @minSize 1\n   * @maxSize 100\n   */\n  steps?: Step[];\n  /** Whether to return created steps in the response. */\n  returnEntity?: boolean;\n  /**\n   * @internal\n   * @format GUID\n   * @readonly\n   */\n  programId?: string;\n}\n\nexport interface BulkCreateStepResponse {\n  /** Results for each processed step. */\n  results?: BulkStepResult[];\n  /** Metadata about the bulk action. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\n/**\n * NOT-PRECEDENT: AIP-7001 requests fields on all entity-returning methods.\n * This private/deprecated method intentionally does not offer preview classification.\n */\nexport interface BulkCreateStepMigrationRequest {\n  /**\n   * List of steps you want to create\n   * @minSize 1\n   * @maxSize 100\n   */\n  steps?: Step[];\n  /**\n   * Program in which steps are to be created.\n   * @format GUID\n   */\n  programId?: string;\n}\n\nexport interface BulkCreateStepMigrationResponse {\n  /** Results of bulk action. */\n  results?: BulkStepResult[];\n  /** Metadata about whole bulk action. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface GetStepRequest {\n  /**\n   * Step ID.\n   * @format GUID\n   */\n  stepId: string;\n  /** Predefined set of description fields to return. */\n  descriptionFieldSet?: DescriptionFieldSetWithLiterals;\n  /**\n   * Additional fields to return. Omit to preserve the standard response.\n   * @internal\n   * @maxSize 100\n   */\n  fields?: RequestedFieldsWithLiterals[];\n}\n\nexport enum DescriptionFieldSet {\n  /** Returns the standard step description fields. */\n  STANDARD = 'STANDARD',\n  /** Returns additional step description fields when they're available to the caller. */\n  EXTENDED = 'EXTENDED',\n}\n\n/** @enumType */\nexport type DescriptionFieldSetWithLiterals =\n  | DescriptionFieldSet\n  | 'STANDARD'\n  | 'EXTENDED';\n\nexport interface GetStepResponse {\n  /** Retrieved step. */\n  step?: Step;\n}\n\nexport interface UpdateStepRequest {\n  /** Step to update. May be partial. */\n  step: Step;\n  /**\n   * Set of fields to update. Fields that aren't included in `fieldMask.paths` are ignored.\n   * @internal\n   */\n  fieldMask?: string[];\n  /**\n   * Additional fields to return. Omit to preserve the standard response.\n   * @internal\n   * @maxSize 100\n   */\n  fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface UpdateStepResponse {\n  /** Updated step. */\n  step?: Step;\n}\n\nexport interface BulkUpdateStepsRequest {\n  /**\n   * Steps to update. A missing `step.id` is returned as a failed item result.\n   * @minSize 1\n   * @maxSize 100\n   */\n  steps: MaskedStep[];\n  /** Whether to return updated steps in the response. */\n  returnEntity?: boolean;\n  /**\n   * Additional fields to return. Omit to preserve the standard response.\n   * @internal\n   * @maxSize 100\n   */\n  fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface MaskedStep {\n  /** Step to update. May be partial. */\n  step?: Step;\n  /** Explicit list of fields to update. */\n  fieldMask?: string[];\n}\n\nexport interface BulkUpdateStepsResponse {\n  /**\n   * @minSize 1\n   * @maxSize 100\n   */\n  results?: BulkUpdateStepResult[];\n  /** Metadata about the bulk action. */\n  bulkActionMetadata?: CommonBulkActionMetadata;\n}\n\nexport interface CommonItemMetadata {\n  /**\n   * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\n   * @format GUID\n   */\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 BulkUpdateStepResult {\n  /** Metadata for the processed step. */\n  itemMetadata?: CommonItemMetadata;\n  /** Updated step. Returned only when `returnEntity` is `true`. */\n  item?: Step;\n}\n\nexport interface CommonBulkActionMetadata {\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 DeleteStepRequest {\n  /**\n   * Step ID.\n   * @format GUID\n   */\n  stepId: string;\n}\n\nexport interface DeleteStepResponse {}\n\nexport interface QueryStepsRequest {\n  /** Query object. */\n  query?: CursorQuery;\n  /** Predefined set of description fields to return. */\n  descriptionFieldSet?: DescriptionFieldSetWithLiterals;\n  /**\n   * Program ID.\n   * @maxLength 36\n   */\n  programId?: string;\n  /**\n   * Additional fields to return. Omit to preserve the standard response.\n   * @internal\n   * @maxSize 100\n   */\n  fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n  cursorPaging?: CursorPaging;\n  /**\n   * Filter object in the following format:\n   * `\"filter\" : {\n   * \"fieldName1\": \"value1\",\n   * \"fieldName2\":{\"$operator\":\"value2\"}\n   * }`\n   * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n   */\n  filter?: Record<string, any> | null;\n  /**\n   * Sort object in the following format:\n   * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n   */\n  sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\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   * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by\n   * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.\n   *\n   * If multiple filters are provided, they are combined with AND operator.\n   *\n   * Example:\n   * Given we have document like {\"id\": \"1\", \"nestedField\": [{\"price\": 10, \"region\": \"EU\"}, {\"price\": 20, \"region\": \"US\"}]}\n   * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be\n   * { fieldName: \"nestedField.price\", \"select_items_by\": [{\"nestedField.region\": \"US\"}] }\n   * @internal\n   * @maxSize 10\n   */\n  selectItemsBy?: Record<string, any>[] | null;\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 500\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 QueryStepsResponse {\n  /** Retrieved steps. */\n  steps?: Step[];\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   * Total number of items matching the filter.\n   * Available only on the first page of *Search* results, not included in *Query* or *List* results.\n   * If the Search results span multiple pages, the value of `total` will exceed the number of items returned on the first page.\n   * @internal\n   */\n  total?: number | 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\n/**\n * NOT-PRECEDENT: AIP-7001 requests fields on all entity-returning methods.\n * This private/deprecated method intentionally does not offer preview classification.\n */\nexport interface QueryStepsWithoutPagingRequest {\n  /** WQL expression. Cursor paging is not supported in this endpoint. */\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 steps\n   * @maxLength 36\n   */\n  programId?: string;\n}\n\nexport interface QueryStepsWithoutPagingResponse {\n  /** List of Steps. */\n  steps?: Step[];\n}\n\nexport interface ListStepOrderingMetadataRequest {\n  /**\n   * Program whose Steps are listed. Authorization is checked on every page.\n   * @format GUID\n   */\n  programId?: string;\n  /**\n   * Optional Section filter. No matches returns an empty page, including for a foreign Section.\n   * @format GUID\n   */\n  sectionId?: string | null;\n  /**\n   * Cursor paging. The default limit is 100; the maximum is 500.\n   * Keep the Program and Section filters unchanged when following a cursor.\n   */\n  paging?: CursorPaging;\n}\n\nexport interface ListStepOrderingMetadataResponse {\n  /**\n   * Raw Step positions, without content or enrichment.\n   * @maxSize 500\n   */\n  steps?: StepOrderingMetadata[];\n  /** Cursors for traversing all matching Steps. */\n  pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface StepOrderingMetadata {\n  /**\n   * Step ID.\n   * @format GUID\n   */\n  stepId?: string;\n  /**\n   * Owning Program ID.\n   * @format GUID\n   */\n  programId?: string;\n  /**\n   * Containing Section ID.\n   * @format GUID\n   */\n  sectionId?: string;\n  /** Raw ordering value within the Section. Equal values are ordered by Step ID. */\n  ordering?: number;\n  /** Observed revision. It does not lock the Step or reserve the gap. */\n  revision?: string | null;\n}\n\nexport interface GetStepOrderingNeighborsRequest {\n  /**\n   * Program containing the requested gap.\n   * @format GUID\n   */\n  programId?: string;\n  /**\n   * Section containing the requested gap. Existence must be checked through Sections separately.\n   * @format GUID\n   */\n  sectionId?: string;\n  /** Requested insertion gap. */\n  placement?: PlacementWithLiterals;\n  /**\n   * Required for AFTER_STEP and forbidden for FIRST/LAST.\n   * @format GUID\n   */\n  afterStepId?: string | null;\n}\n\nexport enum Placement {\n  /** Before the first Step. */\n  FIRST = 'FIRST',\n  /** After the last Step. */\n  LAST = 'LAST',\n  /** After the anchor, including an equal-ranked successor when present. */\n  AFTER_STEP = 'AFTER_STEP',\n}\n\n/** @enumType */\nexport type PlacementWithLiterals = Placement | 'FIRST' | 'LAST' | 'AFTER_STEP';\n\nexport interface GetStepOrderingNeighborsResponse {\n  /** Anchor for AFTER_STEP, last Step for LAST, absent for FIRST or an empty container. */\n  leftNeighbor?: StepOrderingMetadata;\n  /**\n   * First Step for FIRST, immediate successor for AFTER_STEP, absent for LAST or at the end.\n   * Both neighbors are absent for an empty container; this does not prove that the Section exists.\n   */\n  rightNeighbor?: StepOrderingMetadata;\n}\n\n/**\n * NOT-PRECEDENT: AIP-7001 requests fields on all entity-returning methods.\n * This private/deprecated method intentionally does not offer preview classification.\n */\nexport interface ListAllProgramStepsRequest {\n  /**\n   * program id of requested steps\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\nexport interface ListAllProgramStepsResponse {\n  /** List of Steps. */\n  steps?: Step[];\n}\n\nexport interface DeleteAllProgramStepsRequest {\n  /**\n   * Program id to delete steps from\n   * @format GUID\n   */\n  programId?: string;\n}\n\nexport interface DeleteAllProgramStepsResponse {\n  /** Total count of steps in the program */\n  stepsTotal?: number;\n  /** Count of successfully deleted steps */\n  successfulCount?: number;\n  /** Count of steps that failed to be deleted */\n  failedCount?: number;\n}\n\nexport interface BulkCloneStepRequest {\n  /**\n   * id of program which was cloned\n   * @format GUID\n   */\n  prototypeProgramId?: string;\n  /**\n   * id of program which was cloned\n   * @format GUID\n   */\n  clonedProgramId?: string;\n  /** mapping of original to cloned section ids */\n  prototypeIdToClonedId?: Record<string, string>;\n}\n\nexport interface BulkCloneStepResponse {\n  /**\n   * ids of newly created steps\n   * @format GUID\n   * @maxSize 100\n   */\n  createdStepIds?: string[];\n}\n\nexport interface MoveStepRequest {\n  /**\n   * Step ID.\n   * @format GUID\n   */\n  stepId: string;\n  /**\n   * Target section ID.\n   * @format GUID\n   */\n  sectionId: string;\n  /**\n   * Step ID after which to place the moved step. Leave empty to move the step to the beginning of the target section.\n   * @format GUID\n   */\n  afterStepId?: string | null;\n  /** Current revision of the step. Pass it when available to protect against conflicting updates. */\n  revision?: string;\n  /**\n   * Selects the side only when a paywall divider splits the gap after after_step_id,\n   * or the beginning gap when that anchor is omitted. True inserts after the divider;\n   * false inserts before it. Otherwise either value uses the same content gap.\n   * Omit to retain existing placement behavior. Explicit use requires enabled Freemium\n   * and a current divider. Does not assert the resulting global free/paid side.\n   * @internal\n   */\n  afterPaywallDivider?: boolean | null;\n  /**\n   * Additional fields to return. Omit to preserve the standard response.\n   * @internal\n   * @maxSize 100\n   */\n  fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface MoveStepResponse {\n  /** Moved step. */\n  step?: Step;\n}\n\nexport interface CloneStepRequest {\n  /**\n   * Step ID.\n   * @format GUID\n   */\n  stepId: string;\n  /**\n   * Additional fields to return. Omit to preserve the standard response.\n   * @internal\n   * @maxSize 100\n   */\n  fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface CloneStepResponse {\n  /** Created step. */\n  step?: Step;\n}\n\n/**\n * NOT-PRECEDENT: AIP-7001 requests fields on all entity-returning methods.\n * This private/deprecated method intentionally does not offer preview classification.\n */\nexport interface RestoreStepFromTrashRequest {\n  /**\n   * step id to restore\n   * @format GUID\n   */\n  stepId?: string;\n}\n\nexport interface RestoreStepFromTrashResponse {\n  /** restored step */\n  step?: Step;\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  entityAsJson?: string;\n  /**\n   * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity\n   * @internal\n   */\n  triggeredByUndelete?: boolean | null;\n  /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n  restoreInfo?: RestoreInfo;\n  /**\n   * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n   * @internal\n   */\n  additionalMetadataAsJson?: string | null;\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  currentEntityAsJson?: string;\n  /**\n   * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard\n   * wont populate it / have any reference to it in the API.\n   * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,\n   * the developer should send only the new (current) entity.\n   * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big\n   * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.\n   * @internal\n   * @deprecated\n   */\n  previousEntityAsJson?: string | null;\n  /**\n   * Map of fully qualified field paths to their previous values for fields that changed.\n   * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)\n   * @internal\n   */\n  modifiedFields?: Record<string, any>;\n  /**\n   * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n   * @internal\n   */\n  additionalMetadataAsJson?: string | null;\n}\n\nexport interface EntityDeletedEvent {\n  /**\n   * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled\n   * @internal\n   */\n  movedToTrash?: boolean | null;\n  /** Entity that was deleted. */\n  deletedEntityAsJson?: string | null;\n  /**\n   * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n   * @internal\n   */\n  additionalMetadataAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n  bodyAsJson?: string;\n}\n\nexport interface Empty {}\n\nexport interface SearchIndexingNotification {\n  /** new state of indexing for the site specified in ms_id */\n  indexState?: StateWithLiterals;\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 State {\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 StateWithLiterals = State | 'Unknown' | 'Off' | '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","import * as ambassadorWixOnlineProgramsV3Step from './online-programs-v3-step-steps.http.js';\nimport * as ambassadorWixOnlineProgramsV3StepTypes from './online-programs-v3-step-steps.types.js';\nimport * as ambassadorWixOnlineProgramsV3StepUniversalTypes from './online-programs-v3-step-steps.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 createStep(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixOnlineProgramsV3StepUniversalTypes.CreateStepRequest,\n  ambassadorWixOnlineProgramsV3StepTypes.CreateStepRequest,\n  ambassadorWixOnlineProgramsV3StepUniversalTypes.CreateStepResponse,\n  ambassadorWixOnlineProgramsV3StepTypes.CreateStepResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixOnlineProgramsV3Step.createStep(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/steps',\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 bulkCreateSteps(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixOnlineProgramsV3StepUniversalTypes.BulkCreateStepsRequest,\n  ambassadorWixOnlineProgramsV3StepTypes.BulkCreateStepsRequest,\n  ambassadorWixOnlineProgramsV3StepUniversalTypes.BulkCreateStepsResponse,\n  ambassadorWixOnlineProgramsV3StepTypes.BulkCreateStepsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixOnlineProgramsV3Step.bulkCreateSteps(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/steps/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 getStep(): __PublicMethodMetaInfo<\n  'GET',\n  { stepId: string },\n  ambassadorWixOnlineProgramsV3StepUniversalTypes.GetStepRequest,\n  ambassadorWixOnlineProgramsV3StepTypes.GetStepRequest,\n  ambassadorWixOnlineProgramsV3StepUniversalTypes.GetStepResponse,\n  ambassadorWixOnlineProgramsV3StepTypes.GetStepResponse\n> {\n  const payload = { stepId: ':stepId' } as any;\n\n  const getRequestOptions = ambassadorWixOnlineProgramsV3Step.getStep(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/steps/{stepId}',\n    pathParams: { stepId: 'stepId' },\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 updateStep(): __PublicMethodMetaInfo<\n  'PATCH',\n  { stepId: string },\n  ambassadorWixOnlineProgramsV3StepUniversalTypes.UpdateStepRequest,\n  ambassadorWixOnlineProgramsV3StepTypes.UpdateStepRequest,\n  ambassadorWixOnlineProgramsV3StepUniversalTypes.UpdateStepResponse,\n  ambassadorWixOnlineProgramsV3StepTypes.UpdateStepResponse\n> {\n  const payload = { step: { id: ':stepId' } } as any;\n\n  const getRequestOptions =\n    ambassadorWixOnlineProgramsV3Step.updateStep(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/steps/{step.id}',\n    pathParams: { stepId: 'stepId' },\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 bulkUpdateSteps(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixOnlineProgramsV3StepUniversalTypes.BulkUpdateStepsRequest,\n  ambassadorWixOnlineProgramsV3StepTypes.BulkUpdateStepsRequest,\n  ambassadorWixOnlineProgramsV3StepUniversalTypes.BulkUpdateStepsResponse,\n  ambassadorWixOnlineProgramsV3StepTypes.BulkUpdateStepsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixOnlineProgramsV3Step.bulkUpdateSteps(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/steps/update',\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 deleteStep(): __PublicMethodMetaInfo<\n  'DELETE',\n  { stepId: string },\n  ambassadorWixOnlineProgramsV3StepUniversalTypes.DeleteStepRequest,\n  ambassadorWixOnlineProgramsV3StepTypes.DeleteStepRequest,\n  ambassadorWixOnlineProgramsV3StepUniversalTypes.DeleteStepResponse,\n  ambassadorWixOnlineProgramsV3StepTypes.DeleteStepResponse\n> {\n  const payload = { stepId: ':stepId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixOnlineProgramsV3Step.deleteStep(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/steps/{stepId}',\n    pathParams: { stepId: 'stepId' },\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 querySteps(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixOnlineProgramsV3StepUniversalTypes.QueryStepsRequest,\n  ambassadorWixOnlineProgramsV3StepTypes.QueryStepsRequest,\n  ambassadorWixOnlineProgramsV3StepUniversalTypes.QueryStepsResponse,\n  ambassadorWixOnlineProgramsV3StepTypes.QueryStepsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixOnlineProgramsV3Step.querySteps(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/steps/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 moveStep(): __PublicMethodMetaInfo<\n  'PATCH',\n  { stepId: string },\n  ambassadorWixOnlineProgramsV3StepUniversalTypes.MoveStepRequest,\n  ambassadorWixOnlineProgramsV3StepTypes.MoveStepRequest,\n  ambassadorWixOnlineProgramsV3StepUniversalTypes.MoveStepResponse,\n  ambassadorWixOnlineProgramsV3StepTypes.MoveStepResponse\n> {\n  const payload = { stepId: ':stepId' } as any;\n\n  const getRequestOptions = ambassadorWixOnlineProgramsV3Step.moveStep(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/steps/{stepId}/move',\n    pathParams: { stepId: 'stepId' },\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 cloneStep(): __PublicMethodMetaInfo<\n  'POST',\n  { stepId: string },\n  ambassadorWixOnlineProgramsV3StepUniversalTypes.CloneStepRequest,\n  ambassadorWixOnlineProgramsV3StepTypes.CloneStepRequest,\n  ambassadorWixOnlineProgramsV3StepUniversalTypes.CloneStepResponse,\n  ambassadorWixOnlineProgramsV3StepTypes.CloneStepResponse\n> {\n  const payload = { stepId: ':stepId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixOnlineProgramsV3Step.cloneStep(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/steps/{stepId}/clone',\n    pathParams: { stepId: 'stepId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport {\n  Step as StepOriginal,\n  StepStepTypeOptionsOneOf as StepStepTypeOptionsOneOfOriginal,\n  WixVideo as WixVideoOriginal,\n  VideoV2 as VideoV2Original,\n  VideoResolution as VideoResolutionOriginal,\n  Image as ImageOriginal,\n  FocalPoint as FocalPointOriginal,\n  Description as DescriptionOriginal,\n  DescriptionMediaOneOf as DescriptionMediaOneOfOriginal,\n  StepType as StepTypeOriginal,\n  StepTypeWithLiterals as StepTypeWithLiteralsOriginal,\n  VideoOptions as VideoOptionsOriginal,\n  VideoOptionsVideoSourceOneOf as VideoOptionsVideoSourceOneOfOriginal,\n  QuizOptions as QuizOptionsOriginal,\n  ExtendedFields as ExtendedFieldsOriginal,\n  UpdateDocumentsEvent as UpdateDocumentsEventOriginal,\n  UpdateDocumentsEventOperationOneOf as UpdateDocumentsEventOperationOneOfOriginal,\n  DocumentUpdateOperation as DocumentUpdateOperationOriginal,\n  IndexDocument as IndexDocumentOriginal,\n  DocumentPayload as DocumentPayloadOriginal,\n  DocumentImage as DocumentImageOriginal,\n  Enum as EnumOriginal,\n  EnumWithLiterals as EnumWithLiteralsOriginal,\n  DeleteByIdsOperation as DeleteByIdsOperationOriginal,\n  DeleteByFilterOperation as DeleteByFilterOperationOriginal,\n  UpdateByFilterOperation as UpdateByFilterOperationOriginal,\n  UpdateExistingOperation as UpdateExistingOperationOriginal,\n  StepMoved as StepMovedOriginal,\n  CreateStepRequest as CreateStepRequestOriginal,\n  RequestedFields as RequestedFieldsOriginal,\n  RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal,\n  CreateStepResponse as CreateStepResponseOriginal,\n  BulkCreateStepsRequest as BulkCreateStepsRequestOriginal,\n  BulkCreateStepsResponse as BulkCreateStepsResponseOriginal,\n  BulkStepResult as BulkStepResultOriginal,\n  ItemMetadata as ItemMetadataOriginal,\n  ApplicationError as ApplicationErrorOriginal,\n  BulkActionType as BulkActionTypeOriginal,\n  BulkActionTypeWithLiterals as BulkActionTypeWithLiteralsOriginal,\n  BulkActionMetadata as BulkActionMetadataOriginal,\n  BulkCreateStepRequest as BulkCreateStepRequestOriginal,\n  BulkCreateStepResponse as BulkCreateStepResponseOriginal,\n  BulkCreateStepMigrationRequest as BulkCreateStepMigrationRequestOriginal,\n  BulkCreateStepMigrationResponse as BulkCreateStepMigrationResponseOriginal,\n  GetStepRequest as GetStepRequestOriginal,\n  DescriptionFieldSet as DescriptionFieldSetOriginal,\n  DescriptionFieldSetWithLiterals as DescriptionFieldSetWithLiteralsOriginal,\n  GetStepResponse as GetStepResponseOriginal,\n  UpdateStepRequest as UpdateStepRequestOriginal,\n  UpdateStepResponse as UpdateStepResponseOriginal,\n  BulkUpdateStepsRequest as BulkUpdateStepsRequestOriginal,\n  MaskedStep as MaskedStepOriginal,\n  BulkUpdateStepsResponse as BulkUpdateStepsResponseOriginal,\n  CommonItemMetadata as CommonItemMetadataOriginal,\n  BulkUpdateStepResult as BulkUpdateStepResultOriginal,\n  CommonBulkActionMetadata as CommonBulkActionMetadataOriginal,\n  DeleteStepRequest as DeleteStepRequestOriginal,\n  DeleteStepResponse as DeleteStepResponseOriginal,\n  QueryStepsRequest as QueryStepsRequestOriginal,\n  CursorQuery as CursorQueryOriginal,\n  CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n  Sorting as SortingOriginal,\n  SortOrder as SortOrderOriginal,\n  SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n  AddressLocation as AddressLocationOriginal,\n  CursorPaging as CursorPagingOriginal,\n  QueryStepsResponse as QueryStepsResponseOriginal,\n  CursorPagingMetadata as CursorPagingMetadataOriginal,\n  Cursors as CursorsOriginal,\n  QueryStepsWithoutPagingRequest as QueryStepsWithoutPagingRequestOriginal,\n  QueryStepsWithoutPagingResponse as QueryStepsWithoutPagingResponseOriginal,\n  ListStepOrderingMetadataRequest as ListStepOrderingMetadataRequestOriginal,\n  ListStepOrderingMetadataResponse as ListStepOrderingMetadataResponseOriginal,\n  StepOrderingMetadata as StepOrderingMetadataOriginal,\n  GetStepOrderingNeighborsRequest as GetStepOrderingNeighborsRequestOriginal,\n  Placement as PlacementOriginal,\n  PlacementWithLiterals as PlacementWithLiteralsOriginal,\n  GetStepOrderingNeighborsResponse as GetStepOrderingNeighborsResponseOriginal,\n  ListAllProgramStepsRequest as ListAllProgramStepsRequestOriginal,\n  ListAllProgramStepsResponse as ListAllProgramStepsResponseOriginal,\n  DeleteAllProgramStepsRequest as DeleteAllProgramStepsRequestOriginal,\n  DeleteAllProgramStepsResponse as DeleteAllProgramStepsResponseOriginal,\n  BulkCloneStepRequest as BulkCloneStepRequestOriginal,\n  BulkCloneStepResponse as BulkCloneStepResponseOriginal,\n  MoveStepRequest as MoveStepRequestOriginal,\n  MoveStepResponse as MoveStepResponseOriginal,\n  CloneStepRequest as CloneStepRequestOriginal,\n  CloneStepResponse as CloneStepResponseOriginal,\n  RestoreStepFromTrashRequest as RestoreStepFromTrashRequestOriginal,\n  RestoreStepFromTrashResponse as RestoreStepFromTrashResponseOriginal,\n  DomainEvent as DomainEventOriginal,\n  DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n  EntityCreatedEvent as EntityCreatedEventOriginal,\n  RestoreInfo as RestoreInfoOriginal,\n  EntityUpdatedEvent as EntityUpdatedEventOriginal,\n  EntityDeletedEvent as EntityDeletedEventOriginal,\n  ActionEvent as ActionEventOriginal,\n  Empty as EmptyOriginal,\n  SearchIndexingNotification as SearchIndexingNotificationOriginal,\n  State as StateOriginal,\n  StateWithLiterals as StateWithLiteralsOriginal,\n  MessageEnvelope as MessageEnvelopeOriginal,\n  IdentificationData as IdentificationDataOriginal,\n  IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n  WebhookIdentityType as WebhookIdentityTypeOriginal,\n  WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n  AccountInfo as AccountInfoOriginal,\n} from './online-programs-v3-step-steps.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,oCAAoC;AAC7C,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kB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ACT;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,YAOd;AACA,QAAM,UAAU,EAAE,QAAQ,UAAU;AAEpC,QAAM,oBAAsD,SAAS,OAAO;AAE5E,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,EAAE,QAAQ,SAAS;AAAA,IAC/B,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,aAOd;AACA,QAAM,UAAU,EAAE,QAAQ,UAAU;AAEpC,QAAM,oBAC8B,UAAU,OAAO;AAErD,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,EAAE,QAAQ,SAAS;AAAA,IAC/B,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","StepType","Enum","RequestedFields","BulkActionType","DescriptionFieldSet","SortOrder","Placement","State","WebhookIdentityType","createStep","bulkCreateSteps","getStep","updateStep","bulkUpdateSteps","deleteStep","querySteps","moveStep","cloneStep"]}