/** * 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 */ export type GetActivitiesParams = { /** * Number of results per request. * @minimum 1 * @maximum 100 */ limit?: number; /** * Opaque cursor to fetch the next page of results. Reuse only with the same effective ordering. Use the value from pagination.next_cursor in the previous response. */ next_cursor?: string; /** * Opaque cursor to fetch the previous page of results. Reuse only with the same effective ordering. Use the value from pagination.prev_cursor in the previous response. */ prev_cursor?: string; /** * Whether to include the total count of items in `pagination.total`. Default is `true`. When `false`, `pagination.total` returns -1 for better performance. */ include_total_count?: boolean; /** * Sort by one field or provide a repeated array for multi-column ordering. Prefix a field with `-` for descending order. When paginating, reuse cursors only with the same effective ordering. */ order_by?: 'id' | 'created_at' | 'resource_type' | 'action' | '-id' | '-created_at' | '-resource_type' | '-action' | ('id' | 'created_at' | 'resource_type' | 'action' | '-id' | '-created_at' | '-resource_type' | '-action')[]; /** * JSON query object for filtering results. Supports MongoDB-style operators. **Supported operators:** - `equals` or direct value - Exact match (default) - `gte` - Greater than or equal - `lte` - Less than or equal - `gt` - Greater than - `lt` - Less than - `in` - Value in array - `notIn` - Value not in array - `contains` - String contains (case-insensitive) - `startsWith` - String starts with - `endsWith` - String ends with - `between` - Value between two numbers/dates [min, max] **Allowed fields:** id, resource_type, resource_id, action, actor_type, created_at **Examples:** - `{"total": {"gte": 1000}}` - Invoices over 1000 - `{"customer.name": {"contains": "Acme"}}` - Customer name contains "Acme" - `{"date": {"between": ["2025-01-01", "2025-12-31"]}}` - Date range */ query?: string; /** * Filter by resource type (e.g., Invoice, Customer, Payment) */ resource_type?: string; /** * Filter by specific resource ID */ resource_id?: string; /** * Filter by action type (e.g., created, updated, deleted, sent) */ action?: string; }; //# sourceMappingURL=getActivitiesParams.d.ts.map