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