@digipair/skill-web-heygen 0.40.0
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/index.cjs.d.ts +1 -0
- package/index.cjs.js +1952 -0
- package/index.d.ts +1 -0
- package/index.esm.js +1948 -0
- package/libs/skill-web-heygen/src/index.d.ts +1 -0
- package/libs/skill-web-heygen/src/lib/skill-web-heygen.d.ts +9 -0
- package/package.json +7 -0
- package/schema.fr.json +89 -0
- package/schema.json +89 -0
@@ -0,0 +1 @@
|
|
1
|
+
export * from './lib/skill-web-heygen';
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { LitElement } from 'lit';
|
2
|
+
export declare class Heygen extends LitElement {
|
3
|
+
private peerConnection;
|
4
|
+
mediaElement: HTMLVideoElement;
|
5
|
+
private updateStatus;
|
6
|
+
start(sessionInfo: any): Promise<void>;
|
7
|
+
stop(): Promise<void>;
|
8
|
+
render(): import("lit-html").TemplateResult<1>;
|
9
|
+
}
|
package/package.json
ADDED
package/schema.fr.json
ADDED
@@ -0,0 +1,89 @@
|
|
1
|
+
{
|
2
|
+
"openapi": "3.0.0",
|
3
|
+
"info": {
|
4
|
+
"title": "@digipair/skill-web-heygen",
|
5
|
+
"summary": "Affichage Heygen",
|
6
|
+
"description": "Cette compétence permet de gérer l'affichage des avatars Heygen.",
|
7
|
+
"version": "0.1.0",
|
8
|
+
"x-icon": "🔗"
|
9
|
+
},
|
10
|
+
"paths": {
|
11
|
+
"/digipair-heygen": {
|
12
|
+
"post": {
|
13
|
+
"tags": ["web"],
|
14
|
+
"summary": "Avatar interactif Heygen",
|
15
|
+
"parameters": [
|
16
|
+
{
|
17
|
+
"name": "class",
|
18
|
+
"summary": "Class",
|
19
|
+
"description": "Class de l'élement.",
|
20
|
+
"required": false,
|
21
|
+
"schema": {
|
22
|
+
"type": "string"
|
23
|
+
}
|
24
|
+
},
|
25
|
+
{
|
26
|
+
"name": "style",
|
27
|
+
"summary": "Style",
|
28
|
+
"description": "CSS style de l'élement.",
|
29
|
+
"required": false,
|
30
|
+
"schema": {
|
31
|
+
"type": "string"
|
32
|
+
}
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"name": "id",
|
36
|
+
"summary": "Id",
|
37
|
+
"description": "Id de l'élement.",
|
38
|
+
"required": false,
|
39
|
+
"schema": {
|
40
|
+
"type": "string"
|
41
|
+
}
|
42
|
+
}
|
43
|
+
],
|
44
|
+
"x-events": [
|
45
|
+
{
|
46
|
+
"name": "status",
|
47
|
+
"summary": "Lors d'un changement de statut",
|
48
|
+
"required": false,
|
49
|
+
"description": "Action déclenchée lors d'un changement de statut",
|
50
|
+
"schema": {
|
51
|
+
"type": "array",
|
52
|
+
"items": {
|
53
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
54
|
+
}
|
55
|
+
}
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"name": "message",
|
59
|
+
"summary": "Lors d'un message",
|
60
|
+
"required": false,
|
61
|
+
"description": "Action déclenchée lors de la réception d'un message",
|
62
|
+
"schema": {
|
63
|
+
"type": "array",
|
64
|
+
"items": {
|
65
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
66
|
+
}
|
67
|
+
}
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"name": "icecandidate",
|
71
|
+
"summary": "Lors de la réception d'un icecandidate",
|
72
|
+
"required": false,
|
73
|
+
"description": "Action déclenchée lors de la réception d'un icecandidate",
|
74
|
+
"schema": {
|
75
|
+
"type": "array",
|
76
|
+
"items": {
|
77
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
]
|
82
|
+
}
|
83
|
+
}
|
84
|
+
},
|
85
|
+
"components": {
|
86
|
+
"schemas": {}
|
87
|
+
},
|
88
|
+
"x-scene-blocks": {}
|
89
|
+
}
|
package/schema.json
ADDED
@@ -0,0 +1,89 @@
|
|
1
|
+
{
|
2
|
+
"openapi": "3.0.0",
|
3
|
+
"info": {
|
4
|
+
"title": "@digipair/skill-web-heygen",
|
5
|
+
"summary": "Heygen Display",
|
6
|
+
"description": "This skill manages the display of Heygen avatars.",
|
7
|
+
"version": "0.1.0",
|
8
|
+
"x-icon": "🔗"
|
9
|
+
},
|
10
|
+
"paths": {
|
11
|
+
"/digipair-heygen": {
|
12
|
+
"post": {
|
13
|
+
"tags": ["web"],
|
14
|
+
"summary": "Interactive Heygen Avatar",
|
15
|
+
"parameters": [
|
16
|
+
{
|
17
|
+
"name": "class",
|
18
|
+
"summary": "Class",
|
19
|
+
"description": "Class of the element.",
|
20
|
+
"required": false,
|
21
|
+
"schema": {
|
22
|
+
"type": "string"
|
23
|
+
}
|
24
|
+
},
|
25
|
+
{
|
26
|
+
"name": "style",
|
27
|
+
"summary": "Style",
|
28
|
+
"description": "CSS style of the element.",
|
29
|
+
"required": false,
|
30
|
+
"schema": {
|
31
|
+
"type": "string"
|
32
|
+
}
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"name": "id",
|
36
|
+
"summary": "Id",
|
37
|
+
"description": "Id of the element.",
|
38
|
+
"required": false,
|
39
|
+
"schema": {
|
40
|
+
"type": "string"
|
41
|
+
}
|
42
|
+
}
|
43
|
+
],
|
44
|
+
"x-events": [
|
45
|
+
{
|
46
|
+
"name": "status",
|
47
|
+
"summary": "On status change",
|
48
|
+
"required": false,
|
49
|
+
"description": "Action triggered on status change",
|
50
|
+
"schema": {
|
51
|
+
"type": "array",
|
52
|
+
"items": {
|
53
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
54
|
+
}
|
55
|
+
}
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"name": "message",
|
59
|
+
"summary": "On message",
|
60
|
+
"required": false,
|
61
|
+
"description": "Action triggered on message reception",
|
62
|
+
"schema": {
|
63
|
+
"type": "array",
|
64
|
+
"items": {
|
65
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
66
|
+
}
|
67
|
+
}
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"name": "icecandidate",
|
71
|
+
"summary": "On icecandidate reception",
|
72
|
+
"required": false,
|
73
|
+
"description": "Action triggered on icecandidate reception",
|
74
|
+
"schema": {
|
75
|
+
"type": "array",
|
76
|
+
"items": {
|
77
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
]
|
82
|
+
}
|
83
|
+
}
|
84
|
+
},
|
85
|
+
"components": {
|
86
|
+
"schemas": {}
|
87
|
+
},
|
88
|
+
"x-scene-blocks": {}
|
89
|
+
}
|