all repos — caroster @ 25ef569b9aff78df82eea6d516cca3a4aeccbb8a

[Octree] Group carpool to your event https://caroster.io

backend/types/generated/contentTypes.d.ts (view raw)

   1import type { Schema, Attribute } from '@strapi/strapi';
   2
   3export interface AdminPermission extends Schema.CollectionType {
   4  collectionName: 'admin_permissions';
   5  info: {
   6    name: 'Permission';
   7    description: '';
   8    singularName: 'permission';
   9    pluralName: 'permissions';
  10    displayName: 'Permission';
  11  };
  12  pluginOptions: {
  13    'content-manager': {
  14      visible: false;
  15    };
  16    'content-type-builder': {
  17      visible: false;
  18    };
  19  };
  20  attributes: {
  21    action: Attribute.String &
  22      Attribute.Required &
  23      Attribute.SetMinMaxLength<{
  24        minLength: 1;
  25      }>;
  26    actionParameters: Attribute.JSON & Attribute.DefaultTo<{}>;
  27    subject: Attribute.String &
  28      Attribute.SetMinMaxLength<{
  29        minLength: 1;
  30      }>;
  31    properties: Attribute.JSON & Attribute.DefaultTo<{}>;
  32    conditions: Attribute.JSON & Attribute.DefaultTo<[]>;
  33    role: Attribute.Relation<'admin::permission', 'manyToOne', 'admin::role'>;
  34    createdAt: Attribute.DateTime;
  35    updatedAt: Attribute.DateTime;
  36    createdBy: Attribute.Relation<
  37      'admin::permission',
  38      'oneToOne',
  39      'admin::user'
  40    > &
  41      Attribute.Private;
  42    updatedBy: Attribute.Relation<
  43      'admin::permission',
  44      'oneToOne',
  45      'admin::user'
  46    > &
  47      Attribute.Private;
  48  };
  49}
  50
  51export interface AdminUser extends Schema.CollectionType {
  52  collectionName: 'admin_users';
  53  info: {
  54    name: 'User';
  55    description: '';
  56    singularName: 'user';
  57    pluralName: 'users';
  58    displayName: 'User';
  59  };
  60  pluginOptions: {
  61    'content-manager': {
  62      visible: false;
  63    };
  64    'content-type-builder': {
  65      visible: false;
  66    };
  67  };
  68  attributes: {
  69    firstname: Attribute.String &
  70      Attribute.SetMinMaxLength<{
  71        minLength: 1;
  72      }>;
  73    lastname: Attribute.String &
  74      Attribute.SetMinMaxLength<{
  75        minLength: 1;
  76      }>;
  77    username: Attribute.String;
  78    email: Attribute.Email &
  79      Attribute.Required &
  80      Attribute.Private &
  81      Attribute.Unique &
  82      Attribute.SetMinMaxLength<{
  83        minLength: 6;
  84      }>;
  85    password: Attribute.Password &
  86      Attribute.Private &
  87      Attribute.SetMinMaxLength<{
  88        minLength: 6;
  89      }>;
  90    resetPasswordToken: Attribute.String & Attribute.Private;
  91    registrationToken: Attribute.String & Attribute.Private;
  92    isActive: Attribute.Boolean &
  93      Attribute.Private &
  94      Attribute.DefaultTo<false>;
  95    roles: Attribute.Relation<'admin::user', 'manyToMany', 'admin::role'> &
  96      Attribute.Private;
  97    blocked: Attribute.Boolean & Attribute.Private & Attribute.DefaultTo<false>;
  98    preferedLanguage: Attribute.String;
  99    createdAt: Attribute.DateTime;
 100    updatedAt: Attribute.DateTime;
 101    createdBy: Attribute.Relation<'admin::user', 'oneToOne', 'admin::user'> &
 102      Attribute.Private;
 103    updatedBy: Attribute.Relation<'admin::user', 'oneToOne', 'admin::user'> &
 104      Attribute.Private;
 105  };
 106}
 107
 108export interface AdminRole extends Schema.CollectionType {
 109  collectionName: 'admin_roles';
 110  info: {
 111    name: 'Role';
 112    description: '';
 113    singularName: 'role';
 114    pluralName: 'roles';
 115    displayName: 'Role';
 116  };
 117  pluginOptions: {
 118    'content-manager': {
 119      visible: false;
 120    };
 121    'content-type-builder': {
 122      visible: false;
 123    };
 124  };
 125  attributes: {
 126    name: Attribute.String &
 127      Attribute.Required &
 128      Attribute.Unique &
 129      Attribute.SetMinMaxLength<{
 130        minLength: 1;
 131      }>;
 132    code: Attribute.String &
 133      Attribute.Required &
 134      Attribute.Unique &
 135      Attribute.SetMinMaxLength<{
 136        minLength: 1;
 137      }>;
 138    description: Attribute.String;
 139    users: Attribute.Relation<'admin::role', 'manyToMany', 'admin::user'>;
 140    permissions: Attribute.Relation<
 141      'admin::role',
 142      'oneToMany',
 143      'admin::permission'
 144    >;
 145    createdAt: Attribute.DateTime;
 146    updatedAt: Attribute.DateTime;
 147    createdBy: Attribute.Relation<'admin::role', 'oneToOne', 'admin::user'> &
 148      Attribute.Private;
 149    updatedBy: Attribute.Relation<'admin::role', 'oneToOne', 'admin::user'> &
 150      Attribute.Private;
 151  };
 152}
 153
 154export interface AdminApiToken extends Schema.CollectionType {
 155  collectionName: 'strapi_api_tokens';
 156  info: {
 157    name: 'Api Token';
 158    singularName: 'api-token';
 159    pluralName: 'api-tokens';
 160    displayName: 'Api Token';
 161    description: '';
 162  };
 163  pluginOptions: {
 164    'content-manager': {
 165      visible: false;
 166    };
 167    'content-type-builder': {
 168      visible: false;
 169    };
 170  };
 171  attributes: {
 172    name: Attribute.String &
 173      Attribute.Required &
 174      Attribute.Unique &
 175      Attribute.SetMinMaxLength<{
 176        minLength: 1;
 177      }>;
 178    description: Attribute.String &
 179      Attribute.SetMinMaxLength<{
 180        minLength: 1;
 181      }> &
 182      Attribute.DefaultTo<''>;
 183    type: Attribute.Enumeration<['read-only', 'full-access', 'custom']> &
 184      Attribute.Required &
 185      Attribute.DefaultTo<'read-only'>;
 186    accessKey: Attribute.String &
 187      Attribute.Required &
 188      Attribute.SetMinMaxLength<{
 189        minLength: 1;
 190      }>;
 191    lastUsedAt: Attribute.DateTime;
 192    permissions: Attribute.Relation<
 193      'admin::api-token',
 194      'oneToMany',
 195      'admin::api-token-permission'
 196    >;
 197    expiresAt: Attribute.DateTime;
 198    lifespan: Attribute.BigInteger;
 199    createdAt: Attribute.DateTime;
 200    updatedAt: Attribute.DateTime;
 201    createdBy: Attribute.Relation<
 202      'admin::api-token',
 203      'oneToOne',
 204      'admin::user'
 205    > &
 206      Attribute.Private;
 207    updatedBy: Attribute.Relation<
 208      'admin::api-token',
 209      'oneToOne',
 210      'admin::user'
 211    > &
 212      Attribute.Private;
 213  };
 214}
 215
 216export interface AdminApiTokenPermission extends Schema.CollectionType {
 217  collectionName: 'strapi_api_token_permissions';
 218  info: {
 219    name: 'API Token Permission';
 220    description: '';
 221    singularName: 'api-token-permission';
 222    pluralName: 'api-token-permissions';
 223    displayName: 'API Token Permission';
 224  };
 225  pluginOptions: {
 226    'content-manager': {
 227      visible: false;
 228    };
 229    'content-type-builder': {
 230      visible: false;
 231    };
 232  };
 233  attributes: {
 234    action: Attribute.String &
 235      Attribute.Required &
 236      Attribute.SetMinMaxLength<{
 237        minLength: 1;
 238      }>;
 239    token: Attribute.Relation<
 240      'admin::api-token-permission',
 241      'manyToOne',
 242      'admin::api-token'
 243    >;
 244    createdAt: Attribute.DateTime;
 245    updatedAt: Attribute.DateTime;
 246    createdBy: Attribute.Relation<
 247      'admin::api-token-permission',
 248      'oneToOne',
 249      'admin::user'
 250    > &
 251      Attribute.Private;
 252    updatedBy: Attribute.Relation<
 253      'admin::api-token-permission',
 254      'oneToOne',
 255      'admin::user'
 256    > &
 257      Attribute.Private;
 258  };
 259}
 260
 261export interface AdminTransferToken extends Schema.CollectionType {
 262  collectionName: 'strapi_transfer_tokens';
 263  info: {
 264    name: 'Transfer Token';
 265    singularName: 'transfer-token';
 266    pluralName: 'transfer-tokens';
 267    displayName: 'Transfer Token';
 268    description: '';
 269  };
 270  pluginOptions: {
 271    'content-manager': {
 272      visible: false;
 273    };
 274    'content-type-builder': {
 275      visible: false;
 276    };
 277  };
 278  attributes: {
 279    name: Attribute.String &
 280      Attribute.Required &
 281      Attribute.Unique &
 282      Attribute.SetMinMaxLength<{
 283        minLength: 1;
 284      }>;
 285    description: Attribute.String &
 286      Attribute.SetMinMaxLength<{
 287        minLength: 1;
 288      }> &
 289      Attribute.DefaultTo<''>;
 290    accessKey: Attribute.String &
 291      Attribute.Required &
 292      Attribute.SetMinMaxLength<{
 293        minLength: 1;
 294      }>;
 295    lastUsedAt: Attribute.DateTime;
 296    permissions: Attribute.Relation<
 297      'admin::transfer-token',
 298      'oneToMany',
 299      'admin::transfer-token-permission'
 300    >;
 301    expiresAt: Attribute.DateTime;
 302    lifespan: Attribute.BigInteger;
 303    createdAt: Attribute.DateTime;
 304    updatedAt: Attribute.DateTime;
 305    createdBy: Attribute.Relation<
 306      'admin::transfer-token',
 307      'oneToOne',
 308      'admin::user'
 309    > &
 310      Attribute.Private;
 311    updatedBy: Attribute.Relation<
 312      'admin::transfer-token',
 313      'oneToOne',
 314      'admin::user'
 315    > &
 316      Attribute.Private;
 317  };
 318}
 319
 320export interface AdminTransferTokenPermission extends Schema.CollectionType {
 321  collectionName: 'strapi_transfer_token_permissions';
 322  info: {
 323    name: 'Transfer Token Permission';
 324    description: '';
 325    singularName: 'transfer-token-permission';
 326    pluralName: 'transfer-token-permissions';
 327    displayName: 'Transfer Token Permission';
 328  };
 329  pluginOptions: {
 330    'content-manager': {
 331      visible: false;
 332    };
 333    'content-type-builder': {
 334      visible: false;
 335    };
 336  };
 337  attributes: {
 338    action: Attribute.String &
 339      Attribute.Required &
 340      Attribute.SetMinMaxLength<{
 341        minLength: 1;
 342      }>;
 343    token: Attribute.Relation<
 344      'admin::transfer-token-permission',
 345      'manyToOne',
 346      'admin::transfer-token'
 347    >;
 348    createdAt: Attribute.DateTime;
 349    updatedAt: Attribute.DateTime;
 350    createdBy: Attribute.Relation<
 351      'admin::transfer-token-permission',
 352      'oneToOne',
 353      'admin::user'
 354    > &
 355      Attribute.Private;
 356    updatedBy: Attribute.Relation<
 357      'admin::transfer-token-permission',
 358      'oneToOne',
 359      'admin::user'
 360    > &
 361      Attribute.Private;
 362  };
 363}
 364
 365export interface PluginUploadFile extends Schema.CollectionType {
 366  collectionName: 'files';
 367  info: {
 368    singularName: 'file';
 369    pluralName: 'files';
 370    displayName: 'File';
 371    description: '';
 372  };
 373  pluginOptions: {
 374    'content-manager': {
 375      visible: false;
 376    };
 377    'content-type-builder': {
 378      visible: false;
 379    };
 380  };
 381  attributes: {
 382    name: Attribute.String & Attribute.Required;
 383    alternativeText: Attribute.String;
 384    caption: Attribute.String;
 385    width: Attribute.Integer;
 386    height: Attribute.Integer;
 387    formats: Attribute.JSON;
 388    hash: Attribute.String & Attribute.Required;
 389    ext: Attribute.String;
 390    mime: Attribute.String & Attribute.Required;
 391    size: Attribute.Decimal & Attribute.Required;
 392    url: Attribute.String & Attribute.Required;
 393    previewUrl: Attribute.String;
 394    provider: Attribute.String & Attribute.Required;
 395    provider_metadata: Attribute.JSON;
 396    related: Attribute.Relation<'plugin::upload.file', 'morphToMany'>;
 397    folder: Attribute.Relation<
 398      'plugin::upload.file',
 399      'manyToOne',
 400      'plugin::upload.folder'
 401    > &
 402      Attribute.Private;
 403    folderPath: Attribute.String &
 404      Attribute.Required &
 405      Attribute.Private &
 406      Attribute.SetMinMax<{
 407        min: 1;
 408      }>;
 409    createdAt: Attribute.DateTime;
 410    updatedAt: Attribute.DateTime;
 411    createdBy: Attribute.Relation<
 412      'plugin::upload.file',
 413      'oneToOne',
 414      'admin::user'
 415    > &
 416      Attribute.Private;
 417    updatedBy: Attribute.Relation<
 418      'plugin::upload.file',
 419      'oneToOne',
 420      'admin::user'
 421    > &
 422      Attribute.Private;
 423  };
 424}
 425
 426export interface PluginUploadFolder extends Schema.CollectionType {
 427  collectionName: 'upload_folders';
 428  info: {
 429    singularName: 'folder';
 430    pluralName: 'folders';
 431    displayName: 'Folder';
 432  };
 433  pluginOptions: {
 434    'content-manager': {
 435      visible: false;
 436    };
 437    'content-type-builder': {
 438      visible: false;
 439    };
 440  };
 441  attributes: {
 442    name: Attribute.String &
 443      Attribute.Required &
 444      Attribute.SetMinMax<{
 445        min: 1;
 446      }>;
 447    pathId: Attribute.Integer & Attribute.Required & Attribute.Unique;
 448    parent: Attribute.Relation<
 449      'plugin::upload.folder',
 450      'manyToOne',
 451      'plugin::upload.folder'
 452    >;
 453    children: Attribute.Relation<
 454      'plugin::upload.folder',
 455      'oneToMany',
 456      'plugin::upload.folder'
 457    >;
 458    files: Attribute.Relation<
 459      'plugin::upload.folder',
 460      'oneToMany',
 461      'plugin::upload.file'
 462    >;
 463    path: Attribute.String &
 464      Attribute.Required &
 465      Attribute.SetMinMax<{
 466        min: 1;
 467      }>;
 468    createdAt: Attribute.DateTime;
 469    updatedAt: Attribute.DateTime;
 470    createdBy: Attribute.Relation<
 471      'plugin::upload.folder',
 472      'oneToOne',
 473      'admin::user'
 474    > &
 475      Attribute.Private;
 476    updatedBy: Attribute.Relation<
 477      'plugin::upload.folder',
 478      'oneToOne',
 479      'admin::user'
 480    > &
 481      Attribute.Private;
 482  };
 483}
 484
 485export interface PluginContentReleasesRelease extends Schema.CollectionType {
 486  collectionName: 'strapi_releases';
 487  info: {
 488    singularName: 'release';
 489    pluralName: 'releases';
 490    displayName: 'Release';
 491  };
 492  options: {
 493    draftAndPublish: false;
 494  };
 495  pluginOptions: {
 496    'content-manager': {
 497      visible: false;
 498    };
 499    'content-type-builder': {
 500      visible: false;
 501    };
 502  };
 503  attributes: {
 504    name: Attribute.String & Attribute.Required;
 505    releasedAt: Attribute.DateTime;
 506    actions: Attribute.Relation<
 507      'plugin::content-releases.release',
 508      'oneToMany',
 509      'plugin::content-releases.release-action'
 510    >;
 511    createdAt: Attribute.DateTime;
 512    updatedAt: Attribute.DateTime;
 513    createdBy: Attribute.Relation<
 514      'plugin::content-releases.release',
 515      'oneToOne',
 516      'admin::user'
 517    > &
 518      Attribute.Private;
 519    updatedBy: Attribute.Relation<
 520      'plugin::content-releases.release',
 521      'oneToOne',
 522      'admin::user'
 523    > &
 524      Attribute.Private;
 525  };
 526}
 527
 528export interface PluginContentReleasesReleaseAction
 529  extends Schema.CollectionType {
 530  collectionName: 'strapi_release_actions';
 531  info: {
 532    singularName: 'release-action';
 533    pluralName: 'release-actions';
 534    displayName: 'Release Action';
 535  };
 536  options: {
 537    draftAndPublish: false;
 538  };
 539  pluginOptions: {
 540    'content-manager': {
 541      visible: false;
 542    };
 543    'content-type-builder': {
 544      visible: false;
 545    };
 546  };
 547  attributes: {
 548    type: Attribute.Enumeration<['publish', 'unpublish']> & Attribute.Required;
 549    entry: Attribute.Relation<
 550      'plugin::content-releases.release-action',
 551      'morphToOne'
 552    >;
 553    contentType: Attribute.String & Attribute.Required;
 554    release: Attribute.Relation<
 555      'plugin::content-releases.release-action',
 556      'manyToOne',
 557      'plugin::content-releases.release'
 558    >;
 559    createdAt: Attribute.DateTime;
 560    updatedAt: Attribute.DateTime;
 561    createdBy: Attribute.Relation<
 562      'plugin::content-releases.release-action',
 563      'oneToOne',
 564      'admin::user'
 565    > &
 566      Attribute.Private;
 567    updatedBy: Attribute.Relation<
 568      'plugin::content-releases.release-action',
 569      'oneToOne',
 570      'admin::user'
 571    > &
 572      Attribute.Private;
 573  };
 574}
 575
 576export interface PluginI18NLocale extends Schema.CollectionType {
 577  collectionName: 'i18n_locale';
 578  info: {
 579    singularName: 'locale';
 580    pluralName: 'locales';
 581    collectionName: 'locales';
 582    displayName: 'Locale';
 583    description: '';
 584  };
 585  options: {
 586    draftAndPublish: false;
 587  };
 588  pluginOptions: {
 589    'content-manager': {
 590      visible: false;
 591    };
 592    'content-type-builder': {
 593      visible: false;
 594    };
 595  };
 596  attributes: {
 597    name: Attribute.String &
 598      Attribute.SetMinMax<{
 599        min: 1;
 600        max: 50;
 601      }>;
 602    code: Attribute.String & Attribute.Unique;
 603    createdAt: Attribute.DateTime;
 604    updatedAt: Attribute.DateTime;
 605    createdBy: Attribute.Relation<
 606      'plugin::i18n.locale',
 607      'oneToOne',
 608      'admin::user'
 609    > &
 610      Attribute.Private;
 611    updatedBy: Attribute.Relation<
 612      'plugin::i18n.locale',
 613      'oneToOne',
 614      'admin::user'
 615    > &
 616      Attribute.Private;
 617  };
 618}
 619
 620export interface PluginUsersPermissionsPermission
 621  extends Schema.CollectionType {
 622  collectionName: 'up_permissions';
 623  info: {
 624    name: 'permission';
 625    description: '';
 626    singularName: 'permission';
 627    pluralName: 'permissions';
 628    displayName: 'Permission';
 629  };
 630  pluginOptions: {
 631    'content-manager': {
 632      visible: false;
 633    };
 634    'content-type-builder': {
 635      visible: false;
 636    };
 637  };
 638  attributes: {
 639    action: Attribute.String & Attribute.Required;
 640    role: Attribute.Relation<
 641      'plugin::users-permissions.permission',
 642      'manyToOne',
 643      'plugin::users-permissions.role'
 644    >;
 645    createdAt: Attribute.DateTime;
 646    updatedAt: Attribute.DateTime;
 647    createdBy: Attribute.Relation<
 648      'plugin::users-permissions.permission',
 649      'oneToOne',
 650      'admin::user'
 651    > &
 652      Attribute.Private;
 653    updatedBy: Attribute.Relation<
 654      'plugin::users-permissions.permission',
 655      'oneToOne',
 656      'admin::user'
 657    > &
 658      Attribute.Private;
 659  };
 660}
 661
 662export interface PluginUsersPermissionsRole extends Schema.CollectionType {
 663  collectionName: 'up_roles';
 664  info: {
 665    name: 'role';
 666    description: '';
 667    singularName: 'role';
 668    pluralName: 'roles';
 669    displayName: 'Role';
 670  };
 671  pluginOptions: {
 672    'content-manager': {
 673      visible: false;
 674    };
 675    'content-type-builder': {
 676      visible: false;
 677    };
 678  };
 679  attributes: {
 680    name: Attribute.String &
 681      Attribute.Required &
 682      Attribute.SetMinMaxLength<{
 683        minLength: 3;
 684      }>;
 685    description: Attribute.String;
 686    type: Attribute.String & Attribute.Unique;
 687    permissions: Attribute.Relation<
 688      'plugin::users-permissions.role',
 689      'oneToMany',
 690      'plugin::users-permissions.permission'
 691    >;
 692    users: Attribute.Relation<
 693      'plugin::users-permissions.role',
 694      'oneToMany',
 695      'plugin::users-permissions.user'
 696    >;
 697    createdAt: Attribute.DateTime;
 698    updatedAt: Attribute.DateTime;
 699    createdBy: Attribute.Relation<
 700      'plugin::users-permissions.role',
 701      'oneToOne',
 702      'admin::user'
 703    > &
 704      Attribute.Private;
 705    updatedBy: Attribute.Relation<
 706      'plugin::users-permissions.role',
 707      'oneToOne',
 708      'admin::user'
 709    > &
 710      Attribute.Private;
 711  };
 712}
 713
 714export interface PluginUsersPermissionsUser extends Schema.CollectionType {
 715  collectionName: 'up_users';
 716  info: {
 717    name: 'user';
 718    description: '';
 719    singularName: 'user';
 720    pluralName: 'users';
 721    displayName: 'User';
 722  };
 723  options: {
 724    draftAndPublish: false;
 725    timestamps: true;
 726  };
 727  attributes: {
 728    username: Attribute.String &
 729      Attribute.Required &
 730      Attribute.Unique &
 731      Attribute.SetMinMaxLength<{
 732        minLength: 3;
 733      }>;
 734    email: Attribute.Email &
 735      Attribute.Required &
 736      Attribute.SetMinMaxLength<{
 737        minLength: 6;
 738      }>;
 739    provider: Attribute.String;
 740    password: Attribute.Password &
 741      Attribute.Private &
 742      Attribute.SetMinMaxLength<{
 743        minLength: 6;
 744      }>;
 745    resetPasswordToken: Attribute.String & Attribute.Private;
 746    confirmationToken: Attribute.String & Attribute.Private;
 747    confirmed: Attribute.Boolean & Attribute.DefaultTo<false>;
 748    blocked: Attribute.Boolean & Attribute.Private & Attribute.DefaultTo<false>;
 749    role: Attribute.Relation<
 750      'plugin::users-permissions.user',
 751      'manyToOne',
 752      'plugin::users-permissions.role'
 753    >;
 754    events: Attribute.Relation<
 755      'plugin::users-permissions.user',
 756      'manyToMany',
 757      'api::event.event'
 758    >;
 759    passengers: Attribute.Relation<
 760      'plugin::users-permissions.user',
 761      'oneToMany',
 762      'api::passenger.passenger'
 763    > &
 764      Attribute.Private;
 765    vehicles: Attribute.Relation<
 766      'plugin::users-permissions.user',
 767      'oneToMany',
 768      'api::vehicle.vehicle'
 769    >;
 770    firstName: Attribute.String;
 771    lastName: Attribute.String;
 772    onboardingUser: Attribute.Boolean & Attribute.DefaultTo<false>;
 773    onboardingCreator: Attribute.Boolean & Attribute.DefaultTo<false>;
 774    lang: Attribute.Enumeration<['fr', 'en']> & Attribute.DefaultTo<'fr'>;
 775    newsletterConsent: Attribute.Boolean & Attribute.DefaultTo<true>;
 776    notifications: Attribute.Relation<
 777      'plugin::users-permissions.user',
 778      'oneToMany',
 779      'api::notification.notification'
 780    >;
 781    createdAt: Attribute.DateTime;
 782    updatedAt: Attribute.DateTime;
 783    createdBy: Attribute.Relation<
 784      'plugin::users-permissions.user',
 785      'oneToOne',
 786      'admin::user'
 787    > &
 788      Attribute.Private;
 789    updatedBy: Attribute.Relation<
 790      'plugin::users-permissions.user',
 791      'oneToOne',
 792      'admin::user'
 793    > &
 794      Attribute.Private;
 795  };
 796}
 797
 798export interface PluginEmailDesignerEmailTemplate
 799  extends Schema.CollectionType {
 800  collectionName: 'email_templates';
 801  info: {
 802    singularName: 'email-template';
 803    pluralName: 'email-templates';
 804    displayName: 'Email-template';
 805    name: 'email-template';
 806  };
 807  options: {
 808    draftAndPublish: false;
 809    timestamps: true;
 810    increments: true;
 811    comment: '';
 812  };
 813  pluginOptions: {
 814    'content-manager': {
 815      visible: false;
 816    };
 817    'content-type-builder': {
 818      visible: false;
 819    };
 820  };
 821  attributes: {
 822    templateReferenceId: Attribute.Integer & Attribute.Unique;
 823    design: Attribute.JSON;
 824    name: Attribute.String;
 825    subject: Attribute.String;
 826    bodyHtml: Attribute.Text;
 827    bodyText: Attribute.Text;
 828    enabled: Attribute.Boolean & Attribute.DefaultTo<true>;
 829    tags: Attribute.JSON;
 830    createdAt: Attribute.DateTime;
 831    updatedAt: Attribute.DateTime;
 832    createdBy: Attribute.Relation<
 833      'plugin::email-designer.email-template',
 834      'oneToOne',
 835      'admin::user'
 836    > &
 837      Attribute.Private;
 838    updatedBy: Attribute.Relation<
 839      'plugin::email-designer.email-template',
 840      'oneToOne',
 841      'admin::user'
 842    > &
 843      Attribute.Private;
 844  };
 845}
 846
 847export interface ApiEventEvent extends Schema.CollectionType {
 848  collectionName: 'events';
 849  info: {
 850    name: 'event';
 851    description: '';
 852    singularName: 'event';
 853    pluralName: 'events';
 854    displayName: 'Event';
 855  };
 856  options: {
 857    draftAndPublish: false;
 858  };
 859  attributes: {
 860    name: Attribute.String & Attribute.Required;
 861    email: Attribute.String & Attribute.Required;
 862    date: Attribute.Date;
 863    address: Attribute.Text;
 864    position: Attribute.JSON;
 865    uuid: Attribute.String & Attribute.Unique;
 866    description: Attribute.Text &
 867      Attribute.SetMinMaxLength<{
 868        maxLength: 250;
 869      }>;
 870    newsletter: Attribute.Boolean & Attribute.Private;
 871    users: Attribute.Relation<
 872      'api::event.event',
 873      'manyToMany',
 874      'plugin::users-permissions.user'
 875    >;
 876    travels: Attribute.Relation<
 877      'api::event.event',
 878      'oneToMany',
 879      'api::travel.travel'
 880    >;
 881    passengers: Attribute.Relation<
 882      'api::event.event',
 883      'oneToMany',
 884      'api::passenger.passenger'
 885    >;
 886    latitude: Attribute.Float;
 887    longitude: Attribute.Float;
 888    enabled_modules: Attribute.JSON &
 889      Attribute.CustomField<
 890        'plugin::multi-select.multi-select',
 891        ['caroster-plus']
 892      >;
 893    createdAt: Attribute.DateTime;
 894    updatedAt: Attribute.DateTime;
 895    createdBy: Attribute.Relation<
 896      'api::event.event',
 897      'oneToOne',
 898      'admin::user'
 899    > &
 900      Attribute.Private;
 901    updatedBy: Attribute.Relation<
 902      'api::event.event',
 903      'oneToOne',
 904      'admin::user'
 905    > &
 906      Attribute.Private;
 907  };
 908}
 909
 910export interface ApiModuleModule extends Schema.SingleType {
 911  collectionName: 'modules';
 912  info: {
 913    singularName: 'module';
 914    pluralName: 'modules';
 915    displayName: 'Modules';
 916    description: '';
 917  };
 918  options: {
 919    draftAndPublish: false;
 920  };
 921  pluginOptions: {
 922    i18n: {
 923      localized: true;
 924    };
 925  };
 926  attributes: {
 927    caroster_plus_enabled: Attribute.Boolean &
 928      Attribute.SetPluginOptions<{
 929        i18n: {
 930          localized: false;
 931        };
 932      }> &
 933      Attribute.DefaultTo<false>;
 934    caroster_plus_price: Attribute.Decimal &
 935      Attribute.SetPluginOptions<{
 936        i18n: {
 937          localized: false;
 938        };
 939      }> &
 940      Attribute.DefaultTo<0>;
 941    caroster_plus_name: Attribute.String &
 942      Attribute.Required &
 943      Attribute.SetPluginOptions<{
 944        i18n: {
 945          localized: true;
 946        };
 947      }>;
 948    caroster_plus_payment_link_id: Attribute.String &
 949      Attribute.Required &
 950      Attribute.Private &
 951      Attribute.SetPluginOptions<{
 952        i18n: {
 953          localized: false;
 954        };
 955      }>;
 956    caroster_plus_payment_link: Attribute.String &
 957      Attribute.Required &
 958      Attribute.SetPluginOptions<{
 959        i18n: {
 960          localized: false;
 961        };
 962      }>;
 963    caroster_plus_description: Attribute.RichText &
 964      Attribute.SetPluginOptions<{
 965        i18n: {
 966          localized: true;
 967        };
 968      }>;
 969    createdAt: Attribute.DateTime;
 970    updatedAt: Attribute.DateTime;
 971    createdBy: Attribute.Relation<
 972      'api::module.module',
 973      'oneToOne',
 974      'admin::user'
 975    > &
 976      Attribute.Private;
 977    updatedBy: Attribute.Relation<
 978      'api::module.module',
 979      'oneToOne',
 980      'admin::user'
 981    > &
 982      Attribute.Private;
 983    localizations: Attribute.Relation<
 984      'api::module.module',
 985      'oneToMany',
 986      'api::module.module'
 987    >;
 988    locale: Attribute.String;
 989  };
 990}
 991
 992export interface ApiNotificationNotification extends Schema.CollectionType {
 993  collectionName: 'notifications';
 994  info: {
 995    singularName: 'notification';
 996    pluralName: 'notifications';
 997    displayName: 'Notification';
 998  };
 999  options: {
1000    draftAndPublish: false;
1001  };
1002  attributes: {
1003    type: Attribute.Enumeration<['NewPassengerInYourTrip', 'NewTrip']> &
1004      Attribute.Required;
1005    user: Attribute.Relation<
1006      'api::notification.notification',
1007      'manyToOne',
1008      'plugin::users-permissions.user'
1009    >;
1010    event: Attribute.Relation<
1011      'api::notification.notification',
1012      'oneToOne',
1013      'api::event.event'
1014    >;
1015    read: Attribute.Boolean & Attribute.DefaultTo<false>;
1016    createdAt: Attribute.DateTime;
1017    updatedAt: Attribute.DateTime;
1018    createdBy: Attribute.Relation<
1019      'api::notification.notification',
1020      'oneToOne',
1021      'admin::user'
1022    > &
1023      Attribute.Private;
1024    updatedBy: Attribute.Relation<
1025      'api::notification.notification',
1026      'oneToOne',
1027      'admin::user'
1028    > &
1029      Attribute.Private;
1030  };
1031}
1032
1033export interface ApiPagePage extends Schema.CollectionType {
1034  collectionName: 'pages';
1035  info: {
1036    name: 'page';
1037    singularName: 'page';
1038    pluralName: 'pages';
1039    displayName: 'Page';
1040  };
1041  options: {
1042    increments: true;
1043    timestamps: true;
1044  };
1045  attributes: {
1046    name: Attribute.String & Attribute.Required;
1047    content: Attribute.RichText;
1048    type: Attribute.Enumeration<['tos']>;
1049    createdAt: Attribute.DateTime;
1050    updatedAt: Attribute.DateTime;
1051    createdBy: Attribute.Relation<'api::page.page', 'oneToOne', 'admin::user'> &
1052      Attribute.Private;
1053    updatedBy: Attribute.Relation<'api::page.page', 'oneToOne', 'admin::user'> &
1054      Attribute.Private;
1055  };
1056}
1057
1058export interface ApiPassengerPassenger extends Schema.CollectionType {
1059  collectionName: 'passengers';
1060  info: {
1061    name: 'Passenger';
1062    description: '';
1063    singularName: 'passenger';
1064    pluralName: 'passengers';
1065    displayName: 'Passenger';
1066  };
1067  options: {
1068    increments: true;
1069    timestamps: true;
1070    draftAndPublish: false;
1071  };
1072  attributes: {
1073    name: Attribute.String & Attribute.Required;
1074    email: Attribute.Email;
1075    location: Attribute.String;
1076    user: Attribute.Relation<
1077      'api::passenger.passenger',
1078      'manyToOne',
1079      'plugin::users-permissions.user'
1080    >;
1081    travel: Attribute.Relation<
1082      'api::passenger.passenger',
1083      'manyToOne',
1084      'api::travel.travel'
1085    >;
1086    event: Attribute.Relation<
1087      'api::passenger.passenger',
1088      'manyToOne',
1089      'api::event.event'
1090    >;
1091    createdAt: Attribute.DateTime;
1092    updatedAt: Attribute.DateTime;
1093    createdBy: Attribute.Relation<
1094      'api::passenger.passenger',
1095      'oneToOne',
1096      'admin::user'
1097    > &
1098      Attribute.Private;
1099    updatedBy: Attribute.Relation<
1100      'api::passenger.passenger',
1101      'oneToOne',
1102      'admin::user'
1103    > &
1104      Attribute.Private;
1105  };
1106}
1107
1108export interface ApiSettingSetting extends Schema.SingleType {
1109  collectionName: 'settings';
1110  info: {
1111    singularName: 'setting';
1112    pluralName: 'settings';
1113    displayName: 'Settings';
1114    description: '';
1115  };
1116  options: {
1117    draftAndPublish: false;
1118  };
1119  pluginOptions: {
1120    i18n: {
1121      localized: true;
1122    };
1123  };
1124  attributes: {
1125    gtm_id: Attribute.String &
1126      Attribute.SetPluginOptions<{
1127        i18n: {
1128          localized: false;
1129        };
1130      }>;
1131    about_link: Attribute.String &
1132      Attribute.SetPluginOptions<{
1133        i18n: {
1134          localized: false;
1135        };
1136      }>;
1137    faq_link: Attribute.String &
1138      Attribute.SetPluginOptions<{
1139        i18n: {
1140          localized: false;
1141        };
1142      }>;
1143    announcement: Attribute.RichText &
1144      Attribute.SetPluginOptions<{
1145        i18n: {
1146          localized: true;
1147        };
1148      }>;
1149    matomo_script_url: Attribute.String &
1150      Attribute.SetPluginOptions<{
1151        i18n: {
1152          localized: false;
1153        };
1154      }>;
1155    opencollective_link: Attribute.String &
1156      Attribute.SetPluginOptions<{
1157        i18n: {
1158          localized: false;
1159        };
1160      }>;
1161    code_link: Attribute.String &
1162      Attribute.SetPluginOptions<{
1163        i18n: {
1164          localized: false;
1165        };
1166      }>;
1167    createdAt: Attribute.DateTime;
1168    updatedAt: Attribute.DateTime;
1169    createdBy: Attribute.Relation<
1170      'api::setting.setting',
1171      'oneToOne',
1172      'admin::user'
1173    > &
1174      Attribute.Private;
1175    updatedBy: Attribute.Relation<
1176      'api::setting.setting',
1177      'oneToOne',
1178      'admin::user'
1179    > &
1180      Attribute.Private;
1181    localizations: Attribute.Relation<
1182      'api::setting.setting',
1183      'oneToMany',
1184      'api::setting.setting'
1185    >;
1186    locale: Attribute.String;
1187  };
1188}
1189
1190export interface ApiTravelTravel extends Schema.CollectionType {
1191  collectionName: 'travels';
1192  info: {
1193    name: 'travel';
1194    description: '';
1195    singularName: 'travel';
1196    pluralName: 'travels';
1197    displayName: 'Travel';
1198  };
1199  options: {
1200    draftAndPublish: false;
1201  };
1202  attributes: {
1203    meeting: Attribute.String;
1204    departure: Attribute.DateTime;
1205    details: Attribute.Text;
1206    vehicleName: Attribute.String;
1207    seats: Attribute.Integer &
1208      Attribute.SetMinMax<{
1209        min: 0;
1210      }> &
1211      Attribute.DefaultTo<4>;
1212    phone_number: Attribute.String;
1213    event: Attribute.Relation<
1214      'api::travel.travel',
1215      'manyToOne',
1216      'api::event.event'
1217    >;
1218    passengers: Attribute.Relation<
1219      'api::travel.travel',
1220      'oneToMany',
1221      'api::passenger.passenger'
1222    >;
1223    meeting_latitude: Attribute.Float;
1224    meeting_longitude: Attribute.Float;
1225    user: Attribute.Relation<
1226      'api::travel.travel',
1227      'oneToOne',
1228      'plugin::users-permissions.user'
1229    >;
1230    createdAt: Attribute.DateTime;
1231    updatedAt: Attribute.DateTime;
1232    createdBy: Attribute.Relation<
1233      'api::travel.travel',
1234      'oneToOne',
1235      'admin::user'
1236    > &
1237      Attribute.Private;
1238    updatedBy: Attribute.Relation<
1239      'api::travel.travel',
1240      'oneToOne',
1241      'admin::user'
1242    > &
1243      Attribute.Private;
1244  };
1245}
1246
1247export interface ApiTripAlertTripAlert extends Schema.CollectionType {
1248  collectionName: 'trip_alerts';
1249  info: {
1250    singularName: 'trip-alert';
1251    pluralName: 'trip-alerts';
1252    displayName: 'TripAlert';
1253    description: '';
1254  };
1255  options: {
1256    draftAndPublish: false;
1257  };
1258  attributes: {
1259    event: Attribute.Relation<
1260      'api::trip-alert.trip-alert',
1261      'oneToOne',
1262      'api::event.event'
1263    >;
1264    user: Attribute.Relation<
1265      'api::trip-alert.trip-alert',
1266      'oneToOne',
1267      'plugin::users-permissions.user'
1268    >;
1269    latitude: Attribute.Float;
1270    longitude: Attribute.Float;
1271    enabled: Attribute.Boolean & Attribute.DefaultTo<true>;
1272    address: Attribute.String;
1273    radius: Attribute.Float &
1274      Attribute.SetMinMax<{
1275        min: 0;
1276      }>;
1277    createdAt: Attribute.DateTime;
1278    updatedAt: Attribute.DateTime;
1279    createdBy: Attribute.Relation<
1280      'api::trip-alert.trip-alert',
1281      'oneToOne',
1282      'admin::user'
1283    > &
1284      Attribute.Private;
1285    updatedBy: Attribute.Relation<
1286      'api::trip-alert.trip-alert',
1287      'oneToOne',
1288      'admin::user'
1289    > &
1290      Attribute.Private;
1291  };
1292}
1293
1294export interface ApiVehicleVehicle extends Schema.CollectionType {
1295  collectionName: 'vehicles';
1296  info: {
1297    name: 'vehicle';
1298    description: '';
1299    singularName: 'vehicle';
1300    pluralName: 'vehicles';
1301    displayName: 'Vehicle';
1302  };
1303  options: {
1304    increments: true;
1305    timestamps: true;
1306    draftAndPublish: false;
1307  };
1308  attributes: {
1309    name: Attribute.String & Attribute.Required;
1310    seats: Attribute.Integer &
1311      Attribute.SetMinMax<{
1312        min: 0;
1313      }> &
1314      Attribute.DefaultTo<4>;
1315    phone_number: Attribute.String;
1316    user: Attribute.Relation<
1317      'api::vehicle.vehicle',
1318      'manyToOne',
1319      'plugin::users-permissions.user'
1320    >;
1321    createdAt: Attribute.DateTime;
1322    updatedAt: Attribute.DateTime;
1323    createdBy: Attribute.Relation<
1324      'api::vehicle.vehicle',
1325      'oneToOne',
1326      'admin::user'
1327    > &
1328      Attribute.Private;
1329    updatedBy: Attribute.Relation<
1330      'api::vehicle.vehicle',
1331      'oneToOne',
1332      'admin::user'
1333    > &
1334      Attribute.Private;
1335  };
1336}
1337
1338declare module '@strapi/types' {
1339  export module Shared {
1340    export interface ContentTypes {
1341      'admin::permission': AdminPermission;
1342      'admin::user': AdminUser;
1343      'admin::role': AdminRole;
1344      'admin::api-token': AdminApiToken;
1345      'admin::api-token-permission': AdminApiTokenPermission;
1346      'admin::transfer-token': AdminTransferToken;
1347      'admin::transfer-token-permission': AdminTransferTokenPermission;
1348      'plugin::upload.file': PluginUploadFile;
1349      'plugin::upload.folder': PluginUploadFolder;
1350      'plugin::content-releases.release': PluginContentReleasesRelease;
1351      'plugin::content-releases.release-action': PluginContentReleasesReleaseAction;
1352      'plugin::i18n.locale': PluginI18NLocale;
1353      'plugin::users-permissions.permission': PluginUsersPermissionsPermission;
1354      'plugin::users-permissions.role': PluginUsersPermissionsRole;
1355      'plugin::users-permissions.user': PluginUsersPermissionsUser;
1356      'plugin::email-designer.email-template': PluginEmailDesignerEmailTemplate;
1357      'api::event.event': ApiEventEvent;
1358      'api::module.module': ApiModuleModule;
1359      'api::notification.notification': ApiNotificationNotification;
1360      'api::page.page': ApiPagePage;
1361      'api::passenger.passenger': ApiPassengerPassenger;
1362      'api::setting.setting': ApiSettingSetting;
1363      'api::travel.travel': ApiTravelTravel;
1364      'api::trip-alert.trip-alert': ApiTripAlertTripAlert;
1365      'api::vehicle.vehicle': ApiVehicleVehicle;
1366    }
1367  }
1368}