@blezgo/api-sdk 0.1.4 → 0.1.5

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.
Files changed (137) hide show
  1. package/dist/account/generated.d.ts +193 -193
  2. package/dist/account/generated.d.ts.map +1 -1
  3. package/dist/activity/generated.d.ts +82 -82
  4. package/dist/activity/generated.d.ts.map +1 -1
  5. package/dist/addon/generated.d.ts +96 -96
  6. package/dist/addon/generated.d.ts.map +1 -1
  7. package/dist/admin/generated.d.ts +85 -85
  8. package/dist/admin/generated.d.ts.map +1 -1
  9. package/dist/affiliate/generated.d.ts +87 -87
  10. package/dist/affiliate/generated.d.ts.map +1 -1
  11. package/dist/analytics/generated.d.ts +15 -15
  12. package/dist/analytics/generated.d.ts.map +1 -1
  13. package/dist/announcements/generated.d.ts +34 -34
  14. package/dist/announcements/generated.d.ts.map +1 -1
  15. package/dist/apikeys/generated.d.ts +99 -99
  16. package/dist/apikeys/generated.d.ts.map +1 -1
  17. package/dist/assistance/generated.d.ts +15 -15
  18. package/dist/assistance/generated.d.ts.map +1 -1
  19. package/dist/authentication/generated.d.ts +74 -74
  20. package/dist/authentication/generated.d.ts.map +1 -1
  21. package/dist/blog/generated.d.ts +144 -144
  22. package/dist/blog/generated.d.ts.map +1 -1
  23. package/dist/bundle/generated.d.ts +177 -177
  24. package/dist/bundle/generated.d.ts.map +1 -1
  25. package/dist/cache/generated.d.ts +37 -37
  26. package/dist/cache/generated.d.ts.map +1 -1
  27. package/dist/calendar/generated.d.ts +69 -69
  28. package/dist/calendar/generated.d.ts.map +1 -1
  29. package/dist/campaigns/generated.d.ts +215 -215
  30. package/dist/campaigns/generated.d.ts.map +1 -1
  31. package/dist/cart/generated.d.ts +57 -57
  32. package/dist/cart/generated.d.ts.map +1 -1
  33. package/dist/changelog/generated.d.ts +103 -103
  34. package/dist/changelog/generated.d.ts.map +1 -1
  35. package/dist/channel/generated.d.ts +221 -221
  36. package/dist/channel/generated.d.ts.map +1 -1
  37. package/dist/company/generated.d.ts +35 -35
  38. package/dist/company/generated.d.ts.map +1 -1
  39. package/dist/conference/generated.d.ts +155 -155
  40. package/dist/conference/generated.d.ts.map +1 -1
  41. package/dist/config/generated.d.ts +44 -44
  42. package/dist/config/generated.d.ts.map +1 -1
  43. package/dist/content/generated.d.ts +500 -500
  44. package/dist/content/generated.d.ts.map +1 -1
  45. package/dist/cookies/generated.d.ts +89 -89
  46. package/dist/cookies/generated.d.ts.map +1 -1
  47. package/dist/courses/generated.d.ts +350 -350
  48. package/dist/courses/generated.d.ts.map +1 -1
  49. package/dist/custom/generated.d.ts +70 -70
  50. package/dist/custom/generated.d.ts.map +1 -1
  51. package/dist/dashboard/generated.d.ts +185 -185
  52. package/dist/dashboard/generated.d.ts.map +1 -1
  53. package/dist/elasticsearch/generated.d.ts +15 -15
  54. package/dist/elasticsearch/generated.d.ts.map +1 -1
  55. package/dist/enrollments/generated.d.ts +15 -15
  56. package/dist/enrollments/generated.d.ts.map +1 -1
  57. package/dist/errors/generated.d.ts +15 -15
  58. package/dist/errors/generated.d.ts.map +1 -1
  59. package/dist/eventconfig/generated.d.ts +95 -95
  60. package/dist/eventconfig/generated.d.ts.map +1 -1
  61. package/dist/funnels/generated.d.ts +131 -131
  62. package/dist/funnels/generated.d.ts.map +1 -1
  63. package/dist/gamification/generated.d.ts +144 -144
  64. package/dist/gamification/generated.d.ts.map +1 -1
  65. package/dist/impersonation/generated.d.ts +60 -60
  66. package/dist/impersonation/generated.d.ts.map +1 -1
  67. package/dist/inbox/generated.d.ts +133 -133
  68. package/dist/inbox/generated.d.ts.map +1 -1
  69. package/dist/internal/generated.d.ts +15 -15
  70. package/dist/internal/generated.d.ts.map +1 -1
  71. package/dist/internationalization/generated.d.ts +15 -15
  72. package/dist/internationalization/generated.d.ts.map +1 -1
  73. package/dist/invitations/generated.d.ts +124 -124
  74. package/dist/invitations/generated.d.ts.map +1 -1
  75. package/dist/meetings/generated.d.ts +213 -213
  76. package/dist/meetings/generated.d.ts.map +1 -1
  77. package/dist/metas/generated.d.ts +169 -169
  78. package/dist/metas/generated.d.ts.map +1 -1
  79. package/dist/notification/generated.d.ts +411 -411
  80. package/dist/notification/generated.d.ts.map +1 -1
  81. package/dist/notifications/generated.d.ts +15 -15
  82. package/dist/notifications/generated.d.ts.map +1 -1
  83. package/dist/onboarding/generated.d.ts +96 -96
  84. package/dist/onboarding/generated.d.ts.map +1 -1
  85. package/dist/packages/generated.d.ts +78 -78
  86. package/dist/packages/generated.d.ts.map +1 -1
  87. package/dist/payments/generated.d.ts +530 -530
  88. package/dist/payments/generated.d.ts.map +1 -1
  89. package/dist/payouts/generated.d.ts +15 -15
  90. package/dist/payouts/generated.d.ts.map +1 -1
  91. package/dist/plans/generated.d.ts +281 -281
  92. package/dist/plans/generated.d.ts.map +1 -1
  93. package/dist/pricing/generated.d.ts +97 -97
  94. package/dist/pricing/generated.d.ts.map +1 -1
  95. package/dist/products/generated.d.ts +491 -491
  96. package/dist/products/generated.d.ts.map +1 -1
  97. package/dist/profile/generated.d.ts +265 -265
  98. package/dist/profile/generated.d.ts.map +1 -1
  99. package/dist/reasons/generated.d.ts +100 -100
  100. package/dist/reasons/generated.d.ts.map +1 -1
  101. package/dist/registration/generated.d.ts +140 -140
  102. package/dist/registration/generated.d.ts.map +1 -1
  103. package/dist/reviews/generated.d.ts +67 -67
  104. package/dist/reviews/generated.d.ts.map +1 -1
  105. package/dist/role/generated.d.ts +216 -216
  106. package/dist/role/generated.d.ts.map +1 -1
  107. package/dist/scheduling/generated.d.ts +118 -118
  108. package/dist/scheduling/generated.d.ts.map +1 -1
  109. package/dist/services/generated.d.ts +819 -819
  110. package/dist/services/generated.d.ts.map +1 -1
  111. package/dist/sessions/generated.d.ts +236 -236
  112. package/dist/sessions/generated.d.ts.map +1 -1
  113. package/dist/spaces/generated.d.ts +423 -423
  114. package/dist/spaces/generated.d.ts.map +1 -1
  115. package/dist/storefront/generated.d.ts +15 -15
  116. package/dist/storefront/generated.d.ts.map +1 -1
  117. package/dist/support/generated.d.ts +1605 -1605
  118. package/dist/support/generated.d.ts.map +1 -1
  119. package/dist/sync/generated.d.ts +156 -156
  120. package/dist/sync/generated.d.ts.map +1 -1
  121. package/dist/tenant/generated.d.ts +435 -435
  122. package/dist/tenant/generated.d.ts.map +1 -1
  123. package/dist/testimonials/generated.d.ts +60 -60
  124. package/dist/testimonials/generated.d.ts.map +1 -1
  125. package/dist/tests/generated.d.ts +415 -415
  126. package/dist/tests/generated.d.ts.map +1 -1
  127. package/dist/tokens/generated.d.ts +48 -48
  128. package/dist/tokens/generated.d.ts.map +1 -1
  129. package/dist/uploads/generated.d.ts +56 -56
  130. package/dist/uploads/generated.d.ts.map +1 -1
  131. package/dist/upsell/generated.d.ts +86 -86
  132. package/dist/upsell/generated.d.ts.map +1 -1
  133. package/dist/user/generated.d.ts +99 -99
  134. package/dist/user/generated.d.ts.map +1 -1
  135. package/dist/webinars/generated.d.ts +185 -185
  136. package/dist/webinars/generated.d.ts.map +1 -1
  137. package/package.json +1 -1
@@ -2096,83 +2096,238 @@ export type webhooks = Record<string, never>;
2096
2096
  export interface components {
2097
2097
  schemas: {
2098
2098
  /**
2099
- * VariantItem
2100
- * @description Product variant (maps to product_variants_tbl)
2099
+ * BookingCompleteRequest
2100
+ * @description Request model for completing a booking.
2101
2101
  */
2102
- VariantItem: {
2102
+ BookingCompleteRequest: {
2103
2103
  /**
2104
- * Name
2105
- * @description Variant display name
2104
+ * Actual Duration Minutes
2105
+ * @description Actual session duration
2106
2106
  */
2107
- name: string;
2107
+ actual_duration_minutes?: number | null;
2108
2108
  /**
2109
- * Sku
2110
- * @description Stock Keeping Unit
2109
+ * Consumer Attended
2110
+ * @description Consumer attended
2111
2111
  */
2112
- sku?: string | null;
2112
+ consumer_attended?: boolean | null;
2113
2113
  /**
2114
- * Attributes
2115
- * @description Custom attributes
2114
+ * Expert Attended
2115
+ * @description Expert attended
2116
2116
  */
2117
- attributes?: {
2118
- [key: string]: unknown;
2119
- } | null;
2117
+ expert_attended?: boolean | null;
2118
+ };
2119
+ /**
2120
+ * OverrideTypeEnum
2121
+ * @description Override type enum.
2122
+ * @enum {string}
2123
+ */
2124
+ OverrideTypeEnum: "unavailable" | "custom";
2125
+ /**
2126
+ * NotificationChannelEnum
2127
+ * @description Notification channel enum.
2128
+ * @enum {string}
2129
+ */
2130
+ NotificationChannelEnum: "email" | "sms" | "push" | "inapp" | "webhook";
2131
+ /**
2132
+ * ChannelPreference
2133
+ * @description Channel-specific preference.
2134
+ */
2135
+ ChannelPreference: {
2136
+ channel: components["schemas"]["NotificationChannelEnum"];
2120
2137
  /**
2121
- * Is Default
2122
- * @description Set as default variant
2123
- * @default false
2138
+ * Enabled
2139
+ * @default true
2124
2140
  */
2125
- is_default: boolean;
2141
+ enabled: boolean;
2126
2142
  /**
2127
- * Track Inventory
2128
- * @description Track stock for this variant
2143
+ * Quiet Hours Start
2144
+ * @description Start of quiet hours (HH:MM)
2145
+ */
2146
+ quiet_hours_start?: string | null;
2147
+ /**
2148
+ * Quiet Hours End
2149
+ * @description End of quiet hours (HH:MM)
2150
+ */
2151
+ quiet_hours_end?: string | null;
2152
+ };
2153
+ /**
2154
+ * ServiceSettingsSection
2155
+ * @description Service booking configuration (maps to service_settings_tbl)
2156
+ */
2157
+ ServiceSettingsSection: {
2158
+ /**
2159
+ * Min Booking Duration
2160
+ * @description Minimum booking duration in minutes
2161
+ * @default 20
2162
+ */
2163
+ min_booking_duration: number;
2164
+ /**
2165
+ * Max Booking Duration
2166
+ * @description Maximum booking duration in minutes
2167
+ * @default 60
2168
+ */
2169
+ max_booking_duration: number;
2170
+ /**
2171
+ * Booking Duration Step
2172
+ * @description Duration increment in minutes
2173
+ * @default 15
2174
+ */
2175
+ booking_duration_step: number;
2176
+ /**
2177
+ * Booking Lead Time Value
2178
+ * @description Hours before session required
2179
+ * @default 2
2180
+ */
2181
+ booking_lead_time_value: number;
2182
+ /**
2183
+ * Booking Lead Time Handler
2184
+ * @description Who controls lead time: org, expert
2185
+ * @default org
2186
+ */
2187
+ booking_lead_time_handler: string;
2188
+ /**
2189
+ * Buffer Time Before
2190
+ * @description Minutes gap before session
2191
+ * @default 0
2192
+ */
2193
+ buffer_time_before: number;
2194
+ /**
2195
+ * Buffer Time After
2196
+ * @description Minutes gap after session
2197
+ * @default 0
2198
+ */
2199
+ buffer_time_after: number;
2200
+ /**
2201
+ * Avoid Back To Back
2202
+ * @description Enforce buffer between sessions
2129
2203
  * @default false
2130
2204
  */
2131
- track_inventory: boolean;
2205
+ avoid_back_to_back: boolean;
2132
2206
  /**
2133
- * Stock Quantity
2134
- * @description Initial stock
2207
+ * Availability Window Days
2208
+ * @description Max days ahead consumer can book
2209
+ * @default 90
2135
2210
  */
2136
- stock_quantity?: number | null;
2211
+ availability_window_days: number;
2137
2212
  /**
2138
- * Allow Backorder
2139
- * @description Allow orders when out of stock
2213
+ * First Slot Rounding
2214
+ * @description Round first available slot to nearest X minutes
2215
+ * @default 15
2216
+ */
2217
+ first_slot_rounding: number;
2218
+ /**
2219
+ * Allow Recurring Bookings
2220
+ * @description Allow recurring bookings
2140
2221
  * @default false
2141
2222
  */
2142
- allow_backorder: boolean;
2223
+ allow_recurring_bookings: boolean;
2143
2224
  /**
2144
- * Weight
2145
- * @description Weight in kg
2225
+ * Max Recurring Sessions
2226
+ * @description Max sessions in recurring series
2146
2227
  */
2147
- weight?: number | null;
2228
+ max_recurring_sessions?: number | null;
2148
2229
  /**
2149
- * Length
2150
- * @description Length in cm
2230
+ * Enable Trial Sessions
2231
+ * @description Enable trial/sample sessions
2232
+ * @default false
2151
2233
  */
2152
- length?: number | null;
2234
+ enable_trial_sessions: boolean;
2153
2235
  /**
2154
- * Width
2155
- * @description Width in cm
2236
+ * Trial Session Duration
2237
+ * @description Trial session duration in minutes
2156
2238
  */
2157
- width?: number | null;
2239
+ trial_session_duration?: number | null;
2158
2240
  /**
2159
- * Height
2160
- * @description Height in cm
2241
+ * Trial Session Price
2242
+ * @description Trial session price (0 for free)
2161
2243
  */
2162
- height?: number | null;
2244
+ trial_session_price?: number | null;
2245
+ };
2246
+ Extensions: {
2247
+ /** @example GENERIC_ERROR */
2248
+ message_code?: string;
2249
+ /** @example [] */
2250
+ invalid_params?: components["schemas"]["InvalidParam"][];
2251
+ extra_data?: Record<string, never> | null;
2252
+ /** @example Detailed debug information */
2253
+ debug?: string | null;
2254
+ };
2255
+ /**
2256
+ * CreditVoidRequest
2257
+ * @description Request model for voiding a credit.
2258
+ */
2259
+ CreditVoidRequest: {
2163
2260
  /**
2164
- * Display Order
2165
- * @description Display order
2166
- * @default 100
2261
+ * Reason
2262
+ * @description Reason for voiding
2167
2263
  */
2168
- display_order: number;
2264
+ reason?: string | null;
2265
+ };
2266
+ /**
2267
+ * ServiceType
2268
+ * @description Service type enum.
2269
+ * @enum {string}
2270
+ */
2271
+ ServiceType: "org_service" | "expert_service";
2272
+ /**
2273
+ * ServiceProductCreateRequest
2274
+ * @description Service creation request - inherits common fields, adds service-specific sections
2275
+ * @example {
2276
+ * "identity": {
2277
+ * "locale": "en-US",
2278
+ * "title": "Online Tutoring Service"
2279
+ * },
2280
+ * "pricing": {
2281
+ * "product_price": {
2282
+ * "amount": 25,
2283
+ * "currency": "USD",
2284
+ * "price_type": "one_time"
2285
+ * }
2286
+ * },
2287
+ * "product": {
2288
+ * "is_digital": true,
2289
+ * "status": "draft",
2290
+ * "visibility": "public"
2291
+ * },
2292
+ * "service": {
2293
+ * "enrollment_mode": "open",
2294
+ * "max_rate": 100,
2295
+ * "min_rate": 15,
2296
+ * "pricing_mode": "expert_defined",
2297
+ * "service_code": "online-tutoring",
2298
+ * "service_type": "expert_service"
2299
+ * },
2300
+ * "service_settings": {
2301
+ * "availability_window_days": 60,
2302
+ * "booking_duration_step": 30,
2303
+ * "max_booking_duration": 120,
2304
+ * "min_booking_duration": 30
2305
+ * }
2306
+ * }
2307
+ */
2308
+ ServiceProductCreateRequest: {
2309
+ /** @description Base product configuration */
2310
+ product: components["schemas"]["ProductSection"];
2311
+ /** @description Localized content (title, description) */
2312
+ identity: components["schemas"]["IdentitySection"];
2313
+ /** @description Pre-uploaded image IDs */
2314
+ media?: components["schemas"]["MediaSection"] | null;
2169
2315
  /**
2170
- * Metadata
2171
- * @description Flexible metadata
2316
+ * Tags
2317
+ * @description Tag IDs to associate with product
2172
2318
  */
2173
- metadata?: {
2174
- [key: string]: unknown;
2175
- } | null;
2319
+ tags?: number[] | null;
2320
+ /**
2321
+ * Variants
2322
+ * @description Product variants (optional)
2323
+ */
2324
+ variants?: components["schemas"]["VariantItem"][] | null;
2325
+ /** @description Pricing for product and variants */
2326
+ pricing?: components["schemas"]["PricingSection"] | null;
2327
+ /** @description Service-specific configuration */
2328
+ service: components["schemas"]["ServiceSection"];
2329
+ /** @description Service booking settings */
2330
+ service_settings: components["schemas"]["ServiceSettingsSection"];
2176
2331
  };
2177
2332
  /**
2178
2333
  * ServiceSettingsRequest
@@ -2257,62 +2412,122 @@ export interface components {
2257
2412
  /** Trial Limit Per Consumer */
2258
2413
  trial_limit_per_consumer?: number | null;
2259
2414
  };
2260
- /**
2261
- * FlowStepValidationRequest
2262
- * @description Request model for validating a flow step.
2263
- */
2264
- FlowStepValidationRequest: {
2265
- /**
2266
- * Step Data
2267
- * @description Data for this step
2268
- */
2269
- step_data: {
2270
- [key: string]: unknown;
2271
- };
2272
- };
2273
2415
  InvalidParam: {
2274
2416
  /** @example items[0].quantity */
2275
2417
  field?: string;
2276
2418
  /** @example Input should be greater than or equal to 1 */
2277
2419
  error?: string;
2278
2420
  };
2421
+ ErrorResponse: {
2422
+ /** @example about:blank */
2423
+ type?: string;
2424
+ /** @example GENERIC_ERROR */
2425
+ code?: string;
2426
+ /** @example Client Error */
2427
+ title?: string;
2428
+ /** @example 400 */
2429
+ status?: number;
2430
+ /** @example An error occurred */
2431
+ detail?: string;
2432
+ /** @example /v1/cart/items */
2433
+ instance?: string;
2434
+ extensions?: components["schemas"]["Extensions"];
2435
+ };
2279
2436
  /**
2280
- * ChannelPreference
2281
- * @description Channel-specific preference.
2437
+ * ExpertFeeType
2438
+ * @description Expert fee type enum.
2439
+ * @enum {string}
2282
2440
  */
2283
- ChannelPreference: {
2284
- channel: components["schemas"]["NotificationChannelEnum"];
2441
+ ExpertFeeType: "free" | "one_time" | "subscription";
2442
+ /**
2443
+ * ExpertApplyRequest
2444
+ * @description Request model for expert applying to a service.
2445
+ */
2446
+ ExpertApplyRequest: {
2285
2447
  /**
2286
- * Enabled
2287
- * @default true
2448
+ * Custom Rate
2449
+ * @description Custom rate if allowed
2288
2450
  */
2289
- enabled: boolean;
2451
+ custom_rate?: number | string | null;
2290
2452
  /**
2291
- * Quiet Hours Start
2292
- * @description Start of quiet hours (HH:MM)
2453
+ * Subjects
2454
+ * @description Subject codes/IDs
2293
2455
  */
2294
- quiet_hours_start?: string | null;
2456
+ subjects?: string[] | null;
2295
2457
  /**
2296
- * Quiet Hours End
2297
- * @description End of quiet hours (HH:MM)
2458
+ * Topics
2459
+ * @description Topic codes/IDs
2298
2460
  */
2299
- quiet_hours_end?: string | null;
2461
+ topics?: string[] | null;
2462
+ };
2463
+ /** Body_updateServiceApplication */
2464
+ Body_updateServiceApplication: {
2465
+ /**
2466
+ * Action
2467
+ * @description approve or reject
2468
+ */
2469
+ action: string;
2300
2470
  };
2301
2471
  /**
2302
- * ExpertInviteRequest
2303
- * @description Request model for inviting an expert to a service.
2472
+ * WebhookCreateRequest
2473
+ * @description Request model for creating a webhook.
2304
2474
  */
2305
- ExpertInviteRequest: {
2475
+ WebhookCreateRequest: {
2306
2476
  /**
2307
- * Expert Id
2308
- * @description User ID of expert to invite
2477
+ * Url
2478
+ * @description Webhook endpoint URL
2309
2479
  */
2310
- expert_id: number;
2480
+ url: string;
2481
+ /**
2482
+ * Events
2483
+ * @description Events to subscribe to
2484
+ */
2485
+ events: components["schemas"]["EventTypeEnum"][];
2486
+ /**
2487
+ * Secret
2488
+ * @description Secret for webhook signature
2489
+ */
2490
+ secret?: string | null;
2491
+ /**
2492
+ * Is Active
2493
+ * @description Whether webhook is active
2494
+ * @default true
2495
+ */
2496
+ is_active: boolean;
2497
+ /** Description */
2498
+ description?: string | null;
2499
+ };
2500
+ /**
2501
+ * PricePreference
2502
+ * @description Price preference for expert matching.
2503
+ * @enum {string}
2504
+ */
2505
+ PricePreference: "low" | "mid" | "high" | "any";
2506
+ /**
2507
+ * ExpertSettingsUpdateRequest
2508
+ * @description Request model for updating expert settings.
2509
+ */
2510
+ ExpertSettingsUpdateRequest: {
2311
2511
  /**
2312
2512
  * Custom Rate
2313
2513
  * @description Custom rate
2314
2514
  */
2315
2515
  custom_rate?: number | string | null;
2516
+ /**
2517
+ * Accepts New Bookings
2518
+ * @description Accepting new bookings
2519
+ */
2520
+ accepts_new_bookings?: boolean | null;
2521
+ /**
2522
+ * Max Daily Bookings
2523
+ * @description Max daily bookings
2524
+ */
2525
+ max_daily_bookings?: number | null;
2526
+ /**
2527
+ * Auto Confirm Bookings
2528
+ * @description Auto-confirm bookings
2529
+ */
2530
+ auto_confirm_bookings?: boolean | null;
2316
2531
  /**
2317
2532
  * Subjects
2318
2533
  * @description Subject codes/IDs
@@ -2325,72 +2540,96 @@ export interface components {
2325
2540
  topics?: string[] | null;
2326
2541
  };
2327
2542
  /**
2328
- * CancellationPolicyRequest
2329
- * @description Request model for cancellation policy.
2543
+ * VariantItem
2544
+ * @description Product variant (maps to product_variants_tbl)
2330
2545
  */
2331
- CancellationPolicyRequest: {
2546
+ VariantItem: {
2332
2547
  /**
2333
- * Product Code
2334
- * @description NULL for service-wide default
2548
+ * Name
2549
+ * @description Variant display name
2335
2550
  */
2336
- product_code?: string | null;
2337
- /** Consumer Cancel Allowed */
2338
- consumer_cancel_allowed?: boolean | null;
2339
- /** Consumer Cancel Window Hours */
2340
- consumer_cancel_window_hours?: number | null;
2341
- /** Consumer In Window Credit */
2342
- consumer_in_window_credit?: boolean | null;
2343
- /** Consumer Out Window Credit */
2344
- consumer_out_window_credit?: boolean | null;
2345
- /** Consumer Cancel Reason Required */
2346
- consumer_cancel_reason_required?: boolean | null;
2347
- /** Consumer Reschedule Allowed */
2348
- consumer_reschedule_allowed?: boolean | null;
2349
- /** Expert Cancel Allowed */
2350
- expert_cancel_allowed?: boolean | null;
2351
- /** Expert Cancel Window Hours */
2352
- expert_cancel_window_hours?: number | null;
2353
- /** Expert In Window Credit */
2354
- expert_in_window_credit?: boolean | null;
2355
- /** Expert Out Window Credit */
2356
- expert_out_window_credit?: boolean | null;
2357
- /** Expert Reschedule Allowed */
2358
- expert_reschedule_allowed?: boolean | null;
2359
- /** Credit Expiry Hours */
2360
- credit_expiry_hours?: number | null;
2361
- /** Credit Type */
2362
- credit_type?: string | null;
2363
- /** Credit Transferable */
2364
- credit_transferable?: boolean | null;
2551
+ name: string;
2552
+ /**
2553
+ * Sku
2554
+ * @description Stock Keeping Unit
2555
+ */
2556
+ sku?: string | null;
2557
+ /**
2558
+ * Attributes
2559
+ * @description Custom attributes
2560
+ */
2561
+ attributes?: {
2562
+ [key: string]: unknown;
2563
+ } | null;
2564
+ /**
2565
+ * Is Default
2566
+ * @description Set as default variant
2567
+ * @default false
2568
+ */
2569
+ is_default: boolean;
2570
+ /**
2571
+ * Track Inventory
2572
+ * @description Track stock for this variant
2573
+ * @default false
2574
+ */
2575
+ track_inventory: boolean;
2576
+ /**
2577
+ * Stock Quantity
2578
+ * @description Initial stock
2579
+ */
2580
+ stock_quantity?: number | null;
2581
+ /**
2582
+ * Allow Backorder
2583
+ * @description Allow orders when out of stock
2584
+ * @default false
2585
+ */
2586
+ allow_backorder: boolean;
2587
+ /**
2588
+ * Weight
2589
+ * @description Weight in kg
2590
+ */
2591
+ weight?: number | null;
2592
+ /**
2593
+ * Length
2594
+ * @description Length in cm
2595
+ */
2596
+ length?: number | null;
2597
+ /**
2598
+ * Width
2599
+ * @description Width in cm
2600
+ */
2601
+ width?: number | null;
2602
+ /**
2603
+ * Height
2604
+ * @description Height in cm
2605
+ */
2606
+ height?: number | null;
2607
+ /**
2608
+ * Display Order
2609
+ * @description Display order
2610
+ * @default 100
2611
+ */
2612
+ display_order: number;
2613
+ /**
2614
+ * Metadata
2615
+ * @description Flexible metadata
2616
+ */
2617
+ metadata?: {
2618
+ [key: string]: unknown;
2619
+ } | null;
2365
2620
  };
2366
2621
  /**
2367
- * LocationTypeEnum
2368
- * @description Location type enum.
2369
- * @enum {string}
2370
- */
2371
- LocationTypeEnum: "online" | "in_person";
2372
- /**
2373
- * EventPreference
2374
- * @description Preference for a specific event type.
2622
+ * FlowStepValidationRequest
2623
+ * @description Request model for validating a flow step.
2375
2624
  */
2376
- EventPreference: {
2377
- event_type: components["schemas"]["EventTypeEnum"];
2625
+ FlowStepValidationRequest: {
2378
2626
  /**
2379
- * Enabled
2380
- * @default true
2627
+ * Step Data
2628
+ * @description Data for this step
2381
2629
  */
2382
- enabled: boolean;
2383
- /** Channels */
2384
- channels?: components["schemas"]["NotificationChannelEnum"][];
2385
- };
2386
- Extensions: {
2387
- /** @example GENERIC_ERROR */
2388
- message_code?: string;
2389
- /** @example [] */
2390
- invalid_params?: components["schemas"]["InvalidParam"][];
2391
- extra_data?: Record<string, never> | null;
2392
- /** @example Detailed debug information */
2393
- debug?: string | null;
2630
+ step_data: {
2631
+ [key: string]: unknown;
2632
+ };
2394
2633
  };
2395
2634
  /**
2396
2635
  * ServiceUpdateRequest
@@ -2429,138 +2668,90 @@ export interface components {
2429
2668
  status?: components["schemas"]["ServiceStatus"] | null;
2430
2669
  };
2431
2670
  /**
2432
- * ServiceSection
2433
- * @description Service-specific fields (maps to service_tbl)
2671
+ * SendNotificationRequest
2672
+ * @description Request model for sending a manual notification.
2434
2673
  */
2435
- ServiceSection: {
2436
- /**
2437
- * Service Code
2438
- * @description Unique code within org: online-tutoring, makeup-services
2439
- */
2440
- service_code: string;
2441
- /**
2442
- * Service Type
2443
- * @description org_service (SRV-at-org), expert_service (SRV-at-exp)
2444
- */
2445
- service_type: string;
2446
- /**
2447
- * Enrollment Mode
2448
- * @description open, closed, invite_only, auto_approve
2449
- * @default open
2450
- */
2451
- enrollment_mode: string;
2452
- /**
2453
- * Enrollment Requires Approval
2454
- * @description Admin must approve expert applications
2455
- * @default true
2456
- */
2457
- enrollment_requires_approval: boolean;
2458
- /**
2459
- * Max Experts
2460
- * @description Maximum experts allowed (NULL = unlimited)
2461
- */
2462
- max_experts?: number | null;
2463
- /**
2464
- * Pricing Mode
2465
- * @description org_flat_rate, expert_defined
2466
- * @default expert_defined
2467
- */
2468
- pricing_mode: string;
2469
- /**
2470
- * Org Flat Rate
2471
- * @description Flat rate if pricing_mode=org_flat_rate
2472
- */
2473
- org_flat_rate?: number | null;
2474
- /**
2475
- * Currency
2476
- * @description Currency code: USD, EUR, INR
2477
- * @default USD
2478
- */
2479
- currency: string;
2480
- /**
2481
- * Min Rate
2482
- * @description Minimum rate for experts (rate constraint)
2483
- */
2484
- min_rate?: number | null;
2674
+ SendNotificationRequest: {
2675
+ /** @description Event type to trigger */
2676
+ event_type: components["schemas"]["EventTypeEnum"];
2485
2677
  /**
2486
- * Max Rate
2487
- * @description Maximum rate for experts (rate constraint)
2678
+ * Recipient Type
2679
+ * @description Recipient type: consumer, expert, or admin
2488
2680
  */
2489
- max_rate?: number | null;
2681
+ recipient_type: string;
2490
2682
  /**
2491
- * Site Level
2492
- * @description True = org products (SRV-at-org), False = expert products (SRV-at-exp)
2493
- * @default true
2683
+ * Recipient Id
2684
+ * @description User ID of recipient
2494
2685
  */
2495
- site_level: boolean;
2496
- };
2497
- /**
2498
- * WeeklyTemplateRequest
2499
- * @description Request model for updating weekly availability template.
2500
- */
2501
- WeeklyTemplateRequest: {
2686
+ recipient_id: number;
2502
2687
  /**
2503
- * Timezone
2504
- * @description Expert's timezone (IANA format)
2505
- * @default UTC
2688
+ * Booking Id
2689
+ * @description Related booking ID
2506
2690
  */
2507
- timezone: string;
2508
- /** Sunday */
2509
- sunday?: components["schemas"]["TimeSlotRequest"][] | null;
2510
- /** Monday */
2511
- monday?: components["schemas"]["TimeSlotRequest"][] | null;
2512
- /** Tuesday */
2513
- tuesday?: components["schemas"]["TimeSlotRequest"][] | null;
2514
- /** Wednesday */
2515
- wednesday?: components["schemas"]["TimeSlotRequest"][] | null;
2516
- /** Thursday */
2517
- thursday?: components["schemas"]["TimeSlotRequest"][] | null;
2518
- /** Friday */
2519
- friday?: components["schemas"]["TimeSlotRequest"][] | null;
2520
- /** Saturday */
2521
- saturday?: components["schemas"]["TimeSlotRequest"][] | null;
2691
+ booking_id?: string | null;
2692
+ /**
2693
+ * Channels
2694
+ * @description Override channels (uses defaults if not provided)
2695
+ */
2696
+ channels?: components["schemas"]["NotificationChannelEnum"][] | null;
2697
+ /**
2698
+ * Extra Data
2699
+ * @description Additional data for templates
2700
+ */
2701
+ extra_data?: {
2702
+ [key: string]: unknown;
2703
+ } | null;
2522
2704
  };
2523
2705
  /**
2524
- * ExpertMatchRequest
2525
- * @description Request model for expert matching.
2706
+ * ProductSection
2707
+ * @description Base product fields (maps to product_tbl)
2526
2708
  */
2527
- ExpertMatchRequest: {
2709
+ ProductSection: {
2528
2710
  /**
2529
- * Subject Id
2530
- * @description Required subject
2711
+ * Visibility
2712
+ * @description public, private, hidden, unlisted
2713
+ * @default public
2531
2714
  */
2532
- subject_id?: string | null;
2715
+ visibility: string;
2533
2716
  /**
2534
- * Topic Id
2535
- * @description Optional topic
2717
+ * Is Digital
2718
+ * @description Digital product flag
2719
+ * @default true
2536
2720
  */
2537
- topic_id?: string | null;
2721
+ is_digital: boolean;
2538
2722
  /**
2539
- * Preferred Date
2540
- * @description Preferred date (YYYY-MM-DD)
2723
+ * Company Id
2724
+ * @description Multi-company support
2541
2725
  */
2542
- preferred_date?: string | null;
2726
+ company_id?: number | null;
2543
2727
  /**
2544
- * Preferred Time
2545
- * @description Preferred time (HH:MM)
2728
+ * Status
2729
+ * @description draft, published, archived, review_required, deleted
2730
+ * @default draft
2546
2731
  */
2547
- preferred_time?: string | null;
2732
+ status: string;
2548
2733
  /**
2549
- * Duration Minutes
2550
- * @description Session duration
2551
- * @default 30
2734
+ * Is Org Level
2735
+ * @description Org-level vs user-created product
2736
+ * @default true
2552
2737
  */
2553
- duration_minutes: number;
2738
+ is_org_level: boolean;
2554
2739
  /**
2555
- * @description Price preference
2556
- * @default any
2740
+ * Staff Id
2741
+ * @description Staff/instructor delivering product
2557
2742
  */
2558
- price_preference: components["schemas"]["PricePreference"];
2743
+ staff_id?: number | null;
2559
2744
  /**
2560
- * Min Rating
2561
- * @description Minimum rating
2745
+ * Owner Id
2746
+ * @description Owner of the product
2562
2747
  */
2563
- min_rating?: number | null;
2748
+ owner_id?: number | null;
2749
+ /**
2750
+ * Featured
2751
+ * @description Featured product flag
2752
+ * @default false
2753
+ */
2754
+ featured: boolean;
2564
2755
  };
2565
2756
  /**
2566
2757
  * BookingCreateRequest
@@ -2643,191 +2834,172 @@ export interface components {
2643
2834
  is_trial: boolean;
2644
2835
  };
2645
2836
  /**
2646
- * PricePreference
2647
- * @description Price preference for expert matching.
2648
- * @enum {string}
2649
- */
2650
- PricePreference: "low" | "mid" | "high" | "any";
2651
- /**
2652
- * IdentitySection
2653
- * @description Localized product content (maps to product_identity_tbl)
2837
+ * BookingRescheduleRequest
2838
+ * @description Request model for rescheduling a booking.
2654
2839
  */
2655
- IdentitySection: {
2656
- /**
2657
- * Locale
2658
- * @description Locale: en-US, es-PR, fr-FR, pt-BR, etc.
2659
- * @default en-US
2660
- */
2661
- locale: string;
2662
- /**
2663
- * Title
2664
- * @description Product title
2665
- */
2666
- title: string;
2667
- /**
2668
- * Subtitle
2669
- * @description Product subtitle
2670
- */
2671
- subtitle?: string | null;
2840
+ BookingRescheduleRequest: {
2672
2841
  /**
2673
- * Description
2674
- * @description Full product description
2842
+ * New Starts At
2843
+ * @description New start datetime in ISO format (UTC)
2675
2844
  */
2676
- description?: string | null;
2845
+ new_starts_at: string;
2846
+ };
2847
+ /**
2848
+ * PricingSection
2849
+ * @description Pricing configuration (optional - can have product price, variant prices, or both)
2850
+ */
2851
+ PricingSection: {
2852
+ /** @description Base product price (no variant) */
2853
+ product_price?: components["schemas"]["ProductPrice"] | null;
2677
2854
  /**
2678
- * Short Description
2679
- * @description Short description for listings/previews
2855
+ * Variant Prices
2856
+ * @description Variant-specific prices
2680
2857
  */
2681
- short_description?: string | null;
2858
+ variant_prices?: components["schemas"]["VariantPrice"][] | null;
2682
2859
  };
2683
2860
  /**
2684
- * ServiceType
2685
- * @description Service type enum.
2861
+ * ServiceStatus
2862
+ * @description Service status enum.
2686
2863
  * @enum {string}
2687
2864
  */
2688
- ServiceType: "org_service" | "expert_service";
2865
+ ServiceStatus: "draft" | "active" | "paused" | "archived";
2689
2866
  /**
2690
- * OverrideCreateRequest
2691
- * @description Request model for creating an availability override.
2867
+ * NotificationPreferencesRequest
2868
+ * @description Request model for updating notification preferences.
2692
2869
  */
2693
- OverrideCreateRequest: {
2870
+ NotificationPreferencesRequest: {
2694
2871
  /**
2695
- * Override Date
2696
- * @description Date in YYYY-MM-DD format
2872
+ * Timezone
2873
+ * @description User timezone (IANA format)
2697
2874
  */
2698
- override_date: string;
2699
- /** @description 'unavailable' or 'custom' */
2700
- override_type: components["schemas"]["OverrideTypeEnum"];
2875
+ timezone?: string | null;
2701
2876
  /**
2702
- * Starts At Time
2703
- * @description Start time for custom type (HH:MM)
2877
+ * Language
2878
+ * @description Preferred language code
2704
2879
  */
2705
- starts_at_time?: string | null;
2880
+ language?: string | null;
2706
2881
  /**
2707
- * Ends At Time
2708
- * @description End time for custom type (HH:MM)
2882
+ * Global Enabled
2883
+ * @description Master toggle for all notifications
2709
2884
  */
2710
- ends_at_time?: string | null;
2885
+ global_enabled?: boolean | null;
2886
+ /** Channel Preferences */
2887
+ channel_preferences?: components["schemas"]["ChannelPreference"][] | null;
2888
+ /** Event Preferences */
2889
+ event_preferences?: components["schemas"]["EventPreference"][] | null;
2890
+ };
2891
+ /**
2892
+ * EnrollmentMode
2893
+ * @description Expert enrollment mode enum.
2894
+ * @enum {string}
2895
+ */
2896
+ EnrollmentMode: "open" | "closed" | "invite_only" | "auto_approve";
2897
+ /**
2898
+ * WeeklyTemplateRequest
2899
+ * @description Request model for updating weekly availability template.
2900
+ */
2901
+ WeeklyTemplateRequest: {
2711
2902
  /**
2712
2903
  * Timezone
2713
- * @description Expert's timezone
2904
+ * @description Expert's timezone (IANA format)
2714
2905
  * @default UTC
2715
2906
  */
2716
2907
  timezone: string;
2717
- /**
2718
- * Reason
2719
- * @description Reason for override
2720
- */
2721
- reason?: string | null;
2908
+ /** Sunday */
2909
+ sunday?: components["schemas"]["TimeSlotRequest"][] | null;
2910
+ /** Monday */
2911
+ monday?: components["schemas"]["TimeSlotRequest"][] | null;
2912
+ /** Tuesday */
2913
+ tuesday?: components["schemas"]["TimeSlotRequest"][] | null;
2914
+ /** Wednesday */
2915
+ wednesday?: components["schemas"]["TimeSlotRequest"][] | null;
2916
+ /** Thursday */
2917
+ thursday?: components["schemas"]["TimeSlotRequest"][] | null;
2918
+ /** Friday */
2919
+ friday?: components["schemas"]["TimeSlotRequest"][] | null;
2920
+ /** Saturday */
2921
+ saturday?: components["schemas"]["TimeSlotRequest"][] | null;
2722
2922
  };
2723
2923
  /**
2724
- * BookingCompleteRequest
2725
- * @description Request model for completing a booking.
2924
+ * ExpertInviteRequest
2925
+ * @description Request model for inviting an expert to a service.
2726
2926
  */
2727
- BookingCompleteRequest: {
2927
+ ExpertInviteRequest: {
2728
2928
  /**
2729
- * Actual Duration Minutes
2730
- * @description Actual session duration
2929
+ * Expert Id
2930
+ * @description User ID of expert to invite
2731
2931
  */
2732
- actual_duration_minutes?: number | null;
2932
+ expert_id: number;
2733
2933
  /**
2734
- * Consumer Attended
2735
- * @description Consumer attended
2934
+ * Custom Rate
2935
+ * @description Custom rate
2736
2936
  */
2737
- consumer_attended?: boolean | null;
2937
+ custom_rate?: number | string | null;
2738
2938
  /**
2739
- * Expert Attended
2740
- * @description Expert attended
2939
+ * Subjects
2940
+ * @description Subject codes/IDs
2741
2941
  */
2742
- expert_attended?: boolean | null;
2942
+ subjects?: string[] | null;
2943
+ /**
2944
+ * Topics
2945
+ * @description Topic codes/IDs
2946
+ */
2947
+ topics?: string[] | null;
2743
2948
  };
2744
2949
  /**
2745
- * ServiceStatus
2746
- * @description Service status enum.
2747
- * @enum {string}
2748
- */
2749
- ServiceStatus: "draft" | "active" | "paused" | "archived";
2750
- /**
2751
- * NotificationChannelEnum
2752
- * @description Notification channel enum.
2753
- * @enum {string}
2754
- */
2755
- NotificationChannelEnum: "email" | "sms" | "push" | "inapp" | "webhook";
2756
- /**
2757
- * EnrollmentMode
2758
- * @description Expert enrollment mode enum.
2759
- * @enum {string}
2760
- */
2761
- EnrollmentMode: "open" | "closed" | "invite_only" | "auto_approve";
2762
- /**
2763
- * ExpertSettingsUpdateRequest
2764
- * @description Request model for updating expert settings.
2950
+ * BookingCancelRequest
2951
+ * @description Request model for cancelling a booking.
2765
2952
  */
2766
- ExpertSettingsUpdateRequest: {
2953
+ BookingCancelRequest: {
2767
2954
  /**
2768
- * Custom Rate
2769
- * @description Custom rate
2955
+ * Cancel Reason Id
2956
+ * @description Reason ID from msd_reasons_tbl
2770
2957
  */
2771
- custom_rate?: number | string | null;
2958
+ cancel_reason_id?: number | null;
2959
+ /**
2960
+ * Cancel Reason Text
2961
+ * @description Additional cancellation reason
2962
+ */
2963
+ cancel_reason_text?: string | null;
2964
+ };
2965
+ /**
2966
+ * IdentitySection
2967
+ * @description Localized product content (maps to product_identity_tbl)
2968
+ */
2969
+ IdentitySection: {
2772
2970
  /**
2773
- * Accepts New Bookings
2774
- * @description Accepting new bookings
2971
+ * Locale
2972
+ * @description Locale: en-US, es-PR, fr-FR, pt-BR, etc.
2973
+ * @default en-US
2775
2974
  */
2776
- accepts_new_bookings?: boolean | null;
2975
+ locale: string;
2777
2976
  /**
2778
- * Max Daily Bookings
2779
- * @description Max daily bookings
2977
+ * Title
2978
+ * @description Product title
2780
2979
  */
2781
- max_daily_bookings?: number | null;
2980
+ title: string;
2782
2981
  /**
2783
- * Auto Confirm Bookings
2784
- * @description Auto-confirm bookings
2982
+ * Subtitle
2983
+ * @description Product subtitle
2785
2984
  */
2786
- auto_confirm_bookings?: boolean | null;
2985
+ subtitle?: string | null;
2787
2986
  /**
2788
- * Subjects
2789
- * @description Subject codes/IDs
2987
+ * Description
2988
+ * @description Full product description
2790
2989
  */
2791
- subjects?: string[] | null;
2990
+ description?: string | null;
2792
2991
  /**
2793
- * Topics
2794
- * @description Topic codes/IDs
2992
+ * Short Description
2993
+ * @description Short description for listings/previews
2795
2994
  */
2796
- topics?: string[] | null;
2995
+ short_description?: string | null;
2797
2996
  };
2798
2997
  /**
2799
- * BookingSourceTypeEnum
2800
- * @description Booking source type enum.
2998
+ * LocationTypeEnum
2999
+ * @description Location type enum.
2801
3000
  * @enum {string}
2802
3001
  */
2803
- BookingSourceTypeEnum: "direct_booking" | "session_pack" | "subscription" | "credit_bucket";
2804
- /**
2805
- * @example {
2806
- * "status": "success",
2807
- * "message": "Operation successful",
2808
- * "message_code": "api_suc_20001",
2809
- * "data": {},
2810
- * "metadata": {
2811
- * "timestamp": "2026-03-26T10:00:00.000Z",
2812
- * "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
2813
- * "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
2814
- * "version": "v1",
2815
- * "executionTime": 42,
2816
- * "language": "en-US"
2817
- * }
2818
- * }
2819
- */
2820
- StandardResponse: {
2821
- /** @example success */
2822
- status?: string;
2823
- data?: Record<string, never> | null;
2824
- /** @example Operation successful */
2825
- message?: string | null;
2826
- /** @example api_suc_20001 */
2827
- message_code?: string | null;
2828
- metadata?: Record<string, never> | null;
2829
- error?: components["schemas"]["ErrorResponse"];
2830
- };
3002
+ LocationTypeEnum: "online" | "in_person";
2831
3003
  /**
2832
3004
  * MediaItem
2833
3005
  * @description Single media file item
@@ -2900,123 +3072,156 @@ export interface components {
2900
3072
  is_primary: boolean;
2901
3073
  };
2902
3074
  /**
2903
- * OverrideTypeEnum
2904
- * @description Override type enum.
3075
+ * TimeSlotRequest
3076
+ * @description Request model for a single time slot.
3077
+ */
3078
+ TimeSlotRequest: {
3079
+ /**
3080
+ * Starts At Time
3081
+ * @description Start time in HH:MM format
3082
+ */
3083
+ starts_at_time: string;
3084
+ /**
3085
+ * Ends At Time
3086
+ * @description End time in HH:MM format
3087
+ */
3088
+ ends_at_time: string;
3089
+ };
3090
+ /**
3091
+ * PricingMode
3092
+ * @description Service pricing mode enum.
2905
3093
  * @enum {string}
2906
3094
  */
2907
- OverrideTypeEnum: "unavailable" | "custom";
3095
+ PricingMode: "org_flat_rate" | "expert_defined";
2908
3096
  /**
2909
- * SendNotificationRequest
2910
- * @description Request model for sending a manual notification.
3097
+ * ExpertMatchRequest
3098
+ * @description Request model for expert matching.
2911
3099
  */
2912
- SendNotificationRequest: {
2913
- /** @description Event type to trigger */
2914
- event_type: components["schemas"]["EventTypeEnum"];
3100
+ ExpertMatchRequest: {
2915
3101
  /**
2916
- * Recipient Type
2917
- * @description Recipient type: consumer, expert, or admin
3102
+ * Subject Id
3103
+ * @description Required subject
2918
3104
  */
2919
- recipient_type: string;
3105
+ subject_id?: string | null;
2920
3106
  /**
2921
- * Recipient Id
2922
- * @description User ID of recipient
3107
+ * Topic Id
3108
+ * @description Optional topic
2923
3109
  */
2924
- recipient_id: number;
3110
+ topic_id?: string | null;
2925
3111
  /**
2926
- * Booking Id
2927
- * @description Related booking ID
3112
+ * Preferred Date
3113
+ * @description Preferred date (YYYY-MM-DD)
2928
3114
  */
2929
- booking_id?: string | null;
3115
+ preferred_date?: string | null;
2930
3116
  /**
2931
- * Channels
2932
- * @description Override channels (uses defaults if not provided)
3117
+ * Preferred Time
3118
+ * @description Preferred time (HH:MM)
2933
3119
  */
2934
- channels?: components["schemas"]["NotificationChannelEnum"][] | null;
3120
+ preferred_time?: string | null;
2935
3121
  /**
2936
- * Extra Data
2937
- * @description Additional data for templates
3122
+ * Duration Minutes
3123
+ * @description Session duration
3124
+ * @default 30
2938
3125
  */
2939
- extra_data?: {
2940
- [key: string]: unknown;
2941
- } | null;
2942
- };
2943
- /**
2944
- * MediaSection
2945
- * @description Product media files - direct media data
2946
- */
2947
- MediaSection: {
3126
+ duration_minutes: number;
2948
3127
  /**
2949
- * Media Items
2950
- * @description List of media files to attach to product
3128
+ * @description Price preference
3129
+ * @default any
2951
3130
  */
2952
- media_items?: components["schemas"]["MediaItem"][] | null;
3131
+ price_preference: components["schemas"]["PricePreference"];
3132
+ /**
3133
+ * Min Rating
3134
+ * @description Minimum rating
3135
+ */
3136
+ min_rating?: number | null;
2953
3137
  };
2954
3138
  /**
2955
- * BookingCancelRequest
2956
- * @description Request model for cancelling a booking.
3139
+ * EventPreference
3140
+ * @description Preference for a specific event type.
2957
3141
  */
2958
- BookingCancelRequest: {
2959
- /**
2960
- * Cancel Reason Id
2961
- * @description Reason ID from msd_reasons_tbl
2962
- */
2963
- cancel_reason_id?: number | null;
3142
+ EventPreference: {
3143
+ event_type: components["schemas"]["EventTypeEnum"];
2964
3144
  /**
2965
- * Cancel Reason Text
2966
- * @description Additional cancellation reason
3145
+ * Enabled
3146
+ * @default true
2967
3147
  */
2968
- cancel_reason_text?: string | null;
3148
+ enabled: boolean;
3149
+ /** Channels */
3150
+ channels?: components["schemas"]["NotificationChannelEnum"][];
2969
3151
  };
2970
3152
  /**
2971
- * ExpertApplyRequest
2972
- * @description Request model for expert applying to a service.
3153
+ * BookingSourceTypeEnum
3154
+ * @description Booking source type enum.
3155
+ * @enum {string}
2973
3156
  */
2974
- ExpertApplyRequest: {
2975
- /**
2976
- * Custom Rate
2977
- * @description Custom rate if allowed
2978
- */
2979
- custom_rate?: number | string | null;
2980
- /**
2981
- * Subjects
2982
- * @description Subject codes/IDs
2983
- */
2984
- subjects?: string[] | null;
2985
- /**
2986
- * Topics
2987
- * @description Topic codes/IDs
2988
- */
2989
- topics?: string[] | null;
3157
+ BookingSourceTypeEnum: "direct_booking" | "session_pack" | "subscription" | "credit_bucket";
3158
+ /**
3159
+ * @example {
3160
+ * "status": "success",
3161
+ * "message": "Operation successful",
3162
+ * "message_code": "api_suc_20001",
3163
+ * "data": {},
3164
+ * "metadata": {
3165
+ * "timestamp": "2026-03-26T10:00:00.000Z",
3166
+ * "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
3167
+ * "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
3168
+ * "version": "v1",
3169
+ * "executionTime": 42,
3170
+ * "language": "en-US"
3171
+ * }
3172
+ * }
3173
+ */
3174
+ StandardResponse: {
3175
+ /** @example success */
3176
+ status?: string;
3177
+ data?: Record<string, never> | null;
3178
+ /** @example Operation successful */
3179
+ message?: string | null;
3180
+ /** @example api_suc_20001 */
3181
+ message_code?: string | null;
3182
+ metadata?: Record<string, never> | null;
3183
+ error?: components["schemas"]["ErrorResponse"];
2990
3184
  };
2991
3185
  /**
2992
- * WebhookCreateRequest
2993
- * @description Request model for creating a webhook.
3186
+ * OverrideCreateRequest
3187
+ * @description Request model for creating an availability override.
2994
3188
  */
2995
- WebhookCreateRequest: {
3189
+ OverrideCreateRequest: {
2996
3190
  /**
2997
- * Url
2998
- * @description Webhook endpoint URL
3191
+ * Override Date
3192
+ * @description Date in YYYY-MM-DD format
2999
3193
  */
3000
- url: string;
3194
+ override_date: string;
3195
+ /** @description 'unavailable' or 'custom' */
3196
+ override_type: components["schemas"]["OverrideTypeEnum"];
3001
3197
  /**
3002
- * Events
3003
- * @description Events to subscribe to
3198
+ * Starts At Time
3199
+ * @description Start time for custom type (HH:MM)
3004
3200
  */
3005
- events: components["schemas"]["EventTypeEnum"][];
3201
+ starts_at_time?: string | null;
3006
3202
  /**
3007
- * Secret
3008
- * @description Secret for webhook signature
3203
+ * Ends At Time
3204
+ * @description End time for custom type (HH:MM)
3009
3205
  */
3010
- secret?: string | null;
3206
+ ends_at_time?: string | null;
3011
3207
  /**
3012
- * Is Active
3013
- * @description Whether webhook is active
3014
- * @default true
3208
+ * Timezone
3209
+ * @description Expert's timezone
3210
+ * @default UTC
3015
3211
  */
3016
- is_active: boolean;
3017
- /** Description */
3018
- description?: string | null;
3212
+ timezone: string;
3213
+ /**
3214
+ * Reason
3215
+ * @description Reason for override
3216
+ */
3217
+ reason?: string | null;
3019
3218
  };
3219
+ /**
3220
+ * EventTypeEnum
3221
+ * @description Booking event type enum.
3222
+ * @enum {string}
3223
+ */
3224
+ EventTypeEnum: "booking_created" | "booking_confirmed" | "booking_reminder_24h" | "booking_reminder_1h" | "booking_started" | "booking_completed" | "booking_cancelled_by_consumer" | "booking_cancelled_by_expert" | "booking_cancelled_by_admin" | "booking_rescheduled" | "booking_no_show_consumer" | "booking_no_show_expert" | "credit_issued" | "credit_expiring" | "credit_expired" | "credit_used" | "expert_application_received" | "expert_application_approved" | "expert_application_rejected" | "expert_invited" | "expert_activated" | "expert_suspended";
3020
3225
  /**
3021
3226
  * ProductPrice
3022
3227
  * @description Base product pricing (maps to product_pricings_tbl with variant_id=NULL)
@@ -3075,318 +3280,113 @@ export interface components {
3075
3280
  requires_payment_method_upfront: boolean;
3076
3281
  };
3077
3282
  /**
3078
- * ServiceSettingsSection
3079
- * @description Service booking configuration (maps to service_settings_tbl)
3080
- */
3081
- ServiceSettingsSection: {
3082
- /**
3083
- * Min Booking Duration
3084
- * @description Minimum booking duration in minutes
3085
- * @default 20
3086
- */
3087
- min_booking_duration: number;
3088
- /**
3089
- * Max Booking Duration
3090
- * @description Maximum booking duration in minutes
3091
- * @default 60
3092
- */
3093
- max_booking_duration: number;
3094
- /**
3095
- * Booking Duration Step
3096
- * @description Duration increment in minutes
3097
- * @default 15
3098
- */
3099
- booking_duration_step: number;
3100
- /**
3101
- * Booking Lead Time Value
3102
- * @description Hours before session required
3103
- * @default 2
3104
- */
3105
- booking_lead_time_value: number;
3106
- /**
3107
- * Booking Lead Time Handler
3108
- * @description Who controls lead time: org, expert
3109
- * @default org
3110
- */
3111
- booking_lead_time_handler: string;
3112
- /**
3113
- * Buffer Time Before
3114
- * @description Minutes gap before session
3115
- * @default 0
3116
- */
3117
- buffer_time_before: number;
3118
- /**
3119
- * Buffer Time After
3120
- * @description Minutes gap after session
3121
- * @default 0
3122
- */
3123
- buffer_time_after: number;
3124
- /**
3125
- * Avoid Back To Back
3126
- * @description Enforce buffer between sessions
3127
- * @default false
3128
- */
3129
- avoid_back_to_back: boolean;
3130
- /**
3131
- * Availability Window Days
3132
- * @description Max days ahead consumer can book
3133
- * @default 90
3134
- */
3135
- availability_window_days: number;
3136
- /**
3137
- * First Slot Rounding
3138
- * @description Round first available slot to nearest X minutes
3139
- * @default 15
3140
- */
3141
- first_slot_rounding: number;
3142
- /**
3143
- * Allow Recurring Bookings
3144
- * @description Allow recurring bookings
3145
- * @default false
3146
- */
3147
- allow_recurring_bookings: boolean;
3148
- /**
3149
- * Max Recurring Sessions
3150
- * @description Max sessions in recurring series
3151
- */
3152
- max_recurring_sessions?: number | null;
3153
- /**
3154
- * Enable Trial Sessions
3155
- * @description Enable trial/sample sessions
3156
- * @default false
3157
- */
3158
- enable_trial_sessions: boolean;
3159
- /**
3160
- * Trial Session Duration
3161
- * @description Trial session duration in minutes
3162
- */
3163
- trial_session_duration?: number | null;
3164
- /**
3165
- * Trial Session Price
3166
- * @description Trial session price (0 for free)
3167
- */
3168
- trial_session_price?: number | null;
3169
- };
3170
- /**
3171
- * ProductSection
3172
- * @description Base product fields (maps to product_tbl)
3283
+ * ServiceProductsUpdateRequest
3284
+ * @description Request model for bulk updating service products.
3173
3285
  */
3174
- ProductSection: {
3175
- /**
3176
- * Visibility
3177
- * @description public, private, hidden, unlisted
3178
- * @default public
3179
- */
3180
- visibility: string;
3181
- /**
3182
- * Is Digital
3183
- * @description Digital product flag
3184
- * @default true
3185
- */
3186
- is_digital: boolean;
3187
- /**
3188
- * Company Id
3189
- * @description Multi-company support
3190
- */
3191
- company_id?: number | null;
3192
- /**
3193
- * Status
3194
- * @description draft, published, archived, review_required, deleted
3195
- * @default draft
3196
- */
3197
- status: string;
3198
- /**
3199
- * Is Org Level
3200
- * @description Org-level vs user-created product
3201
- * @default true
3202
- */
3203
- is_org_level: boolean;
3204
- /**
3205
- * Staff Id
3206
- * @description Staff/instructor delivering product
3207
- */
3208
- staff_id?: number | null;
3209
- /**
3210
- * Owner Id
3211
- * @description Owner of the product
3212
- */
3213
- owner_id?: number | null;
3214
- /**
3215
- * Featured
3216
- * @description Featured product flag
3217
- * @default false
3218
- */
3219
- featured: boolean;
3286
+ ServiceProductsUpdateRequest: {
3287
+ /** Products */
3288
+ products: components["schemas"]["ServiceProductRequest"][];
3220
3289
  };
3221
3290
  /**
3222
- * PricingSection
3223
- * @description Pricing configuration (optional - can have product price, variant prices, or both)
3291
+ * CancellationPolicyRequest
3292
+ * @description Request model for cancellation policy.
3224
3293
  */
3225
- PricingSection: {
3226
- /** @description Base product price (no variant) */
3227
- product_price?: components["schemas"]["ProductPrice"] | null;
3294
+ CancellationPolicyRequest: {
3228
3295
  /**
3229
- * Variant Prices
3230
- * @description Variant-specific prices
3296
+ * Product Code
3297
+ * @description NULL for service-wide default
3231
3298
  */
3232
- variant_prices?: components["schemas"]["VariantPrice"][] | null;
3299
+ product_code?: string | null;
3300
+ /** Consumer Cancel Allowed */
3301
+ consumer_cancel_allowed?: boolean | null;
3302
+ /** Consumer Cancel Window Hours */
3303
+ consumer_cancel_window_hours?: number | null;
3304
+ /** Consumer In Window Credit */
3305
+ consumer_in_window_credit?: boolean | null;
3306
+ /** Consumer Out Window Credit */
3307
+ consumer_out_window_credit?: boolean | null;
3308
+ /** Consumer Cancel Reason Required */
3309
+ consumer_cancel_reason_required?: boolean | null;
3310
+ /** Consumer Reschedule Allowed */
3311
+ consumer_reschedule_allowed?: boolean | null;
3312
+ /** Expert Cancel Allowed */
3313
+ expert_cancel_allowed?: boolean | null;
3314
+ /** Expert Cancel Window Hours */
3315
+ expert_cancel_window_hours?: number | null;
3316
+ /** Expert In Window Credit */
3317
+ expert_in_window_credit?: boolean | null;
3318
+ /** Expert Out Window Credit */
3319
+ expert_out_window_credit?: boolean | null;
3320
+ /** Expert Reschedule Allowed */
3321
+ expert_reschedule_allowed?: boolean | null;
3322
+ /** Credit Expiry Hours */
3323
+ credit_expiry_hours?: number | null;
3324
+ /** Credit Type */
3325
+ credit_type?: string | null;
3326
+ /** Credit Transferable */
3327
+ credit_transferable?: boolean | null;
3233
3328
  };
3234
3329
  /**
3235
- * ServiceProductRequest
3236
- * @description Request model for a single product configuration.
3330
+ * VariantPrice
3331
+ * @description Variant-specific pricing (maps to product_pricings_tbl with variant_id set)
3237
3332
  */
3238
- ServiceProductRequest: {
3239
- /**
3240
- * Product Code
3241
- * @description Product code
3242
- */
3243
- product_code: string;
3333
+ VariantPrice: {
3244
3334
  /**
3245
- * Is Enabled
3246
- * @description Enable status
3247
- * @default true
3335
+ * Variant Index
3336
+ * @description Index in variants array (0-based)
3248
3337
  */
3249
- is_enabled: boolean;
3338
+ variant_index: number;
3250
3339
  /**
3251
- * Display Order
3252
- * @default 100
3340
+ * Price Type
3341
+ * @description free, one_time, subscription, monthly_plan
3253
3342
  */
3254
- display_order: number;
3343
+ price_type: string;
3255
3344
  /**
3256
- * Product Id
3257
- * @description Link to product_tbl
3345
+ * Currency
3346
+ * @description Currency code
3258
3347
  */
3259
- product_id?: number | null;
3260
- /** Custom Settings */
3261
- custom_settings?: {
3262
- [key: string]: unknown;
3263
- } | null;
3264
- };
3265
- /**
3266
- * CreditVoidRequest
3267
- * @description Request model for voiding a credit.
3268
- */
3269
- CreditVoidRequest: {
3348
+ currency: string;
3270
3349
  /**
3271
- * Reason
3272
- * @description Reason for voiding
3350
+ * Amount
3351
+ * @description Price amount
3273
3352
  */
3274
- reason?: string | null;
3275
- };
3276
- /**
3277
- * NotificationPreferencesRequest
3278
- * @description Request model for updating notification preferences.
3279
- */
3280
- NotificationPreferencesRequest: {
3353
+ amount: number;
3281
3354
  /**
3282
- * Timezone
3283
- * @description User timezone (IANA format)
3355
+ * Compare At Amount
3356
+ * @description Original/strike-through price
3284
3357
  */
3285
- timezone?: string | null;
3358
+ compare_at_amount?: number | null;
3286
3359
  /**
3287
- * Language
3288
- * @description Preferred language code
3360
+ * Interval
3361
+ * @description day, week, month, year
3289
3362
  */
3290
- language?: string | null;
3363
+ interval?: string | null;
3291
3364
  /**
3292
- * Global Enabled
3293
- * @description Master toggle for all notifications
3365
+ * Interval Count
3366
+ * @description Number of intervals
3294
3367
  */
3295
- global_enabled?: boolean | null;
3296
- /** Channel Preferences */
3297
- channel_preferences?: components["schemas"]["ChannelPreference"][] | null;
3298
- /** Event Preferences */
3299
- event_preferences?: components["schemas"]["EventPreference"][] | null;
3300
- };
3301
- /**
3302
- * ServiceProductsUpdateRequest
3303
- * @description Request model for bulk updating service products.
3304
- */
3305
- ServiceProductsUpdateRequest: {
3306
- /** Products */
3307
- products: components["schemas"]["ServiceProductRequest"][];
3308
- };
3309
- /**
3310
- * ServiceProductCreateRequest
3311
- * @description Service creation request - inherits common fields, adds service-specific sections
3312
- * @example {
3313
- * "identity": {
3314
- * "locale": "en-US",
3315
- * "title": "Online Tutoring Service"
3316
- * },
3317
- * "pricing": {
3318
- * "product_price": {
3319
- * "amount": 25,
3320
- * "currency": "USD",
3321
- * "price_type": "one_time"
3322
- * }
3323
- * },
3324
- * "product": {
3325
- * "is_digital": true,
3326
- * "status": "draft",
3327
- * "visibility": "public"
3328
- * },
3329
- * "service": {
3330
- * "enrollment_mode": "open",
3331
- * "max_rate": 100,
3332
- * "min_rate": 15,
3333
- * "pricing_mode": "expert_defined",
3334
- * "service_code": "online-tutoring",
3335
- * "service_type": "expert_service"
3336
- * },
3337
- * "service_settings": {
3338
- * "availability_window_days": 60,
3339
- * "booking_duration_step": 30,
3340
- * "max_booking_duration": 120,
3341
- * "min_booking_duration": 30
3342
- * }
3343
- * }
3344
- */
3345
- ServiceProductCreateRequest: {
3346
- /** @description Base product configuration */
3347
- product: components["schemas"]["ProductSection"];
3348
- /** @description Localized content (title, description) */
3349
- identity: components["schemas"]["IdentitySection"];
3350
- /** @description Pre-uploaded image IDs */
3351
- media?: components["schemas"]["MediaSection"] | null;
3368
+ interval_count?: number | null;
3352
3369
  /**
3353
- * Tags
3354
- * @description Tag IDs to associate with product
3370
+ * Trial Period Days
3371
+ * @description Free trial days
3355
3372
  */
3356
- tags?: number[] | null;
3373
+ trial_period_days?: number | null;
3357
3374
  /**
3358
- * Variants
3359
- * @description Product variants (optional)
3375
+ * Initial Amount
3376
+ * @description First payment amount
3360
3377
  */
3361
- variants?: components["schemas"]["VariantItem"][] | null;
3362
- /** @description Pricing for product and variants */
3363
- pricing?: components["schemas"]["PricingSection"] | null;
3364
- /** @description Service-specific configuration */
3365
- service: components["schemas"]["ServiceSection"];
3366
- /** @description Service booking settings */
3367
- service_settings: components["schemas"]["ServiceSettingsSection"];
3368
- };
3369
- /**
3370
- * ExpertFeeType
3371
- * @description Expert fee type enum.
3372
- * @enum {string}
3373
- */
3374
- ExpertFeeType: "free" | "one_time" | "subscription";
3375
- /**
3376
- * TimeSlotRequest
3377
- * @description Request model for a single time slot.
3378
- */
3379
- TimeSlotRequest: {
3378
+ initial_amount?: number | null;
3380
3379
  /**
3381
- * Starts At Time
3382
- * @description Start time in HH:MM format
3380
+ * Gateway
3381
+ * @description stripe, razorpay, paypal, etc.
3383
3382
  */
3384
- starts_at_time: string;
3383
+ gateway?: string | null;
3385
3384
  /**
3386
- * Ends At Time
3387
- * @description End time in HH:MM format
3385
+ * Requires Payment Method Upfront
3386
+ * @description Require payment method before trial
3387
+ * @default true
3388
3388
  */
3389
- ends_at_time: string;
3389
+ requires_payment_method_upfront: boolean;
3390
3390
  };
3391
3391
  /**
3392
3392
  * ServiceCreateRequest
@@ -3490,25 +3490,47 @@ export interface components {
3490
3490
  company_id?: number | null;
3491
3491
  };
3492
3492
  /**
3493
- * EventTypeEnum
3494
- * @description Booking event type enum.
3495
- * @enum {string}
3493
+ * ServiceProductRequest
3494
+ * @description Request model for a single product configuration.
3496
3495
  */
3497
- EventTypeEnum: "booking_created" | "booking_confirmed" | "booking_reminder_24h" | "booking_reminder_1h" | "booking_started" | "booking_completed" | "booking_cancelled_by_consumer" | "booking_cancelled_by_expert" | "booking_cancelled_by_admin" | "booking_rescheduled" | "booking_no_show_consumer" | "booking_no_show_expert" | "credit_issued" | "credit_expiring" | "credit_expired" | "credit_used" | "expert_application_received" | "expert_application_approved" | "expert_application_rejected" | "expert_invited" | "expert_activated" | "expert_suspended";
3498
- /** Body_updateServiceApplication */
3499
- Body_updateServiceApplication: {
3496
+ ServiceProductRequest: {
3500
3497
  /**
3501
- * Action
3502
- * @description approve or reject
3498
+ * Product Code
3499
+ * @description Product code
3503
3500
  */
3504
- action: string;
3501
+ product_code: string;
3502
+ /**
3503
+ * Is Enabled
3504
+ * @description Enable status
3505
+ * @default true
3506
+ */
3507
+ is_enabled: boolean;
3508
+ /**
3509
+ * Display Order
3510
+ * @default 100
3511
+ */
3512
+ display_order: number;
3513
+ /**
3514
+ * Product Id
3515
+ * @description Link to product_tbl
3516
+ */
3517
+ product_id?: number | null;
3518
+ /** Custom Settings */
3519
+ custom_settings?: {
3520
+ [key: string]: unknown;
3521
+ } | null;
3505
3522
  };
3506
3523
  /**
3507
- * PricingMode
3508
- * @description Service pricing mode enum.
3509
- * @enum {string}
3524
+ * MediaSection
3525
+ * @description Product media files - direct media data
3510
3526
  */
3511
- PricingMode: "org_flat_rate" | "expert_defined";
3527
+ MediaSection: {
3528
+ /**
3529
+ * Media Items
3530
+ * @description List of media files to attach to product
3531
+ */
3532
+ media_items?: components["schemas"]["MediaItem"][] | null;
3533
+ };
3512
3534
  /**
3513
3535
  * SlotCheckRequest
3514
3536
  * @description Request model for checking a specific slot.
@@ -3531,92 +3553,70 @@ export interface components {
3531
3553
  duration_minutes: number;
3532
3554
  };
3533
3555
  /**
3534
- * VariantPrice
3535
- * @description Variant-specific pricing (maps to product_pricings_tbl with variant_id set)
3556
+ * ServiceSection
3557
+ * @description Service-specific fields (maps to service_tbl)
3536
3558
  */
3537
- VariantPrice: {
3559
+ ServiceSection: {
3538
3560
  /**
3539
- * Variant Index
3540
- * @description Index in variants array (0-based)
3561
+ * Service Code
3562
+ * @description Unique code within org: online-tutoring, makeup-services
3541
3563
  */
3542
- variant_index: number;
3564
+ service_code: string;
3543
3565
  /**
3544
- * Price Type
3545
- * @description free, one_time, subscription, monthly_plan
3566
+ * Service Type
3567
+ * @description org_service (SRV-at-org), expert_service (SRV-at-exp)
3546
3568
  */
3547
- price_type: string;
3569
+ service_type: string;
3548
3570
  /**
3549
- * Currency
3550
- * @description Currency code
3571
+ * Enrollment Mode
3572
+ * @description open, closed, invite_only, auto_approve
3573
+ * @default open
3551
3574
  */
3552
- currency: string;
3575
+ enrollment_mode: string;
3553
3576
  /**
3554
- * Amount
3555
- * @description Price amount
3577
+ * Enrollment Requires Approval
3578
+ * @description Admin must approve expert applications
3579
+ * @default true
3556
3580
  */
3557
- amount: number;
3581
+ enrollment_requires_approval: boolean;
3558
3582
  /**
3559
- * Compare At Amount
3560
- * @description Original/strike-through price
3583
+ * Max Experts
3584
+ * @description Maximum experts allowed (NULL = unlimited)
3561
3585
  */
3562
- compare_at_amount?: number | null;
3586
+ max_experts?: number | null;
3563
3587
  /**
3564
- * Interval
3565
- * @description day, week, month, year
3588
+ * Pricing Mode
3589
+ * @description org_flat_rate, expert_defined
3590
+ * @default expert_defined
3566
3591
  */
3567
- interval?: string | null;
3592
+ pricing_mode: string;
3568
3593
  /**
3569
- * Interval Count
3570
- * @description Number of intervals
3594
+ * Org Flat Rate
3595
+ * @description Flat rate if pricing_mode=org_flat_rate
3571
3596
  */
3572
- interval_count?: number | null;
3597
+ org_flat_rate?: number | null;
3573
3598
  /**
3574
- * Trial Period Days
3575
- * @description Free trial days
3599
+ * Currency
3600
+ * @description Currency code: USD, EUR, INR
3601
+ * @default USD
3576
3602
  */
3577
- trial_period_days?: number | null;
3603
+ currency: string;
3578
3604
  /**
3579
- * Initial Amount
3580
- * @description First payment amount
3605
+ * Min Rate
3606
+ * @description Minimum rate for experts (rate constraint)
3581
3607
  */
3582
- initial_amount?: number | null;
3608
+ min_rate?: number | null;
3583
3609
  /**
3584
- * Gateway
3585
- * @description stripe, razorpay, paypal, etc.
3610
+ * Max Rate
3611
+ * @description Maximum rate for experts (rate constraint)
3586
3612
  */
3587
- gateway?: string | null;
3613
+ max_rate?: number | null;
3588
3614
  /**
3589
- * Requires Payment Method Upfront
3590
- * @description Require payment method before trial
3615
+ * Site Level
3616
+ * @description True = org products (SRV-at-org), False = expert products (SRV-at-exp)
3591
3617
  * @default true
3592
3618
  */
3593
- requires_payment_method_upfront: boolean;
3594
- };
3595
- /**
3596
- * BookingRescheduleRequest
3597
- * @description Request model for rescheduling a booking.
3598
- */
3599
- BookingRescheduleRequest: {
3600
- /**
3601
- * New Starts At
3602
- * @description New start datetime in ISO format (UTC)
3603
- */
3604
- new_starts_at: string;
3605
- };
3606
- ErrorResponse: {
3607
- /** @example about:blank */
3608
- type?: string;
3609
- /** @example GENERIC_ERROR */
3610
- code?: string;
3611
- /** @example Client Error */
3612
- title?: string;
3613
- /** @example 400 */
3614
- status?: number;
3615
- /** @example An error occurred */
3616
- detail?: string;
3617
- /** @example /v1/cart/items */
3618
- instance?: string;
3619
- extensions?: components["schemas"]["Extensions"];
3619
+ site_level: boolean;
3620
3620
  };
3621
3621
  };
3622
3622
  responses: never;
@@ -18384,7 +18384,7 @@ export interface operations {
18384
18384
  authorization?: string | null;
18385
18385
  };
18386
18386
  path: {
18387
- user_id: number;
18387
+ user_id: string;
18388
18388
  };
18389
18389
  cookie?: never;
18390
18390
  };