@seamapi/types 1.286.1 → 1.286.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +205 -60
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +458 -211
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +14 -14
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +18 -18
- package/lib/seam/connect/models/action-attempts/action-attempt.js +4 -4
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/{encode-card.d.ts → encode-credential.d.ts} +11 -11
- package/lib/seam/connect/models/action-attempts/{encode-card.js → encode-credential.js} +6 -6
- package/lib/seam/connect/models/action-attempts/encode-credential.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/{scan-card.d.ts → scan-credential.d.ts} +11 -11
- package/lib/seam/connect/models/action-attempts/{scan-card.js → scan-credential.js} +7 -7
- package/lib/seam/connect/models/action-attempts/scan-credential.js.map +1 -0
- package/lib/seam/connect/models/devices/device-metadata.d.ts +13 -0
- package/lib/seam/connect/models/devices/device-metadata.js +3 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +5 -3
- package/lib/seam/connect/models/devices/device-type.js +1 -0
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +22 -3
- package/lib/seam/connect/models/devices/phone.d.ts +14 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +16 -3
- package/lib/seam/connect/models/events/acs/credentials.d.ts +61 -0
- package/lib/seam/connect/models/events/acs/credentials.js +9 -1
- package/lib/seam/connect/models/events/acs/credentials.js.map +1 -1
- package/lib/seam/connect/models/events/acs/index.d.ts +30 -0
- package/lib/seam/connect/models/events/action-attempts.d.ts +177 -0
- package/lib/seam/connect/models/events/action-attempts.js +16 -0
- package/lib/seam/connect/models/events/action-attempts.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +147 -1
- package/lib/seam/connect/models/events/seam-event.js +2 -0
- package/lib/seam/connect/models/events/seam-event.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +24 -2
- package/lib/seam/connect/openapi.js +133 -37
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +217 -170
- package/package.json +1 -1
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +4 -4
- package/src/lib/seam/connect/models/action-attempts/{encode-card.ts → encode-credential.ts} +8 -6
- package/src/lib/seam/connect/models/action-attempts/{scan-card.ts → scan-credential.ts} +9 -7
- package/src/lib/seam/connect/models/devices/device-metadata.ts +3 -0
- package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
- package/src/lib/seam/connect/models/events/acs/credentials.ts +10 -1
- package/src/lib/seam/connect/models/events/action-attempts.ts +19 -0
- package/src/lib/seam/connect/models/events/seam-event.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +138 -37
- package/src/lib/seam/connect/route-types.ts +245 -170
- package/lib/seam/connect/models/action-attempts/encode-card.js.map +0 -1
- package/lib/seam/connect/models/action-attempts/scan-card.js.map +0 -1
|
@@ -594,6 +594,36 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
594
594
|
}, {
|
|
595
595
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
596
596
|
acs_system_id: z.ZodString;
|
|
597
|
+
}>, {
|
|
598
|
+
acs_credential_id: z.ZodString;
|
|
599
|
+
}>, {
|
|
600
|
+
event_type: z.ZodLiteral<"acs_credential.issued">;
|
|
601
|
+
}>, "strip", z.ZodTypeAny, {
|
|
602
|
+
created_at: string;
|
|
603
|
+
workspace_id: string;
|
|
604
|
+
acs_system_id: string;
|
|
605
|
+
acs_credential_id: string;
|
|
606
|
+
event_id: string;
|
|
607
|
+
occurred_at: string;
|
|
608
|
+
event_type: "acs_credential.issued";
|
|
609
|
+
connected_account_id?: string | undefined;
|
|
610
|
+
}, {
|
|
611
|
+
created_at: string;
|
|
612
|
+
workspace_id: string;
|
|
613
|
+
acs_system_id: string;
|
|
614
|
+
acs_credential_id: string;
|
|
615
|
+
event_id: string;
|
|
616
|
+
occurred_at: string;
|
|
617
|
+
event_type: "acs_credential.issued";
|
|
618
|
+
connected_account_id?: string | undefined;
|
|
619
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
620
|
+
event_id: z.ZodString;
|
|
621
|
+
workspace_id: z.ZodString;
|
|
622
|
+
created_at: z.ZodString;
|
|
623
|
+
occurred_at: z.ZodString;
|
|
624
|
+
}, {
|
|
625
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
626
|
+
acs_system_id: z.ZodString;
|
|
597
627
|
}>, {
|
|
598
628
|
acs_user_id: z.ZodString;
|
|
599
629
|
}>, {
|
|
@@ -809,7 +839,123 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
809
839
|
event_id: string;
|
|
810
840
|
occurred_at: string;
|
|
811
841
|
event_type: "connected_account.completed_first_sync_after_reconnection";
|
|
812
|
-
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
842
|
+
}>, ...(z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
843
|
+
event_id: z.ZodString;
|
|
844
|
+
workspace_id: z.ZodString;
|
|
845
|
+
created_at: z.ZodString;
|
|
846
|
+
occurred_at: z.ZodString;
|
|
847
|
+
}, {
|
|
848
|
+
action_attempt_id: z.ZodString;
|
|
849
|
+
action_type: z.ZodString;
|
|
850
|
+
status: z.ZodString;
|
|
851
|
+
}>, {
|
|
852
|
+
event_type: z.ZodLiteral<"action_attempt.lock_door.succeeded">;
|
|
853
|
+
}>, "strip", z.ZodTypeAny, {
|
|
854
|
+
status: string;
|
|
855
|
+
created_at: string;
|
|
856
|
+
workspace_id: string;
|
|
857
|
+
action_attempt_id: string;
|
|
858
|
+
action_type: string;
|
|
859
|
+
event_id: string;
|
|
860
|
+
occurred_at: string;
|
|
861
|
+
event_type: "action_attempt.lock_door.succeeded";
|
|
862
|
+
}, {
|
|
863
|
+
status: string;
|
|
864
|
+
created_at: string;
|
|
865
|
+
workspace_id: string;
|
|
866
|
+
action_attempt_id: string;
|
|
867
|
+
action_type: string;
|
|
868
|
+
event_id: string;
|
|
869
|
+
occurred_at: string;
|
|
870
|
+
event_type: "action_attempt.lock_door.succeeded";
|
|
871
|
+
}> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
872
|
+
event_id: z.ZodString;
|
|
873
|
+
workspace_id: z.ZodString;
|
|
874
|
+
created_at: z.ZodString;
|
|
875
|
+
occurred_at: z.ZodString;
|
|
876
|
+
}, {
|
|
877
|
+
action_attempt_id: z.ZodString;
|
|
878
|
+
action_type: z.ZodString;
|
|
879
|
+
status: z.ZodString;
|
|
880
|
+
}>, {
|
|
881
|
+
event_type: z.ZodLiteral<"action_attempt.lock_door.failed">;
|
|
882
|
+
}>, "strip", z.ZodTypeAny, {
|
|
883
|
+
status: string;
|
|
884
|
+
created_at: string;
|
|
885
|
+
workspace_id: string;
|
|
886
|
+
action_attempt_id: string;
|
|
887
|
+
action_type: string;
|
|
888
|
+
event_id: string;
|
|
889
|
+
occurred_at: string;
|
|
890
|
+
event_type: "action_attempt.lock_door.failed";
|
|
891
|
+
}, {
|
|
892
|
+
status: string;
|
|
893
|
+
created_at: string;
|
|
894
|
+
workspace_id: string;
|
|
895
|
+
action_attempt_id: string;
|
|
896
|
+
action_type: string;
|
|
897
|
+
event_id: string;
|
|
898
|
+
occurred_at: string;
|
|
899
|
+
event_type: "action_attempt.lock_door.failed";
|
|
900
|
+
}> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
901
|
+
event_id: z.ZodString;
|
|
902
|
+
workspace_id: z.ZodString;
|
|
903
|
+
created_at: z.ZodString;
|
|
904
|
+
occurred_at: z.ZodString;
|
|
905
|
+
}, {
|
|
906
|
+
action_attempt_id: z.ZodString;
|
|
907
|
+
action_type: z.ZodString;
|
|
908
|
+
status: z.ZodString;
|
|
909
|
+
}>, {
|
|
910
|
+
event_type: z.ZodLiteral<"action_attempt.unlock_door.succeeded">;
|
|
911
|
+
}>, "strip", z.ZodTypeAny, {
|
|
912
|
+
status: string;
|
|
913
|
+
created_at: string;
|
|
914
|
+
workspace_id: string;
|
|
915
|
+
action_attempt_id: string;
|
|
916
|
+
action_type: string;
|
|
917
|
+
event_id: string;
|
|
918
|
+
occurred_at: string;
|
|
919
|
+
event_type: "action_attempt.unlock_door.succeeded";
|
|
920
|
+
}, {
|
|
921
|
+
status: string;
|
|
922
|
+
created_at: string;
|
|
923
|
+
workspace_id: string;
|
|
924
|
+
action_attempt_id: string;
|
|
925
|
+
action_type: string;
|
|
926
|
+
event_id: string;
|
|
927
|
+
occurred_at: string;
|
|
928
|
+
event_type: "action_attempt.unlock_door.succeeded";
|
|
929
|
+
}> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
930
|
+
event_id: z.ZodString;
|
|
931
|
+
workspace_id: z.ZodString;
|
|
932
|
+
created_at: z.ZodString;
|
|
933
|
+
occurred_at: z.ZodString;
|
|
934
|
+
}, {
|
|
935
|
+
action_attempt_id: z.ZodString;
|
|
936
|
+
action_type: z.ZodString;
|
|
937
|
+
status: z.ZodString;
|
|
938
|
+
}>, {
|
|
939
|
+
event_type: z.ZodLiteral<"action_attempt.unlock_door.failed">;
|
|
940
|
+
}>, "strip", z.ZodTypeAny, {
|
|
941
|
+
status: string;
|
|
942
|
+
created_at: string;
|
|
943
|
+
workspace_id: string;
|
|
944
|
+
action_attempt_id: string;
|
|
945
|
+
action_type: string;
|
|
946
|
+
event_id: string;
|
|
947
|
+
occurred_at: string;
|
|
948
|
+
event_type: "action_attempt.unlock_door.failed";
|
|
949
|
+
}, {
|
|
950
|
+
status: string;
|
|
951
|
+
created_at: string;
|
|
952
|
+
workspace_id: string;
|
|
953
|
+
action_attempt_id: string;
|
|
954
|
+
action_type: string;
|
|
955
|
+
event_id: string;
|
|
956
|
+
occurred_at: string;
|
|
957
|
+
event_type: "action_attempt.unlock_door.failed";
|
|
958
|
+
}>)[], z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
813
959
|
event_id: z.ZodString;
|
|
814
960
|
workspace_id: z.ZodString;
|
|
815
961
|
created_at: z.ZodString;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { access_code_events } from './access-codes.js';
|
|
3
3
|
import { acs_events } from './acs/index.js';
|
|
4
|
+
import { action_attempt_events } from './action-attempts.js';
|
|
4
5
|
import { client_session_events } from './client-sessions.js';
|
|
5
6
|
import { connect_webview_events } from './connect-webviews.js';
|
|
6
7
|
import { connected_account_events } from './connected-accounts.js';
|
|
@@ -12,6 +13,7 @@ export const seam_event = z.discriminatedUnion('event_type', [
|
|
|
12
13
|
...acs_events,
|
|
13
14
|
...client_session_events,
|
|
14
15
|
...connected_account_events,
|
|
16
|
+
...action_attempt_events,
|
|
15
17
|
...connect_webview_events,
|
|
16
18
|
...device_events,
|
|
17
19
|
...enrollment_automation_events,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"seam-event.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/seam-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAA;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAA;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAA;AAClE,OAAO,EA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AAG,4BAA4B;IAC/B,GAAG,YAAY;CAChB,CAAC,CAAA"}
|
|
@@ -2456,6 +2456,15 @@ declare const _default: {
|
|
|
2456
2456
|
required: string[];
|
|
2457
2457
|
type: string;
|
|
2458
2458
|
};
|
|
2459
|
+
assa_abloy_vostio_metadata: {
|
|
2460
|
+
properties: {
|
|
2461
|
+
encoder_id: {
|
|
2462
|
+
type: string;
|
|
2463
|
+
};
|
|
2464
|
+
};
|
|
2465
|
+
required: string[];
|
|
2466
|
+
type: string;
|
|
2467
|
+
};
|
|
2459
2468
|
august_metadata: {
|
|
2460
2469
|
properties: {
|
|
2461
2470
|
has_keypad: {
|
|
@@ -6731,6 +6740,7 @@ declare const _default: {
|
|
|
6731
6740
|
'x-fern-sdk-group-name': string[];
|
|
6732
6741
|
'x-fern-sdk-method-name': string;
|
|
6733
6742
|
'x-response-key': null;
|
|
6743
|
+
'x-title': string;
|
|
6734
6744
|
};
|
|
6735
6745
|
put: {
|
|
6736
6746
|
description: string;
|
|
@@ -6798,6 +6808,7 @@ declare const _default: {
|
|
|
6798
6808
|
tags: string[];
|
|
6799
6809
|
'x-fern-ignore': boolean;
|
|
6800
6810
|
'x-response-key': null;
|
|
6811
|
+
'x-title': string;
|
|
6801
6812
|
};
|
|
6802
6813
|
};
|
|
6803
6814
|
'/acs/access_groups/get': {
|
|
@@ -6867,6 +6878,7 @@ declare const _default: {
|
|
|
6867
6878
|
'x-fern-sdk-method-name': string;
|
|
6868
6879
|
'x-fern-sdk-return-value': string;
|
|
6869
6880
|
'x-response-key': string;
|
|
6881
|
+
'x-title': string;
|
|
6870
6882
|
};
|
|
6871
6883
|
};
|
|
6872
6884
|
'/acs/access_groups/list': {
|
|
@@ -6943,6 +6955,7 @@ declare const _default: {
|
|
|
6943
6955
|
'x-fern-sdk-method-name': string;
|
|
6944
6956
|
'x-fern-sdk-return-value': string;
|
|
6945
6957
|
'x-response-key': string;
|
|
6958
|
+
'x-title': string;
|
|
6946
6959
|
};
|
|
6947
6960
|
};
|
|
6948
6961
|
'/acs/access_groups/list_accessible_entrances': {
|
|
@@ -7015,6 +7028,7 @@ declare const _default: {
|
|
|
7015
7028
|
'x-fern-sdk-method-name': string;
|
|
7016
7029
|
'x-fern-sdk-return-value': string;
|
|
7017
7030
|
'x-response-key': string;
|
|
7031
|
+
'x-title': string;
|
|
7018
7032
|
};
|
|
7019
7033
|
};
|
|
7020
7034
|
'/acs/access_groups/list_users': {
|
|
@@ -7087,6 +7101,7 @@ declare const _default: {
|
|
|
7087
7101
|
'x-fern-sdk-method-name': string;
|
|
7088
7102
|
'x-fern-sdk-return-value': string;
|
|
7089
7103
|
'x-response-key': string;
|
|
7104
|
+
'x-title': string;
|
|
7090
7105
|
};
|
|
7091
7106
|
};
|
|
7092
7107
|
'/acs/access_groups/remove_user': {
|
|
@@ -7157,6 +7172,7 @@ declare const _default: {
|
|
|
7157
7172
|
'x-fern-sdk-group-name': string[];
|
|
7158
7173
|
'x-fern-sdk-method-name': string;
|
|
7159
7174
|
'x-response-key': null;
|
|
7175
|
+
'x-title': string;
|
|
7160
7176
|
};
|
|
7161
7177
|
};
|
|
7162
7178
|
'/acs/access_groups/unmanaged/get': {
|
|
@@ -7772,6 +7788,7 @@ declare const _default: {
|
|
|
7772
7788
|
description: string;
|
|
7773
7789
|
properties: {
|
|
7774
7790
|
assa_abloy_credential_service_mobile_endpoint_id: {
|
|
7791
|
+
description: string;
|
|
7775
7792
|
format: string;
|
|
7776
7793
|
type: string;
|
|
7777
7794
|
};
|
|
@@ -9052,7 +9069,7 @@ declare const _default: {
|
|
|
9052
9069
|
'x-title': string;
|
|
9053
9070
|
};
|
|
9054
9071
|
};
|
|
9055
|
-
'/acs/encoders/
|
|
9072
|
+
'/acs/encoders/encode_credential': {
|
|
9056
9073
|
post: {
|
|
9057
9074
|
operationId: string;
|
|
9058
9075
|
requestBody: {
|
|
@@ -9061,10 +9078,12 @@ declare const _default: {
|
|
|
9061
9078
|
schema: {
|
|
9062
9079
|
properties: {
|
|
9063
9080
|
acs_credential_id: {
|
|
9081
|
+
description: string;
|
|
9064
9082
|
format: string;
|
|
9065
9083
|
type: string;
|
|
9066
9084
|
};
|
|
9067
9085
|
device_id: {
|
|
9086
|
+
description: string;
|
|
9068
9087
|
format: string;
|
|
9069
9088
|
type: string;
|
|
9070
9089
|
};
|
|
@@ -9248,7 +9267,7 @@ declare const _default: {
|
|
|
9248
9267
|
'x-undocumented': string;
|
|
9249
9268
|
};
|
|
9250
9269
|
};
|
|
9251
|
-
'/acs/encoders/
|
|
9270
|
+
'/acs/encoders/scan_credential': {
|
|
9252
9271
|
post: {
|
|
9253
9272
|
operationId: string;
|
|
9254
9273
|
requestBody: {
|
|
@@ -9257,10 +9276,12 @@ declare const _default: {
|
|
|
9257
9276
|
schema: {
|
|
9258
9277
|
properties: {
|
|
9259
9278
|
acs_system_id: {
|
|
9279
|
+
description: string;
|
|
9260
9280
|
format: string;
|
|
9261
9281
|
type: string;
|
|
9262
9282
|
};
|
|
9263
9283
|
device_id: {
|
|
9284
|
+
description: string;
|
|
9264
9285
|
format: string;
|
|
9265
9286
|
type: string;
|
|
9266
9287
|
};
|
|
@@ -9462,6 +9483,7 @@ declare const _default: {
|
|
|
9462
9483
|
'x-fern-sdk-group-name': string[];
|
|
9463
9484
|
'x-fern-sdk-method-name': string;
|
|
9464
9485
|
'x-response-key': null;
|
|
9486
|
+
'x-title': string;
|
|
9465
9487
|
};
|
|
9466
9488
|
};
|
|
9467
9489
|
'/acs/entrances/list': {
|