@seamapi/types 1.106.0 → 1.108.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +296 -19
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +439 -2
- package/lib/seam/connect/openapi.d.ts +370 -0
- package/lib/seam/connect/openapi.js +286 -9
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +69 -2
- package/lib/seam/connect/unstable/models/acs/credential.d.ts +36 -0
- package/lib/seam/connect/unstable/models/acs/credential.js +8 -0
- package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +286 -9
- package/src/lib/seam/connect/route-types.ts +69 -9
- package/src/lib/seam/connect/unstable/models/acs/credential.ts +12 -0
|
@@ -806,6 +806,14 @@ export interface Routes {
|
|
|
806
806
|
workspace_id: string;
|
|
807
807
|
starts_at?: string | undefined;
|
|
808
808
|
ends_at?: string | undefined;
|
|
809
|
+
errors: Array<{
|
|
810
|
+
error_code: string;
|
|
811
|
+
message: string;
|
|
812
|
+
}>;
|
|
813
|
+
warnings: Array<{
|
|
814
|
+
warning_code: string;
|
|
815
|
+
message: string;
|
|
816
|
+
}>;
|
|
809
817
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
810
818
|
visionline_metadata?: {
|
|
811
819
|
joiner_acs_credential_ids?: string[] | undefined;
|
|
@@ -824,8 +832,8 @@ export interface Routes {
|
|
|
824
832
|
acs_user_id: string;
|
|
825
833
|
access_method: 'code' | 'card' | 'mobile_key';
|
|
826
834
|
code?: string | undefined;
|
|
827
|
-
is_multi_phone_sync_credential?: boolean
|
|
828
|
-
external_type?:
|
|
835
|
+
is_multi_phone_sync_credential?: boolean;
|
|
836
|
+
external_type?: 'visionline_card' | undefined;
|
|
829
837
|
visionline_metadata?: {
|
|
830
838
|
assa_abloy_credential_service_mobile_endpoint_id?: string | undefined;
|
|
831
839
|
card_format?: ('TLCode' | 'rfid48') | undefined;
|
|
@@ -852,6 +860,14 @@ export interface Routes {
|
|
|
852
860
|
workspace_id: string;
|
|
853
861
|
starts_at?: string | undefined;
|
|
854
862
|
ends_at?: string | undefined;
|
|
863
|
+
errors: Array<{
|
|
864
|
+
error_code: string;
|
|
865
|
+
message: string;
|
|
866
|
+
}>;
|
|
867
|
+
warnings: Array<{
|
|
868
|
+
warning_code: string;
|
|
869
|
+
message: string;
|
|
870
|
+
}>;
|
|
855
871
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
856
872
|
visionline_metadata?: {
|
|
857
873
|
joiner_acs_credential_ids?: string[] | undefined;
|
|
@@ -897,6 +913,14 @@ export interface Routes {
|
|
|
897
913
|
workspace_id: string;
|
|
898
914
|
starts_at?: string | undefined;
|
|
899
915
|
ends_at?: string | undefined;
|
|
916
|
+
errors: Array<{
|
|
917
|
+
error_code: string;
|
|
918
|
+
message: string;
|
|
919
|
+
}>;
|
|
920
|
+
warnings: Array<{
|
|
921
|
+
warning_code: string;
|
|
922
|
+
message: string;
|
|
923
|
+
}>;
|
|
900
924
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
901
925
|
visionline_metadata?: {
|
|
902
926
|
joiner_acs_credential_ids?: string[] | undefined;
|
|
@@ -938,6 +962,14 @@ export interface Routes {
|
|
|
938
962
|
workspace_id: string;
|
|
939
963
|
starts_at?: string | undefined;
|
|
940
964
|
ends_at?: string | undefined;
|
|
965
|
+
errors: Array<{
|
|
966
|
+
error_code: string;
|
|
967
|
+
message: string;
|
|
968
|
+
}>;
|
|
969
|
+
warnings: Array<{
|
|
970
|
+
warning_code: string;
|
|
971
|
+
message: string;
|
|
972
|
+
}>;
|
|
941
973
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
942
974
|
visionline_metadata?: {
|
|
943
975
|
joiner_acs_credential_ids?: string[] | undefined;
|
|
@@ -973,6 +1005,14 @@ export interface Routes {
|
|
|
973
1005
|
workspace_id: string;
|
|
974
1006
|
starts_at?: string | undefined;
|
|
975
1007
|
ends_at?: string | undefined;
|
|
1008
|
+
errors: Array<{
|
|
1009
|
+
error_code: string;
|
|
1010
|
+
message: string;
|
|
1011
|
+
}>;
|
|
1012
|
+
warnings: Array<{
|
|
1013
|
+
warning_code: string;
|
|
1014
|
+
message: string;
|
|
1015
|
+
}>;
|
|
976
1016
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
977
1017
|
visionline_metadata?: {
|
|
978
1018
|
joiner_acs_credential_ids?: string[] | undefined;
|
|
@@ -1008,6 +1048,14 @@ export interface Routes {
|
|
|
1008
1048
|
workspace_id: string;
|
|
1009
1049
|
starts_at?: string | undefined;
|
|
1010
1050
|
ends_at?: string | undefined;
|
|
1051
|
+
errors: Array<{
|
|
1052
|
+
error_code: string;
|
|
1053
|
+
message: string;
|
|
1054
|
+
}>;
|
|
1055
|
+
warnings: Array<{
|
|
1056
|
+
warning_code: string;
|
|
1057
|
+
message: string;
|
|
1058
|
+
}>;
|
|
1011
1059
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
1012
1060
|
visionline_metadata?: {
|
|
1013
1061
|
joiner_acs_credential_ids?: string[] | undefined;
|
|
@@ -1108,6 +1156,14 @@ export interface Routes {
|
|
|
1108
1156
|
workspace_id: string;
|
|
1109
1157
|
starts_at?: string | undefined;
|
|
1110
1158
|
ends_at?: string | undefined;
|
|
1159
|
+
errors: Array<{
|
|
1160
|
+
error_code: string;
|
|
1161
|
+
message: string;
|
|
1162
|
+
}>;
|
|
1163
|
+
warnings: Array<{
|
|
1164
|
+
warning_code: string;
|
|
1165
|
+
message: string;
|
|
1166
|
+
}>;
|
|
1111
1167
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
1112
1168
|
visionline_metadata?: {
|
|
1113
1169
|
joiner_acs_credential_ids?: string[] | undefined;
|
|
@@ -5310,6 +5366,17 @@ export interface Routes {
|
|
|
5310
5366
|
formData: {};
|
|
5311
5367
|
jsonResponse: {};
|
|
5312
5368
|
};
|
|
5369
|
+
'/phones/deactivate': {
|
|
5370
|
+
route: '/phones/deactivate';
|
|
5371
|
+
method: 'DELETE' | 'POST';
|
|
5372
|
+
queryParams: {};
|
|
5373
|
+
jsonBody: {
|
|
5374
|
+
device_id: string;
|
|
5375
|
+
};
|
|
5376
|
+
commonParams: {};
|
|
5377
|
+
formData: {};
|
|
5378
|
+
jsonResponse: {};
|
|
5379
|
+
};
|
|
5313
5380
|
'/phones/list': {
|
|
5314
5381
|
route: '/phones/list';
|
|
5315
5382
|
method: 'GET' | 'POST';
|
|
@@ -31,6 +31,26 @@ export declare const acs_credential: z.ZodObject<{
|
|
|
31
31
|
workspace_id: z.ZodString;
|
|
32
32
|
starts_at: z.ZodOptional<z.ZodString>;
|
|
33
33
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
34
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
35
|
+
error_code: z.ZodString;
|
|
36
|
+
message: z.ZodString;
|
|
37
|
+
}, "strip", z.ZodTypeAny, {
|
|
38
|
+
message: string;
|
|
39
|
+
error_code: string;
|
|
40
|
+
}, {
|
|
41
|
+
message: string;
|
|
42
|
+
error_code: string;
|
|
43
|
+
}>, "many">;
|
|
44
|
+
warnings: z.ZodArray<z.ZodObject<{
|
|
45
|
+
warning_code: z.ZodString;
|
|
46
|
+
message: z.ZodString;
|
|
47
|
+
}, "strip", z.ZodTypeAny, {
|
|
48
|
+
message: string;
|
|
49
|
+
warning_code: string;
|
|
50
|
+
}, {
|
|
51
|
+
message: string;
|
|
52
|
+
warning_code: string;
|
|
53
|
+
}>, "many">;
|
|
34
54
|
is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
|
|
35
55
|
visionline_metadata: z.ZodOptional<z.ZodObject<{
|
|
36
56
|
joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -50,6 +70,14 @@ export declare const acs_credential: z.ZodObject<{
|
|
|
50
70
|
created_at: string;
|
|
51
71
|
acs_system_id: string;
|
|
52
72
|
display_name: string;
|
|
73
|
+
errors: {
|
|
74
|
+
message: string;
|
|
75
|
+
error_code: string;
|
|
76
|
+
}[];
|
|
77
|
+
warnings: {
|
|
78
|
+
message: string;
|
|
79
|
+
warning_code: string;
|
|
80
|
+
}[];
|
|
53
81
|
acs_credential_id: string;
|
|
54
82
|
access_method: "code" | "card" | "mobile_key";
|
|
55
83
|
acs_user_id?: string | undefined;
|
|
@@ -71,6 +99,14 @@ export declare const acs_credential: z.ZodObject<{
|
|
|
71
99
|
created_at: string;
|
|
72
100
|
acs_system_id: string;
|
|
73
101
|
display_name: string;
|
|
102
|
+
errors: {
|
|
103
|
+
message: string;
|
|
104
|
+
error_code: string;
|
|
105
|
+
}[];
|
|
106
|
+
warnings: {
|
|
107
|
+
message: string;
|
|
108
|
+
warning_code: string;
|
|
109
|
+
}[];
|
|
74
110
|
acs_credential_id: string;
|
|
75
111
|
access_method: "code" | "card" | "mobile_key";
|
|
76
112
|
acs_user_id?: string | undefined;
|
|
@@ -31,6 +31,14 @@ export const acs_credential = z.object({
|
|
|
31
31
|
workspace_id: z.string().uuid(),
|
|
32
32
|
starts_at: z.string().optional(),
|
|
33
33
|
ends_at: z.string().optional(),
|
|
34
|
+
errors: z.array(z.object({
|
|
35
|
+
error_code: z.string(),
|
|
36
|
+
message: z.string(),
|
|
37
|
+
})),
|
|
38
|
+
warnings: z.array(z.object({
|
|
39
|
+
warning_code: z.string(),
|
|
40
|
+
message: z.string(),
|
|
41
|
+
})),
|
|
34
42
|
is_multi_phone_sync_credential: z.boolean().optional(),
|
|
35
43
|
visionline_metadata: acs_credential_visionline_metadata.optional(),
|
|
36
44
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credential.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,wEAAwE;AAC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