import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CustomerOrganizationFeatureSettings } from "./customerorganizationfeaturesettings.js"; import { OrganizationCustomerPortalSettings } from "./organizationcustomerportalsettings.js"; import { SubscriptionProrationBehavior } from "./subscriptionprorationbehavior.js"; export type CustomerOrganization = { /** * Creation timestamp of the object. */ createdAt: Date; /** * Last modification timestamp of the object. */ modifiedAt: Date | null; /** * The ID of the object. */ id: string; /** * Organization name shown in checkout, customer portal, emails etc. */ name: string; /** * Unique organization slug in checkout, customer portal and credit card statements. */ slug: string; /** * Avatar URL shown in checkout, customer portal, emails etc. */ avatarUrl: string | null; prorationBehavior: SubscriptionProrationBehavior; /** * Whether customers can update their subscriptions from the customer portal. */ allowCustomerUpdates: boolean; customerPortalSettings: OrganizationCustomerPortalSettings; /** * Feature flags exposed to the customer portal. */ organizationFeatures?: CustomerOrganizationFeatureSettings | undefined; }; /** @internal */ export declare const CustomerOrganization$inboundSchema: z.ZodMiniType; export declare function customerOrganizationFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=customerorganization.d.ts.map