@51eat/sdk 0.0.60 → 0.0.62
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/README.md +13 -15
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +3 -0
- package/dist/cjs/Client.js +25 -20
- package/dist/cjs/api/resources/business/resources/businesses/client/requests/StoreBusinessRequest.d.ts +0 -9
- package/dist/cjs/api/resources/business/resources/businesses/client/requests/UpdateBusinessRequest.d.ts +0 -9
- package/dist/cjs/api/resources/business/resources/products/client/requests/StoreProductRequest.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/profile/client/requests/UpdateBusinessProfileRequest.d.ts +0 -11
- package/dist/cjs/api/resources/businessHours/client/Client.d.ts +91 -0
- package/dist/cjs/api/resources/businessHours/client/Client.js +361 -0
- package/dist/cjs/api/resources/businessHours/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/businessHours/client/index.js +17 -0
- package/dist/cjs/api/resources/businessHours/client/requests/DeleteBusinessHourExceptionRequest.d.ts +10 -0
- package/dist/cjs/api/resources/businessHours/client/requests/DeleteBusinessHourExceptionRequest.js +3 -0
- package/dist/cjs/api/resources/businessHours/client/requests/StoreBusinessHourExceptionRequest.d.ts +16 -0
- package/dist/cjs/api/resources/businessHours/client/requests/StoreBusinessHourExceptionRequest.js +3 -0
- package/dist/cjs/api/resources/businessHours/client/requests/UpdateBusinessHourExceptionRequest.d.ts +19 -0
- package/dist/cjs/api/resources/businessHours/client/requests/UpdateBusinessHourExceptionRequest.js +3 -0
- package/dist/cjs/api/resources/businessHours/client/requests/UpdateBusinessHoursRequest.d.ts +25 -0
- package/dist/cjs/api/resources/businessHours/client/requests/UpdateBusinessHoursRequest.js +3 -0
- package/dist/cjs/api/resources/businessHours/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/businessHours/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/businessHours/exports.d.ts +2 -0
- package/dist/cjs/api/resources/businessHours/exports.js +21 -0
- package/dist/cjs/api/resources/businessHours/index.d.ts +2 -0
- package/dist/cjs/api/resources/businessHours/index.js +18 -0
- package/dist/cjs/api/resources/businessHours/types/CreateBusinessHourExceptionResponse.d.ts +4 -0
- package/dist/cjs/api/resources/businessHours/types/CreateBusinessHourExceptionResponse.js +3 -0
- package/dist/cjs/api/resources/businessHours/types/GetBusinessHoursResponse.d.ts +4 -0
- package/dist/cjs/api/resources/businessHours/types/GetBusinessHoursResponse.js +3 -0
- package/dist/cjs/api/resources/businessHours/types/UpdateBusinessHourExceptionResponse.d.ts +4 -0
- package/dist/cjs/api/resources/businessHours/types/UpdateBusinessHourExceptionResponse.js +3 -0
- package/dist/cjs/api/resources/businessHours/types/UpdateBusinessHoursResponse.d.ts +4 -0
- package/dist/cjs/api/resources/businessHours/types/UpdateBusinessHoursResponse.js +3 -0
- package/dist/cjs/api/resources/businessHours/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/businessHours/types/index.js +20 -0
- package/dist/cjs/api/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/index.js +4 -1
- package/dist/cjs/api/types/BusinessHourExceptionResource.d.ts +10 -0
- package/dist/cjs/api/types/BusinessHourExceptionResource.js +3 -0
- package/dist/cjs/api/types/BusinessHourSlotResource.d.ts +6 -0
- package/dist/cjs/api/types/BusinessHourSlotResource.js +3 -0
- package/dist/cjs/api/types/BusinessHoursResource.d.ts +7 -0
- package/dist/cjs/api/types/BusinessHoursResource.js +3 -0
- package/dist/cjs/api/types/BusinessInventoryLog.d.ts +2 -2
- package/dist/cjs/api/types/BusinessProfile.d.ts +6 -7
- package/dist/cjs/api/types/BusinessScheduleDayResource.d.ts +5 -0
- package/dist/cjs/api/types/BusinessScheduleDayResource.js +3 -0
- package/dist/cjs/api/types/CustomerBusinessProfile.d.ts +6 -7
- package/dist/cjs/api/types/CustomerCartItem.d.ts +1 -1
- package/dist/cjs/api/types/CustomerEventDetail.d.ts +1 -1
- package/dist/cjs/api/types/EventFeedItem.d.ts +1 -1
- 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/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +5 -0
- package/dist/esm/api/resources/business/resources/businesses/client/requests/StoreBusinessRequest.d.mts +0 -9
- package/dist/esm/api/resources/business/resources/businesses/client/requests/UpdateBusinessRequest.d.mts +0 -9
- package/dist/esm/api/resources/business/resources/products/client/requests/StoreProductRequest.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/profile/client/requests/UpdateBusinessProfileRequest.d.mts +0 -11
- package/dist/esm/api/resources/businessHours/client/Client.d.mts +91 -0
- package/dist/esm/api/resources/businessHours/client/Client.mjs +324 -0
- package/dist/esm/api/resources/businessHours/client/index.d.mts +1 -0
- package/dist/esm/api/resources/businessHours/client/index.mjs +1 -0
- package/dist/esm/api/resources/businessHours/client/requests/DeleteBusinessHourExceptionRequest.d.mts +10 -0
- package/dist/esm/api/resources/businessHours/client/requests/DeleteBusinessHourExceptionRequest.mjs +2 -0
- package/dist/esm/api/resources/businessHours/client/requests/StoreBusinessHourExceptionRequest.d.mts +16 -0
- package/dist/esm/api/resources/businessHours/client/requests/StoreBusinessHourExceptionRequest.mjs +2 -0
- package/dist/esm/api/resources/businessHours/client/requests/UpdateBusinessHourExceptionRequest.d.mts +19 -0
- package/dist/esm/api/resources/businessHours/client/requests/UpdateBusinessHourExceptionRequest.mjs +2 -0
- package/dist/esm/api/resources/businessHours/client/requests/UpdateBusinessHoursRequest.d.mts +25 -0
- package/dist/esm/api/resources/businessHours/client/requests/UpdateBusinessHoursRequest.mjs +2 -0
- package/dist/esm/api/resources/businessHours/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/businessHours/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/businessHours/exports.d.mts +2 -0
- package/dist/esm/api/resources/businessHours/exports.mjs +3 -0
- package/dist/esm/api/resources/businessHours/index.d.mts +2 -0
- package/dist/esm/api/resources/businessHours/index.mjs +2 -0
- package/dist/esm/api/resources/businessHours/types/CreateBusinessHourExceptionResponse.d.mts +4 -0
- package/dist/esm/api/resources/businessHours/types/CreateBusinessHourExceptionResponse.mjs +2 -0
- package/dist/esm/api/resources/businessHours/types/GetBusinessHoursResponse.d.mts +4 -0
- package/dist/esm/api/resources/businessHours/types/GetBusinessHoursResponse.mjs +2 -0
- package/dist/esm/api/resources/businessHours/types/UpdateBusinessHourExceptionResponse.d.mts +4 -0
- package/dist/esm/api/resources/businessHours/types/UpdateBusinessHourExceptionResponse.mjs +2 -0
- package/dist/esm/api/resources/businessHours/types/UpdateBusinessHoursResponse.d.mts +4 -0
- package/dist/esm/api/resources/businessHours/types/UpdateBusinessHoursResponse.mjs +2 -0
- package/dist/esm/api/resources/businessHours/types/index.d.mts +4 -0
- package/dist/esm/api/resources/businessHours/types/index.mjs +4 -0
- package/dist/esm/api/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/index.mjs +3 -0
- package/dist/esm/api/types/BusinessHourExceptionResource.d.mts +10 -0
- package/dist/esm/api/types/BusinessHourExceptionResource.mjs +2 -0
- package/dist/esm/api/types/BusinessHourSlotResource.d.mts +6 -0
- package/dist/esm/api/types/BusinessHourSlotResource.mjs +2 -0
- package/dist/esm/api/types/BusinessHoursResource.d.mts +7 -0
- package/dist/esm/api/types/BusinessHoursResource.mjs +2 -0
- package/dist/esm/api/types/BusinessInventoryLog.d.mts +2 -2
- package/dist/esm/api/types/BusinessProfile.d.mts +6 -7
- package/dist/esm/api/types/BusinessScheduleDayResource.d.mts +5 -0
- package/dist/esm/api/types/BusinessScheduleDayResource.mjs +2 -0
- package/dist/esm/api/types/CustomerBusinessProfile.d.mts +6 -7
- package/dist/esm/api/types/CustomerCartItem.d.mts +1 -1
- package/dist/esm/api/types/CustomerEventDetail.d.mts +1 -1
- package/dist/esm/api/types/EventFeedItem.d.mts +1 -1
- 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 +12 -1
- package/reference.md +253 -0
|
@@ -24,7 +24,7 @@ export interface CustomerBusinessProfile {
|
|
|
24
24
|
linkedin_url: string | null;
|
|
25
25
|
logo: string | null;
|
|
26
26
|
cover_photo?: (string | null) | undefined;
|
|
27
|
-
hours:
|
|
27
|
+
hours: CustomerBusinessProfile.Hours;
|
|
28
28
|
seasonal: boolean;
|
|
29
29
|
operating_months: string[];
|
|
30
30
|
ownership: string[];
|
|
@@ -40,12 +40,11 @@ export interface CustomerBusinessProfile {
|
|
|
40
40
|
temporary_locations?: FiveOneEat.CustomerTemporaryLocation[] | undefined;
|
|
41
41
|
}
|
|
42
42
|
export declare namespace CustomerBusinessProfile {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
43
|
+
interface Hours {
|
|
44
|
+
is_open_now: string;
|
|
45
|
+
next_open_at: string | null;
|
|
46
|
+
schedule: FiveOneEat.BusinessScheduleDayResource[];
|
|
47
|
+
exceptions: FiveOneEat.BusinessHourExceptionResource[];
|
|
49
48
|
}
|
|
50
49
|
type Cuisines = Cuisines.Item[];
|
|
51
50
|
namespace Cuisines {
|
|
@@ -10,7 +10,7 @@ export interface CustomerEventDetail {
|
|
|
10
10
|
ticket_sales_enabled: boolean;
|
|
11
11
|
image: string | null;
|
|
12
12
|
rsvp_count: number;
|
|
13
|
-
user_rsvp_status?: string | undefined;
|
|
13
|
+
user_rsvp_status?: (string | null) | undefined;
|
|
14
14
|
user_has_tickets?: boolean | undefined;
|
|
15
15
|
ticket_price_from?: string | undefined;
|
|
16
16
|
ticket_types?: FiveOneEat.CustomerEventTicketType[] | undefined;
|
|
@@ -9,7 +9,7 @@ export interface EventFeedItem {
|
|
|
9
9
|
ticket_sales_enabled: boolean;
|
|
10
10
|
image: string | null;
|
|
11
11
|
rsvp_count: number;
|
|
12
|
-
user_rsvp_status?: string | undefined;
|
|
12
|
+
user_rsvp_status?: (string | null) | undefined;
|
|
13
13
|
user_has_tickets?: boolean | undefined;
|
|
14
14
|
ticket_price_from?: string | undefined;
|
|
15
15
|
business: EventFeedItem.Business;
|
|
@@ -47,6 +47,9 @@ export * from "./BusinessEventOrderDetail.mjs";
|
|
|
47
47
|
export * from "./BusinessEventRsvp.mjs";
|
|
48
48
|
export * from "./BusinessEventSalesSummary.mjs";
|
|
49
49
|
export * from "./BusinessEventTicketType.mjs";
|
|
50
|
+
export * from "./BusinessHourExceptionResource.mjs";
|
|
51
|
+
export * from "./BusinessHourSlotResource.mjs";
|
|
52
|
+
export * from "./BusinessHoursResource.mjs";
|
|
50
53
|
export * from "./BusinessInventoryLog.mjs";
|
|
51
54
|
export * from "./BusinessLoginResponse.mjs";
|
|
52
55
|
export * from "./BusinessMe.mjs";
|
|
@@ -64,6 +67,7 @@ export * from "./BusinessProductOrder.mjs";
|
|
|
64
67
|
export * from "./BusinessProductOrderItem.mjs";
|
|
65
68
|
export * from "./BusinessProductVariant.mjs";
|
|
66
69
|
export * from "./BusinessProfile.mjs";
|
|
70
|
+
export * from "./BusinessScheduleDayResource.mjs";
|
|
67
71
|
export * from "./BusinessSearchResult.mjs";
|
|
68
72
|
export * from "./BusinessStripeConnection.mjs";
|
|
69
73
|
export * from "./BusinessSummary.mjs";
|
|
@@ -47,6 +47,9 @@ export * from "./BusinessEventOrderDetail.mjs";
|
|
|
47
47
|
export * from "./BusinessEventRsvp.mjs";
|
|
48
48
|
export * from "./BusinessEventSalesSummary.mjs";
|
|
49
49
|
export * from "./BusinessEventTicketType.mjs";
|
|
50
|
+
export * from "./BusinessHourExceptionResource.mjs";
|
|
51
|
+
export * from "./BusinessHourSlotResource.mjs";
|
|
52
|
+
export * from "./BusinessHoursResource.mjs";
|
|
50
53
|
export * from "./BusinessInventoryLog.mjs";
|
|
51
54
|
export * from "./BusinessLoginResponse.mjs";
|
|
52
55
|
export * from "./BusinessMe.mjs";
|
|
@@ -64,6 +67,7 @@ export * from "./BusinessProductOrder.mjs";
|
|
|
64
67
|
export * from "./BusinessProductOrderItem.mjs";
|
|
65
68
|
export * from "./BusinessProductVariant.mjs";
|
|
66
69
|
export * from "./BusinessProfile.mjs";
|
|
70
|
+
export * from "./BusinessScheduleDayResource.mjs";
|
|
67
71
|
export * from "./BusinessSearchResult.mjs";
|
|
68
72
|
export * from "./BusinessStripeConnection.mjs";
|
|
69
73
|
export * from "./BusinessSummary.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.62";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.0.
|
|
1
|
+
export const SDK_VERSION = "0.0.62";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@51eat/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.62",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,6 +22,17 @@
|
|
|
22
22
|
},
|
|
23
23
|
"default": "./dist/cjs/index.js"
|
|
24
24
|
},
|
|
25
|
+
"./businessHours": {
|
|
26
|
+
"import": {
|
|
27
|
+
"types": "./dist/esm/api/resources/businessHours/exports.d.mts",
|
|
28
|
+
"default": "./dist/esm/api/resources/businessHours/exports.mjs"
|
|
29
|
+
},
|
|
30
|
+
"require": {
|
|
31
|
+
"types": "./dist/cjs/api/resources/businessHours/exports.d.ts",
|
|
32
|
+
"default": "./dist/cjs/api/resources/businessHours/exports.js"
|
|
33
|
+
},
|
|
34
|
+
"default": "./dist/cjs/api/resources/businessHours/exports.js"
|
|
35
|
+
},
|
|
25
36
|
"./businessMessaging": {
|
|
26
37
|
"import": {
|
|
27
38
|
"types": "./dist/esm/api/resources/businessMessaging/exports.d.mts",
|
package/reference.md
CHANGED
|
@@ -1,4 +1,257 @@
|
|
|
1
1
|
# Reference
|
|
2
|
+
## Business: Hours
|
|
3
|
+
<details><summary><code>client.businessHours.<a href="/src/api/resources/businessHours/client/Client.ts">getBusinessHours</a>() -> FiveOneEat.GetBusinessHoursResponse</code></summary>
|
|
4
|
+
<dl>
|
|
5
|
+
<dd>
|
|
6
|
+
|
|
7
|
+
#### 🔌 Usage
|
|
8
|
+
|
|
9
|
+
<dl>
|
|
10
|
+
<dd>
|
|
11
|
+
|
|
12
|
+
<dl>
|
|
13
|
+
<dd>
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
await client.businessHours.getBusinessHours();
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
</dd>
|
|
20
|
+
</dl>
|
|
21
|
+
</dd>
|
|
22
|
+
</dl>
|
|
23
|
+
|
|
24
|
+
#### ⚙️ Parameters
|
|
25
|
+
|
|
26
|
+
<dl>
|
|
27
|
+
<dd>
|
|
28
|
+
|
|
29
|
+
<dl>
|
|
30
|
+
<dd>
|
|
31
|
+
|
|
32
|
+
**requestOptions:** `BusinessHoursClient.RequestOptions`
|
|
33
|
+
|
|
34
|
+
</dd>
|
|
35
|
+
</dl>
|
|
36
|
+
</dd>
|
|
37
|
+
</dl>
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
</dd>
|
|
41
|
+
</dl>
|
|
42
|
+
</details>
|
|
43
|
+
|
|
44
|
+
<details><summary><code>client.businessHours.<a href="/src/api/resources/businessHours/client/Client.ts">updateBusinessHours</a>({ ...params }) -> FiveOneEat.UpdateBusinessHoursResponse</code></summary>
|
|
45
|
+
<dl>
|
|
46
|
+
<dd>
|
|
47
|
+
|
|
48
|
+
#### 🔌 Usage
|
|
49
|
+
|
|
50
|
+
<dl>
|
|
51
|
+
<dd>
|
|
52
|
+
|
|
53
|
+
<dl>
|
|
54
|
+
<dd>
|
|
55
|
+
|
|
56
|
+
```typescript
|
|
57
|
+
await client.businessHours.updateBusinessHours({
|
|
58
|
+
slots: [{
|
|
59
|
+
day_of_week: 1,
|
|
60
|
+
opens_at: "opens_at",
|
|
61
|
+
closes_at: "closes_at"
|
|
62
|
+
}]
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
</dd>
|
|
67
|
+
</dl>
|
|
68
|
+
</dd>
|
|
69
|
+
</dl>
|
|
70
|
+
|
|
71
|
+
#### ⚙️ Parameters
|
|
72
|
+
|
|
73
|
+
<dl>
|
|
74
|
+
<dd>
|
|
75
|
+
|
|
76
|
+
<dl>
|
|
77
|
+
<dd>
|
|
78
|
+
|
|
79
|
+
**request:** `FiveOneEat.UpdateBusinessHoursRequest`
|
|
80
|
+
|
|
81
|
+
</dd>
|
|
82
|
+
</dl>
|
|
83
|
+
|
|
84
|
+
<dl>
|
|
85
|
+
<dd>
|
|
86
|
+
|
|
87
|
+
**requestOptions:** `BusinessHoursClient.RequestOptions`
|
|
88
|
+
|
|
89
|
+
</dd>
|
|
90
|
+
</dl>
|
|
91
|
+
</dd>
|
|
92
|
+
</dl>
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
</dd>
|
|
96
|
+
</dl>
|
|
97
|
+
</details>
|
|
98
|
+
|
|
99
|
+
<details><summary><code>client.businessHours.<a href="/src/api/resources/businessHours/client/Client.ts">createBusinessHourException</a>({ ...params }) -> FiveOneEat.CreateBusinessHourExceptionResponse</code></summary>
|
|
100
|
+
<dl>
|
|
101
|
+
<dd>
|
|
102
|
+
|
|
103
|
+
#### 🔌 Usage
|
|
104
|
+
|
|
105
|
+
<dl>
|
|
106
|
+
<dd>
|
|
107
|
+
|
|
108
|
+
<dl>
|
|
109
|
+
<dd>
|
|
110
|
+
|
|
111
|
+
```typescript
|
|
112
|
+
await client.businessHours.createBusinessHourException({
|
|
113
|
+
starts_on: "2024-01-15T09:30:00Z",
|
|
114
|
+
is_closed: true
|
|
115
|
+
});
|
|
116
|
+
|
|
117
|
+
```
|
|
118
|
+
</dd>
|
|
119
|
+
</dl>
|
|
120
|
+
</dd>
|
|
121
|
+
</dl>
|
|
122
|
+
|
|
123
|
+
#### ⚙️ Parameters
|
|
124
|
+
|
|
125
|
+
<dl>
|
|
126
|
+
<dd>
|
|
127
|
+
|
|
128
|
+
<dl>
|
|
129
|
+
<dd>
|
|
130
|
+
|
|
131
|
+
**request:** `FiveOneEat.StoreBusinessHourExceptionRequest`
|
|
132
|
+
|
|
133
|
+
</dd>
|
|
134
|
+
</dl>
|
|
135
|
+
|
|
136
|
+
<dl>
|
|
137
|
+
<dd>
|
|
138
|
+
|
|
139
|
+
**requestOptions:** `BusinessHoursClient.RequestOptions`
|
|
140
|
+
|
|
141
|
+
</dd>
|
|
142
|
+
</dl>
|
|
143
|
+
</dd>
|
|
144
|
+
</dl>
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
</dd>
|
|
148
|
+
</dl>
|
|
149
|
+
</details>
|
|
150
|
+
|
|
151
|
+
<details><summary><code>client.businessHours.<a href="/src/api/resources/businessHours/client/Client.ts">deleteBusinessHourException</a>({ ...params }) -> void</code></summary>
|
|
152
|
+
<dl>
|
|
153
|
+
<dd>
|
|
154
|
+
|
|
155
|
+
#### 🔌 Usage
|
|
156
|
+
|
|
157
|
+
<dl>
|
|
158
|
+
<dd>
|
|
159
|
+
|
|
160
|
+
<dl>
|
|
161
|
+
<dd>
|
|
162
|
+
|
|
163
|
+
```typescript
|
|
164
|
+
await client.businessHours.deleteBusinessHourException({
|
|
165
|
+
exception: "exception"
|
|
166
|
+
});
|
|
167
|
+
|
|
168
|
+
```
|
|
169
|
+
</dd>
|
|
170
|
+
</dl>
|
|
171
|
+
</dd>
|
|
172
|
+
</dl>
|
|
173
|
+
|
|
174
|
+
#### ⚙️ Parameters
|
|
175
|
+
|
|
176
|
+
<dl>
|
|
177
|
+
<dd>
|
|
178
|
+
|
|
179
|
+
<dl>
|
|
180
|
+
<dd>
|
|
181
|
+
|
|
182
|
+
**request:** `FiveOneEat.DeleteBusinessHourExceptionRequest`
|
|
183
|
+
|
|
184
|
+
</dd>
|
|
185
|
+
</dl>
|
|
186
|
+
|
|
187
|
+
<dl>
|
|
188
|
+
<dd>
|
|
189
|
+
|
|
190
|
+
**requestOptions:** `BusinessHoursClient.RequestOptions`
|
|
191
|
+
|
|
192
|
+
</dd>
|
|
193
|
+
</dl>
|
|
194
|
+
</dd>
|
|
195
|
+
</dl>
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
</dd>
|
|
199
|
+
</dl>
|
|
200
|
+
</details>
|
|
201
|
+
|
|
202
|
+
<details><summary><code>client.businessHours.<a href="/src/api/resources/businessHours/client/Client.ts">updateBusinessHourException</a>({ ...params }) -> FiveOneEat.UpdateBusinessHourExceptionResponse</code></summary>
|
|
203
|
+
<dl>
|
|
204
|
+
<dd>
|
|
205
|
+
|
|
206
|
+
#### 🔌 Usage
|
|
207
|
+
|
|
208
|
+
<dl>
|
|
209
|
+
<dd>
|
|
210
|
+
|
|
211
|
+
<dl>
|
|
212
|
+
<dd>
|
|
213
|
+
|
|
214
|
+
```typescript
|
|
215
|
+
await client.businessHours.updateBusinessHourException({
|
|
216
|
+
exception: "exception",
|
|
217
|
+
starts_on: "2024-01-15T09:30:00Z",
|
|
218
|
+
is_closed: true
|
|
219
|
+
});
|
|
220
|
+
|
|
221
|
+
```
|
|
222
|
+
</dd>
|
|
223
|
+
</dl>
|
|
224
|
+
</dd>
|
|
225
|
+
</dl>
|
|
226
|
+
|
|
227
|
+
#### ⚙️ Parameters
|
|
228
|
+
|
|
229
|
+
<dl>
|
|
230
|
+
<dd>
|
|
231
|
+
|
|
232
|
+
<dl>
|
|
233
|
+
<dd>
|
|
234
|
+
|
|
235
|
+
**request:** `FiveOneEat.UpdateBusinessHourExceptionRequest`
|
|
236
|
+
|
|
237
|
+
</dd>
|
|
238
|
+
</dl>
|
|
239
|
+
|
|
240
|
+
<dl>
|
|
241
|
+
<dd>
|
|
242
|
+
|
|
243
|
+
**requestOptions:** `BusinessHoursClient.RequestOptions`
|
|
244
|
+
|
|
245
|
+
</dd>
|
|
246
|
+
</dl>
|
|
247
|
+
</dd>
|
|
248
|
+
</dl>
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
</dd>
|
|
252
|
+
</dl>
|
|
253
|
+
</details>
|
|
254
|
+
|
|
2
255
|
## Business: Messaging
|
|
3
256
|
<details><summary><code>client.businessMessaging.<a href="/src/api/resources/businessMessaging/client/Client.ts">searchBusinessConversations</a>({ ...params }) -> FiveOneEat.SearchBusinessConversationsResponse</code></summary>
|
|
4
257
|
<dl>
|