import { QueryFunctionSpiCurrentConfigurationsRequest as QueryFunctionSpiCurrentConfigurationsRequest$1, QueryFunctionSpiCurrentConfigurationsResponse as QueryFunctionSpiCurrentConfigurationsResponse$1 } from './index.typings.js'; import '@wix/sdk-types'; interface FunctionSpiCurrentConfiguration { /** * random id for response * @format GUID * @readonly */ id?: string | null; /** Function SPI configuration dev center component payload. */ configuration?: Record | null; /** * Function ID * @format GUID */ functionId?: string | null; } interface QueryFunctionSpiCurrentConfigurationsRequest { /** WQL expression. */ query?: CursorQuery; } interface CursorQuery extends CursorQueryPagingMethodOneOf { /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */ cursorPaging?: CursorPaging; /** * Filter object in the following format: * `"filter" : { * "fieldName1": "value1", * "fieldName2":{"$operator":"value2"} * }` * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains` */ filter?: Record | null; /** * Sort object in the following format: * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]` * @maxSize 5 */ sort?: Sorting[]; } /** @oneof */ interface CursorQueryPagingMethodOneOf { /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */ cursorPaging?: CursorPaging; } interface Sorting { /** * Name of the field to sort by. * @maxLength 512 */ fieldName?: string; /** Sort order. */ order?: SortOrderWithLiterals; } declare enum SortOrder { ASC = "ASC", DESC = "DESC" } /** @enumType */ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC'; interface CursorPaging { /** * Maximum number of items to return in the results. * @max 100 */ limit?: number | null; /** * Pointer to the next or previous page in the list of results. * * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response. * Not relevant for the first request. * @maxLength 16000 */ cursor?: string | null; } interface QueryFunctionSpiCurrentConfigurationsResponse { /** List of FunctionSpiCurrentConfigurations. */ functionSpiCurrentConfigurations?: FunctionSpiCurrentConfiguration[]; /** Paging metadata */ pagingMetadata?: CursorPagingMetadata; } interface CursorPagingMetadata { /** Number of items returned in the response. */ count?: number | null; /** Cursor strings that point to the next page, previous page, or both. */ cursors?: Cursors; /** * Whether there are more pages to retrieve following the current page. * * + `true`: Another page of results can be retrieved. * + `false`: This is the last page. */ hasNext?: boolean | null; } interface Cursors { /** * Cursor string pointing to the next page in the list of results. * @maxLength 16000 */ next?: string | null; /** * Cursor pointing to the previous page in the list of results. * @maxLength 16000 */ prev?: string | null; } type __PublicMethodMetaInfo = { getUrl: (context: any) => string; httpMethod: K; path: string; pathParams: M; __requestType: T; __originalRequestType: S; __responseType: Q; __originalResponseType: R; }; declare function queryFunctionSpiCurrentConfigurations(): __PublicMethodMetaInfo<'GET', {}, QueryFunctionSpiCurrentConfigurationsRequest$1, QueryFunctionSpiCurrentConfigurationsRequest, QueryFunctionSpiCurrentConfigurationsResponse$1, QueryFunctionSpiCurrentConfigurationsResponse>; export { type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type FunctionSpiCurrentConfiguration as FunctionSpiCurrentConfigurationOriginal, type QueryFunctionSpiCurrentConfigurationsRequest as QueryFunctionSpiCurrentConfigurationsRequestOriginal, type QueryFunctionSpiCurrentConfigurationsResponse as QueryFunctionSpiCurrentConfigurationsResponseOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type __PublicMethodMetaInfo, queryFunctionSpiCurrentConfigurations };