/** * Generated by orval v8.5.3 🍺 * Do not edit manually. * Space Invoices API * REST API for invoice management, customer management, and accounting operations. Features include cursor-based pagination for efficient data navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and comprehensive metadata support for custom tracking. * OpenAPI spec version: 1.0.0 */ import * as zod from "zod"; /** * Create a new customer for use in invoices. Store customer details including name, address, and tax information. All fields except name are optional. * @summary Create a new customer */ export declare const CreateCustomerHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const createCustomerBodyAddressMax = 500; export declare const createCustomerBodyAddress2Max = 500; export declare const createCustomerBodyPostCodeMax = 20; export declare const createCustomerBodyCityMax = 100; export declare const createCustomerBodyStateMax = 100; export declare const createCustomerBodyCountryMax = 100; export declare const createCustomerBodyCountryCodeMax = 2; export declare const createCustomerBodyTaxNumberMax = 50; export declare const createCustomerBodyCompanyNumberMax = 50; export declare const createCustomerBodyPeppolIdMax = 50; export declare const createCustomerBodyEmailMax = 255; export declare const CreateCustomerBody: zod.ZodObject<{ name: zod.ZodString; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; company_number: zod.ZodOptional>; peppol_id: zod.ZodOptional>; email: zod.ZodOptional>; is_tax_subject: zod.ZodOptional; is_end_consumer: zod.ZodOptional>; metadata: zod.ZodOptional>>; }, zod.z.core.$strip>; /** * Retrieve a paginated list of customers with optional filtering and sorting. Supports cursor-based pagination, flexible JSON querying with MongoDB-style operators, full-text search, and sorting. * @summary List all customers */ export declare const getCustomersQueryLimitDefault = 10; export declare const getCustomersQueryLimitMax = 100; export declare const GetCustomersQueryParams: zod.ZodObject<{ limit: zod.ZodDefault; next_cursor: zod.ZodOptional; prev_cursor: zod.ZodOptional; include_total_count: zod.ZodOptional; order_by: zod.ZodOptional, zod.ZodArray>]>>; query: zod.ZodOptional; search: zod.ZodOptional; deleted: zod.ZodOptional; }, zod.z.core.$strip>; export declare const GetCustomersHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const getCustomersResponseDataItemOneIdMax = 36; export declare const getCustomersResponseDataItemOneNameMax = 255; export declare const getCustomersResponseDataItemOneAddressMax = 500; export declare const getCustomersResponseDataItemOneAddress2Max = 500; export declare const getCustomersResponseDataItemOnePostCodeMax = 20; export declare const getCustomersResponseDataItemOneCityMax = 100; export declare const getCustomersResponseDataItemOneStateMax = 100; export declare const getCustomersResponseDataItemOneCountryMax = 100; export declare const getCustomersResponseDataItemOneCountryCodeMax = 2; export declare const getCustomersResponseDataItemOneTaxNumberMax = 50; export declare const getCustomersResponseDataItemOneCompanyNumberMax = 50; export declare const getCustomersResponseDataItemOnePeppolIdMax = 50; export declare const getCustomersResponseDataItemOneEmailMax = 255; export declare const getCustomersResponseDataItemOneEntityIdMax = 36; export declare const GetCustomersResponse: zod.ZodObject<{ data: zod.ZodArray>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; company_number: zod.ZodOptional>; peppol_id: zod.ZodOptional>; email: zod.ZodOptional>; is_tax_subject: zod.ZodBoolean; is_end_consumer: zod.ZodBoolean; entity_id: zod.ZodString; vies: zod.ZodOptional, zod.ZodArray]>>; metadata: zod.ZodUnion, zod.ZodArray]>; deleted_at: zod.ZodOptional>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>, zod.ZodObject<{}, zod.z.core.$loose>>>; pagination: zod.ZodObject<{ total: zod.ZodNumber; next_cursor: zod.ZodNullable; prev_cursor: zod.ZodNullable; has_more: zod.ZodBoolean; }, zod.z.core.$strip>; }, zod.z.core.$strip>; /** * Retrieve a single customer by its unique identifier. Returns the complete customer details including name, address, and tax information. * @summary Get customer by ID */ export declare const getCustomerByIdPathIdRegExp: RegExp; export declare const GetCustomerByIdParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const GetCustomerByIdHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const getCustomerByIdResponseOneIdMax = 36; export declare const getCustomerByIdResponseOneNameMax = 255; export declare const getCustomerByIdResponseOneAddressMax = 500; export declare const getCustomerByIdResponseOneAddress2Max = 500; export declare const getCustomerByIdResponseOnePostCodeMax = 20; export declare const getCustomerByIdResponseOneCityMax = 100; export declare const getCustomerByIdResponseOneStateMax = 100; export declare const getCustomerByIdResponseOneCountryMax = 100; export declare const getCustomerByIdResponseOneCountryCodeMax = 2; export declare const getCustomerByIdResponseOneTaxNumberMax = 50; export declare const getCustomerByIdResponseOneCompanyNumberMax = 50; export declare const getCustomerByIdResponseOnePeppolIdMax = 50; export declare const getCustomerByIdResponseOneEmailMax = 255; export declare const getCustomerByIdResponseOneEntityIdMax = 36; export declare const GetCustomerByIdResponse: zod.ZodIntersection>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; company_number: zod.ZodOptional>; peppol_id: zod.ZodOptional>; email: zod.ZodOptional>; is_tax_subject: zod.ZodBoolean; is_end_consumer: zod.ZodBoolean; entity_id: zod.ZodString; vies: zod.ZodOptional, zod.ZodArray]>>; metadata: zod.ZodUnion, zod.ZodArray]>; deleted_at: zod.ZodOptional>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>, zod.ZodObject<{}, zod.z.core.$loose>>; /** * Update an existing customer. Only the provided fields will be updated. All fields are optional for partial updates. * @summary Update a customer */ export declare const updateCustomerPathIdRegExp: RegExp; export declare const UpdateCustomerParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const UpdateCustomerHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const updateCustomerBodyAddressMax = 500; export declare const updateCustomerBodyAddress2Max = 500; export declare const updateCustomerBodyPostCodeMax = 20; export declare const updateCustomerBodyCityMax = 100; export declare const updateCustomerBodyStateMax = 100; export declare const updateCustomerBodyCountryMax = 100; export declare const updateCustomerBodyCountryCodeMax = 2; export declare const updateCustomerBodyTaxNumberMax = 50; export declare const updateCustomerBodyCompanyNumberMax = 50; export declare const updateCustomerBodyPeppolIdMax = 50; export declare const updateCustomerBodyEmailMax = 255; export declare const UpdateCustomerBody: zod.ZodObject<{ name: zod.ZodOptional; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; company_number: zod.ZodOptional>; peppol_id: zod.ZodOptional>; email: zod.ZodOptional>; is_tax_subject: zod.ZodOptional; is_end_consumer: zod.ZodOptional>; metadata: zod.ZodOptional>>; }, zod.z.core.$strip>; export declare const updateCustomerResponseOneIdMax = 36; export declare const updateCustomerResponseOneNameMax = 255; export declare const updateCustomerResponseOneAddressMax = 500; export declare const updateCustomerResponseOneAddress2Max = 500; export declare const updateCustomerResponseOnePostCodeMax = 20; export declare const updateCustomerResponseOneCityMax = 100; export declare const updateCustomerResponseOneStateMax = 100; export declare const updateCustomerResponseOneCountryMax = 100; export declare const updateCustomerResponseOneCountryCodeMax = 2; export declare const updateCustomerResponseOneTaxNumberMax = 50; export declare const updateCustomerResponseOneCompanyNumberMax = 50; export declare const updateCustomerResponseOnePeppolIdMax = 50; export declare const updateCustomerResponseOneEmailMax = 255; export declare const updateCustomerResponseOneEntityIdMax = 36; export declare const UpdateCustomerResponse: zod.ZodIntersection>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; company_number: zod.ZodOptional>; peppol_id: zod.ZodOptional>; email: zod.ZodOptional>; is_tax_subject: zod.ZodBoolean; is_end_consumer: zod.ZodBoolean; entity_id: zod.ZodString; vies: zod.ZodOptional, zod.ZodArray]>>; metadata: zod.ZodUnion, zod.ZodArray]>; deleted_at: zod.ZodOptional>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>, zod.ZodObject<{}, zod.z.core.$loose>>; /** * Soft delete a customer by its unique identifier. The customer is moved to the trash and can be restored. * @summary Delete a customer */ export declare const deleteCustomerPathIdRegExp: RegExp; export declare const DeleteCustomerParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const DeleteCustomerHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; /** * Restore a soft-deleted customer from the trash. * @summary Restore a deleted customer */ export declare const restoreCustomerPathIdRegExp: RegExp; export declare const RestoreCustomerParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const RestoreCustomerHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const restoreCustomerResponseOneIdMax = 36; export declare const restoreCustomerResponseOneNameMax = 255; export declare const restoreCustomerResponseOneAddressMax = 500; export declare const restoreCustomerResponseOneAddress2Max = 500; export declare const restoreCustomerResponseOnePostCodeMax = 20; export declare const restoreCustomerResponseOneCityMax = 100; export declare const restoreCustomerResponseOneStateMax = 100; export declare const restoreCustomerResponseOneCountryMax = 100; export declare const restoreCustomerResponseOneCountryCodeMax = 2; export declare const restoreCustomerResponseOneTaxNumberMax = 50; export declare const restoreCustomerResponseOneCompanyNumberMax = 50; export declare const restoreCustomerResponseOnePeppolIdMax = 50; export declare const restoreCustomerResponseOneEmailMax = 255; export declare const restoreCustomerResponseOneEntityIdMax = 36; export declare const RestoreCustomerResponse: zod.ZodIntersection>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; company_number: zod.ZodOptional>; peppol_id: zod.ZodOptional>; email: zod.ZodOptional>; is_tax_subject: zod.ZodBoolean; is_end_consumer: zod.ZodBoolean; entity_id: zod.ZodString; vies: zod.ZodOptional, zod.ZodArray]>>; metadata: zod.ZodUnion, zod.ZodArray]>; deleted_at: zod.ZodOptional>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>, zod.ZodObject<{}, zod.z.core.$loose>>; /** * Permanently delete a soft-deleted customer. Only customers in the trash can be permanently deleted. * @summary Permanently delete a customer */ export declare const permanentDeleteCustomerPathIdRegExp: RegExp; export declare const PermanentDeleteCustomerParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const PermanentDeleteCustomerHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; //# sourceMappingURL=customers.d.ts.map