@seamapi/types 1.1125.0 → 1.1127.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.
Files changed (45) hide show
  1. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +160 -0
  2. package/lib/seam/connect/models/action-attempts/action-attempt.js +4 -0
  3. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  4. package/lib/seam/connect/models/action-attempts/pause-speaker-playback.js +26 -14
  5. package/lib/seam/connect/models/action-attempts/pause-speaker-playback.js.map +1 -1
  6. package/lib/seam/connect/models/action-attempts/play-speaker-audio-clip.d.ts +77 -0
  7. package/lib/seam/connect/models/action-attempts/play-speaker-audio-clip.js +43 -0
  8. package/lib/seam/connect/models/action-attempts/play-speaker-audio-clip.js.map +1 -0
  9. package/lib/seam/connect/models/action-attempts/play-speaker-chime.js +26 -14
  10. package/lib/seam/connect/models/action-attempts/play-speaker-chime.js.map +1 -1
  11. package/lib/seam/connect/models/action-attempts/play-speaker-favorite.d.ts +87 -0
  12. package/lib/seam/connect/models/action-attempts/play-speaker-favorite.js +49 -0
  13. package/lib/seam/connect/models/action-attempts/play-speaker-favorite.js.map +1 -0
  14. package/lib/seam/connect/models/action-attempts/resume-speaker-playback.js +26 -14
  15. package/lib/seam/connect/models/action-attempts/resume-speaker-playback.js.map +1 -1
  16. package/lib/seam/connect/models/action-attempts/set-speaker-mute.js +26 -14
  17. package/lib/seam/connect/models/action-attempts/set-speaker-mute.js.map +1 -1
  18. package/lib/seam/connect/models/action-attempts/set-speaker-volume.js +26 -14
  19. package/lib/seam/connect/models/action-attempts/set-speaker-volume.js.map +1 -1
  20. package/lib/seam/connect/models/devices/capability-properties/speaker.js +2 -1
  21. package/lib/seam/connect/models/devices/capability-properties/speaker.js.map +1 -1
  22. package/lib/seam/connect/models/devices/device-metadata.js +6 -2
  23. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  24. package/lib/seam/connect/models/devices/device-provider.d.ts +6 -0
  25. package/lib/seam/connect/models/devices/device.d.ts +12 -0
  26. package/lib/seam/connect/models/devices/device.js +48 -18
  27. package/lib/seam/connect/models/devices/device.js.map +1 -1
  28. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +8 -0
  29. package/lib/seam/connect/openapi.js +651 -1
  30. package/lib/seam/connect/openapi.js.map +1 -1
  31. package/lib/seam/connect/route-types.d.ts +7428 -36
  32. package/package.json +1 -1
  33. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +4 -0
  34. package/src/lib/seam/connect/models/action-attempts/pause-speaker-playback.ts +29 -19
  35. package/src/lib/seam/connect/models/action-attempts/play-speaker-audio-clip.ts +56 -0
  36. package/src/lib/seam/connect/models/action-attempts/play-speaker-chime.ts +29 -19
  37. package/src/lib/seam/connect/models/action-attempts/play-speaker-favorite.ts +64 -0
  38. package/src/lib/seam/connect/models/action-attempts/resume-speaker-playback.ts +29 -19
  39. package/src/lib/seam/connect/models/action-attempts/set-speaker-mute.ts +29 -19
  40. package/src/lib/seam/connect/models/action-attempts/set-speaker-volume.ts +29 -19
  41. package/src/lib/seam/connect/models/devices/capability-properties/speaker.ts +4 -1
  42. package/src/lib/seam/connect/models/devices/device-metadata.ts +6 -2
  43. package/src/lib/seam/connect/models/devices/device.ts +48 -18
  44. package/src/lib/seam/connect/openapi.ts +691 -1
  45. package/src/lib/seam/connect/route-types.ts +8353 -21
@@ -5701,6 +5701,166 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
5701
5701
  status: z.ZodLiteral<"pending">;
5702
5702
  result: z.ZodNull;
5703
5703
  error: z.ZodNull;
5704
+ } & {
5705
+ action_type: z.ZodLiteral<"PLAY_SPEAKER_FAVORITE">;
5706
+ }, "strip", z.ZodTypeAny, {
5707
+ status: "pending";
5708
+ action_attempt_id: string;
5709
+ error: null;
5710
+ result: null;
5711
+ action_type: "PLAY_SPEAKER_FAVORITE";
5712
+ }, {
5713
+ status: "pending";
5714
+ action_attempt_id: string;
5715
+ error: null;
5716
+ result: null;
5717
+ action_type: "PLAY_SPEAKER_FAVORITE";
5718
+ }>, z.ZodObject<{
5719
+ action_attempt_id: z.ZodString;
5720
+ } & {
5721
+ status: z.ZodLiteral<"success">;
5722
+ error: z.ZodNull;
5723
+ } & {
5724
+ action_type: z.ZodLiteral<"PLAY_SPEAKER_FAVORITE">;
5725
+ result: z.ZodObject<{
5726
+ affected_device_ids: z.ZodArray<z.ZodString, "many">;
5727
+ }, "strip", z.ZodTypeAny, {
5728
+ affected_device_ids: string[];
5729
+ }, {
5730
+ affected_device_ids: string[];
5731
+ }>;
5732
+ }, "strip", z.ZodTypeAny, {
5733
+ status: "success";
5734
+ action_attempt_id: string;
5735
+ error: null;
5736
+ result: {
5737
+ affected_device_ids: string[];
5738
+ };
5739
+ action_type: "PLAY_SPEAKER_FAVORITE";
5740
+ }, {
5741
+ status: "success";
5742
+ action_attempt_id: string;
5743
+ error: null;
5744
+ result: {
5745
+ affected_device_ids: string[];
5746
+ };
5747
+ action_type: "PLAY_SPEAKER_FAVORITE";
5748
+ }>, z.ZodObject<{
5749
+ action_attempt_id: z.ZodString;
5750
+ } & {
5751
+ status: z.ZodLiteral<"error">;
5752
+ result: z.ZodNull;
5753
+ } & {
5754
+ action_type: z.ZodLiteral<"PLAY_SPEAKER_FAVORITE">;
5755
+ error: z.ZodObject<{
5756
+ type: z.ZodString;
5757
+ message: z.ZodString;
5758
+ }, "strip", z.ZodTypeAny, {
5759
+ message: string;
5760
+ type: string;
5761
+ }, {
5762
+ message: string;
5763
+ type: string;
5764
+ }>;
5765
+ }, "strip", z.ZodTypeAny, {
5766
+ status: "error";
5767
+ action_attempt_id: string;
5768
+ error: {
5769
+ message: string;
5770
+ type: string;
5771
+ };
5772
+ result: null;
5773
+ action_type: "PLAY_SPEAKER_FAVORITE";
5774
+ }, {
5775
+ status: "error";
5776
+ action_attempt_id: string;
5777
+ error: {
5778
+ message: string;
5779
+ type: string;
5780
+ };
5781
+ result: null;
5782
+ action_type: "PLAY_SPEAKER_FAVORITE";
5783
+ }>, z.ZodObject<{
5784
+ action_attempt_id: z.ZodString;
5785
+ } & {
5786
+ status: z.ZodLiteral<"pending">;
5787
+ result: z.ZodNull;
5788
+ error: z.ZodNull;
5789
+ } & {
5790
+ action_type: z.ZodLiteral<"PLAY_SPEAKER_AUDIO_CLIP">;
5791
+ }, "strip", z.ZodTypeAny, {
5792
+ status: "pending";
5793
+ action_attempt_id: string;
5794
+ error: null;
5795
+ result: null;
5796
+ action_type: "PLAY_SPEAKER_AUDIO_CLIP";
5797
+ }, {
5798
+ status: "pending";
5799
+ action_attempt_id: string;
5800
+ error: null;
5801
+ result: null;
5802
+ action_type: "PLAY_SPEAKER_AUDIO_CLIP";
5803
+ }>, z.ZodObject<{
5804
+ action_attempt_id: z.ZodString;
5805
+ } & {
5806
+ status: z.ZodLiteral<"success">;
5807
+ error: z.ZodNull;
5808
+ } & {
5809
+ action_type: z.ZodLiteral<"PLAY_SPEAKER_AUDIO_CLIP">;
5810
+ result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
5811
+ }, "strip", z.ZodTypeAny, {
5812
+ status: "success";
5813
+ action_attempt_id: string;
5814
+ error: null;
5815
+ result: {};
5816
+ action_type: "PLAY_SPEAKER_AUDIO_CLIP";
5817
+ }, {
5818
+ status: "success";
5819
+ action_attempt_id: string;
5820
+ error: null;
5821
+ result: {};
5822
+ action_type: "PLAY_SPEAKER_AUDIO_CLIP";
5823
+ }>, z.ZodObject<{
5824
+ action_attempt_id: z.ZodString;
5825
+ } & {
5826
+ status: z.ZodLiteral<"error">;
5827
+ result: z.ZodNull;
5828
+ } & {
5829
+ action_type: z.ZodLiteral<"PLAY_SPEAKER_AUDIO_CLIP">;
5830
+ error: z.ZodObject<{
5831
+ type: z.ZodString;
5832
+ message: z.ZodString;
5833
+ }, "strip", z.ZodTypeAny, {
5834
+ message: string;
5835
+ type: string;
5836
+ }, {
5837
+ message: string;
5838
+ type: string;
5839
+ }>;
5840
+ }, "strip", z.ZodTypeAny, {
5841
+ status: "error";
5842
+ action_attempt_id: string;
5843
+ error: {
5844
+ message: string;
5845
+ type: string;
5846
+ };
5847
+ result: null;
5848
+ action_type: "PLAY_SPEAKER_AUDIO_CLIP";
5849
+ }, {
5850
+ status: "error";
5851
+ action_attempt_id: string;
5852
+ error: {
5853
+ message: string;
5854
+ type: string;
5855
+ };
5856
+ result: null;
5857
+ action_type: "PLAY_SPEAKER_AUDIO_CLIP";
5858
+ }>, z.ZodObject<{
5859
+ action_attempt_id: z.ZodString;
5860
+ } & {
5861
+ status: z.ZodLiteral<"pending">;
5862
+ result: z.ZodNull;
5863
+ error: z.ZodNull;
5704
5864
  } & {
5705
5865
  action_type: z.ZodLiteral<"SYNC_ACCESS_CODES">;
5706
5866
  }, "strip", z.ZodTypeAny, {
@@ -8,7 +8,9 @@ import { deprecated_action_attempts } from './deprecated.js';
8
8
  import { encode_credential_action_attempt } from './encode-credential.js';
9
9
  import { lock_door_action_attempt } from './lock-door.js';
10
10
  import { pause_speaker_playback_action_attempt } from './pause-speaker-playback.js';
11
+ import { play_speaker_audio_clip_action_attempt } from './play-speaker-audio-clip.js';
11
12
  import { play_speaker_chime_action_attempt } from './play-speaker-chime.js';
13
+ import { play_speaker_favorite_action_attempt } from './play-speaker-favorite.js';
12
14
  import { push_thermostat_programs_action_attempt } from './push-thermostat-programs.js';
13
15
  import { reset_sandbox_workspace_action_attempt } from './reset-sandbox-workspace.js';
14
16
  import { resume_speaker_playback_action_attempt } from './resume-speaker-playback.js';
@@ -43,6 +45,8 @@ export const action_attempt = z.union([
43
45
  ...pause_speaker_playback_action_attempt.options,
44
46
  ...resume_speaker_playback_action_attempt.options,
45
47
  ...play_speaker_chime_action_attempt.options,
48
+ ...play_speaker_favorite_action_attempt.options,
49
+ ...play_speaker_audio_clip_action_attempt.options,
46
50
  ...deprecated_action_attempts,
47
51
  ]).describe(`
48
52
  ---
@@ -1 +1 @@
1
- {"version":3,"file":"action-attempt.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/action-attempt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,kCAAkC,EAAE,MAAM,0BAA0B,CAAA;AAC7E,OAAO,EAAE,6CAA6C,EAAE,MAAM,qCAAqC,CAAA;AACnG,OAAO,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAA;AAC5D,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,qCAAqC,EAAE,MAAM,6BAA6B,CAAA;AACnF,OAAO,EAAE,iCAAiC,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,EAAE,uCAAuC,EAAE,MAAM,+BAA+B,CAAA;AACvF,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAA;AACrE,OAAO,EAAE,wCAAwC,EAAE,MAAM,gCAAgC,CAAA;AACzF,OAAO,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAA;AAC/D,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,+BAA+B,EAAE,MAAM,uBAAuB,CAAA;AACvE,OAAO,EAAE,iCAAiC,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,EAAE,yCAAyC,EAAE,MAAM,iCAAiC,CAAA;AAC3F,OAAO,EAAE,8CAA8C,EAAE,MAAM,sCAAsC,CAAA;AACrG,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAA;AAE7D,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC;IACpC,GAAG,wBAAwB,CAAC,OAAO;IACnC,GAAG,0BAA0B,CAAC,OAAO;IACrC,GAAG,8BAA8B,CAAC,OAAO;IACzC,GAAG,gCAAgC,CAAC,OAAO;IAC3C,GAAG,wCAAwC,CAAC,OAAO;IACnD,GAAG,gCAAgC,CAAC,OAAO;IAC3C,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,2BAA2B,CAAC,OAAO;IACtC,GAAG,4BAA4B,CAAC,OAAO;IACvC,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,yCAAyC,CAAC,OAAO;IACpD,GAAG,8CAA8C,CAAC,OAAO;IACzD,GAAG,uCAAuC,CAAC,OAAO;IAClD,GAAG,kCAAkC,CAAC,OAAO;IAC7C,GAAG,6CAA6C,CAAC,OAAO;IACxD,GAAG,iCAAiC,CAAC,OAAO;IAC5C,GAAG,+BAA+B,CAAC,OAAO;IAC1C,GAAG,qCAAqC,CAAC,OAAO;IAChD,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,iCAAiC,CAAC,OAAO;IAC5C,GAAG,0BAA0B;CAC9B,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;CASX,CAAC,CAAA"}
1
+ {"version":3,"file":"action-attempt.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/action-attempt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,kCAAkC,EAAE,MAAM,0BAA0B,CAAA;AAC7E,OAAO,EAAE,6CAA6C,EAAE,MAAM,qCAAqC,CAAA;AACnG,OAAO,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAA;AAC5D,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,qCAAqC,EAAE,MAAM,6BAA6B,CAAA;AACnF,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,iCAAiC,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,EAAE,oCAAoC,EAAE,MAAM,4BAA4B,CAAA;AACjF,OAAO,EAAE,uCAAuC,EAAE,MAAM,+BAA+B,CAAA;AACvF,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAA;AACrE,OAAO,EAAE,wCAAwC,EAAE,MAAM,gCAAgC,CAAA;AACzF,OAAO,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAA;AAC/D,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,+BAA+B,EAAE,MAAM,uBAAuB,CAAA;AACvE,OAAO,EAAE,iCAAiC,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,EAAE,yCAAyC,EAAE,MAAM,iCAAiC,CAAA;AAC3F,OAAO,EAAE,8CAA8C,EAAE,MAAM,sCAAsC,CAAA;AACrG,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAA;AAE7D,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC;IACpC,GAAG,wBAAwB,CAAC,OAAO;IACnC,GAAG,0BAA0B,CAAC,OAAO;IACrC,GAAG,8BAA8B,CAAC,OAAO;IACzC,GAAG,gCAAgC,CAAC,OAAO;IAC3C,GAAG,wCAAwC,CAAC,OAAO;IACnD,GAAG,gCAAgC,CAAC,OAAO;IAC3C,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,2BAA2B,CAAC,OAAO;IACtC,GAAG,4BAA4B,CAAC,OAAO;IACvC,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,yCAAyC,CAAC,OAAO;IACpD,GAAG,8CAA8C,CAAC,OAAO;IACzD,GAAG,uCAAuC,CAAC,OAAO;IAClD,GAAG,kCAAkC,CAAC,OAAO;IAC7C,GAAG,6CAA6C,CAAC,OAAO;IACxD,GAAG,iCAAiC,CAAC,OAAO;IAC5C,GAAG,+BAA+B,CAAC,OAAO;IAC1C,GAAG,qCAAqC,CAAC,OAAO;IAChD,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,iCAAiC,CAAC,OAAO;IAC5C,GAAG,oCAAoC,CAAC,OAAO;IAC/C,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,0BAA0B;CAC9B,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;CASX,CAAC,CAAA"}
@@ -1,8 +1,11 @@
1
1
  import * as z from 'zod/v3';
2
2
  import { common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, } from './common.js';
3
- const action_type = z
4
- .literal('PAUSE_SPEAKER_PLAYBACK')
5
- .describe('Action attempt to track the status of pausing playback on a speaker.');
3
+ const action_type = z.literal('PAUSE_SPEAKER_PLAYBACK').describe(`
4
+ ---
5
+ undocumented: Unreleased.
6
+ ---
7
+ Action attempt to track the status of pausing playback on a speaker.
8
+ `);
6
9
  const error = z
7
10
  .object({
8
11
  type: z.string().describe('Type of the error.'),
@@ -19,19 +22,28 @@ const result = z
19
22
  })
20
23
  .describe('Result of the action.');
21
24
  export const pause_speaker_playback_action_attempt = z.discriminatedUnion('status', [
22
- common_pending_action_attempt
23
- .extend({
25
+ common_pending_action_attempt.extend({
24
26
  action_type,
25
- })
26
- .describe('Pausing playback on the speaker is pending.'),
27
- common_succeeded_action_attempt
28
- .extend({
27
+ }).describe(`
28
+ ---
29
+ undocumented: Unreleased.
30
+ ---
31
+ Pausing playback on the speaker is pending.
32
+ `),
33
+ common_succeeded_action_attempt.extend({
29
34
  action_type,
30
35
  result,
31
- })
32
- .describe('Pausing playback on the speaker succeeded.'),
33
- common_failed_action_attempt
34
- .extend({ action_type, error })
35
- .describe('Pausing playback on the speaker failed.'),
36
+ }).describe(`
37
+ ---
38
+ undocumented: Unreleased.
39
+ ---
40
+ Pausing playback on the speaker succeeded.
41
+ `),
42
+ common_failed_action_attempt.extend({ action_type, error }).describe(`
43
+ ---
44
+ undocumented: Unreleased.
45
+ ---
46
+ Pausing playback on the speaker failed.
47
+ `),
36
48
  ]);
37
49
  //# sourceMappingURL=pause-speaker-playback.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pause-speaker-playback.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/pause-speaker-playback.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC;KAClB,OAAO,CAAC,wBAAwB,CAAC;KACjC,QAAQ,CACP,sEAAsE,CACvE,CAAA;AAEH,MAAM,KAAK,GAAG,CAAC;KACZ,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,mCAAmC,CAAC,CAAA;AAEhD,MAAM,MAAM,GAAG,CAAC;KACb,MAAM,CAAC;IACN,mBAAmB,EAAE,CAAC;SACnB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CACP,uGAAuG,CACxG;CACJ,CAAC;KACD,QAAQ,CAAC,uBAAuB,CAAC,CAAA;AAEpC,MAAM,CAAC,MAAM,qCAAqC,GAAG,CAAC,CAAC,kBAAkB,CACvE,QAAQ,EACR;IACE,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,6CAA6C,CAAC;IAC1D,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,4CAA4C,CAAC;IACzD,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,yCAAyC,CAAC;CACvD,CACF,CAAA"}
1
+ {"version":3,"file":"pause-speaker-playback.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/pause-speaker-playback.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,QAAQ,CAAC;;;;;KAK5D,CAAC,CAAA;AAEN,MAAM,KAAK,GAAG,CAAC;KACZ,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,mCAAmC,CAAC,CAAA;AAEhD,MAAM,MAAM,GAAG,CAAC;KACb,MAAM,CAAC;IACN,mBAAmB,EAAE,CAAC;SACnB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CACP,uGAAuG,CACxG;CACJ,CAAC;KACD,QAAQ,CAAC,uBAAuB,CAAC,CAAA;AAEpC,MAAM,CAAC,MAAM,qCAAqC,GAAG,CAAC,CAAC,kBAAkB,CACvE,QAAQ,EACR;IACE,6BAA6B,CAAC,MAAM,CAAC;QACnC,WAAW;KACZ,CAAC,CAAC,QAAQ,CAAC;;;;;KAKX,CAAC;IACF,+BAA+B,CAAC,MAAM,CAAC;QACrC,WAAW;QACX,MAAM;KACP,CAAC,CAAC,QAAQ,CAAC;;;;;KAKX,CAAC;IACF,4BAA4B,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC;;;;;KAKpE,CAAC;CACH,CACF,CAAA"}
@@ -0,0 +1,77 @@
1
+ import * as z from 'zod/v3';
2
+ export declare const play_speaker_audio_clip_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3
+ action_attempt_id: z.ZodString;
4
+ } & {
5
+ status: z.ZodLiteral<"pending">;
6
+ result: z.ZodNull;
7
+ error: z.ZodNull;
8
+ } & {
9
+ action_type: z.ZodLiteral<"PLAY_SPEAKER_AUDIO_CLIP">;
10
+ }, "strip", z.ZodTypeAny, {
11
+ status: "pending";
12
+ action_attempt_id: string;
13
+ error: null;
14
+ result: null;
15
+ action_type: "PLAY_SPEAKER_AUDIO_CLIP";
16
+ }, {
17
+ status: "pending";
18
+ action_attempt_id: string;
19
+ error: null;
20
+ result: null;
21
+ action_type: "PLAY_SPEAKER_AUDIO_CLIP";
22
+ }>, z.ZodObject<{
23
+ action_attempt_id: z.ZodString;
24
+ } & {
25
+ status: z.ZodLiteral<"success">;
26
+ error: z.ZodNull;
27
+ } & {
28
+ action_type: z.ZodLiteral<"PLAY_SPEAKER_AUDIO_CLIP">;
29
+ result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ status: "success";
32
+ action_attempt_id: string;
33
+ error: null;
34
+ result: {};
35
+ action_type: "PLAY_SPEAKER_AUDIO_CLIP";
36
+ }, {
37
+ status: "success";
38
+ action_attempt_id: string;
39
+ error: null;
40
+ result: {};
41
+ action_type: "PLAY_SPEAKER_AUDIO_CLIP";
42
+ }>, z.ZodObject<{
43
+ action_attempt_id: z.ZodString;
44
+ } & {
45
+ status: z.ZodLiteral<"error">;
46
+ result: z.ZodNull;
47
+ } & {
48
+ action_type: z.ZodLiteral<"PLAY_SPEAKER_AUDIO_CLIP">;
49
+ error: z.ZodObject<{
50
+ type: z.ZodString;
51
+ message: z.ZodString;
52
+ }, "strip", z.ZodTypeAny, {
53
+ message: string;
54
+ type: string;
55
+ }, {
56
+ message: string;
57
+ type: string;
58
+ }>;
59
+ }, "strip", z.ZodTypeAny, {
60
+ status: "error";
61
+ action_attempt_id: string;
62
+ error: {
63
+ message: string;
64
+ type: string;
65
+ };
66
+ result: null;
67
+ action_type: "PLAY_SPEAKER_AUDIO_CLIP";
68
+ }, {
69
+ status: "error";
70
+ action_attempt_id: string;
71
+ error: {
72
+ message: string;
73
+ type: string;
74
+ };
75
+ result: null;
76
+ action_type: "PLAY_SPEAKER_AUDIO_CLIP";
77
+ }>]>;
@@ -0,0 +1,43 @@
1
+ import * as z from 'zod/v3';
2
+ import { common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, } from './common.js';
3
+ const action_type = z.literal('PLAY_SPEAKER_AUDIO_CLIP').describe(`
4
+ ---
5
+ undocumented: Unreleased.
6
+ ---
7
+ Action attempt to track the status of playing an audio clip on a speaker.
8
+ `);
9
+ const error = z
10
+ .object({
11
+ type: z.string().describe('Type of the error.'),
12
+ message: z
13
+ .string()
14
+ .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
15
+ })
16
+ .describe('Error associated with the action.');
17
+ const result = z.object({}).describe('Result of the action.');
18
+ export const play_speaker_audio_clip_action_attempt = z.discriminatedUnion('status', [
19
+ common_pending_action_attempt.extend({
20
+ action_type,
21
+ }).describe(`
22
+ ---
23
+ undocumented: Unreleased.
24
+ ---
25
+ Playing an audio clip on the speaker is pending.
26
+ `),
27
+ common_succeeded_action_attempt.extend({
28
+ action_type,
29
+ result,
30
+ }).describe(`
31
+ ---
32
+ undocumented: Unreleased.
33
+ ---
34
+ Playing an audio clip on the speaker succeeded.
35
+ `),
36
+ common_failed_action_attempt.extend({ action_type, error }).describe(`
37
+ ---
38
+ undocumented: Unreleased.
39
+ ---
40
+ Playing an audio clip on the speaker failed.
41
+ `),
42
+ ]);
43
+ //# sourceMappingURL=play-speaker-audio-clip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"play-speaker-audio-clip.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/play-speaker-audio-clip.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC,QAAQ,CAAC;;;;;KAK7D,CAAC,CAAA;AAEN,MAAM,KAAK,GAAG,CAAC;KACZ,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,mCAAmC,CAAC,CAAA;AAEhD,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAA;AAE7D,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,kBAAkB,CACxE,QAAQ,EACR;IACE,6BAA6B,CAAC,MAAM,CAAC;QACnC,WAAW;KACZ,CAAC,CAAC,QAAQ,CAAC;;;;;KAKX,CAAC;IACF,+BAA+B,CAAC,MAAM,CAAC;QACrC,WAAW;QACX,MAAM;KACP,CAAC,CAAC,QAAQ,CAAC;;;;;KAKX,CAAC;IACF,4BAA4B,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC;;;;;KAKpE,CAAC;CACH,CACF,CAAA"}
@@ -1,8 +1,11 @@
1
1
  import * as z from 'zod/v3';
2
2
  import { common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, } from './common.js';
3
- const action_type = z
4
- .literal('PLAY_SPEAKER_CHIME')
5
- .describe('Action attempt to track the status of playing a chime on a speaker.');
3
+ const action_type = z.literal('PLAY_SPEAKER_CHIME').describe(`
4
+ ---
5
+ undocumented: Unreleased.
6
+ ---
7
+ Action attempt to track the status of playing a chime on a speaker.
8
+ `);
6
9
  const error = z
7
10
  .object({
8
11
  type: z.string().describe('Type of the error.'),
@@ -13,19 +16,28 @@ const error = z
13
16
  .describe('Error associated with the action.');
14
17
  const result = z.object({}).describe('Result of the action.');
15
18
  export const play_speaker_chime_action_attempt = z.discriminatedUnion('status', [
16
- common_pending_action_attempt
17
- .extend({
19
+ common_pending_action_attempt.extend({
18
20
  action_type,
19
- })
20
- .describe('Playing a chime on the speaker is pending.'),
21
- common_succeeded_action_attempt
22
- .extend({
21
+ }).describe(`
22
+ ---
23
+ undocumented: Unreleased.
24
+ ---
25
+ Playing a chime on the speaker is pending.
26
+ `),
27
+ common_succeeded_action_attempt.extend({
23
28
  action_type,
24
29
  result,
25
- })
26
- .describe('Playing a chime on the speaker succeeded.'),
27
- common_failed_action_attempt
28
- .extend({ action_type, error })
29
- .describe('Playing a chime on the speaker failed.'),
30
+ }).describe(`
31
+ ---
32
+ undocumented: Unreleased.
33
+ ---
34
+ Playing a chime on the speaker succeeded.
35
+ `),
36
+ common_failed_action_attempt.extend({ action_type, error }).describe(`
37
+ ---
38
+ undocumented: Unreleased.
39
+ ---
40
+ Playing a chime on the speaker failed.
41
+ `),
30
42
  ]);
31
43
  //# sourceMappingURL=play-speaker-chime.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"play-speaker-chime.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/play-speaker-chime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC;KAClB,OAAO,CAAC,oBAAoB,CAAC;KAC7B,QAAQ,CACP,qEAAqE,CACtE,CAAA;AAEH,MAAM,KAAK,GAAG,CAAC;KACZ,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,mCAAmC,CAAC,CAAA;AAEhD,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAA;AAE7D,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,kBAAkB,CACnE,QAAQ,EACR;IACE,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,4CAA4C,CAAC;IACzD,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,2CAA2C,CAAC;IACxD,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,wCAAwC,CAAC;CACtD,CACF,CAAA"}
1
+ {"version":3,"file":"play-speaker-chime.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/play-speaker-chime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,QAAQ,CAAC;;;;;KAKxD,CAAC,CAAA;AAEN,MAAM,KAAK,GAAG,CAAC;KACZ,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,mCAAmC,CAAC,CAAA;AAEhD,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAA;AAE7D,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,kBAAkB,CACnE,QAAQ,EACR;IACE,6BAA6B,CAAC,MAAM,CAAC;QACnC,WAAW;KACZ,CAAC,CAAC,QAAQ,CAAC;;;;;KAKX,CAAC;IACF,+BAA+B,CAAC,MAAM,CAAC;QACrC,WAAW;QACX,MAAM;KACP,CAAC,CAAC,QAAQ,CAAC;;;;;KAKX,CAAC;IACF,4BAA4B,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC;;;;;KAKpE,CAAC;CACH,CACF,CAAA"}
@@ -0,0 +1,87 @@
1
+ import * as z from 'zod/v3';
2
+ export declare const play_speaker_favorite_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3
+ action_attempt_id: z.ZodString;
4
+ } & {
5
+ status: z.ZodLiteral<"pending">;
6
+ result: z.ZodNull;
7
+ error: z.ZodNull;
8
+ } & {
9
+ action_type: z.ZodLiteral<"PLAY_SPEAKER_FAVORITE">;
10
+ }, "strip", z.ZodTypeAny, {
11
+ status: "pending";
12
+ action_attempt_id: string;
13
+ error: null;
14
+ result: null;
15
+ action_type: "PLAY_SPEAKER_FAVORITE";
16
+ }, {
17
+ status: "pending";
18
+ action_attempt_id: string;
19
+ error: null;
20
+ result: null;
21
+ action_type: "PLAY_SPEAKER_FAVORITE";
22
+ }>, z.ZodObject<{
23
+ action_attempt_id: z.ZodString;
24
+ } & {
25
+ status: z.ZodLiteral<"success">;
26
+ error: z.ZodNull;
27
+ } & {
28
+ action_type: z.ZodLiteral<"PLAY_SPEAKER_FAVORITE">;
29
+ result: z.ZodObject<{
30
+ affected_device_ids: z.ZodArray<z.ZodString, "many">;
31
+ }, "strip", z.ZodTypeAny, {
32
+ affected_device_ids: string[];
33
+ }, {
34
+ affected_device_ids: string[];
35
+ }>;
36
+ }, "strip", z.ZodTypeAny, {
37
+ status: "success";
38
+ action_attempt_id: string;
39
+ error: null;
40
+ result: {
41
+ affected_device_ids: string[];
42
+ };
43
+ action_type: "PLAY_SPEAKER_FAVORITE";
44
+ }, {
45
+ status: "success";
46
+ action_attempt_id: string;
47
+ error: null;
48
+ result: {
49
+ affected_device_ids: string[];
50
+ };
51
+ action_type: "PLAY_SPEAKER_FAVORITE";
52
+ }>, z.ZodObject<{
53
+ action_attempt_id: z.ZodString;
54
+ } & {
55
+ status: z.ZodLiteral<"error">;
56
+ result: z.ZodNull;
57
+ } & {
58
+ action_type: z.ZodLiteral<"PLAY_SPEAKER_FAVORITE">;
59
+ error: z.ZodObject<{
60
+ type: z.ZodString;
61
+ message: z.ZodString;
62
+ }, "strip", z.ZodTypeAny, {
63
+ message: string;
64
+ type: string;
65
+ }, {
66
+ message: string;
67
+ type: string;
68
+ }>;
69
+ }, "strip", z.ZodTypeAny, {
70
+ status: "error";
71
+ action_attempt_id: string;
72
+ error: {
73
+ message: string;
74
+ type: string;
75
+ };
76
+ result: null;
77
+ action_type: "PLAY_SPEAKER_FAVORITE";
78
+ }, {
79
+ status: "error";
80
+ action_attempt_id: string;
81
+ error: {
82
+ message: string;
83
+ type: string;
84
+ };
85
+ result: null;
86
+ action_type: "PLAY_SPEAKER_FAVORITE";
87
+ }>]>;
@@ -0,0 +1,49 @@
1
+ import * as z from 'zod/v3';
2
+ import { common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, } from './common.js';
3
+ const action_type = z.literal('PLAY_SPEAKER_FAVORITE').describe(`
4
+ ---
5
+ undocumented: Unreleased.
6
+ ---
7
+ Action attempt to track the status of playing a favorite on a speaker.
8
+ `);
9
+ const error = z
10
+ .object({
11
+ type: z.string().describe('Type of the error.'),
12
+ message: z
13
+ .string()
14
+ .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
15
+ })
16
+ .describe('Error associated with the action.');
17
+ const result = z
18
+ .object({
19
+ affected_device_ids: z
20
+ .array(z.string().uuid())
21
+ .describe('IDs of the speakers now playing the favorite, including speakers grouped with the requested speaker.'),
22
+ })
23
+ .describe('Result of the action.');
24
+ export const play_speaker_favorite_action_attempt = z.discriminatedUnion('status', [
25
+ common_pending_action_attempt.extend({
26
+ action_type,
27
+ }).describe(`
28
+ ---
29
+ undocumented: Unreleased.
30
+ ---
31
+ Playing a favorite on the speaker is pending.
32
+ `),
33
+ common_succeeded_action_attempt.extend({
34
+ action_type,
35
+ result,
36
+ }).describe(`
37
+ ---
38
+ undocumented: Unreleased.
39
+ ---
40
+ Playing a favorite on the speaker succeeded.
41
+ `),
42
+ common_failed_action_attempt.extend({ action_type, error }).describe(`
43
+ ---
44
+ undocumented: Unreleased.
45
+ ---
46
+ Playing a favorite on the speaker failed.
47
+ `),
48
+ ]);
49
+ //# sourceMappingURL=play-speaker-favorite.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"play-speaker-favorite.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/play-speaker-favorite.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC,QAAQ,CAAC;;;;;KAK3D,CAAC,CAAA;AAEN,MAAM,KAAK,GAAG,CAAC;KACZ,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,mCAAmC,CAAC,CAAA;AAEhD,MAAM,MAAM,GAAG,CAAC;KACb,MAAM,CAAC;IACN,mBAAmB,EAAE,CAAC;SACnB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CACP,sGAAsG,CACvG;CACJ,CAAC;KACD,QAAQ,CAAC,uBAAuB,CAAC,CAAA;AAEpC,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,CAAC,kBAAkB,CACtE,QAAQ,EACR;IACE,6BAA6B,CAAC,MAAM,CAAC;QACnC,WAAW;KACZ,CAAC,CAAC,QAAQ,CAAC;;;;;KAKX,CAAC;IACF,+BAA+B,CAAC,MAAM,CAAC;QACrC,WAAW;QACX,MAAM;KACP,CAAC,CAAC,QAAQ,CAAC;;;;;KAKX,CAAC;IACF,4BAA4B,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC;;;;;KAKpE,CAAC;CACH,CACF,CAAA"}
@@ -1,8 +1,11 @@
1
1
  import * as z from 'zod/v3';
2
2
  import { common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, } from './common.js';
3
- const action_type = z
4
- .literal('RESUME_SPEAKER_PLAYBACK')
5
- .describe('Action attempt to track the status of resuming playback on a speaker.');
3
+ const action_type = z.literal('RESUME_SPEAKER_PLAYBACK').describe(`
4
+ ---
5
+ undocumented: Unreleased.
6
+ ---
7
+ Action attempt to track the status of resuming playback on a speaker.
8
+ `);
6
9
  const error = z
7
10
  .object({
8
11
  type: z.string().describe('Type of the error.'),
@@ -19,19 +22,28 @@ const result = z
19
22
  })
20
23
  .describe('Result of the action.');
21
24
  export const resume_speaker_playback_action_attempt = z.discriminatedUnion('status', [
22
- common_pending_action_attempt
23
- .extend({
25
+ common_pending_action_attempt.extend({
24
26
  action_type,
25
- })
26
- .describe('Resuming playback on the speaker is pending.'),
27
- common_succeeded_action_attempt
28
- .extend({
27
+ }).describe(`
28
+ ---
29
+ undocumented: Unreleased.
30
+ ---
31
+ Resuming playback on the speaker is pending.
32
+ `),
33
+ common_succeeded_action_attempt.extend({
29
34
  action_type,
30
35
  result,
31
- })
32
- .describe('Resuming playback on the speaker succeeded.'),
33
- common_failed_action_attempt
34
- .extend({ action_type, error })
35
- .describe('Resuming playback on the speaker failed.'),
36
+ }).describe(`
37
+ ---
38
+ undocumented: Unreleased.
39
+ ---
40
+ Resuming playback on the speaker succeeded.
41
+ `),
42
+ common_failed_action_attempt.extend({ action_type, error }).describe(`
43
+ ---
44
+ undocumented: Unreleased.
45
+ ---
46
+ Resuming playback on the speaker failed.
47
+ `),
36
48
  ]);
37
49
  //# sourceMappingURL=resume-speaker-playback.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"resume-speaker-playback.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/resume-speaker-playback.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC;KAClB,OAAO,CAAC,yBAAyB,CAAC;KAClC,QAAQ,CACP,uEAAuE,CACxE,CAAA;AAEH,MAAM,KAAK,GAAG,CAAC;KACZ,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,mCAAmC,CAAC,CAAA;AAEhD,MAAM,MAAM,GAAG,CAAC;KACb,MAAM,CAAC;IACN,mBAAmB,EAAE,CAAC;SACnB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,uBAAuB,CAAC,CAAA;AAEpC,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,kBAAkB,CACxE,QAAQ,EACR;IACE,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,8CAA8C,CAAC;IAC3D,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,6CAA6C,CAAC;IAC1D,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,0CAA0C,CAAC;CACxD,CACF,CAAA"}
1
+ {"version":3,"file":"resume-speaker-playback.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/resume-speaker-playback.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC,QAAQ,CAAC;;;;;KAK7D,CAAC,CAAA;AAEN,MAAM,KAAK,GAAG,CAAC;KACZ,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,mCAAmC,CAAC,CAAA;AAEhD,MAAM,MAAM,GAAG,CAAC;KACb,MAAM,CAAC;IACN,mBAAmB,EAAE,CAAC;SACnB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,uBAAuB,CAAC,CAAA;AAEpC,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,kBAAkB,CACxE,QAAQ,EACR;IACE,6BAA6B,CAAC,MAAM,CAAC;QACnC,WAAW;KACZ,CAAC,CAAC,QAAQ,CAAC;;;;;KAKX,CAAC;IACF,+BAA+B,CAAC,MAAM,CAAC;QACrC,WAAW;QACX,MAAM;KACP,CAAC,CAAC,QAAQ,CAAC;;;;;KAKX,CAAC;IACF,4BAA4B,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC;;;;;KAKpE,CAAC;CACH,CACF,CAAA"}