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