import { HapiServiceFunctionWithLifecycleHooks, WindowHapiService } from "../_window/service.types"; import { Product, ProductFilterQueryParams, ProductIndustry, ProductJobFunction, ProductJobTitle, ProductLocation, ProductSearchFiltersSuggestionCreateRequestResponse, ProductSearchFiltersSuggestionsGetRequestResponse, ProductSupportingContractsComplete, ProductSupportingContractsPartial } from "./types"; import { PaginatedAPIResponseV1, PaginationResponseV1, PostingRequirement, PostingRequirementsAutocompleteRequestOption } from "../common/types"; import { WindowHapiModuleWithConstructorArgs } from "../_window"; export type ProductServiceGetFilteredProductsHandler = (meta?: PaginationResponseV1 | null, filters?: Partial) => Promise; export type ProductServiceLoadMoreProductsHandler = () => Promise; export type ProductServiceLoadMoreFreeAddOnProductsHandler = () => Promise; export type ProductServiceGetProductWithContractsSupportByIdHandler = (id: string | number) => Promise; export type ProductServiceGetProductsWithContractsSupportHandler = (queryParams?: any) => Promise; export type ProductServiceGetRecommendedProductsHandler = () => Promise; export type ProductServiceGetFreeAddOnProductsHandler = () => Promise; export type ProductServiceGetProductHandler = (productId: number | string) => Promise; export type ProductServiceGetProductsHandler = (queryParams: URLSearchParams, shouldAppendResults?: boolean, abortKey?: string) => Promise<{ products: Product[]; paginationMeta?: PaginationResponseV1; }>; export type ProductServiceGetLocationsHandler = (text: string) => Promise; export type ProductServiceGetJobTitlesHandler = (text?: string) => Promise>; export type ProductServiceGetJobFunctionsHandler = () => Promise; export type ProductServiceGetIndustriesHandler = () => Promise; export type ProductServiceSetArbitraryJobTitle = (text: string, shouldResetJobTitlesIds?: boolean, shouldResetJobFunctionsIds?: boolean) => void; export type ProductServiceGetProductSupportingContractsFromCacheOrAPIHandler = (id: string | number, forceRefresh?: boolean) => Promise; export type ProductServiceGetProductPostingRequirementsHandler = (productId: string | number) => Promise; export type ProductServiceGetProductPostingRequirementOptionsHandler = (productId: string, fieldName: string, autocompleteRequestOptions: PostingRequirementsAutocompleteRequestOption[]) => Promise; export type ProductServiceCreateSuggestionOfSearchFiltersHandler = (customDescription?: string, customContextObject?: Record) => Promise; export type ProductServiceGetSuggestionOfSearchFiltersHandler = (taskId: string) => Promise; export type WindowHapiServiceProduct = WindowHapiModuleWithConstructorArgs<{ loadMoreProducts: HapiServiceFunctionWithLifecycleHooks; loadMoreFreeAddOnProducts: HapiServiceFunctionWithLifecycleHooks; setArbitraryJobTitle: ProductServiceSetArbitraryJobTitle; getProductWithContractsSupportById: HapiServiceFunctionWithLifecycleHooks; getProductsWithContractsSupport: HapiServiceFunctionWithLifecycleHooks; getFilteredProducts: HapiServiceFunctionWithLifecycleHooks; getRecommendedProducts: HapiServiceFunctionWithLifecycleHooks; getFreeAddOnProducts: HapiServiceFunctionWithLifecycleHooks; getProducts: HapiServiceFunctionWithLifecycleHooks; getProduct: HapiServiceFunctionWithLifecycleHooks; getLocations: HapiServiceFunctionWithLifecycleHooks; getJobTitles: HapiServiceFunctionWithLifecycleHooks; getJobFunctions: HapiServiceFunctionWithLifecycleHooks; getIndustries: HapiServiceFunctionWithLifecycleHooks; getProductSupportingContractsFromCacheOrAPI: HapiServiceFunctionWithLifecycleHooks; getProductPostingRequirements: HapiServiceFunctionWithLifecycleHooks; getProductPostingRequirementOptions: HapiServiceFunctionWithLifecycleHooks; createSuggestionOfSearchFilters: HapiServiceFunctionWithLifecycleHooks; getSuggestionOfSearchFilters: HapiServiceFunctionWithLifecycleHooks; }, { readonly service: WindowHapiService; }>; //# sourceMappingURL=service.types.d.ts.map