@seamapi/types 1.366.0 → 1.367.1
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/dist/connect.cjs +517 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +653 -5
- package/lib/seam/connect/models/bridges/bridge_client_session.d.ts +235 -0
- package/lib/seam/connect/models/bridges/bridge_client_session.js +47 -0
- package/lib/seam/connect/models/bridges/bridge_client_session.js.map +1 -1
- package/lib/seam/connect/models/locations/location.d.ts +3 -0
- package/lib/seam/connect/models/locations/location.js +1 -0
- package/lib/seam/connect/models/locations/location.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +507 -0
- package/lib/seam/connect/openapi.js +487 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +76 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/models/bridges/bridge_client_session.ts +62 -0
- package/src/lib/seam/connect/models/locations/location.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +530 -0
- package/src/lib/seam/connect/route-types.ts +85 -5
|
@@ -1,4 +1,168 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const bridge_lan_unreachable: z.ZodObject<z.objectUtil.extendShape<{
|
|
3
|
+
message: z.ZodString;
|
|
4
|
+
created_at: z.ZodString;
|
|
5
|
+
}, {
|
|
6
|
+
error_code: z.ZodLiteral<"bridge_lan_unreachable">;
|
|
7
|
+
is_tailscale_proxy_reachable: z.ZodBoolean;
|
|
8
|
+
is_tailscale_proxy_socks_server_healthy: z.ZodBoolean;
|
|
9
|
+
can_tailscale_proxy_reach_tailscale_network: z.ZodBoolean;
|
|
10
|
+
can_tailscale_proxy_reach_bridge: z.ZodBoolean;
|
|
11
|
+
is_bridge_socks_server_healthy: z.ZodBoolean;
|
|
12
|
+
}>, "strip", z.ZodTypeAny, {
|
|
13
|
+
message: string;
|
|
14
|
+
created_at: string;
|
|
15
|
+
error_code: "bridge_lan_unreachable";
|
|
16
|
+
is_tailscale_proxy_reachable: boolean;
|
|
17
|
+
is_tailscale_proxy_socks_server_healthy: boolean;
|
|
18
|
+
can_tailscale_proxy_reach_tailscale_network: boolean;
|
|
19
|
+
can_tailscale_proxy_reach_bridge: boolean;
|
|
20
|
+
is_bridge_socks_server_healthy: boolean;
|
|
21
|
+
}, {
|
|
22
|
+
message: string;
|
|
23
|
+
created_at: string;
|
|
24
|
+
error_code: "bridge_lan_unreachable";
|
|
25
|
+
is_tailscale_proxy_reachable: boolean;
|
|
26
|
+
is_tailscale_proxy_socks_server_healthy: boolean;
|
|
27
|
+
can_tailscale_proxy_reach_tailscale_network: boolean;
|
|
28
|
+
can_tailscale_proxy_reach_bridge: boolean;
|
|
29
|
+
is_bridge_socks_server_healthy: boolean;
|
|
30
|
+
}>;
|
|
31
|
+
export declare const no_communication_from_bridge: z.ZodObject<z.objectUtil.extendShape<{
|
|
32
|
+
message: z.ZodString;
|
|
33
|
+
created_at: z.ZodString;
|
|
34
|
+
}, {
|
|
35
|
+
error_code: z.ZodLiteral<"no_communication_from_bridge">;
|
|
36
|
+
}>, "strip", z.ZodTypeAny, {
|
|
37
|
+
message: string;
|
|
38
|
+
created_at: string;
|
|
39
|
+
error_code: "no_communication_from_bridge";
|
|
40
|
+
}, {
|
|
41
|
+
message: string;
|
|
42
|
+
created_at: string;
|
|
43
|
+
error_code: "no_communication_from_bridge";
|
|
44
|
+
}>;
|
|
45
|
+
export declare const bridge_client_session_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
|
|
46
|
+
message: z.ZodString;
|
|
47
|
+
created_at: z.ZodString;
|
|
48
|
+
}, {
|
|
49
|
+
error_code: z.ZodLiteral<"bridge_lan_unreachable">;
|
|
50
|
+
is_tailscale_proxy_reachable: z.ZodBoolean;
|
|
51
|
+
is_tailscale_proxy_socks_server_healthy: z.ZodBoolean;
|
|
52
|
+
can_tailscale_proxy_reach_tailscale_network: z.ZodBoolean;
|
|
53
|
+
can_tailscale_proxy_reach_bridge: z.ZodBoolean;
|
|
54
|
+
is_bridge_socks_server_healthy: z.ZodBoolean;
|
|
55
|
+
}>, "strip", z.ZodTypeAny, {
|
|
56
|
+
message: string;
|
|
57
|
+
created_at: string;
|
|
58
|
+
error_code: "bridge_lan_unreachable";
|
|
59
|
+
is_tailscale_proxy_reachable: boolean;
|
|
60
|
+
is_tailscale_proxy_socks_server_healthy: boolean;
|
|
61
|
+
can_tailscale_proxy_reach_tailscale_network: boolean;
|
|
62
|
+
can_tailscale_proxy_reach_bridge: boolean;
|
|
63
|
+
is_bridge_socks_server_healthy: boolean;
|
|
64
|
+
}, {
|
|
65
|
+
message: string;
|
|
66
|
+
created_at: string;
|
|
67
|
+
error_code: "bridge_lan_unreachable";
|
|
68
|
+
is_tailscale_proxy_reachable: boolean;
|
|
69
|
+
is_tailscale_proxy_socks_server_healthy: boolean;
|
|
70
|
+
can_tailscale_proxy_reach_tailscale_network: boolean;
|
|
71
|
+
can_tailscale_proxy_reach_bridge: boolean;
|
|
72
|
+
is_bridge_socks_server_healthy: boolean;
|
|
73
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
74
|
+
message: z.ZodString;
|
|
75
|
+
created_at: z.ZodString;
|
|
76
|
+
}, {
|
|
77
|
+
error_code: z.ZodLiteral<"no_communication_from_bridge">;
|
|
78
|
+
}>, "strip", z.ZodTypeAny, {
|
|
79
|
+
message: string;
|
|
80
|
+
created_at: string;
|
|
81
|
+
error_code: "no_communication_from_bridge";
|
|
82
|
+
}, {
|
|
83
|
+
message: string;
|
|
84
|
+
created_at: string;
|
|
85
|
+
error_code: "no_communication_from_bridge";
|
|
86
|
+
}>]>;
|
|
87
|
+
export type BridgeClientSessionError = z.infer<typeof bridge_client_session_error>;
|
|
88
|
+
declare const bridge_client_session_error_map: z.ZodObject<{
|
|
89
|
+
bridge_lan_unreachable: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
90
|
+
message: z.ZodString;
|
|
91
|
+
created_at: z.ZodString;
|
|
92
|
+
}, {
|
|
93
|
+
error_code: z.ZodLiteral<"bridge_lan_unreachable">;
|
|
94
|
+
is_tailscale_proxy_reachable: z.ZodBoolean;
|
|
95
|
+
is_tailscale_proxy_socks_server_healthy: z.ZodBoolean;
|
|
96
|
+
can_tailscale_proxy_reach_tailscale_network: z.ZodBoolean;
|
|
97
|
+
can_tailscale_proxy_reach_bridge: z.ZodBoolean;
|
|
98
|
+
is_bridge_socks_server_healthy: z.ZodBoolean;
|
|
99
|
+
}>, "strip", z.ZodTypeAny, {
|
|
100
|
+
message: string;
|
|
101
|
+
created_at: string;
|
|
102
|
+
error_code: "bridge_lan_unreachable";
|
|
103
|
+
is_tailscale_proxy_reachable: boolean;
|
|
104
|
+
is_tailscale_proxy_socks_server_healthy: boolean;
|
|
105
|
+
can_tailscale_proxy_reach_tailscale_network: boolean;
|
|
106
|
+
can_tailscale_proxy_reach_bridge: boolean;
|
|
107
|
+
is_bridge_socks_server_healthy: boolean;
|
|
108
|
+
}, {
|
|
109
|
+
message: string;
|
|
110
|
+
created_at: string;
|
|
111
|
+
error_code: "bridge_lan_unreachable";
|
|
112
|
+
is_tailscale_proxy_reachable: boolean;
|
|
113
|
+
is_tailscale_proxy_socks_server_healthy: boolean;
|
|
114
|
+
can_tailscale_proxy_reach_tailscale_network: boolean;
|
|
115
|
+
can_tailscale_proxy_reach_bridge: boolean;
|
|
116
|
+
is_bridge_socks_server_healthy: boolean;
|
|
117
|
+
}>>>;
|
|
118
|
+
no_communication_from_bridge: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
119
|
+
message: z.ZodString;
|
|
120
|
+
created_at: z.ZodString;
|
|
121
|
+
}, {
|
|
122
|
+
error_code: z.ZodLiteral<"no_communication_from_bridge">;
|
|
123
|
+
}>, "strip", z.ZodTypeAny, {
|
|
124
|
+
message: string;
|
|
125
|
+
created_at: string;
|
|
126
|
+
error_code: "no_communication_from_bridge";
|
|
127
|
+
}, {
|
|
128
|
+
message: string;
|
|
129
|
+
created_at: string;
|
|
130
|
+
error_code: "no_communication_from_bridge";
|
|
131
|
+
}>>>;
|
|
132
|
+
}, "strip", z.ZodTypeAny, {
|
|
133
|
+
bridge_lan_unreachable?: {
|
|
134
|
+
message: string;
|
|
135
|
+
created_at: string;
|
|
136
|
+
error_code: "bridge_lan_unreachable";
|
|
137
|
+
is_tailscale_proxy_reachable: boolean;
|
|
138
|
+
is_tailscale_proxy_socks_server_healthy: boolean;
|
|
139
|
+
can_tailscale_proxy_reach_tailscale_network: boolean;
|
|
140
|
+
can_tailscale_proxy_reach_bridge: boolean;
|
|
141
|
+
is_bridge_socks_server_healthy: boolean;
|
|
142
|
+
} | null | undefined;
|
|
143
|
+
no_communication_from_bridge?: {
|
|
144
|
+
message: string;
|
|
145
|
+
created_at: string;
|
|
146
|
+
error_code: "no_communication_from_bridge";
|
|
147
|
+
} | null | undefined;
|
|
148
|
+
}, {
|
|
149
|
+
bridge_lan_unreachable?: {
|
|
150
|
+
message: string;
|
|
151
|
+
created_at: string;
|
|
152
|
+
error_code: "bridge_lan_unreachable";
|
|
153
|
+
is_tailscale_proxy_reachable: boolean;
|
|
154
|
+
is_tailscale_proxy_socks_server_healthy: boolean;
|
|
155
|
+
can_tailscale_proxy_reach_tailscale_network: boolean;
|
|
156
|
+
can_tailscale_proxy_reach_bridge: boolean;
|
|
157
|
+
is_bridge_socks_server_healthy: boolean;
|
|
158
|
+
} | null | undefined;
|
|
159
|
+
no_communication_from_bridge?: {
|
|
160
|
+
message: string;
|
|
161
|
+
created_at: string;
|
|
162
|
+
error_code: "no_communication_from_bridge";
|
|
163
|
+
} | null | undefined;
|
|
164
|
+
}>;
|
|
165
|
+
export type BridgeClientSessionErrorMap = z.infer<typeof bridge_client_session_error_map>;
|
|
2
166
|
export declare const bridge_client_session: z.ZodObject<{
|
|
3
167
|
created_at: z.ZodString;
|
|
4
168
|
bridge_client_session_id: z.ZodString;
|
|
@@ -10,8 +174,64 @@ export declare const bridge_client_session: z.ZodObject<{
|
|
|
10
174
|
bridge_client_name: z.ZodString;
|
|
11
175
|
bridge_client_time_zone: z.ZodString;
|
|
12
176
|
bridge_client_machine_identifier_key: z.ZodString;
|
|
177
|
+
errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
|
|
178
|
+
message: z.ZodString;
|
|
179
|
+
created_at: z.ZodString;
|
|
180
|
+
}, {
|
|
181
|
+
error_code: z.ZodLiteral<"bridge_lan_unreachable">;
|
|
182
|
+
is_tailscale_proxy_reachable: z.ZodBoolean;
|
|
183
|
+
is_tailscale_proxy_socks_server_healthy: z.ZodBoolean;
|
|
184
|
+
can_tailscale_proxy_reach_tailscale_network: z.ZodBoolean;
|
|
185
|
+
can_tailscale_proxy_reach_bridge: z.ZodBoolean;
|
|
186
|
+
is_bridge_socks_server_healthy: z.ZodBoolean;
|
|
187
|
+
}>, "strip", z.ZodTypeAny, {
|
|
188
|
+
message: string;
|
|
189
|
+
created_at: string;
|
|
190
|
+
error_code: "bridge_lan_unreachable";
|
|
191
|
+
is_tailscale_proxy_reachable: boolean;
|
|
192
|
+
is_tailscale_proxy_socks_server_healthy: boolean;
|
|
193
|
+
can_tailscale_proxy_reach_tailscale_network: boolean;
|
|
194
|
+
can_tailscale_proxy_reach_bridge: boolean;
|
|
195
|
+
is_bridge_socks_server_healthy: boolean;
|
|
196
|
+
}, {
|
|
197
|
+
message: string;
|
|
198
|
+
created_at: string;
|
|
199
|
+
error_code: "bridge_lan_unreachable";
|
|
200
|
+
is_tailscale_proxy_reachable: boolean;
|
|
201
|
+
is_tailscale_proxy_socks_server_healthy: boolean;
|
|
202
|
+
can_tailscale_proxy_reach_tailscale_network: boolean;
|
|
203
|
+
can_tailscale_proxy_reach_bridge: boolean;
|
|
204
|
+
is_bridge_socks_server_healthy: boolean;
|
|
205
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
206
|
+
message: z.ZodString;
|
|
207
|
+
created_at: z.ZodString;
|
|
208
|
+
}, {
|
|
209
|
+
error_code: z.ZodLiteral<"no_communication_from_bridge">;
|
|
210
|
+
}>, "strip", z.ZodTypeAny, {
|
|
211
|
+
message: string;
|
|
212
|
+
created_at: string;
|
|
213
|
+
error_code: "no_communication_from_bridge";
|
|
214
|
+
}, {
|
|
215
|
+
message: string;
|
|
216
|
+
created_at: string;
|
|
217
|
+
error_code: "no_communication_from_bridge";
|
|
218
|
+
}>]>, "many">;
|
|
13
219
|
}, "strip", z.ZodTypeAny, {
|
|
14
220
|
created_at: string;
|
|
221
|
+
errors: ({
|
|
222
|
+
message: string;
|
|
223
|
+
created_at: string;
|
|
224
|
+
error_code: "bridge_lan_unreachable";
|
|
225
|
+
is_tailscale_proxy_reachable: boolean;
|
|
226
|
+
is_tailscale_proxy_socks_server_healthy: boolean;
|
|
227
|
+
can_tailscale_proxy_reach_tailscale_network: boolean;
|
|
228
|
+
can_tailscale_proxy_reach_bridge: boolean;
|
|
229
|
+
is_bridge_socks_server_healthy: boolean;
|
|
230
|
+
} | {
|
|
231
|
+
message: string;
|
|
232
|
+
created_at: string;
|
|
233
|
+
error_code: "no_communication_from_bridge";
|
|
234
|
+
})[];
|
|
15
235
|
bridge_client_session_id: string;
|
|
16
236
|
bridge_client_session_token: string;
|
|
17
237
|
pairing_code: string;
|
|
@@ -23,6 +243,20 @@ export declare const bridge_client_session: z.ZodObject<{
|
|
|
23
243
|
bridge_client_machine_identifier_key: string;
|
|
24
244
|
}, {
|
|
25
245
|
created_at: string;
|
|
246
|
+
errors: ({
|
|
247
|
+
message: string;
|
|
248
|
+
created_at: string;
|
|
249
|
+
error_code: "bridge_lan_unreachable";
|
|
250
|
+
is_tailscale_proxy_reachable: boolean;
|
|
251
|
+
is_tailscale_proxy_socks_server_healthy: boolean;
|
|
252
|
+
can_tailscale_proxy_reach_tailscale_network: boolean;
|
|
253
|
+
can_tailscale_proxy_reach_bridge: boolean;
|
|
254
|
+
is_bridge_socks_server_healthy: boolean;
|
|
255
|
+
} | {
|
|
256
|
+
message: string;
|
|
257
|
+
created_at: string;
|
|
258
|
+
error_code: "no_communication_from_bridge";
|
|
259
|
+
})[];
|
|
26
260
|
bridge_client_session_id: string;
|
|
27
261
|
bridge_client_session_token: string;
|
|
28
262
|
pairing_code: string;
|
|
@@ -34,3 +268,4 @@ export declare const bridge_client_session: z.ZodObject<{
|
|
|
34
268
|
bridge_client_machine_identifier_key: string;
|
|
35
269
|
}>;
|
|
36
270
|
export type BridgeClientSession = z.infer<typeof bridge_client_session>;
|
|
271
|
+
export {};
|
|
@@ -1,4 +1,50 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
const common_bridge_client_session_error = z.object({
|
|
3
|
+
message: z.string(),
|
|
4
|
+
created_at: z.string().datetime(),
|
|
5
|
+
});
|
|
6
|
+
const error_code_description = 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.';
|
|
7
|
+
export const bridge_lan_unreachable = common_bridge_client_session_error
|
|
8
|
+
.extend({
|
|
9
|
+
error_code: z
|
|
10
|
+
.literal('bridge_lan_unreachable')
|
|
11
|
+
.describe(error_code_description),
|
|
12
|
+
is_tailscale_proxy_reachable: z
|
|
13
|
+
.boolean()
|
|
14
|
+
.describe('Seam cannot reach the tailscale proxy'),
|
|
15
|
+
is_tailscale_proxy_socks_server_healthy: z
|
|
16
|
+
.boolean()
|
|
17
|
+
.describe("Tailscale proxy's SOCKS server is unhealthy"),
|
|
18
|
+
can_tailscale_proxy_reach_tailscale_network: z
|
|
19
|
+
.boolean()
|
|
20
|
+
.describe('Tailscale proxy cannot reach the Tailscale network'),
|
|
21
|
+
can_tailscale_proxy_reach_bridge: z
|
|
22
|
+
.boolean()
|
|
23
|
+
.describe('Tailscale proxy cannot reach the bridge'),
|
|
24
|
+
is_bridge_socks_server_healthy: z
|
|
25
|
+
.boolean()
|
|
26
|
+
.describe("Bridge's SOCKS server is unhealthy"),
|
|
27
|
+
})
|
|
28
|
+
.describe("Seam cannot reach the bridge's LAN");
|
|
29
|
+
export const no_communication_from_bridge = common_bridge_client_session_error
|
|
30
|
+
.extend({
|
|
31
|
+
error_code: z
|
|
32
|
+
.literal('no_communication_from_bridge')
|
|
33
|
+
.describe(error_code_description),
|
|
34
|
+
})
|
|
35
|
+
.describe('Bridge has stopped communicating with Seam');
|
|
36
|
+
export const bridge_client_session_error = z
|
|
37
|
+
.discriminatedUnion('error_code', [
|
|
38
|
+
bridge_lan_unreachable,
|
|
39
|
+
no_communication_from_bridge,
|
|
40
|
+
])
|
|
41
|
+
.describe('Error associated with the `bridge_client_session`.');
|
|
42
|
+
const bridge_client_session_error_map = z.object({
|
|
43
|
+
bridge_lan_unreachable: bridge_lan_unreachable.optional().nullable(),
|
|
44
|
+
no_communication_from_bridge: no_communication_from_bridge
|
|
45
|
+
.optional()
|
|
46
|
+
.nullable(),
|
|
47
|
+
});
|
|
2
48
|
export const bridge_client_session = z.object({
|
|
3
49
|
created_at: z.string().datetime(),
|
|
4
50
|
bridge_client_session_id: z.string().uuid(),
|
|
@@ -10,6 +56,7 @@ export const bridge_client_session = z.object({
|
|
|
10
56
|
bridge_client_name: z.string(),
|
|
11
57
|
bridge_client_time_zone: z.string(),
|
|
12
58
|
bridge_client_machine_identifier_key: z.string(),
|
|
59
|
+
errors: z.array(bridge_client_session_error),
|
|
13
60
|
}).describe(`
|
|
14
61
|
---
|
|
15
62
|
route_path: /seam/bridge/v1/bridge_client_sessions
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bridge_client_session.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/bridges/bridge_client_session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,wBAAwB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC3C,2BAA2B,EAAE,CAAC,CAAC,MAAM,EAAE;IACvC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IAClC,uBAAuB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9C,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC9B,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzC,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC9B,uBAAuB,EAAE,CAAC,CAAC,MAAM,EAAE;IACnC,oCAAoC,EAAE,CAAC,CAAC,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"bridge_client_session.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/bridges/bridge_client_session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAA;AAEF,MAAM,sBAAsB,GAC1B,oGAAoG,CAAA;AAEtG,MAAM,CAAC,MAAM,sBAAsB,GAAG,kCAAkC;KACrE,MAAM,CAAC;IACN,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,wBAAwB,CAAC;SACjC,QAAQ,CAAC,sBAAsB,CAAC;IACnC,4BAA4B,EAAE,CAAC;SAC5B,OAAO,EAAE;SACT,QAAQ,CAAC,uCAAuC,CAAC;IACpD,uCAAuC,EAAE,CAAC;SACvC,OAAO,EAAE;SACT,QAAQ,CAAC,6CAA6C,CAAC;IAC1D,2CAA2C,EAAE,CAAC;SAC3C,OAAO,EAAE;SACT,QAAQ,CAAC,oDAA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MAAM,EAAE,CAAC,QAAQ,EAAE;IACzC,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC9B,uBAAuB,EAAE,CAAC,CAAC,MAAM,EAAE;IACnC,oCAAoC,EAAE,CAAC,CAAC,MAAM,EAAE;IAChD,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC;CAC7C,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
|
|
@@ -12,6 +12,7 @@ export declare const geolocation: z.ZodObject<{
|
|
|
12
12
|
export declare const location: z.ZodObject<{
|
|
13
13
|
location_id: z.ZodString;
|
|
14
14
|
workspace_id: z.ZodString;
|
|
15
|
+
name: z.ZodString;
|
|
15
16
|
display_name: z.ZodString;
|
|
16
17
|
geolocation: z.ZodOptional<z.ZodObject<{
|
|
17
18
|
latitude: z.ZodNumber;
|
|
@@ -26,6 +27,7 @@ export declare const location: z.ZodObject<{
|
|
|
26
27
|
time_zone: z.ZodOptional<z.ZodString>;
|
|
27
28
|
created_at: z.ZodString;
|
|
28
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
|
+
name: string;
|
|
29
31
|
display_name: string;
|
|
30
32
|
created_at: string;
|
|
31
33
|
location_id: string;
|
|
@@ -36,6 +38,7 @@ export declare const location: z.ZodObject<{
|
|
|
36
38
|
} | undefined;
|
|
37
39
|
time_zone?: string | undefined;
|
|
38
40
|
}, {
|
|
41
|
+
name: string;
|
|
39
42
|
display_name: string;
|
|
40
43
|
created_at: string;
|
|
41
44
|
location_id: string;
|
|
@@ -12,6 +12,7 @@ export const location = z.object({
|
|
|
12
12
|
.string()
|
|
13
13
|
.uuid()
|
|
14
14
|
.describe('Unique identifier for the Seam workspace associated with the location.'),
|
|
15
|
+
name: z.string().describe('Name of the location.'),
|
|
15
16
|
display_name: z.string().describe('Display name of the location.'),
|
|
16
17
|
geolocation: geolocation
|
|
17
18
|
.optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/locations/location.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/B,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,qCAAqC,CAAC;IAClD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,wEAAwE,CACzE;IACH,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;IAClE,WAAW,EAAE,WAAW;SACrB,QAAQ,EAAE;SACV,QAAQ,CAAC,wCAAwC,CAAC;IACrD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4BAA4B,CAAC;IACvE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,yDAAyD,CAAC;CACvE,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"location.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/locations/location.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAC,MA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