@seamapi/types 1.392.1 → 1.394.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 +121 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +310 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +72 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +15 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.js +1 -0
- package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +71 -0
- package/lib/seam/connect/openapi.js +104 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +191 -0
- package/package.json +2 -2
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +18 -0
- package/src/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +112 -0
- package/src/lib/seam/connect/route-types.ts +224 -0
package/dist/connect.d.cts
CHANGED
|
@@ -4969,6 +4969,19 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
4969
4969
|
message: string;
|
|
4970
4970
|
created_at: string;
|
|
4971
4971
|
error_code: "failed_to_delete_on_acs_system";
|
|
4972
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
4973
|
+
created_at: z.ZodString;
|
|
4974
|
+
message: z.ZodString;
|
|
4975
|
+
}, {
|
|
4976
|
+
error_code: z.ZodLiteral<"latch_conflict_with_resident_user">;
|
|
4977
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4978
|
+
message: string;
|
|
4979
|
+
created_at: string;
|
|
4980
|
+
error_code: "latch_conflict_with_resident_user";
|
|
4981
|
+
}, {
|
|
4982
|
+
message: string;
|
|
4983
|
+
created_at: string;
|
|
4984
|
+
error_code: "latch_conflict_with_resident_user";
|
|
4972
4985
|
}>]>, "many">;
|
|
4973
4986
|
pending_mutations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<z.objectUtil.extendShape<{
|
|
4974
4987
|
created_at: z.ZodString;
|
|
@@ -5183,6 +5196,7 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
5183
5196
|
acs_access_group_id: string | null;
|
|
5184
5197
|
};
|
|
5185
5198
|
}>]>, "many">>;
|
|
5199
|
+
last_successful_sync_at: z.ZodNullable<z.ZodString>;
|
|
5186
5200
|
}, {
|
|
5187
5201
|
full_name: z.ZodOptional<z.ZodString>;
|
|
5188
5202
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -5213,6 +5227,10 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
5213
5227
|
message: string;
|
|
5214
5228
|
created_at: string;
|
|
5215
5229
|
error_code: "failed_to_delete_on_acs_system";
|
|
5230
|
+
} | {
|
|
5231
|
+
message: string;
|
|
5232
|
+
created_at: string;
|
|
5233
|
+
error_code: "latch_conflict_with_resident_user";
|
|
5216
5234
|
})[];
|
|
5217
5235
|
warnings: ({
|
|
5218
5236
|
message: string;
|
|
@@ -5235,6 +5253,7 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
5235
5253
|
is_managed: true;
|
|
5236
5254
|
acs_system_id: string;
|
|
5237
5255
|
acs_user_id: string;
|
|
5256
|
+
last_successful_sync_at: string | null;
|
|
5238
5257
|
email?: string | undefined;
|
|
5239
5258
|
user_identity_id?: string | undefined;
|
|
5240
5259
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
|
|
@@ -5329,6 +5348,10 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
5329
5348
|
message: string;
|
|
5330
5349
|
created_at: string;
|
|
5331
5350
|
error_code: "failed_to_delete_on_acs_system";
|
|
5351
|
+
} | {
|
|
5352
|
+
message: string;
|
|
5353
|
+
created_at: string;
|
|
5354
|
+
error_code: "latch_conflict_with_resident_user";
|
|
5332
5355
|
})[];
|
|
5333
5356
|
warnings: ({
|
|
5334
5357
|
message: string;
|
|
@@ -5351,6 +5374,7 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
5351
5374
|
is_managed: true;
|
|
5352
5375
|
acs_system_id: string;
|
|
5353
5376
|
acs_user_id: string;
|
|
5377
|
+
last_successful_sync_at: string | null;
|
|
5354
5378
|
email?: string | undefined;
|
|
5355
5379
|
user_identity_id?: string | undefined;
|
|
5356
5380
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
|
|
@@ -5565,6 +5589,19 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
5565
5589
|
message: string;
|
|
5566
5590
|
created_at: string;
|
|
5567
5591
|
error_code: "failed_to_delete_on_acs_system";
|
|
5592
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
5593
|
+
created_at: z.ZodString;
|
|
5594
|
+
message: z.ZodString;
|
|
5595
|
+
}, {
|
|
5596
|
+
error_code: z.ZodLiteral<"latch_conflict_with_resident_user">;
|
|
5597
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5598
|
+
message: string;
|
|
5599
|
+
created_at: string;
|
|
5600
|
+
error_code: "latch_conflict_with_resident_user";
|
|
5601
|
+
}, {
|
|
5602
|
+
message: string;
|
|
5603
|
+
created_at: string;
|
|
5604
|
+
error_code: "latch_conflict_with_resident_user";
|
|
5568
5605
|
}>]>, "many">;
|
|
5569
5606
|
pending_mutations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<z.objectUtil.extendShape<{
|
|
5570
5607
|
created_at: z.ZodString;
|
|
@@ -5779,6 +5816,7 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
5779
5816
|
acs_access_group_id: string | null;
|
|
5780
5817
|
};
|
|
5781
5818
|
}>]>, "many">>;
|
|
5819
|
+
last_successful_sync_at: z.ZodNullable<z.ZodString>;
|
|
5782
5820
|
}, {
|
|
5783
5821
|
full_name: z.ZodOptional<z.ZodString>;
|
|
5784
5822
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -5809,6 +5847,10 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
5809
5847
|
message: string;
|
|
5810
5848
|
created_at: string;
|
|
5811
5849
|
error_code: "failed_to_delete_on_acs_system";
|
|
5850
|
+
} | {
|
|
5851
|
+
message: string;
|
|
5852
|
+
created_at: string;
|
|
5853
|
+
error_code: "latch_conflict_with_resident_user";
|
|
5812
5854
|
})[];
|
|
5813
5855
|
warnings: ({
|
|
5814
5856
|
message: string;
|
|
@@ -5831,6 +5873,7 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
5831
5873
|
is_managed: false;
|
|
5832
5874
|
acs_system_id: string;
|
|
5833
5875
|
acs_user_id: string;
|
|
5876
|
+
last_successful_sync_at: string | null;
|
|
5834
5877
|
email?: string | undefined;
|
|
5835
5878
|
user_identity_id?: string | undefined;
|
|
5836
5879
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
|
|
@@ -5925,6 +5968,10 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
5925
5968
|
message: string;
|
|
5926
5969
|
created_at: string;
|
|
5927
5970
|
error_code: "failed_to_delete_on_acs_system";
|
|
5971
|
+
} | {
|
|
5972
|
+
message: string;
|
|
5973
|
+
created_at: string;
|
|
5974
|
+
error_code: "latch_conflict_with_resident_user";
|
|
5928
5975
|
})[];
|
|
5929
5976
|
warnings: ({
|
|
5930
5977
|
message: string;
|
|
@@ -5947,6 +5994,7 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
5947
5994
|
is_managed: false;
|
|
5948
5995
|
acs_system_id: string;
|
|
5949
5996
|
acs_user_id: string;
|
|
5997
|
+
last_successful_sync_at: string | null;
|
|
5950
5998
|
email?: string | undefined;
|
|
5951
5999
|
user_identity_id?: string | undefined;
|
|
5952
6000
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
|
|
@@ -22255,6 +22303,13 @@ declare const _default: {
|
|
|
22255
22303
|
description: string;
|
|
22256
22304
|
type: string;
|
|
22257
22305
|
};
|
|
22306
|
+
last_successful_sync_at: {
|
|
22307
|
+
description: string;
|
|
22308
|
+
format: string;
|
|
22309
|
+
nullable: boolean;
|
|
22310
|
+
type: string;
|
|
22311
|
+
'x-undocumented': string;
|
|
22312
|
+
};
|
|
22258
22313
|
pending_mutations: {
|
|
22259
22314
|
description: string;
|
|
22260
22315
|
items: {
|
|
@@ -30181,6 +30236,13 @@ declare const _default: {
|
|
|
30181
30236
|
description: string;
|
|
30182
30237
|
type: string;
|
|
30183
30238
|
};
|
|
30239
|
+
last_successful_sync_at: {
|
|
30240
|
+
description: string;
|
|
30241
|
+
format: string;
|
|
30242
|
+
nullable: boolean;
|
|
30243
|
+
type: string;
|
|
30244
|
+
'x-undocumented': string;
|
|
30245
|
+
};
|
|
30184
30246
|
pending_mutations: {
|
|
30185
30247
|
description: string;
|
|
30186
30248
|
items: {
|
|
@@ -44161,6 +44223,63 @@ declare const _default: {
|
|
|
44161
44223
|
'x-undocumented': string;
|
|
44162
44224
|
};
|
|
44163
44225
|
};
|
|
44226
|
+
'/seam/mobile_sdk/v1/acs/credentials/list': {
|
|
44227
|
+
post: {
|
|
44228
|
+
description: string;
|
|
44229
|
+
operationId: string;
|
|
44230
|
+
requestBody: {
|
|
44231
|
+
content: {
|
|
44232
|
+
'application/json': {
|
|
44233
|
+
schema: {
|
|
44234
|
+
properties: {};
|
|
44235
|
+
type: string;
|
|
44236
|
+
};
|
|
44237
|
+
};
|
|
44238
|
+
};
|
|
44239
|
+
};
|
|
44240
|
+
responses: {
|
|
44241
|
+
200: {
|
|
44242
|
+
content: {
|
|
44243
|
+
'application/json': {
|
|
44244
|
+
schema: {
|
|
44245
|
+
properties: {
|
|
44246
|
+
acs_credentials: {
|
|
44247
|
+
items: {
|
|
44248
|
+
$ref: string;
|
|
44249
|
+
};
|
|
44250
|
+
type: string;
|
|
44251
|
+
};
|
|
44252
|
+
ok: {
|
|
44253
|
+
type: string;
|
|
44254
|
+
};
|
|
44255
|
+
};
|
|
44256
|
+
required: string[];
|
|
44257
|
+
type: string;
|
|
44258
|
+
};
|
|
44259
|
+
};
|
|
44260
|
+
};
|
|
44261
|
+
description: string;
|
|
44262
|
+
};
|
|
44263
|
+
400: {
|
|
44264
|
+
description: string;
|
|
44265
|
+
};
|
|
44266
|
+
401: {
|
|
44267
|
+
description: string;
|
|
44268
|
+
};
|
|
44269
|
+
};
|
|
44270
|
+
security: {
|
|
44271
|
+
client_session: never[];
|
|
44272
|
+
}[];
|
|
44273
|
+
summary: string;
|
|
44274
|
+
tags: string[];
|
|
44275
|
+
'x-fern-sdk-group-name': string[];
|
|
44276
|
+
'x-fern-sdk-method-name': string;
|
|
44277
|
+
'x-fern-sdk-return-value': string;
|
|
44278
|
+
'x-response-key': string;
|
|
44279
|
+
'x-title': string;
|
|
44280
|
+
'x-undocumented': string;
|
|
44281
|
+
};
|
|
44282
|
+
};
|
|
44164
44283
|
'/thermostats/activate_climate_preset': {
|
|
44165
44284
|
post: {
|
|
44166
44285
|
description: string;
|
|
@@ -60872,6 +60991,12 @@ interface Routes {
|
|
|
60872
60991
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
60873
60992
|
message: string;
|
|
60874
60993
|
error_code: 'failed_to_delete_on_acs_system';
|
|
60994
|
+
} | {
|
|
60995
|
+
/** Date and time at which Seam created the error. */
|
|
60996
|
+
created_at: string;
|
|
60997
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
60998
|
+
message: string;
|
|
60999
|
+
error_code: 'latch_conflict_with_resident_user';
|
|
60875
61000
|
}>;
|
|
60876
61001
|
/** Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system. */
|
|
60877
61002
|
pending_mutations?: Array<{
|
|
@@ -60945,6 +61070,8 @@ interface Routes {
|
|
|
60945
61070
|
acs_access_group_id: string | null;
|
|
60946
61071
|
};
|
|
60947
61072
|
}> | undefined;
|
|
61073
|
+
/** The last time an internal sync job completed for this ACS user. */
|
|
61074
|
+
last_successful_sync_at: string | null;
|
|
60948
61075
|
/** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
|
|
60949
61076
|
full_name?: string | undefined;
|
|
60950
61077
|
/**
|
|
@@ -66844,6 +66971,12 @@ interface Routes {
|
|
|
66844
66971
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
66845
66972
|
message: string;
|
|
66846
66973
|
error_code: 'failed_to_delete_on_acs_system';
|
|
66974
|
+
} | {
|
|
66975
|
+
/** Date and time at which Seam created the error. */
|
|
66976
|
+
created_at: string;
|
|
66977
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
66978
|
+
message: string;
|
|
66979
|
+
error_code: 'latch_conflict_with_resident_user';
|
|
66847
66980
|
}>;
|
|
66848
66981
|
/** Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system. */
|
|
66849
66982
|
pending_mutations?: Array<{
|
|
@@ -66917,6 +67050,8 @@ interface Routes {
|
|
|
66917
67050
|
acs_access_group_id: string | null;
|
|
66918
67051
|
};
|
|
66919
67052
|
}> | undefined;
|
|
67053
|
+
/** The last time an internal sync job completed for this ACS user. */
|
|
67054
|
+
last_successful_sync_at: string | null;
|
|
66920
67055
|
/** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
|
|
66921
67056
|
full_name?: string | undefined;
|
|
66922
67057
|
/**
|
|
@@ -67048,6 +67183,12 @@ interface Routes {
|
|
|
67048
67183
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
67049
67184
|
message: string;
|
|
67050
67185
|
error_code: 'failed_to_delete_on_acs_system';
|
|
67186
|
+
} | {
|
|
67187
|
+
/** Date and time at which Seam created the error. */
|
|
67188
|
+
created_at: string;
|
|
67189
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
67190
|
+
message: string;
|
|
67191
|
+
error_code: 'latch_conflict_with_resident_user';
|
|
67051
67192
|
}>;
|
|
67052
67193
|
/** Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system. */
|
|
67053
67194
|
pending_mutations?: Array<{
|
|
@@ -67121,6 +67262,8 @@ interface Routes {
|
|
|
67121
67262
|
acs_access_group_id: string | null;
|
|
67122
67263
|
};
|
|
67123
67264
|
}> | undefined;
|
|
67265
|
+
/** The last time an internal sync job completed for this ACS user. */
|
|
67266
|
+
last_successful_sync_at: string | null;
|
|
67124
67267
|
/** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
|
|
67125
67268
|
full_name?: string | undefined;
|
|
67126
67269
|
/**
|
|
@@ -67248,6 +67391,12 @@ interface Routes {
|
|
|
67248
67391
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
67249
67392
|
message: string;
|
|
67250
67393
|
error_code: 'failed_to_delete_on_acs_system';
|
|
67394
|
+
} | {
|
|
67395
|
+
/** Date and time at which Seam created the error. */
|
|
67396
|
+
created_at: string;
|
|
67397
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
67398
|
+
message: string;
|
|
67399
|
+
error_code: 'latch_conflict_with_resident_user';
|
|
67251
67400
|
}>;
|
|
67252
67401
|
/** Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system. */
|
|
67253
67402
|
pending_mutations?: Array<{
|
|
@@ -67321,6 +67470,8 @@ interface Routes {
|
|
|
67321
67470
|
acs_access_group_id: string | null;
|
|
67322
67471
|
};
|
|
67323
67472
|
}> | undefined;
|
|
67473
|
+
/** The last time an internal sync job completed for this ACS user. */
|
|
67474
|
+
last_successful_sync_at: string | null;
|
|
67324
67475
|
/** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
|
|
67325
67476
|
full_name?: string | undefined;
|
|
67326
67477
|
/**
|
|
@@ -67557,6 +67708,12 @@ interface Routes {
|
|
|
67557
67708
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
67558
67709
|
message: string;
|
|
67559
67710
|
error_code: 'failed_to_delete_on_acs_system';
|
|
67711
|
+
} | {
|
|
67712
|
+
/** Date and time at which Seam created the error. */
|
|
67713
|
+
created_at: string;
|
|
67714
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
67715
|
+
message: string;
|
|
67716
|
+
error_code: 'latch_conflict_with_resident_user';
|
|
67560
67717
|
}>;
|
|
67561
67718
|
/** Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system. */
|
|
67562
67719
|
pending_mutations?: Array<{
|
|
@@ -67630,6 +67787,8 @@ interface Routes {
|
|
|
67630
67787
|
acs_access_group_id: string | null;
|
|
67631
67788
|
};
|
|
67632
67789
|
}> | undefined;
|
|
67790
|
+
/** The last time an internal sync job completed for this ACS user. */
|
|
67791
|
+
last_successful_sync_at: string | null;
|
|
67633
67792
|
/** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
|
|
67634
67793
|
full_name?: string | undefined;
|
|
67635
67794
|
/**
|
|
@@ -67747,6 +67906,12 @@ interface Routes {
|
|
|
67747
67906
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
67748
67907
|
message: string;
|
|
67749
67908
|
error_code: 'failed_to_delete_on_acs_system';
|
|
67909
|
+
} | {
|
|
67910
|
+
/** Date and time at which Seam created the error. */
|
|
67911
|
+
created_at: string;
|
|
67912
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
67913
|
+
message: string;
|
|
67914
|
+
error_code: 'latch_conflict_with_resident_user';
|
|
67750
67915
|
}>;
|
|
67751
67916
|
/** Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system. */
|
|
67752
67917
|
pending_mutations?: Array<{
|
|
@@ -67820,6 +67985,8 @@ interface Routes {
|
|
|
67820
67985
|
acs_access_group_id: string | null;
|
|
67821
67986
|
};
|
|
67822
67987
|
}> | undefined;
|
|
67988
|
+
/** The last time an internal sync job completed for this ACS user. */
|
|
67989
|
+
last_successful_sync_at: string | null;
|
|
67823
67990
|
/** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
|
|
67824
67991
|
full_name?: string | undefined;
|
|
67825
67992
|
/**
|
|
@@ -88763,6 +88930,129 @@ interface Routes {
|
|
|
88763
88930
|
};
|
|
88764
88931
|
};
|
|
88765
88932
|
};
|
|
88933
|
+
'/seam/mobile_sdk/v1/acs/credentials/list': {
|
|
88934
|
+
route: '/seam/mobile_sdk/v1/acs/credentials/list';
|
|
88935
|
+
method: 'GET' | 'POST';
|
|
88936
|
+
queryParams: {};
|
|
88937
|
+
jsonBody: {};
|
|
88938
|
+
commonParams: {};
|
|
88939
|
+
formData: {};
|
|
88940
|
+
jsonResponse: {
|
|
88941
|
+
acs_credentials: Array<{
|
|
88942
|
+
/** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
88943
|
+
acs_credential_id: string;
|
|
88944
|
+
/** ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
|
|
88945
|
+
acs_user_id?: string | undefined;
|
|
88946
|
+
acs_credential_pool_id?: string | undefined;
|
|
88947
|
+
/** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
88948
|
+
acs_system_id: string;
|
|
88949
|
+
/** ID of the parent [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
88950
|
+
parent_acs_credential_id?: string | undefined;
|
|
88951
|
+
/** Display name that corresponds to the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
|
|
88952
|
+
display_name: string;
|
|
88953
|
+
/** Access (PIN) code for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
88954
|
+
code?: (string | undefined) | null;
|
|
88955
|
+
/** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) can only be used once. If `true`, the code becomes invalid after the first use. */
|
|
88956
|
+
is_one_time_use?: boolean | undefined;
|
|
88957
|
+
/** Number of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
88958
|
+
card_number?: (string | undefined) | null;
|
|
88959
|
+
/** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been encoded onto a card. */
|
|
88960
|
+
is_issued?: boolean | undefined;
|
|
88961
|
+
/** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card. */
|
|
88962
|
+
issued_at?: (string | undefined) | null;
|
|
88963
|
+
/** Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`. */
|
|
88964
|
+
access_method: 'code' | 'card' | 'mobile_key';
|
|
88965
|
+
/** Brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. Supported values: `pti_card`, `brivo_credential`, `hid_credential`, `visionline_card`. */
|
|
88966
|
+
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential' | 'assa_abloy_vostio_key' | 'salto_space_key' | 'latch_access') | undefined;
|
|
88967
|
+
/** Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
|
|
88968
|
+
external_type_display_name?: string | undefined;
|
|
88969
|
+
/** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
|
|
88970
|
+
created_at: string;
|
|
88971
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
88972
|
+
workspace_id: string;
|
|
88973
|
+
/** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
88974
|
+
starts_at?: string | undefined;
|
|
88975
|
+
/** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
|
|
88976
|
+
ends_at?: string | undefined;
|
|
88977
|
+
/** Errors associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
88978
|
+
errors: Array<{
|
|
88979
|
+
error_code: string;
|
|
88980
|
+
message: string;
|
|
88981
|
+
}>;
|
|
88982
|
+
/** Warnings associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
88983
|
+
warnings: Array<{
|
|
88984
|
+
/** Date and time at which Seam created the warning. */
|
|
88985
|
+
created_at: string;
|
|
88986
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
88987
|
+
message: string;
|
|
88988
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
88989
|
+
warning_code: 'waiting_to_be_issued';
|
|
88990
|
+
} | {
|
|
88991
|
+
/** Date and time at which Seam created the warning. */
|
|
88992
|
+
created_at: string;
|
|
88993
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
88994
|
+
message: string;
|
|
88995
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
88996
|
+
warning_code: 'schedule_externally_modified';
|
|
88997
|
+
} | {
|
|
88998
|
+
/** Date and time at which Seam created the warning. */
|
|
88999
|
+
created_at: string;
|
|
89000
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
89001
|
+
message: string;
|
|
89002
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
89003
|
+
warning_code: 'schedule_modified';
|
|
89004
|
+
} | {
|
|
89005
|
+
/** Date and time at which Seam created the warning. */
|
|
89006
|
+
created_at: string;
|
|
89007
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
89008
|
+
message: string;
|
|
89009
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
89010
|
+
warning_code: 'being_deleted';
|
|
89011
|
+
} | {
|
|
89012
|
+
/** Date and time at which Seam created the warning. */
|
|
89013
|
+
created_at: string;
|
|
89014
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
89015
|
+
message: string;
|
|
89016
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
89017
|
+
warning_code: 'unknown_issue_with_acs_credential';
|
|
89018
|
+
} | {
|
|
89019
|
+
/** Date and time at which Seam created the warning. */
|
|
89020
|
+
created_at: string;
|
|
89021
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
89022
|
+
message: string;
|
|
89023
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
89024
|
+
warning_code: 'needs_to_be_reissued';
|
|
89025
|
+
}>;
|
|
89026
|
+
/** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) 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). */
|
|
89027
|
+
is_multi_phone_sync_credential?: boolean | undefined;
|
|
89028
|
+
/** Indicates whether the latest state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been synced from Seam to the provider. */
|
|
89029
|
+
is_latest_desired_state_synced_with_provider?: (boolean | null) | undefined;
|
|
89030
|
+
/** Date and time at which the state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was most recently synced from Seam to the provider. */
|
|
89031
|
+
latest_desired_state_synced_with_provider_at?: (string | null) | undefined;
|
|
89032
|
+
/** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
89033
|
+
visionline_metadata?: {
|
|
89034
|
+
card_function_type: 'guest' | 'staff';
|
|
89035
|
+
joiner_acs_credential_ids?: string[] | undefined;
|
|
89036
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
89037
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
89038
|
+
is_valid?: boolean | undefined;
|
|
89039
|
+
auto_join?: boolean | undefined;
|
|
89040
|
+
card_id?: string | undefined;
|
|
89041
|
+
credential_id?: string | undefined;
|
|
89042
|
+
} | undefined;
|
|
89043
|
+
/** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
89044
|
+
assa_abloy_vostio_metadata?: {
|
|
89045
|
+
auto_join?: boolean | undefined;
|
|
89046
|
+
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
89047
|
+
key_id?: string | undefined;
|
|
89048
|
+
key_issuing_request_id?: string | undefined;
|
|
89049
|
+
door_names?: string[] | undefined;
|
|
89050
|
+
endpoint_id?: string | undefined;
|
|
89051
|
+
} | undefined;
|
|
89052
|
+
is_managed: true;
|
|
89053
|
+
}>;
|
|
89054
|
+
};
|
|
89055
|
+
};
|
|
88766
89056
|
'/thermostats/activate_climate_preset': {
|
|
88767
89057
|
route: '/thermostats/activate_climate_preset';
|
|
88768
89058
|
method: 'POST';
|
|
@@ -90124,6 +90414,7 @@ interface Routes {
|
|
|
90124
90414
|
} | undefined;
|
|
90125
90415
|
/** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
90126
90416
|
assa_abloy_vostio_metadata?: {
|
|
90417
|
+
auto_join?: boolean | undefined;
|
|
90127
90418
|
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
90128
90419
|
key_id?: string | undefined;
|
|
90129
90420
|
key_issuing_request_id?: string | undefined;
|
|
@@ -90235,6 +90526,7 @@ interface Routes {
|
|
|
90235
90526
|
} | undefined;
|
|
90236
90527
|
/** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
90237
90528
|
assa_abloy_vostio_metadata?: {
|
|
90529
|
+
auto_join?: boolean | undefined;
|
|
90238
90530
|
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
90239
90531
|
key_id?: string | undefined;
|
|
90240
90532
|
key_issuing_request_id?: string | undefined;
|
|
@@ -90457,6 +90749,7 @@ interface Routes {
|
|
|
90457
90749
|
} | undefined;
|
|
90458
90750
|
/** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
90459
90751
|
assa_abloy_vostio_metadata?: {
|
|
90752
|
+
auto_join?: boolean | undefined;
|
|
90460
90753
|
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
90461
90754
|
key_id?: string | undefined;
|
|
90462
90755
|
key_issuing_request_id?: string | undefined;
|
|
@@ -90568,6 +90861,7 @@ interface Routes {
|
|
|
90568
90861
|
} | undefined;
|
|
90569
90862
|
/** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
90570
90863
|
assa_abloy_vostio_metadata?: {
|
|
90864
|
+
auto_join?: boolean | undefined;
|
|
90571
90865
|
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
90572
90866
|
key_id?: string | undefined;
|
|
90573
90867
|
key_issuing_request_id?: string | undefined;
|
|
@@ -91236,6 +91530,7 @@ interface Routes {
|
|
|
91236
91530
|
} | undefined;
|
|
91237
91531
|
/** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
91238
91532
|
assa_abloy_vostio_metadata?: {
|
|
91533
|
+
auto_join?: boolean | undefined;
|
|
91239
91534
|
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
91240
91535
|
key_id?: string | undefined;
|
|
91241
91536
|
key_issuing_request_id?: string | undefined;
|
|
@@ -91347,6 +91642,7 @@ interface Routes {
|
|
|
91347
91642
|
} | undefined;
|
|
91348
91643
|
/** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
91349
91644
|
assa_abloy_vostio_metadata?: {
|
|
91645
|
+
auto_join?: boolean | undefined;
|
|
91350
91646
|
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
91351
91647
|
key_id?: string | undefined;
|
|
91352
91648
|
key_issuing_request_id?: string | undefined;
|
|
@@ -91569,6 +91865,7 @@ interface Routes {
|
|
|
91569
91865
|
} | undefined;
|
|
91570
91866
|
/** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
91571
91867
|
assa_abloy_vostio_metadata?: {
|
|
91868
|
+
auto_join?: boolean | undefined;
|
|
91572
91869
|
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
91573
91870
|
key_id?: string | undefined;
|
|
91574
91871
|
key_issuing_request_id?: string | undefined;
|
|
@@ -91680,6 +91977,7 @@ interface Routes {
|
|
|
91680
91977
|
} | undefined;
|
|
91681
91978
|
/** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
91682
91979
|
assa_abloy_vostio_metadata?: {
|
|
91980
|
+
auto_join?: boolean | undefined;
|
|
91683
91981
|
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
91684
91982
|
key_id?: string | undefined;
|
|
91685
91983
|
key_issuing_request_id?: string | undefined;
|
|
@@ -93561,6 +93859,7 @@ interface Routes {
|
|
|
93561
93859
|
} | undefined;
|
|
93562
93860
|
/** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
93563
93861
|
assa_abloy_vostio_metadata?: {
|
|
93862
|
+
auto_join?: boolean | undefined;
|
|
93564
93863
|
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
93565
93864
|
key_id?: string | undefined;
|
|
93566
93865
|
key_issuing_request_id?: string | undefined;
|
|
@@ -93672,6 +93971,7 @@ interface Routes {
|
|
|
93672
93971
|
} | undefined;
|
|
93673
93972
|
/** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
93674
93973
|
assa_abloy_vostio_metadata?: {
|
|
93974
|
+
auto_join?: boolean | undefined;
|
|
93675
93975
|
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
93676
93976
|
key_id?: string | undefined;
|
|
93677
93977
|
key_issuing_request_id?: string | undefined;
|
|
@@ -93894,6 +94194,7 @@ interface Routes {
|
|
|
93894
94194
|
} | undefined;
|
|
93895
94195
|
/** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
93896
94196
|
assa_abloy_vostio_metadata?: {
|
|
94197
|
+
auto_join?: boolean | undefined;
|
|
93897
94198
|
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
93898
94199
|
key_id?: string | undefined;
|
|
93899
94200
|
key_issuing_request_id?: string | undefined;
|
|
@@ -94005,6 +94306,7 @@ interface Routes {
|
|
|
94005
94306
|
} | undefined;
|
|
94006
94307
|
/** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
94007
94308
|
assa_abloy_vostio_metadata?: {
|
|
94309
|
+
auto_join?: boolean | undefined;
|
|
94008
94310
|
override_guest_acs_entrance_ids?: string[] | undefined;
|
|
94009
94311
|
key_id?: string | undefined;
|
|
94010
94312
|
key_issuing_request_id?: string | undefined;
|
|
@@ -105124,6 +105426,12 @@ interface Routes {
|
|
|
105124
105426
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
105125
105427
|
message: string;
|
|
105126
105428
|
error_code: 'failed_to_delete_on_acs_system';
|
|
105429
|
+
} | {
|
|
105430
|
+
/** Date and time at which Seam created the error. */
|
|
105431
|
+
created_at: string;
|
|
105432
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
105433
|
+
message: string;
|
|
105434
|
+
error_code: 'latch_conflict_with_resident_user';
|
|
105127
105435
|
}>;
|
|
105128
105436
|
/** Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system. */
|
|
105129
105437
|
pending_mutations?: Array<{
|
|
@@ -105197,6 +105505,8 @@ interface Routes {
|
|
|
105197
105505
|
acs_access_group_id: string | null;
|
|
105198
105506
|
};
|
|
105199
105507
|
}> | undefined;
|
|
105508
|
+
/** The last time an internal sync job completed for this ACS user. */
|
|
105509
|
+
last_successful_sync_at: string | null;
|
|
105200
105510
|
/** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
|
|
105201
105511
|
full_name?: string | undefined;
|
|
105202
105512
|
/**
|