@seamapi/types 1.921.0 → 1.922.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/index.cjs CHANGED
@@ -2937,7 +2937,12 @@ var cannot_create_requested_access_methods_error = common_access_grant_error.ext
2937
2937
  missing_device_ids: zod.z.array(zod.z.string().uuid()).optional().describe(
2938
2938
  "IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure."
2939
2939
  )
2940
- });
2940
+ }).describe(`
2941
+ ---
2942
+ resource_type: access_grant
2943
+ ---
2944
+ Indicates that Seam could not create one or more of the requested access methods for the access grant.
2945
+ `);
2941
2946
  var common_access_grant_warning = zod.z.object({
2942
2947
  created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
2943
2948
  message: zod.z.string().describe(
@@ -7092,9 +7097,12 @@ var user_identity_issue_with_acs_user = common_user_identity_error.extend({
7092
7097
  acs_system_id: zod.z.string().uuid().describe(
7093
7098
  "ID of the access system that the user identity is associated with."
7094
7099
  )
7095
- }).describe(
7096
- "Indicates that there is an issue with an access system user associated with this user identity."
7097
- );
7100
+ }).describe(`
7101
+ ---
7102
+ resource_type: user_identity
7103
+ ---
7104
+ Indicates that there is an issue with an access system user associated with this user identity.
7105
+ `);
7098
7106
  zod.z.object({
7099
7107
  issue_with_acs_user: zod.z.record(zod.z.string().uuid(), user_identity_issue_with_acs_user).optional().nullable().describe(
7100
7108
  "Map of access system user IDs to issues with the access system user. The key is the access system user ID, and the value is the issue with the access system user."
@@ -7252,21 +7260,33 @@ var common_bridge_client_session_error = zod.z.object({
7252
7260
  created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error.")
7253
7261
  });
7254
7262
  var error_code_description9 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
7255
- var bridge_lan_unreachable = common_bridge_client_session_error.extend({
7256
- error_code: zod.z.literal("bridge_lan_unreachable").describe(error_code_description9),
7257
- is_tailscale_proxy_reachable: zod.z.boolean().nullable().describe("Indicates whether Seam can reach the Tailscale proxy."),
7258
- is_tailscale_proxy_socks_server_healthy: zod.z.boolean().nullable().describe(
7259
- "Indicates whether the Tailscale proxy's SOCKS server is healthy."
7260
- ),
7261
- can_tailscale_proxy_reach_tailscale_network: zod.z.boolean().nullable().describe(
7262
- "Indicates whether the Tailscale proxy can reach the Tailscale network."
7263
- ),
7264
- can_tailscale_proxy_reach_bridge: zod.z.boolean().nullable().describe("Indicates whether the Tailscale proxy can reach Seam Bridge."),
7265
- is_bridge_socks_server_healthy: zod.z.boolean().nullable().describe("Indicates whether Seam Bridge's SOCKS server is healthy.")
7266
- }).describe("Indicates that Seam cannot reach Seam Bridge's LAN.");
7263
+ var bridge_lan_unreachable = common_bridge_client_session_error.extend(
7264
+ {
7265
+ error_code: zod.z.literal("bridge_lan_unreachable").describe(error_code_description9),
7266
+ is_tailscale_proxy_reachable: zod.z.boolean().nullable().describe("Indicates whether Seam can reach the Tailscale proxy."),
7267
+ is_tailscale_proxy_socks_server_healthy: zod.z.boolean().nullable().describe(
7268
+ "Indicates whether the Tailscale proxy's SOCKS server is healthy."
7269
+ ),
7270
+ can_tailscale_proxy_reach_tailscale_network: zod.z.boolean().nullable().describe(
7271
+ "Indicates whether the Tailscale proxy can reach the Tailscale network."
7272
+ ),
7273
+ can_tailscale_proxy_reach_bridge: zod.z.boolean().nullable().describe("Indicates whether the Tailscale proxy can reach Seam Bridge."),
7274
+ is_bridge_socks_server_healthy: zod.z.boolean().nullable().describe("Indicates whether Seam Bridge's SOCKS server is healthy.")
7275
+ }
7276
+ ).describe(`
7277
+ ---
7278
+ resource_type: bridge_client_session
7279
+ ---
7280
+ Indicates that Seam cannot reach Seam Bridge's LAN.
7281
+ `);
7267
7282
  var no_communication_from_bridge = common_bridge_client_session_error.extend({
7268
7283
  error_code: zod.z.literal("no_communication_from_bridge").describe(error_code_description9)
7269
- }).describe("Indicates that Seam Bridge has stopped communicating with Seam.");
7284
+ }).describe(`
7285
+ ---
7286
+ resource_type: bridge_client_session
7287
+ ---
7288
+ Indicates that Seam Bridge has stopped communicating with Seam.
7289
+ `);
7270
7290
  var bridge_client_session_error = zod.z.discriminatedUnion("error_code", [
7271
7291
  bridge_lan_unreachable,
7272
7292
  no_communication_from_bridge
@@ -9137,6 +9157,7 @@ var openapi = {
9137
9157
  discriminator: { propertyName: "error_code" },
9138
9158
  oneOf: [
9139
9159
  {
9160
+ description: "Indicates that Seam could not create one or more of the requested access methods for the access grant.",
9140
9161
  properties: {
9141
9162
  created_at: {
9142
9163
  description: "Date and time at which Seam created the error.",
@@ -9159,7 +9180,8 @@ var openapi = {
9159
9180
  }
9160
9181
  },
9161
9182
  required: ["created_at", "message", "error_code"],
9162
- type: "object"
9183
+ type: "object",
9184
+ "x-resource-type": "access_grant"
9163
9185
  }
9164
9186
  ]
9165
9187
  },
@@ -17839,7 +17861,8 @@ var openapi = {
17839
17861
  "can_tailscale_proxy_reach_bridge",
17840
17862
  "is_bridge_socks_server_healthy"
17841
17863
  ],
17842
- type: "object"
17864
+ type: "object",
17865
+ "x-resource-type": "bridge_client_session"
17843
17866
  },
17844
17867
  {
17845
17868
  description: "Indicates that Seam Bridge has stopped communicating with Seam.",
@@ -17860,7 +17883,8 @@ var openapi = {
17860
17883
  }
17861
17884
  },
17862
17885
  required: ["message", "created_at", "error_code"],
17863
- type: "object"
17886
+ type: "object",
17887
+ "x-resource-type": "bridge_client_session"
17864
17888
  }
17865
17889
  ]
17866
17890
  },
@@ -32833,7 +32857,8 @@ var openapi = {
32833
32857
  "acs_user_id",
32834
32858
  "acs_system_id"
32835
32859
  ],
32836
- type: "object"
32860
+ type: "object",
32861
+ "x-resource-type": "user_identity"
32837
32862
  }
32838
32863
  ]
32839
32864
  },
@@ -37898,7 +37923,8 @@ var openapi = {
37898
37923
  "acs_user_id",
37899
37924
  "acs_system_id"
37900
37925
  ],
37901
- type: "object"
37926
+ type: "object",
37927
+ "x-resource-type": "user_identity"
37902
37928
  }
37903
37929
  ]
37904
37930
  },
@@ -42101,6 +42127,7 @@ var openapi = {
42101
42127
  discriminator: { propertyName: "error_code" },
42102
42128
  oneOf: [
42103
42129
  {
42130
+ description: "Indicates that Seam could not create one or more of the requested access methods for the access grant.",
42104
42131
  properties: {
42105
42132
  created_at: {
42106
42133
  description: "Date and time at which Seam created the error.",
@@ -42129,7 +42156,8 @@ var openapi = {
42129
42156
  "message",
42130
42157
  "error_code"
42131
42158
  ],
42132
- type: "object"
42159
+ type: "object",
42160
+ "x-resource-type": "access_grant"
42133
42161
  }
42134
42162
  ]
42135
42163
  },
@@ -42728,6 +42756,7 @@ var openapi = {
42728
42756
  discriminator: { propertyName: "error_code" },
42729
42757
  oneOf: [
42730
42758
  {
42759
+ description: "Indicates that Seam could not create one or more of the requested access methods for the access grant.",
42731
42760
  properties: {
42732
42761
  created_at: {
42733
42762
  description: "Date and time at which Seam created the error.",
@@ -42756,7 +42785,8 @@ var openapi = {
42756
42785
  "message",
42757
42786
  "error_code"
42758
42787
  ],
42759
- type: "object"
42788
+ type: "object",
42789
+ "x-resource-type": "access_grant"
42760
42790
  }
42761
42791
  ]
42762
42792
  },
@@ -43397,6 +43427,7 @@ var openapi = {
43397
43427
  discriminator: { propertyName: "error_code" },
43398
43428
  oneOf: [
43399
43429
  {
43430
+ description: "Indicates that Seam could not create one or more of the requested access methods for the access grant.",
43400
43431
  properties: {
43401
43432
  created_at: {
43402
43433
  description: "Date and time at which Seam created the error.",
@@ -43425,7 +43456,8 @@ var openapi = {
43425
43456
  "message",
43426
43457
  "error_code"
43427
43458
  ],
43428
- type: "object"
43459
+ type: "object",
43460
+ "x-resource-type": "access_grant"
43429
43461
  }
43430
43462
  ]
43431
43463
  },
@@ -44054,6 +44086,7 @@ var openapi = {
44054
44086
  discriminator: { propertyName: "error_code" },
44055
44087
  oneOf: [
44056
44088
  {
44089
+ description: "Indicates that Seam could not create one or more of the requested access methods for the access grant.",
44057
44090
  properties: {
44058
44091
  created_at: {
44059
44092
  description: "Date and time at which Seam created the error.",
@@ -44082,7 +44115,8 @@ var openapi = {
44082
44115
  "message",
44083
44116
  "error_code"
44084
44117
  ],
44085
- type: "object"
44118
+ type: "object",
44119
+ "x-resource-type": "access_grant"
44086
44120
  }
44087
44121
  ]
44088
44122
  },
@@ -86561,7 +86595,8 @@ var openapi = {
86561
86595
  "acs_user_id",
86562
86596
  "acs_system_id"
86563
86597
  ],
86564
- type: "object"
86598
+ type: "object",
86599
+ "x-resource-type": "user_identity"
86565
86600
  }
86566
86601
  ]
86567
86602
  },
@@ -86783,7 +86818,8 @@ var openapi = {
86783
86818
  "acs_user_id",
86784
86819
  "acs_system_id"
86785
86820
  ],
86786
- type: "object"
86821
+ type: "object",
86822
+ "x-resource-type": "user_identity"
86787
86823
  }
86788
86824
  ]
86789
86825
  },
@@ -87031,7 +87067,8 @@ var openapi = {
87031
87067
  "acs_user_id",
87032
87068
  "acs_system_id"
87033
87069
  ],
87034
- type: "object"
87070
+ type: "object",
87071
+ "x-resource-type": "user_identity"
87035
87072
  }
87036
87073
  ]
87037
87074
  },
@@ -87273,7 +87310,8 @@ var openapi = {
87273
87310
  "acs_user_id",
87274
87311
  "acs_system_id"
87275
87312
  ],
87276
- type: "object"
87313
+ type: "object",
87314
+ "x-resource-type": "user_identity"
87277
87315
  }
87278
87316
  ]
87279
87317
  },