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