@growsober/types 1.0.1 → 1.0.2
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/generated.d.ts +748 -344
- package/dist/generated.js +1 -1
- package/package.json +1 -1
- package/src/generated.ts +748 -344
package/dist/generated.d.ts
CHANGED
|
@@ -1331,6 +1331,161 @@ export interface paths {
|
|
|
1331
1331
|
patch?: never;
|
|
1332
1332
|
trace?: never;
|
|
1333
1333
|
};
|
|
1334
|
+
"/api/v1/events/{eventId}/chat": {
|
|
1335
|
+
parameters: {
|
|
1336
|
+
query?: never;
|
|
1337
|
+
header?: never;
|
|
1338
|
+
path?: never;
|
|
1339
|
+
cookie?: never;
|
|
1340
|
+
};
|
|
1341
|
+
/** Get or create chat for an event */
|
|
1342
|
+
get: operations["EventChatController_getChat"];
|
|
1343
|
+
put?: never;
|
|
1344
|
+
post?: never;
|
|
1345
|
+
delete?: never;
|
|
1346
|
+
options?: never;
|
|
1347
|
+
head?: never;
|
|
1348
|
+
patch?: never;
|
|
1349
|
+
trace?: never;
|
|
1350
|
+
};
|
|
1351
|
+
"/api/v1/events/{eventId}/chat/settings": {
|
|
1352
|
+
parameters: {
|
|
1353
|
+
query?: never;
|
|
1354
|
+
header?: never;
|
|
1355
|
+
path?: never;
|
|
1356
|
+
cookie?: never;
|
|
1357
|
+
};
|
|
1358
|
+
get?: never;
|
|
1359
|
+
/** Update chat settings (hosts only) */
|
|
1360
|
+
put: operations["EventChatController_updateSettings"];
|
|
1361
|
+
post?: never;
|
|
1362
|
+
delete?: never;
|
|
1363
|
+
options?: never;
|
|
1364
|
+
head?: never;
|
|
1365
|
+
patch?: never;
|
|
1366
|
+
trace?: never;
|
|
1367
|
+
};
|
|
1368
|
+
"/api/v1/events/{eventId}/chat/join": {
|
|
1369
|
+
parameters: {
|
|
1370
|
+
query?: never;
|
|
1371
|
+
header?: never;
|
|
1372
|
+
path?: never;
|
|
1373
|
+
cookie?: never;
|
|
1374
|
+
};
|
|
1375
|
+
get?: never;
|
|
1376
|
+
put?: never;
|
|
1377
|
+
/** Join event chat (requires RSVP) */
|
|
1378
|
+
post: operations["EventChatController_joinChat"];
|
|
1379
|
+
delete?: never;
|
|
1380
|
+
options?: never;
|
|
1381
|
+
head?: never;
|
|
1382
|
+
patch?: never;
|
|
1383
|
+
trace?: never;
|
|
1384
|
+
};
|
|
1385
|
+
"/api/v1/events/{eventId}/chat/leave": {
|
|
1386
|
+
parameters: {
|
|
1387
|
+
query?: never;
|
|
1388
|
+
header?: never;
|
|
1389
|
+
path?: never;
|
|
1390
|
+
cookie?: never;
|
|
1391
|
+
};
|
|
1392
|
+
get?: never;
|
|
1393
|
+
put?: never;
|
|
1394
|
+
/** Leave event chat */
|
|
1395
|
+
post: operations["EventChatController_leaveChat"];
|
|
1396
|
+
delete?: never;
|
|
1397
|
+
options?: never;
|
|
1398
|
+
head?: never;
|
|
1399
|
+
patch?: never;
|
|
1400
|
+
trace?: never;
|
|
1401
|
+
};
|
|
1402
|
+
"/api/v1/events/{eventId}/chat/members": {
|
|
1403
|
+
parameters: {
|
|
1404
|
+
query?: never;
|
|
1405
|
+
header?: never;
|
|
1406
|
+
path?: never;
|
|
1407
|
+
cookie?: never;
|
|
1408
|
+
};
|
|
1409
|
+
/** Get chat members */
|
|
1410
|
+
get: operations["EventChatController_getMembers"];
|
|
1411
|
+
put?: never;
|
|
1412
|
+
post?: never;
|
|
1413
|
+
delete?: never;
|
|
1414
|
+
options?: never;
|
|
1415
|
+
head?: never;
|
|
1416
|
+
patch?: never;
|
|
1417
|
+
trace?: never;
|
|
1418
|
+
};
|
|
1419
|
+
"/api/v1/events/{eventId}/chat/settings/me": {
|
|
1420
|
+
parameters: {
|
|
1421
|
+
query?: never;
|
|
1422
|
+
header?: never;
|
|
1423
|
+
path?: never;
|
|
1424
|
+
cookie?: never;
|
|
1425
|
+
};
|
|
1426
|
+
get?: never;
|
|
1427
|
+
/** Update my chat settings (mute, nickname) */
|
|
1428
|
+
put: operations["EventChatController_updateMySettings"];
|
|
1429
|
+
post?: never;
|
|
1430
|
+
delete?: never;
|
|
1431
|
+
options?: never;
|
|
1432
|
+
head?: never;
|
|
1433
|
+
patch?: never;
|
|
1434
|
+
trace?: never;
|
|
1435
|
+
};
|
|
1436
|
+
"/api/v1/events/{eventId}/chat/read": {
|
|
1437
|
+
parameters: {
|
|
1438
|
+
query?: never;
|
|
1439
|
+
header?: never;
|
|
1440
|
+
path?: never;
|
|
1441
|
+
cookie?: never;
|
|
1442
|
+
};
|
|
1443
|
+
get?: never;
|
|
1444
|
+
put?: never;
|
|
1445
|
+
/** Mark messages as read */
|
|
1446
|
+
post: operations["EventChatController_markAsRead"];
|
|
1447
|
+
delete?: never;
|
|
1448
|
+
options?: never;
|
|
1449
|
+
head?: never;
|
|
1450
|
+
patch?: never;
|
|
1451
|
+
trace?: never;
|
|
1452
|
+
};
|
|
1453
|
+
"/api/v1/events/{eventId}/chat/messages": {
|
|
1454
|
+
parameters: {
|
|
1455
|
+
query?: never;
|
|
1456
|
+
header?: never;
|
|
1457
|
+
path?: never;
|
|
1458
|
+
cookie?: never;
|
|
1459
|
+
};
|
|
1460
|
+
/** Get messages with pagination */
|
|
1461
|
+
get: operations["EventChatController_getMessages"];
|
|
1462
|
+
put?: never;
|
|
1463
|
+
/** Send a message */
|
|
1464
|
+
post: operations["EventChatController_sendMessage"];
|
|
1465
|
+
delete?: never;
|
|
1466
|
+
options?: never;
|
|
1467
|
+
head?: never;
|
|
1468
|
+
patch?: never;
|
|
1469
|
+
trace?: never;
|
|
1470
|
+
};
|
|
1471
|
+
"/api/v1/events/{eventId}/chat/messages/{messageId}": {
|
|
1472
|
+
parameters: {
|
|
1473
|
+
query?: never;
|
|
1474
|
+
header?: never;
|
|
1475
|
+
path?: never;
|
|
1476
|
+
cookie?: never;
|
|
1477
|
+
};
|
|
1478
|
+
get?: never;
|
|
1479
|
+
/** Update a message */
|
|
1480
|
+
put: operations["EventChatController_updateMessage"];
|
|
1481
|
+
post?: never;
|
|
1482
|
+
/** Delete a message */
|
|
1483
|
+
delete: operations["EventChatController_deleteMessage"];
|
|
1484
|
+
options?: never;
|
|
1485
|
+
head?: never;
|
|
1486
|
+
patch?: never;
|
|
1487
|
+
trace?: never;
|
|
1488
|
+
};
|
|
1334
1489
|
"/api/v1/admin/auth/login": {
|
|
1335
1490
|
parameters: {
|
|
1336
1491
|
query?: never;
|
|
@@ -2766,15 +2921,15 @@ export interface paths {
|
|
|
2766
2921
|
patch?: never;
|
|
2767
2922
|
trace?: never;
|
|
2768
2923
|
};
|
|
2769
|
-
"/api/v1/
|
|
2924
|
+
"/api/v1/cities": {
|
|
2770
2925
|
parameters: {
|
|
2771
2926
|
query?: never;
|
|
2772
2927
|
header?: never;
|
|
2773
2928
|
path?: never;
|
|
2774
2929
|
cookie?: never;
|
|
2775
2930
|
};
|
|
2776
|
-
/** Get
|
|
2777
|
-
get: operations["
|
|
2931
|
+
/** Get all cities */
|
|
2932
|
+
get: operations["CitiesController_findAll"];
|
|
2778
2933
|
put?: never;
|
|
2779
2934
|
post?: never;
|
|
2780
2935
|
delete?: never;
|
|
@@ -2783,41 +2938,24 @@ export interface paths {
|
|
|
2783
2938
|
patch?: never;
|
|
2784
2939
|
trace?: never;
|
|
2785
2940
|
};
|
|
2786
|
-
"/api/v1/
|
|
2787
|
-
parameters: {
|
|
2788
|
-
query?: never;
|
|
2789
|
-
header?: never;
|
|
2790
|
-
path?: never;
|
|
2791
|
-
cookie?: never;
|
|
2792
|
-
};
|
|
2793
|
-
get?: never;
|
|
2794
|
-
/** Update chat settings (hosts only) */
|
|
2795
|
-
put: operations["EventChatController_updateSettings"];
|
|
2796
|
-
post?: never;
|
|
2797
|
-
delete?: never;
|
|
2798
|
-
options?: never;
|
|
2799
|
-
head?: never;
|
|
2800
|
-
patch?: never;
|
|
2801
|
-
trace?: never;
|
|
2802
|
-
};
|
|
2803
|
-
"/api/v1/events/{eventId}/chat/join": {
|
|
2941
|
+
"/api/v1/cities/{id}": {
|
|
2804
2942
|
parameters: {
|
|
2805
2943
|
query?: never;
|
|
2806
2944
|
header?: never;
|
|
2807
2945
|
path?: never;
|
|
2808
2946
|
cookie?: never;
|
|
2809
2947
|
};
|
|
2810
|
-
|
|
2948
|
+
/** Get a city by ID */
|
|
2949
|
+
get: operations["CitiesController_findById"];
|
|
2811
2950
|
put?: never;
|
|
2812
|
-
|
|
2813
|
-
post: operations["EventChatController_joinChat"];
|
|
2951
|
+
post?: never;
|
|
2814
2952
|
delete?: never;
|
|
2815
2953
|
options?: never;
|
|
2816
2954
|
head?: never;
|
|
2817
2955
|
patch?: never;
|
|
2818
2956
|
trace?: never;
|
|
2819
2957
|
};
|
|
2820
|
-
"/api/v1/
|
|
2958
|
+
"/api/v1/user-pins": {
|
|
2821
2959
|
parameters: {
|
|
2822
2960
|
query?: never;
|
|
2823
2961
|
header?: never;
|
|
@@ -2826,23 +2964,29 @@ export interface paths {
|
|
|
2826
2964
|
};
|
|
2827
2965
|
get?: never;
|
|
2828
2966
|
put?: never;
|
|
2829
|
-
/**
|
|
2830
|
-
|
|
2967
|
+
/**
|
|
2968
|
+
* Create a new pin
|
|
2969
|
+
* @description Drop a pin at current location (HERE_NOW) or schedule one (SCHEDULED)
|
|
2970
|
+
*/
|
|
2971
|
+
post: operations["UserPinsController_createPin"];
|
|
2831
2972
|
delete?: never;
|
|
2832
2973
|
options?: never;
|
|
2833
2974
|
head?: never;
|
|
2834
2975
|
patch?: never;
|
|
2835
2976
|
trace?: never;
|
|
2836
2977
|
};
|
|
2837
|
-
"/api/v1/
|
|
2978
|
+
"/api/v1/user-pins/me": {
|
|
2838
2979
|
parameters: {
|
|
2839
2980
|
query?: never;
|
|
2840
2981
|
header?: never;
|
|
2841
2982
|
path?: never;
|
|
2842
2983
|
cookie?: never;
|
|
2843
2984
|
};
|
|
2844
|
-
/**
|
|
2845
|
-
|
|
2985
|
+
/**
|
|
2986
|
+
* Get my active pins
|
|
2987
|
+
* @description Returns all non-expired pins for the current user
|
|
2988
|
+
*/
|
|
2989
|
+
get: operations["UserPinsController_getMyPins"];
|
|
2846
2990
|
put?: never;
|
|
2847
2991
|
post?: never;
|
|
2848
2992
|
delete?: never;
|
|
@@ -2851,16 +2995,19 @@ export interface paths {
|
|
|
2851
2995
|
patch?: never;
|
|
2852
2996
|
trace?: never;
|
|
2853
2997
|
};
|
|
2854
|
-
"/api/v1/
|
|
2998
|
+
"/api/v1/user-pins/nearby": {
|
|
2855
2999
|
parameters: {
|
|
2856
3000
|
query?: never;
|
|
2857
3001
|
header?: never;
|
|
2858
3002
|
path?: never;
|
|
2859
3003
|
cookie?: never;
|
|
2860
3004
|
};
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
3005
|
+
/**
|
|
3006
|
+
* Get nearby pins
|
|
3007
|
+
* @description Returns pins near a location within specified radius
|
|
3008
|
+
*/
|
|
3009
|
+
get: operations["UserPinsController_getNearbyPins"];
|
|
3010
|
+
put?: never;
|
|
2864
3011
|
post?: never;
|
|
2865
3012
|
delete?: never;
|
|
2866
3013
|
options?: never;
|
|
@@ -2868,7 +3015,7 @@ export interface paths {
|
|
|
2868
3015
|
patch?: never;
|
|
2869
3016
|
trace?: never;
|
|
2870
3017
|
};
|
|
2871
|
-
"/api/v1/
|
|
3018
|
+
"/api/v1/user-pins/{id}": {
|
|
2872
3019
|
parameters: {
|
|
2873
3020
|
query?: never;
|
|
2874
3021
|
header?: never;
|
|
@@ -2877,45 +3024,12 @@ export interface paths {
|
|
|
2877
3024
|
};
|
|
2878
3025
|
get?: never;
|
|
2879
3026
|
put?: never;
|
|
2880
|
-
/** Mark messages as read */
|
|
2881
|
-
post: operations["EventChatController_markAsRead"];
|
|
2882
|
-
delete?: never;
|
|
2883
|
-
options?: never;
|
|
2884
|
-
head?: never;
|
|
2885
|
-
patch?: never;
|
|
2886
|
-
trace?: never;
|
|
2887
|
-
};
|
|
2888
|
-
"/api/v1/events/{eventId}/chat/messages": {
|
|
2889
|
-
parameters: {
|
|
2890
|
-
query?: never;
|
|
2891
|
-
header?: never;
|
|
2892
|
-
path?: never;
|
|
2893
|
-
cookie?: never;
|
|
2894
|
-
};
|
|
2895
|
-
/** Get messages with pagination */
|
|
2896
|
-
get: operations["EventChatController_getMessages"];
|
|
2897
|
-
put?: never;
|
|
2898
|
-
/** Send a message */
|
|
2899
|
-
post: operations["EventChatController_sendMessage"];
|
|
2900
|
-
delete?: never;
|
|
2901
|
-
options?: never;
|
|
2902
|
-
head?: never;
|
|
2903
|
-
patch?: never;
|
|
2904
|
-
trace?: never;
|
|
2905
|
-
};
|
|
2906
|
-
"/api/v1/events/{eventId}/chat/messages/{messageId}": {
|
|
2907
|
-
parameters: {
|
|
2908
|
-
query?: never;
|
|
2909
|
-
header?: never;
|
|
2910
|
-
path?: never;
|
|
2911
|
-
cookie?: never;
|
|
2912
|
-
};
|
|
2913
|
-
get?: never;
|
|
2914
|
-
/** Update a message */
|
|
2915
|
-
put: operations["EventChatController_updateMessage"];
|
|
2916
3027
|
post?: never;
|
|
2917
|
-
/**
|
|
2918
|
-
|
|
3028
|
+
/**
|
|
3029
|
+
* Delete a pin
|
|
3030
|
+
* @description Delete your own pin by ID
|
|
3031
|
+
*/
|
|
3032
|
+
delete: operations["UserPinsController_deletePin"];
|
|
2919
3033
|
options?: never;
|
|
2920
3034
|
head?: never;
|
|
2921
3035
|
patch?: never;
|
|
@@ -3134,6 +3248,25 @@ export interface components {
|
|
|
3134
3248
|
city?: string;
|
|
3135
3249
|
/** @example city-uuid */
|
|
3136
3250
|
cityId?: string;
|
|
3251
|
+
/**
|
|
3252
|
+
* @description User drinking identity: ALCOHOL_FREE, SOBER_CURIOUS, or OCCASIONAL
|
|
3253
|
+
* @example ALCOHOL_FREE
|
|
3254
|
+
*/
|
|
3255
|
+
drinkingIdentity?: string;
|
|
3256
|
+
/**
|
|
3257
|
+
* @description User vibes/social style preferences
|
|
3258
|
+
* @example [
|
|
3259
|
+
* "Chill",
|
|
3260
|
+
* "Deep convos",
|
|
3261
|
+
* "Early bird"
|
|
3262
|
+
* ]
|
|
3263
|
+
*/
|
|
3264
|
+
vibes?: string[];
|
|
3265
|
+
/**
|
|
3266
|
+
* @description Sobriety start date
|
|
3267
|
+
* @example 2024-01-01T00:00:00.000Z
|
|
3268
|
+
*/
|
|
3269
|
+
sobrietyDate?: string;
|
|
3137
3270
|
/** @example 52.52 */
|
|
3138
3271
|
locationLat?: number;
|
|
3139
3272
|
/** @example 13.405 */
|
|
@@ -3143,11 +3276,14 @@ export interface components {
|
|
|
3143
3276
|
/** @example 500 */
|
|
3144
3277
|
locationRadius?: number;
|
|
3145
3278
|
/**
|
|
3279
|
+
* @description Custom fields for storing additional user data
|
|
3146
3280
|
* @example {
|
|
3147
3281
|
* "drinkingIdentity": "sober_curious"
|
|
3148
3282
|
* }
|
|
3149
3283
|
*/
|
|
3150
|
-
customFields?:
|
|
3284
|
+
customFields?: {
|
|
3285
|
+
[key: string]: unknown;
|
|
3286
|
+
};
|
|
3151
3287
|
/** @example true */
|
|
3152
3288
|
notifyEmail?: boolean;
|
|
3153
3289
|
/** @example true */
|
|
@@ -3753,6 +3889,20 @@ export interface components {
|
|
|
3753
3889
|
whatsappGroup?: string;
|
|
3754
3890
|
/** @example https://eventbrite.com/... */
|
|
3755
3891
|
externalUrl?: string;
|
|
3892
|
+
/**
|
|
3893
|
+
* @description Event vibe/atmosphere
|
|
3894
|
+
* @example SOCIAL
|
|
3895
|
+
* @enum {string}
|
|
3896
|
+
*/
|
|
3897
|
+
vibe?: "CHILL" | "ACTIVE" | "SOCIAL" | "CREATIVE" | "DEEP_TALK" | "ADVENTURE";
|
|
3898
|
+
};
|
|
3899
|
+
EventCityDto: {
|
|
3900
|
+
/** @example city-uuid */
|
|
3901
|
+
id: string;
|
|
3902
|
+
/** @example Lisbon */
|
|
3903
|
+
name: string;
|
|
3904
|
+
/** @example Portugal */
|
|
3905
|
+
country: string;
|
|
3756
3906
|
};
|
|
3757
3907
|
EventResponseDto: {
|
|
3758
3908
|
/** @example event-123 */
|
|
@@ -3827,6 +3977,13 @@ export interface components {
|
|
|
3827
3977
|
* @example COFFEE
|
|
3828
3978
|
*/
|
|
3829
3979
|
ambientCategory?: Record<string, never>;
|
|
3980
|
+
/**
|
|
3981
|
+
* @description Event vibe/atmosphere
|
|
3982
|
+
* @enum {string}
|
|
3983
|
+
*/
|
|
3984
|
+
vibe?: "CHILL" | "ACTIVE" | "SOCIAL" | "CREATIVE" | "DEEP_TALK" | "ADVENTURE";
|
|
3985
|
+
/** @description City where event takes place */
|
|
3986
|
+
city?: components["schemas"]["EventCityDto"];
|
|
3830
3987
|
/** @example 5 */
|
|
3831
3988
|
bookingCount: number;
|
|
3832
3989
|
/** @example 3 */
|
|
@@ -3896,6 +4053,12 @@ export interface components {
|
|
|
3896
4053
|
isFeatured?: boolean;
|
|
3897
4054
|
/** @example false */
|
|
3898
4055
|
isCancelled?: boolean;
|
|
4056
|
+
/**
|
|
4057
|
+
* @description Event vibe/atmosphere
|
|
4058
|
+
* @example SOCIAL
|
|
4059
|
+
* @enum {string}
|
|
4060
|
+
*/
|
|
4061
|
+
vibe?: "CHILL" | "ACTIVE" | "SOCIAL" | "CREATIVE" | "DEEP_TALK" | "ADVENTURE";
|
|
3899
4062
|
};
|
|
3900
4063
|
NotificationResponseDto: {
|
|
3901
4064
|
/** @example notification-123 */
|
|
@@ -4035,6 +4198,89 @@ export interface components {
|
|
|
4035
4198
|
*/
|
|
4036
4199
|
notes?: string;
|
|
4037
4200
|
};
|
|
4201
|
+
EventChatResponseDto: {
|
|
4202
|
+
id: string;
|
|
4203
|
+
eventId: string;
|
|
4204
|
+
messageCount: number;
|
|
4205
|
+
memberCount: number;
|
|
4206
|
+
isActive: boolean;
|
|
4207
|
+
isLocked: boolean;
|
|
4208
|
+
/** Format: date-time */
|
|
4209
|
+
lastMessageAt?: string;
|
|
4210
|
+
/** Format: date-time */
|
|
4211
|
+
createdAt: string;
|
|
4212
|
+
eventTitle?: string;
|
|
4213
|
+
/** Format: date-time */
|
|
4214
|
+
eventStartDate?: string;
|
|
4215
|
+
};
|
|
4216
|
+
UpdateChatSettingsDto: {
|
|
4217
|
+
/** @description Lock chat (only hosts can post) */
|
|
4218
|
+
isLocked?: boolean;
|
|
4219
|
+
/** @description Deactivate chat */
|
|
4220
|
+
isActive?: boolean;
|
|
4221
|
+
};
|
|
4222
|
+
ChatMemberResponseDto: {
|
|
4223
|
+
id: string;
|
|
4224
|
+
chatId: string;
|
|
4225
|
+
userId: string;
|
|
4226
|
+
/** @enum {string} */
|
|
4227
|
+
role: "MEMBER" | "MODERATOR" | "HOST";
|
|
4228
|
+
nickname?: string;
|
|
4229
|
+
isMuted: boolean;
|
|
4230
|
+
/** Format: date-time */
|
|
4231
|
+
lastReadAt?: string;
|
|
4232
|
+
/** Format: date-time */
|
|
4233
|
+
joinedAt: string;
|
|
4234
|
+
userName?: string;
|
|
4235
|
+
userImage?: string;
|
|
4236
|
+
};
|
|
4237
|
+
UpdateMemberSettingsDto: {
|
|
4238
|
+
/** @description Mute notifications */
|
|
4239
|
+
isMuted?: boolean;
|
|
4240
|
+
/** @description Display nickname in chat */
|
|
4241
|
+
nickname?: string;
|
|
4242
|
+
};
|
|
4243
|
+
SendMessageDto: {
|
|
4244
|
+
/**
|
|
4245
|
+
* @description Message content to send to Jack AI
|
|
4246
|
+
* @example I am feeling really stressed today and having cravings
|
|
4247
|
+
*/
|
|
4248
|
+
content: string;
|
|
4249
|
+
};
|
|
4250
|
+
MessageResponseDto: {
|
|
4251
|
+
/** @example msg-123 */
|
|
4252
|
+
id: string;
|
|
4253
|
+
/** @example conv-123 */
|
|
4254
|
+
conversationId: string;
|
|
4255
|
+
/**
|
|
4256
|
+
* @example USER
|
|
4257
|
+
* @enum {string}
|
|
4258
|
+
*/
|
|
4259
|
+
role: "USER" | "ASSISTANT" | "SYSTEM";
|
|
4260
|
+
/** @example I am feeling stressed */
|
|
4261
|
+
content: string;
|
|
4262
|
+
/** @example gpt-4 */
|
|
4263
|
+
model?: Record<string, never>;
|
|
4264
|
+
/** @example 100 */
|
|
4265
|
+
promptTokens?: Record<string, never>;
|
|
4266
|
+
/** @example 50 */
|
|
4267
|
+
completionTokens?: Record<string, never>;
|
|
4268
|
+
/**
|
|
4269
|
+
* Format: date-time
|
|
4270
|
+
* @example 2024-01-01T00:00:00.000Z
|
|
4271
|
+
*/
|
|
4272
|
+
createdAt: string;
|
|
4273
|
+
};
|
|
4274
|
+
PaginatedMessagesDto: {
|
|
4275
|
+
messages: components["schemas"]["MessageResponseDto"][];
|
|
4276
|
+
total: number;
|
|
4277
|
+
hasMore: boolean;
|
|
4278
|
+
nextCursor?: string;
|
|
4279
|
+
};
|
|
4280
|
+
UpdateMessageDto: {
|
|
4281
|
+
/** @description Updated message content */
|
|
4282
|
+
content: string;
|
|
4283
|
+
};
|
|
4038
4284
|
AdminLoginDto: {
|
|
4039
4285
|
/**
|
|
4040
4286
|
* @description Admin email address
|
|
@@ -4511,26 +4757,6 @@ export interface components {
|
|
|
4511
4757
|
*/
|
|
4512
4758
|
title?: string;
|
|
4513
4759
|
};
|
|
4514
|
-
MessageResponseDto: {
|
|
4515
|
-
id: string;
|
|
4516
|
-
chatId: string;
|
|
4517
|
-
userId: string;
|
|
4518
|
-
content: string;
|
|
4519
|
-
/** @enum {string} */
|
|
4520
|
-
messageType: "TEXT" | "IMAGE" | "SYSTEM" | "ANNOUNCEMENT";
|
|
4521
|
-
imageUrl?: string;
|
|
4522
|
-
replyToId?: string;
|
|
4523
|
-
isEdited: boolean;
|
|
4524
|
-
isDeleted: boolean;
|
|
4525
|
-
/** Format: date-time */
|
|
4526
|
-
createdAt: string;
|
|
4527
|
-
/** Format: date-time */
|
|
4528
|
-
updatedAt?: string;
|
|
4529
|
-
userName?: string;
|
|
4530
|
-
userImage?: string;
|
|
4531
|
-
replyToContent?: string;
|
|
4532
|
-
replyToUserName?: string;
|
|
4533
|
-
};
|
|
4534
4760
|
ConversationWithMessagesDto: {
|
|
4535
4761
|
/** @example conv-123 */
|
|
4536
4762
|
id: string;
|
|
@@ -4556,19 +4782,6 @@ export interface components {
|
|
|
4556
4782
|
lastMessageAt?: Record<string, never>;
|
|
4557
4783
|
messages: components["schemas"]["MessageResponseDto"][];
|
|
4558
4784
|
};
|
|
4559
|
-
SendMessageDto: {
|
|
4560
|
-
/** @description Message content */
|
|
4561
|
-
content: string;
|
|
4562
|
-
/**
|
|
4563
|
-
* @default TEXT
|
|
4564
|
-
* @enum {string}
|
|
4565
|
-
*/
|
|
4566
|
-
messageType: "TEXT" | "IMAGE" | "SYSTEM" | "ANNOUNCEMENT";
|
|
4567
|
-
/** @description Image URL for image messages */
|
|
4568
|
-
imageUrl?: string;
|
|
4569
|
-
/** @description Reply to message ID */
|
|
4570
|
-
replyToId?: string;
|
|
4571
|
-
};
|
|
4572
4785
|
CheckInResponseDto: {
|
|
4573
4786
|
/** @example checkin-123 */
|
|
4574
4787
|
id: string;
|
|
@@ -5382,57 +5595,89 @@ export interface components {
|
|
|
5382
5595
|
/** @description Notes about the activity */
|
|
5383
5596
|
notes?: string;
|
|
5384
5597
|
};
|
|
5385
|
-
|
|
5598
|
+
CityResponseDto: {
|
|
5599
|
+
/** @example uuid */
|
|
5386
5600
|
id: string;
|
|
5387
|
-
|
|
5388
|
-
|
|
5601
|
+
/** @example London */
|
|
5602
|
+
name: string;
|
|
5603
|
+
/** @example United Kingdom */
|
|
5604
|
+
country: string;
|
|
5605
|
+
/** @example GB */
|
|
5606
|
+
countryCode?: Record<string, never>;
|
|
5607
|
+
/** @example Europe/London */
|
|
5608
|
+
timezone?: Record<string, never>;
|
|
5609
|
+
/** @example 51.5074 */
|
|
5610
|
+
latitude?: Record<string, never>;
|
|
5611
|
+
/** @example -0.1278 */
|
|
5612
|
+
longitude?: Record<string, never>;
|
|
5613
|
+
/** @example 1250 */
|
|
5389
5614
|
memberCount: number;
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
/**
|
|
5393
|
-
|
|
5394
|
-
/** Format: date-time */
|
|
5395
|
-
createdAt: string;
|
|
5396
|
-
eventTitle?: string;
|
|
5397
|
-
/** Format: date-time */
|
|
5398
|
-
eventStartDate?: string;
|
|
5615
|
+
/** @example true */
|
|
5616
|
+
isFeatured: boolean;
|
|
5617
|
+
/** @example England */
|
|
5618
|
+
region?: Record<string, never>;
|
|
5399
5619
|
};
|
|
5400
|
-
|
|
5401
|
-
/**
|
|
5402
|
-
|
|
5403
|
-
|
|
5404
|
-
|
|
5620
|
+
CreatePinDto: {
|
|
5621
|
+
/**
|
|
5622
|
+
* @description Type of pin: HERE_NOW or SCHEDULED
|
|
5623
|
+
* @example HERE_NOW
|
|
5624
|
+
* @enum {string}
|
|
5625
|
+
*/
|
|
5626
|
+
type: "HERE_NOW" | "SCHEDULED";
|
|
5627
|
+
/**
|
|
5628
|
+
* @description Latitude of the pin location
|
|
5629
|
+
* @example 38.7223
|
|
5630
|
+
*/
|
|
5631
|
+
latitude: number;
|
|
5632
|
+
/**
|
|
5633
|
+
* @description Longitude of the pin location
|
|
5634
|
+
* @example -9.1393
|
|
5635
|
+
*/
|
|
5636
|
+
longitude: number;
|
|
5637
|
+
/**
|
|
5638
|
+
* @description Activity description
|
|
5639
|
+
* @example Coffee
|
|
5640
|
+
*/
|
|
5641
|
+
activity: string;
|
|
5642
|
+
/**
|
|
5643
|
+
* @description Duration in hours (1-8)
|
|
5644
|
+
* @example 2
|
|
5645
|
+
*/
|
|
5646
|
+
duration?: number;
|
|
5647
|
+
/**
|
|
5648
|
+
* @description Scheduled time for SCHEDULED pins (ISO 8601)
|
|
5649
|
+
* @example 2025-01-05T18:00:00Z
|
|
5650
|
+
*/
|
|
5651
|
+
scheduledTime?: string;
|
|
5652
|
+
/**
|
|
5653
|
+
* @description Optional venue/business ID
|
|
5654
|
+
* @example clx123abc
|
|
5655
|
+
*/
|
|
5656
|
+
venueId?: string;
|
|
5405
5657
|
};
|
|
5406
|
-
|
|
5658
|
+
PinUserDto: {
|
|
5659
|
+
id: string;
|
|
5660
|
+
name?: string;
|
|
5661
|
+
profileImage?: string;
|
|
5662
|
+
};
|
|
5663
|
+
PinResponseDto: {
|
|
5407
5664
|
id: string;
|
|
5408
|
-
chatId: string;
|
|
5409
5665
|
userId: string;
|
|
5410
5666
|
/** @enum {string} */
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5667
|
+
type: "HERE_NOW" | "SCHEDULED";
|
|
5668
|
+
latitude: number;
|
|
5669
|
+
longitude: number;
|
|
5670
|
+
activity: string;
|
|
5671
|
+
venueId?: string;
|
|
5414
5672
|
/** Format: date-time */
|
|
5415
|
-
|
|
5673
|
+
scheduledTime?: string;
|
|
5416
5674
|
/** Format: date-time */
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
|
|
5423
|
-
isMuted?: boolean;
|
|
5424
|
-
/** @description Display nickname in chat */
|
|
5425
|
-
nickname?: string;
|
|
5426
|
-
};
|
|
5427
|
-
PaginatedMessagesDto: {
|
|
5428
|
-
messages: components["schemas"]["MessageResponseDto"][];
|
|
5429
|
-
total: number;
|
|
5430
|
-
hasMore: boolean;
|
|
5431
|
-
nextCursor?: string;
|
|
5432
|
-
};
|
|
5433
|
-
UpdateMessageDto: {
|
|
5434
|
-
/** @description Updated message content */
|
|
5435
|
-
content: string;
|
|
5675
|
+
expiresAt: string;
|
|
5676
|
+
/** Format: date-time */
|
|
5677
|
+
createdAt: string;
|
|
5678
|
+
user?: components["schemas"]["PinUserDto"];
|
|
5679
|
+
/** @description Distance in meters from query point */
|
|
5680
|
+
distance?: number;
|
|
5436
5681
|
};
|
|
5437
5682
|
};
|
|
5438
5683
|
responses: never;
|
|
@@ -7958,7 +8203,273 @@ export interface operations {
|
|
|
7958
8203
|
};
|
|
7959
8204
|
};
|
|
7960
8205
|
};
|
|
7961
|
-
EventsBookingController_bookEvent: {
|
|
8206
|
+
EventsBookingController_bookEvent: {
|
|
8207
|
+
parameters: {
|
|
8208
|
+
query?: never;
|
|
8209
|
+
header?: never;
|
|
8210
|
+
path: {
|
|
8211
|
+
/** @description Event ID */
|
|
8212
|
+
eventId: string;
|
|
8213
|
+
};
|
|
8214
|
+
cookie?: never;
|
|
8215
|
+
};
|
|
8216
|
+
requestBody: {
|
|
8217
|
+
content: {
|
|
8218
|
+
"application/json": components["schemas"]["CreateBookingDto"];
|
|
8219
|
+
};
|
|
8220
|
+
};
|
|
8221
|
+
responses: {
|
|
8222
|
+
/** @description Booking created successfully */
|
|
8223
|
+
201: {
|
|
8224
|
+
headers: {
|
|
8225
|
+
[name: string]: unknown;
|
|
8226
|
+
};
|
|
8227
|
+
content: {
|
|
8228
|
+
"application/json": components["schemas"]["BookingResponseDto"];
|
|
8229
|
+
};
|
|
8230
|
+
};
|
|
8231
|
+
/** @description Event is full, cancelled, or not published */
|
|
8232
|
+
400: {
|
|
8233
|
+
headers: {
|
|
8234
|
+
[name: string]: unknown;
|
|
8235
|
+
};
|
|
8236
|
+
content?: never;
|
|
8237
|
+
};
|
|
8238
|
+
/** @description Event not found */
|
|
8239
|
+
404: {
|
|
8240
|
+
headers: {
|
|
8241
|
+
[name: string]: unknown;
|
|
8242
|
+
};
|
|
8243
|
+
content?: never;
|
|
8244
|
+
};
|
|
8245
|
+
/** @description User already has a booking for this event */
|
|
8246
|
+
409: {
|
|
8247
|
+
headers: {
|
|
8248
|
+
[name: string]: unknown;
|
|
8249
|
+
};
|
|
8250
|
+
content?: never;
|
|
8251
|
+
};
|
|
8252
|
+
};
|
|
8253
|
+
};
|
|
8254
|
+
UsersBookingController_getMyBookings: {
|
|
8255
|
+
parameters: {
|
|
8256
|
+
query?: {
|
|
8257
|
+
/** @description Page number */
|
|
8258
|
+
page?: number;
|
|
8259
|
+
/** @description Items per page */
|
|
8260
|
+
limit?: number;
|
|
8261
|
+
/** @description Filter by booking status */
|
|
8262
|
+
status?: "PENDING" | "CONFIRMED" | "WAITLISTED" | "CANCELLED" | "NO_SHOW";
|
|
8263
|
+
/** @description Filter by event ID */
|
|
8264
|
+
eventId?: string;
|
|
8265
|
+
};
|
|
8266
|
+
header?: never;
|
|
8267
|
+
path?: never;
|
|
8268
|
+
cookie?: never;
|
|
8269
|
+
};
|
|
8270
|
+
requestBody?: never;
|
|
8271
|
+
responses: {
|
|
8272
|
+
/** @description List of user bookings */
|
|
8273
|
+
200: {
|
|
8274
|
+
headers: {
|
|
8275
|
+
[name: string]: unknown;
|
|
8276
|
+
};
|
|
8277
|
+
content?: never;
|
|
8278
|
+
};
|
|
8279
|
+
};
|
|
8280
|
+
};
|
|
8281
|
+
EventChatController_getChat: {
|
|
8282
|
+
parameters: {
|
|
8283
|
+
query?: never;
|
|
8284
|
+
header?: never;
|
|
8285
|
+
path: {
|
|
8286
|
+
/** @description Event ID */
|
|
8287
|
+
eventId: string;
|
|
8288
|
+
};
|
|
8289
|
+
cookie?: never;
|
|
8290
|
+
};
|
|
8291
|
+
requestBody?: never;
|
|
8292
|
+
responses: {
|
|
8293
|
+
/** @description Chat details */
|
|
8294
|
+
200: {
|
|
8295
|
+
headers: {
|
|
8296
|
+
[name: string]: unknown;
|
|
8297
|
+
};
|
|
8298
|
+
content: {
|
|
8299
|
+
"application/json": components["schemas"]["EventChatResponseDto"];
|
|
8300
|
+
};
|
|
8301
|
+
};
|
|
8302
|
+
};
|
|
8303
|
+
};
|
|
8304
|
+
EventChatController_updateSettings: {
|
|
8305
|
+
parameters: {
|
|
8306
|
+
query?: never;
|
|
8307
|
+
header?: never;
|
|
8308
|
+
path: {
|
|
8309
|
+
/** @description Event ID */
|
|
8310
|
+
eventId: string;
|
|
8311
|
+
};
|
|
8312
|
+
cookie?: never;
|
|
8313
|
+
};
|
|
8314
|
+
requestBody: {
|
|
8315
|
+
content: {
|
|
8316
|
+
"application/json": components["schemas"]["UpdateChatSettingsDto"];
|
|
8317
|
+
};
|
|
8318
|
+
};
|
|
8319
|
+
responses: {
|
|
8320
|
+
/** @description Chat settings updated */
|
|
8321
|
+
200: {
|
|
8322
|
+
headers: {
|
|
8323
|
+
[name: string]: unknown;
|
|
8324
|
+
};
|
|
8325
|
+
content: {
|
|
8326
|
+
"application/json": components["schemas"]["EventChatResponseDto"];
|
|
8327
|
+
};
|
|
8328
|
+
};
|
|
8329
|
+
};
|
|
8330
|
+
};
|
|
8331
|
+
EventChatController_joinChat: {
|
|
8332
|
+
parameters: {
|
|
8333
|
+
query?: never;
|
|
8334
|
+
header?: never;
|
|
8335
|
+
path: {
|
|
8336
|
+
/** @description Event ID */
|
|
8337
|
+
eventId: string;
|
|
8338
|
+
};
|
|
8339
|
+
cookie?: never;
|
|
8340
|
+
};
|
|
8341
|
+
requestBody?: never;
|
|
8342
|
+
responses: {
|
|
8343
|
+
/** @description Joined chat successfully */
|
|
8344
|
+
200: {
|
|
8345
|
+
headers: {
|
|
8346
|
+
[name: string]: unknown;
|
|
8347
|
+
};
|
|
8348
|
+
content: {
|
|
8349
|
+
"application/json": components["schemas"]["ChatMemberResponseDto"];
|
|
8350
|
+
};
|
|
8351
|
+
};
|
|
8352
|
+
};
|
|
8353
|
+
};
|
|
8354
|
+
EventChatController_leaveChat: {
|
|
8355
|
+
parameters: {
|
|
8356
|
+
query?: never;
|
|
8357
|
+
header?: never;
|
|
8358
|
+
path: {
|
|
8359
|
+
/** @description Event ID */
|
|
8360
|
+
eventId: string;
|
|
8361
|
+
};
|
|
8362
|
+
cookie?: never;
|
|
8363
|
+
};
|
|
8364
|
+
requestBody?: never;
|
|
8365
|
+
responses: {
|
|
8366
|
+
/** @description Left chat successfully */
|
|
8367
|
+
204: {
|
|
8368
|
+
headers: {
|
|
8369
|
+
[name: string]: unknown;
|
|
8370
|
+
};
|
|
8371
|
+
content?: never;
|
|
8372
|
+
};
|
|
8373
|
+
};
|
|
8374
|
+
};
|
|
8375
|
+
EventChatController_getMembers: {
|
|
8376
|
+
parameters: {
|
|
8377
|
+
query?: never;
|
|
8378
|
+
header?: never;
|
|
8379
|
+
path: {
|
|
8380
|
+
/** @description Event ID */
|
|
8381
|
+
eventId: string;
|
|
8382
|
+
};
|
|
8383
|
+
cookie?: never;
|
|
8384
|
+
};
|
|
8385
|
+
requestBody?: never;
|
|
8386
|
+
responses: {
|
|
8387
|
+
/** @description List of chat members */
|
|
8388
|
+
200: {
|
|
8389
|
+
headers: {
|
|
8390
|
+
[name: string]: unknown;
|
|
8391
|
+
};
|
|
8392
|
+
content: {
|
|
8393
|
+
"application/json": components["schemas"]["ChatMemberResponseDto"][];
|
|
8394
|
+
};
|
|
8395
|
+
};
|
|
8396
|
+
};
|
|
8397
|
+
};
|
|
8398
|
+
EventChatController_updateMySettings: {
|
|
8399
|
+
parameters: {
|
|
8400
|
+
query?: never;
|
|
8401
|
+
header?: never;
|
|
8402
|
+
path: {
|
|
8403
|
+
/** @description Event ID */
|
|
8404
|
+
eventId: string;
|
|
8405
|
+
};
|
|
8406
|
+
cookie?: never;
|
|
8407
|
+
};
|
|
8408
|
+
requestBody: {
|
|
8409
|
+
content: {
|
|
8410
|
+
"application/json": components["schemas"]["UpdateMemberSettingsDto"];
|
|
8411
|
+
};
|
|
8412
|
+
};
|
|
8413
|
+
responses: {
|
|
8414
|
+
/** @description Settings updated */
|
|
8415
|
+
200: {
|
|
8416
|
+
headers: {
|
|
8417
|
+
[name: string]: unknown;
|
|
8418
|
+
};
|
|
8419
|
+
content: {
|
|
8420
|
+
"application/json": components["schemas"]["ChatMemberResponseDto"];
|
|
8421
|
+
};
|
|
8422
|
+
};
|
|
8423
|
+
};
|
|
8424
|
+
};
|
|
8425
|
+
EventChatController_markAsRead: {
|
|
8426
|
+
parameters: {
|
|
8427
|
+
query?: never;
|
|
8428
|
+
header?: never;
|
|
8429
|
+
path: {
|
|
8430
|
+
/** @description Event ID */
|
|
8431
|
+
eventId: string;
|
|
8432
|
+
};
|
|
8433
|
+
cookie?: never;
|
|
8434
|
+
};
|
|
8435
|
+
requestBody?: never;
|
|
8436
|
+
responses: {
|
|
8437
|
+
/** @description Messages marked as read */
|
|
8438
|
+
204: {
|
|
8439
|
+
headers: {
|
|
8440
|
+
[name: string]: unknown;
|
|
8441
|
+
};
|
|
8442
|
+
content?: never;
|
|
8443
|
+
};
|
|
8444
|
+
};
|
|
8445
|
+
};
|
|
8446
|
+
EventChatController_getMessages: {
|
|
8447
|
+
parameters: {
|
|
8448
|
+
query?: {
|
|
8449
|
+
limit?: number;
|
|
8450
|
+
cursor?: string;
|
|
8451
|
+
};
|
|
8452
|
+
header?: never;
|
|
8453
|
+
path: {
|
|
8454
|
+
/** @description Event ID */
|
|
8455
|
+
eventId: string;
|
|
8456
|
+
};
|
|
8457
|
+
cookie?: never;
|
|
8458
|
+
};
|
|
8459
|
+
requestBody?: never;
|
|
8460
|
+
responses: {
|
|
8461
|
+
/** @description Paginated messages */
|
|
8462
|
+
200: {
|
|
8463
|
+
headers: {
|
|
8464
|
+
[name: string]: unknown;
|
|
8465
|
+
};
|
|
8466
|
+
content: {
|
|
8467
|
+
"application/json": components["schemas"]["PaginatedMessagesDto"];
|
|
8468
|
+
};
|
|
8469
|
+
};
|
|
8470
|
+
};
|
|
8471
|
+
};
|
|
8472
|
+
EventChatController_sendMessage: {
|
|
7962
8473
|
parameters: {
|
|
7963
8474
|
query?: never;
|
|
7964
8475
|
header?: never;
|
|
@@ -7970,62 +8481,66 @@ export interface operations {
|
|
|
7970
8481
|
};
|
|
7971
8482
|
requestBody: {
|
|
7972
8483
|
content: {
|
|
7973
|
-
"application/json": components["schemas"]["
|
|
8484
|
+
"application/json": components["schemas"]["SendMessageDto"];
|
|
7974
8485
|
};
|
|
7975
8486
|
};
|
|
7976
8487
|
responses: {
|
|
7977
|
-
/** @description
|
|
8488
|
+
/** @description Message sent */
|
|
7978
8489
|
201: {
|
|
7979
8490
|
headers: {
|
|
7980
8491
|
[name: string]: unknown;
|
|
7981
8492
|
};
|
|
7982
8493
|
content: {
|
|
7983
|
-
"application/json": components["schemas"]["
|
|
8494
|
+
"application/json": components["schemas"]["MessageResponseDto"];
|
|
7984
8495
|
};
|
|
7985
8496
|
};
|
|
7986
|
-
|
|
7987
|
-
|
|
7988
|
-
|
|
7989
|
-
|
|
7990
|
-
|
|
7991
|
-
|
|
8497
|
+
};
|
|
8498
|
+
};
|
|
8499
|
+
EventChatController_updateMessage: {
|
|
8500
|
+
parameters: {
|
|
8501
|
+
query?: never;
|
|
8502
|
+
header?: never;
|
|
8503
|
+
path: {
|
|
8504
|
+
/** @description Message ID */
|
|
8505
|
+
messageId: string;
|
|
8506
|
+
/** @description Event ID */
|
|
8507
|
+
eventId: unknown;
|
|
7992
8508
|
};
|
|
7993
|
-
|
|
7994
|
-
|
|
7995
|
-
|
|
7996
|
-
|
|
7997
|
-
|
|
7998
|
-
content?: never;
|
|
8509
|
+
cookie?: never;
|
|
8510
|
+
};
|
|
8511
|
+
requestBody: {
|
|
8512
|
+
content: {
|
|
8513
|
+
"application/json": components["schemas"]["UpdateMessageDto"];
|
|
7999
8514
|
};
|
|
8000
|
-
|
|
8001
|
-
|
|
8515
|
+
};
|
|
8516
|
+
responses: {
|
|
8517
|
+
/** @description Message updated */
|
|
8518
|
+
200: {
|
|
8002
8519
|
headers: {
|
|
8003
8520
|
[name: string]: unknown;
|
|
8004
8521
|
};
|
|
8005
|
-
content
|
|
8522
|
+
content: {
|
|
8523
|
+
"application/json": components["schemas"]["MessageResponseDto"];
|
|
8524
|
+
};
|
|
8006
8525
|
};
|
|
8007
8526
|
};
|
|
8008
8527
|
};
|
|
8009
|
-
|
|
8528
|
+
EventChatController_deleteMessage: {
|
|
8010
8529
|
parameters: {
|
|
8011
|
-
query?:
|
|
8012
|
-
/** @description Page number */
|
|
8013
|
-
page?: number;
|
|
8014
|
-
/** @description Items per page */
|
|
8015
|
-
limit?: number;
|
|
8016
|
-
/** @description Filter by booking status */
|
|
8017
|
-
status?: "PENDING" | "CONFIRMED" | "WAITLISTED" | "CANCELLED" | "NO_SHOW";
|
|
8018
|
-
/** @description Filter by event ID */
|
|
8019
|
-
eventId?: string;
|
|
8020
|
-
};
|
|
8530
|
+
query?: never;
|
|
8021
8531
|
header?: never;
|
|
8022
|
-
path
|
|
8532
|
+
path: {
|
|
8533
|
+
/** @description Message ID */
|
|
8534
|
+
messageId: string;
|
|
8535
|
+
/** @description Event ID */
|
|
8536
|
+
eventId: unknown;
|
|
8537
|
+
};
|
|
8023
8538
|
cookie?: never;
|
|
8024
8539
|
};
|
|
8025
8540
|
requestBody?: never;
|
|
8026
8541
|
responses: {
|
|
8027
|
-
/** @description
|
|
8028
|
-
|
|
8542
|
+
/** @description Message deleted */
|
|
8543
|
+
204: {
|
|
8029
8544
|
headers: {
|
|
8030
8545
|
[name: string]: unknown;
|
|
8031
8546
|
};
|
|
@@ -10566,93 +11081,55 @@ export interface operations {
|
|
|
10566
11081
|
};
|
|
10567
11082
|
};
|
|
10568
11083
|
};
|
|
10569
|
-
|
|
11084
|
+
CitiesController_findAll: {
|
|
10570
11085
|
parameters: {
|
|
10571
|
-
query?:
|
|
10572
|
-
|
|
10573
|
-
|
|
10574
|
-
/** @description
|
|
10575
|
-
|
|
10576
|
-
|
|
10577
|
-
|
|
10578
|
-
};
|
|
10579
|
-
requestBody?: never;
|
|
10580
|
-
responses: {
|
|
10581
|
-
/** @description Chat details */
|
|
10582
|
-
200: {
|
|
10583
|
-
headers: {
|
|
10584
|
-
[name: string]: unknown;
|
|
10585
|
-
};
|
|
10586
|
-
content: {
|
|
10587
|
-
"application/json": components["schemas"]["EventChatResponseDto"];
|
|
10588
|
-
};
|
|
11086
|
+
query?: {
|
|
11087
|
+
/** @description Search by city name */
|
|
11088
|
+
search?: string;
|
|
11089
|
+
/** @description Filter by country code */
|
|
11090
|
+
countryCode?: string;
|
|
11091
|
+
/** @description Filter by featured status */
|
|
11092
|
+
isFeatured?: boolean;
|
|
10589
11093
|
};
|
|
10590
|
-
};
|
|
10591
|
-
};
|
|
10592
|
-
EventChatController_updateSettings: {
|
|
10593
|
-
parameters: {
|
|
10594
|
-
query?: never;
|
|
10595
11094
|
header?: never;
|
|
10596
|
-
path
|
|
10597
|
-
/** @description Event ID */
|
|
10598
|
-
eventId: string;
|
|
10599
|
-
};
|
|
11095
|
+
path?: never;
|
|
10600
11096
|
cookie?: never;
|
|
10601
11097
|
};
|
|
10602
|
-
requestBody
|
|
10603
|
-
content: {
|
|
10604
|
-
"application/json": components["schemas"]["UpdateChatSettingsDto"];
|
|
10605
|
-
};
|
|
10606
|
-
};
|
|
11098
|
+
requestBody?: never;
|
|
10607
11099
|
responses: {
|
|
10608
|
-
/** @description
|
|
11100
|
+
/** @description List of cities */
|
|
10609
11101
|
200: {
|
|
10610
11102
|
headers: {
|
|
10611
11103
|
[name: string]: unknown;
|
|
10612
11104
|
};
|
|
10613
11105
|
content: {
|
|
10614
|
-
"application/json": components["schemas"]["
|
|
11106
|
+
"application/json": components["schemas"]["CityResponseDto"][];
|
|
10615
11107
|
};
|
|
10616
11108
|
};
|
|
10617
11109
|
};
|
|
10618
11110
|
};
|
|
10619
|
-
|
|
11111
|
+
CitiesController_findById: {
|
|
10620
11112
|
parameters: {
|
|
10621
11113
|
query?: never;
|
|
10622
11114
|
header?: never;
|
|
10623
11115
|
path: {
|
|
10624
|
-
|
|
10625
|
-
eventId: string;
|
|
11116
|
+
id: string;
|
|
10626
11117
|
};
|
|
10627
11118
|
cookie?: never;
|
|
10628
11119
|
};
|
|
10629
11120
|
requestBody?: never;
|
|
10630
11121
|
responses: {
|
|
10631
|
-
/** @description
|
|
11122
|
+
/** @description City details */
|
|
10632
11123
|
200: {
|
|
10633
11124
|
headers: {
|
|
10634
11125
|
[name: string]: unknown;
|
|
10635
11126
|
};
|
|
10636
11127
|
content: {
|
|
10637
|
-
"application/json": components["schemas"]["
|
|
11128
|
+
"application/json": components["schemas"]["CityResponseDto"];
|
|
10638
11129
|
};
|
|
10639
11130
|
};
|
|
10640
|
-
|
|
10641
|
-
|
|
10642
|
-
EventChatController_leaveChat: {
|
|
10643
|
-
parameters: {
|
|
10644
|
-
query?: never;
|
|
10645
|
-
header?: never;
|
|
10646
|
-
path: {
|
|
10647
|
-
/** @description Event ID */
|
|
10648
|
-
eventId: string;
|
|
10649
|
-
};
|
|
10650
|
-
cookie?: never;
|
|
10651
|
-
};
|
|
10652
|
-
requestBody?: never;
|
|
10653
|
-
responses: {
|
|
10654
|
-
/** @description Left chat successfully */
|
|
10655
|
-
204: {
|
|
11131
|
+
/** @description City not found */
|
|
11132
|
+
404: {
|
|
10656
11133
|
headers: {
|
|
10657
11134
|
[name: string]: unknown;
|
|
10658
11135
|
};
|
|
@@ -10660,175 +11137,102 @@ export interface operations {
|
|
|
10660
11137
|
};
|
|
10661
11138
|
};
|
|
10662
11139
|
};
|
|
10663
|
-
|
|
10664
|
-
parameters: {
|
|
10665
|
-
query?: never;
|
|
10666
|
-
header?: never;
|
|
10667
|
-
path: {
|
|
10668
|
-
/** @description Event ID */
|
|
10669
|
-
eventId: string;
|
|
10670
|
-
};
|
|
10671
|
-
cookie?: never;
|
|
10672
|
-
};
|
|
10673
|
-
requestBody?: never;
|
|
10674
|
-
responses: {
|
|
10675
|
-
/** @description List of chat members */
|
|
10676
|
-
200: {
|
|
10677
|
-
headers: {
|
|
10678
|
-
[name: string]: unknown;
|
|
10679
|
-
};
|
|
10680
|
-
content: {
|
|
10681
|
-
"application/json": components["schemas"]["ChatMemberResponseDto"][];
|
|
10682
|
-
};
|
|
10683
|
-
};
|
|
10684
|
-
};
|
|
10685
|
-
};
|
|
10686
|
-
EventChatController_updateMySettings: {
|
|
11140
|
+
UserPinsController_createPin: {
|
|
10687
11141
|
parameters: {
|
|
10688
11142
|
query?: never;
|
|
10689
11143
|
header?: never;
|
|
10690
|
-
path
|
|
10691
|
-
/** @description Event ID */
|
|
10692
|
-
eventId: string;
|
|
10693
|
-
};
|
|
11144
|
+
path?: never;
|
|
10694
11145
|
cookie?: never;
|
|
10695
11146
|
};
|
|
10696
11147
|
requestBody: {
|
|
10697
11148
|
content: {
|
|
10698
|
-
"application/json": components["schemas"]["
|
|
11149
|
+
"application/json": components["schemas"]["CreatePinDto"];
|
|
10699
11150
|
};
|
|
10700
11151
|
};
|
|
10701
11152
|
responses: {
|
|
10702
|
-
/** @description
|
|
10703
|
-
|
|
11153
|
+
/** @description Pin created successfully */
|
|
11154
|
+
201: {
|
|
10704
11155
|
headers: {
|
|
10705
11156
|
[name: string]: unknown;
|
|
10706
11157
|
};
|
|
10707
11158
|
content: {
|
|
10708
|
-
"application/json": components["schemas"]["
|
|
11159
|
+
"application/json": components["schemas"]["PinResponseDto"];
|
|
10709
11160
|
};
|
|
10710
11161
|
};
|
|
10711
11162
|
};
|
|
10712
11163
|
};
|
|
10713
|
-
|
|
11164
|
+
UserPinsController_getMyPins: {
|
|
10714
11165
|
parameters: {
|
|
10715
11166
|
query?: never;
|
|
10716
11167
|
header?: never;
|
|
10717
|
-
path
|
|
10718
|
-
/** @description Event ID */
|
|
10719
|
-
eventId: string;
|
|
10720
|
-
};
|
|
11168
|
+
path?: never;
|
|
10721
11169
|
cookie?: never;
|
|
10722
11170
|
};
|
|
10723
11171
|
requestBody?: never;
|
|
10724
11172
|
responses: {
|
|
10725
|
-
/** @description
|
|
10726
|
-
|
|
11173
|
+
/** @description List of user pins */
|
|
11174
|
+
200: {
|
|
10727
11175
|
headers: {
|
|
10728
11176
|
[name: string]: unknown;
|
|
10729
11177
|
};
|
|
10730
|
-
content
|
|
11178
|
+
content: {
|
|
11179
|
+
"application/json": components["schemas"]["PinResponseDto"][];
|
|
11180
|
+
};
|
|
10731
11181
|
};
|
|
10732
11182
|
};
|
|
10733
11183
|
};
|
|
10734
|
-
|
|
11184
|
+
UserPinsController_getNearbyPins: {
|
|
10735
11185
|
parameters: {
|
|
10736
|
-
query
|
|
10737
|
-
|
|
10738
|
-
|
|
11186
|
+
query: {
|
|
11187
|
+
lat: number;
|
|
11188
|
+
lng: number;
|
|
11189
|
+
/** @description Radius in meters (default: 10000) */
|
|
11190
|
+
radius?: number;
|
|
10739
11191
|
};
|
|
10740
11192
|
header?: never;
|
|
10741
|
-
path
|
|
10742
|
-
/** @description Event ID */
|
|
10743
|
-
eventId: string;
|
|
10744
|
-
};
|
|
11193
|
+
path?: never;
|
|
10745
11194
|
cookie?: never;
|
|
10746
11195
|
};
|
|
10747
11196
|
requestBody?: never;
|
|
10748
11197
|
responses: {
|
|
10749
|
-
/** @description
|
|
11198
|
+
/** @description List of nearby pins with distance */
|
|
10750
11199
|
200: {
|
|
10751
11200
|
headers: {
|
|
10752
11201
|
[name: string]: unknown;
|
|
10753
11202
|
};
|
|
10754
11203
|
content: {
|
|
10755
|
-
"application/json": components["schemas"]["
|
|
11204
|
+
"application/json": components["schemas"]["PinResponseDto"][];
|
|
10756
11205
|
};
|
|
10757
11206
|
};
|
|
10758
11207
|
};
|
|
10759
11208
|
};
|
|
10760
|
-
|
|
11209
|
+
UserPinsController_deletePin: {
|
|
10761
11210
|
parameters: {
|
|
10762
11211
|
query?: never;
|
|
10763
11212
|
header?: never;
|
|
10764
11213
|
path: {
|
|
10765
|
-
|
|
10766
|
-
eventId: string;
|
|
11214
|
+
id: string;
|
|
10767
11215
|
};
|
|
10768
11216
|
cookie?: never;
|
|
10769
11217
|
};
|
|
10770
|
-
requestBody
|
|
10771
|
-
content: {
|
|
10772
|
-
"application/json": components["schemas"]["SendMessageDto"];
|
|
10773
|
-
};
|
|
10774
|
-
};
|
|
11218
|
+
requestBody?: never;
|
|
10775
11219
|
responses: {
|
|
10776
|
-
/** @description
|
|
10777
|
-
|
|
11220
|
+
/** @description Pin deleted successfully */
|
|
11221
|
+
204: {
|
|
10778
11222
|
headers: {
|
|
10779
11223
|
[name: string]: unknown;
|
|
10780
11224
|
};
|
|
10781
|
-
content
|
|
10782
|
-
"application/json": components["schemas"]["MessageResponseDto"];
|
|
10783
|
-
};
|
|
10784
|
-
};
|
|
10785
|
-
};
|
|
10786
|
-
};
|
|
10787
|
-
EventChatController_updateMessage: {
|
|
10788
|
-
parameters: {
|
|
10789
|
-
query?: never;
|
|
10790
|
-
header?: never;
|
|
10791
|
-
path: {
|
|
10792
|
-
/** @description Message ID */
|
|
10793
|
-
messageId: string;
|
|
10794
|
-
/** @description Event ID */
|
|
10795
|
-
eventId: unknown;
|
|
10796
|
-
};
|
|
10797
|
-
cookie?: never;
|
|
10798
|
-
};
|
|
10799
|
-
requestBody: {
|
|
10800
|
-
content: {
|
|
10801
|
-
"application/json": components["schemas"]["UpdateMessageDto"];
|
|
11225
|
+
content?: never;
|
|
10802
11226
|
};
|
|
10803
|
-
|
|
10804
|
-
|
|
10805
|
-
/** @description Message updated */
|
|
10806
|
-
200: {
|
|
11227
|
+
/** @description Cannot delete pins created by other users */
|
|
11228
|
+
403: {
|
|
10807
11229
|
headers: {
|
|
10808
11230
|
[name: string]: unknown;
|
|
10809
11231
|
};
|
|
10810
|
-
content
|
|
10811
|
-
"application/json": components["schemas"]["MessageResponseDto"];
|
|
10812
|
-
};
|
|
10813
|
-
};
|
|
10814
|
-
};
|
|
10815
|
-
};
|
|
10816
|
-
EventChatController_deleteMessage: {
|
|
10817
|
-
parameters: {
|
|
10818
|
-
query?: never;
|
|
10819
|
-
header?: never;
|
|
10820
|
-
path: {
|
|
10821
|
-
/** @description Message ID */
|
|
10822
|
-
messageId: string;
|
|
10823
|
-
/** @description Event ID */
|
|
10824
|
-
eventId: unknown;
|
|
11232
|
+
content?: never;
|
|
10825
11233
|
};
|
|
10826
|
-
|
|
10827
|
-
|
|
10828
|
-
requestBody?: never;
|
|
10829
|
-
responses: {
|
|
10830
|
-
/** @description Message deleted */
|
|
10831
|
-
204: {
|
|
11234
|
+
/** @description Pin not found */
|
|
11235
|
+
404: {
|
|
10832
11236
|
headers: {
|
|
10833
11237
|
[name: string]: unknown;
|
|
10834
11238
|
};
|