@gethydra/sdk 0.1.56 → 0.1.57
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 +1208 -8
- package/package.json +51 -51
package/dist/index.d.ts
CHANGED
|
@@ -267,6 +267,20 @@ interface components {
|
|
|
267
267
|
last_published_at: string | null;
|
|
268
268
|
/** @example 3 */
|
|
269
269
|
unpublished_changes_count?: number;
|
|
270
|
+
/** @description API quota usage for the current billing period */
|
|
271
|
+
quota: {
|
|
272
|
+
/** @example 1250 */
|
|
273
|
+
used: number;
|
|
274
|
+
/** @example 2000 */
|
|
275
|
+
limit: number;
|
|
276
|
+
/** @example false */
|
|
277
|
+
exceeded: boolean;
|
|
278
|
+
/**
|
|
279
|
+
* Format: date-time
|
|
280
|
+
* @example 2026-12-01T00:00:00.000Z
|
|
281
|
+
*/
|
|
282
|
+
resets_at: string;
|
|
283
|
+
};
|
|
270
284
|
/**
|
|
271
285
|
* Format: date-time
|
|
272
286
|
* @example 2025-11-01T00:00:00.000Z
|
|
@@ -8955,7 +8969,7 @@ interface operations {
|
|
|
8955
8969
|
fields?: string;
|
|
8956
8970
|
unattached?: "true" | "false";
|
|
8957
8971
|
search?: string;
|
|
8958
|
-
category?: "product" | "collection" | "blog" | "logo" | "general" | "page" | "marketing";
|
|
8972
|
+
category?: "product" | "collection" | "blog" | "logo" | "general" | "page" | "marketing" | "directory";
|
|
8959
8973
|
};
|
|
8960
8974
|
header?: never;
|
|
8961
8975
|
path?: never;
|
|
@@ -9011,7 +9025,7 @@ interface operations {
|
|
|
9011
9025
|
};
|
|
9012
9026
|
};
|
|
9013
9027
|
};
|
|
9014
|
-
|
|
9028
|
+
getImage: {
|
|
9015
9029
|
parameters: {
|
|
9016
9030
|
query?: never;
|
|
9017
9031
|
header?: never;
|
|
@@ -9022,12 +9036,16 @@ interface operations {
|
|
|
9022
9036
|
};
|
|
9023
9037
|
requestBody?: never;
|
|
9024
9038
|
responses: {
|
|
9025
|
-
/** @description Image
|
|
9026
|
-
|
|
9039
|
+
/** @description Image details */
|
|
9040
|
+
200: {
|
|
9027
9041
|
headers: {
|
|
9028
9042
|
[name: string]: unknown;
|
|
9029
9043
|
};
|
|
9030
|
-
content
|
|
9044
|
+
content: {
|
|
9045
|
+
"application/json": {
|
|
9046
|
+
data: components["schemas"]["Image"];
|
|
9047
|
+
};
|
|
9048
|
+
};
|
|
9031
9049
|
};
|
|
9032
9050
|
};
|
|
9033
9051
|
};
|
|
@@ -9067,7 +9085,7 @@ interface operations {
|
|
|
9067
9085
|
position?: number;
|
|
9068
9086
|
slug?: string;
|
|
9069
9087
|
/** @enum {string} */
|
|
9070
|
-
category?: "product" | "collection" | "blog" | "logo" | "general" | "page" | "marketing";
|
|
9088
|
+
category?: "product" | "collection" | "blog" | "logo" | "general" | "page" | "marketing" | "directory";
|
|
9071
9089
|
};
|
|
9072
9090
|
};
|
|
9073
9091
|
};
|
|
@@ -9085,6 +9103,26 @@ interface operations {
|
|
|
9085
9103
|
};
|
|
9086
9104
|
};
|
|
9087
9105
|
};
|
|
9106
|
+
detachImage: {
|
|
9107
|
+
parameters: {
|
|
9108
|
+
query?: never;
|
|
9109
|
+
header?: never;
|
|
9110
|
+
path: {
|
|
9111
|
+
id: string;
|
|
9112
|
+
};
|
|
9113
|
+
cookie?: never;
|
|
9114
|
+
};
|
|
9115
|
+
requestBody?: never;
|
|
9116
|
+
responses: {
|
|
9117
|
+
/** @description Image detached */
|
|
9118
|
+
204: {
|
|
9119
|
+
headers: {
|
|
9120
|
+
[name: string]: unknown;
|
|
9121
|
+
};
|
|
9122
|
+
content?: never;
|
|
9123
|
+
};
|
|
9124
|
+
};
|
|
9125
|
+
};
|
|
9088
9126
|
listCollections: {
|
|
9089
9127
|
parameters: {
|
|
9090
9128
|
query?: {
|
|
@@ -13851,7 +13889,7 @@ interface operations {
|
|
|
13851
13889
|
* "order.paid"
|
|
13852
13890
|
* ]
|
|
13853
13891
|
*/
|
|
13854
|
-
events: ("product.created" | "product.updated" | "product.deleted" | "order.created" | "order.paid" | "order.fulfilled" | "order.cancelled" | "order.refunded" | "channel.created" | "channel.updated" | "channel.archived" | "collection.created" | "collection.updated" | "collection.deleted" | "company.created" | "company.updated" | "company.deleted" | "customer.created" | "customer.updated" | "customer_photo.submitted" | "customer_photo.approved" | "customer_photo.rejected" | "discount.created" | "discount.updated" | "discount.deleted" | "draft_order.created" | "draft_order.updated" | "draft_order.completed" | "draft_order.deleted" | "filter_attribute.created" | "filter_attribute.updated" | "filter_attribute.deleted" | "fulfillment.created" | "fulfillment.updated" | "fulfillment.cancelled" | "fulfillment_order.created" | "inventory.low" | "location.created" | "location.updated" | "location.deleted" | "navigation.created" | "navigation.updated" | "navigation.deleted" | "shipping.zone.created" | "shipping.zone.updated" | "shipping.zone.deleted" | "post.created" | "post.updated" | "post.deleted" | "post.published" | "post.unpublished" | "promotion.created" | "promotion.updated" | "promotion.deleted" | "purchase_order.created" | "purchase_order.updated" | "purchase_order.received" | "purchase_order.cancelled" | "refund.created" | "refund.succeeded" | "refund.failed" | "return.requested" | "return.approved" | "return.received" | "return.rejected" | "return.cancelled" | "return.closed" | "store.published" | "store_credit.issued" | "store_credit.used" | "store_credit.expired" | "loyalty.earned" | "loyalty.clawed_back" | "gift_card.created" | "gift_card.updated" | "gift_card.deactivated" | "gift_card.redeemed" | "gift_card.credited" | "gift_card.converted" | "membership.created" | "membership.updated" | "membership.cancelled" | "membership.expired" | "usage.warning" | "booking.created" | "booking.confirmed" | "booking.cancelled" | "booking.completed" | "lookbook.created" | "lookbook.updated" | "lookbook.deleted")[];
|
|
13892
|
+
events: ("product.created" | "product.updated" | "product.deleted" | "order.created" | "order.paid" | "order.fulfilled" | "order.cancelled" | "order.refunded" | "channel.created" | "channel.updated" | "channel.archived" | "collection.created" | "collection.updated" | "collection.deleted" | "company.created" | "company.updated" | "company.deleted" | "customer.created" | "customer.updated" | "customer_photo.submitted" | "customer_photo.approved" | "customer_photo.rejected" | "discount.created" | "discount.updated" | "discount.deleted" | "draft_order.created" | "draft_order.updated" | "draft_order.completed" | "draft_order.deleted" | "filter_attribute.created" | "filter_attribute.updated" | "filter_attribute.deleted" | "fulfillment.created" | "fulfillment.updated" | "fulfillment.cancelled" | "fulfillment_order.created" | "inventory.low" | "location.created" | "location.updated" | "location.deleted" | "navigation.created" | "navigation.updated" | "navigation.deleted" | "shipping.zone.created" | "shipping.zone.updated" | "shipping.zone.deleted" | "post.created" | "post.updated" | "post.deleted" | "post.published" | "post.unpublished" | "promotion.created" | "promotion.updated" | "promotion.deleted" | "purchase_order.created" | "purchase_order.updated" | "purchase_order.received" | "purchase_order.cancelled" | "refund.created" | "refund.succeeded" | "refund.failed" | "return.requested" | "return.approved" | "return.received" | "return.rejected" | "return.cancelled" | "return.closed" | "store.published" | "store_credit.issued" | "store_credit.used" | "store_credit.expired" | "loyalty.earned" | "loyalty.clawed_back" | "gift_card.created" | "gift_card.updated" | "gift_card.deactivated" | "gift_card.redeemed" | "gift_card.credited" | "gift_card.converted" | "membership.created" | "membership.updated" | "membership.cancelled" | "membership.expired" | "usage.warning" | "booking.created" | "booking.confirmed" | "booking.cancelled" | "booking.completed" | "booking.rescheduled" | "lookbook.created" | "lookbook.updated" | "lookbook.deleted" | "directory.listing.created" | "directory.listing.updated" | "directory.listing.deleted" | "directory.listing.claimed")[];
|
|
13855
13893
|
/**
|
|
13856
13894
|
* @default active
|
|
13857
13895
|
* @example active
|
|
@@ -13945,7 +13983,7 @@ interface operations {
|
|
|
13945
13983
|
* "product.updated"
|
|
13946
13984
|
* ]
|
|
13947
13985
|
*/
|
|
13948
|
-
events?: ("product.created" | "product.updated" | "product.deleted" | "order.created" | "order.paid" | "order.fulfilled" | "order.cancelled" | "order.refunded" | "channel.created" | "channel.updated" | "channel.archived" | "collection.created" | "collection.updated" | "collection.deleted" | "company.created" | "company.updated" | "company.deleted" | "customer.created" | "customer.updated" | "customer_photo.submitted" | "customer_photo.approved" | "customer_photo.rejected" | "discount.created" | "discount.updated" | "discount.deleted" | "draft_order.created" | "draft_order.updated" | "draft_order.completed" | "draft_order.deleted" | "filter_attribute.created" | "filter_attribute.updated" | "filter_attribute.deleted" | "fulfillment.created" | "fulfillment.updated" | "fulfillment.cancelled" | "fulfillment_order.created" | "inventory.low" | "location.created" | "location.updated" | "location.deleted" | "navigation.created" | "navigation.updated" | "navigation.deleted" | "shipping.zone.created" | "shipping.zone.updated" | "shipping.zone.deleted" | "post.created" | "post.updated" | "post.deleted" | "post.published" | "post.unpublished" | "promotion.created" | "promotion.updated" | "promotion.deleted" | "purchase_order.created" | "purchase_order.updated" | "purchase_order.received" | "purchase_order.cancelled" | "refund.created" | "refund.succeeded" | "refund.failed" | "return.requested" | "return.approved" | "return.received" | "return.rejected" | "return.cancelled" | "return.closed" | "store.published" | "store_credit.issued" | "store_credit.used" | "store_credit.expired" | "loyalty.earned" | "loyalty.clawed_back" | "gift_card.created" | "gift_card.updated" | "gift_card.deactivated" | "gift_card.redeemed" | "gift_card.credited" | "gift_card.converted" | "membership.created" | "membership.updated" | "membership.cancelled" | "membership.expired" | "usage.warning" | "booking.created" | "booking.confirmed" | "booking.cancelled" | "booking.completed" | "lookbook.created" | "lookbook.updated" | "lookbook.deleted")[];
|
|
13986
|
+
events?: ("product.created" | "product.updated" | "product.deleted" | "order.created" | "order.paid" | "order.fulfilled" | "order.cancelled" | "order.refunded" | "channel.created" | "channel.updated" | "channel.archived" | "collection.created" | "collection.updated" | "collection.deleted" | "company.created" | "company.updated" | "company.deleted" | "customer.created" | "customer.updated" | "customer_photo.submitted" | "customer_photo.approved" | "customer_photo.rejected" | "discount.created" | "discount.updated" | "discount.deleted" | "draft_order.created" | "draft_order.updated" | "draft_order.completed" | "draft_order.deleted" | "filter_attribute.created" | "filter_attribute.updated" | "filter_attribute.deleted" | "fulfillment.created" | "fulfillment.updated" | "fulfillment.cancelled" | "fulfillment_order.created" | "inventory.low" | "location.created" | "location.updated" | "location.deleted" | "navigation.created" | "navigation.updated" | "navigation.deleted" | "shipping.zone.created" | "shipping.zone.updated" | "shipping.zone.deleted" | "post.created" | "post.updated" | "post.deleted" | "post.published" | "post.unpublished" | "promotion.created" | "promotion.updated" | "promotion.deleted" | "purchase_order.created" | "purchase_order.updated" | "purchase_order.received" | "purchase_order.cancelled" | "refund.created" | "refund.succeeded" | "refund.failed" | "return.requested" | "return.approved" | "return.received" | "return.rejected" | "return.cancelled" | "return.closed" | "store.published" | "store_credit.issued" | "store_credit.used" | "store_credit.expired" | "loyalty.earned" | "loyalty.clawed_back" | "gift_card.created" | "gift_card.updated" | "gift_card.deactivated" | "gift_card.redeemed" | "gift_card.credited" | "gift_card.converted" | "membership.created" | "membership.updated" | "membership.cancelled" | "membership.expired" | "usage.warning" | "booking.created" | "booking.confirmed" | "booking.cancelled" | "booking.completed" | "booking.rescheduled" | "lookbook.created" | "lookbook.updated" | "lookbook.deleted" | "directory.listing.created" | "directory.listing.updated" | "directory.listing.deleted" | "directory.listing.claimed")[];
|
|
13949
13987
|
/**
|
|
13950
13988
|
* @example active
|
|
13951
13989
|
* @enum {string}
|
|
@@ -17471,6 +17509,63 @@ interface operations {
|
|
|
17471
17509
|
};
|
|
17472
17510
|
};
|
|
17473
17511
|
};
|
|
17512
|
+
cancelMyAppointment: {
|
|
17513
|
+
parameters: {
|
|
17514
|
+
query?: never;
|
|
17515
|
+
header?: never;
|
|
17516
|
+
path: {
|
|
17517
|
+
id: string;
|
|
17518
|
+
};
|
|
17519
|
+
cookie?: never;
|
|
17520
|
+
};
|
|
17521
|
+
requestBody?: never;
|
|
17522
|
+
responses: {
|
|
17523
|
+
/** @description Appointment cancelled */
|
|
17524
|
+
200: {
|
|
17525
|
+
headers: {
|
|
17526
|
+
[name: string]: unknown;
|
|
17527
|
+
};
|
|
17528
|
+
content: {
|
|
17529
|
+
"application/json": {
|
|
17530
|
+
data: components["schemas"]["Appointment"];
|
|
17531
|
+
};
|
|
17532
|
+
};
|
|
17533
|
+
};
|
|
17534
|
+
};
|
|
17535
|
+
};
|
|
17536
|
+
rescheduleMyAppointment: {
|
|
17537
|
+
parameters: {
|
|
17538
|
+
query?: never;
|
|
17539
|
+
header?: never;
|
|
17540
|
+
path: {
|
|
17541
|
+
id: string;
|
|
17542
|
+
};
|
|
17543
|
+
cookie?: never;
|
|
17544
|
+
};
|
|
17545
|
+
requestBody?: {
|
|
17546
|
+
content: {
|
|
17547
|
+
"application/json": {
|
|
17548
|
+
/** @example 2026-12-01 */
|
|
17549
|
+
scheduled_date: string;
|
|
17550
|
+
/** @example 14:00 */
|
|
17551
|
+
start_time: string;
|
|
17552
|
+
};
|
|
17553
|
+
};
|
|
17554
|
+
};
|
|
17555
|
+
responses: {
|
|
17556
|
+
/** @description Appointment rescheduled */
|
|
17557
|
+
200: {
|
|
17558
|
+
headers: {
|
|
17559
|
+
[name: string]: unknown;
|
|
17560
|
+
};
|
|
17561
|
+
content: {
|
|
17562
|
+
"application/json": {
|
|
17563
|
+
data: components["schemas"]["Appointment"];
|
|
17564
|
+
};
|
|
17565
|
+
};
|
|
17566
|
+
};
|
|
17567
|
+
};
|
|
17568
|
+
};
|
|
17474
17569
|
getAppointment: {
|
|
17475
17570
|
parameters: {
|
|
17476
17571
|
query?: never;
|
|
@@ -17530,6 +17625,39 @@ interface operations {
|
|
|
17530
17625
|
};
|
|
17531
17626
|
};
|
|
17532
17627
|
};
|
|
17628
|
+
rescheduleAppointment: {
|
|
17629
|
+
parameters: {
|
|
17630
|
+
query?: never;
|
|
17631
|
+
header?: never;
|
|
17632
|
+
path: {
|
|
17633
|
+
id: string;
|
|
17634
|
+
};
|
|
17635
|
+
cookie?: never;
|
|
17636
|
+
};
|
|
17637
|
+
requestBody?: {
|
|
17638
|
+
content: {
|
|
17639
|
+
"application/json": {
|
|
17640
|
+
/** @example 2026-12-01 */
|
|
17641
|
+
scheduled_date: string;
|
|
17642
|
+
/** @example 14:00 */
|
|
17643
|
+
start_time: string;
|
|
17644
|
+
};
|
|
17645
|
+
};
|
|
17646
|
+
};
|
|
17647
|
+
responses: {
|
|
17648
|
+
/** @description Appointment rescheduled */
|
|
17649
|
+
200: {
|
|
17650
|
+
headers: {
|
|
17651
|
+
[name: string]: unknown;
|
|
17652
|
+
};
|
|
17653
|
+
content: {
|
|
17654
|
+
"application/json": {
|
|
17655
|
+
data: components["schemas"]["Appointment"];
|
|
17656
|
+
};
|
|
17657
|
+
};
|
|
17658
|
+
};
|
|
17659
|
+
};
|
|
17660
|
+
};
|
|
17533
17661
|
listAvailabilityOverrides: {
|
|
17534
17662
|
parameters: {
|
|
17535
17663
|
query: {
|
|
@@ -18414,6 +18542,1078 @@ interface operations {
|
|
|
18414
18542
|
};
|
|
18415
18543
|
};
|
|
18416
18544
|
};
|
|
18545
|
+
listDirectoryListings: {
|
|
18546
|
+
parameters: {
|
|
18547
|
+
query?: {
|
|
18548
|
+
limit?: number;
|
|
18549
|
+
cursor?: string;
|
|
18550
|
+
fields?: string;
|
|
18551
|
+
city?: string;
|
|
18552
|
+
category_key?: string;
|
|
18553
|
+
listing_tier?: string;
|
|
18554
|
+
status?: "draft" | "active" | "pending" | "suspended";
|
|
18555
|
+
search?: string;
|
|
18556
|
+
sort?: "created_at" | "updated_at" | "name" | "city";
|
|
18557
|
+
order?: "asc" | "desc";
|
|
18558
|
+
};
|
|
18559
|
+
header?: never;
|
|
18560
|
+
path?: never;
|
|
18561
|
+
cookie?: never;
|
|
18562
|
+
};
|
|
18563
|
+
requestBody?: never;
|
|
18564
|
+
responses: {
|
|
18565
|
+
/** @description Paginated listings */
|
|
18566
|
+
200: {
|
|
18567
|
+
headers: {
|
|
18568
|
+
[name: string]: unknown;
|
|
18569
|
+
};
|
|
18570
|
+
content: {
|
|
18571
|
+
"application/json": {
|
|
18572
|
+
data: {
|
|
18573
|
+
id: string;
|
|
18574
|
+
store_id: string;
|
|
18575
|
+
name: string;
|
|
18576
|
+
slug: string;
|
|
18577
|
+
description: string | null;
|
|
18578
|
+
phone: string | null;
|
|
18579
|
+
email: string | null;
|
|
18580
|
+
website: string | null;
|
|
18581
|
+
address: string | null;
|
|
18582
|
+
address_line_2: string | null;
|
|
18583
|
+
address_line_3: string | null;
|
|
18584
|
+
city: string;
|
|
18585
|
+
postcode: string | null;
|
|
18586
|
+
latitude: number | null;
|
|
18587
|
+
longitude: number | null;
|
|
18588
|
+
region: string | null;
|
|
18589
|
+
country: string | null;
|
|
18590
|
+
category_key: string;
|
|
18591
|
+
logo_id: string | null;
|
|
18592
|
+
image_ids: string[];
|
|
18593
|
+
social: {
|
|
18594
|
+
[key: string]: string;
|
|
18595
|
+
};
|
|
18596
|
+
opening_hours?: unknown;
|
|
18597
|
+
services: string[];
|
|
18598
|
+
amenities: string[];
|
|
18599
|
+
brands: string[];
|
|
18600
|
+
accreditations: string[];
|
|
18601
|
+
price_range: string | null;
|
|
18602
|
+
service_mode: string;
|
|
18603
|
+
additional_details: {
|
|
18604
|
+
label: string;
|
|
18605
|
+
value: string;
|
|
18606
|
+
}[];
|
|
18607
|
+
accessibility: {
|
|
18608
|
+
[key: string]: boolean;
|
|
18609
|
+
};
|
|
18610
|
+
claimed_by: string | null;
|
|
18611
|
+
claimed_at: string | null;
|
|
18612
|
+
verified: boolean | null;
|
|
18613
|
+
listing_tier: string | null;
|
|
18614
|
+
status: string | null;
|
|
18615
|
+
source_url: string | null;
|
|
18616
|
+
created_at: string;
|
|
18617
|
+
updated_at: string;
|
|
18618
|
+
}[];
|
|
18619
|
+
pagination: {
|
|
18620
|
+
cursor: string | null;
|
|
18621
|
+
has_more: boolean;
|
|
18622
|
+
total: number;
|
|
18623
|
+
};
|
|
18624
|
+
};
|
|
18625
|
+
};
|
|
18626
|
+
};
|
|
18627
|
+
};
|
|
18628
|
+
};
|
|
18629
|
+
createDirectoryListing: {
|
|
18630
|
+
parameters: {
|
|
18631
|
+
query?: never;
|
|
18632
|
+
header?: never;
|
|
18633
|
+
path?: never;
|
|
18634
|
+
cookie?: never;
|
|
18635
|
+
};
|
|
18636
|
+
requestBody?: {
|
|
18637
|
+
content: {
|
|
18638
|
+
"application/json": {
|
|
18639
|
+
name: string;
|
|
18640
|
+
slug: string;
|
|
18641
|
+
description?: string | null;
|
|
18642
|
+
phone?: string | null;
|
|
18643
|
+
/** Format: email */
|
|
18644
|
+
email?: string | null;
|
|
18645
|
+
/** Format: uri */
|
|
18646
|
+
website?: string | null;
|
|
18647
|
+
address?: string | null;
|
|
18648
|
+
address_line_2?: string | null;
|
|
18649
|
+
address_line_3?: string | null;
|
|
18650
|
+
city: string;
|
|
18651
|
+
postcode?: string | null;
|
|
18652
|
+
latitude?: number | null;
|
|
18653
|
+
longitude?: number | null;
|
|
18654
|
+
region?: string | null;
|
|
18655
|
+
/** @default United Kingdom */
|
|
18656
|
+
country?: string | null;
|
|
18657
|
+
category_key: string;
|
|
18658
|
+
logo_id?: string | null;
|
|
18659
|
+
/** @default [] */
|
|
18660
|
+
image_ids?: string[];
|
|
18661
|
+
/** @default {} */
|
|
18662
|
+
social?: {
|
|
18663
|
+
[key: string]: string;
|
|
18664
|
+
};
|
|
18665
|
+
opening_hours?: unknown;
|
|
18666
|
+
/** @default [] */
|
|
18667
|
+
services?: string[];
|
|
18668
|
+
/** @default [] */
|
|
18669
|
+
amenities?: string[];
|
|
18670
|
+
/** @default [] */
|
|
18671
|
+
brands?: string[];
|
|
18672
|
+
/** @default [] */
|
|
18673
|
+
accreditations?: string[];
|
|
18674
|
+
price_range?: string | null;
|
|
18675
|
+
/**
|
|
18676
|
+
* @default location
|
|
18677
|
+
* @enum {string}
|
|
18678
|
+
*/
|
|
18679
|
+
service_mode?: "location" | "mobile" | "online" | "hybrid";
|
|
18680
|
+
/** @default [] */
|
|
18681
|
+
additional_details?: {
|
|
18682
|
+
label: string;
|
|
18683
|
+
value: string;
|
|
18684
|
+
}[];
|
|
18685
|
+
/** @default {} */
|
|
18686
|
+
accessibility?: {
|
|
18687
|
+
[key: string]: boolean;
|
|
18688
|
+
};
|
|
18689
|
+
listing_tier?: string | null;
|
|
18690
|
+
/**
|
|
18691
|
+
* @default draft
|
|
18692
|
+
* @enum {string}
|
|
18693
|
+
*/
|
|
18694
|
+
status?: "draft" | "active" | "pending" | "suspended";
|
|
18695
|
+
/** @default null */
|
|
18696
|
+
verified?: boolean | null;
|
|
18697
|
+
/** Format: uri */
|
|
18698
|
+
source_url?: string | null;
|
|
18699
|
+
};
|
|
18700
|
+
};
|
|
18701
|
+
};
|
|
18702
|
+
responses: {
|
|
18703
|
+
/** @description Listing created */
|
|
18704
|
+
201: {
|
|
18705
|
+
headers: {
|
|
18706
|
+
[name: string]: unknown;
|
|
18707
|
+
};
|
|
18708
|
+
content: {
|
|
18709
|
+
"application/json": {
|
|
18710
|
+
data: {
|
|
18711
|
+
id: string;
|
|
18712
|
+
store_id: string;
|
|
18713
|
+
name: string;
|
|
18714
|
+
slug: string;
|
|
18715
|
+
description: string | null;
|
|
18716
|
+
phone: string | null;
|
|
18717
|
+
email: string | null;
|
|
18718
|
+
website: string | null;
|
|
18719
|
+
address: string | null;
|
|
18720
|
+
address_line_2: string | null;
|
|
18721
|
+
address_line_3: string | null;
|
|
18722
|
+
city: string;
|
|
18723
|
+
postcode: string | null;
|
|
18724
|
+
latitude: number | null;
|
|
18725
|
+
longitude: number | null;
|
|
18726
|
+
region: string | null;
|
|
18727
|
+
country: string | null;
|
|
18728
|
+
category_key: string;
|
|
18729
|
+
logo_id: string | null;
|
|
18730
|
+
image_ids: string[];
|
|
18731
|
+
social: {
|
|
18732
|
+
[key: string]: string;
|
|
18733
|
+
};
|
|
18734
|
+
opening_hours?: unknown;
|
|
18735
|
+
services: string[];
|
|
18736
|
+
amenities: string[];
|
|
18737
|
+
brands: string[];
|
|
18738
|
+
accreditations: string[];
|
|
18739
|
+
price_range: string | null;
|
|
18740
|
+
service_mode: string;
|
|
18741
|
+
additional_details: {
|
|
18742
|
+
label: string;
|
|
18743
|
+
value: string;
|
|
18744
|
+
}[];
|
|
18745
|
+
accessibility: {
|
|
18746
|
+
[key: string]: boolean;
|
|
18747
|
+
};
|
|
18748
|
+
claimed_by: string | null;
|
|
18749
|
+
claimed_at: string | null;
|
|
18750
|
+
verified: boolean | null;
|
|
18751
|
+
listing_tier: string | null;
|
|
18752
|
+
status: string | null;
|
|
18753
|
+
source_url: string | null;
|
|
18754
|
+
created_at: string;
|
|
18755
|
+
updated_at: string;
|
|
18756
|
+
};
|
|
18757
|
+
};
|
|
18758
|
+
};
|
|
18759
|
+
};
|
|
18760
|
+
};
|
|
18761
|
+
};
|
|
18762
|
+
getDirectoryCategories: {
|
|
18763
|
+
parameters: {
|
|
18764
|
+
query?: never;
|
|
18765
|
+
header?: never;
|
|
18766
|
+
path?: never;
|
|
18767
|
+
cookie?: never;
|
|
18768
|
+
};
|
|
18769
|
+
requestBody?: never;
|
|
18770
|
+
responses: {
|
|
18771
|
+
/** @description Category list */
|
|
18772
|
+
200: {
|
|
18773
|
+
headers: {
|
|
18774
|
+
[name: string]: unknown;
|
|
18775
|
+
};
|
|
18776
|
+
content: {
|
|
18777
|
+
"application/json": {
|
|
18778
|
+
data: {
|
|
18779
|
+
categories: {
|
|
18780
|
+
key: string;
|
|
18781
|
+
slug: string;
|
|
18782
|
+
label: string;
|
|
18783
|
+
parent_key: string | null;
|
|
18784
|
+
position: number;
|
|
18785
|
+
icon?: string;
|
|
18786
|
+
description?: string;
|
|
18787
|
+
archived?: boolean;
|
|
18788
|
+
created_at: string;
|
|
18789
|
+
}[];
|
|
18790
|
+
};
|
|
18791
|
+
};
|
|
18792
|
+
};
|
|
18793
|
+
};
|
|
18794
|
+
};
|
|
18795
|
+
};
|
|
18796
|
+
getDirectoryTiers: {
|
|
18797
|
+
parameters: {
|
|
18798
|
+
query?: never;
|
|
18799
|
+
header?: never;
|
|
18800
|
+
path?: never;
|
|
18801
|
+
cookie?: never;
|
|
18802
|
+
};
|
|
18803
|
+
requestBody?: never;
|
|
18804
|
+
responses: {
|
|
18805
|
+
/** @description Tier list */
|
|
18806
|
+
200: {
|
|
18807
|
+
headers: {
|
|
18808
|
+
[name: string]: unknown;
|
|
18809
|
+
};
|
|
18810
|
+
content: {
|
|
18811
|
+
"application/json": {
|
|
18812
|
+
data: {
|
|
18813
|
+
tiers: {
|
|
18814
|
+
key: string;
|
|
18815
|
+
slug: string;
|
|
18816
|
+
label: string;
|
|
18817
|
+
product_id: string | null;
|
|
18818
|
+
rules: {
|
|
18819
|
+
field: string;
|
|
18820
|
+
operator: string;
|
|
18821
|
+
value: string | number | boolean;
|
|
18822
|
+
}[];
|
|
18823
|
+
position: number;
|
|
18824
|
+
archived?: boolean;
|
|
18825
|
+
created_at: string;
|
|
18826
|
+
}[];
|
|
18827
|
+
};
|
|
18828
|
+
};
|
|
18829
|
+
};
|
|
18830
|
+
};
|
|
18831
|
+
};
|
|
18832
|
+
};
|
|
18833
|
+
getDirectoryListing: {
|
|
18834
|
+
parameters: {
|
|
18835
|
+
query?: never;
|
|
18836
|
+
header?: never;
|
|
18837
|
+
path: {
|
|
18838
|
+
id: string;
|
|
18839
|
+
};
|
|
18840
|
+
cookie?: never;
|
|
18841
|
+
};
|
|
18842
|
+
requestBody?: never;
|
|
18843
|
+
responses: {
|
|
18844
|
+
/** @description Listing details */
|
|
18845
|
+
200: {
|
|
18846
|
+
headers: {
|
|
18847
|
+
[name: string]: unknown;
|
|
18848
|
+
};
|
|
18849
|
+
content: {
|
|
18850
|
+
"application/json": {
|
|
18851
|
+
data: {
|
|
18852
|
+
id: string;
|
|
18853
|
+
store_id: string;
|
|
18854
|
+
name: string;
|
|
18855
|
+
slug: string;
|
|
18856
|
+
description: string | null;
|
|
18857
|
+
phone: string | null;
|
|
18858
|
+
email: string | null;
|
|
18859
|
+
website: string | null;
|
|
18860
|
+
address: string | null;
|
|
18861
|
+
address_line_2: string | null;
|
|
18862
|
+
address_line_3: string | null;
|
|
18863
|
+
city: string;
|
|
18864
|
+
postcode: string | null;
|
|
18865
|
+
latitude: number | null;
|
|
18866
|
+
longitude: number | null;
|
|
18867
|
+
region: string | null;
|
|
18868
|
+
country: string | null;
|
|
18869
|
+
category_key: string;
|
|
18870
|
+
logo_id: string | null;
|
|
18871
|
+
image_ids: string[];
|
|
18872
|
+
social: {
|
|
18873
|
+
[key: string]: string;
|
|
18874
|
+
};
|
|
18875
|
+
opening_hours?: unknown;
|
|
18876
|
+
services: string[];
|
|
18877
|
+
amenities: string[];
|
|
18878
|
+
brands: string[];
|
|
18879
|
+
accreditations: string[];
|
|
18880
|
+
price_range: string | null;
|
|
18881
|
+
service_mode: string;
|
|
18882
|
+
additional_details: {
|
|
18883
|
+
label: string;
|
|
18884
|
+
value: string;
|
|
18885
|
+
}[];
|
|
18886
|
+
accessibility: {
|
|
18887
|
+
[key: string]: boolean;
|
|
18888
|
+
};
|
|
18889
|
+
claimed_by: string | null;
|
|
18890
|
+
claimed_at: string | null;
|
|
18891
|
+
verified: boolean | null;
|
|
18892
|
+
listing_tier: string | null;
|
|
18893
|
+
status: string | null;
|
|
18894
|
+
source_url: string | null;
|
|
18895
|
+
created_at: string;
|
|
18896
|
+
updated_at: string;
|
|
18897
|
+
};
|
|
18898
|
+
};
|
|
18899
|
+
};
|
|
18900
|
+
};
|
|
18901
|
+
};
|
|
18902
|
+
};
|
|
18903
|
+
deleteDirectoryListing: {
|
|
18904
|
+
parameters: {
|
|
18905
|
+
query?: never;
|
|
18906
|
+
header?: never;
|
|
18907
|
+
path: {
|
|
18908
|
+
id: string;
|
|
18909
|
+
};
|
|
18910
|
+
cookie?: never;
|
|
18911
|
+
};
|
|
18912
|
+
requestBody?: never;
|
|
18913
|
+
responses: {
|
|
18914
|
+
/** @description Listing deleted */
|
|
18915
|
+
204: {
|
|
18916
|
+
headers: {
|
|
18917
|
+
[name: string]: unknown;
|
|
18918
|
+
};
|
|
18919
|
+
content?: never;
|
|
18920
|
+
};
|
|
18921
|
+
};
|
|
18922
|
+
};
|
|
18923
|
+
updateDirectoryListing: {
|
|
18924
|
+
parameters: {
|
|
18925
|
+
query?: never;
|
|
18926
|
+
header?: never;
|
|
18927
|
+
path: {
|
|
18928
|
+
id: string;
|
|
18929
|
+
};
|
|
18930
|
+
cookie?: never;
|
|
18931
|
+
};
|
|
18932
|
+
requestBody?: {
|
|
18933
|
+
content: {
|
|
18934
|
+
"application/json": {
|
|
18935
|
+
name?: string;
|
|
18936
|
+
slug?: string;
|
|
18937
|
+
description?: string | null;
|
|
18938
|
+
phone?: string | null;
|
|
18939
|
+
/** Format: email */
|
|
18940
|
+
email?: string | null;
|
|
18941
|
+
/** Format: uri */
|
|
18942
|
+
website?: string | null;
|
|
18943
|
+
address?: string | null;
|
|
18944
|
+
address_line_2?: string | null;
|
|
18945
|
+
address_line_3?: string | null;
|
|
18946
|
+
city?: string;
|
|
18947
|
+
postcode?: string | null;
|
|
18948
|
+
latitude?: number | null;
|
|
18949
|
+
longitude?: number | null;
|
|
18950
|
+
region?: string | null;
|
|
18951
|
+
/** @default United Kingdom */
|
|
18952
|
+
country?: string | null;
|
|
18953
|
+
category_key?: string;
|
|
18954
|
+
logo_id?: string | null;
|
|
18955
|
+
/** @default [] */
|
|
18956
|
+
image_ids?: string[];
|
|
18957
|
+
/** @default {} */
|
|
18958
|
+
social?: {
|
|
18959
|
+
[key: string]: string;
|
|
18960
|
+
};
|
|
18961
|
+
opening_hours?: unknown;
|
|
18962
|
+
/** @default [] */
|
|
18963
|
+
services?: string[];
|
|
18964
|
+
/** @default [] */
|
|
18965
|
+
amenities?: string[];
|
|
18966
|
+
/** @default [] */
|
|
18967
|
+
brands?: string[];
|
|
18968
|
+
/** @default [] */
|
|
18969
|
+
accreditations?: string[];
|
|
18970
|
+
price_range?: string | null;
|
|
18971
|
+
/**
|
|
18972
|
+
* @default location
|
|
18973
|
+
* @enum {string}
|
|
18974
|
+
*/
|
|
18975
|
+
service_mode?: "location" | "mobile" | "online" | "hybrid";
|
|
18976
|
+
/** @default [] */
|
|
18977
|
+
additional_details?: {
|
|
18978
|
+
label: string;
|
|
18979
|
+
value: string;
|
|
18980
|
+
}[];
|
|
18981
|
+
/** @default {} */
|
|
18982
|
+
accessibility?: {
|
|
18983
|
+
[key: string]: boolean;
|
|
18984
|
+
};
|
|
18985
|
+
listing_tier?: string | null;
|
|
18986
|
+
/**
|
|
18987
|
+
* @default draft
|
|
18988
|
+
* @enum {string}
|
|
18989
|
+
*/
|
|
18990
|
+
status?: "draft" | "active" | "pending" | "suspended";
|
|
18991
|
+
/** @default null */
|
|
18992
|
+
verified?: boolean | null;
|
|
18993
|
+
/** Format: uri */
|
|
18994
|
+
source_url?: string | null;
|
|
18995
|
+
};
|
|
18996
|
+
};
|
|
18997
|
+
};
|
|
18998
|
+
responses: {
|
|
18999
|
+
/** @description Listing updated */
|
|
19000
|
+
200: {
|
|
19001
|
+
headers: {
|
|
19002
|
+
[name: string]: unknown;
|
|
19003
|
+
};
|
|
19004
|
+
content: {
|
|
19005
|
+
"application/json": {
|
|
19006
|
+
data: {
|
|
19007
|
+
id: string;
|
|
19008
|
+
store_id: string;
|
|
19009
|
+
name: string;
|
|
19010
|
+
slug: string;
|
|
19011
|
+
description: string | null;
|
|
19012
|
+
phone: string | null;
|
|
19013
|
+
email: string | null;
|
|
19014
|
+
website: string | null;
|
|
19015
|
+
address: string | null;
|
|
19016
|
+
address_line_2: string | null;
|
|
19017
|
+
address_line_3: string | null;
|
|
19018
|
+
city: string;
|
|
19019
|
+
postcode: string | null;
|
|
19020
|
+
latitude: number | null;
|
|
19021
|
+
longitude: number | null;
|
|
19022
|
+
region: string | null;
|
|
19023
|
+
country: string | null;
|
|
19024
|
+
category_key: string;
|
|
19025
|
+
logo_id: string | null;
|
|
19026
|
+
image_ids: string[];
|
|
19027
|
+
social: {
|
|
19028
|
+
[key: string]: string;
|
|
19029
|
+
};
|
|
19030
|
+
opening_hours?: unknown;
|
|
19031
|
+
services: string[];
|
|
19032
|
+
amenities: string[];
|
|
19033
|
+
brands: string[];
|
|
19034
|
+
accreditations: string[];
|
|
19035
|
+
price_range: string | null;
|
|
19036
|
+
service_mode: string;
|
|
19037
|
+
additional_details: {
|
|
19038
|
+
label: string;
|
|
19039
|
+
value: string;
|
|
19040
|
+
}[];
|
|
19041
|
+
accessibility: {
|
|
19042
|
+
[key: string]: boolean;
|
|
19043
|
+
};
|
|
19044
|
+
claimed_by: string | null;
|
|
19045
|
+
claimed_at: string | null;
|
|
19046
|
+
verified: boolean | null;
|
|
19047
|
+
listing_tier: string | null;
|
|
19048
|
+
status: string | null;
|
|
19049
|
+
source_url: string | null;
|
|
19050
|
+
created_at: string;
|
|
19051
|
+
updated_at: string;
|
|
19052
|
+
};
|
|
19053
|
+
};
|
|
19054
|
+
};
|
|
19055
|
+
};
|
|
19056
|
+
};
|
|
19057
|
+
};
|
|
19058
|
+
claimDirectoryListing: {
|
|
19059
|
+
parameters: {
|
|
19060
|
+
query?: never;
|
|
19061
|
+
header?: never;
|
|
19062
|
+
path: {
|
|
19063
|
+
id: string;
|
|
19064
|
+
};
|
|
19065
|
+
cookie?: never;
|
|
19066
|
+
};
|
|
19067
|
+
requestBody?: {
|
|
19068
|
+
content: {
|
|
19069
|
+
"application/json": {
|
|
19070
|
+
/** @enum {string} */
|
|
19071
|
+
verification_method?: "email" | "phone" | "manual";
|
|
19072
|
+
proposed_changes?: {
|
|
19073
|
+
[key: string]: unknown;
|
|
19074
|
+
};
|
|
19075
|
+
};
|
|
19076
|
+
};
|
|
19077
|
+
};
|
|
19078
|
+
responses: {
|
|
19079
|
+
/** @description Claim submitted */
|
|
19080
|
+
201: {
|
|
19081
|
+
headers: {
|
|
19082
|
+
[name: string]: unknown;
|
|
19083
|
+
};
|
|
19084
|
+
content: {
|
|
19085
|
+
"application/json": {
|
|
19086
|
+
data: {
|
|
19087
|
+
id: string;
|
|
19088
|
+
listing_id: string;
|
|
19089
|
+
customer_id: string;
|
|
19090
|
+
status: string;
|
|
19091
|
+
verification_method: string | null;
|
|
19092
|
+
verification_code: string | null;
|
|
19093
|
+
proposed_changes?: unknown;
|
|
19094
|
+
admin_notes: string | null;
|
|
19095
|
+
created_at: string;
|
|
19096
|
+
updated_at: string;
|
|
19097
|
+
};
|
|
19098
|
+
};
|
|
19099
|
+
};
|
|
19100
|
+
};
|
|
19101
|
+
};
|
|
19102
|
+
};
|
|
19103
|
+
listDirectoryCategoriesAdmin: {
|
|
19104
|
+
parameters: {
|
|
19105
|
+
query?: never;
|
|
19106
|
+
header?: never;
|
|
19107
|
+
path?: never;
|
|
19108
|
+
cookie?: never;
|
|
19109
|
+
};
|
|
19110
|
+
requestBody?: never;
|
|
19111
|
+
responses: {
|
|
19112
|
+
/** @description Category list */
|
|
19113
|
+
200: {
|
|
19114
|
+
headers: {
|
|
19115
|
+
[name: string]: unknown;
|
|
19116
|
+
};
|
|
19117
|
+
content: {
|
|
19118
|
+
"application/json": {
|
|
19119
|
+
data: {
|
|
19120
|
+
key: string;
|
|
19121
|
+
slug: string;
|
|
19122
|
+
label: string;
|
|
19123
|
+
parent_key: string | null;
|
|
19124
|
+
position: number;
|
|
19125
|
+
icon?: string;
|
|
19126
|
+
description?: string;
|
|
19127
|
+
archived?: boolean;
|
|
19128
|
+
created_at: string;
|
|
19129
|
+
}[];
|
|
19130
|
+
};
|
|
19131
|
+
};
|
|
19132
|
+
};
|
|
19133
|
+
};
|
|
19134
|
+
};
|
|
19135
|
+
createDirectoryCategory: {
|
|
19136
|
+
parameters: {
|
|
19137
|
+
query?: never;
|
|
19138
|
+
header?: never;
|
|
19139
|
+
path?: never;
|
|
19140
|
+
cookie?: never;
|
|
19141
|
+
};
|
|
19142
|
+
requestBody?: {
|
|
19143
|
+
content: {
|
|
19144
|
+
"application/json": {
|
|
19145
|
+
label: string;
|
|
19146
|
+
slug?: string;
|
|
19147
|
+
/** @default null */
|
|
19148
|
+
parent_key?: string | null;
|
|
19149
|
+
icon?: string;
|
|
19150
|
+
description?: string;
|
|
19151
|
+
};
|
|
19152
|
+
};
|
|
19153
|
+
};
|
|
19154
|
+
responses: {
|
|
19155
|
+
/** @description Category created */
|
|
19156
|
+
201: {
|
|
19157
|
+
headers: {
|
|
19158
|
+
[name: string]: unknown;
|
|
19159
|
+
};
|
|
19160
|
+
content: {
|
|
19161
|
+
"application/json": {
|
|
19162
|
+
data: {
|
|
19163
|
+
key: string;
|
|
19164
|
+
slug: string;
|
|
19165
|
+
label: string;
|
|
19166
|
+
parent_key: string | null;
|
|
19167
|
+
position: number;
|
|
19168
|
+
icon?: string;
|
|
19169
|
+
description?: string;
|
|
19170
|
+
archived?: boolean;
|
|
19171
|
+
created_at: string;
|
|
19172
|
+
};
|
|
19173
|
+
};
|
|
19174
|
+
};
|
|
19175
|
+
};
|
|
19176
|
+
};
|
|
19177
|
+
};
|
|
19178
|
+
getDirectorySettings: {
|
|
19179
|
+
parameters: {
|
|
19180
|
+
query?: never;
|
|
19181
|
+
header?: never;
|
|
19182
|
+
path?: never;
|
|
19183
|
+
cookie?: never;
|
|
19184
|
+
};
|
|
19185
|
+
requestBody?: never;
|
|
19186
|
+
responses: {
|
|
19187
|
+
/** @description Directory settings */
|
|
19188
|
+
200: {
|
|
19189
|
+
headers: {
|
|
19190
|
+
[name: string]: unknown;
|
|
19191
|
+
};
|
|
19192
|
+
content: {
|
|
19193
|
+
"application/json": {
|
|
19194
|
+
data: {
|
|
19195
|
+
/** @enum {string} */
|
|
19196
|
+
default_listing_status: "draft" | "active";
|
|
19197
|
+
};
|
|
19198
|
+
};
|
|
19199
|
+
};
|
|
19200
|
+
};
|
|
19201
|
+
};
|
|
19202
|
+
};
|
|
19203
|
+
updateDirectorySettings: {
|
|
19204
|
+
parameters: {
|
|
19205
|
+
query?: never;
|
|
19206
|
+
header?: never;
|
|
19207
|
+
path?: never;
|
|
19208
|
+
cookie?: never;
|
|
19209
|
+
};
|
|
19210
|
+
requestBody?: {
|
|
19211
|
+
content: {
|
|
19212
|
+
"application/json": {
|
|
19213
|
+
/** @enum {string} */
|
|
19214
|
+
default_listing_status?: "draft" | "active";
|
|
19215
|
+
};
|
|
19216
|
+
};
|
|
19217
|
+
};
|
|
19218
|
+
responses: {
|
|
19219
|
+
/** @description Updated settings */
|
|
19220
|
+
200: {
|
|
19221
|
+
headers: {
|
|
19222
|
+
[name: string]: unknown;
|
|
19223
|
+
};
|
|
19224
|
+
content: {
|
|
19225
|
+
"application/json": {
|
|
19226
|
+
data: {
|
|
19227
|
+
/** @enum {string} */
|
|
19228
|
+
default_listing_status: "draft" | "active";
|
|
19229
|
+
};
|
|
19230
|
+
};
|
|
19231
|
+
};
|
|
19232
|
+
};
|
|
19233
|
+
};
|
|
19234
|
+
};
|
|
19235
|
+
getDirectoryCategory: {
|
|
19236
|
+
parameters: {
|
|
19237
|
+
query?: never;
|
|
19238
|
+
header?: never;
|
|
19239
|
+
path: {
|
|
19240
|
+
slug: string;
|
|
19241
|
+
};
|
|
19242
|
+
cookie?: never;
|
|
19243
|
+
};
|
|
19244
|
+
requestBody?: never;
|
|
19245
|
+
responses: {
|
|
19246
|
+
/** @description Category details */
|
|
19247
|
+
200: {
|
|
19248
|
+
headers: {
|
|
19249
|
+
[name: string]: unknown;
|
|
19250
|
+
};
|
|
19251
|
+
content: {
|
|
19252
|
+
"application/json": {
|
|
19253
|
+
data: {
|
|
19254
|
+
key: string;
|
|
19255
|
+
slug: string;
|
|
19256
|
+
label: string;
|
|
19257
|
+
parent_key: string | null;
|
|
19258
|
+
position: number;
|
|
19259
|
+
icon?: string;
|
|
19260
|
+
description?: string;
|
|
19261
|
+
archived?: boolean;
|
|
19262
|
+
created_at: string;
|
|
19263
|
+
};
|
|
19264
|
+
};
|
|
19265
|
+
};
|
|
19266
|
+
};
|
|
19267
|
+
};
|
|
19268
|
+
};
|
|
19269
|
+
deleteDirectoryCategory: {
|
|
19270
|
+
parameters: {
|
|
19271
|
+
query?: never;
|
|
19272
|
+
header?: never;
|
|
19273
|
+
path: {
|
|
19274
|
+
slug: string;
|
|
19275
|
+
};
|
|
19276
|
+
cookie?: never;
|
|
19277
|
+
};
|
|
19278
|
+
requestBody?: never;
|
|
19279
|
+
responses: {
|
|
19280
|
+
/** @description Category deleted */
|
|
19281
|
+
204: {
|
|
19282
|
+
headers: {
|
|
19283
|
+
[name: string]: unknown;
|
|
19284
|
+
};
|
|
19285
|
+
content?: never;
|
|
19286
|
+
};
|
|
19287
|
+
};
|
|
19288
|
+
};
|
|
19289
|
+
updateDirectoryCategory: {
|
|
19290
|
+
parameters: {
|
|
19291
|
+
query?: never;
|
|
19292
|
+
header?: never;
|
|
19293
|
+
path: {
|
|
19294
|
+
slug: string;
|
|
19295
|
+
};
|
|
19296
|
+
cookie?: never;
|
|
19297
|
+
};
|
|
19298
|
+
requestBody?: {
|
|
19299
|
+
content: {
|
|
19300
|
+
"application/json": {
|
|
19301
|
+
label?: string;
|
|
19302
|
+
slug?: string;
|
|
19303
|
+
parent_key?: string | null;
|
|
19304
|
+
icon?: string | null;
|
|
19305
|
+
description?: string | null;
|
|
19306
|
+
archived?: boolean;
|
|
19307
|
+
position?: number;
|
|
19308
|
+
};
|
|
19309
|
+
};
|
|
19310
|
+
};
|
|
19311
|
+
responses: {
|
|
19312
|
+
/** @description Category updated */
|
|
19313
|
+
200: {
|
|
19314
|
+
headers: {
|
|
19315
|
+
[name: string]: unknown;
|
|
19316
|
+
};
|
|
19317
|
+
content: {
|
|
19318
|
+
"application/json": {
|
|
19319
|
+
data: {
|
|
19320
|
+
key: string;
|
|
19321
|
+
slug: string;
|
|
19322
|
+
label: string;
|
|
19323
|
+
parent_key: string | null;
|
|
19324
|
+
position: number;
|
|
19325
|
+
icon?: string;
|
|
19326
|
+
description?: string;
|
|
19327
|
+
archived?: boolean;
|
|
19328
|
+
created_at: string;
|
|
19329
|
+
};
|
|
19330
|
+
};
|
|
19331
|
+
};
|
|
19332
|
+
};
|
|
19333
|
+
};
|
|
19334
|
+
};
|
|
19335
|
+
reorderDirectoryCategories: {
|
|
19336
|
+
parameters: {
|
|
19337
|
+
query?: never;
|
|
19338
|
+
header?: never;
|
|
19339
|
+
path?: never;
|
|
19340
|
+
cookie?: never;
|
|
19341
|
+
};
|
|
19342
|
+
requestBody?: {
|
|
19343
|
+
content: {
|
|
19344
|
+
"application/json": {
|
|
19345
|
+
items: {
|
|
19346
|
+
key: string;
|
|
19347
|
+
parent_key: string | null;
|
|
19348
|
+
position: number;
|
|
19349
|
+
}[];
|
|
19350
|
+
};
|
|
19351
|
+
};
|
|
19352
|
+
};
|
|
19353
|
+
responses: {
|
|
19354
|
+
/** @description Categories reordered */
|
|
19355
|
+
200: {
|
|
19356
|
+
headers: {
|
|
19357
|
+
[name: string]: unknown;
|
|
19358
|
+
};
|
|
19359
|
+
content: {
|
|
19360
|
+
"application/json": {
|
|
19361
|
+
data: {
|
|
19362
|
+
key: string;
|
|
19363
|
+
slug: string;
|
|
19364
|
+
label: string;
|
|
19365
|
+
parent_key: string | null;
|
|
19366
|
+
position: number;
|
|
19367
|
+
icon?: string;
|
|
19368
|
+
description?: string;
|
|
19369
|
+
archived?: boolean;
|
|
19370
|
+
created_at: string;
|
|
19371
|
+
}[];
|
|
19372
|
+
};
|
|
19373
|
+
};
|
|
19374
|
+
};
|
|
19375
|
+
};
|
|
19376
|
+
};
|
|
19377
|
+
listDirectoryTiersAdmin: {
|
|
19378
|
+
parameters: {
|
|
19379
|
+
query?: never;
|
|
19380
|
+
header?: never;
|
|
19381
|
+
path?: never;
|
|
19382
|
+
cookie?: never;
|
|
19383
|
+
};
|
|
19384
|
+
requestBody?: never;
|
|
19385
|
+
responses: {
|
|
19386
|
+
/** @description Tier list */
|
|
19387
|
+
200: {
|
|
19388
|
+
headers: {
|
|
19389
|
+
[name: string]: unknown;
|
|
19390
|
+
};
|
|
19391
|
+
content: {
|
|
19392
|
+
"application/json": {
|
|
19393
|
+
data: {
|
|
19394
|
+
key: string;
|
|
19395
|
+
slug: string;
|
|
19396
|
+
label: string;
|
|
19397
|
+
product_id: string | null;
|
|
19398
|
+
rules: {
|
|
19399
|
+
field: string;
|
|
19400
|
+
operator: string;
|
|
19401
|
+
value: string | number | boolean;
|
|
19402
|
+
}[];
|
|
19403
|
+
position: number;
|
|
19404
|
+
archived?: boolean;
|
|
19405
|
+
created_at: string;
|
|
19406
|
+
}[];
|
|
19407
|
+
};
|
|
19408
|
+
};
|
|
19409
|
+
};
|
|
19410
|
+
};
|
|
19411
|
+
};
|
|
19412
|
+
createDirectoryTier: {
|
|
19413
|
+
parameters: {
|
|
19414
|
+
query?: never;
|
|
19415
|
+
header?: never;
|
|
19416
|
+
path?: never;
|
|
19417
|
+
cookie?: never;
|
|
19418
|
+
};
|
|
19419
|
+
requestBody?: {
|
|
19420
|
+
content: {
|
|
19421
|
+
"application/json": {
|
|
19422
|
+
label: string;
|
|
19423
|
+
slug?: string;
|
|
19424
|
+
/** @default null */
|
|
19425
|
+
product_id?: string | null;
|
|
19426
|
+
/** @default [] */
|
|
19427
|
+
rules?: {
|
|
19428
|
+
field: string;
|
|
19429
|
+
/** @enum {string} */
|
|
19430
|
+
operator: "is" | "up_to" | "at_least";
|
|
19431
|
+
value: string | number | boolean;
|
|
19432
|
+
}[];
|
|
19433
|
+
};
|
|
19434
|
+
};
|
|
19435
|
+
};
|
|
19436
|
+
responses: {
|
|
19437
|
+
/** @description Tier created */
|
|
19438
|
+
201: {
|
|
19439
|
+
headers: {
|
|
19440
|
+
[name: string]: unknown;
|
|
19441
|
+
};
|
|
19442
|
+
content: {
|
|
19443
|
+
"application/json": {
|
|
19444
|
+
data: {
|
|
19445
|
+
key: string;
|
|
19446
|
+
slug: string;
|
|
19447
|
+
label: string;
|
|
19448
|
+
product_id: string | null;
|
|
19449
|
+
rules: {
|
|
19450
|
+
field: string;
|
|
19451
|
+
operator: string;
|
|
19452
|
+
value: string | number | boolean;
|
|
19453
|
+
}[];
|
|
19454
|
+
position: number;
|
|
19455
|
+
archived?: boolean;
|
|
19456
|
+
created_at: string;
|
|
19457
|
+
};
|
|
19458
|
+
};
|
|
19459
|
+
};
|
|
19460
|
+
};
|
|
19461
|
+
};
|
|
19462
|
+
};
|
|
19463
|
+
getDirectoryTier: {
|
|
19464
|
+
parameters: {
|
|
19465
|
+
query?: never;
|
|
19466
|
+
header?: never;
|
|
19467
|
+
path: {
|
|
19468
|
+
slug: string;
|
|
19469
|
+
};
|
|
19470
|
+
cookie?: never;
|
|
19471
|
+
};
|
|
19472
|
+
requestBody?: never;
|
|
19473
|
+
responses: {
|
|
19474
|
+
/** @description Tier details */
|
|
19475
|
+
200: {
|
|
19476
|
+
headers: {
|
|
19477
|
+
[name: string]: unknown;
|
|
19478
|
+
};
|
|
19479
|
+
content: {
|
|
19480
|
+
"application/json": {
|
|
19481
|
+
data: {
|
|
19482
|
+
key: string;
|
|
19483
|
+
slug: string;
|
|
19484
|
+
label: string;
|
|
19485
|
+
product_id: string | null;
|
|
19486
|
+
rules: {
|
|
19487
|
+
field: string;
|
|
19488
|
+
operator: string;
|
|
19489
|
+
value: string | number | boolean;
|
|
19490
|
+
}[];
|
|
19491
|
+
position: number;
|
|
19492
|
+
archived?: boolean;
|
|
19493
|
+
created_at: string;
|
|
19494
|
+
};
|
|
19495
|
+
};
|
|
19496
|
+
};
|
|
19497
|
+
};
|
|
19498
|
+
};
|
|
19499
|
+
};
|
|
19500
|
+
deleteDirectoryTier: {
|
|
19501
|
+
parameters: {
|
|
19502
|
+
query?: never;
|
|
19503
|
+
header?: never;
|
|
19504
|
+
path: {
|
|
19505
|
+
slug: string;
|
|
19506
|
+
};
|
|
19507
|
+
cookie?: never;
|
|
19508
|
+
};
|
|
19509
|
+
requestBody?: never;
|
|
19510
|
+
responses: {
|
|
19511
|
+
/** @description Tier deleted */
|
|
19512
|
+
204: {
|
|
19513
|
+
headers: {
|
|
19514
|
+
[name: string]: unknown;
|
|
19515
|
+
};
|
|
19516
|
+
content?: never;
|
|
19517
|
+
};
|
|
19518
|
+
};
|
|
19519
|
+
};
|
|
19520
|
+
updateDirectoryTier: {
|
|
19521
|
+
parameters: {
|
|
19522
|
+
query?: never;
|
|
19523
|
+
header?: never;
|
|
19524
|
+
path: {
|
|
19525
|
+
slug: string;
|
|
19526
|
+
};
|
|
19527
|
+
cookie?: never;
|
|
19528
|
+
};
|
|
19529
|
+
requestBody?: {
|
|
19530
|
+
content: {
|
|
19531
|
+
"application/json": {
|
|
19532
|
+
label?: string;
|
|
19533
|
+
slug?: string;
|
|
19534
|
+
product_id?: string | null;
|
|
19535
|
+
rules?: {
|
|
19536
|
+
field: string;
|
|
19537
|
+
/** @enum {string} */
|
|
19538
|
+
operator: "is" | "up_to" | "at_least";
|
|
19539
|
+
value: string | number | boolean;
|
|
19540
|
+
}[];
|
|
19541
|
+
archived?: boolean;
|
|
19542
|
+
position?: number;
|
|
19543
|
+
};
|
|
19544
|
+
};
|
|
19545
|
+
};
|
|
19546
|
+
responses: {
|
|
19547
|
+
/** @description Tier updated */
|
|
19548
|
+
200: {
|
|
19549
|
+
headers: {
|
|
19550
|
+
[name: string]: unknown;
|
|
19551
|
+
};
|
|
19552
|
+
content: {
|
|
19553
|
+
"application/json": {
|
|
19554
|
+
data: {
|
|
19555
|
+
key: string;
|
|
19556
|
+
slug: string;
|
|
19557
|
+
label: string;
|
|
19558
|
+
product_id: string | null;
|
|
19559
|
+
rules: {
|
|
19560
|
+
field: string;
|
|
19561
|
+
operator: string;
|
|
19562
|
+
value: string | number | boolean;
|
|
19563
|
+
}[];
|
|
19564
|
+
position: number;
|
|
19565
|
+
archived?: boolean;
|
|
19566
|
+
created_at: string;
|
|
19567
|
+
};
|
|
19568
|
+
};
|
|
19569
|
+
};
|
|
19570
|
+
};
|
|
19571
|
+
};
|
|
19572
|
+
};
|
|
19573
|
+
reorderDirectoryTiers: {
|
|
19574
|
+
parameters: {
|
|
19575
|
+
query?: never;
|
|
19576
|
+
header?: never;
|
|
19577
|
+
path?: never;
|
|
19578
|
+
cookie?: never;
|
|
19579
|
+
};
|
|
19580
|
+
requestBody?: {
|
|
19581
|
+
content: {
|
|
19582
|
+
"application/json": {
|
|
19583
|
+
items: {
|
|
19584
|
+
key: string;
|
|
19585
|
+
position: number;
|
|
19586
|
+
}[];
|
|
19587
|
+
};
|
|
19588
|
+
};
|
|
19589
|
+
};
|
|
19590
|
+
responses: {
|
|
19591
|
+
/** @description Tiers reordered */
|
|
19592
|
+
200: {
|
|
19593
|
+
headers: {
|
|
19594
|
+
[name: string]: unknown;
|
|
19595
|
+
};
|
|
19596
|
+
content: {
|
|
19597
|
+
"application/json": {
|
|
19598
|
+
data: {
|
|
19599
|
+
key: string;
|
|
19600
|
+
slug: string;
|
|
19601
|
+
label: string;
|
|
19602
|
+
product_id: string | null;
|
|
19603
|
+
rules: {
|
|
19604
|
+
field: string;
|
|
19605
|
+
operator: string;
|
|
19606
|
+
value: string | number | boolean;
|
|
19607
|
+
}[];
|
|
19608
|
+
position: number;
|
|
19609
|
+
archived?: boolean;
|
|
19610
|
+
created_at: string;
|
|
19611
|
+
}[];
|
|
19612
|
+
};
|
|
19613
|
+
};
|
|
19614
|
+
};
|
|
19615
|
+
};
|
|
19616
|
+
};
|
|
18417
19617
|
listPosts: {
|
|
18418
19618
|
parameters: {
|
|
18419
19619
|
query?: {
|