@fiction/sdk 1.0.7 → 1.0.10
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/demo/index.d.ts +225 -0
- package/dist/demo.js +637 -0
- package/dist/demo.js.map +1 -0
- package/dist/sdk.css +1 -1
- package/dist/sdk.js +749 -670
- package/dist/sdk.js.map +1 -1
- package/dist/sdkClient.d.ts +24 -0
- package/dist/sdkStorage.d.ts +8 -0
- package/dist/self/index.d.ts +2 -0
- package/dist/self/schema.d.ts +2 -2
- package/dist/self/ui/FictionWidget.vue.d.ts +17 -0
- package/dist/self/ui/SelfModal.vue.d.ts +16 -0
- package/dist/self.js +1619 -1335
- package/dist/self.js.map +1 -1
- package/package.json +6 -2
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
export type { Self } from '../../modules/self/schema';
|
|
2
|
+
export { getStaticSelfByHandle } from '../../modules/self/static';
|
|
3
|
+
export declare function getDemoSelves(): Partial<{
|
|
4
|
+
selfId?: string | undefined;
|
|
5
|
+
handle?: string | undefined;
|
|
6
|
+
ownerId?: string | undefined;
|
|
7
|
+
orgId?: string | undefined;
|
|
8
|
+
name?: string | undefined;
|
|
9
|
+
title?: string | null | undefined;
|
|
10
|
+
summary?: string | null | undefined;
|
|
11
|
+
entityType?: string | undefined;
|
|
12
|
+
avatarId?: string | null | undefined;
|
|
13
|
+
coverId?: string | null | undefined;
|
|
14
|
+
email?: string | null | undefined;
|
|
15
|
+
accounts?: Record<string, {
|
|
16
|
+
handle?: string | undefined;
|
|
17
|
+
url?: string | undefined;
|
|
18
|
+
}> | null | undefined;
|
|
19
|
+
basePrompt?: string | null | undefined;
|
|
20
|
+
firstMessage?: string | null | undefined;
|
|
21
|
+
personalityPrompt?: string | null | undefined;
|
|
22
|
+
useCustomPrompts?: boolean | null | undefined;
|
|
23
|
+
elevenlabsVoiceId?: string | null | undefined;
|
|
24
|
+
elevenlabsAgentId?: string | null | undefined;
|
|
25
|
+
headline?: string | null | undefined;
|
|
26
|
+
industry?: string | null | undefined;
|
|
27
|
+
location?: string | null | undefined;
|
|
28
|
+
influences?: string[] | null | undefined;
|
|
29
|
+
interests?: string[] | null | undefined;
|
|
30
|
+
personalDetails?: string | null | undefined;
|
|
31
|
+
cloutScore?: number | null | undefined;
|
|
32
|
+
gender?: string | null | undefined;
|
|
33
|
+
birthdayAt?: string | null | undefined;
|
|
34
|
+
businessTemplate?: string | null | undefined;
|
|
35
|
+
enrichment?: Record<string, any> | null | undefined;
|
|
36
|
+
onboarding?: Record<string, any> | null | undefined;
|
|
37
|
+
org?: {
|
|
38
|
+
orgId: string;
|
|
39
|
+
handle: string;
|
|
40
|
+
name: string;
|
|
41
|
+
status: string;
|
|
42
|
+
headline?: string | undefined;
|
|
43
|
+
summary?: string | undefined;
|
|
44
|
+
} | undefined;
|
|
45
|
+
visibility?: "public" | "private" | "org" | undefined;
|
|
46
|
+
status?: string | undefined;
|
|
47
|
+
createdAt?: string | undefined;
|
|
48
|
+
updatedAt?: string | undefined;
|
|
49
|
+
avatar?: {
|
|
50
|
+
mediaId?: string | undefined;
|
|
51
|
+
userId?: string | undefined;
|
|
52
|
+
orgId?: string | undefined;
|
|
53
|
+
selfId?: string | null | undefined;
|
|
54
|
+
filename?: string | undefined;
|
|
55
|
+
mimeType?: string | undefined;
|
|
56
|
+
size?: number | undefined;
|
|
57
|
+
src?: string | undefined;
|
|
58
|
+
alt?: string | undefined;
|
|
59
|
+
context?: "avatar" | "cover" | "voice" | "general" | undefined;
|
|
60
|
+
status?: "processing" | "active" | "failed" | "deleted" | undefined;
|
|
61
|
+
createdAt?: string | undefined;
|
|
62
|
+
updatedAt?: string | undefined;
|
|
63
|
+
format?: "image" | "video" | "audio" | undefined;
|
|
64
|
+
className?: string | undefined;
|
|
65
|
+
width?: number | undefined;
|
|
66
|
+
height?: number | undefined;
|
|
67
|
+
duration?: number | undefined;
|
|
68
|
+
blurhash?: string | undefined;
|
|
69
|
+
} | undefined;
|
|
70
|
+
cover?: {
|
|
71
|
+
mediaId?: string | undefined;
|
|
72
|
+
userId?: string | undefined;
|
|
73
|
+
orgId?: string | undefined;
|
|
74
|
+
selfId?: string | null | undefined;
|
|
75
|
+
filename?: string | undefined;
|
|
76
|
+
mimeType?: string | undefined;
|
|
77
|
+
size?: number | undefined;
|
|
78
|
+
src?: string | undefined;
|
|
79
|
+
alt?: string | undefined;
|
|
80
|
+
context?: "avatar" | "cover" | "voice" | "general" | undefined;
|
|
81
|
+
status?: "processing" | "active" | "failed" | "deleted" | undefined;
|
|
82
|
+
createdAt?: string | undefined;
|
|
83
|
+
updatedAt?: string | undefined;
|
|
84
|
+
format?: "image" | "video" | "audio" | undefined;
|
|
85
|
+
className?: string | undefined;
|
|
86
|
+
width?: number | undefined;
|
|
87
|
+
height?: number | undefined;
|
|
88
|
+
duration?: number | undefined;
|
|
89
|
+
blurhash?: string | undefined;
|
|
90
|
+
} | undefined;
|
|
91
|
+
voiceRecordings?: {
|
|
92
|
+
mediaId?: string | undefined;
|
|
93
|
+
userId?: string | undefined;
|
|
94
|
+
orgId?: string | undefined;
|
|
95
|
+
selfId?: string | null | undefined;
|
|
96
|
+
filename?: string | undefined;
|
|
97
|
+
mimeType?: string | undefined;
|
|
98
|
+
size?: number | undefined;
|
|
99
|
+
src?: string | undefined;
|
|
100
|
+
alt?: string | undefined;
|
|
101
|
+
context?: "avatar" | "cover" | "voice" | "general" | undefined;
|
|
102
|
+
status?: "processing" | "active" | "failed" | "deleted" | undefined;
|
|
103
|
+
createdAt?: string | undefined;
|
|
104
|
+
updatedAt?: string | undefined;
|
|
105
|
+
format?: "image" | "video" | "audio" | undefined;
|
|
106
|
+
className?: string | undefined;
|
|
107
|
+
width?: number | undefined;
|
|
108
|
+
height?: number | undefined;
|
|
109
|
+
duration?: number | undefined;
|
|
110
|
+
blurhash?: string | undefined;
|
|
111
|
+
}[] | undefined;
|
|
112
|
+
isPrimary?: boolean | undefined;
|
|
113
|
+
}>[];
|
|
114
|
+
export declare function getDemoSelfByHandle(handle: string): Partial<{
|
|
115
|
+
selfId?: string | undefined;
|
|
116
|
+
handle?: string | undefined;
|
|
117
|
+
ownerId?: string | undefined;
|
|
118
|
+
orgId?: string | undefined;
|
|
119
|
+
name?: string | undefined;
|
|
120
|
+
title?: string | null | undefined;
|
|
121
|
+
summary?: string | null | undefined;
|
|
122
|
+
entityType?: string | undefined;
|
|
123
|
+
avatarId?: string | null | undefined;
|
|
124
|
+
coverId?: string | null | undefined;
|
|
125
|
+
email?: string | null | undefined;
|
|
126
|
+
accounts?: Record<string, {
|
|
127
|
+
handle?: string | undefined;
|
|
128
|
+
url?: string | undefined;
|
|
129
|
+
}> | null | undefined;
|
|
130
|
+
basePrompt?: string | null | undefined;
|
|
131
|
+
firstMessage?: string | null | undefined;
|
|
132
|
+
personalityPrompt?: string | null | undefined;
|
|
133
|
+
useCustomPrompts?: boolean | null | undefined;
|
|
134
|
+
elevenlabsVoiceId?: string | null | undefined;
|
|
135
|
+
elevenlabsAgentId?: string | null | undefined;
|
|
136
|
+
headline?: string | null | undefined;
|
|
137
|
+
industry?: string | null | undefined;
|
|
138
|
+
location?: string | null | undefined;
|
|
139
|
+
influences?: string[] | null | undefined;
|
|
140
|
+
interests?: string[] | null | undefined;
|
|
141
|
+
personalDetails?: string | null | undefined;
|
|
142
|
+
cloutScore?: number | null | undefined;
|
|
143
|
+
gender?: string | null | undefined;
|
|
144
|
+
birthdayAt?: string | null | undefined;
|
|
145
|
+
businessTemplate?: string | null | undefined;
|
|
146
|
+
enrichment?: Record<string, any> | null | undefined;
|
|
147
|
+
onboarding?: Record<string, any> | null | undefined;
|
|
148
|
+
org?: {
|
|
149
|
+
orgId: string;
|
|
150
|
+
handle: string;
|
|
151
|
+
name: string;
|
|
152
|
+
status: string;
|
|
153
|
+
headline?: string | undefined;
|
|
154
|
+
summary?: string | undefined;
|
|
155
|
+
} | undefined;
|
|
156
|
+
visibility?: "public" | "private" | "org" | undefined;
|
|
157
|
+
status?: string | undefined;
|
|
158
|
+
createdAt?: string | undefined;
|
|
159
|
+
updatedAt?: string | undefined;
|
|
160
|
+
avatar?: {
|
|
161
|
+
mediaId?: string | undefined;
|
|
162
|
+
userId?: string | undefined;
|
|
163
|
+
orgId?: string | undefined;
|
|
164
|
+
selfId?: string | null | undefined;
|
|
165
|
+
filename?: string | undefined;
|
|
166
|
+
mimeType?: string | undefined;
|
|
167
|
+
size?: number | undefined;
|
|
168
|
+
src?: string | undefined;
|
|
169
|
+
alt?: string | undefined;
|
|
170
|
+
context?: "avatar" | "cover" | "voice" | "general" | undefined;
|
|
171
|
+
status?: "processing" | "active" | "failed" | "deleted" | undefined;
|
|
172
|
+
createdAt?: string | undefined;
|
|
173
|
+
updatedAt?: string | undefined;
|
|
174
|
+
format?: "image" | "video" | "audio" | undefined;
|
|
175
|
+
className?: string | undefined;
|
|
176
|
+
width?: number | undefined;
|
|
177
|
+
height?: number | undefined;
|
|
178
|
+
duration?: number | undefined;
|
|
179
|
+
blurhash?: string | undefined;
|
|
180
|
+
} | undefined;
|
|
181
|
+
cover?: {
|
|
182
|
+
mediaId?: string | undefined;
|
|
183
|
+
userId?: string | undefined;
|
|
184
|
+
orgId?: string | undefined;
|
|
185
|
+
selfId?: string | null | undefined;
|
|
186
|
+
filename?: string | undefined;
|
|
187
|
+
mimeType?: string | undefined;
|
|
188
|
+
size?: number | undefined;
|
|
189
|
+
src?: string | undefined;
|
|
190
|
+
alt?: string | undefined;
|
|
191
|
+
context?: "avatar" | "cover" | "voice" | "general" | undefined;
|
|
192
|
+
status?: "processing" | "active" | "failed" | "deleted" | undefined;
|
|
193
|
+
createdAt?: string | undefined;
|
|
194
|
+
updatedAt?: string | undefined;
|
|
195
|
+
format?: "image" | "video" | "audio" | undefined;
|
|
196
|
+
className?: string | undefined;
|
|
197
|
+
width?: number | undefined;
|
|
198
|
+
height?: number | undefined;
|
|
199
|
+
duration?: number | undefined;
|
|
200
|
+
blurhash?: string | undefined;
|
|
201
|
+
} | undefined;
|
|
202
|
+
voiceRecordings?: {
|
|
203
|
+
mediaId?: string | undefined;
|
|
204
|
+
userId?: string | undefined;
|
|
205
|
+
orgId?: string | undefined;
|
|
206
|
+
selfId?: string | null | undefined;
|
|
207
|
+
filename?: string | undefined;
|
|
208
|
+
mimeType?: string | undefined;
|
|
209
|
+
size?: number | undefined;
|
|
210
|
+
src?: string | undefined;
|
|
211
|
+
alt?: string | undefined;
|
|
212
|
+
context?: "avatar" | "cover" | "voice" | "general" | undefined;
|
|
213
|
+
status?: "processing" | "active" | "failed" | "deleted" | undefined;
|
|
214
|
+
createdAt?: string | undefined;
|
|
215
|
+
updatedAt?: string | undefined;
|
|
216
|
+
format?: "image" | "video" | "audio" | undefined;
|
|
217
|
+
className?: string | undefined;
|
|
218
|
+
width?: number | undefined;
|
|
219
|
+
height?: number | undefined;
|
|
220
|
+
duration?: number | undefined;
|
|
221
|
+
blurhash?: string | undefined;
|
|
222
|
+
}[] | undefined;
|
|
223
|
+
isPrimary?: boolean | undefined;
|
|
224
|
+
}> | undefined;
|
|
225
|
+
export { staticSelves } from '../../modules/self/static/data';
|