@growsober/types 1.0.11 → 1.0.13

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.11",
3
+ "version": "1.0.13",
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
@@ -4749,6 +4749,40 @@ export interface paths {
4749
4749
  patch?: never;
4750
4750
  trace?: never;
4751
4751
  };
4752
+ "/creators/{creatorId}/products/bookings/{bookingId}/confirm": {
4753
+ parameters: {
4754
+ query?: never;
4755
+ header?: never;
4756
+ path?: never;
4757
+ cookie?: never;
4758
+ };
4759
+ get?: never;
4760
+ put?: never;
4761
+ /** Confirm a pending booking */
4762
+ post: operations["CreatorProductsController_confirmBooking"];
4763
+ delete?: never;
4764
+ options?: never;
4765
+ head?: never;
4766
+ patch?: never;
4767
+ trace?: never;
4768
+ };
4769
+ "/creators/{creatorId}/products/bookings/{bookingId}/complete": {
4770
+ parameters: {
4771
+ query?: never;
4772
+ header?: never;
4773
+ path?: never;
4774
+ cookie?: never;
4775
+ };
4776
+ get?: never;
4777
+ put?: never;
4778
+ /** Mark a booking as complete */
4779
+ post: operations["CreatorProductsController_completeBooking"];
4780
+ delete?: never;
4781
+ options?: never;
4782
+ head?: never;
4783
+ patch?: never;
4784
+ trace?: never;
4785
+ };
4752
4786
  "/products/{productId}/book": {
4753
4787
  parameters: {
4754
4788
  query?: never;
@@ -5957,7 +5991,7 @@ export interface components {
5957
5991
  onboardedAt?: string;
5958
5992
  /**
5959
5993
  * @description Default payout currency
5960
- * @example GBP
5994
+ * @example EUR
5961
5995
  */
5962
5996
  defaultPayoutCurrency: string;
5963
5997
  /** @description Requirements that need to be addressed (if any) */
@@ -5988,7 +6022,7 @@ export interface components {
5988
6022
  availableBalance: number;
5989
6023
  /**
5990
6024
  * @description Currency code
5991
- * @example GBP
6025
+ * @example EUR
5992
6026
  */
5993
6027
  currency: string;
5994
6028
  /**
@@ -6030,7 +6064,7 @@ export interface components {
6030
6064
  platformFee: number;
6031
6065
  /**
6032
6066
  * @description Currency code
6033
- * @example GBP
6067
+ * @example EUR
6034
6068
  */
6035
6069
  currency: string;
6036
6070
  /**
@@ -7194,7 +7228,7 @@ export interface components {
7194
7228
  */
7195
7229
  certifications?: string[];
7196
7230
  /**
7197
- * @description Session rate in GBP
7231
+ * @description Session rate in EUR
7198
7232
  * @example 75
7199
7233
  */
7200
7234
  sessionRate?: number;
@@ -7249,7 +7283,7 @@ export interface components {
7249
7283
  */
7250
7284
  certifications?: string[];
7251
7285
  /**
7252
- * @description Session rate in GBP
7286
+ * @description Session rate in EUR
7253
7287
  * @example 75
7254
7288
  */
7255
7289
  sessionRate?: number;
@@ -9330,7 +9364,7 @@ export interface components {
9330
9364
  price?: Record<string, never>;
9331
9365
  /**
9332
9366
  * @description Currency code
9333
- * @example GBP
9367
+ * @example EUR
9334
9368
  */
9335
9369
  currency: string;
9336
9370
  /**
@@ -9543,17 +9577,27 @@ export interface components {
9543
9577
  description?: string;
9544
9578
  /** @example https://example.com/image.jpg */
9545
9579
  imageUrl?: string;
9580
+ /** @example Sobriety Coaching */
9581
+ category?: string;
9582
+ /**
9583
+ * @example [
9584
+ * "coaching",
9585
+ * "recovery",
9586
+ * "wellness"
9587
+ * ]
9588
+ */
9589
+ tags?: string[];
9546
9590
  /**
9547
9591
  * @example SESSION_1ON1
9548
9592
  * @enum {string}
9549
9593
  */
9550
9594
  type: "SESSION_1ON1" | "SESSION_GROUP" | "PACKAGE" | "WORKSHOP" | "CONSULTATION";
9551
9595
  /**
9552
- * @description Price in pence (5000 = £50.00)
9596
+ * @description Price in cents (5000 = 50.00)
9553
9597
  * @example 5000
9554
9598
  */
9555
9599
  price: number;
9556
- /** @example GBP */
9600
+ /** @example EUR */
9557
9601
  currency?: string;
9558
9602
  /**
9559
9603
  * @description Duration in minutes
@@ -9582,17 +9626,27 @@ export interface components {
9582
9626
  description?: string;
9583
9627
  /** @example https://example.com/image.jpg */
9584
9628
  imageUrl?: string;
9629
+ /** @example Sobriety Coaching */
9630
+ category?: string;
9631
+ /**
9632
+ * @example [
9633
+ * "coaching",
9634
+ * "recovery",
9635
+ * "wellness"
9636
+ * ]
9637
+ */
9638
+ tags?: string[];
9585
9639
  /**
9586
9640
  * @example SESSION_1ON1
9587
9641
  * @enum {string}
9588
9642
  */
9589
9643
  type?: "SESSION_1ON1" | "SESSION_GROUP" | "PACKAGE" | "WORKSHOP" | "CONSULTATION";
9590
9644
  /**
9591
- * @description Price in pence (5000 = £50.00)
9645
+ * @description Price in cents (5000 = 50.00)
9592
9646
  * @example 5000
9593
9647
  */
9594
9648
  price?: number;
9595
- /** @example GBP */
9649
+ /** @example EUR */
9596
9650
  currency?: string;
9597
9651
  /**
9598
9652
  * @description Duration in minutes
@@ -18570,6 +18624,52 @@ export interface operations {
18570
18624
  };
18571
18625
  };
18572
18626
  };
18627
+ CreatorProductsController_confirmBooking: {
18628
+ parameters: {
18629
+ query?: never;
18630
+ header?: never;
18631
+ path: {
18632
+ /** @description Booking ID */
18633
+ bookingId: string;
18634
+ /** @description Creator ID */
18635
+ creatorId: unknown;
18636
+ };
18637
+ cookie?: never;
18638
+ };
18639
+ requestBody?: never;
18640
+ responses: {
18641
+ /** @description Booking confirmed */
18642
+ 200: {
18643
+ headers: {
18644
+ [name: string]: unknown;
18645
+ };
18646
+ content?: never;
18647
+ };
18648
+ };
18649
+ };
18650
+ CreatorProductsController_completeBooking: {
18651
+ parameters: {
18652
+ query?: never;
18653
+ header?: never;
18654
+ path: {
18655
+ /** @description Booking ID */
18656
+ bookingId: string;
18657
+ /** @description Creator ID */
18658
+ creatorId: unknown;
18659
+ };
18660
+ cookie?: never;
18661
+ };
18662
+ requestBody?: never;
18663
+ responses: {
18664
+ /** @description Booking completed */
18665
+ 200: {
18666
+ headers: {
18667
+ [name: string]: unknown;
18668
+ };
18669
+ content?: never;
18670
+ };
18671
+ };
18672
+ };
18573
18673
  ProductBookingController_book: {
18574
18674
  parameters: {
18575
18675
  query?: never;