@pagelines/sdk 1.0.877 → 1.0.879

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 (92) hide show
  1. package/README.md +68 -68
  2. package/dist/BotProvider.js +777 -0
  3. package/dist/BotProvider.js.map +1 -0
  4. package/dist/{AgentWidgetInline.js → BotWidgetInline.js} +8 -8
  5. package/dist/BotWidgetInline.js.map +1 -0
  6. package/dist/{AgentWidgetModal.js → BotWidgetModal.js} +7 -7
  7. package/dist/BotWidgetModal.js.map +1 -0
  8. package/dist/{AgentWrap.js → BotWrap.js} +1202 -1155
  9. package/dist/BotWrap.js.map +1 -0
  10. package/dist/{agent/AgentController.d.ts → bot/BotController.d.ts} +36 -18
  11. package/dist/bot/index.d.ts +14 -0
  12. package/dist/{agent → bot}/schema.d.ts +6 -6
  13. package/dist/{agent/ui/AgentAvatar.vue.d.ts → bot/ui/BotAvatar.vue.d.ts} +6 -6
  14. package/dist/{agent/ui/AgentChat.vue.d.ts → bot/ui/BotChat.vue.d.ts} +5 -5
  15. package/dist/{agent/ui/AgentProvider.vue.d.ts → bot/ui/BotProvider.vue.d.ts} +3 -3
  16. package/dist/{agent/ui/AgentWrap.vue.d.ts → bot/ui/BotWrap.vue.d.ts} +3 -4
  17. package/dist/{agent/ui/ElAgentAbout.vue.d.ts → bot/ui/ElBotAbout.vue.d.ts} +2 -2
  18. package/dist/{agent/ui/ElAgentChat.vue.d.ts → bot/ui/ElBotChat.vue.d.ts} +5 -5
  19. package/dist/{agent/ui/ElAgentChatPreview.vue.d.ts → bot/ui/ElBotChatPreview.vue.d.ts} +1 -1
  20. package/dist/{agent/ui/ElAgentHeader.vue.d.ts → bot/ui/ElBotHeader.vue.d.ts} +2 -2
  21. package/dist/{agent/ui/ElAgentModeSidebar.vue.d.ts → bot/ui/ElBotModeSidebar.vue.d.ts} +2 -2
  22. package/dist/{agent/ui/ElAgentSidebar.vue.d.ts → bot/ui/ElBotSidebar.vue.d.ts} +2 -2
  23. package/dist/bot/ui/ElCreateBot.vue.d.ts +12 -0
  24. package/dist/{agent → bot}/ui/ElModeHeader.vue.d.ts +2 -2
  25. package/dist/{agent → bot}/ui/ElProvisioningStatus.vue.d.ts +1 -1
  26. package/dist/{agent → bot}/ui/VoiceMode.vue.d.ts +4 -4
  27. package/dist/{agent → bot}/utils.d.ts +5 -5
  28. package/dist/{agent → bot}/voice/provider.d.ts +2 -2
  29. package/dist/{agent → bot}/voice/providers/livekit/provider.d.ts +8 -7
  30. package/dist/{agent → bot}/voice/voice-session-client.d.ts +2 -1
  31. package/dist/{agent → bot}/work-journal.d.ts +1 -1
  32. package/dist/{agent.js → bot.js} +89 -84
  33. package/dist/bot.js.map +1 -0
  34. package/dist/clients/BillingClient.d.ts +1 -1
  35. package/dist/clients/BotClient.d.ts +26 -0
  36. package/dist/clients/ChatClient.d.ts +6 -5
  37. package/dist/clients/ComputerClient.d.ts +16 -0
  38. package/dist/clients/UserClient.d.ts +4 -7
  39. package/dist/clients/types.d.ts +7 -2
  40. package/dist/contract/build.d.ts +1 -2
  41. package/dist/index.d.ts +3 -2
  42. package/dist/provider.js +1 -1
  43. package/dist/provider.js.map +1 -1
  44. package/dist/provider2.js +28 -36
  45. package/dist/provider2.js.map +1 -1
  46. package/dist/sdk.css +1 -1
  47. package/dist/sdk.js +4 -4
  48. package/dist/sdkClient.d.ts +33 -376
  49. package/dist/sdkClient.js +168 -170
  50. package/dist/sdkClient.js.map +1 -1
  51. package/dist/useWidgetState.js +9 -9
  52. package/dist/useWidgetState.js.map +1 -1
  53. package/dist/widget/PLWidget.d.ts +6 -6
  54. package/dist/widget/composables/useWidgetState.d.ts +3 -402
  55. package/dist/widget/index.d.ts +2 -2
  56. package/dist/widget/mode.d.ts +2 -2
  57. package/dist/widget/ui/{AgentWidgetInline.vue.d.ts → BotWidgetInline.vue.d.ts} +2 -2
  58. package/dist/widget/ui/{AgentWidgetModal.vue.d.ts → BotWidgetModal.vue.d.ts} +2 -2
  59. package/dist/widget/ui/{AgentWidgetPopup.vue.d.ts → BotWidgetPopup.vue.d.ts} +4 -4
  60. package/dist/widget.js +206 -206
  61. package/dist/widget.js.map +1 -1
  62. package/package.json +5 -5
  63. package/dist/AgentProvider.js +0 -764
  64. package/dist/AgentProvider.js.map +0 -1
  65. package/dist/AgentWidgetInline.js.map +0 -1
  66. package/dist/AgentWidgetModal.js.map +0 -1
  67. package/dist/AgentWrap.js.map +0 -1
  68. package/dist/agent/index.d.ts +0 -14
  69. package/dist/agent/ui/ElCreateAgent.vue.d.ts +0 -277
  70. package/dist/agent.js.map +0 -1
  71. package/dist/clients/AgentClient.d.ts +0 -48
  72. /package/dist/{agent → bot}/VoiceRecorderController.d.ts +0 -0
  73. /package/dist/{agent/ui/AgentInputEmail.vue.d.ts → bot/ui/BotInputEmail.vue.d.ts} +0 -0
  74. /package/dist/{agent/ui/AgentInputOneTimeCode.vue.d.ts → bot/ui/BotInputOneTimeCode.vue.d.ts} +0 -0
  75. /package/dist/{agent/ui/AgentSidebarClose.vue.d.ts → bot/ui/BotSidebarClose.vue.d.ts} +0 -0
  76. /package/dist/{agent/ui/AgentToolActivityGroup.vue.d.ts → bot/ui/BotToolActivityGroup.vue.d.ts} +0 -0
  77. /package/dist/{agent/ui/AgentWidget.vue.d.ts → bot/ui/BotWidget.vue.d.ts} +0 -0
  78. /package/dist/{agent → bot}/ui/ChatCardBlock.vue.d.ts +0 -0
  79. /package/dist/{agent → bot}/ui/ChatRichText.vue.d.ts +0 -0
  80. /package/dist/{agent → bot}/ui/ChatScroller.vue.d.ts +0 -0
  81. /package/dist/{agent → bot}/ui/ChatVisualBlock.vue.d.ts +0 -0
  82. /package/dist/{agent → bot}/ui/ElAuthGate.vue.d.ts +0 -0
  83. /package/dist/{agent → bot}/ui/ElAuthPanel.vue.d.ts +0 -0
  84. /package/dist/{agent/ui/ElAgentButton.vue.d.ts → bot/ui/ElBotButton.vue.d.ts} +0 -0
  85. /package/dist/{agent → bot}/ui/ElSidebar.vue.d.ts +0 -0
  86. /package/dist/{agent → bot}/ui/VoiceHistogramController.d.ts +0 -0
  87. /package/dist/{agent → bot}/ui/chat-diagram-layout.d.ts +0 -0
  88. /package/dist/{agent → bot}/ui/chat-visual-format.d.ts +0 -0
  89. /package/dist/{agent → bot}/ui/voice-mode-presentation.d.ts +0 -0
  90. /package/dist/{agent → bot}/voice/voice-error-copy.d.ts +0 -0
  91. /package/dist/{agent → bot}/voice/voice-work-state.d.ts +0 -0
  92. /package/dist/widget/ui/{AgentWidgetOnboard.vue.d.ts → BotWidgetOnboard.vue.d.ts} +0 -0
package/dist/sdk.css CHANGED
@@ -1,2 +1,2 @@
1
- :where(.spinner){color:var(--color-theme-300)}.ring-circular{animation:1s linear infinite rotate}.ring-path{will-change:stroke-dasharray;will-change:stroke-dashoffset;stroke-dasharray:1 200;stroke-dashoffset:0;stroke-linecap:round;animation:2s ease-in-out infinite dash}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1 200;stroke-dashoffset:0}50%{stroke-dasharray:89 200;stroke-dashoffset:-35px}to{stroke-dasharray:89 200;stroke-dashoffset:-124px}}.voice-call-enter-active[data-v-7acea729]{transition:opacity .3s cubic-bezier(.25,1,.33,1)}.voice-call-leave-active[data-v-7acea729]{transition:opacity .2s cubic-bezier(.5,0,.75,0)}.voice-call-enter-active .voice-call-card[data-v-7acea729]{transition:transform .42s cubic-bezier(.25,1,.33,1)}.voice-call-leave-active .voice-call-card[data-v-7acea729]{transition:transform .2s cubic-bezier(.5,0,.75,0)}.voice-call-enter-from[data-v-7acea729],.voice-call-leave-to[data-v-7acea729]{opacity:0}.voice-call-enter-from .voice-call-card[data-v-7acea729]{transform:translateY(32px)}.voice-call-leave-to .voice-call-card[data-v-7acea729]{transform:translateY(12px)}@media (prefers-reduced-motion:reduce){.voice-call-enter-active[data-v-7acea729],.voice-call-leave-active[data-v-7acea729],.voice-call-enter-active .voice-call-card[data-v-7acea729],.voice-call-leave-active .voice-call-card[data-v-7acea729]{transition-duration:1ms}.voice-call-enter-from .voice-call-card[data-v-7acea729],.voice-call-leave-to .voice-call-card[data-v-7acea729]{transform:none}}.nlist-enter-active,.nlist-leave-active,.nlist-move{transition:all .6s cubic-bezier(.68,-.55,.27,1.55)}.nlist-enter-from{opacity:0;transform:translate(-30px)scale(.9)}.nlist-enter-to{opacity:1;transform:translate(0)scale(1)}.nlist-leave-active{position:absolute}.nlist-leave-to{opacity:0;transform:scale(.9)}.widget-container[data-v-96deba7b]{transition:width .4s cubic-bezier(.32,.72,0,1),height .4s cubic-bezier(.32,.72,0,1),border-radius .4s cubic-bezier(.32,.72,0,1),box-shadow .4s cubic-bezier(.32,.72,0,1)}
1
+ :where(.spinner){color:var(--color-theme-300)}.ring-circular{animation:1s linear infinite rotate}.ring-path{will-change:stroke-dasharray;will-change:stroke-dashoffset;stroke-dasharray:1 200;stroke-dashoffset:0;stroke-linecap:round;animation:2s ease-in-out infinite dash}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1 200;stroke-dashoffset:0}50%{stroke-dasharray:89 200;stroke-dashoffset:-35px}to{stroke-dasharray:89 200;stroke-dashoffset:-124px}}.voice-call-enter-active[data-v-05d471e7]{transition:opacity .3s cubic-bezier(.25,1,.33,1)}.voice-call-leave-active[data-v-05d471e7]{transition:opacity .2s cubic-bezier(.5,0,.75,0)}.voice-call-enter-active .voice-call-card[data-v-05d471e7]{transition:transform .42s cubic-bezier(.25,1,.33,1)}.voice-call-leave-active .voice-call-card[data-v-05d471e7]{transition:transform .2s cubic-bezier(.5,0,.75,0)}.voice-call-enter-from[data-v-05d471e7],.voice-call-leave-to[data-v-05d471e7]{opacity:0}.voice-call-enter-from .voice-call-card[data-v-05d471e7]{transform:translateY(32px)}.voice-call-leave-to .voice-call-card[data-v-05d471e7]{transform:translateY(12px)}@media (prefers-reduced-motion:reduce){.voice-call-enter-active[data-v-05d471e7],.voice-call-leave-active[data-v-05d471e7],.voice-call-enter-active .voice-call-card[data-v-05d471e7],.voice-call-leave-active .voice-call-card[data-v-05d471e7]{transition-duration:1ms}.voice-call-enter-from .voice-call-card[data-v-05d471e7],.voice-call-leave-to .voice-call-card[data-v-05d471e7]{transform:none}}.nlist-enter-active,.nlist-leave-active,.nlist-move{transition:all .6s cubic-bezier(.68,-.55,.27,1.55)}.nlist-enter-from{opacity:0;transform:translate(-30px)scale(.9)}.nlist-enter-to{opacity:1;transform:translate(0)scale(1)}.nlist-leave-active{position:absolute}.nlist-leave-to{opacity:0;transform:scale(.9)}.widget-container[data-v-5674cae2]{transition:width .4s cubic-bezier(.32,.72,0,1),height .4s cubic-bezier(.32,.72,0,1),border-radius .4s cubic-bezier(.32,.72,0,1),box-shadow .4s cubic-bezier(.32,.72,0,1)}
2
2
  /*$vite$:1*/
package/dist/sdk.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as e, i as t, n, o as r, r as i, t as a } from "./sdkClient.js";
2
- import { SOCIAL_PLATFORMS as o } from "./constants.js";
3
- import { MediaSchema as s } from "@pagelines/core";
4
- export { r as AgentClient, e as AuthClient, t as BillingClient, i as ChatClient, s as MediaSchema, a as PageLinesSDK, o as SOCIAL_PLATFORMS, n as UserClient };
1
+ import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./sdkClient.js";
2
+ import { SOCIAL_PLATFORMS as s } from "./constants.js";
3
+ import { MediaSchema as c } from "@pagelines/core";
4
+ export { e as AuthClient, t as BillingClient, a as BotClient, i as ChatClient, r as ComputerClient, c as MediaSchema, o as PageLinesSDK, s as SOCIAL_PLATFORMS, n as UserClient };
@@ -1,5 +1,6 @@
1
1
  import { ApiResponse, EnrichedUser, SettingsObject } from '@pagelines/core';
2
- import { AgentClient } from './clients/AgentClient';
2
+ import { BotClient } from './clients/BotClient';
3
+ import { ComputerClient } from './clients/ComputerClient';
3
4
  import { AuthClient } from './clients/AuthClient';
4
5
  import { BillingClient } from './clients/BillingClient';
5
6
  import { ChatClient } from './clients/ChatClient';
@@ -18,6 +19,7 @@ export declare class PageLinesSDK extends SettingsObject<PageLinesSDKSettings> {
18
19
  static getInstance(settings?: PageLinesSDKSettings): PageLinesSDK;
19
20
  activeUser: import('vue').Ref<{
20
21
  userId: string;
22
+ lastBotId?: string | null | undefined;
21
23
  email?: string | undefined;
22
24
  handle?: string | undefined;
23
25
  fullName?: string | undefined;
@@ -28,14 +30,14 @@ export declare class PageLinesSDK extends SettingsObject<PageLinesSDKSettings> {
28
30
  mediaId?: string | undefined;
29
31
  userId?: string | undefined;
30
32
  orgId?: string | undefined;
31
- agentId?: string | null | undefined;
33
+ botId?: string | null | undefined;
32
34
  filename?: string | undefined;
33
35
  mimeType?: string | undefined;
34
36
  size?: number | undefined;
35
37
  src?: string | undefined;
36
38
  alt?: string | undefined;
37
39
  context?: "avatar" | "cover" | "general" | undefined;
38
- status?: "processing" | "active" | "failed" | "deleted" | undefined;
40
+ status?: "failed" | "processing" | "active" | "deleted" | undefined;
39
41
  quality?: "high" | "low" | "standard" | undefined;
40
42
  createdAt?: string | undefined;
41
43
  updatedAt?: string | undefined;
@@ -48,11 +50,9 @@ export declare class PageLinesSDK extends SettingsObject<PageLinesSDKSettings> {
48
50
  blurhash?: string | undefined;
49
51
  } | undefined;
50
52
  isEmailVerified?: boolean | undefined;
51
- primaryAgentId?: string | undefined;
52
53
  primaryOrgId?: string | undefined;
53
54
  lastActiveOrgId?: string | undefined;
54
55
  onboarding?: any;
55
- recentAgentIds?: string[] | undefined;
56
56
  location?: string | undefined;
57
57
  geo?: any;
58
58
  systemRole?: string | undefined;
@@ -66,21 +66,21 @@ export declare class PageLinesSDK extends SettingsObject<PageLinesSDKSettings> {
66
66
  orgId: string;
67
67
  name: string;
68
68
  handle: string;
69
- role: "owner" | "member" | "admin" | "observer";
69
+ role: "owner" | "admin" | "member" | "observer";
70
70
  joinedAt: string;
71
71
  avatarId?: string | undefined;
72
72
  avatar?: {
73
73
  mediaId?: string | undefined;
74
74
  userId?: string | undefined;
75
75
  orgId?: string | undefined;
76
- agentId?: string | null | undefined;
76
+ botId?: string | null | undefined;
77
77
  filename?: string | undefined;
78
78
  mimeType?: string | undefined;
79
79
  size?: number | undefined;
80
80
  src?: string | undefined;
81
81
  alt?: string | undefined;
82
82
  context?: "avatar" | "cover" | "general" | undefined;
83
- status?: "processing" | "active" | "failed" | "deleted" | undefined;
83
+ status?: "failed" | "processing" | "active" | "deleted" | undefined;
84
84
  quality?: "high" | "low" | "standard" | undefined;
85
85
  createdAt?: string | undefined;
86
86
  updatedAt?: string | undefined;
@@ -97,14 +97,14 @@ export declare class PageLinesSDK extends SettingsObject<PageLinesSDKSettings> {
97
97
  mediaId?: string | undefined;
98
98
  userId?: string | undefined;
99
99
  orgId?: string | undefined;
100
- agentId?: string | null | undefined;
100
+ botId?: string | null | undefined;
101
101
  filename?: string | undefined;
102
102
  mimeType?: string | undefined;
103
103
  size?: number | undefined;
104
104
  src?: string | undefined;
105
105
  alt?: string | undefined;
106
106
  context?: "avatar" | "cover" | "general" | undefined;
107
- status?: "processing" | "active" | "failed" | "deleted" | undefined;
107
+ status?: "failed" | "processing" | "active" | "deleted" | undefined;
108
108
  quality?: "high" | "low" | "standard" | undefined;
109
109
  createdAt?: string | undefined;
110
110
  updatedAt?: string | undefined;
@@ -118,7 +118,8 @@ export declare class PageLinesSDK extends SettingsObject<PageLinesSDKSettings> {
118
118
  } | undefined;
119
119
  inviterName?: string | undefined;
120
120
  memberCount?: number | undefined;
121
- agentCount?: number | undefined;
121
+ hasComputer?: boolean | undefined;
122
+ computerCount?: number | undefined;
122
123
  onboarding?: {
123
124
  completedAt?: string | undefined;
124
125
  setupBy?: string | undefined;
@@ -128,124 +129,9 @@ export declare class PageLinesSDK extends SettingsObject<PageLinesSDKSettings> {
128
129
  domainsSetup?: boolean | undefined;
129
130
  } | undefined;
130
131
  }[] | undefined;
131
- agents?: {
132
- agentId?: string | undefined;
133
- handle?: string | undefined;
134
- ownerId?: string | undefined;
135
- orgId?: string | undefined;
136
- name?: string | undefined;
137
- emoji?: string | null | undefined;
138
- title?: string | null | undefined;
139
- summary?: string | null | undefined;
140
- entityType?: string | undefined;
141
- avatarId?: string | null | undefined;
142
- coverId?: string | null | undefined;
143
- avatar?: {
144
- mediaId?: string | undefined;
145
- userId?: string | undefined;
146
- orgId?: string | undefined;
147
- agentId?: string | null | undefined;
148
- filename?: string | undefined;
149
- mimeType?: string | undefined;
150
- size?: number | undefined;
151
- src?: string | undefined;
152
- alt?: string | undefined;
153
- context?: "avatar" | "cover" | "general" | undefined;
154
- status?: "processing" | "active" | "failed" | "deleted" | undefined;
155
- quality?: "high" | "low" | "standard" | undefined;
156
- createdAt?: string | undefined;
157
- updatedAt?: string | undefined;
158
- type?: "audio" | "document" | "image" | "video" | undefined;
159
- mediaType?: "audio" | "document" | "image" | "video" | undefined;
160
- className?: string | undefined;
161
- width?: number | undefined;
162
- height?: number | undefined;
163
- duration?: number | undefined;
164
- blurhash?: string | undefined;
165
- } | undefined;
166
- cover?: {
167
- mediaId?: string | undefined;
168
- userId?: string | undefined;
169
- orgId?: string | undefined;
170
- agentId?: string | null | undefined;
171
- filename?: string | undefined;
172
- mimeType?: string | undefined;
173
- size?: number | undefined;
174
- src?: string | undefined;
175
- alt?: string | undefined;
176
- context?: "avatar" | "cover" | "general" | undefined;
177
- status?: "processing" | "active" | "failed" | "deleted" | undefined;
178
- quality?: "high" | "low" | "standard" | undefined;
179
- createdAt?: string | undefined;
180
- updatedAt?: string | undefined;
181
- type?: "audio" | "document" | "image" | "video" | undefined;
182
- mediaType?: "audio" | "document" | "image" | "video" | undefined;
183
- className?: string | undefined;
184
- width?: number | undefined;
185
- height?: number | undefined;
186
- duration?: number | undefined;
187
- blurhash?: string | undefined;
188
- } | undefined;
189
- email?: string | null | undefined;
190
- website?: string | null | undefined;
191
- accounts?: {
192
- platform: "email" | "website" | "linkedin" | "x" | "facebook" | "tiktok" | "youtube" | "github" | "instagram" | "threads" | "phone";
193
- handle: string;
194
- }[] | null | undefined;
195
- model?: string | null | undefined;
196
- gender?: "woman" | "man" | undefined;
197
- voiceKey?: "lauren" | "amy" | "eve" | "korina" | "tamsin" | "jessica" | "jude" | "adam" | "evan" | "jon" | "joe" | "julius" | "chuck" | null | undefined;
198
- billingTier?: "essential" | "professional" | "business" | undefined;
199
- lastActiveAt?: string | null | undefined;
200
- lastMessageAt?: string | null | undefined;
201
- runtime?: string | undefined;
202
- timezone?: string | undefined;
203
- desiredStatus?: "active" | "stopped" | null | undefined;
204
- routinePrimaryChannel?: string | undefined;
205
- onboardingStage?: "identity" | "working-style" | "complete" | null | undefined;
206
- onboardedAt?: string | null | undefined;
207
- org?: {
208
- orgId: string;
209
- handle: string;
210
- name: string;
211
- status: string;
212
- headline?: string | undefined;
213
- summary?: string | undefined;
214
- } | undefined;
215
- owner?: {
216
- userId: string;
217
- fullName?: string | undefined;
218
- avatar?: {
219
- mediaId?: string | undefined;
220
- userId?: string | undefined;
221
- orgId?: string | undefined;
222
- agentId?: string | null | undefined;
223
- filename?: string | undefined;
224
- mimeType?: string | undefined;
225
- size?: number | undefined;
226
- src?: string | undefined;
227
- alt?: string | undefined;
228
- context?: "avatar" | "cover" | "general" | undefined;
229
- status?: "processing" | "active" | "failed" | "deleted" | undefined;
230
- quality?: "high" | "low" | "standard" | undefined;
231
- createdAt?: string | undefined;
232
- updatedAt?: string | undefined;
233
- type?: "audio" | "document" | "image" | "video" | undefined;
234
- mediaType?: "audio" | "document" | "image" | "video" | undefined;
235
- className?: string | undefined;
236
- width?: number | undefined;
237
- height?: number | undefined;
238
- duration?: number | undefined;
239
- blurhash?: string | undefined;
240
- } | undefined;
241
- } | undefined;
242
- visibility?: "org" | "private" | "public" | undefined;
243
- status?: string | undefined;
244
- createdAt?: string | undefined;
245
- updatedAt?: string | undefined;
246
- }[] | undefined;
247
132
  } | undefined, {
248
133
  userId: string;
134
+ lastBotId?: string | null | undefined;
249
135
  email?: string | undefined;
250
136
  handle?: string | undefined;
251
137
  fullName?: string | undefined;
@@ -256,14 +142,14 @@ export declare class PageLinesSDK extends SettingsObject<PageLinesSDKSettings> {
256
142
  mediaId?: string | undefined;
257
143
  userId?: string | undefined;
258
144
  orgId?: string | undefined;
259
- agentId?: string | null | undefined;
145
+ botId?: string | null | undefined;
260
146
  filename?: string | undefined;
261
147
  mimeType?: string | undefined;
262
148
  size?: number | undefined;
263
149
  src?: string | undefined;
264
150
  alt?: string | undefined;
265
151
  context?: "avatar" | "cover" | "general" | undefined;
266
- status?: "processing" | "active" | "failed" | "deleted" | undefined;
152
+ status?: "failed" | "processing" | "active" | "deleted" | undefined;
267
153
  quality?: "high" | "low" | "standard" | undefined;
268
154
  createdAt?: string | undefined;
269
155
  updatedAt?: string | undefined;
@@ -276,11 +162,9 @@ export declare class PageLinesSDK extends SettingsObject<PageLinesSDKSettings> {
276
162
  blurhash?: string | undefined;
277
163
  } | undefined;
278
164
  isEmailVerified?: boolean | undefined;
279
- primaryAgentId?: string | undefined;
280
165
  primaryOrgId?: string | undefined;
281
166
  lastActiveOrgId?: string | undefined;
282
167
  onboarding?: any;
283
- recentAgentIds?: string[] | undefined;
284
168
  location?: string | undefined;
285
169
  geo?: any;
286
170
  systemRole?: string | undefined;
@@ -294,21 +178,21 @@ export declare class PageLinesSDK extends SettingsObject<PageLinesSDKSettings> {
294
178
  orgId: string;
295
179
  name: string;
296
180
  handle: string;
297
- role: "owner" | "member" | "admin" | "observer";
181
+ role: "owner" | "admin" | "member" | "observer";
298
182
  joinedAt: string;
299
183
  avatarId?: string | undefined;
300
184
  avatar?: {
301
185
  mediaId?: string | undefined;
302
186
  userId?: string | undefined;
303
187
  orgId?: string | undefined;
304
- agentId?: string | null | undefined;
188
+ botId?: string | null | undefined;
305
189
  filename?: string | undefined;
306
190
  mimeType?: string | undefined;
307
191
  size?: number | undefined;
308
192
  src?: string | undefined;
309
193
  alt?: string | undefined;
310
194
  context?: "avatar" | "cover" | "general" | undefined;
311
- status?: "processing" | "active" | "failed" | "deleted" | undefined;
195
+ status?: "failed" | "processing" | "active" | "deleted" | undefined;
312
196
  quality?: "high" | "low" | "standard" | undefined;
313
197
  createdAt?: string | undefined;
314
198
  updatedAt?: string | undefined;
@@ -325,14 +209,14 @@ export declare class PageLinesSDK extends SettingsObject<PageLinesSDKSettings> {
325
209
  mediaId?: string | undefined;
326
210
  userId?: string | undefined;
327
211
  orgId?: string | undefined;
328
- agentId?: string | null | undefined;
212
+ botId?: string | null | undefined;
329
213
  filename?: string | undefined;
330
214
  mimeType?: string | undefined;
331
215
  size?: number | undefined;
332
216
  src?: string | undefined;
333
217
  alt?: string | undefined;
334
218
  context?: "avatar" | "cover" | "general" | undefined;
335
- status?: "processing" | "active" | "failed" | "deleted" | undefined;
219
+ status?: "failed" | "processing" | "active" | "deleted" | undefined;
336
220
  quality?: "high" | "low" | "standard" | undefined;
337
221
  createdAt?: string | undefined;
338
222
  updatedAt?: string | undefined;
@@ -346,7 +230,8 @@ export declare class PageLinesSDK extends SettingsObject<PageLinesSDKSettings> {
346
230
  } | undefined;
347
231
  inviterName?: string | undefined;
348
232
  memberCount?: number | undefined;
349
- agentCount?: number | undefined;
233
+ hasComputer?: boolean | undefined;
234
+ computerCount?: number | undefined;
350
235
  onboarding?: {
351
236
  completedAt?: string | undefined;
352
237
  setupBy?: string | undefined;
@@ -356,122 +241,6 @@ export declare class PageLinesSDK extends SettingsObject<PageLinesSDKSettings> {
356
241
  domainsSetup?: boolean | undefined;
357
242
  } | undefined;
358
243
  }[] | undefined;
359
- agents?: {
360
- agentId?: string | undefined;
361
- handle?: string | undefined;
362
- ownerId?: string | undefined;
363
- orgId?: string | undefined;
364
- name?: string | undefined;
365
- emoji?: string | null | undefined;
366
- title?: string | null | undefined;
367
- summary?: string | null | undefined;
368
- entityType?: string | undefined;
369
- avatarId?: string | null | undefined;
370
- coverId?: string | null | undefined;
371
- avatar?: {
372
- mediaId?: string | undefined;
373
- userId?: string | undefined;
374
- orgId?: string | undefined;
375
- agentId?: string | null | undefined;
376
- filename?: string | undefined;
377
- mimeType?: string | undefined;
378
- size?: number | undefined;
379
- src?: string | undefined;
380
- alt?: string | undefined;
381
- context?: "avatar" | "cover" | "general" | undefined;
382
- status?: "processing" | "active" | "failed" | "deleted" | undefined;
383
- quality?: "high" | "low" | "standard" | undefined;
384
- createdAt?: string | undefined;
385
- updatedAt?: string | undefined;
386
- type?: "audio" | "document" | "image" | "video" | undefined;
387
- mediaType?: "audio" | "document" | "image" | "video" | undefined;
388
- className?: string | undefined;
389
- width?: number | undefined;
390
- height?: number | undefined;
391
- duration?: number | undefined;
392
- blurhash?: string | undefined;
393
- } | undefined;
394
- cover?: {
395
- mediaId?: string | undefined;
396
- userId?: string | undefined;
397
- orgId?: string | undefined;
398
- agentId?: string | null | undefined;
399
- filename?: string | undefined;
400
- mimeType?: string | undefined;
401
- size?: number | undefined;
402
- src?: string | undefined;
403
- alt?: string | undefined;
404
- context?: "avatar" | "cover" | "general" | undefined;
405
- status?: "processing" | "active" | "failed" | "deleted" | undefined;
406
- quality?: "high" | "low" | "standard" | undefined;
407
- createdAt?: string | undefined;
408
- updatedAt?: string | undefined;
409
- type?: "audio" | "document" | "image" | "video" | undefined;
410
- mediaType?: "audio" | "document" | "image" | "video" | undefined;
411
- className?: string | undefined;
412
- width?: number | undefined;
413
- height?: number | undefined;
414
- duration?: number | undefined;
415
- blurhash?: string | undefined;
416
- } | undefined;
417
- email?: string | null | undefined;
418
- website?: string | null | undefined;
419
- accounts?: {
420
- platform: "email" | "website" | "linkedin" | "x" | "facebook" | "tiktok" | "youtube" | "github" | "instagram" | "threads" | "phone";
421
- handle: string;
422
- }[] | null | undefined;
423
- model?: string | null | undefined;
424
- gender?: "woman" | "man" | undefined;
425
- voiceKey?: "lauren" | "amy" | "eve" | "korina" | "tamsin" | "jessica" | "jude" | "adam" | "evan" | "jon" | "joe" | "julius" | "chuck" | null | undefined;
426
- billingTier?: "essential" | "professional" | "business" | undefined;
427
- lastActiveAt?: string | null | undefined;
428
- lastMessageAt?: string | null | undefined;
429
- runtime?: string | undefined;
430
- timezone?: string | undefined;
431
- desiredStatus?: "active" | "stopped" | null | undefined;
432
- routinePrimaryChannel?: string | undefined;
433
- onboardingStage?: "identity" | "working-style" | "complete" | null | undefined;
434
- onboardedAt?: string | null | undefined;
435
- org?: {
436
- orgId: string;
437
- handle: string;
438
- name: string;
439
- status: string;
440
- headline?: string | undefined;
441
- summary?: string | undefined;
442
- } | undefined;
443
- owner?: {
444
- userId: string;
445
- fullName?: string | undefined;
446
- avatar?: {
447
- mediaId?: string | undefined;
448
- userId?: string | undefined;
449
- orgId?: string | undefined;
450
- agentId?: string | null | undefined;
451
- filename?: string | undefined;
452
- mimeType?: string | undefined;
453
- size?: number | undefined;
454
- src?: string | undefined;
455
- alt?: string | undefined;
456
- context?: "avatar" | "cover" | "general" | undefined;
457
- status?: "processing" | "active" | "failed" | "deleted" | undefined;
458
- quality?: "high" | "low" | "standard" | undefined;
459
- createdAt?: string | undefined;
460
- updatedAt?: string | undefined;
461
- type?: "audio" | "document" | "image" | "video" | undefined;
462
- mediaType?: "audio" | "document" | "image" | "video" | undefined;
463
- className?: string | undefined;
464
- width?: number | undefined;
465
- height?: number | undefined;
466
- duration?: number | undefined;
467
- blurhash?: string | undefined;
468
- } | undefined;
469
- } | undefined;
470
- visibility?: "org" | "private" | "public" | undefined;
471
- status?: string | undefined;
472
- createdAt?: string | undefined;
473
- updatedAt?: string | undefined;
474
- }[] | undefined;
475
244
  } | undefined>;
476
245
  token: import('vue').Ref<string | null, string | null>;
477
246
  deviceId: import('vue').Ref<string | null, string | null>;
@@ -481,142 +250,27 @@ export declare class PageLinesSDK extends SettingsObject<PageLinesSDKSettings> {
481
250
  private storage;
482
251
  private sessionId;
483
252
  get isDev(): boolean;
484
- currentAgent: import('vue').ComputedRef<{
485
- agentId?: string | undefined;
486
- handle?: string | undefined;
487
- ownerId?: string | undefined;
488
- orgId?: string | undefined;
489
- name?: string | undefined;
490
- emoji?: string | null | undefined;
491
- title?: string | null | undefined;
492
- summary?: string | null | undefined;
493
- entityType?: string | undefined;
494
- avatarId?: string | null | undefined;
495
- coverId?: string | null | undefined;
496
- avatar?: {
497
- mediaId?: string | undefined;
498
- userId?: string | undefined;
499
- orgId?: string | undefined;
500
- agentId?: string | null | undefined;
501
- filename?: string | undefined;
502
- mimeType?: string | undefined;
503
- size?: number | undefined;
504
- src?: string | undefined;
505
- alt?: string | undefined;
506
- context?: "avatar" | "cover" | "general" | undefined;
507
- status?: "processing" | "active" | "failed" | "deleted" | undefined;
508
- quality?: "high" | "low" | "standard" | undefined;
509
- createdAt?: string | undefined;
510
- updatedAt?: string | undefined;
511
- type?: "audio" | "document" | "image" | "video" | undefined;
512
- mediaType?: "audio" | "document" | "image" | "video" | undefined;
513
- className?: string | undefined;
514
- width?: number | undefined;
515
- height?: number | undefined;
516
- duration?: number | undefined;
517
- blurhash?: string | undefined;
518
- } | undefined;
519
- cover?: {
520
- mediaId?: string | undefined;
521
- userId?: string | undefined;
522
- orgId?: string | undefined;
523
- agentId?: string | null | undefined;
524
- filename?: string | undefined;
525
- mimeType?: string | undefined;
526
- size?: number | undefined;
527
- src?: string | undefined;
528
- alt?: string | undefined;
529
- context?: "avatar" | "cover" | "general" | undefined;
530
- status?: "processing" | "active" | "failed" | "deleted" | undefined;
531
- quality?: "high" | "low" | "standard" | undefined;
532
- createdAt?: string | undefined;
533
- updatedAt?: string | undefined;
534
- type?: "audio" | "document" | "image" | "video" | undefined;
535
- mediaType?: "audio" | "document" | "image" | "video" | undefined;
536
- className?: string | undefined;
537
- width?: number | undefined;
538
- height?: number | undefined;
539
- duration?: number | undefined;
540
- blurhash?: string | undefined;
541
- } | undefined;
542
- email?: string | null | undefined;
543
- website?: string | null | undefined;
544
- accounts?: {
545
- platform: "email" | "website" | "linkedin" | "x" | "facebook" | "tiktok" | "youtube" | "github" | "instagram" | "threads" | "phone";
546
- handle: string;
547
- }[] | null | undefined;
548
- model?: string | null | undefined;
549
- gender?: "woman" | "man" | undefined;
550
- voiceKey?: "lauren" | "amy" | "eve" | "korina" | "tamsin" | "jessica" | "jude" | "adam" | "evan" | "jon" | "joe" | "julius" | "chuck" | null | undefined;
551
- billingTier?: "essential" | "professional" | "business" | undefined;
552
- lastActiveAt?: string | null | undefined;
553
- lastMessageAt?: string | null | undefined;
554
- runtime?: string | undefined;
555
- timezone?: string | undefined;
556
- desiredStatus?: "active" | "stopped" | null | undefined;
557
- routinePrimaryChannel?: string | undefined;
558
- onboardingStage?: "identity" | "working-style" | "complete" | null | undefined;
559
- onboardedAt?: string | null | undefined;
560
- org?: {
561
- orgId: string;
562
- handle: string;
563
- name: string;
564
- status: string;
565
- headline?: string | undefined;
566
- summary?: string | undefined;
567
- } | undefined;
568
- owner?: {
569
- userId: string;
570
- fullName?: string | undefined;
571
- avatar?: {
572
- mediaId?: string | undefined;
573
- userId?: string | undefined;
574
- orgId?: string | undefined;
575
- agentId?: string | null | undefined;
576
- filename?: string | undefined;
577
- mimeType?: string | undefined;
578
- size?: number | undefined;
579
- src?: string | undefined;
580
- alt?: string | undefined;
581
- context?: "avatar" | "cover" | "general" | undefined;
582
- status?: "processing" | "active" | "failed" | "deleted" | undefined;
583
- quality?: "high" | "low" | "standard" | undefined;
584
- createdAt?: string | undefined;
585
- updatedAt?: string | undefined;
586
- type?: "audio" | "document" | "image" | "video" | undefined;
587
- mediaType?: "audio" | "document" | "image" | "video" | undefined;
588
- className?: string | undefined;
589
- width?: number | undefined;
590
- height?: number | undefined;
591
- duration?: number | undefined;
592
- blurhash?: string | undefined;
593
- } | undefined;
594
- } | undefined;
595
- visibility?: "org" | "private" | "public" | undefined;
596
- status?: string | undefined;
597
- createdAt?: string | undefined;
598
- updatedAt?: string | undefined;
599
- } | undefined>;
253
+ currentBot: import('vue').ComputedRef<import('@pagelines/core').Bot | undefined>;
600
254
  currentOrg: import('vue').ComputedRef<{
601
255
  membershipId: string;
602
256
  orgId: string;
603
257
  name: string;
604
258
  handle: string;
605
- role: "owner" | "member" | "admin" | "observer";
259
+ role: "owner" | "admin" | "member" | "observer";
606
260
  joinedAt: string;
607
261
  avatarId?: string | undefined;
608
262
  avatar?: {
609
263
  mediaId?: string | undefined;
610
264
  userId?: string | undefined;
611
265
  orgId?: string | undefined;
612
- agentId?: string | null | undefined;
266
+ botId?: string | null | undefined;
613
267
  filename?: string | undefined;
614
268
  mimeType?: string | undefined;
615
269
  size?: number | undefined;
616
270
  src?: string | undefined;
617
271
  alt?: string | undefined;
618
272
  context?: "avatar" | "cover" | "general" | undefined;
619
- status?: "processing" | "active" | "failed" | "deleted" | undefined;
273
+ status?: "failed" | "processing" | "active" | "deleted" | undefined;
620
274
  quality?: "high" | "low" | "standard" | undefined;
621
275
  createdAt?: string | undefined;
622
276
  updatedAt?: string | undefined;
@@ -633,14 +287,14 @@ export declare class PageLinesSDK extends SettingsObject<PageLinesSDKSettings> {
633
287
  mediaId?: string | undefined;
634
288
  userId?: string | undefined;
635
289
  orgId?: string | undefined;
636
- agentId?: string | null | undefined;
290
+ botId?: string | null | undefined;
637
291
  filename?: string | undefined;
638
292
  mimeType?: string | undefined;
639
293
  size?: number | undefined;
640
294
  src?: string | undefined;
641
295
  alt?: string | undefined;
642
296
  context?: "avatar" | "cover" | "general" | undefined;
643
- status?: "processing" | "active" | "failed" | "deleted" | undefined;
297
+ status?: "failed" | "processing" | "active" | "deleted" | undefined;
644
298
  quality?: "high" | "low" | "standard" | undefined;
645
299
  createdAt?: string | undefined;
646
300
  updatedAt?: string | undefined;
@@ -654,7 +308,8 @@ export declare class PageLinesSDK extends SettingsObject<PageLinesSDKSettings> {
654
308
  } | undefined;
655
309
  inviterName?: string | undefined;
656
310
  memberCount?: number | undefined;
657
- agentCount?: number | undefined;
311
+ hasComputer?: boolean | undefined;
312
+ computerCount?: number | undefined;
658
313
  onboarding?: {
659
314
  completedAt?: string | undefined;
660
315
  setupBy?: string | undefined;
@@ -666,11 +321,13 @@ export declare class PageLinesSDK extends SettingsObject<PageLinesSDKSettings> {
666
321
  } | undefined>;
667
322
  initialized?: Promise<EnrichedUser | undefined>;
668
323
  resolveUser?: (value: EnrichedUser | undefined) => void;
669
- readonly agent: AgentClient;
324
+ readonly bot: BotClient;
325
+ readonly computer: ComputerClient;
670
326
  readonly auth: AuthClient;
671
327
  readonly billing: BillingClient;
672
328
  readonly chat: ChatClient;
673
329
  readonly user: UserClient;
330
+ private stopAccountWatch?;
674
331
  constructor(settings?: PageLinesSDKSettings);
675
332
  processApiResponse(response: ApiResponse<any>): void;
676
333
  private authRefs;