@seamapi/types 1.737.0 → 1.738.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.
Files changed (43) hide show
  1. package/dist/connect.cjs +655 -20
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2935 -423
  4. package/dist/index.cjs +655 -20
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/acs/acs-access-group.d.ts +590 -0
  7. package/lib/seam/connect/models/acs/acs-access-group.js +4 -0
  8. package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
  9. package/lib/seam/connect/models/acs/acs-access-groups/index.d.ts +1 -0
  10. package/lib/seam/connect/models/acs/acs-access-groups/index.js +2 -0
  11. package/lib/seam/connect/models/acs/acs-access-groups/index.js.map +1 -0
  12. package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.d.ts +511 -0
  13. package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.js +126 -0
  14. package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.js.map +1 -0
  15. package/lib/seam/connect/models/acs/acs-credential.d.ts +4 -4
  16. package/lib/seam/connect/models/acs/acs-entrance.d.ts +2 -2
  17. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +4 -4
  18. package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +12 -12
  19. package/lib/seam/connect/models/acs/index.d.ts +1 -0
  20. package/lib/seam/connect/models/acs/index.js +1 -0
  21. package/lib/seam/connect/models/acs/index.js.map +1 -1
  22. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +20 -20
  23. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
  24. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +12 -12
  25. package/lib/seam/connect/models/batch.d.ts +868 -74
  26. package/lib/seam/connect/models/events/acs/entrances.d.ts +8 -8
  27. package/lib/seam/connect/models/events/acs/index.d.ts +8 -8
  28. package/lib/seam/connect/models/events/acs/users.d.ts +8 -8
  29. package/lib/seam/connect/models/events/devices.d.ts +4 -4
  30. package/lib/seam/connect/models/events/seam-event.d.ts +10 -10
  31. package/lib/seam/connect/models/phones/phone-session.d.ts +30 -30
  32. package/lib/seam/connect/models/user-identities/user-identity.d.ts +12 -12
  33. package/lib/seam/connect/openapi.d.ts +512 -0
  34. package/lib/seam/connect/openapi.js +544 -0
  35. package/lib/seam/connect/openapi.js.map +1 -1
  36. package/lib/seam/connect/route-types.d.ts +616 -0
  37. package/package.json +1 -1
  38. package/src/lib/seam/connect/models/acs/acs-access-group.ts +6 -0
  39. package/src/lib/seam/connect/models/acs/acs-access-groups/index.ts +1 -0
  40. package/src/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.ts +171 -0
  41. package/src/lib/seam/connect/models/acs/index.ts +1 -0
  42. package/src/lib/seam/connect/openapi.ts +754 -172
  43. package/src/lib/seam/connect/route-types.ts +665 -0
@@ -2768,6 +2768,296 @@ export default {
2768
2768
  },
2769
2769
  is_managed: { enum: [true], type: 'boolean' },
2770
2770
  name: { description: 'Name of the access group.', type: 'string' },
2771
+ pending_mutations: {
2772
+ description:
2773
+ 'Collection of pending mutations for the access group. Represents operations that have been requested but not yet completed on the integrated access system.',
2774
+ items: {
2775
+ discriminator: { propertyName: 'mutation_code' },
2776
+ oneOf: [
2777
+ {
2778
+ description:
2779
+ 'Seam is in the process of pushing an access group creation to the integrated access system.',
2780
+ properties: {
2781
+ created_at: {
2782
+ description:
2783
+ 'Date and time at which the mutation was created.',
2784
+ format: 'date-time',
2785
+ type: 'string',
2786
+ },
2787
+ message: {
2788
+ description: 'Detailed description of the mutation.',
2789
+ type: 'string',
2790
+ },
2791
+ mutation_code: {
2792
+ description:
2793
+ 'Mutation code to indicate that Seam is in the process of pushing an access group creation to the integrated access system.',
2794
+ enum: ['creating'],
2795
+ type: 'string',
2796
+ },
2797
+ },
2798
+ required: ['created_at', 'message', 'mutation_code'],
2799
+ type: 'object',
2800
+ },
2801
+ {
2802
+ description:
2803
+ 'Seam is in the process of pushing an access group deletion to the integrated access system.',
2804
+ properties: {
2805
+ created_at: {
2806
+ description:
2807
+ 'Date and time at which the mutation was created.',
2808
+ format: 'date-time',
2809
+ type: 'string',
2810
+ },
2811
+ message: {
2812
+ description: 'Detailed description of the mutation.',
2813
+ type: 'string',
2814
+ },
2815
+ mutation_code: {
2816
+ description:
2817
+ 'Mutation code to indicate that Seam is in the process of pushing an access group deletion to the integrated access system.',
2818
+ enum: ['deleting'],
2819
+ type: 'string',
2820
+ },
2821
+ },
2822
+ required: ['created_at', 'message', 'mutation_code'],
2823
+ type: 'object',
2824
+ },
2825
+ {
2826
+ description:
2827
+ 'Seam is in the process of pushing an access group information update to the integrated access system.',
2828
+ properties: {
2829
+ created_at: {
2830
+ description:
2831
+ 'Date and time at which the mutation was created.',
2832
+ format: 'date-time',
2833
+ type: 'string',
2834
+ },
2835
+ from: {
2836
+ description: 'Old access group information.',
2837
+ properties: {
2838
+ name: {
2839
+ description: 'Name of the access group.',
2840
+ nullable: true,
2841
+ type: 'string',
2842
+ },
2843
+ },
2844
+ type: 'object',
2845
+ },
2846
+ message: {
2847
+ description: 'Detailed description of the mutation.',
2848
+ type: 'string',
2849
+ },
2850
+ mutation_code: {
2851
+ description:
2852
+ 'Mutation code to indicate that Seam is in the process of pushing updated access group information to the integrated access system.',
2853
+ enum: ['updating_group_information'],
2854
+ type: 'string',
2855
+ },
2856
+ to: {
2857
+ description: 'New access group information.',
2858
+ properties: {
2859
+ name: {
2860
+ description: 'Name of the access group.',
2861
+ nullable: true,
2862
+ type: 'string',
2863
+ },
2864
+ },
2865
+ type: 'object',
2866
+ },
2867
+ },
2868
+ required: [
2869
+ 'created_at',
2870
+ 'message',
2871
+ 'mutation_code',
2872
+ 'from',
2873
+ 'to',
2874
+ ],
2875
+ type: 'object',
2876
+ },
2877
+ {
2878
+ description:
2879
+ 'Seam is in the process of pushing an access schedule update to the integrated access system.',
2880
+ properties: {
2881
+ created_at: {
2882
+ description:
2883
+ 'Date and time at which the mutation was created.',
2884
+ format: 'date-time',
2885
+ type: 'string',
2886
+ },
2887
+ from: {
2888
+ description: 'Old access schedule information.',
2889
+ properties: {
2890
+ ends_at: {
2891
+ description: 'Ending time for the access schedule.',
2892
+ format: 'date-time',
2893
+ nullable: true,
2894
+ type: 'string',
2895
+ },
2896
+ starts_at: {
2897
+ description: 'Starting time for the access schedule.',
2898
+ format: 'date-time',
2899
+ nullable: true,
2900
+ type: 'string',
2901
+ },
2902
+ },
2903
+ required: ['starts_at', 'ends_at'],
2904
+ type: 'object',
2905
+ },
2906
+ message: {
2907
+ description: 'Detailed description of the mutation.',
2908
+ type: 'string',
2909
+ },
2910
+ mutation_code: {
2911
+ description:
2912
+ 'Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system.',
2913
+ enum: ['updating_access_schedule'],
2914
+ type: 'string',
2915
+ },
2916
+ to: {
2917
+ description: 'New access schedule information.',
2918
+ properties: {
2919
+ ends_at: {
2920
+ description: 'Ending time for the access schedule.',
2921
+ format: 'date-time',
2922
+ nullable: true,
2923
+ type: 'string',
2924
+ },
2925
+ starts_at: {
2926
+ description: 'Starting time for the access schedule.',
2927
+ format: 'date-time',
2928
+ nullable: true,
2929
+ type: 'string',
2930
+ },
2931
+ },
2932
+ required: ['starts_at', 'ends_at'],
2933
+ type: 'object',
2934
+ },
2935
+ },
2936
+ required: [
2937
+ 'created_at',
2938
+ 'message',
2939
+ 'mutation_code',
2940
+ 'from',
2941
+ 'to',
2942
+ ],
2943
+ type: 'object',
2944
+ },
2945
+ {
2946
+ description:
2947
+ 'Seam is in the process of pushing a user membership update to the integrated access system.',
2948
+ properties: {
2949
+ created_at: {
2950
+ description:
2951
+ 'Date and time at which the mutation was created.',
2952
+ format: 'date-time',
2953
+ type: 'string',
2954
+ },
2955
+ from: {
2956
+ description: 'Old user membership.',
2957
+ properties: {
2958
+ acs_user_id: {
2959
+ description: 'Old user ID.',
2960
+ format: 'uuid',
2961
+ nullable: true,
2962
+ type: 'string',
2963
+ },
2964
+ },
2965
+ required: ['acs_user_id'],
2966
+ type: 'object',
2967
+ },
2968
+ message: {
2969
+ description: 'Detailed description of the mutation.',
2970
+ type: 'string',
2971
+ },
2972
+ mutation_code: {
2973
+ description:
2974
+ 'Mutation code to indicate that Seam is in the process of pushing updated user membership information to the integrated access system.',
2975
+ enum: ['updating_user_membership'],
2976
+ type: 'string',
2977
+ },
2978
+ to: {
2979
+ description: 'New user membership.',
2980
+ properties: {
2981
+ acs_user_id: {
2982
+ description: 'New user ID.',
2983
+ format: 'uuid',
2984
+ nullable: true,
2985
+ type: 'string',
2986
+ },
2987
+ },
2988
+ required: ['acs_user_id'],
2989
+ type: 'object',
2990
+ },
2991
+ },
2992
+ required: [
2993
+ 'created_at',
2994
+ 'message',
2995
+ 'mutation_code',
2996
+ 'from',
2997
+ 'to',
2998
+ ],
2999
+ type: 'object',
3000
+ },
3001
+ {
3002
+ description:
3003
+ 'Seam is in the process of pushing an entrance membership update to the integrated access system.',
3004
+ properties: {
3005
+ created_at: {
3006
+ description:
3007
+ 'Date and time at which the mutation was created.',
3008
+ format: 'date-time',
3009
+ type: 'string',
3010
+ },
3011
+ from: {
3012
+ description: 'Old entrance membership.',
3013
+ properties: {
3014
+ acs_entrance_id: {
3015
+ description: 'Old entrance ID.',
3016
+ format: 'uuid',
3017
+ nullable: true,
3018
+ type: 'string',
3019
+ },
3020
+ },
3021
+ required: ['acs_entrance_id'],
3022
+ type: 'object',
3023
+ },
3024
+ message: {
3025
+ description: 'Detailed description of the mutation.',
3026
+ type: 'string',
3027
+ },
3028
+ mutation_code: {
3029
+ description:
3030
+ 'Mutation code to indicate that Seam is in the process of pushing updated entrance membership information to the integrated access system.',
3031
+ enum: ['updating_entrance_membership'],
3032
+ type: 'string',
3033
+ },
3034
+ to: {
3035
+ description: 'New entrance membership.',
3036
+ properties: {
3037
+ acs_entrance_id: {
3038
+ description: 'New entrance ID.',
3039
+ format: 'uuid',
3040
+ nullable: true,
3041
+ type: 'string',
3042
+ },
3043
+ },
3044
+ required: ['acs_entrance_id'],
3045
+ type: 'object',
3046
+ },
3047
+ },
3048
+ required: [
3049
+ 'created_at',
3050
+ 'message',
3051
+ 'mutation_code',
3052
+ 'from',
3053
+ 'to',
3054
+ ],
3055
+ type: 'object',
3056
+ },
3057
+ ],
3058
+ },
3059
+ type: 'array',
3060
+ },
2771
3061
  warnings: {
2772
3062
  description: 'Warnings associated with the `acs_access_group`.',
2773
3063
  items: {
@@ -2847,6 +3137,7 @@ export default {
2847
3137
  'external_type_display_name',
2848
3138
  'created_at',
2849
3139
  'warnings',
3140
+ 'pending_mutations',
2850
3141
  'is_managed',
2851
3142
  ],
2852
3143
  type: 'object',
@@ -26109,7 +26400,105 @@ export default {
26109
26400
  discriminator: { propertyName: 'warning_code' },
26110
26401
  oneOf: [
26111
26402
  {
26112
- description: 'Failed to set code on SmartThings device.',
26403
+ description: 'Failed to set code on SmartThings device.',
26404
+ properties: {
26405
+ created_at: {
26406
+ description:
26407
+ 'Date and time at which Seam created the warning.',
26408
+ format: 'date-time',
26409
+ type: 'string',
26410
+ },
26411
+ message: {
26412
+ description:
26413
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
26414
+ type: 'string',
26415
+ },
26416
+ warning_code: {
26417
+ description:
26418
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
26419
+ enum: ['smartthings_failed_to_set_access_code'],
26420
+ type: 'string',
26421
+ },
26422
+ },
26423
+ required: ['message', 'warning_code'],
26424
+ type: 'object',
26425
+ },
26426
+ {
26427
+ description: 'Duplicate access code detected.',
26428
+ properties: {
26429
+ created_at: {
26430
+ description:
26431
+ 'Date and time at which Seam created the warning.',
26432
+ format: 'date-time',
26433
+ type: 'string',
26434
+ },
26435
+ message: {
26436
+ description:
26437
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
26438
+ type: 'string',
26439
+ },
26440
+ warning_code: {
26441
+ description:
26442
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
26443
+ enum: ['schlage_detected_duplicate'],
26444
+ type: 'string',
26445
+ },
26446
+ },
26447
+ required: ['message', 'warning_code'],
26448
+ type: 'object',
26449
+ },
26450
+ {
26451
+ description:
26452
+ 'Received an error when attempting to create this code.',
26453
+ properties: {
26454
+ created_at: {
26455
+ description:
26456
+ 'Date and time at which Seam created the warning.',
26457
+ format: 'date-time',
26458
+ type: 'string',
26459
+ },
26460
+ message: {
26461
+ description:
26462
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
26463
+ type: 'string',
26464
+ },
26465
+ warning_code: {
26466
+ description:
26467
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
26468
+ enum: ['schlage_creation_outage'],
26469
+ type: 'string',
26470
+ },
26471
+ },
26472
+ required: ['message', 'warning_code'],
26473
+ type: 'object',
26474
+ },
26475
+ {
26476
+ description:
26477
+ 'Code was modified or removed externally after Seam successfully set it on the device.',
26478
+ properties: {
26479
+ created_at: {
26480
+ description:
26481
+ 'Date and time at which Seam created the warning.',
26482
+ format: 'date-time',
26483
+ type: 'string',
26484
+ },
26485
+ message: {
26486
+ description:
26487
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
26488
+ type: 'string',
26489
+ },
26490
+ warning_code: {
26491
+ description:
26492
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
26493
+ enum: ['code_modified_external_to_seam'],
26494
+ type: 'string',
26495
+ },
26496
+ },
26497
+ required: ['message', 'warning_code'],
26498
+ type: 'object',
26499
+ },
26500
+ {
26501
+ description: 'Delay in setting code on device.',
26113
26502
  properties: {
26114
26503
  created_at: {
26115
26504
  description:
@@ -26125,7 +26514,7 @@ export default {
26125
26514
  warning_code: {
26126
26515
  description:
26127
26516
  'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
26128
- enum: ['smartthings_failed_to_set_access_code'],
26517
+ enum: ['delay_in_setting_on_device'],
26129
26518
  type: 'string',
26130
26519
  },
26131
26520
  },
@@ -26133,7 +26522,7 @@ export default {
26133
26522
  type: 'object',
26134
26523
  },
26135
26524
  {
26136
- description: 'Duplicate access code detected.',
26525
+ description: 'Delay in removing code from device.',
26137
26526
  properties: {
26138
26527
  created_at: {
26139
26528
  description:
@@ -26149,7 +26538,7 @@ export default {
26149
26538
  warning_code: {
26150
26539
  description:
26151
26540
  'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
26152
- enum: ['schlage_detected_duplicate'],
26541
+ enum: ['delay_in_removing_from_device'],
26153
26542
  type: 'string',
26154
26543
  },
26155
26544
  },
@@ -26158,7 +26547,7 @@ export default {
26158
26547
  },
26159
26548
  {
26160
26549
  description:
26161
- 'Received an error when attempting to create this code.',
26550
+ 'Third-party integration detected that may cause access codes to fail.',
26162
26551
  properties: {
26163
26552
  created_at: {
26164
26553
  description:
@@ -26174,7 +26563,7 @@ export default {
26174
26563
  warning_code: {
26175
26564
  description:
26176
26565
  'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
26177
- enum: ['schlage_creation_outage'],
26566
+ enum: ['third_party_integration_detected'],
26178
26567
  type: 'string',
26179
26568
  },
26180
26569
  },
@@ -26183,7 +26572,7 @@ export default {
26183
26572
  },
26184
26573
  {
26185
26574
  description:
26186
- 'Code was modified or removed externally after Seam successfully set it on the device.',
26575
+ 'Access code has not yet been fully moved to the device.',
26187
26576
  properties: {
26188
26577
  created_at: {
26189
26578
  description:
@@ -26199,7 +26588,7 @@ export default {
26199
26588
  warning_code: {
26200
26589
  description:
26201
26590
  'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
26202
- enum: ['code_modified_external_to_seam'],
26591
+ enum: ['august_device_programming_delay'],
26203
26592
  type: 'string',
26204
26593
  },
26205
26594
  },
@@ -26207,7 +26596,7 @@ export default {
26207
26596
  type: 'object',
26208
26597
  },
26209
26598
  {
26210
- description: 'Delay in setting code on device.',
26599
+ description: 'August lock is temporarily offline.',
26211
26600
  properties: {
26212
26601
  created_at: {
26213
26602
  description:
@@ -26222,8 +26611,8 @@ export default {
26222
26611
  },
26223
26612
  warning_code: {
26224
26613
  description:
26225
- 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
26226
- enum: ['delay_in_setting_on_device'],
26614
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
26615
+ enum: ['august_lock_temporarily_offline'],
26227
26616
  type: 'string',
26228
26617
  },
26229
26618
  },
@@ -26231,7 +26620,7 @@ export default {
26231
26620
  type: 'object',
26232
26621
  },
26233
26622
  {
26234
- description: 'Delay in removing code from device.',
26623
+ description: 'Algopins must be used within 24 hours.',
26235
26624
  properties: {
26236
26625
  created_at: {
26237
26626
  description:
@@ -26247,7 +26636,7 @@ export default {
26247
26636
  warning_code: {
26248
26637
  description:
26249
26638
  'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
26250
- enum: ['delay_in_removing_from_device'],
26639
+ enum: ['igloo_algopin_must_be_used_within_24_hours'],
26251
26640
  type: 'string',
26252
26641
  },
26253
26642
  },
@@ -26256,7 +26645,7 @@ export default {
26256
26645
  },
26257
26646
  {
26258
26647
  description:
26259
- 'Third-party integration detected that may cause access codes to fail.',
26648
+ 'Management was transferred to another workspace.',
26260
26649
  properties: {
26261
26650
  created_at: {
26262
26651
  description:
@@ -26272,7 +26661,7 @@ export default {
26272
26661
  warning_code: {
26273
26662
  description:
26274
26663
  'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
26275
- enum: ['third_party_integration_detected'],
26664
+ enum: ['management_transferred'],
26276
26665
  type: 'string',
26277
26666
  },
26278
26667
  },
@@ -26281,7 +26670,7 @@ export default {
26281
26670
  },
26282
26671
  {
26283
26672
  description:
26284
- 'Access code has not yet been fully moved to the device.',
26673
+ 'Unable to confirm that the access code is set on Kwikset device.',
26285
26674
  properties: {
26286
26675
  created_at: {
26287
26676
  description:
@@ -26297,7 +26686,7 @@ export default {
26297
26686
  warning_code: {
26298
26687
  description:
26299
26688
  'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
26300
- enum: ['august_device_programming_delay'],
26689
+ enum: ['kwikset_unable_to_confirm_code'],
26301
26690
  type: 'string',
26302
26691
  },
26303
26692
  },
@@ -26305,7 +26694,8 @@ export default {
26305
26694
  type: 'object',
26306
26695
  },
26307
26696
  {
26308
- description: 'August lock is temporarily offline.',
26697
+ description:
26698
+ 'Access code is disabled on Ultraloq device. Re-enable through the Ultraloq mobile app.',
26309
26699
  properties: {
26310
26700
  created_at: {
26311
26701
  description:
@@ -26320,8 +26710,8 @@ export default {
26320
26710
  },
26321
26711
  warning_code: {
26322
26712
  description:
26323
- 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
26324
- enum: ['august_lock_temporarily_offline'],
26713
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
26714
+ enum: ['ultraloq_access_code_disabled'],
26325
26715
  type: 'string',
26326
26716
  },
26327
26717
  },
@@ -26329,7 +26719,7 @@ export default {
26329
26719
  type: 'object',
26330
26720
  },
26331
26721
  {
26332
- description: 'Algopins must be used within 24 hours.',
26722
+ description: 'Access code is being deleted.',
26333
26723
  properties: {
26334
26724
  created_at: {
26335
26725
  description:
@@ -26345,235 +26735,426 @@ export default {
26345
26735
  warning_code: {
26346
26736
  description:
26347
26737
  'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
26348
- enum: ['igloo_algopin_must_be_used_within_24_hours'],
26738
+ enum: ['being_deleted'],
26349
26739
  type: 'string',
26350
26740
  },
26351
26741
  },
26352
26742
  required: ['message', 'warning_code'],
26353
26743
  type: 'object',
26354
26744
  },
26745
+ ],
26746
+ },
26747
+ type: 'array',
26748
+ 'x-variant-groups': {
26749
+ access_codes: { name: 'Access Codes' },
26750
+ hardware: { name: 'Hardware' },
26751
+ locks: { name: 'Locks' },
26752
+ noise_sensors: { name: 'Noise Sensors' },
26753
+ phones: { name: 'Phones' },
26754
+ provider_metadata: { name: 'Provider Metadata' },
26755
+ thermostats: { name: 'Thermostats' },
26756
+ },
26757
+ },
26758
+ workspace_id: {
26759
+ description:
26760
+ 'Unique identifier for the Seam workspace associated with the access code.',
26761
+ format: 'uuid',
26762
+ type: 'string',
26763
+ },
26764
+ },
26765
+ required: [
26766
+ 'workspace_id',
26767
+ 'type',
26768
+ 'access_code_id',
26769
+ 'device_id',
26770
+ 'name',
26771
+ 'code',
26772
+ 'created_at',
26773
+ 'errors',
26774
+ 'warnings',
26775
+ 'is_managed',
26776
+ 'status',
26777
+ 'dormakaba_oracode_metadata',
26778
+ ],
26779
+ type: 'object',
26780
+ 'x-route-path': '/access_codes/unmanaged',
26781
+ },
26782
+ unmanaged_acs_access_group: {
26783
+ properties: {
26784
+ access_group_type: {
26785
+ deprecated: true,
26786
+ enum: [
26787
+ 'pti_unit',
26788
+ 'pti_access_level',
26789
+ 'salto_ks_access_group',
26790
+ 'brivo_group',
26791
+ 'salto_space_group',
26792
+ 'dormakaba_community_access_group',
26793
+ 'dormakaba_ambiance_access_group',
26794
+ ],
26795
+ type: 'string',
26796
+ 'x-deprecated': 'Use `external_type`.',
26797
+ },
26798
+ access_group_type_display_name: {
26799
+ deprecated: true,
26800
+ type: 'string',
26801
+ 'x-deprecated': 'Use `external_type_display_name`.',
26802
+ },
26803
+ access_schedule: {
26804
+ description:
26805
+ "`starts_at` and `ends_at` timestamps for the access group's access.",
26806
+ properties: {
26807
+ ends_at: {
26808
+ description:
26809
+ "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
26810
+ format: 'date-time',
26811
+ nullable: true,
26812
+ type: 'string',
26813
+ },
26814
+ starts_at: {
26815
+ description:
26816
+ "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
26817
+ format: 'date-time',
26818
+ type: 'string',
26819
+ },
26820
+ },
26821
+ required: ['starts_at', 'ends_at'],
26822
+ type: 'object',
26823
+ },
26824
+ acs_access_group_id: {
26825
+ description: 'ID of the access group.',
26826
+ format: 'uuid',
26827
+ type: 'string',
26828
+ },
26829
+ acs_system_id: {
26830
+ description:
26831
+ 'ID of the access control system that contains the access group.',
26832
+ format: 'uuid',
26833
+ type: 'string',
26834
+ },
26835
+ connected_account_id: {
26836
+ description:
26837
+ 'ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) that contains the access group.',
26838
+ format: 'uuid',
26839
+ type: 'string',
26840
+ },
26841
+ created_at: {
26842
+ description: 'Date and time at which the access group was created.',
26843
+ format: 'date-time',
26844
+ type: 'string',
26845
+ },
26846
+ display_name: { type: 'string' },
26847
+ external_type: {
26848
+ description:
26849
+ 'Brand-specific terminology for the access group type.',
26850
+ enum: [
26851
+ 'pti_unit',
26852
+ 'pti_access_level',
26853
+ 'salto_ks_access_group',
26854
+ 'brivo_group',
26855
+ 'salto_space_group',
26856
+ 'dormakaba_community_access_group',
26857
+ 'dormakaba_ambiance_access_group',
26858
+ ],
26859
+ type: 'string',
26860
+ },
26861
+ external_type_display_name: {
26862
+ description:
26863
+ 'Display name that corresponds to the brand-specific terminology for the access group type.',
26864
+ type: 'string',
26865
+ },
26866
+ is_managed: { enum: [false], type: 'boolean' },
26867
+ name: { description: 'Name of the access group.', type: 'string' },
26868
+ pending_mutations: {
26869
+ description:
26870
+ 'Collection of pending mutations for the access group. Represents operations that have been requested but not yet completed on the integrated access system.',
26871
+ items: {
26872
+ discriminator: { propertyName: 'mutation_code' },
26873
+ oneOf: [
26874
+ {
26875
+ description:
26876
+ 'Seam is in the process of pushing an access group creation to the integrated access system.',
26877
+ properties: {
26878
+ created_at: {
26879
+ description:
26880
+ 'Date and time at which the mutation was created.',
26881
+ format: 'date-time',
26882
+ type: 'string',
26883
+ },
26884
+ message: {
26885
+ description: 'Detailed description of the mutation.',
26886
+ type: 'string',
26887
+ },
26888
+ mutation_code: {
26889
+ description:
26890
+ 'Mutation code to indicate that Seam is in the process of pushing an access group creation to the integrated access system.',
26891
+ enum: ['creating'],
26892
+ type: 'string',
26893
+ },
26894
+ },
26895
+ required: ['created_at', 'message', 'mutation_code'],
26896
+ type: 'object',
26897
+ },
26355
26898
  {
26356
26899
  description:
26357
- 'Management was transferred to another workspace.',
26900
+ 'Seam is in the process of pushing an access group deletion to the integrated access system.',
26358
26901
  properties: {
26359
26902
  created_at: {
26360
26903
  description:
26361
- 'Date and time at which Seam created the warning.',
26904
+ 'Date and time at which the mutation was created.',
26362
26905
  format: 'date-time',
26363
26906
  type: 'string',
26364
26907
  },
26365
26908
  message: {
26909
+ description: 'Detailed description of the mutation.',
26910
+ type: 'string',
26911
+ },
26912
+ mutation_code: {
26366
26913
  description:
26367
- 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
26914
+ 'Mutation code to indicate that Seam is in the process of pushing an access group deletion to the integrated access system.',
26915
+ enum: ['deleting'],
26368
26916
  type: 'string',
26369
26917
  },
26370
- warning_code: {
26918
+ },
26919
+ required: ['created_at', 'message', 'mutation_code'],
26920
+ type: 'object',
26921
+ },
26922
+ {
26923
+ description:
26924
+ 'Seam is in the process of pushing an access group information update to the integrated access system.',
26925
+ properties: {
26926
+ created_at: {
26371
26927
  description:
26372
- 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
26373
- enum: ['management_transferred'],
26928
+ 'Date and time at which the mutation was created.',
26929
+ format: 'date-time',
26930
+ type: 'string',
26931
+ },
26932
+ from: {
26933
+ description: 'Old access group information.',
26934
+ properties: {
26935
+ name: {
26936
+ description: 'Name of the access group.',
26937
+ nullable: true,
26938
+ type: 'string',
26939
+ },
26940
+ },
26941
+ type: 'object',
26942
+ },
26943
+ message: {
26944
+ description: 'Detailed description of the mutation.',
26945
+ type: 'string',
26946
+ },
26947
+ mutation_code: {
26948
+ description:
26949
+ 'Mutation code to indicate that Seam is in the process of pushing updated access group information to the integrated access system.',
26950
+ enum: ['updating_group_information'],
26374
26951
  type: 'string',
26375
26952
  },
26953
+ to: {
26954
+ description: 'New access group information.',
26955
+ properties: {
26956
+ name: {
26957
+ description: 'Name of the access group.',
26958
+ nullable: true,
26959
+ type: 'string',
26960
+ },
26961
+ },
26962
+ type: 'object',
26963
+ },
26376
26964
  },
26377
- required: ['message', 'warning_code'],
26965
+ required: [
26966
+ 'created_at',
26967
+ 'message',
26968
+ 'mutation_code',
26969
+ 'from',
26970
+ 'to',
26971
+ ],
26378
26972
  type: 'object',
26379
26973
  },
26380
26974
  {
26381
26975
  description:
26382
- 'Unable to confirm that the access code is set on Kwikset device.',
26976
+ 'Seam is in the process of pushing an access schedule update to the integrated access system.',
26383
26977
  properties: {
26384
26978
  created_at: {
26385
26979
  description:
26386
- 'Date and time at which Seam created the warning.',
26980
+ 'Date and time at which the mutation was created.',
26387
26981
  format: 'date-time',
26388
26982
  type: 'string',
26389
26983
  },
26984
+ from: {
26985
+ description: 'Old access schedule information.',
26986
+ properties: {
26987
+ ends_at: {
26988
+ description: 'Ending time for the access schedule.',
26989
+ format: 'date-time',
26990
+ nullable: true,
26991
+ type: 'string',
26992
+ },
26993
+ starts_at: {
26994
+ description: 'Starting time for the access schedule.',
26995
+ format: 'date-time',
26996
+ nullable: true,
26997
+ type: 'string',
26998
+ },
26999
+ },
27000
+ required: ['starts_at', 'ends_at'],
27001
+ type: 'object',
27002
+ },
26390
27003
  message: {
26391
- description:
26392
- 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
27004
+ description: 'Detailed description of the mutation.',
26393
27005
  type: 'string',
26394
27006
  },
26395
- warning_code: {
27007
+ mutation_code: {
26396
27008
  description:
26397
- 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
26398
- enum: ['kwikset_unable_to_confirm_code'],
27009
+ 'Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system.',
27010
+ enum: ['updating_access_schedule'],
26399
27011
  type: 'string',
26400
27012
  },
27013
+ to: {
27014
+ description: 'New access schedule information.',
27015
+ properties: {
27016
+ ends_at: {
27017
+ description: 'Ending time for the access schedule.',
27018
+ format: 'date-time',
27019
+ nullable: true,
27020
+ type: 'string',
27021
+ },
27022
+ starts_at: {
27023
+ description: 'Starting time for the access schedule.',
27024
+ format: 'date-time',
27025
+ nullable: true,
27026
+ type: 'string',
27027
+ },
27028
+ },
27029
+ required: ['starts_at', 'ends_at'],
27030
+ type: 'object',
27031
+ },
26401
27032
  },
26402
- required: ['message', 'warning_code'],
27033
+ required: [
27034
+ 'created_at',
27035
+ 'message',
27036
+ 'mutation_code',
27037
+ 'from',
27038
+ 'to',
27039
+ ],
26403
27040
  type: 'object',
26404
27041
  },
26405
27042
  {
26406
27043
  description:
26407
- 'Access code is disabled on Ultraloq device. Re-enable through the Ultraloq mobile app.',
27044
+ 'Seam is in the process of pushing a user membership update to the integrated access system.',
26408
27045
  properties: {
26409
27046
  created_at: {
26410
27047
  description:
26411
- 'Date and time at which Seam created the warning.',
27048
+ 'Date and time at which the mutation was created.',
26412
27049
  format: 'date-time',
26413
27050
  type: 'string',
26414
27051
  },
27052
+ from: {
27053
+ description: 'Old user membership.',
27054
+ properties: {
27055
+ acs_user_id: {
27056
+ description: 'Old user ID.',
27057
+ format: 'uuid',
27058
+ nullable: true,
27059
+ type: 'string',
27060
+ },
27061
+ },
27062
+ required: ['acs_user_id'],
27063
+ type: 'object',
27064
+ },
26415
27065
  message: {
26416
- description:
26417
- 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
27066
+ description: 'Detailed description of the mutation.',
26418
27067
  type: 'string',
26419
27068
  },
26420
- warning_code: {
27069
+ mutation_code: {
26421
27070
  description:
26422
- 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
26423
- enum: ['ultraloq_access_code_disabled'],
27071
+ 'Mutation code to indicate that Seam is in the process of pushing updated user membership information to the integrated access system.',
27072
+ enum: ['updating_user_membership'],
26424
27073
  type: 'string',
26425
27074
  },
27075
+ to: {
27076
+ description: 'New user membership.',
27077
+ properties: {
27078
+ acs_user_id: {
27079
+ description: 'New user ID.',
27080
+ format: 'uuid',
27081
+ nullable: true,
27082
+ type: 'string',
27083
+ },
27084
+ },
27085
+ required: ['acs_user_id'],
27086
+ type: 'object',
27087
+ },
26426
27088
  },
26427
- required: ['message', 'warning_code'],
27089
+ required: [
27090
+ 'created_at',
27091
+ 'message',
27092
+ 'mutation_code',
27093
+ 'from',
27094
+ 'to',
27095
+ ],
26428
27096
  type: 'object',
26429
27097
  },
26430
27098
  {
26431
- description: 'Access code is being deleted.',
27099
+ description:
27100
+ 'Seam is in the process of pushing an entrance membership update to the integrated access system.',
26432
27101
  properties: {
26433
27102
  created_at: {
26434
27103
  description:
26435
- 'Date and time at which Seam created the warning.',
27104
+ 'Date and time at which the mutation was created.',
26436
27105
  format: 'date-time',
26437
27106
  type: 'string',
26438
27107
  },
27108
+ from: {
27109
+ description: 'Old entrance membership.',
27110
+ properties: {
27111
+ acs_entrance_id: {
27112
+ description: 'Old entrance ID.',
27113
+ format: 'uuid',
27114
+ nullable: true,
27115
+ type: 'string',
27116
+ },
27117
+ },
27118
+ required: ['acs_entrance_id'],
27119
+ type: 'object',
27120
+ },
26439
27121
  message: {
26440
- description:
26441
- 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
27122
+ description: 'Detailed description of the mutation.',
26442
27123
  type: 'string',
26443
27124
  },
26444
- warning_code: {
27125
+ mutation_code: {
26445
27126
  description:
26446
- 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
26447
- enum: ['being_deleted'],
27127
+ 'Mutation code to indicate that Seam is in the process of pushing updated entrance membership information to the integrated access system.',
27128
+ enum: ['updating_entrance_membership'],
26448
27129
  type: 'string',
26449
27130
  },
27131
+ to: {
27132
+ description: 'New entrance membership.',
27133
+ properties: {
27134
+ acs_entrance_id: {
27135
+ description: 'New entrance ID.',
27136
+ format: 'uuid',
27137
+ nullable: true,
27138
+ type: 'string',
27139
+ },
27140
+ },
27141
+ required: ['acs_entrance_id'],
27142
+ type: 'object',
27143
+ },
26450
27144
  },
26451
- required: ['message', 'warning_code'],
27145
+ required: [
27146
+ 'created_at',
27147
+ 'message',
27148
+ 'mutation_code',
27149
+ 'from',
27150
+ 'to',
27151
+ ],
26452
27152
  type: 'object',
26453
27153
  },
26454
27154
  ],
26455
27155
  },
26456
27156
  type: 'array',
26457
- 'x-variant-groups': {
26458
- access_codes: { name: 'Access Codes' },
26459
- hardware: { name: 'Hardware' },
26460
- locks: { name: 'Locks' },
26461
- noise_sensors: { name: 'Noise Sensors' },
26462
- phones: { name: 'Phones' },
26463
- provider_metadata: { name: 'Provider Metadata' },
26464
- thermostats: { name: 'Thermostats' },
26465
- },
26466
- },
26467
- workspace_id: {
26468
- description:
26469
- 'Unique identifier for the Seam workspace associated with the access code.',
26470
- format: 'uuid',
26471
- type: 'string',
26472
- },
26473
- },
26474
- required: [
26475
- 'workspace_id',
26476
- 'type',
26477
- 'access_code_id',
26478
- 'device_id',
26479
- 'name',
26480
- 'code',
26481
- 'created_at',
26482
- 'errors',
26483
- 'warnings',
26484
- 'is_managed',
26485
- 'status',
26486
- 'dormakaba_oracode_metadata',
26487
- ],
26488
- type: 'object',
26489
- 'x-route-path': '/access_codes/unmanaged',
26490
- },
26491
- unmanaged_acs_access_group: {
26492
- properties: {
26493
- access_group_type: {
26494
- deprecated: true,
26495
- enum: [
26496
- 'pti_unit',
26497
- 'pti_access_level',
26498
- 'salto_ks_access_group',
26499
- 'brivo_group',
26500
- 'salto_space_group',
26501
- 'dormakaba_community_access_group',
26502
- 'dormakaba_ambiance_access_group',
26503
- ],
26504
- type: 'string',
26505
- 'x-deprecated': 'Use `external_type`.',
26506
- },
26507
- access_group_type_display_name: {
26508
- deprecated: true,
26509
- type: 'string',
26510
- 'x-deprecated': 'Use `external_type_display_name`.',
26511
- },
26512
- access_schedule: {
26513
- description:
26514
- "`starts_at` and `ends_at` timestamps for the access group's access.",
26515
- properties: {
26516
- ends_at: {
26517
- description:
26518
- "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
26519
- format: 'date-time',
26520
- nullable: true,
26521
- type: 'string',
26522
- },
26523
- starts_at: {
26524
- description:
26525
- "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
26526
- format: 'date-time',
26527
- type: 'string',
26528
- },
26529
- },
26530
- required: ['starts_at', 'ends_at'],
26531
- type: 'object',
26532
- },
26533
- acs_access_group_id: {
26534
- description: 'ID of the access group.',
26535
- format: 'uuid',
26536
- type: 'string',
26537
- },
26538
- acs_system_id: {
26539
- description:
26540
- 'ID of the access control system that contains the access group.',
26541
- format: 'uuid',
26542
- type: 'string',
26543
- },
26544
- connected_account_id: {
26545
- description:
26546
- 'ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) that contains the access group.',
26547
- format: 'uuid',
26548
- type: 'string',
26549
- },
26550
- created_at: {
26551
- description: 'Date and time at which the access group was created.',
26552
- format: 'date-time',
26553
- type: 'string',
26554
- },
26555
- display_name: { type: 'string' },
26556
- external_type: {
26557
- description:
26558
- 'Brand-specific terminology for the access group type.',
26559
- enum: [
26560
- 'pti_unit',
26561
- 'pti_access_level',
26562
- 'salto_ks_access_group',
26563
- 'brivo_group',
26564
- 'salto_space_group',
26565
- 'dormakaba_community_access_group',
26566
- 'dormakaba_ambiance_access_group',
26567
- ],
26568
- type: 'string',
26569
27157
  },
26570
- external_type_display_name: {
26571
- description:
26572
- 'Display name that corresponds to the brand-specific terminology for the access group type.',
26573
- type: 'string',
26574
- },
26575
- is_managed: { enum: [false], type: 'boolean' },
26576
- name: { description: 'Name of the access group.', type: 'string' },
26577
27158
  warnings: {
26578
27159
  description: 'Warnings associated with the `acs_access_group`.',
26579
27160
  items: {
@@ -26653,6 +27234,7 @@ export default {
26653
27234
  'external_type_display_name',
26654
27235
  'created_at',
26655
27236
  'warnings',
27237
+ 'pending_mutations',
26656
27238
  'is_managed',
26657
27239
  ],
26658
27240
  type: 'object',