@seamapi/types 1.36.0 → 1.38.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.
@@ -2216,6 +2216,16 @@ declare const _default: {
2216
2216
  is_external_modification_allowed: {
2217
2217
  type: string;
2218
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
+ };
2219
2229
  name: {
2220
2230
  type: string;
2221
2231
  };
@@ -2232,6 +2242,9 @@ declare const _default: {
2232
2242
  use_backup_access_code_pool: {
2233
2243
  type: string;
2234
2244
  };
2245
+ use_offline_access_code: {
2246
+ type: string;
2247
+ };
2235
2248
  };
2236
2249
  required: string[];
2237
2250
  type: string;
@@ -2331,6 +2344,16 @@ declare const _default: {
2331
2344
  is_external_modification_allowed: {
2332
2345
  type: string;
2333
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
+ };
2334
2357
  name: {
2335
2358
  type: string;
2336
2359
  };
@@ -2343,6 +2366,9 @@ declare const _default: {
2343
2366
  use_backup_access_code_pool: {
2344
2367
  type: string;
2345
2368
  };
2369
+ use_offline_access_code: {
2370
+ type: string;
2371
+ };
2346
2372
  };
2347
2373
  required: string[];
2348
2374
  type: string;
@@ -2440,6 +2466,16 @@ declare const _default: {
2440
2466
  is_external_modification_allowed: {
2441
2467
  type: string;
2442
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
+ };
2443
2479
  name: {
2444
2480
  type: string;
2445
2481
  };
@@ -2452,6 +2488,9 @@ declare const _default: {
2452
2488
  use_backup_access_code_pool: {
2453
2489
  type: string;
2454
2490
  };
2491
+ use_offline_access_code: {
2492
+ type: string;
2493
+ };
2455
2494
  };
2456
2495
  required: string[];
2457
2496
  type: string;
@@ -3524,6 +3563,16 @@ declare const _default: {
3524
3563
  is_managed: {
3525
3564
  type: string;
3526
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
+ };
3527
3576
  name: {
3528
3577
  type: string;
3529
3578
  };
@@ -3544,6 +3593,9 @@ declare const _default: {
3544
3593
  use_backup_access_code_pool: {
3545
3594
  type: string;
3546
3595
  };
3596
+ use_offline_access_code: {
3597
+ type: string;
3598
+ };
3547
3599
  };
3548
3600
  required: string[];
3549
3601
  type: string;
@@ -3635,6 +3687,16 @@ declare const _default: {
3635
3687
  is_managed: {
3636
3688
  type: string;
3637
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
+ };
3638
3700
  name: {
3639
3701
  type: string;
3640
3702
  };
@@ -3655,6 +3717,9 @@ declare const _default: {
3655
3717
  use_backup_access_code_pool: {
3656
3718
  type: string;
3657
3719
  };
3720
+ use_offline_access_code: {
3721
+ type: string;
3722
+ };
3658
3723
  };
3659
3724
  required: string[];
3660
3725
  type: string;
@@ -3748,6 +3813,16 @@ declare const _default: {
3748
3813
  is_managed: {
3749
3814
  type: string;
3750
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
+ };
3751
3826
  name: {
3752
3827
  type: string;
3753
3828
  };
@@ -3768,6 +3843,9 @@ declare const _default: {
3768
3843
  use_backup_access_code_pool: {
3769
3844
  type: string;
3770
3845
  };
3846
+ use_offline_access_code: {
3847
+ type: string;
3848
+ };
3771
3849
  };
3772
3850
  required: string[];
3773
3851
  type: string;
@@ -4791,14 +4869,40 @@ declare const _default: {
4791
4869
  content: {
4792
4870
  'application/json': {
4793
4871
  schema: {
4794
- properties: {
4795
- acs_user_id: {
4796
- format: string;
4797
- type: string;
4872
+ oneOf: ({
4873
+ properties: {
4874
+ acs_user_id: {
4875
+ format: string;
4876
+ type: string;
4877
+ };
4878
+ acs_system_id?: never;
4798
4879
  };
4799
- };
4800
- required: string[];
4801
- 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
+ })[];
4802
4906
  };
4803
4907
  };
4804
4908
  };
@@ -12178,6 +12282,10 @@ interface Routes {
12178
12282
  use_backup_access_code_pool?: boolean | undefined;
12179
12283
  allow_external_modification?: boolean | undefined;
12180
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;
12181
12289
  };
12182
12290
  commonParams: {};
12183
12291
  formData: {};
@@ -12243,6 +12351,10 @@ interface Routes {
12243
12351
  use_backup_access_code_pool?: boolean | undefined;
12244
12352
  allow_external_modification?: boolean | undefined;
12245
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;
12246
12358
  };
12247
12359
  commonParams: {};
12248
12360
  formData: {};
@@ -12588,6 +12700,10 @@ interface Routes {
12588
12700
  use_backup_access_code_pool?: boolean | undefined;
12589
12701
  allow_external_modification?: boolean | undefined;
12590
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;
12591
12707
  access_code_id: string;
12592
12708
  device_id?: string | undefined;
12593
12709
  type?: ('ongoing' | 'time_bound') | undefined;
@@ -12832,6 +12948,11 @@ interface Routes {
12832
12948
  jsonBody: {};
12833
12949
  commonParams: {
12834
12950
  acs_user_id: string;
12951
+ } | {
12952
+ acs_system_id: string;
12953
+ } | {
12954
+ acs_user_id: string;
12955
+ acs_system_id: string;
12835
12956
  };
12836
12957
  formData: {};
12837
12958
  jsonResponse: {
@@ -13246,7 +13367,7 @@ interface Routes {
13246
13367
  device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
13247
13368
  custom_redirect_url?: string | undefined;
13248
13369
  custom_redirect_failure_url?: string | undefined;
13249
- accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'yale_access'> | undefined;
13370
+ accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'yale_access'> | undefined;
13250
13371
  provider_category?: ('stable' | 'consumer_smartlocks' | 'internal_beta') | undefined;
13251
13372
  custom_metadata?: Record<string, string | number | null | boolean> | undefined;
13252
13373
  automatically_manage_new_devices?: boolean | undefined;
@@ -2165,6 +2165,16 @@ declare const _default: {
2165
2165
  is_external_modification_allowed: {
2166
2166
  type: string;
2167
2167
  };
2168
+ is_offline_access_code: {
2169
+ type: string;
2170
+ };
2171
+ is_one_time_use: {
2172
+ type: string;
2173
+ };
2174
+ max_time_rounding: {
2175
+ enum: string[];
2176
+ type: string;
2177
+ };
2168
2178
  name: {
2169
2179
  type: string;
2170
2180
  };
@@ -2181,6 +2191,9 @@ declare const _default: {
2181
2191
  use_backup_access_code_pool: {
2182
2192
  type: string;
2183
2193
  };
2194
+ use_offline_access_code: {
2195
+ type: string;
2196
+ };
2184
2197
  };
2185
2198
  required: string[];
2186
2199
  type: string;
@@ -2280,6 +2293,16 @@ declare const _default: {
2280
2293
  is_external_modification_allowed: {
2281
2294
  type: string;
2282
2295
  };
2296
+ is_offline_access_code: {
2297
+ type: string;
2298
+ };
2299
+ is_one_time_use: {
2300
+ type: string;
2301
+ };
2302
+ max_time_rounding: {
2303
+ enum: string[];
2304
+ type: string;
2305
+ };
2283
2306
  name: {
2284
2307
  type: string;
2285
2308
  };
@@ -2292,6 +2315,9 @@ declare const _default: {
2292
2315
  use_backup_access_code_pool: {
2293
2316
  type: string;
2294
2317
  };
2318
+ use_offline_access_code: {
2319
+ type: string;
2320
+ };
2295
2321
  };
2296
2322
  required: string[];
2297
2323
  type: string;
@@ -2389,6 +2415,16 @@ declare const _default: {
2389
2415
  is_external_modification_allowed: {
2390
2416
  type: string;
2391
2417
  };
2418
+ is_offline_access_code: {
2419
+ type: string;
2420
+ };
2421
+ is_one_time_use: {
2422
+ type: string;
2423
+ };
2424
+ max_time_rounding: {
2425
+ enum: string[];
2426
+ type: string;
2427
+ };
2392
2428
  name: {
2393
2429
  type: string;
2394
2430
  };
@@ -2401,6 +2437,9 @@ declare const _default: {
2401
2437
  use_backup_access_code_pool: {
2402
2438
  type: string;
2403
2439
  };
2440
+ use_offline_access_code: {
2441
+ type: string;
2442
+ };
2404
2443
  };
2405
2444
  required: string[];
2406
2445
  type: string;
@@ -3473,6 +3512,16 @@ declare const _default: {
3473
3512
  is_managed: {
3474
3513
  type: string;
3475
3514
  };
3515
+ is_offline_access_code: {
3516
+ type: string;
3517
+ };
3518
+ is_one_time_use: {
3519
+ type: string;
3520
+ };
3521
+ max_time_rounding: {
3522
+ enum: string[];
3523
+ type: string;
3524
+ };
3476
3525
  name: {
3477
3526
  type: string;
3478
3527
  };
@@ -3493,6 +3542,9 @@ declare const _default: {
3493
3542
  use_backup_access_code_pool: {
3494
3543
  type: string;
3495
3544
  };
3545
+ use_offline_access_code: {
3546
+ type: string;
3547
+ };
3496
3548
  };
3497
3549
  required: string[];
3498
3550
  type: string;
@@ -3584,6 +3636,16 @@ declare const _default: {
3584
3636
  is_managed: {
3585
3637
  type: string;
3586
3638
  };
3639
+ is_offline_access_code: {
3640
+ type: string;
3641
+ };
3642
+ is_one_time_use: {
3643
+ type: string;
3644
+ };
3645
+ max_time_rounding: {
3646
+ enum: string[];
3647
+ type: string;
3648
+ };
3587
3649
  name: {
3588
3650
  type: string;
3589
3651
  };
@@ -3604,6 +3666,9 @@ declare const _default: {
3604
3666
  use_backup_access_code_pool: {
3605
3667
  type: string;
3606
3668
  };
3669
+ use_offline_access_code: {
3670
+ type: string;
3671
+ };
3607
3672
  };
3608
3673
  required: string[];
3609
3674
  type: string;
@@ -3697,6 +3762,16 @@ declare const _default: {
3697
3762
  is_managed: {
3698
3763
  type: string;
3699
3764
  };
3765
+ is_offline_access_code: {
3766
+ type: string;
3767
+ };
3768
+ is_one_time_use: {
3769
+ type: string;
3770
+ };
3771
+ max_time_rounding: {
3772
+ enum: string[];
3773
+ type: string;
3774
+ };
3700
3775
  name: {
3701
3776
  type: string;
3702
3777
  };
@@ -3717,6 +3792,9 @@ declare const _default: {
3717
3792
  use_backup_access_code_pool: {
3718
3793
  type: string;
3719
3794
  };
3795
+ use_offline_access_code: {
3796
+ type: string;
3797
+ };
3720
3798
  };
3721
3799
  required: string[];
3722
3800
  type: string;
@@ -4740,14 +4818,40 @@ declare const _default: {
4740
4818
  content: {
4741
4819
  'application/json': {
4742
4820
  schema: {
4743
- properties: {
4744
- acs_user_id: {
4745
- format: string;
4746
- type: string;
4821
+ oneOf: ({
4822
+ properties: {
4823
+ acs_user_id: {
4824
+ format: string;
4825
+ type: string;
4826
+ };
4827
+ acs_system_id?: never;
4747
4828
  };
4748
- };
4749
- required: string[];
4750
- type: string;
4829
+ required: string[];
4830
+ type: string;
4831
+ } | {
4832
+ properties: {
4833
+ acs_system_id: {
4834
+ format: string;
4835
+ type: string;
4836
+ };
4837
+ acs_user_id?: never;
4838
+ };
4839
+ required: string[];
4840
+ type: string;
4841
+ } | {
4842
+ properties: {
4843
+ acs_system_id: {
4844
+ format: string;
4845
+ type: string;
4846
+ };
4847
+ acs_user_id: {
4848
+ format: string;
4849
+ type: string;
4850
+ };
4851
+ };
4852
+ required: string[];
4853
+ type: string;
4854
+ })[];
4751
4855
  };
4752
4856
  };
4753
4857
  };
@@ -1555,11 +1555,18 @@ export default {
1555
1555
  device_id: { format: 'uuid', type: 'string' },
1556
1556
  ends_at: { type: 'string' },
1557
1557
  is_external_modification_allowed: { type: 'boolean' },
1558
+ is_offline_access_code: { type: 'boolean' },
1559
+ is_one_time_use: { type: 'boolean' },
1560
+ max_time_rounding: {
1561
+ enum: ['1hour', '1day', '1h', '1d'],
1562
+ type: 'string',
1563
+ },
1558
1564
  name: { type: 'string' },
1559
1565
  prefer_native_scheduling: { type: 'boolean' },
1560
1566
  starts_at: { type: 'string' },
1561
1567
  sync: { default: false, type: 'boolean' },
1562
1568
  use_backup_access_code_pool: { type: 'boolean' },
1569
+ use_offline_access_code: { type: 'boolean' },
1563
1570
  },
1564
1571
  required: ['device_id'],
1565
1572
  type: 'object',
@@ -1631,10 +1638,17 @@ export default {
1631
1638
  },
1632
1639
  ends_at: { type: 'string' },
1633
1640
  is_external_modification_allowed: { type: 'boolean' },
1641
+ is_offline_access_code: { type: 'boolean' },
1642
+ is_one_time_use: { type: 'boolean' },
1643
+ max_time_rounding: {
1644
+ enum: ['1hour', '1day', '1h', '1d'],
1645
+ type: 'string',
1646
+ },
1634
1647
  name: { type: 'string' },
1635
1648
  prefer_native_scheduling: { type: 'boolean' },
1636
1649
  starts_at: { type: 'string' },
1637
1650
  use_backup_access_code_pool: { type: 'boolean' },
1651
+ use_offline_access_code: { type: 'boolean' },
1638
1652
  },
1639
1653
  required: ['device_ids'],
1640
1654
  type: 'object',
@@ -1704,10 +1718,17 @@ export default {
1704
1718
  },
1705
1719
  ends_at: { type: 'string' },
1706
1720
  is_external_modification_allowed: { type: 'boolean' },
1721
+ is_offline_access_code: { type: 'boolean' },
1722
+ is_one_time_use: { type: 'boolean' },
1723
+ max_time_rounding: {
1724
+ enum: ['1hour', '1day', '1h', '1d'],
1725
+ type: 'string',
1726
+ },
1707
1727
  name: { type: 'string' },
1708
1728
  prefer_native_scheduling: { type: 'boolean' },
1709
1729
  starts_at: { type: 'string' },
1710
1730
  use_backup_access_code_pool: { type: 'boolean' },
1731
+ use_offline_access_code: { type: 'boolean' },
1711
1732
  },
1712
1733
  required: ['device_ids'],
1713
1734
  type: 'object',
@@ -2411,12 +2432,19 @@ export default {
2411
2432
  ends_at: { type: 'string' },
2412
2433
  is_external_modification_allowed: { type: 'boolean' },
2413
2434
  is_managed: { type: 'boolean' },
2435
+ is_offline_access_code: { type: 'boolean' },
2436
+ is_one_time_use: { type: 'boolean' },
2437
+ max_time_rounding: {
2438
+ enum: ['1hour', '1day', '1h', '1d'],
2439
+ type: 'string',
2440
+ },
2414
2441
  name: { type: 'string' },
2415
2442
  prefer_native_scheduling: { type: 'boolean' },
2416
2443
  starts_at: { type: 'string' },
2417
2444
  sync: { default: false, type: 'boolean' },
2418
2445
  type: { enum: ['ongoing', 'time_bound'], type: 'string' },
2419
2446
  use_backup_access_code_pool: { type: 'boolean' },
2447
+ use_offline_access_code: { type: 'boolean' },
2420
2448
  },
2421
2449
  required: ['access_code_id'],
2422
2450
  type: 'object',
@@ -2477,12 +2505,19 @@ export default {
2477
2505
  ends_at: { type: 'string' },
2478
2506
  is_external_modification_allowed: { type: 'boolean' },
2479
2507
  is_managed: { type: 'boolean' },
2508
+ is_offline_access_code: { type: 'boolean' },
2509
+ is_one_time_use: { type: 'boolean' },
2510
+ max_time_rounding: {
2511
+ enum: ['1hour', '1day', '1h', '1d'],
2512
+ type: 'string',
2513
+ },
2480
2514
  name: { type: 'string' },
2481
2515
  prefer_native_scheduling: { type: 'boolean' },
2482
2516
  starts_at: { type: 'string' },
2483
2517
  sync: { default: false, type: 'boolean' },
2484
2518
  type: { enum: ['ongoing', 'time_bound'], type: 'string' },
2485
2519
  use_backup_access_code_pool: { type: 'boolean' },
2520
+ use_offline_access_code: { type: 'boolean' },
2486
2521
  },
2487
2522
  required: ['access_code_id'],
2488
2523
  type: 'object',
@@ -2545,12 +2580,19 @@ export default {
2545
2580
  ends_at: { type: 'string' },
2546
2581
  is_external_modification_allowed: { type: 'boolean' },
2547
2582
  is_managed: { type: 'boolean' },
2583
+ is_offline_access_code: { type: 'boolean' },
2584
+ is_one_time_use: { type: 'boolean' },
2585
+ max_time_rounding: {
2586
+ enum: ['1hour', '1day', '1h', '1d'],
2587
+ type: 'string',
2588
+ },
2548
2589
  name: { type: 'string' },
2549
2590
  prefer_native_scheduling: { type: 'boolean' },
2550
2591
  starts_at: { type: 'string' },
2551
2592
  sync: { default: false, type: 'boolean' },
2552
2593
  type: { enum: ['ongoing', 'time_bound'], type: 'string' },
2553
2594
  use_backup_access_code_pool: { type: 'boolean' },
2595
+ use_offline_access_code: { type: 'boolean' },
2554
2596
  },
2555
2597
  required: ['access_code_id'],
2556
2598
  type: 'object',
@@ -3228,9 +3270,30 @@ export default {
3228
3270
  content: {
3229
3271
  'application/json': {
3230
3272
  schema: {
3231
- properties: { acs_user_id: { format: 'uuid', type: 'string' } },
3232
- required: ['acs_user_id'],
3233
- type: 'object',
3273
+ oneOf: [
3274
+ {
3275
+ properties: {
3276
+ acs_user_id: { format: 'uuid', type: 'string' },
3277
+ },
3278
+ required: ['acs_user_id'],
3279
+ type: 'object',
3280
+ },
3281
+ {
3282
+ properties: {
3283
+ acs_system_id: { format: 'uuid', type: 'string' },
3284
+ },
3285
+ required: ['acs_system_id'],
3286
+ type: 'object',
3287
+ },
3288
+ {
3289
+ properties: {
3290
+ acs_system_id: { format: 'uuid', type: 'string' },
3291
+ acs_user_id: { format: 'uuid', type: 'string' },
3292
+ },
3293
+ required: ['acs_user_id', 'acs_system_id'],
3294
+ type: 'object',
3295
+ },
3296
+ ],
3234
3297
  },
3235
3298
  },
3236
3299
  },
@@ -4431,6 +4494,7 @@ export default {
4431
4494
  'dormakaba_oracode',
4432
4495
  'pti',
4433
4496
  'wyze',
4497
+ 'seam_passport',
4434
4498
  'yale_access',
4435
4499
  ],
4436
4500
  type: 'string',