@blezgo/api-sdk 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/dist/account/generated.d.ts +230 -230
  2. package/dist/account/generated.d.ts.map +1 -1
  3. package/dist/activity/generated.d.ts +46 -46
  4. package/dist/activity/generated.d.ts.map +1 -1
  5. package/dist/addon/generated.d.ts +101 -101
  6. package/dist/addon/generated.d.ts.map +1 -1
  7. package/dist/admin/generated.d.ts +122 -122
  8. package/dist/admin/generated.d.ts.map +1 -1
  9. package/dist/affiliate/generated.d.ts +82 -82
  10. package/dist/affiliate/generated.d.ts.map +1 -1
  11. package/dist/analytics/generated.d.ts +21 -21
  12. package/dist/analytics/generated.d.ts.map +1 -1
  13. package/dist/announcements/generated.d.ts +119 -119
  14. package/dist/announcements/generated.d.ts.map +1 -1
  15. package/dist/apikeys/generated.d.ts +129 -129
  16. package/dist/apikeys/generated.d.ts.map +1 -1
  17. package/dist/assistance/generated.d.ts +21 -21
  18. package/dist/assistance/generated.d.ts.map +1 -1
  19. package/dist/authentication/generated.d.ts +83 -83
  20. package/dist/authentication/generated.d.ts.map +1 -1
  21. package/dist/blog/generated.d.ts +212 -212
  22. package/dist/blog/generated.d.ts.map +1 -1
  23. package/dist/bundle/generated.d.ts +185 -185
  24. package/dist/bundle/generated.d.ts.map +1 -1
  25. package/dist/cache/generated.d.ts +27 -27
  26. package/dist/cache/generated.d.ts.map +1 -1
  27. package/dist/calendar/generated.d.ts +54 -54
  28. package/dist/calendar/generated.d.ts.map +1 -1
  29. package/dist/campaigns/generated.d.ts +206 -206
  30. package/dist/campaigns/generated.d.ts.map +1 -1
  31. package/dist/cart/generated.d.ts +42 -42
  32. package/dist/cart/generated.d.ts.map +1 -1
  33. package/dist/changelog/generated.d.ts +101 -101
  34. package/dist/changelog/generated.d.ts.map +1 -1
  35. package/dist/channel/generated.d.ts +213 -213
  36. package/dist/channel/generated.d.ts.map +1 -1
  37. package/dist/company/generated.d.ts +57 -57
  38. package/dist/company/generated.d.ts.map +1 -1
  39. package/dist/conference/generated.d.ts +109 -109
  40. package/dist/conference/generated.d.ts.map +1 -1
  41. package/dist/config/generated.d.ts +55 -55
  42. package/dist/config/generated.d.ts.map +1 -1
  43. package/dist/content/generated.d.ts +613 -613
  44. package/dist/content/generated.d.ts.map +1 -1
  45. package/dist/cookies/generated.d.ts +71 -71
  46. package/dist/cookies/generated.d.ts.map +1 -1
  47. package/dist/courses/generated.d.ts +453 -453
  48. package/dist/courses/generated.d.ts.map +1 -1
  49. package/dist/custom/generated.d.ts +78 -78
  50. package/dist/custom/generated.d.ts.map +1 -1
  51. package/dist/dashboard/generated.d.ts +138 -138
  52. package/dist/dashboard/generated.d.ts.map +1 -1
  53. package/dist/elasticsearch/generated.d.ts +21 -21
  54. package/dist/elasticsearch/generated.d.ts.map +1 -1
  55. package/dist/enrollments/generated.d.ts +21 -21
  56. package/dist/enrollments/generated.d.ts.map +1 -1
  57. package/dist/errors/generated.d.ts +54 -54
  58. package/dist/errors/generated.d.ts.map +1 -1
  59. package/dist/eventconfig/generated.d.ts +53 -53
  60. package/dist/eventconfig/generated.d.ts.map +1 -1
  61. package/dist/funnels/generated.d.ts +117 -117
  62. package/dist/funnels/generated.d.ts.map +1 -1
  63. package/dist/gamification/generated.d.ts +177 -177
  64. package/dist/gamification/generated.d.ts.map +1 -1
  65. package/dist/impersonation/generated.d.ts +52 -52
  66. package/dist/impersonation/generated.d.ts.map +1 -1
  67. package/dist/inbox/generated.d.ts +122 -122
  68. package/dist/inbox/generated.d.ts.map +1 -1
  69. package/dist/internal/generated.d.ts +21 -21
  70. package/dist/internal/generated.d.ts.map +1 -1
  71. package/dist/internationalization/generated.d.ts +21 -21
  72. package/dist/internationalization/generated.d.ts.map +1 -1
  73. package/dist/invitations/generated.d.ts +156 -156
  74. package/dist/invitations/generated.d.ts.map +1 -1
  75. package/dist/meetings/generated.d.ts +372 -372
  76. package/dist/meetings/generated.d.ts.map +1 -1
  77. package/dist/metas/generated.d.ts +199 -199
  78. package/dist/metas/generated.d.ts.map +1 -1
  79. package/dist/notification/generated.d.ts +356 -356
  80. package/dist/notification/generated.d.ts.map +1 -1
  81. package/dist/notifications/generated.d.ts +21 -21
  82. package/dist/notifications/generated.d.ts.map +1 -1
  83. package/dist/onboarding/generated.d.ts +77 -77
  84. package/dist/onboarding/generated.d.ts.map +1 -1
  85. package/dist/packages/generated.d.ts +59 -59
  86. package/dist/packages/generated.d.ts.map +1 -1
  87. package/dist/payments/generated.d.ts +523 -523
  88. package/dist/payments/generated.d.ts.map +1 -1
  89. package/dist/payouts/generated.d.ts +21 -21
  90. package/dist/payouts/generated.d.ts.map +1 -1
  91. package/dist/plans/generated.d.ts +323 -323
  92. package/dist/plans/generated.d.ts.map +1 -1
  93. package/dist/pricing/generated.d.ts +38 -38
  94. package/dist/pricing/generated.d.ts.map +1 -1
  95. package/dist/products/generated.d.ts +443 -443
  96. package/dist/products/generated.d.ts.map +1 -1
  97. package/dist/profile/generated.d.ts +354 -354
  98. package/dist/profile/generated.d.ts.map +1 -1
  99. package/dist/reasons/generated.d.ts +101 -101
  100. package/dist/reasons/generated.d.ts.map +1 -1
  101. package/dist/registration/generated.d.ts +171 -171
  102. package/dist/registration/generated.d.ts.map +1 -1
  103. package/dist/reviews/generated.d.ts +57 -57
  104. package/dist/reviews/generated.d.ts.map +1 -1
  105. package/dist/role/generated.d.ts +191 -191
  106. package/dist/role/generated.d.ts.map +1 -1
  107. package/dist/scheduling/generated.d.ts +103 -103
  108. package/dist/scheduling/generated.d.ts.map +1 -1
  109. package/dist/services/generated.d.ts +1017 -1017
  110. package/dist/services/generated.d.ts.map +1 -1
  111. package/dist/sessions/generated.d.ts +362 -362
  112. package/dist/sessions/generated.d.ts.map +1 -1
  113. package/dist/spaces/generated.d.ts +600 -600
  114. package/dist/spaces/generated.d.ts.map +1 -1
  115. package/dist/storefront/generated.d.ts +21 -21
  116. package/dist/storefront/generated.d.ts.map +1 -1
  117. package/dist/support/generated.d.ts +1403 -1403
  118. package/dist/support/generated.d.ts.map +1 -1
  119. package/dist/sync/generated.d.ts +182 -182
  120. package/dist/sync/generated.d.ts.map +1 -1
  121. package/dist/tenant/generated.d.ts +737 -737
  122. package/dist/tenant/generated.d.ts.map +1 -1
  123. package/dist/testimonials/generated.d.ts +50 -50
  124. package/dist/testimonials/generated.d.ts.map +1 -1
  125. package/dist/tests/generated.d.ts +472 -472
  126. package/dist/tests/generated.d.ts.map +1 -1
  127. package/dist/tokens/generated.d.ts +54 -54
  128. package/dist/tokens/generated.d.ts.map +1 -1
  129. package/dist/uploads/generated.d.ts +69 -69
  130. package/dist/uploads/generated.d.ts.map +1 -1
  131. package/dist/upsell/generated.d.ts +130 -130
  132. package/dist/upsell/generated.d.ts.map +1 -1
  133. package/dist/user/generated.d.ts +72 -72
  134. package/dist/user/generated.d.ts.map +1 -1
  135. package/dist/webinars/generated.d.ts +329 -329
  136. package/dist/webinars/generated.d.ts.map +1 -1
  137. package/package.json +1 -1
@@ -171,215 +171,94 @@ export type webhooks = Record<string, never>;
171
171
  export interface components {
172
172
  schemas: {
173
173
  /**
174
- * VariantItem
175
- * @description Product variant (maps to product_variants_tbl)
174
+ * PricingSection
175
+ * @description Pricing configuration (optional - can have product price, variant prices, or both)
176
176
  */
177
- VariantItem: {
178
- /**
179
- * Name
180
- * @description Variant display name
181
- */
182
- name: string;
183
- /**
184
- * Sku
185
- * @description Stock Keeping Unit
186
- */
187
- sku?: string | null;
188
- /**
189
- * Attributes
190
- * @description Custom attributes
191
- */
192
- attributes?: {
193
- [key: string]: unknown;
194
- } | null;
195
- /**
196
- * Is Default
197
- * @description Set as default variant
198
- * @default false
199
- */
200
- is_default: boolean;
201
- /**
202
- * Track Inventory
203
- * @description Track stock for this variant
204
- * @default false
205
- */
206
- track_inventory: boolean;
207
- /**
208
- * Stock Quantity
209
- * @description Initial stock
210
- */
211
- stock_quantity?: number | null;
212
- /**
213
- * Allow Backorder
214
- * @description Allow orders when out of stock
215
- * @default false
216
- */
217
- allow_backorder: boolean;
218
- /**
219
- * Weight
220
- * @description Weight in kg
221
- */
222
- weight?: number | null;
223
- /**
224
- * Length
225
- * @description Length in cm
226
- */
227
- length?: number | null;
228
- /**
229
- * Width
230
- * @description Width in cm
231
- */
232
- width?: number | null;
233
- /**
234
- * Height
235
- * @description Height in cm
236
- */
237
- height?: number | null;
238
- /**
239
- * Display Order
240
- * @description Display order
241
- * @default 100
242
- */
243
- display_order: number;
177
+ PricingSection: {
178
+ /** @description Base product price (no variant) */
179
+ product_price?: components["schemas"]["ProductPrice"] | null;
244
180
  /**
245
- * Metadata
246
- * @description Flexible metadata
181
+ * Variant Prices
182
+ * @description Variant-specific prices
247
183
  */
248
- metadata?: {
249
- [key: string]: unknown;
250
- } | null;
251
- };
252
- InvalidParam: {
253
- /** @example items[0].quantity */
254
- field?: string;
255
- /** @example Input should be greater than or equal to 1 */
256
- error?: string;
257
- };
258
- /** Body_updateMeeting */
259
- Body_updateMeeting: {
260
- /** Starts At */
261
- starts_at?: string | null;
262
- /** Ends At */
263
- ends_at?: string | null;
264
- /** Duration Minutes */
265
- duration_minutes?: number | null;
266
- /** Max Participants */
267
- max_participants?: number | null;
268
- /** Status */
269
- status?: string | null;
270
- /** Agenda */
271
- agenda?: string | null;
272
- /** Waiting Room Enabled */
273
- waiting_room_enabled?: boolean | null;
184
+ variant_prices?: components["schemas"]["VariantPrice"][] | null;
274
185
  };
275
186
  /**
276
- * @example {
277
- * "status": "success",
278
- * "message": "Operation successful",
279
- * "message_code": "api_suc_20001",
280
- * "data": {},
281
- * "metadata": {
282
- * "timestamp": "2026-03-26T10:00:00.000Z",
283
- * "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
284
- * "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
285
- * "version": "v1",
286
- * "executionTime": 42,
287
- * "language": "en-US"
288
- * }
289
- * }
187
+ * MediaSection
188
+ * @description Product media files - direct media data
290
189
  */
291
- StandardResponse: {
292
- /** @example success */
293
- status?: string;
294
- data?: Record<string, never> | null;
295
- /** @example Operation successful */
296
- message?: string | null;
297
- /** @example api_suc_20001 */
298
- message_code?: string | null;
299
- metadata?: Record<string, never> | null;
300
- error?: components["schemas"]["ErrorResponse"];
190
+ MediaSection: {
191
+ /**
192
+ * Media Items
193
+ * @description List of media files to attach to product
194
+ */
195
+ media_items?: components["schemas"]["MediaItem"][] | null;
301
196
  };
302
197
  /**
303
- * MediaItem
304
- * @description Single media file item
198
+ * ProductSection
199
+ * @description Base product fields (maps to product_tbl)
305
200
  */
306
- MediaItem: {
307
- /**
308
- * Media Type
309
- * @description logo, banner, promo_video, gallery_image, gallery_video, swatch
310
- */
311
- media_type: string;
312
- /**
313
- * File Path
314
- * @description Path to media file on storage (S3, CDN, local)
315
- */
316
- file_path: string;
317
- /**
318
- * File Name
319
- * @description Original filename
320
- */
321
- file_name: string;
322
- /**
323
- * File Size
324
- * @description File size in bytes
325
- */
326
- file_size?: number | null;
201
+ ProductSection: {
327
202
  /**
328
- * Mime Type
329
- * @description MIME type (image/png, video/mp4, etc.)
203
+ * Visibility
204
+ * @description public, private, hidden, unlisted
205
+ * @default public
330
206
  */
331
- mime_type?: string | null;
207
+ visibility: string;
332
208
  /**
333
- * Width
334
- * @description Width in pixels (for images/videos)
209
+ * Is Digital
210
+ * @description Digital product flag
211
+ * @default true
335
212
  */
336
- width?: number | null;
213
+ is_digital: boolean;
337
214
  /**
338
- * Height
339
- * @description Height in pixels (for images/videos)
215
+ * Company Id
216
+ * @description Multi-company support
340
217
  */
341
- height?: number | null;
218
+ company_id?: number | null;
342
219
  /**
343
- * Responsive Versions
344
- * @description JSON with thumbnail, small, medium, large, xlarge, original paths
220
+ * Status
221
+ * @description draft, published, archived, review_required, deleted
222
+ * @default draft
345
223
  */
346
- responsive_versions?: {
347
- [key: string]: string;
348
- } | null;
224
+ status: string;
349
225
  /**
350
- * Alt Text
351
- * @description Alt text for SEO/accessibility
226
+ * Is Org Level
227
+ * @description Org-level vs user-created product
228
+ * @default true
352
229
  */
353
- alt_text?: string | null;
230
+ is_org_level: boolean;
354
231
  /**
355
- * Locale
356
- * @description Media locale (en-US, es-PR, etc.)
357
- * @default en-US
232
+ * Staff Id
233
+ * @description Staff/instructor delivering product
358
234
  */
359
- locale: string;
235
+ staff_id?: number | null;
360
236
  /**
361
- * Display Order
362
- * @description Display order
363
- * @default 0
237
+ * Owner Id
238
+ * @description Owner of the product
364
239
  */
365
- display_order: number;
240
+ owner_id?: number | null;
366
241
  /**
367
- * Is Primary
368
- * @description Mark as primary media
242
+ * Featured
243
+ * @description Featured product flag
369
244
  * @default false
370
245
  */
371
- is_primary: boolean;
246
+ featured: boolean;
372
247
  };
373
- /**
374
- * MediaSection
375
- * @description Product media files - direct media data
376
- */
377
- MediaSection: {
378
- /**
379
- * Media Items
380
- * @description List of media files to attach to product
381
- */
382
- media_items?: components["schemas"]["MediaItem"][] | null;
248
+ ErrorResponse: {
249
+ /** @example about:blank */
250
+ type?: string;
251
+ /** @example GENERIC_ERROR */
252
+ code?: string;
253
+ /** @example Client Error */
254
+ title?: string;
255
+ /** @example 400 */
256
+ status?: number;
257
+ /** @example An error occurred */
258
+ detail?: string;
259
+ /** @example /v1/cart/items */
260
+ instance?: string;
261
+ extensions?: components["schemas"]["Extensions"];
383
262
  };
384
263
  /**
385
264
  * MeetingCreateRequest
@@ -428,103 +307,209 @@ export interface components {
428
307
  /** @description Meeting-specific configuration */
429
308
  meeting: components["schemas"]["MeetingSection"];
430
309
  };
431
- Extensions: {
432
- /** @example GENERIC_ERROR */
433
- message_code?: string;
434
- /** @example [] */
435
- invalid_params?: components["schemas"]["InvalidParam"][];
436
- extra_data?: Record<string, never> | null;
437
- /** @example Detailed debug information */
438
- debug?: string | null;
439
- };
440
310
  /**
441
- * IdentitySection
442
- * @description Localized product content (maps to product_identity_tbl)
311
+ * MeetingSection
312
+ * @description Meeting-specific fields (maps to meetings_tbl)
443
313
  */
444
- IdentitySection: {
314
+ MeetingSection: {
445
315
  /**
446
- * Locale
447
- * @description Locale: en-US, es-PR, fr-FR, pt-BR, etc.
448
- * @default en-US
316
+ * Organizer Id
317
+ * @description External user ID of meeting organizer (usr_xxx)
449
318
  */
450
- locale: string;
319
+ organizer_id?: string | null;
451
320
  /**
452
- * Title
453
- * @description Product title
321
+ * Starts At
322
+ * Format: date-time
323
+ * @description Meeting start time (UTC)
454
324
  */
455
- title: string;
325
+ starts_at: string;
456
326
  /**
457
- * Subtitle
458
- * @description Product subtitle
327
+ * Ends At
328
+ * Format: date-time
329
+ * @description Meeting end time (UTC)
459
330
  */
460
- subtitle?: string | null;
331
+ ends_at: string;
461
332
  /**
462
- * Description
463
- * @description Full product description
333
+ * Duration Minutes
334
+ * @description Meeting duration in minutes
464
335
  */
465
- description?: string | null;
336
+ duration_minutes?: number | null;
466
337
  /**
467
- * Short Description
468
- * @description Short description for listings/previews
338
+ * Is Recurring
339
+ * @description Is this a recurring meeting
340
+ * @default false
469
341
  */
470
- short_description?: string | null;
342
+ is_recurring: boolean;
343
+ /**
344
+ * Recurrence Rule
345
+ * @description RRULE format for recurrence
346
+ */
347
+ recurrence_rule?: string | null;
348
+ /**
349
+ * Recurrence End Date
350
+ * @description End date for recurring meetings
351
+ */
352
+ recurrence_end_date?: string | null;
353
+ /**
354
+ * Max Participants
355
+ * @description Maximum participants
356
+ */
357
+ max_participants?: number | null;
358
+ /**
359
+ * Required Participants
360
+ * @description Required participants with external user_id (usr_xxx)
361
+ */
362
+ required_participants?: {
363
+ [key: string]: unknown;
364
+ }[] | null;
365
+ /**
366
+ * Optional Participants
367
+ * @description Optional participants with external user_id (usr_xxx)
368
+ */
369
+ optional_participants?: {
370
+ [key: string]: unknown;
371
+ }[] | null;
372
+ /**
373
+ * Conferencing Platform
374
+ * @description zoom, teams, google_meet, webex, physical
375
+ */
376
+ conferencing_platform?: string | null;
377
+ /**
378
+ * Conference Account Id
379
+ * @description Specific conference account to use
380
+ */
381
+ conference_account_id?: number | null;
382
+ /**
383
+ * Meeting Type
384
+ * @description general, brainstorm, review, standup, retrospective
385
+ * @default general
386
+ */
387
+ meeting_type: string;
388
+ /**
389
+ * Agenda
390
+ * @description Meeting agenda
391
+ */
392
+ agenda?: string | null;
393
+ /**
394
+ * Participants Can Share Screen
395
+ * @description Allow screen sharing
396
+ * @default true
397
+ */
398
+ participants_can_share_screen: boolean;
399
+ /**
400
+ * Waiting Room Enabled
401
+ * @description Enable waiting room
402
+ * @default false
403
+ */
404
+ waiting_room_enabled: boolean;
405
+ /**
406
+ * Status
407
+ * @description scheduled, in_progress, completed, cancelled
408
+ * @default scheduled
409
+ */
410
+ status: string;
411
+ /**
412
+ * Locale
413
+ * @description Defaults to identity.locale if not provided
414
+ */
415
+ locale?: string | null;
471
416
  };
472
417
  /**
473
- * ProductPrice
474
- * @description Base product pricing (maps to product_pricings_tbl with variant_id=NULL)
418
+ * MediaItem
419
+ * @description Single media file item
475
420
  */
476
- ProductPrice: {
421
+ MediaItem: {
477
422
  /**
478
- * Price Type
479
- * @description free, one_time, subscription, monthly_plan
423
+ * Media Type
424
+ * @description logo, banner, promo_video, gallery_image, gallery_video, swatch
480
425
  */
481
- price_type: string;
426
+ media_type: string;
482
427
  /**
483
- * Currency
484
- * @description Currency code: INR, USD, EUR, etc.
428
+ * File Path
429
+ * @description Path to media file on storage (S3, CDN, local)
485
430
  */
486
- currency: string;
431
+ file_path: string;
487
432
  /**
488
- * Amount
489
- * @description Price amount
433
+ * File Name
434
+ * @description Original filename
490
435
  */
491
- amount: number;
436
+ file_name: string;
492
437
  /**
493
- * Compare At Amount
494
- * @description Original/strike-through price
438
+ * File Size
439
+ * @description File size in bytes
495
440
  */
496
- compare_at_amount?: number | null;
441
+ file_size?: number | null;
497
442
  /**
498
- * Interval
499
- * @description day, week, month, year (for subscription)
443
+ * Mime Type
444
+ * @description MIME type (image/png, video/mp4, etc.)
500
445
  */
501
- interval?: string | null;
446
+ mime_type?: string | null;
502
447
  /**
503
- * Interval Count
504
- * @description Number of intervals
448
+ * Width
449
+ * @description Width in pixels (for images/videos)
505
450
  */
506
- interval_count?: number | null;
451
+ width?: number | null;
507
452
  /**
508
- * Trial Period Days
509
- * @description Free trial days
453
+ * Height
454
+ * @description Height in pixels (for images/videos)
510
455
  */
511
- trial_period_days?: number | null;
456
+ height?: number | null;
512
457
  /**
513
- * Initial Amount
514
- * @description First payment amount
458
+ * Responsive Versions
459
+ * @description JSON with thumbnail, small, medium, large, xlarge, original paths
515
460
  */
516
- initial_amount?: number | null;
461
+ responsive_versions?: {
462
+ [key: string]: string;
463
+ } | null;
517
464
  /**
518
- * Gateway
519
- * @description stripe, razorpay, paypal, etc.
465
+ * Alt Text
466
+ * @description Alt text for SEO/accessibility
520
467
  */
521
- gateway?: string | null;
468
+ alt_text?: string | null;
522
469
  /**
523
- * Requires Payment Method Upfront
524
- * @description Require payment method before trial
525
- * @default true
470
+ * Locale
471
+ * @description Media locale (en-US, es-PR, etc.)
472
+ * @default en-US
526
473
  */
527
- requires_payment_method_upfront: boolean;
474
+ locale: string;
475
+ /**
476
+ * Display Order
477
+ * @description Display order
478
+ * @default 0
479
+ */
480
+ display_order: number;
481
+ /**
482
+ * Is Primary
483
+ * @description Mark as primary media
484
+ * @default false
485
+ */
486
+ is_primary: boolean;
487
+ };
488
+ /** Body_updateMeeting */
489
+ Body_updateMeeting: {
490
+ /** Starts At */
491
+ starts_at?: string | null;
492
+ /** Ends At */
493
+ ends_at?: string | null;
494
+ /** Duration Minutes */
495
+ duration_minutes?: number | null;
496
+ /** Max Participants */
497
+ max_participants?: number | null;
498
+ /** Status */
499
+ status?: string | null;
500
+ /** Agenda */
501
+ agenda?: string | null;
502
+ /** Waiting Room Enabled */
503
+ waiting_room_enabled?: boolean | null;
504
+ };
505
+ Extensions: {
506
+ /** @example GENERIC_ERROR */
507
+ message_code?: string;
508
+ /** @example [] */
509
+ invalid_params?: components["schemas"]["InvalidParam"][];
510
+ extra_data?: Record<string, never> | null;
511
+ /** @example Detailed debug information */
512
+ debug?: string | null;
528
513
  };
529
514
  /**
530
515
  * VariantPrice
@@ -588,191 +573,206 @@ export interface components {
588
573
  */
589
574
  requires_payment_method_upfront: boolean;
590
575
  };
591
- ErrorResponse: {
592
- /** @example about:blank */
593
- type?: string;
594
- /** @example GENERIC_ERROR */
595
- code?: string;
596
- /** @example Client Error */
597
- title?: string;
598
- /** @example 400 */
599
- status?: number;
600
- /** @example An error occurred */
601
- detail?: string;
602
- /** @example /v1/cart/items */
603
- instance?: string;
604
- extensions?: components["schemas"]["Extensions"];
605
- };
606
576
  /**
607
- * ProductSection
608
- * @description Base product fields (maps to product_tbl)
577
+ * VariantItem
578
+ * @description Product variant (maps to product_variants_tbl)
609
579
  */
610
- ProductSection: {
580
+ VariantItem: {
611
581
  /**
612
- * Visibility
613
- * @description public, private, hidden, unlisted
614
- * @default public
582
+ * Name
583
+ * @description Variant display name
615
584
  */
616
- visibility: string;
585
+ name: string;
617
586
  /**
618
- * Is Digital
619
- * @description Digital product flag
620
- * @default true
587
+ * Sku
588
+ * @description Stock Keeping Unit
621
589
  */
622
- is_digital: boolean;
590
+ sku?: string | null;
623
591
  /**
624
- * Company Id
625
- * @description Multi-company support
592
+ * Attributes
593
+ * @description Custom attributes
626
594
  */
627
- company_id?: number | null;
595
+ attributes?: {
596
+ [key: string]: unknown;
597
+ } | null;
628
598
  /**
629
- * Status
630
- * @description draft, published, archived, review_required, deleted
631
- * @default draft
599
+ * Is Default
600
+ * @description Set as default variant
601
+ * @default false
632
602
  */
633
- status: string;
603
+ is_default: boolean;
634
604
  /**
635
- * Is Org Level
636
- * @description Org-level vs user-created product
637
- * @default true
605
+ * Track Inventory
606
+ * @description Track stock for this variant
607
+ * @default false
638
608
  */
639
- is_org_level: boolean;
609
+ track_inventory: boolean;
640
610
  /**
641
- * Staff Id
642
- * @description Staff/instructor delivering product
611
+ * Stock Quantity
612
+ * @description Initial stock
643
613
  */
644
- staff_id?: number | null;
614
+ stock_quantity?: number | null;
645
615
  /**
646
- * Owner Id
647
- * @description Owner of the product
616
+ * Allow Backorder
617
+ * @description Allow orders when out of stock
618
+ * @default false
648
619
  */
649
- owner_id?: number | null;
620
+ allow_backorder: boolean;
650
621
  /**
651
- * Featured
652
- * @description Featured product flag
653
- * @default false
622
+ * Weight
623
+ * @description Weight in kg
654
624
  */
655
- featured: boolean;
656
- };
657
- /**
658
- * MeetingSection
659
- * @description Meeting-specific fields (maps to meetings_tbl)
660
- */
661
- MeetingSection: {
625
+ weight?: number | null;
662
626
  /**
663
- * Organizer Id
664
- * @description External user ID of meeting organizer (usr_xxx)
627
+ * Length
628
+ * @description Length in cm
665
629
  */
666
- organizer_id?: string | null;
630
+ length?: number | null;
667
631
  /**
668
- * Starts At
669
- * Format: date-time
670
- * @description Meeting start time (UTC)
632
+ * Width
633
+ * @description Width in cm
671
634
  */
672
- starts_at: string;
635
+ width?: number | null;
673
636
  /**
674
- * Ends At
675
- * Format: date-time
676
- * @description Meeting end time (UTC)
637
+ * Height
638
+ * @description Height in cm
677
639
  */
678
- ends_at: string;
640
+ height?: number | null;
679
641
  /**
680
- * Duration Minutes
681
- * @description Meeting duration in minutes
642
+ * Display Order
643
+ * @description Display order
644
+ * @default 100
682
645
  */
683
- duration_minutes?: number | null;
646
+ display_order: number;
684
647
  /**
685
- * Is Recurring
686
- * @description Is this a recurring meeting
687
- * @default false
648
+ * Metadata
649
+ * @description Flexible metadata
688
650
  */
689
- is_recurring: boolean;
651
+ metadata?: {
652
+ [key: string]: unknown;
653
+ } | null;
654
+ };
655
+ /**
656
+ * ProductPrice
657
+ * @description Base product pricing (maps to product_pricings_tbl with variant_id=NULL)
658
+ */
659
+ ProductPrice: {
690
660
  /**
691
- * Recurrence Rule
692
- * @description RRULE format for recurrence
661
+ * Price Type
662
+ * @description free, one_time, subscription, monthly_plan
693
663
  */
694
- recurrence_rule?: string | null;
664
+ price_type: string;
695
665
  /**
696
- * Recurrence End Date
697
- * @description End date for recurring meetings
666
+ * Currency
667
+ * @description Currency code: INR, USD, EUR, etc.
698
668
  */
699
- recurrence_end_date?: string | null;
669
+ currency: string;
700
670
  /**
701
- * Max Participants
702
- * @description Maximum participants
671
+ * Amount
672
+ * @description Price amount
703
673
  */
704
- max_participants?: number | null;
674
+ amount: number;
705
675
  /**
706
- * Required Participants
707
- * @description Required participants with external user_id (usr_xxx)
676
+ * Compare At Amount
677
+ * @description Original/strike-through price
708
678
  */
709
- required_participants?: {
710
- [key: string]: unknown;
711
- }[] | null;
679
+ compare_at_amount?: number | null;
712
680
  /**
713
- * Optional Participants
714
- * @description Optional participants with external user_id (usr_xxx)
681
+ * Interval
682
+ * @description day, week, month, year (for subscription)
715
683
  */
716
- optional_participants?: {
717
- [key: string]: unknown;
718
- }[] | null;
684
+ interval?: string | null;
719
685
  /**
720
- * Conferencing Platform
721
- * @description zoom, teams, google_meet, webex, physical
686
+ * Interval Count
687
+ * @description Number of intervals
722
688
  */
723
- conferencing_platform?: string | null;
689
+ interval_count?: number | null;
724
690
  /**
725
- * Conference Account Id
726
- * @description Specific conference account to use
691
+ * Trial Period Days
692
+ * @description Free trial days
727
693
  */
728
- conference_account_id?: number | null;
694
+ trial_period_days?: number | null;
729
695
  /**
730
- * Meeting Type
731
- * @description general, brainstorm, review, standup, retrospective
732
- * @default general
696
+ * Initial Amount
697
+ * @description First payment amount
733
698
  */
734
- meeting_type: string;
699
+ initial_amount?: number | null;
735
700
  /**
736
- * Agenda
737
- * @description Meeting agenda
701
+ * Gateway
702
+ * @description stripe, razorpay, paypal, etc.
738
703
  */
739
- agenda?: string | null;
704
+ gateway?: string | null;
740
705
  /**
741
- * Participants Can Share Screen
742
- * @description Allow screen sharing
706
+ * Requires Payment Method Upfront
707
+ * @description Require payment method before trial
743
708
  * @default true
744
709
  */
745
- participants_can_share_screen: boolean;
710
+ requires_payment_method_upfront: boolean;
711
+ };
712
+ InvalidParam: {
713
+ /** @example items[0].quantity */
714
+ field?: string;
715
+ /** @example Input should be greater than or equal to 1 */
716
+ error?: string;
717
+ };
718
+ /**
719
+ * @example {
720
+ * "status": "success",
721
+ * "message": "Operation successful",
722
+ * "message_code": "api_suc_20001",
723
+ * "data": {},
724
+ * "metadata": {
725
+ * "timestamp": "2026-03-26T10:00:00.000Z",
726
+ * "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
727
+ * "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
728
+ * "version": "v1",
729
+ * "executionTime": 42,
730
+ * "language": "en-US"
731
+ * }
732
+ * }
733
+ */
734
+ StandardResponse: {
735
+ /** @example success */
736
+ status?: string;
737
+ data?: Record<string, never> | null;
738
+ /** @example Operation successful */
739
+ message?: string | null;
740
+ /** @example api_suc_20001 */
741
+ message_code?: string | null;
742
+ metadata?: Record<string, never> | null;
743
+ error?: components["schemas"]["ErrorResponse"];
744
+ };
745
+ /**
746
+ * IdentitySection
747
+ * @description Localized product content (maps to product_identity_tbl)
748
+ */
749
+ IdentitySection: {
746
750
  /**
747
- * Waiting Room Enabled
748
- * @description Enable waiting room
749
- * @default false
751
+ * Locale
752
+ * @description Locale: en-US, es-PR, fr-FR, pt-BR, etc.
753
+ * @default en-US
750
754
  */
751
- waiting_room_enabled: boolean;
755
+ locale: string;
752
756
  /**
753
- * Status
754
- * @description scheduled, in_progress, completed, cancelled
755
- * @default scheduled
757
+ * Title
758
+ * @description Product title
756
759
  */
757
- status: string;
760
+ title: string;
758
761
  /**
759
- * Locale
760
- * @description Defaults to identity.locale if not provided
762
+ * Subtitle
763
+ * @description Product subtitle
761
764
  */
762
- locale?: string | null;
763
- };
764
- /**
765
- * PricingSection
766
- * @description Pricing configuration (optional - can have product price, variant prices, or both)
767
- */
768
- PricingSection: {
769
- /** @description Base product price (no variant) */
770
- product_price?: components["schemas"]["ProductPrice"] | null;
765
+ subtitle?: string | null;
771
766
  /**
772
- * Variant Prices
773
- * @description Variant-specific prices
767
+ * Description
768
+ * @description Full product description
774
769
  */
775
- variant_prices?: components["schemas"]["VariantPrice"][] | null;
770
+ description?: string | null;
771
+ /**
772
+ * Short Description
773
+ * @description Short description for listings/previews
774
+ */
775
+ short_description?: string | null;
776
776
  };
777
777
  };
778
778
  responses: never;