@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
@@ -170,6 +170,217 @@ export interface paths {
170
170
  export type webhooks = Record<string, never>;
171
171
  export interface components {
172
172
  schemas: {
173
+ /**
174
+ * VariantItem
175
+ * @description Product variant (maps to product_variants_tbl)
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;
244
+ /**
245
+ * Metadata
246
+ * @description Flexible metadata
247
+ */
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;
274
+ };
275
+ /**
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
+ * }
290
+ */
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"];
301
+ };
302
+ /**
303
+ * MediaItem
304
+ * @description Single media file item
305
+ */
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;
327
+ /**
328
+ * Mime Type
329
+ * @description MIME type (image/png, video/mp4, etc.)
330
+ */
331
+ mime_type?: string | null;
332
+ /**
333
+ * Width
334
+ * @description Width in pixels (for images/videos)
335
+ */
336
+ width?: number | null;
337
+ /**
338
+ * Height
339
+ * @description Height in pixels (for images/videos)
340
+ */
341
+ height?: number | null;
342
+ /**
343
+ * Responsive Versions
344
+ * @description JSON with thumbnail, small, medium, large, xlarge, original paths
345
+ */
346
+ responsive_versions?: {
347
+ [key: string]: string;
348
+ } | null;
349
+ /**
350
+ * Alt Text
351
+ * @description Alt text for SEO/accessibility
352
+ */
353
+ alt_text?: string | null;
354
+ /**
355
+ * Locale
356
+ * @description Media locale (en-US, es-PR, etc.)
357
+ * @default en-US
358
+ */
359
+ locale: string;
360
+ /**
361
+ * Display Order
362
+ * @description Display order
363
+ * @default 0
364
+ */
365
+ display_order: number;
366
+ /**
367
+ * Is Primary
368
+ * @description Mark as primary media
369
+ * @default false
370
+ */
371
+ is_primary: boolean;
372
+ };
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;
383
+ };
173
384
  /**
174
385
  * MeetingCreateRequest
175
386
  * @description Meeting creation request - inherits common fields, adds meeting-specific section
@@ -217,83 +428,46 @@ export interface components {
217
428
  /** @description Meeting-specific configuration */
218
429
  meeting: components["schemas"]["MeetingSection"];
219
430
  };
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
+ };
220
440
  /**
221
- * ProductSection
222
- * @description Base product fields (maps to product_tbl)
441
+ * IdentitySection
442
+ * @description Localized product content (maps to product_identity_tbl)
223
443
  */
224
- ProductSection: {
225
- /**
226
- * Visibility
227
- * @description public, private, hidden, unlisted
228
- * @default public
229
- */
230
- visibility: string;
231
- /**
232
- * Is Digital
233
- * @description Digital product flag
234
- * @default true
235
- */
236
- is_digital: boolean;
237
- /**
238
- * Company Id
239
- * @description Multi-company support
240
- */
241
- company_id?: number | null;
444
+ IdentitySection: {
242
445
  /**
243
- * Status
244
- * @description draft, published, archived, review_required, deleted
245
- * @default draft
446
+ * Locale
447
+ * @description Locale: en-US, es-PR, fr-FR, pt-BR, etc.
448
+ * @default en-US
246
449
  */
247
- status: string;
450
+ locale: string;
248
451
  /**
249
- * Is Org Level
250
- * @description Org-level vs user-created product
251
- * @default true
452
+ * Title
453
+ * @description Product title
252
454
  */
253
- is_org_level: boolean;
455
+ title: string;
254
456
  /**
255
- * Staff Id
256
- * @description Staff/instructor delivering product
457
+ * Subtitle
458
+ * @description Product subtitle
257
459
  */
258
- staff_id?: number | null;
460
+ subtitle?: string | null;
259
461
  /**
260
- * Owner Id
261
- * @description Owner of the product
462
+ * Description
463
+ * @description Full product description
262
464
  */
263
- owner_id?: number | null;
465
+ description?: string | null;
264
466
  /**
265
- * Featured
266
- * @description Featured product flag
267
- * @default false
467
+ * Short Description
468
+ * @description Short description for listings/previews
268
469
  */
269
- featured: boolean;
270
- };
271
- /**
272
- * @example {
273
- * "status": "success",
274
- * "message": "Operation successful",
275
- * "message_code": "api_suc_20001",
276
- * "data": {},
277
- * "metadata": {
278
- * "timestamp": "2026-03-26T10:00:00.000Z",
279
- * "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
280
- * "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
281
- * "version": "v1",
282
- * "executionTime": 42,
283
- * "language": "en-US"
284
- * }
285
- * }
286
- */
287
- StandardResponse: {
288
- /** @example success */
289
- status?: string;
290
- data?: Record<string, never> | null;
291
- /** @example Operation successful */
292
- message?: string | null;
293
- /** @example api_suc_20001 */
294
- message_code?: string | null;
295
- metadata?: Record<string, never> | null;
296
- error?: components["schemas"]["ErrorResponse"];
470
+ short_description?: string | null;
297
471
  };
298
472
  /**
299
473
  * ProductPrice
@@ -352,110 +526,133 @@ export interface components {
352
526
  */
353
527
  requires_payment_method_upfront: boolean;
354
528
  };
355
- /** Body_updateMeeting */
356
- Body_updateMeeting: {
357
- /** Starts At */
358
- starts_at?: string | null;
359
- /** Ends At */
360
- ends_at?: string | null;
361
- /** Duration Minutes */
362
- duration_minutes?: number | null;
363
- /** Max Participants */
364
- max_participants?: number | null;
365
- /** Status */
366
- status?: string | null;
367
- /** Agenda */
368
- agenda?: string | null;
369
- /** Waiting Room Enabled */
370
- waiting_room_enabled?: boolean | null;
371
- };
372
529
  /**
373
- * MediaSection
374
- * @description Product media files - direct media data
530
+ * VariantPrice
531
+ * @description Variant-specific pricing (maps to product_pricings_tbl with variant_id set)
375
532
  */
376
- MediaSection: {
533
+ VariantPrice: {
377
534
  /**
378
- * Media Items
379
- * @description List of media files to attach to product
535
+ * Variant Index
536
+ * @description Index in variants array (0-based)
380
537
  */
381
- media_items?: components["schemas"]["MediaItem"][] | null;
382
- };
383
- InvalidParam: {
384
- /** @example items[0].quantity */
385
- field?: string;
386
- /** @example Input should be greater than or equal to 1 */
387
- error?: string;
388
- };
389
- /**
390
- * MediaItem
391
- * @description Single media file item
392
- */
393
- MediaItem: {
538
+ variant_index: number;
394
539
  /**
395
- * Media Type
396
- * @description logo, banner, promo_video, gallery_image, gallery_video, swatch
540
+ * Price Type
541
+ * @description free, one_time, subscription, monthly_plan
397
542
  */
398
- media_type: string;
543
+ price_type: string;
399
544
  /**
400
- * File Path
401
- * @description Path to media file on storage (S3, CDN, local)
545
+ * Currency
546
+ * @description Currency code
402
547
  */
403
- file_path: string;
548
+ currency: string;
404
549
  /**
405
- * File Name
406
- * @description Original filename
550
+ * Amount
551
+ * @description Price amount
407
552
  */
408
- file_name: string;
553
+ amount: number;
409
554
  /**
410
- * File Size
411
- * @description File size in bytes
555
+ * Compare At Amount
556
+ * @description Original/strike-through price
412
557
  */
413
- file_size?: number | null;
558
+ compare_at_amount?: number | null;
559
+ /**
560
+ * Interval
561
+ * @description day, week, month, year
562
+ */
563
+ interval?: string | null;
564
+ /**
565
+ * Interval Count
566
+ * @description Number of intervals
567
+ */
568
+ interval_count?: number | null;
569
+ /**
570
+ * Trial Period Days
571
+ * @description Free trial days
572
+ */
573
+ trial_period_days?: number | null;
574
+ /**
575
+ * Initial Amount
576
+ * @description First payment amount
577
+ */
578
+ initial_amount?: number | null;
579
+ /**
580
+ * Gateway
581
+ * @description stripe, razorpay, paypal, etc.
582
+ */
583
+ gateway?: string | null;
584
+ /**
585
+ * Requires Payment Method Upfront
586
+ * @description Require payment method before trial
587
+ * @default true
588
+ */
589
+ requires_payment_method_upfront: boolean;
590
+ };
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
+ /**
607
+ * ProductSection
608
+ * @description Base product fields (maps to product_tbl)
609
+ */
610
+ ProductSection: {
414
611
  /**
415
- * Mime Type
416
- * @description MIME type (image/png, video/mp4, etc.)
612
+ * Visibility
613
+ * @description public, private, hidden, unlisted
614
+ * @default public
417
615
  */
418
- mime_type?: string | null;
616
+ visibility: string;
419
617
  /**
420
- * Width
421
- * @description Width in pixels (for images/videos)
618
+ * Is Digital
619
+ * @description Digital product flag
620
+ * @default true
422
621
  */
423
- width?: number | null;
622
+ is_digital: boolean;
424
623
  /**
425
- * Height
426
- * @description Height in pixels (for images/videos)
624
+ * Company Id
625
+ * @description Multi-company support
427
626
  */
428
- height?: number | null;
627
+ company_id?: number | null;
429
628
  /**
430
- * Responsive Versions
431
- * @description JSON with thumbnail, small, medium, large, xlarge, original paths
629
+ * Status
630
+ * @description draft, published, archived, review_required, deleted
631
+ * @default draft
432
632
  */
433
- responsive_versions?: {
434
- [key: string]: string;
435
- } | null;
633
+ status: string;
436
634
  /**
437
- * Alt Text
438
- * @description Alt text for SEO/accessibility
635
+ * Is Org Level
636
+ * @description Org-level vs user-created product
637
+ * @default true
439
638
  */
440
- alt_text?: string | null;
639
+ is_org_level: boolean;
441
640
  /**
442
- * Locale
443
- * @description Media locale (en-US, es-PR, etc.)
444
- * @default en-US
641
+ * Staff Id
642
+ * @description Staff/instructor delivering product
445
643
  */
446
- locale: string;
644
+ staff_id?: number | null;
447
645
  /**
448
- * Display Order
449
- * @description Display order
450
- * @default 0
646
+ * Owner Id
647
+ * @description Owner of the product
451
648
  */
452
- display_order: number;
649
+ owner_id?: number | null;
453
650
  /**
454
- * Is Primary
455
- * @description Mark as primary media
651
+ * Featured
652
+ * @description Featured product flag
456
653
  * @default false
457
654
  */
458
- is_primary: boolean;
655
+ featured: boolean;
459
656
  };
460
657
  /**
461
658
  * MeetingSection
@@ -564,92 +761,6 @@ export interface components {
564
761
  */
565
762
  locale?: string | null;
566
763
  };
567
- Extensions: {
568
- /** @example GENERIC_ERROR */
569
- message_code?: string;
570
- /** @example [] */
571
- invalid_params?: components["schemas"]["InvalidParam"][];
572
- extra_data?: Record<string, never> | null;
573
- /** @example Detailed debug information */
574
- debug?: string | null;
575
- };
576
- ErrorResponse: {
577
- /** @example about:blank */
578
- type?: string;
579
- /** @example GENERIC_ERROR */
580
- code?: string;
581
- /** @example Client Error */
582
- title?: string;
583
- /** @example 400 */
584
- status?: number;
585
- /** @example An error occurred */
586
- detail?: string;
587
- /** @example /v1/cart/items */
588
- instance?: string;
589
- extensions?: components["schemas"]["Extensions"];
590
- };
591
- /**
592
- * VariantPrice
593
- * @description Variant-specific pricing (maps to product_pricings_tbl with variant_id set)
594
- */
595
- VariantPrice: {
596
- /**
597
- * Variant Index
598
- * @description Index in variants array (0-based)
599
- */
600
- variant_index: number;
601
- /**
602
- * Price Type
603
- * @description free, one_time, subscription, monthly_plan
604
- */
605
- price_type: string;
606
- /**
607
- * Currency
608
- * @description Currency code
609
- */
610
- currency: string;
611
- /**
612
- * Amount
613
- * @description Price amount
614
- */
615
- amount: number;
616
- /**
617
- * Compare At Amount
618
- * @description Original/strike-through price
619
- */
620
- compare_at_amount?: number | null;
621
- /**
622
- * Interval
623
- * @description day, week, month, year
624
- */
625
- interval?: string | null;
626
- /**
627
- * Interval Count
628
- * @description Number of intervals
629
- */
630
- interval_count?: number | null;
631
- /**
632
- * Trial Period Days
633
- * @description Free trial days
634
- */
635
- trial_period_days?: number | null;
636
- /**
637
- * Initial Amount
638
- * @description First payment amount
639
- */
640
- initial_amount?: number | null;
641
- /**
642
- * Gateway
643
- * @description stripe, razorpay, paypal, etc.
644
- */
645
- gateway?: string | null;
646
- /**
647
- * Requires Payment Method Upfront
648
- * @description Require payment method before trial
649
- * @default true
650
- */
651
- requires_payment_method_upfront: boolean;
652
- };
653
764
  /**
654
765
  * PricingSection
655
766
  * @description Pricing configuration (optional - can have product price, variant prices, or both)
@@ -663,117 +774,6 @@ export interface components {
663
774
  */
664
775
  variant_prices?: components["schemas"]["VariantPrice"][] | null;
665
776
  };
666
- /**
667
- * IdentitySection
668
- * @description Localized product content (maps to product_identity_tbl)
669
- */
670
- IdentitySection: {
671
- /**
672
- * Locale
673
- * @description Locale: en-US, es-PR, fr-FR, pt-BR, etc.
674
- * @default en-US
675
- */
676
- locale: string;
677
- /**
678
- * Title
679
- * @description Product title
680
- */
681
- title: string;
682
- /**
683
- * Subtitle
684
- * @description Product subtitle
685
- */
686
- subtitle?: string | null;
687
- /**
688
- * Description
689
- * @description Full product description
690
- */
691
- description?: string | null;
692
- /**
693
- * Short Description
694
- * @description Short description for listings/previews
695
- */
696
- short_description?: string | null;
697
- };
698
- /**
699
- * VariantItem
700
- * @description Product variant (maps to product_variants_tbl)
701
- */
702
- VariantItem: {
703
- /**
704
- * Name
705
- * @description Variant display name
706
- */
707
- name: string;
708
- /**
709
- * Sku
710
- * @description Stock Keeping Unit
711
- */
712
- sku?: string | null;
713
- /**
714
- * Attributes
715
- * @description Custom attributes
716
- */
717
- attributes?: {
718
- [key: string]: unknown;
719
- } | null;
720
- /**
721
- * Is Default
722
- * @description Set as default variant
723
- * @default false
724
- */
725
- is_default: boolean;
726
- /**
727
- * Track Inventory
728
- * @description Track stock for this variant
729
- * @default false
730
- */
731
- track_inventory: boolean;
732
- /**
733
- * Stock Quantity
734
- * @description Initial stock
735
- */
736
- stock_quantity?: number | null;
737
- /**
738
- * Allow Backorder
739
- * @description Allow orders when out of stock
740
- * @default false
741
- */
742
- allow_backorder: boolean;
743
- /**
744
- * Weight
745
- * @description Weight in kg
746
- */
747
- weight?: number | null;
748
- /**
749
- * Length
750
- * @description Length in cm
751
- */
752
- length?: number | null;
753
- /**
754
- * Width
755
- * @description Width in cm
756
- */
757
- width?: number | null;
758
- /**
759
- * Height
760
- * @description Height in cm
761
- */
762
- height?: number | null;
763
- /**
764
- * Display Order
765
- * @description Display order
766
- * @default 100
767
- */
768
- display_order: number;
769
- /**
770
- * Metadata
771
- * @description Flexible metadata
772
- */
773
- metadata?: {
774
- [key: string]: unknown;
775
- } | null;
776
- };
777
777
  };
778
778
  responses: never;
779
779
  parameters: never;