@seamapi/types 0.1.0 → 0.2.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.map +1 -1
- package/lib/seam/connect/index.d.ts +3 -3
- package/lib/seam/connect/index.js +3 -3
- package/lib/seam/connect/model-types.d.ts +1 -1
- package/lib/seam/connect/models/connect-webview.d.ts +1 -1
- package/lib/seam/connect/models/connect-webview.js +3 -3
- package/lib/seam/connect/models/index.d.ts +1 -1
- package/lib/seam/connect/models/index.js +1 -1
- package/lib/seam/connect/route-types.d.ts +304 -304
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/index.ts +3 -3
- package/src/lib/seam/connect/model-types.ts +1 -1
- package/src/lib/seam/connect/models/connect-webview.ts +3 -3
- package/src/lib/seam/connect/models/index.ts +1 -1
- package/src/lib/seam/connect/route-types.ts +802 -802
- package/src/lib/seam/connect/schemas.ts +1 -1
- package/src/lib/seam/.prettierrc.json +0 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
export { connect_webview } from
|
|
1
|
+
export { connect_webview } from './models/index.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { connect_webview } from
|
|
1
|
+
export { connect_webview } from './models/index.js';
|
|
2
2
|
//# sourceMappingURL=schemas.js.map
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as schemas from
|
|
1
|
+
import * as schemas from './schemas.js'
|
|
2
2
|
|
|
3
3
|
export { schemas }
|
|
4
4
|
|
|
5
|
-
export * from
|
|
6
|
-
export { default as openapi } from
|
|
5
|
+
export * from './model-types.js'
|
|
6
|
+
export { default as openapi } from './openapi.js'
|
|
7
7
|
// UPSTREAM: Reserve this named export until nextlove is able to generate this.
|
|
8
8
|
export const routes = {}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { ConnectWebview } from
|
|
1
|
+
export type { ConnectWebview } from './models/index.js'
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { z } from
|
|
1
|
+
import { z } from 'zod'
|
|
2
2
|
|
|
3
3
|
export const connect_webview = z.object({
|
|
4
4
|
connect_webview_id: z.string().uuid(),
|
|
5
5
|
connected_account_id: z.string().uuid().optional(),
|
|
6
6
|
url: z.string().url(),
|
|
7
7
|
workspace_id: z.string().uuid(),
|
|
8
|
-
device_selection_mode: z.enum([
|
|
8
|
+
device_selection_mode: z.enum(['none', 'single', 'multiple']),
|
|
9
9
|
accepted_providers: z.array(z.string()),
|
|
10
10
|
accepted_devices: z.array(z.string()),
|
|
11
11
|
any_provider_allowed: z.boolean(),
|
|
12
12
|
any_device_allowed: z.boolean(),
|
|
13
13
|
created_at: z.string().datetime(),
|
|
14
14
|
login_successful: z.boolean(),
|
|
15
|
-
status: z.enum([
|
|
15
|
+
status: z.enum(['pending', 'failed', 'authorized']),
|
|
16
16
|
})
|
|
17
17
|
|
|
18
18
|
export type ConnectWebview = z.infer<typeof connect_webview>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './connect-webview.js'
|