@seamapi/types 1.302.1 → 1.303.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 +37 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +304 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +6 -0
- package/lib/seam/connect/models/acs/acs-credential.js +4 -0
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +24 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +10 -0
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +14 -0
- package/lib/seam/connect/openapi.d.ts +24 -0
- package/lib/seam/connect/openapi.js +34 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +250 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +42 -4
- package/src/lib/seam/connect/route-types.ts +254 -1
|
@@ -321,6 +321,10 @@ export default {
|
|
|
321
321
|
description: 'Indicates whether the credential is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).',
|
|
322
322
|
type: 'boolean',
|
|
323
323
|
},
|
|
324
|
+
is_one_time_use: {
|
|
325
|
+
description: 'Indicates whether the credential can only be used once. If "true," the code becomes invalid after the first use.',
|
|
326
|
+
type: 'boolean',
|
|
327
|
+
},
|
|
324
328
|
issued_at: { format: 'date-time', nullable: true, type: 'string' },
|
|
325
329
|
latest_desired_state_synced_with_provider_at: {
|
|
326
330
|
description: 'Date and time at which the state of the credential was most recently synced from Seam to the provider.',
|
|
@@ -1575,6 +1579,10 @@ export default {
|
|
|
1575
1579
|
description: 'Indicates whether the credential is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).',
|
|
1576
1580
|
type: 'boolean',
|
|
1577
1581
|
},
|
|
1582
|
+
is_one_time_use: {
|
|
1583
|
+
description: 'Indicates whether the credential can only be used once. If "true," the code becomes invalid after the first use.',
|
|
1584
|
+
type: 'boolean',
|
|
1585
|
+
},
|
|
1578
1586
|
issued_at: {
|
|
1579
1587
|
format: 'date-time',
|
|
1580
1588
|
nullable: true,
|
|
@@ -1833,6 +1841,10 @@ export default {
|
|
|
1833
1841
|
description: 'Indicates whether the credential is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).',
|
|
1834
1842
|
type: 'boolean',
|
|
1835
1843
|
},
|
|
1844
|
+
is_one_time_use: {
|
|
1845
|
+
description: 'Indicates whether the credential can only be used once. If "true," the code becomes invalid after the first use.',
|
|
1846
|
+
type: 'boolean',
|
|
1847
|
+
},
|
|
1836
1848
|
issued_at: {
|
|
1837
1849
|
format: 'date-time',
|
|
1838
1850
|
nullable: true,
|
|
@@ -2216,6 +2228,10 @@ export default {
|
|
|
2216
2228
|
description: 'Indicates whether the credential is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).',
|
|
2217
2229
|
type: 'boolean',
|
|
2218
2230
|
},
|
|
2231
|
+
is_one_time_use: {
|
|
2232
|
+
description: 'Indicates whether the credential can only be used once. If "true," the code becomes invalid after the first use.',
|
|
2233
|
+
type: 'boolean',
|
|
2234
|
+
},
|
|
2219
2235
|
issued_at: {
|
|
2220
2236
|
format: 'date-time',
|
|
2221
2237
|
nullable: true,
|
|
@@ -2474,6 +2490,10 @@ export default {
|
|
|
2474
2490
|
description: 'Indicates whether the credential is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).',
|
|
2475
2491
|
type: 'boolean',
|
|
2476
2492
|
},
|
|
2493
|
+
is_one_time_use: {
|
|
2494
|
+
description: 'Indicates whether the credential can only be used once. If "true," the code becomes invalid after the first use.',
|
|
2495
|
+
type: 'boolean',
|
|
2496
|
+
},
|
|
2477
2497
|
issued_at: {
|
|
2478
2498
|
format: 'date-time',
|
|
2479
2499
|
nullable: true,
|
|
@@ -6755,6 +6775,7 @@ export default {
|
|
|
6755
6775
|
},
|
|
6756
6776
|
'/access_codes/pull_backup_access_code': {
|
|
6757
6777
|
post: {
|
|
6778
|
+
description: 'Retrieves a backup access code for an access code. See also [Managing Backup Access Codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/backup-access-codes).',
|
|
6758
6779
|
operationId: 'accessCodesPullBackupAccessCodePost',
|
|
6759
6780
|
requestBody: {
|
|
6760
6781
|
content: {
|
|
@@ -6775,12 +6796,13 @@ export default {
|
|
|
6775
6796
|
'application/json': {
|
|
6776
6797
|
schema: {
|
|
6777
6798
|
properties: {
|
|
6799
|
+
access_code: { $ref: '#/components/schemas/access_code' },
|
|
6778
6800
|
backup_access_code: {
|
|
6779
6801
|
$ref: '#/components/schemas/access_code',
|
|
6780
6802
|
},
|
|
6781
6803
|
ok: { type: 'boolean' },
|
|
6782
6804
|
},
|
|
6783
|
-
required: ['backup_access_code', 'ok'],
|
|
6805
|
+
required: ['backup_access_code', 'access_code', 'ok'],
|
|
6784
6806
|
type: 'object',
|
|
6785
6807
|
},
|
|
6786
6808
|
},
|
|
@@ -6800,8 +6822,8 @@ export default {
|
|
|
6800
6822
|
tags: ['/access_codes'],
|
|
6801
6823
|
'x-fern-sdk-group-name': ['access_codes'],
|
|
6802
6824
|
'x-fern-sdk-method-name': 'pull_backup_access_code',
|
|
6803
|
-
'x-fern-sdk-return-value': '
|
|
6804
|
-
'x-response-key': '
|
|
6825
|
+
'x-fern-sdk-return-value': 'access_code',
|
|
6826
|
+
'x-response-key': 'access_code',
|
|
6805
6827
|
},
|
|
6806
6828
|
},
|
|
6807
6829
|
'/access_codes/simulate/create_unmanaged_access_code': {
|
|
@@ -8601,7 +8623,7 @@ export default {
|
|
|
8601
8623
|
type: 'string',
|
|
8602
8624
|
},
|
|
8603
8625
|
},
|
|
8604
|
-
required: ['acs_user_id'],
|
|
8626
|
+
required: ['acs_user_id', 'allowed_acs_entrance_id'],
|
|
8605
8627
|
type: 'object',
|
|
8606
8628
|
},
|
|
8607
8629
|
},
|
|
@@ -9158,6 +9180,10 @@ export default {
|
|
|
9158
9180
|
description: 'Indicates whether the credential is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).',
|
|
9159
9181
|
type: 'boolean',
|
|
9160
9182
|
},
|
|
9183
|
+
is_one_time_use: {
|
|
9184
|
+
description: 'Indicates whether the credential can only be used once. If "true," the code becomes invalid after the first use.',
|
|
9185
|
+
type: 'boolean',
|
|
9186
|
+
},
|
|
9161
9187
|
issued_at: {
|
|
9162
9188
|
format: 'date-time',
|
|
9163
9189
|
nullable: true,
|
|
@@ -9513,6 +9539,10 @@ export default {
|
|
|
9513
9539
|
description: 'Indicates whether the credential is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).',
|
|
9514
9540
|
type: 'boolean',
|
|
9515
9541
|
},
|
|
9542
|
+
is_one_time_use: {
|
|
9543
|
+
description: 'Indicates whether the credential can only be used once. If "true," the code becomes invalid after the first use.',
|
|
9544
|
+
type: 'boolean',
|
|
9545
|
+
},
|
|
9516
9546
|
issued_at: {
|
|
9517
9547
|
format: 'date-time',
|
|
9518
9548
|
nullable: true,
|