@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
|
@@ -22,7 +22,7 @@ const common_acs_user_error = z.object({
|
|
|
22
22
|
.string()
|
|
23
23
|
.describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
|
|
24
24
|
});
|
|
25
|
-
const
|
|
25
|
+
const acs_user_deleted_externally = common_acs_user_error.extend({
|
|
26
26
|
error_code: z.literal('deleted_externally'),
|
|
27
27
|
}).describe(`
|
|
28
28
|
---
|
|
@@ -30,7 +30,7 @@ const acs_users_deleted_externally = common_acs_user_error.extend({
|
|
|
30
30
|
---
|
|
31
31
|
Indicates that the [access system user](https://www.seam.co/docs/low-level-apis/access-systems/user-management) was deleted from the [access system](https://www.seam.co/docs/low-level-apis/access-systems) outside of Seam.
|
|
32
32
|
`);
|
|
33
|
-
const
|
|
33
|
+
const acs_user_salto_ks_subscription_limit_exceeded = common_acs_user_error.extend({
|
|
34
34
|
error_code: z.literal('salto_ks_subscription_limit_exceeded'),
|
|
35
35
|
}).describe(`
|
|
36
36
|
---
|
|
@@ -38,7 +38,7 @@ const acs_users_salto_ks_subscription_limit_exceeded = common_acs_user_error.ext
|
|
|
38
38
|
---
|
|
39
39
|
Indicates that the [access system user](https://www.seam.co/docs/low-level-apis/access-systems/user-management) could not be subscribed on Salto KS because the subscription limit has been exceeded.
|
|
40
40
|
`);
|
|
41
|
-
const
|
|
41
|
+
const acs_user_failed_to_create_on_acs_system = common_acs_user_error.extend({
|
|
42
42
|
error_code: z.literal('failed_to_create_on_acs_system'),
|
|
43
43
|
}).describe(`
|
|
44
44
|
---
|
|
@@ -46,7 +46,7 @@ const acs_users_failed_to_create_on_acs_system = common_acs_user_error.extend({
|
|
|
46
46
|
---
|
|
47
47
|
Indicates that the [access system user](https://www.seam.co/docs/low-level-apis/access-systems/user-management) was not created on the [access system](https://www.seam.co/docs/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).
|
|
48
48
|
`);
|
|
49
|
-
const
|
|
49
|
+
const acs_user_failed_to_update_on_acs_system = common_acs_user_error.extend({
|
|
50
50
|
error_code: z.literal('failed_to_update_on_acs_system'),
|
|
51
51
|
}).describe(`
|
|
52
52
|
---
|
|
@@ -54,7 +54,7 @@ const acs_users_failed_to_update_on_acs_system = common_acs_user_error.extend({
|
|
|
54
54
|
---
|
|
55
55
|
Indicates that the [access system user](https://www.seam.co/docs/low-level-apis/access-systems/user-management) was not updated on the [access system](https://www.seam.co/docs/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).
|
|
56
56
|
`);
|
|
57
|
-
const
|
|
57
|
+
const acs_user_failed_to_delete_on_acs_system = common_acs_user_error.extend({
|
|
58
58
|
error_code: z.literal('failed_to_delete_on_acs_system'),
|
|
59
59
|
}).describe(`
|
|
60
60
|
---
|
|
@@ -62,7 +62,7 @@ const acs_users_failed_to_delete_on_acs_system = common_acs_user_error.extend({
|
|
|
62
62
|
---
|
|
63
63
|
Indicates that the [access system user](https://www.seam.co/docs/low-level-apis/access-systems/user-management) was not deleted on the [access system](https://www.seam.co/docs/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).
|
|
64
64
|
`);
|
|
65
|
-
const
|
|
65
|
+
const acs_user_latch_conflict_with_resident_user = common_acs_user_error.extend({
|
|
66
66
|
error_code: z.literal('latch_conflict_with_resident_user'),
|
|
67
67
|
}).describe(`
|
|
68
68
|
---
|
|
@@ -70,29 +70,29 @@ const acs_users_latch_conflict_with_resident_user = common_acs_user_error.extend
|
|
|
70
70
|
---
|
|
71
71
|
Indicates that the [access system user](https://www.seam.co/docs/low-level-apis/access-systems/user-management) was created from the Seam API but also exists on Mission Control. This is unsupported. Contact Seam [support](mailto:support@seam.co).
|
|
72
72
|
`);
|
|
73
|
-
const
|
|
73
|
+
const acs_user_error = z
|
|
74
74
|
.discriminatedUnion('error_code', [
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
75
|
+
acs_user_deleted_externally,
|
|
76
|
+
acs_user_salto_ks_subscription_limit_exceeded,
|
|
77
|
+
acs_user_failed_to_create_on_acs_system,
|
|
78
|
+
acs_user_failed_to_update_on_acs_system,
|
|
79
|
+
acs_user_failed_to_delete_on_acs_system,
|
|
80
|
+
acs_user_latch_conflict_with_resident_user,
|
|
81
81
|
])
|
|
82
82
|
.describe('Errors associated with the [access system user](https://www.seam.co/docs/low-level-apis/access-systems/user-management).');
|
|
83
|
-
const
|
|
84
|
-
deleted_externally:
|
|
85
|
-
salto_ks_subscription_limit_exceeded:
|
|
86
|
-
failed_to_create_on_acs_system:
|
|
83
|
+
const _acs_user_error_map = z.object({
|
|
84
|
+
deleted_externally: acs_user_deleted_externally.optional().nullable(),
|
|
85
|
+
salto_ks_subscription_limit_exceeded: acs_user_salto_ks_subscription_limit_exceeded.optional().nullable(),
|
|
86
|
+
failed_to_create_on_acs_system: acs_user_failed_to_create_on_acs_system
|
|
87
87
|
.optional()
|
|
88
88
|
.nullable(),
|
|
89
|
-
failed_to_update_on_acs_system:
|
|
89
|
+
failed_to_update_on_acs_system: acs_user_failed_to_update_on_acs_system
|
|
90
90
|
.optional()
|
|
91
91
|
.nullable(),
|
|
92
|
-
failed_to_delete_on_acs_system:
|
|
92
|
+
failed_to_delete_on_acs_system: acs_user_failed_to_delete_on_acs_system
|
|
93
93
|
.optional()
|
|
94
94
|
.nullable(),
|
|
95
|
-
latch_conflict_with_resident_user:
|
|
95
|
+
latch_conflict_with_resident_user: acs_user_latch_conflict_with_resident_user
|
|
96
96
|
.optional()
|
|
97
97
|
.nullable(),
|
|
98
98
|
});
|
|
@@ -102,12 +102,12 @@ const common_acs_user_warning = z.object({
|
|
|
102
102
|
.string()
|
|
103
103
|
.describe('Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.'),
|
|
104
104
|
});
|
|
105
|
-
const
|
|
105
|
+
const acs_user_being_deleted = common_acs_user_warning
|
|
106
106
|
.extend({
|
|
107
107
|
warning_code: z.literal('being_deleted'),
|
|
108
108
|
})
|
|
109
109
|
.describe('Indicates that the [access system user](https://www.seam.co/docs/low-level-apis/access-systems/user-management) is being deleted from the [access system](https://www.seam.co/docs/low-level-apis/access-systems). This is a temporary state, and the access system user will be deleted shortly.');
|
|
110
|
-
const
|
|
110
|
+
const acs_user_salto_ks_user_not_subscribed = common_acs_user_warning
|
|
111
111
|
.extend({
|
|
112
112
|
warning_code: z.literal('salto_ks_user_not_subscribed'),
|
|
113
113
|
})
|
|
@@ -127,9 +127,9 @@ export const latch_resident_user = common_acs_user_warning
|
|
|
127
127
|
warning_code: z.literal('latch_resident_user'),
|
|
128
128
|
})
|
|
129
129
|
.describe('Indicates that the [access system user](https://www.seam.co/docs/low-level-apis/access-systems/user-management) was created on Latch Mission Control. Please use the Latch Mission Control to manage this user.');
|
|
130
|
-
const
|
|
131
|
-
being_deleted:
|
|
132
|
-
salto_ks_user_not_subscribed:
|
|
130
|
+
const _acs_user_warning_map = z.object({
|
|
131
|
+
being_deleted: acs_user_being_deleted.optional().nullable(),
|
|
132
|
+
salto_ks_user_not_subscribed: acs_user_salto_ks_user_not_subscribed
|
|
133
133
|
.optional()
|
|
134
134
|
.nullable(),
|
|
135
135
|
acs_user_inactive: acs_user_inactive.optional().nullable(),
|
|
@@ -138,15 +138,17 @@ const _acs_users_warning_map = z.object({
|
|
|
138
138
|
.nullable(),
|
|
139
139
|
latch_resident_user: latch_resident_user.optional().nullable(),
|
|
140
140
|
});
|
|
141
|
-
export const
|
|
141
|
+
export const acs_user_warning = z
|
|
142
142
|
.discriminatedUnion('warning_code', [
|
|
143
|
-
|
|
144
|
-
|
|
143
|
+
acs_user_being_deleted,
|
|
144
|
+
acs_user_salto_ks_user_not_subscribed,
|
|
145
145
|
acs_user_inactive,
|
|
146
146
|
unknown_issue_with_acs_user,
|
|
147
147
|
latch_resident_user,
|
|
148
148
|
])
|
|
149
149
|
.describe('Warnings associated with the [access system user](https://www.seam.co/docs/low-level-apis/access-systems/user-management).');
|
|
150
|
+
/** @deprecated Use acs_user_warning. */
|
|
151
|
+
export const acs_users_warnings = acs_user_warning;
|
|
150
152
|
const user_fields = z.object({
|
|
151
153
|
full_name: z
|
|
152
154
|
.string()
|
|
@@ -225,10 +227,10 @@ const common_acs_user = z
|
|
|
225
227
|
.optional()
|
|
226
228
|
.describe('Phone number of the user identity associated with the [access system user](https://www.seam.co/docs/low-level-apis/access-systems/user-management) in E.164 format (for example, `+15555550100`).'),
|
|
227
229
|
warnings: z
|
|
228
|
-
.array(
|
|
230
|
+
.array(acs_user_warning)
|
|
229
231
|
.describe('Warnings associated with the [access system user](https://www.seam.co/docs/low-level-apis/access-systems/user-management).'),
|
|
230
232
|
errors: z
|
|
231
|
-
.array(
|
|
233
|
+
.array(acs_user_error)
|
|
232
234
|
.describe('Errors associated with the [access system user](https://www.seam.co/docs/low-level-apis/access-systems/user-management).'),
|
|
233
235
|
pending_mutations: z
|
|
234
236
|
.array(acs_user_pending_mutations)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acs-user.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/acs-users/acs-user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAC5C,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAA;AAC1E,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAA;AAEnE,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3C,UAAU;IACV,YAAY;IACZ,6BAA6B;IAC7B,iBAAiB;IACjB,YAAY;IACZ,0BAA0B;IAC1B,kBAAkB;IAClB,oBAAoB;IACpB,WAAW;CACZ,CAAC,CAAA;AAIF,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,UAAU,EAAE,QAAQ,CAAC,QAAQ,CAC3B,gDAAgD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|
result: z.ZodNull;
|
|
5265
5265
|
error: z.ZodNull;
|
|
5266
|
+
} & {
|
|
5267
|
+
action_type: z.ZodLiteral<"SET_SPEAKER_VOLUME">;
|
|
5268
|
+
}, "strip", z.ZodTypeAny, {
|
|
5269
|
+
status: "pending";
|
|
5270
|
+
action_attempt_id: string;
|
|
5271
|
+
error: null;
|
|
5272
|
+
result: null;
|
|
5273
|
+
action_type: "SET_SPEAKER_VOLUME";
|
|
5274
|
+
}, {
|
|
5275
|
+
status: "pending";
|
|
5276
|
+
action_attempt_id: string;
|
|
5277
|
+
error: null;
|
|
5278
|
+
result: null;
|
|
5279
|
+
action_type: "SET_SPEAKER_VOLUME";
|
|
5280
|
+
}>, z.ZodObject<{
|
|
5281
|
+
action_attempt_id: z.ZodString;
|
|
5282
|
+
} & {
|
|
5283
|
+
status: z.ZodLiteral<"success">;
|
|
5284
|
+
error: z.ZodNull;
|
|
5285
|
+
} & {
|
|
5286
|
+
action_type: z.ZodLiteral<"SET_SPEAKER_VOLUME">;
|
|
5287
|
+
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
5288
|
+
}, "strip", z.ZodTypeAny, {
|
|
5289
|
+
status: "success";
|
|
5290
|
+
action_attempt_id: string;
|
|
5291
|
+
error: null;
|
|
5292
|
+
result: {};
|
|
5293
|
+
action_type: "SET_SPEAKER_VOLUME";
|
|
5294
|
+
}, {
|
|
5295
|
+
status: "success";
|
|
5296
|
+
action_attempt_id: string;
|
|
5297
|
+
error: null;
|
|
5298
|
+
result: {};
|
|
5299
|
+
action_type: "SET_SPEAKER_VOLUME";
|
|
5300
|
+
}>, z.ZodObject<{
|
|
5301
|
+
action_attempt_id: z.ZodString;
|
|
5302
|
+
} & {
|
|
5303
|
+
status: z.ZodLiteral<"error">;
|
|
5304
|
+
result: z.ZodNull;
|
|
5305
|
+
} & {
|
|
5306
|
+
action_type: z.ZodLiteral<"SET_SPEAKER_VOLUME">;
|
|
5307
|
+
error: z.ZodObject<{
|
|
5308
|
+
type: z.ZodString;
|
|
5309
|
+
message: z.ZodString;
|
|
5310
|
+
}, "strip", z.ZodTypeAny, {
|
|
5311
|
+
message: string;
|
|
5312
|
+
type: string;
|
|
5313
|
+
}, {
|
|
5314
|
+
message: string;
|
|
5315
|
+
type: string;
|
|
5316
|
+
}>;
|
|
5317
|
+
}, "strip", z.ZodTypeAny, {
|
|
5318
|
+
status: "error";
|
|
5319
|
+
action_attempt_id: string;
|
|
5320
|
+
error: {
|
|
5321
|
+
message: string;
|
|
5322
|
+
type: string;
|
|
5323
|
+
};
|
|
5324
|
+
result: null;
|
|
5325
|
+
action_type: "SET_SPEAKER_VOLUME";
|
|
5326
|
+
}, {
|
|
5327
|
+
status: "error";
|
|
5328
|
+
action_attempt_id: string;
|
|
5329
|
+
error: {
|
|
5330
|
+
message: string;
|
|
5331
|
+
type: string;
|
|
5332
|
+
};
|
|
5333
|
+
result: null;
|
|
5334
|
+
action_type: "SET_SPEAKER_VOLUME";
|
|
5335
|
+
}>, z.ZodObject<{
|
|
5336
|
+
action_attempt_id: z.ZodString;
|
|
5337
|
+
} & {
|
|
5338
|
+
status: z.ZodLiteral<"pending">;
|
|
5339
|
+
result: z.ZodNull;
|
|
5340
|
+
error: z.ZodNull;
|
|
5341
|
+
} & {
|
|
5342
|
+
action_type: z.ZodLiteral<"SET_SPEAKER_MUTE">;
|
|
5343
|
+
}, "strip", z.ZodTypeAny, {
|
|
5344
|
+
status: "pending";
|
|
5345
|
+
action_attempt_id: string;
|
|
5346
|
+
error: null;
|
|
5347
|
+
result: null;
|
|
5348
|
+
action_type: "SET_SPEAKER_MUTE";
|
|
5349
|
+
}, {
|
|
5350
|
+
status: "pending";
|
|
5351
|
+
action_attempt_id: string;
|
|
5352
|
+
error: null;
|
|
5353
|
+
result: null;
|
|
5354
|
+
action_type: "SET_SPEAKER_MUTE";
|
|
5355
|
+
}>, z.ZodObject<{
|
|
5356
|
+
action_attempt_id: z.ZodString;
|
|
5357
|
+
} & {
|
|
5358
|
+
status: z.ZodLiteral<"success">;
|
|
5359
|
+
error: z.ZodNull;
|
|
5360
|
+
} & {
|
|
5361
|
+
action_type: z.ZodLiteral<"SET_SPEAKER_MUTE">;
|
|
5362
|
+
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
5363
|
+
}, "strip", z.ZodTypeAny, {
|
|
5364
|
+
status: "success";
|
|
5365
|
+
action_attempt_id: string;
|
|
5366
|
+
error: null;
|
|
5367
|
+
result: {};
|
|
5368
|
+
action_type: "SET_SPEAKER_MUTE";
|
|
5369
|
+
}, {
|
|
5370
|
+
status: "success";
|
|
5371
|
+
action_attempt_id: string;
|
|
5372
|
+
error: null;
|
|
5373
|
+
result: {};
|
|
5374
|
+
action_type: "SET_SPEAKER_MUTE";
|
|
5375
|
+
}>, z.ZodObject<{
|
|
5376
|
+
action_attempt_id: z.ZodString;
|
|
5377
|
+
} & {
|
|
5378
|
+
status: z.ZodLiteral<"error">;
|
|
5379
|
+
result: z.ZodNull;
|
|
5380
|
+
} & {
|
|
5381
|
+
action_type: z.ZodLiteral<"SET_SPEAKER_MUTE">;
|
|
5382
|
+
error: z.ZodObject<{
|
|
5383
|
+
type: z.ZodString;
|
|
5384
|
+
message: z.ZodString;
|
|
5385
|
+
}, "strip", z.ZodTypeAny, {
|
|
5386
|
+
message: string;
|
|
5387
|
+
type: string;
|
|
5388
|
+
}, {
|
|
5389
|
+
message: string;
|
|
5390
|
+
type: string;
|
|
5391
|
+
}>;
|
|
5392
|
+
}, "strip", z.ZodTypeAny, {
|
|
5393
|
+
status: "error";
|
|
5394
|
+
action_attempt_id: string;
|
|
5395
|
+
error: {
|
|
5396
|
+
message: string;
|
|
5397
|
+
type: string;
|
|
5398
|
+
};
|
|
5399
|
+
result: null;
|
|
5400
|
+
action_type: "SET_SPEAKER_MUTE";
|
|
5401
|
+
}, {
|
|
5402
|
+
status: "error";
|
|
5403
|
+
action_attempt_id: string;
|
|
5404
|
+
error: {
|
|
5405
|
+
message: string;
|
|
5406
|
+
type: string;
|
|
5407
|
+
};
|
|
5408
|
+
result: null;
|
|
5409
|
+
action_type: "SET_SPEAKER_MUTE";
|
|
5410
|
+
}>, z.ZodObject<{
|
|
5411
|
+
action_attempt_id: z.ZodString;
|
|
5412
|
+
} & {
|
|
5413
|
+
status: z.ZodLiteral<"pending">;
|
|
5414
|
+
result: z.ZodNull;
|
|
5415
|
+
error: z.ZodNull;
|
|
5416
|
+
} & {
|
|
5417
|
+
action_type: z.ZodLiteral<"PAUSE_SPEAKER_PLAYBACK">;
|
|
5418
|
+
}, "strip", z.ZodTypeAny, {
|
|
5419
|
+
status: "pending";
|
|
5420
|
+
action_attempt_id: string;
|
|
5421
|
+
error: null;
|
|
5422
|
+
result: null;
|
|
5423
|
+
action_type: "PAUSE_SPEAKER_PLAYBACK";
|
|
5424
|
+
}, {
|
|
5425
|
+
status: "pending";
|
|
5426
|
+
action_attempt_id: string;
|
|
5427
|
+
error: null;
|
|
5428
|
+
result: null;
|
|
5429
|
+
action_type: "PAUSE_SPEAKER_PLAYBACK";
|
|
5430
|
+
}>, z.ZodObject<{
|
|
5431
|
+
action_attempt_id: z.ZodString;
|
|
5432
|
+
} & {
|
|
5433
|
+
status: z.ZodLiteral<"success">;
|
|
5434
|
+
error: z.ZodNull;
|
|
5435
|
+
} & {
|
|
5436
|
+
action_type: z.ZodLiteral<"PAUSE_SPEAKER_PLAYBACK">;
|
|
5437
|
+
result: z.ZodObject<{
|
|
5438
|
+
affected_device_ids: z.ZodArray<z.ZodString, "many">;
|
|
5439
|
+
}, "strip", z.ZodTypeAny, {
|
|
5440
|
+
affected_device_ids: string[];
|
|
5441
|
+
}, {
|
|
5442
|
+
affected_device_ids: string[];
|
|
5443
|
+
}>;
|
|
5444
|
+
}, "strip", z.ZodTypeAny, {
|
|
5445
|
+
status: "success";
|
|
5446
|
+
action_attempt_id: string;
|
|
5447
|
+
error: null;
|
|
5448
|
+
result: {
|
|
5449
|
+
affected_device_ids: string[];
|
|
5450
|
+
};
|
|
5451
|
+
action_type: "PAUSE_SPEAKER_PLAYBACK";
|
|
5452
|
+
}, {
|
|
5453
|
+
status: "success";
|
|
5454
|
+
action_attempt_id: string;
|
|
5455
|
+
error: null;
|
|
5456
|
+
result: {
|
|
5457
|
+
affected_device_ids: string[];
|
|
5458
|
+
};
|
|
5459
|
+
action_type: "PAUSE_SPEAKER_PLAYBACK";
|
|
5460
|
+
}>, z.ZodObject<{
|
|
5461
|
+
action_attempt_id: z.ZodString;
|
|
5462
|
+
} & {
|
|
5463
|
+
status: z.ZodLiteral<"error">;
|
|
5464
|
+
result: z.ZodNull;
|
|
5465
|
+
} & {
|
|
5466
|
+
action_type: z.ZodLiteral<"PAUSE_SPEAKER_PLAYBACK">;
|
|
5467
|
+
error: z.ZodObject<{
|
|
5468
|
+
type: z.ZodString;
|
|
5469
|
+
message: z.ZodString;
|
|
5470
|
+
}, "strip", z.ZodTypeAny, {
|
|
5471
|
+
message: string;
|
|
5472
|
+
type: string;
|
|
5473
|
+
}, {
|
|
5474
|
+
message: string;
|
|
5475
|
+
type: string;
|
|
5476
|
+
}>;
|
|
5477
|
+
}, "strip", z.ZodTypeAny, {
|
|
5478
|
+
status: "error";
|
|
5479
|
+
action_attempt_id: string;
|
|
5480
|
+
error: {
|
|
5481
|
+
message: string;
|
|
5482
|
+
type: string;
|
|
5483
|
+
};
|
|
5484
|
+
result: null;
|
|
5485
|
+
action_type: "PAUSE_SPEAKER_PLAYBACK";
|
|
5486
|
+
}, {
|
|
5487
|
+
status: "error";
|
|
5488
|
+
action_attempt_id: string;
|
|
5489
|
+
error: {
|
|
5490
|
+
message: string;
|
|
5491
|
+
type: string;
|
|
5492
|
+
};
|
|
5493
|
+
result: null;
|
|
5494
|
+
action_type: "PAUSE_SPEAKER_PLAYBACK";
|
|
5495
|
+
}>, z.ZodObject<{
|
|
5496
|
+
action_attempt_id: z.ZodString;
|
|
5497
|
+
} & {
|
|
5498
|
+
status: z.ZodLiteral<"pending">;
|
|
5499
|
+
result: z.ZodNull;
|
|
5500
|
+
error: z.ZodNull;
|
|
5501
|
+
} & {
|
|
5502
|
+
action_type: z.ZodLiteral<"RESUME_SPEAKER_PLAYBACK">;
|
|
5503
|
+
}, "strip", z.ZodTypeAny, {
|
|
5504
|
+
status: "pending";
|
|
5505
|
+
action_attempt_id: string;
|
|
5506
|
+
error: null;
|
|
5507
|
+
result: null;
|
|
5508
|
+
action_type: "RESUME_SPEAKER_PLAYBACK";
|
|
5509
|
+
}, {
|
|
5510
|
+
status: "pending";
|
|
5511
|
+
action_attempt_id: string;
|
|
5512
|
+
error: null;
|
|
5513
|
+
result: null;
|
|
5514
|
+
action_type: "RESUME_SPEAKER_PLAYBACK";
|
|
5515
|
+
}>, z.ZodObject<{
|
|
5516
|
+
action_attempt_id: z.ZodString;
|
|
5517
|
+
} & {
|
|
5518
|
+
status: z.ZodLiteral<"success">;
|
|
5519
|
+
error: z.ZodNull;
|
|
5520
|
+
} & {
|
|
5521
|
+
action_type: z.ZodLiteral<"RESUME_SPEAKER_PLAYBACK">;
|
|
5522
|
+
result: z.ZodObject<{
|
|
5523
|
+
affected_device_ids: z.ZodArray<z.ZodString, "many">;
|
|
5524
|
+
}, "strip", z.ZodTypeAny, {
|
|
5525
|
+
affected_device_ids: string[];
|
|
5526
|
+
}, {
|
|
5527
|
+
affected_device_ids: string[];
|
|
5528
|
+
}>;
|
|
5529
|
+
}, "strip", z.ZodTypeAny, {
|
|
5530
|
+
status: "success";
|
|
5531
|
+
action_attempt_id: string;
|
|
5532
|
+
error: null;
|
|
5533
|
+
result: {
|
|
5534
|
+
affected_device_ids: string[];
|
|
5535
|
+
};
|
|
5536
|
+
action_type: "RESUME_SPEAKER_PLAYBACK";
|
|
5537
|
+
}, {
|
|
5538
|
+
status: "success";
|
|
5539
|
+
action_attempt_id: string;
|
|
5540
|
+
error: null;
|
|
5541
|
+
result: {
|
|
5542
|
+
affected_device_ids: string[];
|
|
5543
|
+
};
|
|
5544
|
+
action_type: "RESUME_SPEAKER_PLAYBACK";
|
|
5545
|
+
}>, z.ZodObject<{
|
|
5546
|
+
action_attempt_id: z.ZodString;
|
|
5547
|
+
} & {
|
|
5548
|
+
status: z.ZodLiteral<"error">;
|
|
5549
|
+
result: z.ZodNull;
|
|
5550
|
+
} & {
|
|
5551
|
+
action_type: z.ZodLiteral<"RESUME_SPEAKER_PLAYBACK">;
|
|
5552
|
+
error: z.ZodObject<{
|
|
5553
|
+
type: z.ZodString;
|
|
5554
|
+
message: z.ZodString;
|
|
5555
|
+
}, "strip", z.ZodTypeAny, {
|
|
5556
|
+
message: string;
|
|
5557
|
+
type: string;
|
|
5558
|
+
}, {
|
|
5559
|
+
message: string;
|
|
5560
|
+
type: string;
|
|
5561
|
+
}>;
|
|
5562
|
+
}, "strip", z.ZodTypeAny, {
|
|
5563
|
+
status: "error";
|
|
5564
|
+
action_attempt_id: string;
|
|
5565
|
+
error: {
|
|
5566
|
+
message: string;
|
|
5567
|
+
type: string;
|
|
5568
|
+
};
|
|
5569
|
+
result: null;
|
|
5570
|
+
action_type: "RESUME_SPEAKER_PLAYBACK";
|
|
5571
|
+
}, {
|
|
5572
|
+
status: "error";
|
|
5573
|
+
action_attempt_id: string;
|
|
5574
|
+
error: {
|
|
5575
|
+
message: string;
|
|
5576
|
+
type: string;
|
|
5577
|
+
};
|
|
5578
|
+
result: null;
|
|
5579
|
+
action_type: "RESUME_SPEAKER_PLAYBACK";
|
|
5580
|
+
}>, z.ZodObject<{
|
|
5581
|
+
action_attempt_id: z.ZodString;
|
|
5582
|
+
} & {
|
|
5583
|
+
status: z.ZodLiteral<"pending">;
|
|
5584
|
+
result: z.ZodNull;
|
|
5585
|
+
error: z.ZodNull;
|
|
5586
|
+
} & {
|
|
5587
|
+
action_type: z.ZodLiteral<"PLAY_SPEAKER_CHIME">;
|
|
5588
|
+
}, "strip", z.ZodTypeAny, {
|
|
5589
|
+
status: "pending";
|
|
5590
|
+
action_attempt_id: string;
|
|
5591
|
+
error: null;
|
|
5592
|
+
result: null;
|
|
5593
|
+
action_type: "PLAY_SPEAKER_CHIME";
|
|
5594
|
+
}, {
|
|
5595
|
+
status: "pending";
|
|
5596
|
+
action_attempt_id: string;
|
|
5597
|
+
error: null;
|
|
5598
|
+
result: null;
|
|
5599
|
+
action_type: "PLAY_SPEAKER_CHIME";
|
|
5600
|
+
}>, z.ZodObject<{
|
|
5601
|
+
action_attempt_id: z.ZodString;
|
|
5602
|
+
} & {
|
|
5603
|
+
status: z.ZodLiteral<"success">;
|
|
5604
|
+
error: z.ZodNull;
|
|
5605
|
+
} & {
|
|
5606
|
+
action_type: z.ZodLiteral<"PLAY_SPEAKER_CHIME">;
|
|
5607
|
+
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
5608
|
+
}, "strip", z.ZodTypeAny, {
|
|
5609
|
+
status: "success";
|
|
5610
|
+
action_attempt_id: string;
|
|
5611
|
+
error: null;
|
|
5612
|
+
result: {};
|
|
5613
|
+
action_type: "PLAY_SPEAKER_CHIME";
|
|
5614
|
+
}, {
|
|
5615
|
+
status: "success";
|
|
5616
|
+
action_attempt_id: string;
|
|
5617
|
+
error: null;
|
|
5618
|
+
result: {};
|
|
5619
|
+
action_type: "PLAY_SPEAKER_CHIME";
|
|
5620
|
+
}>, z.ZodObject<{
|
|
5621
|
+
action_attempt_id: z.ZodString;
|
|
5622
|
+
} & {
|
|
5623
|
+
status: z.ZodLiteral<"error">;
|
|
5624
|
+
result: z.ZodNull;
|
|
5625
|
+
} & {
|
|
5626
|
+
action_type: z.ZodLiteral<"PLAY_SPEAKER_CHIME">;
|
|
5627
|
+
error: z.ZodObject<{
|
|
5628
|
+
type: z.ZodString;
|
|
5629
|
+
message: z.ZodString;
|
|
5630
|
+
}, "strip", z.ZodTypeAny, {
|
|
5631
|
+
message: string;
|
|
5632
|
+
type: string;
|
|
5633
|
+
}, {
|
|
5634
|
+
message: string;
|
|
5635
|
+
type: string;
|
|
5636
|
+
}>;
|
|
5637
|
+
}, "strip", z.ZodTypeAny, {
|
|
5638
|
+
status: "error";
|
|
5639
|
+
action_attempt_id: string;
|
|
5640
|
+
error: {
|
|
5641
|
+
message: string;
|
|
5642
|
+
type: string;
|
|
5643
|
+
};
|
|
5644
|
+
result: null;
|
|
5645
|
+
action_type: "PLAY_SPEAKER_CHIME";
|
|
5646
|
+
}, {
|
|
5647
|
+
status: "error";
|
|
5648
|
+
action_attempt_id: string;
|
|
5649
|
+
error: {
|
|
5650
|
+
message: string;
|
|
5651
|
+
type: string;
|
|
5652
|
+
};
|
|
5653
|
+
result: null;
|
|
5654
|
+
action_type: "PLAY_SPEAKER_CHIME";
|
|
5655
|
+
}>, z.ZodObject<{
|
|
5656
|
+
action_attempt_id: z.ZodString;
|
|
5657
|
+
} & {
|
|
5658
|
+
status: z.ZodLiteral<"pending">;
|
|
5659
|
+
result: z.ZodNull;
|
|
5660
|
+
error: z.ZodNull;
|
|
5266
5661
|
} & {
|
|
5267
5662
|
action_type: z.ZodLiteral<"SYNC_ACCESS_CODES">;
|
|
5268
5663
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7,12 +7,17 @@ import { convert_access_code_to_managed_action_attempt } from './convert-access-
|
|
|
7
7
|
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
|
+
import { pause_speaker_playback_action_attempt } from './pause-speaker-playback.js';
|
|
11
|
+
import { play_speaker_chime_action_attempt } from './play-speaker-chime.js';
|
|
10
12
|
import { push_thermostat_programs_action_attempt } from './push-thermostat-programs.js';
|
|
11
13
|
import { reset_sandbox_workspace_action_attempt } from './reset-sandbox-workspace.js';
|
|
14
|
+
import { resume_speaker_playback_action_attempt } from './resume-speaker-playback.js';
|
|
12
15
|
import { scan_credential_action_attempt } from './scan-credential.js';
|
|
13
16
|
import { scan_to_assign_credential_action_attempt } from './scan-to-assign-credential.js';
|
|
14
17
|
import { set_fan_mode_action_attempt } from './set-fan-mode.js';
|
|
15
18
|
import { set_hvac_mode_action_attempt } from './set-hvac-mode.js';
|
|
19
|
+
import { set_speaker_mute_action_attempt } from './set-speaker-mute.js';
|
|
20
|
+
import { set_speaker_volume_action_attempt } from './set-speaker-volume.js';
|
|
16
21
|
import { simulate_keypad_code_entry_action_attempt } from './simulate-keypad-code-entry.js';
|
|
17
22
|
import { simulate_manual_lock_via_keypad_action_attempt } from './simulate-manual-lock-via-keypad.js';
|
|
18
23
|
import { unlock_door_action_attempt } from './unlock-door.js';
|
|
@@ -33,6 +38,11 @@ export const action_attempt = z.union([
|
|
|
33
38
|
...push_thermostat_programs_action_attempt.options,
|
|
34
39
|
...configure_auto_lock_action_attempt.options,
|
|
35
40
|
...convert_access_code_to_managed_action_attempt.options,
|
|
41
|
+
...set_speaker_volume_action_attempt.options,
|
|
42
|
+
...set_speaker_mute_action_attempt.options,
|
|
43
|
+
...pause_speaker_playback_action_attempt.options,
|
|
44
|
+
...resume_speaker_playback_action_attempt.options,
|
|
45
|
+
...play_speaker_chime_action_attempt.options,
|
|
36
46
|
...deprecated_action_attempts,
|
|
37
47
|
]).describe(`
|
|
38
48
|
---
|
|
@@ -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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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,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;AAC3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