@seamapi/http 2.1.0 → 2.3.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 +18 -0
- package/index.d.ts +2 -1
- package/index.js +2 -1
- package/index.js.map +1 -1
- package/lib/api-error-types.js.map +1 -0
- package/lib/auth.d.ts +12 -0
- package/lib/auth.js.map +1 -0
- package/lib/client.d.ts +12 -0
- package/lib/client.js +21 -0
- package/lib/client.js.map +1 -0
- package/lib/error-interceptor.js.map +1 -0
- package/lib/index.js.map +1 -0
- package/lib/openapi.js.map +1 -0
- package/lib/options.d.ts +54 -0
- package/lib/options.js +108 -0
- package/lib/options.js.map +1 -0
- package/lib/parse-options.d.ts +17 -0
- package/lib/parse-options.js +118 -0
- package/lib/parse-options.js.map +1 -0
- package/lib/request-options.d.ts +5 -0
- package/lib/request-options.js +7 -0
- package/lib/request-options.js.map +1 -0
- package/lib/resolve-action-attempt.d.ts +31 -0
- package/lib/resolve-action-attempt.js.map +1 -0
- package/lib/resources/access-code.d.ts +934 -0
- package/lib/resources/access-code.js.map +1 -0
- package/lib/resources/access-grant.d.ts +367 -0
- package/lib/resources/access-grant.js.map +1 -0
- package/lib/resources/access-method.d.ts +269 -0
- package/lib/resources/access-method.js.map +1 -0
- package/lib/resources/acs-access-group.d.ts +322 -0
- package/lib/resources/acs-access-group.js.map +1 -0
- package/lib/resources/acs-credential.d.ts +280 -0
- package/lib/resources/acs-credential.js.map +1 -0
- package/lib/resources/acs-encoder.d.ts +59 -0
- package/lib/resources/acs-encoder.js.map +1 -0
- package/lib/resources/acs-entrance.d.ts +406 -0
- package/lib/resources/acs-entrance.js.map +1 -0
- package/lib/resources/acs-system.d.ts +290 -0
- package/lib/resources/acs-system.js.map +1 -0
- package/lib/resources/acs-user.d.ts +523 -0
- package/lib/resources/acs-user.js.map +1 -0
- package/lib/resources/action-attempt.d.ts +1374 -0
- package/lib/resources/action-attempt.js.map +1 -0
- package/lib/resources/batch.d.ts +57 -0
- package/lib/resources/batch.js.map +1 -0
- package/lib/resources/client-session.d.ts +62 -0
- package/lib/resources/client-session.js.map +1 -0
- package/lib/resources/connect-webview.d.ts +91 -0
- package/lib/resources/connect-webview.js.map +1 -0
- package/lib/resources/connected-account.d.ts +367 -0
- package/lib/resources/connected-account.js.map +1 -0
- package/lib/resources/customer-portal.d.ts +29 -0
- package/lib/resources/customer-portal.js.map +1 -0
- package/lib/resources/device-provider.d.ts +98 -0
- package/lib/resources/device-provider.js.map +1 -0
- package/lib/resources/device.d.ts +2785 -0
- package/lib/resources/device.js.map +1 -0
- package/lib/resources/event.d.ts +5627 -0
- package/lib/resources/event.js.map +1 -0
- package/lib/resources/index.js.map +1 -0
- package/lib/resources/instant-key.d.ts +56 -0
- package/lib/resources/instant-key.js.map +1 -0
- package/lib/resources/noise-threshold.d.ts +33 -0
- package/lib/resources/noise-threshold.js.map +1 -0
- package/lib/resources/phone.d.ts +103 -0
- package/lib/resources/phone.js.map +1 -0
- package/lib/resources/space.d.ts +75 -0
- package/lib/resources/space.js.map +1 -0
- package/lib/resources/thermostat-daily-program.d.ts +38 -0
- package/lib/resources/thermostat-daily-program.js.map +1 -0
- package/lib/resources/thermostat-schedule.d.ts +62 -0
- package/lib/resources/thermostat-schedule.js.map +1 -0
- package/lib/resources/unmanaged-access-code.d.ts +746 -0
- package/lib/resources/unmanaged-access-code.js.map +1 -0
- package/lib/resources/unmanaged-access-grant.d.ts +351 -0
- package/lib/resources/unmanaged-access-grant.js.map +1 -0
- package/lib/resources/unmanaged-access-method.d.ts +257 -0
- package/lib/resources/unmanaged-access-method.js.map +1 -0
- package/lib/resources/unmanaged-device.d.ts +939 -0
- package/lib/resources/unmanaged-device.js.map +1 -0
- package/lib/resources/unmanaged-user-identity.d.ts +102 -0
- package/lib/resources/unmanaged-user-identity.js.map +1 -0
- package/lib/resources/user-identity.d.ts +106 -0
- package/lib/resources/user-identity.js.map +1 -0
- package/lib/resources/webhook.d.ts +21 -0
- package/lib/resources/webhook.js.map +1 -0
- package/lib/resources/workspace.d.ts +63 -0
- package/lib/resources/workspace.js.map +1 -0
- package/lib/routes/access-codes/access-codes.d.ts +495 -0
- package/lib/routes/access-codes/access-codes.js +247 -0
- package/lib/routes/access-codes/access-codes.js.map +1 -0
- package/lib/routes/access-codes/index.js.map +1 -0
- package/lib/routes/access-codes/simulate/index.js.map +1 -0
- package/lib/routes/access-codes/simulate/simulate.d.ts +47 -0
- package/lib/routes/access-codes/simulate/simulate.js +101 -0
- package/lib/routes/access-codes/simulate/simulate.js.map +1 -0
- package/lib/routes/access-codes/unmanaged/index.js.map +1 -0
- package/lib/routes/access-codes/unmanaged/unmanaged.d.ts +164 -0
- package/lib/routes/access-codes/unmanaged/unmanaged.js +155 -0
- package/lib/routes/access-codes/unmanaged/unmanaged.js.map +1 -0
- package/lib/routes/access-grants/access-grants.d.ts +339 -0
- package/lib/routes/access-grants/access-grants.js +177 -0
- package/lib/routes/access-grants/access-grants.js.map +1 -0
- package/lib/routes/access-grants/index.js.map +1 -0
- package/lib/routes/access-grants/unmanaged/index.js.map +1 -0
- package/lib/routes/access-grants/unmanaged/unmanaged.d.ts +107 -0
- package/lib/routes/access-grants/unmanaged/unmanaged.js +129 -0
- package/lib/routes/access-grants/unmanaged/unmanaged.js.map +1 -0
- package/lib/routes/access-methods/access-methods.d.ts +202 -0
- package/lib/routes/access-methods/access-methods.js +190 -0
- package/lib/routes/access-methods/access-methods.js.map +1 -0
- package/lib/routes/access-methods/index.js.map +1 -0
- package/lib/routes/access-methods/unmanaged/index.js.map +1 -0
- package/lib/routes/access-methods/unmanaged/unmanaged.d.ts +70 -0
- package/lib/routes/access-methods/unmanaged/unmanaged.js +113 -0
- package/lib/routes/access-methods/unmanaged/unmanaged.js.map +1 -0
- package/lib/routes/acs/access-groups/access-groups.d.ts +177 -0
- package/lib/routes/acs/access-groups/access-groups.js +173 -0
- package/lib/routes/acs/access-groups/access-groups.js.map +1 -0
- package/lib/routes/acs/access-groups/index.js.map +1 -0
- package/lib/routes/acs/acs.d.ts +31 -0
- package/lib/routes/acs/acs.js +112 -0
- package/lib/routes/acs/acs.js.map +1 -0
- package/lib/routes/acs/credentials/credentials.d.ts +281 -0
- package/lib/routes/acs/credentials/credentials.js +185 -0
- package/lib/routes/acs/credentials/credentials.js.map +1 -0
- package/lib/routes/acs/credentials/index.js.map +1 -0
- package/lib/routes/acs/encoders/encoders.d.ts +165 -0
- package/lib/routes/acs/encoders/encoders.js +166 -0
- package/lib/routes/acs/encoders/encoders.js.map +1 -0
- package/lib/routes/acs/encoders/index.js.map +1 -0
- package/lib/routes/acs/encoders/simulate/index.js.map +1 -0
- package/lib/routes/acs/encoders/simulate/simulate.d.ts +109 -0
- package/lib/routes/acs/encoders/simulate/simulate.js +137 -0
- package/lib/routes/acs/encoders/simulate/simulate.js.map +1 -0
- package/lib/routes/acs/entrances/entrances.d.ts +170 -0
- package/lib/routes/acs/entrances/entrances.js +154 -0
- package/lib/routes/acs/entrances/entrances.js.map +1 -0
- package/lib/routes/acs/entrances/index.js.map +1 -0
- package/lib/routes/acs/index.js.map +1 -0
- package/lib/routes/acs/systems/index.js.map +1 -0
- package/lib/routes/acs/systems/systems.d.ts +150 -0
- package/lib/routes/acs/systems/systems.js +141 -0
- package/lib/routes/acs/systems/systems.js.map +1 -0
- package/lib/routes/acs/users/index.js.map +1 -0
- package/lib/routes/acs/users/users.d.ts +382 -0
- package/lib/routes/acs/users/users.js +221 -0
- package/lib/routes/acs/users/users.js.map +1 -0
- package/lib/routes/action-attempts/action-attempts.d.ts +69 -0
- package/lib/routes/action-attempts/action-attempts.js +117 -0
- package/lib/routes/action-attempts/action-attempts.js.map +1 -0
- package/lib/routes/action-attempts/index.js.map +1 -0
- package/lib/routes/client-sessions/client-sessions.d.ts +240 -0
- package/lib/routes/client-sessions/client-sessions.js +174 -0
- package/lib/routes/client-sessions/client-sessions.js.map +1 -0
- package/lib/routes/client-sessions/index.js.map +1 -0
- package/lib/routes/connect-webviews/connect-webviews.d.ts +160 -0
- package/lib/routes/connect-webviews/connect-webviews.js +147 -0
- package/lib/routes/connect-webviews/connect-webviews.js.map +1 -0
- package/lib/routes/connect-webviews/index.js.map +1 -0
- package/lib/routes/connected-accounts/connected-accounts.d.ts +163 -0
- package/lib/routes/connected-accounts/connected-accounts.js +157 -0
- package/lib/routes/connected-accounts/connected-accounts.js.map +1 -0
- package/lib/routes/connected-accounts/index.js.map +1 -0
- package/lib/routes/connected-accounts/simulate/index.js.map +1 -0
- package/lib/routes/connected-accounts/simulate/simulate.d.ts +36 -0
- package/lib/routes/connected-accounts/simulate/simulate.js +101 -0
- package/lib/routes/connected-accounts/simulate/simulate.js.map +1 -0
- package/lib/routes/customers/customers.d.ts +1511 -0
- package/lib/routes/customers/customers.js +126 -0
- package/lib/routes/customers/customers.js.map +1 -0
- package/lib/routes/customers/index.js.map +1 -0
- package/lib/routes/devices/devices.d.ts +242 -0
- package/lib/routes/devices/devices.js +165 -0
- package/lib/routes/devices/devices.js.map +1 -0
- package/lib/routes/devices/index.js.map +1 -0
- package/lib/routes/devices/simulate/index.js.map +1 -0
- package/lib/routes/devices/simulate/simulate.d.ts +128 -0
- package/lib/routes/devices/simulate/simulate.js +170 -0
- package/lib/routes/devices/simulate/simulate.js.map +1 -0
- package/lib/routes/devices/unmanaged/index.js.map +1 -0
- package/lib/routes/devices/unmanaged/unmanaged.d.ts +155 -0
- package/lib/routes/devices/unmanaged/unmanaged.js +133 -0
- package/lib/routes/devices/unmanaged/unmanaged.js.map +1 -0
- package/lib/routes/events/events.d.ts +174 -0
- package/lib/routes/events/events.js +113 -0
- package/lib/routes/events/events.js.map +1 -0
- package/lib/routes/events/index.js.map +1 -0
- package/lib/routes/index.js.map +1 -0
- package/lib/routes/instant-keys/index.js.map +1 -0
- package/lib/routes/instant-keys/instant-keys.d.ts +79 -0
- package/lib/routes/instant-keys/instant-keys.js +125 -0
- package/lib/routes/instant-keys/instant-keys.js.map +1 -0
- package/lib/routes/locks/index.js.map +1 -0
- package/lib/routes/locks/locks.d.ts +188 -0
- package/lib/routes/locks/locks.js +167 -0
- package/lib/routes/locks/locks.js.map +1 -0
- package/lib/routes/locks/simulate/index.js.map +1 -0
- package/lib/routes/locks/simulate/simulate.d.ts +60 -0
- package/lib/routes/locks/simulate/simulate.js +122 -0
- package/lib/routes/locks/simulate/simulate.js.map +1 -0
- package/lib/routes/noise-sensors/index.js.map +1 -0
- package/lib/routes/noise-sensors/noise-sensors.d.ts +103 -0
- package/lib/routes/noise-sensors/noise-sensors.js +109 -0
- package/lib/routes/noise-sensors/noise-sensors.js.map +1 -0
- package/lib/routes/noise-sensors/noise-thresholds/index.js.map +1 -0
- package/lib/routes/noise-sensors/noise-thresholds/noise-thresholds.d.ts +159 -0
- package/lib/routes/noise-sensors/noise-thresholds/noise-thresholds.js +149 -0
- package/lib/routes/noise-sensors/noise-thresholds/noise-thresholds.js.map +1 -0
- package/lib/routes/noise-sensors/simulate/index.js.map +1 -0
- package/lib/routes/noise-sensors/simulate/simulate.d.ts +36 -0
- package/lib/routes/noise-sensors/simulate/simulate.js +101 -0
- package/lib/routes/noise-sensors/simulate/simulate.js.map +1 -0
- package/lib/routes/phones/index.js.map +1 -0
- package/lib/routes/phones/phones.d.ts +81 -0
- package/lib/routes/phones/phones.js +129 -0
- package/lib/routes/phones/phones.js.map +1 -0
- package/lib/routes/phones/simulate/index.js.map +1 -0
- package/lib/routes/phones/simulate/simulate.d.ts +93 -0
- package/lib/routes/phones/simulate/simulate.js +101 -0
- package/lib/routes/phones/simulate/simulate.js.map +1 -0
- package/lib/routes/seam-http-endpoints-without-workspace.d.ts +23 -0
- package/lib/routes/seam-http-endpoints-without-workspace.js +62 -0
- package/lib/routes/seam-http-endpoints-without-workspace.js.map +1 -0
- package/lib/routes/seam-http-endpoints.d.ts +960 -0
- package/lib/routes/seam-http-endpoints.js +2231 -0
- package/lib/routes/seam-http-endpoints.js.map +1 -0
- package/lib/routes/seam-http-without-workspace.d.ts +18 -0
- package/lib/routes/seam-http-without-workspace.js +49 -0
- package/lib/routes/seam-http-without-workspace.js.map +1 -0
- package/lib/routes/seam-http.d.ts +59 -0
- package/lib/routes/seam-http.js +167 -0
- package/lib/routes/seam-http.js.map +1 -0
- package/lib/routes/spaces/index.js.map +1 -0
- package/lib/routes/spaces/spaces.d.ts +363 -0
- package/lib/routes/spaces/spaces.js +233 -0
- package/lib/routes/spaces/spaces.js.map +1 -0
- package/lib/routes/thermostats/daily-programs/daily-programs.d.ts +109 -0
- package/lib/routes/thermostats/daily-programs/daily-programs.js +130 -0
- package/lib/routes/thermostats/daily-programs/daily-programs.js.map +1 -0
- package/lib/routes/thermostats/daily-programs/index.js.map +1 -0
- package/lib/routes/thermostats/index.js.map +1 -0
- package/lib/routes/thermostats/schedules/index.js.map +1 -0
- package/lib/routes/thermostats/schedules/schedules.d.ts +163 -0
- package/lib/routes/thermostats/schedules/schedules.js +149 -0
- package/lib/routes/thermostats/schedules/schedules.js.map +1 -0
- package/lib/routes/thermostats/simulate/index.js.map +1 -0
- package/lib/routes/thermostats/simulate/simulate.d.ts +81 -0
- package/lib/routes/thermostats/simulate/simulate.js +113 -0
- package/lib/routes/thermostats/simulate/simulate.js.map +1 -0
- package/lib/routes/thermostats/thermostats.d.ts +565 -0
- package/lib/routes/thermostats/thermostats.js +302 -0
- package/lib/routes/thermostats/thermostats.js.map +1 -0
- package/lib/routes/user-identities/index.js.map +1 -0
- package/lib/routes/user-identities/unmanaged/index.js.map +1 -0
- package/lib/routes/user-identities/unmanaged/unmanaged.d.ts +97 -0
- package/lib/routes/user-identities/unmanaged/unmanaged.js +127 -0
- package/lib/routes/user-identities/unmanaged/unmanaged.js.map +1 -0
- package/lib/routes/user-identities/user-identities.d.ts +363 -0
- package/lib/routes/user-identities/user-identities.js +265 -0
- package/lib/routes/user-identities/user-identities.js.map +1 -0
- package/lib/routes/webhooks/index.js.map +1 -0
- package/lib/routes/webhooks/webhooks.d.ts +114 -0
- package/lib/routes/webhooks/webhooks.js +149 -0
- package/lib/routes/webhooks/webhooks.js.map +1 -0
- package/lib/routes/workspaces/index.js.map +1 -0
- package/lib/routes/workspaces/workspaces.d.ts +189 -0
- package/lib/routes/workspaces/workspaces.js +154 -0
- package/lib/routes/workspaces/workspaces.js.map +1 -0
- package/lib/seam-http-error.js.map +1 -0
- package/lib/seam-http-request.d.ts +34 -0
- package/lib/seam-http-request.js +101 -0
- package/lib/seam-http-request.js.map +1 -0
- package/lib/seam-paginator.js.map +1 -0
- package/lib/token.js.map +1 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +8 -11
- package/src/index.ts +2 -1
- package/src/lib/auth.ts +280 -0
- package/src/lib/client.ts +36 -0
- package/src/lib/options.ts +242 -0
- package/src/lib/parse-options.ts +182 -0
- package/src/lib/request-options.ts +14 -0
- package/src/lib/resolve-action-attempt.ts +129 -0
- package/src/lib/resources/access-code.ts +1088 -0
- package/src/lib/resources/access-grant.ts +437 -0
- package/src/lib/resources/access-method.ts +312 -0
- package/src/lib/resources/acs-access-group.ts +402 -0
- package/src/lib/resources/acs-credential.ts +332 -0
- package/src/lib/resources/acs-encoder.ts +72 -0
- package/src/lib/resources/acs-entrance.ts +469 -0
- package/src/lib/resources/acs-system.ts +377 -0
- package/src/lib/resources/acs-user.ts +627 -0
- package/src/lib/resources/action-attempt.ts +1672 -0
- package/src/lib/resources/batch.ts +65 -0
- package/src/lib/resources/client-session.ts +75 -0
- package/src/lib/resources/connect-webview.ts +110 -0
- package/src/lib/resources/connected-account.ts +425 -0
- package/src/lib/resources/customer-portal.ts +38 -0
- package/src/lib/resources/device-provider.ts +178 -0
- package/src/lib/resources/device.ts +3217 -0
- package/src/lib/resources/event.ts +6743 -0
- package/src/lib/resources/instant-key.ts +69 -0
- package/src/lib/resources/noise-threshold.ts +43 -0
- package/src/lib/resources/phone.ts +126 -0
- package/src/lib/resources/space.ts +92 -0
- package/src/lib/resources/thermostat-daily-program.ts +48 -0
- package/src/lib/resources/thermostat-schedule.ts +76 -0
- package/src/lib/resources/unmanaged-access-code.ts +870 -0
- package/src/lib/resources/unmanaged-access-grant.ts +420 -0
- package/src/lib/resources/unmanaged-access-method.ts +300 -0
- package/src/lib/resources/unmanaged-device.ts +1157 -0
- package/src/lib/resources/unmanaged-user-identity.ts +124 -0
- package/src/lib/resources/user-identity.ts +128 -0
- package/src/lib/resources/webhook.ts +27 -0
- package/src/lib/resources/workspace.ts +75 -0
- package/src/lib/routes/access-codes/access-codes.ts +818 -0
- package/src/lib/routes/access-codes/simulate/simulate.ts +211 -0
- package/src/lib/routes/access-codes/unmanaged/unmanaged.ts +395 -0
- package/src/lib/routes/access-grants/access-grants.ts +640 -0
- package/src/lib/routes/access-grants/unmanaged/unmanaged.ts +305 -0
- package/src/lib/routes/access-methods/access-methods.ts +523 -0
- package/src/lib/routes/access-methods/unmanaged/unmanaged.ts +250 -0
- package/src/lib/routes/acs/access-groups/access-groups.ts +435 -0
- package/src/lib/routes/acs/acs.ts +193 -0
- package/src/lib/routes/acs/credentials/credentials.ts +569 -0
- package/src/lib/routes/acs/encoders/encoders.ts +429 -0
- package/src/lib/routes/acs/encoders/simulate/simulate.ts +335 -0
- package/src/lib/routes/acs/entrances/entrances.ts +406 -0
- package/src/lib/routes/acs/systems/systems.ts +367 -0
- package/src/lib/routes/acs/users/users.ts +710 -0
- package/src/lib/routes/action-attempts/action-attempts.ts +254 -0
- package/src/lib/routes/client-sessions/client-sessions.ts +495 -0
- package/src/lib/routes/connect-webviews/connect-webviews.ts +452 -0
- package/src/lib/routes/connected-accounts/connected-accounts.ts +399 -0
- package/src/lib/routes/connected-accounts/simulate/simulate.ts +200 -0
- package/src/lib/routes/customers/customers.ts +1838 -0
- package/src/lib/routes/devices/devices.ts +1918 -0
- package/src/lib/routes/devices/simulate/simulate.ts +371 -0
- package/src/lib/routes/devices/unmanaged/unmanaged.ts +486 -0
- package/src/lib/routes/events/events.ts +565 -0
- package/src/lib/routes/instant-keys/instant-keys.ts +269 -0
- package/src/lib/routes/locks/locks.ts +532 -0
- package/src/lib/routes/locks/simulate/simulate.ts +257 -0
- package/src/lib/routes/noise-sensors/noise-sensors.ts +272 -0
- package/src/lib/routes/noise-sensors/noise-thresholds/noise-thresholds.ts +400 -0
- package/src/lib/routes/noise-sensors/simulate/simulate.ts +197 -0
- package/src/lib/routes/phones/phones.ts +269 -0
- package/src/lib/routes/phones/simulate/simulate.ts +256 -0
- package/src/lib/routes/seam-http-endpoints-without-workspace.ts +132 -0
- package/src/lib/routes/seam-http-endpoints.ts +4457 -0
- package/src/lib/routes/seam-http-without-workspace.ts +96 -0
- package/src/lib/routes/seam-http.ts +262 -0
- package/src/lib/routes/spaces/spaces.ts +721 -0
- package/src/lib/routes/thermostats/daily-programs/daily-programs.ts +322 -0
- package/src/lib/routes/thermostats/schedules/schedules.ts +394 -0
- package/src/lib/routes/thermostats/simulate/simulate.ts +263 -0
- package/src/lib/routes/thermostats/thermostats.ts +1067 -0
- package/src/lib/routes/user-identities/unmanaged/unmanaged.ts +299 -0
- package/src/lib/routes/user-identities/user-identities.ts +756 -0
- package/src/lib/routes/webhooks/webhooks.ts +333 -0
- package/src/lib/routes/workspaces/workspaces.ts +425 -0
- package/src/lib/seam-http-request.ts +201 -0
- package/src/lib/version.ts +1 -1
- package/connect.d.ts +0 -2
- package/connect.js +0 -3
- package/connect.js.map +0 -1
- package/lib/seam/connect/api-error-types.js.map +0 -1
- package/lib/seam/connect/auth.d.ts +0 -10
- package/lib/seam/connect/auth.js.map +0 -1
- package/lib/seam/connect/client.d.ts +0 -10
- package/lib/seam/connect/client.js +0 -19
- package/lib/seam/connect/client.js.map +0 -1
- package/lib/seam/connect/error-interceptor.js.map +0 -1
- package/lib/seam/connect/index.js.map +0 -1
- package/lib/seam/connect/openapi.js.map +0 -1
- package/lib/seam/connect/options.d.ts +0 -57
- package/lib/seam/connect/options.js +0 -108
- package/lib/seam/connect/options.js.map +0 -1
- package/lib/seam/connect/parse-options.d.ts +0 -18
- package/lib/seam/connect/parse-options.js +0 -120
- package/lib/seam/connect/parse-options.js.map +0 -1
- package/lib/seam/connect/resolve-action-attempt.d.ts +0 -27
- package/lib/seam/connect/resolve-action-attempt.js.map +0 -1
- package/lib/seam/connect/resources/access-code.d.ts +0 -247
- package/lib/seam/connect/resources/access-code.js.map +0 -1
- package/lib/seam/connect/resources/access-grant.d.ts +0 -98
- package/lib/seam/connect/resources/access-grant.js.map +0 -1
- package/lib/seam/connect/resources/access-method.d.ts +0 -73
- package/lib/seam/connect/resources/access-method.js.map +0 -1
- package/lib/seam/connect/resources/acs-access-group.d.ts +0 -89
- package/lib/seam/connect/resources/acs-access-group.js.map +0 -1
- package/lib/seam/connect/resources/acs-credential.d.ts +0 -74
- package/lib/seam/connect/resources/acs-credential.js.map +0 -1
- package/lib/seam/connect/resources/acs-encoder.d.ts +0 -13
- package/lib/seam/connect/resources/acs-encoder.js.map +0 -1
- package/lib/seam/connect/resources/acs-entrance.d.ts +0 -113
- package/lib/seam/connect/resources/acs-entrance.js.map +0 -1
- package/lib/seam/connect/resources/acs-system.d.ts +0 -74
- package/lib/seam/connect/resources/acs-system.js.map +0 -1
- package/lib/seam/connect/resources/acs-user.d.ts +0 -154
- package/lib/seam/connect/resources/acs-user.js.map +0 -1
- package/lib/seam/connect/resources/action-attempt.d.ts +0 -420
- package/lib/seam/connect/resources/action-attempt.js.map +0 -1
- package/lib/seam/connect/resources/batch.d.ts +0 -54
- package/lib/seam/connect/resources/batch.js.map +0 -1
- package/lib/seam/connect/resources/client-session.d.ts +0 -14
- package/lib/seam/connect/resources/client-session.js.map +0 -1
- package/lib/seam/connect/resources/connect-webview.d.ts +0 -21
- package/lib/seam/connect/resources/connect-webview.js.map +0 -1
- package/lib/seam/connect/resources/connected-account.d.ts +0 -98
- package/lib/seam/connect/resources/connected-account.js.map +0 -1
- package/lib/seam/connect/resources/customer-portal.d.ts +0 -7
- package/lib/seam/connect/resources/customer-portal.js.map +0 -1
- package/lib/seam/connect/resources/device-provider.d.ts +0 -26
- package/lib/seam/connect/resources/device-provider.js.map +0 -1
- package/lib/seam/connect/resources/device.d.ts +0 -763
- package/lib/seam/connect/resources/device.js.map +0 -1
- package/lib/seam/connect/resources/event.d.ts +0 -1613
- package/lib/seam/connect/resources/event.js.map +0 -1
- package/lib/seam/connect/resources/index.js.map +0 -1
- package/lib/seam/connect/resources/instant-key.d.ts +0 -15
- package/lib/seam/connect/resources/instant-key.js.map +0 -1
- package/lib/seam/connect/resources/noise-threshold.d.ts +0 -9
- package/lib/seam/connect/resources/noise-threshold.js.map +0 -1
- package/lib/seam/connect/resources/phone.d.ts +0 -31
- package/lib/seam/connect/resources/phone.js.map +0 -1
- package/lib/seam/connect/resources/space.d.ts +0 -21
- package/lib/seam/connect/resources/space.js.map +0 -1
- package/lib/seam/connect/resources/thermostat-daily-program.d.ts +0 -11
- package/lib/seam/connect/resources/thermostat-daily-program.js.map +0 -1
- package/lib/seam/connect/resources/thermostat-schedule.d.ts +0 -17
- package/lib/seam/connect/resources/thermostat-schedule.js.map +0 -1
- package/lib/seam/connect/resources/unmanaged-access-code.d.ts +0 -194
- package/lib/seam/connect/resources/unmanaged-access-code.js.map +0 -1
- package/lib/seam/connect/resources/unmanaged-access-grant.d.ts +0 -94
- package/lib/seam/connect/resources/unmanaged-access-grant.js.map +0 -1
- package/lib/seam/connect/resources/unmanaged-access-method.d.ts +0 -70
- package/lib/seam/connect/resources/unmanaged-access-method.js.map +0 -1
- package/lib/seam/connect/resources/unmanaged-device.d.ts +0 -249
- package/lib/seam/connect/resources/unmanaged-device.js.map +0 -1
- package/lib/seam/connect/resources/unmanaged-user-identity.d.ts +0 -26
- package/lib/seam/connect/resources/unmanaged-user-identity.js.map +0 -1
- package/lib/seam/connect/resources/user-identity.d.ts +0 -27
- package/lib/seam/connect/resources/user-identity.js.map +0 -1
- package/lib/seam/connect/resources/webhook.d.ts +0 -6
- package/lib/seam/connect/resources/webhook.js.map +0 -1
- package/lib/seam/connect/resources/workspace.d.ts +0 -18
- package/lib/seam/connect/resources/workspace.js.map +0 -1
- package/lib/seam/connect/routes/access-codes/access-codes.d.ts +0 -207
- package/lib/seam/connect/routes/access-codes/access-codes.js +0 -187
- package/lib/seam/connect/routes/access-codes/access-codes.js.map +0 -1
- package/lib/seam/connect/routes/access-codes/index.js.map +0 -1
- package/lib/seam/connect/routes/access-codes/simulate/index.js.map +0 -1
- package/lib/seam/connect/routes/access-codes/simulate/simulate.d.ts +0 -35
- package/lib/seam/connect/routes/access-codes/simulate/simulate.js +0 -98
- package/lib/seam/connect/routes/access-codes/simulate/simulate.js.map +0 -1
- package/lib/seam/connect/routes/access-codes/unmanaged/index.js.map +0 -1
- package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.d.ts +0 -92
- package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js +0 -134
- package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js.map +0 -1
- package/lib/seam/connect/routes/access-grants/access-grants.d.ts +0 -162
- package/lib/seam/connect/routes/access-grants/access-grants.js +0 -156
- package/lib/seam/connect/routes/access-grants/access-grants.js.map +0 -1
- package/lib/seam/connect/routes/access-grants/index.js.map +0 -1
- package/lib/seam/connect/routes/access-grants/unmanaged/index.js.map +0 -1
- package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.d.ts +0 -64
- package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js +0 -116
- package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js.map +0 -1
- package/lib/seam/connect/routes/access-methods/access-methods.d.ts +0 -124
- package/lib/seam/connect/routes/access-methods/access-methods.js +0 -156
- package/lib/seam/connect/routes/access-methods/access-methods.js.map +0 -1
- package/lib/seam/connect/routes/access-methods/index.js.map +0 -1
- package/lib/seam/connect/routes/access-methods/unmanaged/index.js.map +0 -1
- package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.d.ts +0 -49
- package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.js +0 -107
- package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.js.map +0 -1
- package/lib/seam/connect/routes/acs/access-groups/access-groups.d.ts +0 -114
- package/lib/seam/connect/routes/acs/access-groups/access-groups.js +0 -152
- package/lib/seam/connect/routes/acs/access-groups/access-groups.js.map +0 -1
- package/lib/seam/connect/routes/acs/access-groups/index.js.map +0 -1
- package/lib/seam/connect/routes/acs/acs.d.ts +0 -31
- package/lib/seam/connect/routes/acs/acs.js +0 -112
- package/lib/seam/connect/routes/acs/acs.js.map +0 -1
- package/lib/seam/connect/routes/acs/credentials/credentials.d.ts +0 -155
- package/lib/seam/connect/routes/acs/credentials/credentials.js +0 -161
- package/lib/seam/connect/routes/acs/credentials/credentials.js.map +0 -1
- package/lib/seam/connect/routes/acs/credentials/index.js.map +0 -1
- package/lib/seam/connect/routes/acs/encoders/encoders.d.ts +0 -99
- package/lib/seam/connect/routes/acs/encoders/encoders.js +0 -138
- package/lib/seam/connect/routes/acs/encoders/encoders.js.map +0 -1
- package/lib/seam/connect/routes/acs/encoders/index.js.map +0 -1
- package/lib/seam/connect/routes/acs/encoders/simulate/index.js.map +0 -1
- package/lib/seam/connect/routes/acs/encoders/simulate/simulate.d.ts +0 -70
- package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js +0 -125
- package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js.map +0 -1
- package/lib/seam/connect/routes/acs/entrances/entrances.d.ts +0 -98
- package/lib/seam/connect/routes/acs/entrances/entrances.js +0 -134
- package/lib/seam/connect/routes/acs/entrances/entrances.js.map +0 -1
- package/lib/seam/connect/routes/acs/entrances/index.js.map +0 -1
- package/lib/seam/connect/routes/acs/index.js.map +0 -1
- package/lib/seam/connect/routes/acs/systems/index.js.map +0 -1
- package/lib/seam/connect/routes/acs/systems/systems.d.ts +0 -86
- package/lib/seam/connect/routes/acs/systems/systems.js +0 -125
- package/lib/seam/connect/routes/acs/systems/systems.js.map +0 -1
- package/lib/seam/connect/routes/acs/users/index.js.map +0 -1
- package/lib/seam/connect/routes/acs/users/users.d.ts +0 -193
- package/lib/seam/connect/routes/acs/users/users.js +0 -188
- package/lib/seam/connect/routes/acs/users/users.js.map +0 -1
- package/lib/seam/connect/routes/action-attempts/action-attempts.d.ts +0 -48
- package/lib/seam/connect/routes/action-attempts/action-attempts.js +0 -107
- package/lib/seam/connect/routes/action-attempts/action-attempts.js.map +0 -1
- package/lib/seam/connect/routes/action-attempts/index.js.map +0 -1
- package/lib/seam/connect/routes/client-sessions/client-sessions.d.ts +0 -127
- package/lib/seam/connect/routes/client-sessions/client-sessions.js +0 -151
- package/lib/seam/connect/routes/client-sessions/client-sessions.js.map +0 -1
- package/lib/seam/connect/routes/client-sessions/index.js.map +0 -1
- package/lib/seam/connect/routes/connect-webviews/connect-webviews.d.ts +0 -84
- package/lib/seam/connect/routes/connect-webviews/connect-webviews.js +0 -125
- package/lib/seam/connect/routes/connect-webviews/connect-webviews.js.map +0 -1
- package/lib/seam/connect/routes/connect-webviews/index.js.map +0 -1
- package/lib/seam/connect/routes/connected-accounts/connected-accounts.d.ts +0 -93
- package/lib/seam/connect/routes/connected-accounts/connected-accounts.js +0 -138
- package/lib/seam/connect/routes/connected-accounts/connected-accounts.js.map +0 -1
- package/lib/seam/connect/routes/connected-accounts/index.js.map +0 -1
- package/lib/seam/connect/routes/connected-accounts/simulate/index.js.map +0 -1
- package/lib/seam/connect/routes/connected-accounts/simulate/simulate.d.ts +0 -30
- package/lib/seam/connect/routes/connected-accounts/simulate/simulate.js +0 -98
- package/lib/seam/connect/routes/connected-accounts/simulate/simulate.js.map +0 -1
- package/lib/seam/connect/routes/customers/customers.d.ts +0 -469
- package/lib/seam/connect/routes/customers/customers.js +0 -116
- package/lib/seam/connect/routes/customers/customers.js.map +0 -1
- package/lib/seam/connect/routes/customers/index.js.map +0 -1
- package/lib/seam/connect/routes/devices/devices.d.ts +0 -120
- package/lib/seam/connect/routes/devices/devices.js +0 -142
- package/lib/seam/connect/routes/devices/devices.js.map +0 -1
- package/lib/seam/connect/routes/devices/index.js.map +0 -1
- package/lib/seam/connect/routes/devices/simulate/index.js.map +0 -1
- package/lib/seam/connect/routes/devices/simulate/simulate.d.ts +0 -86
- package/lib/seam/connect/routes/devices/simulate/simulate.js +0 -143
- package/lib/seam/connect/routes/devices/simulate/simulate.js.map +0 -1
- package/lib/seam/connect/routes/devices/unmanaged/index.js.map +0 -1
- package/lib/seam/connect/routes/devices/unmanaged/unmanaged.d.ts +0 -75
- package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js +0 -116
- package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js.map +0 -1
- package/lib/seam/connect/routes/events/events.d.ts +0 -75
- package/lib/seam/connect/routes/events/events.js +0 -107
- package/lib/seam/connect/routes/events/events.js.map +0 -1
- package/lib/seam/connect/routes/events/index.js.map +0 -1
- package/lib/seam/connect/routes/index.js.map +0 -1
- package/lib/seam/connect/routes/instant-keys/index.js.map +0 -1
- package/lib/seam/connect/routes/instant-keys/instant-keys.d.ts +0 -58
- package/lib/seam/connect/routes/instant-keys/instant-keys.js +0 -116
- package/lib/seam/connect/routes/instant-keys/instant-keys.js.map +0 -1
- package/lib/seam/connect/routes/locks/index.js.map +0 -1
- package/lib/seam/connect/routes/locks/locks.d.ts +0 -103
- package/lib/seam/connect/routes/locks/locks.js +0 -138
- package/lib/seam/connect/routes/locks/locks.js.map +0 -1
- package/lib/seam/connect/routes/locks/simulate/index.js.map +0 -1
- package/lib/seam/connect/routes/locks/simulate/simulate.d.ts +0 -45
- package/lib/seam/connect/routes/locks/simulate/simulate.js +0 -107
- package/lib/seam/connect/routes/locks/simulate/simulate.js.map +0 -1
- package/lib/seam/connect/routes/noise-sensors/index.js.map +0 -1
- package/lib/seam/connect/routes/noise-sensors/noise-sensors.d.ts +0 -52
- package/lib/seam/connect/routes/noise-sensors/noise-sensors.js +0 -106
- package/lib/seam/connect/routes/noise-sensors/noise-sensors.js.map +0 -1
- package/lib/seam/connect/routes/noise-sensors/noise-thresholds/index.js.map +0 -1
- package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.d.ts +0 -93
- package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js +0 -134
- package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js.map +0 -1
- package/lib/seam/connect/routes/noise-sensors/simulate/index.js.map +0 -1
- package/lib/seam/connect/routes/noise-sensors/simulate/simulate.d.ts +0 -30
- package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js +0 -98
- package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js.map +0 -1
- package/lib/seam/connect/routes/phones/index.js.map +0 -1
- package/lib/seam/connect/routes/phones/phones.d.ts +0 -60
- package/lib/seam/connect/routes/phones/phones.js +0 -120
- package/lib/seam/connect/routes/phones/phones.js.map +0 -1
- package/lib/seam/connect/routes/phones/simulate/index.js.map +0 -1
- package/lib/seam/connect/routes/phones/simulate/simulate.d.ts +0 -48
- package/lib/seam/connect/routes/phones/simulate/simulate.js +0 -98
- package/lib/seam/connect/routes/phones/simulate/simulate.js.map +0 -1
- package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.d.ts +0 -17
- package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js +0 -56
- package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js.map +0 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +0 -264
- package/lib/seam/connect/routes/seam-http-endpoints.js +0 -1535
- package/lib/seam/connect/routes/seam-http-endpoints.js.map +0 -1
- package/lib/seam/connect/routes/seam-http-without-workspace.d.ts +0 -18
- package/lib/seam/connect/routes/seam-http-without-workspace.js +0 -49
- package/lib/seam/connect/routes/seam-http-without-workspace.js.map +0 -1
- package/lib/seam/connect/routes/seam-http.d.ts +0 -59
- package/lib/seam/connect/routes/seam-http.js +0 -167
- package/lib/seam/connect/routes/seam-http.js.map +0 -1
- package/lib/seam/connect/routes/spaces/index.js.map +0 -1
- package/lib/seam/connect/routes/spaces/spaces.d.ts +0 -198
- package/lib/seam/connect/routes/spaces/spaces.js +0 -197
- package/lib/seam/connect/routes/spaces/spaces.js.map +0 -1
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.d.ts +0 -67
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js +0 -116
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js.map +0 -1
- package/lib/seam/connect/routes/thermostats/daily-programs/index.js.map +0 -1
- package/lib/seam/connect/routes/thermostats/index.js.map +0 -1
- package/lib/seam/connect/routes/thermostats/schedules/index.js.map +0 -1
- package/lib/seam/connect/routes/thermostats/schedules/schedules.d.ts +0 -94
- package/lib/seam/connect/routes/thermostats/schedules/schedules.js +0 -134
- package/lib/seam/connect/routes/thermostats/schedules/schedules.js.map +0 -1
- package/lib/seam/connect/routes/thermostats/simulate/index.js.map +0 -1
- package/lib/seam/connect/routes/thermostats/simulate/simulate.d.ts +0 -48
- package/lib/seam/connect/routes/thermostats/simulate/simulate.js +0 -107
- package/lib/seam/connect/routes/thermostats/simulate/simulate.js.map +0 -1
- package/lib/seam/connect/routes/thermostats/thermostats.d.ts +0 -265
- package/lib/seam/connect/routes/thermostats/thermostats.js +0 -227
- package/lib/seam/connect/routes/thermostats/thermostats.js.map +0 -1
- package/lib/seam/connect/routes/user-identities/index.js.map +0 -1
- package/lib/seam/connect/routes/user-identities/unmanaged/index.js.map +0 -1
- package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.d.ts +0 -62
- package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js +0 -116
- package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js.map +0 -1
- package/lib/seam/connect/routes/user-identities/user-identities.d.ts +0 -218
- package/lib/seam/connect/routes/user-identities/user-identities.js +0 -219
- package/lib/seam/connect/routes/user-identities/user-identities.js.map +0 -1
- package/lib/seam/connect/routes/webhooks/index.js.map +0 -1
- package/lib/seam/connect/routes/webhooks/webhooks.d.ts +0 -81
- package/lib/seam/connect/routes/webhooks/webhooks.js +0 -134
- package/lib/seam/connect/routes/webhooks/webhooks.js.map +0 -1
- package/lib/seam/connect/routes/workspaces/index.js.map +0 -1
- package/lib/seam/connect/routes/workspaces/workspaces.d.ts +0 -101
- package/lib/seam/connect/routes/workspaces/workspaces.js +0 -134
- package/lib/seam/connect/routes/workspaces/workspaces.js.map +0 -1
- package/lib/seam/connect/seam-http-error.js.map +0 -1
- package/lib/seam/connect/seam-http-request.d.ts +0 -32
- package/lib/seam/connect/seam-http-request.js +0 -102
- package/lib/seam/connect/seam-http-request.js.map +0 -1
- package/lib/seam/connect/seam-paginator.js.map +0 -1
- package/lib/seam/connect/token.js.map +0 -1
- package/src/connect.ts +0 -2
- package/src/lib/seam/connect/auth.ts +0 -276
- package/src/lib/seam/connect/client.ts +0 -32
- package/src/lib/seam/connect/options.ts +0 -242
- package/src/lib/seam/connect/parse-options.ts +0 -187
- package/src/lib/seam/connect/resolve-action-attempt.ts +0 -126
- package/src/lib/seam/connect/resources/access-code.ts +0 -404
- package/src/lib/seam/connect/resources/access-grant.ts +0 -169
- package/src/lib/seam/connect/resources/access-method.ts +0 -117
- package/src/lib/seam/connect/resources/acs-access-group.ts +0 -169
- package/src/lib/seam/connect/resources/acs-credential.ts +0 -127
- package/src/lib/seam/connect/resources/acs-encoder.ts +0 -26
- package/src/lib/seam/connect/resources/acs-entrance.ts +0 -177
- package/src/lib/seam/connect/resources/acs-system.ts +0 -163
- package/src/lib/seam/connect/resources/acs-user.ts +0 -261
- package/src/lib/seam/connect/resources/action-attempt.ts +0 -716
- package/src/lib/seam/connect/resources/batch.ts +0 -62
- package/src/lib/seam/connect/resources/client-session.ts +0 -27
- package/src/lib/seam/connect/resources/connect-webview.ts +0 -40
- package/src/lib/seam/connect/resources/connected-account.ts +0 -158
- package/src/lib/seam/connect/resources/customer-portal.ts +0 -16
- package/src/lib/seam/connect/resources/device-provider.ts +0 -106
- package/src/lib/seam/connect/resources/device.ts +0 -1197
- package/src/lib/seam/connect/resources/event.ts +0 -2728
- package/src/lib/seam/connect/resources/instant-key.ts +0 -28
- package/src/lib/seam/connect/resources/noise-threshold.ts +0 -19
- package/src/lib/seam/connect/resources/phone.ts +0 -54
- package/src/lib/seam/connect/resources/space.ts +0 -38
- package/src/lib/seam/connect/resources/thermostat-daily-program.ts +0 -21
- package/src/lib/seam/connect/resources/thermostat-schedule.ts +0 -31
- package/src/lib/seam/connect/resources/unmanaged-access-code.ts +0 -320
- package/src/lib/seam/connect/resources/unmanaged-access-grant.ts +0 -164
- package/src/lib/seam/connect/resources/unmanaged-access-method.ts +0 -114
- package/src/lib/seam/connect/resources/unmanaged-device.ts +0 -469
- package/src/lib/seam/connect/resources/unmanaged-user-identity.ts +0 -48
- package/src/lib/seam/connect/resources/user-identity.ts +0 -49
- package/src/lib/seam/connect/resources/webhook.ts +0 -12
- package/src/lib/seam/connect/resources/workspace.ts +0 -29
- package/src/lib/seam/connect/routes/access-codes/access-codes.ts +0 -527
- package/src/lib/seam/connect/routes/access-codes/simulate/simulate.ts +0 -199
- package/src/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.ts +0 -322
- package/src/lib/seam/connect/routes/access-grants/access-grants.ts +0 -460
- package/src/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.ts +0 -262
- package/src/lib/seam/connect/routes/access-methods/access-methods.ts +0 -431
- package/src/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.ts +0 -229
- package/src/lib/seam/connect/routes/acs/access-groups/access-groups.ts +0 -372
- package/src/lib/seam/connect/routes/acs/acs.ts +0 -193
- package/src/lib/seam/connect/routes/acs/credentials/credentials.ts +0 -436
- package/src/lib/seam/connect/routes/acs/encoders/encoders.ts +0 -350
- package/src/lib/seam/connect/routes/acs/encoders/simulate/simulate.ts +0 -295
- package/src/lib/seam/connect/routes/acs/entrances/entrances.ts +0 -329
- package/src/lib/seam/connect/routes/acs/systems/systems.ts +0 -303
- package/src/lib/seam/connect/routes/acs/users/users.ts +0 -521
- package/src/lib/seam/connect/routes/action-attempts/action-attempts.ts +0 -229
- package/src/lib/seam/connect/routes/client-sessions/client-sessions.ts +0 -382
- package/src/lib/seam/connect/routes/connect-webviews/connect-webviews.ts +0 -376
- package/src/lib/seam/connect/routes/connected-accounts/connected-accounts.ts +0 -329
- package/src/lib/seam/connect/routes/connected-accounts/simulate/simulate.ts +0 -194
- package/src/lib/seam/connect/routes/customers/customers.ts +0 -780
- package/src/lib/seam/connect/routes/devices/devices.ts +0 -1795
- package/src/lib/seam/connect/routes/devices/simulate/simulate.ts +0 -329
- package/src/lib/seam/connect/routes/devices/unmanaged/unmanaged.ts +0 -406
- package/src/lib/seam/connect/routes/events/events.ts +0 -466
- package/src/lib/seam/connect/routes/instant-keys/instant-keys.ts +0 -248
- package/src/lib/seam/connect/routes/locks/locks.ts +0 -434
- package/src/lib/seam/connect/routes/locks/simulate/simulate.ts +0 -233
- package/src/lib/seam/connect/routes/noise-sensors/noise-sensors.ts +0 -221
- package/src/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.ts +0 -334
- package/src/lib/seam/connect/routes/noise-sensors/simulate/simulate.ts +0 -191
- package/src/lib/seam/connect/routes/phones/phones.ts +0 -248
- package/src/lib/seam/connect/routes/phones/simulate/simulate.ts +0 -211
- package/src/lib/seam/connect/routes/seam-http-endpoints-without-workspace.ts +0 -126
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +0 -3761
- package/src/lib/seam/connect/routes/seam-http-without-workspace.ts +0 -96
- package/src/lib/seam/connect/routes/seam-http.ts +0 -262
- package/src/lib/seam/connect/routes/spaces/spaces.ts +0 -555
- package/src/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.ts +0 -275
- package/src/lib/seam/connect/routes/thermostats/schedules/schedules.ts +0 -325
- package/src/lib/seam/connect/routes/thermostats/simulate/simulate.ts +0 -230
- package/src/lib/seam/connect/routes/thermostats/thermostats.ts +0 -734
- package/src/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.ts +0 -264
- package/src/lib/seam/connect/routes/user-identities/user-identities.ts +0 -610
- package/src/lib/seam/connect/routes/webhooks/webhooks.ts +0 -300
- package/src/lib/seam/connect/routes/workspaces/workspaces.ts +0 -332
- package/src/lib/seam/connect/seam-http-request.ts +0 -196
- /package/lib/{seam/connect/api-error-types.d.ts → api-error-types.d.ts} +0 -0
- /package/lib/{seam/connect/api-error-types.js → api-error-types.js} +0 -0
- /package/lib/{seam/connect/auth.js → auth.js} +0 -0
- /package/lib/{seam/connect/error-interceptor.d.ts → error-interceptor.d.ts} +0 -0
- /package/lib/{seam/connect/error-interceptor.js → error-interceptor.js} +0 -0
- /package/lib/{seam/connect/index.d.ts → index.d.ts} +0 -0
- /package/lib/{seam/connect/index.js → index.js} +0 -0
- /package/lib/{seam/connect/openapi.d.ts → openapi.d.ts} +0 -0
- /package/lib/{seam/connect/openapi.js → openapi.js} +0 -0
- /package/lib/{seam/connect/resolve-action-attempt.js → resolve-action-attempt.js} +0 -0
- /package/lib/{seam/connect/resources → resources}/access-code.js +0 -0
- /package/lib/{seam/connect/resources → resources}/access-grant.js +0 -0
- /package/lib/{seam/connect/resources → resources}/access-method.js +0 -0
- /package/lib/{seam/connect/resources → resources}/acs-access-group.js +0 -0
- /package/lib/{seam/connect/resources → resources}/acs-credential.js +0 -0
- /package/lib/{seam/connect/resources → resources}/acs-encoder.js +0 -0
- /package/lib/{seam/connect/resources → resources}/acs-entrance.js +0 -0
- /package/lib/{seam/connect/resources → resources}/acs-system.js +0 -0
- /package/lib/{seam/connect/resources → resources}/acs-user.js +0 -0
- /package/lib/{seam/connect/resources → resources}/action-attempt.js +0 -0
- /package/lib/{seam/connect/resources → resources}/batch.js +0 -0
- /package/lib/{seam/connect/resources → resources}/client-session.js +0 -0
- /package/lib/{seam/connect/resources → resources}/connect-webview.js +0 -0
- /package/lib/{seam/connect/resources → resources}/connected-account.js +0 -0
- /package/lib/{seam/connect/resources → resources}/customer-portal.js +0 -0
- /package/lib/{seam/connect/resources → resources}/device-provider.js +0 -0
- /package/lib/{seam/connect/resources → resources}/device.js +0 -0
- /package/lib/{seam/connect/resources → resources}/event.js +0 -0
- /package/lib/{seam/connect/resources → resources}/index.d.ts +0 -0
- /package/lib/{seam/connect/resources → resources}/index.js +0 -0
- /package/lib/{seam/connect/resources → resources}/instant-key.js +0 -0
- /package/lib/{seam/connect/resources → resources}/noise-threshold.js +0 -0
- /package/lib/{seam/connect/resources → resources}/phone.js +0 -0
- /package/lib/{seam/connect/resources → resources}/space.js +0 -0
- /package/lib/{seam/connect/resources → resources}/thermostat-daily-program.js +0 -0
- /package/lib/{seam/connect/resources → resources}/thermostat-schedule.js +0 -0
- /package/lib/{seam/connect/resources → resources}/unmanaged-access-code.js +0 -0
- /package/lib/{seam/connect/resources → resources}/unmanaged-access-grant.js +0 -0
- /package/lib/{seam/connect/resources → resources}/unmanaged-access-method.js +0 -0
- /package/lib/{seam/connect/resources → resources}/unmanaged-device.js +0 -0
- /package/lib/{seam/connect/resources → resources}/unmanaged-user-identity.js +0 -0
- /package/lib/{seam/connect/resources → resources}/user-identity.js +0 -0
- /package/lib/{seam/connect/resources → resources}/webhook.js +0 -0
- /package/lib/{seam/connect/resources → resources}/workspace.js +0 -0
- /package/lib/{seam/connect/routes → routes}/access-codes/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/access-codes/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/access-codes/simulate/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/access-codes/simulate/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/access-codes/unmanaged/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/access-codes/unmanaged/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/access-grants/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/access-grants/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/access-grants/unmanaged/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/access-grants/unmanaged/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/access-methods/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/access-methods/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/access-methods/unmanaged/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/access-methods/unmanaged/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/acs/access-groups/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/acs/access-groups/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/acs/credentials/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/acs/credentials/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/acs/encoders/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/acs/encoders/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/acs/encoders/simulate/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/acs/encoders/simulate/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/acs/entrances/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/acs/entrances/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/acs/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/acs/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/acs/systems/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/acs/systems/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/acs/users/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/acs/users/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/action-attempts/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/action-attempts/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/client-sessions/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/client-sessions/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/connect-webviews/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/connect-webviews/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/connected-accounts/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/connected-accounts/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/connected-accounts/simulate/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/connected-accounts/simulate/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/customers/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/customers/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/devices/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/devices/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/devices/simulate/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/devices/simulate/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/devices/unmanaged/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/devices/unmanaged/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/events/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/events/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/instant-keys/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/instant-keys/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/locks/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/locks/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/locks/simulate/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/locks/simulate/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/noise-sensors/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/noise-sensors/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/noise-sensors/noise-thresholds/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/noise-sensors/noise-thresholds/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/noise-sensors/simulate/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/noise-sensors/simulate/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/phones/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/phones/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/phones/simulate/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/phones/simulate/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/spaces/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/spaces/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/thermostats/daily-programs/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/thermostats/daily-programs/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/thermostats/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/thermostats/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/thermostats/schedules/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/thermostats/schedules/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/thermostats/simulate/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/thermostats/simulate/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/user-identities/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/user-identities/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/user-identities/unmanaged/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/user-identities/unmanaged/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/webhooks/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/webhooks/index.js +0 -0
- /package/lib/{seam/connect/routes → routes}/workspaces/index.d.ts +0 -0
- /package/lib/{seam/connect/routes → routes}/workspaces/index.js +0 -0
- /package/lib/{seam/connect/seam-http-error.d.ts → seam-http-error.d.ts} +0 -0
- /package/lib/{seam/connect/seam-http-error.js → seam-http-error.js} +0 -0
- /package/lib/{seam/connect/seam-paginator.d.ts → seam-paginator.d.ts} +0 -0
- /package/lib/{seam/connect/seam-paginator.js → seam-paginator.js} +0 -0
- /package/lib/{seam/connect/token.d.ts → token.d.ts} +0 -0
- /package/lib/{seam/connect/token.js → token.js} +0 -0
- /package/src/lib/{seam/connect/api-error-types.ts → api-error-types.ts} +0 -0
- /package/src/lib/{seam/connect/env.d.ts → env.d.ts} +0 -0
- /package/src/lib/{seam/connect/error-interceptor.ts → error-interceptor.ts} +0 -0
- /package/src/lib/{seam/connect/index.ts → index.ts} +0 -0
- /package/src/lib/{seam/connect/openapi.ts → openapi.ts} +0 -0
- /package/src/lib/{seam/connect/resources → resources}/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/access-codes/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/access-codes/simulate/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/access-codes/unmanaged/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/access-grants/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/access-grants/unmanaged/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/access-methods/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/access-methods/unmanaged/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/acs/access-groups/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/acs/credentials/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/acs/encoders/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/acs/encoders/simulate/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/acs/entrances/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/acs/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/acs/systems/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/acs/users/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/action-attempts/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/client-sessions/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/connect-webviews/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/connected-accounts/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/connected-accounts/simulate/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/customers/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/devices/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/devices/simulate/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/devices/unmanaged/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/events/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/instant-keys/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/locks/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/locks/simulate/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/noise-sensors/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/noise-sensors/noise-thresholds/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/noise-sensors/simulate/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/phones/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/phones/simulate/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/spaces/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/thermostats/daily-programs/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/thermostats/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/thermostats/schedules/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/thermostats/simulate/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/user-identities/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/user-identities/unmanaged/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/webhooks/index.ts +0 -0
- /package/src/lib/{seam/connect/routes → routes}/workspaces/index.ts +0 -0
- /package/src/lib/{seam/connect/seam-http-error.ts → seam-http-error.ts} +0 -0
- /package/src/lib/{seam/connect/seam-paginator.ts → seam-paginator.ts} +0 -0
- /package/src/lib/{seam/connect/token.ts → token.ts} +0 -0
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { type Client } from '../../../../../seam/connect/client.js';
|
|
2
|
-
import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../../../../seam/connect/options.js';
|
|
3
|
-
import type { UnmanagedDevice } from '../../../../../seam/connect/resources/unmanaged-device.js';
|
|
4
|
-
import { SeamHttpRequest } from '../../../../../seam/connect/seam-http-request.js';
|
|
5
|
-
import { SeamPaginator } from '../../../../../seam/connect/seam-paginator.js';
|
|
6
|
-
export declare class SeamHttpDevicesUnmanaged {
|
|
7
|
-
client: Client;
|
|
8
|
-
readonly defaults: Required<SeamHttpRequestOptions>;
|
|
9
|
-
readonly ltsVersion = "1.0.0";
|
|
10
|
-
static ltsVersion: string;
|
|
11
|
-
constructor(apiKeyOrOptions?: string | SeamHttpOptions);
|
|
12
|
-
static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpDevicesUnmanaged;
|
|
13
|
-
static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpDevicesUnmanaged;
|
|
14
|
-
static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpDevicesUnmanaged;
|
|
15
|
-
static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpDevicesUnmanaged>;
|
|
16
|
-
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpDevicesUnmanaged;
|
|
17
|
-
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpDevicesUnmanaged;
|
|
18
|
-
createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(request: SeamHttpRequest<TResponse, TResponseKey>): SeamPaginator<TResponse, TResponseKey>;
|
|
19
|
-
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
20
|
-
get(parameters?: DevicesUnmanagedGetParameters, options?: DevicesUnmanagedGetOptions): DevicesUnmanagedGetRequest;
|
|
21
|
-
list(parameters?: DevicesUnmanagedListParameters, options?: DevicesUnmanagedListOptions): DevicesUnmanagedListRequest;
|
|
22
|
-
update(parameters: DevicesUnmanagedUpdateParameters, options?: DevicesUnmanagedUpdateOptions): DevicesUnmanagedUpdateRequest;
|
|
23
|
-
}
|
|
24
|
-
export type DevicesUnmanagedGetParameters = {
|
|
25
|
-
device_id?: string | undefined;
|
|
26
|
-
name?: string | undefined;
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* @deprecated Use DevicesUnmanagedGetRequest instead.
|
|
30
|
-
*/
|
|
31
|
-
export type DevicesUnmanagedGetResponse = {
|
|
32
|
-
device: UnmanagedDevice;
|
|
33
|
-
};
|
|
34
|
-
export type DevicesUnmanagedGetRequest = SeamHttpRequest<DevicesUnmanagedGetResponse, 'device'>;
|
|
35
|
-
export interface DevicesUnmanagedGetOptions {
|
|
36
|
-
}
|
|
37
|
-
export type DevicesUnmanagedListParameters = {
|
|
38
|
-
connect_webview_id?: string | undefined;
|
|
39
|
-
connected_account_id?: string | undefined;
|
|
40
|
-
connected_account_ids?: Array<string> | undefined;
|
|
41
|
-
created_before?: string | undefined;
|
|
42
|
-
custom_metadata_has?: Record<string, unknown> | undefined;
|
|
43
|
-
customer_key?: string | undefined;
|
|
44
|
-
device_ids?: Array<string> | undefined;
|
|
45
|
-
device_type?: 'akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock' | 'akiles_lock' | 'ultraloq_lock' | 'keyincode_lock' | 'omnitec_lock' | 'kisi_lock' | 'aqara_lock' | 'keynest_key' | 'noiseaware_activity_zone' | 'minut_sensor' | 'ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat' | 'ios_phone' | 'android_phone' | 'ring_camera' | undefined;
|
|
46
|
-
device_types?: Array<'akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock' | 'akiles_lock' | 'ultraloq_lock' | 'keyincode_lock' | 'omnitec_lock' | 'kisi_lock' | 'aqara_lock' | 'keynest_key' | 'noiseaware_activity_zone' | 'minut_sensor' | 'ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat' | 'ios_phone' | 'android_phone' | 'ring_camera'> | undefined;
|
|
47
|
-
limit?: number | undefined;
|
|
48
|
-
manufacturer?: 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'lockly' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'two_n' | 'ttlock' | 'igloohome' | 'controlbyweb' | 'dormakaba_oracode' | 'tedee' | 'keyincode' | 'akiles' | 'aqara' | 'ecobee' | 'honeywell_resideo' | 'keynest' | 'korelock' | 'minut' | 'nest' | 'noiseaware' | 'sensi' | 'smartthings' | 'tado' | 'ultraloq' | 'ring' | 'ical' | 'lodgify' | 'hostaway' | 'guesty' | 'acuity_scheduling' | 'omnitec' | 'kisi' | 'slack' | undefined;
|
|
49
|
-
page_cursor?: string | undefined;
|
|
50
|
-
search?: string | undefined;
|
|
51
|
-
space_id?: string | undefined;
|
|
52
|
-
unstable_location_id?: string | undefined;
|
|
53
|
-
user_identifier_key?: string | undefined;
|
|
54
|
-
};
|
|
55
|
-
/**
|
|
56
|
-
* @deprecated Use DevicesUnmanagedListRequest instead.
|
|
57
|
-
*/
|
|
58
|
-
export type DevicesUnmanagedListResponse = {
|
|
59
|
-
devices: Array<UnmanagedDevice>;
|
|
60
|
-
};
|
|
61
|
-
export type DevicesUnmanagedListRequest = SeamHttpRequest<DevicesUnmanagedListResponse, 'devices'>;
|
|
62
|
-
export interface DevicesUnmanagedListOptions {
|
|
63
|
-
}
|
|
64
|
-
export type DevicesUnmanagedUpdateParameters = {
|
|
65
|
-
custom_metadata?: Record<string, unknown> | undefined;
|
|
66
|
-
device_id: string;
|
|
67
|
-
is_managed?: boolean | undefined;
|
|
68
|
-
};
|
|
69
|
-
/**
|
|
70
|
-
* @deprecated Use DevicesUnmanagedUpdateRequest instead.
|
|
71
|
-
*/
|
|
72
|
-
export type DevicesUnmanagedUpdateResponse = void;
|
|
73
|
-
export type DevicesUnmanagedUpdateRequest = SeamHttpRequest<void, undefined>;
|
|
74
|
-
export interface DevicesUnmanagedUpdateOptions {
|
|
75
|
-
}
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Automatically generated by codegen/smith.ts.
|
|
3
|
-
* Do not edit this file or add other files to this directory.
|
|
4
|
-
*/
|
|
5
|
-
import { seamApiLtsVersion } from '../../../../../lts-version.js';
|
|
6
|
-
import { getAuthHeadersForClientSessionToken, warnOnInsecureuserIdentifierKey, } from '../../../../../seam/connect/auth.js';
|
|
7
|
-
import { createClient } from '../../../../../seam/connect/client.js';
|
|
8
|
-
import { isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, SeamHttpInvalidOptionsError, } from '../../../../../seam/connect/options.js';
|
|
9
|
-
import { limitToSeamHttpRequestOptions, parseOptions, } from '../../../../../seam/connect/parse-options.js';
|
|
10
|
-
import { SeamHttpClientSessions } from '../../../../../seam/connect/routes/client-sessions/index.js';
|
|
11
|
-
import { SeamHttpRequest } from '../../../../../seam/connect/seam-http-request.js';
|
|
12
|
-
import { SeamPaginator } from '../../../../../seam/connect/seam-paginator.js';
|
|
13
|
-
export class SeamHttpDevicesUnmanaged {
|
|
14
|
-
client;
|
|
15
|
-
defaults;
|
|
16
|
-
ltsVersion = seamApiLtsVersion;
|
|
17
|
-
static ltsVersion = seamApiLtsVersion;
|
|
18
|
-
constructor(apiKeyOrOptions = {}) {
|
|
19
|
-
const options = parseOptions(apiKeyOrOptions);
|
|
20
|
-
this.client = 'client' in options ? options.client : createClient(options);
|
|
21
|
-
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
22
|
-
}
|
|
23
|
-
static fromClient(client, options = {}) {
|
|
24
|
-
const constructorOptions = { ...options, client };
|
|
25
|
-
if (!isSeamHttpOptionsWithClient(constructorOptions)) {
|
|
26
|
-
throw new SeamHttpInvalidOptionsError('Missing client');
|
|
27
|
-
}
|
|
28
|
-
return new SeamHttpDevicesUnmanaged(constructorOptions);
|
|
29
|
-
}
|
|
30
|
-
static fromApiKey(apiKey, options = {}) {
|
|
31
|
-
const constructorOptions = { ...options, apiKey };
|
|
32
|
-
if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
|
|
33
|
-
throw new SeamHttpInvalidOptionsError('Missing apiKey');
|
|
34
|
-
}
|
|
35
|
-
return new SeamHttpDevicesUnmanaged(constructorOptions);
|
|
36
|
-
}
|
|
37
|
-
static fromClientSessionToken(clientSessionToken, options = {}) {
|
|
38
|
-
const constructorOptions = { ...options, clientSessionToken };
|
|
39
|
-
if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
|
|
40
|
-
throw new SeamHttpInvalidOptionsError('Missing clientSessionToken');
|
|
41
|
-
}
|
|
42
|
-
return new SeamHttpDevicesUnmanaged(constructorOptions);
|
|
43
|
-
}
|
|
44
|
-
static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
|
|
45
|
-
warnOnInsecureuserIdentifierKey(userIdentifierKey);
|
|
46
|
-
const clientOptions = parseOptions({ ...options, publishableKey });
|
|
47
|
-
if (isSeamHttpOptionsWithClient(clientOptions)) {
|
|
48
|
-
throw new SeamHttpInvalidOptionsError('The client option cannot be used with SeamHttpDevicesUnmanaged.fromPublishableKey');
|
|
49
|
-
}
|
|
50
|
-
const client = createClient(clientOptions);
|
|
51
|
-
const clientSessions = SeamHttpClientSessions.fromClient(client);
|
|
52
|
-
const { token } = await clientSessions.getOrCreate({
|
|
53
|
-
user_identifier_key: userIdentifierKey,
|
|
54
|
-
});
|
|
55
|
-
return SeamHttpDevicesUnmanaged.fromClientSessionToken(token, options);
|
|
56
|
-
}
|
|
57
|
-
static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
|
|
58
|
-
const constructorOptions = { ...options, consoleSessionToken, workspaceId };
|
|
59
|
-
if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
|
|
60
|
-
throw new SeamHttpInvalidOptionsError('Missing consoleSessionToken or workspaceId');
|
|
61
|
-
}
|
|
62
|
-
return new SeamHttpDevicesUnmanaged(constructorOptions);
|
|
63
|
-
}
|
|
64
|
-
static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
|
|
65
|
-
const constructorOptions = { ...options, personalAccessToken, workspaceId };
|
|
66
|
-
if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
|
|
67
|
-
throw new SeamHttpInvalidOptionsError('Missing personalAccessToken or workspaceId');
|
|
68
|
-
}
|
|
69
|
-
return new SeamHttpDevicesUnmanaged(constructorOptions);
|
|
70
|
-
}
|
|
71
|
-
createPaginator(request) {
|
|
72
|
-
return new SeamPaginator(this, request);
|
|
73
|
-
}
|
|
74
|
-
async updateClientSessionToken(clientSessionToken) {
|
|
75
|
-
const { headers } = this.client.defaults;
|
|
76
|
-
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
77
|
-
clientSessionToken,
|
|
78
|
-
});
|
|
79
|
-
for (const key of Object.keys(authHeaders)) {
|
|
80
|
-
if (headers[key] == null) {
|
|
81
|
-
throw new Error('Cannot update a clientSessionToken on a client created without a clientSessionToken');
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
this.client.defaults.headers = { ...headers, ...authHeaders };
|
|
85
|
-
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
86
|
-
await clientSessions.get();
|
|
87
|
-
}
|
|
88
|
-
get(parameters, options = {}) {
|
|
89
|
-
return new SeamHttpRequest(this, {
|
|
90
|
-
pathname: '/devices/unmanaged/get',
|
|
91
|
-
method: 'POST',
|
|
92
|
-
body: parameters,
|
|
93
|
-
responseKey: 'device',
|
|
94
|
-
options,
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
list(parameters, options = {}) {
|
|
98
|
-
return new SeamHttpRequest(this, {
|
|
99
|
-
pathname: '/devices/unmanaged/list',
|
|
100
|
-
method: 'POST',
|
|
101
|
-
body: parameters,
|
|
102
|
-
responseKey: 'devices',
|
|
103
|
-
options,
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
update(parameters, options = {}) {
|
|
107
|
-
return new SeamHttpRequest(this, {
|
|
108
|
-
pathname: '/devices/unmanaged/update',
|
|
109
|
-
method: 'PATCH',
|
|
110
|
-
body: parameters,
|
|
111
|
-
responseKey: undefined,
|
|
112
|
-
options,
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
//# sourceMappingURL=unmanaged.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unmanaged.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/routes/devices/unmanaged/unmanaged.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,EACL,mCAAmC,EACnC,+BAA+B,GAChC,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAe,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACtE,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,uCAAuC,EACvC,wCAAwC,EACxC,wCAAwC,EAExC,2BAA2B,GAQ5B,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACL,6BAA6B,EAC7B,YAAY,GACb,MAAM,mCAAmC,CAAA;AAE1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAA;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAA;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAElE,MAAM,OAAO,wBAAwB;IACnC,MAAM,CAAQ;IACL,QAAQ,CAAkC;IAC1C,UAAU,GAAG,iBAAiB,CAAA;IACvC,MAAM,CAAC,UAAU,GAAG,iBAAiB,CAAA;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AChB,WAAW,EAAE,SAAS;YACtB,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;IAED,MAAM,CACJ,UAA4C,EAC5C,UAAyC,EAAE;QAE3C,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,QAAQ,EAAE,2BAA2B;YACrC,MAAM,EAAE,OAAO;YACf,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,SAAS;YACtB,OAAO;SACR,CAAC,CAAA;IACJ,CAAC"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { type Client } from '../../../../seam/connect/client.js';
|
|
2
|
-
import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../../../seam/connect/options.js';
|
|
3
|
-
import type { SeamEvent } from '../../../../seam/connect/resources/event.js';
|
|
4
|
-
import { SeamHttpRequest } from '../../../../seam/connect/seam-http-request.js';
|
|
5
|
-
import { SeamPaginator } from '../../../../seam/connect/seam-paginator.js';
|
|
6
|
-
export declare class SeamHttpEvents {
|
|
7
|
-
client: Client;
|
|
8
|
-
readonly defaults: Required<SeamHttpRequestOptions>;
|
|
9
|
-
readonly ltsVersion = "1.0.0";
|
|
10
|
-
static ltsVersion: string;
|
|
11
|
-
constructor(apiKeyOrOptions?: string | SeamHttpOptions);
|
|
12
|
-
static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpEvents;
|
|
13
|
-
static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpEvents;
|
|
14
|
-
static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpEvents;
|
|
15
|
-
static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpEvents>;
|
|
16
|
-
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpEvents;
|
|
17
|
-
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpEvents;
|
|
18
|
-
createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(request: SeamHttpRequest<TResponse, TResponseKey>): SeamPaginator<TResponse, TResponseKey>;
|
|
19
|
-
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
20
|
-
get(parameters?: EventsGetParameters, options?: EventsGetOptions): EventsGetRequest;
|
|
21
|
-
list(parameters?: EventsListParameters, options?: EventsListOptions): EventsListRequest;
|
|
22
|
-
}
|
|
23
|
-
export type EventsGetParameters = {
|
|
24
|
-
device_id?: string | undefined;
|
|
25
|
-
event_id?: string | undefined;
|
|
26
|
-
event_type?: string | undefined;
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* @deprecated Use EventsGetRequest instead.
|
|
30
|
-
*/
|
|
31
|
-
export type EventsGetResponse = {
|
|
32
|
-
event: SeamEvent;
|
|
33
|
-
};
|
|
34
|
-
export type EventsGetRequest = SeamHttpRequest<EventsGetResponse, 'event'>;
|
|
35
|
-
export interface EventsGetOptions {
|
|
36
|
-
}
|
|
37
|
-
export type EventsListParameters = {
|
|
38
|
-
access_code_id?: string | undefined;
|
|
39
|
-
access_code_ids?: Array<string> | undefined;
|
|
40
|
-
access_grant_id?: string | undefined;
|
|
41
|
-
access_grant_ids?: Array<string> | undefined;
|
|
42
|
-
access_method_id?: string | undefined;
|
|
43
|
-
access_method_ids?: Array<string> | undefined;
|
|
44
|
-
acs_access_group_id?: string | undefined;
|
|
45
|
-
acs_credential_id?: string | undefined;
|
|
46
|
-
acs_encoder_id?: string | undefined;
|
|
47
|
-
acs_entrance_id?: string | undefined;
|
|
48
|
-
acs_system_id?: string | undefined;
|
|
49
|
-
acs_system_ids?: Array<string> | undefined;
|
|
50
|
-
acs_user_id?: string | undefined;
|
|
51
|
-
between?: Array<{}> | undefined;
|
|
52
|
-
connect_webview_id?: string | undefined;
|
|
53
|
-
connected_account_id?: string | undefined;
|
|
54
|
-
customer_key?: string | undefined;
|
|
55
|
-
device_id?: string | undefined;
|
|
56
|
-
device_ids?: Array<string> | undefined;
|
|
57
|
-
event_ids?: Array<string> | undefined;
|
|
58
|
-
event_type?: 'access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted' | undefined;
|
|
59
|
-
event_types?: Array<'access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted'> | undefined;
|
|
60
|
-
limit?: number | undefined;
|
|
61
|
-
since?: string | undefined;
|
|
62
|
-
space_id?: string | undefined;
|
|
63
|
-
space_ids?: Array<string> | undefined;
|
|
64
|
-
unstable_offset?: number | undefined;
|
|
65
|
-
user_identity_id?: string | undefined;
|
|
66
|
-
};
|
|
67
|
-
/**
|
|
68
|
-
* @deprecated Use EventsListRequest instead.
|
|
69
|
-
*/
|
|
70
|
-
export type EventsListResponse = {
|
|
71
|
-
events: Array<SeamEvent>;
|
|
72
|
-
};
|
|
73
|
-
export type EventsListRequest = SeamHttpRequest<EventsListResponse, 'events'>;
|
|
74
|
-
export interface EventsListOptions {
|
|
75
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Automatically generated by codegen/smith.ts.
|
|
3
|
-
* Do not edit this file or add other files to this directory.
|
|
4
|
-
*/
|
|
5
|
-
import { seamApiLtsVersion } from '../../../../lts-version.js';
|
|
6
|
-
import { getAuthHeadersForClientSessionToken, warnOnInsecureuserIdentifierKey, } from '../../../../seam/connect/auth.js';
|
|
7
|
-
import { createClient } from '../../../../seam/connect/client.js';
|
|
8
|
-
import { isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, SeamHttpInvalidOptionsError, } from '../../../../seam/connect/options.js';
|
|
9
|
-
import { limitToSeamHttpRequestOptions, parseOptions, } from '../../../../seam/connect/parse-options.js';
|
|
10
|
-
import { SeamHttpClientSessions } from '../../../../seam/connect/routes/client-sessions/index.js';
|
|
11
|
-
import { SeamHttpRequest } from '../../../../seam/connect/seam-http-request.js';
|
|
12
|
-
import { SeamPaginator } from '../../../../seam/connect/seam-paginator.js';
|
|
13
|
-
export class SeamHttpEvents {
|
|
14
|
-
client;
|
|
15
|
-
defaults;
|
|
16
|
-
ltsVersion = seamApiLtsVersion;
|
|
17
|
-
static ltsVersion = seamApiLtsVersion;
|
|
18
|
-
constructor(apiKeyOrOptions = {}) {
|
|
19
|
-
const options = parseOptions(apiKeyOrOptions);
|
|
20
|
-
this.client = 'client' in options ? options.client : createClient(options);
|
|
21
|
-
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
22
|
-
}
|
|
23
|
-
static fromClient(client, options = {}) {
|
|
24
|
-
const constructorOptions = { ...options, client };
|
|
25
|
-
if (!isSeamHttpOptionsWithClient(constructorOptions)) {
|
|
26
|
-
throw new SeamHttpInvalidOptionsError('Missing client');
|
|
27
|
-
}
|
|
28
|
-
return new SeamHttpEvents(constructorOptions);
|
|
29
|
-
}
|
|
30
|
-
static fromApiKey(apiKey, options = {}) {
|
|
31
|
-
const constructorOptions = { ...options, apiKey };
|
|
32
|
-
if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
|
|
33
|
-
throw new SeamHttpInvalidOptionsError('Missing apiKey');
|
|
34
|
-
}
|
|
35
|
-
return new SeamHttpEvents(constructorOptions);
|
|
36
|
-
}
|
|
37
|
-
static fromClientSessionToken(clientSessionToken, options = {}) {
|
|
38
|
-
const constructorOptions = { ...options, clientSessionToken };
|
|
39
|
-
if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
|
|
40
|
-
throw new SeamHttpInvalidOptionsError('Missing clientSessionToken');
|
|
41
|
-
}
|
|
42
|
-
return new SeamHttpEvents(constructorOptions);
|
|
43
|
-
}
|
|
44
|
-
static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
|
|
45
|
-
warnOnInsecureuserIdentifierKey(userIdentifierKey);
|
|
46
|
-
const clientOptions = parseOptions({ ...options, publishableKey });
|
|
47
|
-
if (isSeamHttpOptionsWithClient(clientOptions)) {
|
|
48
|
-
throw new SeamHttpInvalidOptionsError('The client option cannot be used with SeamHttpEvents.fromPublishableKey');
|
|
49
|
-
}
|
|
50
|
-
const client = createClient(clientOptions);
|
|
51
|
-
const clientSessions = SeamHttpClientSessions.fromClient(client);
|
|
52
|
-
const { token } = await clientSessions.getOrCreate({
|
|
53
|
-
user_identifier_key: userIdentifierKey,
|
|
54
|
-
});
|
|
55
|
-
return SeamHttpEvents.fromClientSessionToken(token, options);
|
|
56
|
-
}
|
|
57
|
-
static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
|
|
58
|
-
const constructorOptions = { ...options, consoleSessionToken, workspaceId };
|
|
59
|
-
if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
|
|
60
|
-
throw new SeamHttpInvalidOptionsError('Missing consoleSessionToken or workspaceId');
|
|
61
|
-
}
|
|
62
|
-
return new SeamHttpEvents(constructorOptions);
|
|
63
|
-
}
|
|
64
|
-
static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
|
|
65
|
-
const constructorOptions = { ...options, personalAccessToken, workspaceId };
|
|
66
|
-
if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
|
|
67
|
-
throw new SeamHttpInvalidOptionsError('Missing personalAccessToken or workspaceId');
|
|
68
|
-
}
|
|
69
|
-
return new SeamHttpEvents(constructorOptions);
|
|
70
|
-
}
|
|
71
|
-
createPaginator(request) {
|
|
72
|
-
return new SeamPaginator(this, request);
|
|
73
|
-
}
|
|
74
|
-
async updateClientSessionToken(clientSessionToken) {
|
|
75
|
-
const { headers } = this.client.defaults;
|
|
76
|
-
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
77
|
-
clientSessionToken,
|
|
78
|
-
});
|
|
79
|
-
for (const key of Object.keys(authHeaders)) {
|
|
80
|
-
if (headers[key] == null) {
|
|
81
|
-
throw new Error('Cannot update a clientSessionToken on a client created without a clientSessionToken');
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
this.client.defaults.headers = { ...headers, ...authHeaders };
|
|
85
|
-
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
86
|
-
await clientSessions.get();
|
|
87
|
-
}
|
|
88
|
-
get(parameters, options = {}) {
|
|
89
|
-
return new SeamHttpRequest(this, {
|
|
90
|
-
pathname: '/events/get',
|
|
91
|
-
method: 'POST',
|
|
92
|
-
body: parameters,
|
|
93
|
-
responseKey: 'event',
|
|
94
|
-
options,
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
list(parameters, options = {}) {
|
|
98
|
-
return new SeamHttpRequest(this, {
|
|
99
|
-
pathname: '/events/list',
|
|
100
|
-
method: 'POST',
|
|
101
|
-
body: parameters,
|
|
102
|
-
responseKey: 'events',
|
|
103
|
-
options,
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
//# sourceMappingURL=events.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"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AG,CAAC,IAAI,IAAI,EAAE,CAAC;gBACzB,MAAM,IAAI,KAAK,CACb,qFAAqF,CACtF,CAAA;YACH,CAAC;QACH,CAAC;QACD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,GAAG,EAAE,GAAG,OAAO,EAAE,GAAG,WAAW,EAAE,CAAA;QAC7D,MAAM,cAAc,GAAG,sBAAsB,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACrE,MAAM,cAAc,CAAC,GAAG,EAAE,CAAA;IAC5B,CAAC;IAED,GAAG,CACD,UAAgC,EAChC,UAA4B,EAAE;QAE9B,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,QAAQ,EAAE,aAAa;YACvB,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,OAAO;YACpB,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;IAED,IAAI,CACF,UAAiC,EACjC,UAA6B,EAAE;QAE/B,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,QAAQ,EAAE,cAAc;YACxB,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,QAAQ;YACrB,OAAO;SACR,CAAC,CAAA;IACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/routes/events/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,aAAa,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/routes/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,yBAAyB,CAAA;AACvC,cAAc,0BAA0B,CAAA;AACxC,cAAc,2BAA2B,CAAA;AACzC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,yBAAyB,CAAA;AACvC,cAAc,kBAAkB,CAAA;AAChC,cAAc,0BAA0B,CAAA;AACxC,cAAc,mBAAmB,CAAA;AACjC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,0BAA0B,CAAA;AACxC,cAAc,4CAA4C,CAAA;AAC1D,cAAc,kCAAkC,CAAA;AAChD,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/routes/instant-keys/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,mBAAmB,CAAA"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { type Client } from '../../../../seam/connect/client.js';
|
|
2
|
-
import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../../../seam/connect/options.js';
|
|
3
|
-
import type { InstantKey } from '../../../../seam/connect/resources/instant-key.js';
|
|
4
|
-
import { SeamHttpRequest } from '../../../../seam/connect/seam-http-request.js';
|
|
5
|
-
import { SeamPaginator } from '../../../../seam/connect/seam-paginator.js';
|
|
6
|
-
export declare class SeamHttpInstantKeys {
|
|
7
|
-
client: Client;
|
|
8
|
-
readonly defaults: Required<SeamHttpRequestOptions>;
|
|
9
|
-
readonly ltsVersion = "1.0.0";
|
|
10
|
-
static ltsVersion: string;
|
|
11
|
-
constructor(apiKeyOrOptions?: string | SeamHttpOptions);
|
|
12
|
-
static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpInstantKeys;
|
|
13
|
-
static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpInstantKeys;
|
|
14
|
-
static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpInstantKeys;
|
|
15
|
-
static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpInstantKeys>;
|
|
16
|
-
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpInstantKeys;
|
|
17
|
-
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpInstantKeys;
|
|
18
|
-
createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(request: SeamHttpRequest<TResponse, TResponseKey>): SeamPaginator<TResponse, TResponseKey>;
|
|
19
|
-
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
20
|
-
delete(parameters: InstantKeysDeleteParameters, options?: InstantKeysDeleteOptions): InstantKeysDeleteRequest;
|
|
21
|
-
get(parameters?: InstantKeysGetParameters, options?: InstantKeysGetOptions): InstantKeysGetRequest;
|
|
22
|
-
list(parameters?: InstantKeysListParameters, options?: InstantKeysListOptions): InstantKeysListRequest;
|
|
23
|
-
}
|
|
24
|
-
export type InstantKeysDeleteParameters = {
|
|
25
|
-
instant_key_id: string;
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* @deprecated Use InstantKeysDeleteRequest instead.
|
|
29
|
-
*/
|
|
30
|
-
export type InstantKeysDeleteResponse = void;
|
|
31
|
-
export type InstantKeysDeleteRequest = SeamHttpRequest<void, undefined>;
|
|
32
|
-
export interface InstantKeysDeleteOptions {
|
|
33
|
-
}
|
|
34
|
-
export type InstantKeysGetParameters = {
|
|
35
|
-
instant_key_id?: string | undefined;
|
|
36
|
-
instant_key_url?: string | undefined;
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* @deprecated Use InstantKeysGetRequest instead.
|
|
40
|
-
*/
|
|
41
|
-
export type InstantKeysGetResponse = {
|
|
42
|
-
instant_key: InstantKey;
|
|
43
|
-
};
|
|
44
|
-
export type InstantKeysGetRequest = SeamHttpRequest<InstantKeysGetResponse, 'instant_key'>;
|
|
45
|
-
export interface InstantKeysGetOptions {
|
|
46
|
-
}
|
|
47
|
-
export type InstantKeysListParameters = {
|
|
48
|
-
user_identity_id?: string | undefined;
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* @deprecated Use InstantKeysListRequest instead.
|
|
52
|
-
*/
|
|
53
|
-
export type InstantKeysListResponse = {
|
|
54
|
-
instant_keys: Array<InstantKey>;
|
|
55
|
-
};
|
|
56
|
-
export type InstantKeysListRequest = SeamHttpRequest<InstantKeysListResponse, 'instant_keys'>;
|
|
57
|
-
export interface InstantKeysListOptions {
|
|
58
|
-
}
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Automatically generated by codegen/smith.ts.
|
|
3
|
-
* Do not edit this file or add other files to this directory.
|
|
4
|
-
*/
|
|
5
|
-
import { seamApiLtsVersion } from '../../../../lts-version.js';
|
|
6
|
-
import { getAuthHeadersForClientSessionToken, warnOnInsecureuserIdentifierKey, } from '../../../../seam/connect/auth.js';
|
|
7
|
-
import { createClient } from '../../../../seam/connect/client.js';
|
|
8
|
-
import { isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, SeamHttpInvalidOptionsError, } from '../../../../seam/connect/options.js';
|
|
9
|
-
import { limitToSeamHttpRequestOptions, parseOptions, } from '../../../../seam/connect/parse-options.js';
|
|
10
|
-
import { SeamHttpClientSessions } from '../../../../seam/connect/routes/client-sessions/index.js';
|
|
11
|
-
import { SeamHttpRequest } from '../../../../seam/connect/seam-http-request.js';
|
|
12
|
-
import { SeamPaginator } from '../../../../seam/connect/seam-paginator.js';
|
|
13
|
-
export class SeamHttpInstantKeys {
|
|
14
|
-
client;
|
|
15
|
-
defaults;
|
|
16
|
-
ltsVersion = seamApiLtsVersion;
|
|
17
|
-
static ltsVersion = seamApiLtsVersion;
|
|
18
|
-
constructor(apiKeyOrOptions = {}) {
|
|
19
|
-
const options = parseOptions(apiKeyOrOptions);
|
|
20
|
-
this.client = 'client' in options ? options.client : createClient(options);
|
|
21
|
-
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
22
|
-
}
|
|
23
|
-
static fromClient(client, options = {}) {
|
|
24
|
-
const constructorOptions = { ...options, client };
|
|
25
|
-
if (!isSeamHttpOptionsWithClient(constructorOptions)) {
|
|
26
|
-
throw new SeamHttpInvalidOptionsError('Missing client');
|
|
27
|
-
}
|
|
28
|
-
return new SeamHttpInstantKeys(constructorOptions);
|
|
29
|
-
}
|
|
30
|
-
static fromApiKey(apiKey, options = {}) {
|
|
31
|
-
const constructorOptions = { ...options, apiKey };
|
|
32
|
-
if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
|
|
33
|
-
throw new SeamHttpInvalidOptionsError('Missing apiKey');
|
|
34
|
-
}
|
|
35
|
-
return new SeamHttpInstantKeys(constructorOptions);
|
|
36
|
-
}
|
|
37
|
-
static fromClientSessionToken(clientSessionToken, options = {}) {
|
|
38
|
-
const constructorOptions = { ...options, clientSessionToken };
|
|
39
|
-
if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
|
|
40
|
-
throw new SeamHttpInvalidOptionsError('Missing clientSessionToken');
|
|
41
|
-
}
|
|
42
|
-
return new SeamHttpInstantKeys(constructorOptions);
|
|
43
|
-
}
|
|
44
|
-
static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
|
|
45
|
-
warnOnInsecureuserIdentifierKey(userIdentifierKey);
|
|
46
|
-
const clientOptions = parseOptions({ ...options, publishableKey });
|
|
47
|
-
if (isSeamHttpOptionsWithClient(clientOptions)) {
|
|
48
|
-
throw new SeamHttpInvalidOptionsError('The client option cannot be used with SeamHttpInstantKeys.fromPublishableKey');
|
|
49
|
-
}
|
|
50
|
-
const client = createClient(clientOptions);
|
|
51
|
-
const clientSessions = SeamHttpClientSessions.fromClient(client);
|
|
52
|
-
const { token } = await clientSessions.getOrCreate({
|
|
53
|
-
user_identifier_key: userIdentifierKey,
|
|
54
|
-
});
|
|
55
|
-
return SeamHttpInstantKeys.fromClientSessionToken(token, options);
|
|
56
|
-
}
|
|
57
|
-
static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
|
|
58
|
-
const constructorOptions = { ...options, consoleSessionToken, workspaceId };
|
|
59
|
-
if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
|
|
60
|
-
throw new SeamHttpInvalidOptionsError('Missing consoleSessionToken or workspaceId');
|
|
61
|
-
}
|
|
62
|
-
return new SeamHttpInstantKeys(constructorOptions);
|
|
63
|
-
}
|
|
64
|
-
static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
|
|
65
|
-
const constructorOptions = { ...options, personalAccessToken, workspaceId };
|
|
66
|
-
if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
|
|
67
|
-
throw new SeamHttpInvalidOptionsError('Missing personalAccessToken or workspaceId');
|
|
68
|
-
}
|
|
69
|
-
return new SeamHttpInstantKeys(constructorOptions);
|
|
70
|
-
}
|
|
71
|
-
createPaginator(request) {
|
|
72
|
-
return new SeamPaginator(this, request);
|
|
73
|
-
}
|
|
74
|
-
async updateClientSessionToken(clientSessionToken) {
|
|
75
|
-
const { headers } = this.client.defaults;
|
|
76
|
-
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
77
|
-
clientSessionToken,
|
|
78
|
-
});
|
|
79
|
-
for (const key of Object.keys(authHeaders)) {
|
|
80
|
-
if (headers[key] == null) {
|
|
81
|
-
throw new Error('Cannot update a clientSessionToken on a client created without a clientSessionToken');
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
this.client.defaults.headers = { ...headers, ...authHeaders };
|
|
85
|
-
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
86
|
-
await clientSessions.get();
|
|
87
|
-
}
|
|
88
|
-
delete(parameters, options = {}) {
|
|
89
|
-
return new SeamHttpRequest(this, {
|
|
90
|
-
pathname: '/instant_keys/delete',
|
|
91
|
-
method: 'POST',
|
|
92
|
-
body: parameters,
|
|
93
|
-
responseKey: undefined,
|
|
94
|
-
options,
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
get(parameters, options = {}) {
|
|
98
|
-
return new SeamHttpRequest(this, {
|
|
99
|
-
pathname: '/instant_keys/get',
|
|
100
|
-
method: 'POST',
|
|
101
|
-
body: parameters,
|
|
102
|
-
responseKey: 'instant_key',
|
|
103
|
-
options,
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
list(parameters, options = {}) {
|
|
107
|
-
return new SeamHttpRequest(this, {
|
|
108
|
-
pathname: '/instant_keys/list',
|
|
109
|
-
method: 'POST',
|
|
110
|
-
body: parameters,
|
|
111
|
-
responseKey: 'instant_keys',
|
|
112
|
-
options,
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
//# sourceMappingURL=instant-keys.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"instant-keys.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/routes/instant-keys/instant-keys.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,EACL,mCAAmC,EACnC,+BAA+B,GAChC,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAe,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACtE,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,uCAAuC,EACvC,wCAAwC,EACxC,wCAAwC,EAExC,2BAA2B,GAQ5B,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACL,6BAA6B,EAC7B,YAAY,GACb,MAAM,mCAAmC,CAAA;AAE1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAA;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAA;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAElE,MAAM,OAAO,mBAAmB;IAC9B,MAAM,CAAQ;IACL,QAAQ,CAAkC;IAC1C,UAAU,GAAG,iBAAiB,CAAA;IACvC,MAAM,CAAC,UAAU,GAAG,iBAAiB,CAAA;IAErC,YAAY,kBAA4C,EAAE;QACxD,MAAM,OAAO,GAAG,YAAY,CAAC,eAAe,CAAC,CAAA;QAC7C,IAAI,CAAC,MAAM,GAAG,QAAQ,IAAI,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,OAAO,CAAC,CAAA;QAC1E,IAAI,CAAC,QAAQ,GAAG,6BAA6B,CAAC,OAAO,CAAC,CAAA;IACxD,CAAC;IAED,MAAM,CAAC,UAAU,CACf,MAA2C,EAC3C,UAAqD,EAAE;QAEvD,MAAM,kBAAkB,GAAG,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,C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