@51eat/sdk 0.0.40 → 0.0.41
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/BusinessTemporaryLocation.d.ts +10 -1
- package/dist/cjs/api/types/CustomerTemporaryLocation.d.ts +10 -1
- package/dist/cjs/api/types/ExploreTemporaryLocation.d.ts +8 -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/types/BusinessTemporaryLocation.d.mts +10 -1
- package/dist/esm/api/types/CustomerTemporaryLocation.d.mts +10 -1
- package/dist/esm/api/types/ExploreTemporaryLocation.d.mts +8 -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.41",
|
|
47
|
+
"User-Agent": "@51eat/sdk/0.0.41",
|
|
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);
|
|
@@ -9,10 +9,19 @@ export interface BusinessTemporaryLocation {
|
|
|
9
9
|
country: string | null;
|
|
10
10
|
latitude: number | null;
|
|
11
11
|
longitude: number | null;
|
|
12
|
-
hours: Record<string,
|
|
12
|
+
hours: Record<string, BusinessTemporaryLocation.Hours.Value>;
|
|
13
13
|
full_address: string;
|
|
14
14
|
starts_at: string;
|
|
15
15
|
ends_at: string;
|
|
16
16
|
created_at: string | null;
|
|
17
17
|
updated_at: string | null;
|
|
18
18
|
}
|
|
19
|
+
export declare namespace BusinessTemporaryLocation {
|
|
20
|
+
namespace Hours {
|
|
21
|
+
interface Value {
|
|
22
|
+
isOpen: boolean;
|
|
23
|
+
openTime: string;
|
|
24
|
+
closeTime: string;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -9,7 +9,16 @@ export interface CustomerTemporaryLocation {
|
|
|
9
9
|
country: string | null;
|
|
10
10
|
latitude: number | null;
|
|
11
11
|
longitude: number | null;
|
|
12
|
-
hours: Record<string,
|
|
12
|
+
hours: Record<string, CustomerTemporaryLocation.Hours.Value>;
|
|
13
13
|
starts_at: string;
|
|
14
14
|
ends_at: string;
|
|
15
15
|
}
|
|
16
|
+
export declare namespace CustomerTemporaryLocation {
|
|
17
|
+
namespace Hours {
|
|
18
|
+
interface Value {
|
|
19
|
+
isOpen: boolean;
|
|
20
|
+
openTime: string;
|
|
21
|
+
closeTime: string;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -9,13 +9,20 @@ export interface ExploreTemporaryLocation {
|
|
|
9
9
|
country: string | null;
|
|
10
10
|
latitude: number | null;
|
|
11
11
|
longitude: number | null;
|
|
12
|
-
hours: Record<string,
|
|
12
|
+
hours: Record<string, ExploreTemporaryLocation.Hours.Value>;
|
|
13
13
|
full_address: string;
|
|
14
14
|
starts_at: string;
|
|
15
15
|
ends_at: string;
|
|
16
16
|
business?: ExploreTemporaryLocation.Business | undefined;
|
|
17
17
|
}
|
|
18
18
|
export declare namespace ExploreTemporaryLocation {
|
|
19
|
+
namespace Hours {
|
|
20
|
+
interface Value {
|
|
21
|
+
isOpen: boolean;
|
|
22
|
+
openTime: string;
|
|
23
|
+
closeTime: string;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
19
26
|
interface Business {
|
|
20
27
|
id: string;
|
|
21
28
|
name: string;
|
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.41";
|
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.41",
|
|
10
|
+
"User-Agent": "@51eat/sdk/0.0.41",
|
|
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);
|
|
@@ -9,10 +9,19 @@ export interface BusinessTemporaryLocation {
|
|
|
9
9
|
country: string | null;
|
|
10
10
|
latitude: number | null;
|
|
11
11
|
longitude: number | null;
|
|
12
|
-
hours: Record<string,
|
|
12
|
+
hours: Record<string, BusinessTemporaryLocation.Hours.Value>;
|
|
13
13
|
full_address: string;
|
|
14
14
|
starts_at: string;
|
|
15
15
|
ends_at: string;
|
|
16
16
|
created_at: string | null;
|
|
17
17
|
updated_at: string | null;
|
|
18
18
|
}
|
|
19
|
+
export declare namespace BusinessTemporaryLocation {
|
|
20
|
+
namespace Hours {
|
|
21
|
+
interface Value {
|
|
22
|
+
isOpen: boolean;
|
|
23
|
+
openTime: string;
|
|
24
|
+
closeTime: string;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -9,7 +9,16 @@ export interface CustomerTemporaryLocation {
|
|
|
9
9
|
country: string | null;
|
|
10
10
|
latitude: number | null;
|
|
11
11
|
longitude: number | null;
|
|
12
|
-
hours: Record<string,
|
|
12
|
+
hours: Record<string, CustomerTemporaryLocation.Hours.Value>;
|
|
13
13
|
starts_at: string;
|
|
14
14
|
ends_at: string;
|
|
15
15
|
}
|
|
16
|
+
export declare namespace CustomerTemporaryLocation {
|
|
17
|
+
namespace Hours {
|
|
18
|
+
interface Value {
|
|
19
|
+
isOpen: boolean;
|
|
20
|
+
openTime: string;
|
|
21
|
+
closeTime: string;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -9,13 +9,20 @@ export interface ExploreTemporaryLocation {
|
|
|
9
9
|
country: string | null;
|
|
10
10
|
latitude: number | null;
|
|
11
11
|
longitude: number | null;
|
|
12
|
-
hours: Record<string,
|
|
12
|
+
hours: Record<string, ExploreTemporaryLocation.Hours.Value>;
|
|
13
13
|
full_address: string;
|
|
14
14
|
starts_at: string;
|
|
15
15
|
ends_at: string;
|
|
16
16
|
business?: ExploreTemporaryLocation.Business | undefined;
|
|
17
17
|
}
|
|
18
18
|
export declare namespace ExploreTemporaryLocation {
|
|
19
|
+
namespace Hours {
|
|
20
|
+
interface Value {
|
|
21
|
+
isOpen: boolean;
|
|
22
|
+
openTime: string;
|
|
23
|
+
closeTime: string;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
19
26
|
interface Business {
|
|
20
27
|
id: string;
|
|
21
28
|
name: string;
|
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.41";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.0.
|
|
1
|
+
export const SDK_VERSION = "0.0.41";
|