/** * Fabric API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { RootType } from './RootType'; import type { FilterResourcesRequestOrder } from './FilterResourcesRequestOrder'; import type { Kind } from './Kind'; import type { SharingFilters } from './SharingFilters'; /** * * @export * @interface FilterResourcesRequest */ export interface FilterResourcesRequest { /** * Filter by one or more resource kinds. * @type {Array} * @memberof FilterResourcesRequest */ 'kind'?: Array; /** * Exclude resources of specific kinds. * @type {Array} * @memberof FilterResourcesRequest */ 'kindExclude'?: Array; /** * Find resources associated with a specific task. * @type {string} * @memberof FilterResourcesRequest */ 'taskId'?: string; /** * Filter resources that are tagged with any of the specified tags. * @type {Array} * @memberof FilterResourcesRequest */ 'tagIds'?: Array; /** * Filter by name, case-insensitive, supports partial matches. * @type {string} * @memberof FilterResourcesRequest */ 'name'?: string; /** * Look up by the URL of a bookmark kind resource. * @type {string} * @memberof FilterResourcesRequest */ 'url'?: string; /** * Find resources that are direct children of the specified parent resource. Set to `null` to find root-level spaces. * @type {string} * @memberof FilterResourcesRequest */ 'parentId'?: string | null; /** * Set to true to only show your private resources. Set to false to only show team resources. Only applies to team workspaces. * @type {boolean} * @memberof FilterResourcesRequest */ 'isPrivate'?: boolean; /** * Fetch specific resources by their IDs. * @type {Array} * @memberof FilterResourcesRequest */ 'resourceIds'?: Array; /** * Label of the resource - pass null for resources that have no label. * @type {number} * @memberof FilterResourcesRequest */ 'label'?: number | null; /** * Filter by sharing status of the resource: * - onlyMe: items that are only visible to me, * - myContent: items in my workspace, including items created by other users and visible to other users, * - published: published items, * - shared: items visible to multiple users or via sharing links, * - sharedWithMe: items created by other users and shared with me, including items inside spaces shared with me, * - sharedWithMeDirectly: items shared with me, excluding their descendants. * @type {Array} * @memberof FilterResourcesRequest */ 'shared'?: Array; /** * Filter by root type of the resource: * - `SYSTEM`: only inbox items, * - `SPACE`: spaces you created, * - `INTEGRATION`: resources inside integrations. * * @type {Array} * @memberof FilterResourcesRequest */ 'rootTypes'?: Array; /** * Whether to include root resources in the results. * @type {boolean} * @memberof FilterResourcesRequest */ 'includeRoots'?: boolean; /** * Filter resources created before the specified date (ISO 8601 format). * @type {string} * @memberof FilterResourcesRequest */ 'createdBefore'?: string | null; /** * Filter resources created after the specified date (ISO 8601 format). * @type {string} * @memberof FilterResourcesRequest */ 'createdAfter'?: string | null; /** * Filter resources modified before the specified date (ISO 8601 format). * @type {string} * @memberof FilterResourcesRequest */ 'modifiedBefore'?: string | null; /** * Filter resources modified after the specified date (ISO 8601 format). * @type {string} * @memberof FilterResourcesRequest */ 'modifiedAfter'?: string | null; /** * * @type {boolean} * @memberof FilterResourcesRequest */ 'includeSubfolderCount'?: boolean; /** * Number of items to return per page. * @type {number} * @memberof FilterResourcesRequest */ 'limit'?: number; /** * The pagination cursor returned as `nextCursor` in the previous request. * @type {string} * @memberof FilterResourcesRequest */ 'cursor'?: string; /** * Whether to return results in random order. Overrides the `order` parameter. * @type {boolean} * @memberof FilterResourcesRequest */ 'random'?: boolean; /** * Filter resources created by specific users. * @type {Array} * @memberof FilterResourcesRequest */ 'userIds'?: Array; /** * Filter resources from a given point in time. * @type {string} * @memberof FilterResourcesRequest */ 'snapshotAt'?: string | null; /** * * @type {FilterResourcesRequestOrder} * @memberof FilterResourcesRequest */ 'order'?: FilterResourcesRequestOrder; } /** * Check if a given object implements the FilterResourcesRequest interface. */ export declare function instanceOfFilterResourcesRequest(value: object): value is FilterResourcesRequest; export declare function FilterResourcesRequestFromJSON(json: any): FilterResourcesRequest; export declare function FilterResourcesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FilterResourcesRequest; export declare function FilterResourcesRequestToJSON(json: any): FilterResourcesRequest; export declare function FilterResourcesRequestToJSONTyped(value?: FilterResourcesRequest | null, ignoreDiscriminator?: boolean): any;