@seamapi/types 1.321.1 → 1.322.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 +32 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +307 -274
- package/lib/seam/connect/models/acs/acs-credential.d.ts +12 -12
- package/lib/seam/connect/models/acs/acs-credential.js +2 -0
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-user.d.ts +12 -12
- package/lib/seam/connect/models/acs/acs-user.js +5 -2
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +48 -48
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +20 -20
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +28 -28
- package/lib/seam/connect/openapi.d.ts +28 -0
- package/lib/seam/connect/openapi.js +28 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +207 -202
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +2 -0
- package/src/lib/seam/connect/models/acs/acs-user.ts +5 -2
- package/src/lib/seam/connect/openapi.ts +29 -0
- package/src/lib/seam/connect/route-types.ts +277 -202
package/package.json
CHANGED
|
@@ -195,6 +195,7 @@ const common_acs_credential = z.object({
|
|
|
195
195
|
),
|
|
196
196
|
is_latest_desired_state_synced_with_provider: z
|
|
197
197
|
.boolean()
|
|
198
|
+
.nullable()
|
|
198
199
|
.optional()
|
|
199
200
|
.describe(
|
|
200
201
|
'Indicates whether the latest state of the credential has been synced from Seam to the provider.',
|
|
@@ -202,6 +203,7 @@ const common_acs_credential = z.object({
|
|
|
202
203
|
latest_desired_state_synced_with_provider_at: z
|
|
203
204
|
.string()
|
|
204
205
|
.datetime()
|
|
206
|
+
.nullable()
|
|
205
207
|
.optional()
|
|
206
208
|
.describe(
|
|
207
209
|
'Date and time at which the state of the credential was most recently synced from Seam to the provider.',
|
|
@@ -215,13 +215,16 @@ const common_acs_user = z
|
|
|
215
215
|
latest_desired_state_synced_with_provider_at: z
|
|
216
216
|
.string()
|
|
217
217
|
.datetime()
|
|
218
|
+
.nullable()
|
|
218
219
|
.optional().describe(`
|
|
219
220
|
---
|
|
220
221
|
undocumented: Only used internally.
|
|
221
222
|
---
|
|
222
223
|
`),
|
|
223
|
-
is_latest_desired_state_synced_with_provider: z
|
|
224
|
-
.
|
|
224
|
+
is_latest_desired_state_synced_with_provider: z
|
|
225
|
+
.boolean()
|
|
226
|
+
.nullable()
|
|
227
|
+
.optional().describe(`
|
|
225
228
|
---
|
|
226
229
|
undocumented: Only used internally.
|
|
227
230
|
---
|
|
@@ -377,6 +377,7 @@ export default {
|
|
|
377
377
|
is_latest_desired_state_synced_with_provider: {
|
|
378
378
|
description:
|
|
379
379
|
'Indicates whether the latest state of the credential has been synced from Seam to the provider.',
|
|
380
|
+
nullable: true,
|
|
380
381
|
type: 'boolean',
|
|
381
382
|
},
|
|
382
383
|
is_managed: { enum: [true], type: 'boolean' },
|
|
@@ -395,6 +396,7 @@ export default {
|
|
|
395
396
|
description:
|
|
396
397
|
'Date and time at which the state of the credential was most recently synced from Seam to the provider.',
|
|
397
398
|
format: 'date-time',
|
|
399
|
+
nullable: true,
|
|
398
400
|
type: 'string',
|
|
399
401
|
},
|
|
400
402
|
parent_acs_credential_id: {
|
|
@@ -1364,6 +1366,7 @@ export default {
|
|
|
1364
1366
|
},
|
|
1365
1367
|
hid_acs_system_id: { format: 'uuid', type: 'string' },
|
|
1366
1368
|
is_latest_desired_state_synced_with_provider: {
|
|
1369
|
+
nullable: true,
|
|
1367
1370
|
type: 'boolean',
|
|
1368
1371
|
'x-undocumented': 'Only used internally.',
|
|
1369
1372
|
},
|
|
@@ -1375,6 +1378,7 @@ export default {
|
|
|
1375
1378
|
},
|
|
1376
1379
|
latest_desired_state_synced_with_provider_at: {
|
|
1377
1380
|
format: 'date-time',
|
|
1381
|
+
nullable: true,
|
|
1378
1382
|
type: 'string',
|
|
1379
1383
|
'x-undocumented': 'Only used internally.',
|
|
1380
1384
|
},
|
|
@@ -1828,6 +1832,7 @@ export default {
|
|
|
1828
1832
|
is_latest_desired_state_synced_with_provider: {
|
|
1829
1833
|
description:
|
|
1830
1834
|
'Indicates whether the latest state of the credential has been synced from Seam to the provider.',
|
|
1835
|
+
nullable: true,
|
|
1831
1836
|
type: 'boolean',
|
|
1832
1837
|
},
|
|
1833
1838
|
is_managed: { enum: [true], type: 'boolean' },
|
|
@@ -1850,6 +1855,7 @@ export default {
|
|
|
1850
1855
|
description:
|
|
1851
1856
|
'Date and time at which the state of the credential was most recently synced from Seam to the provider.',
|
|
1852
1857
|
format: 'date-time',
|
|
1858
|
+
nullable: true,
|
|
1853
1859
|
type: 'string',
|
|
1854
1860
|
},
|
|
1855
1861
|
parent_acs_credential_id: {
|
|
@@ -2157,6 +2163,7 @@ export default {
|
|
|
2157
2163
|
is_latest_desired_state_synced_with_provider: {
|
|
2158
2164
|
description:
|
|
2159
2165
|
'Indicates whether the latest state of the credential has been synced from Seam to the provider.',
|
|
2166
|
+
nullable: true,
|
|
2160
2167
|
type: 'boolean',
|
|
2161
2168
|
},
|
|
2162
2169
|
is_managed: { enum: [false], type: 'boolean' },
|
|
@@ -2179,6 +2186,7 @@ export default {
|
|
|
2179
2186
|
description:
|
|
2180
2187
|
'Date and time at which the state of the credential was most recently synced from Seam to the provider.',
|
|
2181
2188
|
format: 'date-time',
|
|
2189
|
+
nullable: true,
|
|
2182
2190
|
type: 'string',
|
|
2183
2191
|
},
|
|
2184
2192
|
parent_acs_credential_id: {
|
|
@@ -2619,6 +2627,7 @@ export default {
|
|
|
2619
2627
|
is_latest_desired_state_synced_with_provider: {
|
|
2620
2628
|
description:
|
|
2621
2629
|
'Indicates whether the latest state of the credential has been synced from Seam to the provider.',
|
|
2630
|
+
nullable: true,
|
|
2622
2631
|
type: 'boolean',
|
|
2623
2632
|
},
|
|
2624
2633
|
is_managed: { enum: [true], type: 'boolean' },
|
|
@@ -2641,6 +2650,7 @@ export default {
|
|
|
2641
2650
|
description:
|
|
2642
2651
|
'Date and time at which the state of the credential was most recently synced from Seam to the provider.',
|
|
2643
2652
|
format: 'date-time',
|
|
2653
|
+
nullable: true,
|
|
2644
2654
|
type: 'string',
|
|
2645
2655
|
},
|
|
2646
2656
|
parent_acs_credential_id: {
|
|
@@ -2945,6 +2955,7 @@ export default {
|
|
|
2945
2955
|
is_latest_desired_state_synced_with_provider: {
|
|
2946
2956
|
description:
|
|
2947
2957
|
'Indicates whether the latest state of the credential has been synced from Seam to the provider.',
|
|
2958
|
+
nullable: true,
|
|
2948
2959
|
type: 'boolean',
|
|
2949
2960
|
},
|
|
2950
2961
|
is_managed: { enum: [false], type: 'boolean' },
|
|
@@ -2967,6 +2978,7 @@ export default {
|
|
|
2967
2978
|
description:
|
|
2968
2979
|
'Date and time at which the state of the credential was most recently synced from Seam to the provider.',
|
|
2969
2980
|
format: 'date-time',
|
|
2981
|
+
nullable: true,
|
|
2970
2982
|
type: 'string',
|
|
2971
2983
|
},
|
|
2972
2984
|
parent_acs_credential_id: {
|
|
@@ -13070,6 +13082,15 @@ export default {
|
|
|
13070
13082
|
'Indicates whether the new 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).',
|
|
13071
13083
|
type: 'boolean',
|
|
13072
13084
|
},
|
|
13085
|
+
salto_space_metadata: {
|
|
13086
|
+
description:
|
|
13087
|
+
'Salto Space-specific metadata for the new credential.',
|
|
13088
|
+
properties: {
|
|
13089
|
+
assign_new_key: { type: 'boolean' },
|
|
13090
|
+
update_current_key: { type: 'boolean' },
|
|
13091
|
+
},
|
|
13092
|
+
type: 'object',
|
|
13093
|
+
},
|
|
13073
13094
|
starts_at: {
|
|
13074
13095
|
description:
|
|
13075
13096
|
'Date and time at which the validity of the new credential starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
|
|
@@ -13772,6 +13793,7 @@ export default {
|
|
|
13772
13793
|
is_latest_desired_state_synced_with_provider: {
|
|
13773
13794
|
description:
|
|
13774
13795
|
'Indicates whether the latest state of the credential has been synced from Seam to the provider.',
|
|
13796
|
+
nullable: true,
|
|
13775
13797
|
type: 'boolean',
|
|
13776
13798
|
},
|
|
13777
13799
|
is_managed: { enum: [false], type: 'boolean' },
|
|
@@ -13794,6 +13816,7 @@ export default {
|
|
|
13794
13816
|
description:
|
|
13795
13817
|
'Date and time at which the state of the credential was most recently synced from Seam to the provider.',
|
|
13796
13818
|
format: 'date-time',
|
|
13819
|
+
nullable: true,
|
|
13797
13820
|
type: 'string',
|
|
13798
13821
|
},
|
|
13799
13822
|
parent_acs_credential_id: {
|
|
@@ -14202,6 +14225,7 @@ export default {
|
|
|
14202
14225
|
is_latest_desired_state_synced_with_provider: {
|
|
14203
14226
|
description:
|
|
14204
14227
|
'Indicates whether the latest state of the credential has been synced from Seam to the provider.',
|
|
14228
|
+
nullable: true,
|
|
14205
14229
|
type: 'boolean',
|
|
14206
14230
|
},
|
|
14207
14231
|
is_managed: { enum: [false], type: 'boolean' },
|
|
@@ -14224,6 +14248,7 @@ export default {
|
|
|
14224
14248
|
description:
|
|
14225
14249
|
'Date and time at which the state of the credential was most recently synced from Seam to the provider.',
|
|
14226
14250
|
format: 'date-time',
|
|
14251
|
+
nullable: true,
|
|
14227
14252
|
type: 'string',
|
|
14228
14253
|
},
|
|
14229
14254
|
parent_acs_credential_id: {
|
|
@@ -16391,6 +16416,7 @@ export default {
|
|
|
16391
16416
|
},
|
|
16392
16417
|
hid_acs_system_id: { format: 'uuid', type: 'string' },
|
|
16393
16418
|
is_latest_desired_state_synced_with_provider: {
|
|
16419
|
+
nullable: true,
|
|
16394
16420
|
type: 'boolean',
|
|
16395
16421
|
'x-undocumented': 'Only used internally.',
|
|
16396
16422
|
},
|
|
@@ -16402,6 +16428,7 @@ export default {
|
|
|
16402
16428
|
},
|
|
16403
16429
|
latest_desired_state_synced_with_provider_at: {
|
|
16404
16430
|
format: 'date-time',
|
|
16431
|
+
nullable: true,
|
|
16405
16432
|
type: 'string',
|
|
16406
16433
|
'x-undocumented': 'Only used internally.',
|
|
16407
16434
|
},
|
|
@@ -16786,6 +16813,7 @@ export default {
|
|
|
16786
16813
|
},
|
|
16787
16814
|
hid_acs_system_id: { format: 'uuid', type: 'string' },
|
|
16788
16815
|
is_latest_desired_state_synced_with_provider: {
|
|
16816
|
+
nullable: true,
|
|
16789
16817
|
type: 'boolean',
|
|
16790
16818
|
'x-undocumented': 'Only used internally.',
|
|
16791
16819
|
},
|
|
@@ -16797,6 +16825,7 @@ export default {
|
|
|
16797
16825
|
},
|
|
16798
16826
|
latest_desired_state_synced_with_provider_at: {
|
|
16799
16827
|
format: 'date-time',
|
|
16828
|
+
nullable: true,
|
|
16800
16829
|
type: 'string',
|
|
16801
16830
|
'x-undocumented': 'Only used internally.',
|
|
16802
16831
|
},
|