@gethydra/sdk 0.6.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/dist/index.d.ts +661 -18
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -67,6 +67,11 @@ interface components {
|
|
|
67
67
|
currency_rounding: "none" | "up" | "down";
|
|
68
68
|
/** @example America/New_York */
|
|
69
69
|
timezone: string;
|
|
70
|
+
/**
|
|
71
|
+
* @example metric
|
|
72
|
+
* @enum {string}
|
|
73
|
+
*/
|
|
74
|
+
unit_system: "metric" | "imperial";
|
|
70
75
|
/**
|
|
71
76
|
* @example pro
|
|
72
77
|
* @enum {string}
|
|
@@ -260,6 +265,10 @@ interface components {
|
|
|
260
265
|
/** @example verified */
|
|
261
266
|
status?: string;
|
|
262
267
|
}[] | null;
|
|
268
|
+
/** @example false */
|
|
269
|
+
auto_publish: boolean;
|
|
270
|
+
/** @example 30 */
|
|
271
|
+
auto_publish_debounce_seconds: number;
|
|
263
272
|
/**
|
|
264
273
|
* Format: date-time
|
|
265
274
|
* @example 2026-09-08T10:00:00.000Z
|
|
@@ -518,6 +527,69 @@ interface components {
|
|
|
518
527
|
*/
|
|
519
528
|
updated_at: string;
|
|
520
529
|
};
|
|
530
|
+
DeployHook: {
|
|
531
|
+
/** @example dh_abc123 */
|
|
532
|
+
id: string;
|
|
533
|
+
/** @example Main Storefront */
|
|
534
|
+
name: string;
|
|
535
|
+
/**
|
|
536
|
+
* @example github_actions
|
|
537
|
+
* @enum {string}
|
|
538
|
+
*/
|
|
539
|
+
type: "github_actions" | "http";
|
|
540
|
+
/** @example bg-git/BROOKSANDGRANT-QUANTUM-STOREFRONT */
|
|
541
|
+
url: string;
|
|
542
|
+
/**
|
|
543
|
+
* @description Masked after creation. Full value only shown on create.
|
|
544
|
+
* @example ghp_****abcd
|
|
545
|
+
*/
|
|
546
|
+
secret: string | null;
|
|
547
|
+
/** @example rebuild */
|
|
548
|
+
event_type: string | null;
|
|
549
|
+
/**
|
|
550
|
+
* @example active
|
|
551
|
+
* @enum {string}
|
|
552
|
+
*/
|
|
553
|
+
status: "active" | "paused";
|
|
554
|
+
/**
|
|
555
|
+
* Format: date-time
|
|
556
|
+
* @example 2026-11-28T10:00:00.000Z
|
|
557
|
+
*/
|
|
558
|
+
last_triggered_at: string | null;
|
|
559
|
+
/**
|
|
560
|
+
* @example success
|
|
561
|
+
* @enum {string|null}
|
|
562
|
+
*/
|
|
563
|
+
last_status: "success" | "failed" | null;
|
|
564
|
+
/** @example 204 */
|
|
565
|
+
last_http_status: number | null;
|
|
566
|
+
/** @example null */
|
|
567
|
+
last_error: string | null;
|
|
568
|
+
/** @example 0 */
|
|
569
|
+
consecutive_failures: number;
|
|
570
|
+
/** @example 5 */
|
|
571
|
+
auto_pause_threshold: number;
|
|
572
|
+
/**
|
|
573
|
+
* Format: date-time
|
|
574
|
+
* @example 2026-11-01T00:00:00.000Z
|
|
575
|
+
*/
|
|
576
|
+
created_at: string;
|
|
577
|
+
/**
|
|
578
|
+
* Format: date-time
|
|
579
|
+
* @example 2026-11-28T10:00:00.000Z
|
|
580
|
+
*/
|
|
581
|
+
updated_at: string;
|
|
582
|
+
};
|
|
583
|
+
DeployHookTestResult: {
|
|
584
|
+
/** @example dh_abc123 */
|
|
585
|
+
hook_id: string;
|
|
586
|
+
/** @example true */
|
|
587
|
+
success: boolean;
|
|
588
|
+
/** @example 204 */
|
|
589
|
+
http_status: number | null;
|
|
590
|
+
/** @example null */
|
|
591
|
+
error: string | null;
|
|
592
|
+
};
|
|
521
593
|
ApiKey: {
|
|
522
594
|
/** @example key_abc123 */
|
|
523
595
|
id: string;
|
|
@@ -4661,6 +4733,11 @@ interface operations {
|
|
|
4661
4733
|
currency_rounding?: "none" | "up" | "down";
|
|
4662
4734
|
/** @example America/New_York */
|
|
4663
4735
|
timezone?: string;
|
|
4736
|
+
/**
|
|
4737
|
+
* @example metric
|
|
4738
|
+
* @enum {string}
|
|
4739
|
+
*/
|
|
4740
|
+
unit_system?: "metric" | "imperial";
|
|
4664
4741
|
/**
|
|
4665
4742
|
* @example [
|
|
4666
4743
|
* "https://shop.acme.com"
|
|
@@ -4792,6 +4869,16 @@ interface operations {
|
|
|
4792
4869
|
* @example orders
|
|
4793
4870
|
*/
|
|
4794
4871
|
notification_from_email?: string | null;
|
|
4872
|
+
/**
|
|
4873
|
+
* @description When enabled, storefront changes are automatically published after a debounce period.
|
|
4874
|
+
* @example false
|
|
4875
|
+
*/
|
|
4876
|
+
auto_publish?: boolean;
|
|
4877
|
+
/**
|
|
4878
|
+
* @description Quiet period in seconds before auto-publish fires. Default 30.
|
|
4879
|
+
* @example 30
|
|
4880
|
+
*/
|
|
4881
|
+
auto_publish_debounce_seconds?: number;
|
|
4795
4882
|
/** @description Partial update — only provided fields are changed, others are preserved. */
|
|
4796
4883
|
booking_config?: {
|
|
4797
4884
|
/** @example 60 */
|
|
@@ -5999,6 +6086,203 @@ interface operations {
|
|
|
5999
6086
|
};
|
|
6000
6087
|
};
|
|
6001
6088
|
};
|
|
6089
|
+
listDeployHooks: {
|
|
6090
|
+
parameters: {
|
|
6091
|
+
query?: {
|
|
6092
|
+
limit?: number;
|
|
6093
|
+
cursor?: string;
|
|
6094
|
+
fields?: string;
|
|
6095
|
+
order?: "asc" | "desc";
|
|
6096
|
+
};
|
|
6097
|
+
header?: never;
|
|
6098
|
+
path?: never;
|
|
6099
|
+
cookie?: never;
|
|
6100
|
+
};
|
|
6101
|
+
requestBody?: never;
|
|
6102
|
+
responses: {
|
|
6103
|
+
/** @description Paginated deploy hook list */
|
|
6104
|
+
200: {
|
|
6105
|
+
headers: {
|
|
6106
|
+
[name: string]: unknown;
|
|
6107
|
+
};
|
|
6108
|
+
content: {
|
|
6109
|
+
"application/json": {
|
|
6110
|
+
data: components["schemas"]["DeployHook"][];
|
|
6111
|
+
pagination: {
|
|
6112
|
+
cursor: string | null;
|
|
6113
|
+
has_more: boolean;
|
|
6114
|
+
total: number;
|
|
6115
|
+
};
|
|
6116
|
+
};
|
|
6117
|
+
};
|
|
6118
|
+
};
|
|
6119
|
+
};
|
|
6120
|
+
};
|
|
6121
|
+
createDeployHook: {
|
|
6122
|
+
parameters: {
|
|
6123
|
+
query?: never;
|
|
6124
|
+
header?: never;
|
|
6125
|
+
path?: never;
|
|
6126
|
+
cookie?: never;
|
|
6127
|
+
};
|
|
6128
|
+
requestBody?: {
|
|
6129
|
+
content: {
|
|
6130
|
+
"application/json": {
|
|
6131
|
+
/** @example Main Storefront */
|
|
6132
|
+
name: string;
|
|
6133
|
+
/**
|
|
6134
|
+
* @example github_actions
|
|
6135
|
+
* @enum {string}
|
|
6136
|
+
*/
|
|
6137
|
+
type: "github_actions" | "http";
|
|
6138
|
+
/**
|
|
6139
|
+
* @description For github_actions: owner/repo. For http: a full HTTPS URL (e.g. Vercel, Netlify, or Cloudflare Pages deploy hook).
|
|
6140
|
+
* @example bg-git/BROOKSANDGRANT-QUANTUM-STOREFRONT
|
|
6141
|
+
*/
|
|
6142
|
+
url: string;
|
|
6143
|
+
/** @description For github_actions: a GitHub Personal Access Token with Actions write scope. For http: an optional Bearer token. */
|
|
6144
|
+
secret?: string;
|
|
6145
|
+
/**
|
|
6146
|
+
* @description GitHub Actions event_type for repository_dispatch. Defaults to "rebuild".
|
|
6147
|
+
* @example rebuild
|
|
6148
|
+
*/
|
|
6149
|
+
event_type?: string;
|
|
6150
|
+
/**
|
|
6151
|
+
* @description Auto-pause after N consecutive failures. 0 disables auto-pause.
|
|
6152
|
+
* @default 5
|
|
6153
|
+
* @example 5
|
|
6154
|
+
*/
|
|
6155
|
+
auto_pause_threshold?: number;
|
|
6156
|
+
};
|
|
6157
|
+
};
|
|
6158
|
+
};
|
|
6159
|
+
responses: {
|
|
6160
|
+
/** @description Deploy hook created */
|
|
6161
|
+
201: {
|
|
6162
|
+
headers: {
|
|
6163
|
+
[name: string]: unknown;
|
|
6164
|
+
};
|
|
6165
|
+
content: {
|
|
6166
|
+
"application/json": {
|
|
6167
|
+
data: components["schemas"]["DeployHook"];
|
|
6168
|
+
};
|
|
6169
|
+
};
|
|
6170
|
+
};
|
|
6171
|
+
};
|
|
6172
|
+
};
|
|
6173
|
+
getDeployHook: {
|
|
6174
|
+
parameters: {
|
|
6175
|
+
query?: {
|
|
6176
|
+
fields?: string;
|
|
6177
|
+
};
|
|
6178
|
+
header?: never;
|
|
6179
|
+
path: {
|
|
6180
|
+
id: string;
|
|
6181
|
+
};
|
|
6182
|
+
cookie?: never;
|
|
6183
|
+
};
|
|
6184
|
+
requestBody?: never;
|
|
6185
|
+
responses: {
|
|
6186
|
+
/** @description Deploy hook details */
|
|
6187
|
+
200: {
|
|
6188
|
+
headers: {
|
|
6189
|
+
[name: string]: unknown;
|
|
6190
|
+
};
|
|
6191
|
+
content: {
|
|
6192
|
+
"application/json": {
|
|
6193
|
+
data: components["schemas"]["DeployHook"];
|
|
6194
|
+
};
|
|
6195
|
+
};
|
|
6196
|
+
};
|
|
6197
|
+
};
|
|
6198
|
+
};
|
|
6199
|
+
deleteDeployHook: {
|
|
6200
|
+
parameters: {
|
|
6201
|
+
query?: never;
|
|
6202
|
+
header?: never;
|
|
6203
|
+
path: {
|
|
6204
|
+
id: string;
|
|
6205
|
+
};
|
|
6206
|
+
cookie?: never;
|
|
6207
|
+
};
|
|
6208
|
+
requestBody?: never;
|
|
6209
|
+
responses: {
|
|
6210
|
+
/** @description Deploy hook deleted */
|
|
6211
|
+
204: {
|
|
6212
|
+
headers: {
|
|
6213
|
+
[name: string]: unknown;
|
|
6214
|
+
};
|
|
6215
|
+
content?: never;
|
|
6216
|
+
};
|
|
6217
|
+
};
|
|
6218
|
+
};
|
|
6219
|
+
updateDeployHook: {
|
|
6220
|
+
parameters: {
|
|
6221
|
+
query?: never;
|
|
6222
|
+
header?: never;
|
|
6223
|
+
path: {
|
|
6224
|
+
id: string;
|
|
6225
|
+
};
|
|
6226
|
+
cookie?: never;
|
|
6227
|
+
};
|
|
6228
|
+
requestBody?: {
|
|
6229
|
+
content: {
|
|
6230
|
+
"application/json": {
|
|
6231
|
+
/** @example Main Storefront */
|
|
6232
|
+
name?: string;
|
|
6233
|
+
/** @example bg-git/BROOKSANDGRANT-QUANTUM-STOREFRONT */
|
|
6234
|
+
url?: string;
|
|
6235
|
+
secret?: string;
|
|
6236
|
+
/** @example rebuild */
|
|
6237
|
+
event_type?: string;
|
|
6238
|
+
/**
|
|
6239
|
+
* @example active
|
|
6240
|
+
* @enum {string}
|
|
6241
|
+
*/
|
|
6242
|
+
status?: "active" | "paused";
|
|
6243
|
+
/** @example 5 */
|
|
6244
|
+
auto_pause_threshold?: number;
|
|
6245
|
+
};
|
|
6246
|
+
};
|
|
6247
|
+
};
|
|
6248
|
+
responses: {
|
|
6249
|
+
/** @description Deploy hook updated */
|
|
6250
|
+
200: {
|
|
6251
|
+
headers: {
|
|
6252
|
+
[name: string]: unknown;
|
|
6253
|
+
};
|
|
6254
|
+
content: {
|
|
6255
|
+
"application/json": {
|
|
6256
|
+
data: components["schemas"]["DeployHook"];
|
|
6257
|
+
};
|
|
6258
|
+
};
|
|
6259
|
+
};
|
|
6260
|
+
};
|
|
6261
|
+
};
|
|
6262
|
+
testDeployHook: {
|
|
6263
|
+
parameters: {
|
|
6264
|
+
query?: never;
|
|
6265
|
+
header?: never;
|
|
6266
|
+
path: {
|
|
6267
|
+
id: string;
|
|
6268
|
+
};
|
|
6269
|
+
cookie?: never;
|
|
6270
|
+
};
|
|
6271
|
+
requestBody?: never;
|
|
6272
|
+
responses: {
|
|
6273
|
+
/** @description Test trigger result */
|
|
6274
|
+
200: {
|
|
6275
|
+
headers: {
|
|
6276
|
+
[name: string]: unknown;
|
|
6277
|
+
};
|
|
6278
|
+
content: {
|
|
6279
|
+
"application/json": {
|
|
6280
|
+
data: components["schemas"]["DeployHookTestResult"];
|
|
6281
|
+
};
|
|
6282
|
+
};
|
|
6283
|
+
};
|
|
6284
|
+
};
|
|
6285
|
+
};
|
|
6002
6286
|
listApiKeys: {
|
|
6003
6287
|
parameters: {
|
|
6004
6288
|
query?: never;
|
|
@@ -18553,6 +18837,18 @@ interface operations {
|
|
|
18553
18837
|
listing_tier?: string;
|
|
18554
18838
|
status?: "draft" | "active" | "pending" | "suspended";
|
|
18555
18839
|
search?: string;
|
|
18840
|
+
slug?: string;
|
|
18841
|
+
region?: string;
|
|
18842
|
+
postcode?: string;
|
|
18843
|
+
country?: string;
|
|
18844
|
+
service_mode?: "location" | "mobile" | "online" | "hybrid";
|
|
18845
|
+
price_range?: string;
|
|
18846
|
+
verified?: boolean | null;
|
|
18847
|
+
claimed?: boolean | null;
|
|
18848
|
+
services?: string;
|
|
18849
|
+
amenities?: string;
|
|
18850
|
+
brands?: string;
|
|
18851
|
+
accreditations?: string;
|
|
18556
18852
|
sort?: "created_at" | "updated_at" | "name" | "city";
|
|
18557
18853
|
order?: "asc" | "desc";
|
|
18558
18854
|
};
|
|
@@ -18578,6 +18874,7 @@ interface operations {
|
|
|
18578
18874
|
phone: string | null;
|
|
18579
18875
|
email: string | null;
|
|
18580
18876
|
website: string | null;
|
|
18877
|
+
booking_url: string | null;
|
|
18581
18878
|
address: string | null;
|
|
18582
18879
|
address_line_2: string | null;
|
|
18583
18880
|
address_line_3: string | null;
|
|
@@ -18644,6 +18941,8 @@ interface operations {
|
|
|
18644
18941
|
email?: string | null;
|
|
18645
18942
|
/** Format: uri */
|
|
18646
18943
|
website?: string | null;
|
|
18944
|
+
/** Format: uri */
|
|
18945
|
+
booking_url?: string | null;
|
|
18647
18946
|
address?: string | null;
|
|
18648
18947
|
address_line_2?: string | null;
|
|
18649
18948
|
address_line_3?: string | null;
|
|
@@ -18716,6 +19015,7 @@ interface operations {
|
|
|
18716
19015
|
phone: string | null;
|
|
18717
19016
|
email: string | null;
|
|
18718
19017
|
website: string | null;
|
|
19018
|
+
booking_url: string | null;
|
|
18719
19019
|
address: string | null;
|
|
18720
19020
|
address_line_2: string | null;
|
|
18721
19021
|
address_line_3: string | null;
|
|
@@ -18857,6 +19157,7 @@ interface operations {
|
|
|
18857
19157
|
phone: string | null;
|
|
18858
19158
|
email: string | null;
|
|
18859
19159
|
website: string | null;
|
|
19160
|
+
booking_url: string | null;
|
|
18860
19161
|
address: string | null;
|
|
18861
19162
|
address_line_2: string | null;
|
|
18862
19163
|
address_line_3: string | null;
|
|
@@ -18940,6 +19241,8 @@ interface operations {
|
|
|
18940
19241
|
email?: string | null;
|
|
18941
19242
|
/** Format: uri */
|
|
18942
19243
|
website?: string | null;
|
|
19244
|
+
/** Format: uri */
|
|
19245
|
+
booking_url?: string | null;
|
|
18943
19246
|
address?: string | null;
|
|
18944
19247
|
address_line_2?: string | null;
|
|
18945
19248
|
address_line_3?: string | null;
|
|
@@ -18948,47 +19251,31 @@ interface operations {
|
|
|
18948
19251
|
latitude?: number | null;
|
|
18949
19252
|
longitude?: number | null;
|
|
18950
19253
|
region?: string | null;
|
|
18951
|
-
/** @default United Kingdom */
|
|
18952
19254
|
country?: string | null;
|
|
18953
19255
|
category_key?: string;
|
|
18954
19256
|
logo_id?: string | null;
|
|
18955
|
-
/** @default [] */
|
|
18956
19257
|
image_ids?: string[];
|
|
18957
|
-
/** @default {} */
|
|
18958
19258
|
social?: {
|
|
18959
19259
|
[key: string]: string;
|
|
18960
19260
|
};
|
|
18961
19261
|
opening_hours?: unknown;
|
|
18962
|
-
/** @default [] */
|
|
18963
19262
|
services?: string[];
|
|
18964
|
-
/** @default [] */
|
|
18965
19263
|
amenities?: string[];
|
|
18966
|
-
/** @default [] */
|
|
18967
19264
|
brands?: string[];
|
|
18968
|
-
/** @default [] */
|
|
18969
19265
|
accreditations?: string[];
|
|
18970
19266
|
price_range?: string | null;
|
|
18971
|
-
/**
|
|
18972
|
-
* @default location
|
|
18973
|
-
* @enum {string}
|
|
18974
|
-
*/
|
|
19267
|
+
/** @enum {string} */
|
|
18975
19268
|
service_mode?: "location" | "mobile" | "online" | "hybrid";
|
|
18976
|
-
/** @default [] */
|
|
18977
19269
|
additional_details?: {
|
|
18978
19270
|
label: string;
|
|
18979
19271
|
value: string;
|
|
18980
19272
|
}[];
|
|
18981
|
-
/** @default {} */
|
|
18982
19273
|
accessibility?: {
|
|
18983
19274
|
[key: string]: boolean;
|
|
18984
19275
|
};
|
|
18985
19276
|
listing_tier?: string | null;
|
|
18986
|
-
/**
|
|
18987
|
-
* @default draft
|
|
18988
|
-
* @enum {string}
|
|
18989
|
-
*/
|
|
19277
|
+
/** @enum {string} */
|
|
18990
19278
|
status?: "draft" | "active" | "pending" | "suspended";
|
|
18991
|
-
/** @default null */
|
|
18992
19279
|
verified?: boolean | null;
|
|
18993
19280
|
/** Format: uri */
|
|
18994
19281
|
source_url?: string | null;
|
|
@@ -19012,6 +19299,7 @@ interface operations {
|
|
|
19012
19299
|
phone: string | null;
|
|
19013
19300
|
email: string | null;
|
|
19014
19301
|
website: string | null;
|
|
19302
|
+
booking_url: string | null;
|
|
19015
19303
|
address: string | null;
|
|
19016
19304
|
address_line_2: string | null;
|
|
19017
19305
|
address_line_3: string | null;
|
|
@@ -19614,6 +19902,361 @@ interface operations {
|
|
|
19614
19902
|
};
|
|
19615
19903
|
};
|
|
19616
19904
|
};
|
|
19905
|
+
listGeoCountries: {
|
|
19906
|
+
parameters: {
|
|
19907
|
+
query?: never;
|
|
19908
|
+
header?: never;
|
|
19909
|
+
path?: never;
|
|
19910
|
+
cookie?: never;
|
|
19911
|
+
};
|
|
19912
|
+
requestBody?: never;
|
|
19913
|
+
responses: {
|
|
19914
|
+
/** @description Country list */
|
|
19915
|
+
200: {
|
|
19916
|
+
headers: {
|
|
19917
|
+
[name: string]: unknown;
|
|
19918
|
+
};
|
|
19919
|
+
content: {
|
|
19920
|
+
"application/json": {
|
|
19921
|
+
data: {
|
|
19922
|
+
/** @example GB */
|
|
19923
|
+
code: string;
|
|
19924
|
+
/** @example United Kingdom */
|
|
19925
|
+
name: string;
|
|
19926
|
+
/** @example 99 */
|
|
19927
|
+
region_count: number;
|
|
19928
|
+
}[];
|
|
19929
|
+
};
|
|
19930
|
+
};
|
|
19931
|
+
};
|
|
19932
|
+
};
|
|
19933
|
+
};
|
|
19934
|
+
getGeoCountry: {
|
|
19935
|
+
parameters: {
|
|
19936
|
+
query?: never;
|
|
19937
|
+
header?: never;
|
|
19938
|
+
path: {
|
|
19939
|
+
code: string;
|
|
19940
|
+
};
|
|
19941
|
+
cookie?: never;
|
|
19942
|
+
};
|
|
19943
|
+
requestBody?: never;
|
|
19944
|
+
responses: {
|
|
19945
|
+
/** @description Country detail */
|
|
19946
|
+
200: {
|
|
19947
|
+
headers: {
|
|
19948
|
+
[name: string]: unknown;
|
|
19949
|
+
};
|
|
19950
|
+
content: {
|
|
19951
|
+
"application/json": {
|
|
19952
|
+
data: {
|
|
19953
|
+
/** @example GB */
|
|
19954
|
+
code: string;
|
|
19955
|
+
/** @example United Kingdom */
|
|
19956
|
+
name: string;
|
|
19957
|
+
/**
|
|
19958
|
+
* @example [
|
|
19959
|
+
* "England",
|
|
19960
|
+
* "Scotland",
|
|
19961
|
+
* "Wales",
|
|
19962
|
+
* "Northern Ireland"
|
|
19963
|
+
* ]
|
|
19964
|
+
*/
|
|
19965
|
+
subdivisions: string[];
|
|
19966
|
+
/** @example 99 */
|
|
19967
|
+
region_count: number;
|
|
19968
|
+
};
|
|
19969
|
+
};
|
|
19970
|
+
};
|
|
19971
|
+
};
|
|
19972
|
+
};
|
|
19973
|
+
};
|
|
19974
|
+
listGeoRegions: {
|
|
19975
|
+
parameters: {
|
|
19976
|
+
query?: {
|
|
19977
|
+
/** @description Filter by ISO country code */
|
|
19978
|
+
country?: string;
|
|
19979
|
+
/** @description Filter by parent subdivision */
|
|
19980
|
+
parent?: string;
|
|
19981
|
+
/** @description Filter by region type */
|
|
19982
|
+
type?: string;
|
|
19983
|
+
};
|
|
19984
|
+
header?: never;
|
|
19985
|
+
path?: never;
|
|
19986
|
+
cookie?: never;
|
|
19987
|
+
};
|
|
19988
|
+
requestBody?: never;
|
|
19989
|
+
responses: {
|
|
19990
|
+
/** @description Region list */
|
|
19991
|
+
200: {
|
|
19992
|
+
headers: {
|
|
19993
|
+
[name: string]: unknown;
|
|
19994
|
+
};
|
|
19995
|
+
content: {
|
|
19996
|
+
"application/json": {
|
|
19997
|
+
data: {
|
|
19998
|
+
/** @example derbyshire */
|
|
19999
|
+
slug: string;
|
|
20000
|
+
/** @example Derbyshire */
|
|
20001
|
+
name: string;
|
|
20002
|
+
/** @example GB */
|
|
20003
|
+
country_code: string;
|
|
20004
|
+
/** @example England */
|
|
20005
|
+
parent: string;
|
|
20006
|
+
/** @example county */
|
|
20007
|
+
type: string;
|
|
20008
|
+
}[];
|
|
20009
|
+
};
|
|
20010
|
+
};
|
|
20011
|
+
};
|
|
20012
|
+
};
|
|
20013
|
+
};
|
|
20014
|
+
getGeoRegion: {
|
|
20015
|
+
parameters: {
|
|
20016
|
+
query?: never;
|
|
20017
|
+
header?: never;
|
|
20018
|
+
path: {
|
|
20019
|
+
slug: string;
|
|
20020
|
+
};
|
|
20021
|
+
cookie?: never;
|
|
20022
|
+
};
|
|
20023
|
+
requestBody?: never;
|
|
20024
|
+
responses: {
|
|
20025
|
+
/** @description Region detail */
|
|
20026
|
+
200: {
|
|
20027
|
+
headers: {
|
|
20028
|
+
[name: string]: unknown;
|
|
20029
|
+
};
|
|
20030
|
+
content: {
|
|
20031
|
+
"application/json": {
|
|
20032
|
+
data: {
|
|
20033
|
+
/** @example derbyshire */
|
|
20034
|
+
slug: string;
|
|
20035
|
+
/** @example Derbyshire */
|
|
20036
|
+
name: string;
|
|
20037
|
+
/** @example GB */
|
|
20038
|
+
country_code: string;
|
|
20039
|
+
/** @example England */
|
|
20040
|
+
parent: string;
|
|
20041
|
+
/** @example county */
|
|
20042
|
+
type: string;
|
|
20043
|
+
};
|
|
20044
|
+
};
|
|
20045
|
+
};
|
|
20046
|
+
};
|
|
20047
|
+
};
|
|
20048
|
+
};
|
|
20049
|
+
listGeoOutcodes: {
|
|
20050
|
+
parameters: {
|
|
20051
|
+
query?: {
|
|
20052
|
+
/** @description Filter by postcode area (e.g. S, LE, DE) */
|
|
20053
|
+
area?: string;
|
|
20054
|
+
/** @description Filter by country name */
|
|
20055
|
+
country?: string;
|
|
20056
|
+
/** @description Search by outcode prefix */
|
|
20057
|
+
q?: string;
|
|
20058
|
+
};
|
|
20059
|
+
header?: never;
|
|
20060
|
+
path?: never;
|
|
20061
|
+
cookie?: never;
|
|
20062
|
+
};
|
|
20063
|
+
requestBody?: never;
|
|
20064
|
+
responses: {
|
|
20065
|
+
/** @description Outcode list */
|
|
20066
|
+
200: {
|
|
20067
|
+
headers: {
|
|
20068
|
+
[name: string]: unknown;
|
|
20069
|
+
};
|
|
20070
|
+
content: {
|
|
20071
|
+
"application/json": {
|
|
20072
|
+
data: {
|
|
20073
|
+
/** @example S40 */
|
|
20074
|
+
outcode: string;
|
|
20075
|
+
/** @example S */
|
|
20076
|
+
area: string;
|
|
20077
|
+
/** @example 53.235 */
|
|
20078
|
+
latitude: number;
|
|
20079
|
+
/** @example -1.4216 */
|
|
20080
|
+
longitude: number;
|
|
20081
|
+
/** @example 656 */
|
|
20082
|
+
postcode_count: number;
|
|
20083
|
+
/** @example Derbyshire */
|
|
20084
|
+
county?: string;
|
|
20085
|
+
/** @example East Midlands */
|
|
20086
|
+
region?: string;
|
|
20087
|
+
/** @example England */
|
|
20088
|
+
country?: string;
|
|
20089
|
+
}[];
|
|
20090
|
+
};
|
|
20091
|
+
};
|
|
20092
|
+
};
|
|
20093
|
+
};
|
|
20094
|
+
};
|
|
20095
|
+
getGeoOutcode: {
|
|
20096
|
+
parameters: {
|
|
20097
|
+
query?: never;
|
|
20098
|
+
header?: never;
|
|
20099
|
+
path: {
|
|
20100
|
+
outcode: string;
|
|
20101
|
+
};
|
|
20102
|
+
cookie?: never;
|
|
20103
|
+
};
|
|
20104
|
+
requestBody?: never;
|
|
20105
|
+
responses: {
|
|
20106
|
+
/** @description Outcode detail */
|
|
20107
|
+
200: {
|
|
20108
|
+
headers: {
|
|
20109
|
+
[name: string]: unknown;
|
|
20110
|
+
};
|
|
20111
|
+
content: {
|
|
20112
|
+
"application/json": {
|
|
20113
|
+
data: {
|
|
20114
|
+
/** @example S40 */
|
|
20115
|
+
outcode: string;
|
|
20116
|
+
/** @example S */
|
|
20117
|
+
area: string;
|
|
20118
|
+
/** @example 53.235 */
|
|
20119
|
+
latitude: number;
|
|
20120
|
+
/** @example -1.4216 */
|
|
20121
|
+
longitude: number;
|
|
20122
|
+
/** @example 656 */
|
|
20123
|
+
postcode_count: number;
|
|
20124
|
+
/** @example Derbyshire */
|
|
20125
|
+
county?: string;
|
|
20126
|
+
/** @example East Midlands */
|
|
20127
|
+
region?: string;
|
|
20128
|
+
/** @example England */
|
|
20129
|
+
country?: string;
|
|
20130
|
+
};
|
|
20131
|
+
};
|
|
20132
|
+
};
|
|
20133
|
+
};
|
|
20134
|
+
};
|
|
20135
|
+
};
|
|
20136
|
+
listGeoCities: {
|
|
20137
|
+
parameters: {
|
|
20138
|
+
query?: {
|
|
20139
|
+
/** @description Filter by region slug */
|
|
20140
|
+
region?: string;
|
|
20141
|
+
/** @description Filter by ISO country code */
|
|
20142
|
+
country?: string;
|
|
20143
|
+
/** @description Search by city name prefix */
|
|
20144
|
+
q?: string;
|
|
20145
|
+
};
|
|
20146
|
+
header?: never;
|
|
20147
|
+
path?: never;
|
|
20148
|
+
cookie?: never;
|
|
20149
|
+
};
|
|
20150
|
+
requestBody?: never;
|
|
20151
|
+
responses: {
|
|
20152
|
+
/** @description City list */
|
|
20153
|
+
200: {
|
|
20154
|
+
headers: {
|
|
20155
|
+
[name: string]: unknown;
|
|
20156
|
+
};
|
|
20157
|
+
content: {
|
|
20158
|
+
"application/json": {
|
|
20159
|
+
data: {
|
|
20160
|
+
/** @example chesterfield */
|
|
20161
|
+
slug: string;
|
|
20162
|
+
/** @example Chesterfield */
|
|
20163
|
+
name: string;
|
|
20164
|
+
/** @example derbyshire */
|
|
20165
|
+
region_slug: string;
|
|
20166
|
+
/** @example GB */
|
|
20167
|
+
country_code: string;
|
|
20168
|
+
/** @example 53.235 */
|
|
20169
|
+
latitude: number;
|
|
20170
|
+
/** @example -1.4216 */
|
|
20171
|
+
longitude: number;
|
|
20172
|
+
/** @example S40 */
|
|
20173
|
+
postcode_area: string;
|
|
20174
|
+
}[];
|
|
20175
|
+
};
|
|
20176
|
+
};
|
|
20177
|
+
};
|
|
20178
|
+
};
|
|
20179
|
+
};
|
|
20180
|
+
getGeoCity: {
|
|
20181
|
+
parameters: {
|
|
20182
|
+
query?: never;
|
|
20183
|
+
header?: never;
|
|
20184
|
+
path: {
|
|
20185
|
+
slug: string;
|
|
20186
|
+
};
|
|
20187
|
+
cookie?: never;
|
|
20188
|
+
};
|
|
20189
|
+
requestBody?: never;
|
|
20190
|
+
responses: {
|
|
20191
|
+
/** @description City detail */
|
|
20192
|
+
200: {
|
|
20193
|
+
headers: {
|
|
20194
|
+
[name: string]: unknown;
|
|
20195
|
+
};
|
|
20196
|
+
content: {
|
|
20197
|
+
"application/json": {
|
|
20198
|
+
data: {
|
|
20199
|
+
/** @example chesterfield */
|
|
20200
|
+
slug: string;
|
|
20201
|
+
/** @example Chesterfield */
|
|
20202
|
+
name: string;
|
|
20203
|
+
/** @example derbyshire */
|
|
20204
|
+
region_slug: string;
|
|
20205
|
+
/** @example GB */
|
|
20206
|
+
country_code: string;
|
|
20207
|
+
/** @example 53.235 */
|
|
20208
|
+
latitude: number;
|
|
20209
|
+
/** @example -1.4216 */
|
|
20210
|
+
longitude: number;
|
|
20211
|
+
/** @example S40 */
|
|
20212
|
+
postcode_area: string;
|
|
20213
|
+
};
|
|
20214
|
+
};
|
|
20215
|
+
};
|
|
20216
|
+
};
|
|
20217
|
+
};
|
|
20218
|
+
};
|
|
20219
|
+
getGeoPostcode: {
|
|
20220
|
+
parameters: {
|
|
20221
|
+
query?: never;
|
|
20222
|
+
header?: never;
|
|
20223
|
+
path: {
|
|
20224
|
+
postcode: string;
|
|
20225
|
+
};
|
|
20226
|
+
cookie?: never;
|
|
20227
|
+
};
|
|
20228
|
+
requestBody?: never;
|
|
20229
|
+
responses: {
|
|
20230
|
+
/** @description Postcode detail */
|
|
20231
|
+
200: {
|
|
20232
|
+
headers: {
|
|
20233
|
+
[name: string]: unknown;
|
|
20234
|
+
};
|
|
20235
|
+
content: {
|
|
20236
|
+
"application/json": {
|
|
20237
|
+
data: {
|
|
20238
|
+
/** @example S40 1AB */
|
|
20239
|
+
postcode: string;
|
|
20240
|
+
/** @example S40 */
|
|
20241
|
+
outcode: string;
|
|
20242
|
+
/** @example 53.2353 */
|
|
20243
|
+
latitude: number;
|
|
20244
|
+
/** @example -1.4216 */
|
|
20245
|
+
longitude: number;
|
|
20246
|
+
/** @example Derbyshire */
|
|
20247
|
+
county?: string;
|
|
20248
|
+
/** @example Chesterfield */
|
|
20249
|
+
district?: string;
|
|
20250
|
+
/** @example East Midlands */
|
|
20251
|
+
region?: string;
|
|
20252
|
+
/** @example England */
|
|
20253
|
+
country?: string;
|
|
20254
|
+
};
|
|
20255
|
+
};
|
|
20256
|
+
};
|
|
20257
|
+
};
|
|
20258
|
+
};
|
|
20259
|
+
};
|
|
19617
20260
|
listPosts: {
|
|
19618
20261
|
parameters: {
|
|
19619
20262
|
query?: {
|