@seamapi/types 1.562.0 → 1.564.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 +8193 -461
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +5805 -8
- package/dist/index.cjs +8193 -461
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +183 -0
- package/lib/seam/connect/models/batch.js +12 -2
- package/lib/seam/connect/models/batch.js.map +1 -1
- 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.d.ts +5633 -55
- package/lib/seam/connect/openapi.js +8191 -479
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +121 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/batch.ts +12 -2
- 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 +9704 -636
- package/src/lib/seam/connect/route-types.ts +141 -0
|
@@ -13286,6 +13286,14 @@ export type Routes = {
|
|
|
13286
13286
|
}[]
|
|
13287
13287
|
}
|
|
13288
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
|
+
}
|
|
13289
13297
|
)[]
|
|
13290
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. */
|
|
13291
13299
|
custom_metadata: {
|
|
@@ -21227,6 +21235,25 @@ export type Routes = {
|
|
|
21227
21235
|
| undefined
|
|
21228
21236
|
event_type: 'connected_account.completed_first_sync_after_reconnection'
|
|
21229
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
|
+
}
|
|
21230
21257
|
| {
|
|
21231
21258
|
/** ID of the event. */
|
|
21232
21259
|
event_id: string
|
|
@@ -35835,6 +35862,14 @@ export type Routes = {
|
|
|
35835
35862
|
}[]
|
|
35836
35863
|
}
|
|
35837
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
|
+
}
|
|
35838
35873
|
)[]
|
|
35839
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. */
|
|
35840
35875
|
custom_metadata: {
|
|
@@ -35996,6 +36031,14 @@ export type Routes = {
|
|
|
35996
36031
|
}[]
|
|
35997
36032
|
}
|
|
35998
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
|
+
}
|
|
35999
36042
|
)[]
|
|
36000
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. */
|
|
36001
36044
|
custom_metadata: {
|
|
@@ -36177,6 +36220,14 @@ export type Routes = {
|
|
|
36177
36220
|
}[]
|
|
36178
36221
|
}
|
|
36179
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
|
+
}
|
|
36180
36231
|
)[]
|
|
36181
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. */
|
|
36182
36233
|
custom_metadata: {
|
|
@@ -42621,6 +42672,25 @@ export type Routes = {
|
|
|
42621
42672
|
| undefined
|
|
42622
42673
|
event_type: 'connected_account.completed_first_sync_after_reconnection'
|
|
42623
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
|
+
}
|
|
42624
42694
|
| {
|
|
42625
42695
|
/** ID of the event. */
|
|
42626
42696
|
event_id: string
|
|
@@ -43857,6 +43927,7 @@ export type Routes = {
|
|
|
43857
43927
|
| 'connected_account.completed_first_sync'
|
|
43858
43928
|
| 'connected_account.deleted'
|
|
43859
43929
|
| 'connected_account.completed_first_sync_after_reconnection'
|
|
43930
|
+
| 'connected_account.reauthorization_requested'
|
|
43860
43931
|
| 'action_attempt.lock_door.succeeded'
|
|
43861
43932
|
| 'action_attempt.lock_door.failed'
|
|
43862
43933
|
| 'action_attempt.unlock_door.succeeded'
|
|
@@ -43953,6 +44024,7 @@ export type Routes = {
|
|
|
43953
44024
|
| 'connected_account.completed_first_sync'
|
|
43954
44025
|
| 'connected_account.deleted'
|
|
43955
44026
|
| 'connected_account.completed_first_sync_after_reconnection'
|
|
44027
|
+
| 'connected_account.reauthorization_requested'
|
|
43956
44028
|
| 'action_attempt.lock_door.succeeded'
|
|
43957
44029
|
| 'action_attempt.lock_door.failed'
|
|
43958
44030
|
| 'action_attempt.unlock_door.succeeded'
|
|
@@ -45071,6 +45143,25 @@ export type Routes = {
|
|
|
45071
45143
|
| undefined
|
|
45072
45144
|
event_type: 'connected_account.completed_first_sync_after_reconnection'
|
|
45073
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
|
+
}
|
|
45074
45165
|
| {
|
|
45075
45166
|
/** ID of the event. */
|
|
45076
45167
|
event_id: string
|
|
@@ -66780,6 +66871,7 @@ export type Routes = {
|
|
|
66780
66871
|
| 'connected_account.completed_first_sync'
|
|
66781
66872
|
| 'connected_account.deleted'
|
|
66782
66873
|
| 'connected_account.completed_first_sync_after_reconnection'
|
|
66874
|
+
| 'connected_account.reauthorization_requested'
|
|
66783
66875
|
| 'action_attempt.lock_door.succeeded'
|
|
66784
66876
|
| 'action_attempt.lock_door.failed'
|
|
66785
66877
|
| 'action_attempt.unlock_door.succeeded'
|
|
@@ -66876,6 +66968,7 @@ export type Routes = {
|
|
|
66876
66968
|
| 'connected_account.completed_first_sync'
|
|
66877
66969
|
| 'connected_account.deleted'
|
|
66878
66970
|
| 'connected_account.completed_first_sync_after_reconnection'
|
|
66971
|
+
| 'connected_account.reauthorization_requested'
|
|
66879
66972
|
| 'action_attempt.lock_door.succeeded'
|
|
66880
66973
|
| 'action_attempt.lock_door.failed'
|
|
66881
66974
|
| 'action_attempt.unlock_door.succeeded'
|
|
@@ -67988,6 +68081,25 @@ export type Routes = {
|
|
|
67988
68081
|
| undefined
|
|
67989
68082
|
event_type: 'connected_account.completed_first_sync_after_reconnection'
|
|
67990
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
|
+
}
|
|
67991
68103
|
| {
|
|
67992
68104
|
/** ID of the event. */
|
|
67993
68105
|
event_id: string
|
|
@@ -71717,6 +71829,7 @@ export type Routes = {
|
|
|
71717
71829
|
can_simulate_hub_connection?: boolean | undefined
|
|
71718
71830
|
can_simulate_hub_disconnection?: boolean | undefined
|
|
71719
71831
|
can_simulate_paid_subscription?: boolean | undefined
|
|
71832
|
+
space_ids: string[]
|
|
71720
71833
|
}[]
|
|
71721
71834
|
| undefined
|
|
71722
71835
|
acs_entrances?:
|
|
@@ -71868,6 +71981,7 @@ export type Routes = {
|
|
|
71868
71981
|
can_unlock_with_card?: boolean | undefined
|
|
71869
71982
|
/** Indicates whether the ACS entrance can be unlocked with pin codes. */
|
|
71870
71983
|
can_unlock_with_code?: boolean | undefined
|
|
71984
|
+
space_ids: string[]
|
|
71871
71985
|
}[]
|
|
71872
71986
|
| undefined
|
|
71873
71987
|
connected_accounts?:
|
|
@@ -71988,6 +72102,14 @@ export type Routes = {
|
|
|
71988
72102
|
}[]
|
|
71989
72103
|
}
|
|
71990
72104
|
}
|
|
72105
|
+
| {
|
|
72106
|
+
/** Date and time at which Seam created the warning. */
|
|
72107
|
+
created_at: string
|
|
72108
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
72109
|
+
message: string
|
|
72110
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
72111
|
+
warning_code: 'account_reauthorization_requested'
|
|
72112
|
+
}
|
|
71991
72113
|
)[]
|
|
71992
72114
|
/** 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. */
|
|
71993
72115
|
custom_metadata: {
|
|
@@ -100878,6 +101000,25 @@ export type Routes = {
|
|
|
100878
101000
|
| undefined
|
|
100879
101001
|
event_type: 'connected_account.completed_first_sync_after_reconnection'
|
|
100880
101002
|
}
|
|
101003
|
+
| {
|
|
101004
|
+
/** ID of the event. */
|
|
101005
|
+
event_id: string
|
|
101006
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
101007
|
+
workspace_id: string
|
|
101008
|
+
/** Date and time at which the event was created. */
|
|
101009
|
+
created_at: string
|
|
101010
|
+
/** Date and time at which the event occurred. */
|
|
101011
|
+
occurred_at: string
|
|
101012
|
+
/** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
101013
|
+
connected_account_id: string
|
|
101014
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
101015
|
+
connected_account_custom_metadata?:
|
|
101016
|
+
| {
|
|
101017
|
+
[x: string]: string | boolean
|
|
101018
|
+
}
|
|
101019
|
+
| undefined
|
|
101020
|
+
event_type: 'connected_account.reauthorization_requested'
|
|
101021
|
+
}
|
|
100881
101022
|
| {
|
|
100882
101023
|
/** ID of the event. */
|
|
100883
101024
|
event_id: string
|