@blezgo/api-sdk 0.1.3 → 0.1.4

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 (138) hide show
  1. package/dist/account/generated.d.ts +180 -180
  2. package/dist/account/generated.d.ts.map +1 -1
  3. package/dist/activity/generated.d.ts +60 -60
  4. package/dist/activity/generated.d.ts.map +1 -1
  5. package/dist/addon/generated.d.ts +83 -83
  6. package/dist/addon/generated.d.ts.map +1 -1
  7. package/dist/admin/generated.d.ts +126 -126
  8. package/dist/admin/generated.d.ts.map +1 -1
  9. package/dist/affiliate/generated.d.ts +83 -83
  10. package/dist/affiliate/generated.d.ts.map +1 -1
  11. package/dist/analytics/generated.d.ts +30 -30
  12. package/dist/analytics/generated.d.ts.map +1 -1
  13. package/dist/announcements/generated.d.ts +64 -64
  14. package/dist/announcements/generated.d.ts.map +1 -1
  15. package/dist/apikeys/generated.d.ts +79 -79
  16. package/dist/apikeys/generated.d.ts.map +1 -1
  17. package/dist/assistance/generated.d.ts +30 -30
  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 +204 -204
  22. package/dist/blog/generated.d.ts.map +1 -1
  23. package/dist/bundle/generated.d.ts +147 -147
  24. package/dist/bundle/generated.d.ts.map +1 -1
  25. package/dist/cache/generated.d.ts +33 -33
  26. package/dist/cache/generated.d.ts.map +1 -1
  27. package/dist/calendar/generated.d.ts +80 -80
  28. package/dist/calendar/generated.d.ts.map +1 -1
  29. package/dist/campaigns/generated.d.ts +198 -198
  30. package/dist/campaigns/generated.d.ts.map +1 -1
  31. package/dist/cart/generated.d.ts +40 -40
  32. package/dist/cart/generated.d.ts.map +1 -1
  33. package/dist/changelog/generated.d.ts +95 -95
  34. package/dist/changelog/generated.d.ts.map +1 -1
  35. package/dist/channel/generated.d.ts +251 -251
  36. package/dist/channel/generated.d.ts.map +1 -1
  37. package/dist/company/generated.d.ts +69 -69
  38. package/dist/company/generated.d.ts.map +1 -1
  39. package/dist/conference/generated.d.ts +166 -166
  40. package/dist/conference/generated.d.ts.map +1 -1
  41. package/dist/config/generated.d.ts +54 -54
  42. package/dist/config/generated.d.ts.map +1 -1
  43. package/dist/content/generated.d.ts +477 -477
  44. package/dist/content/generated.d.ts.map +1 -1
  45. package/dist/cookies/generated.d.ts +77 -77
  46. package/dist/cookies/generated.d.ts.map +1 -1
  47. package/dist/courses/generated.d.ts +397 -397
  48. package/dist/courses/generated.d.ts.map +1 -1
  49. package/dist/custom/generated.d.ts +99 -99
  50. package/dist/custom/generated.d.ts.map +1 -1
  51. package/dist/dashboard/generated.d.ts +177 -177
  52. package/dist/dashboard/generated.d.ts.map +1 -1
  53. package/dist/elasticsearch/generated.d.ts +30 -30
  54. package/dist/elasticsearch/generated.d.ts.map +1 -1
  55. package/dist/enrollments/generated.d.ts +30 -30
  56. package/dist/enrollments/generated.d.ts.map +1 -1
  57. package/dist/errors/generated.d.ts +30 -30
  58. package/dist/errors/generated.d.ts.map +1 -1
  59. package/dist/eventconfig/generated.d.ts +94 -94
  60. package/dist/eventconfig/generated.d.ts.map +1 -1
  61. package/dist/funnels/generated.d.ts +146 -146
  62. package/dist/funnels/generated.d.ts.map +1 -1
  63. package/dist/gamification/generated.d.ts +154 -154
  64. package/dist/gamification/generated.d.ts.map +1 -1
  65. package/dist/impersonation/generated.d.ts +71 -71
  66. package/dist/impersonation/generated.d.ts.map +1 -1
  67. package/dist/inbox/generated.d.ts +140 -140
  68. package/dist/inbox/generated.d.ts.map +1 -1
  69. package/dist/internal/generated.d.ts +30 -30
  70. package/dist/internal/generated.d.ts.map +1 -1
  71. package/dist/internationalization/generated.d.ts +30 -30
  72. package/dist/internationalization/generated.d.ts.map +1 -1
  73. package/dist/invitations/generated.d.ts +123 -123
  74. package/dist/invitations/generated.d.ts.map +1 -1
  75. package/dist/meetings/generated.d.ts +337 -337
  76. package/dist/meetings/generated.d.ts.map +1 -1
  77. package/dist/metas/generated.d.ts +170 -170
  78. package/dist/metas/generated.d.ts.map +1 -1
  79. package/dist/notification/generated.d.ts +382 -382
  80. package/dist/notification/generated.d.ts.map +1 -1
  81. package/dist/notifications/generated.d.ts +30 -30
  82. package/dist/notifications/generated.d.ts.map +1 -1
  83. package/dist/onboarding/generated.d.ts +106 -106
  84. package/dist/onboarding/generated.d.ts.map +1 -1
  85. package/dist/packages/generated.d.ts +83 -83
  86. package/dist/packages/generated.d.ts.map +1 -1
  87. package/dist/payments/generated.d.ts +502 -502
  88. package/dist/payments/generated.d.ts.map +1 -1
  89. package/dist/payouts/generated.d.ts +30 -30
  90. package/dist/payouts/generated.d.ts.map +1 -1
  91. package/dist/plans/generated.d.ts +470 -470
  92. package/dist/plans/generated.d.ts.map +1 -1
  93. package/dist/pricing/generated.d.ts +87 -87
  94. package/dist/pricing/generated.d.ts.map +1 -1
  95. package/dist/products/generated.d.ts +552 -552
  96. package/dist/products/generated.d.ts.map +1 -1
  97. package/dist/profile/generated.d.ts +272 -272
  98. package/dist/profile/generated.d.ts.map +1 -1
  99. package/dist/reasons/generated.d.ts +78 -78
  100. package/dist/reasons/generated.d.ts.map +1 -1
  101. package/dist/registration/generated.d.ts +145 -145
  102. package/dist/registration/generated.d.ts.map +1 -1
  103. package/dist/reviews/generated.d.ts +47 -47
  104. package/dist/reviews/generated.d.ts.map +1 -1
  105. package/dist/role/generated.d.ts +217 -217
  106. package/dist/role/generated.d.ts.map +1 -1
  107. package/dist/scheduling/generated.d.ts +139 -139
  108. package/dist/scheduling/generated.d.ts.map +1 -1
  109. package/dist/services/generated.d.ts +989 -989
  110. package/dist/services/generated.d.ts.map +1 -1
  111. package/dist/sessions/generated.d.ts +334 -334
  112. package/dist/sessions/generated.d.ts.map +1 -1
  113. package/dist/spaces/generated.d.ts +390 -390
  114. package/dist/spaces/generated.d.ts.map +1 -1
  115. package/dist/storefront/generated.d.ts +30 -30
  116. package/dist/storefront/generated.d.ts.map +1 -1
  117. package/dist/support/generated.d.ts +1465 -1465
  118. package/dist/support/generated.d.ts.map +1 -1
  119. package/dist/sync/generated.d.ts +157 -157
  120. package/dist/sync/generated.d.ts.map +1 -1
  121. package/dist/tenant/generated.d.ts +562 -562
  122. package/dist/tenant/generated.d.ts.map +1 -1
  123. package/dist/testimonials/generated.d.ts +67 -67
  124. package/dist/testimonials/generated.d.ts.map +1 -1
  125. package/dist/tests/generated.d.ts +619 -619
  126. package/dist/tests/generated.d.ts.map +1 -1
  127. package/dist/tokens/generated.d.ts +59 -59
  128. package/dist/tokens/generated.d.ts.map +1 -1
  129. package/dist/uploads/generated.d.ts +65 -65
  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 +123 -117
  134. package/dist/user/generated.d.ts.map +1 -1
  135. package/dist/webinars/generated.d.ts +298 -298
  136. package/dist/webinars/generated.d.ts.map +1 -1
  137. package/package.json +1 -1
  138. package/test-commit.txt +1 -0
@@ -224,55 +224,89 @@ export type webhooks = Record<string, never>;
224
224
  export interface components {
225
225
  schemas: {
226
226
  /**
227
- * ProductSection
228
- * @description Base product fields (maps to product_tbl)
227
+ * VariantItem
228
+ * @description Product variant (maps to product_variants_tbl)
229
229
  */
230
- ProductSection: {
230
+ VariantItem: {
231
231
  /**
232
- * Visibility
233
- * @description public, private, hidden, unlisted
234
- * @default public
232
+ * Name
233
+ * @description Variant display name
235
234
  */
236
- visibility: string;
235
+ name: string;
237
236
  /**
238
- * Is Digital
239
- * @description Digital product flag
240
- * @default true
237
+ * Sku
238
+ * @description Stock Keeping Unit
241
239
  */
242
- is_digital: boolean;
240
+ sku?: string | null;
243
241
  /**
244
- * Company Id
245
- * @description Multi-company support
242
+ * Attributes
243
+ * @description Custom attributes
246
244
  */
247
- company_id?: number | null;
245
+ attributes?: {
246
+ [key: string]: unknown;
247
+ } | null;
248
248
  /**
249
- * Status
250
- * @description draft, published, archived, review_required, deleted
251
- * @default draft
249
+ * Is Default
250
+ * @description Set as default variant
251
+ * @default false
252
252
  */
253
- status: string;
253
+ is_default: boolean;
254
254
  /**
255
- * Is Org Level
256
- * @description Org-level vs user-created product
257
- * @default true
255
+ * Track Inventory
256
+ * @description Track stock for this variant
257
+ * @default false
258
258
  */
259
- is_org_level: boolean;
259
+ track_inventory: boolean;
260
260
  /**
261
- * Staff Id
262
- * @description Staff/instructor delivering product
261
+ * Stock Quantity
262
+ * @description Initial stock
263
263
  */
264
- staff_id?: number | null;
264
+ stock_quantity?: number | null;
265
265
  /**
266
- * Owner Id
267
- * @description Owner of the product
266
+ * Allow Backorder
267
+ * @description Allow orders when out of stock
268
+ * @default false
268
269
  */
269
- owner_id?: number | null;
270
+ allow_backorder: boolean;
270
271
  /**
271
- * Featured
272
- * @description Featured product flag
273
- * @default false
272
+ * Weight
273
+ * @description Weight in kg
274
274
  */
275
- featured: boolean;
275
+ weight?: number | null;
276
+ /**
277
+ * Length
278
+ * @description Length in cm
279
+ */
280
+ length?: number | null;
281
+ /**
282
+ * Width
283
+ * @description Width in cm
284
+ */
285
+ width?: number | null;
286
+ /**
287
+ * Height
288
+ * @description Height in cm
289
+ */
290
+ height?: number | null;
291
+ /**
292
+ * Display Order
293
+ * @description Display order
294
+ * @default 100
295
+ */
296
+ display_order: number;
297
+ /**
298
+ * Metadata
299
+ * @description Flexible metadata
300
+ */
301
+ metadata?: {
302
+ [key: string]: unknown;
303
+ } | null;
304
+ };
305
+ InvalidParam: {
306
+ /** @example items[0].quantity */
307
+ field?: string;
308
+ /** @example Input should be greater than or equal to 1 */
309
+ error?: string;
276
310
  };
277
311
  /**
278
312
  * @example {
@@ -301,79 +335,22 @@ export interface components {
301
335
  metadata?: Record<string, never> | null;
302
336
  error?: components["schemas"]["ErrorResponse"];
303
337
  };
304
- /**
305
- * ProductPrice
306
- * @description Base product pricing (maps to product_pricings_tbl with variant_id=NULL)
307
- */
308
- ProductPrice: {
309
- /**
310
- * Price Type
311
- * @description free, one_time, subscription, monthly_plan
312
- */
313
- price_type: string;
314
- /**
315
- * Currency
316
- * @description Currency code: INR, USD, EUR, etc.
317
- */
318
- currency: string;
319
- /**
320
- * Amount
321
- * @description Price amount
322
- */
323
- amount: number;
324
- /**
325
- * Compare At Amount
326
- * @description Original/strike-through price
327
- */
328
- compare_at_amount?: number | null;
329
- /**
330
- * Interval
331
- * @description day, week, month, year (for subscription)
332
- */
333
- interval?: string | null;
334
- /**
335
- * Interval Count
336
- * @description Number of intervals
337
- */
338
- interval_count?: number | null;
339
- /**
340
- * Trial Period Days
341
- * @description Free trial days
342
- */
343
- trial_period_days?: number | null;
344
- /**
345
- * Initial Amount
346
- * @description First payment amount
347
- */
348
- initial_amount?: number | null;
349
- /**
350
- * Gateway
351
- * @description stripe, razorpay, paypal, etc.
352
- */
353
- gateway?: string | null;
354
- /**
355
- * Requires Payment Method Upfront
356
- * @description Require payment method before trial
357
- * @default true
358
- */
359
- requires_payment_method_upfront: boolean;
360
- };
361
- /**
362
- * MediaSection
363
- * @description Product media files - direct media data
364
- */
365
- MediaSection: {
366
- /**
367
- * Media Items
368
- * @description List of media files to attach to product
369
- */
370
- media_items?: components["schemas"]["MediaItem"][] | null;
371
- };
372
- InvalidParam: {
373
- /** @example items[0].quantity */
374
- field?: string;
375
- /** @example Input should be greater than or equal to 1 */
376
- error?: string;
338
+ /** Body_updateSession */
339
+ Body_updateSession: {
340
+ /** Starts At */
341
+ starts_at?: string | null;
342
+ /** Ends At */
343
+ ends_at?: string | null;
344
+ /** Duration Minutes */
345
+ duration_minutes?: number | null;
346
+ /** Max Participants */
347
+ max_participants?: number | null;
348
+ /** Status */
349
+ status?: string | null;
350
+ /** Allows Questions */
351
+ allows_questions?: boolean | null;
352
+ /** Requires Camera */
353
+ requires_camera?: boolean | null;
377
354
  };
378
355
  /**
379
356
  * MediaItem
@@ -446,91 +423,154 @@ export interface components {
446
423
  */
447
424
  is_primary: boolean;
448
425
  };
449
- Extensions: {
450
- /** @example GENERIC_ERROR */
451
- message_code?: string;
452
- /** @example [] */
453
- invalid_params?: components["schemas"]["InvalidParam"][];
454
- extra_data?: Record<string, never> | null;
455
- /** @example Detailed debug information */
456
- debug?: string | null;
426
+ /**
427
+ * MediaSection
428
+ * @description Product media files - direct media data
429
+ */
430
+ MediaSection: {
431
+ /**
432
+ * Media Items
433
+ * @description List of media files to attach to product
434
+ */
435
+ media_items?: components["schemas"]["MediaItem"][] | null;
457
436
  };
458
437
  /**
459
- * VariantPrice
460
- * @description Variant-specific pricing (maps to product_pricings_tbl with variant_id set)
438
+ * SessionSection
439
+ * @description Session-specific fields (maps to sessions_tbl)
461
440
  */
462
- VariantPrice: {
441
+ SessionSection: {
463
442
  /**
464
- * Variant Index
465
- * @description Index in variants array (0-based)
443
+ * Instructor Id
444
+ * @description External user ID of session instructor (usr_xxx)
466
445
  */
467
- variant_index: number;
446
+ instructor_id?: string | null;
468
447
  /**
469
- * Price Type
470
- * @description free, one_time, subscription, monthly_plan
448
+ * Starts At
449
+ * Format: date-time
450
+ * @description Session start time (UTC)
471
451
  */
472
- price_type: string;
452
+ starts_at: string;
473
453
  /**
474
- * Currency
475
- * @description Currency code
454
+ * Ends At
455
+ * Format: date-time
456
+ * @description Session end time (UTC)
476
457
  */
477
- currency: string;
458
+ ends_at: string;
478
459
  /**
479
- * Amount
480
- * @description Price amount
460
+ * Duration Minutes
461
+ * @description Session duration in minutes
481
462
  */
482
- amount: number;
463
+ duration_minutes?: number | null;
483
464
  /**
484
- * Compare At Amount
485
- * @description Original/strike-through price
465
+ * Is Recurring
466
+ * @description Is this a recurring session
467
+ * @default false
486
468
  */
487
- compare_at_amount?: number | null;
469
+ is_recurring: boolean;
488
470
  /**
489
- * Interval
490
- * @description day, week, month, year
471
+ * Recurrence Rule
472
+ * @description RRULE format for recurrence
491
473
  */
492
- interval?: string | null;
474
+ recurrence_rule?: string | null;
493
475
  /**
494
- * Interval Count
495
- * @description Number of intervals
476
+ * Recurrence End Date
477
+ * @description End date for recurring sessions
496
478
  */
497
- interval_count?: number | null;
479
+ recurrence_end_date?: string | null;
498
480
  /**
499
- * Trial Period Days
500
- * @description Free trial days
481
+ * Max Participants
482
+ * @description Maximum number of participants
501
483
  */
502
- trial_period_days?: number | null;
484
+ max_participants?: number | null;
503
485
  /**
504
- * Initial Amount
505
- * @description First payment amount
486
+ * Location Type
487
+ * @description virtual, physical, hybrid
506
488
  */
507
- initial_amount?: number | null;
489
+ location_type?: string | null;
508
490
  /**
509
- * Gateway
510
- * @description stripe, razorpay, paypal, etc.
491
+ * Physical Location
492
+ * @description Physical location address
511
493
  */
512
- gateway?: string | null;
494
+ physical_location?: string | null;
513
495
  /**
514
- * Requires Payment Method Upfront
515
- * @description Require payment method before trial
496
+ * Conferencing Platform
497
+ * @description zoom, teams, google_meet, webex, physical, none
498
+ */
499
+ conferencing_platform?: string | null;
500
+ /**
501
+ * Conference Account Id
502
+ * @description Specific conference account to use
503
+ */
504
+ conference_account_id?: number | null;
505
+ /**
506
+ * Allows Questions
507
+ * @description Allow participants to ask questions
516
508
  * @default true
517
509
  */
518
- requires_payment_method_upfront: boolean;
510
+ allows_questions: boolean;
511
+ /**
512
+ * Requires Camera
513
+ * @description Require participants to turn on camera
514
+ * @default false
515
+ */
516
+ requires_camera: boolean;
517
+ /**
518
+ * Interactive Mode
519
+ * @description full_interactive, semi_interactive, lecture_only
520
+ */
521
+ interactive_mode?: string | null;
522
+ /**
523
+ * Status
524
+ * @description scheduled, in_progress, completed, cancelled
525
+ * @default scheduled
526
+ */
527
+ status: string;
528
+ /**
529
+ * Locale
530
+ * @description Defaults to identity.locale if not provided
531
+ */
532
+ locale?: string | null;
519
533
  };
520
- ErrorResponse: {
521
- /** @example about:blank */
522
- type?: string;
534
+ Extensions: {
523
535
  /** @example GENERIC_ERROR */
524
- code?: string;
525
- /** @example Client Error */
526
- title?: string;
527
- /** @example 400 */
528
- status?: number;
529
- /** @example An error occurred */
530
- detail?: string;
531
- /** @example /v1/cart/items */
532
- instance?: string;
533
- extensions?: components["schemas"]["Extensions"];
536
+ message_code?: string;
537
+ /** @example [] */
538
+ invalid_params?: components["schemas"]["InvalidParam"][];
539
+ extra_data?: Record<string, never> | null;
540
+ /** @example Detailed debug information */
541
+ debug?: string | null;
542
+ };
543
+ /**
544
+ * IdentitySection
545
+ * @description Localized product content (maps to product_identity_tbl)
546
+ */
547
+ IdentitySection: {
548
+ /**
549
+ * Locale
550
+ * @description Locale: en-US, es-PR, fr-FR, pt-BR, etc.
551
+ * @default en-US
552
+ */
553
+ locale: string;
554
+ /**
555
+ * Title
556
+ * @description Product title
557
+ */
558
+ title: string;
559
+ /**
560
+ * Subtitle
561
+ * @description Product subtitle
562
+ */
563
+ subtitle?: string | null;
564
+ /**
565
+ * Description
566
+ * @description Full product description
567
+ */
568
+ description?: string | null;
569
+ /**
570
+ * Short Description
571
+ * @description Short description for listings/previews
572
+ */
573
+ short_description?: string | null;
534
574
  };
535
575
  /**
536
576
  * SessionCreateRequest
@@ -595,242 +635,202 @@ export interface components {
595
635
  session: components["schemas"]["SessionSection"];
596
636
  };
597
637
  /**
598
- * SessionSection
599
- * @description Session-specific fields (maps to sessions_tbl)
638
+ * ProductPrice
639
+ * @description Base product pricing (maps to product_pricings_tbl with variant_id=NULL)
600
640
  */
601
- SessionSection: {
602
- /**
603
- * Instructor Id
604
- * @description External user ID of session instructor (usr_xxx)
605
- */
606
- instructor_id?: string | null;
607
- /**
608
- * Starts At
609
- * Format: date-time
610
- * @description Session start time (UTC)
611
- */
612
- starts_at: string;
641
+ ProductPrice: {
613
642
  /**
614
- * Ends At
615
- * Format: date-time
616
- * @description Session end time (UTC)
643
+ * Price Type
644
+ * @description free, one_time, subscription, monthly_plan
617
645
  */
618
- ends_at: string;
646
+ price_type: string;
619
647
  /**
620
- * Duration Minutes
621
- * @description Session duration in minutes
648
+ * Currency
649
+ * @description Currency code: INR, USD, EUR, etc.
622
650
  */
623
- duration_minutes?: number | null;
651
+ currency: string;
624
652
  /**
625
- * Is Recurring
626
- * @description Is this a recurring session
627
- * @default false
653
+ * Amount
654
+ * @description Price amount
628
655
  */
629
- is_recurring: boolean;
656
+ amount: number;
630
657
  /**
631
- * Recurrence Rule
632
- * @description RRULE format for recurrence
658
+ * Compare At Amount
659
+ * @description Original/strike-through price
633
660
  */
634
- recurrence_rule?: string | null;
661
+ compare_at_amount?: number | null;
635
662
  /**
636
- * Recurrence End Date
637
- * @description End date for recurring sessions
663
+ * Interval
664
+ * @description day, week, month, year (for subscription)
638
665
  */
639
- recurrence_end_date?: string | null;
666
+ interval?: string | null;
640
667
  /**
641
- * Max Participants
642
- * @description Maximum number of participants
668
+ * Interval Count
669
+ * @description Number of intervals
643
670
  */
644
- max_participants?: number | null;
671
+ interval_count?: number | null;
645
672
  /**
646
- * Location Type
647
- * @description virtual, physical, hybrid
673
+ * Trial Period Days
674
+ * @description Free trial days
648
675
  */
649
- location_type?: string | null;
676
+ trial_period_days?: number | null;
650
677
  /**
651
- * Physical Location
652
- * @description Physical location address
678
+ * Initial Amount
679
+ * @description First payment amount
653
680
  */
654
- physical_location?: string | null;
681
+ initial_amount?: number | null;
655
682
  /**
656
- * Conferencing Platform
657
- * @description zoom, teams, google_meet, webex, physical, none
683
+ * Gateway
684
+ * @description stripe, razorpay, paypal, etc.
658
685
  */
659
- conferencing_platform?: string | null;
686
+ gateway?: string | null;
660
687
  /**
661
- * Conference Account Id
662
- * @description Specific conference account to use
688
+ * Requires Payment Method Upfront
689
+ * @description Require payment method before trial
690
+ * @default true
663
691
  */
664
- conference_account_id?: number | null;
692
+ requires_payment_method_upfront: boolean;
693
+ };
694
+ /**
695
+ * VariantPrice
696
+ * @description Variant-specific pricing (maps to product_pricings_tbl with variant_id set)
697
+ */
698
+ VariantPrice: {
665
699
  /**
666
- * Allows Questions
667
- * @description Allow participants to ask questions
668
- * @default true
700
+ * Variant Index
701
+ * @description Index in variants array (0-based)
669
702
  */
670
- allows_questions: boolean;
703
+ variant_index: number;
671
704
  /**
672
- * Requires Camera
673
- * @description Require participants to turn on camera
674
- * @default false
705
+ * Price Type
706
+ * @description free, one_time, subscription, monthly_plan
675
707
  */
676
- requires_camera: boolean;
708
+ price_type: string;
677
709
  /**
678
- * Interactive Mode
679
- * @description full_interactive, semi_interactive, lecture_only
710
+ * Currency
711
+ * @description Currency code
680
712
  */
681
- interactive_mode?: string | null;
713
+ currency: string;
682
714
  /**
683
- * Status
684
- * @description scheduled, in_progress, completed, cancelled
685
- * @default scheduled
715
+ * Amount
716
+ * @description Price amount
686
717
  */
687
- status: string;
718
+ amount: number;
688
719
  /**
689
- * Locale
690
- * @description Defaults to identity.locale if not provided
720
+ * Compare At Amount
721
+ * @description Original/strike-through price
691
722
  */
692
- locale?: string | null;
693
- };
694
- /**
695
- * PricingSection
696
- * @description Pricing configuration (optional - can have product price, variant prices, or both)
697
- */
698
- PricingSection: {
699
- /** @description Base product price (no variant) */
700
- product_price?: components["schemas"]["ProductPrice"] | null;
723
+ compare_at_amount?: number | null;
701
724
  /**
702
- * Variant Prices
703
- * @description Variant-specific prices
725
+ * Interval
726
+ * @description day, week, month, year
704
727
  */
705
- variant_prices?: components["schemas"]["VariantPrice"][] | null;
706
- };
707
- /** Body_updateSession */
708
- Body_updateSession: {
709
- /** Starts At */
710
- starts_at?: string | null;
711
- /** Ends At */
712
- ends_at?: string | null;
713
- /** Duration Minutes */
714
- duration_minutes?: number | null;
715
- /** Max Participants */
716
- max_participants?: number | null;
717
- /** Status */
718
- status?: string | null;
719
- /** Allows Questions */
720
- allows_questions?: boolean | null;
721
- /** Requires Camera */
722
- requires_camera?: boolean | null;
723
- };
724
- /**
725
- * IdentitySection
726
- * @description Localized product content (maps to product_identity_tbl)
727
- */
728
- IdentitySection: {
728
+ interval?: string | null;
729
729
  /**
730
- * Locale
731
- * @description Locale: en-US, es-PR, fr-FR, pt-BR, etc.
732
- * @default en-US
730
+ * Interval Count
731
+ * @description Number of intervals
733
732
  */
734
- locale: string;
733
+ interval_count?: number | null;
735
734
  /**
736
- * Title
737
- * @description Product title
735
+ * Trial Period Days
736
+ * @description Free trial days
738
737
  */
739
- title: string;
738
+ trial_period_days?: number | null;
740
739
  /**
741
- * Subtitle
742
- * @description Product subtitle
740
+ * Initial Amount
741
+ * @description First payment amount
743
742
  */
744
- subtitle?: string | null;
743
+ initial_amount?: number | null;
745
744
  /**
746
- * Description
747
- * @description Full product description
745
+ * Gateway
746
+ * @description stripe, razorpay, paypal, etc.
748
747
  */
749
- description?: string | null;
748
+ gateway?: string | null;
750
749
  /**
751
- * Short Description
752
- * @description Short description for listings/previews
750
+ * Requires Payment Method Upfront
751
+ * @description Require payment method before trial
752
+ * @default true
753
753
  */
754
- short_description?: string | null;
754
+ requires_payment_method_upfront: boolean;
755
+ };
756
+ ErrorResponse: {
757
+ /** @example about:blank */
758
+ type?: string;
759
+ /** @example GENERIC_ERROR */
760
+ code?: string;
761
+ /** @example Client Error */
762
+ title?: string;
763
+ /** @example 400 */
764
+ status?: number;
765
+ /** @example An error occurred */
766
+ detail?: string;
767
+ /** @example /v1/cart/items */
768
+ instance?: string;
769
+ extensions?: components["schemas"]["Extensions"];
755
770
  };
756
771
  /**
757
- * VariantItem
758
- * @description Product variant (maps to product_variants_tbl)
772
+ * ProductSection
773
+ * @description Base product fields (maps to product_tbl)
759
774
  */
760
- VariantItem: {
761
- /**
762
- * Name
763
- * @description Variant display name
764
- */
765
- name: string;
766
- /**
767
- * Sku
768
- * @description Stock Keeping Unit
769
- */
770
- sku?: string | null;
771
- /**
772
- * Attributes
773
- * @description Custom attributes
774
- */
775
- attributes?: {
776
- [key: string]: unknown;
777
- } | null;
778
- /**
779
- * Is Default
780
- * @description Set as default variant
781
- * @default false
782
- */
783
- is_default: boolean;
775
+ ProductSection: {
784
776
  /**
785
- * Track Inventory
786
- * @description Track stock for this variant
787
- * @default false
777
+ * Visibility
778
+ * @description public, private, hidden, unlisted
779
+ * @default public
788
780
  */
789
- track_inventory: boolean;
781
+ visibility: string;
790
782
  /**
791
- * Stock Quantity
792
- * @description Initial stock
783
+ * Is Digital
784
+ * @description Digital product flag
785
+ * @default true
793
786
  */
794
- stock_quantity?: number | null;
787
+ is_digital: boolean;
795
788
  /**
796
- * Allow Backorder
797
- * @description Allow orders when out of stock
798
- * @default false
789
+ * Company Id
790
+ * @description Multi-company support
799
791
  */
800
- allow_backorder: boolean;
792
+ company_id?: number | null;
801
793
  /**
802
- * Weight
803
- * @description Weight in kg
794
+ * Status
795
+ * @description draft, published, archived, review_required, deleted
796
+ * @default draft
804
797
  */
805
- weight?: number | null;
798
+ status: string;
806
799
  /**
807
- * Length
808
- * @description Length in cm
800
+ * Is Org Level
801
+ * @description Org-level vs user-created product
802
+ * @default true
809
803
  */
810
- length?: number | null;
804
+ is_org_level: boolean;
811
805
  /**
812
- * Width
813
- * @description Width in cm
806
+ * Staff Id
807
+ * @description Staff/instructor delivering product
814
808
  */
815
- width?: number | null;
809
+ staff_id?: number | null;
816
810
  /**
817
- * Height
818
- * @description Height in cm
811
+ * Owner Id
812
+ * @description Owner of the product
819
813
  */
820
- height?: number | null;
814
+ owner_id?: number | null;
821
815
  /**
822
- * Display Order
823
- * @description Display order
824
- * @default 100
816
+ * Featured
817
+ * @description Featured product flag
818
+ * @default false
825
819
  */
826
- display_order: number;
820
+ featured: boolean;
821
+ };
822
+ /**
823
+ * PricingSection
824
+ * @description Pricing configuration (optional - can have product price, variant prices, or both)
825
+ */
826
+ PricingSection: {
827
+ /** @description Base product price (no variant) */
828
+ product_price?: components["schemas"]["ProductPrice"] | null;
827
829
  /**
828
- * Metadata
829
- * @description Flexible metadata
830
+ * Variant Prices
831
+ * @description Variant-specific prices
830
832
  */
831
- metadata?: {
832
- [key: string]: unknown;
833
- } | null;
833
+ variant_prices?: components["schemas"]["VariantPrice"][] | null;
834
834
  };
835
835
  };
836
836
  responses: never;