ResourceSchema
const ResourceSchema: ZodUnion<readonly [ZodDiscriminatedUnion<[ZodObject<{
api: ZodOptional<ZodObject<{
links: ZodOptional<ZodRecord<..., ...>>;
redactions: ZodOptional<ZodArray<...>>;
}, $strip>>;
configuration: ZodObject<{
appStoreConnect: ZodObject<{
credentialSources: ZodOptional<...>;
issuerId: ZodString;
privateKey: ZodLiteral<...>;
privateKeyId: ZodString;
sharedSecret: ZodLiteral<...>;
}, $strip>;
fragile_appStoreConnect: ZodObject<{
bundleId: ZodString;
}, $strip>;
}, $strip>;
conflicts: ZodObject<{
clientData: ZodUnknown;
conflictedAt: ZodNumber;
serverData: ZodUnknown;
}, $strip>;
createdAt: ZodOptional<ZodString>;
id: ZodString;
object: ZodLiteral<"external_billing_provider">;
project: ZodString;
tombstoned: ZodOptional<ZodLiteral<false>>;
tombstonedAt: ZodOptional<ZodNullable<ZodString>>;
type: ZodLiteral<"appleAppStore">;
updatedAt: ZodString;
}, $strip>, ZodObject<{
api: ZodOptional<ZodObject<{
links: ZodOptional<ZodRecord<..., ...>>;
redactions: ZodOptional<ZodArray<...>>;
}, $strip>>;
configuration: ZodObject<{
connect: ZodObject<{
accountId: ZodOptional<...>;
credentialSources: ZodOptional<...>;
publishableKey: ZodString;
redirectUrls: ZodDefault<...>;
secretKey: ZodLiteral<...>;
webhookApiVersion: ZodOptional<...>;
webhookId: ZodOptional<...>;
webhookSecret: ZodOptional<...>;
}, $strip>;
}, $strip>;
conflicts: ZodObject<{
clientData: ZodUnknown;
conflictedAt: ZodNumber;
serverData: ZodUnknown;
}, $strip>;
createdAt: ZodOptional<ZodString>;
id: ZodString;
object: ZodLiteral<"external_billing_provider">;
project: ZodString;
tombstoned: ZodOptional<ZodLiteral<false>>;
tombstonedAt: ZodOptional<ZodNullable<ZodString>>;
type: ZodLiteral<"stripe">;
updatedAt: ZodString;
}, $strip>], "type">, ZodObject<{
api: ZodOptional<ZodObject<{
links: ZodOptional<ZodRecord<ZodString, ZodObject<{
href: ...;
}, $strip>>>;
redactions: ZodOptional<ZodArray<ZodObject<{
path: ...;
reason: ...;
}, $strip>>>;
}, $strip>>;
configuration: ZodNull;
conflicts: ZodObject<{
clientData: ZodUnknown;
conflictedAt: ZodNumber;
serverData: ZodUnknown;
}, $strip>;
createdAt: ZodOptional<ZodString>;
id: ZodString;
object: ZodLiteral<"external_billing_provider">;
project: ZodString;
tombstoned: ZodLiteral<true>;
tombstonedAt: ZodOptional<ZodNullable<ZodString>>;
type: ZodEnum<{
appleAppStore: "appleAppStore";
stripe: "stripe";
}>;
updatedAt: ZodString;
}, $strip>]>;A provider returned by a mutation. Disconnect returns its scrubbed tombstone.
Last updated on