@seamapi/http 2.0.0 → 2.2.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/README.md +0 -30
- package/lib/seam/connect/api-error-types.js +0 -1
- package/lib/seam/connect/api-error-types.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +1 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/resources/access-code.d.ts +743 -56
- package/lib/seam/connect/resources/access-grant.d.ts +279 -10
- package/lib/seam/connect/resources/access-method.d.ts +204 -8
- package/lib/seam/connect/resources/acs-access-group.d.ts +242 -9
- package/lib/seam/connect/resources/acs-credential.d.ts +212 -6
- package/lib/seam/connect/resources/acs-encoder.d.ts +46 -0
- package/lib/seam/connect/resources/acs-entrance.d.ts +298 -5
- package/lib/seam/connect/resources/acs-system.d.ts +227 -11
- package/lib/seam/connect/resources/acs-user.d.ts +388 -19
- package/lib/seam/connect/resources/action-attempt.d.ts +954 -0
- package/lib/seam/connect/resources/batch.d.ts +3 -0
- package/lib/seam/connect/resources/client-session.d.ts +48 -0
- package/lib/seam/connect/resources/connect-webview.d.ts +70 -0
- package/lib/seam/connect/resources/connected-account.d.ts +281 -12
- package/lib/seam/connect/resources/customer-portal.d.ts +22 -0
- package/lib/seam/connect/resources/device-provider.d.ts +72 -0
- package/lib/seam/connect/resources/device.d.ts +2063 -41
- package/lib/seam/connect/resources/event.d.ts +4014 -0
- package/lib/seam/connect/resources/instant-key.d.ts +41 -0
- package/lib/seam/connect/resources/noise-threshold.d.ts +24 -0
- package/lib/seam/connect/resources/phone.d.ts +72 -0
- package/lib/seam/connect/resources/space.d.ts +54 -0
- package/lib/seam/connect/resources/thermostat-daily-program.d.ts +27 -0
- package/lib/seam/connect/resources/thermostat-schedule.d.ts +45 -0
- package/lib/seam/connect/resources/unmanaged-access-code.d.ts +602 -50
- package/lib/seam/connect/resources/unmanaged-access-grant.d.ts +267 -10
- package/lib/seam/connect/resources/unmanaged-access-method.d.ts +195 -8
- package/lib/seam/connect/resources/unmanaged-device.d.ts +810 -120
- package/lib/seam/connect/resources/unmanaged-user-identity.d.ts +79 -3
- package/lib/seam/connect/resources/user-identity.d.ts +82 -3
- package/lib/seam/connect/resources/webhook.d.ts +15 -0
- package/lib/seam/connect/resources/workspace.d.ts +45 -0
- package/lib/seam/connect/routes/access-codes/access-codes.d.ts +288 -0
- package/lib/seam/connect/routes/access-codes/access-codes.js +60 -0
- package/lib/seam/connect/routes/access-codes/access-codes.js.map +1 -1
- package/lib/seam/connect/routes/access-codes/simulate/simulate.d.ts +12 -0
- package/lib/seam/connect/routes/access-codes/simulate/simulate.js +3 -0
- package/lib/seam/connect/routes/access-codes/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.d.ts +72 -0
- package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js +21 -0
- package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/access-grants/access-grants.d.ts +177 -0
- package/lib/seam/connect/routes/access-grants/access-grants.js +21 -0
- package/lib/seam/connect/routes/access-grants/access-grants.js.map +1 -1
- package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.d.ts +43 -0
- package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js +13 -0
- package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/access-methods/access-methods.d.ts +78 -0
- package/lib/seam/connect/routes/access-methods/access-methods.js +21 -0
- package/lib/seam/connect/routes/access-methods/access-methods.js.map +1 -1
- package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.d.ts +21 -0
- package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.js +6 -0
- package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/acs/access-groups/access-groups.d.ts +63 -0
- package/lib/seam/connect/routes/acs/access-groups/access-groups.js +21 -0
- package/lib/seam/connect/routes/acs/access-groups/access-groups.js.map +1 -1
- package/lib/seam/connect/routes/acs/credentials/credentials.d.ts +126 -0
- package/lib/seam/connect/routes/acs/credentials/credentials.js +24 -0
- package/lib/seam/connect/routes/acs/credentials/credentials.js.map +1 -1
- package/lib/seam/connect/routes/acs/encoders/encoders.d.ts +66 -0
- package/lib/seam/connect/routes/acs/encoders/encoders.js +15 -0
- package/lib/seam/connect/routes/acs/encoders/encoders.js.map +1 -1
- package/lib/seam/connect/routes/acs/encoders/simulate/simulate.d.ts +39 -0
- package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js +12 -0
- package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/acs/entrances/entrances.d.ts +72 -0
- package/lib/seam/connect/routes/acs/entrances/entrances.js +15 -0
- package/lib/seam/connect/routes/acs/entrances/entrances.js.map +1 -1
- package/lib/seam/connect/routes/acs/systems/systems.d.ts +64 -0
- package/lib/seam/connect/routes/acs/systems/systems.js +16 -0
- package/lib/seam/connect/routes/acs/systems/systems.js.map +1 -1
- package/lib/seam/connect/routes/acs/users/users.d.ts +189 -0
- package/lib/seam/connect/routes/acs/users/users.js +33 -0
- package/lib/seam/connect/routes/acs/users/users.js.map +1 -1
- package/lib/seam/connect/routes/action-attempts/action-attempts.d.ts +21 -0
- package/lib/seam/connect/routes/action-attempts/action-attempts.js +6 -0
- package/lib/seam/connect/routes/action-attempts/action-attempts.js.map +1 -1
- package/lib/seam/connect/routes/client-sessions/client-sessions.d.ts +113 -0
- package/lib/seam/connect/routes/client-sessions/client-sessions.js +23 -0
- package/lib/seam/connect/routes/client-sessions/client-sessions.js.map +1 -1
- package/lib/seam/connect/routes/connect-webviews/connect-webviews.d.ts +76 -0
- package/lib/seam/connect/routes/connect-webviews/connect-webviews.js +22 -0
- package/lib/seam/connect/routes/connect-webviews/connect-webviews.js.map +1 -1
- package/lib/seam/connect/routes/connected-accounts/connected-accounts.d.ts +70 -0
- package/lib/seam/connect/routes/connected-accounts/connected-accounts.js +19 -0
- package/lib/seam/connect/routes/connected-accounts/connected-accounts.js.map +1 -1
- package/lib/seam/connect/routes/connected-accounts/simulate/simulate.d.ts +6 -0
- package/lib/seam/connect/routes/connected-accounts/simulate/simulate.js +3 -0
- package/lib/seam/connect/routes/connected-accounts/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/customers/customers.d.ts +1042 -0
- package/lib/seam/connect/routes/customers/customers.js +10 -0
- package/lib/seam/connect/routes/customers/customers.js.map +1 -1
- package/lib/seam/connect/routes/devices/devices.d.ts +122 -0
- package/lib/seam/connect/routes/devices/devices.js +23 -0
- package/lib/seam/connect/routes/devices/devices.js.map +1 -1
- package/lib/seam/connect/routes/devices/simulate/simulate.d.ts +42 -0
- package/lib/seam/connect/routes/devices/simulate/simulate.js +27 -0
- package/lib/seam/connect/routes/devices/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/devices/unmanaged/unmanaged.d.ts +80 -0
- package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js +17 -0
- package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/events/events.d.ts +99 -0
- package/lib/seam/connect/routes/events/events.js +6 -0
- package/lib/seam/connect/routes/events/events.js.map +1 -1
- package/lib/seam/connect/routes/instant-keys/instant-keys.d.ts +21 -0
- package/lib/seam/connect/routes/instant-keys/instant-keys.js +9 -0
- package/lib/seam/connect/routes/instant-keys/instant-keys.js.map +1 -1
- package/lib/seam/connect/routes/locks/locks.d.ts +85 -0
- package/lib/seam/connect/routes/locks/locks.js +16 -0
- package/lib/seam/connect/routes/locks/locks.js.map +1 -1
- package/lib/seam/connect/routes/locks/simulate/simulate.d.ts +15 -0
- package/lib/seam/connect/routes/locks/simulate/simulate.js +6 -0
- package/lib/seam/connect/routes/locks/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/noise-sensors/noise-sensors.d.ts +51 -0
- package/lib/seam/connect/routes/noise-sensors/noise-sensors.js +3 -0
- package/lib/seam/connect/routes/noise-sensors/noise-sensors.js.map +1 -1
- package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.d.ts +66 -0
- package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js +15 -0
- package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js.map +1 -1
- package/lib/seam/connect/routes/noise-sensors/simulate/simulate.d.ts +6 -0
- package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js +3 -0
- package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/phones/phones.d.ts +21 -0
- package/lib/seam/connect/routes/phones/phones.js +9 -0
- package/lib/seam/connect/routes/phones/phones.js.map +1 -1
- package/lib/seam/connect/routes/phones/simulate/simulate.d.ts +45 -0
- package/lib/seam/connect/routes/phones/simulate/simulate.js +3 -0
- package/lib/seam/connect/routes/phones/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.d.ts +6 -0
- package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js +6 -0
- package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +696 -0
- package/lib/seam/connect/routes/seam-http-endpoints.js +696 -0
- package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
- package/lib/seam/connect/routes/spaces/spaces.d.ts +165 -0
- package/lib/seam/connect/routes/spaces/spaces.js +36 -0
- package/lib/seam/connect/routes/spaces/spaces.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.d.ts +42 -0
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js +9 -0
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/schedules/schedules.d.ts +69 -0
- package/lib/seam/connect/routes/thermostats/schedules/schedules.js +15 -0
- package/lib/seam/connect/routes/thermostats/schedules/schedules.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/simulate/simulate.d.ts +33 -0
- package/lib/seam/connect/routes/thermostats/simulate/simulate.js +6 -0
- package/lib/seam/connect/routes/thermostats/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/thermostats.d.ts +300 -0
- package/lib/seam/connect/routes/thermostats/thermostats.js +42 -0
- package/lib/seam/connect/routes/thermostats/thermostats.js.map +1 -1
- package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.d.ts +35 -0
- package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js +11 -0
- package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/user-identities/user-identities.d.ts +145 -0
- package/lib/seam/connect/routes/user-identities/user-identities.js +46 -0
- package/lib/seam/connect/routes/user-identities/user-identities.js.map +1 -1
- package/lib/seam/connect/routes/webhooks/webhooks.d.ts +33 -0
- package/lib/seam/connect/routes/webhooks/webhooks.js +15 -0
- package/lib/seam/connect/routes/webhooks/webhooks.js.map +1 -1
- package/lib/seam/connect/routes/workspaces/workspaces.d.ts +88 -0
- package/lib/seam/connect/routes/workspaces/workspaces.js +15 -0
- package/lib/seam/connect/routes/workspaces/workspaces.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -9
- package/src/lib/seam/connect/api-error-types.ts +0 -2
- package/src/lib/seam/connect/openapi.ts +2 -4
- package/src/lib/seam/connect/resources/access-code.ts +719 -35
- package/src/lib/seam/connect/resources/access-grant.ts +284 -16
- package/src/lib/seam/connect/resources/access-method.ts +205 -10
- package/src/lib/seam/connect/resources/acs-access-group.ts +247 -14
- package/src/lib/seam/connect/resources/acs-credential.ts +210 -5
- package/src/lib/seam/connect/resources/acs-encoder.ts +46 -0
- package/src/lib/seam/connect/resources/acs-entrance.ts +296 -4
- package/src/lib/seam/connect/resources/acs-system.ts +223 -9
- package/src/lib/seam/connect/resources/acs-user.ts +382 -16
- package/src/lib/seam/connect/resources/action-attempt.ts +956 -0
- package/src/lib/seam/connect/resources/batch.ts +3 -0
- package/src/lib/seam/connect/resources/client-session.ts +48 -0
- package/src/lib/seam/connect/resources/connect-webview.ts +70 -0
- package/src/lib/seam/connect/resources/connected-account.ts +277 -10
- package/src/lib/seam/connect/resources/customer-portal.ts +22 -0
- package/src/lib/seam/connect/resources/device-provider.ts +72 -0
- package/src/lib/seam/connect/resources/device.ts +2059 -39
- package/src/lib/seam/connect/resources/event.ts +4015 -0
- package/src/lib/seam/connect/resources/instant-key.ts +41 -0
- package/src/lib/seam/connect/resources/noise-threshold.ts +24 -0
- package/src/lib/seam/connect/resources/phone.ts +72 -0
- package/src/lib/seam/connect/resources/space.ts +54 -0
- package/src/lib/seam/connect/resources/thermostat-daily-program.ts +27 -0
- package/src/lib/seam/connect/resources/thermostat-schedule.ts +45 -0
- package/src/lib/seam/connect/resources/unmanaged-access-code.ts +580 -30
- package/src/lib/seam/connect/resources/unmanaged-access-grant.ts +272 -16
- package/src/lib/seam/connect/resources/unmanaged-access-method.ts +196 -10
- package/src/lib/seam/connect/resources/unmanaged-device.ts +727 -39
- package/src/lib/seam/connect/resources/unmanaged-user-identity.ts +84 -8
- package/src/lib/seam/connect/resources/user-identity.ts +87 -8
- package/src/lib/seam/connect/resources/webhook.ts +15 -0
- package/src/lib/seam/connect/resources/workspace.ts +46 -0
- package/src/lib/seam/connect/routes/access-codes/access-codes.ts +291 -0
- package/src/lib/seam/connect/routes/access-codes/simulate/simulate.ts +12 -0
- package/src/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.ts +73 -0
- package/src/lib/seam/connect/routes/access-grants/access-grants.ts +180 -0
- package/src/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.ts +43 -0
- package/src/lib/seam/connect/routes/access-methods/access-methods.ts +79 -0
- package/src/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.ts +21 -0
- package/src/lib/seam/connect/routes/acs/access-groups/access-groups.ts +63 -0
- package/src/lib/seam/connect/routes/acs/credentials/credentials.ts +133 -0
- package/src/lib/seam/connect/routes/acs/encoders/encoders.ts +66 -0
- package/src/lib/seam/connect/routes/acs/encoders/simulate/simulate.ts +40 -0
- package/src/lib/seam/connect/routes/acs/entrances/entrances.ts +72 -0
- package/src/lib/seam/connect/routes/acs/systems/systems.ts +64 -0
- package/src/lib/seam/connect/routes/acs/users/users.ts +189 -0
- package/src/lib/seam/connect/routes/action-attempts/action-attempts.ts +21 -0
- package/src/lib/seam/connect/routes/client-sessions/client-sessions.ts +113 -0
- package/src/lib/seam/connect/routes/connect-webviews/connect-webviews.ts +76 -0
- package/src/lib/seam/connect/routes/connected-accounts/connected-accounts.ts +70 -0
- package/src/lib/seam/connect/routes/connected-accounts/simulate/simulate.ts +6 -0
- package/src/lib/seam/connect/routes/customers/customers.ts +1058 -0
- package/src/lib/seam/connect/routes/devices/devices.ts +123 -0
- package/src/lib/seam/connect/routes/devices/simulate/simulate.ts +42 -0
- package/src/lib/seam/connect/routes/devices/unmanaged/unmanaged.ts +80 -0
- package/src/lib/seam/connect/routes/events/events.ts +99 -0
- package/src/lib/seam/connect/routes/instant-keys/instant-keys.ts +21 -0
- package/src/lib/seam/connect/routes/locks/locks.ts +85 -0
- package/src/lib/seam/connect/routes/locks/simulate/simulate.ts +15 -0
- package/src/lib/seam/connect/routes/noise-sensors/noise-sensors.ts +51 -0
- package/src/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.ts +66 -0
- package/src/lib/seam/connect/routes/noise-sensors/simulate/simulate.ts +6 -0
- package/src/lib/seam/connect/routes/phones/phones.ts +21 -0
- package/src/lib/seam/connect/routes/phones/simulate/simulate.ts +45 -0
- package/src/lib/seam/connect/routes/seam-http-endpoints-without-workspace.ts +6 -0
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +696 -0
- package/src/lib/seam/connect/routes/spaces/spaces.ts +166 -0
- package/src/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.ts +42 -0
- package/src/lib/seam/connect/routes/thermostats/schedules/schedules.ts +69 -0
- package/src/lib/seam/connect/routes/thermostats/simulate/simulate.ts +33 -0
- package/src/lib/seam/connect/routes/thermostats/thermostats.ts +300 -0
- package/src/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.ts +35 -0
- package/src/lib/seam/connect/routes/user-identities/user-identities.ts +146 -0
- package/src/lib/seam/connect/routes/webhooks/webhooks.ts +33 -0
- package/src/lib/seam/connect/routes/workspaces/workspaces.ts +88 -0
- package/src/lib/version.ts +1 -1
|
@@ -3,46 +3,122 @@
|
|
|
3
3
|
* Do not edit this file.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* Represents an unmanaged user identity. Unmanaged user identities do not have keys.
|
|
8
|
+
*/
|
|
6
9
|
export type UnmanagedUserIdentity = {
|
|
10
|
+
/**
|
|
11
|
+
* Array of access system user IDs associated with the user identity.
|
|
12
|
+
*/
|
|
7
13
|
acs_user_ids: Array<string>
|
|
8
14
|
|
|
15
|
+
/**
|
|
16
|
+
* Date and time at which the user identity was created.
|
|
17
|
+
*/
|
|
9
18
|
created_at: string
|
|
10
19
|
|
|
20
|
+
/**
|
|
21
|
+
* Display name for the user identity.
|
|
22
|
+
*/
|
|
11
23
|
display_name: string
|
|
12
24
|
|
|
25
|
+
/**
|
|
26
|
+
* Unique email address for the user identity.
|
|
27
|
+
*/
|
|
13
28
|
email_address: string | null
|
|
14
|
-
|
|
15
|
-
|
|
29
|
+
/**
|
|
30
|
+
* Array of errors associated with the user identity. Each error object within the array contains fields like "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.
|
|
31
|
+
*/
|
|
32
|
+
errors: Array<
|
|
33
|
+
/**
|
|
34
|
+
* Indicates that there is an issue with an access system user associated with this user identity.
|
|
35
|
+
*/
|
|
36
|
+
{
|
|
37
|
+
/**
|
|
38
|
+
* ID of the access system that the user identity is associated with.
|
|
39
|
+
*/
|
|
40
|
+
acs_system_id: string
|
|
16
41
|
|
|
17
|
-
|
|
42
|
+
/**
|
|
43
|
+
* ID of the access system user that has an issue.
|
|
44
|
+
*/
|
|
45
|
+
acs_user_id: string
|
|
18
46
|
|
|
19
|
-
|
|
47
|
+
/**
|
|
48
|
+
* Date and time at which Seam created the error.
|
|
49
|
+
*/
|
|
50
|
+
created_at: string
|
|
20
51
|
|
|
21
|
-
|
|
52
|
+
/**
|
|
53
|
+
* Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
|
|
54
|
+
*/
|
|
55
|
+
error_code: 'issue_with_acs_user'
|
|
22
56
|
|
|
23
|
-
|
|
24
|
-
|
|
57
|
+
/**
|
|
58
|
+
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
59
|
+
*/
|
|
60
|
+
message: string
|
|
61
|
+
}
|
|
62
|
+
>
|
|
25
63
|
|
|
64
|
+
/**
|
|
65
|
+
* Full name of the user associated with the user identity.
|
|
66
|
+
*/
|
|
26
67
|
full_name: string | null
|
|
68
|
+
/**
|
|
69
|
+
* Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100).
|
|
70
|
+
*/
|
|
27
71
|
phone_number: string | null
|
|
72
|
+
/**
|
|
73
|
+
* ID of the user identity.
|
|
74
|
+
*/
|
|
28
75
|
user_identity_id: string
|
|
29
76
|
|
|
77
|
+
/**
|
|
78
|
+
* Array of warnings associated with the user identity. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.
|
|
79
|
+
*/
|
|
30
80
|
warnings: Array<
|
|
81
|
+
/**
|
|
82
|
+
* Indicates that the user identity is currently being deleted.
|
|
83
|
+
*/
|
|
31
84
|
| {
|
|
85
|
+
/**
|
|
86
|
+
* Date and time at which Seam created the warning.
|
|
87
|
+
*/
|
|
32
88
|
created_at: string
|
|
33
89
|
|
|
90
|
+
/**
|
|
91
|
+
* Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
92
|
+
*/
|
|
34
93
|
message: string
|
|
35
94
|
|
|
95
|
+
/**
|
|
96
|
+
* Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
97
|
+
*/
|
|
36
98
|
warning_code: 'being_deleted'
|
|
37
|
-
}
|
|
99
|
+
} /**
|
|
100
|
+
* Indicates that the ACS user's profile does not match the user identity's profile
|
|
101
|
+
*/
|
|
38
102
|
| {
|
|
103
|
+
/**
|
|
104
|
+
* Date and time at which Seam created the warning.
|
|
105
|
+
*/
|
|
39
106
|
created_at: string
|
|
40
107
|
|
|
108
|
+
/**
|
|
109
|
+
* Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
110
|
+
*/
|
|
41
111
|
message: string
|
|
42
112
|
|
|
113
|
+
/**
|
|
114
|
+
* Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
115
|
+
*/
|
|
43
116
|
warning_code: 'acs_user_profile_does_not_match_user_identity'
|
|
44
117
|
}
|
|
45
118
|
>
|
|
46
119
|
|
|
120
|
+
/**
|
|
121
|
+
* ID of the workspace that contains the user identity.
|
|
122
|
+
*/
|
|
47
123
|
workspace_id: string
|
|
48
124
|
}
|
|
@@ -3,47 +3,126 @@
|
|
|
3
3
|
* Do not edit this file.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* Represents a [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with an application user account.
|
|
8
|
+
*/
|
|
6
9
|
export type UserIdentity = {
|
|
10
|
+
/**
|
|
11
|
+
* Array of access system user IDs associated with the user identity.
|
|
12
|
+
*/
|
|
7
13
|
acs_user_ids: Array<string>
|
|
8
14
|
|
|
15
|
+
/**
|
|
16
|
+
* Date and time at which the user identity was created.
|
|
17
|
+
*/
|
|
9
18
|
created_at: string
|
|
10
19
|
|
|
20
|
+
/**
|
|
21
|
+
* Display name for the user identity.
|
|
22
|
+
*/
|
|
11
23
|
display_name: string
|
|
12
24
|
|
|
25
|
+
/**
|
|
26
|
+
* Unique email address for the user identity.
|
|
27
|
+
*/
|
|
13
28
|
email_address: string | null
|
|
14
|
-
|
|
15
|
-
|
|
29
|
+
/**
|
|
30
|
+
* Array of errors associated with the user identity. Each error object within the array contains fields like "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.
|
|
31
|
+
*/
|
|
32
|
+
errors: Array<
|
|
33
|
+
/**
|
|
34
|
+
* Indicates that there is an issue with an access system user associated with this user identity.
|
|
35
|
+
*/
|
|
36
|
+
{
|
|
37
|
+
/**
|
|
38
|
+
* ID of the access system that the user identity is associated with.
|
|
39
|
+
*/
|
|
40
|
+
acs_system_id: string
|
|
16
41
|
|
|
17
|
-
|
|
42
|
+
/**
|
|
43
|
+
* ID of the access system user that has an issue.
|
|
44
|
+
*/
|
|
45
|
+
acs_user_id: string
|
|
18
46
|
|
|
19
|
-
|
|
47
|
+
/**
|
|
48
|
+
* Date and time at which Seam created the error.
|
|
49
|
+
*/
|
|
50
|
+
created_at: string
|
|
20
51
|
|
|
21
|
-
|
|
52
|
+
/**
|
|
53
|
+
* Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
|
|
54
|
+
*/
|
|
55
|
+
error_code: 'issue_with_acs_user'
|
|
22
56
|
|
|
23
|
-
|
|
24
|
-
|
|
57
|
+
/**
|
|
58
|
+
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
59
|
+
*/
|
|
60
|
+
message: string
|
|
61
|
+
}
|
|
62
|
+
>
|
|
25
63
|
|
|
64
|
+
/**
|
|
65
|
+
* Full name of the user associated with the user identity.
|
|
66
|
+
*/
|
|
26
67
|
full_name: string | null
|
|
68
|
+
/**
|
|
69
|
+
* Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100).
|
|
70
|
+
*/
|
|
27
71
|
phone_number: string | null
|
|
72
|
+
/**
|
|
73
|
+
* ID of the user identity.
|
|
74
|
+
*/
|
|
28
75
|
user_identity_id: string
|
|
29
76
|
|
|
77
|
+
/**
|
|
78
|
+
* Unique key for the user identity.
|
|
79
|
+
*/
|
|
30
80
|
user_identity_key: string | null
|
|
81
|
+
/**
|
|
82
|
+
* Array of warnings associated with the user identity. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.
|
|
83
|
+
*/
|
|
31
84
|
warnings: Array<
|
|
85
|
+
/**
|
|
86
|
+
* Indicates that the user identity is currently being deleted.
|
|
87
|
+
*/
|
|
32
88
|
| {
|
|
89
|
+
/**
|
|
90
|
+
* Date and time at which Seam created the warning.
|
|
91
|
+
*/
|
|
33
92
|
created_at: string
|
|
34
93
|
|
|
94
|
+
/**
|
|
95
|
+
* Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
96
|
+
*/
|
|
35
97
|
message: string
|
|
36
98
|
|
|
99
|
+
/**
|
|
100
|
+
* Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
101
|
+
*/
|
|
37
102
|
warning_code: 'being_deleted'
|
|
38
|
-
}
|
|
103
|
+
} /**
|
|
104
|
+
* Indicates that the ACS user's profile does not match the user identity's profile
|
|
105
|
+
*/
|
|
39
106
|
| {
|
|
107
|
+
/**
|
|
108
|
+
* Date and time at which Seam created the warning.
|
|
109
|
+
*/
|
|
40
110
|
created_at: string
|
|
41
111
|
|
|
112
|
+
/**
|
|
113
|
+
* Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
114
|
+
*/
|
|
42
115
|
message: string
|
|
43
116
|
|
|
117
|
+
/**
|
|
118
|
+
* Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
119
|
+
*/
|
|
44
120
|
warning_code: 'acs_user_profile_does_not_match_user_identity'
|
|
45
121
|
}
|
|
46
122
|
>
|
|
47
123
|
|
|
124
|
+
/**
|
|
125
|
+
* ID of the workspace that contains the user identity.
|
|
126
|
+
*/
|
|
48
127
|
workspace_id: string
|
|
49
128
|
}
|
|
@@ -3,10 +3,25 @@
|
|
|
3
3
|
* Do not edit this file.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* Represents a [webhook](https://docs.seam.co/developer-tools/webhooks) that enables you to receive notifications of events. When you create a webhook, specify the endpoint URL at which you want to receive events and the set of event types that you want to receive.
|
|
8
|
+
*/
|
|
6
9
|
export type Webhook = {
|
|
10
|
+
/**
|
|
11
|
+
* Types of events that the [webhook](https://docs.seam.co/developer-tools/webhooks) should receive.
|
|
12
|
+
*/
|
|
7
13
|
event_types?: Array<string> | undefined
|
|
14
|
+
/**
|
|
15
|
+
* Secret associated with the [webhook](https://docs.seam.co/developer-tools/webhooks).
|
|
16
|
+
*/
|
|
8
17
|
secret?: string | undefined
|
|
18
|
+
/**
|
|
19
|
+
* URL for the [webhook](https://docs.seam.co/developer-tools/webhooks).
|
|
20
|
+
*/
|
|
9
21
|
url: string
|
|
10
22
|
|
|
23
|
+
/**
|
|
24
|
+
* ID of the webhook.
|
|
25
|
+
*/
|
|
11
26
|
webhook_id: string
|
|
12
27
|
}
|
|
@@ -3,27 +3,73 @@
|
|
|
3
3
|
* Do not edit this file.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* Represents a Seam [workspace](https://docs.seam.co/core-concepts/workspaces). A workspace is a top-level entity that encompasses all other resources below it, such as devices, connected accounts, and Connect Webviews. Seam provides two types of workspaces. A [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces) is a special type of workspace designed for testing code. Sandbox workspaces offer test device accounts and virtual devices that you can connect and control. This ability to work with virtual devices is quite handy because it removes the need to own physical devices from multiple brands. To connect real devices and systems to Seam, use a [production workspace](https://docs.seam.co/core-concepts/workspaces#production-workspaces).
|
|
8
|
+
*/
|
|
6
9
|
export type Workspace = {
|
|
10
|
+
/**
|
|
11
|
+
* Company name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces).
|
|
12
|
+
*/
|
|
7
13
|
company_name: string
|
|
8
14
|
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated Use `company_name` instead.
|
|
17
|
+
*/
|
|
9
18
|
connect_partner_name: string | null
|
|
19
|
+
|
|
10
20
|
connect_webview_customization: {
|
|
21
|
+
/**
|
|
22
|
+
* URL of the inviter logo for [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews).
|
|
23
|
+
*/
|
|
11
24
|
inviter_logo_url?: string | undefined
|
|
25
|
+
/**
|
|
26
|
+
* Logo shape for [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews).
|
|
27
|
+
*/
|
|
12
28
|
logo_shape?: 'circle' | 'square' | undefined
|
|
29
|
+
/**
|
|
30
|
+
* Primary button color for [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews).
|
|
31
|
+
*/
|
|
13
32
|
primary_button_color?: string | undefined
|
|
33
|
+
/**
|
|
34
|
+
* Primary button text color for [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews).
|
|
35
|
+
*/
|
|
14
36
|
primary_button_text_color?: string | undefined
|
|
37
|
+
/**
|
|
38
|
+
* Success message for [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews).
|
|
39
|
+
*/
|
|
15
40
|
success_message?: string | undefined
|
|
16
41
|
}
|
|
17
42
|
|
|
43
|
+
/**
|
|
44
|
+
* Indicates whether publishable key authentication is enabled for this workspace.
|
|
45
|
+
*/
|
|
18
46
|
is_publishable_key_auth_enabled: boolean
|
|
19
47
|
|
|
48
|
+
/**
|
|
49
|
+
* Indicates whether the workspace is a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces).
|
|
50
|
+
*/
|
|
20
51
|
is_sandbox: boolean
|
|
21
52
|
|
|
53
|
+
/**
|
|
54
|
+
* Indicates whether the [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces) is suspended. Seam suspends sandbox workspaces that have not been accessed in 14 days.
|
|
55
|
+
*/
|
|
22
56
|
is_suspended: boolean
|
|
23
57
|
|
|
58
|
+
/**
|
|
59
|
+
* Name of the [workspace](https://docs.seam.co/core-concepts/workspaces).
|
|
60
|
+
*/
|
|
24
61
|
name: string
|
|
25
62
|
|
|
63
|
+
/**
|
|
64
|
+
* ID of the organization to which the workspace belongs, or `null` if the workspace is not assigned to an organization.
|
|
65
|
+
*/
|
|
26
66
|
organization_id: string | null
|
|
67
|
+
/**
|
|
68
|
+
* Publishable key for the [workspace](https://docs.seam.co/core-concepts/workspaces). This key is used to identify the workspace in client-side applications.
|
|
69
|
+
*/
|
|
27
70
|
publishable_key?: string | undefined
|
|
71
|
+
/**
|
|
72
|
+
* ID of the workspace.
|
|
73
|
+
*/
|
|
28
74
|
workspace_id: string
|
|
29
75
|
}
|