@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/dist/connect.cjs
CHANGED
|
@@ -1371,10 +1371,10 @@ var common_acs_credential = zod.z.object({
|
|
|
1371
1371
|
is_multi_phone_sync_credential: zod.z.boolean().optional().describe(
|
|
1372
1372
|
"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)."
|
|
1373
1373
|
),
|
|
1374
|
-
is_latest_desired_state_synced_with_provider: zod.z.boolean().optional().describe(
|
|
1374
|
+
is_latest_desired_state_synced_with_provider: zod.z.boolean().nullable().optional().describe(
|
|
1375
1375
|
"Indicates whether the latest state of the credential has been synced from Seam to the provider."
|
|
1376
1376
|
),
|
|
1377
|
-
latest_desired_state_synced_with_provider_at: zod.z.string().datetime().optional().describe(
|
|
1377
|
+
latest_desired_state_synced_with_provider_at: zod.z.string().datetime().nullable().optional().describe(
|
|
1378
1378
|
"Date and time at which the state of the credential was most recently synced from Seam to the provider."
|
|
1379
1379
|
),
|
|
1380
1380
|
visionline_metadata: acs_credential_visionline_metadata.optional().describe("Visionline-specific metadata for the credential.")
|
|
@@ -1777,12 +1777,12 @@ var common_acs_user = zod.z.object({
|
|
|
1777
1777
|
user_identity_phone_number: zod.z.string().nullable().optional().describe(
|
|
1778
1778
|
"Phone number of the user identity associated with the `acs_user` in E.164 format (for example, `+15555550100`)."
|
|
1779
1779
|
),
|
|
1780
|
-
latest_desired_state_synced_with_provider_at: zod.z.string().datetime().optional().describe(`
|
|
1780
|
+
latest_desired_state_synced_with_provider_at: zod.z.string().datetime().nullable().optional().describe(`
|
|
1781
1781
|
---
|
|
1782
1782
|
undocumented: Only used internally.
|
|
1783
1783
|
---
|
|
1784
1784
|
`),
|
|
1785
|
-
is_latest_desired_state_synced_with_provider: zod.z.boolean().optional().describe(`
|
|
1785
|
+
is_latest_desired_state_synced_with_provider: zod.z.boolean().nullable().optional().describe(`
|
|
1786
1786
|
---
|
|
1787
1787
|
undocumented: Only used internally.
|
|
1788
1788
|
---
|
|
@@ -3214,6 +3214,7 @@ var openapi_default = {
|
|
|
3214
3214
|
is_issued: { type: "boolean" },
|
|
3215
3215
|
is_latest_desired_state_synced_with_provider: {
|
|
3216
3216
|
description: "Indicates whether the latest state of the credential has been synced from Seam to the provider.",
|
|
3217
|
+
nullable: true,
|
|
3217
3218
|
type: "boolean"
|
|
3218
3219
|
},
|
|
3219
3220
|
is_managed: { enum: [true], type: "boolean" },
|
|
@@ -3229,6 +3230,7 @@ var openapi_default = {
|
|
|
3229
3230
|
latest_desired_state_synced_with_provider_at: {
|
|
3230
3231
|
description: "Date and time at which the state of the credential was most recently synced from Seam to the provider.",
|
|
3231
3232
|
format: "date-time",
|
|
3233
|
+
nullable: true,
|
|
3232
3234
|
type: "string"
|
|
3233
3235
|
},
|
|
3234
3236
|
parent_acs_credential_id: {
|
|
@@ -4109,6 +4111,7 @@ var openapi_default = {
|
|
|
4109
4111
|
},
|
|
4110
4112
|
hid_acs_system_id: { format: "uuid", type: "string" },
|
|
4111
4113
|
is_latest_desired_state_synced_with_provider: {
|
|
4114
|
+
nullable: true,
|
|
4112
4115
|
type: "boolean",
|
|
4113
4116
|
"x-undocumented": "Only used internally."
|
|
4114
4117
|
},
|
|
@@ -4119,6 +4122,7 @@ var openapi_default = {
|
|
|
4119
4122
|
},
|
|
4120
4123
|
latest_desired_state_synced_with_provider_at: {
|
|
4121
4124
|
format: "date-time",
|
|
4125
|
+
nullable: true,
|
|
4122
4126
|
type: "string",
|
|
4123
4127
|
"x-undocumented": "Only used internally."
|
|
4124
4128
|
},
|
|
@@ -4544,6 +4548,7 @@ var openapi_default = {
|
|
|
4544
4548
|
is_issued: { type: "boolean" },
|
|
4545
4549
|
is_latest_desired_state_synced_with_provider: {
|
|
4546
4550
|
description: "Indicates whether the latest state of the credential has been synced from Seam to the provider.",
|
|
4551
|
+
nullable: true,
|
|
4547
4552
|
type: "boolean"
|
|
4548
4553
|
},
|
|
4549
4554
|
is_managed: { enum: [true], type: "boolean" },
|
|
@@ -4563,6 +4568,7 @@ var openapi_default = {
|
|
|
4563
4568
|
latest_desired_state_synced_with_provider_at: {
|
|
4564
4569
|
description: "Date and time at which the state of the credential was most recently synced from Seam to the provider.",
|
|
4565
4570
|
format: "date-time",
|
|
4571
|
+
nullable: true,
|
|
4566
4572
|
type: "string"
|
|
4567
4573
|
},
|
|
4568
4574
|
parent_acs_credential_id: {
|
|
@@ -4833,6 +4839,7 @@ var openapi_default = {
|
|
|
4833
4839
|
is_issued: { type: "boolean" },
|
|
4834
4840
|
is_latest_desired_state_synced_with_provider: {
|
|
4835
4841
|
description: "Indicates whether the latest state of the credential has been synced from Seam to the provider.",
|
|
4842
|
+
nullable: true,
|
|
4836
4843
|
type: "boolean"
|
|
4837
4844
|
},
|
|
4838
4845
|
is_managed: { enum: [false], type: "boolean" },
|
|
@@ -4852,6 +4859,7 @@ var openapi_default = {
|
|
|
4852
4859
|
latest_desired_state_synced_with_provider_at: {
|
|
4853
4860
|
description: "Date and time at which the state of the credential was most recently synced from Seam to the provider.",
|
|
4854
4861
|
format: "date-time",
|
|
4862
|
+
nullable: true,
|
|
4855
4863
|
type: "string"
|
|
4856
4864
|
},
|
|
4857
4865
|
parent_acs_credential_id: {
|
|
@@ -5253,6 +5261,7 @@ var openapi_default = {
|
|
|
5253
5261
|
is_issued: { type: "boolean" },
|
|
5254
5262
|
is_latest_desired_state_synced_with_provider: {
|
|
5255
5263
|
description: "Indicates whether the latest state of the credential has been synced from Seam to the provider.",
|
|
5264
|
+
nullable: true,
|
|
5256
5265
|
type: "boolean"
|
|
5257
5266
|
},
|
|
5258
5267
|
is_managed: { enum: [true], type: "boolean" },
|
|
@@ -5272,6 +5281,7 @@ var openapi_default = {
|
|
|
5272
5281
|
latest_desired_state_synced_with_provider_at: {
|
|
5273
5282
|
description: "Date and time at which the state of the credential was most recently synced from Seam to the provider.",
|
|
5274
5283
|
format: "date-time",
|
|
5284
|
+
nullable: true,
|
|
5275
5285
|
type: "string"
|
|
5276
5286
|
},
|
|
5277
5287
|
parent_acs_credential_id: {
|
|
@@ -5540,6 +5550,7 @@ var openapi_default = {
|
|
|
5540
5550
|
is_issued: { type: "boolean" },
|
|
5541
5551
|
is_latest_desired_state_synced_with_provider: {
|
|
5542
5552
|
description: "Indicates whether the latest state of the credential has been synced from Seam to the provider.",
|
|
5553
|
+
nullable: true,
|
|
5543
5554
|
type: "boolean"
|
|
5544
5555
|
},
|
|
5545
5556
|
is_managed: { enum: [false], type: "boolean" },
|
|
@@ -5559,6 +5570,7 @@ var openapi_default = {
|
|
|
5559
5570
|
latest_desired_state_synced_with_provider_at: {
|
|
5560
5571
|
description: "Date and time at which the state of the credential was most recently synced from Seam to the provider.",
|
|
5561
5572
|
format: "date-time",
|
|
5573
|
+
nullable: true,
|
|
5562
5574
|
type: "string"
|
|
5563
5575
|
},
|
|
5564
5576
|
parent_acs_credential_id: {
|
|
@@ -15294,6 +15306,14 @@ var openapi_default = {
|
|
|
15294
15306
|
description: "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).",
|
|
15295
15307
|
type: "boolean"
|
|
15296
15308
|
},
|
|
15309
|
+
salto_space_metadata: {
|
|
15310
|
+
description: "Salto Space-specific metadata for the new credential.",
|
|
15311
|
+
properties: {
|
|
15312
|
+
assign_new_key: { type: "boolean" },
|
|
15313
|
+
update_current_key: { type: "boolean" }
|
|
15314
|
+
},
|
|
15315
|
+
type: "object"
|
|
15316
|
+
},
|
|
15297
15317
|
starts_at: {
|
|
15298
15318
|
description: "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.",
|
|
15299
15319
|
format: "date-time",
|
|
@@ -15960,6 +15980,7 @@ var openapi_default = {
|
|
|
15960
15980
|
is_issued: { type: "boolean" },
|
|
15961
15981
|
is_latest_desired_state_synced_with_provider: {
|
|
15962
15982
|
description: "Indicates whether the latest state of the credential has been synced from Seam to the provider.",
|
|
15983
|
+
nullable: true,
|
|
15963
15984
|
type: "boolean"
|
|
15964
15985
|
},
|
|
15965
15986
|
is_managed: { enum: [false], type: "boolean" },
|
|
@@ -15979,6 +16000,7 @@ var openapi_default = {
|
|
|
15979
16000
|
latest_desired_state_synced_with_provider_at: {
|
|
15980
16001
|
description: "Date and time at which the state of the credential was most recently synced from Seam to the provider.",
|
|
15981
16002
|
format: "date-time",
|
|
16003
|
+
nullable: true,
|
|
15982
16004
|
type: "string"
|
|
15983
16005
|
},
|
|
15984
16006
|
parent_acs_credential_id: {
|
|
@@ -16344,6 +16366,7 @@ var openapi_default = {
|
|
|
16344
16366
|
is_issued: { type: "boolean" },
|
|
16345
16367
|
is_latest_desired_state_synced_with_provider: {
|
|
16346
16368
|
description: "Indicates whether the latest state of the credential has been synced from Seam to the provider.",
|
|
16369
|
+
nullable: true,
|
|
16347
16370
|
type: "boolean"
|
|
16348
16371
|
},
|
|
16349
16372
|
is_managed: { enum: [false], type: "boolean" },
|
|
@@ -16363,6 +16386,7 @@ var openapi_default = {
|
|
|
16363
16386
|
latest_desired_state_synced_with_provider_at: {
|
|
16364
16387
|
description: "Date and time at which the state of the credential was most recently synced from Seam to the provider.",
|
|
16365
16388
|
format: "date-time",
|
|
16389
|
+
nullable: true,
|
|
16366
16390
|
type: "string"
|
|
16367
16391
|
},
|
|
16368
16392
|
parent_acs_credential_id: {
|
|
@@ -18437,6 +18461,7 @@ var openapi_default = {
|
|
|
18437
18461
|
},
|
|
18438
18462
|
hid_acs_system_id: { format: "uuid", type: "string" },
|
|
18439
18463
|
is_latest_desired_state_synced_with_provider: {
|
|
18464
|
+
nullable: true,
|
|
18440
18465
|
type: "boolean",
|
|
18441
18466
|
"x-undocumented": "Only used internally."
|
|
18442
18467
|
},
|
|
@@ -18447,6 +18472,7 @@ var openapi_default = {
|
|
|
18447
18472
|
},
|
|
18448
18473
|
latest_desired_state_synced_with_provider_at: {
|
|
18449
18474
|
format: "date-time",
|
|
18475
|
+
nullable: true,
|
|
18450
18476
|
type: "string",
|
|
18451
18477
|
"x-undocumented": "Only used internally."
|
|
18452
18478
|
},
|
|
@@ -18796,6 +18822,7 @@ var openapi_default = {
|
|
|
18796
18822
|
},
|
|
18797
18823
|
hid_acs_system_id: { format: "uuid", type: "string" },
|
|
18798
18824
|
is_latest_desired_state_synced_with_provider: {
|
|
18825
|
+
nullable: true,
|
|
18799
18826
|
type: "boolean",
|
|
18800
18827
|
"x-undocumented": "Only used internally."
|
|
18801
18828
|
},
|
|
@@ -18806,6 +18833,7 @@ var openapi_default = {
|
|
|
18806
18833
|
},
|
|
18807
18834
|
latest_desired_state_synced_with_provider_at: {
|
|
18808
18835
|
format: "date-time",
|
|
18836
|
+
nullable: true,
|
|
18809
18837
|
type: "string",
|
|
18810
18838
|
"x-undocumented": "Only used internally."
|
|
18811
18839
|
},
|