@seamapi/types 1.561.0 → 1.563.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 +159 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +478 -4
- package/dist/index.cjs +159 -4
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +71 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +11 -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 +26 -0
- package/lib/seam/connect/models/batch.d.ts +315 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +58 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js +11 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/events/connected-accounts.d.ts +54 -0
- package/lib/seam/connect/models/events/connected-accounts.js +9 -0
- package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +27 -1
- package/lib/seam/connect/openapi.js +132 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +236 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +14 -0
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +14 -0
- package/src/lib/seam/connect/models/events/connected-accounts.ts +15 -0
- package/src/lib/seam/connect/openapi.ts +150 -0
- package/src/lib/seam/connect/route-types.ts +269 -0
|
@@ -1762,6 +1762,16 @@ export type Routes = {
|
|
|
1762
1762
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1763
1763
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
1764
1764
|
}
|
|
1765
|
+
| {
|
|
1766
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
1767
|
+
message: string
|
|
1768
|
+
/** Indicates that this is an access code error. */
|
|
1769
|
+
is_access_code_error: true
|
|
1770
|
+
/** Date and time at which Seam created the error. */
|
|
1771
|
+
created_at?: string | undefined
|
|
1772
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1773
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
1774
|
+
}
|
|
1765
1775
|
| {
|
|
1766
1776
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
1767
1777
|
message: string
|
|
@@ -2361,6 +2371,16 @@ export type Routes = {
|
|
|
2361
2371
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2362
2372
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
2363
2373
|
}
|
|
2374
|
+
| {
|
|
2375
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2376
|
+
message: string
|
|
2377
|
+
/** Indicates that this is an access code error. */
|
|
2378
|
+
is_access_code_error: true
|
|
2379
|
+
/** Date and time at which Seam created the error. */
|
|
2380
|
+
created_at?: string | undefined
|
|
2381
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2382
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
2383
|
+
}
|
|
2364
2384
|
| {
|
|
2365
2385
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2366
2386
|
message: string
|
|
@@ -4403,6 +4423,16 @@ export type Routes = {
|
|
|
4403
4423
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4404
4424
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
4405
4425
|
}
|
|
4426
|
+
| {
|
|
4427
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4428
|
+
message: string
|
|
4429
|
+
/** Indicates that this is an access code error. */
|
|
4430
|
+
is_access_code_error: true
|
|
4431
|
+
/** Date and time at which Seam created the error. */
|
|
4432
|
+
created_at?: string | undefined
|
|
4433
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4434
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
4435
|
+
}
|
|
4406
4436
|
| {
|
|
4407
4437
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4408
4438
|
message: string
|
|
@@ -4976,6 +5006,16 @@ export type Routes = {
|
|
|
4976
5006
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4977
5007
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
4978
5008
|
}
|
|
5009
|
+
| {
|
|
5010
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5011
|
+
message: string
|
|
5012
|
+
/** Indicates that this is an access code error. */
|
|
5013
|
+
is_access_code_error: true
|
|
5014
|
+
/** Date and time at which Seam created the error. */
|
|
5015
|
+
created_at?: string | undefined
|
|
5016
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5017
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
5018
|
+
}
|
|
4979
5019
|
| {
|
|
4980
5020
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4981
5021
|
message: string
|
|
@@ -5555,6 +5595,16 @@ export type Routes = {
|
|
|
5555
5595
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5556
5596
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
5557
5597
|
}
|
|
5598
|
+
| {
|
|
5599
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5600
|
+
message: string
|
|
5601
|
+
/** Indicates that this is an access code error. */
|
|
5602
|
+
is_access_code_error: true
|
|
5603
|
+
/** Date and time at which Seam created the error. */
|
|
5604
|
+
created_at?: string | undefined
|
|
5605
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5606
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
5607
|
+
}
|
|
5558
5608
|
| {
|
|
5559
5609
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5560
5610
|
message: string
|
|
@@ -6112,6 +6162,16 @@ export type Routes = {
|
|
|
6112
6162
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6113
6163
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
6114
6164
|
}
|
|
6165
|
+
| {
|
|
6166
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6167
|
+
message: string
|
|
6168
|
+
/** Indicates that this is an access code error. */
|
|
6169
|
+
is_access_code_error: true
|
|
6170
|
+
/** Date and time at which Seam created the error. */
|
|
6171
|
+
created_at?: string | undefined
|
|
6172
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6173
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
6174
|
+
}
|
|
6115
6175
|
| {
|
|
6116
6176
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6117
6177
|
message: string
|
|
@@ -6702,6 +6762,16 @@ export type Routes = {
|
|
|
6702
6762
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6703
6763
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
6704
6764
|
}
|
|
6765
|
+
| {
|
|
6766
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6767
|
+
message: string
|
|
6768
|
+
/** Indicates that this is an access code error. */
|
|
6769
|
+
is_access_code_error: true
|
|
6770
|
+
/** Date and time at which Seam created the error. */
|
|
6771
|
+
created_at?: string | undefined
|
|
6772
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6773
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
6774
|
+
}
|
|
6705
6775
|
| {
|
|
6706
6776
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6707
6777
|
message: string
|
|
@@ -8731,6 +8801,16 @@ export type Routes = {
|
|
|
8731
8801
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
8732
8802
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
8733
8803
|
}
|
|
8804
|
+
| {
|
|
8805
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
8806
|
+
message: string
|
|
8807
|
+
/** Indicates that this is an access code error. */
|
|
8808
|
+
is_access_code_error: true
|
|
8809
|
+
/** Date and time at which Seam created the error. */
|
|
8810
|
+
created_at?: string | undefined
|
|
8811
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
8812
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
8813
|
+
}
|
|
8734
8814
|
| {
|
|
8735
8815
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
8736
8816
|
message: string
|
|
@@ -9282,6 +9362,16 @@ export type Routes = {
|
|
|
9282
9362
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
9283
9363
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
9284
9364
|
}
|
|
9365
|
+
| {
|
|
9366
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
9367
|
+
message: string
|
|
9368
|
+
/** Indicates that this is an access code error. */
|
|
9369
|
+
is_access_code_error: true
|
|
9370
|
+
/** Date and time at which Seam created the error. */
|
|
9371
|
+
created_at?: string | undefined
|
|
9372
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
9373
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
9374
|
+
}
|
|
9285
9375
|
| {
|
|
9286
9376
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
9287
9377
|
message: string
|
|
@@ -13196,6 +13286,14 @@ export type Routes = {
|
|
|
13196
13286
|
}[]
|
|
13197
13287
|
}
|
|
13198
13288
|
}
|
|
13289
|
+
| {
|
|
13290
|
+
/** Date and time at which Seam created the warning. */
|
|
13291
|
+
created_at: string
|
|
13292
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
13293
|
+
message: string
|
|
13294
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
13295
|
+
warning_code: 'account_reauthorization_requested'
|
|
13296
|
+
}
|
|
13199
13297
|
)[]
|
|
13200
13298
|
/** Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application. */
|
|
13201
13299
|
custom_metadata: {
|
|
@@ -21137,6 +21235,25 @@ export type Routes = {
|
|
|
21137
21235
|
| undefined
|
|
21138
21236
|
event_type: 'connected_account.completed_first_sync_after_reconnection'
|
|
21139
21237
|
}
|
|
21238
|
+
| {
|
|
21239
|
+
/** ID of the event. */
|
|
21240
|
+
event_id: string
|
|
21241
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
21242
|
+
workspace_id: string
|
|
21243
|
+
/** Date and time at which the event was created. */
|
|
21244
|
+
created_at: string
|
|
21245
|
+
/** Date and time at which the event occurred. */
|
|
21246
|
+
occurred_at: string
|
|
21247
|
+
/** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
21248
|
+
connected_account_id: string
|
|
21249
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
21250
|
+
connected_account_custom_metadata?:
|
|
21251
|
+
| {
|
|
21252
|
+
[x: string]: string | boolean
|
|
21253
|
+
}
|
|
21254
|
+
| undefined
|
|
21255
|
+
event_type: 'connected_account.reauthorization_requested'
|
|
21256
|
+
}
|
|
21140
21257
|
| {
|
|
21141
21258
|
/** ID of the event. */
|
|
21142
21259
|
event_id: string
|
|
@@ -22600,6 +22717,16 @@ export type Routes = {
|
|
|
22600
22717
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
22601
22718
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
22602
22719
|
}
|
|
22720
|
+
| {
|
|
22721
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
22722
|
+
message: string
|
|
22723
|
+
/** Indicates that this is an access code error. */
|
|
22724
|
+
is_access_code_error: true
|
|
22725
|
+
/** Date and time at which Seam created the error. */
|
|
22726
|
+
created_at?: string | undefined
|
|
22727
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
22728
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
22729
|
+
}
|
|
22603
22730
|
| {
|
|
22604
22731
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
22605
22732
|
message: string
|
|
@@ -23146,6 +23273,16 @@ export type Routes = {
|
|
|
23146
23273
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
23147
23274
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
23148
23275
|
}
|
|
23276
|
+
| {
|
|
23277
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
23278
|
+
message: string
|
|
23279
|
+
/** Indicates that this is an access code error. */
|
|
23280
|
+
is_access_code_error: true
|
|
23281
|
+
/** Date and time at which Seam created the error. */
|
|
23282
|
+
created_at?: string | undefined
|
|
23283
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
23284
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
23285
|
+
}
|
|
23149
23286
|
| {
|
|
23150
23287
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
23151
23288
|
message: string
|
|
@@ -35725,6 +35862,14 @@ export type Routes = {
|
|
|
35725
35862
|
}[]
|
|
35726
35863
|
}
|
|
35727
35864
|
}
|
|
35865
|
+
| {
|
|
35866
|
+
/** Date and time at which Seam created the warning. */
|
|
35867
|
+
created_at: string
|
|
35868
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
35869
|
+
message: string
|
|
35870
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
35871
|
+
warning_code: 'account_reauthorization_requested'
|
|
35872
|
+
}
|
|
35728
35873
|
)[]
|
|
35729
35874
|
/** Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application. */
|
|
35730
35875
|
custom_metadata: {
|
|
@@ -35886,6 +36031,14 @@ export type Routes = {
|
|
|
35886
36031
|
}[]
|
|
35887
36032
|
}
|
|
35888
36033
|
}
|
|
36034
|
+
| {
|
|
36035
|
+
/** Date and time at which Seam created the warning. */
|
|
36036
|
+
created_at: string
|
|
36037
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
36038
|
+
message: string
|
|
36039
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
36040
|
+
warning_code: 'account_reauthorization_requested'
|
|
36041
|
+
}
|
|
35889
36042
|
)[]
|
|
35890
36043
|
/** Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application. */
|
|
35891
36044
|
custom_metadata: {
|
|
@@ -36067,6 +36220,14 @@ export type Routes = {
|
|
|
36067
36220
|
}[]
|
|
36068
36221
|
}
|
|
36069
36222
|
}
|
|
36223
|
+
| {
|
|
36224
|
+
/** Date and time at which Seam created the warning. */
|
|
36225
|
+
created_at: string
|
|
36226
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
36227
|
+
message: string
|
|
36228
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
36229
|
+
warning_code: 'account_reauthorization_requested'
|
|
36230
|
+
}
|
|
36070
36231
|
)[]
|
|
36071
36232
|
/** Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application. */
|
|
36072
36233
|
custom_metadata: {
|
|
@@ -42511,6 +42672,25 @@ export type Routes = {
|
|
|
42511
42672
|
| undefined
|
|
42512
42673
|
event_type: 'connected_account.completed_first_sync_after_reconnection'
|
|
42513
42674
|
}
|
|
42675
|
+
| {
|
|
42676
|
+
/** ID of the event. */
|
|
42677
|
+
event_id: string
|
|
42678
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
42679
|
+
workspace_id: string
|
|
42680
|
+
/** Date and time at which the event was created. */
|
|
42681
|
+
created_at: string
|
|
42682
|
+
/** Date and time at which the event occurred. */
|
|
42683
|
+
occurred_at: string
|
|
42684
|
+
/** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
42685
|
+
connected_account_id: string
|
|
42686
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
42687
|
+
connected_account_custom_metadata?:
|
|
42688
|
+
| {
|
|
42689
|
+
[x: string]: string | boolean
|
|
42690
|
+
}
|
|
42691
|
+
| undefined
|
|
42692
|
+
event_type: 'connected_account.reauthorization_requested'
|
|
42693
|
+
}
|
|
42514
42694
|
| {
|
|
42515
42695
|
/** ID of the event. */
|
|
42516
42696
|
event_id: string
|
|
@@ -43747,6 +43927,7 @@ export type Routes = {
|
|
|
43747
43927
|
| 'connected_account.completed_first_sync'
|
|
43748
43928
|
| 'connected_account.deleted'
|
|
43749
43929
|
| 'connected_account.completed_first_sync_after_reconnection'
|
|
43930
|
+
| 'connected_account.reauthorization_requested'
|
|
43750
43931
|
| 'action_attempt.lock_door.succeeded'
|
|
43751
43932
|
| 'action_attempt.lock_door.failed'
|
|
43752
43933
|
| 'action_attempt.unlock_door.succeeded'
|
|
@@ -43843,6 +44024,7 @@ export type Routes = {
|
|
|
43843
44024
|
| 'connected_account.completed_first_sync'
|
|
43844
44025
|
| 'connected_account.deleted'
|
|
43845
44026
|
| 'connected_account.completed_first_sync_after_reconnection'
|
|
44027
|
+
| 'connected_account.reauthorization_requested'
|
|
43846
44028
|
| 'action_attempt.lock_door.succeeded'
|
|
43847
44029
|
| 'action_attempt.lock_door.failed'
|
|
43848
44030
|
| 'action_attempt.unlock_door.succeeded'
|
|
@@ -44961,6 +45143,25 @@ export type Routes = {
|
|
|
44961
45143
|
| undefined
|
|
44962
45144
|
event_type: 'connected_account.completed_first_sync_after_reconnection'
|
|
44963
45145
|
}
|
|
45146
|
+
| {
|
|
45147
|
+
/** ID of the event. */
|
|
45148
|
+
event_id: string
|
|
45149
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
45150
|
+
workspace_id: string
|
|
45151
|
+
/** Date and time at which the event was created. */
|
|
45152
|
+
created_at: string
|
|
45153
|
+
/** Date and time at which the event occurred. */
|
|
45154
|
+
occurred_at: string
|
|
45155
|
+
/** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
45156
|
+
connected_account_id: string
|
|
45157
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
45158
|
+
connected_account_custom_metadata?:
|
|
45159
|
+
| {
|
|
45160
|
+
[x: string]: string | boolean
|
|
45161
|
+
}
|
|
45162
|
+
| undefined
|
|
45163
|
+
event_type: 'connected_account.reauthorization_requested'
|
|
45164
|
+
}
|
|
44964
45165
|
| {
|
|
44965
45166
|
/** ID of the event. */
|
|
44966
45167
|
event_id: string
|
|
@@ -66670,6 +66871,7 @@ export type Routes = {
|
|
|
66670
66871
|
| 'connected_account.completed_first_sync'
|
|
66671
66872
|
| 'connected_account.deleted'
|
|
66672
66873
|
| 'connected_account.completed_first_sync_after_reconnection'
|
|
66874
|
+
| 'connected_account.reauthorization_requested'
|
|
66673
66875
|
| 'action_attempt.lock_door.succeeded'
|
|
66674
66876
|
| 'action_attempt.lock_door.failed'
|
|
66675
66877
|
| 'action_attempt.unlock_door.succeeded'
|
|
@@ -66766,6 +66968,7 @@ export type Routes = {
|
|
|
66766
66968
|
| 'connected_account.completed_first_sync'
|
|
66767
66969
|
| 'connected_account.deleted'
|
|
66768
66970
|
| 'connected_account.completed_first_sync_after_reconnection'
|
|
66971
|
+
| 'connected_account.reauthorization_requested'
|
|
66769
66972
|
| 'action_attempt.lock_door.succeeded'
|
|
66770
66973
|
| 'action_attempt.lock_door.failed'
|
|
66771
66974
|
| 'action_attempt.unlock_door.succeeded'
|
|
@@ -67878,6 +68081,25 @@ export type Routes = {
|
|
|
67878
68081
|
| undefined
|
|
67879
68082
|
event_type: 'connected_account.completed_first_sync_after_reconnection'
|
|
67880
68083
|
}
|
|
68084
|
+
| {
|
|
68085
|
+
/** ID of the event. */
|
|
68086
|
+
event_id: string
|
|
68087
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
68088
|
+
workspace_id: string
|
|
68089
|
+
/** Date and time at which the event was created. */
|
|
68090
|
+
created_at: string
|
|
68091
|
+
/** Date and time at which the event occurred. */
|
|
68092
|
+
occurred_at: string
|
|
68093
|
+
/** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
68094
|
+
connected_account_id: string
|
|
68095
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
68096
|
+
connected_account_custom_metadata?:
|
|
68097
|
+
| {
|
|
68098
|
+
[x: string]: string | boolean
|
|
68099
|
+
}
|
|
68100
|
+
| undefined
|
|
68101
|
+
event_type: 'connected_account.reauthorization_requested'
|
|
68102
|
+
}
|
|
67881
68103
|
| {
|
|
67882
68104
|
/** ID of the event. */
|
|
67883
68105
|
event_id: string
|
|
@@ -71878,6 +72100,14 @@ export type Routes = {
|
|
|
71878
72100
|
}[]
|
|
71879
72101
|
}
|
|
71880
72102
|
}
|
|
72103
|
+
| {
|
|
72104
|
+
/** Date and time at which Seam created the warning. */
|
|
72105
|
+
created_at: string
|
|
72106
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
72107
|
+
message: string
|
|
72108
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
72109
|
+
warning_code: 'account_reauthorization_requested'
|
|
72110
|
+
}
|
|
71881
72111
|
)[]
|
|
71882
72112
|
/** Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application. */
|
|
71883
72113
|
custom_metadata: {
|
|
@@ -100768,6 +100998,25 @@ export type Routes = {
|
|
|
100768
100998
|
| undefined
|
|
100769
100999
|
event_type: 'connected_account.completed_first_sync_after_reconnection'
|
|
100770
101000
|
}
|
|
101001
|
+
| {
|
|
101002
|
+
/** ID of the event. */
|
|
101003
|
+
event_id: string
|
|
101004
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
101005
|
+
workspace_id: string
|
|
101006
|
+
/** Date and time at which the event was created. */
|
|
101007
|
+
created_at: string
|
|
101008
|
+
/** Date and time at which the event occurred. */
|
|
101009
|
+
occurred_at: string
|
|
101010
|
+
/** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
101011
|
+
connected_account_id: string
|
|
101012
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
101013
|
+
connected_account_custom_metadata?:
|
|
101014
|
+
| {
|
|
101015
|
+
[x: string]: string | boolean
|
|
101016
|
+
}
|
|
101017
|
+
| undefined
|
|
101018
|
+
event_type: 'connected_account.reauthorization_requested'
|
|
101019
|
+
}
|
|
100771
101020
|
| {
|
|
100772
101021
|
/** ID of the event. */
|
|
100773
101022
|
event_id: string
|
|
@@ -102231,6 +102480,16 @@ export type Routes = {
|
|
|
102231
102480
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
102232
102481
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
102233
102482
|
}
|
|
102483
|
+
| {
|
|
102484
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
102485
|
+
message: string
|
|
102486
|
+
/** Indicates that this is an access code error. */
|
|
102487
|
+
is_access_code_error: true
|
|
102488
|
+
/** Date and time at which Seam created the error. */
|
|
102489
|
+
created_at?: string | undefined
|
|
102490
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
102491
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
102492
|
+
}
|
|
102234
102493
|
| {
|
|
102235
102494
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
102236
102495
|
message: string
|
|
@@ -102777,6 +103036,16 @@ export type Routes = {
|
|
|
102777
103036
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
102778
103037
|
error_code: 'dormakaba_oracode_no_valid_user_level'
|
|
102779
103038
|
}
|
|
103039
|
+
| {
|
|
103040
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
103041
|
+
message: string
|
|
103042
|
+
/** Indicates that this is an access code error. */
|
|
103043
|
+
is_access_code_error: true
|
|
103044
|
+
/** Date and time at which Seam created the error. */
|
|
103045
|
+
created_at?: string | undefined
|
|
103046
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
103047
|
+
error_code: 'kwikset_insufficient_permissions'
|
|
103048
|
+
}
|
|
102780
103049
|
| {
|
|
102781
103050
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
102782
103051
|
message: string
|