@seamapi/types 1.367.2 → 1.369.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
@@ -2609,36 +2609,37 @@ var unmanaged_acs_user = common_acs_user.merge(
2609
2609
  Represents an unmanaged [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).
2610
2610
  `);
2611
2611
  var common_action_attempt = zod.z.object({
2612
- action_attempt_id: zod.z.string().uuid().describe(`
2613
- ---
2614
- title: Action Attempt ID
2615
- ---
2616
- The ID of the action attempt.
2617
- `),
2618
- status: zod.z.enum(["pending", "success", "error"])
2612
+ action_attempt_id: zod.z.string().uuid().describe("ID of the action attempt."),
2613
+ status: zod.z.enum(["pending", "success", "error"]).describe("Status of the action attempt.")
2619
2614
  });
2620
2615
  var common_pending_action_attempt = common_action_attempt.extend({
2621
2616
  status: zod.z.literal("pending"),
2622
- result: zod.z.null(),
2623
- error: zod.z.null()
2617
+ result: zod.z.null().describe(
2618
+ "Result of the action attempt. Null for pending action attempts."
2619
+ ),
2620
+ error: zod.z.null().describe(
2621
+ "Errors associated with the action attempt. Null for pending action attempts."
2622
+ )
2624
2623
  });
2625
2624
  var common_succeeded_action_attempt = common_action_attempt.extend({
2626
2625
  status: zod.z.literal("success"),
2627
- error: zod.z.null()
2626
+ error: zod.z.null().describe(
2627
+ "Errors associated with the action attempt. Null for successful action attempts."
2628
+ )
2628
2629
  });
2629
2630
  var common_failed_action_attempt = common_action_attempt.extend({
2630
2631
  status: zod.z.literal("error"),
2631
- result: zod.z.null()
2632
+ result: zod.z.null().describe("Result of the action attempt. Null for failed action attempts.")
2632
2633
  });
2633
2634
  var common_action_attempt_errors = [
2634
2635
  zod.z.object({
2635
- type: zod.z.literal("uncategorized_error"),
2636
- message: zod.z.string()
2637
- }),
2636
+ type: zod.z.literal("uncategorized_error").describe("Type of the error associated with the action attempt."),
2637
+ message: zod.z.string().describe("Message for the error associated with the action attempt.")
2638
+ }).describe("Error that doesn't fit into other specific error categories."),
2638
2639
  zod.z.object({
2639
- type: zod.z.literal("action_attempt_expired"),
2640
- message: zod.z.string()
2641
- })
2640
+ type: zod.z.literal("action_attempt_expired").describe("Type of the error associated with the action attempt."),
2641
+ message: zod.z.string().describe("Message for the error associated with the action attempt.")
2642
+ }).describe("Error to indicate an expired action attempt.")
2642
2643
  ];
2643
2644
 
2644
2645
  // src/lib/seam/connect/models/action-attempts/activate-climate-preset.ts
@@ -2774,7 +2775,7 @@ var deprecated_action_attempts = [
2774
2775
  ...delete_noise_threshold_action_attempt.options,
2775
2776
  ...update_noise_threshold_action_attempt.options
2776
2777
  ];
2777
- var action_type2 = zod.z.literal("ENCODE_CREDENTIAL");
2778
+ var action_type2 = zod.z.literal("ENCODE_CREDENTIAL").describe("Type of action that the action attempt tracks.");
2778
2779
  var no_credential_on_encoder_error = zod.z.object({
2779
2780
  type: zod.z.literal("no_credential_on_encoder"),
2780
2781
  message: zod.z.string()
@@ -2793,16 +2794,24 @@ var error3 = zod.z.union([
2793
2794
  incompatible_card_format_error,
2794
2795
  credential_cannot_be_reissued
2795
2796
  ]);
2796
- var result3 = acs_credential.or(unmanaged_acs_credential);
2797
+ var result3 = acs_credential.or(unmanaged_acs_credential).describe(
2798
+ "If an encoding attempt was successful, includes the `acs_credential` data that was encoded onto the card."
2799
+ );
2797
2800
  var encode_credential_action_attempt = zod.z.discriminatedUnion("status", [
2798
2801
  common_pending_action_attempt.extend({
2799
2802
  action_type: action_type2
2800
- }).describe("Encoding credential data from physical encoder."),
2803
+ }).describe(
2804
+ "Action attempt to track encoding credential data from the physical encoder onto a card."
2805
+ ),
2801
2806
  common_succeeded_action_attempt.extend({
2802
2807
  action_type: action_type2,
2803
2808
  result: result3
2804
- }).describe("Encoding credential data from physical encoder succeeded."),
2805
- common_failed_action_attempt.extend({ action_type: action_type2, error: error3 }).describe("Encoding credential data from physical encoder failed.")
2809
+ }).describe(
2810
+ "Action attempt to indicate that encoding credential data from the physical encoder onto a card succeeded."
2811
+ ),
2812
+ common_failed_action_attempt.extend({ action_type: action_type2, error: error3 }).describe(
2813
+ "Action attempt to indicate that encoding credential data from the physical encoder onto a card failed."
2814
+ )
2806
2815
  ]);
2807
2816
  var action_type3 = zod.z.literal("LOCK_DOOR");
2808
2817
  var error4 = zod.z.object({
@@ -6585,14 +6594,19 @@ var openapi_default = {
6585
6594
  description: "Locking door.",
6586
6595
  properties: {
6587
6596
  action_attempt_id: {
6588
- description: "The ID of the action attempt.",
6597
+ description: "ID of the action attempt.",
6589
6598
  format: "uuid",
6590
- type: "string",
6591
- "x-title": "Action Attempt ID"
6599
+ type: "string"
6592
6600
  },
6593
6601
  action_type: { enum: ["LOCK_DOOR"], type: "string" },
6594
- error: { nullable: true },
6595
- result: { nullable: true },
6602
+ error: {
6603
+ description: "Errors associated with the action attempt. Null for pending action attempts.",
6604
+ nullable: true
6605
+ },
6606
+ result: {
6607
+ description: "Result of the action attempt. Null for pending action attempts.",
6608
+ nullable: true
6609
+ },
6596
6610
  status: { enum: ["pending"], type: "string" }
6597
6611
  },
6598
6612
  required: [
@@ -6608,13 +6622,15 @@ var openapi_default = {
6608
6622
  description: "Locking door succeeded.",
6609
6623
  properties: {
6610
6624
  action_attempt_id: {
6611
- description: "The ID of the action attempt.",
6625
+ description: "ID of the action attempt.",
6612
6626
  format: "uuid",
6613
- type: "string",
6614
- "x-title": "Action Attempt ID"
6627
+ type: "string"
6615
6628
  },
6616
6629
  action_type: { enum: ["LOCK_DOOR"], type: "string" },
6617
- error: { nullable: true },
6630
+ error: {
6631
+ description: "Errors associated with the action attempt. Null for successful action attempts.",
6632
+ nullable: true
6633
+ },
6618
6634
  result: { properties: {}, type: "object" },
6619
6635
  status: { enum: ["success"], type: "string" }
6620
6636
  },
@@ -6631,10 +6647,9 @@ var openapi_default = {
6631
6647
  description: "Locking door failed.",
6632
6648
  properties: {
6633
6649
  action_attempt_id: {
6634
- description: "The ID of the action attempt.",
6650
+ description: "ID of the action attempt.",
6635
6651
  format: "uuid",
6636
- type: "string",
6637
- "x-title": "Action Attempt ID"
6652
+ type: "string"
6638
6653
  },
6639
6654
  action_type: { enum: ["LOCK_DOOR"], type: "string" },
6640
6655
  error: {
@@ -6645,7 +6660,10 @@ var openapi_default = {
6645
6660
  required: ["type", "message"],
6646
6661
  type: "object"
6647
6662
  },
6648
- result: { nullable: true },
6663
+ result: {
6664
+ description: "Result of the action attempt. Null for failed action attempts.",
6665
+ nullable: true
6666
+ },
6649
6667
  status: { enum: ["error"], type: "string" }
6650
6668
  },
6651
6669
  required: [
@@ -6661,14 +6679,19 @@ var openapi_default = {
6661
6679
  description: "Unlocking door.",
6662
6680
  properties: {
6663
6681
  action_attempt_id: {
6664
- description: "The ID of the action attempt.",
6682
+ description: "ID of the action attempt.",
6665
6683
  format: "uuid",
6666
- type: "string",
6667
- "x-title": "Action Attempt ID"
6684
+ type: "string"
6668
6685
  },
6669
6686
  action_type: { enum: ["UNLOCK_DOOR"], type: "string" },
6670
- error: { nullable: true },
6671
- result: { nullable: true },
6687
+ error: {
6688
+ description: "Errors associated with the action attempt. Null for pending action attempts.",
6689
+ nullable: true
6690
+ },
6691
+ result: {
6692
+ description: "Result of the action attempt. Null for pending action attempts.",
6693
+ nullable: true
6694
+ },
6672
6695
  status: { enum: ["pending"], type: "string" }
6673
6696
  },
6674
6697
  required: [
@@ -6684,13 +6707,15 @@ var openapi_default = {
6684
6707
  description: "Unlocking door succeeded.",
6685
6708
  properties: {
6686
6709
  action_attempt_id: {
6687
- description: "The ID of the action attempt.",
6710
+ description: "ID of the action attempt.",
6688
6711
  format: "uuid",
6689
- type: "string",
6690
- "x-title": "Action Attempt ID"
6712
+ type: "string"
6691
6713
  },
6692
6714
  action_type: { enum: ["UNLOCK_DOOR"], type: "string" },
6693
- error: { nullable: true },
6715
+ error: {
6716
+ description: "Errors associated with the action attempt. Null for successful action attempts.",
6717
+ nullable: true
6718
+ },
6694
6719
  result: { properties: {}, type: "object" },
6695
6720
  status: { enum: ["success"], type: "string" }
6696
6721
  },
@@ -6707,10 +6732,9 @@ var openapi_default = {
6707
6732
  description: "Unlocking door failed.",
6708
6733
  properties: {
6709
6734
  action_attempt_id: {
6710
- description: "The ID of the action attempt.",
6735
+ description: "ID of the action attempt.",
6711
6736
  format: "uuid",
6712
- type: "string",
6713
- "x-title": "Action Attempt ID"
6737
+ type: "string"
6714
6738
  },
6715
6739
  action_type: { enum: ["UNLOCK_DOOR"], type: "string" },
6716
6740
  error: {
@@ -6721,7 +6745,10 @@ var openapi_default = {
6721
6745
  required: ["type", "message"],
6722
6746
  type: "object"
6723
6747
  },
6724
- result: { nullable: true },
6748
+ result: {
6749
+ description: "Result of the action attempt. Null for failed action attempts.",
6750
+ nullable: true
6751
+ },
6725
6752
  status: { enum: ["error"], type: "string" }
6726
6753
  },
6727
6754
  required: [
@@ -6737,14 +6764,19 @@ var openapi_default = {
6737
6764
  description: "Reading credential data from physical encoder.",
6738
6765
  properties: {
6739
6766
  action_attempt_id: {
6740
- description: "The ID of the action attempt.",
6767
+ description: "ID of the action attempt.",
6741
6768
  format: "uuid",
6742
- type: "string",
6743
- "x-title": "Action Attempt ID"
6769
+ type: "string"
6744
6770
  },
6745
6771
  action_type: { enum: ["SCAN_CREDENTIAL"], type: "string" },
6746
- error: { nullable: true },
6747
- result: { nullable: true },
6772
+ error: {
6773
+ description: "Errors associated with the action attempt. Null for pending action attempts.",
6774
+ nullable: true
6775
+ },
6776
+ result: {
6777
+ description: "Result of the action attempt. Null for pending action attempts.",
6778
+ nullable: true
6779
+ },
6748
6780
  status: { enum: ["pending"], type: "string" }
6749
6781
  },
6750
6782
  required: [
@@ -6760,13 +6792,15 @@ var openapi_default = {
6760
6792
  description: "Reading credential data from physical encoder succeeded.",
6761
6793
  properties: {
6762
6794
  action_attempt_id: {
6763
- description: "The ID of the action attempt.",
6795
+ description: "ID of the action attempt.",
6764
6796
  format: "uuid",
6765
- type: "string",
6766
- "x-title": "Action Attempt ID"
6797
+ type: "string"
6767
6798
  },
6768
6799
  action_type: { enum: ["SCAN_CREDENTIAL"], type: "string" },
6769
- error: { nullable: true },
6800
+ error: {
6801
+ description: "Errors associated with the action attempt. Null for successful action attempts.",
6802
+ nullable: true
6803
+ },
6770
6804
  result: {
6771
6805
  properties: {
6772
6806
  acs_credential_on_encoder: {
@@ -7612,26 +7646,38 @@ var openapi_default = {
7612
7646
  description: "Reading credential data from physical encoder failed.",
7613
7647
  properties: {
7614
7648
  action_attempt_id: {
7615
- description: "The ID of the action attempt.",
7649
+ description: "ID of the action attempt.",
7616
7650
  format: "uuid",
7617
- type: "string",
7618
- "x-title": "Action Attempt ID"
7651
+ type: "string"
7619
7652
  },
7620
7653
  action_type: { enum: ["SCAN_CREDENTIAL"], type: "string" },
7621
7654
  error: {
7622
7655
  oneOf: [
7623
7656
  {
7657
+ description: "Error that doesn't fit into other specific error categories.",
7624
7658
  properties: {
7625
- message: { type: "string" },
7626
- type: { enum: ["uncategorized_error"], type: "string" }
7659
+ message: {
7660
+ description: "Message for the error associated with the action attempt.",
7661
+ type: "string"
7662
+ },
7663
+ type: {
7664
+ description: "Type of the error associated with the action attempt.",
7665
+ enum: ["uncategorized_error"],
7666
+ type: "string"
7667
+ }
7627
7668
  },
7628
7669
  required: ["type", "message"],
7629
7670
  type: "object"
7630
7671
  },
7631
7672
  {
7673
+ description: "Error to indicate an expired action attempt.",
7632
7674
  properties: {
7633
- message: { type: "string" },
7675
+ message: {
7676
+ description: "Message for the error associated with the action attempt.",
7677
+ type: "string"
7678
+ },
7634
7679
  type: {
7680
+ description: "Type of the error associated with the action attempt.",
7635
7681
  enum: ["action_attempt_expired"],
7636
7682
  type: "string"
7637
7683
  }
@@ -7652,7 +7698,10 @@ var openapi_default = {
7652
7698
  }
7653
7699
  ]
7654
7700
  },
7655
- result: { nullable: true },
7701
+ result: {
7702
+ description: "Result of the action attempt. Null for failed action attempts.",
7703
+ nullable: true
7704
+ },
7656
7705
  status: { enum: ["error"], type: "string" }
7657
7706
  },
7658
7707
  required: [
@@ -7665,17 +7714,26 @@ var openapi_default = {
7665
7714
  type: "object"
7666
7715
  },
7667
7716
  {
7668
- description: "Encoding credential data from physical encoder.",
7717
+ description: "Action attempt to track encoding credential data from the physical encoder onto a card.",
7669
7718
  properties: {
7670
7719
  action_attempt_id: {
7671
- description: "The ID of the action attempt.",
7720
+ description: "ID of the action attempt.",
7672
7721
  format: "uuid",
7673
- type: "string",
7674
- "x-title": "Action Attempt ID"
7722
+ type: "string"
7723
+ },
7724
+ action_type: {
7725
+ description: "Type of action that the action attempt tracks.",
7726
+ enum: ["ENCODE_CREDENTIAL"],
7727
+ type: "string"
7728
+ },
7729
+ error: {
7730
+ description: "Errors associated with the action attempt. Null for pending action attempts.",
7731
+ nullable: true
7732
+ },
7733
+ result: {
7734
+ description: "Result of the action attempt. Null for pending action attempts.",
7735
+ nullable: true
7675
7736
  },
7676
- action_type: { enum: ["ENCODE_CREDENTIAL"], type: "string" },
7677
- error: { nullable: true },
7678
- result: { nullable: true },
7679
7737
  status: { enum: ["pending"], type: "string" }
7680
7738
  },
7681
7739
  required: [
@@ -7688,18 +7746,24 @@ var openapi_default = {
7688
7746
  type: "object"
7689
7747
  },
7690
7748
  {
7691
- description: "Encoding credential data from physical encoder succeeded.",
7749
+ description: "Action attempt to indicate that encoding credential data from the physical encoder onto a card succeeded.",
7692
7750
  properties: {
7693
7751
  action_attempt_id: {
7694
- description: "The ID of the action attempt.",
7752
+ description: "ID of the action attempt.",
7695
7753
  format: "uuid",
7696
- type: "string",
7697
- "x-title": "Action Attempt ID"
7754
+ type: "string"
7755
+ },
7756
+ action_type: {
7757
+ description: "Type of action that the action attempt tracks.",
7758
+ enum: ["ENCODE_CREDENTIAL"],
7759
+ type: "string"
7760
+ },
7761
+ error: {
7762
+ description: "Errors associated with the action attempt. Null for successful action attempts.",
7763
+ nullable: true
7698
7764
  },
7699
- action_type: { enum: ["ENCODE_CREDENTIAL"], type: "string" },
7700
- error: { nullable: true },
7701
7765
  result: {
7702
- description: "Means by which an [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). The `acs_credential` object represents a [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems). For each `acs_credential` object, you define the access method. You can also specify additional properties, such as a PIN code.",
7766
+ description: "If an encoding attempt was successful, includes the `acs_credential` data that was encoded onto the card.",
7703
7767
  oneOf: [
7704
7768
  {
7705
7769
  description: "Means by which an [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). The `acs_credential` object represents a [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems). For each `acs_credential` object, you define the access method. You can also specify additional properties, such as a PIN code.",
@@ -8387,8 +8451,7 @@ var openapi_default = {
8387
8451
  type: "object",
8388
8452
  "x-route-path": "/acs/credentials/unmanaged"
8389
8453
  }
8390
- ],
8391
- "x-route-path": "/acs/credentials"
8454
+ ]
8392
8455
  },
8393
8456
  status: { enum: ["success"], type: "string" }
8394
8457
  },
@@ -8402,29 +8465,45 @@ var openapi_default = {
8402
8465
  type: "object"
8403
8466
  },
8404
8467
  {
8405
- description: "Encoding credential data from physical encoder failed.",
8468
+ description: "Action attempt to indicate that encoding credential data from the physical encoder onto a card failed.",
8406
8469
  properties: {
8407
8470
  action_attempt_id: {
8408
- description: "The ID of the action attempt.",
8471
+ description: "ID of the action attempt.",
8409
8472
  format: "uuid",
8410
- type: "string",
8411
- "x-title": "Action Attempt ID"
8473
+ type: "string"
8474
+ },
8475
+ action_type: {
8476
+ description: "Type of action that the action attempt tracks.",
8477
+ enum: ["ENCODE_CREDENTIAL"],
8478
+ type: "string"
8412
8479
  },
8413
- action_type: { enum: ["ENCODE_CREDENTIAL"], type: "string" },
8414
8480
  error: {
8415
8481
  oneOf: [
8416
8482
  {
8483
+ description: "Error that doesn't fit into other specific error categories.",
8417
8484
  properties: {
8418
- message: { type: "string" },
8419
- type: { enum: ["uncategorized_error"], type: "string" }
8485
+ message: {
8486
+ description: "Message for the error associated with the action attempt.",
8487
+ type: "string"
8488
+ },
8489
+ type: {
8490
+ description: "Type of the error associated with the action attempt.",
8491
+ enum: ["uncategorized_error"],
8492
+ type: "string"
8493
+ }
8420
8494
  },
8421
8495
  required: ["type", "message"],
8422
8496
  type: "object"
8423
8497
  },
8424
8498
  {
8499
+ description: "Error to indicate an expired action attempt.",
8425
8500
  properties: {
8426
- message: { type: "string" },
8501
+ message: {
8502
+ description: "Message for the error associated with the action attempt.",
8503
+ type: "string"
8504
+ },
8427
8505
  type: {
8506
+ description: "Type of the error associated with the action attempt.",
8428
8507
  enum: ["action_attempt_expired"],
8429
8508
  type: "string"
8430
8509
  }
@@ -8467,7 +8546,10 @@ var openapi_default = {
8467
8546
  }
8468
8547
  ]
8469
8548
  },
8470
- result: { nullable: true },
8549
+ result: {
8550
+ description: "Result of the action attempt. Null for failed action attempts.",
8551
+ nullable: true
8552
+ },
8471
8553
  status: { enum: ["error"], type: "string" }
8472
8554
  },
8473
8555
  required: [
@@ -8483,17 +8565,22 @@ var openapi_default = {
8483
8565
  description: "Resetting sandbox workspace.",
8484
8566
  properties: {
8485
8567
  action_attempt_id: {
8486
- description: "The ID of the action attempt.",
8568
+ description: "ID of the action attempt.",
8487
8569
  format: "uuid",
8488
- type: "string",
8489
- "x-title": "Action Attempt ID"
8570
+ type: "string"
8490
8571
  },
8491
8572
  action_type: {
8492
8573
  enum: ["RESET_SANDBOX_WORKSPACE"],
8493
8574
  type: "string"
8494
8575
  },
8495
- error: { nullable: true },
8496
- result: { nullable: true },
8576
+ error: {
8577
+ description: "Errors associated with the action attempt. Null for pending action attempts.",
8578
+ nullable: true
8579
+ },
8580
+ result: {
8581
+ description: "Result of the action attempt. Null for pending action attempts.",
8582
+ nullable: true
8583
+ },
8497
8584
  status: { enum: ["pending"], type: "string" }
8498
8585
  },
8499
8586
  required: [
@@ -8509,16 +8596,18 @@ var openapi_default = {
8509
8596
  description: "Resetting sandbox workspace succeeded.",
8510
8597
  properties: {
8511
8598
  action_attempt_id: {
8512
- description: "The ID of the action attempt.",
8599
+ description: "ID of the action attempt.",
8513
8600
  format: "uuid",
8514
- type: "string",
8515
- "x-title": "Action Attempt ID"
8601
+ type: "string"
8516
8602
  },
8517
8603
  action_type: {
8518
8604
  enum: ["RESET_SANDBOX_WORKSPACE"],
8519
8605
  type: "string"
8520
8606
  },
8521
- error: { nullable: true },
8607
+ error: {
8608
+ description: "Errors associated with the action attempt. Null for successful action attempts.",
8609
+ nullable: true
8610
+ },
8522
8611
  result: { properties: {}, type: "object" },
8523
8612
  status: { enum: ["success"], type: "string" }
8524
8613
  },
@@ -8535,10 +8624,9 @@ var openapi_default = {
8535
8624
  description: "Resetting sandbox workspace failed.",
8536
8625
  properties: {
8537
8626
  action_attempt_id: {
8538
- description: "The ID of the action attempt.",
8627
+ description: "ID of the action attempt.",
8539
8628
  format: "uuid",
8540
- type: "string",
8541
- "x-title": "Action Attempt ID"
8629
+ type: "string"
8542
8630
  },
8543
8631
  action_type: {
8544
8632
  enum: ["RESET_SANDBOX_WORKSPACE"],
@@ -8552,7 +8640,10 @@ var openapi_default = {
8552
8640
  required: ["type", "message"],
8553
8641
  type: "object"
8554
8642
  },
8555
- result: { nullable: true },
8643
+ result: {
8644
+ description: "Result of the action attempt. Null for failed action attempts.",
8645
+ nullable: true
8646
+ },
8556
8647
  status: { enum: ["error"], type: "string" }
8557
8648
  },
8558
8649
  required: [
@@ -8568,14 +8659,19 @@ var openapi_default = {
8568
8659
  description: "Setting fan mode.",
8569
8660
  properties: {
8570
8661
  action_attempt_id: {
8571
- description: "The ID of the action attempt.",
8662
+ description: "ID of the action attempt.",
8572
8663
  format: "uuid",
8573
- type: "string",
8574
- "x-title": "Action Attempt ID"
8664
+ type: "string"
8575
8665
  },
8576
8666
  action_type: { enum: ["SET_FAN_MODE"], type: "string" },
8577
- error: { nullable: true },
8578
- result: { nullable: true },
8667
+ error: {
8668
+ description: "Errors associated with the action attempt. Null for pending action attempts.",
8669
+ nullable: true
8670
+ },
8671
+ result: {
8672
+ description: "Result of the action attempt. Null for pending action attempts.",
8673
+ nullable: true
8674
+ },
8579
8675
  status: { enum: ["pending"], type: "string" }
8580
8676
  },
8581
8677
  required: [
@@ -8591,13 +8687,15 @@ var openapi_default = {
8591
8687
  description: "Setting fan mode succeeded.",
8592
8688
  properties: {
8593
8689
  action_attempt_id: {
8594
- description: "The ID of the action attempt.",
8690
+ description: "ID of the action attempt.",
8595
8691
  format: "uuid",
8596
- type: "string",
8597
- "x-title": "Action Attempt ID"
8692
+ type: "string"
8598
8693
  },
8599
8694
  action_type: { enum: ["SET_FAN_MODE"], type: "string" },
8600
- error: { nullable: true },
8695
+ error: {
8696
+ description: "Errors associated with the action attempt. Null for successful action attempts.",
8697
+ nullable: true
8698
+ },
8601
8699
  result: { properties: {}, type: "object" },
8602
8700
  status: { enum: ["success"], type: "string" }
8603
8701
  },
@@ -8614,10 +8712,9 @@ var openapi_default = {
8614
8712
  description: "Setting fan mode failed.",
8615
8713
  properties: {
8616
8714
  action_attempt_id: {
8617
- description: "The ID of the action attempt.",
8715
+ description: "ID of the action attempt.",
8618
8716
  format: "uuid",
8619
- type: "string",
8620
- "x-title": "Action Attempt ID"
8717
+ type: "string"
8621
8718
  },
8622
8719
  action_type: { enum: ["SET_FAN_MODE"], type: "string" },
8623
8720
  error: {
@@ -8628,7 +8725,10 @@ var openapi_default = {
8628
8725
  required: ["type", "message"],
8629
8726
  type: "object"
8630
8727
  },
8631
- result: { nullable: true },
8728
+ result: {
8729
+ description: "Result of the action attempt. Null for failed action attempts.",
8730
+ nullable: true
8731
+ },
8632
8732
  status: { enum: ["error"], type: "string" }
8633
8733
  },
8634
8734
  required: [
@@ -8644,14 +8744,19 @@ var openapi_default = {
8644
8744
  description: "Setting HVAC mode.",
8645
8745
  properties: {
8646
8746
  action_attempt_id: {
8647
- description: "The ID of the action attempt.",
8747
+ description: "ID of the action attempt.",
8648
8748
  format: "uuid",
8649
- type: "string",
8650
- "x-title": "Action Attempt ID"
8749
+ type: "string"
8651
8750
  },
8652
8751
  action_type: { enum: ["SET_HVAC_MODE"], type: "string" },
8653
- error: { nullable: true },
8654
- result: { nullable: true },
8752
+ error: {
8753
+ description: "Errors associated with the action attempt. Null for pending action attempts.",
8754
+ nullable: true
8755
+ },
8756
+ result: {
8757
+ description: "Result of the action attempt. Null for pending action attempts.",
8758
+ nullable: true
8759
+ },
8655
8760
  status: { enum: ["pending"], type: "string" }
8656
8761
  },
8657
8762
  required: [
@@ -8667,13 +8772,15 @@ var openapi_default = {
8667
8772
  description: "Setting HVAC mode succeeded.",
8668
8773
  properties: {
8669
8774
  action_attempt_id: {
8670
- description: "The ID of the action attempt.",
8775
+ description: "ID of the action attempt.",
8671
8776
  format: "uuid",
8672
- type: "string",
8673
- "x-title": "Action Attempt ID"
8777
+ type: "string"
8674
8778
  },
8675
8779
  action_type: { enum: ["SET_HVAC_MODE"], type: "string" },
8676
- error: { nullable: true },
8780
+ error: {
8781
+ description: "Errors associated with the action attempt. Null for successful action attempts.",
8782
+ nullable: true
8783
+ },
8677
8784
  result: { properties: {}, type: "object" },
8678
8785
  status: { enum: ["success"], type: "string" }
8679
8786
  },
@@ -8690,10 +8797,9 @@ var openapi_default = {
8690
8797
  description: "Setting HVAC mode failed.",
8691
8798
  properties: {
8692
8799
  action_attempt_id: {
8693
- description: "The ID of the action attempt.",
8800
+ description: "ID of the action attempt.",
8694
8801
  format: "uuid",
8695
- type: "string",
8696
- "x-title": "Action Attempt ID"
8802
+ type: "string"
8697
8803
  },
8698
8804
  action_type: { enum: ["SET_HVAC_MODE"], type: "string" },
8699
8805
  error: {
@@ -8704,7 +8810,10 @@ var openapi_default = {
8704
8810
  required: ["type", "message"],
8705
8811
  type: "object"
8706
8812
  },
8707
- result: { nullable: true },
8813
+ result: {
8814
+ description: "Result of the action attempt. Null for failed action attempts.",
8815
+ nullable: true
8816
+ },
8708
8817
  status: { enum: ["error"], type: "string" }
8709
8818
  },
8710
8819
  required: [
@@ -8720,17 +8829,22 @@ var openapi_default = {
8720
8829
  description: "Activating climate preset.",
8721
8830
  properties: {
8722
8831
  action_attempt_id: {
8723
- description: "The ID of the action attempt.",
8832
+ description: "ID of the action attempt.",
8724
8833
  format: "uuid",
8725
- type: "string",
8726
- "x-title": "Action Attempt ID"
8834
+ type: "string"
8727
8835
  },
8728
8836
  action_type: {
8729
8837
  enum: ["ACTIVATE_CLIMATE_PRESET"],
8730
8838
  type: "string"
8731
8839
  },
8732
- error: { nullable: true },
8733
- result: { nullable: true },
8840
+ error: {
8841
+ description: "Errors associated with the action attempt. Null for pending action attempts.",
8842
+ nullable: true
8843
+ },
8844
+ result: {
8845
+ description: "Result of the action attempt. Null for pending action attempts.",
8846
+ nullable: true
8847
+ },
8734
8848
  status: { enum: ["pending"], type: "string" }
8735
8849
  },
8736
8850
  required: [
@@ -8746,16 +8860,18 @@ var openapi_default = {
8746
8860
  description: "Activating climate preset succeeded.",
8747
8861
  properties: {
8748
8862
  action_attempt_id: {
8749
- description: "The ID of the action attempt.",
8863
+ description: "ID of the action attempt.",
8750
8864
  format: "uuid",
8751
- type: "string",
8752
- "x-title": "Action Attempt ID"
8865
+ type: "string"
8753
8866
  },
8754
8867
  action_type: {
8755
8868
  enum: ["ACTIVATE_CLIMATE_PRESET"],
8756
8869
  type: "string"
8757
8870
  },
8758
- error: { nullable: true },
8871
+ error: {
8872
+ description: "Errors associated with the action attempt. Null for successful action attempts.",
8873
+ nullable: true
8874
+ },
8759
8875
  result: { properties: {}, type: "object" },
8760
8876
  status: { enum: ["success"], type: "string" }
8761
8877
  },
@@ -8772,10 +8888,9 @@ var openapi_default = {
8772
8888
  description: "Activating climate preset failed.",
8773
8889
  properties: {
8774
8890
  action_attempt_id: {
8775
- description: "The ID of the action attempt.",
8891
+ description: "ID of the action attempt.",
8776
8892
  format: "uuid",
8777
- type: "string",
8778
- "x-title": "Action Attempt ID"
8893
+ type: "string"
8779
8894
  },
8780
8895
  action_type: {
8781
8896
  enum: ["ACTIVATE_CLIMATE_PRESET"],
@@ -8789,7 +8904,10 @@ var openapi_default = {
8789
8904
  required: ["type", "message"],
8790
8905
  type: "object"
8791
8906
  },
8792
- result: { nullable: true },
8907
+ result: {
8908
+ description: "Result of the action attempt. Null for failed action attempts.",
8909
+ nullable: true
8910
+ },
8793
8911
  status: { enum: ["error"], type: "string" }
8794
8912
  },
8795
8913
  required: [
@@ -8804,14 +8922,19 @@ var openapi_default = {
8804
8922
  {
8805
8923
  properties: {
8806
8924
  action_attempt_id: {
8807
- description: "The ID of the action attempt.",
8925
+ description: "ID of the action attempt.",
8808
8926
  format: "uuid",
8809
- type: "string",
8810
- "x-title": "Action Attempt ID"
8927
+ type: "string"
8811
8928
  },
8812
8929
  action_type: { enum: ["SYNC_ACCESS_CODES"], type: "string" },
8813
- error: { nullable: true },
8814
- result: { nullable: true },
8930
+ error: {
8931
+ description: "Errors associated with the action attempt. Null for pending action attempts.",
8932
+ nullable: true
8933
+ },
8934
+ result: {
8935
+ description: "Result of the action attempt. Null for pending action attempts.",
8936
+ nullable: true
8937
+ },
8815
8938
  status: { enum: ["pending"], type: "string" }
8816
8939
  },
8817
8940
  required: [
@@ -8826,13 +8949,15 @@ var openapi_default = {
8826
8949
  {
8827
8950
  properties: {
8828
8951
  action_attempt_id: {
8829
- description: "The ID of the action attempt.",
8952
+ description: "ID of the action attempt.",
8830
8953
  format: "uuid",
8831
- type: "string",
8832
- "x-title": "Action Attempt ID"
8954
+ type: "string"
8833
8955
  },
8834
8956
  action_type: { enum: ["SYNC_ACCESS_CODES"], type: "string" },
8835
- error: { nullable: true },
8957
+ error: {
8958
+ description: "Errors associated with the action attempt. Null for successful action attempts.",
8959
+ nullable: true
8960
+ },
8836
8961
  result: { properties: {}, type: "object" },
8837
8962
  status: { enum: ["success"], type: "string" }
8838
8963
  },
@@ -8848,10 +8973,9 @@ var openapi_default = {
8848
8973
  {
8849
8974
  properties: {
8850
8975
  action_attempt_id: {
8851
- description: "The ID of the action attempt.",
8976
+ description: "ID of the action attempt.",
8852
8977
  format: "uuid",
8853
- type: "string",
8854
- "x-title": "Action Attempt ID"
8978
+ type: "string"
8855
8979
  },
8856
8980
  action_type: { enum: ["SYNC_ACCESS_CODES"], type: "string" },
8857
8981
  error: {
@@ -8862,7 +8986,10 @@ var openapi_default = {
8862
8986
  required: ["type", "message"],
8863
8987
  type: "object"
8864
8988
  },
8865
- result: { nullable: true },
8989
+ result: {
8990
+ description: "Result of the action attempt. Null for failed action attempts.",
8991
+ nullable: true
8992
+ },
8866
8993
  status: { enum: ["error"], type: "string" }
8867
8994
  },
8868
8995
  required: [
@@ -8877,14 +9004,19 @@ var openapi_default = {
8877
9004
  {
8878
9005
  properties: {
8879
9006
  action_attempt_id: {
8880
- description: "The ID of the action attempt.",
9007
+ description: "ID of the action attempt.",
8881
9008
  format: "uuid",
8882
- type: "string",
8883
- "x-title": "Action Attempt ID"
9009
+ type: "string"
8884
9010
  },
8885
9011
  action_type: { enum: ["CREATE_ACCESS_CODE"], type: "string" },
8886
- error: { nullable: true },
8887
- result: { nullable: true },
9012
+ error: {
9013
+ description: "Errors associated with the action attempt. Null for pending action attempts.",
9014
+ nullable: true
9015
+ },
9016
+ result: {
9017
+ description: "Result of the action attempt. Null for pending action attempts.",
9018
+ nullable: true
9019
+ },
8888
9020
  status: { enum: ["pending"], type: "string" }
8889
9021
  },
8890
9022
  required: [
@@ -8899,13 +9031,15 @@ var openapi_default = {
8899
9031
  {
8900
9032
  properties: {
8901
9033
  action_attempt_id: {
8902
- description: "The ID of the action attempt.",
9034
+ description: "ID of the action attempt.",
8903
9035
  format: "uuid",
8904
- type: "string",
8905
- "x-title": "Action Attempt ID"
9036
+ type: "string"
8906
9037
  },
8907
9038
  action_type: { enum: ["CREATE_ACCESS_CODE"], type: "string" },
8908
- error: { nullable: true },
9039
+ error: {
9040
+ description: "Errors associated with the action attempt. Null for successful action attempts.",
9041
+ nullable: true
9042
+ },
8909
9043
  result: { properties: { access_code: {} }, type: "object" },
8910
9044
  status: { enum: ["success"], type: "string" }
8911
9045
  },
@@ -8921,10 +9055,9 @@ var openapi_default = {
8921
9055
  {
8922
9056
  properties: {
8923
9057
  action_attempt_id: {
8924
- description: "The ID of the action attempt.",
9058
+ description: "ID of the action attempt.",
8925
9059
  format: "uuid",
8926
- type: "string",
8927
- "x-title": "Action Attempt ID"
9060
+ type: "string"
8928
9061
  },
8929
9062
  action_type: { enum: ["CREATE_ACCESS_CODE"], type: "string" },
8930
9063
  error: {
@@ -8935,7 +9068,10 @@ var openapi_default = {
8935
9068
  required: ["type", "message"],
8936
9069
  type: "object"
8937
9070
  },
8938
- result: { nullable: true },
9071
+ result: {
9072
+ description: "Result of the action attempt. Null for failed action attempts.",
9073
+ nullable: true
9074
+ },
8939
9075
  status: { enum: ["error"], type: "string" }
8940
9076
  },
8941
9077
  required: [
@@ -8950,14 +9086,19 @@ var openapi_default = {
8950
9086
  {
8951
9087
  properties: {
8952
9088
  action_attempt_id: {
8953
- description: "The ID of the action attempt.",
9089
+ description: "ID of the action attempt.",
8954
9090
  format: "uuid",
8955
- type: "string",
8956
- "x-title": "Action Attempt ID"
9091
+ type: "string"
8957
9092
  },
8958
9093
  action_type: { enum: ["DELETE_ACCESS_CODE"], type: "string" },
8959
- error: { nullable: true },
8960
- result: { nullable: true },
9094
+ error: {
9095
+ description: "Errors associated with the action attempt. Null for pending action attempts.",
9096
+ nullable: true
9097
+ },
9098
+ result: {
9099
+ description: "Result of the action attempt. Null for pending action attempts.",
9100
+ nullable: true
9101
+ },
8961
9102
  status: { enum: ["pending"], type: "string" }
8962
9103
  },
8963
9104
  required: [
@@ -8972,13 +9113,15 @@ var openapi_default = {
8972
9113
  {
8973
9114
  properties: {
8974
9115
  action_attempt_id: {
8975
- description: "The ID of the action attempt.",
9116
+ description: "ID of the action attempt.",
8976
9117
  format: "uuid",
8977
- type: "string",
8978
- "x-title": "Action Attempt ID"
9118
+ type: "string"
8979
9119
  },
8980
9120
  action_type: { enum: ["DELETE_ACCESS_CODE"], type: "string" },
8981
- error: { nullable: true },
9121
+ error: {
9122
+ description: "Errors associated with the action attempt. Null for successful action attempts.",
9123
+ nullable: true
9124
+ },
8982
9125
  result: { properties: {}, type: "object" },
8983
9126
  status: { enum: ["success"], type: "string" }
8984
9127
  },
@@ -8994,10 +9137,9 @@ var openapi_default = {
8994
9137
  {
8995
9138
  properties: {
8996
9139
  action_attempt_id: {
8997
- description: "The ID of the action attempt.",
9140
+ description: "ID of the action attempt.",
8998
9141
  format: "uuid",
8999
- type: "string",
9000
- "x-title": "Action Attempt ID"
9142
+ type: "string"
9001
9143
  },
9002
9144
  action_type: { enum: ["DELETE_ACCESS_CODE"], type: "string" },
9003
9145
  error: {
@@ -9008,7 +9150,10 @@ var openapi_default = {
9008
9150
  required: ["type", "message"],
9009
9151
  type: "object"
9010
9152
  },
9011
- result: { nullable: true },
9153
+ result: {
9154
+ description: "Result of the action attempt. Null for failed action attempts.",
9155
+ nullable: true
9156
+ },
9012
9157
  status: { enum: ["error"], type: "string" }
9013
9158
  },
9014
9159
  required: [
@@ -9023,14 +9168,19 @@ var openapi_default = {
9023
9168
  {
9024
9169
  properties: {
9025
9170
  action_attempt_id: {
9026
- description: "The ID of the action attempt.",
9171
+ description: "ID of the action attempt.",
9027
9172
  format: "uuid",
9028
- type: "string",
9029
- "x-title": "Action Attempt ID"
9173
+ type: "string"
9030
9174
  },
9031
9175
  action_type: { enum: ["UPDATE_ACCESS_CODE"], type: "string" },
9032
- error: { nullable: true },
9033
- result: { nullable: true },
9176
+ error: {
9177
+ description: "Errors associated with the action attempt. Null for pending action attempts.",
9178
+ nullable: true
9179
+ },
9180
+ result: {
9181
+ description: "Result of the action attempt. Null for pending action attempts.",
9182
+ nullable: true
9183
+ },
9034
9184
  status: { enum: ["pending"], type: "string" }
9035
9185
  },
9036
9186
  required: [
@@ -9045,13 +9195,15 @@ var openapi_default = {
9045
9195
  {
9046
9196
  properties: {
9047
9197
  action_attempt_id: {
9048
- description: "The ID of the action attempt.",
9198
+ description: "ID of the action attempt.",
9049
9199
  format: "uuid",
9050
- type: "string",
9051
- "x-title": "Action Attempt ID"
9200
+ type: "string"
9052
9201
  },
9053
9202
  action_type: { enum: ["UPDATE_ACCESS_CODE"], type: "string" },
9054
- error: { nullable: true },
9203
+ error: {
9204
+ description: "Errors associated with the action attempt. Null for successful action attempts.",
9205
+ nullable: true
9206
+ },
9055
9207
  result: { properties: { access_code: {} }, type: "object" },
9056
9208
  status: { enum: ["success"], type: "string" }
9057
9209
  },
@@ -9067,10 +9219,9 @@ var openapi_default = {
9067
9219
  {
9068
9220
  properties: {
9069
9221
  action_attempt_id: {
9070
- description: "The ID of the action attempt.",
9222
+ description: "ID of the action attempt.",
9071
9223
  format: "uuid",
9072
- type: "string",
9073
- "x-title": "Action Attempt ID"
9224
+ type: "string"
9074
9225
  },
9075
9226
  action_type: { enum: ["UPDATE_ACCESS_CODE"], type: "string" },
9076
9227
  error: {
@@ -9081,7 +9232,10 @@ var openapi_default = {
9081
9232
  required: ["type", "message"],
9082
9233
  type: "object"
9083
9234
  },
9084
- result: { nullable: true },
9235
+ result: {
9236
+ description: "Result of the action attempt. Null for failed action attempts.",
9237
+ nullable: true
9238
+ },
9085
9239
  status: { enum: ["error"], type: "string" }
9086
9240
  },
9087
9241
  required: [
@@ -9096,14 +9250,19 @@ var openapi_default = {
9096
9250
  {
9097
9251
  properties: {
9098
9252
  action_attempt_id: {
9099
- description: "The ID of the action attempt.",
9253
+ description: "ID of the action attempt.",
9100
9254
  format: "uuid",
9101
- type: "string",
9102
- "x-title": "Action Attempt ID"
9255
+ type: "string"
9103
9256
  },
9104
9257
  action_type: { enum: ["CREATE_NOISE_THRESHOLD"], type: "string" },
9105
- error: { nullable: true },
9106
- result: { nullable: true },
9258
+ error: {
9259
+ description: "Errors associated with the action attempt. Null for pending action attempts.",
9260
+ nullable: true
9261
+ },
9262
+ result: {
9263
+ description: "Result of the action attempt. Null for pending action attempts.",
9264
+ nullable: true
9265
+ },
9107
9266
  status: { enum: ["pending"], type: "string" }
9108
9267
  },
9109
9268
  required: [
@@ -9118,13 +9277,15 @@ var openapi_default = {
9118
9277
  {
9119
9278
  properties: {
9120
9279
  action_attempt_id: {
9121
- description: "The ID of the action attempt.",
9280
+ description: "ID of the action attempt.",
9122
9281
  format: "uuid",
9123
- type: "string",
9124
- "x-title": "Action Attempt ID"
9282
+ type: "string"
9125
9283
  },
9126
9284
  action_type: { enum: ["CREATE_NOISE_THRESHOLD"], type: "string" },
9127
- error: { nullable: true },
9285
+ error: {
9286
+ description: "Errors associated with the action attempt. Null for successful action attempts.",
9287
+ nullable: true
9288
+ },
9128
9289
  result: { properties: { noise_threshold: {} }, type: "object" },
9129
9290
  status: { enum: ["success"], type: "string" }
9130
9291
  },
@@ -9140,10 +9301,9 @@ var openapi_default = {
9140
9301
  {
9141
9302
  properties: {
9142
9303
  action_attempt_id: {
9143
- description: "The ID of the action attempt.",
9304
+ description: "ID of the action attempt.",
9144
9305
  format: "uuid",
9145
- type: "string",
9146
- "x-title": "Action Attempt ID"
9306
+ type: "string"
9147
9307
  },
9148
9308
  action_type: { enum: ["CREATE_NOISE_THRESHOLD"], type: "string" },
9149
9309
  error: {
@@ -9154,7 +9314,10 @@ var openapi_default = {
9154
9314
  required: ["type", "message"],
9155
9315
  type: "object"
9156
9316
  },
9157
- result: { nullable: true },
9317
+ result: {
9318
+ description: "Result of the action attempt. Null for failed action attempts.",
9319
+ nullable: true
9320
+ },
9158
9321
  status: { enum: ["error"], type: "string" }
9159
9322
  },
9160
9323
  required: [
@@ -9169,14 +9332,19 @@ var openapi_default = {
9169
9332
  {
9170
9333
  properties: {
9171
9334
  action_attempt_id: {
9172
- description: "The ID of the action attempt.",
9335
+ description: "ID of the action attempt.",
9173
9336
  format: "uuid",
9174
- type: "string",
9175
- "x-title": "Action Attempt ID"
9337
+ type: "string"
9176
9338
  },
9177
9339
  action_type: { enum: ["DELETE_NOISE_THRESHOLD"], type: "string" },
9178
- error: { nullable: true },
9179
- result: { nullable: true },
9340
+ error: {
9341
+ description: "Errors associated with the action attempt. Null for pending action attempts.",
9342
+ nullable: true
9343
+ },
9344
+ result: {
9345
+ description: "Result of the action attempt. Null for pending action attempts.",
9346
+ nullable: true
9347
+ },
9180
9348
  status: { enum: ["pending"], type: "string" }
9181
9349
  },
9182
9350
  required: [
@@ -9191,13 +9359,15 @@ var openapi_default = {
9191
9359
  {
9192
9360
  properties: {
9193
9361
  action_attempt_id: {
9194
- description: "The ID of the action attempt.",
9362
+ description: "ID of the action attempt.",
9195
9363
  format: "uuid",
9196
- type: "string",
9197
- "x-title": "Action Attempt ID"
9364
+ type: "string"
9198
9365
  },
9199
9366
  action_type: { enum: ["DELETE_NOISE_THRESHOLD"], type: "string" },
9200
- error: { nullable: true },
9367
+ error: {
9368
+ description: "Errors associated with the action attempt. Null for successful action attempts.",
9369
+ nullable: true
9370
+ },
9201
9371
  result: { properties: {}, type: "object" },
9202
9372
  status: { enum: ["success"], type: "string" }
9203
9373
  },
@@ -9213,10 +9383,9 @@ var openapi_default = {
9213
9383
  {
9214
9384
  properties: {
9215
9385
  action_attempt_id: {
9216
- description: "The ID of the action attempt.",
9386
+ description: "ID of the action attempt.",
9217
9387
  format: "uuid",
9218
- type: "string",
9219
- "x-title": "Action Attempt ID"
9388
+ type: "string"
9220
9389
  },
9221
9390
  action_type: { enum: ["DELETE_NOISE_THRESHOLD"], type: "string" },
9222
9391
  error: {
@@ -9227,7 +9396,10 @@ var openapi_default = {
9227
9396
  required: ["type", "message"],
9228
9397
  type: "object"
9229
9398
  },
9230
- result: { nullable: true },
9399
+ result: {
9400
+ description: "Result of the action attempt. Null for failed action attempts.",
9401
+ nullable: true
9402
+ },
9231
9403
  status: { enum: ["error"], type: "string" }
9232
9404
  },
9233
9405
  required: [
@@ -9242,14 +9414,19 @@ var openapi_default = {
9242
9414
  {
9243
9415
  properties: {
9244
9416
  action_attempt_id: {
9245
- description: "The ID of the action attempt.",
9417
+ description: "ID of the action attempt.",
9246
9418
  format: "uuid",
9247
- type: "string",
9248
- "x-title": "Action Attempt ID"
9419
+ type: "string"
9249
9420
  },
9250
9421
  action_type: { enum: ["UPDATE_NOISE_THRESHOLD"], type: "string" },
9251
- error: { nullable: true },
9252
- result: { nullable: true },
9422
+ error: {
9423
+ description: "Errors associated with the action attempt. Null for pending action attempts.",
9424
+ nullable: true
9425
+ },
9426
+ result: {
9427
+ description: "Result of the action attempt. Null for pending action attempts.",
9428
+ nullable: true
9429
+ },
9253
9430
  status: { enum: ["pending"], type: "string" }
9254
9431
  },
9255
9432
  required: [
@@ -9264,13 +9441,15 @@ var openapi_default = {
9264
9441
  {
9265
9442
  properties: {
9266
9443
  action_attempt_id: {
9267
- description: "The ID of the action attempt.",
9444
+ description: "ID of the action attempt.",
9268
9445
  format: "uuid",
9269
- type: "string",
9270
- "x-title": "Action Attempt ID"
9446
+ type: "string"
9271
9447
  },
9272
9448
  action_type: { enum: ["UPDATE_NOISE_THRESHOLD"], type: "string" },
9273
- error: { nullable: true },
9449
+ error: {
9450
+ description: "Errors associated with the action attempt. Null for successful action attempts.",
9451
+ nullable: true
9452
+ },
9274
9453
  result: { properties: { noise_threshold: {} }, type: "object" },
9275
9454
  status: { enum: ["success"], type: "string" }
9276
9455
  },
@@ -9286,10 +9465,9 @@ var openapi_default = {
9286
9465
  {
9287
9466
  properties: {
9288
9467
  action_attempt_id: {
9289
- description: "The ID of the action attempt.",
9468
+ description: "ID of the action attempt.",
9290
9469
  format: "uuid",
9291
- type: "string",
9292
- "x-title": "Action Attempt ID"
9470
+ type: "string"
9293
9471
  },
9294
9472
  action_type: { enum: ["UPDATE_NOISE_THRESHOLD"], type: "string" },
9295
9473
  error: {
@@ -9300,7 +9478,10 @@ var openapi_default = {
9300
9478
  required: ["type", "message"],
9301
9479
  type: "object"
9302
9480
  },
9303
- result: { nullable: true },
9481
+ result: {
9482
+ description: "Result of the action attempt. Null for failed action attempts.",
9483
+ nullable: true
9484
+ },
9304
9485
  status: { enum: ["error"], type: "string" }
9305
9486
  },
9306
9487
  required: [
@@ -25340,6 +25521,96 @@ var openapi_default = {
25340
25521
  "x-response-key": "device_providers"
25341
25522
  }
25342
25523
  },
25524
+ "/devices/simulate/access_code_lock": {
25525
+ post: {
25526
+ operationId: "devicesSimulateAccessCodeLockPost",
25527
+ requestBody: {
25528
+ content: {
25529
+ "application/json": {
25530
+ schema: {
25531
+ properties: {
25532
+ access_code_id: { format: "uuid", type: "string" },
25533
+ device_id: { format: "uuid", type: "string" }
25534
+ },
25535
+ required: ["device_id", "access_code_id"],
25536
+ type: "object"
25537
+ }
25538
+ }
25539
+ }
25540
+ },
25541
+ responses: {
25542
+ 200: {
25543
+ content: {
25544
+ "application/json": {
25545
+ schema: {
25546
+ properties: { ok: { type: "boolean" } },
25547
+ required: ["ok"],
25548
+ type: "object"
25549
+ }
25550
+ }
25551
+ },
25552
+ description: "OK"
25553
+ },
25554
+ 400: { description: "Bad Request" },
25555
+ 401: { description: "Unauthorized" }
25556
+ },
25557
+ security: [
25558
+ { api_key: [] },
25559
+ { pat_with_workspace: [] },
25560
+ { console_session_with_workspace: [] }
25561
+ ],
25562
+ summary: "/devices/simulate/access_code_lock",
25563
+ tags: ["/devices"],
25564
+ "x-fern-sdk-group-name": ["devices", "simulate"],
25565
+ "x-fern-sdk-method-name": "access_code_lock",
25566
+ "x-response-key": null
25567
+ }
25568
+ },
25569
+ "/devices/simulate/access_code_unlock": {
25570
+ post: {
25571
+ operationId: "devicesSimulateAccessCodeUnlockPost",
25572
+ requestBody: {
25573
+ content: {
25574
+ "application/json": {
25575
+ schema: {
25576
+ properties: {
25577
+ access_code_id: { format: "uuid", type: "string" },
25578
+ device_id: { format: "uuid", type: "string" }
25579
+ },
25580
+ required: ["device_id", "access_code_id"],
25581
+ type: "object"
25582
+ }
25583
+ }
25584
+ }
25585
+ },
25586
+ responses: {
25587
+ 200: {
25588
+ content: {
25589
+ "application/json": {
25590
+ schema: {
25591
+ properties: { ok: { type: "boolean" } },
25592
+ required: ["ok"],
25593
+ type: "object"
25594
+ }
25595
+ }
25596
+ },
25597
+ description: "OK"
25598
+ },
25599
+ 400: { description: "Bad Request" },
25600
+ 401: { description: "Unauthorized" }
25601
+ },
25602
+ security: [
25603
+ { api_key: [] },
25604
+ { pat_with_workspace: [] },
25605
+ { console_session_with_workspace: [] }
25606
+ ],
25607
+ summary: "/devices/simulate/access_code_unlock",
25608
+ tags: ["/devices"],
25609
+ "x-fern-sdk-group-name": ["devices", "simulate"],
25610
+ "x-fern-sdk-method-name": "access_code_unlock",
25611
+ "x-response-key": null
25612
+ }
25613
+ },
25343
25614
  "/devices/simulate/connect": {
25344
25615
  post: {
25345
25616
  operationId: "devicesSimulateConnectPost",
@@ -28722,6 +28993,7 @@ var openapi_default = {
28722
28993
  401: { description: "Unauthorized" }
28723
28994
  },
28724
28995
  security: [
28996
+ { client_session: [] },
28725
28997
  { pat_with_workspace: [] },
28726
28998
  { console_session_with_workspace: [] },
28727
28999
  { api_key: [] }
@@ -28776,6 +29048,7 @@ var openapi_default = {
28776
29048
  401: { description: "Unauthorized" }
28777
29049
  },
28778
29050
  security: [
29051
+ { client_session: [] },
28779
29052
  { pat_with_workspace: [] },
28780
29053
  { console_session_with_workspace: [] },
28781
29054
  { api_key: [] }
@@ -30493,7 +30766,8 @@ var openapi_default = {
30493
30766
  security: [
30494
30767
  { pat_with_workspace: [] },
30495
30768
  { console_session_with_workspace: [] },
30496
- { api_key: [] }
30769
+ { api_key: [] },
30770
+ { client_session: [] }
30497
30771
  ],
30498
30772
  summary: "/thermostats/update_climate_preset",
30499
30773
  tags: ["/thermostats"],
@@ -30590,7 +30864,8 @@ var openapi_default = {
30590
30864
  security: [
30591
30865
  { pat_with_workspace: [] },
30592
30866
  { console_session_with_workspace: [] },
30593
- { api_key: [] }
30867
+ { api_key: [] },
30868
+ { client_session: [] }
30594
30869
  ],
30595
30870
  summary: "/thermostats/update_climate_preset",
30596
30871
  tags: ["/thermostats"],