@51eat/sdk 0.0.39 → 0.0.40
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/resources/business/resources/temporaryLocations/client/requests/StoreTemporaryLocationRequest.d.ts +11 -1
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/UpdateTemporaryLocationRequest.d.ts +11 -1
- package/dist/cjs/api/types/BusinessTemporaryLocation.d.ts +1 -1
- package/dist/cjs/api/types/CustomerMenuItem.d.ts +2 -2
- package/dist/cjs/api/types/CustomerTemporaryLocation.d.ts +1 -1
- package/dist/cjs/api/types/ExploreTemporaryLocation.d.ts +1 -1
- 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/resources/business/resources/temporaryLocations/client/requests/StoreTemporaryLocationRequest.d.mts +11 -1
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/UpdateTemporaryLocationRequest.d.mts +11 -1
- package/dist/esm/api/types/BusinessTemporaryLocation.d.mts +1 -1
- package/dist/esm/api/types/CustomerMenuItem.d.mts +2 -2
- package/dist/esm/api/types/CustomerTemporaryLocation.d.mts +1 -1
- package/dist/esm/api/types/ExploreTemporaryLocation.d.mts +1 -1
- 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.40",
|
|
47
|
+
"User-Agent": "@51eat/sdk/0.0.40",
|
|
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);
|
|
@@ -16,7 +16,17 @@ export interface StoreTemporaryLocationRequest {
|
|
|
16
16
|
country?: string | null;
|
|
17
17
|
latitude?: number | null;
|
|
18
18
|
longitude?: number | null;
|
|
19
|
-
hours?: string[] | null;
|
|
20
19
|
starts_at: string;
|
|
21
20
|
ends_at: string;
|
|
21
|
+
hours?: StoreTemporaryLocationRequest.Hours.Item[] | null;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace StoreTemporaryLocationRequest {
|
|
24
|
+
type Hours = Hours.Item[];
|
|
25
|
+
namespace Hours {
|
|
26
|
+
interface Item {
|
|
27
|
+
isOpen?: boolean | undefined;
|
|
28
|
+
openTime?: (string | null) | undefined;
|
|
29
|
+
closeTime?: (string | null) | undefined;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
22
32
|
}
|
|
@@ -16,7 +16,17 @@ export interface UpdateTemporaryLocationRequest {
|
|
|
16
16
|
country?: string | null;
|
|
17
17
|
latitude?: number | null;
|
|
18
18
|
longitude?: number | null;
|
|
19
|
-
hours?: string[] | null;
|
|
20
19
|
starts_at?: string;
|
|
21
20
|
ends_at?: string;
|
|
21
|
+
hours?: UpdateTemporaryLocationRequest.Hours.Item[] | null;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace UpdateTemporaryLocationRequest {
|
|
24
|
+
type Hours = Hours.Item[];
|
|
25
|
+
namespace Hours {
|
|
26
|
+
interface Item {
|
|
27
|
+
isOpen?: boolean | undefined;
|
|
28
|
+
openTime?: (string | null) | undefined;
|
|
29
|
+
closeTime?: (string | null) | undefined;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
22
32
|
}
|
|
@@ -6,6 +6,6 @@ export interface CustomerMenuItem {
|
|
|
6
6
|
price: number | null;
|
|
7
7
|
image: string | null;
|
|
8
8
|
allergens: string[] | null;
|
|
9
|
-
modifiers
|
|
10
|
-
variations
|
|
9
|
+
modifiers: FiveOneEat.CustomerMenuItemModifier[];
|
|
10
|
+
variations: FiveOneEat.CustomerMenuItemVariation[];
|
|
11
11
|
}
|
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.40";
|
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.40",
|
|
10
|
+
"User-Agent": "@51eat/sdk/0.0.40",
|
|
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);
|
|
@@ -16,7 +16,17 @@ export interface StoreTemporaryLocationRequest {
|
|
|
16
16
|
country?: string | null;
|
|
17
17
|
latitude?: number | null;
|
|
18
18
|
longitude?: number | null;
|
|
19
|
-
hours?: string[] | null;
|
|
20
19
|
starts_at: string;
|
|
21
20
|
ends_at: string;
|
|
21
|
+
hours?: StoreTemporaryLocationRequest.Hours.Item[] | null;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace StoreTemporaryLocationRequest {
|
|
24
|
+
type Hours = Hours.Item[];
|
|
25
|
+
namespace Hours {
|
|
26
|
+
interface Item {
|
|
27
|
+
isOpen?: boolean | undefined;
|
|
28
|
+
openTime?: (string | null) | undefined;
|
|
29
|
+
closeTime?: (string | null) | undefined;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
22
32
|
}
|
|
@@ -16,7 +16,17 @@ export interface UpdateTemporaryLocationRequest {
|
|
|
16
16
|
country?: string | null;
|
|
17
17
|
latitude?: number | null;
|
|
18
18
|
longitude?: number | null;
|
|
19
|
-
hours?: string[] | null;
|
|
20
19
|
starts_at?: string;
|
|
21
20
|
ends_at?: string;
|
|
21
|
+
hours?: UpdateTemporaryLocationRequest.Hours.Item[] | null;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace UpdateTemporaryLocationRequest {
|
|
24
|
+
type Hours = Hours.Item[];
|
|
25
|
+
namespace Hours {
|
|
26
|
+
interface Item {
|
|
27
|
+
isOpen?: boolean | undefined;
|
|
28
|
+
openTime?: (string | null) | undefined;
|
|
29
|
+
closeTime?: (string | null) | undefined;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
22
32
|
}
|
|
@@ -6,6 +6,6 @@ export interface CustomerMenuItem {
|
|
|
6
6
|
price: number | null;
|
|
7
7
|
image: string | null;
|
|
8
8
|
allergens: string[] | null;
|
|
9
|
-
modifiers
|
|
10
|
-
variations
|
|
9
|
+
modifiers: FiveOneEat.CustomerMenuItemModifier[];
|
|
10
|
+
variations: FiveOneEat.CustomerMenuItemVariation[];
|
|
11
11
|
}
|
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.40";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.0.
|
|
1
|
+
export const SDK_VERSION = "0.0.40";
|