@seamapi/types 1.486.0 → 1.488.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
  } & {
@@ -26846,6 +27466,31 @@ declare const batch: z.ZodObject<{
26846
27466
  event_type: "phone.deactivated";
26847
27467
  device_custom_metadata?: Record<string, string | boolean> | undefined;
26848
27468
  }>]>, "many">>;
27469
+ instant_keys: z.ZodOptional<z.ZodArray<z.ZodObject<{
27470
+ instant_key_id: z.ZodString;
27471
+ workspace_id: z.ZodString;
27472
+ created_at: z.ZodString;
27473
+ instant_key_url: z.ZodString;
27474
+ client_session_id: z.ZodString;
27475
+ user_identity_id: z.ZodString;
27476
+ expires_at: z.ZodString;
27477
+ }, "strip", z.ZodTypeAny, {
27478
+ workspace_id: string;
27479
+ created_at: string;
27480
+ user_identity_id: string;
27481
+ instant_key_url: string;
27482
+ client_session_id: string;
27483
+ expires_at: string;
27484
+ instant_key_id: string;
27485
+ }, {
27486
+ workspace_id: string;
27487
+ created_at: string;
27488
+ user_identity_id: string;
27489
+ instant_key_url: string;
27490
+ client_session_id: string;
27491
+ expires_at: string;
27492
+ instant_key_id: string;
27493
+ }>, "many">>;
26849
27494
  }, "strip", z.ZodTypeAny, {
26850
27495
  batch_type: "spaces" | "access_grants" | "access_methods" | "workspaces";
26851
27496
  spaces?: {
@@ -27872,6 +28517,152 @@ declare const batch: z.ZodObject<{
27872
28517
  acs_system_id: string;
27873
28518
  acs_encoder_id: string;
27874
28519
  }[] | undefined;
28520
+ acs_credentials?: {
28521
+ display_name: string;
28522
+ workspace_id: string;
28523
+ created_at: string;
28524
+ errors: {
28525
+ message: string;
28526
+ error_code: string;
28527
+ }[];
28528
+ connected_account_id: string;
28529
+ warnings: ({
28530
+ message: string;
28531
+ created_at: string;
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;
28600
+ }[];
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;
28628
+ acs_system_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;
28665
+ }[] | undefined;
27875
28666
  action_attempts?: ({
27876
28667
  status: "pending";
27877
28668
  action_attempt_id: string;
@@ -29897,6 +30688,15 @@ declare const batch: z.ZodObject<{
29897
30688
  event_type: "phone.deactivated";
29898
30689
  device_custom_metadata?: Record<string, string | boolean> | undefined;
29899
30690
  })[] | undefined;
30691
+ instant_keys?: {
30692
+ workspace_id: string;
30693
+ created_at: string;
30694
+ user_identity_id: string;
30695
+ instant_key_url: string;
30696
+ client_session_id: string;
30697
+ expires_at: string;
30698
+ instant_key_id: string;
30699
+ }[] | undefined;
29900
30700
  }, {
29901
30701
  batch_type: "spaces" | "access_grants" | "access_methods" | "workspaces";
29902
30702
  spaces?: {
@@ -30923,6 +31723,152 @@ declare const batch: z.ZodObject<{
30923
31723
  acs_system_id: string;
30924
31724
  acs_encoder_id: string;
30925
31725
  }[] | undefined;
31726
+ acs_credentials?: {
31727
+ display_name: string;
31728
+ workspace_id: string;
31729
+ created_at: string;
31730
+ errors: {
31731
+ message: string;
31732
+ error_code: string;
31733
+ }[];
31734
+ connected_account_id: string;
31735
+ warnings: ({
31736
+ message: string;
31737
+ created_at: string;
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;
31806
+ }[];
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;
31834
+ acs_system_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;
31871
+ }[] | undefined;
30926
31872
  action_attempts?: ({
30927
31873
  status: "pending";
30928
31874
  action_attempt_id: string;
@@ -32948,6 +33894,15 @@ declare const batch: z.ZodObject<{
32948
33894
  event_type: "phone.deactivated";
32949
33895
  device_custom_metadata?: Record<string, string | boolean> | undefined;
32950
33896
  })[] | undefined;
33897
+ instant_keys?: {
33898
+ workspace_id: string;
33899
+ created_at: string;
33900
+ user_identity_id: string;
33901
+ instant_key_url: string;
33902
+ client_session_id: string;
33903
+ expires_at: string;
33904
+ instant_key_id: string;
33905
+ }[] | undefined;
32951
33906
  }>;
32952
33907
  type Batch = z.infer<typeof batch>;
32953
33908
 
@@ -63564,6 +64519,12 @@ declare const _default: {
63564
64519
  };
63565
64520
  type: string;
63566
64521
  };
64522
+ acs_credentials: {
64523
+ items: {
64524
+ $ref: string;
64525
+ };
64526
+ type: string;
64527
+ };
63567
64528
  acs_encoders: {
63568
64529
  items: {
63569
64530
  $ref: string;
@@ -63622,6 +64583,12 @@ declare const _default: {
63622
64583
  };
63623
64584
  type: string;
63624
64585
  };
64586
+ instant_keys: {
64587
+ items: {
64588
+ $ref: string;
64589
+ };
64590
+ type: string;
64591
+ };
63625
64592
  spaces: {
63626
64593
  items: {
63627
64594
  $ref: string;
@@ -63634,6 +64601,12 @@ declare const _default: {
63634
64601
  };
63635
64602
  type: string;
63636
64603
  };
64604
+ unmanaged_acs_credentials: {
64605
+ items: {
64606
+ $ref: string;
64607
+ };
64608
+ type: string;
64609
+ };
63637
64610
  unmanaged_acs_users: {
63638
64611
  items: {
63639
64612
  $ref: string;
@@ -63767,6 +64740,12 @@ declare const _default: {
63767
64740
  };
63768
64741
  type: string;
63769
64742
  };
64743
+ acs_credentials: {
64744
+ items: {
64745
+ $ref: string;
64746
+ };
64747
+ type: string;
64748
+ };
63770
64749
  acs_encoders: {
63771
64750
  items: {
63772
64751
  $ref: string;
@@ -63825,6 +64804,12 @@ declare const _default: {
63825
64804
  };
63826
64805
  type: string;
63827
64806
  };
64807
+ instant_keys: {
64808
+ items: {
64809
+ $ref: string;
64810
+ };
64811
+ type: string;
64812
+ };
63828
64813
  spaces: {
63829
64814
  items: {
63830
64815
  $ref: string;
@@ -63837,6 +64822,12 @@ declare const _default: {
63837
64822
  };
63838
64823
  type: string;
63839
64824
  };
64825
+ unmanaged_acs_credentials: {
64826
+ items: {
64827
+ $ref: string;
64828
+ };
64829
+ type: string;
64830
+ };
63840
64831
  unmanaged_acs_users: {
63841
64832
  items: {
63842
64833
  $ref: string;
@@ -94009,6 +95000,12 @@ declare const _default: {
94009
95000
  };
94010
95001
  type: string;
94011
95002
  };
95003
+ acs_credentials: {
95004
+ items: {
95005
+ $ref: string;
95006
+ };
95007
+ type: string;
95008
+ };
94012
95009
  acs_encoders: {
94013
95010
  items: {
94014
95011
  $ref: string;
@@ -94067,6 +95064,12 @@ declare const _default: {
94067
95064
  };
94068
95065
  type: string;
94069
95066
  };
95067
+ instant_keys: {
95068
+ items: {
95069
+ $ref: string;
95070
+ };
95071
+ type: string;
95072
+ };
94070
95073
  spaces: {
94071
95074
  items: {
94072
95075
  $ref: string;
@@ -94079,6 +95082,12 @@ declare const _default: {
94079
95082
  };
94080
95083
  type: string;
94081
95084
  };
95085
+ unmanaged_acs_credentials: {
95086
+ items: {
95087
+ $ref: string;
95088
+ };
95089
+ type: string;
95090
+ };
94082
95091
  unmanaged_acs_users: {
94083
95092
  items: {
94084
95093
  $ref: string;
@@ -94187,6 +95196,12 @@ declare const _default: {
94187
95196
  };
94188
95197
  type: string;
94189
95198
  };
95199
+ acs_credentials: {
95200
+ items: {
95201
+ $ref: string;
95202
+ };
95203
+ type: string;
95204
+ };
94190
95205
  acs_encoders: {
94191
95206
  items: {
94192
95207
  $ref: string;
@@ -94245,6 +95260,12 @@ declare const _default: {
94245
95260
  };
94246
95261
  type: string;
94247
95262
  };
95263
+ instant_keys: {
95264
+ items: {
95265
+ $ref: string;
95266
+ };
95267
+ type: string;
95268
+ };
94248
95269
  spaces: {
94249
95270
  items: {
94250
95271
  $ref: string;
@@ -94257,6 +95278,12 @@ declare const _default: {
94257
95278
  };
94258
95279
  type: string;
94259
95280
  };
95281
+ unmanaged_acs_credentials: {
95282
+ items: {
95283
+ $ref: string;
95284
+ };
95285
+ type: string;
95286
+ };
94260
95287
  unmanaged_acs_users: {
94261
95288
  items: {
94262
95289
  $ref: string;
@@ -109813,6 +110840,268 @@ type Routes = {
109813
110840
  /** Display name for the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
109814
110841
  display_name: string;
109815
110842
  }[] | undefined;
110843
+ acs_credentials?: {
110844
+ /** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
110845
+ acs_credential_id: string;
110846
+ /** 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. */
110847
+ acs_user_id?: string | undefined;
110848
+ /** 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. */
110849
+ user_identity_id?: string | undefined;
110850
+ /** 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. */
110851
+ connected_account_id: string;
110852
+ acs_credential_pool_id?: string | undefined;
110853
+ /** 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). */
110854
+ acs_system_id: string;
110855
+ /** ID of the parent [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
110856
+ parent_acs_credential_id?: string | undefined;
110857
+ /** Display name that corresponds to the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
110858
+ display_name: string;
110859
+ /** Access (PIN) code for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
110860
+ code?: (string | undefined) | null;
110861
+ /** 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. */
110862
+ is_one_time_use?: boolean | undefined;
110863
+ /** Number of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
110864
+ card_number?: (string | undefined) | null;
110865
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been encoded onto a card. */
110866
+ is_issued?: boolean | undefined;
110867
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card. */
110868
+ issued_at?: (string | undefined) | null;
110869
+ /** Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`. */
110870
+ access_method: 'code' | 'card' | 'mobile_key';
110871
+ /** 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`. */
110872
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential' | 'assa_abloy_vostio_key' | 'salto_space_key' | 'latch_access') | undefined;
110873
+ /** Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
110874
+ external_type_display_name?: string | undefined;
110875
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
110876
+ created_at: string;
110877
+ /** 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). */
110878
+ workspace_id: string;
110879
+ /** 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. */
110880
+ starts_at?: string | undefined;
110881
+ /** 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`. */
110882
+ ends_at?: string | undefined;
110883
+ /** Errors associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
110884
+ errors: {
110885
+ error_code: string;
110886
+ message: string;
110887
+ }[];
110888
+ /** Warnings associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
110889
+ warnings: ({
110890
+ /** Date and time at which Seam created the warning. */
110891
+ created_at: string;
110892
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
110893
+ message: string;
110894
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
110895
+ warning_code: 'waiting_to_be_issued';
110896
+ } | {
110897
+ /** Date and time at which Seam created the warning. */
110898
+ created_at: string;
110899
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
110900
+ message: string;
110901
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
110902
+ warning_code: 'schedule_externally_modified';
110903
+ } | {
110904
+ /** Date and time at which Seam created the warning. */
110905
+ created_at: string;
110906
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
110907
+ message: string;
110908
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
110909
+ warning_code: 'schedule_modified';
110910
+ } | {
110911
+ /** Date and time at which Seam created the warning. */
110912
+ created_at: string;
110913
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
110914
+ message: string;
110915
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
110916
+ warning_code: 'being_deleted';
110917
+ } | {
110918
+ /** Date and time at which Seam created the warning. */
110919
+ created_at: string;
110920
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
110921
+ message: string;
110922
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
110923
+ warning_code: 'unknown_issue_with_acs_credential';
110924
+ } | {
110925
+ /** Date and time at which Seam created the warning. */
110926
+ created_at: string;
110927
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
110928
+ message: string;
110929
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
110930
+ warning_code: 'needs_to_be_reissued';
110931
+ })[];
110932
+ /** 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). */
110933
+ is_multi_phone_sync_credential?: boolean | undefined;
110934
+ /** 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. */
110935
+ is_latest_desired_state_synced_with_provider?: (boolean | null) | undefined;
110936
+ /** 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. */
110937
+ latest_desired_state_synced_with_provider_at?: (string | null) | undefined;
110938
+ /** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
110939
+ visionline_metadata?: {
110940
+ /** Card function type in the Visionline access system. */
110941
+ card_function_type: 'guest' | 'staff';
110942
+ /** IDs of the credentials to which you want to join. */
110943
+ joiner_acs_credential_ids?: string[] | undefined;
110944
+ /** Guest entrance IDs in the Visionline access system. */
110945
+ guest_acs_entrance_ids?: string[] | undefined;
110946
+ /** Common entrance IDs in the Visionline access system. */
110947
+ common_acs_entrance_ids?: string[] | undefined;
110948
+ /** Indicates whether the credential is valid. */
110949
+ is_valid?: boolean | undefined;
110950
+ /** 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. */
110951
+ auto_join?: boolean | undefined;
110952
+ /** ID of the card in the Visionline access system. */
110953
+ card_id?: string | undefined;
110954
+ /** ID of the credential in the Visionline access system. */
110955
+ credential_id?: string | undefined;
110956
+ } | undefined;
110957
+ /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
110958
+ assa_abloy_vostio_metadata?: {
110959
+ /** 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. */
110960
+ auto_join?: boolean | undefined;
110961
+ /** IDs of the guest entrances to override in the Vostio access system. */
110962
+ override_guest_acs_entrance_ids?: string[] | undefined;
110963
+ /** Key ID in the Vostio access system. */
110964
+ key_id?: string | undefined;
110965
+ /** Key issuing request ID in the Vostio access system. */
110966
+ key_issuing_request_id?: string | undefined;
110967
+ /** Names of the doors to which to grant access in the Vostio access system. */
110968
+ door_names?: string[] | undefined;
110969
+ /** Endpoint ID in the Vostio access system. */
110970
+ endpoint_id?: string | undefined;
110971
+ } | undefined;
110972
+ is_managed: true;
110973
+ }[] | undefined;
110974
+ unmanaged_acs_credentials?: {
110975
+ /** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
110976
+ acs_credential_id: string;
110977
+ /** 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. */
110978
+ acs_user_id?: string | undefined;
110979
+ /** 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. */
110980
+ user_identity_id?: string | undefined;
110981
+ /** 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. */
110982
+ connected_account_id: string;
110983
+ acs_credential_pool_id?: string | undefined;
110984
+ /** 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). */
110985
+ acs_system_id: string;
110986
+ /** ID of the parent [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
110987
+ parent_acs_credential_id?: string | undefined;
110988
+ /** Display name that corresponds to the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
110989
+ display_name: string;
110990
+ /** Access (PIN) code for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
110991
+ code?: (string | undefined) | null;
110992
+ /** 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. */
110993
+ is_one_time_use?: boolean | undefined;
110994
+ /** Number of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
110995
+ card_number?: (string | undefined) | null;
110996
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been encoded onto a card. */
110997
+ is_issued?: boolean | undefined;
110998
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card. */
110999
+ issued_at?: (string | undefined) | null;
111000
+ /** Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`. */
111001
+ access_method: 'code' | 'card' | 'mobile_key';
111002
+ /** 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`. */
111003
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential' | 'assa_abloy_vostio_key' | 'salto_space_key' | 'latch_access') | undefined;
111004
+ /** Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
111005
+ external_type_display_name?: string | undefined;
111006
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
111007
+ created_at: string;
111008
+ /** 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). */
111009
+ workspace_id: string;
111010
+ /** 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. */
111011
+ starts_at?: string | undefined;
111012
+ /** 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`. */
111013
+ ends_at?: string | undefined;
111014
+ /** Errors associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
111015
+ errors: {
111016
+ error_code: string;
111017
+ message: string;
111018
+ }[];
111019
+ /** Warnings associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
111020
+ warnings: ({
111021
+ /** Date and time at which Seam created the warning. */
111022
+ created_at: string;
111023
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
111024
+ message: string;
111025
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
111026
+ warning_code: 'waiting_to_be_issued';
111027
+ } | {
111028
+ /** Date and time at which Seam created the warning. */
111029
+ created_at: string;
111030
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
111031
+ message: string;
111032
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
111033
+ warning_code: 'schedule_externally_modified';
111034
+ } | {
111035
+ /** Date and time at which Seam created the warning. */
111036
+ created_at: string;
111037
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
111038
+ message: string;
111039
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
111040
+ warning_code: 'schedule_modified';
111041
+ } | {
111042
+ /** Date and time at which Seam created the warning. */
111043
+ created_at: string;
111044
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
111045
+ message: string;
111046
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
111047
+ warning_code: 'being_deleted';
111048
+ } | {
111049
+ /** Date and time at which Seam created the warning. */
111050
+ created_at: string;
111051
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
111052
+ message: string;
111053
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
111054
+ warning_code: 'unknown_issue_with_acs_credential';
111055
+ } | {
111056
+ /** Date and time at which Seam created the warning. */
111057
+ created_at: string;
111058
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
111059
+ message: string;
111060
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
111061
+ warning_code: 'needs_to_be_reissued';
111062
+ })[];
111063
+ /** 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). */
111064
+ is_multi_phone_sync_credential?: boolean | undefined;
111065
+ /** 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. */
111066
+ is_latest_desired_state_synced_with_provider?: (boolean | null) | undefined;
111067
+ /** 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. */
111068
+ latest_desired_state_synced_with_provider_at?: (string | null) | undefined;
111069
+ /** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
111070
+ visionline_metadata?: {
111071
+ /** Card function type in the Visionline access system. */
111072
+ card_function_type: 'guest' | 'staff';
111073
+ /** IDs of the credentials to which you want to join. */
111074
+ joiner_acs_credential_ids?: string[] | undefined;
111075
+ /** Guest entrance IDs in the Visionline access system. */
111076
+ guest_acs_entrance_ids?: string[] | undefined;
111077
+ /** Common entrance IDs in the Visionline access system. */
111078
+ common_acs_entrance_ids?: string[] | undefined;
111079
+ /** Indicates whether the credential is valid. */
111080
+ is_valid?: boolean | undefined;
111081
+ /** 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. */
111082
+ auto_join?: boolean | undefined;
111083
+ /** ID of the card in the Visionline access system. */
111084
+ card_id?: string | undefined;
111085
+ /** ID of the credential in the Visionline access system. */
111086
+ credential_id?: string | undefined;
111087
+ } | undefined;
111088
+ /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
111089
+ assa_abloy_vostio_metadata?: {
111090
+ /** 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. */
111091
+ auto_join?: boolean | undefined;
111092
+ /** IDs of the guest entrances to override in the Vostio access system. */
111093
+ override_guest_acs_entrance_ids?: string[] | undefined;
111094
+ /** Key ID in the Vostio access system. */
111095
+ key_id?: string | undefined;
111096
+ /** Key issuing request ID in the Vostio access system. */
111097
+ key_issuing_request_id?: string | undefined;
111098
+ /** Names of the doors to which to grant access in the Vostio access system. */
111099
+ door_names?: string[] | undefined;
111100
+ /** Endpoint ID in the Vostio access system. */
111101
+ endpoint_id?: string | undefined;
111102
+ } | undefined;
111103
+ is_managed: false;
111104
+ }[] | undefined;
109816
111105
  action_attempts?: ({
109817
111106
  /** ID of the action attempt. */
109818
111107
  action_attempt_id: string;
@@ -113648,6 +114937,22 @@ type Routes = {
113648
114937
  } | undefined;
113649
114938
  event_type: 'phone.deactivated';
113650
114939
  })[] | undefined;
114940
+ instant_keys?: {
114941
+ /** ID of the Instant Key. */
114942
+ instant_key_id: string;
114943
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the Instant Key. */
114944
+ workspace_id: string;
114945
+ /** Date and time at which the Instant Key was created. */
114946
+ created_at: string;
114947
+ /** Shareable URL for the Instant Key. Use the URL to deliver the Instant Key to your user through a link in a text message or email or by embedding it in your web app. */
114948
+ instant_key_url: string;
114949
+ /** ID of the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens) associated with the Instant Key. */
114950
+ client_session_id: string;
114951
+ /** ID of the user identity associated with the Instant Key. */
114952
+ user_identity_id: string;
114953
+ /** Date and time at which the Instant Key expires. */
114954
+ expires_at: string;
114955
+ }[] | undefined;
113651
114956
  };
113652
114957
  };
113653
114958
  };
@@ -174349,6 +175654,268 @@ type Routes = {
174349
175654
  /** Display name for the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
174350
175655
  display_name: string;
174351
175656
  }[] | undefined;
175657
+ acs_credentials?: {
175658
+ /** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175659
+ acs_credential_id: string;
175660
+ /** 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. */
175661
+ acs_user_id?: string | undefined;
175662
+ /** 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. */
175663
+ user_identity_id?: string | undefined;
175664
+ /** 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. */
175665
+ connected_account_id: string;
175666
+ acs_credential_pool_id?: string | undefined;
175667
+ /** 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). */
175668
+ acs_system_id: string;
175669
+ /** ID of the parent [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175670
+ parent_acs_credential_id?: string | undefined;
175671
+ /** Display name that corresponds to the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
175672
+ display_name: string;
175673
+ /** Access (PIN) code for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175674
+ code?: (string | undefined) | null;
175675
+ /** 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. */
175676
+ is_one_time_use?: boolean | undefined;
175677
+ /** Number of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175678
+ card_number?: (string | undefined) | null;
175679
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been encoded onto a card. */
175680
+ is_issued?: boolean | undefined;
175681
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card. */
175682
+ issued_at?: (string | undefined) | null;
175683
+ /** Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`. */
175684
+ access_method: 'code' | 'card' | 'mobile_key';
175685
+ /** 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`. */
175686
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential' | 'assa_abloy_vostio_key' | 'salto_space_key' | 'latch_access') | undefined;
175687
+ /** Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
175688
+ external_type_display_name?: string | undefined;
175689
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
175690
+ created_at: string;
175691
+ /** 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). */
175692
+ workspace_id: string;
175693
+ /** 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. */
175694
+ starts_at?: string | undefined;
175695
+ /** 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`. */
175696
+ ends_at?: string | undefined;
175697
+ /** Errors associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175698
+ errors: {
175699
+ error_code: string;
175700
+ message: string;
175701
+ }[];
175702
+ /** Warnings associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175703
+ warnings: ({
175704
+ /** Date and time at which Seam created the warning. */
175705
+ created_at: string;
175706
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175707
+ message: string;
175708
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175709
+ warning_code: 'waiting_to_be_issued';
175710
+ } | {
175711
+ /** Date and time at which Seam created the warning. */
175712
+ created_at: string;
175713
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175714
+ message: string;
175715
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175716
+ warning_code: 'schedule_externally_modified';
175717
+ } | {
175718
+ /** Date and time at which Seam created the warning. */
175719
+ created_at: string;
175720
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175721
+ message: string;
175722
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175723
+ warning_code: 'schedule_modified';
175724
+ } | {
175725
+ /** Date and time at which Seam created the warning. */
175726
+ created_at: string;
175727
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175728
+ message: string;
175729
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175730
+ warning_code: 'being_deleted';
175731
+ } | {
175732
+ /** Date and time at which Seam created the warning. */
175733
+ created_at: string;
175734
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175735
+ message: string;
175736
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175737
+ warning_code: 'unknown_issue_with_acs_credential';
175738
+ } | {
175739
+ /** Date and time at which Seam created the warning. */
175740
+ created_at: string;
175741
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175742
+ message: string;
175743
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175744
+ warning_code: 'needs_to_be_reissued';
175745
+ })[];
175746
+ /** 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). */
175747
+ is_multi_phone_sync_credential?: boolean | undefined;
175748
+ /** 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. */
175749
+ is_latest_desired_state_synced_with_provider?: (boolean | null) | undefined;
175750
+ /** 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. */
175751
+ latest_desired_state_synced_with_provider_at?: (string | null) | undefined;
175752
+ /** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175753
+ visionline_metadata?: {
175754
+ /** Card function type in the Visionline access system. */
175755
+ card_function_type: 'guest' | 'staff';
175756
+ /** IDs of the credentials to which you want to join. */
175757
+ joiner_acs_credential_ids?: string[] | undefined;
175758
+ /** Guest entrance IDs in the Visionline access system. */
175759
+ guest_acs_entrance_ids?: string[] | undefined;
175760
+ /** Common entrance IDs in the Visionline access system. */
175761
+ common_acs_entrance_ids?: string[] | undefined;
175762
+ /** Indicates whether the credential is valid. */
175763
+ is_valid?: boolean | undefined;
175764
+ /** 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. */
175765
+ auto_join?: boolean | undefined;
175766
+ /** ID of the card in the Visionline access system. */
175767
+ card_id?: string | undefined;
175768
+ /** ID of the credential in the Visionline access system. */
175769
+ credential_id?: string | undefined;
175770
+ } | undefined;
175771
+ /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175772
+ assa_abloy_vostio_metadata?: {
175773
+ /** 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. */
175774
+ auto_join?: boolean | undefined;
175775
+ /** IDs of the guest entrances to override in the Vostio access system. */
175776
+ override_guest_acs_entrance_ids?: string[] | undefined;
175777
+ /** Key ID in the Vostio access system. */
175778
+ key_id?: string | undefined;
175779
+ /** Key issuing request ID in the Vostio access system. */
175780
+ key_issuing_request_id?: string | undefined;
175781
+ /** Names of the doors to which to grant access in the Vostio access system. */
175782
+ door_names?: string[] | undefined;
175783
+ /** Endpoint ID in the Vostio access system. */
175784
+ endpoint_id?: string | undefined;
175785
+ } | undefined;
175786
+ is_managed: true;
175787
+ }[] | undefined;
175788
+ unmanaged_acs_credentials?: {
175789
+ /** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175790
+ acs_credential_id: string;
175791
+ /** 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. */
175792
+ acs_user_id?: string | undefined;
175793
+ /** 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. */
175794
+ user_identity_id?: string | undefined;
175795
+ /** 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. */
175796
+ connected_account_id: string;
175797
+ acs_credential_pool_id?: string | undefined;
175798
+ /** 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). */
175799
+ acs_system_id: string;
175800
+ /** ID of the parent [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175801
+ parent_acs_credential_id?: string | undefined;
175802
+ /** Display name that corresponds to the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
175803
+ display_name: string;
175804
+ /** Access (PIN) code for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175805
+ code?: (string | undefined) | null;
175806
+ /** 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. */
175807
+ is_one_time_use?: boolean | undefined;
175808
+ /** Number of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175809
+ card_number?: (string | undefined) | null;
175810
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been encoded onto a card. */
175811
+ is_issued?: boolean | undefined;
175812
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card. */
175813
+ issued_at?: (string | undefined) | null;
175814
+ /** Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`. */
175815
+ access_method: 'code' | 'card' | 'mobile_key';
175816
+ /** 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`. */
175817
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential' | 'assa_abloy_vostio_key' | 'salto_space_key' | 'latch_access') | undefined;
175818
+ /** Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
175819
+ external_type_display_name?: string | undefined;
175820
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
175821
+ created_at: string;
175822
+ /** 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). */
175823
+ workspace_id: string;
175824
+ /** 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. */
175825
+ starts_at?: string | undefined;
175826
+ /** 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`. */
175827
+ ends_at?: string | undefined;
175828
+ /** Errors associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175829
+ errors: {
175830
+ error_code: string;
175831
+ message: string;
175832
+ }[];
175833
+ /** Warnings associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175834
+ warnings: ({
175835
+ /** Date and time at which Seam created the warning. */
175836
+ created_at: string;
175837
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175838
+ message: string;
175839
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175840
+ warning_code: 'waiting_to_be_issued';
175841
+ } | {
175842
+ /** Date and time at which Seam created the warning. */
175843
+ created_at: string;
175844
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175845
+ message: string;
175846
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175847
+ warning_code: 'schedule_externally_modified';
175848
+ } | {
175849
+ /** Date and time at which Seam created the warning. */
175850
+ created_at: string;
175851
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175852
+ message: string;
175853
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175854
+ warning_code: 'schedule_modified';
175855
+ } | {
175856
+ /** Date and time at which Seam created the warning. */
175857
+ created_at: string;
175858
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175859
+ message: string;
175860
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175861
+ warning_code: 'being_deleted';
175862
+ } | {
175863
+ /** Date and time at which Seam created the warning. */
175864
+ created_at: string;
175865
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175866
+ message: string;
175867
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175868
+ warning_code: 'unknown_issue_with_acs_credential';
175869
+ } | {
175870
+ /** Date and time at which Seam created the warning. */
175871
+ created_at: string;
175872
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175873
+ message: string;
175874
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175875
+ warning_code: 'needs_to_be_reissued';
175876
+ })[];
175877
+ /** 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). */
175878
+ is_multi_phone_sync_credential?: boolean | undefined;
175879
+ /** 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. */
175880
+ is_latest_desired_state_synced_with_provider?: (boolean | null) | undefined;
175881
+ /** 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. */
175882
+ latest_desired_state_synced_with_provider_at?: (string | null) | undefined;
175883
+ /** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175884
+ visionline_metadata?: {
175885
+ /** Card function type in the Visionline access system. */
175886
+ card_function_type: 'guest' | 'staff';
175887
+ /** IDs of the credentials to which you want to join. */
175888
+ joiner_acs_credential_ids?: string[] | undefined;
175889
+ /** Guest entrance IDs in the Visionline access system. */
175890
+ guest_acs_entrance_ids?: string[] | undefined;
175891
+ /** Common entrance IDs in the Visionline access system. */
175892
+ common_acs_entrance_ids?: string[] | undefined;
175893
+ /** Indicates whether the credential is valid. */
175894
+ is_valid?: boolean | undefined;
175895
+ /** 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. */
175896
+ auto_join?: boolean | undefined;
175897
+ /** ID of the card in the Visionline access system. */
175898
+ card_id?: string | undefined;
175899
+ /** ID of the credential in the Visionline access system. */
175900
+ credential_id?: string | undefined;
175901
+ } | undefined;
175902
+ /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175903
+ assa_abloy_vostio_metadata?: {
175904
+ /** 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. */
175905
+ auto_join?: boolean | undefined;
175906
+ /** IDs of the guest entrances to override in the Vostio access system. */
175907
+ override_guest_acs_entrance_ids?: string[] | undefined;
175908
+ /** Key ID in the Vostio access system. */
175909
+ key_id?: string | undefined;
175910
+ /** Key issuing request ID in the Vostio access system. */
175911
+ key_issuing_request_id?: string | undefined;
175912
+ /** Names of the doors to which to grant access in the Vostio access system. */
175913
+ door_names?: string[] | undefined;
175914
+ /** Endpoint ID in the Vostio access system. */
175915
+ endpoint_id?: string | undefined;
175916
+ } | undefined;
175917
+ is_managed: false;
175918
+ }[] | undefined;
174352
175919
  action_attempts?: ({
174353
175920
  /** ID of the action attempt. */
174354
175921
  action_attempt_id: string;
@@ -178184,6 +179751,22 @@ type Routes = {
178184
179751
  } | undefined;
178185
179752
  event_type: 'phone.deactivated';
178186
179753
  })[] | undefined;
179754
+ instant_keys?: {
179755
+ /** ID of the Instant Key. */
179756
+ instant_key_id: string;
179757
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the Instant Key. */
179758
+ workspace_id: string;
179759
+ /** Date and time at which the Instant Key was created. */
179760
+ created_at: string;
179761
+ /** Shareable URL for the Instant Key. Use the URL to deliver the Instant Key to your user through a link in a text message or email or by embedding it in your web app. */
179762
+ instant_key_url: string;
179763
+ /** ID of the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens) associated with the Instant Key. */
179764
+ client_session_id: string;
179765
+ /** ID of the user identity associated with the Instant Key. */
179766
+ user_identity_id: string;
179767
+ /** Date and time at which the Instant Key expires. */
179768
+ expires_at: string;
179769
+ }[] | undefined;
178187
179770
  };
178188
179771
  };
178189
179772
  };