@blezgo/api-sdk 0.1.1 → 0.1.2

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 (549) hide show
  1. package/dist/account/client.d.ts +1 -1
  2. package/dist/account/client.d.ts.map +1 -1
  3. package/dist/account/generated.d.ts +180 -180
  4. package/dist/account/generated.d.ts.map +1 -1
  5. package/dist/account/index.d.ts +1 -1
  6. package/dist/account/index.d.ts.map +1 -1
  7. package/dist/account/index.js +1 -1
  8. package/dist/account/index.js.map +1 -1
  9. package/dist/activity/client.d.ts +1 -1
  10. package/dist/activity/client.d.ts.map +1 -1
  11. package/dist/activity/generated.d.ts +56 -56
  12. package/dist/activity/generated.d.ts.map +1 -1
  13. package/dist/activity/index.d.ts +1 -1
  14. package/dist/activity/index.d.ts.map +1 -1
  15. package/dist/activity/index.js +1 -1
  16. package/dist/activity/index.js.map +1 -1
  17. package/dist/addon/client.d.ts +1 -1
  18. package/dist/addon/client.d.ts.map +1 -1
  19. package/dist/addon/generated.d.ts +99 -99
  20. package/dist/addon/generated.d.ts.map +1 -1
  21. package/dist/addon/index.d.ts +1 -1
  22. package/dist/addon/index.d.ts.map +1 -1
  23. package/dist/addon/index.js +1 -1
  24. package/dist/addon/index.js.map +1 -1
  25. package/dist/admin/client.d.ts +1 -1
  26. package/dist/admin/client.d.ts.map +1 -1
  27. package/dist/admin/generated.d.ts +87 -87
  28. package/dist/admin/generated.d.ts.map +1 -1
  29. package/dist/admin/index.d.ts +1 -1
  30. package/dist/admin/index.d.ts.map +1 -1
  31. package/dist/admin/index.js +1 -1
  32. package/dist/admin/index.js.map +1 -1
  33. package/dist/affiliate/client.d.ts +1 -1
  34. package/dist/affiliate/client.d.ts.map +1 -1
  35. package/dist/affiliate/generated.d.ts +87 -87
  36. package/dist/affiliate/generated.d.ts.map +1 -1
  37. package/dist/affiliate/index.d.ts +1 -1
  38. package/dist/affiliate/index.d.ts.map +1 -1
  39. package/dist/affiliate/index.js +1 -1
  40. package/dist/affiliate/index.js.map +1 -1
  41. package/dist/analytics/client.d.ts +1 -1
  42. package/dist/analytics/client.d.ts.map +1 -1
  43. package/dist/analytics/generated.d.ts +15 -15
  44. package/dist/analytics/generated.d.ts.map +1 -1
  45. package/dist/analytics/index.d.ts +1 -1
  46. package/dist/analytics/index.d.ts.map +1 -1
  47. package/dist/analytics/index.js +1 -1
  48. package/dist/analytics/index.js.map +1 -1
  49. package/dist/announcements/client.d.ts +1 -1
  50. package/dist/announcements/client.d.ts.map +1 -1
  51. package/dist/announcements/generated.d.ts +68 -68
  52. package/dist/announcements/generated.d.ts.map +1 -1
  53. package/dist/announcements/index.d.ts +1 -1
  54. package/dist/announcements/index.d.ts.map +1 -1
  55. package/dist/announcements/index.js +1 -1
  56. package/dist/announcements/index.js.map +1 -1
  57. package/dist/apikeys/client.d.ts +1 -1
  58. package/dist/apikeys/client.d.ts.map +1 -1
  59. package/dist/apikeys/generated.d.ts +52 -52
  60. package/dist/apikeys/generated.d.ts.map +1 -1
  61. package/dist/apikeys/index.d.ts +1 -1
  62. package/dist/apikeys/index.d.ts.map +1 -1
  63. package/dist/apikeys/index.js +1 -1
  64. package/dist/apikeys/index.js.map +1 -1
  65. package/dist/assistance/client.d.ts +1 -1
  66. package/dist/assistance/client.d.ts.map +1 -1
  67. package/dist/assistance/generated.d.ts +15 -15
  68. package/dist/assistance/generated.d.ts.map +1 -1
  69. package/dist/assistance/index.d.ts +1 -1
  70. package/dist/assistance/index.d.ts.map +1 -1
  71. package/dist/assistance/index.js +1 -1
  72. package/dist/assistance/index.js.map +1 -1
  73. package/dist/authentication/client.d.ts +1 -1
  74. package/dist/authentication/client.d.ts.map +1 -1
  75. package/dist/authentication/generated.d.ts +96 -96
  76. package/dist/authentication/generated.d.ts.map +1 -1
  77. package/dist/authentication/index.d.ts +1 -1
  78. package/dist/authentication/index.d.ts.map +1 -1
  79. package/dist/authentication/index.js +1 -1
  80. package/dist/authentication/index.js.map +1 -1
  81. package/dist/blog/client.d.ts +1 -1
  82. package/dist/blog/client.d.ts.map +1 -1
  83. package/dist/blog/generated.d.ts +175 -175
  84. package/dist/blog/generated.d.ts.map +1 -1
  85. package/dist/blog/index.d.ts +1 -1
  86. package/dist/blog/index.d.ts.map +1 -1
  87. package/dist/blog/index.js +1 -1
  88. package/dist/blog/index.js.map +1 -1
  89. package/dist/bundle/client.d.ts +1 -1
  90. package/dist/bundle/client.d.ts.map +1 -1
  91. package/dist/bundle/generated.d.ts +109 -109
  92. package/dist/bundle/generated.d.ts.map +1 -1
  93. package/dist/bundle/index.d.ts +1 -1
  94. package/dist/bundle/index.d.ts.map +1 -1
  95. package/dist/bundle/index.js +1 -1
  96. package/dist/bundle/index.js.map +1 -1
  97. package/dist/cache/client.d.ts +1 -1
  98. package/dist/cache/client.d.ts.map +1 -1
  99. package/dist/cache/generated.d.ts +33 -33
  100. package/dist/cache/generated.d.ts.map +1 -1
  101. package/dist/cache/index.d.ts +1 -1
  102. package/dist/cache/index.d.ts.map +1 -1
  103. package/dist/cache/index.js +1 -1
  104. package/dist/cache/index.js.map +1 -1
  105. package/dist/calendar/client.d.ts +1 -1
  106. package/dist/calendar/client.d.ts.map +1 -1
  107. package/dist/calendar/generated.d.ts +60 -60
  108. package/dist/calendar/generated.d.ts.map +1 -1
  109. package/dist/calendar/index.d.ts +1 -1
  110. package/dist/calendar/index.d.ts.map +1 -1
  111. package/dist/calendar/index.js +1 -1
  112. package/dist/calendar/index.js.map +1 -1
  113. package/dist/campaigns/client.d.ts +1 -1
  114. package/dist/campaigns/client.d.ts.map +1 -1
  115. package/dist/campaigns/generated.d.ts +136 -136
  116. package/dist/campaigns/generated.d.ts.map +1 -1
  117. package/dist/campaigns/index.d.ts +1 -1
  118. package/dist/campaigns/index.d.ts.map +1 -1
  119. package/dist/campaigns/index.js +1 -1
  120. package/dist/campaigns/index.js.map +1 -1
  121. package/dist/cart/client.d.ts +1 -1
  122. package/dist/cart/client.d.ts.map +1 -1
  123. package/dist/cart/generated.d.ts +15 -15
  124. package/dist/cart/generated.d.ts.map +1 -1
  125. package/dist/cart/index.d.ts +1 -1
  126. package/dist/cart/index.d.ts.map +1 -1
  127. package/dist/cart/index.js +1 -1
  128. package/dist/cart/index.js.map +1 -1
  129. package/dist/changelog/client.d.ts +1 -1
  130. package/dist/changelog/client.d.ts.map +1 -1
  131. package/dist/changelog/generated.d.ts +93 -93
  132. package/dist/changelog/generated.d.ts.map +1 -1
  133. package/dist/changelog/index.d.ts +1 -1
  134. package/dist/changelog/index.d.ts.map +1 -1
  135. package/dist/changelog/index.js +1 -1
  136. package/dist/changelog/index.js.map +1 -1
  137. package/dist/channel/client.d.ts +1 -1
  138. package/dist/channel/client.d.ts.map +1 -1
  139. package/dist/channel/generated.d.ts +228 -228
  140. package/dist/channel/generated.d.ts.map +1 -1
  141. package/dist/channel/index.d.ts +1 -1
  142. package/dist/channel/index.d.ts.map +1 -1
  143. package/dist/channel/index.js +1 -1
  144. package/dist/channel/index.js.map +1 -1
  145. package/dist/company/client.d.ts +1 -1
  146. package/dist/company/client.d.ts.map +1 -1
  147. package/dist/company/generated.d.ts +75 -75
  148. package/dist/company/generated.d.ts.map +1 -1
  149. package/dist/company/index.d.ts +1 -1
  150. package/dist/company/index.d.ts.map +1 -1
  151. package/dist/company/index.js +1 -1
  152. package/dist/company/index.js.map +1 -1
  153. package/dist/conference/client.d.ts +1 -1
  154. package/dist/conference/client.d.ts.map +1 -1
  155. package/dist/conference/generated.d.ts +14 -14
  156. package/dist/conference/generated.d.ts.map +1 -1
  157. package/dist/conference/index.d.ts +1 -1
  158. package/dist/conference/index.d.ts.map +1 -1
  159. package/dist/conference/index.js +1 -1
  160. package/dist/conference/index.js.map +1 -1
  161. package/dist/config/client.d.ts +1 -1
  162. package/dist/config/client.d.ts.map +1 -1
  163. package/dist/config/generated.d.ts +15 -15
  164. package/dist/config/generated.d.ts.map +1 -1
  165. package/dist/config/index.d.ts +1 -1
  166. package/dist/config/index.d.ts.map +1 -1
  167. package/dist/config/index.js +1 -1
  168. package/dist/config/index.js.map +1 -1
  169. package/dist/content/client.d.ts +1 -1
  170. package/dist/content/client.d.ts.map +1 -1
  171. package/dist/content/generated.d.ts +485 -485
  172. package/dist/content/generated.d.ts.map +1 -1
  173. package/dist/content/index.d.ts +1 -1
  174. package/dist/content/index.d.ts.map +1 -1
  175. package/dist/content/index.js +1 -1
  176. package/dist/content/index.js.map +1 -1
  177. package/dist/cookies/client.d.ts +1 -1
  178. package/dist/cookies/client.d.ts.map +1 -1
  179. package/dist/cookies/generated.d.ts +74 -74
  180. package/dist/cookies/generated.d.ts.map +1 -1
  181. package/dist/cookies/index.d.ts +1 -1
  182. package/dist/cookies/index.d.ts.map +1 -1
  183. package/dist/cookies/index.js +1 -1
  184. package/dist/cookies/index.js.map +1 -1
  185. package/dist/courses/client.d.ts +1 -1
  186. package/dist/courses/client.d.ts.map +1 -1
  187. package/dist/courses/generated.d.ts +393 -393
  188. package/dist/courses/generated.d.ts.map +1 -1
  189. package/dist/courses/index.d.ts +1 -1
  190. package/dist/courses/index.d.ts.map +1 -1
  191. package/dist/courses/index.js +1 -1
  192. package/dist/courses/index.js.map +1 -1
  193. package/dist/custom/client.d.ts +1 -1
  194. package/dist/custom/client.d.ts.map +1 -1
  195. package/dist/custom/generated.d.ts +87 -87
  196. package/dist/custom/generated.d.ts.map +1 -1
  197. package/dist/custom/index.d.ts +1 -1
  198. package/dist/custom/index.d.ts.map +1 -1
  199. package/dist/custom/index.js +1 -1
  200. package/dist/custom/index.js.map +1 -1
  201. package/dist/dashboard/client.d.ts +1 -1
  202. package/dist/dashboard/client.d.ts.map +1 -1
  203. package/dist/dashboard/generated.d.ts +169 -169
  204. package/dist/dashboard/generated.d.ts.map +1 -1
  205. package/dist/dashboard/index.d.ts +1 -1
  206. package/dist/dashboard/index.d.ts.map +1 -1
  207. package/dist/dashboard/index.js +1 -1
  208. package/dist/dashboard/index.js.map +1 -1
  209. package/dist/elasticsearch/client.d.ts +1 -1
  210. package/dist/elasticsearch/client.d.ts.map +1 -1
  211. package/dist/elasticsearch/generated.d.ts +15 -15
  212. package/dist/elasticsearch/generated.d.ts.map +1 -1
  213. package/dist/elasticsearch/index.d.ts +1 -1
  214. package/dist/elasticsearch/index.d.ts.map +1 -1
  215. package/dist/elasticsearch/index.js +1 -1
  216. package/dist/elasticsearch/index.js.map +1 -1
  217. package/dist/enrollments/client.d.ts +1 -1
  218. package/dist/enrollments/client.d.ts.map +1 -1
  219. package/dist/enrollments/generated.d.ts +15 -15
  220. package/dist/enrollments/generated.d.ts.map +1 -1
  221. package/dist/enrollments/index.d.ts +1 -1
  222. package/dist/enrollments/index.d.ts.map +1 -1
  223. package/dist/enrollments/index.js +1 -1
  224. package/dist/enrollments/index.js.map +1 -1
  225. package/dist/errors/client.d.ts +1 -1
  226. package/dist/errors/client.d.ts.map +1 -1
  227. package/dist/errors/generated.d.ts +15 -15
  228. package/dist/errors/generated.d.ts.map +1 -1
  229. package/dist/errors/index.d.ts +1 -1
  230. package/dist/errors/index.d.ts.map +1 -1
  231. package/dist/errors/index.js +1 -1
  232. package/dist/errors/index.js.map +1 -1
  233. package/dist/eventconfig/client.d.ts +1 -1
  234. package/dist/eventconfig/client.d.ts.map +1 -1
  235. package/dist/eventconfig/generated.d.ts +77 -77
  236. package/dist/eventconfig/generated.d.ts.map +1 -1
  237. package/dist/eventconfig/index.d.ts +1 -1
  238. package/dist/eventconfig/index.d.ts.map +1 -1
  239. package/dist/eventconfig/index.js +1 -1
  240. package/dist/eventconfig/index.js.map +1 -1
  241. package/dist/funnels/client.d.ts +1 -1
  242. package/dist/funnels/client.d.ts.map +1 -1
  243. package/dist/funnels/generated.d.ts +97 -97
  244. package/dist/funnels/generated.d.ts.map +1 -1
  245. package/dist/funnels/index.d.ts +1 -1
  246. package/dist/funnels/index.d.ts.map +1 -1
  247. package/dist/funnels/index.js +1 -1
  248. package/dist/funnels/index.js.map +1 -1
  249. package/dist/gamification/client.d.ts +1 -1
  250. package/dist/gamification/client.d.ts.map +1 -1
  251. package/dist/gamification/generated.d.ts +151 -151
  252. package/dist/gamification/generated.d.ts.map +1 -1
  253. package/dist/gamification/index.d.ts +1 -1
  254. package/dist/gamification/index.d.ts.map +1 -1
  255. package/dist/gamification/index.js +1 -1
  256. package/dist/gamification/index.js.map +1 -1
  257. package/dist/impersonation/client.d.ts +1 -1
  258. package/dist/impersonation/client.d.ts.map +1 -1
  259. package/dist/impersonation/generated.d.ts +52 -52
  260. package/dist/impersonation/generated.d.ts.map +1 -1
  261. package/dist/impersonation/index.d.ts +1 -1
  262. package/dist/impersonation/index.d.ts.map +1 -1
  263. package/dist/impersonation/index.js +1 -1
  264. package/dist/impersonation/index.js.map +1 -1
  265. package/dist/inbox/client.d.ts +1 -1
  266. package/dist/inbox/client.d.ts.map +1 -1
  267. package/dist/inbox/generated.d.ts +148 -148
  268. package/dist/inbox/generated.d.ts.map +1 -1
  269. package/dist/inbox/index.d.ts +1 -1
  270. package/dist/inbox/index.d.ts.map +1 -1
  271. package/dist/inbox/index.js +1 -1
  272. package/dist/inbox/index.js.map +1 -1
  273. package/dist/index.d.ts +68 -68
  274. package/dist/index.d.ts.map +1 -1
  275. package/dist/index.js +68 -68
  276. package/dist/index.js.map +1 -1
  277. package/dist/internal/client.d.ts +1 -1
  278. package/dist/internal/client.d.ts.map +1 -1
  279. package/dist/internal/generated.d.ts +15 -15
  280. package/dist/internal/generated.d.ts.map +1 -1
  281. package/dist/internal/index.d.ts +1 -1
  282. package/dist/internal/index.d.ts.map +1 -1
  283. package/dist/internal/index.js +1 -1
  284. package/dist/internal/index.js.map +1 -1
  285. package/dist/internationalization/client.d.ts +1 -1
  286. package/dist/internationalization/client.d.ts.map +1 -1
  287. package/dist/internationalization/generated.d.ts +15 -15
  288. package/dist/internationalization/generated.d.ts.map +1 -1
  289. package/dist/internationalization/index.d.ts +1 -1
  290. package/dist/internationalization/index.d.ts.map +1 -1
  291. package/dist/internationalization/index.js +1 -1
  292. package/dist/internationalization/index.js.map +1 -1
  293. package/dist/invitations/client.d.ts +1 -1
  294. package/dist/invitations/client.d.ts.map +1 -1
  295. package/dist/invitations/generated.d.ts +136 -136
  296. package/dist/invitations/generated.d.ts.map +1 -1
  297. package/dist/invitations/index.d.ts +1 -1
  298. package/dist/invitations/index.d.ts.map +1 -1
  299. package/dist/invitations/index.js +1 -1
  300. package/dist/invitations/index.js.map +1 -1
  301. package/dist/meetings/client.d.ts +1 -1
  302. package/dist/meetings/client.d.ts.map +1 -1
  303. package/dist/meetings/generated.d.ts +315 -315
  304. package/dist/meetings/generated.d.ts.map +1 -1
  305. package/dist/meetings/index.d.ts +1 -1
  306. package/dist/meetings/index.d.ts.map +1 -1
  307. package/dist/meetings/index.js +1 -1
  308. package/dist/meetings/index.js.map +1 -1
  309. package/dist/metas/client.d.ts +1 -1
  310. package/dist/metas/client.d.ts.map +1 -1
  311. package/dist/metas/generated.d.ts +198 -198
  312. package/dist/metas/generated.d.ts.map +1 -1
  313. package/dist/metas/index.d.ts +1 -1
  314. package/dist/metas/index.d.ts.map +1 -1
  315. package/dist/metas/index.js +1 -1
  316. package/dist/metas/index.js.map +1 -1
  317. package/dist/notification/client.d.ts +1 -1
  318. package/dist/notification/client.d.ts.map +1 -1
  319. package/dist/notification/generated.d.ts +375 -375
  320. package/dist/notification/generated.d.ts.map +1 -1
  321. package/dist/notification/index.d.ts +1 -1
  322. package/dist/notification/index.d.ts.map +1 -1
  323. package/dist/notification/index.js +1 -1
  324. package/dist/notification/index.js.map +1 -1
  325. package/dist/notifications/client.d.ts +1 -1
  326. package/dist/notifications/client.d.ts.map +1 -1
  327. package/dist/notifications/generated.d.ts +15 -15
  328. package/dist/notifications/generated.d.ts.map +1 -1
  329. package/dist/notifications/index.d.ts +1 -1
  330. package/dist/notifications/index.d.ts.map +1 -1
  331. package/dist/notifications/index.js +1 -1
  332. package/dist/notifications/index.js.map +1 -1
  333. package/dist/onboarding/client.d.ts +1 -1
  334. package/dist/onboarding/client.d.ts.map +1 -1
  335. package/dist/onboarding/generated.d.ts +112 -112
  336. package/dist/onboarding/generated.d.ts.map +1 -1
  337. package/dist/onboarding/index.d.ts +1 -1
  338. package/dist/onboarding/index.d.ts.map +1 -1
  339. package/dist/onboarding/index.js +1 -1
  340. package/dist/onboarding/index.js.map +1 -1
  341. package/dist/packages/client.d.ts +1 -1
  342. package/dist/packages/client.d.ts.map +1 -1
  343. package/dist/packages/generated.d.ts +74 -74
  344. package/dist/packages/generated.d.ts.map +1 -1
  345. package/dist/packages/index.d.ts +1 -1
  346. package/dist/packages/index.d.ts.map +1 -1
  347. package/dist/packages/index.js +1 -1
  348. package/dist/packages/index.js.map +1 -1
  349. package/dist/payments/client.d.ts +1 -1
  350. package/dist/payments/client.d.ts.map +1 -1
  351. package/dist/payments/generated.d.ts +559 -559
  352. package/dist/payments/generated.d.ts.map +1 -1
  353. package/dist/payments/index.d.ts +1 -1
  354. package/dist/payments/index.d.ts.map +1 -1
  355. package/dist/payments/index.js +1 -1
  356. package/dist/payments/index.js.map +1 -1
  357. package/dist/payouts/client.d.ts +1 -1
  358. package/dist/payouts/client.d.ts.map +1 -1
  359. package/dist/payouts/generated.d.ts +15 -15
  360. package/dist/payouts/generated.d.ts.map +1 -1
  361. package/dist/payouts/index.d.ts +1 -1
  362. package/dist/payouts/index.d.ts.map +1 -1
  363. package/dist/payouts/index.js +1 -1
  364. package/dist/payouts/index.js.map +1 -1
  365. package/dist/plans/client.d.ts +1 -1
  366. package/dist/plans/client.d.ts.map +1 -1
  367. package/dist/plans/generated.d.ts +391 -391
  368. package/dist/plans/generated.d.ts.map +1 -1
  369. package/dist/plans/index.d.ts +1 -1
  370. package/dist/plans/index.d.ts.map +1 -1
  371. package/dist/plans/index.js +1 -1
  372. package/dist/plans/index.js.map +1 -1
  373. package/dist/pricing/client.d.ts +1 -1
  374. package/dist/pricing/client.d.ts.map +1 -1
  375. package/dist/pricing/generated.d.ts +70 -70
  376. package/dist/pricing/generated.d.ts.map +1 -1
  377. package/dist/pricing/index.d.ts +1 -1
  378. package/dist/pricing/index.d.ts.map +1 -1
  379. package/dist/pricing/index.js +1 -1
  380. package/dist/pricing/index.js.map +1 -1
  381. package/dist/products/client.d.ts +1 -1
  382. package/dist/products/client.d.ts.map +1 -1
  383. package/dist/products/generated.d.ts +511 -511
  384. package/dist/products/generated.d.ts.map +1 -1
  385. package/dist/products/index.d.ts +1 -1
  386. package/dist/products/index.d.ts.map +1 -1
  387. package/dist/products/index.js +1 -1
  388. package/dist/products/index.js.map +1 -1
  389. package/dist/profile/client.d.ts +1 -1
  390. package/dist/profile/client.d.ts.map +1 -1
  391. package/dist/profile/generated.d.ts +265 -265
  392. package/dist/profile/generated.d.ts.map +1 -1
  393. package/dist/profile/index.d.ts +1 -1
  394. package/dist/profile/index.d.ts.map +1 -1
  395. package/dist/profile/index.js +1 -1
  396. package/dist/profile/index.js.map +1 -1
  397. package/dist/reasons/client.d.ts +1 -1
  398. package/dist/reasons/client.d.ts.map +1 -1
  399. package/dist/reasons/generated.d.ts +89 -89
  400. package/dist/reasons/generated.d.ts.map +1 -1
  401. package/dist/reasons/index.d.ts +1 -1
  402. package/dist/reasons/index.d.ts.map +1 -1
  403. package/dist/reasons/index.js +1 -1
  404. package/dist/reasons/index.js.map +1 -1
  405. package/dist/registration/client.d.ts +1 -1
  406. package/dist/registration/client.d.ts.map +1 -1
  407. package/dist/registration/generated.d.ts +157 -157
  408. package/dist/registration/generated.d.ts.map +1 -1
  409. package/dist/registration/index.d.ts +1 -1
  410. package/dist/registration/index.d.ts.map +1 -1
  411. package/dist/registration/index.js +1 -1
  412. package/dist/registration/index.js.map +1 -1
  413. package/dist/reviews/client.d.ts +1 -1
  414. package/dist/reviews/client.d.ts.map +1 -1
  415. package/dist/reviews/generated.d.ts +39 -39
  416. package/dist/reviews/generated.d.ts.map +1 -1
  417. package/dist/reviews/index.d.ts +1 -1
  418. package/dist/reviews/index.d.ts.map +1 -1
  419. package/dist/reviews/index.js +1 -1
  420. package/dist/reviews/index.js.map +1 -1
  421. package/dist/role/client.d.ts +1 -1
  422. package/dist/role/client.d.ts.map +1 -1
  423. package/dist/role/generated.d.ts +167 -167
  424. package/dist/role/generated.d.ts.map +1 -1
  425. package/dist/role/index.d.ts +1 -1
  426. package/dist/role/index.d.ts.map +1 -1
  427. package/dist/role/index.js +1 -1
  428. package/dist/role/index.js.map +1 -1
  429. package/dist/scheduling/client.d.ts +1 -1
  430. package/dist/scheduling/client.d.ts.map +1 -1
  431. package/dist/scheduling/generated.d.ts +110 -110
  432. package/dist/scheduling/generated.d.ts.map +1 -1
  433. package/dist/scheduling/index.d.ts +1 -1
  434. package/dist/scheduling/index.d.ts.map +1 -1
  435. package/dist/scheduling/index.js +1 -1
  436. package/dist/scheduling/index.js.map +1 -1
  437. package/dist/services/client.d.ts +1 -1
  438. package/dist/services/client.d.ts.map +1 -1
  439. package/dist/services/generated.d.ts +1016 -1016
  440. package/dist/services/generated.d.ts.map +1 -1
  441. package/dist/services/index.d.ts +1 -1
  442. package/dist/services/index.d.ts.map +1 -1
  443. package/dist/services/index.js +1 -1
  444. package/dist/services/index.js.map +1 -1
  445. package/dist/sessions/client.d.ts +1 -1
  446. package/dist/sessions/client.d.ts.map +1 -1
  447. package/dist/sessions/generated.d.ts +383 -383
  448. package/dist/sessions/generated.d.ts.map +1 -1
  449. package/dist/sessions/index.d.ts +1 -1
  450. package/dist/sessions/index.d.ts.map +1 -1
  451. package/dist/sessions/index.js +1 -1
  452. package/dist/sessions/index.js.map +1 -1
  453. package/dist/spaces/client.d.ts +1 -1
  454. package/dist/spaces/client.d.ts.map +1 -1
  455. package/dist/spaces/generated.d.ts +496 -496
  456. package/dist/spaces/generated.d.ts.map +1 -1
  457. package/dist/spaces/index.d.ts +1 -1
  458. package/dist/spaces/index.d.ts.map +1 -1
  459. package/dist/spaces/index.js +1 -1
  460. package/dist/spaces/index.js.map +1 -1
  461. package/dist/storefront/client.d.ts +1 -1
  462. package/dist/storefront/client.d.ts.map +1 -1
  463. package/dist/storefront/generated.d.ts +15 -15
  464. package/dist/storefront/generated.d.ts.map +1 -1
  465. package/dist/storefront/index.d.ts +1 -1
  466. package/dist/storefront/index.d.ts.map +1 -1
  467. package/dist/storefront/index.js +1 -1
  468. package/dist/storefront/index.js.map +1 -1
  469. package/dist/support/client.d.ts +1 -1
  470. package/dist/support/client.d.ts.map +1 -1
  471. package/dist/support/generated.d.ts +1413 -1413
  472. package/dist/support/generated.d.ts.map +1 -1
  473. package/dist/support/index.d.ts +1 -1
  474. package/dist/support/index.d.ts.map +1 -1
  475. package/dist/support/index.js +1 -1
  476. package/dist/support/index.js.map +1 -1
  477. package/dist/sync/client.d.ts +1 -1
  478. package/dist/sync/client.d.ts.map +1 -1
  479. package/dist/sync/generated.d.ts +133 -133
  480. package/dist/sync/generated.d.ts.map +1 -1
  481. package/dist/sync/index.d.ts +1 -1
  482. package/dist/sync/index.d.ts.map +1 -1
  483. package/dist/sync/index.js +1 -1
  484. package/dist/sync/index.js.map +1 -1
  485. package/dist/tenant/client.d.ts +1 -1
  486. package/dist/tenant/client.d.ts.map +1 -1
  487. package/dist/tenant/generated.d.ts +584 -584
  488. package/dist/tenant/generated.d.ts.map +1 -1
  489. package/dist/tenant/index.d.ts +1 -1
  490. package/dist/tenant/index.d.ts.map +1 -1
  491. package/dist/tenant/index.js +1 -1
  492. package/dist/tenant/index.js.map +1 -1
  493. package/dist/testimonials/client.d.ts +1 -1
  494. package/dist/testimonials/client.d.ts.map +1 -1
  495. package/dist/testimonials/generated.d.ts +72 -72
  496. package/dist/testimonials/generated.d.ts.map +1 -1
  497. package/dist/testimonials/index.d.ts +1 -1
  498. package/dist/testimonials/index.d.ts.map +1 -1
  499. package/dist/testimonials/index.js +1 -1
  500. package/dist/testimonials/index.js.map +1 -1
  501. package/dist/tests/client.d.ts +1 -1
  502. package/dist/tests/client.d.ts.map +1 -1
  503. package/dist/tests/generated.d.ts +464 -464
  504. package/dist/tests/generated.d.ts.map +1 -1
  505. package/dist/tests/index.d.ts +1 -1
  506. package/dist/tests/index.d.ts.map +1 -1
  507. package/dist/tests/index.js +1 -1
  508. package/dist/tests/index.js.map +1 -1
  509. package/dist/tokens/client.d.ts +1 -1
  510. package/dist/tokens/client.d.ts.map +1 -1
  511. package/dist/tokens/generated.d.ts +60 -60
  512. package/dist/tokens/generated.d.ts.map +1 -1
  513. package/dist/tokens/index.d.ts +1 -1
  514. package/dist/tokens/index.d.ts.map +1 -1
  515. package/dist/tokens/index.js +1 -1
  516. package/dist/tokens/index.js.map +1 -1
  517. package/dist/uploads/client.d.ts +1 -1
  518. package/dist/uploads/client.d.ts.map +1 -1
  519. package/dist/uploads/generated.d.ts +63 -63
  520. package/dist/uploads/generated.d.ts.map +1 -1
  521. package/dist/uploads/index.d.ts +1 -1
  522. package/dist/uploads/index.d.ts.map +1 -1
  523. package/dist/uploads/index.js +1 -1
  524. package/dist/uploads/index.js.map +1 -1
  525. package/dist/upsell/client.d.ts +1 -1
  526. package/dist/upsell/client.d.ts.map +1 -1
  527. package/dist/upsell/generated.d.ts +95 -95
  528. package/dist/upsell/generated.d.ts.map +1 -1
  529. package/dist/upsell/index.d.ts +1 -1
  530. package/dist/upsell/index.d.ts.map +1 -1
  531. package/dist/upsell/index.js +1 -1
  532. package/dist/upsell/index.js.map +1 -1
  533. package/dist/user/client.d.ts +1 -1
  534. package/dist/user/client.d.ts.map +1 -1
  535. package/dist/user/generated.d.ts +92 -92
  536. package/dist/user/generated.d.ts.map +1 -1
  537. package/dist/user/index.d.ts +1 -1
  538. package/dist/user/index.d.ts.map +1 -1
  539. package/dist/user/index.js +1 -1
  540. package/dist/user/index.js.map +1 -1
  541. package/dist/webinars/client.d.ts +1 -1
  542. package/dist/webinars/client.d.ts.map +1 -1
  543. package/dist/webinars/generated.d.ts +320 -320
  544. package/dist/webinars/generated.d.ts.map +1 -1
  545. package/dist/webinars/index.d.ts +1 -1
  546. package/dist/webinars/index.d.ts.map +1 -1
  547. package/dist/webinars/index.js +1 -1
  548. package/dist/webinars/index.js.map +1 -1
  549. package/package.json +347 -70
@@ -2096,169 +2096,11 @@ export type webhooks = Record<string, never>;
2096
2096
  export interface components {
2097
2097
  schemas: {
2098
2098
  /**
2099
- * ServiceType
2100
- * @description Service type enum.
2101
- * @enum {string}
2102
- */
2103
- ServiceType: "org_service" | "expert_service";
2104
- /**
2105
- * BookingSourceTypeEnum
2106
- * @description Booking source type enum.
2107
- * @enum {string}
2108
- */
2109
- BookingSourceTypeEnum: "direct_booking" | "session_pack" | "subscription" | "credit_bucket";
2110
- InvalidParam: {
2111
- /** @example items[0].quantity */
2112
- field?: string;
2113
- /** @example Input should be greater than or equal to 1 */
2114
- error?: string;
2115
- };
2116
- /**
2117
- * BookingCancelRequest
2118
- * @description Request model for cancelling a booking.
2119
- */
2120
- BookingCancelRequest: {
2121
- /**
2122
- * Cancel Reason Id
2123
- * @description Reason ID from msd_reasons_tbl
2124
- */
2125
- cancel_reason_id?: number | null;
2126
- /**
2127
- * Cancel Reason Text
2128
- * @description Additional cancellation reason
2129
- */
2130
- cancel_reason_text?: string | null;
2131
- };
2132
- /**
2133
- * EnrollmentMode
2134
- * @description Expert enrollment mode enum.
2135
- * @enum {string}
2136
- */
2137
- EnrollmentMode: "open" | "closed" | "invite_only" | "auto_approve";
2138
- /**
2139
- * BookingRescheduleRequest
2140
- * @description Request model for rescheduling a booking.
2141
- */
2142
- BookingRescheduleRequest: {
2143
- /**
2144
- * New Starts At
2145
- * @description New start datetime in ISO format (UTC)
2146
- */
2147
- new_starts_at: string;
2148
- };
2149
- /**
2150
- * ServiceUpdateRequest
2151
- * @description Request model for updating a service.
2152
- */
2153
- ServiceUpdateRequest: {
2154
- /** Title */
2155
- title?: string | null;
2156
- /** Description */
2157
- description?: string | null;
2158
- /** Short Description */
2159
- short_description?: string | null;
2160
- /** Icon */
2161
- icon?: string | null;
2162
- /** Banner Url */
2163
- banner_url?: string | null;
2164
- /** Display Order */
2165
- display_order?: number | null;
2166
- enrollment_mode?: components["schemas"]["EnrollmentMode"] | null;
2167
- /** Enrollment Requires Approval */
2168
- enrollment_requires_approval?: boolean | null;
2169
- /** Max Experts */
2170
- max_experts?: number | null;
2171
- expert_fee_type?: components["schemas"]["ExpertFeeType"] | null;
2172
- /** Expert Fee Product Id */
2173
- expert_fee_product_id?: number | null;
2174
- pricing_mode?: components["schemas"]["PricingMode"] | null;
2175
- /** Org Flat Rate */
2176
- org_flat_rate?: number | string | null;
2177
- /** Currency */
2178
- currency?: string | null;
2179
- /** Min Rate */
2180
- min_rate?: number | string | null;
2181
- /** Max Rate */
2182
- max_rate?: number | string | null;
2183
- status?: components["schemas"]["ServiceStatus"] | null;
2184
- };
2185
- /**
2186
- * CreditVoidRequest
2187
- * @description Request model for voiding a credit.
2188
- */
2189
- CreditVoidRequest: {
2190
- /**
2191
- * Reason
2192
- * @description Reason for voiding
2193
- */
2194
- reason?: string | null;
2195
- };
2196
- /**
2197
- * ServiceProductCreateRequest
2198
- * @description Service creation request - inherits common fields, adds service-specific sections
2199
- * @example {
2200
- * "identity": {
2201
- * "locale": "en-US",
2202
- * "title": "Online Tutoring Service"
2203
- * },
2204
- * "pricing": {
2205
- * "product_price": {
2206
- * "amount": 25,
2207
- * "currency": "USD",
2208
- * "price_type": "one_time"
2209
- * }
2210
- * },
2211
- * "product": {
2212
- * "is_digital": true,
2213
- * "status": "draft",
2214
- * "visibility": "public"
2215
- * },
2216
- * "service": {
2217
- * "enrollment_mode": "open",
2218
- * "max_rate": 100,
2219
- * "min_rate": 15,
2220
- * "pricing_mode": "expert_defined",
2221
- * "service_code": "online-tutoring",
2222
- * "service_type": "expert_service"
2223
- * },
2224
- * "service_settings": {
2225
- * "availability_window_days": 60,
2226
- * "booking_duration_step": 30,
2227
- * "max_booking_duration": 120,
2228
- * "min_booking_duration": 30
2229
- * }
2230
- * }
2231
- */
2232
- ServiceProductCreateRequest: {
2233
- /** @description Base product configuration */
2234
- product: components["schemas"]["ProductSection"];
2235
- /** @description Localized content (title, description) */
2236
- identity: components["schemas"]["IdentitySection"];
2237
- /** @description Pre-uploaded image IDs */
2238
- media?: components["schemas"]["MediaSection"] | null;
2239
- /**
2240
- * Tags
2241
- * @description Tag IDs to associate with product
2242
- */
2243
- tags?: number[] | null;
2244
- /**
2245
- * Variants
2246
- * @description Product variants (optional)
2247
- */
2248
- variants?: components["schemas"]["VariantItem"][] | null;
2249
- /** @description Pricing for product and variants */
2250
- pricing?: components["schemas"]["PricingSection"] | null;
2251
- /** @description Service-specific configuration */
2252
- service: components["schemas"]["ServiceSection"];
2253
- /** @description Service booking settings */
2254
- service_settings: components["schemas"]["ServiceSettingsSection"];
2255
- };
2256
- /**
2257
- * ExpertFeeType
2258
- * @description Expert fee type enum.
2099
+ * ServiceStatus
2100
+ * @description Service status enum.
2259
2101
  * @enum {string}
2260
2102
  */
2261
- ExpertFeeType: "free" | "one_time" | "subscription";
2103
+ ServiceStatus: "draft" | "active" | "paused" | "archived";
2262
2104
  /**
2263
2105
  * PricePreference
2264
2106
  * @description Price preference for expert matching.
@@ -2266,79 +2108,40 @@ export interface components {
2266
2108
  */
2267
2109
  PricePreference: "low" | "mid" | "high" | "any";
2268
2110
  /**
2269
- * ExpertSettingsUpdateRequest
2270
- * @description Request model for updating expert settings.
2111
+ * NotificationPreferencesRequest
2112
+ * @description Request model for updating notification preferences.
2271
2113
  */
2272
- ExpertSettingsUpdateRequest: {
2273
- /**
2274
- * Custom Rate
2275
- * @description Custom rate
2276
- */
2277
- custom_rate?: number | string | null;
2278
- /**
2279
- * Accepts New Bookings
2280
- * @description Accepting new bookings
2281
- */
2282
- accepts_new_bookings?: boolean | null;
2283
- /**
2284
- * Max Daily Bookings
2285
- * @description Max daily bookings
2286
- */
2287
- max_daily_bookings?: number | null;
2114
+ NotificationPreferencesRequest: {
2288
2115
  /**
2289
- * Auto Confirm Bookings
2290
- * @description Auto-confirm bookings
2116
+ * Timezone
2117
+ * @description User timezone (IANA format)
2291
2118
  */
2292
- auto_confirm_bookings?: boolean | null;
2119
+ timezone?: string | null;
2293
2120
  /**
2294
- * Subjects
2295
- * @description Subject codes/IDs
2121
+ * Language
2122
+ * @description Preferred language code
2296
2123
  */
2297
- subjects?: string[] | null;
2124
+ language?: string | null;
2298
2125
  /**
2299
- * Topics
2300
- * @description Topic codes/IDs
2126
+ * Global Enabled
2127
+ * @description Master toggle for all notifications
2301
2128
  */
2302
- topics?: string[] | null;
2129
+ global_enabled?: boolean | null;
2130
+ /** Channel Preferences */
2131
+ channel_preferences?: components["schemas"]["ChannelPreference"][] | null;
2132
+ /** Event Preferences */
2133
+ event_preferences?: components["schemas"]["EventPreference"][] | null;
2303
2134
  };
2304
2135
  /**
2305
- * CancellationPolicyRequest
2306
- * @description Request model for cancellation policy.
2136
+ * MediaSection
2137
+ * @description Product media files - direct media data
2307
2138
  */
2308
- CancellationPolicyRequest: {
2139
+ MediaSection: {
2309
2140
  /**
2310
- * Product Code
2311
- * @description NULL for service-wide default
2141
+ * Media Items
2142
+ * @description List of media files to attach to product
2312
2143
  */
2313
- product_code?: string | null;
2314
- /** Consumer Cancel Allowed */
2315
- consumer_cancel_allowed?: boolean | null;
2316
- /** Consumer Cancel Window Hours */
2317
- consumer_cancel_window_hours?: number | null;
2318
- /** Consumer In Window Credit */
2319
- consumer_in_window_credit?: boolean | null;
2320
- /** Consumer Out Window Credit */
2321
- consumer_out_window_credit?: boolean | null;
2322
- /** Consumer Cancel Reason Required */
2323
- consumer_cancel_reason_required?: boolean | null;
2324
- /** Consumer Reschedule Allowed */
2325
- consumer_reschedule_allowed?: boolean | null;
2326
- /** Expert Cancel Allowed */
2327
- expert_cancel_allowed?: boolean | null;
2328
- /** Expert Cancel Window Hours */
2329
- expert_cancel_window_hours?: number | null;
2330
- /** Expert In Window Credit */
2331
- expert_in_window_credit?: boolean | null;
2332
- /** Expert Out Window Credit */
2333
- expert_out_window_credit?: boolean | null;
2334
- /** Expert Reschedule Allowed */
2335
- expert_reschedule_allowed?: boolean | null;
2336
- /** Credit Expiry Hours */
2337
- credit_expiry_hours?: number | null;
2338
- /** Credit Type */
2339
- credit_type?: string | null;
2340
- /** Credit Transferable */
2341
- credit_transferable?: boolean | null;
2144
+ media_items?: components["schemas"]["MediaItem"][] | null;
2342
2145
  };
2343
2146
  /**
2344
2147
  * LocationTypeEnum
@@ -2347,136 +2150,46 @@ export interface components {
2347
2150
  */
2348
2151
  LocationTypeEnum: "online" | "in_person";
2349
2152
  /**
2350
- * ServiceSettingsRequest
2351
- * @description Request model for service settings.
2153
+ * ExpertMatchRequest
2154
+ * @description Request model for expert matching.
2352
2155
  */
2353
- ServiceSettingsRequest: {
2354
- /**
2355
- * Min Booking Duration
2356
- * @description Min duration (minutes)
2357
- */
2358
- min_booking_duration?: number | null;
2359
- /**
2360
- * Max Booking Duration
2361
- * @description Max duration (minutes)
2362
- */
2363
- max_booking_duration?: number | null;
2364
- /**
2365
- * Booking Duration Step
2366
- * @description Duration step (minutes)
2367
- */
2368
- booking_duration_step?: number | null;
2369
- /**
2370
- * Booking Lead Time Value
2371
- * @description Lead time (hours)
2372
- */
2373
- booking_lead_time_value?: number | null;
2374
- /** Booking Lead Time Handler */
2375
- booking_lead_time_handler?: string | null;
2376
- /**
2377
- * Buffer Time Before
2378
- * @description Buffer before (minutes)
2379
- */
2380
- buffer_time_before?: number | null;
2381
- /**
2382
- * Buffer Time After
2383
- * @description Buffer after (minutes)
2384
- */
2385
- buffer_time_after?: number | null;
2386
- /** Avoid Back To Back */
2387
- avoid_back_to_back?: boolean | null;
2388
- /**
2389
- * Availability Window Days
2390
- * @description Days ahead to book
2391
- */
2392
- availability_window_days?: number | null;
2156
+ ExpertMatchRequest: {
2393
2157
  /**
2394
- * First Slot Rounding
2395
- * @description Round start time
2158
+ * Subject Id
2159
+ * @description Required subject
2396
2160
  */
2397
- first_slot_rounding?: number | null;
2161
+ subject_id?: string | null;
2398
2162
  /**
2399
- * Timeslot Step Size
2400
- * @description Slot intervals
2163
+ * Topic Id
2164
+ * @description Optional topic
2401
2165
  */
2402
- timeslot_step_size?: number | null;
2403
- /** Timeslot Format */
2404
- timeslot_format?: string | null;
2405
- /** Slot Type */
2406
- slot_type?: string | null;
2407
- /** Allow Multiple Booking */
2408
- allow_multiple_booking?: boolean | null;
2409
- /** Allow Recurring Booking */
2410
- allow_recurring_booking?: boolean | null;
2411
- /** Max Recurring Sessions */
2412
- max_recurring_sessions?: number | null;
2413
- /** Selection Format */
2414
- selection_format?: string | null;
2415
- /** Display Divided Slots */
2416
- display_divided_slots?: boolean | null;
2417
- /** Allow Out Of Availability Request */
2418
- allow_out_of_availability_request?: boolean | null;
2419
- /** Custom Session Title Mode */
2420
- custom_session_title_mode?: string | null;
2421
- /** Custom Session Title */
2422
- custom_session_title?: string | null;
2423
- /** Trial Enabled */
2424
- trial_enabled?: boolean | null;
2425
- /** Trial Duration */
2426
- trial_duration?: number | null;
2427
- /** Trial Price */
2428
- trial_price?: number | string | null;
2429
- /** Trial Limit Per Consumer */
2430
- trial_limit_per_consumer?: number | null;
2431
- };
2432
- /**
2433
- * OverrideCreateRequest
2434
- * @description Request model for creating an availability override.
2435
- */
2436
- OverrideCreateRequest: {
2166
+ topic_id?: string | null;
2437
2167
  /**
2438
- * Override Date
2439
- * @description Date in YYYY-MM-DD format
2168
+ * Preferred Date
2169
+ * @description Preferred date (YYYY-MM-DD)
2440
2170
  */
2441
- override_date: string;
2442
- /** @description 'unavailable' or 'custom' */
2443
- override_type: components["schemas"]["OverrideTypeEnum"];
2171
+ preferred_date?: string | null;
2444
2172
  /**
2445
- * Starts At Time
2446
- * @description Start time for custom type (HH:MM)
2173
+ * Preferred Time
2174
+ * @description Preferred time (HH:MM)
2447
2175
  */
2448
- starts_at_time?: string | null;
2176
+ preferred_time?: string | null;
2449
2177
  /**
2450
- * Ends At Time
2451
- * @description End time for custom type (HH:MM)
2178
+ * Duration Minutes
2179
+ * @description Session duration
2180
+ * @default 30
2452
2181
  */
2453
- ends_at_time?: string | null;
2182
+ duration_minutes: number;
2454
2183
  /**
2455
- * Timezone
2456
- * @description Expert's timezone
2457
- * @default UTC
2184
+ * @description Price preference
2185
+ * @default any
2458
2186
  */
2459
- timezone: string;
2187
+ price_preference: components["schemas"]["PricePreference"];
2460
2188
  /**
2461
- * Reason
2462
- * @description Reason for override
2189
+ * Min Rating
2190
+ * @description Minimum rating
2463
2191
  */
2464
- reason?: string | null;
2465
- };
2466
- ErrorResponse: {
2467
- /** @example about:blank */
2468
- type?: string;
2469
- /** @example GENERIC_ERROR */
2470
- code?: string;
2471
- /** @example Client Error */
2472
- title?: string;
2473
- /** @example 400 */
2474
- status?: number;
2475
- /** @example An error occurred */
2476
- detail?: string;
2477
- /** @example /v1/cart/items */
2478
- instance?: string;
2479
- extensions?: components["schemas"]["Extensions"];
2192
+ min_rating?: number | null;
2480
2193
  };
2481
2194
  Extensions: {
2482
2195
  /** @example GENERIC_ERROR */
@@ -2488,137 +2201,49 @@ export interface components {
2488
2201
  debug?: string | null;
2489
2202
  };
2490
2203
  /**
2491
- * ServiceProductRequest
2492
- * @description Request model for a single product configuration.
2493
- */
2494
- ServiceProductRequest: {
2495
- /**
2496
- * Product Code
2497
- * @description Product code
2498
- */
2499
- product_code: string;
2500
- /**
2501
- * Is Enabled
2502
- * @description Enable status
2503
- * @default true
2504
- */
2505
- is_enabled: boolean;
2506
- /**
2507
- * Display Order
2508
- * @default 100
2509
- */
2510
- display_order: number;
2511
- /**
2512
- * Product Id
2513
- * @description Link to product_tbl
2514
- */
2515
- product_id?: number | null;
2516
- /** Custom Settings */
2517
- custom_settings?: {
2518
- [key: string]: unknown;
2519
- } | null;
2520
- };
2521
- /**
2522
- * ChannelPreference
2523
- * @description Channel-specific preference.
2524
- */
2525
- ChannelPreference: {
2526
- channel: components["schemas"]["NotificationChannelEnum"];
2527
- /**
2528
- * Enabled
2529
- * @default true
2530
- */
2531
- enabled: boolean;
2532
- /**
2533
- * Quiet Hours Start
2534
- * @description Start of quiet hours (HH:MM)
2535
- */
2536
- quiet_hours_start?: string | null;
2537
- /**
2538
- * Quiet Hours End
2539
- * @description End of quiet hours (HH:MM)
2540
- */
2541
- quiet_hours_end?: string | null;
2542
- };
2543
- /**
2544
- * VariantItem
2545
- * @description Product variant (maps to product_variants_tbl)
2546
- */
2547
- VariantItem: {
2548
- /**
2549
- * Name
2550
- * @description Variant display name
2551
- */
2552
- name: string;
2553
- /**
2554
- * Sku
2555
- * @description Stock Keeping Unit
2556
- */
2557
- sku?: string | null;
2558
- /**
2559
- * Attributes
2560
- * @description Custom attributes
2561
- */
2562
- attributes?: {
2563
- [key: string]: unknown;
2564
- } | null;
2565
- /**
2566
- * Is Default
2567
- * @description Set as default variant
2568
- * @default false
2569
- */
2570
- is_default: boolean;
2571
- /**
2572
- * Track Inventory
2573
- * @description Track stock for this variant
2574
- * @default false
2575
- */
2576
- track_inventory: boolean;
2577
- /**
2578
- * Stock Quantity
2579
- * @description Initial stock
2580
- */
2581
- stock_quantity?: number | null;
2582
- /**
2583
- * Allow Backorder
2584
- * @description Allow orders when out of stock
2585
- * @default false
2586
- */
2587
- allow_backorder: boolean;
2588
- /**
2589
- * Weight
2590
- * @description Weight in kg
2591
- */
2592
- weight?: number | null;
2593
- /**
2594
- * Length
2595
- * @description Length in cm
2596
- */
2597
- length?: number | null;
2204
+ * TimeSlotRequest
2205
+ * @description Request model for a single time slot.
2206
+ */
2207
+ TimeSlotRequest: {
2598
2208
  /**
2599
- * Width
2600
- * @description Width in cm
2209
+ * Starts At Time
2210
+ * @description Start time in HH:MM format
2601
2211
  */
2602
- width?: number | null;
2212
+ starts_at_time: string;
2603
2213
  /**
2604
- * Height
2605
- * @description Height in cm
2214
+ * Ends At Time
2215
+ * @description End time in HH:MM format
2606
2216
  */
2607
- height?: number | null;
2217
+ ends_at_time: string;
2218
+ };
2219
+ InvalidParam: {
2220
+ /** @example items[0].quantity */
2221
+ field?: string;
2222
+ /** @example Input should be greater than or equal to 1 */
2223
+ error?: string;
2224
+ };
2225
+ /**
2226
+ * BookingCancelRequest
2227
+ * @description Request model for cancelling a booking.
2228
+ */
2229
+ BookingCancelRequest: {
2608
2230
  /**
2609
- * Display Order
2610
- * @description Display order
2611
- * @default 100
2231
+ * Cancel Reason Id
2232
+ * @description Reason ID from msd_reasons_tbl
2612
2233
  */
2613
- display_order: number;
2234
+ cancel_reason_id?: number | null;
2614
2235
  /**
2615
- * Metadata
2616
- * @description Flexible metadata
2236
+ * Cancel Reason Text
2237
+ * @description Additional cancellation reason
2617
2238
  */
2618
- metadata?: {
2619
- [key: string]: unknown;
2620
- } | null;
2239
+ cancel_reason_text?: string | null;
2621
2240
  };
2241
+ /**
2242
+ * NotificationChannelEnum
2243
+ * @description Notification channel enum.
2244
+ * @enum {string}
2245
+ */
2246
+ NotificationChannelEnum: "email" | "sms" | "push" | "inapp" | "webhook";
2622
2247
  /**
2623
2248
  * BookingCreateRequest
2624
2249
  * @description Request model for creating a booking.
@@ -2693,22 +2318,271 @@ export interface components {
2693
2318
  */
2694
2319
  booking_source_id?: number | null;
2695
2320
  /**
2696
- * Is Trial
2697
- * @description Is this a trial session?
2698
- * @default false
2321
+ * Is Trial
2322
+ * @description Is this a trial session?
2323
+ * @default false
2324
+ */
2325
+ is_trial: boolean;
2326
+ };
2327
+ /**
2328
+ * ExpertSettingsUpdateRequest
2329
+ * @description Request model for updating expert settings.
2330
+ */
2331
+ ExpertSettingsUpdateRequest: {
2332
+ /**
2333
+ * Custom Rate
2334
+ * @description Custom rate
2335
+ */
2336
+ custom_rate?: number | string | null;
2337
+ /**
2338
+ * Accepts New Bookings
2339
+ * @description Accepting new bookings
2340
+ */
2341
+ accepts_new_bookings?: boolean | null;
2342
+ /**
2343
+ * Max Daily Bookings
2344
+ * @description Max daily bookings
2345
+ */
2346
+ max_daily_bookings?: number | null;
2347
+ /**
2348
+ * Auto Confirm Bookings
2349
+ * @description Auto-confirm bookings
2350
+ */
2351
+ auto_confirm_bookings?: boolean | null;
2352
+ /**
2353
+ * Subjects
2354
+ * @description Subject codes/IDs
2355
+ */
2356
+ subjects?: string[] | null;
2357
+ /**
2358
+ * Topics
2359
+ * @description Topic codes/IDs
2360
+ */
2361
+ topics?: string[] | null;
2362
+ };
2363
+ /**
2364
+ * ServiceProductRequest
2365
+ * @description Request model for a single product configuration.
2366
+ */
2367
+ ServiceProductRequest: {
2368
+ /**
2369
+ * Product Code
2370
+ * @description Product code
2371
+ */
2372
+ product_code: string;
2373
+ /**
2374
+ * Is Enabled
2375
+ * @description Enable status
2376
+ * @default true
2377
+ */
2378
+ is_enabled: boolean;
2379
+ /**
2380
+ * Display Order
2381
+ * @default 100
2382
+ */
2383
+ display_order: number;
2384
+ /**
2385
+ * Product Id
2386
+ * @description Link to product_tbl
2387
+ */
2388
+ product_id?: number | null;
2389
+ /** Custom Settings */
2390
+ custom_settings?: {
2391
+ [key: string]: unknown;
2392
+ } | null;
2393
+ };
2394
+ /**
2395
+ * WebhookCreateRequest
2396
+ * @description Request model for creating a webhook.
2397
+ */
2398
+ WebhookCreateRequest: {
2399
+ /**
2400
+ * Url
2401
+ * @description Webhook endpoint URL
2402
+ */
2403
+ url: string;
2404
+ /**
2405
+ * Events
2406
+ * @description Events to subscribe to
2407
+ */
2408
+ events: components["schemas"]["EventTypeEnum"][];
2409
+ /**
2410
+ * Secret
2411
+ * @description Secret for webhook signature
2412
+ */
2413
+ secret?: string | null;
2414
+ /**
2415
+ * Is Active
2416
+ * @description Whether webhook is active
2417
+ * @default true
2418
+ */
2419
+ is_active: boolean;
2420
+ /** Description */
2421
+ description?: string | null;
2422
+ };
2423
+ /**
2424
+ * CreditVoidRequest
2425
+ * @description Request model for voiding a credit.
2426
+ */
2427
+ CreditVoidRequest: {
2428
+ /**
2429
+ * Reason
2430
+ * @description Reason for voiding
2431
+ */
2432
+ reason?: string | null;
2433
+ };
2434
+ /**
2435
+ * ServiceSettingsSection
2436
+ * @description Service booking configuration (maps to service_settings_tbl)
2437
+ */
2438
+ ServiceSettingsSection: {
2439
+ /**
2440
+ * Min Booking Duration
2441
+ * @description Minimum booking duration in minutes
2442
+ * @default 20
2443
+ */
2444
+ min_booking_duration: number;
2445
+ /**
2446
+ * Max Booking Duration
2447
+ * @description Maximum booking duration in minutes
2448
+ * @default 60
2449
+ */
2450
+ max_booking_duration: number;
2451
+ /**
2452
+ * Booking Duration Step
2453
+ * @description Duration increment in minutes
2454
+ * @default 15
2455
+ */
2456
+ booking_duration_step: number;
2457
+ /**
2458
+ * Booking Lead Time Value
2459
+ * @description Hours before session required
2460
+ * @default 2
2461
+ */
2462
+ booking_lead_time_value: number;
2463
+ /**
2464
+ * Booking Lead Time Handler
2465
+ * @description Who controls lead time: org, expert
2466
+ * @default org
2467
+ */
2468
+ booking_lead_time_handler: string;
2469
+ /**
2470
+ * Buffer Time Before
2471
+ * @description Minutes gap before session
2472
+ * @default 0
2473
+ */
2474
+ buffer_time_before: number;
2475
+ /**
2476
+ * Buffer Time After
2477
+ * @description Minutes gap after session
2478
+ * @default 0
2479
+ */
2480
+ buffer_time_after: number;
2481
+ /**
2482
+ * Avoid Back To Back
2483
+ * @description Enforce buffer between sessions
2484
+ * @default false
2485
+ */
2486
+ avoid_back_to_back: boolean;
2487
+ /**
2488
+ * Availability Window Days
2489
+ * @description Max days ahead consumer can book
2490
+ * @default 90
2491
+ */
2492
+ availability_window_days: number;
2493
+ /**
2494
+ * First Slot Rounding
2495
+ * @description Round first available slot to nearest X minutes
2496
+ * @default 15
2497
+ */
2498
+ first_slot_rounding: number;
2499
+ /**
2500
+ * Allow Recurring Bookings
2501
+ * @description Allow recurring bookings
2502
+ * @default false
2503
+ */
2504
+ allow_recurring_bookings: boolean;
2505
+ /**
2506
+ * Max Recurring Sessions
2507
+ * @description Max sessions in recurring series
2508
+ */
2509
+ max_recurring_sessions?: number | null;
2510
+ /**
2511
+ * Enable Trial Sessions
2512
+ * @description Enable trial/sample sessions
2513
+ * @default false
2514
+ */
2515
+ enable_trial_sessions: boolean;
2516
+ /**
2517
+ * Trial Session Duration
2518
+ * @description Trial session duration in minutes
2519
+ */
2520
+ trial_session_duration?: number | null;
2521
+ /**
2522
+ * Trial Session Price
2523
+ * @description Trial session price (0 for free)
2524
+ */
2525
+ trial_session_price?: number | null;
2526
+ };
2527
+ /**
2528
+ * CancellationPolicyRequest
2529
+ * @description Request model for cancellation policy.
2530
+ */
2531
+ CancellationPolicyRequest: {
2532
+ /**
2533
+ * Product Code
2534
+ * @description NULL for service-wide default
2699
2535
  */
2700
- is_trial: boolean;
2536
+ product_code?: string | null;
2537
+ /** Consumer Cancel Allowed */
2538
+ consumer_cancel_allowed?: boolean | null;
2539
+ /** Consumer Cancel Window Hours */
2540
+ consumer_cancel_window_hours?: number | null;
2541
+ /** Consumer In Window Credit */
2542
+ consumer_in_window_credit?: boolean | null;
2543
+ /** Consumer Out Window Credit */
2544
+ consumer_out_window_credit?: boolean | null;
2545
+ /** Consumer Cancel Reason Required */
2546
+ consumer_cancel_reason_required?: boolean | null;
2547
+ /** Consumer Reschedule Allowed */
2548
+ consumer_reschedule_allowed?: boolean | null;
2549
+ /** Expert Cancel Allowed */
2550
+ expert_cancel_allowed?: boolean | null;
2551
+ /** Expert Cancel Window Hours */
2552
+ expert_cancel_window_hours?: number | null;
2553
+ /** Expert In Window Credit */
2554
+ expert_in_window_credit?: boolean | null;
2555
+ /** Expert Out Window Credit */
2556
+ expert_out_window_credit?: boolean | null;
2557
+ /** Expert Reschedule Allowed */
2558
+ expert_reschedule_allowed?: boolean | null;
2559
+ /** Credit Expiry Hours */
2560
+ credit_expiry_hours?: number | null;
2561
+ /** Credit Type */
2562
+ credit_type?: string | null;
2563
+ /** Credit Transferable */
2564
+ credit_transferable?: boolean | null;
2701
2565
  };
2702
2566
  /**
2703
- * MediaSection
2704
- * @description Product media files - direct media data
2567
+ * ExpertApplyRequest
2568
+ * @description Request model for expert applying to a service.
2705
2569
  */
2706
- MediaSection: {
2570
+ ExpertApplyRequest: {
2707
2571
  /**
2708
- * Media Items
2709
- * @description List of media files to attach to product
2572
+ * Custom Rate
2573
+ * @description Custom rate if allowed
2710
2574
  */
2711
- media_items?: components["schemas"]["MediaItem"][] | null;
2575
+ custom_rate?: number | string | null;
2576
+ /**
2577
+ * Subjects
2578
+ * @description Subject codes/IDs
2579
+ */
2580
+ subjects?: string[] | null;
2581
+ /**
2582
+ * Topics
2583
+ * @description Topic codes/IDs
2584
+ */
2585
+ topics?: string[] | null;
2712
2586
  };
2713
2587
  /**
2714
2588
  * ProductSection
@@ -2762,182 +2636,229 @@ export interface components {
2762
2636
  featured: boolean;
2763
2637
  };
2764
2638
  /**
2765
- * NotificationPreferencesRequest
2766
- * @description Request model for updating notification preferences.
2639
+ * BookingSourceTypeEnum
2640
+ * @description Booking source type enum.
2641
+ * @enum {string}
2767
2642
  */
2768
- NotificationPreferencesRequest: {
2769
- /**
2770
- * Timezone
2771
- * @description User timezone (IANA format)
2772
- */
2773
- timezone?: string | null;
2774
- /**
2775
- * Language
2776
- * @description Preferred language code
2777
- */
2778
- language?: string | null;
2779
- /**
2780
- * Global Enabled
2781
- * @description Master toggle for all notifications
2782
- */
2783
- global_enabled?: boolean | null;
2784
- /** Channel Preferences */
2785
- channel_preferences?: components["schemas"]["ChannelPreference"][] | null;
2786
- /** Event Preferences */
2787
- event_preferences?: components["schemas"]["EventPreference"][] | null;
2788
- };
2643
+ BookingSourceTypeEnum: "direct_booking" | "session_pack" | "subscription" | "credit_bucket";
2789
2644
  /**
2790
- * ServiceProductsUpdateRequest
2791
- * @description Request model for bulk updating service products.
2645
+ * EventTypeEnum
2646
+ * @description Booking event type enum.
2647
+ * @enum {string}
2792
2648
  */
2793
- ServiceProductsUpdateRequest: {
2794
- /** Products */
2795
- products: components["schemas"]["ServiceProductRequest"][];
2649
+ 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";
2650
+ /**
2651
+ * @example {
2652
+ * "status": "success",
2653
+ * "message": "Operation successful",
2654
+ * "message_code": "api_suc_20001",
2655
+ * "data": {},
2656
+ * "metadata": {
2657
+ * "timestamp": "2026-03-26T10:00:00.000Z",
2658
+ * "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
2659
+ * "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
2660
+ * "version": "v1",
2661
+ * "executionTime": 42,
2662
+ * "language": "en-US"
2663
+ * }
2664
+ * }
2665
+ */
2666
+ StandardResponse: {
2667
+ /** @example success */
2668
+ status?: string;
2669
+ data?: Record<string, never> | null;
2670
+ /** @example Operation successful */
2671
+ message?: string | null;
2672
+ /** @example api_suc_20001 */
2673
+ message_code?: string | null;
2674
+ metadata?: Record<string, never> | null;
2675
+ error?: components["schemas"]["ErrorResponse"];
2796
2676
  };
2797
2677
  /**
2798
- * ServiceSettingsSection
2799
- * @description Service booking configuration (maps to service_settings_tbl)
2678
+ * BookingRescheduleRequest
2679
+ * @description Request model for rescheduling a booking.
2800
2680
  */
2801
- ServiceSettingsSection: {
2802
- /**
2803
- * Min Booking Duration
2804
- * @description Minimum booking duration in minutes
2805
- * @default 20
2806
- */
2807
- min_booking_duration: number;
2681
+ BookingRescheduleRequest: {
2808
2682
  /**
2809
- * Max Booking Duration
2810
- * @description Maximum booking duration in minutes
2811
- * @default 60
2683
+ * New Starts At
2684
+ * @description New start datetime in ISO format (UTC)
2812
2685
  */
2813
- max_booking_duration: number;
2686
+ new_starts_at: string;
2687
+ };
2688
+ /**
2689
+ * ServiceProductCreateRequest
2690
+ * @description Service creation request - inherits common fields, adds service-specific sections
2691
+ * @example {
2692
+ * "identity": {
2693
+ * "locale": "en-US",
2694
+ * "title": "Online Tutoring Service"
2695
+ * },
2696
+ * "pricing": {
2697
+ * "product_price": {
2698
+ * "amount": 25,
2699
+ * "currency": "USD",
2700
+ * "price_type": "one_time"
2701
+ * }
2702
+ * },
2703
+ * "product": {
2704
+ * "is_digital": true,
2705
+ * "status": "draft",
2706
+ * "visibility": "public"
2707
+ * },
2708
+ * "service": {
2709
+ * "enrollment_mode": "open",
2710
+ * "max_rate": 100,
2711
+ * "min_rate": 15,
2712
+ * "pricing_mode": "expert_defined",
2713
+ * "service_code": "online-tutoring",
2714
+ * "service_type": "expert_service"
2715
+ * },
2716
+ * "service_settings": {
2717
+ * "availability_window_days": 60,
2718
+ * "booking_duration_step": 30,
2719
+ * "max_booking_duration": 120,
2720
+ * "min_booking_duration": 30
2721
+ * }
2722
+ * }
2723
+ */
2724
+ ServiceProductCreateRequest: {
2725
+ /** @description Base product configuration */
2726
+ product: components["schemas"]["ProductSection"];
2727
+ /** @description Localized content (title, description) */
2728
+ identity: components["schemas"]["IdentitySection"];
2729
+ /** @description Pre-uploaded image IDs */
2730
+ media?: components["schemas"]["MediaSection"] | null;
2814
2731
  /**
2815
- * Booking Duration Step
2816
- * @description Duration increment in minutes
2817
- * @default 15
2732
+ * Tags
2733
+ * @description Tag IDs to associate with product
2818
2734
  */
2819
- booking_duration_step: number;
2735
+ tags?: number[] | null;
2820
2736
  /**
2821
- * Booking Lead Time Value
2822
- * @description Hours before session required
2823
- * @default 2
2737
+ * Variants
2738
+ * @description Product variants (optional)
2824
2739
  */
2825
- booking_lead_time_value: number;
2740
+ variants?: components["schemas"]["VariantItem"][] | null;
2741
+ /** @description Pricing for product and variants */
2742
+ pricing?: components["schemas"]["PricingSection"] | null;
2743
+ /** @description Service-specific configuration */
2744
+ service: components["schemas"]["ServiceSection"];
2745
+ /** @description Service booking settings */
2746
+ service_settings: components["schemas"]["ServiceSettingsSection"];
2747
+ };
2748
+ /**
2749
+ * ServiceSection
2750
+ * @description Service-specific fields (maps to service_tbl)
2751
+ */
2752
+ ServiceSection: {
2826
2753
  /**
2827
- * Booking Lead Time Handler
2828
- * @description Who controls lead time: org, expert
2829
- * @default org
2754
+ * Service Code
2755
+ * @description Unique code within org: online-tutoring, makeup-services
2830
2756
  */
2831
- booking_lead_time_handler: string;
2757
+ service_code: string;
2832
2758
  /**
2833
- * Buffer Time Before
2834
- * @description Minutes gap before session
2835
- * @default 0
2759
+ * Service Type
2760
+ * @description org_service (SRV-at-org), expert_service (SRV-at-exp)
2836
2761
  */
2837
- buffer_time_before: number;
2762
+ service_type: string;
2838
2763
  /**
2839
- * Buffer Time After
2840
- * @description Minutes gap after session
2841
- * @default 0
2764
+ * Enrollment Mode
2765
+ * @description open, closed, invite_only, auto_approve
2766
+ * @default open
2842
2767
  */
2843
- buffer_time_after: number;
2768
+ enrollment_mode: string;
2844
2769
  /**
2845
- * Avoid Back To Back
2846
- * @description Enforce buffer between sessions
2847
- * @default false
2770
+ * Enrollment Requires Approval
2771
+ * @description Admin must approve expert applications
2772
+ * @default true
2848
2773
  */
2849
- avoid_back_to_back: boolean;
2774
+ enrollment_requires_approval: boolean;
2850
2775
  /**
2851
- * Availability Window Days
2852
- * @description Max days ahead consumer can book
2853
- * @default 90
2776
+ * Max Experts
2777
+ * @description Maximum experts allowed (NULL = unlimited)
2854
2778
  */
2855
- availability_window_days: number;
2779
+ max_experts?: number | null;
2856
2780
  /**
2857
- * First Slot Rounding
2858
- * @description Round first available slot to nearest X minutes
2859
- * @default 15
2781
+ * Pricing Mode
2782
+ * @description org_flat_rate, expert_defined
2783
+ * @default expert_defined
2860
2784
  */
2861
- first_slot_rounding: number;
2785
+ pricing_mode: string;
2862
2786
  /**
2863
- * Allow Recurring Bookings
2864
- * @description Allow recurring bookings
2865
- * @default false
2787
+ * Org Flat Rate
2788
+ * @description Flat rate if pricing_mode=org_flat_rate
2866
2789
  */
2867
- allow_recurring_bookings: boolean;
2790
+ org_flat_rate?: number | null;
2868
2791
  /**
2869
- * Max Recurring Sessions
2870
- * @description Max sessions in recurring series
2792
+ * Currency
2793
+ * @description Currency code: USD, EUR, INR
2794
+ * @default USD
2871
2795
  */
2872
- max_recurring_sessions?: number | null;
2796
+ currency: string;
2873
2797
  /**
2874
- * Enable Trial Sessions
2875
- * @description Enable trial/sample sessions
2876
- * @default false
2798
+ * Min Rate
2799
+ * @description Minimum rate for experts (rate constraint)
2877
2800
  */
2878
- enable_trial_sessions: boolean;
2801
+ min_rate?: number | null;
2879
2802
  /**
2880
- * Trial Session Duration
2881
- * @description Trial session duration in minutes
2803
+ * Max Rate
2804
+ * @description Maximum rate for experts (rate constraint)
2882
2805
  */
2883
- trial_session_duration?: number | null;
2806
+ max_rate?: number | null;
2884
2807
  /**
2885
- * Trial Session Price
2886
- * @description Trial session price (0 for free)
2808
+ * Site Level
2809
+ * @description True = org products (SRV-at-org), False = expert products (SRV-at-exp)
2810
+ * @default true
2887
2811
  */
2888
- trial_session_price?: number | null;
2812
+ site_level: boolean;
2889
2813
  };
2890
- /**
2891
- * NotificationChannelEnum
2892
- * @description Notification channel enum.
2893
- * @enum {string}
2894
- */
2895
- NotificationChannelEnum: "email" | "sms" | "push" | "inapp" | "webhook";
2896
- /**
2897
- * PricingSection
2898
- * @description Pricing configuration (optional - can have product price, variant prices, or both)
2899
- */
2900
- PricingSection: {
2901
- /** @description Base product price (no variant) */
2902
- product_price?: components["schemas"]["ProductPrice"] | null;
2814
+ /** Body_updateServiceApplication */
2815
+ Body_updateServiceApplication: {
2903
2816
  /**
2904
- * Variant Prices
2905
- * @description Variant-specific prices
2817
+ * Action
2818
+ * @description approve or reject
2906
2819
  */
2907
- variant_prices?: components["schemas"]["VariantPrice"][] | null;
2820
+ action: string;
2908
2821
  };
2909
2822
  /**
2910
- * ServiceStatus
2911
- * @description Service status enum.
2912
- * @enum {string}
2913
- */
2914
- ServiceStatus: "draft" | "active" | "paused" | "archived";
2915
- /**
2916
- * TimeSlotRequest
2917
- * @description Request model for a single time slot.
2823
+ * SendNotificationRequest
2824
+ * @description Request model for sending a manual notification.
2918
2825
  */
2919
- TimeSlotRequest: {
2826
+ SendNotificationRequest: {
2827
+ /** @description Event type to trigger */
2828
+ event_type: components["schemas"]["EventTypeEnum"];
2920
2829
  /**
2921
- * Starts At Time
2922
- * @description Start time in HH:MM format
2830
+ * Recipient Type
2831
+ * @description Recipient type: consumer, expert, or admin
2923
2832
  */
2924
- starts_at_time: string;
2833
+ recipient_type: string;
2925
2834
  /**
2926
- * Ends At Time
2927
- * @description End time in HH:MM format
2835
+ * Recipient Id
2836
+ * @description User ID of recipient
2928
2837
  */
2929
- ends_at_time: string;
2838
+ recipient_id: number;
2839
+ /**
2840
+ * Booking Id
2841
+ * @description Related booking ID
2842
+ */
2843
+ booking_id?: string | null;
2844
+ /**
2845
+ * Channels
2846
+ * @description Override channels (uses defaults if not provided)
2847
+ */
2848
+ channels?: components["schemas"]["NotificationChannelEnum"][] | null;
2849
+ /**
2850
+ * Extra Data
2851
+ * @description Additional data for templates
2852
+ */
2853
+ extra_data?: {
2854
+ [key: string]: unknown;
2855
+ } | null;
2930
2856
  };
2931
2857
  /**
2932
- * VariantPrice
2933
- * @description Variant-specific pricing (maps to product_pricings_tbl with variant_id set)
2858
+ * ProductPrice
2859
+ * @description Base product pricing (maps to product_pricings_tbl with variant_id=NULL)
2934
2860
  */
2935
- VariantPrice: {
2936
- /**
2937
- * Variant Index
2938
- * @description Index in variants array (0-based)
2939
- */
2940
- variant_index: number;
2861
+ ProductPrice: {
2941
2862
  /**
2942
2863
  * Price Type
2943
2864
  * @description free, one_time, subscription, monthly_plan
@@ -2945,7 +2866,7 @@ export interface components {
2945
2866
  price_type: string;
2946
2867
  /**
2947
2868
  * Currency
2948
- * @description Currency code
2869
+ * @description Currency code: INR, USD, EUR, etc.
2949
2870
  */
2950
2871
  currency: string;
2951
2872
  /**
@@ -2960,7 +2881,7 @@ export interface components {
2960
2881
  compare_at_amount?: number | null;
2961
2882
  /**
2962
2883
  * Interval
2963
- * @description day, week, month, year
2884
+ * @description day, week, month, year (for subscription)
2964
2885
  */
2965
2886
  interval?: string | null;
2966
2887
  /**
@@ -2991,262 +2912,448 @@ export interface components {
2991
2912
  requires_payment_method_upfront: boolean;
2992
2913
  };
2993
2914
  /**
2994
- * @example {
2995
- * "status": "success",
2996
- * "message": "Operation successful",
2997
- * "message_code": "api_suc_20001",
2998
- * "data": {},
2999
- * "metadata": {
3000
- * "timestamp": "2026-03-26T10:00:00.000Z",
3001
- * "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
3002
- * "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
3003
- * "version": "v1",
3004
- * "executionTime": 42,
3005
- * "language": "en-US"
3006
- * }
3007
- * }
2915
+ * ExpertInviteRequest
2916
+ * @description Request model for inviting an expert to a service.
3008
2917
  */
3009
- StandardResponse: {
3010
- /** @example success */
3011
- status?: string;
3012
- data?: Record<string, never> | null;
3013
- /** @example Operation successful */
3014
- message?: string | null;
3015
- /** @example api_suc_20001 */
3016
- message_code?: string | null;
3017
- metadata?: Record<string, never> | null;
3018
- error?: components["schemas"]["ErrorResponse"];
2918
+ ExpertInviteRequest: {
2919
+ /**
2920
+ * Expert Id
2921
+ * @description User ID of expert to invite
2922
+ */
2923
+ expert_id: number;
2924
+ /**
2925
+ * Custom Rate
2926
+ * @description Custom rate
2927
+ */
2928
+ custom_rate?: number | string | null;
2929
+ /**
2930
+ * Subjects
2931
+ * @description Subject codes/IDs
2932
+ */
2933
+ subjects?: string[] | null;
2934
+ /**
2935
+ * Topics
2936
+ * @description Topic codes/IDs
2937
+ */
2938
+ topics?: string[] | null;
2939
+ };
2940
+ ErrorResponse: {
2941
+ /** @example about:blank */
2942
+ type?: string;
2943
+ /** @example GENERIC_ERROR */
2944
+ code?: string;
2945
+ /** @example Client Error */
2946
+ title?: string;
2947
+ /** @example 400 */
2948
+ status?: number;
2949
+ /** @example An error occurred */
2950
+ detail?: string;
2951
+ /** @example /v1/cart/items */
2952
+ instance?: string;
2953
+ extensions?: components["schemas"]["Extensions"];
3019
2954
  };
3020
2955
  /**
3021
- * ServiceCreateRequest
3022
- * @description Request model for creating a service.
2956
+ * FlowStepValidationRequest
2957
+ * @description Request model for validating a flow step.
3023
2958
  */
3024
- ServiceCreateRequest: {
2959
+ FlowStepValidationRequest: {
3025
2960
  /**
3026
- * Service Code
3027
- * @description Unique code within org: online-tutoring, makeup-services
2961
+ * Step Data
2962
+ * @description Data for this step
3028
2963
  */
3029
- service_code: string;
3030
- /** @description org_service (SRV-at-org) or expert_service (SRV-at-exp) */
3031
- service_type: components["schemas"]["ServiceType"];
2964
+ step_data: {
2965
+ [key: string]: unknown;
2966
+ };
2967
+ };
2968
+ /**
2969
+ * EventPreference
2970
+ * @description Preference for a specific event type.
2971
+ */
2972
+ EventPreference: {
2973
+ event_type: components["schemas"]["EventTypeEnum"];
3032
2974
  /**
3033
- * Title
3034
- * @description Display title
2975
+ * Enabled
2976
+ * @default true
3035
2977
  */
3036
- title: string;
2978
+ enabled: boolean;
2979
+ /** Channels */
2980
+ channels?: components["schemas"]["NotificationChannelEnum"][];
2981
+ };
2982
+ /**
2983
+ * OverrideTypeEnum
2984
+ * @description Override type enum.
2985
+ * @enum {string}
2986
+ */
2987
+ OverrideTypeEnum: "unavailable" | "custom";
2988
+ /**
2989
+ * MediaItem
2990
+ * @description Single media file item
2991
+ */
2992
+ MediaItem: {
3037
2993
  /**
3038
- * Description
3039
- * @description Full description
2994
+ * Media Type
2995
+ * @description logo, banner, promo_video, gallery_image, gallery_video, swatch
3040
2996
  */
3041
- description?: string | null;
2997
+ media_type: string;
3042
2998
  /**
3043
- * Short Description
3044
- * @description Short description
2999
+ * File Path
3000
+ * @description Path to media file on storage (S3, CDN, local)
3045
3001
  */
3046
- short_description?: string | null;
3002
+ file_path: string;
3047
3003
  /**
3048
- * Icon
3049
- * @description Icon class
3004
+ * File Name
3005
+ * @description Original filename
3050
3006
  */
3051
- icon?: string | null;
3007
+ file_name: string;
3052
3008
  /**
3053
- * Banner Url
3054
- * @description Banner image URL
3009
+ * File Size
3010
+ * @description File size in bytes
3055
3011
  */
3056
- banner_url?: string | null;
3012
+ file_size?: number | null;
3013
+ /**
3014
+ * Mime Type
3015
+ * @description MIME type (image/png, video/mp4, etc.)
3016
+ */
3017
+ mime_type?: string | null;
3018
+ /**
3019
+ * Width
3020
+ * @description Width in pixels (for images/videos)
3021
+ */
3022
+ width?: number | null;
3023
+ /**
3024
+ * Height
3025
+ * @description Height in pixels (for images/videos)
3026
+ */
3027
+ height?: number | null;
3057
3028
  /**
3058
- * Display Order
3059
- * @description Sort order
3060
- * @default 100
3029
+ * Responsive Versions
3030
+ * @description JSON with thumbnail, small, medium, large, xlarge, original paths
3061
3031
  */
3062
- display_order: number;
3032
+ responsive_versions?: {
3033
+ [key: string]: string;
3034
+ } | null;
3063
3035
  /**
3064
- * @description Expert enrollment mode
3065
- * @default open
3036
+ * Alt Text
3037
+ * @description Alt text for SEO/accessibility
3066
3038
  */
3067
- enrollment_mode: components["schemas"]["EnrollmentMode"];
3039
+ alt_text?: string | null;
3068
3040
  /**
3069
- * Enrollment Requires Approval
3070
- * @description Admin must approve applications
3071
- * @default true
3041
+ * Locale
3042
+ * @description Media locale (en-US, es-PR, etc.)
3043
+ * @default en-US
3072
3044
  */
3073
- enrollment_requires_approval: boolean;
3045
+ locale: string;
3074
3046
  /**
3075
- * Max Experts
3076
- * @description Max experts allowed
3047
+ * Display Order
3048
+ * @description Display order
3049
+ * @default 0
3077
3050
  */
3078
- max_experts?: number | null;
3051
+ display_order: number;
3079
3052
  /**
3080
- * @description Fee type for experts
3081
- * @default free
3053
+ * Is Primary
3054
+ * @description Mark as primary media
3055
+ * @default false
3082
3056
  */
3083
- expert_fee_type: components["schemas"]["ExpertFeeType"];
3057
+ is_primary: boolean;
3058
+ };
3059
+ /**
3060
+ * WeeklyTemplateRequest
3061
+ * @description Request model for updating weekly availability template.
3062
+ */
3063
+ WeeklyTemplateRequest: {
3084
3064
  /**
3085
- * Expert Fee Product Id
3086
- * @description Product ID for enrollment fee
3065
+ * Timezone
3066
+ * @description Expert's timezone (IANA format)
3067
+ * @default UTC
3087
3068
  */
3088
- expert_fee_product_id?: number | null;
3069
+ timezone: string;
3070
+ /** Sunday */
3071
+ sunday?: components["schemas"]["TimeSlotRequest"][] | null;
3072
+ /** Monday */
3073
+ monday?: components["schemas"]["TimeSlotRequest"][] | null;
3074
+ /** Tuesday */
3075
+ tuesday?: components["schemas"]["TimeSlotRequest"][] | null;
3076
+ /** Wednesday */
3077
+ wednesday?: components["schemas"]["TimeSlotRequest"][] | null;
3078
+ /** Thursday */
3079
+ thursday?: components["schemas"]["TimeSlotRequest"][] | null;
3080
+ /** Friday */
3081
+ friday?: components["schemas"]["TimeSlotRequest"][] | null;
3082
+ /** Saturday */
3083
+ saturday?: components["schemas"]["TimeSlotRequest"][] | null;
3084
+ };
3085
+ /**
3086
+ * PricingMode
3087
+ * @description Service pricing mode enum.
3088
+ * @enum {string}
3089
+ */
3090
+ PricingMode: "org_flat_rate" | "expert_defined";
3091
+ /**
3092
+ * ChannelPreference
3093
+ * @description Channel-specific preference.
3094
+ */
3095
+ ChannelPreference: {
3096
+ channel: components["schemas"]["NotificationChannelEnum"];
3089
3097
  /**
3090
- * @description Pricing mode
3091
- * @default expert_defined
3098
+ * Enabled
3099
+ * @default true
3092
3100
  */
3093
- pricing_mode: components["schemas"]["PricingMode"];
3101
+ enabled: boolean;
3094
3102
  /**
3095
- * Org Flat Rate
3096
- * @description Flat rate if org_flat_rate mode
3103
+ * Quiet Hours Start
3104
+ * @description Start of quiet hours (HH:MM)
3097
3105
  */
3098
- org_flat_rate?: number | string | null;
3106
+ quiet_hours_start?: string | null;
3099
3107
  /**
3100
- * Currency
3101
- * @description Currency code
3102
- * @default USD
3108
+ * Quiet Hours End
3109
+ * @description End of quiet hours (HH:MM)
3103
3110
  */
3104
- currency: string;
3111
+ quiet_hours_end?: string | null;
3112
+ };
3113
+ /**
3114
+ * ServiceType
3115
+ * @description Service type enum.
3116
+ * @enum {string}
3117
+ */
3118
+ ServiceType: "org_service" | "expert_service";
3119
+ /**
3120
+ * SlotCheckRequest
3121
+ * @description Request model for checking a specific slot.
3122
+ */
3123
+ SlotCheckRequest: {
3105
3124
  /**
3106
- * Min Rate
3107
- * @description Minimum expert rate
3125
+ * Expert Id
3126
+ * @description Expert user ID
3108
3127
  */
3109
- min_rate?: number | string | null;
3128
+ expert_id: number;
3110
3129
  /**
3111
- * Max Rate
3112
- * @description Maximum expert rate
3130
+ * Starts At
3131
+ * @description Start datetime in ISO format (UTC)
3113
3132
  */
3114
- max_rate?: number | string | null;
3133
+ starts_at: string;
3115
3134
  /**
3116
- * Company Id
3117
- * @description Company ID for multi-company orgs
3135
+ * Duration Minutes
3136
+ * @description Session duration in minutes
3118
3137
  */
3119
- company_id?: number | null;
3138
+ duration_minutes: number;
3120
3139
  };
3121
3140
  /**
3122
- * OverrideTypeEnum
3123
- * @description Override type enum.
3141
+ * EnrollmentMode
3142
+ * @description Expert enrollment mode enum.
3124
3143
  * @enum {string}
3125
3144
  */
3126
- OverrideTypeEnum: "unavailable" | "custom";
3145
+ EnrollmentMode: "open" | "closed" | "invite_only" | "auto_approve";
3127
3146
  /**
3128
- * ServiceSection
3129
- * @description Service-specific fields (maps to service_tbl)
3147
+ * PricingSection
3148
+ * @description Pricing configuration (optional - can have product price, variant prices, or both)
3130
3149
  */
3131
- ServiceSection: {
3150
+ PricingSection: {
3151
+ /** @description Base product price (no variant) */
3152
+ product_price?: components["schemas"]["ProductPrice"] | null;
3132
3153
  /**
3133
- * Service Code
3134
- * @description Unique code within org: online-tutoring, makeup-services
3154
+ * Variant Prices
3155
+ * @description Variant-specific prices
3135
3156
  */
3136
- service_code: string;
3157
+ variant_prices?: components["schemas"]["VariantPrice"][] | null;
3158
+ };
3159
+ /**
3160
+ * OverrideCreateRequest
3161
+ * @description Request model for creating an availability override.
3162
+ */
3163
+ OverrideCreateRequest: {
3137
3164
  /**
3138
- * Service Type
3139
- * @description org_service (SRV-at-org), expert_service (SRV-at-exp)
3165
+ * Override Date
3166
+ * @description Date in YYYY-MM-DD format
3140
3167
  */
3141
- service_type: string;
3168
+ override_date: string;
3169
+ /** @description 'unavailable' or 'custom' */
3170
+ override_type: components["schemas"]["OverrideTypeEnum"];
3142
3171
  /**
3143
- * Enrollment Mode
3144
- * @description open, closed, invite_only, auto_approve
3145
- * @default open
3172
+ * Starts At Time
3173
+ * @description Start time for custom type (HH:MM)
3146
3174
  */
3147
- enrollment_mode: string;
3175
+ starts_at_time?: string | null;
3148
3176
  /**
3149
- * Enrollment Requires Approval
3150
- * @description Admin must approve expert applications
3151
- * @default true
3177
+ * Ends At Time
3178
+ * @description End time for custom type (HH:MM)
3152
3179
  */
3153
- enrollment_requires_approval: boolean;
3180
+ ends_at_time?: string | null;
3154
3181
  /**
3155
- * Max Experts
3156
- * @description Maximum experts allowed (NULL = unlimited)
3182
+ * Timezone
3183
+ * @description Expert's timezone
3184
+ * @default UTC
3157
3185
  */
3158
- max_experts?: number | null;
3186
+ timezone: string;
3159
3187
  /**
3160
- * Pricing Mode
3161
- * @description org_flat_rate, expert_defined
3162
- * @default expert_defined
3188
+ * Reason
3189
+ * @description Reason for override
3163
3190
  */
3164
- pricing_mode: string;
3191
+ reason?: string | null;
3192
+ };
3193
+ /**
3194
+ * ExpertFeeType
3195
+ * @description Expert fee type enum.
3196
+ * @enum {string}
3197
+ */
3198
+ ExpertFeeType: "free" | "one_time" | "subscription";
3199
+ /**
3200
+ * ServiceProductsUpdateRequest
3201
+ * @description Request model for bulk updating service products.
3202
+ */
3203
+ ServiceProductsUpdateRequest: {
3204
+ /** Products */
3205
+ products: components["schemas"]["ServiceProductRequest"][];
3206
+ };
3207
+ /**
3208
+ * BookingCompleteRequest
3209
+ * @description Request model for completing a booking.
3210
+ */
3211
+ BookingCompleteRequest: {
3165
3212
  /**
3166
- * Org Flat Rate
3167
- * @description Flat rate if pricing_mode=org_flat_rate
3213
+ * Actual Duration Minutes
3214
+ * @description Actual session duration
3168
3215
  */
3169
- org_flat_rate?: number | null;
3216
+ actual_duration_minutes?: number | null;
3217
+ /**
3218
+ * Consumer Attended
3219
+ * @description Consumer attended
3220
+ */
3221
+ consumer_attended?: boolean | null;
3222
+ /**
3223
+ * Expert Attended
3224
+ * @description Expert attended
3225
+ */
3226
+ expert_attended?: boolean | null;
3227
+ };
3228
+ /**
3229
+ * ServiceUpdateRequest
3230
+ * @description Request model for updating a service.
3231
+ */
3232
+ ServiceUpdateRequest: {
3233
+ /** Title */
3234
+ title?: string | null;
3235
+ /** Description */
3236
+ description?: string | null;
3237
+ /** Short Description */
3238
+ short_description?: string | null;
3239
+ /** Icon */
3240
+ icon?: string | null;
3241
+ /** Banner Url */
3242
+ banner_url?: string | null;
3243
+ /** Display Order */
3244
+ display_order?: number | null;
3245
+ enrollment_mode?: components["schemas"]["EnrollmentMode"] | null;
3246
+ /** Enrollment Requires Approval */
3247
+ enrollment_requires_approval?: boolean | null;
3248
+ /** Max Experts */
3249
+ max_experts?: number | null;
3250
+ expert_fee_type?: components["schemas"]["ExpertFeeType"] | null;
3251
+ /** Expert Fee Product Id */
3252
+ expert_fee_product_id?: number | null;
3253
+ pricing_mode?: components["schemas"]["PricingMode"] | null;
3254
+ /** Org Flat Rate */
3255
+ org_flat_rate?: number | string | null;
3256
+ /** Currency */
3257
+ currency?: string | null;
3258
+ /** Min Rate */
3259
+ min_rate?: number | string | null;
3260
+ /** Max Rate */
3261
+ max_rate?: number | string | null;
3262
+ status?: components["schemas"]["ServiceStatus"] | null;
3263
+ };
3264
+ /**
3265
+ * ServiceSettingsRequest
3266
+ * @description Request model for service settings.
3267
+ */
3268
+ ServiceSettingsRequest: {
3170
3269
  /**
3171
- * Currency
3172
- * @description Currency code: USD, EUR, INR
3173
- * @default USD
3270
+ * Min Booking Duration
3271
+ * @description Min duration (minutes)
3174
3272
  */
3175
- currency: string;
3273
+ min_booking_duration?: number | null;
3176
3274
  /**
3177
- * Min Rate
3178
- * @description Minimum rate for experts (rate constraint)
3275
+ * Max Booking Duration
3276
+ * @description Max duration (minutes)
3179
3277
  */
3180
- min_rate?: number | null;
3278
+ max_booking_duration?: number | null;
3181
3279
  /**
3182
- * Max Rate
3183
- * @description Maximum rate for experts (rate constraint)
3280
+ * Booking Duration Step
3281
+ * @description Duration step (minutes)
3184
3282
  */
3185
- max_rate?: number | null;
3283
+ booking_duration_step?: number | null;
3186
3284
  /**
3187
- * Site Level
3188
- * @description True = org products (SRV-at-org), False = expert products (SRV-at-exp)
3189
- * @default true
3285
+ * Booking Lead Time Value
3286
+ * @description Lead time (hours)
3190
3287
  */
3191
- site_level: boolean;
3192
- };
3193
- /**
3194
- * PricingMode
3195
- * @description Service pricing mode enum.
3196
- * @enum {string}
3197
- */
3198
- PricingMode: "org_flat_rate" | "expert_defined";
3199
- /**
3200
- * IdentitySection
3201
- * @description Localized product content (maps to product_identity_tbl)
3202
- */
3203
- IdentitySection: {
3288
+ booking_lead_time_value?: number | null;
3289
+ /** Booking Lead Time Handler */
3290
+ booking_lead_time_handler?: string | null;
3204
3291
  /**
3205
- * Locale
3206
- * @description Locale: en-US, es-PR, fr-FR, pt-BR, etc.
3207
- * @default en-US
3292
+ * Buffer Time Before
3293
+ * @description Buffer before (minutes)
3208
3294
  */
3209
- locale: string;
3295
+ buffer_time_before?: number | null;
3210
3296
  /**
3211
- * Title
3212
- * @description Product title
3297
+ * Buffer Time After
3298
+ * @description Buffer after (minutes)
3213
3299
  */
3214
- title: string;
3300
+ buffer_time_after?: number | null;
3301
+ /** Avoid Back To Back */
3302
+ avoid_back_to_back?: boolean | null;
3215
3303
  /**
3216
- * Subtitle
3217
- * @description Product subtitle
3304
+ * Availability Window Days
3305
+ * @description Days ahead to book
3218
3306
  */
3219
- subtitle?: string | null;
3307
+ availability_window_days?: number | null;
3220
3308
  /**
3221
- * Description
3222
- * @description Full product description
3309
+ * First Slot Rounding
3310
+ * @description Round start time
3223
3311
  */
3224
- description?: string | null;
3312
+ first_slot_rounding?: number | null;
3225
3313
  /**
3226
- * Short Description
3227
- * @description Short description for listings/previews
3314
+ * Timeslot Step Size
3315
+ * @description Slot intervals
3228
3316
  */
3229
- short_description?: string | null;
3317
+ timeslot_step_size?: number | null;
3318
+ /** Timeslot Format */
3319
+ timeslot_format?: string | null;
3320
+ /** Slot Type */
3321
+ slot_type?: string | null;
3322
+ /** Allow Multiple Booking */
3323
+ allow_multiple_booking?: boolean | null;
3324
+ /** Allow Recurring Booking */
3325
+ allow_recurring_booking?: boolean | null;
3326
+ /** Max Recurring Sessions */
3327
+ max_recurring_sessions?: number | null;
3328
+ /** Selection Format */
3329
+ selection_format?: string | null;
3330
+ /** Display Divided Slots */
3331
+ display_divided_slots?: boolean | null;
3332
+ /** Allow Out Of Availability Request */
3333
+ allow_out_of_availability_request?: boolean | null;
3334
+ /** Custom Session Title Mode */
3335
+ custom_session_title_mode?: string | null;
3336
+ /** Custom Session Title */
3337
+ custom_session_title?: string | null;
3338
+ /** Trial Enabled */
3339
+ trial_enabled?: boolean | null;
3340
+ /** Trial Duration */
3341
+ trial_duration?: number | null;
3342
+ /** Trial Price */
3343
+ trial_price?: number | string | null;
3344
+ /** Trial Limit Per Consumer */
3345
+ trial_limit_per_consumer?: number | null;
3230
3346
  };
3231
3347
  /**
3232
- * EventPreference
3233
- * @description Preference for a specific event type.
3348
+ * VariantPrice
3349
+ * @description Variant-specific pricing (maps to product_pricings_tbl with variant_id set)
3234
3350
  */
3235
- EventPreference: {
3236
- event_type: components["schemas"]["EventTypeEnum"];
3351
+ VariantPrice: {
3237
3352
  /**
3238
- * Enabled
3239
- * @default true
3353
+ * Variant Index
3354
+ * @description Index in variants array (0-based)
3240
3355
  */
3241
- enabled: boolean;
3242
- /** Channels */
3243
- channels?: components["schemas"]["NotificationChannelEnum"][];
3244
- };
3245
- /**
3246
- * ProductPrice
3247
- * @description Base product pricing (maps to product_pricings_tbl with variant_id=NULL)
3248
- */
3249
- ProductPrice: {
3356
+ variant_index: number;
3250
3357
  /**
3251
3358
  * Price Type
3252
3359
  * @description free, one_time, subscription, monthly_plan
@@ -3254,7 +3361,7 @@ export interface components {
3254
3361
  price_type: string;
3255
3362
  /**
3256
3363
  * Currency
3257
- * @description Currency code: INR, USD, EUR, etc.
3364
+ * @description Currency code
3258
3365
  */
3259
3366
  currency: string;
3260
3367
  /**
@@ -3269,7 +3376,7 @@ export interface components {
3269
3376
  compare_at_amount?: number | null;
3270
3377
  /**
3271
3378
  * Interval
3272
- * @description day, week, month, year (for subscription)
3379
+ * @description day, week, month, year
3273
3380
  */
3274
3381
  interval?: string | null;
3275
3382
  /**
@@ -3300,323 +3407,216 @@ export interface components {
3300
3407
  requires_payment_method_upfront: boolean;
3301
3408
  };
3302
3409
  /**
3303
- * BookingCompleteRequest
3304
- * @description Request model for completing a booking.
3305
- */
3306
- BookingCompleteRequest: {
3307
- /**
3308
- * Actual Duration Minutes
3309
- * @description Actual session duration
3310
- */
3311
- actual_duration_minutes?: number | null;
3312
- /**
3313
- * Consumer Attended
3314
- * @description Consumer attended
3315
- */
3316
- consumer_attended?: boolean | null;
3317
- /**
3318
- * Expert Attended
3319
- * @description Expert attended
3320
- */
3321
- expert_attended?: boolean | null;
3322
- };
3323
- /**
3324
- * ExpertApplyRequest
3325
- * @description Request model for expert applying to a service.
3410
+ * IdentitySection
3411
+ * @description Localized product content (maps to product_identity_tbl)
3326
3412
  */
3327
- ExpertApplyRequest: {
3328
- /**
3329
- * Custom Rate
3330
- * @description Custom rate if allowed
3331
- */
3332
- custom_rate?: number | string | null;
3333
- /**
3334
- * Subjects
3335
- * @description Subject codes/IDs
3336
- */
3337
- subjects?: string[] | null;
3413
+ IdentitySection: {
3338
3414
  /**
3339
- * Topics
3340
- * @description Topic codes/IDs
3415
+ * Locale
3416
+ * @description Locale: en-US, es-PR, fr-FR, pt-BR, etc.
3417
+ * @default en-US
3341
3418
  */
3342
- topics?: string[] | null;
3343
- };
3344
- /**
3345
- * ExpertInviteRequest
3346
- * @description Request model for inviting an expert to a service.
3347
- */
3348
- ExpertInviteRequest: {
3419
+ locale: string;
3349
3420
  /**
3350
- * Expert Id
3351
- * @description User ID of expert to invite
3421
+ * Title
3422
+ * @description Product title
3352
3423
  */
3353
- expert_id: number;
3424
+ title: string;
3354
3425
  /**
3355
- * Custom Rate
3356
- * @description Custom rate
3426
+ * Subtitle
3427
+ * @description Product subtitle
3357
3428
  */
3358
- custom_rate?: number | string | null;
3429
+ subtitle?: string | null;
3359
3430
  /**
3360
- * Subjects
3361
- * @description Subject codes/IDs
3431
+ * Description
3432
+ * @description Full product description
3362
3433
  */
3363
- subjects?: string[] | null;
3434
+ description?: string | null;
3364
3435
  /**
3365
- * Topics
3366
- * @description Topic codes/IDs
3436
+ * Short Description
3437
+ * @description Short description for listings/previews
3367
3438
  */
3368
- topics?: string[] | null;
3439
+ short_description?: string | null;
3369
3440
  };
3370
3441
  /**
3371
- * SendNotificationRequest
3372
- * @description Request model for sending a manual notification.
3442
+ * VariantItem
3443
+ * @description Product variant (maps to product_variants_tbl)
3373
3444
  */
3374
- SendNotificationRequest: {
3375
- /** @description Event type to trigger */
3376
- event_type: components["schemas"]["EventTypeEnum"];
3377
- /**
3378
- * Recipient Type
3379
- * @description Recipient type: consumer, expert, or admin
3380
- */
3381
- recipient_type: string;
3382
- /**
3383
- * Recipient Id
3384
- * @description User ID of recipient
3385
- */
3386
- recipient_id: number;
3387
- /**
3388
- * Booking Id
3389
- * @description Related booking ID
3390
- */
3391
- booking_id?: string | null;
3445
+ VariantItem: {
3392
3446
  /**
3393
- * Channels
3394
- * @description Override channels (uses defaults if not provided)
3447
+ * Name
3448
+ * @description Variant display name
3395
3449
  */
3396
- channels?: components["schemas"]["NotificationChannelEnum"][] | null;
3450
+ name: string;
3397
3451
  /**
3398
- * Extra Data
3399
- * @description Additional data for templates
3452
+ * Sku
3453
+ * @description Stock Keeping Unit
3400
3454
  */
3401
- extra_data?: {
3402
- [key: string]: unknown;
3403
- } | null;
3404
- };
3405
- /**
3406
- * WebhookCreateRequest
3407
- * @description Request model for creating a webhook.
3408
- */
3409
- WebhookCreateRequest: {
3455
+ sku?: string | null;
3410
3456
  /**
3411
- * Url
3412
- * @description Webhook endpoint URL
3457
+ * Attributes
3458
+ * @description Custom attributes
3413
3459
  */
3414
- url: string;
3460
+ attributes?: {
3461
+ [key: string]: unknown;
3462
+ } | null;
3415
3463
  /**
3416
- * Events
3417
- * @description Events to subscribe to
3464
+ * Is Default
3465
+ * @description Set as default variant
3466
+ * @default false
3418
3467
  */
3419
- events: components["schemas"]["EventTypeEnum"][];
3468
+ is_default: boolean;
3420
3469
  /**
3421
- * Secret
3422
- * @description Secret for webhook signature
3470
+ * Track Inventory
3471
+ * @description Track stock for this variant
3472
+ * @default false
3423
3473
  */
3424
- secret?: string | null;
3474
+ track_inventory: boolean;
3425
3475
  /**
3426
- * Is Active
3427
- * @description Whether webhook is active
3428
- * @default true
3476
+ * Stock Quantity
3477
+ * @description Initial stock
3429
3478
  */
3430
- is_active: boolean;
3431
- /** Description */
3432
- description?: string | null;
3433
- };
3434
- /**
3435
- * SlotCheckRequest
3436
- * @description Request model for checking a specific slot.
3437
- */
3438
- SlotCheckRequest: {
3479
+ stock_quantity?: number | null;
3439
3480
  /**
3440
- * Expert Id
3441
- * @description Expert user ID
3481
+ * Allow Backorder
3482
+ * @description Allow orders when out of stock
3483
+ * @default false
3442
3484
  */
3443
- expert_id: number;
3485
+ allow_backorder: boolean;
3444
3486
  /**
3445
- * Starts At
3446
- * @description Start datetime in ISO format (UTC)
3487
+ * Weight
3488
+ * @description Weight in kg
3447
3489
  */
3448
- starts_at: string;
3490
+ weight?: number | null;
3449
3491
  /**
3450
- * Duration Minutes
3451
- * @description Session duration in minutes
3492
+ * Length
3493
+ * @description Length in cm
3452
3494
  */
3453
- duration_minutes: number;
3454
- };
3455
- /**
3456
- * WeeklyTemplateRequest
3457
- * @description Request model for updating weekly availability template.
3458
- */
3459
- WeeklyTemplateRequest: {
3495
+ length?: number | null;
3460
3496
  /**
3461
- * Timezone
3462
- * @description Expert's timezone (IANA format)
3463
- * @default UTC
3497
+ * Width
3498
+ * @description Width in cm
3464
3499
  */
3465
- timezone: string;
3466
- /** Sunday */
3467
- sunday?: components["schemas"]["TimeSlotRequest"][] | null;
3468
- /** Monday */
3469
- monday?: components["schemas"]["TimeSlotRequest"][] | null;
3470
- /** Tuesday */
3471
- tuesday?: components["schemas"]["TimeSlotRequest"][] | null;
3472
- /** Wednesday */
3473
- wednesday?: components["schemas"]["TimeSlotRequest"][] | null;
3474
- /** Thursday */
3475
- thursday?: components["schemas"]["TimeSlotRequest"][] | null;
3476
- /** Friday */
3477
- friday?: components["schemas"]["TimeSlotRequest"][] | null;
3478
- /** Saturday */
3479
- saturday?: components["schemas"]["TimeSlotRequest"][] | null;
3480
- };
3481
- /**
3482
- * EventTypeEnum
3483
- * @description Booking event type enum.
3484
- * @enum {string}
3485
- */
3486
- 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";
3487
- /**
3488
- * ExpertMatchRequest
3489
- * @description Request model for expert matching.
3490
- */
3491
- ExpertMatchRequest: {
3500
+ width?: number | null;
3492
3501
  /**
3493
- * Subject Id
3494
- * @description Required subject
3502
+ * Height
3503
+ * @description Height in cm
3495
3504
  */
3496
- subject_id?: string | null;
3505
+ height?: number | null;
3497
3506
  /**
3498
- * Topic Id
3499
- * @description Optional topic
3507
+ * Display Order
3508
+ * @description Display order
3509
+ * @default 100
3500
3510
  */
3501
- topic_id?: string | null;
3511
+ display_order: number;
3502
3512
  /**
3503
- * Preferred Date
3504
- * @description Preferred date (YYYY-MM-DD)
3513
+ * Metadata
3514
+ * @description Flexible metadata
3505
3515
  */
3506
- preferred_date?: string | null;
3516
+ metadata?: {
3517
+ [key: string]: unknown;
3518
+ } | null;
3519
+ };
3520
+ /**
3521
+ * ServiceCreateRequest
3522
+ * @description Request model for creating a service.
3523
+ */
3524
+ ServiceCreateRequest: {
3507
3525
  /**
3508
- * Preferred Time
3509
- * @description Preferred time (HH:MM)
3526
+ * Service Code
3527
+ * @description Unique code within org: online-tutoring, makeup-services
3510
3528
  */
3511
- preferred_time?: string | null;
3529
+ service_code: string;
3530
+ /** @description org_service (SRV-at-org) or expert_service (SRV-at-exp) */
3531
+ service_type: components["schemas"]["ServiceType"];
3512
3532
  /**
3513
- * Duration Minutes
3514
- * @description Session duration
3515
- * @default 30
3533
+ * Title
3534
+ * @description Display title
3516
3535
  */
3517
- duration_minutes: number;
3536
+ title: string;
3518
3537
  /**
3519
- * @description Price preference
3520
- * @default any
3538
+ * Description
3539
+ * @description Full description
3521
3540
  */
3522
- price_preference: components["schemas"]["PricePreference"];
3541
+ description?: string | null;
3523
3542
  /**
3524
- * Min Rating
3525
- * @description Minimum rating
3543
+ * Short Description
3544
+ * @description Short description
3526
3545
  */
3527
- min_rating?: number | null;
3528
- };
3529
- /**
3530
- * FlowStepValidationRequest
3531
- * @description Request model for validating a flow step.
3532
- */
3533
- FlowStepValidationRequest: {
3546
+ short_description?: string | null;
3534
3547
  /**
3535
- * Step Data
3536
- * @description Data for this step
3548
+ * Icon
3549
+ * @description Icon class
3537
3550
  */
3538
- step_data: {
3539
- [key: string]: unknown;
3540
- };
3541
- };
3542
- /** Body_updateServiceApplication */
3543
- Body_updateServiceApplication: {
3551
+ icon?: string | null;
3544
3552
  /**
3545
- * Action
3546
- * @description approve or reject
3553
+ * Banner Url
3554
+ * @description Banner image URL
3547
3555
  */
3548
- action: string;
3549
- };
3550
- /**
3551
- * MediaItem
3552
- * @description Single media file item
3553
- */
3554
- MediaItem: {
3556
+ banner_url?: string | null;
3555
3557
  /**
3556
- * Media Type
3557
- * @description logo, banner, promo_video, gallery_image, gallery_video, swatch
3558
+ * Display Order
3559
+ * @description Sort order
3560
+ * @default 100
3558
3561
  */
3559
- media_type: string;
3562
+ display_order: number;
3560
3563
  /**
3561
- * File Path
3562
- * @description Path to media file on storage (S3, CDN, local)
3564
+ * @description Expert enrollment mode
3565
+ * @default open
3563
3566
  */
3564
- file_path: string;
3567
+ enrollment_mode: components["schemas"]["EnrollmentMode"];
3565
3568
  /**
3566
- * File Name
3567
- * @description Original filename
3569
+ * Enrollment Requires Approval
3570
+ * @description Admin must approve applications
3571
+ * @default true
3568
3572
  */
3569
- file_name: string;
3573
+ enrollment_requires_approval: boolean;
3570
3574
  /**
3571
- * File Size
3572
- * @description File size in bytes
3575
+ * Max Experts
3576
+ * @description Max experts allowed
3573
3577
  */
3574
- file_size?: number | null;
3578
+ max_experts?: number | null;
3575
3579
  /**
3576
- * Mime Type
3577
- * @description MIME type (image/png, video/mp4, etc.)
3580
+ * @description Fee type for experts
3581
+ * @default free
3578
3582
  */
3579
- mime_type?: string | null;
3583
+ expert_fee_type: components["schemas"]["ExpertFeeType"];
3580
3584
  /**
3581
- * Width
3582
- * @description Width in pixels (for images/videos)
3585
+ * Expert Fee Product Id
3586
+ * @description Product ID for enrollment fee
3583
3587
  */
3584
- width?: number | null;
3588
+ expert_fee_product_id?: number | null;
3585
3589
  /**
3586
- * Height
3587
- * @description Height in pixels (for images/videos)
3590
+ * @description Pricing mode
3591
+ * @default expert_defined
3588
3592
  */
3589
- height?: number | null;
3593
+ pricing_mode: components["schemas"]["PricingMode"];
3590
3594
  /**
3591
- * Responsive Versions
3592
- * @description JSON with thumbnail, small, medium, large, xlarge, original paths
3595
+ * Org Flat Rate
3596
+ * @description Flat rate if org_flat_rate mode
3593
3597
  */
3594
- responsive_versions?: {
3595
- [key: string]: string;
3596
- } | null;
3598
+ org_flat_rate?: number | string | null;
3597
3599
  /**
3598
- * Alt Text
3599
- * @description Alt text for SEO/accessibility
3600
+ * Currency
3601
+ * @description Currency code
3602
+ * @default USD
3600
3603
  */
3601
- alt_text?: string | null;
3604
+ currency: string;
3602
3605
  /**
3603
- * Locale
3604
- * @description Media locale (en-US, es-PR, etc.)
3605
- * @default en-US
3606
+ * Min Rate
3607
+ * @description Minimum expert rate
3606
3608
  */
3607
- locale: string;
3609
+ min_rate?: number | string | null;
3608
3610
  /**
3609
- * Display Order
3610
- * @description Display order
3611
- * @default 0
3611
+ * Max Rate
3612
+ * @description Maximum expert rate
3612
3613
  */
3613
- display_order: number;
3614
+ max_rate?: number | string | null;
3614
3615
  /**
3615
- * Is Primary
3616
- * @description Mark as primary media
3617
- * @default false
3616
+ * Company Id
3617
+ * @description Company ID for multi-company orgs
3618
3618
  */
3619
- is_primary: boolean;
3619
+ company_id?: number | null;
3620
3620
  };
3621
3621
  };
3622
3622
  responses: never;