/** * This file was automatically generated by hyperschema-to-ts: DO NOT MODIFY IT BY HAND. */ /** * This interface was referenced by `Session`'s JSON-Schema * via the `definition` "type". */ export type SessionType = 'session'; /** * JSON web token for the session * * This interface was referenced by `Session`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `Session`'s JSON-Schema * via the `definition` "id". */ export type SessionIdentity = string; /** * This interface was referenced by `Account`'s JSON-Schema * via the `definition` "type". */ export type AccountType = 'account'; /** * ID of account * * This interface was referenced by `Account`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `Account`'s JSON-Schema * via the `definition` "id". */ export type AccountIdentity = string; /** * This interface was referenced by `PerOwnerPricingSubscription`'s JSON-Schema * via the `definition` "type". */ export type PerOwnerPricingSubscriptionType = 'per_owner_pricing_subscription'; /** * ID of subscription * * This interface was referenced by `PerOwnerPricingSubscription`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `PerOwnerPricingSubscription`'s JSON-Schema * via the `definition` "id". */ export type PerOwnerPricingSubscriptionIdentity = string; /** * This interface was referenced by `PerOwnerPricingBillingProfile`'s JSON-Schema * via the `definition` "type". */ export type PerOwnerPricingBillingProfileType = 'per_owner_pricing_billing_profile'; /** * ID of billing_profile * * This interface was referenced by `PerOwnerPricingBillingProfile`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `PerOwnerPricingBillingProfile`'s JSON-Schema * via the `definition` "id". */ export type PerOwnerPricingBillingProfileIdentity = string; /** * This interface was referenced by `Organization`'s JSON-Schema * via the `definition` "type". */ export type OrganizationType = 'organization'; /** * ID of organization * * This interface was referenced by `Organization`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `Organization`'s JSON-Schema * via the `definition` "id". */ export type OrganizationIdentity = string; /** * This interface was referenced by `Job`'s JSON-Schema * via the `definition` "type". */ export type JobType = 'job'; /** * ID of job * * This interface was referenced by `Job`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `Job`'s JSON-Schema * via the `definition` "id". */ export type JobIdentity = string; /** * This interface was referenced by `PerOwnerPricingPlan`'s JSON-Schema * via the `definition` "type". */ export type PerOwnerPricingPlanType = 'per_owner_pricing_plan'; /** * ID of plan * * This interface was referenced by `PerOwnerPricingPlan`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `PerOwnerPricingPlan`'s JSON-Schema * via the `definition` "id". */ export type PerOwnerPricingPlanIdentity = string; /** * This interface was referenced by `NextInvoiceEstimate`'s JSON-Schema * via the `definition` "type". */ export type NextInvoiceEstimateType = 'next_invoice_estimate'; /** * ID of next_invoice_estimate * * This interface was referenced by `NextInvoiceEstimate`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `NextInvoiceEstimate`'s JSON-Schema * via the `definition` "id". */ export type NextInvoiceEstimateIdentity = string; /** * This interface was referenced by `Account`'s JSON-Schema * via the `self.hrefSchema` link. */ export type AccountSelfHrefSchema = { /** * Comma-separated list of [relationship paths](https://jsonapi.org/format/#fetching-includes). A relationship path is a dot-separated list of relationship names. Allowed relationship paths: `item_types`, `item_types.fields`, `item_types.fieldsets`, `item_types.singleton_item`, `account`. */ include?: string; [k: string]: unknown; }; /** * This interface was referenced by `OtpBackupCodes`'s JSON-Schema * via the `definition` "type". */ export type OtpBackupCodesType = 'otp_backup_codes'; /** * ID of otp_backup_codes * * This interface was referenced by `OtpBackupCodes`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `OtpBackupCodes`'s JSON-Schema * via the `definition` "id". */ export type OtpBackupCodesIdentity = string; /** * This interface was referenced by `Organization`'s JSON-Schema * via the `instances.hrefSchema` link. */ export type OrganizationInstancesHrefSchema = { /** * Comma-separated list of [relationship paths](https://jsonapi.org/format/#fetching-includes). A relationship path is a dot-separated list of relationship names. Allowed relationship paths: `item_types`, `item_types.fields`, `item_types.fieldsets`, `item_types.singleton_item`, `account`. */ include?: string; [k: string]: unknown; }; /** * This interface was referenced by `Organization`'s JSON-Schema * via the `self.hrefSchema` link. */ export type OrganizationSelfHrefSchema = { /** * Comma-separated list of [relationship paths](https://jsonapi.org/format/#fetching-includes). A relationship path is a dot-separated list of relationship names. Allowed relationship paths: `item_types`, `item_types.fields`, `item_types.fieldsets`, `item_types.singleton_item`, `account`. */ include?: string; [k: string]: unknown; }; /** * This interface was referenced by `Site`'s JSON-Schema * via the `definition` "type". */ export type SiteType = 'site'; /** * ID of site * * This interface was referenced by `Site`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `Site`'s JSON-Schema * via the `definition` "id". */ export type SiteIdentity = string; /** * This interface was referenced by `SiteSubscription`'s JSON-Schema * via the `definition` "type". */ export type SiteSubscriptionType = 'site_subscription'; /** * ID of subscription * * This interface was referenced by `SiteSubscription`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `SiteSubscription`'s JSON-Schema * via the `definition` "id". */ export type SiteSubscriptionIdentity = string; /** * This interface was referenced by `SitePlan`'s JSON-Schema * via the `definition` "type". */ export type SitePlanType = 'site_plan'; /** * ID of plan * * This interface was referenced by `SitePlan`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `SitePlan`'s JSON-Schema * via the `definition` "id". */ export type SitePlanIdentity = string; /** * This interface was referenced by `SiteTransfer`'s JSON-Schema * via the `definition` "type". */ export type SiteTransferType = 'site_transfer'; /** * ID of site_transfer * * This interface was referenced by `SiteTransfer`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `SiteTransfer`'s JSON-Schema * via the `definition` "id". */ export type SiteTransferIdentity = string; /** * This interface was referenced by `PerSitePricingBillingProfile`'s JSON-Schema * via the `definition` "type". */ export type PerSitePricingBillingProfileType = 'per_site_pricing_billing_profile'; /** * ID of billing_profile * * This interface was referenced by `PerSitePricingBillingProfile`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `PerSitePricingBillingProfile`'s JSON-Schema * via the `definition` "id". */ export type PerSitePricingBillingProfileIdentity = string; /** * This interface was referenced by `Site`'s JSON-Schema * via the `self.hrefSchema` link. */ export type SiteSelfHrefSchema = { /** * Comma-separated list of [relationship paths](https://jsonapi.org/format/#fetching-includes). A relationship path is a dot-separated list of relationship names. Allowed relationship paths: `item_types`, `item_types.fields`, `item_types.fieldsets`, `item_types.singleton_item`, `account`. */ include?: string; [k: string]: unknown; }; /** * This interface was referenced by `Site`'s JSON-Schema * via the `instances.hrefSchema` link. */ export type SiteInstancesHrefSchema = { /** * Sorts projects (default sorting is by ascending name) */ sort?: 'name' | '-name' | 'last_data_change_at' | '-last_data_change_at' | 'plan' | '-plan' | 'created_at' | '-created_at'; filters?: { /** * Filter by project name */ match?: string; [k: string]: unknown; }; /** * Parameters to control offset-based pagination */ page?: { /** * The (zero-based) offset of the first entity returned in the collection (defaults to 0) */ offset?: number; /** * The maximum number of entities to return (defaults to 20, maximum is 50) */ limit?: number; }; /** * Comma-separated list of [relationship paths](https://jsonapi.org/format/#fetching-includes). A relationship path is a dot-separated list of relationship names. Allowed relationship paths: `item_types`, `item_types.fields`, `item_types.fieldsets`, `item_types.singleton_item`, `account`. */ include?: string; [k: string]: unknown; }; /** * This interface was referenced by `Site`'s JSON-Schema * via the `create.hrefSchema` link. */ export type SiteCreateHrefSchema = { /** * Confirm the creation of the project starting from a public template project, even if the copy of videos require significant use of Video Encoding resources */ confirm_mux_encoding_consumption?: string; [k: string]: unknown; }; /** * This interface was referenced by `Site`'s JSON-Schema * via the `duplicate.hrefSchema` link. */ export type SiteDuplicateHrefSchema = { /** * Confirm the operation, even if the copy of videos contained in the project requires significant use of Video Encoding resources */ confirm_mux_encoding_consumption?: string; [k: string]: unknown; }; /** * This interface was referenced by `PerSitePricingBillingProfile`'s JSON-Schema * via the `self.hrefSchema` link. */ export type PerSitePricingBillingProfileSelfHrefSchema = { /** * Comma-separated list of [relationship paths](https://jsonapi.org/format/#fetching-includes). A relationship path is a dot-separated list of relationship names. Allowed relationship paths: `item_types`, `item_types.fields`, `item_types.fieldsets`, `item_types.singleton_item`, `account`. */ include?: string; [k: string]: unknown; }; /** * This interface was referenced by `Invoice`'s JSON-Schema * via the `definition` "type". */ export type InvoiceType = 'invoice'; /** * ID of billing_profile * * This interface was referenced by `Invoice`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `Invoice`'s JSON-Schema * via the `definition` "id". */ export type InvoiceIdentity = string; /** * This interface was referenced by `ResourceUsage`'s JSON-Schema * via the `definition` "type". */ export type ResourceUsageType = 'resource_usage'; /** * ID of billing_profile * * This interface was referenced by `ResourceUsage`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `ResourceUsage`'s JSON-Schema * via the `definition` "id". */ export type ResourceUsageIdentity = string; /** * This interface was referenced by `DailyUsage`'s JSON-Schema * via the `definition` "type". */ export type DailyUsageType = 'daily_usage'; /** * ID of site * * This interface was referenced by `DailyUsage`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `DailyUsage`'s JSON-Schema * via the `definition` "id". */ export type DailyUsageIdentity = string; /** * This interface was referenced by `DailyUsage`'s JSON-Schema * via the `instances.hrefSchema` link. */ export type DailyUsageInstancesHrefSchema = { /** * Year of the daily usages to retrieve. Defaults to current year. */ year?: string; /** * Monthof the daily usages to retrieve. Defaults to current month. */ month?: string; [k: string]: unknown; }; /** * This interface was referenced by `JobResult`'s JSON-Schema * via the `definition` "type". */ export type JobResultType = 'job_result'; /** * ID of job result * * This interface was referenced by `JobResult`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `JobResult`'s JSON-Schema * via the `definition` "id". */ export type JobResultIdentity = string; /** * ID of site invitation * * This interface was referenced by `SiteInvitation`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `SiteInvitation`'s JSON-Schema * via the `definition` "id". */ export type SiteInvitationIdentity = string; /** * This interface was referenced by `SiteInvitation`'s JSON-Schema * via the `definition` "type". */ export type SiteInvitationType = 'site_invitation'; /** * This interface was referenced by `SiteInvitation`'s JSON-Schema * via the `redeem.hrefSchema` link. */ export type SiteInvitationRedeemHrefSchema = { /** * The site invitation authorization token */ token?: string; [k: string]: unknown; }; /** * This interface was referenced by `SubscriptionLimit`'s JSON-Schema * via the `definition` "type". */ export type SubscriptionLimitType = 'subscription_limit'; /** * ID of limit * * This interface was referenced by `SubscriptionLimit`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `SubscriptionLimit`'s JSON-Schema * via the `definition` "id". */ export type SubscriptionLimitIdentity = string; /** * This interface was referenced by `SubscriptionFeature`'s JSON-Schema * via the `definition` "type". */ export type SubscriptionFeatureType = 'subscription_feature'; /** * ID of feature * * This interface was referenced by `SubscriptionFeature`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `SubscriptionFeature`'s JSON-Schema * via the `definition` "id". */ export type SubscriptionFeatureIdentity = string; /** * This interface was referenced by `OauthApplication`'s JSON-Schema * via the `definition` "type". */ export type OauthApplicationType = 'oauth_application'; /** * ID of access_token * * This interface was referenced by `OauthApplication`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `OauthApplication`'s JSON-Schema * via the `definition` "id". */ export type OauthApplicationIdentity = string; /** * This interface was referenced by `PaymentIntent`'s JSON-Schema * via the `definition` "type". */ export type PaymentIntentType = 'payment_intent'; /** * ID of access_token * * This interface was referenced by `PaymentIntent`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `PaymentIntent`'s JSON-Schema * via the `definition` "id". */ export type PaymentIntentIdentity = string; /** * This interface was referenced by `PaymentMethod`'s JSON-Schema * via the `definition` "type". */ export type PaymentMethodType = 'payment_method'; /** * ID of payment_method * * This interface was referenced by `PaymentMethod`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `PaymentMethod`'s JSON-Schema * via the `definition` "id". */ export type PaymentMethodIdentity = string; /** * This interface was referenced by `OrganizationRole`'s JSON-Schema * via the `definition` "type". */ export type OrganizationRoleType = 'organization_role'; /** * ID of role * * This interface was referenced by `OrganizationRole`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `OrganizationRole`'s JSON-Schema * via the `definition` "id". */ export type OrganizationRoleIdentity = string; /** * This interface was referenced by `OrganizationInvitation`'s JSON-Schema * via the `definition` "type". */ export type OrganizationInvitationType = 'organization_invitation'; /** * ID of invitation * * This interface was referenced by `OrganizationInvitation`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `OrganizationInvitation`'s JSON-Schema * via the `definition` "id". */ export type OrganizationInvitationIdentity = string; /** * This interface was referenced by `OrganizationInvitation`'s JSON-Schema * via the `redeem.hrefSchema` link. */ export type OrganizationInvitationRedeemHrefSchema = { /** * The organization invitation authorization token */ token?: string; [k: string]: unknown; }; /** * This interface was referenced by `OrganizationMembership`'s JSON-Schema * via the `definition` "type". */ export type OrganizationMembershipType = 'organization_membership'; /** * ID of membership * * This interface was referenced by `OrganizationMembership`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `OrganizationMembership`'s JSON-Schema * via the `definition` "id". */ export type OrganizationMembershipIdentity = string; /** * This interface was referenced by `OrganizationMembership`'s JSON-Schema * via the `instances.hrefSchema` link. */ export type OrganizationMembershipInstancesHrefSchema = { /** * Comma-separated list of [relationship paths](https://jsonapi.org/format/#fetching-includes). A relationship path is a dot-separated list of relationship names. Allowed relationship paths: `role`. */ include?: string; [k: string]: unknown; }; /** * This interface was referenced by `OrganizationMembership`'s JSON-Schema * via the `self.hrefSchema` link. */ export type OrganizationMembershipSelfHrefSchema = { /** * Comma-separated list of [relationship paths](https://jsonapi.org/format/#fetching-includes). A relationship path is a dot-separated list of relationship names. Allowed relationship paths: `role`. */ include?: string; [k: string]: unknown; }; /** * This interface was referenced by `OrganizationMembership`'s JSON-Schema * via the `me.hrefSchema` link. */ export type OrganizationMembershipMeHrefSchema = { /** * Comma-separated list of [relationship paths](https://jsonapi.org/format/#fetching-includes). A relationship path is a dot-separated list of relationship names. Allowed relationship paths: `role`. */ include?: string; [k: string]: unknown; }; /** * This interface was referenced by `OrganizationMandateRequest`'s JSON-Schema * via the `definition` "type". */ export type OrganizationMandateRequestType = 'organization_mandate_request'; /** * ID of mandate request * * This interface was referenced by `OrganizationMandateRequest`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `OrganizationMandateRequest`'s JSON-Schema * via the `definition` "id". */ export type OrganizationMandateRequestIdentity = string; /** * This interface was referenced by `OrganizationMandate`'s JSON-Schema * via the `definition` "type". */ export type OrganizationMandateType = 'organization_mandate'; /** * ID of mandate * * This interface was referenced by `OrganizationMandate`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `OrganizationMandate`'s JSON-Schema * via the `definition` "id". */ export type OrganizationMandateIdentity = string; /** * This interface was referenced by `OrganizationMandate`'s JSON-Schema * via the `given_instances.hrefSchema` link. */ export type OrganizationMandateGivenInstancesHrefSchema = { /** * Comma-separated list of [relationship paths](https://jsonapi.org/format/#fetching-includes). A relationship path is a dot-separated list of relationship names. Allowed relationship paths: `active_plan`, `additional_enabled_plans`. */ include?: string; [k: string]: unknown; }; /** * This interface was referenced by `OrganizationMandateRequest`'s JSON-Schema * via the `create.hrefSchema` link. */ export type OrganizationMandateRequestCreateHrefSchema = { /** * If the account is also part of the target organization, the request can be automatically approved */ auto_approve?: string; [k: string]: unknown; }; /** * This interface was referenced by `TfaDeactivateRequest`'s JSON-Schema * via the `definition` "type". */ export type TfaDeactivateRequestType = 'tfa_deactivate_request'; /** * ID of 2FA deactivate request * * This interface was referenced by `TfaDeactivateRequest`'s JSON-Schema * via the `definition` "identity". * * This interface was referenced by `TfaDeactivateRequest`'s JSON-Schema * via the `definition` "id". */ export type TfaDeactivateRequestIdentity = string; /** * A session is required to access to read-and-write API endpoints * * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "session". */ export type Session = { type: SessionType; id: SessionIdentity; relationships: SessionRelationships; }; /** * JSON API links * * This interface was referenced by `Session`'s JSON-Schema * via the `definition` "relationships". */ export type SessionRelationships = { /** * The account associated with the session */ account: { data: AccountData; }; }; /** * JSON API data * * This interface was referenced by `Account`'s JSON-Schema * via the `definition` "data". */ export type AccountData = { type: AccountType; id: AccountIdentity; }; /** * JSON API data * * This interface was referenced by `Session`'s JSON-Schema * via the `definition` "data". */ export type SessionData = { type: SessionType; id: SessionIdentity; }; /** * This interface was referenced by `Session`'s JSON-Schema * via the `create.schema` link. */ export type SessionCreateSchema = { data: { type: 'email_credentials'; /** * JSON API attributes */ attributes: { /** * Email */ email: string; /** * Password */ password: string; /** * Two-factor authentication one-time password */ otp_code?: string; }; } | { type: 'password_reset'; /** * JSON API attributes */ attributes: { /** * Reset token */ token: string; /** * Account ID */ account_id: string; /** * Password */ password: string; /** * Two-factor authentication one-time password */ otp_code?: string; }; }; }; /** * This interface was referenced by `Session`'s JSON-Schema * via the `create.targetSchema` link. */ export type SessionCreateTargetSchema = { data: Session; included: Account[]; }; /** * DatoCMS account * * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "account". */ export type Account = { type: AccountType; id: AccountIdentity; attributes: AccountAttributes; relationships: AccountRelationships; meta: AccountMeta; }; /** * JSON API attributes * * This interface was referenced by `Account`'s JSON-Schema * via the `definition` "attributes". */ export type AccountAttributes = { /** * Email */ email: string; /** * First name */ first_name: string | null; /** * Last name */ last_name: string | null; /** * Company name */ company: string | null; /** * API token */ api_token?: string; /** * Whether 2-factor authentication is active for this account or not */ is_2fa_active: boolean; /** * Pending email address awaiting confirmation (only present if confirmation token hasn't expired) */ pending_email?: string | null; }; /** * JSON API links * * This interface was referenced by `Account`'s JSON-Schema * via the `definition` "relationships". */ export type AccountRelationships = { active_subscription: { data: null | PerOwnerPricingSubscriptionData; }; billing_profile: { data: null | PerOwnerPricingBillingProfileData; }; default_organization: { data: null | OrganizationData; }; }; /** * JSON API data * * This interface was referenced by `PerOwnerPricingSubscription`'s JSON-Schema * via the `definition` "data". */ export type PerOwnerPricingSubscriptionData = { type: PerOwnerPricingSubscriptionType; id: PerOwnerPricingSubscriptionIdentity; }; /** * JSON API data * * This interface was referenced by `PerOwnerPricingBillingProfile`'s JSON-Schema * via the `definition` "data". */ export type PerOwnerPricingBillingProfileData = { type: PerOwnerPricingBillingProfileType; id: PerOwnerPricingBillingProfileIdentity; }; /** * JSON API data * * This interface was referenced by `Organization`'s JSON-Schema * via the `definition` "data". */ export type OrganizationData = { type: OrganizationType; id: OrganizationIdentity; }; /** * JSON API meta * * This interface was referenced by `Account`'s JSON-Schema * via the `definition` "meta". */ export type AccountMeta = { /** * Whether the account email address has been verified */ email_verified: boolean; /** * Timestamp of when the last email verification token was sent, or null if none was sent yet */ email_verification_token_sent_at: string | null; }; /** * This interface was referenced by `Account`'s JSON-Schema * via the `create.schema` link. */ export type AccountCreateSchema = { data: { type: AccountType; attributes: { /** * Email */ email: string; /** * First name */ first_name?: string | null; /** * Last name */ last_name?: string | null; /** * Company name */ company?: string | null; /** * Password */ password: string; /** * Cloudflare Turnstile token proving the sign up was not automated. Obtained from the Turnstile widget rendered next to the sign up form, and valid for 300 seconds and a single verification. Required for browser-based sign ups. */ captcha_token?: string; /** * Whether the user opts-in to signup to DatoCMS newletter */ signup_to_newsletter?: boolean; /** * Role description that best describes you */ role_description?: 'cto' | 'lead_developer' | 'frontend_developer' | 'web_designer' | 'digital_marketing' | 'project_manager' | 'designer' | 'content'; /** * Context in which you perform your role */ role_context?: 'agency' | 'company' | 'freelancer' | 'student'; acquisition_method?: { source: string; medium: string; campaign?: string; }; latest_acquisition_method?: { source: string; medium: string; campaign?: string; }; }; }; }; /** * This interface was referenced by `Account`'s JSON-Schema * via the `create.targetSchema` link. */ export type AccountCreateTargetSchema = { data: Session; included?: Account[]; }; /** * This interface was referenced by `Account`'s JSON-Schema * via the `update.schema` link. */ export type AccountUpdateSchema = { data: { type: AccountType; id: AccountIdentity; attributes?: { /** * Email */ email?: string; /** * First name */ first_name?: string | null; /** * Last name */ last_name?: string | null; /** * Company name */ company?: string | null; /** * New password */ password?: string; /** * Current password (required if new_password or email is set) */ current_password?: string; /** * Two-factor authentication one-time password (required if new_password or email is set) */ otp_code?: string; }; relationships?: { default_organization: { data: null | OrganizationData; }; }; }; }; /** * This interface was referenced by `Account`'s JSON-Schema * via the `update.targetSchema` link. */ export type AccountUpdateTargetSchema = { data: Session; included: Account[]; }; /** * This interface was referenced by `Account`'s JSON-Schema * via the `destroy.schema` link. */ export type AccountDestroySchema = { data: { type: 'account_destroy_request'; attributes: { /** * OTP code */ otp_code: string; /** * Current password */ password: string; }; }; }; /** * This interface was referenced by `Account`'s JSON-Schema * via the `destroy.targetSchema` link. */ export type AccountDestroyTargetSchema = { data: Job; }; /** * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "job". */ export type Job = { type: JobType; id: JobIdentity; }; /** * JSON API data * * This interface was referenced by `Job`'s JSON-Schema * via the `definition` "data". */ export type JobData = { type: JobType; id: JobIdentity; }; /** * This interface was referenced by `Account`'s JSON-Schema * via the `destroy.jobSchema` link. */ export type AccountDestroyJobSchema = { data: Account; }; /** * This interface was referenced by `Account`'s JSON-Schema * via the `self.targetSchema` link. */ export type AccountSelfTargetSchema = { data: Account; included?: (PerOwnerPricingPlan | PerOwnerPricingSubscription | PerOwnerPricingBillingProfile)[]; }; /** * Stores the information regarding the current plan for the account. * * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "per_owner_pricing_plan". */ export type PerOwnerPricingPlan = { type: PerOwnerPricingPlanType; id: PerOwnerPricingPlanIdentity; attributes: PerOwnerPricingPlanAttributes; }; /** * JSON API attributes * * This interface was referenced by `PerOwnerPricingPlan`'s JSON-Schema * via the `definition` "attributes". */ export type PerOwnerPricingPlanAttributes = { /** * The name of the plan */ name: string; /** * Additional notes */ notes: null | string; /** * Additional enterprise features enabled */ enterprise_features: string[]; /** * Whether this plan is active */ active: boolean; /** * Monthly price for plan (EUR) */ monthly_price: number; /** * Yearly price for plan (EUR) */ yearly_price: number; limits: ({ id: string; type: 'activable_feature'; available: boolean; } | { id: string; type: 'boolean_system_limit'; available: boolean; } | { id: string; type: 'countable_system_limit'; limit: number; } | { id: string; type: 'possibly_incompatible_countable_system_limit'; limit: number; } | { id: string; type: 'owner_managed_resource'; free_of_charge_usage: number; extra_packets_available_in_some_plan: boolean; max_extra_packets: null | number; extra_packet_amount: null | number; extra_packet_price: null | number; } | { id: string; type: 'per_site_quota_managed_site_resource'; free_of_charge_per_site_usage: number; max_extra_packets: null | number; extra_packet_amount: null | number; extra_packet_price: null | number; extra_packets_available_in_some_plan: boolean; } | { id: string; type: 'per_environment_quota_managed_site_resource'; free_of_charge_per_environment_usage: number; max_extra_packets: null | number; extra_packet_amount: null | number; extra_packet_price: null | number; extra_packets_available_in_some_plan: boolean; } | { id: string; type: 'shared_quota_managed_site_resource'; free_of_charge_usage: number; max_extra_packets: null | number; extra_packet_amount: null | number; extra_packet_price: null | number; extra_packets_available_in_some_plan: boolean; } | { id: string; type: 'shared_quota_metered_site_resource'; free_of_charge_usage: number; extra_packets_available_in_some_plan?: boolean; extra_packet_amount: null | number; extra_packet_price: null | number; })[]; }; /** * JSON API data * * This interface was referenced by `PerOwnerPricingPlan`'s JSON-Schema * via the `definition` "data". */ export type PerOwnerPricingPlanData = { type: PerOwnerPricingPlanType; id: PerOwnerPricingPlanIdentity; }; /** * This interface was referenced by `PerOwnerPricingPlan`'s JSON-Schema * via the `instances.targetSchema` link. */ export type PerOwnerPricingPlanInstancesTargetSchema = { data: PerOwnerPricingPlan[]; }; /** * This interface was referenced by `PerOwnerPricingPlan`'s JSON-Schema * via the `activable_as_appointed_organization_instances.targetSchema` link. */ export type PerOwnerPricingPlanActivableAsAppointedOrganizationInstancesTargetSchema = { data: PerOwnerPricingPlan[]; }; /** * A subscription record * * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "per_owner_pricing_subscription". */ export type PerOwnerPricingSubscription = { type: PerOwnerPricingSubscriptionType; id: PerOwnerPricingSubscriptionIdentity; attributes: PerOwnerPricingSubscriptionAttributes; meta: PerOwnerPricingSubscriptionMeta; relationships: PerOwnerPricingSubscriptionRelationships; }; /** * JSON API attributes * * This interface was referenced by `PerOwnerPricingSubscription`'s JSON-Schema * via the `definition` "attributes". */ export type PerOwnerPricingSubscriptionAttributes = { /** * Date of creation of subscription */ created_at: string; /** * Type of recurrence (yearly/monthly) */ recurrence: 'yearly' | 'monthly'; /** * Purchased extra-usage packets */ extra_packets: { /** * Type of packet */ id: string; /** * Number of purchased packets */ quantity: number; }[]; price: number; }; /** * JSON API meta * * This interface was referenced by `PerOwnerPricingSubscription`'s JSON-Schema * via the `definition` "meta". */ export type PerOwnerPricingSubscriptionMeta = { /** * Whether payments collection will be performed off-line, without using credit cards */ manual_payments_collection: boolean; }; /** * JSON API links * * This interface was referenced by `PerOwnerPricingSubscription`'s JSON-Schema * via the `definition` "relationships". */ export type PerOwnerPricingSubscriptionRelationships = { /** * Subscription plan */ plan: { data: PerOwnerPricingPlanData; }; }; /** * This interface was referenced by `PerOwnerPricingSubscription`'s JSON-Schema * via the `create.schema` link. */ export type PerOwnerPricingSubscriptionCreateSchema = { data: { type: PerOwnerPricingSubscriptionType; attributes: { payment_intent_id?: string; /** * Type of recurrence (yearly/monthly) */ recurrence: 'yearly' | 'monthly'; billing_profile?: null | { address_line: string; city: string; company?: null | string; country: string; email: string; first_name: string; last_name: string; state: string; vat_number?: null | string; cf_cod_fiscale?: null | string; cf_cod_fiscale_partecipante_gruppo_iva?: null | string; po_number?: null | string; zip: string; }; /** * Reason for the downgrade (only considered in case of switch to free plan) */ downgrade_reason?: string; }; relationships: { /** * Subscription plan */ plan: { data: PerOwnerPricingPlanData; }; }; }; }; /** * This interface was referenced by `PerOwnerPricingSubscription`'s JSON-Schema * via the `create.targetSchema` link. */ export type PerOwnerPricingSubscriptionCreateTargetSchema = { data: PerOwnerPricingSubscription; }; /** * This interface was referenced by `PerOwnerPricingSubscription`'s JSON-Schema * via the `simulate.schema` link. */ export type PerOwnerPricingSubscriptionSimulateSchema = { data: { type: 'per_owner_pricing_subscription_simulation'; attributes: { /** * Type of recurrence (yearly/monthly) */ recurrence: 'yearly' | 'monthly'; billing_profile?: null | { address_line: string; city: string; country: string; vat_number?: null | string; cf_cod_fiscale?: null | string; cf_cod_fiscale_partecipante_gruppo_iva?: null | string; po_number?: null | string; zip: string; [k: string]: unknown; }; }; relationships: { /** * Subscription plan */ plan: { data: PerOwnerPricingPlanData; }; }; }; }; /** * This interface was referenced by `PerOwnerPricingSubscription`'s JSON-Schema * via the `simulate.targetSchema` link. */ export type PerOwnerPricingSubscriptionSimulateTargetSchema = { data: (NextInvoiceEstimate | PerOwnerPricingSubscription)[]; }; /** * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "next_invoice_estimate". */ export type NextInvoiceEstimate = { type: NextInvoiceEstimateType; id: NextInvoiceEstimateIdentity; attributes: NextInvoiceEstimateAttributes; }; /** * JSON API attributes * * This interface was referenced by `NextInvoiceEstimate`'s JSON-Schema * via the `definition` "attributes". */ export type NextInvoiceEstimateAttributes = { amount: number; next_billing_at: string; discount_percentage?: number; tax_label: null | string; /** * VAT/tax percentage applied to the estimate, if any. */ tax_rate?: null | number; /** * Amount (in cents) deducted from the estimated invoice thanks to credits (promotional credits, refundable credits, or proration from an existing subscription) */ credits_applied?: number; }; /** * JSON API data * * This interface was referenced by `NextInvoiceEstimate`'s JSON-Schema * via the `definition` "data". */ export type NextInvoiceEstimateData = { type: NextInvoiceEstimateType; id: NextInvoiceEstimateIdentity; }; /** * This interface was referenced by `PerOwnerPricingSubscription`'s JSON-Schema * via the `validate.schema` link. */ export type PerOwnerPricingSubscriptionValidateSchema = { data: { type: 'per_owner_pricing_subscription_validation'; relationships: { /** * Subscription plan */ plan: { data: PerOwnerPricingPlanData; }; }; }; }; /** * A billing profile * * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "per_owner_pricing_billing_profile". */ export type PerOwnerPricingBillingProfile = { type: PerOwnerPricingBillingProfileType; id: PerOwnerPricingBillingProfileIdentity; attributes: PerOwnerPricingBillingProfileAttributes; }; /** * Billing profile info * * This interface was referenced by `PerOwnerPricingBillingProfile`'s JSON-Schema * via the `definition` "attributes". */ export type PerOwnerPricingBillingProfileAttributes = { billing_profile: { first_name: string; last_name: string; company: null | string; card_last_4: string; next_billing_at: string; card_type: string; card_expiry_month: number; card_expiry_year: number; address_line: string; city: string; email: string; country: string; state: string; zip: string; vat_number: null | string; /** * Whether the subscription has been cancelled and all associated projects are frozen. */ defaulting: boolean; defaulting_since: null | string; credits: number; total_dues: number; /** * Sum of the unpaid invoices (posted, payment due, not paid), in cents. Unlike `total_dues`, it includes posted invoices that are still within their payment terms. */ total_outstanding: number; cf_cod_fiscale: null | string; cf_cod_fiscale_partecipante_gruppo_iva: null | string; po_number: null | string; unbilled_charges: number; discount_percentage: number; }; }; /** * This interface was referenced by `PerOwnerPricingBillingProfile`'s JSON-Schema * via the `self.targetSchema` link. */ export type PerOwnerPricingBillingProfileSelfTargetSchema = { data: PerOwnerPricingBillingProfile; }; /** * This interface was referenced by `PerOwnerPricingBillingProfile`'s JSON-Schema * via the `update_credit_card.schema` link. */ export type PerOwnerPricingBillingProfileUpdateCreditCardSchema = { data: { type: 'card'; attributes: { payment_intent_id: string; }; }; }; /** * This interface was referenced by `PerOwnerPricingBillingProfile`'s JSON-Schema * via the `update_credit_card.targetSchema` link. */ export type PerOwnerPricingBillingProfileUpdateCreditCardTargetSchema = { data: PerOwnerPricingBillingProfile; }; /** * This interface was referenced by `PerOwnerPricingBillingProfile`'s JSON-Schema * via the `update_info.schema` link. */ export type PerOwnerPricingBillingProfileUpdateInfoSchema = { data: { id?: PerOwnerPricingBillingProfileIdentity; type: PerOwnerPricingBillingProfileType; attributes: { billing_profile: { first_name: string; last_name: string; company: null | string; address_line: string; city: string; email: string; country: string; state: string; zip: string; vat_number?: null | string; cf_cod_fiscale?: null | string; cf_cod_fiscale_partecipante_gruppo_iva?: null | string; po_number?: null | string; }; }; }; }; /** * This interface was referenced by `PerOwnerPricingBillingProfile`'s JSON-Schema * via the `update_info.targetSchema` link. */ export type PerOwnerPricingBillingProfileUpdateInfoTargetSchema = { data: PerOwnerPricingBillingProfile; }; /** * This interface was referenced by `PerOwnerPricingBillingProfile`'s JSON-Schema * via the `cancel_subscription.schema` link. */ export type PerOwnerPricingBillingProfileCancelSubscriptionSchema = { data: { type: 'per_owner_pricing_billing_profile'; attributes: { reason?: string | null; }; }; }; /** * This interface was referenced by `PerOwnerPricingBillingProfile`'s JSON-Schema * via the `cancel_subscription.targetSchema` link. */ export type PerOwnerPricingBillingProfileCancelSubscriptionTargetSchema = { data: PerOwnerPricingBillingProfile; }; /** * This interface was referenced by `Account`'s JSON-Schema * via the `reset_password.schema` link. */ export type AccountResetPasswordSchema = { data: { type: 'password_reset'; attributes: { /** * Email */ email: string; }; }; }; /** * This interface was referenced by `Account`'s JSON-Schema * via the `activate_2fa.schema` link. */ export type AccountActivate_2FaSchema = { data: { type: string; attributes: { /** * OTP code */ otp_code: string; /** * Current password */ password: string; }; }; }; /** * This interface was referenced by `Account`'s JSON-Schema * via the `activate_2fa.targetSchema` link. */ export type AccountActivate_2FaTargetSchema = { data: Session; included: (Account | OtpBackupCodes)[]; }; /** * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "otp_backup_codes". */ export type OtpBackupCodes = { type: OtpBackupCodesType; id: OtpBackupCodesIdentity; attributes: OtpBackupCodesAttributes; }; /** * JSON API attributes * * This interface was referenced by `OtpBackupCodes`'s JSON-Schema * via the `definition` "attributes". */ export type OtpBackupCodesAttributes = { codes: string[]; }; /** * JSON API data * * This interface was referenced by `OtpBackupCodes`'s JSON-Schema * via the `definition` "data". */ export type OtpBackupCodesData = { type: OtpBackupCodesType; id: OtpBackupCodesIdentity; }; /** * This interface was referenced by `Account`'s JSON-Schema * via the `reset_2fa.targetSchema` link. */ export type AccountReset_2FaTargetSchema = { data: { /** * ID of account */ id: string; type: string; attributes: { /** * 2-factor authentication provisioning URI */ provisioning_2fa_uri: string; }; }; }; /** * This interface was referenced by `Account`'s JSON-Schema * via the `deactivate_2fa.schema` link. */ export type AccountDeactivate_2FaSchema = { data: { type: string; attributes: { /** * OTP code */ otp_code: string; /** * Current password */ password: string; }; }; }; /** * This interface was referenced by `Account`'s JSON-Schema * via the `deactivate_2fa.targetSchema` link. */ export type AccountDeactivate_2FaTargetSchema = { data: Account; }; /** * This interface was referenced by `Account`'s JSON-Schema * via the `convert_to_organization.schema` link. */ export type AccountConvertToOrganizationSchema = { data: { type: 'organization_conversion'; attributes: { /** * Name of the organization */ name: string; }; }; }; /** * This interface was referenced by `Account`'s JSON-Schema * via the `convert_to_organization.targetSchema` link. */ export type AccountConvertToOrganizationTargetSchema = { data: Job; }; /** * This interface was referenced by `Account`'s JSON-Schema * via the `convert_to_organization.jobSchema` link. */ export type AccountConvertToOrganizationJobSchema = { data: Organization; }; /** * Organizations allow you to collaborate with members on projects * * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "organization". */ export type Organization = { type: OrganizationType; id: OrganizationIdentity; attributes: OrganizationAttributes; relationships: OrganizationRelationships; meta: OrganizationMeta; }; /** * JSON API attributes * * This interface was referenced by `Organization`'s JSON-Schema * via the `definition` "attributes". */ export type OrganizationAttributes = { /** * Name of the organization */ name: string; }; /** * JSON API links * * This interface was referenced by `Organization`'s JSON-Schema * via the `definition` "relationships". */ export type OrganizationRelationships = { active_subscription: { data: PerOwnerPricingSubscriptionData; }; billing_profile: { data: null | PerOwnerPricingBillingProfileData; }; }; /** * JSON API meta * * This interface was referenced by `Organization`'s JSON-Schema * via the `definition` "meta". */ export type OrganizationMeta = { discount_on_public_plans: number; agency_partner: null | { datocms_website_access_token: null | string; enrollment_issues: null | { days_left_to_comply: number; missing_requirements: ('paid_activation' | 'published_profile' | 'published_showcase_project')[]; }; }; }; /** * This interface was referenced by `Organization`'s JSON-Schema * via the `instances.targetSchema` link. */ export type OrganizationInstancesTargetSchema = { data: Organization[]; included?: (PerOwnerPricingPlan | PerOwnerPricingSubscription | PerOwnerPricingBillingProfile)[]; }; /** * This interface was referenced by `Organization`'s JSON-Schema * via the `self.targetSchema` link. */ export type OrganizationSelfTargetSchema = { data: Organization; included?: (PerOwnerPricingPlan | PerOwnerPricingSubscription | PerOwnerPricingBillingProfile)[]; }; /** * This interface was referenced by `Organization`'s JSON-Schema * via the `create.schema` link. */ export type OrganizationCreateSchema = { data: { type: OrganizationType; attributes: { /** * Name of the organization */ name?: string; }; }; }; /** * This interface was referenced by `Organization`'s JSON-Schema * via the `create.targetSchema` link. */ export type OrganizationCreateTargetSchema = { data: Organization; }; /** * This interface was referenced by `Organization`'s JSON-Schema * via the `update.schema` link. */ export type OrganizationUpdateSchema = { data: { id: OrganizationIdentity; type: OrganizationType; attributes: { /** * Name of the organization */ name?: string; }; }; }; /** * This interface was referenced by `Organization`'s JSON-Schema * via the `update.targetSchema` link. */ export type OrganizationUpdateTargetSchema = { data: Organization; }; /** * This interface was referenced by `Organization`'s JSON-Schema * via the `destroy.schema` link. */ export type OrganizationDestroySchema = { data: { type: 'organization_destroy_request'; attributes: { /** * OTP code */ otp_code?: string; /** * Current password */ password: string; }; }; }; /** * This interface was referenced by `Organization`'s JSON-Schema * via the `destroy.targetSchema` link. */ export type OrganizationDestroyTargetSchema = { data: Job; }; /** * This interface was referenced by `Organization`'s JSON-Schema * via the `destroy.jobSchema` link. */ export type OrganizationDestroyJobSchema = { data: Organization; }; /** * This interface was referenced by `Account`'s JSON-Schema * via the `confirm_email_change.schema` link. */ export type AccountConfirmEmailChangeSchema = { data: { type: 'email_change_confirmation'; attributes: { /** * Email confirmation token */ token: string; /** * Account ID */ account_id: string; }; }; }; /** * This interface was referenced by `Account`'s JSON-Schema * via the `confirm_email_change.targetSchema` link. */ export type AccountConfirmEmailChangeTargetSchema = { data: Session; included: Account[]; }; /** * This interface was referenced by `Account`'s JSON-Schema * via the `complete_email_verification.schema` link. */ export type AccountCompleteEmailVerificationSchema = { data: { type: 'email_verification'; attributes: { /** * Email verification token */ token: string; /** * Account ID */ account_id: string; }; }; }; /** * A project represents a specific DatoCMS administrative area * * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "site". */ export type Site = { type: SiteType; id: SiteIdentity; attributes: SiteAttributes; relationships: SiteRelationships; meta: SiteMeta; }; /** * JSON API attributes * * This interface was referenced by `Site`'s JSON-Schema * via the `definition` "attributes". */ export type SiteAttributes = { /** * Site name */ name: string; /** * Site domain */ domain: string | null; /** * Internal project domain */ internal_domain: string; /** * Internal project subdomain */ internal_subdomain?: string; /** * Specifies the last time when a change of data occurred */ last_data_change_at: null | string; /** * Date of project creation */ created_at: null | string; /** * Access token */ access_token: null | string; /** * Read-write API token */ readwrite_token?: null | string; /** * Read-only API token */ readonly_token?: null | string; /** * Status of project according to billing situation */ deactivated: boolean; /** * Whether the project can be used as a public template */ is_public_template?: boolean; /** * Status of the project */ status?: 'creating' | 'ready' | 'destroying'; }; /** * JSON API links * * This interface was referenced by `Site`'s JSON-Schema * via the `definition` "relationships". */ export type SiteRelationships = { active_subscription: { data: null | SiteSubscriptionData; }; active_plan: { data: null | SitePlanData; }; transfer: { data: SiteTransferData | null; }; }; /** * JSON API data * * This interface was referenced by `SiteSubscription`'s JSON-Schema * via the `definition` "data". */ export type SiteSubscriptionData = { type: SiteSubscriptionType; id: SiteSubscriptionIdentity; }; /** * JSON API data * * This interface was referenced by `SitePlan`'s JSON-Schema * via the `definition` "data". */ export type SitePlanData = { type: SitePlanType; id: SitePlanIdentity; }; /** * JSON API data * * This interface was referenced by `SiteTransfer`'s JSON-Schema * via the `definition` "data". */ export type SiteTransferData = { type: SiteTransferType; id: SiteTransferIdentity; }; /** * Meta attributes * * This interface was referenced by `Site`'s JSON-Schema * via the `definition` "meta". */ export type SiteMeta = { /** * Specifies the last time when a change of data occurred */ last_data_change_at: null | string; /** * The creation date of the site */ created_at: null | string; /** * True when the site has been deactivated */ deactivated: null | boolean; /** * Site status */ status: string; /** * True if the site requires 2FA to enter */ require_2fa: boolean; owner: { /** * Type of owner */ type: 'account'; /** * Email of the account that owns the project */ email: string; } | { /** * Type of owner */ type: 'organization'; /** * Name of the organization that owns the project */ name: string; /** * ID of the organization that owns the project */ id: string; }; }; /** * JSON API data * * This interface was referenced by `Site`'s JSON-Schema * via the `definition` "data". */ export type SiteData = { type: SiteType; id: SiteIdentity; }; /** * This interface was referenced by `Site`'s JSON-Schema * via the `self.targetSchema` link. */ export type SiteSelfTargetSchema = { data: Site; included?: (SiteSubscription | SitePlan | SiteTransfer)[]; }; /** * A per-project subscription record * * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "site_subscription". */ export type SiteSubscription = { type: SiteSubscriptionType; id: SiteSubscriptionIdentity; attributes: SiteSubscriptionAttributes; relationships: SiteSubscriptionRelationships; }; /** * JSON API attributes * * This interface was referenced by `SiteSubscription`'s JSON-Schema * via the `definition` "attributes". */ export type SiteSubscriptionAttributes = { /** * Date of creation of subscription */ created_at: string; /** * Type of recurrence (yearly/monthly) */ recurrence: 'yearly' | 'monthly'; price: number; /** * Extra packets */ extra_packets: { users?: number; locales?: number; item_types?: number; roles?: number; build_triggers?: number; search_indexes?: number; access_tokens?: number; mux_encoding_seconds?: number; sandbox_environments?: number; items?: number; uploadable_bytes?: number; }; }; /** * JSON API links * * This interface was referenced by `SiteSubscription`'s JSON-Schema * via the `definition` "relationships". */ export type SiteSubscriptionRelationships = { /** * Subscription plan */ plan: { data: SitePlanData; }; /** * Billing profile */ billing_profile?: { data: PerSitePricingBillingProfileData | null; }; /** * Subscription site */ site?: { data: SiteData; }; }; /** * JSON API data * * This interface was referenced by `PerSitePricingBillingProfile`'s JSON-Schema * via the `definition` "data". */ export type PerSitePricingBillingProfileData = { type: PerSitePricingBillingProfileType; id: PerSitePricingBillingProfileIdentity; }; /** * This interface was referenced by `SiteSubscription`'s JSON-Schema * via the `create.schema` link. */ export type SiteSubscriptionCreateSchema = { data: { type: SiteSubscriptionType; attributes: { payment_intent_id?: string; /** * Type of recurrence (yearly/monthly) */ recurrence: 'yearly' | 'monthly'; /** * Extra packets */ extra_packets: { users?: number; locales?: number; item_types?: number; roles?: number; build_triggers?: number; search_indexes?: number; access_tokens?: number; mux_encoding_seconds?: number; sandbox_environments?: number; items?: number; uploadable_bytes?: number; }; billing_profile?: null | { address_line: string; city: string; company?: null | string; country: string; email: string; first_name: string; last_name: string; state: string; vat_number?: null | string; cf_cod_fiscale?: null | string; cf_cod_fiscale_partecipante_gruppo_iva?: null | string; zip: string; }; }; relationships: { /** * Subscription plan */ plan: { data: SitePlanData; }; /** * Billing profile */ billing_profile?: { data: PerSitePricingBillingProfileData | null; }; }; }; }; /** * This interface was referenced by `SiteSubscription`'s JSON-Schema * via the `create.targetSchema` link. */ export type SiteSubscriptionCreateTargetSchema = { data: SiteSubscription; included: Site[]; }; /** * This interface was referenced by `SiteSubscription`'s JSON-Schema * via the `simulate.schema` link. */ export type SiteSubscriptionSimulateSchema = { data: { type: 'site_subscription_simulation'; attributes: { /** * Type of recurrence (yearly/monthly) */ recurrence: 'yearly' | 'monthly'; /** * Extra packets */ extra_packets: { users?: number; locales?: number; item_types?: number; roles?: number; build_triggers?: number; search_indexes?: number; access_tokens?: number; mux_encoding_seconds?: number; sandbox_environments?: number; items?: number; uploadable_bytes?: number; }; is_duplicate?: boolean; ignore_content?: boolean; billing_profile?: null | { address_line: string; city: string; country: string; vat_number?: null | string; cf_cod_fiscale?: null | string; cf_cod_fiscale_partecipante_gruppo_iva?: null | string; zip: string; [k: string]: unknown; }; }; relationships: { /** * Subscription plan */ plan: { data: SitePlanData; }; /** * Billing profile */ billing_profile?: { data: PerSitePricingBillingProfileData | null; }; }; }; }; /** * This interface was referenced by `SiteSubscription`'s JSON-Schema * via the `simulate.targetSchema` link. */ export type SiteSubscriptionSimulateTargetSchema = { data: NextInvoiceEstimate; }; /** * This interface was referenced by `SiteSubscription`'s JSON-Schema * via the `validate.schema` link. */ export type SiteSubscriptionValidateSchema = { data: { type: 'site_subscription_validation'; attributes: { /** * Extra packets */ extra_packets: { users?: number; locales?: number; item_types?: number; roles?: number; build_triggers?: number; search_indexes?: number; access_tokens?: number; mux_encoding_seconds?: number; sandbox_environments?: number; items?: number; uploadable_bytes?: number; }; /** * Skip compatibility checks on content (number of records and uploads) */ ignore_content?: boolean; /** * Specify is site is a duplicate of another site */ is_duplicate?: boolean; }; relationships: { /** * Subscription plan */ plan: { data: SitePlanData; }; }; }; }; /** * This interface was referenced by `SiteSubscription`'s JSON-Schema * via the `validate.targetSchema` link. */ export type SiteSubscriptionValidateTargetSchema = { data: SiteSubscription; included: Site[]; }; /** * Stores the information regarding the current plan for the project. * * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "site_plan". */ export type SitePlan = { type: SitePlanType; id: SitePlanIdentity; attributes: SitePlanAttributes; }; /** * JSON API attributes * * This interface was referenced by `SitePlan`'s JSON-Schema * via the `definition` "attributes". */ export type SitePlanAttributes = { /** * The name of the plan */ name: string; /** * Whether this plan is active or legacy */ active: boolean; /** * Whether custom domain can be enabled or not */ custom_domain: boolean; /** * Number of users that can be invited */ users: null | number; /** * Number of indexable pages */ indexable_pages: null | number; /** * Number of build triggers */ build_triggers: null | number; /** * Number of search indexes */ search_indexes: null | number; /** * Number of plugins */ plugins: null | number; /** * Number of webhooks */ webhooks: null | number; /** * Number of records allowed */ items: null | number; /** * Monthly price */ monthly_price: number; /** * Yearly price */ yearly_price: number; /** * Uploadable bytes */ uploadable_bytes: null | number; /** * Amount of asset data transferred between our Asset CDN and GraphQL Content Delivery API and content consumers */ traffic_bytes: null | number; /** * The number of requests made to both our Content Management and Content Delivery APIs */ api_calls: null | number; /** * The number of requests made to our Content Delivery API */ cda_api_calls?: null | number; /** * The number of requests made to our Content Management API */ cma_api_calls?: null | number; /** * The number of streaming seconds delivered by Mux.com */ mux_streaming_seconds: null | number; /** * The number of available encoding seconds to Mux.com */ mux_encoding_seconds: null | number; /** * The number of images you can analyze for smart tags detections */ smart_tags_detections: null | number; /** * Monthly cumulative execution-time budget (in seconds) for scripts run in the remote MCP sandbox */ mcp_sandbox_execution_seconds: number; /** * Per-execution timeout ceiling (in seconds) for scripts run in the remote MCP sandbox */ mcp_sandbox_timeout_seconds: number; /** * The number of different API tokens you can generate, each which different permissions */ access_tokens: null | number; /** * Number of roles allowed */ roles: null | number; /** * Number of locales allowed */ locales: null | number; /** * Number of sandbox environments allowed */ sandbox_environments: null | number; /** * Number of models allowed */ item_types: null | number; /** * Whether collaboration features are enabled or not */ item_locking: boolean; /** * Whether project is in white-label mode or not */ white_label: boolean; /** * Whether Single Sign-On feature is enabled or not */ sso: boolean; /** * Whether built-in image editor and smart-tagging is enabled or not */ advanced_media_area: boolean; /** * Maximum number of blocks a record can contain */ blocks_per_item: number; /** * Maximum level of block nesting for a record */ blocks_depth: number; /** * Whether video streaming with Mux.com is enabled or not */ video: boolean; /** * Days of version history retention */ history_retention_days: number | null; /** * Maximum number of clients connected at the same time to the Realtime Updates API. The limit is per-project */ concurrent_realtime_connections: number; /** * The maximum GraphQL query complexity a client can perform on our CDA. */ gql_complexity: number; /** * Period (in minutes) in which bursts of changes made to the same record by the same user (or API token) will be grouped into a single one */ history_resolution_minutes: number; /** * Whether two-factor authentication can be enabled or not */ otp: boolean; /** * Whether workflows are enabled or not */ workflows: boolean; /** * Whether visual editing is enabled or not */ visual_editing: boolean; /** * Number of workflows allowed */ workflows_count: number; /** * Whether audit logs are enabled or not */ audit_log: boolean; /** * Whether translator roles are enabled or not */ translator_roles: boolean; /** * Whether or not use a static IP when sending webhooks */ static_webhooks_ip: boolean; /** * Maximum size in bytes for a single file upload */ maximum_single_upload_bytes: number; /** * Maximum size (in bytes) for a record, including its block records */ item_size_bytes: number; /** * Available extra packets */ extra_packets: { users?: { amount_per_packet: number; price: number; }; locales?: { amount_per_packet: number; price: number; }; item_types?: { amount_per_packet: number; price: number; }; roles?: { amount_per_packet: number; price: number; }; build_triggers?: { amount_per_packet: number; price: number; }; search_indexes?: { amount_per_packet: number; price: number; }; access_tokens?: { amount_per_packet: number; price: number; }; mux_encoding_seconds?: { amount_per_packet: number; price: number; }; sandbox_environments?: { amount_per_packet: number; price: number; }; }; /** * Automatic packets */ auto_packets: { traffic_bytes?: { amount_per_packet: number; price: number; }; api_calls?: { amount_per_packet: number; price: number; }; cda_api_calls?: { amount_per_packet: number; price: number; }; cma_api_calls?: { amount_per_packet: number; price: number; }; mux_streaming_seconds?: { amount_per_packet: number; price: number; }; }; }; /** * This interface was referenced by `SitePlan`'s JSON-Schema * via the `instances.targetSchema` link. */ export type SitePlanInstancesTargetSchema = { data: SitePlan[]; }; /** * A request to transfer a site to another account * * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "site_transfer". */ export type SiteTransfer = { type: SiteTransferType; id: SiteTransferIdentity; attributes: SiteTransferAttributes; relationships: SiteTransferRelationships; meta: SiteTransferMeta; }; /** * JSON API attributes * * This interface was referenced by `SiteTransfer`'s JSON-Schema * via the `definition` "attributes". */ export type SiteTransferAttributes = { source: { /** * Type of owner */ type: 'account'; /** * Email of the account that owns the project */ email: string; } | { /** * Type of owner */ type: 'organization'; /** * Name of the organization that owns the project */ name: string; /** * ID of the organization that owns the project */ id: string; }; destination: { /** * Type of owner */ type: 'account'; /** * Email of the account that owns the project */ email: string; } | { /** * Type of owner */ type: 'organization'; /** * Name of the organization that owns the project */ name: string; /** * ID of the organization that owns the project */ id: string; }; /** * Name of the site to transfer */ site_name: string; recurrence?: ('yearly' | 'monthly') | null; extra_packets: { users?: number; locales?: number; item_types?: number; roles?: number; build_triggers?: number; search_indexes?: number; access_tokens?: number; mux_encoding_seconds?: number; sandbox_environments?: number; items?: number; uploadable_bytes?: number; } | null; }; /** * JSON API links * * This interface was referenced by `SiteTransfer`'s JSON-Schema * via the `definition` "relationships". */ export type SiteTransferRelationships = { /** * Current plan */ plan: { data: SitePlanData | null; }; }; /** * JSON API meta * * This interface was referenced by `SiteTransfer`'s JSON-Schema * via the `definition` "meta". */ export type SiteTransferMeta = { /** * Date of site transfer creation */ created_at: string; }; /** * This interface was referenced by `SiteTransfer`'s JSON-Schema * via the `instances.targetSchema` link. */ export type SiteTransferInstancesTargetSchema = { data: SiteTransfer[]; }; /** * This interface was referenced by `SiteTransfer`'s JSON-Schema * via the `self.targetSchema` link. */ export type SiteTransferSelfTargetSchema = { data: SiteTransfer; included?: SitePlan[]; }; /** * This interface was referenced by `SiteTransfer`'s JSON-Schema * via the `create.schema` link. */ export type SiteTransferCreateSchema = { data: { type: SiteTransferType; attributes: { destination?: AccountData | OrganizationData; }; }; }; /** * This interface was referenced by `SiteTransfer`'s JSON-Schema * via the `create.targetSchema` link. */ export type SiteTransferCreateTargetSchema = { data: Site; included?: SiteTransfer[]; }; /** * This interface was referenced by `SiteTransfer`'s JSON-Schema * via the `destroy.targetSchema` link. */ export type SiteTransferDestroyTargetSchema = { data: Site; }; /** * This interface was referenced by `SiteTransfer`'s JSON-Schema * via the `simulate_accept.schema` link. */ export type SiteTransferSimulateAcceptSchema = { data: { type: 'site_transfer_acceptance_simulation'; attributes?: { billing_profile?: null | { address_line: string; city: string; country: string; vat_number?: null | string; cf_cod_fiscale?: null | string; cf_cod_fiscale_partecipante_gruppo_iva?: null | string; zip: string; [k: string]: unknown; }; }; /** * JSON API links */ relationships: { /** * Billing profile */ billing_profile: { data: PerSitePricingBillingProfileData | null; }; }; }; }; /** * This interface was referenced by `SiteTransfer`'s JSON-Schema * via the `simulate_accept.targetSchema` link. */ export type SiteTransferSimulateAcceptTargetSchema = { data: NextInvoiceEstimate; }; /** * This interface was referenced by `SiteTransfer`'s JSON-Schema * via the `accept.schema` link. */ export type SiteTransferAcceptSchema = { data: { type: 'site_transfer_acceptance'; attributes?: { payment_intent_id?: string; billing_profile?: null | { address_line: string; city: string; company?: null | string; country: string; email: string; first_name: string; last_name: string; state: string; vat_number?: null | string; cf_cod_fiscale?: null | string; cf_cod_fiscale_partecipante_gruppo_iva?: null | string; zip: string; }; }; /** * JSON API links */ relationships?: { /** * Billing profile */ billing_profile: { data: PerSitePricingBillingProfileData | null; }; }; }; }; /** * This interface was referenced by `SiteTransfer`'s JSON-Schema * via the `accept.targetSchema` link. */ export type SiteTransferAcceptTargetSchema = { data: Site; }; /** * This interface was referenced by `Site`'s JSON-Schema * via the `instances.targetSchema` link. */ export type SiteInstancesTargetSchema = { data: Site[]; meta: { total_count: number; total_owned_count: number; }; included?: (SiteSubscription | SitePlan | SiteTransfer)[]; }; /** * This interface was referenced by `Site`'s JSON-Schema * via the `create.schema` link. */ export type SiteCreateSchema = { data: { type: SiteType; attributes: { /** * Site name */ name: string; /** * Internal project subdomain */ internal_subdomain?: string; /** * Main locale for the project */ main_locale?: string; /** * Theme hue for the project (from 0 to 359) */ theme_hue?: number; /** * Site template */ template?: string | null; }; }; }; /** * This interface was referenced by `Site`'s JSON-Schema * via the `create.targetSchema` link. */ export type SiteCreateTargetSchema = { data: Site | Job; }; /** * This interface was referenced by `Site`'s JSON-Schema * via the `create.jobSchema` link. */ export type SiteCreateJobSchema = { data: Site; }; /** * This interface was referenced by `Site`'s JSON-Schema * via the `update.schema` link. */ export type SiteUpdateSchema = { data: { id: SiteIdentity; type: SiteType; attributes: { /** * Site name */ name?: string; /** * Site domain */ domain?: string | null; /** * Internal project subdomain */ internal_subdomain?: string; /** * Whether the project can be used as a public template */ is_public_template?: boolean; }; }; }; /** * This interface was referenced by `Site`'s JSON-Schema * via the `update.targetSchema` link. */ export type SiteUpdateTargetSchema = { data: Site; }; /** * This interface was referenced by `Site`'s JSON-Schema * via the `destroy.targetSchema` link. */ export type SiteDestroyTargetSchema = { data: Site | Job; }; /** * This interface was referenced by `Site`'s JSON-Schema * via the `destroy.jobSchema` link. */ export type SiteDestroyJobSchema = { data: Site; }; /** * This interface was referenced by `Site`'s JSON-Schema * via the `duplicate.schema` link. */ export type SiteDuplicateSchema = { data: { type: 'site_duplication'; attributes: { /** * Site name */ name: string; /** * When duplicating a site it allows to duplicate only the schema */ ignore_content?: boolean; payment_intent_id?: string; /** * Type of recurrence (yearly/monthly) */ recurrence?: 'yearly' | 'monthly'; /** * Extra packets */ extra_packets?: { users?: number; locales?: number; item_types?: number; roles?: number; build_triggers?: number; search_indexes?: number; access_tokens?: number; mux_encoding_seconds?: number; sandbox_environments?: number; items?: number; uploadable_bytes?: number; }; billing_profile?: null | { address_line: string; city: string; company?: null | string; country: string; email: string; first_name: string; last_name: string; state: string; vat_number?: null | string; cf_cod_fiscale?: null | string; cf_cod_fiscale_partecipante_gruppo_iva?: null | string; zip: string; }; }; relationships?: { /** * Subscription plan */ plan: { data: SitePlanData; }; /** * Billing profile */ billing_profile?: { data: PerSitePricingBillingProfileData | null; }; }; }; }; /** * This interface was referenced by `Site`'s JSON-Schema * via the `duplicate.targetSchema` link. */ export type SiteDuplicateTargetSchema = { data: Job; }; /** * This interface was referenced by `Site`'s JSON-Schema * via the `duplicate.jobSchema` link. */ export type SiteDuplicateJobSchema = { data: Site; }; /** * A billing profile * * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "per_site_pricing_billing_profile". */ export type PerSitePricingBillingProfile = { type: PerSitePricingBillingProfileType; id: PerSitePricingBillingProfileIdentity; attributes: PerSitePricingBillingProfileAttributes; relationships: PerSitePricingBillingProfileRelationships; }; /** * Billing profile info * * This interface was referenced by `PerSitePricingBillingProfile`'s JSON-Schema * via the `definition` "attributes". */ export type PerSitePricingBillingProfileAttributes = { billing_profile: { first_name: string; last_name: string; company: null | string; card_last_4: string; next_billing_at: string; card_type: string; card_expiry_month: number; card_expiry_year: number; address_line: string; city: string; email: string; country: string; state: string; zip: string; vat_number: null | string; /** * Whether the subscription has been cancelled and all associated projects are frozen. */ defaulting: boolean; defaulting_since: null | string; credits: number; total_dues: number; cf_cod_fiscale: null | string; cf_cod_fiscale_partecipante_gruppo_iva: null | string; coupons: string[]; is_active: boolean; next_monthly_billing_at: null | string; next_yearly_billing_at: null | string; }; }; /** * JSON API links * * This interface was referenced by `PerSitePricingBillingProfile`'s JSON-Schema * via the `definition` "relationships". */ export type PerSitePricingBillingProfileRelationships = { /** * Role */ active_subscriptions: { data: SiteSubscriptionData[]; }; }; /** * This interface was referenced by `PerSitePricingBillingProfile`'s JSON-Schema * via the `instances.targetSchema` link. */ export type PerSitePricingBillingProfileInstancesTargetSchema = { data: PerSitePricingBillingProfile[]; }; /** * This interface was referenced by `PerSitePricingBillingProfile`'s JSON-Schema * via the `self.targetSchema` link. */ export type PerSitePricingBillingProfileSelfTargetSchema = { data: PerSitePricingBillingProfile; included?: (SiteSubscription | SitePlan | Site)[]; }; /** * This interface was referenced by `PerSitePricingBillingProfile`'s JSON-Schema * via the `update_credit_card.schema` link. */ export type PerSitePricingBillingProfileUpdateCreditCardSchema = { data: { type: 'card'; attributes: { payment_intent_id: string; }; }; }; /** * This interface was referenced by `PerSitePricingBillingProfile`'s JSON-Schema * via the `update_credit_card.targetSchema` link. */ export type PerSitePricingBillingProfileUpdateCreditCardTargetSchema = { data: PerSitePricingBillingProfile; }; /** * This interface was referenced by `PerSitePricingBillingProfile`'s JSON-Schema * via the `update_info.schema` link. */ export type PerSitePricingBillingProfileUpdateInfoSchema = { data: { id?: PerSitePricingBillingProfileIdentity; type: PerSitePricingBillingProfileType; attributes: { billing_profile: { first_name: string; last_name: string; company: null | string; address_line: string; city: string; email: string; country: string; state: string; zip: string; vat_number?: null | string; cf_cod_fiscale?: null | string; cf_cod_fiscale_partecipante_gruppo_iva?: null | string; }; }; }; }; /** * This interface was referenced by `PerSitePricingBillingProfile`'s JSON-Schema * via the `update_info.targetSchema` link. */ export type PerSitePricingBillingProfileUpdateInfoTargetSchema = { data: PerSitePricingBillingProfile; }; /** * This interface was referenced by `PerSitePricingBillingProfile`'s JSON-Schema * via the `cancel_subscription.schema` link. */ export type PerSitePricingBillingProfileCancelSubscriptionSchema = { data: { type: 'per_site_pricing_billing_profile'; attributes: { reason?: string | null; }; }; }; /** * This interface was referenced by `PerSitePricingBillingProfile`'s JSON-Schema * via the `cancel_subscription.targetSchema` link. */ export type PerSitePricingBillingProfileCancelSubscriptionTargetSchema = { data: PerSitePricingBillingProfile; }; /** * This interface was referenced by `PerSitePricingBillingProfile`'s JSON-Schema * via the `destroy.targetSchema` link. */ export type PerSitePricingBillingProfileDestroyTargetSchema = { data: PerSitePricingBillingProfile; }; /** * An invoice * * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "invoice". */ export type Invoice = { type: InvoiceType; id: InvoiceIdentity; attributes: InvoiceAttributes; relationships: InvoiceRelationships; }; /** * JSON API attributes * * This interface was referenced by `Invoice`'s JSON-Schema * via the `definition` "attributes". */ export type InvoiceAttributes = { date: string; total: number; amount_due: number; status: string; last_failed_transaction: null | { code?: string; message?: string; [k: string]: unknown; }; }; /** * JSON API links * * This interface was referenced by `Invoice`'s JSON-Schema * via the `definition` "relationships". */ export type InvoiceRelationships = { /** * Role */ billing_profile: { data: PerSitePricingBillingProfileData | PerOwnerPricingBillingProfileData; }; }; /** * JSON API data * * This interface was referenced by `Invoice`'s JSON-Schema * via the `definition` "data". */ export type InvoiceData = { type: InvoiceType; id: InvoiceIdentity; }; /** * This interface was referenced by `Invoice`'s JSON-Schema * via the `per_owner_pricing_billing_profile_instances.targetSchema` link. */ export type InvoicePerOwnerPricingBillingProfileInstancesTargetSchema = { data: Invoice[]; }; /** * This interface was referenced by `Invoice`'s JSON-Schema * via the `per_site_pricing_billing_profile_instances.targetSchema` link. */ export type InvoicePerSitePricingBillingProfileInstancesTargetSchema = { data: Invoice[]; }; /** * This interface was referenced by `Invoice`'s JSON-Schema * via the `per_owner_pricing_billing_profile_collect_unpaid.schema` link. */ export type InvoicePerOwnerPricingBillingProfileCollectUnpaidSchema = { data: { type: 'invoice_collection'; attributes: { payment_intent_id: string; }; }; [k: string]: unknown; }; /** * This interface was referenced by `Invoice`'s JSON-Schema * via the `per_owner_pricing_billing_profile_collect_unpaid.targetSchema` link. */ export type InvoicePerOwnerPricingBillingProfileCollectUnpaidTargetSchema = { data: Invoice[]; }; /** * This interface was referenced by `Invoice`'s JSON-Schema * via the `per_site_pricing_billing_profile_collect_unpaid.schema` link. */ export type InvoicePerSitePricingBillingProfileCollectUnpaidSchema = { data: { type: 'invoice_collection'; attributes: { payment_intent_id: string; }; }; [k: string]: unknown; }; /** * This interface was referenced by `Invoice`'s JSON-Schema * via the `per_site_pricing_billing_profile_collect_unpaid.targetSchema` link. */ export type InvoicePerSitePricingBillingProfileCollectUnpaidTargetSchema = { data: Invoice[]; }; /** * A resource usage * * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "resource_usage". */ export type ResourceUsage = { type: ResourceUsageType; id: ResourceUsageIdentity; attributes: ResourceUsageAttributes; }; /** * JSON API attributes * * This interface was referenced by `ResourceUsage`'s JSON-Schema * via the `definition` "attributes". */ export type ResourceUsageAttributes = { quota: string; current_usage: null | number; free_of_charge_usage: number; current_extra_usage: null | number; sites_current_usage: null | { site_id: string; site_name: string; current_usage: number; /** * The project was deleted this month. A deleted project shows only when it adds to the usage of a metered resource */ recently_deleted: boolean; }[]; usage_status: null | string; forecast_message: null | string; /** * The forecast of the end of the month. Null when the resource is not metered */ forecast: null | { /** * The usage expected at the end of the month, at the current rate. On the first day of the month, the usage until now */ expected_usage: number; /** * The expected price of the extra usage at the end of the month, in euros, before taxes. Null when the plan has no extra packets for this resource */ expected_extra_price: null | number; /** * The price of the extra usage until now, in euros, before taxes. Null when the plan has no extra packets for this resource */ current_extra_price: null | number; /** * The cheapest plan that includes the expected usage. Null when the current plan includes it, or when no plan does */ upgrade_plan: null | { id: string; name: string; free_of_charge_usage: number; }; }; }; /** * JSON API data * * This interface was referenced by `ResourceUsage`'s JSON-Schema * via the `definition` "data". */ export type ResourceUsageData = { type: ResourceUsageType; id: ResourceUsageIdentity; }; /** * This interface was referenced by `ResourceUsage`'s JSON-Schema * via the `instances.targetSchema` link. */ export type ResourceUsageInstancesTargetSchema = { data: ResourceUsage[]; }; /** * DatoCMS resources usage organized by day * * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "daily_usage". */ export type DailyUsage = { type: DailyUsageType; id: DailyUsageIdentity; attributes: DailyUsageAttributes; relationships: DailyUsageRelationships; }; /** * JSON API attributes * * This interface was referenced by `DailyUsage`'s JSON-Schema * via the `definition` "attributes". */ export type DailyUsageAttributes = { /** * The date the data are referring to */ date: string; /** * Number of API calls to content delivery API */ cda_api_calls: number; /** * Number of API calls to content management API */ cma_api_calls: number; /** * Content delivery API traffic */ cda_traffic_bytes: number; /** * Content management API traffic */ cma_traffic_bytes: number; /** * Uploads requests traffic */ assets_traffic_bytes: number; /** * Regular video streaming (max 1080p), in seconds */ mux_delivered_seconds: number; /** * High-res video streaming (> 1080p), in seconds */ mux_high_resolution_delivered_seconds: number; /** * Video encoding seconds */ mux_encoded_seconds: number; /** * Number of images analyzed for smart tags */ smart_tags_detections: number; }; /** * JSON API links * * This interface was referenced by `DailyUsage`'s JSON-Schema * via the `definition` "relationships". */ export type DailyUsageRelationships = { /** * Site that generated the usage */ site: { data: SiteData; }; }; /** * JSON API data * * This interface was referenced by `DailyUsage`'s JSON-Schema * via the `definition` "data". */ export type DailyUsageData = { type: DailyUsageType; id: DailyUsageIdentity; }; /** * This interface was referenced by `DailyUsage`'s JSON-Schema * via the `instances.targetSchema` link. */ export type DailyUsageInstancesTargetSchema = { data: DailyUsage[]; included: Site[]; }; /** * Some API endpoint give results asynchronously, returning the ID of a job. * * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "job_result". */ export type JobResult = { type: JobResultType; id: JobResultIdentity; attributes: JobResultAttributes; }; /** * JSON API attributes * * This interface was referenced by `JobResult`'s JSON-Schema * via the `definition` "attributes". */ export type JobResultAttributes = { /** * Status of delayed HTTP response */ status: number; /** * JSON API response of the HTTP request */ payload: null | { [k: string]: unknown; }; }; /** * JSON API data * * This interface was referenced by `JobResult`'s JSON-Schema * via the `definition` "data". */ export type JobResultData = { type: JobResultType; id: JobResultIdentity; }; /** * This interface was referenced by `JobResult`'s JSON-Schema * via the `self.targetSchema` link. */ export type JobResultSelfTargetSchema = { data: JobResult; }; /** * Site invitation * * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "site_invitation". */ export type SiteInvitation = { id: SiteInvitationIdentity; type?: SiteInvitationType; }; /** * JSON API data * * This interface was referenced by `SiteInvitation`'s JSON-Schema * via the `definition` "data". */ export type SiteInvitationData = { type: SiteInvitationType; id: SiteInvitationIdentity; }; /** * This interface was referenced by `SiteInvitation`'s JSON-Schema * via the `redeem.targetSchema` link. */ export type SiteInvitationRedeemTargetSchema = { data: Site; }; /** * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "subscription_limit". */ export type SubscriptionLimit = { type: SubscriptionLimitType; id: SubscriptionLimitIdentity; attributes: SubscriptionLimitAttributes; }; /** * JSON API attributes * * This interface was referenced by `SubscriptionLimit`'s JSON-Schema * via the `definition` "attributes". */ export type SubscriptionLimitAttributes = { /** * The codename for the limit */ code: string; /** * Current usage */ usage: number; /** * The actual limit */ limit: number | null; }; /** * JSON API data * * This interface was referenced by `SubscriptionLimit`'s JSON-Schema * via the `definition` "data". */ export type SubscriptionLimitData = { type: SubscriptionLimitType; id: SubscriptionLimitIdentity; }; /** * This interface was referenced by `SubscriptionLimit`'s JSON-Schema * via the `instances.targetSchema` link. */ export type SubscriptionLimitInstancesTargetSchema = { data: SubscriptionLimit[]; }; /** * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "subscription_feature". */ export type SubscriptionFeature = { type: SubscriptionFeatureType; id: SubscriptionFeatureIdentity; attributes: SubscriptionFeatureAttributes; }; /** * JSON API attributes * * This interface was referenced by `SubscriptionFeature`'s JSON-Schema * via the `definition` "attributes". */ export type SubscriptionFeatureAttributes = { /** * The codename for the feature */ code: string; /** * Whether the project is currently using the feature */ in_use?: boolean; /** * Whether the feature is available on the current project */ enabled: boolean; }; /** * JSON API data * * This interface was referenced by `SubscriptionFeature`'s JSON-Schema * via the `definition` "data". */ export type SubscriptionFeatureData = { type: SubscriptionFeatureType; id: SubscriptionFeatureIdentity; }; /** * This interface was referenced by `SubscriptionFeature`'s JSON-Schema * via the `instances.targetSchema` link. */ export type SubscriptionFeatureInstancesTargetSchema = { data: SubscriptionFeature[]; }; /** * An OAuth application that allows access to our API from third party services. * * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "oauth_application". */ export type OauthApplication = { type: OauthApplicationType; id: OauthApplicationIdentity; attributes: OauthApplicationAttributes; relationships: OauthApplicationRelationships; }; /** * JSON API attributes * * This interface was referenced by `OauthApplication`'s JSON-Schema * via the `definition` "attributes". */ export type OauthApplicationAttributes = { /** * Name of application. For an MCP client that DatoCMS cannot verify, the name carries a warning and the host that identifies the client, e.g. "ChatGPT (unverified ยท evil.example)" */ name: string; /** * Date of token creation */ created_at: string; /** * Whether the application can access all projects or only selected ones */ site_access_mode: 'all' | 'selected'; /** * The level of access the account granted to the application, on top of its own permissions. Read-only: it is picked when authorizing the application, and changing it means authorizing the application again */ read_sites_permission_cap: 'content_view_only' | 'content_only' | 'unrestricted'; /** * Details of an MCP client application (for example ChatGPT, Claude or Cursor), which has its own projects and level of access. Null for any other application */ mcp_client: { /** * Name of the MCP client, without the note that name adds when DatoCMS cannot verify the client */ raw_name: string; /** * How the MCP client obtained its application */ registration: 'cimd' | 'dcr'; /** * How much DatoCMS trusts the identity of the MCP client */ trust_level: 'verified' | 'local' | 'unverified'; } | null; }; /** * JSON API relationships * * This interface was referenced by `OauthApplication`'s JSON-Schema * via the `definition` "relationships". */ export type OauthApplicationRelationships = { /** * Projects the application has been granted access to (only relevant when site_access_mode is 'selected') */ granted_sites: { data: SiteData[]; }; }; /** * JSON API data * * This interface was referenced by `OauthApplication`'s JSON-Schema * via the `definition` "data". */ export type OauthApplicationData = { type: OauthApplicationType; id: OauthApplicationIdentity; }; /** * This interface was referenced by `OauthApplication`'s JSON-Schema * via the `instances.targetSchema` link. */ export type OauthApplicationInstancesTargetSchema = { data: OauthApplication[]; }; /** * This interface was referenced by `OauthApplication`'s JSON-Schema * via the `update.schema` link. */ export type OauthApplicationUpdateSchema = { data: { id: OauthApplicationIdentity; type: OauthApplicationType; attributes: { /** * Whether the application can access all projects or only selected ones */ site_access_mode: 'all' | 'selected'; }; relationships?: { /** * Projects to grant access to (required when site_access_mode is 'selected') */ granted_sites?: { data: SiteData[]; }; }; }; }; /** * This interface was referenced by `OauthApplication`'s JSON-Schema * via the `update.targetSchema` link. */ export type OauthApplicationUpdateTargetSchema = { data: OauthApplication; }; /** * Private entity to handle payments with Stripe * * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "payment_intent". */ export type PaymentIntent = { type: PaymentIntentType; id: PaymentIntentIdentity; attributes: PaymentIntentAttributes; }; /** * JSON API attributes * * This interface was referenced by `PaymentIntent`'s JSON-Schema * via the `definition` "attributes". */ export type PaymentIntentAttributes = { /** * Stripe PaymentIntent client_secret */ client_secret: string | null; /** * Stripe PaymentIntent status */ status: string; }; /** * JSON API data * * This interface was referenced by `PaymentIntent`'s JSON-Schema * via the `definition` "data". */ export type PaymentIntentData = { type: PaymentIntentType; id: PaymentIntentIdentity; }; /** * This interface was referenced by `PaymentIntent`'s JSON-Schema * via the `create_from_payment_method.schema` link. */ export type PaymentIntentCreateFromPaymentMethodSchema = { data: { type: 'payment_intent'; attributes: { /** * Amount to charge */ amount: number; }; }; }; /** * This interface was referenced by `PaymentIntent`'s JSON-Schema * via the `create_from_payment_method.targetSchema` link. */ export type PaymentIntentCreateFromPaymentMethodTargetSchema = { data: PaymentIntent; }; /** * This interface was referenced by `PaymentIntent`'s JSON-Schema * via the `create_for_per_site_pricing_billing_profile.schema` link. */ export type PaymentIntentCreateForPerSitePricingBillingProfileSchema = { data: { type: 'payment_intent'; attributes: { /** * Amount to charge */ amount: number; }; }; }; /** * This interface was referenced by `PaymentIntent`'s JSON-Schema * via the `create_for_per_site_pricing_billing_profile.targetSchema` link. */ export type PaymentIntentCreateForPerSitePricingBillingProfileTargetSchema = { data: PaymentIntent; }; /** * This interface was referenced by `PaymentIntent`'s JSON-Schema * via the `create_for_per_owner_pricing_billing_profile.schema` link. */ export type PaymentIntentCreateForPerOwnerPricingBillingProfileSchema = { data: { type: 'payment_intent'; attributes: { /** * Amount to charge */ amount: number; }; }; }; /** * This interface was referenced by `PaymentIntent`'s JSON-Schema * via the `create_for_per_owner_pricing_billing_profile.targetSchema` link. */ export type PaymentIntentCreateForPerOwnerPricingBillingProfileTargetSchema = { data: PaymentIntent; }; /** * This interface was referenced by `PaymentIntent`'s JSON-Schema * via the `confirm.targetSchema` link. */ export type PaymentIntentConfirmTargetSchema = { data: PaymentIntent; }; /** * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "payment_method". */ export type PaymentMethod = { type: PaymentMethodType; id: PaymentMethodIdentity; attributes: PaymentMethodAttributes; }; /** * JSON API attributes * * This interface was referenced by `PaymentMethod`'s JSON-Schema * via the `definition` "attributes". */ export type PaymentMethodAttributes = {}; /** * JSON API data * * This interface was referenced by `PaymentMethod`'s JSON-Schema * via the `definition` "data". */ export type PaymentMethodData = { type: PaymentMethodType; id: PaymentMethodIdentity; }; /** * Organization role * * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "organization_role". */ export type OrganizationRole = { type: OrganizationRoleType; id: OrganizationRoleIdentity; attributes: OrganizationRoleAttributes; }; /** * JSON API attributes * * This interface was referenced by `OrganizationRole`'s JSON-Schema * via the `definition` "attributes". */ export type OrganizationRoleAttributes = { /** * Name of role */ name: string; /** * Whether the role can read everything or not */ can_read_everything: boolean; /** * Whether the role can access projects as owner or not */ can_access_sites_as_owner: boolean; /** * Whether the role can create new sites or not */ can_create_new_sites: boolean; /** * Whether the role can edit projects or not */ can_edit_sites: boolean; /** * Whether the role can manage project transfers or not */ can_manage_site_transfers: boolean; /** * Whether the role can delete projects or not */ can_delete_sites: boolean; /** * Whether the role can manage members or not */ can_manage_members: boolean; /** * Whether the role can manage billing or not */ can_manage_billing: boolean; /** * Whether the role can manage organization or not */ can_manage_organization: boolean; }; /** * JSON API data * * This interface was referenced by `OrganizationRole`'s JSON-Schema * via the `definition` "data". */ export type OrganizationRoleData = { type: OrganizationRoleType; id: OrganizationRoleIdentity; }; /** * This interface was referenced by `OrganizationRole`'s JSON-Schema * via the `instances.targetSchema` link. */ export type OrganizationRoleInstancesTargetSchema = { data: OrganizationRole[]; }; /** * This interface was referenced by `OrganizationRole`'s JSON-Schema * via the `self.targetSchema` link. */ export type OrganizationRoleSelfTargetSchema = { data: OrganizationRole; }; /** * A DatoCMS organization can be accessed by multiple people. Every invitation is linked to a specific role, which describes what actions it will be able to perform once the user will register. * * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "organization_invitation". */ export type OrganizationInvitation = { type: OrganizationInvitationType; id: OrganizationInvitationIdentity; attributes: OrganizationInvitationAttributes; relationships: OrganizationInvitationRelationships; meta: OrganizationInvitationMeta; }; /** * JSON API attributes * * This interface was referenced by `OrganizationInvitation`'s JSON-Schema * via the `definition` "attributes". */ export type OrganizationInvitationAttributes = { /** * Email */ email: string; }; /** * JSON API links * * This interface was referenced by `OrganizationInvitation`'s JSON-Schema * via the `definition` "relationships". */ export type OrganizationInvitationRelationships = { /** * Role */ role: { data: OrganizationRoleData; }; }; /** * JSON API meta * * This interface was referenced by `OrganizationInvitation`'s JSON-Schema * via the `definition` "meta". */ export type OrganizationInvitationMeta = { /** * Whether the invitation has expired or not */ expired: boolean; }; /** * JSON API data * * This interface was referenced by `OrganizationInvitation`'s JSON-Schema * via the `definition` "data". */ export type OrganizationInvitationData = { type: OrganizationInvitationType; id: OrganizationInvitationIdentity; }; /** * This interface was referenced by `OrganizationInvitation`'s JSON-Schema * via the `create.schema` link. */ export type OrganizationInvitationCreateSchema = { data: { type: OrganizationInvitationType; attributes: { /** * Email */ email: string; }; relationships: { /** * Role */ role: { data: OrganizationRoleData; }; }; }; }; /** * This interface was referenced by `OrganizationInvitation`'s JSON-Schema * via the `create.targetSchema` link. */ export type OrganizationInvitationCreateTargetSchema = { data: OrganizationInvitation; }; /** * This interface was referenced by `OrganizationInvitation`'s JSON-Schema * via the `update.schema` link. */ export type OrganizationInvitationUpdateSchema = { data: { type: OrganizationInvitationType; id: OrganizationInvitationIdentity; relationships: { /** * Role */ role?: { data: OrganizationRoleData; }; }; }; }; /** * This interface was referenced by `OrganizationInvitation`'s JSON-Schema * via the `update.targetSchema` link. */ export type OrganizationInvitationUpdateTargetSchema = { data: OrganizationInvitation; }; /** * This interface was referenced by `OrganizationInvitation`'s JSON-Schema * via the `instances.targetSchema` link. */ export type OrganizationInvitationInstancesTargetSchema = { data: OrganizationInvitation[]; }; /** * This interface was referenced by `OrganizationInvitation`'s JSON-Schema * via the `self.targetSchema` link. */ export type OrganizationInvitationSelfTargetSchema = { data: OrganizationInvitation; }; /** * This interface was referenced by `OrganizationInvitation`'s JSON-Schema * via the `destroy.targetSchema` link. */ export type OrganizationInvitationDestroyTargetSchema = { data: OrganizationInvitation; }; /** * This interface was referenced by `OrganizationInvitation`'s JSON-Schema * via the `redeem.targetSchema` link. */ export type OrganizationInvitationRedeemTargetSchema = { data: Organization; }; /** * A DatoCMS organization can be accessed by multiple people. Every membership is linked to a specific role, which describes what actions it will be able to perform once the user will register. * * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "organization_membership". */ export type OrganizationMembership = { type: OrganizationMembershipType; id: OrganizationMembershipIdentity; relationships: OrganizationMembershipRelationships; meta: OrganizationMembershipMeta; }; /** * JSON API links * * This interface was referenced by `OrganizationMembership`'s JSON-Schema * via the `definition` "relationships". */ export type OrganizationMembershipRelationships = { /** * Role */ role: { data: OrganizationRoleData; }; }; /** * JSON API meta * * This interface was referenced by `OrganizationMembership`'s JSON-Schema * via the `definition` "meta". */ export type OrganizationMembershipMeta = { /** * Email */ email: string; /** * First name */ first_name?: string | null; /** * Last name */ last_name?: string | null; }; /** * JSON API data * * This interface was referenced by `OrganizationMembership`'s JSON-Schema * via the `definition` "data". */ export type OrganizationMembershipData = { type: OrganizationMembershipType; id: OrganizationMembershipIdentity; }; /** * This interface was referenced by `OrganizationMembership`'s JSON-Schema * via the `update.schema` link. */ export type OrganizationMembershipUpdateSchema = { data: { type: OrganizationMembershipType; id: OrganizationMembershipIdentity; relationships: { /** * Role */ role?: { data: OrganizationRoleData; }; }; }; }; /** * This interface was referenced by `OrganizationMembership`'s JSON-Schema * via the `update.targetSchema` link. */ export type OrganizationMembershipUpdateTargetSchema = { data: OrganizationMembership; }; /** * This interface was referenced by `OrganizationMembership`'s JSON-Schema * via the `instances.targetSchema` link. */ export type OrganizationMembershipInstancesTargetSchema = { data: OrganizationMembership[]; included?: OrganizationRole[]; }; /** * This interface was referenced by `OrganizationMembership`'s JSON-Schema * via the `self.targetSchema` link. */ export type OrganizationMembershipSelfTargetSchema = { data: OrganizationMembership; included?: OrganizationRole[]; }; /** * This interface was referenced by `OrganizationMembership`'s JSON-Schema * via the `me.targetSchema` link. */ export type OrganizationMembershipMeTargetSchema = { data: OrganizationMembership; included?: OrganizationRole[]; }; /** * This interface was referenced by `OrganizationMembership`'s JSON-Schema * via the `destroy.targetSchema` link. */ export type OrganizationMembershipDestroyTargetSchema = { data: OrganizationMembership; }; /** * Agencies enrolled in the DatoCMS Partner program can request a mandate to manage their client's organizations * * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "organization_mandate_request". */ export type OrganizationMandateRequest = { type: OrganizationMandateRequestType; id: OrganizationMandateRequestIdentity; relationships: OrganizationMandateRequestRelationships; meta: OrganizationMandateRequestMeta; }; /** * JSON API links * * This interface was referenced by `OrganizationMandateRequest`'s JSON-Schema * via the `definition` "relationships". */ export type OrganizationMandateRequestRelationships = { /** * Organization approving the mandate */ approver_organization: { data: OrganizationData; }; /** * Organization requesting the mandate */ requester_organization: { data: OrganizationData; }; }; /** * JSON API meta * * This interface was referenced by `OrganizationMandateRequest`'s JSON-Schema * via the `definition` "meta". */ export type OrganizationMandateRequestMeta = { /** * Name of the organization requesting the mandate */ requester_organization_name: string; /** * Name of the organization approving the mandate */ approver_organization_name: string; }; /** * JSON API data * * This interface was referenced by `OrganizationMandateRequest`'s JSON-Schema * via the `definition` "data". */ export type OrganizationMandateRequestData = { type: OrganizationMandateRequestType; id: OrganizationMandateRequestIdentity; }; /** * This interface was referenced by `OrganizationMandateRequest`'s JSON-Schema * via the `create.schema` link. */ export type OrganizationMandateRequestCreateSchema = { data: { type: OrganizationMandateRequestType; relationships: { /** * Organization approving the mandate */ approver_organization: { data: OrganizationData; }; }; }; }; /** * This interface was referenced by `OrganizationMandateRequest`'s JSON-Schema * via the `create.targetSchema` link. */ export type OrganizationMandateRequestCreateTargetSchema = { data: OrganizationMandateRequest | OrganizationMandate; }; /** * Agencies enrolled in the DatoCMS Partner program can request a mandate to manage their client's organizations * * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "organization_mandate". */ export type OrganizationMandate = { type: OrganizationMandateType; id: OrganizationMandateIdentity; relationships: OrganizationMandateRelationships; meta: OrganizationMandateMeta; }; /** * JSON API links * * This interface was referenced by `OrganizationMandate`'s JSON-Schema * via the `definition` "relationships". */ export type OrganizationMandateRelationships = { /** * Organization mandator of the mandate */ mandator_organization: { data: OrganizationData; }; /** * Organization appointed for the mandate */ appointed_organization: { data: OrganizationData; }; /** * Active plan on mandator organization */ active_plan: { data: PerOwnerPricingPlanData; }; /** * Additional plans enabled by the appointed organization */ additional_enabled_plans: { data: PerOwnerPricingPlanData[]; }; }; /** * JSON API meta * * This interface was referenced by `OrganizationMandate`'s JSON-Schema * via the `definition` "meta". */ export type OrganizationMandateMeta = { /** * Name of the organization requesting the mandate */ appointed_organization_name: string; /** * Name of the organization approving the mandate */ mandator_organization_name: string; }; /** * JSON API data * * This interface was referenced by `OrganizationMandate`'s JSON-Schema * via the `definition` "data". */ export type OrganizationMandateData = { type: OrganizationMandateType; id: OrganizationMandateIdentity; }; /** * This interface was referenced by `OrganizationMandate`'s JSON-Schema * via the `update.schema` link. */ export type OrganizationMandateUpdateSchema = { data: { type: OrganizationMandateType; id: OrganizationMandateIdentity; relationships: { /** * Additional plans enabled by the appointed organization */ additional_enabled_plans?: { data: PerOwnerPricingPlanData[]; }; }; }; }; /** * This interface was referenced by `OrganizationMandate`'s JSON-Schema * via the `update.targetSchema` link. */ export type OrganizationMandateUpdateTargetSchema = { data: OrganizationMandate; }; /** * This interface was referenced by `OrganizationMandate`'s JSON-Schema * via the `approved_instances.targetSchema` link. */ export type OrganizationMandateApprovedInstancesTargetSchema = { data: OrganizationMandate[]; }; /** * This interface was referenced by `OrganizationMandate`'s JSON-Schema * via the `given_instances.targetSchema` link. */ export type OrganizationMandateGivenInstancesTargetSchema = { data: OrganizationMandate[]; included?: PerOwnerPricingPlan[]; }; /** * This interface was referenced by `OrganizationMandate`'s JSON-Schema * via the `destroy.targetSchema` link. */ export type OrganizationMandateDestroyTargetSchema = { data: OrganizationMandate; }; /** * This interface was referenced by `OrganizationMandateRequest`'s JSON-Schema * via the `pending_instances.targetSchema` link. */ export type OrganizationMandateRequestPendingInstancesTargetSchema = { data: OrganizationMandateRequest[]; }; /** * This interface was referenced by `OrganizationMandateRequest`'s JSON-Schema * via the `requested_instances.targetSchema` link. */ export type OrganizationMandateRequestRequestedInstancesTargetSchema = { data: OrganizationMandateRequest[]; }; /** * This interface was referenced by `OrganizationMandateRequest`'s JSON-Schema * via the `destroy.targetSchema` link. */ export type OrganizationMandateRequestDestroyTargetSchema = { data: OrganizationMandateRequest; }; /** * Accounts that belong to a single organization can ask owners to deactivate their two-factor authentication * * This interface was referenced by `DatoApi`'s JSON-Schema * via the `definition` "tfa_deactivate_request". */ export type TfaDeactivateRequest = { type: TfaDeactivateRequestType; id: TfaDeactivateRequestIdentity; relationships: TfaDeactivateRequestRelationships; meta: TfaDeactivateRequestMeta; }; /** * JSON API links * * This interface was referenced by `TfaDeactivateRequest`'s JSON-Schema * via the `definition` "relationships". */ export type TfaDeactivateRequestRelationships = { /** * Organization approving the 2FA deactivate request */ organization: { data: OrganizationData; }; /** * Account making the 2FA deactivate request */ account: { data: AccountData; }; }; /** * JSON API meta * * This interface was referenced by `TfaDeactivateRequest`'s JSON-Schema * via the `definition` "meta". */ export type TfaDeactivateRequestMeta = { /** * Email */ email: string; }; /** * JSON API data * * This interface was referenced by `TfaDeactivateRequest`'s JSON-Schema * via the `definition` "data". */ export type TfaDeactivateRequestData = { type: TfaDeactivateRequestType; id: TfaDeactivateRequestIdentity; }; /** * This interface was referenced by `TfaDeactivateRequest`'s JSON-Schema * via the `create.schema` link. */ export type TfaDeactivateRequestCreateSchema = { data: { type: 'tfa_deactivate_request'; attributes: { /** * Email */ email: string; /** * Current password */ password: string; }; }; }; /** * This interface was referenced by `TfaDeactivateRequest`'s JSON-Schema * via the `create.targetSchema` link. */ export type TfaDeactivateRequestCreateTargetSchema = { data: TfaDeactivateRequest; }; /** * This interface was referenced by `TfaDeactivateRequest`'s JSON-Schema * via the `instances.targetSchema` link. */ export type TfaDeactivateRequestInstancesTargetSchema = { data: TfaDeactivateRequest[]; };