@seamapi/types 1.210.0 → 1.211.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 (46) hide show
  1. package/dist/connect.d.cts +2793 -1343
  2. package/dist/devicedb.d.cts +199 -795
  3. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +18 -12
  4. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +29 -13
  5. package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +6 -4
  6. package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -10
  7. package/lib/seam/connect/models/acs/acs-entrance.d.ts +12 -12
  8. package/lib/seam/connect/models/acs/acs-system.d.ts +45 -40
  9. package/lib/seam/connect/models/acs/acs-user.d.ts +40 -36
  10. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -165
  11. package/lib/seam/connect/models/action-attempts/common.d.ts +12 -6
  12. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +140 -77
  13. package/lib/seam/connect/models/action-attempts/lock-door.d.ts +20 -11
  14. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +20 -11
  15. package/lib/seam/connect/models/action-attempts/set-cool.d.ts +20 -11
  16. package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +20 -11
  17. package/lib/seam/connect/models/action-attempts/set-heat-cool.d.ts +20 -11
  18. package/lib/seam/connect/models/action-attempts/set-heat.d.ts +20 -11
  19. package/lib/seam/connect/models/action-attempts/set-thermostat-off.d.ts +20 -11
  20. package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +20 -11
  21. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +20 -16
  22. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +33 -29
  23. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +213 -48
  24. package/lib/seam/connect/models/devices/device-provider.d.ts +7 -5
  25. package/lib/seam/connect/models/devices/device.d.ts +188 -1036
  26. package/lib/seam/connect/models/devices/phone.d.ts +2023 -15
  27. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +2034 -16
  28. package/lib/seam/connect/models/events/access-codes.d.ts +306 -238
  29. package/lib/seam/connect/models/events/acs/common.d.ts +5 -4
  30. package/lib/seam/connect/models/events/acs/credentials.d.ts +18 -12
  31. package/lib/seam/connect/models/events/acs/index.d.ts +26 -18
  32. package/lib/seam/connect/models/events/acs/systems.d.ts +16 -12
  33. package/lib/seam/connect/models/events/acs/users.d.ts +18 -12
  34. package/lib/seam/connect/models/events/action-attempts.d.ts +16 -12
  35. package/lib/seam/connect/models/events/client-sessions.d.ts +14 -10
  36. package/lib/seam/connect/models/events/connected-accounts.d.ts +98 -70
  37. package/lib/seam/connect/models/events/devices.d.ts +412 -312
  38. package/lib/seam/connect/models/events/enrollment-automations.d.ts +14 -10
  39. package/lib/seam/connect/models/events/phones.d.ts +14 -10
  40. package/lib/seam/connect/models/events/seam-event.d.ts +456 -344
  41. package/lib/seam/connect/models/thermostats/climate-setting-schedule.d.ts +6 -5
  42. package/lib/seam/connect/models/webhooks/webhook.d.ts +2 -2
  43. package/lib/seam/devicedb/models/device-model.d.ts +6 -4
  44. package/lib/seam/devicedb/models/manufacturer.d.ts +2 -2
  45. package/lib/seam/devicedb/route-specs.d.ts +132 -730
  46. package/package.json +5 -1
@@ -1,11 +1,14 @@
1
1
  import { z } from 'zod';
2
- export declare const set_cool_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3
- error: z.ZodNull;
4
- status: z.ZodLiteral<"pending">;
2
+ export declare const set_cool_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
5
3
  action_attempt_id: z.ZodString;
4
+ status: z.ZodEnum<["pending", "success", "error"]>;
5
+ }, {
6
+ status: z.ZodLiteral<"pending">;
6
7
  result: z.ZodNull;
8
+ error: z.ZodNull;
9
+ }>, {
7
10
  action_type: z.ZodLiteral<"SET_COOL">;
8
- }, "strip", z.ZodTypeAny, {
11
+ }>, "strip", z.ZodTypeAny, {
9
12
  error: null;
10
13
  status: "pending";
11
14
  action_attempt_id: string;
@@ -17,13 +20,16 @@ export declare const set_cool_action_attempt: z.ZodDiscriminatedUnion<"status",
17
20
  action_attempt_id: string;
18
21
  result: null;
19
22
  action_type: "SET_COOL";
20
- }>, z.ZodObject<{
21
- error: z.ZodNull;
22
- status: z.ZodLiteral<"success">;
23
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
23
24
  action_attempt_id: z.ZodString;
25
+ status: z.ZodEnum<["pending", "success", "error"]>;
26
+ }, {
27
+ status: z.ZodLiteral<"success">;
28
+ error: z.ZodNull;
29
+ }>, {
24
30
  action_type: z.ZodLiteral<"SET_COOL">;
25
31
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
26
- }, "strip", z.ZodTypeAny, {
32
+ }>, "strip", z.ZodTypeAny, {
27
33
  error: null;
28
34
  status: "success";
29
35
  action_attempt_id: string;
@@ -35,10 +41,13 @@ export declare const set_cool_action_attempt: z.ZodDiscriminatedUnion<"status",
35
41
  action_attempt_id: string;
36
42
  result: {};
37
43
  action_type: "SET_COOL";
38
- }>, z.ZodObject<{
39
- status: z.ZodLiteral<"error">;
44
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
40
45
  action_attempt_id: z.ZodString;
46
+ status: z.ZodEnum<["pending", "success", "error"]>;
47
+ }, {
48
+ status: z.ZodLiteral<"error">;
41
49
  result: z.ZodNull;
50
+ }>, {
42
51
  action_type: z.ZodLiteral<"SET_COOL">;
43
52
  error: z.ZodObject<{
44
53
  type: z.ZodString;
@@ -50,7 +59,7 @@ export declare const set_cool_action_attempt: z.ZodDiscriminatedUnion<"status",
50
59
  type: string;
51
60
  message: string;
52
61
  }>;
53
- }, "strip", z.ZodTypeAny, {
62
+ }>, "strip", z.ZodTypeAny, {
54
63
  error: {
55
64
  type: string;
56
65
  message: string;
@@ -1,11 +1,14 @@
1
1
  import { z } from 'zod';
2
- export declare const set_fan_mode_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3
- error: z.ZodNull;
4
- status: z.ZodLiteral<"pending">;
2
+ export declare const set_fan_mode_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
5
3
  action_attempt_id: z.ZodString;
4
+ status: z.ZodEnum<["pending", "success", "error"]>;
5
+ }, {
6
+ status: z.ZodLiteral<"pending">;
6
7
  result: z.ZodNull;
8
+ error: z.ZodNull;
9
+ }>, {
7
10
  action_type: z.ZodLiteral<"SET_FAN_MODE">;
8
- }, "strip", z.ZodTypeAny, {
11
+ }>, "strip", z.ZodTypeAny, {
9
12
  error: null;
10
13
  status: "pending";
11
14
  action_attempt_id: string;
@@ -17,13 +20,16 @@ export declare const set_fan_mode_action_attempt: z.ZodDiscriminatedUnion<"statu
17
20
  action_attempt_id: string;
18
21
  result: null;
19
22
  action_type: "SET_FAN_MODE";
20
- }>, z.ZodObject<{
21
- error: z.ZodNull;
22
- status: z.ZodLiteral<"success">;
23
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
23
24
  action_attempt_id: z.ZodString;
25
+ status: z.ZodEnum<["pending", "success", "error"]>;
26
+ }, {
27
+ status: z.ZodLiteral<"success">;
28
+ error: z.ZodNull;
29
+ }>, {
24
30
  action_type: z.ZodLiteral<"SET_FAN_MODE">;
25
31
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
26
- }, "strip", z.ZodTypeAny, {
32
+ }>, "strip", z.ZodTypeAny, {
27
33
  error: null;
28
34
  status: "success";
29
35
  action_attempt_id: string;
@@ -35,10 +41,13 @@ export declare const set_fan_mode_action_attempt: z.ZodDiscriminatedUnion<"statu
35
41
  action_attempt_id: string;
36
42
  result: {};
37
43
  action_type: "SET_FAN_MODE";
38
- }>, z.ZodObject<{
39
- status: z.ZodLiteral<"error">;
44
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
40
45
  action_attempt_id: z.ZodString;
46
+ status: z.ZodEnum<["pending", "success", "error"]>;
47
+ }, {
48
+ status: z.ZodLiteral<"error">;
41
49
  result: z.ZodNull;
50
+ }>, {
42
51
  action_type: z.ZodLiteral<"SET_FAN_MODE">;
43
52
  error: z.ZodObject<{
44
53
  type: z.ZodString;
@@ -50,7 +59,7 @@ export declare const set_fan_mode_action_attempt: z.ZodDiscriminatedUnion<"statu
50
59
  type: string;
51
60
  message: string;
52
61
  }>;
53
- }, "strip", z.ZodTypeAny, {
62
+ }>, "strip", z.ZodTypeAny, {
54
63
  error: {
55
64
  type: string;
56
65
  message: string;
@@ -1,11 +1,14 @@
1
1
  import { z } from 'zod';
2
- export declare const set_heat_cool_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3
- error: z.ZodNull;
4
- status: z.ZodLiteral<"pending">;
2
+ export declare const set_heat_cool_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
5
3
  action_attempt_id: z.ZodString;
4
+ status: z.ZodEnum<["pending", "success", "error"]>;
5
+ }, {
6
+ status: z.ZodLiteral<"pending">;
6
7
  result: z.ZodNull;
8
+ error: z.ZodNull;
9
+ }>, {
7
10
  action_type: z.ZodLiteral<"SET_HEAT_COOL">;
8
- }, "strip", z.ZodTypeAny, {
11
+ }>, "strip", z.ZodTypeAny, {
9
12
  error: null;
10
13
  status: "pending";
11
14
  action_attempt_id: string;
@@ -17,13 +20,16 @@ export declare const set_heat_cool_action_attempt: z.ZodDiscriminatedUnion<"stat
17
20
  action_attempt_id: string;
18
21
  result: null;
19
22
  action_type: "SET_HEAT_COOL";
20
- }>, z.ZodObject<{
21
- error: z.ZodNull;
22
- status: z.ZodLiteral<"success">;
23
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
23
24
  action_attempt_id: z.ZodString;
25
+ status: z.ZodEnum<["pending", "success", "error"]>;
26
+ }, {
27
+ status: z.ZodLiteral<"success">;
28
+ error: z.ZodNull;
29
+ }>, {
24
30
  action_type: z.ZodLiteral<"SET_HEAT_COOL">;
25
31
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
26
- }, "strip", z.ZodTypeAny, {
32
+ }>, "strip", z.ZodTypeAny, {
27
33
  error: null;
28
34
  status: "success";
29
35
  action_attempt_id: string;
@@ -35,10 +41,13 @@ export declare const set_heat_cool_action_attempt: z.ZodDiscriminatedUnion<"stat
35
41
  action_attempt_id: string;
36
42
  result: {};
37
43
  action_type: "SET_HEAT_COOL";
38
- }>, z.ZodObject<{
39
- status: z.ZodLiteral<"error">;
44
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
40
45
  action_attempt_id: z.ZodString;
46
+ status: z.ZodEnum<["pending", "success", "error"]>;
47
+ }, {
48
+ status: z.ZodLiteral<"error">;
41
49
  result: z.ZodNull;
50
+ }>, {
42
51
  action_type: z.ZodLiteral<"SET_HEAT_COOL">;
43
52
  error: z.ZodObject<{
44
53
  type: z.ZodString;
@@ -50,7 +59,7 @@ export declare const set_heat_cool_action_attempt: z.ZodDiscriminatedUnion<"stat
50
59
  type: string;
51
60
  message: string;
52
61
  }>;
53
- }, "strip", z.ZodTypeAny, {
62
+ }>, "strip", z.ZodTypeAny, {
54
63
  error: {
55
64
  type: string;
56
65
  message: string;
@@ -1,11 +1,14 @@
1
1
  import { z } from 'zod';
2
- export declare const set_heat_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3
- error: z.ZodNull;
4
- status: z.ZodLiteral<"pending">;
2
+ export declare const set_heat_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
5
3
  action_attempt_id: z.ZodString;
4
+ status: z.ZodEnum<["pending", "success", "error"]>;
5
+ }, {
6
+ status: z.ZodLiteral<"pending">;
6
7
  result: z.ZodNull;
8
+ error: z.ZodNull;
9
+ }>, {
7
10
  action_type: z.ZodLiteral<"SET_HEAT">;
8
- }, "strip", z.ZodTypeAny, {
11
+ }>, "strip", z.ZodTypeAny, {
9
12
  error: null;
10
13
  status: "pending";
11
14
  action_attempt_id: string;
@@ -17,13 +20,16 @@ export declare const set_heat_action_attempt: z.ZodDiscriminatedUnion<"status",
17
20
  action_attempt_id: string;
18
21
  result: null;
19
22
  action_type: "SET_HEAT";
20
- }>, z.ZodObject<{
21
- error: z.ZodNull;
22
- status: z.ZodLiteral<"success">;
23
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
23
24
  action_attempt_id: z.ZodString;
25
+ status: z.ZodEnum<["pending", "success", "error"]>;
26
+ }, {
27
+ status: z.ZodLiteral<"success">;
28
+ error: z.ZodNull;
29
+ }>, {
24
30
  action_type: z.ZodLiteral<"SET_HEAT">;
25
31
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
26
- }, "strip", z.ZodTypeAny, {
32
+ }>, "strip", z.ZodTypeAny, {
27
33
  error: null;
28
34
  status: "success";
29
35
  action_attempt_id: string;
@@ -35,10 +41,13 @@ export declare const set_heat_action_attempt: z.ZodDiscriminatedUnion<"status",
35
41
  action_attempt_id: string;
36
42
  result: {};
37
43
  action_type: "SET_HEAT";
38
- }>, z.ZodObject<{
39
- status: z.ZodLiteral<"error">;
44
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
40
45
  action_attempt_id: z.ZodString;
46
+ status: z.ZodEnum<["pending", "success", "error"]>;
47
+ }, {
48
+ status: z.ZodLiteral<"error">;
41
49
  result: z.ZodNull;
50
+ }>, {
42
51
  action_type: z.ZodLiteral<"SET_HEAT">;
43
52
  error: z.ZodObject<{
44
53
  type: z.ZodString;
@@ -50,7 +59,7 @@ export declare const set_heat_action_attempt: z.ZodDiscriminatedUnion<"status",
50
59
  type: string;
51
60
  message: string;
52
61
  }>;
53
- }, "strip", z.ZodTypeAny, {
62
+ }>, "strip", z.ZodTypeAny, {
54
63
  error: {
55
64
  type: string;
56
65
  message: string;
@@ -1,11 +1,14 @@
1
1
  import { z } from 'zod';
2
- export declare const set_thermostat_off_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3
- error: z.ZodNull;
4
- status: z.ZodLiteral<"pending">;
2
+ export declare const set_thermostat_off_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
5
3
  action_attempt_id: z.ZodString;
4
+ status: z.ZodEnum<["pending", "success", "error"]>;
5
+ }, {
6
+ status: z.ZodLiteral<"pending">;
6
7
  result: z.ZodNull;
8
+ error: z.ZodNull;
9
+ }>, {
7
10
  action_type: z.ZodLiteral<"SET_THERMOSTAT_OFF">;
8
- }, "strip", z.ZodTypeAny, {
11
+ }>, "strip", z.ZodTypeAny, {
9
12
  error: null;
10
13
  status: "pending";
11
14
  action_attempt_id: string;
@@ -17,13 +20,16 @@ export declare const set_thermostat_off_action_attempt: z.ZodDiscriminatedUnion<
17
20
  action_attempt_id: string;
18
21
  result: null;
19
22
  action_type: "SET_THERMOSTAT_OFF";
20
- }>, z.ZodObject<{
21
- error: z.ZodNull;
22
- status: z.ZodLiteral<"success">;
23
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
23
24
  action_attempt_id: z.ZodString;
25
+ status: z.ZodEnum<["pending", "success", "error"]>;
26
+ }, {
27
+ status: z.ZodLiteral<"success">;
28
+ error: z.ZodNull;
29
+ }>, {
24
30
  action_type: z.ZodLiteral<"SET_THERMOSTAT_OFF">;
25
31
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
26
- }, "strip", z.ZodTypeAny, {
32
+ }>, "strip", z.ZodTypeAny, {
27
33
  error: null;
28
34
  status: "success";
29
35
  action_attempt_id: string;
@@ -35,10 +41,13 @@ export declare const set_thermostat_off_action_attempt: z.ZodDiscriminatedUnion<
35
41
  action_attempt_id: string;
36
42
  result: {};
37
43
  action_type: "SET_THERMOSTAT_OFF";
38
- }>, z.ZodObject<{
39
- status: z.ZodLiteral<"error">;
44
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
40
45
  action_attempt_id: z.ZodString;
46
+ status: z.ZodEnum<["pending", "success", "error"]>;
47
+ }, {
48
+ status: z.ZodLiteral<"error">;
41
49
  result: z.ZodNull;
50
+ }>, {
42
51
  action_type: z.ZodLiteral<"SET_THERMOSTAT_OFF">;
43
52
  error: z.ZodObject<{
44
53
  type: z.ZodString;
@@ -50,7 +59,7 @@ export declare const set_thermostat_off_action_attempt: z.ZodDiscriminatedUnion<
50
59
  type: string;
51
60
  message: string;
52
61
  }>;
53
- }, "strip", z.ZodTypeAny, {
62
+ }>, "strip", z.ZodTypeAny, {
54
63
  error: {
55
64
  type: string;
56
65
  message: string;
@@ -1,11 +1,14 @@
1
1
  import { z } from 'zod';
2
- export declare const unlock_door_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3
- error: z.ZodNull;
4
- status: z.ZodLiteral<"pending">;
2
+ export declare const unlock_door_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
5
3
  action_attempt_id: z.ZodString;
4
+ status: z.ZodEnum<["pending", "success", "error"]>;
5
+ }, {
6
+ status: z.ZodLiteral<"pending">;
6
7
  result: z.ZodNull;
8
+ error: z.ZodNull;
9
+ }>, {
7
10
  action_type: z.ZodLiteral<"UNLOCK_DOOR">;
8
- }, "strip", z.ZodTypeAny, {
11
+ }>, "strip", z.ZodTypeAny, {
9
12
  error: null;
10
13
  status: "pending";
11
14
  action_attempt_id: string;
@@ -17,13 +20,16 @@ export declare const unlock_door_action_attempt: z.ZodDiscriminatedUnion<"status
17
20
  action_attempt_id: string;
18
21
  result: null;
19
22
  action_type: "UNLOCK_DOOR";
20
- }>, z.ZodObject<{
21
- error: z.ZodNull;
22
- status: z.ZodLiteral<"success">;
23
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
23
24
  action_attempt_id: z.ZodString;
25
+ status: z.ZodEnum<["pending", "success", "error"]>;
26
+ }, {
27
+ status: z.ZodLiteral<"success">;
28
+ error: z.ZodNull;
29
+ }>, {
24
30
  action_type: z.ZodLiteral<"UNLOCK_DOOR">;
25
31
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
26
- }, "strip", z.ZodTypeAny, {
32
+ }>, "strip", z.ZodTypeAny, {
27
33
  error: null;
28
34
  status: "success";
29
35
  action_attempt_id: string;
@@ -35,10 +41,13 @@ export declare const unlock_door_action_attempt: z.ZodDiscriminatedUnion<"status
35
41
  action_attempt_id: string;
36
42
  result: {};
37
43
  action_type: "UNLOCK_DOOR";
38
- }>, z.ZodObject<{
39
- status: z.ZodLiteral<"error">;
44
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
40
45
  action_attempt_id: z.ZodString;
46
+ status: z.ZodEnum<["pending", "success", "error"]>;
47
+ }, {
48
+ status: z.ZodLiteral<"error">;
41
49
  result: z.ZodNull;
50
+ }>, {
42
51
  action_type: z.ZodLiteral<"UNLOCK_DOOR">;
43
52
  error: z.ZodObject<{
44
53
  type: z.ZodString;
@@ -50,7 +59,7 @@ export declare const unlock_door_action_attempt: z.ZodDiscriminatedUnion<"status
50
59
  type: string;
51
60
  message: string;
52
61
  }>;
53
- }, "strip", z.ZodTypeAny, {
62
+ }>, "strip", z.ZodTypeAny, {
54
63
  error: {
55
64
  type: string;
56
65
  message: string;
@@ -1,9 +1,10 @@
1
1
  import { z } from 'zod';
2
- export declare const connected_account_error: z.ZodObject<{
2
+ export declare const connected_account_error: z.ZodObject<z.objectUtil.extendShape<{
3
3
  message: z.ZodString;
4
4
  is_connected_account_error: z.ZodLiteral<true>;
5
+ }, {
5
6
  error_code: z.ZodString;
6
- }, "strip", z.ZodTypeAny, {
7
+ }>, "strip", z.ZodTypeAny, {
7
8
  message: string;
8
9
  is_connected_account_error: true;
9
10
  error_code: string;
@@ -13,10 +14,11 @@ export declare const connected_account_error: z.ZodObject<{
13
14
  error_code: string;
14
15
  }>;
15
16
  export type ConnectedAccountError = z.infer<typeof connected_account_error>;
16
- declare const connected_account_warning: z.ZodObject<{
17
+ declare const connected_account_warning: z.ZodObject<z.objectUtil.extendShape<{
17
18
  message: z.ZodString;
19
+ }, {
18
20
  warning_code: z.ZodString;
19
- }, "strip", z.ZodTypeAny, {
21
+ }>, "strip", z.ZodTypeAny, {
20
22
  message: string;
21
23
  warning_code: string;
22
24
  }, {
@@ -34,25 +36,26 @@ export declare const connected_account: z.ZodObject<{
34
36
  phone: z.ZodOptional<z.ZodString>;
35
37
  exclusive: z.ZodOptional<z.ZodBoolean>;
36
38
  }, "strip", z.ZodTypeAny, {
39
+ exclusive?: boolean | undefined;
37
40
  username?: string | undefined;
38
- api_url?: string | undefined;
39
41
  email?: string | undefined;
42
+ api_url?: string | undefined;
40
43
  phone?: string | undefined;
41
- exclusive?: boolean | undefined;
42
44
  }, {
45
+ exclusive?: boolean | undefined;
43
46
  username?: string | undefined;
44
- api_url?: string | undefined;
45
47
  email?: string | undefined;
48
+ api_url?: string | undefined;
46
49
  phone?: string | undefined;
47
- exclusive?: boolean | undefined;
48
50
  }>>;
49
51
  account_type: z.ZodOptional<z.ZodString>;
50
52
  account_type_display_name: z.ZodString;
51
- errors: z.ZodArray<z.ZodObject<{
53
+ errors: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
52
54
  message: z.ZodString;
53
55
  is_connected_account_error: z.ZodLiteral<true>;
56
+ }, {
54
57
  error_code: z.ZodString;
55
- }, "strip", z.ZodTypeAny, {
58
+ }>, "strip", z.ZodTypeAny, {
56
59
  message: string;
57
60
  is_connected_account_error: true;
58
61
  error_code: string;
@@ -61,10 +64,11 @@ export declare const connected_account: z.ZodObject<{
61
64
  is_connected_account_error: true;
62
65
  error_code: string;
63
66
  }>, "many">;
64
- warnings: z.ZodArray<z.ZodObject<{
67
+ warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
65
68
  message: z.ZodString;
69
+ }, {
66
70
  warning_code: z.ZodString;
67
- }, "strip", z.ZodTypeAny, {
71
+ }>, "strip", z.ZodTypeAny, {
68
72
  message: string;
69
73
  warning_code: string;
70
74
  }, {
@@ -89,11 +93,11 @@ export declare const connected_account: z.ZodObject<{
89
93
  connected_account_id?: string | undefined;
90
94
  created_at?: string | undefined;
91
95
  user_identifier?: {
96
+ exclusive?: boolean | undefined;
92
97
  username?: string | undefined;
93
- api_url?: string | undefined;
94
98
  email?: string | undefined;
99
+ api_url?: string | undefined;
95
100
  phone?: string | undefined;
96
- exclusive?: boolean | undefined;
97
101
  } | undefined;
98
102
  account_type?: string | undefined;
99
103
  }, {
@@ -112,11 +116,11 @@ export declare const connected_account: z.ZodObject<{
112
116
  connected_account_id?: string | undefined;
113
117
  created_at?: string | undefined;
114
118
  user_identifier?: {
119
+ exclusive?: boolean | undefined;
115
120
  username?: string | undefined;
116
- api_url?: string | undefined;
117
121
  email?: string | undefined;
122
+ api_url?: string | undefined;
118
123
  phone?: string | undefined;
119
- exclusive?: boolean | undefined;
120
124
  } | undefined;
121
125
  account_type?: string | undefined;
122
126
  }>;