diff --git a/docker-compose.yml b/docker-compose.yml index cdc23d7..677914d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -33,6 +33,8 @@ services: POSTGRES_PASSWORD: strapi volumes: - postgres_data:/var/lib/postgresql/data + ports: + - 5432:5432 volumes: strapi_uploads: diff --git a/src/api/article/content-types/article/schema.json b/src/api/article/content-types/article/schema.json index 8df8823..93da0e6 100644 --- a/src/api/article/content-types/article/schema.json +++ b/src/api/article/content-types/article/schema.json @@ -27,13 +27,11 @@ "type": "media", "multiple": false, "required": false, - "allowedTypes": ["images", "files", "videos"] - }, - "author": { - "type": "relation", - "relation": "manyToOne", - "target": "api::author.author", - "inversedBy": "articles" + "allowedTypes": [ + "images", + "files", + "videos" + ] }, "category": { "type": "relation", @@ -43,7 +41,12 @@ }, "blocks": { "type": "dynamiczone", - "components": ["shared.media", "shared.quote", "shared.rich-text", "shared.slider"] + "components": [ + "shared.media", + "shared.quote", + "shared.rich-text", + "shared.slider" + ] } } } diff --git a/src/api/author/content-types/author/schema.json b/src/api/author/content-types/author/schema.json index a202482..2c012be 100644 --- a/src/api/author/content-types/author/schema.json +++ b/src/api/author/content-types/author/schema.json @@ -12,23 +12,33 @@ }, "pluginOptions": {}, "attributes": { - "name": { - "type": "string" + "NombreCompleto": { + "type": "string", + "required": true }, - "avatar": { + "Foto": { "type": "media", "multiple": false, - "required": false, - "allowedTypes": ["images", "files", "videos"] + "required": true, + "allowedTypes": [ + "images", + "files", + "videos" + ] }, - "email": { + "PuestoCargo": { + "type": "string", + "required": true + }, + "Descripcion": { + "type": "string", + "required": true + }, + "Twitter": { "type": "string" }, - "articles": { - "type": "relation", - "relation": "oneToMany", - "target": "api::article.article", - "mappedBy": "author" + "Linkedin": { + "type": "string" } } } diff --git a/src/api/common-page/content-types/common-page/schema.json b/src/api/common-page/content-types/common-page/schema.json new file mode 100644 index 0000000..4daff6a --- /dev/null +++ b/src/api/common-page/content-types/common-page/schema.json @@ -0,0 +1,90 @@ +{ + "kind": "collectionType", + "collectionName": "common_pages", + "info": { + "singularName": "common-page", + "pluralName": "common-pages", + "displayName": "CommonPage" + }, + "options": { + "draftAndPublish": true + }, + "pluginOptions": {}, + "attributes": { + "Title": { + "type": "string", + "required": true + }, + "Slug": { + "type": "string", + "required": true + }, + "LogoImage": { + "type": "media", + "multiple": false, + "required": false, + "allowedTypes": [ + "images" + ] + }, + "MainImage": { + "type": "media", + "multiple": false, + "required": true, + "allowedTypes": [ + "images" + ] + }, + "Frase": { + "type": "string", + "required": false + }, + "Azul": { + "type": "boolean" + }, + "Video": { + "type": "media", + "multiple": false, + "allowedTypes": [ + "videos" + ] + }, + "VideoImage": { + "type": "media", + "multiple": false, + "required": false, + "allowedTypes": [ + "images", + "videos" + ] + }, + "VideoCaption": { + "type": "media", + "multiple": false, + "allowedTypes": [ + "images", + "videos" + ] + }, + "Content": { + "type": "text", + "required": true + }, + "ButtonText": { + "type": "string" + }, + "ButtonLink": { + "type": "string" + }, + "SEODescription": { + "type": "string", + "required": true + }, + "cloudinaryUrl": { + "type": "string" + }, + "whatsappMessage": { + "type": "string" + } + } +} diff --git a/src/api/common-page/controllers/common-page.ts b/src/api/common-page/controllers/common-page.ts new file mode 100644 index 0000000..2a095db --- /dev/null +++ b/src/api/common-page/controllers/common-page.ts @@ -0,0 +1,7 @@ +/** + * common-page controller + */ + +import { factories } from '@strapi/strapi' + +export default factories.createCoreController('api::common-page.common-page'); diff --git a/src/api/common-page/routes/common-page.ts b/src/api/common-page/routes/common-page.ts new file mode 100644 index 0000000..3d4dcb6 --- /dev/null +++ b/src/api/common-page/routes/common-page.ts @@ -0,0 +1,7 @@ +/** + * common-page router + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreRouter('api::common-page.common-page'); diff --git a/src/api/common-page/services/common-page.ts b/src/api/common-page/services/common-page.ts new file mode 100644 index 0000000..7e61a3c --- /dev/null +++ b/src/api/common-page/services/common-page.ts @@ -0,0 +1,7 @@ +/** + * common-page service + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreService('api::common-page.common-page'); diff --git a/src/api/cotizador-renta-segura/content-types/cotizador-renta-segura/schema.json b/src/api/cotizador-renta-segura/content-types/cotizador-renta-segura/schema.json new file mode 100644 index 0000000..c9ea67b --- /dev/null +++ b/src/api/cotizador-renta-segura/content-types/cotizador-renta-segura/schema.json @@ -0,0 +1,46 @@ +{ + "kind": "singleType", + "collectionName": "cotizador_renta_seguras", + "info": { + "singularName": "cotizador-renta-segura", + "pluralName": "cotizador-renta-seguras", + "displayName": "CotizadorRentaSegura" + }, + "options": { + "draftAndPublish": true + }, + "pluginOptions": {}, + "attributes": { + "TituloCotizador": { + "type": "string", + "required": true + }, + "MainImage": { + "type": "media", + "multiple": false, + "allowedTypes": [ + "images" + ] + }, + "LogoTitle": { + "type": "media", + "multiple": false, + "required": true, + "allowedTypes": [ + "images" + ] + }, + "DescriptionText": { + "type": "text", + "required": true + }, + "DescriptionSelectProducts": { + "type": "text", + "required": true + }, + "Products": { + "type": "json", + "required": true + } + } +} diff --git a/src/api/cotizador-renta-segura/controllers/cotizador-renta-segura.ts b/src/api/cotizador-renta-segura/controllers/cotizador-renta-segura.ts new file mode 100644 index 0000000..1224025 --- /dev/null +++ b/src/api/cotizador-renta-segura/controllers/cotizador-renta-segura.ts @@ -0,0 +1,7 @@ +/** + * cotizador-renta-segura controller + */ + +import { factories } from '@strapi/strapi' + +export default factories.createCoreController('api::cotizador-renta-segura.cotizador-renta-segura'); diff --git a/src/api/cotizador-renta-segura/routes/cotizador-renta-segura.ts b/src/api/cotizador-renta-segura/routes/cotizador-renta-segura.ts new file mode 100644 index 0000000..7725d4f --- /dev/null +++ b/src/api/cotizador-renta-segura/routes/cotizador-renta-segura.ts @@ -0,0 +1,7 @@ +/** + * cotizador-renta-segura router + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreRouter('api::cotizador-renta-segura.cotizador-renta-segura'); diff --git a/src/api/cotizador-renta-segura/services/cotizador-renta-segura.ts b/src/api/cotizador-renta-segura/services/cotizador-renta-segura.ts new file mode 100644 index 0000000..01eecbc --- /dev/null +++ b/src/api/cotizador-renta-segura/services/cotizador-renta-segura.ts @@ -0,0 +1,7 @@ +/** + * cotizador-renta-segura service + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreService('api::cotizador-renta-segura.cotizador-renta-segura'); diff --git a/src/api/entrada-de-blog/content-types/entrada-de-blog/schema.json b/src/api/entrada-de-blog/content-types/entrada-de-blog/schema.json new file mode 100644 index 0000000..67365d0 --- /dev/null +++ b/src/api/entrada-de-blog/content-types/entrada-de-blog/schema.json @@ -0,0 +1,65 @@ +{ + "kind": "collectionType", + "collectionName": "entrada_de_blogs", + "info": { + "singularName": "entrada-de-blog", + "pluralName": "entrada-de-blogs", + "displayName": "EntradaDeBlog" + }, + "options": { + "draftAndPublish": true + }, + "pluginOptions": {}, + "attributes": { + "Title": { + "type": "string", + "required": true + }, + "Slug": { + "type": "string", + "required": true + }, + "MainImage": { + "type": "media", + "multiple": true, + "allowedTypes": [ + "images" + ] + }, + "cloudinaryUrl": { + "type": "string" + }, + "FechaDePublicacion": { + "type": "date", + "required": true + }, + "Autor": { + "type": "relation", + "relation": "oneToOne", + "target": "api::author.author" + }, + "Contenido": { + "type": "text", + "required": true + }, + "ButtonText": { + "type": "string" + }, + "ButtonBlogLink": { + "type": "string" + }, + "Tags": { + "type": "component", + "component": "shared.tag", + "repeatable": true, + "required": false + }, + "SEODescription": { + "type": "string", + "required": true + }, + "whatsappMessage": { + "type": "string" + } + } +} diff --git a/src/api/entrada-de-blog/controllers/entrada-de-blog.ts b/src/api/entrada-de-blog/controllers/entrada-de-blog.ts new file mode 100644 index 0000000..73bb89c --- /dev/null +++ b/src/api/entrada-de-blog/controllers/entrada-de-blog.ts @@ -0,0 +1,7 @@ +/** + * entrada-de-blog controller + */ + +import { factories } from '@strapi/strapi' + +export default factories.createCoreController('api::entrada-de-blog.entrada-de-blog'); diff --git a/src/api/entrada-de-blog/routes/entrada-de-blog.ts b/src/api/entrada-de-blog/routes/entrada-de-blog.ts new file mode 100644 index 0000000..03371c4 --- /dev/null +++ b/src/api/entrada-de-blog/routes/entrada-de-blog.ts @@ -0,0 +1,7 @@ +/** + * entrada-de-blog router + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreRouter('api::entrada-de-blog.entrada-de-blog'); diff --git a/src/api/entrada-de-blog/services/entrada-de-blog.ts b/src/api/entrada-de-blog/services/entrada-de-blog.ts new file mode 100644 index 0000000..b462281 --- /dev/null +++ b/src/api/entrada-de-blog/services/entrada-de-blog.ts @@ -0,0 +1,7 @@ +/** + * entrada-de-blog service + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreService('api::entrada-de-blog.entrada-de-blog'); diff --git a/src/api/footer/content-types/footer/schema.json b/src/api/footer/content-types/footer/schema.json new file mode 100644 index 0000000..b43b3a7 --- /dev/null +++ b/src/api/footer/content-types/footer/schema.json @@ -0,0 +1,59 @@ +{ + "kind": "singleType", + "collectionName": "footers", + "info": { + "singularName": "footer", + "pluralName": "footers", + "displayName": "Footer" + }, + "options": { + "draftAndPublish": true + }, + "pluginOptions": {}, + "attributes": { + "Name": { + "type": "string", + "required": true + }, + "NewsletterTitle": { + "type": "string", + "required": true + }, + "NewsletterDescription": { + "type": "string", + "required": true + }, + "NewsletterButton": { + "type": "string", + "required": true + }, + "SecondMenu": { + "type": "json", + "required": true + }, + "FacebookURL": { + "type": "string" + }, + "InstagramURL": { + "type": "string" + }, + "LinkedinURL": { + "type": "string" + }, + "YouTubeURL": { + "type": "string" + }, + "Address": { + "type": "string", + "required": true + }, + "BolitasBackground": { + "type": "media", + "multiple": false, + "required": true, + "allowedTypes": [ + "images" + ] + } + } +} diff --git a/src/api/footer/controllers/footer.ts b/src/api/footer/controllers/footer.ts new file mode 100644 index 0000000..d7b3f8a --- /dev/null +++ b/src/api/footer/controllers/footer.ts @@ -0,0 +1,7 @@ +/** + * footer controller + */ + +import { factories } from '@strapi/strapi' + +export default factories.createCoreController('api::footer.footer'); diff --git a/src/api/footer/routes/footer.ts b/src/api/footer/routes/footer.ts new file mode 100644 index 0000000..f4da3f2 --- /dev/null +++ b/src/api/footer/routes/footer.ts @@ -0,0 +1,7 @@ +/** + * footer router + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreRouter('api::footer.footer'); diff --git a/src/api/footer/services/footer.ts b/src/api/footer/services/footer.ts new file mode 100644 index 0000000..5082851 --- /dev/null +++ b/src/api/footer/services/footer.ts @@ -0,0 +1,7 @@ +/** + * footer service + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreService('api::footer.footer'); diff --git a/src/api/home-page/content-types/home-page/schema.json b/src/api/home-page/content-types/home-page/schema.json new file mode 100644 index 0000000..7dcc44c --- /dev/null +++ b/src/api/home-page/content-types/home-page/schema.json @@ -0,0 +1,22 @@ +{ + "kind": "singleType", + "collectionName": "home_pages", + "info": { + "singularName": "home-page", + "pluralName": "home-pages", + "displayName": "HomePage" + }, + "options": { + "draftAndPublish": true + }, + "pluginOptions": {}, + "attributes": { + "Title": { + "type": "string", + "required": true + }, + "whatsappMessage": { + "type": "string" + } + } +} diff --git a/src/api/home-page/controllers/home-page.ts b/src/api/home-page/controllers/home-page.ts new file mode 100644 index 0000000..2723791 --- /dev/null +++ b/src/api/home-page/controllers/home-page.ts @@ -0,0 +1,7 @@ +/** + * home-page controller + */ + +import { factories } from '@strapi/strapi' + +export default factories.createCoreController('api::home-page.home-page'); diff --git a/src/api/home-page/routes/home-page.ts b/src/api/home-page/routes/home-page.ts new file mode 100644 index 0000000..65c7671 --- /dev/null +++ b/src/api/home-page/routes/home-page.ts @@ -0,0 +1,7 @@ +/** + * home-page router + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreRouter('api::home-page.home-page'); diff --git a/src/api/home-page/services/home-page.ts b/src/api/home-page/services/home-page.ts new file mode 100644 index 0000000..9c611cc --- /dev/null +++ b/src/api/home-page/services/home-page.ts @@ -0,0 +1,7 @@ +/** + * home-page service + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreService('api::home-page.home-page'); diff --git a/src/components/shared/tag.json b/src/components/shared/tag.json new file mode 100644 index 0000000..5c03d15 --- /dev/null +++ b/src/components/shared/tag.json @@ -0,0 +1,14 @@ +{ + "collectionName": "components_shared_tags", + "info": { + "displayName": "Tag" + }, + "options": {}, + "attributes": { + "Tag": { + "type": "string", + "required": true + } + }, + "config": {} +} diff --git a/types/generated/components.d.ts b/types/generated/components.d.ts new file mode 100644 index 0000000..ac4dba2 --- /dev/null +++ b/types/generated/components.d.ts @@ -0,0 +1,86 @@ +import type { Schema, Struct } from '@strapi/strapi'; + +export interface SharedMedia extends Struct.ComponentSchema { + collectionName: 'components_shared_media'; + info: { + displayName: 'Media'; + icon: 'file-video'; + }; + attributes: { + file: Schema.Attribute.Media<'images' | 'files' | 'videos'>; + }; +} + +export interface SharedQuote extends Struct.ComponentSchema { + collectionName: 'components_shared_quotes'; + info: { + displayName: 'Quote'; + icon: 'indent'; + }; + attributes: { + body: Schema.Attribute.Text; + title: Schema.Attribute.String; + }; +} + +export interface SharedRichText extends Struct.ComponentSchema { + collectionName: 'components_shared_rich_texts'; + info: { + description: ''; + displayName: 'Rich text'; + icon: 'align-justify'; + }; + attributes: { + body: Schema.Attribute.RichText; + }; +} + +export interface SharedSeo extends Struct.ComponentSchema { + collectionName: 'components_shared_seos'; + info: { + description: ''; + displayName: 'Seo'; + icon: 'allergies'; + name: 'Seo'; + }; + attributes: { + metaDescription: Schema.Attribute.Text & Schema.Attribute.Required; + metaTitle: Schema.Attribute.String & Schema.Attribute.Required; + shareImage: Schema.Attribute.Media<'images'>; + }; +} + +export interface SharedSlider extends Struct.ComponentSchema { + collectionName: 'components_shared_sliders'; + info: { + description: ''; + displayName: 'Slider'; + icon: 'address-book'; + }; + attributes: { + files: Schema.Attribute.Media<'images', true>; + }; +} + +export interface SharedTag extends Struct.ComponentSchema { + collectionName: 'components_shared_tags'; + info: { + displayName: 'Tag'; + }; + attributes: { + Tag: Schema.Attribute.String & Schema.Attribute.Required; + }; +} + +declare module '@strapi/strapi' { + export module Public { + export interface ComponentSchemas { + 'shared.media': SharedMedia; + 'shared.quote': SharedQuote; + 'shared.rich-text': SharedRichText; + 'shared.seo': SharedSeo; + 'shared.slider': SharedSlider; + 'shared.tag': SharedTag; + } + } +} diff --git a/types/generated/contentTypes.d.ts b/types/generated/contentTypes.d.ts new file mode 100644 index 0000000..fb5a860 --- /dev/null +++ b/types/generated/contentTypes.d.ts @@ -0,0 +1,1259 @@ +import type { Schema, Struct } from '@strapi/strapi'; + +export interface AdminApiToken extends Struct.CollectionTypeSchema { + collectionName: 'strapi_api_tokens'; + info: { + description: ''; + displayName: 'Api Token'; + name: 'Api Token'; + pluralName: 'api-tokens'; + singularName: 'api-token'; + }; + options: { + draftAndPublish: false; + }; + pluginOptions: { + 'content-manager': { + visible: false; + }; + 'content-type-builder': { + visible: false; + }; + }; + attributes: { + accessKey: Schema.Attribute.String & + Schema.Attribute.Required & + Schema.Attribute.SetMinMaxLength<{ + minLength: 1; + }>; + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + description: Schema.Attribute.String & + Schema.Attribute.SetMinMaxLength<{ + minLength: 1; + }> & + Schema.Attribute.DefaultTo<''>; + encryptedKey: Schema.Attribute.Text & + Schema.Attribute.SetMinMaxLength<{ + minLength: 1; + }>; + expiresAt: Schema.Attribute.DateTime; + lastUsedAt: Schema.Attribute.DateTime; + lifespan: Schema.Attribute.BigInteger; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation<'oneToMany', 'admin::api-token'> & + Schema.Attribute.Private; + name: Schema.Attribute.String & + Schema.Attribute.Required & + Schema.Attribute.Unique & + Schema.Attribute.SetMinMaxLength<{ + minLength: 1; + }>; + permissions: Schema.Attribute.Relation< + 'oneToMany', + 'admin::api-token-permission' + >; + publishedAt: Schema.Attribute.DateTime; + type: Schema.Attribute.Enumeration<['read-only', 'full-access', 'custom']> & + Schema.Attribute.Required & + Schema.Attribute.DefaultTo<'read-only'>; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + }; +} + +export interface AdminApiTokenPermission extends Struct.CollectionTypeSchema { + collectionName: 'strapi_api_token_permissions'; + info: { + description: ''; + displayName: 'API Token Permission'; + name: 'API Token Permission'; + pluralName: 'api-token-permissions'; + singularName: 'api-token-permission'; + }; + options: { + draftAndPublish: false; + }; + pluginOptions: { + 'content-manager': { + visible: false; + }; + 'content-type-builder': { + visible: false; + }; + }; + attributes: { + action: Schema.Attribute.String & + Schema.Attribute.Required & + Schema.Attribute.SetMinMaxLength<{ + minLength: 1; + }>; + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation< + 'oneToMany', + 'admin::api-token-permission' + > & + Schema.Attribute.Private; + publishedAt: Schema.Attribute.DateTime; + token: Schema.Attribute.Relation<'manyToOne', 'admin::api-token'>; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + }; +} + +export interface AdminPermission extends Struct.CollectionTypeSchema { + collectionName: 'admin_permissions'; + info: { + description: ''; + displayName: 'Permission'; + name: 'Permission'; + pluralName: 'permissions'; + singularName: 'permission'; + }; + options: { + draftAndPublish: false; + }; + pluginOptions: { + 'content-manager': { + visible: false; + }; + 'content-type-builder': { + visible: false; + }; + }; + attributes: { + action: Schema.Attribute.String & + Schema.Attribute.Required & + Schema.Attribute.SetMinMaxLength<{ + minLength: 1; + }>; + actionParameters: Schema.Attribute.JSON & Schema.Attribute.DefaultTo<{}>; + conditions: Schema.Attribute.JSON & Schema.Attribute.DefaultTo<[]>; + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation<'oneToMany', 'admin::permission'> & + Schema.Attribute.Private; + properties: Schema.Attribute.JSON & Schema.Attribute.DefaultTo<{}>; + publishedAt: Schema.Attribute.DateTime; + role: Schema.Attribute.Relation<'manyToOne', 'admin::role'>; + subject: Schema.Attribute.String & + Schema.Attribute.SetMinMaxLength<{ + minLength: 1; + }>; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + }; +} + +export interface AdminRole extends Struct.CollectionTypeSchema { + collectionName: 'admin_roles'; + info: { + description: ''; + displayName: 'Role'; + name: 'Role'; + pluralName: 'roles'; + singularName: 'role'; + }; + options: { + draftAndPublish: false; + }; + pluginOptions: { + 'content-manager': { + visible: false; + }; + 'content-type-builder': { + visible: false; + }; + }; + attributes: { + code: Schema.Attribute.String & + Schema.Attribute.Required & + Schema.Attribute.Unique & + Schema.Attribute.SetMinMaxLength<{ + minLength: 1; + }>; + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + description: Schema.Attribute.String; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation<'oneToMany', 'admin::role'> & + Schema.Attribute.Private; + name: Schema.Attribute.String & + Schema.Attribute.Required & + Schema.Attribute.Unique & + Schema.Attribute.SetMinMaxLength<{ + minLength: 1; + }>; + permissions: Schema.Attribute.Relation<'oneToMany', 'admin::permission'>; + publishedAt: Schema.Attribute.DateTime; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + users: Schema.Attribute.Relation<'manyToMany', 'admin::user'>; + }; +} + +export interface AdminTransferToken extends Struct.CollectionTypeSchema { + collectionName: 'strapi_transfer_tokens'; + info: { + description: ''; + displayName: 'Transfer Token'; + name: 'Transfer Token'; + pluralName: 'transfer-tokens'; + singularName: 'transfer-token'; + }; + options: { + draftAndPublish: false; + }; + pluginOptions: { + 'content-manager': { + visible: false; + }; + 'content-type-builder': { + visible: false; + }; + }; + attributes: { + accessKey: Schema.Attribute.String & + Schema.Attribute.Required & + Schema.Attribute.SetMinMaxLength<{ + minLength: 1; + }>; + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + description: Schema.Attribute.String & + Schema.Attribute.SetMinMaxLength<{ + minLength: 1; + }> & + Schema.Attribute.DefaultTo<''>; + expiresAt: Schema.Attribute.DateTime; + lastUsedAt: Schema.Attribute.DateTime; + lifespan: Schema.Attribute.BigInteger; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation< + 'oneToMany', + 'admin::transfer-token' + > & + Schema.Attribute.Private; + name: Schema.Attribute.String & + Schema.Attribute.Required & + Schema.Attribute.Unique & + Schema.Attribute.SetMinMaxLength<{ + minLength: 1; + }>; + permissions: Schema.Attribute.Relation< + 'oneToMany', + 'admin::transfer-token-permission' + >; + publishedAt: Schema.Attribute.DateTime; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + }; +} + +export interface AdminTransferTokenPermission + extends Struct.CollectionTypeSchema { + collectionName: 'strapi_transfer_token_permissions'; + info: { + description: ''; + displayName: 'Transfer Token Permission'; + name: 'Transfer Token Permission'; + pluralName: 'transfer-token-permissions'; + singularName: 'transfer-token-permission'; + }; + options: { + draftAndPublish: false; + }; + pluginOptions: { + 'content-manager': { + visible: false; + }; + 'content-type-builder': { + visible: false; + }; + }; + attributes: { + action: Schema.Attribute.String & + Schema.Attribute.Required & + Schema.Attribute.SetMinMaxLength<{ + minLength: 1; + }>; + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation< + 'oneToMany', + 'admin::transfer-token-permission' + > & + Schema.Attribute.Private; + publishedAt: Schema.Attribute.DateTime; + token: Schema.Attribute.Relation<'manyToOne', 'admin::transfer-token'>; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + }; +} + +export interface AdminUser extends Struct.CollectionTypeSchema { + collectionName: 'admin_users'; + info: { + description: ''; + displayName: 'User'; + name: 'User'; + pluralName: 'users'; + singularName: 'user'; + }; + options: { + draftAndPublish: false; + }; + pluginOptions: { + 'content-manager': { + visible: false; + }; + 'content-type-builder': { + visible: false; + }; + }; + attributes: { + blocked: Schema.Attribute.Boolean & + Schema.Attribute.Private & + Schema.Attribute.DefaultTo; + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + email: Schema.Attribute.Email & + Schema.Attribute.Required & + Schema.Attribute.Private & + Schema.Attribute.Unique & + Schema.Attribute.SetMinMaxLength<{ + minLength: 6; + }>; + firstname: Schema.Attribute.String & + Schema.Attribute.SetMinMaxLength<{ + minLength: 1; + }>; + isActive: Schema.Attribute.Boolean & + Schema.Attribute.Private & + Schema.Attribute.DefaultTo; + lastname: Schema.Attribute.String & + Schema.Attribute.SetMinMaxLength<{ + minLength: 1; + }>; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation<'oneToMany', 'admin::user'> & + Schema.Attribute.Private; + password: Schema.Attribute.Password & + Schema.Attribute.Private & + Schema.Attribute.SetMinMaxLength<{ + minLength: 6; + }>; + preferedLanguage: Schema.Attribute.String; + publishedAt: Schema.Attribute.DateTime; + registrationToken: Schema.Attribute.String & Schema.Attribute.Private; + resetPasswordToken: Schema.Attribute.String & Schema.Attribute.Private; + roles: Schema.Attribute.Relation<'manyToMany', 'admin::role'> & + Schema.Attribute.Private; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + username: Schema.Attribute.String; + }; +} + +export interface ApiAboutAbout extends Struct.SingleTypeSchema { + collectionName: 'abouts'; + info: { + description: 'Write about yourself and the content you create'; + displayName: 'About'; + pluralName: 'abouts'; + singularName: 'about'; + }; + options: { + draftAndPublish: false; + }; + attributes: { + blocks: Schema.Attribute.DynamicZone< + ['shared.media', 'shared.quote', 'shared.rich-text', 'shared.slider'] + >; + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation<'oneToMany', 'api::about.about'> & + Schema.Attribute.Private; + publishedAt: Schema.Attribute.DateTime; + title: Schema.Attribute.String; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + }; +} + +export interface ApiArticleArticle extends Struct.CollectionTypeSchema { + collectionName: 'articles'; + info: { + description: 'Create your blog content'; + displayName: 'Article'; + pluralName: 'articles'; + singularName: 'article'; + }; + options: { + draftAndPublish: true; + }; + attributes: { + blocks: Schema.Attribute.DynamicZone< + ['shared.media', 'shared.quote', 'shared.rich-text', 'shared.slider'] + >; + category: Schema.Attribute.Relation<'manyToOne', 'api::category.category'>; + cover: Schema.Attribute.Media<'images' | 'files' | 'videos'>; + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + description: Schema.Attribute.Text & + Schema.Attribute.SetMinMaxLength<{ + maxLength: 80; + }>; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation< + 'oneToMany', + 'api::article.article' + > & + Schema.Attribute.Private; + publishedAt: Schema.Attribute.DateTime; + slug: Schema.Attribute.UID<'title'>; + title: Schema.Attribute.String; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + }; +} + +export interface ApiAuthorAuthor extends Struct.CollectionTypeSchema { + collectionName: 'authors'; + info: { + description: 'Create authors for your content'; + displayName: 'Author'; + pluralName: 'authors'; + singularName: 'author'; + }; + options: { + draftAndPublish: false; + }; + attributes: { + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + Descripcion: Schema.Attribute.String & Schema.Attribute.Required; + Foto: Schema.Attribute.Media<'images' | 'files' | 'videos'> & + Schema.Attribute.Required; + Linkedin: Schema.Attribute.String; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation< + 'oneToMany', + 'api::author.author' + > & + Schema.Attribute.Private; + NombreCompleto: Schema.Attribute.String & Schema.Attribute.Required; + publishedAt: Schema.Attribute.DateTime; + PuestoCargo: Schema.Attribute.String & Schema.Attribute.Required; + Twitter: Schema.Attribute.String; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + }; +} + +export interface ApiCategoryCategory extends Struct.CollectionTypeSchema { + collectionName: 'categories'; + info: { + description: 'Organize your content into categories'; + displayName: 'Category'; + pluralName: 'categories'; + singularName: 'category'; + }; + options: { + draftAndPublish: false; + }; + attributes: { + articles: Schema.Attribute.Relation<'oneToMany', 'api::article.article'>; + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + description: Schema.Attribute.Text; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation< + 'oneToMany', + 'api::category.category' + > & + Schema.Attribute.Private; + name: Schema.Attribute.String; + publishedAt: Schema.Attribute.DateTime; + slug: Schema.Attribute.UID; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + }; +} + +export interface ApiCommonPageCommonPage extends Struct.CollectionTypeSchema { + collectionName: 'common_pages'; + info: { + displayName: 'CommonPage'; + pluralName: 'common-pages'; + singularName: 'common-page'; + }; + options: { + draftAndPublish: true; + }; + attributes: { + Azul: Schema.Attribute.Boolean; + ButtonLink: Schema.Attribute.String; + ButtonText: Schema.Attribute.String; + cloudinaryUrl: Schema.Attribute.String; + Content: Schema.Attribute.Text & Schema.Attribute.Required; + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + Frase: Schema.Attribute.String; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation< + 'oneToMany', + 'api::common-page.common-page' + > & + Schema.Attribute.Private; + LogoImage: Schema.Attribute.Media<'images'>; + MainImage: Schema.Attribute.Media<'images'> & Schema.Attribute.Required; + publishedAt: Schema.Attribute.DateTime; + SEODescription: Schema.Attribute.String & Schema.Attribute.Required; + Slug: Schema.Attribute.String & Schema.Attribute.Required; + Title: Schema.Attribute.String & Schema.Attribute.Required; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + Video: Schema.Attribute.Media<'videos'>; + VideoCaption: Schema.Attribute.Media<'images' | 'videos'>; + VideoImage: Schema.Attribute.Media<'images' | 'videos'>; + whatsappMessage: Schema.Attribute.String; + }; +} + +export interface ApiCotizadorRentaSeguraCotizadorRentaSegura + extends Struct.SingleTypeSchema { + collectionName: 'cotizador_renta_seguras'; + info: { + displayName: 'CotizadorRentaSegura'; + pluralName: 'cotizador-renta-seguras'; + singularName: 'cotizador-renta-segura'; + }; + options: { + draftAndPublish: true; + }; + attributes: { + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + DescriptionSelectProducts: Schema.Attribute.Text & + Schema.Attribute.Required; + DescriptionText: Schema.Attribute.Text & Schema.Attribute.Required; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation< + 'oneToMany', + 'api::cotizador-renta-segura.cotizador-renta-segura' + > & + Schema.Attribute.Private; + LogoTitle: Schema.Attribute.Media<'images'> & Schema.Attribute.Required; + MainImage: Schema.Attribute.Media<'images'>; + Products: Schema.Attribute.JSON & Schema.Attribute.Required; + publishedAt: Schema.Attribute.DateTime; + TituloCotizador: Schema.Attribute.String & Schema.Attribute.Required; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + }; +} + +export interface ApiEntradaDeBlogEntradaDeBlog + extends Struct.CollectionTypeSchema { + collectionName: 'entrada_de_blogs'; + info: { + displayName: 'EntradaDeBlog'; + pluralName: 'entrada-de-blogs'; + singularName: 'entrada-de-blog'; + }; + options: { + draftAndPublish: true; + }; + attributes: { + Autor: Schema.Attribute.Relation<'oneToOne', 'api::author.author'>; + ButtonBlogLink: Schema.Attribute.String; + ButtonText: Schema.Attribute.String; + cloudinaryUrl: Schema.Attribute.String; + Contenido: Schema.Attribute.Text & Schema.Attribute.Required; + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + FechaDePublicacion: Schema.Attribute.Date & Schema.Attribute.Required; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation< + 'oneToMany', + 'api::entrada-de-blog.entrada-de-blog' + > & + Schema.Attribute.Private; + MainImage: Schema.Attribute.Media<'images', true>; + publishedAt: Schema.Attribute.DateTime; + SEODescription: Schema.Attribute.String & Schema.Attribute.Required; + Slug: Schema.Attribute.String & Schema.Attribute.Required; + Tags: Schema.Attribute.Component<'shared.tag', true>; + Title: Schema.Attribute.String & Schema.Attribute.Required; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + whatsappMessage: Schema.Attribute.String; + }; +} + +export interface ApiFooterFooter extends Struct.SingleTypeSchema { + collectionName: 'footers'; + info: { + displayName: 'Footer'; + pluralName: 'footers'; + singularName: 'footer'; + }; + options: { + draftAndPublish: true; + }; + attributes: { + Address: Schema.Attribute.String & Schema.Attribute.Required; + BolitasBackground: Schema.Attribute.Media<'images'> & + Schema.Attribute.Required; + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + FacebookURL: Schema.Attribute.String; + InstagramURL: Schema.Attribute.String; + LinkedinURL: Schema.Attribute.String; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation< + 'oneToMany', + 'api::footer.footer' + > & + Schema.Attribute.Private; + Name: Schema.Attribute.String & Schema.Attribute.Required; + NewsletterButton: Schema.Attribute.String & Schema.Attribute.Required; + NewsletterDescription: Schema.Attribute.String & Schema.Attribute.Required; + NewsletterTitle: Schema.Attribute.String & Schema.Attribute.Required; + publishedAt: Schema.Attribute.DateTime; + SecondMenu: Schema.Attribute.JSON & Schema.Attribute.Required; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + YouTubeURL: Schema.Attribute.String; + }; +} + +export interface ApiGlobalGlobal extends Struct.SingleTypeSchema { + collectionName: 'globals'; + info: { + description: 'Define global settings'; + displayName: 'Global'; + pluralName: 'globals'; + singularName: 'global'; + }; + options: { + draftAndPublish: false; + }; + attributes: { + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + defaultSeo: Schema.Attribute.Component<'shared.seo', false>; + favicon: Schema.Attribute.Media<'images' | 'files' | 'videos'>; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation< + 'oneToMany', + 'api::global.global' + > & + Schema.Attribute.Private; + publishedAt: Schema.Attribute.DateTime; + siteDescription: Schema.Attribute.Text & Schema.Attribute.Required; + siteName: Schema.Attribute.String & Schema.Attribute.Required; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + }; +} + +export interface ApiHomePageHomePage extends Struct.SingleTypeSchema { + collectionName: 'home_pages'; + info: { + displayName: 'HomePage'; + pluralName: 'home-pages'; + singularName: 'home-page'; + }; + options: { + draftAndPublish: true; + }; + attributes: { + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation< + 'oneToMany', + 'api::home-page.home-page' + > & + Schema.Attribute.Private; + publishedAt: Schema.Attribute.DateTime; + Title: Schema.Attribute.String & Schema.Attribute.Required; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + whatsappMessage: Schema.Attribute.String; + }; +} + +export interface PluginContentReleasesRelease + extends Struct.CollectionTypeSchema { + collectionName: 'strapi_releases'; + info: { + displayName: 'Release'; + pluralName: 'releases'; + singularName: 'release'; + }; + options: { + draftAndPublish: false; + }; + pluginOptions: { + 'content-manager': { + visible: false; + }; + 'content-type-builder': { + visible: false; + }; + }; + attributes: { + actions: Schema.Attribute.Relation< + 'oneToMany', + 'plugin::content-releases.release-action' + >; + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation< + 'oneToMany', + 'plugin::content-releases.release' + > & + Schema.Attribute.Private; + name: Schema.Attribute.String & Schema.Attribute.Required; + publishedAt: Schema.Attribute.DateTime; + releasedAt: Schema.Attribute.DateTime; + scheduledAt: Schema.Attribute.DateTime; + status: Schema.Attribute.Enumeration< + ['ready', 'blocked', 'failed', 'done', 'empty'] + > & + Schema.Attribute.Required; + timezone: Schema.Attribute.String; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + }; +} + +export interface PluginContentReleasesReleaseAction + extends Struct.CollectionTypeSchema { + collectionName: 'strapi_release_actions'; + info: { + displayName: 'Release Action'; + pluralName: 'release-actions'; + singularName: 'release-action'; + }; + options: { + draftAndPublish: false; + }; + pluginOptions: { + 'content-manager': { + visible: false; + }; + 'content-type-builder': { + visible: false; + }; + }; + attributes: { + contentType: Schema.Attribute.String & Schema.Attribute.Required; + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + entryDocumentId: Schema.Attribute.String; + isEntryValid: Schema.Attribute.Boolean; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation< + 'oneToMany', + 'plugin::content-releases.release-action' + > & + Schema.Attribute.Private; + publishedAt: Schema.Attribute.DateTime; + release: Schema.Attribute.Relation< + 'manyToOne', + 'plugin::content-releases.release' + >; + type: Schema.Attribute.Enumeration<['publish', 'unpublish']> & + Schema.Attribute.Required; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + }; +} + +export interface PluginI18NLocale extends Struct.CollectionTypeSchema { + collectionName: 'i18n_locale'; + info: { + collectionName: 'locales'; + description: ''; + displayName: 'Locale'; + pluralName: 'locales'; + singularName: 'locale'; + }; + options: { + draftAndPublish: false; + }; + pluginOptions: { + 'content-manager': { + visible: false; + }; + 'content-type-builder': { + visible: false; + }; + }; + attributes: { + code: Schema.Attribute.String & Schema.Attribute.Unique; + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation< + 'oneToMany', + 'plugin::i18n.locale' + > & + Schema.Attribute.Private; + name: Schema.Attribute.String & + Schema.Attribute.SetMinMax< + { + max: 50; + min: 1; + }, + number + >; + publishedAt: Schema.Attribute.DateTime; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + }; +} + +export interface PluginReviewWorkflowsWorkflow + extends Struct.CollectionTypeSchema { + collectionName: 'strapi_workflows'; + info: { + description: ''; + displayName: 'Workflow'; + name: 'Workflow'; + pluralName: 'workflows'; + singularName: 'workflow'; + }; + options: { + draftAndPublish: false; + }; + pluginOptions: { + 'content-manager': { + visible: false; + }; + 'content-type-builder': { + visible: false; + }; + }; + attributes: { + contentTypes: Schema.Attribute.JSON & + Schema.Attribute.Required & + Schema.Attribute.DefaultTo<'[]'>; + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation< + 'oneToMany', + 'plugin::review-workflows.workflow' + > & + Schema.Attribute.Private; + name: Schema.Attribute.String & + Schema.Attribute.Required & + Schema.Attribute.Unique; + publishedAt: Schema.Attribute.DateTime; + stageRequiredToPublish: Schema.Attribute.Relation< + 'oneToOne', + 'plugin::review-workflows.workflow-stage' + >; + stages: Schema.Attribute.Relation< + 'oneToMany', + 'plugin::review-workflows.workflow-stage' + >; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + }; +} + +export interface PluginReviewWorkflowsWorkflowStage + extends Struct.CollectionTypeSchema { + collectionName: 'strapi_workflows_stages'; + info: { + description: ''; + displayName: 'Stages'; + name: 'Workflow Stage'; + pluralName: 'workflow-stages'; + singularName: 'workflow-stage'; + }; + options: { + draftAndPublish: false; + version: '1.1.0'; + }; + pluginOptions: { + 'content-manager': { + visible: false; + }; + 'content-type-builder': { + visible: false; + }; + }; + attributes: { + color: Schema.Attribute.String & Schema.Attribute.DefaultTo<'#4945FF'>; + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation< + 'oneToMany', + 'plugin::review-workflows.workflow-stage' + > & + Schema.Attribute.Private; + name: Schema.Attribute.String; + permissions: Schema.Attribute.Relation<'manyToMany', 'admin::permission'>; + publishedAt: Schema.Attribute.DateTime; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + workflow: Schema.Attribute.Relation< + 'manyToOne', + 'plugin::review-workflows.workflow' + >; + }; +} + +export interface PluginUploadFile extends Struct.CollectionTypeSchema { + collectionName: 'files'; + info: { + description: ''; + displayName: 'File'; + pluralName: 'files'; + singularName: 'file'; + }; + options: { + draftAndPublish: false; + }; + pluginOptions: { + 'content-manager': { + visible: false; + }; + 'content-type-builder': { + visible: false; + }; + }; + attributes: { + alternativeText: Schema.Attribute.String; + caption: Schema.Attribute.String; + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + ext: Schema.Attribute.String; + folder: Schema.Attribute.Relation<'manyToOne', 'plugin::upload.folder'> & + Schema.Attribute.Private; + folderPath: Schema.Attribute.String & + Schema.Attribute.Required & + Schema.Attribute.Private & + Schema.Attribute.SetMinMaxLength<{ + minLength: 1; + }>; + formats: Schema.Attribute.JSON; + hash: Schema.Attribute.String & Schema.Attribute.Required; + height: Schema.Attribute.Integer; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation< + 'oneToMany', + 'plugin::upload.file' + > & + Schema.Attribute.Private; + mime: Schema.Attribute.String & Schema.Attribute.Required; + name: Schema.Attribute.String & Schema.Attribute.Required; + previewUrl: Schema.Attribute.String; + provider: Schema.Attribute.String & Schema.Attribute.Required; + provider_metadata: Schema.Attribute.JSON; + publishedAt: Schema.Attribute.DateTime; + related: Schema.Attribute.Relation<'morphToMany'>; + size: Schema.Attribute.Decimal & Schema.Attribute.Required; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + url: Schema.Attribute.String & Schema.Attribute.Required; + width: Schema.Attribute.Integer; + }; +} + +export interface PluginUploadFolder extends Struct.CollectionTypeSchema { + collectionName: 'upload_folders'; + info: { + displayName: 'Folder'; + pluralName: 'folders'; + singularName: 'folder'; + }; + options: { + draftAndPublish: false; + }; + pluginOptions: { + 'content-manager': { + visible: false; + }; + 'content-type-builder': { + visible: false; + }; + }; + attributes: { + children: Schema.Attribute.Relation<'oneToMany', 'plugin::upload.folder'>; + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + files: Schema.Attribute.Relation<'oneToMany', 'plugin::upload.file'>; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation< + 'oneToMany', + 'plugin::upload.folder' + > & + Schema.Attribute.Private; + name: Schema.Attribute.String & + Schema.Attribute.Required & + Schema.Attribute.SetMinMaxLength<{ + minLength: 1; + }>; + parent: Schema.Attribute.Relation<'manyToOne', 'plugin::upload.folder'>; + path: Schema.Attribute.String & + Schema.Attribute.Required & + Schema.Attribute.SetMinMaxLength<{ + minLength: 1; + }>; + pathId: Schema.Attribute.Integer & + Schema.Attribute.Required & + Schema.Attribute.Unique; + publishedAt: Schema.Attribute.DateTime; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + }; +} + +export interface PluginUsersPermissionsPermission + extends Struct.CollectionTypeSchema { + collectionName: 'up_permissions'; + info: { + description: ''; + displayName: 'Permission'; + name: 'permission'; + pluralName: 'permissions'; + singularName: 'permission'; + }; + options: { + draftAndPublish: false; + }; + pluginOptions: { + 'content-manager': { + visible: false; + }; + 'content-type-builder': { + visible: false; + }; + }; + attributes: { + action: Schema.Attribute.String & Schema.Attribute.Required; + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation< + 'oneToMany', + 'plugin::users-permissions.permission' + > & + Schema.Attribute.Private; + publishedAt: Schema.Attribute.DateTime; + role: Schema.Attribute.Relation< + 'manyToOne', + 'plugin::users-permissions.role' + >; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + }; +} + +export interface PluginUsersPermissionsRole + extends Struct.CollectionTypeSchema { + collectionName: 'up_roles'; + info: { + description: ''; + displayName: 'Role'; + name: 'role'; + pluralName: 'roles'; + singularName: 'role'; + }; + options: { + draftAndPublish: false; + }; + pluginOptions: { + 'content-manager': { + visible: false; + }; + 'content-type-builder': { + visible: false; + }; + }; + attributes: { + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + description: Schema.Attribute.String; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation< + 'oneToMany', + 'plugin::users-permissions.role' + > & + Schema.Attribute.Private; + name: Schema.Attribute.String & + Schema.Attribute.Required & + Schema.Attribute.SetMinMaxLength<{ + minLength: 3; + }>; + permissions: Schema.Attribute.Relation< + 'oneToMany', + 'plugin::users-permissions.permission' + >; + publishedAt: Schema.Attribute.DateTime; + type: Schema.Attribute.String & Schema.Attribute.Unique; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + users: Schema.Attribute.Relation< + 'oneToMany', + 'plugin::users-permissions.user' + >; + }; +} + +export interface PluginUsersPermissionsUser + extends Struct.CollectionTypeSchema { + collectionName: 'up_users'; + info: { + description: ''; + displayName: 'User'; + name: 'user'; + pluralName: 'users'; + singularName: 'user'; + }; + options: { + draftAndPublish: false; + timestamps: true; + }; + attributes: { + blocked: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo; + confirmationToken: Schema.Attribute.String & Schema.Attribute.Private; + confirmed: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo; + createdAt: Schema.Attribute.DateTime; + createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + email: Schema.Attribute.Email & + Schema.Attribute.Required & + Schema.Attribute.SetMinMaxLength<{ + minLength: 6; + }>; + locale: Schema.Attribute.String & Schema.Attribute.Private; + localizations: Schema.Attribute.Relation< + 'oneToMany', + 'plugin::users-permissions.user' + > & + Schema.Attribute.Private; + password: Schema.Attribute.Password & + Schema.Attribute.Private & + Schema.Attribute.SetMinMaxLength<{ + minLength: 6; + }>; + provider: Schema.Attribute.String; + publishedAt: Schema.Attribute.DateTime; + resetPasswordToken: Schema.Attribute.String & Schema.Attribute.Private; + role: Schema.Attribute.Relation< + 'manyToOne', + 'plugin::users-permissions.role' + >; + updatedAt: Schema.Attribute.DateTime; + updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & + Schema.Attribute.Private; + username: Schema.Attribute.String & + Schema.Attribute.Required & + Schema.Attribute.Unique & + Schema.Attribute.SetMinMaxLength<{ + minLength: 3; + }>; + }; +} + +declare module '@strapi/strapi' { + export module Public { + export interface ContentTypeSchemas { + 'admin::api-token': AdminApiToken; + 'admin::api-token-permission': AdminApiTokenPermission; + 'admin::permission': AdminPermission; + 'admin::role': AdminRole; + 'admin::transfer-token': AdminTransferToken; + 'admin::transfer-token-permission': AdminTransferTokenPermission; + 'admin::user': AdminUser; + 'api::about.about': ApiAboutAbout; + 'api::article.article': ApiArticleArticle; + 'api::author.author': ApiAuthorAuthor; + 'api::category.category': ApiCategoryCategory; + 'api::common-page.common-page': ApiCommonPageCommonPage; + 'api::cotizador-renta-segura.cotizador-renta-segura': ApiCotizadorRentaSeguraCotizadorRentaSegura; + 'api::entrada-de-blog.entrada-de-blog': ApiEntradaDeBlogEntradaDeBlog; + 'api::footer.footer': ApiFooterFooter; + 'api::global.global': ApiGlobalGlobal; + 'api::home-page.home-page': ApiHomePageHomePage; + 'plugin::content-releases.release': PluginContentReleasesRelease; + 'plugin::content-releases.release-action': PluginContentReleasesReleaseAction; + 'plugin::i18n.locale': PluginI18NLocale; + 'plugin::review-workflows.workflow': PluginReviewWorkflowsWorkflow; + 'plugin::review-workflows.workflow-stage': PluginReviewWorkflowsWorkflowStage; + 'plugin::upload.file': PluginUploadFile; + 'plugin::upload.folder': PluginUploadFolder; + 'plugin::users-permissions.permission': PluginUsersPermissionsPermission; + 'plugin::users-permissions.role': PluginUsersPermissionsRole; + 'plugin::users-permissions.user': PluginUsersPermissionsUser; + } + } +}