@growsober/types 1.0.6 → 1.0.7

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.
@@ -2936,6 +2936,145 @@ export interface paths {
2936
2936
  patch?: never;
2937
2937
  trace?: never;
2938
2938
  };
2939
+ "/api/v1/admin/gatherings/generate": {
2940
+ parameters: {
2941
+ query?: never;
2942
+ header?: never;
2943
+ path?: never;
2944
+ cookie?: never;
2945
+ };
2946
+ get?: never;
2947
+ put?: never;
2948
+ /** Generate ambient events from facilitator availability */
2949
+ post: operations["AdminGatheringsController_generate"];
2950
+ delete?: never;
2951
+ options?: never;
2952
+ head?: never;
2953
+ patch?: never;
2954
+ trace?: never;
2955
+ };
2956
+ "/api/v1/admin/gatherings/ambient": {
2957
+ parameters: {
2958
+ query?: never;
2959
+ header?: never;
2960
+ path?: never;
2961
+ cookie?: never;
2962
+ };
2963
+ /** Get ambient events for a date range */
2964
+ get: operations["AdminGatheringsController_getAmbientEvents"];
2965
+ put?: never;
2966
+ post?: never;
2967
+ delete?: never;
2968
+ options?: never;
2969
+ head?: never;
2970
+ patch?: never;
2971
+ trace?: never;
2972
+ };
2973
+ "/api/v1/admin/gatherings/creators/{creatorId}/suggest": {
2974
+ parameters: {
2975
+ query?: never;
2976
+ header?: never;
2977
+ path?: never;
2978
+ cookie?: never;
2979
+ };
2980
+ get?: never;
2981
+ put?: never;
2982
+ /** Generate AI gathering type suggestions for a facilitator */
2983
+ post: operations["AdminGatheringsController_suggestGatheringTypes"];
2984
+ delete?: never;
2985
+ options?: never;
2986
+ head?: never;
2987
+ patch?: never;
2988
+ trace?: never;
2989
+ };
2990
+ "/api/v1/creators/{creatorId}/gathering-types": {
2991
+ parameters: {
2992
+ query?: never;
2993
+ header?: never;
2994
+ path?: never;
2995
+ cookie?: never;
2996
+ };
2997
+ /** Get all gathering types for a creator */
2998
+ get: operations["GatheringTypesController_findAll"];
2999
+ put?: never;
3000
+ /** Create a gathering type */
3001
+ post: operations["GatheringTypesController_create"];
3002
+ delete?: never;
3003
+ options?: never;
3004
+ head?: never;
3005
+ patch?: never;
3006
+ trace?: never;
3007
+ };
3008
+ "/api/v1/creators/{creatorId}/gathering-types/approved": {
3009
+ parameters: {
3010
+ query?: never;
3011
+ header?: never;
3012
+ path?: never;
3013
+ cookie?: never;
3014
+ };
3015
+ /** Get approved gathering types for a creator */
3016
+ get: operations["GatheringTypesController_findApproved"];
3017
+ put?: never;
3018
+ post?: never;
3019
+ delete?: never;
3020
+ options?: never;
3021
+ head?: never;
3022
+ patch?: never;
3023
+ trace?: never;
3024
+ };
3025
+ "/api/v1/creators/{creatorId}/gathering-types/{id}": {
3026
+ parameters: {
3027
+ query?: never;
3028
+ header?: never;
3029
+ path?: never;
3030
+ cookie?: never;
3031
+ };
3032
+ /** Get a gathering type by ID */
3033
+ get: operations["GatheringTypesController_findOne"];
3034
+ /** Update a gathering type */
3035
+ put: operations["GatheringTypesController_update"];
3036
+ post?: never;
3037
+ /** Delete a gathering type */
3038
+ delete: operations["GatheringTypesController_delete"];
3039
+ options?: never;
3040
+ head?: never;
3041
+ patch?: never;
3042
+ trace?: never;
3043
+ };
3044
+ "/api/v1/creators/{creatorId}/gathering-types/{id}/approve": {
3045
+ parameters: {
3046
+ query?: never;
3047
+ header?: never;
3048
+ path?: never;
3049
+ cookie?: never;
3050
+ };
3051
+ get?: never;
3052
+ /** Approve a gathering type */
3053
+ put: operations["GatheringTypesController_approve"];
3054
+ post?: never;
3055
+ delete?: never;
3056
+ options?: never;
3057
+ head?: never;
3058
+ patch?: never;
3059
+ trace?: never;
3060
+ };
3061
+ "/api/v1/creators/{creatorId}/gathering-types/generate": {
3062
+ parameters: {
3063
+ query?: never;
3064
+ header?: never;
3065
+ path?: never;
3066
+ cookie?: never;
3067
+ };
3068
+ get?: never;
3069
+ put?: never;
3070
+ /** Generate AI suggestions for gathering types */
3071
+ post: operations["GatheringTypesController_generateSuggestions"];
3072
+ delete?: never;
3073
+ options?: never;
3074
+ head?: never;
3075
+ patch?: never;
3076
+ trace?: never;
3077
+ };
2939
3078
  "/api/v1/ambassadors/apply": {
2940
3079
  parameters: {
2941
3080
  query?: never;
@@ -7086,6 +7225,181 @@ export interface components {
7086
7225
  /** @description Total library content */
7087
7226
  totalContent: number;
7088
7227
  };
7228
+ GenerateGatheringsDto: {
7229
+ /** @description City ID to generate events for */
7230
+ cityId: string;
7231
+ /**
7232
+ * @description Date to generate events for (YYYY-MM-DD)
7233
+ * @example 2026-01-25
7234
+ */
7235
+ date: string;
7236
+ /**
7237
+ * @description Number of events to generate
7238
+ * @default 10
7239
+ * @example 10
7240
+ */
7241
+ count: number;
7242
+ };
7243
+ GeneratedEventDto: {
7244
+ /** @description Event ID */
7245
+ id: string;
7246
+ /** @description Event title */
7247
+ title: string;
7248
+ /**
7249
+ * Format: date-time
7250
+ * @description Event start date
7251
+ */
7252
+ startDate: string;
7253
+ /** @description Creator/facilitator name */
7254
+ creatorName: string;
7255
+ /** @description Venue name */
7256
+ venueName?: string;
7257
+ };
7258
+ GenerateGatheringsResponseDto: {
7259
+ /** @description List of generated events */
7260
+ events: components["schemas"]["GeneratedEventDto"][];
7261
+ };
7262
+ AmbientEventDto: {
7263
+ /** @description Event ID */
7264
+ id: string;
7265
+ /** @description Event title */
7266
+ title: string;
7267
+ /** @description Event description */
7268
+ description?: Record<string, never>;
7269
+ /**
7270
+ * Format: date-time
7271
+ * @description Event start date
7272
+ */
7273
+ startDate: string;
7274
+ /** @description Event end date */
7275
+ endDate?: Record<string, never>;
7276
+ /** @description Creator info */
7277
+ creator?: Record<string, never>;
7278
+ /** @description Venue info */
7279
+ venue?: Record<string, never>;
7280
+ };
7281
+ GetAmbientEventsResponseDto: {
7282
+ /** @description List of ambient events */
7283
+ events: components["schemas"]["AmbientEventDto"][];
7284
+ };
7285
+ GatheringTypeResponseDto: {
7286
+ /** @description Gathering type ID */
7287
+ id: string;
7288
+ /** @description Creator/Facilitator ID */
7289
+ creatorId: string;
7290
+ /**
7291
+ * @description Name of the gathering type
7292
+ * @example Morning Yoga in the Park
7293
+ */
7294
+ name: string;
7295
+ /** @description Description of the gathering */
7296
+ description?: Record<string, never> | null;
7297
+ /**
7298
+ * @description Duration in minutes
7299
+ * @example 60
7300
+ */
7301
+ duration: number;
7302
+ /** @description Vibes/atmosphere tags */
7303
+ vibes: string[];
7304
+ /**
7305
+ * @description Category
7306
+ * @enum {string|null}
7307
+ */
7308
+ category?: "WALK" | "COFFEE" | "MOVEMENT" | "CONVERSATION" | "CREATIVE" | "COWORKING" | null;
7309
+ /** @description Suggested price (null = free) */
7310
+ suggestedPrice?: Record<string, never> | null;
7311
+ /**
7312
+ * @description Currency
7313
+ * @example EUR
7314
+ */
7315
+ currency: string;
7316
+ /** @description Whether AI generated this suggestion */
7317
+ isAiGenerated: boolean;
7318
+ /** @description Whether the facilitator approved this */
7319
+ isApproved: boolean;
7320
+ /** @description AI prompt context for debugging */
7321
+ aiPromptContext?: Record<string, never> | null;
7322
+ /** @description Default venue ID */
7323
+ defaultVenueId?: Record<string, never> | null;
7324
+ /** @description Default venue details */
7325
+ defaultVenue?: Record<string, never> | null;
7326
+ /**
7327
+ * Format: date-time
7328
+ * @description Created timestamp
7329
+ */
7330
+ createdAt: string;
7331
+ /**
7332
+ * Format: date-time
7333
+ * @description Updated timestamp
7334
+ */
7335
+ updatedAt: string;
7336
+ };
7337
+ CreateGatheringTypeDto: {
7338
+ /**
7339
+ * @description Name of the gathering type
7340
+ * @example Morning Yoga in the Park
7341
+ */
7342
+ name: string;
7343
+ /** @description Description of the gathering */
7344
+ description?: string;
7345
+ /**
7346
+ * @description Duration in minutes
7347
+ * @default 60
7348
+ * @example 60
7349
+ */
7350
+ duration: number;
7351
+ /** @description Vibes/atmosphere tags */
7352
+ vibes?: string[];
7353
+ /**
7354
+ * @description Category
7355
+ * @enum {string}
7356
+ */
7357
+ category?: "WALK" | "COFFEE" | "MOVEMENT" | "CONVERSATION" | "CREATIVE" | "COWORKING";
7358
+ /** @description Suggested price (null = free) */
7359
+ suggestedPrice?: number;
7360
+ /**
7361
+ * @description Currency
7362
+ * @default EUR
7363
+ * @example EUR
7364
+ */
7365
+ currency: string;
7366
+ /** @description Default venue ID */
7367
+ defaultVenueId?: string;
7368
+ };
7369
+ UpdateGatheringTypeDto: {
7370
+ /**
7371
+ * @description Name of the gathering type
7372
+ * @example Morning Yoga in the Park
7373
+ */
7374
+ name?: string;
7375
+ /** @description Description of the gathering */
7376
+ description?: string;
7377
+ /**
7378
+ * @description Duration in minutes
7379
+ * @default 60
7380
+ * @example 60
7381
+ */
7382
+ duration: number;
7383
+ /** @description Vibes/atmosphere tags */
7384
+ vibes?: string[];
7385
+ /**
7386
+ * @description Category
7387
+ * @enum {string}
7388
+ */
7389
+ category?: "WALK" | "COFFEE" | "MOVEMENT" | "CONVERSATION" | "CREATIVE" | "COWORKING";
7390
+ /** @description Suggested price (null = free) */
7391
+ suggestedPrice?: number;
7392
+ /**
7393
+ * @description Currency
7394
+ * @default EUR
7395
+ * @example EUR
7396
+ */
7397
+ currency: string;
7398
+ /** @description Default venue ID */
7399
+ defaultVenueId?: string;
7400
+ /** @description Whether the gathering type is approved */
7401
+ isApproved?: boolean;
7402
+ };
7089
7403
  ApplyAmbassadorDto: {
7090
7404
  /** @description Hub ID to apply for */
7091
7405
  hubId?: string;
@@ -14544,6 +14858,277 @@ export interface operations {
14544
14858
  };
14545
14859
  };
14546
14860
  };
14861
+ AdminGatheringsController_generate: {
14862
+ parameters: {
14863
+ query?: never;
14864
+ header?: never;
14865
+ path?: never;
14866
+ cookie?: never;
14867
+ };
14868
+ requestBody: {
14869
+ content: {
14870
+ "application/json": components["schemas"]["GenerateGatheringsDto"];
14871
+ };
14872
+ };
14873
+ responses: {
14874
+ /** @description Events generated */
14875
+ 201: {
14876
+ headers: {
14877
+ [name: string]: unknown;
14878
+ };
14879
+ content: {
14880
+ "application/json": components["schemas"]["GenerateGatheringsResponseDto"];
14881
+ };
14882
+ };
14883
+ };
14884
+ };
14885
+ AdminGatheringsController_getAmbientEvents: {
14886
+ parameters: {
14887
+ query: {
14888
+ /** @description City ID to filter by */
14889
+ cityId: string;
14890
+ /** @description Start date (YYYY-MM-DD) */
14891
+ startDate: string;
14892
+ /** @description End date (YYYY-MM-DD) */
14893
+ endDate: string;
14894
+ };
14895
+ header?: never;
14896
+ path?: never;
14897
+ cookie?: never;
14898
+ };
14899
+ requestBody?: never;
14900
+ responses: {
14901
+ /** @description List of ambient events */
14902
+ 200: {
14903
+ headers: {
14904
+ [name: string]: unknown;
14905
+ };
14906
+ content: {
14907
+ "application/json": components["schemas"]["GetAmbientEventsResponseDto"];
14908
+ };
14909
+ };
14910
+ };
14911
+ };
14912
+ AdminGatheringsController_suggestGatheringTypes: {
14913
+ parameters: {
14914
+ query?: never;
14915
+ header?: never;
14916
+ path: {
14917
+ creatorId: string;
14918
+ };
14919
+ cookie?: never;
14920
+ };
14921
+ requestBody?: never;
14922
+ responses: {
14923
+ /** @description Suggestions generated */
14924
+ 201: {
14925
+ headers: {
14926
+ [name: string]: unknown;
14927
+ };
14928
+ content: {
14929
+ "application/json": components["schemas"]["GatheringTypeResponseDto"][];
14930
+ };
14931
+ };
14932
+ };
14933
+ };
14934
+ GatheringTypesController_findAll: {
14935
+ parameters: {
14936
+ query?: never;
14937
+ header?: never;
14938
+ path: {
14939
+ /** @description Creator ID */
14940
+ creatorId: string;
14941
+ };
14942
+ cookie?: never;
14943
+ };
14944
+ requestBody?: never;
14945
+ responses: {
14946
+ /** @description List of gathering types */
14947
+ 200: {
14948
+ headers: {
14949
+ [name: string]: unknown;
14950
+ };
14951
+ content: {
14952
+ "application/json": components["schemas"]["GatheringTypeResponseDto"][];
14953
+ };
14954
+ };
14955
+ };
14956
+ };
14957
+ GatheringTypesController_create: {
14958
+ parameters: {
14959
+ query?: never;
14960
+ header?: never;
14961
+ path: {
14962
+ /** @description Creator ID */
14963
+ creatorId: string;
14964
+ };
14965
+ cookie?: never;
14966
+ };
14967
+ requestBody: {
14968
+ content: {
14969
+ "application/json": components["schemas"]["CreateGatheringTypeDto"];
14970
+ };
14971
+ };
14972
+ responses: {
14973
+ /** @description Gathering type created */
14974
+ 201: {
14975
+ headers: {
14976
+ [name: string]: unknown;
14977
+ };
14978
+ content: {
14979
+ "application/json": components["schemas"]["GatheringTypeResponseDto"];
14980
+ };
14981
+ };
14982
+ };
14983
+ };
14984
+ GatheringTypesController_findApproved: {
14985
+ parameters: {
14986
+ query?: never;
14987
+ header?: never;
14988
+ path: {
14989
+ /** @description Creator ID */
14990
+ creatorId: string;
14991
+ };
14992
+ cookie?: never;
14993
+ };
14994
+ requestBody?: never;
14995
+ responses: {
14996
+ /** @description List of approved gathering types */
14997
+ 200: {
14998
+ headers: {
14999
+ [name: string]: unknown;
15000
+ };
15001
+ content: {
15002
+ "application/json": components["schemas"]["GatheringTypeResponseDto"][];
15003
+ };
15004
+ };
15005
+ };
15006
+ };
15007
+ GatheringTypesController_findOne: {
15008
+ parameters: {
15009
+ query?: never;
15010
+ header?: never;
15011
+ path: {
15012
+ /** @description Gathering type ID */
15013
+ id: string;
15014
+ /** @description Creator ID */
15015
+ creatorId: unknown;
15016
+ };
15017
+ cookie?: never;
15018
+ };
15019
+ requestBody?: never;
15020
+ responses: {
15021
+ /** @description Gathering type details */
15022
+ 200: {
15023
+ headers: {
15024
+ [name: string]: unknown;
15025
+ };
15026
+ content: {
15027
+ "application/json": components["schemas"]["GatheringTypeResponseDto"];
15028
+ };
15029
+ };
15030
+ };
15031
+ };
15032
+ GatheringTypesController_update: {
15033
+ parameters: {
15034
+ query?: never;
15035
+ header?: never;
15036
+ path: {
15037
+ /** @description Gathering type ID */
15038
+ id: string;
15039
+ /** @description Creator ID */
15040
+ creatorId: unknown;
15041
+ };
15042
+ cookie?: never;
15043
+ };
15044
+ requestBody: {
15045
+ content: {
15046
+ "application/json": components["schemas"]["UpdateGatheringTypeDto"];
15047
+ };
15048
+ };
15049
+ responses: {
15050
+ /** @description Gathering type updated */
15051
+ 200: {
15052
+ headers: {
15053
+ [name: string]: unknown;
15054
+ };
15055
+ content: {
15056
+ "application/json": components["schemas"]["GatheringTypeResponseDto"];
15057
+ };
15058
+ };
15059
+ };
15060
+ };
15061
+ GatheringTypesController_delete: {
15062
+ parameters: {
15063
+ query?: never;
15064
+ header?: never;
15065
+ path: {
15066
+ /** @description Gathering type ID */
15067
+ id: string;
15068
+ /** @description Creator ID */
15069
+ creatorId: unknown;
15070
+ };
15071
+ cookie?: never;
15072
+ };
15073
+ requestBody?: never;
15074
+ responses: {
15075
+ /** @description Gathering type deleted */
15076
+ 204: {
15077
+ headers: {
15078
+ [name: string]: unknown;
15079
+ };
15080
+ content?: never;
15081
+ };
15082
+ };
15083
+ };
15084
+ GatheringTypesController_approve: {
15085
+ parameters: {
15086
+ query?: never;
15087
+ header?: never;
15088
+ path: {
15089
+ /** @description Gathering type ID */
15090
+ id: string;
15091
+ /** @description Creator ID */
15092
+ creatorId: unknown;
15093
+ };
15094
+ cookie?: never;
15095
+ };
15096
+ requestBody?: never;
15097
+ responses: {
15098
+ /** @description Gathering type approved */
15099
+ 200: {
15100
+ headers: {
15101
+ [name: string]: unknown;
15102
+ };
15103
+ content: {
15104
+ "application/json": components["schemas"]["GatheringTypeResponseDto"];
15105
+ };
15106
+ };
15107
+ };
15108
+ };
15109
+ GatheringTypesController_generateSuggestions: {
15110
+ parameters: {
15111
+ query?: never;
15112
+ header?: never;
15113
+ path: {
15114
+ /** @description Creator ID */
15115
+ creatorId: string;
15116
+ };
15117
+ cookie?: never;
15118
+ };
15119
+ requestBody?: never;
15120
+ responses: {
15121
+ /** @description Suggestions generated */
15122
+ 201: {
15123
+ headers: {
15124
+ [name: string]: unknown;
15125
+ };
15126
+ content: {
15127
+ "application/json": components["schemas"]["GatheringTypeResponseDto"][];
15128
+ };
15129
+ };
15130
+ };
15131
+ };
14547
15132
  AmbassadorsController_apply: {
14548
15133
  parameters: {
14549
15134
  query?: never;