@seamapi/types 1.321.0 → 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 +49 -15
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +443 -410
- package/lib/seam/connect/models/acs/acs-credential.d.ts +34 -34
- package/lib/seam/connect/models/acs/acs-credential.js +6 -4
- 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 +80 -80
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +34 -34
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +46 -46
- package/lib/seam/connect/openapi.d.ts +28 -0
- package/lib/seam/connect/openapi.js +41 -7
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +301 -296
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +6 -4
- package/src/lib/seam/connect/models/acs/acs-user.ts +5 -2
- package/src/lib/seam/connect/openapi.ts +42 -7
- package/src/lib/seam/connect/route-types.ts +371 -296
package/dist/connect.cjs
CHANGED
|
@@ -1309,8 +1309,8 @@ var schedule_modified = common_acs_credential_warning.extend({
|
|
|
1309
1309
|
var being_deleted = common_acs_credential_warning.extend({
|
|
1310
1310
|
warning_code: zod.z.literal("being_deleted").describe(warning_code_description3)
|
|
1311
1311
|
}).describe("Indicates that this credential is being deleted.");
|
|
1312
|
-
var
|
|
1313
|
-
warning_code: zod.z.literal("
|
|
1312
|
+
var unknown_issue_with_acs_credential = common_acs_credential_warning.extend({
|
|
1313
|
+
warning_code: zod.z.literal("unknown_issue_with_acs_credential").describe(warning_code_description3)
|
|
1314
1314
|
}).describe(
|
|
1315
1315
|
"An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential."
|
|
1316
1316
|
);
|
|
@@ -1319,14 +1319,14 @@ var acs_credential_warning = zod.z.union([
|
|
|
1319
1319
|
schedule_externally_modified,
|
|
1320
1320
|
schedule_modified,
|
|
1321
1321
|
being_deleted,
|
|
1322
|
-
|
|
1322
|
+
unknown_issue_with_acs_credential
|
|
1323
1323
|
]).describe("Warning associated with the `acs_credential`.");
|
|
1324
1324
|
zod.z.object({
|
|
1325
1325
|
waiting_to_be_issued: waiting_to_be_issued.optional().nullable(),
|
|
1326
1326
|
schedule_externally_modified: schedule_externally_modified.optional().nullable(),
|
|
1327
1327
|
schedule_modified: schedule_modified.optional().nullable(),
|
|
1328
1328
|
being_deleted: being_deleted.optional().nullable(),
|
|
1329
|
-
|
|
1329
|
+
unknown_issue_with_acs_credential: unknown_issue_with_acs_credential.optional().nullable()
|
|
1330
1330
|
});
|
|
1331
1331
|
var common_acs_credential = zod.z.object({
|
|
1332
1332
|
acs_credential_id: zod.z.string().uuid().describe("ID of the credential."),
|
|
@@ -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: {
|
|
@@ -3367,7 +3369,7 @@ var openapi_default = {
|
|
|
3367
3369
|
},
|
|
3368
3370
|
warning_code: {
|
|
3369
3371
|
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
3370
|
-
enum: ["
|
|
3372
|
+
enum: ["unknown_issue_with_acs_credential"],
|
|
3371
3373
|
type: "string"
|
|
3372
3374
|
}
|
|
3373
3375
|
},
|
|
@@ -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: {
|
|
@@ -4720,7 +4726,9 @@ var openapi_default = {
|
|
|
4720
4726
|
},
|
|
4721
4727
|
warning_code: {
|
|
4722
4728
|
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
4723
|
-
enum: [
|
|
4729
|
+
enum: [
|
|
4730
|
+
"unknown_issue_with_acs_credential"
|
|
4731
|
+
],
|
|
4724
4732
|
type: "string"
|
|
4725
4733
|
}
|
|
4726
4734
|
},
|
|
@@ -4831,6 +4839,7 @@ var openapi_default = {
|
|
|
4831
4839
|
is_issued: { type: "boolean" },
|
|
4832
4840
|
is_latest_desired_state_synced_with_provider: {
|
|
4833
4841
|
description: "Indicates whether the latest state of the credential has been synced from Seam to the provider.",
|
|
4842
|
+
nullable: true,
|
|
4834
4843
|
type: "boolean"
|
|
4835
4844
|
},
|
|
4836
4845
|
is_managed: { enum: [false], type: "boolean" },
|
|
@@ -4850,6 +4859,7 @@ var openapi_default = {
|
|
|
4850
4859
|
latest_desired_state_synced_with_provider_at: {
|
|
4851
4860
|
description: "Date and time at which the state of the credential was most recently synced from Seam to the provider.",
|
|
4852
4861
|
format: "date-time",
|
|
4862
|
+
nullable: true,
|
|
4853
4863
|
type: "string"
|
|
4854
4864
|
},
|
|
4855
4865
|
parent_acs_credential_id: {
|
|
@@ -5007,7 +5017,9 @@ var openapi_default = {
|
|
|
5007
5017
|
},
|
|
5008
5018
|
warning_code: {
|
|
5009
5019
|
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
5010
|
-
enum: [
|
|
5020
|
+
enum: [
|
|
5021
|
+
"unknown_issue_with_acs_credential"
|
|
5022
|
+
],
|
|
5011
5023
|
type: "string"
|
|
5012
5024
|
}
|
|
5013
5025
|
},
|
|
@@ -5249,6 +5261,7 @@ var openapi_default = {
|
|
|
5249
5261
|
is_issued: { type: "boolean" },
|
|
5250
5262
|
is_latest_desired_state_synced_with_provider: {
|
|
5251
5263
|
description: "Indicates whether the latest state of the credential has been synced from Seam to the provider.",
|
|
5264
|
+
nullable: true,
|
|
5252
5265
|
type: "boolean"
|
|
5253
5266
|
},
|
|
5254
5267
|
is_managed: { enum: [true], type: "boolean" },
|
|
@@ -5268,6 +5281,7 @@ var openapi_default = {
|
|
|
5268
5281
|
latest_desired_state_synced_with_provider_at: {
|
|
5269
5282
|
description: "Date and time at which the state of the credential was most recently synced from Seam to the provider.",
|
|
5270
5283
|
format: "date-time",
|
|
5284
|
+
nullable: true,
|
|
5271
5285
|
type: "string"
|
|
5272
5286
|
},
|
|
5273
5287
|
parent_acs_credential_id: {
|
|
@@ -5425,7 +5439,7 @@ var openapi_default = {
|
|
|
5425
5439
|
},
|
|
5426
5440
|
warning_code: {
|
|
5427
5441
|
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
5428
|
-
enum: ["
|
|
5442
|
+
enum: ["unknown_issue_with_acs_credential"],
|
|
5429
5443
|
type: "string"
|
|
5430
5444
|
}
|
|
5431
5445
|
},
|
|
@@ -5536,6 +5550,7 @@ var openapi_default = {
|
|
|
5536
5550
|
is_issued: { type: "boolean" },
|
|
5537
5551
|
is_latest_desired_state_synced_with_provider: {
|
|
5538
5552
|
description: "Indicates whether the latest state of the credential has been synced from Seam to the provider.",
|
|
5553
|
+
nullable: true,
|
|
5539
5554
|
type: "boolean"
|
|
5540
5555
|
},
|
|
5541
5556
|
is_managed: { enum: [false], type: "boolean" },
|
|
@@ -5555,6 +5570,7 @@ var openapi_default = {
|
|
|
5555
5570
|
latest_desired_state_synced_with_provider_at: {
|
|
5556
5571
|
description: "Date and time at which the state of the credential was most recently synced from Seam to the provider.",
|
|
5557
5572
|
format: "date-time",
|
|
5573
|
+
nullable: true,
|
|
5558
5574
|
type: "string"
|
|
5559
5575
|
},
|
|
5560
5576
|
parent_acs_credential_id: {
|
|
@@ -5712,7 +5728,7 @@ var openapi_default = {
|
|
|
5712
5728
|
},
|
|
5713
5729
|
warning_code: {
|
|
5714
5730
|
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
5715
|
-
enum: ["
|
|
5731
|
+
enum: ["unknown_issue_with_acs_credential"],
|
|
5716
5732
|
type: "string"
|
|
5717
5733
|
}
|
|
5718
5734
|
},
|
|
@@ -15290,6 +15306,14 @@ var openapi_default = {
|
|
|
15290
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).",
|
|
15291
15307
|
type: "boolean"
|
|
15292
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
|
+
},
|
|
15293
15317
|
starts_at: {
|
|
15294
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.",
|
|
15295
15319
|
format: "date-time",
|
|
@@ -15956,6 +15980,7 @@ var openapi_default = {
|
|
|
15956
15980
|
is_issued: { type: "boolean" },
|
|
15957
15981
|
is_latest_desired_state_synced_with_provider: {
|
|
15958
15982
|
description: "Indicates whether the latest state of the credential has been synced from Seam to the provider.",
|
|
15983
|
+
nullable: true,
|
|
15959
15984
|
type: "boolean"
|
|
15960
15985
|
},
|
|
15961
15986
|
is_managed: { enum: [false], type: "boolean" },
|
|
@@ -15975,6 +16000,7 @@ var openapi_default = {
|
|
|
15975
16000
|
latest_desired_state_synced_with_provider_at: {
|
|
15976
16001
|
description: "Date and time at which the state of the credential was most recently synced from Seam to the provider.",
|
|
15977
16002
|
format: "date-time",
|
|
16003
|
+
nullable: true,
|
|
15978
16004
|
type: "string"
|
|
15979
16005
|
},
|
|
15980
16006
|
parent_acs_credential_id: {
|
|
@@ -16132,7 +16158,7 @@ var openapi_default = {
|
|
|
16132
16158
|
},
|
|
16133
16159
|
warning_code: {
|
|
16134
16160
|
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
16135
|
-
enum: ["
|
|
16161
|
+
enum: ["unknown_issue_with_acs_credential"],
|
|
16136
16162
|
type: "string"
|
|
16137
16163
|
}
|
|
16138
16164
|
},
|
|
@@ -16340,6 +16366,7 @@ var openapi_default = {
|
|
|
16340
16366
|
is_issued: { type: "boolean" },
|
|
16341
16367
|
is_latest_desired_state_synced_with_provider: {
|
|
16342
16368
|
description: "Indicates whether the latest state of the credential has been synced from Seam to the provider.",
|
|
16369
|
+
nullable: true,
|
|
16343
16370
|
type: "boolean"
|
|
16344
16371
|
},
|
|
16345
16372
|
is_managed: { enum: [false], type: "boolean" },
|
|
@@ -16359,6 +16386,7 @@ var openapi_default = {
|
|
|
16359
16386
|
latest_desired_state_synced_with_provider_at: {
|
|
16360
16387
|
description: "Date and time at which the state of the credential was most recently synced from Seam to the provider.",
|
|
16361
16388
|
format: "date-time",
|
|
16389
|
+
nullable: true,
|
|
16362
16390
|
type: "string"
|
|
16363
16391
|
},
|
|
16364
16392
|
parent_acs_credential_id: {
|
|
@@ -16516,7 +16544,9 @@ var openapi_default = {
|
|
|
16516
16544
|
},
|
|
16517
16545
|
warning_code: {
|
|
16518
16546
|
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
16519
|
-
enum: [
|
|
16547
|
+
enum: [
|
|
16548
|
+
"unknown_issue_with_acs_credential"
|
|
16549
|
+
],
|
|
16520
16550
|
type: "string"
|
|
16521
16551
|
}
|
|
16522
16552
|
},
|
|
@@ -18431,6 +18461,7 @@ var openapi_default = {
|
|
|
18431
18461
|
},
|
|
18432
18462
|
hid_acs_system_id: { format: "uuid", type: "string" },
|
|
18433
18463
|
is_latest_desired_state_synced_with_provider: {
|
|
18464
|
+
nullable: true,
|
|
18434
18465
|
type: "boolean",
|
|
18435
18466
|
"x-undocumented": "Only used internally."
|
|
18436
18467
|
},
|
|
@@ -18441,6 +18472,7 @@ var openapi_default = {
|
|
|
18441
18472
|
},
|
|
18442
18473
|
latest_desired_state_synced_with_provider_at: {
|
|
18443
18474
|
format: "date-time",
|
|
18475
|
+
nullable: true,
|
|
18444
18476
|
type: "string",
|
|
18445
18477
|
"x-undocumented": "Only used internally."
|
|
18446
18478
|
},
|
|
@@ -18790,6 +18822,7 @@ var openapi_default = {
|
|
|
18790
18822
|
},
|
|
18791
18823
|
hid_acs_system_id: { format: "uuid", type: "string" },
|
|
18792
18824
|
is_latest_desired_state_synced_with_provider: {
|
|
18825
|
+
nullable: true,
|
|
18793
18826
|
type: "boolean",
|
|
18794
18827
|
"x-undocumented": "Only used internally."
|
|
18795
18828
|
},
|
|
@@ -18800,6 +18833,7 @@ var openapi_default = {
|
|
|
18800
18833
|
},
|
|
18801
18834
|
latest_desired_state_synced_with_provider_at: {
|
|
18802
18835
|
format: "date-time",
|
|
18836
|
+
nullable: true,
|
|
18803
18837
|
type: "string",
|
|
18804
18838
|
"x-undocumented": "Only used internally."
|
|
18805
18839
|
},
|