import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { UpsertSubscriptionItemEntity, UpsertSubscriptionItemEntity$Outbound } from "./upsertsubscriptionitementity.js"; /** * The update behavior for the subscription (defaults to proration) */ export declare const UpdateBehavior: { readonly ProrationChargeImmediately: "proration-charge-immediately"; readonly ProrationCharge: "proration-charge"; readonly ProrationNone: "proration-none"; }; /** * The update behavior for the subscription (defaults to proration) */ export type UpdateBehavior = ClosedEnum; export type UpdateSubscriptionRequestEntity = { /** * List of subscription items to update/create. If no item ID is provided, the item will be created. */ items?: Array | undefined; /** * The update behavior for the subscription (defaults to proration) */ updateBehavior?: UpdateBehavior | undefined; }; /** @internal */ export declare const UpdateBehavior$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const UpdateBehavior$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const UpdateSubscriptionRequestEntity$inboundSchema: z.ZodType; /** @internal */ export type UpdateSubscriptionRequestEntity$Outbound = { items?: Array | undefined; update_behavior: string; }; /** @internal */ export declare const UpdateSubscriptionRequestEntity$outboundSchema: z.ZodType; export declare function updateSubscriptionRequestEntityToJSON(updateSubscriptionRequestEntity: UpdateSubscriptionRequestEntity): string; export declare function updateSubscriptionRequestEntityFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=updatesubscriptionrequestentity.d.ts.map