@51eat/sdk 0.0.4

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.
Files changed (3) hide show
  1. package/README.md +306 -0
  2. package/package.json +168 -0
  3. package/reference.md +2928 -0
package/reference.md ADDED
@@ -0,0 +1,2928 @@
1
+ # Reference
2
+ <details><summary><code>client.<a href="/src/Client.ts">search</a>({ ...params }) -> FiveOneEat.SearchResponse</code></summary>
3
+ <dl>
4
+ <dd>
5
+
6
+ #### 📝 Description
7
+
8
+ <dl>
9
+ <dd>
10
+
11
+ <dl>
12
+ <dd>
13
+
14
+ Returns grouped results for each type. Use per_type to control how many results
15
+ appear per section. Optionally filter by category, city, or geo radius.
16
+ </dd>
17
+ </dl>
18
+ </dd>
19
+ </dl>
20
+
21
+ #### 🔌 Usage
22
+
23
+ <dl>
24
+ <dd>
25
+
26
+ <dl>
27
+ <dd>
28
+
29
+ ```typescript
30
+ await client.search({
31
+ q: "wings",
32
+ category: "restaurant",
33
+ city: "Buffalo",
34
+ cuisines: "italian,mexican",
35
+ certifications: "kosher,halal"
36
+ });
37
+
38
+ ```
39
+ </dd>
40
+ </dl>
41
+ </dd>
42
+ </dl>
43
+
44
+ #### ⚙️ Parameters
45
+
46
+ <dl>
47
+ <dd>
48
+
49
+ <dl>
50
+ <dd>
51
+
52
+ **request:** `FiveOneEat.SearchRequest`
53
+
54
+ </dd>
55
+ </dl>
56
+
57
+ <dl>
58
+ <dd>
59
+
60
+ **requestOptions:** `FiveOneEatClient.RequestOptions`
61
+
62
+ </dd>
63
+ </dl>
64
+ </dd>
65
+ </dl>
66
+
67
+
68
+ </dd>
69
+ </dl>
70
+ </details>
71
+
72
+ ## Authentication
73
+ <details><summary><code>client.authentication.<a href="/src/api/resources/authentication/client/Client.ts">registerCustomer</a>({ ...params }) -> FiveOneEat.RegisterCustomerResponse</code></summary>
74
+ <dl>
75
+ <dd>
76
+
77
+ #### 📝 Description
78
+
79
+ <dl>
80
+ <dd>
81
+
82
+ <dl>
83
+ <dd>
84
+
85
+ Create a new customer account and return an API token for immediate authentication.
86
+ </dd>
87
+ </dl>
88
+ </dd>
89
+ </dl>
90
+
91
+ #### 🔌 Usage
92
+
93
+ <dl>
94
+ <dd>
95
+
96
+ <dl>
97
+ <dd>
98
+
99
+ ```typescript
100
+ await client.authentication.registerCustomer({
101
+ name: "name",
102
+ email: "email",
103
+ password: "password",
104
+ device_name: "device_name",
105
+ password_confirmation: "password_confirmation"
106
+ });
107
+
108
+ ```
109
+ </dd>
110
+ </dl>
111
+ </dd>
112
+ </dl>
113
+
114
+ #### ⚙️ Parameters
115
+
116
+ <dl>
117
+ <dd>
118
+
119
+ <dl>
120
+ <dd>
121
+
122
+ **request:** `FiveOneEat.RegisterCustomerRequest`
123
+
124
+ </dd>
125
+ </dl>
126
+
127
+ <dl>
128
+ <dd>
129
+
130
+ **requestOptions:** `AuthenticationClient.RequestOptions`
131
+
132
+ </dd>
133
+ </dl>
134
+ </dd>
135
+ </dl>
136
+
137
+
138
+ </dd>
139
+ </dl>
140
+ </details>
141
+
142
+ <details><summary><code>client.authentication.<a href="/src/api/resources/authentication/client/Client.ts">loginCustomer</a>({ ...params }) -> FiveOneEat.LoginCustomerResponse</code></summary>
143
+ <dl>
144
+ <dd>
145
+
146
+ #### 📝 Description
147
+
148
+ <dl>
149
+ <dd>
150
+
151
+ <dl>
152
+ <dd>
153
+
154
+ Exchange user credentials for an API token that can be used for subsequent authenticated requests.
155
+ </dd>
156
+ </dl>
157
+ </dd>
158
+ </dl>
159
+
160
+ #### 🔌 Usage
161
+
162
+ <dl>
163
+ <dd>
164
+
165
+ <dl>
166
+ <dd>
167
+
168
+ ```typescript
169
+ await client.authentication.loginCustomer({
170
+ email: "email",
171
+ password: "password",
172
+ device_name: "device_name"
173
+ });
174
+
175
+ ```
176
+ </dd>
177
+ </dl>
178
+ </dd>
179
+ </dl>
180
+
181
+ #### ⚙️ Parameters
182
+
183
+ <dl>
184
+ <dd>
185
+
186
+ <dl>
187
+ <dd>
188
+
189
+ **request:** `FiveOneEat.LoginCustomerRequest`
190
+
191
+ </dd>
192
+ </dl>
193
+
194
+ <dl>
195
+ <dd>
196
+
197
+ **requestOptions:** `AuthenticationClient.RequestOptions`
198
+
199
+ </dd>
200
+ </dl>
201
+ </dd>
202
+ </dl>
203
+
204
+
205
+ </dd>
206
+ </dl>
207
+ </details>
208
+
209
+ <details><summary><code>client.authentication.<a href="/src/api/resources/authentication/client/Client.ts">getCurrentUser</a>() -> FiveOneEat.GetCurrentUserResponse</code></summary>
210
+ <dl>
211
+ <dd>
212
+
213
+ #### 📝 Description
214
+
215
+ <dl>
216
+ <dd>
217
+
218
+ <dl>
219
+ <dd>
220
+
221
+ Retrieve the current authenticated user's profile information.
222
+ </dd>
223
+ </dl>
224
+ </dd>
225
+ </dl>
226
+
227
+ #### 🔌 Usage
228
+
229
+ <dl>
230
+ <dd>
231
+
232
+ <dl>
233
+ <dd>
234
+
235
+ ```typescript
236
+ await client.authentication.getCurrentUser();
237
+
238
+ ```
239
+ </dd>
240
+ </dl>
241
+ </dd>
242
+ </dl>
243
+
244
+ #### ⚙️ Parameters
245
+
246
+ <dl>
247
+ <dd>
248
+
249
+ <dl>
250
+ <dd>
251
+
252
+ **requestOptions:** `AuthenticationClient.RequestOptions`
253
+
254
+ </dd>
255
+ </dl>
256
+ </dd>
257
+ </dl>
258
+
259
+
260
+ </dd>
261
+ </dl>
262
+ </details>
263
+
264
+ <details><summary><code>client.authentication.<a href="/src/api/resources/authentication/client/Client.ts">logoutCurrent</a>() -> FiveOneEat.LogoutCurrentResponse</code></summary>
265
+ <dl>
266
+ <dd>
267
+
268
+ #### 📝 Description
269
+
270
+ <dl>
271
+ <dd>
272
+
273
+ <dl>
274
+ <dd>
275
+
276
+ Revoke the current API token and log out the user.
277
+ </dd>
278
+ </dl>
279
+ </dd>
280
+ </dl>
281
+
282
+ #### 🔌 Usage
283
+
284
+ <dl>
285
+ <dd>
286
+
287
+ <dl>
288
+ <dd>
289
+
290
+ ```typescript
291
+ await client.authentication.logoutCurrent();
292
+
293
+ ```
294
+ </dd>
295
+ </dl>
296
+ </dd>
297
+ </dl>
298
+
299
+ #### ⚙️ Parameters
300
+
301
+ <dl>
302
+ <dd>
303
+
304
+ <dl>
305
+ <dd>
306
+
307
+ **requestOptions:** `AuthenticationClient.RequestOptions`
308
+
309
+ </dd>
310
+ </dl>
311
+ </dd>
312
+ </dl>
313
+
314
+
315
+ </dd>
316
+ </dl>
317
+ </details>
318
+
319
+ <details><summary><code>client.authentication.<a href="/src/api/resources/authentication/client/Client.ts">logoutAll</a>() -> FiveOneEat.LogoutAllResponse</code></summary>
320
+ <dl>
321
+ <dd>
322
+
323
+ #### 📝 Description
324
+
325
+ <dl>
326
+ <dd>
327
+
328
+ <dl>
329
+ <dd>
330
+
331
+ Revoke all API tokens for the authenticated user.
332
+ </dd>
333
+ </dl>
334
+ </dd>
335
+ </dl>
336
+
337
+ #### 🔌 Usage
338
+
339
+ <dl>
340
+ <dd>
341
+
342
+ <dl>
343
+ <dd>
344
+
345
+ ```typescript
346
+ await client.authentication.logoutAll();
347
+
348
+ ```
349
+ </dd>
350
+ </dl>
351
+ </dd>
352
+ </dl>
353
+
354
+ #### ⚙️ Parameters
355
+
356
+ <dl>
357
+ <dd>
358
+
359
+ <dl>
360
+ <dd>
361
+
362
+ **requestOptions:** `AuthenticationClient.RequestOptions`
363
+
364
+ </dd>
365
+ </dl>
366
+ </dd>
367
+ </dl>
368
+
369
+
370
+ </dd>
371
+ </dl>
372
+ </details>
373
+
374
+ <details><summary><code>client.authentication.<a href="/src/api/resources/authentication/client/Client.ts">getUserTokens</a>() -> FiveOneEat.GetUserTokensResponse</code></summary>
375
+ <dl>
376
+ <dd>
377
+
378
+ #### 📝 Description
379
+
380
+ <dl>
381
+ <dd>
382
+
383
+ <dl>
384
+ <dd>
385
+
386
+ Retrieve a list of all API tokens for the authenticated user.
387
+ </dd>
388
+ </dl>
389
+ </dd>
390
+ </dl>
391
+
392
+ #### 🔌 Usage
393
+
394
+ <dl>
395
+ <dd>
396
+
397
+ <dl>
398
+ <dd>
399
+
400
+ ```typescript
401
+ await client.authentication.getUserTokens();
402
+
403
+ ```
404
+ </dd>
405
+ </dl>
406
+ </dd>
407
+ </dl>
408
+
409
+ #### ⚙️ Parameters
410
+
411
+ <dl>
412
+ <dd>
413
+
414
+ <dl>
415
+ <dd>
416
+
417
+ **requestOptions:** `AuthenticationClient.RequestOptions`
418
+
419
+ </dd>
420
+ </dl>
421
+ </dd>
422
+ </dl>
423
+
424
+
425
+ </dd>
426
+ </dl>
427
+ </details>
428
+
429
+ <details><summary><code>client.authentication.<a href="/src/api/resources/authentication/client/Client.ts">revokeToken</a>({ ...params }) -> FiveOneEat.RevokeTokenResponse</code></summary>
430
+ <dl>
431
+ <dd>
432
+
433
+ #### 📝 Description
434
+
435
+ <dl>
436
+ <dd>
437
+
438
+ <dl>
439
+ <dd>
440
+
441
+ Delete a specific API token by its ID.
442
+ </dd>
443
+ </dl>
444
+ </dd>
445
+ </dl>
446
+
447
+ #### 🔌 Usage
448
+
449
+ <dl>
450
+ <dd>
451
+
452
+ <dl>
453
+ <dd>
454
+
455
+ ```typescript
456
+ await client.authentication.revokeToken({
457
+ token: "token"
458
+ });
459
+
460
+ ```
461
+ </dd>
462
+ </dl>
463
+ </dd>
464
+ </dl>
465
+
466
+ #### ⚙️ Parameters
467
+
468
+ <dl>
469
+ <dd>
470
+
471
+ <dl>
472
+ <dd>
473
+
474
+ **request:** `FiveOneEat.RevokeTokenRequest`
475
+
476
+ </dd>
477
+ </dl>
478
+
479
+ <dl>
480
+ <dd>
481
+
482
+ **requestOptions:** `AuthenticationClient.RequestOptions`
483
+
484
+ </dd>
485
+ </dl>
486
+ </dd>
487
+ </dl>
488
+
489
+
490
+ </dd>
491
+ </dl>
492
+ </details>
493
+
494
+ ## Broadcasting
495
+ <details><summary><code>client.broadcasting.<a href="/src/api/resources/broadcasting/client/Client.ts">channelAuthAuthenticate</a>({ ...params }) -> number</code></summary>
496
+ <dl>
497
+ <dd>
498
+
499
+ #### 📝 Description
500
+
501
+ <dl>
502
+ <dd>
503
+
504
+ <dl>
505
+ <dd>
506
+
507
+ This endpoint is used by the mobile app to authenticate with Pusher channels.
508
+ It validates that the user has permission to access the requested channel.
509
+ </dd>
510
+ </dl>
511
+ </dd>
512
+ </dl>
513
+
514
+ #### 🔌 Usage
515
+
516
+ <dl>
517
+ <dd>
518
+
519
+ <dl>
520
+ <dd>
521
+
522
+ ```typescript
523
+ await client.broadcasting.channelAuthAuthenticate({
524
+ channel_name: "channel_name",
525
+ socket_id: "socket_id"
526
+ });
527
+
528
+ ```
529
+ </dd>
530
+ </dl>
531
+ </dd>
532
+ </dl>
533
+
534
+ #### ⚙️ Parameters
535
+
536
+ <dl>
537
+ <dd>
538
+
539
+ <dl>
540
+ <dd>
541
+
542
+ **request:** `FiveOneEat.ChannelAuthAuthenticateRequest`
543
+
544
+ </dd>
545
+ </dl>
546
+
547
+ <dl>
548
+ <dd>
549
+
550
+ **requestOptions:** `BroadcastingClient.RequestOptions`
551
+
552
+ </dd>
553
+ </dl>
554
+ </dd>
555
+ </dl>
556
+
557
+
558
+ </dd>
559
+ </dl>
560
+ </details>
561
+
562
+ ## Business Content
563
+ <details><summary><code>client.businessContent.<a href="/src/api/resources/businessContent/client/Client.ts">getBusinessMenus</a>({ ...params }) -> FiveOneEat.GetBusinessMenusResponse</code></summary>
564
+ <dl>
565
+ <dd>
566
+
567
+ #### 📝 Description
568
+
569
+ <dl>
570
+ <dd>
571
+
572
+ <dl>
573
+ <dd>
574
+
575
+ Retrieve all menus organized by groups for the business.
576
+ </dd>
577
+ </dl>
578
+ </dd>
579
+ </dl>
580
+
581
+ #### 🔌 Usage
582
+
583
+ <dl>
584
+ <dd>
585
+
586
+ <dl>
587
+ <dd>
588
+
589
+ ```typescript
590
+ await client.businessContent.getBusinessMenus({
591
+ handle: "katzs-deli"
592
+ });
593
+
594
+ ```
595
+ </dd>
596
+ </dl>
597
+ </dd>
598
+ </dl>
599
+
600
+ #### ⚙️ Parameters
601
+
602
+ <dl>
603
+ <dd>
604
+
605
+ <dl>
606
+ <dd>
607
+
608
+ **request:** `FiveOneEat.GetBusinessMenusRequest`
609
+
610
+ </dd>
611
+ </dl>
612
+
613
+ <dl>
614
+ <dd>
615
+
616
+ **requestOptions:** `BusinessContentClient.RequestOptions`
617
+
618
+ </dd>
619
+ </dl>
620
+ </dd>
621
+ </dl>
622
+
623
+
624
+ </dd>
625
+ </dl>
626
+ </details>
627
+
628
+ <details><summary><code>client.businessContent.<a href="/src/api/resources/businessContent/client/Client.ts">getBusinessPhotos</a>({ ...params }) -> FiveOneEat.GetBusinessPhotosResponse</code></summary>
629
+ <dl>
630
+ <dd>
631
+
632
+ #### 📝 Description
633
+
634
+ <dl>
635
+ <dd>
636
+
637
+ <dl>
638
+ <dd>
639
+
640
+ Retrieve photo gallery for the business with pagination.
641
+ </dd>
642
+ </dl>
643
+ </dd>
644
+ </dl>
645
+
646
+ #### 🔌 Usage
647
+
648
+ <dl>
649
+ <dd>
650
+
651
+ <dl>
652
+ <dd>
653
+
654
+ ```typescript
655
+ await client.businessContent.getBusinessPhotos({
656
+ handle: "katzs-deli"
657
+ });
658
+
659
+ ```
660
+ </dd>
661
+ </dl>
662
+ </dd>
663
+ </dl>
664
+
665
+ #### ⚙️ Parameters
666
+
667
+ <dl>
668
+ <dd>
669
+
670
+ <dl>
671
+ <dd>
672
+
673
+ **request:** `FiveOneEat.GetBusinessPhotosRequest`
674
+
675
+ </dd>
676
+ </dl>
677
+
678
+ <dl>
679
+ <dd>
680
+
681
+ **requestOptions:** `BusinessContentClient.RequestOptions`
682
+
683
+ </dd>
684
+ </dl>
685
+ </dd>
686
+ </dl>
687
+
688
+
689
+ </dd>
690
+ </dl>
691
+ </details>
692
+
693
+ <details><summary><code>client.businessContent.<a href="/src/api/resources/businessContent/client/Client.ts">getBusinessBulletins</a>({ ...params }) -> FiveOneEat.GetBusinessBulletinsResponse</code></summary>
694
+ <dl>
695
+ <dd>
696
+
697
+ #### 📝 Description
698
+
699
+ <dl>
700
+ <dd>
701
+
702
+ <dl>
703
+ <dd>
704
+
705
+ Retrieve business announcements and updates with pagination.
706
+ </dd>
707
+ </dl>
708
+ </dd>
709
+ </dl>
710
+
711
+ #### 🔌 Usage
712
+
713
+ <dl>
714
+ <dd>
715
+
716
+ <dl>
717
+ <dd>
718
+
719
+ ```typescript
720
+ await client.businessContent.getBusinessBulletins({
721
+ handle: "katzs-deli"
722
+ });
723
+
724
+ ```
725
+ </dd>
726
+ </dl>
727
+ </dd>
728
+ </dl>
729
+
730
+ #### ⚙️ Parameters
731
+
732
+ <dl>
733
+ <dd>
734
+
735
+ <dl>
736
+ <dd>
737
+
738
+ **request:** `FiveOneEat.GetBusinessBulletinsRequest`
739
+
740
+ </dd>
741
+ </dl>
742
+
743
+ <dl>
744
+ <dd>
745
+
746
+ **requestOptions:** `BusinessContentClient.RequestOptions`
747
+
748
+ </dd>
749
+ </dl>
750
+ </dd>
751
+ </dl>
752
+
753
+
754
+ </dd>
755
+ </dl>
756
+ </details>
757
+
758
+ <details><summary><code>client.businessContent.<a href="/src/api/resources/businessContent/client/Client.ts">getBulletinComments</a>({ ...params }) -> FiveOneEat.GetBulletinCommentsResponse</code></summary>
759
+ <dl>
760
+ <dd>
761
+
762
+ #### 📝 Description
763
+
764
+ <dl>
765
+ <dd>
766
+
767
+ <dl>
768
+ <dd>
769
+
770
+ Retrieve paginated comments for a published business bulletin.
771
+ </dd>
772
+ </dl>
773
+ </dd>
774
+ </dl>
775
+
776
+ #### 🔌 Usage
777
+
778
+ <dl>
779
+ <dd>
780
+
781
+ <dl>
782
+ <dd>
783
+
784
+ ```typescript
785
+ await client.businessContent.getBulletinComments({
786
+ handle: "katzs-deli",
787
+ bulletin: "01950e7d-1234-7000-abcd-ef0123456789"
788
+ });
789
+
790
+ ```
791
+ </dd>
792
+ </dl>
793
+ </dd>
794
+ </dl>
795
+
796
+ #### ⚙️ Parameters
797
+
798
+ <dl>
799
+ <dd>
800
+
801
+ <dl>
802
+ <dd>
803
+
804
+ **request:** `FiveOneEat.GetBulletinCommentsRequest`
805
+
806
+ </dd>
807
+ </dl>
808
+
809
+ <dl>
810
+ <dd>
811
+
812
+ **requestOptions:** `BusinessContentClient.RequestOptions`
813
+
814
+ </dd>
815
+ </dl>
816
+ </dd>
817
+ </dl>
818
+
819
+
820
+ </dd>
821
+ </dl>
822
+ </details>
823
+
824
+ <details><summary><code>client.businessContent.<a href="/src/api/resources/businessContent/client/Client.ts">createBulletinComment</a>({ ...params }) -> FiveOneEat.CreateBulletinCommentResponse</code></summary>
825
+ <dl>
826
+ <dd>
827
+
828
+ #### 📝 Description
829
+
830
+ <dl>
831
+ <dd>
832
+
833
+ <dl>
834
+ <dd>
835
+
836
+ Post a comment on a business bulletin. Requires authentication.
837
+ </dd>
838
+ </dl>
839
+ </dd>
840
+ </dl>
841
+
842
+ #### 🔌 Usage
843
+
844
+ <dl>
845
+ <dd>
846
+
847
+ <dl>
848
+ <dd>
849
+
850
+ ```typescript
851
+ await client.businessContent.createBulletinComment({
852
+ handle: "katzs-deli",
853
+ bulletin: "01950e7d-1234-7000-abcd-ef0123456789",
854
+ body: "body"
855
+ });
856
+
857
+ ```
858
+ </dd>
859
+ </dl>
860
+ </dd>
861
+ </dl>
862
+
863
+ #### ⚙️ Parameters
864
+
865
+ <dl>
866
+ <dd>
867
+
868
+ <dl>
869
+ <dd>
870
+
871
+ **request:** `FiveOneEat.StoreBulletinCommentRequest`
872
+
873
+ </dd>
874
+ </dl>
875
+
876
+ <dl>
877
+ <dd>
878
+
879
+ **requestOptions:** `BusinessContentClient.RequestOptions`
880
+
881
+ </dd>
882
+ </dl>
883
+ </dd>
884
+ </dl>
885
+
886
+
887
+ </dd>
888
+ </dl>
889
+ </details>
890
+
891
+ <details><summary><code>client.businessContent.<a href="/src/api/resources/businessContent/client/Client.ts">getBusinessEvents</a>({ ...params }) -> FiveOneEat.GetBusinessEventsResponse</code></summary>
892
+ <dl>
893
+ <dd>
894
+
895
+ #### 📝 Description
896
+
897
+ <dl>
898
+ <dd>
899
+
900
+ <dl>
901
+ <dd>
902
+
903
+ Retrieve upcoming events for the business with pagination.
904
+ </dd>
905
+ </dl>
906
+ </dd>
907
+ </dl>
908
+
909
+ #### 🔌 Usage
910
+
911
+ <dl>
912
+ <dd>
913
+
914
+ <dl>
915
+ <dd>
916
+
917
+ ```typescript
918
+ await client.businessContent.getBusinessEvents({
919
+ handle: "katzs-deli"
920
+ });
921
+
922
+ ```
923
+ </dd>
924
+ </dl>
925
+ </dd>
926
+ </dl>
927
+
928
+ #### ⚙️ Parameters
929
+
930
+ <dl>
931
+ <dd>
932
+
933
+ <dl>
934
+ <dd>
935
+
936
+ **request:** `FiveOneEat.GetBusinessEventsRequest`
937
+
938
+ </dd>
939
+ </dl>
940
+
941
+ <dl>
942
+ <dd>
943
+
944
+ **requestOptions:** `BusinessContentClient.RequestOptions`
945
+
946
+ </dd>
947
+ </dl>
948
+ </dd>
949
+ </dl>
950
+
951
+
952
+ </dd>
953
+ </dl>
954
+ </details>
955
+
956
+ <details><summary><code>client.businessContent.<a href="/src/api/resources/businessContent/client/Client.ts">getBusinessEvent</a>({ ...params }) -> FiveOneEat.GetBusinessEventResponse</code></summary>
957
+ <dl>
958
+ <dd>
959
+
960
+ #### 📝 Description
961
+
962
+ <dl>
963
+ <dd>
964
+
965
+ <dl>
966
+ <dd>
967
+
968
+ Retrieve full details for a single upcoming event belonging to the business.
969
+ </dd>
970
+ </dl>
971
+ </dd>
972
+ </dl>
973
+
974
+ #### 🔌 Usage
975
+
976
+ <dl>
977
+ <dd>
978
+
979
+ <dl>
980
+ <dd>
981
+
982
+ ```typescript
983
+ await client.businessContent.getBusinessEvent({
984
+ handle: "katzs-deli",
985
+ event: "event"
986
+ });
987
+
988
+ ```
989
+ </dd>
990
+ </dl>
991
+ </dd>
992
+ </dl>
993
+
994
+ #### ⚙️ Parameters
995
+
996
+ <dl>
997
+ <dd>
998
+
999
+ <dl>
1000
+ <dd>
1001
+
1002
+ **request:** `FiveOneEat.GetBusinessEventRequest`
1003
+
1004
+ </dd>
1005
+ </dl>
1006
+
1007
+ <dl>
1008
+ <dd>
1009
+
1010
+ **requestOptions:** `BusinessContentClient.RequestOptions`
1011
+
1012
+ </dd>
1013
+ </dl>
1014
+ </dd>
1015
+ </dl>
1016
+
1017
+
1018
+ </dd>
1019
+ </dl>
1020
+ </details>
1021
+
1022
+ <details><summary><code>client.businessContent.<a href="/src/api/resources/businessContent/client/Client.ts">storeEventRsvp</a>({ ...params }) -> FiveOneEat.StoreEventRsvpResponse</code></summary>
1023
+ <dl>
1024
+ <dd>
1025
+
1026
+ #### 📝 Description
1027
+
1028
+ <dl>
1029
+ <dd>
1030
+
1031
+ <dl>
1032
+ <dd>
1033
+
1034
+ Create or update the authenticated user's RSVP for a business event.
1035
+ </dd>
1036
+ </dl>
1037
+ </dd>
1038
+ </dl>
1039
+
1040
+ #### 🔌 Usage
1041
+
1042
+ <dl>
1043
+ <dd>
1044
+
1045
+ <dl>
1046
+ <dd>
1047
+
1048
+ ```typescript
1049
+ await client.businessContent.storeEventRsvp({
1050
+ handle: "katzs-deli",
1051
+ event: "01950e7d-1234-7000-abcd-ef0123456789",
1052
+ status: "attending"
1053
+ });
1054
+
1055
+ ```
1056
+ </dd>
1057
+ </dl>
1058
+ </dd>
1059
+ </dl>
1060
+
1061
+ #### ⚙️ Parameters
1062
+
1063
+ <dl>
1064
+ <dd>
1065
+
1066
+ <dl>
1067
+ <dd>
1068
+
1069
+ **request:** `FiveOneEat.StoreEventRsvpRequest`
1070
+
1071
+ </dd>
1072
+ </dl>
1073
+
1074
+ <dl>
1075
+ <dd>
1076
+
1077
+ **requestOptions:** `BusinessContentClient.RequestOptions`
1078
+
1079
+ </dd>
1080
+ </dl>
1081
+ </dd>
1082
+ </dl>
1083
+
1084
+
1085
+ </dd>
1086
+ </dl>
1087
+ </details>
1088
+
1089
+ <details><summary><code>client.businessContent.<a href="/src/api/resources/businessContent/client/Client.ts">destroyEventRsvp</a>({ ...params }) -> number</code></summary>
1090
+ <dl>
1091
+ <dd>
1092
+
1093
+ #### 📝 Description
1094
+
1095
+ <dl>
1096
+ <dd>
1097
+
1098
+ <dl>
1099
+ <dd>
1100
+
1101
+ Cancel the authenticated user's RSVP for a business event.
1102
+ </dd>
1103
+ </dl>
1104
+ </dd>
1105
+ </dl>
1106
+
1107
+ #### 🔌 Usage
1108
+
1109
+ <dl>
1110
+ <dd>
1111
+
1112
+ <dl>
1113
+ <dd>
1114
+
1115
+ ```typescript
1116
+ await client.businessContent.destroyEventRsvp({
1117
+ handle: "katzs-deli",
1118
+ event: "01950e7d-1234-7000-abcd-ef0123456789"
1119
+ });
1120
+
1121
+ ```
1122
+ </dd>
1123
+ </dl>
1124
+ </dd>
1125
+ </dl>
1126
+
1127
+ #### ⚙️ Parameters
1128
+
1129
+ <dl>
1130
+ <dd>
1131
+
1132
+ <dl>
1133
+ <dd>
1134
+
1135
+ **request:** `FiveOneEat.DestroyEventRsvpRequest`
1136
+
1137
+ </dd>
1138
+ </dl>
1139
+
1140
+ <dl>
1141
+ <dd>
1142
+
1143
+ **requestOptions:** `BusinessContentClient.RequestOptions`
1144
+
1145
+ </dd>
1146
+ </dl>
1147
+ </dd>
1148
+ </dl>
1149
+
1150
+
1151
+ </dd>
1152
+ </dl>
1153
+ </details>
1154
+
1155
+ ## Business Profiles
1156
+ <details><summary><code>client.businessProfiles.<a href="/src/api/resources/businessProfiles/client/Client.ts">getBusinessProfile</a>({ ...params }) -> FiveOneEat.GetBusinessProfileResponse</code></summary>
1157
+ <dl>
1158
+ <dd>
1159
+
1160
+ #### 📝 Description
1161
+
1162
+ <dl>
1163
+ <dd>
1164
+
1165
+ <dl>
1166
+ <dd>
1167
+
1168
+ Retrieve core business information for the profile page.
1169
+ </dd>
1170
+ </dl>
1171
+ </dd>
1172
+ </dl>
1173
+
1174
+ #### 🔌 Usage
1175
+
1176
+ <dl>
1177
+ <dd>
1178
+
1179
+ <dl>
1180
+ <dd>
1181
+
1182
+ ```typescript
1183
+ await client.businessProfiles.getBusinessProfile({
1184
+ handle: "katzs-deli"
1185
+ });
1186
+
1187
+ ```
1188
+ </dd>
1189
+ </dl>
1190
+ </dd>
1191
+ </dl>
1192
+
1193
+ #### ⚙️ Parameters
1194
+
1195
+ <dl>
1196
+ <dd>
1197
+
1198
+ <dl>
1199
+ <dd>
1200
+
1201
+ **request:** `FiveOneEat.GetBusinessProfileRequest`
1202
+
1203
+ </dd>
1204
+ </dl>
1205
+
1206
+ <dl>
1207
+ <dd>
1208
+
1209
+ **requestOptions:** `BusinessProfilesClient.RequestOptions`
1210
+
1211
+ </dd>
1212
+ </dl>
1213
+ </dd>
1214
+ </dl>
1215
+
1216
+
1217
+ </dd>
1218
+ </dl>
1219
+ </details>
1220
+
1221
+ <details><summary><code>client.businessProfiles.<a href="/src/api/resources/businessProfiles/client/Client.ts">favoritesBusiness</a>({ ...params }) -> FiveOneEat.FavoritesBusinessResponse</code></summary>
1222
+ <dl>
1223
+ <dd>
1224
+
1225
+ #### 📝 Description
1226
+
1227
+ <dl>
1228
+ <dd>
1229
+
1230
+ <dl>
1231
+ <dd>
1232
+
1233
+ Add a business to the authenticated user's favorites.
1234
+ </dd>
1235
+ </dl>
1236
+ </dd>
1237
+ </dl>
1238
+
1239
+ #### 🔌 Usage
1240
+
1241
+ <dl>
1242
+ <dd>
1243
+
1244
+ <dl>
1245
+ <dd>
1246
+
1247
+ ```typescript
1248
+ await client.businessProfiles.favoritesBusiness({
1249
+ handle: "katzs-deli"
1250
+ });
1251
+
1252
+ ```
1253
+ </dd>
1254
+ </dl>
1255
+ </dd>
1256
+ </dl>
1257
+
1258
+ #### ⚙️ Parameters
1259
+
1260
+ <dl>
1261
+ <dd>
1262
+
1263
+ <dl>
1264
+ <dd>
1265
+
1266
+ **request:** `FiveOneEat.FavoritesBusinessRequest`
1267
+
1268
+ </dd>
1269
+ </dl>
1270
+
1271
+ <dl>
1272
+ <dd>
1273
+
1274
+ **requestOptions:** `BusinessProfilesClient.RequestOptions`
1275
+
1276
+ </dd>
1277
+ </dl>
1278
+ </dd>
1279
+ </dl>
1280
+
1281
+
1282
+ </dd>
1283
+ </dl>
1284
+ </details>
1285
+
1286
+ <details><summary><code>client.businessProfiles.<a href="/src/api/resources/businessProfiles/client/Client.ts">unfavoritesBusiness</a>({ ...params }) -> Record&lt;string, unknown&gt;</code></summary>
1287
+ <dl>
1288
+ <dd>
1289
+
1290
+ #### 📝 Description
1291
+
1292
+ <dl>
1293
+ <dd>
1294
+
1295
+ <dl>
1296
+ <dd>
1297
+
1298
+ Remove a business from the authenticated user's favorites.
1299
+ </dd>
1300
+ </dl>
1301
+ </dd>
1302
+ </dl>
1303
+
1304
+ #### 🔌 Usage
1305
+
1306
+ <dl>
1307
+ <dd>
1308
+
1309
+ <dl>
1310
+ <dd>
1311
+
1312
+ ```typescript
1313
+ await client.businessProfiles.unfavoritesBusiness({
1314
+ handle: "katzs-deli"
1315
+ });
1316
+
1317
+ ```
1318
+ </dd>
1319
+ </dl>
1320
+ </dd>
1321
+ </dl>
1322
+
1323
+ #### ⚙️ Parameters
1324
+
1325
+ <dl>
1326
+ <dd>
1327
+
1328
+ <dl>
1329
+ <dd>
1330
+
1331
+ **request:** `FiveOneEat.UnfavoritesBusinessRequest`
1332
+
1333
+ </dd>
1334
+ </dl>
1335
+
1336
+ <dl>
1337
+ <dd>
1338
+
1339
+ **requestOptions:** `BusinessProfilesClient.RequestOptions`
1340
+
1341
+ </dd>
1342
+ </dl>
1343
+ </dd>
1344
+ </dl>
1345
+
1346
+
1347
+ </dd>
1348
+ </dl>
1349
+ </details>
1350
+
1351
+ ## Customer Messaging
1352
+ <details><summary><code>client.customerMessaging.<a href="/src/api/resources/customerMessaging/client/Client.ts">getCustomerConversations</a>({ ...params }) -> FiveOneEat.GetCustomerConversationsResponse</code></summary>
1353
+ <dl>
1354
+ <dd>
1355
+
1356
+ #### 📝 Description
1357
+
1358
+ <dl>
1359
+ <dd>
1360
+
1361
+ <dl>
1362
+ <dd>
1363
+
1364
+ Retrieve a paginated list of all conversations for the authenticated customer,
1365
+ ordered by the most recent message first.
1366
+ </dd>
1367
+ </dl>
1368
+ </dd>
1369
+ </dl>
1370
+
1371
+ #### 🔌 Usage
1372
+
1373
+ <dl>
1374
+ <dd>
1375
+
1376
+ <dl>
1377
+ <dd>
1378
+
1379
+ ```typescript
1380
+ await client.customerMessaging.getCustomerConversations();
1381
+
1382
+ ```
1383
+ </dd>
1384
+ </dl>
1385
+ </dd>
1386
+ </dl>
1387
+
1388
+ #### ⚙️ Parameters
1389
+
1390
+ <dl>
1391
+ <dd>
1392
+
1393
+ <dl>
1394
+ <dd>
1395
+
1396
+ **request:** `FiveOneEat.GetCustomerConversationsRequest`
1397
+
1398
+ </dd>
1399
+ </dl>
1400
+
1401
+ <dl>
1402
+ <dd>
1403
+
1404
+ **requestOptions:** `CustomerMessagingClient.RequestOptions`
1405
+
1406
+ </dd>
1407
+ </dl>
1408
+ </dd>
1409
+ </dl>
1410
+
1411
+
1412
+ </dd>
1413
+ </dl>
1414
+ </details>
1415
+
1416
+ <details><summary><code>client.customerMessaging.<a href="/src/api/resources/customerMessaging/client/Client.ts">startConversation</a>({ ...params }) -> FiveOneEat.StartConversationResponse</code></summary>
1417
+ <dl>
1418
+ <dd>
1419
+
1420
+ #### 📝 Description
1421
+
1422
+ <dl>
1423
+ <dd>
1424
+
1425
+ <dl>
1426
+ <dd>
1427
+
1428
+ Create a new conversation between the authenticated customer and the specified business.
1429
+ If a conversation already exists, it will be returned instead of creating a duplicate.
1430
+ </dd>
1431
+ </dl>
1432
+ </dd>
1433
+ </dl>
1434
+
1435
+ #### 🔌 Usage
1436
+
1437
+ <dl>
1438
+ <dd>
1439
+
1440
+ <dl>
1441
+ <dd>
1442
+
1443
+ ```typescript
1444
+ await client.customerMessaging.startConversation({
1445
+ business: "marios-pizza"
1446
+ });
1447
+
1448
+ ```
1449
+ </dd>
1450
+ </dl>
1451
+ </dd>
1452
+ </dl>
1453
+
1454
+ #### ⚙️ Parameters
1455
+
1456
+ <dl>
1457
+ <dd>
1458
+
1459
+ <dl>
1460
+ <dd>
1461
+
1462
+ **request:** `FiveOneEat.StartConversationRequest`
1463
+
1464
+ </dd>
1465
+ </dl>
1466
+
1467
+ <dl>
1468
+ <dd>
1469
+
1470
+ **requestOptions:** `CustomerMessagingClient.RequestOptions`
1471
+
1472
+ </dd>
1473
+ </dl>
1474
+ </dd>
1475
+ </dl>
1476
+
1477
+
1478
+ </dd>
1479
+ </dl>
1480
+ </details>
1481
+
1482
+ <details><summary><code>client.customerMessaging.<a href="/src/api/resources/customerMessaging/client/Client.ts">getConversation</a>({ ...params }) -> FiveOneEat.GetConversationResponse</code></summary>
1483
+ <dl>
1484
+ <dd>
1485
+
1486
+ #### 📝 Description
1487
+
1488
+ <dl>
1489
+ <dd>
1490
+
1491
+ <dl>
1492
+ <dd>
1493
+
1494
+ Retrieve details of a specific conversation including the business information
1495
+ and the latest message.
1496
+ </dd>
1497
+ </dl>
1498
+ </dd>
1499
+ </dl>
1500
+
1501
+ #### 🔌 Usage
1502
+
1503
+ <dl>
1504
+ <dd>
1505
+
1506
+ <dl>
1507
+ <dd>
1508
+
1509
+ ```typescript
1510
+ await client.customerMessaging.getConversation({
1511
+ conversation: "550e8400-e29b-41d4-a716-446655440000"
1512
+ });
1513
+
1514
+ ```
1515
+ </dd>
1516
+ </dl>
1517
+ </dd>
1518
+ </dl>
1519
+
1520
+ #### ⚙️ Parameters
1521
+
1522
+ <dl>
1523
+ <dd>
1524
+
1525
+ <dl>
1526
+ <dd>
1527
+
1528
+ **request:** `FiveOneEat.GetConversationRequest`
1529
+
1530
+ </dd>
1531
+ </dl>
1532
+
1533
+ <dl>
1534
+ <dd>
1535
+
1536
+ **requestOptions:** `CustomerMessagingClient.RequestOptions`
1537
+
1538
+ </dd>
1539
+ </dl>
1540
+ </dd>
1541
+ </dl>
1542
+
1543
+
1544
+ </dd>
1545
+ </dl>
1546
+ </details>
1547
+
1548
+ <details><summary><code>client.customerMessaging.<a href="/src/api/resources/customerMessaging/client/Client.ts">deleteConversation</a>({ ...params }) -> number</code></summary>
1549
+ <dl>
1550
+ <dd>
1551
+
1552
+ #### 📝 Description
1553
+
1554
+ <dl>
1555
+ <dd>
1556
+
1557
+ <dl>
1558
+ <dd>
1559
+
1560
+ Permanently delete a conversation and all its messages.
1561
+ This action cannot be undone.
1562
+ </dd>
1563
+ </dl>
1564
+ </dd>
1565
+ </dl>
1566
+
1567
+ #### 🔌 Usage
1568
+
1569
+ <dl>
1570
+ <dd>
1571
+
1572
+ <dl>
1573
+ <dd>
1574
+
1575
+ ```typescript
1576
+ await client.customerMessaging.deleteConversation({
1577
+ conversation: "550e8400-e29b-41d4-a716-446655440000"
1578
+ });
1579
+
1580
+ ```
1581
+ </dd>
1582
+ </dl>
1583
+ </dd>
1584
+ </dl>
1585
+
1586
+ #### ⚙️ Parameters
1587
+
1588
+ <dl>
1589
+ <dd>
1590
+
1591
+ <dl>
1592
+ <dd>
1593
+
1594
+ **request:** `FiveOneEat.DeleteConversationRequest`
1595
+
1596
+ </dd>
1597
+ </dl>
1598
+
1599
+ <dl>
1600
+ <dd>
1601
+
1602
+ **requestOptions:** `CustomerMessagingClient.RequestOptions`
1603
+
1604
+ </dd>
1605
+ </dl>
1606
+ </dd>
1607
+ </dl>
1608
+
1609
+
1610
+ </dd>
1611
+ </dl>
1612
+ </details>
1613
+
1614
+ <details><summary><code>client.customerMessaging.<a href="/src/api/resources/customerMessaging/client/Client.ts">getConversationMessages</a>({ ...params }) -> FiveOneEat.GetConversationMessagesResponse</code></summary>
1615
+ <dl>
1616
+ <dd>
1617
+
1618
+ #### 📝 Description
1619
+
1620
+ <dl>
1621
+ <dd>
1622
+
1623
+ <dl>
1624
+ <dd>
1625
+
1626
+ Retrieve a paginated list of all messages in a specific conversation,
1627
+ ordered by creation time (oldest first).
1628
+ </dd>
1629
+ </dl>
1630
+ </dd>
1631
+ </dl>
1632
+
1633
+ #### 🔌 Usage
1634
+
1635
+ <dl>
1636
+ <dd>
1637
+
1638
+ <dl>
1639
+ <dd>
1640
+
1641
+ ```typescript
1642
+ await client.customerMessaging.getConversationMessages({
1643
+ conversation: "550e8400-e29b-41d4-a716-446655440000"
1644
+ });
1645
+
1646
+ ```
1647
+ </dd>
1648
+ </dl>
1649
+ </dd>
1650
+ </dl>
1651
+
1652
+ #### ⚙️ Parameters
1653
+
1654
+ <dl>
1655
+ <dd>
1656
+
1657
+ <dl>
1658
+ <dd>
1659
+
1660
+ **request:** `FiveOneEat.GetConversationMessagesRequest`
1661
+
1662
+ </dd>
1663
+ </dl>
1664
+
1665
+ <dl>
1666
+ <dd>
1667
+
1668
+ **requestOptions:** `CustomerMessagingClient.RequestOptions`
1669
+
1670
+ </dd>
1671
+ </dl>
1672
+ </dd>
1673
+ </dl>
1674
+
1675
+
1676
+ </dd>
1677
+ </dl>
1678
+ </details>
1679
+
1680
+ <details><summary><code>client.customerMessaging.<a href="/src/api/resources/customerMessaging/client/Client.ts">sendMessage</a>({ ...params }) -> FiveOneEat.SendMessageResponse</code></summary>
1681
+ <dl>
1682
+ <dd>
1683
+
1684
+ #### 📝 Description
1685
+
1686
+ <dl>
1687
+ <dd>
1688
+
1689
+ <dl>
1690
+ <dd>
1691
+
1692
+ Send a new message to a specific conversation. The message will be marked
1693
+ as sent by the authenticated customer.
1694
+ </dd>
1695
+ </dl>
1696
+ </dd>
1697
+ </dl>
1698
+
1699
+ #### 🔌 Usage
1700
+
1701
+ <dl>
1702
+ <dd>
1703
+
1704
+ <dl>
1705
+ <dd>
1706
+
1707
+ ```typescript
1708
+ await client.customerMessaging.sendMessage({
1709
+ conversation: "550e8400-e29b-41d4-a716-446655440000",
1710
+ content: "Hello! I have a question about your menu."
1711
+ });
1712
+
1713
+ ```
1714
+ </dd>
1715
+ </dl>
1716
+ </dd>
1717
+ </dl>
1718
+
1719
+ #### ⚙️ Parameters
1720
+
1721
+ <dl>
1722
+ <dd>
1723
+
1724
+ <dl>
1725
+ <dd>
1726
+
1727
+ **request:** `FiveOneEat.SendMessageRequest`
1728
+
1729
+ </dd>
1730
+ </dl>
1731
+
1732
+ <dl>
1733
+ <dd>
1734
+
1735
+ **requestOptions:** `CustomerMessagingClient.RequestOptions`
1736
+
1737
+ </dd>
1738
+ </dl>
1739
+ </dd>
1740
+ </dl>
1741
+
1742
+
1743
+ </dd>
1744
+ </dl>
1745
+ </details>
1746
+
1747
+ <details><summary><code>client.customerMessaging.<a href="/src/api/resources/customerMessaging/client/Client.ts">markMessagesAsRead</a>({ ...params }) -> number</code></summary>
1748
+ <dl>
1749
+ <dd>
1750
+
1751
+ #### 📝 Description
1752
+
1753
+ <dl>
1754
+ <dd>
1755
+
1756
+ <dl>
1757
+ <dd>
1758
+
1759
+ Mark all messages in a conversation as read by the authenticated customer.
1760
+ This is typically called when the customer opens a conversation.
1761
+ </dd>
1762
+ </dl>
1763
+ </dd>
1764
+ </dl>
1765
+
1766
+ #### 🔌 Usage
1767
+
1768
+ <dl>
1769
+ <dd>
1770
+
1771
+ <dl>
1772
+ <dd>
1773
+
1774
+ ```typescript
1775
+ await client.customerMessaging.markMessagesAsRead({
1776
+ conversation: "550e8400-e29b-41d4-a716-446655440000"
1777
+ });
1778
+
1779
+ ```
1780
+ </dd>
1781
+ </dl>
1782
+ </dd>
1783
+ </dl>
1784
+
1785
+ #### ⚙️ Parameters
1786
+
1787
+ <dl>
1788
+ <dd>
1789
+
1790
+ <dl>
1791
+ <dd>
1792
+
1793
+ **request:** `FiveOneEat.MarkMessagesAsReadRequest`
1794
+
1795
+ </dd>
1796
+ </dl>
1797
+
1798
+ <dl>
1799
+ <dd>
1800
+
1801
+ **requestOptions:** `CustomerMessagingClient.RequestOptions`
1802
+
1803
+ </dd>
1804
+ </dl>
1805
+ </dd>
1806
+ </dl>
1807
+
1808
+
1809
+ </dd>
1810
+ </dl>
1811
+ </details>
1812
+
1813
+ <details><summary><code>client.customerMessaging.<a href="/src/api/resources/customerMessaging/client/Client.ts">getUnreadCount</a>({ ...params }) -> number</code></summary>
1814
+ <dl>
1815
+ <dd>
1816
+
1817
+ #### 📝 Description
1818
+
1819
+ <dl>
1820
+ <dd>
1821
+
1822
+ <dl>
1823
+ <dd>
1824
+
1825
+ Get the count of unread messages in a specific conversation for the authenticated customer.
1826
+ </dd>
1827
+ </dl>
1828
+ </dd>
1829
+ </dl>
1830
+
1831
+ #### 🔌 Usage
1832
+
1833
+ <dl>
1834
+ <dd>
1835
+
1836
+ <dl>
1837
+ <dd>
1838
+
1839
+ ```typescript
1840
+ await client.customerMessaging.getUnreadCount({
1841
+ conversation: "550e8400-e29b-41d4-a716-446655440000"
1842
+ });
1843
+
1844
+ ```
1845
+ </dd>
1846
+ </dl>
1847
+ </dd>
1848
+ </dl>
1849
+
1850
+ #### ⚙️ Parameters
1851
+
1852
+ <dl>
1853
+ <dd>
1854
+
1855
+ <dl>
1856
+ <dd>
1857
+
1858
+ **request:** `FiveOneEat.GetUnreadCountRequest`
1859
+
1860
+ </dd>
1861
+ </dl>
1862
+
1863
+ <dl>
1864
+ <dd>
1865
+
1866
+ **requestOptions:** `CustomerMessagingClient.RequestOptions`
1867
+
1868
+ </dd>
1869
+ </dl>
1870
+ </dd>
1871
+ </dl>
1872
+
1873
+
1874
+ </dd>
1875
+ </dl>
1876
+ </details>
1877
+
1878
+ ## Discovery
1879
+ <details><summary><code>client.discovery.<a href="/src/api/resources/discovery/client/Client.ts">exploreBusinesses</a>({ ...params }) -> FiveOneEat.ExploreBusinessesResponse</code></summary>
1880
+ <dl>
1881
+ <dd>
1882
+
1883
+ #### 📝 Description
1884
+
1885
+ <dl>
1886
+ <dd>
1887
+
1888
+ <dl>
1889
+ <dd>
1890
+
1891
+ Retrieve businesses within the specified map bounds for map view.
1892
+ Results are optimized for map display with essential business information.
1893
+ </dd>
1894
+ </dl>
1895
+ </dd>
1896
+ </dl>
1897
+
1898
+ #### 🔌 Usage
1899
+
1900
+ <dl>
1901
+ <dd>
1902
+
1903
+ <dl>
1904
+ <dd>
1905
+
1906
+ ```typescript
1907
+ await client.discovery.exploreBusinesses({
1908
+ bounds: "43.5000,42.5000,-73.5000,-76.5000"
1909
+ });
1910
+
1911
+ ```
1912
+ </dd>
1913
+ </dl>
1914
+ </dd>
1915
+ </dl>
1916
+
1917
+ #### ⚙️ Parameters
1918
+
1919
+ <dl>
1920
+ <dd>
1921
+
1922
+ <dl>
1923
+ <dd>
1924
+
1925
+ **request:** `FiveOneEat.ExploreBusinessesRequest`
1926
+
1927
+ </dd>
1928
+ </dl>
1929
+
1930
+ <dl>
1931
+ <dd>
1932
+
1933
+ **requestOptions:** `DiscoveryClient.RequestOptions`
1934
+
1935
+ </dd>
1936
+ </dl>
1937
+ </dd>
1938
+ </dl>
1939
+
1940
+
1941
+ </dd>
1942
+ </dl>
1943
+ </details>
1944
+
1945
+ <details><summary><code>client.discovery.<a href="/src/api/resources/discovery/client/Client.ts">getDiscoveryFeed</a>({ ...params }) -> FiveOneEat.DiscoveryFeedResource</code></summary>
1946
+ <dl>
1947
+ <dd>
1948
+
1949
+ #### 📝 Description
1950
+
1951
+ <dl>
1952
+ <dd>
1953
+
1954
+ <dl>
1955
+ <dd>
1956
+
1957
+ Returns a paginated list of populated business categories, each with up to 10 businesses
1958
+ embedded. Use `total_businesses` to link to the full paginated category view.
1959
+ Supports optional filtering by search term, cuisines, and certifications.
1960
+ </dd>
1961
+ </dl>
1962
+ </dd>
1963
+ </dl>
1964
+
1965
+ #### 🔌 Usage
1966
+
1967
+ <dl>
1968
+ <dd>
1969
+
1970
+ <dl>
1971
+ <dd>
1972
+
1973
+ ```typescript
1974
+ await client.discovery.getDiscoveryFeed({
1975
+ search: "organic"
1976
+ });
1977
+
1978
+ ```
1979
+ </dd>
1980
+ </dl>
1981
+ </dd>
1982
+ </dl>
1983
+
1984
+ #### ⚙️ Parameters
1985
+
1986
+ <dl>
1987
+ <dd>
1988
+
1989
+ <dl>
1990
+ <dd>
1991
+
1992
+ **request:** `FiveOneEat.GetDiscoveryFeedRequest`
1993
+
1994
+ </dd>
1995
+ </dl>
1996
+
1997
+ <dl>
1998
+ <dd>
1999
+
2000
+ **requestOptions:** `DiscoveryClient.RequestOptions`
2001
+
2002
+ </dd>
2003
+ </dl>
2004
+ </dd>
2005
+ </dl>
2006
+
2007
+
2008
+ </dd>
2009
+ </dl>
2010
+ </details>
2011
+
2012
+ <details><summary><code>client.discovery.<a href="/src/api/resources/discovery/client/Client.ts">getDiscoveryCategories</a>() -> FiveOneEat.GetDiscoveryCategoriesResponse</code></summary>
2013
+ <dl>
2014
+ <dd>
2015
+
2016
+ #### 📝 Description
2017
+
2018
+ <dl>
2019
+ <dd>
2020
+
2021
+ <dl>
2022
+ <dd>
2023
+
2024
+ Retrieve a list of all business categories that have businesses.
2025
+ This endpoint is used to populate category filters and navigation.
2026
+ </dd>
2027
+ </dl>
2028
+ </dd>
2029
+ </dl>
2030
+
2031
+ #### 🔌 Usage
2032
+
2033
+ <dl>
2034
+ <dd>
2035
+
2036
+ <dl>
2037
+ <dd>
2038
+
2039
+ ```typescript
2040
+ await client.discovery.getDiscoveryCategories();
2041
+
2042
+ ```
2043
+ </dd>
2044
+ </dl>
2045
+ </dd>
2046
+ </dl>
2047
+
2048
+ #### ⚙️ Parameters
2049
+
2050
+ <dl>
2051
+ <dd>
2052
+
2053
+ <dl>
2054
+ <dd>
2055
+
2056
+ **requestOptions:** `DiscoveryClient.RequestOptions`
2057
+
2058
+ </dd>
2059
+ </dl>
2060
+ </dd>
2061
+ </dl>
2062
+
2063
+
2064
+ </dd>
2065
+ </dl>
2066
+ </details>
2067
+
2068
+ <details><summary><code>client.discovery.<a href="/src/api/resources/discovery/client/Client.ts">getCategoryBusinesses</a>({ ...params }) -> FiveOneEat.GetCategoryBusinessesResponse</code></summary>
2069
+ <dl>
2070
+ <dd>
2071
+
2072
+ #### 📝 Description
2073
+
2074
+ <dl>
2075
+ <dd>
2076
+
2077
+ <dl>
2078
+ <dd>
2079
+
2080
+ Retrieve businesses for a specific category with pagination support.
2081
+ Results are optimized for list display.
2082
+ </dd>
2083
+ </dl>
2084
+ </dd>
2085
+ </dl>
2086
+
2087
+ #### 🔌 Usage
2088
+
2089
+ <dl>
2090
+ <dd>
2091
+
2092
+ <dl>
2093
+ <dd>
2094
+
2095
+ ```typescript
2096
+ await client.discovery.getCategoryBusinesses({
2097
+ category: "restaurant",
2098
+ search: "coffee"
2099
+ });
2100
+
2101
+ ```
2102
+ </dd>
2103
+ </dl>
2104
+ </dd>
2105
+ </dl>
2106
+
2107
+ #### ⚙️ Parameters
2108
+
2109
+ <dl>
2110
+ <dd>
2111
+
2112
+ <dl>
2113
+ <dd>
2114
+
2115
+ **request:** `FiveOneEat.GetCategoryBusinessesRequest`
2116
+
2117
+ </dd>
2118
+ </dl>
2119
+
2120
+ <dl>
2121
+ <dd>
2122
+
2123
+ **requestOptions:** `DiscoveryClient.RequestOptions`
2124
+
2125
+ </dd>
2126
+ </dl>
2127
+ </dd>
2128
+ </dl>
2129
+
2130
+
2131
+ </dd>
2132
+ </dl>
2133
+ </details>
2134
+
2135
+ ## Events
2136
+ <details><summary><code>client.events.<a href="/src/api/resources/events/client/Client.ts">getEventFeed</a>({ ...params }) -> FiveOneEat.GetEventFeedResponse</code></summary>
2137
+ <dl>
2138
+ <dd>
2139
+
2140
+ #### 📝 Description
2141
+
2142
+ <dl>
2143
+ <dd>
2144
+
2145
+ <dl>
2146
+ <dd>
2147
+
2148
+ Retrieve a paginated feed of upcoming events across all businesses.
2149
+ Defaults to all events starting from now, ordered by start date ascending.
2150
+ Optionally filter by a date range using date_from and date_to.
2151
+ </dd>
2152
+ </dl>
2153
+ </dd>
2154
+ </dl>
2155
+
2156
+ #### 🔌 Usage
2157
+
2158
+ <dl>
2159
+ <dd>
2160
+
2161
+ <dl>
2162
+ <dd>
2163
+
2164
+ ```typescript
2165
+ await client.events.getEventFeed({
2166
+ date_from: "2026-05-01",
2167
+ date_to: "2026-05-31"
2168
+ });
2169
+
2170
+ ```
2171
+ </dd>
2172
+ </dl>
2173
+ </dd>
2174
+ </dl>
2175
+
2176
+ #### ⚙️ Parameters
2177
+
2178
+ <dl>
2179
+ <dd>
2180
+
2181
+ <dl>
2182
+ <dd>
2183
+
2184
+ **request:** `FiveOneEat.GetEventFeedRequest`
2185
+
2186
+ </dd>
2187
+ </dl>
2188
+
2189
+ <dl>
2190
+ <dd>
2191
+
2192
+ **requestOptions:** `EventsClient.RequestOptions`
2193
+
2194
+ </dd>
2195
+ </dl>
2196
+ </dd>
2197
+ </dl>
2198
+
2199
+
2200
+ </dd>
2201
+ </dl>
2202
+ </details>
2203
+
2204
+ ## My Account
2205
+ <details><summary><code>client.myAccount.<a href="/src/api/resources/myAccount/client/Client.ts">getMyFavorites</a>({ ...params }) -> FiveOneEat.GetMyFavoritesResponse</code></summary>
2206
+ <dl>
2207
+ <dd>
2208
+
2209
+ #### 📝 Description
2210
+
2211
+ <dl>
2212
+ <dd>
2213
+
2214
+ <dl>
2215
+ <dd>
2216
+
2217
+ Retrieve the authenticated user's favorited businesses with pagination.
2218
+ </dd>
2219
+ </dl>
2220
+ </dd>
2221
+ </dl>
2222
+
2223
+ #### 🔌 Usage
2224
+
2225
+ <dl>
2226
+ <dd>
2227
+
2228
+ <dl>
2229
+ <dd>
2230
+
2231
+ ```typescript
2232
+ await client.myAccount.getMyFavorites();
2233
+
2234
+ ```
2235
+ </dd>
2236
+ </dl>
2237
+ </dd>
2238
+ </dl>
2239
+
2240
+ #### ⚙️ Parameters
2241
+
2242
+ <dl>
2243
+ <dd>
2244
+
2245
+ <dl>
2246
+ <dd>
2247
+
2248
+ **request:** `FiveOneEat.GetMyFavoritesRequest`
2249
+
2250
+ </dd>
2251
+ </dl>
2252
+
2253
+ <dl>
2254
+ <dd>
2255
+
2256
+ **requestOptions:** `MyAccountClient.RequestOptions`
2257
+
2258
+ </dd>
2259
+ </dl>
2260
+ </dd>
2261
+ </dl>
2262
+
2263
+
2264
+ </dd>
2265
+ </dl>
2266
+ </details>
2267
+
2268
+ <details><summary><code>client.myAccount.<a href="/src/api/resources/myAccount/client/Client.ts">getMyRsvps</a>({ ...params }) -> FiveOneEat.GetMyRsvpsResponse</code></summary>
2269
+ <dl>
2270
+ <dd>
2271
+
2272
+ #### 📝 Description
2273
+
2274
+ <dl>
2275
+ <dd>
2276
+
2277
+ <dl>
2278
+ <dd>
2279
+
2280
+ Retrieve the authenticated user's event RSVPs with pagination.
2281
+ </dd>
2282
+ </dl>
2283
+ </dd>
2284
+ </dl>
2285
+
2286
+ #### 🔌 Usage
2287
+
2288
+ <dl>
2289
+ <dd>
2290
+
2291
+ <dl>
2292
+ <dd>
2293
+
2294
+ ```typescript
2295
+ await client.myAccount.getMyRsvps({
2296
+ status: "attending"
2297
+ });
2298
+
2299
+ ```
2300
+ </dd>
2301
+ </dl>
2302
+ </dd>
2303
+ </dl>
2304
+
2305
+ #### ⚙️ Parameters
2306
+
2307
+ <dl>
2308
+ <dd>
2309
+
2310
+ <dl>
2311
+ <dd>
2312
+
2313
+ **request:** `FiveOneEat.GetMyRsvpsRequest`
2314
+
2315
+ </dd>
2316
+ </dl>
2317
+
2318
+ <dl>
2319
+ <dd>
2320
+
2321
+ **requestOptions:** `MyAccountClient.RequestOptions`
2322
+
2323
+ </dd>
2324
+ </dl>
2325
+ </dd>
2326
+ </dl>
2327
+
2328
+
2329
+ </dd>
2330
+ </dl>
2331
+ </details>
2332
+
2333
+ <details><summary><code>client.myAccount.<a href="/src/api/resources/myAccount/client/Client.ts">getMyTickets</a>({ ...params }) -> FiveOneEat.GetMyTicketsResponse</code></summary>
2334
+ <dl>
2335
+ <dd>
2336
+
2337
+ #### 📝 Description
2338
+
2339
+ <dl>
2340
+ <dd>
2341
+
2342
+ <dl>
2343
+ <dd>
2344
+
2345
+ Retrieve the authenticated user's tickets with pagination.
2346
+ </dd>
2347
+ </dl>
2348
+ </dd>
2349
+ </dl>
2350
+
2351
+ #### 🔌 Usage
2352
+
2353
+ <dl>
2354
+ <dd>
2355
+
2356
+ <dl>
2357
+ <dd>
2358
+
2359
+ ```typescript
2360
+ await client.myAccount.getMyTickets();
2361
+
2362
+ ```
2363
+ </dd>
2364
+ </dl>
2365
+ </dd>
2366
+ </dl>
2367
+
2368
+ #### ⚙️ Parameters
2369
+
2370
+ <dl>
2371
+ <dd>
2372
+
2373
+ <dl>
2374
+ <dd>
2375
+
2376
+ **request:** `FiveOneEat.GetMyTicketsRequest`
2377
+
2378
+ </dd>
2379
+ </dl>
2380
+
2381
+ <dl>
2382
+ <dd>
2383
+
2384
+ **requestOptions:** `MyAccountClient.RequestOptions`
2385
+
2386
+ </dd>
2387
+ </dl>
2388
+ </dd>
2389
+ </dl>
2390
+
2391
+
2392
+ </dd>
2393
+ </dl>
2394
+ </details>
2395
+
2396
+ <details><summary><code>client.myAccount.<a href="/src/api/resources/myAccount/client/Client.ts">getMyTicket</a>({ ...params }) -> FiveOneEat.GetMyTicketResponse</code></summary>
2397
+ <dl>
2398
+ <dd>
2399
+
2400
+ #### 📝 Description
2401
+
2402
+ <dl>
2403
+ <dd>
2404
+
2405
+ <dl>
2406
+ <dd>
2407
+
2408
+ Retrieve a single ticket belonging to the authenticated user.
2409
+ </dd>
2410
+ </dl>
2411
+ </dd>
2412
+ </dl>
2413
+
2414
+ #### 🔌 Usage
2415
+
2416
+ <dl>
2417
+ <dd>
2418
+
2419
+ <dl>
2420
+ <dd>
2421
+
2422
+ ```typescript
2423
+ await client.myAccount.getMyTicket({
2424
+ ticketId: "ticketId"
2425
+ });
2426
+
2427
+ ```
2428
+ </dd>
2429
+ </dl>
2430
+ </dd>
2431
+ </dl>
2432
+
2433
+ #### ⚙️ Parameters
2434
+
2435
+ <dl>
2436
+ <dd>
2437
+
2438
+ <dl>
2439
+ <dd>
2440
+
2441
+ **request:** `FiveOneEat.GetMyTicketRequest`
2442
+
2443
+ </dd>
2444
+ </dl>
2445
+
2446
+ <dl>
2447
+ <dd>
2448
+
2449
+ **requestOptions:** `MyAccountClient.RequestOptions`
2450
+
2451
+ </dd>
2452
+ </dl>
2453
+ </dd>
2454
+ </dl>
2455
+
2456
+
2457
+ </dd>
2458
+ </dl>
2459
+ </details>
2460
+
2461
+ <details><summary><code>client.myAccount.<a href="/src/api/resources/myAccount/client/Client.ts">getMyTicketOrders</a>({ ...params }) -> FiveOneEat.GetMyTicketOrdersResponse</code></summary>
2462
+ <dl>
2463
+ <dd>
2464
+
2465
+ #### 📝 Description
2466
+
2467
+ <dl>
2468
+ <dd>
2469
+
2470
+ <dl>
2471
+ <dd>
2472
+
2473
+ Retrieve the authenticated user's ticket orders with pagination.
2474
+ </dd>
2475
+ </dl>
2476
+ </dd>
2477
+ </dl>
2478
+
2479
+ #### 🔌 Usage
2480
+
2481
+ <dl>
2482
+ <dd>
2483
+
2484
+ <dl>
2485
+ <dd>
2486
+
2487
+ ```typescript
2488
+ await client.myAccount.getMyTicketOrders();
2489
+
2490
+ ```
2491
+ </dd>
2492
+ </dl>
2493
+ </dd>
2494
+ </dl>
2495
+
2496
+ #### ⚙️ Parameters
2497
+
2498
+ <dl>
2499
+ <dd>
2500
+
2501
+ <dl>
2502
+ <dd>
2503
+
2504
+ **request:** `FiveOneEat.GetMyTicketOrdersRequest`
2505
+
2506
+ </dd>
2507
+ </dl>
2508
+
2509
+ <dl>
2510
+ <dd>
2511
+
2512
+ **requestOptions:** `MyAccountClient.RequestOptions`
2513
+
2514
+ </dd>
2515
+ </dl>
2516
+ </dd>
2517
+ </dl>
2518
+
2519
+
2520
+ </dd>
2521
+ </dl>
2522
+ </details>
2523
+
2524
+ <details><summary><code>client.myAccount.<a href="/src/api/resources/myAccount/client/Client.ts">getMyTicketOrder</a>({ ...params }) -> FiveOneEat.GetMyTicketOrderResponse</code></summary>
2525
+ <dl>
2526
+ <dd>
2527
+
2528
+ #### 📝 Description
2529
+
2530
+ <dl>
2531
+ <dd>
2532
+
2533
+ <dl>
2534
+ <dd>
2535
+
2536
+ Retrieve a single ticket order belonging to the authenticated user.
2537
+ </dd>
2538
+ </dl>
2539
+ </dd>
2540
+ </dl>
2541
+
2542
+ #### 🔌 Usage
2543
+
2544
+ <dl>
2545
+ <dd>
2546
+
2547
+ <dl>
2548
+ <dd>
2549
+
2550
+ ```typescript
2551
+ await client.myAccount.getMyTicketOrder({
2552
+ orderId: "orderId"
2553
+ });
2554
+
2555
+ ```
2556
+ </dd>
2557
+ </dl>
2558
+ </dd>
2559
+ </dl>
2560
+
2561
+ #### ⚙️ Parameters
2562
+
2563
+ <dl>
2564
+ <dd>
2565
+
2566
+ <dl>
2567
+ <dd>
2568
+
2569
+ **request:** `FiveOneEat.GetMyTicketOrderRequest`
2570
+
2571
+ </dd>
2572
+ </dl>
2573
+
2574
+ <dl>
2575
+ <dd>
2576
+
2577
+ **requestOptions:** `MyAccountClient.RequestOptions`
2578
+
2579
+ </dd>
2580
+ </dl>
2581
+ </dd>
2582
+ </dl>
2583
+
2584
+
2585
+ </dd>
2586
+ </dl>
2587
+ </details>
2588
+
2589
+ ## Ticketing
2590
+ <details><summary><code>client.ticketing.<a href="/src/api/resources/ticketing/client/Client.ts">holdTickets</a>({ ...params }) -> FiveOneEat.HoldTicketsResponse</code></summary>
2591
+ <dl>
2592
+ <dd>
2593
+
2594
+ #### 📝 Description
2595
+
2596
+ <dl>
2597
+ <dd>
2598
+
2599
+ <dl>
2600
+ <dd>
2601
+
2602
+ Place a temporary hold on tickets for the specified event. Holds expire after 10 minutes.
2603
+ </dd>
2604
+ </dl>
2605
+ </dd>
2606
+ </dl>
2607
+
2608
+ #### 🔌 Usage
2609
+
2610
+ <dl>
2611
+ <dd>
2612
+
2613
+ <dl>
2614
+ <dd>
2615
+
2616
+ ```typescript
2617
+ await client.ticketing.holdTickets({
2618
+ eventId: "eventId",
2619
+ tickets: [{
2620
+ ticket_type_id: "ticket_type_id",
2621
+ quantity: 1
2622
+ }]
2623
+ });
2624
+
2625
+ ```
2626
+ </dd>
2627
+ </dl>
2628
+ </dd>
2629
+ </dl>
2630
+
2631
+ #### ⚙️ Parameters
2632
+
2633
+ <dl>
2634
+ <dd>
2635
+
2636
+ <dl>
2637
+ <dd>
2638
+
2639
+ **request:** `FiveOneEat.StoreTicketHoldRequest`
2640
+
2641
+ </dd>
2642
+ </dl>
2643
+
2644
+ <dl>
2645
+ <dd>
2646
+
2647
+ **requestOptions:** `TicketingClient.RequestOptions`
2648
+
2649
+ </dd>
2650
+ </dl>
2651
+ </dd>
2652
+ </dl>
2653
+
2654
+
2655
+ </dd>
2656
+ </dl>
2657
+ </details>
2658
+
2659
+ <details><summary><code>client.ticketing.<a href="/src/api/resources/ticketing/client/Client.ts">releaseTicketHold</a>({ ...params }) -> void</code></summary>
2660
+ <dl>
2661
+ <dd>
2662
+
2663
+ #### 📝 Description
2664
+
2665
+ <dl>
2666
+ <dd>
2667
+
2668
+ <dl>
2669
+ <dd>
2670
+
2671
+ Release all active holds for the given session, freeing the tickets for others.
2672
+ </dd>
2673
+ </dl>
2674
+ </dd>
2675
+ </dl>
2676
+
2677
+ #### 🔌 Usage
2678
+
2679
+ <dl>
2680
+ <dd>
2681
+
2682
+ <dl>
2683
+ <dd>
2684
+
2685
+ ```typescript
2686
+ await client.ticketing.releaseTicketHold({
2687
+ eventId: "eventId",
2688
+ sessionId: "sessionId"
2689
+ });
2690
+
2691
+ ```
2692
+ </dd>
2693
+ </dl>
2694
+ </dd>
2695
+ </dl>
2696
+
2697
+ #### ⚙️ Parameters
2698
+
2699
+ <dl>
2700
+ <dd>
2701
+
2702
+ <dl>
2703
+ <dd>
2704
+
2705
+ **request:** `FiveOneEat.ReleaseTicketHoldRequest`
2706
+
2707
+ </dd>
2708
+ </dl>
2709
+
2710
+ <dl>
2711
+ <dd>
2712
+
2713
+ **requestOptions:** `TicketingClient.RequestOptions`
2714
+
2715
+ </dd>
2716
+ </dl>
2717
+ </dd>
2718
+ </dl>
2719
+
2720
+
2721
+ </dd>
2722
+ </dl>
2723
+ </details>
2724
+
2725
+ <details><summary><code>client.ticketing.<a href="/src/api/resources/ticketing/client/Client.ts">calculateTicketPrice</a>({ ...params }) -> FiveOneEat.CalculateTicketPriceResponse</code></summary>
2726
+ <dl>
2727
+ <dd>
2728
+
2729
+ #### 📝 Description
2730
+
2731
+ <dl>
2732
+ <dd>
2733
+
2734
+ <dl>
2735
+ <dd>
2736
+
2737
+ Preview the subtotal, platform fee, and total for a given ticket selection.
2738
+ </dd>
2739
+ </dl>
2740
+ </dd>
2741
+ </dl>
2742
+
2743
+ #### 🔌 Usage
2744
+
2745
+ <dl>
2746
+ <dd>
2747
+
2748
+ <dl>
2749
+ <dd>
2750
+
2751
+ ```typescript
2752
+ await client.ticketing.calculateTicketPrice({
2753
+ eventId: "eventId",
2754
+ tickets: [{
2755
+ ticket_type_id: "ticket_type_id",
2756
+ quantity: 1
2757
+ }]
2758
+ });
2759
+
2760
+ ```
2761
+ </dd>
2762
+ </dl>
2763
+ </dd>
2764
+ </dl>
2765
+
2766
+ #### ⚙️ Parameters
2767
+
2768
+ <dl>
2769
+ <dd>
2770
+
2771
+ <dl>
2772
+ <dd>
2773
+
2774
+ **request:** `FiveOneEat.CalculatePriceRequest`
2775
+
2776
+ </dd>
2777
+ </dl>
2778
+
2779
+ <dl>
2780
+ <dd>
2781
+
2782
+ **requestOptions:** `TicketingClient.RequestOptions`
2783
+
2784
+ </dd>
2785
+ </dl>
2786
+ </dd>
2787
+ </dl>
2788
+
2789
+
2790
+ </dd>
2791
+ </dl>
2792
+ </details>
2793
+
2794
+ <details><summary><code>client.ticketing.<a href="/src/api/resources/ticketing/client/Client.ts">createPaymentIntent</a>({ ...params }) -> FiveOneEat.CreatePaymentIntentResponse</code></summary>
2795
+ <dl>
2796
+ <dd>
2797
+
2798
+ #### 📝 Description
2799
+
2800
+ <dl>
2801
+ <dd>
2802
+
2803
+ <dl>
2804
+ <dd>
2805
+
2806
+ Create a Stripe payment intent for the tickets held in the given session.
2807
+ Returns a client_secret for the mobile app to confirm payment with Stripe.
2808
+ </dd>
2809
+ </dl>
2810
+ </dd>
2811
+ </dl>
2812
+
2813
+ #### 🔌 Usage
2814
+
2815
+ <dl>
2816
+ <dd>
2817
+
2818
+ <dl>
2819
+ <dd>
2820
+
2821
+ ```typescript
2822
+ await client.ticketing.createPaymentIntent({
2823
+ eventId: "eventId",
2824
+ session_id: "session_id"
2825
+ });
2826
+
2827
+ ```
2828
+ </dd>
2829
+ </dl>
2830
+ </dd>
2831
+ </dl>
2832
+
2833
+ #### ⚙️ Parameters
2834
+
2835
+ <dl>
2836
+ <dd>
2837
+
2838
+ <dl>
2839
+ <dd>
2840
+
2841
+ **request:** `FiveOneEat.CreatePaymentIntentRequest`
2842
+
2843
+ </dd>
2844
+ </dl>
2845
+
2846
+ <dl>
2847
+ <dd>
2848
+
2849
+ **requestOptions:** `TicketingClient.RequestOptions`
2850
+
2851
+ </dd>
2852
+ </dl>
2853
+ </dd>
2854
+ </dl>
2855
+
2856
+
2857
+ </dd>
2858
+ </dl>
2859
+ </details>
2860
+
2861
+ <details><summary><code>client.ticketing.<a href="/src/api/resources/ticketing/client/Client.ts">confirmTicketOrder</a>({ ...params }) -> FiveOneEat.ConfirmTicketOrderResponse</code></summary>
2862
+ <dl>
2863
+ <dd>
2864
+
2865
+ #### 📝 Description
2866
+
2867
+ <dl>
2868
+ <dd>
2869
+
2870
+ <dl>
2871
+ <dd>
2872
+
2873
+ Confirm a completed Stripe payment and create the ticket order.
2874
+ The payment must have succeeded before calling this endpoint.
2875
+ </dd>
2876
+ </dl>
2877
+ </dd>
2878
+ </dl>
2879
+
2880
+ #### 🔌 Usage
2881
+
2882
+ <dl>
2883
+ <dd>
2884
+
2885
+ <dl>
2886
+ <dd>
2887
+
2888
+ ```typescript
2889
+ await client.ticketing.confirmTicketOrder({
2890
+ eventId: "eventId",
2891
+ payment_intent_id: "payment_intent_id",
2892
+ session_id: "session_id"
2893
+ });
2894
+
2895
+ ```
2896
+ </dd>
2897
+ </dl>
2898
+ </dd>
2899
+ </dl>
2900
+
2901
+ #### ⚙️ Parameters
2902
+
2903
+ <dl>
2904
+ <dd>
2905
+
2906
+ <dl>
2907
+ <dd>
2908
+
2909
+ **request:** `FiveOneEat.StoreTicketOrderRequest`
2910
+
2911
+ </dd>
2912
+ </dl>
2913
+
2914
+ <dl>
2915
+ <dd>
2916
+
2917
+ **requestOptions:** `TicketingClient.RequestOptions`
2918
+
2919
+ </dd>
2920
+ </dl>
2921
+ </dd>
2922
+ </dl>
2923
+
2924
+
2925
+ </dd>
2926
+ </dl>
2927
+ </details>
2928
+