Skip to main content

TypeAlias.Organization

type Organization = {
createdAt: string;
defaultLocale?: "en-US" | "fr-FR" | "es-ES" | "it-IT" | null;
id: string;
logo: string | null;
metadata: | {
[key: string]: unknown;
}
| null;
name: string;
quotas: {
activeUsersMonthlyLimit?: number | null;
activeUsersMonthlyUsage: number;
allowedFeatures: ("loyalty" | "dpp" | "invest" | "agent-wallet")[];
allowedNetworks: (
| "EthereumAnvil"
| "BaseSepolia"
| "StarknetDevnet"
| "StarknetSepolia"
| "StarknetMainnet"
| "StellarQuickstart"
| "StellarTestnet"
| "StellarMainnet")[];
allowOverage: boolean;
applicationLimit?: number | null;
applicationUsage: number;
chargebee: {
customerId: string | null;
subscriptionId: string | null;
};
createdAt: string;
dppMonthlyLimit?: number | null;
dppMonthlyUsage: number;
id: string;
updatedAt: string;
};
settings: {
authConfig: {
auth0: | {
clientId: string;
clientSecret: string;
domain: string;
enabled: true;
}
| {
enabled: false;
};
email-otp: | {
enabled: true;
}
| {
enabled: false;
};
google: | {
enabled: true;
}
| {
enabled: false;
};
phone-otp: | {
enabled: true;
}
| {
enabled: false;
};
};
};
slug: string;
};

Type Declaration

NameTypeDefault value
createdAtstring-
defaultLocale?"en-US""fr-FR"
idstring-
logostringnull
metadata{ [key: string]: unknown; }
namestring-
quotas{ activeUsersMonthlyLimit?: numbernull; activeUsersMonthlyUsage: number; allowedFeatures: ("loyalty"
quotas.activeUsersMonthlyLimit?numbernull
quotas.activeUsersMonthlyUsagenumber-
quotas.allowedFeatures("loyalty""dpp"
quotas.allowedNetworks("EthereumAnvil"
quotas.allowOverageboolean-
quotas.applicationLimit?numbernull
quotas.applicationUsagenumber-
quotas.chargebee{ customerId: stringnull; subscriptionId: string
quotas.chargebee.customerIdstringnull
quotas.chargebee.subscriptionIdstringnull
quotas.createdAtstring-
quotas.dppMonthlyLimit?numbernull
quotas.dppMonthlyUsagenumber-
quotas.idstring-
quotas.updatedAtstring-
settings{ authConfig: { auth0:{ clientId: string; clientSecret: string; domain: string; enabled: true; }
settings.authConfig{ auth0:{ clientId: string; clientSecret: string; domain: string; enabled: true; }
settings.authConfig.auth0{ clientId: string; clientSecret: string; domain: string; enabled: true; }
settings.authConfig.email-otp{ enabled: true; }
settings.authConfig.google{ enabled: true; }
settings.authConfig.phone-otp{ enabled: true; }
slugstring-