@seamapi/types 1.486.0 → 1.487.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 +42 -24
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +99 -0
- package/dist/index.cjs +42 -24
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +86 -0
- package/lib/seam/connect/models/batch.js +3 -0
- package/lib/seam/connect/models/batch.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +24 -0
- package/lib/seam/connect/openapi.js +16 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +32 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/batch.ts +3 -0
- package/src/lib/seam/connect/openapi.ts +16 -0
- package/src/lib/seam/connect/route-types.ts +36 -0
|
@@ -18775,6 +18775,22 @@ export type Routes = {
|
|
|
18775
18775
|
} | undefined;
|
|
18776
18776
|
event_type: 'phone.deactivated';
|
|
18777
18777
|
})[] | undefined;
|
|
18778
|
+
instant_keys?: {
|
|
18779
|
+
/** ID of the Instant Key. */
|
|
18780
|
+
instant_key_id: string;
|
|
18781
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the Instant Key. */
|
|
18782
|
+
workspace_id: string;
|
|
18783
|
+
/** Date and time at which the Instant Key was created. */
|
|
18784
|
+
created_at: string;
|
|
18785
|
+
/** Shareable URL for the Instant Key. Use the URL to deliver the Instant Key to your user through a link in a text message or email or by embedding it in your web app. */
|
|
18786
|
+
instant_key_url: string;
|
|
18787
|
+
/** ID of the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens) associated with the Instant Key. */
|
|
18788
|
+
client_session_id: string;
|
|
18789
|
+
/** ID of the user identity associated with the Instant Key. */
|
|
18790
|
+
user_identity_id: string;
|
|
18791
|
+
/** Date and time at which the Instant Key expires. */
|
|
18792
|
+
expires_at: string;
|
|
18793
|
+
}[] | undefined;
|
|
18778
18794
|
};
|
|
18779
18795
|
};
|
|
18780
18796
|
};
|
|
@@ -83311,6 +83327,22 @@ export type Routes = {
|
|
|
83311
83327
|
} | undefined;
|
|
83312
83328
|
event_type: 'phone.deactivated';
|
|
83313
83329
|
})[] | undefined;
|
|
83330
|
+
instant_keys?: {
|
|
83331
|
+
/** ID of the Instant Key. */
|
|
83332
|
+
instant_key_id: string;
|
|
83333
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the Instant Key. */
|
|
83334
|
+
workspace_id: string;
|
|
83335
|
+
/** Date and time at which the Instant Key was created. */
|
|
83336
|
+
created_at: string;
|
|
83337
|
+
/** Shareable URL for the Instant Key. Use the URL to deliver the Instant Key to your user through a link in a text message or email or by embedding it in your web app. */
|
|
83338
|
+
instant_key_url: string;
|
|
83339
|
+
/** ID of the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens) associated with the Instant Key. */
|
|
83340
|
+
client_session_id: string;
|
|
83341
|
+
/** ID of the user identity associated with the Instant Key. */
|
|
83342
|
+
user_identity_id: string;
|
|
83343
|
+
/** Date and time at which the Instant Key expires. */
|
|
83344
|
+
expires_at: string;
|
|
83345
|
+
}[] | undefined;
|
|
83314
83346
|
};
|
|
83315
83347
|
};
|
|
83316
83348
|
};
|
package/package.json
CHANGED
|
@@ -16,6 +16,7 @@ import { connected_account } from './connected-accounts/index.js'
|
|
|
16
16
|
import { device } from './devices/index.js'
|
|
17
17
|
import { unmanaged_device } from './devices/unmanaged-device.js'
|
|
18
18
|
import { seam_event } from './events/seam-event.js'
|
|
19
|
+
import { instant_key } from './instant-keys/instant-key.js'
|
|
19
20
|
import { space } from './spaces/index.js'
|
|
20
21
|
import { user_identity } from './user-identities/index.js'
|
|
21
22
|
import { workspace } from './workspaces/index.js'
|
|
@@ -70,6 +71,7 @@ export const workspaces_batch = z
|
|
|
70
71
|
access_methods: access_method.array().optional(),
|
|
71
72
|
access_grants: access_grant.array().optional(),
|
|
72
73
|
events: seam_event.array().optional(),
|
|
74
|
+
instant_keys: instant_key.array().optional(),
|
|
73
75
|
})
|
|
74
76
|
.describe('A batch of workspace resources.')
|
|
75
77
|
|
|
@@ -99,6 +101,7 @@ export const batch = z
|
|
|
99
101
|
access_methods: access_method.array().optional(),
|
|
100
102
|
access_grants: access_grant.array().optional(),
|
|
101
103
|
events: seam_event.array().optional(),
|
|
104
|
+
instant_keys: instant_key.array().optional(),
|
|
102
105
|
})
|
|
103
106
|
.describe('A batch of workspace resources.')
|
|
104
107
|
|
|
@@ -29216,6 +29216,10 @@ export default {
|
|
|
29216
29216
|
items: { $ref: '#/components/schemas/event' },
|
|
29217
29217
|
type: 'array',
|
|
29218
29218
|
},
|
|
29219
|
+
instant_keys: {
|
|
29220
|
+
items: { $ref: '#/components/schemas/instant_key' },
|
|
29221
|
+
type: 'array',
|
|
29222
|
+
},
|
|
29219
29223
|
spaces: {
|
|
29220
29224
|
items: { $ref: '#/components/schemas/space' },
|
|
29221
29225
|
type: 'array',
|
|
@@ -29387,6 +29391,10 @@ export default {
|
|
|
29387
29391
|
items: { $ref: '#/components/schemas/event' },
|
|
29388
29392
|
type: 'array',
|
|
29389
29393
|
},
|
|
29394
|
+
instant_keys: {
|
|
29395
|
+
items: { $ref: '#/components/schemas/instant_key' },
|
|
29396
|
+
type: 'array',
|
|
29397
|
+
},
|
|
29390
29398
|
spaces: {
|
|
29391
29399
|
items: { $ref: '#/components/schemas/space' },
|
|
29392
29400
|
type: 'array',
|
|
@@ -56675,6 +56683,10 @@ export default {
|
|
|
56675
56683
|
items: { $ref: '#/components/schemas/event' },
|
|
56676
56684
|
type: 'array',
|
|
56677
56685
|
},
|
|
56686
|
+
instant_keys: {
|
|
56687
|
+
items: { $ref: '#/components/schemas/instant_key' },
|
|
56688
|
+
type: 'array',
|
|
56689
|
+
},
|
|
56678
56690
|
spaces: {
|
|
56679
56691
|
items: { $ref: '#/components/schemas/space' },
|
|
56680
56692
|
type: 'array',
|
|
@@ -56821,6 +56833,10 @@ export default {
|
|
|
56821
56833
|
items: { $ref: '#/components/schemas/event' },
|
|
56822
56834
|
type: 'array',
|
|
56823
56835
|
},
|
|
56836
|
+
instant_keys: {
|
|
56837
|
+
items: { $ref: '#/components/schemas/instant_key' },
|
|
56838
|
+
type: 'array',
|
|
56839
|
+
},
|
|
56824
56840
|
spaces: {
|
|
56825
56841
|
items: { $ref: '#/components/schemas/space' },
|
|
56826
56842
|
type: 'array',
|
|
@@ -21794,6 +21794,24 @@ export type Routes = {
|
|
|
21794
21794
|
}
|
|
21795
21795
|
)[]
|
|
21796
21796
|
| undefined
|
|
21797
|
+
instant_keys?:
|
|
21798
|
+
| {
|
|
21799
|
+
/** ID of the Instant Key. */
|
|
21800
|
+
instant_key_id: string
|
|
21801
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the Instant Key. */
|
|
21802
|
+
workspace_id: string
|
|
21803
|
+
/** Date and time at which the Instant Key was created. */
|
|
21804
|
+
created_at: string
|
|
21805
|
+
/** Shareable URL for the Instant Key. Use the URL to deliver the Instant Key to your user through a link in a text message or email or by embedding it in your web app. */
|
|
21806
|
+
instant_key_url: string
|
|
21807
|
+
/** ID of the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens) associated with the Instant Key. */
|
|
21808
|
+
client_session_id: string
|
|
21809
|
+
/** ID of the user identity associated with the Instant Key. */
|
|
21810
|
+
user_identity_id: string
|
|
21811
|
+
/** Date and time at which the Instant Key expires. */
|
|
21812
|
+
expires_at: string
|
|
21813
|
+
}[]
|
|
21814
|
+
| undefined
|
|
21797
21815
|
}
|
|
21798
21816
|
}
|
|
21799
21817
|
}
|
|
@@ -98967,6 +98985,24 @@ export type Routes = {
|
|
|
98967
98985
|
}
|
|
98968
98986
|
)[]
|
|
98969
98987
|
| undefined
|
|
98988
|
+
instant_keys?:
|
|
98989
|
+
| {
|
|
98990
|
+
/** ID of the Instant Key. */
|
|
98991
|
+
instant_key_id: string
|
|
98992
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the Instant Key. */
|
|
98993
|
+
workspace_id: string
|
|
98994
|
+
/** Date and time at which the Instant Key was created. */
|
|
98995
|
+
created_at: string
|
|
98996
|
+
/** Shareable URL for the Instant Key. Use the URL to deliver the Instant Key to your user through a link in a text message or email or by embedding it in your web app. */
|
|
98997
|
+
instant_key_url: string
|
|
98998
|
+
/** ID of the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens) associated with the Instant Key. */
|
|
98999
|
+
client_session_id: string
|
|
99000
|
+
/** ID of the user identity associated with the Instant Key. */
|
|
99001
|
+
user_identity_id: string
|
|
99002
|
+
/** Date and time at which the Instant Key expires. */
|
|
99003
|
+
expires_at: string
|
|
99004
|
+
}[]
|
|
99005
|
+
| undefined
|
|
98970
99006
|
}
|
|
98971
99007
|
}
|
|
98972
99008
|
}
|