@seamapi/types 1.349.0 → 1.350.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.
@@ -31389,6 +31389,87 @@ declare const _default: {
31389
31389
  'x-response-key': string;
31390
31390
  };
31391
31391
  };
31392
+ '/bridges/list': {
31393
+ post: {
31394
+ operationId: string;
31395
+ requestBody: {
31396
+ content: {
31397
+ 'application/json': {
31398
+ schema: {
31399
+ properties: {};
31400
+ type: string;
31401
+ };
31402
+ };
31403
+ };
31404
+ };
31405
+ responses: {
31406
+ 200: {
31407
+ content: {
31408
+ 'application/json': {
31409
+ schema: {
31410
+ properties: {
31411
+ bridges: {
31412
+ items: {
31413
+ properties: {
31414
+ bridge_id: {
31415
+ format: string;
31416
+ type: string;
31417
+ };
31418
+ created_at: {
31419
+ format: string;
31420
+ type: string;
31421
+ };
31422
+ workspace_id: {
31423
+ format: string;
31424
+ type: string;
31425
+ };
31426
+ };
31427
+ required: string[];
31428
+ type: string;
31429
+ 'x-route-path': string;
31430
+ 'x-undocumented': string;
31431
+ };
31432
+ type: string;
31433
+ };
31434
+ ok: {
31435
+ type: string;
31436
+ };
31437
+ };
31438
+ required: string[];
31439
+ type: string;
31440
+ };
31441
+ };
31442
+ };
31443
+ description: string;
31444
+ };
31445
+ 400: {
31446
+ description: string;
31447
+ };
31448
+ 401: {
31449
+ description: string;
31450
+ };
31451
+ };
31452
+ security: ({
31453
+ pat_with_workspace: never[];
31454
+ console_session_with_workspace?: never;
31455
+ api_key?: never;
31456
+ } | {
31457
+ console_session_with_workspace: never[];
31458
+ pat_with_workspace?: never;
31459
+ api_key?: never;
31460
+ } | {
31461
+ api_key: never[];
31462
+ pat_with_workspace?: never;
31463
+ console_session_with_workspace?: never;
31464
+ })[];
31465
+ summary: string;
31466
+ tags: never[];
31467
+ 'x-fern-sdk-group-name': string[];
31468
+ 'x-fern-sdk-method-name': string;
31469
+ 'x-fern-sdk-return-value': string;
31470
+ 'x-response-key': string;
31471
+ };
31472
+ };
31392
31473
  '/client_sessions/create': {
31393
31474
  post: {
31394
31475
  operationId: string;
@@ -35837,13 +35918,13 @@ declare const _default: {
35837
35918
  'application/json': {
35838
35919
  schema: {
35839
35920
  properties: {
35840
- machine_identifier_key: {
35921
+ bridge_client_machine_identifier_key: {
35841
35922
  type: string;
35842
35923
  };
35843
- name: {
35924
+ bridge_client_name: {
35844
35925
  type: string;
35845
35926
  };
35846
- time_zone: {
35927
+ bridge_client_time_zone: {
35847
35928
  type: string;
35848
35929
  };
35849
35930
  };
@@ -35874,9 +35955,6 @@ declare const _default: {
35874
35955
  bridge_client_session_token: {
35875
35956
  type: string;
35876
35957
  };
35877
- bridge_client_tailscale_hostname: {
35878
- type: string;
35879
- };
35880
35958
  bridge_client_time_zone: {
35881
35959
  type: string;
35882
35960
  };
@@ -35897,6 +35975,9 @@ declare const _default: {
35897
35975
  nullable: boolean;
35898
35976
  type: string;
35899
35977
  };
35978
+ tailscale_hostname: {
35979
+ type: string;
35980
+ };
35900
35981
  };
35901
35982
  required: string[];
35902
35983
  type: string;
@@ -35957,9 +36038,6 @@ declare const _default: {
35957
36038
  bridge_client_session_token: {
35958
36039
  type: string;
35959
36040
  };
35960
- bridge_client_tailscale_hostname: {
35961
- type: string;
35962
- };
35963
36041
  bridge_client_time_zone: {
35964
36042
  type: string;
35965
36043
  };
@@ -35980,6 +36058,9 @@ declare const _default: {
35980
36058
  nullable: boolean;
35981
36059
  type: string;
35982
36060
  };
36061
+ tailscale_hostname: {
36062
+ type: string;
36063
+ };
35983
36064
  };
35984
36065
  required: string[];
35985
36066
  type: string;
@@ -36036,7 +36117,87 @@ declare const _default: {
36036
36117
  bridge_client_session_token: {
36037
36118
  type: string;
36038
36119
  };
36039
- bridge_client_tailscale_hostname: {
36120
+ bridge_client_time_zone: {
36121
+ type: string;
36122
+ };
36123
+ created_at: {
36124
+ format: string;
36125
+ type: string;
36126
+ };
36127
+ pairing_code: {
36128
+ maxLength: number;
36129
+ minLength: number;
36130
+ type: string;
36131
+ };
36132
+ pairing_code_expires_at: {
36133
+ format: string;
36134
+ type: string;
36135
+ };
36136
+ tailscale_auth_key: {
36137
+ nullable: boolean;
36138
+ type: string;
36139
+ };
36140
+ tailscale_hostname: {
36141
+ type: string;
36142
+ };
36143
+ };
36144
+ required: string[];
36145
+ type: string;
36146
+ 'x-route-path': string;
36147
+ };
36148
+ ok: {
36149
+ type: string;
36150
+ };
36151
+ };
36152
+ required: string[];
36153
+ type: string;
36154
+ };
36155
+ };
36156
+ };
36157
+ description: string;
36158
+ };
36159
+ 400: {
36160
+ description: string;
36161
+ };
36162
+ 401: {
36163
+ description: string;
36164
+ };
36165
+ };
36166
+ security: {
36167
+ bridge_client_session: never[];
36168
+ }[];
36169
+ summary: string;
36170
+ tags: never[];
36171
+ 'x-fern-sdk-group-name': string[];
36172
+ 'x-fern-sdk-method-name': string;
36173
+ 'x-fern-sdk-return-value': string;
36174
+ 'x-response-key': string;
36175
+ 'x-title': string;
36176
+ };
36177
+ };
36178
+ '/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code': {
36179
+ post: {
36180
+ description: string;
36181
+ operationId: string;
36182
+ responses: {
36183
+ 200: {
36184
+ content: {
36185
+ 'application/json': {
36186
+ schema: {
36187
+ properties: {
36188
+ bridge_client_session: {
36189
+ properties: {
36190
+ bridge_client_machine_identifier_key: {
36191
+ type: string;
36192
+ };
36193
+ bridge_client_name: {
36194
+ type: string;
36195
+ };
36196
+ bridge_client_session_id: {
36197
+ format: string;
36198
+ type: string;
36199
+ };
36200
+ bridge_client_session_token: {
36040
36201
  type: string;
36041
36202
  };
36042
36203
  bridge_client_time_zone: {
@@ -36059,6 +36220,9 @@ declare const _default: {
36059
36220
  nullable: boolean;
36060
36221
  type: string;
36061
36222
  };
36223
+ tailscale_hostname: {
36224
+ type: string;
36225
+ };
36062
36226
  };
36063
36227
  required: string[];
36064
36228
  type: string;
@@ -53478,6 +53642,21 @@ interface Routes {
53478
53642
  };
53479
53643
  };
53480
53644
  };
53645
+ '/bridges/list': {
53646
+ route: '/bridges/list';
53647
+ method: 'GET' | 'POST';
53648
+ queryParams: {};
53649
+ jsonBody: {};
53650
+ commonParams: {};
53651
+ formData: {};
53652
+ jsonResponse: {
53653
+ bridges: Array<{
53654
+ bridge_id: string;
53655
+ workspace_id: string;
53656
+ created_at: string;
53657
+ }>;
53658
+ };
53659
+ };
53481
53660
  '/client_sessions/create': {
53482
53661
  route: '/client_sessions/create';
53483
53662
  method: 'POST' | 'PUT';
@@ -66926,9 +67105,9 @@ interface Routes {
66926
67105
  method: 'POST';
66927
67106
  queryParams: {};
66928
67107
  jsonBody: {
66929
- name: string;
66930
- time_zone: string;
66931
- machine_identifier_key: string;
67108
+ bridge_client_name: string;
67109
+ bridge_client_time_zone: string;
67110
+ bridge_client_machine_identifier_key: string;
66932
67111
  };
66933
67112
  commonParams: {};
66934
67113
  formData: {};
@@ -66938,13 +67117,13 @@ interface Routes {
66938
67117
  created_at: string;
66939
67118
  bridge_client_session_id: string;
66940
67119
  bridge_client_session_token: string;
66941
- bridge_client_name: string;
66942
- bridge_client_time_zone: string;
66943
- bridge_client_machine_identifier_key: string;
66944
- bridge_client_tailscale_hostname: string;
66945
67120
  pairing_code: string;
66946
67121
  pairing_code_expires_at: string;
67122
+ tailscale_hostname: string;
66947
67123
  tailscale_auth_key: string | null;
67124
+ bridge_client_name: string;
67125
+ bridge_client_time_zone: string;
67126
+ bridge_client_machine_identifier_key: string;
66948
67127
  };
66949
67128
  };
66950
67129
  };
@@ -66961,13 +67140,36 @@ interface Routes {
66961
67140
  created_at: string;
66962
67141
  bridge_client_session_id: string;
66963
67142
  bridge_client_session_token: string;
67143
+ pairing_code: string;
67144
+ pairing_code_expires_at: string;
67145
+ tailscale_hostname: string;
67146
+ tailscale_auth_key: string | null;
66964
67147
  bridge_client_name: string;
66965
67148
  bridge_client_time_zone: string;
66966
67149
  bridge_client_machine_identifier_key: string;
66967
- bridge_client_tailscale_hostname: string;
67150
+ };
67151
+ };
67152
+ };
67153
+ '/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code': {
67154
+ route: '/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code';
67155
+ method: 'POST';
67156
+ queryParams: {};
67157
+ jsonBody: {};
67158
+ commonParams: {};
67159
+ formData: {};
67160
+ jsonResponse: {
67161
+ /** */
67162
+ bridge_client_session: {
67163
+ created_at: string;
67164
+ bridge_client_session_id: string;
67165
+ bridge_client_session_token: string;
66968
67166
  pairing_code: string;
66969
67167
  pairing_code_expires_at: string;
67168
+ tailscale_hostname: string;
66970
67169
  tailscale_auth_key: string | null;
67170
+ bridge_client_name: string;
67171
+ bridge_client_time_zone: string;
67172
+ bridge_client_machine_identifier_key: string;
66971
67173
  };
66972
67174
  };
66973
67175
  };
@@ -3,34 +3,34 @@ export declare const bridge_client_session: z.ZodObject<{
3
3
  created_at: z.ZodString;
4
4
  bridge_client_session_id: z.ZodString;
5
5
  bridge_client_session_token: z.ZodString;
6
- bridge_client_name: z.ZodString;
7
- bridge_client_time_zone: z.ZodString;
8
- bridge_client_machine_identifier_key: z.ZodString;
9
- bridge_client_tailscale_hostname: z.ZodString;
10
6
  pairing_code: z.ZodString;
11
7
  pairing_code_expires_at: z.ZodString;
8
+ tailscale_hostname: z.ZodString;
12
9
  tailscale_auth_key: z.ZodNullable<z.ZodString>;
10
+ bridge_client_name: z.ZodString;
11
+ bridge_client_time_zone: z.ZodString;
12
+ bridge_client_machine_identifier_key: z.ZodString;
13
13
  }, "strip", z.ZodTypeAny, {
14
14
  created_at: string;
15
15
  bridge_client_session_id: string;
16
16
  bridge_client_session_token: string;
17
- bridge_client_name: string;
18
- bridge_client_time_zone: string;
19
- bridge_client_machine_identifier_key: string;
20
- bridge_client_tailscale_hostname: string;
21
17
  pairing_code: string;
22
18
  pairing_code_expires_at: string;
19
+ tailscale_hostname: string;
23
20
  tailscale_auth_key: string | null;
21
+ bridge_client_name: string;
22
+ bridge_client_time_zone: string;
23
+ bridge_client_machine_identifier_key: string;
24
24
  }, {
25
25
  created_at: string;
26
26
  bridge_client_session_id: string;
27
27
  bridge_client_session_token: string;
28
- bridge_client_name: string;
29
- bridge_client_time_zone: string;
30
- bridge_client_machine_identifier_key: string;
31
- bridge_client_tailscale_hostname: string;
32
28
  pairing_code: string;
33
29
  pairing_code_expires_at: string;
30
+ tailscale_hostname: string;
34
31
  tailscale_auth_key: string | null;
32
+ bridge_client_name: string;
33
+ bridge_client_time_zone: string;
34
+ bridge_client_machine_identifier_key: string;
35
35
  }>;
36
36
  export type BridgeClientSession = z.infer<typeof bridge_client_session>;
@@ -3,13 +3,13 @@ export const bridge_client_session = z.object({
3
3
  created_at: z.string().datetime(),
4
4
  bridge_client_session_id: z.string().uuid(),
5
5
  bridge_client_session_token: z.string(),
6
- bridge_client_name: z.string(),
7
- bridge_client_time_zone: z.string(),
8
- bridge_client_machine_identifier_key: z.string(),
9
- bridge_client_tailscale_hostname: z.string(),
10
6
  pairing_code: z.string().length(6),
11
7
  pairing_code_expires_at: z.string().datetime(),
8
+ tailscale_hostname: z.string(),
12
9
  tailscale_auth_key: z.string().nullable(),
10
+ bridge_client_name: z.string(),
11
+ bridge_client_time_zone: z.string(),
12
+ bridge_client_machine_identifier_key: z.string(),
13
13
  }).describe(`
14
14
  ---
15
15
  route_path: /seam/bridge/v1/bridge_client_sessions
@@ -1 +1 @@
1
- {"version":3,"file":"bridge_client_session.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/bridges/bridge_client_session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,wBAAwB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC3C,2BAA2B,EAAE,CAAC,CAAC,MAAM,EAA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C;;;;CAIX,CAAC,CAAA"}
@@ -14788,6 +14788,87 @@ declare const _default: {
14788
14788
  'x-response-key': string;
14789
14789
  };
14790
14790
  };
14791
+ '/bridges/list': {
14792
+ post: {
14793
+ operationId: string;
14794
+ requestBody: {
14795
+ content: {
14796
+ 'application/json': {
14797
+ schema: {
14798
+ properties: {};
14799
+ type: string;
14800
+ };
14801
+ };
14802
+ };
14803
+ };
14804
+ responses: {
14805
+ 200: {
14806
+ content: {
14807
+ 'application/json': {
14808
+ schema: {
14809
+ properties: {
14810
+ bridges: {
14811
+ items: {
14812
+ properties: {
14813
+ bridge_id: {
14814
+ format: string;
14815
+ type: string;
14816
+ };
14817
+ created_at: {
14818
+ format: string;
14819
+ type: string;
14820
+ };
14821
+ workspace_id: {
14822
+ format: string;
14823
+ type: string;
14824
+ };
14825
+ };
14826
+ required: string[];
14827
+ type: string;
14828
+ 'x-route-path': string;
14829
+ 'x-undocumented': string;
14830
+ };
14831
+ type: string;
14832
+ };
14833
+ ok: {
14834
+ type: string;
14835
+ };
14836
+ };
14837
+ required: string[];
14838
+ type: string;
14839
+ };
14840
+ };
14841
+ };
14842
+ description: string;
14843
+ };
14844
+ 400: {
14845
+ description: string;
14846
+ };
14847
+ 401: {
14848
+ description: string;
14849
+ };
14850
+ };
14851
+ security: ({
14852
+ pat_with_workspace: never[];
14853
+ console_session_with_workspace?: never;
14854
+ api_key?: never;
14855
+ } | {
14856
+ console_session_with_workspace: never[];
14857
+ pat_with_workspace?: never;
14858
+ api_key?: never;
14859
+ } | {
14860
+ api_key: never[];
14861
+ pat_with_workspace?: never;
14862
+ console_session_with_workspace?: never;
14863
+ })[];
14864
+ summary: string;
14865
+ tags: never[];
14866
+ 'x-fern-sdk-group-name': string[];
14867
+ 'x-fern-sdk-method-name': string;
14868
+ 'x-fern-sdk-return-value': string;
14869
+ 'x-response-key': string;
14870
+ };
14871
+ };
14791
14872
  '/client_sessions/create': {
14792
14873
  post: {
14793
14874
  operationId: string;
@@ -19236,13 +19317,13 @@ declare const _default: {
19236
19317
  'application/json': {
19237
19318
  schema: {
19238
19319
  properties: {
19239
- machine_identifier_key: {
19320
+ bridge_client_machine_identifier_key: {
19240
19321
  type: string;
19241
19322
  };
19242
- name: {
19323
+ bridge_client_name: {
19243
19324
  type: string;
19244
19325
  };
19245
- time_zone: {
19326
+ bridge_client_time_zone: {
19246
19327
  type: string;
19247
19328
  };
19248
19329
  };
@@ -19273,9 +19354,6 @@ declare const _default: {
19273
19354
  bridge_client_session_token: {
19274
19355
  type: string;
19275
19356
  };
19276
- bridge_client_tailscale_hostname: {
19277
- type: string;
19278
- };
19279
19357
  bridge_client_time_zone: {
19280
19358
  type: string;
19281
19359
  };
@@ -19296,6 +19374,9 @@ declare const _default: {
19296
19374
  nullable: boolean;
19297
19375
  type: string;
19298
19376
  };
19377
+ tailscale_hostname: {
19378
+ type: string;
19379
+ };
19299
19380
  };
19300
19381
  required: string[];
19301
19382
  type: string;
@@ -19356,9 +19437,6 @@ declare const _default: {
19356
19437
  bridge_client_session_token: {
19357
19438
  type: string;
19358
19439
  };
19359
- bridge_client_tailscale_hostname: {
19360
- type: string;
19361
- };
19362
19440
  bridge_client_time_zone: {
19363
19441
  type: string;
19364
19442
  };
@@ -19379,6 +19457,9 @@ declare const _default: {
19379
19457
  nullable: boolean;
19380
19458
  type: string;
19381
19459
  };
19460
+ tailscale_hostname: {
19461
+ type: string;
19462
+ };
19382
19463
  };
19383
19464
  required: string[];
19384
19465
  type: string;
@@ -19435,7 +19516,87 @@ declare const _default: {
19435
19516
  bridge_client_session_token: {
19436
19517
  type: string;
19437
19518
  };
19438
- bridge_client_tailscale_hostname: {
19519
+ bridge_client_time_zone: {
19520
+ type: string;
19521
+ };
19522
+ created_at: {
19523
+ format: string;
19524
+ type: string;
19525
+ };
19526
+ pairing_code: {
19527
+ maxLength: number;
19528
+ minLength: number;
19529
+ type: string;
19530
+ };
19531
+ pairing_code_expires_at: {
19532
+ format: string;
19533
+ type: string;
19534
+ };
19535
+ tailscale_auth_key: {
19536
+ nullable: boolean;
19537
+ type: string;
19538
+ };
19539
+ tailscale_hostname: {
19540
+ type: string;
19541
+ };
19542
+ };
19543
+ required: string[];
19544
+ type: string;
19545
+ 'x-route-path': string;
19546
+ };
19547
+ ok: {
19548
+ type: string;
19549
+ };
19550
+ };
19551
+ required: string[];
19552
+ type: string;
19553
+ };
19554
+ };
19555
+ };
19556
+ description: string;
19557
+ };
19558
+ 400: {
19559
+ description: string;
19560
+ };
19561
+ 401: {
19562
+ description: string;
19563
+ };
19564
+ };
19565
+ security: {
19566
+ bridge_client_session: never[];
19567
+ }[];
19568
+ summary: string;
19569
+ tags: never[];
19570
+ 'x-fern-sdk-group-name': string[];
19571
+ 'x-fern-sdk-method-name': string;
19572
+ 'x-fern-sdk-return-value': string;
19573
+ 'x-response-key': string;
19574
+ 'x-title': string;
19575
+ };
19576
+ };
19577
+ '/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code': {
19578
+ post: {
19579
+ description: string;
19580
+ operationId: string;
19581
+ responses: {
19582
+ 200: {
19583
+ content: {
19584
+ 'application/json': {
19585
+ schema: {
19586
+ properties: {
19587
+ bridge_client_session: {
19588
+ properties: {
19589
+ bridge_client_machine_identifier_key: {
19590
+ type: string;
19591
+ };
19592
+ bridge_client_name: {
19593
+ type: string;
19594
+ };
19595
+ bridge_client_session_id: {
19596
+ format: string;
19597
+ type: string;
19598
+ };
19599
+ bridge_client_session_token: {
19439
19600
  type: string;
19440
19601
  };
19441
19602
  bridge_client_time_zone: {
@@ -19458,6 +19619,9 @@ declare const _default: {
19458
19619
  nullable: boolean;
19459
19620
  type: string;
19460
19621
  };
19622
+ tailscale_hostname: {
19623
+ type: string;
19624
+ };
19461
19625
  };
19462
19626
  required: string[];
19463
19627
  type: string;