@51eat/sdk 0.0.59 → 0.0.60
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/BardIngredientSetValues.d.ts +15 -0
- package/dist/cjs/api/types/BardIngredientSetValues.js +3 -0
- package/dist/cjs/api/types/BardMenuItemSetValues.d.ts +2 -0
- package/dist/cjs/api/types/BardPhotoSpreadSetValues.d.ts +18 -0
- package/dist/cjs/api/types/BardPhotoSpreadSetValues.js +11 -0
- package/dist/cjs/api/types/BardPullQuoteSetValues.d.ts +4 -0
- package/dist/cjs/api/types/BardPullQuoteSetValues.js +3 -0
- package/dist/cjs/api/types/BardSetValues.d.ts +13 -1
- package/dist/cjs/api/types/BardTastingNotesSetValues.d.ts +15 -0
- package/dist/cjs/api/types/BardTastingNotesSetValues.js +3 -0
- package/dist/cjs/api/types/index.d.ts +4 -0
- package/dist/cjs/api/types/index.js +4 -0
- 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/BardIngredientSetValues.d.mts +15 -0
- package/dist/esm/api/types/BardIngredientSetValues.mjs +2 -0
- package/dist/esm/api/types/BardMenuItemSetValues.d.mts +2 -0
- package/dist/esm/api/types/BardPhotoSpreadSetValues.d.mts +18 -0
- package/dist/esm/api/types/BardPhotoSpreadSetValues.mjs +8 -0
- package/dist/esm/api/types/BardPullQuoteSetValues.d.mts +4 -0
- package/dist/esm/api/types/BardPullQuoteSetValues.mjs +2 -0
- package/dist/esm/api/types/BardSetValues.d.mts +13 -1
- package/dist/esm/api/types/BardTastingNotesSetValues.d.mts +15 -0
- package/dist/esm/api/types/BardTastingNotesSetValues.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +4 -0
- package/dist/esm/api/types/index.mjs +4 -0
- 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.60",
|
|
47
|
+
"User-Agent": "@51eat/sdk/0.0.60",
|
|
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);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface BardIngredientSetValues {
|
|
2
|
+
icon?: (string | null) | undefined;
|
|
3
|
+
name: string;
|
|
4
|
+
subtitle?: (string | null) | undefined;
|
|
5
|
+
facts: BardIngredientSetValues.Facts.Item[];
|
|
6
|
+
}
|
|
7
|
+
export declare namespace BardIngredientSetValues {
|
|
8
|
+
type Facts = Facts.Item[];
|
|
9
|
+
namespace Facts {
|
|
10
|
+
interface Item {
|
|
11
|
+
key?: string | undefined;
|
|
12
|
+
value?: string | undefined;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface BardPhotoSpreadSetValues {
|
|
2
|
+
layout: BardPhotoSpreadSetValues.Layout;
|
|
3
|
+
photos: BardPhotoSpreadSetValues.Photos.Item[];
|
|
4
|
+
}
|
|
5
|
+
export declare namespace BardPhotoSpreadSetValues {
|
|
6
|
+
const Layout: {
|
|
7
|
+
readonly Two: "two";
|
|
8
|
+
readonly Three: "three";
|
|
9
|
+
};
|
|
10
|
+
type Layout = (typeof Layout)[keyof typeof Layout];
|
|
11
|
+
type Photos = Photos.Item[];
|
|
12
|
+
namespace Photos {
|
|
13
|
+
interface Item {
|
|
14
|
+
image?: (string | null) | undefined;
|
|
15
|
+
caption?: (string | null) | undefined;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.BardPhotoSpreadSetValues = void 0;
|
|
5
|
+
var BardPhotoSpreadSetValues;
|
|
6
|
+
(function (BardPhotoSpreadSetValues) {
|
|
7
|
+
BardPhotoSpreadSetValues.Layout = {
|
|
8
|
+
Two: "two",
|
|
9
|
+
Three: "three",
|
|
10
|
+
};
|
|
11
|
+
})(BardPhotoSpreadSetValues || (exports.BardPhotoSpreadSetValues = BardPhotoSpreadSetValues = {}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as FiveOneEat from "../index.js";
|
|
2
|
-
export type BardSetValues = FiveOneEat.BardSetValues.MenuItem | FiveOneEat.BardSetValues.Product | FiveOneEat.BardSetValues.Event;
|
|
2
|
+
export type BardSetValues = FiveOneEat.BardSetValues.MenuItem | FiveOneEat.BardSetValues.Product | FiveOneEat.BardSetValues.Event | FiveOneEat.BardSetValues.PullQuote | FiveOneEat.BardSetValues.PhotoSpread | FiveOneEat.BardSetValues.Ingredient | FiveOneEat.BardSetValues.TastingNotes;
|
|
3
3
|
export declare namespace BardSetValues {
|
|
4
4
|
interface MenuItem extends FiveOneEat.BardMenuItemSetValues {
|
|
5
5
|
type: "menu_item";
|
|
@@ -10,4 +10,16 @@ export declare namespace BardSetValues {
|
|
|
10
10
|
interface Event extends FiveOneEat.BardEventSetValues {
|
|
11
11
|
type: "event";
|
|
12
12
|
}
|
|
13
|
+
interface PullQuote extends FiveOneEat.BardPullQuoteSetValues {
|
|
14
|
+
type: "pull_quote";
|
|
15
|
+
}
|
|
16
|
+
interface PhotoSpread extends FiveOneEat.BardPhotoSpreadSetValues {
|
|
17
|
+
type: "photo_spread";
|
|
18
|
+
}
|
|
19
|
+
interface Ingredient extends FiveOneEat.BardIngredientSetValues {
|
|
20
|
+
type: "ingredient";
|
|
21
|
+
}
|
|
22
|
+
interface TastingNotes extends FiveOneEat.BardTastingNotesSetValues {
|
|
23
|
+
type: "tasting_notes";
|
|
24
|
+
}
|
|
13
25
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface BardTastingNotesSetValues {
|
|
2
|
+
subject: string;
|
|
3
|
+
by?: (string | null) | undefined;
|
|
4
|
+
date?: (string | null) | undefined;
|
|
5
|
+
notes: BardTastingNotesSetValues.Notes.Item[];
|
|
6
|
+
}
|
|
7
|
+
export declare namespace BardTastingNotesSetValues {
|
|
8
|
+
type Notes = Notes.Item[];
|
|
9
|
+
namespace Notes {
|
|
10
|
+
interface Item {
|
|
11
|
+
label?: string | undefined;
|
|
12
|
+
score?: number | undefined;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -11,6 +11,7 @@ export * from "./BardHeadingNode.js";
|
|
|
11
11
|
export * from "./BardHeadingNodeContentItem.js";
|
|
12
12
|
export * from "./BardHorizontalRuleNode.js";
|
|
13
13
|
export * from "./BardImageNode.js";
|
|
14
|
+
export * from "./BardIngredientSetValues.js";
|
|
14
15
|
export * from "./BardListItemNode.js";
|
|
15
16
|
export * from "./BardMark.js";
|
|
16
17
|
export * from "./BardMenuItemSetValues.js";
|
|
@@ -18,9 +19,12 @@ export * from "./BardNode.js";
|
|
|
18
19
|
export * from "./BardOrderedListNode.js";
|
|
19
20
|
export * from "./BardParagraphNode.js";
|
|
20
21
|
export * from "./BardParagraphNodeContentItem.js";
|
|
22
|
+
export * from "./BardPhotoSpreadSetValues.js";
|
|
21
23
|
export * from "./BardProductSetValues.js";
|
|
24
|
+
export * from "./BardPullQuoteSetValues.js";
|
|
22
25
|
export * from "./BardSetNode.js";
|
|
23
26
|
export * from "./BardSetValues.js";
|
|
27
|
+
export * from "./BardTastingNotesSetValues.js";
|
|
24
28
|
export * from "./BardTextNode.js";
|
|
25
29
|
export * from "./BusinessAllergen.js";
|
|
26
30
|
export * from "./BusinessBulletin.js";
|
|
@@ -27,6 +27,7 @@ __exportStar(require("./BardHeadingNode.js"), exports);
|
|
|
27
27
|
__exportStar(require("./BardHeadingNodeContentItem.js"), exports);
|
|
28
28
|
__exportStar(require("./BardHorizontalRuleNode.js"), exports);
|
|
29
29
|
__exportStar(require("./BardImageNode.js"), exports);
|
|
30
|
+
__exportStar(require("./BardIngredientSetValues.js"), exports);
|
|
30
31
|
__exportStar(require("./BardListItemNode.js"), exports);
|
|
31
32
|
__exportStar(require("./BardMark.js"), exports);
|
|
32
33
|
__exportStar(require("./BardMenuItemSetValues.js"), exports);
|
|
@@ -34,9 +35,12 @@ __exportStar(require("./BardNode.js"), exports);
|
|
|
34
35
|
__exportStar(require("./BardOrderedListNode.js"), exports);
|
|
35
36
|
__exportStar(require("./BardParagraphNode.js"), exports);
|
|
36
37
|
__exportStar(require("./BardParagraphNodeContentItem.js"), exports);
|
|
38
|
+
__exportStar(require("./BardPhotoSpreadSetValues.js"), exports);
|
|
37
39
|
__exportStar(require("./BardProductSetValues.js"), exports);
|
|
40
|
+
__exportStar(require("./BardPullQuoteSetValues.js"), exports);
|
|
38
41
|
__exportStar(require("./BardSetNode.js"), exports);
|
|
39
42
|
__exportStar(require("./BardSetValues.js"), exports);
|
|
43
|
+
__exportStar(require("./BardTastingNotesSetValues.js"), exports);
|
|
40
44
|
__exportStar(require("./BardTextNode.js"), exports);
|
|
41
45
|
__exportStar(require("./BusinessAllergen.js"), exports);
|
|
42
46
|
__exportStar(require("./BusinessBulletin.js"), exports);
|
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.60";
|
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.60",
|
|
10
|
+
"User-Agent": "@51eat/sdk/0.0.60",
|
|
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);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface BardIngredientSetValues {
|
|
2
|
+
icon?: (string | null) | undefined;
|
|
3
|
+
name: string;
|
|
4
|
+
subtitle?: (string | null) | undefined;
|
|
5
|
+
facts: BardIngredientSetValues.Facts.Item[];
|
|
6
|
+
}
|
|
7
|
+
export declare namespace BardIngredientSetValues {
|
|
8
|
+
type Facts = Facts.Item[];
|
|
9
|
+
namespace Facts {
|
|
10
|
+
interface Item {
|
|
11
|
+
key?: string | undefined;
|
|
12
|
+
value?: string | undefined;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface BardPhotoSpreadSetValues {
|
|
2
|
+
layout: BardPhotoSpreadSetValues.Layout;
|
|
3
|
+
photos: BardPhotoSpreadSetValues.Photos.Item[];
|
|
4
|
+
}
|
|
5
|
+
export declare namespace BardPhotoSpreadSetValues {
|
|
6
|
+
const Layout: {
|
|
7
|
+
readonly Two: "two";
|
|
8
|
+
readonly Three: "three";
|
|
9
|
+
};
|
|
10
|
+
type Layout = (typeof Layout)[keyof typeof Layout];
|
|
11
|
+
type Photos = Photos.Item[];
|
|
12
|
+
namespace Photos {
|
|
13
|
+
interface Item {
|
|
14
|
+
image?: (string | null) | undefined;
|
|
15
|
+
caption?: (string | null) | undefined;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export var BardPhotoSpreadSetValues;
|
|
3
|
+
(function (BardPhotoSpreadSetValues) {
|
|
4
|
+
BardPhotoSpreadSetValues.Layout = {
|
|
5
|
+
Two: "two",
|
|
6
|
+
Three: "three",
|
|
7
|
+
};
|
|
8
|
+
})(BardPhotoSpreadSetValues || (BardPhotoSpreadSetValues = {}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as FiveOneEat from "../index.mjs";
|
|
2
|
-
export type BardSetValues = FiveOneEat.BardSetValues.MenuItem | FiveOneEat.BardSetValues.Product | FiveOneEat.BardSetValues.Event;
|
|
2
|
+
export type BardSetValues = FiveOneEat.BardSetValues.MenuItem | FiveOneEat.BardSetValues.Product | FiveOneEat.BardSetValues.Event | FiveOneEat.BardSetValues.PullQuote | FiveOneEat.BardSetValues.PhotoSpread | FiveOneEat.BardSetValues.Ingredient | FiveOneEat.BardSetValues.TastingNotes;
|
|
3
3
|
export declare namespace BardSetValues {
|
|
4
4
|
interface MenuItem extends FiveOneEat.BardMenuItemSetValues {
|
|
5
5
|
type: "menu_item";
|
|
@@ -10,4 +10,16 @@ export declare namespace BardSetValues {
|
|
|
10
10
|
interface Event extends FiveOneEat.BardEventSetValues {
|
|
11
11
|
type: "event";
|
|
12
12
|
}
|
|
13
|
+
interface PullQuote extends FiveOneEat.BardPullQuoteSetValues {
|
|
14
|
+
type: "pull_quote";
|
|
15
|
+
}
|
|
16
|
+
interface PhotoSpread extends FiveOneEat.BardPhotoSpreadSetValues {
|
|
17
|
+
type: "photo_spread";
|
|
18
|
+
}
|
|
19
|
+
interface Ingredient extends FiveOneEat.BardIngredientSetValues {
|
|
20
|
+
type: "ingredient";
|
|
21
|
+
}
|
|
22
|
+
interface TastingNotes extends FiveOneEat.BardTastingNotesSetValues {
|
|
23
|
+
type: "tasting_notes";
|
|
24
|
+
}
|
|
13
25
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface BardTastingNotesSetValues {
|
|
2
|
+
subject: string;
|
|
3
|
+
by?: (string | null) | undefined;
|
|
4
|
+
date?: (string | null) | undefined;
|
|
5
|
+
notes: BardTastingNotesSetValues.Notes.Item[];
|
|
6
|
+
}
|
|
7
|
+
export declare namespace BardTastingNotesSetValues {
|
|
8
|
+
type Notes = Notes.Item[];
|
|
9
|
+
namespace Notes {
|
|
10
|
+
interface Item {
|
|
11
|
+
label?: string | undefined;
|
|
12
|
+
score?: number | undefined;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -11,6 +11,7 @@ export * from "./BardHeadingNode.mjs";
|
|
|
11
11
|
export * from "./BardHeadingNodeContentItem.mjs";
|
|
12
12
|
export * from "./BardHorizontalRuleNode.mjs";
|
|
13
13
|
export * from "./BardImageNode.mjs";
|
|
14
|
+
export * from "./BardIngredientSetValues.mjs";
|
|
14
15
|
export * from "./BardListItemNode.mjs";
|
|
15
16
|
export * from "./BardMark.mjs";
|
|
16
17
|
export * from "./BardMenuItemSetValues.mjs";
|
|
@@ -18,9 +19,12 @@ export * from "./BardNode.mjs";
|
|
|
18
19
|
export * from "./BardOrderedListNode.mjs";
|
|
19
20
|
export * from "./BardParagraphNode.mjs";
|
|
20
21
|
export * from "./BardParagraphNodeContentItem.mjs";
|
|
22
|
+
export * from "./BardPhotoSpreadSetValues.mjs";
|
|
21
23
|
export * from "./BardProductSetValues.mjs";
|
|
24
|
+
export * from "./BardPullQuoteSetValues.mjs";
|
|
22
25
|
export * from "./BardSetNode.mjs";
|
|
23
26
|
export * from "./BardSetValues.mjs";
|
|
27
|
+
export * from "./BardTastingNotesSetValues.mjs";
|
|
24
28
|
export * from "./BardTextNode.mjs";
|
|
25
29
|
export * from "./BusinessAllergen.mjs";
|
|
26
30
|
export * from "./BusinessBulletin.mjs";
|
|
@@ -11,6 +11,7 @@ export * from "./BardHeadingNode.mjs";
|
|
|
11
11
|
export * from "./BardHeadingNodeContentItem.mjs";
|
|
12
12
|
export * from "./BardHorizontalRuleNode.mjs";
|
|
13
13
|
export * from "./BardImageNode.mjs";
|
|
14
|
+
export * from "./BardIngredientSetValues.mjs";
|
|
14
15
|
export * from "./BardListItemNode.mjs";
|
|
15
16
|
export * from "./BardMark.mjs";
|
|
16
17
|
export * from "./BardMenuItemSetValues.mjs";
|
|
@@ -18,9 +19,12 @@ export * from "./BardNode.mjs";
|
|
|
18
19
|
export * from "./BardOrderedListNode.mjs";
|
|
19
20
|
export * from "./BardParagraphNode.mjs";
|
|
20
21
|
export * from "./BardParagraphNodeContentItem.mjs";
|
|
22
|
+
export * from "./BardPhotoSpreadSetValues.mjs";
|
|
21
23
|
export * from "./BardProductSetValues.mjs";
|
|
24
|
+
export * from "./BardPullQuoteSetValues.mjs";
|
|
22
25
|
export * from "./BardSetNode.mjs";
|
|
23
26
|
export * from "./BardSetValues.mjs";
|
|
27
|
+
export * from "./BardTastingNotesSetValues.mjs";
|
|
24
28
|
export * from "./BardTextNode.mjs";
|
|
25
29
|
export * from "./BusinessAllergen.mjs";
|
|
26
30
|
export * from "./BusinessBulletin.mjs";
|
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.60";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.0.
|
|
1
|
+
export const SDK_VERSION = "0.0.60";
|