import { FetchFn } from "./types.js"; import { components, paths } from "./schemas/prices.js"; import { UnwrapContent } from "./openapi.js"; import * as _$openapi_fetch0 from "openapi-fetch"; //#region src/prices.d.ts type GetPricesQuery = paths["/api/v1/prices"]["get"]["parameters"]["query"]; type PricesCreate = components["schemas"]["PriceCreate"]; type PriceFull = components["schemas"]["PriceFull"]; type Location = components["schemas"]["Location"]; type ProductFull = components["schemas"]["ProductFull"]; type ProofFull = components["schemas"]["ProofFull"]; type Challenge = components["schemas"]["Challenge"]; type PriceTag = components["schemas"]["PriceTagFull"]; type ReceiptItem = components["schemas"]["ReceiptItemFull"]; type PriceFlag = components["schemas"]["Flag"]; type PriceUpdate = UnwrapContent; type PriceFlagCreate = UnwrapContent; type GetPriceHistoryQuery = paths["/api/v1/prices/{id}/history"]["get"]["parameters"]["query"]; type GetPricesStatsQuery = paths["/api/v1/prices/stats"]["get"]["parameters"]["query"]; type GetLocationsQuery = paths["/api/v1/locations"]["get"]["parameters"]["query"]; type LocationCreate = UnwrapContent; type CompareLocationsQuery = paths["/api/v1/locations/compare"]["get"]["parameters"]["query"]; type GetOSMCountriesQuery = paths["/api/v1/locations/osm/countries"]["get"]["parameters"]["query"]; type GetOSMCountryCitiesQuery = paths["/api/v1/locations/osm/countries/{country_code}/cities"]["get"]["parameters"]["query"]; type OSMType = paths["/api/v1/locations/osm/{osm_type}/{osm_id}"]["get"]["parameters"]["path"]["osm_type"]; type GetProductsQuery = paths["/api/v1/products"]["get"]["parameters"]["query"]; type ProductOFFUpdateBody = UnwrapContent; type ProductOFFUploadImageBody = UnwrapContent; type ProofUpdate = UnwrapContent; type GetProofHistoryQuery = paths["/api/v1/proofs/{id}/history"]["get"]["parameters"]["query"]; type ProofFlagCreate = UnwrapContent; type ProcessProofWithGeminiBody = UnwrapContent; type GetUsersQuery = paths["/api/v1/users"]["get"]["parameters"]["query"]; type GetChallengesQuery = paths["/api/v1/challenges"]["get"]["parameters"]["query"]; type GetPriceTagsQuery = paths["/api/v1/price-tags"]["get"]["parameters"]["query"]; type PriceTagCreate = UnwrapContent; type PriceTagUpdate = UnwrapContent; type GetReceiptItemsQuery = paths["/api/v1/receipt-items"]["get"]["parameters"]["query"]; type ReceiptItemCreate = UnwrapContent; type ReceiptItemUpdate = UnwrapContent; type GetFlagsQuery = paths["/api/v1/flags"]["get"]["parameters"]["query"]; type FlagUpdate = UnwrapContent; declare class PricesApi { private readonly client; constructor(fetch: FetchFn, options?: { baseUrl: string; authToken?: string; }); getPrices(query: GetPricesQuery): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: { category_tag?: string; created__gte?: string; created__lte?: string; currency?: "ADP" | "AED" | "AFA" | "AFN" | "ALK" | "ALL" | "AMD" | "ANG" | "AOA" | "AOK" | "AON" | "AOR" | "ARA" | "ARL" | "ARM" | "ARP" | "ARS" | "ATS" | "AUD" | "AWG" | "AZM" | "AZN" | "BAD" | "BAM" | "BAN" | "BBD" | "BDT" | "BEC" | "BEF" | "BEL" | "BGL" | "BGM" | "BGN" | "BGO" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOL" | "BOP" | "BOV" | "BRB" | "BRC" | "BRE" | "BRL" | "BRN" | "BRR" | "BRZ" | "BSD" | "BTN" | "BUK" | "BWP" | "BYB" | "BYN" | "BYR" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLE" | "CLF" | "CLP" | "CNH" | "CNX" | "CNY" | "COP" | "COU" | "CRC" | "CSD" | "CSK" | "CUC" | "CUP" | "CVE" | "CYP" | "CZK" | "DDM" | "DEM" | "DJF" | "DKK" | "DOP" | "DZD" | "ECS" | "ECV" | "EEK" | "EGP" | "ERN" | "ESA" | "ESB" | "ESP" | "ETB" | "EUR" | "FIM" | "FJD" | "FKP" | "FRF" | "GBP" | "GEK" | "GEL" | "GHC" | "GHS" | "GIP" | "GMD" | "GNF" | "GNS" | "GQE" | "GRD" | "GTQ" | "GWE" | "GWP" | "GYD" | "HKD" | "HNL" | "HRD" | "HRK" | "HTG" | "HUF" | "IDR" | "IEP" | "ILP" | "ILR" | "ILS" | "INR" | "IQD" | "IRR" | "ISJ" | "ISK" | "ITL" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRH" | "KRO" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LTT" | "LUC" | "LUF" | "LUL" | "LVL" | "LVR" | "LYD" | "MAD" | "MAF" | "MCF" | "MDC" | "MDL" | "MGA" | "MGF" | "MKD" | "MKN" | "MLF" | "MMK" | "MNT" | "MOP" | "MRO" | "MRU" | "MTL" | "MTP" | "MUR" | "MVP" | "MVR" | "MWK" | "MXN" | "MXP" | "MXV" | "MYR" | "MZE" | "MZM" | "MZN" | "NAD" | "NGN" | "NIC" | "NIO" | "NLG" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEI" | "PEN" | "PES" | "PGK" | "PHP" | "PKR" | "PLN" | "PLZ" | "PTE" | "PYG" | "QAR" | "RHD" | "ROL" | "RON" | "RSD" | "RUB" | "RUR" | "RWF" | "SAR" | "SBD" | "SCR" | "SDD" | "SDG" | "SDP" | "SEK" | "SGD" | "SHP" | "SIT" | "SKK" | "SLE" | "SLL" | "SOS" | "SRD" | "SRG" | "SSP" | "STD" | "STN" | "SUR" | "SVC" | "SYP" | "SZL" | "THB" | "TJR" | "TJS" | "TMM" | "TMT" | "TND" | "TOP" | "TPE" | "TRL" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UAK" | "UGS" | "UGX" | "USD" | "USN" | "USS" | "UYI" | "UYP" | "UYU" | "UYW" | "UZS" | "VEB" | "VED" | "VEF" | "VES" | "VND" | "VNN" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XCG" | "XDR" | "XEU" | "XFO" | "XFU" | "XOF" | "XPD" | "XPF" | "XPT" | "XRE" | "XSU" | "XTS" | "XUA" | "XXX" | "YDD" | "YER" | "YUD" | "YUM" | "YUN" | "YUR" | "ZAL" | "ZAR" | "ZMK" | "ZMW" | "ZRN" | "ZRZ" | "ZWD" | "ZWG" | "ZWL" | "ZWR" | null; date?: string; date__gt?: string; date__gte?: string; date__lt?: string; date__lte?: string; date__month?: number; date__year?: number; discount_type?: "EXPIRES_SOON" | "LOYALTY_PROGRAM" | "OTHER" | "PICK_IT_YOURSELF" | "QUANTITY" | "SALE" | "SEASONAL" | "SECOND_HAND" | null; duplicate_of__isnull?: boolean; kind?: "COMMUNITY" | "CONSUMPTION"; labels_tags__contains?: string; location__osm_name__contains?: string; location__type?: "ONLINE" | "OSM"; location_id?: number; location_id__in?: number[]; location_id__isnull?: boolean; location_osm_id?: number; location_osm_type?: "NODE" | "RELATION" | "WAY" | null; order_by?: string; origins_tags__contains?: string; owner?: string; page?: number; price?: number; price__gt?: number; price__gte?: number; price__lt?: number; price__lte?: number; price_is_discounted?: boolean; product__categories_tags__contains?: string; product__categories_tags__overlap?: string[][]; product__source?: "obf" | "off" | "opf" | "opff" | null; product_code?: string; product_code__in?: string[]; product_code__isnull?: boolean; product_id?: number; product_id__in?: number[]; product_id__isnull?: boolean; product_name?: string; proof__type?: ("GDPR_REQUEST" | "PRICE_TAG" | "RECEIPT" | "SHOP_IMPORT")[]; proof_id?: number; proof_id__in?: number[]; proof_id__isnull?: boolean; size?: number; tags__contains?: string; type?: "CATEGORY" | "PRODUCT"; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PaginatedPriceFullList"]; }; }; }; }, { params: { query: { category_tag?: string; created__gte?: string; created__lte?: string; currency?: "ADP" | "AED" | "AFA" | "AFN" | "ALK" | "ALL" | "AMD" | "ANG" | "AOA" | "AOK" | "AON" | "AOR" | "ARA" | "ARL" | "ARM" | "ARP" | "ARS" | "ATS" | "AUD" | "AWG" | "AZM" | "AZN" | "BAD" | "BAM" | "BAN" | "BBD" | "BDT" | "BEC" | "BEF" | "BEL" | "BGL" | "BGM" | "BGN" | "BGO" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOL" | "BOP" | "BOV" | "BRB" | "BRC" | "BRE" | "BRL" | "BRN" | "BRR" | "BRZ" | "BSD" | "BTN" | "BUK" | "BWP" | "BYB" | "BYN" | "BYR" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLE" | "CLF" | "CLP" | "CNH" | "CNX" | "CNY" | "COP" | "COU" | "CRC" | "CSD" | "CSK" | "CUC" | "CUP" | "CVE" | "CYP" | "CZK" | "DDM" | "DEM" | "DJF" | "DKK" | "DOP" | "DZD" | "ECS" | "ECV" | "EEK" | "EGP" | "ERN" | "ESA" | "ESB" | "ESP" | "ETB" | "EUR" | "FIM" | "FJD" | "FKP" | "FRF" | "GBP" | "GEK" | "GEL" | "GHC" | "GHS" | "GIP" | "GMD" | "GNF" | "GNS" | "GQE" | "GRD" | "GTQ" | "GWE" | "GWP" | "GYD" | "HKD" | "HNL" | "HRD" | "HRK" | "HTG" | "HUF" | "IDR" | "IEP" | "ILP" | "ILR" | "ILS" | "INR" | "IQD" | "IRR" | "ISJ" | "ISK" | "ITL" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRH" | "KRO" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LTT" | "LUC" | "LUF" | "LUL" | "LVL" | "LVR" | "LYD" | "MAD" | "MAF" | "MCF" | "MDC" | "MDL" | "MGA" | "MGF" | "MKD" | "MKN" | "MLF" | "MMK" | "MNT" | "MOP" | "MRO" | "MRU" | "MTL" | "MTP" | "MUR" | "MVP" | "MVR" | "MWK" | "MXN" | "MXP" | "MXV" | "MYR" | "MZE" | "MZM" | "MZN" | "NAD" | "NGN" | "NIC" | "NIO" | "NLG" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEI" | "PEN" | "PES" | "PGK" | "PHP" | "PKR" | "PLN" | "PLZ" | "PTE" | "PYG" | "QAR" | "RHD" | "ROL" | "RON" | "RSD" | "RUB" | "RUR" | "RWF" | "SAR" | "SBD" | "SCR" | "SDD" | "SDG" | "SDP" | "SEK" | "SGD" | "SHP" | "SIT" | "SKK" | "SLE" | "SLL" | "SOS" | "SRD" | "SRG" | "SSP" | "STD" | "STN" | "SUR" | "SVC" | "SYP" | "SZL" | "THB" | "TJR" | "TJS" | "TMM" | "TMT" | "TND" | "TOP" | "TPE" | "TRL" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UAK" | "UGS" | "UGX" | "USD" | "USN" | "USS" | "UYI" | "UYP" | "UYU" | "UYW" | "UZS" | "VEB" | "VED" | "VEF" | "VES" | "VND" | "VNN" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XCG" | "XDR" | "XEU" | "XFO" | "XFU" | "XOF" | "XPD" | "XPF" | "XPT" | "XRE" | "XSU" | "XTS" | "XUA" | "XXX" | "YDD" | "YER" | "YUD" | "YUM" | "YUN" | "YUR" | "ZAL" | "ZAR" | "ZMK" | "ZMW" | "ZRN" | "ZRZ" | "ZWD" | "ZWG" | "ZWL" | "ZWR" | null; date?: string; date__gt?: string; date__gte?: string; date__lt?: string; date__lte?: string; date__month?: number; date__year?: number; discount_type?: "EXPIRES_SOON" | "LOYALTY_PROGRAM" | "OTHER" | "PICK_IT_YOURSELF" | "QUANTITY" | "SALE" | "SEASONAL" | "SECOND_HAND" | null; duplicate_of__isnull?: boolean; kind?: "COMMUNITY" | "CONSUMPTION"; labels_tags__contains?: string; location__osm_name__contains?: string; location__type?: "ONLINE" | "OSM"; location_id?: number; location_id__in?: number[]; location_id__isnull?: boolean; location_osm_id?: number; location_osm_type?: "NODE" | "RELATION" | "WAY" | null; order_by?: string; origins_tags__contains?: string; owner?: string; page?: number; price?: number; price__gt?: number; price__gte?: number; price__lt?: number; price__lte?: number; price_is_discounted?: boolean; product__categories_tags__contains?: string; product__categories_tags__overlap?: string[][]; product__source?: "obf" | "off" | "opf" | "opff" | null; product_code?: string; product_code__in?: string[]; product_code__isnull?: boolean; product_id?: number; product_id__in?: number[]; product_id__isnull?: boolean; product_name?: string; proof__type?: ("GDPR_REQUEST" | "PRICE_TAG" | "RECEIPT" | "SHOP_IMPORT")[]; proof_id?: number; proof_id__in?: number[]; proof_id__isnull?: boolean; size?: number; tags__contains?: string; type?: "CATEGORY" | "PRODUCT"; } | undefined; }; }, `${string}/${string}`>>; createPrice(body: PricesCreate): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["PriceCreate"]; "application/x-www-form-urlencoded": components["schemas"]["PriceCreate"]; "multipart/form-data": components["schemas"]["PriceCreate"]; }; }; responses: { 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PriceCreate"]; }; }; }; }, { body: { product_code?: string | null; category_tag?: string | null; labels_tags?: string[] | null; origins_tags?: string[] | null; price?: number | null; price_is_discounted?: boolean; price_without_discount?: number | null; discount_type?: (components["schemas"]["DiscountTypeEnum"] | components["schemas"]["BlankEnum"] | components["schemas"]["NullEnum"]) | null; price_per?: (components["schemas"]["PricePerEnum"] | components["schemas"]["BlankEnum"] | components["schemas"]["NullEnum"]) | null; currency?: (components["schemas"]["CurrencyEnum"] | components["schemas"]["BlankEnum"] | components["schemas"]["NullEnum"]) | null; date?: string | null; receipt_quantity?: number | null; owner_comment?: string | null; type?: components["schemas"]["PriceTypeEnum"]; product_name?: string | null; location_osm_id?: number | null; location_osm_type?: (components["schemas"]["LocationOsmTypeEnum"] | components["schemas"]["BlankEnum"] | components["schemas"]["NullEnum"]) | null; location_id?: number; proof_id: number; }; }, `${string}/${string}`>>; getPrice(id: number): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path: { id: number; }; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PriceFull"]; }; }; }; }, { params: { path: { id: number; }; }; }, `${string}/${string}`>>; updatePrice(id: number, body: PriceUpdate): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path: { id: number; }; cookie?: never; }; requestBody?: { content: { "application/json": components["schemas"]["PatchedPriceUpdate"]; "application/x-www-form-urlencoded": components["schemas"]["PatchedPriceUpdate"]; "multipart/form-data": components["schemas"]["PatchedPriceUpdate"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PriceUpdate"]; }; }; }; }, { params: { path: { id: number; }; }; body: { product_code?: string | null; category_tag?: string | null; labels_tags?: string[] | null; origins_tags?: string[] | null; price?: number | null; price_is_discounted?: boolean; price_without_discount?: number | null; discount_type?: (components["schemas"]["DiscountTypeEnum"] | components["schemas"]["BlankEnum"] | components["schemas"]["NullEnum"]) | null; price_per?: (components["schemas"]["PricePerEnum"] | components["schemas"]["BlankEnum"] | components["schemas"]["NullEnum"]) | null; currency?: (components["schemas"]["CurrencyEnum"] | components["schemas"]["BlankEnum"] | components["schemas"]["NullEnum"]) | null; date?: string | null; receipt_quantity?: number | null; owner_comment?: string | null; }; }, `${string}/${string}`>>; deletePrice(id: number): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path: { id: number; }; cookie?: never; }; requestBody?: never; responses: { 204: { headers: { [name: string]: unknown; }; content?: never; }; }; }, { params: { path: { id: number; }; }; }, `${string}/${string}`>>; getPriceHistory(id: number, query?: GetPriceHistoryQuery): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: { category_tag?: string; created__gte?: string; created__lte?: string; currency?: "ADP" | "AED" | "AFA" | "AFN" | "ALK" | "ALL" | "AMD" | "ANG" | "AOA" | "AOK" | "AON" | "AOR" | "ARA" | "ARL" | "ARM" | "ARP" | "ARS" | "ATS" | "AUD" | "AWG" | "AZM" | "AZN" | "BAD" | "BAM" | "BAN" | "BBD" | "BDT" | "BEC" | "BEF" | "BEL" | "BGL" | "BGM" | "BGN" | "BGO" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOL" | "BOP" | "BOV" | "BRB" | "BRC" | "BRE" | "BRL" | "BRN" | "BRR" | "BRZ" | "BSD" | "BTN" | "BUK" | "BWP" | "BYB" | "BYN" | "BYR" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLE" | "CLF" | "CLP" | "CNH" | "CNX" | "CNY" | "COP" | "COU" | "CRC" | "CSD" | "CSK" | "CUC" | "CUP" | "CVE" | "CYP" | "CZK" | "DDM" | "DEM" | "DJF" | "DKK" | "DOP" | "DZD" | "ECS" | "ECV" | "EEK" | "EGP" | "ERN" | "ESA" | "ESB" | "ESP" | "ETB" | "EUR" | "FIM" | "FJD" | "FKP" | "FRF" | "GBP" | "GEK" | "GEL" | "GHC" | "GHS" | "GIP" | "GMD" | "GNF" | "GNS" | "GQE" | "GRD" | "GTQ" | "GWE" | "GWP" | "GYD" | "HKD" | "HNL" | "HRD" | "HRK" | "HTG" | "HUF" | "IDR" | "IEP" | "ILP" | "ILR" | "ILS" | "INR" | "IQD" | "IRR" | "ISJ" | "ISK" | "ITL" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRH" | "KRO" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LTT" | "LUC" | "LUF" | "LUL" | "LVL" | "LVR" | "LYD" | "MAD" | "MAF" | "MCF" | "MDC" | "MDL" | "MGA" | "MGF" | "MKD" | "MKN" | "MLF" | "MMK" | "MNT" | "MOP" | "MRO" | "MRU" | "MTL" | "MTP" | "MUR" | "MVP" | "MVR" | "MWK" | "MXN" | "MXP" | "MXV" | "MYR" | "MZE" | "MZM" | "MZN" | "NAD" | "NGN" | "NIC" | "NIO" | "NLG" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEI" | "PEN" | "PES" | "PGK" | "PHP" | "PKR" | "PLN" | "PLZ" | "PTE" | "PYG" | "QAR" | "RHD" | "ROL" | "RON" | "RSD" | "RUB" | "RUR" | "RWF" | "SAR" | "SBD" | "SCR" | "SDD" | "SDG" | "SDP" | "SEK" | "SGD" | "SHP" | "SIT" | "SKK" | "SLE" | "SLL" | "SOS" | "SRD" | "SRG" | "SSP" | "STD" | "STN" | "SUR" | "SVC" | "SYP" | "SZL" | "THB" | "TJR" | "TJS" | "TMM" | "TMT" | "TND" | "TOP" | "TPE" | "TRL" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UAK" | "UGS" | "UGX" | "USD" | "USN" | "USS" | "UYI" | "UYP" | "UYU" | "UYW" | "UZS" | "VEB" | "VED" | "VEF" | "VES" | "VND" | "VNN" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XCG" | "XDR" | "XEU" | "XFO" | "XFU" | "XOF" | "XPD" | "XPF" | "XPT" | "XRE" | "XSU" | "XTS" | "XUA" | "XXX" | "YDD" | "YER" | "YUD" | "YUM" | "YUN" | "YUR" | "ZAL" | "ZAR" | "ZMK" | "ZMW" | "ZRN" | "ZRZ" | "ZWD" | "ZWG" | "ZWL" | "ZWR" | null; date?: string; date__gt?: string; date__gte?: string; date__lt?: string; date__lte?: string; date__month?: number; date__year?: number; discount_type?: "EXPIRES_SOON" | "LOYALTY_PROGRAM" | "OTHER" | "PICK_IT_YOURSELF" | "QUANTITY" | "SALE" | "SEASONAL" | "SECOND_HAND" | null; duplicate_of__isnull?: boolean; kind?: "COMMUNITY" | "CONSUMPTION"; labels_tags__contains?: string; location__osm_name__contains?: string; location__type?: "ONLINE" | "OSM"; location_id?: number; location_id__in?: number[]; location_id__isnull?: boolean; location_osm_id?: number; location_osm_type?: "NODE" | "RELATION" | "WAY" | null; order_by?: string; origins_tags__contains?: string; owner?: string; page?: number; price?: number; price__gt?: number; price__gte?: number; price__lt?: number; price__lte?: number; price_is_discounted?: boolean; product__categories_tags__contains?: string; product__categories_tags__overlap?: string[][]; product__source?: "obf" | "off" | "opf" | "opff" | null; product_code?: string; product_code__in?: string[]; product_code__isnull?: boolean; product_id?: number; product_id__in?: number[]; product_id__isnull?: boolean; product_name?: string; proof__type?: ("GDPR_REQUEST" | "PRICE_TAG" | "RECEIPT" | "SHOP_IMPORT")[]; proof_id?: number; proof_id__in?: number[]; proof_id__isnull?: boolean; size?: number; tags__contains?: string; type?: "CATEGORY" | "PRODUCT"; }; header?: never; path: { id: number; }; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PaginatedPriceHistoryList"]; }; }; }; }, { params: { path: { id: number; }; query: { category_tag?: string; created__gte?: string; created__lte?: string; currency?: "ADP" | "AED" | "AFA" | "AFN" | "ALK" | "ALL" | "AMD" | "ANG" | "AOA" | "AOK" | "AON" | "AOR" | "ARA" | "ARL" | "ARM" | "ARP" | "ARS" | "ATS" | "AUD" | "AWG" | "AZM" | "AZN" | "BAD" | "BAM" | "BAN" | "BBD" | "BDT" | "BEC" | "BEF" | "BEL" | "BGL" | "BGM" | "BGN" | "BGO" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOL" | "BOP" | "BOV" | "BRB" | "BRC" | "BRE" | "BRL" | "BRN" | "BRR" | "BRZ" | "BSD" | "BTN" | "BUK" | "BWP" | "BYB" | "BYN" | "BYR" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLE" | "CLF" | "CLP" | "CNH" | "CNX" | "CNY" | "COP" | "COU" | "CRC" | "CSD" | "CSK" | "CUC" | "CUP" | "CVE" | "CYP" | "CZK" | "DDM" | "DEM" | "DJF" | "DKK" | "DOP" | "DZD" | "ECS" | "ECV" | "EEK" | "EGP" | "ERN" | "ESA" | "ESB" | "ESP" | "ETB" | "EUR" | "FIM" | "FJD" | "FKP" | "FRF" | "GBP" | "GEK" | "GEL" | "GHC" | "GHS" | "GIP" | "GMD" | "GNF" | "GNS" | "GQE" | "GRD" | "GTQ" | "GWE" | "GWP" | "GYD" | "HKD" | "HNL" | "HRD" | "HRK" | "HTG" | "HUF" | "IDR" | "IEP" | "ILP" | "ILR" | "ILS" | "INR" | "IQD" | "IRR" | "ISJ" | "ISK" | "ITL" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRH" | "KRO" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LTT" | "LUC" | "LUF" | "LUL" | "LVL" | "LVR" | "LYD" | "MAD" | "MAF" | "MCF" | "MDC" | "MDL" | "MGA" | "MGF" | "MKD" | "MKN" | "MLF" | "MMK" | "MNT" | "MOP" | "MRO" | "MRU" | "MTL" | "MTP" | "MUR" | "MVP" | "MVR" | "MWK" | "MXN" | "MXP" | "MXV" | "MYR" | "MZE" | "MZM" | "MZN" | "NAD" | "NGN" | "NIC" | "NIO" | "NLG" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEI" | "PEN" | "PES" | "PGK" | "PHP" | "PKR" | "PLN" | "PLZ" | "PTE" | "PYG" | "QAR" | "RHD" | "ROL" | "RON" | "RSD" | "RUB" | "RUR" | "RWF" | "SAR" | "SBD" | "SCR" | "SDD" | "SDG" | "SDP" | "SEK" | "SGD" | "SHP" | "SIT" | "SKK" | "SLE" | "SLL" | "SOS" | "SRD" | "SRG" | "SSP" | "STD" | "STN" | "SUR" | "SVC" | "SYP" | "SZL" | "THB" | "TJR" | "TJS" | "TMM" | "TMT" | "TND" | "TOP" | "TPE" | "TRL" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UAK" | "UGS" | "UGX" | "USD" | "USN" | "USS" | "UYI" | "UYP" | "UYU" | "UYW" | "UZS" | "VEB" | "VED" | "VEF" | "VES" | "VND" | "VNN" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XCG" | "XDR" | "XEU" | "XFO" | "XFU" | "XOF" | "XPD" | "XPF" | "XPT" | "XRE" | "XSU" | "XTS" | "XUA" | "XXX" | "YDD" | "YER" | "YUD" | "YUM" | "YUN" | "YUR" | "ZAL" | "ZAR" | "ZMK" | "ZMW" | "ZRN" | "ZRZ" | "ZWD" | "ZWG" | "ZWL" | "ZWR" | null; date?: string; date__gt?: string; date__gte?: string; date__lt?: string; date__lte?: string; date__month?: number; date__year?: number; discount_type?: "EXPIRES_SOON" | "LOYALTY_PROGRAM" | "OTHER" | "PICK_IT_YOURSELF" | "QUANTITY" | "SALE" | "SEASONAL" | "SECOND_HAND" | null; duplicate_of__isnull?: boolean; kind?: "COMMUNITY" | "CONSUMPTION"; labels_tags__contains?: string; location__osm_name__contains?: string; location__type?: "ONLINE" | "OSM"; location_id?: number; location_id__in?: number[]; location_id__isnull?: boolean; location_osm_id?: number; location_osm_type?: "NODE" | "RELATION" | "WAY" | null; order_by?: string; origins_tags__contains?: string; owner?: string; page?: number; price?: number; price__gt?: number; price__gte?: number; price__lt?: number; price__lte?: number; price_is_discounted?: boolean; product__categories_tags__contains?: string; product__categories_tags__overlap?: string[][]; product__source?: "obf" | "off" | "opf" | "opff" | null; product_code?: string; product_code__in?: string[]; product_code__isnull?: boolean; product_id?: number; product_id__in?: number[]; product_id__isnull?: boolean; product_name?: string; proof__type?: ("GDPR_REQUEST" | "PRICE_TAG" | "RECEIPT" | "SHOP_IMPORT")[]; proof_id?: number; proof_id__in?: number[]; proof_id__isnull?: boolean; size?: number; tags__contains?: string; type?: "CATEGORY" | "PRODUCT"; }; }; }, `${string}/${string}`>>; getPricesStats(query?: GetPricesStatsQuery): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: { category_tag?: string; created__gte?: string; created__lte?: string; currency?: "ADP" | "AED" | "AFA" | "AFN" | "ALK" | "ALL" | "AMD" | "ANG" | "AOA" | "AOK" | "AON" | "AOR" | "ARA" | "ARL" | "ARM" | "ARP" | "ARS" | "ATS" | "AUD" | "AWG" | "AZM" | "AZN" | "BAD" | "BAM" | "BAN" | "BBD" | "BDT" | "BEC" | "BEF" | "BEL" | "BGL" | "BGM" | "BGN" | "BGO" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOL" | "BOP" | "BOV" | "BRB" | "BRC" | "BRE" | "BRL" | "BRN" | "BRR" | "BRZ" | "BSD" | "BTN" | "BUK" | "BWP" | "BYB" | "BYN" | "BYR" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLE" | "CLF" | "CLP" | "CNH" | "CNX" | "CNY" | "COP" | "COU" | "CRC" | "CSD" | "CSK" | "CUC" | "CUP" | "CVE" | "CYP" | "CZK" | "DDM" | "DEM" | "DJF" | "DKK" | "DOP" | "DZD" | "ECS" | "ECV" | "EEK" | "EGP" | "ERN" | "ESA" | "ESB" | "ESP" | "ETB" | "EUR" | "FIM" | "FJD" | "FKP" | "FRF" | "GBP" | "GEK" | "GEL" | "GHC" | "GHS" | "GIP" | "GMD" | "GNF" | "GNS" | "GQE" | "GRD" | "GTQ" | "GWE" | "GWP" | "GYD" | "HKD" | "HNL" | "HRD" | "HRK" | "HTG" | "HUF" | "IDR" | "IEP" | "ILP" | "ILR" | "ILS" | "INR" | "IQD" | "IRR" | "ISJ" | "ISK" | "ITL" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRH" | "KRO" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LTT" | "LUC" | "LUF" | "LUL" | "LVL" | "LVR" | "LYD" | "MAD" | "MAF" | "MCF" | "MDC" | "MDL" | "MGA" | "MGF" | "MKD" | "MKN" | "MLF" | "MMK" | "MNT" | "MOP" | "MRO" | "MRU" | "MTL" | "MTP" | "MUR" | "MVP" | "MVR" | "MWK" | "MXN" | "MXP" | "MXV" | "MYR" | "MZE" | "MZM" | "MZN" | "NAD" | "NGN" | "NIC" | "NIO" | "NLG" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEI" | "PEN" | "PES" | "PGK" | "PHP" | "PKR" | "PLN" | "PLZ" | "PTE" | "PYG" | "QAR" | "RHD" | "ROL" | "RON" | "RSD" | "RUB" | "RUR" | "RWF" | "SAR" | "SBD" | "SCR" | "SDD" | "SDG" | "SDP" | "SEK" | "SGD" | "SHP" | "SIT" | "SKK" | "SLE" | "SLL" | "SOS" | "SRD" | "SRG" | "SSP" | "STD" | "STN" | "SUR" | "SVC" | "SYP" | "SZL" | "THB" | "TJR" | "TJS" | "TMM" | "TMT" | "TND" | "TOP" | "TPE" | "TRL" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UAK" | "UGS" | "UGX" | "USD" | "USN" | "USS" | "UYI" | "UYP" | "UYU" | "UYW" | "UZS" | "VEB" | "VED" | "VEF" | "VES" | "VND" | "VNN" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XCG" | "XDR" | "XEU" | "XFO" | "XFU" | "XOF" | "XPD" | "XPF" | "XPT" | "XRE" | "XSU" | "XTS" | "XUA" | "XXX" | "YDD" | "YER" | "YUD" | "YUM" | "YUN" | "YUR" | "ZAL" | "ZAR" | "ZMK" | "ZMW" | "ZRN" | "ZRZ" | "ZWD" | "ZWG" | "ZWL" | "ZWR" | null; date?: string; date__gt?: string; date__gte?: string; date__lt?: string; date__lte?: string; date__month?: number; date__year?: number; discount_type?: "EXPIRES_SOON" | "LOYALTY_PROGRAM" | "OTHER" | "PICK_IT_YOURSELF" | "QUANTITY" | "SALE" | "SEASONAL" | "SECOND_HAND" | null; duplicate_of__isnull?: boolean; kind?: "COMMUNITY" | "CONSUMPTION"; labels_tags__contains?: string; location__osm_name__contains?: string; location__type?: "ONLINE" | "OSM"; location_id?: number; location_id__in?: number[]; location_id__isnull?: boolean; location_osm_id?: number; location_osm_type?: "NODE" | "RELATION" | "WAY" | null; order_by?: string; origins_tags__contains?: string; owner?: string; price?: number; price__gt?: number; price__gte?: number; price__lt?: number; price__lte?: number; price_is_discounted?: boolean; product__categories_tags__contains?: string; product__categories_tags__overlap?: string[][]; product__source?: "obf" | "off" | "opf" | "opff" | null; product_code?: string; product_code__in?: string[]; product_code__isnull?: boolean; product_id?: number; product_id__in?: number[]; product_id__isnull?: boolean; product_name?: string; proof__type?: ("GDPR_REQUEST" | "PRICE_TAG" | "RECEIPT" | "SHOP_IMPORT")[]; proof_id?: number; proof_id__in?: number[]; proof_id__isnull?: boolean; tags__contains?: string; type?: "CATEGORY" | "PRODUCT"; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PriceStats"]; }; }; }; }, { params: { query: { category_tag?: string; created__gte?: string; created__lte?: string; currency?: "ADP" | "AED" | "AFA" | "AFN" | "ALK" | "ALL" | "AMD" | "ANG" | "AOA" | "AOK" | "AON" | "AOR" | "ARA" | "ARL" | "ARM" | "ARP" | "ARS" | "ATS" | "AUD" | "AWG" | "AZM" | "AZN" | "BAD" | "BAM" | "BAN" | "BBD" | "BDT" | "BEC" | "BEF" | "BEL" | "BGL" | "BGM" | "BGN" | "BGO" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOL" | "BOP" | "BOV" | "BRB" | "BRC" | "BRE" | "BRL" | "BRN" | "BRR" | "BRZ" | "BSD" | "BTN" | "BUK" | "BWP" | "BYB" | "BYN" | "BYR" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLE" | "CLF" | "CLP" | "CNH" | "CNX" | "CNY" | "COP" | "COU" | "CRC" | "CSD" | "CSK" | "CUC" | "CUP" | "CVE" | "CYP" | "CZK" | "DDM" | "DEM" | "DJF" | "DKK" | "DOP" | "DZD" | "ECS" | "ECV" | "EEK" | "EGP" | "ERN" | "ESA" | "ESB" | "ESP" | "ETB" | "EUR" | "FIM" | "FJD" | "FKP" | "FRF" | "GBP" | "GEK" | "GEL" | "GHC" | "GHS" | "GIP" | "GMD" | "GNF" | "GNS" | "GQE" | "GRD" | "GTQ" | "GWE" | "GWP" | "GYD" | "HKD" | "HNL" | "HRD" | "HRK" | "HTG" | "HUF" | "IDR" | "IEP" | "ILP" | "ILR" | "ILS" | "INR" | "IQD" | "IRR" | "ISJ" | "ISK" | "ITL" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRH" | "KRO" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LTT" | "LUC" | "LUF" | "LUL" | "LVL" | "LVR" | "LYD" | "MAD" | "MAF" | "MCF" | "MDC" | "MDL" | "MGA" | "MGF" | "MKD" | "MKN" | "MLF" | "MMK" | "MNT" | "MOP" | "MRO" | "MRU" | "MTL" | "MTP" | "MUR" | "MVP" | "MVR" | "MWK" | "MXN" | "MXP" | "MXV" | "MYR" | "MZE" | "MZM" | "MZN" | "NAD" | "NGN" | "NIC" | "NIO" | "NLG" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEI" | "PEN" | "PES" | "PGK" | "PHP" | "PKR" | "PLN" | "PLZ" | "PTE" | "PYG" | "QAR" | "RHD" | "ROL" | "RON" | "RSD" | "RUB" | "RUR" | "RWF" | "SAR" | "SBD" | "SCR" | "SDD" | "SDG" | "SDP" | "SEK" | "SGD" | "SHP" | "SIT" | "SKK" | "SLE" | "SLL" | "SOS" | "SRD" | "SRG" | "SSP" | "STD" | "STN" | "SUR" | "SVC" | "SYP" | "SZL" | "THB" | "TJR" | "TJS" | "TMM" | "TMT" | "TND" | "TOP" | "TPE" | "TRL" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UAK" | "UGS" | "UGX" | "USD" | "USN" | "USS" | "UYI" | "UYP" | "UYU" | "UYW" | "UZS" | "VEB" | "VED" | "VEF" | "VES" | "VND" | "VNN" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XCG" | "XDR" | "XEU" | "XFO" | "XFU" | "XOF" | "XPD" | "XPF" | "XPT" | "XRE" | "XSU" | "XTS" | "XUA" | "XXX" | "YDD" | "YER" | "YUD" | "YUM" | "YUN" | "YUR" | "ZAL" | "ZAR" | "ZMK" | "ZMW" | "ZRN" | "ZRZ" | "ZWD" | "ZWG" | "ZWL" | "ZWR" | null; date?: string; date__gt?: string; date__gte?: string; date__lt?: string; date__lte?: string; date__month?: number; date__year?: number; discount_type?: "EXPIRES_SOON" | "LOYALTY_PROGRAM" | "OTHER" | "PICK_IT_YOURSELF" | "QUANTITY" | "SALE" | "SEASONAL" | "SECOND_HAND" | null; duplicate_of__isnull?: boolean; kind?: "COMMUNITY" | "CONSUMPTION"; labels_tags__contains?: string; location__osm_name__contains?: string; location__type?: "ONLINE" | "OSM"; location_id?: number; location_id__in?: number[]; location_id__isnull?: boolean; location_osm_id?: number; location_osm_type?: "NODE" | "RELATION" | "WAY" | null; order_by?: string; origins_tags__contains?: string; owner?: string; price?: number; price__gt?: number; price__gte?: number; price__lt?: number; price__lte?: number; price_is_discounted?: boolean; product__categories_tags__contains?: string; product__categories_tags__overlap?: string[][]; product__source?: "obf" | "off" | "opf" | "opff" | null; product_code?: string; product_code__in?: string[]; product_code__isnull?: boolean; product_id?: number; product_id__in?: number[]; product_id__isnull?: boolean; product_name?: string; proof__type?: ("GDPR_REQUEST" | "PRICE_TAG" | "RECEIPT" | "SHOP_IMPORT")[]; proof_id?: number; proof_id__in?: number[]; proof_id__isnull?: boolean; tags__contains?: string; type?: "CATEGORY" | "PRODUCT"; }; }; }, `${string}/${string}`>>; flagPrice(id: number, body: PriceFlagCreate): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path: { id: number; }; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["FlagCreate"]; "application/x-www-form-urlencoded": components["schemas"]["FlagCreate"]; "multipart/form-data": components["schemas"]["FlagCreate"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Flag"]; }; }; }; }, { params: { path: { id: number; }; }; body: { reason: components["schemas"]["ReasonEnum"]; comment?: string | null; readonly content_object: string; }; }, `${string}/${string}`>>; getLocations(query?: GetLocationsQuery): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: { order_by?: string; osm_address_city__like?: string; osm_address_country__like?: string; osm_name__like?: string; page?: number; price_count?: number; price_count__gte?: number; price_count__lte?: number; size?: number; type?: "ONLINE" | "OSM"; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PaginatedLocationList"]; }; }; }; }, { params: { query: { order_by?: string; osm_address_city__like?: string; osm_address_country__like?: string; osm_name__like?: string; page?: number; price_count?: number; price_count__gte?: number; price_count__lte?: number; size?: number; type?: "ONLINE" | "OSM"; }; }; }, `${string}/${string}`>>; createLocation(body: LocationCreate): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["LocationCreate"]; "application/x-www-form-urlencoded": components["schemas"]["LocationCreate"]; "multipart/form-data": components["schemas"]["LocationCreate"]; }; }; responses: { 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["LocationCreate"]; }; }; }; }, { body: { type: components["schemas"]["LocationTypeEnum"]; osm_id?: number | null; osm_type?: (components["schemas"]["LocationOsmTypeEnum"] | components["schemas"]["BlankEnum"] | components["schemas"]["NullEnum"]) | null; website_url?: string | null; }; }, `${string}/${string}`>>; getLocation(id: number): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path: { id: number; }; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Location"]; }; }; }; }, { params: { path: { id: number; }; }; }, `${string}/${string}`>>; compareLocations(query: CompareLocationsQuery): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query: { date__gte?: string; date__lte?: string; location_id_a: number; location_id_b: number; price_is_discounted?: boolean; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["LocationCompare"]; }; }; }; }, { params: { query: { date__gte?: string; date__lte?: string; location_id_a: number; location_id_b: number; price_is_discounted?: boolean; }; }; }, `${string}/${string}`>>; getLocationByOSM(osm_type: OSMType, osm_id: number): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path: { osm_id: number; osm_type: "NODE" | "RELATION" | "WAY"; }; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Location"]; }; }; }; }, { params: { path: { osm_type: "NODE" | "WAY" | "RELATION"; osm_id: number; }; }; }, `${string}/${string}`>>; getOSMCountries(query?: GetOSMCountriesQuery): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: { page?: number; size?: number; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PaginatedCountryList"]; }; }; }; }, { params: { query: { page?: number; size?: number; }; }; }, `${string}/${string}`>>; getOSMCountryCities(country_code: string, query?: GetOSMCountryCitiesQuery): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: { page?: number; size?: number; }; header?: never; path: { country_code: string; }; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PaginatedCountryCityList"]; }; }; }; }, { params: { path: { country_code: string; }; query: { page?: number; size?: number; }; }; }, `${string}/${string}`>>; getProducts(query?: GetProductsQuery): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: { brands__like?: string; brands_tags__contains?: string; categories_tags__contains?: string; code?: string; ecoscore_grade?: string; labels_tags__contains?: string; nova_group?: number; nutriscore_grade?: string; order_by?: string; page?: number; price_count?: number; price_count__gte?: number; price_count__lte?: number; product_name__like?: string; size?: number; source?: "obf" | "off" | "opf" | "opff" | null; source__isnull?: boolean; unique_scans_n__gte?: number; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PaginatedProductFullList"]; }; }; }; }, { params: { query: { brands__like?: string; brands_tags__contains?: string; categories_tags__contains?: string; code?: string; ecoscore_grade?: string; labels_tags__contains?: string; nova_group?: number; nutriscore_grade?: string; order_by?: string; page?: number; price_count?: number; price_count__gte?: number; price_count__lte?: number; product_name__like?: string; size?: number; source?: "obf" | "off" | "opf" | "opff" | null; source__isnull?: boolean; unique_scans_n__gte?: number; }; }; }, `${string}/${string}`>>; getProduct(id: number): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path: { id: number; }; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProductFull"]; }; }; }; }, { params: { path: { id: number; }; }; }, `${string}/${string}`>>; getProductByCode(code: string): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path: { code: string; }; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProductFull"]; }; }; }; }, { params: { path: { code: string; }; }; }, `${string}/${string}`>>; triggerOFFUpdate(code: string, body: ProductOFFUpdateBody): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path: { code: string; }; cookie?: never; }; requestBody?: { content: { "application/json": components["schemas"]["PatchedProductFull"]; "application/x-www-form-urlencoded": components["schemas"]["PatchedProductFull"]; "multipart/form-data": components["schemas"]["PatchedProductFull"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProductFull"]; }; }; }; }, { params: { path: { code: string; }; }; body: { readonly id?: number; code?: string; source?: (components["schemas"]["SourceEnum"] | components["schemas"]["BlankEnum"] | components["schemas"]["NullEnum"]) | null; source_last_synced?: string | null; product_name?: string | null; image_url?: string | null; product_quantity?: number | null; product_quantity_unit?: string | null; categories_tags?: string[]; brands?: string | null; brands_tags?: string[]; labels_tags?: string[]; nutriscore_grade?: string | null; ecoscore_grade?: string | null; nova_group?: number | null; unique_scans_n?: number | null; price_count?: number; price_currency_count?: number; location_count?: number; location_type_osm_country_count?: number; user_count?: number; proof_count?: number; created?: string; readonly updated?: string; }; }, `${string}/${string}`>>; triggerOFFUploadImage(code: string, body: ProductOFFUploadImageBody): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path: { code: string; }; cookie?: never; }; requestBody?: { content: { "application/json": components["schemas"]["PatchedProductFull"]; "application/x-www-form-urlencoded": components["schemas"]["PatchedProductFull"]; "multipart/form-data": components["schemas"]["PatchedProductFull"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProductFull"]; }; }; }; }, { params: { path: { code: string; }; }; body: { readonly id?: number; code?: string; source?: (components["schemas"]["SourceEnum"] | components["schemas"]["BlankEnum"] | components["schemas"]["NullEnum"]) | null; source_last_synced?: string | null; product_name?: string | null; image_url?: string | null; product_quantity?: number | null; product_quantity_unit?: string | null; categories_tags?: string[]; brands?: string | null; brands_tags?: string[]; labels_tags?: string[]; nutriscore_grade?: string | null; ecoscore_grade?: string | null; nova_group?: number | null; unique_scans_n?: number | null; price_count?: number; price_currency_count?: number; location_count?: number; location_type_osm_country_count?: number; user_count?: number; proof_count?: number; created?: string; readonly updated?: string; }; }, `${string}/${string}`>>; getUsers(query?: GetUsersQuery): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: { order_by?: string; page?: number; price_count?: number; price_count__gte?: number; price_count__lte?: number; size?: number; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PaginatedUserList"]; }; }; }; }, { params: { query: { order_by?: string; page?: number; price_count?: number; price_count__gte?: number; price_count__lte?: number; size?: number; }; }; }, `${string}/${string}`>>; getUser(user_id: string): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path: { user_id: string; }; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["User"]; }; }; }; }, { params: { path: { user_id: string; }; }; }, `${string}/${string}`>>; getChallenges(query?: GetChallengesQuery): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: { end_date__gt?: string; end_date__gte?: string; end_date__lt?: string; end_date__lte?: string; end_date__month?: number; end_date__year?: number; id?: number; is_published?: boolean; order_by?: string; page?: number; size?: number; start_date__gt?: string; start_date__gte?: string; start_date__lt?: string; start_date__lte?: string; start_date__month?: number; start_date__year?: number; status?: "COMPLETED" | "DRAFT" | "ONGOING" | "UPCOMING"; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PaginatedChallengeList"]; }; }; }; }, { params: { query: { end_date__gt?: string; end_date__gte?: string; end_date__lt?: string; end_date__lte?: string; end_date__month?: number; end_date__year?: number; id?: number; is_published?: boolean; order_by?: string; page?: number; size?: number; start_date__gt?: string; start_date__gte?: string; start_date__lt?: string; start_date__lte?: string; start_date__month?: number; start_date__year?: number; status?: "COMPLETED" | "DRAFT" | "ONGOING" | "UPCOMING"; }; }; }, `${string}/${string}`>>; getChallenge(id: number): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path: { id: number; }; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Challenge"]; }; }; }; }, { params: { path: { id: number; }; }; }, `${string}/${string}`>>; getPriceTags(query?: GetPriceTagsQuery): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: { created__gte?: string; created__lte?: string; order_by?: string; page?: number; prediction_count?: number; prediction_count__gte?: number; prediction_count__lte?: number; price_id?: number; proof__location__osm_address_country_code?: string; proof__owner?: string; proof__ready_for_price_tag_validation?: boolean; proof_id?: number; size?: number; status?: 0 | 1 | 10 | 2 | 3 | 4 | 5 | null; status__isnull?: boolean; tags__contains?: string; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PaginatedPriceTagFullList"]; }; }; }; }, { params: { query: { created__gte?: string; created__lte?: string; order_by?: string; page?: number; prediction_count?: number; prediction_count__gte?: number; prediction_count__lte?: number; price_id?: number; proof__location__osm_address_country_code?: string; proof__owner?: string; proof__ready_for_price_tag_validation?: boolean; proof_id?: number; size?: number; status?: 0 | 1 | 10 | 2 | 3 | 4 | 5 | null; status__isnull?: boolean; tags__contains?: string; }; }; }, `${string}/${string}`>>; createPriceTag(body: PriceTagCreate): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["PriceTagCreate"]; "application/x-www-form-urlencoded": components["schemas"]["PriceTagCreate"]; "multipart/form-data": components["schemas"]["PriceTagCreate"]; }; }; responses: { 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PriceTagCreate"]; }; }; }; }, { body: { bounding_box: number[]; status?: (components["schemas"]["PriceTagStatusEnum"] | components["schemas"]["NullEnum"]) | null; price_id?: number; proof_id: number; }; }, `${string}/${string}`>>; getPriceTag(id: number): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path: { id: number; }; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PriceTagFull"]; }; }; }; }, { params: { path: { id: number; }; }; }, `${string}/${string}`>>; updatePriceTag(id: number, body: PriceTagUpdate): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path: { id: number; }; cookie?: never; }; requestBody?: { content: { "application/json": components["schemas"]["PatchedPriceTagUpdate"]; "application/x-www-form-urlencoded": components["schemas"]["PatchedPriceTagUpdate"]; "multipart/form-data": components["schemas"]["PatchedPriceTagUpdate"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PriceTagUpdate"]; }; }; }; }, { params: { path: { id: number; }; }; body: { bounding_box?: number[]; status?: (components["schemas"]["PriceTagStatusEnum"] | components["schemas"]["NullEnum"]) | null; price_id?: number; }; }, `${string}/${string}`>>; deletePriceTag(id: number): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path: { id: number; }; cookie?: never; }; requestBody?: never; responses: { 204: { headers: { [name: string]: unknown; }; content?: never; }; }; }, { params: { path: { id: number; }; }; }, `${string}/${string}`>>; getReceiptItems(query?: GetReceiptItemsQuery): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: { created__gte?: string; created__lte?: string; order_by?: string; page?: number; proof__owner?: string; proof_id?: number; size?: number; status?: 0 | 1 | null; status__isnull?: boolean; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PaginatedReceiptItemFullList"]; }; }; }; }, { params: { query: { created__gte?: string; created__lte?: string; order_by?: string; page?: number; proof__owner?: string; proof_id?: number; size?: number; status?: 0 | 1 | null; status__isnull?: boolean; }; }; }, `${string}/${string}`>>; createReceiptItem(body: ReceiptItemCreate): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["ReceiptItemFull"]; "application/x-www-form-urlencoded": components["schemas"]["ReceiptItemFull"]; "multipart/form-data": components["schemas"]["ReceiptItemFull"]; }; }; responses: { 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ReceiptItemFull"]; }; }; }; }, { body: { readonly id: number; proof_id: number; price_id: number; order: number; predicted_data?: unknown; status?: (components["schemas"]["ReceiptItemFullStatusEnum"] | components["schemas"]["BlankEnum"] | components["schemas"]["NullEnum"]) | null; schema_version?: string | null; created?: string; readonly updated: string; proof_prediction?: number | null; }; }, `${string}/${string}`>>; getReceiptItem(id: number): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path: { id: number; }; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ReceiptItemFull"]; }; }; }; }, { params: { path: { id: number; }; }; }, `${string}/${string}`>>; updateReceiptItem(id: number, body: ReceiptItemUpdate): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path: { id: number; }; cookie?: never; }; requestBody?: { content: { "application/json": components["schemas"]["PatchedReceiptItemFull"]; "application/x-www-form-urlencoded": components["schemas"]["PatchedReceiptItemFull"]; "multipart/form-data": components["schemas"]["PatchedReceiptItemFull"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ReceiptItemFull"]; }; }; }; }, { params: { path: { id: number; }; }; body: { readonly id?: number; proof_id?: number; price_id?: number; order?: number; predicted_data?: unknown; status?: (components["schemas"]["ReceiptItemFullStatusEnum"] | components["schemas"]["BlankEnum"] | components["schemas"]["NullEnum"]) | null; schema_version?: string | null; created?: string; readonly updated?: string; proof_prediction?: number | null; }; }, `${string}/${string}`>>; deleteReceiptItem(id: number): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path: { id: number; }; cookie?: never; }; requestBody?: never; responses: { 204: { headers: { [name: string]: unknown; }; content?: never; }; }; }, { params: { path: { id: number; }; }; }, `${string}/${string}`>>; getFlags(query?: GetFlagsQuery): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: { content_type?: ("PRICE" | "PROOF")[]; object_id?: number; order_by?: string; page?: number; reason?: ("OTHER" | "WRONG_CURRENCY" | "WRONG_DATE" | "WRONG_LOCATION" | "WRONG_PRICE_VALUE" | "WRONG_PRODUCT" | "WRONG_TYPE")[]; size?: number; status?: "CLOSED" | "OPEN"; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PaginatedFlagList"]; }; }; }; }, { params: { query: { content_type?: ("PRICE" | "PROOF")[]; object_id?: number; order_by?: string; page?: number; reason?: ("OTHER" | "WRONG_CURRENCY" | "WRONG_DATE" | "WRONG_LOCATION" | "WRONG_PRICE_VALUE" | "WRONG_PRODUCT" | "WRONG_TYPE")[]; size?: number; status?: "CLOSED" | "OPEN"; }; }; }, `${string}/${string}`>>; updateFlag(id: number, body: FlagUpdate): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path: { id: number; }; cookie?: never; }; requestBody?: { content: { "application/json": components["schemas"]["PatchedFlagUpdate"]; "application/x-www-form-urlencoded": components["schemas"]["PatchedFlagUpdate"]; "multipart/form-data": components["schemas"]["PatchedFlagUpdate"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["FlagUpdate"]; }; }; }; }, { params: { path: { id: number; }; }; body: { status?: components["schemas"]["FlagStatusEnum"]; }; }, `${string}/${string}`>>; login(body: { username: string; password: string; }): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/x-www-form-urlencoded": components["schemas"]["Login"]; "multipart/form-data": components["schemas"]["Login"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["SessionResponse"]; }; }; }; }, _$openapi_fetch0.FetchOptions<{ parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/x-www-form-urlencoded": components["schemas"]["Login"]; "multipart/form-data": components["schemas"]["Login"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["SessionResponse"]; }; }; }; }> | undefined, `${string}/${string}`>>; getSession(): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["SessionFull"]; }; }; }; }, _$openapi_fetch0.FetchOptions<{ parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["SessionFull"]; }; }; }; }> | undefined, `${string}/${string}`>>; deleteSession(): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 204: { headers: { [name: string]: unknown; }; content?: never; }; }; }, _$openapi_fetch0.FetchOptions<{ parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 204: { headers: { [name: string]: unknown; }; content?: never; }; }; }> | undefined, `${string}/${string}`>>; uploadProof(body: { file: Blob; }): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "multipart/form-data": components["schemas"]["ProofUpload"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProofFull"]; }; }; }; }, _$openapi_fetch0.FetchOptions<{ parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "multipart/form-data": components["schemas"]["ProofUpload"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProofFull"]; }; }; }; }> | undefined, `${string}/${string}`>>; getProofs(): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: { created__gte?: string; created__lte?: string; currency?: "ADP" | "AED" | "AFA" | "AFN" | "ALK" | "ALL" | "AMD" | "ANG" | "AOA" | "AOK" | "AON" | "AOR" | "ARA" | "ARL" | "ARM" | "ARP" | "ARS" | "ATS" | "AUD" | "AWG" | "AZM" | "AZN" | "BAD" | "BAM" | "BAN" | "BBD" | "BDT" | "BEC" | "BEF" | "BEL" | "BGL" | "BGM" | "BGN" | "BGO" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOL" | "BOP" | "BOV" | "BRB" | "BRC" | "BRE" | "BRL" | "BRN" | "BRR" | "BRZ" | "BSD" | "BTN" | "BUK" | "BWP" | "BYB" | "BYN" | "BYR" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLE" | "CLF" | "CLP" | "CNH" | "CNX" | "CNY" | "COP" | "COU" | "CRC" | "CSD" | "CSK" | "CUC" | "CUP" | "CVE" | "CYP" | "CZK" | "DDM" | "DEM" | "DJF" | "DKK" | "DOP" | "DZD" | "ECS" | "ECV" | "EEK" | "EGP" | "ERN" | "ESA" | "ESB" | "ESP" | "ETB" | "EUR" | "FIM" | "FJD" | "FKP" | "FRF" | "GBP" | "GEK" | "GEL" | "GHC" | "GHS" | "GIP" | "GMD" | "GNF" | "GNS" | "GQE" | "GRD" | "GTQ" | "GWE" | "GWP" | "GYD" | "HKD" | "HNL" | "HRD" | "HRK" | "HTG" | "HUF" | "IDR" | "IEP" | "ILP" | "ILR" | "ILS" | "INR" | "IQD" | "IRR" | "ISJ" | "ISK" | "ITL" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRH" | "KRO" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LTT" | "LUC" | "LUF" | "LUL" | "LVL" | "LVR" | "LYD" | "MAD" | "MAF" | "MCF" | "MDC" | "MDL" | "MGA" | "MGF" | "MKD" | "MKN" | "MLF" | "MMK" | "MNT" | "MOP" | "MRO" | "MRU" | "MTL" | "MTP" | "MUR" | "MVP" | "MVR" | "MWK" | "MXN" | "MXP" | "MXV" | "MYR" | "MZE" | "MZM" | "MZN" | "NAD" | "NGN" | "NIC" | "NIO" | "NLG" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEI" | "PEN" | "PES" | "PGK" | "PHP" | "PKR" | "PLN" | "PLZ" | "PTE" | "PYG" | "QAR" | "RHD" | "ROL" | "RON" | "RSD" | "RUB" | "RUR" | "RWF" | "SAR" | "SBD" | "SCR" | "SDD" | "SDG" | "SDP" | "SEK" | "SGD" | "SHP" | "SIT" | "SKK" | "SLE" | "SLL" | "SOS" | "SRD" | "SRG" | "SSP" | "STD" | "STN" | "SUR" | "SVC" | "SYP" | "SZL" | "THB" | "TJR" | "TJS" | "TMM" | "TMT" | "TND" | "TOP" | "TPE" | "TRL" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UAK" | "UGS" | "UGX" | "USD" | "USN" | "USS" | "UYI" | "UYP" | "UYU" | "UYW" | "UZS" | "VEB" | "VED" | "VEF" | "VES" | "VND" | "VNN" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XCG" | "XDR" | "XEU" | "XFO" | "XFU" | "XOF" | "XPD" | "XPF" | "XPT" | "XRE" | "XSU" | "XTS" | "XUA" | "XXX" | "YDD" | "YER" | "YUD" | "YUM" | "YUN" | "YUR" | "ZAL" | "ZAR" | "ZMK" | "ZMW" | "ZRN" | "ZRZ" | "ZWD" | "ZWG" | "ZWL" | "ZWR" | null; date?: string; date__gt?: string; date__gte?: string; date__lt?: string; date__lte?: string; date__month?: number; date__year?: number; image_md5_hash?: string; kind?: "COMMUNITY" | "CONSUMPTION"; location__type?: "ONLINE" | "OSM"; location_id?: number; location_id__in?: number[]; location_id__isnull?: boolean; location_osm_id?: number; location_osm_type?: "NODE" | "RELATION" | "WAY" | null; order_by?: string; owner?: string; page?: number; prediction_count?: number; prediction_count__gte?: number; prediction_count__lte?: number; price_count?: number; price_count__gte?: number; price_count__lte?: number; ready_for_price_tag_validation?: boolean; size?: number; tags__contains?: string; type?: ("GDPR_REQUEST" | "PRICE_TAG" | "RECEIPT" | "SHOP_IMPORT")[]; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PaginatedProofHalfFullList"]; }; }; }; }, _$openapi_fetch0.FetchOptions<{ parameters: { query?: { created__gte?: string; created__lte?: string; currency?: "ADP" | "AED" | "AFA" | "AFN" | "ALK" | "ALL" | "AMD" | "ANG" | "AOA" | "AOK" | "AON" | "AOR" | "ARA" | "ARL" | "ARM" | "ARP" | "ARS" | "ATS" | "AUD" | "AWG" | "AZM" | "AZN" | "BAD" | "BAM" | "BAN" | "BBD" | "BDT" | "BEC" | "BEF" | "BEL" | "BGL" | "BGM" | "BGN" | "BGO" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOL" | "BOP" | "BOV" | "BRB" | "BRC" | "BRE" | "BRL" | "BRN" | "BRR" | "BRZ" | "BSD" | "BTN" | "BUK" | "BWP" | "BYB" | "BYN" | "BYR" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLE" | "CLF" | "CLP" | "CNH" | "CNX" | "CNY" | "COP" | "COU" | "CRC" | "CSD" | "CSK" | "CUC" | "CUP" | "CVE" | "CYP" | "CZK" | "DDM" | "DEM" | "DJF" | "DKK" | "DOP" | "DZD" | "ECS" | "ECV" | "EEK" | "EGP" | "ERN" | "ESA" | "ESB" | "ESP" | "ETB" | "EUR" | "FIM" | "FJD" | "FKP" | "FRF" | "GBP" | "GEK" | "GEL" | "GHC" | "GHS" | "GIP" | "GMD" | "GNF" | "GNS" | "GQE" | "GRD" | "GTQ" | "GWE" | "GWP" | "GYD" | "HKD" | "HNL" | "HRD" | "HRK" | "HTG" | "HUF" | "IDR" | "IEP" | "ILP" | "ILR" | "ILS" | "INR" | "IQD" | "IRR" | "ISJ" | "ISK" | "ITL" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRH" | "KRO" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LTT" | "LUC" | "LUF" | "LUL" | "LVL" | "LVR" | "LYD" | "MAD" | "MAF" | "MCF" | "MDC" | "MDL" | "MGA" | "MGF" | "MKD" | "MKN" | "MLF" | "MMK" | "MNT" | "MOP" | "MRO" | "MRU" | "MTL" | "MTP" | "MUR" | "MVP" | "MVR" | "MWK" | "MXN" | "MXP" | "MXV" | "MYR" | "MZE" | "MZM" | "MZN" | "NAD" | "NGN" | "NIC" | "NIO" | "NLG" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEI" | "PEN" | "PES" | "PGK" | "PHP" | "PKR" | "PLN" | "PLZ" | "PTE" | "PYG" | "QAR" | "RHD" | "ROL" | "RON" | "RSD" | "RUB" | "RUR" | "RWF" | "SAR" | "SBD" | "SCR" | "SDD" | "SDG" | "SDP" | "SEK" | "SGD" | "SHP" | "SIT" | "SKK" | "SLE" | "SLL" | "SOS" | "SRD" | "SRG" | "SSP" | "STD" | "STN" | "SUR" | "SVC" | "SYP" | "SZL" | "THB" | "TJR" | "TJS" | "TMM" | "TMT" | "TND" | "TOP" | "TPE" | "TRL" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UAK" | "UGS" | "UGX" | "USD" | "USN" | "USS" | "UYI" | "UYP" | "UYU" | "UYW" | "UZS" | "VEB" | "VED" | "VEF" | "VES" | "VND" | "VNN" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XCG" | "XDR" | "XEU" | "XFO" | "XFU" | "XOF" | "XPD" | "XPF" | "XPT" | "XRE" | "XSU" | "XTS" | "XUA" | "XXX" | "YDD" | "YER" | "YUD" | "YUM" | "YUN" | "YUR" | "ZAL" | "ZAR" | "ZMK" | "ZMW" | "ZRN" | "ZRZ" | "ZWD" | "ZWG" | "ZWL" | "ZWR" | null; date?: string; date__gt?: string; date__gte?: string; date__lt?: string; date__lte?: string; date__month?: number; date__year?: number; image_md5_hash?: string; kind?: "COMMUNITY" | "CONSUMPTION"; location__type?: "ONLINE" | "OSM"; location_id?: number; location_id__in?: number[]; location_id__isnull?: boolean; location_osm_id?: number; location_osm_type?: "NODE" | "RELATION" | "WAY" | null; order_by?: string; owner?: string; page?: number; prediction_count?: number; prediction_count__gte?: number; prediction_count__lte?: number; price_count?: number; price_count__gte?: number; price_count__lte?: number; ready_for_price_tag_validation?: boolean; size?: number; tags__contains?: string; type?: ("GDPR_REQUEST" | "PRICE_TAG" | "RECEIPT" | "SHOP_IMPORT")[]; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PaginatedProofHalfFullList"]; }; }; }; }> | undefined, `${string}/${string}`>>; getProof(id: number): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path: { id: number; }; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProofFull"]; }; }; }; }, { params: { path: { id: number; }; }; }, `${string}/${string}`>>; updateProof(id: number, body: ProofUpdate): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path: { id: number; }; cookie?: never; }; requestBody?: { content: { "application/json": components["schemas"]["PatchedProofUpdate"]; "application/x-www-form-urlencoded": components["schemas"]["PatchedProofUpdate"]; "multipart/form-data": components["schemas"]["PatchedProofUpdate"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProofUpdate"]; }; }; }; }, { params: { path: { id: number; }; }; body: { location_osm_id?: number | null; location_osm_type?: (components["schemas"]["LocationOsmTypeEnum"] | components["schemas"]["BlankEnum"] | components["schemas"]["NullEnum"]) | null; type?: components["schemas"]["ProofTypeEnum"]; currency?: (components["schemas"]["CurrencyEnum"] | components["schemas"]["BlankEnum"] | components["schemas"]["NullEnum"]) | null; date?: string | null; receipt_price_count?: number | null; receipt_price_total?: number | null; receipt_online_delivery_costs?: number | null; ready_for_price_tag_validation?: boolean; owner_consumption?: boolean | null; owner_comment?: string | null; }; }, `${string}/${string}`>>; deleteProof(id: number): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path: { id: number; }; cookie?: never; }; requestBody?: never; responses: { 204: { headers: { [name: string]: unknown; }; content?: never; }; }; }, { params: { path: { id: number; }; }; }, `${string}/${string}`>>; getProofHistory(id: number, query?: GetProofHistoryQuery): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: { created__gte?: string; created__lte?: string; currency?: "ADP" | "AED" | "AFA" | "AFN" | "ALK" | "ALL" | "AMD" | "ANG" | "AOA" | "AOK" | "AON" | "AOR" | "ARA" | "ARL" | "ARM" | "ARP" | "ARS" | "ATS" | "AUD" | "AWG" | "AZM" | "AZN" | "BAD" | "BAM" | "BAN" | "BBD" | "BDT" | "BEC" | "BEF" | "BEL" | "BGL" | "BGM" | "BGN" | "BGO" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOL" | "BOP" | "BOV" | "BRB" | "BRC" | "BRE" | "BRL" | "BRN" | "BRR" | "BRZ" | "BSD" | "BTN" | "BUK" | "BWP" | "BYB" | "BYN" | "BYR" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLE" | "CLF" | "CLP" | "CNH" | "CNX" | "CNY" | "COP" | "COU" | "CRC" | "CSD" | "CSK" | "CUC" | "CUP" | "CVE" | "CYP" | "CZK" | "DDM" | "DEM" | "DJF" | "DKK" | "DOP" | "DZD" | "ECS" | "ECV" | "EEK" | "EGP" | "ERN" | "ESA" | "ESB" | "ESP" | "ETB" | "EUR" | "FIM" | "FJD" | "FKP" | "FRF" | "GBP" | "GEK" | "GEL" | "GHC" | "GHS" | "GIP" | "GMD" | "GNF" | "GNS" | "GQE" | "GRD" | "GTQ" | "GWE" | "GWP" | "GYD" | "HKD" | "HNL" | "HRD" | "HRK" | "HTG" | "HUF" | "IDR" | "IEP" | "ILP" | "ILR" | "ILS" | "INR" | "IQD" | "IRR" | "ISJ" | "ISK" | "ITL" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRH" | "KRO" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LTT" | "LUC" | "LUF" | "LUL" | "LVL" | "LVR" | "LYD" | "MAD" | "MAF" | "MCF" | "MDC" | "MDL" | "MGA" | "MGF" | "MKD" | "MKN" | "MLF" | "MMK" | "MNT" | "MOP" | "MRO" | "MRU" | "MTL" | "MTP" | "MUR" | "MVP" | "MVR" | "MWK" | "MXN" | "MXP" | "MXV" | "MYR" | "MZE" | "MZM" | "MZN" | "NAD" | "NGN" | "NIC" | "NIO" | "NLG" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEI" | "PEN" | "PES" | "PGK" | "PHP" | "PKR" | "PLN" | "PLZ" | "PTE" | "PYG" | "QAR" | "RHD" | "ROL" | "RON" | "RSD" | "RUB" | "RUR" | "RWF" | "SAR" | "SBD" | "SCR" | "SDD" | "SDG" | "SDP" | "SEK" | "SGD" | "SHP" | "SIT" | "SKK" | "SLE" | "SLL" | "SOS" | "SRD" | "SRG" | "SSP" | "STD" | "STN" | "SUR" | "SVC" | "SYP" | "SZL" | "THB" | "TJR" | "TJS" | "TMM" | "TMT" | "TND" | "TOP" | "TPE" | "TRL" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UAK" | "UGS" | "UGX" | "USD" | "USN" | "USS" | "UYI" | "UYP" | "UYU" | "UYW" | "UZS" | "VEB" | "VED" | "VEF" | "VES" | "VND" | "VNN" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XCG" | "XDR" | "XEU" | "XFO" | "XFU" | "XOF" | "XPD" | "XPF" | "XPT" | "XRE" | "XSU" | "XTS" | "XUA" | "XXX" | "YDD" | "YER" | "YUD" | "YUM" | "YUN" | "YUR" | "ZAL" | "ZAR" | "ZMK" | "ZMW" | "ZRN" | "ZRZ" | "ZWD" | "ZWG" | "ZWL" | "ZWR" | null; date?: string; date__gt?: string; date__gte?: string; date__lt?: string; date__lte?: string; date__month?: number; date__year?: number; image_md5_hash?: string; kind?: "COMMUNITY" | "CONSUMPTION"; location__type?: "ONLINE" | "OSM"; location_id?: number; location_id__in?: number[]; location_id__isnull?: boolean; location_osm_id?: number; location_osm_type?: "NODE" | "RELATION" | "WAY" | null; order_by?: string; owner?: string; page?: number; prediction_count?: number; prediction_count__gte?: number; prediction_count__lte?: number; price_count?: number; price_count__gte?: number; price_count__lte?: number; ready_for_price_tag_validation?: boolean; size?: number; tags__contains?: string; type?: ("GDPR_REQUEST" | "PRICE_TAG" | "RECEIPT" | "SHOP_IMPORT")[]; }; header?: never; path: { id: number; }; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PaginatedProofHistoryList"]; }; }; }; }, { params: { path: { id: number; }; query: { created__gte?: string; created__lte?: string; currency?: "ADP" | "AED" | "AFA" | "AFN" | "ALK" | "ALL" | "AMD" | "ANG" | "AOA" | "AOK" | "AON" | "AOR" | "ARA" | "ARL" | "ARM" | "ARP" | "ARS" | "ATS" | "AUD" | "AWG" | "AZM" | "AZN" | "BAD" | "BAM" | "BAN" | "BBD" | "BDT" | "BEC" | "BEF" | "BEL" | "BGL" | "BGM" | "BGN" | "BGO" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOL" | "BOP" | "BOV" | "BRB" | "BRC" | "BRE" | "BRL" | "BRN" | "BRR" | "BRZ" | "BSD" | "BTN" | "BUK" | "BWP" | "BYB" | "BYN" | "BYR" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLE" | "CLF" | "CLP" | "CNH" | "CNX" | "CNY" | "COP" | "COU" | "CRC" | "CSD" | "CSK" | "CUC" | "CUP" | "CVE" | "CYP" | "CZK" | "DDM" | "DEM" | "DJF" | "DKK" | "DOP" | "DZD" | "ECS" | "ECV" | "EEK" | "EGP" | "ERN" | "ESA" | "ESB" | "ESP" | "ETB" | "EUR" | "FIM" | "FJD" | "FKP" | "FRF" | "GBP" | "GEK" | "GEL" | "GHC" | "GHS" | "GIP" | "GMD" | "GNF" | "GNS" | "GQE" | "GRD" | "GTQ" | "GWE" | "GWP" | "GYD" | "HKD" | "HNL" | "HRD" | "HRK" | "HTG" | "HUF" | "IDR" | "IEP" | "ILP" | "ILR" | "ILS" | "INR" | "IQD" | "IRR" | "ISJ" | "ISK" | "ITL" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRH" | "KRO" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LTT" | "LUC" | "LUF" | "LUL" | "LVL" | "LVR" | "LYD" | "MAD" | "MAF" | "MCF" | "MDC" | "MDL" | "MGA" | "MGF" | "MKD" | "MKN" | "MLF" | "MMK" | "MNT" | "MOP" | "MRO" | "MRU" | "MTL" | "MTP" | "MUR" | "MVP" | "MVR" | "MWK" | "MXN" | "MXP" | "MXV" | "MYR" | "MZE" | "MZM" | "MZN" | "NAD" | "NGN" | "NIC" | "NIO" | "NLG" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEI" | "PEN" | "PES" | "PGK" | "PHP" | "PKR" | "PLN" | "PLZ" | "PTE" | "PYG" | "QAR" | "RHD" | "ROL" | "RON" | "RSD" | "RUB" | "RUR" | "RWF" | "SAR" | "SBD" | "SCR" | "SDD" | "SDG" | "SDP" | "SEK" | "SGD" | "SHP" | "SIT" | "SKK" | "SLE" | "SLL" | "SOS" | "SRD" | "SRG" | "SSP" | "STD" | "STN" | "SUR" | "SVC" | "SYP" | "SZL" | "THB" | "TJR" | "TJS" | "TMM" | "TMT" | "TND" | "TOP" | "TPE" | "TRL" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UAK" | "UGS" | "UGX" | "USD" | "USN" | "USS" | "UYI" | "UYP" | "UYU" | "UYW" | "UZS" | "VEB" | "VED" | "VEF" | "VES" | "VND" | "VNN" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XCG" | "XDR" | "XEU" | "XFO" | "XFU" | "XOF" | "XPD" | "XPF" | "XPT" | "XRE" | "XSU" | "XTS" | "XUA" | "XXX" | "YDD" | "YER" | "YUD" | "YUM" | "YUN" | "YUR" | "ZAL" | "ZAR" | "ZMK" | "ZMW" | "ZRN" | "ZRZ" | "ZWD" | "ZWG" | "ZWL" | "ZWR" | null; date?: string; date__gt?: string; date__gte?: string; date__lt?: string; date__lte?: string; date__month?: number; date__year?: number; image_md5_hash?: string; kind?: "COMMUNITY" | "CONSUMPTION"; location__type?: "ONLINE" | "OSM"; location_id?: number; location_id__in?: number[]; location_id__isnull?: boolean; location_osm_id?: number; location_osm_type?: "NODE" | "RELATION" | "WAY" | null; order_by?: string; owner?: string; page?: number; prediction_count?: number; prediction_count__gte?: number; prediction_count__lte?: number; price_count?: number; price_count__gte?: number; price_count__lte?: number; ready_for_price_tag_validation?: boolean; size?: number; tags__contains?: string; type?: ("GDPR_REQUEST" | "PRICE_TAG" | "RECEIPT" | "SHOP_IMPORT")[]; }; }; }, `${string}/${string}`>>; flagProof(id: number, body: ProofFlagCreate): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path: { id: number; }; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["FlagCreate"]; "application/x-www-form-urlencoded": components["schemas"]["FlagCreate"]; "multipart/form-data": components["schemas"]["FlagCreate"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Flag"]; }; }; }; }, { params: { path: { id: number; }; }; body: { reason: components["schemas"]["ReasonEnum"]; comment?: string | null; readonly content_object: string; }; }, `${string}/${string}`>>; processProofWithGemini(body: ProcessProofWithGeminiBody): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "multipart/form-data": components["schemas"]["ProofProcessWithGemini"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProofFull"]; }; }; }; }, { body: never; }, `${string}/${string}`>>; isAuthenticated(): Promise; getStats(): Promise<_$openapi_fetch0.FetchResponse<{ parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["TotalStats"]; }; }; }; }, _$openapi_fetch0.FetchOptions<{ parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["TotalStats"]; }; }; }; }> | undefined, `${string}/${string}`>>; getStatus(): Promise<{ status: string; }>; private getSchema; getCurrenciesList(): Promise; } //#endregion export { Challenge, CompareLocationsQuery, FlagUpdate, GetChallengesQuery, GetFlagsQuery, GetLocationsQuery, GetOSMCountriesQuery, GetOSMCountryCitiesQuery, GetPriceHistoryQuery, GetPriceTagsQuery, GetPricesStatsQuery, GetProductsQuery, GetProofHistoryQuery, GetReceiptItemsQuery, GetUsersQuery, Location, LocationCreate, OSMType, PriceFlag, PriceFlagCreate, PriceFull, PriceTag, PriceTagCreate, PriceTagUpdate, PriceUpdate, PricesApi, PricesCreate, ProcessProofWithGeminiBody, ProductFull, ProductOFFUpdateBody, ProductOFFUploadImageBody, ProofFlagCreate, ProofFull, ProofUpdate, ReceiptItem, ReceiptItemCreate, ReceiptItemUpdate }; //# sourceMappingURL=prices.d.ts.map