@seamapi/types 1.367.1 → 1.368.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/connect.cjs CHANGED
@@ -2217,7 +2217,13 @@ var salto_ks_subscription_limit_almost_reached3 = common_acs_system_warning.exte
2217
2217
  );
2218
2218
  var time_zone_does_not_match_location = common_acs_system_warning.extend({
2219
2219
  warning_code: zod.z.literal("time_zone_does_not_match_location").describe(warning_code_description6),
2220
- misconfigured_acs_entrance_ids: zod.z.array(zod.z.string().uuid()).optional()
2220
+ misconfigured_acs_entrance_ids: zod.z.array(zod.z.string().uuid()).optional().describe(
2221
+ `
2222
+ ---
2223
+ deprecated: this field is deprecated.
2224
+ ---
2225
+ `
2226
+ )
2221
2227
  }).describe(
2222
2228
  "Indicates the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) time zone could not be determined because the reported physical location does not match the time zone configured on the physical [ACS entrances](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
2223
2229
  );
@@ -2365,6 +2371,35 @@ var acs_user_pending_modification = zod.z.discriminatedUnion(
2365
2371
  acs_access_group_membership_pending_modification
2366
2372
  ]
2367
2373
  );
2374
+ zod.z.object({
2375
+ "profile.full_name": common_pending_modification.extend({
2376
+ modification_code: zod.z.literal("profile"),
2377
+ modified_from: zod.z.object({
2378
+ full_name: zod.z.string().nullable()
2379
+ }),
2380
+ modified_to: zod.z.object({
2381
+ full_name: zod.z.string().nullable()
2382
+ })
2383
+ }).optional().nullable(),
2384
+ "profile.email_address": common_pending_modification.extend({
2385
+ modification_code: zod.z.literal("profile"),
2386
+ modified_from: zod.z.object({
2387
+ email_address: zod.z.string().email().nullable()
2388
+ }),
2389
+ modified_to: zod.z.object({
2390
+ email_address: zod.z.string().email().nullable()
2391
+ })
2392
+ }).optional().nullable(),
2393
+ "profile.phone_number": common_pending_modification.extend({
2394
+ modification_code: zod.z.literal("profile"),
2395
+ modified_from: zod.z.object({
2396
+ phone_number: phone_number.nullable()
2397
+ }),
2398
+ modified_to: zod.z.object({
2399
+ phone_number: phone_number.nullable()
2400
+ })
2401
+ }).optional().nullable()
2402
+ });
2368
2403
 
2369
2404
  // src/lib/seam/connect/models/acs/acs-users/acs-user.ts
2370
2405
  var acs_user_external_type = zod.z.enum([
@@ -6035,8 +6070,10 @@ var openapi_default = {
6035
6070
  type: "string"
6036
6071
  },
6037
6072
  misconfigured_acs_entrance_ids: {
6073
+ deprecated: true,
6038
6074
  items: { format: "uuid", type: "string" },
6039
- type: "array"
6075
+ type: "array",
6076
+ "x-deprecated": "this field is deprecated."
6040
6077
  },
6041
6078
  warning_code: {
6042
6079
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
@@ -25303,6 +25340,96 @@ var openapi_default = {
25303
25340
  "x-response-key": "device_providers"
25304
25341
  }
25305
25342
  },
25343
+ "/devices/simulate/access_code_lock": {
25344
+ post: {
25345
+ operationId: "devicesSimulateAccessCodeLockPost",
25346
+ requestBody: {
25347
+ content: {
25348
+ "application/json": {
25349
+ schema: {
25350
+ properties: {
25351
+ access_code_id: { format: "uuid", type: "string" },
25352
+ device_id: { format: "uuid", type: "string" }
25353
+ },
25354
+ required: ["device_id", "access_code_id"],
25355
+ type: "object"
25356
+ }
25357
+ }
25358
+ }
25359
+ },
25360
+ responses: {
25361
+ 200: {
25362
+ content: {
25363
+ "application/json": {
25364
+ schema: {
25365
+ properties: { ok: { type: "boolean" } },
25366
+ required: ["ok"],
25367
+ type: "object"
25368
+ }
25369
+ }
25370
+ },
25371
+ description: "OK"
25372
+ },
25373
+ 400: { description: "Bad Request" },
25374
+ 401: { description: "Unauthorized" }
25375
+ },
25376
+ security: [
25377
+ { api_key: [] },
25378
+ { pat_with_workspace: [] },
25379
+ { console_session_with_workspace: [] }
25380
+ ],
25381
+ summary: "/devices/simulate/access_code_lock",
25382
+ tags: ["/devices"],
25383
+ "x-fern-sdk-group-name": ["devices", "simulate"],
25384
+ "x-fern-sdk-method-name": "access_code_lock",
25385
+ "x-response-key": null
25386
+ }
25387
+ },
25388
+ "/devices/simulate/access_code_unlock": {
25389
+ post: {
25390
+ operationId: "devicesSimulateAccessCodeUnlockPost",
25391
+ requestBody: {
25392
+ content: {
25393
+ "application/json": {
25394
+ schema: {
25395
+ properties: {
25396
+ access_code_id: { format: "uuid", type: "string" },
25397
+ device_id: { format: "uuid", type: "string" }
25398
+ },
25399
+ required: ["device_id", "access_code_id"],
25400
+ type: "object"
25401
+ }
25402
+ }
25403
+ }
25404
+ },
25405
+ responses: {
25406
+ 200: {
25407
+ content: {
25408
+ "application/json": {
25409
+ schema: {
25410
+ properties: { ok: { type: "boolean" } },
25411
+ required: ["ok"],
25412
+ type: "object"
25413
+ }
25414
+ }
25415
+ },
25416
+ description: "OK"
25417
+ },
25418
+ 400: { description: "Bad Request" },
25419
+ 401: { description: "Unauthorized" }
25420
+ },
25421
+ security: [
25422
+ { api_key: [] },
25423
+ { pat_with_workspace: [] },
25424
+ { console_session_with_workspace: [] }
25425
+ ],
25426
+ summary: "/devices/simulate/access_code_unlock",
25427
+ tags: ["/devices"],
25428
+ "x-fern-sdk-group-name": ["devices", "simulate"],
25429
+ "x-fern-sdk-method-name": "access_code_unlock",
25430
+ "x-response-key": null
25431
+ }
25432
+ },
25306
25433
  "/devices/simulate/connect": {
25307
25434
  post: {
25308
25435
  operationId: "devicesSimulateConnectPost",
@@ -28685,6 +28812,7 @@ var openapi_default = {
28685
28812
  401: { description: "Unauthorized" }
28686
28813
  },
28687
28814
  security: [
28815
+ { client_session: [] },
28688
28816
  { pat_with_workspace: [] },
28689
28817
  { console_session_with_workspace: [] },
28690
28818
  { api_key: [] }
@@ -28739,6 +28867,7 @@ var openapi_default = {
28739
28867
  401: { description: "Unauthorized" }
28740
28868
  },
28741
28869
  security: [
28870
+ { client_session: [] },
28742
28871
  { pat_with_workspace: [] },
28743
28872
  { console_session_with_workspace: [] },
28744
28873
  { api_key: [] }
@@ -30456,7 +30585,8 @@ var openapi_default = {
30456
30585
  security: [
30457
30586
  { pat_with_workspace: [] },
30458
30587
  { console_session_with_workspace: [] },
30459
- { api_key: [] }
30588
+ { api_key: [] },
30589
+ { client_session: [] }
30460
30590
  ],
30461
30591
  summary: "/thermostats/update_climate_preset",
30462
30592
  tags: ["/thermostats"],
@@ -30553,7 +30683,8 @@ var openapi_default = {
30553
30683
  security: [
30554
30684
  { pat_with_workspace: [] },
30555
30685
  { console_session_with_workspace: [] },
30556
- { api_key: [] }
30686
+ { api_key: [] },
30687
+ { client_session: [] }
30557
30688
  ],
30558
30689
  summary: "/thermostats/update_climate_preset",
30559
30690
  tags: ["/thermostats"],