@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.
@@ -9610,6 +9610,9 @@ declare const bridge_client_session: z.ZodObject<{
9610
9610
  created_at: string;
9611
9611
  error_code: "no_communication_from_bridge";
9612
9612
  }>]>, "many">;
9613
+ telemetry_token: z.ZodNullable<z.ZodString>;
9614
+ telemetry_token_expires_at: z.ZodNullable<z.ZodString>;
9615
+ telemetry_url: z.ZodNullable<z.ZodString>;
9613
9616
  }, "strip", z.ZodTypeAny, {
9614
9617
  created_at: string;
9615
9618
  errors: ({
@@ -9635,6 +9638,9 @@ declare const bridge_client_session: z.ZodObject<{
9635
9638
  bridge_client_name: string;
9636
9639
  bridge_client_time_zone: string;
9637
9640
  bridge_client_machine_identifier_key: string;
9641
+ telemetry_token: string | null;
9642
+ telemetry_token_expires_at: string | null;
9643
+ telemetry_url: string | null;
9638
9644
  }, {
9639
9645
  created_at: string;
9640
9646
  errors: ({
@@ -9660,6 +9666,9 @@ declare const bridge_client_session: z.ZodObject<{
9660
9666
  bridge_client_name: string;
9661
9667
  bridge_client_time_zone: string;
9662
9668
  bridge_client_machine_identifier_key: string;
9669
+ telemetry_token: string | null;
9670
+ telemetry_token_expires_at: string | null;
9671
+ telemetry_url: string | null;
9663
9672
  }>;
9664
9673
 
9665
9674
  declare const client_session: z.ZodObject<{
@@ -41051,6 +41060,19 @@ declare const _default: {
41051
41060
  tailscale_hostname: {
41052
41061
  type: string;
41053
41062
  };
41063
+ telemetry_token: {
41064
+ nullable: boolean;
41065
+ type: string;
41066
+ };
41067
+ telemetry_token_expires_at: {
41068
+ format: string;
41069
+ nullable: boolean;
41070
+ type: string;
41071
+ };
41072
+ telemetry_url: {
41073
+ nullable: boolean;
41074
+ type: string;
41075
+ };
41054
41076
  };
41055
41077
  required: string[];
41056
41078
  type: string;
@@ -41212,6 +41234,19 @@ declare const _default: {
41212
41234
  tailscale_hostname: {
41213
41235
  type: string;
41214
41236
  };
41237
+ telemetry_token: {
41238
+ nullable: boolean;
41239
+ type: string;
41240
+ };
41241
+ telemetry_token_expires_at: {
41242
+ format: string;
41243
+ nullable: boolean;
41244
+ type: string;
41245
+ };
41246
+ telemetry_url: {
41247
+ nullable: boolean;
41248
+ type: string;
41249
+ };
41215
41250
  };
41216
41251
  required: string[];
41217
41252
  type: string;
@@ -41369,6 +41404,193 @@ declare const _default: {
41369
41404
  tailscale_hostname: {
41370
41405
  type: string;
41371
41406
  };
41407
+ telemetry_token: {
41408
+ nullable: boolean;
41409
+ type: string;
41410
+ };
41411
+ telemetry_token_expires_at: {
41412
+ format: string;
41413
+ nullable: boolean;
41414
+ type: string;
41415
+ };
41416
+ telemetry_url: {
41417
+ nullable: boolean;
41418
+ type: string;
41419
+ };
41420
+ };
41421
+ required: string[];
41422
+ type: string;
41423
+ 'x-route-path': string;
41424
+ 'x-undocumented': string;
41425
+ };
41426
+ ok: {
41427
+ type: string;
41428
+ };
41429
+ };
41430
+ required: string[];
41431
+ type: string;
41432
+ };
41433
+ };
41434
+ };
41435
+ description: string;
41436
+ };
41437
+ 400: {
41438
+ description: string;
41439
+ };
41440
+ 401: {
41441
+ description: string;
41442
+ };
41443
+ };
41444
+ security: {
41445
+ bridge_client_session: never[];
41446
+ }[];
41447
+ summary: string;
41448
+ tags: never[];
41449
+ 'x-fern-sdk-group-name': string[];
41450
+ 'x-fern-sdk-method-name': string;
41451
+ 'x-fern-sdk-return-value': string;
41452
+ 'x-response-key': string;
41453
+ 'x-title': string;
41454
+ 'x-undocumented': string;
41455
+ };
41456
+ };
41457
+ '/seam/bridge/v1/bridge_client_sessions/refresh_telemetry_token': {
41458
+ post: {
41459
+ description: string;
41460
+ operationId: string;
41461
+ responses: {
41462
+ 200: {
41463
+ content: {
41464
+ 'application/json': {
41465
+ schema: {
41466
+ properties: {
41467
+ bridge_client_session: {
41468
+ properties: {
41469
+ bridge_client_machine_identifier_key: {
41470
+ type: string;
41471
+ };
41472
+ bridge_client_name: {
41473
+ type: string;
41474
+ };
41475
+ bridge_client_session_id: {
41476
+ format: string;
41477
+ type: string;
41478
+ };
41479
+ bridge_client_session_token: {
41480
+ type: string;
41481
+ };
41482
+ bridge_client_time_zone: {
41483
+ type: string;
41484
+ };
41485
+ created_at: {
41486
+ format: string;
41487
+ type: string;
41488
+ };
41489
+ errors: {
41490
+ items: {
41491
+ description: string;
41492
+ discriminator: {
41493
+ propertyName: string;
41494
+ };
41495
+ oneOf: ({
41496
+ description: string;
41497
+ properties: {
41498
+ can_tailscale_proxy_reach_bridge: {
41499
+ description: string;
41500
+ nullable: boolean;
41501
+ type: string;
41502
+ };
41503
+ can_tailscale_proxy_reach_tailscale_network: {
41504
+ description: string;
41505
+ nullable: boolean;
41506
+ type: string;
41507
+ };
41508
+ created_at: {
41509
+ format: string;
41510
+ type: string;
41511
+ };
41512
+ error_code: {
41513
+ description: string;
41514
+ enum: string[];
41515
+ type: string;
41516
+ };
41517
+ is_bridge_socks_server_healthy: {
41518
+ description: string;
41519
+ nullable: boolean;
41520
+ type: string;
41521
+ };
41522
+ is_tailscale_proxy_reachable: {
41523
+ description: string;
41524
+ nullable: boolean;
41525
+ type: string;
41526
+ };
41527
+ is_tailscale_proxy_socks_server_healthy: {
41528
+ description: string;
41529
+ nullable: boolean;
41530
+ type: string;
41531
+ };
41532
+ message: {
41533
+ type: string;
41534
+ };
41535
+ };
41536
+ required: string[];
41537
+ type: string;
41538
+ } | {
41539
+ description: string;
41540
+ properties: {
41541
+ created_at: {
41542
+ format: string;
41543
+ type: string;
41544
+ };
41545
+ error_code: {
41546
+ description: string;
41547
+ enum: string[];
41548
+ type: string;
41549
+ };
41550
+ message: {
41551
+ type: string;
41552
+ };
41553
+ can_tailscale_proxy_reach_bridge?: never;
41554
+ can_tailscale_proxy_reach_tailscale_network?: never;
41555
+ is_bridge_socks_server_healthy?: never;
41556
+ is_tailscale_proxy_reachable?: never;
41557
+ is_tailscale_proxy_socks_server_healthy?: never;
41558
+ };
41559
+ required: string[];
41560
+ type: string;
41561
+ })[];
41562
+ };
41563
+ type: string;
41564
+ };
41565
+ pairing_code: {
41566
+ maxLength: number;
41567
+ minLength: number;
41568
+ type: string;
41569
+ };
41570
+ pairing_code_expires_at: {
41571
+ format: string;
41572
+ type: string;
41573
+ };
41574
+ tailscale_auth_key: {
41575
+ nullable: boolean;
41576
+ type: string;
41577
+ };
41578
+ tailscale_hostname: {
41579
+ type: string;
41580
+ };
41581
+ telemetry_token: {
41582
+ nullable: boolean;
41583
+ type: string;
41584
+ };
41585
+ telemetry_token_expires_at: {
41586
+ format: string;
41587
+ nullable: boolean;
41588
+ type: string;
41589
+ };
41590
+ telemetry_url: {
41591
+ nullable: boolean;
41592
+ type: string;
41593
+ };
41372
41594
  };
41373
41595
  required: string[];
41374
41596
  type: string;
@@ -41530,6 +41752,19 @@ declare const _default: {
41530
41752
  tailscale_hostname: {
41531
41753
  type: string;
41532
41754
  };
41755
+ telemetry_token: {
41756
+ nullable: boolean;
41757
+ type: string;
41758
+ };
41759
+ telemetry_token_expires_at: {
41760
+ format: string;
41761
+ nullable: boolean;
41762
+ type: string;
41763
+ };
41764
+ telemetry_url: {
41765
+ nullable: boolean;
41766
+ type: string;
41767
+ };
41533
41768
  };
41534
41769
  required: string[];
41535
41770
  type: string;
@@ -78834,6 +79069,9 @@ interface Routes {
78834
79069
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
78835
79070
  error_code: 'no_communication_from_bridge';
78836
79071
  }>;
79072
+ telemetry_token: string | null;
79073
+ telemetry_token_expires_at: string | null;
79074
+ telemetry_url: string | null;
78837
79075
  };
78838
79076
  };
78839
79077
  };
@@ -78878,6 +79116,56 @@ interface Routes {
78878
79116
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
78879
79117
  error_code: 'no_communication_from_bridge';
78880
79118
  }>;
79119
+ telemetry_token: string | null;
79120
+ telemetry_token_expires_at: string | null;
79121
+ telemetry_url: string | null;
79122
+ };
79123
+ };
79124
+ };
79125
+ '/seam/bridge/v1/bridge_client_sessions/refresh_telemetry_token': {
79126
+ route: '/seam/bridge/v1/bridge_client_sessions/refresh_telemetry_token';
79127
+ method: 'POST';
79128
+ queryParams: {};
79129
+ jsonBody: {};
79130
+ commonParams: {};
79131
+ formData: {};
79132
+ jsonResponse: {
79133
+ /** */
79134
+ bridge_client_session: {
79135
+ created_at: string;
79136
+ bridge_client_session_id: string;
79137
+ bridge_client_session_token: string;
79138
+ pairing_code: string;
79139
+ pairing_code_expires_at: string;
79140
+ tailscale_hostname: string;
79141
+ tailscale_auth_key: string | null;
79142
+ bridge_client_name: string;
79143
+ bridge_client_time_zone: string;
79144
+ bridge_client_machine_identifier_key: string;
79145
+ errors: Array<{
79146
+ message: string;
79147
+ created_at: string;
79148
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
79149
+ error_code: 'bridge_lan_unreachable';
79150
+ /** Seam cannot reach the tailscale proxy */
79151
+ is_tailscale_proxy_reachable: boolean | null;
79152
+ /** Tailscale proxy's SOCKS server is unhealthy */
79153
+ is_tailscale_proxy_socks_server_healthy: boolean | null;
79154
+ /** Tailscale proxy cannot reach the Tailscale network */
79155
+ can_tailscale_proxy_reach_tailscale_network: boolean | null;
79156
+ /** Tailscale proxy cannot reach the bridge */
79157
+ can_tailscale_proxy_reach_bridge: boolean | null;
79158
+ /** Bridge's SOCKS server is unhealthy */
79159
+ is_bridge_socks_server_healthy: boolean | null;
79160
+ } | {
79161
+ message: string;
79162
+ created_at: string;
79163
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
79164
+ error_code: 'no_communication_from_bridge';
79165
+ }>;
79166
+ telemetry_token: string | null;
79167
+ telemetry_token_expires_at: string | null;
79168
+ telemetry_url: string | null;
78881
79169
  };
78882
79170
  };
78883
79171
  };
@@ -78922,6 +79210,9 @@ interface Routes {
78922
79210
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
78923
79211
  error_code: 'no_communication_from_bridge';
78924
79212
  }>;
79213
+ telemetry_token: string | null;
79214
+ telemetry_token_expires_at: string | null;
79215
+ telemetry_url: string | null;
78925
79216
  };
78926
79217
  };
78927
79218
  };
@@ -216,6 +216,9 @@ export declare const bridge_client_session: z.ZodObject<{
216
216
  created_at: string;
217
217
  error_code: "no_communication_from_bridge";
218
218
  }>]>, "many">;
219
+ telemetry_token: z.ZodNullable<z.ZodString>;
220
+ telemetry_token_expires_at: z.ZodNullable<z.ZodString>;
221
+ telemetry_url: z.ZodNullable<z.ZodString>;
219
222
  }, "strip", z.ZodTypeAny, {
220
223
  created_at: string;
221
224
  errors: ({
@@ -241,6 +244,9 @@ export declare const bridge_client_session: z.ZodObject<{
241
244
  bridge_client_name: string;
242
245
  bridge_client_time_zone: string;
243
246
  bridge_client_machine_identifier_key: string;
247
+ telemetry_token: string | null;
248
+ telemetry_token_expires_at: string | null;
249
+ telemetry_url: string | null;
244
250
  }, {
245
251
  created_at: string;
246
252
  errors: ({
@@ -266,6 +272,9 @@ export declare const bridge_client_session: z.ZodObject<{
266
272
  bridge_client_name: string;
267
273
  bridge_client_time_zone: string;
268
274
  bridge_client_machine_identifier_key: string;
275
+ telemetry_token: string | null;
276
+ telemetry_token_expires_at: string | null;
277
+ telemetry_url: string | null;
269
278
  }>;
270
279
  export type BridgeClientSession = z.infer<typeof bridge_client_session>;
271
280
  export {};
@@ -62,6 +62,9 @@ export const bridge_client_session = z.object({
62
62
  bridge_client_time_zone: z.string(),
63
63
  bridge_client_machine_identifier_key: z.string(),
64
64
  errors: z.array(bridge_client_session_error),
65
+ telemetry_token: z.string().nullable(),
66
+ telemetry_token_expires_at: z.string().datetime().nullable(),
67
+ telemetry_url: z.string().nullable(),
65
68
  }).describe(`
66
69
  ---
67
70
  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":[],"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EAAE;IAChC,sBAAsB;IACtB,4BAA4B;CAC7B,CAAC;KACD,QAAQ,CAAC,oDAAoD,CAAC,CAAA;AAMjE,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,sBAAsB,EAAE,sBAAsB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACpE,4BAA4B,EAAE,4BAA4B;SACvD,QAAQ,EAAE;SACV,QAAQ,EAAE;CACd,CAAC,CAAA;AAMF,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,EAAE;IACvC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IAClC,uBAAuB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9C,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC9B,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzC,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC9B,uBAAuB,EAAE,CAAC,CAAC,MAAM,EAAE;IACnC,oCAAoC,EAAE,CAAC,CAAC,MAAM,EAAE;IAChD,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC;CAC7C,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
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,kCAAkC,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,OAAO,EA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