@seamapi/types 1.336.0 → 1.337.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 +33 -33
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +202 -124
- package/lib/seam/connect/models/acs/acs-credential.d.ts +7 -7
- package/lib/seam/connect/models/acs/acs-credential.js +2 -4
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +39 -24
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +25 -10
- package/lib/seam/connect/models/action-attempts/encode-credential.js +5 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +14 -14
- package/lib/seam/connect/openapi.js +25 -28
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +157 -94
- package/package.json +2 -2
- package/src/lib/seam/connect/models/acs/acs-credential.ts +2 -4
- package/src/lib/seam/connect/models/action-attempts/encode-credential.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +25 -28
- package/src/lib/seam/connect/route-types.ts +272 -376
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const acs_credential_external_type: z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "
|
|
2
|
+
export declare const acs_credential_external_type: z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key"]>;
|
|
3
3
|
export declare const acs_credential_access_method_type: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
4
4
|
export type AcsCredentialExternalType = z.infer<typeof acs_credential_external_type>;
|
|
5
5
|
export declare const unknown_issue_with_acs_credential: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -178,7 +178,7 @@ export declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
178
178
|
is_issued: z.ZodOptional<z.ZodBoolean>;
|
|
179
179
|
issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
180
180
|
access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
181
|
-
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "
|
|
181
|
+
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key"]>>;
|
|
182
182
|
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
183
183
|
created_at: z.ZodString;
|
|
184
184
|
workspace_id: z.ZodString;
|
|
@@ -383,7 +383,7 @@ export declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
383
383
|
door_names?: string[] | undefined;
|
|
384
384
|
} | undefined;
|
|
385
385
|
is_one_time_use?: boolean | undefined;
|
|
386
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
386
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
387
387
|
external_type_display_name?: string | undefined;
|
|
388
388
|
acs_user_id?: string | undefined;
|
|
389
389
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -452,7 +452,7 @@ export declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
452
452
|
door_names?: string[] | undefined;
|
|
453
453
|
} | undefined;
|
|
454
454
|
is_one_time_use?: boolean | undefined;
|
|
455
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
455
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
456
456
|
external_type_display_name?: string | undefined;
|
|
457
457
|
acs_user_id?: string | undefined;
|
|
458
458
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -477,7 +477,7 @@ export declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendSh
|
|
|
477
477
|
is_issued: z.ZodOptional<z.ZodBoolean>;
|
|
478
478
|
issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
479
479
|
access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
480
|
-
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "
|
|
480
|
+
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key"]>>;
|
|
481
481
|
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
482
482
|
created_at: z.ZodString;
|
|
483
483
|
workspace_id: z.ZodString;
|
|
@@ -682,7 +682,7 @@ export declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendSh
|
|
|
682
682
|
door_names?: string[] | undefined;
|
|
683
683
|
} | undefined;
|
|
684
684
|
is_one_time_use?: boolean | undefined;
|
|
685
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
685
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
686
686
|
external_type_display_name?: string | undefined;
|
|
687
687
|
acs_user_id?: string | undefined;
|
|
688
688
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -751,7 +751,7 @@ export declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendSh
|
|
|
751
751
|
door_names?: string[] | undefined;
|
|
752
752
|
} | undefined;
|
|
753
753
|
is_one_time_use?: boolean | undefined;
|
|
754
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
754
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
755
755
|
external_type_display_name?: string | undefined;
|
|
756
756
|
acs_user_id?: string | undefined;
|
|
757
757
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -7,10 +7,8 @@ export const acs_credential_external_type = z.enum([
|
|
|
7
7
|
'hid_credential',
|
|
8
8
|
'visionline_card',
|
|
9
9
|
'salto_ks_credential',
|
|
10
|
-
'
|
|
11
|
-
'
|
|
12
|
-
'salto_space_card',
|
|
13
|
-
'salto_space_mobile_key',
|
|
10
|
+
'assa_abloy_vostio_key',
|
|
11
|
+
'salto_space_key',
|
|
14
12
|
]);
|
|
15
13
|
export const acs_credential_access_method_type = z.enum([
|
|
16
14
|
'code',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acs-credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,kCAAkC,EAClC,8BAA8B,GAC/B,MAAM,qBAAqB,CAAA;AAE5B,wEAAwE;AACxE,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC;IACjD,UAAU;IACV,kBAAkB;IAClB,gBAAgB;IAChB,iBAAiB;IACjB,qBAAqB;IACrB,
|
|
1
|
+
{"version":3,"file":"acs-credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,kCAAkC,EAClC,8BAA8B,GAC/B,MAAM,qBAAqB,CAAA;AAE5B,wEAAwE;AACxE,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC;IACjD,UAAU;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AC,CAAC,MAAM,EAAE;QACnB,0HAA0H;QAE1H,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE;QACtB,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE;QACtB,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;QACpB,WAAW,EAAE,CAAC,CAAC,OAAO,EAAE;QACxB,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QAClC,mBAAmB,EAAE,CAAC,CAAC,OAAO,EAAE;QAEhC,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;QACzC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAElC,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE;QAElC,sBAAsB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;QAC7D,uBAAuB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;KAC/D,CAAC;SACD,QAAQ,EAAE;SACV,QAAQ,CAAC,kDAAkD,CAAC;CAChE,CAAC,CAAA"}
|
|
@@ -285,7 +285,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
285
285
|
is_issued: z.ZodOptional<z.ZodBoolean>;
|
|
286
286
|
issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
287
287
|
access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
288
|
-
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "
|
|
288
|
+
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key"]>>;
|
|
289
289
|
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
290
290
|
created_at: z.ZodString;
|
|
291
291
|
workspace_id: z.ZodString;
|
|
@@ -490,7 +490,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
490
490
|
door_names?: string[] | undefined;
|
|
491
491
|
} | undefined;
|
|
492
492
|
is_one_time_use?: boolean | undefined;
|
|
493
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
493
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
494
494
|
external_type_display_name?: string | undefined;
|
|
495
495
|
acs_user_id?: string | undefined;
|
|
496
496
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -559,7 +559,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
559
559
|
door_names?: string[] | undefined;
|
|
560
560
|
} | undefined;
|
|
561
561
|
is_one_time_use?: boolean | undefined;
|
|
562
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
562
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
563
563
|
external_type_display_name?: string | undefined;
|
|
564
564
|
acs_user_id?: string | undefined;
|
|
565
565
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -583,7 +583,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
583
583
|
is_issued: z.ZodOptional<z.ZodBoolean>;
|
|
584
584
|
issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
585
585
|
access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
586
|
-
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "
|
|
586
|
+
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key"]>>;
|
|
587
587
|
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
588
588
|
created_at: z.ZodString;
|
|
589
589
|
workspace_id: z.ZodString;
|
|
@@ -788,7 +788,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
788
788
|
door_names?: string[] | undefined;
|
|
789
789
|
} | undefined;
|
|
790
790
|
is_one_time_use?: boolean | undefined;
|
|
791
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
791
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
792
792
|
external_type_display_name?: string | undefined;
|
|
793
793
|
acs_user_id?: string | undefined;
|
|
794
794
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -857,7 +857,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
857
857
|
door_names?: string[] | undefined;
|
|
858
858
|
} | undefined;
|
|
859
859
|
is_one_time_use?: boolean | undefined;
|
|
860
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
860
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
861
861
|
external_type_display_name?: string | undefined;
|
|
862
862
|
acs_user_id?: string | undefined;
|
|
863
863
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -963,7 +963,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
963
963
|
door_names?: string[] | undefined;
|
|
964
964
|
} | undefined;
|
|
965
965
|
is_one_time_use?: boolean | undefined;
|
|
966
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
966
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
967
967
|
external_type_display_name?: string | undefined;
|
|
968
968
|
acs_user_id?: string | undefined;
|
|
969
969
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1032,7 +1032,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1032
1032
|
door_names?: string[] | undefined;
|
|
1033
1033
|
} | undefined;
|
|
1034
1034
|
is_one_time_use?: boolean | undefined;
|
|
1035
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
1035
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
1036
1036
|
external_type_display_name?: string | undefined;
|
|
1037
1037
|
acs_user_id?: string | undefined;
|
|
1038
1038
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1128,7 +1128,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1128
1128
|
door_names?: string[] | undefined;
|
|
1129
1129
|
} | undefined;
|
|
1130
1130
|
is_one_time_use?: boolean | undefined;
|
|
1131
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
1131
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
1132
1132
|
external_type_display_name?: string | undefined;
|
|
1133
1133
|
acs_user_id?: string | undefined;
|
|
1134
1134
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1197,7 +1197,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1197
1197
|
door_names?: string[] | undefined;
|
|
1198
1198
|
} | undefined;
|
|
1199
1199
|
is_one_time_use?: boolean | undefined;
|
|
1200
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
1200
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
1201
1201
|
external_type_display_name?: string | undefined;
|
|
1202
1202
|
acs_user_id?: string | undefined;
|
|
1203
1203
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1298,7 +1298,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1298
1298
|
door_names?: string[] | undefined;
|
|
1299
1299
|
} | undefined;
|
|
1300
1300
|
is_one_time_use?: boolean | undefined;
|
|
1301
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
1301
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
1302
1302
|
external_type_display_name?: string | undefined;
|
|
1303
1303
|
acs_user_id?: string | undefined;
|
|
1304
1304
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1367,7 +1367,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1367
1367
|
door_names?: string[] | undefined;
|
|
1368
1368
|
} | undefined;
|
|
1369
1369
|
is_one_time_use?: boolean | undefined;
|
|
1370
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
1370
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
1371
1371
|
external_type_display_name?: string | undefined;
|
|
1372
1372
|
acs_user_id?: string | undefined;
|
|
1373
1373
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1469,7 +1469,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1469
1469
|
door_names?: string[] | undefined;
|
|
1470
1470
|
} | undefined;
|
|
1471
1471
|
is_one_time_use?: boolean | undefined;
|
|
1472
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
1472
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
1473
1473
|
external_type_display_name?: string | undefined;
|
|
1474
1474
|
acs_user_id?: string | undefined;
|
|
1475
1475
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1538,7 +1538,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1538
1538
|
door_names?: string[] | undefined;
|
|
1539
1539
|
} | undefined;
|
|
1540
1540
|
is_one_time_use?: boolean | undefined;
|
|
1541
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
1541
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
1542
1542
|
external_type_display_name?: string | undefined;
|
|
1543
1543
|
acs_user_id?: string | undefined;
|
|
1544
1544
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1660,7 +1660,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1660
1660
|
is_issued: z.ZodOptional<z.ZodBoolean>;
|
|
1661
1661
|
issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1662
1662
|
access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
1663
|
-
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "
|
|
1663
|
+
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key"]>>;
|
|
1664
1664
|
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
1665
1665
|
created_at: z.ZodString;
|
|
1666
1666
|
workspace_id: z.ZodString;
|
|
@@ -1865,7 +1865,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1865
1865
|
door_names?: string[] | undefined;
|
|
1866
1866
|
} | undefined;
|
|
1867
1867
|
is_one_time_use?: boolean | undefined;
|
|
1868
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
1868
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
1869
1869
|
external_type_display_name?: string | undefined;
|
|
1870
1870
|
acs_user_id?: string | undefined;
|
|
1871
1871
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1934,7 +1934,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1934
1934
|
door_names?: string[] | undefined;
|
|
1935
1935
|
} | undefined;
|
|
1936
1936
|
is_one_time_use?: boolean | undefined;
|
|
1937
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
1937
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
1938
1938
|
external_type_display_name?: string | undefined;
|
|
1939
1939
|
acs_user_id?: string | undefined;
|
|
1940
1940
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1958,7 +1958,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1958
1958
|
is_issued: z.ZodOptional<z.ZodBoolean>;
|
|
1959
1959
|
issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1960
1960
|
access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
1961
|
-
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "
|
|
1961
|
+
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key"]>>;
|
|
1962
1962
|
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
1963
1963
|
created_at: z.ZodString;
|
|
1964
1964
|
workspace_id: z.ZodString;
|
|
@@ -2163,7 +2163,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2163
2163
|
door_names?: string[] | undefined;
|
|
2164
2164
|
} | undefined;
|
|
2165
2165
|
is_one_time_use?: boolean | undefined;
|
|
2166
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
2166
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
2167
2167
|
external_type_display_name?: string | undefined;
|
|
2168
2168
|
acs_user_id?: string | undefined;
|
|
2169
2169
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -2232,7 +2232,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2232
2232
|
door_names?: string[] | undefined;
|
|
2233
2233
|
} | undefined;
|
|
2234
2234
|
is_one_time_use?: boolean | undefined;
|
|
2235
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
2235
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
2236
2236
|
external_type_display_name?: string | undefined;
|
|
2237
2237
|
acs_user_id?: string | undefined;
|
|
2238
2238
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -2306,7 +2306,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2306
2306
|
door_names?: string[] | undefined;
|
|
2307
2307
|
} | undefined;
|
|
2308
2308
|
is_one_time_use?: boolean | undefined;
|
|
2309
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
2309
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
2310
2310
|
external_type_display_name?: string | undefined;
|
|
2311
2311
|
acs_user_id?: string | undefined;
|
|
2312
2312
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -2375,7 +2375,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2375
2375
|
door_names?: string[] | undefined;
|
|
2376
2376
|
} | undefined;
|
|
2377
2377
|
is_one_time_use?: boolean | undefined;
|
|
2378
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
2378
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
2379
2379
|
external_type_display_name?: string | undefined;
|
|
2380
2380
|
acs_user_id?: string | undefined;
|
|
2381
2381
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -2450,7 +2450,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2450
2450
|
door_names?: string[] | undefined;
|
|
2451
2451
|
} | undefined;
|
|
2452
2452
|
is_one_time_use?: boolean | undefined;
|
|
2453
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
2453
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
2454
2454
|
external_type_display_name?: string | undefined;
|
|
2455
2455
|
acs_user_id?: string | undefined;
|
|
2456
2456
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -2519,7 +2519,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2519
2519
|
door_names?: string[] | undefined;
|
|
2520
2520
|
} | undefined;
|
|
2521
2521
|
is_one_time_use?: boolean | undefined;
|
|
2522
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
2522
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
2523
2523
|
external_type_display_name?: string | undefined;
|
|
2524
2524
|
acs_user_id?: string | undefined;
|
|
2525
2525
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -2576,6 +2576,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2576
2576
|
}, {
|
|
2577
2577
|
type: "incompatible_card_format";
|
|
2578
2578
|
message: string;
|
|
2579
|
+
}>, z.ZodObject<{
|
|
2580
|
+
type: z.ZodLiteral<"credential_cannot_be_reissued">;
|
|
2581
|
+
message: z.ZodString;
|
|
2582
|
+
}, "strip", z.ZodTypeAny, {
|
|
2583
|
+
type: "credential_cannot_be_reissued";
|
|
2584
|
+
message: string;
|
|
2585
|
+
}, {
|
|
2586
|
+
type: "credential_cannot_be_reissued";
|
|
2587
|
+
message: string;
|
|
2579
2588
|
}>]>;
|
|
2580
2589
|
}>, "strip", z.ZodTypeAny, {
|
|
2581
2590
|
error: {
|
|
@@ -2590,6 +2599,9 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2590
2599
|
} | {
|
|
2591
2600
|
type: "incompatible_card_format";
|
|
2592
2601
|
message: string;
|
|
2602
|
+
} | {
|
|
2603
|
+
type: "credential_cannot_be_reissued";
|
|
2604
|
+
message: string;
|
|
2593
2605
|
};
|
|
2594
2606
|
status: "error";
|
|
2595
2607
|
action_attempt_id: string;
|
|
@@ -2608,6 +2620,9 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2608
2620
|
} | {
|
|
2609
2621
|
type: "incompatible_card_format";
|
|
2610
2622
|
message: string;
|
|
2623
|
+
} | {
|
|
2624
|
+
type: "credential_cannot_be_reissued";
|
|
2625
|
+
message: string;
|
|
2611
2626
|
};
|
|
2612
2627
|
status: "error";
|
|
2613
2628
|
action_attempt_id: string;
|
|
@@ -41,7 +41,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
41
41
|
is_issued: z.ZodOptional<z.ZodBoolean>;
|
|
42
42
|
issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
43
43
|
access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
44
|
-
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "
|
|
44
|
+
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key"]>>;
|
|
45
45
|
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
46
46
|
created_at: z.ZodString;
|
|
47
47
|
workspace_id: z.ZodString;
|
|
@@ -246,7 +246,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
246
246
|
door_names?: string[] | undefined;
|
|
247
247
|
} | undefined;
|
|
248
248
|
is_one_time_use?: boolean | undefined;
|
|
249
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
249
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
250
250
|
external_type_display_name?: string | undefined;
|
|
251
251
|
acs_user_id?: string | undefined;
|
|
252
252
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -315,7 +315,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
315
315
|
door_names?: string[] | undefined;
|
|
316
316
|
} | undefined;
|
|
317
317
|
is_one_time_use?: boolean | undefined;
|
|
318
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
318
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
319
319
|
external_type_display_name?: string | undefined;
|
|
320
320
|
acs_user_id?: string | undefined;
|
|
321
321
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -339,7 +339,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
339
339
|
is_issued: z.ZodOptional<z.ZodBoolean>;
|
|
340
340
|
issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
341
341
|
access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
342
|
-
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "
|
|
342
|
+
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key"]>>;
|
|
343
343
|
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
344
344
|
created_at: z.ZodString;
|
|
345
345
|
workspace_id: z.ZodString;
|
|
@@ -544,7 +544,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
544
544
|
door_names?: string[] | undefined;
|
|
545
545
|
} | undefined;
|
|
546
546
|
is_one_time_use?: boolean | undefined;
|
|
547
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
547
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
548
548
|
external_type_display_name?: string | undefined;
|
|
549
549
|
acs_user_id?: string | undefined;
|
|
550
550
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -613,7 +613,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
613
613
|
door_names?: string[] | undefined;
|
|
614
614
|
} | undefined;
|
|
615
615
|
is_one_time_use?: boolean | undefined;
|
|
616
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
616
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
617
617
|
external_type_display_name?: string | undefined;
|
|
618
618
|
acs_user_id?: string | undefined;
|
|
619
619
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -687,7 +687,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
687
687
|
door_names?: string[] | undefined;
|
|
688
688
|
} | undefined;
|
|
689
689
|
is_one_time_use?: boolean | undefined;
|
|
690
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
690
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
691
691
|
external_type_display_name?: string | undefined;
|
|
692
692
|
acs_user_id?: string | undefined;
|
|
693
693
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -756,7 +756,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
756
756
|
door_names?: string[] | undefined;
|
|
757
757
|
} | undefined;
|
|
758
758
|
is_one_time_use?: boolean | undefined;
|
|
759
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
759
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
760
760
|
external_type_display_name?: string | undefined;
|
|
761
761
|
acs_user_id?: string | undefined;
|
|
762
762
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -831,7 +831,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
831
831
|
door_names?: string[] | undefined;
|
|
832
832
|
} | undefined;
|
|
833
833
|
is_one_time_use?: boolean | undefined;
|
|
834
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
834
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
835
835
|
external_type_display_name?: string | undefined;
|
|
836
836
|
acs_user_id?: string | undefined;
|
|
837
837
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -900,7 +900,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
900
900
|
door_names?: string[] | undefined;
|
|
901
901
|
} | undefined;
|
|
902
902
|
is_one_time_use?: boolean | undefined;
|
|
903
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "
|
|
903
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
904
904
|
external_type_display_name?: string | undefined;
|
|
905
905
|
acs_user_id?: string | undefined;
|
|
906
906
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -957,6 +957,15 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
957
957
|
}, {
|
|
958
958
|
type: "incompatible_card_format";
|
|
959
959
|
message: string;
|
|
960
|
+
}>, z.ZodObject<{
|
|
961
|
+
type: z.ZodLiteral<"credential_cannot_be_reissued">;
|
|
962
|
+
message: z.ZodString;
|
|
963
|
+
}, "strip", z.ZodTypeAny, {
|
|
964
|
+
type: "credential_cannot_be_reissued";
|
|
965
|
+
message: string;
|
|
966
|
+
}, {
|
|
967
|
+
type: "credential_cannot_be_reissued";
|
|
968
|
+
message: string;
|
|
960
969
|
}>]>;
|
|
961
970
|
}>, "strip", z.ZodTypeAny, {
|
|
962
971
|
error: {
|
|
@@ -971,6 +980,9 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
971
980
|
} | {
|
|
972
981
|
type: "incompatible_card_format";
|
|
973
982
|
message: string;
|
|
983
|
+
} | {
|
|
984
|
+
type: "credential_cannot_be_reissued";
|
|
985
|
+
message: string;
|
|
974
986
|
};
|
|
975
987
|
status: "error";
|
|
976
988
|
action_attempt_id: string;
|
|
@@ -989,6 +1001,9 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
989
1001
|
} | {
|
|
990
1002
|
type: "incompatible_card_format";
|
|
991
1003
|
message: string;
|
|
1004
|
+
} | {
|
|
1005
|
+
type: "credential_cannot_be_reissued";
|
|
1006
|
+
message: string;
|
|
992
1007
|
};
|
|
993
1008
|
status: "error";
|
|
994
1009
|
action_attempt_id: string;
|
|
@@ -10,10 +10,15 @@ const incompatible_card_format_error = z.object({
|
|
|
10
10
|
type: z.literal('incompatible_card_format'),
|
|
11
11
|
message: z.string(),
|
|
12
12
|
});
|
|
13
|
+
const credential_cannot_be_reissued = z.object({
|
|
14
|
+
type: z.literal('credential_cannot_be_reissued'),
|
|
15
|
+
message: z.string(),
|
|
16
|
+
});
|
|
13
17
|
const error = z.union([
|
|
14
18
|
...common_action_attempt_errors,
|
|
15
19
|
no_credential_on_encoder_error,
|
|
16
20
|
incompatible_card_format_error,
|
|
21
|
+
credential_cannot_be_reissued,
|
|
17
22
|
]);
|
|
18
23
|
const result = acs_credential.or(unmanaged_acs_credential);
|
|
19
24
|
export const encode_credential_action_attempt = z.discriminatedUnion('status', [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encode-credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/encode-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,cAAc,EACd,wBAAwB,GACzB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAA;AAElD,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,0BAA0B,CAAC;IAC3C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,0BAA0B,CAAC;IAC3C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC;IACpB,GAAG,4BAA4B;IAC/B,8BAA8B;IAC9B,8BAA8B;
|
|
1
|
+
{"version":3,"file":"encode-credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/encode-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO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