@ideal-postcodes/sdk 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +81 -0
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.d.cts +2 -2
- package/dist/autocomplete.d.ts +2 -2
- package/dist/autocomplete.mjs +1 -1
- package/dist/{chunk-66OILWCG.cjs → chunk-KYH2REIY.cjs} +1 -1
- package/dist/{chunk-SE457ZO7.mjs → chunk-PIHG63EO.mjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/{index.d-BuZcXRMe.d.cts → index.d-CUirxwnK.d.cts} +1 -1
- package/dist/{index.d-BuZcXRMe.d.ts → index.d-CUirxwnK.d.ts} +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.mjs +1 -1
- package/dist/preact-query.d.cts +89 -97
- package/dist/preact-query.d.ts +89 -97
- package/dist/react-query.d.cts +89 -97
- package/dist/react-query.d.ts +89 -97
- package/dist/{sdk.gen-DXgz6ZXa.d.ts → sdk.gen-DmRZ159b.d.ts} +5 -13
- package/dist/{sdk.gen-FPGSAY1n.d.cts → sdk.gen-DwbOJfyY.d.cts} +5 -13
- package/dist/{types.gen-DnHMLImU.d.cts → types.gen-DcN6bPz5.d.cts} +151 -244
- package/dist/{types.gen-DnHMLImU.d.ts → types.gen-DcN6bPz5.d.ts} +151 -244
- package/package.json +8 -7
package/dist/preact-query.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import type { dataTagSymbol, dataTagErrorSymbol } from "@tanstack/preact-query";
|
|
|
2
2
|
import * as _tanstack_react_query from '@tanstack/preact-query';
|
|
3
3
|
import * as _tanstack_preact_query from '@tanstack/preact-query';
|
|
4
4
|
import { UseMutationOptions, InfiniteData } from '@tanstack/preact-query';
|
|
5
|
-
import { O as Options } from './sdk.gen-
|
|
6
|
-
import { e as AddressCleanseData, h as AddressCleanseResponse, f as AddressCleanseError, n as AddressesData, an as CreateConfigData, aq as CreateConfigResponse, ao as CreateConfigError, as as CreateLicenseeData, av as CreateLicenseeResponse, at as CreateLicenseeError, az as DeleteConfigData, aC as DeleteConfigResponse, aA as DeleteConfigError, aE as DeleteLicenseeData, aH as DeleteLicenseeResponse, aF as DeleteLicenseeError, aP as EmailValidationData, F as FindAddressData, K as AutocompleteResponse, aV as ErrorResponse, a_ as FindPlaceData, ch as PlaceResponse, bg as KeyAvailabilityData, I as ApiKeyResponse, bl as KeyDetailsData, z as ApiKeyDetailsResponse, bq as KeyLogsData, bv as KeyUsageData, J as ApiKeyUsageResponse, bK as ListConfigsData, af as ConfigsResponse, bP as ListLicenseesData, bI as LicenseesResponse, c7 as PhoneNumberValidationData, P as PostcodesData, cy as RegenerateLicenseeKeyData, cB as RegenerateLicenseeKeyResponse, cz as RegenerateLicenseeKeyError,
|
|
5
|
+
import { O as Options } from './sdk.gen-DmRZ159b.js';
|
|
6
|
+
import { e as AddressCleanseData, h as AddressCleanseResponse, f as AddressCleanseError, n as AddressesData, an as CreateConfigData, aq as CreateConfigResponse, ao as CreateConfigError, as as CreateLicenseeData, av as CreateLicenseeResponse, at as CreateLicenseeError, az as DeleteConfigData, aC as DeleteConfigResponse, aA as DeleteConfigError, aE as DeleteLicenseeData, aH as DeleteLicenseeResponse, aF as DeleteLicenseeError, aP as EmailValidationData, F as FindAddressData, K as AutocompleteResponse, aV as ErrorResponse, a_ as FindPlaceData, ch as PlaceResponse, bg as KeyAvailabilityData, I as ApiKeyResponse, bl as KeyDetailsData, z as ApiKeyDetailsResponse, bq as KeyLogsData, bv as KeyUsageData, J as ApiKeyUsageResponse, bK as ListConfigsData, af as ConfigsResponse, bP as ListLicenseesData, bI as LicenseesResponse, c7 as PhoneNumberValidationData, P as PostcodesData, cy as RegenerateLicenseeKeyData, cB as RegenerateLicenseeKeyResponse, cz as RegenerateLicenseeKeyError, cE as ResolveAddressData, cI as ResolvePlaceData, cO as RetrieveConfigData, ad as ConfigResponse, cP as RetrieveConfigError, cT as RetrieveLicenseeData, bH as LicenseeResponse, d5 as UpdateConfigData, d8 as UpdateConfigResponse, d6 as UpdateConfigError, da as UpdateKeyDetailsData, dd as UpdateKeyDetailsResponse, db as UpdateKeyDetailsError, df as UpdateLicenseeData, di as UpdateLicenseeResponse, dg as UpdateLicenseeError, l as AddressResponse, o as AddressesError, aO as EmailResponse, c6 as PhoneNumberResponse, cr as PostcodeResponse, cu as PostcodesError, b6 as GbrResolveAddressResponse, cL as ResolvePlaceResponse } from './types.gen-DcN6bPz5.js';
|
|
7
7
|
|
|
8
8
|
type QueryKey<TOptions extends Options> = [
|
|
9
9
|
Pick<TOptions, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
@@ -12,13 +12,13 @@ type QueryKey<TOptions extends Options> = [
|
|
|
12
12
|
tags?: ReadonlyArray<string>;
|
|
13
13
|
}
|
|
14
14
|
];
|
|
15
|
-
declare const postcodesQueryKey: (options: Options<PostcodesData>) => [Pick<Options<PostcodesData>, "
|
|
15
|
+
declare const postcodesQueryKey: (options: Options<PostcodesData>) => [Pick<Options<PostcodesData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
16
16
|
_id: string;
|
|
17
17
|
_infinite?: boolean;
|
|
18
18
|
tags?: ReadonlyArray<string>;
|
|
19
19
|
}];
|
|
20
20
|
declare const postcodesInfiniteQueryKey: (options: Options<PostcodesData>) => QueryKey<Options<PostcodesData>>;
|
|
21
|
-
declare const keyAvailabilityQueryKey: (options: Options<KeyAvailabilityData>) => [Pick<Options<KeyAvailabilityData>, "
|
|
21
|
+
declare const keyAvailabilityQueryKey: (options: Options<KeyAvailabilityData>) => [Pick<Options<KeyAvailabilityData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
22
22
|
_id: string;
|
|
23
23
|
_infinite?: boolean;
|
|
24
24
|
tags?: ReadonlyArray<string>;
|
|
@@ -35,18 +35,18 @@ declare const keyAvailabilityQueryKey: (options: Options<KeyAvailabilityData>) =
|
|
|
35
35
|
* Supply a valid Management Key and the endpoint returns the key's private details instead, as `GET /keys/{key}/details` does. A Management Key that does not own the key is rejected.
|
|
36
36
|
*
|
|
37
37
|
*/
|
|
38
|
-
declare const keyAvailabilityOptions: (options: Options<KeyAvailabilityData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<ApiKeyResponse, ErrorResponse, ApiKeyResponse, [Pick<Options<KeyAvailabilityData>, "
|
|
38
|
+
declare const keyAvailabilityOptions: (options: Options<KeyAvailabilityData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<ApiKeyResponse, ErrorResponse, ApiKeyResponse, [Pick<Options<KeyAvailabilityData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
39
39
|
_id: string;
|
|
40
40
|
_infinite?: boolean;
|
|
41
41
|
tags?: ReadonlyArray<string>;
|
|
42
42
|
}]>, "queryFn"> & {
|
|
43
|
-
queryFn?: _tanstack_react_query.QueryFunction<ApiKeyResponse, [Pick<Options<KeyAvailabilityData>, "
|
|
43
|
+
queryFn?: _tanstack_react_query.QueryFunction<ApiKeyResponse, [Pick<Options<KeyAvailabilityData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
44
44
|
_id: string;
|
|
45
45
|
_infinite?: boolean;
|
|
46
46
|
tags?: ReadonlyArray<string>;
|
|
47
47
|
}], never> | undefined;
|
|
48
48
|
} & {
|
|
49
|
-
queryKey: [Pick<Options<KeyAvailabilityData>, "
|
|
49
|
+
queryKey: [Pick<Options<KeyAvailabilityData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
50
50
|
_id: string;
|
|
51
51
|
_infinite?: boolean;
|
|
52
52
|
tags?: ReadonlyArray<string>;
|
|
@@ -55,7 +55,7 @@ declare const keyAvailabilityOptions: (options: Options<KeyAvailabilityData>) =>
|
|
|
55
55
|
[dataTagErrorSymbol]: ErrorResponse;
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
|
-
declare const keyDetailsQueryKey: (options: Options<KeyDetailsData>) => [Pick<Options<KeyDetailsData>, "
|
|
58
|
+
declare const keyDetailsQueryKey: (options: Options<KeyDetailsData>) => [Pick<Options<KeyDetailsData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
59
59
|
_id: string;
|
|
60
60
|
_infinite?: boolean;
|
|
61
61
|
tags?: ReadonlyArray<string>;
|
|
@@ -65,18 +65,18 @@ declare const keyDetailsQueryKey: (options: Options<KeyDetailsData>) => [Pick<Op
|
|
|
65
65
|
*
|
|
66
66
|
* Returns private data on a key: remaining lookups, licensed datasets, usage limits, notification settings and the search contexts the key can serve.
|
|
67
67
|
*/
|
|
68
|
-
declare const keyDetailsOptions: (options: Options<KeyDetailsData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<ApiKeyDetailsResponse, ErrorResponse, ApiKeyDetailsResponse, [Pick<Options<KeyDetailsData>, "
|
|
68
|
+
declare const keyDetailsOptions: (options: Options<KeyDetailsData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<ApiKeyDetailsResponse, ErrorResponse, ApiKeyDetailsResponse, [Pick<Options<KeyDetailsData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
69
69
|
_id: string;
|
|
70
70
|
_infinite?: boolean;
|
|
71
71
|
tags?: ReadonlyArray<string>;
|
|
72
72
|
}]>, "queryFn"> & {
|
|
73
|
-
queryFn?: _tanstack_react_query.QueryFunction<ApiKeyDetailsResponse, [Pick<Options<KeyDetailsData>, "
|
|
73
|
+
queryFn?: _tanstack_react_query.QueryFunction<ApiKeyDetailsResponse, [Pick<Options<KeyDetailsData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
74
74
|
_id: string;
|
|
75
75
|
_infinite?: boolean;
|
|
76
76
|
tags?: ReadonlyArray<string>;
|
|
77
77
|
}], never> | undefined;
|
|
78
78
|
} & {
|
|
79
|
-
queryKey: [Pick<Options<KeyDetailsData>, "
|
|
79
|
+
queryKey: [Pick<Options<KeyDetailsData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
80
80
|
_id: string;
|
|
81
81
|
_infinite?: boolean;
|
|
82
82
|
tags?: ReadonlyArray<string>;
|
|
@@ -88,10 +88,10 @@ declare const keyDetailsOptions: (options: Options<KeyDetailsData>) => _tanstack
|
|
|
88
88
|
/**
|
|
89
89
|
* Update Details
|
|
90
90
|
*
|
|
91
|
-
* Updates a key's settings and returns its private details. Only the fields you send change. A key on an unlimited plan ignores changes to `datasets`, `daily_limit` and `monthly_limit`.
|
|
91
|
+
* Updates a key's settings and returns its private details. Only the fields you send change. A key on an unlimited plan ignores changes to `datasets`, `daily_limit` and `monthly_limit`. Datasets set by your plan cannot be changed here: sending one with a different value returns a 400.
|
|
92
92
|
*/
|
|
93
93
|
declare const updateKeyDetailsMutation: (options?: Partial<Options<UpdateKeyDetailsData>>) => UseMutationOptions<UpdateKeyDetailsResponse, UpdateKeyDetailsError, Options<UpdateKeyDetailsData>>;
|
|
94
|
-
declare const keyUsageQueryKey: (options: Options<KeyUsageData>) => [Pick<Options<KeyUsageData>, "
|
|
94
|
+
declare const keyUsageQueryKey: (options: Options<KeyUsageData>) => [Pick<Options<KeyUsageData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
95
95
|
_id: string;
|
|
96
96
|
_infinite?: boolean;
|
|
97
97
|
tags?: ReadonlyArray<string>;
|
|
@@ -106,18 +106,18 @@ declare const keyUsageQueryKey: (options: Options<KeyUsageData>) => [Pick<Option
|
|
|
106
106
|
* Query at most three tags at once.
|
|
107
107
|
*
|
|
108
108
|
*/
|
|
109
|
-
declare const keyUsageOptions: (options: Options<KeyUsageData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<ApiKeyUsageResponse, ErrorResponse, ApiKeyUsageResponse, [Pick<Options<KeyUsageData>, "
|
|
109
|
+
declare const keyUsageOptions: (options: Options<KeyUsageData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<ApiKeyUsageResponse, ErrorResponse, ApiKeyUsageResponse, [Pick<Options<KeyUsageData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
110
110
|
_id: string;
|
|
111
111
|
_infinite?: boolean;
|
|
112
112
|
tags?: ReadonlyArray<string>;
|
|
113
113
|
}]>, "queryFn"> & {
|
|
114
|
-
queryFn?: _tanstack_react_query.QueryFunction<ApiKeyUsageResponse, [Pick<Options<KeyUsageData>, "
|
|
114
|
+
queryFn?: _tanstack_react_query.QueryFunction<ApiKeyUsageResponse, [Pick<Options<KeyUsageData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
115
115
|
_id: string;
|
|
116
116
|
_infinite?: boolean;
|
|
117
117
|
tags?: ReadonlyArray<string>;
|
|
118
118
|
}], never> | undefined;
|
|
119
119
|
} & {
|
|
120
|
-
queryKey: [Pick<Options<KeyUsageData>, "
|
|
120
|
+
queryKey: [Pick<Options<KeyUsageData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
121
121
|
_id: string;
|
|
122
122
|
_infinite?: boolean;
|
|
123
123
|
tags?: ReadonlyArray<string>;
|
|
@@ -137,27 +137,27 @@ declare const keyUsageInfiniteQueryKey: (options: Options<KeyUsageData>) => Quer
|
|
|
137
137
|
* Query at most three tags at once.
|
|
138
138
|
*
|
|
139
139
|
*/
|
|
140
|
-
declare const keyUsageInfiniteOptions: (options: Options<KeyUsageData>) => _tanstack_preact_query.UseInfiniteQueryOptions<ApiKeyUsageResponse, ErrorResponse, InfiniteData<ApiKeyUsageResponse, unknown>, QueryKey<Options<KeyUsageData>>, number | Pick<Pick<Options<KeyUsageData>, "
|
|
140
|
+
declare const keyUsageInfiniteOptions: (options: Options<KeyUsageData>) => _tanstack_preact_query.UseInfiniteQueryOptions<ApiKeyUsageResponse, ErrorResponse, InfiniteData<ApiKeyUsageResponse, unknown>, QueryKey<Options<KeyUsageData>>, number | Pick<Pick<Options<KeyUsageData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
141
141
|
_id: string;
|
|
142
142
|
_infinite?: boolean;
|
|
143
143
|
tags?: ReadonlyArray<string>;
|
|
144
|
-
}, "
|
|
145
|
-
initialData: InfiniteData<ApiKeyUsageResponse, number | Pick<Pick<Options<KeyUsageData>, "
|
|
144
|
+
}, "query" | "body" | "path" | "headers">> & {
|
|
145
|
+
initialData: InfiniteData<ApiKeyUsageResponse, number | Pick<Pick<Options<KeyUsageData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
146
146
|
_id: string;
|
|
147
147
|
_infinite?: boolean;
|
|
148
148
|
tags?: ReadonlyArray<string>;
|
|
149
|
-
}, "
|
|
149
|
+
}, "query" | "body" | "path" | "headers">> | (() => InfiniteData<ApiKeyUsageResponse, number | Pick<Pick<Options<KeyUsageData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
150
150
|
_id: string;
|
|
151
151
|
_infinite?: boolean;
|
|
152
152
|
tags?: ReadonlyArray<string>;
|
|
153
|
-
}, "
|
|
153
|
+
}, "query" | "body" | "path" | "headers">>) | undefined;
|
|
154
154
|
} & {
|
|
155
155
|
queryKey: QueryKey<Options<KeyUsageData>> & {
|
|
156
156
|
[dataTagSymbol]: InfiniteData<ApiKeyUsageResponse, unknown>;
|
|
157
157
|
[dataTagErrorSymbol]: ErrorResponse;
|
|
158
158
|
};
|
|
159
159
|
};
|
|
160
|
-
declare const keyLogsQueryKey: (options: Options<KeyLogsData>) => [Pick<Options<KeyLogsData>, "
|
|
160
|
+
declare const keyLogsQueryKey: (options: Options<KeyLogsData>) => [Pick<Options<KeyLogsData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
161
161
|
_id: string;
|
|
162
162
|
_infinite?: boolean;
|
|
163
163
|
tags?: ReadonlyArray<string>;
|
|
@@ -198,18 +198,18 @@ declare const keyLogsQueryKey: (options: Options<KeyLogsData>) => [Pick<Options<
|
|
|
198
198
|
* Set the interval to `0` days to prevent PII collection altogether.
|
|
199
199
|
*
|
|
200
200
|
*/
|
|
201
|
-
declare const keyLogsOptions: (options: Options<KeyLogsData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<string, ErrorResponse, string, [Pick<Options<KeyLogsData>, "
|
|
201
|
+
declare const keyLogsOptions: (options: Options<KeyLogsData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<string, ErrorResponse, string, [Pick<Options<KeyLogsData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
202
202
|
_id: string;
|
|
203
203
|
_infinite?: boolean;
|
|
204
204
|
tags?: ReadonlyArray<string>;
|
|
205
205
|
}]>, "queryFn"> & {
|
|
206
|
-
queryFn?: _tanstack_react_query.QueryFunction<string, [Pick<Options<KeyLogsData>, "
|
|
206
|
+
queryFn?: _tanstack_react_query.QueryFunction<string, [Pick<Options<KeyLogsData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
207
207
|
_id: string;
|
|
208
208
|
_infinite?: boolean;
|
|
209
209
|
tags?: ReadonlyArray<string>;
|
|
210
210
|
}], never> | undefined;
|
|
211
211
|
} & {
|
|
212
|
-
queryKey: [Pick<Options<KeyLogsData>, "
|
|
212
|
+
queryKey: [Pick<Options<KeyLogsData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
213
213
|
_id: string;
|
|
214
214
|
_infinite?: boolean;
|
|
215
215
|
tags?: ReadonlyArray<string>;
|
|
@@ -255,20 +255,20 @@ declare const keyLogsInfiniteQueryKey: (options: Options<KeyLogsData>) => QueryK
|
|
|
255
255
|
* Set the interval to `0` days to prevent PII collection altogether.
|
|
256
256
|
*
|
|
257
257
|
*/
|
|
258
|
-
declare const keyLogsInfiniteOptions: (options: Options<KeyLogsData>) => _tanstack_preact_query.UseInfiniteQueryOptions<string, ErrorResponse, InfiniteData<string, unknown>, QueryKey<Options<KeyLogsData>>, number | Pick<Pick<Options<KeyLogsData>, "
|
|
258
|
+
declare const keyLogsInfiniteOptions: (options: Options<KeyLogsData>) => _tanstack_preact_query.UseInfiniteQueryOptions<string, ErrorResponse, InfiniteData<string, unknown>, QueryKey<Options<KeyLogsData>>, number | Pick<Pick<Options<KeyLogsData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
259
259
|
_id: string;
|
|
260
260
|
_infinite?: boolean;
|
|
261
261
|
tags?: ReadonlyArray<string>;
|
|
262
|
-
}, "
|
|
263
|
-
initialData: InfiniteData<string, number | Pick<Pick<Options<KeyLogsData>, "
|
|
262
|
+
}, "query" | "body" | "path" | "headers">> & {
|
|
263
|
+
initialData: InfiniteData<string, number | Pick<Pick<Options<KeyLogsData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
264
264
|
_id: string;
|
|
265
265
|
_infinite?: boolean;
|
|
266
266
|
tags?: ReadonlyArray<string>;
|
|
267
|
-
}, "
|
|
267
|
+
}, "query" | "body" | "path" | "headers">> | (() => InfiniteData<string, number | Pick<Pick<Options<KeyLogsData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
268
268
|
_id: string;
|
|
269
269
|
_infinite?: boolean;
|
|
270
270
|
tags?: ReadonlyArray<string>;
|
|
271
|
-
}, "
|
|
271
|
+
}, "query" | "body" | "path" | "headers">>) | undefined;
|
|
272
272
|
} & {
|
|
273
273
|
queryKey: QueryKey<Options<KeyLogsData>> & {
|
|
274
274
|
[dataTagSymbol]: InfiniteData<string, unknown>;
|
|
@@ -284,17 +284,9 @@ declare const keyLogsInfiniteOptions: (options: Options<KeyLogsData>) => _tansta
|
|
|
284
284
|
*
|
|
285
285
|
* ## Countries
|
|
286
286
|
*
|
|
287
|
-
* Cleanse defaults to the UK. Pass `context` with an ISO 3166-1 alpha-3 country
|
|
288
|
-
* code to cleanse an address elsewhere, e.g. `context=USA` or `context=FRA`. The
|
|
289
|
-
* address datasets your key is licensed for decide which countries it can
|
|
290
|
-
* cleanse.
|
|
287
|
+
* Cleanse defaults to the UK. Pass `context` with an ISO 3166-1 alpha-3 country code to cleanse an address elsewhere, e.g. `context=USA` or `context=FRA`. The address datasets your key is licensed for decide which countries it can cleanse.
|
|
291
288
|
*
|
|
292
|
-
* The response shape is the same for every country: a standardised address in
|
|
293
|
-
* `match`, the raw source record in `match.native`, and the same confidence,
|
|
294
|
-
* fit and Match Level indicators. The Match Levels and confidence score are at
|
|
295
|
-
* their most discriminating for the UK, where cleanse runs against
|
|
296
|
-
* purpose-built indexes; elsewhere they are computed from the country's address
|
|
297
|
-
* dataset.
|
|
289
|
+
* The response shape is the same for every country: a standardised address in `match`, the raw source record in `match.native` and the same confidence, fit and Match Level indicators. The Match Levels and confidence score are at their most discriminating for the UK, where cleanse runs against purpose-built indexes; elsewhere they are computed from the country's address dataset.
|
|
298
290
|
*
|
|
299
291
|
* ## Confidence Score
|
|
300
292
|
*
|
|
@@ -313,7 +305,7 @@ declare const keyLogsInfiniteOptions: (options: Options<KeyLogsData>) => _tansta
|
|
|
313
305
|
*
|
|
314
306
|
*/
|
|
315
307
|
declare const addressCleanseMutation: (options?: Partial<Options<AddressCleanseData>>) => UseMutationOptions<AddressCleanseResponse, AddressCleanseError, Options<AddressCleanseData>>;
|
|
316
|
-
declare const findAddressQueryKey: (options?: Options<FindAddressData>) => [Pick<Options<FindAddressData>, "
|
|
308
|
+
declare const findAddressQueryKey: (options?: Options<FindAddressData>) => [Pick<Options<FindAddressData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
317
309
|
_id: string;
|
|
318
310
|
_infinite?: boolean;
|
|
319
311
|
tags?: ReadonlyArray<string>;
|
|
@@ -369,18 +361,18 @@ declare const findAddressQueryKey: (options?: Options<FindAddressData>) => [Pick
|
|
|
369
361
|
* Autocomplete API usage does not impact your balance, but resolving a suggestion to a full address requires a paid request. Autocomplete requests without subsequent paid requests may lead to rate limiting or suspension.
|
|
370
362
|
*
|
|
371
363
|
*/
|
|
372
|
-
declare const findAddressOptions: (options?: Options<FindAddressData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<AutocompleteResponse, ErrorResponse, AutocompleteResponse, [Pick<Options<FindAddressData>, "
|
|
364
|
+
declare const findAddressOptions: (options?: Options<FindAddressData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<AutocompleteResponse, ErrorResponse, AutocompleteResponse, [Pick<Options<FindAddressData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
373
365
|
_id: string;
|
|
374
366
|
_infinite?: boolean;
|
|
375
367
|
tags?: ReadonlyArray<string>;
|
|
376
368
|
}]>, "queryFn"> & {
|
|
377
|
-
queryFn?: _tanstack_react_query.QueryFunction<AutocompleteResponse, [Pick<Options<FindAddressData>, "
|
|
369
|
+
queryFn?: _tanstack_react_query.QueryFunction<AutocompleteResponse, [Pick<Options<FindAddressData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
378
370
|
_id: string;
|
|
379
371
|
_infinite?: boolean;
|
|
380
372
|
tags?: ReadonlyArray<string>;
|
|
381
373
|
}], never> | undefined;
|
|
382
374
|
} & {
|
|
383
|
-
queryKey: [Pick<Options<FindAddressData>, "
|
|
375
|
+
queryKey: [Pick<Options<FindAddressData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
384
376
|
_id: string;
|
|
385
377
|
_infinite?: boolean;
|
|
386
378
|
tags?: ReadonlyArray<string>;
|
|
@@ -389,18 +381,18 @@ declare const findAddressOptions: (options?: Options<FindAddressData>) => _tanst
|
|
|
389
381
|
[dataTagErrorSymbol]: ErrorResponse;
|
|
390
382
|
};
|
|
391
383
|
};
|
|
392
|
-
declare const resolveAddressQueryKey: (options: Options<ResolveAddressData>) => [Pick<Options<ResolveAddressData>, "
|
|
384
|
+
declare const resolveAddressQueryKey: (options: Options<ResolveAddressData>) => [Pick<Options<ResolveAddressData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
393
385
|
_id: string;
|
|
394
386
|
_infinite?: boolean;
|
|
395
387
|
tags?: ReadonlyArray<string>;
|
|
396
388
|
}];
|
|
397
|
-
declare const addressesQueryKey: (options?: Options<AddressesData>) => [Pick<Options<AddressesData>, "
|
|
389
|
+
declare const addressesQueryKey: (options?: Options<AddressesData>) => [Pick<Options<AddressesData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
398
390
|
_id: string;
|
|
399
391
|
_infinite?: boolean;
|
|
400
392
|
tags?: ReadonlyArray<string>;
|
|
401
393
|
}];
|
|
402
394
|
declare const addressesInfiniteQueryKey: (options?: Options<AddressesData>) => QueryKey<Options<AddressesData>>;
|
|
403
|
-
declare const findPlaceQueryKey: (options?: Options<FindPlaceData>) => [Pick<Options<FindPlaceData>, "
|
|
395
|
+
declare const findPlaceQueryKey: (options?: Options<FindPlaceData>) => [Pick<Options<FindPlaceData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
404
396
|
_id: string;
|
|
405
397
|
_infinite?: boolean;
|
|
406
398
|
tags?: ReadonlyArray<string>;
|
|
@@ -426,18 +418,18 @@ declare const findPlaceQueryKey: (options?: Options<FindPlaceData>) => [Pick<Opt
|
|
|
426
418
|
* `/places` does not decrement your lookup balance, but resolving a suggestion to a full place does. We rate limit and then suspend integrations that repeatedly call `/places` without resolving.
|
|
427
419
|
*
|
|
428
420
|
*/
|
|
429
|
-
declare const findPlaceOptions: (options?: Options<FindPlaceData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<PlaceResponse, ErrorResponse, PlaceResponse, [Pick<Options<FindPlaceData>, "
|
|
421
|
+
declare const findPlaceOptions: (options?: Options<FindPlaceData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<PlaceResponse, ErrorResponse, PlaceResponse, [Pick<Options<FindPlaceData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
430
422
|
_id: string;
|
|
431
423
|
_infinite?: boolean;
|
|
432
424
|
tags?: ReadonlyArray<string>;
|
|
433
425
|
}]>, "queryFn"> & {
|
|
434
|
-
queryFn?: _tanstack_react_query.QueryFunction<PlaceResponse, [Pick<Options<FindPlaceData>, "
|
|
426
|
+
queryFn?: _tanstack_react_query.QueryFunction<PlaceResponse, [Pick<Options<FindPlaceData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
435
427
|
_id: string;
|
|
436
428
|
_infinite?: boolean;
|
|
437
429
|
tags?: ReadonlyArray<string>;
|
|
438
430
|
}], never> | undefined;
|
|
439
431
|
} & {
|
|
440
|
-
queryKey: [Pick<Options<FindPlaceData>, "
|
|
432
|
+
queryKey: [Pick<Options<FindPlaceData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
441
433
|
_id: string;
|
|
442
434
|
_infinite?: boolean;
|
|
443
435
|
tags?: ReadonlyArray<string>;
|
|
@@ -446,12 +438,12 @@ declare const findPlaceOptions: (options?: Options<FindPlaceData>) => _tanstack_
|
|
|
446
438
|
[dataTagErrorSymbol]: ErrorResponse;
|
|
447
439
|
};
|
|
448
440
|
};
|
|
449
|
-
declare const resolvePlaceQueryKey: (options: Options<ResolvePlaceData>) => [Pick<Options<ResolvePlaceData>, "
|
|
441
|
+
declare const resolvePlaceQueryKey: (options: Options<ResolvePlaceData>) => [Pick<Options<ResolvePlaceData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
450
442
|
_id: string;
|
|
451
443
|
_infinite?: boolean;
|
|
452
444
|
tags?: ReadonlyArray<string>;
|
|
453
445
|
}];
|
|
454
|
-
declare const listLicenseesQueryKey: (options: Options<ListLicenseesData>) => [Pick<Options<ListLicenseesData>, "
|
|
446
|
+
declare const listLicenseesQueryKey: (options: Options<ListLicenseesData>) => [Pick<Options<ListLicenseesData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
455
447
|
_id: string;
|
|
456
448
|
_infinite?: boolean;
|
|
457
449
|
tags?: ReadonlyArray<string>;
|
|
@@ -461,18 +453,18 @@ declare const listLicenseesQueryKey: (options: Options<ListLicenseesData>) => [P
|
|
|
461
453
|
*
|
|
462
454
|
* Returns a key's licensees, oldest first, up to 100 per request. The list omits cancelled licensees. The key must be enabled for sublicensing.
|
|
463
455
|
*/
|
|
464
|
-
declare const listLicenseesOptions: (options: Options<ListLicenseesData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<LicenseesResponse, ErrorResponse, LicenseesResponse, [Pick<Options<ListLicenseesData>, "
|
|
456
|
+
declare const listLicenseesOptions: (options: Options<ListLicenseesData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<LicenseesResponse, ErrorResponse, LicenseesResponse, [Pick<Options<ListLicenseesData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
465
457
|
_id: string;
|
|
466
458
|
_infinite?: boolean;
|
|
467
459
|
tags?: ReadonlyArray<string>;
|
|
468
460
|
}]>, "queryFn"> & {
|
|
469
|
-
queryFn?: _tanstack_react_query.QueryFunction<LicenseesResponse, [Pick<Options<ListLicenseesData>, "
|
|
461
|
+
queryFn?: _tanstack_react_query.QueryFunction<LicenseesResponse, [Pick<Options<ListLicenseesData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
470
462
|
_id: string;
|
|
471
463
|
_infinite?: boolean;
|
|
472
464
|
tags?: ReadonlyArray<string>;
|
|
473
465
|
}], never> | undefined;
|
|
474
466
|
} & {
|
|
475
|
-
queryKey: [Pick<Options<ListLicenseesData>, "
|
|
467
|
+
queryKey: [Pick<Options<ListLicenseesData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
476
468
|
_id: string;
|
|
477
469
|
_infinite?: boolean;
|
|
478
470
|
tags?: ReadonlyArray<string>;
|
|
@@ -493,7 +485,7 @@ declare const createLicenseeMutation: (options?: Partial<Options<CreateLicenseeD
|
|
|
493
485
|
* Cancels a licensee. Its key stops working and it drops out of the licensee list. Contact us to reverse it.
|
|
494
486
|
*/
|
|
495
487
|
declare const deleteLicenseeMutation: (options?: Partial<Options<DeleteLicenseeData>>) => UseMutationOptions<DeleteLicenseeResponse, DeleteLicenseeError, Options<DeleteLicenseeData>>;
|
|
496
|
-
declare const retrieveLicenseeQueryKey: (options: Options<RetrieveLicenseeData>) => [Pick<Options<RetrieveLicenseeData>, "
|
|
488
|
+
declare const retrieveLicenseeQueryKey: (options: Options<RetrieveLicenseeData>) => [Pick<Options<RetrieveLicenseeData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
497
489
|
_id: string;
|
|
498
490
|
_infinite?: boolean;
|
|
499
491
|
tags?: ReadonlyArray<string>;
|
|
@@ -503,18 +495,18 @@ declare const retrieveLicenseeQueryKey: (options: Options<RetrieveLicenseeData>)
|
|
|
503
495
|
*
|
|
504
496
|
* Returns a licensee by its `sl_` key. A cancelled or unknown licensee returns `404`.
|
|
505
497
|
*/
|
|
506
|
-
declare const retrieveLicenseeOptions: (options: Options<RetrieveLicenseeData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<LicenseeResponse, ErrorResponse, LicenseeResponse, [Pick<Options<RetrieveLicenseeData>, "
|
|
498
|
+
declare const retrieveLicenseeOptions: (options: Options<RetrieveLicenseeData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<LicenseeResponse, ErrorResponse, LicenseeResponse, [Pick<Options<RetrieveLicenseeData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
507
499
|
_id: string;
|
|
508
500
|
_infinite?: boolean;
|
|
509
501
|
tags?: ReadonlyArray<string>;
|
|
510
502
|
}]>, "queryFn"> & {
|
|
511
|
-
queryFn?: _tanstack_react_query.QueryFunction<LicenseeResponse, [Pick<Options<RetrieveLicenseeData>, "
|
|
503
|
+
queryFn?: _tanstack_react_query.QueryFunction<LicenseeResponse, [Pick<Options<RetrieveLicenseeData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
512
504
|
_id: string;
|
|
513
505
|
_infinite?: boolean;
|
|
514
506
|
tags?: ReadonlyArray<string>;
|
|
515
507
|
}], never> | undefined;
|
|
516
508
|
} & {
|
|
517
|
-
queryKey: [Pick<Options<RetrieveLicenseeData>, "
|
|
509
|
+
queryKey: [Pick<Options<RetrieveLicenseeData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
518
510
|
_id: string;
|
|
519
511
|
_infinite?: boolean;
|
|
520
512
|
tags?: ReadonlyArray<string>;
|
|
@@ -535,7 +527,7 @@ declare const updateLicenseeMutation: (options?: Partial<Options<UpdateLicenseeD
|
|
|
535
527
|
* Regenerates a licensee's key and returns the licensee with the new key. The previous key stops working immediately, so update any integration that uses it.
|
|
536
528
|
*/
|
|
537
529
|
declare const regenerateLicenseeKeyMutation: (options?: Partial<Options<RegenerateLicenseeKeyData>>) => UseMutationOptions<RegenerateLicenseeKeyResponse, RegenerateLicenseeKeyError, Options<RegenerateLicenseeKeyData>>;
|
|
538
|
-
declare const listConfigsQueryKey: (options: Options<ListConfigsData>) => [Pick<Options<ListConfigsData>, "
|
|
530
|
+
declare const listConfigsQueryKey: (options: Options<ListConfigsData>) => [Pick<Options<ListConfigsData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
539
531
|
_id: string;
|
|
540
532
|
_infinite?: boolean;
|
|
541
533
|
tags?: ReadonlyArray<string>;
|
|
@@ -545,18 +537,18 @@ declare const listConfigsQueryKey: (options: Options<ListConfigsData>) => [Pick<
|
|
|
545
537
|
*
|
|
546
538
|
* Returns every configuration stored against a key, oldest first.
|
|
547
539
|
*/
|
|
548
|
-
declare const listConfigsOptions: (options: Options<ListConfigsData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<ConfigsResponse, ErrorResponse, ConfigsResponse, [Pick<Options<ListConfigsData>, "
|
|
540
|
+
declare const listConfigsOptions: (options: Options<ListConfigsData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<ConfigsResponse, ErrorResponse, ConfigsResponse, [Pick<Options<ListConfigsData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
549
541
|
_id: string;
|
|
550
542
|
_infinite?: boolean;
|
|
551
543
|
tags?: ReadonlyArray<string>;
|
|
552
544
|
}]>, "queryFn"> & {
|
|
553
|
-
queryFn?: _tanstack_react_query.QueryFunction<ConfigsResponse, [Pick<Options<ListConfigsData>, "
|
|
545
|
+
queryFn?: _tanstack_react_query.QueryFunction<ConfigsResponse, [Pick<Options<ListConfigsData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
554
546
|
_id: string;
|
|
555
547
|
_infinite?: boolean;
|
|
556
548
|
tags?: ReadonlyArray<string>;
|
|
557
549
|
}], never> | undefined;
|
|
558
550
|
} & {
|
|
559
|
-
queryKey: [Pick<Options<ListConfigsData>, "
|
|
551
|
+
queryKey: [Pick<Options<ListConfigsData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
560
552
|
_id: string;
|
|
561
553
|
_infinite?: boolean;
|
|
562
554
|
tags?: ReadonlyArray<string>;
|
|
@@ -577,7 +569,7 @@ declare const createConfigMutation: (options?: Partial<Options<CreateConfigData>
|
|
|
577
569
|
* Permanently deletes a configuration object.
|
|
578
570
|
*/
|
|
579
571
|
declare const deleteConfigMutation: (options?: Partial<Options<DeleteConfigData>>) => UseMutationOptions<DeleteConfigResponse, DeleteConfigError, Options<DeleteConfigData>>;
|
|
580
|
-
declare const retrieveConfigQueryKey: (options: Options<RetrieveConfigData>) => [Pick<Options<RetrieveConfigData>, "
|
|
572
|
+
declare const retrieveConfigQueryKey: (options: Options<RetrieveConfigData>) => [Pick<Options<RetrieveConfigData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
581
573
|
_id: string;
|
|
582
574
|
_infinite?: boolean;
|
|
583
575
|
tags?: ReadonlyArray<string>;
|
|
@@ -587,18 +579,18 @@ declare const retrieveConfigQueryKey: (options: Options<RetrieveConfigData>) =>
|
|
|
587
579
|
*
|
|
588
580
|
* Returns a configuration by name. This request needs no `user_token`, so a browser integration can read its own configuration at runtime.
|
|
589
581
|
*/
|
|
590
|
-
declare const retrieveConfigOptions: (options: Options<RetrieveConfigData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<ConfigResponse, RetrieveConfigError, ConfigResponse, [Pick<Options<RetrieveConfigData>, "
|
|
582
|
+
declare const retrieveConfigOptions: (options: Options<RetrieveConfigData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<ConfigResponse, RetrieveConfigError, ConfigResponse, [Pick<Options<RetrieveConfigData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
591
583
|
_id: string;
|
|
592
584
|
_infinite?: boolean;
|
|
593
585
|
tags?: ReadonlyArray<string>;
|
|
594
586
|
}]>, "queryFn"> & {
|
|
595
|
-
queryFn?: _tanstack_react_query.QueryFunction<ConfigResponse, [Pick<Options<RetrieveConfigData>, "
|
|
587
|
+
queryFn?: _tanstack_react_query.QueryFunction<ConfigResponse, [Pick<Options<RetrieveConfigData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
596
588
|
_id: string;
|
|
597
589
|
_infinite?: boolean;
|
|
598
590
|
tags?: ReadonlyArray<string>;
|
|
599
591
|
}], never> | undefined;
|
|
600
592
|
} & {
|
|
601
|
-
queryKey: [Pick<Options<RetrieveConfigData>, "
|
|
593
|
+
queryKey: [Pick<Options<RetrieveConfigData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
602
594
|
_id: string;
|
|
603
595
|
_infinite?: boolean;
|
|
604
596
|
tags?: ReadonlyArray<string>;
|
|
@@ -613,29 +605,29 @@ declare const retrieveConfigOptions: (options: Options<RetrieveConfigData>) => _
|
|
|
613
605
|
* Replaces a configuration's payload and returns the updated configuration. The name is fixed at creation.
|
|
614
606
|
*/
|
|
615
607
|
declare const updateConfigMutation: (options?: Partial<Options<UpdateConfigData>>) => UseMutationOptions<UpdateConfigResponse, UpdateConfigError, Options<UpdateConfigData>>;
|
|
616
|
-
declare const emailValidationQueryKey: (options: Options<EmailValidationData>) => [Pick<Options<EmailValidationData>, "
|
|
608
|
+
declare const emailValidationQueryKey: (options: Options<EmailValidationData>) => [Pick<Options<EmailValidationData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
617
609
|
_id: string;
|
|
618
610
|
_infinite?: boolean;
|
|
619
611
|
tags?: ReadonlyArray<string>;
|
|
620
612
|
}];
|
|
621
|
-
declare const phoneNumberValidationQueryKey: (options: Options<PhoneNumberValidationData>) => [Pick<Options<PhoneNumberValidationData>, "
|
|
613
|
+
declare const phoneNumberValidationQueryKey: (options: Options<PhoneNumberValidationData>) => [Pick<Options<PhoneNumberValidationData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
622
614
|
_id: string;
|
|
623
615
|
_infinite?: boolean;
|
|
624
616
|
tags?: ReadonlyArray<string>;
|
|
625
617
|
}];
|
|
626
618
|
|
|
627
|
-
declare const postcodesOptions: (options: Options<PostcodesData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<PostcodeResponse, PostcodesError, PostcodeResponse, [Pick<Options<PostcodesData>, "
|
|
619
|
+
declare const postcodesOptions: (options: Options<PostcodesData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<PostcodeResponse, PostcodesError, PostcodeResponse, [Pick<Options<PostcodesData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
628
620
|
_id: string;
|
|
629
621
|
_infinite?: boolean;
|
|
630
622
|
tags?: ReadonlyArray<string>;
|
|
631
623
|
}]>, "queryFn"> & {
|
|
632
|
-
queryFn?: _tanstack_react_query.QueryFunction<PostcodeResponse, [Pick<Options<PostcodesData>, "
|
|
624
|
+
queryFn?: _tanstack_react_query.QueryFunction<PostcodeResponse, [Pick<Options<PostcodesData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
633
625
|
_id: string;
|
|
634
626
|
_infinite?: boolean;
|
|
635
627
|
tags?: ReadonlyArray<string>;
|
|
636
628
|
}], never> | undefined;
|
|
637
629
|
} & {
|
|
638
|
-
queryKey: [Pick<Options<PostcodesData>, "
|
|
630
|
+
queryKey: [Pick<Options<PostcodesData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
639
631
|
_id: string;
|
|
640
632
|
_infinite?: boolean;
|
|
641
633
|
tags?: ReadonlyArray<string>;
|
|
@@ -647,20 +639,20 @@ declare const postcodesOptions: (options: Options<PostcodesData>) => _tanstack_r
|
|
|
647
639
|
gcTime: 0;
|
|
648
640
|
staleTime: 0;
|
|
649
641
|
};
|
|
650
|
-
declare const postcodesInfiniteOptions: (options: Options<PostcodesData>) => _tanstack_preact_query.UseInfiniteQueryOptions<PostcodeResponse, PostcodesError, _tanstack_react_query.InfiniteData<PostcodeResponse, unknown>, QueryKey<Options<PostcodesData>>, number | Pick<Pick<Options<PostcodesData>, "
|
|
642
|
+
declare const postcodesInfiniteOptions: (options: Options<PostcodesData>) => _tanstack_preact_query.UseInfiniteQueryOptions<PostcodeResponse, PostcodesError, _tanstack_react_query.InfiniteData<PostcodeResponse, unknown>, QueryKey<Options<PostcodesData>>, number | Pick<Pick<Options<PostcodesData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
651
643
|
_id: string;
|
|
652
644
|
_infinite?: boolean;
|
|
653
645
|
tags?: ReadonlyArray<string>;
|
|
654
|
-
}, "
|
|
655
|
-
initialData: _tanstack_react_query.InfiniteData<PostcodeResponse, number | Pick<Pick<Options<PostcodesData>, "
|
|
646
|
+
}, "query" | "body" | "path" | "headers">> & {
|
|
647
|
+
initialData: _tanstack_react_query.InfiniteData<PostcodeResponse, number | Pick<Pick<Options<PostcodesData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
656
648
|
_id: string;
|
|
657
649
|
_infinite?: boolean;
|
|
658
650
|
tags?: ReadonlyArray<string>;
|
|
659
|
-
}, "
|
|
651
|
+
}, "query" | "body" | "path" | "headers">> | (() => _tanstack_react_query.InfiniteData<PostcodeResponse, number | Pick<Pick<Options<PostcodesData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
660
652
|
_id: string;
|
|
661
653
|
_infinite?: boolean;
|
|
662
654
|
tags?: ReadonlyArray<string>;
|
|
663
|
-
}, "
|
|
655
|
+
}, "query" | "body" | "path" | "headers">>) | undefined;
|
|
664
656
|
} & {
|
|
665
657
|
queryKey: QueryKey<Options<PostcodesData>> & {
|
|
666
658
|
[dataTagSymbol]: _tanstack_react_query.InfiniteData<PostcodeResponse, unknown>;
|
|
@@ -670,18 +662,18 @@ declare const postcodesInfiniteOptions: (options: Options<PostcodesData>) => _ta
|
|
|
670
662
|
gcTime: 0;
|
|
671
663
|
staleTime: 0;
|
|
672
664
|
};
|
|
673
|
-
declare const resolveAddressOptions: (options: Options<ResolveAddressData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<GbrResolveAddressResponse, ErrorResponse, GbrResolveAddressResponse, [Pick<Options<ResolveAddressData>, "
|
|
665
|
+
declare const resolveAddressOptions: (options: Options<ResolveAddressData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<GbrResolveAddressResponse, ErrorResponse, GbrResolveAddressResponse, [Pick<Options<ResolveAddressData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
674
666
|
_id: string;
|
|
675
667
|
_infinite?: boolean;
|
|
676
668
|
tags?: ReadonlyArray<string>;
|
|
677
669
|
}]>, "queryFn"> & {
|
|
678
|
-
queryFn?: _tanstack_react_query.QueryFunction<GbrResolveAddressResponse, [Pick<Options<ResolveAddressData>, "
|
|
670
|
+
queryFn?: _tanstack_react_query.QueryFunction<GbrResolveAddressResponse, [Pick<Options<ResolveAddressData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
679
671
|
_id: string;
|
|
680
672
|
_infinite?: boolean;
|
|
681
673
|
tags?: ReadonlyArray<string>;
|
|
682
674
|
}], never> | undefined;
|
|
683
675
|
} & {
|
|
684
|
-
queryKey: [Pick<Options<ResolveAddressData>, "
|
|
676
|
+
queryKey: [Pick<Options<ResolveAddressData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
685
677
|
_id: string;
|
|
686
678
|
_infinite?: boolean;
|
|
687
679
|
tags?: ReadonlyArray<string>;
|
|
@@ -693,18 +685,18 @@ declare const resolveAddressOptions: (options: Options<ResolveAddressData>) => _
|
|
|
693
685
|
gcTime: 0;
|
|
694
686
|
staleTime: 0;
|
|
695
687
|
};
|
|
696
|
-
declare const addressesOptions: (options?: Options<AddressesData> | undefined) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<AddressResponse, AddressesError, AddressResponse, [Pick<Options<AddressesData>, "
|
|
688
|
+
declare const addressesOptions: (options?: Options<AddressesData> | undefined) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<AddressResponse, AddressesError, AddressResponse, [Pick<Options<AddressesData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
697
689
|
_id: string;
|
|
698
690
|
_infinite?: boolean;
|
|
699
691
|
tags?: ReadonlyArray<string>;
|
|
700
692
|
}]>, "queryFn"> & {
|
|
701
|
-
queryFn?: _tanstack_react_query.QueryFunction<AddressResponse, [Pick<Options<AddressesData>, "
|
|
693
|
+
queryFn?: _tanstack_react_query.QueryFunction<AddressResponse, [Pick<Options<AddressesData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
702
694
|
_id: string;
|
|
703
695
|
_infinite?: boolean;
|
|
704
696
|
tags?: ReadonlyArray<string>;
|
|
705
697
|
}], never> | undefined;
|
|
706
698
|
} & {
|
|
707
|
-
queryKey: [Pick<Options<AddressesData>, "
|
|
699
|
+
queryKey: [Pick<Options<AddressesData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
708
700
|
_id: string;
|
|
709
701
|
_infinite?: boolean;
|
|
710
702
|
tags?: ReadonlyArray<string>;
|
|
@@ -716,20 +708,20 @@ declare const addressesOptions: (options?: Options<AddressesData> | undefined) =
|
|
|
716
708
|
gcTime: 0;
|
|
717
709
|
staleTime: 0;
|
|
718
710
|
};
|
|
719
|
-
declare const addressesInfiniteOptions: (options?: Options<AddressesData> | undefined) => _tanstack_preact_query.UseInfiniteQueryOptions<AddressResponse, AddressesError, _tanstack_react_query.InfiniteData<AddressResponse, unknown>, QueryKey<Options<AddressesData>>, number | Pick<Pick<Options<AddressesData>, "
|
|
711
|
+
declare const addressesInfiniteOptions: (options?: Options<AddressesData> | undefined) => _tanstack_preact_query.UseInfiniteQueryOptions<AddressResponse, AddressesError, _tanstack_react_query.InfiniteData<AddressResponse, unknown>, QueryKey<Options<AddressesData>>, number | Pick<Pick<Options<AddressesData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
720
712
|
_id: string;
|
|
721
713
|
_infinite?: boolean;
|
|
722
714
|
tags?: ReadonlyArray<string>;
|
|
723
|
-
}, "
|
|
724
|
-
initialData: _tanstack_react_query.InfiniteData<AddressResponse, number | Pick<Pick<Options<AddressesData>, "
|
|
715
|
+
}, "query" | "body" | "path" | "headers">> & {
|
|
716
|
+
initialData: _tanstack_react_query.InfiniteData<AddressResponse, number | Pick<Pick<Options<AddressesData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
725
717
|
_id: string;
|
|
726
718
|
_infinite?: boolean;
|
|
727
719
|
tags?: ReadonlyArray<string>;
|
|
728
|
-
}, "
|
|
720
|
+
}, "query" | "body" | "path" | "headers">> | (() => _tanstack_react_query.InfiniteData<AddressResponse, number | Pick<Pick<Options<AddressesData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
729
721
|
_id: string;
|
|
730
722
|
_infinite?: boolean;
|
|
731
723
|
tags?: ReadonlyArray<string>;
|
|
732
|
-
}, "
|
|
724
|
+
}, "query" | "body" | "path" | "headers">>) | undefined;
|
|
733
725
|
} & {
|
|
734
726
|
queryKey: QueryKey<Options<AddressesData>> & {
|
|
735
727
|
[dataTagSymbol]: _tanstack_react_query.InfiniteData<AddressResponse, unknown>;
|
|
@@ -739,18 +731,18 @@ declare const addressesInfiniteOptions: (options?: Options<AddressesData> | unde
|
|
|
739
731
|
gcTime: 0;
|
|
740
732
|
staleTime: 0;
|
|
741
733
|
};
|
|
742
|
-
declare const resolvePlaceOptions: (options: Options<ResolvePlaceData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<ResolvePlaceResponse, ErrorResponse, ResolvePlaceResponse, [Pick<Options<ResolvePlaceData>, "
|
|
734
|
+
declare const resolvePlaceOptions: (options: Options<ResolvePlaceData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<ResolvePlaceResponse, ErrorResponse, ResolvePlaceResponse, [Pick<Options<ResolvePlaceData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
743
735
|
_id: string;
|
|
744
736
|
_infinite?: boolean;
|
|
745
737
|
tags?: ReadonlyArray<string>;
|
|
746
738
|
}]>, "queryFn"> & {
|
|
747
|
-
queryFn?: _tanstack_react_query.QueryFunction<ResolvePlaceResponse, [Pick<Options<ResolvePlaceData>, "
|
|
739
|
+
queryFn?: _tanstack_react_query.QueryFunction<ResolvePlaceResponse, [Pick<Options<ResolvePlaceData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
748
740
|
_id: string;
|
|
749
741
|
_infinite?: boolean;
|
|
750
742
|
tags?: ReadonlyArray<string>;
|
|
751
743
|
}], never> | undefined;
|
|
752
744
|
} & {
|
|
753
|
-
queryKey: [Pick<Options<ResolvePlaceData>, "
|
|
745
|
+
queryKey: [Pick<Options<ResolvePlaceData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
754
746
|
_id: string;
|
|
755
747
|
_infinite?: boolean;
|
|
756
748
|
tags?: ReadonlyArray<string>;
|
|
@@ -762,18 +754,18 @@ declare const resolvePlaceOptions: (options: Options<ResolvePlaceData>) => _tans
|
|
|
762
754
|
gcTime: 0;
|
|
763
755
|
staleTime: 0;
|
|
764
756
|
};
|
|
765
|
-
declare const emailValidationOptions: (options: Options<EmailValidationData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<EmailResponse, ErrorResponse, EmailResponse, [Pick<Options<EmailValidationData>, "
|
|
757
|
+
declare const emailValidationOptions: (options: Options<EmailValidationData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<EmailResponse, ErrorResponse, EmailResponse, [Pick<Options<EmailValidationData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
766
758
|
_id: string;
|
|
767
759
|
_infinite?: boolean;
|
|
768
760
|
tags?: ReadonlyArray<string>;
|
|
769
761
|
}]>, "queryFn"> & {
|
|
770
|
-
queryFn?: _tanstack_react_query.QueryFunction<EmailResponse, [Pick<Options<EmailValidationData>, "
|
|
762
|
+
queryFn?: _tanstack_react_query.QueryFunction<EmailResponse, [Pick<Options<EmailValidationData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
771
763
|
_id: string;
|
|
772
764
|
_infinite?: boolean;
|
|
773
765
|
tags?: ReadonlyArray<string>;
|
|
774
766
|
}], never> | undefined;
|
|
775
767
|
} & {
|
|
776
|
-
queryKey: [Pick<Options<EmailValidationData>, "
|
|
768
|
+
queryKey: [Pick<Options<EmailValidationData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
777
769
|
_id: string;
|
|
778
770
|
_infinite?: boolean;
|
|
779
771
|
tags?: ReadonlyArray<string>;
|
|
@@ -785,18 +777,18 @@ declare const emailValidationOptions: (options: Options<EmailValidationData>) =>
|
|
|
785
777
|
gcTime: 0;
|
|
786
778
|
staleTime: 0;
|
|
787
779
|
};
|
|
788
|
-
declare const phoneNumberValidationOptions: (options: Options<PhoneNumberValidationData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<PhoneNumberResponse, ErrorResponse, PhoneNumberResponse, [Pick<Options<PhoneNumberValidationData>, "
|
|
780
|
+
declare const phoneNumberValidationOptions: (options: Options<PhoneNumberValidationData>) => _tanstack_react_query.OmitKeyof<_tanstack_preact_query.UseQueryOptions<PhoneNumberResponse, ErrorResponse, PhoneNumberResponse, [Pick<Options<PhoneNumberValidationData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
789
781
|
_id: string;
|
|
790
782
|
_infinite?: boolean;
|
|
791
783
|
tags?: ReadonlyArray<string>;
|
|
792
784
|
}]>, "queryFn"> & {
|
|
793
|
-
queryFn?: _tanstack_react_query.QueryFunction<PhoneNumberResponse, [Pick<Options<PhoneNumberValidationData>, "
|
|
785
|
+
queryFn?: _tanstack_react_query.QueryFunction<PhoneNumberResponse, [Pick<Options<PhoneNumberValidationData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
794
786
|
_id: string;
|
|
795
787
|
_infinite?: boolean;
|
|
796
788
|
tags?: ReadonlyArray<string>;
|
|
797
789
|
}], never> | undefined;
|
|
798
790
|
} & {
|
|
799
|
-
queryKey: [Pick<Options<PhoneNumberValidationData>, "
|
|
791
|
+
queryKey: [Pick<Options<PhoneNumberValidationData>, "query" | "body" | "path" | "headers" | "baseUrl"> & {
|
|
800
792
|
_id: string;
|
|
801
793
|
_infinite?: boolean;
|
|
802
794
|
tags?: ReadonlyArray<string>;
|