@seamapi/types 1.289.1 → 1.291.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 +53 -16
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +134 -43
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +52 -7
- package/lib/seam/connect/models/acs/acs-encoder.js +28 -4
- package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +20 -0
- package/lib/seam/connect/models/acs/acs-system.js +22 -9
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/events/acs/encoders.d.ts +126 -0
- package/lib/seam/connect/models/events/acs/encoders.js +20 -0
- package/lib/seam/connect/models/events/acs/encoders.js.map +1 -0
- package/lib/seam/connect/models/events/acs/index.d.ts +60 -0
- package/lib/seam/connect/models/events/acs/index.js +2 -0
- package/lib/seam/connect/models/events/acs/index.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +60 -0
- package/lib/seam/connect/openapi.d.ts +13 -22
- package/lib/seam/connect/openapi.js +22 -3
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +30 -14
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-encoder.ts +40 -6
- package/src/lib/seam/connect/models/acs/acs-system.ts +37 -21
- package/src/lib/seam/connect/models/events/acs/encoders.ts +28 -0
- package/src/lib/seam/connect/models/events/acs/index.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +25 -3
- package/src/lib/seam/connect/route-types.ts +32 -12
package/dist/connect.d.cts
CHANGED
|
@@ -696,15 +696,22 @@ declare const acs_encoder: z.ZodObject<{
|
|
|
696
696
|
acs_encoder_id: z.ZodString;
|
|
697
697
|
acs_system_id: z.ZodString;
|
|
698
698
|
workspace_id: z.ZodString;
|
|
699
|
-
errors: z.ZodArray<z.ZodObject<{
|
|
700
|
-
|
|
699
|
+
errors: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
700
|
+
created_at: z.ZodString;
|
|
701
701
|
message: z.ZodString;
|
|
702
|
-
},
|
|
702
|
+
}, {
|
|
703
|
+
error_code: z.ZodLiteral<"acs_encoder_removed">;
|
|
704
|
+
_event_id: z.ZodString;
|
|
705
|
+
}>, "strip", z.ZodTypeAny, {
|
|
703
706
|
message: string;
|
|
704
|
-
error_code:
|
|
707
|
+
error_code: "acs_encoder_removed";
|
|
708
|
+
created_at: string;
|
|
709
|
+
_event_id: string;
|
|
705
710
|
}, {
|
|
706
711
|
message: string;
|
|
707
|
-
error_code:
|
|
712
|
+
error_code: "acs_encoder_removed";
|
|
713
|
+
created_at: string;
|
|
714
|
+
_event_id: string;
|
|
708
715
|
}>, "many">;
|
|
709
716
|
created_at: z.ZodString;
|
|
710
717
|
display_name: z.ZodString;
|
|
@@ -712,7 +719,9 @@ declare const acs_encoder: z.ZodObject<{
|
|
|
712
719
|
created_at: string;
|
|
713
720
|
errors: {
|
|
714
721
|
message: string;
|
|
715
|
-
error_code:
|
|
722
|
+
error_code: "acs_encoder_removed";
|
|
723
|
+
created_at: string;
|
|
724
|
+
_event_id: string;
|
|
716
725
|
}[];
|
|
717
726
|
display_name: string;
|
|
718
727
|
workspace_id: string;
|
|
@@ -722,7 +731,9 @@ declare const acs_encoder: z.ZodObject<{
|
|
|
722
731
|
created_at: string;
|
|
723
732
|
errors: {
|
|
724
733
|
message: string;
|
|
725
|
-
error_code:
|
|
734
|
+
error_code: "acs_encoder_removed";
|
|
735
|
+
created_at: string;
|
|
736
|
+
_event_id: string;
|
|
726
737
|
}[];
|
|
727
738
|
display_name: string;
|
|
728
739
|
workspace_id: string;
|
|
@@ -954,6 +965,13 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
954
965
|
}>>;
|
|
955
966
|
system_type: z.ZodOptional<z.ZodEnum<["pti_site", "alta_org", "salto_ks_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building", "dormakaba_community", "legic_connect", "assa_abloy_vostio", "assa_abloy_vostio_credential_service"]>>;
|
|
956
967
|
system_type_display_name: z.ZodOptional<z.ZodString>;
|
|
968
|
+
location: z.ZodObject<{
|
|
969
|
+
time_zone: z.ZodNullable<z.ZodString>;
|
|
970
|
+
}, "strip", z.ZodTypeAny, {
|
|
971
|
+
time_zone: string | null;
|
|
972
|
+
}, {
|
|
973
|
+
time_zone: string | null;
|
|
974
|
+
}>;
|
|
957
975
|
name: z.ZodString;
|
|
958
976
|
created_at: z.ZodString;
|
|
959
977
|
workspace_id: z.ZodString;
|
|
@@ -1076,6 +1094,9 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1076
1094
|
name: string;
|
|
1077
1095
|
image_url: string;
|
|
1078
1096
|
image_alt_text: string;
|
|
1097
|
+
location: {
|
|
1098
|
+
time_zone: string | null;
|
|
1099
|
+
};
|
|
1079
1100
|
workspace_id: string;
|
|
1080
1101
|
acs_system_id: string;
|
|
1081
1102
|
is_credential_manager: boolean;
|
|
@@ -1125,6 +1146,9 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1125
1146
|
name: string;
|
|
1126
1147
|
image_url: string;
|
|
1127
1148
|
image_alt_text: string;
|
|
1149
|
+
location: {
|
|
1150
|
+
time_zone: string | null;
|
|
1151
|
+
};
|
|
1128
1152
|
workspace_id: string;
|
|
1129
1153
|
acs_system_id: string;
|
|
1130
1154
|
is_credential_manager: boolean;
|
|
@@ -10287,6 +10311,66 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
10287
10311
|
occurred_at: string;
|
|
10288
10312
|
event_type: "acs_user.deleted";
|
|
10289
10313
|
connected_account_id?: string | undefined;
|
|
10314
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
10315
|
+
event_id: z.ZodString;
|
|
10316
|
+
workspace_id: z.ZodString;
|
|
10317
|
+
created_at: z.ZodString;
|
|
10318
|
+
occurred_at: z.ZodString;
|
|
10319
|
+
}, {
|
|
10320
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
10321
|
+
acs_system_id: z.ZodString;
|
|
10322
|
+
}>, {
|
|
10323
|
+
acs_encoder_id: z.ZodString;
|
|
10324
|
+
}>, {
|
|
10325
|
+
event_type: z.ZodLiteral<"acs_encoder.added">;
|
|
10326
|
+
}>, "strip", z.ZodTypeAny, {
|
|
10327
|
+
created_at: string;
|
|
10328
|
+
workspace_id: string;
|
|
10329
|
+
acs_system_id: string;
|
|
10330
|
+
acs_encoder_id: string;
|
|
10331
|
+
event_id: string;
|
|
10332
|
+
occurred_at: string;
|
|
10333
|
+
event_type: "acs_encoder.added";
|
|
10334
|
+
connected_account_id?: string | undefined;
|
|
10335
|
+
}, {
|
|
10336
|
+
created_at: string;
|
|
10337
|
+
workspace_id: string;
|
|
10338
|
+
acs_system_id: string;
|
|
10339
|
+
acs_encoder_id: string;
|
|
10340
|
+
event_id: string;
|
|
10341
|
+
occurred_at: string;
|
|
10342
|
+
event_type: "acs_encoder.added";
|
|
10343
|
+
connected_account_id?: string | undefined;
|
|
10344
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
10345
|
+
event_id: z.ZodString;
|
|
10346
|
+
workspace_id: z.ZodString;
|
|
10347
|
+
created_at: z.ZodString;
|
|
10348
|
+
occurred_at: z.ZodString;
|
|
10349
|
+
}, {
|
|
10350
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
10351
|
+
acs_system_id: z.ZodString;
|
|
10352
|
+
}>, {
|
|
10353
|
+
acs_encoder_id: z.ZodString;
|
|
10354
|
+
}>, {
|
|
10355
|
+
event_type: z.ZodLiteral<"acs_encoder.removed">;
|
|
10356
|
+
}>, "strip", z.ZodTypeAny, {
|
|
10357
|
+
created_at: string;
|
|
10358
|
+
workspace_id: string;
|
|
10359
|
+
acs_system_id: string;
|
|
10360
|
+
acs_encoder_id: string;
|
|
10361
|
+
event_id: string;
|
|
10362
|
+
occurred_at: string;
|
|
10363
|
+
event_type: "acs_encoder.removed";
|
|
10364
|
+
connected_account_id?: string | undefined;
|
|
10365
|
+
}, {
|
|
10366
|
+
created_at: string;
|
|
10367
|
+
workspace_id: string;
|
|
10368
|
+
acs_system_id: string;
|
|
10369
|
+
acs_encoder_id: string;
|
|
10370
|
+
event_id: string;
|
|
10371
|
+
occurred_at: string;
|
|
10372
|
+
event_type: "acs_encoder.removed";
|
|
10373
|
+
connected_account_id?: string | undefined;
|
|
10290
10374
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
10291
10375
|
event_id: z.ZodString;
|
|
10292
10376
|
workspace_id: z.ZodString;
|
|
@@ -12427,7 +12511,7 @@ declare const _default: {
|
|
|
12427
12511
|
description: string;
|
|
12428
12512
|
items: {
|
|
12429
12513
|
description: string;
|
|
12430
|
-
oneOf:
|
|
12514
|
+
oneOf: {
|
|
12431
12515
|
description: string;
|
|
12432
12516
|
properties: {
|
|
12433
12517
|
created_at: {
|
|
@@ -12447,27 +12531,7 @@ declare const _default: {
|
|
|
12447
12531
|
};
|
|
12448
12532
|
required: string[];
|
|
12449
12533
|
type: string;
|
|
12450
|
-
}
|
|
12451
|
-
properties: {
|
|
12452
|
-
created_at: {
|
|
12453
|
-
description: string;
|
|
12454
|
-
format: string;
|
|
12455
|
-
type: string;
|
|
12456
|
-
};
|
|
12457
|
-
error_code: {
|
|
12458
|
-
description: string;
|
|
12459
|
-
enum: string[];
|
|
12460
|
-
type: string;
|
|
12461
|
-
};
|
|
12462
|
-
message: {
|
|
12463
|
-
description: string;
|
|
12464
|
-
type: string;
|
|
12465
|
-
};
|
|
12466
|
-
};
|
|
12467
|
-
required: string[];
|
|
12468
|
-
type: string;
|
|
12469
|
-
description?: never;
|
|
12470
|
-
})[];
|
|
12534
|
+
}[];
|
|
12471
12535
|
};
|
|
12472
12536
|
type: string;
|
|
12473
12537
|
};
|
|
@@ -12492,6 +12556,17 @@ declare const _default: {
|
|
|
12492
12556
|
description: string;
|
|
12493
12557
|
type: string;
|
|
12494
12558
|
};
|
|
12559
|
+
location: {
|
|
12560
|
+
properties: {
|
|
12561
|
+
time_zone: {
|
|
12562
|
+
description: string;
|
|
12563
|
+
nullable: boolean;
|
|
12564
|
+
type: string;
|
|
12565
|
+
};
|
|
12566
|
+
};
|
|
12567
|
+
required: string[];
|
|
12568
|
+
type: string;
|
|
12569
|
+
};
|
|
12495
12570
|
name: {
|
|
12496
12571
|
description: string;
|
|
12497
12572
|
type: string;
|
|
@@ -38610,6 +38685,10 @@ interface Routes {
|
|
|
38610
38685
|
/**
|
|
38611
38686
|
* @deprecated Use `external_type_display_name`. */
|
|
38612
38687
|
system_type_display_name?: string | undefined;
|
|
38688
|
+
location: {
|
|
38689
|
+
/** Time zone in which the `acs_system` is located. */
|
|
38690
|
+
time_zone: string | null;
|
|
38691
|
+
};
|
|
38613
38692
|
/** Name of the `acs_system`. */
|
|
38614
38693
|
name: string;
|
|
38615
38694
|
/** Date and time at which the `acs_system` was created. */
|
|
@@ -38642,21 +38721,21 @@ interface Routes {
|
|
|
38642
38721
|
created_at: string;
|
|
38643
38722
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
38644
38723
|
message: string;
|
|
38645
|
-
/**
|
|
38724
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
38646
38725
|
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
38647
38726
|
} | {
|
|
38648
38727
|
/** Date and time at which Seam created the error. */
|
|
38649
38728
|
created_at: string;
|
|
38650
38729
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
38651
38730
|
message: string;
|
|
38652
|
-
/**
|
|
38731
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
38653
38732
|
error_code: 'acs_system_disconnected';
|
|
38654
38733
|
} | {
|
|
38655
38734
|
/** Date and time at which Seam created the error. */
|
|
38656
38735
|
created_at: string;
|
|
38657
38736
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
38658
38737
|
message: string;
|
|
38659
|
-
/**
|
|
38738
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
38660
38739
|
error_code: 'account_disconnected';
|
|
38661
38740
|
}>;
|
|
38662
38741
|
/** Warnings associated with the `acs_system`. */
|
|
@@ -38715,6 +38794,10 @@ interface Routes {
|
|
|
38715
38794
|
/**
|
|
38716
38795
|
* @deprecated Use `external_type_display_name`. */
|
|
38717
38796
|
system_type_display_name?: string | undefined;
|
|
38797
|
+
location: {
|
|
38798
|
+
/** Time zone in which the `acs_system` is located. */
|
|
38799
|
+
time_zone: string | null;
|
|
38800
|
+
};
|
|
38718
38801
|
/** Name of the `acs_system`. */
|
|
38719
38802
|
name: string;
|
|
38720
38803
|
/** Date and time at which the `acs_system` was created. */
|
|
@@ -38747,21 +38830,21 @@ interface Routes {
|
|
|
38747
38830
|
created_at: string;
|
|
38748
38831
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
38749
38832
|
message: string;
|
|
38750
|
-
/**
|
|
38833
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
38751
38834
|
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
38752
38835
|
} | {
|
|
38753
38836
|
/** Date and time at which Seam created the error. */
|
|
38754
38837
|
created_at: string;
|
|
38755
38838
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
38756
38839
|
message: string;
|
|
38757
|
-
/**
|
|
38840
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
38758
38841
|
error_code: 'acs_system_disconnected';
|
|
38759
38842
|
} | {
|
|
38760
38843
|
/** Date and time at which Seam created the error. */
|
|
38761
38844
|
created_at: string;
|
|
38762
38845
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
38763
38846
|
message: string;
|
|
38764
|
-
/**
|
|
38847
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
38765
38848
|
error_code: 'account_disconnected';
|
|
38766
38849
|
}>;
|
|
38767
38850
|
/** Warnings associated with the `acs_system`. */
|
|
@@ -38820,6 +38903,10 @@ interface Routes {
|
|
|
38820
38903
|
/**
|
|
38821
38904
|
* @deprecated Use `external_type_display_name`. */
|
|
38822
38905
|
system_type_display_name?: string | undefined;
|
|
38906
|
+
location: {
|
|
38907
|
+
/** Time zone in which the `acs_system` is located. */
|
|
38908
|
+
time_zone: string | null;
|
|
38909
|
+
};
|
|
38823
38910
|
/** Name of the `acs_system`. */
|
|
38824
38911
|
name: string;
|
|
38825
38912
|
/** Date and time at which the `acs_system` was created. */
|
|
@@ -38852,21 +38939,21 @@ interface Routes {
|
|
|
38852
38939
|
created_at: string;
|
|
38853
38940
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
38854
38941
|
message: string;
|
|
38855
|
-
/**
|
|
38942
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
38856
38943
|
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
38857
38944
|
} | {
|
|
38858
38945
|
/** Date and time at which Seam created the error. */
|
|
38859
38946
|
created_at: string;
|
|
38860
38947
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
38861
38948
|
message: string;
|
|
38862
|
-
/**
|
|
38949
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
38863
38950
|
error_code: 'acs_system_disconnected';
|
|
38864
38951
|
} | {
|
|
38865
38952
|
/** Date and time at which Seam created the error. */
|
|
38866
38953
|
created_at: string;
|
|
38867
38954
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
38868
38955
|
message: string;
|
|
38869
|
-
/**
|
|
38956
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
38870
38957
|
error_code: 'account_disconnected';
|
|
38871
38958
|
}>;
|
|
38872
38959
|
/** Warnings associated with the `acs_system`. */
|
|
@@ -42829,8 +42916,8 @@ interface Routes {
|
|
|
42829
42916
|
acs_system_ids?: string[] | undefined;
|
|
42830
42917
|
access_code_id?: string | undefined;
|
|
42831
42918
|
access_code_ids?: string[] | undefined;
|
|
42832
|
-
event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded') | undefined;
|
|
42833
|
-
event_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded'> | undefined;
|
|
42919
|
+
event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_encoder.added' | 'acs_encoder.removed' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded') | undefined;
|
|
42920
|
+
event_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_encoder.added' | 'acs_encoder.removed' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded'> | undefined;
|
|
42834
42921
|
connected_account_id?: string | undefined;
|
|
42835
42922
|
connect_webview_id?: string | undefined;
|
|
42836
42923
|
limit?: number;
|
|
@@ -56841,6 +56928,10 @@ interface Routes {
|
|
|
56841
56928
|
/**
|
|
56842
56929
|
* @deprecated Use `external_type_display_name`. */
|
|
56843
56930
|
system_type_display_name?: string | undefined;
|
|
56931
|
+
location: {
|
|
56932
|
+
/** Time zone in which the `acs_system` is located. */
|
|
56933
|
+
time_zone: string | null;
|
|
56934
|
+
};
|
|
56844
56935
|
/** Name of the `acs_system`. */
|
|
56845
56936
|
name: string;
|
|
56846
56937
|
/** Date and time at which the `acs_system` was created. */
|
|
@@ -56873,21 +56964,21 @@ interface Routes {
|
|
|
56873
56964
|
created_at: string;
|
|
56874
56965
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
56875
56966
|
message: string;
|
|
56876
|
-
/**
|
|
56967
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
56877
56968
|
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
56878
56969
|
} | {
|
|
56879
56970
|
/** Date and time at which Seam created the error. */
|
|
56880
56971
|
created_at: string;
|
|
56881
56972
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
56882
56973
|
message: string;
|
|
56883
|
-
/**
|
|
56974
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
56884
56975
|
error_code: 'acs_system_disconnected';
|
|
56885
56976
|
} | {
|
|
56886
56977
|
/** Date and time at which Seam created the error. */
|
|
56887
56978
|
created_at: string;
|
|
56888
56979
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
56889
56980
|
message: string;
|
|
56890
|
-
/**
|
|
56981
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
56891
56982
|
error_code: 'account_disconnected';
|
|
56892
56983
|
}>;
|
|
56893
56984
|
/** Warnings associated with the `acs_system`. */
|
|
@@ -1,17 +1,58 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const acs_encoder_error_map: z.ZodObject<{
|
|
3
|
+
acs_encoder_removed: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
4
|
+
created_at: z.ZodString;
|
|
5
|
+
message: z.ZodString;
|
|
6
|
+
}, {
|
|
7
|
+
error_code: z.ZodLiteral<"acs_encoder_removed">;
|
|
8
|
+
_event_id: z.ZodString;
|
|
9
|
+
}>, "strip", z.ZodTypeAny, {
|
|
10
|
+
message: string;
|
|
11
|
+
error_code: "acs_encoder_removed";
|
|
12
|
+
created_at: string;
|
|
13
|
+
_event_id: string;
|
|
14
|
+
}, {
|
|
15
|
+
message: string;
|
|
16
|
+
error_code: "acs_encoder_removed";
|
|
17
|
+
created_at: string;
|
|
18
|
+
_event_id: string;
|
|
19
|
+
}>>>;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
acs_encoder_removed?: {
|
|
22
|
+
message: string;
|
|
23
|
+
error_code: "acs_encoder_removed";
|
|
24
|
+
created_at: string;
|
|
25
|
+
_event_id: string;
|
|
26
|
+
} | null | undefined;
|
|
27
|
+
}, {
|
|
28
|
+
acs_encoder_removed?: {
|
|
29
|
+
message: string;
|
|
30
|
+
error_code: "acs_encoder_removed";
|
|
31
|
+
created_at: string;
|
|
32
|
+
_event_id: string;
|
|
33
|
+
} | null | undefined;
|
|
34
|
+
}>;
|
|
35
|
+
export type AcsEncoderErrorMap = z.infer<typeof acs_encoder_error_map>;
|
|
2
36
|
export declare const acs_encoder: z.ZodObject<{
|
|
3
37
|
acs_encoder_id: z.ZodString;
|
|
4
38
|
acs_system_id: z.ZodString;
|
|
5
39
|
workspace_id: z.ZodString;
|
|
6
|
-
errors: z.ZodArray<z.ZodObject<{
|
|
7
|
-
|
|
40
|
+
errors: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
41
|
+
created_at: z.ZodString;
|
|
8
42
|
message: z.ZodString;
|
|
9
|
-
},
|
|
43
|
+
}, {
|
|
44
|
+
error_code: z.ZodLiteral<"acs_encoder_removed">;
|
|
45
|
+
_event_id: z.ZodString;
|
|
46
|
+
}>, "strip", z.ZodTypeAny, {
|
|
10
47
|
message: string;
|
|
11
|
-
error_code:
|
|
48
|
+
error_code: "acs_encoder_removed";
|
|
49
|
+
created_at: string;
|
|
50
|
+
_event_id: string;
|
|
12
51
|
}, {
|
|
13
52
|
message: string;
|
|
14
|
-
error_code:
|
|
53
|
+
error_code: "acs_encoder_removed";
|
|
54
|
+
created_at: string;
|
|
55
|
+
_event_id: string;
|
|
15
56
|
}>, "many">;
|
|
16
57
|
created_at: z.ZodString;
|
|
17
58
|
display_name: z.ZodString;
|
|
@@ -19,7 +60,9 @@ export declare const acs_encoder: z.ZodObject<{
|
|
|
19
60
|
created_at: string;
|
|
20
61
|
errors: {
|
|
21
62
|
message: string;
|
|
22
|
-
error_code:
|
|
63
|
+
error_code: "acs_encoder_removed";
|
|
64
|
+
created_at: string;
|
|
65
|
+
_event_id: string;
|
|
23
66
|
}[];
|
|
24
67
|
display_name: string;
|
|
25
68
|
workspace_id: string;
|
|
@@ -29,7 +72,9 @@ export declare const acs_encoder: z.ZodObject<{
|
|
|
29
72
|
created_at: string;
|
|
30
73
|
errors: {
|
|
31
74
|
message: string;
|
|
32
|
-
error_code:
|
|
75
|
+
error_code: "acs_encoder_removed";
|
|
76
|
+
created_at: string;
|
|
77
|
+
_event_id: string;
|
|
33
78
|
}[];
|
|
34
79
|
display_name: string;
|
|
35
80
|
workspace_id: string;
|
|
@@ -1,4 +1,29 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
const common_acs_encoder_error = z.object({
|
|
3
|
+
created_at: z
|
|
4
|
+
.string()
|
|
5
|
+
.datetime()
|
|
6
|
+
.describe('Date and time at which Seam created the error.'),
|
|
7
|
+
message: z
|
|
8
|
+
.string()
|
|
9
|
+
.describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
|
|
10
|
+
});
|
|
11
|
+
const error_code_description = 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.';
|
|
12
|
+
const acs_encoder_removed = common_acs_encoder_error.extend({
|
|
13
|
+
error_code: z.literal('acs_encoder_removed').describe(error_code_description),
|
|
14
|
+
_event_id: z
|
|
15
|
+
.string()
|
|
16
|
+
.uuid()
|
|
17
|
+
.describe('ID of the event that was created when the `acs_encoder` was removed.'),
|
|
18
|
+
});
|
|
19
|
+
const acs_encoder_error =
|
|
20
|
+
// z.union([
|
|
21
|
+
acs_encoder_removed
|
|
22
|
+
// ])
|
|
23
|
+
.describe('Error associated with the `acs_encoder`.');
|
|
24
|
+
export const acs_encoder_error_map = z.object({
|
|
25
|
+
acs_encoder_removed: acs_encoder_removed.optional().nullable(),
|
|
26
|
+
});
|
|
2
27
|
export const acs_encoder = z.object({
|
|
3
28
|
acs_encoder_id: z.string().uuid().describe('ID of the `acs_encoder`.'),
|
|
4
29
|
acs_system_id: z
|
|
@@ -9,10 +34,9 @@ export const acs_encoder = z.object({
|
|
|
9
34
|
.string()
|
|
10
35
|
.uuid()
|
|
11
36
|
.describe('ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`.'),
|
|
12
|
-
errors: z
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
})),
|
|
37
|
+
errors: z
|
|
38
|
+
.array(acs_encoder_error)
|
|
39
|
+
.describe('Errors associated with the `acs_encoder`.'),
|
|
16
40
|
created_at: z
|
|
17
41
|
.string()
|
|
18
42
|
.datetime()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acs-encoder.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-encoder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;IACtE,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,kEAAkE,CACnE;IACH,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,6GAA6G,CAC9G;IACH,MAAM,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"acs-encoder.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-encoder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC,CAAA;AAEF,MAAM,sBAAsB,GAC1B,oGAAoG,CAAA;AAEtG,MAAM,mBAAmB,GAAG,wBAAwB,CAAC,MAAM,CAAC;IAC1D,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,QAAQ,CAAC,sBAAsB,CAAC;IAC7E,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,sEAAsE,CACvE;CACJ,CAAC,CAAA;AAEF,MAAM,iBAAiB;AACrB,YAAY;AACZ,mBAAmB;IACjB,KAAK;KACJ,QAAQ,CAAC,0CAA0C,CAAC,CAAA;AAEzD,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,mBAAmB,EAAE,mBAAmB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAC/D,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;IACtE,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,kEAAkE,CACnE;IACH,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,6GAA6G,CAC9G;IACH,MAAM,EAAE,CAAC;SACN,KAAK,CAAC,iBAAiB,CAAC;SACxB,QAAQ,CAAC,2CAA2C,CAAC;IACxD,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qCAAqC,CAAC;CACzE,CAAC,CAAA"}
|
|
@@ -15,6 +15,13 @@ export declare const acs_system_capability_flags: z.ZodObject<{
|
|
|
15
15
|
can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
|
|
16
16
|
can_add_acs_users_to_acs_access_groups?: boolean | undefined;
|
|
17
17
|
}>;
|
|
18
|
+
export declare const location: z.ZodObject<{
|
|
19
|
+
time_zone: z.ZodNullable<z.ZodString>;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
time_zone: string | null;
|
|
22
|
+
}, {
|
|
23
|
+
time_zone: string | null;
|
|
24
|
+
}>;
|
|
18
25
|
export declare const acs_system_external_type: z.ZodEnum<["pti_site", "alta_org", "salto_ks_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building", "dormakaba_community", "legic_connect", "assa_abloy_vostio", "assa_abloy_vostio_credential_service"]>;
|
|
19
26
|
export type AcsSystemExternalType = z.infer<typeof acs_system_external_type>;
|
|
20
27
|
export declare const acs_system_error_map: z.ZodObject<{
|
|
@@ -192,6 +199,13 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
192
199
|
}>>;
|
|
193
200
|
system_type: z.ZodOptional<z.ZodEnum<["pti_site", "alta_org", "salto_ks_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building", "dormakaba_community", "legic_connect", "assa_abloy_vostio", "assa_abloy_vostio_credential_service"]>>;
|
|
194
201
|
system_type_display_name: z.ZodOptional<z.ZodString>;
|
|
202
|
+
location: z.ZodObject<{
|
|
203
|
+
time_zone: z.ZodNullable<z.ZodString>;
|
|
204
|
+
}, "strip", z.ZodTypeAny, {
|
|
205
|
+
time_zone: string | null;
|
|
206
|
+
}, {
|
|
207
|
+
time_zone: string | null;
|
|
208
|
+
}>;
|
|
195
209
|
name: z.ZodString;
|
|
196
210
|
created_at: z.ZodString;
|
|
197
211
|
workspace_id: z.ZodString;
|
|
@@ -284,6 +298,9 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
284
298
|
can_remove_acs_users_from_acs_access_groups: z.ZodOptional<z.ZodBoolean>;
|
|
285
299
|
can_add_acs_users_to_acs_access_groups: z.ZodOptional<z.ZodBoolean>;
|
|
286
300
|
}>, "strip", z.ZodTypeAny, {
|
|
301
|
+
location: {
|
|
302
|
+
time_zone: string | null;
|
|
303
|
+
};
|
|
287
304
|
name: string;
|
|
288
305
|
created_at: string;
|
|
289
306
|
errors: ({
|
|
@@ -333,6 +350,9 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
333
350
|
system_type?: "dormakaba_community" | "legic_connect" | "assa_abloy_credential_service" | "assa_abloy_vostio" | "assa_abloy_vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | undefined;
|
|
334
351
|
system_type_display_name?: string | undefined;
|
|
335
352
|
}, {
|
|
353
|
+
location: {
|
|
354
|
+
time_zone: string | null;
|
|
355
|
+
};
|
|
336
356
|
name: string;
|
|
337
357
|
created_at: string;
|
|
338
358
|
errors: ({
|
|
@@ -17,6 +17,12 @@ export const acs_system_capability_flags = z.object({
|
|
|
17
17
|
.optional()
|
|
18
18
|
.describe('Indicates whether the `acs_system` supports [adding users to access groups](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups#add-an-acs-user-to-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).'),
|
|
19
19
|
});
|
|
20
|
+
export const location = z.object({
|
|
21
|
+
time_zone: z
|
|
22
|
+
.string()
|
|
23
|
+
.nullable()
|
|
24
|
+
.describe('Time zone in which the `acs_system` is located.'),
|
|
25
|
+
});
|
|
20
26
|
// If changed, update seam.acs_system.external_type generated column
|
|
21
27
|
export const acs_system_external_type = z.enum([
|
|
22
28
|
'pti_site',
|
|
@@ -58,21 +64,27 @@ const visionline_instance_unreachable = common_acs_system_error.extend({
|
|
|
58
64
|
.describe(`Indicates that the Seam Bridge is functioning correctly and the Seam API can communicate with the Seam Bridge, but the Seam API cannot connect to the on-premises [Visionline access control system](https://docs.seam.co/latest/device-and-system-integration-guides/assa-abloy-visionline-access-control-system).
|
|
59
65
|
For example, the IP address of the on-premises access control system may be set incorrectly within the Seam [workspace](https://docs.seam.co/latest/core-concepts/workspaces).
|
|
60
66
|
See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.visionline_instance_unreachable).`);
|
|
61
|
-
const salto_ks_subscription_limit_exceeded = common_acs_system_error
|
|
67
|
+
const salto_ks_subscription_limit_exceeded = common_acs_system_error
|
|
68
|
+
.extend({
|
|
62
69
|
error_code: z
|
|
63
70
|
.literal('salto_ks_subscription_limit_exceeded')
|
|
64
|
-
.describe(
|
|
65
|
-
})
|
|
66
|
-
|
|
71
|
+
.describe(error_code_description),
|
|
72
|
+
})
|
|
73
|
+
.describe('Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.');
|
|
74
|
+
const acs_system_disconnected = common_acs_system_error
|
|
75
|
+
.extend({
|
|
67
76
|
error_code: z
|
|
68
77
|
.literal('acs_system_disconnected')
|
|
69
|
-
.describe(
|
|
70
|
-
})
|
|
71
|
-
|
|
78
|
+
.describe(error_code_description),
|
|
79
|
+
})
|
|
80
|
+
.describe('Indicates that the access system has been disconnected. See [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue.');
|
|
81
|
+
const account_disconnected = common_acs_system_error
|
|
82
|
+
.extend({
|
|
72
83
|
error_code: z
|
|
73
84
|
.literal('account_disconnected')
|
|
74
|
-
.describe(
|
|
75
|
-
})
|
|
85
|
+
.describe(error_code_description),
|
|
86
|
+
})
|
|
87
|
+
.describe('Indicates that the login credentials are invalid. Reconnect the account using the Connect Webview to restore access.');
|
|
76
88
|
const acs_system_error = z
|
|
77
89
|
.union([
|
|
78
90
|
seam_bridge_disconnected,
|
|
@@ -164,6 +176,7 @@ export const acs_system = z
|
|
|
164
176
|
deprecated: Use \`external_type_display_name\`.
|
|
165
177
|
---
|
|
166
178
|
`),
|
|
179
|
+
location,
|
|
167
180
|
name: z.string().describe('Name of the `acs_system`.'),
|
|
168
181
|
created_at: z
|
|
169
182
|
.string()
|