@seamapi/types 1.1102.0 → 1.1104.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/lib/seam/connect/models/access-grants/access-grant.d.ts +37 -21
- package/lib/seam/connect/models/access-grants/access-grant.js +4 -3
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.js +2 -2
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +38 -8
- package/lib/seam/connect/models/acs/acs-entrance.js +22 -9
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +75 -4
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +32 -30
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +395 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js +10 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/pause-speaker-playback.d.ts +87 -0
- package/lib/seam/connect/models/action-attempts/pause-speaker-playback.js +37 -0
- package/lib/seam/connect/models/action-attempts/pause-speaker-playback.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/play-speaker-chime.d.ts +77 -0
- package/lib/seam/connect/models/action-attempts/play-speaker-chime.js +31 -0
- package/lib/seam/connect/models/action-attempts/play-speaker-chime.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/resume-speaker-playback.d.ts +87 -0
- package/lib/seam/connect/models/action-attempts/resume-speaker-playback.js +37 -0
- package/lib/seam/connect/models/action-attempts/resume-speaker-playback.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/set-speaker-mute.d.ts +77 -0
- package/lib/seam/connect/models/action-attempts/set-speaker-mute.js +31 -0
- package/lib/seam/connect/models/action-attempts/set-speaker-mute.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/set-speaker-volume.d.ts +77 -0
- package/lib/seam/connect/models/action-attempts/set-speaker-volume.js +31 -0
- package/lib/seam/connect/models/action-attempts/set-speaker-volume.js.map +1 -0
- package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +3 -3
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +3 -3
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +95 -1
- package/lib/seam/connect/models/devices/capability-properties/index.js +4 -2
- package/lib/seam/connect/models/devices/capability-properties/index.js.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/speaker.d.ts +98 -0
- package/lib/seam/connect/models/devices/capability-properties/speaker.js +61 -0
- package/lib/seam/connect/models/devices/capability-properties/speaker.js.map +1 -0
- package/lib/seam/connect/models/devices/device-metadata.d.ts +33 -0
- package/lib/seam/connect/models/devices/device-metadata.js +26 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +12 -0
- package/lib/seam/connect/models/devices/device-provider.js +1 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +7 -1
- package/lib/seam/connect/models/devices/device-type.js +8 -0
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +200 -3
- package/lib/seam/connect/models/devices/device.js +16 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.d.ts +1126 -22
- package/lib/seam/connect/models/devices/phone.js +4 -19
- package/lib/seam/connect/models/devices/phone.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +144 -3
- package/lib/seam/connect/models/phones/phone-session.d.ts +28 -26
- package/lib/seam/connect/models/provider-capability.d.ts +1 -1
- package/lib/seam/connect/models/provider-capability.js +1 -0
- package/lib/seam/connect/models/provider-capability.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.js +4 -4
- package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
- package/lib/seam/connect/openapi.js +2006 -136
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +8195 -142
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/enums.ts +2 -0
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +13 -5
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +2 -2
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +36 -17
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +44 -34
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +10 -0
- package/src/lib/seam/connect/models/action-attempts/pause-speaker-playback.ts +54 -0
- package/src/lib/seam/connect/models/action-attempts/play-speaker-chime.ts +46 -0
- package/src/lib/seam/connect/models/action-attempts/resume-speaker-playback.ts +54 -0
- package/src/lib/seam/connect/models/action-attempts/set-speaker-mute.ts +43 -0
- package/src/lib/seam/connect/models/action-attempts/set-speaker-volume.ts +46 -0
- package/src/lib/seam/connect/models/devices/capability-properties/index.ts +9 -1
- package/src/lib/seam/connect/models/devices/capability-properties/speaker.ts +76 -0
- package/src/lib/seam/connect/models/devices/device-metadata.ts +29 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +1 -0
- package/src/lib/seam/connect/models/devices/device-type.ts +16 -0
- package/src/lib/seam/connect/models/devices/device.ts +18 -0
- package/src/lib/seam/connect/models/devices/phone.ts +4 -27
- package/src/lib/seam/connect/models/provider-capability.ts +1 -0
- package/src/lib/seam/connect/models/user-identities/user-identity.ts +4 -4
- package/src/lib/seam/connect/openapi.ts +2537 -407
- package/src/lib/seam/connect/route-types.ts +9097 -128
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import * as z from 'zod/v3';
|
|
2
|
+
export declare const pause_speaker_playback_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<"PAUSE_SPEAKER_PLAYBACK">;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
status: "pending";
|
|
12
|
+
action_attempt_id: string;
|
|
13
|
+
error: null;
|
|
14
|
+
result: null;
|
|
15
|
+
action_type: "PAUSE_SPEAKER_PLAYBACK";
|
|
16
|
+
}, {
|
|
17
|
+
status: "pending";
|
|
18
|
+
action_attempt_id: string;
|
|
19
|
+
error: null;
|
|
20
|
+
result: null;
|
|
21
|
+
action_type: "PAUSE_SPEAKER_PLAYBACK";
|
|
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<"PAUSE_SPEAKER_PLAYBACK">;
|
|
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: "PAUSE_SPEAKER_PLAYBACK";
|
|
44
|
+
}, {
|
|
45
|
+
status: "success";
|
|
46
|
+
action_attempt_id: string;
|
|
47
|
+
error: null;
|
|
48
|
+
result: {
|
|
49
|
+
affected_device_ids: string[];
|
|
50
|
+
};
|
|
51
|
+
action_type: "PAUSE_SPEAKER_PLAYBACK";
|
|
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<"PAUSE_SPEAKER_PLAYBACK">;
|
|
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: "PAUSE_SPEAKER_PLAYBACK";
|
|
78
|
+
}, {
|
|
79
|
+
status: "error";
|
|
80
|
+
action_attempt_id: string;
|
|
81
|
+
error: {
|
|
82
|
+
message: string;
|
|
83
|
+
type: string;
|
|
84
|
+
};
|
|
85
|
+
result: null;
|
|
86
|
+
action_type: "PAUSE_SPEAKER_PLAYBACK";
|
|
87
|
+
}>]>;
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
|
4
|
+
.literal('PAUSE_SPEAKER_PLAYBACK')
|
|
5
|
+
.describe('Action attempt to track the status of pausing playback on a speaker.');
|
|
6
|
+
const error = z
|
|
7
|
+
.object({
|
|
8
|
+
type: z.string().describe('Type of the error.'),
|
|
9
|
+
message: z
|
|
10
|
+
.string()
|
|
11
|
+
.describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
|
|
12
|
+
})
|
|
13
|
+
.describe('Error associated with the action.');
|
|
14
|
+
const result = z
|
|
15
|
+
.object({
|
|
16
|
+
affected_device_ids: z
|
|
17
|
+
.array(z.string().uuid())
|
|
18
|
+
.describe('IDs of the speakers whose playback was paused, including speakers grouped with the requested speaker.'),
|
|
19
|
+
})
|
|
20
|
+
.describe('Result of the action.');
|
|
21
|
+
export const pause_speaker_playback_action_attempt = z.discriminatedUnion('status', [
|
|
22
|
+
common_pending_action_attempt
|
|
23
|
+
.extend({
|
|
24
|
+
action_type,
|
|
25
|
+
})
|
|
26
|
+
.describe('Pausing playback on the speaker is pending.'),
|
|
27
|
+
common_succeeded_action_attempt
|
|
28
|
+
.extend({
|
|
29
|
+
action_type,
|
|
30
|
+
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
|
+
]);
|
|
37
|
+
//# sourceMappingURL=pause-speaker-playback.js.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as z from 'zod/v3';
|
|
2
|
+
export declare const play_speaker_chime_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_CHIME">;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
status: "pending";
|
|
12
|
+
action_attempt_id: string;
|
|
13
|
+
error: null;
|
|
14
|
+
result: null;
|
|
15
|
+
action_type: "PLAY_SPEAKER_CHIME";
|
|
16
|
+
}, {
|
|
17
|
+
status: "pending";
|
|
18
|
+
action_attempt_id: string;
|
|
19
|
+
error: null;
|
|
20
|
+
result: null;
|
|
21
|
+
action_type: "PLAY_SPEAKER_CHIME";
|
|
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_CHIME">;
|
|
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_CHIME";
|
|
36
|
+
}, {
|
|
37
|
+
status: "success";
|
|
38
|
+
action_attempt_id: string;
|
|
39
|
+
error: null;
|
|
40
|
+
result: {};
|
|
41
|
+
action_type: "PLAY_SPEAKER_CHIME";
|
|
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_CHIME">;
|
|
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_CHIME";
|
|
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_CHIME";
|
|
77
|
+
}>]>;
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
|
4
|
+
.literal('PLAY_SPEAKER_CHIME')
|
|
5
|
+
.describe('Action attempt to track the status of playing a chime on a speaker.');
|
|
6
|
+
const error = z
|
|
7
|
+
.object({
|
|
8
|
+
type: z.string().describe('Type of the error.'),
|
|
9
|
+
message: z
|
|
10
|
+
.string()
|
|
11
|
+
.describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
|
|
12
|
+
})
|
|
13
|
+
.describe('Error associated with the action.');
|
|
14
|
+
const result = z.object({}).describe('Result of the action.');
|
|
15
|
+
export const play_speaker_chime_action_attempt = z.discriminatedUnion('status', [
|
|
16
|
+
common_pending_action_attempt
|
|
17
|
+
.extend({
|
|
18
|
+
action_type,
|
|
19
|
+
})
|
|
20
|
+
.describe('Playing a chime on the speaker is pending.'),
|
|
21
|
+
common_succeeded_action_attempt
|
|
22
|
+
.extend({
|
|
23
|
+
action_type,
|
|
24
|
+
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
|
+
]);
|
|
31
|
+
//# sourceMappingURL=play-speaker-chime.js.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import * as z from 'zod/v3';
|
|
2
|
+
export declare const resume_speaker_playback_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<"RESUME_SPEAKER_PLAYBACK">;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
status: "pending";
|
|
12
|
+
action_attempt_id: string;
|
|
13
|
+
error: null;
|
|
14
|
+
result: null;
|
|
15
|
+
action_type: "RESUME_SPEAKER_PLAYBACK";
|
|
16
|
+
}, {
|
|
17
|
+
status: "pending";
|
|
18
|
+
action_attempt_id: string;
|
|
19
|
+
error: null;
|
|
20
|
+
result: null;
|
|
21
|
+
action_type: "RESUME_SPEAKER_PLAYBACK";
|
|
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<"RESUME_SPEAKER_PLAYBACK">;
|
|
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: "RESUME_SPEAKER_PLAYBACK";
|
|
44
|
+
}, {
|
|
45
|
+
status: "success";
|
|
46
|
+
action_attempt_id: string;
|
|
47
|
+
error: null;
|
|
48
|
+
result: {
|
|
49
|
+
affected_device_ids: string[];
|
|
50
|
+
};
|
|
51
|
+
action_type: "RESUME_SPEAKER_PLAYBACK";
|
|
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<"RESUME_SPEAKER_PLAYBACK">;
|
|
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: "RESUME_SPEAKER_PLAYBACK";
|
|
78
|
+
}, {
|
|
79
|
+
status: "error";
|
|
80
|
+
action_attempt_id: string;
|
|
81
|
+
error: {
|
|
82
|
+
message: string;
|
|
83
|
+
type: string;
|
|
84
|
+
};
|
|
85
|
+
result: null;
|
|
86
|
+
action_type: "RESUME_SPEAKER_PLAYBACK";
|
|
87
|
+
}>]>;
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
|
4
|
+
.literal('RESUME_SPEAKER_PLAYBACK')
|
|
5
|
+
.describe('Action attempt to track the status of resuming playback on a speaker.');
|
|
6
|
+
const error = z
|
|
7
|
+
.object({
|
|
8
|
+
type: z.string().describe('Type of the error.'),
|
|
9
|
+
message: z
|
|
10
|
+
.string()
|
|
11
|
+
.describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
|
|
12
|
+
})
|
|
13
|
+
.describe('Error associated with the action.');
|
|
14
|
+
const result = z
|
|
15
|
+
.object({
|
|
16
|
+
affected_device_ids: z
|
|
17
|
+
.array(z.string().uuid())
|
|
18
|
+
.describe('IDs of the speakers whose playback was resumed, including speakers grouped with the requested speaker.'),
|
|
19
|
+
})
|
|
20
|
+
.describe('Result of the action.');
|
|
21
|
+
export const resume_speaker_playback_action_attempt = z.discriminatedUnion('status', [
|
|
22
|
+
common_pending_action_attempt
|
|
23
|
+
.extend({
|
|
24
|
+
action_type,
|
|
25
|
+
})
|
|
26
|
+
.describe('Resuming playback on the speaker is pending.'),
|
|
27
|
+
common_succeeded_action_attempt
|
|
28
|
+
.extend({
|
|
29
|
+
action_type,
|
|
30
|
+
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
|
+
]);
|
|
37
|
+
//# sourceMappingURL=resume-speaker-playback.js.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as z from 'zod/v3';
|
|
2
|
+
export declare const set_speaker_mute_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<"SET_SPEAKER_MUTE">;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
status: "pending";
|
|
12
|
+
action_attempt_id: string;
|
|
13
|
+
error: null;
|
|
14
|
+
result: null;
|
|
15
|
+
action_type: "SET_SPEAKER_MUTE";
|
|
16
|
+
}, {
|
|
17
|
+
status: "pending";
|
|
18
|
+
action_attempt_id: string;
|
|
19
|
+
error: null;
|
|
20
|
+
result: null;
|
|
21
|
+
action_type: "SET_SPEAKER_MUTE";
|
|
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<"SET_SPEAKER_MUTE">;
|
|
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: "SET_SPEAKER_MUTE";
|
|
36
|
+
}, {
|
|
37
|
+
status: "success";
|
|
38
|
+
action_attempt_id: string;
|
|
39
|
+
error: null;
|
|
40
|
+
result: {};
|
|
41
|
+
action_type: "SET_SPEAKER_MUTE";
|
|
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<"SET_SPEAKER_MUTE">;
|
|
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: "SET_SPEAKER_MUTE";
|
|
68
|
+
}, {
|
|
69
|
+
status: "error";
|
|
70
|
+
action_attempt_id: string;
|
|
71
|
+
error: {
|
|
72
|
+
message: string;
|
|
73
|
+
type: string;
|
|
74
|
+
};
|
|
75
|
+
result: null;
|
|
76
|
+
action_type: "SET_SPEAKER_MUTE";
|
|
77
|
+
}>]>;
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
|
4
|
+
.literal('SET_SPEAKER_MUTE')
|
|
5
|
+
.describe('Action attempt to track the status of muting or unmuting a speaker.');
|
|
6
|
+
const error = z
|
|
7
|
+
.object({
|
|
8
|
+
type: z.string().describe('Type of the error.'),
|
|
9
|
+
message: z
|
|
10
|
+
.string()
|
|
11
|
+
.describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
|
|
12
|
+
})
|
|
13
|
+
.describe('Error associated with the action.');
|
|
14
|
+
const result = z.object({}).describe('Result of the action.');
|
|
15
|
+
export const set_speaker_mute_action_attempt = z.discriminatedUnion('status', [
|
|
16
|
+
common_pending_action_attempt
|
|
17
|
+
.extend({
|
|
18
|
+
action_type,
|
|
19
|
+
})
|
|
20
|
+
.describe('Muting or unmuting the speaker is pending.'),
|
|
21
|
+
common_succeeded_action_attempt
|
|
22
|
+
.extend({
|
|
23
|
+
action_type,
|
|
24
|
+
result,
|
|
25
|
+
})
|
|
26
|
+
.describe('Muting or unmuting the speaker succeeded.'),
|
|
27
|
+
common_failed_action_attempt
|
|
28
|
+
.extend({ action_type, error })
|
|
29
|
+
.describe('Muting or unmuting the speaker failed.'),
|
|
30
|
+
]);
|
|
31
|
+
//# sourceMappingURL=set-speaker-mute.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-speaker-mute.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/set-speaker-mute.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,kBAAkB,CAAC;KAC3B,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,+BAA+B,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IAC5E,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,CAAC,CAAA"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as z from 'zod/v3';
|
|
2
|
+
export declare const set_speaker_volume_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<"SET_SPEAKER_VOLUME">;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
status: "pending";
|
|
12
|
+
action_attempt_id: string;
|
|
13
|
+
error: null;
|
|
14
|
+
result: null;
|
|
15
|
+
action_type: "SET_SPEAKER_VOLUME";
|
|
16
|
+
}, {
|
|
17
|
+
status: "pending";
|
|
18
|
+
action_attempt_id: string;
|
|
19
|
+
error: null;
|
|
20
|
+
result: null;
|
|
21
|
+
action_type: "SET_SPEAKER_VOLUME";
|
|
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<"SET_SPEAKER_VOLUME">;
|
|
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: "SET_SPEAKER_VOLUME";
|
|
36
|
+
}, {
|
|
37
|
+
status: "success";
|
|
38
|
+
action_attempt_id: string;
|
|
39
|
+
error: null;
|
|
40
|
+
result: {};
|
|
41
|
+
action_type: "SET_SPEAKER_VOLUME";
|
|
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<"SET_SPEAKER_VOLUME">;
|
|
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: "SET_SPEAKER_VOLUME";
|
|
68
|
+
}, {
|
|
69
|
+
status: "error";
|
|
70
|
+
action_attempt_id: string;
|
|
71
|
+
error: {
|
|
72
|
+
message: string;
|
|
73
|
+
type: string;
|
|
74
|
+
};
|
|
75
|
+
result: null;
|
|
76
|
+
action_type: "SET_SPEAKER_VOLUME";
|
|
77
|
+
}>]>;
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
|
4
|
+
.literal('SET_SPEAKER_VOLUME')
|
|
5
|
+
.describe('Action attempt to track the status of setting the volume on a speaker.');
|
|
6
|
+
const error = z
|
|
7
|
+
.object({
|
|
8
|
+
type: z.string().describe('Type of the error.'),
|
|
9
|
+
message: z
|
|
10
|
+
.string()
|
|
11
|
+
.describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
|
|
12
|
+
})
|
|
13
|
+
.describe('Error associated with the action.');
|
|
14
|
+
const result = z.object({}).describe('Result of the action.');
|
|
15
|
+
export const set_speaker_volume_action_attempt = z.discriminatedUnion('status', [
|
|
16
|
+
common_pending_action_attempt
|
|
17
|
+
.extend({
|
|
18
|
+
action_type,
|
|
19
|
+
})
|
|
20
|
+
.describe('Setting the speaker volume is pending.'),
|
|
21
|
+
common_succeeded_action_attempt
|
|
22
|
+
.extend({
|
|
23
|
+
action_type,
|
|
24
|
+
result,
|
|
25
|
+
})
|
|
26
|
+
.describe('Setting the speaker volume succeeded.'),
|
|
27
|
+
common_failed_action_attempt
|
|
28
|
+
.extend({ action_type, error })
|
|
29
|
+
.describe('Setting the speaker volume failed.'),
|
|
30
|
+
]);
|
|
31
|
+
//# sourceMappingURL=set-speaker-volume.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-speaker-volume.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/set-speaker-volume.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,wEAAwE,CACzE,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,wCAAwC,CAAC;IACrD,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,uCAAuC,CAAC;IACpD,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,oCAAoC,CAAC;CAClD,CACF,CAAA"}
|
|
@@ -8,7 +8,7 @@ export declare const connect_webview: z.ZodObject<{
|
|
|
8
8
|
url: z.ZodString;
|
|
9
9
|
device_selection_mode: z.ZodEnum<["none", "single", "multiple"]>;
|
|
10
10
|
accepted_providers: z.ZodArray<z.ZodString, "many">;
|
|
11
|
-
accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control", "camera"]>, "many">;
|
|
11
|
+
accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control", "camera", "speaker"]>, "many">;
|
|
12
12
|
accepted_devices: z.ZodArray<z.ZodString, "many">;
|
|
13
13
|
any_device_allowed: z.ZodBoolean;
|
|
14
14
|
any_provider_allowed: z.ZodBoolean;
|
|
@@ -29,7 +29,7 @@ export declare const connect_webview: z.ZodObject<{
|
|
|
29
29
|
connected_account_id: string | null;
|
|
30
30
|
custom_metadata: Record<string, string | boolean>;
|
|
31
31
|
automatically_manage_new_devices: boolean;
|
|
32
|
-
accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
|
|
32
|
+
accepted_capabilities: ("lock" | "thermostat" | "speaker" | "noise_sensor" | "access_control" | "camera")[];
|
|
33
33
|
connect_webview_id: string;
|
|
34
34
|
url: string;
|
|
35
35
|
device_selection_mode: "none" | "single" | "multiple";
|
|
@@ -51,7 +51,7 @@ export declare const connect_webview: z.ZodObject<{
|
|
|
51
51
|
connected_account_id: string | null;
|
|
52
52
|
custom_metadata: Record<string, string | boolean>;
|
|
53
53
|
automatically_manage_new_devices: boolean;
|
|
54
|
-
accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
|
|
54
|
+
accepted_capabilities: ("lock" | "thermostat" | "speaker" | "noise_sensor" | "access_control" | "camera")[];
|
|
55
55
|
connect_webview_id: string;
|
|
56
56
|
url: string;
|
|
57
57
|
device_selection_mode: "none" | "single" | "multiple";
|
|
@@ -1194,7 +1194,7 @@ export declare const connected_account: z.ZodObject<{
|
|
|
1194
1194
|
custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
1195
1195
|
automatically_manage_new_devices: z.ZodBoolean;
|
|
1196
1196
|
customer_key: z.ZodOptional<z.ZodString>;
|
|
1197
|
-
accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control", "camera"]>, "many">;
|
|
1197
|
+
accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control", "camera", "speaker"]>, "many">;
|
|
1198
1198
|
default_checkin_time: z.ZodOptional<z.ZodString>;
|
|
1199
1199
|
default_checkout_time: z.ZodOptional<z.ZodString>;
|
|
1200
1200
|
time_zone: z.ZodOptional<z.ZodString>;
|
|
@@ -1280,7 +1280,7 @@ export declare const connected_account: z.ZodObject<{
|
|
|
1280
1280
|
})[];
|
|
1281
1281
|
custom_metadata: Record<string, string | boolean>;
|
|
1282
1282
|
automatically_manage_new_devices: boolean;
|
|
1283
|
-
accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
|
|
1283
|
+
accepted_capabilities: ("lock" | "thermostat" | "speaker" | "noise_sensor" | "access_control" | "camera")[];
|
|
1284
1284
|
time_zone?: string | undefined;
|
|
1285
1285
|
created_at?: string | undefined;
|
|
1286
1286
|
user_identifier?: {
|
|
@@ -1377,7 +1377,7 @@ export declare const connected_account: z.ZodObject<{
|
|
|
1377
1377
|
})[];
|
|
1378
1378
|
custom_metadata: Record<string, string | boolean>;
|
|
1379
1379
|
automatically_manage_new_devices: boolean;
|
|
1380
|
-
accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
|
|
1380
|
+
accepted_capabilities: ("lock" | "thermostat" | "speaker" | "noise_sensor" | "access_control" | "camera")[];
|
|
1381
1381
|
time_zone?: string | undefined;
|
|
1382
1382
|
created_at?: string | undefined;
|
|
1383
1383
|
user_identifier?: {
|