@iblai/iblai-api 4.98.1-ai → 4.99.0-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.
@@ -31,6 +31,7 @@ import type { FileUploadURLRequest } from '../models/FileUploadURLRequest';
31
31
  import type { FileUploadURLResponse } from '../models/FileUploadURLResponse';
32
32
  import type { FreeUsageCount } from '../models/FreeUsageCount';
33
33
  import type { FullCourse } from '../models/FullCourse';
34
+ import type { GoogleAgentDetail } from '../models/GoogleAgentDetail';
34
35
  import type { HumanSupportTicket } from '../models/HumanSupportTicket';
35
36
  import type { JobRun } from '../models/JobRun';
36
37
  import type { LinkCourseRequest } from '../models/LinkCourseRequest';
@@ -80,6 +81,7 @@ import type { PaginatedDisclaimerAgreementList } from '../models/PaginatedDiscla
80
81
  import type { PaginatedDisclaimerList } from '../models/PaginatedDisclaimerList';
81
82
  import type { PaginatedEdxCourseList } from '../models/PaginatedEdxCourseList';
82
83
  import type { PaginatedEmailPromptListList } from '../models/PaginatedEmailPromptListList';
84
+ import type { PaginatedGoogleAgentDetailList } from '../models/PaginatedGoogleAgentDetailList';
83
85
  import type { PaginatedHumanSupportTicketList } from '../models/PaginatedHumanSupportTicketList';
84
86
  import type { PaginatedJobRunList } from '../models/PaginatedJobRunList';
85
87
  import type { PaginatedMCPServerConnectionList } from '../models/PaginatedMCPServerConnectionList';
@@ -101,6 +103,7 @@ import type { PatchedArtifact } from '../models/PatchedArtifact';
101
103
  import type { PatchedCallConfiguration } from '../models/PatchedCallConfiguration';
102
104
  import type { PatchedCourseCreationTaskFile } from '../models/PatchedCourseCreationTaskFile';
103
105
  import type { PatchedDisclaimer } from '../models/PatchedDisclaimer';
106
+ import type { PatchedGoogleAgentDetail } from '../models/PatchedGoogleAgentDetail';
104
107
  import type { PatchedHumanSupportTicket } from '../models/PatchedHumanSupportTicket';
105
108
  import type { PatchedMCPServer } from '../models/PatchedMCPServer';
106
109
  import type { PatchedMCPServerConnection } from '../models/PatchedMCPServerConnection';
@@ -3627,6 +3630,71 @@ export declare class AiMentorService {
3627
3630
  static aiMentorOrgsUsersFreeUsageCountRetrieve({ org, userId, }: {
3628
3631
  org: string;
3629
3632
  }): CancelablePromise<FreeUsageCount>;
3633
+ /**
3634
+ * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
3635
+ * @returns PaginatedGoogleAgentDetailList
3636
+ * @throws ApiError
3637
+ */
3638
+ static aiMentorOrgsUsersGoogleAgentsList({ org, userId, page, pageSize, }: {
3639
+ org: string; /**
3640
+ * A page number within the paginated result set.
3641
+ */
3642
+ page?: number; /**
3643
+ * Number of results to return per page.
3644
+ */
3645
+ pageSize?: number;
3646
+ }): CancelablePromise<PaginatedGoogleAgentDetailList>;
3647
+ /**
3648
+ * Sample Request
3649
+ * ```
3650
+ * {"name": "my agent", "instruction": "you are a helpful agent",}
3651
+ * ```
3652
+ * @returns GoogleAgentDetail
3653
+ * @throws ApiError
3654
+ */
3655
+ static aiMentorOrgsUsersGoogleAgentsCreate({ org, userId, requestBody, }: {
3656
+ org: string;
3657
+ requestBody: GoogleAgentDetail;
3658
+ }): CancelablePromise<GoogleAgentDetail>;
3659
+ /**
3660
+ * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
3661
+ * @returns GoogleAgentDetail
3662
+ * @throws ApiError
3663
+ */
3664
+ static aiMentorOrgsUsersGoogleAgentsRetrieve({ org, uniqueId, userId, }: {
3665
+ org: string;
3666
+ uniqueId: string;
3667
+ }): CancelablePromise<GoogleAgentDetail>;
3668
+ /**
3669
+ * Mainly used to update the sub agent list.
3670
+ *
3671
+ * Sample request:
3672
+ * ```
3673
+ * {
3674
+ * "sub_agents": [
3675
+ * "adc4bf84-c174-47e1-b11c-7713ef2dcd89",
3676
+ * "3fb5806d-3be1-4bfd-bcb0-a48558465644",
3677
+ * "339e44cd-6084-4530-be70-ac2a83759fb6"
3678
+ * ]
3679
+ * }
3680
+ * ```
3681
+ * @returns GoogleAgentDetail
3682
+ * @throws ApiError
3683
+ */
3684
+ static aiMentorOrgsUsersGoogleAgentsPartialUpdate({ org, uniqueId, userId, requestBody, }: {
3685
+ org: string;
3686
+ uniqueId: string;
3687
+ requestBody?: PatchedGoogleAgentDetail;
3688
+ }): CancelablePromise<GoogleAgentDetail>;
3689
+ /**
3690
+ * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
3691
+ * @returns void
3692
+ * @throws ApiError
3693
+ */
3694
+ static aiMentorOrgsUsersGoogleAgentsDestroy({ org, uniqueId, userId, }: {
3695
+ org: string;
3696
+ uniqueId: string;
3697
+ }): CancelablePromise<void>;
3630
3698
  /**
3631
3699
  * ViewSet for MCP server connections.
3632
3700
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/iblai-api",
3
- "version": "4.98.1-ai",
3
+ "version": "4.99.0-ai",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "type": "module",
package/sdk_schema.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  openapi: 3.0.3
2
2
  info:
3
3
  title: ibl-data-manager
4
- version: 4.98.1-ai-plus
4
+ version: 4.99.0-ai-plus
5
5
  description: API for iblai
6
6
  paths:
7
7
  /api/ai-account/connected-services/callback/:
@@ -21907,6 +21907,207 @@ paths:
21907
21907
  description: ''
21908
21908
  '404':
21909
21909
  description: User not found
21910
+ /api/ai-mentor/orgs/{org}/users/{user_id}/google-agents/:
21911
+ get:
21912
+ operationId: ai_mentor_orgs_users_google_agents_list
21913
+ description: Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
21914
+ parameters:
21915
+ - in: path
21916
+ name: org
21917
+ schema:
21918
+ type: string
21919
+ required: true
21920
+ - name: page
21921
+ required: false
21922
+ in: query
21923
+ description: A page number within the paginated result set.
21924
+ schema:
21925
+ type: integer
21926
+ - name: page_size
21927
+ required: false
21928
+ in: query
21929
+ description: Number of results to return per page.
21930
+ schema:
21931
+ type: integer
21932
+ - in: path
21933
+ name: user_id
21934
+ schema:
21935
+ type: string
21936
+ required: true
21937
+ tags:
21938
+ - ai-mentor
21939
+ security:
21940
+ - PlatformApiKeyAuthentication: []
21941
+ responses:
21942
+ '200':
21943
+ content:
21944
+ application/json:
21945
+ schema:
21946
+ $ref: '#/components/schemas/PaginatedGoogleAgentDetailList'
21947
+ description: ''
21948
+ post:
21949
+ operationId: ai_mentor_orgs_users_google_agents_create
21950
+ description: |-
21951
+ Sample Request
21952
+ ```
21953
+ {"name": "my agent", "instruction": "you are a helpful agent",}
21954
+ ```
21955
+ parameters:
21956
+ - in: path
21957
+ name: org
21958
+ schema:
21959
+ type: string
21960
+ required: true
21961
+ - in: path
21962
+ name: user_id
21963
+ schema:
21964
+ type: string
21965
+ required: true
21966
+ tags:
21967
+ - ai-mentor
21968
+ requestBody:
21969
+ content:
21970
+ application/json:
21971
+ schema:
21972
+ $ref: '#/components/schemas/GoogleAgentDetail'
21973
+ application/scim+json:
21974
+ schema:
21975
+ $ref: '#/components/schemas/GoogleAgentDetail'
21976
+ application/x-www-form-urlencoded:
21977
+ schema:
21978
+ $ref: '#/components/schemas/GoogleAgentDetail'
21979
+ multipart/form-data:
21980
+ schema:
21981
+ $ref: '#/components/schemas/GoogleAgentDetail'
21982
+ '*/*':
21983
+ schema:
21984
+ $ref: '#/components/schemas/GoogleAgentDetail'
21985
+ required: true
21986
+ security:
21987
+ - PlatformApiKeyAuthentication: []
21988
+ responses:
21989
+ '200':
21990
+ content:
21991
+ application/json:
21992
+ schema:
21993
+ $ref: '#/components/schemas/GoogleAgentDetail'
21994
+ description: ''
21995
+ /api/ai-mentor/orgs/{org}/users/{user_id}/google-agents/{unique_id}/:
21996
+ get:
21997
+ operationId: ai_mentor_orgs_users_google_agents_retrieve
21998
+ description: Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
21999
+ parameters:
22000
+ - in: path
22001
+ name: org
22002
+ schema:
22003
+ type: string
22004
+ required: true
22005
+ - in: path
22006
+ name: unique_id
22007
+ schema:
22008
+ type: string
22009
+ required: true
22010
+ - in: path
22011
+ name: user_id
22012
+ schema:
22013
+ type: string
22014
+ required: true
22015
+ tags:
22016
+ - ai-mentor
22017
+ security:
22018
+ - PlatformApiKeyAuthentication: []
22019
+ responses:
22020
+ '200':
22021
+ content:
22022
+ application/json:
22023
+ schema:
22024
+ $ref: '#/components/schemas/GoogleAgentDetail'
22025
+ description: ''
22026
+ patch:
22027
+ operationId: ai_mentor_orgs_users_google_agents_partial_update
22028
+ description: |-
22029
+ Mainly used to update the sub agent list.
22030
+
22031
+ Sample request:
22032
+ ```
22033
+ {
22034
+ "sub_agents": [
22035
+ "adc4bf84-c174-47e1-b11c-7713ef2dcd89",
22036
+ "3fb5806d-3be1-4bfd-bcb0-a48558465644",
22037
+ "339e44cd-6084-4530-be70-ac2a83759fb6"
22038
+ ]
22039
+ }
22040
+ ```
22041
+ parameters:
22042
+ - in: path
22043
+ name: org
22044
+ schema:
22045
+ type: string
22046
+ required: true
22047
+ - in: path
22048
+ name: unique_id
22049
+ schema:
22050
+ type: string
22051
+ required: true
22052
+ - in: path
22053
+ name: user_id
22054
+ schema:
22055
+ type: string
22056
+ required: true
22057
+ tags:
22058
+ - ai-mentor
22059
+ requestBody:
22060
+ content:
22061
+ application/json:
22062
+ schema:
22063
+ $ref: '#/components/schemas/PatchedGoogleAgentDetail'
22064
+ application/scim+json:
22065
+ schema:
22066
+ $ref: '#/components/schemas/PatchedGoogleAgentDetail'
22067
+ application/x-www-form-urlencoded:
22068
+ schema:
22069
+ $ref: '#/components/schemas/PatchedGoogleAgentDetail'
22070
+ multipart/form-data:
22071
+ schema:
22072
+ $ref: '#/components/schemas/PatchedGoogleAgentDetail'
22073
+ '*/*':
22074
+ schema:
22075
+ $ref: '#/components/schemas/PatchedGoogleAgentDetail'
22076
+ security:
22077
+ - PlatformApiKeyAuthentication: []
22078
+ responses:
22079
+ '200':
22080
+ content:
22081
+ application/json:
22082
+ schema:
22083
+ $ref: '#/components/schemas/GoogleAgentDetail'
22084
+ description: ''
22085
+ delete:
22086
+ operationId: ai_mentor_orgs_users_google_agents_destroy
22087
+ description: Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
22088
+ parameters:
22089
+ - in: path
22090
+ name: org
22091
+ schema:
22092
+ type: string
22093
+ required: true
22094
+ - in: path
22095
+ name: unique_id
22096
+ schema:
22097
+ type: string
22098
+ required: true
22099
+ - in: path
22100
+ name: user_id
22101
+ schema:
22102
+ type: string
22103
+ required: true
22104
+ tags:
22105
+ - ai-mentor
22106
+ security:
22107
+ - PlatformApiKeyAuthentication: []
22108
+ responses:
22109
+ '204':
22110
+ description: No response body
21910
22111
  /api/ai-mentor/orgs/{org}/users/{user_id}/mcp-server-connections/:
21911
22112
  get:
21912
22113
  operationId: ai_mentor_orgs_users_mcp_server_connections_list
@@ -74612,6 +74813,54 @@ components:
74612
74813
  - previous
74613
74814
  - results
74614
74815
  - total_pages
74816
+ GoogleAgentDetail:
74817
+ type: object
74818
+ properties:
74819
+ id:
74820
+ type: integer
74821
+ readOnly: true
74822
+ sub_agents:
74823
+ type: string
74824
+ readOnly: true
74825
+ platform:
74826
+ type: string
74827
+ readOnly: true
74828
+ unique_id:
74829
+ type: string
74830
+ format: uuid
74831
+ model:
74832
+ type: string
74833
+ name:
74834
+ type: string
74835
+ description:
74836
+ type: string
74837
+ instruction:
74838
+ type: string
74839
+ output_key:
74840
+ type: string
74841
+ nullable: true
74842
+ inserted_at:
74843
+ type: string
74844
+ format: date-time
74845
+ readOnly: true
74846
+ updated_at:
74847
+ type: string
74848
+ format: date-time
74849
+ readOnly: true
74850
+ created_by:
74851
+ type: integer
74852
+ description: edX user ID
74853
+ nullable: true
74854
+ required:
74855
+ - description
74856
+ - id
74857
+ - inserted_at
74858
+ - instruction
74859
+ - model
74860
+ - name
74861
+ - platform
74862
+ - sub_agents
74863
+ - updated_at
74615
74864
  GooglePayAccountResponse:
74616
74865
  type: object
74617
74866
  properties:
@@ -79870,6 +80119,29 @@ components:
79870
80119
  type: array
79871
80120
  items:
79872
80121
  $ref: '#/components/schemas/EmailPromptList'
80122
+ PaginatedGoogleAgentDetailList:
80123
+ type: object
80124
+ required:
80125
+ - count
80126
+ - results
80127
+ properties:
80128
+ count:
80129
+ type: integer
80130
+ example: 123
80131
+ next:
80132
+ type: string
80133
+ nullable: true
80134
+ format: uri
80135
+ example: http://api.example.org/accounts/?page=4
80136
+ previous:
80137
+ type: string
80138
+ nullable: true
80139
+ format: uri
80140
+ example: http://api.example.org/accounts/?page=2
80141
+ results:
80142
+ type: array
80143
+ items:
80144
+ $ref: '#/components/schemas/GoogleAgentDetail'
79873
80145
  PaginatedHeygenMarketingVideoListList:
79874
80146
  type: object
79875
80147
  required:
@@ -81361,6 +81633,44 @@ components:
81361
81633
  type: string
81362
81634
  format: date-time
81363
81635
  readOnly: true
81636
+ PatchedGoogleAgentDetail:
81637
+ type: object
81638
+ properties:
81639
+ id:
81640
+ type: integer
81641
+ readOnly: true
81642
+ sub_agents:
81643
+ type: string
81644
+ readOnly: true
81645
+ platform:
81646
+ type: string
81647
+ readOnly: true
81648
+ unique_id:
81649
+ type: string
81650
+ format: uuid
81651
+ model:
81652
+ type: string
81653
+ name:
81654
+ type: string
81655
+ description:
81656
+ type: string
81657
+ instruction:
81658
+ type: string
81659
+ output_key:
81660
+ type: string
81661
+ nullable: true
81662
+ inserted_at:
81663
+ type: string
81664
+ format: date-time
81665
+ readOnly: true
81666
+ updated_at:
81667
+ type: string
81668
+ format: date-time
81669
+ readOnly: true
81670
+ created_by:
81671
+ type: integer
81672
+ description: edX user ID
81673
+ nullable: true
81364
81674
  PatchedHumanSupportTicket:
81365
81675
  type: object
81366
81676
  description: |-
@@ -21,7 +21,7 @@ export type OpenAPIConfig = {
21
21
 
22
22
  export const OpenAPI: OpenAPIConfig = {
23
23
  BASE: 'https://base.manager.iblai.app',
24
- VERSION: '4.98.1-ai-plus',
24
+ VERSION: '4.99.0-ai-plus',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
package/src/index.ts CHANGED
@@ -235,6 +235,7 @@ export type { FreeUsageCount } from './models/FreeUsageCount';
235
235
  export type { FullCourse } from './models/FullCourse';
236
236
  export type { GCPTenantLaunchRequest } from './models/GCPTenantLaunchRequest';
237
237
  export type { GlobalCatalogSearchResponse } from './models/GlobalCatalogSearchResponse';
238
+ export type { GoogleAgentDetail } from './models/GoogleAgentDetail';
238
239
  export type { GooglePayAccountResponse } from './models/GooglePayAccountResponse';
239
240
  export { GooglePayAccountResponseStatusEnum } from './models/GooglePayAccountResponseStatusEnum';
240
241
  export type { GooglePayVerifyToken } from './models/GooglePayVerifyToken';
@@ -406,6 +407,7 @@ export type { PaginatedDisclaimerAgreementList } from './models/PaginatedDisclai
406
407
  export type { PaginatedDisclaimerList } from './models/PaginatedDisclaimerList';
407
408
  export type { PaginatedEdxCourseList } from './models/PaginatedEdxCourseList';
408
409
  export type { PaginatedEmailPromptListList } from './models/PaginatedEmailPromptListList';
410
+ export type { PaginatedGoogleAgentDetailList } from './models/PaginatedGoogleAgentDetailList';
409
411
  export type { PaginatedHeygenMarketingVideoListList } from './models/PaginatedHeygenMarketingVideoListList';
410
412
  export type { PaginatedHeygenTemplateResponseSingleList } from './models/PaginatedHeygenTemplateResponseSingleList';
411
413
  export type { PaginatedHumanSupportTicketList } from './models/PaginatedHumanSupportTicketList';
@@ -461,6 +463,7 @@ export type { PatchedDataSet } from './models/PatchedDataSet';
461
463
  export type { PatchedDisclaimer } from './models/PatchedDisclaimer';
462
464
  export type { PatchedDiscordConfig } from './models/PatchedDiscordConfig';
463
465
  export type { PatchedDiscordUserConfig } from './models/PatchedDiscordUserConfig';
466
+ export type { PatchedGoogleAgentDetail } from './models/PatchedGoogleAgentDetail';
464
467
  export type { PatchedHumanSupportTicket } from './models/PatchedHumanSupportTicket';
465
468
  export type { PatchedLLMCredentialRequest } from './models/PatchedLLMCredentialRequest';
466
469
  export type { PatchedMCPServer } from './models/PatchedMCPServer';
@@ -0,0 +1,22 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type GoogleAgentDetail = {
6
+ readonly id: number;
7
+ readonly sub_agents: string;
8
+ readonly platform: string;
9
+ unique_id?: string;
10
+ model: string;
11
+ name: string;
12
+ description: string;
13
+ instruction: string;
14
+ output_key?: string | null;
15
+ readonly inserted_at: string;
16
+ readonly updated_at: string;
17
+ /**
18
+ * edX user ID
19
+ */
20
+ created_by?: number | null;
21
+ };
22
+
@@ -0,0 +1,12 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { GoogleAgentDetail } from './GoogleAgentDetail';
6
+ export type PaginatedGoogleAgentDetailList = {
7
+ count: number;
8
+ next?: string | null;
9
+ previous?: string | null;
10
+ results: Array<GoogleAgentDetail>;
11
+ };
12
+
@@ -0,0 +1,22 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type PatchedGoogleAgentDetail = {
6
+ readonly id?: number;
7
+ readonly sub_agents?: string;
8
+ readonly platform?: string;
9
+ unique_id?: string;
10
+ model?: string;
11
+ name?: string;
12
+ description?: string;
13
+ instruction?: string;
14
+ output_key?: string | null;
15
+ readonly inserted_at?: string;
16
+ readonly updated_at?: string;
17
+ /**
18
+ * edX user ID
19
+ */
20
+ created_by?: number | null;
21
+ };
22
+