import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { PassThroughBody, PassThroughBody$Outbound } from "./passthroughbody.js"; /** * The type of payment method. */ export declare const AccountingPaymentMethodType: { readonly Cash: "cash"; readonly Check: "check"; readonly CreditCard: "credit_card"; readonly DebitCard: "debit_card"; readonly BankTransfer: "bank_transfer"; readonly Electronic: "electronic"; readonly Other: "other"; readonly Unknown: "unknown"; }; /** * The type of payment method. */ export type AccountingPaymentMethodType = OpenEnum; /** * The status of the payment method. */ export declare const AccountingPaymentMethodStatus: { readonly Active: "active"; readonly Inactive: "inactive"; }; /** * The status of the payment method. */ export type AccountingPaymentMethodStatus = OpenEnum; export type AccountingPaymentMethod = { /** * A unique identifier for an object. */ id?: string | undefined; /** * The name of the payment method. */ name?: string | undefined; /** * The type of payment method. */ type?: AccountingPaymentMethodType | null | undefined; /** * The status of the payment method. */ status?: AccountingPaymentMethodStatus | null | undefined; /** * When custom mappings are configured on the resource, the result is included here. */ customMappings?: { [k: string]: any; } | null | undefined; /** * The third-party API ID of original entity */ downstreamId?: string | null | undefined; /** * A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. */ rowVersion?: string | null | undefined; /** * The user who last updated the object. */ updatedBy?: string | null | undefined; /** * The user who created the object. */ createdBy?: string | null | undefined; /** * The date and time when the object was last updated. */ updatedAt?: Date | null | undefined; /** * The date and time when the object was created. */ createdAt?: Date | null | undefined; /** * The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. */ passThrough?: Array | undefined; }; export type AccountingPaymentMethodInput = { /** * The name of the payment method. */ name?: string | undefined; /** * The type of payment method. */ type?: AccountingPaymentMethodType | null | undefined; /** * The status of the payment method. */ status?: AccountingPaymentMethodStatus | null | undefined; /** * A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. */ rowVersion?: string | null | undefined; /** * The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. */ passThrough?: Array | undefined; }; /** @internal */ export declare const AccountingPaymentMethodType$inboundSchema: z.ZodType; /** @internal */ export declare const AccountingPaymentMethodType$outboundSchema: z.ZodType; /** @internal */ export declare const AccountingPaymentMethodStatus$inboundSchema: z.ZodType; /** @internal */ export declare const AccountingPaymentMethodStatus$outboundSchema: z.ZodType; /** @internal */ export declare const AccountingPaymentMethod$inboundSchema: z.ZodType; export declare function accountingPaymentMethodFromJSON(jsonString: string): SafeParseResult; /** @internal */ export type AccountingPaymentMethodInput$Outbound = { name?: string | undefined; type?: string | null | undefined; status?: string | null | undefined; row_version?: string | null | undefined; pass_through?: Array | undefined; }; /** @internal */ export declare const AccountingPaymentMethodInput$outboundSchema: z.ZodType; export declare function accountingPaymentMethodInputToJSON(accountingPaymentMethodInput: AccountingPaymentMethodInput): string; //# sourceMappingURL=accountingpaymentmethod.d.ts.map