@seamapi/types 1.48.0 → 1.50.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.
- package/dist/connect.cjs +333 -38
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +477 -17
- package/lib/seam/connect/openapi.d.ts +269 -3
- package/lib/seam/connect/openapi.js +332 -37
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +208 -14
- package/lib/seam/connect/unstable/model-types.d.ts +1 -1
- package/lib/seam/connect/unstable/models/access-codes/managed-access-code.js +81 -21
- package/lib/seam/connect/unstable/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/credential.d.ts +7 -4
- package/lib/seam/connect/unstable/models/acs/credential.js +2 -1
- package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/credential_pool.d.ts +29 -0
- package/lib/seam/connect/unstable/models/acs/credential_pool.js +12 -0
- package/lib/seam/connect/unstable/models/acs/credential_pool.js.map +1 -0
- package/lib/seam/connect/unstable/models/acs/credential_provisioning_automation.d.ts +21 -0
- package/lib/seam/connect/unstable/models/acs/credential_provisioning_automation.js +9 -0
- package/lib/seam/connect/unstable/models/acs/credential_provisioning_automation.js.map +1 -0
- package/lib/seam/connect/unstable/models/acs/index.d.ts +2 -0
- package/lib/seam/connect/unstable/models/acs/index.js +2 -0
- package/lib/seam/connect/unstable/models/acs/index.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +14 -14
- package/lib/seam/connect/unstable/models/devices/managed-device.js +1 -1
- package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/unstable/schemas.d.ts +1 -1
- package/lib/seam/connect/unstable/schemas.js +1 -1
- package/lib/seam/connect/unstable/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +357 -37
- package/src/lib/seam/connect/route-types.ts +208 -14
- package/src/lib/seam/connect/unstable/model-types.ts +2 -0
- package/src/lib/seam/connect/unstable/models/access-codes/managed-access-code.ts +113 -21
- package/src/lib/seam/connect/unstable/models/acs/credential.ts +2 -1
- package/src/lib/seam/connect/unstable/models/acs/credential_pool.ts +19 -0
- package/src/lib/seam/connect/unstable/models/acs/credential_provisioning_automation.ts +13 -0
- package/src/lib/seam/connect/unstable/models/acs/index.ts +2 -0
- package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +1 -1
- package/src/lib/seam/connect/unstable/schemas.ts +3 -0
|
@@ -50,26 +50,49 @@ export interface Routes {
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
access_code: {
|
|
53
|
+
/** Unique identifier for a group of access codes that share the same code. */
|
|
53
54
|
common_code_key: string | null
|
|
55
|
+
/** Indicates whether the code is set on the device according to a preconfigured schedule. */
|
|
54
56
|
is_scheduled_on_device?: boolean | undefined
|
|
57
|
+
/** 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. */
|
|
55
58
|
type: 'time_bound' | 'ongoing'
|
|
59
|
+
/** Indicates whether the access code is waiting for a code assignment. */
|
|
56
60
|
is_waiting_for_code_assignment?: boolean | undefined
|
|
61
|
+
/** Unique identifier for the access code. */
|
|
57
62
|
access_code_id: string
|
|
63
|
+
/** Unique identifier for the device associated with the access code. */
|
|
58
64
|
device_id: string
|
|
65
|
+
/** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
|
|
59
66
|
name: string | null
|
|
67
|
+
/** Code used for access. Typically, a numeric or alphanumeric string. */
|
|
60
68
|
code: string | null
|
|
69
|
+
/** Date and time at which the access code was created. */
|
|
61
70
|
created_at: string
|
|
71
|
+
/** 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. */
|
|
62
72
|
errors?: any
|
|
73
|
+
/** 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. */
|
|
63
74
|
warnings?: any
|
|
75
|
+
/** Indicates whether Seam manages the access code. */
|
|
64
76
|
is_managed: true
|
|
77
|
+
/** Date and time at which the time-bound access code becomes active. */
|
|
65
78
|
starts_at?: (string | null) | undefined
|
|
79
|
+
/** Date and time after which the time-bound access code becomes inactive. */
|
|
66
80
|
ends_at?: (string | null) | undefined
|
|
81
|
+
/**
|
|
82
|
+
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.
|
|
83
|
+
*/
|
|
67
84
|
status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown'
|
|
85
|
+
/** Indicates whether a backup access code is available for use if the primary access code is lost or compromised. */
|
|
68
86
|
is_backup_access_code_available: boolean
|
|
87
|
+
/** Indicates whether the access code is a backup code. */
|
|
69
88
|
is_backup?: boolean | undefined
|
|
89
|
+
/** Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code. */
|
|
70
90
|
pulled_backup_access_code_id?: (string | null) | undefined
|
|
91
|
+
/** Indicates whether changes to the access code from external sources are permitted. */
|
|
71
92
|
is_external_modification_allowed: boolean
|
|
93
|
+
/** Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use. */
|
|
72
94
|
is_one_time_use: boolean
|
|
95
|
+
/** 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. */
|
|
73
96
|
is_offline_access_code: boolean
|
|
74
97
|
}
|
|
75
98
|
}
|
|
@@ -99,26 +122,49 @@ export interface Routes {
|
|
|
99
122
|
formData: {}
|
|
100
123
|
jsonResponse: {
|
|
101
124
|
access_codes: Array<{
|
|
125
|
+
/** Unique identifier for a group of access codes that share the same code. */
|
|
102
126
|
common_code_key: string | null
|
|
127
|
+
/** Indicates whether the code is set on the device according to a preconfigured schedule. */
|
|
103
128
|
is_scheduled_on_device?: boolean | undefined
|
|
129
|
+
/** 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. */
|
|
104
130
|
type: 'time_bound' | 'ongoing'
|
|
131
|
+
/** Indicates whether the access code is waiting for a code assignment. */
|
|
105
132
|
is_waiting_for_code_assignment?: boolean | undefined
|
|
133
|
+
/** Unique identifier for the access code. */
|
|
106
134
|
access_code_id: string
|
|
135
|
+
/** Unique identifier for the device associated with the access code. */
|
|
107
136
|
device_id: string
|
|
137
|
+
/** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
|
|
108
138
|
name: string | null
|
|
139
|
+
/** Code used for access. Typically, a numeric or alphanumeric string. */
|
|
109
140
|
code: string | null
|
|
141
|
+
/** Date and time at which the access code was created. */
|
|
110
142
|
created_at: string
|
|
143
|
+
/** 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. */
|
|
111
144
|
errors?: any
|
|
145
|
+
/** 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. */
|
|
112
146
|
warnings?: any
|
|
147
|
+
/** Indicates whether Seam manages the access code. */
|
|
113
148
|
is_managed: true
|
|
149
|
+
/** Date and time at which the time-bound access code becomes active. */
|
|
114
150
|
starts_at?: (string | null) | undefined
|
|
151
|
+
/** Date and time after which the time-bound access code becomes inactive. */
|
|
115
152
|
ends_at?: (string | null) | undefined
|
|
153
|
+
/**
|
|
154
|
+
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.
|
|
155
|
+
*/
|
|
116
156
|
status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown'
|
|
157
|
+
/** Indicates whether a backup access code is available for use if the primary access code is lost or compromised. */
|
|
117
158
|
is_backup_access_code_available: boolean
|
|
159
|
+
/** Indicates whether the access code is a backup code. */
|
|
118
160
|
is_backup?: boolean | undefined
|
|
161
|
+
/** Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code. */
|
|
119
162
|
pulled_backup_access_code_id?: (string | null) | undefined
|
|
163
|
+
/** Indicates whether changes to the access code from external sources are permitted. */
|
|
120
164
|
is_external_modification_allowed: boolean
|
|
165
|
+
/** Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use. */
|
|
121
166
|
is_one_time_use: boolean
|
|
167
|
+
/** 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. */
|
|
122
168
|
is_offline_access_code: boolean
|
|
123
169
|
}>
|
|
124
170
|
}
|
|
@@ -191,26 +237,49 @@ export interface Routes {
|
|
|
191
237
|
formData: {}
|
|
192
238
|
jsonResponse: {
|
|
193
239
|
access_code: {
|
|
240
|
+
/** Unique identifier for a group of access codes that share the same code. */
|
|
194
241
|
common_code_key: string | null
|
|
242
|
+
/** Indicates whether the code is set on the device according to a preconfigured schedule. */
|
|
195
243
|
is_scheduled_on_device?: boolean | undefined
|
|
244
|
+
/** 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. */
|
|
196
245
|
type: 'time_bound' | 'ongoing'
|
|
246
|
+
/** Indicates whether the access code is waiting for a code assignment. */
|
|
197
247
|
is_waiting_for_code_assignment?: boolean | undefined
|
|
248
|
+
/** Unique identifier for the access code. */
|
|
198
249
|
access_code_id: string
|
|
250
|
+
/** Unique identifier for the device associated with the access code. */
|
|
199
251
|
device_id: string
|
|
252
|
+
/** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
|
|
200
253
|
name: string | null
|
|
254
|
+
/** Code used for access. Typically, a numeric or alphanumeric string. */
|
|
201
255
|
code: string | null
|
|
256
|
+
/** Date and time at which the access code was created. */
|
|
202
257
|
created_at: string
|
|
258
|
+
/** 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. */
|
|
203
259
|
errors?: any
|
|
260
|
+
/** 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. */
|
|
204
261
|
warnings?: any
|
|
262
|
+
/** Indicates whether Seam manages the access code. */
|
|
205
263
|
is_managed: true
|
|
264
|
+
/** Date and time at which the time-bound access code becomes active. */
|
|
206
265
|
starts_at?: (string | null) | undefined
|
|
266
|
+
/** Date and time after which the time-bound access code becomes inactive. */
|
|
207
267
|
ends_at?: (string | null) | undefined
|
|
268
|
+
/**
|
|
269
|
+
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.
|
|
270
|
+
*/
|
|
208
271
|
status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown'
|
|
272
|
+
/** Indicates whether a backup access code is available for use if the primary access code is lost or compromised. */
|
|
209
273
|
is_backup_access_code_available: boolean
|
|
274
|
+
/** Indicates whether the access code is a backup code. */
|
|
210
275
|
is_backup?: boolean | undefined
|
|
276
|
+
/** Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code. */
|
|
211
277
|
pulled_backup_access_code_id?: (string | null) | undefined
|
|
278
|
+
/** Indicates whether changes to the access code from external sources are permitted. */
|
|
212
279
|
is_external_modification_allowed: boolean
|
|
280
|
+
/** Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use. */
|
|
213
281
|
is_one_time_use: boolean
|
|
282
|
+
/** 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. */
|
|
214
283
|
is_offline_access_code: boolean
|
|
215
284
|
}
|
|
216
285
|
}
|
|
@@ -228,26 +297,49 @@ export interface Routes {
|
|
|
228
297
|
formData: {}
|
|
229
298
|
jsonResponse: {
|
|
230
299
|
access_codes: Array<{
|
|
300
|
+
/** Unique identifier for a group of access codes that share the same code. */
|
|
231
301
|
common_code_key: string | null
|
|
302
|
+
/** Indicates whether the code is set on the device according to a preconfigured schedule. */
|
|
232
303
|
is_scheduled_on_device?: boolean | undefined
|
|
304
|
+
/** 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. */
|
|
233
305
|
type: 'time_bound' | 'ongoing'
|
|
306
|
+
/** Indicates whether the access code is waiting for a code assignment. */
|
|
234
307
|
is_waiting_for_code_assignment?: boolean | undefined
|
|
308
|
+
/** Unique identifier for the access code. */
|
|
235
309
|
access_code_id: string
|
|
310
|
+
/** Unique identifier for the device associated with the access code. */
|
|
236
311
|
device_id: string
|
|
312
|
+
/** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
|
|
237
313
|
name: string | null
|
|
314
|
+
/** Code used for access. Typically, a numeric or alphanumeric string. */
|
|
238
315
|
code: string | null
|
|
316
|
+
/** Date and time at which the access code was created. */
|
|
239
317
|
created_at: string
|
|
318
|
+
/** 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. */
|
|
240
319
|
errors?: any
|
|
320
|
+
/** 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. */
|
|
241
321
|
warnings?: any
|
|
322
|
+
/** Indicates whether Seam manages the access code. */
|
|
242
323
|
is_managed: true
|
|
324
|
+
/** Date and time at which the time-bound access code becomes active. */
|
|
243
325
|
starts_at?: (string | null) | undefined
|
|
326
|
+
/** Date and time after which the time-bound access code becomes inactive. */
|
|
244
327
|
ends_at?: (string | null) | undefined
|
|
328
|
+
/**
|
|
329
|
+
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.
|
|
330
|
+
*/
|
|
245
331
|
status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown'
|
|
332
|
+
/** Indicates whether a backup access code is available for use if the primary access code is lost or compromised. */
|
|
246
333
|
is_backup_access_code_available: boolean
|
|
334
|
+
/** Indicates whether the access code is a backup code. */
|
|
247
335
|
is_backup?: boolean | undefined
|
|
336
|
+
/** Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code. */
|
|
248
337
|
pulled_backup_access_code_id?: (string | null) | undefined
|
|
338
|
+
/** Indicates whether changes to the access code from external sources are permitted. */
|
|
249
339
|
is_external_modification_allowed: boolean
|
|
340
|
+
/** Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use. */
|
|
250
341
|
is_one_time_use: boolean
|
|
342
|
+
/** 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. */
|
|
251
343
|
is_offline_access_code: boolean
|
|
252
344
|
}>
|
|
253
345
|
}
|
|
@@ -263,26 +355,49 @@ export interface Routes {
|
|
|
263
355
|
formData: {}
|
|
264
356
|
jsonResponse: {
|
|
265
357
|
backup_access_code: {
|
|
358
|
+
/** Unique identifier for a group of access codes that share the same code. */
|
|
266
359
|
common_code_key: string | null
|
|
360
|
+
/** Indicates whether the code is set on the device according to a preconfigured schedule. */
|
|
267
361
|
is_scheduled_on_device?: boolean | undefined
|
|
362
|
+
/** 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. */
|
|
268
363
|
type: 'time_bound' | 'ongoing'
|
|
364
|
+
/** Indicates whether the access code is waiting for a code assignment. */
|
|
269
365
|
is_waiting_for_code_assignment?: boolean | undefined
|
|
366
|
+
/** Unique identifier for the access code. */
|
|
270
367
|
access_code_id: string
|
|
368
|
+
/** Unique identifier for the device associated with the access code. */
|
|
271
369
|
device_id: string
|
|
370
|
+
/** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
|
|
272
371
|
name: string | null
|
|
372
|
+
/** Code used for access. Typically, a numeric or alphanumeric string. */
|
|
273
373
|
code: string | null
|
|
374
|
+
/** Date and time at which the access code was created. */
|
|
274
375
|
created_at: string
|
|
376
|
+
/** 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. */
|
|
275
377
|
errors?: any
|
|
378
|
+
/** 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. */
|
|
276
379
|
warnings?: any
|
|
380
|
+
/** Indicates whether Seam manages the access code. */
|
|
277
381
|
is_managed: true
|
|
382
|
+
/** Date and time at which the time-bound access code becomes active. */
|
|
278
383
|
starts_at?: (string | null) | undefined
|
|
384
|
+
/** Date and time after which the time-bound access code becomes inactive. */
|
|
279
385
|
ends_at?: (string | null) | undefined
|
|
386
|
+
/**
|
|
387
|
+
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.
|
|
388
|
+
*/
|
|
280
389
|
status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown'
|
|
390
|
+
/** Indicates whether a backup access code is available for use if the primary access code is lost or compromised. */
|
|
281
391
|
is_backup_access_code_available: boolean
|
|
392
|
+
/** Indicates whether the access code is a backup code. */
|
|
282
393
|
is_backup?: boolean | undefined
|
|
394
|
+
/** Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code. */
|
|
283
395
|
pulled_backup_access_code_id?: (string | null) | undefined
|
|
396
|
+
/** Indicates whether changes to the access code from external sources are permitted. */
|
|
284
397
|
is_external_modification_allowed: boolean
|
|
398
|
+
/** Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use. */
|
|
285
399
|
is_one_time_use: boolean
|
|
400
|
+
/** 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. */
|
|
286
401
|
is_offline_access_code: boolean
|
|
287
402
|
}
|
|
288
403
|
}
|
|
@@ -300,16 +415,26 @@ export interface Routes {
|
|
|
300
415
|
formData: {}
|
|
301
416
|
jsonResponse: {
|
|
302
417
|
access_code: {
|
|
418
|
+
/** 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. */
|
|
303
419
|
type: 'time_bound' | 'ongoing'
|
|
420
|
+
/** Unique identifier for the access code. */
|
|
304
421
|
access_code_id: string
|
|
422
|
+
/** Unique identifier for the device associated with the access code. */
|
|
305
423
|
device_id: string
|
|
424
|
+
/** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
|
|
306
425
|
name: string | null
|
|
426
|
+
/** Code used for access. Typically, a numeric or alphanumeric string. */
|
|
307
427
|
code: string | null
|
|
428
|
+
/** Date and time at which the access code was created. */
|
|
308
429
|
created_at: string
|
|
430
|
+
/** 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. */
|
|
309
431
|
errors?: any
|
|
432
|
+
/** 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. */
|
|
310
433
|
warnings?: any
|
|
311
434
|
is_managed: false
|
|
435
|
+
/** Date and time at which the time-bound access code becomes active. */
|
|
312
436
|
starts_at?: (string | null) | undefined
|
|
437
|
+
/** Date and time after which the time-bound access code becomes inactive. */
|
|
313
438
|
ends_at?: (string | null) | undefined
|
|
314
439
|
status: 'set'
|
|
315
440
|
}
|
|
@@ -381,16 +506,26 @@ export interface Routes {
|
|
|
381
506
|
formData: {}
|
|
382
507
|
jsonResponse: {
|
|
383
508
|
access_code: {
|
|
509
|
+
/** 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. */
|
|
384
510
|
type: 'time_bound' | 'ongoing'
|
|
511
|
+
/** Unique identifier for the access code. */
|
|
385
512
|
access_code_id: string
|
|
513
|
+
/** Unique identifier for the device associated with the access code. */
|
|
386
514
|
device_id: string
|
|
515
|
+
/** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
|
|
387
516
|
name: string | null
|
|
517
|
+
/** Code used for access. Typically, a numeric or alphanumeric string. */
|
|
388
518
|
code: string | null
|
|
519
|
+
/** Date and time at which the access code was created. */
|
|
389
520
|
created_at: string
|
|
521
|
+
/** 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. */
|
|
390
522
|
errors?: any
|
|
523
|
+
/** 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. */
|
|
391
524
|
warnings?: any
|
|
392
525
|
is_managed: false
|
|
526
|
+
/** Date and time at which the time-bound access code becomes active. */
|
|
393
527
|
starts_at?: (string | null) | undefined
|
|
528
|
+
/** Date and time after which the time-bound access code becomes inactive. */
|
|
394
529
|
ends_at?: (string | null) | undefined
|
|
395
530
|
status: 'set'
|
|
396
531
|
}
|
|
@@ -408,16 +543,26 @@ export interface Routes {
|
|
|
408
543
|
formData: {}
|
|
409
544
|
jsonResponse: {
|
|
410
545
|
access_codes: Array<{
|
|
546
|
+
/** 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. */
|
|
411
547
|
type: 'time_bound' | 'ongoing'
|
|
548
|
+
/** Unique identifier for the access code. */
|
|
412
549
|
access_code_id: string
|
|
550
|
+
/** Unique identifier for the device associated with the access code. */
|
|
413
551
|
device_id: string
|
|
552
|
+
/** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
|
|
414
553
|
name: string | null
|
|
554
|
+
/** Code used for access. Typically, a numeric or alphanumeric string. */
|
|
415
555
|
code: string | null
|
|
556
|
+
/** Date and time at which the access code was created. */
|
|
416
557
|
created_at: string
|
|
558
|
+
/** 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. */
|
|
417
559
|
errors?: any
|
|
560
|
+
/** 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. */
|
|
418
561
|
warnings?: any
|
|
419
562
|
is_managed: false
|
|
563
|
+
/** Date and time at which the time-bound access code becomes active. */
|
|
420
564
|
starts_at?: (string | null) | undefined
|
|
565
|
+
/** Date and time after which the time-bound access code becomes inactive. */
|
|
421
566
|
ends_at?: (string | null) | undefined
|
|
422
567
|
status: 'set'
|
|
423
568
|
}>
|
|
@@ -610,6 +755,50 @@ export interface Routes {
|
|
|
610
755
|
formData: {}
|
|
611
756
|
jsonResponse: {}
|
|
612
757
|
}
|
|
758
|
+
'/acs/credential_pools/list': {
|
|
759
|
+
route: '/acs/credential_pools/list'
|
|
760
|
+
method: 'GET' | 'POST'
|
|
761
|
+
queryParams: {}
|
|
762
|
+
jsonBody: {}
|
|
763
|
+
commonParams: {
|
|
764
|
+
acs_system_id: string
|
|
765
|
+
}
|
|
766
|
+
formData: {}
|
|
767
|
+
jsonResponse: {
|
|
768
|
+
acs_credential_pools: Array<{
|
|
769
|
+
acs_credential_pool_id: string
|
|
770
|
+
acs_system_id: string
|
|
771
|
+
display_name: string
|
|
772
|
+
external_type: 'hid_part_number'
|
|
773
|
+
external_type_display_name: string
|
|
774
|
+
created_at: string
|
|
775
|
+
workspace_id: string
|
|
776
|
+
}>
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
'/acs/credential_provisioning_automations/launch': {
|
|
780
|
+
route: '/acs/credential_provisioning_automations/launch'
|
|
781
|
+
method: 'POST'
|
|
782
|
+
queryParams: {}
|
|
783
|
+
jsonBody: {}
|
|
784
|
+
commonParams: {
|
|
785
|
+
user_identity_id: string
|
|
786
|
+
credential_manager_acs_system_id: string
|
|
787
|
+
acs_credential_pool_id?: string | undefined
|
|
788
|
+
create_credential_manager_user?: boolean | undefined
|
|
789
|
+
credential_manager_acs_user_id?: string | undefined
|
|
790
|
+
}
|
|
791
|
+
formData: {}
|
|
792
|
+
jsonResponse: {
|
|
793
|
+
acs_credential_provisioning_automation: {
|
|
794
|
+
acs_credential_provisioning_automation_id: string
|
|
795
|
+
credential_manager_acs_system_id: string
|
|
796
|
+
user_identity_id: string
|
|
797
|
+
created_at: string
|
|
798
|
+
workspace_id: string
|
|
799
|
+
}
|
|
800
|
+
}
|
|
801
|
+
}
|
|
613
802
|
'/acs/credentials/assign': {
|
|
614
803
|
route: '/acs/credentials/assign'
|
|
615
804
|
method: 'PATCH' | 'POST'
|
|
@@ -624,10 +813,11 @@ export interface Routes {
|
|
|
624
813
|
acs_credential: {
|
|
625
814
|
acs_credential_id: string
|
|
626
815
|
acs_user_id?: string | undefined
|
|
816
|
+
acs_credential_pool_id?: string | undefined
|
|
627
817
|
acs_system_id: string
|
|
628
818
|
display_name: string
|
|
629
819
|
code: string | null
|
|
630
|
-
external_type: 'pti_card' | 'brivo_credential' | '
|
|
820
|
+
external_type: 'pti_card' | 'brivo_credential' | 'hid_credential'
|
|
631
821
|
external_type_display_name: string
|
|
632
822
|
created_at: string
|
|
633
823
|
workspace_id: string
|
|
@@ -648,10 +838,11 @@ export interface Routes {
|
|
|
648
838
|
acs_credential: {
|
|
649
839
|
acs_credential_id: string
|
|
650
840
|
acs_user_id?: string | undefined
|
|
841
|
+
acs_credential_pool_id?: string | undefined
|
|
651
842
|
acs_system_id: string
|
|
652
843
|
display_name: string
|
|
653
844
|
code: string | null
|
|
654
|
-
external_type: 'pti_card' | 'brivo_credential' | '
|
|
845
|
+
external_type: 'pti_card' | 'brivo_credential' | 'hid_credential'
|
|
655
846
|
external_type_display_name: string
|
|
656
847
|
created_at: string
|
|
657
848
|
workspace_id: string
|
|
@@ -682,10 +873,11 @@ export interface Routes {
|
|
|
682
873
|
acs_credential: {
|
|
683
874
|
acs_credential_id: string
|
|
684
875
|
acs_user_id?: string | undefined
|
|
876
|
+
acs_credential_pool_id?: string | undefined
|
|
685
877
|
acs_system_id: string
|
|
686
878
|
display_name: string
|
|
687
879
|
code: string | null
|
|
688
|
-
external_type: 'pti_card' | 'brivo_credential' | '
|
|
880
|
+
external_type: 'pti_card' | 'brivo_credential' | 'hid_credential'
|
|
689
881
|
external_type_display_name: string
|
|
690
882
|
created_at: string
|
|
691
883
|
workspace_id: string
|
|
@@ -713,10 +905,11 @@ export interface Routes {
|
|
|
713
905
|
acs_credentials: Array<{
|
|
714
906
|
acs_credential_id: string
|
|
715
907
|
acs_user_id?: string | undefined
|
|
908
|
+
acs_credential_pool_id?: string | undefined
|
|
716
909
|
acs_system_id: string
|
|
717
910
|
display_name: string
|
|
718
911
|
code: string | null
|
|
719
|
-
external_type: 'pti_card' | 'brivo_credential' | '
|
|
912
|
+
external_type: 'pti_card' | 'brivo_credential' | 'hid_credential'
|
|
720
913
|
external_type_display_name: string
|
|
721
914
|
created_at: string
|
|
722
915
|
workspace_id: string
|
|
@@ -737,10 +930,11 @@ export interface Routes {
|
|
|
737
930
|
acs_credential: {
|
|
738
931
|
acs_credential_id: string
|
|
739
932
|
acs_user_id?: string | undefined
|
|
933
|
+
acs_credential_pool_id?: string | undefined
|
|
740
934
|
acs_system_id: string
|
|
741
935
|
display_name: string
|
|
742
936
|
code: string | null
|
|
743
|
-
external_type: 'pti_card' | 'brivo_credential' | '
|
|
937
|
+
external_type: 'pti_card' | 'brivo_credential' | 'hid_credential'
|
|
744
938
|
external_type_display_name: string
|
|
745
939
|
created_at: string
|
|
746
940
|
workspace_id: string
|
|
@@ -1541,7 +1735,7 @@ export interface Routes {
|
|
|
1541
1735
|
display_name: string
|
|
1542
1736
|
manufacturer_display_name: string
|
|
1543
1737
|
offline_access_codes_supported?: boolean | undefined
|
|
1544
|
-
|
|
1738
|
+
online_access_codes_supported?: boolean | undefined
|
|
1545
1739
|
accessory_keypad_supported?: boolean | undefined
|
|
1546
1740
|
}
|
|
1547
1741
|
has_direct_power?: boolean | undefined
|
|
@@ -2248,7 +2442,7 @@ export interface Routes {
|
|
|
2248
2442
|
display_name: string
|
|
2249
2443
|
manufacturer_display_name: string
|
|
2250
2444
|
offline_access_codes_supported?: boolean | undefined
|
|
2251
|
-
|
|
2445
|
+
online_access_codes_supported?: boolean | undefined
|
|
2252
2446
|
accessory_keypad_supported?: boolean | undefined
|
|
2253
2447
|
}
|
|
2254
2448
|
has_direct_power?: boolean | undefined
|
|
@@ -3372,7 +3566,7 @@ export interface Routes {
|
|
|
3372
3566
|
display_name: string
|
|
3373
3567
|
manufacturer_display_name: string
|
|
3374
3568
|
offline_access_codes_supported?: boolean | undefined
|
|
3375
|
-
|
|
3569
|
+
online_access_codes_supported?: boolean | undefined
|
|
3376
3570
|
accessory_keypad_supported?: boolean | undefined
|
|
3377
3571
|
}
|
|
3378
3572
|
has_direct_power?: boolean | undefined
|
|
@@ -3958,7 +4152,7 @@ export interface Routes {
|
|
|
3958
4152
|
display_name: string
|
|
3959
4153
|
manufacturer_display_name: string
|
|
3960
4154
|
offline_access_codes_supported?: boolean | undefined
|
|
3961
|
-
|
|
4155
|
+
online_access_codes_supported?: boolean | undefined
|
|
3962
4156
|
accessory_keypad_supported?: boolean | undefined
|
|
3963
4157
|
}
|
|
3964
4158
|
has_direct_power?: boolean | undefined
|
|
@@ -4665,7 +4859,7 @@ export interface Routes {
|
|
|
4665
4859
|
display_name: string
|
|
4666
4860
|
manufacturer_display_name: string
|
|
4667
4861
|
offline_access_codes_supported?: boolean | undefined
|
|
4668
|
-
|
|
4862
|
+
online_access_codes_supported?: boolean | undefined
|
|
4669
4863
|
accessory_keypad_supported?: boolean | undefined
|
|
4670
4864
|
}
|
|
4671
4865
|
has_direct_power?: boolean | undefined
|
|
@@ -5251,7 +5445,7 @@ export interface Routes {
|
|
|
5251
5445
|
display_name: string
|
|
5252
5446
|
manufacturer_display_name: string
|
|
5253
5447
|
offline_access_codes_supported?: boolean | undefined
|
|
5254
|
-
|
|
5448
|
+
online_access_codes_supported?: boolean | undefined
|
|
5255
5449
|
accessory_keypad_supported?: boolean | undefined
|
|
5256
5450
|
}
|
|
5257
5451
|
has_direct_power?: boolean | undefined
|
|
@@ -6272,7 +6466,7 @@ export interface Routes {
|
|
|
6272
6466
|
display_name: string
|
|
6273
6467
|
manufacturer_display_name: string
|
|
6274
6468
|
offline_access_codes_supported?: boolean | undefined
|
|
6275
|
-
|
|
6469
|
+
online_access_codes_supported?: boolean | undefined
|
|
6276
6470
|
accessory_keypad_supported?: boolean | undefined
|
|
6277
6471
|
}
|
|
6278
6472
|
has_direct_power?: boolean | undefined
|
|
@@ -7009,7 +7203,7 @@ export interface Routes {
|
|
|
7009
7203
|
display_name: string
|
|
7010
7204
|
manufacturer_display_name: string
|
|
7011
7205
|
offline_access_codes_supported?: boolean | undefined
|
|
7012
|
-
|
|
7206
|
+
online_access_codes_supported?: boolean | undefined
|
|
7013
7207
|
accessory_keypad_supported?: boolean | undefined
|
|
7014
7208
|
}
|
|
7015
7209
|
has_direct_power?: boolean | undefined
|
|
@@ -7721,7 +7915,7 @@ export interface Routes {
|
|
|
7721
7915
|
display_name: string
|
|
7722
7916
|
manufacturer_display_name: string
|
|
7723
7917
|
offline_access_codes_supported?: boolean | undefined
|
|
7724
|
-
|
|
7918
|
+
online_access_codes_supported?: boolean | undefined
|
|
7725
7919
|
accessory_keypad_supported?: boolean | undefined
|
|
7726
7920
|
}
|
|
7727
7921
|
has_direct_power?: boolean | undefined
|