@iblai/iblai-api 2025.11.4-teams-bot-renovation-ai → 2025.11.5-teams-bot-renovation-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.
- package/dist/index.cjs.js +274 -33
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +275 -34
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +274 -33
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +7 -0
- package/dist/types/models/AuthTypeEnum.d.ts +10 -0
- package/dist/types/models/CallConfiguration.d.ts +3 -3
- package/dist/types/models/MCPServer.d.ts +26 -0
- package/dist/types/models/ModerationLog.d.ts +1 -0
- package/dist/types/models/NotificationTemplateDetail.d.ts +17 -0
- package/dist/types/models/PaginatedVeoVideoListList.d.ts +7 -0
- package/dist/types/models/PatchedCallConfiguration.d.ts +1 -1
- package/dist/types/models/PatchedMCPServer.d.ts +26 -0
- package/dist/types/models/PatchedNotificationTemplateDetail.d.ts +17 -0
- package/dist/types/models/PatchedRbacGroup.d.ts +4 -0
- package/dist/types/models/PatchedRbacPolicy.d.ts +4 -0
- package/dist/types/models/PatchedRbacRole.d.ts +4 -0
- package/dist/types/models/PeriodicFrequencyEnum.d.ts +12 -0
- package/dist/types/models/PeriodicLearnerScopeEnum.d.ts +8 -0
- package/dist/types/models/RbacGroup.d.ts +4 -0
- package/dist/types/models/RbacPolicy.d.ts +4 -0
- package/dist/types/models/RbacRole.d.ts +4 -0
- package/dist/types/models/RbacUser.d.ts +4 -0
- package/dist/types/models/VeoVideoDetail.d.ts +10 -0
- package/dist/types/models/VeoVideoList.d.ts +6 -0
- package/dist/types/models/VeoVideoRequest.d.ts +5 -0
- package/dist/types/services/AiMediaService.d.ts +57 -0
- package/dist/types/services/AiMentorService.d.ts +34 -17
- package/dist/types/services/AiSearchService.d.ts +36 -3
- package/dist/types/services/CoreService.d.ts +51 -11
- package/package.json +1 -1
- package/sdk_schema.yml +737 -58
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +7 -0
- package/src/models/AuthTypeEnum.ts +14 -0
- package/src/models/CallConfiguration.ts +3 -3
- package/src/models/MCPServer.ts +26 -0
- package/src/models/ModerationLog.ts +1 -0
- package/src/models/NotificationTemplateDetail.ts +17 -0
- package/src/models/PaginatedVeoVideoListList.ts +12 -0
- package/src/models/PatchedCallConfiguration.ts +1 -1
- package/src/models/PatchedMCPServer.ts +26 -0
- package/src/models/PatchedNotificationTemplateDetail.ts +17 -0
- package/src/models/PatchedRbacGroup.ts +4 -0
- package/src/models/PatchedRbacPolicy.ts +4 -0
- package/src/models/PatchedRbacRole.ts +4 -0
- package/src/models/PeriodicFrequencyEnum.ts +16 -0
- package/src/models/PeriodicLearnerScopeEnum.ts +12 -0
- package/src/models/RbacGroup.ts +4 -0
- package/src/models/RbacPolicy.ts +4 -0
- package/src/models/RbacRole.ts +4 -0
- package/src/models/RbacUser.ts +4 -0
- package/src/models/VeoVideoDetail.ts +15 -0
- package/src/models/VeoVideoList.ts +11 -0
- package/src/models/VeoVideoRequest.ts +10 -0
- package/src/services/AiMediaService.ts +136 -0
- package/src/services/AiMentorService.ts +51 -18
- package/src/services/AiSearchService.ts +45 -4
- package/src/services/CoreService.ts +92 -8
package/src/core/OpenAPI.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -42,6 +42,7 @@ export type { AssumedKnowledgeLevel } from './models/AssumedKnowledgeLevel';
|
|
|
42
42
|
export type { AudioToTextRequest } from './models/AudioToTextRequest';
|
|
43
43
|
export type { AudioToTextResponse } from './models/AudioToTextResponse';
|
|
44
44
|
export type { AuthToken } from './models/AuthToken';
|
|
45
|
+
export { AuthTypeEnum } from './models/AuthTypeEnum';
|
|
45
46
|
export type { AutoMemoryPrompt } from './models/AutoMemoryPrompt';
|
|
46
47
|
export type { Average } from './models/Average';
|
|
47
48
|
export type { AverageData } from './models/AverageData';
|
|
@@ -434,6 +435,7 @@ export type { PaginatedUserLicense } from './models/PaginatedUserLicense';
|
|
|
434
435
|
export type { PaginatedUserLicenseAssignment } from './models/PaginatedUserLicenseAssignment';
|
|
435
436
|
export type { PaginatedUserLicenseGroupAssignment } from './models/PaginatedUserLicenseGroupAssignment';
|
|
436
437
|
export type { PaginatedUserMemoryList } from './models/PaginatedUserMemoryList';
|
|
438
|
+
export type { PaginatedVeoVideoListList } from './models/PaginatedVeoVideoListList';
|
|
437
439
|
export type { PaginatedVoiceList } from './models/PaginatedVoiceList';
|
|
438
440
|
export type { Pagination } from './models/Pagination';
|
|
439
441
|
export type { PatchedArtifact } from './models/PatchedArtifact';
|
|
@@ -502,6 +504,8 @@ export type { PeriodicAgentCreate } from './models/PeriodicAgentCreate';
|
|
|
502
504
|
export type { PeriodicAgentLog } from './models/PeriodicAgentLog';
|
|
503
505
|
export { PeriodicAgentLogStatusEnum } from './models/PeriodicAgentLogStatusEnum';
|
|
504
506
|
export type { PeriodicAgentStatistics } from './models/PeriodicAgentStatistics';
|
|
507
|
+
export { PeriodicFrequencyEnum } from './models/PeriodicFrequencyEnum';
|
|
508
|
+
export { PeriodicLearnerScopeEnum } from './models/PeriodicLearnerScopeEnum';
|
|
505
509
|
export type { PeriodicTask } from './models/PeriodicTask';
|
|
506
510
|
export type { PeriodInfo } from './models/PeriodInfo';
|
|
507
511
|
export type { PerLearnerCourseLastAccessData } from './models/PerLearnerCourseLastAccessData';
|
|
@@ -859,6 +863,9 @@ export type { ValidateSourceResponse } from './models/ValidateSourceResponse';
|
|
|
859
863
|
export type { Value } from './models/Value';
|
|
860
864
|
export type { ValueData } from './models/ValueData';
|
|
861
865
|
export type { VectorResult } from './models/VectorResult';
|
|
866
|
+
export type { VeoVideoDetail } from './models/VeoVideoDetail';
|
|
867
|
+
export type { VeoVideoList } from './models/VeoVideoList';
|
|
868
|
+
export type { VeoVideoRequest } from './models/VeoVideoRequest';
|
|
862
869
|
export type { VerifyGCPMarketPlaceFailedResponse } from './models/VerifyGCPMarketPlaceFailedResponse';
|
|
863
870
|
export type { VerifyGCPMarketPlaceRequest } from './models/VerifyGCPMarketPlaceRequest';
|
|
864
871
|
export type { VerifyGCPMarketPlaceResponse } from './models/VerifyGCPMarketPlaceResponse';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* * `none` - None
|
|
7
|
+
* * `token` - Token
|
|
8
|
+
* * `oauth2` - Oauth2
|
|
9
|
+
*/
|
|
10
|
+
export enum AuthTypeEnum {
|
|
11
|
+
NONE = 'none',
|
|
12
|
+
TOKEN = 'token',
|
|
13
|
+
OAUTH2 = 'oauth2',
|
|
14
|
+
}
|
|
@@ -9,7 +9,7 @@ import type { TtsProviderEnum } from './TtsProviderEnum';
|
|
|
9
9
|
import type { Voice } from './Voice';
|
|
10
10
|
export type CallConfiguration = {
|
|
11
11
|
readonly id: number;
|
|
12
|
-
mentor:
|
|
12
|
+
mentor: string;
|
|
13
13
|
mode?: CallConfigurationModeEnum;
|
|
14
14
|
tts_provider?: TtsProviderEnum;
|
|
15
15
|
stt_provider?: SttProviderEnum;
|
|
@@ -20,8 +20,8 @@ export type CallConfiguration = {
|
|
|
20
20
|
use_function_calling_for_rag?: boolean;
|
|
21
21
|
google_voice?: Voice;
|
|
22
22
|
openai_voice?: Voice;
|
|
23
|
-
openai_voice_id
|
|
24
|
-
google_voice_id
|
|
23
|
+
openai_voice_id?: number | null;
|
|
24
|
+
google_voice_id?: number | null;
|
|
25
25
|
/**
|
|
26
26
|
* Whether to enable video for the call. (applicable only for realtime mode)
|
|
27
27
|
*/
|
package/src/models/MCPServer.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
+
import type { AuthTypeEnum } from './AuthTypeEnum';
|
|
5
6
|
import type { TransportEnum } from './TransportEnum';
|
|
6
7
|
/**
|
|
7
8
|
* Serializer for the MCPServer model.
|
|
@@ -10,16 +11,41 @@ export type MCPServer = {
|
|
|
10
11
|
readonly id: number;
|
|
11
12
|
readonly platform: number;
|
|
12
13
|
name: string;
|
|
14
|
+
/**
|
|
15
|
+
* A description of the MCP server.
|
|
16
|
+
*/
|
|
17
|
+
description?: string;
|
|
13
18
|
/**
|
|
14
19
|
* The url of the MCP server.
|
|
15
20
|
*/
|
|
16
21
|
url: string;
|
|
22
|
+
image?: string | null;
|
|
17
23
|
transport?: TransportEnum;
|
|
24
|
+
/**
|
|
25
|
+
* Authorization credentials to uauthenticate to the mcp server. if provided takes priority over connected service and headers. Token here must be the full authorization value. For example: `<scheme> <credentials>`
|
|
26
|
+
*/
|
|
27
|
+
credentials?: string;
|
|
18
28
|
/**
|
|
19
29
|
* Headers to send to the MCP server. Useful for authentication,
|
|
20
30
|
*/
|
|
21
31
|
extra_headers?: any;
|
|
22
32
|
readonly platform_key: string;
|
|
33
|
+
/**
|
|
34
|
+
* Featured mcp servers will be accessible to all other tenants.
|
|
35
|
+
*/
|
|
36
|
+
is_featured?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* The type of authentication to use for the MCP server.
|
|
39
|
+
*
|
|
40
|
+
* * `none` - None
|
|
41
|
+
* * `token` - Token
|
|
42
|
+
* * `oauth2` - Oauth2
|
|
43
|
+
*/
|
|
44
|
+
auth_type?: AuthTypeEnum;
|
|
45
|
+
/**
|
|
46
|
+
* Whether the MCP server is enabled or not.
|
|
47
|
+
*/
|
|
48
|
+
is_enabled?: boolean;
|
|
23
49
|
readonly created_at: string;
|
|
24
50
|
readonly updated_at: string;
|
|
25
51
|
};
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
import type { ConsumerChannel } from './ConsumerChannel';
|
|
6
6
|
import type { NullEnum } from './NullEnum';
|
|
7
|
+
import type { PeriodicFrequencyEnum } from './PeriodicFrequencyEnum';
|
|
8
|
+
import type { PeriodicLearnerScopeEnum } from './PeriodicLearnerScopeEnum';
|
|
7
9
|
import type { Spa } from './Spa';
|
|
8
10
|
import type { Type2a5Enum } from './Type2a5Enum';
|
|
9
11
|
/**
|
|
@@ -81,6 +83,21 @@ export type NotificationTemplateDetail = {
|
|
|
81
83
|
readonly source_platform: string;
|
|
82
84
|
metadata?: any;
|
|
83
85
|
readonly available_context: string;
|
|
86
|
+
/**
|
|
87
|
+
* Default prompt message for AI mentor notifications
|
|
88
|
+
*/
|
|
89
|
+
proactive_prompt_message?: string | null;
|
|
90
|
+
readonly periodic_config: string;
|
|
91
|
+
periodic_learner_scope?: PeriodicLearnerScopeEnum;
|
|
92
|
+
periodic_report_period_days?: number;
|
|
93
|
+
periodic_frequency?: PeriodicFrequencyEnum;
|
|
94
|
+
periodic_custom_interval_days?: number;
|
|
95
|
+
periodic_execution_time?: string;
|
|
96
|
+
periodic_timezone?: string;
|
|
97
|
+
/**
|
|
98
|
+
* List of mentor configurations: [{"unique_id": "uuid", "prompt": "..."}]
|
|
99
|
+
*/
|
|
100
|
+
periodic_mentors?: Array<Record<string, any>>;
|
|
84
101
|
/**
|
|
85
102
|
* Timestamp when this template was created
|
|
86
103
|
*/
|
|
@@ -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 { VeoVideoList } from './VeoVideoList';
|
|
6
|
+
export type PaginatedVeoVideoListList = {
|
|
7
|
+
count: number;
|
|
8
|
+
next?: string | null;
|
|
9
|
+
previous?: string | null;
|
|
10
|
+
results: Array<VeoVideoList>;
|
|
11
|
+
};
|
|
12
|
+
|
|
@@ -9,7 +9,7 @@ import type { TtsProviderEnum } from './TtsProviderEnum';
|
|
|
9
9
|
import type { Voice } from './Voice';
|
|
10
10
|
export type PatchedCallConfiguration = {
|
|
11
11
|
readonly id?: number;
|
|
12
|
-
mentor?:
|
|
12
|
+
mentor?: string;
|
|
13
13
|
mode?: CallConfigurationModeEnum;
|
|
14
14
|
tts_provider?: TtsProviderEnum;
|
|
15
15
|
stt_provider?: SttProviderEnum;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
+
import type { AuthTypeEnum } from './AuthTypeEnum';
|
|
5
6
|
import type { TransportEnum } from './TransportEnum';
|
|
6
7
|
/**
|
|
7
8
|
* Serializer for the MCPServer model.
|
|
@@ -10,16 +11,41 @@ export type PatchedMCPServer = {
|
|
|
10
11
|
readonly id?: number;
|
|
11
12
|
readonly platform?: number;
|
|
12
13
|
name?: string;
|
|
14
|
+
/**
|
|
15
|
+
* A description of the MCP server.
|
|
16
|
+
*/
|
|
17
|
+
description?: string;
|
|
13
18
|
/**
|
|
14
19
|
* The url of the MCP server.
|
|
15
20
|
*/
|
|
16
21
|
url?: string;
|
|
22
|
+
image?: string | null;
|
|
17
23
|
transport?: TransportEnum;
|
|
24
|
+
/**
|
|
25
|
+
* Authorization credentials to uauthenticate to the mcp server. if provided takes priority over connected service and headers. Token here must be the full authorization value. For example: `<scheme> <credentials>`
|
|
26
|
+
*/
|
|
27
|
+
credentials?: string;
|
|
18
28
|
/**
|
|
19
29
|
* Headers to send to the MCP server. Useful for authentication,
|
|
20
30
|
*/
|
|
21
31
|
extra_headers?: any;
|
|
22
32
|
readonly platform_key?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Featured mcp servers will be accessible to all other tenants.
|
|
35
|
+
*/
|
|
36
|
+
is_featured?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* The type of authentication to use for the MCP server.
|
|
39
|
+
*
|
|
40
|
+
* * `none` - None
|
|
41
|
+
* * `token` - Token
|
|
42
|
+
* * `oauth2` - Oauth2
|
|
43
|
+
*/
|
|
44
|
+
auth_type?: AuthTypeEnum;
|
|
45
|
+
/**
|
|
46
|
+
* Whether the MCP server is enabled or not.
|
|
47
|
+
*/
|
|
48
|
+
is_enabled?: boolean;
|
|
23
49
|
readonly created_at?: string;
|
|
24
50
|
readonly updated_at?: string;
|
|
25
51
|
};
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
import type { ConsumerChannel } from './ConsumerChannel';
|
|
6
6
|
import type { NullEnum } from './NullEnum';
|
|
7
|
+
import type { PeriodicFrequencyEnum } from './PeriodicFrequencyEnum';
|
|
8
|
+
import type { PeriodicLearnerScopeEnum } from './PeriodicLearnerScopeEnum';
|
|
7
9
|
import type { Spa } from './Spa';
|
|
8
10
|
import type { Type2a5Enum } from './Type2a5Enum';
|
|
9
11
|
/**
|
|
@@ -81,6 +83,21 @@ export type PatchedNotificationTemplateDetail = {
|
|
|
81
83
|
readonly source_platform?: string;
|
|
82
84
|
metadata?: any;
|
|
83
85
|
readonly available_context?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Default prompt message for AI mentor notifications
|
|
88
|
+
*/
|
|
89
|
+
proactive_prompt_message?: string | null;
|
|
90
|
+
readonly periodic_config?: string;
|
|
91
|
+
periodic_learner_scope?: PeriodicLearnerScopeEnum;
|
|
92
|
+
periodic_report_period_days?: number;
|
|
93
|
+
periodic_frequency?: PeriodicFrequencyEnum;
|
|
94
|
+
periodic_custom_interval_days?: number;
|
|
95
|
+
periodic_execution_time?: string;
|
|
96
|
+
periodic_timezone?: string;
|
|
97
|
+
/**
|
|
98
|
+
* List of mentor configurations: [{"unique_id": "uuid", "prompt": "..."}]
|
|
99
|
+
*/
|
|
100
|
+
periodic_mentors?: Array<Record<string, any>>;
|
|
84
101
|
/**
|
|
85
102
|
* Timestamp when this template was created
|
|
86
103
|
*/
|
|
@@ -36,5 +36,9 @@ export type PatchedRbacGroup = {
|
|
|
36
36
|
* List of user IDs to remove from this group
|
|
37
37
|
*/
|
|
38
38
|
users_to_remove?: Array<number>;
|
|
39
|
+
/**
|
|
40
|
+
* When True, this group is internal to the system and cannot be viewed or modified by tenants via API endpoints.
|
|
41
|
+
*/
|
|
42
|
+
readonly is_internal?: boolean;
|
|
39
43
|
};
|
|
40
44
|
|
|
@@ -53,5 +53,9 @@ export type PatchedRbacPolicy = {
|
|
|
53
53
|
* List of group IDs to remove from this Policy
|
|
54
54
|
*/
|
|
55
55
|
groups_to_remove?: Array<number>;
|
|
56
|
+
/**
|
|
57
|
+
* When True, this policy is internal to the system and cannot be viewed or modified by tenants via API endpoints.
|
|
58
|
+
*/
|
|
59
|
+
readonly is_internal?: boolean;
|
|
56
60
|
};
|
|
57
61
|
|
|
@@ -25,5 +25,9 @@ export type PatchedRbacRole = {
|
|
|
25
25
|
* List of data actions/permissions this role can perform for field-level access (e.g., ['Ibl.Mentor/Settings/name/read', 'Ibl.Mentor/Settings/email/write'])
|
|
26
26
|
*/
|
|
27
27
|
data_actions?: Array<string>;
|
|
28
|
+
/**
|
|
29
|
+
* When True, this role is internal to the system and cannot be viewed or modified by tenants via API endpoints.
|
|
30
|
+
*/
|
|
31
|
+
readonly is_internal?: boolean;
|
|
28
32
|
};
|
|
29
33
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* * `DAILY` - DAILY
|
|
7
|
+
* * `WEEKLY` - WEEKLY
|
|
8
|
+
* * `MONTHLY` - MONTHLY
|
|
9
|
+
* * `CUSTOM` - CUSTOM
|
|
10
|
+
*/
|
|
11
|
+
export enum PeriodicFrequencyEnum {
|
|
12
|
+
DAILY = 'DAILY',
|
|
13
|
+
WEEKLY = 'WEEKLY',
|
|
14
|
+
MONTHLY = 'MONTHLY',
|
|
15
|
+
CUSTOM = 'CUSTOM',
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* * `ACTIVE_LEARNERS` - ACTIVE_LEARNERS
|
|
7
|
+
* * `ALL_LEARNERS` - ALL_LEARNERS
|
|
8
|
+
*/
|
|
9
|
+
export enum PeriodicLearnerScopeEnum {
|
|
10
|
+
ACTIVE_LEARNERS = 'ACTIVE_LEARNERS',
|
|
11
|
+
ALL_LEARNERS = 'ALL_LEARNERS',
|
|
12
|
+
}
|
package/src/models/RbacGroup.ts
CHANGED
|
@@ -36,5 +36,9 @@ export type RbacGroup = {
|
|
|
36
36
|
* List of user IDs to remove from this group
|
|
37
37
|
*/
|
|
38
38
|
users_to_remove?: Array<number>;
|
|
39
|
+
/**
|
|
40
|
+
* When True, this group is internal to the system and cannot be viewed or modified by tenants via API endpoints.
|
|
41
|
+
*/
|
|
42
|
+
readonly is_internal: boolean;
|
|
39
43
|
};
|
|
40
44
|
|
package/src/models/RbacPolicy.ts
CHANGED
|
@@ -53,5 +53,9 @@ export type RbacPolicy = {
|
|
|
53
53
|
* List of group IDs to remove from this Policy
|
|
54
54
|
*/
|
|
55
55
|
groups_to_remove?: Array<number>;
|
|
56
|
+
/**
|
|
57
|
+
* When True, this policy is internal to the system and cannot be viewed or modified by tenants via API endpoints.
|
|
58
|
+
*/
|
|
59
|
+
readonly is_internal: boolean;
|
|
56
60
|
};
|
|
57
61
|
|
package/src/models/RbacRole.ts
CHANGED
|
@@ -25,5 +25,9 @@ export type RbacRole = {
|
|
|
25
25
|
* List of data actions/permissions this role can perform for field-level access (e.g., ['Ibl.Mentor/Settings/name/read', 'Ibl.Mentor/Settings/email/write'])
|
|
26
26
|
*/
|
|
27
27
|
data_actions?: Array<string>;
|
|
28
|
+
/**
|
|
29
|
+
* When True, this role is internal to the system and cannot be viewed or modified by tenants via API endpoints.
|
|
30
|
+
*/
|
|
31
|
+
readonly is_internal: boolean;
|
|
28
32
|
};
|
|
29
33
|
|
package/src/models/RbacUser.ts
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type VeoVideoDetail = {
|
|
6
|
+
name?: string;
|
|
7
|
+
data?: any;
|
|
8
|
+
readonly id: number;
|
|
9
|
+
readonly video_file: string | null;
|
|
10
|
+
readonly generation_status: string;
|
|
11
|
+
prompt_text?: string | null;
|
|
12
|
+
readonly prompt_image: string | null;
|
|
13
|
+
readonly thumbnail_image: string | null;
|
|
14
|
+
};
|
|
15
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type VeoVideoList = {
|
|
6
|
+
name?: string;
|
|
7
|
+
data?: any;
|
|
8
|
+
readonly id: number;
|
|
9
|
+
readonly generation_status: string;
|
|
10
|
+
};
|
|
11
|
+
|
|
@@ -8,6 +8,9 @@ import type { HeygenVideoDetail } from '../models/HeygenVideoDetail';
|
|
|
8
8
|
import type { HeygenVideoRequest } from '../models/HeygenVideoRequest';
|
|
9
9
|
import type { PaginatedHeygenMarketingVideoListList } from '../models/PaginatedHeygenMarketingVideoListList';
|
|
10
10
|
import type { PaginatedHeygenTemplateResponseSingleList } from '../models/PaginatedHeygenTemplateResponseSingleList';
|
|
11
|
+
import type { PaginatedVeoVideoListList } from '../models/PaginatedVeoVideoListList';
|
|
12
|
+
import type { VeoVideoDetail } from '../models/VeoVideoDetail';
|
|
13
|
+
import type { VeoVideoRequest } from '../models/VeoVideoRequest';
|
|
11
14
|
import type { VideoCaption } from '../models/VideoCaption';
|
|
12
15
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
13
16
|
import { OpenAPI } from '../core/OpenAPI';
|
|
@@ -286,6 +289,139 @@ export class AiMediaService {
|
|
|
286
289
|
},
|
|
287
290
|
});
|
|
288
291
|
}
|
|
292
|
+
/**
|
|
293
|
+
* Endpoint used to download a Veo video.
|
|
294
|
+
*
|
|
295
|
+
*
|
|
296
|
+
* Only platform admins have access to this endpoint.
|
|
297
|
+
* @returns any No response body
|
|
298
|
+
* @throws ApiError
|
|
299
|
+
*/
|
|
300
|
+
public static aiMediaOrgsUsersVeoVideoDownloadRetrieve({
|
|
301
|
+
org,
|
|
302
|
+
userId,
|
|
303
|
+
veoVideoId,
|
|
304
|
+
}: {
|
|
305
|
+
org: string,
|
|
306
|
+
userId: string,
|
|
307
|
+
veoVideoId: string,
|
|
308
|
+
}): CancelablePromise<any> {
|
|
309
|
+
return __request(OpenAPI, {
|
|
310
|
+
method: 'GET',
|
|
311
|
+
url: '/api/ai-media/orgs/{org}/users/{user_id}/veo/video-download/{veo_video_id}/',
|
|
312
|
+
path: {
|
|
313
|
+
'org': org,
|
|
314
|
+
'user_id': userId,
|
|
315
|
+
'veo_video_id': veoVideoId,
|
|
316
|
+
},
|
|
317
|
+
});
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
321
|
+
* @returns PaginatedVeoVideoListList
|
|
322
|
+
* @throws ApiError
|
|
323
|
+
*/
|
|
324
|
+
public static aiMediaOrgsUsersVeoVideosList({
|
|
325
|
+
org,
|
|
326
|
+
userId,
|
|
327
|
+
page,
|
|
328
|
+
}: {
|
|
329
|
+
org: string,
|
|
330
|
+
userId: string,
|
|
331
|
+
/**
|
|
332
|
+
* A page number within the paginated result set.
|
|
333
|
+
*/
|
|
334
|
+
page?: number,
|
|
335
|
+
}): CancelablePromise<PaginatedVeoVideoListList> {
|
|
336
|
+
return __request(OpenAPI, {
|
|
337
|
+
method: 'GET',
|
|
338
|
+
url: '/api/ai-media/orgs/{org}/users/{user_id}/veo/videos/',
|
|
339
|
+
path: {
|
|
340
|
+
'org': org,
|
|
341
|
+
'user_id': userId,
|
|
342
|
+
},
|
|
343
|
+
query: {
|
|
344
|
+
'page': page,
|
|
345
|
+
},
|
|
346
|
+
});
|
|
347
|
+
}
|
|
348
|
+
/**
|
|
349
|
+
* Endpoint to create a Veo3 video
|
|
350
|
+
*
|
|
351
|
+
* Only platform admins have access to this endpoint.
|
|
352
|
+
* @returns VeoVideoDetail
|
|
353
|
+
* @throws ApiError
|
|
354
|
+
*/
|
|
355
|
+
public static aiMediaOrgsUsersVeoVideosCreate({
|
|
356
|
+
org,
|
|
357
|
+
userId,
|
|
358
|
+
formData,
|
|
359
|
+
}: {
|
|
360
|
+
org: string,
|
|
361
|
+
userId: string,
|
|
362
|
+
formData: VeoVideoRequest,
|
|
363
|
+
}): CancelablePromise<VeoVideoDetail> {
|
|
364
|
+
return __request(OpenAPI, {
|
|
365
|
+
method: 'POST',
|
|
366
|
+
url: '/api/ai-media/orgs/{org}/users/{user_id}/veo/videos/',
|
|
367
|
+
path: {
|
|
368
|
+
'org': org,
|
|
369
|
+
'user_id': userId,
|
|
370
|
+
},
|
|
371
|
+
formData: formData,
|
|
372
|
+
mediaType: 'multipart/form-data',
|
|
373
|
+
});
|
|
374
|
+
}
|
|
375
|
+
/**
|
|
376
|
+
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
377
|
+
* @returns VeoVideoDetail
|
|
378
|
+
* @throws ApiError
|
|
379
|
+
*/
|
|
380
|
+
public static aiMediaOrgsUsersVeoVideosRetrieve({
|
|
381
|
+
org,
|
|
382
|
+
userId,
|
|
383
|
+
veoVideoId,
|
|
384
|
+
}: {
|
|
385
|
+
org: string,
|
|
386
|
+
userId: string,
|
|
387
|
+
veoVideoId: string,
|
|
388
|
+
}): CancelablePromise<VeoVideoDetail> {
|
|
389
|
+
return __request(OpenAPI, {
|
|
390
|
+
method: 'GET',
|
|
391
|
+
url: '/api/ai-media/orgs/{org}/users/{user_id}/veo/videos/{veo_video_id}/',
|
|
392
|
+
path: {
|
|
393
|
+
'org': org,
|
|
394
|
+
'user_id': userId,
|
|
395
|
+
'veo_video_id': veoVideoId,
|
|
396
|
+
},
|
|
397
|
+
});
|
|
398
|
+
}
|
|
399
|
+
/**
|
|
400
|
+
* Endpoint used to delete a veo3 video.
|
|
401
|
+
*
|
|
402
|
+
* Only platform admins have access to this endpoint.
|
|
403
|
+
* @returns void
|
|
404
|
+
* @throws ApiError
|
|
405
|
+
*/
|
|
406
|
+
public static aiMediaOrgsUsersVeoVideosDestroy({
|
|
407
|
+
org,
|
|
408
|
+
userId,
|
|
409
|
+
veoVideoId,
|
|
410
|
+
}: {
|
|
411
|
+
org: string,
|
|
412
|
+
userId: string,
|
|
413
|
+
veoVideoId: string,
|
|
414
|
+
}): CancelablePromise<void> {
|
|
415
|
+
return __request(OpenAPI, {
|
|
416
|
+
method: 'DELETE',
|
|
417
|
+
url: '/api/ai-media/orgs/{org}/users/{user_id}/veo/videos/{veo_video_id}/',
|
|
418
|
+
path: {
|
|
419
|
+
'org': org,
|
|
420
|
+
'user_id': userId,
|
|
421
|
+
'veo_video_id': veoVideoId,
|
|
422
|
+
},
|
|
423
|
+
});
|
|
424
|
+
}
|
|
289
425
|
/**
|
|
290
426
|
* Endpoint to generate video scripts from a audio file. The audio file can be one of mp3 and wav.
|
|
291
427
|
*
|