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