@seamapi/types 1.13.0 → 1.14.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.
@@ -87,6 +87,9 @@ declare const _default: {
87
87
  is_backup_access_code_available: {
88
88
  type: string;
89
89
  };
90
+ is_external_modification_allowed: {
91
+ type: string;
92
+ };
90
93
  is_managed: {
91
94
  enum: boolean[];
92
95
  type: string;
@@ -3570,6 +3573,9 @@ declare const _default: {
3570
3573
  ends_at: {
3571
3574
  type: string;
3572
3575
  };
3576
+ is_managed: {
3577
+ type: string;
3578
+ };
3573
3579
  name: {
3574
3580
  type: string;
3575
3581
  };
@@ -3677,6 +3683,9 @@ declare const _default: {
3677
3683
  ends_at: {
3678
3684
  type: string;
3679
3685
  };
3686
+ is_managed: {
3687
+ type: string;
3688
+ };
3680
3689
  name: {
3681
3690
  type: string;
3682
3691
  };
@@ -4440,6 +4449,360 @@ declare const _default: {
4440
4449
  'x-fern-sdk-method-name': string;
4441
4450
  };
4442
4451
  };
4452
+ '/acs/credentials/create': {
4453
+ post: {
4454
+ operationId: string;
4455
+ requestBody: {
4456
+ content: {
4457
+ 'application/json': {
4458
+ schema: {
4459
+ properties: {
4460
+ acs_user_id: {
4461
+ format: string;
4462
+ type: string;
4463
+ };
4464
+ code: {
4465
+ pattern: string;
4466
+ type: string;
4467
+ };
4468
+ };
4469
+ required: string[];
4470
+ type: string;
4471
+ };
4472
+ };
4473
+ };
4474
+ };
4475
+ responses: {
4476
+ 200: {
4477
+ content: {
4478
+ 'application/json': {
4479
+ schema: {
4480
+ properties: {
4481
+ acs_credential: {
4482
+ properties: {
4483
+ acs_credential_id: {
4484
+ format: string;
4485
+ type: string;
4486
+ };
4487
+ acs_system_id: {
4488
+ format: string;
4489
+ type: string;
4490
+ };
4491
+ acs_user_id: {
4492
+ format: string;
4493
+ type: string;
4494
+ };
4495
+ code: {
4496
+ type: string;
4497
+ };
4498
+ created_at: {
4499
+ format: string;
4500
+ type: string;
4501
+ };
4502
+ workspace_id: {
4503
+ format: string;
4504
+ type: string;
4505
+ };
4506
+ };
4507
+ required: string[];
4508
+ type: string;
4509
+ };
4510
+ ok: {
4511
+ type: string;
4512
+ };
4513
+ };
4514
+ required: string[];
4515
+ type: string;
4516
+ };
4517
+ };
4518
+ };
4519
+ description: string;
4520
+ };
4521
+ 400: {
4522
+ description: string;
4523
+ };
4524
+ 401: {
4525
+ description: string;
4526
+ };
4527
+ };
4528
+ security: ({
4529
+ access_token: never[];
4530
+ seam_workspace: never[];
4531
+ seam_client_session_token?: never;
4532
+ client_session_token?: never;
4533
+ } | {
4534
+ seam_client_session_token: never[];
4535
+ access_token?: never;
4536
+ seam_workspace?: never;
4537
+ client_session_token?: never;
4538
+ } | {
4539
+ client_session_token: never[];
4540
+ access_token?: never;
4541
+ seam_workspace?: never;
4542
+ seam_client_session_token?: never;
4543
+ })[];
4544
+ summary: string;
4545
+ tags: never[];
4546
+ 'x-fern-sdk-group-name': string[];
4547
+ 'x-fern-sdk-method-name': string;
4548
+ };
4549
+ };
4550
+ '/acs/credentials/delete': {
4551
+ post: {
4552
+ operationId: string;
4553
+ requestBody: {
4554
+ content: {
4555
+ 'application/json': {
4556
+ schema: {
4557
+ properties: {
4558
+ acs_credential_id: {
4559
+ format: string;
4560
+ type: string;
4561
+ };
4562
+ };
4563
+ required: string[];
4564
+ type: string;
4565
+ };
4566
+ };
4567
+ };
4568
+ };
4569
+ responses: {
4570
+ 200: {
4571
+ content: {
4572
+ 'application/json': {
4573
+ schema: {
4574
+ properties: {
4575
+ ok: {
4576
+ type: string;
4577
+ };
4578
+ };
4579
+ required: string[];
4580
+ type: string;
4581
+ };
4582
+ };
4583
+ };
4584
+ description: string;
4585
+ };
4586
+ 400: {
4587
+ description: string;
4588
+ };
4589
+ 401: {
4590
+ description: string;
4591
+ };
4592
+ };
4593
+ security: ({
4594
+ access_token: never[];
4595
+ seam_workspace: never[];
4596
+ seam_client_session_token?: never;
4597
+ client_session_token?: never;
4598
+ } | {
4599
+ seam_client_session_token: never[];
4600
+ access_token?: never;
4601
+ seam_workspace?: never;
4602
+ client_session_token?: never;
4603
+ } | {
4604
+ client_session_token: never[];
4605
+ access_token?: never;
4606
+ seam_workspace?: never;
4607
+ seam_client_session_token?: never;
4608
+ })[];
4609
+ summary: string;
4610
+ tags: never[];
4611
+ 'x-fern-sdk-group-name': string[];
4612
+ 'x-fern-sdk-method-name': string;
4613
+ };
4614
+ };
4615
+ '/acs/credentials/get': {
4616
+ post: {
4617
+ operationId: string;
4618
+ requestBody: {
4619
+ content: {
4620
+ 'application/json': {
4621
+ schema: {
4622
+ properties: {
4623
+ acs_credentials_id: {
4624
+ format: string;
4625
+ type: string;
4626
+ };
4627
+ };
4628
+ required: string[];
4629
+ type: string;
4630
+ };
4631
+ };
4632
+ };
4633
+ };
4634
+ responses: {
4635
+ 200: {
4636
+ content: {
4637
+ 'application/json': {
4638
+ schema: {
4639
+ properties: {
4640
+ acs_credential: {
4641
+ properties: {
4642
+ acs_credential_id: {
4643
+ format: string;
4644
+ type: string;
4645
+ };
4646
+ acs_system_id: {
4647
+ format: string;
4648
+ type: string;
4649
+ };
4650
+ acs_user_id: {
4651
+ format: string;
4652
+ type: string;
4653
+ };
4654
+ code: {
4655
+ type: string;
4656
+ };
4657
+ created_at: {
4658
+ format: string;
4659
+ type: string;
4660
+ };
4661
+ workspace_id: {
4662
+ format: string;
4663
+ type: string;
4664
+ };
4665
+ };
4666
+ required: string[];
4667
+ type: string;
4668
+ };
4669
+ ok: {
4670
+ type: string;
4671
+ };
4672
+ };
4673
+ required: string[];
4674
+ type: string;
4675
+ };
4676
+ };
4677
+ };
4678
+ description: string;
4679
+ };
4680
+ 400: {
4681
+ description: string;
4682
+ };
4683
+ 401: {
4684
+ description: string;
4685
+ };
4686
+ };
4687
+ security: ({
4688
+ access_token: never[];
4689
+ seam_workspace: never[];
4690
+ seam_client_session_token?: never;
4691
+ client_session_token?: never;
4692
+ } | {
4693
+ seam_client_session_token: never[];
4694
+ access_token?: never;
4695
+ seam_workspace?: never;
4696
+ client_session_token?: never;
4697
+ } | {
4698
+ client_session_token: never[];
4699
+ access_token?: never;
4700
+ seam_workspace?: never;
4701
+ seam_client_session_token?: never;
4702
+ })[];
4703
+ summary: string;
4704
+ tags: never[];
4705
+ 'x-fern-sdk-group-name': string[];
4706
+ 'x-fern-sdk-method-name': string;
4707
+ };
4708
+ };
4709
+ '/acs/credentials/list': {
4710
+ post: {
4711
+ operationId: string;
4712
+ requestBody: {
4713
+ content: {
4714
+ 'application/json': {
4715
+ schema: {
4716
+ properties: {
4717
+ acs_user_id: {
4718
+ format: string;
4719
+ type: string;
4720
+ };
4721
+ };
4722
+ required: string[];
4723
+ type: string;
4724
+ };
4725
+ };
4726
+ };
4727
+ };
4728
+ responses: {
4729
+ 200: {
4730
+ content: {
4731
+ 'application/json': {
4732
+ schema: {
4733
+ properties: {
4734
+ acs_credentials: {
4735
+ items: {
4736
+ properties: {
4737
+ acs_credential_id: {
4738
+ format: string;
4739
+ type: string;
4740
+ };
4741
+ acs_system_id: {
4742
+ format: string;
4743
+ type: string;
4744
+ };
4745
+ acs_user_id: {
4746
+ format: string;
4747
+ type: string;
4748
+ };
4749
+ code: {
4750
+ type: string;
4751
+ };
4752
+ created_at: {
4753
+ format: string;
4754
+ type: string;
4755
+ };
4756
+ workspace_id: {
4757
+ format: string;
4758
+ type: string;
4759
+ };
4760
+ };
4761
+ required: string[];
4762
+ type: string;
4763
+ };
4764
+ type: string;
4765
+ };
4766
+ ok: {
4767
+ type: string;
4768
+ };
4769
+ };
4770
+ required: string[];
4771
+ type: string;
4772
+ };
4773
+ };
4774
+ };
4775
+ description: string;
4776
+ };
4777
+ 400: {
4778
+ description: string;
4779
+ };
4780
+ 401: {
4781
+ description: string;
4782
+ };
4783
+ };
4784
+ security: ({
4785
+ access_token: never[];
4786
+ seam_workspace: never[];
4787
+ seam_client_session_token?: never;
4788
+ client_session_token?: never;
4789
+ } | {
4790
+ seam_client_session_token: never[];
4791
+ access_token?: never;
4792
+ seam_workspace?: never;
4793
+ client_session_token?: never;
4794
+ } | {
4795
+ client_session_token: never[];
4796
+ access_token?: never;
4797
+ seam_workspace?: never;
4798
+ seam_client_session_token?: never;
4799
+ })[];
4800
+ summary: string;
4801
+ tags: never[];
4802
+ 'x-fern-sdk-group-name': string[];
4803
+ 'x-fern-sdk-method-name': string;
4804
+ };
4805
+ };
4443
4806
  '/acs/systems/get': {
4444
4807
  post: {
4445
4808
  operationId: string;
@@ -10388,6 +10751,7 @@ interface Routes {
10388
10751
  is_backup_access_code_available: boolean;
10389
10752
  is_backup?: boolean | undefined;
10390
10753
  pulled_backup_access_code_id?: (string | null) | undefined;
10754
+ is_external_modification_allowed: boolean;
10391
10755
  };
10392
10756
  };
10393
10757
  };
@@ -10429,6 +10793,7 @@ interface Routes {
10429
10793
  is_backup_access_code_available: boolean;
10430
10794
  is_backup?: boolean | undefined;
10431
10795
  pulled_backup_access_code_id?: (string | null) | undefined;
10796
+ is_external_modification_allowed: boolean;
10432
10797
  }>;
10433
10798
  };
10434
10799
  };
@@ -10515,6 +10880,7 @@ interface Routes {
10515
10880
  is_backup_access_code_available: boolean;
10516
10881
  is_backup?: boolean | undefined;
10517
10882
  pulled_backup_access_code_id?: (string | null) | undefined;
10883
+ is_external_modification_allowed: boolean;
10518
10884
  };
10519
10885
  };
10520
10886
  };
@@ -10548,6 +10914,7 @@ interface Routes {
10548
10914
  is_backup_access_code_available: boolean;
10549
10915
  is_backup?: boolean | undefined;
10550
10916
  pulled_backup_access_code_id?: (string | null) | undefined;
10917
+ is_external_modification_allowed: boolean;
10551
10918
  }>;
10552
10919
  };
10553
10920
  };
@@ -10580,6 +10947,7 @@ interface Routes {
10580
10947
  is_backup_access_code_available: boolean;
10581
10948
  is_backup?: boolean | undefined;
10582
10949
  pulled_backup_access_code_id?: (string | null) | undefined;
10950
+ is_external_modification_allowed: boolean;
10583
10951
  };
10584
10952
  };
10585
10953
  };
@@ -10750,6 +11118,7 @@ interface Routes {
10750
11118
  access_code_id: string;
10751
11119
  device_id?: string | undefined;
10752
11120
  type?: ('ongoing' | 'time_bound') | undefined;
11121
+ is_managed?: boolean | undefined;
10753
11122
  };
10754
11123
  commonParams: {};
10755
11124
  formData: {};
@@ -10912,6 +11281,78 @@ interface Routes {
10912
11281
  formData: {};
10913
11282
  jsonResponse: {};
10914
11283
  };
11284
+ '/acs/credentials/create': {
11285
+ route: '/acs/credentials/create';
11286
+ method: 'POST';
11287
+ queryParams: {};
11288
+ jsonBody: {};
11289
+ commonParams: {
11290
+ acs_user_id: string;
11291
+ code: string;
11292
+ };
11293
+ formData: {};
11294
+ jsonResponse: {
11295
+ acs_credential: {
11296
+ acs_credential_id: string;
11297
+ acs_user_id: string;
11298
+ acs_system_id: string;
11299
+ code: string;
11300
+ created_at: string;
11301
+ workspace_id: string;
11302
+ };
11303
+ };
11304
+ };
11305
+ '/acs/credentials/delete': {
11306
+ route: '/acs/credentials/delete';
11307
+ method: 'DELETE' | 'POST';
11308
+ queryParams: {};
11309
+ jsonBody: {};
11310
+ commonParams: {
11311
+ acs_credential_id: string;
11312
+ };
11313
+ formData: {};
11314
+ jsonResponse: {};
11315
+ };
11316
+ '/acs/credentials/get': {
11317
+ route: '/acs/credentials/get';
11318
+ method: 'GET' | 'POST';
11319
+ queryParams: {};
11320
+ jsonBody: {};
11321
+ commonParams: {
11322
+ acs_credentials_id: string;
11323
+ };
11324
+ formData: {};
11325
+ jsonResponse: {
11326
+ acs_credential: {
11327
+ acs_credential_id: string;
11328
+ acs_user_id: string;
11329
+ acs_system_id: string;
11330
+ code: string;
11331
+ created_at: string;
11332
+ workspace_id: string;
11333
+ };
11334
+ };
11335
+ };
11336
+ '/acs/credentials/list': {
11337
+ route: '/acs/credentials/list';
11338
+ method: 'GET' | 'POST';
11339
+ queryParams: {};
11340
+ jsonBody: {};
11341
+ commonParams: {
11342
+ acs_user_id: string;
11343
+ };
11344
+ formData: {};
11345
+ jsonResponse: {
11346
+ acs_credentials: Array<{
11347
+ acs_credential_id: string;
11348
+ acs_user_id: string;
11349
+ acs_system_id: string;
11350
+ code: string;
11351
+ created_at: string;
11352
+ workspace_id: string;
11353
+ }>;
11354
+ };
11355
+ };
10915
11356
  '/acs/systems/get': {
10916
11357
  route: '/acs/systems/get';
10917
11358
  method: 'GET' | 'POST';
@@ -11247,7 +11688,7 @@ interface Routes {
11247
11688
  device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
11248
11689
  custom_redirect_url?: string | undefined;
11249
11690
  custom_redirect_failure_url?: string | undefined;
11250
- accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | '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;
11691
+ 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;
11251
11692
  provider_category?: ('stable' | 'consumer_smartlocks' | 'internal_beta') | undefined;
11252
11693
  custom_metadata?: Record<string, string | number | null | boolean> | undefined;
11253
11694
  automatically_manage_new_devices?: boolean | undefined;