@seamapi/types 1.548.0 → 1.550.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 +24 -8
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +217 -200
- package/dist/index.cjs +24 -8
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +7 -7
- package/lib/seam/connect/models/acs/acs-credential.js +1 -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 -24
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +10 -10
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +14 -14
- package/lib/seam/connect/models/batch.d.ts +84 -84
- package/lib/seam/connect/models/phones/phone-session.d.ts +12 -12
- package/lib/seam/connect/openapi.d.ts +12 -0
- package/lib/seam/connect/openapi.js +15 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +133 -128
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +15 -0
- package/src/lib/seam/connect/route-types.ts +135 -0
|
@@ -31,7 +31,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
31
31
|
is_issued: z.ZodOptional<z.ZodBoolean>;
|
|
32
32
|
issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
33
33
|
access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
34
|
-
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key", "latch_access", "dormakaba_ambiance_credential"]>>;
|
|
34
|
+
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key", "latch_access", "dormakaba_ambiance_credential", "hotek_card"]>>;
|
|
35
35
|
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
36
36
|
created_at: z.ZodString;
|
|
37
37
|
workspace_id: z.ZodString;
|
|
@@ -603,7 +603,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
603
603
|
user_identity_id?: string | undefined;
|
|
604
604
|
issued_at?: string | null | undefined;
|
|
605
605
|
is_issued?: boolean | undefined;
|
|
606
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | undefined;
|
|
606
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
|
|
607
607
|
external_type_display_name?: string | undefined;
|
|
608
608
|
acs_user_id?: string | undefined;
|
|
609
609
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -740,7 +740,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
740
740
|
user_identity_id?: string | undefined;
|
|
741
741
|
issued_at?: string | null | undefined;
|
|
742
742
|
is_issued?: boolean | undefined;
|
|
743
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | undefined;
|
|
743
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
|
|
744
744
|
external_type_display_name?: string | undefined;
|
|
745
745
|
acs_user_id?: string | undefined;
|
|
746
746
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -879,7 +879,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
879
879
|
user_identity_id?: string | undefined;
|
|
880
880
|
issued_at?: string | null | undefined;
|
|
881
881
|
is_issued?: boolean | undefined;
|
|
882
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | undefined;
|
|
882
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
|
|
883
883
|
external_type_display_name?: string | undefined;
|
|
884
884
|
acs_user_id?: string | undefined;
|
|
885
885
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1024,7 +1024,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
1024
1024
|
user_identity_id?: string | undefined;
|
|
1025
1025
|
issued_at?: string | null | undefined;
|
|
1026
1026
|
is_issued?: boolean | undefined;
|
|
1027
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | undefined;
|
|
1027
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
|
|
1028
1028
|
external_type_display_name?: string | undefined;
|
|
1029
1029
|
acs_user_id?: string | undefined;
|
|
1030
1030
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1074,7 +1074,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1074
1074
|
is_issued: z.ZodOptional<z.ZodBoolean>;
|
|
1075
1075
|
issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1076
1076
|
access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
1077
|
-
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key", "latch_access", "dormakaba_ambiance_credential"]>>;
|
|
1077
|
+
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key", "latch_access", "dormakaba_ambiance_credential", "hotek_card"]>>;
|
|
1078
1078
|
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
1079
1079
|
created_at: z.ZodString;
|
|
1080
1080
|
workspace_id: z.ZodString;
|
|
@@ -1646,7 +1646,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1646
1646
|
user_identity_id?: string | undefined;
|
|
1647
1647
|
issued_at?: string | null | undefined;
|
|
1648
1648
|
is_issued?: boolean | undefined;
|
|
1649
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | undefined;
|
|
1649
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
|
|
1650
1650
|
external_type_display_name?: string | undefined;
|
|
1651
1651
|
acs_user_id?: string | undefined;
|
|
1652
1652
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1783,7 +1783,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1783
1783
|
user_identity_id?: string | undefined;
|
|
1784
1784
|
issued_at?: string | null | undefined;
|
|
1785
1785
|
is_issued?: boolean | undefined;
|
|
1786
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | undefined;
|
|
1786
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
|
|
1787
1787
|
external_type_display_name?: string | undefined;
|
|
1788
1788
|
acs_user_id?: string | undefined;
|
|
1789
1789
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1922,7 +1922,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1922
1922
|
user_identity_id?: string | undefined;
|
|
1923
1923
|
issued_at?: string | null | undefined;
|
|
1924
1924
|
is_issued?: boolean | undefined;
|
|
1925
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | undefined;
|
|
1925
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
|
|
1926
1926
|
external_type_display_name?: string | undefined;
|
|
1927
1927
|
acs_user_id?: string | undefined;
|
|
1928
1928
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -2067,7 +2067,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2067
2067
|
user_identity_id?: string | undefined;
|
|
2068
2068
|
issued_at?: string | null | undefined;
|
|
2069
2069
|
is_issued?: boolean | undefined;
|
|
2070
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | undefined;
|
|
2070
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
|
|
2071
2071
|
external_type_display_name?: string | undefined;
|
|
2072
2072
|
acs_user_id?: string | undefined;
|
|
2073
2073
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -2326,7 +2326,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2326
2326
|
user_identity_id?: string | undefined;
|
|
2327
2327
|
issued_at?: string | null | undefined;
|
|
2328
2328
|
is_issued?: boolean | undefined;
|
|
2329
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | undefined;
|
|
2329
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
|
|
2330
2330
|
external_type_display_name?: string | undefined;
|
|
2331
2331
|
acs_user_id?: string | undefined;
|
|
2332
2332
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -2501,7 +2501,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2501
2501
|
user_identity_id?: string | undefined;
|
|
2502
2502
|
issued_at?: string | null | undefined;
|
|
2503
2503
|
is_issued?: boolean | undefined;
|
|
2504
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | undefined;
|
|
2504
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
|
|
2505
2505
|
external_type_display_name?: string | undefined;
|
|
2506
2506
|
acs_user_id?: string | undefined;
|
|
2507
2507
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -20716,6 +20716,18 @@ declare const _default: {
|
|
|
20716
20716
|
format: string;
|
|
20717
20717
|
type: string;
|
|
20718
20718
|
};
|
|
20719
|
+
hotek_metadata: {
|
|
20720
|
+
properties: {
|
|
20721
|
+
auto_join: {
|
|
20722
|
+
type: string;
|
|
20723
|
+
};
|
|
20724
|
+
override: {
|
|
20725
|
+
type: string;
|
|
20726
|
+
};
|
|
20727
|
+
};
|
|
20728
|
+
type: string;
|
|
20729
|
+
'x-undocumented': string;
|
|
20730
|
+
};
|
|
20719
20731
|
is_multi_phone_sync_credential: {
|
|
20720
20732
|
default: boolean;
|
|
20721
20733
|
description: string;
|
|
@@ -2005,6 +2005,7 @@ export default {
|
|
|
2005
2005
|
'salto_space_key',
|
|
2006
2006
|
'latch_access',
|
|
2007
2007
|
'dormakaba_ambiance_credential',
|
|
2008
|
+
'hotek_card',
|
|
2008
2009
|
],
|
|
2009
2010
|
type: 'string',
|
|
2010
2011
|
},
|
|
@@ -4152,6 +4153,7 @@ export default {
|
|
|
4152
4153
|
'salto_space_key',
|
|
4153
4154
|
'latch_access',
|
|
4154
4155
|
'dormakaba_ambiance_credential',
|
|
4156
|
+
'hotek_card',
|
|
4155
4157
|
],
|
|
4156
4158
|
type: 'string',
|
|
4157
4159
|
},
|
|
@@ -4541,6 +4543,7 @@ export default {
|
|
|
4541
4543
|
'salto_space_key',
|
|
4542
4544
|
'latch_access',
|
|
4543
4545
|
'dormakaba_ambiance_credential',
|
|
4546
|
+
'hotek_card',
|
|
4544
4547
|
],
|
|
4545
4548
|
type: 'string',
|
|
4546
4549
|
},
|
|
@@ -5108,6 +5111,7 @@ export default {
|
|
|
5108
5111
|
'salto_space_key',
|
|
5109
5112
|
'latch_access',
|
|
5110
5113
|
'dormakaba_ambiance_credential',
|
|
5114
|
+
'hotek_card',
|
|
5111
5115
|
],
|
|
5112
5116
|
type: 'string',
|
|
5113
5117
|
},
|
|
@@ -5495,6 +5499,7 @@ export default {
|
|
|
5495
5499
|
'salto_space_key',
|
|
5496
5500
|
'latch_access',
|
|
5497
5501
|
'dormakaba_ambiance_credential',
|
|
5502
|
+
'hotek_card',
|
|
5498
5503
|
],
|
|
5499
5504
|
type: 'string',
|
|
5500
5505
|
},
|
|
@@ -17946,6 +17951,7 @@ export default {
|
|
|
17946
17951
|
'salto_space_key',
|
|
17947
17952
|
'latch_access',
|
|
17948
17953
|
'dormakaba_ambiance_credential',
|
|
17954
|
+
'hotek_card',
|
|
17949
17955
|
],
|
|
17950
17956
|
type: 'string',
|
|
17951
17957
|
},
|
|
@@ -20371,6 +20377,7 @@ export default {
|
|
|
20371
20377
|
'salto_space_key',
|
|
20372
20378
|
'latch_access',
|
|
20373
20379
|
'dormakaba_ambiance_credential',
|
|
20380
|
+
'hotek_card',
|
|
20374
20381
|
],
|
|
20375
20382
|
type: 'string',
|
|
20376
20383
|
},
|
|
@@ -28326,6 +28333,14 @@ export default {
|
|
|
28326
28333
|
format: 'date-time',
|
|
28327
28334
|
type: 'string',
|
|
28328
28335
|
},
|
|
28336
|
+
hotek_metadata: {
|
|
28337
|
+
properties: {
|
|
28338
|
+
auto_join: { type: 'boolean' },
|
|
28339
|
+
override: { type: 'boolean' },
|
|
28340
|
+
},
|
|
28341
|
+
type: 'object',
|
|
28342
|
+
'x-undocumented': 'in development',
|
|
28343
|
+
},
|
|
28329
28344
|
is_multi_phone_sync_credential: {
|
|
28330
28345
|
default: false,
|
|
28331
28346
|
description: 'Indicates whether the new credential is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).',
|