@blezgo/api-sdk 0.1.2 → 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 +183 -183
  2. package/dist/account/generated.d.ts.map +1 -1
  3. package/dist/activity/generated.d.ts +82 -82
  4. package/dist/activity/generated.d.ts.map +1 -1
  5. package/dist/addon/generated.d.ts +88 -88
  6. package/dist/addon/generated.d.ts.map +1 -1
  7. package/dist/admin/generated.d.ts +42 -42
  8. package/dist/admin/generated.d.ts.map +1 -1
  9. package/dist/affiliate/generated.d.ts +97 -98
  10. package/dist/affiliate/generated.d.ts.map +1 -1
  11. package/dist/analytics/generated.d.ts +27 -27
  12. package/dist/analytics/generated.d.ts.map +1 -1
  13. package/dist/announcements/generated.d.ts +118 -118
  14. package/dist/announcements/generated.d.ts.map +1 -1
  15. package/dist/apikeys/generated.d.ts +46 -46
  16. package/dist/apikeys/generated.d.ts.map +1 -1
  17. package/dist/assistance/generated.d.ts +24 -24
  18. package/dist/assistance/generated.d.ts.map +1 -1
  19. package/dist/authentication/generated.d.ts +73 -73
  20. package/dist/authentication/generated.d.ts.map +1 -1
  21. package/dist/blog/generated.d.ts +142 -142
  22. package/dist/blog/generated.d.ts.map +1 -1
  23. package/dist/bundle/generated.d.ts +124 -124
  24. package/dist/bundle/generated.d.ts.map +1 -1
  25. package/dist/cache/generated.d.ts +32 -32
  26. package/dist/cache/generated.d.ts.map +1 -1
  27. package/dist/calendar/generated.d.ts +59 -59
  28. package/dist/calendar/generated.d.ts.map +1 -1
  29. package/dist/campaigns/generated.d.ts +151 -151
  30. package/dist/campaigns/generated.d.ts.map +1 -1
  31. package/dist/cart/generated.d.ts +41 -41
  32. package/dist/cart/generated.d.ts.map +1 -1
  33. package/dist/changelog/generated.d.ts +90 -90
  34. package/dist/changelog/generated.d.ts.map +1 -1
  35. package/dist/channel/generated.d.ts +256 -256
  36. package/dist/channel/generated.d.ts.map +1 -1
  37. package/dist/company/generated.d.ts +73 -73
  38. package/dist/company/generated.d.ts.map +1 -1
  39. package/dist/conference/generated.d.ts +160 -160
  40. package/dist/conference/generated.d.ts.map +1 -1
  41. package/dist/config/generated.d.ts +57 -57
  42. package/dist/config/generated.d.ts.map +1 -1
  43. package/dist/content/generated.d.ts +620 -620
  44. package/dist/content/generated.d.ts.map +1 -1
  45. package/dist/cookies/generated.d.ts +85 -85
  46. package/dist/cookies/generated.d.ts.map +1 -1
  47. package/dist/courses/generated.d.ts +381 -381
  48. package/dist/courses/generated.d.ts.map +1 -1
  49. package/dist/custom/generated.d.ts +103 -103
  50. package/dist/custom/generated.d.ts.map +1 -1
  51. package/dist/dashboard/generated.d.ts +148 -148
  52. package/dist/dashboard/generated.d.ts.map +1 -1
  53. package/dist/elasticsearch/generated.d.ts +37 -37
  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 +21 -21
  58. package/dist/errors/generated.d.ts.map +1 -1
  59. package/dist/eventconfig/generated.d.ts +88 -88
  60. package/dist/eventconfig/generated.d.ts.map +1 -1
  61. package/dist/funnels/generated.d.ts +124 -125
  62. package/dist/funnels/generated.d.ts.map +1 -1
  63. package/dist/gamification/generated.d.ts +151 -151
  64. package/dist/gamification/generated.d.ts.map +1 -1
  65. package/dist/impersonation/generated.d.ts +33 -33
  66. package/dist/impersonation/generated.d.ts.map +1 -1
  67. package/dist/inbox/generated.d.ts +154 -154
  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 +23 -23
  72. package/dist/internationalization/generated.d.ts.map +1 -1
  73. package/dist/invitations/generated.d.ts +107 -107
  74. package/dist/invitations/generated.d.ts.map +1 -1
  75. package/dist/meetings/generated.d.ts +332 -332
  76. package/dist/meetings/generated.d.ts.map +1 -1
  77. package/dist/metas/generated.d.ts +200 -200
  78. package/dist/metas/generated.d.ts.map +1 -1
  79. package/dist/notification/generated.d.ts +279 -279
  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 +95 -95
  84. package/dist/onboarding/generated.d.ts.map +1 -1
  85. package/dist/packages/generated.d.ts +77 -77
  86. package/dist/packages/generated.d.ts.map +1 -1
  87. package/dist/payments/generated.d.ts +628 -631
  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 +405 -405
  92. package/dist/plans/generated.d.ts.map +1 -1
  93. package/dist/pricing/generated.d.ts +75 -75
  94. package/dist/pricing/generated.d.ts.map +1 -1
  95. package/dist/products/generated.d.ts +420 -420
  96. package/dist/products/generated.d.ts.map +1 -1
  97. package/dist/profile/generated.d.ts +310 -310
  98. package/dist/profile/generated.d.ts.map +1 -1
  99. package/dist/reasons/generated.d.ts +64 -64
  100. package/dist/reasons/generated.d.ts.map +1 -1
  101. package/dist/registration/generated.d.ts +163 -163
  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 +944 -446
  106. package/dist/role/generated.d.ts.map +1 -1
  107. package/dist/scheduling/generated.d.ts +76 -76
  108. package/dist/scheduling/generated.d.ts.map +1 -1
  109. package/dist/services/generated.d.ts +1119 -1119
  110. package/dist/services/generated.d.ts.map +1 -1
  111. package/dist/sessions/generated.d.ts +313 -313
  112. package/dist/sessions/generated.d.ts.map +1 -1
  113. package/dist/spaces/generated.d.ts +340 -340
  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 +1624 -1624
  118. package/dist/support/generated.d.ts.map +1 -1
  119. package/dist/sync/generated.d.ts +176 -176
  120. package/dist/sync/generated.d.ts.map +1 -1
  121. package/dist/tenant/generated.d.ts +487 -487
  122. package/dist/tenant/generated.d.ts.map +1 -1
  123. package/dist/testimonials/generated.d.ts +86 -86
  124. package/dist/testimonials/generated.d.ts.map +1 -1
  125. package/dist/tests/generated.d.ts +456 -456
  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 +65 -65
  130. package/dist/uploads/generated.d.ts.map +1 -1
  131. package/dist/upsell/generated.d.ts +105 -105
  132. package/dist/upsell/generated.d.ts.map +1 -1
  133. package/dist/user/generated.d.ts +272 -527
  134. package/dist/user/generated.d.ts.map +1 -1
  135. package/dist/webinars/generated.d.ts +260 -260
  136. package/dist/webinars/generated.d.ts.map +1 -1
  137. package/package.json +1 -1
  138. package/test-commit.txt +1 -0
@@ -1248,90 +1248,32 @@ export type webhooks = Record<string, never>;
1248
1248
  export interface components {
1249
1249
  schemas: {
1250
1250
  /**
1251
- * ChannelNotificationPreferencesRequest
1252
- * @description PATCH per-channel notification preferences for a conversation.
1253
- *
1254
- * All fields are optional — only provided fields are updated (PATCH semantics).
1255
- * These flags are conversation-scoped; they do not affect broadcasts.
1256
- * Setting is_muted=True via the /mute endpoint still silences all channels.
1257
- * Calling /unmute resets is_muted AND all three channel flags to False.
1258
- */
1259
- ChannelNotificationPreferencesRequest: {
1260
- /**
1261
- * Mute Push
1262
- * @description Suppress push notifications for this conversation
1263
- */
1264
- mute_push?: boolean | null;
1265
- /**
1266
- * Mute Email
1267
- * @description Suppress email notifications for this conversation
1268
- */
1269
- mute_email?: boolean | null;
1270
- /**
1271
- * Mute Sms
1272
- * @description Suppress SMS notifications for this conversation
1273
- */
1274
- mute_sms?: boolean | null;
1275
- };
1276
- /**
1277
- * ConversationCreateRequest
1278
- * @description Create a new conversation (direct, group, or support).
1251
+ * MarkReadRequest
1252
+ * @description Mark conversation as read up to a given message.
1279
1253
  */
1280
- ConversationCreateRequest: {
1281
- /**
1282
- * Conversation Type
1283
- * @description direct, group, or support
1284
- */
1285
- conversation_type: string;
1286
- /**
1287
- * Title
1288
- * @description Required for group; omit for direct
1289
- */
1290
- title?: string | null;
1254
+ MarkReadRequest: {
1291
1255
  /**
1292
- * Participant Ids
1293
- * @description User IDs to add as participants (internal IDs)
1256
+ * Last Read Message Id
1257
+ * @description external_id of the last message the user has read (msg_xxx)
1294
1258
  */
1295
- participant_ids: number[];
1259
+ last_read_message_id: string;
1296
1260
  };
1297
1261
  /**
1298
- * BroadcastCreateRequest
1299
- * @description Admin: send a broadcast message to a targeted set of users.
1262
+ * MessageEditRequest
1263
+ * @description Edit a message body (sender only, within 15-minute window).
1300
1264
  */
1301
- BroadcastCreateRequest: {
1302
- /**
1303
- * Title
1304
- * @description Broadcast conversation title
1305
- */
1306
- title: string;
1265
+ MessageEditRequest: {
1307
1266
  /**
1308
1267
  * Body
1309
- * @description Message body — Markdown
1268
+ * @description New message body — Markdown
1310
1269
  */
1311
1270
  body: string;
1312
- /** @description At least one targeting dimension required */
1313
- target: components["schemas"]["BroadcastTarget"];
1314
- };
1315
- /**
1316
- * BroadcastTarget
1317
- * @description Targeting dimensions for a broadcast message. At least one must be non-empty.
1318
- */
1319
- BroadcastTarget: {
1320
- /**
1321
- * Roles
1322
- * @description Target users with any of these roles
1323
- */
1324
- roles?: string[] | null;
1325
- /**
1326
- * Course Ids
1327
- * @description Target users enrolled in any of these courses (external_ids)
1328
- */
1329
- course_ids?: string[] | null;
1330
1271
  /**
1331
- * User Ids
1332
- * @description Target specific users by internal ID
1272
+ * Body Format
1273
+ * @description markdown or plain
1274
+ * @default markdown
1333
1275
  */
1334
- user_ids?: number[] | null;
1276
+ body_format: string;
1335
1277
  };
1336
1278
  /**
1337
1279
  * AttachmentUploadUrlRequest
@@ -1351,57 +1293,27 @@ export interface components {
1351
1293
  */
1352
1294
  file_size_bytes: number;
1353
1295
  };
1296
+ InvalidParam: {
1297
+ /** @example items[0].quantity */
1298
+ field?: string;
1299
+ /** @example Input should be greater than or equal to 1 */
1300
+ error?: string;
1301
+ };
1354
1302
  /**
1355
- * MessageSendRequest
1356
- * @description Send a message in a conversation.
1303
+ * SupportConversationUpdateRequest
1304
+ * @description Admin: update support_status or assigned_to on a support conversation.
1357
1305
  */
1358
- MessageSendRequest: {
1359
- /**
1360
- * Body
1361
- * @description Message body — Markdown. Required if no attachment_ids.
1362
- */
1363
- body?: string | null;
1364
- /**
1365
- * Body Format
1366
- * @description markdown or plain
1367
- * @default markdown
1368
- */
1369
- body_format: string;
1370
- /**
1371
- * Parent Message Id
1372
- * @description external_id of parent message for thread reply
1373
- */
1374
- parent_message_id?: string | null;
1375
- /**
1376
- * Attachment Ids
1377
- * @description List of attachment external_ids (att_xxx) to attach
1378
- */
1379
- attachment_ids?: string[] | null;
1306
+ SupportConversationUpdateRequest: {
1380
1307
  /**
1381
- * Idempotency Key
1382
- * @description Client-generated dedup key
1308
+ * Support Status
1309
+ * @description open, in_progress, closed
1383
1310
  */
1384
- idempotency_key?: string | null;
1385
- };
1386
- /**
1387
- * MarkReadRequest
1388
- * @description Mark conversation as read up to a given message.
1389
- */
1390
- MarkReadRequest: {
1311
+ support_status?: string | null;
1391
1312
  /**
1392
- * Last Read Message Id
1393
- * @description external_id of the last message the user has read (msg_xxx)
1313
+ * Assigned To
1314
+ * @description Internal user ID of the staff member
1394
1315
  */
1395
- last_read_message_id: string;
1396
- };
1397
- Extensions: {
1398
- /** @example GENERIC_ERROR */
1399
- message_code?: string;
1400
- /** @example [] */
1401
- invalid_params?: components["schemas"]["InvalidParam"][];
1402
- extra_data?: Record<string, never> | null;
1403
- /** @example Detailed debug information */
1404
- debug?: string | null;
1316
+ assigned_to?: number | null;
1405
1317
  };
1406
1318
  /**
1407
1319
  * @example {
@@ -1431,21 +1343,108 @@ export interface components {
1431
1343
  error?: components["schemas"]["ErrorResponse"];
1432
1344
  };
1433
1345
  /**
1434
- * MessageEditRequest
1435
- * @description Edit a message body (sender only, within 15-minute window).
1346
+ * BroadcastTarget
1347
+ * @description Targeting dimensions for a broadcast message. At least one must be non-empty.
1436
1348
  */
1437
- MessageEditRequest: {
1349
+ BroadcastTarget: {
1350
+ /**
1351
+ * Roles
1352
+ * @description Target users with any of these roles
1353
+ */
1354
+ roles?: string[] | null;
1355
+ /**
1356
+ * Course Ids
1357
+ * @description Target users enrolled in any of these courses (external_ids)
1358
+ */
1359
+ course_ids?: string[] | null;
1360
+ /**
1361
+ * User Ids
1362
+ * @description Target specific users by internal ID
1363
+ */
1364
+ user_ids?: number[] | null;
1365
+ };
1366
+ /**
1367
+ * ChannelNotificationPreferencesRequest
1368
+ * @description PATCH per-channel notification preferences for a conversation.
1369
+ *
1370
+ * All fields are optional — only provided fields are updated (PATCH semantics).
1371
+ * These flags are conversation-scoped; they do not affect broadcasts.
1372
+ * Setting is_muted=True via the /mute endpoint still silences all channels.
1373
+ * Calling /unmute resets is_muted AND all three channel flags to False.
1374
+ */
1375
+ ChannelNotificationPreferencesRequest: {
1376
+ /**
1377
+ * Mute Push
1378
+ * @description Suppress push notifications for this conversation
1379
+ */
1380
+ mute_push?: boolean | null;
1381
+ /**
1382
+ * Mute Email
1383
+ * @description Suppress email notifications for this conversation
1384
+ */
1385
+ mute_email?: boolean | null;
1386
+ /**
1387
+ * Mute Sms
1388
+ * @description Suppress SMS notifications for this conversation
1389
+ */
1390
+ mute_sms?: boolean | null;
1391
+ };
1392
+ /**
1393
+ * BroadcastCreateRequest
1394
+ * @description Admin: send a broadcast message to a targeted set of users.
1395
+ */
1396
+ BroadcastCreateRequest: {
1397
+ /**
1398
+ * Title
1399
+ * @description Broadcast conversation title
1400
+ */
1401
+ title: string;
1438
1402
  /**
1439
1403
  * Body
1440
- * @description New message body — Markdown
1404
+ * @description Message body — Markdown
1441
1405
  */
1442
1406
  body: string;
1407
+ /** @description At least one targeting dimension required */
1408
+ target: components["schemas"]["BroadcastTarget"];
1409
+ };
1410
+ /**
1411
+ * ConversationUpdateRequest
1412
+ * @description Update conversation title or participant list.
1413
+ */
1414
+ ConversationUpdateRequest: {
1415
+ /** Title */
1416
+ title?: string | null;
1443
1417
  /**
1444
- * Body Format
1445
- * @description markdown or plain
1446
- * @default markdown
1418
+ * Add Participant Ids
1419
+ * @description Add these user IDs
1447
1420
  */
1448
- body_format: string;
1421
+ add_participant_ids?: number[] | null;
1422
+ /**
1423
+ * Remove Participant Ids
1424
+ * @description Remove these user IDs
1425
+ */
1426
+ remove_participant_ids?: number[] | null;
1427
+ };
1428
+ /**
1429
+ * ConversationCreateRequest
1430
+ * @description Create a new conversation (direct, group, or support).
1431
+ */
1432
+ ConversationCreateRequest: {
1433
+ /**
1434
+ * Conversation Type
1435
+ * @description direct, group, or support
1436
+ */
1437
+ conversation_type: string;
1438
+ /**
1439
+ * Title
1440
+ * @description Required for group; omit for direct
1441
+ */
1442
+ title?: string | null;
1443
+ /**
1444
+ * Participant Ids
1445
+ * @description User IDs to add as participants (internal IDs)
1446
+ */
1447
+ participant_ids: number[];
1449
1448
  };
1450
1449
  ErrorResponse: {
1451
1450
  /** @example about:blank */
@@ -1462,45 +1461,46 @@ export interface components {
1462
1461
  instance?: string;
1463
1462
  extensions?: components["schemas"]["Extensions"];
1464
1463
  };
1464
+ Extensions: {
1465
+ /** @example GENERIC_ERROR */
1466
+ message_code?: string;
1467
+ /** @example [] */
1468
+ invalid_params?: components["schemas"]["InvalidParam"][];
1469
+ extra_data?: Record<string, never> | null;
1470
+ /** @example Detailed debug information */
1471
+ debug?: string | null;
1472
+ };
1465
1473
  /**
1466
- * ConversationUpdateRequest
1467
- * @description Update conversation title or participant list.
1474
+ * MessageSendRequest
1475
+ * @description Send a message in a conversation.
1468
1476
  */
1469
- ConversationUpdateRequest: {
1470
- /** Title */
1471
- title?: string | null;
1477
+ MessageSendRequest: {
1472
1478
  /**
1473
- * Add Participant Ids
1474
- * @description Add these user IDs
1479
+ * Body
1480
+ * @description Message body Markdown. Required if no attachment_ids.
1475
1481
  */
1476
- add_participant_ids?: number[] | null;
1482
+ body?: string | null;
1477
1483
  /**
1478
- * Remove Participant Ids
1479
- * @description Remove these user IDs
1484
+ * Body Format
1485
+ * @description markdown or plain
1486
+ * @default markdown
1480
1487
  */
1481
- remove_participant_ids?: number[] | null;
1482
- };
1483
- InvalidParam: {
1484
- /** @example items[0].quantity */
1485
- field?: string;
1486
- /** @example Input should be greater than or equal to 1 */
1487
- error?: string;
1488
- };
1489
- /**
1490
- * SupportConversationUpdateRequest
1491
- * @description Admin: update support_status or assigned_to on a support conversation.
1492
- */
1493
- SupportConversationUpdateRequest: {
1488
+ body_format: string;
1494
1489
  /**
1495
- * Support Status
1496
- * @description open, in_progress, closed
1490
+ * Parent Message Id
1491
+ * @description external_id of parent message for thread reply
1497
1492
  */
1498
- support_status?: string | null;
1493
+ parent_message_id?: string | null;
1499
1494
  /**
1500
- * Assigned To
1501
- * @description Internal user ID of the staff member
1495
+ * Attachment Ids
1496
+ * @description List of attachment external_ids (att_xxx) to attach
1502
1497
  */
1503
- assigned_to?: number | null;
1498
+ attachment_ids?: string[] | null;
1499
+ /**
1500
+ * Idempotency Key
1501
+ * @description Client-generated dedup key
1502
+ */
1503
+ idempotency_key?: string | null;
1504
1504
  };
1505
1505
  };
1506
1506
  responses: never;