@ideal-postcodes/sdk 0.3.1 → 0.5.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/dist/autocomplete.d.cts +1 -1
- package/dist/autocomplete.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +23 -4
- package/dist/index.d.ts +23 -4
- package/dist/index.mjs +1 -1
- package/dist/preact-query.d.cts +86 -86
- package/dist/preact-query.d.ts +86 -86
- package/dist/react-query.d.cts +86 -86
- package/dist/react-query.d.ts +86 -86
- package/dist/{sdk.gen-DB3L6C7c.d.ts → sdk.gen-DXgz6ZXa.d.ts} +1 -1
- package/dist/{sdk.gen-7-1NRlv3.d.cts → sdk.gen-FPGSAY1n.d.cts} +1 -1
- package/dist/{types.gen-D4UP64oO.d.cts → types.gen-DnHMLImU.d.cts} +1 -1
- package/dist/{types.gen-D4UP64oO.d.ts → types.gen-DnHMLImU.d.ts} +1 -1
- package/package.json +1 -1
package/dist/react-query.d.cts
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 {
|
|
4
|
+
import { O as Options } from './sdk.gen-FPGSAY1n.cjs';
|
|
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, cD as ResolveAddressData, cH as ResolvePlaceData, cN as RetrieveConfigData, ad as ConfigResponse, cO as RetrieveConfigError, cS as RetrieveLicenseeData, bH as LicenseeResponse, d4 as UpdateConfigData, d7 as UpdateConfigResponse, d5 as UpdateConfigError, d9 as UpdateKeyDetailsData, dc as UpdateKeyDetailsResponse, da as UpdateKeyDetailsError, de as UpdateLicenseeData, dh as UpdateLicenseeResponse, df as UpdateLicenseeError, l as AddressResponse, o as AddressesError, aO as EmailResponse, c6 as PhoneNumberResponse, cr as PostcodeResponse, cu as PostcodesError, b6 as GbrResolveAddressResponse, cK as ResolvePlaceResponse } from './types.gen-DnHMLImU.cjs';
|
|
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>, "body" | "path" | "query" | "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>, "body" | "path" | "query" | "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>, "body" | "path" | "query" | "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>, "body" | "path" | "query" | "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>, "body" | "path" | "query" | "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>, "body" | "path" | "query" | "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>, "body" | "path" | "query" | "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>, "body" | "path" | "query" | "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>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
79
79
|
_id: string;
|
|
80
80
|
_infinite?: boolean;
|
|
81
81
|
tags?: ReadonlyArray<string>;
|
|
@@ -90,7 +90,7 @@ declare const keyDetailsOptions: (options: Options<KeyDetailsData>) => _tanstack
|
|
|
90
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`.
|
|
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>, "body" | "path" | "query" | "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>, "body" | "path" | "query" | "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>, "body" | "path" | "query" | "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>, "body" | "path" | "query" | "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>, "body" | "path" | "query" | "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
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
144
|
+
initialData: InfiniteData<ApiKeyUsageResponse, number | Pick<Pick<Options<KeyUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
145
145
|
_id: string;
|
|
146
146
|
_infinite?: boolean;
|
|
147
147
|
tags?: ReadonlyArray<string>;
|
|
148
|
-
}, "
|
|
148
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ApiKeyUsageResponse, number | Pick<Pick<Options<KeyUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
149
149
|
_id: string;
|
|
150
150
|
_infinite?: boolean;
|
|
151
151
|
tags?: ReadonlyArray<string>;
|
|
152
|
-
}, "
|
|
152
|
+
}, "body" | "path" | "query" | "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>, "body" | "path" | "query" | "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>, "body" | "path" | "query" | "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>, "body" | "path" | "query" | "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>, "body" | "path" | "query" | "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>, "body" | "path" | "query" | "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
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
262
|
+
initialData: InfiniteData<string, number | Pick<Pick<Options<KeyLogsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
263
263
|
_id: string;
|
|
264
264
|
_infinite?: boolean;
|
|
265
265
|
tags?: ReadonlyArray<string>;
|
|
266
|
-
}, "
|
|
266
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<string, number | Pick<Pick<Options<KeyLogsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
267
267
|
_id: string;
|
|
268
268
|
_infinite?: boolean;
|
|
269
269
|
tags?: ReadonlyArray<string>;
|
|
270
|
-
}, "
|
|
270
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
271
271
|
} & {
|
|
272
272
|
queryKey: QueryKey<Options<KeyLogsData>> & {
|
|
273
273
|
[dataTagSymbol]: InfiniteData<string, unknown>;
|
|
@@ -312,7 +312,7 @@ declare const keyLogsInfiniteOptions: (options: Options<KeyLogsData>) => _tansta
|
|
|
312
312
|
*
|
|
313
313
|
*/
|
|
314
314
|
declare const addressCleanseMutation: (options?: Partial<Options<AddressCleanseData>>) => UseMutationOptions<AddressCleanseResponse, AddressCleanseError, Options<AddressCleanseData>>;
|
|
315
|
-
declare const findAddressQueryKey: (options?: Options<FindAddressData>) => [Pick<Options<FindAddressData>, "
|
|
315
|
+
declare const findAddressQueryKey: (options?: Options<FindAddressData>) => [Pick<Options<FindAddressData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
316
316
|
_id: string;
|
|
317
317
|
_infinite?: boolean;
|
|
318
318
|
tags?: ReadonlyArray<string>;
|
|
@@ -368,18 +368,18 @@ declare const findAddressQueryKey: (options?: Options<FindAddressData>) => [Pick
|
|
|
368
368
|
* 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
369
|
*
|
|
370
370
|
*/
|
|
371
|
-
declare const findAddressOptions: (options?: Options<FindAddressData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<AutocompleteResponse, ErrorResponse, AutocompleteResponse, [Pick<Options<FindAddressData>, "
|
|
371
|
+
declare const findAddressOptions: (options?: Options<FindAddressData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<AutocompleteResponse, ErrorResponse, AutocompleteResponse, [Pick<Options<FindAddressData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
372
372
|
_id: string;
|
|
373
373
|
_infinite?: boolean;
|
|
374
374
|
tags?: ReadonlyArray<string>;
|
|
375
375
|
}]>, "queryFn"> & {
|
|
376
|
-
queryFn?: _tanstack_react_query.QueryFunction<AutocompleteResponse, [Pick<Options<FindAddressData>, "
|
|
376
|
+
queryFn?: _tanstack_react_query.QueryFunction<AutocompleteResponse, [Pick<Options<FindAddressData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
377
377
|
_id: string;
|
|
378
378
|
_infinite?: boolean;
|
|
379
379
|
tags?: ReadonlyArray<string>;
|
|
380
380
|
}], never> | undefined;
|
|
381
381
|
} & {
|
|
382
|
-
queryKey: [Pick<Options<FindAddressData>, "
|
|
382
|
+
queryKey: [Pick<Options<FindAddressData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
383
383
|
_id: string;
|
|
384
384
|
_infinite?: boolean;
|
|
385
385
|
tags?: ReadonlyArray<string>;
|
|
@@ -388,18 +388,18 @@ declare const findAddressOptions: (options?: Options<FindAddressData>) => _tanst
|
|
|
388
388
|
[dataTagErrorSymbol]: ErrorResponse;
|
|
389
389
|
};
|
|
390
390
|
};
|
|
391
|
-
declare const resolveAddressQueryKey: (options: Options<ResolveAddressData>) => [Pick<Options<ResolveAddressData>, "
|
|
391
|
+
declare const resolveAddressQueryKey: (options: Options<ResolveAddressData>) => [Pick<Options<ResolveAddressData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
392
392
|
_id: string;
|
|
393
393
|
_infinite?: boolean;
|
|
394
394
|
tags?: ReadonlyArray<string>;
|
|
395
395
|
}];
|
|
396
|
-
declare const addressesQueryKey: (options?: Options<AddressesData>) => [Pick<Options<AddressesData>, "
|
|
396
|
+
declare const addressesQueryKey: (options?: Options<AddressesData>) => [Pick<Options<AddressesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
397
397
|
_id: string;
|
|
398
398
|
_infinite?: boolean;
|
|
399
399
|
tags?: ReadonlyArray<string>;
|
|
400
400
|
}];
|
|
401
401
|
declare const addressesInfiniteQueryKey: (options?: Options<AddressesData>) => QueryKey<Options<AddressesData>>;
|
|
402
|
-
declare const findPlaceQueryKey: (options?: Options<FindPlaceData>) => [Pick<Options<FindPlaceData>, "
|
|
402
|
+
declare const findPlaceQueryKey: (options?: Options<FindPlaceData>) => [Pick<Options<FindPlaceData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
403
403
|
_id: string;
|
|
404
404
|
_infinite?: boolean;
|
|
405
405
|
tags?: ReadonlyArray<string>;
|
|
@@ -425,18 +425,18 @@ declare const findPlaceQueryKey: (options?: Options<FindPlaceData>) => [Pick<Opt
|
|
|
425
425
|
* `/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
426
|
*
|
|
427
427
|
*/
|
|
428
|
-
declare const findPlaceOptions: (options?: Options<FindPlaceData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<PlaceResponse, ErrorResponse, PlaceResponse, [Pick<Options<FindPlaceData>, "
|
|
428
|
+
declare const findPlaceOptions: (options?: Options<FindPlaceData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<PlaceResponse, ErrorResponse, PlaceResponse, [Pick<Options<FindPlaceData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
429
429
|
_id: string;
|
|
430
430
|
_infinite?: boolean;
|
|
431
431
|
tags?: ReadonlyArray<string>;
|
|
432
432
|
}]>, "queryFn"> & {
|
|
433
|
-
queryFn?: _tanstack_react_query.QueryFunction<PlaceResponse, [Pick<Options<FindPlaceData>, "
|
|
433
|
+
queryFn?: _tanstack_react_query.QueryFunction<PlaceResponse, [Pick<Options<FindPlaceData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
434
434
|
_id: string;
|
|
435
435
|
_infinite?: boolean;
|
|
436
436
|
tags?: ReadonlyArray<string>;
|
|
437
437
|
}], never> | undefined;
|
|
438
438
|
} & {
|
|
439
|
-
queryKey: [Pick<Options<FindPlaceData>, "
|
|
439
|
+
queryKey: [Pick<Options<FindPlaceData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
440
440
|
_id: string;
|
|
441
441
|
_infinite?: boolean;
|
|
442
442
|
tags?: ReadonlyArray<string>;
|
|
@@ -445,12 +445,12 @@ declare const findPlaceOptions: (options?: Options<FindPlaceData>) => _tanstack_
|
|
|
445
445
|
[dataTagErrorSymbol]: ErrorResponse;
|
|
446
446
|
};
|
|
447
447
|
};
|
|
448
|
-
declare const resolvePlaceQueryKey: (options: Options<ResolvePlaceData>) => [Pick<Options<ResolvePlaceData>, "
|
|
448
|
+
declare const resolvePlaceQueryKey: (options: Options<ResolvePlaceData>) => [Pick<Options<ResolvePlaceData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
449
449
|
_id: string;
|
|
450
450
|
_infinite?: boolean;
|
|
451
451
|
tags?: ReadonlyArray<string>;
|
|
452
452
|
}];
|
|
453
|
-
declare const listLicenseesQueryKey: (options: Options<ListLicenseesData>) => [Pick<Options<ListLicenseesData>, "
|
|
453
|
+
declare const listLicenseesQueryKey: (options: Options<ListLicenseesData>) => [Pick<Options<ListLicenseesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
454
454
|
_id: string;
|
|
455
455
|
_infinite?: boolean;
|
|
456
456
|
tags?: ReadonlyArray<string>;
|
|
@@ -460,18 +460,18 @@ declare const listLicenseesQueryKey: (options: Options<ListLicenseesData>) => [P
|
|
|
460
460
|
*
|
|
461
461
|
* 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
462
|
*/
|
|
463
|
-
declare const listLicenseesOptions: (options: Options<ListLicenseesData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<LicenseesResponse, ErrorResponse, LicenseesResponse, [Pick<Options<ListLicenseesData>, "
|
|
463
|
+
declare const listLicenseesOptions: (options: Options<ListLicenseesData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<LicenseesResponse, ErrorResponse, LicenseesResponse, [Pick<Options<ListLicenseesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
464
464
|
_id: string;
|
|
465
465
|
_infinite?: boolean;
|
|
466
466
|
tags?: ReadonlyArray<string>;
|
|
467
467
|
}]>, "queryFn"> & {
|
|
468
|
-
queryFn?: _tanstack_react_query.QueryFunction<LicenseesResponse, [Pick<Options<ListLicenseesData>, "
|
|
468
|
+
queryFn?: _tanstack_react_query.QueryFunction<LicenseesResponse, [Pick<Options<ListLicenseesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
469
469
|
_id: string;
|
|
470
470
|
_infinite?: boolean;
|
|
471
471
|
tags?: ReadonlyArray<string>;
|
|
472
472
|
}], never> | undefined;
|
|
473
473
|
} & {
|
|
474
|
-
queryKey: [Pick<Options<ListLicenseesData>, "
|
|
474
|
+
queryKey: [Pick<Options<ListLicenseesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
475
475
|
_id: string;
|
|
476
476
|
_infinite?: boolean;
|
|
477
477
|
tags?: ReadonlyArray<string>;
|
|
@@ -492,7 +492,7 @@ declare const createLicenseeMutation: (options?: Partial<Options<CreateLicenseeD
|
|
|
492
492
|
* Cancels a licensee. Its key stops working and it drops out of the licensee list. Contact us to reverse it.
|
|
493
493
|
*/
|
|
494
494
|
declare const deleteLicenseeMutation: (options?: Partial<Options<DeleteLicenseeData>>) => UseMutationOptions<DeleteLicenseeResponse, DeleteLicenseeError, Options<DeleteLicenseeData>>;
|
|
495
|
-
declare const retrieveLicenseeQueryKey: (options: Options<RetrieveLicenseeData>) => [Pick<Options<RetrieveLicenseeData>, "
|
|
495
|
+
declare const retrieveLicenseeQueryKey: (options: Options<RetrieveLicenseeData>) => [Pick<Options<RetrieveLicenseeData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
496
496
|
_id: string;
|
|
497
497
|
_infinite?: boolean;
|
|
498
498
|
tags?: ReadonlyArray<string>;
|
|
@@ -502,18 +502,18 @@ declare const retrieveLicenseeQueryKey: (options: Options<RetrieveLicenseeData>)
|
|
|
502
502
|
*
|
|
503
503
|
* Returns a licensee by its `sl_` key. A cancelled or unknown licensee returns `404`.
|
|
504
504
|
*/
|
|
505
|
-
declare const retrieveLicenseeOptions: (options: Options<RetrieveLicenseeData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<LicenseeResponse, ErrorResponse, LicenseeResponse, [Pick<Options<RetrieveLicenseeData>, "
|
|
505
|
+
declare const retrieveLicenseeOptions: (options: Options<RetrieveLicenseeData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<LicenseeResponse, ErrorResponse, LicenseeResponse, [Pick<Options<RetrieveLicenseeData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
506
506
|
_id: string;
|
|
507
507
|
_infinite?: boolean;
|
|
508
508
|
tags?: ReadonlyArray<string>;
|
|
509
509
|
}]>, "queryFn"> & {
|
|
510
|
-
queryFn?: _tanstack_react_query.QueryFunction<LicenseeResponse, [Pick<Options<RetrieveLicenseeData>, "
|
|
510
|
+
queryFn?: _tanstack_react_query.QueryFunction<LicenseeResponse, [Pick<Options<RetrieveLicenseeData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
511
511
|
_id: string;
|
|
512
512
|
_infinite?: boolean;
|
|
513
513
|
tags?: ReadonlyArray<string>;
|
|
514
514
|
}], never> | undefined;
|
|
515
515
|
} & {
|
|
516
|
-
queryKey: [Pick<Options<RetrieveLicenseeData>, "
|
|
516
|
+
queryKey: [Pick<Options<RetrieveLicenseeData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
517
517
|
_id: string;
|
|
518
518
|
_infinite?: boolean;
|
|
519
519
|
tags?: ReadonlyArray<string>;
|
|
@@ -534,7 +534,7 @@ declare const updateLicenseeMutation: (options?: Partial<Options<UpdateLicenseeD
|
|
|
534
534
|
* 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
535
|
*/
|
|
536
536
|
declare const regenerateLicenseeKeyMutation: (options?: Partial<Options<RegenerateLicenseeKeyData>>) => UseMutationOptions<RegenerateLicenseeKeyResponse, RegenerateLicenseeKeyError, Options<RegenerateLicenseeKeyData>>;
|
|
537
|
-
declare const listConfigsQueryKey: (options: Options<ListConfigsData>) => [Pick<Options<ListConfigsData>, "
|
|
537
|
+
declare const listConfigsQueryKey: (options: Options<ListConfigsData>) => [Pick<Options<ListConfigsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
538
538
|
_id: string;
|
|
539
539
|
_infinite?: boolean;
|
|
540
540
|
tags?: ReadonlyArray<string>;
|
|
@@ -544,18 +544,18 @@ declare const listConfigsQueryKey: (options: Options<ListConfigsData>) => [Pick<
|
|
|
544
544
|
*
|
|
545
545
|
* Returns every configuration stored against a key, oldest first.
|
|
546
546
|
*/
|
|
547
|
-
declare const listConfigsOptions: (options: Options<ListConfigsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ConfigsResponse, ErrorResponse, ConfigsResponse, [Pick<Options<ListConfigsData>, "
|
|
547
|
+
declare const listConfigsOptions: (options: Options<ListConfigsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ConfigsResponse, ErrorResponse, ConfigsResponse, [Pick<Options<ListConfigsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
548
548
|
_id: string;
|
|
549
549
|
_infinite?: boolean;
|
|
550
550
|
tags?: ReadonlyArray<string>;
|
|
551
551
|
}]>, "queryFn"> & {
|
|
552
|
-
queryFn?: _tanstack_react_query.QueryFunction<ConfigsResponse, [Pick<Options<ListConfigsData>, "
|
|
552
|
+
queryFn?: _tanstack_react_query.QueryFunction<ConfigsResponse, [Pick<Options<ListConfigsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
553
553
|
_id: string;
|
|
554
554
|
_infinite?: boolean;
|
|
555
555
|
tags?: ReadonlyArray<string>;
|
|
556
556
|
}], never> | undefined;
|
|
557
557
|
} & {
|
|
558
|
-
queryKey: [Pick<Options<ListConfigsData>, "
|
|
558
|
+
queryKey: [Pick<Options<ListConfigsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
559
559
|
_id: string;
|
|
560
560
|
_infinite?: boolean;
|
|
561
561
|
tags?: ReadonlyArray<string>;
|
|
@@ -576,7 +576,7 @@ declare const createConfigMutation: (options?: Partial<Options<CreateConfigData>
|
|
|
576
576
|
* Permanently deletes a configuration object.
|
|
577
577
|
*/
|
|
578
578
|
declare const deleteConfigMutation: (options?: Partial<Options<DeleteConfigData>>) => UseMutationOptions<DeleteConfigResponse, DeleteConfigError, Options<DeleteConfigData>>;
|
|
579
|
-
declare const retrieveConfigQueryKey: (options: Options<RetrieveConfigData>) => [Pick<Options<RetrieveConfigData>, "
|
|
579
|
+
declare const retrieveConfigQueryKey: (options: Options<RetrieveConfigData>) => [Pick<Options<RetrieveConfigData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
580
580
|
_id: string;
|
|
581
581
|
_infinite?: boolean;
|
|
582
582
|
tags?: ReadonlyArray<string>;
|
|
@@ -586,18 +586,18 @@ declare const retrieveConfigQueryKey: (options: Options<RetrieveConfigData>) =>
|
|
|
586
586
|
*
|
|
587
587
|
* Returns a configuration by name. This request needs no `user_token`, so a browser integration can read its own configuration at runtime.
|
|
588
588
|
*/
|
|
589
|
-
declare const retrieveConfigOptions: (options: Options<RetrieveConfigData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ConfigResponse, RetrieveConfigError, ConfigResponse, [Pick<Options<RetrieveConfigData>, "
|
|
589
|
+
declare const retrieveConfigOptions: (options: Options<RetrieveConfigData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ConfigResponse, RetrieveConfigError, ConfigResponse, [Pick<Options<RetrieveConfigData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
590
590
|
_id: string;
|
|
591
591
|
_infinite?: boolean;
|
|
592
592
|
tags?: ReadonlyArray<string>;
|
|
593
593
|
}]>, "queryFn"> & {
|
|
594
|
-
queryFn?: _tanstack_react_query.QueryFunction<ConfigResponse, [Pick<Options<RetrieveConfigData>, "
|
|
594
|
+
queryFn?: _tanstack_react_query.QueryFunction<ConfigResponse, [Pick<Options<RetrieveConfigData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
595
595
|
_id: string;
|
|
596
596
|
_infinite?: boolean;
|
|
597
597
|
tags?: ReadonlyArray<string>;
|
|
598
598
|
}], never> | undefined;
|
|
599
599
|
} & {
|
|
600
|
-
queryKey: [Pick<Options<RetrieveConfigData>, "
|
|
600
|
+
queryKey: [Pick<Options<RetrieveConfigData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
601
601
|
_id: string;
|
|
602
602
|
_infinite?: boolean;
|
|
603
603
|
tags?: ReadonlyArray<string>;
|
|
@@ -612,29 +612,29 @@ declare const retrieveConfigOptions: (options: Options<RetrieveConfigData>) => _
|
|
|
612
612
|
* Replaces a configuration's payload and returns the updated configuration. The name is fixed at creation.
|
|
613
613
|
*/
|
|
614
614
|
declare const updateConfigMutation: (options?: Partial<Options<UpdateConfigData>>) => UseMutationOptions<UpdateConfigResponse, UpdateConfigError, Options<UpdateConfigData>>;
|
|
615
|
-
declare const emailValidationQueryKey: (options: Options<EmailValidationData>) => [Pick<Options<EmailValidationData>, "
|
|
615
|
+
declare const emailValidationQueryKey: (options: Options<EmailValidationData>) => [Pick<Options<EmailValidationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
616
616
|
_id: string;
|
|
617
617
|
_infinite?: boolean;
|
|
618
618
|
tags?: ReadonlyArray<string>;
|
|
619
619
|
}];
|
|
620
|
-
declare const phoneNumberValidationQueryKey: (options: Options<PhoneNumberValidationData>) => [Pick<Options<PhoneNumberValidationData>, "
|
|
620
|
+
declare const phoneNumberValidationQueryKey: (options: Options<PhoneNumberValidationData>) => [Pick<Options<PhoneNumberValidationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
621
621
|
_id: string;
|
|
622
622
|
_infinite?: boolean;
|
|
623
623
|
tags?: ReadonlyArray<string>;
|
|
624
624
|
}];
|
|
625
625
|
|
|
626
|
-
declare const postcodesOptions: (options: Options<PostcodesData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<PostcodeResponse, PostcodesError, PostcodeResponse, [Pick<Options<PostcodesData>, "
|
|
626
|
+
declare const postcodesOptions: (options: Options<PostcodesData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<PostcodeResponse, PostcodesError, PostcodeResponse, [Pick<Options<PostcodesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
627
627
|
_id: string;
|
|
628
628
|
_infinite?: boolean;
|
|
629
629
|
tags?: ReadonlyArray<string>;
|
|
630
630
|
}]>, "queryFn"> & {
|
|
631
|
-
queryFn?: _tanstack_react_query.QueryFunction<PostcodeResponse, [Pick<Options<PostcodesData>, "
|
|
631
|
+
queryFn?: _tanstack_react_query.QueryFunction<PostcodeResponse, [Pick<Options<PostcodesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
632
632
|
_id: string;
|
|
633
633
|
_infinite?: boolean;
|
|
634
634
|
tags?: ReadonlyArray<string>;
|
|
635
635
|
}], never> | undefined;
|
|
636
636
|
} & {
|
|
637
|
-
queryKey: [Pick<Options<PostcodesData>, "
|
|
637
|
+
queryKey: [Pick<Options<PostcodesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
638
638
|
_id: string;
|
|
639
639
|
_infinite?: boolean;
|
|
640
640
|
tags?: ReadonlyArray<string>;
|
|
@@ -646,20 +646,20 @@ declare const postcodesOptions: (options: Options<PostcodesData>) => _tanstack_r
|
|
|
646
646
|
gcTime: 0;
|
|
647
647
|
staleTime: 0;
|
|
648
648
|
};
|
|
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>, "
|
|
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>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
650
650
|
_id: string;
|
|
651
651
|
_infinite?: boolean;
|
|
652
652
|
tags?: ReadonlyArray<string>;
|
|
653
|
-
}, "
|
|
654
|
-
initialData: _tanstack_react_query.InfiniteData<PostcodeResponse, number | Pick<Pick<Options<PostcodesData>, "
|
|
653
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
654
|
+
initialData: _tanstack_react_query.InfiniteData<PostcodeResponse, number | Pick<Pick<Options<PostcodesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
655
655
|
_id: string;
|
|
656
656
|
_infinite?: boolean;
|
|
657
657
|
tags?: ReadonlyArray<string>;
|
|
658
|
-
}, "
|
|
658
|
+
}, "body" | "path" | "query" | "headers">> | (() => _tanstack_react_query.InfiniteData<PostcodeResponse, number | Pick<Pick<Options<PostcodesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
659
659
|
_id: string;
|
|
660
660
|
_infinite?: boolean;
|
|
661
661
|
tags?: ReadonlyArray<string>;
|
|
662
|
-
}, "
|
|
662
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
663
663
|
} & {
|
|
664
664
|
queryKey: QueryKey<Options<PostcodesData>> & {
|
|
665
665
|
[dataTagSymbol]: _tanstack_react_query.InfiniteData<PostcodeResponse, unknown>;
|
|
@@ -669,18 +669,18 @@ declare const postcodesInfiniteOptions: (options: Options<PostcodesData>) => _ta
|
|
|
669
669
|
gcTime: 0;
|
|
670
670
|
staleTime: 0;
|
|
671
671
|
};
|
|
672
|
-
declare const resolveAddressOptions: (options: Options<ResolveAddressData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<GbrResolveAddressResponse, ErrorResponse, GbrResolveAddressResponse, [Pick<Options<ResolveAddressData>, "
|
|
672
|
+
declare const resolveAddressOptions: (options: Options<ResolveAddressData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<GbrResolveAddressResponse, ErrorResponse, GbrResolveAddressResponse, [Pick<Options<ResolveAddressData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
673
673
|
_id: string;
|
|
674
674
|
_infinite?: boolean;
|
|
675
675
|
tags?: ReadonlyArray<string>;
|
|
676
676
|
}]>, "queryFn"> & {
|
|
677
|
-
queryFn?: _tanstack_react_query.QueryFunction<GbrResolveAddressResponse, [Pick<Options<ResolveAddressData>, "
|
|
677
|
+
queryFn?: _tanstack_react_query.QueryFunction<GbrResolveAddressResponse, [Pick<Options<ResolveAddressData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
678
678
|
_id: string;
|
|
679
679
|
_infinite?: boolean;
|
|
680
680
|
tags?: ReadonlyArray<string>;
|
|
681
681
|
}], never> | undefined;
|
|
682
682
|
} & {
|
|
683
|
-
queryKey: [Pick<Options<ResolveAddressData>, "
|
|
683
|
+
queryKey: [Pick<Options<ResolveAddressData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
684
684
|
_id: string;
|
|
685
685
|
_infinite?: boolean;
|
|
686
686
|
tags?: ReadonlyArray<string>;
|
|
@@ -692,18 +692,18 @@ declare const resolveAddressOptions: (options: Options<ResolveAddressData>) => _
|
|
|
692
692
|
gcTime: 0;
|
|
693
693
|
staleTime: 0;
|
|
694
694
|
};
|
|
695
|
-
declare const addressesOptions: (options?: Options<AddressesData> | undefined) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<AddressResponse, AddressesError, AddressResponse, [Pick<Options<AddressesData>, "
|
|
695
|
+
declare const addressesOptions: (options?: Options<AddressesData> | undefined) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<AddressResponse, AddressesError, AddressResponse, [Pick<Options<AddressesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
696
696
|
_id: string;
|
|
697
697
|
_infinite?: boolean;
|
|
698
698
|
tags?: ReadonlyArray<string>;
|
|
699
699
|
}]>, "queryFn"> & {
|
|
700
|
-
queryFn?: _tanstack_react_query.QueryFunction<AddressResponse, [Pick<Options<AddressesData>, "
|
|
700
|
+
queryFn?: _tanstack_react_query.QueryFunction<AddressResponse, [Pick<Options<AddressesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
701
701
|
_id: string;
|
|
702
702
|
_infinite?: boolean;
|
|
703
703
|
tags?: ReadonlyArray<string>;
|
|
704
704
|
}], never> | undefined;
|
|
705
705
|
} & {
|
|
706
|
-
queryKey: [Pick<Options<AddressesData>, "
|
|
706
|
+
queryKey: [Pick<Options<AddressesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
707
707
|
_id: string;
|
|
708
708
|
_infinite?: boolean;
|
|
709
709
|
tags?: ReadonlyArray<string>;
|
|
@@ -715,20 +715,20 @@ declare const addressesOptions: (options?: Options<AddressesData> | undefined) =
|
|
|
715
715
|
gcTime: 0;
|
|
716
716
|
staleTime: 0;
|
|
717
717
|
};
|
|
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>, "
|
|
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>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
719
719
|
_id: string;
|
|
720
720
|
_infinite?: boolean;
|
|
721
721
|
tags?: ReadonlyArray<string>;
|
|
722
|
-
}, "
|
|
723
|
-
initialData: _tanstack_react_query.InfiniteData<AddressResponse, number | Pick<Pick<Options<AddressesData>, "
|
|
722
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
723
|
+
initialData: _tanstack_react_query.InfiniteData<AddressResponse, number | Pick<Pick<Options<AddressesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
724
724
|
_id: string;
|
|
725
725
|
_infinite?: boolean;
|
|
726
726
|
tags?: ReadonlyArray<string>;
|
|
727
|
-
}, "
|
|
727
|
+
}, "body" | "path" | "query" | "headers">> | (() => _tanstack_react_query.InfiniteData<AddressResponse, number | Pick<Pick<Options<AddressesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
728
728
|
_id: string;
|
|
729
729
|
_infinite?: boolean;
|
|
730
730
|
tags?: ReadonlyArray<string>;
|
|
731
|
-
}, "
|
|
731
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
732
732
|
} & {
|
|
733
733
|
queryKey: QueryKey<Options<AddressesData>> & {
|
|
734
734
|
[dataTagSymbol]: _tanstack_react_query.InfiniteData<AddressResponse, unknown>;
|
|
@@ -738,18 +738,18 @@ declare const addressesInfiniteOptions: (options?: Options<AddressesData> | unde
|
|
|
738
738
|
gcTime: 0;
|
|
739
739
|
staleTime: 0;
|
|
740
740
|
};
|
|
741
|
-
declare const resolvePlaceOptions: (options: Options<ResolvePlaceData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ResolvePlaceResponse, ErrorResponse, ResolvePlaceResponse, [Pick<Options<ResolvePlaceData>, "
|
|
741
|
+
declare const resolvePlaceOptions: (options: Options<ResolvePlaceData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ResolvePlaceResponse, ErrorResponse, ResolvePlaceResponse, [Pick<Options<ResolvePlaceData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
742
742
|
_id: string;
|
|
743
743
|
_infinite?: boolean;
|
|
744
744
|
tags?: ReadonlyArray<string>;
|
|
745
745
|
}]>, "queryFn"> & {
|
|
746
|
-
queryFn?: _tanstack_react_query.QueryFunction<ResolvePlaceResponse, [Pick<Options<ResolvePlaceData>, "
|
|
746
|
+
queryFn?: _tanstack_react_query.QueryFunction<ResolvePlaceResponse, [Pick<Options<ResolvePlaceData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
747
747
|
_id: string;
|
|
748
748
|
_infinite?: boolean;
|
|
749
749
|
tags?: ReadonlyArray<string>;
|
|
750
750
|
}], never> | undefined;
|
|
751
751
|
} & {
|
|
752
|
-
queryKey: [Pick<Options<ResolvePlaceData>, "
|
|
752
|
+
queryKey: [Pick<Options<ResolvePlaceData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
753
753
|
_id: string;
|
|
754
754
|
_infinite?: boolean;
|
|
755
755
|
tags?: ReadonlyArray<string>;
|
|
@@ -761,18 +761,18 @@ declare const resolvePlaceOptions: (options: Options<ResolvePlaceData>) => _tans
|
|
|
761
761
|
gcTime: 0;
|
|
762
762
|
staleTime: 0;
|
|
763
763
|
};
|
|
764
|
-
declare const emailValidationOptions: (options: Options<EmailValidationData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<EmailResponse, ErrorResponse, EmailResponse, [Pick<Options<EmailValidationData>, "
|
|
764
|
+
declare const emailValidationOptions: (options: Options<EmailValidationData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<EmailResponse, ErrorResponse, EmailResponse, [Pick<Options<EmailValidationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
765
765
|
_id: string;
|
|
766
766
|
_infinite?: boolean;
|
|
767
767
|
tags?: ReadonlyArray<string>;
|
|
768
768
|
}]>, "queryFn"> & {
|
|
769
|
-
queryFn?: _tanstack_react_query.QueryFunction<EmailResponse, [Pick<Options<EmailValidationData>, "
|
|
769
|
+
queryFn?: _tanstack_react_query.QueryFunction<EmailResponse, [Pick<Options<EmailValidationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
770
770
|
_id: string;
|
|
771
771
|
_infinite?: boolean;
|
|
772
772
|
tags?: ReadonlyArray<string>;
|
|
773
773
|
}], never> | undefined;
|
|
774
774
|
} & {
|
|
775
|
-
queryKey: [Pick<Options<EmailValidationData>, "
|
|
775
|
+
queryKey: [Pick<Options<EmailValidationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
776
776
|
_id: string;
|
|
777
777
|
_infinite?: boolean;
|
|
778
778
|
tags?: ReadonlyArray<string>;
|
|
@@ -784,18 +784,18 @@ declare const emailValidationOptions: (options: Options<EmailValidationData>) =>
|
|
|
784
784
|
gcTime: 0;
|
|
785
785
|
staleTime: 0;
|
|
786
786
|
};
|
|
787
|
-
declare const phoneNumberValidationOptions: (options: Options<PhoneNumberValidationData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<PhoneNumberResponse, ErrorResponse, PhoneNumberResponse, [Pick<Options<PhoneNumberValidationData>, "
|
|
787
|
+
declare const phoneNumberValidationOptions: (options: Options<PhoneNumberValidationData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<PhoneNumberResponse, ErrorResponse, PhoneNumberResponse, [Pick<Options<PhoneNumberValidationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
788
788
|
_id: string;
|
|
789
789
|
_infinite?: boolean;
|
|
790
790
|
tags?: ReadonlyArray<string>;
|
|
791
791
|
}]>, "queryFn"> & {
|
|
792
|
-
queryFn?: _tanstack_react_query.QueryFunction<PhoneNumberResponse, [Pick<Options<PhoneNumberValidationData>, "
|
|
792
|
+
queryFn?: _tanstack_react_query.QueryFunction<PhoneNumberResponse, [Pick<Options<PhoneNumberValidationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
793
793
|
_id: string;
|
|
794
794
|
_infinite?: boolean;
|
|
795
795
|
tags?: ReadonlyArray<string>;
|
|
796
796
|
}], never> | undefined;
|
|
797
797
|
} & {
|
|
798
|
-
queryKey: [Pick<Options<PhoneNumberValidationData>, "
|
|
798
|
+
queryKey: [Pick<Options<PhoneNumberValidationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
799
799
|
_id: string;
|
|
800
800
|
_infinite?: boolean;
|
|
801
801
|
tags?: ReadonlyArray<string>;
|