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>>;
apiKeyPreview: ZodString;
conflicts: ZodObject<{
clientData: ZodUnknown;
conflictedAt: ZodNumber;
serverData: ZodUnknown;
}, $strip>;
createdAt: ZodOptional<ZodString>;
credentialSource: ZodOptional<ZodEnum<{
inline: "inline";
onepassword: "onepassword";
"subscription-sign-in": "subscription-sign-in";
}>>;
hasApiKey: ZodBoolean;
id: ZodString;
metadata: ZodObject<{
displayName: ZodOptional<ZodNullable<ZodString>>;
provider: ZodEnum<typeof ExternalServiceProvider>;
secretReferenceLabel: ZodOptional<ZodNullable<ZodString>>;
}, $strip>;
object: ZodLiteral<"external_service_account">;
projectIds: ZodArray<ZodString>;
sandboxMode: ZodBoolean;
secretMaterializationError: ZodOptional<ZodNullable<ZodString>>;
secretMaterializedAt: ZodOptional<ZodNullable<ZodString>>;
secretReference: ZodOptional<ZodNullable<ZodString>>;
secretsIntegrationId: ZodOptional<ZodNullable<ZodString>>;
serviceTypeIdentifier: ZodEnum<typeof ExternalServiceProvider>;
tombstoned: ZodOptional<ZodBoolean>;
tombstonedAt: ZodOptional<ZodNullable<ZodString>>;
updatedAt: ZodOptional<ZodString>;
}, $strip>;An account as the admin API returns it. Its API key is only ever previewed.
Last updated on