@51eat/sdk 0.0.13 → 0.0.14
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/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/types/BardHeadingNodeContentItem.d.ts +4 -1
- package/dist/cjs/api/types/BardParagraphNodeContentItem.d.ts +4 -1
- package/dist/cjs/api/types/BardSetNode.d.ts +0 -1
- package/dist/cjs/api/types/EditorialResource.d.ts +1 -20
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/types/BardHeadingNodeContentItem.d.mts +4 -1
- package/dist/esm/api/types/BardParagraphNodeContentItem.d.mts +4 -1
- package/dist/esm/api/types/BardSetNode.d.mts +0 -1
- package/dist/esm/api/types/EditorialResource.d.mts +1 -20
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@51eat/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "0.0.
|
|
47
|
-
"User-Agent": "@51eat/sdk/0.0.
|
|
46
|
+
"X-Fern-SDK-Version": "0.0.14",
|
|
47
|
+
"User-Agent": "@51eat/sdk/0.0.14",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as FiveOneEat from "../index.js";
|
|
2
|
-
export type BardHeadingNodeContentItem = FiveOneEat.BardHeadingNodeContentItem.Text | FiveOneEat.BardHeadingNodeContentItem.HardBreak;
|
|
2
|
+
export type BardHeadingNodeContentItem = FiveOneEat.BardHeadingNodeContentItem.Text | FiveOneEat.BardHeadingNodeContentItem.HardBreak | FiveOneEat.BardHeadingNodeContentItem.Image;
|
|
3
3
|
export declare namespace BardHeadingNodeContentItem {
|
|
4
4
|
interface Text extends FiveOneEat.BardTextNode {
|
|
5
5
|
type: "text";
|
|
@@ -7,4 +7,7 @@ export declare namespace BardHeadingNodeContentItem {
|
|
|
7
7
|
interface HardBreak extends FiveOneEat.BardHardBreakNode {
|
|
8
8
|
type: "hardBreak";
|
|
9
9
|
}
|
|
10
|
+
interface Image extends FiveOneEat.BardImageNode {
|
|
11
|
+
type: "image";
|
|
12
|
+
}
|
|
10
13
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as FiveOneEat from "../index.js";
|
|
2
|
-
export type BardParagraphNodeContentItem = FiveOneEat.BardParagraphNodeContentItem.Text | FiveOneEat.BardParagraphNodeContentItem.HardBreak;
|
|
2
|
+
export type BardParagraphNodeContentItem = FiveOneEat.BardParagraphNodeContentItem.Text | FiveOneEat.BardParagraphNodeContentItem.HardBreak | FiveOneEat.BardParagraphNodeContentItem.Image;
|
|
3
3
|
export declare namespace BardParagraphNodeContentItem {
|
|
4
4
|
interface Text extends FiveOneEat.BardTextNode {
|
|
5
5
|
type: "text";
|
|
@@ -7,4 +7,7 @@ export declare namespace BardParagraphNodeContentItem {
|
|
|
7
7
|
interface HardBreak extends FiveOneEat.BardHardBreakNode {
|
|
8
8
|
type: "hardBreak";
|
|
9
9
|
}
|
|
10
|
+
interface Image extends FiveOneEat.BardImageNode {
|
|
11
|
+
type: "image";
|
|
12
|
+
}
|
|
10
13
|
}
|
|
@@ -6,26 +6,7 @@ export interface EditorialResource {
|
|
|
6
6
|
author: string | null;
|
|
7
7
|
excerpt: string | null;
|
|
8
8
|
body: FiveOneEat.BardBody | null;
|
|
9
|
-
business:
|
|
9
|
+
business: FiveOneEat.BusinessProfileResource;
|
|
10
10
|
published_at: string | null;
|
|
11
11
|
created_at: string;
|
|
12
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
|
-
}
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.14";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@51eat/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "0.0.
|
|
10
|
-
"User-Agent": "@51eat/sdk/0.0.
|
|
9
|
+
"X-Fern-SDK-Version": "0.0.14",
|
|
10
|
+
"User-Agent": "@51eat/sdk/0.0.14",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as FiveOneEat from "../index.mjs";
|
|
2
|
-
export type BardHeadingNodeContentItem = FiveOneEat.BardHeadingNodeContentItem.Text | FiveOneEat.BardHeadingNodeContentItem.HardBreak;
|
|
2
|
+
export type BardHeadingNodeContentItem = FiveOneEat.BardHeadingNodeContentItem.Text | FiveOneEat.BardHeadingNodeContentItem.HardBreak | FiveOneEat.BardHeadingNodeContentItem.Image;
|
|
3
3
|
export declare namespace BardHeadingNodeContentItem {
|
|
4
4
|
interface Text extends FiveOneEat.BardTextNode {
|
|
5
5
|
type: "text";
|
|
@@ -7,4 +7,7 @@ export declare namespace BardHeadingNodeContentItem {
|
|
|
7
7
|
interface HardBreak extends FiveOneEat.BardHardBreakNode {
|
|
8
8
|
type: "hardBreak";
|
|
9
9
|
}
|
|
10
|
+
interface Image extends FiveOneEat.BardImageNode {
|
|
11
|
+
type: "image";
|
|
12
|
+
}
|
|
10
13
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as FiveOneEat from "../index.mjs";
|
|
2
|
-
export type BardParagraphNodeContentItem = FiveOneEat.BardParagraphNodeContentItem.Text | FiveOneEat.BardParagraphNodeContentItem.HardBreak;
|
|
2
|
+
export type BardParagraphNodeContentItem = FiveOneEat.BardParagraphNodeContentItem.Text | FiveOneEat.BardParagraphNodeContentItem.HardBreak | FiveOneEat.BardParagraphNodeContentItem.Image;
|
|
3
3
|
export declare namespace BardParagraphNodeContentItem {
|
|
4
4
|
interface Text extends FiveOneEat.BardTextNode {
|
|
5
5
|
type: "text";
|
|
@@ -7,4 +7,7 @@ export declare namespace BardParagraphNodeContentItem {
|
|
|
7
7
|
interface HardBreak extends FiveOneEat.BardHardBreakNode {
|
|
8
8
|
type: "hardBreak";
|
|
9
9
|
}
|
|
10
|
+
interface Image extends FiveOneEat.BardImageNode {
|
|
11
|
+
type: "image";
|
|
12
|
+
}
|
|
10
13
|
}
|
|
@@ -6,26 +6,7 @@ export interface EditorialResource {
|
|
|
6
6
|
author: string | null;
|
|
7
7
|
excerpt: string | null;
|
|
8
8
|
body: FiveOneEat.BardBody | null;
|
|
9
|
-
business:
|
|
9
|
+
business: FiveOneEat.BusinessProfileResource;
|
|
10
10
|
published_at: string | null;
|
|
11
11
|
created_at: string;
|
|
12
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
|
-
}
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.14";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.0.
|
|
1
|
+
export const SDK_VERSION = "0.0.14";
|