@seamapi/types 1.441.2 → 1.443.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 (89) hide show
  1. package/dist/connect.cjs +127 -2
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1966 -1914
  4. package/dist/devicedb.cjs.map +1 -1
  5. package/dist/devicedb.d.cts +27 -27
  6. package/dist/index.cjs +127 -2
  7. package/dist/index.cjs.map +1 -1
  8. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +387 -389
  9. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +173 -186
  10. package/lib/seam/connect/models/acs/acs-access-group.d.ts +18 -18
  11. package/lib/seam/connect/models/acs/acs-credential.d.ts +63 -63
  12. package/lib/seam/connect/models/acs/acs-encoder.d.ts +6 -6
  13. package/lib/seam/connect/models/acs/acs-entrance.d.ts +3 -3
  14. package/lib/seam/connect/models/acs/acs-system.d.ts +56 -56
  15. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +152 -152
  16. package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +45 -45
  17. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -354
  18. package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -15
  19. package/lib/seam/connect/models/action-attempts/common.d.ts +9 -12
  20. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -105
  21. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +54 -57
  22. package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -15
  23. package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -15
  24. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -15
  25. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +54 -57
  26. package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -15
  27. package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -15
  28. package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -15
  29. package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -15
  30. package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -15
  31. package/lib/seam/connect/models/batches/batch.d.ts +128 -120
  32. package/lib/seam/connect/models/batches/spaces.d.ts +128 -120
  33. package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +24 -24
  34. package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
  35. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +78 -78
  36. package/lib/seam/connect/models/customer/access-grant-resources.d.ts +30 -30
  37. package/lib/seam/connect/models/customer/customer-data.d.ts +57 -57
  38. package/lib/seam/connect/models/customer/location-resources.d.ts +54 -54
  39. package/lib/seam/connect/models/customer/user-identity-resources.d.ts +30 -30
  40. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +3 -3
  41. package/lib/seam/connect/models/devices/device-provider.d.ts +4 -4
  42. package/lib/seam/connect/models/devices/device.d.ts +368 -376
  43. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +118 -120
  44. package/lib/seam/connect/models/events/access-codes.d.ts +136 -136
  45. package/lib/seam/connect/models/events/access-grants.d.ts +40 -40
  46. package/lib/seam/connect/models/events/access-methods.d.ts +40 -40
  47. package/lib/seam/connect/models/events/acs/access-groups.d.ts +10 -10
  48. package/lib/seam/connect/models/events/acs/common.d.ts +3 -3
  49. package/lib/seam/connect/models/events/acs/credentials.d.ts +40 -40
  50. package/lib/seam/connect/models/events/acs/encoders.d.ts +20 -20
  51. package/lib/seam/connect/models/events/acs/entrances.d.ts +20 -20
  52. package/lib/seam/connect/models/events/acs/index.d.ts +67 -67
  53. package/lib/seam/connect/models/events/acs/systems.d.ts +24 -24
  54. package/lib/seam/connect/models/events/acs/users.d.ts +20 -20
  55. package/lib/seam/connect/models/events/action-attempts.d.ts +32 -32
  56. package/lib/seam/connect/models/events/client-sessions.d.ts +8 -8
  57. package/lib/seam/connect/models/events/connect-webviews.d.ts +16 -16
  58. package/lib/seam/connect/models/events/connected-accounts.d.ts +56 -56
  59. package/lib/seam/connect/models/events/devices.d.ts +266 -266
  60. package/lib/seam/connect/models/events/enrollment-automations.d.ts +8 -8
  61. package/lib/seam/connect/models/events/phones.d.ts +8 -8
  62. package/lib/seam/connect/models/events/seam-event.d.ts +372 -372
  63. package/lib/seam/connect/models/phones/phone-session.d.ts +50 -50
  64. package/lib/seam/connect/models/spaces/space.d.ts +6 -0
  65. package/lib/seam/connect/models/spaces/space.js +2 -0
  66. package/lib/seam/connect/models/spaces/space.js.map +1 -1
  67. package/lib/seam/connect/models/user-identities/user-identity.d.ts +18 -18
  68. package/lib/seam/connect/openapi.d.ts +81 -0
  69. package/lib/seam/connect/openapi.js +123 -0
  70. package/lib/seam/connect/openapi.js.map +1 -1
  71. package/lib/seam/connect/route-types.d.ts +36 -1
  72. package/lib/seam/devicedb/models/device-model.d.ts +15 -15
  73. package/lib/seam/devicedb/route-specs.d.ts +12 -12
  74. package/package.json +8 -7
  75. package/src/lib/seam/connect/models/spaces/space.ts +2 -0
  76. package/src/lib/seam/connect/openapi.ts +137 -0
  77. package/src/lib/seam/connect/route-types.ts +36 -1
  78. package/lib/seam/connect/internal/enums.d.ts +0 -1
  79. package/lib/seam/connect/internal/enums.js +0 -2
  80. package/lib/seam/connect/internal/enums.js.map +0 -1
  81. package/lib/seam/connect/internal/index.d.ts +0 -4
  82. package/lib/seam/connect/internal/index.js +0 -5
  83. package/lib/seam/connect/internal/index.js.map +0 -1
  84. package/lib/seam/connect/internal/model-types.d.ts +0 -2
  85. package/lib/seam/connect/internal/model-types.js +0 -2
  86. package/lib/seam/connect/internal/model-types.js.map +0 -1
  87. package/lib/seam/connect/internal/schemas.d.ts +0 -2
  88. package/lib/seam/connect/internal/schemas.js +0 -3
  89. package/lib/seam/connect/internal/schemas.js.map +0 -1
@@ -1,15 +1,15 @@
1
1
  import { z } from 'zod';
2
- export declare const bridge_lan_unreachable: z.ZodObject<z.objectUtil.extendShape<{
2
+ export declare const bridge_lan_unreachable: z.ZodObject<{
3
3
  message: z.ZodString;
4
4
  created_at: z.ZodString;
5
- }, {
5
+ } & {
6
6
  error_code: z.ZodLiteral<"bridge_lan_unreachable">;
7
7
  is_tailscale_proxy_reachable: z.ZodNullable<z.ZodBoolean>;
8
8
  is_tailscale_proxy_socks_server_healthy: z.ZodNullable<z.ZodBoolean>;
9
9
  can_tailscale_proxy_reach_tailscale_network: z.ZodNullable<z.ZodBoolean>;
10
10
  can_tailscale_proxy_reach_bridge: z.ZodNullable<z.ZodBoolean>;
11
11
  is_bridge_socks_server_healthy: z.ZodNullable<z.ZodBoolean>;
12
- }>, "strip", z.ZodTypeAny, {
12
+ }, "strip", z.ZodTypeAny, {
13
13
  message: string;
14
14
  created_at: string;
15
15
  error_code: "bridge_lan_unreachable";
@@ -28,12 +28,12 @@ export declare const bridge_lan_unreachable: z.ZodObject<z.objectUtil.extendShap
28
28
  can_tailscale_proxy_reach_bridge: boolean | null;
29
29
  is_bridge_socks_server_healthy: boolean | null;
30
30
  }>;
31
- export declare const no_communication_from_bridge: z.ZodObject<z.objectUtil.extendShape<{
31
+ export declare const no_communication_from_bridge: z.ZodObject<{
32
32
  message: z.ZodString;
33
33
  created_at: z.ZodString;
34
- }, {
34
+ } & {
35
35
  error_code: z.ZodLiteral<"no_communication_from_bridge">;
36
- }>, "strip", z.ZodTypeAny, {
36
+ }, "strip", z.ZodTypeAny, {
37
37
  message: string;
38
38
  created_at: string;
39
39
  error_code: "no_communication_from_bridge";
@@ -42,17 +42,17 @@ export declare const no_communication_from_bridge: z.ZodObject<z.objectUtil.exte
42
42
  created_at: string;
43
43
  error_code: "no_communication_from_bridge";
44
44
  }>;
45
- export declare const bridge_client_session_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
45
+ export declare const bridge_client_session_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
46
46
  message: z.ZodString;
47
47
  created_at: z.ZodString;
48
- }, {
48
+ } & {
49
49
  error_code: z.ZodLiteral<"bridge_lan_unreachable">;
50
50
  is_tailscale_proxy_reachable: z.ZodNullable<z.ZodBoolean>;
51
51
  is_tailscale_proxy_socks_server_healthy: z.ZodNullable<z.ZodBoolean>;
52
52
  can_tailscale_proxy_reach_tailscale_network: z.ZodNullable<z.ZodBoolean>;
53
53
  can_tailscale_proxy_reach_bridge: z.ZodNullable<z.ZodBoolean>;
54
54
  is_bridge_socks_server_healthy: z.ZodNullable<z.ZodBoolean>;
55
- }>, "strip", z.ZodTypeAny, {
55
+ }, "strip", z.ZodTypeAny, {
56
56
  message: string;
57
57
  created_at: string;
58
58
  error_code: "bridge_lan_unreachable";
@@ -70,12 +70,12 @@ export declare const bridge_client_session_error: z.ZodDiscriminatedUnion<"error
70
70
  can_tailscale_proxy_reach_tailscale_network: boolean | null;
71
71
  can_tailscale_proxy_reach_bridge: boolean | null;
72
72
  is_bridge_socks_server_healthy: boolean | null;
73
- }>, z.ZodObject<z.objectUtil.extendShape<{
73
+ }>, z.ZodObject<{
74
74
  message: z.ZodString;
75
75
  created_at: z.ZodString;
76
- }, {
76
+ } & {
77
77
  error_code: z.ZodLiteral<"no_communication_from_bridge">;
78
- }>, "strip", z.ZodTypeAny, {
78
+ }, "strip", z.ZodTypeAny, {
79
79
  message: string;
80
80
  created_at: string;
81
81
  error_code: "no_communication_from_bridge";
@@ -86,17 +86,17 @@ export declare const bridge_client_session_error: z.ZodDiscriminatedUnion<"error
86
86
  }>]>;
87
87
  export type BridgeClientSessionError = z.infer<typeof bridge_client_session_error>;
88
88
  declare const bridge_client_session_error_map: z.ZodObject<{
89
- bridge_lan_unreachable: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
89
+ bridge_lan_unreachable: z.ZodNullable<z.ZodOptional<z.ZodObject<{
90
90
  message: z.ZodString;
91
91
  created_at: z.ZodString;
92
- }, {
92
+ } & {
93
93
  error_code: z.ZodLiteral<"bridge_lan_unreachable">;
94
94
  is_tailscale_proxy_reachable: z.ZodNullable<z.ZodBoolean>;
95
95
  is_tailscale_proxy_socks_server_healthy: z.ZodNullable<z.ZodBoolean>;
96
96
  can_tailscale_proxy_reach_tailscale_network: z.ZodNullable<z.ZodBoolean>;
97
97
  can_tailscale_proxy_reach_bridge: z.ZodNullable<z.ZodBoolean>;
98
98
  is_bridge_socks_server_healthy: z.ZodNullable<z.ZodBoolean>;
99
- }>, "strip", z.ZodTypeAny, {
99
+ }, "strip", z.ZodTypeAny, {
100
100
  message: string;
101
101
  created_at: string;
102
102
  error_code: "bridge_lan_unreachable";
@@ -115,12 +115,12 @@ declare const bridge_client_session_error_map: z.ZodObject<{
115
115
  can_tailscale_proxy_reach_bridge: boolean | null;
116
116
  is_bridge_socks_server_healthy: boolean | null;
117
117
  }>>>;
118
- no_communication_from_bridge: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
118
+ no_communication_from_bridge: z.ZodNullable<z.ZodOptional<z.ZodObject<{
119
119
  message: z.ZodString;
120
120
  created_at: z.ZodString;
121
- }, {
121
+ } & {
122
122
  error_code: z.ZodLiteral<"no_communication_from_bridge">;
123
- }>, "strip", z.ZodTypeAny, {
123
+ }, "strip", z.ZodTypeAny, {
124
124
  message: string;
125
125
  created_at: string;
126
126
  error_code: "no_communication_from_bridge";
@@ -174,17 +174,17 @@ export declare const bridge_client_session: z.ZodObject<{
174
174
  bridge_client_name: z.ZodString;
175
175
  bridge_client_time_zone: z.ZodString;
176
176
  bridge_client_machine_identifier_key: z.ZodString;
177
- errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
177
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
178
178
  message: z.ZodString;
179
179
  created_at: z.ZodString;
180
- }, {
180
+ } & {
181
181
  error_code: z.ZodLiteral<"bridge_lan_unreachable">;
182
182
  is_tailscale_proxy_reachable: z.ZodNullable<z.ZodBoolean>;
183
183
  is_tailscale_proxy_socks_server_healthy: z.ZodNullable<z.ZodBoolean>;
184
184
  can_tailscale_proxy_reach_tailscale_network: z.ZodNullable<z.ZodBoolean>;
185
185
  can_tailscale_proxy_reach_bridge: z.ZodNullable<z.ZodBoolean>;
186
186
  is_bridge_socks_server_healthy: z.ZodNullable<z.ZodBoolean>;
187
- }>, "strip", z.ZodTypeAny, {
187
+ }, "strip", z.ZodTypeAny, {
188
188
  message: string;
189
189
  created_at: string;
190
190
  error_code: "bridge_lan_unreachable";
@@ -202,12 +202,12 @@ export declare const bridge_client_session: z.ZodObject<{
202
202
  can_tailscale_proxy_reach_tailscale_network: boolean | null;
203
203
  can_tailscale_proxy_reach_bridge: boolean | null;
204
204
  is_bridge_socks_server_healthy: boolean | null;
205
- }>, z.ZodObject<z.objectUtil.extendShape<{
205
+ }>, z.ZodObject<{
206
206
  message: z.ZodString;
207
207
  created_at: z.ZodString;
208
- }, {
208
+ } & {
209
209
  error_code: z.ZodLiteral<"no_communication_from_bridge">;
210
- }>, "strip", z.ZodTypeAny, {
210
+ }, "strip", z.ZodTypeAny, {
211
211
  message: string;
212
212
  created_at: string;
213
213
  error_code: "no_communication_from_bridge";
@@ -16,11 +16,11 @@ export declare const client_session: z.ZodObject<{
16
16
  workspace_id: string;
17
17
  created_at: string;
18
18
  connected_account_ids: string[];
19
+ device_count: number;
19
20
  client_session_id: string;
20
21
  expires_at: string;
21
22
  token: string;
22
23
  user_identifier_key: string | null;
23
- device_count: number;
24
24
  connect_webview_ids: string[];
25
25
  user_identity_ids: string[];
26
26
  user_identity_id?: string | undefined;
@@ -29,11 +29,11 @@ export declare const client_session: z.ZodObject<{
29
29
  workspace_id: string;
30
30
  created_at: string;
31
31
  connected_account_ids: string[];
32
+ device_count: number;
32
33
  client_session_id: string;
33
34
  expires_at: string;
34
35
  token: string;
35
36
  user_identifier_key: string | null;
36
- device_count: number;
37
37
  connect_webview_ids: string[];
38
38
  user_identity_ids: string[];
39
39
  user_identity_id?: string | undefined;
@@ -1,12 +1,12 @@
1
1
  import { z } from 'zod';
2
- export declare const account_disconnected: z.ZodObject<z.objectUtil.extendShape<{
2
+ export declare const account_disconnected: z.ZodObject<{
3
3
  created_at: z.ZodString;
4
4
  message: z.ZodString;
5
5
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
6
6
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
7
- }, {
7
+ } & {
8
8
  error_code: z.ZodLiteral<"account_disconnected">;
9
- }>, "strip", z.ZodTypeAny, {
9
+ }, "strip", z.ZodTypeAny, {
10
10
  message: string;
11
11
  created_at: string;
12
12
  error_code: "account_disconnected";
@@ -19,14 +19,14 @@ export declare const account_disconnected: z.ZodObject<z.objectUtil.extendShape<
19
19
  is_connected_account_error?: boolean | undefined;
20
20
  is_bridge_error?: boolean | undefined;
21
21
  }>;
22
- export declare const invalid_credentials: z.ZodObject<z.objectUtil.extendShape<{
22
+ export declare const invalid_credentials: z.ZodObject<{
23
23
  created_at: z.ZodString;
24
24
  message: z.ZodString;
25
25
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
26
26
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
27
- }, {
27
+ } & {
28
28
  error_code: z.ZodLiteral<"invalid_credentials">;
29
- }>, "strip", z.ZodTypeAny, {
29
+ }, "strip", z.ZodTypeAny, {
30
30
  message: string;
31
31
  created_at: string;
32
32
  error_code: "invalid_credentials";
@@ -39,14 +39,14 @@ export declare const invalid_credentials: z.ZodObject<z.objectUtil.extendShape<{
39
39
  is_connected_account_error?: boolean | undefined;
40
40
  is_bridge_error?: boolean | undefined;
41
41
  }>;
42
- export declare const bridge_disconnected: z.ZodObject<z.objectUtil.extendShape<{
42
+ export declare const bridge_disconnected: z.ZodObject<{
43
43
  created_at: z.ZodString;
44
44
  message: z.ZodString;
45
45
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
46
46
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
47
- }, {
47
+ } & {
48
48
  error_code: z.ZodLiteral<"bridge_disconnected">;
49
- }>, "strip", z.ZodTypeAny, {
49
+ }, "strip", z.ZodTypeAny, {
50
50
  message: string;
51
51
  created_at: string;
52
52
  error_code: "bridge_disconnected";
@@ -59,12 +59,12 @@ export declare const bridge_disconnected: z.ZodObject<z.objectUtil.extendShape<{
59
59
  is_connected_account_error?: boolean | undefined;
60
60
  is_bridge_error?: boolean | undefined;
61
61
  }>;
62
- export declare const salto_ks_subscription_limit_exceeded: z.ZodObject<z.objectUtil.extendShape<{
62
+ export declare const salto_ks_subscription_limit_exceeded: z.ZodObject<{
63
63
  created_at: z.ZodString;
64
64
  message: z.ZodString;
65
65
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
66
66
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
67
- }, {
67
+ } & {
68
68
  error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
69
69
  salto_ks_metadata: z.ZodObject<{
70
70
  sites: z.ZodArray<z.ZodObject<{
@@ -98,7 +98,7 @@ export declare const salto_ks_subscription_limit_exceeded: z.ZodObject<z.objectU
98
98
  site_user_subscription_limit: number;
99
99
  }[];
100
100
  }>;
101
- }>, "strip", z.ZodTypeAny, {
101
+ }, "strip", z.ZodTypeAny, {
102
102
  message: string;
103
103
  created_at: string;
104
104
  error_code: "salto_ks_subscription_limit_exceeded";
@@ -127,14 +127,14 @@ export declare const salto_ks_subscription_limit_exceeded: z.ZodObject<z.objectU
127
127
  is_connected_account_error?: boolean | undefined;
128
128
  is_bridge_error?: boolean | undefined;
129
129
  }>;
130
- export declare const connected_account_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
130
+ export declare const connected_account_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
131
131
  created_at: z.ZodString;
132
132
  message: z.ZodString;
133
133
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
134
134
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
135
- }, {
135
+ } & {
136
136
  error_code: z.ZodLiteral<"account_disconnected">;
137
- }>, "strip", z.ZodTypeAny, {
137
+ }, "strip", z.ZodTypeAny, {
138
138
  message: string;
139
139
  created_at: string;
140
140
  error_code: "account_disconnected";
@@ -146,14 +146,14 @@ export declare const connected_account_error: z.ZodDiscriminatedUnion<"error_cod
146
146
  error_code: "account_disconnected";
147
147
  is_connected_account_error?: boolean | undefined;
148
148
  is_bridge_error?: boolean | undefined;
149
- }>, z.ZodObject<z.objectUtil.extendShape<{
149
+ }>, z.ZodObject<{
150
150
  created_at: z.ZodString;
151
151
  message: z.ZodString;
152
152
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
153
153
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
154
- }, {
154
+ } & {
155
155
  error_code: z.ZodLiteral<"invalid_credentials">;
156
- }>, "strip", z.ZodTypeAny, {
156
+ }, "strip", z.ZodTypeAny, {
157
157
  message: string;
158
158
  created_at: string;
159
159
  error_code: "invalid_credentials";
@@ -165,14 +165,14 @@ export declare const connected_account_error: z.ZodDiscriminatedUnion<"error_cod
165
165
  error_code: "invalid_credentials";
166
166
  is_connected_account_error?: boolean | undefined;
167
167
  is_bridge_error?: boolean | undefined;
168
- }>, z.ZodObject<z.objectUtil.extendShape<{
168
+ }>, z.ZodObject<{
169
169
  created_at: z.ZodString;
170
170
  message: z.ZodString;
171
171
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
172
172
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
173
- }, {
173
+ } & {
174
174
  error_code: z.ZodLiteral<"bridge_disconnected">;
175
- }>, "strip", z.ZodTypeAny, {
175
+ }, "strip", z.ZodTypeAny, {
176
176
  message: string;
177
177
  created_at: string;
178
178
  error_code: "bridge_disconnected";
@@ -184,12 +184,12 @@ export declare const connected_account_error: z.ZodDiscriminatedUnion<"error_cod
184
184
  error_code: "bridge_disconnected";
185
185
  is_connected_account_error?: boolean | undefined;
186
186
  is_bridge_error?: boolean | undefined;
187
- }>, z.ZodObject<z.objectUtil.extendShape<{
187
+ }>, z.ZodObject<{
188
188
  created_at: z.ZodString;
189
189
  message: z.ZodString;
190
190
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
191
191
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
192
- }, {
192
+ } & {
193
193
  error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
194
194
  salto_ks_metadata: z.ZodObject<{
195
195
  sites: z.ZodArray<z.ZodObject<{
@@ -223,7 +223,7 @@ export declare const connected_account_error: z.ZodDiscriminatedUnion<"error_cod
223
223
  site_user_subscription_limit: number;
224
224
  }[];
225
225
  }>;
226
- }>, "strip", z.ZodTypeAny, {
226
+ }, "strip", z.ZodTypeAny, {
227
227
  message: string;
228
228
  created_at: string;
229
229
  error_code: "salto_ks_subscription_limit_exceeded";
@@ -255,14 +255,14 @@ export declare const connected_account_error: z.ZodDiscriminatedUnion<"error_cod
255
255
  export type ConnectedAccountError = z.infer<typeof connected_account_error>;
256
256
  export type ConnectedAccountWarning = z.infer<typeof connected_account_warning>;
257
257
  declare const connected_account_error_map: z.ZodObject<{
258
- account_disconnected: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
258
+ account_disconnected: z.ZodOptional<z.ZodNullable<z.ZodObject<{
259
259
  created_at: z.ZodString;
260
260
  message: z.ZodString;
261
261
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
262
262
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
263
- }, {
263
+ } & {
264
264
  error_code: z.ZodLiteral<"account_disconnected">;
265
- }>, "strip", z.ZodTypeAny, {
265
+ }, "strip", z.ZodTypeAny, {
266
266
  message: string;
267
267
  created_at: string;
268
268
  error_code: "account_disconnected";
@@ -275,14 +275,14 @@ declare const connected_account_error_map: z.ZodObject<{
275
275
  is_connected_account_error?: boolean | undefined;
276
276
  is_bridge_error?: boolean | undefined;
277
277
  }>>>;
278
- invalid_credentials: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
278
+ invalid_credentials: z.ZodOptional<z.ZodNullable<z.ZodObject<{
279
279
  created_at: z.ZodString;
280
280
  message: z.ZodString;
281
281
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
282
282
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
283
- }, {
283
+ } & {
284
284
  error_code: z.ZodLiteral<"invalid_credentials">;
285
- }>, "strip", z.ZodTypeAny, {
285
+ }, "strip", z.ZodTypeAny, {
286
286
  message: string;
287
287
  created_at: string;
288
288
  error_code: "invalid_credentials";
@@ -295,14 +295,14 @@ declare const connected_account_error_map: z.ZodObject<{
295
295
  is_connected_account_error?: boolean | undefined;
296
296
  is_bridge_error?: boolean | undefined;
297
297
  }>>>;
298
- bridge_disconnected: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
298
+ bridge_disconnected: z.ZodOptional<z.ZodNullable<z.ZodObject<{
299
299
  created_at: z.ZodString;
300
300
  message: z.ZodString;
301
301
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
302
302
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
303
- }, {
303
+ } & {
304
304
  error_code: z.ZodLiteral<"bridge_disconnected">;
305
- }>, "strip", z.ZodTypeAny, {
305
+ }, "strip", z.ZodTypeAny, {
306
306
  message: string;
307
307
  created_at: string;
308
308
  error_code: "bridge_disconnected";
@@ -315,12 +315,12 @@ declare const connected_account_error_map: z.ZodObject<{
315
315
  is_connected_account_error?: boolean | undefined;
316
316
  is_bridge_error?: boolean | undefined;
317
317
  }>>>;
318
- salto_ks_subscription_limit_exceeded: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
318
+ salto_ks_subscription_limit_exceeded: z.ZodOptional<z.ZodNullable<z.ZodObject<{
319
319
  created_at: z.ZodString;
320
320
  message: z.ZodString;
321
321
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
322
322
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
323
- }, {
323
+ } & {
324
324
  error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
325
325
  salto_ks_metadata: z.ZodObject<{
326
326
  sites: z.ZodArray<z.ZodObject<{
@@ -354,7 +354,7 @@ declare const connected_account_error_map: z.ZodObject<{
354
354
  site_user_subscription_limit: number;
355
355
  }[];
356
356
  }>;
357
- }>, "strip", z.ZodTypeAny, {
357
+ }, "strip", z.ZodTypeAny, {
358
358
  message: string;
359
359
  created_at: string;
360
360
  error_code: "salto_ks_subscription_limit_exceeded";
@@ -459,12 +459,12 @@ declare const connected_account_error_map: z.ZodObject<{
459
459
  } | null | undefined;
460
460
  }>;
461
461
  export type ConnectedAccountErrorMap = z.infer<typeof connected_account_error_map>;
462
- export declare const unknown_issue_with_connected_account: z.ZodObject<z.objectUtil.extendShape<{
462
+ export declare const unknown_issue_with_connected_account: z.ZodObject<{
463
463
  created_at: z.ZodString;
464
464
  message: z.ZodString;
465
- }, {
465
+ } & {
466
466
  warning_code: z.ZodLiteral<"unknown_issue_with_connected_account">;
467
- }>, "strip", z.ZodTypeAny, {
467
+ }, "strip", z.ZodTypeAny, {
468
468
  message: string;
469
469
  created_at: string;
470
470
  warning_code: "unknown_issue_with_connected_account";
@@ -473,12 +473,12 @@ export declare const unknown_issue_with_connected_account: z.ZodObject<z.objectU
473
473
  created_at: string;
474
474
  warning_code: "unknown_issue_with_connected_account";
475
475
  }>;
476
- declare const connected_account_warning: z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
476
+ declare const connected_account_warning: z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
477
477
  created_at: z.ZodString;
478
478
  message: z.ZodString;
479
- }, {
479
+ } & {
480
480
  warning_code: z.ZodLiteral<"scheduled_maintenance_window">;
481
- }>, "strip", z.ZodTypeAny, {
481
+ }, "strip", z.ZodTypeAny, {
482
482
  message: string;
483
483
  created_at: string;
484
484
  warning_code: "scheduled_maintenance_window";
@@ -486,12 +486,12 @@ declare const connected_account_warning: z.ZodDiscriminatedUnion<"warning_code",
486
486
  message: string;
487
487
  created_at: string;
488
488
  warning_code: "scheduled_maintenance_window";
489
- }>, z.ZodObject<z.objectUtil.extendShape<{
489
+ }>, z.ZodObject<{
490
490
  created_at: z.ZodString;
491
491
  message: z.ZodString;
492
- }, {
492
+ } & {
493
493
  warning_code: z.ZodLiteral<"unknown_issue_with_connected_account">;
494
- }>, "strip", z.ZodTypeAny, {
494
+ }, "strip", z.ZodTypeAny, {
495
495
  message: string;
496
496
  created_at: string;
497
497
  warning_code: "unknown_issue_with_connected_account";
@@ -499,10 +499,10 @@ declare const connected_account_warning: z.ZodDiscriminatedUnion<"warning_code",
499
499
  message: string;
500
500
  created_at: string;
501
501
  warning_code: "unknown_issue_with_connected_account";
502
- }>, z.ZodObject<z.objectUtil.extendShape<{
502
+ }>, z.ZodObject<{
503
503
  created_at: z.ZodString;
504
504
  message: z.ZodString;
505
- }, {
505
+ } & {
506
506
  warning_code: z.ZodLiteral<"salto_ks_subscription_limit_almost_reached">;
507
507
  salto_ks_metadata: z.ZodObject<{
508
508
  sites: z.ZodArray<z.ZodObject<{
@@ -536,7 +536,7 @@ declare const connected_account_warning: z.ZodDiscriminatedUnion<"warning_code",
536
536
  site_user_subscription_limit: number;
537
537
  }[];
538
538
  }>;
539
- }>, "strip", z.ZodTypeAny, {
539
+ }, "strip", z.ZodTypeAny, {
540
540
  message: string;
541
541
  created_at: string;
542
542
  salto_ks_metadata: {
@@ -562,12 +562,12 @@ declare const connected_account_warning: z.ZodDiscriminatedUnion<"warning_code",
562
562
  warning_code: "salto_ks_subscription_limit_almost_reached";
563
563
  }>]>;
564
564
  declare const connected_account_warning_map: z.ZodObject<{
565
- scheduled_maintenance_window: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
565
+ scheduled_maintenance_window: z.ZodOptional<z.ZodNullable<z.ZodObject<{
566
566
  created_at: z.ZodString;
567
567
  message: z.ZodString;
568
- }, {
568
+ } & {
569
569
  warning_code: z.ZodLiteral<"scheduled_maintenance_window">;
570
- }>, "strip", z.ZodTypeAny, {
570
+ }, "strip", z.ZodTypeAny, {
571
571
  message: string;
572
572
  created_at: string;
573
573
  warning_code: "scheduled_maintenance_window";
@@ -576,12 +576,12 @@ declare const connected_account_warning_map: z.ZodObject<{
576
576
  created_at: string;
577
577
  warning_code: "scheduled_maintenance_window";
578
578
  }>>>;
579
- unknown_issue_with_connected_account: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
579
+ unknown_issue_with_connected_account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
580
580
  created_at: z.ZodString;
581
581
  message: z.ZodString;
582
- }, {
582
+ } & {
583
583
  warning_code: z.ZodLiteral<"unknown_issue_with_connected_account">;
584
- }>, "strip", z.ZodTypeAny, {
584
+ }, "strip", z.ZodTypeAny, {
585
585
  message: string;
586
586
  created_at: string;
587
587
  warning_code: "unknown_issue_with_connected_account";
@@ -590,10 +590,10 @@ declare const connected_account_warning_map: z.ZodObject<{
590
590
  created_at: string;
591
591
  warning_code: "unknown_issue_with_connected_account";
592
592
  }>>>;
593
- salto_ks_subscription_limit_almost_reached: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
593
+ salto_ks_subscription_limit_almost_reached: z.ZodOptional<z.ZodNullable<z.ZodObject<{
594
594
  created_at: z.ZodString;
595
595
  message: z.ZodString;
596
- }, {
596
+ } & {
597
597
  warning_code: z.ZodLiteral<"salto_ks_subscription_limit_almost_reached">;
598
598
  salto_ks_metadata: z.ZodObject<{
599
599
  sites: z.ZodArray<z.ZodObject<{
@@ -627,7 +627,7 @@ declare const connected_account_warning_map: z.ZodObject<{
627
627
  site_user_subscription_limit: number;
628
628
  }[];
629
629
  }>;
630
- }>, "strip", z.ZodTypeAny, {
630
+ }, "strip", z.ZodTypeAny, {
631
631
  message: string;
632
632
  created_at: string;
633
633
  salto_ks_metadata: {
@@ -726,14 +726,14 @@ export declare const connected_account: z.ZodObject<{
726
726
  }>>;
727
727
  account_type: z.ZodOptional<z.ZodString>;
728
728
  account_type_display_name: z.ZodString;
729
- errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
729
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
730
730
  created_at: z.ZodString;
731
731
  message: z.ZodString;
732
732
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
733
733
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
734
- }, {
734
+ } & {
735
735
  error_code: z.ZodLiteral<"account_disconnected">;
736
- }>, "strip", z.ZodTypeAny, {
736
+ }, "strip", z.ZodTypeAny, {
737
737
  message: string;
738
738
  created_at: string;
739
739
  error_code: "account_disconnected";
@@ -745,14 +745,14 @@ export declare const connected_account: z.ZodObject<{
745
745
  error_code: "account_disconnected";
746
746
  is_connected_account_error?: boolean | undefined;
747
747
  is_bridge_error?: boolean | undefined;
748
- }>, z.ZodObject<z.objectUtil.extendShape<{
748
+ }>, z.ZodObject<{
749
749
  created_at: z.ZodString;
750
750
  message: z.ZodString;
751
751
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
752
752
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
753
- }, {
753
+ } & {
754
754
  error_code: z.ZodLiteral<"invalid_credentials">;
755
- }>, "strip", z.ZodTypeAny, {
755
+ }, "strip", z.ZodTypeAny, {
756
756
  message: string;
757
757
  created_at: string;
758
758
  error_code: "invalid_credentials";
@@ -764,14 +764,14 @@ export declare const connected_account: z.ZodObject<{
764
764
  error_code: "invalid_credentials";
765
765
  is_connected_account_error?: boolean | undefined;
766
766
  is_bridge_error?: boolean | undefined;
767
- }>, z.ZodObject<z.objectUtil.extendShape<{
767
+ }>, z.ZodObject<{
768
768
  created_at: z.ZodString;
769
769
  message: z.ZodString;
770
770
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
771
771
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
772
- }, {
772
+ } & {
773
773
  error_code: z.ZodLiteral<"bridge_disconnected">;
774
- }>, "strip", z.ZodTypeAny, {
774
+ }, "strip", z.ZodTypeAny, {
775
775
  message: string;
776
776
  created_at: string;
777
777
  error_code: "bridge_disconnected";
@@ -783,12 +783,12 @@ export declare const connected_account: z.ZodObject<{
783
783
  error_code: "bridge_disconnected";
784
784
  is_connected_account_error?: boolean | undefined;
785
785
  is_bridge_error?: boolean | undefined;
786
- }>, z.ZodObject<z.objectUtil.extendShape<{
786
+ }>, z.ZodObject<{
787
787
  created_at: z.ZodString;
788
788
  message: z.ZodString;
789
789
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
790
790
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
791
- }, {
791
+ } & {
792
792
  error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
793
793
  salto_ks_metadata: z.ZodObject<{
794
794
  sites: z.ZodArray<z.ZodObject<{
@@ -822,7 +822,7 @@ export declare const connected_account: z.ZodObject<{
822
822
  site_user_subscription_limit: number;
823
823
  }[];
824
824
  }>;
825
- }>, "strip", z.ZodTypeAny, {
825
+ }, "strip", z.ZodTypeAny, {
826
826
  message: string;
827
827
  created_at: string;
828
828
  error_code: "salto_ks_subscription_limit_exceeded";
@@ -851,12 +851,12 @@ export declare const connected_account: z.ZodObject<{
851
851
  is_connected_account_error?: boolean | undefined;
852
852
  is_bridge_error?: boolean | undefined;
853
853
  }>]>, "many">;
854
- warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
854
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
855
855
  created_at: z.ZodString;
856
856
  message: z.ZodString;
857
- }, {
857
+ } & {
858
858
  warning_code: z.ZodLiteral<"scheduled_maintenance_window">;
859
- }>, "strip", z.ZodTypeAny, {
859
+ }, "strip", z.ZodTypeAny, {
860
860
  message: string;
861
861
  created_at: string;
862
862
  warning_code: "scheduled_maintenance_window";
@@ -864,12 +864,12 @@ export declare const connected_account: z.ZodObject<{
864
864
  message: string;
865
865
  created_at: string;
866
866
  warning_code: "scheduled_maintenance_window";
867
- }>, z.ZodObject<z.objectUtil.extendShape<{
867
+ }>, z.ZodObject<{
868
868
  created_at: z.ZodString;
869
869
  message: z.ZodString;
870
- }, {
870
+ } & {
871
871
  warning_code: z.ZodLiteral<"unknown_issue_with_connected_account">;
872
- }>, "strip", z.ZodTypeAny, {
872
+ }, "strip", z.ZodTypeAny, {
873
873
  message: string;
874
874
  created_at: string;
875
875
  warning_code: "unknown_issue_with_connected_account";
@@ -877,10 +877,10 @@ export declare const connected_account: z.ZodObject<{
877
877
  message: string;
878
878
  created_at: string;
879
879
  warning_code: "unknown_issue_with_connected_account";
880
- }>, z.ZodObject<z.objectUtil.extendShape<{
880
+ }>, z.ZodObject<{
881
881
  created_at: z.ZodString;
882
882
  message: z.ZodString;
883
- }, {
883
+ } & {
884
884
  warning_code: z.ZodLiteral<"salto_ks_subscription_limit_almost_reached">;
885
885
  salto_ks_metadata: z.ZodObject<{
886
886
  sites: z.ZodArray<z.ZodObject<{
@@ -914,7 +914,7 @@ export declare const connected_account: z.ZodObject<{
914
914
  site_user_subscription_limit: number;
915
915
  }[];
916
916
  }>;
917
- }>, "strip", z.ZodTypeAny, {
917
+ }, "strip", z.ZodTypeAny, {
918
918
  message: string;
919
919
  created_at: string;
920
920
  salto_ks_metadata: {