@seamapi/types 1.1026.0 → 1.1028.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/lib/seam/connect/models/access-codes/managed-access-code.d.ts +329 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +61 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +120 -0
- package/lib/seam/connect/models/access-grants/access-method.d.ts +10 -10
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +3 -1
- package/lib/seam/connect/models/devices/unmanaged-device.js +1 -0
- package/lib/seam/connect/models/devices/unmanaged-device.js.map +1 -1
- package/lib/seam/connect/models/events/access-codes.d.ts +2327 -463
- package/lib/seam/connect/models/events/access-codes.js +71 -0
- package/lib/seam/connect/models/events/access-codes.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +927 -1
- package/lib/seam/connect/openapi.js +1522 -11
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +2247 -78
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +66 -0
- package/src/lib/seam/connect/models/devices/unmanaged-device.ts +1 -0
- package/src/lib/seam/connect/models/events/access-codes.ts +99 -0
- package/src/lib/seam/connect/openapi.ts +1726 -12
- package/src/lib/seam/connect/route-types.ts +2591 -223
|
@@ -168,6 +168,54 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
168
168
|
error_code: "code_constraints_violated";
|
|
169
169
|
is_access_code_error: true;
|
|
170
170
|
created_at?: string | undefined;
|
|
171
|
+
}>, z.ZodObject<{
|
|
172
|
+
message: z.ZodString;
|
|
173
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
174
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
175
|
+
} & {
|
|
176
|
+
error_code: z.ZodLiteral<"failed_to_issue">;
|
|
177
|
+
}, "strip", z.ZodTypeAny, {
|
|
178
|
+
message: string;
|
|
179
|
+
error_code: "failed_to_issue";
|
|
180
|
+
is_access_code_error: true;
|
|
181
|
+
created_at?: string | undefined;
|
|
182
|
+
}, {
|
|
183
|
+
message: string;
|
|
184
|
+
error_code: "failed_to_issue";
|
|
185
|
+
is_access_code_error: true;
|
|
186
|
+
created_at?: string | undefined;
|
|
187
|
+
}>, z.ZodObject<{
|
|
188
|
+
message: z.ZodString;
|
|
189
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
190
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
191
|
+
} & {
|
|
192
|
+
error_code: z.ZodLiteral<"failed_to_apply_mutations">;
|
|
193
|
+
}, "strip", z.ZodTypeAny, {
|
|
194
|
+
message: string;
|
|
195
|
+
error_code: "failed_to_apply_mutations";
|
|
196
|
+
is_access_code_error: true;
|
|
197
|
+
created_at?: string | undefined;
|
|
198
|
+
}, {
|
|
199
|
+
message: string;
|
|
200
|
+
error_code: "failed_to_apply_mutations";
|
|
201
|
+
is_access_code_error: true;
|
|
202
|
+
created_at?: string | undefined;
|
|
203
|
+
}>, z.ZodObject<{
|
|
204
|
+
message: z.ZodString;
|
|
205
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
206
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
207
|
+
} & {
|
|
208
|
+
error_code: z.ZodLiteral<"failed_to_expire">;
|
|
209
|
+
}, "strip", z.ZodTypeAny, {
|
|
210
|
+
message: string;
|
|
211
|
+
error_code: "failed_to_expire";
|
|
212
|
+
is_access_code_error: true;
|
|
213
|
+
created_at?: string | undefined;
|
|
214
|
+
}, {
|
|
215
|
+
message: string;
|
|
216
|
+
error_code: "failed_to_expire";
|
|
217
|
+
is_access_code_error: true;
|
|
218
|
+
created_at?: string | undefined;
|
|
171
219
|
}>, ...(z.ZodObject<{
|
|
172
220
|
created_at: z.ZodString;
|
|
173
221
|
message: z.ZodString;
|
|
@@ -607,6 +655,32 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
607
655
|
}>, z.ZodObject<{
|
|
608
656
|
message: z.ZodString;
|
|
609
657
|
created_at: z.ZodOptional<z.ZodString>;
|
|
658
|
+
} & {
|
|
659
|
+
warning_code: z.ZodLiteral<"delay_in_issuing">;
|
|
660
|
+
}, "strip", z.ZodTypeAny, {
|
|
661
|
+
message: string;
|
|
662
|
+
warning_code: "delay_in_issuing";
|
|
663
|
+
created_at?: string | undefined;
|
|
664
|
+
}, {
|
|
665
|
+
message: string;
|
|
666
|
+
warning_code: "delay_in_issuing";
|
|
667
|
+
created_at?: string | undefined;
|
|
668
|
+
}>, z.ZodObject<{
|
|
669
|
+
message: z.ZodString;
|
|
670
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
671
|
+
} & {
|
|
672
|
+
warning_code: z.ZodLiteral<"delay_in_applying_mutations">;
|
|
673
|
+
}, "strip", z.ZodTypeAny, {
|
|
674
|
+
message: string;
|
|
675
|
+
warning_code: "delay_in_applying_mutations";
|
|
676
|
+
created_at?: string | undefined;
|
|
677
|
+
}, {
|
|
678
|
+
message: string;
|
|
679
|
+
warning_code: "delay_in_applying_mutations";
|
|
680
|
+
created_at?: string | undefined;
|
|
681
|
+
}>, z.ZodObject<{
|
|
682
|
+
message: z.ZodString;
|
|
683
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
610
684
|
} & {
|
|
611
685
|
warning_code: z.ZodLiteral<"third_party_integration_detected">;
|
|
612
686
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -864,6 +938,21 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
864
938
|
error_code: "no_space_for_access_code_on_device";
|
|
865
939
|
is_access_code_error: true;
|
|
866
940
|
created_at?: string | undefined;
|
|
941
|
+
} | {
|
|
942
|
+
message: string;
|
|
943
|
+
error_code: "failed_to_issue";
|
|
944
|
+
is_access_code_error: true;
|
|
945
|
+
created_at?: string | undefined;
|
|
946
|
+
} | {
|
|
947
|
+
message: string;
|
|
948
|
+
error_code: "failed_to_apply_mutations";
|
|
949
|
+
is_access_code_error: true;
|
|
950
|
+
created_at?: string | undefined;
|
|
951
|
+
} | {
|
|
952
|
+
message: string;
|
|
953
|
+
error_code: "failed_to_expire";
|
|
954
|
+
is_access_code_error: true;
|
|
955
|
+
created_at?: string | undefined;
|
|
867
956
|
} | {
|
|
868
957
|
message: string;
|
|
869
958
|
error_code: "access_code_inactive";
|
|
@@ -901,6 +990,14 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
901
990
|
message: string;
|
|
902
991
|
warning_code: "delay_in_removing_from_device";
|
|
903
992
|
created_at?: string | undefined;
|
|
993
|
+
} | {
|
|
994
|
+
message: string;
|
|
995
|
+
warning_code: "delay_in_issuing";
|
|
996
|
+
created_at?: string | undefined;
|
|
997
|
+
} | {
|
|
998
|
+
message: string;
|
|
999
|
+
warning_code: "delay_in_applying_mutations";
|
|
1000
|
+
created_at?: string | undefined;
|
|
904
1001
|
} | {
|
|
905
1002
|
message: string;
|
|
906
1003
|
warning_code: "third_party_integration_detected";
|
|
@@ -1089,6 +1186,21 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
1089
1186
|
error_code: "no_space_for_access_code_on_device";
|
|
1090
1187
|
is_access_code_error: true;
|
|
1091
1188
|
created_at?: string | undefined;
|
|
1189
|
+
} | {
|
|
1190
|
+
message: string;
|
|
1191
|
+
error_code: "failed_to_issue";
|
|
1192
|
+
is_access_code_error: true;
|
|
1193
|
+
created_at?: string | undefined;
|
|
1194
|
+
} | {
|
|
1195
|
+
message: string;
|
|
1196
|
+
error_code: "failed_to_apply_mutations";
|
|
1197
|
+
is_access_code_error: true;
|
|
1198
|
+
created_at?: string | undefined;
|
|
1199
|
+
} | {
|
|
1200
|
+
message: string;
|
|
1201
|
+
error_code: "failed_to_expire";
|
|
1202
|
+
is_access_code_error: true;
|
|
1203
|
+
created_at?: string | undefined;
|
|
1092
1204
|
} | {
|
|
1093
1205
|
message: string;
|
|
1094
1206
|
error_code: "access_code_inactive";
|
|
@@ -1126,6 +1238,14 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
1126
1238
|
message: string;
|
|
1127
1239
|
warning_code: "delay_in_removing_from_device";
|
|
1128
1240
|
created_at?: string | undefined;
|
|
1241
|
+
} | {
|
|
1242
|
+
message: string;
|
|
1243
|
+
warning_code: "delay_in_issuing";
|
|
1244
|
+
created_at?: string | undefined;
|
|
1245
|
+
} | {
|
|
1246
|
+
message: string;
|
|
1247
|
+
warning_code: "delay_in_applying_mutations";
|
|
1248
|
+
created_at?: string | undefined;
|
|
1129
1249
|
} | {
|
|
1130
1250
|
message: string;
|
|
1131
1251
|
warning_code: "third_party_integration_detected";
|
|
@@ -65,6 +65,11 @@ declare const _access_method_warning_map: z.ZodObject<{
|
|
|
65
65
|
created_at: string;
|
|
66
66
|
warning_code: "being_deleted";
|
|
67
67
|
} | null | undefined;
|
|
68
|
+
delay_in_issuing?: {
|
|
69
|
+
message: string;
|
|
70
|
+
created_at: string;
|
|
71
|
+
warning_code: "delay_in_issuing";
|
|
72
|
+
} | null | undefined;
|
|
68
73
|
updating_access_times?: {
|
|
69
74
|
message: string;
|
|
70
75
|
created_at: string;
|
|
@@ -76,17 +81,17 @@ declare const _access_method_warning_map: z.ZodObject<{
|
|
|
76
81
|
warning_code: "pulled_backup_access_code";
|
|
77
82
|
original_access_method_id?: string | undefined;
|
|
78
83
|
} | null | undefined;
|
|
79
|
-
delay_in_issuing?: {
|
|
80
|
-
message: string;
|
|
81
|
-
created_at: string;
|
|
82
|
-
warning_code: "delay_in_issuing";
|
|
83
|
-
} | null | undefined;
|
|
84
84
|
}, {
|
|
85
85
|
being_deleted?: {
|
|
86
86
|
message: string;
|
|
87
87
|
created_at: string;
|
|
88
88
|
warning_code: "being_deleted";
|
|
89
89
|
} | null | undefined;
|
|
90
|
+
delay_in_issuing?: {
|
|
91
|
+
message: string;
|
|
92
|
+
created_at: string;
|
|
93
|
+
warning_code: "delay_in_issuing";
|
|
94
|
+
} | null | undefined;
|
|
90
95
|
updating_access_times?: {
|
|
91
96
|
message: string;
|
|
92
97
|
created_at: string;
|
|
@@ -98,11 +103,6 @@ declare const _access_method_warning_map: z.ZodObject<{
|
|
|
98
103
|
warning_code: "pulled_backup_access_code";
|
|
99
104
|
original_access_method_id?: string | undefined;
|
|
100
105
|
} | null | undefined;
|
|
101
|
-
delay_in_issuing?: {
|
|
102
|
-
message: string;
|
|
103
|
-
created_at: string;
|
|
104
|
-
warning_code: "delay_in_issuing";
|
|
105
|
-
} | null | undefined;
|
|
106
106
|
}>;
|
|
107
107
|
export type AccessMethodWarningMap = z.infer<typeof _access_method_warning_map>;
|
|
108
108
|
declare const _access_method_error_map: z.ZodObject<{
|
|
@@ -3470,7 +3470,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
3470
3470
|
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
3471
3471
|
can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
|
|
3472
3472
|
can_configure_auto_lock: z.ZodOptional<z.ZodBoolean>;
|
|
3473
|
-
}, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "custom_metadata" | "device_type" | "capabilities_supported" | "location"> & {
|
|
3473
|
+
}, "display_name" | "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "custom_metadata" | "device_type" | "capabilities_supported" | "location"> & {
|
|
3474
3474
|
is_managed: z.ZodLiteral<false>;
|
|
3475
3475
|
properties: z.ZodObject<Pick<{
|
|
3476
3476
|
online: z.ZodBoolean;
|
|
@@ -3628,6 +3628,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
3628
3628
|
can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
|
|
3629
3629
|
can_configure_auto_lock: z.ZodOptional<z.ZodBoolean>;
|
|
3630
3630
|
}, "strip", z.ZodTypeAny, {
|
|
3631
|
+
display_name: string;
|
|
3631
3632
|
device_id: string;
|
|
3632
3633
|
workspace_id: string;
|
|
3633
3634
|
created_at: string;
|
|
@@ -3905,6 +3906,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
3905
3906
|
timezone?: string | undefined;
|
|
3906
3907
|
} | undefined;
|
|
3907
3908
|
}, {
|
|
3909
|
+
display_name: string;
|
|
3908
3910
|
device_id: string;
|
|
3909
3911
|
workspace_id: string;
|
|
3910
3912
|
created_at: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unmanaged-device.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/unmanaged-device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,wBAAwB,EACxB,MAAM,EACN,uBAAuB,GACxB,MAAM,aAAa,CAAA;AAEpB,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM;KACnC,IAAI,CAAC;IACJ,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,IAAI;IAC1B,QAAQ,EAAE,IAAI;IACd,sBAAsB,EAAE,IAAI;IAC5B,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,IAAI;IAChB,eAAe,EAAE,IAAI;
|
|
1
|
+
{"version":3,"file":"unmanaged-device.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/unmanaged-device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,wBAAwB,EACxB,MAAM,EACN,uBAAuB,GACxB,MAAM,aAAa,CAAA;AAEpB,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM;KACnC,IAAI,CAAC;IACJ,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,IAAI;IAC1B,QAAQ,EAAE,IAAI;IACd,sBAAsB,EAAE,IAAI;IAC5B,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,IAAI;IAChB,eAAe,EAAE,IAAI;IACrB,YAAY,EAAE,IAAI;CACnB,CAAC;KACD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CAAC,iDAAiD,CAAC;IAC9D,UAAU,EAAE,wBAAwB,CAAC,IAAI,CAAC;QACxC,gBAAgB,EAAE,IAAI;QACtB,IAAI,EAAE,IAAI;QACV,MAAM,EAAE,IAAI;QACZ,YAAY,EAAE,IAAI;QAClB,SAAS,EAAE,IAAI;QACf,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,IAAI;QACnB,OAAO,EAAE,IAAI;QACb,2BAA2B,EAAE,IAAI;QACjC,4BAA4B,EAAE,IAAI;QAClC,KAAK,EAAE,IAAI;KACZ,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;GAmBb,CAAC;CACD,CAAC;KACD,KAAK,CAAC,uBAAuB,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;GAoBxC,CAAC,CAAA"}
|