@seamapi/types 1.315.0 → 1.317.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 +205 -24
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +878 -28
- package/lib/seam/connect/models/acs/acs-credential.d.ts +66 -0
- package/lib/seam/connect/models/acs/acs-credential.js +12 -0
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +10 -7
- package/lib/seam/connect/models/acs/acs-system.js +11 -5
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +132 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +58 -0
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +74 -0
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -2
- package/lib/seam/connect/models/devices/device-provider.js +1 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +5 -10
- package/lib/seam/connect/openapi.js +182 -15
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +691 -13
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +15 -0
- package/src/lib/seam/connect/models/acs/acs-system.ts +13 -5
- package/src/lib/seam/connect/models/devices/device-provider.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +211 -15
- package/src/lib/seam/connect/route-types.ts +792 -20
|
@@ -109,6 +109,19 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
109
109
|
message: string;
|
|
110
110
|
warning_code: "being_deleted";
|
|
111
111
|
created_at: string;
|
|
112
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
113
|
+
created_at: z.ZodString;
|
|
114
|
+
message: z.ZodString;
|
|
115
|
+
}, {
|
|
116
|
+
warning_code: z.ZodLiteral<"unknown_issue_with_credential">;
|
|
117
|
+
}>, "strip", z.ZodTypeAny, {
|
|
118
|
+
message: string;
|
|
119
|
+
warning_code: "unknown_issue_with_credential";
|
|
120
|
+
created_at: string;
|
|
121
|
+
}, {
|
|
122
|
+
message: string;
|
|
123
|
+
warning_code: "unknown_issue_with_credential";
|
|
124
|
+
created_at: string;
|
|
112
125
|
}>]>, "many">;
|
|
113
126
|
is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
|
|
114
127
|
is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -165,6 +178,10 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
165
178
|
message: string;
|
|
166
179
|
warning_code: "being_deleted";
|
|
167
180
|
created_at: string;
|
|
181
|
+
} | {
|
|
182
|
+
message: string;
|
|
183
|
+
warning_code: "unknown_issue_with_credential";
|
|
184
|
+
created_at: string;
|
|
168
185
|
})[];
|
|
169
186
|
display_name: string;
|
|
170
187
|
workspace_id: string;
|
|
@@ -219,6 +236,10 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
219
236
|
message: string;
|
|
220
237
|
warning_code: "being_deleted";
|
|
221
238
|
created_at: string;
|
|
239
|
+
} | {
|
|
240
|
+
message: string;
|
|
241
|
+
warning_code: "unknown_issue_with_credential";
|
|
242
|
+
created_at: string;
|
|
222
243
|
})[];
|
|
223
244
|
display_name: string;
|
|
224
245
|
workspace_id: string;
|
|
@@ -332,6 +353,19 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
332
353
|
message: string;
|
|
333
354
|
warning_code: "being_deleted";
|
|
334
355
|
created_at: string;
|
|
356
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
357
|
+
created_at: z.ZodString;
|
|
358
|
+
message: z.ZodString;
|
|
359
|
+
}, {
|
|
360
|
+
warning_code: z.ZodLiteral<"unknown_issue_with_credential">;
|
|
361
|
+
}>, "strip", z.ZodTypeAny, {
|
|
362
|
+
message: string;
|
|
363
|
+
warning_code: "unknown_issue_with_credential";
|
|
364
|
+
created_at: string;
|
|
365
|
+
}, {
|
|
366
|
+
message: string;
|
|
367
|
+
warning_code: "unknown_issue_with_credential";
|
|
368
|
+
created_at: string;
|
|
335
369
|
}>]>, "many">;
|
|
336
370
|
is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
|
|
337
371
|
is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -388,6 +422,10 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
388
422
|
message: string;
|
|
389
423
|
warning_code: "being_deleted";
|
|
390
424
|
created_at: string;
|
|
425
|
+
} | {
|
|
426
|
+
message: string;
|
|
427
|
+
warning_code: "unknown_issue_with_credential";
|
|
428
|
+
created_at: string;
|
|
391
429
|
})[];
|
|
392
430
|
display_name: string;
|
|
393
431
|
workspace_id: string;
|
|
@@ -442,6 +480,10 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
442
480
|
message: string;
|
|
443
481
|
warning_code: "being_deleted";
|
|
444
482
|
created_at: string;
|
|
483
|
+
} | {
|
|
484
|
+
message: string;
|
|
485
|
+
warning_code: "unknown_issue_with_credential";
|
|
486
|
+
created_at: string;
|
|
445
487
|
})[];
|
|
446
488
|
display_name: string;
|
|
447
489
|
workspace_id: string;
|
|
@@ -501,6 +543,10 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
501
543
|
message: string;
|
|
502
544
|
warning_code: "being_deleted";
|
|
503
545
|
created_at: string;
|
|
546
|
+
} | {
|
|
547
|
+
message: string;
|
|
548
|
+
warning_code: "unknown_issue_with_credential";
|
|
549
|
+
created_at: string;
|
|
504
550
|
})[];
|
|
505
551
|
display_name: string;
|
|
506
552
|
workspace_id: string;
|
|
@@ -555,6 +601,10 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
555
601
|
message: string;
|
|
556
602
|
warning_code: "being_deleted";
|
|
557
603
|
created_at: string;
|
|
604
|
+
} | {
|
|
605
|
+
message: string;
|
|
606
|
+
warning_code: "unknown_issue_with_credential";
|
|
607
|
+
created_at: string;
|
|
558
608
|
})[];
|
|
559
609
|
display_name: string;
|
|
560
610
|
workspace_id: string;
|
|
@@ -615,6 +665,10 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
615
665
|
message: string;
|
|
616
666
|
warning_code: "being_deleted";
|
|
617
667
|
created_at: string;
|
|
668
|
+
} | {
|
|
669
|
+
message: string;
|
|
670
|
+
warning_code: "unknown_issue_with_credential";
|
|
671
|
+
created_at: string;
|
|
618
672
|
})[];
|
|
619
673
|
display_name: string;
|
|
620
674
|
workspace_id: string;
|
|
@@ -669,6 +723,10 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
669
723
|
message: string;
|
|
670
724
|
warning_code: "being_deleted";
|
|
671
725
|
created_at: string;
|
|
726
|
+
} | {
|
|
727
|
+
message: string;
|
|
728
|
+
warning_code: "unknown_issue_with_credential";
|
|
729
|
+
created_at: string;
|
|
672
730
|
})[];
|
|
673
731
|
display_name: string;
|
|
674
732
|
workspace_id: string;
|
|
@@ -197,6 +197,19 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
197
197
|
message: string;
|
|
198
198
|
warning_code: "being_deleted";
|
|
199
199
|
created_at: string;
|
|
200
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
201
|
+
created_at: z.ZodString;
|
|
202
|
+
message: z.ZodString;
|
|
203
|
+
}, {
|
|
204
|
+
warning_code: z.ZodLiteral<"unknown_issue_with_credential">;
|
|
205
|
+
}>, "strip", z.ZodTypeAny, {
|
|
206
|
+
message: string;
|
|
207
|
+
warning_code: "unknown_issue_with_credential";
|
|
208
|
+
created_at: string;
|
|
209
|
+
}, {
|
|
210
|
+
message: string;
|
|
211
|
+
warning_code: "unknown_issue_with_credential";
|
|
212
|
+
created_at: string;
|
|
200
213
|
}>]>, "many">;
|
|
201
214
|
is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
|
|
202
215
|
is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -253,6 +266,10 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
253
266
|
message: string;
|
|
254
267
|
warning_code: "being_deleted";
|
|
255
268
|
created_at: string;
|
|
269
|
+
} | {
|
|
270
|
+
message: string;
|
|
271
|
+
warning_code: "unknown_issue_with_credential";
|
|
272
|
+
created_at: string;
|
|
256
273
|
})[];
|
|
257
274
|
display_name: string;
|
|
258
275
|
workspace_id: string;
|
|
@@ -307,6 +324,10 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
307
324
|
message: string;
|
|
308
325
|
warning_code: "being_deleted";
|
|
309
326
|
created_at: string;
|
|
327
|
+
} | {
|
|
328
|
+
message: string;
|
|
329
|
+
warning_code: "unknown_issue_with_credential";
|
|
330
|
+
created_at: string;
|
|
310
331
|
})[];
|
|
311
332
|
display_name: string;
|
|
312
333
|
workspace_id: string;
|
|
@@ -420,6 +441,19 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
420
441
|
message: string;
|
|
421
442
|
warning_code: "being_deleted";
|
|
422
443
|
created_at: string;
|
|
444
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
445
|
+
created_at: z.ZodString;
|
|
446
|
+
message: z.ZodString;
|
|
447
|
+
}, {
|
|
448
|
+
warning_code: z.ZodLiteral<"unknown_issue_with_credential">;
|
|
449
|
+
}>, "strip", z.ZodTypeAny, {
|
|
450
|
+
message: string;
|
|
451
|
+
warning_code: "unknown_issue_with_credential";
|
|
452
|
+
created_at: string;
|
|
453
|
+
}, {
|
|
454
|
+
message: string;
|
|
455
|
+
warning_code: "unknown_issue_with_credential";
|
|
456
|
+
created_at: string;
|
|
423
457
|
}>]>, "many">;
|
|
424
458
|
is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
|
|
425
459
|
is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -476,6 +510,10 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
476
510
|
message: string;
|
|
477
511
|
warning_code: "being_deleted";
|
|
478
512
|
created_at: string;
|
|
513
|
+
} | {
|
|
514
|
+
message: string;
|
|
515
|
+
warning_code: "unknown_issue_with_credential";
|
|
516
|
+
created_at: string;
|
|
479
517
|
})[];
|
|
480
518
|
display_name: string;
|
|
481
519
|
workspace_id: string;
|
|
@@ -530,6 +568,10 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
530
568
|
message: string;
|
|
531
569
|
warning_code: "being_deleted";
|
|
532
570
|
created_at: string;
|
|
571
|
+
} | {
|
|
572
|
+
message: string;
|
|
573
|
+
warning_code: "unknown_issue_with_credential";
|
|
574
|
+
created_at: string;
|
|
533
575
|
})[];
|
|
534
576
|
display_name: string;
|
|
535
577
|
workspace_id: string;
|
|
@@ -621,6 +663,10 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
621
663
|
message: string;
|
|
622
664
|
warning_code: "being_deleted";
|
|
623
665
|
created_at: string;
|
|
666
|
+
} | {
|
|
667
|
+
message: string;
|
|
668
|
+
warning_code: "unknown_issue_with_credential";
|
|
669
|
+
created_at: string;
|
|
624
670
|
})[];
|
|
625
671
|
display_name: string;
|
|
626
672
|
workspace_id: string;
|
|
@@ -675,6 +721,10 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
675
721
|
message: string;
|
|
676
722
|
warning_code: "being_deleted";
|
|
677
723
|
created_at: string;
|
|
724
|
+
} | {
|
|
725
|
+
message: string;
|
|
726
|
+
warning_code: "unknown_issue_with_credential";
|
|
727
|
+
created_at: string;
|
|
678
728
|
})[];
|
|
679
729
|
display_name: string;
|
|
680
730
|
workspace_id: string;
|
|
@@ -756,6 +806,10 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
756
806
|
message: string;
|
|
757
807
|
warning_code: "being_deleted";
|
|
758
808
|
created_at: string;
|
|
809
|
+
} | {
|
|
810
|
+
message: string;
|
|
811
|
+
warning_code: "unknown_issue_with_credential";
|
|
812
|
+
created_at: string;
|
|
759
813
|
})[];
|
|
760
814
|
display_name: string;
|
|
761
815
|
workspace_id: string;
|
|
@@ -810,6 +864,10 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
810
864
|
message: string;
|
|
811
865
|
warning_code: "being_deleted";
|
|
812
866
|
created_at: string;
|
|
867
|
+
} | {
|
|
868
|
+
message: string;
|
|
869
|
+
warning_code: "unknown_issue_with_credential";
|
|
870
|
+
created_at: string;
|
|
813
871
|
})[];
|
|
814
872
|
display_name: string;
|
|
815
873
|
workspace_id: string;
|
|
@@ -896,6 +954,10 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
896
954
|
message: string;
|
|
897
955
|
warning_code: "being_deleted";
|
|
898
956
|
created_at: string;
|
|
957
|
+
} | {
|
|
958
|
+
message: string;
|
|
959
|
+
warning_code: "unknown_issue_with_credential";
|
|
960
|
+
created_at: string;
|
|
899
961
|
})[];
|
|
900
962
|
display_name: string;
|
|
901
963
|
workspace_id: string;
|
|
@@ -950,6 +1012,10 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
950
1012
|
message: string;
|
|
951
1013
|
warning_code: "being_deleted";
|
|
952
1014
|
created_at: string;
|
|
1015
|
+
} | {
|
|
1016
|
+
message: string;
|
|
1017
|
+
warning_code: "unknown_issue_with_credential";
|
|
1018
|
+
created_at: string;
|
|
953
1019
|
})[];
|
|
954
1020
|
display_name: string;
|
|
955
1021
|
workspace_id: string;
|
|
@@ -1037,6 +1103,10 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1037
1103
|
message: string;
|
|
1038
1104
|
warning_code: "being_deleted";
|
|
1039
1105
|
created_at: string;
|
|
1106
|
+
} | {
|
|
1107
|
+
message: string;
|
|
1108
|
+
warning_code: "unknown_issue_with_credential";
|
|
1109
|
+
created_at: string;
|
|
1040
1110
|
})[];
|
|
1041
1111
|
display_name: string;
|
|
1042
1112
|
workspace_id: string;
|
|
@@ -1091,6 +1161,10 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1091
1161
|
message: string;
|
|
1092
1162
|
warning_code: "being_deleted";
|
|
1093
1163
|
created_at: string;
|
|
1164
|
+
} | {
|
|
1165
|
+
message: string;
|
|
1166
|
+
warning_code: "unknown_issue_with_credential";
|
|
1167
|
+
created_at: string;
|
|
1094
1168
|
})[];
|
|
1095
1169
|
display_name: string;
|
|
1096
1170
|
workspace_id: string;
|
|
@@ -53,11 +53,11 @@ export declare const ALL_DEVICE_PROVIDERS: [
|
|
|
53
53
|
];
|
|
54
54
|
export type ProviderCategory = keyof typeof PROVIDER_CATEGORY_MAP;
|
|
55
55
|
export declare const PROVIDER_CATEGORY_MAP: {
|
|
56
|
-
readonly stable: readonly ["august", "avigilon_alta", "brivo", "schlage", "smartthings", "yale", "nuki", "salto", "controlbyweb", "minut", "my_2n", "kwikset", "ttlock", "noiseaware", "igloohome", "ecobee", "four_suites", "lockly", "wyze", "nest", "tedee", "seam_bridge", "honeywell_resideo", "visionline", "assa_abloy_credential_service", "latch"
|
|
56
|
+
readonly stable: readonly ["august", "avigilon_alta", "brivo", "schlage", "smartthings", "yale", "nuki", "salto", "controlbyweb", "minut", "my_2n", "kwikset", "ttlock", "noiseaware", "igloohome", "ecobee", "four_suites", "lockly", "wyze", "nest", "tedee", "seam_bridge", "honeywell_resideo", "visionline", "assa_abloy_credential_service", "latch"];
|
|
57
57
|
readonly consumer_smartlocks: readonly ["august", "schlage", "yale", "smartthings", "nuki", "ttlock", "kwikset", "igloohome", "wyze", "lockly", "tedee"];
|
|
58
58
|
readonly thermostats: readonly ["ecobee", "nest"];
|
|
59
59
|
readonly noise_sensors: readonly ["minut", "noiseaware"];
|
|
60
|
-
readonly access_control_systems: readonly ["pti", "visionline", "assa_abloy_credential_service", "latch", "salto_ks", "assa_abloy_vostio", "assa_abloy_vostio_credential_service", "salto_space"];
|
|
60
|
+
readonly access_control_systems: readonly ["pti", "visionline", "assa_abloy_credential_service", "latch", "salto_ks", "assa_abloy_vostio", "assa_abloy_vostio_credential_service", "salto_space", "assa_abloy_vostio"];
|
|
61
61
|
readonly internal_beta: [DeviceProviderName, ...DeviceProviderName[]];
|
|
62
62
|
};
|
|
63
63
|
export declare const PROVIDER_CATEGORIES: [ProviderCategory, ...ProviderCategory[]];
|
|
@@ -76,7 +76,6 @@ export const PROVIDER_CATEGORY_MAP = {
|
|
|
76
76
|
'visionline',
|
|
77
77
|
'assa_abloy_credential_service',
|
|
78
78
|
'latch',
|
|
79
|
-
'assa_abloy_vostio',
|
|
80
79
|
],
|
|
81
80
|
consumer_smartlocks: [
|
|
82
81
|
'august',
|
|
@@ -102,6 +101,7 @@ export const PROVIDER_CATEGORY_MAP = {
|
|
|
102
101
|
'assa_abloy_vostio',
|
|
103
102
|
'assa_abloy_vostio_credential_service',
|
|
104
103
|
'salto_space',
|
|
104
|
+
'assa_abloy_vostio',
|
|
105
105
|
],
|
|
106
106
|
internal_beta: ALL_DEVICE_PROVIDERS,
|
|
107
107
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-provider.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/device-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,mBAAmB,EAAE,q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AAqB,GAAG;IACnC,MAAM,EAAE;QACN,QAAQ;QACR,eAAe;QACf,OAAO;QACP,SAAS;QACT,aAAa;QACb,MAAM;QACN,MAAM;QACN,OAAO;QACP,cAAc;QACd,OAAO;QACP,OAAO;QACP,SAAS;QACT,QAAQ;QACR,YAAY;QACZ,WAAW;QACX,QAAQ;QACR,aAAa;QACb,QAAQ;QACR,MAAM;QACN,MAAM;QACN,OAAO;QACP,aAAa;QACb,mBAAmB;QACnB,YAAY;QACZ,+BAA+B;QAC/B,OAAO;
|
|
1
|
+
{"version":3,"file":"device-provider.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/device-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,mBAAmB,EAAE,qBAAqB;IAC1C,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,eAAe;IAC9B,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;IAC1B,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,IAAI,EAAE,MAAM;IACZ,gBAAgB,EAAE,kBAAkB;IACpC,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,YAAY,EAAE,cAAc;IAC5B,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW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AO;QACP,UAAU;QACV,mBAAmB;QACnB,sCAAsC;QACtC,aAAa;QACb,mBAAmB;KACpB;IAED,aAAa,EAAE,oBAAoB;CAC6B,CAAA;AAElE,MAAM,CAAC,MAAM,mBAAmB,GAC9B,MAAM,CAAC,IAAI,CAAC,qBAAqB,CAAQ,CAAA;AAE3C,MAAM,CAAC,MAAM,0BAA0B,GACrC,mBAAmB,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,KAAK,eAAe,CAAQ,CAAA;AAE/E,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC;KAC7B,MAAM,CAAC;IACN,oBAAoB,EAAE,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC;IAClD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;CACjE,CAAC;KACD,MAAM,CAAC,uBAAuB,CAAC,KAAK,CAAC,CAAA"}
|
|
@@ -682,6 +682,11 @@ declare const _default: {
|
|
|
682
682
|
description: string;
|
|
683
683
|
type: string;
|
|
684
684
|
};
|
|
685
|
+
connected_account_id: {
|
|
686
|
+
description: string;
|
|
687
|
+
format: string;
|
|
688
|
+
type: string;
|
|
689
|
+
};
|
|
685
690
|
connected_account_ids: {
|
|
686
691
|
description: string;
|
|
687
692
|
items: {
|
|
@@ -7055,16 +7060,6 @@ declare const _default: {
|
|
|
7055
7060
|
name: string;
|
|
7056
7061
|
type: string;
|
|
7057
7062
|
};
|
|
7058
|
-
user_session: {
|
|
7059
|
-
bearerFormat: string;
|
|
7060
|
-
scheme: string;
|
|
7061
|
-
type: string;
|
|
7062
|
-
};
|
|
7063
|
-
user_session_without_workspace: {
|
|
7064
|
-
bearerFormat: string;
|
|
7065
|
-
scheme: string;
|
|
7066
|
-
type: string;
|
|
7067
|
-
};
|
|
7068
7063
|
};
|
|
7069
7064
|
};
|
|
7070
7065
|
info: {
|
|
@@ -455,6 +455,27 @@ export default {
|
|
|
455
455
|
required: ['created_at', 'message', 'warning_code'],
|
|
456
456
|
type: 'object',
|
|
457
457
|
},
|
|
458
|
+
{
|
|
459
|
+
description: 'An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.',
|
|
460
|
+
properties: {
|
|
461
|
+
created_at: {
|
|
462
|
+
description: 'Date and time at which Seam created the warning.',
|
|
463
|
+
format: 'date-time',
|
|
464
|
+
type: 'string',
|
|
465
|
+
},
|
|
466
|
+
message: {
|
|
467
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
468
|
+
type: 'string',
|
|
469
|
+
},
|
|
470
|
+
warning_code: {
|
|
471
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
472
|
+
enum: ['unknown_issue_with_credential'],
|
|
473
|
+
type: 'string',
|
|
474
|
+
},
|
|
475
|
+
},
|
|
476
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
477
|
+
type: 'object',
|
|
478
|
+
},
|
|
458
479
|
],
|
|
459
480
|
},
|
|
460
481
|
type: 'array',
|
|
@@ -689,8 +710,13 @@ export default {
|
|
|
689
710
|
description: 'Indicates whether the `acs_system` supports [removing users from access groups](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups#remove-an-acs-user-from-an-access-group). See also [Access Group-based Access Control Systems](https://docs.seam.co/latest/capability-guides/access-systems/understanding-access-control-system-differences#access-group-based-access-control-systems).',
|
|
690
711
|
type: 'boolean',
|
|
691
712
|
},
|
|
713
|
+
connected_account_id: {
|
|
714
|
+
description: 'ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.',
|
|
715
|
+
format: 'uuid',
|
|
716
|
+
type: 'string',
|
|
717
|
+
},
|
|
692
718
|
connected_account_ids: {
|
|
693
|
-
description: 'IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system
|
|
719
|
+
description: 'IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.\n---\ndeprecated: Use `connected_account_id`.\n---',
|
|
694
720
|
items: { format: 'uuid', type: 'string' },
|
|
695
721
|
type: 'array',
|
|
696
722
|
},
|
|
@@ -852,8 +878,8 @@ export default {
|
|
|
852
878
|
'visionline_system',
|
|
853
879
|
'assa_abloy_credential_service',
|
|
854
880
|
'latch_building',
|
|
855
|
-
'
|
|
856
|
-
'
|
|
881
|
+
'dormakaba_community_site',
|
|
882
|
+
'legic_connect_credential_service',
|
|
857
883
|
'assa_abloy_vostio',
|
|
858
884
|
'assa_abloy_vostio_credential_service',
|
|
859
885
|
],
|
|
@@ -899,8 +925,8 @@ export default {
|
|
|
899
925
|
'visionline_system',
|
|
900
926
|
'assa_abloy_credential_service',
|
|
901
927
|
'latch_building',
|
|
902
|
-
'
|
|
903
|
-
'
|
|
928
|
+
'dormakaba_community_site',
|
|
929
|
+
'legic_connect_credential_service',
|
|
904
930
|
'assa_abloy_vostio',
|
|
905
931
|
'assa_abloy_vostio_credential_service',
|
|
906
932
|
],
|
|
@@ -993,6 +1019,7 @@ export default {
|
|
|
993
1019
|
'created_at',
|
|
994
1020
|
'workspace_id',
|
|
995
1021
|
'connected_account_ids',
|
|
1022
|
+
'connected_account_id',
|
|
996
1023
|
'image_url',
|
|
997
1024
|
'image_alt_text',
|
|
998
1025
|
'errors',
|
|
@@ -1780,6 +1807,31 @@ export default {
|
|
|
1780
1807
|
],
|
|
1781
1808
|
type: 'object',
|
|
1782
1809
|
},
|
|
1810
|
+
{
|
|
1811
|
+
description: 'An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.',
|
|
1812
|
+
properties: {
|
|
1813
|
+
created_at: {
|
|
1814
|
+
description: 'Date and time at which Seam created the warning.',
|
|
1815
|
+
format: 'date-time',
|
|
1816
|
+
type: 'string',
|
|
1817
|
+
},
|
|
1818
|
+
message: {
|
|
1819
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
1820
|
+
type: 'string',
|
|
1821
|
+
},
|
|
1822
|
+
warning_code: {
|
|
1823
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
1824
|
+
enum: ['unknown_issue_with_credential'],
|
|
1825
|
+
type: 'string',
|
|
1826
|
+
},
|
|
1827
|
+
},
|
|
1828
|
+
required: [
|
|
1829
|
+
'created_at',
|
|
1830
|
+
'message',
|
|
1831
|
+
'warning_code',
|
|
1832
|
+
],
|
|
1833
|
+
type: 'object',
|
|
1834
|
+
},
|
|
1783
1835
|
],
|
|
1784
1836
|
},
|
|
1785
1837
|
type: 'array',
|
|
@@ -2042,6 +2094,31 @@ export default {
|
|
|
2042
2094
|
],
|
|
2043
2095
|
type: 'object',
|
|
2044
2096
|
},
|
|
2097
|
+
{
|
|
2098
|
+
description: 'An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.',
|
|
2099
|
+
properties: {
|
|
2100
|
+
created_at: {
|
|
2101
|
+
description: 'Date and time at which Seam created the warning.',
|
|
2102
|
+
format: 'date-time',
|
|
2103
|
+
type: 'string',
|
|
2104
|
+
},
|
|
2105
|
+
message: {
|
|
2106
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
2107
|
+
type: 'string',
|
|
2108
|
+
},
|
|
2109
|
+
warning_code: {
|
|
2110
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
2111
|
+
enum: ['unknown_issue_with_credential'],
|
|
2112
|
+
type: 'string',
|
|
2113
|
+
},
|
|
2114
|
+
},
|
|
2115
|
+
required: [
|
|
2116
|
+
'created_at',
|
|
2117
|
+
'message',
|
|
2118
|
+
'warning_code',
|
|
2119
|
+
],
|
|
2120
|
+
type: 'object',
|
|
2121
|
+
},
|
|
2045
2122
|
],
|
|
2046
2123
|
},
|
|
2047
2124
|
type: 'array',
|
|
@@ -2435,6 +2512,31 @@ export default {
|
|
|
2435
2512
|
],
|
|
2436
2513
|
type: 'object',
|
|
2437
2514
|
},
|
|
2515
|
+
{
|
|
2516
|
+
description: 'An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.',
|
|
2517
|
+
properties: {
|
|
2518
|
+
created_at: {
|
|
2519
|
+
description: 'Date and time at which Seam created the warning.',
|
|
2520
|
+
format: 'date-time',
|
|
2521
|
+
type: 'string',
|
|
2522
|
+
},
|
|
2523
|
+
message: {
|
|
2524
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
2525
|
+
type: 'string',
|
|
2526
|
+
},
|
|
2527
|
+
warning_code: {
|
|
2528
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
2529
|
+
enum: ['unknown_issue_with_credential'],
|
|
2530
|
+
type: 'string',
|
|
2531
|
+
},
|
|
2532
|
+
},
|
|
2533
|
+
required: [
|
|
2534
|
+
'created_at',
|
|
2535
|
+
'message',
|
|
2536
|
+
'warning_code',
|
|
2537
|
+
],
|
|
2538
|
+
type: 'object',
|
|
2539
|
+
},
|
|
2438
2540
|
],
|
|
2439
2541
|
},
|
|
2440
2542
|
type: 'array',
|
|
@@ -2697,6 +2799,31 @@ export default {
|
|
|
2697
2799
|
],
|
|
2698
2800
|
type: 'object',
|
|
2699
2801
|
},
|
|
2802
|
+
{
|
|
2803
|
+
description: 'An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.',
|
|
2804
|
+
properties: {
|
|
2805
|
+
created_at: {
|
|
2806
|
+
description: 'Date and time at which Seam created the warning.',
|
|
2807
|
+
format: 'date-time',
|
|
2808
|
+
type: 'string',
|
|
2809
|
+
},
|
|
2810
|
+
message: {
|
|
2811
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
2812
|
+
type: 'string',
|
|
2813
|
+
},
|
|
2814
|
+
warning_code: {
|
|
2815
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
2816
|
+
enum: ['unknown_issue_with_credential'],
|
|
2817
|
+
type: 'string',
|
|
2818
|
+
},
|
|
2819
|
+
},
|
|
2820
|
+
required: [
|
|
2821
|
+
'created_at',
|
|
2822
|
+
'message',
|
|
2823
|
+
'warning_code',
|
|
2824
|
+
],
|
|
2825
|
+
type: 'object',
|
|
2826
|
+
},
|
|
2700
2827
|
],
|
|
2701
2828
|
},
|
|
2702
2829
|
type: 'array',
|
|
@@ -9983,16 +10110,6 @@ export default {
|
|
|
9983
10110
|
type: 'apiKey',
|
|
9984
10111
|
},
|
|
9985
10112
|
seam_workspace: { in: 'header', name: 'seam-workspace', type: 'apiKey' },
|
|
9986
|
-
user_session: {
|
|
9987
|
-
bearerFormat: 'User Session Token',
|
|
9988
|
-
scheme: 'bearer',
|
|
9989
|
-
type: 'http',
|
|
9990
|
-
},
|
|
9991
|
-
user_session_without_workspace: {
|
|
9992
|
-
bearerFormat: 'User Session Token',
|
|
9993
|
-
scheme: 'bearer',
|
|
9994
|
-
type: 'http',
|
|
9995
|
-
},
|
|
9996
10113
|
},
|
|
9997
10114
|
},
|
|
9998
10115
|
info: { title: 'Seam Connect', version: '1.0.0' },
|
|
@@ -13019,6 +13136,31 @@ export default {
|
|
|
13019
13136
|
],
|
|
13020
13137
|
type: 'object',
|
|
13021
13138
|
},
|
|
13139
|
+
{
|
|
13140
|
+
description: 'An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.',
|
|
13141
|
+
properties: {
|
|
13142
|
+
created_at: {
|
|
13143
|
+
description: 'Date and time at which Seam created the warning.',
|
|
13144
|
+
format: 'date-time',
|
|
13145
|
+
type: 'string',
|
|
13146
|
+
},
|
|
13147
|
+
message: {
|
|
13148
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
13149
|
+
type: 'string',
|
|
13150
|
+
},
|
|
13151
|
+
warning_code: {
|
|
13152
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
13153
|
+
enum: ['unknown_issue_with_credential'],
|
|
13154
|
+
type: 'string',
|
|
13155
|
+
},
|
|
13156
|
+
},
|
|
13157
|
+
required: [
|
|
13158
|
+
'created_at',
|
|
13159
|
+
'message',
|
|
13160
|
+
'warning_code',
|
|
13161
|
+
],
|
|
13162
|
+
type: 'object',
|
|
13163
|
+
},
|
|
13022
13164
|
],
|
|
13023
13165
|
},
|
|
13024
13166
|
type: 'array',
|
|
@@ -13378,6 +13520,31 @@ export default {
|
|
|
13378
13520
|
],
|
|
13379
13521
|
type: 'object',
|
|
13380
13522
|
},
|
|
13523
|
+
{
|
|
13524
|
+
description: 'An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.',
|
|
13525
|
+
properties: {
|
|
13526
|
+
created_at: {
|
|
13527
|
+
description: 'Date and time at which Seam created the warning.',
|
|
13528
|
+
format: 'date-time',
|
|
13529
|
+
type: 'string',
|
|
13530
|
+
},
|
|
13531
|
+
message: {
|
|
13532
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
13533
|
+
type: 'string',
|
|
13534
|
+
},
|
|
13535
|
+
warning_code: {
|
|
13536
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
13537
|
+
enum: ['unknown_issue_with_credential'],
|
|
13538
|
+
type: 'string',
|
|
13539
|
+
},
|
|
13540
|
+
},
|
|
13541
|
+
required: [
|
|
13542
|
+
'created_at',
|
|
13543
|
+
'message',
|
|
13544
|
+
'warning_code',
|
|
13545
|
+
],
|
|
13546
|
+
type: 'object',
|
|
13547
|
+
},
|
|
13381
13548
|
],
|
|
13382
13549
|
},
|
|
13383
13550
|
type: 'array',
|