@wix/auto_sdk_editor-branches_branches 1.0.54 → 1.0.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/build/cjs/index.js +3 -0
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/index.typings.d.ts +18 -6
  4. package/build/cjs/index.typings.js +3 -0
  5. package/build/cjs/index.typings.js.map +1 -1
  6. package/build/cjs/meta.d.ts +16 -5
  7. package/build/cjs/meta.js +3 -0
  8. package/build/cjs/meta.js.map +1 -1
  9. package/build/cjs/schemas.d.ts +16 -0
  10. package/build/cjs/schemas.js +32 -16
  11. package/build/cjs/schemas.js.map +1 -1
  12. package/build/es/index.mjs +3 -0
  13. package/build/es/index.mjs.map +1 -1
  14. package/build/es/index.typings.d.mts +18 -6
  15. package/build/es/index.typings.mjs +3 -0
  16. package/build/es/index.typings.mjs.map +1 -1
  17. package/build/es/meta.d.mts +16 -5
  18. package/build/es/meta.mjs +3 -0
  19. package/build/es/meta.mjs.map +1 -1
  20. package/build/es/schemas.d.mts +16 -0
  21. package/build/es/schemas.mjs +32 -16
  22. package/build/es/schemas.mjs.map +1 -1
  23. package/build/internal/cjs/index.js +3 -0
  24. package/build/internal/cjs/index.js.map +1 -1
  25. package/build/internal/cjs/index.typings.d.ts +18 -6
  26. package/build/internal/cjs/index.typings.js +3 -0
  27. package/build/internal/cjs/index.typings.js.map +1 -1
  28. package/build/internal/cjs/meta.d.ts +16 -5
  29. package/build/internal/cjs/meta.js +3 -0
  30. package/build/internal/cjs/meta.js.map +1 -1
  31. package/build/internal/cjs/schemas.d.ts +16 -0
  32. package/build/internal/cjs/schemas.js +32 -16
  33. package/build/internal/cjs/schemas.js.map +1 -1
  34. package/build/internal/es/index.mjs +3 -0
  35. package/build/internal/es/index.mjs.map +1 -1
  36. package/build/internal/es/index.typings.d.mts +18 -6
  37. package/build/internal/es/index.typings.mjs +3 -0
  38. package/build/internal/es/index.typings.mjs.map +1 -1
  39. package/build/internal/es/meta.d.mts +16 -5
  40. package/build/internal/es/meta.mjs +3 -0
  41. package/build/internal/es/meta.mjs.map +1 -1
  42. package/build/internal/es/schemas.d.mts +16 -0
  43. package/build/internal/es/schemas.mjs +32 -16
  44. package/build/internal/es/schemas.mjs.map +1 -1
  45. package/package.json +2 -2
@@ -15,8 +15,10 @@ var CreateBranchRequest = z.object({
15
15
  sourceType: z.enum(["SOURCE_BRANCH"]).optional(),
16
16
  lastPublishDate: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe("Date and time the branch was last published.").optional().nullable(),
17
17
  editorType: z.object({
18
- editorTypeOptions: z.enum(["STUDIO", "CLASSIC"]).optional()
19
- }).describe("Wix editor type.").optional(),
18
+ editorTypeOptions: z.enum(["STUDIO", "CLASSIC", "HARMONY", "STUDIO_TWO"]).optional()
19
+ }).describe(
20
+ "Wix editor type.\nProvide this field only when the new branch uses a different editor than the branch it was created from, and the branch is not created from a template. Only `STUDIO_TWO` may be provided explicitly; otherwise the editor type is calculated automatically."
21
+ ).optional(),
20
22
  default: z.boolean().describe(
21
23
  "Whether this branch is the default branch. The default branch is used for API operations when no branch ID is specified."
22
24
  ).optional().nullable(),
@@ -84,8 +86,10 @@ var CreateBranchResponse = z.intersection(
84
86
  ).optional(),
85
87
  lastPublishDate: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe("Date and time the branch was last published.").optional().nullable(),
86
88
  editorType: z.object({
87
- editorTypeOptions: z.enum(["STUDIO", "CLASSIC"]).describe("Wix editor types.").optional()
88
- }).describe("Wix editor type.").optional(),
89
+ editorTypeOptions: z.enum(["STUDIO", "CLASSIC", "HARMONY", "STUDIO_TWO"]).describe("Wix editor types.").optional()
90
+ }).describe(
91
+ "Wix editor type.\nProvide this field only when the new branch uses a different editor than the branch it was created from, and the branch is not created from a template. Only `STUDIO_TWO` may be provided explicitly; otherwise the editor type is calculated automatically."
92
+ ).optional(),
89
93
  default: z.boolean().describe(
90
94
  "Whether this branch is the default branch. The default branch is used for API operations when no branch ID is specified."
91
95
  ).optional().nullable(),
@@ -158,8 +162,10 @@ var GetBranchResponse = z.intersection(
158
162
  ).optional(),
159
163
  lastPublishDate: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe("Date and time the branch was last published.").optional().nullable(),
160
164
  editorType: z.object({
161
- editorTypeOptions: z.enum(["STUDIO", "CLASSIC"]).describe("Wix editor types.").optional()
162
- }).describe("Wix editor type.").optional(),
165
+ editorTypeOptions: z.enum(["STUDIO", "CLASSIC", "HARMONY", "STUDIO_TWO"]).describe("Wix editor types.").optional()
166
+ }).describe(
167
+ "Wix editor type.\nProvide this field only when the new branch uses a different editor than the branch it was created from, and the branch is not created from a template. Only `STUDIO_TWO` may be provided explicitly; otherwise the editor type is calculated automatically."
168
+ ).optional(),
163
169
  default: z.boolean().describe(
164
170
  "Whether this branch is the default branch. The default branch is used for API operations when no branch ID is specified."
165
171
  ).optional().nullable(),
@@ -229,8 +235,10 @@ var UpdateBranchRequest = z.object({
229
235
  sourceType: z.enum(["SOURCE_BRANCH"]).optional(),
230
236
  lastPublishDate: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe("Date and time the branch was last published.").optional().nullable(),
231
237
  editorType: z.object({
232
- editorTypeOptions: z.enum(["STUDIO", "CLASSIC"]).optional()
233
- }).describe("Wix editor type.").optional(),
238
+ editorTypeOptions: z.enum(["STUDIO", "CLASSIC", "HARMONY", "STUDIO_TWO"]).optional()
239
+ }).describe(
240
+ "Wix editor type.\nProvide this field only when the new branch uses a different editor than the branch it was created from, and the branch is not created from a template. Only `STUDIO_TWO` may be provided explicitly; otherwise the editor type is calculated automatically."
241
+ ).optional(),
234
242
  default: z.boolean().describe(
235
243
  "Whether this branch is the default branch. The default branch is used for API operations when no branch ID is specified."
236
244
  ).optional().nullable(),
@@ -298,8 +306,10 @@ var UpdateBranchResponse = z.intersection(
298
306
  ).optional(),
299
307
  lastPublishDate: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe("Date and time the branch was last published.").optional().nullable(),
300
308
  editorType: z.object({
301
- editorTypeOptions: z.enum(["STUDIO", "CLASSIC"]).describe("Wix editor types.").optional()
302
- }).describe("Wix editor type.").optional(),
309
+ editorTypeOptions: z.enum(["STUDIO", "CLASSIC", "HARMONY", "STUDIO_TWO"]).describe("Wix editor types.").optional()
310
+ }).describe(
311
+ "Wix editor type.\nProvide this field only when the new branch uses a different editor than the branch it was created from, and the branch is not created from a template. Only `STUDIO_TWO` may be provided explicitly; otherwise the editor type is calculated automatically."
312
+ ).optional(),
303
313
  default: z.boolean().describe(
304
314
  "Whether this branch is the default branch. The default branch is used for API operations when no branch ID is specified."
305
315
  ).optional().nullable(),
@@ -405,8 +415,10 @@ var QueryBranchesResponse = z.object({
405
415
  ).optional(),
406
416
  lastPublishDate: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe("Date and time the branch was last published.").optional().nullable(),
407
417
  editorType: z.object({
408
- editorTypeOptions: z.enum(["STUDIO", "CLASSIC"]).describe("Wix editor types.").optional()
409
- }).describe("Wix editor type.").optional(),
418
+ editorTypeOptions: z.enum(["STUDIO", "CLASSIC", "HARMONY", "STUDIO_TWO"]).describe("Wix editor types.").optional()
419
+ }).describe(
420
+ "Wix editor type.\nProvide this field only when the new branch uses a different editor than the branch it was created from, and the branch is not created from a template. Only `STUDIO_TWO` may be provided explicitly; otherwise the editor type is calculated automatically."
421
+ ).optional(),
410
422
  default: z.boolean().describe(
411
423
  "Whether this branch is the default branch. The default branch is used for API operations when no branch ID is specified."
412
424
  ).optional().nullable(),
@@ -498,8 +510,10 @@ var SetDefaultBranchResponse = z.object({
498
510
  ).optional(),
499
511
  lastPublishDate: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe("Date and time the branch was last published.").optional().nullable(),
500
512
  editorType: z.object({
501
- editorTypeOptions: z.enum(["STUDIO", "CLASSIC"]).describe("Wix editor types.").optional()
502
- }).describe("Wix editor type.").optional(),
513
+ editorTypeOptions: z.enum(["STUDIO", "CLASSIC", "HARMONY", "STUDIO_TWO"]).describe("Wix editor types.").optional()
514
+ }).describe(
515
+ "Wix editor type.\nProvide this field only when the new branch uses a different editor than the branch it was created from, and the branch is not created from a template. Only `STUDIO_TWO` may be provided explicitly; otherwise the editor type is calculated automatically."
516
+ ).optional(),
503
517
  default: z.boolean().describe(
504
518
  "Whether this branch is the default branch. The default branch is used for API operations when no branch ID is specified."
505
519
  ).optional().nullable(),
@@ -569,8 +583,10 @@ var GetDefaultBranchResponse = z.object({
569
583
  ).optional(),
570
584
  lastPublishDate: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe("Date and time the branch was last published.").optional().nullable(),
571
585
  editorType: z.object({
572
- editorTypeOptions: z.enum(["STUDIO", "CLASSIC"]).describe("Wix editor types.").optional()
573
- }).describe("Wix editor type.").optional(),
586
+ editorTypeOptions: z.enum(["STUDIO", "CLASSIC", "HARMONY", "STUDIO_TWO"]).describe("Wix editor types.").optional()
587
+ }).describe(
588
+ "Wix editor type.\nProvide this field only when the new branch uses a different editor than the branch it was created from, and the branch is not created from a template. Only `STUDIO_TWO` may be provided explicitly; otherwise the editor type is calculated automatically."
589
+ ).optional(),
574
590
  default: z.boolean().describe(
575
591
  "Whether this branch is the default branch. The default branch is used for API operations when no branch ID is specified."
576
592
  ).optional().nullable(),
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/editor-branches-v1-branch-branches.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const CreateBranchRequest = z.object({\n branch: z\n .intersection(\n z.object({\n _id: z\n .string()\n .describe('Branch 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 .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the branch is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n type: z.enum(['USER', 'TECHNICAL', 'ORIGINAL_BRANCH']).optional(),\n name: z.string().describe('Branch name.').max(50).optional().nullable(),\n sourceType: z.enum(['SOURCE_BRANCH']).optional(),\n lastPublishDate: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Date and time the branch was last published.')\n .optional()\n .nullable(),\n editorType: z\n .object({\n editorTypeOptions: z.enum(['STUDIO', 'CLASSIC']).optional(),\n })\n .describe('Wix editor type.')\n .optional(),\n default: z\n .boolean()\n .describe(\n 'Whether this branch is the default branch. The default branch is used for API operations when no branch ID is specified.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the branch was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the branch was last updated.')\n .optional()\n .nullable(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe(\n 'Custom field data for the branch.\\n[Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n )\n .optional(),\n tags: z\n .object({\n tags: z\n .object({ tagIds: z.array(z.string()).max(100).optional() })\n .describe(\n 'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n )\n .optional(),\n })\n .describe('Public tags assigned to the branch.')\n .optional(),\n }),\n z.xor([\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z.never().optional(),\n }),\n z.object({\n sourceTemplateProperties: z.never().optional(),\n sourceBranchProperties: z\n .object({\n branchId: z\n .string()\n .describe('Source branch 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 branchRevision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number of the source branch when this branch was created. To prevent conflicting changes, the current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Source branch properties. Use when `sourceType` = `SOURCE_BRANCH`.'\n ),\n }),\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z\n .object({\n templateId: z\n .string()\n .describe('Source template 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 })\n .describe(\n 'Source template properties. Use when `sourceType` = `SOURCE_TEMPLATE`.'\n ),\n }),\n ])\n )\n .describe('Branch to create.'),\n});\nexport const CreateBranchResponse = z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Branch 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 .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the branch is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n type: z\n .enum(['USER', 'TECHNICAL', 'ORIGINAL_BRANCH'])\n .describe('Branch type.')\n .optional(),\n name: z.string().describe('Branch name.').max(50).optional().nullable(),\n sourceType: z\n .enum(['SOURCE_BRANCH'])\n .describe(\n \"Source type for this branch's content. Must be aligned with the corresponding source properties below.\"\n )\n .optional(),\n lastPublishDate: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Date and time the branch was last published.')\n .optional()\n .nullable(),\n editorType: z\n .object({\n editorTypeOptions: z\n .enum(['STUDIO', 'CLASSIC'])\n .describe('Wix editor types.')\n .optional(),\n })\n .describe('Wix editor type.')\n .optional(),\n default: z\n .boolean()\n .describe(\n 'Whether this branch is the default branch. The default branch is used for API operations when no branch ID is specified.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the branch was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the branch was last updated.')\n .optional()\n .nullable(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe(\n 'Custom field data for the branch.\\n[Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n )\n .optional(),\n tags: z\n .object({\n tags: z\n .object({ tagIds: z.array(z.string()).max(100).optional() })\n .describe(\n 'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n )\n .optional(),\n })\n .describe('Public tags assigned to the branch.')\n .optional(),\n }),\n z.xor([\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z.never().optional(),\n }),\n z.object({\n sourceTemplateProperties: z.never().optional(),\n sourceBranchProperties: z\n .object({\n branchId: z\n .string()\n .describe('Source branch 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 branchRevision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number of the source branch when this branch was created. To prevent conflicting changes, the current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Source branch properties. Use when `sourceType` = `SOURCE_BRANCH`.'\n ),\n }),\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z\n .object({\n templateId: z\n .string()\n .describe('Source template 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 })\n .describe(\n 'Source template properties. Use when `sourceType` = `SOURCE_TEMPLATE`.'\n ),\n }),\n ])\n);\nexport const GetBranchRequest = z.object({\n branchId: z\n .string()\n .describe('ID of the branch 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});\nexport const GetBranchResponse = z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Branch 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 .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the branch is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n type: z\n .enum(['USER', 'TECHNICAL', 'ORIGINAL_BRANCH'])\n .describe('Branch type.')\n .optional(),\n name: z.string().describe('Branch name.').max(50).optional().nullable(),\n sourceType: z\n .enum(['SOURCE_BRANCH'])\n .describe(\n \"Source type for this branch's content. Must be aligned with the corresponding source properties below.\"\n )\n .optional(),\n lastPublishDate: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Date and time the branch was last published.')\n .optional()\n .nullable(),\n editorType: z\n .object({\n editorTypeOptions: z\n .enum(['STUDIO', 'CLASSIC'])\n .describe('Wix editor types.')\n .optional(),\n })\n .describe('Wix editor type.')\n .optional(),\n default: z\n .boolean()\n .describe(\n 'Whether this branch is the default branch. The default branch is used for API operations when no branch ID is specified.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the branch was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the branch was last updated.')\n .optional()\n .nullable(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe(\n 'Custom field data for the branch.\\n[Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n )\n .optional(),\n tags: z\n .object({\n tags: z\n .object({ tagIds: z.array(z.string()).max(100).optional() })\n .describe(\n 'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n )\n .optional(),\n })\n .describe('Public tags assigned to the branch.')\n .optional(),\n }),\n z.xor([\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z.never().optional(),\n }),\n z.object({\n sourceTemplateProperties: z.never().optional(),\n sourceBranchProperties: z\n .object({\n branchId: z\n .string()\n .describe('Source branch 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 branchRevision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number of the source branch when this branch was created. To prevent conflicting changes, the current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Source branch properties. Use when `sourceType` = `SOURCE_BRANCH`.'\n ),\n }),\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z\n .object({\n templateId: z\n .string()\n .describe('Source template 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 })\n .describe(\n 'Source template properties. Use when `sourceType` = `SOURCE_TEMPLATE`.'\n ),\n }),\n ])\n);\nexport const UpdateBranchRequest = z.object({\n _id: z\n .string()\n .describe('Branch 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 branch: z\n .intersection(\n z.object({\n _id: z\n .string()\n .describe('Branch 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 .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the branch is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the branch.'\n ),\n type: z.enum(['USER', 'TECHNICAL', 'ORIGINAL_BRANCH']).optional(),\n name: z.string().describe('Branch name.').max(50).optional().nullable(),\n sourceType: z.enum(['SOURCE_BRANCH']).optional(),\n lastPublishDate: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Date and time the branch was last published.')\n .optional()\n .nullable(),\n editorType: z\n .object({\n editorTypeOptions: z.enum(['STUDIO', 'CLASSIC']).optional(),\n })\n .describe('Wix editor type.')\n .optional(),\n default: z\n .boolean()\n .describe(\n 'Whether this branch is the default branch. The default branch is used for API operations when no branch ID is specified.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the branch was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the branch was last updated.')\n .optional()\n .nullable(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe(\n 'Custom field data for the branch.\\n[Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n )\n .optional(),\n tags: z\n .object({\n tags: z\n .object({ tagIds: z.array(z.string()).max(100).optional() })\n .describe(\n 'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n )\n .optional(),\n })\n .describe('Public tags assigned to the branch.')\n .optional(),\n }),\n z.xor([\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z.never().optional(),\n }),\n z.object({\n sourceTemplateProperties: z.never().optional(),\n sourceBranchProperties: z\n .object({\n branchId: z\n .string()\n .describe('Source branch 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 branchRevision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number of the source branch when this branch was created. To prevent conflicting changes, the current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Source branch properties. Use when `sourceType` = `SOURCE_BRANCH`.'\n ),\n }),\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z\n .object({\n templateId: z\n .string()\n .describe('Source template 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 })\n .describe(\n 'Source template properties. Use when `sourceType` = `SOURCE_TEMPLATE`.'\n ),\n }),\n ])\n )\n .describe('Branch to update.'),\n});\nexport const UpdateBranchResponse = z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Branch 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 .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the branch is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n type: z\n .enum(['USER', 'TECHNICAL', 'ORIGINAL_BRANCH'])\n .describe('Branch type.')\n .optional(),\n name: z.string().describe('Branch name.').max(50).optional().nullable(),\n sourceType: z\n .enum(['SOURCE_BRANCH'])\n .describe(\n \"Source type for this branch's content. Must be aligned with the corresponding source properties below.\"\n )\n .optional(),\n lastPublishDate: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Date and time the branch was last published.')\n .optional()\n .nullable(),\n editorType: z\n .object({\n editorTypeOptions: z\n .enum(['STUDIO', 'CLASSIC'])\n .describe('Wix editor types.')\n .optional(),\n })\n .describe('Wix editor type.')\n .optional(),\n default: z\n .boolean()\n .describe(\n 'Whether this branch is the default branch. The default branch is used for API operations when no branch ID is specified.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the branch was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the branch was last updated.')\n .optional()\n .nullable(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe(\n 'Custom field data for the branch.\\n[Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n )\n .optional(),\n tags: z\n .object({\n tags: z\n .object({ tagIds: z.array(z.string()).max(100).optional() })\n .describe(\n 'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n )\n .optional(),\n })\n .describe('Public tags assigned to the branch.')\n .optional(),\n }),\n z.xor([\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z.never().optional(),\n }),\n z.object({\n sourceTemplateProperties: z.never().optional(),\n sourceBranchProperties: z\n .object({\n branchId: z\n .string()\n .describe('Source branch 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 branchRevision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number of the source branch when this branch was created. To prevent conflicting changes, the current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Source branch properties. Use when `sourceType` = `SOURCE_BRANCH`.'\n ),\n }),\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z\n .object({\n templateId: z\n .string()\n .describe('Source template 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 })\n .describe(\n 'Source template properties. Use when `sourceType` = `SOURCE_TEMPLATE`.'\n ),\n }),\n ])\n);\nexport const DeleteBranchRequest = z.object({\n branchId: z\n .string()\n .describe('ID of the branch 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 DeleteBranchResponse = z.object({});\nexport const QueryBranchesRequest = z.object({\n query: z\n .intersection(\n z.object({\n filter: z\n .record(z.string(), z.any())\n .describe(\n 'Filter object.\\n\\nLearn more about [filtering](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#filters).'\n )\n .optional()\n .nullable(),\n sort: z\n .array(\n z.object({\n fieldName: z\n .string()\n .describe('Name of the field to sort by.')\n .max(512)\n .optional(),\n order: z.enum(['ASC', 'DESC']).optional(),\n })\n )\n .max(5)\n .optional(),\n }),\n z.xor([\n z.object({ cursorPaging: z.never().optional() }),\n z.object({\n cursorPaging: 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 'Cursor paging options.\\n\\nLearn more about [cursor paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#cursor-paging).'\n ),\n }),\n ])\n )\n .describe(\n 'Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language) for more information.'\n ),\n});\nexport const QueryBranchesResponse = z.object({\n branches: z\n .array(\n z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Branch 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 .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the branch is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n type: z\n .enum(['USER', 'TECHNICAL', 'ORIGINAL_BRANCH'])\n .describe('Branch type.')\n .optional(),\n name: z\n .string()\n .describe('Branch name.')\n .max(50)\n .optional()\n .nullable(),\n sourceType: z\n .enum(['SOURCE_BRANCH'])\n .describe(\n \"Source type for this branch's content. Must be aligned with the corresponding source properties below.\"\n )\n .optional(),\n lastPublishDate: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Date and time the branch was last published.')\n .optional()\n .nullable(),\n editorType: z\n .object({\n editorTypeOptions: z\n .enum(['STUDIO', 'CLASSIC'])\n .describe('Wix editor types.')\n .optional(),\n })\n .describe('Wix editor type.')\n .optional(),\n default: z\n .boolean()\n .describe(\n 'Whether this branch is the default branch. The default branch is used for API operations when no branch ID is specified.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the branch was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the branch was last updated.')\n .optional()\n .nullable(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe(\n 'Custom field data for the branch.\\n[Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n )\n .optional(),\n tags: z\n .object({\n tags: z\n .object({ tagIds: z.array(z.string()).max(100).optional() })\n .describe(\n 'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n )\n .optional(),\n })\n .describe('Public tags assigned to the branch.')\n .optional(),\n }),\n z.xor([\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z.never().optional(),\n }),\n z.object({\n sourceTemplateProperties: z.never().optional(),\n sourceBranchProperties: z\n .object({\n branchId: z\n .string()\n .describe('Source branch 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 branchRevision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number of the source branch when this branch was created. To prevent conflicting changes, the current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Source branch properties. Use when `sourceType` = `SOURCE_BRANCH`.'\n ),\n }),\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z\n .object({\n templateId: z\n .string()\n .describe('Source template 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 })\n .describe(\n 'Source template properties. Use when `sourceType` = `SOURCE_TEMPLATE`.'\n ),\n }),\n ])\n )\n )\n .optional(),\n pagingMetadata: z\n .object({\n count: z\n .number()\n .int()\n .describe('Number of items returned in the response.')\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('Metadata for the paginated results.')\n .optional(),\n});\nexport const SetDefaultBranchRequest = z.object({\n branchId: z\n .string()\n .describe('Branch 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});\nexport const SetDefaultBranchResponse = z.object({\n branch: z\n .intersection(\n z.object({\n _id: z\n .string()\n .describe('Branch 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 .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the branch is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n type: z\n .enum(['USER', 'TECHNICAL', 'ORIGINAL_BRANCH'])\n .describe('Branch type.')\n .optional(),\n name: z.string().describe('Branch name.').max(50).optional().nullable(),\n sourceType: z\n .enum(['SOURCE_BRANCH'])\n .describe(\n \"Source type for this branch's content. Must be aligned with the corresponding source properties below.\"\n )\n .optional(),\n lastPublishDate: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Date and time the branch was last published.')\n .optional()\n .nullable(),\n editorType: z\n .object({\n editorTypeOptions: z\n .enum(['STUDIO', 'CLASSIC'])\n .describe('Wix editor types.')\n .optional(),\n })\n .describe('Wix editor type.')\n .optional(),\n default: z\n .boolean()\n .describe(\n 'Whether this branch is the default branch. The default branch is used for API operations when no branch ID is specified.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the branch was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the branch was last updated.')\n .optional()\n .nullable(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe(\n 'Custom field data for the branch.\\n[Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n )\n .optional(),\n tags: z\n .object({\n tags: z\n .object({ tagIds: z.array(z.string()).max(100).optional() })\n .describe(\n 'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n )\n .optional(),\n })\n .describe('Public tags assigned to the branch.')\n .optional(),\n }),\n z.xor([\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z.never().optional(),\n }),\n z.object({\n sourceTemplateProperties: z.never().optional(),\n sourceBranchProperties: z\n .object({\n branchId: z\n .string()\n .describe('Source branch 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 branchRevision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number of the source branch when this branch was created. To prevent conflicting changes, the current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Source branch properties. Use when `sourceType` = `SOURCE_BRANCH`.'\n ),\n }),\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z\n .object({\n templateId: z\n .string()\n .describe('Source template 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 })\n .describe(\n 'Source template properties. Use when `sourceType` = `SOURCE_TEMPLATE`.'\n ),\n }),\n ])\n )\n .describe('Updated branch.')\n .optional(),\n});\nexport const GetDefaultBranchRequest = z.object({});\nexport const GetDefaultBranchResponse = z.object({\n branch: z\n .intersection(\n z.object({\n _id: z\n .string()\n .describe('Branch 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 .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the branch is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n type: z\n .enum(['USER', 'TECHNICAL', 'ORIGINAL_BRANCH'])\n .describe('Branch type.')\n .optional(),\n name: z.string().describe('Branch name.').max(50).optional().nullable(),\n sourceType: z\n .enum(['SOURCE_BRANCH'])\n .describe(\n \"Source type for this branch's content. Must be aligned with the corresponding source properties below.\"\n )\n .optional(),\n lastPublishDate: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Date and time the branch was last published.')\n .optional()\n .nullable(),\n editorType: z\n .object({\n editorTypeOptions: z\n .enum(['STUDIO', 'CLASSIC'])\n .describe('Wix editor types.')\n .optional(),\n })\n .describe('Wix editor type.')\n .optional(),\n default: z\n .boolean()\n .describe(\n 'Whether this branch is the default branch. The default branch is used for API operations when no branch ID is specified.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the branch was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the branch was last updated.')\n .optional()\n .nullable(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe(\n 'Custom field data for the branch.\\n[Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n )\n .optional(),\n tags: z\n .object({\n tags: z\n .object({ tagIds: z.array(z.string()).max(100).optional() })\n .describe(\n 'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n )\n .optional(),\n })\n .describe('Public tags assigned to the branch.')\n .optional(),\n }),\n z.xor([\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z.never().optional(),\n }),\n z.object({\n sourceTemplateProperties: z.never().optional(),\n sourceBranchProperties: z\n .object({\n branchId: z\n .string()\n .describe('Source branch 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 branchRevision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number of the source branch when this branch was created. To prevent conflicting changes, the current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Source branch properties. Use when `sourceType` = `SOURCE_BRANCH`.'\n ),\n }),\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z\n .object({\n templateId: z\n .string()\n .describe('Source template 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 })\n .describe(\n 'Source template properties. Use when `sourceType` = `SOURCE_TEMPLATE`.'\n ),\n }),\n ])\n )\n .describe('Default branch.')\n .optional(),\n});\nexport const BulkUpdateBranchTagsRequest = z.object({\n branchIds: z.array(z.string()).min(1).max(100),\n options: z\n .object({\n assignTags: z\n .object({\n tags: z\n .object({ tagIds: z.array(z.string()).max(100).optional() })\n .describe(\n 'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n )\n .optional(),\n })\n .describe('Tags to assign to the branches.')\n .optional(),\n unassignTags: z\n .object({\n tags: z\n .object({ tagIds: z.array(z.string()).max(100).optional() })\n .describe(\n 'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n )\n .optional(),\n })\n .describe('Tags to unassign from the branches.')\n .optional(),\n })\n .optional(),\n});\nexport const BulkUpdateBranchTagsResponse = z.object({\n results: z\n .array(\n z.object({\n itemMetadata: z\n .object({\n _id: z\n .string()\n .describe(\n \"Item ID. Should always be available, unless it's impossible to provide. For example, when failing to create an item.\"\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 .nullable(),\n originalIndex: z\n .number()\n .int()\n .describe(\n 'Index of the item within the request array. Allows for correlation between request and response items.'\n )\n .optional(),\n success: z\n .boolean()\n .describe(\n 'Whether the requested action succeeded for this item. When `false`, the `error` field provides failure details.'\n )\n .optional(),\n error: z\n .object({\n code: z.string().describe('Error code.').optional(),\n description: z\n .string()\n .describe('Description of the error.')\n .optional(),\n data: z\n .record(z.string(), z.any())\n .describe('Data related to the error.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Details about the error if the operation failed for this item.'\n )\n .optional(),\n })\n .describe(\n 'Metadata about the result for a specific branch, including whether the operation succeeded.'\n )\n .optional(),\n })\n )\n .min(1)\n .max(100)\n .optional(),\n bulkActionMetadata: z\n .object({\n totalSuccesses: z\n .number()\n .int()\n .describe('Number of items that were successfully processed.')\n .optional(),\n totalFailures: z\n .number()\n .int()\n .describe(\"Number of items that couldn't be processed.\")\n .optional(),\n undetailedFailures: z\n .number()\n .int()\n .describe(\n 'Number of failures without detailed error information because the detailed failure threshold was exceeded.'\n )\n .optional(),\n })\n .describe(\n 'Metadata for the bulk operation, including counts of successes and failures.'\n )\n .optional(),\n});\nexport const BulkUpdateBranchTagsByFilterRequest = z.object({\n filter: z\n .record(z.string(), z.any())\n .describe(\n 'Filter to select which branches to update. See [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language) for more information.'\n ),\n options: z\n .object({\n assignTags: z\n .object({\n tags: z\n .object({ tagIds: z.array(z.string()).max(100).optional() })\n .describe(\n 'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n )\n .optional(),\n })\n .describe('Tags to assign to the branches.')\n .optional(),\n unassignTags: z\n .object({\n tags: z\n .object({ tagIds: z.array(z.string()).max(100).optional() })\n .describe(\n 'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n )\n .optional(),\n })\n .describe('Tags to unassign from the branches.')\n .optional(),\n })\n .optional(),\n});\nexport const BulkUpdateBranchTagsByFilterResponse = z.object({\n jobId: z\n .string()\n .describe(\n 'Job ID. Pass this ID to [Get Async Job](https://dev.wix.com/docs/api-reference/business-management/async-job/get-async-job) to retrieve the status of the asynchronous operation.'\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"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,sBAAwB,SAAO;AAAA,EAC1C,QACG;AAAA,IACG,SAAO;AAAA,MACP,KACG,SAAO,EACP,SAAS,YAAY,EACrB;AAAA,QACC;AAAA,QACA;AAAA,MACF,EACC,SAAS,EACT,SAAS;AAAA,MACZ,UACG,SAAO,EACP,MAAM,WAAW,8BAA8B,EAC/C;AAAA,QACC;AAAA,M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J,SAAS,6CAA6C,EACtD,SAAS;AAAA,IACZ,oBACG,SAAO,EACP,IAAI,EACJ;AAAA,MACC;AAAA,IACF,EACC,SAAS;AAAA,EACd,CAAC,EACA;AAAA,IACC;AAAA,EACF,EACC,SAAS;AACd,CAAC;AACM,IAAM,sCAAwC,SAAO;AAAA,EAC1D,QACG,SAAS,SAAO,GAAK,MAAI,CAAC,EAC1B;AAAA,IACC;AAAA,EACF;AAAA,EACF,SACG,SAAO;AAAA,IACN,YACG,SAAO;AAAA,MACN,MACG,SAAO,EAAE,QAAU,QAAQ,SAAO,CAAC,EAAE,IAAI,GAAG,EAAE,SAAS,EAAE,CAAC,EAC1D;AAAA,QACC;AAAA,MACF,EACC,SAAS;AAAA,IACd,CAAC,EACA,SAAS,iCAAiC,EAC1C,SAAS;AAAA,IACZ,cACG,SAAO;AAAA,MACN,MACG,SAAO,EAAE,QAAU,QAAQ,SAAO,CAAC,EAAE,IAAI,GAAG,EAAE,SAAS,EAAE,CAAC,EAC1D;AAAA,QACC;AAAA,MACF,EACC,SAAS;AAAA,IACd,CAAC,EACA,SAAS,qCAAqC,EAC9C,SAAS;AAAA,EACd,CAAC,EACA,SAAS;AACd,CAAC;AACM,IAAM,uCAAyC,SAAO;AAAA,EAC3D,OACG,SAAO,EACP;AAAA,IACC;AAAA,EACF,EACC;AAAA,IACC;AAAA,IACA;AAAA,EACF,EACC,SAAS;AACd,CAAC;","names":[]}
1
+ {"version":3,"sources":["../../../src/editor-branches-v1-branch-branches.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const CreateBranchRequest = z.object({\n branch: z\n .intersection(\n z.object({\n _id: z\n .string()\n .describe('Branch 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 .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the branch is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n type: z.enum(['USER', 'TECHNICAL', 'ORIGINAL_BRANCH']).optional(),\n name: z.string().describe('Branch name.').max(50).optional().nullable(),\n sourceType: z.enum(['SOURCE_BRANCH']).optional(),\n lastPublishDate: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Date and time the branch was last published.')\n .optional()\n .nullable(),\n editorType: z\n .object({\n editorTypeOptions: z\n .enum(['STUDIO', 'CLASSIC', 'HARMONY', 'STUDIO_TWO'])\n .optional(),\n })\n .describe(\n 'Wix editor type.\\nProvide this field only when the new branch uses a different editor than the branch it was created from, and the branch is not created from a template. Only `STUDIO_TWO` may be provided explicitly; otherwise the editor type is calculated automatically.'\n )\n .optional(),\n default: z\n .boolean()\n .describe(\n 'Whether this branch is the default branch. The default branch is used for API operations when no branch ID is specified.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the branch was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the branch was last updated.')\n .optional()\n .nullable(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe(\n 'Custom field data for the branch.\\n[Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n )\n .optional(),\n tags: z\n .object({\n tags: z\n .object({ tagIds: z.array(z.string()).max(100).optional() })\n .describe(\n 'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n )\n .optional(),\n })\n .describe('Public tags assigned to the branch.')\n .optional(),\n }),\n z.xor([\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z.never().optional(),\n }),\n z.object({\n sourceTemplateProperties: z.never().optional(),\n sourceBranchProperties: z\n .object({\n branchId: z\n .string()\n .describe('Source branch 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 branchRevision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number of the source branch when this branch was created. To prevent conflicting changes, the current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Source branch properties. Use when `sourceType` = `SOURCE_BRANCH`.'\n ),\n }),\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z\n .object({\n templateId: z\n .string()\n .describe('Source template 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 })\n .describe(\n 'Source template properties. Use when `sourceType` = `SOURCE_TEMPLATE`.'\n ),\n }),\n ])\n )\n .describe('Branch to create.'),\n});\nexport const CreateBranchResponse = z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Branch 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 .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the branch is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n type: z\n .enum(['USER', 'TECHNICAL', 'ORIGINAL_BRANCH'])\n .describe('Branch type.')\n .optional(),\n name: z.string().describe('Branch name.').max(50).optional().nullable(),\n sourceType: z\n .enum(['SOURCE_BRANCH'])\n .describe(\n \"Source type for this branch's content. Must be aligned with the corresponding source properties below.\"\n )\n .optional(),\n lastPublishDate: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Date and time the branch was last published.')\n .optional()\n .nullable(),\n editorType: z\n .object({\n editorTypeOptions: z\n .enum(['STUDIO', 'CLASSIC', 'HARMONY', 'STUDIO_TWO'])\n .describe('Wix editor types.')\n .optional(),\n })\n .describe(\n 'Wix editor type.\\nProvide this field only when the new branch uses a different editor than the branch it was created from, and the branch is not created from a template. Only `STUDIO_TWO` may be provided explicitly; otherwise the editor type is calculated automatically.'\n )\n .optional(),\n default: z\n .boolean()\n .describe(\n 'Whether this branch is the default branch. The default branch is used for API operations when no branch ID is specified.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the branch was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the branch was last updated.')\n .optional()\n .nullable(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe(\n 'Custom field data for the branch.\\n[Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n )\n .optional(),\n tags: z\n .object({\n tags: z\n .object({ tagIds: z.array(z.string()).max(100).optional() })\n .describe(\n 'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n )\n .optional(),\n })\n .describe('Public tags assigned to the branch.')\n .optional(),\n }),\n z.xor([\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z.never().optional(),\n }),\n z.object({\n sourceTemplateProperties: z.never().optional(),\n sourceBranchProperties: z\n .object({\n branchId: z\n .string()\n .describe('Source branch 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 branchRevision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number of the source branch when this branch was created. To prevent conflicting changes, the current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Source branch properties. Use when `sourceType` = `SOURCE_BRANCH`.'\n ),\n }),\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z\n .object({\n templateId: z\n .string()\n .describe('Source template 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 })\n .describe(\n 'Source template properties. Use when `sourceType` = `SOURCE_TEMPLATE`.'\n ),\n }),\n ])\n);\nexport const GetBranchRequest = z.object({\n branchId: z\n .string()\n .describe('ID of the branch 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});\nexport const GetBranchResponse = z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Branch 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 .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the branch is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n type: z\n .enum(['USER', 'TECHNICAL', 'ORIGINAL_BRANCH'])\n .describe('Branch type.')\n .optional(),\n name: z.string().describe('Branch name.').max(50).optional().nullable(),\n sourceType: z\n .enum(['SOURCE_BRANCH'])\n .describe(\n \"Source type for this branch's content. Must be aligned with the corresponding source properties below.\"\n )\n .optional(),\n lastPublishDate: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Date and time the branch was last published.')\n .optional()\n .nullable(),\n editorType: z\n .object({\n editorTypeOptions: z\n .enum(['STUDIO', 'CLASSIC', 'HARMONY', 'STUDIO_TWO'])\n .describe('Wix editor types.')\n .optional(),\n })\n .describe(\n 'Wix editor type.\\nProvide this field only when the new branch uses a different editor than the branch it was created from, and the branch is not created from a template. Only `STUDIO_TWO` may be provided explicitly; otherwise the editor type is calculated automatically.'\n )\n .optional(),\n default: z\n .boolean()\n .describe(\n 'Whether this branch is the default branch. The default branch is used for API operations when no branch ID is specified.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the branch was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the branch was last updated.')\n .optional()\n .nullable(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe(\n 'Custom field data for the branch.\\n[Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n )\n .optional(),\n tags: z\n .object({\n tags: z\n .object({ tagIds: z.array(z.string()).max(100).optional() })\n .describe(\n 'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n )\n .optional(),\n })\n .describe('Public tags assigned to the branch.')\n .optional(),\n }),\n z.xor([\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z.never().optional(),\n }),\n z.object({\n sourceTemplateProperties: z.never().optional(),\n sourceBranchProperties: z\n .object({\n branchId: z\n .string()\n .describe('Source branch 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 branchRevision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number of the source branch when this branch was created. To prevent conflicting changes, the current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Source branch properties. Use when `sourceType` = `SOURCE_BRANCH`.'\n ),\n }),\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z\n .object({\n templateId: z\n .string()\n .describe('Source template 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 })\n .describe(\n 'Source template properties. Use when `sourceType` = `SOURCE_TEMPLATE`.'\n ),\n }),\n ])\n);\nexport const UpdateBranchRequest = z.object({\n _id: z\n .string()\n .describe('Branch 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 branch: z\n .intersection(\n z.object({\n _id: z\n .string()\n .describe('Branch 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 .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the branch is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the branch.'\n ),\n type: z.enum(['USER', 'TECHNICAL', 'ORIGINAL_BRANCH']).optional(),\n name: z.string().describe('Branch name.').max(50).optional().nullable(),\n sourceType: z.enum(['SOURCE_BRANCH']).optional(),\n lastPublishDate: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Date and time the branch was last published.')\n .optional()\n .nullable(),\n editorType: z\n .object({\n editorTypeOptions: z\n .enum(['STUDIO', 'CLASSIC', 'HARMONY', 'STUDIO_TWO'])\n .optional(),\n })\n .describe(\n 'Wix editor type.\\nProvide this field only when the new branch uses a different editor than the branch it was created from, and the branch is not created from a template. Only `STUDIO_TWO` may be provided explicitly; otherwise the editor type is calculated automatically.'\n )\n .optional(),\n default: z\n .boolean()\n .describe(\n 'Whether this branch is the default branch. The default branch is used for API operations when no branch ID is specified.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the branch was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the branch was last updated.')\n .optional()\n .nullable(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe(\n 'Custom field data for the branch.\\n[Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n )\n .optional(),\n tags: z\n .object({\n tags: z\n .object({ tagIds: z.array(z.string()).max(100).optional() })\n .describe(\n 'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n )\n .optional(),\n })\n .describe('Public tags assigned to the branch.')\n .optional(),\n }),\n z.xor([\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z.never().optional(),\n }),\n z.object({\n sourceTemplateProperties: z.never().optional(),\n sourceBranchProperties: z\n .object({\n branchId: z\n .string()\n .describe('Source branch 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 branchRevision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number of the source branch when this branch was created. To prevent conflicting changes, the current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Source branch properties. Use when `sourceType` = `SOURCE_BRANCH`.'\n ),\n }),\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z\n .object({\n templateId: z\n .string()\n .describe('Source template 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 })\n .describe(\n 'Source template properties. Use when `sourceType` = `SOURCE_TEMPLATE`.'\n ),\n }),\n ])\n )\n .describe('Branch to update.'),\n});\nexport const UpdateBranchResponse = z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Branch 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 .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the branch is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n type: z\n .enum(['USER', 'TECHNICAL', 'ORIGINAL_BRANCH'])\n .describe('Branch type.')\n .optional(),\n name: z.string().describe('Branch name.').max(50).optional().nullable(),\n sourceType: z\n .enum(['SOURCE_BRANCH'])\n .describe(\n \"Source type for this branch's content. Must be aligned with the corresponding source properties below.\"\n )\n .optional(),\n lastPublishDate: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Date and time the branch was last published.')\n .optional()\n .nullable(),\n editorType: z\n .object({\n editorTypeOptions: z\n .enum(['STUDIO', 'CLASSIC', 'HARMONY', 'STUDIO_TWO'])\n .describe('Wix editor types.')\n .optional(),\n })\n .describe(\n 'Wix editor type.\\nProvide this field only when the new branch uses a different editor than the branch it was created from, and the branch is not created from a template. Only `STUDIO_TWO` may be provided explicitly; otherwise the editor type is calculated automatically.'\n )\n .optional(),\n default: z\n .boolean()\n .describe(\n 'Whether this branch is the default branch. The default branch is used for API operations when no branch ID is specified.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the branch was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the branch was last updated.')\n .optional()\n .nullable(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe(\n 'Custom field data for the branch.\\n[Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n )\n .optional(),\n tags: z\n .object({\n tags: z\n .object({ tagIds: z.array(z.string()).max(100).optional() })\n .describe(\n 'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n )\n .optional(),\n })\n .describe('Public tags assigned to the branch.')\n .optional(),\n }),\n z.xor([\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z.never().optional(),\n }),\n z.object({\n sourceTemplateProperties: z.never().optional(),\n sourceBranchProperties: z\n .object({\n branchId: z\n .string()\n .describe('Source branch 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 branchRevision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number of the source branch when this branch was created. To prevent conflicting changes, the current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Source branch properties. Use when `sourceType` = `SOURCE_BRANCH`.'\n ),\n }),\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z\n .object({\n templateId: z\n .string()\n .describe('Source template 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 })\n .describe(\n 'Source template properties. Use when `sourceType` = `SOURCE_TEMPLATE`.'\n ),\n }),\n ])\n);\nexport const DeleteBranchRequest = z.object({\n branchId: z\n .string()\n .describe('ID of the branch 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 DeleteBranchResponse = z.object({});\nexport const QueryBranchesRequest = z.object({\n query: z\n .intersection(\n z.object({\n filter: z\n .record(z.string(), z.any())\n .describe(\n 'Filter object.\\n\\nLearn more about [filtering](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#filters).'\n )\n .optional()\n .nullable(),\n sort: z\n .array(\n z.object({\n fieldName: z\n .string()\n .describe('Name of the field to sort by.')\n .max(512)\n .optional(),\n order: z.enum(['ASC', 'DESC']).optional(),\n })\n )\n .max(5)\n .optional(),\n }),\n z.xor([\n z.object({ cursorPaging: z.never().optional() }),\n z.object({\n cursorPaging: 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 'Cursor paging options.\\n\\nLearn more about [cursor paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#cursor-paging).'\n ),\n }),\n ])\n )\n .describe(\n 'Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language) for more information.'\n ),\n});\nexport const QueryBranchesResponse = z.object({\n branches: z\n .array(\n z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Branch 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 .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the branch is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n type: z\n .enum(['USER', 'TECHNICAL', 'ORIGINAL_BRANCH'])\n .describe('Branch type.')\n .optional(),\n name: z\n .string()\n .describe('Branch name.')\n .max(50)\n .optional()\n .nullable(),\n sourceType: z\n .enum(['SOURCE_BRANCH'])\n .describe(\n \"Source type for this branch's content. Must be aligned with the corresponding source properties below.\"\n )\n .optional(),\n lastPublishDate: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Date and time the branch was last published.')\n .optional()\n .nullable(),\n editorType: z\n .object({\n editorTypeOptions: z\n .enum(['STUDIO', 'CLASSIC', 'HARMONY', 'STUDIO_TWO'])\n .describe('Wix editor types.')\n .optional(),\n })\n .describe(\n 'Wix editor type.\\nProvide this field only when the new branch uses a different editor than the branch it was created from, and the branch is not created from a template. Only `STUDIO_TWO` may be provided explicitly; otherwise the editor type is calculated automatically.'\n )\n .optional(),\n default: z\n .boolean()\n .describe(\n 'Whether this branch is the default branch. The default branch is used for API operations when no branch ID is specified.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the branch was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the branch was last updated.')\n .optional()\n .nullable(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe(\n 'Custom field data for the branch.\\n[Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n )\n .optional(),\n tags: z\n .object({\n tags: z\n .object({ tagIds: z.array(z.string()).max(100).optional() })\n .describe(\n 'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n )\n .optional(),\n })\n .describe('Public tags assigned to the branch.')\n .optional(),\n }),\n z.xor([\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z.never().optional(),\n }),\n z.object({\n sourceTemplateProperties: z.never().optional(),\n sourceBranchProperties: z\n .object({\n branchId: z\n .string()\n .describe('Source branch 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 branchRevision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number of the source branch when this branch was created. To prevent conflicting changes, the current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Source branch properties. Use when `sourceType` = `SOURCE_BRANCH`.'\n ),\n }),\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z\n .object({\n templateId: z\n .string()\n .describe('Source template 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 })\n .describe(\n 'Source template properties. Use when `sourceType` = `SOURCE_TEMPLATE`.'\n ),\n }),\n ])\n )\n )\n .optional(),\n pagingMetadata: z\n .object({\n count: z\n .number()\n .int()\n .describe('Number of items returned in the response.')\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('Metadata for the paginated results.')\n .optional(),\n});\nexport const SetDefaultBranchRequest = z.object({\n branchId: z\n .string()\n .describe('Branch 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});\nexport const SetDefaultBranchResponse = z.object({\n branch: z\n .intersection(\n z.object({\n _id: z\n .string()\n .describe('Branch 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 .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the branch is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n type: z\n .enum(['USER', 'TECHNICAL', 'ORIGINAL_BRANCH'])\n .describe('Branch type.')\n .optional(),\n name: z.string().describe('Branch name.').max(50).optional().nullable(),\n sourceType: z\n .enum(['SOURCE_BRANCH'])\n .describe(\n \"Source type for this branch's content. Must be aligned with the corresponding source properties below.\"\n )\n .optional(),\n lastPublishDate: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Date and time the branch was last published.')\n .optional()\n .nullable(),\n editorType: z\n .object({\n editorTypeOptions: z\n .enum(['STUDIO', 'CLASSIC', 'HARMONY', 'STUDIO_TWO'])\n .describe('Wix editor types.')\n .optional(),\n })\n .describe(\n 'Wix editor type.\\nProvide this field only when the new branch uses a different editor than the branch it was created from, and the branch is not created from a template. Only `STUDIO_TWO` may be provided explicitly; otherwise the editor type is calculated automatically.'\n )\n .optional(),\n default: z\n .boolean()\n .describe(\n 'Whether this branch is the default branch. The default branch is used for API operations when no branch ID is specified.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the branch was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the branch was last updated.')\n .optional()\n .nullable(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe(\n 'Custom field data for the branch.\\n[Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n )\n .optional(),\n tags: z\n .object({\n tags: z\n .object({ tagIds: z.array(z.string()).max(100).optional() })\n .describe(\n 'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n )\n .optional(),\n })\n .describe('Public tags assigned to the branch.')\n .optional(),\n }),\n z.xor([\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z.never().optional(),\n }),\n z.object({\n sourceTemplateProperties: z.never().optional(),\n sourceBranchProperties: z\n .object({\n branchId: z\n .string()\n .describe('Source branch 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 branchRevision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number of the source branch when this branch was created. To prevent conflicting changes, the current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Source branch properties. Use when `sourceType` = `SOURCE_BRANCH`.'\n ),\n }),\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z\n .object({\n templateId: z\n .string()\n .describe('Source template 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 })\n .describe(\n 'Source template properties. Use when `sourceType` = `SOURCE_TEMPLATE`.'\n ),\n }),\n ])\n )\n .describe('Updated branch.')\n .optional(),\n});\nexport const GetDefaultBranchRequest = z.object({});\nexport const GetDefaultBranchResponse = z.object({\n branch: z\n .intersection(\n z.object({\n _id: z\n .string()\n .describe('Branch 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 .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the branch is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n type: z\n .enum(['USER', 'TECHNICAL', 'ORIGINAL_BRANCH'])\n .describe('Branch type.')\n .optional(),\n name: z.string().describe('Branch name.').max(50).optional().nullable(),\n sourceType: z\n .enum(['SOURCE_BRANCH'])\n .describe(\n \"Source type for this branch's content. Must be aligned with the corresponding source properties below.\"\n )\n .optional(),\n lastPublishDate: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Date and time the branch was last published.')\n .optional()\n .nullable(),\n editorType: z\n .object({\n editorTypeOptions: z\n .enum(['STUDIO', 'CLASSIC', 'HARMONY', 'STUDIO_TWO'])\n .describe('Wix editor types.')\n .optional(),\n })\n .describe(\n 'Wix editor type.\\nProvide this field only when the new branch uses a different editor than the branch it was created from, and the branch is not created from a template. Only `STUDIO_TWO` may be provided explicitly; otherwise the editor type is calculated automatically.'\n )\n .optional(),\n default: z\n .boolean()\n .describe(\n 'Whether this branch is the default branch. The default branch is used for API operations when no branch ID is specified.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the branch was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the branch was last updated.')\n .optional()\n .nullable(),\n extendedFields: z\n .object({\n namespaces: z\n .record(z.string(), z.record(z.string(), z.any()))\n .describe(\n 'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n )\n .optional(),\n })\n .describe(\n 'Custom field data for the branch.\\n[Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n )\n .optional(),\n tags: z\n .object({\n tags: z\n .object({ tagIds: z.array(z.string()).max(100).optional() })\n .describe(\n 'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n )\n .optional(),\n })\n .describe('Public tags assigned to the branch.')\n .optional(),\n }),\n z.xor([\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z.never().optional(),\n }),\n z.object({\n sourceTemplateProperties: z.never().optional(),\n sourceBranchProperties: z\n .object({\n branchId: z\n .string()\n .describe('Source branch 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 branchRevision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number of the source branch when this branch was created. To prevent conflicting changes, the current revision must be passed when updating the branch.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Source branch properties. Use when `sourceType` = `SOURCE_BRANCH`.'\n ),\n }),\n z.object({\n sourceBranchProperties: z.never().optional(),\n sourceTemplateProperties: z\n .object({\n templateId: z\n .string()\n .describe('Source template 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 })\n .describe(\n 'Source template properties. Use when `sourceType` = `SOURCE_TEMPLATE`.'\n ),\n }),\n ])\n )\n .describe('Default branch.')\n .optional(),\n});\nexport const BulkUpdateBranchTagsRequest = z.object({\n branchIds: z.array(z.string()).min(1).max(100),\n options: z\n .object({\n assignTags: z\n .object({\n tags: z\n .object({ tagIds: z.array(z.string()).max(100).optional() })\n .describe(\n 'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n )\n .optional(),\n })\n .describe('Tags to assign to the branches.')\n .optional(),\n unassignTags: z\n .object({\n tags: z\n .object({ tagIds: z.array(z.string()).max(100).optional() })\n .describe(\n 'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n )\n .optional(),\n })\n .describe('Tags to unassign from the branches.')\n .optional(),\n })\n .optional(),\n});\nexport const BulkUpdateBranchTagsResponse = z.object({\n results: z\n .array(\n z.object({\n itemMetadata: z\n .object({\n _id: z\n .string()\n .describe(\n \"Item ID. Should always be available, unless it's impossible to provide. For example, when failing to create an item.\"\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 .nullable(),\n originalIndex: z\n .number()\n .int()\n .describe(\n 'Index of the item within the request array. Allows for correlation between request and response items.'\n )\n .optional(),\n success: z\n .boolean()\n .describe(\n 'Whether the requested action succeeded for this item. When `false`, the `error` field provides failure details.'\n )\n .optional(),\n error: z\n .object({\n code: z.string().describe('Error code.').optional(),\n description: z\n .string()\n .describe('Description of the error.')\n .optional(),\n data: z\n .record(z.string(), z.any())\n .describe('Data related to the error.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Details about the error if the operation failed for this item.'\n )\n .optional(),\n })\n .describe(\n 'Metadata about the result for a specific branch, including whether the operation succeeded.'\n )\n .optional(),\n })\n )\n .min(1)\n .max(100)\n .optional(),\n bulkActionMetadata: z\n .object({\n totalSuccesses: z\n .number()\n .int()\n .describe('Number of items that were successfully processed.')\n .optional(),\n totalFailures: z\n .number()\n .int()\n .describe(\"Number of items that couldn't be processed.\")\n .optional(),\n undetailedFailures: z\n .number()\n .int()\n .describe(\n 'Number of failures without detailed error information because the detailed failure threshold was exceeded.'\n )\n .optional(),\n })\n .describe(\n 'Metadata for the bulk operation, including counts of successes and failures.'\n )\n .optional(),\n});\nexport const BulkUpdateBranchTagsByFilterRequest = z.object({\n filter: z\n .record(z.string(), z.any())\n .describe(\n 'Filter to select which branches to update. See [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language) for more information.'\n ),\n options: z\n .object({\n assignTags: z\n .object({\n tags: z\n .object({ tagIds: z.array(z.string()).max(100).optional() })\n .describe(\n 'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n )\n .optional(),\n })\n .describe('Tags to assign to the branches.')\n .optional(),\n unassignTags: z\n .object({\n tags: z\n .object({ tagIds: z.array(z.string()).max(100).optional() })\n .describe(\n 'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n )\n .optional(),\n })\n .describe('Tags to unassign from the branches.')\n .optional(),\n })\n .optional(),\n});\nexport const BulkUpdateBranchTagsByFilterResponse = z.object({\n jobId: z\n .string()\n .describe(\n 'Job ID. Pass this ID to [Get Async Job](https://dev.wix.com/docs/api-reference/business-management/async-job/get-async-job) to retrieve the status of the asynchronous operation.'\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"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,sBAAwB,SAAO;AAAA,EAC1C,QACG;AAAA,IACG,SAAO;AAAA,MACP,KACG,SAAO,EACP,SAAS,YAAY,EACrB;AAAA,QACC;AAAA,QACA;AAAA,MACF,EACC,SAAS,EACT,SAAS;AAAA,MACZ,UACG,SAAO,EACP,MAAM,WAAW,8BAA8B,EAC/C;AAAA,QACC;AAAA,MACF,EACC,SAAS,EACT,SAAS;AAAA,MACZ,MAAQ,OAAK,CAAC,QAAQ,aAAa,iBAAiB,CAAC,EAAE,SAAS;AAAA,MAChE,MAAQ,SAAO,EAAE,SAAS,cAAc,EAAE,IAAI,EAAE,EAAE,SA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SAAO,EACP,IAAI,EACJ;AAAA,MACC;AAAA,IACF,EACC,SAAS;AAAA,EACd,CAAC,EACA;AAAA,IACC;AAAA,EACF,EACC,SAAS;AACd,CAAC;AACM,IAAM,sCAAwC,SAAO;AAAA,EAC1D,QACG,SAAS,SAAO,GAAK,MAAI,CAAC,EAC1B;AAAA,IACC;AAAA,EACF;AAAA,EACF,SACG,SAAO;AAAA,IACN,YACG,SAAO;AAAA,MACN,MACG,SAAO,EAAE,QAAU,QAAQ,SAAO,CAAC,EAAE,IAAI,GAAG,EAAE,SAAS,EAAE,CAAC,EAC1D;AAAA,QACC;AAAA,MACF,EACC,SAAS;AAAA,IACd,CAAC,EACA,SAAS,iCAAiC,EAC1C,SAAS;AAAA,IACZ,cACG,SAAO;AAAA,MACN,MACG,SAAO,EAAE,QAAU,QAAQ,SAAO,CAAC,EAAE,IAAI,GAAG,EAAE,SAAS,EAAE,CAAC,EAC1D;AAAA,QACC;AAAA,MACF,EACC,SAAS;AAAA,IACd,CAAC,EACA,SAAS,qCAAqC,EAC9C,SAAS;AAAA,EACd,CAAC,EACA,SAAS;AACd,CAAC;AACM,IAAM,uCAAyC,SAAO;AAAA,EAC3D,OACG,SAAO,EACP;AAAA,IACC;AAAA,EACF,EACC;AAAA,IACC;AAAA,IACA;AAAA,EACF,EACC,SAAS;AACd,CAAC;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_editor-branches_branches",
3
- "version": "1.0.54",
3
+ "version": "1.0.55",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -57,5 +57,5 @@
57
57
  "fqdn": "wix.editor.branches.v1.branch"
58
58
  }
59
59
  },
60
- "falconPackageHash": "f5b47a4d183ca564bc63ba496aa363d9923ee11a7b5f73a7850a2345"
60
+ "falconPackageHash": "eff8395ebd2dcda7caf861774818b360e0970d50b2298a9965f2645e"
61
61
  }