ETASCOM CRM V3 - Documentation API
    Preparing search index...
    SimpleUpdateOrderSchema: ZodObject<
        {
            id: ZodString;
            number: ZodOptional<ZodString>;
            clientId: ZodOptional<ZodString>;
            orderDate: ZodOptional<ZodString>;
            status: ZodOptional<
                ZodEnum<
                    [
                        "DRAFT",
                        "CONFIRMED",
                        "IN_PRODUCTION",
                        "SHIPPED",
                        "DELIVERED",
                        "CANCELLED",
                    ],
                >,
            >;
            totalAmount: ZodOptional<ZodNumber>;
            currencyId: ZodOptional<ZodString>;
            salesOfferId: ZodOptional<ZodString>;
            notes: ZodOptional<ZodString>;
            lines: ZodOptional<
                ZodArray<
                    ZodObject<
                        {
                            id: ZodOptional<ZodString>;
                            finishedProductId: ZodOptional<ZodString>;
                            description: ZodString;
                            quantity: ZodNumber;
                            unitPrice: ZodNumber;
                            totalPrice: ZodNumber;
                            taxId: ZodOptional<ZodString>;
                            taxRate: ZodNumber;
                            taxAmount: ZodNumber;
                            deliveredQuantity: ZodNumber;
                            remainingQuantity: ZodNumber;
                            notes: ZodOptional<ZodString>;
                            sequence: ZodNumber;
                        },
                        "strip",
                        ZodTypeAny,
                        {
                            id?: string;
                            finishedProductId?: string;
                            description: string;
                            quantity: number;
                            unitPrice: number;
                            totalPrice: number;
                            taxId?: string;
                            taxRate: number;
                            taxAmount: number;
                            deliveredQuantity: number;
                            remainingQuantity: number;
                            notes?: string;
                            sequence: number;
                        },
                        {
                            id?: string;
                            finishedProductId?: string;
                            description: string;
                            quantity: number;
                            unitPrice: number;
                            totalPrice: number;
                            taxId?: string;
                            taxRate: number;
                            taxAmount: number;
                            deliveredQuantity: number;
                            remainingQuantity: number;
                            notes?: string;
                            sequence: number;
                        },
                    >,
                    "many",
                >,
            >;
        },
        "strip",
        ZodTypeAny,
        {
            id: string;
            number?: string;
            clientId?: string;
            orderDate?: string;
            status?: | "DRAFT"
            | "CANCELLED"
            | "CONFIRMED"
            | "IN_PRODUCTION"
            | "SHIPPED"
            | "DELIVERED";
            totalAmount?: number;
            currencyId?: string;
            salesOfferId?: string;
            notes?: string;
            lines?: {
                id?: string;
                finishedProductId?: string;
                description: string;
                quantity: number;
                unitPrice: number;
                totalPrice: number;
                taxId?: string;
                taxRate: number;
                taxAmount: number;
                deliveredQuantity: number;
                remainingQuantity: number;
                notes?: string;
                sequence: number;
            }[];
        },
        {
            id: string;
            number?: string;
            clientId?: string;
            orderDate?: string;
            status?: | "DRAFT"
            | "CANCELLED"
            | "CONFIRMED"
            | "IN_PRODUCTION"
            | "SHIPPED"
            | "DELIVERED";
            totalAmount?: number;
            currencyId?: string;
            salesOfferId?: string;
            notes?: string;
            lines?: {
                id?: string;
                finishedProductId?: string;
                description: string;
                quantity: number;
                unitPrice: number;
                totalPrice: number;
                taxId?: string;
                taxRate: number;
                taxAmount: number;
                deliveredQuantity: number;
                remainingQuantity: number;
                notes?: string;
                sequence: number;
            }[];
        },
    > = ...