@growsober/types 1.0.15 → 1.0.16
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 +62 -0
- package/dist/generated.js +1 -1
- package/package.json +4 -1
- package/src/generated.ts +62 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@growsober/types",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.16",
|
|
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",
|
|
@@ -44,5 +44,8 @@
|
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"openapi-typescript": "^7.4.3",
|
|
46
46
|
"typescript": "^5.7.0"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@growsober/types": "^1.0.16"
|
|
47
50
|
}
|
|
48
51
|
}
|
package/src/generated.ts
CHANGED
|
@@ -2217,6 +2217,23 @@ export interface paths {
|
|
|
2217
2217
|
patch?: never;
|
|
2218
2218
|
trace?: never;
|
|
2219
2219
|
};
|
|
2220
|
+
"/venues/{idOrSlug}/offers": {
|
|
2221
|
+
parameters: {
|
|
2222
|
+
query?: never;
|
|
2223
|
+
header?: never;
|
|
2224
|
+
path?: never;
|
|
2225
|
+
cookie?: never;
|
|
2226
|
+
};
|
|
2227
|
+
/** Get active offers at a venue */
|
|
2228
|
+
get: operations["VenuesController_getVenueOffers"];
|
|
2229
|
+
put?: never;
|
|
2230
|
+
post?: never;
|
|
2231
|
+
delete?: never;
|
|
2232
|
+
options?: never;
|
|
2233
|
+
head?: never;
|
|
2234
|
+
patch?: never;
|
|
2235
|
+
trace?: never;
|
|
2236
|
+
};
|
|
2220
2237
|
"/creators": {
|
|
2221
2238
|
parameters: {
|
|
2222
2239
|
query?: never;
|
|
@@ -7333,6 +7350,11 @@ export interface components {
|
|
|
7333
7350
|
/** @example 2026-02-01 */
|
|
7334
7351
|
date: string;
|
|
7335
7352
|
slots: components["schemas"]["AvailableSlotDto"][];
|
|
7353
|
+
/**
|
|
7354
|
+
* @description Timezone of the slot times
|
|
7355
|
+
* @example Europe/London
|
|
7356
|
+
*/
|
|
7357
|
+
timezone: string;
|
|
7336
7358
|
};
|
|
7337
7359
|
BrandResponseDto: {
|
|
7338
7360
|
id: string;
|
|
@@ -7761,6 +7783,11 @@ export interface components {
|
|
|
7761
7783
|
* @example EUR
|
|
7762
7784
|
*/
|
|
7763
7785
|
currency: string;
|
|
7786
|
+
/**
|
|
7787
|
+
* @description Max participants
|
|
7788
|
+
* @example 20
|
|
7789
|
+
*/
|
|
7790
|
+
maxParticipants?: number | null;
|
|
7764
7791
|
/** @description Whether AI generated this suggestion */
|
|
7765
7792
|
isAiGenerated: boolean;
|
|
7766
7793
|
/** @description Whether the facilitator approved this */
|
|
@@ -7815,6 +7842,12 @@ export interface components {
|
|
|
7815
7842
|
venueType?: string;
|
|
7816
7843
|
/** @description Suggested price (null = free) */
|
|
7817
7844
|
suggestedPrice?: number;
|
|
7845
|
+
/**
|
|
7846
|
+
* @description Max participants
|
|
7847
|
+
* @default 20
|
|
7848
|
+
* @example 20
|
|
7849
|
+
*/
|
|
7850
|
+
maxParticipants: number;
|
|
7818
7851
|
/**
|
|
7819
7852
|
* @description Currency
|
|
7820
7853
|
* @default EUR
|
|
@@ -7857,6 +7890,12 @@ export interface components {
|
|
|
7857
7890
|
venueType?: string;
|
|
7858
7891
|
/** @description Suggested price (null = free) */
|
|
7859
7892
|
suggestedPrice?: number;
|
|
7893
|
+
/**
|
|
7894
|
+
* @description Max participants
|
|
7895
|
+
* @default 20
|
|
7896
|
+
* @example 20
|
|
7897
|
+
*/
|
|
7898
|
+
maxParticipants: number;
|
|
7860
7899
|
/**
|
|
7861
7900
|
* @description Currency
|
|
7862
7901
|
* @default EUR
|
|
@@ -13924,6 +13963,29 @@ export interface operations {
|
|
|
13924
13963
|
};
|
|
13925
13964
|
};
|
|
13926
13965
|
};
|
|
13966
|
+
VenuesController_getVenueOffers: {
|
|
13967
|
+
parameters: {
|
|
13968
|
+
query?: never;
|
|
13969
|
+
header?: never;
|
|
13970
|
+
path: {
|
|
13971
|
+
/** @description Venue ID or slug */
|
|
13972
|
+
idOrSlug: string;
|
|
13973
|
+
};
|
|
13974
|
+
cookie?: never;
|
|
13975
|
+
};
|
|
13976
|
+
requestBody?: never;
|
|
13977
|
+
responses: {
|
|
13978
|
+
/** @description List of active offers */
|
|
13979
|
+
200: {
|
|
13980
|
+
headers: {
|
|
13981
|
+
[name: string]: unknown;
|
|
13982
|
+
};
|
|
13983
|
+
content: {
|
|
13984
|
+
"application/json": components["schemas"]["OfferResponseDto"][];
|
|
13985
|
+
};
|
|
13986
|
+
};
|
|
13987
|
+
};
|
|
13988
|
+
};
|
|
13927
13989
|
CreatorsController_findAll: {
|
|
13928
13990
|
parameters: {
|
|
13929
13991
|
query?: {
|