Skip to main content

TypeAlias.Organization

type Organization = {
createdAt: string;
id: string;
logo: string | null;
metadata?: {
[key: string]: unknown;
};
name: string;
quota: {
activeUsersMonthlyLimit?: number | null;
activeUsersMonthlyUsage?: number;
allowedFeatures: ("loyalty" | "dpp" | "invest" | "agent-wallet")[];
allowedNetworks?: | (
| "EthereumAnvil"
| "PolygonAmoy"
| "StarknetDevnet"
| "StarknetSepolia"
| "StarknetMainnet"
| "StellarQuickstart"
| "StellarTestnet"
| "StellarMainnet")[]
| null;
allowOverage: boolean;
applicationLimit?: number | null;
applicationUsage?: number;
createdAt: string;
dppMonthlyLimit?: number | null;
dppMonthlyUsage?: number;
id: string;
organization: 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-
idstring-
logostring | null-
metadata?{ [key: string]: unknown; }-
namestring-
quota{ activeUsersMonthlyLimit?: number | null; activeUsersMonthlyUsage?: number; allowedFeatures: ("loyalty" | "dpp" | "invest" | "agent-wallet")[]; allowedNetworks?: | ( | "EthereumAnvil" | "PolygonAmoy" | "StarknetDevnet" | "StarknetSepolia" | "StarknetMainnet" | "StellarQuickstart" | "StellarTestnet" | "StellarMainnet")[] | null; allowOverage: boolean; applicationLimit?: number | null; applicationUsage?: number; createdAt: string; dppMonthlyLimit?: number | null; dppMonthlyUsage?: number; id: string; organization: string; updatedAt: string; }quotaOrganizationSchema
quota.activeUsersMonthlyLimit?number | null-
quota.activeUsersMonthlyUsage?number-
quota.allowedFeatures("loyalty" | "dpp" | "invest" | "agent-wallet")[]-
quota.allowedNetworks?| ( | "EthereumAnvil" | "PolygonAmoy" | "StarknetDevnet" | "StarknetSepolia" | "StarknetMainnet" | "StellarQuickstart" | "StellarTestnet" | "StellarMainnet")[] | null-
quota.allowOverageboolean-
quota.applicationLimit?number | null-
quota.applicationUsage?number-
quota.createdAtstring-
quota.dppMonthlyLimit?number | null-
quota.dppMonthlyUsage?number-
quota.idstring-
quota.organizationstring-
quota.updatedAtstring-
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; }; }; }organizationSettingsSchema
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; }; }-
settings.authConfig.auth0| { clientId: string; clientSecret: string; domain: string; enabled: true; } | { enabled: false; }-
settings.authConfig.email-otp| { enabled: true; } | { enabled: false; }-
settings.authConfig.google| { enabled: true; } | { enabled: false; }-
settings.authConfig.phone-otp| { enabled: true; } | { enabled: false; }-
slugstring-