@seamapi/types 1.381.0 → 1.383.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 +285 -10
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +353 -2
- package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +9 -0
- package/lib/seam/connect/models/bridges/bridge-client-session.js +3 -0
- package/lib/seam/connect/models/bridges/bridge-client-session.js.map +1 -1
- package/lib/seam/connect/models/events/acs/index.d.ts +30 -0
- package/lib/seam/connect/models/events/acs/users.d.ts +62 -0
- package/lib/seam/connect/models/events/acs/users.js +12 -1
- package/lib/seam/connect/models/events/acs/users.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +31 -1
- package/lib/seam/connect/openapi.d.ts +226 -0
- package/lib/seam/connect/openapi.js +261 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +88 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/bridges/bridge-client-session.ts +3 -0
- package/src/lib/seam/connect/models/events/acs/users.ts +15 -1
- package/src/lib/seam/connect/openapi.ts +278 -0
- package/src/lib/seam/connect/route-types.ts +93 -0
|
@@ -9513,6 +9513,54 @@ export default {
|
|
|
9513
9513
|
type: 'object',
|
|
9514
9514
|
'x-route-path': '/acs/credentials',
|
|
9515
9515
|
},
|
|
9516
|
+
{
|
|
9517
|
+
description: 'An [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created.',
|
|
9518
|
+
properties: {
|
|
9519
|
+
acs_system_id: {
|
|
9520
|
+
description: 'ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems).',
|
|
9521
|
+
format: 'uuid',
|
|
9522
|
+
type: 'string',
|
|
9523
|
+
},
|
|
9524
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
9525
|
+
connected_account_id: {
|
|
9526
|
+
description: 'ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).',
|
|
9527
|
+
format: 'uuid',
|
|
9528
|
+
type: 'string',
|
|
9529
|
+
},
|
|
9530
|
+
created_at: {
|
|
9531
|
+
description: 'Date and time at which the event was created.',
|
|
9532
|
+
format: 'date-time',
|
|
9533
|
+
type: 'string',
|
|
9534
|
+
},
|
|
9535
|
+
event_id: {
|
|
9536
|
+
description: 'ID of the event.',
|
|
9537
|
+
format: 'uuid',
|
|
9538
|
+
type: 'string',
|
|
9539
|
+
},
|
|
9540
|
+
event_type: { enum: ['acs_user.created'], type: 'string' },
|
|
9541
|
+
occurred_at: {
|
|
9542
|
+
description: 'Date and time at which the event occurred.',
|
|
9543
|
+
format: 'date-time',
|
|
9544
|
+
type: 'string',
|
|
9545
|
+
},
|
|
9546
|
+
workspace_id: {
|
|
9547
|
+
description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces).',
|
|
9548
|
+
format: 'uuid',
|
|
9549
|
+
type: 'string',
|
|
9550
|
+
},
|
|
9551
|
+
},
|
|
9552
|
+
required: [
|
|
9553
|
+
'event_id',
|
|
9554
|
+
'workspace_id',
|
|
9555
|
+
'created_at',
|
|
9556
|
+
'occurred_at',
|
|
9557
|
+
'acs_system_id',
|
|
9558
|
+
'acs_user_id',
|
|
9559
|
+
'event_type',
|
|
9560
|
+
],
|
|
9561
|
+
type: 'object',
|
|
9562
|
+
'x-route-path': '/acs/users',
|
|
9563
|
+
},
|
|
9516
9564
|
{
|
|
9517
9565
|
description: 'An [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was deleted.',
|
|
9518
9566
|
properties: {
|
|
@@ -23712,6 +23760,7 @@ export default {
|
|
|
23712
23760
|
'acs_credential.issued',
|
|
23713
23761
|
'acs_credential.reissued',
|
|
23714
23762
|
'acs_credential.invalidated',
|
|
23763
|
+
'acs_user.created',
|
|
23715
23764
|
'acs_user.deleted',
|
|
23716
23765
|
'acs_encoder.added',
|
|
23717
23766
|
'acs_encoder.removed',
|
|
@@ -23797,6 +23846,7 @@ export default {
|
|
|
23797
23846
|
'acs_credential.issued',
|
|
23798
23847
|
'acs_credential.reissued',
|
|
23799
23848
|
'acs_credential.invalidated',
|
|
23849
|
+
'acs_user.created',
|
|
23800
23850
|
'acs_user.deleted',
|
|
23801
23851
|
'acs_encoder.added',
|
|
23802
23852
|
'acs_encoder.removed',
|
|
@@ -25397,6 +25447,13 @@ export default {
|
|
|
25397
25447
|
},
|
|
25398
25448
|
tailscale_auth_key: { nullable: true, type: 'string' },
|
|
25399
25449
|
tailscale_hostname: { type: 'string' },
|
|
25450
|
+
telemetry_token: { nullable: true, type: 'string' },
|
|
25451
|
+
telemetry_token_expires_at: {
|
|
25452
|
+
format: 'date-time',
|
|
25453
|
+
nullable: true,
|
|
25454
|
+
type: 'string',
|
|
25455
|
+
},
|
|
25456
|
+
telemetry_url: { nullable: true, type: 'string' },
|
|
25400
25457
|
},
|
|
25401
25458
|
required: [
|
|
25402
25459
|
'created_at',
|
|
@@ -25410,6 +25467,9 @@ export default {
|
|
|
25410
25467
|
'bridge_client_time_zone',
|
|
25411
25468
|
'bridge_client_machine_identifier_key',
|
|
25412
25469
|
'errors',
|
|
25470
|
+
'telemetry_token',
|
|
25471
|
+
'telemetry_token_expires_at',
|
|
25472
|
+
'telemetry_url',
|
|
25413
25473
|
],
|
|
25414
25474
|
type: 'object',
|
|
25415
25475
|
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
|
|
@@ -25558,6 +25618,13 @@ export default {
|
|
|
25558
25618
|
},
|
|
25559
25619
|
tailscale_auth_key: { nullable: true, type: 'string' },
|
|
25560
25620
|
tailscale_hostname: { type: 'string' },
|
|
25621
|
+
telemetry_token: { nullable: true, type: 'string' },
|
|
25622
|
+
telemetry_token_expires_at: {
|
|
25623
|
+
format: 'date-time',
|
|
25624
|
+
nullable: true,
|
|
25625
|
+
type: 'string',
|
|
25626
|
+
},
|
|
25627
|
+
telemetry_url: { nullable: true, type: 'string' },
|
|
25561
25628
|
},
|
|
25562
25629
|
required: [
|
|
25563
25630
|
'created_at',
|
|
@@ -25571,6 +25638,9 @@ export default {
|
|
|
25571
25638
|
'bridge_client_time_zone',
|
|
25572
25639
|
'bridge_client_machine_identifier_key',
|
|
25573
25640
|
'errors',
|
|
25641
|
+
'telemetry_token',
|
|
25642
|
+
'telemetry_token_expires_at',
|
|
25643
|
+
'telemetry_url',
|
|
25574
25644
|
],
|
|
25575
25645
|
type: 'object',
|
|
25576
25646
|
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
|
|
@@ -25710,6 +25780,13 @@ export default {
|
|
|
25710
25780
|
},
|
|
25711
25781
|
tailscale_auth_key: { nullable: true, type: 'string' },
|
|
25712
25782
|
tailscale_hostname: { type: 'string' },
|
|
25783
|
+
telemetry_token: { nullable: true, type: 'string' },
|
|
25784
|
+
telemetry_token_expires_at: {
|
|
25785
|
+
format: 'date-time',
|
|
25786
|
+
nullable: true,
|
|
25787
|
+
type: 'string',
|
|
25788
|
+
},
|
|
25789
|
+
telemetry_url: { nullable: true, type: 'string' },
|
|
25713
25790
|
},
|
|
25714
25791
|
required: [
|
|
25715
25792
|
'created_at',
|
|
@@ -25723,6 +25800,9 @@ export default {
|
|
|
25723
25800
|
'bridge_client_time_zone',
|
|
25724
25801
|
'bridge_client_machine_identifier_key',
|
|
25725
25802
|
'errors',
|
|
25803
|
+
'telemetry_token',
|
|
25804
|
+
'telemetry_token_expires_at',
|
|
25805
|
+
'telemetry_url',
|
|
25726
25806
|
],
|
|
25727
25807
|
type: 'object',
|
|
25728
25808
|
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
|
|
@@ -25756,6 +25836,177 @@ export default {
|
|
|
25756
25836
|
'x-undocumented': 'Seam Bridge Client only.',
|
|
25757
25837
|
},
|
|
25758
25838
|
},
|
|
25839
|
+
'/seam/bridge/v1/bridge_client_sessions/refresh_telemetry_token': {
|
|
25840
|
+
post: {
|
|
25841
|
+
description: 'Returns the bridge client session associated with the session token and refreshed telemetry token.',
|
|
25842
|
+
operationId: 'seamBridgeV1BridgeClientSessionsRefreshTelemetryTokenPost',
|
|
25843
|
+
responses: {
|
|
25844
|
+
200: {
|
|
25845
|
+
content: {
|
|
25846
|
+
'application/json': {
|
|
25847
|
+
schema: {
|
|
25848
|
+
properties: {
|
|
25849
|
+
bridge_client_session: {
|
|
25850
|
+
properties: {
|
|
25851
|
+
bridge_client_machine_identifier_key: {
|
|
25852
|
+
type: 'string',
|
|
25853
|
+
},
|
|
25854
|
+
bridge_client_name: { type: 'string' },
|
|
25855
|
+
bridge_client_session_id: {
|
|
25856
|
+
format: 'uuid',
|
|
25857
|
+
type: 'string',
|
|
25858
|
+
},
|
|
25859
|
+
bridge_client_session_token: { type: 'string' },
|
|
25860
|
+
bridge_client_time_zone: { type: 'string' },
|
|
25861
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
25862
|
+
errors: {
|
|
25863
|
+
items: {
|
|
25864
|
+
description: 'Error associated with the `bridge_client_session`.',
|
|
25865
|
+
discriminator: { propertyName: 'error_code' },
|
|
25866
|
+
oneOf: [
|
|
25867
|
+
{
|
|
25868
|
+
description: "Seam cannot reach the bridge's LAN",
|
|
25869
|
+
properties: {
|
|
25870
|
+
can_tailscale_proxy_reach_bridge: {
|
|
25871
|
+
description: 'Tailscale proxy cannot reach the bridge',
|
|
25872
|
+
nullable: true,
|
|
25873
|
+
type: 'boolean',
|
|
25874
|
+
},
|
|
25875
|
+
can_tailscale_proxy_reach_tailscale_network: {
|
|
25876
|
+
description: 'Tailscale proxy cannot reach the Tailscale network',
|
|
25877
|
+
nullable: true,
|
|
25878
|
+
type: 'boolean',
|
|
25879
|
+
},
|
|
25880
|
+
created_at: {
|
|
25881
|
+
format: 'date-time',
|
|
25882
|
+
type: 'string',
|
|
25883
|
+
},
|
|
25884
|
+
error_code: {
|
|
25885
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
25886
|
+
enum: ['bridge_lan_unreachable'],
|
|
25887
|
+
type: 'string',
|
|
25888
|
+
},
|
|
25889
|
+
is_bridge_socks_server_healthy: {
|
|
25890
|
+
description: "Bridge's SOCKS server is unhealthy",
|
|
25891
|
+
nullable: true,
|
|
25892
|
+
type: 'boolean',
|
|
25893
|
+
},
|
|
25894
|
+
is_tailscale_proxy_reachable: {
|
|
25895
|
+
description: 'Seam cannot reach the tailscale proxy',
|
|
25896
|
+
nullable: true,
|
|
25897
|
+
type: 'boolean',
|
|
25898
|
+
},
|
|
25899
|
+
is_tailscale_proxy_socks_server_healthy: {
|
|
25900
|
+
description: "Tailscale proxy's SOCKS server is unhealthy",
|
|
25901
|
+
nullable: true,
|
|
25902
|
+
type: 'boolean',
|
|
25903
|
+
},
|
|
25904
|
+
message: { type: 'string' },
|
|
25905
|
+
},
|
|
25906
|
+
required: [
|
|
25907
|
+
'message',
|
|
25908
|
+
'created_at',
|
|
25909
|
+
'error_code',
|
|
25910
|
+
'is_tailscale_proxy_reachable',
|
|
25911
|
+
'is_tailscale_proxy_socks_server_healthy',
|
|
25912
|
+
'can_tailscale_proxy_reach_tailscale_network',
|
|
25913
|
+
'can_tailscale_proxy_reach_bridge',
|
|
25914
|
+
'is_bridge_socks_server_healthy',
|
|
25915
|
+
],
|
|
25916
|
+
type: 'object',
|
|
25917
|
+
},
|
|
25918
|
+
{
|
|
25919
|
+
description: 'Bridge has stopped communicating with Seam',
|
|
25920
|
+
properties: {
|
|
25921
|
+
created_at: {
|
|
25922
|
+
format: 'date-time',
|
|
25923
|
+
type: 'string',
|
|
25924
|
+
},
|
|
25925
|
+
error_code: {
|
|
25926
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
25927
|
+
enum: ['no_communication_from_bridge'],
|
|
25928
|
+
type: 'string',
|
|
25929
|
+
},
|
|
25930
|
+
message: { type: 'string' },
|
|
25931
|
+
},
|
|
25932
|
+
required: [
|
|
25933
|
+
'message',
|
|
25934
|
+
'created_at',
|
|
25935
|
+
'error_code',
|
|
25936
|
+
],
|
|
25937
|
+
type: 'object',
|
|
25938
|
+
},
|
|
25939
|
+
],
|
|
25940
|
+
},
|
|
25941
|
+
type: 'array',
|
|
25942
|
+
},
|
|
25943
|
+
pairing_code: {
|
|
25944
|
+
maxLength: 6,
|
|
25945
|
+
minLength: 6,
|
|
25946
|
+
type: 'string',
|
|
25947
|
+
},
|
|
25948
|
+
pairing_code_expires_at: {
|
|
25949
|
+
format: 'date-time',
|
|
25950
|
+
type: 'string',
|
|
25951
|
+
},
|
|
25952
|
+
tailscale_auth_key: { nullable: true, type: 'string' },
|
|
25953
|
+
tailscale_hostname: { type: 'string' },
|
|
25954
|
+
telemetry_token: { nullable: true, type: 'string' },
|
|
25955
|
+
telemetry_token_expires_at: {
|
|
25956
|
+
format: 'date-time',
|
|
25957
|
+
nullable: true,
|
|
25958
|
+
type: 'string',
|
|
25959
|
+
},
|
|
25960
|
+
telemetry_url: { nullable: true, type: 'string' },
|
|
25961
|
+
},
|
|
25962
|
+
required: [
|
|
25963
|
+
'created_at',
|
|
25964
|
+
'bridge_client_session_id',
|
|
25965
|
+
'bridge_client_session_token',
|
|
25966
|
+
'pairing_code',
|
|
25967
|
+
'pairing_code_expires_at',
|
|
25968
|
+
'tailscale_hostname',
|
|
25969
|
+
'tailscale_auth_key',
|
|
25970
|
+
'bridge_client_name',
|
|
25971
|
+
'bridge_client_time_zone',
|
|
25972
|
+
'bridge_client_machine_identifier_key',
|
|
25973
|
+
'errors',
|
|
25974
|
+
'telemetry_token',
|
|
25975
|
+
'telemetry_token_expires_at',
|
|
25976
|
+
'telemetry_url',
|
|
25977
|
+
],
|
|
25978
|
+
type: 'object',
|
|
25979
|
+
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
|
|
25980
|
+
'x-undocumented': 'Seam Bridge Client only.',
|
|
25981
|
+
},
|
|
25982
|
+
ok: { type: 'boolean' },
|
|
25983
|
+
},
|
|
25984
|
+
required: ['bridge_client_session', 'ok'],
|
|
25985
|
+
type: 'object',
|
|
25986
|
+
},
|
|
25987
|
+
},
|
|
25988
|
+
},
|
|
25989
|
+
description: 'OK',
|
|
25990
|
+
},
|
|
25991
|
+
400: { description: 'Bad Request' },
|
|
25992
|
+
401: { description: 'Unauthorized' },
|
|
25993
|
+
},
|
|
25994
|
+
security: [{ bridge_client_session: [] }],
|
|
25995
|
+
summary: '/seam/bridge/v1/bridge_client_sessions/refresh_telemetry_token',
|
|
25996
|
+
tags: [],
|
|
25997
|
+
'x-fern-sdk-group-name': [
|
|
25998
|
+
'seam',
|
|
25999
|
+
'bridge',
|
|
26000
|
+
'v1',
|
|
26001
|
+
'bridge_client_sessions',
|
|
26002
|
+
],
|
|
26003
|
+
'x-fern-sdk-method-name': 'refresh_telemetry_token',
|
|
26004
|
+
'x-fern-sdk-return-value': 'bridge_client_session',
|
|
26005
|
+
'x-response-key': 'bridge_client_session',
|
|
26006
|
+
'x-title': 'Refresh telemetry token for bridge client session',
|
|
26007
|
+
'x-undocumented': 'Seam Bridge Client only.',
|
|
26008
|
+
},
|
|
26009
|
+
},
|
|
25759
26010
|
'/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code': {
|
|
25760
26011
|
post: {
|
|
25761
26012
|
description: 'Generate a new pairing code and return the updated bridge client session.',
|
|
@@ -25871,6 +26122,13 @@ export default {
|
|
|
25871
26122
|
},
|
|
25872
26123
|
tailscale_auth_key: { nullable: true, type: 'string' },
|
|
25873
26124
|
tailscale_hostname: { type: 'string' },
|
|
26125
|
+
telemetry_token: { nullable: true, type: 'string' },
|
|
26126
|
+
telemetry_token_expires_at: {
|
|
26127
|
+
format: 'date-time',
|
|
26128
|
+
nullable: true,
|
|
26129
|
+
type: 'string',
|
|
26130
|
+
},
|
|
26131
|
+
telemetry_url: { nullable: true, type: 'string' },
|
|
25874
26132
|
},
|
|
25875
26133
|
required: [
|
|
25876
26134
|
'created_at',
|
|
@@ -25884,6 +26142,9 @@ export default {
|
|
|
25884
26142
|
'bridge_client_time_zone',
|
|
25885
26143
|
'bridge_client_machine_identifier_key',
|
|
25886
26144
|
'errors',
|
|
26145
|
+
'telemetry_token',
|
|
26146
|
+
'telemetry_token_expires_at',
|
|
26147
|
+
'telemetry_url',
|
|
25887
26148
|
],
|
|
25888
26149
|
type: 'object',
|
|
25889
26150
|
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
|