@seamapi/types 1.47.0 → 1.49.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 (35) hide show
  1. package/dist/connect.cjs +359 -61
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +465 -37
  4. package/lib/seam/connect/openapi.d.ts +268 -23
  5. package/lib/seam/connect/openapi.js +358 -60
  6. package/lib/seam/connect/openapi.js.map +1 -1
  7. package/lib/seam/connect/route-types.d.ts +197 -14
  8. package/lib/seam/connect/unstable/model-types.d.ts +1 -1
  9. package/lib/seam/connect/unstable/models/access-codes/managed-access-code.js +81 -21
  10. package/lib/seam/connect/unstable/models/access-codes/managed-access-code.js.map +1 -1
  11. package/lib/seam/connect/unstable/models/acs/credential.d.ts +7 -4
  12. package/lib/seam/connect/unstable/models/acs/credential.js +2 -0
  13. package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -1
  14. package/lib/seam/connect/unstable/models/acs/credential_pool.d.ts +29 -0
  15. package/lib/seam/connect/unstable/models/acs/credential_pool.js +12 -0
  16. package/lib/seam/connect/unstable/models/acs/credential_pool.js.map +1 -0
  17. package/lib/seam/connect/unstable/models/acs/index.d.ts +1 -0
  18. package/lib/seam/connect/unstable/models/acs/index.js +1 -0
  19. package/lib/seam/connect/unstable/models/acs/index.js.map +1 -1
  20. package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +14 -14
  21. package/lib/seam/connect/unstable/models/devices/managed-device.js +1 -1
  22. package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
  23. package/lib/seam/connect/unstable/schemas.d.ts +1 -1
  24. package/lib/seam/connect/unstable/schemas.js +1 -1
  25. package/lib/seam/connect/unstable/schemas.js.map +1 -1
  26. package/package.json +1 -1
  27. package/src/lib/seam/connect/openapi.ts +383 -60
  28. package/src/lib/seam/connect/route-types.ts +197 -14
  29. package/src/lib/seam/connect/unstable/model-types.ts +2 -0
  30. package/src/lib/seam/connect/unstable/models/access-codes/managed-access-code.ts +113 -21
  31. package/src/lib/seam/connect/unstable/models/acs/credential.ts +2 -0
  32. package/src/lib/seam/connect/unstable/models/acs/credential_pool.ts +19 -0
  33. package/src/lib/seam/connect/unstable/models/acs/index.ts +1 -0
  34. package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +1 -1
  35. package/src/lib/seam/connect/unstable/schemas.ts +2 -0
@@ -4,81 +4,102 @@ declare const _default: {
4
4
  access_code: {
5
5
  properties: {
6
6
  access_code_id: {
7
+ description: string;
7
8
  format: string;
8
9
  type: string;
9
10
  };
10
11
  code: {
12
+ description: string;
11
13
  nullable: boolean;
12
14
  type: string;
13
15
  };
14
16
  common_code_key: {
17
+ description: string;
15
18
  nullable: boolean;
16
19
  type: string;
17
20
  };
18
21
  created_at: {
22
+ description: string;
19
23
  format: string;
20
24
  type: string;
21
25
  };
22
26
  device_id: {
27
+ description: string;
23
28
  format: string;
24
29
  type: string;
25
30
  };
26
31
  ends_at: {
32
+ description: string;
27
33
  format: string;
28
34
  nullable: boolean;
29
35
  type: string;
30
36
  };
31
37
  errors: {
38
+ description: string;
32
39
  nullable: boolean;
33
40
  };
34
41
  is_backup: {
42
+ description: string;
35
43
  type: string;
36
44
  };
37
45
  is_backup_access_code_available: {
46
+ description: string;
38
47
  type: string;
39
48
  };
40
49
  is_external_modification_allowed: {
50
+ description: string;
41
51
  type: string;
42
52
  };
43
53
  is_managed: {
54
+ description: string;
44
55
  enum: boolean[];
45
56
  type: string;
46
57
  };
47
58
  is_offline_access_code: {
59
+ description: string;
48
60
  type: string;
49
61
  };
50
62
  is_one_time_use: {
63
+ description: string;
51
64
  type: string;
52
65
  };
53
66
  is_scheduled_on_device: {
67
+ description: string;
54
68
  type: string;
55
69
  };
56
70
  is_waiting_for_code_assignment: {
71
+ description: string;
57
72
  type: string;
58
73
  };
59
74
  name: {
75
+ description: string;
60
76
  nullable: boolean;
61
77
  type: string;
62
78
  };
63
79
  pulled_backup_access_code_id: {
80
+ description: string;
64
81
  format: string;
65
82
  nullable: boolean;
66
83
  type: string;
67
84
  };
68
85
  starts_at: {
86
+ description: string;
69
87
  format: string;
70
88
  nullable: boolean;
71
89
  type: string;
72
90
  };
73
91
  status: {
92
+ description: string;
74
93
  enum: string[];
75
94
  type: string;
76
95
  };
77
96
  type: {
97
+ description: string;
78
98
  enum: string[];
79
99
  type: string;
80
100
  };
81
101
  warnings: {
102
+ description: string;
82
103
  nullable: boolean;
83
104
  };
84
105
  };
@@ -677,9 +698,6 @@ declare const _default: {
677
698
  };
678
699
  model: {
679
700
  properties: {
680
- access_codes_supported: {
681
- type: string;
682
- };
683
701
  accessory_keypad_supported: {
684
702
  type: string;
685
703
  };
@@ -692,6 +710,9 @@ declare const _default: {
692
710
  offline_access_codes_supported: {
693
711
  type: string;
694
712
  };
713
+ online_access_codes_supported: {
714
+ type: string;
715
+ };
695
716
  };
696
717
  required: string[];
697
718
  type: string;
@@ -1916,6 +1937,28 @@ declare const _default: {
1916
1937
  required: string[];
1917
1938
  type: string;
1918
1939
  };
1940
+ device_provider: {
1941
+ properties: {
1942
+ device_provider_name: {
1943
+ type: string;
1944
+ };
1945
+ display_name: {
1946
+ type: string;
1947
+ };
1948
+ image_url: {
1949
+ type: string;
1950
+ };
1951
+ provider_categories: {
1952
+ items: {
1953
+ enum: string[];
1954
+ type: string;
1955
+ };
1956
+ type: string;
1957
+ };
1958
+ };
1959
+ required: string[];
1960
+ type: string;
1961
+ };
1919
1962
  event: {
1920
1963
  properties: {
1921
1964
  created_at: {
@@ -1993,27 +2036,33 @@ declare const _default: {
1993
2036
  unmanaged_access_code: {
1994
2037
  properties: {
1995
2038
  access_code_id: {
2039
+ description: string;
1996
2040
  format: string;
1997
2041
  type: string;
1998
2042
  };
1999
2043
  code: {
2044
+ description: string;
2000
2045
  nullable: boolean;
2001
2046
  type: string;
2002
2047
  };
2003
2048
  created_at: {
2049
+ description: string;
2004
2050
  format: string;
2005
2051
  type: string;
2006
2052
  };
2007
2053
  device_id: {
2054
+ description: string;
2008
2055
  format: string;
2009
2056
  type: string;
2010
2057
  };
2011
2058
  ends_at: {
2059
+ description: string;
2012
2060
  format: string;
2013
2061
  nullable: boolean;
2014
2062
  type: string;
2015
2063
  };
2016
2064
  errors: {
2065
+ description: string;
2017
2066
  nullable: boolean;
2018
2067
  };
2019
2068
  is_managed: {
@@ -2021,10 +2070,12 @@ declare const _default: {
2021
2070
  type: string;
2022
2071
  };
2023
2072
  name: {
2073
+ description: string;
2024
2074
  nullable: boolean;
2025
2075
  type: string;
2026
2076
  };
2027
2077
  starts_at: {
2078
+ description: string;
2028
2079
  format: string;
2029
2080
  nullable: boolean;
2030
2081
  type: string;
@@ -2034,10 +2085,12 @@ declare const _default: {
2034
2085
  type: string;
2035
2086
  };
2036
2087
  type: {
2088
+ description: string;
2037
2089
  enum: string[];
2038
2090
  type: string;
2039
2091
  };
2040
2092
  warnings: {
2093
+ description: string;
2041
2094
  nullable: boolean;
2042
2095
  };
2043
2096
  };
@@ -4373,6 +4426,107 @@ declare const _default: {
4373
4426
  'x-fern-sdk-method-name': string;
4374
4427
  };
4375
4428
  };
4429
+ '/acs/credential_pools/list': {
4430
+ post: {
4431
+ operationId: string;
4432
+ requestBody: {
4433
+ content: {
4434
+ 'application/json': {
4435
+ schema: {
4436
+ properties: {
4437
+ acs_system_id: {
4438
+ format: string;
4439
+ type: string;
4440
+ };
4441
+ };
4442
+ required: string[];
4443
+ type: string;
4444
+ };
4445
+ };
4446
+ };
4447
+ };
4448
+ responses: {
4449
+ 200: {
4450
+ content: {
4451
+ 'application/json': {
4452
+ schema: {
4453
+ properties: {
4454
+ acs_credential_pools: {
4455
+ items: {
4456
+ properties: {
4457
+ acs_credential_pool_id: {
4458
+ format: string;
4459
+ type: string;
4460
+ };
4461
+ acs_system_id: {
4462
+ format: string;
4463
+ type: string;
4464
+ };
4465
+ created_at: {
4466
+ format: string;
4467
+ type: string;
4468
+ };
4469
+ display_name: {
4470
+ minLength: number;
4471
+ type: string;
4472
+ };
4473
+ external_type: {
4474
+ enum: string[];
4475
+ type: string;
4476
+ };
4477
+ external_type_display_name: {
4478
+ type: string;
4479
+ };
4480
+ workspace_id: {
4481
+ format: string;
4482
+ type: string;
4483
+ };
4484
+ };
4485
+ required: string[];
4486
+ type: string;
4487
+ };
4488
+ type: string;
4489
+ };
4490
+ ok: {
4491
+ type: string;
4492
+ };
4493
+ };
4494
+ required: string[];
4495
+ type: string;
4496
+ };
4497
+ };
4498
+ };
4499
+ description: string;
4500
+ };
4501
+ 400: {
4502
+ description: string;
4503
+ };
4504
+ 401: {
4505
+ description: string;
4506
+ };
4507
+ };
4508
+ security: ({
4509
+ access_token: never[];
4510
+ seam_workspace: never[];
4511
+ seam_client_session_token?: never;
4512
+ client_session_token?: never;
4513
+ } | {
4514
+ seam_client_session_token: never[];
4515
+ access_token?: never;
4516
+ seam_workspace?: never;
4517
+ client_session_token?: never;
4518
+ } | {
4519
+ client_session_token: never[];
4520
+ access_token?: never;
4521
+ seam_workspace?: never;
4522
+ seam_client_session_token?: never;
4523
+ })[];
4524
+ summary: string;
4525
+ tags: never[];
4526
+ 'x-fern-sdk-group-name': string[];
4527
+ 'x-fern-sdk-method-name': string;
4528
+ };
4529
+ };
4376
4530
  '/acs/credentials/assign': {
4377
4531
  patch: {
4378
4532
  operationId: string;
@@ -4402,6 +4556,51 @@ declare const _default: {
4402
4556
  'application/json': {
4403
4557
  schema: {
4404
4558
  properties: {
4559
+ acs_credential: {
4560
+ properties: {
4561
+ acs_credential_id: {
4562
+ format: string;
4563
+ type: string;
4564
+ };
4565
+ acs_credential_pool_id: {
4566
+ format: string;
4567
+ type: string;
4568
+ };
4569
+ acs_system_id: {
4570
+ format: string;
4571
+ type: string;
4572
+ };
4573
+ acs_user_id: {
4574
+ format: string;
4575
+ type: string;
4576
+ };
4577
+ code: {
4578
+ nullable: boolean;
4579
+ type: string;
4580
+ };
4581
+ created_at: {
4582
+ format: string;
4583
+ type: string;
4584
+ };
4585
+ display_name: {
4586
+ minLength: number;
4587
+ type: string;
4588
+ };
4589
+ external_type: {
4590
+ enum: string[];
4591
+ type: string;
4592
+ };
4593
+ external_type_display_name: {
4594
+ type: string;
4595
+ };
4596
+ workspace_id: {
4597
+ format: string;
4598
+ type: string;
4599
+ };
4600
+ };
4601
+ required: string[];
4602
+ type: string;
4603
+ };
4405
4604
  ok: {
4406
4605
  type: string;
4407
4606
  };
@@ -4468,6 +4667,51 @@ declare const _default: {
4468
4667
  'application/json': {
4469
4668
  schema: {
4470
4669
  properties: {
4670
+ acs_credential: {
4671
+ properties: {
4672
+ acs_credential_id: {
4673
+ format: string;
4674
+ type: string;
4675
+ };
4676
+ acs_credential_pool_id: {
4677
+ format: string;
4678
+ type: string;
4679
+ };
4680
+ acs_system_id: {
4681
+ format: string;
4682
+ type: string;
4683
+ };
4684
+ acs_user_id: {
4685
+ format: string;
4686
+ type: string;
4687
+ };
4688
+ code: {
4689
+ nullable: boolean;
4690
+ type: string;
4691
+ };
4692
+ created_at: {
4693
+ format: string;
4694
+ type: string;
4695
+ };
4696
+ display_name: {
4697
+ minLength: number;
4698
+ type: string;
4699
+ };
4700
+ external_type: {
4701
+ enum: string[];
4702
+ type: string;
4703
+ };
4704
+ external_type_display_name: {
4705
+ type: string;
4706
+ };
4707
+ workspace_id: {
4708
+ format: string;
4709
+ type: string;
4710
+ };
4711
+ };
4712
+ required: string[];
4713
+ type: string;
4714
+ };
4471
4715
  ok: {
4472
4716
  type: string;
4473
4717
  };
@@ -4543,6 +4787,10 @@ declare const _default: {
4543
4787
  format: string;
4544
4788
  type: string;
4545
4789
  };
4790
+ acs_credential_pool_id: {
4791
+ format: string;
4792
+ type: string;
4793
+ };
4546
4794
  acs_system_id: {
4547
4795
  format: string;
4548
4796
  type: string;
@@ -4714,6 +4962,10 @@ declare const _default: {
4714
4962
  format: string;
4715
4963
  type: string;
4716
4964
  };
4965
+ acs_credential_pool_id: {
4966
+ format: string;
4967
+ type: string;
4968
+ };
4717
4969
  acs_system_id: {
4718
4970
  format: string;
4719
4971
  type: string;
@@ -4847,6 +5099,10 @@ declare const _default: {
4847
5099
  format: string;
4848
5100
  type: string;
4849
5101
  };
5102
+ acs_credential_pool_id: {
5103
+ format: string;
5104
+ type: string;
5105
+ };
4850
5106
  acs_system_id: {
4851
5107
  format: string;
4852
5108
  type: string;
@@ -4959,6 +5215,10 @@ declare const _default: {
4959
5215
  format: string;
4960
5216
  type: string;
4961
5217
  };
5218
+ acs_credential_pool_id: {
5219
+ format: string;
5220
+ type: string;
5221
+ };
4962
5222
  acs_system_id: {
4963
5223
  format: string;
4964
5224
  type: string;
@@ -5066,6 +5326,10 @@ declare const _default: {
5066
5326
  format: string;
5067
5327
  type: string;
5068
5328
  };
5329
+ acs_credential_pool_id: {
5330
+ format: string;
5331
+ type: string;
5332
+ };
5069
5333
  acs_system_id: {
5070
5334
  format: string;
5071
5335
  type: string;
@@ -7996,26 +8260,7 @@ declare const _default: {
7996
8260
  properties: {
7997
8261
  device_providers: {
7998
8262
  items: {
7999
- properties: {
8000
- device_provider_name: {
8001
- type: string;
8002
- };
8003
- display_name: {
8004
- type: string;
8005
- };
8006
- image_url: {
8007
- type: string;
8008
- };
8009
- provider_categories: {
8010
- items: {
8011
- enum: string[];
8012
- type: string;
8013
- };
8014
- type: string;
8015
- };
8016
- };
8017
- required: string[];
8018
- type: string;
8263
+ $ref: string;
8019
8264
  };
8020
8265
  type: string;
8021
8266
  };