@seamapi/types 1.48.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 +252 -38
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +348 -17
  4. package/lib/seam/connect/openapi.d.ts +163 -3
  5. package/lib/seam/connect/openapi.js +251 -37
  6. package/lib/seam/connect/openapi.js.map +1 -1
  7. package/lib/seam/connect/route-types.d.ts +185 -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 -1
  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 +276 -37
  28. package/src/lib/seam/connect/route-types.ts +185 -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 -1
  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
@@ -81,81 +81,102 @@ declare const _default: {
81
81
  access_code: {
82
82
  properties: {
83
83
  access_code_id: {
84
+ description: string;
84
85
  format: string;
85
86
  type: string;
86
87
  };
87
88
  code: {
89
+ description: string;
88
90
  nullable: boolean;
89
91
  type: string;
90
92
  };
91
93
  common_code_key: {
94
+ description: string;
92
95
  nullable: boolean;
93
96
  type: string;
94
97
  };
95
98
  created_at: {
99
+ description: string;
96
100
  format: string;
97
101
  type: string;
98
102
  };
99
103
  device_id: {
104
+ description: string;
100
105
  format: string;
101
106
  type: string;
102
107
  };
103
108
  ends_at: {
109
+ description: string;
104
110
  format: string;
105
111
  nullable: boolean;
106
112
  type: string;
107
113
  };
108
114
  errors: {
115
+ description: string;
109
116
  nullable: boolean;
110
117
  };
111
118
  is_backup: {
119
+ description: string;
112
120
  type: string;
113
121
  };
114
122
  is_backup_access_code_available: {
123
+ description: string;
115
124
  type: string;
116
125
  };
117
126
  is_external_modification_allowed: {
127
+ description: string;
118
128
  type: string;
119
129
  };
120
130
  is_managed: {
131
+ description: string;
121
132
  enum: boolean[];
122
133
  type: string;
123
134
  };
124
135
  is_offline_access_code: {
136
+ description: string;
125
137
  type: string;
126
138
  };
127
139
  is_one_time_use: {
140
+ description: string;
128
141
  type: string;
129
142
  };
130
143
  is_scheduled_on_device: {
144
+ description: string;
131
145
  type: string;
132
146
  };
133
147
  is_waiting_for_code_assignment: {
148
+ description: string;
134
149
  type: string;
135
150
  };
136
151
  name: {
152
+ description: string;
137
153
  nullable: boolean;
138
154
  type: string;
139
155
  };
140
156
  pulled_backup_access_code_id: {
157
+ description: string;
141
158
  format: string;
142
159
  nullable: boolean;
143
160
  type: string;
144
161
  };
145
162
  starts_at: {
163
+ description: string;
146
164
  format: string;
147
165
  nullable: boolean;
148
166
  type: string;
149
167
  };
150
168
  status: {
169
+ description: string;
151
170
  enum: string[];
152
171
  type: string;
153
172
  };
154
173
  type: {
174
+ description: string;
155
175
  enum: string[];
156
176
  type: string;
157
177
  };
158
178
  warnings: {
179
+ description: string;
159
180
  nullable: boolean;
160
181
  };
161
182
  };
@@ -754,9 +775,6 @@ declare const _default: {
754
775
  };
755
776
  model: {
756
777
  properties: {
757
- access_codes_supported: {
758
- type: string;
759
- };
760
778
  accessory_keypad_supported: {
761
779
  type: string;
762
780
  };
@@ -769,6 +787,9 @@ declare const _default: {
769
787
  offline_access_codes_supported: {
770
788
  type: string;
771
789
  };
790
+ online_access_codes_supported: {
791
+ type: string;
792
+ };
772
793
  };
773
794
  required: string[];
774
795
  type: string;
@@ -2092,27 +2113,33 @@ declare const _default: {
2092
2113
  unmanaged_access_code: {
2093
2114
  properties: {
2094
2115
  access_code_id: {
2116
+ description: string;
2095
2117
  format: string;
2096
2118
  type: string;
2097
2119
  };
2098
2120
  code: {
2121
+ description: string;
2099
2122
  nullable: boolean;
2100
2123
  type: string;
2101
2124
  };
2102
2125
  created_at: {
2126
+ description: string;
2103
2127
  format: string;
2104
2128
  type: string;
2105
2129
  };
2106
2130
  device_id: {
2131
+ description: string;
2107
2132
  format: string;
2108
2133
  type: string;
2109
2134
  };
2110
2135
  ends_at: {
2136
+ description: string;
2111
2137
  format: string;
2112
2138
  nullable: boolean;
2113
2139
  type: string;
2114
2140
  };
2115
2141
  errors: {
2142
+ description: string;
2116
2143
  nullable: boolean;
2117
2144
  };
2118
2145
  is_managed: {
@@ -2120,10 +2147,12 @@ declare const _default: {
2120
2147
  type: string;
2121
2148
  };
2122
2149
  name: {
2150
+ description: string;
2123
2151
  nullable: boolean;
2124
2152
  type: string;
2125
2153
  };
2126
2154
  starts_at: {
2155
+ description: string;
2127
2156
  format: string;
2128
2157
  nullable: boolean;
2129
2158
  type: string;
@@ -2133,10 +2162,12 @@ declare const _default: {
2133
2162
  type: string;
2134
2163
  };
2135
2164
  type: {
2165
+ description: string;
2136
2166
  enum: string[];
2137
2167
  type: string;
2138
2168
  };
2139
2169
  warnings: {
2170
+ description: string;
2140
2171
  nullable: boolean;
2141
2172
  };
2142
2173
  };
@@ -4472,6 +4503,107 @@ declare const _default: {
4472
4503
  'x-fern-sdk-method-name': string;
4473
4504
  };
4474
4505
  };
4506
+ '/acs/credential_pools/list': {
4507
+ post: {
4508
+ operationId: string;
4509
+ requestBody: {
4510
+ content: {
4511
+ 'application/json': {
4512
+ schema: {
4513
+ properties: {
4514
+ acs_system_id: {
4515
+ format: string;
4516
+ type: string;
4517
+ };
4518
+ };
4519
+ required: string[];
4520
+ type: string;
4521
+ };
4522
+ };
4523
+ };
4524
+ };
4525
+ responses: {
4526
+ 200: {
4527
+ content: {
4528
+ 'application/json': {
4529
+ schema: {
4530
+ properties: {
4531
+ acs_credential_pools: {
4532
+ items: {
4533
+ properties: {
4534
+ acs_credential_pool_id: {
4535
+ format: string;
4536
+ type: string;
4537
+ };
4538
+ acs_system_id: {
4539
+ format: string;
4540
+ type: string;
4541
+ };
4542
+ created_at: {
4543
+ format: string;
4544
+ type: string;
4545
+ };
4546
+ display_name: {
4547
+ minLength: number;
4548
+ type: string;
4549
+ };
4550
+ external_type: {
4551
+ enum: string[];
4552
+ type: string;
4553
+ };
4554
+ external_type_display_name: {
4555
+ type: string;
4556
+ };
4557
+ workspace_id: {
4558
+ format: string;
4559
+ type: string;
4560
+ };
4561
+ };
4562
+ required: string[];
4563
+ type: string;
4564
+ };
4565
+ type: string;
4566
+ };
4567
+ ok: {
4568
+ type: string;
4569
+ };
4570
+ };
4571
+ required: string[];
4572
+ type: string;
4573
+ };
4574
+ };
4575
+ };
4576
+ description: string;
4577
+ };
4578
+ 400: {
4579
+ description: string;
4580
+ };
4581
+ 401: {
4582
+ description: string;
4583
+ };
4584
+ };
4585
+ security: ({
4586
+ access_token: never[];
4587
+ seam_workspace: never[];
4588
+ seam_client_session_token?: never;
4589
+ client_session_token?: never;
4590
+ } | {
4591
+ seam_client_session_token: never[];
4592
+ access_token?: never;
4593
+ seam_workspace?: never;
4594
+ client_session_token?: never;
4595
+ } | {
4596
+ client_session_token: never[];
4597
+ access_token?: never;
4598
+ seam_workspace?: never;
4599
+ seam_client_session_token?: never;
4600
+ })[];
4601
+ summary: string;
4602
+ tags: never[];
4603
+ 'x-fern-sdk-group-name': string[];
4604
+ 'x-fern-sdk-method-name': string;
4605
+ };
4606
+ };
4475
4607
  '/acs/credentials/assign': {
4476
4608
  patch: {
4477
4609
  operationId: string;
@@ -4507,6 +4639,10 @@ declare const _default: {
4507
4639
  format: string;
4508
4640
  type: string;
4509
4641
  };
4642
+ acs_credential_pool_id: {
4643
+ format: string;
4644
+ type: string;
4645
+ };
4510
4646
  acs_system_id: {
4511
4647
  format: string;
4512
4648
  type: string;
@@ -4614,6 +4750,10 @@ declare const _default: {
4614
4750
  format: string;
4615
4751
  type: string;
4616
4752
  };
4753
+ acs_credential_pool_id: {
4754
+ format: string;
4755
+ type: string;
4756
+ };
4617
4757
  acs_system_id: {
4618
4758
  format: string;
4619
4759
  type: string;
@@ -4724,6 +4864,10 @@ declare const _default: {
4724
4864
  format: string;
4725
4865
  type: string;
4726
4866
  };
4867
+ acs_credential_pool_id: {
4868
+ format: string;
4869
+ type: string;
4870
+ };
4727
4871
  acs_system_id: {
4728
4872
  format: string;
4729
4873
  type: string;
@@ -4895,6 +5039,10 @@ declare const _default: {
4895
5039
  format: string;
4896
5040
  type: string;
4897
5041
  };
5042
+ acs_credential_pool_id: {
5043
+ format: string;
5044
+ type: string;
5045
+ };
4898
5046
  acs_system_id: {
4899
5047
  format: string;
4900
5048
  type: string;
@@ -5028,6 +5176,10 @@ declare const _default: {
5028
5176
  format: string;
5029
5177
  type: string;
5030
5178
  };
5179
+ acs_credential_pool_id: {
5180
+ format: string;
5181
+ type: string;
5182
+ };
5031
5183
  acs_system_id: {
5032
5184
  format: string;
5033
5185
  type: string;
@@ -5140,6 +5292,10 @@ declare const _default: {
5140
5292
  format: string;
5141
5293
  type: string;
5142
5294
  };
5295
+ acs_credential_pool_id: {
5296
+ format: string;
5297
+ type: string;
5298
+ };
5143
5299
  acs_system_id: {
5144
5300
  format: string;
5145
5301
  type: string;
@@ -5247,6 +5403,10 @@ declare const _default: {
5247
5403
  format: string;
5248
5404
  type: string;
5249
5405
  };
5406
+ acs_credential_pool_id: {
5407
+ format: string;
5408
+ type: string;
5409
+ };
5250
5410
  acs_system_id: {
5251
5411
  format: string;
5252
5412
  type: string;
@@ -12949,26 +13109,49 @@ interface Routes {
12949
13109
  };
12950
13110
  };
12951
13111
  access_code: {
13112
+ /** Unique identifier for a group of access codes that share the same code. */
12952
13113
  common_code_key: string | null;
13114
+ /** Indicates whether the code is set on the device according to a preconfigured schedule. */
12953
13115
  is_scheduled_on_device?: boolean | undefined;
13116
+ /** Nature of the access code. Values are "ongoing" for access codes that are active continuously until deactivated manually or "time_bound" for access codes that have a specific duration. */
12954
13117
  type: 'time_bound' | 'ongoing';
13118
+ /** Indicates whether the access code is waiting for a code assignment. */
12955
13119
  is_waiting_for_code_assignment?: boolean | undefined;
13120
+ /** Unique identifier for the access code. */
12956
13121
  access_code_id: string;
13122
+ /** Unique identifier for the device associated with the access code. */
12957
13123
  device_id: string;
13124
+ /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
12958
13125
  name: string | null;
13126
+ /** Code used for access. Typically, a numeric or alphanumeric string. */
12959
13127
  code: string | null;
13128
+ /** Date and time at which the access code was created. */
12960
13129
  created_at: string;
13130
+ /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
12961
13131
  errors?: any;
13132
+ /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
12962
13133
  warnings?: any;
13134
+ /** Indicates whether Seam manages the access code. */
12963
13135
  is_managed: true;
13136
+ /** Date and time at which the time-bound access code becomes active. */
12964
13137
  starts_at?: (string | null) | undefined;
13138
+ /** Date and time after which the time-bound access code becomes inactive. */
12965
13139
  ends_at?: (string | null) | undefined;
13140
+ /**
13141
+ Current status of the access code within the operational lifecycle. Values are "setting," a transitional phase that indicates that the code is being configured or activated; "set", which indicates that the code is active and operational; "unset," which indicates a deactivated or unused state, either before activation or after deliberate deactivation; "removing," which indicates a transitional period in which the code is being deleted or made inactive; and "unknown," which indicates an indeterminate state, due to reasons such as system errors or incomplete data, that highlights a potential need for system review or troubleshooting.
13142
+ */
12966
13143
  status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown';
13144
+ /** Indicates whether a backup access code is available for use if the primary access code is lost or compromised. */
12967
13145
  is_backup_access_code_available: boolean;
13146
+ /** Indicates whether the access code is a backup code. */
12968
13147
  is_backup?: boolean | undefined;
13148
+ /** Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code. */
12969
13149
  pulled_backup_access_code_id?: (string | null) | undefined;
13150
+ /** Indicates whether changes to the access code from external sources are permitted. */
12970
13151
  is_external_modification_allowed: boolean;
13152
+ /** Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use. */
12971
13153
  is_one_time_use: boolean;
13154
+ /** Indicates whether the access code is intended for use in offline scenarios. If "true," this code can be created on a device without a network connection. */
12972
13155
  is_offline_access_code: boolean;
12973
13156
  };
12974
13157
  };
@@ -12998,26 +13181,49 @@ interface Routes {
12998
13181
  formData: {};
12999
13182
  jsonResponse: {
13000
13183
  access_codes: Array<{
13184
+ /** Unique identifier for a group of access codes that share the same code. */
13001
13185
  common_code_key: string | null;
13186
+ /** Indicates whether the code is set on the device according to a preconfigured schedule. */
13002
13187
  is_scheduled_on_device?: boolean | undefined;
13188
+ /** Nature of the access code. Values are "ongoing" for access codes that are active continuously until deactivated manually or "time_bound" for access codes that have a specific duration. */
13003
13189
  type: 'time_bound' | 'ongoing';
13190
+ /** Indicates whether the access code is waiting for a code assignment. */
13004
13191
  is_waiting_for_code_assignment?: boolean | undefined;
13192
+ /** Unique identifier for the access code. */
13005
13193
  access_code_id: string;
13194
+ /** Unique identifier for the device associated with the access code. */
13006
13195
  device_id: string;
13196
+ /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
13007
13197
  name: string | null;
13198
+ /** Code used for access. Typically, a numeric or alphanumeric string. */
13008
13199
  code: string | null;
13200
+ /** Date and time at which the access code was created. */
13009
13201
  created_at: string;
13202
+ /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
13010
13203
  errors?: any;
13204
+ /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
13011
13205
  warnings?: any;
13206
+ /** Indicates whether Seam manages the access code. */
13012
13207
  is_managed: true;
13208
+ /** Date and time at which the time-bound access code becomes active. */
13013
13209
  starts_at?: (string | null) | undefined;
13210
+ /** Date and time after which the time-bound access code becomes inactive. */
13014
13211
  ends_at?: (string | null) | undefined;
13212
+ /**
13213
+ Current status of the access code within the operational lifecycle. Values are "setting," a transitional phase that indicates that the code is being configured or activated; "set", which indicates that the code is active and operational; "unset," which indicates a deactivated or unused state, either before activation or after deliberate deactivation; "removing," which indicates a transitional period in which the code is being deleted or made inactive; and "unknown," which indicates an indeterminate state, due to reasons such as system errors or incomplete data, that highlights a potential need for system review or troubleshooting.
13214
+ */
13015
13215
  status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown';
13216
+ /** Indicates whether a backup access code is available for use if the primary access code is lost or compromised. */
13016
13217
  is_backup_access_code_available: boolean;
13218
+ /** Indicates whether the access code is a backup code. */
13017
13219
  is_backup?: boolean | undefined;
13220
+ /** Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code. */
13018
13221
  pulled_backup_access_code_id?: (string | null) | undefined;
13222
+ /** Indicates whether changes to the access code from external sources are permitted. */
13019
13223
  is_external_modification_allowed: boolean;
13224
+ /** Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use. */
13020
13225
  is_one_time_use: boolean;
13226
+ /** Indicates whether the access code is intended for use in offline scenarios. If "true," this code can be created on a device without a network connection. */
13021
13227
  is_offline_access_code: boolean;
13022
13228
  }>;
13023
13229
  };
@@ -13087,26 +13293,49 @@ interface Routes {
13087
13293
  formData: {};
13088
13294
  jsonResponse: {
13089
13295
  access_code: {
13296
+ /** Unique identifier for a group of access codes that share the same code. */
13090
13297
  common_code_key: string | null;
13298
+ /** Indicates whether the code is set on the device according to a preconfigured schedule. */
13091
13299
  is_scheduled_on_device?: boolean | undefined;
13300
+ /** Nature of the access code. Values are "ongoing" for access codes that are active continuously until deactivated manually or "time_bound" for access codes that have a specific duration. */
13092
13301
  type: 'time_bound' | 'ongoing';
13302
+ /** Indicates whether the access code is waiting for a code assignment. */
13093
13303
  is_waiting_for_code_assignment?: boolean | undefined;
13304
+ /** Unique identifier for the access code. */
13094
13305
  access_code_id: string;
13306
+ /** Unique identifier for the device associated with the access code. */
13095
13307
  device_id: string;
13308
+ /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
13096
13309
  name: string | null;
13310
+ /** Code used for access. Typically, a numeric or alphanumeric string. */
13097
13311
  code: string | null;
13312
+ /** Date and time at which the access code was created. */
13098
13313
  created_at: string;
13314
+ /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
13099
13315
  errors?: any;
13316
+ /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
13100
13317
  warnings?: any;
13318
+ /** Indicates whether Seam manages the access code. */
13101
13319
  is_managed: true;
13320
+ /** Date and time at which the time-bound access code becomes active. */
13102
13321
  starts_at?: (string | null) | undefined;
13322
+ /** Date and time after which the time-bound access code becomes inactive. */
13103
13323
  ends_at?: (string | null) | undefined;
13324
+ /**
13325
+ Current status of the access code within the operational lifecycle. Values are "setting," a transitional phase that indicates that the code is being configured or activated; "set", which indicates that the code is active and operational; "unset," which indicates a deactivated or unused state, either before activation or after deliberate deactivation; "removing," which indicates a transitional period in which the code is being deleted or made inactive; and "unknown," which indicates an indeterminate state, due to reasons such as system errors or incomplete data, that highlights a potential need for system review or troubleshooting.
13326
+ */
13104
13327
  status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown';
13328
+ /** Indicates whether a backup access code is available for use if the primary access code is lost or compromised. */
13105
13329
  is_backup_access_code_available: boolean;
13330
+ /** Indicates whether the access code is a backup code. */
13106
13331
  is_backup?: boolean | undefined;
13332
+ /** Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code. */
13107
13333
  pulled_backup_access_code_id?: (string | null) | undefined;
13334
+ /** Indicates whether changes to the access code from external sources are permitted. */
13108
13335
  is_external_modification_allowed: boolean;
13336
+ /** Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use. */
13109
13337
  is_one_time_use: boolean;
13338
+ /** Indicates whether the access code is intended for use in offline scenarios. If "true," this code can be created on a device without a network connection. */
13110
13339
  is_offline_access_code: boolean;
13111
13340
  };
13112
13341
  };
@@ -13124,26 +13353,49 @@ interface Routes {
13124
13353
  formData: {};
13125
13354
  jsonResponse: {
13126
13355
  access_codes: Array<{
13356
+ /** Unique identifier for a group of access codes that share the same code. */
13127
13357
  common_code_key: string | null;
13358
+ /** Indicates whether the code is set on the device according to a preconfigured schedule. */
13128
13359
  is_scheduled_on_device?: boolean | undefined;
13360
+ /** Nature of the access code. Values are "ongoing" for access codes that are active continuously until deactivated manually or "time_bound" for access codes that have a specific duration. */
13129
13361
  type: 'time_bound' | 'ongoing';
13362
+ /** Indicates whether the access code is waiting for a code assignment. */
13130
13363
  is_waiting_for_code_assignment?: boolean | undefined;
13364
+ /** Unique identifier for the access code. */
13131
13365
  access_code_id: string;
13366
+ /** Unique identifier for the device associated with the access code. */
13132
13367
  device_id: string;
13368
+ /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
13133
13369
  name: string | null;
13370
+ /** Code used for access. Typically, a numeric or alphanumeric string. */
13134
13371
  code: string | null;
13372
+ /** Date and time at which the access code was created. */
13135
13373
  created_at: string;
13374
+ /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
13136
13375
  errors?: any;
13376
+ /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
13137
13377
  warnings?: any;
13378
+ /** Indicates whether Seam manages the access code. */
13138
13379
  is_managed: true;
13380
+ /** Date and time at which the time-bound access code becomes active. */
13139
13381
  starts_at?: (string | null) | undefined;
13382
+ /** Date and time after which the time-bound access code becomes inactive. */
13140
13383
  ends_at?: (string | null) | undefined;
13384
+ /**
13385
+ Current status of the access code within the operational lifecycle. Values are "setting," a transitional phase that indicates that the code is being configured or activated; "set", which indicates that the code is active and operational; "unset," which indicates a deactivated or unused state, either before activation or after deliberate deactivation; "removing," which indicates a transitional period in which the code is being deleted or made inactive; and "unknown," which indicates an indeterminate state, due to reasons such as system errors or incomplete data, that highlights a potential need for system review or troubleshooting.
13386
+ */
13141
13387
  status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown';
13388
+ /** Indicates whether a backup access code is available for use if the primary access code is lost or compromised. */
13142
13389
  is_backup_access_code_available: boolean;
13390
+ /** Indicates whether the access code is a backup code. */
13143
13391
  is_backup?: boolean | undefined;
13392
+ /** Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code. */
13144
13393
  pulled_backup_access_code_id?: (string | null) | undefined;
13394
+ /** Indicates whether changes to the access code from external sources are permitted. */
13145
13395
  is_external_modification_allowed: boolean;
13396
+ /** Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use. */
13146
13397
  is_one_time_use: boolean;
13398
+ /** Indicates whether the access code is intended for use in offline scenarios. If "true," this code can be created on a device without a network connection. */
13147
13399
  is_offline_access_code: boolean;
13148
13400
  }>;
13149
13401
  };
@@ -13159,26 +13411,49 @@ interface Routes {
13159
13411
  formData: {};
13160
13412
  jsonResponse: {
13161
13413
  backup_access_code: {
13414
+ /** Unique identifier for a group of access codes that share the same code. */
13162
13415
  common_code_key: string | null;
13416
+ /** Indicates whether the code is set on the device according to a preconfigured schedule. */
13163
13417
  is_scheduled_on_device?: boolean | undefined;
13418
+ /** Nature of the access code. Values are "ongoing" for access codes that are active continuously until deactivated manually or "time_bound" for access codes that have a specific duration. */
13164
13419
  type: 'time_bound' | 'ongoing';
13420
+ /** Indicates whether the access code is waiting for a code assignment. */
13165
13421
  is_waiting_for_code_assignment?: boolean | undefined;
13422
+ /** Unique identifier for the access code. */
13166
13423
  access_code_id: string;
13424
+ /** Unique identifier for the device associated with the access code. */
13167
13425
  device_id: string;
13426
+ /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
13168
13427
  name: string | null;
13428
+ /** Code used for access. Typically, a numeric or alphanumeric string. */
13169
13429
  code: string | null;
13430
+ /** Date and time at which the access code was created. */
13170
13431
  created_at: string;
13432
+ /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
13171
13433
  errors?: any;
13434
+ /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
13172
13435
  warnings?: any;
13436
+ /** Indicates whether Seam manages the access code. */
13173
13437
  is_managed: true;
13438
+ /** Date and time at which the time-bound access code becomes active. */
13174
13439
  starts_at?: (string | null) | undefined;
13440
+ /** Date and time after which the time-bound access code becomes inactive. */
13175
13441
  ends_at?: (string | null) | undefined;
13442
+ /**
13443
+ Current status of the access code within the operational lifecycle. Values are "setting," a transitional phase that indicates that the code is being configured or activated; "set", which indicates that the code is active and operational; "unset," which indicates a deactivated or unused state, either before activation or after deliberate deactivation; "removing," which indicates a transitional period in which the code is being deleted or made inactive; and "unknown," which indicates an indeterminate state, due to reasons such as system errors or incomplete data, that highlights a potential need for system review or troubleshooting.
13444
+ */
13176
13445
  status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown';
13446
+ /** Indicates whether a backup access code is available for use if the primary access code is lost or compromised. */
13177
13447
  is_backup_access_code_available: boolean;
13448
+ /** Indicates whether the access code is a backup code. */
13178
13449
  is_backup?: boolean | undefined;
13450
+ /** Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code. */
13179
13451
  pulled_backup_access_code_id?: (string | null) | undefined;
13452
+ /** Indicates whether changes to the access code from external sources are permitted. */
13180
13453
  is_external_modification_allowed: boolean;
13454
+ /** Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use. */
13181
13455
  is_one_time_use: boolean;
13456
+ /** Indicates whether the access code is intended for use in offline scenarios. If "true," this code can be created on a device without a network connection. */
13182
13457
  is_offline_access_code: boolean;
13183
13458
  };
13184
13459
  };
@@ -13196,16 +13471,26 @@ interface Routes {
13196
13471
  formData: {};
13197
13472
  jsonResponse: {
13198
13473
  access_code: {
13474
+ /** Nature of the access code. Values are "ongoing" for access codes that are active continuously until deactivated manually or "time_bound" for access codes that have a specific duration. */
13199
13475
  type: 'time_bound' | 'ongoing';
13476
+ /** Unique identifier for the access code. */
13200
13477
  access_code_id: string;
13478
+ /** Unique identifier for the device associated with the access code. */
13201
13479
  device_id: string;
13480
+ /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
13202
13481
  name: string | null;
13482
+ /** Code used for access. Typically, a numeric or alphanumeric string. */
13203
13483
  code: string | null;
13484
+ /** Date and time at which the access code was created. */
13204
13485
  created_at: string;
13486
+ /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
13205
13487
  errors?: any;
13488
+ /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
13206
13489
  warnings?: any;
13207
13490
  is_managed: false;
13491
+ /** Date and time at which the time-bound access code becomes active. */
13208
13492
  starts_at?: (string | null) | undefined;
13493
+ /** Date and time after which the time-bound access code becomes inactive. */
13209
13494
  ends_at?: (string | null) | undefined;
13210
13495
  status: 'set';
13211
13496
  };
@@ -13274,16 +13559,26 @@ interface Routes {
13274
13559
  formData: {};
13275
13560
  jsonResponse: {
13276
13561
  access_code: {
13562
+ /** Nature of the access code. Values are "ongoing" for access codes that are active continuously until deactivated manually or "time_bound" for access codes that have a specific duration. */
13277
13563
  type: 'time_bound' | 'ongoing';
13564
+ /** Unique identifier for the access code. */
13278
13565
  access_code_id: string;
13566
+ /** Unique identifier for the device associated with the access code. */
13279
13567
  device_id: string;
13568
+ /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
13280
13569
  name: string | null;
13570
+ /** Code used for access. Typically, a numeric or alphanumeric string. */
13281
13571
  code: string | null;
13572
+ /** Date and time at which the access code was created. */
13282
13573
  created_at: string;
13574
+ /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
13283
13575
  errors?: any;
13576
+ /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
13284
13577
  warnings?: any;
13285
13578
  is_managed: false;
13579
+ /** Date and time at which the time-bound access code becomes active. */
13286
13580
  starts_at?: (string | null) | undefined;
13581
+ /** Date and time after which the time-bound access code becomes inactive. */
13287
13582
  ends_at?: (string | null) | undefined;
13288
13583
  status: 'set';
13289
13584
  };
@@ -13301,16 +13596,26 @@ interface Routes {
13301
13596
  formData: {};
13302
13597
  jsonResponse: {
13303
13598
  access_codes: Array<{
13599
+ /** Nature of the access code. Values are "ongoing" for access codes that are active continuously until deactivated manually or "time_bound" for access codes that have a specific duration. */
13304
13600
  type: 'time_bound' | 'ongoing';
13601
+ /** Unique identifier for the access code. */
13305
13602
  access_code_id: string;
13603
+ /** Unique identifier for the device associated with the access code. */
13306
13604
  device_id: string;
13605
+ /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
13307
13606
  name: string | null;
13607
+ /** Code used for access. Typically, a numeric or alphanumeric string. */
13308
13608
  code: string | null;
13609
+ /** Date and time at which the access code was created. */
13309
13610
  created_at: string;
13611
+ /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
13310
13612
  errors?: any;
13613
+ /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
13311
13614
  warnings?: any;
13312
13615
  is_managed: false;
13616
+ /** Date and time at which the time-bound access code becomes active. */
13313
13617
  starts_at?: (string | null) | undefined;
13618
+ /** Date and time after which the time-bound access code becomes inactive. */
13314
13619
  ends_at?: (string | null) | undefined;
13315
13620
  status: 'set';
13316
13621
  }>;
@@ -13484,6 +13789,27 @@ interface Routes {
13484
13789
  formData: {};
13485
13790
  jsonResponse: {};
13486
13791
  };
13792
+ '/acs/credential_pools/list': {
13793
+ route: '/acs/credential_pools/list';
13794
+ method: 'GET' | 'POST';
13795
+ queryParams: {};
13796
+ jsonBody: {};
13797
+ commonParams: {
13798
+ acs_system_id: string;
13799
+ };
13800
+ formData: {};
13801
+ jsonResponse: {
13802
+ acs_credential_pools: Array<{
13803
+ acs_credential_pool_id: string;
13804
+ acs_system_id: string;
13805
+ display_name: string;
13806
+ external_type: 'hid_part_number';
13807
+ external_type_display_name: string;
13808
+ created_at: string;
13809
+ workspace_id: string;
13810
+ }>;
13811
+ };
13812
+ };
13487
13813
  '/acs/credentials/assign': {
13488
13814
  route: '/acs/credentials/assign';
13489
13815
  method: 'PATCH' | 'POST';
@@ -13498,10 +13824,11 @@ interface Routes {
13498
13824
  acs_credential: {
13499
13825
  acs_credential_id: string;
13500
13826
  acs_user_id?: string | undefined;
13827
+ acs_credential_pool_id?: string | undefined;
13501
13828
  acs_system_id: string;
13502
13829
  display_name: string;
13503
13830
  code: string | null;
13504
- external_type: 'pti_card' | 'brivo_credential' | 'hid_cm_credential';
13831
+ external_type: 'pti_card' | 'brivo_credential' | 'hid_credential';
13505
13832
  external_type_display_name: string;
13506
13833
  created_at: string;
13507
13834
  workspace_id: string;
@@ -13522,10 +13849,11 @@ interface Routes {
13522
13849
  acs_credential: {
13523
13850
  acs_credential_id: string;
13524
13851
  acs_user_id?: string | undefined;
13852
+ acs_credential_pool_id?: string | undefined;
13525
13853
  acs_system_id: string;
13526
13854
  display_name: string;
13527
13855
  code: string | null;
13528
- external_type: 'pti_card' | 'brivo_credential' | 'hid_cm_credential';
13856
+ external_type: 'pti_card' | 'brivo_credential' | 'hid_credential';
13529
13857
  external_type_display_name: string;
13530
13858
  created_at: string;
13531
13859
  workspace_id: string;
@@ -13556,10 +13884,11 @@ interface Routes {
13556
13884
  acs_credential: {
13557
13885
  acs_credential_id: string;
13558
13886
  acs_user_id?: string | undefined;
13887
+ acs_credential_pool_id?: string | undefined;
13559
13888
  acs_system_id: string;
13560
13889
  display_name: string;
13561
13890
  code: string | null;
13562
- external_type: 'pti_card' | 'brivo_credential' | 'hid_cm_credential';
13891
+ external_type: 'pti_card' | 'brivo_credential' | 'hid_credential';
13563
13892
  external_type_display_name: string;
13564
13893
  created_at: string;
13565
13894
  workspace_id: string;
@@ -13584,10 +13913,11 @@ interface Routes {
13584
13913
  acs_credentials: Array<{
13585
13914
  acs_credential_id: string;
13586
13915
  acs_user_id?: string | undefined;
13916
+ acs_credential_pool_id?: string | undefined;
13587
13917
  acs_system_id: string;
13588
13918
  display_name: string;
13589
13919
  code: string | null;
13590
- external_type: 'pti_card' | 'brivo_credential' | 'hid_cm_credential';
13920
+ external_type: 'pti_card' | 'brivo_credential' | 'hid_credential';
13591
13921
  external_type_display_name: string;
13592
13922
  created_at: string;
13593
13923
  workspace_id: string;
@@ -13608,10 +13938,11 @@ interface Routes {
13608
13938
  acs_credential: {
13609
13939
  acs_credential_id: string;
13610
13940
  acs_user_id?: string | undefined;
13941
+ acs_credential_pool_id?: string | undefined;
13611
13942
  acs_system_id: string;
13612
13943
  display_name: string;
13613
13944
  code: string | null;
13614
- external_type: 'pti_card' | 'brivo_credential' | 'hid_cm_credential';
13945
+ external_type: 'pti_card' | 'brivo_credential' | 'hid_credential';
13615
13946
  external_type_display_name: string;
13616
13947
  created_at: string;
13617
13948
  workspace_id: string;
@@ -14304,7 +14635,7 @@ interface Routes {
14304
14635
  display_name: string;
14305
14636
  manufacturer_display_name: string;
14306
14637
  offline_access_codes_supported?: boolean | undefined;
14307
- access_codes_supported?: boolean | undefined;
14638
+ online_access_codes_supported?: boolean | undefined;
14308
14639
  accessory_keypad_supported?: boolean | undefined;
14309
14640
  };
14310
14641
  has_direct_power?: boolean | undefined;
@@ -14723,7 +15054,7 @@ interface Routes {
14723
15054
  display_name: string;
14724
15055
  manufacturer_display_name: string;
14725
15056
  offline_access_codes_supported?: boolean | undefined;
14726
- access_codes_supported?: boolean | undefined;
15057
+ online_access_codes_supported?: boolean | undefined;
14727
15058
  accessory_keypad_supported?: boolean | undefined;
14728
15059
  };
14729
15060
  has_direct_power?: boolean | undefined;
@@ -15397,7 +15728,7 @@ interface Routes {
15397
15728
  display_name: string;
15398
15729
  manufacturer_display_name: string;
15399
15730
  offline_access_codes_supported?: boolean | undefined;
15400
- access_codes_supported?: boolean | undefined;
15731
+ online_access_codes_supported?: boolean | undefined;
15401
15732
  accessory_keypad_supported?: boolean | undefined;
15402
15733
  };
15403
15734
  has_direct_power?: boolean | undefined;
@@ -15794,7 +16125,7 @@ interface Routes {
15794
16125
  display_name: string;
15795
16126
  manufacturer_display_name: string;
15796
16127
  offline_access_codes_supported?: boolean | undefined;
15797
- access_codes_supported?: boolean | undefined;
16128
+ online_access_codes_supported?: boolean | undefined;
15798
16129
  accessory_keypad_supported?: boolean | undefined;
15799
16130
  };
15800
16131
  has_direct_power?: boolean | undefined;
@@ -16213,7 +16544,7 @@ interface Routes {
16213
16544
  display_name: string;
16214
16545
  manufacturer_display_name: string;
16215
16546
  offline_access_codes_supported?: boolean | undefined;
16216
- access_codes_supported?: boolean | undefined;
16547
+ online_access_codes_supported?: boolean | undefined;
16217
16548
  accessory_keypad_supported?: boolean | undefined;
16218
16549
  };
16219
16550
  has_direct_power?: boolean | undefined;
@@ -16610,7 +16941,7 @@ interface Routes {
16610
16941
  display_name: string;
16611
16942
  manufacturer_display_name: string;
16612
16943
  offline_access_codes_supported?: boolean | undefined;
16613
- access_codes_supported?: boolean | undefined;
16944
+ online_access_codes_supported?: boolean | undefined;
16614
16945
  accessory_keypad_supported?: boolean | undefined;
16615
16946
  };
16616
16947
  has_direct_power?: boolean | undefined;
@@ -17427,7 +17758,7 @@ interface Routes {
17427
17758
  display_name: string;
17428
17759
  manufacturer_display_name: string;
17429
17760
  offline_access_codes_supported?: boolean | undefined;
17430
- access_codes_supported?: boolean | undefined;
17761
+ online_access_codes_supported?: boolean | undefined;
17431
17762
  accessory_keypad_supported?: boolean | undefined;
17432
17763
  };
17433
17764
  has_direct_power?: boolean | undefined;
@@ -17876,7 +18207,7 @@ interface Routes {
17876
18207
  display_name: string;
17877
18208
  manufacturer_display_name: string;
17878
18209
  offline_access_codes_supported?: boolean | undefined;
17879
- access_codes_supported?: boolean | undefined;
18210
+ online_access_codes_supported?: boolean | undefined;
17880
18211
  accessory_keypad_supported?: boolean | undefined;
17881
18212
  };
17882
18213
  has_direct_power?: boolean | undefined;
@@ -18397,7 +18728,7 @@ interface Routes {
18397
18728
  display_name: string;
18398
18729
  manufacturer_display_name: string;
18399
18730
  offline_access_codes_supported?: boolean | undefined;
18400
- access_codes_supported?: boolean | undefined;
18731
+ online_access_codes_supported?: boolean | undefined;
18401
18732
  accessory_keypad_supported?: boolean | undefined;
18402
18733
  };
18403
18734
  has_direct_power?: boolean | undefined;