@51eat/sdk 0.0.24 → 0.0.26

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.24",
47
- "User-Agent": "@51eat/sdk/0.0.24",
46
+ "X-Fern-SDK-Version": "0.0.26",
47
+ "User-Agent": "@51eat/sdk/0.0.26",
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);
@@ -26,9 +26,18 @@ export interface StoreBusinessRequest {
26
26
  seasonal?: boolean;
27
27
  ownership?: string[] | null;
28
28
  category_ids: number[];
29
+ hours?: StoreBusinessRequest.Hours.Item[] | null;
29
30
  operating_months?: StoreBusinessRequest.OperatingMonths.Item[] | null;
30
31
  }
31
32
  export declare namespace StoreBusinessRequest {
33
+ type Hours = Hours.Item[];
34
+ namespace Hours {
35
+ interface Item {
36
+ isOpen?: boolean | undefined;
37
+ openTime?: (string | null) | undefined;
38
+ closeTime?: (string | null) | undefined;
39
+ }
40
+ }
32
41
  type OperatingMonths = OperatingMonths.Item[];
33
42
  namespace OperatingMonths {
34
43
  const Item: {
@@ -36,11 +36,20 @@ export interface UpdateBusinessRequest {
36
36
  seasonal?: boolean;
37
37
  ownership?: string[] | null;
38
38
  category_ids: number[];
39
+ hours?: UpdateBusinessRequest.Hours.Item[] | null;
39
40
  operating_months?: UpdateBusinessRequest.OperatingMonths.Item[] | null;
40
41
  certification_ids?: number[] | null;
41
42
  cuisine_ids?: number[] | null;
42
43
  }
43
44
  export declare namespace UpdateBusinessRequest {
45
+ type Hours = Hours.Item[];
46
+ namespace Hours {
47
+ interface Item {
48
+ isOpen?: boolean | undefined;
49
+ openTime?: (string | null) | undefined;
50
+ closeTime?: (string | null) | undefined;
51
+ }
52
+ }
44
53
  type OperatingMonths = OperatingMonths.Item[];
45
54
  namespace OperatingMonths {
46
55
  const Item: {
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.24";
1
+ export declare const SDK_VERSION = "0.0.26";
@@ -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.24";
4
+ exports.SDK_VERSION = "0.0.26";
@@ -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.24",
10
- "User-Agent": "@51eat/sdk/0.0.24",
9
+ "X-Fern-SDK-Version": "0.0.26",
10
+ "User-Agent": "@51eat/sdk/0.0.26",
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);
@@ -26,9 +26,18 @@ export interface StoreBusinessRequest {
26
26
  seasonal?: boolean;
27
27
  ownership?: string[] | null;
28
28
  category_ids: number[];
29
+ hours?: StoreBusinessRequest.Hours.Item[] | null;
29
30
  operating_months?: StoreBusinessRequest.OperatingMonths.Item[] | null;
30
31
  }
31
32
  export declare namespace StoreBusinessRequest {
33
+ type Hours = Hours.Item[];
34
+ namespace Hours {
35
+ interface Item {
36
+ isOpen?: boolean | undefined;
37
+ openTime?: (string | null) | undefined;
38
+ closeTime?: (string | null) | undefined;
39
+ }
40
+ }
32
41
  type OperatingMonths = OperatingMonths.Item[];
33
42
  namespace OperatingMonths {
34
43
  const Item: {
@@ -36,11 +36,20 @@ export interface UpdateBusinessRequest {
36
36
  seasonal?: boolean;
37
37
  ownership?: string[] | null;
38
38
  category_ids: number[];
39
+ hours?: UpdateBusinessRequest.Hours.Item[] | null;
39
40
  operating_months?: UpdateBusinessRequest.OperatingMonths.Item[] | null;
40
41
  certification_ids?: number[] | null;
41
42
  cuisine_ids?: number[] | null;
42
43
  }
43
44
  export declare namespace UpdateBusinessRequest {
45
+ type Hours = Hours.Item[];
46
+ namespace Hours {
47
+ interface Item {
48
+ isOpen?: boolean | undefined;
49
+ openTime?: (string | null) | undefined;
50
+ closeTime?: (string | null) | undefined;
51
+ }
52
+ }
44
53
  type OperatingMonths = OperatingMonths.Item[];
45
54
  namespace OperatingMonths {
46
55
  const Item: {
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.24";
1
+ export declare const SDK_VERSION = "0.0.26";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.0.24";
1
+ export const SDK_VERSION = "0.0.26";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@51eat/sdk",
3
- "version": "0.0.24",
3
+ "version": "0.0.26",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",