@51eat/sdk 0.0.34 → 0.0.36
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/events/client/Client.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/events/client/Client.js +9 -4
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/Client.d.ts +91 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/Client.js +330 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/LookupTicketRequest.d.ts +12 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/LookupTicketRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/RecentCheckInRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/RecentCheckInRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/ScanTicketRequest.d.ts +13 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/ScanTicketRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/StatsCheckInRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/StatsCheckInRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/LookupCheckInResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/LookupCheckInResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/RecentCheckInResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/RecentCheckInResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/ScanCheckInResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/ScanCheckInResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/StatsCheckInResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/StatsCheckInResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/index.js +20 -0
- package/dist/cjs/api/resources/business/resources/events/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/index.js +4 -1
- package/dist/cjs/api/types/BusinessEventCheckIn.d.ts +18 -0
- package/dist/cjs/api/types/BusinessEventCheckIn.js +3 -0
- package/dist/cjs/api/types/BusinessEventCheckInStats.d.ts +1 -0
- package/dist/cjs/api/types/BusinessEventCheckInStats.js +3 -0
- package/dist/cjs/api/types/BusinessEventCheckInTicket.d.ts +20 -0
- package/dist/cjs/api/types/BusinessEventCheckInTicket.js +3 -0
- package/dist/cjs/api/types/index.d.ts +3 -0
- package/dist/cjs/api/types/index.js +3 -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/api/resources/business/resources/events/client/Client.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/events/client/Client.mjs +5 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/Client.d.mts +91 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/Client.mjs +293 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/LookupTicketRequest.d.mts +12 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/LookupTicketRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/RecentCheckInRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/RecentCheckInRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/ScanTicketRequest.d.mts +13 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/ScanTicketRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/StatsCheckInRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/StatsCheckInRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/LookupCheckInResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/LookupCheckInResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/RecentCheckInResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/RecentCheckInResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/ScanCheckInResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/ScanCheckInResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/StatsCheckInResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/StatsCheckInResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/index.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/index.mjs +4 -0
- package/dist/esm/api/resources/business/resources/events/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/events/resources/index.mjs +3 -0
- package/dist/esm/api/types/BusinessEventCheckIn.d.mts +18 -0
- package/dist/esm/api/types/BusinessEventCheckIn.mjs +2 -0
- package/dist/esm/api/types/BusinessEventCheckInStats.d.mts +1 -0
- package/dist/esm/api/types/BusinessEventCheckInStats.mjs +2 -0
- package/dist/esm/api/types/BusinessEventCheckInTicket.d.mts +20 -0
- package/dist/esm/api/types/BusinessEventCheckInTicket.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +3 -0
- package/dist/esm/api/types/index.mjs +3 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +12 -1
- package/reference.md +269 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export type { LookupTicketRequest } from "./LookupTicketRequest.mjs";
|
|
2
|
+
export type { RecentCheckInRequest } from "./RecentCheckInRequest.mjs";
|
|
3
|
+
export type { ScanTicketRequest } from "./ScanTicketRequest.mjs";
|
|
4
|
+
export type { StatsCheckInRequest } from "./StatsCheckInRequest.mjs";
|
package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export * from "./checkIn/client/requests/index.mjs";
|
|
2
|
+
export * as checkIn from "./checkIn/index.mjs";
|
|
3
|
+
export * from "./checkIn/types/index.mjs";
|
|
1
4
|
export * from "./orders/client/requests/index.mjs";
|
|
2
5
|
export * as orders from "./orders/index.mjs";
|
|
3
6
|
export * from "./orders/types/index.mjs";
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export * from "./checkIn/client/requests/index.mjs";
|
|
2
|
+
export * as checkIn from "./checkIn/index.mjs";
|
|
3
|
+
export * from "./checkIn/types/index.mjs";
|
|
1
4
|
export * from "./orders/client/requests/index.mjs";
|
|
2
5
|
export * as orders from "./orders/index.mjs";
|
|
3
6
|
export * from "./orders/types/index.mjs";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface BusinessEventCheckIn {
|
|
2
|
+
id: string;
|
|
3
|
+
ticket_number: string;
|
|
4
|
+
checked_in_at: string;
|
|
5
|
+
checked_in_by: string;
|
|
6
|
+
user?: BusinessEventCheckIn.User | undefined;
|
|
7
|
+
ticket_type?: BusinessEventCheckIn.TicketType | undefined;
|
|
8
|
+
}
|
|
9
|
+
export declare namespace BusinessEventCheckIn {
|
|
10
|
+
interface User {
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
}
|
|
14
|
+
interface TicketType {
|
|
15
|
+
id: string;
|
|
16
|
+
name: string;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type BusinessEventCheckInStats = unknown[];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface BusinessEventCheckInTicket {
|
|
2
|
+
id: string;
|
|
3
|
+
ticket_number: string;
|
|
4
|
+
status: string;
|
|
5
|
+
used_at: string;
|
|
6
|
+
used_by: string;
|
|
7
|
+
user?: BusinessEventCheckInTicket.User | undefined;
|
|
8
|
+
ticket_type?: BusinessEventCheckInTicket.TicketType | undefined;
|
|
9
|
+
}
|
|
10
|
+
export declare namespace BusinessEventCheckInTicket {
|
|
11
|
+
interface User {
|
|
12
|
+
id: string;
|
|
13
|
+
name: string;
|
|
14
|
+
email: string;
|
|
15
|
+
}
|
|
16
|
+
interface TicketType {
|
|
17
|
+
id: string;
|
|
18
|
+
name: string;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -31,6 +31,9 @@ export * from "./BusinessConversation.mjs";
|
|
|
31
31
|
export * from "./BusinessCuisine.mjs";
|
|
32
32
|
export * from "./BusinessEvent.mjs";
|
|
33
33
|
export * from "./BusinessEventAttendee.mjs";
|
|
34
|
+
export * from "./BusinessEventCheckIn.mjs";
|
|
35
|
+
export * from "./BusinessEventCheckInStats.mjs";
|
|
36
|
+
export * from "./BusinessEventCheckInTicket.mjs";
|
|
34
37
|
export * from "./BusinessEventOrder.mjs";
|
|
35
38
|
export * from "./BusinessEventOrderDetail.mjs";
|
|
36
39
|
export * from "./BusinessEventRsvp.mjs";
|
|
@@ -31,6 +31,9 @@ export * from "./BusinessConversation.mjs";
|
|
|
31
31
|
export * from "./BusinessCuisine.mjs";
|
|
32
32
|
export * from "./BusinessEvent.mjs";
|
|
33
33
|
export * from "./BusinessEventAttendee.mjs";
|
|
34
|
+
export * from "./BusinessEventCheckIn.mjs";
|
|
35
|
+
export * from "./BusinessEventCheckInStats.mjs";
|
|
36
|
+
export * from "./BusinessEventCheckInTicket.mjs";
|
|
34
37
|
export * from "./BusinessEventOrder.mjs";
|
|
35
38
|
export * from "./BusinessEventOrderDetail.mjs";
|
|
36
39
|
export * from "./BusinessEventRsvp.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.36";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.0.
|
|
1
|
+
export const SDK_VERSION = "0.0.36";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@51eat/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.36",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -275,6 +275,17 @@
|
|
|
275
275
|
},
|
|
276
276
|
"default": "./dist/cjs/api/resources/business/resources/events/resources/orders/exports.js"
|
|
277
277
|
},
|
|
278
|
+
"./business/events/checkIn": {
|
|
279
|
+
"import": {
|
|
280
|
+
"types": "./dist/esm/api/resources/business/resources/events/resources/checkIn/exports.d.mts",
|
|
281
|
+
"default": "./dist/esm/api/resources/business/resources/events/resources/checkIn/exports.mjs"
|
|
282
|
+
},
|
|
283
|
+
"require": {
|
|
284
|
+
"types": "./dist/cjs/api/resources/business/resources/events/resources/checkIn/exports.d.ts",
|
|
285
|
+
"default": "./dist/cjs/api/resources/business/resources/events/resources/checkIn/exports.js"
|
|
286
|
+
},
|
|
287
|
+
"default": "./dist/cjs/api/resources/business/resources/events/resources/checkIn/exports.js"
|
|
288
|
+
},
|
|
278
289
|
"./business/menus/groups": {
|
|
279
290
|
"import": {
|
|
280
291
|
"types": "./dist/esm/api/resources/business/resources/menus/resources/groups/exports.d.mts",
|
package/reference.md
CHANGED
|
@@ -4174,6 +4174,275 @@ await client.business.events.orders.get({
|
|
|
4174
4174
|
</dl>
|
|
4175
4175
|
|
|
4176
4176
|
|
|
4177
|
+
</dd>
|
|
4178
|
+
</dl>
|
|
4179
|
+
</details>
|
|
4180
|
+
|
|
4181
|
+
## Business Events CheckIn
|
|
4182
|
+
<details><summary><code>client.business.events.checkIn.<a href="/src/api/resources/business/resources/events/resources/checkIn/client/Client.ts">lookup</a>({ ...params }) -> FiveOneEat.LookupCheckInResponse</code></summary>
|
|
4183
|
+
<dl>
|
|
4184
|
+
<dd>
|
|
4185
|
+
|
|
4186
|
+
#### 📝 Description
|
|
4187
|
+
|
|
4188
|
+
<dl>
|
|
4189
|
+
<dd>
|
|
4190
|
+
|
|
4191
|
+
<dl>
|
|
4192
|
+
<dd>
|
|
4193
|
+
|
|
4194
|
+
Decodes the base64 QR payload and returns ticket details without performing check-in.
|
|
4195
|
+
Accepts either a `ticket_id` or `ticket_number` inside the QR payload.
|
|
4196
|
+
</dd>
|
|
4197
|
+
</dl>
|
|
4198
|
+
</dd>
|
|
4199
|
+
</dl>
|
|
4200
|
+
|
|
4201
|
+
#### 🔌 Usage
|
|
4202
|
+
|
|
4203
|
+
<dl>
|
|
4204
|
+
<dd>
|
|
4205
|
+
|
|
4206
|
+
<dl>
|
|
4207
|
+
<dd>
|
|
4208
|
+
|
|
4209
|
+
```typescript
|
|
4210
|
+
await client.business.events.checkIn.lookup({
|
|
4211
|
+
event: "event",
|
|
4212
|
+
qr_data: "qr_data"
|
|
4213
|
+
});
|
|
4214
|
+
|
|
4215
|
+
```
|
|
4216
|
+
</dd>
|
|
4217
|
+
</dl>
|
|
4218
|
+
</dd>
|
|
4219
|
+
</dl>
|
|
4220
|
+
|
|
4221
|
+
#### ⚙️ Parameters
|
|
4222
|
+
|
|
4223
|
+
<dl>
|
|
4224
|
+
<dd>
|
|
4225
|
+
|
|
4226
|
+
<dl>
|
|
4227
|
+
<dd>
|
|
4228
|
+
|
|
4229
|
+
**request:** `FiveOneEat.business.events.LookupTicketRequest`
|
|
4230
|
+
|
|
4231
|
+
</dd>
|
|
4232
|
+
</dl>
|
|
4233
|
+
|
|
4234
|
+
<dl>
|
|
4235
|
+
<dd>
|
|
4236
|
+
|
|
4237
|
+
**requestOptions:** `CheckInClient.RequestOptions`
|
|
4238
|
+
|
|
4239
|
+
</dd>
|
|
4240
|
+
</dl>
|
|
4241
|
+
</dd>
|
|
4242
|
+
</dl>
|
|
4243
|
+
|
|
4244
|
+
|
|
4245
|
+
</dd>
|
|
4246
|
+
</dl>
|
|
4247
|
+
</details>
|
|
4248
|
+
|
|
4249
|
+
<details><summary><code>client.business.events.checkIn.<a href="/src/api/resources/business/resources/events/resources/checkIn/client/Client.ts">scan</a>({ ...params }) -> FiveOneEat.ScanCheckInResponse</code></summary>
|
|
4250
|
+
<dl>
|
|
4251
|
+
<dd>
|
|
4252
|
+
|
|
4253
|
+
#### 📝 Description
|
|
4254
|
+
|
|
4255
|
+
<dl>
|
|
4256
|
+
<dd>
|
|
4257
|
+
|
|
4258
|
+
<dl>
|
|
4259
|
+
<dd>
|
|
4260
|
+
|
|
4261
|
+
Decodes the base64 QR payload, validates the ticket's current status, marks it as used,
|
|
4262
|
+
and broadcasts the `ticket.checked-in` event via Reverb.
|
|
4263
|
+
|
|
4264
|
+
Returns `409` if the ticket has already been checked in, `400` for refunded or otherwise
|
|
4265
|
+
invalid tickets.
|
|
4266
|
+
</dd>
|
|
4267
|
+
</dl>
|
|
4268
|
+
</dd>
|
|
4269
|
+
</dl>
|
|
4270
|
+
|
|
4271
|
+
#### 🔌 Usage
|
|
4272
|
+
|
|
4273
|
+
<dl>
|
|
4274
|
+
<dd>
|
|
4275
|
+
|
|
4276
|
+
<dl>
|
|
4277
|
+
<dd>
|
|
4278
|
+
|
|
4279
|
+
```typescript
|
|
4280
|
+
await client.business.events.checkIn.scan({
|
|
4281
|
+
event: "event",
|
|
4282
|
+
qr_data: "qr_data"
|
|
4283
|
+
});
|
|
4284
|
+
|
|
4285
|
+
```
|
|
4286
|
+
</dd>
|
|
4287
|
+
</dl>
|
|
4288
|
+
</dd>
|
|
4289
|
+
</dl>
|
|
4290
|
+
|
|
4291
|
+
#### ⚙️ Parameters
|
|
4292
|
+
|
|
4293
|
+
<dl>
|
|
4294
|
+
<dd>
|
|
4295
|
+
|
|
4296
|
+
<dl>
|
|
4297
|
+
<dd>
|
|
4298
|
+
|
|
4299
|
+
**request:** `FiveOneEat.business.events.ScanTicketRequest`
|
|
4300
|
+
|
|
4301
|
+
</dd>
|
|
4302
|
+
</dl>
|
|
4303
|
+
|
|
4304
|
+
<dl>
|
|
4305
|
+
<dd>
|
|
4306
|
+
|
|
4307
|
+
**requestOptions:** `CheckInClient.RequestOptions`
|
|
4308
|
+
|
|
4309
|
+
</dd>
|
|
4310
|
+
</dl>
|
|
4311
|
+
</dd>
|
|
4312
|
+
</dl>
|
|
4313
|
+
|
|
4314
|
+
|
|
4315
|
+
</dd>
|
|
4316
|
+
</dl>
|
|
4317
|
+
</details>
|
|
4318
|
+
|
|
4319
|
+
<details><summary><code>client.business.events.checkIn.<a href="/src/api/resources/business/resources/events/resources/checkIn/client/Client.ts">stats</a>({ ...params }) -> FiveOneEat.StatsCheckInResponse</code></summary>
|
|
4320
|
+
<dl>
|
|
4321
|
+
<dd>
|
|
4322
|
+
|
|
4323
|
+
#### 📝 Description
|
|
4324
|
+
|
|
4325
|
+
<dl>
|
|
4326
|
+
<dd>
|
|
4327
|
+
|
|
4328
|
+
<dl>
|
|
4329
|
+
<dd>
|
|
4330
|
+
|
|
4331
|
+
Returns ticket counts and check-in rate for the event dashboard.
|
|
4332
|
+
</dd>
|
|
4333
|
+
</dl>
|
|
4334
|
+
</dd>
|
|
4335
|
+
</dl>
|
|
4336
|
+
|
|
4337
|
+
#### 🔌 Usage
|
|
4338
|
+
|
|
4339
|
+
<dl>
|
|
4340
|
+
<dd>
|
|
4341
|
+
|
|
4342
|
+
<dl>
|
|
4343
|
+
<dd>
|
|
4344
|
+
|
|
4345
|
+
```typescript
|
|
4346
|
+
await client.business.events.checkIn.stats({
|
|
4347
|
+
event: "event"
|
|
4348
|
+
});
|
|
4349
|
+
|
|
4350
|
+
```
|
|
4351
|
+
</dd>
|
|
4352
|
+
</dl>
|
|
4353
|
+
</dd>
|
|
4354
|
+
</dl>
|
|
4355
|
+
|
|
4356
|
+
#### ⚙️ Parameters
|
|
4357
|
+
|
|
4358
|
+
<dl>
|
|
4359
|
+
<dd>
|
|
4360
|
+
|
|
4361
|
+
<dl>
|
|
4362
|
+
<dd>
|
|
4363
|
+
|
|
4364
|
+
**request:** `FiveOneEat.business.events.StatsCheckInRequest`
|
|
4365
|
+
|
|
4366
|
+
</dd>
|
|
4367
|
+
</dl>
|
|
4368
|
+
|
|
4369
|
+
<dl>
|
|
4370
|
+
<dd>
|
|
4371
|
+
|
|
4372
|
+
**requestOptions:** `CheckInClient.RequestOptions`
|
|
4373
|
+
|
|
4374
|
+
</dd>
|
|
4375
|
+
</dl>
|
|
4376
|
+
</dd>
|
|
4377
|
+
</dl>
|
|
4378
|
+
|
|
4379
|
+
|
|
4380
|
+
</dd>
|
|
4381
|
+
</dl>
|
|
4382
|
+
</details>
|
|
4383
|
+
|
|
4384
|
+
<details><summary><code>client.business.events.checkIn.<a href="/src/api/resources/business/resources/events/resources/checkIn/client/Client.ts">recent</a>({ ...params }) -> FiveOneEat.RecentCheckInResponse</code></summary>
|
|
4385
|
+
<dl>
|
|
4386
|
+
<dd>
|
|
4387
|
+
|
|
4388
|
+
#### 📝 Description
|
|
4389
|
+
|
|
4390
|
+
<dl>
|
|
4391
|
+
<dd>
|
|
4392
|
+
|
|
4393
|
+
<dl>
|
|
4394
|
+
<dd>
|
|
4395
|
+
|
|
4396
|
+
Returns checked-in tickets ordered by check-in time descending.
|
|
4397
|
+
Accepts an optional `limit` query param (default `20`, max `100`).
|
|
4398
|
+
</dd>
|
|
4399
|
+
</dl>
|
|
4400
|
+
</dd>
|
|
4401
|
+
</dl>
|
|
4402
|
+
|
|
4403
|
+
#### 🔌 Usage
|
|
4404
|
+
|
|
4405
|
+
<dl>
|
|
4406
|
+
<dd>
|
|
4407
|
+
|
|
4408
|
+
<dl>
|
|
4409
|
+
<dd>
|
|
4410
|
+
|
|
4411
|
+
```typescript
|
|
4412
|
+
await client.business.events.checkIn.recent({
|
|
4413
|
+
event: "event"
|
|
4414
|
+
});
|
|
4415
|
+
|
|
4416
|
+
```
|
|
4417
|
+
</dd>
|
|
4418
|
+
</dl>
|
|
4419
|
+
</dd>
|
|
4420
|
+
</dl>
|
|
4421
|
+
|
|
4422
|
+
#### ⚙️ Parameters
|
|
4423
|
+
|
|
4424
|
+
<dl>
|
|
4425
|
+
<dd>
|
|
4426
|
+
|
|
4427
|
+
<dl>
|
|
4428
|
+
<dd>
|
|
4429
|
+
|
|
4430
|
+
**request:** `FiveOneEat.business.events.RecentCheckInRequest`
|
|
4431
|
+
|
|
4432
|
+
</dd>
|
|
4433
|
+
</dl>
|
|
4434
|
+
|
|
4435
|
+
<dl>
|
|
4436
|
+
<dd>
|
|
4437
|
+
|
|
4438
|
+
**requestOptions:** `CheckInClient.RequestOptions`
|
|
4439
|
+
|
|
4440
|
+
</dd>
|
|
4441
|
+
</dl>
|
|
4442
|
+
</dd>
|
|
4443
|
+
</dl>
|
|
4444
|
+
|
|
4445
|
+
|
|
4177
4446
|
</dd>
|
|
4178
4447
|
</dl>
|
|
4179
4448
|
</details>
|