@seamapi/types 1.194.0 → 1.195.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 +6 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +165 -0
- package/lib/seam/connect/models/events/access-codes.d.ts +102 -0
- package/lib/seam/connect/models/events/acs/common.d.ts +3 -0
- package/lib/seam/connect/models/events/acs/credentials.d.ts +6 -0
- package/lib/seam/connect/models/events/acs/index.d.ts +9 -0
- package/lib/seam/connect/models/events/acs/systems.d.ts +6 -0
- package/lib/seam/connect/models/events/acs/users.d.ts +6 -0
- package/lib/seam/connect/models/events/action-attempts.d.ts +6 -0
- package/lib/seam/connect/models/events/client-sessions.d.ts +6 -0
- package/lib/seam/connect/models/events/common.d.ts +3 -0
- package/lib/seam/connect/models/events/common.js +6 -0
- package/lib/seam/connect/models/events/common.js.map +1 -1
- package/lib/seam/connect/models/events/connected-accounts.d.ts +42 -0
- package/lib/seam/connect/models/events/devices.d.ts +150 -0
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +6 -0
- package/lib/seam/connect/models/events/phones.d.ts +6 -0
- package/lib/seam/connect/models/events/seam-event.d.ts +165 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/common.ts +6 -0
package/dist/connect.d.cts
CHANGED
|
@@ -5916,6 +5916,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
5916
5916
|
created_at: z.ZodString;
|
|
5917
5917
|
workspace_id: z.ZodString;
|
|
5918
5918
|
connected_account_id: z.ZodString;
|
|
5919
|
+
event_id: z.ZodString;
|
|
5919
5920
|
occurred_at: z.ZodString;
|
|
5920
5921
|
event_type: z.ZodLiteral<"access_code.created">;
|
|
5921
5922
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5924,6 +5925,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
5924
5925
|
created_at: string;
|
|
5925
5926
|
workspace_id: string;
|
|
5926
5927
|
connected_account_id: string;
|
|
5928
|
+
event_id: string;
|
|
5927
5929
|
occurred_at: string;
|
|
5928
5930
|
event_type: "access_code.created";
|
|
5929
5931
|
}, {
|
|
@@ -5932,6 +5934,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
5932
5934
|
created_at: string;
|
|
5933
5935
|
workspace_id: string;
|
|
5934
5936
|
connected_account_id: string;
|
|
5937
|
+
event_id: string;
|
|
5935
5938
|
occurred_at: string;
|
|
5936
5939
|
event_type: "access_code.created";
|
|
5937
5940
|
}>, z.ZodObject<{
|
|
@@ -5940,6 +5943,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
5940
5943
|
created_at: z.ZodString;
|
|
5941
5944
|
workspace_id: z.ZodString;
|
|
5942
5945
|
connected_account_id: z.ZodString;
|
|
5946
|
+
event_id: z.ZodString;
|
|
5943
5947
|
occurred_at: z.ZodString;
|
|
5944
5948
|
event_type: z.ZodLiteral<"access_code.changed">;
|
|
5945
5949
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5948,6 +5952,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
5948
5952
|
created_at: string;
|
|
5949
5953
|
workspace_id: string;
|
|
5950
5954
|
connected_account_id: string;
|
|
5955
|
+
event_id: string;
|
|
5951
5956
|
occurred_at: string;
|
|
5952
5957
|
event_type: "access_code.changed";
|
|
5953
5958
|
}, {
|
|
@@ -5956,6 +5961,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
5956
5961
|
created_at: string;
|
|
5957
5962
|
workspace_id: string;
|
|
5958
5963
|
connected_account_id: string;
|
|
5964
|
+
event_id: string;
|
|
5959
5965
|
occurred_at: string;
|
|
5960
5966
|
event_type: "access_code.changed";
|
|
5961
5967
|
}>, z.ZodObject<{
|
|
@@ -5964,6 +5970,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
5964
5970
|
created_at: z.ZodString;
|
|
5965
5971
|
workspace_id: z.ZodString;
|
|
5966
5972
|
connected_account_id: z.ZodString;
|
|
5973
|
+
event_id: z.ZodString;
|
|
5967
5974
|
occurred_at: z.ZodString;
|
|
5968
5975
|
event_type: z.ZodLiteral<"access_code.scheduled_on_device">;
|
|
5969
5976
|
code: z.ZodString;
|
|
@@ -5974,6 +5981,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
5974
5981
|
created_at: string;
|
|
5975
5982
|
workspace_id: string;
|
|
5976
5983
|
connected_account_id: string;
|
|
5984
|
+
event_id: string;
|
|
5977
5985
|
occurred_at: string;
|
|
5978
5986
|
event_type: "access_code.scheduled_on_device";
|
|
5979
5987
|
}, {
|
|
@@ -5983,6 +5991,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
5983
5991
|
created_at: string;
|
|
5984
5992
|
workspace_id: string;
|
|
5985
5993
|
connected_account_id: string;
|
|
5994
|
+
event_id: string;
|
|
5986
5995
|
occurred_at: string;
|
|
5987
5996
|
event_type: "access_code.scheduled_on_device";
|
|
5988
5997
|
}>, z.ZodObject<{
|
|
@@ -5991,6 +6000,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
5991
6000
|
created_at: z.ZodString;
|
|
5992
6001
|
workspace_id: z.ZodString;
|
|
5993
6002
|
connected_account_id: z.ZodString;
|
|
6003
|
+
event_id: z.ZodString;
|
|
5994
6004
|
occurred_at: z.ZodString;
|
|
5995
6005
|
event_type: z.ZodLiteral<"access_code.set_on_device">;
|
|
5996
6006
|
code: z.ZodString;
|
|
@@ -6001,6 +6011,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6001
6011
|
created_at: string;
|
|
6002
6012
|
workspace_id: string;
|
|
6003
6013
|
connected_account_id: string;
|
|
6014
|
+
event_id: string;
|
|
6004
6015
|
occurred_at: string;
|
|
6005
6016
|
event_type: "access_code.set_on_device";
|
|
6006
6017
|
}, {
|
|
@@ -6010,6 +6021,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6010
6021
|
created_at: string;
|
|
6011
6022
|
workspace_id: string;
|
|
6012
6023
|
connected_account_id: string;
|
|
6024
|
+
event_id: string;
|
|
6013
6025
|
occurred_at: string;
|
|
6014
6026
|
event_type: "access_code.set_on_device";
|
|
6015
6027
|
}>, z.ZodObject<{
|
|
@@ -6018,6 +6030,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6018
6030
|
created_at: z.ZodString;
|
|
6019
6031
|
workspace_id: z.ZodString;
|
|
6020
6032
|
connected_account_id: z.ZodString;
|
|
6033
|
+
event_id: z.ZodString;
|
|
6021
6034
|
occurred_at: z.ZodString;
|
|
6022
6035
|
event_type: z.ZodLiteral<"access_code.removed_from_device">;
|
|
6023
6036
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6026,6 +6039,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6026
6039
|
created_at: string;
|
|
6027
6040
|
workspace_id: string;
|
|
6028
6041
|
connected_account_id: string;
|
|
6042
|
+
event_id: string;
|
|
6029
6043
|
occurred_at: string;
|
|
6030
6044
|
event_type: "access_code.removed_from_device";
|
|
6031
6045
|
}, {
|
|
@@ -6034,6 +6048,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6034
6048
|
created_at: string;
|
|
6035
6049
|
workspace_id: string;
|
|
6036
6050
|
connected_account_id: string;
|
|
6051
|
+
event_id: string;
|
|
6037
6052
|
occurred_at: string;
|
|
6038
6053
|
event_type: "access_code.removed_from_device";
|
|
6039
6054
|
}>, z.ZodObject<{
|
|
@@ -6042,6 +6057,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6042
6057
|
created_at: z.ZodString;
|
|
6043
6058
|
workspace_id: z.ZodString;
|
|
6044
6059
|
connected_account_id: z.ZodString;
|
|
6060
|
+
event_id: z.ZodString;
|
|
6045
6061
|
occurred_at: z.ZodString;
|
|
6046
6062
|
event_type: z.ZodLiteral<"access_code.delay_in_setting_on_device">;
|
|
6047
6063
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6050,6 +6066,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6050
6066
|
created_at: string;
|
|
6051
6067
|
workspace_id: string;
|
|
6052
6068
|
connected_account_id: string;
|
|
6069
|
+
event_id: string;
|
|
6053
6070
|
occurred_at: string;
|
|
6054
6071
|
event_type: "access_code.delay_in_setting_on_device";
|
|
6055
6072
|
}, {
|
|
@@ -6058,6 +6075,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6058
6075
|
created_at: string;
|
|
6059
6076
|
workspace_id: string;
|
|
6060
6077
|
connected_account_id: string;
|
|
6078
|
+
event_id: string;
|
|
6061
6079
|
occurred_at: string;
|
|
6062
6080
|
event_type: "access_code.delay_in_setting_on_device";
|
|
6063
6081
|
}>, z.ZodObject<{
|
|
@@ -6066,6 +6084,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6066
6084
|
created_at: z.ZodString;
|
|
6067
6085
|
workspace_id: z.ZodString;
|
|
6068
6086
|
connected_account_id: z.ZodString;
|
|
6087
|
+
event_id: z.ZodString;
|
|
6069
6088
|
occurred_at: z.ZodString;
|
|
6070
6089
|
event_type: z.ZodLiteral<"access_code.failed_to_set_on_device">;
|
|
6071
6090
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6074,6 +6093,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6074
6093
|
created_at: string;
|
|
6075
6094
|
workspace_id: string;
|
|
6076
6095
|
connected_account_id: string;
|
|
6096
|
+
event_id: string;
|
|
6077
6097
|
occurred_at: string;
|
|
6078
6098
|
event_type: "access_code.failed_to_set_on_device";
|
|
6079
6099
|
}, {
|
|
@@ -6082,6 +6102,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6082
6102
|
created_at: string;
|
|
6083
6103
|
workspace_id: string;
|
|
6084
6104
|
connected_account_id: string;
|
|
6105
|
+
event_id: string;
|
|
6085
6106
|
occurred_at: string;
|
|
6086
6107
|
event_type: "access_code.failed_to_set_on_device";
|
|
6087
6108
|
}>, z.ZodObject<{
|
|
@@ -6090,6 +6111,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6090
6111
|
created_at: z.ZodString;
|
|
6091
6112
|
workspace_id: z.ZodString;
|
|
6092
6113
|
connected_account_id: z.ZodString;
|
|
6114
|
+
event_id: z.ZodString;
|
|
6093
6115
|
occurred_at: z.ZodString;
|
|
6094
6116
|
event_type: z.ZodLiteral<"access_code.deleted">;
|
|
6095
6117
|
code: z.ZodNullable<z.ZodString>;
|
|
@@ -6100,6 +6122,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6100
6122
|
created_at: string;
|
|
6101
6123
|
workspace_id: string;
|
|
6102
6124
|
connected_account_id: string;
|
|
6125
|
+
event_id: string;
|
|
6103
6126
|
occurred_at: string;
|
|
6104
6127
|
event_type: "access_code.deleted";
|
|
6105
6128
|
}, {
|
|
@@ -6109,6 +6132,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6109
6132
|
created_at: string;
|
|
6110
6133
|
workspace_id: string;
|
|
6111
6134
|
connected_account_id: string;
|
|
6135
|
+
event_id: string;
|
|
6112
6136
|
occurred_at: string;
|
|
6113
6137
|
event_type: "access_code.deleted";
|
|
6114
6138
|
}>, z.ZodObject<{
|
|
@@ -6117,6 +6141,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6117
6141
|
created_at: z.ZodString;
|
|
6118
6142
|
workspace_id: z.ZodString;
|
|
6119
6143
|
connected_account_id: z.ZodString;
|
|
6144
|
+
event_id: z.ZodString;
|
|
6120
6145
|
occurred_at: z.ZodString;
|
|
6121
6146
|
event_type: z.ZodLiteral<"access_code.delay_in_removing_from_device">;
|
|
6122
6147
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6125,6 +6150,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6125
6150
|
created_at: string;
|
|
6126
6151
|
workspace_id: string;
|
|
6127
6152
|
connected_account_id: string;
|
|
6153
|
+
event_id: string;
|
|
6128
6154
|
occurred_at: string;
|
|
6129
6155
|
event_type: "access_code.delay_in_removing_from_device";
|
|
6130
6156
|
}, {
|
|
@@ -6133,6 +6159,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6133
6159
|
created_at: string;
|
|
6134
6160
|
workspace_id: string;
|
|
6135
6161
|
connected_account_id: string;
|
|
6162
|
+
event_id: string;
|
|
6136
6163
|
occurred_at: string;
|
|
6137
6164
|
event_type: "access_code.delay_in_removing_from_device";
|
|
6138
6165
|
}>, z.ZodObject<{
|
|
@@ -6141,6 +6168,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6141
6168
|
created_at: z.ZodString;
|
|
6142
6169
|
workspace_id: z.ZodString;
|
|
6143
6170
|
connected_account_id: z.ZodString;
|
|
6171
|
+
event_id: z.ZodString;
|
|
6144
6172
|
occurred_at: z.ZodString;
|
|
6145
6173
|
event_type: z.ZodLiteral<"access_code.failed_to_remove_from_device">;
|
|
6146
6174
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6149,6 +6177,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6149
6177
|
created_at: string;
|
|
6150
6178
|
workspace_id: string;
|
|
6151
6179
|
connected_account_id: string;
|
|
6180
|
+
event_id: string;
|
|
6152
6181
|
occurred_at: string;
|
|
6153
6182
|
event_type: "access_code.failed_to_remove_from_device";
|
|
6154
6183
|
}, {
|
|
@@ -6157,6 +6186,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6157
6186
|
created_at: string;
|
|
6158
6187
|
workspace_id: string;
|
|
6159
6188
|
connected_account_id: string;
|
|
6189
|
+
event_id: string;
|
|
6160
6190
|
occurred_at: string;
|
|
6161
6191
|
event_type: "access_code.failed_to_remove_from_device";
|
|
6162
6192
|
}>, z.ZodObject<{
|
|
@@ -6165,6 +6195,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6165
6195
|
created_at: z.ZodString;
|
|
6166
6196
|
workspace_id: z.ZodString;
|
|
6167
6197
|
connected_account_id: z.ZodString;
|
|
6198
|
+
event_id: z.ZodString;
|
|
6168
6199
|
occurred_at: z.ZodString;
|
|
6169
6200
|
event_type: z.ZodLiteral<"access_code.modified_external_to_seam">;
|
|
6170
6201
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6173,6 +6204,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6173
6204
|
created_at: string;
|
|
6174
6205
|
workspace_id: string;
|
|
6175
6206
|
connected_account_id: string;
|
|
6207
|
+
event_id: string;
|
|
6176
6208
|
occurred_at: string;
|
|
6177
6209
|
event_type: "access_code.modified_external_to_seam";
|
|
6178
6210
|
}, {
|
|
@@ -6181,6 +6213,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6181
6213
|
created_at: string;
|
|
6182
6214
|
workspace_id: string;
|
|
6183
6215
|
connected_account_id: string;
|
|
6216
|
+
event_id: string;
|
|
6184
6217
|
occurred_at: string;
|
|
6185
6218
|
event_type: "access_code.modified_external_to_seam";
|
|
6186
6219
|
}>, z.ZodObject<{
|
|
@@ -6189,6 +6222,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6189
6222
|
created_at: z.ZodString;
|
|
6190
6223
|
workspace_id: z.ZodString;
|
|
6191
6224
|
connected_account_id: z.ZodString;
|
|
6225
|
+
event_id: z.ZodString;
|
|
6192
6226
|
occurred_at: z.ZodString;
|
|
6193
6227
|
event_type: z.ZodLiteral<"access_code.deleted_external_to_seam">;
|
|
6194
6228
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6197,6 +6231,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6197
6231
|
created_at: string;
|
|
6198
6232
|
workspace_id: string;
|
|
6199
6233
|
connected_account_id: string;
|
|
6234
|
+
event_id: string;
|
|
6200
6235
|
occurred_at: string;
|
|
6201
6236
|
event_type: "access_code.deleted_external_to_seam";
|
|
6202
6237
|
}, {
|
|
@@ -6205,6 +6240,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6205
6240
|
created_at: string;
|
|
6206
6241
|
workspace_id: string;
|
|
6207
6242
|
connected_account_id: string;
|
|
6243
|
+
event_id: string;
|
|
6208
6244
|
occurred_at: string;
|
|
6209
6245
|
event_type: "access_code.deleted_external_to_seam";
|
|
6210
6246
|
}>, z.ZodObject<{
|
|
@@ -6213,6 +6249,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6213
6249
|
created_at: z.ZodString;
|
|
6214
6250
|
workspace_id: z.ZodString;
|
|
6215
6251
|
connected_account_id: z.ZodString;
|
|
6252
|
+
event_id: z.ZodString;
|
|
6216
6253
|
occurred_at: z.ZodString;
|
|
6217
6254
|
event_type: z.ZodLiteral<"access_code.backup_access_code_pulled">;
|
|
6218
6255
|
backup_access_code_id: z.ZodString;
|
|
@@ -6222,6 +6259,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6222
6259
|
created_at: string;
|
|
6223
6260
|
workspace_id: string;
|
|
6224
6261
|
connected_account_id: string;
|
|
6262
|
+
event_id: string;
|
|
6225
6263
|
occurred_at: string;
|
|
6226
6264
|
event_type: "access_code.backup_access_code_pulled";
|
|
6227
6265
|
backup_access_code_id: string;
|
|
@@ -6231,6 +6269,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6231
6269
|
created_at: string;
|
|
6232
6270
|
workspace_id: string;
|
|
6233
6271
|
connected_account_id: string;
|
|
6272
|
+
event_id: string;
|
|
6234
6273
|
occurred_at: string;
|
|
6235
6274
|
event_type: "access_code.backup_access_code_pulled";
|
|
6236
6275
|
backup_access_code_id: string;
|
|
@@ -6240,6 +6279,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6240
6279
|
created_at: z.ZodString;
|
|
6241
6280
|
workspace_id: z.ZodString;
|
|
6242
6281
|
connected_account_id: z.ZodString;
|
|
6282
|
+
event_id: z.ZodString;
|
|
6243
6283
|
occurred_at: z.ZodString;
|
|
6244
6284
|
event_type: z.ZodLiteral<"access_code.unmanaged.converted_to_managed">;
|
|
6245
6285
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6248,6 +6288,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6248
6288
|
created_at: string;
|
|
6249
6289
|
workspace_id: string;
|
|
6250
6290
|
connected_account_id: string;
|
|
6291
|
+
event_id: string;
|
|
6251
6292
|
occurred_at: string;
|
|
6252
6293
|
event_type: "access_code.unmanaged.converted_to_managed";
|
|
6253
6294
|
}, {
|
|
@@ -6256,6 +6297,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6256
6297
|
created_at: string;
|
|
6257
6298
|
workspace_id: string;
|
|
6258
6299
|
connected_account_id: string;
|
|
6300
|
+
event_id: string;
|
|
6259
6301
|
occurred_at: string;
|
|
6260
6302
|
event_type: "access_code.unmanaged.converted_to_managed";
|
|
6261
6303
|
}>, z.ZodObject<{
|
|
@@ -6264,6 +6306,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6264
6306
|
created_at: z.ZodString;
|
|
6265
6307
|
workspace_id: z.ZodString;
|
|
6266
6308
|
connected_account_id: z.ZodString;
|
|
6309
|
+
event_id: z.ZodString;
|
|
6267
6310
|
occurred_at: z.ZodString;
|
|
6268
6311
|
event_type: z.ZodLiteral<"access_code.unmanaged.failed_to_convert_to_managed">;
|
|
6269
6312
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6272,6 +6315,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6272
6315
|
created_at: string;
|
|
6273
6316
|
workspace_id: string;
|
|
6274
6317
|
connected_account_id: string;
|
|
6318
|
+
event_id: string;
|
|
6275
6319
|
occurred_at: string;
|
|
6276
6320
|
event_type: "access_code.unmanaged.failed_to_convert_to_managed";
|
|
6277
6321
|
}, {
|
|
@@ -6280,6 +6324,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6280
6324
|
created_at: string;
|
|
6281
6325
|
workspace_id: string;
|
|
6282
6326
|
connected_account_id: string;
|
|
6327
|
+
event_id: string;
|
|
6283
6328
|
occurred_at: string;
|
|
6284
6329
|
event_type: "access_code.unmanaged.failed_to_convert_to_managed";
|
|
6285
6330
|
}>, z.ZodObject<{
|
|
@@ -6288,6 +6333,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6288
6333
|
created_at: z.ZodString;
|
|
6289
6334
|
workspace_id: z.ZodString;
|
|
6290
6335
|
connected_account_id: z.ZodString;
|
|
6336
|
+
event_id: z.ZodString;
|
|
6291
6337
|
occurred_at: z.ZodString;
|
|
6292
6338
|
event_type: z.ZodLiteral<"access_code.unmanaged.created">;
|
|
6293
6339
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6296,6 +6342,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6296
6342
|
created_at: string;
|
|
6297
6343
|
workspace_id: string;
|
|
6298
6344
|
connected_account_id: string;
|
|
6345
|
+
event_id: string;
|
|
6299
6346
|
occurred_at: string;
|
|
6300
6347
|
event_type: "access_code.unmanaged.created";
|
|
6301
6348
|
}, {
|
|
@@ -6304,6 +6351,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6304
6351
|
created_at: string;
|
|
6305
6352
|
workspace_id: string;
|
|
6306
6353
|
connected_account_id: string;
|
|
6354
|
+
event_id: string;
|
|
6307
6355
|
occurred_at: string;
|
|
6308
6356
|
event_type: "access_code.unmanaged.created";
|
|
6309
6357
|
}>, z.ZodObject<{
|
|
@@ -6312,6 +6360,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6312
6360
|
created_at: z.ZodString;
|
|
6313
6361
|
workspace_id: z.ZodString;
|
|
6314
6362
|
connected_account_id: z.ZodString;
|
|
6363
|
+
event_id: z.ZodString;
|
|
6315
6364
|
occurred_at: z.ZodString;
|
|
6316
6365
|
event_type: z.ZodLiteral<"access_code.unmanaged.removed">;
|
|
6317
6366
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6320,6 +6369,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6320
6369
|
created_at: string;
|
|
6321
6370
|
workspace_id: string;
|
|
6322
6371
|
connected_account_id: string;
|
|
6372
|
+
event_id: string;
|
|
6323
6373
|
occurred_at: string;
|
|
6324
6374
|
event_type: "access_code.unmanaged.removed";
|
|
6325
6375
|
}, {
|
|
@@ -6328,6 +6378,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6328
6378
|
created_at: string;
|
|
6329
6379
|
workspace_id: string;
|
|
6330
6380
|
connected_account_id: string;
|
|
6381
|
+
event_id: string;
|
|
6331
6382
|
occurred_at: string;
|
|
6332
6383
|
event_type: "access_code.unmanaged.removed";
|
|
6333
6384
|
}>, z.ZodObject<{
|
|
@@ -6335,6 +6386,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6335
6386
|
acs_system_id: z.ZodString;
|
|
6336
6387
|
workspace_id: z.ZodString;
|
|
6337
6388
|
connected_account_id: z.ZodString;
|
|
6389
|
+
event_id: z.ZodString;
|
|
6338
6390
|
occurred_at: z.ZodString;
|
|
6339
6391
|
event_type: z.ZodLiteral<"acs_system.connected">;
|
|
6340
6392
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6342,6 +6394,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6342
6394
|
acs_system_id: string;
|
|
6343
6395
|
workspace_id: string;
|
|
6344
6396
|
connected_account_id: string;
|
|
6397
|
+
event_id: string;
|
|
6345
6398
|
occurred_at: string;
|
|
6346
6399
|
event_type: "acs_system.connected";
|
|
6347
6400
|
}, {
|
|
@@ -6349,6 +6402,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6349
6402
|
acs_system_id: string;
|
|
6350
6403
|
workspace_id: string;
|
|
6351
6404
|
connected_account_id: string;
|
|
6405
|
+
event_id: string;
|
|
6352
6406
|
occurred_at: string;
|
|
6353
6407
|
event_type: "acs_system.connected";
|
|
6354
6408
|
}>, z.ZodObject<{
|
|
@@ -6357,6 +6411,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6357
6411
|
workspace_id: z.ZodString;
|
|
6358
6412
|
acs_credential_id: z.ZodString;
|
|
6359
6413
|
connected_account_id: z.ZodString;
|
|
6414
|
+
event_id: z.ZodString;
|
|
6360
6415
|
occurred_at: z.ZodString;
|
|
6361
6416
|
event_type: z.ZodLiteral<"acs_credential.deleted">;
|
|
6362
6417
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6365,6 +6420,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6365
6420
|
workspace_id: string;
|
|
6366
6421
|
acs_credential_id: string;
|
|
6367
6422
|
connected_account_id: string;
|
|
6423
|
+
event_id: string;
|
|
6368
6424
|
occurred_at: string;
|
|
6369
6425
|
event_type: "acs_credential.deleted";
|
|
6370
6426
|
}, {
|
|
@@ -6373,6 +6429,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6373
6429
|
workspace_id: string;
|
|
6374
6430
|
acs_credential_id: string;
|
|
6375
6431
|
connected_account_id: string;
|
|
6432
|
+
event_id: string;
|
|
6376
6433
|
occurred_at: string;
|
|
6377
6434
|
event_type: "acs_credential.deleted";
|
|
6378
6435
|
}>, z.ZodObject<{
|
|
@@ -6381,6 +6438,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6381
6438
|
workspace_id: z.ZodString;
|
|
6382
6439
|
acs_user_id: z.ZodString;
|
|
6383
6440
|
connected_account_id: z.ZodString;
|
|
6441
|
+
event_id: z.ZodString;
|
|
6384
6442
|
occurred_at: z.ZodString;
|
|
6385
6443
|
event_type: z.ZodLiteral<"acs_user.deleted">;
|
|
6386
6444
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6389,6 +6447,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6389
6447
|
workspace_id: string;
|
|
6390
6448
|
acs_user_id: string;
|
|
6391
6449
|
connected_account_id: string;
|
|
6450
|
+
event_id: string;
|
|
6392
6451
|
occurred_at: string;
|
|
6393
6452
|
event_type: "acs_user.deleted";
|
|
6394
6453
|
}, {
|
|
@@ -6397,30 +6456,35 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6397
6456
|
workspace_id: string;
|
|
6398
6457
|
acs_user_id: string;
|
|
6399
6458
|
connected_account_id: string;
|
|
6459
|
+
event_id: string;
|
|
6400
6460
|
occurred_at: string;
|
|
6401
6461
|
event_type: "acs_user.deleted";
|
|
6402
6462
|
}>, z.ZodObject<{
|
|
6403
6463
|
created_at: z.ZodString;
|
|
6404
6464
|
workspace_id: z.ZodString;
|
|
6405
6465
|
client_session_id: z.ZodString;
|
|
6466
|
+
event_id: z.ZodString;
|
|
6406
6467
|
occurred_at: z.ZodString;
|
|
6407
6468
|
event_type: z.ZodLiteral<"client_session.deleted">;
|
|
6408
6469
|
}, "strip", z.ZodTypeAny, {
|
|
6409
6470
|
created_at: string;
|
|
6410
6471
|
workspace_id: string;
|
|
6411
6472
|
client_session_id: string;
|
|
6473
|
+
event_id: string;
|
|
6412
6474
|
occurred_at: string;
|
|
6413
6475
|
event_type: "client_session.deleted";
|
|
6414
6476
|
}, {
|
|
6415
6477
|
created_at: string;
|
|
6416
6478
|
workspace_id: string;
|
|
6417
6479
|
client_session_id: string;
|
|
6480
|
+
event_id: string;
|
|
6418
6481
|
occurred_at: string;
|
|
6419
6482
|
event_type: "client_session.deleted";
|
|
6420
6483
|
}>, z.ZodObject<{
|
|
6421
6484
|
created_at: z.ZodString;
|
|
6422
6485
|
workspace_id: z.ZodString;
|
|
6423
6486
|
connected_account_id: z.ZodString;
|
|
6487
|
+
event_id: z.ZodString;
|
|
6424
6488
|
occurred_at: z.ZodString;
|
|
6425
6489
|
event_type: z.ZodLiteral<"connected_account.connected">;
|
|
6426
6490
|
connect_webview_id: z.ZodString;
|
|
@@ -6429,6 +6493,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6429
6493
|
workspace_id: string;
|
|
6430
6494
|
connect_webview_id: string;
|
|
6431
6495
|
connected_account_id: string;
|
|
6496
|
+
event_id: string;
|
|
6432
6497
|
occurred_at: string;
|
|
6433
6498
|
event_type: "connected_account.connected";
|
|
6434
6499
|
}, {
|
|
@@ -6436,12 +6501,14 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6436
6501
|
workspace_id: string;
|
|
6437
6502
|
connect_webview_id: string;
|
|
6438
6503
|
connected_account_id: string;
|
|
6504
|
+
event_id: string;
|
|
6439
6505
|
occurred_at: string;
|
|
6440
6506
|
event_type: "connected_account.connected";
|
|
6441
6507
|
}>, z.ZodObject<{
|
|
6442
6508
|
created_at: z.ZodString;
|
|
6443
6509
|
workspace_id: z.ZodString;
|
|
6444
6510
|
connected_account_id: z.ZodString;
|
|
6511
|
+
event_id: z.ZodString;
|
|
6445
6512
|
occurred_at: z.ZodString;
|
|
6446
6513
|
event_type: z.ZodLiteral<"connected_account.created">;
|
|
6447
6514
|
connect_webview_id: z.ZodString;
|
|
@@ -6450,6 +6517,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6450
6517
|
workspace_id: string;
|
|
6451
6518
|
connect_webview_id: string;
|
|
6452
6519
|
connected_account_id: string;
|
|
6520
|
+
event_id: string;
|
|
6453
6521
|
occurred_at: string;
|
|
6454
6522
|
event_type: "connected_account.created";
|
|
6455
6523
|
}, {
|
|
@@ -6457,12 +6525,14 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6457
6525
|
workspace_id: string;
|
|
6458
6526
|
connect_webview_id: string;
|
|
6459
6527
|
connected_account_id: string;
|
|
6528
|
+
event_id: string;
|
|
6460
6529
|
occurred_at: string;
|
|
6461
6530
|
event_type: "connected_account.created";
|
|
6462
6531
|
}>, z.ZodObject<{
|
|
6463
6532
|
created_at: z.ZodString;
|
|
6464
6533
|
workspace_id: z.ZodString;
|
|
6465
6534
|
connected_account_id: z.ZodString;
|
|
6535
|
+
event_id: z.ZodString;
|
|
6466
6536
|
occurred_at: z.ZodString;
|
|
6467
6537
|
event_type: z.ZodLiteral<"connected_account.successful_login">;
|
|
6468
6538
|
connect_webview_id: z.ZodString;
|
|
@@ -6471,6 +6541,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6471
6541
|
workspace_id: string;
|
|
6472
6542
|
connect_webview_id: string;
|
|
6473
6543
|
connected_account_id: string;
|
|
6544
|
+
event_id: string;
|
|
6474
6545
|
occurred_at: string;
|
|
6475
6546
|
event_type: "connected_account.successful_login";
|
|
6476
6547
|
}, {
|
|
@@ -6478,78 +6549,91 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6478
6549
|
workspace_id: string;
|
|
6479
6550
|
connect_webview_id: string;
|
|
6480
6551
|
connected_account_id: string;
|
|
6552
|
+
event_id: string;
|
|
6481
6553
|
occurred_at: string;
|
|
6482
6554
|
event_type: "connected_account.successful_login";
|
|
6483
6555
|
}>, z.ZodObject<{
|
|
6484
6556
|
created_at: z.ZodString;
|
|
6485
6557
|
workspace_id: z.ZodString;
|
|
6486
6558
|
connected_account_id: z.ZodString;
|
|
6559
|
+
event_id: z.ZodString;
|
|
6487
6560
|
occurred_at: z.ZodString;
|
|
6488
6561
|
event_type: z.ZodLiteral<"connected_account.disconnected">;
|
|
6489
6562
|
}, "strip", z.ZodTypeAny, {
|
|
6490
6563
|
created_at: string;
|
|
6491
6564
|
workspace_id: string;
|
|
6492
6565
|
connected_account_id: string;
|
|
6566
|
+
event_id: string;
|
|
6493
6567
|
occurred_at: string;
|
|
6494
6568
|
event_type: "connected_account.disconnected";
|
|
6495
6569
|
}, {
|
|
6496
6570
|
created_at: string;
|
|
6497
6571
|
workspace_id: string;
|
|
6498
6572
|
connected_account_id: string;
|
|
6573
|
+
event_id: string;
|
|
6499
6574
|
occurred_at: string;
|
|
6500
6575
|
event_type: "connected_account.disconnected";
|
|
6501
6576
|
}>, z.ZodObject<{
|
|
6502
6577
|
created_at: z.ZodString;
|
|
6503
6578
|
workspace_id: z.ZodString;
|
|
6504
6579
|
connected_account_id: z.ZodString;
|
|
6580
|
+
event_id: z.ZodString;
|
|
6505
6581
|
occurred_at: z.ZodString;
|
|
6506
6582
|
event_type: z.ZodLiteral<"connected_account.completed_first_sync">;
|
|
6507
6583
|
}, "strip", z.ZodTypeAny, {
|
|
6508
6584
|
created_at: string;
|
|
6509
6585
|
workspace_id: string;
|
|
6510
6586
|
connected_account_id: string;
|
|
6587
|
+
event_id: string;
|
|
6511
6588
|
occurred_at: string;
|
|
6512
6589
|
event_type: "connected_account.completed_first_sync";
|
|
6513
6590
|
}, {
|
|
6514
6591
|
created_at: string;
|
|
6515
6592
|
workspace_id: string;
|
|
6516
6593
|
connected_account_id: string;
|
|
6594
|
+
event_id: string;
|
|
6517
6595
|
occurred_at: string;
|
|
6518
6596
|
event_type: "connected_account.completed_first_sync";
|
|
6519
6597
|
}>, z.ZodObject<{
|
|
6520
6598
|
created_at: z.ZodString;
|
|
6521
6599
|
workspace_id: z.ZodString;
|
|
6522
6600
|
connected_account_id: z.ZodString;
|
|
6601
|
+
event_id: z.ZodString;
|
|
6523
6602
|
occurred_at: z.ZodString;
|
|
6524
6603
|
event_type: z.ZodLiteral<"connected_account.deleted">;
|
|
6525
6604
|
}, "strip", z.ZodTypeAny, {
|
|
6526
6605
|
created_at: string;
|
|
6527
6606
|
workspace_id: string;
|
|
6528
6607
|
connected_account_id: string;
|
|
6608
|
+
event_id: string;
|
|
6529
6609
|
occurred_at: string;
|
|
6530
6610
|
event_type: "connected_account.deleted";
|
|
6531
6611
|
}, {
|
|
6532
6612
|
created_at: string;
|
|
6533
6613
|
workspace_id: string;
|
|
6534
6614
|
connected_account_id: string;
|
|
6615
|
+
event_id: string;
|
|
6535
6616
|
occurred_at: string;
|
|
6536
6617
|
event_type: "connected_account.deleted";
|
|
6537
6618
|
}>, z.ZodObject<{
|
|
6538
6619
|
created_at: z.ZodString;
|
|
6539
6620
|
workspace_id: z.ZodString;
|
|
6540
6621
|
connected_account_id: z.ZodString;
|
|
6622
|
+
event_id: z.ZodString;
|
|
6541
6623
|
occurred_at: z.ZodString;
|
|
6542
6624
|
event_type: z.ZodLiteral<"connected_account.completed_first_sync_after_reconnection">;
|
|
6543
6625
|
}, "strip", z.ZodTypeAny, {
|
|
6544
6626
|
created_at: string;
|
|
6545
6627
|
workspace_id: string;
|
|
6546
6628
|
connected_account_id: string;
|
|
6629
|
+
event_id: string;
|
|
6547
6630
|
occurred_at: string;
|
|
6548
6631
|
event_type: "connected_account.completed_first_sync_after_reconnection";
|
|
6549
6632
|
}, {
|
|
6550
6633
|
created_at: string;
|
|
6551
6634
|
workspace_id: string;
|
|
6552
6635
|
connected_account_id: string;
|
|
6636
|
+
event_id: string;
|
|
6553
6637
|
occurred_at: string;
|
|
6554
6638
|
event_type: "connected_account.completed_first_sync_after_reconnection";
|
|
6555
6639
|
}>, z.ZodObject<{
|
|
@@ -6557,6 +6641,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6557
6641
|
created_at: z.ZodString;
|
|
6558
6642
|
workspace_id: z.ZodString;
|
|
6559
6643
|
connected_account_id: z.ZodString;
|
|
6644
|
+
event_id: z.ZodString;
|
|
6560
6645
|
occurred_at: z.ZodString;
|
|
6561
6646
|
event_type: z.ZodLiteral<"device.connected">;
|
|
6562
6647
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6564,6 +6649,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6564
6649
|
created_at: string;
|
|
6565
6650
|
workspace_id: string;
|
|
6566
6651
|
connected_account_id: string;
|
|
6652
|
+
event_id: string;
|
|
6567
6653
|
occurred_at: string;
|
|
6568
6654
|
event_type: "device.connected";
|
|
6569
6655
|
}, {
|
|
@@ -6571,6 +6657,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6571
6657
|
created_at: string;
|
|
6572
6658
|
workspace_id: string;
|
|
6573
6659
|
connected_account_id: string;
|
|
6660
|
+
event_id: string;
|
|
6574
6661
|
occurred_at: string;
|
|
6575
6662
|
event_type: "device.connected";
|
|
6576
6663
|
}>, z.ZodObject<{
|
|
@@ -6578,6 +6665,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6578
6665
|
created_at: z.ZodString;
|
|
6579
6666
|
workspace_id: z.ZodString;
|
|
6580
6667
|
connected_account_id: z.ZodString;
|
|
6668
|
+
event_id: z.ZodString;
|
|
6581
6669
|
occurred_at: z.ZodString;
|
|
6582
6670
|
event_type: z.ZodLiteral<"device.converted_to_unmanaged">;
|
|
6583
6671
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6585,6 +6673,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6585
6673
|
created_at: string;
|
|
6586
6674
|
workspace_id: string;
|
|
6587
6675
|
connected_account_id: string;
|
|
6676
|
+
event_id: string;
|
|
6588
6677
|
occurred_at: string;
|
|
6589
6678
|
event_type: "device.converted_to_unmanaged";
|
|
6590
6679
|
}, {
|
|
@@ -6592,6 +6681,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6592
6681
|
created_at: string;
|
|
6593
6682
|
workspace_id: string;
|
|
6594
6683
|
connected_account_id: string;
|
|
6684
|
+
event_id: string;
|
|
6595
6685
|
occurred_at: string;
|
|
6596
6686
|
event_type: "device.converted_to_unmanaged";
|
|
6597
6687
|
}>, z.ZodObject<{
|
|
@@ -6599,6 +6689,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6599
6689
|
created_at: z.ZodString;
|
|
6600
6690
|
workspace_id: z.ZodString;
|
|
6601
6691
|
connected_account_id: z.ZodString;
|
|
6692
|
+
event_id: z.ZodString;
|
|
6602
6693
|
occurred_at: z.ZodString;
|
|
6603
6694
|
event_type: z.ZodLiteral<"device.unmanaged.converted_to_managed">;
|
|
6604
6695
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6606,6 +6697,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6606
6697
|
created_at: string;
|
|
6607
6698
|
workspace_id: string;
|
|
6608
6699
|
connected_account_id: string;
|
|
6700
|
+
event_id: string;
|
|
6609
6701
|
occurred_at: string;
|
|
6610
6702
|
event_type: "device.unmanaged.converted_to_managed";
|
|
6611
6703
|
}, {
|
|
@@ -6613,6 +6705,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6613
6705
|
created_at: string;
|
|
6614
6706
|
workspace_id: string;
|
|
6615
6707
|
connected_account_id: string;
|
|
6708
|
+
event_id: string;
|
|
6616
6709
|
occurred_at: string;
|
|
6617
6710
|
event_type: "device.unmanaged.converted_to_managed";
|
|
6618
6711
|
}>, z.ZodObject<{
|
|
@@ -6620,6 +6713,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6620
6713
|
created_at: z.ZodString;
|
|
6621
6714
|
workspace_id: z.ZodString;
|
|
6622
6715
|
connected_account_id: z.ZodString;
|
|
6716
|
+
event_id: z.ZodString;
|
|
6623
6717
|
occurred_at: z.ZodString;
|
|
6624
6718
|
event_type: z.ZodLiteral<"device.unmanaged.connected">;
|
|
6625
6719
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6627,6 +6721,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6627
6721
|
created_at: string;
|
|
6628
6722
|
workspace_id: string;
|
|
6629
6723
|
connected_account_id: string;
|
|
6724
|
+
event_id: string;
|
|
6630
6725
|
occurred_at: string;
|
|
6631
6726
|
event_type: "device.unmanaged.connected";
|
|
6632
6727
|
}, {
|
|
@@ -6634,6 +6729,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6634
6729
|
created_at: string;
|
|
6635
6730
|
workspace_id: string;
|
|
6636
6731
|
connected_account_id: string;
|
|
6732
|
+
event_id: string;
|
|
6637
6733
|
occurred_at: string;
|
|
6638
6734
|
event_type: "device.unmanaged.connected";
|
|
6639
6735
|
}>, z.ZodObject<{
|
|
@@ -6641,6 +6737,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6641
6737
|
created_at: z.ZodString;
|
|
6642
6738
|
workspace_id: z.ZodString;
|
|
6643
6739
|
connected_account_id: z.ZodString;
|
|
6740
|
+
event_id: z.ZodString;
|
|
6644
6741
|
occurred_at: z.ZodString;
|
|
6645
6742
|
event_type: z.ZodLiteral<"device.disconnected">;
|
|
6646
6743
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
@@ -6650,6 +6747,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6650
6747
|
workspace_id: string;
|
|
6651
6748
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
6652
6749
|
connected_account_id: string;
|
|
6750
|
+
event_id: string;
|
|
6653
6751
|
occurred_at: string;
|
|
6654
6752
|
event_type: "device.disconnected";
|
|
6655
6753
|
}, {
|
|
@@ -6658,6 +6756,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6658
6756
|
workspace_id: string;
|
|
6659
6757
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
6660
6758
|
connected_account_id: string;
|
|
6759
|
+
event_id: string;
|
|
6661
6760
|
occurred_at: string;
|
|
6662
6761
|
event_type: "device.disconnected";
|
|
6663
6762
|
}>, z.ZodObject<{
|
|
@@ -6665,6 +6764,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6665
6764
|
created_at: z.ZodString;
|
|
6666
6765
|
workspace_id: z.ZodString;
|
|
6667
6766
|
connected_account_id: z.ZodString;
|
|
6767
|
+
event_id: z.ZodString;
|
|
6668
6768
|
occurred_at: z.ZodString;
|
|
6669
6769
|
event_type: z.ZodLiteral<"device.unmanaged.disconnected">;
|
|
6670
6770
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
@@ -6674,6 +6774,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6674
6774
|
workspace_id: string;
|
|
6675
6775
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
6676
6776
|
connected_account_id: string;
|
|
6777
|
+
event_id: string;
|
|
6677
6778
|
occurred_at: string;
|
|
6678
6779
|
event_type: "device.unmanaged.disconnected";
|
|
6679
6780
|
}, {
|
|
@@ -6682,6 +6783,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6682
6783
|
workspace_id: string;
|
|
6683
6784
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
6684
6785
|
connected_account_id: string;
|
|
6786
|
+
event_id: string;
|
|
6685
6787
|
occurred_at: string;
|
|
6686
6788
|
event_type: "device.unmanaged.disconnected";
|
|
6687
6789
|
}>, z.ZodObject<{
|
|
@@ -6689,6 +6791,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6689
6791
|
created_at: z.ZodString;
|
|
6690
6792
|
workspace_id: z.ZodString;
|
|
6691
6793
|
connected_account_id: z.ZodString;
|
|
6794
|
+
event_id: z.ZodString;
|
|
6692
6795
|
occurred_at: z.ZodString;
|
|
6693
6796
|
event_type: z.ZodLiteral<"device.tampered">;
|
|
6694
6797
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6696,6 +6799,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6696
6799
|
created_at: string;
|
|
6697
6800
|
workspace_id: string;
|
|
6698
6801
|
connected_account_id: string;
|
|
6802
|
+
event_id: string;
|
|
6699
6803
|
occurred_at: string;
|
|
6700
6804
|
event_type: "device.tampered";
|
|
6701
6805
|
}, {
|
|
@@ -6703,6 +6807,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6703
6807
|
created_at: string;
|
|
6704
6808
|
workspace_id: string;
|
|
6705
6809
|
connected_account_id: string;
|
|
6810
|
+
event_id: string;
|
|
6706
6811
|
occurred_at: string;
|
|
6707
6812
|
event_type: "device.tampered";
|
|
6708
6813
|
}>, z.ZodObject<{
|
|
@@ -6710,6 +6815,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6710
6815
|
created_at: z.ZodString;
|
|
6711
6816
|
workspace_id: z.ZodString;
|
|
6712
6817
|
connected_account_id: z.ZodString;
|
|
6818
|
+
event_id: z.ZodString;
|
|
6713
6819
|
occurred_at: z.ZodString;
|
|
6714
6820
|
event_type: z.ZodLiteral<"device.low_battery">;
|
|
6715
6821
|
battery_level: z.ZodNumber;
|
|
@@ -6719,6 +6825,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6719
6825
|
workspace_id: string;
|
|
6720
6826
|
connected_account_id: string;
|
|
6721
6827
|
battery_level: number;
|
|
6828
|
+
event_id: string;
|
|
6722
6829
|
occurred_at: string;
|
|
6723
6830
|
event_type: "device.low_battery";
|
|
6724
6831
|
}, {
|
|
@@ -6727,6 +6834,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6727
6834
|
workspace_id: string;
|
|
6728
6835
|
connected_account_id: string;
|
|
6729
6836
|
battery_level: number;
|
|
6837
|
+
event_id: string;
|
|
6730
6838
|
occurred_at: string;
|
|
6731
6839
|
event_type: "device.low_battery";
|
|
6732
6840
|
}>, z.ZodObject<{
|
|
@@ -6734,6 +6842,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6734
6842
|
created_at: z.ZodString;
|
|
6735
6843
|
workspace_id: z.ZodString;
|
|
6736
6844
|
connected_account_id: z.ZodString;
|
|
6845
|
+
event_id: z.ZodString;
|
|
6737
6846
|
occurred_at: z.ZodString;
|
|
6738
6847
|
event_type: z.ZodLiteral<"device.battery_status_changed">;
|
|
6739
6848
|
battery_status: z.ZodEnum<["critical", "low", "good", "full"]>;
|
|
@@ -6744,6 +6853,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6744
6853
|
workspace_id: string;
|
|
6745
6854
|
connected_account_id: string;
|
|
6746
6855
|
battery_level: number;
|
|
6856
|
+
event_id: string;
|
|
6747
6857
|
occurred_at: string;
|
|
6748
6858
|
event_type: "device.battery_status_changed";
|
|
6749
6859
|
battery_status: "critical" | "low" | "good" | "full";
|
|
@@ -6753,6 +6863,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6753
6863
|
workspace_id: string;
|
|
6754
6864
|
connected_account_id: string;
|
|
6755
6865
|
battery_level: number;
|
|
6866
|
+
event_id: string;
|
|
6756
6867
|
occurred_at: string;
|
|
6757
6868
|
event_type: "device.battery_status_changed";
|
|
6758
6869
|
battery_status: "critical" | "low" | "good" | "full";
|
|
@@ -6761,6 +6872,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6761
6872
|
created_at: z.ZodString;
|
|
6762
6873
|
workspace_id: z.ZodString;
|
|
6763
6874
|
connected_account_id: z.ZodString;
|
|
6875
|
+
event_id: z.ZodString;
|
|
6764
6876
|
occurred_at: z.ZodString;
|
|
6765
6877
|
event_type: z.ZodLiteral<"device.removed">;
|
|
6766
6878
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6768,6 +6880,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6768
6880
|
created_at: string;
|
|
6769
6881
|
workspace_id: string;
|
|
6770
6882
|
connected_account_id: string;
|
|
6883
|
+
event_id: string;
|
|
6771
6884
|
occurred_at: string;
|
|
6772
6885
|
event_type: "device.removed";
|
|
6773
6886
|
}, {
|
|
@@ -6775,6 +6888,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6775
6888
|
created_at: string;
|
|
6776
6889
|
workspace_id: string;
|
|
6777
6890
|
connected_account_id: string;
|
|
6891
|
+
event_id: string;
|
|
6778
6892
|
occurred_at: string;
|
|
6779
6893
|
event_type: "device.removed";
|
|
6780
6894
|
}>, z.ZodObject<{
|
|
@@ -6782,6 +6896,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6782
6896
|
created_at: z.ZodString;
|
|
6783
6897
|
workspace_id: z.ZodString;
|
|
6784
6898
|
connected_account_id: z.ZodString;
|
|
6899
|
+
event_id: z.ZodString;
|
|
6785
6900
|
occurred_at: z.ZodString;
|
|
6786
6901
|
event_type: z.ZodLiteral<"device.deleted">;
|
|
6787
6902
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6789,6 +6904,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6789
6904
|
created_at: string;
|
|
6790
6905
|
workspace_id: string;
|
|
6791
6906
|
connected_account_id: string;
|
|
6907
|
+
event_id: string;
|
|
6792
6908
|
occurred_at: string;
|
|
6793
6909
|
event_type: "device.deleted";
|
|
6794
6910
|
}, {
|
|
@@ -6796,6 +6912,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6796
6912
|
created_at: string;
|
|
6797
6913
|
workspace_id: string;
|
|
6798
6914
|
connected_account_id: string;
|
|
6915
|
+
event_id: string;
|
|
6799
6916
|
occurred_at: string;
|
|
6800
6917
|
event_type: "device.deleted";
|
|
6801
6918
|
}>, z.ZodObject<{
|
|
@@ -6803,6 +6920,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6803
6920
|
created_at: z.ZodString;
|
|
6804
6921
|
workspace_id: z.ZodString;
|
|
6805
6922
|
connected_account_id: z.ZodString;
|
|
6923
|
+
event_id: z.ZodString;
|
|
6806
6924
|
occurred_at: z.ZodString;
|
|
6807
6925
|
event_type: z.ZodLiteral<"device.third_party_integration_detected">;
|
|
6808
6926
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6810,6 +6928,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6810
6928
|
created_at: string;
|
|
6811
6929
|
workspace_id: string;
|
|
6812
6930
|
connected_account_id: string;
|
|
6931
|
+
event_id: string;
|
|
6813
6932
|
occurred_at: string;
|
|
6814
6933
|
event_type: "device.third_party_integration_detected";
|
|
6815
6934
|
}, {
|
|
@@ -6817,6 +6936,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6817
6936
|
created_at: string;
|
|
6818
6937
|
workspace_id: string;
|
|
6819
6938
|
connected_account_id: string;
|
|
6939
|
+
event_id: string;
|
|
6820
6940
|
occurred_at: string;
|
|
6821
6941
|
event_type: "device.third_party_integration_detected";
|
|
6822
6942
|
}>, z.ZodObject<{
|
|
@@ -6824,6 +6944,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6824
6944
|
created_at: z.ZodString;
|
|
6825
6945
|
workspace_id: z.ZodString;
|
|
6826
6946
|
connected_account_id: z.ZodString;
|
|
6947
|
+
event_id: z.ZodString;
|
|
6827
6948
|
occurred_at: z.ZodString;
|
|
6828
6949
|
event_type: z.ZodLiteral<"device.third_party_integration_no_longer_detected">;
|
|
6829
6950
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6831,6 +6952,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6831
6952
|
created_at: string;
|
|
6832
6953
|
workspace_id: string;
|
|
6833
6954
|
connected_account_id: string;
|
|
6955
|
+
event_id: string;
|
|
6834
6956
|
occurred_at: string;
|
|
6835
6957
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
6836
6958
|
}, {
|
|
@@ -6838,6 +6960,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6838
6960
|
created_at: string;
|
|
6839
6961
|
workspace_id: string;
|
|
6840
6962
|
connected_account_id: string;
|
|
6963
|
+
event_id: string;
|
|
6841
6964
|
occurred_at: string;
|
|
6842
6965
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
6843
6966
|
}>, z.ZodObject<{
|
|
@@ -6845,6 +6968,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6845
6968
|
created_at: z.ZodString;
|
|
6846
6969
|
workspace_id: z.ZodString;
|
|
6847
6970
|
connected_account_id: z.ZodString;
|
|
6971
|
+
event_id: z.ZodString;
|
|
6848
6972
|
occurred_at: z.ZodString;
|
|
6849
6973
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_activated">;
|
|
6850
6974
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6852,6 +6976,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6852
6976
|
created_at: string;
|
|
6853
6977
|
workspace_id: string;
|
|
6854
6978
|
connected_account_id: string;
|
|
6979
|
+
event_id: string;
|
|
6855
6980
|
occurred_at: string;
|
|
6856
6981
|
event_type: "device.salto.privacy_mode_activated";
|
|
6857
6982
|
}, {
|
|
@@ -6859,6 +6984,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6859
6984
|
created_at: string;
|
|
6860
6985
|
workspace_id: string;
|
|
6861
6986
|
connected_account_id: string;
|
|
6987
|
+
event_id: string;
|
|
6862
6988
|
occurred_at: string;
|
|
6863
6989
|
event_type: "device.salto.privacy_mode_activated";
|
|
6864
6990
|
}>, z.ZodObject<{
|
|
@@ -6866,6 +6992,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6866
6992
|
created_at: z.ZodString;
|
|
6867
6993
|
workspace_id: z.ZodString;
|
|
6868
6994
|
connected_account_id: z.ZodString;
|
|
6995
|
+
event_id: z.ZodString;
|
|
6869
6996
|
occurred_at: z.ZodString;
|
|
6870
6997
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_deactivated">;
|
|
6871
6998
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6873,6 +7000,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6873
7000
|
created_at: string;
|
|
6874
7001
|
workspace_id: string;
|
|
6875
7002
|
connected_account_id: string;
|
|
7003
|
+
event_id: string;
|
|
6876
7004
|
occurred_at: string;
|
|
6877
7005
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
6878
7006
|
}, {
|
|
@@ -6880,6 +7008,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6880
7008
|
created_at: string;
|
|
6881
7009
|
workspace_id: string;
|
|
6882
7010
|
connected_account_id: string;
|
|
7011
|
+
event_id: string;
|
|
6883
7012
|
occurred_at: string;
|
|
6884
7013
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
6885
7014
|
}>, z.ZodObject<{
|
|
@@ -6887,6 +7016,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6887
7016
|
created_at: z.ZodString;
|
|
6888
7017
|
workspace_id: z.ZodString;
|
|
6889
7018
|
connected_account_id: z.ZodString;
|
|
7019
|
+
event_id: z.ZodString;
|
|
6890
7020
|
occurred_at: z.ZodString;
|
|
6891
7021
|
event_type: z.ZodLiteral<"device.connection_became_flaky">;
|
|
6892
7022
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6894,6 +7024,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6894
7024
|
created_at: string;
|
|
6895
7025
|
workspace_id: string;
|
|
6896
7026
|
connected_account_id: string;
|
|
7027
|
+
event_id: string;
|
|
6897
7028
|
occurred_at: string;
|
|
6898
7029
|
event_type: "device.connection_became_flaky";
|
|
6899
7030
|
}, {
|
|
@@ -6901,6 +7032,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6901
7032
|
created_at: string;
|
|
6902
7033
|
workspace_id: string;
|
|
6903
7034
|
connected_account_id: string;
|
|
7035
|
+
event_id: string;
|
|
6904
7036
|
occurred_at: string;
|
|
6905
7037
|
event_type: "device.connection_became_flaky";
|
|
6906
7038
|
}>, z.ZodObject<{
|
|
@@ -6908,6 +7040,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6908
7040
|
created_at: z.ZodString;
|
|
6909
7041
|
workspace_id: z.ZodString;
|
|
6910
7042
|
connected_account_id: z.ZodString;
|
|
7043
|
+
event_id: z.ZodString;
|
|
6911
7044
|
occurred_at: z.ZodString;
|
|
6912
7045
|
event_type: z.ZodLiteral<"device.connection_stabilized">;
|
|
6913
7046
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6915,6 +7048,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6915
7048
|
created_at: string;
|
|
6916
7049
|
workspace_id: string;
|
|
6917
7050
|
connected_account_id: string;
|
|
7051
|
+
event_id: string;
|
|
6918
7052
|
occurred_at: string;
|
|
6919
7053
|
event_type: "device.connection_stabilized";
|
|
6920
7054
|
}, {
|
|
@@ -6922,6 +7056,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6922
7056
|
created_at: string;
|
|
6923
7057
|
workspace_id: string;
|
|
6924
7058
|
connected_account_id: string;
|
|
7059
|
+
event_id: string;
|
|
6925
7060
|
occurred_at: string;
|
|
6926
7061
|
event_type: "device.connection_stabilized";
|
|
6927
7062
|
}>, z.ZodObject<{
|
|
@@ -6929,6 +7064,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6929
7064
|
created_at: z.ZodString;
|
|
6930
7065
|
workspace_id: z.ZodString;
|
|
6931
7066
|
connected_account_id: z.ZodString;
|
|
7067
|
+
event_id: z.ZodString;
|
|
6932
7068
|
occurred_at: z.ZodString;
|
|
6933
7069
|
event_type: z.ZodLiteral<"device.error.subscription_required">;
|
|
6934
7070
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6936,6 +7072,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6936
7072
|
created_at: string;
|
|
6937
7073
|
workspace_id: string;
|
|
6938
7074
|
connected_account_id: string;
|
|
7075
|
+
event_id: string;
|
|
6939
7076
|
occurred_at: string;
|
|
6940
7077
|
event_type: "device.error.subscription_required";
|
|
6941
7078
|
}, {
|
|
@@ -6943,6 +7080,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6943
7080
|
created_at: string;
|
|
6944
7081
|
workspace_id: string;
|
|
6945
7082
|
connected_account_id: string;
|
|
7083
|
+
event_id: string;
|
|
6946
7084
|
occurred_at: string;
|
|
6947
7085
|
event_type: "device.error.subscription_required";
|
|
6948
7086
|
}>, z.ZodObject<{
|
|
@@ -6950,6 +7088,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6950
7088
|
created_at: z.ZodString;
|
|
6951
7089
|
workspace_id: z.ZodString;
|
|
6952
7090
|
connected_account_id: z.ZodString;
|
|
7091
|
+
event_id: z.ZodString;
|
|
6953
7092
|
occurred_at: z.ZodString;
|
|
6954
7093
|
event_type: z.ZodLiteral<"device.error.subscription_required.resolved">;
|
|
6955
7094
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6957,6 +7096,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6957
7096
|
created_at: string;
|
|
6958
7097
|
workspace_id: string;
|
|
6959
7098
|
connected_account_id: string;
|
|
7099
|
+
event_id: string;
|
|
6960
7100
|
occurred_at: string;
|
|
6961
7101
|
event_type: "device.error.subscription_required.resolved";
|
|
6962
7102
|
}, {
|
|
@@ -6964,6 +7104,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6964
7104
|
created_at: string;
|
|
6965
7105
|
workspace_id: string;
|
|
6966
7106
|
connected_account_id: string;
|
|
7107
|
+
event_id: string;
|
|
6967
7108
|
occurred_at: string;
|
|
6968
7109
|
event_type: "device.error.subscription_required.resolved";
|
|
6969
7110
|
}>, z.ZodObject<{
|
|
@@ -6971,6 +7112,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6971
7112
|
created_at: z.ZodString;
|
|
6972
7113
|
workspace_id: z.ZodString;
|
|
6973
7114
|
connected_account_id: z.ZodString;
|
|
7115
|
+
event_id: z.ZodString;
|
|
6974
7116
|
occurred_at: z.ZodString;
|
|
6975
7117
|
event_type: z.ZodLiteral<"device.accessory_keypad_connected">;
|
|
6976
7118
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6978,6 +7120,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6978
7120
|
created_at: string;
|
|
6979
7121
|
workspace_id: string;
|
|
6980
7122
|
connected_account_id: string;
|
|
7123
|
+
event_id: string;
|
|
6981
7124
|
occurred_at: string;
|
|
6982
7125
|
event_type: "device.accessory_keypad_connected";
|
|
6983
7126
|
}, {
|
|
@@ -6985,6 +7128,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6985
7128
|
created_at: string;
|
|
6986
7129
|
workspace_id: string;
|
|
6987
7130
|
connected_account_id: string;
|
|
7131
|
+
event_id: string;
|
|
6988
7132
|
occurred_at: string;
|
|
6989
7133
|
event_type: "device.accessory_keypad_connected";
|
|
6990
7134
|
}>, z.ZodObject<{
|
|
@@ -6992,6 +7136,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6992
7136
|
created_at: z.ZodString;
|
|
6993
7137
|
workspace_id: z.ZodString;
|
|
6994
7138
|
connected_account_id: z.ZodString;
|
|
7139
|
+
event_id: z.ZodString;
|
|
6995
7140
|
occurred_at: z.ZodString;
|
|
6996
7141
|
event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
|
|
6997
7142
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6999,6 +7144,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
6999
7144
|
created_at: string;
|
|
7000
7145
|
workspace_id: string;
|
|
7001
7146
|
connected_account_id: string;
|
|
7147
|
+
event_id: string;
|
|
7002
7148
|
occurred_at: string;
|
|
7003
7149
|
event_type: "device.accessory_keypad_disconnected";
|
|
7004
7150
|
}, {
|
|
@@ -7006,6 +7152,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
7006
7152
|
created_at: string;
|
|
7007
7153
|
workspace_id: string;
|
|
7008
7154
|
connected_account_id: string;
|
|
7155
|
+
event_id: string;
|
|
7009
7156
|
occurred_at: string;
|
|
7010
7157
|
event_type: "device.accessory_keypad_disconnected";
|
|
7011
7158
|
}>, z.ZodObject<{
|
|
@@ -7013,6 +7160,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
7013
7160
|
created_at: z.ZodString;
|
|
7014
7161
|
workspace_id: z.ZodString;
|
|
7015
7162
|
connected_account_id: z.ZodString;
|
|
7163
|
+
event_id: z.ZodString;
|
|
7016
7164
|
occurred_at: z.ZodString;
|
|
7017
7165
|
event_type: z.ZodLiteral<"noise_sensor.noise_threshold_triggered">;
|
|
7018
7166
|
noiseaware_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -7022,6 +7170,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
7022
7170
|
created_at: string;
|
|
7023
7171
|
workspace_id: string;
|
|
7024
7172
|
connected_account_id: string;
|
|
7173
|
+
event_id: string;
|
|
7025
7174
|
occurred_at: string;
|
|
7026
7175
|
event_type: "noise_sensor.noise_threshold_triggered";
|
|
7027
7176
|
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
@@ -7031,6 +7180,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
7031
7180
|
created_at: string;
|
|
7032
7181
|
workspace_id: string;
|
|
7033
7182
|
connected_account_id: string;
|
|
7183
|
+
event_id: string;
|
|
7034
7184
|
occurred_at: string;
|
|
7035
7185
|
event_type: "noise_sensor.noise_threshold_triggered";
|
|
7036
7186
|
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
@@ -7040,6 +7190,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
7040
7190
|
created_at: z.ZodString;
|
|
7041
7191
|
workspace_id: z.ZodString;
|
|
7042
7192
|
connected_account_id: z.ZodString;
|
|
7193
|
+
event_id: z.ZodString;
|
|
7043
7194
|
occurred_at: z.ZodString;
|
|
7044
7195
|
event_type: z.ZodLiteral<"lock.locked">;
|
|
7045
7196
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
@@ -7051,6 +7202,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
7051
7202
|
workspace_id: string;
|
|
7052
7203
|
connected_account_id: string;
|
|
7053
7204
|
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
7205
|
+
event_id: string;
|
|
7054
7206
|
occurred_at: string;
|
|
7055
7207
|
event_type: "lock.locked";
|
|
7056
7208
|
access_code_id?: string | undefined;
|
|
@@ -7061,6 +7213,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
7061
7213
|
workspace_id: string;
|
|
7062
7214
|
connected_account_id: string;
|
|
7063
7215
|
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
7216
|
+
event_id: string;
|
|
7064
7217
|
occurred_at: string;
|
|
7065
7218
|
event_type: "lock.locked";
|
|
7066
7219
|
access_code_id?: string | undefined;
|
|
@@ -7070,6 +7223,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
7070
7223
|
created_at: z.ZodString;
|
|
7071
7224
|
workspace_id: z.ZodString;
|
|
7072
7225
|
connected_account_id: z.ZodString;
|
|
7226
|
+
event_id: z.ZodString;
|
|
7073
7227
|
occurred_at: z.ZodString;
|
|
7074
7228
|
event_type: z.ZodLiteral<"lock.unlocked">;
|
|
7075
7229
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
@@ -7081,6 +7235,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
7081
7235
|
workspace_id: string;
|
|
7082
7236
|
connected_account_id: string;
|
|
7083
7237
|
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
7238
|
+
event_id: string;
|
|
7084
7239
|
occurred_at: string;
|
|
7085
7240
|
event_type: "lock.unlocked";
|
|
7086
7241
|
access_code_id?: string | undefined;
|
|
@@ -7091,6 +7246,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
7091
7246
|
workspace_id: string;
|
|
7092
7247
|
connected_account_id: string;
|
|
7093
7248
|
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
7249
|
+
event_id: string;
|
|
7094
7250
|
occurred_at: string;
|
|
7095
7251
|
event_type: "lock.unlocked";
|
|
7096
7252
|
access_code_id?: string | undefined;
|
|
@@ -7100,6 +7256,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
7100
7256
|
created_at: z.ZodString;
|
|
7101
7257
|
workspace_id: z.ZodString;
|
|
7102
7258
|
connected_account_id: z.ZodString;
|
|
7259
|
+
event_id: z.ZodString;
|
|
7103
7260
|
occurred_at: z.ZodString;
|
|
7104
7261
|
event_type: z.ZodLiteral<"lock.access_denied">;
|
|
7105
7262
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
@@ -7108,6 +7265,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
7108
7265
|
created_at: string;
|
|
7109
7266
|
workspace_id: string;
|
|
7110
7267
|
connected_account_id: string;
|
|
7268
|
+
event_id: string;
|
|
7111
7269
|
occurred_at: string;
|
|
7112
7270
|
event_type: "lock.access_denied";
|
|
7113
7271
|
access_code_id?: string | undefined;
|
|
@@ -7116,6 +7274,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
7116
7274
|
created_at: string;
|
|
7117
7275
|
workspace_id: string;
|
|
7118
7276
|
connected_account_id: string;
|
|
7277
|
+
event_id: string;
|
|
7119
7278
|
occurred_at: string;
|
|
7120
7279
|
event_type: "lock.access_denied";
|
|
7121
7280
|
access_code_id?: string | undefined;
|
|
@@ -7123,36 +7282,42 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
7123
7282
|
created_at: z.ZodString;
|
|
7124
7283
|
workspace_id: z.ZodString;
|
|
7125
7284
|
enrollment_automation_id: z.ZodString;
|
|
7285
|
+
event_id: z.ZodString;
|
|
7126
7286
|
occurred_at: z.ZodString;
|
|
7127
7287
|
event_type: z.ZodLiteral<"enrollment_automation.deleted">;
|
|
7128
7288
|
}, "strip", z.ZodTypeAny, {
|
|
7129
7289
|
created_at: string;
|
|
7130
7290
|
workspace_id: string;
|
|
7131
7291
|
enrollment_automation_id: string;
|
|
7292
|
+
event_id: string;
|
|
7132
7293
|
occurred_at: string;
|
|
7133
7294
|
event_type: "enrollment_automation.deleted";
|
|
7134
7295
|
}, {
|
|
7135
7296
|
created_at: string;
|
|
7136
7297
|
workspace_id: string;
|
|
7137
7298
|
enrollment_automation_id: string;
|
|
7299
|
+
event_id: string;
|
|
7138
7300
|
occurred_at: string;
|
|
7139
7301
|
event_type: "enrollment_automation.deleted";
|
|
7140
7302
|
}>, z.ZodObject<{
|
|
7141
7303
|
device_id: z.ZodString;
|
|
7142
7304
|
created_at: z.ZodString;
|
|
7143
7305
|
workspace_id: z.ZodString;
|
|
7306
|
+
event_id: z.ZodString;
|
|
7144
7307
|
occurred_at: z.ZodString;
|
|
7145
7308
|
event_type: z.ZodLiteral<"phone.deactivated">;
|
|
7146
7309
|
}, "strip", z.ZodTypeAny, {
|
|
7147
7310
|
device_id: string;
|
|
7148
7311
|
created_at: string;
|
|
7149
7312
|
workspace_id: string;
|
|
7313
|
+
event_id: string;
|
|
7150
7314
|
occurred_at: string;
|
|
7151
7315
|
event_type: "phone.deactivated";
|
|
7152
7316
|
}, {
|
|
7153
7317
|
device_id: string;
|
|
7154
7318
|
created_at: string;
|
|
7155
7319
|
workspace_id: string;
|
|
7320
|
+
event_id: string;
|
|
7156
7321
|
occurred_at: string;
|
|
7157
7322
|
event_type: "phone.deactivated";
|
|
7158
7323
|
}>]>;
|