@seamapi/types 1.366.0 → 1.367.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.
@@ -9256,8 +9256,64 @@ declare const bridge_client_session: z.ZodObject<{
9256
9256
  bridge_client_name: z.ZodString;
9257
9257
  bridge_client_time_zone: z.ZodString;
9258
9258
  bridge_client_machine_identifier_key: z.ZodString;
9259
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
9260
+ message: z.ZodString;
9261
+ created_at: z.ZodString;
9262
+ }, {
9263
+ error_code: z.ZodLiteral<"bridge_lan_unreachable">;
9264
+ is_tailscale_proxy_reachable: z.ZodBoolean;
9265
+ is_tailscale_proxy_socks_server_healthy: z.ZodBoolean;
9266
+ can_tailscale_proxy_reach_tailscale_network: z.ZodBoolean;
9267
+ can_tailscale_proxy_reach_bridge: z.ZodBoolean;
9268
+ is_bridge_socks_server_healthy: z.ZodBoolean;
9269
+ }>, "strip", z.ZodTypeAny, {
9270
+ message: string;
9271
+ created_at: string;
9272
+ error_code: "bridge_lan_unreachable";
9273
+ is_tailscale_proxy_reachable: boolean;
9274
+ is_tailscale_proxy_socks_server_healthy: boolean;
9275
+ can_tailscale_proxy_reach_tailscale_network: boolean;
9276
+ can_tailscale_proxy_reach_bridge: boolean;
9277
+ is_bridge_socks_server_healthy: boolean;
9278
+ }, {
9279
+ message: string;
9280
+ created_at: string;
9281
+ error_code: "bridge_lan_unreachable";
9282
+ is_tailscale_proxy_reachable: boolean;
9283
+ is_tailscale_proxy_socks_server_healthy: boolean;
9284
+ can_tailscale_proxy_reach_tailscale_network: boolean;
9285
+ can_tailscale_proxy_reach_bridge: boolean;
9286
+ is_bridge_socks_server_healthy: boolean;
9287
+ }>, z.ZodObject<z.objectUtil.extendShape<{
9288
+ message: z.ZodString;
9289
+ created_at: z.ZodString;
9290
+ }, {
9291
+ error_code: z.ZodLiteral<"no_communication_from_bridge">;
9292
+ }>, "strip", z.ZodTypeAny, {
9293
+ message: string;
9294
+ created_at: string;
9295
+ error_code: "no_communication_from_bridge";
9296
+ }, {
9297
+ message: string;
9298
+ created_at: string;
9299
+ error_code: "no_communication_from_bridge";
9300
+ }>]>, "many">;
9259
9301
  }, "strip", z.ZodTypeAny, {
9260
9302
  created_at: string;
9303
+ errors: ({
9304
+ message: string;
9305
+ created_at: string;
9306
+ error_code: "bridge_lan_unreachable";
9307
+ is_tailscale_proxy_reachable: boolean;
9308
+ is_tailscale_proxy_socks_server_healthy: boolean;
9309
+ can_tailscale_proxy_reach_tailscale_network: boolean;
9310
+ can_tailscale_proxy_reach_bridge: boolean;
9311
+ is_bridge_socks_server_healthy: boolean;
9312
+ } | {
9313
+ message: string;
9314
+ created_at: string;
9315
+ error_code: "no_communication_from_bridge";
9316
+ })[];
9261
9317
  bridge_client_session_id: string;
9262
9318
  bridge_client_session_token: string;
9263
9319
  pairing_code: string;
@@ -9269,6 +9325,20 @@ declare const bridge_client_session: z.ZodObject<{
9269
9325
  bridge_client_machine_identifier_key: string;
9270
9326
  }, {
9271
9327
  created_at: string;
9328
+ errors: ({
9329
+ message: string;
9330
+ created_at: string;
9331
+ error_code: "bridge_lan_unreachable";
9332
+ is_tailscale_proxy_reachable: boolean;
9333
+ is_tailscale_proxy_socks_server_healthy: boolean;
9334
+ can_tailscale_proxy_reach_tailscale_network: boolean;
9335
+ can_tailscale_proxy_reach_bridge: boolean;
9336
+ is_bridge_socks_server_healthy: boolean;
9337
+ } | {
9338
+ message: string;
9339
+ created_at: string;
9340
+ error_code: "no_communication_from_bridge";
9341
+ })[];
9272
9342
  bridge_client_session_id: string;
9273
9343
  bridge_client_session_token: string;
9274
9344
  pairing_code: string;
@@ -39671,6 +39741,77 @@ declare const _default: {
39671
39741
  format: string;
39672
39742
  type: string;
39673
39743
  };
39744
+ errors: {
39745
+ items: {
39746
+ description: string;
39747
+ discriminator: {
39748
+ propertyName: string;
39749
+ };
39750
+ oneOf: ({
39751
+ description: string;
39752
+ properties: {
39753
+ can_tailscale_proxy_reach_bridge: {
39754
+ description: string;
39755
+ type: string;
39756
+ };
39757
+ can_tailscale_proxy_reach_tailscale_network: {
39758
+ description: string;
39759
+ type: string;
39760
+ };
39761
+ created_at: {
39762
+ format: string;
39763
+ type: string;
39764
+ };
39765
+ error_code: {
39766
+ description: string;
39767
+ enum: string[];
39768
+ type: string;
39769
+ };
39770
+ is_bridge_socks_server_healthy: {
39771
+ description: string;
39772
+ type: string;
39773
+ };
39774
+ is_tailscale_proxy_reachable: {
39775
+ description: string;
39776
+ type: string;
39777
+ };
39778
+ is_tailscale_proxy_socks_server_healthy: {
39779
+ description: string;
39780
+ type: string;
39781
+ };
39782
+ message: {
39783
+ type: string;
39784
+ };
39785
+ };
39786
+ required: string[];
39787
+ type: string;
39788
+ } | {
39789
+ description: string;
39790
+ properties: {
39791
+ created_at: {
39792
+ format: string;
39793
+ type: string;
39794
+ };
39795
+ error_code: {
39796
+ description: string;
39797
+ enum: string[];
39798
+ type: string;
39799
+ };
39800
+ message: {
39801
+ type: string;
39802
+ };
39803
+ can_tailscale_proxy_reach_bridge?: never;
39804
+ can_tailscale_proxy_reach_tailscale_network?: never;
39805
+ is_bridge_socks_server_healthy?: never;
39806
+ is_tailscale_proxy_reachable?: never;
39807
+ is_tailscale_proxy_socks_server_healthy?: never;
39808
+ };
39809
+ required: string[];
39810
+ type: string;
39811
+ })[];
39812
+ };
39813
+ type: string;
39814
+ };
39674
39815
  pairing_code: {
39675
39816
  maxLength: number;
39676
39817
  minLength: number;
@@ -39756,6 +39897,77 @@ declare const _default: {
39756
39897
  format: string;
39757
39898
  type: string;
39758
39899
  };
39900
+ errors: {
39901
+ items: {
39902
+ description: string;
39903
+ discriminator: {
39904
+ propertyName: string;
39905
+ };
39906
+ oneOf: ({
39907
+ description: string;
39908
+ properties: {
39909
+ can_tailscale_proxy_reach_bridge: {
39910
+ description: string;
39911
+ type: string;
39912
+ };
39913
+ can_tailscale_proxy_reach_tailscale_network: {
39914
+ description: string;
39915
+ type: string;
39916
+ };
39917
+ created_at: {
39918
+ format: string;
39919
+ type: string;
39920
+ };
39921
+ error_code: {
39922
+ description: string;
39923
+ enum: string[];
39924
+ type: string;
39925
+ };
39926
+ is_bridge_socks_server_healthy: {
39927
+ description: string;
39928
+ type: string;
39929
+ };
39930
+ is_tailscale_proxy_reachable: {
39931
+ description: string;
39932
+ type: string;
39933
+ };
39934
+ is_tailscale_proxy_socks_server_healthy: {
39935
+ description: string;
39936
+ type: string;
39937
+ };
39938
+ message: {
39939
+ type: string;
39940
+ };
39941
+ };
39942
+ required: string[];
39943
+ type: string;
39944
+ } | {
39945
+ description: string;
39946
+ properties: {
39947
+ created_at: {
39948
+ format: string;
39949
+ type: string;
39950
+ };
39951
+ error_code: {
39952
+ description: string;
39953
+ enum: string[];
39954
+ type: string;
39955
+ };
39956
+ message: {
39957
+ type: string;
39958
+ };
39959
+ can_tailscale_proxy_reach_bridge?: never;
39960
+ can_tailscale_proxy_reach_tailscale_network?: never;
39961
+ is_bridge_socks_server_healthy?: never;
39962
+ is_tailscale_proxy_reachable?: never;
39963
+ is_tailscale_proxy_socks_server_healthy?: never;
39964
+ };
39965
+ required: string[];
39966
+ type: string;
39967
+ })[];
39968
+ };
39969
+ type: string;
39970
+ };
39759
39971
  pairing_code: {
39760
39972
  maxLength: number;
39761
39973
  minLength: number;
@@ -39837,6 +40049,77 @@ declare const _default: {
39837
40049
  format: string;
39838
40050
  type: string;
39839
40051
  };
40052
+ errors: {
40053
+ items: {
40054
+ description: string;
40055
+ discriminator: {
40056
+ propertyName: string;
40057
+ };
40058
+ oneOf: ({
40059
+ description: string;
40060
+ properties: {
40061
+ can_tailscale_proxy_reach_bridge: {
40062
+ description: string;
40063
+ type: string;
40064
+ };
40065
+ can_tailscale_proxy_reach_tailscale_network: {
40066
+ description: string;
40067
+ type: string;
40068
+ };
40069
+ created_at: {
40070
+ format: string;
40071
+ type: string;
40072
+ };
40073
+ error_code: {
40074
+ description: string;
40075
+ enum: string[];
40076
+ type: string;
40077
+ };
40078
+ is_bridge_socks_server_healthy: {
40079
+ description: string;
40080
+ type: string;
40081
+ };
40082
+ is_tailscale_proxy_reachable: {
40083
+ description: string;
40084
+ type: string;
40085
+ };
40086
+ is_tailscale_proxy_socks_server_healthy: {
40087
+ description: string;
40088
+ type: string;
40089
+ };
40090
+ message: {
40091
+ type: string;
40092
+ };
40093
+ };
40094
+ required: string[];
40095
+ type: string;
40096
+ } | {
40097
+ description: string;
40098
+ properties: {
40099
+ created_at: {
40100
+ format: string;
40101
+ type: string;
40102
+ };
40103
+ error_code: {
40104
+ description: string;
40105
+ enum: string[];
40106
+ type: string;
40107
+ };
40108
+ message: {
40109
+ type: string;
40110
+ };
40111
+ can_tailscale_proxy_reach_bridge?: never;
40112
+ can_tailscale_proxy_reach_tailscale_network?: never;
40113
+ is_bridge_socks_server_healthy?: never;
40114
+ is_tailscale_proxy_reachable?: never;
40115
+ is_tailscale_proxy_socks_server_healthy?: never;
40116
+ };
40117
+ required: string[];
40118
+ type: string;
40119
+ })[];
40120
+ };
40121
+ type: string;
40122
+ };
39840
40123
  pairing_code: {
39841
40124
  maxLength: number;
39842
40125
  minLength: number;
@@ -39922,6 +40205,77 @@ declare const _default: {
39922
40205
  format: string;
39923
40206
  type: string;
39924
40207
  };
40208
+ errors: {
40209
+ items: {
40210
+ description: string;
40211
+ discriminator: {
40212
+ propertyName: string;
40213
+ };
40214
+ oneOf: ({
40215
+ description: string;
40216
+ properties: {
40217
+ can_tailscale_proxy_reach_bridge: {
40218
+ description: string;
40219
+ type: string;
40220
+ };
40221
+ can_tailscale_proxy_reach_tailscale_network: {
40222
+ description: string;
40223
+ type: string;
40224
+ };
40225
+ created_at: {
40226
+ format: string;
40227
+ type: string;
40228
+ };
40229
+ error_code: {
40230
+ description: string;
40231
+ enum: string[];
40232
+ type: string;
40233
+ };
40234
+ is_bridge_socks_server_healthy: {
40235
+ description: string;
40236
+ type: string;
40237
+ };
40238
+ is_tailscale_proxy_reachable: {
40239
+ description: string;
40240
+ type: string;
40241
+ };
40242
+ is_tailscale_proxy_socks_server_healthy: {
40243
+ description: string;
40244
+ type: string;
40245
+ };
40246
+ message: {
40247
+ type: string;
40248
+ };
40249
+ };
40250
+ required: string[];
40251
+ type: string;
40252
+ } | {
40253
+ description: string;
40254
+ properties: {
40255
+ created_at: {
40256
+ format: string;
40257
+ type: string;
40258
+ };
40259
+ error_code: {
40260
+ description: string;
40261
+ enum: string[];
40262
+ type: string;
40263
+ };
40264
+ message: {
40265
+ type: string;
40266
+ };
40267
+ can_tailscale_proxy_reach_bridge?: never;
40268
+ can_tailscale_proxy_reach_tailscale_network?: never;
40269
+ is_bridge_socks_server_healthy?: never;
40270
+ is_tailscale_proxy_reachable?: never;
40271
+ is_tailscale_proxy_socks_server_healthy?: never;
40272
+ };
40273
+ required: string[];
40274
+ type: string;
40275
+ })[];
40276
+ };
40277
+ type: string;
40278
+ };
39925
40279
  pairing_code: {
39926
40280
  maxLength: number;
39927
40281
  minLength: number;
@@ -73701,6 +74055,27 @@ interface Routes {
73701
74055
  bridge_client_name: string;
73702
74056
  bridge_client_time_zone: string;
73703
74057
  bridge_client_machine_identifier_key: string;
74058
+ errors: Array<{
74059
+ message: string;
74060
+ created_at: string;
74061
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
74062
+ error_code: 'bridge_lan_unreachable';
74063
+ /** Seam cannot reach the tailscale proxy */
74064
+ is_tailscale_proxy_reachable: boolean;
74065
+ /** Tailscale proxy's SOCKS server is unhealthy */
74066
+ is_tailscale_proxy_socks_server_healthy: boolean;
74067
+ /** Tailscale proxy cannot reach the Tailscale network */
74068
+ can_tailscale_proxy_reach_tailscale_network: boolean;
74069
+ /** Tailscale proxy cannot reach the bridge */
74070
+ can_tailscale_proxy_reach_bridge: boolean;
74071
+ /** Bridge's SOCKS server is unhealthy */
74072
+ is_bridge_socks_server_healthy: boolean;
74073
+ } | {
74074
+ message: string;
74075
+ created_at: string;
74076
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
74077
+ error_code: 'no_communication_from_bridge';
74078
+ }>;
73704
74079
  };
73705
74080
  };
73706
74081
  };
@@ -73724,6 +74099,27 @@ interface Routes {
73724
74099
  bridge_client_name: string;
73725
74100
  bridge_client_time_zone: string;
73726
74101
  bridge_client_machine_identifier_key: string;
74102
+ errors: Array<{
74103
+ message: string;
74104
+ created_at: string;
74105
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
74106
+ error_code: 'bridge_lan_unreachable';
74107
+ /** Seam cannot reach the tailscale proxy */
74108
+ is_tailscale_proxy_reachable: boolean;
74109
+ /** Tailscale proxy's SOCKS server is unhealthy */
74110
+ is_tailscale_proxy_socks_server_healthy: boolean;
74111
+ /** Tailscale proxy cannot reach the Tailscale network */
74112
+ can_tailscale_proxy_reach_tailscale_network: boolean;
74113
+ /** Tailscale proxy cannot reach the bridge */
74114
+ can_tailscale_proxy_reach_bridge: boolean;
74115
+ /** Bridge's SOCKS server is unhealthy */
74116
+ is_bridge_socks_server_healthy: boolean;
74117
+ } | {
74118
+ message: string;
74119
+ created_at: string;
74120
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
74121
+ error_code: 'no_communication_from_bridge';
74122
+ }>;
73727
74123
  };
73728
74124
  };
73729
74125
  };
@@ -73747,6 +74143,27 @@ interface Routes {
73747
74143
  bridge_client_name: string;
73748
74144
  bridge_client_time_zone: string;
73749
74145
  bridge_client_machine_identifier_key: string;
74146
+ errors: Array<{
74147
+ message: string;
74148
+ created_at: string;
74149
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
74150
+ error_code: 'bridge_lan_unreachable';
74151
+ /** Seam cannot reach the tailscale proxy */
74152
+ is_tailscale_proxy_reachable: boolean;
74153
+ /** Tailscale proxy's SOCKS server is unhealthy */
74154
+ is_tailscale_proxy_socks_server_healthy: boolean;
74155
+ /** Tailscale proxy cannot reach the Tailscale network */
74156
+ can_tailscale_proxy_reach_tailscale_network: boolean;
74157
+ /** Tailscale proxy cannot reach the bridge */
74158
+ can_tailscale_proxy_reach_bridge: boolean;
74159
+ /** Bridge's SOCKS server is unhealthy */
74160
+ is_bridge_socks_server_healthy: boolean;
74161
+ } | {
74162
+ message: string;
74163
+ created_at: string;
74164
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
74165
+ error_code: 'no_communication_from_bridge';
74166
+ }>;
73750
74167
  };
73751
74168
  };
73752
74169
  };