@seamapi/types 1.621.0 → 1.623.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 +114 -61
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +497 -91
- package/dist/index.cjs +114 -61
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +104 -0
- package/lib/seam/connect/models/customer/customer-delete-data.d.ts +3 -0
- package/lib/seam/connect/models/customer/customer-delete-data.js +4 -0
- package/lib/seam/connect/models/customer/customer-delete-data.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +33 -1
- package/lib/seam/connect/models/events/seam-event.js +2 -0
- package/lib/seam/connect/models/events/seam-event.js.map +1 -1
- package/lib/seam/connect/models/events/spaces.d.ts +68 -0
- package/lib/seam/connect/models/events/spaces.js +27 -0
- package/lib/seam/connect/models/events/spaces.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +308 -71
- package/lib/seam/connect/openapi.js +89 -52
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +105 -20
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/customer-delete-data.ts +4 -0
- package/src/lib/seam/connect/models/events/seam-event.ts +2 -0
- package/src/lib/seam/connect/models/events/spaces.ts +34 -0
- package/src/lib/seam/connect/openapi.ts +92 -55
- package/src/lib/seam/connect/route-types.ts +110 -16
|
@@ -17525,6 +17525,67 @@ export default {
|
|
|
17525
17525
|
type: 'object',
|
|
17526
17526
|
'x-route-path': '/phones',
|
|
17527
17527
|
},
|
|
17528
|
+
{
|
|
17529
|
+
description: 'A device was added or removed from a space.',
|
|
17530
|
+
properties: {
|
|
17531
|
+
acs_entrance_ids: {
|
|
17532
|
+
description: 'IDs of all ACS entrances currently attached to the space.',
|
|
17533
|
+
items: { format: 'uuid', type: 'string' },
|
|
17534
|
+
type: 'array',
|
|
17535
|
+
},
|
|
17536
|
+
created_at: {
|
|
17537
|
+
description: 'Date and time at which the event was created.',
|
|
17538
|
+
format: 'date-time',
|
|
17539
|
+
type: 'string',
|
|
17540
|
+
},
|
|
17541
|
+
device_ids: {
|
|
17542
|
+
description: 'IDs of all devices currently attached to the space.',
|
|
17543
|
+
items: { format: 'uuid', type: 'string' },
|
|
17544
|
+
type: 'array',
|
|
17545
|
+
},
|
|
17546
|
+
event_id: {
|
|
17547
|
+
description: 'ID of the event.',
|
|
17548
|
+
format: 'uuid',
|
|
17549
|
+
type: 'string',
|
|
17550
|
+
},
|
|
17551
|
+
event_type: {
|
|
17552
|
+
description: 'Type of the event.',
|
|
17553
|
+
enum: ['space.device_membership_changed'],
|
|
17554
|
+
type: 'string',
|
|
17555
|
+
},
|
|
17556
|
+
occurred_at: {
|
|
17557
|
+
description: 'Date and time at which the event occurred.',
|
|
17558
|
+
format: 'date-time',
|
|
17559
|
+
type: 'string',
|
|
17560
|
+
},
|
|
17561
|
+
space_id: {
|
|
17562
|
+
description: 'ID of the affected space.',
|
|
17563
|
+
format: 'uuid',
|
|
17564
|
+
type: 'string',
|
|
17565
|
+
},
|
|
17566
|
+
space_key: {
|
|
17567
|
+
description: 'Unique key for the space within the workspace.',
|
|
17568
|
+
type: 'string',
|
|
17569
|
+
},
|
|
17570
|
+
workspace_id: {
|
|
17571
|
+
description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
|
|
17572
|
+
format: 'uuid',
|
|
17573
|
+
type: 'string',
|
|
17574
|
+
},
|
|
17575
|
+
},
|
|
17576
|
+
required: [
|
|
17577
|
+
'event_id',
|
|
17578
|
+
'workspace_id',
|
|
17579
|
+
'created_at',
|
|
17580
|
+
'occurred_at',
|
|
17581
|
+
'space_id',
|
|
17582
|
+
'event_type',
|
|
17583
|
+
'device_ids',
|
|
17584
|
+
'acs_entrance_ids',
|
|
17585
|
+
],
|
|
17586
|
+
type: 'object',
|
|
17587
|
+
'x-route-path': '/spaces',
|
|
17588
|
+
},
|
|
17528
17589
|
],
|
|
17529
17590
|
'x-route-path': '/events',
|
|
17530
17591
|
},
|
|
@@ -38606,6 +38667,15 @@ export default {
|
|
|
38606
38667
|
type: 'array',
|
|
38607
38668
|
},
|
|
38608
38669
|
},
|
|
38670
|
+
{
|
|
38671
|
+
in: 'query',
|
|
38672
|
+
name: 'staff_member_keys',
|
|
38673
|
+
schema: {
|
|
38674
|
+
description: 'List of staff member keys to delete.',
|
|
38675
|
+
items: { type: 'string' },
|
|
38676
|
+
type: 'array',
|
|
38677
|
+
},
|
|
38678
|
+
},
|
|
38609
38679
|
],
|
|
38610
38680
|
responses: {
|
|
38611
38681
|
200: {
|
|
@@ -38713,6 +38783,11 @@ export default {
|
|
|
38713
38783
|
items: { type: 'string' },
|
|
38714
38784
|
type: 'array',
|
|
38715
38785
|
},
|
|
38786
|
+
staff_member_keys: {
|
|
38787
|
+
description: 'List of staff member keys to delete.',
|
|
38788
|
+
items: { type: 'string' },
|
|
38789
|
+
type: 'array',
|
|
38790
|
+
},
|
|
38716
38791
|
tenant_keys: {
|
|
38717
38792
|
description: 'List of tenant keys to delete.',
|
|
38718
38793
|
items: { type: 'string' },
|
|
@@ -42437,6 +42512,7 @@ export default {
|
|
|
42437
42512
|
'device.name_changed',
|
|
42438
42513
|
'enrollment_automation.deleted',
|
|
42439
42514
|
'phone.deactivated',
|
|
42515
|
+
'space.device_membership_changed',
|
|
42440
42516
|
],
|
|
42441
42517
|
type: 'string',
|
|
42442
42518
|
},
|
|
@@ -42540,6 +42616,7 @@ export default {
|
|
|
42540
42616
|
'device.name_changed',
|
|
42541
42617
|
'enrollment_automation.deleted',
|
|
42542
42618
|
'phone.deactivated',
|
|
42619
|
+
'space.device_membership_changed',
|
|
42543
42620
|
],
|
|
42544
42621
|
type: 'string',
|
|
42545
42622
|
},
|
|
@@ -42785,6 +42862,7 @@ export default {
|
|
|
42785
42862
|
'device.name_changed',
|
|
42786
42863
|
'enrollment_automation.deleted',
|
|
42787
42864
|
'phone.deactivated',
|
|
42865
|
+
'space.device_membership_changed',
|
|
42788
42866
|
],
|
|
42789
42867
|
type: 'string',
|
|
42790
42868
|
},
|
|
@@ -42884,6 +42962,7 @@ export default {
|
|
|
42884
42962
|
'device.name_changed',
|
|
42885
42963
|
'enrollment_automation.deleted',
|
|
42886
42964
|
'phone.deactivated',
|
|
42965
|
+
'space.device_membership_changed',
|
|
42887
42966
|
],
|
|
42888
42967
|
type: 'string',
|
|
42889
42968
|
},
|
|
@@ -48208,14 +48287,18 @@ export default {
|
|
|
48208
48287
|
{
|
|
48209
48288
|
properties: {
|
|
48210
48289
|
access_token: { minLength: 1, type: 'string' },
|
|
48211
|
-
client: {
|
|
48290
|
+
client: {
|
|
48291
|
+
default: 'seam',
|
|
48292
|
+
minLength: 1,
|
|
48293
|
+
type: 'string',
|
|
48294
|
+
},
|
|
48212
48295
|
client_token: { minLength: 1, type: 'string' },
|
|
48296
|
+
enterprise_id: { format: 'uuid', type: 'string' },
|
|
48213
48297
|
enterprise_ids: {
|
|
48214
48298
|
items: { format: 'uuid', type: 'string' },
|
|
48215
48299
|
type: 'array',
|
|
48216
48300
|
},
|
|
48217
48301
|
},
|
|
48218
|
-
required: ['client_token', 'access_token', 'client'],
|
|
48219
48302
|
type: 'object',
|
|
48220
48303
|
},
|
|
48221
48304
|
{ properties: {}, type: 'object' },
|
|
@@ -48498,6 +48581,7 @@ export default {
|
|
|
48498
48581
|
'device.name_changed',
|
|
48499
48582
|
'enrollment_automation.deleted',
|
|
48500
48583
|
'phone.deactivated',
|
|
48584
|
+
'space.device_membership_changed',
|
|
48501
48585
|
],
|
|
48502
48586
|
type: 'string',
|
|
48503
48587
|
},
|
|
@@ -48602,6 +48686,7 @@ export default {
|
|
|
48602
48686
|
'device.name_changed',
|
|
48603
48687
|
'enrollment_automation.deleted',
|
|
48604
48688
|
'phone.deactivated',
|
|
48689
|
+
'space.device_membership_changed',
|
|
48605
48690
|
],
|
|
48606
48691
|
type: 'string',
|
|
48607
48692
|
},
|
|
@@ -48767,6 +48852,7 @@ export default {
|
|
|
48767
48852
|
'device.name_changed',
|
|
48768
48853
|
'enrollment_automation.deleted',
|
|
48769
48854
|
'phone.deactivated',
|
|
48855
|
+
'space.device_membership_changed',
|
|
48770
48856
|
],
|
|
48771
48857
|
type: 'string',
|
|
48772
48858
|
},
|
|
@@ -48866,6 +48952,7 @@ export default {
|
|
|
48866
48952
|
'device.name_changed',
|
|
48867
48953
|
'enrollment_automation.deleted',
|
|
48868
48954
|
'phone.deactivated',
|
|
48955
|
+
'space.device_membership_changed',
|
|
48869
48956
|
],
|
|
48870
48957
|
type: 'string',
|
|
48871
48958
|
},
|
|
@@ -50601,56 +50688,6 @@ export default {
|
|
|
50601
50688
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
50602
50689
|
},
|
|
50603
50690
|
},
|
|
50604
|
-
'/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]': {
|
|
50605
|
-
post: {
|
|
50606
|
-
description: 'Receives webhook events from external connector APIs and processes them into partner resources.',
|
|
50607
|
-
operationId: 'seamCustomerV1WebhooksConnectorsByWorkspaceIdByConnectorIdPost',
|
|
50608
|
-
requestBody: {
|
|
50609
|
-
content: {
|
|
50610
|
-
'application/json': { schema: { properties: {}, type: 'object' } },
|
|
50611
|
-
},
|
|
50612
|
-
},
|
|
50613
|
-
responses: {
|
|
50614
|
-
200: {
|
|
50615
|
-
content: {
|
|
50616
|
-
'application/json': {
|
|
50617
|
-
schema: {
|
|
50618
|
-
properties: {
|
|
50619
|
-
error: { type: 'string' },
|
|
50620
|
-
ok: { type: 'boolean' },
|
|
50621
|
-
processed_events: { format: 'float', type: 'number' },
|
|
50622
|
-
success: { type: 'boolean' },
|
|
50623
|
-
},
|
|
50624
|
-
required: ['success', 'processed_events', 'ok'],
|
|
50625
|
-
type: 'object',
|
|
50626
|
-
},
|
|
50627
|
-
},
|
|
50628
|
-
},
|
|
50629
|
-
description: 'OK',
|
|
50630
|
-
},
|
|
50631
|
-
400: { description: 'Bad Request' },
|
|
50632
|
-
401: { description: 'Unauthorized' },
|
|
50633
|
-
},
|
|
50634
|
-
security: [
|
|
50635
|
-
{ pat_with_workspace: [] },
|
|
50636
|
-
{ console_session_with_workspace: [] },
|
|
50637
|
-
{ api_key: [] },
|
|
50638
|
-
],
|
|
50639
|
-
summary: '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]',
|
|
50640
|
-
tags: ['/webhooks'],
|
|
50641
|
-
'x-fern-sdk-group-name': [
|
|
50642
|
-
'seam',
|
|
50643
|
-
'customer',
|
|
50644
|
-
'v1',
|
|
50645
|
-
'webhooks',
|
|
50646
|
-
'connectors',
|
|
50647
|
-
'[workspace_id]',
|
|
50648
|
-
],
|
|
50649
|
-
'x-fern-sdk-method-name': 'by_connector_id',
|
|
50650
|
-
'x-response-key': null,
|
|
50651
|
-
'x-title': 'Connector Webhook Endpoint',
|
|
50652
|
-
},
|
|
50653
|
-
},
|
|
50654
50691
|
'/seam/instant_key/v1/client_sessions/exchange_short_code': {
|
|
50655
50692
|
post: {
|
|
50656
50693
|
description: 'Exchanges a short code for a client session token. Mobile apps use this endpoint to retrieve a client session token securely using a short code obtained from an Instant Key URL.',
|