@seamapi/types 1.382.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.
@@ -21218,6 +21218,19 @@ declare const _default: {
21218
21218
  tailscale_hostname: {
21219
21219
  type: string;
21220
21220
  };
21221
+ telemetry_token: {
21222
+ nullable: boolean;
21223
+ type: string;
21224
+ };
21225
+ telemetry_token_expires_at: {
21226
+ format: string;
21227
+ nullable: boolean;
21228
+ type: string;
21229
+ };
21230
+ telemetry_url: {
21231
+ nullable: boolean;
21232
+ type: string;
21233
+ };
21221
21234
  };
21222
21235
  required: string[];
21223
21236
  type: string;
@@ -21379,6 +21392,19 @@ declare const _default: {
21379
21392
  tailscale_hostname: {
21380
21393
  type: string;
21381
21394
  };
21395
+ telemetry_token: {
21396
+ nullable: boolean;
21397
+ type: string;
21398
+ };
21399
+ telemetry_token_expires_at: {
21400
+ format: string;
21401
+ nullable: boolean;
21402
+ type: string;
21403
+ };
21404
+ telemetry_url: {
21405
+ nullable: boolean;
21406
+ type: string;
21407
+ };
21382
21408
  };
21383
21409
  required: string[];
21384
21410
  type: string;
@@ -21536,6 +21562,193 @@ declare const _default: {
21536
21562
  tailscale_hostname: {
21537
21563
  type: string;
21538
21564
  };
21565
+ telemetry_token: {
21566
+ nullable: boolean;
21567
+ type: string;
21568
+ };
21569
+ telemetry_token_expires_at: {
21570
+ format: string;
21571
+ nullable: boolean;
21572
+ type: string;
21573
+ };
21574
+ telemetry_url: {
21575
+ nullable: boolean;
21576
+ type: string;
21577
+ };
21578
+ };
21579
+ required: string[];
21580
+ type: string;
21581
+ 'x-route-path': string;
21582
+ 'x-undocumented': string;
21583
+ };
21584
+ ok: {
21585
+ type: string;
21586
+ };
21587
+ };
21588
+ required: string[];
21589
+ type: string;
21590
+ };
21591
+ };
21592
+ };
21593
+ description: string;
21594
+ };
21595
+ 400: {
21596
+ description: string;
21597
+ };
21598
+ 401: {
21599
+ description: string;
21600
+ };
21601
+ };
21602
+ security: {
21603
+ bridge_client_session: never[];
21604
+ }[];
21605
+ summary: string;
21606
+ tags: never[];
21607
+ 'x-fern-sdk-group-name': string[];
21608
+ 'x-fern-sdk-method-name': string;
21609
+ 'x-fern-sdk-return-value': string;
21610
+ 'x-response-key': string;
21611
+ 'x-title': string;
21612
+ 'x-undocumented': string;
21613
+ };
21614
+ };
21615
+ '/seam/bridge/v1/bridge_client_sessions/refresh_telemetry_token': {
21616
+ post: {
21617
+ description: string;
21618
+ operationId: string;
21619
+ responses: {
21620
+ 200: {
21621
+ content: {
21622
+ 'application/json': {
21623
+ schema: {
21624
+ properties: {
21625
+ bridge_client_session: {
21626
+ properties: {
21627
+ bridge_client_machine_identifier_key: {
21628
+ type: string;
21629
+ };
21630
+ bridge_client_name: {
21631
+ type: string;
21632
+ };
21633
+ bridge_client_session_id: {
21634
+ format: string;
21635
+ type: string;
21636
+ };
21637
+ bridge_client_session_token: {
21638
+ type: string;
21639
+ };
21640
+ bridge_client_time_zone: {
21641
+ type: string;
21642
+ };
21643
+ created_at: {
21644
+ format: string;
21645
+ type: string;
21646
+ };
21647
+ errors: {
21648
+ items: {
21649
+ description: string;
21650
+ discriminator: {
21651
+ propertyName: string;
21652
+ };
21653
+ oneOf: ({
21654
+ description: string;
21655
+ properties: {
21656
+ can_tailscale_proxy_reach_bridge: {
21657
+ description: string;
21658
+ nullable: boolean;
21659
+ type: string;
21660
+ };
21661
+ can_tailscale_proxy_reach_tailscale_network: {
21662
+ description: string;
21663
+ nullable: boolean;
21664
+ type: string;
21665
+ };
21666
+ created_at: {
21667
+ format: string;
21668
+ type: string;
21669
+ };
21670
+ error_code: {
21671
+ description: string;
21672
+ enum: string[];
21673
+ type: string;
21674
+ };
21675
+ is_bridge_socks_server_healthy: {
21676
+ description: string;
21677
+ nullable: boolean;
21678
+ type: string;
21679
+ };
21680
+ is_tailscale_proxy_reachable: {
21681
+ description: string;
21682
+ nullable: boolean;
21683
+ type: string;
21684
+ };
21685
+ is_tailscale_proxy_socks_server_healthy: {
21686
+ description: string;
21687
+ nullable: boolean;
21688
+ type: string;
21689
+ };
21690
+ message: {
21691
+ type: string;
21692
+ };
21693
+ };
21694
+ required: string[];
21695
+ type: string;
21696
+ } | {
21697
+ description: string;
21698
+ properties: {
21699
+ created_at: {
21700
+ format: string;
21701
+ type: string;
21702
+ };
21703
+ error_code: {
21704
+ description: string;
21705
+ enum: string[];
21706
+ type: string;
21707
+ };
21708
+ message: {
21709
+ type: string;
21710
+ };
21711
+ can_tailscale_proxy_reach_bridge?: never;
21712
+ can_tailscale_proxy_reach_tailscale_network?: never;
21713
+ is_bridge_socks_server_healthy?: never;
21714
+ is_tailscale_proxy_reachable?: never;
21715
+ is_tailscale_proxy_socks_server_healthy?: never;
21716
+ };
21717
+ required: string[];
21718
+ type: string;
21719
+ })[];
21720
+ };
21721
+ type: string;
21722
+ };
21723
+ pairing_code: {
21724
+ maxLength: number;
21725
+ minLength: number;
21726
+ type: string;
21727
+ };
21728
+ pairing_code_expires_at: {
21729
+ format: string;
21730
+ type: string;
21731
+ };
21732
+ tailscale_auth_key: {
21733
+ nullable: boolean;
21734
+ type: string;
21735
+ };
21736
+ tailscale_hostname: {
21737
+ type: string;
21738
+ };
21739
+ telemetry_token: {
21740
+ nullable: boolean;
21741
+ type: string;
21742
+ };
21743
+ telemetry_token_expires_at: {
21744
+ format: string;
21745
+ nullable: boolean;
21746
+ type: string;
21747
+ };
21748
+ telemetry_url: {
21749
+ nullable: boolean;
21750
+ type: string;
21751
+ };
21539
21752
  };
21540
21753
  required: string[];
21541
21754
  type: string;
@@ -21697,6 +21910,19 @@ declare const _default: {
21697
21910
  tailscale_hostname: {
21698
21911
  type: string;
21699
21912
  };
21913
+ telemetry_token: {
21914
+ nullable: boolean;
21915
+ type: string;
21916
+ };
21917
+ telemetry_token_expires_at: {
21918
+ format: string;
21919
+ nullable: boolean;
21920
+ type: string;
21921
+ };
21922
+ telemetry_url: {
21923
+ nullable: boolean;
21924
+ type: string;
21925
+ };
21700
21926
  };
21701
21927
  required: string[];
21702
21928
  type: string;
@@ -25447,6 +25447,13 @@ export default {
25447
25447
  },
25448
25448
  tailscale_auth_key: { nullable: true, type: 'string' },
25449
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' },
25450
25457
  },
25451
25458
  required: [
25452
25459
  'created_at',
@@ -25460,6 +25467,9 @@ export default {
25460
25467
  'bridge_client_time_zone',
25461
25468
  'bridge_client_machine_identifier_key',
25462
25469
  'errors',
25470
+ 'telemetry_token',
25471
+ 'telemetry_token_expires_at',
25472
+ 'telemetry_url',
25463
25473
  ],
25464
25474
  type: 'object',
25465
25475
  'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
@@ -25608,6 +25618,13 @@ export default {
25608
25618
  },
25609
25619
  tailscale_auth_key: { nullable: true, type: 'string' },
25610
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' },
25611
25628
  },
25612
25629
  required: [
25613
25630
  'created_at',
@@ -25621,6 +25638,9 @@ export default {
25621
25638
  'bridge_client_time_zone',
25622
25639
  'bridge_client_machine_identifier_key',
25623
25640
  'errors',
25641
+ 'telemetry_token',
25642
+ 'telemetry_token_expires_at',
25643
+ 'telemetry_url',
25624
25644
  ],
25625
25645
  type: 'object',
25626
25646
  'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
@@ -25760,6 +25780,13 @@ export default {
25760
25780
  },
25761
25781
  tailscale_auth_key: { nullable: true, type: 'string' },
25762
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' },
25763
25790
  },
25764
25791
  required: [
25765
25792
  'created_at',
@@ -25773,6 +25800,9 @@ export default {
25773
25800
  'bridge_client_time_zone',
25774
25801
  'bridge_client_machine_identifier_key',
25775
25802
  'errors',
25803
+ 'telemetry_token',
25804
+ 'telemetry_token_expires_at',
25805
+ 'telemetry_url',
25776
25806
  ],
25777
25807
  type: 'object',
25778
25808
  'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
@@ -25806,6 +25836,177 @@ export default {
25806
25836
  'x-undocumented': 'Seam Bridge Client only.',
25807
25837
  },
25808
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
+ },
25809
26010
  '/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code': {
25810
26011
  post: {
25811
26012
  description: 'Generate a new pairing code and return the updated bridge client session.',
@@ -25921,6 +26122,13 @@ export default {
25921
26122
  },
25922
26123
  tailscale_auth_key: { nullable: true, type: 'string' },
25923
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' },
25924
26132
  },
25925
26133
  required: [
25926
26134
  'created_at',
@@ -25934,6 +26142,9 @@ export default {
25934
26142
  'bridge_client_time_zone',
25935
26143
  'bridge_client_machine_identifier_key',
25936
26144
  'errors',
26145
+ 'telemetry_token',
26146
+ 'telemetry_token_expires_at',
26147
+ 'telemetry_url',
25937
26148
  ],
25938
26149
  type: 'object',
25939
26150
  'x-route-path': '/seam/bridge/v1/bridge_client_sessions',