@iblai/iblai-api 3.45.9-ai-plus → 3.45.10-ai

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 (104) hide show
  1. package/dist/index.cjs.js +230 -1566
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +231 -1565
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +230 -1566
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +1 -44
  8. package/dist/types/models/PlatformSkillPointResponse.d.ts +2 -2
  9. package/dist/types/models/{VoiceProviderEnum.d.ts → ProviderEnum.d.ts} +1 -1
  10. package/dist/types/models/Voice.d.ts +2 -2
  11. package/dist/types/services/CatalogService.d.ts +13 -17
  12. package/package.json +1 -1
  13. package/src/core/OpenAPI.ts +1 -1
  14. package/src/index.ts +1 -44
  15. package/src/models/PlatformSkillPointResponse.ts +2 -2
  16. package/src/models/{VoiceProviderEnum.ts → ProviderEnum.ts} +1 -1
  17. package/src/models/Voice.ts +2 -2
  18. package/src/services/CatalogService.ts +13 -17
  19. package/dist/types/models/BlockSkillPointInfoResponse.d.ts +0 -10
  20. package/dist/types/models/Bot.d.ts +0 -15
  21. package/dist/types/models/BotCommand.d.ts +0 -6
  22. package/dist/types/models/BotCreate.d.ts +0 -12
  23. package/dist/types/models/CourseCompletionCatalogResponse.d.ts +0 -11
  24. package/dist/types/models/CourseSkillPointInfoResponse.d.ts +0 -10
  25. package/dist/types/models/DataSet.d.ts +0 -21
  26. package/dist/types/models/DataSetCreate.d.ts +0 -12
  27. package/dist/types/models/DataSetStatusEnum.d.ts +0 -12
  28. package/dist/types/models/DiscordConfig.d.ts +0 -7
  29. package/dist/types/models/DiscordUserConfig.d.ts +0 -10
  30. package/dist/types/models/DiscordWebhook.d.ts +0 -6
  31. package/dist/types/models/PaginatedDataSetList.d.ts +0 -7
  32. package/dist/types/models/PaginatedTrainingList.d.ts +0 -7
  33. package/dist/types/models/PatchedBotCommand.d.ts +0 -6
  34. package/dist/types/models/PatchedBotCreate.d.ts +0 -12
  35. package/dist/types/models/PatchedDataSet.d.ts +0 -21
  36. package/dist/types/models/PatchedDiscordConfig.d.ts +0 -7
  37. package/dist/types/models/PatchedDiscordUserConfig.d.ts +0 -10
  38. package/dist/types/models/PatchedSlackConfig.d.ts +0 -8
  39. package/dist/types/models/PatchedSlackUserConfig.d.ts +0 -17
  40. package/dist/types/models/PatchedTeamsConfig.d.ts +0 -7
  41. package/dist/types/models/PatchedTrainingCreate.d.ts +0 -31
  42. package/dist/types/models/PatchedWebexConfig.d.ts +0 -10
  43. package/dist/types/models/PatchedWhatsappConfig.d.ts +0 -11
  44. package/dist/types/models/PatchedWhatsappUserConfig.d.ts +0 -10
  45. package/dist/types/models/Provider05cEnum.d.ts +0 -14
  46. package/dist/types/models/Provider63aEnum.d.ts +0 -6
  47. package/dist/types/models/SlackConfig.d.ts +0 -8
  48. package/dist/types/models/SlackUserConfig.d.ts +0 -17
  49. package/dist/types/models/SlackWebhook.d.ts +0 -6
  50. package/dist/types/models/TeamsConfig.d.ts +0 -7
  51. package/dist/types/models/TeamsWebhook.d.ts +0 -17
  52. package/dist/types/models/Training.d.ts +0 -41
  53. package/dist/types/models/TrainingCreate.d.ts +0 -31
  54. package/dist/types/models/UserSkillPointInfoResponse.d.ts +0 -10
  55. package/dist/types/models/WebexConfig.d.ts +0 -10
  56. package/dist/types/models/WebexWebhook.d.ts +0 -4
  57. package/dist/types/models/WhatAppWebHook.d.ts +0 -3
  58. package/dist/types/models/WhatsappConfig.d.ts +0 -11
  59. package/dist/types/models/WhatsappUserConfig.d.ts +0 -10
  60. package/dist/types/services/AiBotService.d.ts +0 -486
  61. package/dist/types/services/AiFinetuningService.d.ts +0 -162
  62. package/src/models/BlockSkillPointInfoResponse.ts +0 -15
  63. package/src/models/Bot.ts +0 -20
  64. package/src/models/BotCommand.ts +0 -11
  65. package/src/models/BotCreate.ts +0 -17
  66. package/src/models/CourseCompletionCatalogResponse.ts +0 -16
  67. package/src/models/CourseSkillPointInfoResponse.ts +0 -15
  68. package/src/models/DataSet.ts +0 -26
  69. package/src/models/DataSetCreate.ts +0 -17
  70. package/src/models/DataSetStatusEnum.ts +0 -16
  71. package/src/models/DiscordConfig.ts +0 -12
  72. package/src/models/DiscordUserConfig.ts +0 -15
  73. package/src/models/DiscordWebhook.ts +0 -11
  74. package/src/models/PaginatedDataSetList.ts +0 -12
  75. package/src/models/PaginatedTrainingList.ts +0 -12
  76. package/src/models/PatchedBotCommand.ts +0 -11
  77. package/src/models/PatchedBotCreate.ts +0 -17
  78. package/src/models/PatchedDataSet.ts +0 -26
  79. package/src/models/PatchedDiscordConfig.ts +0 -12
  80. package/src/models/PatchedDiscordUserConfig.ts +0 -15
  81. package/src/models/PatchedSlackConfig.ts +0 -13
  82. package/src/models/PatchedSlackUserConfig.ts +0 -22
  83. package/src/models/PatchedTeamsConfig.ts +0 -12
  84. package/src/models/PatchedTrainingCreate.ts +0 -36
  85. package/src/models/PatchedWebexConfig.ts +0 -15
  86. package/src/models/PatchedWhatsappConfig.ts +0 -16
  87. package/src/models/PatchedWhatsappUserConfig.ts +0 -15
  88. package/src/models/Provider05cEnum.ts +0 -18
  89. package/src/models/Provider63aEnum.ts +0 -10
  90. package/src/models/SlackConfig.ts +0 -13
  91. package/src/models/SlackUserConfig.ts +0 -22
  92. package/src/models/SlackWebhook.ts +0 -11
  93. package/src/models/TeamsConfig.ts +0 -12
  94. package/src/models/TeamsWebhook.ts +0 -22
  95. package/src/models/Training.ts +0 -46
  96. package/src/models/TrainingCreate.ts +0 -36
  97. package/src/models/UserSkillPointInfoResponse.ts +0 -15
  98. package/src/models/WebexConfig.ts +0 -15
  99. package/src/models/WebexWebhook.ts +0 -9
  100. package/src/models/WhatAppWebHook.ts +0 -8
  101. package/src/models/WhatsappConfig.ts +0 -16
  102. package/src/models/WhatsappUserConfig.ts +0 -15
  103. package/src/services/AiBotService.ts +0 -1174
  104. package/src/services/AiFinetuningService.ts +0 -402
package/src/index.ts CHANGED
@@ -48,10 +48,6 @@ export { BlankEnum } from './models/BlankEnum';
48
48
  export type { BlankPlatformInvitationCreate } from './models/BlankPlatformInvitationCreate';
49
49
  export type { BlankProgramInvitationCreate } from './models/BlankProgramInvitationCreate';
50
50
  export type { BlockSkillPointInfoRequest } from './models/BlockSkillPointInfoRequest';
51
- export type { BlockSkillPointInfoResponse } from './models/BlockSkillPointInfoResponse';
52
- export type { Bot } from './models/Bot';
53
- export type { BotCommand } from './models/BotCommand';
54
- export type { BotCreate } from './models/BotCreate';
55
51
  export type { BulkCourseInvitationCreate } from './models/BulkCourseInvitationCreate';
56
52
  export type { BulkCourseInvitationResponse } from './models/BulkCourseInvitationResponse';
57
53
  export type { BulkCreateAssertion } from './models/BulkCreateAssertion';
@@ -97,7 +93,6 @@ export type { CourseAccessRequestDetail } from './models/CourseAccessRequestDeta
97
93
  export type { CourseAccessRequestStatusResponse } from './models/CourseAccessRequestStatusResponse';
98
94
  export type { CourseAccessRequestUpdate } from './models/CourseAccessRequestUpdate';
99
95
  export type { CourseCompletion } from './models/CourseCompletion';
100
- export type { CourseCompletionCatalogResponse } from './models/CourseCompletionCatalogResponse';
101
96
  export type { CourseCompletionPerCourse } from './models/CourseCompletionPerCourse';
102
97
  export type { CourseCompletionPerCourseData } from './models/CourseCompletionPerCourseData';
103
98
  export type { CourseCompletionSummaryDataOvertime } from './models/CourseCompletionSummaryDataOvertime';
@@ -135,7 +130,6 @@ export type { CourseReviewRequest } from './models/CourseReviewRequest';
135
130
  export type { CourseReviewResponse } from './models/CourseReviewResponse';
136
131
  export type { CourseSkill } from './models/CourseSkill';
137
132
  export type { CourseSkillPointInfoRequest } from './models/CourseSkillPointInfoRequest';
138
- export type { CourseSkillPointInfoResponse } from './models/CourseSkillPointInfoResponse';
139
133
  export type { CourseSuggestionBulkCreate } from './models/CourseSuggestionBulkCreate';
140
134
  export type { CourseSuggestionCreate } from './models/CourseSuggestionCreate';
141
135
  export type { CourseSuggestionDetail } from './models/CourseSuggestionDetail';
@@ -143,9 +137,6 @@ export type { Credential } from './models/Credential';
143
137
  export type { CredentialRequest } from './models/CredentialRequest';
144
138
  export type { CrontabSchedule } from './models/CrontabSchedule';
145
139
  export type { CustomInstructionResponse } from './models/CustomInstructionResponse';
146
- export type { DataSet } from './models/DataSet';
147
- export type { DataSetCreate } from './models/DataSetCreate';
148
- export { DataSetStatusEnum } from './models/DataSetStatusEnum';
149
140
  export type { DateRange } from './models/DateRange';
150
141
  export type { DesiredRole } from './models/DesiredRole';
151
142
  export type { DesiredRoleCreateUpdateRequest } from './models/DesiredRoleCreateUpdateRequest';
@@ -154,9 +145,6 @@ export type { DesiredSkillCreateUpdateRequest } from './models/DesiredSkillCreat
154
145
  export type { DetailedGradeSubsection } from './models/DetailedGradeSubsection';
155
146
  export type { DetailedGradeView } from './models/DetailedGradeView';
156
147
  export type { DetailedGradeViewData } from './models/DetailedGradeViewData';
157
- export type { DiscordConfig } from './models/DiscordConfig';
158
- export type { DiscordUserConfig } from './models/DiscordUserConfig';
159
- export type { DiscordWebhook } from './models/DiscordWebhook';
160
148
  export type { Document } from './models/Document';
161
149
  export type { DocumentFacet } from './models/DocumentFacet';
162
150
  export type { DocumentSearchResponse } from './models/DocumentSearchResponse';
@@ -310,7 +298,6 @@ export type { PaginatedCourseLicense } from './models/PaginatedCourseLicense';
310
298
  export type { PaginatedCourseLicenseAssignment } from './models/PaginatedCourseLicenseAssignment';
311
299
  export type { PaginatedCourseLicenseGroupAssignment } from './models/PaginatedCourseLicenseGroupAssignment';
312
300
  export type { PaginatedCourseSuggestion } from './models/PaginatedCourseSuggestion';
313
- export type { PaginatedDataSetList } from './models/PaginatedDataSetList';
314
301
  export type { PaginatedEdxCourseList } from './models/PaginatedEdxCourseList';
315
302
  export type { PaginatedEmailPromptListList } from './models/PaginatedEmailPromptListList';
316
303
  export type { PaginatedHeygenMarketingVideoListList } from './models/PaginatedHeygenMarketingVideoListList';
@@ -336,7 +323,6 @@ export type { PaginatedSectionList } from './models/PaginatedSectionList';
336
323
  export type { PaginatedSkill } from './models/PaginatedSkill';
337
324
  export type { PaginatedSubSectionList } from './models/PaginatedSubSectionList';
338
325
  export type { PaginatedTopicStatisticsResponse } from './models/PaginatedTopicStatisticsResponse';
339
- export type { PaginatedTrainingList } from './models/PaginatedTrainingList';
340
326
  export type { PaginatedUnitList } from './models/PaginatedUnitList';
341
327
  export type { PaginatedUserAppList } from './models/PaginatedUserAppList';
342
328
  export type { PaginatedUserEdxMemoryList } from './models/PaginatedUserEdxMemoryList';
@@ -345,14 +331,9 @@ export type { PaginatedUserLicenseAssignment } from './models/PaginatedUserLicen
345
331
  export type { PaginatedUserLicenseGroupAssignment } from './models/PaginatedUserLicenseGroupAssignment';
346
332
  export type { PaginatedVoiceList } from './models/PaginatedVoiceList';
347
333
  export type { Pagination } from './models/Pagination';
348
- export type { PatchedBotCommand } from './models/PatchedBotCommand';
349
- export type { PatchedBotCreate } from './models/PatchedBotCreate';
350
334
  export type { PatchedConversations } from './models/PatchedConversations';
351
335
  export type { PatchedCourseCreationTaskFile } from './models/PatchedCourseCreationTaskFile';
352
336
  export type { PatchedCredentialRequest } from './models/PatchedCredentialRequest';
353
- export type { PatchedDataSet } from './models/PatchedDataSet';
354
- export type { PatchedDiscordConfig } from './models/PatchedDiscordConfig';
355
- export type { PatchedDiscordUserConfig } from './models/PatchedDiscordUserConfig';
356
337
  export type { PatchedLLMCredentialRequest } from './models/PatchedLLMCredentialRequest';
357
338
  export type { PatchedMCPServer } from './models/PatchedMCPServer';
358
339
  export type { PatchedMediaResource } from './models/PatchedMediaResource';
@@ -365,15 +346,8 @@ export type { PatchedPlayWrightScript } from './models/PatchedPlayWrightScript';
365
346
  export type { PatchedPrompt } from './models/PatchedPrompt';
366
347
  export type { PatchedSection } from './models/PatchedSection';
367
348
  export type { PatchedSkillThreshold } from './models/PatchedSkillThreshold';
368
- export type { PatchedSlackConfig } from './models/PatchedSlackConfig';
369
- export type { PatchedSlackUserConfig } from './models/PatchedSlackUserConfig';
370
349
  export type { PatchedSubSection } from './models/PatchedSubSection';
371
- export type { PatchedTeamsConfig } from './models/PatchedTeamsConfig';
372
- export type { PatchedTrainingCreate } from './models/PatchedTrainingCreate';
373
350
  export type { PatchedUnit } from './models/PatchedUnit';
374
- export type { PatchedWebexConfig } from './models/PatchedWebexConfig';
375
- export type { PatchedWhatsappConfig } from './models/PatchedWhatsappConfig';
376
- export type { PatchedWhatsappUserConfig } from './models/PatchedWhatsappUserConfig';
377
351
  export type { Pathway } from './models/Pathway';
378
352
  export type { PathwayCompletionResponse } from './models/PathwayCompletionResponse';
379
353
  export type { PathwayCreateUpdateRequest } from './models/PathwayCreateUpdateRequest';
@@ -476,8 +450,7 @@ export { ProgramTypeEnum } from './models/ProgramTypeEnum';
476
450
  export type { Prompt } from './models/Prompt';
477
451
  export type { PromptCategory } from './models/PromptCategory';
478
452
  export { PromptVisibilityEnum } from './models/PromptVisibilityEnum';
479
- export { Provider05cEnum } from './models/Provider05cEnum';
480
- export { Provider63aEnum } from './models/Provider63aEnum';
453
+ export { ProviderEnum } from './models/ProviderEnum';
481
454
  export type { QuestionCardTag } from './models/QuestionCardTag';
482
455
  export type { QuestionRequest } from './models/QuestionRequest';
483
456
  export type { QuestionResponse } from './models/QuestionResponse';
@@ -540,9 +513,6 @@ export type { SkillCreateUpdateRequest } from './models/SkillCreateUpdateRequest
540
513
  export type { SkillDetail } from './models/SkillDetail';
541
514
  export type { SkillInfo } from './models/SkillInfo';
542
515
  export type { SkillThreshold } from './models/SkillThreshold';
543
- export type { SlackConfig } from './models/SlackConfig';
544
- export type { SlackUserConfig } from './models/SlackUserConfig';
545
- export type { SlackWebhook } from './models/SlackWebhook';
546
516
  export type { SpacedRepetitionLearningPath } from './models/SpacedRepetitionLearningPath';
547
517
  export type { SpacedRepetitionQuestionStats } from './models/SpacedRepetitionQuestionStats';
548
518
  export type { StarMentor } from './models/StarMentor';
@@ -566,8 +536,6 @@ export type { Summary } from './models/Summary';
566
536
  export type { TagsView } from './models/TagsView';
567
537
  export { TargetSystemEnum } from './models/TargetSystemEnum';
568
538
  export type { TaskView } from './models/TaskView';
569
- export type { TeamsConfig } from './models/TeamsConfig';
570
- export type { TeamsWebhook } from './models/TeamsWebhook';
571
539
  export type { TemplateMentor } from './models/TemplateMentor';
572
540
  export type { TenantLaunchError } from './models/TenantLaunchError';
573
541
  export type { TenantLaunchFailed } from './models/TenantLaunchFailed';
@@ -601,8 +569,6 @@ export type { TrainChatSessionDocumentView } from './models/TrainChatSessionDocu
601
569
  export type { TrainChatSessionDocumentViewRequest } from './models/TrainChatSessionDocumentViewRequest';
602
570
  export type { TrainDocumentViewRequest } from './models/TrainDocumentViewRequest';
603
571
  export type { TrainDocumentViewResponse } from './models/TrainDocumentViewResponse';
604
- export type { Training } from './models/Training';
605
- export type { TrainingCreate } from './models/TrainingCreate';
606
572
  export { TrainingStatusEnum } from './models/TrainingStatusEnum';
607
573
  export { TransportEnum } from './models/TransportEnum';
608
574
  export type { TrendEntry } from './models/TrendEntry';
@@ -650,7 +616,6 @@ export type { UserSearchResponse } from './models/UserSearchResponse';
650
616
  export type { UserSearchViewGetResponse } from './models/UserSearchViewGetResponse';
651
617
  export type { UserSentimentCountView } from './models/UserSentimentCountView';
652
618
  export type { UserSkill } from './models/UserSkill';
653
- export type { UserSkillPointInfoResponse } from './models/UserSkillPointInfoResponse';
654
619
  export type { UserSkillPointsPercentile } from './models/UserSkillPointsPercentile';
655
620
  export type { UserTrendByPeriod } from './models/UserTrendByPeriod';
656
621
  export type { ValidateSourceResponse } from './models/ValidateSourceResponse';
@@ -672,25 +637,17 @@ export type { VideosSpecificCourse } from './models/VideosSpecificCourse';
672
637
  export type { VideosSpecificCourseData } from './models/VideosSpecificCourseData';
673
638
  export type { VideosWatchedSubSection } from './models/VideosWatchedSubSection';
674
639
  export type { Voice } from './models/Voice';
675
- export { VoiceProviderEnum } from './models/VoiceProviderEnum';
676
640
  export type { WatchedVideosPerCourse } from './models/WatchedVideosPerCourse';
677
641
  export type { WatchedVideosPerCourseData } from './models/WatchedVideosPerCourseData';
678
642
  export type { WatchedVideosPerUser } from './models/WatchedVideosPerUser';
679
643
  export type { WatchedVideosPerUserData } from './models/WatchedVideosPerUserData';
680
- export type { WebexConfig } from './models/WebexConfig';
681
- export type { WebexWebhook } from './models/WebexWebhook';
682
644
  export type { WebResource } from './models/WebResource';
683
645
  export type { WebResourceCard } from './models/WebResourceCard';
684
646
  export type { WebResourcesQuery } from './models/WebResourcesQuery';
685
- export type { WhatAppWebHook } from './models/WhatAppWebHook';
686
- export type { WhatsappConfig } from './models/WhatsappConfig';
687
- export type { WhatsappUserConfig } from './models/WhatsappUserConfig';
688
647
  export type { WhitelistedDomain } from './models/WhitelistedDomain';
689
648
 
690
649
  export { AiAccountService } from './services/AiAccountService';
691
650
  export { AiAnalyticsService } from './services/AiAnalyticsService';
692
- export { AiBotService } from './services/AiBotService';
693
- export { AiFinetuningService } from './services/AiFinetuningService';
694
651
  export { AiIndexService } from './services/AiIndexService';
695
652
  export { AiMarketingService } from './services/AiMarketingService';
696
653
  export { AiMediaService } from './services/AiMediaService';
@@ -17,10 +17,10 @@ export type PlatformSkillPointResponse = {
17
17
  /**
18
18
  * URL for next page of results
19
19
  */
20
- next: string | null;
20
+ next_page: string | null;
21
21
  /**
22
22
  * URL for previous page of results
23
23
  */
24
- previous: string | null;
24
+ previous_page: string | null;
25
25
  };
26
26
 
@@ -7,7 +7,7 @@
7
7
  * * `google` - Google
8
8
  * * `elevenlabs` - Elevenlabs
9
9
  */
10
- export enum VoiceProviderEnum {
10
+ export enum ProviderEnum {
11
11
  OPENAI = 'openai',
12
12
  GOOGLE = 'google',
13
13
  ELEVENLABS = 'elevenlabs',
@@ -2,11 +2,11 @@
2
2
  /* istanbul ignore file */
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
- import type { VoiceProviderEnum } from './VoiceProviderEnum';
5
+ import type { ProviderEnum } from './ProviderEnum';
6
6
  export type Voice = {
7
7
  readonly id: number;
8
8
  name: string;
9
- provider: VoiceProviderEnum;
9
+ provider: ProviderEnum;
10
10
  language?: string;
11
11
  description?: string;
12
12
  readonly audio_url: string;
@@ -6,7 +6,6 @@ import type { BlankCourseInvitationCreate } from '../models/BlankCourseInvitatio
6
6
  import type { BlankPlatformInvitationCreate } from '../models/BlankPlatformInvitationCreate';
7
7
  import type { BlankProgramInvitationCreate } from '../models/BlankProgramInvitationCreate';
8
8
  import type { BlockSkillPointInfoRequest } from '../models/BlockSkillPointInfoRequest';
9
- import type { BlockSkillPointInfoResponse } from '../models/BlockSkillPointInfoResponse';
10
9
  import type { BulkCourseInvitationCreate } from '../models/BulkCourseInvitationCreate';
11
10
  import type { BulkCourseInvitationResponse } from '../models/BulkCourseInvitationResponse';
12
11
  import type { BulkPlatformInvitationCreate } from '../models/BulkPlatformInvitationCreate';
@@ -22,7 +21,6 @@ import type { CourseAccessRequestDetail } from '../models/CourseAccessRequestDet
22
21
  import type { CourseAccessRequestStatusResponse } from '../models/CourseAccessRequestStatusResponse';
23
22
  import type { CourseAccessRequestUpdate } from '../models/CourseAccessRequestUpdate';
24
23
  import type { CourseCompletion } from '../models/CourseCompletion';
25
- import type { CourseCompletionCatalogResponse } from '../models/CourseCompletionCatalogResponse';
26
24
  import type { CourseCreateUpdate } from '../models/CourseCreateUpdate';
27
25
  import type { CourseDeleteResponse } from '../models/CourseDeleteResponse';
28
26
  import type { CourseEnrollmentSearchResponse } from '../models/CourseEnrollmentSearchResponse';
@@ -45,7 +43,6 @@ import type { CourseReviewPaginatedResponse } from '../models/CourseReviewPagina
45
43
  import type { CourseReviewRequest } from '../models/CourseReviewRequest';
46
44
  import type { CourseReviewResponse } from '../models/CourseReviewResponse';
47
45
  import type { CourseSkillPointInfoRequest } from '../models/CourseSkillPointInfoRequest';
48
- import type { CourseSkillPointInfoResponse } from '../models/CourseSkillPointInfoResponse';
49
46
  import type { CourseSuggestionBulkCreate } from '../models/CourseSuggestionBulkCreate';
50
47
  import type { CourseSuggestionCreate } from '../models/CourseSuggestionCreate';
51
48
  import type { CourseSuggestionDetail } from '../models/CourseSuggestionDetail';
@@ -146,7 +143,6 @@ import type { UserLicenseDetail } from '../models/UserLicenseDetail';
146
143
  import type { UserLicenseGroupAssignmentCreate } from '../models/UserLicenseGroupAssignmentCreate';
147
144
  import type { UserLicenseGroupAssignmentDetail } from '../models/UserLicenseGroupAssignmentDetail';
148
145
  import type { UserLicenseUpdate } from '../models/UserLicenseUpdate';
149
- import type { UserSkillPointInfoResponse } from '../models/UserSkillPointInfoResponse';
150
146
  import type { CancelablePromise } from '../core/CancelablePromise';
151
147
  import { OpenAPI } from '../core/OpenAPI';
152
148
  import { request as __request } from '../core/request';
@@ -4126,16 +4122,16 @@ export class CatalogService {
4126
4122
  });
4127
4123
  }
4128
4124
  /**
4129
- * Retrieve catalog-compatible completion information for a user
4125
+ * Retrieve catalog-compatible completion info for user
4130
4126
  * @param userId The user identifier
4131
4127
  * @param fieldKey Specific field to include in the response
4132
- * @returns CourseCompletionCatalogResponse
4128
+ * @returns any
4133
4129
  * @throws ApiError
4134
4130
  */
4135
4131
  public static catalogMilestonesCompletionsCourseCatalogRetrieve(
4136
4132
  userId: number,
4137
4133
  fieldKey?: string,
4138
- ): CancelablePromise<CourseCompletionCatalogResponse> {
4134
+ ): CancelablePromise<Record<string, any>> {
4139
4135
  return __request(OpenAPI, {
4140
4136
  method: 'GET',
4141
4137
  url: '/api/catalog/milestones/completions/course/catalog/',
@@ -4155,13 +4151,13 @@ export class CatalogService {
4155
4151
  * Retrieve completion information for a specific user and course
4156
4152
  * @param courseId The course identifier (e.g., 'course-v1:org+code+run')
4157
4153
  * @param userId The user identifier
4158
- * @returns CourseCompletion
4154
+ * @returns any
4159
4155
  * @throws ApiError
4160
4156
  */
4161
4157
  public static catalogMilestonesCompletionsCourseManageRetrieve(
4162
4158
  courseId: string,
4163
4159
  userId: number,
4164
- ): CancelablePromise<CourseCompletion> {
4160
+ ): CancelablePromise<Record<string, any>> {
4165
4161
  return __request(OpenAPI, {
4166
4162
  method: 'GET',
4167
4163
  url: '/api/catalog/milestones/completions/course/manage/',
@@ -4182,14 +4178,14 @@ export class CatalogService {
4182
4178
  * @param courseId The course identifier (e.g., 'course-v1:org+code+run')
4183
4179
  * @param userId The user identifier
4184
4180
  * @param requestBody
4185
- * @returns CourseCompletion
4181
+ * @returns any
4186
4182
  * @throws ApiError
4187
4183
  */
4188
4184
  public static catalogMilestonesCompletionsCourseManageCreate(
4189
4185
  courseId: string,
4190
4186
  userId: number,
4191
4187
  requestBody: CourseCompletion,
4192
- ): CancelablePromise<CourseCompletion> {
4188
+ ): CancelablePromise<Record<string, any>> {
4193
4189
  return __request(OpenAPI, {
4194
4190
  method: 'POST',
4195
4191
  url: '/api/catalog/milestones/completions/course/manage/',
@@ -4327,13 +4323,13 @@ export class CatalogService {
4327
4323
  * Retrieve skill point information for a specific block
4328
4324
  * @param blockId ID of the block to retrieve skill point information for
4329
4325
  * @param getObj If True, returns skill objects instead of skill names as keys
4330
- * @returns BlockSkillPointInfoResponse
4326
+ * @returns any
4331
4327
  * @throws ApiError
4332
4328
  */
4333
4329
  public static catalogMilestonesSkillPointsBlockRetrieve(
4334
4330
  blockId: string,
4335
4331
  getObj: boolean = false,
4336
- ): CancelablePromise<BlockSkillPointInfoResponse> {
4332
+ ): CancelablePromise<Record<string, any>> {
4337
4333
  return __request(OpenAPI, {
4338
4334
  method: 'GET',
4339
4335
  url: '/api/catalog/milestones/skill_points/block/',
@@ -4383,13 +4379,13 @@ export class CatalogService {
4383
4379
  * Retrieve skill point information for a specific course
4384
4380
  * @param courseId ID of the course to retrieve skill point information for
4385
4381
  * @param getObj If True, returns skill objects instead of skill names as keys
4386
- * @returns CourseSkillPointInfoResponse
4382
+ * @returns any
4387
4383
  * @throws ApiError
4388
4384
  */
4389
4385
  public static catalogMilestonesSkillPointsCourseRetrieve(
4390
4386
  courseId: string,
4391
4387
  getObj: boolean = false,
4392
- ): CancelablePromise<CourseSkillPointInfoResponse> {
4388
+ ): CancelablePromise<Record<string, any>> {
4393
4389
  return __request(OpenAPI, {
4394
4390
  method: 'GET',
4395
4391
  url: '/api/catalog/milestones/skill_points/course/',
@@ -4591,13 +4587,13 @@ export class CatalogService {
4591
4587
  * Retrieve skill point information for a specific user
4592
4588
  * @param userId ID of the user to retrieve skill point information for
4593
4589
  * @param username Username to retrieve skill point information for
4594
- * @returns UserSkillPointInfoResponse
4590
+ * @returns any
4595
4591
  * @throws ApiError
4596
4592
  */
4597
4593
  public static catalogMilestonesSkillPointsUserRetrieve(
4598
4594
  userId?: number,
4599
4595
  username?: string,
4600
- ): CancelablePromise<UserSkillPointInfoResponse> {
4596
+ ): CancelablePromise<Record<string, any>> {
4601
4597
  return __request(OpenAPI, {
4602
4598
  method: 'GET',
4603
4599
  url: '/api/catalog/milestones/skill_points/user/',
@@ -1,10 +0,0 @@
1
- /**
2
- * Response serializer for BlockSkillPointInfoView GET endpoint.
3
- * Returns a mapping of skill names/objects to their point values.
4
- */
5
- export type BlockSkillPointInfoResponse = {
6
- /**
7
- * Dictionary mapping skill names/objects to point values. Keys are skill names (or skill objects if get_obj=True)
8
- */
9
- skill_points: Record<string, number>;
10
- };
@@ -1,15 +0,0 @@
1
- import type { Provider05cEnum } from './Provider05cEnum';
2
- export type Bot = {
3
- readonly id: number;
4
- readonly platform: number;
5
- readonly tenant: string;
6
- name: string;
7
- provider: Provider05cEnum;
8
- readonly is_configured: boolean;
9
- slack_config: number;
10
- readonly discord_config: number;
11
- readonly webex_config: number;
12
- readonly whatsapp_config: number;
13
- readonly teams_config: number;
14
- readonly webhook_url: string;
15
- };
@@ -1,6 +0,0 @@
1
- export type BotCommand = {
2
- readonly id: number;
3
- command: string;
4
- mentor: number;
5
- bot: number;
6
- };
@@ -1,12 +0,0 @@
1
- import type { Provider05cEnum } from './Provider05cEnum';
2
- export type BotCreate = {
3
- readonly id: number;
4
- name: string;
5
- provider: Provider05cEnum;
6
- readonly is_configured: boolean;
7
- readonly webhook_url: string;
8
- readonly discord_config: number;
9
- readonly webex_config: number;
10
- readonly whatsapp_config: number;
11
- readonly teams_config: number;
12
- };
@@ -1,11 +0,0 @@
1
- import type { CourseCompletion } from './CourseCompletion';
2
- /**
3
- * Response serializer for CourseCompletionCatalogView GET endpoint.
4
- * Maps course IDs to their completion information.
5
- */
6
- export type CourseCompletionCatalogResponse = {
7
- /**
8
- * Completion information for each course. Keys are course IDs.
9
- */
10
- '{course_id}'?: CourseCompletion;
11
- };
@@ -1,10 +0,0 @@
1
- /**
2
- * Response serializer for CourseSkillPointInfoView GET endpoint.
3
- * Returns a mapping of skill names/objects to their point values.
4
- */
5
- export type CourseSkillPointInfoResponse = {
6
- /**
7
- * Dictionary mapping skill names/objects to point values. Keys are skill names (or skill objects if get_obj=True)
8
- */
9
- skill_points: Record<string, number>;
10
- };
@@ -1,21 +0,0 @@
1
- import type { DataSetStatusEnum } from './DataSetStatusEnum';
2
- export type DataSet = {
3
- readonly id: string;
4
- readonly platform: Record<string, (string | number)> | null;
5
- name: string;
6
- /**
7
- * (if any) Special instructions for generating the dataset. This could be requirements on tone, language, style, etc.
8
- */
9
- prompt?: string;
10
- source_url?: string;
11
- source_file?: string;
12
- status?: DataSetStatusEnum;
13
- num_data_points?: number;
14
- train_split?: number;
15
- train_file?: string;
16
- test_file?: string;
17
- retry_attempts?: number;
18
- error_log?: string;
19
- readonly date_created: string;
20
- readonly last_modified: string;
21
- };
@@ -1,12 +0,0 @@
1
- export type DataSetCreate = {
2
- readonly id: string;
3
- name: string;
4
- source_url?: string;
5
- source_file?: string;
6
- num_data_points?: number;
7
- train_split?: number;
8
- /**
9
- * (if any) Special instructions for generating the dataset. This could be requirements on tone, language, style, etc.
10
- */
11
- prompt?: string;
12
- };
@@ -1,12 +0,0 @@
1
- /**
2
- * * `pending` - Pending
3
- * * `processing` - Processing
4
- * * `completed` - Completed
5
- * * `failed` - Failed
6
- */
7
- export declare enum DataSetStatusEnum {
8
- PENDING = "pending",
9
- PROCESSING = "processing",
10
- COMPLETED = "completed",
11
- FAILED = "failed"
12
- }
@@ -1,7 +0,0 @@
1
- export type DiscordConfig = {
2
- readonly id: number;
3
- readonly bot: number;
4
- client_id: string;
5
- token: string;
6
- client_secret: string;
7
- };
@@ -1,10 +0,0 @@
1
- export type DiscordUserConfig = {
2
- readonly id: number;
3
- /**
4
- * edX user ID
5
- */
6
- readonly user: number;
7
- discord_user_id: string;
8
- readonly date_created: string;
9
- readonly last_modified: string;
10
- };
@@ -1,6 +0,0 @@
1
- export type DiscordWebhook = {
2
- application_id: string;
3
- type: string;
4
- token: string;
5
- id: string;
6
- };
@@ -1,7 +0,0 @@
1
- import type { DataSet } from './DataSet';
2
- export type PaginatedDataSetList = {
3
- count: number;
4
- next?: string | null;
5
- previous?: string | null;
6
- results: Array<DataSet>;
7
- };
@@ -1,7 +0,0 @@
1
- import type { Training } from './Training';
2
- export type PaginatedTrainingList = {
3
- count: number;
4
- next?: string | null;
5
- previous?: string | null;
6
- results: Array<Training>;
7
- };
@@ -1,6 +0,0 @@
1
- export type PatchedBotCommand = {
2
- readonly id?: number;
3
- command?: string;
4
- mentor?: number;
5
- bot?: number;
6
- };
@@ -1,12 +0,0 @@
1
- import type { Provider05cEnum } from './Provider05cEnum';
2
- export type PatchedBotCreate = {
3
- readonly id?: number;
4
- name?: string;
5
- provider?: Provider05cEnum;
6
- readonly is_configured?: boolean;
7
- readonly webhook_url?: string;
8
- readonly discord_config?: number;
9
- readonly webex_config?: number;
10
- readonly whatsapp_config?: number;
11
- readonly teams_config?: number;
12
- };
@@ -1,21 +0,0 @@
1
- import type { DataSetStatusEnum } from './DataSetStatusEnum';
2
- export type PatchedDataSet = {
3
- readonly id?: string;
4
- readonly platform?: Record<string, (string | number)> | null;
5
- name?: string;
6
- /**
7
- * (if any) Special instructions for generating the dataset. This could be requirements on tone, language, style, etc.
8
- */
9
- prompt?: string;
10
- source_url?: string;
11
- source_file?: string;
12
- status?: DataSetStatusEnum;
13
- num_data_points?: number;
14
- train_split?: number;
15
- train_file?: string;
16
- test_file?: string;
17
- retry_attempts?: number;
18
- error_log?: string;
19
- readonly date_created?: string;
20
- readonly last_modified?: string;
21
- };
@@ -1,7 +0,0 @@
1
- export type PatchedDiscordConfig = {
2
- readonly id?: number;
3
- readonly bot?: number;
4
- client_id?: string;
5
- token?: string;
6
- client_secret?: string;
7
- };
@@ -1,10 +0,0 @@
1
- export type PatchedDiscordUserConfig = {
2
- readonly id?: number;
3
- /**
4
- * edX user ID
5
- */
6
- readonly user?: number;
7
- discord_user_id?: string;
8
- readonly date_created?: string;
9
- readonly last_modified?: string;
10
- };
@@ -1,8 +0,0 @@
1
- export type PatchedSlackConfig = {
2
- readonly id?: number;
3
- bot?: number;
4
- client_id?: string;
5
- client_secret?: string;
6
- app_token?: string;
7
- verification_token?: string;
8
- };
@@ -1,17 +0,0 @@
1
- export type PatchedSlackUserConfig = {
2
- readonly id?: number;
3
- /**
4
- * edX user ID
5
- */
6
- readonly user?: number;
7
- /**
8
- * Team Domain in the stated slack workspace. This is also the workspace name.
9
- */
10
- slack_team_domain?: string;
11
- /**
12
- * Username in the stated slack workspace
13
- */
14
- slack_username?: string;
15
- readonly date_created?: string;
16
- readonly last_modified?: string;
17
- };
@@ -1,7 +0,0 @@
1
- export type PatchedTeamsConfig = {
2
- readonly id?: number;
3
- readonly bot?: number;
4
- client_id?: string;
5
- client_secret?: string;
6
- verification_token?: string;
7
- };