@seamapi/http 1.127.0 → 2.0.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/LICENSE.txt +1 -1
- package/README.md +0 -13
- package/lib/seam/connect/index.d.ts +1 -0
- package/lib/seam/connect/index.js +1 -0
- package/lib/seam/connect/index.js.map +1 -1
- package/lib/seam/connect/options.d.ts +0 -1
- package/lib/seam/connect/options.js.map +1 -1
- package/lib/seam/connect/parse-options.js +2 -4
- package/lib/seam/connect/parse-options.js.map +1 -1
- package/lib/seam/connect/resolve-action-attempt.d.ts +5 -5
- package/lib/seam/connect/resolve-action-attempt.js.map +1 -1
- package/lib/seam/connect/resources/access-code.d.ts +1 -1
- package/lib/seam/connect/resources/access-grant.d.ts +1 -1
- package/lib/seam/connect/resources/access-method.d.ts +1 -1
- package/lib/seam/connect/resources/acs-access-group.d.ts +1 -1
- package/lib/seam/connect/resources/acs-credential.d.ts +1 -1
- package/lib/seam/connect/resources/acs-encoder.d.ts +1 -1
- package/lib/seam/connect/resources/acs-entrance.d.ts +1 -1
- package/lib/seam/connect/resources/acs-system.d.ts +1 -1
- package/lib/seam/connect/resources/acs-user.d.ts +1 -2
- package/lib/seam/connect/resources/action-attempt.d.ts +1 -1
- package/lib/seam/connect/resources/batch.d.ts +53 -29
- package/lib/seam/connect/resources/client-session.d.ts +1 -1
- package/lib/seam/connect/resources/connect-webview.d.ts +1 -3
- package/lib/seam/connect/resources/connected-account.d.ts +1 -1
- package/lib/seam/connect/resources/customer-portal.d.ts +1 -1
- package/lib/seam/connect/resources/device-provider.d.ts +1 -1
- package/lib/seam/connect/resources/device.d.ts +1 -2
- package/lib/seam/connect/resources/event.d.ts +1 -9
- package/lib/seam/connect/resources/index.d.ts +32 -43
- package/lib/seam/connect/resources/instant-key.d.ts +1 -1
- package/lib/seam/connect/resources/noise-threshold.d.ts +1 -1
- package/lib/seam/connect/resources/phone.d.ts +1 -1
- package/lib/seam/connect/resources/space.d.ts +1 -3
- package/lib/seam/connect/resources/thermostat-daily-program.d.ts +1 -1
- package/lib/seam/connect/resources/thermostat-schedule.d.ts +1 -1
- package/lib/seam/connect/resources/unmanaged-access-code.d.ts +1 -1
- package/lib/seam/connect/resources/unmanaged-access-grant.d.ts +94 -0
- package/lib/seam/connect/resources/{acs-credential-pool.js → unmanaged-access-grant.js} +1 -1
- package/lib/seam/connect/resources/unmanaged-access-grant.js.map +1 -0
- package/lib/seam/connect/resources/unmanaged-access-method.d.ts +70 -0
- package/lib/seam/connect/resources/{customer.js → unmanaged-access-method.js} +1 -1
- package/lib/seam/connect/resources/unmanaged-access-method.js.map +1 -0
- package/lib/seam/connect/resources/unmanaged-device.d.ts +1 -1
- package/lib/seam/connect/resources/unmanaged-user-identity.d.ts +26 -0
- package/lib/seam/connect/resources/{bridge-client-session.js → unmanaged-user-identity.js} +1 -1
- package/lib/seam/connect/resources/unmanaged-user-identity.js.map +1 -0
- package/lib/seam/connect/resources/user-identity.d.ts +1 -1
- package/lib/seam/connect/resources/webhook.d.ts +1 -1
- package/lib/seam/connect/resources/workspace.d.ts +1 -1
- package/lib/seam/connect/routes/access-codes/access-codes.d.ts +11 -68
- package/lib/seam/connect/routes/access-codes/access-codes.js +8 -20
- package/lib/seam/connect/routes/access-codes/access-codes.js.map +1 -1
- package/lib/seam/connect/routes/access-codes/simulate/simulate.d.ts +6 -10
- package/lib/seam/connect/routes/access-codes/simulate/simulate.js +8 -8
- package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.d.ts +7 -29
- package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js +8 -8
- package/lib/seam/connect/routes/access-grants/access-grants.d.ts +11 -39
- package/lib/seam/connect/routes/access-grants/access-grants.js +8 -8
- package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.d.ts +7 -19
- package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js +8 -8
- package/lib/seam/connect/routes/access-methods/access-methods.d.ts +19 -41
- package/lib/seam/connect/routes/access-methods/access-methods.js +8 -8
- package/lib/seam/connect/routes/access-methods/access-methods.js.map +1 -1
- package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.d.ts +7 -15
- package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.js +8 -8
- package/lib/seam/connect/routes/acs/access-groups/access-groups.d.ts +11 -41
- package/lib/seam/connect/routes/acs/access-groups/access-groups.js +8 -12
- package/lib/seam/connect/routes/acs/access-groups/access-groups.js.map +1 -1
- package/lib/seam/connect/routes/acs/access-groups/index.d.ts +0 -1
- package/lib/seam/connect/routes/acs/access-groups/index.js +0 -1
- package/lib/seam/connect/routes/acs/access-groups/index.js.map +1 -1
- package/lib/seam/connect/routes/acs/acs.d.ts +4 -8
- package/lib/seam/connect/routes/acs/acs.js +7 -15
- package/lib/seam/connect/routes/acs/acs.js.map +1 -1
- package/lib/seam/connect/routes/acs/credentials/credentials.d.ts +10 -65
- package/lib/seam/connect/routes/acs/credentials/credentials.js +8 -24
- package/lib/seam/connect/routes/acs/credentials/credentials.js.map +1 -1
- package/lib/seam/connect/routes/acs/credentials/index.d.ts +0 -1
- package/lib/seam/connect/routes/acs/credentials/index.js +0 -1
- package/lib/seam/connect/routes/acs/credentials/index.js.map +1 -1
- package/lib/seam/connect/routes/acs/encoders/encoders.d.ts +17 -31
- package/lib/seam/connect/routes/acs/encoders/encoders.js +8 -8
- package/lib/seam/connect/routes/acs/encoders/encoders.js.map +1 -1
- package/lib/seam/connect/routes/acs/encoders/simulate/simulate.d.ts +4 -20
- package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js +8 -8
- package/lib/seam/connect/routes/acs/entrances/entrances.d.ts +13 -31
- package/lib/seam/connect/routes/acs/entrances/entrances.js +8 -8
- package/lib/seam/connect/routes/acs/entrances/entrances.js.map +1 -1
- package/lib/seam/connect/routes/acs/index.d.ts +0 -2
- package/lib/seam/connect/routes/acs/index.js +0 -2
- package/lib/seam/connect/routes/acs/index.js.map +1 -1
- package/lib/seam/connect/routes/acs/systems/systems.d.ts +8 -24
- package/lib/seam/connect/routes/acs/systems/systems.js +8 -8
- package/lib/seam/connect/routes/acs/users/index.d.ts +0 -1
- package/lib/seam/connect/routes/acs/users/index.js +0 -1
- package/lib/seam/connect/routes/acs/users/index.js.map +1 -1
- package/lib/seam/connect/routes/acs/users/users.d.ts +10 -56
- package/lib/seam/connect/routes/acs/users/users.js +8 -12
- package/lib/seam/connect/routes/acs/users/users.js.map +1 -1
- package/lib/seam/connect/routes/action-attempts/action-attempts.d.ts +9 -16
- package/lib/seam/connect/routes/action-attempts/action-attempts.js +8 -8
- package/lib/seam/connect/routes/action-attempts/action-attempts.js.map +1 -1
- package/lib/seam/connect/routes/client-sessions/client-sessions.d.ts +9 -37
- package/lib/seam/connect/routes/client-sessions/client-sessions.js +7 -7
- package/lib/seam/connect/routes/connect-webviews/connect-webviews.d.ts +8 -25
- package/lib/seam/connect/routes/connect-webviews/connect-webviews.js +8 -8
- package/lib/seam/connect/routes/connected-accounts/connected-accounts.d.ts +7 -28
- package/lib/seam/connect/routes/connected-accounts/connected-accounts.js +8 -8
- package/lib/seam/connect/routes/connected-accounts/simulate/simulate.d.ts +4 -8
- package/lib/seam/connect/routes/connected-accounts/simulate/simulate.js +8 -8
- package/lib/seam/connect/routes/customers/customers.d.ts +6 -21
- package/lib/seam/connect/routes/customers/customers.js +8 -12
- package/lib/seam/connect/routes/customers/customers.js.map +1 -1
- package/lib/seam/connect/routes/customers/index.d.ts +0 -1
- package/lib/seam/connect/routes/customers/index.js +0 -1
- package/lib/seam/connect/routes/customers/index.js.map +1 -1
- package/lib/seam/connect/routes/devices/devices.d.ts +9 -45
- package/lib/seam/connect/routes/devices/devices.js +8 -20
- package/lib/seam/connect/routes/devices/devices.js.map +1 -1
- package/lib/seam/connect/routes/devices/simulate/simulate.d.ts +4 -28
- package/lib/seam/connect/routes/devices/simulate/simulate.js +8 -8
- package/lib/seam/connect/routes/devices/unmanaged/unmanaged.d.ts +7 -21
- package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js +8 -8
- package/lib/seam/connect/routes/events/events.d.ts +7 -15
- package/lib/seam/connect/routes/events/events.js +8 -8
- package/lib/seam/connect/routes/index.d.ts +0 -3
- package/lib/seam/connect/routes/index.js +0 -3
- package/lib/seam/connect/routes/index.js.map +1 -1
- package/lib/seam/connect/routes/instant-keys/instant-keys.d.ts +7 -19
- package/lib/seam/connect/routes/instant-keys/instant-keys.js +8 -8
- package/lib/seam/connect/routes/locks/locks.d.ts +17 -35
- package/lib/seam/connect/routes/locks/locks.js +8 -8
- package/lib/seam/connect/routes/locks/locks.js.map +1 -1
- package/lib/seam/connect/routes/locks/simulate/simulate.d.ts +11 -15
- package/lib/seam/connect/routes/locks/simulate/simulate.js +8 -8
- package/lib/seam/connect/routes/locks/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/noise-sensors/noise-sensors.d.ts +6 -12
- package/lib/seam/connect/routes/noise-sensors/noise-sensors.js +8 -8
- package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.d.ts +8 -32
- package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js +8 -8
- package/lib/seam/connect/routes/noise-sensors/simulate/simulate.d.ts +4 -8
- package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js +8 -8
- package/lib/seam/connect/routes/phones/phones.d.ts +7 -19
- package/lib/seam/connect/routes/phones/phones.js +8 -8
- package/lib/seam/connect/routes/phones/simulate/simulate.d.ts +6 -10
- package/lib/seam/connect/routes/phones/simulate/simulate.js +8 -8
- package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.d.ts +3 -7
- package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js +4 -26
- package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +12 -126
- package/lib/seam/connect/routes/seam-http-endpoints.js +6 -840
- package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-without-workspace.d.ts +3 -3
- package/lib/seam/connect/routes/seam-http-without-workspace.js +5 -5
- package/lib/seam/connect/routes/seam-http.d.ts +4 -8
- package/lib/seam/connect/routes/seam-http.js +6 -14
- package/lib/seam/connect/routes/seam-http.js.map +1 -1
- package/lib/seam/connect/routes/spaces/spaces.d.ts +11 -64
- package/lib/seam/connect/routes/spaces/spaces.js +8 -8
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.d.ts +10 -20
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js +8 -8
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/schedules/schedules.d.ts +8 -28
- package/lib/seam/connect/routes/thermostats/schedules/schedules.js +8 -8
- package/lib/seam/connect/routes/thermostats/simulate/simulate.d.ts +4 -12
- package/lib/seam/connect/routes/thermostats/simulate/simulate.js +8 -8
- package/lib/seam/connect/routes/thermostats/thermostats.d.ts +31 -91
- package/lib/seam/connect/routes/thermostats/thermostats.js +8 -20
- package/lib/seam/connect/routes/thermostats/thermostats.js.map +1 -1
- package/lib/seam/connect/routes/user-identities/index.d.ts +0 -1
- package/lib/seam/connect/routes/user-identities/index.js +0 -1
- package/lib/seam/connect/routes/user-identities/index.js.map +1 -1
- package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.d.ts +7 -19
- package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js +8 -8
- package/lib/seam/connect/routes/user-identities/user-identities.d.ts +18 -76
- package/lib/seam/connect/routes/user-identities/user-identities.js +8 -12
- package/lib/seam/connect/routes/user-identities/user-identities.js.map +1 -1
- package/lib/seam/connect/routes/webhooks/webhooks.d.ts +8 -28
- package/lib/seam/connect/routes/webhooks/webhooks.js +8 -8
- package/lib/seam/connect/routes/workspaces/index.d.ts +0 -1
- package/lib/seam/connect/routes/workspaces/index.js +0 -1
- package/lib/seam/connect/routes/workspaces/index.js.map +1 -1
- package/lib/seam/connect/routes/workspaces/workspaces.d.ts +12 -45
- package/lib/seam/connect/routes/workspaces/workspaces.js +8 -24
- package/lib/seam/connect/routes/workspaces/workspaces.js.map +1 -1
- package/lib/seam/connect/seam-http-request.js.map +1 -1
- package/lib/seam/connect/seam-paginator.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +27 -33
- package/src/lib/seam/connect/index.ts +1 -0
- package/src/lib/seam/connect/options.ts +8 -17
- package/src/lib/seam/connect/parse-options.ts +0 -2
- package/src/lib/seam/connect/resolve-action-attempt.ts +7 -10
- package/src/lib/seam/connect/resources/access-code.ts +1 -1
- package/src/lib/seam/connect/resources/access-grant.ts +1 -1
- package/src/lib/seam/connect/resources/access-method.ts +1 -1
- package/src/lib/seam/connect/resources/acs-access-group.ts +1 -1
- package/src/lib/seam/connect/resources/acs-credential.ts +1 -1
- package/src/lib/seam/connect/resources/acs-encoder.ts +1 -1
- package/src/lib/seam/connect/resources/acs-entrance.ts +3 -10
- package/src/lib/seam/connect/resources/acs-system.ts +1 -1
- package/src/lib/seam/connect/resources/acs-user.ts +1 -2
- package/src/lib/seam/connect/resources/action-attempt.ts +6 -16
- package/src/lib/seam/connect/resources/batch.ts +56 -29
- package/src/lib/seam/connect/resources/client-session.ts +1 -1
- package/src/lib/seam/connect/resources/connect-webview.ts +1 -5
- package/src/lib/seam/connect/resources/connected-account.ts +1 -1
- package/src/lib/seam/connect/resources/customer-portal.ts +1 -1
- package/src/lib/seam/connect/resources/device-provider.ts +1 -1
- package/src/lib/seam/connect/resources/device.ts +6 -26
- package/src/lib/seam/connect/resources/event.ts +4 -27
- package/src/lib/seam/connect/resources/index.ts +32 -43
- package/src/lib/seam/connect/resources/instant-key.ts +1 -1
- package/src/lib/seam/connect/resources/noise-threshold.ts +1 -1
- package/src/lib/seam/connect/resources/phone.ts +1 -1
- package/src/lib/seam/connect/resources/space.ts +1 -3
- package/src/lib/seam/connect/resources/thermostat-daily-program.ts +1 -1
- package/src/lib/seam/connect/resources/thermostat-schedule.ts +1 -1
- package/src/lib/seam/connect/resources/unmanaged-access-code.ts +1 -1
- package/src/lib/seam/connect/resources/unmanaged-access-grant.ts +164 -0
- package/src/lib/seam/connect/resources/unmanaged-access-method.ts +114 -0
- package/src/lib/seam/connect/resources/unmanaged-device.ts +1 -1
- package/src/lib/seam/connect/resources/unmanaged-user-identity.ts +48 -0
- package/src/lib/seam/connect/resources/user-identity.ts +1 -1
- package/src/lib/seam/connect/resources/webhook.ts +1 -1
- package/src/lib/seam/connect/resources/workspace.ts +1 -1
- package/src/lib/seam/connect/routes/access-codes/access-codes.ts +8 -110
- package/src/lib/seam/connect/routes/access-codes/simulate/simulate.ts +2 -8
- package/src/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.ts +3 -34
- package/src/lib/seam/connect/routes/access-grants/access-grants.ts +18 -45
- package/src/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.ts +5 -20
- package/src/lib/seam/connect/routes/access-methods/access-methods.ts +20 -50
- package/src/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.ts +3 -15
- package/src/lib/seam/connect/routes/acs/access-groups/access-groups.ts +7 -57
- package/src/lib/seam/connect/routes/acs/access-groups/index.ts +0 -1
- package/src/lib/seam/connect/routes/acs/acs.ts +0 -13
- package/src/lib/seam/connect/routes/acs/credentials/credentials.ts +6 -111
- package/src/lib/seam/connect/routes/acs/credentials/index.ts +0 -1
- package/src/lib/seam/connect/routes/acs/encoders/encoders.ts +13 -40
- package/src/lib/seam/connect/routes/acs/encoders/simulate/simulate.ts +0 -24
- package/src/lib/seam/connect/routes/acs/entrances/entrances.ts +7 -36
- package/src/lib/seam/connect/routes/acs/index.ts +0 -2
- package/src/lib/seam/connect/routes/acs/systems/systems.ts +4 -25
- package/src/lib/seam/connect/routes/acs/users/index.ts +0 -1
- package/src/lib/seam/connect/routes/acs/users/users.ts +6 -70
- package/src/lib/seam/connect/routes/action-attempts/action-attempts.ts +3 -15
- package/src/lib/seam/connect/routes/client-sessions/client-sessions.ts +5 -44
- package/src/lib/seam/connect/routes/connect-webviews/connect-webviews.ts +4 -29
- package/src/lib/seam/connect/routes/connected-accounts/connected-accounts.ts +3 -30
- package/src/lib/seam/connect/routes/connected-accounts/simulate/simulate.ts +0 -6
- package/src/lib/seam/connect/routes/customers/customers.ts +2 -26
- package/src/lib/seam/connect/routes/customers/index.ts +0 -1
- package/src/lib/seam/connect/routes/devices/devices.ts +5 -116
- package/src/lib/seam/connect/routes/devices/simulate/simulate.ts +0 -33
- package/src/lib/seam/connect/routes/devices/unmanaged/unmanaged.ts +3 -68
- package/src/lib/seam/connect/routes/events/events.ts +3 -13
- package/src/lib/seam/connect/routes/index.ts +0 -3
- package/src/lib/seam/connect/routes/instant-keys/instant-keys.ts +3 -20
- package/src/lib/seam/connect/routes/locks/locks.ts +7 -86
- package/src/lib/seam/connect/routes/locks/simulate/simulate.ts +7 -18
- package/src/lib/seam/connect/routes/noise-sensors/noise-sensors.ts +2 -55
- package/src/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.ts +4 -41
- package/src/lib/seam/connect/routes/noise-sensors/simulate/simulate.ts +0 -6
- package/src/lib/seam/connect/routes/phones/phones.ts +3 -18
- package/src/lib/seam/connect/routes/phones/simulate/simulate.ts +2 -8
- package/src/lib/seam/connect/routes/seam-http-endpoints-without-workspace.ts +1 -55
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +75 -2091
- package/src/lib/seam/connect/routes/seam-http.ts +0 -10
- package/src/lib/seam/connect/routes/spaces/spaces.ts +16 -73
- package/src/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.ts +6 -24
- package/src/lib/seam/connect/routes/thermostats/schedules/schedules.ts +4 -32
- package/src/lib/seam/connect/routes/thermostats/simulate/simulate.ts +0 -12
- package/src/lib/seam/connect/routes/thermostats/thermostats.ts +17 -200
- package/src/lib/seam/connect/routes/user-identities/index.ts +0 -1
- package/src/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.ts +3 -21
- package/src/lib/seam/connect/routes/user-identities/user-identities.ts +14 -104
- package/src/lib/seam/connect/routes/webhooks/webhooks.ts +4 -29
- package/src/lib/seam/connect/routes/workspaces/index.ts +0 -1
- package/src/lib/seam/connect/routes/workspaces/workspaces.ts +6 -81
- package/src/lib/seam/connect/seam-http-request.ts +5 -9
- package/src/lib/seam/connect/seam-paginator.ts +1 -2
- package/src/lib/version.ts +1 -1
- package/dist/connect.cjs +0 -14158
- package/dist/connect.cjs.map +0 -1
- package/dist/connect.d.cts +0 -11784
- package/dist/index.cjs +0 -14439
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -5
- package/lib/seam/connect/resources/acs-credential-pool.d.ts +0 -9
- package/lib/seam/connect/resources/acs-credential-pool.js.map +0 -1
- package/lib/seam/connect/resources/acs-credential-provisioning-automation.d.ts +0 -7
- package/lib/seam/connect/resources/acs-credential-provisioning-automation.js +0 -6
- package/lib/seam/connect/resources/acs-credential-provisioning-automation.js.map +0 -1
- package/lib/seam/connect/resources/bridge-client-session.d.ts +0 -29
- package/lib/seam/connect/resources/bridge-client-session.js.map +0 -1
- package/lib/seam/connect/resources/bridge-connected-systems.d.ts +0 -10
- package/lib/seam/connect/resources/bridge-connected-systems.js +0 -6
- package/lib/seam/connect/resources/bridge-connected-systems.js.map +0 -1
- package/lib/seam/connect/resources/customer.d.ts +0 -5
- package/lib/seam/connect/resources/customer.js.map +0 -1
- package/lib/seam/connect/resources/customization-profile.d.ts +0 -18
- package/lib/seam/connect/resources/customization-profile.js +0 -6
- package/lib/seam/connect/resources/customization-profile.js.map +0 -1
- package/lib/seam/connect/resources/enrollment-automation.d.ts +0 -7
- package/lib/seam/connect/resources/enrollment-automation.js +0 -6
- package/lib/seam/connect/resources/enrollment-automation.js.map +0 -1
- package/lib/seam/connect/resources/magic-link.d.ts +0 -7
- package/lib/seam/connect/resources/magic-link.js +0 -6
- package/lib/seam/connect/resources/magic-link.js.map +0 -1
- package/lib/seam/connect/resources/phone-session.d.ts +0 -185
- package/lib/seam/connect/resources/phone-session.js +0 -6
- package/lib/seam/connect/resources/phone-session.js.map +0 -1
- package/lib/seam/connect/resources/staff-member.d.ts +0 -16
- package/lib/seam/connect/resources/staff-member.js +0 -6
- package/lib/seam/connect/resources/staff-member.js.map +0 -1
- package/lib/seam/connect/resources/unknown.d.ts +0 -1
- package/lib/seam/connect/resources/unknown.js +0 -6
- package/lib/seam/connect/resources/unknown.js.map +0 -1
- package/lib/seam/connect/resources/unmanaged-acs-access-group.d.ts +0 -89
- package/lib/seam/connect/resources/unmanaged-acs-access-group.js +0 -6
- package/lib/seam/connect/resources/unmanaged-acs-access-group.js.map +0 -1
- package/lib/seam/connect/resources/unmanaged-acs-credential.d.ts +0 -74
- package/lib/seam/connect/resources/unmanaged-acs-credential.js +0 -6
- package/lib/seam/connect/resources/unmanaged-acs-credential.js.map +0 -1
- package/lib/seam/connect/resources/unmanaged-acs-user.d.ts +0 -155
- package/lib/seam/connect/resources/unmanaged-acs-user.js +0 -6
- package/lib/seam/connect/resources/unmanaged-acs-user.js.map +0 -1
- package/lib/seam/connect/routes/acs/access-groups/unmanaged/index.d.ts +0 -1
- package/lib/seam/connect/routes/acs/access-groups/unmanaged/index.js +0 -6
- package/lib/seam/connect/routes/acs/access-groups/unmanaged/index.js.map +0 -1
- package/lib/seam/connect/routes/acs/access-groups/unmanaged/unmanaged.d.ts +0 -46
- package/lib/seam/connect/routes/acs/access-groups/unmanaged/unmanaged.js +0 -116
- package/lib/seam/connect/routes/acs/access-groups/unmanaged/unmanaged.js.map +0 -1
- package/lib/seam/connect/routes/acs/credential-pools/credential-pools.d.ts +0 -33
- package/lib/seam/connect/routes/acs/credential-pools/credential-pools.js +0 -104
- package/lib/seam/connect/routes/acs/credential-pools/credential-pools.js.map +0 -1
- package/lib/seam/connect/routes/acs/credential-pools/index.d.ts +0 -1
- package/lib/seam/connect/routes/acs/credential-pools/index.js +0 -6
- package/lib/seam/connect/routes/acs/credential-pools/index.js.map +0 -1
- package/lib/seam/connect/routes/acs/credential-provisioning-automations/credential-provisioning-automations.d.ts +0 -33
- package/lib/seam/connect/routes/acs/credential-provisioning-automations/credential-provisioning-automations.js +0 -104
- package/lib/seam/connect/routes/acs/credential-provisioning-automations/credential-provisioning-automations.js.map +0 -1
- package/lib/seam/connect/routes/acs/credential-provisioning-automations/index.d.ts +0 -1
- package/lib/seam/connect/routes/acs/credential-provisioning-automations/index.js +0 -6
- package/lib/seam/connect/routes/acs/credential-provisioning-automations/index.js.map +0 -1
- package/lib/seam/connect/routes/acs/credentials/unmanaged/index.d.ts +0 -1
- package/lib/seam/connect/routes/acs/credentials/unmanaged/index.js +0 -6
- package/lib/seam/connect/routes/acs/credentials/unmanaged/index.js.map +0 -1
- package/lib/seam/connect/routes/acs/credentials/unmanaged/unmanaged.d.ts +0 -46
- package/lib/seam/connect/routes/acs/credentials/unmanaged/unmanaged.js +0 -116
- package/lib/seam/connect/routes/acs/credentials/unmanaged/unmanaged.js.map +0 -1
- package/lib/seam/connect/routes/acs/users/unmanaged/index.d.ts +0 -1
- package/lib/seam/connect/routes/acs/users/unmanaged/index.js +0 -6
- package/lib/seam/connect/routes/acs/users/unmanaged/index.js.map +0 -1
- package/lib/seam/connect/routes/acs/users/unmanaged/unmanaged.d.ts +0 -46
- package/lib/seam/connect/routes/acs/users/unmanaged/unmanaged.js +0 -116
- package/lib/seam/connect/routes/acs/users/unmanaged/unmanaged.js.map +0 -1
- package/lib/seam/connect/routes/bridges/bridges.d.ts +0 -46
- package/lib/seam/connect/routes/bridges/bridges.js +0 -116
- package/lib/seam/connect/routes/bridges/bridges.js.map +0 -1
- package/lib/seam/connect/routes/bridges/index.d.ts +0 -1
- package/lib/seam/connect/routes/bridges/index.js +0 -6
- package/lib/seam/connect/routes/bridges/index.js.map +0 -1
- package/lib/seam/connect/routes/customers/reservations/index.d.ts +0 -1
- package/lib/seam/connect/routes/customers/reservations/index.js +0 -6
- package/lib/seam/connect/routes/customers/reservations/index.js.map +0 -1
- package/lib/seam/connect/routes/customers/reservations/reservations.d.ts +0 -33
- package/lib/seam/connect/routes/customers/reservations/reservations.js +0 -104
- package/lib/seam/connect/routes/customers/reservations/reservations.js.map +0 -1
- package/lib/seam/connect/routes/seam/console/console.d.ts +0 -21
- package/lib/seam/connect/routes/seam/console/console.js +0 -95
- package/lib/seam/connect/routes/seam/console/console.js.map +0 -1
- package/lib/seam/connect/routes/seam/console/index.d.ts +0 -2
- package/lib/seam/connect/routes/seam/console/index.js +0 -7
- package/lib/seam/connect/routes/seam/console/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/console/v1/index.d.ts +0 -5
- package/lib/seam/connect/routes/seam/console/v1/index.js +0 -10
- package/lib/seam/connect/routes/seam/console/v1/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/console/v1/lynx-migration/index.d.ts +0 -1
- package/lib/seam/connect/routes/seam/console/v1/lynx-migration/index.js +0 -6
- package/lib/seam/connect/routes/seam/console/v1/lynx-migration/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/console/v1/lynx-migration/lynx-migration.d.ts +0 -72
- package/lib/seam/connect/routes/seam/console/v1/lynx-migration/lynx-migration.js +0 -140
- package/lib/seam/connect/routes/seam/console/v1/lynx-migration/lynx-migration.js.map +0 -1
- package/lib/seam/connect/routes/seam/console/v1/sites/index.d.ts +0 -1
- package/lib/seam/connect/routes/seam/console/v1/sites/index.js +0 -6
- package/lib/seam/connect/routes/seam/console/v1/sites/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/console/v1/sites/sites.d.ts +0 -72
- package/lib/seam/connect/routes/seam/console/v1/sites/sites.js +0 -140
- package/lib/seam/connect/routes/seam/console/v1/sites/sites.js.map +0 -1
- package/lib/seam/connect/routes/seam/console/v1/timelines/index.d.ts +0 -1
- package/lib/seam/connect/routes/seam/console/v1/timelines/index.js +0 -6
- package/lib/seam/connect/routes/seam/console/v1/timelines/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/console/v1/timelines/timelines.d.ts +0 -33
- package/lib/seam/connect/routes/seam/console/v1/timelines/timelines.js +0 -104
- package/lib/seam/connect/routes/seam/console/v1/timelines/timelines.js.map +0 -1
- package/lib/seam/connect/routes/seam/console/v1/v1.d.ts +0 -39
- package/lib/seam/connect/routes/seam/console/v1/v1.js +0 -116
- package/lib/seam/connect/routes/seam/console/v1/v1.js.map +0 -1
- package/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/feature-flags.d.ts +0 -46
- package/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/feature-flags.js +0 -116
- package/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/feature-flags.js.map +0 -1
- package/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/index.d.ts +0 -1
- package/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/index.js +0 -6
- package/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/console/v1/workspace/index.d.ts +0 -1
- package/lib/seam/connect/routes/seam/console/v1/workspace/index.js +0 -6
- package/lib/seam/connect/routes/seam/console/v1/workspace/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/index.d.ts +0 -1
- package/lib/seam/connect/routes/seam/customer/index.js +0 -6
- package/lib/seam/connect/routes/seam/customer/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/access-grants/access-grants.d.ts +0 -46
- package/lib/seam/connect/routes/seam/customer/v1/access-grants/access-grants.js +0 -116
- package/lib/seam/connect/routes/seam/customer/v1/access-grants/access-grants.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/access-grants/index.d.ts +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/access-grants/index.js +0 -6
- package/lib/seam/connect/routes/seam/customer/v1/access-grants/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/access-methods/access-methods.d.ts +0 -32
- package/lib/seam/connect/routes/seam/customer/v1/access-methods/access-methods.js +0 -104
- package/lib/seam/connect/routes/seam/customer/v1/access-methods/access-methods.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/access-methods/index.d.ts +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/access-methods/index.js +0 -6
- package/lib/seam/connect/routes/seam/customer/v1/access-methods/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.d.ts +0 -33
- package/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.js +0 -104
- package/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/automation-runs/index.d.ts +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/automation-runs/index.js +0 -6
- package/lib/seam/connect/routes/seam/customer/v1/automation-runs/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/automations/automations.d.ts +0 -59
- package/lib/seam/connect/routes/seam/customer/v1/automations/automations.js +0 -128
- package/lib/seam/connect/routes/seam/customer/v1/automations/automations.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/automations/index.d.ts +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/automations/index.js +0 -6
- package/lib/seam/connect/routes/seam/customer/v1/automations/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/connector-customers/connector-customers.d.ts +0 -33
- package/lib/seam/connect/routes/seam/customer/v1/connector-customers/connector-customers.js +0 -104
- package/lib/seam/connect/routes/seam/customer/v1/connector-customers/connector-customers.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/connector-customers/index.d.ts +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/connector-customers/index.js +0 -6
- package/lib/seam/connect/routes/seam/customer/v1/connector-customers/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/connectors/connectors.d.ts +0 -115
- package/lib/seam/connect/routes/seam/customer/v1/connectors/connectors.js +0 -184
- package/lib/seam/connect/routes/seam/customer/v1/connectors/connectors.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/connectors/external-sites/external-sites.d.ts +0 -33
- package/lib/seam/connect/routes/seam/customer/v1/connectors/external-sites/external-sites.js +0 -104
- package/lib/seam/connect/routes/seam/customer/v1/connectors/external-sites/external-sites.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/connectors/external-sites/index.d.ts +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/connectors/external-sites/index.js +0 -6
- package/lib/seam/connect/routes/seam/customer/v1/connectors/external-sites/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/connectors/ical/ical.d.ts +0 -33
- package/lib/seam/connect/routes/seam/customer/v1/connectors/ical/ical.js +0 -104
- package/lib/seam/connect/routes/seam/customer/v1/connectors/ical/ical.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/connectors/ical/index.d.ts +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/connectors/ical/index.js +0 -6
- package/lib/seam/connect/routes/seam/customer/v1/connectors/ical/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/connectors/index.d.ts +0 -3
- package/lib/seam/connect/routes/seam/customer/v1/connectors/index.js +0 -8
- package/lib/seam/connect/routes/seam/customer/v1/connectors/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/customers/automations/automations.d.ts +0 -46
- package/lib/seam/connect/routes/seam/customer/v1/customers/automations/automations.js +0 -116
- package/lib/seam/connect/routes/seam/customer/v1/customers/automations/automations.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/customers/automations/index.d.ts +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/customers/automations/index.js +0 -6
- package/lib/seam/connect/routes/seam/customer/v1/customers/automations/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/customers/customers.d.ts +0 -61
- package/lib/seam/connect/routes/seam/customer/v1/customers/customers.js +0 -132
- package/lib/seam/connect/routes/seam/customer/v1/customers/customers.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/customers/index.d.ts +0 -2
- package/lib/seam/connect/routes/seam/customer/v1/customers/index.js +0 -7
- package/lib/seam/connect/routes/seam/customer/v1/customers/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/encoders/encoders.d.ts +0 -33
- package/lib/seam/connect/routes/seam/customer/v1/encoders/encoders.js +0 -104
- package/lib/seam/connect/routes/seam/customer/v1/encoders/encoders.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/encoders/index.d.ts +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/encoders/index.js +0 -6
- package/lib/seam/connect/routes/seam/customer/v1/encoders/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/events/events.d.ts +0 -33
- package/lib/seam/connect/routes/seam/customer/v1/events/events.js +0 -104
- package/lib/seam/connect/routes/seam/customer/v1/events/events.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/events/index.d.ts +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/events/index.js +0 -6
- package/lib/seam/connect/routes/seam/customer/v1/events/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/index.d.ts +0 -15
- package/lib/seam/connect/routes/seam/customer/v1/index.js +0 -20
- package/lib/seam/connect/routes/seam/customer/v1/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/portals/index.d.ts +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/portals/index.js +0 -6
- package/lib/seam/connect/routes/seam/customer/v1/portals/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/portals/portals.d.ts +0 -46
- package/lib/seam/connect/routes/seam/customer/v1/portals/portals.js +0 -116
- package/lib/seam/connect/routes/seam/customer/v1/portals/portals.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/reservations/index.d.ts +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/reservations/index.js +0 -6
- package/lib/seam/connect/routes/seam/customer/v1/reservations/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.d.ts +0 -59
- package/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.js +0 -128
- package/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/settings/index.d.ts +0 -2
- package/lib/seam/connect/routes/seam/customer/v1/settings/index.js +0 -7
- package/lib/seam/connect/routes/seam/customer/v1/settings/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/settings/settings.d.ts +0 -48
- package/lib/seam/connect/routes/seam/customer/v1/settings/settings.js +0 -120
- package/lib/seam/connect/routes/seam/customer/v1/settings/settings.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/index.d.ts +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/index.js +0 -6
- package/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/vertical-resource-aliases.d.ts +0 -33
- package/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/vertical-resource-aliases.js +0 -104
- package/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/vertical-resource-aliases.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/spaces/index.d.ts +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/spaces/index.js +0 -6
- package/lib/seam/connect/routes/seam/customer/v1/spaces/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.d.ts +0 -72
- package/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.js +0 -140
- package/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/staff-members/index.d.ts +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/staff-members/index.js +0 -6
- package/lib/seam/connect/routes/seam/customer/v1/staff-members/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/staff-members/staff-members.d.ts +0 -46
- package/lib/seam/connect/routes/seam/customer/v1/staff-members/staff-members.js +0 -116
- package/lib/seam/connect/routes/seam/customer/v1/staff-members/staff-members.js.map +0 -1
- package/lib/seam/connect/routes/seam/customer/v1/v1.d.ts +0 -47
- package/lib/seam/connect/routes/seam/customer/v1/v1.js +0 -147
- package/lib/seam/connect/routes/seam/customer/v1/v1.js.map +0 -1
- package/lib/seam/connect/routes/seam/index.d.ts +0 -3
- package/lib/seam/connect/routes/seam/index.js +0 -8
- package/lib/seam/connect/routes/seam/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/partner/index.d.ts +0 -1
- package/lib/seam/connect/routes/seam/partner/index.js +0 -6
- package/lib/seam/connect/routes/seam/partner/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/partner/v1/building-blocks/building-blocks.d.ts +0 -21
- package/lib/seam/connect/routes/seam/partner/v1/building-blocks/building-blocks.js +0 -95
- package/lib/seam/connect/routes/seam/partner/v1/building-blocks/building-blocks.js.map +0 -1
- package/lib/seam/connect/routes/seam/partner/v1/building-blocks/index.d.ts +0 -2
- package/lib/seam/connect/routes/seam/partner/v1/building-blocks/index.js +0 -7
- package/lib/seam/connect/routes/seam/partner/v1/building-blocks/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/index.d.ts +0 -1
- package/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/index.js +0 -6
- package/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.d.ts +0 -33
- package/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.js +0 -104
- package/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.js.map +0 -1
- package/lib/seam/connect/routes/seam/partner/v1/index.d.ts +0 -1
- package/lib/seam/connect/routes/seam/partner/v1/index.js +0 -6
- package/lib/seam/connect/routes/seam/partner/v1/index.js.map +0 -1
- package/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.d.ts +0 -72
- package/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.js +0 -140
- package/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.js.map +0 -1
- package/lib/seam/connect/routes/unstable-partner/building-blocks/index.d.ts +0 -1
- package/lib/seam/connect/routes/unstable-partner/building-blocks/index.js +0 -6
- package/lib/seam/connect/routes/unstable-partner/building-blocks/index.js.map +0 -1
- package/lib/seam/connect/routes/unstable-partner/index.d.ts +0 -2
- package/lib/seam/connect/routes/unstable-partner/index.js +0 -7
- package/lib/seam/connect/routes/unstable-partner/index.js.map +0 -1
- package/lib/seam/connect/routes/unstable-partner/unstable-partner.d.ts +0 -21
- package/lib/seam/connect/routes/unstable-partner/unstable-partner.js +0 -95
- package/lib/seam/connect/routes/unstable-partner/unstable-partner.js.map +0 -1
- package/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.d.ts +0 -72
- package/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.js +0 -140
- package/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.js.map +0 -1
- package/lib/seam/connect/routes/user-identities/enrollment-automations/index.d.ts +0 -1
- package/lib/seam/connect/routes/user-identities/enrollment-automations/index.js +0 -6
- package/lib/seam/connect/routes/user-identities/enrollment-automations/index.js.map +0 -1
- package/lib/seam/connect/routes/workspaces/customization-profiles/customization-profiles.d.ts +0 -85
- package/lib/seam/connect/routes/workspaces/customization-profiles/customization-profiles.js +0 -152
- package/lib/seam/connect/routes/workspaces/customization-profiles/customization-profiles.js.map +0 -1
- package/lib/seam/connect/routes/workspaces/customization-profiles/index.d.ts +0 -1
- package/lib/seam/connect/routes/workspaces/customization-profiles/index.js +0 -6
- package/lib/seam/connect/routes/workspaces/customization-profiles/index.js.map +0 -1
- package/src/lib/seam/connect/resources/acs-credential-pool.ts +0 -20
- package/src/lib/seam/connect/resources/acs-credential-provisioning-automation.ts +0 -16
- package/src/lib/seam/connect/resources/bridge-client-session.ts +0 -51
- package/src/lib/seam/connect/resources/bridge-connected-systems.ts +0 -22
- package/src/lib/seam/connect/resources/customer.ts +0 -12
- package/src/lib/seam/connect/resources/customization-profile.ts +0 -27
- package/src/lib/seam/connect/resources/enrollment-automation.ts +0 -16
- package/src/lib/seam/connect/resources/magic-link.ts +0 -16
- package/src/lib/seam/connect/resources/phone-session.ts +0 -304
- package/src/lib/seam/connect/resources/staff-member.ts +0 -23
- package/src/lib/seam/connect/resources/unknown.ts +0 -6
- package/src/lib/seam/connect/resources/unmanaged-acs-access-group.ts +0 -169
- package/src/lib/seam/connect/resources/unmanaged-acs-credential.ts +0 -127
- package/src/lib/seam/connect/resources/unmanaged-acs-user.ts +0 -262
- package/src/lib/seam/connect/routes/acs/access-groups/unmanaged/index.ts +0 -6
- package/src/lib/seam/connect/routes/acs/access-groups/unmanaged/unmanaged.ts +0 -252
- package/src/lib/seam/connect/routes/acs/credential-pools/credential-pools.ts +0 -208
- package/src/lib/seam/connect/routes/acs/credential-pools/index.ts +0 -6
- package/src/lib/seam/connect/routes/acs/credential-provisioning-automations/credential-provisioning-automations.ts +0 -212
- package/src/lib/seam/connect/routes/acs/credential-provisioning-automations/index.ts +0 -6
- package/src/lib/seam/connect/routes/acs/credentials/unmanaged/index.ts +0 -6
- package/src/lib/seam/connect/routes/acs/credentials/unmanaged/unmanaged.ts +0 -256
- package/src/lib/seam/connect/routes/acs/users/unmanaged/index.ts +0 -6
- package/src/lib/seam/connect/routes/acs/users/unmanaged/unmanaged.ts +0 -247
- package/src/lib/seam/connect/routes/bridges/bridges.ts +0 -237
- package/src/lib/seam/connect/routes/bridges/index.ts +0 -6
- package/src/lib/seam/connect/routes/customers/reservations/index.ts +0 -6
- package/src/lib/seam/connect/routes/customers/reservations/reservations.ts +0 -209
- package/src/lib/seam/connect/routes/seam/console/console.ts +0 -173
- package/src/lib/seam/connect/routes/seam/console/index.ts +0 -7
- package/src/lib/seam/connect/routes/seam/console/v1/index.ts +0 -10
- package/src/lib/seam/connect/routes/seam/console/v1/lynx-migration/index.ts +0 -6
- package/src/lib/seam/connect/routes/seam/console/v1/lynx-migration/lynx-migration.ts +0 -336
- package/src/lib/seam/connect/routes/seam/console/v1/sites/index.ts +0 -6
- package/src/lib/seam/connect/routes/seam/console/v1/sites/sites.ts +0 -322
- package/src/lib/seam/connect/routes/seam/console/v1/timelines/index.ts +0 -6
- package/src/lib/seam/connect/routes/seam/console/v1/timelines/timelines.ts +0 -209
- package/src/lib/seam/connect/routes/seam/console/v1/v1.ts +0 -228
- package/src/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/feature-flags.ts +0 -256
- package/src/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/index.ts +0 -6
- package/src/lib/seam/connect/routes/seam/console/v1/workspace/index.ts +0 -6
- package/src/lib/seam/connect/routes/seam/customer/index.ts +0 -6
- package/src/lib/seam/connect/routes/seam/customer/v1/access-grants/access-grants.ts +0 -252
- package/src/lib/seam/connect/routes/seam/customer/v1/access-grants/index.ts +0 -6
- package/src/lib/seam/connect/routes/seam/customer/v1/access-methods/access-methods.ts +0 -215
- package/src/lib/seam/connect/routes/seam/customer/v1/access-methods/index.ts +0 -6
- package/src/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.ts +0 -212
- package/src/lib/seam/connect/routes/seam/customer/v1/automation-runs/index.ts +0 -6
- package/src/lib/seam/connect/routes/seam/customer/v1/automations/automations.ts +0 -292
- package/src/lib/seam/connect/routes/seam/customer/v1/automations/index.ts +0 -6
- package/src/lib/seam/connect/routes/seam/customer/v1/connector-customers/connector-customers.ts +0 -212
- package/src/lib/seam/connect/routes/seam/customer/v1/connector-customers/index.ts +0 -6
- package/src/lib/seam/connect/routes/seam/customer/v1/connectors/connectors.ts +0 -473
- package/src/lib/seam/connect/routes/seam/customer/v1/connectors/external-sites/external-sites.ts +0 -212
- package/src/lib/seam/connect/routes/seam/customer/v1/connectors/external-sites/index.ts +0 -6
- package/src/lib/seam/connect/routes/seam/customer/v1/connectors/ical/ical.ts +0 -212
- package/src/lib/seam/connect/routes/seam/customer/v1/connectors/ical/index.ts +0 -6
- package/src/lib/seam/connect/routes/seam/customer/v1/connectors/index.ts +0 -8
- package/src/lib/seam/connect/routes/seam/customer/v1/customers/automations/automations.ts +0 -256
- package/src/lib/seam/connect/routes/seam/customer/v1/customers/automations/index.ts +0 -6
- package/src/lib/seam/connect/routes/seam/customer/v1/customers/customers.ts +0 -302
- package/src/lib/seam/connect/routes/seam/customer/v1/customers/index.ts +0 -7
- package/src/lib/seam/connect/routes/seam/customer/v1/encoders/encoders.ts +0 -209
- package/src/lib/seam/connect/routes/seam/customer/v1/encoders/index.ts +0 -6
- package/src/lib/seam/connect/routes/seam/customer/v1/events/events.ts +0 -208
- package/src/lib/seam/connect/routes/seam/customer/v1/events/index.ts +0 -6
- package/src/lib/seam/connect/routes/seam/customer/v1/index.ts +0 -20
- package/src/lib/seam/connect/routes/seam/customer/v1/portals/index.ts +0 -6
- package/src/lib/seam/connect/routes/seam/customer/v1/portals/portals.ts +0 -248
- package/src/lib/seam/connect/routes/seam/customer/v1/reservations/index.ts +0 -6
- package/src/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.ts +0 -292
- package/src/lib/seam/connect/routes/seam/customer/v1/settings/index.ts +0 -7
- package/src/lib/seam/connect/routes/seam/customer/v1/settings/settings.ts +0 -262
- package/src/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/index.ts +0 -6
- package/src/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/vertical-resource-aliases.ts +0 -223
- package/src/lib/seam/connect/routes/seam/customer/v1/spaces/index.ts +0 -6
- package/src/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.ts +0 -328
- package/src/lib/seam/connect/routes/seam/customer/v1/staff-members/index.ts +0 -6
- package/src/lib/seam/connect/routes/seam/customer/v1/staff-members/staff-members.ts +0 -252
- package/src/lib/seam/connect/routes/seam/customer/v1/v1.ts +0 -265
- package/src/lib/seam/connect/routes/seam/index.ts +0 -8
- package/src/lib/seam/connect/routes/seam/partner/index.ts +0 -6
- package/src/lib/seam/connect/routes/seam/partner/v1/building-blocks/building-blocks.ts +0 -179
- package/src/lib/seam/connect/routes/seam/partner/v1/building-blocks/index.ts +0 -7
- package/src/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/index.ts +0 -6
- package/src/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.ts +0 -212
- package/src/lib/seam/connect/routes/seam/partner/v1/index.ts +0 -6
- package/src/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.ts +0 -335
- package/src/lib/seam/connect/routes/unstable-partner/building-blocks/index.ts +0 -6
- package/src/lib/seam/connect/routes/unstable-partner/index.ts +0 -7
- package/src/lib/seam/connect/routes/unstable-partner/unstable-partner.ts +0 -176
- package/src/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.ts +0 -332
- package/src/lib/seam/connect/routes/user-identities/enrollment-automations/index.ts +0 -6
- package/src/lib/seam/connect/routes/workspaces/customization-profiles/customization-profiles.ts +0 -370
- package/src/lib/seam/connect/routes/workspaces/customization-profiles/index.ts +0 -6
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { type Client } from '../../../../../lib/seam/connect/client.js';
|
|
2
|
-
import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../../../../lib/seam/connect/options.js';
|
|
3
|
-
import type { SeamHttpRequest } from '../../../../../lib/seam/connect/seam-http-request.js';
|
|
4
|
-
import { SeamPaginator } from '../../../../../lib/seam/connect/seam-paginator.js';
|
|
5
|
-
import { SeamHttpUnstablePartnerBuildingBlocks } from './building-blocks/index.js';
|
|
6
|
-
export declare class SeamHttpUnstablePartner {
|
|
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'>): SeamHttpUnstablePartner;
|
|
13
|
-
static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpUnstablePartner;
|
|
14
|
-
static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpUnstablePartner;
|
|
15
|
-
static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpUnstablePartner>;
|
|
16
|
-
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpUnstablePartner;
|
|
17
|
-
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpUnstablePartner;
|
|
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 buildingBlocks(): SeamHttpUnstablePartnerBuildingBlocks;
|
|
21
|
-
}
|
|
@@ -1,95 +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 '../../../../../lib/lts-version.js';
|
|
6
|
-
import { getAuthHeadersForClientSessionToken, warnOnInsecureuserIdentifierKey, } from '../../../../../lib/seam/connect/auth.js';
|
|
7
|
-
import { createClient } from '../../../../../lib/seam/connect/client.js';
|
|
8
|
-
import { isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, SeamHttpInvalidOptionsError, } from '../../../../../lib/seam/connect/options.js';
|
|
9
|
-
import { limitToSeamHttpRequestOptions, parseOptions, } from '../../../../../lib/seam/connect/parse-options.js';
|
|
10
|
-
import { SeamHttpClientSessions } from '../../../../../lib/seam/connect/routes/client-sessions/index.js';
|
|
11
|
-
import { SeamPaginator } from '../../../../../lib/seam/connect/seam-paginator.js';
|
|
12
|
-
import { SeamHttpUnstablePartnerBuildingBlocks } from './building-blocks/index.js';
|
|
13
|
-
export class SeamHttpUnstablePartner {
|
|
14
|
-
client;
|
|
15
|
-
defaults;
|
|
16
|
-
ltsVersion = seamApiLtsVersion;
|
|
17
|
-
static ltsVersion = seamApiLtsVersion;
|
|
18
|
-
constructor(apiKeyOrOptions = {}) {
|
|
19
|
-
const options = parseOptions(apiKeyOrOptions);
|
|
20
|
-
if (!options.isUndocumentedApiEnabled) {
|
|
21
|
-
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
22
|
-
}
|
|
23
|
-
this.client = 'client' in options ? options.client : createClient(options);
|
|
24
|
-
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
25
|
-
}
|
|
26
|
-
static fromClient(client, options = {}) {
|
|
27
|
-
const constructorOptions = { ...options, client };
|
|
28
|
-
if (!isSeamHttpOptionsWithClient(constructorOptions)) {
|
|
29
|
-
throw new SeamHttpInvalidOptionsError('Missing client');
|
|
30
|
-
}
|
|
31
|
-
return new SeamHttpUnstablePartner(constructorOptions);
|
|
32
|
-
}
|
|
33
|
-
static fromApiKey(apiKey, options = {}) {
|
|
34
|
-
const constructorOptions = { ...options, apiKey };
|
|
35
|
-
if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
|
|
36
|
-
throw new SeamHttpInvalidOptionsError('Missing apiKey');
|
|
37
|
-
}
|
|
38
|
-
return new SeamHttpUnstablePartner(constructorOptions);
|
|
39
|
-
}
|
|
40
|
-
static fromClientSessionToken(clientSessionToken, options = {}) {
|
|
41
|
-
const constructorOptions = { ...options, clientSessionToken };
|
|
42
|
-
if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
|
|
43
|
-
throw new SeamHttpInvalidOptionsError('Missing clientSessionToken');
|
|
44
|
-
}
|
|
45
|
-
return new SeamHttpUnstablePartner(constructorOptions);
|
|
46
|
-
}
|
|
47
|
-
static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
|
|
48
|
-
warnOnInsecureuserIdentifierKey(userIdentifierKey);
|
|
49
|
-
const clientOptions = parseOptions({ ...options, publishableKey });
|
|
50
|
-
if (isSeamHttpOptionsWithClient(clientOptions)) {
|
|
51
|
-
throw new SeamHttpInvalidOptionsError('The client option cannot be used with SeamHttpUnstablePartner.fromPublishableKey');
|
|
52
|
-
}
|
|
53
|
-
const client = createClient(clientOptions);
|
|
54
|
-
const clientSessions = SeamHttpClientSessions.fromClient(client);
|
|
55
|
-
const { token } = await clientSessions.getOrCreate({
|
|
56
|
-
user_identifier_key: userIdentifierKey,
|
|
57
|
-
});
|
|
58
|
-
return SeamHttpUnstablePartner.fromClientSessionToken(token, options);
|
|
59
|
-
}
|
|
60
|
-
static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
|
|
61
|
-
const constructorOptions = { ...options, consoleSessionToken, workspaceId };
|
|
62
|
-
if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
|
|
63
|
-
throw new SeamHttpInvalidOptionsError('Missing consoleSessionToken or workspaceId');
|
|
64
|
-
}
|
|
65
|
-
return new SeamHttpUnstablePartner(constructorOptions);
|
|
66
|
-
}
|
|
67
|
-
static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
|
|
68
|
-
const constructorOptions = { ...options, personalAccessToken, workspaceId };
|
|
69
|
-
if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
|
|
70
|
-
throw new SeamHttpInvalidOptionsError('Missing personalAccessToken or workspaceId');
|
|
71
|
-
}
|
|
72
|
-
return new SeamHttpUnstablePartner(constructorOptions);
|
|
73
|
-
}
|
|
74
|
-
createPaginator(request) {
|
|
75
|
-
return new SeamPaginator(this, request);
|
|
76
|
-
}
|
|
77
|
-
async updateClientSessionToken(clientSessionToken) {
|
|
78
|
-
const { headers } = this.client.defaults;
|
|
79
|
-
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
80
|
-
clientSessionToken,
|
|
81
|
-
});
|
|
82
|
-
for (const key of Object.keys(authHeaders)) {
|
|
83
|
-
if (headers[key] == null) {
|
|
84
|
-
throw new Error('Cannot update a clientSessionToken on a client created without a clientSessionToken');
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
this.client.defaults.headers = { ...headers, ...authHeaders };
|
|
88
|
-
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
89
|
-
await clientSessions.get();
|
|
90
|
-
}
|
|
91
|
-
get buildingBlocks() {
|
|
92
|
-
return SeamHttpUnstablePartnerBuildingBlocks.fromClient(this.client, this.defaults);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
//# sourceMappingURL=unstable-partner.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unstable-partner.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/routes/unstable-partner/unstable-partner.ts"],"names":[],"mappings":"AAA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AW,CAAC,EAAE,CAAC;YAC3C,IAAI,OAAO,CAAC,GAAG,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,IAAI,cAAc;QAChB,OAAO,qCAAqC,CAAC,UAAU,CACrD,IAAI,CAAC,MAAM,EACX,IAAI,CAAC,QAAQ,CACd,CAAA;IACH,CAAC"}
|
package/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.d.ts
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect';
|
|
2
|
-
import { type Client } from '../../../../../../lib/seam/connect/client.js';
|
|
3
|
-
import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../../../../../lib/seam/connect/options.js';
|
|
4
|
-
import { SeamHttpRequest } from '../../../../../../lib/seam/connect/seam-http-request.js';
|
|
5
|
-
import { SeamPaginator } from '../../../../../../lib/seam/connect/seam-paginator.js';
|
|
6
|
-
export declare class SeamHttpUserIdentitiesEnrollmentAutomations {
|
|
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'>): SeamHttpUserIdentitiesEnrollmentAutomations;
|
|
13
|
-
static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpUserIdentitiesEnrollmentAutomations;
|
|
14
|
-
static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpUserIdentitiesEnrollmentAutomations;
|
|
15
|
-
static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpUserIdentitiesEnrollmentAutomations>;
|
|
16
|
-
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpUserIdentitiesEnrollmentAutomations;
|
|
17
|
-
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpUserIdentitiesEnrollmentAutomations;
|
|
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: UserIdentitiesEnrollmentAutomationsDeleteParameters, options?: UserIdentitiesEnrollmentAutomationsDeleteOptions): UserIdentitiesEnrollmentAutomationsDeleteRequest;
|
|
21
|
-
get(parameters: UserIdentitiesEnrollmentAutomationsGetParameters, options?: UserIdentitiesEnrollmentAutomationsGetOptions): UserIdentitiesEnrollmentAutomationsGetRequest;
|
|
22
|
-
launch(parameters: UserIdentitiesEnrollmentAutomationsLaunchParameters, options?: UserIdentitiesEnrollmentAutomationsLaunchOptions): UserIdentitiesEnrollmentAutomationsLaunchRequest;
|
|
23
|
-
list(parameters: UserIdentitiesEnrollmentAutomationsListParameters, options?: UserIdentitiesEnrollmentAutomationsListOptions): UserIdentitiesEnrollmentAutomationsListRequest;
|
|
24
|
-
}
|
|
25
|
-
export type UserIdentitiesEnrollmentAutomationsDeleteParameters = RouteRequestBody<'/user_identities/enrollment_automations/delete'>;
|
|
26
|
-
/**
|
|
27
|
-
* @deprecated Use UserIdentitiesEnrollmentAutomationsDeleteParameters instead.
|
|
28
|
-
*/
|
|
29
|
-
export type UserIdentitiesEnrollmentAutomationsDeleteParams = UserIdentitiesEnrollmentAutomationsDeleteParameters;
|
|
30
|
-
/**
|
|
31
|
-
* @deprecated Use UserIdentitiesEnrollmentAutomationsDeleteRequest instead.
|
|
32
|
-
*/
|
|
33
|
-
export type UserIdentitiesEnrollmentAutomationsDeleteResponse = RouteResponse<'/user_identities/enrollment_automations/delete'>;
|
|
34
|
-
export type UserIdentitiesEnrollmentAutomationsDeleteRequest = SeamHttpRequest<void, undefined>;
|
|
35
|
-
export interface UserIdentitiesEnrollmentAutomationsDeleteOptions {
|
|
36
|
-
}
|
|
37
|
-
export type UserIdentitiesEnrollmentAutomationsGetParameters = RouteRequestBody<'/user_identities/enrollment_automations/get'>;
|
|
38
|
-
/**
|
|
39
|
-
* @deprecated Use UserIdentitiesEnrollmentAutomationsGetParameters instead.
|
|
40
|
-
*/
|
|
41
|
-
export type UserIdentitiesEnrollmentAutomationsGetParams = UserIdentitiesEnrollmentAutomationsGetParameters;
|
|
42
|
-
/**
|
|
43
|
-
* @deprecated Use UserIdentitiesEnrollmentAutomationsGetRequest instead.
|
|
44
|
-
*/
|
|
45
|
-
export type UserIdentitiesEnrollmentAutomationsGetResponse = RouteResponse<'/user_identities/enrollment_automations/get'>;
|
|
46
|
-
export type UserIdentitiesEnrollmentAutomationsGetRequest = SeamHttpRequest<UserIdentitiesEnrollmentAutomationsGetResponse, 'enrollment_automation'>;
|
|
47
|
-
export interface UserIdentitiesEnrollmentAutomationsGetOptions {
|
|
48
|
-
}
|
|
49
|
-
export type UserIdentitiesEnrollmentAutomationsLaunchParameters = RouteRequestBody<'/user_identities/enrollment_automations/launch'>;
|
|
50
|
-
/**
|
|
51
|
-
* @deprecated Use UserIdentitiesEnrollmentAutomationsLaunchParameters instead.
|
|
52
|
-
*/
|
|
53
|
-
export type UserIdentitiesEnrollmentAutomationsLaunchBody = UserIdentitiesEnrollmentAutomationsLaunchParameters;
|
|
54
|
-
/**
|
|
55
|
-
* @deprecated Use UserIdentitiesEnrollmentAutomationsLaunchRequest instead.
|
|
56
|
-
*/
|
|
57
|
-
export type UserIdentitiesEnrollmentAutomationsLaunchResponse = RouteResponse<'/user_identities/enrollment_automations/launch'>;
|
|
58
|
-
export type UserIdentitiesEnrollmentAutomationsLaunchRequest = SeamHttpRequest<UserIdentitiesEnrollmentAutomationsLaunchResponse, 'enrollment_automation'>;
|
|
59
|
-
export interface UserIdentitiesEnrollmentAutomationsLaunchOptions {
|
|
60
|
-
}
|
|
61
|
-
export type UserIdentitiesEnrollmentAutomationsListParameters = RouteRequestBody<'/user_identities/enrollment_automations/list'>;
|
|
62
|
-
/**
|
|
63
|
-
* @deprecated Use UserIdentitiesEnrollmentAutomationsListParameters instead.
|
|
64
|
-
*/
|
|
65
|
-
export type UserIdentitiesEnrollmentAutomationsListParams = UserIdentitiesEnrollmentAutomationsListParameters;
|
|
66
|
-
/**
|
|
67
|
-
* @deprecated Use UserIdentitiesEnrollmentAutomationsListRequest instead.
|
|
68
|
-
*/
|
|
69
|
-
export type UserIdentitiesEnrollmentAutomationsListResponse = RouteResponse<'/user_identities/enrollment_automations/list'>;
|
|
70
|
-
export type UserIdentitiesEnrollmentAutomationsListRequest = SeamHttpRequest<UserIdentitiesEnrollmentAutomationsListResponse, 'enrollment_automations'>;
|
|
71
|
-
export interface UserIdentitiesEnrollmentAutomationsListOptions {
|
|
72
|
-
}
|
package/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.js
DELETED
|
@@ -1,140 +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 '../../../../../../lib/lts-version.js';
|
|
6
|
-
import { getAuthHeadersForClientSessionToken, warnOnInsecureuserIdentifierKey, } from '../../../../../../lib/seam/connect/auth.js';
|
|
7
|
-
import { createClient } from '../../../../../../lib/seam/connect/client.js';
|
|
8
|
-
import { isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, SeamHttpInvalidOptionsError, } from '../../../../../../lib/seam/connect/options.js';
|
|
9
|
-
import { limitToSeamHttpRequestOptions, parseOptions, } from '../../../../../../lib/seam/connect/parse-options.js';
|
|
10
|
-
import { SeamHttpClientSessions } from '../../../../../../lib/seam/connect/routes/client-sessions/index.js';
|
|
11
|
-
import { SeamHttpRequest } from '../../../../../../lib/seam/connect/seam-http-request.js';
|
|
12
|
-
import { SeamPaginator } from '../../../../../../lib/seam/connect/seam-paginator.js';
|
|
13
|
-
export class SeamHttpUserIdentitiesEnrollmentAutomations {
|
|
14
|
-
client;
|
|
15
|
-
defaults;
|
|
16
|
-
ltsVersion = seamApiLtsVersion;
|
|
17
|
-
static ltsVersion = seamApiLtsVersion;
|
|
18
|
-
constructor(apiKeyOrOptions = {}) {
|
|
19
|
-
const options = parseOptions(apiKeyOrOptions);
|
|
20
|
-
if (!options.isUndocumentedApiEnabled) {
|
|
21
|
-
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
22
|
-
}
|
|
23
|
-
this.client = 'client' in options ? options.client : createClient(options);
|
|
24
|
-
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
25
|
-
}
|
|
26
|
-
static fromClient(client, options = {}) {
|
|
27
|
-
const constructorOptions = { ...options, client };
|
|
28
|
-
if (!isSeamHttpOptionsWithClient(constructorOptions)) {
|
|
29
|
-
throw new SeamHttpInvalidOptionsError('Missing client');
|
|
30
|
-
}
|
|
31
|
-
return new SeamHttpUserIdentitiesEnrollmentAutomations(constructorOptions);
|
|
32
|
-
}
|
|
33
|
-
static fromApiKey(apiKey, options = {}) {
|
|
34
|
-
const constructorOptions = { ...options, apiKey };
|
|
35
|
-
if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
|
|
36
|
-
throw new SeamHttpInvalidOptionsError('Missing apiKey');
|
|
37
|
-
}
|
|
38
|
-
return new SeamHttpUserIdentitiesEnrollmentAutomations(constructorOptions);
|
|
39
|
-
}
|
|
40
|
-
static fromClientSessionToken(clientSessionToken, options = {}) {
|
|
41
|
-
const constructorOptions = { ...options, clientSessionToken };
|
|
42
|
-
if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
|
|
43
|
-
throw new SeamHttpInvalidOptionsError('Missing clientSessionToken');
|
|
44
|
-
}
|
|
45
|
-
return new SeamHttpUserIdentitiesEnrollmentAutomations(constructorOptions);
|
|
46
|
-
}
|
|
47
|
-
static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
|
|
48
|
-
warnOnInsecureuserIdentifierKey(userIdentifierKey);
|
|
49
|
-
const clientOptions = parseOptions({ ...options, publishableKey });
|
|
50
|
-
if (isSeamHttpOptionsWithClient(clientOptions)) {
|
|
51
|
-
throw new SeamHttpInvalidOptionsError('The client option cannot be used with SeamHttpUserIdentitiesEnrollmentAutomations.fromPublishableKey');
|
|
52
|
-
}
|
|
53
|
-
const client = createClient(clientOptions);
|
|
54
|
-
const clientSessions = SeamHttpClientSessions.fromClient(client);
|
|
55
|
-
const { token } = await clientSessions.getOrCreate({
|
|
56
|
-
user_identifier_key: userIdentifierKey,
|
|
57
|
-
});
|
|
58
|
-
return SeamHttpUserIdentitiesEnrollmentAutomations.fromClientSessionToken(token, options);
|
|
59
|
-
}
|
|
60
|
-
static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
|
|
61
|
-
const constructorOptions = { ...options, consoleSessionToken, workspaceId };
|
|
62
|
-
if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
|
|
63
|
-
throw new SeamHttpInvalidOptionsError('Missing consoleSessionToken or workspaceId');
|
|
64
|
-
}
|
|
65
|
-
return new SeamHttpUserIdentitiesEnrollmentAutomations(constructorOptions);
|
|
66
|
-
}
|
|
67
|
-
static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
|
|
68
|
-
const constructorOptions = { ...options, personalAccessToken, workspaceId };
|
|
69
|
-
if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
|
|
70
|
-
throw new SeamHttpInvalidOptionsError('Missing personalAccessToken or workspaceId');
|
|
71
|
-
}
|
|
72
|
-
return new SeamHttpUserIdentitiesEnrollmentAutomations(constructorOptions);
|
|
73
|
-
}
|
|
74
|
-
createPaginator(request) {
|
|
75
|
-
return new SeamPaginator(this, request);
|
|
76
|
-
}
|
|
77
|
-
async updateClientSessionToken(clientSessionToken) {
|
|
78
|
-
const { headers } = this.client.defaults;
|
|
79
|
-
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
80
|
-
clientSessionToken,
|
|
81
|
-
});
|
|
82
|
-
for (const key of Object.keys(authHeaders)) {
|
|
83
|
-
if (headers[key] == null) {
|
|
84
|
-
throw new Error('Cannot update a clientSessionToken on a client created without a clientSessionToken');
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
this.client.defaults.headers = { ...headers, ...authHeaders };
|
|
88
|
-
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
89
|
-
await clientSessions.get();
|
|
90
|
-
}
|
|
91
|
-
delete(parameters, options = {}) {
|
|
92
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
93
|
-
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
94
|
-
}
|
|
95
|
-
return new SeamHttpRequest(this, {
|
|
96
|
-
pathname: '/user_identities/enrollment_automations/delete',
|
|
97
|
-
method: 'POST',
|
|
98
|
-
body: parameters,
|
|
99
|
-
responseKey: undefined,
|
|
100
|
-
options,
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
get(parameters, options = {}) {
|
|
104
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
105
|
-
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
106
|
-
}
|
|
107
|
-
return new SeamHttpRequest(this, {
|
|
108
|
-
pathname: '/user_identities/enrollment_automations/get',
|
|
109
|
-
method: 'POST',
|
|
110
|
-
body: parameters,
|
|
111
|
-
responseKey: 'enrollment_automation',
|
|
112
|
-
options,
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
launch(parameters, options = {}) {
|
|
116
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
117
|
-
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
118
|
-
}
|
|
119
|
-
return new SeamHttpRequest(this, {
|
|
120
|
-
pathname: '/user_identities/enrollment_automations/launch',
|
|
121
|
-
method: 'POST',
|
|
122
|
-
body: parameters,
|
|
123
|
-
responseKey: 'enrollment_automation',
|
|
124
|
-
options,
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
list(parameters, options = {}) {
|
|
128
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
129
|
-
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
130
|
-
}
|
|
131
|
-
return new SeamHttpRequest(this, {
|
|
132
|
-
pathname: '/user_identities/enrollment_automations/list',
|
|
133
|
-
method: 'POST',
|
|
134
|
-
body: parameters,
|
|
135
|
-
responseKey: 'enrollment_automations',
|
|
136
|
-
options,
|
|
137
|
-
});
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
//# sourceMappingURL=enrollment-automations.js.map
|
package/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"enrollment-automations.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,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;AAC1C,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,2CAA2C;IACtD,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,OAAO,CAAC,wBAAwB,EAAE,CAAC;YACtC,MAAM,IAAI,KAAK,CACb,8DAA8D,CAC/D,CAAA;QACH,CAAC;QACD,IAAI,CAAC,MAAM,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DAA8D,CAC/D,CAAA;QACH,CAAC;QACD,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,QAAQ,EAAE,6CAA6C;YACvD,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,uBAAuB;YACpC,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;IAED,MAAM,CACJ,UAA+D,EAC/D,UAA4D,EAAE;QAE9D,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,wBAAwB,EAAE,CAAC;YAC5C,MAAM,IAAI,KAAK,CACb,8DAA8D,CAC/D,CAAA;QACH,CAAC;QACD,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,QAAQ,EAAE,gDAAgD;YAC1D,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,uBAAuB;YACpC,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;IAED,IAAI,CACF,UAA6D,EAC7D,UAA0D,EAAE;QAE5D,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,wBAAwB,EAAE,CAAC;YAC5C,MAAM,IAAI,KAAK,CACb,8DAA8D,CAC/D,CAAA;QACH,CAAC;QACD,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,QAAQ,EAAE,8CAA8C;YACxD,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,wBAAwB;YACrC,OAAO;SACR,CAAC,CAAA;IACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './enrollment-automations.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/routes/user-identities/enrollment-automations/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,6BAA6B,CAAA"}
|
package/lib/seam/connect/routes/workspaces/customization-profiles/customization-profiles.d.ts
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect';
|
|
2
|
-
import { type Client } from '../../../../../../lib/seam/connect/client.js';
|
|
3
|
-
import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../../../../../lib/seam/connect/options.js';
|
|
4
|
-
import { SeamHttpRequest } from '../../../../../../lib/seam/connect/seam-http-request.js';
|
|
5
|
-
import { SeamPaginator } from '../../../../../../lib/seam/connect/seam-paginator.js';
|
|
6
|
-
export declare class SeamHttpWorkspacesCustomizationProfiles {
|
|
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'>): SeamHttpWorkspacesCustomizationProfiles;
|
|
13
|
-
static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpWorkspacesCustomizationProfiles;
|
|
14
|
-
static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpWorkspacesCustomizationProfiles;
|
|
15
|
-
static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpWorkspacesCustomizationProfiles>;
|
|
16
|
-
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpWorkspacesCustomizationProfiles;
|
|
17
|
-
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpWorkspacesCustomizationProfiles;
|
|
18
|
-
createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(request: SeamHttpRequest<TResponse, TResponseKey>): SeamPaginator<TResponse, TResponseKey>;
|
|
19
|
-
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
20
|
-
create(parameters?: WorkspacesCustomizationProfilesCreateParameters, options?: WorkspacesCustomizationProfilesCreateOptions): WorkspacesCustomizationProfilesCreateRequest;
|
|
21
|
-
get(parameters: WorkspacesCustomizationProfilesGetParameters, options?: WorkspacesCustomizationProfilesGetOptions): WorkspacesCustomizationProfilesGetRequest;
|
|
22
|
-
list(parameters?: WorkspacesCustomizationProfilesListParameters, options?: WorkspacesCustomizationProfilesListOptions): WorkspacesCustomizationProfilesListRequest;
|
|
23
|
-
update(parameters: WorkspacesCustomizationProfilesUpdateParameters, options?: WorkspacesCustomizationProfilesUpdateOptions): WorkspacesCustomizationProfilesUpdateRequest;
|
|
24
|
-
uploadImages(parameters?: WorkspacesCustomizationProfilesUploadImagesParameters, options?: WorkspacesCustomizationProfilesUploadImagesOptions): WorkspacesCustomizationProfilesUploadImagesRequest;
|
|
25
|
-
}
|
|
26
|
-
export type WorkspacesCustomizationProfilesCreateParameters = RouteRequestBody<'/workspaces/customization_profiles/create'>;
|
|
27
|
-
/**
|
|
28
|
-
* @deprecated Use WorkspacesCustomizationProfilesCreateParameters instead.
|
|
29
|
-
*/
|
|
30
|
-
export type WorkspacesCustomizationProfilesCreateBody = WorkspacesCustomizationProfilesCreateParameters;
|
|
31
|
-
/**
|
|
32
|
-
* @deprecated Use WorkspacesCustomizationProfilesCreateRequest instead.
|
|
33
|
-
*/
|
|
34
|
-
export type WorkspacesCustomizationProfilesCreateResponse = RouteResponse<'/workspaces/customization_profiles/create'>;
|
|
35
|
-
export type WorkspacesCustomizationProfilesCreateRequest = SeamHttpRequest<WorkspacesCustomizationProfilesCreateResponse, 'customization_profile'>;
|
|
36
|
-
export interface WorkspacesCustomizationProfilesCreateOptions {
|
|
37
|
-
}
|
|
38
|
-
export type WorkspacesCustomizationProfilesGetParameters = RouteRequestBody<'/workspaces/customization_profiles/get'>;
|
|
39
|
-
/**
|
|
40
|
-
* @deprecated Use WorkspacesCustomizationProfilesGetParameters instead.
|
|
41
|
-
*/
|
|
42
|
-
export type WorkspacesCustomizationProfilesGetParams = WorkspacesCustomizationProfilesGetParameters;
|
|
43
|
-
/**
|
|
44
|
-
* @deprecated Use WorkspacesCustomizationProfilesGetRequest instead.
|
|
45
|
-
*/
|
|
46
|
-
export type WorkspacesCustomizationProfilesGetResponse = RouteResponse<'/workspaces/customization_profiles/get'>;
|
|
47
|
-
export type WorkspacesCustomizationProfilesGetRequest = SeamHttpRequest<WorkspacesCustomizationProfilesGetResponse, 'customization_profile'>;
|
|
48
|
-
export interface WorkspacesCustomizationProfilesGetOptions {
|
|
49
|
-
}
|
|
50
|
-
export type WorkspacesCustomizationProfilesListParameters = RouteRequestBody<'/workspaces/customization_profiles/list'>;
|
|
51
|
-
/**
|
|
52
|
-
* @deprecated Use WorkspacesCustomizationProfilesListParameters instead.
|
|
53
|
-
*/
|
|
54
|
-
export type WorkspacesCustomizationProfilesListParams = WorkspacesCustomizationProfilesListParameters;
|
|
55
|
-
/**
|
|
56
|
-
* @deprecated Use WorkspacesCustomizationProfilesListRequest instead.
|
|
57
|
-
*/
|
|
58
|
-
export type WorkspacesCustomizationProfilesListResponse = RouteResponse<'/workspaces/customization_profiles/list'>;
|
|
59
|
-
export type WorkspacesCustomizationProfilesListRequest = SeamHttpRequest<WorkspacesCustomizationProfilesListResponse, 'customization_profiles'>;
|
|
60
|
-
export interface WorkspacesCustomizationProfilesListOptions {
|
|
61
|
-
}
|
|
62
|
-
export type WorkspacesCustomizationProfilesUpdateParameters = RouteRequestBody<'/workspaces/customization_profiles/update'>;
|
|
63
|
-
/**
|
|
64
|
-
* @deprecated Use WorkspacesCustomizationProfilesUpdateParameters instead.
|
|
65
|
-
*/
|
|
66
|
-
export type WorkspacesCustomizationProfilesUpdateBody = WorkspacesCustomizationProfilesUpdateParameters;
|
|
67
|
-
/**
|
|
68
|
-
* @deprecated Use WorkspacesCustomizationProfilesUpdateRequest instead.
|
|
69
|
-
*/
|
|
70
|
-
export type WorkspacesCustomizationProfilesUpdateResponse = RouteResponse<'/workspaces/customization_profiles/update'>;
|
|
71
|
-
export type WorkspacesCustomizationProfilesUpdateRequest = SeamHttpRequest<void, undefined>;
|
|
72
|
-
export interface WorkspacesCustomizationProfilesUpdateOptions {
|
|
73
|
-
}
|
|
74
|
-
export type WorkspacesCustomizationProfilesUploadImagesParameters = RouteRequestBody<'/workspaces/customization_profiles/upload_images'>;
|
|
75
|
-
/**
|
|
76
|
-
* @deprecated Use WorkspacesCustomizationProfilesUploadImagesParameters instead.
|
|
77
|
-
*/
|
|
78
|
-
export type WorkspacesCustomizationProfilesUploadImagesBody = WorkspacesCustomizationProfilesUploadImagesParameters;
|
|
79
|
-
/**
|
|
80
|
-
* @deprecated Use WorkspacesCustomizationProfilesUploadImagesRequest instead.
|
|
81
|
-
*/
|
|
82
|
-
export type WorkspacesCustomizationProfilesUploadImagesResponse = RouteResponse<'/workspaces/customization_profiles/upload_images'>;
|
|
83
|
-
export type WorkspacesCustomizationProfilesUploadImagesRequest = SeamHttpRequest<void, undefined>;
|
|
84
|
-
export interface WorkspacesCustomizationProfilesUploadImagesOptions {
|
|
85
|
-
}
|
|
@@ -1,152 +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 '../../../../../../lib/lts-version.js';
|
|
6
|
-
import { getAuthHeadersForClientSessionToken, warnOnInsecureuserIdentifierKey, } from '../../../../../../lib/seam/connect/auth.js';
|
|
7
|
-
import { createClient } from '../../../../../../lib/seam/connect/client.js';
|
|
8
|
-
import { isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, SeamHttpInvalidOptionsError, } from '../../../../../../lib/seam/connect/options.js';
|
|
9
|
-
import { limitToSeamHttpRequestOptions, parseOptions, } from '../../../../../../lib/seam/connect/parse-options.js';
|
|
10
|
-
import { SeamHttpClientSessions } from '../../../../../../lib/seam/connect/routes/client-sessions/index.js';
|
|
11
|
-
import { SeamHttpRequest } from '../../../../../../lib/seam/connect/seam-http-request.js';
|
|
12
|
-
import { SeamPaginator } from '../../../../../../lib/seam/connect/seam-paginator.js';
|
|
13
|
-
export class SeamHttpWorkspacesCustomizationProfiles {
|
|
14
|
-
client;
|
|
15
|
-
defaults;
|
|
16
|
-
ltsVersion = seamApiLtsVersion;
|
|
17
|
-
static ltsVersion = seamApiLtsVersion;
|
|
18
|
-
constructor(apiKeyOrOptions = {}) {
|
|
19
|
-
const options = parseOptions(apiKeyOrOptions);
|
|
20
|
-
if (!options.isUndocumentedApiEnabled) {
|
|
21
|
-
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
22
|
-
}
|
|
23
|
-
this.client = 'client' in options ? options.client : createClient(options);
|
|
24
|
-
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
25
|
-
}
|
|
26
|
-
static fromClient(client, options = {}) {
|
|
27
|
-
const constructorOptions = { ...options, client };
|
|
28
|
-
if (!isSeamHttpOptionsWithClient(constructorOptions)) {
|
|
29
|
-
throw new SeamHttpInvalidOptionsError('Missing client');
|
|
30
|
-
}
|
|
31
|
-
return new SeamHttpWorkspacesCustomizationProfiles(constructorOptions);
|
|
32
|
-
}
|
|
33
|
-
static fromApiKey(apiKey, options = {}) {
|
|
34
|
-
const constructorOptions = { ...options, apiKey };
|
|
35
|
-
if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
|
|
36
|
-
throw new SeamHttpInvalidOptionsError('Missing apiKey');
|
|
37
|
-
}
|
|
38
|
-
return new SeamHttpWorkspacesCustomizationProfiles(constructorOptions);
|
|
39
|
-
}
|
|
40
|
-
static fromClientSessionToken(clientSessionToken, options = {}) {
|
|
41
|
-
const constructorOptions = { ...options, clientSessionToken };
|
|
42
|
-
if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
|
|
43
|
-
throw new SeamHttpInvalidOptionsError('Missing clientSessionToken');
|
|
44
|
-
}
|
|
45
|
-
return new SeamHttpWorkspacesCustomizationProfiles(constructorOptions);
|
|
46
|
-
}
|
|
47
|
-
static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
|
|
48
|
-
warnOnInsecureuserIdentifierKey(userIdentifierKey);
|
|
49
|
-
const clientOptions = parseOptions({ ...options, publishableKey });
|
|
50
|
-
if (isSeamHttpOptionsWithClient(clientOptions)) {
|
|
51
|
-
throw new SeamHttpInvalidOptionsError('The client option cannot be used with SeamHttpWorkspacesCustomizationProfiles.fromPublishableKey');
|
|
52
|
-
}
|
|
53
|
-
const client = createClient(clientOptions);
|
|
54
|
-
const clientSessions = SeamHttpClientSessions.fromClient(client);
|
|
55
|
-
const { token } = await clientSessions.getOrCreate({
|
|
56
|
-
user_identifier_key: userIdentifierKey,
|
|
57
|
-
});
|
|
58
|
-
return SeamHttpWorkspacesCustomizationProfiles.fromClientSessionToken(token, options);
|
|
59
|
-
}
|
|
60
|
-
static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
|
|
61
|
-
const constructorOptions = { ...options, consoleSessionToken, workspaceId };
|
|
62
|
-
if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
|
|
63
|
-
throw new SeamHttpInvalidOptionsError('Missing consoleSessionToken or workspaceId');
|
|
64
|
-
}
|
|
65
|
-
return new SeamHttpWorkspacesCustomizationProfiles(constructorOptions);
|
|
66
|
-
}
|
|
67
|
-
static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
|
|
68
|
-
const constructorOptions = { ...options, personalAccessToken, workspaceId };
|
|
69
|
-
if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
|
|
70
|
-
throw new SeamHttpInvalidOptionsError('Missing personalAccessToken or workspaceId');
|
|
71
|
-
}
|
|
72
|
-
return new SeamHttpWorkspacesCustomizationProfiles(constructorOptions);
|
|
73
|
-
}
|
|
74
|
-
createPaginator(request) {
|
|
75
|
-
return new SeamPaginator(this, request);
|
|
76
|
-
}
|
|
77
|
-
async updateClientSessionToken(clientSessionToken) {
|
|
78
|
-
const { headers } = this.client.defaults;
|
|
79
|
-
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
80
|
-
clientSessionToken,
|
|
81
|
-
});
|
|
82
|
-
for (const key of Object.keys(authHeaders)) {
|
|
83
|
-
if (headers[key] == null) {
|
|
84
|
-
throw new Error('Cannot update a clientSessionToken on a client created without a clientSessionToken');
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
this.client.defaults.headers = { ...headers, ...authHeaders };
|
|
88
|
-
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
89
|
-
await clientSessions.get();
|
|
90
|
-
}
|
|
91
|
-
create(parameters, options = {}) {
|
|
92
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
93
|
-
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
94
|
-
}
|
|
95
|
-
return new SeamHttpRequest(this, {
|
|
96
|
-
pathname: '/workspaces/customization_profiles/create',
|
|
97
|
-
method: 'POST',
|
|
98
|
-
body: parameters,
|
|
99
|
-
responseKey: 'customization_profile',
|
|
100
|
-
options,
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
get(parameters, options = {}) {
|
|
104
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
105
|
-
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
106
|
-
}
|
|
107
|
-
return new SeamHttpRequest(this, {
|
|
108
|
-
pathname: '/workspaces/customization_profiles/get',
|
|
109
|
-
method: 'POST',
|
|
110
|
-
body: parameters,
|
|
111
|
-
responseKey: 'customization_profile',
|
|
112
|
-
options,
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
list(parameters, options = {}) {
|
|
116
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
117
|
-
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
118
|
-
}
|
|
119
|
-
return new SeamHttpRequest(this, {
|
|
120
|
-
pathname: '/workspaces/customization_profiles/list',
|
|
121
|
-
method: 'POST',
|
|
122
|
-
body: parameters,
|
|
123
|
-
responseKey: 'customization_profiles',
|
|
124
|
-
options,
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
update(parameters, options = {}) {
|
|
128
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
129
|
-
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
130
|
-
}
|
|
131
|
-
return new SeamHttpRequest(this, {
|
|
132
|
-
pathname: '/workspaces/customization_profiles/update',
|
|
133
|
-
method: 'PATCH',
|
|
134
|
-
body: parameters,
|
|
135
|
-
responseKey: undefined,
|
|
136
|
-
options,
|
|
137
|
-
});
|
|
138
|
-
}
|
|
139
|
-
uploadImages(parameters, options = {}) {
|
|
140
|
-
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
141
|
-
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
142
|
-
}
|
|
143
|
-
return new SeamHttpRequest(this, {
|
|
144
|
-
pathname: '/workspaces/customization_profiles/upload_images',
|
|
145
|
-
method: 'POST',
|
|
146
|
-
body: parameters,
|
|
147
|
-
responseKey: undefined,
|
|
148
|
-
options,
|
|
149
|
-
});
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
//# sourceMappingURL=customization-profiles.js.map
|
package/lib/seam/connect/routes/workspaces/customization-profiles/customization-profiles.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"customization-profiles.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/routes/workspaces/customization-profiles/customization-profiles.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,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;AAC1C,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,uCAAuC;IAClD,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,OAAO,CAAC,wBAAwB,EAAE,CAAC;YACtC,MAAM,IAAI,KAAK,CACb,8DAA8D,CAC/D,CAAA;QACH,CAAC;QACD,IAAI,CAAC,MAAM,G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