@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.
- package/dist/account/generated.d.ts +230 -230
- package/dist/account/generated.d.ts.map +1 -1
- package/dist/activity/generated.d.ts +46 -46
- package/dist/activity/generated.d.ts.map +1 -1
- package/dist/addon/generated.d.ts +101 -101
- package/dist/addon/generated.d.ts.map +1 -1
- package/dist/admin/generated.d.ts +122 -122
- package/dist/admin/generated.d.ts.map +1 -1
- package/dist/affiliate/generated.d.ts +82 -82
- package/dist/affiliate/generated.d.ts.map +1 -1
- package/dist/analytics/generated.d.ts +21 -21
- package/dist/analytics/generated.d.ts.map +1 -1
- package/dist/announcements/generated.d.ts +119 -119
- package/dist/announcements/generated.d.ts.map +1 -1
- package/dist/apikeys/generated.d.ts +129 -129
- package/dist/apikeys/generated.d.ts.map +1 -1
- package/dist/assistance/generated.d.ts +21 -21
- package/dist/assistance/generated.d.ts.map +1 -1
- package/dist/authentication/generated.d.ts +83 -83
- package/dist/authentication/generated.d.ts.map +1 -1
- package/dist/blog/generated.d.ts +212 -212
- package/dist/blog/generated.d.ts.map +1 -1
- package/dist/bundle/generated.d.ts +185 -185
- package/dist/bundle/generated.d.ts.map +1 -1
- package/dist/cache/generated.d.ts +27 -27
- package/dist/cache/generated.d.ts.map +1 -1
- package/dist/calendar/generated.d.ts +54 -54
- package/dist/calendar/generated.d.ts.map +1 -1
- package/dist/campaigns/generated.d.ts +206 -206
- package/dist/campaigns/generated.d.ts.map +1 -1
- package/dist/cart/generated.d.ts +42 -42
- package/dist/cart/generated.d.ts.map +1 -1
- package/dist/changelog/generated.d.ts +101 -101
- package/dist/changelog/generated.d.ts.map +1 -1
- package/dist/channel/generated.d.ts +213 -213
- package/dist/channel/generated.d.ts.map +1 -1
- package/dist/company/generated.d.ts +57 -57
- package/dist/company/generated.d.ts.map +1 -1
- package/dist/conference/generated.d.ts +109 -109
- package/dist/conference/generated.d.ts.map +1 -1
- package/dist/config/generated.d.ts +55 -55
- package/dist/config/generated.d.ts.map +1 -1
- package/dist/content/generated.d.ts +613 -613
- package/dist/content/generated.d.ts.map +1 -1
- package/dist/cookies/generated.d.ts +71 -71
- package/dist/cookies/generated.d.ts.map +1 -1
- package/dist/courses/generated.d.ts +453 -453
- package/dist/courses/generated.d.ts.map +1 -1
- package/dist/custom/generated.d.ts +78 -78
- package/dist/custom/generated.d.ts.map +1 -1
- package/dist/dashboard/generated.d.ts +138 -138
- package/dist/dashboard/generated.d.ts.map +1 -1
- package/dist/elasticsearch/generated.d.ts +21 -21
- package/dist/elasticsearch/generated.d.ts.map +1 -1
- package/dist/enrollments/generated.d.ts +21 -21
- package/dist/enrollments/generated.d.ts.map +1 -1
- package/dist/errors/generated.d.ts +54 -54
- package/dist/errors/generated.d.ts.map +1 -1
- package/dist/eventconfig/generated.d.ts +53 -53
- package/dist/eventconfig/generated.d.ts.map +1 -1
- package/dist/funnels/generated.d.ts +117 -117
- package/dist/funnels/generated.d.ts.map +1 -1
- package/dist/gamification/generated.d.ts +177 -177
- package/dist/gamification/generated.d.ts.map +1 -1
- package/dist/impersonation/generated.d.ts +52 -52
- package/dist/impersonation/generated.d.ts.map +1 -1
- package/dist/inbox/generated.d.ts +122 -122
- package/dist/inbox/generated.d.ts.map +1 -1
- package/dist/internal/generated.d.ts +21 -21
- package/dist/internal/generated.d.ts.map +1 -1
- package/dist/internationalization/generated.d.ts +21 -21
- package/dist/internationalization/generated.d.ts.map +1 -1
- package/dist/invitations/generated.d.ts +156 -156
- package/dist/invitations/generated.d.ts.map +1 -1
- package/dist/meetings/generated.d.ts +372 -372
- package/dist/meetings/generated.d.ts.map +1 -1
- package/dist/metas/generated.d.ts +199 -199
- package/dist/metas/generated.d.ts.map +1 -1
- package/dist/notification/generated.d.ts +356 -356
- package/dist/notification/generated.d.ts.map +1 -1
- package/dist/notifications/generated.d.ts +21 -21
- package/dist/notifications/generated.d.ts.map +1 -1
- package/dist/onboarding/generated.d.ts +77 -77
- package/dist/onboarding/generated.d.ts.map +1 -1
- package/dist/packages/generated.d.ts +59 -59
- package/dist/packages/generated.d.ts.map +1 -1
- package/dist/payments/generated.d.ts +523 -523
- package/dist/payments/generated.d.ts.map +1 -1
- package/dist/payouts/generated.d.ts +21 -21
- package/dist/payouts/generated.d.ts.map +1 -1
- package/dist/plans/generated.d.ts +323 -323
- package/dist/plans/generated.d.ts.map +1 -1
- package/dist/pricing/generated.d.ts +38 -38
- package/dist/pricing/generated.d.ts.map +1 -1
- package/dist/products/generated.d.ts +443 -443
- package/dist/products/generated.d.ts.map +1 -1
- package/dist/profile/generated.d.ts +354 -354
- package/dist/profile/generated.d.ts.map +1 -1
- package/dist/reasons/generated.d.ts +101 -101
- package/dist/reasons/generated.d.ts.map +1 -1
- package/dist/registration/generated.d.ts +171 -171
- package/dist/registration/generated.d.ts.map +1 -1
- package/dist/reviews/generated.d.ts +57 -57
- package/dist/reviews/generated.d.ts.map +1 -1
- package/dist/role/generated.d.ts +191 -191
- package/dist/role/generated.d.ts.map +1 -1
- package/dist/scheduling/generated.d.ts +103 -103
- package/dist/scheduling/generated.d.ts.map +1 -1
- package/dist/services/generated.d.ts +1017 -1017
- package/dist/services/generated.d.ts.map +1 -1
- package/dist/sessions/generated.d.ts +362 -362
- package/dist/sessions/generated.d.ts.map +1 -1
- package/dist/spaces/generated.d.ts +600 -600
- package/dist/spaces/generated.d.ts.map +1 -1
- package/dist/storefront/generated.d.ts +21 -21
- package/dist/storefront/generated.d.ts.map +1 -1
- package/dist/support/generated.d.ts +1403 -1403
- package/dist/support/generated.d.ts.map +1 -1
- package/dist/sync/generated.d.ts +182 -182
- package/dist/sync/generated.d.ts.map +1 -1
- package/dist/tenant/generated.d.ts +737 -737
- package/dist/tenant/generated.d.ts.map +1 -1
- package/dist/testimonials/generated.d.ts +50 -50
- package/dist/testimonials/generated.d.ts.map +1 -1
- package/dist/tests/generated.d.ts +472 -472
- package/dist/tests/generated.d.ts.map +1 -1
- package/dist/tokens/generated.d.ts +54 -54
- package/dist/tokens/generated.d.ts.map +1 -1
- package/dist/uploads/generated.d.ts +69 -69
- package/dist/uploads/generated.d.ts.map +1 -1
- package/dist/upsell/generated.d.ts +130 -130
- package/dist/upsell/generated.d.ts.map +1 -1
- package/dist/user/generated.d.ts +72 -72
- package/dist/user/generated.d.ts.map +1 -1
- package/dist/webinars/generated.d.ts +329 -329
- package/dist/webinars/generated.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -225,169 +225,94 @@ export type webhooks = Record<string, never>;
|
|
|
225
225
|
export interface components {
|
|
226
226
|
schemas: {
|
|
227
227
|
/**
|
|
228
|
-
*
|
|
229
|
-
* @description
|
|
228
|
+
* PricingSection
|
|
229
|
+
* @description Pricing configuration (optional - can have product price, variant prices, or both)
|
|
230
230
|
*/
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
|
|
234
|
-
* @description Variant display name
|
|
235
|
-
*/
|
|
236
|
-
name: string;
|
|
237
|
-
/**
|
|
238
|
-
* Sku
|
|
239
|
-
* @description Stock Keeping Unit
|
|
240
|
-
*/
|
|
241
|
-
sku?: string | null;
|
|
242
|
-
/**
|
|
243
|
-
* Attributes
|
|
244
|
-
* @description Custom attributes
|
|
245
|
-
*/
|
|
246
|
-
attributes?: {
|
|
247
|
-
[key: string]: unknown;
|
|
248
|
-
} | null;
|
|
249
|
-
/**
|
|
250
|
-
* Is Default
|
|
251
|
-
* @description Set as default variant
|
|
252
|
-
* @default false
|
|
253
|
-
*/
|
|
254
|
-
is_default: boolean;
|
|
255
|
-
/**
|
|
256
|
-
* Track Inventory
|
|
257
|
-
* @description Track stock for this variant
|
|
258
|
-
* @default false
|
|
259
|
-
*/
|
|
260
|
-
track_inventory: boolean;
|
|
261
|
-
/**
|
|
262
|
-
* Stock Quantity
|
|
263
|
-
* @description Initial stock
|
|
264
|
-
*/
|
|
265
|
-
stock_quantity?: number | null;
|
|
266
|
-
/**
|
|
267
|
-
* Allow Backorder
|
|
268
|
-
* @description Allow orders when out of stock
|
|
269
|
-
* @default false
|
|
270
|
-
*/
|
|
271
|
-
allow_backorder: boolean;
|
|
272
|
-
/**
|
|
273
|
-
* Weight
|
|
274
|
-
* @description Weight in kg
|
|
275
|
-
*/
|
|
276
|
-
weight?: number | null;
|
|
277
|
-
/**
|
|
278
|
-
* Length
|
|
279
|
-
* @description Length in cm
|
|
280
|
-
*/
|
|
281
|
-
length?: number | null;
|
|
282
|
-
/**
|
|
283
|
-
* Width
|
|
284
|
-
* @description Width in cm
|
|
285
|
-
*/
|
|
286
|
-
width?: number | null;
|
|
287
|
-
/**
|
|
288
|
-
* Height
|
|
289
|
-
* @description Height in cm
|
|
290
|
-
*/
|
|
291
|
-
height?: number | null;
|
|
231
|
+
PricingSection: {
|
|
232
|
+
/** @description Base product price (no variant) */
|
|
233
|
+
product_price?: components["schemas"]["ProductPrice"] | null;
|
|
292
234
|
/**
|
|
293
|
-
*
|
|
294
|
-
* @description
|
|
295
|
-
* @default 100
|
|
235
|
+
* Variant Prices
|
|
236
|
+
* @description Variant-specific prices
|
|
296
237
|
*/
|
|
297
|
-
|
|
238
|
+
variant_prices?: components["schemas"]["VariantPrice"][] | null;
|
|
239
|
+
};
|
|
240
|
+
/**
|
|
241
|
+
* MediaSection
|
|
242
|
+
* @description Product media files - direct media data
|
|
243
|
+
*/
|
|
244
|
+
MediaSection: {
|
|
298
245
|
/**
|
|
299
|
-
*
|
|
300
|
-
* @description
|
|
246
|
+
* Media Items
|
|
247
|
+
* @description List of media files to attach to product
|
|
301
248
|
*/
|
|
302
|
-
|
|
303
|
-
[key: string]: unknown;
|
|
304
|
-
} | null;
|
|
305
|
-
};
|
|
306
|
-
InvalidParam: {
|
|
307
|
-
/** @example items[0].quantity */
|
|
308
|
-
field?: string;
|
|
309
|
-
/** @example Input should be greater than or equal to 1 */
|
|
310
|
-
error?: string;
|
|
249
|
+
media_items?: components["schemas"]["MediaItem"][] | null;
|
|
311
250
|
};
|
|
312
251
|
/**
|
|
313
|
-
*
|
|
314
|
-
* @description
|
|
252
|
+
* ProductSection
|
|
253
|
+
* @description Base product fields (maps to product_tbl)
|
|
315
254
|
*/
|
|
316
|
-
|
|
255
|
+
ProductSection: {
|
|
317
256
|
/**
|
|
318
|
-
*
|
|
319
|
-
* @description
|
|
257
|
+
* Visibility
|
|
258
|
+
* @description public, private, hidden, unlisted
|
|
259
|
+
* @default public
|
|
320
260
|
*/
|
|
321
|
-
|
|
261
|
+
visibility: string;
|
|
322
262
|
/**
|
|
323
|
-
*
|
|
324
|
-
* @description
|
|
263
|
+
* Is Digital
|
|
264
|
+
* @description Digital product flag
|
|
265
|
+
* @default true
|
|
325
266
|
*/
|
|
326
|
-
|
|
327
|
-
[key: string]: unknown;
|
|
328
|
-
} | null;
|
|
267
|
+
is_digital: boolean;
|
|
329
268
|
/**
|
|
330
|
-
*
|
|
331
|
-
* @description
|
|
269
|
+
* Company Id
|
|
270
|
+
* @description Multi-company support
|
|
332
271
|
*/
|
|
333
|
-
|
|
334
|
-
[key: string]: unknown;
|
|
335
|
-
} | null;
|
|
272
|
+
company_id?: number | null;
|
|
336
273
|
/**
|
|
337
|
-
*
|
|
338
|
-
* @description
|
|
274
|
+
* Status
|
|
275
|
+
* @description draft, published, archived, review_required, deleted
|
|
276
|
+
* @default draft
|
|
339
277
|
*/
|
|
340
|
-
|
|
341
|
-
[key: string]: unknown;
|
|
342
|
-
} | null;
|
|
278
|
+
status: string;
|
|
343
279
|
/**
|
|
344
|
-
*
|
|
345
|
-
* @description
|
|
280
|
+
* Is Org Level
|
|
281
|
+
* @description Org-level vs user-created product
|
|
282
|
+
* @default true
|
|
346
283
|
*/
|
|
347
|
-
|
|
348
|
-
[key: string]: unknown;
|
|
349
|
-
} | null;
|
|
284
|
+
is_org_level: boolean;
|
|
350
285
|
/**
|
|
351
|
-
*
|
|
352
|
-
* @description
|
|
286
|
+
* Staff Id
|
|
287
|
+
* @description Staff/instructor delivering product
|
|
353
288
|
*/
|
|
354
|
-
|
|
355
|
-
[key: string]: unknown;
|
|
356
|
-
} | null;
|
|
289
|
+
staff_id?: number | null;
|
|
357
290
|
/**
|
|
358
|
-
*
|
|
359
|
-
* @description
|
|
291
|
+
* Owner Id
|
|
292
|
+
* @description Owner of the product
|
|
360
293
|
*/
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
294
|
+
owner_id?: number | null;
|
|
295
|
+
/**
|
|
296
|
+
* Featured
|
|
297
|
+
* @description Featured product flag
|
|
298
|
+
* @default false
|
|
299
|
+
*/
|
|
300
|
+
featured: boolean;
|
|
364
301
|
};
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
* }
|
|
380
|
-
*/
|
|
381
|
-
StandardResponse: {
|
|
382
|
-
/** @example success */
|
|
383
|
-
status?: string;
|
|
384
|
-
data?: Record<string, never> | null;
|
|
385
|
-
/** @example Operation successful */
|
|
386
|
-
message?: string | null;
|
|
387
|
-
/** @example api_suc_20001 */
|
|
388
|
-
message_code?: string | null;
|
|
389
|
-
metadata?: Record<string, never> | null;
|
|
390
|
-
error?: components["schemas"]["ErrorResponse"];
|
|
302
|
+
ErrorResponse: {
|
|
303
|
+
/** @example about:blank */
|
|
304
|
+
type?: string;
|
|
305
|
+
/** @example GENERIC_ERROR */
|
|
306
|
+
code?: string;
|
|
307
|
+
/** @example Client Error */
|
|
308
|
+
title?: string;
|
|
309
|
+
/** @example 400 */
|
|
310
|
+
status?: number;
|
|
311
|
+
/** @example An error occurred */
|
|
312
|
+
detail?: string;
|
|
313
|
+
/** @example /v1/cart/items */
|
|
314
|
+
instance?: string;
|
|
315
|
+
extensions?: components["schemas"]["Extensions"];
|
|
391
316
|
};
|
|
392
317
|
/**
|
|
393
318
|
* MediaItem
|
|
@@ -460,17 +385,6 @@ export interface components {
|
|
|
460
385
|
*/
|
|
461
386
|
is_primary: boolean;
|
|
462
387
|
};
|
|
463
|
-
/**
|
|
464
|
-
* MediaSection
|
|
465
|
-
* @description Product media files - direct media data
|
|
466
|
-
*/
|
|
467
|
-
MediaSection: {
|
|
468
|
-
/**
|
|
469
|
-
* Media Items
|
|
470
|
-
* @description List of media files to attach to product
|
|
471
|
-
*/
|
|
472
|
-
media_items?: components["schemas"]["MediaItem"][] | null;
|
|
473
|
-
};
|
|
474
388
|
Extensions: {
|
|
475
389
|
/** @example GENERIC_ERROR */
|
|
476
390
|
message_code?: string;
|
|
@@ -481,42 +395,158 @@ export interface components {
|
|
|
481
395
|
debug?: string | null;
|
|
482
396
|
};
|
|
483
397
|
/**
|
|
484
|
-
*
|
|
485
|
-
* @description
|
|
398
|
+
* TenantPlanSection
|
|
399
|
+
* @description Tenant Plan-specific fields (maps to tenant_plans_tbl)
|
|
486
400
|
*/
|
|
487
|
-
|
|
401
|
+
TenantPlanSection: {
|
|
488
402
|
/**
|
|
489
|
-
*
|
|
490
|
-
* @description
|
|
491
|
-
* @default
|
|
403
|
+
* Is Standard
|
|
404
|
+
* @description Is this a standard/free plan
|
|
405
|
+
* @default false
|
|
492
406
|
*/
|
|
493
|
-
|
|
407
|
+
is_standard: boolean;
|
|
494
408
|
/**
|
|
495
|
-
*
|
|
496
|
-
* @description
|
|
409
|
+
* Premium Plan Id
|
|
410
|
+
* @description Reference to premium upgrade plan (internal ID)
|
|
497
411
|
*/
|
|
498
|
-
|
|
412
|
+
premium_plan_id?: number | null;
|
|
499
413
|
/**
|
|
500
|
-
*
|
|
501
|
-
* @description
|
|
414
|
+
* For Org Id
|
|
415
|
+
* @description Specific org this plan is for (NULL = available to all)
|
|
502
416
|
*/
|
|
503
|
-
|
|
417
|
+
for_org_id?: number | null;
|
|
504
418
|
/**
|
|
505
|
-
*
|
|
506
|
-
* @description
|
|
419
|
+
* Concurrent Rooms
|
|
420
|
+
* @description Max concurrent virtual rooms allowed
|
|
507
421
|
*/
|
|
508
|
-
|
|
422
|
+
concurrent_rooms?: number | null;
|
|
509
423
|
/**
|
|
510
|
-
*
|
|
511
|
-
* @description
|
|
424
|
+
* Class Duration Minutes
|
|
425
|
+
* @description Max class duration in minutes
|
|
512
426
|
*/
|
|
513
|
-
|
|
427
|
+
class_duration_minutes?: number | null;
|
|
428
|
+
/**
|
|
429
|
+
* Attendee Limit
|
|
430
|
+
* @description Max attendees per session
|
|
431
|
+
*/
|
|
432
|
+
attendee_limit?: number | null;
|
|
433
|
+
/**
|
|
434
|
+
* Virtual Classroom Enabled
|
|
435
|
+
* @description Enable virtual classroom features
|
|
436
|
+
* @default true
|
|
437
|
+
*/
|
|
438
|
+
virtual_classroom_enabled: boolean;
|
|
439
|
+
/**
|
|
440
|
+
* Active User Limit
|
|
441
|
+
* @description Max active users allowed
|
|
442
|
+
*/
|
|
443
|
+
active_user_limit?: number | null;
|
|
444
|
+
/**
|
|
445
|
+
* Storage Limit Gb
|
|
446
|
+
* @description Storage limit in GB
|
|
447
|
+
*/
|
|
448
|
+
storage_limit_gb?: number | null;
|
|
449
|
+
/**
|
|
450
|
+
* Bandwidth Gb Per Month
|
|
451
|
+
* @description Monthly bandwidth limit in GB
|
|
452
|
+
*/
|
|
453
|
+
bandwidth_gb_per_month?: number | null;
|
|
454
|
+
/**
|
|
455
|
+
* Status
|
|
456
|
+
* @description active, inactive, archived, deleted
|
|
457
|
+
* @default active
|
|
458
|
+
*/
|
|
459
|
+
status: string;
|
|
514
460
|
};
|
|
515
461
|
/**
|
|
516
|
-
*
|
|
517
|
-
* @description
|
|
462
|
+
* VariantItem
|
|
463
|
+
* @description Product variant (maps to product_variants_tbl)
|
|
518
464
|
*/
|
|
519
|
-
|
|
465
|
+
VariantItem: {
|
|
466
|
+
/**
|
|
467
|
+
* Name
|
|
468
|
+
* @description Variant display name
|
|
469
|
+
*/
|
|
470
|
+
name: string;
|
|
471
|
+
/**
|
|
472
|
+
* Sku
|
|
473
|
+
* @description Stock Keeping Unit
|
|
474
|
+
*/
|
|
475
|
+
sku?: string | null;
|
|
476
|
+
/**
|
|
477
|
+
* Attributes
|
|
478
|
+
* @description Custom attributes
|
|
479
|
+
*/
|
|
480
|
+
attributes?: {
|
|
481
|
+
[key: string]: unknown;
|
|
482
|
+
} | null;
|
|
483
|
+
/**
|
|
484
|
+
* Is Default
|
|
485
|
+
* @description Set as default variant
|
|
486
|
+
* @default false
|
|
487
|
+
*/
|
|
488
|
+
is_default: boolean;
|
|
489
|
+
/**
|
|
490
|
+
* Track Inventory
|
|
491
|
+
* @description Track stock for this variant
|
|
492
|
+
* @default false
|
|
493
|
+
*/
|
|
494
|
+
track_inventory: boolean;
|
|
495
|
+
/**
|
|
496
|
+
* Stock Quantity
|
|
497
|
+
* @description Initial stock
|
|
498
|
+
*/
|
|
499
|
+
stock_quantity?: number | null;
|
|
500
|
+
/**
|
|
501
|
+
* Allow Backorder
|
|
502
|
+
* @description Allow orders when out of stock
|
|
503
|
+
* @default false
|
|
504
|
+
*/
|
|
505
|
+
allow_backorder: boolean;
|
|
506
|
+
/**
|
|
507
|
+
* Weight
|
|
508
|
+
* @description Weight in kg
|
|
509
|
+
*/
|
|
510
|
+
weight?: number | null;
|
|
511
|
+
/**
|
|
512
|
+
* Length
|
|
513
|
+
* @description Length in cm
|
|
514
|
+
*/
|
|
515
|
+
length?: number | null;
|
|
516
|
+
/**
|
|
517
|
+
* Width
|
|
518
|
+
* @description Width in cm
|
|
519
|
+
*/
|
|
520
|
+
width?: number | null;
|
|
521
|
+
/**
|
|
522
|
+
* Height
|
|
523
|
+
* @description Height in cm
|
|
524
|
+
*/
|
|
525
|
+
height?: number | null;
|
|
526
|
+
/**
|
|
527
|
+
* Display Order
|
|
528
|
+
* @description Display order
|
|
529
|
+
* @default 100
|
|
530
|
+
*/
|
|
531
|
+
display_order: number;
|
|
532
|
+
/**
|
|
533
|
+
* Metadata
|
|
534
|
+
* @description Flexible metadata
|
|
535
|
+
*/
|
|
536
|
+
metadata?: {
|
|
537
|
+
[key: string]: unknown;
|
|
538
|
+
} | null;
|
|
539
|
+
};
|
|
540
|
+
/**
|
|
541
|
+
* VariantPrice
|
|
542
|
+
* @description Variant-specific pricing (maps to product_pricings_tbl with variant_id set)
|
|
543
|
+
*/
|
|
544
|
+
VariantPrice: {
|
|
545
|
+
/**
|
|
546
|
+
* Variant Index
|
|
547
|
+
* @description Index in variants array (0-based)
|
|
548
|
+
*/
|
|
549
|
+
variant_index: number;
|
|
520
550
|
/**
|
|
521
551
|
* Price Type
|
|
522
552
|
* @description free, one_time, subscription, monthly_plan
|
|
@@ -524,7 +554,7 @@ export interface components {
|
|
|
524
554
|
price_type: string;
|
|
525
555
|
/**
|
|
526
556
|
* Currency
|
|
527
|
-
* @description Currency code
|
|
557
|
+
* @description Currency code
|
|
528
558
|
*/
|
|
529
559
|
currency: string;
|
|
530
560
|
/**
|
|
@@ -539,7 +569,7 @@ export interface components {
|
|
|
539
569
|
compare_at_amount?: number | null;
|
|
540
570
|
/**
|
|
541
571
|
* Interval
|
|
542
|
-
* @description day, week, month, year
|
|
572
|
+
* @description day, week, month, year
|
|
543
573
|
*/
|
|
544
574
|
interval?: string | null;
|
|
545
575
|
/**
|
|
@@ -570,15 +600,10 @@ export interface components {
|
|
|
570
600
|
requires_payment_method_upfront: boolean;
|
|
571
601
|
};
|
|
572
602
|
/**
|
|
573
|
-
*
|
|
574
|
-
* @description
|
|
575
|
-
*/
|
|
576
|
-
|
|
577
|
-
/**
|
|
578
|
-
* Variant Index
|
|
579
|
-
* @description Index in variants array (0-based)
|
|
580
|
-
*/
|
|
581
|
-
variant_index: number;
|
|
603
|
+
* ProductPrice
|
|
604
|
+
* @description Base product pricing (maps to product_pricings_tbl with variant_id=NULL)
|
|
605
|
+
*/
|
|
606
|
+
ProductPrice: {
|
|
582
607
|
/**
|
|
583
608
|
* Price Type
|
|
584
609
|
* @description free, one_time, subscription, monthly_plan
|
|
@@ -586,7 +611,7 @@ export interface components {
|
|
|
586
611
|
price_type: string;
|
|
587
612
|
/**
|
|
588
613
|
* Currency
|
|
589
|
-
* @description Currency code
|
|
614
|
+
* @description Currency code: INR, USD, EUR, etc.
|
|
590
615
|
*/
|
|
591
616
|
currency: string;
|
|
592
617
|
/**
|
|
@@ -601,7 +626,7 @@ export interface components {
|
|
|
601
626
|
compare_at_amount?: number | null;
|
|
602
627
|
/**
|
|
603
628
|
* Interval
|
|
604
|
-
* @description day, week, month, year
|
|
629
|
+
* @description day, week, month, year (for subscription)
|
|
605
630
|
*/
|
|
606
631
|
interval?: string | null;
|
|
607
632
|
/**
|
|
@@ -631,135 +656,11 @@ export interface components {
|
|
|
631
656
|
*/
|
|
632
657
|
requires_payment_method_upfront: boolean;
|
|
633
658
|
};
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
/**
|
|
640
|
-
* Is Standard
|
|
641
|
-
* @description Is this a standard/free plan
|
|
642
|
-
* @default false
|
|
643
|
-
*/
|
|
644
|
-
is_standard: boolean;
|
|
645
|
-
/**
|
|
646
|
-
* Premium Plan Id
|
|
647
|
-
* @description Reference to premium upgrade plan (internal ID)
|
|
648
|
-
*/
|
|
649
|
-
premium_plan_id?: number | null;
|
|
650
|
-
/**
|
|
651
|
-
* For Org Id
|
|
652
|
-
* @description Specific org this plan is for (NULL = available to all)
|
|
653
|
-
*/
|
|
654
|
-
for_org_id?: number | null;
|
|
655
|
-
/**
|
|
656
|
-
* Concurrent Rooms
|
|
657
|
-
* @description Max concurrent virtual rooms allowed
|
|
658
|
-
*/
|
|
659
|
-
concurrent_rooms?: number | null;
|
|
660
|
-
/**
|
|
661
|
-
* Class Duration Minutes
|
|
662
|
-
* @description Max class duration in minutes
|
|
663
|
-
*/
|
|
664
|
-
class_duration_minutes?: number | null;
|
|
665
|
-
/**
|
|
666
|
-
* Attendee Limit
|
|
667
|
-
* @description Max attendees per session
|
|
668
|
-
*/
|
|
669
|
-
attendee_limit?: number | null;
|
|
670
|
-
/**
|
|
671
|
-
* Virtual Classroom Enabled
|
|
672
|
-
* @description Enable virtual classroom features
|
|
673
|
-
* @default true
|
|
674
|
-
*/
|
|
675
|
-
virtual_classroom_enabled: boolean;
|
|
676
|
-
/**
|
|
677
|
-
* Active User Limit
|
|
678
|
-
* @description Max active users allowed
|
|
679
|
-
*/
|
|
680
|
-
active_user_limit?: number | null;
|
|
681
|
-
/**
|
|
682
|
-
* Storage Limit Gb
|
|
683
|
-
* @description Storage limit in GB
|
|
684
|
-
*/
|
|
685
|
-
storage_limit_gb?: number | null;
|
|
686
|
-
/**
|
|
687
|
-
* Bandwidth Gb Per Month
|
|
688
|
-
* @description Monthly bandwidth limit in GB
|
|
689
|
-
*/
|
|
690
|
-
bandwidth_gb_per_month?: number | null;
|
|
691
|
-
/**
|
|
692
|
-
* Status
|
|
693
|
-
* @description active, inactive, archived, deleted
|
|
694
|
-
* @default active
|
|
695
|
-
*/
|
|
696
|
-
status: string;
|
|
697
|
-
};
|
|
698
|
-
ErrorResponse: {
|
|
699
|
-
/** @example about:blank */
|
|
700
|
-
type?: string;
|
|
701
|
-
/** @example GENERIC_ERROR */
|
|
702
|
-
code?: string;
|
|
703
|
-
/** @example Client Error */
|
|
704
|
-
title?: string;
|
|
705
|
-
/** @example 400 */
|
|
706
|
-
status?: number;
|
|
707
|
-
/** @example An error occurred */
|
|
708
|
-
detail?: string;
|
|
709
|
-
/** @example /v1/cart/items */
|
|
710
|
-
instance?: string;
|
|
711
|
-
extensions?: components["schemas"]["Extensions"];
|
|
712
|
-
};
|
|
713
|
-
/**
|
|
714
|
-
* ProductSection
|
|
715
|
-
* @description Base product fields (maps to product_tbl)
|
|
716
|
-
*/
|
|
717
|
-
ProductSection: {
|
|
718
|
-
/**
|
|
719
|
-
* Visibility
|
|
720
|
-
* @description public, private, hidden, unlisted
|
|
721
|
-
* @default public
|
|
722
|
-
*/
|
|
723
|
-
visibility: string;
|
|
724
|
-
/**
|
|
725
|
-
* Is Digital
|
|
726
|
-
* @description Digital product flag
|
|
727
|
-
* @default true
|
|
728
|
-
*/
|
|
729
|
-
is_digital: boolean;
|
|
730
|
-
/**
|
|
731
|
-
* Company Id
|
|
732
|
-
* @description Multi-company support
|
|
733
|
-
*/
|
|
734
|
-
company_id?: number | null;
|
|
735
|
-
/**
|
|
736
|
-
* Status
|
|
737
|
-
* @description draft, published, archived, review_required, deleted
|
|
738
|
-
* @default draft
|
|
739
|
-
*/
|
|
740
|
-
status: string;
|
|
741
|
-
/**
|
|
742
|
-
* Is Org Level
|
|
743
|
-
* @description Org-level vs user-created product
|
|
744
|
-
* @default true
|
|
745
|
-
*/
|
|
746
|
-
is_org_level: boolean;
|
|
747
|
-
/**
|
|
748
|
-
* Staff Id
|
|
749
|
-
* @description Staff/instructor delivering product
|
|
750
|
-
*/
|
|
751
|
-
staff_id?: number | null;
|
|
752
|
-
/**
|
|
753
|
-
* Owner Id
|
|
754
|
-
* @description Owner of the product
|
|
755
|
-
*/
|
|
756
|
-
owner_id?: number | null;
|
|
757
|
-
/**
|
|
758
|
-
* Featured
|
|
759
|
-
* @description Featured product flag
|
|
760
|
-
* @default false
|
|
761
|
-
*/
|
|
762
|
-
featured: boolean;
|
|
659
|
+
InvalidParam: {
|
|
660
|
+
/** @example items[0].quantity */
|
|
661
|
+
field?: string;
|
|
662
|
+
/** @example Input should be greater than or equal to 1 */
|
|
663
|
+
error?: string;
|
|
763
664
|
};
|
|
764
665
|
/**
|
|
765
666
|
* TenantPlanCreateRequest
|
|
@@ -899,17 +800,116 @@ export interface components {
|
|
|
899
800
|
features?: components["schemas"]["TenantPlanFeaturesSection"] | null;
|
|
900
801
|
};
|
|
901
802
|
/**
|
|
902
|
-
*
|
|
903
|
-
* @description
|
|
803
|
+
* TenantPlanFeaturesSection
|
|
804
|
+
* @description Tenant Plan Features - Optional add-ons (maps to tenant_plan_features_tbl)
|
|
904
805
|
*/
|
|
905
|
-
|
|
906
|
-
/** @description Base product price (no variant) */
|
|
907
|
-
product_price?: components["schemas"]["ProductPrice"] | null;
|
|
806
|
+
TenantPlanFeaturesSection: {
|
|
908
807
|
/**
|
|
909
|
-
*
|
|
910
|
-
* @description
|
|
808
|
+
* Products
|
|
809
|
+
* @description Enabled product types: ["session", "webinar", "meeting"]
|
|
911
810
|
*/
|
|
912
|
-
|
|
811
|
+
products?: string[] | null;
|
|
812
|
+
/**
|
|
813
|
+
* Corporate Products
|
|
814
|
+
* @description Corporate product settings
|
|
815
|
+
*/
|
|
816
|
+
corporate_products?: {
|
|
817
|
+
[key: string]: unknown;
|
|
818
|
+
} | null;
|
|
819
|
+
/**
|
|
820
|
+
* Collections
|
|
821
|
+
* @description Enabled collection features
|
|
822
|
+
*/
|
|
823
|
+
collections?: {
|
|
824
|
+
[key: string]: unknown;
|
|
825
|
+
} | null;
|
|
826
|
+
/**
|
|
827
|
+
* Corporate Collections
|
|
828
|
+
* @description Corporate collection settings
|
|
829
|
+
*/
|
|
830
|
+
corporate_collections?: {
|
|
831
|
+
[key: string]: unknown;
|
|
832
|
+
} | null;
|
|
833
|
+
/**
|
|
834
|
+
* Multilingual
|
|
835
|
+
* @description Multilingual settings: {"enabled": true, "languages": ["en-US", "es-ES"]}
|
|
836
|
+
*/
|
|
837
|
+
multilingual?: {
|
|
838
|
+
[key: string]: unknown;
|
|
839
|
+
} | null;
|
|
840
|
+
/**
|
|
841
|
+
* Corporate Multilingual
|
|
842
|
+
* @description Corporate multilingual settings
|
|
843
|
+
*/
|
|
844
|
+
corporate_multilingual?: {
|
|
845
|
+
[key: string]: unknown;
|
|
846
|
+
} | null;
|
|
847
|
+
/**
|
|
848
|
+
* Custom Features
|
|
849
|
+
* @description Additional custom features
|
|
850
|
+
*/
|
|
851
|
+
custom_features?: {
|
|
852
|
+
[key: string]: unknown;
|
|
853
|
+
} | null;
|
|
854
|
+
};
|
|
855
|
+
/**
|
|
856
|
+
* @example {
|
|
857
|
+
* "status": "success",
|
|
858
|
+
* "message": "Operation successful",
|
|
859
|
+
* "message_code": "api_suc_20001",
|
|
860
|
+
* "data": {},
|
|
861
|
+
* "metadata": {
|
|
862
|
+
* "timestamp": "2026-03-26T10:00:00.000Z",
|
|
863
|
+
* "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
|
|
864
|
+
* "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
|
|
865
|
+
* "version": "v1",
|
|
866
|
+
* "executionTime": 42,
|
|
867
|
+
* "language": "en-US"
|
|
868
|
+
* }
|
|
869
|
+
* }
|
|
870
|
+
*/
|
|
871
|
+
StandardResponse: {
|
|
872
|
+
/** @example success */
|
|
873
|
+
status?: string;
|
|
874
|
+
data?: Record<string, never> | null;
|
|
875
|
+
/** @example Operation successful */
|
|
876
|
+
message?: string | null;
|
|
877
|
+
/** @example api_suc_20001 */
|
|
878
|
+
message_code?: string | null;
|
|
879
|
+
metadata?: Record<string, never> | null;
|
|
880
|
+
error?: components["schemas"]["ErrorResponse"];
|
|
881
|
+
};
|
|
882
|
+
/**
|
|
883
|
+
* IdentitySection
|
|
884
|
+
* @description Localized product content (maps to product_identity_tbl)
|
|
885
|
+
*/
|
|
886
|
+
IdentitySection: {
|
|
887
|
+
/**
|
|
888
|
+
* Locale
|
|
889
|
+
* @description Locale: en-US, es-PR, fr-FR, pt-BR, etc.
|
|
890
|
+
* @default en-US
|
|
891
|
+
*/
|
|
892
|
+
locale: string;
|
|
893
|
+
/**
|
|
894
|
+
* Title
|
|
895
|
+
* @description Product title
|
|
896
|
+
*/
|
|
897
|
+
title: string;
|
|
898
|
+
/**
|
|
899
|
+
* Subtitle
|
|
900
|
+
* @description Product subtitle
|
|
901
|
+
*/
|
|
902
|
+
subtitle?: string | null;
|
|
903
|
+
/**
|
|
904
|
+
* Description
|
|
905
|
+
* @description Full product description
|
|
906
|
+
*/
|
|
907
|
+
description?: string | null;
|
|
908
|
+
/**
|
|
909
|
+
* Short Description
|
|
910
|
+
* @description Short description for listings/previews
|
|
911
|
+
*/
|
|
912
|
+
short_description?: string | null;
|
|
913
913
|
};
|
|
914
914
|
};
|
|
915
915
|
responses: never;
|