{"version":3,"sources":["../../../src/benefit-programs-v1-pool-definition-pool-definitions.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const CreatePoolDefinitionRequest = z.object({\n  poolDefinition: z\n    .object({\n      _id: z\n        .string()\n        .describe('Pool definition 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 pool definition is updated.\\nTo prevent conflicting changes, the current revision must be specified when updating the pool definition.\\n\\nIgnored when creating a pool definition.'\n        )\n        .optional()\n        .nullable(),\n      _createdDate: z\n        .date()\n        .describe('Date and time the pool definition was created.')\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe('Date and time the pool definition was updated.')\n        .optional()\n        .nullable(),\n      displayName: z\n        .string()\n        .describe('Pool definition name.')\n        .max(128)\n        .optional(),\n      programDefinitionIds: z.array(z.string()).max(20).optional(),\n      details: z\n        .object({\n          benefits: z\n            .array(\n              z.object({\n                benefitKey: z\n                  .string()\n                  .describe(\n                    'Unique identifier for this benefit.\\n\\nThis key is consistent across the pool definition and all associated pools that contain this benefit.'\n                  )\n                  .max(64),\n                itemSetId: z\n                  .string()\n                  .describe(\n                    'ID that is used to associated items with this benefit.'\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                price: z\n                  .string()\n                  .describe(\n                    \"Price of the benefit in credits. The price is the same for all of this benefit's items.\"\n                  )\n                  .optional()\n                  .nullable(),\n                additionalData: z\n                  .record(z.string(), z.any())\n                  .describe('Additional information for this benefit.')\n                  .optional()\n                  .nullable(),\n                providerAppId: z\n                  .string()\n                  .describe('ID of the app providing the benefit items.')\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                displayName: z\n                  .string()\n                  .describe('Benefit name.')\n                  .max(40)\n                  .optional()\n                  .nullable(),\n                description: z\n                  .string()\n                  .describe('Benefit description.')\n                  .max(255)\n                  .optional()\n                  .nullable(),\n              })\n            )\n            .max(10),\n          creditConfiguration: z\n            .object({\n              amount: z\n                .string()\n                .describe('Initial available amount for associated balances.')\n                .optional(),\n              rolloverConfiguration: z\n                .object({\n                  enabled: z\n                    .boolean()\n                    .describe(\n                      'Whether unused credits roll over to a new cycle when a program renews.'\n                    )\n                    .optional()\n                    .nullable(),\n                  balanceCap: z\n                    .string()\n                    .describe(\n                      'Maximum number of credits that can roll over to the next cycle when a program renews.'\n                    )\n                    .optional()\n                    .nullable(),\n                })\n                .describe('Rollover settings.')\n                .optional(),\n              unitDisplayName: z\n                .string()\n                .describe('Credit unit display name.')\n                .max(32)\n                .optional()\n                .nullable(),\n            })\n            .describe(\n              \"Credit settings.\\n\\nIf this object is empty, you can't set a price for the benefit.\"\n            )\n            .optional(),\n          additionalData: z\n            .record(z.string(), z.any())\n            .describe('Additional information relating to this object.')\n            .optional()\n            .nullable(),\n        })\n        .describe('Pool definition benefits and settings.'),\n      namespace: z\n        .string()\n        .describe(\n          \"Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created.\"\n        )\n        .min(1)\n        .max(20),\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 pool definition object.\\n\\n[Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.'\n        )\n        .optional(),\n      programDefinitions: z\n        .array(\n          z.object({\n            _id: z\n              .string()\n              .describe('Program definition 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            externalId: z\n              .string()\n              .describe('Program definition external 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          })\n        )\n        .max(20)\n        .optional(),\n    })\n    .describe('Pool definition to create.'),\n  options: z\n    .object({\n      cascade: z\n        .enum([\n          'UNKNOWN_CASCADE',\n          'IMMEDIATELY',\n          'NEXT_RENEWAL',\n          'FUTURE_PROVISIONS',\n        ])\n        .optional(),\n    })\n    .optional(),\n});\nexport const CreatePoolDefinitionResponse = z.object({\n  _id: z\n    .string()\n    .describe('Pool definition 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 pool definition is updated.\\nTo prevent conflicting changes, the current revision must be specified when updating the pool definition.\\n\\nIgnored when creating a pool definition.'\n    )\n    .optional()\n    .nullable(),\n  _createdDate: z\n    .date()\n    .describe('Date and time the pool definition was created.')\n    .optional()\n    .nullable(),\n  _updatedDate: z\n    .date()\n    .describe('Date and time the pool definition was updated.')\n    .optional()\n    .nullable(),\n  displayName: z.string().describe('Pool definition name.').max(128).optional(),\n  programDefinitionIds: z.array(z.string()).max(20).optional(),\n  details: z\n    .object({\n      benefits: z\n        .array(\n          z.object({\n            benefitKey: z\n              .string()\n              .describe(\n                'Unique identifier for this benefit.\\n\\nThis key is consistent across the pool definition and all associated pools that contain this benefit.'\n              )\n              .max(64)\n              .optional(),\n            itemSetId: z\n              .string()\n              .describe(\n                'ID that is used to associated items with this benefit.'\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            price: z\n              .string()\n              .describe(\n                \"Price of the benefit in credits. The price is the same for all of this benefit's items.\"\n              )\n              .optional()\n              .nullable(),\n            additionalData: z\n              .record(z.string(), z.any())\n              .describe('Additional information for this benefit.')\n              .optional()\n              .nullable(),\n            providerAppId: z\n              .string()\n              .describe('ID of the app providing the benefit items.')\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            displayName: z\n              .string()\n              .describe('Benefit name.')\n              .max(40)\n              .optional()\n              .nullable(),\n            description: z\n              .string()\n              .describe('Benefit description.')\n              .max(255)\n              .optional()\n              .nullable(),\n          })\n        )\n        .max(10)\n        .optional(),\n      creditConfiguration: z\n        .object({\n          amount: z\n            .string()\n            .describe('Initial available amount for associated balances.')\n            .optional(),\n          rolloverConfiguration: z\n            .object({\n              enabled: z\n                .boolean()\n                .describe(\n                  'Whether unused credits roll over to a new cycle when a program renews.'\n                )\n                .optional()\n                .nullable(),\n              balanceCap: z\n                .string()\n                .describe(\n                  'Maximum number of credits that can roll over to the next cycle when a program renews.'\n                )\n                .optional()\n                .nullable(),\n            })\n            .describe('Rollover settings.')\n            .optional(),\n          unitDisplayName: z\n            .string()\n            .describe('Credit unit display name.')\n            .max(32)\n            .optional()\n            .nullable(),\n        })\n        .describe(\n          \"Credit settings.\\n\\nIf this object is empty, you can't set a price for the benefit.\"\n        )\n        .optional(),\n      additionalData: z\n        .record(z.string(), z.any())\n        .describe('Additional information relating to this object.')\n        .optional()\n        .nullable(),\n    })\n    .describe('Pool definition benefits and settings.')\n    .optional(),\n  namespace: z\n    .string()\n    .describe(\n      \"Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created.\"\n    )\n    .min(1)\n    .max(20)\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 pool definition object.\\n\\n[Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.'\n    )\n    .optional(),\n  programDefinitions: z\n    .array(\n      z.object({\n        _id: z\n          .string()\n          .describe('Program definition 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        externalId: z\n          .string()\n          .describe('Program definition external 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      })\n    )\n    .max(20)\n    .optional(),\n});\nexport const BulkCreatePoolDefinitionsRequest = z.object({\n  poolDefinitions: z\n    .array(\n      z.object({\n        _id: z\n          .string()\n          .describe('Pool definition 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 pool definition is updated.\\nTo prevent conflicting changes, the current revision must be specified when updating the pool definition.\\n\\nIgnored when creating a pool definition.'\n          )\n          .optional()\n          .nullable(),\n        _createdDate: z\n          .date()\n          .describe('Date and time the pool definition was created.')\n          .optional()\n          .nullable(),\n        _updatedDate: z\n          .date()\n          .describe('Date and time the pool definition was updated.')\n          .optional()\n          .nullable(),\n        displayName: z\n          .string()\n          .describe('Pool definition name.')\n          .max(128)\n          .optional(),\n        programDefinitionIds: z.array(z.string()).max(20).optional(),\n        details: z\n          .object({\n            benefits: z\n              .array(\n                z.object({\n                  benefitKey: z\n                    .string()\n                    .describe(\n                      'Unique identifier for this benefit.\\n\\nThis key is consistent across the pool definition and all associated pools that contain this benefit.'\n                    )\n                    .max(64),\n                  itemSetId: z\n                    .string()\n                    .describe(\n                      'ID that is used to associated items with this benefit.'\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                  price: z\n                    .string()\n                    .describe(\n                      \"Price of the benefit in credits. The price is the same for all of this benefit's items.\"\n                    )\n                    .optional()\n                    .nullable(),\n                  additionalData: z\n                    .record(z.string(), z.any())\n                    .describe('Additional information for this benefit.')\n                    .optional()\n                    .nullable(),\n                  providerAppId: z\n                    .string()\n                    .describe('ID of the app providing the benefit items.')\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                  displayName: z\n                    .string()\n                    .describe('Benefit name.')\n                    .max(40)\n                    .optional()\n                    .nullable(),\n                  description: z\n                    .string()\n                    .describe('Benefit description.')\n                    .max(255)\n                    .optional()\n                    .nullable(),\n                })\n              )\n              .max(10),\n            creditConfiguration: z\n              .object({\n                amount: z\n                  .string()\n                  .describe('Initial available amount for associated balances.')\n                  .optional(),\n                rolloverConfiguration: z\n                  .object({\n                    enabled: z\n                      .boolean()\n                      .describe(\n                        'Whether unused credits roll over to a new cycle when a program renews.'\n                      )\n                      .optional()\n                      .nullable(),\n                    balanceCap: z\n                      .string()\n                      .describe(\n                        'Maximum number of credits that can roll over to the next cycle when a program renews.'\n                      )\n                      .optional()\n                      .nullable(),\n                  })\n                  .describe('Rollover settings.')\n                  .optional(),\n                unitDisplayName: z\n                  .string()\n                  .describe('Credit unit display name.')\n                  .max(32)\n                  .optional()\n                  .nullable(),\n              })\n              .describe(\n                \"Credit settings.\\n\\nIf this object is empty, you can't set a price for the benefit.\"\n              )\n              .optional(),\n            additionalData: z\n              .record(z.string(), z.any())\n              .describe('Additional information relating to this object.')\n              .optional()\n              .nullable(),\n          })\n          .describe('Pool definition benefits and settings.'),\n        namespace: z\n          .string()\n          .describe(\n            \"Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created.\"\n          )\n          .min(1)\n          .max(20),\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 pool definition object.\\n\\n[Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.'\n          )\n          .optional(),\n        programDefinitions: z\n          .array(\n            z.object({\n              _id: z\n                .string()\n                .describe('Program definition 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              externalId: z\n                .string()\n                .describe('Program definition external 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            })\n          )\n          .max(20)\n          .optional(),\n      })\n    )\n    .min(1)\n    .max(100),\n  options: z\n    .object({\n      cascade: z\n        .enum([\n          'UNKNOWN_CASCADE',\n          'IMMEDIATELY',\n          'NEXT_RENEWAL',\n          'FUTURE_PROVISIONS',\n        ])\n        .optional(),\n      returnEntity: z\n        .boolean()\n        .describe(\n          'Whether to return the created pool definitions.\\n\\nDefault: `false`'\n        )\n        .optional(),\n    })\n    .optional(),\n});\nexport const BulkCreatePoolDefinitionsResponse = 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 (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 was successful for this item. When `false`, the `error` field is populated.'\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('Details about the error in case of failure.')\n              .optional(),\n          })\n          .describe('Item metadata.')\n          .optional(),\n        item: z\n          .object({\n            _id: z\n              .string()\n              .describe('Pool definition 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 pool definition is updated.\\nTo prevent conflicting changes, the current revision must be specified when updating the pool definition.\\n\\nIgnored when creating a pool definition.'\n              )\n              .optional()\n              .nullable(),\n            _createdDate: z\n              .date()\n              .describe('Date and time the pool definition was created.')\n              .optional()\n              .nullable(),\n            _updatedDate: z\n              .date()\n              .describe('Date and time the pool definition was updated.')\n              .optional()\n              .nullable(),\n            displayName: z\n              .string()\n              .describe('Pool definition name.')\n              .max(128)\n              .optional(),\n            programDefinitionIds: z.array(z.string()).max(20).optional(),\n            details: z\n              .object({\n                benefits: z\n                  .array(\n                    z.object({\n                      benefitKey: z\n                        .string()\n                        .describe(\n                          'Unique identifier for this benefit.\\n\\nThis key is consistent across the pool definition and all associated pools that contain this benefit.'\n                        )\n                        .max(64)\n                        .optional(),\n                      itemSetId: z\n                        .string()\n                        .describe(\n                          'ID that is used to associated items with this benefit.'\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                      price: z\n                        .string()\n                        .describe(\n                          \"Price of the benefit in credits. The price is the same for all of this benefit's items.\"\n                        )\n                        .optional()\n                        .nullable(),\n                      additionalData: z\n                        .record(z.string(), z.any())\n                        .describe('Additional information for this benefit.')\n                        .optional()\n                        .nullable(),\n                      providerAppId: z\n                        .string()\n                        .describe('ID of the app providing the benefit items.')\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                      displayName: z\n                        .string()\n                        .describe('Benefit name.')\n                        .max(40)\n                        .optional()\n                        .nullable(),\n                      description: z\n                        .string()\n                        .describe('Benefit description.')\n                        .max(255)\n                        .optional()\n                        .nullable(),\n                    })\n                  )\n                  .max(10)\n                  .optional(),\n                creditConfiguration: z\n                  .object({\n                    amount: z\n                      .string()\n                      .describe(\n                        'Initial available amount for associated balances.'\n                      )\n                      .optional(),\n                    rolloverConfiguration: z\n                      .object({\n                        enabled: z\n                          .boolean()\n                          .describe(\n                            'Whether unused credits roll over to a new cycle when a program renews.'\n                          )\n                          .optional()\n                          .nullable(),\n                        balanceCap: z\n                          .string()\n                          .describe(\n                            'Maximum number of credits that can roll over to the next cycle when a program renews.'\n                          )\n                          .optional()\n                          .nullable(),\n                      })\n                      .describe('Rollover settings.')\n                      .optional(),\n                    unitDisplayName: z\n                      .string()\n                      .describe('Credit unit display name.')\n                      .max(32)\n                      .optional()\n                      .nullable(),\n                  })\n                  .describe(\n                    \"Credit settings.\\n\\nIf this object is empty, you can't set a price for the benefit.\"\n                  )\n                  .optional(),\n                additionalData: z\n                  .record(z.string(), z.any())\n                  .describe('Additional information relating to this object.')\n                  .optional()\n                  .nullable(),\n              })\n              .describe('Pool definition benefits and settings.')\n              .optional(),\n            namespace: z\n              .string()\n              .describe(\n                \"Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created.\"\n              )\n              .min(1)\n              .max(20)\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 pool definition object.\\n\\n[Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.'\n              )\n              .optional(),\n            programDefinitions: z\n              .array(\n                z.object({\n                  _id: z\n                    .string()\n                    .describe('Program definition 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                  externalId: z\n                    .string()\n                    .describe('Program definition external 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                })\n              )\n              .max(20)\n              .optional(),\n          })\n          .describe('Pool definition.')\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 details because detailed failure threshold was exceeded.'\n        )\n        .optional(),\n    })\n    .describe('Bulk action metadata.')\n    .optional(),\n});\nexport const UpdatePoolDefinitionRequest = z.object({\n  _id: z\n    .string()\n    .describe('Pool definition 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  poolDefinition: z\n    .object({\n      _id: z\n        .string()\n        .describe('Pool definition 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 pool definition is updated.\\nTo prevent conflicting changes, the current revision must be specified when updating the pool definition.\\n\\nIgnored when creating a pool definition.'\n        ),\n      _createdDate: z\n        .date()\n        .describe('Date and time the pool definition was created.')\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe('Date and time the pool definition was updated.')\n        .optional()\n        .nullable(),\n      displayName: z\n        .string()\n        .describe('Pool definition name.')\n        .max(128)\n        .optional(),\n      programDefinitionIds: z.array(z.string()).max(20).optional(),\n      details: z\n        .object({\n          benefits: z\n            .array(\n              z.object({\n                benefitKey: z\n                  .string()\n                  .describe(\n                    'Unique identifier for this benefit.\\n\\nThis key is consistent across the pool definition and all associated pools that contain this benefit.'\n                  )\n                  .max(64)\n                  .optional(),\n                itemSetId: z\n                  .string()\n                  .describe(\n                    'ID that is used to associated items with this benefit.'\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                price: z\n                  .string()\n                  .describe(\n                    \"Price of the benefit in credits. The price is the same for all of this benefit's items.\"\n                  )\n                  .optional()\n                  .nullable(),\n                additionalData: z\n                  .record(z.string(), z.any())\n                  .describe('Additional information for this benefit.')\n                  .optional()\n                  .nullable(),\n                providerAppId: z\n                  .string()\n                  .describe('ID of the app providing the benefit items.')\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                displayName: z\n                  .string()\n                  .describe('Benefit name.')\n                  .max(40)\n                  .optional()\n                  .nullable(),\n                description: z\n                  .string()\n                  .describe('Benefit description.')\n                  .max(255)\n                  .optional()\n                  .nullable(),\n              })\n            )\n            .max(10)\n            .optional(),\n          creditConfiguration: z\n            .object({\n              amount: z\n                .string()\n                .describe('Initial available amount for associated balances.')\n                .optional(),\n              rolloverConfiguration: z\n                .object({\n                  enabled: z\n                    .boolean()\n                    .describe(\n                      'Whether unused credits roll over to a new cycle when a program renews.'\n                    )\n                    .optional()\n                    .nullable(),\n                  balanceCap: z\n                    .string()\n                    .describe(\n                      'Maximum number of credits that can roll over to the next cycle when a program renews.'\n                    )\n                    .optional()\n                    .nullable(),\n                })\n                .describe('Rollover settings.')\n                .optional(),\n              unitDisplayName: z\n                .string()\n                .describe('Credit unit display name.')\n                .max(32)\n                .optional()\n                .nullable(),\n            })\n            .describe(\n              \"Credit settings.\\n\\nIf this object is empty, you can't set a price for the benefit.\"\n            )\n            .optional(),\n          additionalData: z\n            .record(z.string(), z.any())\n            .describe('Additional information relating to this object.')\n            .optional()\n            .nullable(),\n        })\n        .describe('Pool definition benefits and settings.')\n        .optional(),\n      namespace: z\n        .string()\n        .describe(\n          \"Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created.\"\n        )\n        .min(1)\n        .max(20)\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 pool definition object.\\n\\n[Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.'\n        )\n        .optional(),\n      programDefinitions: z\n        .array(\n          z.object({\n            _id: z\n              .string()\n              .describe('Program definition 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            externalId: z\n              .string()\n              .describe('Program definition external 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          })\n        )\n        .max(20)\n        .optional(),\n    })\n    .describe('Pool definition to update.'),\n  options: z\n    .object({\n      cascade: z\n        .enum([\n          'UNKNOWN_CASCADE',\n          'IMMEDIATELY',\n          'NEXT_RENEWAL',\n          'FUTURE_PROVISIONS',\n        ])\n        .optional(),\n    })\n    .optional(),\n});\nexport const UpdatePoolDefinitionResponse = z.object({\n  _id: z\n    .string()\n    .describe('Pool definition 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 pool definition is updated.\\nTo prevent conflicting changes, the current revision must be specified when updating the pool definition.\\n\\nIgnored when creating a pool definition.'\n    )\n    .optional()\n    .nullable(),\n  _createdDate: z\n    .date()\n    .describe('Date and time the pool definition was created.')\n    .optional()\n    .nullable(),\n  _updatedDate: z\n    .date()\n    .describe('Date and time the pool definition was updated.')\n    .optional()\n    .nullable(),\n  displayName: z.string().describe('Pool definition name.').max(128).optional(),\n  programDefinitionIds: z.array(z.string()).max(20).optional(),\n  details: z\n    .object({\n      benefits: z\n        .array(\n          z.object({\n            benefitKey: z\n              .string()\n              .describe(\n                'Unique identifier for this benefit.\\n\\nThis key is consistent across the pool definition and all associated pools that contain this benefit.'\n              )\n              .max(64)\n              .optional(),\n            itemSetId: z\n              .string()\n              .describe(\n                'ID that is used to associated items with this benefit.'\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            price: z\n              .string()\n              .describe(\n                \"Price of the benefit in credits. The price is the same for all of this benefit's items.\"\n              )\n              .optional()\n              .nullable(),\n            additionalData: z\n              .record(z.string(), z.any())\n              .describe('Additional information for this benefit.')\n              .optional()\n              .nullable(),\n            providerAppId: z\n              .string()\n              .describe('ID of the app providing the benefit items.')\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            displayName: z\n              .string()\n              .describe('Benefit name.')\n              .max(40)\n              .optional()\n              .nullable(),\n            description: z\n              .string()\n              .describe('Benefit description.')\n              .max(255)\n              .optional()\n              .nullable(),\n          })\n        )\n        .max(10)\n        .optional(),\n      creditConfiguration: z\n        .object({\n          amount: z\n            .string()\n            .describe('Initial available amount for associated balances.')\n            .optional(),\n          rolloverConfiguration: z\n            .object({\n              enabled: z\n                .boolean()\n                .describe(\n                  'Whether unused credits roll over to a new cycle when a program renews.'\n                )\n                .optional()\n                .nullable(),\n              balanceCap: z\n                .string()\n                .describe(\n                  'Maximum number of credits that can roll over to the next cycle when a program renews.'\n                )\n                .optional()\n                .nullable(),\n            })\n            .describe('Rollover settings.')\n            .optional(),\n          unitDisplayName: z\n            .string()\n            .describe('Credit unit display name.')\n            .max(32)\n            .optional()\n            .nullable(),\n        })\n        .describe(\n          \"Credit settings.\\n\\nIf this object is empty, you can't set a price for the benefit.\"\n        )\n        .optional(),\n      additionalData: z\n        .record(z.string(), z.any())\n        .describe('Additional information relating to this object.')\n        .optional()\n        .nullable(),\n    })\n    .describe('Pool definition benefits and settings.')\n    .optional(),\n  namespace: z\n    .string()\n    .describe(\n      \"Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created.\"\n    )\n    .min(1)\n    .max(20)\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 pool definition object.\\n\\n[Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.'\n    )\n    .optional(),\n  programDefinitions: z\n    .array(\n      z.object({\n        _id: z\n          .string()\n          .describe('Program definition 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        externalId: z\n          .string()\n          .describe('Program definition external 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      })\n    )\n    .max(20)\n    .optional(),\n});\nexport const BulkUpdatePoolDefinitionsRequest = z.object({\n  options: z\n    .object({\n      poolDefinitions: z\n        .array(\n          z.object({\n            poolDefinition: z\n              .object({\n                _id: z\n                  .string()\n                  .describe('Pool definition ID.')\n                  .regex(\n                    /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n                    'Must be a valid GUID'\n                  ),\n                revision: z\n                  .string()\n                  .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n                  .describe(\n                    'Revision number, which increments by 1 each time the pool definition is updated.\\nTo prevent conflicting changes, the current revision must be specified when updating the pool definition.\\n\\nIgnored when creating a pool definition.'\n                  ),\n                _createdDate: z\n                  .date()\n                  .describe('Date and time the pool definition was created.')\n                  .optional()\n                  .nullable(),\n                _updatedDate: z\n                  .date()\n                  .describe('Date and time the pool definition was updated.')\n                  .optional()\n                  .nullable(),\n                displayName: z\n                  .string()\n                  .describe('Pool definition name.')\n                  .max(128)\n                  .optional(),\n                programDefinitionIds: z.array(z.string()).max(20).optional(),\n                details: z\n                  .object({\n                    benefits: z\n                      .array(\n                        z.object({\n                          benefitKey: z\n                            .string()\n                            .describe(\n                              'Unique identifier for this benefit.\\n\\nThis key is consistent across the pool definition and all associated pools that contain this benefit.'\n                            )\n                            .max(64)\n                            .optional(),\n                          itemSetId: z\n                            .string()\n                            .describe(\n                              'ID that is used to associated items with this benefit.'\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                          price: z\n                            .string()\n                            .describe(\n                              \"Price of the benefit in credits. The price is the same for all of this benefit's items.\"\n                            )\n                            .optional()\n                            .nullable(),\n                          additionalData: z\n                            .record(z.string(), z.any())\n                            .describe(\n                              'Additional information for this benefit.'\n                            )\n                            .optional()\n                            .nullable(),\n                          providerAppId: z\n                            .string()\n                            .describe(\n                              'ID of the app providing the benefit items.'\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                          displayName: z\n                            .string()\n                            .describe('Benefit name.')\n                            .max(40)\n                            .optional()\n                            .nullable(),\n                          description: z\n                            .string()\n                            .describe('Benefit description.')\n                            .max(255)\n                            .optional()\n                            .nullable(),\n                        })\n                      )\n                      .max(10)\n                      .optional(),\n                    creditConfiguration: z\n                      .object({\n                        amount: z\n                          .string()\n                          .describe(\n                            'Initial available amount for associated balances.'\n                          )\n                          .optional(),\n                        rolloverConfiguration: z\n                          .object({\n                            enabled: z\n                              .boolean()\n                              .describe(\n                                'Whether unused credits roll over to a new cycle when a program renews.'\n                              )\n                              .optional()\n                              .nullable(),\n                            balanceCap: z\n                              .string()\n                              .describe(\n                                'Maximum number of credits that can roll over to the next cycle when a program renews.'\n                              )\n                              .optional()\n                              .nullable(),\n                          })\n                          .describe('Rollover settings.')\n                          .optional(),\n                        unitDisplayName: z\n                          .string()\n                          .describe('Credit unit display name.')\n                          .max(32)\n                          .optional()\n                          .nullable(),\n                      })\n                      .describe(\n                        \"Credit settings.\\n\\nIf this object is empty, you can't set a price for the benefit.\"\n                      )\n                      .optional(),\n                    additionalData: z\n                      .record(z.string(), z.any())\n                      .describe(\n                        'Additional information relating to this object.'\n                      )\n                      .optional()\n                      .nullable(),\n                  })\n                  .describe('Pool definition benefits and settings.')\n                  .optional(),\n                namespace: z\n                  .string()\n                  .describe(\n                    \"Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created.\"\n                  )\n                  .min(1)\n                  .max(20)\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 pool definition object.\\n\\n[Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.'\n                  )\n                  .optional(),\n                programDefinitions: z\n                  .array(\n                    z.object({\n                      _id: z\n                        .string()\n                        .describe('Program definition 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                      externalId: z\n                        .string()\n                        .describe('Program definition external 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                    })\n                  )\n                  .max(20)\n                  .optional(),\n              })\n              .describe('Pool definition to update.'),\n            fieldMask: z.array(z.string()).optional(),\n          })\n        )\n        .min(1)\n        .max(100)\n        .optional(),\n      cascade: z\n        .enum([\n          'UNKNOWN_CASCADE',\n          'IMMEDIATELY',\n          'NEXT_RENEWAL',\n          'FUTURE_PROVISIONS',\n        ])\n        .optional(),\n      returnEntity: z\n        .boolean()\n        .describe(\n          'Whether to return the updated pool definitions.\\n\\nDefault: `false`'\n        )\n        .optional(),\n    })\n    .optional(),\n});\nexport const BulkUpdatePoolDefinitionsResponse = 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 (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 was successful for this item. When `false`, the `error` field is populated.'\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('Details about the error in case of failure.')\n              .optional(),\n          })\n          .describe('Item metadata.')\n          .optional(),\n        item: z\n          .object({\n            _id: z\n              .string()\n              .describe('Pool definition 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 pool definition is updated.\\nTo prevent conflicting changes, the current revision must be specified when updating the pool definition.\\n\\nIgnored when creating a pool definition.'\n              )\n              .optional()\n              .nullable(),\n            _createdDate: z\n              .date()\n              .describe('Date and time the pool definition was created.')\n              .optional()\n              .nullable(),\n            _updatedDate: z\n              .date()\n              .describe('Date and time the pool definition was updated.')\n              .optional()\n              .nullable(),\n            displayName: z\n              .string()\n              .describe('Pool definition name.')\n              .max(128)\n              .optional(),\n            programDefinitionIds: z.array(z.string()).max(20).optional(),\n            details: z\n              .object({\n                benefits: z\n                  .array(\n                    z.object({\n                      benefitKey: z\n                        .string()\n                        .describe(\n                          'Unique identifier for this benefit.\\n\\nThis key is consistent across the pool definition and all associated pools that contain this benefit.'\n                        )\n                        .max(64)\n                        .optional(),\n                      itemSetId: z\n                        .string()\n                        .describe(\n                          'ID that is used to associated items with this benefit.'\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                      price: z\n                        .string()\n                        .describe(\n                          \"Price of the benefit in credits. The price is the same for all of this benefit's items.\"\n                        )\n                        .optional()\n                        .nullable(),\n                      additionalData: z\n                        .record(z.string(), z.any())\n                        .describe('Additional information for this benefit.')\n                        .optional()\n                        .nullable(),\n                      providerAppId: z\n                        .string()\n                        .describe('ID of the app providing the benefit items.')\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                      displayName: z\n                        .string()\n                        .describe('Benefit name.')\n                        .max(40)\n                        .optional()\n                        .nullable(),\n                      description: z\n                        .string()\n                        .describe('Benefit description.')\n                        .max(255)\n                        .optional()\n                        .nullable(),\n                    })\n                  )\n                  .max(10)\n                  .optional(),\n                creditConfiguration: z\n                  .object({\n                    amount: z\n                      .string()\n                      .describe(\n                        'Initial available amount for associated balances.'\n                      )\n                      .optional(),\n                    rolloverConfiguration: z\n                      .object({\n                        enabled: z\n                          .boolean()\n                          .describe(\n                            'Whether unused credits roll over to a new cycle when a program renews.'\n                          )\n                          .optional()\n                          .nullable(),\n                        balanceCap: z\n                          .string()\n                          .describe(\n                            'Maximum number of credits that can roll over to the next cycle when a program renews.'\n                          )\n                          .optional()\n                          .nullable(),\n                      })\n                      .describe('Rollover settings.')\n                      .optional(),\n                    unitDisplayName: z\n                      .string()\n                      .describe('Credit unit display name.')\n                      .max(32)\n                      .optional()\n                      .nullable(),\n                  })\n                  .describe(\n                    \"Credit settings.\\n\\nIf this object is empty, you can't set a price for the benefit.\"\n                  )\n                  .optional(),\n                additionalData: z\n                  .record(z.string(), z.any())\n                  .describe('Additional information relating to this object.')\n                  .optional()\n                  .nullable(),\n              })\n              .describe('Pool definition benefits and settings.')\n              .optional(),\n            namespace: z\n              .string()\n              .describe(\n                \"Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created.\"\n              )\n              .min(1)\n              .max(20)\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 pool definition object.\\n\\n[Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.'\n              )\n              .optional(),\n            programDefinitions: z\n              .array(\n                z.object({\n                  _id: z\n                    .string()\n                    .describe('Program definition 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                  externalId: z\n                    .string()\n                    .describe('Program definition external 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                })\n              )\n              .max(20)\n              .optional(),\n          })\n          .describe('Pool definition.')\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 details because detailed failure threshold was exceeded.'\n        )\n        .optional(),\n    })\n    .describe('Bulk action metadata.')\n    .optional(),\n});\nexport const DeletePoolDefinitionRequest = z.object({\n  poolDefinitionId: z\n    .string()\n    .describe('ID of the pool definition 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  cascade: z.enum([\n    'UNKNOWN_CASCADE',\n    'IMMEDIATELY',\n    'NEXT_RENEWAL',\n    'FUTURE_PROVISIONS',\n  ]),\n});\nexport const DeletePoolDefinitionResponse = z.object({});\nexport const BulkDeletePoolDefinitionsRequest = z.object({\n  poolDefinitionIds: z.array(z.string()).min(1).max(100),\n  options: z\n    .object({\n      cascade: z\n        .enum([\n          'UNKNOWN_CASCADE',\n          'IMMEDIATELY',\n          'NEXT_RENEWAL',\n          'FUTURE_PROVISIONS',\n        ])\n        .optional(),\n    })\n    .optional(),\n});\nexport const BulkDeletePoolDefinitionsResponse = 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 (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 was successful for this item. When `false`, the `error` field is populated.'\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('Details about the error in case of failure.')\n              .optional(),\n          })\n          .describe('Item metadata.')\n          .optional(),\n        item: z\n          .object({\n            _id: z\n              .string()\n              .describe('Pool definition 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 pool definition is updated.\\nTo prevent conflicting changes, the current revision must be specified when updating the pool definition.\\n\\nIgnored when creating a pool definition.'\n              )\n              .optional()\n              .nullable(),\n            _createdDate: z\n              .date()\n              .describe('Date and time the pool definition was created.')\n              .optional()\n              .nullable(),\n            _updatedDate: z\n              .date()\n              .describe('Date and time the pool definition was updated.')\n              .optional()\n              .nullable(),\n            displayName: z\n              .string()\n              .describe('Pool definition name.')\n              .max(128)\n              .optional(),\n            programDefinitionIds: z.array(z.string()).max(20).optional(),\n            details: z\n              .object({\n                benefits: z\n                  .array(\n                    z.object({\n                      benefitKey: z\n                        .string()\n                        .describe(\n                          'Unique identifier for this benefit.\\n\\nThis key is consistent across the pool definition and all associated pools that contain this benefit.'\n                        )\n                        .max(64)\n                        .optional(),\n                      itemSetId: z\n                        .string()\n                        .describe(\n                          'ID that is used to associated items with this benefit.'\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                      price: z\n                        .string()\n                        .describe(\n                          \"Price of the benefit in credits. The price is the same for all of this benefit's items.\"\n                        )\n                        .optional()\n                        .nullable(),\n                      additionalData: z\n                        .record(z.string(), z.any())\n                        .describe('Additional information for this benefit.')\n                        .optional()\n                        .nullable(),\n                      providerAppId: z\n                        .string()\n                        .describe('ID of the app providing the benefit items.')\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                      displayName: z\n                        .string()\n                        .describe('Benefit name.')\n                        .max(40)\n                        .optional()\n                        .nullable(),\n                      description: z\n                        .string()\n                        .describe('Benefit description.')\n                        .max(255)\n                        .optional()\n                        .nullable(),\n                    })\n                  )\n                  .max(10)\n                  .optional(),\n                creditConfiguration: z\n                  .object({\n                    amount: z\n                      .string()\n                      .describe(\n                        'Initial available amount for associated balances.'\n                      )\n                      .optional(),\n                    rolloverConfiguration: z\n                      .object({\n                        enabled: z\n                          .boolean()\n                          .describe(\n                            'Whether unused credits roll over to a new cycle when a program renews.'\n                          )\n                          .optional()\n                          .nullable(),\n                        balanceCap: z\n                          .string()\n                          .describe(\n                            'Maximum number of credits that can roll over to the next cycle when a program renews.'\n                          )\n                          .optional()\n                          .nullable(),\n                      })\n                      .describe('Rollover settings.')\n                      .optional(),\n                    unitDisplayName: z\n                      .string()\n                      .describe('Credit unit display name.')\n                      .max(32)\n                      .optional()\n                      .nullable(),\n                  })\n                  .describe(\n                    \"Credit settings.\\n\\nIf this object is empty, you can't set a price for the benefit.\"\n                  )\n                  .optional(),\n                additionalData: z\n                  .record(z.string(), z.any())\n                  .describe('Additional information relating to this object.')\n                  .optional()\n                  .nullable(),\n              })\n              .describe('Pool definition benefits and settings.')\n              .optional(),\n            namespace: z\n              .string()\n              .describe(\n                \"Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created.\"\n              )\n              .min(1)\n              .max(20)\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 pool definition object.\\n\\n[Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.'\n              )\n              .optional(),\n            programDefinitions: z\n              .array(\n                z.object({\n                  _id: z\n                    .string()\n                    .describe('Program definition 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                  externalId: z\n                    .string()\n                    .describe('Program definition external 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                })\n              )\n              .max(20)\n              .optional(),\n          })\n          .describe('Pool definition.')\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 details because detailed failure threshold was exceeded.'\n        )\n        .optional(),\n    })\n    .describe('Bulk action metadata.')\n    .optional(),\n});\nexport const GetPoolDefinitionRequest = z.object({\n  poolDefinitionId: z\n    .string()\n    .describe('ID of the pool definition 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 GetPoolDefinitionResponse = z.object({\n  _id: z\n    .string()\n    .describe('Pool definition 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 pool definition is updated.\\nTo prevent conflicting changes, the current revision must be specified when updating the pool definition.\\n\\nIgnored when creating a pool definition.'\n    )\n    .optional()\n    .nullable(),\n  _createdDate: z\n    .date()\n    .describe('Date and time the pool definition was created.')\n    .optional()\n    .nullable(),\n  _updatedDate: z\n    .date()\n    .describe('Date and time the pool definition was updated.')\n    .optional()\n    .nullable(),\n  displayName: z.string().describe('Pool definition name.').max(128).optional(),\n  programDefinitionIds: z.array(z.string()).max(20).optional(),\n  details: z\n    .object({\n      benefits: z\n        .array(\n          z.object({\n            benefitKey: z\n              .string()\n              .describe(\n                'Unique identifier for this benefit.\\n\\nThis key is consistent across the pool definition and all associated pools that contain this benefit.'\n              )\n              .max(64)\n              .optional(),\n            itemSetId: z\n              .string()\n              .describe(\n                'ID that is used to associated items with this benefit.'\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            price: z\n              .string()\n              .describe(\n                \"Price of the benefit in credits. The price is the same for all of this benefit's items.\"\n              )\n              .optional()\n              .nullable(),\n            additionalData: z\n              .record(z.string(), z.any())\n              .describe('Additional information for this benefit.')\n              .optional()\n              .nullable(),\n            providerAppId: z\n              .string()\n              .describe('ID of the app providing the benefit items.')\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            displayName: z\n              .string()\n              .describe('Benefit name.')\n              .max(40)\n              .optional()\n              .nullable(),\n            description: z\n              .string()\n              .describe('Benefit description.')\n              .max(255)\n              .optional()\n              .nullable(),\n          })\n        )\n        .max(10)\n        .optional(),\n      creditConfiguration: z\n        .object({\n          amount: z\n            .string()\n            .describe('Initial available amount for associated balances.')\n            .optional(),\n          rolloverConfiguration: z\n            .object({\n              enabled: z\n                .boolean()\n                .describe(\n                  'Whether unused credits roll over to a new cycle when a program renews.'\n                )\n                .optional()\n                .nullable(),\n              balanceCap: z\n                .string()\n                .describe(\n                  'Maximum number of credits that can roll over to the next cycle when a program renews.'\n                )\n                .optional()\n                .nullable(),\n            })\n            .describe('Rollover settings.')\n            .optional(),\n          unitDisplayName: z\n            .string()\n            .describe('Credit unit display name.')\n            .max(32)\n            .optional()\n            .nullable(),\n        })\n        .describe(\n          \"Credit settings.\\n\\nIf this object is empty, you can't set a price for the benefit.\"\n        )\n        .optional(),\n      additionalData: z\n        .record(z.string(), z.any())\n        .describe('Additional information relating to this object.')\n        .optional()\n        .nullable(),\n    })\n    .describe('Pool definition benefits and settings.')\n    .optional(),\n  namespace: z\n    .string()\n    .describe(\n      \"Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created.\"\n    )\n    .min(1)\n    .max(20)\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 pool definition object.\\n\\n[Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.'\n    )\n    .optional(),\n  programDefinitions: z\n    .array(\n      z.object({\n        _id: z\n          .string()\n          .describe('Program definition 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        externalId: z\n          .string()\n          .describe('Program definition external 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      })\n    )\n    .max(20)\n    .optional(),\n});\nexport const QueryPoolDefinitionsRequest = z.object({\n  query: z\n    .intersection(\n      z.object({\n        filter: z\n          .record(z.string(), z.any())\n          .describe(\n            'Filter object.\\nSee [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)\\nfor more information.'\n          )\n          .optional()\n          .nullable(),\n        sort: z\n          .array(\n            z.object({\n              fieldName: z\n                .string()\n                .describe('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.')\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 token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`.'\n            ),\n        }),\n      ])\n    )\n    .describe('Filter, sort, and paging to apply to the query.'),\n});\nexport const QueryPoolDefinitionsResponse = z.object({\n  poolDefinitions: z\n    .array(\n      z.object({\n        _id: z\n          .string()\n          .describe('Pool definition 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 pool definition is updated.\\nTo prevent conflicting changes, the current revision must be specified when updating the pool definition.\\n\\nIgnored when creating a pool definition.'\n          )\n          .optional()\n          .nullable(),\n        _createdDate: z\n          .date()\n          .describe('Date and time the pool definition was created.')\n          .optional()\n          .nullable(),\n        _updatedDate: z\n          .date()\n          .describe('Date and time the pool definition was updated.')\n          .optional()\n          .nullable(),\n        displayName: z\n          .string()\n          .describe('Pool definition name.')\n          .max(128)\n          .optional(),\n        programDefinitionIds: z.array(z.string()).max(20).optional(),\n        details: z\n          .object({\n            benefits: z\n              .array(\n                z.object({\n                  benefitKey: z\n                    .string()\n                    .describe(\n                      'Unique identifier for this benefit.\\n\\nThis key is consistent across the pool definition and all associated pools that contain this benefit.'\n                    )\n                    .max(64)\n                    .optional(),\n                  itemSetId: z\n                    .string()\n                    .describe(\n                      'ID that is used to associated items with this benefit.'\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                  price: z\n                    .string()\n                    .describe(\n                      \"Price of the benefit in credits. The price is the same for all of this benefit's items.\"\n                    )\n                    .optional()\n                    .nullable(),\n                  additionalData: z\n                    .record(z.string(), z.any())\n                    .describe('Additional information for this benefit.')\n                    .optional()\n                    .nullable(),\n                  providerAppId: z\n                    .string()\n                    .describe('ID of the app providing the benefit items.')\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                  displayName: z\n                    .string()\n                    .describe('Benefit name.')\n                    .max(40)\n                    .optional()\n                    .nullable(),\n                  description: z\n                    .string()\n                    .describe('Benefit description.')\n                    .max(255)\n                    .optional()\n                    .nullable(),\n                })\n              )\n              .max(10)\n              .optional(),\n            creditConfiguration: z\n              .object({\n                amount: z\n                  .string()\n                  .describe('Initial available amount for associated balances.')\n                  .optional(),\n                rolloverConfiguration: z\n                  .object({\n                    enabled: z\n                      .boolean()\n                      .describe(\n                        'Whether unused credits roll over to a new cycle when a program renews.'\n                      )\n                      .optional()\n                      .nullable(),\n                    balanceCap: z\n                      .string()\n                      .describe(\n                        'Maximum number of credits that can roll over to the next cycle when a program renews.'\n                      )\n                      .optional()\n                      .nullable(),\n                  })\n                  .describe('Rollover settings.')\n                  .optional(),\n                unitDisplayName: z\n                  .string()\n                  .describe('Credit unit display name.')\n                  .max(32)\n                  .optional()\n                  .nullable(),\n              })\n              .describe(\n                \"Credit settings.\\n\\nIf this object is empty, you can't set a price for the benefit.\"\n              )\n              .optional(),\n            additionalData: z\n              .record(z.string(), z.any())\n              .describe('Additional information relating to this object.')\n              .optional()\n              .nullable(),\n          })\n          .describe('Pool definition benefits and settings.')\n          .optional(),\n        namespace: z\n          .string()\n          .describe(\n            \"Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created.\"\n          )\n          .min(1)\n          .max(20)\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 pool definition object.\\n\\n[Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.'\n          )\n          .optional(),\n        programDefinitions: z\n          .array(\n            z.object({\n              _id: z\n                .string()\n                .describe('Program definition 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              externalId: z\n                .string()\n                .describe('Program definition external 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            })\n          )\n          .max(20)\n          .optional(),\n      })\n    )\n    .optional(),\n  metadata: 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 AddPoolDefinitionToProgramDefinitionRequest = z.object({\n  poolDefinitionId: z\n    .string()\n    .describe('ID of the pool definition to add to the program definition.')\n    .regex(\n      /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n      'Must be a valid GUID'\n    ),\n  options: z.object({\n    programDefinitionId: z\n      .string()\n      .describe('ID of the program definition to add the pool definition to.')\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    cascade: z.enum([\n      'UNKNOWN_CASCADE',\n      'IMMEDIATELY',\n      'NEXT_RENEWAL',\n      'FUTURE_PROVISIONS',\n    ]),\n  }),\n});\nexport const AddPoolDefinitionToProgramDefinitionResponse = z.object({\n  poolDefinition: z\n    .object({\n      _id: z\n        .string()\n        .describe('Pool definition 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 pool definition is updated.\\nTo prevent conflicting changes, the current revision must be specified when updating the pool definition.\\n\\nIgnored when creating a pool definition.'\n        )\n        .optional()\n        .nullable(),\n      _createdDate: z\n        .date()\n        .describe('Date and time the pool definition was created.')\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe('Date and time the pool definition was updated.')\n        .optional()\n        .nullable(),\n      displayName: z\n        .string()\n        .describe('Pool definition name.')\n        .max(128)\n        .optional(),\n      programDefinitionIds: z.array(z.string()).max(20).optional(),\n      details: z\n        .object({\n          benefits: z\n            .array(\n              z.object({\n                benefitKey: z\n                  .string()\n                  .describe(\n                    'Unique identifier for this benefit.\\n\\nThis key is consistent across the pool definition and all associated pools that contain this benefit.'\n                  )\n                  .max(64)\n                  .optional(),\n                itemSetId: z\n                  .string()\n                  .describe(\n                    'ID that is used to associated items with this benefit.'\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                price: z\n                  .string()\n                  .describe(\n                    \"Price of the benefit in credits. The price is the same for all of this benefit's items.\"\n                  )\n                  .optional()\n                  .nullable(),\n                additionalData: z\n                  .record(z.string(), z.any())\n                  .describe('Additional information for this benefit.')\n                  .optional()\n                  .nullable(),\n                providerAppId: z\n                  .string()\n                  .describe('ID of the app providing the benefit items.')\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                displayName: z\n                  .string()\n                  .describe('Benefit name.')\n                  .max(40)\n                  .optional()\n                  .nullable(),\n                description: z\n                  .string()\n                  .describe('Benefit description.')\n                  .max(255)\n                  .optional()\n                  .nullable(),\n              })\n            )\n            .max(10)\n            .optional(),\n          creditConfiguration: z\n            .object({\n              amount: z\n                .string()\n                .describe('Initial available amount for associated balances.')\n                .optional(),\n              rolloverConfiguration: z\n                .object({\n                  enabled: z\n                    .boolean()\n                    .describe(\n                      'Whether unused credits roll over to a new cycle when a program renews.'\n                    )\n                    .optional()\n                    .nullable(),\n                  balanceCap: z\n                    .string()\n                    .describe(\n                      'Maximum number of credits that can roll over to the next cycle when a program renews.'\n                    )\n                    .optional()\n                    .nullable(),\n                })\n                .describe('Rollover settings.')\n                .optional(),\n              unitDisplayName: z\n                .string()\n                .describe('Credit unit display name.')\n                .max(32)\n                .optional()\n                .nullable(),\n            })\n            .describe(\n              \"Credit settings.\\n\\nIf this object is empty, you can't set a price for the benefit.\"\n            )\n            .optional(),\n          additionalData: z\n            .record(z.string(), z.any())\n            .describe('Additional information relating to this object.')\n            .optional()\n            .nullable(),\n        })\n        .describe('Pool definition benefits and settings.')\n        .optional(),\n      namespace: z\n        .string()\n        .describe(\n          \"Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created.\"\n        )\n        .min(1)\n        .max(20)\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 pool definition object.\\n\\n[Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.'\n        )\n        .optional(),\n      programDefinitions: z\n        .array(\n          z.object({\n            _id: z\n              .string()\n              .describe('Program definition 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            externalId: z\n              .string()\n              .describe('Program definition external 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          })\n        )\n        .max(20)\n        .optional(),\n    })\n    .describe('Updated pool definition.')\n    .optional(),\n});\nexport const RemovePoolDefinitionFromProgramDefinitionRequest = z.object({\n  poolDefinitionId: z\n    .string()\n    .describe(\n      'ID of the pool definition to remove from the program definition.'\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  options: z.object({\n    programDefinitionId: z\n      .string()\n      .describe(\n        'ID of the program definition to remove the pool definition from.'\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    cascade: z.enum([\n      'UNKNOWN_CASCADE',\n      'IMMEDIATELY',\n      'NEXT_RENEWAL',\n      'FUTURE_PROVISIONS',\n    ]),\n  }),\n});\nexport const RemovePoolDefinitionFromProgramDefinitionResponse = z.object({\n  poolDefinition: z\n    .object({\n      _id: z\n        .string()\n        .describe('Pool definition 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 pool definition is updated.\\nTo prevent conflicting changes, the current revision must be specified when updating the pool definition.\\n\\nIgnored when creating a pool definition.'\n        )\n        .optional()\n        .nullable(),\n      _createdDate: z\n        .date()\n        .describe('Date and time the pool definition was created.')\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe('Date and time the pool definition was updated.')\n        .optional()\n        .nullable(),\n      displayName: z\n        .string()\n        .describe('Pool definition name.')\n        .max(128)\n        .optional(),\n      programDefinitionIds: z.array(z.string()).max(20).optional(),\n      details: z\n        .object({\n          benefits: z\n            .array(\n              z.object({\n                benefitKey: z\n                  .string()\n                  .describe(\n                    'Unique identifier for this benefit.\\n\\nThis key is consistent across the pool definition and all associated pools that contain this benefit.'\n                  )\n                  .max(64)\n                  .optional(),\n                itemSetId: z\n                  .string()\n                  .describe(\n                    'ID that is used to associated items with this benefit.'\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                price: z\n                  .string()\n                  .describe(\n                    \"Price of the benefit in credits. The price is the same for all of this benefit's items.\"\n                  )\n                  .optional()\n                  .nullable(),\n                additionalData: z\n                  .record(z.string(), z.any())\n                  .describe('Additional information for this benefit.')\n                  .optional()\n                  .nullable(),\n                providerAppId: z\n                  .string()\n                  .describe('ID of the app providing the benefit items.')\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                displayName: z\n                  .string()\n                  .describe('Benefit name.')\n                  .max(40)\n                  .optional()\n                  .nullable(),\n                description: z\n                  .string()\n                  .describe('Benefit description.')\n                  .max(255)\n                  .optional()\n                  .nullable(),\n              })\n            )\n            .max(10)\n            .optional(),\n          creditConfiguration: z\n            .object({\n              amount: z\n                .string()\n                .describe('Initial available amount for associated balances.')\n                .optional(),\n              rolloverConfiguration: z\n                .object({\n                  enabled: z\n                    .boolean()\n                    .describe(\n                      'Whether unused credits roll over to a new cycle when a program renews.'\n                    )\n                    .optional()\n                    .nullable(),\n                  balanceCap: z\n                    .string()\n                    .describe(\n                      'Maximum number of credits that can roll over to the next cycle when a program renews.'\n                    )\n                    .optional()\n                    .nullable(),\n                })\n                .describe('Rollover settings.')\n                .optional(),\n              unitDisplayName: z\n                .string()\n                .describe('Credit unit display name.')\n                .max(32)\n                .optional()\n                .nullable(),\n            })\n            .describe(\n              \"Credit settings.\\n\\nIf this object is empty, you can't set a price for the benefit.\"\n            )\n            .optional(),\n          additionalData: z\n            .record(z.string(), z.any())\n            .describe('Additional information relating to this object.')\n            .optional()\n            .nullable(),\n        })\n        .describe('Pool definition benefits and settings.')\n        .optional(),\n      namespace: z\n        .string()\n        .describe(\n          \"Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created.\"\n        )\n        .min(1)\n        .max(20)\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 pool definition object.\\n\\n[Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.'\n        )\n        .optional(),\n      programDefinitions: z\n        .array(\n          z.object({\n            _id: z\n              .string()\n              .describe('Program definition 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            externalId: z\n              .string()\n              .describe('Program definition external 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          })\n        )\n        .max(20)\n        .optional(),\n    })\n    .describe('Updated pool definition.')\n    .optional(),\n});\nexport const FindPoolDefinitionsByProgramDefinitionRequest = z.object({\n  programDefinitionId: z\n    .string()\n    .describe('ID of the program definition to retrieve its pool definitions.')\n    .regex(\n      /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n      'Must be a valid GUID'\n    ),\n  options: z.object({\n    namespace: z\n      .string()\n      .describe(\n        \"Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created.\"\n      )\n      .min(1)\n      .max(20),\n  }),\n});\nexport const FindPoolDefinitionsByProgramDefinitionResponse = z.object({\n  poolDefinitions: z\n    .array(\n      z.object({\n        _id: z\n          .string()\n          .describe('Pool definition 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 pool definition is updated.\\nTo prevent conflicting changes, the current revision must be specified when updating the pool definition.\\n\\nIgnored when creating a pool definition.'\n          )\n          .optional()\n          .nullable(),\n        _createdDate: z\n          .date()\n          .describe('Date and time the pool definition was created.')\n          .optional()\n          .nullable(),\n        _updatedDate: z\n          .date()\n          .describe('Date and time the pool definition was updated.')\n          .optional()\n          .nullable(),\n        displayName: z\n          .string()\n          .describe('Pool definition name.')\n          .max(128)\n          .optional(),\n        programDefinitionIds: z.array(z.string()).max(20).optional(),\n        details: z\n          .object({\n            benefits: z\n              .array(\n                z.object({\n                  benefitKey: z\n                    .string()\n                    .describe(\n                      'Unique identifier for this benefit.\\n\\nThis key is consistent across the pool definition and all associated pools that contain this benefit.'\n                    )\n                    .max(64)\n                    .optional(),\n                  itemSetId: z\n                    .string()\n                    .describe(\n                      'ID that is used to associated items with this benefit.'\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                  price: z\n                    .string()\n                    .describe(\n                      \"Price of the benefit in credits. The price is the same for all of this benefit's items.\"\n                    )\n                    .optional()\n                    .nullable(),\n                  additionalData: z\n                    .record(z.string(), z.any())\n                    .describe('Additional information for this benefit.')\n                    .optional()\n                    .nullable(),\n                  providerAppId: z\n                    .string()\n                    .describe('ID of the app providing the benefit items.')\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                  displayName: z\n                    .string()\n                    .describe('Benefit name.')\n                    .max(40)\n                    .optional()\n                    .nullable(),\n                  description: z\n                    .string()\n                    .describe('Benefit description.')\n                    .max(255)\n                    .optional()\n                    .nullable(),\n                })\n              )\n              .max(10)\n              .optional(),\n            creditConfiguration: z\n              .object({\n                amount: z\n                  .string()\n                  .describe('Initial available amount for associated balances.')\n                  .optional(),\n                rolloverConfiguration: z\n                  .object({\n                    enabled: z\n                      .boolean()\n                      .describe(\n                        'Whether unused credits roll over to a new cycle when a program renews.'\n                      )\n                      .optional()\n                      .nullable(),\n                    balanceCap: z\n                      .string()\n                      .describe(\n                        'Maximum number of credits that can roll over to the next cycle when a program renews.'\n                      )\n                      .optional()\n                      .nullable(),\n                  })\n                  .describe('Rollover settings.')\n                  .optional(),\n                unitDisplayName: z\n                  .string()\n                  .describe('Credit unit display name.')\n                  .max(32)\n                  .optional()\n                  .nullable(),\n              })\n              .describe(\n                \"Credit settings.\\n\\nIf this object is empty, you can't set a price for the benefit.\"\n              )\n              .optional(),\n            additionalData: z\n              .record(z.string(), z.any())\n              .describe('Additional information relating to this object.')\n              .optional()\n              .nullable(),\n          })\n          .describe('Pool definition benefits and settings.')\n          .optional(),\n        namespace: z\n          .string()\n          .describe(\n            \"Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created.\"\n          )\n          .min(1)\n          .max(20)\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 pool definition object.\\n\\n[Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.'\n          )\n          .optional(),\n        programDefinitions: z\n          .array(\n            z.object({\n              _id: z\n                .string()\n                .describe('Program definition 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              externalId: z\n                .string()\n                .describe('Program definition external 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            })\n          )\n          .max(20)\n          .optional(),\n      })\n    )\n    .optional(),\n});\n"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,8BAAgC,SAAO;AAAA,EAClD,gBACG,SAAO;AAAA,IACN,KACG,SAAO,EACP,SAAS,qBAAqB,EAC9B;AAAA,MACC;AAAA,MACA;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,UACG,SAAO,EACP,MAAM,WAAW,8BAA8B,EAC/C;AAAA,MACC;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,cACG,OAAK,EACL,SAAS,gDAAgD,EACzD,SAAS,EACT,SAAS;AAAA,IACZ,cACG,OAAK,EACL,SAAS,gDAAgD,EACzD,SAAS,EACT,SAAS;AAAA,IACZ,aACG,SAAO,EACP,SAAS,uBAAuB,EAChC,IAAI,GAAG,EACP,SAAS;AAAA,IACZ,sBAAwB,QAAQ,SAAO,CAAC,EAAE,IAAI,EAAE,EAAE,SAAS;AAAA,IAC3D,SACG,SAAO;AAAA,MACN,UACG;AAAA,QACG,SAAO;AAAA,UACP,YACG,SAAO,EACP;AAAA,YACC;AAAA,UACF,EACC,IAAI,EAAE;AAAA,UACT,WACG,SAAO,EACP;AAAA,YACC;AAAA,UACF,EACC;AAAA,YACC;AAAA,YACA;AAAA,UACF,EACC,SAAS,EACT,SAAS;AAAA,UACZ,OACG,SAAO,EACP;AAAA,YACC;AAAA,UACF,EACC,SAAS,EACT,SAAS;AAAA,UACZ,gBACG,SAAS,SAAO,GAAK,MAAI,CAAC,EAC1B,SAAS,0CAA0C,EACnD,SAAS,EACT,SAAS;AAAA,UACZ,eACG,SAAO,EACP,SAAS,4CAA4C,EACrD;AAAA,YACC;AAAA,YACA;AAAA,UACF;AAAA,UACF,aACG,SAAO,EACP,SAAS,eAAe,EACxB,IAAI,EAAE,EACN,S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