@wix/auto_sdk_data_scheduled-workflows 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +98 -0
- package/build/cjs/index.js +723 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1035 -0
- package/build/cjs/index.typings.js +594 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +839 -0
- package/build/cjs/meta.js +531 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/schemas.d.ts +595 -0
- package/build/cjs/schemas.js +1090 -0
- package/build/cjs/schemas.js.map +1 -0
- package/build/es/index.d.mts +98 -0
- package/build/es/index.mjs +681 -0
- package/build/es/index.mjs.map +1 -0
- package/build/es/index.typings.d.mts +1035 -0
- package/build/es/index.typings.mjs +555 -0
- package/build/es/index.typings.mjs.map +1 -0
- package/build/es/meta.d.mts +839 -0
- package/build/es/meta.mjs +489 -0
- package/build/es/meta.mjs.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/schemas.d.mts +595 -0
- package/build/es/schemas.mjs +1040 -0
- package/build/es/schemas.mjs.map +1 -0
- package/build/internal/cjs/index.d.ts +98 -0
- package/build/internal/cjs/index.js +723 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +1046 -0
- package/build/internal/cjs/index.typings.js +594 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +839 -0
- package/build/internal/cjs/meta.js +531 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/schemas.d.ts +595 -0
- package/build/internal/cjs/schemas.js +1090 -0
- package/build/internal/cjs/schemas.js.map +1 -0
- package/build/internal/es/index.d.mts +98 -0
- package/build/internal/es/index.mjs +681 -0
- package/build/internal/es/index.mjs.map +1 -0
- package/build/internal/es/index.typings.d.mts +1046 -0
- package/build/internal/es/index.typings.mjs +555 -0
- package/build/internal/es/index.typings.mjs.map +1 -0
- package/build/internal/es/meta.d.mts +839 -0
- package/build/internal/es/meta.mjs +489 -0
- package/build/internal/es/meta.mjs.map +1 -0
- package/build/internal/es/schemas.d.mts +595 -0
- package/build/internal/es/schemas.mjs +1040 -0
- package/build/internal/es/schemas.mjs.map +1 -0
- package/meta/package.json +3 -0
- package/package.json +61 -0
- package/schemas/package.json +3 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../schemas.ts","../../src/data-sync-v1-jobs-scheduled-workflows.schemas.ts"],"sourcesContent":["export * from './src/data-sync-v1-jobs-scheduled-workflows.schemas.js';\n","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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,QAAmB;AAEZ,IAAM,qCAAuC,SAAO;AAAA,EACzD,uBACG,SAAO;AAAA,IACN,KACG,SAAO,EACP,SAAS,6BAA6B,EACtC;AAAA,MACC;AAAA,MACA;AAAA,IACF;AAAA,IACF,UACG,SAAO,EACP,MAAM,WAAW,8BAA8B,EAC/C;AAAA,MACC;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,MACG,SAAO,EACP,SAAS,+BAA+B,EACxC,IAAI,IAAI,EACR,SAAS;AAAA,IACZ,SACG,UAAQ,EACR;AAA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,CAAC,EACA;AAAA,QACC;AAAA,MACF,EACC,SAAS;AAAA,MACZ,gBACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC;AAAA,QACC;AAAA,QACA;AAAA,MACF,EACC,SAAS;AAAA,IACd,CAAC;AAAA,EACH,EACC,SAAS;AAAA,EACZ,gBACG,SAAO;AAAA,IACN,OACG,SAAO,EACP,IAAI,EACJ,SAAS,2CAA2C,EACpD,SAAS,EACT,SAAS;AAAA,IACZ,SACG,SAAO;AAAA,MACN,MACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC,IAAI,IAAK,EACT,SAAS,EACT,SAAS;AAAA,MACZ,MACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC,IAAI,IAAK,EACT,SAAS,EACT,SAAS;AAAA,IACd,CAAC,EACA;AAAA,MACC;AAAA,IACF,EACC,SAAS;AAAA,IACZ,SACG,UAAQ,EACR;AAAA,MACC;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,EACd,CAAC,EACA;AAAA,IACC;AAAA,EACF,EACC,SAAS;AACd,CAAC;","names":[]}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
+
import { ScheduledDataWorkflow, CreateScheduledDataWorkflowOptions, RescheduleScheduledDataWorkflowOptions, RescheduleScheduledDataWorkflowResponse, UpdateScheduledDataWorkflowOptions, GetScheduledDataWorkflowOptions, ListScheduledDataWorkflowsOptions, ListScheduledDataWorkflowsResponse, JobsCreatedEnvelope, JobsDeletedEnvelope, JobsUpdatedEnvelope } from './index.typings.mjs';
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, BaseEventMetadata, CreateScheduledDataWorkflowRequest, CreateScheduledDataWorkflowResponse, CursorPaging, CursorPagingMetadata, Cursors, DataMovementJobLogs, DeleteScheduledDataWorkflowRequest, DeleteScheduledDataWorkflowResponse, Destination, DestinationDestinationOneOf, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExternalFileSource, Field, FieldType, FieldTypeWithLiterals, Fields, FieldsWithLiterals, FileDestination, FileFormat, FileFormatWithLiterals, FileSource, GetScheduledDataWorkflowRequest, GetScheduledDataWorkflowResponse, GoogleSheetsSource, IdentificationData, IdentificationDataIdOneOf, JobSpec, JobSpecSiteOverrideOneOf, ListScheduledDataWorkflowsRequest, LocalizationDestination, LocalizationSource, MediaType, MediaTypeWithLiterals, MessageEnvelope, RescheduleScheduledDataWorkflowRequest, RestoreInfo, ScheduledDataWorkflowSpec, Schema, Source, SourceSourceOneOf, StoresCatalogInventoryDestination, StoresCatalogProductsDestination, TestDestination, TestSource, TestTransformation, Transformation, TransformationTransformationOneOf, TriggerScheduledDataWorkflowNowRequest, TriggerScheduledDataWorkflowNowResponse, UpdateScheduledDataWorkflowRequest, UpdateScheduledDataWorkflowResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WixDataCollectionDefinitionDestination, WixDataCollectionDefinitionSource, WixDataDestination, WixDataDestinationWritePolicy, WixDataDestinationWritePolicyWithLiterals, WixDataEnvironment, WixDataEnvironmentWithLiterals, WixDataSource, WixMediaDestination, WixMediaDestinationWritePolicy, WixMediaDestinationWritePolicyWithLiterals, WixMediaSource, WritePolicy, WritePolicyWithLiterals } from './index.typings.mjs';
|
|
4
|
+
|
|
5
|
+
declare function createScheduledDataWorkflow$1(httpClient: HttpClient): CreateScheduledDataWorkflowSignature;
|
|
6
|
+
interface CreateScheduledDataWorkflowSignature {
|
|
7
|
+
/**
|
|
8
|
+
* Creates a scheduled data workflow with a cron schedule.
|
|
9
|
+
*
|
|
10
|
+
* The scheduled data workflow automatically runs according to the specified cron expression.
|
|
11
|
+
* Each execution creates a new [data workflow](https://dev.wix.com/docs/api-reference/business-solutions/cms/operations/data-movement-jobs/introduction) with its `scheduleId` set to this scheduled data workflow's ID.
|
|
12
|
+
* @param - Scheduled data movement workflow to create.
|
|
13
|
+
* @returns Created scheduled data movement workflow.
|
|
14
|
+
*/
|
|
15
|
+
(scheduledDataWorkflow: NonNullablePaths<ScheduledDataWorkflow, `_id` | `workflow` | `workflow.steps`, 3>, options?: CreateScheduledDataWorkflowOptions): Promise<NonNullablePaths<ScheduledDataWorkflow, `_id` | `name` | `enabled` | `cronExpression` | `workflow.steps` | `workflow.steps.${number}.sourceSiteId` | `workflow.steps.${number}.destinationSiteId` | `workflow.steps.${number}.source.wixDataCollection.collectionId` | `workflow.steps.${number}.source.file.format` | `workflow.steps.${number}.source.file.fileId` | `workflow.steps.${number}.source.file.url` | `workflow.steps.${number}.destination.wixDataCollection.collectionId` | `workflow.steps.${number}.destination.wixDataCollection.writePolicy` | `workflow.steps.${number}.destination.file.format` | `workflow.steps.${number}.destination.file.url` | `lastWorkflowId`, 7>>;
|
|
16
|
+
}
|
|
17
|
+
declare function rescheduleScheduledDataWorkflow$1(httpClient: HttpClient): RescheduleScheduledDataWorkflowSignature;
|
|
18
|
+
interface RescheduleScheduledDataWorkflowSignature {
|
|
19
|
+
/**
|
|
20
|
+
* Reinitializes a scheduled data workflow based on the current cron expression.
|
|
21
|
+
*
|
|
22
|
+
* This is needed in case an [updated](https://dev.wix.com/docs/api-reference/business-solutions/cms/operations/data-sync-jobs/update-data-sync-job) scheduled data workflow gets out of sync.
|
|
23
|
+
* For example, if you update the cron expression, it may not initially run according to the new expression.
|
|
24
|
+
* This reschedules it to run according to the new expression.
|
|
25
|
+
*
|
|
26
|
+
* Only applies to `enabled` scheduled data workflows.
|
|
27
|
+
* @param - ID of the scheduled data movement workflow to reschedule.
|
|
28
|
+
*/
|
|
29
|
+
(scheduledDataWorkflowId: string, options?: RescheduleScheduledDataWorkflowOptions): Promise<RescheduleScheduledDataWorkflowResponse>;
|
|
30
|
+
}
|
|
31
|
+
declare function triggerScheduledDataWorkflowNow$1(httpClient: HttpClient): TriggerScheduledDataWorkflowNowSignature;
|
|
32
|
+
interface TriggerScheduledDataWorkflowNowSignature {
|
|
33
|
+
/**
|
|
34
|
+
* Enqueues an immediate execution for a scheduled data workflow.
|
|
35
|
+
*
|
|
36
|
+
* This custom action doesn't change the cron schedule.
|
|
37
|
+
* It triggers the same data workflow execution path used by scheduled
|
|
38
|
+
* TimeCapsule runs.
|
|
39
|
+
* @param - ID of the scheduled data movement workflow to run immediately.
|
|
40
|
+
*/
|
|
41
|
+
(scheduledDataWorkflowId: string): Promise<void>;
|
|
42
|
+
}
|
|
43
|
+
declare function updateScheduledDataWorkflow$1(httpClient: HttpClient): UpdateScheduledDataWorkflowSignature;
|
|
44
|
+
interface UpdateScheduledDataWorkflowSignature {
|
|
45
|
+
/**
|
|
46
|
+
* Updates an existing scheduled data workflow.
|
|
47
|
+
* @param - Scheduled data movement workflow information to update.
|
|
48
|
+
* @returns Updated scheduled data movement workflow.
|
|
49
|
+
*/
|
|
50
|
+
(scheduledDataWorkflow: NonNullablePaths<ScheduledDataWorkflow, `workflow` | `workflow.steps`, 3>, options?: UpdateScheduledDataWorkflowOptions): Promise<NonNullablePaths<ScheduledDataWorkflow, `_id` | `name` | `enabled` | `cronExpression` | `workflow.steps` | `workflow.steps.${number}.sourceSiteId` | `workflow.steps.${number}.destinationSiteId` | `workflow.steps.${number}.source.wixDataCollection.collectionId` | `workflow.steps.${number}.source.file.format` | `workflow.steps.${number}.source.file.fileId` | `workflow.steps.${number}.source.file.url` | `workflow.steps.${number}.destination.wixDataCollection.collectionId` | `workflow.steps.${number}.destination.wixDataCollection.writePolicy` | `workflow.steps.${number}.destination.file.format` | `workflow.steps.${number}.destination.file.url` | `lastWorkflowId`, 7>>;
|
|
51
|
+
}
|
|
52
|
+
declare function deleteScheduledDataWorkflow$1(httpClient: HttpClient): DeleteScheduledDataWorkflowSignature;
|
|
53
|
+
interface DeleteScheduledDataWorkflowSignature {
|
|
54
|
+
/**
|
|
55
|
+
* Deletes a scheduled data workflow.
|
|
56
|
+
*
|
|
57
|
+
* This permanently removes the schedule and prevents future executions. Any currently running data workflows triggered by the schedule continue to completion.
|
|
58
|
+
* @param - ID of the scheduled data movement workflow to delete.
|
|
59
|
+
*/
|
|
60
|
+
(scheduledDataWorkflowId: string): Promise<void>;
|
|
61
|
+
}
|
|
62
|
+
declare function getScheduledDataWorkflow$1(httpClient: HttpClient): GetScheduledDataWorkflowSignature;
|
|
63
|
+
interface GetScheduledDataWorkflowSignature {
|
|
64
|
+
/**
|
|
65
|
+
* Retrieves a scheduled data workflow by ID.
|
|
66
|
+
* @param - ID of the scheduled data movement workflow to retrieve.
|
|
67
|
+
* @returns Retrieved scheduled data movement workflow.
|
|
68
|
+
*/
|
|
69
|
+
(scheduledDataWorkflowId: string, options?: GetScheduledDataWorkflowOptions): Promise<NonNullablePaths<ScheduledDataWorkflow, `_id` | `name` | `enabled` | `cronExpression` | `workflow.steps` | `workflow.steps.${number}.sourceSiteId` | `workflow.steps.${number}.destinationSiteId` | `workflow.steps.${number}.source.wixDataCollection.collectionId` | `workflow.steps.${number}.source.file.format` | `workflow.steps.${number}.source.file.fileId` | `workflow.steps.${number}.source.file.url` | `workflow.steps.${number}.destination.wixDataCollection.collectionId` | `workflow.steps.${number}.destination.wixDataCollection.writePolicy` | `workflow.steps.${number}.destination.file.format` | `workflow.steps.${number}.destination.file.url` | `lastWorkflowId`, 7>>;
|
|
70
|
+
}
|
|
71
|
+
declare function listScheduledDataWorkflows$1(httpClient: HttpClient): ListScheduledDataWorkflowsSignature;
|
|
72
|
+
interface ListScheduledDataWorkflowsSignature {
|
|
73
|
+
/**
|
|
74
|
+
* Retrieves all scheduled data workflows for the current site.
|
|
75
|
+
*
|
|
76
|
+
* The current implementation returns both enabled and disabled schedules. Request `paging` and `filter` fields are accepted for forward compatibility but are not applied by the service.
|
|
77
|
+
*/
|
|
78
|
+
(options?: ListScheduledDataWorkflowsOptions): Promise<NonNullablePaths<ListScheduledDataWorkflowsResponse, `scheduledDataWorkflows` | `scheduledDataWorkflows.${number}._id` | `scheduledDataWorkflows.${number}.name` | `scheduledDataWorkflows.${number}.enabled` | `scheduledDataWorkflows.${number}.cronExpression` | `scheduledDataWorkflows.${number}.lastWorkflowId`, 4>>;
|
|
79
|
+
}
|
|
80
|
+
declare const onJobsCreated$1: EventDefinition<JobsCreatedEnvelope, "wix.data.sync.v1.jobs_created">;
|
|
81
|
+
declare const onJobsDeleted$1: EventDefinition<JobsDeletedEnvelope, "wix.data.sync.v1.jobs_deleted">;
|
|
82
|
+
declare const onJobsUpdated$1: EventDefinition<JobsUpdatedEnvelope, "wix.data.sync.v1.jobs_updated">;
|
|
83
|
+
|
|
84
|
+
declare const createScheduledDataWorkflow: MaybeContext<BuildRESTFunction<typeof createScheduledDataWorkflow$1> & typeof createScheduledDataWorkflow$1>;
|
|
85
|
+
declare const rescheduleScheduledDataWorkflow: MaybeContext<BuildRESTFunction<typeof rescheduleScheduledDataWorkflow$1> & typeof rescheduleScheduledDataWorkflow$1>;
|
|
86
|
+
declare const triggerScheduledDataWorkflowNow: MaybeContext<BuildRESTFunction<typeof triggerScheduledDataWorkflowNow$1> & typeof triggerScheduledDataWorkflowNow$1>;
|
|
87
|
+
declare const updateScheduledDataWorkflow: MaybeContext<BuildRESTFunction<typeof updateScheduledDataWorkflow$1> & typeof updateScheduledDataWorkflow$1>;
|
|
88
|
+
declare const deleteScheduledDataWorkflow: MaybeContext<BuildRESTFunction<typeof deleteScheduledDataWorkflow$1> & typeof deleteScheduledDataWorkflow$1>;
|
|
89
|
+
declare const getScheduledDataWorkflow: MaybeContext<BuildRESTFunction<typeof getScheduledDataWorkflow$1> & typeof getScheduledDataWorkflow$1>;
|
|
90
|
+
declare const listScheduledDataWorkflows: MaybeContext<BuildRESTFunction<typeof listScheduledDataWorkflows$1> & typeof listScheduledDataWorkflows$1>;
|
|
91
|
+
/** */
|
|
92
|
+
declare const onJobsCreated: BuildEventDefinition<typeof onJobsCreated$1> & typeof onJobsCreated$1;
|
|
93
|
+
/** */
|
|
94
|
+
declare const onJobsDeleted: BuildEventDefinition<typeof onJobsDeleted$1> & typeof onJobsDeleted$1;
|
|
95
|
+
/** */
|
|
96
|
+
declare const onJobsUpdated: BuildEventDefinition<typeof onJobsUpdated$1> & typeof onJobsUpdated$1;
|
|
97
|
+
|
|
98
|
+
export { CreateScheduledDataWorkflowOptions, GetScheduledDataWorkflowOptions, JobsCreatedEnvelope, JobsDeletedEnvelope, JobsUpdatedEnvelope, ListScheduledDataWorkflowsOptions, ListScheduledDataWorkflowsResponse, RescheduleScheduledDataWorkflowOptions, RescheduleScheduledDataWorkflowResponse, ScheduledDataWorkflow, UpdateScheduledDataWorkflowOptions, createScheduledDataWorkflow, deleteScheduledDataWorkflow, getScheduledDataWorkflow, listScheduledDataWorkflows, onJobsCreated, onJobsDeleted, onJobsUpdated, rescheduleScheduledDataWorkflow, triggerScheduledDataWorkflowNow, updateScheduledDataWorkflow };
|