{"version":3,"sources":["../../src/data-sync-v1-jobs-data-sync-jobs.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const CreateScheduledDataWorkflowRequest = z.object({\n  scheduledDataWorkflow: z\n    .object({\n      _id: z\n        .string()\n        .describe('Scheduled data workflow ID.')\n        .regex(\n          /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n          'Must be a valid GUID'\n        ),\n      revision: z\n        .string()\n        .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n        .describe(\n          'Revision number that increments by 1 each time the scheduled data workflow updates.\\nTo prevent conflicting changes, pass the current revision when updating.\\n\\nIgnored when creating a scheduled data workflow.'\n        )\n        .optional()\n        .nullable(),\n      name: z\n        .string()\n        .describe('Scheduled data workflow name.')\n        .max(1024)\n        .optional(),\n      enabled: z\n        .boolean()\n        .describe(\n          \"Whether the scheduled data workflow is enabled for execution.\\n\\nWhen `true`, it runs according to the schedule defined by `cronExpression`. When `false`, it doesn't run.\"\n        )\n        .optional(),\n      cronExpression: z\n        .string()\n        .describe(\n          '[Cron expression](https://en.wikipedia.org/wiki/Cron#Cron_expression) defining when the scheduled data workflow should run.\\n\\nUses standard 5-field cron format (minute, hour, day of month, month, day of week) in [UTC](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). Supports using `H` for minute randomization. For example, `0 2 * * *` runs daily at 2\\\\:00 AM UTC, or `H 2 * * *` runs daily at 2\\\\:XX AM UTC where XX is a random minute.'\n        )\n        .max(200)\n        .optional(),\n      lastExecutionDate: z\n        .date()\n        .describe(\n          'Date and time when the scheduled data movement workflow was last run.'\n        )\n        .optional()\n        .nullable(),\n      nextExecutionDate: z\n        .date()\n        .describe(\n          'Date and time when the scheduled data movement workflow is scheduled to run next.\\n\\nCalculated based on the cron expression and current time. Returned only when the request includes `nextScheduleExecution` in the `fields` parameter.'\n        )\n        .optional()\n        .nullable(),\n      workflow: z\n        .object({\n          steps: z\n            .array(\n              z.intersection(\n                z.object({\n                  source: z\n                    .intersection(\n                      z.object({}),\n                      z.xor([\n                        z.object({\n                          wixDataCollection: z.never().optional(),\n                          localization: z.never().optional(),\n                          file: z.never().optional(),\n                        }),\n                        z.object({\n                          localization: z.never().optional(),\n                          file: z.never().optional(),\n                          wixDataCollection: z\n                            .object({\n                              collectionId: z\n                                .string()\n                                .describe('ID of the data collection.')\n                                .min(1)\n                                .max(256)\n                                .optional(),\n                              filter: z\n                                .record(z.string(), z.any())\n                                .describe(\n                                  'Filter to apply to the items. Only items that pass the filter are moved.\\n\\nLearn more about building a query filter using [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).'\n                                )\n                                .optional()\n                                .nullable(),\n                              fields: z.array(z.string()).optional(),\n                            })\n                            .describe(\n                              'Wix data collection.\\n\\nYou can move items from native Wix collections, [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code), and [external database collections](https://dev.wix.com/docs/develop-websites/articles/databases/external-databases/overview/integrating-external-databases-with-your-wix-site).'\n                            ),\n                        }),\n                        z.object({\n                          wixDataCollection: z.never().optional(),\n                          file: z.never().optional(),\n                          localization: z\n                            .object({\n                              languages: z\n                                .array(z.string())\n                                .min(2)\n                                .max(64)\n                                .optional(),\n                            })\n                            .describe(\n                              'Localized CMS content. Available when the site has [Wix Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) installed.\\n\\nLearn more about working with [translated CMS content](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content).'\n                            ),\n                        }),\n                        z.object({\n                          wixDataCollection: z.never().optional(),\n                          localization: z.never().optional(),\n                          file: z\n                            .object({\n                              format: z\n                                .enum(['UNKNOWN', 'CSV', 'JSONL'])\n                                .describe(\n                                  'File format. If not specified, automatically determined by Wix.'\n                                )\n                                .optional(),\n                              fileId: z\n                                .string()\n                                .describe(\n                                  \"File ID as returned in the `fileId` property of the Create File Upload URL method's response.\"\n                                )\n                                .max(512)\n                                .optional(),\n                              url: z\n                                .string()\n                                .describe(\n                                  'URL where the source file is uploaded. Automatically generated by Wix.'\n                                )\n                                .max(2048)\n                                .optional(),\n                            })\n                            .describe(\n                              'Source file.\\n\\nYou can import data from files in CSV or JSONL formats. Uploading a file with an invalid format causes the movement job to fail.\\n\\nTo upload a file, call Create File Upload Url ([SDK](https://dev.wix.com/docs/sdk/backend-modules/data/movement-jobs/create-file-upload-url) | [REST](https://dev.wix.com/docs/rest/business-solutions/cms/data-movement-jobs/create-file-upload-url)) and use the `uploadUrl` from the response. For example:\\n\\n`curl --request PUT --upload-file \"${path_to_file}\" \"${uploadUrl}\"`'\n                            ),\n                        }),\n                      ])\n                    )\n                    .describe('Source to read data from.')\n                    .optional(),\n                  destination: z\n                    .intersection(\n                      z.object({}),\n                      z.xor([\n                        z.object({\n                          wixDataCollection: z.never().optional(),\n                          localization: z.never().optional(),\n                          file: z.never().optional(),\n                        }),\n                        z.object({\n                          localization: z.never().optional(),\n                          file: z.never().optional(),\n                          wixDataCollection: z\n                            .object({\n                              collectionId: z\n                                .string()\n                                .describe('ID of the destination collection.')\n                                .max(256)\n                                .optional(),\n                              writePolicy: z\n                                .enum([\n                                  'OVERWRITE',\n                                  'SKIP_EXISTING',\n                                  'TRUNCATE_BEFORE',\n                                ])\n                                .describe(\n                                  'When items already exist in the destination collection, the data writing policy.\\n\\nDefault: `OVERWRITE`.'\n                                )\n                                .optional(),\n                            })\n                            .describe(\n                              'Wix data collection.\\n\\nYou can move items to native Wix collections, [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code), and [external database collections](https://dev.wix.com/docs/develop-websites/articles/databases/external-databases/overview/integrating-external-databases-with-your-wix-site).'\n                            ),\n                        }),\n                        z.object({\n                          wixDataCollection: z.never().optional(),\n                          file: z.never().optional(),\n                          localization: z\n                            .object({\n                              languages: z\n                                .array(z.string())\n                                .min(2)\n                                .max(64)\n                                .optional(),\n                            })\n                            .describe(\n                              'Localized CMS content. Available when the site has [Wix Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) installed.\\n\\nLearn more about working with [translated CMS content](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content).'\n                            ),\n                        }),\n                        z.object({\n                          wixDataCollection: z.never().optional(),\n                          localization: z.never().optional(),\n                          file: z\n                            .object({\n                              format: z\n                                .enum(['UNKNOWN', 'CSV', 'JSONL'])\n                                .describe('File format.')\n                                .optional(),\n                              fileName: z\n                                .string()\n                                .describe('File name.')\n                                .max(512)\n                                .optional()\n                                .nullable(),\n                              url: z\n                                .string()\n                                .describe('File download URL.')\n                                .max(2048)\n                                .optional(),\n                            })\n                            .describe(\n                              'Downloadable file with the moved items.'\n                            ),\n                        }),\n                      ])\n                    )\n                    .describe('Destination to write data to.')\n                    .optional(),\n                }),\n                z.xor([\n                  z.object({\n                    sourceSiteId: z.never().optional(),\n                    destinationSiteId: z.never().optional(),\n                  }),\n                  z.object({\n                    destinationSiteId: z.never().optional(),\n                    sourceSiteId: z\n                      .string()\n                      .describe(\n                        'When moving data from the Wix data collection of a site other than the current site, the ID of the site to read from.\\n\\nBy default, the `source` site is the current site. However, you can move data from any site in the same [Wix Account](https://support.wix.com/en/article/managing-multiple-sites-under-one-account).\\n\\n> **Note**: You can specify the ID of a `source` site or a `destination` site other than the current site, but not both.'\n                      )\n                      .regex(\n                        /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n                        'Must be a valid GUID'\n                      ),\n                  }),\n                  z.object({\n                    sourceSiteId: z.never().optional(),\n                    destinationSiteId: z\n                      .string()\n                      .describe(\n                        'When moving data to the Wix data collection of a site other than the current site, the ID of the site to write to.\\n\\nBy default, the `destination` site is the current site. However, you can move data to any site in the same [Wix Account](https://support.wix.com/en/article/managing-multiple-sites-under-one-account).\\n\\n> **Note**: You can specify the ID of a `destination` site or a `source` site other than the current site, but not both.'\n                      )\n                      .regex(\n                        /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n                        'Must be a valid GUID'\n                      ),\n                  }),\n                ])\n              )\n            )\n            .min(1)\n            .max(100),\n        })\n        .describe(\n          'Ordered workflow specification describing what should run when the schedule fires.'\n        ),\n      lastWorkflowId: z\n        .string()\n        .describe(\n          'ID of the data movement workflow created by the most recent execution.'\n        )\n        .regex(\n          /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n          'Must be a valid GUID'\n        )\n        .optional(),\n    })\n    .describe('Scheduled data movement workflow to create.'),\n  options: z\n    .object({\n      fields: z\n        .array(z.enum(['NEXT_SCHEDULE_EXECUTION']))\n        .max(1)\n        .optional(),\n    })\n    .optional(),\n});\nexport const CreateScheduledDataWorkflowResponse = z.object({\n  _id: z\n    .string()\n    .describe('Scheduled data workflow ID.')\n    .regex(\n      /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n      'Must be a valid GUID'\n    )\n    .optional(),\n  revision: z\n    .string()\n    .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n    .describe(\n      'Revision number that increments by 1 each time the scheduled data workflow updates.\\nTo prevent conflicting changes, pass the current revision when updating.\\n\\nIgnored when creating a scheduled data workflow.'\n    )\n    .optional()\n    .nullable(),\n  name: z\n    .string()\n    .describe('Scheduled data workflow name.')\n    .max(1024)\n    .optional(),\n  enabled: z\n    .boolean()\n    .describe(\n      \"Whether the scheduled data workflow is enabled for execution.\\n\\nWhen `true`, it runs according to the schedule defined by `cronExpression`. When `false`, it doesn't run.\"\n    )\n    .optional(),\n  cronExpression: z\n    .string()\n    .describe(\n      '[Cron expression](https://en.wikipedia.org/wiki/Cron#Cron_expression) defining when the scheduled data workflow should run.\\n\\nUses standard 5-field cron format (minute, hour, day of month, month, day of week) in [UTC](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). Supports using `H` for minute randomization. For example, `0 2 * * *` runs daily at 2\\\\:00 AM UTC, or `H 2 * * *` runs daily at 2\\\\:XX AM UTC where XX is a random minute.'\n    )\n    .max(200)\n    .optional(),\n  lastExecutionDate: z\n    .date()\n    .describe(\n      'Date and time when the scheduled data movement workflow was last run.'\n    )\n    .optional()\n    .nullable(),\n  nextExecutionDate: z\n    .date()\n    .describe(\n      'Date and time when the scheduled data movement workflow is scheduled to run next.\\n\\nCalculated based on the cron expression and current time. Returned only when the request includes `nextScheduleExecution` in the `fields` parameter.'\n    )\n    .optional()\n    .nullable(),\n  workflow: z\n    .object({\n      steps: z\n        .array(\n          z.intersection(\n            z.object({\n              source: z\n                .intersection(\n                  z.object({}),\n                  z.xor([\n                    z.object({\n                      wixDataCollection: z.never().optional(),\n                      localization: z.never().optional(),\n                      file: z.never().optional(),\n                    }),\n                    z.object({\n                      localization: z.never().optional(),\n                      file: z.never().optional(),\n                      wixDataCollection: z\n                        .object({\n                          collectionId: z\n                            .string()\n                            .describe('ID of the data collection.')\n                            .min(1)\n                            .max(256)\n                            .optional(),\n                          filter: z\n                            .record(z.string(), z.any())\n                            .describe(\n                              'Filter to apply to the items. Only items that pass the filter are moved.\\n\\nLearn more about building a query filter using [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).'\n                            )\n                            .optional()\n                            .nullable(),\n                          fields: z.array(z.string()).optional(),\n                        })\n                        .describe(\n                          'Wix data collection.\\n\\nYou can move items from native Wix collections, [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code), and [external database collections](https://dev.wix.com/docs/develop-websites/articles/databases/external-databases/overview/integrating-external-databases-with-your-wix-site).'\n                        ),\n                    }),\n                    z.object({\n                      wixDataCollection: z.never().optional(),\n                      file: z.never().optional(),\n                      localization: z\n                        .object({\n                          languages: z\n                            .array(z.string())\n                            .min(2)\n                            .max(64)\n                            .optional(),\n                        })\n                        .describe(\n                          'Localized CMS content. Available when the site has [Wix Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) installed.\\n\\nLearn more about working with [translated CMS content](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content).'\n                        ),\n                    }),\n                    z.object({\n                      wixDataCollection: z.never().optional(),\n                      localization: z.never().optional(),\n                      file: z\n                        .object({\n                          format: z\n                            .enum(['UNKNOWN', 'CSV', 'JSONL'])\n                            .describe(\n                              'File format. If not specified, automatically determined by Wix.'\n                            )\n                            .optional(),\n                          fileId: z\n                            .string()\n                            .describe(\n                              \"File ID as returned in the `fileId` property of the Create File Upload URL method's response.\"\n                            )\n                            .max(512)\n                            .optional(),\n                          url: z\n                            .string()\n                            .describe(\n                              'URL where the source file is uploaded. Automatically generated by Wix.'\n                            )\n                            .max(2048)\n                            .optional(),\n                        })\n                        .describe(\n                          'Source file.\\n\\nYou can import data from files in CSV or JSONL formats. Uploading a file with an invalid format causes the movement job to fail.\\n\\nTo upload a file, call Create File Upload Url ([SDK](https://dev.wix.com/docs/sdk/backend-modules/data/movement-jobs/create-file-upload-url) | [REST](https://dev.wix.com/docs/rest/business-solutions/cms/data-movement-jobs/create-file-upload-url)) and use the `uploadUrl` from the response. For example:\\n\\n`curl --request PUT --upload-file \"${path_to_file}\" \"${uploadUrl}\"`'\n                        ),\n                    }),\n                  ])\n                )\n                .describe('Source to read data from.')\n                .optional(),\n              destination: z\n                .intersection(\n                  z.object({}),\n                  z.xor([\n                    z.object({\n                      wixDataCollection: z.never().optional(),\n                      localization: z.never().optional(),\n                      file: z.never().optional(),\n                    }),\n                    z.object({\n                      localization: z.never().optional(),\n                      file: z.never().optional(),\n                      wixDataCollection: z\n                        .object({\n                          collectionId: z\n                            .string()\n                            .describe('ID of the destination collection.')\n                            .max(256)\n                            .optional(),\n                          writePolicy: z\n                            .enum([\n                              'OVERWRITE',\n                              'SKIP_EXISTING',\n                              'TRUNCATE_BEFORE',\n                            ])\n                            .describe(\n                              'When items already exist in the destination collection, the data writing policy.\\n\\nDefault: `OVERWRITE`.'\n                            )\n                            .optional(),\n                        })\n                        .describe(\n                          'Wix data collection.\\n\\nYou can move items to native Wix collections, [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code), and [external database collections](https://dev.wix.com/docs/develop-websites/articles/databases/external-databases/overview/integrating-external-databases-with-your-wix-site).'\n                        ),\n                    }),\n                    z.object({\n                      wixDataCollection: z.never().optional(),\n                      file: z.never().optional(),\n                      localization: z\n                        .object({\n                          languages: z\n                            .array(z.string())\n                            .min(2)\n                            .max(64)\n                            .optional(),\n                        })\n                        .describe(\n                          'Localized CMS content. Available when the site has [Wix Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) installed.\\n\\nLearn more about working with [translated CMS content](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content).'\n                        ),\n                    }),\n                    z.object({\n                      wixDataCollection: z.never().optional(),\n                      localization: z.never().optional(),\n                      file: z\n                        .object({\n                          format: z\n                            .enum(['UNKNOWN', 'CSV', 'JSONL'])\n                            .describe('File format.')\n                            .optional(),\n                          fileName: z\n                            .string()\n                            .describe('File name.')\n                            .max(512)\n                            .optional()\n                            .nullable(),\n                          url: z\n                            .string()\n                            .describe('File download URL.')\n                            .max(2048)\n                            .optional(),\n                        })\n                        .describe('Downloadable file with the moved items.'),\n                    }),\n                  ])\n                )\n                .describe('Destination to write data to.')\n                .optional(),\n            }),\n            z.xor([\n              z.object({\n                sourceSiteId: z.never().optional(),\n                destinationSiteId: z.never().optional(),\n              }),\n              z.object({\n                destinationSiteId: z.never().optional(),\n                sourceSiteId: z\n                  .string()\n                  .describe(\n                    'When moving data from the Wix data collection of a site other than the current site, the ID of the site to read from.\\n\\nBy default, the `source` site is the current site. However, you can move data from any site in the same [Wix Account](https://support.wix.com/en/article/managing-multiple-sites-under-one-account).\\n\\n> **Note**: You can specify the ID of a `source` site or a `destination` site other than the current site, but not both.'\n                  )\n                  .regex(\n                    /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n                    'Must be a valid GUID'\n                  ),\n              }),\n              z.object({\n                sourceSiteId: z.never().optional(),\n                destinationSiteId: z\n                  .string()\n                  .describe(\n                    'When moving data to the Wix data collection of a site other than the current site, the ID of the site to write to.\\n\\nBy default, the `destination` site is the current site. However, you can move data to any site in the same [Wix Account](https://support.wix.com/en/article/managing-multiple-sites-under-one-account).\\n\\n> **Note**: You can specify the ID of a `destination` site or a `source` site other than the current site, but not both.'\n                  )\n                  .regex(\n                    /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n                    'Must be a valid GUID'\n                  ),\n              }),\n            ])\n          )\n        )\n        .min(1)\n        .max(100)\n        .optional(),\n    })\n    .describe(\n      'Ordered workflow specification describing what should run when the schedule fires.'\n    )\n    .optional(),\n  lastWorkflowId: z\n    .string()\n    .describe(\n      'ID of the data movement workflow created by the most recent execution.'\n    )\n    .regex(\n      /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n      'Must be a valid GUID'\n    )\n    .optional(),\n});\nexport const RescheduleScheduledDataWorkflowRequest = z.object({\n  scheduledDataWorkflowId: z\n    .string()\n    .describe('ID of the scheduled data movement workflow to reschedule.')\n    .regex(\n      /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n      'Must be a valid GUID'\n    ),\n  options: z\n    .object({\n      fields: z\n        .array(z.enum(['NEXT_SCHEDULE_EXECUTION']))\n        .max(1)\n        .optional(),\n    })\n    .optional(),\n});\nexport const RescheduleScheduledDataWorkflowResponse = z.object({\n  nextExecutionDate: z\n    .date()\n    .describe(\n      'Date and time when the scheduled data movement workflow is next scheduled to run.'\n    )\n    .optional()\n    .nullable(),\n});\nexport const TriggerScheduledDataWorkflowNowRequest = z.object({\n  scheduledDataWorkflowId: z\n    .string()\n    .describe('ID of the scheduled data movement workflow to run immediately.')\n    .regex(\n      /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n      'Must be a valid GUID'\n    ),\n});\nexport const TriggerScheduledDataWorkflowNowResponse = z.object({});\nexport const UpdateScheduledDataWorkflowRequest = z.object({\n  scheduledDataWorkflow: z\n    .object({\n      _id: z\n        .string()\n        .describe('Scheduled data workflow ID.')\n        .regex(\n          /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n          'Must be a valid GUID'\n        )\n        .optional(),\n      revision: z\n        .string()\n        .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n        .describe(\n          'Revision number that increments by 1 each time the scheduled data workflow updates.\\nTo prevent conflicting changes, pass the current revision when updating.\\n\\nIgnored when creating a scheduled data workflow.'\n        )\n        .optional()\n        .nullable(),\n      name: z\n        .string()\n        .describe('Scheduled data workflow name.')\n        .max(1024)\n        .optional(),\n      enabled: z\n        .boolean()\n        .describe(\n          \"Whether the scheduled data workflow is enabled for execution.\\n\\nWhen `true`, it runs according to the schedule defined by `cronExpression`. When `false`, it doesn't run.\"\n        )\n        .optional(),\n      cronExpression: z\n        .string()\n        .describe(\n          '[Cron expression](https://en.wikipedia.org/wiki/Cron#Cron_expression) defining when the scheduled data workflow should run.\\n\\nUses standard 5-field cron format (minute, hour, day of month, month, day of week) in [UTC](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). Supports using `H` for minute randomization. For example, `0 2 * * *` runs daily at 2\\\\:00 AM UTC, or `H 2 * * *` runs daily at 2\\\\:XX AM UTC where XX is a random minute.'\n        )\n        .max(200)\n        .optional(),\n      lastExecutionDate: z\n        .date()\n        .describe(\n          'Date and time when the scheduled data movement workflow was last run.'\n        )\n        .optional()\n        .nullable(),\n      nextExecutionDate: z\n        .date()\n        .describe(\n          'Date and time when the scheduled data movement workflow is scheduled to run next.\\n\\nCalculated based on the cron expression and current time. Returned only when the request includes `nextScheduleExecution` in the `fields` parameter.'\n        )\n        .optional()\n        .nullable(),\n      workflow: z\n        .object({\n          steps: z\n            .array(\n              z.intersection(\n                z.object({\n                  source: z\n                    .intersection(\n                      z.object({}),\n                      z.xor([\n                        z.object({\n                          wixDataCollection: z.never().optional(),\n                          localization: z.never().optional(),\n                          file: z.never().optional(),\n                        }),\n                        z.object({\n                          localization: z.never().optional(),\n                          file: z.never().optional(),\n                          wixDataCollection: z\n                            .object({\n                              collectionId: z\n                                .string()\n                                .describe('ID of the data collection.')\n                                .min(1)\n                                .max(256)\n                                .optional(),\n                              filter: z\n                                .record(z.string(), z.any())\n                                .describe(\n                                  'Filter to apply to the items. Only items that pass the filter are moved.\\n\\nLearn more about building a query filter using [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).'\n                                )\n                                .optional()\n                                .nullable(),\n                              fields: z.array(z.string()).optional(),\n                            })\n                            .describe(\n                              'Wix data collection.\\n\\nYou can move items from native Wix collections, [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code), and [external database collections](https://dev.wix.com/docs/develop-websites/articles/databases/external-databases/overview/integrating-external-databases-with-your-wix-site).'\n                            ),\n                        }),\n                        z.object({\n                          wixDataCollection: z.never().optional(),\n                          file: z.never().optional(),\n                          localization: z\n                            .object({\n                              languages: z\n                                .array(z.string())\n                                .min(2)\n                                .max(64)\n                                .optional(),\n                            })\n                            .describe(\n                              'Localized CMS content. Available when the site has [Wix Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) installed.\\n\\nLearn more about working with [translated CMS content](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content).'\n                            ),\n                        }),\n                        z.object({\n                          wixDataCollection: z.never().optional(),\n                          localization: z.never().optional(),\n                          file: z\n                            .object({\n                              format: z\n                                .enum(['UNKNOWN', 'CSV', 'JSONL'])\n                                .describe(\n                                  'File format. If not specified, automatically determined by Wix.'\n                                )\n                                .optional(),\n                              fileId: z\n                                .string()\n                                .describe(\n                                  \"File ID as returned in the `fileId` property of the Create File Upload URL method's response.\"\n                                )\n                                .max(512)\n                                .optional(),\n                              url: z\n                                .string()\n                                .describe(\n                                  'URL where the source file is uploaded. Automatically generated by Wix.'\n                                )\n                                .max(2048)\n                                .optional(),\n                            })\n                            .describe(\n                              'Source file.\\n\\nYou can import data from files in CSV or JSONL formats. Uploading a file with an invalid format causes the movement job to fail.\\n\\nTo upload a file, call Create File Upload Url ([SDK](https://dev.wix.com/docs/sdk/backend-modules/data/movement-jobs/create-file-upload-url) | [REST](https://dev.wix.com/docs/rest/business-solutions/cms/data-movement-jobs/create-file-upload-url)) and use the `uploadUrl` from the response. For example:\\n\\n`curl --request PUT --upload-file \"${path_to_file}\" \"${uploadUrl}\"`'\n                            ),\n                        }),\n                      ])\n                    )\n                    .describe('Source to read data from.')\n                    .optional(),\n                  destination: z\n                    .intersection(\n                      z.object({}),\n                      z.xor([\n                        z.object({\n                          wixDataCollection: z.never().optional(),\n                          localization: z.never().optional(),\n                          file: z.never().optional(),\n                        }),\n                        z.object({\n                          localization: z.never().optional(),\n                          file: z.never().optional(),\n                          wixDataCollection: z\n                            .object({\n                              collectionId: z\n                                .string()\n                                .describe('ID of the destination collection.')\n                                .max(256)\n                                .optional(),\n                              writePolicy: z\n                                .enum([\n                                  'OVERWRITE',\n                                  'SKIP_EXISTING',\n                                  'TRUNCATE_BEFORE',\n                                ])\n                                .describe(\n                                  'When items already exist in the destination collection, the data writing policy.\\n\\nDefault: `OVERWRITE`.'\n                                )\n                                .optional(),\n                            })\n                            .describe(\n                              'Wix data collection.\\n\\nYou can move items to native Wix collections, [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code), and [external database collections](https://dev.wix.com/docs/develop-websites/articles/databases/external-databases/overview/integrating-external-databases-with-your-wix-site).'\n                            ),\n                        }),\n                        z.object({\n                          wixDataCollection: z.never().optional(),\n                          file: z.never().optional(),\n                          localization: z\n                            .object({\n                              languages: z\n                                .array(z.string())\n                                .min(2)\n                                .max(64)\n                                .optional(),\n                            })\n                            .describe(\n                              'Localized CMS content. Available when the site has [Wix Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) installed.\\n\\nLearn more about working with [translated CMS content](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content).'\n                            ),\n                        }),\n                        z.object({\n                          wixDataCollection: z.never().optional(),\n                          localization: z.never().optional(),\n                          file: z\n                            .object({\n                              format: z\n                                .enum(['UNKNOWN', 'CSV', 'JSONL'])\n                                .describe('File format.')\n                                .optional(),\n                              fileName: z\n                                .string()\n                                .describe('File name.')\n                                .max(512)\n                                .optional()\n                                .nullable(),\n                              url: z\n                                .string()\n                                .describe('File download URL.')\n                                .max(2048)\n                                .optional(),\n                            })\n                            .describe(\n                              'Downloadable file with the moved items.'\n                            ),\n                        }),\n                      ])\n                    )\n                    .describe('Destination to write data to.')\n                    .optional(),\n                }),\n                z.xor([\n                  z.object({\n                    sourceSiteId: z.never().optional(),\n                    destinationSiteId: z.never().optional(),\n                  }),\n                  z.object({\n                    destinationSiteId: z.never().optional(),\n                    sourceSiteId: z\n                      .string()\n                      .describe(\n                        'When moving data from the Wix data collection of a site other than the current site, the ID of the site to read from.\\n\\nBy default, the `source` site is the current site. However, you can move data from any site in the same [Wix Account](https://support.wix.com/en/article/managing-multiple-sites-under-one-account).\\n\\n> **Note**: You can specify the ID of a `source` site or a `destination` site other than the current site, but not both.'\n                      )\n                      .regex(\n                        /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n                        'Must be a valid GUID'\n                      ),\n                  }),\n                  z.object({\n                    sourceSiteId: z.never().optional(),\n                    destinationSiteId: z\n                      .string()\n                      .describe(\n                        'When moving data to the Wix data collection of a site other than the current site, the ID of the site to write to.\\n\\nBy default, the `destination` site is the current site. However, you can move data to any site in the same [Wix Account](https://support.wix.com/en/article/managing-multiple-sites-under-one-account).\\n\\n> **Note**: You can specify the ID of a `destination` site or a `source` site other than the current site, but not both.'\n                      )\n                      .regex(\n                        /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n                        'Must be a valid GUID'\n                      ),\n                  }),\n                ])\n              )\n            )\n            .min(1)\n            .max(100),\n        })\n        .describe(\n          'Ordered workflow specification describing what should run when the schedule fires.'\n        ),\n      lastWorkflowId: z\n        .string()\n        .describe(\n          'ID of the data movement workflow created by the most recent execution.'\n        )\n        .regex(\n          /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n          'Must be a valid GUID'\n        )\n        .optional(),\n    })\n    .describe('Scheduled data movement workflow information to update.'),\n  options: z\n    .object({\n      fields: z\n        .array(z.enum(['NEXT_SCHEDULE_EXECUTION']))\n        .max(1)\n        .optional(),\n    })\n    .optional(),\n});\nexport const UpdateScheduledDataWorkflowResponse = z.object({\n  _id: z\n    .string()\n    .describe('Scheduled data workflow ID.')\n    .regex(\n      /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n      'Must be a valid GUID'\n    )\n    .optional(),\n  revision: z\n    .string()\n    .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n    .describe(\n      'Revision number that increments by 1 each time the scheduled data workflow updates.\\nTo prevent conflicting changes, pass the current revision when updating.\\n\\nIgnored when creating a scheduled data workflow.'\n    )\n    .optional()\n    .nullable(),\n  name: z\n    .string()\n    .describe('Scheduled data workflow name.')\n    .max(1024)\n    .optional(),\n  enabled: z\n    .boolean()\n    .describe(\n      \"Whether the scheduled data workflow is enabled for execution.\\n\\nWhen `true`, it runs according to the schedule defined by `cronExpression`. When `false`, it doesn't run.\"\n    )\n    .optional(),\n  cronExpression: z\n    .string()\n    .describe(\n      '[Cron expression](https://en.wikipedia.org/wiki/Cron#Cron_expression) defining when the scheduled data workflow should run.\\n\\nUses standard 5-field cron format (minute, hour, day of month, month, day of week) in [UTC](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). Supports using `H` for minute randomization. For example, `0 2 * * *` runs daily at 2\\\\:00 AM UTC, or `H 2 * * *` runs daily at 2\\\\:XX AM UTC where XX is a random minute.'\n    )\n    .max(200)\n    .optional(),\n  lastExecutionDate: z\n    .date()\n    .describe(\n      'Date and time when the scheduled data movement workflow was last run.'\n    )\n    .optional()\n    .nullable(),\n  nextExecutionDate: z\n    .date()\n    .describe(\n      'Date and time when the scheduled data movement workflow is scheduled to run next.\\n\\nCalculated based on the cron expression and current time. Returned only when the request includes `nextScheduleExecution` in the `fields` parameter.'\n    )\n    .optional()\n    .nullable(),\n  workflow: z\n    .object({\n      steps: z\n        .array(\n          z.intersection(\n            z.object({\n              source: z\n                .intersection(\n                  z.object({}),\n                  z.xor([\n                    z.object({\n                      wixDataCollection: z.never().optional(),\n                      localization: z.never().optional(),\n                      file: z.never().optional(),\n                    }),\n                    z.object({\n                      localization: z.never().optional(),\n                      file: z.never().optional(),\n                      wixDataCollection: z\n                        .object({\n                          collectionId: z\n                            .string()\n                            .describe('ID of the data collection.')\n                            .min(1)\n                            .max(256)\n                            .optional(),\n                          filter: z\n                            .record(z.string(), z.any())\n                            .describe(\n                              'Filter to apply to the items. Only items that pass the filter are moved.\\n\\nLearn more about building a query filter using [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).'\n                            )\n                            .optional()\n                            .nullable(),\n                          fields: z.array(z.string()).optional(),\n                        })\n                        .describe(\n                          'Wix data collection.\\n\\nYou can move items from native Wix collections, [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code), and [external database collections](https://dev.wix.com/docs/develop-websites/articles/databases/external-databases/overview/integrating-external-databases-with-your-wix-site).'\n                        ),\n                    }),\n                    z.object({\n                      wixDataCollection: z.never().optional(),\n                      file: z.never().optional(),\n                      localization: z\n                        .object({\n                          languages: z\n                            .array(z.string())\n                            .min(2)\n                            .max(64)\n                            .optional(),\n                        })\n                        .describe(\n                          'Localized CMS content. Available when the site has [Wix Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) installed.\\n\\nLearn more about working with [translated CMS content](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content).'\n                        ),\n                    }),\n                    z.object({\n                      wixDataCollection: z.never().optional(),\n                      localization: z.never().optional(),\n                      file: z\n                        .object({\n                          format: z\n                            .enum(['UNKNOWN', 'CSV', 'JSONL'])\n                            .describe(\n                              'File format. If not specified, automatically determined by Wix.'\n                            )\n                            .optional(),\n                          fileId: z\n                            .string()\n                            .describe(\n                              \"File ID as returned in the `fileId` property of the Create File Upload URL method's response.\"\n                            )\n                            .max(512)\n                            .optional(),\n                          url: z\n                            .string()\n                            .describe(\n                              'URL where the source file is uploaded. Automatically generated by Wix.'\n                            )\n                            .max(2048)\n                            .optional(),\n                        })\n                        .describe(\n                          'Source file.\\n\\nYou can import data from files in CSV or JSONL formats. Uploading a file with an invalid format causes the movement job to fail.\\n\\nTo upload a file, call Create File Upload Url ([SDK](https://dev.wix.com/docs/sdk/backend-modules/data/movement-jobs/create-file-upload-url) | [REST](https://dev.wix.com/docs/rest/business-solutions/cms/data-movement-jobs/create-file-upload-url)) and use the `uploadUrl` from the response. For example:\\n\\n`curl --request PUT --upload-file \"${path_to_file}\" \"${uploadUrl}\"`'\n                        ),\n                    }),\n                  ])\n                )\n                .describe('Source to read data from.')\n                .optional(),\n              destination: z\n                .intersection(\n                  z.object({}),\n                  z.xor([\n                    z.object({\n                      wixDataCollection: z.never().optional(),\n                      localization: z.never().optional(),\n                      file: z.never().optional(),\n                    }),\n                    z.object({\n                      localization: z.never().optional(),\n                      file: z.never().optional(),\n                      wixDataCollection: z\n                        .object({\n                          collectionId: z\n                            .string()\n                            .describe('ID of the destination collection.')\n                            .max(256)\n                            .optional(),\n                          writePolicy: z\n                            .enum([\n                              'OVERWRITE',\n                              'SKIP_EXISTING',\n                              'TRUNCATE_BEFORE',\n                            ])\n                            .describe(\n                              'When items already exist in the destination collection, the data writing policy.\\n\\nDefault: `OVERWRITE`.'\n                            )\n                            .optional(),\n                        })\n                        .describe(\n                          'Wix data collection.\\n\\nYou can move items to native Wix collections, [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code), and [external database collections](https://dev.wix.com/docs/develop-websites/articles/databases/external-databases/overview/integrating-external-databases-with-your-wix-site).'\n                        ),\n                    }),\n                    z.object({\n                      wixDataCollection: z.never().optional(),\n                      file: z.never().optional(),\n                      localization: z\n                        .object({\n                          languages: z\n                            .array(z.string())\n                            .min(2)\n                            .max(64)\n                            .optional(),\n                        })\n                        .describe(\n                          'Localized CMS content. Available when the site has [Wix Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) installed.\\n\\nLearn more about working with [translated CMS content](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content).'\n                        ),\n                    }),\n                    z.object({\n                      wixDataCollection: z.never().optional(),\n                      localization: z.never().optional(),\n                      file: z\n                        .object({\n                          format: z\n                            .enum(['UNKNOWN', 'CSV', 'JSONL'])\n                            .describe('File format.')\n                            .optional(),\n                          fileName: z\n                            .string()\n                            .describe('File name.')\n                            .max(512)\n                            .optional()\n                            .nullable(),\n                          url: z\n                            .string()\n                            .describe('File download URL.')\n                            .max(2048)\n                            .optional(),\n                        })\n                        .describe('Downloadable file with the moved items.'),\n                    }),\n                  ])\n                )\n                .describe('Destination to write data to.')\n                .optional(),\n            }),\n            z.xor([\n              z.object({\n                sourceSiteId: z.never().optional(),\n                destinationSiteId: z.never().optional(),\n              }),\n              z.object({\n                destinationSiteId: z.never().optional(),\n                sourceSiteId: z\n                  .string()\n                  .describe(\n                    'When moving data from the Wix data collection of a site other than the current site, the ID of the site to read from.\\n\\nBy default, the `source` site is the current site. However, you can move data from any site in the same [Wix Account](https://support.wix.com/en/article/managing-multiple-sites-under-one-account).\\n\\n> **Note**: You can specify the ID of a `source` site or a `destination` site other than the current site, but not both.'\n                  )\n                  .regex(\n                    /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n                    'Must be a valid GUID'\n                  ),\n              }),\n              z.object({\n                sourceSiteId: z.never().optional(),\n                destinationSiteId: z\n                  .string()\n                  .describe(\n                    'When moving data to the Wix data collection of a site other than the current site, the ID of the site to write to.\\n\\nBy default, the `destination` site is the current site. However, you can move data to any site in the same [Wix Account](https://support.wix.com/en/article/managing-multiple-sites-under-one-account).\\n\\n> **Note**: You can specify the ID of a `destination` site or a `source` site other than the current site, but not both.'\n                  )\n                  .regex(\n                    /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n                    'Must be a valid GUID'\n                  ),\n              }),\n            ])\n          )\n        )\n        .min(1)\n        .max(100)\n        .optional(),\n    })\n    .describe(\n      'Ordered workflow specification describing what should run when the schedule fires.'\n    )\n    .optional(),\n  lastWorkflowId: z\n    .string()\n    .describe(\n      'ID of the data movement workflow created by the most recent execution.'\n    )\n    .regex(\n      /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n      'Must be a valid GUID'\n    )\n    .optional(),\n});\nexport const DeleteScheduledDataWorkflowRequest = z.object({\n  scheduledDataWorkflowId: z\n    .string()\n    .describe('ID of the scheduled data movement workflow to delete.')\n    .regex(\n      /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n      'Must be a valid GUID'\n    ),\n});\nexport const DeleteScheduledDataWorkflowResponse = z.object({});\nexport const GetScheduledDataWorkflowRequest = z.object({\n  scheduledDataWorkflowId: z\n    .string()\n    .describe('ID of the scheduled data movement workflow to retrieve.')\n    .regex(\n      /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n      'Must be a valid GUID'\n    ),\n  options: z\n    .object({\n      fields: z\n        .array(z.enum(['NEXT_SCHEDULE_EXECUTION']))\n        .max(1)\n        .optional(),\n    })\n    .optional(),\n});\nexport const GetScheduledDataWorkflowResponse = z.object({\n  _id: z\n    .string()\n    .describe('Scheduled data workflow ID.')\n    .regex(\n      /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n      'Must be a valid GUID'\n    )\n    .optional(),\n  revision: z\n    .string()\n    .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n    .describe(\n      'Revision number that increments by 1 each time the scheduled data workflow updates.\\nTo prevent conflicting changes, pass the current revision when updating.\\n\\nIgnored when creating a scheduled data workflow.'\n    )\n    .optional()\n    .nullable(),\n  name: z\n    .string()\n    .describe('Scheduled data workflow name.')\n    .max(1024)\n    .optional(),\n  enabled: z\n    .boolean()\n    .describe(\n      \"Whether the scheduled data workflow is enabled for execution.\\n\\nWhen `true`, it runs according to the schedule defined by `cronExpression`. When `false`, it doesn't run.\"\n    )\n    .optional(),\n  cronExpression: z\n    .string()\n    .describe(\n      '[Cron expression](https://en.wikipedia.org/wiki/Cron#Cron_expression) defining when the scheduled data workflow should run.\\n\\nUses standard 5-field cron format (minute, hour, day of month, month, day of week) in [UTC](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). Supports using `H` for minute randomization. For example, `0 2 * * *` runs daily at 2\\\\:00 AM UTC, or `H 2 * * *` runs daily at 2\\\\:XX AM UTC where XX is a random minute.'\n    )\n    .max(200)\n    .optional(),\n  lastExecutionDate: z\n    .date()\n    .describe(\n      'Date and time when the scheduled data movement workflow was last run.'\n    )\n    .optional()\n    .nullable(),\n  nextExecutionDate: z\n    .date()\n    .describe(\n      'Date and time when the scheduled data movement workflow is scheduled to run next.\\n\\nCalculated based on the cron expression and current time. Returned only when the request includes `nextScheduleExecution` in the `fields` parameter.'\n    )\n    .optional()\n    .nullable(),\n  workflow: z\n    .object({\n      steps: z\n        .array(\n          z.intersection(\n            z.object({\n              source: z\n                .intersection(\n                  z.object({}),\n                  z.xor([\n                    z.object({\n                      wixDataCollection: z.never().optional(),\n                      localization: z.never().optional(),\n                      file: z.never().optional(),\n                    }),\n                    z.object({\n                      localization: z.never().optional(),\n                      file: z.never().optional(),\n                      wixDataCollection: z\n                        .object({\n                          collectionId: z\n                            .string()\n                            .describe('ID of the data collection.')\n                            .min(1)\n                            .max(256)\n                            .optional(),\n                          filter: z\n                            .record(z.string(), z.any())\n                            .describe(\n                              'Filter to apply to the items. Only items that pass the filter are moved.\\n\\nLearn more about building a query filter using [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).'\n                            )\n                            .optional()\n                            .nullable(),\n                          fields: z.array(z.string()).optional(),\n                        })\n                        .describe(\n                          'Wix data collection.\\n\\nYou can move items from native Wix collections, [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code), and [external database collections](https://dev.wix.com/docs/develop-websites/articles/databases/external-databases/overview/integrating-external-databases-with-your-wix-site).'\n                        ),\n                    }),\n                    z.object({\n                      wixDataCollection: z.never().optional(),\n                      file: z.never().optional(),\n                      localization: z\n                        .object({\n                          languages: z\n                            .array(z.string())\n                            .min(2)\n                            .max(64)\n                            .optional(),\n                        })\n                        .describe(\n                          'Localized CMS content. Available when the site has [Wix Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) installed.\\n\\nLearn more about working with [translated CMS content](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content).'\n                        ),\n                    }),\n                    z.object({\n                      wixDataCollection: z.never().optional(),\n                      localization: z.never().optional(),\n                      file: z\n                        .object({\n                          format: z\n                            .enum(['UNKNOWN', 'CSV', 'JSONL'])\n                            .describe(\n                              'File format. If not specified, automatically determined by Wix.'\n                            )\n                            .optional(),\n                          fileId: z\n                            .string()\n                            .describe(\n                              \"File ID as returned in the `fileId` property of the Create File Upload URL method's response.\"\n                            )\n                            .max(512)\n                            .optional(),\n                          url: z\n                            .string()\n                            .describe(\n                              'URL where the source file is uploaded. Automatically generated by Wix.'\n                            )\n                            .max(2048)\n                            .optional(),\n                        })\n                        .describe(\n                          'Source file.\\n\\nYou can import data from files in CSV or JSONL formats. Uploading a file with an invalid format causes the movement job to fail.\\n\\nTo upload a file, call Create File Upload Url ([SDK](https://dev.wix.com/docs/sdk/backend-modules/data/movement-jobs/create-file-upload-url) | [REST](https://dev.wix.com/docs/rest/business-solutions/cms/data-movement-jobs/create-file-upload-url)) and use the `uploadUrl` from the response. For example:\\n\\n`curl --request PUT --upload-file \"${path_to_file}\" \"${uploadUrl}\"`'\n                        ),\n                    }),\n                  ])\n                )\n                .describe('Source to read data from.')\n                .optional(),\n              destination: z\n                .intersection(\n                  z.object({}),\n                  z.xor([\n                    z.object({\n                      wixDataCollection: z.never().optional(),\n                      localization: z.never().optional(),\n                      file: z.never().optional(),\n                    }),\n                    z.object({\n                      localization: z.never().optional(),\n                      file: z.never().optional(),\n                      wixDataCollection: z\n                        .object({\n                          collectionId: z\n                            .string()\n                            .describe('ID of the destination collection.')\n                            .max(256)\n                            .optional(),\n                          writePolicy: z\n                            .enum([\n                              'OVERWRITE',\n                              'SKIP_EXISTING',\n                              'TRUNCATE_BEFORE',\n                            ])\n                            .describe(\n                              'When items already exist in the destination collection, the data writing policy.\\n\\nDefault: `OVERWRITE`.'\n                            )\n                            .optional(),\n                        })\n                        .describe(\n                          'Wix data collection.\\n\\nYou can move items to native Wix collections, [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code), and [external database collections](https://dev.wix.com/docs/develop-websites/articles/databases/external-databases/overview/integrating-external-databases-with-your-wix-site).'\n                        ),\n                    }),\n                    z.object({\n                      wixDataCollection: z.never().optional(),\n                      file: z.never().optional(),\n                      localization: z\n                        .object({\n                          languages: z\n                            .array(z.string())\n                            .min(2)\n                            .max(64)\n                            .optional(),\n                        })\n                        .describe(\n                          'Localized CMS content. Available when the site has [Wix Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) installed.\\n\\nLearn more about working with [translated CMS content](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content).'\n                        ),\n                    }),\n                    z.object({\n                      wixDataCollection: z.never().optional(),\n                      localization: z.never().optional(),\n                      file: z\n                        .object({\n                          format: z\n                            .enum(['UNKNOWN', 'CSV', 'JSONL'])\n                            .describe('File format.')\n                            .optional(),\n                          fileName: z\n                            .string()\n                            .describe('File name.')\n                            .max(512)\n                            .optional()\n                            .nullable(),\n                          url: z\n                            .string()\n                            .describe('File download URL.')\n                            .max(2048)\n                            .optional(),\n                        })\n                        .describe('Downloadable file with the moved items.'),\n                    }),\n                  ])\n                )\n                .describe('Destination to write data to.')\n                .optional(),\n            }),\n            z.xor([\n              z.object({\n                sourceSiteId: z.never().optional(),\n                destinationSiteId: z.never().optional(),\n              }),\n              z.object({\n                destinationSiteId: z.never().optional(),\n                sourceSiteId: z\n                  .string()\n                  .describe(\n                    'When moving data from the Wix data collection of a site other than the current site, the ID of the site to read from.\\n\\nBy default, the `source` site is the current site. However, you can move data from any site in the same [Wix Account](https://support.wix.com/en/article/managing-multiple-sites-under-one-account).\\n\\n> **Note**: You can specify the ID of a `source` site or a `destination` site other than the current site, but not both.'\n                  )\n                  .regex(\n                    /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n                    'Must be a valid GUID'\n                  ),\n              }),\n              z.object({\n                sourceSiteId: z.never().optional(),\n                destinationSiteId: z\n                  .string()\n                  .describe(\n                    'When moving data to the Wix data collection of a site other than the current site, the ID of the site to write to.\\n\\nBy default, the `destination` site is the current site. However, you can move data to any site in the same [Wix Account](https://support.wix.com/en/article/managing-multiple-sites-under-one-account).\\n\\n> **Note**: You can specify the ID of a `destination` site or a `source` site other than the current site, but not both.'\n                  )\n                  .regex(\n                    /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n                    'Must be a valid GUID'\n                  ),\n              }),\n            ])\n          )\n        )\n        .min(1)\n        .max(100)\n        .optional(),\n    })\n    .describe(\n      'Ordered workflow specification describing what should run when the schedule fires.'\n    )\n    .optional(),\n  lastWorkflowId: z\n    .string()\n    .describe(\n      'ID of the data movement workflow created by the most recent execution.'\n    )\n    .regex(\n      /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n      'Must be a valid GUID'\n    )\n    .optional(),\n});\nexport const ListScheduledDataWorkflowsRequest = z.object({\n  options: z\n    .object({\n      fields: z\n        .array(z.enum(['NEXT_SCHEDULE_EXECUTION']))\n        .max(1)\n        .optional(),\n      paging: z\n        .object({\n          limit: z\n            .number()\n            .int()\n            .describe('Maximum number of items to return in the results.')\n            .min(0)\n            .max(100)\n            .optional()\n            .nullable(),\n          cursor: z\n            .string()\n            .describe(\n              \"Pointer to the next or previous page in the list of results.\\n\\nPass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\\nNot relevant for the first request.\"\n            )\n            .max(16000)\n            .optional()\n            .nullable(),\n        })\n        .describe(\n          'Reserved for future server-side paging support. Currently ignored.'\n        )\n        .optional(),\n      filter: z\n        .record(z.string(), z.any())\n        .describe(\n          'Reserved for future server-side filtering support. Currently ignored.'\n        )\n        .optional()\n        .nullable(),\n    })\n    .optional(),\n});\nexport const ListScheduledDataWorkflowsResponse = z.object({\n  scheduledDataWorkflows: z\n    .array(\n      z.object({\n        _id: z\n          .string()\n          .describe('Scheduled data workflow ID.')\n          .regex(\n            /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n            'Must be a valid GUID'\n          )\n          .optional(),\n        revision: z\n          .string()\n          .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n          .describe(\n            'Revision number that increments by 1 each time the scheduled data workflow updates.\\nTo prevent conflicting changes, pass the current revision when updating.\\n\\nIgnored when creating a scheduled data workflow.'\n          )\n          .optional()\n          .nullable(),\n        name: z\n          .string()\n          .describe('Scheduled data workflow name.')\n          .max(1024)\n          .optional(),\n        enabled: z\n          .boolean()\n          .describe(\n            \"Whether the scheduled data workflow is enabled for execution.\\n\\nWhen `true`, it runs according to the schedule defined by `cronExpression`. When `false`, it doesn't run.\"\n          )\n          .optional(),\n        cronExpression: z\n          .string()\n          .describe(\n            '[Cron expression](https://en.wikipedia.org/wiki/Cron#Cron_expression) defining when the scheduled data workflow should run.\\n\\nUses standard 5-field cron format (minute, hour, day of month, month, day of week) in [UTC](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). Supports using `H` for minute randomization. For example, `0 2 * * *` runs daily at 2\\\\:00 AM UTC, or `H 2 * * *` runs daily at 2\\\\:XX AM UTC where XX is a random minute.'\n          )\n          .max(200)\n          .optional(),\n        lastExecutionDate: z\n          .date()\n          .describe(\n            'Date and time when the scheduled data movement workflow was last run.'\n          )\n          .optional()\n          .nullable(),\n        nextExecutionDate: z\n          .date()\n          .describe(\n            'Date and time when the scheduled data movement workflow is scheduled to run next.\\n\\nCalculated based on the cron expression and current time. Returned only when the request includes `nextScheduleExecution` in the `fields` parameter.'\n          )\n          .optional()\n          .nullable(),\n        workflow: z\n          .object({\n            steps: z\n              .array(\n                z.intersection(\n                  z.object({\n                    source: z\n                      .intersection(\n                        z.object({}),\n                        z.xor([\n                          z.object({\n                            wixDataCollection: z.never().optional(),\n                            localization: z.never().optional(),\n                            file: z.never().optional(),\n                          }),\n                          z.object({\n                            localization: z.never().optional(),\n                            file: z.never().optional(),\n                            wixDataCollection: z\n                              .object({\n                                collectionId: z\n                                  .string()\n                                  .describe('ID of the data collection.')\n                                  .min(1)\n                                  .max(256)\n                                  .optional(),\n                                filter: z\n                                  .record(z.string(), z.any())\n                                  .describe(\n                                    'Filter to apply to the items. Only items that pass the filter are moved.\\n\\nLearn more about building a query filter using [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).'\n                                  )\n                                  .optional()\n                                  .nullable(),\n                                fields: z.array(z.string()).optional(),\n                              })\n                              .describe(\n                                'Wix data collection.\\n\\nYou can move items from native Wix collections, [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code), and [external database collections](https://dev.wix.com/docs/develop-websites/articles/databases/external-databases/overview/integrating-external-databases-with-your-wix-site).'\n                              ),\n                          }),\n                          z.object({\n                            wixDataCollection: z.never().optional(),\n                            file: z.never().optional(),\n                            localization: z\n                              .object({\n                                languages: z\n                                  .array(z.string())\n                                  .min(2)\n                                  .max(64)\n                                  .optional(),\n                              })\n                              .describe(\n                                'Localized CMS content. Available when the site has [Wix Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) installed.\\n\\nLearn more about working with [translated CMS content](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content).'\n                              ),\n                          }),\n                          z.object({\n                            wixDataCollection: z.never().optional(),\n                            localization: z.never().optional(),\n                            file: z\n                              .object({\n                                format: z\n                                  .enum(['UNKNOWN', 'CSV', 'JSONL'])\n                                  .describe(\n                                    'File format. If not specified, automatically determined by Wix.'\n                                  )\n                                  .optional(),\n                                fileId: z\n                                  .string()\n                                  .describe(\n                                    \"File ID as returned in the `fileId` property of the Create File Upload URL method's response.\"\n                                  )\n                                  .max(512)\n                                  .optional(),\n                                url: z\n                                  .string()\n                                  .describe(\n                                    'URL where the source file is uploaded. Automatically generated by Wix.'\n                                  )\n                                  .max(2048)\n                                  .optional(),\n                              })\n                              .describe(\n                                'Source file.\\n\\nYou can import data from files in CSV or JSONL formats. Uploading a file with an invalid format causes the movement job to fail.\\n\\nTo upload a file, call Create File Upload Url ([SDK](https://dev.wix.com/docs/sdk/backend-modules/data/movement-jobs/create-file-upload-url) | [REST](https://dev.wix.com/docs/rest/business-solutions/cms/data-movement-jobs/create-file-upload-url)) and use the `uploadUrl` from the response. For example:\\n\\n`curl --request PUT --upload-file \"${path_to_file}\" \"${uploadUrl}\"`'\n                              ),\n                          }),\n                        ])\n                      )\n                      .describe('Source to read data from.')\n                      .optional(),\n                    destination: z\n                      .intersection(\n                        z.object({}),\n                        z.xor([\n                          z.object({\n                            wixDataCollection: z.never().optional(),\n                            localization: z.never().optional(),\n                            file: z.never().optional(),\n                          }),\n                          z.object({\n                            localization: z.never().optional(),\n                            file: z.never().optional(),\n                            wixDataCollection: z\n                              .object({\n                                collectionId: z\n                                  .string()\n                                  .describe('ID of the destination collection.')\n                                  .max(256)\n                                  .optional(),\n                                writePolicy: z\n                                  .enum([\n                                    'OVERWRITE',\n                                    'SKIP_EXISTING',\n                                    'TRUNCATE_BEFORE',\n                                  ])\n                                  .describe(\n                                    'When items already exist in the destination collection, the data writing policy.\\n\\nDefault: `OVERWRITE`.'\n                                  )\n                                  .optional(),\n                              })\n                              .describe(\n                                'Wix data collection.\\n\\nYou can move items to native Wix collections, [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code), and [external database collections](https://dev.wix.com/docs/develop-websites/articles/databases/external-databases/overview/integrating-external-databases-with-your-wix-site).'\n                              ),\n                          }),\n                          z.object({\n                            wixDataCollection: z.never().optional(),\n                            file: z.never().optional(),\n                            localization: z\n                              .object({\n                                languages: z\n                                  .array(z.string())\n                                  .min(2)\n                                  .max(64)\n                                  .optional(),\n                              })\n                              .describe(\n                                'Localized CMS content. Available when the site has [Wix Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) installed.\\n\\nLearn more about working with [translated CMS content](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content).'\n                              ),\n                          }),\n                          z.object({\n                            wixDataCollection: z.never().optional(),\n                            localization: z.never().optional(),\n                            file: z\n                              .object({\n                                format: z\n                                  .enum(['UNKNOWN', 'CSV', 'JSONL'])\n                                  .describe('File format.')\n                                  .optional(),\n                                fileName: z\n                                  .string()\n                                  .describe('File name.')\n                                  .max(512)\n                                  .optional()\n                                  .nullable(),\n                                url: z\n                                  .string()\n                                  .describe('File download URL.')\n                                  .max(2048)\n                                  .optional(),\n                              })\n                              .describe(\n                                'Downloadable file with the moved items.'\n                              ),\n                          }),\n                        ])\n                      )\n                      .describe('Destination to write data to.')\n                      .optional(),\n                  }),\n                  z.xor([\n                    z.object({\n                      sourceSiteId: z.never().optional(),\n                      destinationSiteId: z.never().optional(),\n                    }),\n                    z.object({\n                      destinationSiteId: z.never().optional(),\n                      sourceSiteId: z\n                        .string()\n                        .describe(\n                          'When moving data from the Wix data collection of a site other than the current site, the ID of the site to read from.\\n\\nBy default, the `source` site is the current site. However, you can move data from any site in the same [Wix Account](https://support.wix.com/en/article/managing-multiple-sites-under-one-account).\\n\\n> **Note**: You can specify the ID of a `source` site or a `destination` site other than the current site, but not both.'\n                        )\n                        .regex(\n                          /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n                          'Must be a valid GUID'\n                        ),\n                    }),\n                    z.object({\n                      sourceSiteId: z.never().optional(),\n                      destinationSiteId: z\n                        .string()\n                        .describe(\n                          'When moving data to the Wix data collection of a site other than the current site, the ID of the site to write to.\\n\\nBy default, the `destination` site is the current site. However, you can move data to any site in the same [Wix Account](https://support.wix.com/en/article/managing-multiple-sites-under-one-account).\\n\\n> **Note**: You can specify the ID of a `destination` site or a `source` site other than the current site, but not both.'\n                        )\n                        .regex(\n                          /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n                          'Must be a valid GUID'\n                        ),\n                    }),\n                  ])\n                )\n              )\n              .min(1)\n              .max(100)\n              .optional(),\n          })\n          .describe(\n            'Ordered workflow specification describing what should run when the schedule fires.'\n          )\n          .optional(),\n        lastWorkflowId: z\n          .string()\n          .describe(\n            'ID of the data movement workflow created by the most recent execution.'\n          )\n          .regex(\n            /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n            'Must be a valid GUID'\n          )\n          .optional(),\n      })\n    )\n    .optional(),\n  pagingMetadata: z\n    .object({\n      count: z\n        .number()\n        .int()\n        .describe('Number of items returned in current page.')\n        .optional()\n        .nullable(),\n      cursors: z\n        .object({\n          next: z\n            .string()\n            .describe(\n              'Cursor string pointing to the next page in the list of results.'\n            )\n            .max(16000)\n            .optional()\n            .nullable(),\n          prev: z\n            .string()\n            .describe(\n              'Cursor pointing to the previous page in the list of results.'\n            )\n            .max(16000)\n            .optional()\n            .nullable(),\n        })\n        .describe(\n          'Cursor strings that point to the next page, previous page, or both.'\n        )\n        .optional(),\n      hasNext: z\n        .boolean()\n        .describe(\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        .optional()\n        .nullable(),\n    })\n    .describe(\n      'Paging metadata, when available. Currently omitted because server-side paging is not applied.'\n    )\n    .optional(),\n});\n"],"mappings":";AAAA,YAAY,OAAO;A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