@seamapi/types 1.35.0 → 1.37.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 (69) hide show
  1. package/dist/connect.cjs +110 -160
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +213 -247
  4. package/lib/seam/connect/openapi.d.ts +170 -206
  5. package/lib/seam/connect/openapi.js +103 -153
  6. package/lib/seam/connect/openapi.js.map +1 -1
  7. package/lib/seam/connect/route-types.d.ts +43 -41
  8. package/lib/seam/connect/unstable/model-types.d.ts +1 -1
  9. package/lib/seam/connect/unstable/models/access-codes/index.d.ts +2 -0
  10. package/lib/seam/connect/unstable/models/access-codes/index.js +3 -0
  11. package/lib/seam/connect/unstable/models/access-codes/index.js.map +1 -0
  12. package/lib/seam/connect/unstable/models/access-codes/managed-access-code.d.ts +63 -0
  13. package/lib/seam/connect/unstable/models/access-codes/managed-access-code.js +23 -0
  14. package/lib/seam/connect/unstable/models/access-codes/managed-access-code.js.map +1 -0
  15. package/lib/seam/connect/unstable/models/access-codes/unmanaged-access-code.d.ts +42 -0
  16. package/lib/seam/connect/unstable/models/access-codes/unmanaged-access-code.js +21 -0
  17. package/lib/seam/connect/unstable/models/access-codes/unmanaged-access-code.js.map +1 -0
  18. package/lib/seam/connect/unstable/models/acs/system.d.ts +7 -7
  19. package/lib/seam/connect/unstable/models/acs/system.js +5 -1
  20. package/lib/seam/connect/unstable/models/acs/system.js.map +1 -1
  21. package/lib/seam/connect/unstable/models/capability-properties/index.d.ts +2 -2
  22. package/lib/seam/connect/unstable/models/capability-properties/index.js +2 -2
  23. package/lib/seam/connect/unstable/models/capability-properties/index.js.map +1 -1
  24. package/lib/seam/connect/unstable/models/devices/capabilities-supported.js.map +1 -0
  25. package/lib/seam/connect/unstable/models/{device-metadata.d.ts → devices/device-metadata.d.ts} +1 -0
  26. package/lib/seam/connect/unstable/models/devices/device-metadata.js.map +1 -0
  27. package/lib/seam/connect/unstable/models/devices/device-type.js.map +1 -0
  28. package/lib/seam/connect/unstable/models/devices/index.d.ts +5 -0
  29. package/lib/seam/connect/unstable/models/devices/index.js +6 -0
  30. package/lib/seam/connect/unstable/models/devices/index.js.map +1 -0
  31. package/lib/seam/connect/unstable/models/{managed-device.js → devices/managed-device.js} +1 -1
  32. package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -0
  33. package/lib/seam/connect/unstable/models/devices/unmanaged-device.js.map +1 -0
  34. package/lib/seam/connect/unstable/models/index.d.ts +2 -4
  35. package/lib/seam/connect/unstable/models/index.js +2 -4
  36. package/lib/seam/connect/unstable/models/index.js.map +1 -1
  37. package/lib/seam/connect/unstable/schemas.d.ts +1 -1
  38. package/lib/seam/connect/unstable/schemas.js +1 -1
  39. package/lib/seam/connect/unstable/schemas.js.map +1 -1
  40. package/package.json +1 -1
  41. package/src/lib/seam/connect/openapi.ts +103 -153
  42. package/src/lib/seam/connect/route-types.ts +55 -52
  43. package/src/lib/seam/connect/unstable/model-types.ts +3 -0
  44. package/src/lib/seam/connect/unstable/models/access-codes/index.ts +2 -0
  45. package/src/lib/seam/connect/unstable/models/access-codes/managed-access-code.ts +25 -0
  46. package/src/lib/seam/connect/unstable/models/access-codes/unmanaged-access-code.ts +24 -0
  47. package/src/lib/seam/connect/unstable/models/acs/system.ts +5 -1
  48. package/src/lib/seam/connect/unstable/models/capability-properties/index.ts +2 -0
  49. package/src/lib/seam/connect/unstable/models/{device-metadata.ts → devices/device-metadata.ts} +2 -0
  50. package/src/lib/seam/connect/unstable/models/devices/index.ts +5 -0
  51. package/src/lib/seam/connect/unstable/models/{managed-device.ts → devices/managed-device.ts} +1 -1
  52. package/src/lib/seam/connect/unstable/models/index.ts +2 -4
  53. package/src/lib/seam/connect/unstable/schemas.ts +4 -0
  54. package/lib/seam/connect/unstable/models/capabilities-supported.js.map +0 -1
  55. package/lib/seam/connect/unstable/models/device-metadata.js.map +0 -1
  56. package/lib/seam/connect/unstable/models/device-type.js.map +0 -1
  57. package/lib/seam/connect/unstable/models/managed-device.js.map +0 -1
  58. package/lib/seam/connect/unstable/models/unmanaged-device.js.map +0 -1
  59. /package/lib/seam/connect/unstable/models/{capabilities-supported.d.ts → devices/capabilities-supported.d.ts} +0 -0
  60. /package/lib/seam/connect/unstable/models/{capabilities-supported.js → devices/capabilities-supported.js} +0 -0
  61. /package/lib/seam/connect/unstable/models/{device-metadata.js → devices/device-metadata.js} +0 -0
  62. /package/lib/seam/connect/unstable/models/{device-type.d.ts → devices/device-type.d.ts} +0 -0
  63. /package/lib/seam/connect/unstable/models/{device-type.js → devices/device-type.js} +0 -0
  64. /package/lib/seam/connect/unstable/models/{managed-device.d.ts → devices/managed-device.d.ts} +0 -0
  65. /package/lib/seam/connect/unstable/models/{unmanaged-device.d.ts → devices/unmanaged-device.d.ts} +0 -0
  66. /package/lib/seam/connect/unstable/models/{unmanaged-device.js → devices/unmanaged-device.js} +0 -0
  67. /package/src/lib/seam/connect/unstable/models/{capabilities-supported.ts → devices/capabilities-supported.ts} +0 -0
  68. /package/src/lib/seam/connect/unstable/models/{device-type.ts → devices/device-type.ts} +0 -0
  69. /package/src/lib/seam/connect/unstable/models/{unmanaged-device.ts → devices/unmanaged-device.ts} +0 -0
@@ -76,6 +76,7 @@ declare const _default: {
76
76
  };
77
77
  ends_at: {
78
78
  format: string;
79
+ nullable: boolean;
79
80
  type: string;
80
81
  };
81
82
  errors: {
@@ -94,12 +95,6 @@ declare const _default: {
94
95
  enum: boolean[];
95
96
  type: string;
96
97
  };
97
- is_offline_access_code: {
98
- type: string;
99
- };
100
- is_one_time_use: {
101
- type: string;
102
- };
103
98
  is_scheduled_on_device: {
104
99
  type: string;
105
100
  };
@@ -117,6 +112,7 @@ declare const _default: {
117
112
  };
118
113
  starts_at: {
119
114
  format: string;
115
+ nullable: boolean;
120
116
  type: string;
121
117
  };
122
118
  status: {
@@ -1959,6 +1955,60 @@ declare const _default: {
1959
1955
  required: string[];
1960
1956
  type: string;
1961
1957
  };
1958
+ unmanaged_access_code: {
1959
+ properties: {
1960
+ access_code_id: {
1961
+ format: string;
1962
+ type: string;
1963
+ };
1964
+ code: {
1965
+ nullable: boolean;
1966
+ type: string;
1967
+ };
1968
+ created_at: {
1969
+ format: string;
1970
+ type: string;
1971
+ };
1972
+ device_id: {
1973
+ format: string;
1974
+ type: string;
1975
+ };
1976
+ ends_at: {
1977
+ format: string;
1978
+ nullable: boolean;
1979
+ type: string;
1980
+ };
1981
+ errors: {
1982
+ nullable: boolean;
1983
+ };
1984
+ is_managed: {
1985
+ enum: boolean[];
1986
+ type: string;
1987
+ };
1988
+ name: {
1989
+ nullable: boolean;
1990
+ type: string;
1991
+ };
1992
+ starts_at: {
1993
+ format: string;
1994
+ nullable: boolean;
1995
+ type: string;
1996
+ };
1997
+ status: {
1998
+ enum: string[];
1999
+ type: string;
2000
+ };
2001
+ type: {
2002
+ enum: string[];
2003
+ type: string;
2004
+ };
2005
+ warnings: {
2006
+ nullable: boolean;
2007
+ };
2008
+ };
2009
+ required: string[];
2010
+ type: string;
2011
+ };
1962
2012
  unmanaged_device: {
1963
2013
  properties: {
1964
2014
  capabilities_supported: {
@@ -2166,6 +2216,16 @@ declare const _default: {
2166
2216
  is_external_modification_allowed: {
2167
2217
  type: string;
2168
2218
  };
2219
+ is_offline_access_code: {
2220
+ type: string;
2221
+ };
2222
+ is_one_time_use: {
2223
+ type: string;
2224
+ };
2225
+ max_time_rounding: {
2226
+ enum: string[];
2227
+ type: string;
2228
+ };
2169
2229
  name: {
2170
2230
  type: string;
2171
2231
  };
@@ -2182,6 +2242,9 @@ declare const _default: {
2182
2242
  use_backup_access_code_pool: {
2183
2243
  type: string;
2184
2244
  };
2245
+ use_offline_access_code: {
2246
+ type: string;
2247
+ };
2185
2248
  };
2186
2249
  required: string[];
2187
2250
  type: string;
@@ -2281,6 +2344,16 @@ declare const _default: {
2281
2344
  is_external_modification_allowed: {
2282
2345
  type: string;
2283
2346
  };
2347
+ is_offline_access_code: {
2348
+ type: string;
2349
+ };
2350
+ is_one_time_use: {
2351
+ type: string;
2352
+ };
2353
+ max_time_rounding: {
2354
+ enum: string[];
2355
+ type: string;
2356
+ };
2284
2357
  name: {
2285
2358
  type: string;
2286
2359
  };
@@ -2293,6 +2366,9 @@ declare const _default: {
2293
2366
  use_backup_access_code_pool: {
2294
2367
  type: string;
2295
2368
  };
2369
+ use_offline_access_code: {
2370
+ type: string;
2371
+ };
2296
2372
  };
2297
2373
  required: string[];
2298
2374
  type: string;
@@ -2390,6 +2466,16 @@ declare const _default: {
2390
2466
  is_external_modification_allowed: {
2391
2467
  type: string;
2392
2468
  };
2469
+ is_offline_access_code: {
2470
+ type: string;
2471
+ };
2472
+ is_one_time_use: {
2473
+ type: string;
2474
+ };
2475
+ max_time_rounding: {
2476
+ enum: string[];
2477
+ type: string;
2478
+ };
2393
2479
  name: {
2394
2480
  type: string;
2395
2481
  };
@@ -2402,6 +2488,9 @@ declare const _default: {
2402
2488
  use_backup_access_code_pool: {
2403
2489
  type: string;
2404
2490
  };
2491
+ use_offline_access_code: {
2492
+ type: string;
2493
+ };
2405
2494
  };
2406
2495
  required: string[];
2407
2496
  type: string;
@@ -2866,95 +2955,7 @@ declare const _default: {
2866
2955
  schema: {
2867
2956
  properties: {
2868
2957
  access_code: {
2869
- oneOf: ({
2870
- properties: {
2871
- access_code_id: {
2872
- format: string;
2873
- type: string;
2874
- };
2875
- code: {
2876
- nullable: boolean;
2877
- type: string;
2878
- };
2879
- created_at: {
2880
- oneOf: ({
2881
- type: string;
2882
- format?: never;
2883
- } | {
2884
- format: string;
2885
- type: string;
2886
- })[];
2887
- };
2888
- ends_at: {
2889
- format: string;
2890
- nullable: boolean;
2891
- type: string;
2892
- };
2893
- is_managed: {
2894
- enum: boolean[];
2895
- type: string;
2896
- };
2897
- starts_at: {
2898
- format: string;
2899
- nullable: boolean;
2900
- type: string;
2901
- };
2902
- status: {
2903
- enum: string[];
2904
- type: string;
2905
- };
2906
- type: {
2907
- enum: string[];
2908
- type: string;
2909
- };
2910
- };
2911
- required: string[];
2912
- type: string;
2913
- } | {
2914
- properties: {
2915
- access_code_id: {
2916
- format: string;
2917
- type: string;
2918
- };
2919
- code: {
2920
- nullable: boolean;
2921
- type: string;
2922
- };
2923
- created_at: {
2924
- oneOf: ({
2925
- type: string;
2926
- format?: never;
2927
- } | {
2928
- format: string;
2929
- type: string;
2930
- })[];
2931
- };
2932
- ends_at: {
2933
- nullable: boolean;
2934
- type: string;
2935
- format?: never;
2936
- };
2937
- is_managed: {
2938
- enum: boolean[];
2939
- type: string;
2940
- };
2941
- starts_at: {
2942
- nullable: boolean;
2943
- type: string;
2944
- format?: never;
2945
- };
2946
- status: {
2947
- enum: string[];
2948
- type: string;
2949
- };
2950
- type: {
2951
- enum: string[];
2952
- type: string;
2953
- };
2954
- };
2955
- required: string[];
2956
- type: string;
2957
- })[];
2958
+ $ref: string;
2958
2959
  };
2959
2960
  ok: {
2960
2961
  type: string;
@@ -3255,58 +3256,7 @@ declare const _default: {
3255
3256
  schema: {
3256
3257
  properties: {
3257
3258
  access_code: {
3258
- properties: {
3259
- access_code_id: {
3260
- format: string;
3261
- type: string;
3262
- };
3263
- code: {
3264
- nullable: boolean;
3265
- type: string;
3266
- };
3267
- created_at: {
3268
- format: string;
3269
- type: string;
3270
- };
3271
- device_id: {
3272
- format: string;
3273
- type: string;
3274
- };
3275
- ends_at: {
3276
- format: string;
3277
- nullable: boolean;
3278
- type: string;
3279
- };
3280
- errors: {
3281
- nullable: boolean;
3282
- };
3283
- is_managed: {
3284
- enum: boolean[];
3285
- type: string;
3286
- };
3287
- name: {
3288
- nullable: boolean;
3289
- type: string;
3290
- };
3291
- starts_at: {
3292
- format: string;
3293
- nullable: boolean;
3294
- type: string;
3295
- };
3296
- status: {
3297
- enum: string[];
3298
- type: string;
3299
- };
3300
- type: {
3301
- enum: string[];
3302
- type: string;
3303
- };
3304
- warnings: {
3305
- nullable: boolean;
3306
- };
3307
- };
3308
- required: string[];
3309
- type: string;
3259
+ $ref: string;
3310
3260
  };
3311
3261
  ok: {
3312
3262
  type: string;
@@ -3379,58 +3329,7 @@ declare const _default: {
3379
3329
  properties: {
3380
3330
  access_codes: {
3381
3331
  items: {
3382
- properties: {
3383
- access_code_id: {
3384
- format: string;
3385
- type: string;
3386
- };
3387
- code: {
3388
- nullable: boolean;
3389
- type: string;
3390
- };
3391
- created_at: {
3392
- format: string;
3393
- type: string;
3394
- };
3395
- device_id: {
3396
- format: string;
3397
- type: string;
3398
- };
3399
- ends_at: {
3400
- format: string;
3401
- nullable: boolean;
3402
- type: string;
3403
- };
3404
- errors: {
3405
- nullable: boolean;
3406
- };
3407
- is_managed: {
3408
- enum: boolean[];
3409
- type: string;
3410
- };
3411
- name: {
3412
- nullable: boolean;
3413
- type: string;
3414
- };
3415
- starts_at: {
3416
- format: string;
3417
- nullable: boolean;
3418
- type: string;
3419
- };
3420
- status: {
3421
- enum: string[];
3422
- type: string;
3423
- };
3424
- type: {
3425
- enum: string[];
3426
- type: string;
3427
- };
3428
- warnings: {
3429
- nullable: boolean;
3430
- };
3431
- };
3432
- required: string[];
3433
- type: string;
3332
+ $ref: string;
3434
3333
  };
3435
3334
  type: string;
3436
3335
  };
@@ -3664,6 +3563,16 @@ declare const _default: {
3664
3563
  is_managed: {
3665
3564
  type: string;
3666
3565
  };
3566
+ is_offline_access_code: {
3567
+ type: string;
3568
+ };
3569
+ is_one_time_use: {
3570
+ type: string;
3571
+ };
3572
+ max_time_rounding: {
3573
+ enum: string[];
3574
+ type: string;
3575
+ };
3667
3576
  name: {
3668
3577
  type: string;
3669
3578
  };
@@ -3684,6 +3593,9 @@ declare const _default: {
3684
3593
  use_backup_access_code_pool: {
3685
3594
  type: string;
3686
3595
  };
3596
+ use_offline_access_code: {
3597
+ type: string;
3598
+ };
3687
3599
  };
3688
3600
  required: string[];
3689
3601
  type: string;
@@ -3775,6 +3687,16 @@ declare const _default: {
3775
3687
  is_managed: {
3776
3688
  type: string;
3777
3689
  };
3690
+ is_offline_access_code: {
3691
+ type: string;
3692
+ };
3693
+ is_one_time_use: {
3694
+ type: string;
3695
+ };
3696
+ max_time_rounding: {
3697
+ enum: string[];
3698
+ type: string;
3699
+ };
3778
3700
  name: {
3779
3701
  type: string;
3780
3702
  };
@@ -3795,6 +3717,9 @@ declare const _default: {
3795
3717
  use_backup_access_code_pool: {
3796
3718
  type: string;
3797
3719
  };
3720
+ use_offline_access_code: {
3721
+ type: string;
3722
+ };
3798
3723
  };
3799
3724
  required: string[];
3800
3725
  type: string;
@@ -3888,6 +3813,16 @@ declare const _default: {
3888
3813
  is_managed: {
3889
3814
  type: string;
3890
3815
  };
3816
+ is_offline_access_code: {
3817
+ type: string;
3818
+ };
3819
+ is_one_time_use: {
3820
+ type: string;
3821
+ };
3822
+ max_time_rounding: {
3823
+ enum: string[];
3824
+ type: string;
3825
+ };
3891
3826
  name: {
3892
3827
  type: string;
3893
3828
  };
@@ -3908,6 +3843,9 @@ declare const _default: {
3908
3843
  use_backup_access_code_pool: {
3909
3844
  type: string;
3910
3845
  };
3846
+ use_offline_access_code: {
3847
+ type: string;
3848
+ };
3911
3849
  };
3912
3850
  required: string[];
3913
3851
  type: string;
@@ -4931,14 +4869,40 @@ declare const _default: {
4931
4869
  content: {
4932
4870
  'application/json': {
4933
4871
  schema: {
4934
- properties: {
4935
- acs_user_id: {
4936
- format: string;
4937
- type: string;
4872
+ oneOf: ({
4873
+ properties: {
4874
+ acs_user_id: {
4875
+ format: string;
4876
+ type: string;
4877
+ };
4878
+ acs_system_id?: never;
4938
4879
  };
4939
- };
4940
- required: string[];
4941
- type: string;
4880
+ required: string[];
4881
+ type: string;
4882
+ } | {
4883
+ properties: {
4884
+ acs_system_id: {
4885
+ format: string;
4886
+ type: string;
4887
+ };
4888
+ acs_user_id?: never;
4889
+ };
4890
+ required: string[];
4891
+ type: string;
4892
+ } | {
4893
+ properties: {
4894
+ acs_system_id: {
4895
+ format: string;
4896
+ type: string;
4897
+ };
4898
+ acs_user_id: {
4899
+ format: string;
4900
+ type: string;
4901
+ };
4902
+ };
4903
+ required: string[];
4904
+ type: string;
4905
+ })[];
4942
4906
  };
4943
4907
  };
4944
4908
  };
@@ -12318,6 +12282,10 @@ interface Routes {
12318
12282
  use_backup_access_code_pool?: boolean | undefined;
12319
12283
  allow_external_modification?: boolean | undefined;
12320
12284
  is_external_modification_allowed?: boolean | undefined;
12285
+ use_offline_access_code?: boolean | undefined;
12286
+ is_offline_access_code?: boolean | undefined;
12287
+ is_one_time_use?: boolean | undefined;
12288
+ max_time_rounding?: ('1hour' | '1day' | '1h' | '1d') | undefined;
12321
12289
  };
12322
12290
  commonParams: {};
12323
12291
  formData: {};
@@ -12357,15 +12325,13 @@ interface Routes {
12357
12325
  errors?: any;
12358
12326
  warnings?: any;
12359
12327
  is_managed: true;
12360
- starts_at?: string | undefined;
12361
- ends_at?: string | undefined;
12328
+ starts_at?: (string | null) | undefined;
12329
+ ends_at?: (string | null) | undefined;
12362
12330
  status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown';
12363
12331
  is_backup_access_code_available: boolean;
12364
12332
  is_backup?: boolean | undefined;
12365
12333
  pulled_backup_access_code_id?: (string | null) | undefined;
12366
12334
  is_external_modification_allowed: boolean;
12367
- is_one_time_use: boolean;
12368
- is_offline_access_code: boolean;
12369
12335
  };
12370
12336
  };
12371
12337
  };
@@ -12385,6 +12351,10 @@ interface Routes {
12385
12351
  use_backup_access_code_pool?: boolean | undefined;
12386
12352
  allow_external_modification?: boolean | undefined;
12387
12353
  is_external_modification_allowed?: boolean | undefined;
12354
+ use_offline_access_code?: boolean | undefined;
12355
+ is_offline_access_code?: boolean | undefined;
12356
+ is_one_time_use?: boolean | undefined;
12357
+ max_time_rounding?: ('1hour' | '1day' | '1h' | '1d') | undefined;
12388
12358
  };
12389
12359
  commonParams: {};
12390
12360
  formData: {};
@@ -12402,15 +12372,13 @@ interface Routes {
12402
12372
  errors?: any;
12403
12373
  warnings?: any;
12404
12374
  is_managed: true;
12405
- starts_at?: string | undefined;
12406
- ends_at?: string | undefined;
12375
+ starts_at?: (string | null) | undefined;
12376
+ ends_at?: (string | null) | undefined;
12407
12377
  status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown';
12408
12378
  is_backup_access_code_available: boolean;
12409
12379
  is_backup?: boolean | undefined;
12410
12380
  pulled_backup_access_code_id?: (string | null) | undefined;
12411
12381
  is_external_modification_allowed: boolean;
12412
- is_one_time_use: boolean;
12413
- is_offline_access_code: boolean;
12414
12382
  }>;
12415
12383
  };
12416
12384
  };
@@ -12491,15 +12459,13 @@ interface Routes {
12491
12459
  errors?: any;
12492
12460
  warnings?: any;
12493
12461
  is_managed: true;
12494
- starts_at?: string | undefined;
12495
- ends_at?: string | undefined;
12462
+ starts_at?: (string | null) | undefined;
12463
+ ends_at?: (string | null) | undefined;
12496
12464
  status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown';
12497
12465
  is_backup_access_code_available: boolean;
12498
12466
  is_backup?: boolean | undefined;
12499
12467
  pulled_backup_access_code_id?: (string | null) | undefined;
12500
12468
  is_external_modification_allowed: boolean;
12501
- is_one_time_use: boolean;
12502
- is_offline_access_code: boolean;
12503
12469
  };
12504
12470
  };
12505
12471
  };
@@ -12528,15 +12494,13 @@ interface Routes {
12528
12494
  errors?: any;
12529
12495
  warnings?: any;
12530
12496
  is_managed: true;
12531
- starts_at?: string | undefined;
12532
- ends_at?: string | undefined;
12497
+ starts_at?: (string | null) | undefined;
12498
+ ends_at?: (string | null) | undefined;
12533
12499
  status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown';
12534
12500
  is_backup_access_code_available: boolean;
12535
12501
  is_backup?: boolean | undefined;
12536
12502
  pulled_backup_access_code_id?: (string | null) | undefined;
12537
12503
  is_external_modification_allowed: boolean;
12538
- is_one_time_use: boolean;
12539
- is_offline_access_code: boolean;
12540
12504
  }>;
12541
12505
  };
12542
12506
  };
@@ -12563,15 +12527,13 @@ interface Routes {
12563
12527
  errors?: any;
12564
12528
  warnings?: any;
12565
12529
  is_managed: true;
12566
- starts_at?: string | undefined;
12567
- ends_at?: string | undefined;
12530
+ starts_at?: (string | null) | undefined;
12531
+ ends_at?: (string | null) | undefined;
12568
12532
  status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown';
12569
12533
  is_backup_access_code_available: boolean;
12570
12534
  is_backup?: boolean | undefined;
12571
12535
  pulled_backup_access_code_id?: (string | null) | undefined;
12572
12536
  is_external_modification_allowed: boolean;
12573
- is_one_time_use: boolean;
12574
- is_offline_access_code: boolean;
12575
12537
  };
12576
12538
  };
12577
12539
  };
@@ -12588,23 +12550,18 @@ interface Routes {
12588
12550
  formData: {};
12589
12551
  jsonResponse: {
12590
12552
  access_code: {
12553
+ type: 'time_bound' | 'ongoing';
12591
12554
  access_code_id: string;
12555
+ device_id: string;
12556
+ name: string | null;
12592
12557
  code: string | null;
12593
- status: 'set';
12594
- created_at: string | Date;
12558
+ created_at: string;
12559
+ errors?: any;
12560
+ warnings?: any;
12595
12561
  is_managed: false;
12596
- type: 'ongoing';
12597
- starts_at: null;
12598
- ends_at: null;
12599
- } | {
12600
- access_code_id: string;
12601
- code: string | null;
12562
+ starts_at?: (string | null) | undefined;
12563
+ ends_at?: (string | null) | undefined;
12602
12564
  status: 'set';
12603
- created_at: string | Date;
12604
- is_managed: false;
12605
- type: 'time_bound';
12606
- starts_at: string | null;
12607
- ends_at: string | null;
12608
12565
  };
12609
12566
  };
12610
12567
  };
@@ -12680,8 +12637,8 @@ interface Routes {
12680
12637
  errors?: any;
12681
12638
  warnings?: any;
12682
12639
  is_managed: false;
12683
- starts_at: string | null;
12684
- ends_at: string | null;
12640
+ starts_at?: (string | null) | undefined;
12641
+ ends_at?: (string | null) | undefined;
12685
12642
  status: 'set';
12686
12643
  };
12687
12644
  };
@@ -12707,8 +12664,8 @@ interface Routes {
12707
12664
  errors?: any;
12708
12665
  warnings?: any;
12709
12666
  is_managed: false;
12710
- starts_at: string | null;
12711
- ends_at: string | null;
12667
+ starts_at?: (string | null) | undefined;
12668
+ ends_at?: (string | null) | undefined;
12712
12669
  status: 'set';
12713
12670
  }>;
12714
12671
  };
@@ -12743,6 +12700,10 @@ interface Routes {
12743
12700
  use_backup_access_code_pool?: boolean | undefined;
12744
12701
  allow_external_modification?: boolean | undefined;
12745
12702
  is_external_modification_allowed?: boolean | undefined;
12703
+ use_offline_access_code?: boolean | undefined;
12704
+ is_offline_access_code?: boolean | undefined;
12705
+ is_one_time_use?: boolean | undefined;
12706
+ max_time_rounding?: ('1hour' | '1day' | '1h' | '1d') | undefined;
12746
12707
  access_code_id: string;
12747
12708
  device_id?: string | undefined;
12748
12709
  type?: ('ongoing' | 'time_bound') | undefined;
@@ -12987,6 +12948,11 @@ interface Routes {
12987
12948
  jsonBody: {};
12988
12949
  commonParams: {
12989
12950
  acs_user_id: string;
12951
+ } | {
12952
+ acs_system_id: string;
12953
+ } | {
12954
+ acs_user_id: string;
12955
+ acs_system_id: string;
12990
12956
  };
12991
12957
  formData: {};
12992
12958
  jsonResponse: {
@@ -13014,10 +12980,10 @@ interface Routes {
13014
12980
  jsonResponse: {
13015
12981
  acs_system: {
13016
12982
  acs_system_id: string;
13017
- external_type: 'pti_site' | 'alta_org';
12983
+ external_type: 'pti_site' | 'alta_org' | 'brivo_system';
13018
12984
  external_type_display_name: string;
13019
12985
  /** deprecated: use external_type */
13020
- system_type: 'pti_site' | 'alta_org';
12986
+ system_type: 'pti_site' | 'alta_org' | 'brivo_system';
13021
12987
  /** deprecated: use external_type_display_name */
13022
12988
  system_type_display_name: string;
13023
12989
  name: string;
@@ -13038,10 +13004,10 @@ interface Routes {
13038
13004
  jsonResponse: {
13039
13005
  acs_systems: Array<{
13040
13006
  acs_system_id: string;
13041
- external_type: 'pti_site' | 'alta_org';
13007
+ external_type: 'pti_site' | 'alta_org' | 'brivo_system';
13042
13008
  external_type_display_name: string;
13043
13009
  /** deprecated: use external_type */
13044
- system_type: 'pti_site' | 'alta_org';
13010
+ system_type: 'pti_site' | 'alta_org' | 'brivo_system';
13045
13011
  /** deprecated: use external_type_display_name */
13046
13012
  system_type_display_name: string;
13047
13013
  name: string;