@pagelines/sdk 1.0.768 → 1.0.770

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.
@@ -69,7 +69,7 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
69
69
  }[] | null | undefined;
70
70
  model?: string | null | undefined;
71
71
  gender?: "woman" | "man" | undefined;
72
- voiceKey?: "warm" | "natural" | "bright" | "gentle" | "grounded" | "relaxed" | "thoughtful" | "articulate" | "easygoing" | null | undefined;
72
+ voiceKey?: "lauren" | "amy" | "eve" | "korina" | "tamsin" | "jessica" | "jude" | "adam" | "evan" | "jon" | "joe" | "julius" | "chuck" | null | undefined;
73
73
  billingTier?: "essential" | "professional" | "business" | undefined;
74
74
  lastActiveAt?: string | null | undefined;
75
75
  lastMessageAt?: string | null | undefined;
@@ -207,7 +207,7 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
207
207
  }[] | null | undefined;
208
208
  model?: string | null | undefined;
209
209
  gender?: "woman" | "man" | undefined;
210
- voiceKey?: "warm" | "natural" | "bright" | "gentle" | "grounded" | "relaxed" | "thoughtful" | "articulate" | "easygoing" | null | undefined;
210
+ voiceKey?: "lauren" | "amy" | "eve" | "korina" | "tamsin" | "jessica" | "jude" | "adam" | "evan" | "jon" | "joe" | "julius" | "chuck" | null | undefined;
211
211
  billingTier?: "essential" | "professional" | "business" | undefined;
212
212
  lastActiveAt?: string | null | undefined;
213
213
  lastMessageAt?: string | null | undefined;
package/dist/contract.js CHANGED
@@ -4424,71 +4424,89 @@ function isAgentReady(e) {
4424
4424
  //#region ../core/dist/wire/voice-session.js
4425
4425
  var U = _enum(["woman", "man"]), W = [
4426
4426
  {
4427
- key: "warm",
4427
+ key: "lauren",
4428
4428
  gender: "woman",
4429
4429
  accent: "American",
4430
4430
  character: "Friendly, comforting and soft"
4431
4431
  },
4432
4432
  {
4433
- key: "natural",
4433
+ key: "amy",
4434
4434
  gender: "woman",
4435
4435
  accent: "American",
4436
4436
  character: "Natural and sweet"
4437
4437
  },
4438
4438
  {
4439
- key: "bright",
4439
+ key: "eve",
4440
4440
  gender: "woman",
4441
4441
  accent: "American",
4442
4442
  character: "Authentic, energetic and happy"
4443
4443
  },
4444
4444
  {
4445
- key: "gentle",
4445
+ key: "korina",
4446
4446
  gender: "woman",
4447
4447
  accent: "American",
4448
4448
  character: "Calm and friendly"
4449
4449
  },
4450
4450
  {
4451
- key: "grounded",
4451
+ key: "tamsin",
4452
+ gender: "woman",
4453
+ accent: "British",
4454
+ character: "Engaging and emotionally resonant",
4455
+ isDefault: !0
4456
+ },
4457
+ {
4458
+ key: "jessica",
4459
+ gender: "woman",
4460
+ accent: "British",
4461
+ character: "Smooth, articulate and warm"
4462
+ },
4463
+ {
4464
+ key: "jude",
4465
+ gender: "man",
4466
+ accent: "British",
4467
+ character: "Engaging and naturally conversational",
4468
+ isDefault: !0
4469
+ },
4470
+ {
4471
+ key: "adam",
4472
+ gender: "man",
4473
+ accent: "British",
4474
+ character: "Steady, rich and low"
4475
+ },
4476
+ {
4477
+ key: "evan",
4452
4478
  gender: "man",
4453
4479
  accent: "American",
4454
4480
  character: "Calm, grounded and reflective"
4455
4481
  },
4456
4482
  {
4457
- key: "relaxed",
4483
+ key: "jon",
4458
4484
  gender: "man",
4459
4485
  accent: "American",
4460
4486
  character: "Relaxed, deep and approachable"
4461
4487
  },
4462
4488
  {
4463
- key: "thoughtful",
4489
+ key: "joe",
4464
4490
  gender: "man",
4465
4491
  accent: "British",
4466
4492
  character: "Reflective and thoughtful"
4467
4493
  },
4468
4494
  {
4469
- key: "articulate",
4495
+ key: "julius",
4470
4496
  gender: "man",
4471
4497
  accent: "German",
4472
4498
  character: "Deep, articulate and professional"
4473
4499
  },
4474
4500
  {
4475
- key: "easygoing",
4501
+ key: "chuck",
4476
4502
  gender: "man",
4477
4503
  accent: "American",
4478
4504
  character: "Easygoing and plain-spoken"
4479
4505
  }
4480
- ], G = _enum(W.map((e) => e.key)), Xr = {
4481
- gender: "man",
4482
- voiceKeyByGender: {
4483
- woman: "warm",
4484
- man: "grounded"
4485
- }
4486
- };
4506
+ ], G = _enum(W.map((e) => e.key)), Xr = { gender: "man" };
4487
4507
  function resolveVoice(e) {
4488
4508
  let t = W.find((t) => t.key === e.voiceKey);
4489
- if (t?.gender === e.gender) return t;
4490
- let n = Xr.voiceKeyByGender[e.gender];
4491
- return W.find((e) => e.key === n);
4509
+ return t?.gender === e.gender ? t : W.find((t) => t.gender === e.gender && "isDefault" in t);
4492
4510
  }
4493
4511
  var Zr = object({ conversationId: string().min(1) }).strict(), Qr = object({
4494
4512
  conversationId: string().min(1),