@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.
@@ -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.40",
47
- "User-Agent": "@51eat/sdk/0.0.40",
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, unknown>;
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, unknown>;
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, unknown>;
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;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.40";
1
+ export declare const SDK_VERSION = "0.0.41";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.40";
4
+ exports.SDK_VERSION = "0.0.41";
@@ -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.40",
10
- "User-Agent": "@51eat/sdk/0.0.40",
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, unknown>;
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, unknown>;
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, unknown>;
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;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.40";
1
+ export declare const SDK_VERSION = "0.0.41";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.0.40";
1
+ export const SDK_VERSION = "0.0.41";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@51eat/sdk",
3
- "version": "0.0.40",
3
+ "version": "0.0.41",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",