@wix/auto_sdk_benefit-programs_program-definitions 1.0.46 → 1.0.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/benefit-programs-v1-program-definition-program-definitions.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const CreateProgramDefinitionRequest = z.object({\n programDefinition: z\n .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 .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 program definition is updated.\\nTo prevent conflicting changes, the current revision must be passed when updating the program definition.\\n\\nIgnored when creating a program definition.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program definition was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program definition was updated.')\n .optional()\n .nullable(),\n displayName: z\n .string()\n .describe('Program definition name.')\n .max(64)\n .optional()\n .nullable(),\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 program 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 externalId: z\n .string()\n .describe(\n 'ID for the program definition defined by you. You can use `externalId` to filter queries.'\n )\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n ),\n })\n .describe('Program definition to create.'),\n});\nexport const CreateProgramDefinitionResponse = 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 .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 program definition is updated.\\nTo prevent conflicting changes, the current revision must be passed when updating the program definition.\\n\\nIgnored when creating a program definition.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program definition was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program definition was updated.')\n .optional()\n .nullable(),\n displayName: z\n .string()\n .describe('Program definition name.')\n .max(64)\n .optional()\n .nullable(),\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 program 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 externalId: z\n .string()\n .describe(\n 'ID for the program definition defined by you. You can use `externalId` to filter queries.'\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});\nexport const UpdateProgramDefinitionRequest = 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 programDefinition: z\n .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 .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 program definition is updated.\\nTo prevent conflicting changes, the current revision must be passed when updating the program definition.\\n\\nIgnored when creating a program definition.'\n ),\n _createdDate: z\n .date()\n .describe('Date and time the program definition was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program definition was updated.')\n .optional()\n .nullable(),\n displayName: z\n .string()\n .describe('Program definition name.')\n .max(64)\n .optional()\n .nullable(),\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 program 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 externalId: z\n .string()\n .describe(\n 'ID for the program definition defined by you. You can use `externalId` to filter queries.'\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 })\n .describe('Program definition to update.'),\n});\nexport const UpdateProgramDefinitionResponse = 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 .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 program definition is updated.\\nTo prevent conflicting changes, the current revision must be passed when updating the program definition.\\n\\nIgnored when creating a program definition.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program definition was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program definition was updated.')\n .optional()\n .nullable(),\n displayName: z\n .string()\n .describe('Program definition name.')\n .max(64)\n .optional()\n .nullable(),\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 program 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 externalId: z\n .string()\n .describe(\n 'ID for the program definition defined by you. You can use `externalId` to filter queries.'\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});\nexport const DeleteProgramDefinitionRequest = z.object({\n programDefinitionId: z\n .string()\n .describe('ID of the program 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 options: z\n .object({\n cascadeType: z\n .enum([\n 'UNKNOWN_CASCADE',\n 'IMMEDIATELY',\n 'NEXT_RENEWAL',\n 'FUTURE_PROVISIONS',\n ])\n .optional(),\n })\n .optional(),\n});\nexport const DeleteProgramDefinitionResponse = z.object({});\nexport const GetProgramDefinitionRequest = z.object({\n programDefinitionId: z\n .string()\n .describe('ID of the program 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 GetProgramDefinitionResponse = 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 .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 program definition is updated.\\nTo prevent conflicting changes, the current revision must be passed when updating the program definition.\\n\\nIgnored when creating a program definition.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program definition was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program definition was updated.')\n .optional()\n .nullable(),\n displayName: z\n .string()\n .describe('Program definition name.')\n .max(64)\n .optional()\n .nullable(),\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 program 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 externalId: z\n .string()\n .describe(\n 'ID for the program definition defined by you. You can use `externalId` to filter queries.'\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});\nexport const GetProgramDefinitionByExternalIdAndNamespaceRequest = 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 options: z.object({\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 }),\n});\nexport const GetProgramDefinitionByExternalIdAndNamespaceResponse = z.object({\n programDefinition: z\n .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 .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 program definition is updated.\\nTo prevent conflicting changes, the current revision must be passed when updating the program definition.\\n\\nIgnored when creating a program definition.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program definition was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program definition was updated.')\n .optional()\n .nullable(),\n displayName: z\n .string()\n .describe('Program definition name.')\n .max(64)\n .optional()\n .nullable(),\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 program 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 externalId: z\n .string()\n .describe(\n 'ID for the program definition defined by you. You can use `externalId` to filter queries.'\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 })\n .describe('Retrieved program definition.')\n .optional(),\n});\nexport const QueryProgramDefinitionsRequest = z.object({\n query: z\n .object({\n filter: z\n .object({\n _id: z\n .object({\n $eq: z.string(),\n $exists: z.boolean(),\n $gt: z.string(),\n $gte: z.string(),\n $hasAll: z.array(z.string()),\n $hasSome: z.array(z.string()),\n $in: z.array(z.string()),\n $lt: z.string(),\n $lte: z.string(),\n $ne: z.string(),\n $nin: z.array(z.string()),\n $startsWith: z.string(),\n })\n .partial()\n .strict()\n .optional(),\n namespace: z\n .object({\n $eq: z.string(),\n $exists: z.boolean(),\n $gt: z.string(),\n $gte: z.string(),\n $hasAll: z.array(z.string()),\n $hasSome: z.array(z.string()),\n $in: z.array(z.string()),\n $lt: z.string(),\n $lte: z.string(),\n $ne: z.string(),\n $nin: z.array(z.string()),\n $startsWith: z.string(),\n })\n .partial()\n .strict()\n .optional(),\n externalId: z\n .object({\n $eq: z.string(),\n $exists: z.boolean(),\n $gt: z.string(),\n $gte: z.string(),\n $hasAll: z.array(z.string()),\n $hasSome: z.array(z.string()),\n $in: z.array(z.string()),\n $lt: z.string(),\n $lte: z.string(),\n $ne: z.string(),\n $nin: z.array(z.string()),\n $startsWith: z.string(),\n })\n .partial()\n .strict()\n .optional(),\n _createdDate: z\n .object({\n $eq: z.string(),\n $exists: z.boolean(),\n $gt: z.string(),\n $gte: z.string(),\n $hasAll: z.array(z.string()),\n $hasSome: z.array(z.string()),\n $in: z.array(z.string()),\n $lt: z.string(),\n $lte: z.string(),\n $ne: z.string(),\n $nin: z.array(z.string()),\n $startsWith: z.string(),\n })\n .partial()\n .strict()\n .optional(),\n $and: z.array(z.any()).optional(),\n $or: z.array(z.any()).optional(),\n $not: z.any().optional(),\n })\n .strict()\n .optional(),\n sort: z\n .array(\n z.object({\n fieldName: z\n .enum(['_id', 'namespace', 'externalId', '_createdDate'])\n .optional(),\n order: z.enum(['ASC', 'DESC']).optional(),\n })\n )\n .optional(),\n })\n .catchall(z.any())\n .describe('Filter, sort, and paging to apply to the query.'),\n});\nexport const QueryProgramDefinitionsResponse = z.object({\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 .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 program definition is updated.\\nTo prevent conflicting changes, the current revision must be passed when updating the program definition.\\n\\nIgnored when creating a program definition.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the program definition was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the program definition was updated.')\n .optional()\n .nullable(),\n displayName: z\n .string()\n .describe('Program definition name.')\n .max(64)\n .optional()\n .nullable(),\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 program 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 externalId: z\n .string()\n .describe(\n 'ID for the program definition defined by you. You can use `externalId` to filter queries.'\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 })\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});\n"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,iCAAmC,SAAO;AAAA,EACrD,mBACG,SAAO;AAAA,IACN,KACG,SAAO,EACP,SAAS,wBAAwB,EACjC;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,mDAAmD,EAC5D,SAAS,EACT,SAAS;AAAA,IACZ,cACG,OAAK,EACL,SAAS,mDAAmD,EAC5D,SAAS,EACT,SAAS;AAAA,IACZ,aACG,SAAO,EAC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;AAAA,IACd,CAAC;AAAA,EACH,EACC,SAAS;AAAA,EACZ,UACG,SAAO;AAAA,IACN,OACG,SAAO,EACP,IAAI,EACJ,SAAS,2CAA2C,EACpD,SAAS,EACT,SAAS;AAAA,IACZ,SACG,SAAO;AAAA,MACN,MACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC,IAAI,IAAK,EACT,SAAS,EACT,SAAS;AAAA,MACZ,MACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC,IAAI,IAAK,EACT,SAAS,EACT,SAAS;AAAA,IACd,CAAC,EACA;AAAA,MACC;AAAA,IACF,EACC,SAAS;AAAA,IACZ,SACG,UAAQ,EACR;AAAA,MACC;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,EACd,CAAC,EACA,SAAS,qCAAqC,EAC9C,SAAS;AACd,CAAC;","names":[]}
@@ -0,0 +1,203 @@
1
+ import * as z from 'zod';
2
+
3
+ declare const CreateProgramDefinitionRequest: z.ZodObject<{
4
+ programDefinition: z.ZodObject<{
5
+ _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6
+ revision: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7
+ _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
8
+ _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
9
+ displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10
+ namespace: z.ZodString;
11
+ extendedFields: z.ZodOptional<z.ZodObject<{
12
+ namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
13
+ }, z.core.$strip>>;
14
+ externalId: z.ZodString;
15
+ }, z.core.$strip>;
16
+ }, z.core.$strip>;
17
+ declare const CreateProgramDefinitionResponse: z.ZodObject<{
18
+ _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19
+ revision: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20
+ _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
21
+ _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
22
+ displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23
+ namespace: z.ZodNullable<z.ZodOptional<z.ZodString>>;
24
+ extendedFields: z.ZodOptional<z.ZodObject<{
25
+ namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
26
+ }, z.core.$strip>>;
27
+ externalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
28
+ }, z.core.$strip>;
29
+ declare const UpdateProgramDefinitionRequest: z.ZodObject<{
30
+ _id: z.ZodString;
31
+ programDefinition: z.ZodObject<{
32
+ _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
33
+ revision: z.ZodString;
34
+ _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
35
+ _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
36
+ displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
37
+ namespace: z.ZodNullable<z.ZodOptional<z.ZodString>>;
38
+ extendedFields: z.ZodOptional<z.ZodObject<{
39
+ namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
40
+ }, z.core.$strip>>;
41
+ externalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
42
+ }, z.core.$strip>;
43
+ }, z.core.$strip>;
44
+ declare const UpdateProgramDefinitionResponse: z.ZodObject<{
45
+ _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
46
+ revision: z.ZodNullable<z.ZodOptional<z.ZodString>>;
47
+ _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
48
+ _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
49
+ displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
50
+ namespace: z.ZodNullable<z.ZodOptional<z.ZodString>>;
51
+ extendedFields: z.ZodOptional<z.ZodObject<{
52
+ namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
53
+ }, z.core.$strip>>;
54
+ externalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
55
+ }, z.core.$strip>;
56
+ declare const DeleteProgramDefinitionRequest: z.ZodObject<{
57
+ programDefinitionId: z.ZodString;
58
+ options: z.ZodOptional<z.ZodObject<{
59
+ cascadeType: z.ZodOptional<z.ZodEnum<{
60
+ UNKNOWN_CASCADE: "UNKNOWN_CASCADE";
61
+ NEXT_RENEWAL: "NEXT_RENEWAL";
62
+ IMMEDIATELY: "IMMEDIATELY";
63
+ FUTURE_PROVISIONS: "FUTURE_PROVISIONS";
64
+ }>>;
65
+ }, z.core.$strip>>;
66
+ }, z.core.$strip>;
67
+ declare const DeleteProgramDefinitionResponse: z.ZodObject<{}, z.core.$strip>;
68
+ declare const GetProgramDefinitionRequest: z.ZodObject<{
69
+ programDefinitionId: z.ZodString;
70
+ }, z.core.$strip>;
71
+ declare const GetProgramDefinitionResponse: z.ZodObject<{
72
+ _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
73
+ revision: z.ZodNullable<z.ZodOptional<z.ZodString>>;
74
+ _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
75
+ _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
76
+ displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
77
+ namespace: z.ZodNullable<z.ZodOptional<z.ZodString>>;
78
+ extendedFields: z.ZodOptional<z.ZodObject<{
79
+ namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
80
+ }, z.core.$strip>>;
81
+ externalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
82
+ }, z.core.$strip>;
83
+ declare const GetProgramDefinitionByExternalIdAndNamespaceRequest: z.ZodObject<{
84
+ namespace: z.ZodString;
85
+ options: z.ZodObject<{
86
+ externalId: z.ZodString;
87
+ }, z.core.$strip>;
88
+ }, z.core.$strip>;
89
+ declare const GetProgramDefinitionByExternalIdAndNamespaceResponse: z.ZodObject<{
90
+ programDefinition: z.ZodOptional<z.ZodObject<{
91
+ _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
92
+ revision: z.ZodNullable<z.ZodOptional<z.ZodString>>;
93
+ _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
94
+ _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
95
+ displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
96
+ namespace: z.ZodNullable<z.ZodOptional<z.ZodString>>;
97
+ extendedFields: z.ZodOptional<z.ZodObject<{
98
+ namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
99
+ }, z.core.$strip>>;
100
+ externalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
101
+ }, z.core.$strip>>;
102
+ }, z.core.$strip>;
103
+ declare const QueryProgramDefinitionsRequest: z.ZodObject<{
104
+ query: z.ZodObject<{
105
+ filter: z.ZodOptional<z.ZodObject<{
106
+ _id: z.ZodOptional<z.ZodObject<{
107
+ $eq: z.ZodOptional<z.ZodString>;
108
+ $exists: z.ZodOptional<z.ZodBoolean>;
109
+ $gt: z.ZodOptional<z.ZodString>;
110
+ $gte: z.ZodOptional<z.ZodString>;
111
+ $hasAll: z.ZodOptional<z.ZodArray<z.ZodString>>;
112
+ $hasSome: z.ZodOptional<z.ZodArray<z.ZodString>>;
113
+ $in: z.ZodOptional<z.ZodArray<z.ZodString>>;
114
+ $lt: z.ZodOptional<z.ZodString>;
115
+ $lte: z.ZodOptional<z.ZodString>;
116
+ $ne: z.ZodOptional<z.ZodString>;
117
+ $nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
118
+ $startsWith: z.ZodOptional<z.ZodString>;
119
+ }, z.core.$strict>>;
120
+ namespace: z.ZodOptional<z.ZodObject<{
121
+ $eq: z.ZodOptional<z.ZodString>;
122
+ $exists: z.ZodOptional<z.ZodBoolean>;
123
+ $gt: z.ZodOptional<z.ZodString>;
124
+ $gte: z.ZodOptional<z.ZodString>;
125
+ $hasAll: z.ZodOptional<z.ZodArray<z.ZodString>>;
126
+ $hasSome: z.ZodOptional<z.ZodArray<z.ZodString>>;
127
+ $in: z.ZodOptional<z.ZodArray<z.ZodString>>;
128
+ $lt: z.ZodOptional<z.ZodString>;
129
+ $lte: z.ZodOptional<z.ZodString>;
130
+ $ne: z.ZodOptional<z.ZodString>;
131
+ $nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
132
+ $startsWith: z.ZodOptional<z.ZodString>;
133
+ }, z.core.$strict>>;
134
+ externalId: z.ZodOptional<z.ZodObject<{
135
+ $eq: z.ZodOptional<z.ZodString>;
136
+ $exists: z.ZodOptional<z.ZodBoolean>;
137
+ $gt: z.ZodOptional<z.ZodString>;
138
+ $gte: z.ZodOptional<z.ZodString>;
139
+ $hasAll: z.ZodOptional<z.ZodArray<z.ZodString>>;
140
+ $hasSome: z.ZodOptional<z.ZodArray<z.ZodString>>;
141
+ $in: z.ZodOptional<z.ZodArray<z.ZodString>>;
142
+ $lt: z.ZodOptional<z.ZodString>;
143
+ $lte: z.ZodOptional<z.ZodString>;
144
+ $ne: z.ZodOptional<z.ZodString>;
145
+ $nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
146
+ $startsWith: z.ZodOptional<z.ZodString>;
147
+ }, z.core.$strict>>;
148
+ _createdDate: z.ZodOptional<z.ZodObject<{
149
+ $eq: z.ZodOptional<z.ZodString>;
150
+ $exists: z.ZodOptional<z.ZodBoolean>;
151
+ $gt: z.ZodOptional<z.ZodString>;
152
+ $gte: z.ZodOptional<z.ZodString>;
153
+ $hasAll: z.ZodOptional<z.ZodArray<z.ZodString>>;
154
+ $hasSome: z.ZodOptional<z.ZodArray<z.ZodString>>;
155
+ $in: z.ZodOptional<z.ZodArray<z.ZodString>>;
156
+ $lt: z.ZodOptional<z.ZodString>;
157
+ $lte: z.ZodOptional<z.ZodString>;
158
+ $ne: z.ZodOptional<z.ZodString>;
159
+ $nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
160
+ $startsWith: z.ZodOptional<z.ZodString>;
161
+ }, z.core.$strict>>;
162
+ $and: z.ZodOptional<z.ZodArray<z.ZodAny>>;
163
+ $or: z.ZodOptional<z.ZodArray<z.ZodAny>>;
164
+ $not: z.ZodOptional<z.ZodAny>;
165
+ }, z.core.$strict>>;
166
+ sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
167
+ fieldName: z.ZodOptional<z.ZodEnum<{
168
+ externalId: "externalId";
169
+ namespace: "namespace";
170
+ _id: "_id";
171
+ _createdDate: "_createdDate";
172
+ }>>;
173
+ order: z.ZodOptional<z.ZodEnum<{
174
+ ASC: "ASC";
175
+ DESC: "DESC";
176
+ }>>;
177
+ }, z.core.$strip>>>;
178
+ }, z.core.$catchall<z.ZodAny>>;
179
+ }, z.core.$strip>;
180
+ declare const QueryProgramDefinitionsResponse: z.ZodObject<{
181
+ programDefinitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
182
+ _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
183
+ revision: z.ZodNullable<z.ZodOptional<z.ZodString>>;
184
+ _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
185
+ _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
186
+ displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
187
+ namespace: z.ZodNullable<z.ZodOptional<z.ZodString>>;
188
+ extendedFields: z.ZodOptional<z.ZodObject<{
189
+ namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
190
+ }, z.core.$strip>>;
191
+ externalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
192
+ }, z.core.$strip>>>;
193
+ metadata: z.ZodOptional<z.ZodObject<{
194
+ count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
195
+ cursors: z.ZodOptional<z.ZodObject<{
196
+ next: z.ZodNullable<z.ZodOptional<z.ZodString>>;
197
+ prev: z.ZodNullable<z.ZodOptional<z.ZodString>>;
198
+ }, z.core.$strip>>;
199
+ hasNext: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
200
+ }, z.core.$strip>>;
201
+ }, z.core.$strip>;
202
+
203
+ export { CreateProgramDefinitionRequest, CreateProgramDefinitionResponse, DeleteProgramDefinitionRequest, DeleteProgramDefinitionResponse, GetProgramDefinitionByExternalIdAndNamespaceRequest, GetProgramDefinitionByExternalIdAndNamespaceResponse, GetProgramDefinitionRequest, GetProgramDefinitionResponse, QueryProgramDefinitionsRequest, QueryProgramDefinitionsResponse, UpdateProgramDefinitionRequest, UpdateProgramDefinitionResponse };