@seamapi/types 1.179.0 → 1.180.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 +17 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +63 -14
- package/lib/seam/connect/internal/schemas.d.ts +1 -1
- package/lib/seam/connect/internal/schemas.js +1 -1
- package/lib/seam/connect/internal/schemas.js.map +1 -1
- package/lib/seam/connect/models/client-sessions/client-session.d.ts +32 -0
- package/lib/seam/connect/models/client-sessions/client-session.js +13 -0
- package/lib/seam/connect/models/client-sessions/client-session.js.map +1 -0
- package/lib/seam/connect/models/client-sessions/index.d.ts +1 -0
- package/lib/seam/connect/models/client-sessions/index.js +2 -0
- package/lib/seam/connect/models/client-sessions/index.js.map +1 -0
- package/lib/seam/connect/models/events/client-sessions.d.ts +6 -6
- package/lib/seam/connect/models/events/seam-event.d.ts +3 -3
- package/lib/seam/connect/models/index.d.ts +1 -0
- package/lib/seam/connect/models/index.js +1 -0
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +16 -0
- package/lib/seam/connect/openapi.js +4 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +10 -10
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +0 -1
- package/src/lib/seam/connect/models/client-sessions/client-session.ts +13 -0
- package/src/lib/seam/connect/models/client-sessions/index.ts +1 -0
- package/src/lib/seam/connect/models/index.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +4 -2
- package/src/lib/seam/connect/route-types.ts +10 -10
- package/src/lib/seam/connect/schemas.ts +1 -0
|
@@ -5144,14 +5144,14 @@ export interface Routes {
|
|
|
5144
5144
|
jsonResponse: {
|
|
5145
5145
|
client_session: {
|
|
5146
5146
|
client_session_id: string;
|
|
5147
|
-
|
|
5147
|
+
workspace_id: string;
|
|
5148
5148
|
created_at: string;
|
|
5149
5149
|
token: string;
|
|
5150
|
+
user_identifier_key: string | null;
|
|
5150
5151
|
device_count: number;
|
|
5151
5152
|
connected_account_ids: string[];
|
|
5152
5153
|
connect_webview_ids: string[];
|
|
5153
5154
|
user_identity_ids: string[];
|
|
5154
|
-
workspace_id: string;
|
|
5155
5155
|
};
|
|
5156
5156
|
};
|
|
5157
5157
|
};
|
|
@@ -5179,14 +5179,14 @@ export interface Routes {
|
|
|
5179
5179
|
jsonResponse: {
|
|
5180
5180
|
client_session: {
|
|
5181
5181
|
client_session_id: string;
|
|
5182
|
-
|
|
5182
|
+
workspace_id: string;
|
|
5183
5183
|
created_at: string;
|
|
5184
5184
|
token: string;
|
|
5185
|
+
user_identifier_key: string | null;
|
|
5185
5186
|
device_count: number;
|
|
5186
5187
|
connected_account_ids: string[];
|
|
5187
5188
|
connect_webview_ids: string[];
|
|
5188
5189
|
user_identity_ids: string[];
|
|
5189
|
-
workspace_id: string;
|
|
5190
5190
|
};
|
|
5191
5191
|
};
|
|
5192
5192
|
};
|
|
@@ -5206,14 +5206,14 @@ export interface Routes {
|
|
|
5206
5206
|
jsonResponse: {
|
|
5207
5207
|
client_session: {
|
|
5208
5208
|
client_session_id: string;
|
|
5209
|
-
|
|
5209
|
+
workspace_id: string;
|
|
5210
5210
|
created_at: string;
|
|
5211
5211
|
token: string;
|
|
5212
|
+
user_identifier_key: string | null;
|
|
5212
5213
|
device_count: number;
|
|
5213
5214
|
connected_account_ids: string[];
|
|
5214
5215
|
connect_webview_ids: string[];
|
|
5215
5216
|
user_identity_ids: string[];
|
|
5216
|
-
workspace_id: string;
|
|
5217
5217
|
};
|
|
5218
5218
|
};
|
|
5219
5219
|
};
|
|
@@ -5233,14 +5233,14 @@ export interface Routes {
|
|
|
5233
5233
|
jsonResponse: {
|
|
5234
5234
|
client_session: {
|
|
5235
5235
|
client_session_id: string;
|
|
5236
|
-
|
|
5236
|
+
workspace_id: string;
|
|
5237
5237
|
created_at: string;
|
|
5238
5238
|
token: string;
|
|
5239
|
+
user_identifier_key: string | null;
|
|
5239
5240
|
device_count: number;
|
|
5240
5241
|
connected_account_ids: string[];
|
|
5241
5242
|
connect_webview_ids: string[];
|
|
5242
5243
|
user_identity_ids: string[];
|
|
5243
|
-
workspace_id: string;
|
|
5244
5244
|
};
|
|
5245
5245
|
};
|
|
5246
5246
|
};
|
|
@@ -5260,14 +5260,14 @@ export interface Routes {
|
|
|
5260
5260
|
jsonResponse: {
|
|
5261
5261
|
client_sessions: Array<{
|
|
5262
5262
|
client_session_id: string;
|
|
5263
|
-
|
|
5263
|
+
workspace_id: string;
|
|
5264
5264
|
created_at: string;
|
|
5265
5265
|
token: string;
|
|
5266
|
+
user_identifier_key: string | null;
|
|
5266
5267
|
device_count: number;
|
|
5267
5268
|
connected_account_ids: string[];
|
|
5268
5269
|
connect_webview_ids: string[];
|
|
5269
5270
|
user_identity_ids: string[];
|
|
5270
|
-
workspace_id: string;
|
|
5271
5271
|
}>;
|
|
5272
5272
|
};
|
|
5273
5273
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { action_attempt, connect_webview, custom_metadata, seam_event, workspace, } from './models/index.js';
|
|
1
|
+
export { action_attempt, client_session, connect_webview, custom_metadata, seam_event, workspace, } from './models/index.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { action_attempt, connect_webview, custom_metadata, seam_event, workspace, } from './models/index.js';
|
|
1
|
+
export { action_attempt, client_session, connect_webview, custom_metadata, seam_event, workspace, } from './models/index.js';
|
|
2
2
|
//# sourceMappingURL=schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,eAAe,EACf,eAAe,EACf,UAAU,EACV,SAAS,GACV,MAAM,mBAAmB,CAAA"}
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,cAAc,EACd,eAAe,EACf,eAAe,EACf,UAAU,EACV,SAAS,GACV,MAAM,mBAAmB,CAAA"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from 'zod'
|
|
2
|
+
|
|
3
|
+
export const client_session = z.object({
|
|
4
|
+
client_session_id: z.string().uuid(),
|
|
5
|
+
workspace_id: z.string().uuid(),
|
|
6
|
+
created_at: z.string().datetime(),
|
|
7
|
+
token: z.string(),
|
|
8
|
+
user_identifier_key: z.string().nullable(),
|
|
9
|
+
device_count: z.number(),
|
|
10
|
+
connected_account_ids: z.array(z.string().uuid()),
|
|
11
|
+
connect_webview_ids: z.array(z.string().uuid()),
|
|
12
|
+
user_identity_ids: z.array(z.string().uuid()),
|
|
13
|
+
})
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './client-session.js'
|
|
@@ -2,6 +2,7 @@ export * from './access-codes/index.js'
|
|
|
2
2
|
export * from './acs/index.js'
|
|
3
3
|
export * from './action-attempts/index.js'
|
|
4
4
|
export * from './capability-properties/index.js'
|
|
5
|
+
export * from './client-sessions/index.js'
|
|
5
6
|
export * from './connect-webviews/index.js'
|
|
6
7
|
export * from './custom-metadata.js'
|
|
7
8
|
export * from './devices/index.js'
|
|
@@ -1635,14 +1635,14 @@ export default {
|
|
|
1635
1635
|
},
|
|
1636
1636
|
required: [
|
|
1637
1637
|
'client_session_id',
|
|
1638
|
-
'
|
|
1638
|
+
'workspace_id',
|
|
1639
1639
|
'created_at',
|
|
1640
1640
|
'token',
|
|
1641
|
+
'user_identifier_key',
|
|
1641
1642
|
'device_count',
|
|
1642
1643
|
'connected_account_ids',
|
|
1643
1644
|
'connect_webview_ids',
|
|
1644
1645
|
'user_identity_ids',
|
|
1645
|
-
'workspace_id',
|
|
1646
1646
|
],
|
|
1647
1647
|
type: 'object',
|
|
1648
1648
|
},
|
|
@@ -9217,6 +9217,7 @@ export default {
|
|
|
9217
9217
|
401: { description: 'Unauthorized' },
|
|
9218
9218
|
},
|
|
9219
9219
|
security: [
|
|
9220
|
+
{ client_session: [] },
|
|
9220
9221
|
{ api_key: [] },
|
|
9221
9222
|
{ pat_with_workspace: [] },
|
|
9222
9223
|
{ console_session: [] },
|
|
@@ -9911,6 +9912,7 @@ export default {
|
|
|
9911
9912
|
401: { description: 'Unauthorized' },
|
|
9912
9913
|
},
|
|
9913
9914
|
security: [
|
|
9915
|
+
{ client_session: [] },
|
|
9914
9916
|
{ api_key: [] },
|
|
9915
9917
|
{ pat_with_workspace: [] },
|
|
9916
9918
|
{ console_session: [] },
|
|
@@ -5641,14 +5641,14 @@ export interface Routes {
|
|
|
5641
5641
|
jsonResponse: {
|
|
5642
5642
|
client_session: {
|
|
5643
5643
|
client_session_id: string
|
|
5644
|
-
|
|
5644
|
+
workspace_id: string
|
|
5645
5645
|
created_at: string
|
|
5646
5646
|
token: string
|
|
5647
|
+
user_identifier_key: string | null
|
|
5647
5648
|
device_count: number
|
|
5648
5649
|
connected_account_ids: string[]
|
|
5649
5650
|
connect_webview_ids: string[]
|
|
5650
5651
|
user_identity_ids: string[]
|
|
5651
|
-
workspace_id: string
|
|
5652
5652
|
}
|
|
5653
5653
|
}
|
|
5654
5654
|
}
|
|
@@ -5676,14 +5676,14 @@ export interface Routes {
|
|
|
5676
5676
|
jsonResponse: {
|
|
5677
5677
|
client_session: {
|
|
5678
5678
|
client_session_id: string
|
|
5679
|
-
|
|
5679
|
+
workspace_id: string
|
|
5680
5680
|
created_at: string
|
|
5681
5681
|
token: string
|
|
5682
|
+
user_identifier_key: string | null
|
|
5682
5683
|
device_count: number
|
|
5683
5684
|
connected_account_ids: string[]
|
|
5684
5685
|
connect_webview_ids: string[]
|
|
5685
5686
|
user_identity_ids: string[]
|
|
5686
|
-
workspace_id: string
|
|
5687
5687
|
}
|
|
5688
5688
|
}
|
|
5689
5689
|
}
|
|
@@ -5703,14 +5703,14 @@ export interface Routes {
|
|
|
5703
5703
|
jsonResponse: {
|
|
5704
5704
|
client_session: {
|
|
5705
5705
|
client_session_id: string
|
|
5706
|
-
|
|
5706
|
+
workspace_id: string
|
|
5707
5707
|
created_at: string
|
|
5708
5708
|
token: string
|
|
5709
|
+
user_identifier_key: string | null
|
|
5709
5710
|
device_count: number
|
|
5710
5711
|
connected_account_ids: string[]
|
|
5711
5712
|
connect_webview_ids: string[]
|
|
5712
5713
|
user_identity_ids: string[]
|
|
5713
|
-
workspace_id: string
|
|
5714
5714
|
}
|
|
5715
5715
|
}
|
|
5716
5716
|
}
|
|
@@ -5730,14 +5730,14 @@ export interface Routes {
|
|
|
5730
5730
|
jsonResponse: {
|
|
5731
5731
|
client_session: {
|
|
5732
5732
|
client_session_id: string
|
|
5733
|
-
|
|
5733
|
+
workspace_id: string
|
|
5734
5734
|
created_at: string
|
|
5735
5735
|
token: string
|
|
5736
|
+
user_identifier_key: string | null
|
|
5736
5737
|
device_count: number
|
|
5737
5738
|
connected_account_ids: string[]
|
|
5738
5739
|
connect_webview_ids: string[]
|
|
5739
5740
|
user_identity_ids: string[]
|
|
5740
|
-
workspace_id: string
|
|
5741
5741
|
}
|
|
5742
5742
|
}
|
|
5743
5743
|
}
|
|
@@ -5757,14 +5757,14 @@ export interface Routes {
|
|
|
5757
5757
|
jsonResponse: {
|
|
5758
5758
|
client_sessions: Array<{
|
|
5759
5759
|
client_session_id: string
|
|
5760
|
-
|
|
5760
|
+
workspace_id: string
|
|
5761
5761
|
created_at: string
|
|
5762
5762
|
token: string
|
|
5763
|
+
user_identifier_key: string | null
|
|
5763
5764
|
device_count: number
|
|
5764
5765
|
connected_account_ids: string[]
|
|
5765
5766
|
connect_webview_ids: string[]
|
|
5766
5767
|
user_identity_ids: string[]
|
|
5767
|
-
workspace_id: string
|
|
5768
5768
|
}>
|
|
5769
5769
|
}
|
|
5770
5770
|
}
|