@seamapi/types 1.487.0 → 1.489.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.
@@ -15802,6 +15802,626 @@ declare const batch: z.ZodObject<{
15802
15802
  acs_system_id: string;
15803
15803
  acs_encoder_id: string;
15804
15804
  }>, "many">>;
15805
+ acs_credentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
15806
+ acs_credential_id: z.ZodString;
15807
+ acs_user_id: z.ZodOptional<z.ZodString>;
15808
+ user_identity_id: z.ZodOptional<z.ZodString>;
15809
+ connected_account_id: z.ZodString;
15810
+ acs_credential_pool_id: z.ZodOptional<z.ZodString>;
15811
+ acs_system_id: z.ZodString;
15812
+ parent_acs_credential_id: z.ZodOptional<z.ZodString>;
15813
+ display_name: z.ZodString;
15814
+ code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
15815
+ is_one_time_use: z.ZodOptional<z.ZodBoolean>;
15816
+ card_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
15817
+ is_issued: z.ZodOptional<z.ZodBoolean>;
15818
+ issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
15819
+ access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
15820
+ external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key", "latch_access"]>>;
15821
+ external_type_display_name: z.ZodOptional<z.ZodString>;
15822
+ created_at: z.ZodString;
15823
+ workspace_id: z.ZodString;
15824
+ starts_at: z.ZodOptional<z.ZodString>;
15825
+ ends_at: z.ZodOptional<z.ZodString>;
15826
+ errors: z.ZodArray<z.ZodObject<{
15827
+ error_code: z.ZodString;
15828
+ message: z.ZodString;
15829
+ }, "strip", z.ZodTypeAny, {
15830
+ message: string;
15831
+ error_code: string;
15832
+ }, {
15833
+ message: string;
15834
+ error_code: string;
15835
+ }>, "many">;
15836
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
15837
+ created_at: z.ZodString;
15838
+ message: z.ZodString;
15839
+ } & {
15840
+ warning_code: z.ZodLiteral<"waiting_to_be_issued">;
15841
+ }, "strip", z.ZodTypeAny, {
15842
+ message: string;
15843
+ created_at: string;
15844
+ warning_code: "waiting_to_be_issued";
15845
+ }, {
15846
+ message: string;
15847
+ created_at: string;
15848
+ warning_code: "waiting_to_be_issued";
15849
+ }>, z.ZodObject<{
15850
+ created_at: z.ZodString;
15851
+ message: z.ZodString;
15852
+ } & {
15853
+ warning_code: z.ZodLiteral<"schedule_externally_modified">;
15854
+ }, "strip", z.ZodTypeAny, {
15855
+ message: string;
15856
+ created_at: string;
15857
+ warning_code: "schedule_externally_modified";
15858
+ }, {
15859
+ message: string;
15860
+ created_at: string;
15861
+ warning_code: "schedule_externally_modified";
15862
+ }>, z.ZodObject<{
15863
+ created_at: z.ZodString;
15864
+ message: z.ZodString;
15865
+ } & {
15866
+ warning_code: z.ZodLiteral<"schedule_modified">;
15867
+ }, "strip", z.ZodTypeAny, {
15868
+ message: string;
15869
+ created_at: string;
15870
+ warning_code: "schedule_modified";
15871
+ }, {
15872
+ message: string;
15873
+ created_at: string;
15874
+ warning_code: "schedule_modified";
15875
+ }>, z.ZodObject<{
15876
+ created_at: z.ZodString;
15877
+ message: z.ZodString;
15878
+ } & {
15879
+ warning_code: z.ZodLiteral<"being_deleted">;
15880
+ }, "strip", z.ZodTypeAny, {
15881
+ message: string;
15882
+ created_at: string;
15883
+ warning_code: "being_deleted";
15884
+ }, {
15885
+ message: string;
15886
+ created_at: string;
15887
+ warning_code: "being_deleted";
15888
+ }>, z.ZodObject<{
15889
+ created_at: z.ZodString;
15890
+ message: z.ZodString;
15891
+ } & {
15892
+ warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
15893
+ }, "strip", z.ZodTypeAny, {
15894
+ message: string;
15895
+ created_at: string;
15896
+ warning_code: "unknown_issue_with_acs_credential";
15897
+ }, {
15898
+ message: string;
15899
+ created_at: string;
15900
+ warning_code: "unknown_issue_with_acs_credential";
15901
+ }>, z.ZodObject<{
15902
+ created_at: z.ZodString;
15903
+ message: z.ZodString;
15904
+ } & {
15905
+ warning_code: z.ZodLiteral<"needs_to_be_reissued">;
15906
+ }, "strip", z.ZodTypeAny, {
15907
+ message: string;
15908
+ created_at: string;
15909
+ warning_code: "needs_to_be_reissued";
15910
+ }, {
15911
+ message: string;
15912
+ created_at: string;
15913
+ warning_code: "needs_to_be_reissued";
15914
+ }>]>, "many">;
15915
+ is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
15916
+ is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15917
+ latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15918
+ visionline_metadata: z.ZodOptional<z.ZodObject<{
15919
+ card_function_type: z.ZodEnum<["guest", "staff"]>;
15920
+ joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15921
+ guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15922
+ common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15923
+ is_valid: z.ZodOptional<z.ZodBoolean>;
15924
+ auto_join: z.ZodOptional<z.ZodBoolean>;
15925
+ card_id: z.ZodOptional<z.ZodString>;
15926
+ credential_id: z.ZodOptional<z.ZodString>;
15927
+ }, "strip", z.ZodTypeAny, {
15928
+ card_function_type: "guest" | "staff";
15929
+ auto_join?: boolean | undefined;
15930
+ joiner_acs_credential_ids?: string[] | undefined;
15931
+ guest_acs_entrance_ids?: string[] | undefined;
15932
+ common_acs_entrance_ids?: string[] | undefined;
15933
+ is_valid?: boolean | undefined;
15934
+ card_id?: string | undefined;
15935
+ credential_id?: string | undefined;
15936
+ }, {
15937
+ card_function_type: "guest" | "staff";
15938
+ auto_join?: boolean | undefined;
15939
+ joiner_acs_credential_ids?: string[] | undefined;
15940
+ guest_acs_entrance_ids?: string[] | undefined;
15941
+ common_acs_entrance_ids?: string[] | undefined;
15942
+ is_valid?: boolean | undefined;
15943
+ card_id?: string | undefined;
15944
+ credential_id?: string | undefined;
15945
+ }>>;
15946
+ assa_abloy_vostio_metadata: z.ZodOptional<z.ZodObject<{
15947
+ auto_join: z.ZodOptional<z.ZodBoolean>;
15948
+ override_guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15949
+ key_id: z.ZodOptional<z.ZodString>;
15950
+ key_issuing_request_id: z.ZodOptional<z.ZodString>;
15951
+ door_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15952
+ endpoint_id: z.ZodOptional<z.ZodString>;
15953
+ }, "strip", z.ZodTypeAny, {
15954
+ key_id?: string | undefined;
15955
+ endpoint_id?: string | undefined;
15956
+ auto_join?: boolean | undefined;
15957
+ override_guest_acs_entrance_ids?: string[] | undefined;
15958
+ key_issuing_request_id?: string | undefined;
15959
+ door_names?: string[] | undefined;
15960
+ }, {
15961
+ key_id?: string | undefined;
15962
+ endpoint_id?: string | undefined;
15963
+ auto_join?: boolean | undefined;
15964
+ override_guest_acs_entrance_ids?: string[] | undefined;
15965
+ key_issuing_request_id?: string | undefined;
15966
+ door_names?: string[] | undefined;
15967
+ }>>;
15968
+ } & {
15969
+ is_managed: z.ZodLiteral<true>;
15970
+ }, "strip", z.ZodTypeAny, {
15971
+ display_name: string;
15972
+ workspace_id: string;
15973
+ created_at: string;
15974
+ errors: {
15975
+ message: string;
15976
+ error_code: string;
15977
+ }[];
15978
+ connected_account_id: string;
15979
+ warnings: ({
15980
+ message: string;
15981
+ created_at: string;
15982
+ warning_code: "waiting_to_be_issued";
15983
+ } | {
15984
+ message: string;
15985
+ created_at: string;
15986
+ warning_code: "schedule_externally_modified";
15987
+ } | {
15988
+ message: string;
15989
+ created_at: string;
15990
+ warning_code: "schedule_modified";
15991
+ } | {
15992
+ message: string;
15993
+ created_at: string;
15994
+ warning_code: "being_deleted";
15995
+ } | {
15996
+ message: string;
15997
+ created_at: string;
15998
+ warning_code: "unknown_issue_with_acs_credential";
15999
+ } | {
16000
+ message: string;
16001
+ created_at: string;
16002
+ warning_code: "needs_to_be_reissued";
16003
+ })[];
16004
+ is_managed: true;
16005
+ acs_system_id: string;
16006
+ acs_credential_id: string;
16007
+ access_method: "code" | "card" | "mobile_key";
16008
+ code?: string | null | undefined;
16009
+ starts_at?: string | undefined;
16010
+ ends_at?: string | undefined;
16011
+ visionline_metadata?: {
16012
+ card_function_type: "guest" | "staff";
16013
+ auto_join?: boolean | undefined;
16014
+ joiner_acs_credential_ids?: string[] | undefined;
16015
+ guest_acs_entrance_ids?: string[] | undefined;
16016
+ common_acs_entrance_ids?: string[] | undefined;
16017
+ is_valid?: boolean | undefined;
16018
+ card_id?: string | undefined;
16019
+ credential_id?: string | undefined;
16020
+ } | undefined;
16021
+ assa_abloy_vostio_metadata?: {
16022
+ key_id?: string | undefined;
16023
+ endpoint_id?: string | undefined;
16024
+ auto_join?: boolean | undefined;
16025
+ override_guest_acs_entrance_ids?: string[] | undefined;
16026
+ key_issuing_request_id?: string | undefined;
16027
+ door_names?: string[] | undefined;
16028
+ } | undefined;
16029
+ is_one_time_use?: boolean | undefined;
16030
+ user_identity_id?: string | undefined;
16031
+ issued_at?: string | null | undefined;
16032
+ is_issued?: boolean | undefined;
16033
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
16034
+ external_type_display_name?: string | undefined;
16035
+ acs_user_id?: string | undefined;
16036
+ acs_credential_pool_id?: string | undefined;
16037
+ parent_acs_credential_id?: string | undefined;
16038
+ card_number?: string | null | undefined;
16039
+ is_multi_phone_sync_credential?: boolean | undefined;
16040
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
16041
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
16042
+ }, {
16043
+ display_name: string;
16044
+ workspace_id: string;
16045
+ created_at: string;
16046
+ errors: {
16047
+ message: string;
16048
+ error_code: string;
16049
+ }[];
16050
+ connected_account_id: string;
16051
+ warnings: ({
16052
+ message: string;
16053
+ created_at: string;
16054
+ warning_code: "waiting_to_be_issued";
16055
+ } | {
16056
+ message: string;
16057
+ created_at: string;
16058
+ warning_code: "schedule_externally_modified";
16059
+ } | {
16060
+ message: string;
16061
+ created_at: string;
16062
+ warning_code: "schedule_modified";
16063
+ } | {
16064
+ message: string;
16065
+ created_at: string;
16066
+ warning_code: "being_deleted";
16067
+ } | {
16068
+ message: string;
16069
+ created_at: string;
16070
+ warning_code: "unknown_issue_with_acs_credential";
16071
+ } | {
16072
+ message: string;
16073
+ created_at: string;
16074
+ warning_code: "needs_to_be_reissued";
16075
+ })[];
16076
+ is_managed: true;
16077
+ acs_system_id: string;
16078
+ acs_credential_id: string;
16079
+ access_method: "code" | "card" | "mobile_key";
16080
+ code?: string | null | undefined;
16081
+ starts_at?: string | undefined;
16082
+ ends_at?: string | undefined;
16083
+ visionline_metadata?: {
16084
+ card_function_type: "guest" | "staff";
16085
+ auto_join?: boolean | undefined;
16086
+ joiner_acs_credential_ids?: string[] | undefined;
16087
+ guest_acs_entrance_ids?: string[] | undefined;
16088
+ common_acs_entrance_ids?: string[] | undefined;
16089
+ is_valid?: boolean | undefined;
16090
+ card_id?: string | undefined;
16091
+ credential_id?: string | undefined;
16092
+ } | undefined;
16093
+ assa_abloy_vostio_metadata?: {
16094
+ key_id?: string | undefined;
16095
+ endpoint_id?: string | undefined;
16096
+ auto_join?: boolean | undefined;
16097
+ override_guest_acs_entrance_ids?: string[] | undefined;
16098
+ key_issuing_request_id?: string | undefined;
16099
+ door_names?: string[] | undefined;
16100
+ } | undefined;
16101
+ is_one_time_use?: boolean | undefined;
16102
+ user_identity_id?: string | undefined;
16103
+ issued_at?: string | null | undefined;
16104
+ is_issued?: boolean | undefined;
16105
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
16106
+ external_type_display_name?: string | undefined;
16107
+ acs_user_id?: string | undefined;
16108
+ acs_credential_pool_id?: string | undefined;
16109
+ parent_acs_credential_id?: string | undefined;
16110
+ card_number?: string | null | undefined;
16111
+ is_multi_phone_sync_credential?: boolean | undefined;
16112
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
16113
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
16114
+ }>, "many">>;
16115
+ unmanaged_acs_credentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
16116
+ acs_credential_id: z.ZodString;
16117
+ acs_user_id: z.ZodOptional<z.ZodString>;
16118
+ user_identity_id: z.ZodOptional<z.ZodString>;
16119
+ connected_account_id: z.ZodString;
16120
+ acs_credential_pool_id: z.ZodOptional<z.ZodString>;
16121
+ acs_system_id: z.ZodString;
16122
+ parent_acs_credential_id: z.ZodOptional<z.ZodString>;
16123
+ display_name: z.ZodString;
16124
+ code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16125
+ is_one_time_use: z.ZodOptional<z.ZodBoolean>;
16126
+ card_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16127
+ is_issued: z.ZodOptional<z.ZodBoolean>;
16128
+ issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16129
+ access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
16130
+ external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key", "latch_access"]>>;
16131
+ external_type_display_name: z.ZodOptional<z.ZodString>;
16132
+ created_at: z.ZodString;
16133
+ workspace_id: z.ZodString;
16134
+ starts_at: z.ZodOptional<z.ZodString>;
16135
+ ends_at: z.ZodOptional<z.ZodString>;
16136
+ errors: z.ZodArray<z.ZodObject<{
16137
+ error_code: z.ZodString;
16138
+ message: z.ZodString;
16139
+ }, "strip", z.ZodTypeAny, {
16140
+ message: string;
16141
+ error_code: string;
16142
+ }, {
16143
+ message: string;
16144
+ error_code: string;
16145
+ }>, "many">;
16146
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
16147
+ created_at: z.ZodString;
16148
+ message: z.ZodString;
16149
+ } & {
16150
+ warning_code: z.ZodLiteral<"waiting_to_be_issued">;
16151
+ }, "strip", z.ZodTypeAny, {
16152
+ message: string;
16153
+ created_at: string;
16154
+ warning_code: "waiting_to_be_issued";
16155
+ }, {
16156
+ message: string;
16157
+ created_at: string;
16158
+ warning_code: "waiting_to_be_issued";
16159
+ }>, z.ZodObject<{
16160
+ created_at: z.ZodString;
16161
+ message: z.ZodString;
16162
+ } & {
16163
+ warning_code: z.ZodLiteral<"schedule_externally_modified">;
16164
+ }, "strip", z.ZodTypeAny, {
16165
+ message: string;
16166
+ created_at: string;
16167
+ warning_code: "schedule_externally_modified";
16168
+ }, {
16169
+ message: string;
16170
+ created_at: string;
16171
+ warning_code: "schedule_externally_modified";
16172
+ }>, z.ZodObject<{
16173
+ created_at: z.ZodString;
16174
+ message: z.ZodString;
16175
+ } & {
16176
+ warning_code: z.ZodLiteral<"schedule_modified">;
16177
+ }, "strip", z.ZodTypeAny, {
16178
+ message: string;
16179
+ created_at: string;
16180
+ warning_code: "schedule_modified";
16181
+ }, {
16182
+ message: string;
16183
+ created_at: string;
16184
+ warning_code: "schedule_modified";
16185
+ }>, z.ZodObject<{
16186
+ created_at: z.ZodString;
16187
+ message: z.ZodString;
16188
+ } & {
16189
+ warning_code: z.ZodLiteral<"being_deleted">;
16190
+ }, "strip", z.ZodTypeAny, {
16191
+ message: string;
16192
+ created_at: string;
16193
+ warning_code: "being_deleted";
16194
+ }, {
16195
+ message: string;
16196
+ created_at: string;
16197
+ warning_code: "being_deleted";
16198
+ }>, z.ZodObject<{
16199
+ created_at: z.ZodString;
16200
+ message: z.ZodString;
16201
+ } & {
16202
+ warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
16203
+ }, "strip", z.ZodTypeAny, {
16204
+ message: string;
16205
+ created_at: string;
16206
+ warning_code: "unknown_issue_with_acs_credential";
16207
+ }, {
16208
+ message: string;
16209
+ created_at: string;
16210
+ warning_code: "unknown_issue_with_acs_credential";
16211
+ }>, z.ZodObject<{
16212
+ created_at: z.ZodString;
16213
+ message: z.ZodString;
16214
+ } & {
16215
+ warning_code: z.ZodLiteral<"needs_to_be_reissued">;
16216
+ }, "strip", z.ZodTypeAny, {
16217
+ message: string;
16218
+ created_at: string;
16219
+ warning_code: "needs_to_be_reissued";
16220
+ }, {
16221
+ message: string;
16222
+ created_at: string;
16223
+ warning_code: "needs_to_be_reissued";
16224
+ }>]>, "many">;
16225
+ is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
16226
+ is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16227
+ latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16228
+ visionline_metadata: z.ZodOptional<z.ZodObject<{
16229
+ card_function_type: z.ZodEnum<["guest", "staff"]>;
16230
+ joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
16231
+ guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
16232
+ common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
16233
+ is_valid: z.ZodOptional<z.ZodBoolean>;
16234
+ auto_join: z.ZodOptional<z.ZodBoolean>;
16235
+ card_id: z.ZodOptional<z.ZodString>;
16236
+ credential_id: z.ZodOptional<z.ZodString>;
16237
+ }, "strip", z.ZodTypeAny, {
16238
+ card_function_type: "guest" | "staff";
16239
+ auto_join?: boolean | undefined;
16240
+ joiner_acs_credential_ids?: string[] | undefined;
16241
+ guest_acs_entrance_ids?: string[] | undefined;
16242
+ common_acs_entrance_ids?: string[] | undefined;
16243
+ is_valid?: boolean | undefined;
16244
+ card_id?: string | undefined;
16245
+ credential_id?: string | undefined;
16246
+ }, {
16247
+ card_function_type: "guest" | "staff";
16248
+ auto_join?: boolean | undefined;
16249
+ joiner_acs_credential_ids?: string[] | undefined;
16250
+ guest_acs_entrance_ids?: string[] | undefined;
16251
+ common_acs_entrance_ids?: string[] | undefined;
16252
+ is_valid?: boolean | undefined;
16253
+ card_id?: string | undefined;
16254
+ credential_id?: string | undefined;
16255
+ }>>;
16256
+ assa_abloy_vostio_metadata: z.ZodOptional<z.ZodObject<{
16257
+ auto_join: z.ZodOptional<z.ZodBoolean>;
16258
+ override_guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
16259
+ key_id: z.ZodOptional<z.ZodString>;
16260
+ key_issuing_request_id: z.ZodOptional<z.ZodString>;
16261
+ door_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
16262
+ endpoint_id: z.ZodOptional<z.ZodString>;
16263
+ }, "strip", z.ZodTypeAny, {
16264
+ key_id?: string | undefined;
16265
+ endpoint_id?: string | undefined;
16266
+ auto_join?: boolean | undefined;
16267
+ override_guest_acs_entrance_ids?: string[] | undefined;
16268
+ key_issuing_request_id?: string | undefined;
16269
+ door_names?: string[] | undefined;
16270
+ }, {
16271
+ key_id?: string | undefined;
16272
+ endpoint_id?: string | undefined;
16273
+ auto_join?: boolean | undefined;
16274
+ override_guest_acs_entrance_ids?: string[] | undefined;
16275
+ key_issuing_request_id?: string | undefined;
16276
+ door_names?: string[] | undefined;
16277
+ }>>;
16278
+ } & {
16279
+ is_managed: z.ZodLiteral<false>;
16280
+ }, "strip", z.ZodTypeAny, {
16281
+ display_name: string;
16282
+ workspace_id: string;
16283
+ created_at: string;
16284
+ errors: {
16285
+ message: string;
16286
+ error_code: string;
16287
+ }[];
16288
+ connected_account_id: string;
16289
+ warnings: ({
16290
+ message: string;
16291
+ created_at: string;
16292
+ warning_code: "waiting_to_be_issued";
16293
+ } | {
16294
+ message: string;
16295
+ created_at: string;
16296
+ warning_code: "schedule_externally_modified";
16297
+ } | {
16298
+ message: string;
16299
+ created_at: string;
16300
+ warning_code: "schedule_modified";
16301
+ } | {
16302
+ message: string;
16303
+ created_at: string;
16304
+ warning_code: "being_deleted";
16305
+ } | {
16306
+ message: string;
16307
+ created_at: string;
16308
+ warning_code: "unknown_issue_with_acs_credential";
16309
+ } | {
16310
+ message: string;
16311
+ created_at: string;
16312
+ warning_code: "needs_to_be_reissued";
16313
+ })[];
16314
+ is_managed: false;
16315
+ acs_system_id: string;
16316
+ acs_credential_id: string;
16317
+ access_method: "code" | "card" | "mobile_key";
16318
+ code?: string | null | undefined;
16319
+ starts_at?: string | undefined;
16320
+ ends_at?: string | undefined;
16321
+ visionline_metadata?: {
16322
+ card_function_type: "guest" | "staff";
16323
+ auto_join?: boolean | undefined;
16324
+ joiner_acs_credential_ids?: string[] | undefined;
16325
+ guest_acs_entrance_ids?: string[] | undefined;
16326
+ common_acs_entrance_ids?: string[] | undefined;
16327
+ is_valid?: boolean | undefined;
16328
+ card_id?: string | undefined;
16329
+ credential_id?: string | undefined;
16330
+ } | undefined;
16331
+ assa_abloy_vostio_metadata?: {
16332
+ key_id?: string | undefined;
16333
+ endpoint_id?: string | undefined;
16334
+ auto_join?: boolean | undefined;
16335
+ override_guest_acs_entrance_ids?: string[] | undefined;
16336
+ key_issuing_request_id?: string | undefined;
16337
+ door_names?: string[] | undefined;
16338
+ } | undefined;
16339
+ is_one_time_use?: boolean | undefined;
16340
+ user_identity_id?: string | undefined;
16341
+ issued_at?: string | null | undefined;
16342
+ is_issued?: boolean | undefined;
16343
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
16344
+ external_type_display_name?: string | undefined;
16345
+ acs_user_id?: string | undefined;
16346
+ acs_credential_pool_id?: string | undefined;
16347
+ parent_acs_credential_id?: string | undefined;
16348
+ card_number?: string | null | undefined;
16349
+ is_multi_phone_sync_credential?: boolean | undefined;
16350
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
16351
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
16352
+ }, {
16353
+ display_name: string;
16354
+ workspace_id: string;
16355
+ created_at: string;
16356
+ errors: {
16357
+ message: string;
16358
+ error_code: string;
16359
+ }[];
16360
+ connected_account_id: string;
16361
+ warnings: ({
16362
+ message: string;
16363
+ created_at: string;
16364
+ warning_code: "waiting_to_be_issued";
16365
+ } | {
16366
+ message: string;
16367
+ created_at: string;
16368
+ warning_code: "schedule_externally_modified";
16369
+ } | {
16370
+ message: string;
16371
+ created_at: string;
16372
+ warning_code: "schedule_modified";
16373
+ } | {
16374
+ message: string;
16375
+ created_at: string;
16376
+ warning_code: "being_deleted";
16377
+ } | {
16378
+ message: string;
16379
+ created_at: string;
16380
+ warning_code: "unknown_issue_with_acs_credential";
16381
+ } | {
16382
+ message: string;
16383
+ created_at: string;
16384
+ warning_code: "needs_to_be_reissued";
16385
+ })[];
16386
+ is_managed: false;
16387
+ acs_system_id: string;
16388
+ acs_credential_id: string;
16389
+ access_method: "code" | "card" | "mobile_key";
16390
+ code?: string | null | undefined;
16391
+ starts_at?: string | undefined;
16392
+ ends_at?: string | undefined;
16393
+ visionline_metadata?: {
16394
+ card_function_type: "guest" | "staff";
16395
+ auto_join?: boolean | undefined;
16396
+ joiner_acs_credential_ids?: string[] | undefined;
16397
+ guest_acs_entrance_ids?: string[] | undefined;
16398
+ common_acs_entrance_ids?: string[] | undefined;
16399
+ is_valid?: boolean | undefined;
16400
+ card_id?: string | undefined;
16401
+ credential_id?: string | undefined;
16402
+ } | undefined;
16403
+ assa_abloy_vostio_metadata?: {
16404
+ key_id?: string | undefined;
16405
+ endpoint_id?: string | undefined;
16406
+ auto_join?: boolean | undefined;
16407
+ override_guest_acs_entrance_ids?: string[] | undefined;
16408
+ key_issuing_request_id?: string | undefined;
16409
+ door_names?: string[] | undefined;
16410
+ } | undefined;
16411
+ is_one_time_use?: boolean | undefined;
16412
+ user_identity_id?: string | undefined;
16413
+ issued_at?: string | null | undefined;
16414
+ is_issued?: boolean | undefined;
16415
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
16416
+ external_type_display_name?: string | undefined;
16417
+ acs_user_id?: string | undefined;
16418
+ acs_credential_pool_id?: string | undefined;
16419
+ parent_acs_credential_id?: string | undefined;
16420
+ card_number?: string | null | undefined;
16421
+ is_multi_phone_sync_credential?: boolean | undefined;
16422
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
16423
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
16424
+ }>, "many">>;
15805
16425
  action_attempts: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
15806
16426
  action_attempt_id: z.ZodString;
15807
16427
  } & {
@@ -27714,6 +28334,25 @@ declare const batch: z.ZodObject<{
27714
28334
  user_identity_key: string | null;
27715
28335
  acs_user_ids: string[];
27716
28336
  }[] | undefined;
28337
+ acs_access_groups?: {
28338
+ name: string;
28339
+ display_name: string;
28340
+ workspace_id: string;
28341
+ created_at: string;
28342
+ connected_account_id: string;
28343
+ warnings: {
28344
+ message: string;
28345
+ created_at: string;
28346
+ warning_code: "unknown_issue_with_acs_access_group";
28347
+ }[];
28348
+ is_managed: true;
28349
+ acs_access_group_id: string;
28350
+ acs_system_id: string;
28351
+ access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
28352
+ access_group_type_display_name: string;
28353
+ external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
28354
+ external_type_display_name: string;
28355
+ }[] | undefined;
27717
28356
  access_methods?: {
27718
28357
  display_name: string;
27719
28358
  workspace_id: string;
@@ -27865,37 +28504,164 @@ declare const batch: z.ZodObject<{
27865
28504
  };
27866
28505
  })[] | undefined;
27867
28506
  }[] | undefined;
27868
- acs_access_groups?: {
27869
- name: string;
28507
+ acs_encoders?: {
27870
28508
  display_name: string;
27871
28509
  workspace_id: string;
27872
28510
  created_at: string;
27873
- connected_account_id: string;
27874
- warnings: {
28511
+ errors: {
27875
28512
  message: string;
27876
28513
  created_at: string;
27877
- warning_code: "unknown_issue_with_acs_access_group";
28514
+ error_code: "acs_encoder_removed";
27878
28515
  }[];
27879
- is_managed: true;
27880
- acs_access_group_id: string;
28516
+ connected_account_id: string;
27881
28517
  acs_system_id: string;
27882
- access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
27883
- access_group_type_display_name: string;
27884
- external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
27885
- external_type_display_name: string;
28518
+ acs_encoder_id: string;
27886
28519
  }[] | undefined;
27887
- acs_encoders?: {
28520
+ acs_credentials?: {
27888
28521
  display_name: string;
27889
28522
  workspace_id: string;
27890
28523
  created_at: string;
27891
28524
  errors: {
28525
+ message: string;
28526
+ error_code: string;
28527
+ }[];
28528
+ connected_account_id: string;
28529
+ warnings: ({
27892
28530
  message: string;
27893
28531
  created_at: string;
27894
- error_code: "acs_encoder_removed";
28532
+ warning_code: "waiting_to_be_issued";
28533
+ } | {
28534
+ message: string;
28535
+ created_at: string;
28536
+ warning_code: "schedule_externally_modified";
28537
+ } | {
28538
+ message: string;
28539
+ created_at: string;
28540
+ warning_code: "schedule_modified";
28541
+ } | {
28542
+ message: string;
28543
+ created_at: string;
28544
+ warning_code: "being_deleted";
28545
+ } | {
28546
+ message: string;
28547
+ created_at: string;
28548
+ warning_code: "unknown_issue_with_acs_credential";
28549
+ } | {
28550
+ message: string;
28551
+ created_at: string;
28552
+ warning_code: "needs_to_be_reissued";
28553
+ })[];
28554
+ is_managed: true;
28555
+ acs_system_id: string;
28556
+ acs_credential_id: string;
28557
+ access_method: "code" | "card" | "mobile_key";
28558
+ code?: string | null | undefined;
28559
+ starts_at?: string | undefined;
28560
+ ends_at?: string | undefined;
28561
+ visionline_metadata?: {
28562
+ card_function_type: "guest" | "staff";
28563
+ auto_join?: boolean | undefined;
28564
+ joiner_acs_credential_ids?: string[] | undefined;
28565
+ guest_acs_entrance_ids?: string[] | undefined;
28566
+ common_acs_entrance_ids?: string[] | undefined;
28567
+ is_valid?: boolean | undefined;
28568
+ card_id?: string | undefined;
28569
+ credential_id?: string | undefined;
28570
+ } | undefined;
28571
+ assa_abloy_vostio_metadata?: {
28572
+ key_id?: string | undefined;
28573
+ endpoint_id?: string | undefined;
28574
+ auto_join?: boolean | undefined;
28575
+ override_guest_acs_entrance_ids?: string[] | undefined;
28576
+ key_issuing_request_id?: string | undefined;
28577
+ door_names?: string[] | undefined;
28578
+ } | undefined;
28579
+ is_one_time_use?: boolean | undefined;
28580
+ user_identity_id?: string | undefined;
28581
+ issued_at?: string | null | undefined;
28582
+ is_issued?: boolean | undefined;
28583
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
28584
+ external_type_display_name?: string | undefined;
28585
+ acs_user_id?: string | undefined;
28586
+ acs_credential_pool_id?: string | undefined;
28587
+ parent_acs_credential_id?: string | undefined;
28588
+ card_number?: string | null | undefined;
28589
+ is_multi_phone_sync_credential?: boolean | undefined;
28590
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
28591
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
28592
+ }[] | undefined;
28593
+ unmanaged_acs_credentials?: {
28594
+ display_name: string;
28595
+ workspace_id: string;
28596
+ created_at: string;
28597
+ errors: {
28598
+ message: string;
28599
+ error_code: string;
27895
28600
  }[];
27896
28601
  connected_account_id: string;
28602
+ warnings: ({
28603
+ message: string;
28604
+ created_at: string;
28605
+ warning_code: "waiting_to_be_issued";
28606
+ } | {
28607
+ message: string;
28608
+ created_at: string;
28609
+ warning_code: "schedule_externally_modified";
28610
+ } | {
28611
+ message: string;
28612
+ created_at: string;
28613
+ warning_code: "schedule_modified";
28614
+ } | {
28615
+ message: string;
28616
+ created_at: string;
28617
+ warning_code: "being_deleted";
28618
+ } | {
28619
+ message: string;
28620
+ created_at: string;
28621
+ warning_code: "unknown_issue_with_acs_credential";
28622
+ } | {
28623
+ message: string;
28624
+ created_at: string;
28625
+ warning_code: "needs_to_be_reissued";
28626
+ })[];
28627
+ is_managed: false;
27897
28628
  acs_system_id: string;
27898
- acs_encoder_id: string;
28629
+ acs_credential_id: string;
28630
+ access_method: "code" | "card" | "mobile_key";
28631
+ code?: string | null | undefined;
28632
+ starts_at?: string | undefined;
28633
+ ends_at?: string | undefined;
28634
+ visionline_metadata?: {
28635
+ card_function_type: "guest" | "staff";
28636
+ auto_join?: boolean | undefined;
28637
+ joiner_acs_credential_ids?: string[] | undefined;
28638
+ guest_acs_entrance_ids?: string[] | undefined;
28639
+ common_acs_entrance_ids?: string[] | undefined;
28640
+ is_valid?: boolean | undefined;
28641
+ card_id?: string | undefined;
28642
+ credential_id?: string | undefined;
28643
+ } | undefined;
28644
+ assa_abloy_vostio_metadata?: {
28645
+ key_id?: string | undefined;
28646
+ endpoint_id?: string | undefined;
28647
+ auto_join?: boolean | undefined;
28648
+ override_guest_acs_entrance_ids?: string[] | undefined;
28649
+ key_issuing_request_id?: string | undefined;
28650
+ door_names?: string[] | undefined;
28651
+ } | undefined;
28652
+ is_one_time_use?: boolean | undefined;
28653
+ user_identity_id?: string | undefined;
28654
+ issued_at?: string | null | undefined;
28655
+ is_issued?: boolean | undefined;
28656
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
28657
+ external_type_display_name?: string | undefined;
28658
+ acs_user_id?: string | undefined;
28659
+ acs_credential_pool_id?: string | undefined;
28660
+ parent_acs_credential_id?: string | undefined;
28661
+ card_number?: string | null | undefined;
28662
+ is_multi_phone_sync_credential?: boolean | undefined;
28663
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
28664
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
27899
28665
  }[] | undefined;
27900
28666
  action_attempts?: ({
27901
28667
  status: "pending";
@@ -30774,6 +31540,25 @@ declare const batch: z.ZodObject<{
30774
31540
  user_identity_key: string | null;
30775
31541
  acs_user_ids: string[];
30776
31542
  }[] | undefined;
31543
+ acs_access_groups?: {
31544
+ name: string;
31545
+ display_name: string;
31546
+ workspace_id: string;
31547
+ created_at: string;
31548
+ connected_account_id: string;
31549
+ warnings: {
31550
+ message: string;
31551
+ created_at: string;
31552
+ warning_code: "unknown_issue_with_acs_access_group";
31553
+ }[];
31554
+ is_managed: true;
31555
+ acs_access_group_id: string;
31556
+ acs_system_id: string;
31557
+ access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
31558
+ access_group_type_display_name: string;
31559
+ external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
31560
+ external_type_display_name: string;
31561
+ }[] | undefined;
30777
31562
  access_methods?: {
30778
31563
  display_name: string;
30779
31564
  workspace_id: string;
@@ -30925,37 +31710,164 @@ declare const batch: z.ZodObject<{
30925
31710
  };
30926
31711
  })[] | undefined;
30927
31712
  }[] | undefined;
30928
- acs_access_groups?: {
30929
- name: string;
31713
+ acs_encoders?: {
30930
31714
  display_name: string;
30931
31715
  workspace_id: string;
30932
31716
  created_at: string;
30933
- connected_account_id: string;
30934
- warnings: {
31717
+ errors: {
30935
31718
  message: string;
30936
31719
  created_at: string;
30937
- warning_code: "unknown_issue_with_acs_access_group";
31720
+ error_code: "acs_encoder_removed";
30938
31721
  }[];
30939
- is_managed: true;
30940
- acs_access_group_id: string;
31722
+ connected_account_id: string;
30941
31723
  acs_system_id: string;
30942
- access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
30943
- access_group_type_display_name: string;
30944
- external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
30945
- external_type_display_name: string;
31724
+ acs_encoder_id: string;
30946
31725
  }[] | undefined;
30947
- acs_encoders?: {
31726
+ acs_credentials?: {
30948
31727
  display_name: string;
30949
31728
  workspace_id: string;
30950
31729
  created_at: string;
30951
31730
  errors: {
31731
+ message: string;
31732
+ error_code: string;
31733
+ }[];
31734
+ connected_account_id: string;
31735
+ warnings: ({
30952
31736
  message: string;
30953
31737
  created_at: string;
30954
- error_code: "acs_encoder_removed";
31738
+ warning_code: "waiting_to_be_issued";
31739
+ } | {
31740
+ message: string;
31741
+ created_at: string;
31742
+ warning_code: "schedule_externally_modified";
31743
+ } | {
31744
+ message: string;
31745
+ created_at: string;
31746
+ warning_code: "schedule_modified";
31747
+ } | {
31748
+ message: string;
31749
+ created_at: string;
31750
+ warning_code: "being_deleted";
31751
+ } | {
31752
+ message: string;
31753
+ created_at: string;
31754
+ warning_code: "unknown_issue_with_acs_credential";
31755
+ } | {
31756
+ message: string;
31757
+ created_at: string;
31758
+ warning_code: "needs_to_be_reissued";
31759
+ })[];
31760
+ is_managed: true;
31761
+ acs_system_id: string;
31762
+ acs_credential_id: string;
31763
+ access_method: "code" | "card" | "mobile_key";
31764
+ code?: string | null | undefined;
31765
+ starts_at?: string | undefined;
31766
+ ends_at?: string | undefined;
31767
+ visionline_metadata?: {
31768
+ card_function_type: "guest" | "staff";
31769
+ auto_join?: boolean | undefined;
31770
+ joiner_acs_credential_ids?: string[] | undefined;
31771
+ guest_acs_entrance_ids?: string[] | undefined;
31772
+ common_acs_entrance_ids?: string[] | undefined;
31773
+ is_valid?: boolean | undefined;
31774
+ card_id?: string | undefined;
31775
+ credential_id?: string | undefined;
31776
+ } | undefined;
31777
+ assa_abloy_vostio_metadata?: {
31778
+ key_id?: string | undefined;
31779
+ endpoint_id?: string | undefined;
31780
+ auto_join?: boolean | undefined;
31781
+ override_guest_acs_entrance_ids?: string[] | undefined;
31782
+ key_issuing_request_id?: string | undefined;
31783
+ door_names?: string[] | undefined;
31784
+ } | undefined;
31785
+ is_one_time_use?: boolean | undefined;
31786
+ user_identity_id?: string | undefined;
31787
+ issued_at?: string | null | undefined;
31788
+ is_issued?: boolean | undefined;
31789
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
31790
+ external_type_display_name?: string | undefined;
31791
+ acs_user_id?: string | undefined;
31792
+ acs_credential_pool_id?: string | undefined;
31793
+ parent_acs_credential_id?: string | undefined;
31794
+ card_number?: string | null | undefined;
31795
+ is_multi_phone_sync_credential?: boolean | undefined;
31796
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
31797
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
31798
+ }[] | undefined;
31799
+ unmanaged_acs_credentials?: {
31800
+ display_name: string;
31801
+ workspace_id: string;
31802
+ created_at: string;
31803
+ errors: {
31804
+ message: string;
31805
+ error_code: string;
30955
31806
  }[];
30956
31807
  connected_account_id: string;
31808
+ warnings: ({
31809
+ message: string;
31810
+ created_at: string;
31811
+ warning_code: "waiting_to_be_issued";
31812
+ } | {
31813
+ message: string;
31814
+ created_at: string;
31815
+ warning_code: "schedule_externally_modified";
31816
+ } | {
31817
+ message: string;
31818
+ created_at: string;
31819
+ warning_code: "schedule_modified";
31820
+ } | {
31821
+ message: string;
31822
+ created_at: string;
31823
+ warning_code: "being_deleted";
31824
+ } | {
31825
+ message: string;
31826
+ created_at: string;
31827
+ warning_code: "unknown_issue_with_acs_credential";
31828
+ } | {
31829
+ message: string;
31830
+ created_at: string;
31831
+ warning_code: "needs_to_be_reissued";
31832
+ })[];
31833
+ is_managed: false;
30957
31834
  acs_system_id: string;
30958
- acs_encoder_id: string;
31835
+ acs_credential_id: string;
31836
+ access_method: "code" | "card" | "mobile_key";
31837
+ code?: string | null | undefined;
31838
+ starts_at?: string | undefined;
31839
+ ends_at?: string | undefined;
31840
+ visionline_metadata?: {
31841
+ card_function_type: "guest" | "staff";
31842
+ auto_join?: boolean | undefined;
31843
+ joiner_acs_credential_ids?: string[] | undefined;
31844
+ guest_acs_entrance_ids?: string[] | undefined;
31845
+ common_acs_entrance_ids?: string[] | undefined;
31846
+ is_valid?: boolean | undefined;
31847
+ card_id?: string | undefined;
31848
+ credential_id?: string | undefined;
31849
+ } | undefined;
31850
+ assa_abloy_vostio_metadata?: {
31851
+ key_id?: string | undefined;
31852
+ endpoint_id?: string | undefined;
31853
+ auto_join?: boolean | undefined;
31854
+ override_guest_acs_entrance_ids?: string[] | undefined;
31855
+ key_issuing_request_id?: string | undefined;
31856
+ door_names?: string[] | undefined;
31857
+ } | undefined;
31858
+ is_one_time_use?: boolean | undefined;
31859
+ user_identity_id?: string | undefined;
31860
+ issued_at?: string | null | undefined;
31861
+ is_issued?: boolean | undefined;
31862
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
31863
+ external_type_display_name?: string | undefined;
31864
+ acs_user_id?: string | undefined;
31865
+ acs_credential_pool_id?: string | undefined;
31866
+ parent_acs_credential_id?: string | undefined;
31867
+ card_number?: string | null | undefined;
31868
+ is_multi_phone_sync_credential?: boolean | undefined;
31869
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
31870
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
30959
31871
  }[] | undefined;
30960
31872
  action_attempts?: ({
30961
31873
  status: "pending";
@@ -62619,6 +63531,12 @@ declare const _default: {
62619
63531
  properties: {
62620
63532
  batch: {
62621
63533
  properties: {
63534
+ acs_access_groups: {
63535
+ items: {
63536
+ $ref: string;
63537
+ };
63538
+ type: string;
63539
+ };
62622
63540
  acs_entrances: {
62623
63541
  items: {
62624
63542
  $ref: string;
@@ -62749,6 +63667,12 @@ declare const _default: {
62749
63667
  properties: {
62750
63668
  batch: {
62751
63669
  properties: {
63670
+ acs_access_groups: {
63671
+ items: {
63672
+ $ref: string;
63673
+ };
63674
+ type: string;
63675
+ };
62752
63676
  acs_entrances: {
62753
63677
  items: {
62754
63678
  $ref: string;
@@ -63607,6 +64531,12 @@ declare const _default: {
63607
64531
  };
63608
64532
  type: string;
63609
64533
  };
64534
+ acs_credentials: {
64535
+ items: {
64536
+ $ref: string;
64537
+ };
64538
+ type: string;
64539
+ };
63610
64540
  acs_encoders: {
63611
64541
  items: {
63612
64542
  $ref: string;
@@ -63683,6 +64613,12 @@ declare const _default: {
63683
64613
  };
63684
64614
  type: string;
63685
64615
  };
64616
+ unmanaged_acs_credentials: {
64617
+ items: {
64618
+ $ref: string;
64619
+ };
64620
+ type: string;
64621
+ };
63686
64622
  unmanaged_acs_users: {
63687
64623
  items: {
63688
64624
  $ref: string;
@@ -63816,6 +64752,12 @@ declare const _default: {
63816
64752
  };
63817
64753
  type: string;
63818
64754
  };
64755
+ acs_credentials: {
64756
+ items: {
64757
+ $ref: string;
64758
+ };
64759
+ type: string;
64760
+ };
63819
64761
  acs_encoders: {
63820
64762
  items: {
63821
64763
  $ref: string;
@@ -63892,6 +64834,12 @@ declare const _default: {
63892
64834
  };
63893
64835
  type: string;
63894
64836
  };
64837
+ unmanaged_acs_credentials: {
64838
+ items: {
64839
+ $ref: string;
64840
+ };
64841
+ type: string;
64842
+ };
63895
64843
  unmanaged_acs_users: {
63896
64844
  items: {
63897
64845
  $ref: string;
@@ -94064,6 +95012,12 @@ declare const _default: {
94064
95012
  };
94065
95013
  type: string;
94066
95014
  };
95015
+ acs_credentials: {
95016
+ items: {
95017
+ $ref: string;
95018
+ };
95019
+ type: string;
95020
+ };
94067
95021
  acs_encoders: {
94068
95022
  items: {
94069
95023
  $ref: string;
@@ -94140,6 +95094,12 @@ declare const _default: {
94140
95094
  };
94141
95095
  type: string;
94142
95096
  };
95097
+ unmanaged_acs_credentials: {
95098
+ items: {
95099
+ $ref: string;
95100
+ };
95101
+ type: string;
95102
+ };
94143
95103
  unmanaged_acs_users: {
94144
95104
  items: {
94145
95105
  $ref: string;
@@ -94248,6 +95208,12 @@ declare const _default: {
94248
95208
  };
94249
95209
  type: string;
94250
95210
  };
95211
+ acs_credentials: {
95212
+ items: {
95213
+ $ref: string;
95214
+ };
95215
+ type: string;
95216
+ };
94251
95217
  acs_encoders: {
94252
95218
  items: {
94253
95219
  $ref: string;
@@ -94324,6 +95290,12 @@ declare const _default: {
94324
95290
  };
94325
95291
  type: string;
94326
95292
  };
95293
+ unmanaged_acs_credentials: {
95294
+ items: {
95295
+ $ref: string;
95296
+ };
95297
+ type: string;
95298
+ };
94327
95299
  unmanaged_acs_users: {
94328
95300
  items: {
94329
95301
  $ref: string;
@@ -105049,8 +106021,8 @@ type Routes = {
105049
106021
  commonParams: {
105050
106022
  /** IDs of the access grants that you want to get along with their related resources. */
105051
106023
  access_grant_ids: string[];
105052
- include?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems' | 'user_identity')[] | undefined;
105053
- exclude?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems' | 'user_identity')[] | undefined;
106024
+ include?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems' | 'user_identity' | 'acs_access_groups')[] | undefined;
106025
+ exclude?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems' | 'user_identity' | 'acs_access_groups')[] | undefined;
105054
106026
  };
105055
106027
  formData: {};
105056
106028
  jsonResponse: {
@@ -106680,6 +107652,41 @@ type Routes = {
106680
107652
  misconfigured_acs_entrance_ids?: string[] | undefined;
106681
107653
  })[];
106682
107654
  }[] | undefined;
107655
+ acs_access_groups?: {
107656
+ /** ID of the access group. */
107657
+ acs_access_group_id: string;
107658
+ /** ID of the access control system that contains the access group. */
107659
+ acs_system_id: string;
107660
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group. */
107661
+ workspace_id: string;
107662
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) that contains the access group. */
107663
+ connected_account_id: string;
107664
+ /** Name of the access group. */
107665
+ name: string;
107666
+ /**
107667
+ * @deprecated Use `external_type`.*/
107668
+ access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group';
107669
+ /**
107670
+ * @deprecated Use `external_type_display_name`.*/
107671
+ access_group_type_display_name: string;
107672
+ display_name: string;
107673
+ /** Brand-specific terminology for the access group type. */
107674
+ external_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group';
107675
+ /** Display name that corresponds to the brand-specific terminology for the access group type. */
107676
+ external_type_display_name: string;
107677
+ /** Date and time at which the access group was created. */
107678
+ created_at: string;
107679
+ /** Warnings associated with the `acs_access_group`. */
107680
+ warnings: {
107681
+ /** Date and time at which Seam created the warning. */
107682
+ created_at: string;
107683
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
107684
+ message: string;
107685
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
107686
+ warning_code: 'unknown_issue_with_acs_access_group';
107687
+ }[];
107688
+ is_managed: true;
107689
+ }[] | undefined;
106683
107690
  };
106684
107691
  };
106685
107692
  };
@@ -109880,6 +110887,268 @@ type Routes = {
109880
110887
  /** Display name for the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
109881
110888
  display_name: string;
109882
110889
  }[] | undefined;
110890
+ acs_credentials?: {
110891
+ /** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
110892
+ acs_credential_id: string;
110893
+ /** ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
110894
+ acs_user_id?: string | undefined;
110895
+ /** ID of the [user identity](https://docs.seam.co/latest/api/user_identities) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
110896
+ user_identity_id?: string | undefined;
110897
+ /** ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials#connected-accounts) to which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
110898
+ connected_account_id: string;
110899
+ acs_credential_pool_id?: string | undefined;
110900
+ /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
110901
+ acs_system_id: string;
110902
+ /** ID of the parent [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
110903
+ parent_acs_credential_id?: string | undefined;
110904
+ /** Display name that corresponds to the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
110905
+ display_name: string;
110906
+ /** Access (PIN) code for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
110907
+ code?: (string | undefined) | null;
110908
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) can only be used once. If `true`, the code becomes invalid after the first use. */
110909
+ is_one_time_use?: boolean | undefined;
110910
+ /** Number of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
110911
+ card_number?: (string | undefined) | null;
110912
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been encoded onto a card. */
110913
+ is_issued?: boolean | undefined;
110914
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card. */
110915
+ issued_at?: (string | undefined) | null;
110916
+ /** Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`. */
110917
+ access_method: 'code' | 'card' | 'mobile_key';
110918
+ /** Brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. Supported values: `pti_card`, `brivo_credential`, `hid_credential`, `visionline_card`. */
110919
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential' | 'assa_abloy_vostio_key' | 'salto_space_key' | 'latch_access') | undefined;
110920
+ /** Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
110921
+ external_type_display_name?: string | undefined;
110922
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
110923
+ created_at: string;
110924
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
110925
+ workspace_id: string;
110926
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
110927
+ starts_at?: string | undefined;
110928
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
110929
+ ends_at?: string | undefined;
110930
+ /** Errors associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
110931
+ errors: {
110932
+ error_code: string;
110933
+ message: string;
110934
+ }[];
110935
+ /** Warnings associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
110936
+ warnings: ({
110937
+ /** Date and time at which Seam created the warning. */
110938
+ created_at: string;
110939
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
110940
+ message: string;
110941
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
110942
+ warning_code: 'waiting_to_be_issued';
110943
+ } | {
110944
+ /** Date and time at which Seam created the warning. */
110945
+ created_at: string;
110946
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
110947
+ message: string;
110948
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
110949
+ warning_code: 'schedule_externally_modified';
110950
+ } | {
110951
+ /** Date and time at which Seam created the warning. */
110952
+ created_at: string;
110953
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
110954
+ message: string;
110955
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
110956
+ warning_code: 'schedule_modified';
110957
+ } | {
110958
+ /** Date and time at which Seam created the warning. */
110959
+ created_at: string;
110960
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
110961
+ message: string;
110962
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
110963
+ warning_code: 'being_deleted';
110964
+ } | {
110965
+ /** Date and time at which Seam created the warning. */
110966
+ created_at: string;
110967
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
110968
+ message: string;
110969
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
110970
+ warning_code: 'unknown_issue_with_acs_credential';
110971
+ } | {
110972
+ /** Date and time at which Seam created the warning. */
110973
+ created_at: string;
110974
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
110975
+ message: string;
110976
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
110977
+ warning_code: 'needs_to_be_reissued';
110978
+ })[];
110979
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials). */
110980
+ is_multi_phone_sync_credential?: boolean | undefined;
110981
+ /** Indicates whether the latest state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been synced from Seam to the provider. */
110982
+ is_latest_desired_state_synced_with_provider?: (boolean | null) | undefined;
110983
+ /** Date and time at which the state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was most recently synced from Seam to the provider. */
110984
+ latest_desired_state_synced_with_provider_at?: (string | null) | undefined;
110985
+ /** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
110986
+ visionline_metadata?: {
110987
+ /** Card function type in the Visionline access system. */
110988
+ card_function_type: 'guest' | 'staff';
110989
+ /** IDs of the credentials to which you want to join. */
110990
+ joiner_acs_credential_ids?: string[] | undefined;
110991
+ /** Guest entrance IDs in the Visionline access system. */
110992
+ guest_acs_entrance_ids?: string[] | undefined;
110993
+ /** Common entrance IDs in the Visionline access system. */
110994
+ common_acs_entrance_ids?: string[] | undefined;
110995
+ /** Indicates whether the credential is valid. */
110996
+ is_valid?: boolean | undefined;
110997
+ /** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
110998
+ auto_join?: boolean | undefined;
110999
+ /** ID of the card in the Visionline access system. */
111000
+ card_id?: string | undefined;
111001
+ /** ID of the credential in the Visionline access system. */
111002
+ credential_id?: string | undefined;
111003
+ } | undefined;
111004
+ /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
111005
+ assa_abloy_vostio_metadata?: {
111006
+ /** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
111007
+ auto_join?: boolean | undefined;
111008
+ /** IDs of the guest entrances to override in the Vostio access system. */
111009
+ override_guest_acs_entrance_ids?: string[] | undefined;
111010
+ /** Key ID in the Vostio access system. */
111011
+ key_id?: string | undefined;
111012
+ /** Key issuing request ID in the Vostio access system. */
111013
+ key_issuing_request_id?: string | undefined;
111014
+ /** Names of the doors to which to grant access in the Vostio access system. */
111015
+ door_names?: string[] | undefined;
111016
+ /** Endpoint ID in the Vostio access system. */
111017
+ endpoint_id?: string | undefined;
111018
+ } | undefined;
111019
+ is_managed: true;
111020
+ }[] | undefined;
111021
+ unmanaged_acs_credentials?: {
111022
+ /** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
111023
+ acs_credential_id: string;
111024
+ /** ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
111025
+ acs_user_id?: string | undefined;
111026
+ /** ID of the [user identity](https://docs.seam.co/latest/api/user_identities) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
111027
+ user_identity_id?: string | undefined;
111028
+ /** ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials#connected-accounts) to which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
111029
+ connected_account_id: string;
111030
+ acs_credential_pool_id?: string | undefined;
111031
+ /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
111032
+ acs_system_id: string;
111033
+ /** ID of the parent [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
111034
+ parent_acs_credential_id?: string | undefined;
111035
+ /** Display name that corresponds to the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
111036
+ display_name: string;
111037
+ /** Access (PIN) code for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
111038
+ code?: (string | undefined) | null;
111039
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) can only be used once. If `true`, the code becomes invalid after the first use. */
111040
+ is_one_time_use?: boolean | undefined;
111041
+ /** Number of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
111042
+ card_number?: (string | undefined) | null;
111043
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been encoded onto a card. */
111044
+ is_issued?: boolean | undefined;
111045
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card. */
111046
+ issued_at?: (string | undefined) | null;
111047
+ /** Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`. */
111048
+ access_method: 'code' | 'card' | 'mobile_key';
111049
+ /** Brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. Supported values: `pti_card`, `brivo_credential`, `hid_credential`, `visionline_card`. */
111050
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential' | 'assa_abloy_vostio_key' | 'salto_space_key' | 'latch_access') | undefined;
111051
+ /** Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
111052
+ external_type_display_name?: string | undefined;
111053
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
111054
+ created_at: string;
111055
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
111056
+ workspace_id: string;
111057
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
111058
+ starts_at?: string | undefined;
111059
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
111060
+ ends_at?: string | undefined;
111061
+ /** Errors associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
111062
+ errors: {
111063
+ error_code: string;
111064
+ message: string;
111065
+ }[];
111066
+ /** Warnings associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
111067
+ warnings: ({
111068
+ /** Date and time at which Seam created the warning. */
111069
+ created_at: string;
111070
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
111071
+ message: string;
111072
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
111073
+ warning_code: 'waiting_to_be_issued';
111074
+ } | {
111075
+ /** Date and time at which Seam created the warning. */
111076
+ created_at: string;
111077
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
111078
+ message: string;
111079
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
111080
+ warning_code: 'schedule_externally_modified';
111081
+ } | {
111082
+ /** Date and time at which Seam created the warning. */
111083
+ created_at: string;
111084
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
111085
+ message: string;
111086
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
111087
+ warning_code: 'schedule_modified';
111088
+ } | {
111089
+ /** Date and time at which Seam created the warning. */
111090
+ created_at: string;
111091
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
111092
+ message: string;
111093
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
111094
+ warning_code: 'being_deleted';
111095
+ } | {
111096
+ /** Date and time at which Seam created the warning. */
111097
+ created_at: string;
111098
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
111099
+ message: string;
111100
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
111101
+ warning_code: 'unknown_issue_with_acs_credential';
111102
+ } | {
111103
+ /** Date and time at which Seam created the warning. */
111104
+ created_at: string;
111105
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
111106
+ message: string;
111107
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
111108
+ warning_code: 'needs_to_be_reissued';
111109
+ })[];
111110
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials). */
111111
+ is_multi_phone_sync_credential?: boolean | undefined;
111112
+ /** Indicates whether the latest state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been synced from Seam to the provider. */
111113
+ is_latest_desired_state_synced_with_provider?: (boolean | null) | undefined;
111114
+ /** Date and time at which the state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was most recently synced from Seam to the provider. */
111115
+ latest_desired_state_synced_with_provider_at?: (string | null) | undefined;
111116
+ /** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
111117
+ visionline_metadata?: {
111118
+ /** Card function type in the Visionline access system. */
111119
+ card_function_type: 'guest' | 'staff';
111120
+ /** IDs of the credentials to which you want to join. */
111121
+ joiner_acs_credential_ids?: string[] | undefined;
111122
+ /** Guest entrance IDs in the Visionline access system. */
111123
+ guest_acs_entrance_ids?: string[] | undefined;
111124
+ /** Common entrance IDs in the Visionline access system. */
111125
+ common_acs_entrance_ids?: string[] | undefined;
111126
+ /** Indicates whether the credential is valid. */
111127
+ is_valid?: boolean | undefined;
111128
+ /** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
111129
+ auto_join?: boolean | undefined;
111130
+ /** ID of the card in the Visionline access system. */
111131
+ card_id?: string | undefined;
111132
+ /** ID of the credential in the Visionline access system. */
111133
+ credential_id?: string | undefined;
111134
+ } | undefined;
111135
+ /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
111136
+ assa_abloy_vostio_metadata?: {
111137
+ /** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
111138
+ auto_join?: boolean | undefined;
111139
+ /** IDs of the guest entrances to override in the Vostio access system. */
111140
+ override_guest_acs_entrance_ids?: string[] | undefined;
111141
+ /** Key ID in the Vostio access system. */
111142
+ key_id?: string | undefined;
111143
+ /** Key issuing request ID in the Vostio access system. */
111144
+ key_issuing_request_id?: string | undefined;
111145
+ /** Names of the doors to which to grant access in the Vostio access system. */
111146
+ door_names?: string[] | undefined;
111147
+ /** Endpoint ID in the Vostio access system. */
111148
+ endpoint_id?: string | undefined;
111149
+ } | undefined;
111150
+ is_managed: false;
111151
+ }[] | undefined;
109883
111152
  action_attempts?: ({
109884
111153
  /** ID of the action attempt. */
109885
111154
  action_attempt_id: string;
@@ -174432,6 +175701,268 @@ type Routes = {
174432
175701
  /** Display name for the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
174433
175702
  display_name: string;
174434
175703
  }[] | undefined;
175704
+ acs_credentials?: {
175705
+ /** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175706
+ acs_credential_id: string;
175707
+ /** ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
175708
+ acs_user_id?: string | undefined;
175709
+ /** ID of the [user identity](https://docs.seam.co/latest/api/user_identities) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
175710
+ user_identity_id?: string | undefined;
175711
+ /** ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials#connected-accounts) to which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
175712
+ connected_account_id: string;
175713
+ acs_credential_pool_id?: string | undefined;
175714
+ /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175715
+ acs_system_id: string;
175716
+ /** ID of the parent [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175717
+ parent_acs_credential_id?: string | undefined;
175718
+ /** Display name that corresponds to the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
175719
+ display_name: string;
175720
+ /** Access (PIN) code for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175721
+ code?: (string | undefined) | null;
175722
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) can only be used once. If `true`, the code becomes invalid after the first use. */
175723
+ is_one_time_use?: boolean | undefined;
175724
+ /** Number of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175725
+ card_number?: (string | undefined) | null;
175726
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been encoded onto a card. */
175727
+ is_issued?: boolean | undefined;
175728
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card. */
175729
+ issued_at?: (string | undefined) | null;
175730
+ /** Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`. */
175731
+ access_method: 'code' | 'card' | 'mobile_key';
175732
+ /** Brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. Supported values: `pti_card`, `brivo_credential`, `hid_credential`, `visionline_card`. */
175733
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential' | 'assa_abloy_vostio_key' | 'salto_space_key' | 'latch_access') | undefined;
175734
+ /** Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
175735
+ external_type_display_name?: string | undefined;
175736
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
175737
+ created_at: string;
175738
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175739
+ workspace_id: string;
175740
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
175741
+ starts_at?: string | undefined;
175742
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
175743
+ ends_at?: string | undefined;
175744
+ /** Errors associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175745
+ errors: {
175746
+ error_code: string;
175747
+ message: string;
175748
+ }[];
175749
+ /** Warnings associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175750
+ warnings: ({
175751
+ /** Date and time at which Seam created the warning. */
175752
+ created_at: string;
175753
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175754
+ message: string;
175755
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175756
+ warning_code: 'waiting_to_be_issued';
175757
+ } | {
175758
+ /** Date and time at which Seam created the warning. */
175759
+ created_at: string;
175760
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175761
+ message: string;
175762
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175763
+ warning_code: 'schedule_externally_modified';
175764
+ } | {
175765
+ /** Date and time at which Seam created the warning. */
175766
+ created_at: string;
175767
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175768
+ message: string;
175769
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175770
+ warning_code: 'schedule_modified';
175771
+ } | {
175772
+ /** Date and time at which Seam created the warning. */
175773
+ created_at: string;
175774
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175775
+ message: string;
175776
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175777
+ warning_code: 'being_deleted';
175778
+ } | {
175779
+ /** Date and time at which Seam created the warning. */
175780
+ created_at: string;
175781
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175782
+ message: string;
175783
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175784
+ warning_code: 'unknown_issue_with_acs_credential';
175785
+ } | {
175786
+ /** Date and time at which Seam created the warning. */
175787
+ created_at: string;
175788
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175789
+ message: string;
175790
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175791
+ warning_code: 'needs_to_be_reissued';
175792
+ })[];
175793
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials). */
175794
+ is_multi_phone_sync_credential?: boolean | undefined;
175795
+ /** Indicates whether the latest state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been synced from Seam to the provider. */
175796
+ is_latest_desired_state_synced_with_provider?: (boolean | null) | undefined;
175797
+ /** Date and time at which the state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was most recently synced from Seam to the provider. */
175798
+ latest_desired_state_synced_with_provider_at?: (string | null) | undefined;
175799
+ /** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175800
+ visionline_metadata?: {
175801
+ /** Card function type in the Visionline access system. */
175802
+ card_function_type: 'guest' | 'staff';
175803
+ /** IDs of the credentials to which you want to join. */
175804
+ joiner_acs_credential_ids?: string[] | undefined;
175805
+ /** Guest entrance IDs in the Visionline access system. */
175806
+ guest_acs_entrance_ids?: string[] | undefined;
175807
+ /** Common entrance IDs in the Visionline access system. */
175808
+ common_acs_entrance_ids?: string[] | undefined;
175809
+ /** Indicates whether the credential is valid. */
175810
+ is_valid?: boolean | undefined;
175811
+ /** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
175812
+ auto_join?: boolean | undefined;
175813
+ /** ID of the card in the Visionline access system. */
175814
+ card_id?: string | undefined;
175815
+ /** ID of the credential in the Visionline access system. */
175816
+ credential_id?: string | undefined;
175817
+ } | undefined;
175818
+ /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175819
+ assa_abloy_vostio_metadata?: {
175820
+ /** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
175821
+ auto_join?: boolean | undefined;
175822
+ /** IDs of the guest entrances to override in the Vostio access system. */
175823
+ override_guest_acs_entrance_ids?: string[] | undefined;
175824
+ /** Key ID in the Vostio access system. */
175825
+ key_id?: string | undefined;
175826
+ /** Key issuing request ID in the Vostio access system. */
175827
+ key_issuing_request_id?: string | undefined;
175828
+ /** Names of the doors to which to grant access in the Vostio access system. */
175829
+ door_names?: string[] | undefined;
175830
+ /** Endpoint ID in the Vostio access system. */
175831
+ endpoint_id?: string | undefined;
175832
+ } | undefined;
175833
+ is_managed: true;
175834
+ }[] | undefined;
175835
+ unmanaged_acs_credentials?: {
175836
+ /** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175837
+ acs_credential_id: string;
175838
+ /** ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
175839
+ acs_user_id?: string | undefined;
175840
+ /** ID of the [user identity](https://docs.seam.co/latest/api/user_identities) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
175841
+ user_identity_id?: string | undefined;
175842
+ /** ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials#connected-accounts) to which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
175843
+ connected_account_id: string;
175844
+ acs_credential_pool_id?: string | undefined;
175845
+ /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175846
+ acs_system_id: string;
175847
+ /** ID of the parent [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175848
+ parent_acs_credential_id?: string | undefined;
175849
+ /** Display name that corresponds to the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
175850
+ display_name: string;
175851
+ /** Access (PIN) code for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175852
+ code?: (string | undefined) | null;
175853
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) can only be used once. If `true`, the code becomes invalid after the first use. */
175854
+ is_one_time_use?: boolean | undefined;
175855
+ /** Number of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175856
+ card_number?: (string | undefined) | null;
175857
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been encoded onto a card. */
175858
+ is_issued?: boolean | undefined;
175859
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card. */
175860
+ issued_at?: (string | undefined) | null;
175861
+ /** Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`. */
175862
+ access_method: 'code' | 'card' | 'mobile_key';
175863
+ /** Brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. Supported values: `pti_card`, `brivo_credential`, `hid_credential`, `visionline_card`. */
175864
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential' | 'assa_abloy_vostio_key' | 'salto_space_key' | 'latch_access') | undefined;
175865
+ /** Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
175866
+ external_type_display_name?: string | undefined;
175867
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
175868
+ created_at: string;
175869
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175870
+ workspace_id: string;
175871
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
175872
+ starts_at?: string | undefined;
175873
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
175874
+ ends_at?: string | undefined;
175875
+ /** Errors associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175876
+ errors: {
175877
+ error_code: string;
175878
+ message: string;
175879
+ }[];
175880
+ /** Warnings associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175881
+ warnings: ({
175882
+ /** Date and time at which Seam created the warning. */
175883
+ created_at: string;
175884
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175885
+ message: string;
175886
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175887
+ warning_code: 'waiting_to_be_issued';
175888
+ } | {
175889
+ /** Date and time at which Seam created the warning. */
175890
+ created_at: string;
175891
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175892
+ message: string;
175893
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175894
+ warning_code: 'schedule_externally_modified';
175895
+ } | {
175896
+ /** Date and time at which Seam created the warning. */
175897
+ created_at: string;
175898
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175899
+ message: string;
175900
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175901
+ warning_code: 'schedule_modified';
175902
+ } | {
175903
+ /** Date and time at which Seam created the warning. */
175904
+ created_at: string;
175905
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175906
+ message: string;
175907
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175908
+ warning_code: 'being_deleted';
175909
+ } | {
175910
+ /** Date and time at which Seam created the warning. */
175911
+ created_at: string;
175912
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175913
+ message: string;
175914
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175915
+ warning_code: 'unknown_issue_with_acs_credential';
175916
+ } | {
175917
+ /** Date and time at which Seam created the warning. */
175918
+ created_at: string;
175919
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175920
+ message: string;
175921
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175922
+ warning_code: 'needs_to_be_reissued';
175923
+ })[];
175924
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials). */
175925
+ is_multi_phone_sync_credential?: boolean | undefined;
175926
+ /** Indicates whether the latest state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been synced from Seam to the provider. */
175927
+ is_latest_desired_state_synced_with_provider?: (boolean | null) | undefined;
175928
+ /** Date and time at which the state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was most recently synced from Seam to the provider. */
175929
+ latest_desired_state_synced_with_provider_at?: (string | null) | undefined;
175930
+ /** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175931
+ visionline_metadata?: {
175932
+ /** Card function type in the Visionline access system. */
175933
+ card_function_type: 'guest' | 'staff';
175934
+ /** IDs of the credentials to which you want to join. */
175935
+ joiner_acs_credential_ids?: string[] | undefined;
175936
+ /** Guest entrance IDs in the Visionline access system. */
175937
+ guest_acs_entrance_ids?: string[] | undefined;
175938
+ /** Common entrance IDs in the Visionline access system. */
175939
+ common_acs_entrance_ids?: string[] | undefined;
175940
+ /** Indicates whether the credential is valid. */
175941
+ is_valid?: boolean | undefined;
175942
+ /** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
175943
+ auto_join?: boolean | undefined;
175944
+ /** ID of the card in the Visionline access system. */
175945
+ card_id?: string | undefined;
175946
+ /** ID of the credential in the Visionline access system. */
175947
+ credential_id?: string | undefined;
175948
+ } | undefined;
175949
+ /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175950
+ assa_abloy_vostio_metadata?: {
175951
+ /** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
175952
+ auto_join?: boolean | undefined;
175953
+ /** IDs of the guest entrances to override in the Vostio access system. */
175954
+ override_guest_acs_entrance_ids?: string[] | undefined;
175955
+ /** Key ID in the Vostio access system. */
175956
+ key_id?: string | undefined;
175957
+ /** Key issuing request ID in the Vostio access system. */
175958
+ key_issuing_request_id?: string | undefined;
175959
+ /** Names of the doors to which to grant access in the Vostio access system. */
175960
+ door_names?: string[] | undefined;
175961
+ /** Endpoint ID in the Vostio access system. */
175962
+ endpoint_id?: string | undefined;
175963
+ } | undefined;
175964
+ is_managed: false;
175965
+ }[] | undefined;
174435
175966
  action_attempts?: ({
174436
175967
  /** ID of the action attempt. */
174437
175968
  action_attempt_id: string;