@51eat/sdk 0.0.9 → 0.0.11

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.
Files changed (154) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/Client.d.ts +3 -0
  3. package/dist/cjs/Client.js +11 -6
  4. package/dist/cjs/api/resources/discovery/client/Client.d.ts +14 -0
  5. package/dist/cjs/api/resources/discovery/client/Client.js +52 -0
  6. package/dist/cjs/api/resources/editorials/client/Client.d.ts +41 -0
  7. package/dist/cjs/api/resources/editorials/client/Client.js +158 -0
  8. package/dist/cjs/api/resources/editorials/client/index.d.ts +1 -0
  9. package/dist/cjs/api/resources/editorials/client/index.js +17 -0
  10. package/dist/cjs/api/resources/editorials/client/requests/GetEditorialRequest.d.ts +9 -0
  11. package/dist/cjs/api/resources/editorials/client/requests/GetEditorialRequest.js +3 -0
  12. package/dist/cjs/api/resources/editorials/client/requests/index.d.ts +1 -0
  13. package/dist/cjs/api/resources/editorials/client/requests/index.js +2 -0
  14. package/dist/cjs/api/resources/editorials/exports.d.ts +2 -0
  15. package/dist/cjs/api/resources/editorials/exports.js +21 -0
  16. package/dist/cjs/api/resources/editorials/index.d.ts +2 -0
  17. package/dist/cjs/api/resources/editorials/index.js +18 -0
  18. package/dist/cjs/api/resources/editorials/types/GetEditorialResponse.d.ts +4 -0
  19. package/dist/cjs/api/resources/editorials/types/GetEditorialResponse.js +3 -0
  20. package/dist/cjs/api/resources/editorials/types/ListEditorialsResponse.d.ts +4 -0
  21. package/dist/cjs/api/resources/editorials/types/ListEditorialsResponse.js +3 -0
  22. package/dist/cjs/api/resources/editorials/types/index.d.ts +2 -0
  23. package/dist/cjs/api/resources/editorials/types/index.js +18 -0
  24. package/dist/cjs/api/resources/index.d.ts +3 -0
  25. package/dist/cjs/api/resources/index.js +4 -1
  26. package/dist/cjs/api/types/BardBlockquoteNode.d.ts +4 -0
  27. package/dist/cjs/api/types/BardBlockquoteNode.js +3 -0
  28. package/dist/cjs/api/types/BardBody.d.ts +2 -0
  29. package/dist/cjs/api/types/BardBody.js +3 -0
  30. package/dist/cjs/api/types/BardBulletListNode.d.ts +4 -0
  31. package/dist/cjs/api/types/BardBulletListNode.js +3 -0
  32. package/dist/cjs/api/types/BardEventSetValues.d.ts +15 -0
  33. package/dist/cjs/api/types/BardEventSetValues.js +3 -0
  34. package/dist/cjs/api/types/BardHardBreakNode.d.ts +1 -0
  35. package/dist/cjs/api/types/BardHardBreakNode.js +3 -0
  36. package/dist/cjs/api/types/BardHeadingNode.d.ts +11 -0
  37. package/dist/cjs/api/types/BardHeadingNode.js +3 -0
  38. package/dist/cjs/api/types/BardHeadingNodeContentItem.d.ts +10 -0
  39. package/dist/cjs/api/types/BardHeadingNodeContentItem.js +3 -0
  40. package/dist/cjs/api/types/BardHorizontalRuleNode.d.ts +1 -0
  41. package/dist/cjs/api/types/BardHorizontalRuleNode.js +3 -0
  42. package/dist/cjs/api/types/BardImageNode.d.ts +11 -0
  43. package/dist/cjs/api/types/BardImageNode.js +3 -0
  44. package/dist/cjs/api/types/BardListItemNode.d.ts +11 -0
  45. package/dist/cjs/api/types/BardListItemNode.js +10 -0
  46. package/dist/cjs/api/types/BardMark.d.ts +23 -0
  47. package/dist/cjs/api/types/BardMark.js +18 -0
  48. package/dist/cjs/api/types/BardMenuItemSetValues.d.ts +13 -0
  49. package/dist/cjs/api/types/BardMenuItemSetValues.js +3 -0
  50. package/dist/cjs/api/types/BardNode.d.ts +31 -0
  51. package/dist/cjs/api/types/BardNode.js +3 -0
  52. package/dist/cjs/api/types/BardOrderedListNode.d.ts +4 -0
  53. package/dist/cjs/api/types/BardOrderedListNode.js +3 -0
  54. package/dist/cjs/api/types/BardParagraphNode.d.ts +11 -0
  55. package/dist/cjs/api/types/BardParagraphNode.js +10 -0
  56. package/dist/cjs/api/types/BardParagraphNodeContentItem.d.ts +10 -0
  57. package/dist/cjs/api/types/BardParagraphNodeContentItem.js +3 -0
  58. package/dist/cjs/api/types/BardProductSetValues.d.ts +13 -0
  59. package/dist/cjs/api/types/BardProductSetValues.js +3 -0
  60. package/dist/cjs/api/types/BardSetNode.d.ts +12 -0
  61. package/dist/cjs/api/types/BardSetNode.js +3 -0
  62. package/dist/cjs/api/types/BardSetValues.d.ts +13 -0
  63. package/dist/cjs/api/types/BardSetValues.js +3 -0
  64. package/dist/cjs/api/types/BardTextNode.d.ts +5 -0
  65. package/dist/cjs/api/types/BardTextNode.js +3 -0
  66. package/dist/cjs/api/types/DiscoveryBusinessResource.d.ts +6 -0
  67. package/dist/cjs/api/types/DiscoveryHighlightsResource.d.ts +10 -0
  68. package/dist/cjs/api/types/DiscoveryHighlightsResource.js +3 -0
  69. package/dist/cjs/api/types/EditorialResource.d.ts +31 -0
  70. package/dist/cjs/api/types/EditorialResource.js +3 -0
  71. package/dist/cjs/api/types/EditorialSummaryResource.d.ts +29 -0
  72. package/dist/cjs/api/types/EditorialSummaryResource.js +3 -0
  73. package/dist/cjs/api/types/index.d.ts +23 -0
  74. package/dist/cjs/api/types/index.js +23 -0
  75. package/dist/cjs/version.d.ts +1 -1
  76. package/dist/cjs/version.js +1 -1
  77. package/dist/esm/BaseClient.mjs +2 -2
  78. package/dist/esm/Client.d.mts +3 -0
  79. package/dist/esm/Client.mjs +5 -0
  80. package/dist/esm/api/resources/discovery/client/Client.d.mts +14 -0
  81. package/dist/esm/api/resources/discovery/client/Client.mjs +52 -0
  82. package/dist/esm/api/resources/editorials/client/Client.d.mts +41 -0
  83. package/dist/esm/api/resources/editorials/client/Client.mjs +121 -0
  84. package/dist/esm/api/resources/editorials/client/index.d.mts +1 -0
  85. package/dist/esm/api/resources/editorials/client/index.mjs +1 -0
  86. package/dist/esm/api/resources/editorials/client/requests/GetEditorialRequest.d.mts +9 -0
  87. package/dist/esm/api/resources/editorials/client/requests/GetEditorialRequest.mjs +2 -0
  88. package/dist/esm/api/resources/editorials/client/requests/index.d.mts +1 -0
  89. package/dist/esm/api/resources/editorials/client/requests/index.mjs +1 -0
  90. package/dist/esm/api/resources/editorials/exports.d.mts +2 -0
  91. package/dist/esm/api/resources/editorials/exports.mjs +3 -0
  92. package/dist/esm/api/resources/editorials/index.d.mts +2 -0
  93. package/dist/esm/api/resources/editorials/index.mjs +2 -0
  94. package/dist/esm/api/resources/editorials/types/GetEditorialResponse.d.mts +4 -0
  95. package/dist/esm/api/resources/editorials/types/GetEditorialResponse.mjs +2 -0
  96. package/dist/esm/api/resources/editorials/types/ListEditorialsResponse.d.mts +4 -0
  97. package/dist/esm/api/resources/editorials/types/ListEditorialsResponse.mjs +2 -0
  98. package/dist/esm/api/resources/editorials/types/index.d.mts +2 -0
  99. package/dist/esm/api/resources/editorials/types/index.mjs +2 -0
  100. package/dist/esm/api/resources/index.d.mts +3 -0
  101. package/dist/esm/api/resources/index.mjs +3 -0
  102. package/dist/esm/api/types/BardBlockquoteNode.d.mts +4 -0
  103. package/dist/esm/api/types/BardBlockquoteNode.mjs +2 -0
  104. package/dist/esm/api/types/BardBody.d.mts +2 -0
  105. package/dist/esm/api/types/BardBody.mjs +2 -0
  106. package/dist/esm/api/types/BardBulletListNode.d.mts +4 -0
  107. package/dist/esm/api/types/BardBulletListNode.mjs +2 -0
  108. package/dist/esm/api/types/BardEventSetValues.d.mts +15 -0
  109. package/dist/esm/api/types/BardEventSetValues.mjs +2 -0
  110. package/dist/esm/api/types/BardHardBreakNode.d.mts +1 -0
  111. package/dist/esm/api/types/BardHardBreakNode.mjs +2 -0
  112. package/dist/esm/api/types/BardHeadingNode.d.mts +11 -0
  113. package/dist/esm/api/types/BardHeadingNode.mjs +2 -0
  114. package/dist/esm/api/types/BardHeadingNodeContentItem.d.mts +10 -0
  115. package/dist/esm/api/types/BardHeadingNodeContentItem.mjs +2 -0
  116. package/dist/esm/api/types/BardHorizontalRuleNode.d.mts +1 -0
  117. package/dist/esm/api/types/BardHorizontalRuleNode.mjs +2 -0
  118. package/dist/esm/api/types/BardImageNode.d.mts +11 -0
  119. package/dist/esm/api/types/BardImageNode.mjs +2 -0
  120. package/dist/esm/api/types/BardListItemNode.d.mts +11 -0
  121. package/dist/esm/api/types/BardListItemNode.mjs +7 -0
  122. package/dist/esm/api/types/BardMark.d.mts +23 -0
  123. package/dist/esm/api/types/BardMark.mjs +15 -0
  124. package/dist/esm/api/types/BardMenuItemSetValues.d.mts +13 -0
  125. package/dist/esm/api/types/BardMenuItemSetValues.mjs +2 -0
  126. package/dist/esm/api/types/BardNode.d.mts +31 -0
  127. package/dist/esm/api/types/BardNode.mjs +2 -0
  128. package/dist/esm/api/types/BardOrderedListNode.d.mts +4 -0
  129. package/dist/esm/api/types/BardOrderedListNode.mjs +2 -0
  130. package/dist/esm/api/types/BardParagraphNode.d.mts +11 -0
  131. package/dist/esm/api/types/BardParagraphNode.mjs +7 -0
  132. package/dist/esm/api/types/BardParagraphNodeContentItem.d.mts +10 -0
  133. package/dist/esm/api/types/BardParagraphNodeContentItem.mjs +2 -0
  134. package/dist/esm/api/types/BardProductSetValues.d.mts +13 -0
  135. package/dist/esm/api/types/BardProductSetValues.mjs +2 -0
  136. package/dist/esm/api/types/BardSetNode.d.mts +12 -0
  137. package/dist/esm/api/types/BardSetNode.mjs +2 -0
  138. package/dist/esm/api/types/BardSetValues.d.mts +13 -0
  139. package/dist/esm/api/types/BardSetValues.mjs +2 -0
  140. package/dist/esm/api/types/BardTextNode.d.mts +5 -0
  141. package/dist/esm/api/types/BardTextNode.mjs +2 -0
  142. package/dist/esm/api/types/DiscoveryBusinessResource.d.mts +6 -0
  143. package/dist/esm/api/types/DiscoveryHighlightsResource.d.mts +10 -0
  144. package/dist/esm/api/types/DiscoveryHighlightsResource.mjs +2 -0
  145. package/dist/esm/api/types/EditorialResource.d.mts +31 -0
  146. package/dist/esm/api/types/EditorialResource.mjs +2 -0
  147. package/dist/esm/api/types/EditorialSummaryResource.d.mts +29 -0
  148. package/dist/esm/api/types/EditorialSummaryResource.mjs +2 -0
  149. package/dist/esm/api/types/index.d.mts +23 -0
  150. package/dist/esm/api/types/index.mjs +23 -0
  151. package/dist/esm/version.d.mts +1 -1
  152. package/dist/esm/version.mjs +1 -1
  153. package/package.json +12 -1
  154. package/reference.md +179 -0
@@ -0,0 +1,10 @@
1
+ import type * as FiveOneEat from "../index.mjs";
2
+ export interface DiscoveryHighlightsResource {
3
+ data: DiscoveryHighlightsResource.Data;
4
+ }
5
+ export declare namespace DiscoveryHighlightsResource {
6
+ interface Data {
7
+ staff_picks: FiveOneEat.DiscoveryBusinessResource[];
8
+ founding_partners: FiveOneEat.DiscoveryBusinessResource[];
9
+ }
10
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,31 @@
1
+ import type * as FiveOneEat from "../index.mjs";
2
+ export interface EditorialResource {
3
+ id: string;
4
+ slug: string;
5
+ title: string;
6
+ author: string | null;
7
+ excerpt: string | null;
8
+ body: FiveOneEat.BardBody | null;
9
+ business: EditorialResource.Business;
10
+ published_at: string | null;
11
+ created_at: string;
12
+ }
13
+ export declare namespace EditorialResource {
14
+ interface Business {
15
+ id: string;
16
+ name: string;
17
+ handle: string;
18
+ logo: string | null;
19
+ photos: Business.Photos.Item[];
20
+ }
21
+ namespace Business {
22
+ type Photos = Photos.Item[];
23
+ namespace Photos {
24
+ interface Item {
25
+ id: string;
26
+ url: string;
27
+ alt_text: string | null;
28
+ }
29
+ }
30
+ }
31
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,29 @@
1
+ export interface EditorialSummaryResource {
2
+ id: string;
3
+ slug: string;
4
+ title: string;
5
+ author: string | null;
6
+ excerpt: string | null;
7
+ business: EditorialSummaryResource.Business;
8
+ published_at: string | null;
9
+ created_at: string;
10
+ }
11
+ export declare namespace EditorialSummaryResource {
12
+ interface Business {
13
+ id: string;
14
+ name: string;
15
+ handle: string;
16
+ logo: string | null;
17
+ photos: Business.Photos.Item[];
18
+ }
19
+ namespace Business {
20
+ type Photos = Photos.Item[];
21
+ namespace Photos {
22
+ interface Item {
23
+ id: string;
24
+ url: string;
25
+ alt_text: string | null;
26
+ }
27
+ }
28
+ }
29
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -1,4 +1,24 @@
1
1
  export * from "./Allergen.mjs";
2
+ export * from "./BardBlockquoteNode.mjs";
3
+ export * from "./BardBody.mjs";
4
+ export * from "./BardBulletListNode.mjs";
5
+ export * from "./BardEventSetValues.mjs";
6
+ export * from "./BardHardBreakNode.mjs";
7
+ export * from "./BardHeadingNode.mjs";
8
+ export * from "./BardHeadingNodeContentItem.mjs";
9
+ export * from "./BardHorizontalRuleNode.mjs";
10
+ export * from "./BardImageNode.mjs";
11
+ export * from "./BardListItemNode.mjs";
12
+ export * from "./BardMark.mjs";
13
+ export * from "./BardMenuItemSetValues.mjs";
14
+ export * from "./BardNode.mjs";
15
+ export * from "./BardOrderedListNode.mjs";
16
+ export * from "./BardParagraphNode.mjs";
17
+ export * from "./BardParagraphNodeContentItem.mjs";
18
+ export * from "./BardProductSetValues.mjs";
19
+ export * from "./BardSetNode.mjs";
20
+ export * from "./BardSetValues.mjs";
21
+ export * from "./BardTextNode.mjs";
2
22
  export * from "./BulletinResource.mjs";
3
23
  export * from "./BulletinResponseResource.mjs";
4
24
  export * from "./BusinessProfileResource.mjs";
@@ -14,7 +34,10 @@ export * from "./CuisineResource.mjs";
14
34
  export * from "./DiscoveryBusinessResource.mjs";
15
35
  export * from "./DiscoveryCategoryResource.mjs";
16
36
  export * from "./DiscoveryFeedResource.mjs";
37
+ export * from "./DiscoveryHighlightsResource.mjs";
17
38
  export * from "./DiscoveryResponseResource.mjs";
39
+ export * from "./EditorialResource.mjs";
40
+ export * from "./EditorialSummaryResource.mjs";
18
41
  export * from "./EventDetailResource.mjs";
19
42
  export * from "./EventFeedItemResource.mjs";
20
43
  export * from "./EventFeedResponseResource.mjs";
@@ -1,4 +1,24 @@
1
1
  export * from "./Allergen.mjs";
2
+ export * from "./BardBlockquoteNode.mjs";
3
+ export * from "./BardBody.mjs";
4
+ export * from "./BardBulletListNode.mjs";
5
+ export * from "./BardEventSetValues.mjs";
6
+ export * from "./BardHardBreakNode.mjs";
7
+ export * from "./BardHeadingNode.mjs";
8
+ export * from "./BardHeadingNodeContentItem.mjs";
9
+ export * from "./BardHorizontalRuleNode.mjs";
10
+ export * from "./BardImageNode.mjs";
11
+ export * from "./BardListItemNode.mjs";
12
+ export * from "./BardMark.mjs";
13
+ export * from "./BardMenuItemSetValues.mjs";
14
+ export * from "./BardNode.mjs";
15
+ export * from "./BardOrderedListNode.mjs";
16
+ export * from "./BardParagraphNode.mjs";
17
+ export * from "./BardParagraphNodeContentItem.mjs";
18
+ export * from "./BardProductSetValues.mjs";
19
+ export * from "./BardSetNode.mjs";
20
+ export * from "./BardSetValues.mjs";
21
+ export * from "./BardTextNode.mjs";
2
22
  export * from "./BulletinResource.mjs";
3
23
  export * from "./BulletinResponseResource.mjs";
4
24
  export * from "./BusinessProfileResource.mjs";
@@ -14,7 +34,10 @@ export * from "./CuisineResource.mjs";
14
34
  export * from "./DiscoveryBusinessResource.mjs";
15
35
  export * from "./DiscoveryCategoryResource.mjs";
16
36
  export * from "./DiscoveryFeedResource.mjs";
37
+ export * from "./DiscoveryHighlightsResource.mjs";
17
38
  export * from "./DiscoveryResponseResource.mjs";
39
+ export * from "./EditorialResource.mjs";
40
+ export * from "./EditorialSummaryResource.mjs";
18
41
  export * from "./EventDetailResource.mjs";
19
42
  export * from "./EventFeedItemResource.mjs";
20
43
  export * from "./EventFeedResponseResource.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.9";
1
+ export declare const SDK_VERSION = "0.0.11";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.0.9";
1
+ export const SDK_VERSION = "0.0.11";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@51eat/sdk",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -88,6 +88,17 @@
88
88
  },
89
89
  "default": "./dist/cjs/api/resources/discovery/exports.js"
90
90
  },
91
+ "./editorials": {
92
+ "import": {
93
+ "types": "./dist/esm/api/resources/editorials/exports.d.mts",
94
+ "default": "./dist/esm/api/resources/editorials/exports.mjs"
95
+ },
96
+ "require": {
97
+ "types": "./dist/cjs/api/resources/editorials/exports.d.ts",
98
+ "default": "./dist/cjs/api/resources/editorials/exports.js"
99
+ },
100
+ "default": "./dist/cjs/api/resources/editorials/exports.js"
101
+ },
91
102
  "./events": {
92
103
  "import": {
93
104
  "types": "./dist/esm/api/resources/events/exports.d.mts",
package/reference.md CHANGED
@@ -2005,6 +2005,63 @@ await client.discovery.getDiscoveryFeed({
2005
2005
  </dl>
2006
2006
 
2007
2007
 
2008
+ </dd>
2009
+ </dl>
2010
+ </details>
2011
+
2012
+ <details><summary><code>client.discovery.<a href="/src/api/resources/discovery/client/Client.ts">getDiscoveryHighlights</a>() -> FiveOneEat.DiscoveryHighlightsResource</code></summary>
2013
+ <dl>
2014
+ <dd>
2015
+
2016
+ #### 📝 Description
2017
+
2018
+ <dl>
2019
+ <dd>
2020
+
2021
+ <dl>
2022
+ <dd>
2023
+
2024
+ Returns curated sections of businesses for the discovery home screen,
2025
+ including staff picks and founding partners. This endpoint is designed
2026
+ to be extended with additional sections (e.g. editorial, trending) over time.
2027
+ </dd>
2028
+ </dl>
2029
+ </dd>
2030
+ </dl>
2031
+
2032
+ #### 🔌 Usage
2033
+
2034
+ <dl>
2035
+ <dd>
2036
+
2037
+ <dl>
2038
+ <dd>
2039
+
2040
+ ```typescript
2041
+ await client.discovery.getDiscoveryHighlights();
2042
+
2043
+ ```
2044
+ </dd>
2045
+ </dl>
2046
+ </dd>
2047
+ </dl>
2048
+
2049
+ #### ⚙️ Parameters
2050
+
2051
+ <dl>
2052
+ <dd>
2053
+
2054
+ <dl>
2055
+ <dd>
2056
+
2057
+ **requestOptions:** `DiscoveryClient.RequestOptions`
2058
+
2059
+ </dd>
2060
+ </dl>
2061
+ </dd>
2062
+ </dl>
2063
+
2064
+
2008
2065
  </dd>
2009
2066
  </dl>
2010
2067
  </details>
@@ -2240,6 +2297,128 @@ await client.discovery.getCategoryBusinesses({
2240
2297
  </dl>
2241
2298
 
2242
2299
 
2300
+ </dd>
2301
+ </dl>
2302
+ </details>
2303
+
2304
+ ## Editorials
2305
+ <details><summary><code>client.editorials.<a href="/src/api/resources/editorials/client/Client.ts">listEditorials</a>() -> FiveOneEat.ListEditorialsResponse</code></summary>
2306
+ <dl>
2307
+ <dd>
2308
+
2309
+ #### 📝 Description
2310
+
2311
+ <dl>
2312
+ <dd>
2313
+
2314
+ <dl>
2315
+ <dd>
2316
+
2317
+ Returns a paginated list of published editorials with basic business info.
2318
+ </dd>
2319
+ </dl>
2320
+ </dd>
2321
+ </dl>
2322
+
2323
+ #### 🔌 Usage
2324
+
2325
+ <dl>
2326
+ <dd>
2327
+
2328
+ <dl>
2329
+ <dd>
2330
+
2331
+ ```typescript
2332
+ await client.editorials.listEditorials();
2333
+
2334
+ ```
2335
+ </dd>
2336
+ </dl>
2337
+ </dd>
2338
+ </dl>
2339
+
2340
+ #### ⚙️ Parameters
2341
+
2342
+ <dl>
2343
+ <dd>
2344
+
2345
+ <dl>
2346
+ <dd>
2347
+
2348
+ **requestOptions:** `EditorialsClient.RequestOptions`
2349
+
2350
+ </dd>
2351
+ </dl>
2352
+ </dd>
2353
+ </dl>
2354
+
2355
+
2356
+ </dd>
2357
+ </dl>
2358
+ </details>
2359
+
2360
+ <details><summary><code>client.editorials.<a href="/src/api/resources/editorials/client/Client.ts">getEditorial</a>({ ...params }) -> FiveOneEat.GetEditorialResponse</code></summary>
2361
+ <dl>
2362
+ <dd>
2363
+
2364
+ #### 📝 Description
2365
+
2366
+ <dl>
2367
+ <dd>
2368
+
2369
+ <dl>
2370
+ <dd>
2371
+
2372
+ Returns a published editorial by slug, with the full augmented body
2373
+ including resolved menu item, product, and event references.
2374
+ </dd>
2375
+ </dl>
2376
+ </dd>
2377
+ </dl>
2378
+
2379
+ #### 🔌 Usage
2380
+
2381
+ <dl>
2382
+ <dd>
2383
+
2384
+ <dl>
2385
+ <dd>
2386
+
2387
+ ```typescript
2388
+ await client.editorials.getEditorial({
2389
+ slug: "slug"
2390
+ });
2391
+
2392
+ ```
2393
+ </dd>
2394
+ </dl>
2395
+ </dd>
2396
+ </dl>
2397
+
2398
+ #### ⚙️ Parameters
2399
+
2400
+ <dl>
2401
+ <dd>
2402
+
2403
+ <dl>
2404
+ <dd>
2405
+
2406
+ **request:** `FiveOneEat.GetEditorialRequest`
2407
+
2408
+ </dd>
2409
+ </dl>
2410
+
2411
+ <dl>
2412
+ <dd>
2413
+
2414
+ **requestOptions:** `EditorialsClient.RequestOptions`
2415
+
2416
+ </dd>
2417
+ </dl>
2418
+ </dd>
2419
+ </dl>
2420
+
2421
+
2243
2422
  </dd>
2244
2423
  </dl>
2245
2424
  </details>