@seamapi/types 1.31.0 → 1.33.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/dist/connect.cjs +497 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +3602 -2340
- package/dist/devicedb.cjs +1 -1
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +19 -19
- package/lib/seam/connect/openapi.d.ts +750 -0
- package/lib/seam/connect/openapi.js +497 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +512 -0
- package/lib/seam/connect/unstable/models/index.d.ts +1 -0
- package/lib/seam/connect/unstable/models/index.js +1 -0
- package/lib/seam/connect/unstable/models/index.js.map +1 -1
- package/lib/seam/connect/unstable/models/user-identity.d.ts +21 -0
- package/lib/seam/connect/unstable/models/user-identity.js +9 -0
- package/lib/seam/connect/unstable/models/user-identity.js.map +1 -0
- package/lib/seam/connect/unstable/schemas.d.ts +1 -1
- package/lib/seam/connect/unstable/schemas.js +1 -1
- package/lib/seam/connect/unstable/schemas.js.map +1 -1
- package/lib/seam/devicedb/public-models/device-model-v1.d.ts +2 -2
- package/lib/seam/devicedb/public-models/manufacturer.d.ts +3 -3
- package/lib/seam/devicedb/public-models/manufacturer.js +1 -1
- package/lib/seam/devicedb/public-models/manufacturer.js.map +1 -1
- package/lib/seam/devicedb/route-specs.d.ts +12 -12
- package/lib/seam/devicedb/route-types.d.ts +2 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +497 -0
- package/src/lib/seam/connect/route-types.ts +703 -0
- package/src/lib/seam/connect/unstable/models/index.ts +1 -0
- package/src/lib/seam/connect/unstable/models/user-identity.ts +11 -0
- package/src/lib/seam/connect/unstable/schemas.ts +1 -0
- package/src/lib/seam/devicedb/public-models/manufacturer.ts +1 -1
- package/src/lib/seam/devicedb/route-types.ts +2 -2
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod'
|
|
2
|
+
|
|
3
|
+
export const user_identity = z.object({
|
|
4
|
+
user_identity_id: z.string().uuid(),
|
|
5
|
+
user_identity_key: z.string().nullish(),
|
|
6
|
+
email_address: z.string().email().nullish(),
|
|
7
|
+
created_at: z.string().datetime(),
|
|
8
|
+
workspace_id: z.string().uuid(),
|
|
9
|
+
})
|
|
10
|
+
|
|
11
|
+
export type UserIdentity = z.output<typeof user_identity>
|
|
@@ -21,7 +21,7 @@ export const manufacturer = z.object({
|
|
|
21
21
|
integration: manufacturer_integration_support_level,
|
|
22
22
|
is_connect_webview_supported: z.boolean(),
|
|
23
23
|
requires_seam_support_to_add_account: z.boolean(),
|
|
24
|
-
device_model_count: z.number()
|
|
24
|
+
device_model_count: z.number(),
|
|
25
25
|
})
|
|
26
26
|
|
|
27
27
|
export type Manufacturer = z.infer<typeof manufacturer>
|
|
@@ -302,7 +302,7 @@ export interface Routes {
|
|
|
302
302
|
integration: 'stable' | 'beta' | 'planned' | 'unsupported' | 'inquire'
|
|
303
303
|
is_connect_webview_supported: boolean
|
|
304
304
|
requires_seam_support_to_add_account: boolean
|
|
305
|
-
device_model_count
|
|
305
|
+
device_model_count: number
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
308
|
}
|
|
@@ -332,7 +332,7 @@ export interface Routes {
|
|
|
332
332
|
integration: 'stable' | 'beta' | 'planned' | 'unsupported' | 'inquire'
|
|
333
333
|
is_connect_webview_supported: boolean
|
|
334
334
|
requires_seam_support_to_add_account: boolean
|
|
335
|
-
device_model_count
|
|
335
|
+
device_model_count: number
|
|
336
336
|
}>
|
|
337
337
|
}
|
|
338
338
|
}
|