@seamapi/types 1.406.8 → 1.407.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 +231 -25
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +362 -33
- 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/events/access-methods.d.ts +47 -0
- package/lib/seam/connect/models/events/access-methods.js +9 -0
- package/lib/seam/connect/models/events/access-methods.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +24 -1
- package/lib/seam/connect/models/partner/magic-link.d.ts +5 -3
- package/lib/seam/connect/models/partner/magic-link.js +6 -5
- package/lib/seam/connect/models/partner/magic-link.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +247 -29
- package/lib/seam/connect/openapi.js +220 -23
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +92 -4
- package/package.json +2 -2
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/models/events/access-methods.ts +10 -0
- package/src/lib/seam/connect/models/partner/magic-link.ts +9 -5
- package/src/lib/seam/connect/openapi.ts +223 -23
- package/src/lib/seam/connect/route-types.ts +109 -8
|
@@ -27188,6 +27188,19 @@ export interface Routes {
|
|
|
27188
27188
|
access_method_id: string
|
|
27189
27189
|
event_type: 'access_method.card_encoding_required'
|
|
27190
27190
|
}
|
|
27191
|
+
| {
|
|
27192
|
+
/** ID of the event. */
|
|
27193
|
+
event_id: string
|
|
27194
|
+
/** ID of the workspace associated with the event. */
|
|
27195
|
+
workspace_id: string
|
|
27196
|
+
/** Date and time at which the event was created. */
|
|
27197
|
+
created_at: string
|
|
27198
|
+
/** Date and time at which the event occurred. */
|
|
27199
|
+
occurred_at: string
|
|
27200
|
+
/** ID of the affected access method. */
|
|
27201
|
+
access_method_id: string
|
|
27202
|
+
event_type: 'access_method.deleted'
|
|
27203
|
+
}
|
|
27191
27204
|
| {
|
|
27192
27205
|
/** ID of the event. */
|
|
27193
27206
|
event_id: string
|
|
@@ -28314,6 +28327,7 @@ export interface Routes {
|
|
|
28314
28327
|
| 'access_method.issued'
|
|
28315
28328
|
| 'access_method.revoked'
|
|
28316
28329
|
| 'access_method.card_encoding_required'
|
|
28330
|
+
| 'access_method.deleted'
|
|
28317
28331
|
| 'acs_system.connected'
|
|
28318
28332
|
| 'acs_system.added'
|
|
28319
28333
|
| 'acs_system.disconnected'
|
|
@@ -28407,6 +28421,7 @@ export interface Routes {
|
|
|
28407
28421
|
| 'access_method.issued'
|
|
28408
28422
|
| 'access_method.revoked'
|
|
28409
28423
|
| 'access_method.card_encoding_required'
|
|
28424
|
+
| 'access_method.deleted'
|
|
28410
28425
|
| 'acs_system.connected'
|
|
28411
28426
|
| 'acs_system.added'
|
|
28412
28427
|
| 'acs_system.disconnected'
|
|
@@ -28890,6 +28905,19 @@ export interface Routes {
|
|
|
28890
28905
|
access_method_id: string
|
|
28891
28906
|
event_type: 'access_method.card_encoding_required'
|
|
28892
28907
|
}
|
|
28908
|
+
| {
|
|
28909
|
+
/** ID of the event. */
|
|
28910
|
+
event_id: string
|
|
28911
|
+
/** ID of the workspace associated with the event. */
|
|
28912
|
+
workspace_id: string
|
|
28913
|
+
/** Date and time at which the event was created. */
|
|
28914
|
+
created_at: string
|
|
28915
|
+
/** Date and time at which the event occurred. */
|
|
28916
|
+
occurred_at: string
|
|
28917
|
+
/** ID of the affected access method. */
|
|
28918
|
+
access_method_id: string
|
|
28919
|
+
event_type: 'access_method.deleted'
|
|
28920
|
+
}
|
|
28893
28921
|
| {
|
|
28894
28922
|
/** ID of the event. */
|
|
28895
28923
|
event_id: string
|
|
@@ -66241,6 +66269,30 @@ export interface Routes {
|
|
|
66241
66269
|
}
|
|
66242
66270
|
}
|
|
66243
66271
|
}
|
|
66272
|
+
'/unstable_partner/building_blocks/connect_accounts': {
|
|
66273
|
+
route: '/unstable_partner/building_blocks/connect_accounts'
|
|
66274
|
+
method: 'POST'
|
|
66275
|
+
queryParams: {}
|
|
66276
|
+
jsonBody: {}
|
|
66277
|
+
commonParams: {
|
|
66278
|
+
customer_key: string
|
|
66279
|
+
}
|
|
66280
|
+
formData: {}
|
|
66281
|
+
jsonResponse: {
|
|
66282
|
+
/** */
|
|
66283
|
+
magic_link: {
|
|
66284
|
+
url: string
|
|
66285
|
+
building_block_type:
|
|
66286
|
+
| 'connect_accounts'
|
|
66287
|
+
| 'manage_devices'
|
|
66288
|
+
| 'organize_spaces'
|
|
66289
|
+
customer_key: string
|
|
66290
|
+
expires_at: string
|
|
66291
|
+
workspace_id: string
|
|
66292
|
+
created_at: string
|
|
66293
|
+
}
|
|
66294
|
+
}
|
|
66295
|
+
}
|
|
66244
66296
|
'/unstable_partner/building_blocks/generate_magic_link': {
|
|
66245
66297
|
route: '/unstable_partner/building_blocks/generate_magic_link'
|
|
66246
66298
|
method: 'POST' | 'GET'
|
|
@@ -66248,7 +66300,7 @@ export interface Routes {
|
|
|
66248
66300
|
jsonBody: {}
|
|
66249
66301
|
commonParams:
|
|
66250
66302
|
| {
|
|
66251
|
-
building_block_type: '
|
|
66303
|
+
building_block_type: 'connect_accounts'
|
|
66252
66304
|
customer_key: string
|
|
66253
66305
|
}
|
|
66254
66306
|
| {
|
|
@@ -66258,12 +66310,7 @@ export interface Routes {
|
|
|
66258
66310
|
| {
|
|
66259
66311
|
building_block_type: 'organize_spaces'
|
|
66260
66312
|
customer_key: string
|
|
66261
|
-
|
|
66262
|
-
partner_resource_key: string
|
|
66263
|
-
name: string
|
|
66264
|
-
description?: string | undefined
|
|
66265
|
-
custom_metadata?: Record<string, string> | undefined
|
|
66266
|
-
}>
|
|
66313
|
+
collection_key: string
|
|
66267
66314
|
}
|
|
66268
66315
|
formData: {}
|
|
66269
66316
|
jsonResponse: {
|
|
@@ -66271,7 +66318,61 @@ export interface Routes {
|
|
|
66271
66318
|
magic_link: {
|
|
66272
66319
|
url: string
|
|
66273
66320
|
building_block_type:
|
|
66274
|
-
| '
|
|
66321
|
+
| 'connect_accounts'
|
|
66322
|
+
| 'manage_devices'
|
|
66323
|
+
| 'organize_spaces'
|
|
66324
|
+
customer_key: string
|
|
66325
|
+
expires_at: string
|
|
66326
|
+
workspace_id: string
|
|
66327
|
+
created_at: string
|
|
66328
|
+
}
|
|
66329
|
+
}
|
|
66330
|
+
}
|
|
66331
|
+
'/unstable_partner/building_blocks/manage_devices': {
|
|
66332
|
+
route: '/unstable_partner/building_blocks/manage_devices'
|
|
66333
|
+
method: 'POST'
|
|
66334
|
+
queryParams: {}
|
|
66335
|
+
jsonBody: {}
|
|
66336
|
+
commonParams: {
|
|
66337
|
+
customer_key: string
|
|
66338
|
+
}
|
|
66339
|
+
formData: {}
|
|
66340
|
+
jsonResponse: {
|
|
66341
|
+
/** */
|
|
66342
|
+
magic_link: {
|
|
66343
|
+
url: string
|
|
66344
|
+
building_block_type:
|
|
66345
|
+
| 'connect_accounts'
|
|
66346
|
+
| 'manage_devices'
|
|
66347
|
+
| 'organize_spaces'
|
|
66348
|
+
customer_key: string
|
|
66349
|
+
expires_at: string
|
|
66350
|
+
workspace_id: string
|
|
66351
|
+
created_at: string
|
|
66352
|
+
}
|
|
66353
|
+
}
|
|
66354
|
+
}
|
|
66355
|
+
'/unstable_partner/building_blocks/organize_spaces': {
|
|
66356
|
+
route: '/unstable_partner/building_blocks/organize_spaces'
|
|
66357
|
+
method: 'POST'
|
|
66358
|
+
queryParams: {}
|
|
66359
|
+
jsonBody: {}
|
|
66360
|
+
commonParams: {
|
|
66361
|
+
customer_key: string
|
|
66362
|
+
partner_resources: Array<{
|
|
66363
|
+
partner_resource_key: string
|
|
66364
|
+
name: string
|
|
66365
|
+
description?: string | undefined
|
|
66366
|
+
custom_metadata?: Record<string, string> | undefined
|
|
66367
|
+
}>
|
|
66368
|
+
}
|
|
66369
|
+
formData: {}
|
|
66370
|
+
jsonResponse: {
|
|
66371
|
+
/** */
|
|
66372
|
+
magic_link: {
|
|
66373
|
+
url: string
|
|
66374
|
+
building_block_type:
|
|
66375
|
+
| 'connect_accounts'
|
|
66275
66376
|
| 'manage_devices'
|
|
66276
66377
|
| 'organize_spaces'
|
|
66277
66378
|
customer_key: string
|