ResourceSchema
const ResourceSchema: ZodObject<{
api: ZodOptional<ZodObject<{
links: ZodOptional<ZodRecord<ZodString, ZodObject<{
href: ZodString;
}, $strip>>>;
redactions: ZodOptional<ZodArray<ZodObject<{
path: ZodString;
reason: ZodEnum<{
internal: ...;
secret: ...;
}>;
}, $strip>>>;
}, $strip>>;
authenticationProvider: ZodUnion<readonly [ZodEnum<typeof AuthenticationProvider>, ZodDiscriminatedUnion<[ZodObject<{
type: ZodLiteral<"appleAppStore">;
}, $strip>, ZodObject<{
type: ZodLiteral<"customServer">;
}, $strip>, ZodObject<{
customerDeprovisioningPolicy: ZodEnum<{
completeProductGrants: "completeProductGrants";
retainProductGrants: "retainProductGrants";
}>;
firebaseProjectId: ZodString;
type: ZodLiteral<"firebase">;
}, $strip>, ZodObject<{
authorizedParties: ZodArray<ZodURL>;
customerDeprovisioningPolicy: ZodEnum<{
completeProductGrants: "completeProductGrants";
retainProductGrants: "retainProductGrants";
}>;
hasSecretKey: ZodBoolean;
instanceId: ZodString;
issuerURL: ZodURL;
type: ZodLiteral<"clerk">;
webhook: ZodNullable<ZodObject<{
hasSigningSecret: ...;
status: ...;
}, $strip>>;
}, $strip>, ZodObject<{
audiences: ZodArray<ZodString>;
issuerURL: ZodURL;
type: ZodLiteral<"oidc">;
}, $strip>], "type">]>;
billingProviders: ZodArray<ZodDiscriminatedUnion<[ZodObject<{
configuration: ZodObject<{
appStoreConnect: ZodObject<{
credentialSources: ...;
issuerId: ...;
privateKey: ...;
privateKeyId: ...;
sharedSecret: ...;
}, $strip>;
fragile_appStoreConnect: ZodObject<{
bundleId: ...;
}, $strip>;
}, $strip>;
id: ZodString;
type: ZodLiteral<"appleAppStore">;
updatedAt: ZodString;
}, $strip>, ZodObject<{
configuration: ZodObject<{
connect: ZodObject<{
accountId: ...;
credentialSources: ...;
publishableKey: ...;
redirectUrls: ...;
secretKey: ...;
webhookApiVersion: ...;
webhookId: ...;
webhookSecret: ...;
}, $strip>;
}, $strip>;
id: ZodString;
type: ZodLiteral<"stripe">;
updatedAt: ZodString;
}, $strip>], "type">>;
conflicts: ZodObject<{
clientData: ZodUnknown;
conflictedAt: ZodNumber;
serverData: ZodUnknown;
}, $strip>;
createdAt: ZodOptional<ZodString>;
hidden: ZodBoolean;
id: ZodString;
metadata: ZodObject<{
customServerURL: ZodOptional<ZodNullable<ZodURL>>;
freeUsersAllowed: ZodNullable<ZodBoolean>;
}, $strict>;
name: ZodString;
object: ZodLiteral<"project">;
products: ZodOptional<ZodArray<ZodString>>;
sandboxMode: ZodBoolean;
tombstoned: ZodOptional<ZodBoolean>;
tombstonedAt: ZodOptional<ZodNullable<ZodString>>;
updatedAt: ZodOptional<ZodString>;
user: ZodString;
}, $strip>;A project as the admin API returns it.
Last updated on