@seamapi/http 1.37.0 → 1.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +840 -639
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2612 -859
- package/lib/seam/connect/routes/access-codes/access-codes.d.ts +110 -30
- package/lib/seam/connect/routes/access-codes/access-codes.js +30 -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 +11 -3
- package/lib/seam/connect/routes/access-codes/simulate/simulate.js +3 -2
- package/lib/seam/connect/routes/access-codes/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.d.ts +55 -15
- package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js +15 -10
- package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/access-grants/access-grants.d.ts +55 -15
- package/lib/seam/connect/routes/access-grants/access-grants.js +15 -10
- package/lib/seam/connect/routes/access-grants/access-grants.js.map +1 -1
- package/lib/seam/connect/routes/access-methods/access-methods.d.ts +33 -9
- package/lib/seam/connect/routes/access-methods/access-methods.js +9 -6
- package/lib/seam/connect/routes/access-methods/access-methods.js.map +1 -1
- package/lib/seam/connect/routes/acs/access-groups/access-groups.d.ts +66 -18
- package/lib/seam/connect/routes/acs/access-groups/access-groups.js +18 -12
- package/lib/seam/connect/routes/acs/access-groups/access-groups.js.map +1 -1
- package/lib/seam/connect/routes/acs/access-groups/unmanaged/unmanaged.d.ts +22 -6
- package/lib/seam/connect/routes/acs/access-groups/unmanaged/unmanaged.js +6 -4
- package/lib/seam/connect/routes/acs/access-groups/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/acs/credential-pools/credential-pools.d.ts +11 -3
- package/lib/seam/connect/routes/acs/credential-pools/credential-pools.js +3 -2
- package/lib/seam/connect/routes/acs/credential-pools/credential-pools.js.map +1 -1
- package/lib/seam/connect/routes/acs/credential-provisioning-automations/credential-provisioning-automations.d.ts +11 -3
- package/lib/seam/connect/routes/acs/credential-provisioning-automations/credential-provisioning-automations.js +3 -2
- package/lib/seam/connect/routes/acs/credential-provisioning-automations/credential-provisioning-automations.js.map +1 -1
- package/lib/seam/connect/routes/acs/credentials/credentials.d.ts +99 -27
- package/lib/seam/connect/routes/acs/credentials/credentials.js +27 -18
- package/lib/seam/connect/routes/acs/credentials/credentials.js.map +1 -1
- package/lib/seam/connect/routes/acs/credentials/unmanaged/unmanaged.d.ts +22 -6
- package/lib/seam/connect/routes/acs/credentials/unmanaged/unmanaged.js +6 -4
- package/lib/seam/connect/routes/acs/credentials/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/acs/encoders/encoders.d.ts +52 -12
- package/lib/seam/connect/routes/acs/encoders/encoders.js +12 -10
- package/lib/seam/connect/routes/acs/encoders/encoders.js.map +1 -1
- package/lib/seam/connect/routes/acs/encoders/simulate/simulate.d.ts +44 -12
- package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js +12 -8
- package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/acs/entrances/entrances.d.ts +44 -12
- package/lib/seam/connect/routes/acs/entrances/entrances.js +12 -8
- package/lib/seam/connect/routes/acs/entrances/entrances.js.map +1 -1
- package/lib/seam/connect/routes/acs/systems/systems.d.ts +33 -9
- package/lib/seam/connect/routes/acs/systems/systems.js +9 -6
- package/lib/seam/connect/routes/acs/systems/systems.js.map +1 -1
- package/lib/seam/connect/routes/acs/users/unmanaged/unmanaged.d.ts +22 -6
- package/lib/seam/connect/routes/acs/users/unmanaged/unmanaged.js +6 -4
- package/lib/seam/connect/routes/acs/users/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/acs/users/users.d.ts +121 -33
- package/lib/seam/connect/routes/acs/users/users.js +33 -22
- package/lib/seam/connect/routes/acs/users/users.js.map +1 -1
- package/lib/seam/connect/routes/action-attempts/action-attempts.d.ts +21 -5
- package/lib/seam/connect/routes/action-attempts/action-attempts.js +5 -4
- package/lib/seam/connect/routes/action-attempts/action-attempts.js.map +1 -1
- package/lib/seam/connect/routes/bridges/bridges.d.ts +22 -6
- package/lib/seam/connect/routes/bridges/bridges.js +6 -4
- package/lib/seam/connect/routes/bridges/bridges.js.map +1 -1
- package/lib/seam/connect/routes/client-sessions/client-sessions.d.ts +77 -21
- package/lib/seam/connect/routes/client-sessions/client-sessions.js +21 -14
- package/lib/seam/connect/routes/client-sessions/client-sessions.js.map +1 -1
- package/lib/seam/connect/routes/connect-webviews/connect-webviews.d.ts +44 -12
- package/lib/seam/connect/routes/connect-webviews/connect-webviews.js +12 -8
- package/lib/seam/connect/routes/connect-webviews/connect-webviews.js.map +1 -1
- package/lib/seam/connect/routes/connected-accounts/connected-accounts.d.ts +55 -15
- package/lib/seam/connect/routes/connected-accounts/connected-accounts.js +15 -10
- package/lib/seam/connect/routes/connected-accounts/connected-accounts.js.map +1 -1
- package/lib/seam/connect/routes/devices/devices.d.ts +55 -15
- package/lib/seam/connect/routes/devices/devices.js +15 -10
- package/lib/seam/connect/routes/devices/devices.js.map +1 -1
- package/lib/seam/connect/routes/devices/simulate/simulate.d.ts +33 -9
- package/lib/seam/connect/routes/devices/simulate/simulate.js +9 -6
- package/lib/seam/connect/routes/devices/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/devices/unmanaged/unmanaged.d.ts +33 -9
- package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js +9 -6
- package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/events/events.d.ts +22 -6
- package/lib/seam/connect/routes/events/events.js +6 -4
- package/lib/seam/connect/routes/events/events.js.map +1 -1
- package/lib/seam/connect/routes/locks/locks.d.ts +42 -10
- package/lib/seam/connect/routes/locks/locks.js +10 -8
- package/lib/seam/connect/routes/locks/locks.js.map +1 -1
- package/lib/seam/connect/routes/locks/simulate/simulate.d.ts +20 -4
- package/lib/seam/connect/routes/locks/simulate/simulate.js +4 -4
- package/lib/seam/connect/routes/locks/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/networks/networks.d.ts +22 -6
- package/lib/seam/connect/routes/networks/networks.js +6 -4
- package/lib/seam/connect/routes/networks/networks.js.map +1 -1
- package/lib/seam/connect/routes/noise-sensors/noise-sensors.d.ts +11 -3
- package/lib/seam/connect/routes/noise-sensors/noise-sensors.js +3 -2
- package/lib/seam/connect/routes/noise-sensors/noise-sensors.js.map +1 -1
- package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.d.ts +55 -15
- package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js +15 -10
- package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js.map +1 -1
- package/lib/seam/connect/routes/noise-sensors/simulate/simulate.d.ts +11 -3
- package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js +3 -2
- package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/phones/phones.d.ts +33 -9
- package/lib/seam/connect/routes/phones/phones.js +9 -6
- package/lib/seam/connect/routes/phones/phones.js.map +1 -1
- package/lib/seam/connect/routes/phones/simulate/simulate.d.ts +11 -3
- package/lib/seam/connect/routes/phones/simulate/simulate.js +3 -2
- package/lib/seam/connect/routes/phones/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/seam/bridge/v1/bridge-client-sessions/bridge-client-sessions.d.ts +55 -15
- package/lib/seam/connect/routes/seam/bridge/v1/bridge-client-sessions/bridge-client-sessions.js +15 -10
- package/lib/seam/connect/routes/seam/bridge/v1/bridge-client-sessions/bridge-client-sessions.js.map +1 -1
- package/lib/seam/connect/routes/seam/bridge/v1/bridge-connected-systems/bridge-connected-systems.d.ts +11 -3
- package/lib/seam/connect/routes/seam/bridge/v1/bridge-connected-systems/bridge-connected-systems.js +3 -2
- package/lib/seam/connect/routes/seam/bridge/v1/bridge-connected-systems/bridge-connected-systems.js.map +1 -1
- package/lib/seam/connect/routes/seam/instant-key/v1/client-sessions/client-sessions.d.ts +11 -3
- package/lib/seam/connect/routes/seam/instant-key/v1/client-sessions/client-sessions.js +3 -2
- package/lib/seam/connect/routes/seam/instant-key/v1/client-sessions/client-sessions.js.map +1 -1
- package/lib/seam/connect/routes/seam/mobile-sdk/v1/acs/credentials/credentials.d.ts +11 -3
- package/lib/seam/connect/routes/seam/mobile-sdk/v1/acs/credentials/credentials.js +3 -2
- package/lib/seam/connect/routes/seam/mobile-sdk/v1/acs/credentials/credentials.js.map +1 -1
- package/lib/seam/connect/routes/seam/mobile-sdk/v1/phone-sessions/phone-sessions.d.ts +11 -3
- package/lib/seam/connect/routes/seam/mobile-sdk/v1/phone-sessions/phone-sessions.js +3 -2
- package/lib/seam/connect/routes/seam/mobile-sdk/v1/phone-sessions/phone-sessions.js.map +1 -1
- package/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.d.ts +11 -3
- package/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.js +3 -2
- package/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.js.map +1 -1
- package/lib/seam/connect/routes/seam/partner/v1/resources/resources.d.ts +11 -3
- package/lib/seam/connect/routes/seam/partner/v1/resources/resources.js +3 -2
- package/lib/seam/connect/routes/seam/partner/v1/resources/resources.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +275 -274
- package/lib/seam/connect/routes/seam-http-endpoints.js +55 -55
- package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
- package/lib/seam/connect/routes/spaces/spaces.d.ts +99 -27
- package/lib/seam/connect/routes/spaces/spaces.js +27 -18
- package/lib/seam/connect/routes/spaces/spaces.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.d.ts +32 -8
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js +8 -6
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/schedules/schedules.d.ts +55 -15
- package/lib/seam/connect/routes/thermostats/schedules/schedules.js +15 -10
- package/lib/seam/connect/routes/thermostats/schedules/schedules.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/simulate/simulate.d.ts +22 -6
- package/lib/seam/connect/routes/thermostats/simulate/simulate.js +6 -4
- package/lib/seam/connect/routes/thermostats/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/thermostats.d.ts +157 -37
- package/lib/seam/connect/routes/thermostats/thermostats.js +37 -30
- package/lib/seam/connect/routes/thermostats/thermostats.js.map +1 -1
- package/lib/seam/connect/routes/unstable-access-grants/unstable-access-grants.d.ts +44 -12
- package/lib/seam/connect/routes/unstable-access-grants/unstable-access-grants.js +12 -8
- package/lib/seam/connect/routes/unstable-access-grants/unstable-access-grants.js.map +1 -1
- package/lib/seam/connect/routes/unstable-access-methods/unstable-access-methods.d.ts +33 -9
- package/lib/seam/connect/routes/unstable-access-methods/unstable-access-methods.js +9 -6
- package/lib/seam/connect/routes/unstable-access-methods/unstable-access-methods.js.map +1 -1
- package/lib/seam/connect/routes/unstable-locations/unstable-locations.d.ts +99 -27
- package/lib/seam/connect/routes/unstable-locations/unstable-locations.js +27 -18
- package/lib/seam/connect/routes/unstable-locations/unstable-locations.js.map +1 -1
- package/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.d.ts +44 -12
- package/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.js +12 -8
- package/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.js.map +1 -1
- package/lib/seam/connect/routes/unstable-partner/resources/resources.d.ts +11 -3
- package/lib/seam/connect/routes/unstable-partner/resources/resources.js +3 -2
- package/lib/seam/connect/routes/unstable-partner/resources/resources.js.map +1 -1
- package/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.d.ts +44 -12
- package/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.js +12 -8
- package/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.js.map +1 -1
- package/lib/seam/connect/routes/user-identities/user-identities.d.ts +143 -39
- package/lib/seam/connect/routes/user-identities/user-identities.js +39 -26
- package/lib/seam/connect/routes/user-identities/user-identities.js.map +1 -1
- package/lib/seam/connect/routes/webhooks/webhooks.d.ts +55 -15
- package/lib/seam/connect/routes/webhooks/webhooks.js +15 -10
- package/lib/seam/connect/routes/webhooks/webhooks.js.map +1 -1
- package/lib/seam/connect/routes/workspaces/workspaces.d.ts +54 -14
- package/lib/seam/connect/routes/workspaces/workspaces.js +14 -10
- package/lib/seam/connect/routes/workspaces/workspaces.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/routes/access-codes/access-codes.ts +198 -48
- package/src/lib/seam/connect/routes/access-codes/simulate/simulate.ts +25 -8
- package/src/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.ts +97 -25
- package/src/lib/seam/connect/routes/access-grants/access-grants.ts +99 -23
- package/src/lib/seam/connect/routes/access-methods/access-methods.ts +59 -14
- package/src/lib/seam/connect/routes/acs/access-groups/access-groups.ts +120 -32
- package/src/lib/seam/connect/routes/acs/access-groups/unmanaged/unmanaged.ts +42 -13
- package/src/lib/seam/connect/routes/acs/credential-pools/credential-pools.ts +20 -5
- package/src/lib/seam/connect/routes/acs/credential-provisioning-automations/credential-provisioning-automations.ts +24 -8
- package/src/lib/seam/connect/routes/acs/credentials/credentials.ts +173 -49
- package/src/lib/seam/connect/routes/acs/credentials/unmanaged/unmanaged.ts +42 -10
- package/src/lib/seam/connect/routes/acs/encoders/encoders.ts +93 -22
- package/src/lib/seam/connect/routes/acs/encoders/simulate/simulate.ts +88 -20
- package/src/lib/seam/connect/routes/acs/entrances/entrances.ts +78 -23
- package/src/lib/seam/connect/routes/acs/systems/systems.ts +65 -18
- package/src/lib/seam/connect/routes/acs/users/unmanaged/unmanaged.ts +40 -10
- package/src/lib/seam/connect/routes/acs/users/users.ts +213 -51
- package/src/lib/seam/connect/routes/action-attempts/action-attempts.ts +39 -9
- package/src/lib/seam/connect/routes/bridges/bridges.ts +34 -10
- package/src/lib/seam/connect/routes/client-sessions/client-sessions.ts +134 -34
- package/src/lib/seam/connect/routes/connect-webviews/connect-webviews.ts +78 -20
- package/src/lib/seam/connect/routes/connected-accounts/connected-accounts.ts +93 -23
- package/src/lib/seam/connect/routes/devices/devices.ts +91 -23
- package/src/lib/seam/connect/routes/devices/simulate/simulate.ts +52 -14
- package/src/lib/seam/connect/routes/devices/unmanaged/unmanaged.ts +58 -14
- package/src/lib/seam/connect/routes/events/events.ts +35 -9
- package/src/lib/seam/connect/routes/locks/locks.ts +69 -17
- package/src/lib/seam/connect/routes/locks/simulate/simulate.ts +36 -11
- package/src/lib/seam/connect/routes/networks/networks.ts +37 -10
- package/src/lib/seam/connect/routes/noise-sensors/noise-sensors.ts +20 -5
- package/src/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.ts +105 -34
- package/src/lib/seam/connect/routes/noise-sensors/simulate/simulate.ts +24 -5
- package/src/lib/seam/connect/routes/phones/phones.ts +52 -14
- package/src/lib/seam/connect/routes/phones/simulate/simulate.ts +21 -5
- package/src/lib/seam/connect/routes/seam/bridge/v1/bridge-client-sessions/bridge-client-sessions.ts +113 -37
- package/src/lib/seam/connect/routes/seam/bridge/v1/bridge-connected-systems/bridge-connected-systems.ts +24 -8
- package/src/lib/seam/connect/routes/seam/instant-key/v1/client-sessions/client-sessions.ts +25 -8
- package/src/lib/seam/connect/routes/seam/mobile-sdk/v1/acs/credentials/credentials.ts +21 -8
- package/src/lib/seam/connect/routes/seam/mobile-sdk/v1/phone-sessions/phone-sessions.ts +24 -8
- package/src/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.ts +24 -8
- package/src/lib/seam/connect/routes/seam/partner/v1/resources/resources.ts +21 -5
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +1919 -274
- package/src/lib/seam/connect/routes/spaces/spaces.ts +156 -42
- package/src/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.ts +60 -17
- package/src/lib/seam/connect/routes/thermostats/schedules/schedules.ts +97 -28
- package/src/lib/seam/connect/routes/thermostats/simulate/simulate.ts +42 -10
- package/src/lib/seam/connect/routes/thermostats/thermostats.ts +284 -70
- package/src/lib/seam/connect/routes/unstable-access-grants/unstable-access-grants.ts +79 -20
- package/src/lib/seam/connect/routes/unstable-access-methods/unstable-access-methods.ts +62 -15
- package/src/lib/seam/connect/routes/unstable-locations/unstable-locations.ts +181 -45
- package/src/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.ts +99 -32
- package/src/lib/seam/connect/routes/unstable-partner/resources/resources.ts +21 -5
- package/src/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.ts +96 -29
- package/src/lib/seam/connect/routes/user-identities/user-identities.ts +261 -64
- package/src/lib/seam/connect/routes/webhooks/webhooks.ts +93 -23
- package/src/lib/seam/connect/routes/workspaces/workspaces.ts +95 -23
- package/src/lib/version.ts +1 -1
package/dist/connect.cjs
CHANGED
|
@@ -927,60 +927,67 @@ var _SeamHttpClientSessions = class _SeamHttpClientSessions {
|
|
|
927
927
|
const clientSessions = _SeamHttpClientSessions.fromClient(this.client);
|
|
928
928
|
await clientSessions.get();
|
|
929
929
|
}
|
|
930
|
-
create(
|
|
930
|
+
create(parameters, options = {}) {
|
|
931
931
|
return new SeamHttpRequest(this, {
|
|
932
932
|
pathname: "/client_sessions/create",
|
|
933
933
|
method: "PUT",
|
|
934
|
-
body,
|
|
935
|
-
responseKey: "client_session"
|
|
934
|
+
body: parameters,
|
|
935
|
+
responseKey: "client_session",
|
|
936
|
+
options
|
|
936
937
|
});
|
|
937
938
|
}
|
|
938
|
-
delete(
|
|
939
|
+
delete(parameters, options = {}) {
|
|
939
940
|
return new SeamHttpRequest(this, {
|
|
940
941
|
pathname: "/client_sessions/delete",
|
|
941
942
|
method: "POST",
|
|
942
|
-
body:
|
|
943
|
-
responseKey: void 0
|
|
943
|
+
body: parameters,
|
|
944
|
+
responseKey: void 0,
|
|
945
|
+
options
|
|
944
946
|
});
|
|
945
947
|
}
|
|
946
|
-
get(
|
|
948
|
+
get(parameters, options = {}) {
|
|
947
949
|
return new SeamHttpRequest(this, {
|
|
948
950
|
pathname: "/client_sessions/get",
|
|
949
951
|
method: "POST",
|
|
950
|
-
body:
|
|
951
|
-
responseKey: "client_session"
|
|
952
|
+
body: parameters,
|
|
953
|
+
responseKey: "client_session",
|
|
954
|
+
options
|
|
952
955
|
});
|
|
953
956
|
}
|
|
954
|
-
getOrCreate(
|
|
957
|
+
getOrCreate(parameters, options = {}) {
|
|
955
958
|
return new SeamHttpRequest(this, {
|
|
956
959
|
pathname: "/client_sessions/get_or_create",
|
|
957
960
|
method: "POST",
|
|
958
|
-
body,
|
|
959
|
-
responseKey: "client_session"
|
|
961
|
+
body: parameters,
|
|
962
|
+
responseKey: "client_session",
|
|
963
|
+
options
|
|
960
964
|
});
|
|
961
965
|
}
|
|
962
|
-
grantAccess(
|
|
966
|
+
grantAccess(parameters, options = {}) {
|
|
963
967
|
return new SeamHttpRequest(this, {
|
|
964
968
|
pathname: "/client_sessions/grant_access",
|
|
965
969
|
method: "PATCH",
|
|
966
|
-
body,
|
|
967
|
-
responseKey: void 0
|
|
970
|
+
body: parameters,
|
|
971
|
+
responseKey: void 0,
|
|
972
|
+
options
|
|
968
973
|
});
|
|
969
974
|
}
|
|
970
|
-
list(
|
|
975
|
+
list(parameters, options = {}) {
|
|
971
976
|
return new SeamHttpRequest(this, {
|
|
972
977
|
pathname: "/client_sessions/list",
|
|
973
978
|
method: "POST",
|
|
974
|
-
body:
|
|
975
|
-
responseKey: "client_sessions"
|
|
979
|
+
body: parameters,
|
|
980
|
+
responseKey: "client_sessions",
|
|
981
|
+
options
|
|
976
982
|
});
|
|
977
983
|
}
|
|
978
|
-
revoke(
|
|
984
|
+
revoke(parameters, options = {}) {
|
|
979
985
|
return new SeamHttpRequest(this, {
|
|
980
986
|
pathname: "/client_sessions/revoke",
|
|
981
987
|
method: "POST",
|
|
982
|
-
body,
|
|
983
|
-
responseKey: void 0
|
|
988
|
+
body: parameters,
|
|
989
|
+
responseKey: void 0,
|
|
990
|
+
options
|
|
984
991
|
});
|
|
985
992
|
}
|
|
986
993
|
};
|
|
@@ -1068,12 +1075,13 @@ var _SeamHttpAccessCodesSimulate = class _SeamHttpAccessCodesSimulate {
|
|
|
1068
1075
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
1069
1076
|
await clientSessions.get();
|
|
1070
1077
|
}
|
|
1071
|
-
createUnmanagedAccessCode(
|
|
1078
|
+
createUnmanagedAccessCode(parameters, options = {}) {
|
|
1072
1079
|
return new SeamHttpRequest(this, {
|
|
1073
1080
|
pathname: "/access_codes/simulate/create_unmanaged_access_code",
|
|
1074
1081
|
method: "POST",
|
|
1075
|
-
body,
|
|
1076
|
-
responseKey: "access_code"
|
|
1082
|
+
body: parameters,
|
|
1083
|
+
responseKey: "access_code",
|
|
1084
|
+
options
|
|
1077
1085
|
});
|
|
1078
1086
|
}
|
|
1079
1087
|
};
|
|
@@ -1161,44 +1169,49 @@ var _SeamHttpAccessCodesUnmanaged = class _SeamHttpAccessCodesUnmanaged {
|
|
|
1161
1169
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
1162
1170
|
await clientSessions.get();
|
|
1163
1171
|
}
|
|
1164
|
-
convertToManaged(
|
|
1172
|
+
convertToManaged(parameters, options = {}) {
|
|
1165
1173
|
return new SeamHttpRequest(this, {
|
|
1166
1174
|
pathname: "/access_codes/unmanaged/convert_to_managed",
|
|
1167
1175
|
method: "PATCH",
|
|
1168
|
-
body,
|
|
1169
|
-
responseKey: void 0
|
|
1176
|
+
body: parameters,
|
|
1177
|
+
responseKey: void 0,
|
|
1178
|
+
options
|
|
1170
1179
|
});
|
|
1171
1180
|
}
|
|
1172
|
-
delete(
|
|
1181
|
+
delete(parameters, options = {}) {
|
|
1173
1182
|
return new SeamHttpRequest(this, {
|
|
1174
1183
|
pathname: "/access_codes/unmanaged/delete",
|
|
1175
1184
|
method: "POST",
|
|
1176
|
-
body:
|
|
1177
|
-
responseKey: void 0
|
|
1185
|
+
body: parameters,
|
|
1186
|
+
responseKey: void 0,
|
|
1187
|
+
options
|
|
1178
1188
|
});
|
|
1179
1189
|
}
|
|
1180
|
-
get(
|
|
1190
|
+
get(parameters, options = {}) {
|
|
1181
1191
|
return new SeamHttpRequest(this, {
|
|
1182
1192
|
pathname: "/access_codes/unmanaged/get",
|
|
1183
1193
|
method: "POST",
|
|
1184
|
-
body:
|
|
1185
|
-
responseKey: "access_code"
|
|
1194
|
+
body: parameters,
|
|
1195
|
+
responseKey: "access_code",
|
|
1196
|
+
options
|
|
1186
1197
|
});
|
|
1187
1198
|
}
|
|
1188
|
-
list(
|
|
1199
|
+
list(parameters, options = {}) {
|
|
1189
1200
|
return new SeamHttpRequest(this, {
|
|
1190
1201
|
pathname: "/access_codes/unmanaged/list",
|
|
1191
1202
|
method: "POST",
|
|
1192
|
-
body:
|
|
1193
|
-
responseKey: "access_codes"
|
|
1203
|
+
body: parameters,
|
|
1204
|
+
responseKey: "access_codes",
|
|
1205
|
+
options
|
|
1194
1206
|
});
|
|
1195
1207
|
}
|
|
1196
|
-
update(
|
|
1208
|
+
update(parameters, options = {}) {
|
|
1197
1209
|
return new SeamHttpRequest(this, {
|
|
1198
1210
|
pathname: "/access_codes/unmanaged/update",
|
|
1199
1211
|
method: "PATCH",
|
|
1200
|
-
body,
|
|
1201
|
-
responseKey: void 0
|
|
1212
|
+
body: parameters,
|
|
1213
|
+
responseKey: void 0,
|
|
1214
|
+
options
|
|
1202
1215
|
});
|
|
1203
1216
|
}
|
|
1204
1217
|
};
|
|
@@ -1292,84 +1305,94 @@ var _SeamHttpAccessCodes = class _SeamHttpAccessCodes {
|
|
|
1292
1305
|
get unmanaged() {
|
|
1293
1306
|
return SeamHttpAccessCodesUnmanaged.fromClient(this.client, this.defaults);
|
|
1294
1307
|
}
|
|
1295
|
-
create(
|
|
1308
|
+
create(parameters, options = {}) {
|
|
1296
1309
|
return new SeamHttpRequest(this, {
|
|
1297
1310
|
pathname: "/access_codes/create",
|
|
1298
1311
|
method: "POST",
|
|
1299
|
-
body,
|
|
1300
|
-
responseKey: "access_code"
|
|
1312
|
+
body: parameters,
|
|
1313
|
+
responseKey: "access_code",
|
|
1314
|
+
options
|
|
1301
1315
|
});
|
|
1302
1316
|
}
|
|
1303
|
-
createMultiple(
|
|
1317
|
+
createMultiple(parameters, options = {}) {
|
|
1304
1318
|
return new SeamHttpRequest(this, {
|
|
1305
1319
|
pathname: "/access_codes/create_multiple",
|
|
1306
1320
|
method: "PUT",
|
|
1307
|
-
body,
|
|
1308
|
-
responseKey: "access_codes"
|
|
1321
|
+
body: parameters,
|
|
1322
|
+
responseKey: "access_codes",
|
|
1323
|
+
options
|
|
1309
1324
|
});
|
|
1310
1325
|
}
|
|
1311
|
-
delete(
|
|
1326
|
+
delete(parameters, options = {}) {
|
|
1312
1327
|
return new SeamHttpRequest(this, {
|
|
1313
1328
|
pathname: "/access_codes/delete",
|
|
1314
1329
|
method: "POST",
|
|
1315
|
-
body:
|
|
1316
|
-
responseKey: void 0
|
|
1330
|
+
body: parameters,
|
|
1331
|
+
responseKey: void 0,
|
|
1332
|
+
options
|
|
1317
1333
|
});
|
|
1318
1334
|
}
|
|
1319
|
-
generateCode(
|
|
1335
|
+
generateCode(parameters, options = {}) {
|
|
1320
1336
|
return new SeamHttpRequest(this, {
|
|
1321
1337
|
pathname: "/access_codes/generate_code",
|
|
1322
1338
|
method: "POST",
|
|
1323
|
-
body:
|
|
1324
|
-
responseKey: "generated_code"
|
|
1339
|
+
body: parameters,
|
|
1340
|
+
responseKey: "generated_code",
|
|
1341
|
+
options
|
|
1325
1342
|
});
|
|
1326
1343
|
}
|
|
1327
|
-
get(
|
|
1344
|
+
get(parameters, options = {}) {
|
|
1328
1345
|
return new SeamHttpRequest(this, {
|
|
1329
1346
|
pathname: "/access_codes/get",
|
|
1330
1347
|
method: "POST",
|
|
1331
|
-
body:
|
|
1332
|
-
responseKey: "access_code"
|
|
1348
|
+
body: parameters,
|
|
1349
|
+
responseKey: "access_code",
|
|
1350
|
+
options
|
|
1333
1351
|
});
|
|
1334
1352
|
}
|
|
1335
|
-
list(
|
|
1353
|
+
list(parameters, options = {}) {
|
|
1336
1354
|
return new SeamHttpRequest(this, {
|
|
1337
1355
|
pathname: "/access_codes/list",
|
|
1338
1356
|
method: "POST",
|
|
1339
|
-
body:
|
|
1340
|
-
responseKey: "access_codes"
|
|
1357
|
+
body: parameters,
|
|
1358
|
+
responseKey: "access_codes",
|
|
1359
|
+
options
|
|
1341
1360
|
});
|
|
1342
1361
|
}
|
|
1343
|
-
pullBackupAccessCode(
|
|
1362
|
+
pullBackupAccessCode(parameters, options = {}) {
|
|
1344
1363
|
return new SeamHttpRequest(this, {
|
|
1345
1364
|
pathname: "/access_codes/pull_backup_access_code",
|
|
1346
1365
|
method: "POST",
|
|
1347
|
-
body,
|
|
1348
|
-
responseKey: "access_code"
|
|
1366
|
+
body: parameters,
|
|
1367
|
+
responseKey: "access_code",
|
|
1368
|
+
options
|
|
1349
1369
|
});
|
|
1350
1370
|
}
|
|
1351
|
-
reportDeviceConstraints(
|
|
1371
|
+
reportDeviceConstraints(parameters, options = {}) {
|
|
1352
1372
|
return new SeamHttpRequest(this, {
|
|
1353
1373
|
pathname: "/access_codes/report_device_constraints",
|
|
1354
1374
|
method: "POST",
|
|
1355
|
-
body,
|
|
1356
|
-
responseKey: void 0
|
|
1375
|
+
body: parameters,
|
|
1376
|
+
responseKey: void 0,
|
|
1377
|
+
options
|
|
1357
1378
|
});
|
|
1358
1379
|
}
|
|
1359
|
-
update(
|
|
1380
|
+
update(parameters, options = {}) {
|
|
1360
1381
|
return new SeamHttpRequest(this, {
|
|
1361
1382
|
pathname: "/access_codes/update",
|
|
1362
1383
|
method: "PUT",
|
|
1363
|
-
body,
|
|
1364
|
-
responseKey: void 0
|
|
1384
|
+
body: parameters,
|
|
1385
|
+
responseKey: void 0,
|
|
1386
|
+
options
|
|
1365
1387
|
});
|
|
1366
1388
|
}
|
|
1367
|
-
updateMultiple(
|
|
1389
|
+
updateMultiple(parameters, options = {}) {
|
|
1368
1390
|
return new SeamHttpRequest(this, {
|
|
1369
1391
|
pathname: "/access_codes/update_multiple",
|
|
1370
1392
|
method: "PATCH",
|
|
1371
|
-
body,
|
|
1372
|
-
responseKey: void 0
|
|
1393
|
+
body: parameters,
|
|
1394
|
+
responseKey: void 0,
|
|
1395
|
+
options
|
|
1373
1396
|
});
|
|
1374
1397
|
}
|
|
1375
1398
|
};
|
|
@@ -1457,44 +1480,49 @@ var _SeamHttpAccessGrants = class _SeamHttpAccessGrants {
|
|
|
1457
1480
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
1458
1481
|
await clientSessions.get();
|
|
1459
1482
|
}
|
|
1460
|
-
create(
|
|
1483
|
+
create(parameters, options = {}) {
|
|
1461
1484
|
return new SeamHttpRequest(this, {
|
|
1462
1485
|
pathname: "/access_grants/create",
|
|
1463
1486
|
method: "POST",
|
|
1464
|
-
body,
|
|
1465
|
-
responseKey: "access_grant"
|
|
1487
|
+
body: parameters,
|
|
1488
|
+
responseKey: "access_grant",
|
|
1489
|
+
options
|
|
1466
1490
|
});
|
|
1467
1491
|
}
|
|
1468
|
-
delete(
|
|
1492
|
+
delete(parameters, options = {}) {
|
|
1469
1493
|
return new SeamHttpRequest(this, {
|
|
1470
1494
|
pathname: "/access_grants/delete",
|
|
1471
1495
|
method: "POST",
|
|
1472
|
-
body:
|
|
1473
|
-
responseKey: void 0
|
|
1496
|
+
body: parameters,
|
|
1497
|
+
responseKey: void 0,
|
|
1498
|
+
options
|
|
1474
1499
|
});
|
|
1475
1500
|
}
|
|
1476
|
-
get(
|
|
1501
|
+
get(parameters, options = {}) {
|
|
1477
1502
|
return new SeamHttpRequest(this, {
|
|
1478
1503
|
pathname: "/access_grants/get",
|
|
1479
1504
|
method: "POST",
|
|
1480
|
-
body:
|
|
1481
|
-
responseKey: "access_grant"
|
|
1505
|
+
body: parameters,
|
|
1506
|
+
responseKey: "access_grant",
|
|
1507
|
+
options
|
|
1482
1508
|
});
|
|
1483
1509
|
}
|
|
1484
|
-
list(
|
|
1510
|
+
list(parameters, options = {}) {
|
|
1485
1511
|
return new SeamHttpRequest(this, {
|
|
1486
1512
|
pathname: "/access_grants/list",
|
|
1487
1513
|
method: "POST",
|
|
1488
|
-
body:
|
|
1489
|
-
responseKey: "access_grants"
|
|
1514
|
+
body: parameters,
|
|
1515
|
+
responseKey: "access_grants",
|
|
1516
|
+
options
|
|
1490
1517
|
});
|
|
1491
1518
|
}
|
|
1492
|
-
update(
|
|
1519
|
+
update(parameters, options = {}) {
|
|
1493
1520
|
return new SeamHttpRequest(this, {
|
|
1494
1521
|
pathname: "/access_grants/update",
|
|
1495
1522
|
method: "PATCH",
|
|
1496
|
-
body,
|
|
1497
|
-
responseKey: void 0
|
|
1523
|
+
body: parameters,
|
|
1524
|
+
responseKey: void 0,
|
|
1525
|
+
options
|
|
1498
1526
|
});
|
|
1499
1527
|
}
|
|
1500
1528
|
};
|
|
@@ -1582,28 +1610,31 @@ var _SeamHttpAccessMethods = class _SeamHttpAccessMethods {
|
|
|
1582
1610
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
1583
1611
|
await clientSessions.get();
|
|
1584
1612
|
}
|
|
1585
|
-
delete(
|
|
1613
|
+
delete(parameters, options = {}) {
|
|
1586
1614
|
return new SeamHttpRequest(this, {
|
|
1587
1615
|
pathname: "/access_methods/delete",
|
|
1588
1616
|
method: "POST",
|
|
1589
|
-
body:
|
|
1590
|
-
responseKey: void 0
|
|
1617
|
+
body: parameters,
|
|
1618
|
+
responseKey: void 0,
|
|
1619
|
+
options
|
|
1591
1620
|
});
|
|
1592
1621
|
}
|
|
1593
|
-
get(
|
|
1622
|
+
get(parameters, options = {}) {
|
|
1594
1623
|
return new SeamHttpRequest(this, {
|
|
1595
1624
|
pathname: "/access_methods/get",
|
|
1596
1625
|
method: "POST",
|
|
1597
|
-
body:
|
|
1598
|
-
responseKey: "access_method"
|
|
1626
|
+
body: parameters,
|
|
1627
|
+
responseKey: "access_method",
|
|
1628
|
+
options
|
|
1599
1629
|
});
|
|
1600
1630
|
}
|
|
1601
|
-
list(
|
|
1631
|
+
list(parameters, options = {}) {
|
|
1602
1632
|
return new SeamHttpRequest(this, {
|
|
1603
1633
|
pathname: "/access_methods/list",
|
|
1604
1634
|
method: "POST",
|
|
1605
|
-
body:
|
|
1606
|
-
responseKey: "access_methods"
|
|
1635
|
+
body: parameters,
|
|
1636
|
+
responseKey: "access_methods",
|
|
1637
|
+
options
|
|
1607
1638
|
});
|
|
1608
1639
|
}
|
|
1609
1640
|
};
|
|
@@ -1699,7 +1730,7 @@ var _SeamHttpAcsAccessGroupsUnmanaged = class _SeamHttpAcsAccessGroupsUnmanaged
|
|
|
1699
1730
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
1700
1731
|
await clientSessions.get();
|
|
1701
1732
|
}
|
|
1702
|
-
get(
|
|
1733
|
+
get(parameters, options = {}) {
|
|
1703
1734
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
1704
1735
|
throw new Error(
|
|
1705
1736
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -1708,11 +1739,12 @@ var _SeamHttpAcsAccessGroupsUnmanaged = class _SeamHttpAcsAccessGroupsUnmanaged
|
|
|
1708
1739
|
return new SeamHttpRequest(this, {
|
|
1709
1740
|
pathname: "/acs/access_groups/unmanaged/get",
|
|
1710
1741
|
method: "POST",
|
|
1711
|
-
body:
|
|
1712
|
-
responseKey: "acs_access_group"
|
|
1742
|
+
body: parameters,
|
|
1743
|
+
responseKey: "acs_access_group",
|
|
1744
|
+
options
|
|
1713
1745
|
});
|
|
1714
1746
|
}
|
|
1715
|
-
list(
|
|
1747
|
+
list(parameters, options = {}) {
|
|
1716
1748
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
1717
1749
|
throw new Error(
|
|
1718
1750
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -1721,8 +1753,9 @@ var _SeamHttpAcsAccessGroupsUnmanaged = class _SeamHttpAcsAccessGroupsUnmanaged
|
|
|
1721
1753
|
return new SeamHttpRequest(this, {
|
|
1722
1754
|
pathname: "/acs/access_groups/unmanaged/list",
|
|
1723
1755
|
method: "POST",
|
|
1724
|
-
body:
|
|
1725
|
-
responseKey: "acs_access_groups"
|
|
1756
|
+
body: parameters,
|
|
1757
|
+
responseKey: "acs_access_groups",
|
|
1758
|
+
options
|
|
1726
1759
|
});
|
|
1727
1760
|
}
|
|
1728
1761
|
};
|
|
@@ -1816,52 +1849,58 @@ var _SeamHttpAcsAccessGroups = class _SeamHttpAcsAccessGroups {
|
|
|
1816
1849
|
this.defaults
|
|
1817
1850
|
);
|
|
1818
1851
|
}
|
|
1819
|
-
addUser(
|
|
1852
|
+
addUser(parameters, options = {}) {
|
|
1820
1853
|
return new SeamHttpRequest(this, {
|
|
1821
1854
|
pathname: "/acs/access_groups/add_user",
|
|
1822
1855
|
method: "PUT",
|
|
1823
|
-
body,
|
|
1824
|
-
responseKey: void 0
|
|
1856
|
+
body: parameters,
|
|
1857
|
+
responseKey: void 0,
|
|
1858
|
+
options
|
|
1825
1859
|
});
|
|
1826
1860
|
}
|
|
1827
|
-
get(
|
|
1861
|
+
get(parameters, options = {}) {
|
|
1828
1862
|
return new SeamHttpRequest(this, {
|
|
1829
1863
|
pathname: "/acs/access_groups/get",
|
|
1830
1864
|
method: "POST",
|
|
1831
|
-
body:
|
|
1832
|
-
responseKey: "acs_access_group"
|
|
1865
|
+
body: parameters,
|
|
1866
|
+
responseKey: "acs_access_group",
|
|
1867
|
+
options
|
|
1833
1868
|
});
|
|
1834
1869
|
}
|
|
1835
|
-
list(
|
|
1870
|
+
list(parameters, options = {}) {
|
|
1836
1871
|
return new SeamHttpRequest(this, {
|
|
1837
1872
|
pathname: "/acs/access_groups/list",
|
|
1838
1873
|
method: "POST",
|
|
1839
|
-
body:
|
|
1840
|
-
responseKey: "acs_access_groups"
|
|
1874
|
+
body: parameters,
|
|
1875
|
+
responseKey: "acs_access_groups",
|
|
1876
|
+
options
|
|
1841
1877
|
});
|
|
1842
1878
|
}
|
|
1843
|
-
listAccessibleEntrances(
|
|
1879
|
+
listAccessibleEntrances(parameters, options = {}) {
|
|
1844
1880
|
return new SeamHttpRequest(this, {
|
|
1845
1881
|
pathname: "/acs/access_groups/list_accessible_entrances",
|
|
1846
1882
|
method: "POST",
|
|
1847
|
-
body:
|
|
1848
|
-
responseKey: "acs_entrances"
|
|
1883
|
+
body: parameters,
|
|
1884
|
+
responseKey: "acs_entrances",
|
|
1885
|
+
options
|
|
1849
1886
|
});
|
|
1850
1887
|
}
|
|
1851
|
-
listUsers(
|
|
1888
|
+
listUsers(parameters, options = {}) {
|
|
1852
1889
|
return new SeamHttpRequest(this, {
|
|
1853
1890
|
pathname: "/acs/access_groups/list_users",
|
|
1854
1891
|
method: "POST",
|
|
1855
|
-
body:
|
|
1856
|
-
responseKey: "acs_users"
|
|
1892
|
+
body: parameters,
|
|
1893
|
+
responseKey: "acs_users",
|
|
1894
|
+
options
|
|
1857
1895
|
});
|
|
1858
1896
|
}
|
|
1859
|
-
removeUser(
|
|
1897
|
+
removeUser(parameters, options = {}) {
|
|
1860
1898
|
return new SeamHttpRequest(this, {
|
|
1861
1899
|
pathname: "/acs/access_groups/remove_user",
|
|
1862
1900
|
method: "POST",
|
|
1863
|
-
body:
|
|
1864
|
-
responseKey: void 0
|
|
1901
|
+
body: parameters,
|
|
1902
|
+
responseKey: void 0,
|
|
1903
|
+
options
|
|
1865
1904
|
});
|
|
1866
1905
|
}
|
|
1867
1906
|
};
|
|
@@ -1954,7 +1993,7 @@ var _SeamHttpAcsCredentialPools = class _SeamHttpAcsCredentialPools {
|
|
|
1954
1993
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
1955
1994
|
await clientSessions.get();
|
|
1956
1995
|
}
|
|
1957
|
-
list(
|
|
1996
|
+
list(parameters, options = {}) {
|
|
1958
1997
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
1959
1998
|
throw new Error(
|
|
1960
1999
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -1963,8 +2002,9 @@ var _SeamHttpAcsCredentialPools = class _SeamHttpAcsCredentialPools {
|
|
|
1963
2002
|
return new SeamHttpRequest(this, {
|
|
1964
2003
|
pathname: "/acs/credential_pools/list",
|
|
1965
2004
|
method: "POST",
|
|
1966
|
-
body:
|
|
1967
|
-
responseKey: "acs_credential_pools"
|
|
2005
|
+
body: parameters,
|
|
2006
|
+
responseKey: "acs_credential_pools",
|
|
2007
|
+
options
|
|
1968
2008
|
});
|
|
1969
2009
|
}
|
|
1970
2010
|
};
|
|
@@ -2060,7 +2100,7 @@ var _SeamHttpAcsCredentialProvisioningAutomations = class _SeamHttpAcsCredential
|
|
|
2060
2100
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
2061
2101
|
await clientSessions.get();
|
|
2062
2102
|
}
|
|
2063
|
-
launch(
|
|
2103
|
+
launch(parameters, options = {}) {
|
|
2064
2104
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
2065
2105
|
throw new Error(
|
|
2066
2106
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -2069,8 +2109,9 @@ var _SeamHttpAcsCredentialProvisioningAutomations = class _SeamHttpAcsCredential
|
|
|
2069
2109
|
return new SeamHttpRequest(this, {
|
|
2070
2110
|
pathname: "/acs/credential_provisioning_automations/launch",
|
|
2071
2111
|
method: "POST",
|
|
2072
|
-
body,
|
|
2073
|
-
responseKey: "acs_credential_provisioning_automation"
|
|
2112
|
+
body: parameters,
|
|
2113
|
+
responseKey: "acs_credential_provisioning_automation",
|
|
2114
|
+
options
|
|
2074
2115
|
});
|
|
2075
2116
|
}
|
|
2076
2117
|
};
|
|
@@ -2166,7 +2207,7 @@ var _SeamHttpAcsCredentialsUnmanaged = class _SeamHttpAcsCredentialsUnmanaged {
|
|
|
2166
2207
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
2167
2208
|
await clientSessions.get();
|
|
2168
2209
|
}
|
|
2169
|
-
get(
|
|
2210
|
+
get(parameters, options = {}) {
|
|
2170
2211
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
2171
2212
|
throw new Error(
|
|
2172
2213
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -2175,11 +2216,12 @@ var _SeamHttpAcsCredentialsUnmanaged = class _SeamHttpAcsCredentialsUnmanaged {
|
|
|
2175
2216
|
return new SeamHttpRequest(this, {
|
|
2176
2217
|
pathname: "/acs/credentials/unmanaged/get",
|
|
2177
2218
|
method: "POST",
|
|
2178
|
-
body:
|
|
2179
|
-
responseKey: "acs_credential"
|
|
2219
|
+
body: parameters,
|
|
2220
|
+
responseKey: "acs_credential",
|
|
2221
|
+
options
|
|
2180
2222
|
});
|
|
2181
2223
|
}
|
|
2182
|
-
list(
|
|
2224
|
+
list(parameters, options = {}) {
|
|
2183
2225
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
2184
2226
|
throw new Error(
|
|
2185
2227
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -2188,8 +2230,9 @@ var _SeamHttpAcsCredentialsUnmanaged = class _SeamHttpAcsCredentialsUnmanaged {
|
|
|
2188
2230
|
return new SeamHttpRequest(this, {
|
|
2189
2231
|
pathname: "/acs/credentials/unmanaged/list",
|
|
2190
2232
|
method: "GET",
|
|
2191
|
-
params,
|
|
2192
|
-
responseKey: "acs_credentials"
|
|
2233
|
+
params: parameters,
|
|
2234
|
+
responseKey: "acs_credentials",
|
|
2235
|
+
options
|
|
2193
2236
|
});
|
|
2194
2237
|
}
|
|
2195
2238
|
};
|
|
@@ -2283,23 +2326,25 @@ var _SeamHttpAcsCredentials = class _SeamHttpAcsCredentials {
|
|
|
2283
2326
|
this.defaults
|
|
2284
2327
|
);
|
|
2285
2328
|
}
|
|
2286
|
-
assign(
|
|
2329
|
+
assign(parameters, options = {}) {
|
|
2287
2330
|
return new SeamHttpRequest(this, {
|
|
2288
2331
|
pathname: "/acs/credentials/assign",
|
|
2289
2332
|
method: "PATCH",
|
|
2290
|
-
body,
|
|
2291
|
-
responseKey: void 0
|
|
2333
|
+
body: parameters,
|
|
2334
|
+
responseKey: void 0,
|
|
2335
|
+
options
|
|
2292
2336
|
});
|
|
2293
2337
|
}
|
|
2294
|
-
create(
|
|
2338
|
+
create(parameters, options = {}) {
|
|
2295
2339
|
return new SeamHttpRequest(this, {
|
|
2296
2340
|
pathname: "/acs/credentials/create",
|
|
2297
2341
|
method: "POST",
|
|
2298
|
-
body,
|
|
2299
|
-
responseKey: "acs_credential"
|
|
2342
|
+
body: parameters,
|
|
2343
|
+
responseKey: "acs_credential",
|
|
2344
|
+
options
|
|
2300
2345
|
});
|
|
2301
2346
|
}
|
|
2302
|
-
createOfflineCode(
|
|
2347
|
+
createOfflineCode(parameters, options = {}) {
|
|
2303
2348
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
2304
2349
|
throw new Error(
|
|
2305
2350
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -2308,56 +2353,63 @@ var _SeamHttpAcsCredentials = class _SeamHttpAcsCredentials {
|
|
|
2308
2353
|
return new SeamHttpRequest(this, {
|
|
2309
2354
|
pathname: "/acs/credentials/create_offline_code",
|
|
2310
2355
|
method: "POST",
|
|
2311
|
-
body,
|
|
2312
|
-
responseKey: "acs_credential"
|
|
2356
|
+
body: parameters,
|
|
2357
|
+
responseKey: "acs_credential",
|
|
2358
|
+
options
|
|
2313
2359
|
});
|
|
2314
2360
|
}
|
|
2315
|
-
delete(
|
|
2361
|
+
delete(parameters, options = {}) {
|
|
2316
2362
|
return new SeamHttpRequest(this, {
|
|
2317
2363
|
pathname: "/acs/credentials/delete",
|
|
2318
2364
|
method: "POST",
|
|
2319
|
-
body:
|
|
2320
|
-
responseKey: void 0
|
|
2365
|
+
body: parameters,
|
|
2366
|
+
responseKey: void 0,
|
|
2367
|
+
options
|
|
2321
2368
|
});
|
|
2322
2369
|
}
|
|
2323
|
-
get(
|
|
2370
|
+
get(parameters, options = {}) {
|
|
2324
2371
|
return new SeamHttpRequest(this, {
|
|
2325
2372
|
pathname: "/acs/credentials/get",
|
|
2326
2373
|
method: "POST",
|
|
2327
|
-
body:
|
|
2328
|
-
responseKey: "acs_credential"
|
|
2374
|
+
body: parameters,
|
|
2375
|
+
responseKey: "acs_credential",
|
|
2376
|
+
options
|
|
2329
2377
|
});
|
|
2330
2378
|
}
|
|
2331
|
-
list(
|
|
2379
|
+
list(parameters, options = {}) {
|
|
2332
2380
|
return new SeamHttpRequest(this, {
|
|
2333
2381
|
pathname: "/acs/credentials/list",
|
|
2334
2382
|
method: "GET",
|
|
2335
|
-
params,
|
|
2336
|
-
responseKey: "acs_credentials"
|
|
2383
|
+
params: parameters,
|
|
2384
|
+
responseKey: "acs_credentials",
|
|
2385
|
+
options
|
|
2337
2386
|
});
|
|
2338
2387
|
}
|
|
2339
|
-
listAccessibleEntrances(
|
|
2388
|
+
listAccessibleEntrances(parameters, options = {}) {
|
|
2340
2389
|
return new SeamHttpRequest(this, {
|
|
2341
2390
|
pathname: "/acs/credentials/list_accessible_entrances",
|
|
2342
2391
|
method: "POST",
|
|
2343
|
-
body:
|
|
2344
|
-
responseKey: "acs_entrances"
|
|
2392
|
+
body: parameters,
|
|
2393
|
+
responseKey: "acs_entrances",
|
|
2394
|
+
options
|
|
2345
2395
|
});
|
|
2346
2396
|
}
|
|
2347
|
-
unassign(
|
|
2397
|
+
unassign(parameters, options = {}) {
|
|
2348
2398
|
return new SeamHttpRequest(this, {
|
|
2349
2399
|
pathname: "/acs/credentials/unassign",
|
|
2350
2400
|
method: "PATCH",
|
|
2351
|
-
body,
|
|
2352
|
-
responseKey: void 0
|
|
2401
|
+
body: parameters,
|
|
2402
|
+
responseKey: void 0,
|
|
2403
|
+
options
|
|
2353
2404
|
});
|
|
2354
2405
|
}
|
|
2355
|
-
update(
|
|
2406
|
+
update(parameters, options = {}) {
|
|
2356
2407
|
return new SeamHttpRequest(this, {
|
|
2357
2408
|
pathname: "/acs/credentials/update",
|
|
2358
2409
|
method: "PATCH",
|
|
2359
|
-
body,
|
|
2360
|
-
responseKey: void 0
|
|
2410
|
+
body: parameters,
|
|
2411
|
+
responseKey: void 0,
|
|
2412
|
+
options
|
|
2361
2413
|
});
|
|
2362
2414
|
}
|
|
2363
2415
|
};
|
|
@@ -2445,36 +2497,40 @@ var _SeamHttpAcsEncodersSimulate = class _SeamHttpAcsEncodersSimulate {
|
|
|
2445
2497
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
2446
2498
|
await clientSessions.get();
|
|
2447
2499
|
}
|
|
2448
|
-
nextCredentialEncodeWillFail(
|
|
2500
|
+
nextCredentialEncodeWillFail(parameters, options = {}) {
|
|
2449
2501
|
return new SeamHttpRequest(this, {
|
|
2450
2502
|
pathname: "/acs/encoders/simulate/next_credential_encode_will_fail",
|
|
2451
2503
|
method: "POST",
|
|
2452
|
-
body,
|
|
2453
|
-
responseKey: void 0
|
|
2504
|
+
body: parameters,
|
|
2505
|
+
responseKey: void 0,
|
|
2506
|
+
options
|
|
2454
2507
|
});
|
|
2455
2508
|
}
|
|
2456
|
-
nextCredentialEncodeWillSucceed(
|
|
2509
|
+
nextCredentialEncodeWillSucceed(parameters, options = {}) {
|
|
2457
2510
|
return new SeamHttpRequest(this, {
|
|
2458
2511
|
pathname: "/acs/encoders/simulate/next_credential_encode_will_succeed",
|
|
2459
2512
|
method: "POST",
|
|
2460
|
-
body,
|
|
2461
|
-
responseKey: void 0
|
|
2513
|
+
body: parameters,
|
|
2514
|
+
responseKey: void 0,
|
|
2515
|
+
options
|
|
2462
2516
|
});
|
|
2463
2517
|
}
|
|
2464
|
-
nextCredentialScanWillFail(
|
|
2518
|
+
nextCredentialScanWillFail(parameters, options = {}) {
|
|
2465
2519
|
return new SeamHttpRequest(this, {
|
|
2466
2520
|
pathname: "/acs/encoders/simulate/next_credential_scan_will_fail",
|
|
2467
2521
|
method: "POST",
|
|
2468
|
-
body,
|
|
2469
|
-
responseKey: void 0
|
|
2522
|
+
body: parameters,
|
|
2523
|
+
responseKey: void 0,
|
|
2524
|
+
options
|
|
2470
2525
|
});
|
|
2471
2526
|
}
|
|
2472
|
-
nextCredentialScanWillSucceed(
|
|
2527
|
+
nextCredentialScanWillSucceed(parameters, options = {}) {
|
|
2473
2528
|
return new SeamHttpRequest(this, {
|
|
2474
2529
|
pathname: "/acs/encoders/simulate/next_credential_scan_will_succeed",
|
|
2475
2530
|
method: "POST",
|
|
2476
|
-
body,
|
|
2477
|
-
responseKey: void 0
|
|
2531
|
+
body: parameters,
|
|
2532
|
+
responseKey: void 0,
|
|
2533
|
+
options
|
|
2478
2534
|
});
|
|
2479
2535
|
}
|
|
2480
2536
|
};
|
|
@@ -2565,45 +2621,47 @@ var _SeamHttpAcsEncoders = class _SeamHttpAcsEncoders {
|
|
|
2565
2621
|
get simulate() {
|
|
2566
2622
|
return SeamHttpAcsEncodersSimulate.fromClient(this.client, this.defaults);
|
|
2567
2623
|
}
|
|
2568
|
-
encodeAccessMethod(
|
|
2624
|
+
encodeAccessMethod(parameters, options = {}) {
|
|
2569
2625
|
return new SeamHttpRequest(this, {
|
|
2570
2626
|
pathname: "/acs/encoders/encode_access_method",
|
|
2571
2627
|
method: "POST",
|
|
2572
|
-
body,
|
|
2628
|
+
body: parameters,
|
|
2573
2629
|
responseKey: "action_attempt",
|
|
2574
2630
|
options
|
|
2575
2631
|
});
|
|
2576
2632
|
}
|
|
2577
|
-
encodeCredential(
|
|
2633
|
+
encodeCredential(parameters, options = {}) {
|
|
2578
2634
|
return new SeamHttpRequest(this, {
|
|
2579
2635
|
pathname: "/acs/encoders/encode_credential",
|
|
2580
2636
|
method: "POST",
|
|
2581
|
-
body,
|
|
2637
|
+
body: parameters,
|
|
2582
2638
|
responseKey: "action_attempt",
|
|
2583
2639
|
options
|
|
2584
2640
|
});
|
|
2585
2641
|
}
|
|
2586
|
-
get(
|
|
2642
|
+
get(parameters, options = {}) {
|
|
2587
2643
|
return new SeamHttpRequest(this, {
|
|
2588
2644
|
pathname: "/acs/encoders/get",
|
|
2589
2645
|
method: "POST",
|
|
2590
|
-
body:
|
|
2591
|
-
responseKey: "acs_encoder"
|
|
2646
|
+
body: parameters,
|
|
2647
|
+
responseKey: "acs_encoder",
|
|
2648
|
+
options
|
|
2592
2649
|
});
|
|
2593
2650
|
}
|
|
2594
|
-
list(
|
|
2651
|
+
list(parameters, options = {}) {
|
|
2595
2652
|
return new SeamHttpRequest(this, {
|
|
2596
2653
|
pathname: "/acs/encoders/list",
|
|
2597
2654
|
method: "GET",
|
|
2598
|
-
params,
|
|
2599
|
-
responseKey: "acs_encoders"
|
|
2655
|
+
params: parameters,
|
|
2656
|
+
responseKey: "acs_encoders",
|
|
2657
|
+
options
|
|
2600
2658
|
});
|
|
2601
2659
|
}
|
|
2602
|
-
scanCredential(
|
|
2660
|
+
scanCredential(parameters, options = {}) {
|
|
2603
2661
|
return new SeamHttpRequest(this, {
|
|
2604
2662
|
pathname: "/acs/encoders/scan_credential",
|
|
2605
2663
|
method: "POST",
|
|
2606
|
-
body,
|
|
2664
|
+
body: parameters,
|
|
2607
2665
|
responseKey: "action_attempt",
|
|
2608
2666
|
options
|
|
2609
2667
|
});
|
|
@@ -2693,36 +2751,40 @@ var _SeamHttpAcsEntrances = class _SeamHttpAcsEntrances {
|
|
|
2693
2751
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
2694
2752
|
await clientSessions.get();
|
|
2695
2753
|
}
|
|
2696
|
-
get(
|
|
2754
|
+
get(parameters, options = {}) {
|
|
2697
2755
|
return new SeamHttpRequest(this, {
|
|
2698
2756
|
pathname: "/acs/entrances/get",
|
|
2699
2757
|
method: "POST",
|
|
2700
|
-
body:
|
|
2701
|
-
responseKey: "acs_entrance"
|
|
2758
|
+
body: parameters,
|
|
2759
|
+
responseKey: "acs_entrance",
|
|
2760
|
+
options
|
|
2702
2761
|
});
|
|
2703
2762
|
}
|
|
2704
|
-
grantAccess(
|
|
2763
|
+
grantAccess(parameters, options = {}) {
|
|
2705
2764
|
return new SeamHttpRequest(this, {
|
|
2706
2765
|
pathname: "/acs/entrances/grant_access",
|
|
2707
2766
|
method: "POST",
|
|
2708
|
-
body,
|
|
2709
|
-
responseKey: void 0
|
|
2767
|
+
body: parameters,
|
|
2768
|
+
responseKey: void 0,
|
|
2769
|
+
options
|
|
2710
2770
|
});
|
|
2711
2771
|
}
|
|
2712
|
-
list(
|
|
2772
|
+
list(parameters, options = {}) {
|
|
2713
2773
|
return new SeamHttpRequest(this, {
|
|
2714
2774
|
pathname: "/acs/entrances/list",
|
|
2715
2775
|
method: "POST",
|
|
2716
|
-
body:
|
|
2717
|
-
responseKey: "acs_entrances"
|
|
2776
|
+
body: parameters,
|
|
2777
|
+
responseKey: "acs_entrances",
|
|
2778
|
+
options
|
|
2718
2779
|
});
|
|
2719
2780
|
}
|
|
2720
|
-
listCredentialsWithAccess(
|
|
2781
|
+
listCredentialsWithAccess(parameters, options = {}) {
|
|
2721
2782
|
return new SeamHttpRequest(this, {
|
|
2722
2783
|
pathname: "/acs/entrances/list_credentials_with_access",
|
|
2723
2784
|
method: "POST",
|
|
2724
|
-
body:
|
|
2725
|
-
responseKey: "acs_credentials"
|
|
2785
|
+
body: parameters,
|
|
2786
|
+
responseKey: "acs_credentials",
|
|
2787
|
+
options
|
|
2726
2788
|
});
|
|
2727
2789
|
}
|
|
2728
2790
|
};
|
|
@@ -2810,28 +2872,31 @@ var _SeamHttpAcsSystems = class _SeamHttpAcsSystems {
|
|
|
2810
2872
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
2811
2873
|
await clientSessions.get();
|
|
2812
2874
|
}
|
|
2813
|
-
get(
|
|
2875
|
+
get(parameters, options = {}) {
|
|
2814
2876
|
return new SeamHttpRequest(this, {
|
|
2815
2877
|
pathname: "/acs/systems/get",
|
|
2816
2878
|
method: "POST",
|
|
2817
|
-
body:
|
|
2818
|
-
responseKey: "acs_system"
|
|
2879
|
+
body: parameters,
|
|
2880
|
+
responseKey: "acs_system",
|
|
2881
|
+
options
|
|
2819
2882
|
});
|
|
2820
2883
|
}
|
|
2821
|
-
list(
|
|
2884
|
+
list(parameters, options = {}) {
|
|
2822
2885
|
return new SeamHttpRequest(this, {
|
|
2823
2886
|
pathname: "/acs/systems/list",
|
|
2824
2887
|
method: "POST",
|
|
2825
|
-
body:
|
|
2826
|
-
responseKey: "acs_systems"
|
|
2888
|
+
body: parameters,
|
|
2889
|
+
responseKey: "acs_systems",
|
|
2890
|
+
options
|
|
2827
2891
|
});
|
|
2828
2892
|
}
|
|
2829
|
-
listCompatibleCredentialManagerAcsSystems(
|
|
2893
|
+
listCompatibleCredentialManagerAcsSystems(parameters, options = {}) {
|
|
2830
2894
|
return new SeamHttpRequest(this, {
|
|
2831
2895
|
pathname: "/acs/systems/list_compatible_credential_manager_acs_systems",
|
|
2832
2896
|
method: "POST",
|
|
2833
|
-
body:
|
|
2834
|
-
responseKey: "acs_systems"
|
|
2897
|
+
body: parameters,
|
|
2898
|
+
responseKey: "acs_systems",
|
|
2899
|
+
options
|
|
2835
2900
|
});
|
|
2836
2901
|
}
|
|
2837
2902
|
};
|
|
@@ -2924,7 +2989,7 @@ var _SeamHttpAcsUsersUnmanaged = class _SeamHttpAcsUsersUnmanaged {
|
|
|
2924
2989
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
2925
2990
|
await clientSessions.get();
|
|
2926
2991
|
}
|
|
2927
|
-
get(
|
|
2992
|
+
get(parameters, options = {}) {
|
|
2928
2993
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
2929
2994
|
throw new Error(
|
|
2930
2995
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -2933,11 +2998,12 @@ var _SeamHttpAcsUsersUnmanaged = class _SeamHttpAcsUsersUnmanaged {
|
|
|
2933
2998
|
return new SeamHttpRequest(this, {
|
|
2934
2999
|
pathname: "/acs/users/unmanaged/get",
|
|
2935
3000
|
method: "POST",
|
|
2936
|
-
body:
|
|
2937
|
-
responseKey: "acs_user"
|
|
3001
|
+
body: parameters,
|
|
3002
|
+
responseKey: "acs_user",
|
|
3003
|
+
options
|
|
2938
3004
|
});
|
|
2939
3005
|
}
|
|
2940
|
-
list(
|
|
3006
|
+
list(parameters, options = {}) {
|
|
2941
3007
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
2942
3008
|
throw new Error(
|
|
2943
3009
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -2946,8 +3012,9 @@ var _SeamHttpAcsUsersUnmanaged = class _SeamHttpAcsUsersUnmanaged {
|
|
|
2946
3012
|
return new SeamHttpRequest(this, {
|
|
2947
3013
|
pathname: "/acs/users/unmanaged/list",
|
|
2948
3014
|
method: "POST",
|
|
2949
|
-
body:
|
|
2950
|
-
responseKey: "acs_users"
|
|
3015
|
+
body: parameters,
|
|
3016
|
+
responseKey: "acs_users",
|
|
3017
|
+
options
|
|
2951
3018
|
});
|
|
2952
3019
|
}
|
|
2953
3020
|
};
|
|
@@ -3038,92 +3105,103 @@ var _SeamHttpAcsUsers = class _SeamHttpAcsUsers {
|
|
|
3038
3105
|
get unmanaged() {
|
|
3039
3106
|
return SeamHttpAcsUsersUnmanaged.fromClient(this.client, this.defaults);
|
|
3040
3107
|
}
|
|
3041
|
-
addToAccessGroup(
|
|
3108
|
+
addToAccessGroup(parameters, options = {}) {
|
|
3042
3109
|
return new SeamHttpRequest(this, {
|
|
3043
3110
|
pathname: "/acs/users/add_to_access_group",
|
|
3044
3111
|
method: "PUT",
|
|
3045
|
-
body,
|
|
3046
|
-
responseKey: void 0
|
|
3112
|
+
body: parameters,
|
|
3113
|
+
responseKey: void 0,
|
|
3114
|
+
options
|
|
3047
3115
|
});
|
|
3048
3116
|
}
|
|
3049
|
-
create(
|
|
3117
|
+
create(parameters, options = {}) {
|
|
3050
3118
|
return new SeamHttpRequest(this, {
|
|
3051
3119
|
pathname: "/acs/users/create",
|
|
3052
3120
|
method: "POST",
|
|
3053
|
-
body,
|
|
3054
|
-
responseKey: "acs_user"
|
|
3121
|
+
body: parameters,
|
|
3122
|
+
responseKey: "acs_user",
|
|
3123
|
+
options
|
|
3055
3124
|
});
|
|
3056
3125
|
}
|
|
3057
|
-
delete(
|
|
3126
|
+
delete(parameters, options = {}) {
|
|
3058
3127
|
return new SeamHttpRequest(this, {
|
|
3059
3128
|
pathname: "/acs/users/delete",
|
|
3060
3129
|
method: "POST",
|
|
3061
|
-
body:
|
|
3062
|
-
responseKey: void 0
|
|
3130
|
+
body: parameters,
|
|
3131
|
+
responseKey: void 0,
|
|
3132
|
+
options
|
|
3063
3133
|
});
|
|
3064
3134
|
}
|
|
3065
|
-
get(
|
|
3135
|
+
get(parameters, options = {}) {
|
|
3066
3136
|
return new SeamHttpRequest(this, {
|
|
3067
3137
|
pathname: "/acs/users/get",
|
|
3068
3138
|
method: "POST",
|
|
3069
|
-
body:
|
|
3070
|
-
responseKey: "acs_user"
|
|
3139
|
+
body: parameters,
|
|
3140
|
+
responseKey: "acs_user",
|
|
3141
|
+
options
|
|
3071
3142
|
});
|
|
3072
3143
|
}
|
|
3073
|
-
list(
|
|
3144
|
+
list(parameters, options = {}) {
|
|
3074
3145
|
return new SeamHttpRequest(this, {
|
|
3075
3146
|
pathname: "/acs/users/list",
|
|
3076
3147
|
method: "POST",
|
|
3077
|
-
body:
|
|
3078
|
-
responseKey: "acs_users"
|
|
3148
|
+
body: parameters,
|
|
3149
|
+
responseKey: "acs_users",
|
|
3150
|
+
options
|
|
3079
3151
|
});
|
|
3080
3152
|
}
|
|
3081
|
-
listAccessibleEntrances(
|
|
3153
|
+
listAccessibleEntrances(parameters, options = {}) {
|
|
3082
3154
|
return new SeamHttpRequest(this, {
|
|
3083
3155
|
pathname: "/acs/users/list_accessible_entrances",
|
|
3084
3156
|
method: "POST",
|
|
3085
|
-
body:
|
|
3086
|
-
responseKey: "acs_entrances"
|
|
3157
|
+
body: parameters,
|
|
3158
|
+
responseKey: "acs_entrances",
|
|
3159
|
+
options
|
|
3087
3160
|
});
|
|
3088
3161
|
}
|
|
3089
|
-
removeFromAccessGroup(
|
|
3162
|
+
removeFromAccessGroup(parameters, options = {}) {
|
|
3090
3163
|
return new SeamHttpRequest(this, {
|
|
3091
3164
|
pathname: "/acs/users/remove_from_access_group",
|
|
3092
3165
|
method: "POST",
|
|
3093
|
-
body:
|
|
3094
|
-
responseKey: void 0
|
|
3166
|
+
body: parameters,
|
|
3167
|
+
responseKey: void 0,
|
|
3168
|
+
options
|
|
3095
3169
|
});
|
|
3096
3170
|
}
|
|
3097
|
-
revokeAccessToAllEntrances(
|
|
3171
|
+
revokeAccessToAllEntrances(parameters, options = {}) {
|
|
3098
3172
|
return new SeamHttpRequest(this, {
|
|
3099
3173
|
pathname: "/acs/users/revoke_access_to_all_entrances",
|
|
3100
3174
|
method: "POST",
|
|
3101
|
-
body,
|
|
3102
|
-
responseKey: void 0
|
|
3175
|
+
body: parameters,
|
|
3176
|
+
responseKey: void 0,
|
|
3177
|
+
options
|
|
3103
3178
|
});
|
|
3104
3179
|
}
|
|
3105
|
-
suspend(
|
|
3180
|
+
suspend(parameters, options = {}) {
|
|
3106
3181
|
return new SeamHttpRequest(this, {
|
|
3107
3182
|
pathname: "/acs/users/suspend",
|
|
3108
3183
|
method: "POST",
|
|
3109
|
-
body,
|
|
3110
|
-
responseKey: void 0
|
|
3184
|
+
body: parameters,
|
|
3185
|
+
responseKey: void 0,
|
|
3186
|
+
options
|
|
3111
3187
|
});
|
|
3112
3188
|
}
|
|
3113
|
-
unsuspend(
|
|
3189
|
+
unsuspend(parameters, options = {}) {
|
|
3114
3190
|
return new SeamHttpRequest(this, {
|
|
3115
3191
|
pathname: "/acs/users/unsuspend",
|
|
3116
3192
|
method: "POST",
|
|
3117
|
-
body,
|
|
3118
|
-
responseKey: void 0
|
|
3193
|
+
body: parameters,
|
|
3194
|
+
responseKey: void 0,
|
|
3195
|
+
options
|
|
3119
3196
|
});
|
|
3120
3197
|
}
|
|
3121
|
-
update(
|
|
3198
|
+
update(parameters, options = {}) {
|
|
3122
3199
|
return new SeamHttpRequest(this, {
|
|
3123
3200
|
pathname: "/acs/users/update",
|
|
3124
3201
|
method: "PATCH",
|
|
3125
|
-
body,
|
|
3126
|
-
responseKey: void 0
|
|
3202
|
+
body: parameters,
|
|
3203
|
+
responseKey: void 0,
|
|
3204
|
+
options
|
|
3127
3205
|
});
|
|
3128
3206
|
}
|
|
3129
3207
|
};
|
|
@@ -3323,21 +3401,22 @@ var _SeamHttpActionAttempts = class _SeamHttpActionAttempts {
|
|
|
3323
3401
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
3324
3402
|
await clientSessions.get();
|
|
3325
3403
|
}
|
|
3326
|
-
get(
|
|
3404
|
+
get(parameters, options = {}) {
|
|
3327
3405
|
return new SeamHttpRequest(this, {
|
|
3328
3406
|
pathname: "/action_attempts/get",
|
|
3329
3407
|
method: "POST",
|
|
3330
|
-
body:
|
|
3408
|
+
body: parameters,
|
|
3331
3409
|
responseKey: "action_attempt",
|
|
3332
3410
|
options
|
|
3333
3411
|
});
|
|
3334
3412
|
}
|
|
3335
|
-
list(
|
|
3413
|
+
list(parameters, options = {}) {
|
|
3336
3414
|
return new SeamHttpRequest(this, {
|
|
3337
3415
|
pathname: "/action_attempts/list",
|
|
3338
3416
|
method: "POST",
|
|
3339
|
-
body:
|
|
3340
|
-
responseKey: "action_attempts"
|
|
3417
|
+
body: parameters,
|
|
3418
|
+
responseKey: "action_attempts",
|
|
3419
|
+
options
|
|
3341
3420
|
});
|
|
3342
3421
|
}
|
|
3343
3422
|
};
|
|
@@ -3430,7 +3509,7 @@ var _SeamHttpBridges = class _SeamHttpBridges {
|
|
|
3430
3509
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
3431
3510
|
await clientSessions.get();
|
|
3432
3511
|
}
|
|
3433
|
-
get(
|
|
3512
|
+
get(parameters, options = {}) {
|
|
3434
3513
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
3435
3514
|
throw new Error(
|
|
3436
3515
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -3439,11 +3518,12 @@ var _SeamHttpBridges = class _SeamHttpBridges {
|
|
|
3439
3518
|
return new SeamHttpRequest(this, {
|
|
3440
3519
|
pathname: "/bridges/get",
|
|
3441
3520
|
method: "POST",
|
|
3442
|
-
body:
|
|
3443
|
-
responseKey: "bridge"
|
|
3521
|
+
body: parameters,
|
|
3522
|
+
responseKey: "bridge",
|
|
3523
|
+
options
|
|
3444
3524
|
});
|
|
3445
3525
|
}
|
|
3446
|
-
list(
|
|
3526
|
+
list(parameters, options = {}) {
|
|
3447
3527
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
3448
3528
|
throw new Error(
|
|
3449
3529
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -3452,8 +3532,9 @@ var _SeamHttpBridges = class _SeamHttpBridges {
|
|
|
3452
3532
|
return new SeamHttpRequest(this, {
|
|
3453
3533
|
pathname: "/bridges/list",
|
|
3454
3534
|
method: "POST",
|
|
3455
|
-
body:
|
|
3456
|
-
responseKey: "bridges"
|
|
3535
|
+
body: parameters,
|
|
3536
|
+
responseKey: "bridges",
|
|
3537
|
+
options
|
|
3457
3538
|
});
|
|
3458
3539
|
}
|
|
3459
3540
|
};
|
|
@@ -3541,36 +3622,40 @@ var _SeamHttpConnectWebviews = class _SeamHttpConnectWebviews {
|
|
|
3541
3622
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
3542
3623
|
await clientSessions.get();
|
|
3543
3624
|
}
|
|
3544
|
-
create(
|
|
3625
|
+
create(parameters, options = {}) {
|
|
3545
3626
|
return new SeamHttpRequest(this, {
|
|
3546
3627
|
pathname: "/connect_webviews/create",
|
|
3547
3628
|
method: "POST",
|
|
3548
|
-
body,
|
|
3549
|
-
responseKey: "connect_webview"
|
|
3629
|
+
body: parameters,
|
|
3630
|
+
responseKey: "connect_webview",
|
|
3631
|
+
options
|
|
3550
3632
|
});
|
|
3551
3633
|
}
|
|
3552
|
-
delete(
|
|
3634
|
+
delete(parameters, options = {}) {
|
|
3553
3635
|
return new SeamHttpRequest(this, {
|
|
3554
3636
|
pathname: "/connect_webviews/delete",
|
|
3555
3637
|
method: "POST",
|
|
3556
|
-
body:
|
|
3557
|
-
responseKey: void 0
|
|
3638
|
+
body: parameters,
|
|
3639
|
+
responseKey: void 0,
|
|
3640
|
+
options
|
|
3558
3641
|
});
|
|
3559
3642
|
}
|
|
3560
|
-
get(
|
|
3643
|
+
get(parameters, options = {}) {
|
|
3561
3644
|
return new SeamHttpRequest(this, {
|
|
3562
3645
|
pathname: "/connect_webviews/get",
|
|
3563
3646
|
method: "POST",
|
|
3564
|
-
body:
|
|
3565
|
-
responseKey: "connect_webview"
|
|
3647
|
+
body: parameters,
|
|
3648
|
+
responseKey: "connect_webview",
|
|
3649
|
+
options
|
|
3566
3650
|
});
|
|
3567
3651
|
}
|
|
3568
|
-
list(
|
|
3652
|
+
list(parameters, options = {}) {
|
|
3569
3653
|
return new SeamHttpRequest(this, {
|
|
3570
3654
|
pathname: "/connect_webviews/list",
|
|
3571
3655
|
method: "POST",
|
|
3572
|
-
body:
|
|
3573
|
-
responseKey: "connect_webviews"
|
|
3656
|
+
body: parameters,
|
|
3657
|
+
responseKey: "connect_webviews",
|
|
3658
|
+
options
|
|
3574
3659
|
});
|
|
3575
3660
|
}
|
|
3576
3661
|
};
|
|
@@ -3658,44 +3743,49 @@ var _SeamHttpConnectedAccounts = class _SeamHttpConnectedAccounts {
|
|
|
3658
3743
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
3659
3744
|
await clientSessions.get();
|
|
3660
3745
|
}
|
|
3661
|
-
delete(
|
|
3746
|
+
delete(parameters, options = {}) {
|
|
3662
3747
|
return new SeamHttpRequest(this, {
|
|
3663
3748
|
pathname: "/connected_accounts/delete",
|
|
3664
3749
|
method: "POST",
|
|
3665
|
-
body:
|
|
3666
|
-
responseKey: void 0
|
|
3750
|
+
body: parameters,
|
|
3751
|
+
responseKey: void 0,
|
|
3752
|
+
options
|
|
3667
3753
|
});
|
|
3668
3754
|
}
|
|
3669
|
-
get(
|
|
3755
|
+
get(parameters, options = {}) {
|
|
3670
3756
|
return new SeamHttpRequest(this, {
|
|
3671
3757
|
pathname: "/connected_accounts/get",
|
|
3672
3758
|
method: "GET",
|
|
3673
|
-
params,
|
|
3674
|
-
responseKey: "connected_account"
|
|
3759
|
+
params: parameters,
|
|
3760
|
+
responseKey: "connected_account",
|
|
3761
|
+
options
|
|
3675
3762
|
});
|
|
3676
3763
|
}
|
|
3677
|
-
list(
|
|
3764
|
+
list(parameters, options = {}) {
|
|
3678
3765
|
return new SeamHttpRequest(this, {
|
|
3679
3766
|
pathname: "/connected_accounts/list",
|
|
3680
3767
|
method: "POST",
|
|
3681
|
-
body:
|
|
3682
|
-
responseKey: "connected_accounts"
|
|
3768
|
+
body: parameters,
|
|
3769
|
+
responseKey: "connected_accounts",
|
|
3770
|
+
options
|
|
3683
3771
|
});
|
|
3684
3772
|
}
|
|
3685
|
-
sync(
|
|
3773
|
+
sync(parameters, options = {}) {
|
|
3686
3774
|
return new SeamHttpRequest(this, {
|
|
3687
3775
|
pathname: "/connected_accounts/sync",
|
|
3688
3776
|
method: "POST",
|
|
3689
|
-
body,
|
|
3690
|
-
responseKey: void 0
|
|
3777
|
+
body: parameters,
|
|
3778
|
+
responseKey: void 0,
|
|
3779
|
+
options
|
|
3691
3780
|
});
|
|
3692
3781
|
}
|
|
3693
|
-
update(
|
|
3782
|
+
update(parameters, options = {}) {
|
|
3694
3783
|
return new SeamHttpRequest(this, {
|
|
3695
3784
|
pathname: "/connected_accounts/update",
|
|
3696
3785
|
method: "POST",
|
|
3697
|
-
body,
|
|
3698
|
-
responseKey: void 0
|
|
3786
|
+
body: parameters,
|
|
3787
|
+
responseKey: void 0,
|
|
3788
|
+
options
|
|
3699
3789
|
});
|
|
3700
3790
|
}
|
|
3701
3791
|
};
|
|
@@ -3783,28 +3873,31 @@ var _SeamHttpDevicesSimulate = class _SeamHttpDevicesSimulate {
|
|
|
3783
3873
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
3784
3874
|
await clientSessions.get();
|
|
3785
3875
|
}
|
|
3786
|
-
connect(
|
|
3876
|
+
connect(parameters, options = {}) {
|
|
3787
3877
|
return new SeamHttpRequest(this, {
|
|
3788
3878
|
pathname: "/devices/simulate/connect",
|
|
3789
3879
|
method: "POST",
|
|
3790
|
-
body,
|
|
3791
|
-
responseKey: void 0
|
|
3880
|
+
body: parameters,
|
|
3881
|
+
responseKey: void 0,
|
|
3882
|
+
options
|
|
3792
3883
|
});
|
|
3793
3884
|
}
|
|
3794
|
-
disconnect(
|
|
3885
|
+
disconnect(parameters, options = {}) {
|
|
3795
3886
|
return new SeamHttpRequest(this, {
|
|
3796
3887
|
pathname: "/devices/simulate/disconnect",
|
|
3797
3888
|
method: "POST",
|
|
3798
|
-
body,
|
|
3799
|
-
responseKey: void 0
|
|
3889
|
+
body: parameters,
|
|
3890
|
+
responseKey: void 0,
|
|
3891
|
+
options
|
|
3800
3892
|
});
|
|
3801
3893
|
}
|
|
3802
|
-
remove(
|
|
3894
|
+
remove(parameters, options = {}) {
|
|
3803
3895
|
return new SeamHttpRequest(this, {
|
|
3804
3896
|
pathname: "/devices/simulate/remove",
|
|
3805
3897
|
method: "POST",
|
|
3806
|
-
body:
|
|
3807
|
-
responseKey: void 0
|
|
3898
|
+
body: parameters,
|
|
3899
|
+
responseKey: void 0,
|
|
3900
|
+
options
|
|
3808
3901
|
});
|
|
3809
3902
|
}
|
|
3810
3903
|
};
|
|
@@ -3892,28 +3985,31 @@ var _SeamHttpDevicesUnmanaged = class _SeamHttpDevicesUnmanaged {
|
|
|
3892
3985
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
3893
3986
|
await clientSessions.get();
|
|
3894
3987
|
}
|
|
3895
|
-
get(
|
|
3988
|
+
get(parameters, options = {}) {
|
|
3896
3989
|
return new SeamHttpRequest(this, {
|
|
3897
3990
|
pathname: "/devices/unmanaged/get",
|
|
3898
3991
|
method: "POST",
|
|
3899
|
-
body:
|
|
3900
|
-
responseKey: "device"
|
|
3992
|
+
body: parameters,
|
|
3993
|
+
responseKey: "device",
|
|
3994
|
+
options
|
|
3901
3995
|
});
|
|
3902
3996
|
}
|
|
3903
|
-
list(
|
|
3997
|
+
list(parameters, options = {}) {
|
|
3904
3998
|
return new SeamHttpRequest(this, {
|
|
3905
3999
|
pathname: "/devices/unmanaged/list",
|
|
3906
4000
|
method: "POST",
|
|
3907
|
-
body:
|
|
3908
|
-
responseKey: "devices"
|
|
4001
|
+
body: parameters,
|
|
4002
|
+
responseKey: "devices",
|
|
4003
|
+
options
|
|
3909
4004
|
});
|
|
3910
4005
|
}
|
|
3911
|
-
update(
|
|
4006
|
+
update(parameters, options = {}) {
|
|
3912
4007
|
return new SeamHttpRequest(this, {
|
|
3913
4008
|
pathname: "/devices/unmanaged/update",
|
|
3914
4009
|
method: "PATCH",
|
|
3915
|
-
body,
|
|
3916
|
-
responseKey: void 0
|
|
4010
|
+
body: parameters,
|
|
4011
|
+
responseKey: void 0,
|
|
4012
|
+
options
|
|
3917
4013
|
});
|
|
3918
4014
|
}
|
|
3919
4015
|
};
|
|
@@ -4007,7 +4103,7 @@ var _SeamHttpDevices = class _SeamHttpDevices {
|
|
|
4007
4103
|
get unmanaged() {
|
|
4008
4104
|
return SeamHttpDevicesUnmanaged.fromClient(this.client, this.defaults);
|
|
4009
4105
|
}
|
|
4010
|
-
delete(
|
|
4106
|
+
delete(parameters, options = {}) {
|
|
4011
4107
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
4012
4108
|
throw new Error(
|
|
4013
4109
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -4016,40 +4112,45 @@ var _SeamHttpDevices = class _SeamHttpDevices {
|
|
|
4016
4112
|
return new SeamHttpRequest(this, {
|
|
4017
4113
|
pathname: "/devices/delete",
|
|
4018
4114
|
method: "POST",
|
|
4019
|
-
body:
|
|
4020
|
-
responseKey: void 0
|
|
4115
|
+
body: parameters,
|
|
4116
|
+
responseKey: void 0,
|
|
4117
|
+
options
|
|
4021
4118
|
});
|
|
4022
4119
|
}
|
|
4023
|
-
get(
|
|
4120
|
+
get(parameters, options = {}) {
|
|
4024
4121
|
return new SeamHttpRequest(this, {
|
|
4025
4122
|
pathname: "/devices/get",
|
|
4026
4123
|
method: "POST",
|
|
4027
|
-
body:
|
|
4028
|
-
responseKey: "device"
|
|
4124
|
+
body: parameters,
|
|
4125
|
+
responseKey: "device",
|
|
4126
|
+
options
|
|
4029
4127
|
});
|
|
4030
4128
|
}
|
|
4031
|
-
list(
|
|
4129
|
+
list(parameters, options = {}) {
|
|
4032
4130
|
return new SeamHttpRequest(this, {
|
|
4033
4131
|
pathname: "/devices/list",
|
|
4034
4132
|
method: "POST",
|
|
4035
|
-
body:
|
|
4036
|
-
responseKey: "devices"
|
|
4133
|
+
body: parameters,
|
|
4134
|
+
responseKey: "devices",
|
|
4135
|
+
options
|
|
4037
4136
|
});
|
|
4038
4137
|
}
|
|
4039
|
-
listDeviceProviders(
|
|
4138
|
+
listDeviceProviders(parameters, options = {}) {
|
|
4040
4139
|
return new SeamHttpRequest(this, {
|
|
4041
4140
|
pathname: "/devices/list_device_providers",
|
|
4042
4141
|
method: "POST",
|
|
4043
|
-
body:
|
|
4044
|
-
responseKey: "device_providers"
|
|
4142
|
+
body: parameters,
|
|
4143
|
+
responseKey: "device_providers",
|
|
4144
|
+
options
|
|
4045
4145
|
});
|
|
4046
4146
|
}
|
|
4047
|
-
update(
|
|
4147
|
+
update(parameters, options = {}) {
|
|
4048
4148
|
return new SeamHttpRequest(this, {
|
|
4049
4149
|
pathname: "/devices/update",
|
|
4050
4150
|
method: "PATCH",
|
|
4051
|
-
body,
|
|
4052
|
-
responseKey: void 0
|
|
4151
|
+
body: parameters,
|
|
4152
|
+
responseKey: void 0,
|
|
4153
|
+
options
|
|
4053
4154
|
});
|
|
4054
4155
|
}
|
|
4055
4156
|
};
|
|
@@ -4137,20 +4238,22 @@ var _SeamHttpEvents = class _SeamHttpEvents {
|
|
|
4137
4238
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
4138
4239
|
await clientSessions.get();
|
|
4139
4240
|
}
|
|
4140
|
-
get(
|
|
4241
|
+
get(parameters, options = {}) {
|
|
4141
4242
|
return new SeamHttpRequest(this, {
|
|
4142
4243
|
pathname: "/events/get",
|
|
4143
4244
|
method: "POST",
|
|
4144
|
-
body:
|
|
4145
|
-
responseKey: "event"
|
|
4245
|
+
body: parameters,
|
|
4246
|
+
responseKey: "event",
|
|
4247
|
+
options
|
|
4146
4248
|
});
|
|
4147
4249
|
}
|
|
4148
|
-
list(
|
|
4250
|
+
list(parameters, options = {}) {
|
|
4149
4251
|
return new SeamHttpRequest(this, {
|
|
4150
4252
|
pathname: "/events/list",
|
|
4151
4253
|
method: "POST",
|
|
4152
|
-
body:
|
|
4153
|
-
responseKey: "events"
|
|
4254
|
+
body: parameters,
|
|
4255
|
+
responseKey: "events",
|
|
4256
|
+
options
|
|
4154
4257
|
});
|
|
4155
4258
|
}
|
|
4156
4259
|
};
|
|
@@ -4243,7 +4346,7 @@ var _SeamHttpLocksSimulate = class _SeamHttpLocksSimulate {
|
|
|
4243
4346
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
4244
4347
|
await clientSessions.get();
|
|
4245
4348
|
}
|
|
4246
|
-
keypadCodeEntry(
|
|
4349
|
+
keypadCodeEntry(parameters, options = {}) {
|
|
4247
4350
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
4248
4351
|
throw new Error(
|
|
4249
4352
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -4252,12 +4355,12 @@ var _SeamHttpLocksSimulate = class _SeamHttpLocksSimulate {
|
|
|
4252
4355
|
return new SeamHttpRequest(this, {
|
|
4253
4356
|
pathname: "/locks/simulate/keypad_code_entry",
|
|
4254
4357
|
method: "POST",
|
|
4255
|
-
body,
|
|
4358
|
+
body: parameters,
|
|
4256
4359
|
responseKey: "action_attempt",
|
|
4257
4360
|
options
|
|
4258
4361
|
});
|
|
4259
4362
|
}
|
|
4260
|
-
manualLockViaKeypad(
|
|
4363
|
+
manualLockViaKeypad(parameters, options = {}) {
|
|
4261
4364
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
4262
4365
|
throw new Error(
|
|
4263
4366
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -4266,7 +4369,7 @@ var _SeamHttpLocksSimulate = class _SeamHttpLocksSimulate {
|
|
|
4266
4369
|
return new SeamHttpRequest(this, {
|
|
4267
4370
|
pathname: "/locks/simulate/manual_lock_via_keypad",
|
|
4268
4371
|
method: "POST",
|
|
4269
|
-
body,
|
|
4372
|
+
body: parameters,
|
|
4270
4373
|
responseKey: "action_attempt",
|
|
4271
4374
|
options
|
|
4272
4375
|
});
|
|
@@ -4359,36 +4462,38 @@ var _SeamHttpLocks = class _SeamHttpLocks {
|
|
|
4359
4462
|
get simulate() {
|
|
4360
4463
|
return SeamHttpLocksSimulate.fromClient(this.client, this.defaults);
|
|
4361
4464
|
}
|
|
4362
|
-
get(
|
|
4465
|
+
get(parameters, options = {}) {
|
|
4363
4466
|
return new SeamHttpRequest(this, {
|
|
4364
4467
|
pathname: "/locks/get",
|
|
4365
4468
|
method: "POST",
|
|
4366
|
-
body:
|
|
4367
|
-
responseKey: "device"
|
|
4469
|
+
body: parameters,
|
|
4470
|
+
responseKey: "device",
|
|
4471
|
+
options
|
|
4368
4472
|
});
|
|
4369
4473
|
}
|
|
4370
|
-
list(
|
|
4474
|
+
list(parameters, options = {}) {
|
|
4371
4475
|
return new SeamHttpRequest(this, {
|
|
4372
4476
|
pathname: "/locks/list",
|
|
4373
4477
|
method: "POST",
|
|
4374
|
-
body:
|
|
4375
|
-
responseKey: "devices"
|
|
4478
|
+
body: parameters,
|
|
4479
|
+
responseKey: "devices",
|
|
4480
|
+
options
|
|
4376
4481
|
});
|
|
4377
4482
|
}
|
|
4378
|
-
lockDoor(
|
|
4483
|
+
lockDoor(parameters, options = {}) {
|
|
4379
4484
|
return new SeamHttpRequest(this, {
|
|
4380
4485
|
pathname: "/locks/lock_door",
|
|
4381
4486
|
method: "POST",
|
|
4382
|
-
body,
|
|
4487
|
+
body: parameters,
|
|
4383
4488
|
responseKey: "action_attempt",
|
|
4384
4489
|
options
|
|
4385
4490
|
});
|
|
4386
4491
|
}
|
|
4387
|
-
unlockDoor(
|
|
4492
|
+
unlockDoor(parameters, options = {}) {
|
|
4388
4493
|
return new SeamHttpRequest(this, {
|
|
4389
4494
|
pathname: "/locks/unlock_door",
|
|
4390
4495
|
method: "POST",
|
|
4391
|
-
body,
|
|
4496
|
+
body: parameters,
|
|
4392
4497
|
responseKey: "action_attempt",
|
|
4393
4498
|
options
|
|
4394
4499
|
});
|
|
@@ -4483,7 +4588,7 @@ var _SeamHttpNetworks = class _SeamHttpNetworks {
|
|
|
4483
4588
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
4484
4589
|
await clientSessions.get();
|
|
4485
4590
|
}
|
|
4486
|
-
get(
|
|
4591
|
+
get(parameters, options = {}) {
|
|
4487
4592
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
4488
4593
|
throw new Error(
|
|
4489
4594
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -4492,11 +4597,12 @@ var _SeamHttpNetworks = class _SeamHttpNetworks {
|
|
|
4492
4597
|
return new SeamHttpRequest(this, {
|
|
4493
4598
|
pathname: "/networks/get",
|
|
4494
4599
|
method: "POST",
|
|
4495
|
-
body:
|
|
4496
|
-
responseKey: "network"
|
|
4600
|
+
body: parameters,
|
|
4601
|
+
responseKey: "network",
|
|
4602
|
+
options
|
|
4497
4603
|
});
|
|
4498
4604
|
}
|
|
4499
|
-
list(
|
|
4605
|
+
list(parameters, options = {}) {
|
|
4500
4606
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
4501
4607
|
throw new Error(
|
|
4502
4608
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -4505,8 +4611,9 @@ var _SeamHttpNetworks = class _SeamHttpNetworks {
|
|
|
4505
4611
|
return new SeamHttpRequest(this, {
|
|
4506
4612
|
pathname: "/networks/list",
|
|
4507
4613
|
method: "POST",
|
|
4508
|
-
body:
|
|
4509
|
-
responseKey: "networks"
|
|
4614
|
+
body: parameters,
|
|
4615
|
+
responseKey: "networks",
|
|
4616
|
+
options
|
|
4510
4617
|
});
|
|
4511
4618
|
}
|
|
4512
4619
|
};
|
|
@@ -4597,44 +4704,49 @@ var _SeamHttpNoiseSensorsNoiseThresholds = class _SeamHttpNoiseSensorsNoiseThres
|
|
|
4597
4704
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
4598
4705
|
await clientSessions.get();
|
|
4599
4706
|
}
|
|
4600
|
-
create(
|
|
4707
|
+
create(parameters, options = {}) {
|
|
4601
4708
|
return new SeamHttpRequest(this, {
|
|
4602
4709
|
pathname: "/noise_sensors/noise_thresholds/create",
|
|
4603
4710
|
method: "POST",
|
|
4604
|
-
body,
|
|
4605
|
-
responseKey: "noise_threshold"
|
|
4711
|
+
body: parameters,
|
|
4712
|
+
responseKey: "noise_threshold",
|
|
4713
|
+
options
|
|
4606
4714
|
});
|
|
4607
4715
|
}
|
|
4608
|
-
delete(
|
|
4716
|
+
delete(parameters, options = {}) {
|
|
4609
4717
|
return new SeamHttpRequest(this, {
|
|
4610
4718
|
pathname: "/noise_sensors/noise_thresholds/delete",
|
|
4611
4719
|
method: "POST",
|
|
4612
|
-
body:
|
|
4613
|
-
responseKey: void 0
|
|
4720
|
+
body: parameters,
|
|
4721
|
+
responseKey: void 0,
|
|
4722
|
+
options
|
|
4614
4723
|
});
|
|
4615
4724
|
}
|
|
4616
|
-
get(
|
|
4725
|
+
get(parameters, options = {}) {
|
|
4617
4726
|
return new SeamHttpRequest(this, {
|
|
4618
4727
|
pathname: "/noise_sensors/noise_thresholds/get",
|
|
4619
4728
|
method: "POST",
|
|
4620
|
-
body:
|
|
4621
|
-
responseKey: "noise_threshold"
|
|
4729
|
+
body: parameters,
|
|
4730
|
+
responseKey: "noise_threshold",
|
|
4731
|
+
options
|
|
4622
4732
|
});
|
|
4623
4733
|
}
|
|
4624
|
-
list(
|
|
4734
|
+
list(parameters, options = {}) {
|
|
4625
4735
|
return new SeamHttpRequest(this, {
|
|
4626
4736
|
pathname: "/noise_sensors/noise_thresholds/list",
|
|
4627
4737
|
method: "POST",
|
|
4628
|
-
body:
|
|
4629
|
-
responseKey: "noise_thresholds"
|
|
4738
|
+
body: parameters,
|
|
4739
|
+
responseKey: "noise_thresholds",
|
|
4740
|
+
options
|
|
4630
4741
|
});
|
|
4631
4742
|
}
|
|
4632
|
-
update(
|
|
4743
|
+
update(parameters, options = {}) {
|
|
4633
4744
|
return new SeamHttpRequest(this, {
|
|
4634
4745
|
pathname: "/noise_sensors/noise_thresholds/update",
|
|
4635
4746
|
method: "PUT",
|
|
4636
|
-
body,
|
|
4637
|
-
responseKey: void 0
|
|
4747
|
+
body: parameters,
|
|
4748
|
+
responseKey: void 0,
|
|
4749
|
+
options
|
|
4638
4750
|
});
|
|
4639
4751
|
}
|
|
4640
4752
|
};
|
|
@@ -4722,12 +4834,13 @@ var _SeamHttpNoiseSensorsSimulate = class _SeamHttpNoiseSensorsSimulate {
|
|
|
4722
4834
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
4723
4835
|
await clientSessions.get();
|
|
4724
4836
|
}
|
|
4725
|
-
triggerNoiseThreshold(
|
|
4837
|
+
triggerNoiseThreshold(parameters, options = {}) {
|
|
4726
4838
|
return new SeamHttpRequest(this, {
|
|
4727
4839
|
pathname: "/noise_sensors/simulate/trigger_noise_threshold",
|
|
4728
4840
|
method: "POST",
|
|
4729
|
-
body,
|
|
4730
|
-
responseKey: void 0
|
|
4841
|
+
body: parameters,
|
|
4842
|
+
responseKey: void 0,
|
|
4843
|
+
options
|
|
4731
4844
|
});
|
|
4732
4845
|
}
|
|
4733
4846
|
};
|
|
@@ -4824,12 +4937,13 @@ var _SeamHttpNoiseSensors = class _SeamHttpNoiseSensors {
|
|
|
4824
4937
|
get simulate() {
|
|
4825
4938
|
return SeamHttpNoiseSensorsSimulate.fromClient(this.client, this.defaults);
|
|
4826
4939
|
}
|
|
4827
|
-
list(
|
|
4940
|
+
list(parameters, options = {}) {
|
|
4828
4941
|
return new SeamHttpRequest(this, {
|
|
4829
4942
|
pathname: "/noise_sensors/list",
|
|
4830
4943
|
method: "POST",
|
|
4831
|
-
body:
|
|
4832
|
-
responseKey: "devices"
|
|
4944
|
+
body: parameters,
|
|
4945
|
+
responseKey: "devices",
|
|
4946
|
+
options
|
|
4833
4947
|
});
|
|
4834
4948
|
}
|
|
4835
4949
|
};
|
|
@@ -4917,12 +5031,13 @@ var _SeamHttpPhonesSimulate = class _SeamHttpPhonesSimulate {
|
|
|
4917
5031
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
4918
5032
|
await clientSessions.get();
|
|
4919
5033
|
}
|
|
4920
|
-
createSandboxPhone(
|
|
5034
|
+
createSandboxPhone(parameters, options = {}) {
|
|
4921
5035
|
return new SeamHttpRequest(this, {
|
|
4922
5036
|
pathname: "/phones/simulate/create_sandbox_phone",
|
|
4923
5037
|
method: "POST",
|
|
4924
|
-
body:
|
|
4925
|
-
responseKey: "phone"
|
|
5038
|
+
body: parameters,
|
|
5039
|
+
responseKey: "phone",
|
|
5040
|
+
options
|
|
4926
5041
|
});
|
|
4927
5042
|
}
|
|
4928
5043
|
};
|
|
@@ -5013,28 +5128,31 @@ var _SeamHttpPhones = class _SeamHttpPhones {
|
|
|
5013
5128
|
get simulate() {
|
|
5014
5129
|
return SeamHttpPhonesSimulate.fromClient(this.client, this.defaults);
|
|
5015
5130
|
}
|
|
5016
|
-
deactivate(
|
|
5131
|
+
deactivate(parameters, options = {}) {
|
|
5017
5132
|
return new SeamHttpRequest(this, {
|
|
5018
5133
|
pathname: "/phones/deactivate",
|
|
5019
5134
|
method: "POST",
|
|
5020
|
-
body:
|
|
5021
|
-
responseKey: void 0
|
|
5135
|
+
body: parameters,
|
|
5136
|
+
responseKey: void 0,
|
|
5137
|
+
options
|
|
5022
5138
|
});
|
|
5023
5139
|
}
|
|
5024
|
-
get(
|
|
5140
|
+
get(parameters, options = {}) {
|
|
5025
5141
|
return new SeamHttpRequest(this, {
|
|
5026
5142
|
pathname: "/phones/get",
|
|
5027
5143
|
method: "POST",
|
|
5028
|
-
body:
|
|
5029
|
-
responseKey: "phone"
|
|
5144
|
+
body: parameters,
|
|
5145
|
+
responseKey: "phone",
|
|
5146
|
+
options
|
|
5030
5147
|
});
|
|
5031
5148
|
}
|
|
5032
|
-
list(
|
|
5149
|
+
list(parameters, options = {}) {
|
|
5033
5150
|
return new SeamHttpRequest(this, {
|
|
5034
5151
|
pathname: "/phones/list",
|
|
5035
5152
|
method: "POST",
|
|
5036
|
-
body:
|
|
5037
|
-
responseKey: "phones"
|
|
5153
|
+
body: parameters,
|
|
5154
|
+
responseKey: "phones",
|
|
5155
|
+
options
|
|
5038
5156
|
});
|
|
5039
5157
|
}
|
|
5040
5158
|
};
|
|
@@ -5130,7 +5248,7 @@ var _SeamHttpSeamBridgeV1BridgeClientSessions = class _SeamHttpSeamBridgeV1Bridg
|
|
|
5130
5248
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
5131
5249
|
await clientSessions.get();
|
|
5132
5250
|
}
|
|
5133
|
-
create(
|
|
5251
|
+
create(parameters, options = {}) {
|
|
5134
5252
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
5135
5253
|
throw new Error(
|
|
5136
5254
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -5139,11 +5257,12 @@ var _SeamHttpSeamBridgeV1BridgeClientSessions = class _SeamHttpSeamBridgeV1Bridg
|
|
|
5139
5257
|
return new SeamHttpRequest(this, {
|
|
5140
5258
|
pathname: "/seam/bridge/v1/bridge_client_sessions/create",
|
|
5141
5259
|
method: "POST",
|
|
5142
|
-
body,
|
|
5143
|
-
responseKey: "bridge_client_session"
|
|
5260
|
+
body: parameters,
|
|
5261
|
+
responseKey: "bridge_client_session",
|
|
5262
|
+
options
|
|
5144
5263
|
});
|
|
5145
5264
|
}
|
|
5146
|
-
get(
|
|
5265
|
+
get(parameters, options = {}) {
|
|
5147
5266
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
5148
5267
|
throw new Error(
|
|
5149
5268
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -5152,11 +5271,12 @@ var _SeamHttpSeamBridgeV1BridgeClientSessions = class _SeamHttpSeamBridgeV1Bridg
|
|
|
5152
5271
|
return new SeamHttpRequest(this, {
|
|
5153
5272
|
pathname: "/seam/bridge/v1/bridge_client_sessions/get",
|
|
5154
5273
|
method: "GET",
|
|
5155
|
-
params,
|
|
5156
|
-
responseKey: "bridge_client_session"
|
|
5274
|
+
params: parameters,
|
|
5275
|
+
responseKey: "bridge_client_session",
|
|
5276
|
+
options
|
|
5157
5277
|
});
|
|
5158
5278
|
}
|
|
5159
|
-
refreshTelemetryToken(
|
|
5279
|
+
refreshTelemetryToken(parameters, options = {}) {
|
|
5160
5280
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
5161
5281
|
throw new Error(
|
|
5162
5282
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -5165,11 +5285,12 @@ var _SeamHttpSeamBridgeV1BridgeClientSessions = class _SeamHttpSeamBridgeV1Bridg
|
|
|
5165
5285
|
return new SeamHttpRequest(this, {
|
|
5166
5286
|
pathname: "/seam/bridge/v1/bridge_client_sessions/refresh_telemetry_token",
|
|
5167
5287
|
method: "POST",
|
|
5168
|
-
body,
|
|
5169
|
-
responseKey: "bridge_client_session"
|
|
5288
|
+
body: parameters,
|
|
5289
|
+
responseKey: "bridge_client_session",
|
|
5290
|
+
options
|
|
5170
5291
|
});
|
|
5171
5292
|
}
|
|
5172
|
-
regeneratePairingCode(
|
|
5293
|
+
regeneratePairingCode(parameters, options = {}) {
|
|
5173
5294
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
5174
5295
|
throw new Error(
|
|
5175
5296
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -5178,11 +5299,12 @@ var _SeamHttpSeamBridgeV1BridgeClientSessions = class _SeamHttpSeamBridgeV1Bridg
|
|
|
5178
5299
|
return new SeamHttpRequest(this, {
|
|
5179
5300
|
pathname: "/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code",
|
|
5180
5301
|
method: "POST",
|
|
5181
|
-
body,
|
|
5182
|
-
responseKey: "bridge_client_session"
|
|
5302
|
+
body: parameters,
|
|
5303
|
+
responseKey: "bridge_client_session",
|
|
5304
|
+
options
|
|
5183
5305
|
});
|
|
5184
5306
|
}
|
|
5185
|
-
reportStatus(
|
|
5307
|
+
reportStatus(parameters, options = {}) {
|
|
5186
5308
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
5187
5309
|
throw new Error(
|
|
5188
5310
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -5191,8 +5313,9 @@ var _SeamHttpSeamBridgeV1BridgeClientSessions = class _SeamHttpSeamBridgeV1Bridg
|
|
|
5191
5313
|
return new SeamHttpRequest(this, {
|
|
5192
5314
|
pathname: "/seam/bridge/v1/bridge_client_sessions/report_status",
|
|
5193
5315
|
method: "POST",
|
|
5194
|
-
body,
|
|
5195
|
-
responseKey: void 0
|
|
5316
|
+
body: parameters,
|
|
5317
|
+
responseKey: void 0,
|
|
5318
|
+
options
|
|
5196
5319
|
});
|
|
5197
5320
|
}
|
|
5198
5321
|
};
|
|
@@ -5288,7 +5411,7 @@ var _SeamHttpSeamBridgeV1BridgeConnectedSystems = class _SeamHttpSeamBridgeV1Bri
|
|
|
5288
5411
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
5289
5412
|
await clientSessions.get();
|
|
5290
5413
|
}
|
|
5291
|
-
list(
|
|
5414
|
+
list(parameters, options = {}) {
|
|
5292
5415
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
5293
5416
|
throw new Error(
|
|
5294
5417
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -5297,8 +5420,9 @@ var _SeamHttpSeamBridgeV1BridgeConnectedSystems = class _SeamHttpSeamBridgeV1Bri
|
|
|
5297
5420
|
return new SeamHttpRequest(this, {
|
|
5298
5421
|
pathname: "/seam/bridge/v1/bridge_connected_systems/list",
|
|
5299
5422
|
method: "GET",
|
|
5300
|
-
params,
|
|
5301
|
-
responseKey: "bridge_connected_systems"
|
|
5423
|
+
params: parameters,
|
|
5424
|
+
responseKey: "bridge_connected_systems",
|
|
5425
|
+
options
|
|
5302
5426
|
});
|
|
5303
5427
|
}
|
|
5304
5428
|
};
|
|
@@ -5496,7 +5620,7 @@ var _SeamHttpSeamInstantKeyV1ClientSessions = class _SeamHttpSeamInstantKeyV1Cli
|
|
|
5496
5620
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
5497
5621
|
await clientSessions.get();
|
|
5498
5622
|
}
|
|
5499
|
-
exchangeShortCode(
|
|
5623
|
+
exchangeShortCode(parameters, options = {}) {
|
|
5500
5624
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
5501
5625
|
throw new Error(
|
|
5502
5626
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -5505,8 +5629,9 @@ var _SeamHttpSeamInstantKeyV1ClientSessions = class _SeamHttpSeamInstantKeyV1Cli
|
|
|
5505
5629
|
return new SeamHttpRequest(this, {
|
|
5506
5630
|
pathname: "/seam/instant_key/v1/client_sessions/exchange_short_code",
|
|
5507
5631
|
method: "POST",
|
|
5508
|
-
body,
|
|
5509
|
-
responseKey: "client_session"
|
|
5632
|
+
body: parameters,
|
|
5633
|
+
responseKey: "client_session",
|
|
5634
|
+
options
|
|
5510
5635
|
});
|
|
5511
5636
|
}
|
|
5512
5637
|
};
|
|
@@ -5698,7 +5823,7 @@ var _SeamHttpSeamMobileSdkV1AcsCredentials = class _SeamHttpSeamMobileSdkV1AcsCr
|
|
|
5698
5823
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
5699
5824
|
await clientSessions.get();
|
|
5700
5825
|
}
|
|
5701
|
-
list(
|
|
5826
|
+
list(parameters, options = {}) {
|
|
5702
5827
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
5703
5828
|
throw new Error(
|
|
5704
5829
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -5707,8 +5832,9 @@ var _SeamHttpSeamMobileSdkV1AcsCredentials = class _SeamHttpSeamMobileSdkV1AcsCr
|
|
|
5707
5832
|
return new SeamHttpRequest(this, {
|
|
5708
5833
|
pathname: "/seam/mobile_sdk/v1/acs/credentials/list",
|
|
5709
5834
|
method: "POST",
|
|
5710
|
-
body:
|
|
5711
|
-
responseKey: "acs_credentials"
|
|
5835
|
+
body: parameters,
|
|
5836
|
+
responseKey: "acs_credentials",
|
|
5837
|
+
options
|
|
5712
5838
|
});
|
|
5713
5839
|
}
|
|
5714
5840
|
};
|
|
@@ -5900,7 +6026,7 @@ var _SeamHttpSeamMobileSdkV1PhoneSessions = class _SeamHttpSeamMobileSdkV1PhoneS
|
|
|
5900
6026
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
5901
6027
|
await clientSessions.get();
|
|
5902
6028
|
}
|
|
5903
|
-
getOrCreate(
|
|
6029
|
+
getOrCreate(parameters, options = {}) {
|
|
5904
6030
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
5905
6031
|
throw new Error(
|
|
5906
6032
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -5909,8 +6035,9 @@ var _SeamHttpSeamMobileSdkV1PhoneSessions = class _SeamHttpSeamMobileSdkV1PhoneS
|
|
|
5909
6035
|
return new SeamHttpRequest(this, {
|
|
5910
6036
|
pathname: "/seam/mobile_sdk/v1/phone_sessions/get_or_create",
|
|
5911
6037
|
method: "POST",
|
|
5912
|
-
body,
|
|
5913
|
-
responseKey: "phone_session"
|
|
6038
|
+
body: parameters,
|
|
6039
|
+
responseKey: "phone_session",
|
|
6040
|
+
options
|
|
5914
6041
|
});
|
|
5915
6042
|
}
|
|
5916
6043
|
};
|
|
@@ -6105,7 +6232,7 @@ var _SeamHttpSeamPartnerV1BuildingBlocksSpaces = class _SeamHttpSeamPartnerV1Bui
|
|
|
6105
6232
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
6106
6233
|
await clientSessions.get();
|
|
6107
6234
|
}
|
|
6108
|
-
autoMap(
|
|
6235
|
+
autoMap(parameters, options = {}) {
|
|
6109
6236
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
6110
6237
|
throw new Error(
|
|
6111
6238
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -6114,8 +6241,9 @@ var _SeamHttpSeamPartnerV1BuildingBlocksSpaces = class _SeamHttpSeamPartnerV1Bui
|
|
|
6114
6241
|
return new SeamHttpRequest(this, {
|
|
6115
6242
|
pathname: "/seam/partner/v1/building_blocks/spaces/auto_map",
|
|
6116
6243
|
method: "POST",
|
|
6117
|
-
body:
|
|
6118
|
-
responseKey: "spaces"
|
|
6244
|
+
body: parameters,
|
|
6245
|
+
responseKey: "spaces",
|
|
6246
|
+
options
|
|
6119
6247
|
});
|
|
6120
6248
|
}
|
|
6121
6249
|
};
|
|
@@ -6307,7 +6435,7 @@ var _SeamHttpSeamPartnerV1Resources = class _SeamHttpSeamPartnerV1Resources {
|
|
|
6307
6435
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
6308
6436
|
await clientSessions.get();
|
|
6309
6437
|
}
|
|
6310
|
-
list(
|
|
6438
|
+
list(parameters, options = {}) {
|
|
6311
6439
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
6312
6440
|
throw new Error(
|
|
6313
6441
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -6316,8 +6444,9 @@ var _SeamHttpSeamPartnerV1Resources = class _SeamHttpSeamPartnerV1Resources {
|
|
|
6316
6444
|
return new SeamHttpRequest(this, {
|
|
6317
6445
|
pathname: "/seam/partner/v1/resources/list",
|
|
6318
6446
|
method: "POST",
|
|
6319
|
-
body:
|
|
6320
|
-
responseKey: "partner_resources"
|
|
6447
|
+
body: parameters,
|
|
6448
|
+
responseKey: "partner_resources",
|
|
6449
|
+
options
|
|
6321
6450
|
});
|
|
6322
6451
|
}
|
|
6323
6452
|
};
|
|
@@ -6504,76 +6633,85 @@ var _SeamHttpSpaces = class _SeamHttpSpaces {
|
|
|
6504
6633
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
6505
6634
|
await clientSessions.get();
|
|
6506
6635
|
}
|
|
6507
|
-
addAcsEntrances(
|
|
6636
|
+
addAcsEntrances(parameters, options = {}) {
|
|
6508
6637
|
return new SeamHttpRequest(this, {
|
|
6509
6638
|
pathname: "/spaces/add_acs_entrances",
|
|
6510
6639
|
method: "PUT",
|
|
6511
|
-
body,
|
|
6512
|
-
responseKey: void 0
|
|
6640
|
+
body: parameters,
|
|
6641
|
+
responseKey: void 0,
|
|
6642
|
+
options
|
|
6513
6643
|
});
|
|
6514
6644
|
}
|
|
6515
|
-
addDevices(
|
|
6645
|
+
addDevices(parameters, options = {}) {
|
|
6516
6646
|
return new SeamHttpRequest(this, {
|
|
6517
6647
|
pathname: "/spaces/add_devices",
|
|
6518
6648
|
method: "PUT",
|
|
6519
|
-
body,
|
|
6520
|
-
responseKey: void 0
|
|
6649
|
+
body: parameters,
|
|
6650
|
+
responseKey: void 0,
|
|
6651
|
+
options
|
|
6521
6652
|
});
|
|
6522
6653
|
}
|
|
6523
|
-
create(
|
|
6654
|
+
create(parameters, options = {}) {
|
|
6524
6655
|
return new SeamHttpRequest(this, {
|
|
6525
6656
|
pathname: "/spaces/create",
|
|
6526
6657
|
method: "POST",
|
|
6527
|
-
body,
|
|
6528
|
-
responseKey: "space"
|
|
6658
|
+
body: parameters,
|
|
6659
|
+
responseKey: "space",
|
|
6660
|
+
options
|
|
6529
6661
|
});
|
|
6530
6662
|
}
|
|
6531
|
-
delete(
|
|
6663
|
+
delete(parameters, options = {}) {
|
|
6532
6664
|
return new SeamHttpRequest(this, {
|
|
6533
6665
|
pathname: "/spaces/delete",
|
|
6534
6666
|
method: "POST",
|
|
6535
|
-
body:
|
|
6536
|
-
responseKey: void 0
|
|
6667
|
+
body: parameters,
|
|
6668
|
+
responseKey: void 0,
|
|
6669
|
+
options
|
|
6537
6670
|
});
|
|
6538
6671
|
}
|
|
6539
|
-
get(
|
|
6672
|
+
get(parameters, options = {}) {
|
|
6540
6673
|
return new SeamHttpRequest(this, {
|
|
6541
6674
|
pathname: "/spaces/get",
|
|
6542
6675
|
method: "POST",
|
|
6543
|
-
body:
|
|
6544
|
-
responseKey: "space"
|
|
6676
|
+
body: parameters,
|
|
6677
|
+
responseKey: "space",
|
|
6678
|
+
options
|
|
6545
6679
|
});
|
|
6546
6680
|
}
|
|
6547
|
-
list(
|
|
6681
|
+
list(parameters, options = {}) {
|
|
6548
6682
|
return new SeamHttpRequest(this, {
|
|
6549
6683
|
pathname: "/spaces/list",
|
|
6550
6684
|
method: "GET",
|
|
6551
|
-
params,
|
|
6552
|
-
responseKey: "spaces"
|
|
6685
|
+
params: parameters,
|
|
6686
|
+
responseKey: "spaces",
|
|
6687
|
+
options
|
|
6553
6688
|
});
|
|
6554
6689
|
}
|
|
6555
|
-
removeAcsEntrances(
|
|
6690
|
+
removeAcsEntrances(parameters, options = {}) {
|
|
6556
6691
|
return new SeamHttpRequest(this, {
|
|
6557
6692
|
pathname: "/spaces/remove_acs_entrances",
|
|
6558
6693
|
method: "POST",
|
|
6559
|
-
body:
|
|
6560
|
-
responseKey: void 0
|
|
6694
|
+
body: parameters,
|
|
6695
|
+
responseKey: void 0,
|
|
6696
|
+
options
|
|
6561
6697
|
});
|
|
6562
6698
|
}
|
|
6563
|
-
removeDevices(
|
|
6699
|
+
removeDevices(parameters, options = {}) {
|
|
6564
6700
|
return new SeamHttpRequest(this, {
|
|
6565
6701
|
pathname: "/spaces/remove_devices",
|
|
6566
6702
|
method: "POST",
|
|
6567
|
-
body:
|
|
6568
|
-
responseKey: void 0
|
|
6703
|
+
body: parameters,
|
|
6704
|
+
responseKey: void 0,
|
|
6705
|
+
options
|
|
6569
6706
|
});
|
|
6570
6707
|
}
|
|
6571
|
-
update(
|
|
6708
|
+
update(parameters, options = {}) {
|
|
6572
6709
|
return new SeamHttpRequest(this, {
|
|
6573
6710
|
pathname: "/spaces/update",
|
|
6574
6711
|
method: "PATCH",
|
|
6575
|
-
body,
|
|
6576
|
-
responseKey: "space"
|
|
6712
|
+
body: parameters,
|
|
6713
|
+
responseKey: "space",
|
|
6714
|
+
options
|
|
6577
6715
|
});
|
|
6578
6716
|
}
|
|
6579
6717
|
};
|
|
@@ -6664,27 +6802,29 @@ var _SeamHttpThermostatsDailyPrograms = class _SeamHttpThermostatsDailyPrograms
|
|
|
6664
6802
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
6665
6803
|
await clientSessions.get();
|
|
6666
6804
|
}
|
|
6667
|
-
create(
|
|
6805
|
+
create(parameters, options = {}) {
|
|
6668
6806
|
return new SeamHttpRequest(this, {
|
|
6669
6807
|
pathname: "/thermostats/daily_programs/create",
|
|
6670
6808
|
method: "POST",
|
|
6671
|
-
body,
|
|
6672
|
-
responseKey: "thermostat_daily_program"
|
|
6809
|
+
body: parameters,
|
|
6810
|
+
responseKey: "thermostat_daily_program",
|
|
6811
|
+
options
|
|
6673
6812
|
});
|
|
6674
6813
|
}
|
|
6675
|
-
delete(
|
|
6814
|
+
delete(parameters, options = {}) {
|
|
6676
6815
|
return new SeamHttpRequest(this, {
|
|
6677
6816
|
pathname: "/thermostats/daily_programs/delete",
|
|
6678
6817
|
method: "POST",
|
|
6679
|
-
body:
|
|
6680
|
-
responseKey: void 0
|
|
6818
|
+
body: parameters,
|
|
6819
|
+
responseKey: void 0,
|
|
6820
|
+
options
|
|
6681
6821
|
});
|
|
6682
6822
|
}
|
|
6683
|
-
update(
|
|
6823
|
+
update(parameters, options = {}) {
|
|
6684
6824
|
return new SeamHttpRequest(this, {
|
|
6685
6825
|
pathname: "/thermostats/daily_programs/update",
|
|
6686
6826
|
method: "PATCH",
|
|
6687
|
-
body,
|
|
6827
|
+
body: parameters,
|
|
6688
6828
|
responseKey: "action_attempt",
|
|
6689
6829
|
options
|
|
6690
6830
|
});
|
|
@@ -6774,44 +6914,49 @@ var _SeamHttpThermostatsSchedules = class _SeamHttpThermostatsSchedules {
|
|
|
6774
6914
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
6775
6915
|
await clientSessions.get();
|
|
6776
6916
|
}
|
|
6777
|
-
create(
|
|
6917
|
+
create(parameters, options = {}) {
|
|
6778
6918
|
return new SeamHttpRequest(this, {
|
|
6779
6919
|
pathname: "/thermostats/schedules/create",
|
|
6780
6920
|
method: "POST",
|
|
6781
|
-
body,
|
|
6782
|
-
responseKey: "thermostat_schedule"
|
|
6921
|
+
body: parameters,
|
|
6922
|
+
responseKey: "thermostat_schedule",
|
|
6923
|
+
options
|
|
6783
6924
|
});
|
|
6784
6925
|
}
|
|
6785
|
-
delete(
|
|
6926
|
+
delete(parameters, options = {}) {
|
|
6786
6927
|
return new SeamHttpRequest(this, {
|
|
6787
6928
|
pathname: "/thermostats/schedules/delete",
|
|
6788
6929
|
method: "POST",
|
|
6789
|
-
body:
|
|
6790
|
-
responseKey: void 0
|
|
6930
|
+
body: parameters,
|
|
6931
|
+
responseKey: void 0,
|
|
6932
|
+
options
|
|
6791
6933
|
});
|
|
6792
6934
|
}
|
|
6793
|
-
get(
|
|
6935
|
+
get(parameters, options = {}) {
|
|
6794
6936
|
return new SeamHttpRequest(this, {
|
|
6795
6937
|
pathname: "/thermostats/schedules/get",
|
|
6796
6938
|
method: "POST",
|
|
6797
|
-
body:
|
|
6798
|
-
responseKey: "thermostat_schedule"
|
|
6939
|
+
body: parameters,
|
|
6940
|
+
responseKey: "thermostat_schedule",
|
|
6941
|
+
options
|
|
6799
6942
|
});
|
|
6800
6943
|
}
|
|
6801
|
-
list(
|
|
6944
|
+
list(parameters, options = {}) {
|
|
6802
6945
|
return new SeamHttpRequest(this, {
|
|
6803
6946
|
pathname: "/thermostats/schedules/list",
|
|
6804
6947
|
method: "POST",
|
|
6805
|
-
body:
|
|
6806
|
-
responseKey: "thermostat_schedules"
|
|
6948
|
+
body: parameters,
|
|
6949
|
+
responseKey: "thermostat_schedules",
|
|
6950
|
+
options
|
|
6807
6951
|
});
|
|
6808
6952
|
}
|
|
6809
|
-
update(
|
|
6953
|
+
update(parameters, options = {}) {
|
|
6810
6954
|
return new SeamHttpRequest(this, {
|
|
6811
6955
|
pathname: "/thermostats/schedules/update",
|
|
6812
6956
|
method: "PATCH",
|
|
6813
|
-
body,
|
|
6814
|
-
responseKey: void 0
|
|
6957
|
+
body: parameters,
|
|
6958
|
+
responseKey: void 0,
|
|
6959
|
+
options
|
|
6815
6960
|
});
|
|
6816
6961
|
}
|
|
6817
6962
|
};
|
|
@@ -6899,20 +7044,22 @@ var _SeamHttpThermostatsSimulate = class _SeamHttpThermostatsSimulate {
|
|
|
6899
7044
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
6900
7045
|
await clientSessions.get();
|
|
6901
7046
|
}
|
|
6902
|
-
hvacModeAdjusted(
|
|
7047
|
+
hvacModeAdjusted(parameters, options = {}) {
|
|
6903
7048
|
return new SeamHttpRequest(this, {
|
|
6904
7049
|
pathname: "/thermostats/simulate/hvac_mode_adjusted",
|
|
6905
7050
|
method: "POST",
|
|
6906
|
-
body,
|
|
6907
|
-
responseKey: void 0
|
|
7051
|
+
body: parameters,
|
|
7052
|
+
responseKey: void 0,
|
|
7053
|
+
options
|
|
6908
7054
|
});
|
|
6909
7055
|
}
|
|
6910
|
-
temperatureReached(
|
|
7056
|
+
temperatureReached(parameters, options = {}) {
|
|
6911
7057
|
return new SeamHttpRequest(this, {
|
|
6912
7058
|
pathname: "/thermostats/simulate/temperature_reached",
|
|
6913
7059
|
method: "POST",
|
|
6914
|
-
body,
|
|
6915
|
-
responseKey: void 0
|
|
7060
|
+
body: parameters,
|
|
7061
|
+
responseKey: void 0,
|
|
7062
|
+
options
|
|
6916
7063
|
});
|
|
6917
7064
|
}
|
|
6918
7065
|
};
|
|
@@ -7012,41 +7159,43 @@ var _SeamHttpThermostats = class _SeamHttpThermostats {
|
|
|
7012
7159
|
get simulate() {
|
|
7013
7160
|
return SeamHttpThermostatsSimulate.fromClient(this.client, this.defaults);
|
|
7014
7161
|
}
|
|
7015
|
-
activateClimatePreset(
|
|
7162
|
+
activateClimatePreset(parameters, options = {}) {
|
|
7016
7163
|
return new SeamHttpRequest(this, {
|
|
7017
7164
|
pathname: "/thermostats/activate_climate_preset",
|
|
7018
7165
|
method: "POST",
|
|
7019
|
-
body,
|
|
7166
|
+
body: parameters,
|
|
7020
7167
|
responseKey: "action_attempt",
|
|
7021
7168
|
options
|
|
7022
7169
|
});
|
|
7023
7170
|
}
|
|
7024
|
-
cool(
|
|
7171
|
+
cool(parameters, options = {}) {
|
|
7025
7172
|
return new SeamHttpRequest(this, {
|
|
7026
7173
|
pathname: "/thermostats/cool",
|
|
7027
7174
|
method: "POST",
|
|
7028
|
-
body,
|
|
7175
|
+
body: parameters,
|
|
7029
7176
|
responseKey: "action_attempt",
|
|
7030
7177
|
options
|
|
7031
7178
|
});
|
|
7032
7179
|
}
|
|
7033
|
-
createClimatePreset(
|
|
7180
|
+
createClimatePreset(parameters, options = {}) {
|
|
7034
7181
|
return new SeamHttpRequest(this, {
|
|
7035
7182
|
pathname: "/thermostats/create_climate_preset",
|
|
7036
7183
|
method: "POST",
|
|
7037
|
-
body,
|
|
7038
|
-
responseKey: void 0
|
|
7184
|
+
body: parameters,
|
|
7185
|
+
responseKey: void 0,
|
|
7186
|
+
options
|
|
7039
7187
|
});
|
|
7040
7188
|
}
|
|
7041
|
-
deleteClimatePreset(
|
|
7189
|
+
deleteClimatePreset(parameters, options = {}) {
|
|
7042
7190
|
return new SeamHttpRequest(this, {
|
|
7043
7191
|
pathname: "/thermostats/delete_climate_preset",
|
|
7044
7192
|
method: "POST",
|
|
7045
|
-
body:
|
|
7046
|
-
responseKey: void 0
|
|
7193
|
+
body: parameters,
|
|
7194
|
+
responseKey: void 0,
|
|
7195
|
+
options
|
|
7047
7196
|
});
|
|
7048
7197
|
}
|
|
7049
|
-
get(
|
|
7198
|
+
get(parameters, options = {}) {
|
|
7050
7199
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
7051
7200
|
throw new Error(
|
|
7052
7201
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -7055,92 +7204,97 @@ var _SeamHttpThermostats = class _SeamHttpThermostats {
|
|
|
7055
7204
|
return new SeamHttpRequest(this, {
|
|
7056
7205
|
pathname: "/thermostats/get",
|
|
7057
7206
|
method: "POST",
|
|
7058
|
-
body:
|
|
7059
|
-
responseKey: "thermostat"
|
|
7207
|
+
body: parameters,
|
|
7208
|
+
responseKey: "thermostat",
|
|
7209
|
+
options
|
|
7060
7210
|
});
|
|
7061
7211
|
}
|
|
7062
|
-
heat(
|
|
7212
|
+
heat(parameters, options = {}) {
|
|
7063
7213
|
return new SeamHttpRequest(this, {
|
|
7064
7214
|
pathname: "/thermostats/heat",
|
|
7065
7215
|
method: "POST",
|
|
7066
|
-
body,
|
|
7216
|
+
body: parameters,
|
|
7067
7217
|
responseKey: "action_attempt",
|
|
7068
7218
|
options
|
|
7069
7219
|
});
|
|
7070
7220
|
}
|
|
7071
|
-
heatCool(
|
|
7221
|
+
heatCool(parameters, options = {}) {
|
|
7072
7222
|
return new SeamHttpRequest(this, {
|
|
7073
7223
|
pathname: "/thermostats/heat_cool",
|
|
7074
7224
|
method: "POST",
|
|
7075
|
-
body,
|
|
7225
|
+
body: parameters,
|
|
7076
7226
|
responseKey: "action_attempt",
|
|
7077
7227
|
options
|
|
7078
7228
|
});
|
|
7079
7229
|
}
|
|
7080
|
-
list(
|
|
7230
|
+
list(parameters, options = {}) {
|
|
7081
7231
|
return new SeamHttpRequest(this, {
|
|
7082
7232
|
pathname: "/thermostats/list",
|
|
7083
7233
|
method: "POST",
|
|
7084
|
-
body:
|
|
7085
|
-
responseKey: "devices"
|
|
7234
|
+
body: parameters,
|
|
7235
|
+
responseKey: "devices",
|
|
7236
|
+
options
|
|
7086
7237
|
});
|
|
7087
7238
|
}
|
|
7088
|
-
off(
|
|
7239
|
+
off(parameters, options = {}) {
|
|
7089
7240
|
return new SeamHttpRequest(this, {
|
|
7090
7241
|
pathname: "/thermostats/off",
|
|
7091
7242
|
method: "POST",
|
|
7092
|
-
body,
|
|
7243
|
+
body: parameters,
|
|
7093
7244
|
responseKey: "action_attempt",
|
|
7094
7245
|
options
|
|
7095
7246
|
});
|
|
7096
7247
|
}
|
|
7097
|
-
setFallbackClimatePreset(
|
|
7248
|
+
setFallbackClimatePreset(parameters, options = {}) {
|
|
7098
7249
|
return new SeamHttpRequest(this, {
|
|
7099
7250
|
pathname: "/thermostats/set_fallback_climate_preset",
|
|
7100
7251
|
method: "POST",
|
|
7101
|
-
body,
|
|
7102
|
-
responseKey: void 0
|
|
7252
|
+
body: parameters,
|
|
7253
|
+
responseKey: void 0,
|
|
7254
|
+
options
|
|
7103
7255
|
});
|
|
7104
7256
|
}
|
|
7105
|
-
setFanMode(
|
|
7257
|
+
setFanMode(parameters, options = {}) {
|
|
7106
7258
|
return new SeamHttpRequest(this, {
|
|
7107
7259
|
pathname: "/thermostats/set_fan_mode",
|
|
7108
7260
|
method: "POST",
|
|
7109
|
-
body,
|
|
7261
|
+
body: parameters,
|
|
7110
7262
|
responseKey: "action_attempt",
|
|
7111
7263
|
options
|
|
7112
7264
|
});
|
|
7113
7265
|
}
|
|
7114
|
-
setHvacMode(
|
|
7266
|
+
setHvacMode(parameters, options = {}) {
|
|
7115
7267
|
return new SeamHttpRequest(this, {
|
|
7116
7268
|
pathname: "/thermostats/set_hvac_mode",
|
|
7117
7269
|
method: "POST",
|
|
7118
|
-
body,
|
|
7270
|
+
body: parameters,
|
|
7119
7271
|
responseKey: "action_attempt",
|
|
7120
7272
|
options
|
|
7121
7273
|
});
|
|
7122
7274
|
}
|
|
7123
|
-
setTemperatureThreshold(
|
|
7275
|
+
setTemperatureThreshold(parameters, options = {}) {
|
|
7124
7276
|
return new SeamHttpRequest(this, {
|
|
7125
7277
|
pathname: "/thermostats/set_temperature_threshold",
|
|
7126
7278
|
method: "PATCH",
|
|
7127
|
-
body,
|
|
7128
|
-
responseKey: void 0
|
|
7279
|
+
body: parameters,
|
|
7280
|
+
responseKey: void 0,
|
|
7281
|
+
options
|
|
7129
7282
|
});
|
|
7130
7283
|
}
|
|
7131
|
-
updateClimatePreset(
|
|
7284
|
+
updateClimatePreset(parameters, options = {}) {
|
|
7132
7285
|
return new SeamHttpRequest(this, {
|
|
7133
7286
|
pathname: "/thermostats/update_climate_preset",
|
|
7134
7287
|
method: "PATCH",
|
|
7135
|
-
body,
|
|
7136
|
-
responseKey: void 0
|
|
7288
|
+
body: parameters,
|
|
7289
|
+
responseKey: void 0,
|
|
7290
|
+
options
|
|
7137
7291
|
});
|
|
7138
7292
|
}
|
|
7139
|
-
updateWeeklyProgram(
|
|
7293
|
+
updateWeeklyProgram(parameters, options = {}) {
|
|
7140
7294
|
return new SeamHttpRequest(this, {
|
|
7141
7295
|
pathname: "/thermostats/update_weekly_program",
|
|
7142
7296
|
method: "POST",
|
|
7143
|
-
body,
|
|
7297
|
+
body: parameters,
|
|
7144
7298
|
responseKey: "action_attempt",
|
|
7145
7299
|
options
|
|
7146
7300
|
});
|
|
@@ -7235,7 +7389,7 @@ var _SeamHttpUnstableAccessGrants = class _SeamHttpUnstableAccessGrants {
|
|
|
7235
7389
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
7236
7390
|
await clientSessions.get();
|
|
7237
7391
|
}
|
|
7238
|
-
create(
|
|
7392
|
+
create(parameters, options = {}) {
|
|
7239
7393
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
7240
7394
|
throw new Error(
|
|
7241
7395
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -7244,11 +7398,12 @@ var _SeamHttpUnstableAccessGrants = class _SeamHttpUnstableAccessGrants {
|
|
|
7244
7398
|
return new SeamHttpRequest(this, {
|
|
7245
7399
|
pathname: "/unstable_access_grants/create",
|
|
7246
7400
|
method: "POST",
|
|
7247
|
-
body,
|
|
7248
|
-
responseKey: "access_grant"
|
|
7401
|
+
body: parameters,
|
|
7402
|
+
responseKey: "access_grant",
|
|
7403
|
+
options
|
|
7249
7404
|
});
|
|
7250
7405
|
}
|
|
7251
|
-
delete(
|
|
7406
|
+
delete(parameters, options = {}) {
|
|
7252
7407
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
7253
7408
|
throw new Error(
|
|
7254
7409
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -7257,11 +7412,12 @@ var _SeamHttpUnstableAccessGrants = class _SeamHttpUnstableAccessGrants {
|
|
|
7257
7412
|
return new SeamHttpRequest(this, {
|
|
7258
7413
|
pathname: "/unstable_access_grants/delete",
|
|
7259
7414
|
method: "POST",
|
|
7260
|
-
body:
|
|
7261
|
-
responseKey: void 0
|
|
7415
|
+
body: parameters,
|
|
7416
|
+
responseKey: void 0,
|
|
7417
|
+
options
|
|
7262
7418
|
});
|
|
7263
7419
|
}
|
|
7264
|
-
get(
|
|
7420
|
+
get(parameters, options = {}) {
|
|
7265
7421
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
7266
7422
|
throw new Error(
|
|
7267
7423
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -7270,11 +7426,12 @@ var _SeamHttpUnstableAccessGrants = class _SeamHttpUnstableAccessGrants {
|
|
|
7270
7426
|
return new SeamHttpRequest(this, {
|
|
7271
7427
|
pathname: "/unstable_access_grants/get",
|
|
7272
7428
|
method: "POST",
|
|
7273
|
-
body:
|
|
7274
|
-
responseKey: "access_grant"
|
|
7429
|
+
body: parameters,
|
|
7430
|
+
responseKey: "access_grant",
|
|
7431
|
+
options
|
|
7275
7432
|
});
|
|
7276
7433
|
}
|
|
7277
|
-
list(
|
|
7434
|
+
list(parameters, options = {}) {
|
|
7278
7435
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
7279
7436
|
throw new Error(
|
|
7280
7437
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -7283,8 +7440,9 @@ var _SeamHttpUnstableAccessGrants = class _SeamHttpUnstableAccessGrants {
|
|
|
7283
7440
|
return new SeamHttpRequest(this, {
|
|
7284
7441
|
pathname: "/unstable_access_grants/list",
|
|
7285
7442
|
method: "POST",
|
|
7286
|
-
body:
|
|
7287
|
-
responseKey: "access_grants"
|
|
7443
|
+
body: parameters,
|
|
7444
|
+
responseKey: "access_grants",
|
|
7445
|
+
options
|
|
7288
7446
|
});
|
|
7289
7447
|
}
|
|
7290
7448
|
};
|
|
@@ -7377,7 +7535,7 @@ var _SeamHttpUnstableAccessMethods = class _SeamHttpUnstableAccessMethods {
|
|
|
7377
7535
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
7378
7536
|
await clientSessions.get();
|
|
7379
7537
|
}
|
|
7380
|
-
delete(
|
|
7538
|
+
delete(parameters, options = {}) {
|
|
7381
7539
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
7382
7540
|
throw new Error(
|
|
7383
7541
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -7386,11 +7544,12 @@ var _SeamHttpUnstableAccessMethods = class _SeamHttpUnstableAccessMethods {
|
|
|
7386
7544
|
return new SeamHttpRequest(this, {
|
|
7387
7545
|
pathname: "/unstable_access_methods/delete",
|
|
7388
7546
|
method: "POST",
|
|
7389
|
-
body:
|
|
7390
|
-
responseKey: void 0
|
|
7547
|
+
body: parameters,
|
|
7548
|
+
responseKey: void 0,
|
|
7549
|
+
options
|
|
7391
7550
|
});
|
|
7392
7551
|
}
|
|
7393
|
-
get(
|
|
7552
|
+
get(parameters, options = {}) {
|
|
7394
7553
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
7395
7554
|
throw new Error(
|
|
7396
7555
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -7399,11 +7558,12 @@ var _SeamHttpUnstableAccessMethods = class _SeamHttpUnstableAccessMethods {
|
|
|
7399
7558
|
return new SeamHttpRequest(this, {
|
|
7400
7559
|
pathname: "/unstable_access_methods/get",
|
|
7401
7560
|
method: "POST",
|
|
7402
|
-
body:
|
|
7403
|
-
responseKey: "access_method"
|
|
7561
|
+
body: parameters,
|
|
7562
|
+
responseKey: "access_method",
|
|
7563
|
+
options
|
|
7404
7564
|
});
|
|
7405
7565
|
}
|
|
7406
|
-
list(
|
|
7566
|
+
list(parameters, options = {}) {
|
|
7407
7567
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
7408
7568
|
throw new Error(
|
|
7409
7569
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -7412,8 +7572,9 @@ var _SeamHttpUnstableAccessMethods = class _SeamHttpUnstableAccessMethods {
|
|
|
7412
7572
|
return new SeamHttpRequest(this, {
|
|
7413
7573
|
pathname: "/unstable_access_methods/list",
|
|
7414
7574
|
method: "POST",
|
|
7415
|
-
body:
|
|
7416
|
-
responseKey: "access_methods"
|
|
7575
|
+
body: parameters,
|
|
7576
|
+
responseKey: "access_methods",
|
|
7577
|
+
options
|
|
7417
7578
|
});
|
|
7418
7579
|
}
|
|
7419
7580
|
};
|
|
@@ -7506,7 +7667,7 @@ var _SeamHttpUnstableLocations = class _SeamHttpUnstableLocations {
|
|
|
7506
7667
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
7507
7668
|
await clientSessions.get();
|
|
7508
7669
|
}
|
|
7509
|
-
addAcsEntrances(
|
|
7670
|
+
addAcsEntrances(parameters, options = {}) {
|
|
7510
7671
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
7511
7672
|
throw new Error(
|
|
7512
7673
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -7515,11 +7676,12 @@ var _SeamHttpUnstableLocations = class _SeamHttpUnstableLocations {
|
|
|
7515
7676
|
return new SeamHttpRequest(this, {
|
|
7516
7677
|
pathname: "/unstable_locations/add_acs_entrances",
|
|
7517
7678
|
method: "PUT",
|
|
7518
|
-
body,
|
|
7519
|
-
responseKey: void 0
|
|
7679
|
+
body: parameters,
|
|
7680
|
+
responseKey: void 0,
|
|
7681
|
+
options
|
|
7520
7682
|
});
|
|
7521
7683
|
}
|
|
7522
|
-
addDevices(
|
|
7684
|
+
addDevices(parameters, options = {}) {
|
|
7523
7685
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
7524
7686
|
throw new Error(
|
|
7525
7687
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -7528,11 +7690,12 @@ var _SeamHttpUnstableLocations = class _SeamHttpUnstableLocations {
|
|
|
7528
7690
|
return new SeamHttpRequest(this, {
|
|
7529
7691
|
pathname: "/unstable_locations/add_devices",
|
|
7530
7692
|
method: "PUT",
|
|
7531
|
-
body,
|
|
7532
|
-
responseKey: void 0
|
|
7693
|
+
body: parameters,
|
|
7694
|
+
responseKey: void 0,
|
|
7695
|
+
options
|
|
7533
7696
|
});
|
|
7534
7697
|
}
|
|
7535
|
-
create(
|
|
7698
|
+
create(parameters, options = {}) {
|
|
7536
7699
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
7537
7700
|
throw new Error(
|
|
7538
7701
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -7541,11 +7704,12 @@ var _SeamHttpUnstableLocations = class _SeamHttpUnstableLocations {
|
|
|
7541
7704
|
return new SeamHttpRequest(this, {
|
|
7542
7705
|
pathname: "/unstable_locations/create",
|
|
7543
7706
|
method: "POST",
|
|
7544
|
-
body,
|
|
7545
|
-
responseKey: "location"
|
|
7707
|
+
body: parameters,
|
|
7708
|
+
responseKey: "location",
|
|
7709
|
+
options
|
|
7546
7710
|
});
|
|
7547
7711
|
}
|
|
7548
|
-
delete(
|
|
7712
|
+
delete(parameters, options = {}) {
|
|
7549
7713
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
7550
7714
|
throw new Error(
|
|
7551
7715
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -7554,11 +7718,12 @@ var _SeamHttpUnstableLocations = class _SeamHttpUnstableLocations {
|
|
|
7554
7718
|
return new SeamHttpRequest(this, {
|
|
7555
7719
|
pathname: "/unstable_locations/delete",
|
|
7556
7720
|
method: "POST",
|
|
7557
|
-
body:
|
|
7558
|
-
responseKey: void 0
|
|
7721
|
+
body: parameters,
|
|
7722
|
+
responseKey: void 0,
|
|
7723
|
+
options
|
|
7559
7724
|
});
|
|
7560
7725
|
}
|
|
7561
|
-
get(
|
|
7726
|
+
get(parameters, options = {}) {
|
|
7562
7727
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
7563
7728
|
throw new Error(
|
|
7564
7729
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -7567,11 +7732,12 @@ var _SeamHttpUnstableLocations = class _SeamHttpUnstableLocations {
|
|
|
7567
7732
|
return new SeamHttpRequest(this, {
|
|
7568
7733
|
pathname: "/unstable_locations/get",
|
|
7569
7734
|
method: "POST",
|
|
7570
|
-
body:
|
|
7571
|
-
responseKey: "location"
|
|
7735
|
+
body: parameters,
|
|
7736
|
+
responseKey: "location",
|
|
7737
|
+
options
|
|
7572
7738
|
});
|
|
7573
7739
|
}
|
|
7574
|
-
list(
|
|
7740
|
+
list(parameters, options = {}) {
|
|
7575
7741
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
7576
7742
|
throw new Error(
|
|
7577
7743
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -7580,11 +7746,12 @@ var _SeamHttpUnstableLocations = class _SeamHttpUnstableLocations {
|
|
|
7580
7746
|
return new SeamHttpRequest(this, {
|
|
7581
7747
|
pathname: "/unstable_locations/list",
|
|
7582
7748
|
method: "GET",
|
|
7583
|
-
params,
|
|
7584
|
-
responseKey: "locations"
|
|
7749
|
+
params: parameters,
|
|
7750
|
+
responseKey: "locations",
|
|
7751
|
+
options
|
|
7585
7752
|
});
|
|
7586
7753
|
}
|
|
7587
|
-
removeAcsEntrances(
|
|
7754
|
+
removeAcsEntrances(parameters, options = {}) {
|
|
7588
7755
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
7589
7756
|
throw new Error(
|
|
7590
7757
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -7593,11 +7760,12 @@ var _SeamHttpUnstableLocations = class _SeamHttpUnstableLocations {
|
|
|
7593
7760
|
return new SeamHttpRequest(this, {
|
|
7594
7761
|
pathname: "/unstable_locations/remove_acs_entrances",
|
|
7595
7762
|
method: "POST",
|
|
7596
|
-
body:
|
|
7597
|
-
responseKey: void 0
|
|
7763
|
+
body: parameters,
|
|
7764
|
+
responseKey: void 0,
|
|
7765
|
+
options
|
|
7598
7766
|
});
|
|
7599
7767
|
}
|
|
7600
|
-
removeDevices(
|
|
7768
|
+
removeDevices(parameters, options = {}) {
|
|
7601
7769
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
7602
7770
|
throw new Error(
|
|
7603
7771
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -7606,11 +7774,12 @@ var _SeamHttpUnstableLocations = class _SeamHttpUnstableLocations {
|
|
|
7606
7774
|
return new SeamHttpRequest(this, {
|
|
7607
7775
|
pathname: "/unstable_locations/remove_devices",
|
|
7608
7776
|
method: "POST",
|
|
7609
|
-
body:
|
|
7610
|
-
responseKey: void 0
|
|
7777
|
+
body: parameters,
|
|
7778
|
+
responseKey: void 0,
|
|
7779
|
+
options
|
|
7611
7780
|
});
|
|
7612
7781
|
}
|
|
7613
|
-
update(
|
|
7782
|
+
update(parameters, options = {}) {
|
|
7614
7783
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
7615
7784
|
throw new Error(
|
|
7616
7785
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -7619,8 +7788,9 @@ var _SeamHttpUnstableLocations = class _SeamHttpUnstableLocations {
|
|
|
7619
7788
|
return new SeamHttpRequest(this, {
|
|
7620
7789
|
pathname: "/unstable_locations/update",
|
|
7621
7790
|
method: "PATCH",
|
|
7622
|
-
body,
|
|
7623
|
-
responseKey: "location"
|
|
7791
|
+
body: parameters,
|
|
7792
|
+
responseKey: "location",
|
|
7793
|
+
options
|
|
7624
7794
|
});
|
|
7625
7795
|
}
|
|
7626
7796
|
};
|
|
@@ -7716,7 +7886,7 @@ var _SeamHttpUnstablePartnerBuildingBlocks = class _SeamHttpUnstablePartnerBuild
|
|
|
7716
7886
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
7717
7887
|
await clientSessions.get();
|
|
7718
7888
|
}
|
|
7719
|
-
connectAccounts(
|
|
7889
|
+
connectAccounts(parameters, options = {}) {
|
|
7720
7890
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
7721
7891
|
throw new Error(
|
|
7722
7892
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -7725,11 +7895,12 @@ var _SeamHttpUnstablePartnerBuildingBlocks = class _SeamHttpUnstablePartnerBuild
|
|
|
7725
7895
|
return new SeamHttpRequest(this, {
|
|
7726
7896
|
pathname: "/unstable_partner/building_blocks/connect_accounts",
|
|
7727
7897
|
method: "POST",
|
|
7728
|
-
body,
|
|
7729
|
-
responseKey: "magic_link"
|
|
7898
|
+
body: parameters,
|
|
7899
|
+
responseKey: "magic_link",
|
|
7900
|
+
options
|
|
7730
7901
|
});
|
|
7731
7902
|
}
|
|
7732
|
-
generateMagicLink(
|
|
7903
|
+
generateMagicLink(parameters, options = {}) {
|
|
7733
7904
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
7734
7905
|
throw new Error(
|
|
7735
7906
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -7738,11 +7909,12 @@ var _SeamHttpUnstablePartnerBuildingBlocks = class _SeamHttpUnstablePartnerBuild
|
|
|
7738
7909
|
return new SeamHttpRequest(this, {
|
|
7739
7910
|
pathname: "/unstable_partner/building_blocks/generate_magic_link",
|
|
7740
7911
|
method: "POST",
|
|
7741
|
-
body:
|
|
7742
|
-
responseKey: "magic_link"
|
|
7912
|
+
body: parameters,
|
|
7913
|
+
responseKey: "magic_link",
|
|
7914
|
+
options
|
|
7743
7915
|
});
|
|
7744
7916
|
}
|
|
7745
|
-
manageDevices(
|
|
7917
|
+
manageDevices(parameters, options = {}) {
|
|
7746
7918
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
7747
7919
|
throw new Error(
|
|
7748
7920
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -7751,11 +7923,12 @@ var _SeamHttpUnstablePartnerBuildingBlocks = class _SeamHttpUnstablePartnerBuild
|
|
|
7751
7923
|
return new SeamHttpRequest(this, {
|
|
7752
7924
|
pathname: "/unstable_partner/building_blocks/manage_devices",
|
|
7753
7925
|
method: "POST",
|
|
7754
|
-
body,
|
|
7755
|
-
responseKey: "magic_link"
|
|
7926
|
+
body: parameters,
|
|
7927
|
+
responseKey: "magic_link",
|
|
7928
|
+
options
|
|
7756
7929
|
});
|
|
7757
7930
|
}
|
|
7758
|
-
organizeSpaces(
|
|
7931
|
+
organizeSpaces(parameters, options = {}) {
|
|
7759
7932
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
7760
7933
|
throw new Error(
|
|
7761
7934
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -7764,8 +7937,9 @@ var _SeamHttpUnstablePartnerBuildingBlocks = class _SeamHttpUnstablePartnerBuild
|
|
|
7764
7937
|
return new SeamHttpRequest(this, {
|
|
7765
7938
|
pathname: "/unstable_partner/building_blocks/organize_spaces",
|
|
7766
7939
|
method: "POST",
|
|
7767
|
-
body,
|
|
7768
|
-
responseKey: "magic_link"
|
|
7940
|
+
body: parameters,
|
|
7941
|
+
responseKey: "magic_link",
|
|
7942
|
+
options
|
|
7769
7943
|
});
|
|
7770
7944
|
}
|
|
7771
7945
|
};
|
|
@@ -7861,7 +8035,7 @@ var _SeamHttpUnstablePartnerResources = class _SeamHttpUnstablePartnerResources
|
|
|
7861
8035
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
7862
8036
|
await clientSessions.get();
|
|
7863
8037
|
}
|
|
7864
|
-
push(
|
|
8038
|
+
push(parameters, options = {}) {
|
|
7865
8039
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
7866
8040
|
throw new Error(
|
|
7867
8041
|
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
@@ -7870,8 +8044,9 @@ var _SeamHttpUnstablePartnerResources = class _SeamHttpUnstablePartnerResources
|
|
|
7870
8044
|
return new SeamHttpRequest(this, {
|
|
7871
8045
|
pathname: "/unstable_partner/resources/push",
|
|
7872
8046
|
method: "POST",
|
|
7873
|
-
body,
|
|
7874
|
-
responseKey: void 0
|
|
8047
|
+
body: parameters,
|
|
8048
|
+
responseKey: void 0,
|
|
8049
|
+
options
|
|
7875
8050
|
});
|
|
7876
8051
|
}
|
|
7877
8052
|
};
|
|
@@ -8064,36 +8239,40 @@ var _SeamHttpUserIdentitiesEnrollmentAutomations = class _SeamHttpUserIdentities
|
|
|
8064
8239
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
8065
8240
|
await clientSessions.get();
|
|
8066
8241
|
}
|
|
8067
|
-
delete(
|
|
8242
|
+
delete(parameters, options = {}) {
|
|
8068
8243
|
return new SeamHttpRequest(this, {
|
|
8069
8244
|
pathname: "/user_identities/enrollment_automations/delete",
|
|
8070
8245
|
method: "POST",
|
|
8071
|
-
body:
|
|
8072
|
-
responseKey: void 0
|
|
8246
|
+
body: parameters,
|
|
8247
|
+
responseKey: void 0,
|
|
8248
|
+
options
|
|
8073
8249
|
});
|
|
8074
8250
|
}
|
|
8075
|
-
get(
|
|
8251
|
+
get(parameters, options = {}) {
|
|
8076
8252
|
return new SeamHttpRequest(this, {
|
|
8077
8253
|
pathname: "/user_identities/enrollment_automations/get",
|
|
8078
8254
|
method: "POST",
|
|
8079
|
-
body:
|
|
8080
|
-
responseKey: "enrollment_automation"
|
|
8255
|
+
body: parameters,
|
|
8256
|
+
responseKey: "enrollment_automation",
|
|
8257
|
+
options
|
|
8081
8258
|
});
|
|
8082
8259
|
}
|
|
8083
|
-
launch(
|
|
8260
|
+
launch(parameters, options = {}) {
|
|
8084
8261
|
return new SeamHttpRequest(this, {
|
|
8085
8262
|
pathname: "/user_identities/enrollment_automations/launch",
|
|
8086
8263
|
method: "POST",
|
|
8087
|
-
body,
|
|
8088
|
-
responseKey: "enrollment_automation"
|
|
8264
|
+
body: parameters,
|
|
8265
|
+
responseKey: "enrollment_automation",
|
|
8266
|
+
options
|
|
8089
8267
|
});
|
|
8090
8268
|
}
|
|
8091
|
-
list(
|
|
8269
|
+
list(parameters, options = {}) {
|
|
8092
8270
|
return new SeamHttpRequest(this, {
|
|
8093
8271
|
pathname: "/user_identities/enrollment_automations/list",
|
|
8094
8272
|
method: "POST",
|
|
8095
|
-
body:
|
|
8096
|
-
responseKey: "enrollment_automations"
|
|
8273
|
+
body: parameters,
|
|
8274
|
+
responseKey: "enrollment_automations",
|
|
8275
|
+
options
|
|
8097
8276
|
});
|
|
8098
8277
|
}
|
|
8099
8278
|
};
|
|
@@ -8187,108 +8366,121 @@ var _SeamHttpUserIdentities = class _SeamHttpUserIdentities {
|
|
|
8187
8366
|
this.defaults
|
|
8188
8367
|
);
|
|
8189
8368
|
}
|
|
8190
|
-
addAcsUser(
|
|
8369
|
+
addAcsUser(parameters, options = {}) {
|
|
8191
8370
|
return new SeamHttpRequest(this, {
|
|
8192
8371
|
pathname: "/user_identities/add_acs_user",
|
|
8193
8372
|
method: "PUT",
|
|
8194
|
-
body,
|
|
8195
|
-
responseKey: void 0
|
|
8373
|
+
body: parameters,
|
|
8374
|
+
responseKey: void 0,
|
|
8375
|
+
options
|
|
8196
8376
|
});
|
|
8197
8377
|
}
|
|
8198
|
-
create(
|
|
8378
|
+
create(parameters, options = {}) {
|
|
8199
8379
|
return new SeamHttpRequest(this, {
|
|
8200
8380
|
pathname: "/user_identities/create",
|
|
8201
8381
|
method: "POST",
|
|
8202
|
-
body,
|
|
8203
|
-
responseKey: "user_identity"
|
|
8382
|
+
body: parameters,
|
|
8383
|
+
responseKey: "user_identity",
|
|
8384
|
+
options
|
|
8204
8385
|
});
|
|
8205
8386
|
}
|
|
8206
|
-
delete(
|
|
8387
|
+
delete(parameters, options = {}) {
|
|
8207
8388
|
return new SeamHttpRequest(this, {
|
|
8208
8389
|
pathname: "/user_identities/delete",
|
|
8209
8390
|
method: "POST",
|
|
8210
|
-
body:
|
|
8211
|
-
responseKey: void 0
|
|
8391
|
+
body: parameters,
|
|
8392
|
+
responseKey: void 0,
|
|
8393
|
+
options
|
|
8212
8394
|
});
|
|
8213
8395
|
}
|
|
8214
|
-
generateInstantKey(
|
|
8396
|
+
generateInstantKey(parameters, options = {}) {
|
|
8215
8397
|
return new SeamHttpRequest(this, {
|
|
8216
8398
|
pathname: "/user_identities/generate_instant_key",
|
|
8217
8399
|
method: "POST",
|
|
8218
|
-
body,
|
|
8219
|
-
responseKey: "instant_key"
|
|
8400
|
+
body: parameters,
|
|
8401
|
+
responseKey: "instant_key",
|
|
8402
|
+
options
|
|
8220
8403
|
});
|
|
8221
8404
|
}
|
|
8222
|
-
get(
|
|
8405
|
+
get(parameters, options = {}) {
|
|
8223
8406
|
return new SeamHttpRequest(this, {
|
|
8224
8407
|
pathname: "/user_identities/get",
|
|
8225
8408
|
method: "GET",
|
|
8226
|
-
params,
|
|
8227
|
-
responseKey: "user_identity"
|
|
8409
|
+
params: parameters,
|
|
8410
|
+
responseKey: "user_identity",
|
|
8411
|
+
options
|
|
8228
8412
|
});
|
|
8229
8413
|
}
|
|
8230
|
-
grantAccessToDevice(
|
|
8414
|
+
grantAccessToDevice(parameters, options = {}) {
|
|
8231
8415
|
return new SeamHttpRequest(this, {
|
|
8232
8416
|
pathname: "/user_identities/grant_access_to_device",
|
|
8233
8417
|
method: "PUT",
|
|
8234
|
-
body,
|
|
8235
|
-
responseKey: void 0
|
|
8418
|
+
body: parameters,
|
|
8419
|
+
responseKey: void 0,
|
|
8420
|
+
options
|
|
8236
8421
|
});
|
|
8237
8422
|
}
|
|
8238
|
-
list(
|
|
8423
|
+
list(parameters, options = {}) {
|
|
8239
8424
|
return new SeamHttpRequest(this, {
|
|
8240
8425
|
pathname: "/user_identities/list",
|
|
8241
8426
|
method: "POST",
|
|
8242
|
-
body:
|
|
8243
|
-
responseKey: "user_identities"
|
|
8427
|
+
body: parameters,
|
|
8428
|
+
responseKey: "user_identities",
|
|
8429
|
+
options
|
|
8244
8430
|
});
|
|
8245
8431
|
}
|
|
8246
|
-
listAccessibleDevices(
|
|
8432
|
+
listAccessibleDevices(parameters, options = {}) {
|
|
8247
8433
|
return new SeamHttpRequest(this, {
|
|
8248
8434
|
pathname: "/user_identities/list_accessible_devices",
|
|
8249
8435
|
method: "POST",
|
|
8250
|
-
body:
|
|
8251
|
-
responseKey: "devices"
|
|
8436
|
+
body: parameters,
|
|
8437
|
+
responseKey: "devices",
|
|
8438
|
+
options
|
|
8252
8439
|
});
|
|
8253
8440
|
}
|
|
8254
|
-
listAcsSystems(
|
|
8441
|
+
listAcsSystems(parameters, options = {}) {
|
|
8255
8442
|
return new SeamHttpRequest(this, {
|
|
8256
8443
|
pathname: "/user_identities/list_acs_systems",
|
|
8257
8444
|
method: "POST",
|
|
8258
|
-
body:
|
|
8259
|
-
responseKey: "acs_systems"
|
|
8445
|
+
body: parameters,
|
|
8446
|
+
responseKey: "acs_systems",
|
|
8447
|
+
options
|
|
8260
8448
|
});
|
|
8261
8449
|
}
|
|
8262
|
-
listAcsUsers(
|
|
8450
|
+
listAcsUsers(parameters, options = {}) {
|
|
8263
8451
|
return new SeamHttpRequest(this, {
|
|
8264
8452
|
pathname: "/user_identities/list_acs_users",
|
|
8265
8453
|
method: "POST",
|
|
8266
|
-
body:
|
|
8267
|
-
responseKey: "acs_users"
|
|
8454
|
+
body: parameters,
|
|
8455
|
+
responseKey: "acs_users",
|
|
8456
|
+
options
|
|
8268
8457
|
});
|
|
8269
8458
|
}
|
|
8270
|
-
removeAcsUser(
|
|
8459
|
+
removeAcsUser(parameters, options = {}) {
|
|
8271
8460
|
return new SeamHttpRequest(this, {
|
|
8272
8461
|
pathname: "/user_identities/remove_acs_user",
|
|
8273
8462
|
method: "POST",
|
|
8274
|
-
body:
|
|
8275
|
-
responseKey: void 0
|
|
8463
|
+
body: parameters,
|
|
8464
|
+
responseKey: void 0,
|
|
8465
|
+
options
|
|
8276
8466
|
});
|
|
8277
8467
|
}
|
|
8278
|
-
revokeAccessToDevice(
|
|
8468
|
+
revokeAccessToDevice(parameters, options = {}) {
|
|
8279
8469
|
return new SeamHttpRequest(this, {
|
|
8280
8470
|
pathname: "/user_identities/revoke_access_to_device",
|
|
8281
8471
|
method: "POST",
|
|
8282
|
-
body:
|
|
8283
|
-
responseKey: void 0
|
|
8472
|
+
body: parameters,
|
|
8473
|
+
responseKey: void 0,
|
|
8474
|
+
options
|
|
8284
8475
|
});
|
|
8285
8476
|
}
|
|
8286
|
-
update(
|
|
8477
|
+
update(parameters, options = {}) {
|
|
8287
8478
|
return new SeamHttpRequest(this, {
|
|
8288
8479
|
pathname: "/user_identities/update",
|
|
8289
8480
|
method: "PATCH",
|
|
8290
|
-
body,
|
|
8291
|
-
responseKey: void 0
|
|
8481
|
+
body: parameters,
|
|
8482
|
+
responseKey: void 0,
|
|
8483
|
+
options
|
|
8292
8484
|
});
|
|
8293
8485
|
}
|
|
8294
8486
|
};
|
|
@@ -8376,44 +8568,49 @@ var _SeamHttpWebhooks = class _SeamHttpWebhooks {
|
|
|
8376
8568
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
8377
8569
|
await clientSessions.get();
|
|
8378
8570
|
}
|
|
8379
|
-
create(
|
|
8571
|
+
create(parameters, options = {}) {
|
|
8380
8572
|
return new SeamHttpRequest(this, {
|
|
8381
8573
|
pathname: "/webhooks/create",
|
|
8382
8574
|
method: "POST",
|
|
8383
|
-
body,
|
|
8384
|
-
responseKey: "webhook"
|
|
8575
|
+
body: parameters,
|
|
8576
|
+
responseKey: "webhook",
|
|
8577
|
+
options
|
|
8385
8578
|
});
|
|
8386
8579
|
}
|
|
8387
|
-
delete(
|
|
8580
|
+
delete(parameters, options = {}) {
|
|
8388
8581
|
return new SeamHttpRequest(this, {
|
|
8389
8582
|
pathname: "/webhooks/delete",
|
|
8390
8583
|
method: "POST",
|
|
8391
|
-
body:
|
|
8392
|
-
responseKey: void 0
|
|
8584
|
+
body: parameters,
|
|
8585
|
+
responseKey: void 0,
|
|
8586
|
+
options
|
|
8393
8587
|
});
|
|
8394
8588
|
}
|
|
8395
|
-
get(
|
|
8589
|
+
get(parameters, options = {}) {
|
|
8396
8590
|
return new SeamHttpRequest(this, {
|
|
8397
8591
|
pathname: "/webhooks/get",
|
|
8398
8592
|
method: "POST",
|
|
8399
|
-
body:
|
|
8400
|
-
responseKey: "webhook"
|
|
8593
|
+
body: parameters,
|
|
8594
|
+
responseKey: "webhook",
|
|
8595
|
+
options
|
|
8401
8596
|
});
|
|
8402
8597
|
}
|
|
8403
|
-
list(
|
|
8598
|
+
list(parameters, options = {}) {
|
|
8404
8599
|
return new SeamHttpRequest(this, {
|
|
8405
8600
|
pathname: "/webhooks/list",
|
|
8406
8601
|
method: "GET",
|
|
8407
|
-
params,
|
|
8408
|
-
responseKey: "webhooks"
|
|
8602
|
+
params: parameters,
|
|
8603
|
+
responseKey: "webhooks",
|
|
8604
|
+
options
|
|
8409
8605
|
});
|
|
8410
8606
|
}
|
|
8411
|
-
update(
|
|
8607
|
+
update(parameters, options = {}) {
|
|
8412
8608
|
return new SeamHttpRequest(this, {
|
|
8413
8609
|
pathname: "/webhooks/update",
|
|
8414
8610
|
method: "PUT",
|
|
8415
|
-
body,
|
|
8416
|
-
responseKey: void 0
|
|
8611
|
+
body: parameters,
|
|
8612
|
+
responseKey: void 0,
|
|
8613
|
+
options
|
|
8417
8614
|
});
|
|
8418
8615
|
}
|
|
8419
8616
|
};
|
|
@@ -8501,45 +8698,49 @@ var _SeamHttpWorkspaces = class _SeamHttpWorkspaces {
|
|
|
8501
8698
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
8502
8699
|
await clientSessions.get();
|
|
8503
8700
|
}
|
|
8504
|
-
create(
|
|
8701
|
+
create(parameters, options = {}) {
|
|
8505
8702
|
return new SeamHttpRequest(this, {
|
|
8506
8703
|
pathname: "/workspaces/create",
|
|
8507
8704
|
method: "POST",
|
|
8508
|
-
body,
|
|
8509
|
-
responseKey: "workspace"
|
|
8705
|
+
body: parameters,
|
|
8706
|
+
responseKey: "workspace",
|
|
8707
|
+
options
|
|
8510
8708
|
});
|
|
8511
8709
|
}
|
|
8512
|
-
get(
|
|
8710
|
+
get(parameters, options = {}) {
|
|
8513
8711
|
return new SeamHttpRequest(this, {
|
|
8514
8712
|
pathname: "/workspaces/get",
|
|
8515
8713
|
method: "GET",
|
|
8516
|
-
params,
|
|
8517
|
-
responseKey: "workspace"
|
|
8714
|
+
params: parameters,
|
|
8715
|
+
responseKey: "workspace",
|
|
8716
|
+
options
|
|
8518
8717
|
});
|
|
8519
8718
|
}
|
|
8520
|
-
list(
|
|
8719
|
+
list(parameters, options = {}) {
|
|
8521
8720
|
return new SeamHttpRequest(this, {
|
|
8522
8721
|
pathname: "/workspaces/list",
|
|
8523
8722
|
method: "GET",
|
|
8524
|
-
params,
|
|
8525
|
-
responseKey: "workspaces"
|
|
8723
|
+
params: parameters,
|
|
8724
|
+
responseKey: "workspaces",
|
|
8725
|
+
options
|
|
8526
8726
|
});
|
|
8527
8727
|
}
|
|
8528
|
-
resetSandbox(
|
|
8728
|
+
resetSandbox(parameters, options = {}) {
|
|
8529
8729
|
return new SeamHttpRequest(this, {
|
|
8530
8730
|
pathname: "/workspaces/reset_sandbox",
|
|
8531
8731
|
method: "POST",
|
|
8532
|
-
body,
|
|
8732
|
+
body: parameters,
|
|
8533
8733
|
responseKey: "action_attempt",
|
|
8534
8734
|
options
|
|
8535
8735
|
});
|
|
8536
8736
|
}
|
|
8537
|
-
update(
|
|
8737
|
+
update(parameters, options = {}) {
|
|
8538
8738
|
return new SeamHttpRequest(this, {
|
|
8539
8739
|
pathname: "/workspaces/update",
|
|
8540
8740
|
method: "PATCH",
|
|
8541
|
-
body,
|
|
8542
|
-
responseKey: void 0
|
|
8741
|
+
body: parameters,
|
|
8742
|
+
responseKey: void 0,
|
|
8743
|
+
options
|
|
8543
8744
|
});
|
|
8544
8745
|
}
|
|
8545
8746
|
};
|