@seamapi/http 1.69.0 → 1.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +1 -1
- package/dist/connect.cjs +728 -546
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +258 -2384
- package/dist/index.cjs +730 -545
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/lib/seam/connect/resolve-action-attempt.d.ts +4 -2882
- package/lib/seam/connect/resolve-action-attempt.js +2 -0
- package/lib/seam/connect/resolve-action-attempt.js.map +1 -1
- package/lib/seam/connect/routes/access-codes/access-codes.js +4 -2
- package/lib/seam/connect/routes/access-codes/access-codes.js.map +1 -1
- package/lib/seam/connect/routes/access-codes/simulate/simulate.js +4 -2
- package/lib/seam/connect/routes/access-codes/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js +4 -2
- package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/access-grants/access-grants.js +4 -2
- package/lib/seam/connect/routes/access-grants/access-grants.js.map +1 -1
- package/lib/seam/connect/routes/access-methods/access-methods.js +4 -2
- package/lib/seam/connect/routes/access-methods/access-methods.js.map +1 -1
- package/lib/seam/connect/routes/acs/access-groups/access-groups.js +4 -2
- package/lib/seam/connect/routes/acs/access-groups/access-groups.js.map +1 -1
- package/lib/seam/connect/routes/acs/access-groups/unmanaged/unmanaged.js +4 -2
- package/lib/seam/connect/routes/acs/access-groups/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/acs/acs.js +4 -2
- package/lib/seam/connect/routes/acs/acs.js.map +1 -1
- package/lib/seam/connect/routes/acs/credential-pools/credential-pools.js +4 -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.js +4 -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.js +4 -2
- package/lib/seam/connect/routes/acs/credentials/credentials.js.map +1 -1
- package/lib/seam/connect/routes/acs/credentials/unmanaged/unmanaged.js +4 -2
- package/lib/seam/connect/routes/acs/credentials/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/acs/encoders/encoders.js +4 -2
- package/lib/seam/connect/routes/acs/encoders/encoders.js.map +1 -1
- package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js +4 -2
- package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/acs/entrances/entrances.js +4 -2
- package/lib/seam/connect/routes/acs/entrances/entrances.js.map +1 -1
- package/lib/seam/connect/routes/acs/systems/systems.js +4 -2
- package/lib/seam/connect/routes/acs/systems/systems.js.map +1 -1
- package/lib/seam/connect/routes/acs/users/unmanaged/unmanaged.js +4 -2
- package/lib/seam/connect/routes/acs/users/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/acs/users/users.js +4 -2
- package/lib/seam/connect/routes/acs/users/users.js.map +1 -1
- package/lib/seam/connect/routes/action-attempts/action-attempts.js +4 -2
- package/lib/seam/connect/routes/action-attempts/action-attempts.js.map +1 -1
- package/lib/seam/connect/routes/bridges/bridges.js +4 -2
- package/lib/seam/connect/routes/bridges/bridges.js.map +1 -1
- package/lib/seam/connect/routes/client-sessions/client-sessions.js +4 -2
- package/lib/seam/connect/routes/client-sessions/client-sessions.js.map +1 -1
- package/lib/seam/connect/routes/connect-webviews/connect-webviews.js +4 -2
- package/lib/seam/connect/routes/connect-webviews/connect-webviews.js.map +1 -1
- package/lib/seam/connect/routes/connected-accounts/connected-accounts.js +4 -2
- package/lib/seam/connect/routes/connected-accounts/connected-accounts.js.map +1 -1
- package/lib/seam/connect/routes/customers/customers.js +4 -2
- package/lib/seam/connect/routes/customers/customers.js.map +1 -1
- package/lib/seam/connect/routes/devices/devices.js +4 -2
- package/lib/seam/connect/routes/devices/devices.js.map +1 -1
- package/lib/seam/connect/routes/devices/simulate/simulate.js +4 -2
- package/lib/seam/connect/routes/devices/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js +4 -2
- package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/events/events.js +4 -2
- package/lib/seam/connect/routes/events/events.js.map +1 -1
- package/lib/seam/connect/routes/instant-keys/instant-keys.js +4 -2
- package/lib/seam/connect/routes/instant-keys/instant-keys.js.map +1 -1
- package/lib/seam/connect/routes/locks/locks.js +4 -2
- package/lib/seam/connect/routes/locks/locks.js.map +1 -1
- package/lib/seam/connect/routes/locks/simulate/simulate.js +4 -2
- package/lib/seam/connect/routes/locks/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/noise-sensors/noise-sensors.js +4 -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.js +4 -2
- package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js.map +1 -1
- package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js +4 -2
- package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/phones/phones.js +4 -2
- package/lib/seam/connect/routes/phones/phones.js.map +1 -1
- package/lib/seam/connect/routes/phones/simulate/simulate.js +4 -2
- package/lib/seam/connect/routes/phones/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/seam/console/console.js +4 -2
- package/lib/seam/connect/routes/seam/console/console.js.map +1 -1
- package/lib/seam/connect/routes/seam/console/v1/timelines/timelines.js +4 -2
- package/lib/seam/connect/routes/seam/console/v1/timelines/timelines.js.map +1 -1
- package/lib/seam/connect/routes/seam/console/v1/v1.js +4 -2
- package/lib/seam/connect/routes/seam/console/v1/v1.js.map +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.js +4 -2
- package/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.js.map +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/automations/automations.js +4 -2
- package/lib/seam/connect/routes/seam/customer/v1/automations/automations.js.map +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/events/events.js +4 -2
- package/lib/seam/connect/routes/seam/customer/v1/events/events.js.map +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/index.d.ts +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/index.js +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/index.js.map +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/portals/portals.js +4 -2
- package/lib/seam/connect/routes/seam/customer/v1/portals/portals.js.map +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/reservations/index.d.ts +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/reservations/index.js +6 -0
- package/lib/seam/connect/routes/seam/customer/v1/reservations/index.js.map +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.d.ts +34 -0
- package/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.js +104 -0
- package/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.js.map +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/settings/settings.js +4 -2
- package/lib/seam/connect/routes/seam/customer/v1/settings/settings.js.map +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/v1.d.ts +2 -0
- package/lib/seam/connect/routes/seam/customer/v1/v1.js +8 -2
- package/lib/seam/connect/routes/seam/customer/v1/v1.js.map +1 -1
- package/lib/seam/connect/routes/seam/partner/v1/building-blocks/building-blocks.js +4 -2
- package/lib/seam/connect/routes/seam/partner/v1/building-blocks/building-blocks.js.map +1 -1
- package/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.js +4 -2
- package/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.d.ts +2 -2
- package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js +6 -4
- package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +222 -220
- package/lib/seam/connect/routes/seam-http-endpoints.js +233 -220
- package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-without-workspace.js +4 -2
- package/lib/seam/connect/routes/seam-http-without-workspace.js.map +1 -1
- package/lib/seam/connect/routes/seam-http.js +4 -2
- package/lib/seam/connect/routes/seam-http.js.map +1 -1
- package/lib/seam/connect/routes/spaces/spaces.js +4 -2
- package/lib/seam/connect/routes/spaces/spaces.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js +4 -2
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/schedules/schedules.js +4 -2
- package/lib/seam/connect/routes/thermostats/schedules/schedules.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/simulate/simulate.js +4 -2
- package/lib/seam/connect/routes/thermostats/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/thermostats.js +4 -2
- package/lib/seam/connect/routes/thermostats/thermostats.js.map +1 -1
- package/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.js +4 -2
- package/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.js.map +1 -1
- package/lib/seam/connect/routes/unstable-partner/unstable-partner.js +4 -2
- package/lib/seam/connect/routes/unstable-partner/unstable-partner.js.map +1 -1
- package/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.js +4 -2
- package/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.js.map +1 -1
- package/lib/seam/connect/routes/user-identities/user-identities.js +4 -2
- package/lib/seam/connect/routes/user-identities/user-identities.js.map +1 -1
- package/lib/seam/connect/routes/webhooks/webhooks.js +4 -2
- package/lib/seam/connect/routes/webhooks/webhooks.js.map +1 -1
- package/lib/seam/connect/routes/workspaces/customization-profiles/customization-profiles.js +4 -2
- package/lib/seam/connect/routes/workspaces/customization-profiles/customization-profiles.js.map +1 -1
- package/lib/seam/connect/routes/workspaces/workspaces.js +4 -2
- package/lib/seam/connect/routes/workspaces/workspaces.js.map +1 -1
- package/lib/seam/connect/seam-http-error.js +10 -16
- package/lib/seam/connect/seam-http-error.js.map +1 -1
- package/lib/seam/connect/seam-http-request.js +18 -31
- package/lib/seam/connect/seam-http-request.js.map +1 -1
- package/lib/seam/connect/seam-paginator.js +41 -53
- package/lib/seam/connect/seam-paginator.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +17 -17
- package/src/lib/seam/connect/routes/access-codes/access-codes.ts +0 -10
- package/src/lib/seam/connect/routes/access-codes/simulate/simulate.ts +0 -1
- package/src/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.ts +0 -5
- package/src/lib/seam/connect/routes/access-grants/access-grants.ts +0 -6
- package/src/lib/seam/connect/routes/access-methods/access-methods.ts +0 -4
- package/src/lib/seam/connect/routes/acs/access-groups/access-groups.ts +0 -6
- package/src/lib/seam/connect/routes/acs/access-groups/unmanaged/unmanaged.ts +0 -2
- package/src/lib/seam/connect/routes/acs/credential-pools/credential-pools.ts +0 -1
- package/src/lib/seam/connect/routes/acs/credential-provisioning-automations/credential-provisioning-automations.ts +0 -1
- package/src/lib/seam/connect/routes/acs/credentials/credentials.ts +0 -9
- package/src/lib/seam/connect/routes/acs/credentials/unmanaged/unmanaged.ts +0 -2
- package/src/lib/seam/connect/routes/acs/encoders/encoders.ts +0 -2
- package/src/lib/seam/connect/routes/acs/encoders/simulate/simulate.ts +0 -4
- package/src/lib/seam/connect/routes/acs/entrances/entrances.ts +0 -4
- package/src/lib/seam/connect/routes/acs/systems/systems.ts +0 -3
- package/src/lib/seam/connect/routes/acs/users/unmanaged/unmanaged.ts +0 -2
- package/src/lib/seam/connect/routes/acs/users/users.ts +0 -11
- package/src/lib/seam/connect/routes/action-attempts/action-attempts.ts +0 -1
- package/src/lib/seam/connect/routes/bridges/bridges.ts +0 -2
- package/src/lib/seam/connect/routes/client-sessions/client-sessions.ts +0 -7
- package/src/lib/seam/connect/routes/connect-webviews/connect-webviews.ts +0 -4
- package/src/lib/seam/connect/routes/connected-accounts/connected-accounts.ts +0 -5
- package/src/lib/seam/connect/routes/customers/customers.ts +0 -3
- package/src/lib/seam/connect/routes/devices/devices.ts +0 -5
- package/src/lib/seam/connect/routes/devices/simulate/simulate.ts +0 -6
- package/src/lib/seam/connect/routes/devices/unmanaged/unmanaged.ts +0 -3
- package/src/lib/seam/connect/routes/events/events.ts +0 -2
- package/src/lib/seam/connect/routes/instant-keys/instant-keys.ts +0 -3
- package/src/lib/seam/connect/routes/locks/locks.ts +0 -2
- package/src/lib/seam/connect/routes/noise-sensors/noise-sensors.ts +0 -1
- package/src/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.ts +0 -5
- package/src/lib/seam/connect/routes/noise-sensors/simulate/simulate.ts +0 -1
- package/src/lib/seam/connect/routes/phones/phones.ts +0 -3
- package/src/lib/seam/connect/routes/phones/simulate/simulate.ts +0 -1
- package/src/lib/seam/connect/routes/seam/console/v1/timelines/timelines.ts +0 -1
- package/src/lib/seam/connect/routes/seam/console/v1/v1.ts +0 -1
- package/src/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.ts +0 -1
- package/src/lib/seam/connect/routes/seam/customer/v1/automations/automations.ts +0 -3
- package/src/lib/seam/connect/routes/seam/customer/v1/events/events.ts +0 -1
- package/src/lib/seam/connect/routes/seam/customer/v1/index.ts +1 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/portals/portals.ts +0 -1
- package/src/lib/seam/connect/routes/seam/customer/v1/reservations/index.ts +6 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.ts +214 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/settings/settings.ts +0 -2
- package/src/lib/seam/connect/routes/seam/customer/v1/v1.ts +8 -0
- package/src/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.ts +0 -1
- package/src/lib/seam/connect/routes/seam-http-endpoints-without-workspace.ts +2 -2
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +247 -218
- package/src/lib/seam/connect/routes/spaces/spaces.ts +0 -10
- package/src/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.ts +0 -2
- package/src/lib/seam/connect/routes/thermostats/schedules/schedules.ts +0 -5
- package/src/lib/seam/connect/routes/thermostats/simulate/simulate.ts +0 -2
- package/src/lib/seam/connect/routes/thermostats/thermostats.ts +0 -7
- package/src/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.ts +0 -4
- package/src/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.ts +0 -4
- package/src/lib/seam/connect/routes/user-identities/user-identities.ts +0 -13
- package/src/lib/seam/connect/routes/webhooks/webhooks.ts +0 -5
- package/src/lib/seam/connect/routes/workspaces/customization-profiles/customization-profiles.ts +0 -5
- package/src/lib/seam/connect/routes/workspaces/workspaces.ts +0 -5
- package/src/lib/version.ts +1 -1
package/dist/index.cjs
CHANGED
|
@@ -32,9 +32,6 @@ var __defProp = Object.defineProperty;
|
|
|
32
32
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
33
33
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
34
34
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
35
|
-
var __typeError = (msg) => {
|
|
36
|
-
throw TypeError(msg);
|
|
37
|
-
};
|
|
38
35
|
var __export = (target, all) => {
|
|
39
36
|
for (var name in all)
|
|
40
37
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -48,11 +45,6 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
48
45
|
return to;
|
|
49
46
|
};
|
|
50
47
|
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget);
|
|
51
|
-
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
|
|
52
|
-
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
|
|
53
|
-
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
54
|
-
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), member.set(obj, value), value);
|
|
55
|
-
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
|
|
56
48
|
|
|
57
49
|
// src/index.ts
|
|
58
50
|
var index_exports = {};
|
|
@@ -113,6 +105,7 @@ __export(index_exports, {
|
|
|
113
105
|
SeamHttpSeamCustomerV1Automations: () => SeamHttpSeamCustomerV1Automations,
|
|
114
106
|
SeamHttpSeamCustomerV1Events: () => SeamHttpSeamCustomerV1Events,
|
|
115
107
|
SeamHttpSeamCustomerV1Portals: () => SeamHttpSeamCustomerV1Portals,
|
|
108
|
+
SeamHttpSeamCustomerV1Reservations: () => SeamHttpSeamCustomerV1Reservations,
|
|
116
109
|
SeamHttpSeamCustomerV1Settings: () => SeamHttpSeamCustomerV1Settings,
|
|
117
110
|
SeamHttpSeamPartnerV1BuildingBlocks: () => SeamHttpSeamPartnerV1BuildingBlocks,
|
|
118
111
|
SeamHttpSeamPartnerV1BuildingBlocksSpaces: () => SeamHttpSeamPartnerV1BuildingBlocksSpaces,
|
|
@@ -214,6 +207,7 @@ __export(connect_exports, {
|
|
|
214
207
|
SeamHttpSeamCustomerV1Automations: () => SeamHttpSeamCustomerV1Automations,
|
|
215
208
|
SeamHttpSeamCustomerV1Events: () => SeamHttpSeamCustomerV1Events,
|
|
216
209
|
SeamHttpSeamCustomerV1Portals: () => SeamHttpSeamCustomerV1Portals,
|
|
210
|
+
SeamHttpSeamCustomerV1Reservations: () => SeamHttpSeamCustomerV1Reservations,
|
|
217
211
|
SeamHttpSeamCustomerV1Settings: () => SeamHttpSeamCustomerV1Settings,
|
|
218
212
|
SeamHttpSeamPartnerV1BuildingBlocks: () => SeamHttpSeamPartnerV1BuildingBlocks,
|
|
219
213
|
SeamHttpSeamPartnerV1BuildingBlocksSpaces: () => SeamHttpSeamPartnerV1BuildingBlocksSpaces,
|
|
@@ -719,6 +713,10 @@ var isEmail = (value) => {
|
|
|
719
713
|
|
|
720
714
|
// src/lib/seam/connect/seam-http-error.ts
|
|
721
715
|
var SeamHttpApiError = class extends Error {
|
|
716
|
+
code;
|
|
717
|
+
statusCode;
|
|
718
|
+
requestId;
|
|
719
|
+
data;
|
|
722
720
|
constructor(error, statusCode, requestId) {
|
|
723
721
|
const { type, message, data } = error;
|
|
724
722
|
super(message);
|
|
@@ -733,6 +731,8 @@ var isSeamHttpApiError = (error) => {
|
|
|
733
731
|
return error instanceof SeamHttpApiError;
|
|
734
732
|
};
|
|
735
733
|
var SeamHttpUnauthorizedError = class extends SeamHttpApiError {
|
|
734
|
+
code;
|
|
735
|
+
statusCode;
|
|
736
736
|
constructor(requestId) {
|
|
737
737
|
const type = "unauthorized";
|
|
738
738
|
const status = 401;
|
|
@@ -746,20 +746,19 @@ var SeamHttpUnauthorizedError = class extends SeamHttpApiError {
|
|
|
746
746
|
var isSeamHttpUnauthorizedError = (error) => {
|
|
747
747
|
return error instanceof SeamHttpUnauthorizedError;
|
|
748
748
|
};
|
|
749
|
-
var _validationErrors;
|
|
750
749
|
var SeamHttpInvalidInputError = class extends SeamHttpApiError {
|
|
750
|
+
code;
|
|
751
|
+
#validationErrors;
|
|
751
752
|
constructor(error, statusCode, requestId) {
|
|
752
753
|
super(error, statusCode, requestId);
|
|
753
|
-
__privateAdd(this, _validationErrors);
|
|
754
754
|
this.name = this.constructor.name;
|
|
755
755
|
this.code = "invalid_input";
|
|
756
|
-
|
|
756
|
+
this.#validationErrors = error.validation_errors ?? {};
|
|
757
757
|
}
|
|
758
758
|
getValidationErrorMessages(paramName) {
|
|
759
|
-
return
|
|
759
|
+
return this.#validationErrors[paramName]?._errors ?? [];
|
|
760
760
|
}
|
|
761
761
|
};
|
|
762
|
-
_validationErrors = new WeakMap();
|
|
763
762
|
var isSeamHttpInvalidInputError = (error) => {
|
|
764
763
|
return error instanceof SeamHttpInvalidInputError;
|
|
765
764
|
};
|
|
@@ -867,6 +866,7 @@ var isSeamActionAttemptError = (error) => {
|
|
|
867
866
|
return error instanceof SeamActionAttemptError;
|
|
868
867
|
};
|
|
869
868
|
var SeamActionAttemptError = class extends Error {
|
|
869
|
+
actionAttempt;
|
|
870
870
|
constructor(message, actionAttempt) {
|
|
871
871
|
super(message);
|
|
872
872
|
this.name = this.constructor.name;
|
|
@@ -877,6 +877,7 @@ var isSeamActionAttemptFailedError = (error) => {
|
|
|
877
877
|
return error instanceof SeamActionAttemptFailedError;
|
|
878
878
|
};
|
|
879
879
|
var SeamActionAttemptFailedError = class extends SeamActionAttemptError {
|
|
880
|
+
code;
|
|
880
881
|
constructor(actionAttempt) {
|
|
881
882
|
super(actionAttempt.error.message, actionAttempt);
|
|
882
883
|
this.name = this.constructor.name;
|
|
@@ -897,37 +898,35 @@ var SeamActionAttemptTimeoutError = class extends SeamActionAttemptError {
|
|
|
897
898
|
};
|
|
898
899
|
var isSuccessfulActionAttempt = (actionAttempt) => actionAttempt.status === "success";
|
|
899
900
|
var isFailedActionAttempt = (actionAttempt) => actionAttempt.status === "error";
|
|
900
|
-
var _a, _parent, _config;
|
|
901
|
-
_a = Symbol.toStringTag;
|
|
902
901
|
var SeamHttpRequest = class {
|
|
902
|
+
[Symbol.toStringTag] = "SeamHttpRequest";
|
|
903
|
+
#parent;
|
|
904
|
+
#config;
|
|
903
905
|
constructor(parent, config) {
|
|
904
|
-
this
|
|
905
|
-
|
|
906
|
-
__privateAdd(this, _config);
|
|
907
|
-
__privateSet(this, _parent, parent);
|
|
908
|
-
__privateSet(this, _config, config);
|
|
906
|
+
this.#parent = parent;
|
|
907
|
+
this.#config = config;
|
|
909
908
|
}
|
|
910
909
|
get responseKey() {
|
|
911
|
-
return
|
|
910
|
+
return this.#config.responseKey;
|
|
912
911
|
}
|
|
913
912
|
get url() {
|
|
914
|
-
const { client } =
|
|
913
|
+
const { client } = this.#parent;
|
|
915
914
|
const serializer = typeof client.defaults.paramsSerializer === "function" ? client.defaults.paramsSerializer : url_search_params_serializer_star.serializeUrlSearchParams;
|
|
916
915
|
const origin = getUrlPrefix(client.defaults.baseURL ?? "");
|
|
917
916
|
const path = this.params == null ? this.pathname : `${this.pathname}?${serializer(this.params)}`;
|
|
918
917
|
return new URL(`${origin}${path}`);
|
|
919
918
|
}
|
|
920
919
|
get pathname() {
|
|
921
|
-
return
|
|
920
|
+
return this.#config.pathname.startsWith("/") ? this.#config.pathname : `/${this.#config.pathname}`;
|
|
922
921
|
}
|
|
923
922
|
get method() {
|
|
924
|
-
return
|
|
923
|
+
return this.#config.method;
|
|
925
924
|
}
|
|
926
925
|
get params() {
|
|
927
|
-
return
|
|
926
|
+
return this.#config.params;
|
|
928
927
|
}
|
|
929
928
|
get body() {
|
|
930
|
-
return
|
|
929
|
+
return this.#config.body;
|
|
931
930
|
}
|
|
932
931
|
async execute() {
|
|
933
932
|
const response = await this.fetchResponse();
|
|
@@ -936,12 +935,12 @@ var SeamHttpRequest = class {
|
|
|
936
935
|
}
|
|
937
936
|
const data = response[this.responseKey];
|
|
938
937
|
if (this.responseKey === "action_attempt") {
|
|
939
|
-
const waitForActionAttempt =
|
|
938
|
+
const waitForActionAttempt = this.#config.options?.waitForActionAttempt ?? this.#parent.defaults.waitForActionAttempt;
|
|
940
939
|
if (waitForActionAttempt !== false) {
|
|
941
940
|
const actionAttempt = await resolveActionAttempt(
|
|
942
941
|
data,
|
|
943
|
-
SeamHttpActionAttempts.fromClient(
|
|
944
|
-
...
|
|
942
|
+
SeamHttpActionAttempts.fromClient(this.#parent.client, {
|
|
943
|
+
...this.#parent.defaults,
|
|
945
944
|
waitForActionAttempt: false
|
|
946
945
|
}),
|
|
947
946
|
typeof waitForActionAttempt === "boolean" ? {} : waitForActionAttempt
|
|
@@ -952,7 +951,7 @@ var SeamHttpRequest = class {
|
|
|
952
951
|
return data;
|
|
953
952
|
}
|
|
954
953
|
async fetchResponse() {
|
|
955
|
-
const { client } =
|
|
954
|
+
const { client } = this.#parent;
|
|
956
955
|
const response = await client.request({
|
|
957
956
|
url: this.pathname,
|
|
958
957
|
method: this.method,
|
|
@@ -971,8 +970,6 @@ var SeamHttpRequest = class {
|
|
|
971
970
|
return await this.execute().finally(onfinally);
|
|
972
971
|
}
|
|
973
972
|
};
|
|
974
|
-
_parent = new WeakMap();
|
|
975
|
-
_config = new WeakMap();
|
|
976
973
|
var getUrlPrefix = (input) => {
|
|
977
974
|
if (canParseUrl(input)) {
|
|
978
975
|
const url = new URL(input).toString();
|
|
@@ -996,28 +993,56 @@ var canParseUrl = (input) => {
|
|
|
996
993
|
};
|
|
997
994
|
|
|
998
995
|
// src/lib/seam/connect/seam-paginator.ts
|
|
999
|
-
var _request, _parent2, _SeamPaginator_instances, fetch_fn;
|
|
1000
996
|
var SeamPaginator = class {
|
|
997
|
+
#request;
|
|
998
|
+
#parent;
|
|
1001
999
|
constructor(parent, request) {
|
|
1002
|
-
__privateAdd(this, _SeamPaginator_instances);
|
|
1003
|
-
__privateAdd(this, _request);
|
|
1004
|
-
__privateAdd(this, _parent2);
|
|
1005
1000
|
if (request.responseKey == null) {
|
|
1006
1001
|
throw new Error(
|
|
1007
1002
|
`The ${request.pathname} endpoint does not support pagination`
|
|
1008
1003
|
);
|
|
1009
1004
|
}
|
|
1010
|
-
|
|
1011
|
-
|
|
1005
|
+
this.#parent = parent;
|
|
1006
|
+
this.#request = request;
|
|
1012
1007
|
}
|
|
1013
1008
|
async firstPage() {
|
|
1014
|
-
return await
|
|
1009
|
+
return await this.#fetch();
|
|
1015
1010
|
}
|
|
1016
1011
|
async nextPage(nextPageCursor) {
|
|
1017
1012
|
if (nextPageCursor == null) {
|
|
1018
1013
|
throw new Error("Cannot get the next page with a null nextPageCursor");
|
|
1019
1014
|
}
|
|
1020
|
-
return await
|
|
1015
|
+
return await this.#fetch(nextPageCursor);
|
|
1016
|
+
}
|
|
1017
|
+
async #fetch(nextPageCursor) {
|
|
1018
|
+
const responseKey = this.#request.responseKey;
|
|
1019
|
+
if (responseKey == null) {
|
|
1020
|
+
throw new Error("Cannot paginate a response without a responseKey");
|
|
1021
|
+
}
|
|
1022
|
+
const request = new SeamHttpRequest(this.#parent, {
|
|
1023
|
+
pathname: this.#request.pathname,
|
|
1024
|
+
method: this.#request.method,
|
|
1025
|
+
responseKey,
|
|
1026
|
+
params: this.#request.params != null ? { ...this.#request.params, page_cursor: nextPageCursor } : void 0,
|
|
1027
|
+
body: this.#request.body != null ? { ...this.#request.body, page_cursor: nextPageCursor } : void 0
|
|
1028
|
+
});
|
|
1029
|
+
const response = await request.fetchResponse();
|
|
1030
|
+
const data = response[responseKey];
|
|
1031
|
+
const paginationData = response != null && typeof response === "object" && "pagination" in response ? response.pagination : null;
|
|
1032
|
+
const pagination = {
|
|
1033
|
+
hasNextPage: paginationData?.has_next_page ?? false,
|
|
1034
|
+
nextPageCursor: paginationData?.next_page_cursor ?? null,
|
|
1035
|
+
nextPageUrl: paginationData?.next_page_url ?? null
|
|
1036
|
+
};
|
|
1037
|
+
if (!Array.isArray(data)) {
|
|
1038
|
+
throw new Error(
|
|
1039
|
+
`Expected an array response for ${String(responseKey)} but got ${String(typeof data)}`
|
|
1040
|
+
);
|
|
1041
|
+
}
|
|
1042
|
+
return [
|
|
1043
|
+
data,
|
|
1044
|
+
pagination
|
|
1045
|
+
];
|
|
1021
1046
|
}
|
|
1022
1047
|
async flattenToArray() {
|
|
1023
1048
|
const items = [];
|
|
@@ -1050,44 +1075,14 @@ var SeamPaginator = class {
|
|
|
1050
1075
|
}
|
|
1051
1076
|
}
|
|
1052
1077
|
};
|
|
1053
|
-
_request = new WeakMap();
|
|
1054
|
-
_parent2 = new WeakMap();
|
|
1055
|
-
_SeamPaginator_instances = new WeakSet();
|
|
1056
|
-
fetch_fn = async function(nextPageCursor) {
|
|
1057
|
-
const responseKey = __privateGet(this, _request).responseKey;
|
|
1058
|
-
if (responseKey == null) {
|
|
1059
|
-
throw new Error("Cannot paginate a response without a responseKey");
|
|
1060
|
-
}
|
|
1061
|
-
const request = new SeamHttpRequest(__privateGet(this, _parent2), {
|
|
1062
|
-
pathname: __privateGet(this, _request).pathname,
|
|
1063
|
-
method: __privateGet(this, _request).method,
|
|
1064
|
-
responseKey,
|
|
1065
|
-
params: __privateGet(this, _request).params != null ? { ...__privateGet(this, _request).params, page_cursor: nextPageCursor } : void 0,
|
|
1066
|
-
body: __privateGet(this, _request).body != null ? { ...__privateGet(this, _request).body, page_cursor: nextPageCursor } : void 0
|
|
1067
|
-
});
|
|
1068
|
-
const response = await request.fetchResponse();
|
|
1069
|
-
const data = response[responseKey];
|
|
1070
|
-
const paginationData = response != null && typeof response === "object" && "pagination" in response ? response.pagination : null;
|
|
1071
|
-
const pagination = {
|
|
1072
|
-
hasNextPage: paginationData?.has_next_page ?? false,
|
|
1073
|
-
nextPageCursor: paginationData?.next_page_cursor ?? null,
|
|
1074
|
-
nextPageUrl: paginationData?.next_page_url ?? null
|
|
1075
|
-
};
|
|
1076
|
-
if (!Array.isArray(data)) {
|
|
1077
|
-
throw new Error(
|
|
1078
|
-
`Expected an array response for ${String(responseKey)} but got ${String(typeof data)}`
|
|
1079
|
-
);
|
|
1080
|
-
}
|
|
1081
|
-
return [
|
|
1082
|
-
data,
|
|
1083
|
-
pagination
|
|
1084
|
-
];
|
|
1085
|
-
};
|
|
1086
1078
|
|
|
1087
1079
|
// src/lib/seam/connect/routes/client-sessions/client-sessions.ts
|
|
1088
|
-
var
|
|
1080
|
+
var SeamHttpClientSessions = class _SeamHttpClientSessions {
|
|
1081
|
+
client;
|
|
1082
|
+
defaults;
|
|
1083
|
+
ltsVersion = seamApiLtsVersion;
|
|
1084
|
+
static ltsVersion = seamApiLtsVersion;
|
|
1089
1085
|
constructor(apiKeyOrOptions = {}) {
|
|
1090
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
1091
1086
|
const options = parseOptions(apiKeyOrOptions);
|
|
1092
1087
|
this.client = "client" in options ? options.client : createClient(options);
|
|
1093
1088
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -1229,13 +1224,14 @@ var _SeamHttpClientSessions = class _SeamHttpClientSessions {
|
|
|
1229
1224
|
});
|
|
1230
1225
|
}
|
|
1231
1226
|
};
|
|
1232
|
-
_SeamHttpClientSessions.ltsVersion = seamApiLtsVersion;
|
|
1233
|
-
var SeamHttpClientSessions = _SeamHttpClientSessions;
|
|
1234
1227
|
|
|
1235
1228
|
// src/lib/seam/connect/routes/access-codes/simulate/simulate.ts
|
|
1236
|
-
var
|
|
1229
|
+
var SeamHttpAccessCodesSimulate = class _SeamHttpAccessCodesSimulate {
|
|
1230
|
+
client;
|
|
1231
|
+
defaults;
|
|
1232
|
+
ltsVersion = seamApiLtsVersion;
|
|
1233
|
+
static ltsVersion = seamApiLtsVersion;
|
|
1237
1234
|
constructor(apiKeyOrOptions = {}) {
|
|
1238
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
1239
1235
|
const options = parseOptions(apiKeyOrOptions);
|
|
1240
1236
|
this.client = "client" in options ? options.client : createClient(options);
|
|
1241
1237
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -1323,13 +1319,14 @@ var _SeamHttpAccessCodesSimulate = class _SeamHttpAccessCodesSimulate {
|
|
|
1323
1319
|
});
|
|
1324
1320
|
}
|
|
1325
1321
|
};
|
|
1326
|
-
_SeamHttpAccessCodesSimulate.ltsVersion = seamApiLtsVersion;
|
|
1327
|
-
var SeamHttpAccessCodesSimulate = _SeamHttpAccessCodesSimulate;
|
|
1328
1322
|
|
|
1329
1323
|
// src/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.ts
|
|
1330
|
-
var
|
|
1324
|
+
var SeamHttpAccessCodesUnmanaged = class _SeamHttpAccessCodesUnmanaged {
|
|
1325
|
+
client;
|
|
1326
|
+
defaults;
|
|
1327
|
+
ltsVersion = seamApiLtsVersion;
|
|
1328
|
+
static ltsVersion = seamApiLtsVersion;
|
|
1331
1329
|
constructor(apiKeyOrOptions = {}) {
|
|
1332
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
1333
1330
|
const options = parseOptions(apiKeyOrOptions);
|
|
1334
1331
|
this.client = "client" in options ? options.client : createClient(options);
|
|
1335
1332
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -1453,13 +1450,14 @@ var _SeamHttpAccessCodesUnmanaged = class _SeamHttpAccessCodesUnmanaged {
|
|
|
1453
1450
|
});
|
|
1454
1451
|
}
|
|
1455
1452
|
};
|
|
1456
|
-
_SeamHttpAccessCodesUnmanaged.ltsVersion = seamApiLtsVersion;
|
|
1457
|
-
var SeamHttpAccessCodesUnmanaged = _SeamHttpAccessCodesUnmanaged;
|
|
1458
1453
|
|
|
1459
1454
|
// src/lib/seam/connect/routes/access-codes/access-codes.ts
|
|
1460
|
-
var
|
|
1455
|
+
var SeamHttpAccessCodes = class _SeamHttpAccessCodes {
|
|
1456
|
+
client;
|
|
1457
|
+
defaults;
|
|
1458
|
+
ltsVersion = seamApiLtsVersion;
|
|
1459
|
+
static ltsVersion = seamApiLtsVersion;
|
|
1461
1460
|
constructor(apiKeyOrOptions = {}) {
|
|
1462
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
1463
1461
|
const options = parseOptions(apiKeyOrOptions);
|
|
1464
1462
|
this.client = "client" in options ? options.client : createClient(options);
|
|
1465
1463
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -1634,13 +1632,14 @@ var _SeamHttpAccessCodes = class _SeamHttpAccessCodes {
|
|
|
1634
1632
|
});
|
|
1635
1633
|
}
|
|
1636
1634
|
};
|
|
1637
|
-
_SeamHttpAccessCodes.ltsVersion = seamApiLtsVersion;
|
|
1638
|
-
var SeamHttpAccessCodes = _SeamHttpAccessCodes;
|
|
1639
1635
|
|
|
1640
1636
|
// src/lib/seam/connect/routes/access-grants/access-grants.ts
|
|
1641
|
-
var
|
|
1637
|
+
var SeamHttpAccessGrants = class _SeamHttpAccessGrants {
|
|
1638
|
+
client;
|
|
1639
|
+
defaults;
|
|
1640
|
+
ltsVersion = seamApiLtsVersion;
|
|
1641
|
+
static ltsVersion = seamApiLtsVersion;
|
|
1642
1642
|
constructor(apiKeyOrOptions = {}) {
|
|
1643
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
1644
1643
|
const options = parseOptions(apiKeyOrOptions);
|
|
1645
1644
|
this.client = "client" in options ? options.client : createClient(options);
|
|
1646
1645
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -1773,13 +1772,14 @@ var _SeamHttpAccessGrants = class _SeamHttpAccessGrants {
|
|
|
1773
1772
|
});
|
|
1774
1773
|
}
|
|
1775
1774
|
};
|
|
1776
|
-
_SeamHttpAccessGrants.ltsVersion = seamApiLtsVersion;
|
|
1777
|
-
var SeamHttpAccessGrants = _SeamHttpAccessGrants;
|
|
1778
1775
|
|
|
1779
1776
|
// src/lib/seam/connect/routes/access-methods/access-methods.ts
|
|
1780
|
-
var
|
|
1777
|
+
var SeamHttpAccessMethods = class _SeamHttpAccessMethods {
|
|
1778
|
+
client;
|
|
1779
|
+
defaults;
|
|
1780
|
+
ltsVersion = seamApiLtsVersion;
|
|
1781
|
+
static ltsVersion = seamApiLtsVersion;
|
|
1781
1782
|
constructor(apiKeyOrOptions = {}) {
|
|
1782
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
1783
1783
|
const options = parseOptions(apiKeyOrOptions);
|
|
1784
1784
|
this.client = "client" in options ? options.client : createClient(options);
|
|
1785
1785
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -1903,13 +1903,14 @@ var _SeamHttpAccessMethods = class _SeamHttpAccessMethods {
|
|
|
1903
1903
|
});
|
|
1904
1904
|
}
|
|
1905
1905
|
};
|
|
1906
|
-
_SeamHttpAccessMethods.ltsVersion = seamApiLtsVersion;
|
|
1907
|
-
var SeamHttpAccessMethods = _SeamHttpAccessMethods;
|
|
1908
1906
|
|
|
1909
1907
|
// src/lib/seam/connect/routes/acs/access-groups/unmanaged/unmanaged.ts
|
|
1910
|
-
var
|
|
1908
|
+
var SeamHttpAcsAccessGroupsUnmanaged = class _SeamHttpAcsAccessGroupsUnmanaged {
|
|
1909
|
+
client;
|
|
1910
|
+
defaults;
|
|
1911
|
+
ltsVersion = seamApiLtsVersion;
|
|
1912
|
+
static ltsVersion = seamApiLtsVersion;
|
|
1911
1913
|
constructor(apiKeyOrOptions = {}) {
|
|
1912
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
1913
1914
|
const options = parseOptions(apiKeyOrOptions);
|
|
1914
1915
|
if (!options.isUndocumentedApiEnabled) {
|
|
1915
1916
|
throw new Error(
|
|
@@ -2024,13 +2025,14 @@ var _SeamHttpAcsAccessGroupsUnmanaged = class _SeamHttpAcsAccessGroupsUnmanaged
|
|
|
2024
2025
|
});
|
|
2025
2026
|
}
|
|
2026
2027
|
};
|
|
2027
|
-
_SeamHttpAcsAccessGroupsUnmanaged.ltsVersion = seamApiLtsVersion;
|
|
2028
|
-
var SeamHttpAcsAccessGroupsUnmanaged = _SeamHttpAcsAccessGroupsUnmanaged;
|
|
2029
2028
|
|
|
2030
2029
|
// src/lib/seam/connect/routes/acs/access-groups/access-groups.ts
|
|
2031
|
-
var
|
|
2030
|
+
var SeamHttpAcsAccessGroups = class _SeamHttpAcsAccessGroups {
|
|
2031
|
+
client;
|
|
2032
|
+
defaults;
|
|
2033
|
+
ltsVersion = seamApiLtsVersion;
|
|
2034
|
+
static ltsVersion = seamApiLtsVersion;
|
|
2032
2035
|
constructor(apiKeyOrOptions = {}) {
|
|
2033
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
2034
2036
|
const options = parseOptions(apiKeyOrOptions);
|
|
2035
2037
|
this.client = "client" in options ? options.client : createClient(options);
|
|
2036
2038
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -2169,13 +2171,14 @@ var _SeamHttpAcsAccessGroups = class _SeamHttpAcsAccessGroups {
|
|
|
2169
2171
|
});
|
|
2170
2172
|
}
|
|
2171
2173
|
};
|
|
2172
|
-
_SeamHttpAcsAccessGroups.ltsVersion = seamApiLtsVersion;
|
|
2173
|
-
var SeamHttpAcsAccessGroups = _SeamHttpAcsAccessGroups;
|
|
2174
2174
|
|
|
2175
2175
|
// src/lib/seam/connect/routes/acs/credential-pools/credential-pools.ts
|
|
2176
|
-
var
|
|
2176
|
+
var SeamHttpAcsCredentialPools = class _SeamHttpAcsCredentialPools {
|
|
2177
|
+
client;
|
|
2178
|
+
defaults;
|
|
2179
|
+
ltsVersion = seamApiLtsVersion;
|
|
2180
|
+
static ltsVersion = seamApiLtsVersion;
|
|
2177
2181
|
constructor(apiKeyOrOptions = {}) {
|
|
2178
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
2179
2182
|
const options = parseOptions(apiKeyOrOptions);
|
|
2180
2183
|
if (!options.isUndocumentedApiEnabled) {
|
|
2181
2184
|
throw new Error(
|
|
@@ -2273,13 +2276,14 @@ var _SeamHttpAcsCredentialPools = class _SeamHttpAcsCredentialPools {
|
|
|
2273
2276
|
});
|
|
2274
2277
|
}
|
|
2275
2278
|
};
|
|
2276
|
-
_SeamHttpAcsCredentialPools.ltsVersion = seamApiLtsVersion;
|
|
2277
|
-
var SeamHttpAcsCredentialPools = _SeamHttpAcsCredentialPools;
|
|
2278
2279
|
|
|
2279
2280
|
// src/lib/seam/connect/routes/acs/credential-provisioning-automations/credential-provisioning-automations.ts
|
|
2280
|
-
var
|
|
2281
|
+
var SeamHttpAcsCredentialProvisioningAutomations = class _SeamHttpAcsCredentialProvisioningAutomations {
|
|
2282
|
+
client;
|
|
2283
|
+
defaults;
|
|
2284
|
+
ltsVersion = seamApiLtsVersion;
|
|
2285
|
+
static ltsVersion = seamApiLtsVersion;
|
|
2281
2286
|
constructor(apiKeyOrOptions = {}) {
|
|
2282
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
2283
2287
|
const options = parseOptions(apiKeyOrOptions);
|
|
2284
2288
|
if (!options.isUndocumentedApiEnabled) {
|
|
2285
2289
|
throw new Error(
|
|
@@ -2380,13 +2384,14 @@ var _SeamHttpAcsCredentialProvisioningAutomations = class _SeamHttpAcsCredential
|
|
|
2380
2384
|
});
|
|
2381
2385
|
}
|
|
2382
2386
|
};
|
|
2383
|
-
_SeamHttpAcsCredentialProvisioningAutomations.ltsVersion = seamApiLtsVersion;
|
|
2384
|
-
var SeamHttpAcsCredentialProvisioningAutomations = _SeamHttpAcsCredentialProvisioningAutomations;
|
|
2385
2387
|
|
|
2386
2388
|
// src/lib/seam/connect/routes/acs/credentials/unmanaged/unmanaged.ts
|
|
2387
|
-
var
|
|
2389
|
+
var SeamHttpAcsCredentialsUnmanaged = class _SeamHttpAcsCredentialsUnmanaged {
|
|
2390
|
+
client;
|
|
2391
|
+
defaults;
|
|
2392
|
+
ltsVersion = seamApiLtsVersion;
|
|
2393
|
+
static ltsVersion = seamApiLtsVersion;
|
|
2388
2394
|
constructor(apiKeyOrOptions = {}) {
|
|
2389
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
2390
2395
|
const options = parseOptions(apiKeyOrOptions);
|
|
2391
2396
|
if (!options.isUndocumentedApiEnabled) {
|
|
2392
2397
|
throw new Error(
|
|
@@ -2501,13 +2506,14 @@ var _SeamHttpAcsCredentialsUnmanaged = class _SeamHttpAcsCredentialsUnmanaged {
|
|
|
2501
2506
|
});
|
|
2502
2507
|
}
|
|
2503
2508
|
};
|
|
2504
|
-
_SeamHttpAcsCredentialsUnmanaged.ltsVersion = seamApiLtsVersion;
|
|
2505
|
-
var SeamHttpAcsCredentialsUnmanaged = _SeamHttpAcsCredentialsUnmanaged;
|
|
2506
2509
|
|
|
2507
2510
|
// src/lib/seam/connect/routes/acs/credentials/credentials.ts
|
|
2508
|
-
var
|
|
2511
|
+
var SeamHttpAcsCredentials = class _SeamHttpAcsCredentials {
|
|
2512
|
+
client;
|
|
2513
|
+
defaults;
|
|
2514
|
+
ltsVersion = seamApiLtsVersion;
|
|
2515
|
+
static ltsVersion = seamApiLtsVersion;
|
|
2509
2516
|
constructor(apiKeyOrOptions = {}) {
|
|
2510
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
2511
2517
|
const options = parseOptions(apiKeyOrOptions);
|
|
2512
2518
|
this.client = "client" in options ? options.client : createClient(options);
|
|
2513
2519
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -2678,13 +2684,14 @@ var _SeamHttpAcsCredentials = class _SeamHttpAcsCredentials {
|
|
|
2678
2684
|
});
|
|
2679
2685
|
}
|
|
2680
2686
|
};
|
|
2681
|
-
_SeamHttpAcsCredentials.ltsVersion = seamApiLtsVersion;
|
|
2682
|
-
var SeamHttpAcsCredentials = _SeamHttpAcsCredentials;
|
|
2683
2687
|
|
|
2684
2688
|
// src/lib/seam/connect/routes/acs/encoders/simulate/simulate.ts
|
|
2685
|
-
var
|
|
2689
|
+
var SeamHttpAcsEncodersSimulate = class _SeamHttpAcsEncodersSimulate {
|
|
2690
|
+
client;
|
|
2691
|
+
defaults;
|
|
2692
|
+
ltsVersion = seamApiLtsVersion;
|
|
2693
|
+
static ltsVersion = seamApiLtsVersion;
|
|
2686
2694
|
constructor(apiKeyOrOptions = {}) {
|
|
2687
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
2688
2695
|
const options = parseOptions(apiKeyOrOptions);
|
|
2689
2696
|
this.client = "client" in options ? options.client : createClient(options);
|
|
2690
2697
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -2799,13 +2806,14 @@ var _SeamHttpAcsEncodersSimulate = class _SeamHttpAcsEncodersSimulate {
|
|
|
2799
2806
|
});
|
|
2800
2807
|
}
|
|
2801
2808
|
};
|
|
2802
|
-
_SeamHttpAcsEncodersSimulate.ltsVersion = seamApiLtsVersion;
|
|
2803
|
-
var SeamHttpAcsEncodersSimulate = _SeamHttpAcsEncodersSimulate;
|
|
2804
2809
|
|
|
2805
2810
|
// src/lib/seam/connect/routes/acs/encoders/encoders.ts
|
|
2806
|
-
var
|
|
2811
|
+
var SeamHttpAcsEncoders = class _SeamHttpAcsEncoders {
|
|
2812
|
+
client;
|
|
2813
|
+
defaults;
|
|
2814
|
+
ltsVersion = seamApiLtsVersion;
|
|
2815
|
+
static ltsVersion = seamApiLtsVersion;
|
|
2807
2816
|
constructor(apiKeyOrOptions = {}) {
|
|
2808
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
2809
2817
|
const options = parseOptions(apiKeyOrOptions);
|
|
2810
2818
|
this.client = "client" in options ? options.client : createClient(options);
|
|
2811
2819
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -2923,13 +2931,14 @@ var _SeamHttpAcsEncoders = class _SeamHttpAcsEncoders {
|
|
|
2923
2931
|
});
|
|
2924
2932
|
}
|
|
2925
2933
|
};
|
|
2926
|
-
_SeamHttpAcsEncoders.ltsVersion = seamApiLtsVersion;
|
|
2927
|
-
var SeamHttpAcsEncoders = _SeamHttpAcsEncoders;
|
|
2928
2934
|
|
|
2929
2935
|
// src/lib/seam/connect/routes/acs/entrances/entrances.ts
|
|
2930
|
-
var
|
|
2936
|
+
var SeamHttpAcsEntrances = class _SeamHttpAcsEntrances {
|
|
2937
|
+
client;
|
|
2938
|
+
defaults;
|
|
2939
|
+
ltsVersion = seamApiLtsVersion;
|
|
2940
|
+
static ltsVersion = seamApiLtsVersion;
|
|
2931
2941
|
constructor(apiKeyOrOptions = {}) {
|
|
2932
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
2933
2942
|
const options = parseOptions(apiKeyOrOptions);
|
|
2934
2943
|
this.client = "client" in options ? options.client : createClient(options);
|
|
2935
2944
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -3044,13 +3053,14 @@ var _SeamHttpAcsEntrances = class _SeamHttpAcsEntrances {
|
|
|
3044
3053
|
});
|
|
3045
3054
|
}
|
|
3046
3055
|
};
|
|
3047
|
-
_SeamHttpAcsEntrances.ltsVersion = seamApiLtsVersion;
|
|
3048
|
-
var SeamHttpAcsEntrances = _SeamHttpAcsEntrances;
|
|
3049
3056
|
|
|
3050
3057
|
// src/lib/seam/connect/routes/acs/systems/systems.ts
|
|
3051
|
-
var
|
|
3058
|
+
var SeamHttpAcsSystems = class _SeamHttpAcsSystems {
|
|
3059
|
+
client;
|
|
3060
|
+
defaults;
|
|
3061
|
+
ltsVersion = seamApiLtsVersion;
|
|
3062
|
+
static ltsVersion = seamApiLtsVersion;
|
|
3052
3063
|
constructor(apiKeyOrOptions = {}) {
|
|
3053
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
3054
3064
|
const options = parseOptions(apiKeyOrOptions);
|
|
3055
3065
|
this.client = "client" in options ? options.client : createClient(options);
|
|
3056
3066
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -3156,13 +3166,14 @@ var _SeamHttpAcsSystems = class _SeamHttpAcsSystems {
|
|
|
3156
3166
|
});
|
|
3157
3167
|
}
|
|
3158
3168
|
};
|
|
3159
|
-
_SeamHttpAcsSystems.ltsVersion = seamApiLtsVersion;
|
|
3160
|
-
var SeamHttpAcsSystems = _SeamHttpAcsSystems;
|
|
3161
3169
|
|
|
3162
3170
|
// src/lib/seam/connect/routes/acs/users/unmanaged/unmanaged.ts
|
|
3163
|
-
var
|
|
3171
|
+
var SeamHttpAcsUsersUnmanaged = class _SeamHttpAcsUsersUnmanaged {
|
|
3172
|
+
client;
|
|
3173
|
+
defaults;
|
|
3174
|
+
ltsVersion = seamApiLtsVersion;
|
|
3175
|
+
static ltsVersion = seamApiLtsVersion;
|
|
3164
3176
|
constructor(apiKeyOrOptions = {}) {
|
|
3165
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
3166
3177
|
const options = parseOptions(apiKeyOrOptions);
|
|
3167
3178
|
if (!options.isUndocumentedApiEnabled) {
|
|
3168
3179
|
throw new Error(
|
|
@@ -3274,13 +3285,14 @@ var _SeamHttpAcsUsersUnmanaged = class _SeamHttpAcsUsersUnmanaged {
|
|
|
3274
3285
|
});
|
|
3275
3286
|
}
|
|
3276
3287
|
};
|
|
3277
|
-
_SeamHttpAcsUsersUnmanaged.ltsVersion = seamApiLtsVersion;
|
|
3278
|
-
var SeamHttpAcsUsersUnmanaged = _SeamHttpAcsUsersUnmanaged;
|
|
3279
3288
|
|
|
3280
3289
|
// src/lib/seam/connect/routes/acs/users/users.ts
|
|
3281
|
-
var
|
|
3290
|
+
var SeamHttpAcsUsers = class _SeamHttpAcsUsers {
|
|
3291
|
+
client;
|
|
3292
|
+
defaults;
|
|
3293
|
+
ltsVersion = seamApiLtsVersion;
|
|
3294
|
+
static ltsVersion = seamApiLtsVersion;
|
|
3282
3295
|
constructor(apiKeyOrOptions = {}) {
|
|
3283
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
3284
3296
|
const options = parseOptions(apiKeyOrOptions);
|
|
3285
3297
|
this.client = "client" in options ? options.client : createClient(options);
|
|
3286
3298
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -3461,13 +3473,14 @@ var _SeamHttpAcsUsers = class _SeamHttpAcsUsers {
|
|
|
3461
3473
|
});
|
|
3462
3474
|
}
|
|
3463
3475
|
};
|
|
3464
|
-
_SeamHttpAcsUsers.ltsVersion = seamApiLtsVersion;
|
|
3465
|
-
var SeamHttpAcsUsers = _SeamHttpAcsUsers;
|
|
3466
3476
|
|
|
3467
3477
|
// src/lib/seam/connect/routes/acs/acs.ts
|
|
3468
|
-
var
|
|
3478
|
+
var SeamHttpAcs = class _SeamHttpAcs {
|
|
3479
|
+
client;
|
|
3480
|
+
defaults;
|
|
3481
|
+
ltsVersion = seamApiLtsVersion;
|
|
3482
|
+
static ltsVersion = seamApiLtsVersion;
|
|
3469
3483
|
constructor(apiKeyOrOptions = {}) {
|
|
3470
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
3471
3484
|
const options = parseOptions(apiKeyOrOptions);
|
|
3472
3485
|
this.client = "client" in options ? options.client : createClient(options);
|
|
3473
3486
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -3573,13 +3586,14 @@ var _SeamHttpAcs = class _SeamHttpAcs {
|
|
|
3573
3586
|
return SeamHttpAcsUsers.fromClient(this.client, this.defaults);
|
|
3574
3587
|
}
|
|
3575
3588
|
};
|
|
3576
|
-
_SeamHttpAcs.ltsVersion = seamApiLtsVersion;
|
|
3577
|
-
var SeamHttpAcs = _SeamHttpAcs;
|
|
3578
3589
|
|
|
3579
3590
|
// src/lib/seam/connect/routes/action-attempts/action-attempts.ts
|
|
3580
|
-
var
|
|
3591
|
+
var SeamHttpActionAttempts = class _SeamHttpActionAttempts {
|
|
3592
|
+
client;
|
|
3593
|
+
defaults;
|
|
3594
|
+
ltsVersion = seamApiLtsVersion;
|
|
3595
|
+
static ltsVersion = seamApiLtsVersion;
|
|
3581
3596
|
constructor(apiKeyOrOptions = {}) {
|
|
3582
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
3583
3597
|
const options = parseOptions(apiKeyOrOptions);
|
|
3584
3598
|
this.client = "client" in options ? options.client : createClient(options);
|
|
3585
3599
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -3676,13 +3690,14 @@ var _SeamHttpActionAttempts = class _SeamHttpActionAttempts {
|
|
|
3676
3690
|
});
|
|
3677
3691
|
}
|
|
3678
3692
|
};
|
|
3679
|
-
_SeamHttpActionAttempts.ltsVersion = seamApiLtsVersion;
|
|
3680
|
-
var SeamHttpActionAttempts = _SeamHttpActionAttempts;
|
|
3681
3693
|
|
|
3682
3694
|
// src/lib/seam/connect/routes/bridges/bridges.ts
|
|
3683
|
-
var
|
|
3695
|
+
var SeamHttpBridges = class _SeamHttpBridges {
|
|
3696
|
+
client;
|
|
3697
|
+
defaults;
|
|
3698
|
+
ltsVersion = seamApiLtsVersion;
|
|
3699
|
+
static ltsVersion = seamApiLtsVersion;
|
|
3684
3700
|
constructor(apiKeyOrOptions = {}) {
|
|
3685
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
3686
3701
|
const options = parseOptions(apiKeyOrOptions);
|
|
3687
3702
|
if (!options.isUndocumentedApiEnabled) {
|
|
3688
3703
|
throw new Error(
|
|
@@ -3794,13 +3809,14 @@ var _SeamHttpBridges = class _SeamHttpBridges {
|
|
|
3794
3809
|
});
|
|
3795
3810
|
}
|
|
3796
3811
|
};
|
|
3797
|
-
_SeamHttpBridges.ltsVersion = seamApiLtsVersion;
|
|
3798
|
-
var SeamHttpBridges = _SeamHttpBridges;
|
|
3799
3812
|
|
|
3800
3813
|
// src/lib/seam/connect/routes/connect-webviews/connect-webviews.ts
|
|
3801
|
-
var
|
|
3814
|
+
var SeamHttpConnectWebviews = class _SeamHttpConnectWebviews {
|
|
3815
|
+
client;
|
|
3816
|
+
defaults;
|
|
3817
|
+
ltsVersion = seamApiLtsVersion;
|
|
3818
|
+
static ltsVersion = seamApiLtsVersion;
|
|
3802
3819
|
constructor(apiKeyOrOptions = {}) {
|
|
3803
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
3804
3820
|
const options = parseOptions(apiKeyOrOptions);
|
|
3805
3821
|
this.client = "client" in options ? options.client : createClient(options);
|
|
3806
3822
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -3915,13 +3931,14 @@ var _SeamHttpConnectWebviews = class _SeamHttpConnectWebviews {
|
|
|
3915
3931
|
});
|
|
3916
3932
|
}
|
|
3917
3933
|
};
|
|
3918
|
-
_SeamHttpConnectWebviews.ltsVersion = seamApiLtsVersion;
|
|
3919
|
-
var SeamHttpConnectWebviews = _SeamHttpConnectWebviews;
|
|
3920
3934
|
|
|
3921
3935
|
// src/lib/seam/connect/routes/connected-accounts/connected-accounts.ts
|
|
3922
|
-
var
|
|
3936
|
+
var SeamHttpConnectedAccounts = class _SeamHttpConnectedAccounts {
|
|
3937
|
+
client;
|
|
3938
|
+
defaults;
|
|
3939
|
+
ltsVersion = seamApiLtsVersion;
|
|
3940
|
+
static ltsVersion = seamApiLtsVersion;
|
|
3923
3941
|
constructor(apiKeyOrOptions = {}) {
|
|
3924
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
3925
3942
|
const options = parseOptions(apiKeyOrOptions);
|
|
3926
3943
|
this.client = "client" in options ? options.client : createClient(options);
|
|
3927
3944
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -4045,13 +4062,14 @@ var _SeamHttpConnectedAccounts = class _SeamHttpConnectedAccounts {
|
|
|
4045
4062
|
});
|
|
4046
4063
|
}
|
|
4047
4064
|
};
|
|
4048
|
-
_SeamHttpConnectedAccounts.ltsVersion = seamApiLtsVersion;
|
|
4049
|
-
var SeamHttpConnectedAccounts = _SeamHttpConnectedAccounts;
|
|
4050
4065
|
|
|
4051
4066
|
// src/lib/seam/connect/routes/customers/customers.ts
|
|
4052
|
-
var
|
|
4067
|
+
var SeamHttpCustomers = class _SeamHttpCustomers {
|
|
4068
|
+
client;
|
|
4069
|
+
defaults;
|
|
4070
|
+
ltsVersion = seamApiLtsVersion;
|
|
4071
|
+
static ltsVersion = seamApiLtsVersion;
|
|
4053
4072
|
constructor(apiKeyOrOptions = {}) {
|
|
4054
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
4055
4073
|
const options = parseOptions(apiKeyOrOptions);
|
|
4056
4074
|
this.client = "client" in options ? options.client : createClient(options);
|
|
4057
4075
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -4157,13 +4175,14 @@ var _SeamHttpCustomers = class _SeamHttpCustomers {
|
|
|
4157
4175
|
});
|
|
4158
4176
|
}
|
|
4159
4177
|
};
|
|
4160
|
-
_SeamHttpCustomers.ltsVersion = seamApiLtsVersion;
|
|
4161
|
-
var SeamHttpCustomers = _SeamHttpCustomers;
|
|
4162
4178
|
|
|
4163
4179
|
// src/lib/seam/connect/routes/devices/simulate/simulate.ts
|
|
4164
|
-
var
|
|
4180
|
+
var SeamHttpDevicesSimulate = class _SeamHttpDevicesSimulate {
|
|
4181
|
+
client;
|
|
4182
|
+
defaults;
|
|
4183
|
+
ltsVersion = seamApiLtsVersion;
|
|
4184
|
+
static ltsVersion = seamApiLtsVersion;
|
|
4165
4185
|
constructor(apiKeyOrOptions = {}) {
|
|
4166
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
4167
4186
|
const options = parseOptions(apiKeyOrOptions);
|
|
4168
4187
|
this.client = "client" in options ? options.client : createClient(options);
|
|
4169
4188
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -4296,13 +4315,14 @@ var _SeamHttpDevicesSimulate = class _SeamHttpDevicesSimulate {
|
|
|
4296
4315
|
});
|
|
4297
4316
|
}
|
|
4298
4317
|
};
|
|
4299
|
-
_SeamHttpDevicesSimulate.ltsVersion = seamApiLtsVersion;
|
|
4300
|
-
var SeamHttpDevicesSimulate = _SeamHttpDevicesSimulate;
|
|
4301
4318
|
|
|
4302
4319
|
// src/lib/seam/connect/routes/devices/unmanaged/unmanaged.ts
|
|
4303
|
-
var
|
|
4320
|
+
var SeamHttpDevicesUnmanaged = class _SeamHttpDevicesUnmanaged {
|
|
4321
|
+
client;
|
|
4322
|
+
defaults;
|
|
4323
|
+
ltsVersion = seamApiLtsVersion;
|
|
4324
|
+
static ltsVersion = seamApiLtsVersion;
|
|
4304
4325
|
constructor(apiKeyOrOptions = {}) {
|
|
4305
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
4306
4326
|
const options = parseOptions(apiKeyOrOptions);
|
|
4307
4327
|
this.client = "client" in options ? options.client : createClient(options);
|
|
4308
4328
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -4408,13 +4428,14 @@ var _SeamHttpDevicesUnmanaged = class _SeamHttpDevicesUnmanaged {
|
|
|
4408
4428
|
});
|
|
4409
4429
|
}
|
|
4410
4430
|
};
|
|
4411
|
-
_SeamHttpDevicesUnmanaged.ltsVersion = seamApiLtsVersion;
|
|
4412
|
-
var SeamHttpDevicesUnmanaged = _SeamHttpDevicesUnmanaged;
|
|
4413
4431
|
|
|
4414
4432
|
// src/lib/seam/connect/routes/devices/devices.ts
|
|
4415
|
-
var
|
|
4433
|
+
var SeamHttpDevices = class _SeamHttpDevices {
|
|
4434
|
+
client;
|
|
4435
|
+
defaults;
|
|
4436
|
+
ltsVersion = seamApiLtsVersion;
|
|
4437
|
+
static ltsVersion = seamApiLtsVersion;
|
|
4416
4438
|
constructor(apiKeyOrOptions = {}) {
|
|
4417
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
4418
4439
|
const options = parseOptions(apiKeyOrOptions);
|
|
4419
4440
|
this.client = "client" in options ? options.client : createClient(options);
|
|
4420
4441
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -4549,13 +4570,14 @@ var _SeamHttpDevices = class _SeamHttpDevices {
|
|
|
4549
4570
|
});
|
|
4550
4571
|
}
|
|
4551
4572
|
};
|
|
4552
|
-
_SeamHttpDevices.ltsVersion = seamApiLtsVersion;
|
|
4553
|
-
var SeamHttpDevices = _SeamHttpDevices;
|
|
4554
4573
|
|
|
4555
4574
|
// src/lib/seam/connect/routes/events/events.ts
|
|
4556
|
-
var
|
|
4575
|
+
var SeamHttpEvents = class _SeamHttpEvents {
|
|
4576
|
+
client;
|
|
4577
|
+
defaults;
|
|
4578
|
+
ltsVersion = seamApiLtsVersion;
|
|
4579
|
+
static ltsVersion = seamApiLtsVersion;
|
|
4557
4580
|
constructor(apiKeyOrOptions = {}) {
|
|
4558
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
4559
4581
|
const options = parseOptions(apiKeyOrOptions);
|
|
4560
4582
|
this.client = "client" in options ? options.client : createClient(options);
|
|
4561
4583
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -4652,13 +4674,14 @@ var _SeamHttpEvents = class _SeamHttpEvents {
|
|
|
4652
4674
|
});
|
|
4653
4675
|
}
|
|
4654
4676
|
};
|
|
4655
|
-
_SeamHttpEvents.ltsVersion = seamApiLtsVersion;
|
|
4656
|
-
var SeamHttpEvents = _SeamHttpEvents;
|
|
4657
4677
|
|
|
4658
4678
|
// src/lib/seam/connect/routes/instant-keys/instant-keys.ts
|
|
4659
|
-
var
|
|
4679
|
+
var SeamHttpInstantKeys = class _SeamHttpInstantKeys {
|
|
4680
|
+
client;
|
|
4681
|
+
defaults;
|
|
4682
|
+
ltsVersion = seamApiLtsVersion;
|
|
4683
|
+
static ltsVersion = seamApiLtsVersion;
|
|
4660
4684
|
constructor(apiKeyOrOptions = {}) {
|
|
4661
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
4662
4685
|
const options = parseOptions(apiKeyOrOptions);
|
|
4663
4686
|
this.client = "client" in options ? options.client : createClient(options);
|
|
4664
4687
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -4764,13 +4787,14 @@ var _SeamHttpInstantKeys = class _SeamHttpInstantKeys {
|
|
|
4764
4787
|
});
|
|
4765
4788
|
}
|
|
4766
4789
|
};
|
|
4767
|
-
_SeamHttpInstantKeys.ltsVersion = seamApiLtsVersion;
|
|
4768
|
-
var SeamHttpInstantKeys = _SeamHttpInstantKeys;
|
|
4769
4790
|
|
|
4770
4791
|
// src/lib/seam/connect/routes/locks/simulate/simulate.ts
|
|
4771
|
-
var
|
|
4792
|
+
var SeamHttpLocksSimulate = class _SeamHttpLocksSimulate {
|
|
4793
|
+
client;
|
|
4794
|
+
defaults;
|
|
4795
|
+
ltsVersion = seamApiLtsVersion;
|
|
4796
|
+
static ltsVersion = seamApiLtsVersion;
|
|
4772
4797
|
constructor(apiKeyOrOptions = {}) {
|
|
4773
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
4774
4798
|
const options = parseOptions(apiKeyOrOptions);
|
|
4775
4799
|
this.client = "client" in options ? options.client : createClient(options);
|
|
4776
4800
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -4867,13 +4891,14 @@ var _SeamHttpLocksSimulate = class _SeamHttpLocksSimulate {
|
|
|
4867
4891
|
});
|
|
4868
4892
|
}
|
|
4869
4893
|
};
|
|
4870
|
-
_SeamHttpLocksSimulate.ltsVersion = seamApiLtsVersion;
|
|
4871
|
-
var SeamHttpLocksSimulate = _SeamHttpLocksSimulate;
|
|
4872
4894
|
|
|
4873
4895
|
// src/lib/seam/connect/routes/locks/locks.ts
|
|
4874
|
-
var
|
|
4896
|
+
var SeamHttpLocks = class _SeamHttpLocks {
|
|
4897
|
+
client;
|
|
4898
|
+
defaults;
|
|
4899
|
+
ltsVersion = seamApiLtsVersion;
|
|
4900
|
+
static ltsVersion = seamApiLtsVersion;
|
|
4875
4901
|
constructor(apiKeyOrOptions = {}) {
|
|
4876
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
4877
4902
|
const options = parseOptions(apiKeyOrOptions);
|
|
4878
4903
|
this.client = "client" in options ? options.client : createClient(options);
|
|
4879
4904
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -4991,13 +5016,14 @@ var _SeamHttpLocks = class _SeamHttpLocks {
|
|
|
4991
5016
|
});
|
|
4992
5017
|
}
|
|
4993
5018
|
};
|
|
4994
|
-
_SeamHttpLocks.ltsVersion = seamApiLtsVersion;
|
|
4995
|
-
var SeamHttpLocks = _SeamHttpLocks;
|
|
4996
5019
|
|
|
4997
5020
|
// src/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.ts
|
|
4998
|
-
var
|
|
5021
|
+
var SeamHttpNoiseSensorsNoiseThresholds = class _SeamHttpNoiseSensorsNoiseThresholds {
|
|
5022
|
+
client;
|
|
5023
|
+
defaults;
|
|
5024
|
+
ltsVersion = seamApiLtsVersion;
|
|
5025
|
+
static ltsVersion = seamApiLtsVersion;
|
|
4999
5026
|
constructor(apiKeyOrOptions = {}) {
|
|
5000
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
5001
5027
|
const options = parseOptions(apiKeyOrOptions);
|
|
5002
5028
|
this.client = "client" in options ? options.client : createClient(options);
|
|
5003
5029
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -5124,13 +5150,14 @@ var _SeamHttpNoiseSensorsNoiseThresholds = class _SeamHttpNoiseSensorsNoiseThres
|
|
|
5124
5150
|
});
|
|
5125
5151
|
}
|
|
5126
5152
|
};
|
|
5127
|
-
_SeamHttpNoiseSensorsNoiseThresholds.ltsVersion = seamApiLtsVersion;
|
|
5128
|
-
var SeamHttpNoiseSensorsNoiseThresholds = _SeamHttpNoiseSensorsNoiseThresholds;
|
|
5129
5153
|
|
|
5130
5154
|
// src/lib/seam/connect/routes/noise-sensors/simulate/simulate.ts
|
|
5131
|
-
var
|
|
5155
|
+
var SeamHttpNoiseSensorsSimulate = class _SeamHttpNoiseSensorsSimulate {
|
|
5156
|
+
client;
|
|
5157
|
+
defaults;
|
|
5158
|
+
ltsVersion = seamApiLtsVersion;
|
|
5159
|
+
static ltsVersion = seamApiLtsVersion;
|
|
5132
5160
|
constructor(apiKeyOrOptions = {}) {
|
|
5133
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
5134
5161
|
const options = parseOptions(apiKeyOrOptions);
|
|
5135
5162
|
this.client = "client" in options ? options.client : createClient(options);
|
|
5136
5163
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -5218,13 +5245,14 @@ var _SeamHttpNoiseSensorsSimulate = class _SeamHttpNoiseSensorsSimulate {
|
|
|
5218
5245
|
});
|
|
5219
5246
|
}
|
|
5220
5247
|
};
|
|
5221
|
-
_SeamHttpNoiseSensorsSimulate.ltsVersion = seamApiLtsVersion;
|
|
5222
|
-
var SeamHttpNoiseSensorsSimulate = _SeamHttpNoiseSensorsSimulate;
|
|
5223
5248
|
|
|
5224
5249
|
// src/lib/seam/connect/routes/noise-sensors/noise-sensors.ts
|
|
5225
|
-
var
|
|
5250
|
+
var SeamHttpNoiseSensors = class _SeamHttpNoiseSensors {
|
|
5251
|
+
client;
|
|
5252
|
+
defaults;
|
|
5253
|
+
ltsVersion = seamApiLtsVersion;
|
|
5254
|
+
static ltsVersion = seamApiLtsVersion;
|
|
5226
5255
|
constructor(apiKeyOrOptions = {}) {
|
|
5227
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
5228
5256
|
const options = parseOptions(apiKeyOrOptions);
|
|
5229
5257
|
this.client = "client" in options ? options.client : createClient(options);
|
|
5230
5258
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -5321,13 +5349,14 @@ var _SeamHttpNoiseSensors = class _SeamHttpNoiseSensors {
|
|
|
5321
5349
|
});
|
|
5322
5350
|
}
|
|
5323
5351
|
};
|
|
5324
|
-
_SeamHttpNoiseSensors.ltsVersion = seamApiLtsVersion;
|
|
5325
|
-
var SeamHttpNoiseSensors = _SeamHttpNoiseSensors;
|
|
5326
5352
|
|
|
5327
5353
|
// src/lib/seam/connect/routes/phones/simulate/simulate.ts
|
|
5328
|
-
var
|
|
5354
|
+
var SeamHttpPhonesSimulate = class _SeamHttpPhonesSimulate {
|
|
5355
|
+
client;
|
|
5356
|
+
defaults;
|
|
5357
|
+
ltsVersion = seamApiLtsVersion;
|
|
5358
|
+
static ltsVersion = seamApiLtsVersion;
|
|
5329
5359
|
constructor(apiKeyOrOptions = {}) {
|
|
5330
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
5331
5360
|
const options = parseOptions(apiKeyOrOptions);
|
|
5332
5361
|
this.client = "client" in options ? options.client : createClient(options);
|
|
5333
5362
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -5415,13 +5444,14 @@ var _SeamHttpPhonesSimulate = class _SeamHttpPhonesSimulate {
|
|
|
5415
5444
|
});
|
|
5416
5445
|
}
|
|
5417
5446
|
};
|
|
5418
|
-
_SeamHttpPhonesSimulate.ltsVersion = seamApiLtsVersion;
|
|
5419
|
-
var SeamHttpPhonesSimulate = _SeamHttpPhonesSimulate;
|
|
5420
5447
|
|
|
5421
5448
|
// src/lib/seam/connect/routes/phones/phones.ts
|
|
5422
|
-
var
|
|
5449
|
+
var SeamHttpPhones = class _SeamHttpPhones {
|
|
5450
|
+
client;
|
|
5451
|
+
defaults;
|
|
5452
|
+
ltsVersion = seamApiLtsVersion;
|
|
5453
|
+
static ltsVersion = seamApiLtsVersion;
|
|
5423
5454
|
constructor(apiKeyOrOptions = {}) {
|
|
5424
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
5425
5455
|
const options = parseOptions(apiKeyOrOptions);
|
|
5426
5456
|
this.client = "client" in options ? options.client : createClient(options);
|
|
5427
5457
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -5530,13 +5560,14 @@ var _SeamHttpPhones = class _SeamHttpPhones {
|
|
|
5530
5560
|
});
|
|
5531
5561
|
}
|
|
5532
5562
|
};
|
|
5533
|
-
_SeamHttpPhones.ltsVersion = seamApiLtsVersion;
|
|
5534
|
-
var SeamHttpPhones = _SeamHttpPhones;
|
|
5535
5563
|
|
|
5536
5564
|
// src/lib/seam/connect/routes/seam/console/v1/timelines/timelines.ts
|
|
5537
|
-
var
|
|
5565
|
+
var SeamHttpSeamConsoleV1Timelines = class _SeamHttpSeamConsoleV1Timelines {
|
|
5566
|
+
client;
|
|
5567
|
+
defaults;
|
|
5568
|
+
ltsVersion = seamApiLtsVersion;
|
|
5569
|
+
static ltsVersion = seamApiLtsVersion;
|
|
5538
5570
|
constructor(apiKeyOrOptions = {}) {
|
|
5539
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
5540
5571
|
const options = parseOptions(apiKeyOrOptions);
|
|
5541
5572
|
if (!options.isUndocumentedApiEnabled) {
|
|
5542
5573
|
throw new Error(
|
|
@@ -5634,13 +5665,14 @@ var _SeamHttpSeamConsoleV1Timelines = class _SeamHttpSeamConsoleV1Timelines {
|
|
|
5634
5665
|
});
|
|
5635
5666
|
}
|
|
5636
5667
|
};
|
|
5637
|
-
_SeamHttpSeamConsoleV1Timelines.ltsVersion = seamApiLtsVersion;
|
|
5638
|
-
var SeamHttpSeamConsoleV1Timelines = _SeamHttpSeamConsoleV1Timelines;
|
|
5639
5668
|
|
|
5640
5669
|
// src/lib/seam/connect/routes/seam/console/v1/v1.ts
|
|
5641
|
-
var
|
|
5670
|
+
var SeamHttpSeamConsoleV1 = class _SeamHttpSeamConsoleV1 {
|
|
5671
|
+
client;
|
|
5672
|
+
defaults;
|
|
5673
|
+
ltsVersion = seamApiLtsVersion;
|
|
5674
|
+
static ltsVersion = seamApiLtsVersion;
|
|
5642
5675
|
constructor(apiKeyOrOptions = {}) {
|
|
5643
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
5644
5676
|
const options = parseOptions(apiKeyOrOptions);
|
|
5645
5677
|
if (!options.isUndocumentedApiEnabled) {
|
|
5646
5678
|
throw new Error(
|
|
@@ -5741,13 +5773,14 @@ var _SeamHttpSeamConsoleV1 = class _SeamHttpSeamConsoleV1 {
|
|
|
5741
5773
|
});
|
|
5742
5774
|
}
|
|
5743
5775
|
};
|
|
5744
|
-
_SeamHttpSeamConsoleV1.ltsVersion = seamApiLtsVersion;
|
|
5745
|
-
var SeamHttpSeamConsoleV1 = _SeamHttpSeamConsoleV1;
|
|
5746
5776
|
|
|
5747
5777
|
// src/lib/seam/connect/routes/seam/console/console.ts
|
|
5748
|
-
var
|
|
5778
|
+
var SeamHttpSeamConsole = class _SeamHttpSeamConsole {
|
|
5779
|
+
client;
|
|
5780
|
+
defaults;
|
|
5781
|
+
ltsVersion = seamApiLtsVersion;
|
|
5782
|
+
static ltsVersion = seamApiLtsVersion;
|
|
5749
5783
|
constructor(apiKeyOrOptions = {}) {
|
|
5750
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
5751
5784
|
const options = parseOptions(apiKeyOrOptions);
|
|
5752
5785
|
if (!options.isUndocumentedApiEnabled) {
|
|
5753
5786
|
throw new Error(
|
|
@@ -5834,13 +5867,14 @@ var _SeamHttpSeamConsole = class _SeamHttpSeamConsole {
|
|
|
5834
5867
|
return SeamHttpSeamConsoleV1.fromClient(this.client, this.defaults);
|
|
5835
5868
|
}
|
|
5836
5869
|
};
|
|
5837
|
-
_SeamHttpSeamConsole.ltsVersion = seamApiLtsVersion;
|
|
5838
|
-
var SeamHttpSeamConsole = _SeamHttpSeamConsole;
|
|
5839
5870
|
|
|
5840
5871
|
// src/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.ts
|
|
5841
|
-
var
|
|
5872
|
+
var SeamHttpSeamCustomerV1AutomationRuns = class _SeamHttpSeamCustomerV1AutomationRuns {
|
|
5873
|
+
client;
|
|
5874
|
+
defaults;
|
|
5875
|
+
ltsVersion = seamApiLtsVersion;
|
|
5876
|
+
static ltsVersion = seamApiLtsVersion;
|
|
5842
5877
|
constructor(apiKeyOrOptions = {}) {
|
|
5843
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
5844
5878
|
const options = parseOptions(apiKeyOrOptions);
|
|
5845
5879
|
if (!options.isUndocumentedApiEnabled) {
|
|
5846
5880
|
throw new Error(
|
|
@@ -5941,13 +5975,14 @@ var _SeamHttpSeamCustomerV1AutomationRuns = class _SeamHttpSeamCustomerV1Automat
|
|
|
5941
5975
|
});
|
|
5942
5976
|
}
|
|
5943
5977
|
};
|
|
5944
|
-
_SeamHttpSeamCustomerV1AutomationRuns.ltsVersion = seamApiLtsVersion;
|
|
5945
|
-
var SeamHttpSeamCustomerV1AutomationRuns = _SeamHttpSeamCustomerV1AutomationRuns;
|
|
5946
5978
|
|
|
5947
5979
|
// src/lib/seam/connect/routes/seam/customer/v1/automations/automations.ts
|
|
5948
|
-
var
|
|
5980
|
+
var SeamHttpSeamCustomerV1Automations = class _SeamHttpSeamCustomerV1Automations {
|
|
5981
|
+
client;
|
|
5982
|
+
defaults;
|
|
5983
|
+
ltsVersion = seamApiLtsVersion;
|
|
5984
|
+
static ltsVersion = seamApiLtsVersion;
|
|
5949
5985
|
constructor(apiKeyOrOptions = {}) {
|
|
5950
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
5951
5986
|
const options = parseOptions(apiKeyOrOptions);
|
|
5952
5987
|
if (!options.isUndocumentedApiEnabled) {
|
|
5953
5988
|
throw new Error(
|
|
@@ -6076,13 +6111,14 @@ var _SeamHttpSeamCustomerV1Automations = class _SeamHttpSeamCustomerV1Automation
|
|
|
6076
6111
|
});
|
|
6077
6112
|
}
|
|
6078
6113
|
};
|
|
6079
|
-
_SeamHttpSeamCustomerV1Automations.ltsVersion = seamApiLtsVersion;
|
|
6080
|
-
var SeamHttpSeamCustomerV1Automations = _SeamHttpSeamCustomerV1Automations;
|
|
6081
6114
|
|
|
6082
6115
|
// src/lib/seam/connect/routes/seam/customer/v1/events/events.ts
|
|
6083
|
-
var
|
|
6116
|
+
var SeamHttpSeamCustomerV1Events = class _SeamHttpSeamCustomerV1Events {
|
|
6117
|
+
client;
|
|
6118
|
+
defaults;
|
|
6119
|
+
ltsVersion = seamApiLtsVersion;
|
|
6120
|
+
static ltsVersion = seamApiLtsVersion;
|
|
6084
6121
|
constructor(apiKeyOrOptions = {}) {
|
|
6085
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
6086
6122
|
const options = parseOptions(apiKeyOrOptions);
|
|
6087
6123
|
if (!options.isUndocumentedApiEnabled) {
|
|
6088
6124
|
throw new Error(
|
|
@@ -6180,13 +6216,14 @@ var _SeamHttpSeamCustomerV1Events = class _SeamHttpSeamCustomerV1Events {
|
|
|
6180
6216
|
});
|
|
6181
6217
|
}
|
|
6182
6218
|
};
|
|
6183
|
-
_SeamHttpSeamCustomerV1Events.ltsVersion = seamApiLtsVersion;
|
|
6184
|
-
var SeamHttpSeamCustomerV1Events = _SeamHttpSeamCustomerV1Events;
|
|
6185
6219
|
|
|
6186
6220
|
// src/lib/seam/connect/routes/seam/customer/v1/portals/portals.ts
|
|
6187
|
-
var
|
|
6221
|
+
var SeamHttpSeamCustomerV1Portals = class _SeamHttpSeamCustomerV1Portals {
|
|
6222
|
+
client;
|
|
6223
|
+
defaults;
|
|
6224
|
+
ltsVersion = seamApiLtsVersion;
|
|
6225
|
+
static ltsVersion = seamApiLtsVersion;
|
|
6188
6226
|
constructor(apiKeyOrOptions = {}) {
|
|
6189
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
6190
6227
|
const options = parseOptions(apiKeyOrOptions);
|
|
6191
6228
|
if (!options.isUndocumentedApiEnabled) {
|
|
6192
6229
|
throw new Error(
|
|
@@ -6284,13 +6321,122 @@ var _SeamHttpSeamCustomerV1Portals = class _SeamHttpSeamCustomerV1Portals {
|
|
|
6284
6321
|
});
|
|
6285
6322
|
}
|
|
6286
6323
|
};
|
|
6287
|
-
|
|
6288
|
-
|
|
6324
|
+
|
|
6325
|
+
// src/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.ts
|
|
6326
|
+
var SeamHttpSeamCustomerV1Reservations = class _SeamHttpSeamCustomerV1Reservations {
|
|
6327
|
+
client;
|
|
6328
|
+
defaults;
|
|
6329
|
+
ltsVersion = seamApiLtsVersion;
|
|
6330
|
+
static ltsVersion = seamApiLtsVersion;
|
|
6331
|
+
constructor(apiKeyOrOptions = {}) {
|
|
6332
|
+
const options = parseOptions(apiKeyOrOptions);
|
|
6333
|
+
if (!options.isUndocumentedApiEnabled) {
|
|
6334
|
+
throw new Error(
|
|
6335
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6336
|
+
);
|
|
6337
|
+
}
|
|
6338
|
+
this.client = "client" in options ? options.client : createClient(options);
|
|
6339
|
+
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
6340
|
+
}
|
|
6341
|
+
static fromClient(client, options = {}) {
|
|
6342
|
+
const constructorOptions = { ...options, client };
|
|
6343
|
+
if (!isSeamHttpOptionsWithClient(constructorOptions)) {
|
|
6344
|
+
throw new SeamHttpInvalidOptionsError("Missing client");
|
|
6345
|
+
}
|
|
6346
|
+
return new _SeamHttpSeamCustomerV1Reservations(constructorOptions);
|
|
6347
|
+
}
|
|
6348
|
+
static fromApiKey(apiKey, options = {}) {
|
|
6349
|
+
const constructorOptions = { ...options, apiKey };
|
|
6350
|
+
if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
|
|
6351
|
+
throw new SeamHttpInvalidOptionsError("Missing apiKey");
|
|
6352
|
+
}
|
|
6353
|
+
return new _SeamHttpSeamCustomerV1Reservations(constructorOptions);
|
|
6354
|
+
}
|
|
6355
|
+
static fromClientSessionToken(clientSessionToken, options = {}) {
|
|
6356
|
+
const constructorOptions = { ...options, clientSessionToken };
|
|
6357
|
+
if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
|
|
6358
|
+
throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
|
|
6359
|
+
}
|
|
6360
|
+
return new _SeamHttpSeamCustomerV1Reservations(constructorOptions);
|
|
6361
|
+
}
|
|
6362
|
+
static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
|
|
6363
|
+
warnOnInsecureuserIdentifierKey(userIdentifierKey);
|
|
6364
|
+
const clientOptions = parseOptions({ ...options, publishableKey });
|
|
6365
|
+
if (isSeamHttpOptionsWithClient(clientOptions)) {
|
|
6366
|
+
throw new SeamHttpInvalidOptionsError(
|
|
6367
|
+
"The client option cannot be used with SeamHttpSeamCustomerV1Reservations.fromPublishableKey"
|
|
6368
|
+
);
|
|
6369
|
+
}
|
|
6370
|
+
const client = createClient(clientOptions);
|
|
6371
|
+
const clientSessions = SeamHttpClientSessions.fromClient(client);
|
|
6372
|
+
const { token } = await clientSessions.getOrCreate({
|
|
6373
|
+
user_identifier_key: userIdentifierKey
|
|
6374
|
+
});
|
|
6375
|
+
return _SeamHttpSeamCustomerV1Reservations.fromClientSessionToken(
|
|
6376
|
+
token,
|
|
6377
|
+
options
|
|
6378
|
+
);
|
|
6379
|
+
}
|
|
6380
|
+
static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
|
|
6381
|
+
const constructorOptions = { ...options, consoleSessionToken, workspaceId };
|
|
6382
|
+
if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
|
|
6383
|
+
throw new SeamHttpInvalidOptionsError(
|
|
6384
|
+
"Missing consoleSessionToken or workspaceId"
|
|
6385
|
+
);
|
|
6386
|
+
}
|
|
6387
|
+
return new _SeamHttpSeamCustomerV1Reservations(constructorOptions);
|
|
6388
|
+
}
|
|
6389
|
+
static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
|
|
6390
|
+
const constructorOptions = { ...options, personalAccessToken, workspaceId };
|
|
6391
|
+
if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
|
|
6392
|
+
throw new SeamHttpInvalidOptionsError(
|
|
6393
|
+
"Missing personalAccessToken or workspaceId"
|
|
6394
|
+
);
|
|
6395
|
+
}
|
|
6396
|
+
return new _SeamHttpSeamCustomerV1Reservations(constructorOptions);
|
|
6397
|
+
}
|
|
6398
|
+
createPaginator(request) {
|
|
6399
|
+
return new SeamPaginator(this, request);
|
|
6400
|
+
}
|
|
6401
|
+
async updateClientSessionToken(clientSessionToken) {
|
|
6402
|
+
const { headers } = this.client.defaults;
|
|
6403
|
+
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
6404
|
+
clientSessionToken
|
|
6405
|
+
});
|
|
6406
|
+
for (const key of Object.keys(authHeaders)) {
|
|
6407
|
+
if (headers[key] == null) {
|
|
6408
|
+
throw new Error(
|
|
6409
|
+
"Cannot update a clientSessionToken on a client created without a clientSessionToken"
|
|
6410
|
+
);
|
|
6411
|
+
}
|
|
6412
|
+
}
|
|
6413
|
+
this.client.defaults.headers = { ...headers, ...authHeaders };
|
|
6414
|
+
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
6415
|
+
await clientSessions.get();
|
|
6416
|
+
}
|
|
6417
|
+
list(parameters, options = {}) {
|
|
6418
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
6419
|
+
throw new Error(
|
|
6420
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6421
|
+
);
|
|
6422
|
+
}
|
|
6423
|
+
return new SeamHttpRequest(this, {
|
|
6424
|
+
pathname: "/seam/customer/v1/reservations/list",
|
|
6425
|
+
method: "POST",
|
|
6426
|
+
body: parameters,
|
|
6427
|
+
responseKey: "reservations",
|
|
6428
|
+
options
|
|
6429
|
+
});
|
|
6430
|
+
}
|
|
6431
|
+
};
|
|
6289
6432
|
|
|
6290
6433
|
// src/lib/seam/connect/routes/seam/customer/v1/settings/settings.ts
|
|
6291
|
-
var
|
|
6434
|
+
var SeamHttpSeamCustomerV1Settings = class _SeamHttpSeamCustomerV1Settings {
|
|
6435
|
+
client;
|
|
6436
|
+
defaults;
|
|
6437
|
+
ltsVersion = seamApiLtsVersion;
|
|
6438
|
+
static ltsVersion = seamApiLtsVersion;
|
|
6292
6439
|
constructor(apiKeyOrOptions = {}) {
|
|
6293
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
6294
6440
|
const options = parseOptions(apiKeyOrOptions);
|
|
6295
6441
|
if (!options.isUndocumentedApiEnabled) {
|
|
6296
6442
|
throw new Error(
|
|
@@ -6402,13 +6548,14 @@ var _SeamHttpSeamCustomerV1Settings = class _SeamHttpSeamCustomerV1Settings {
|
|
|
6402
6548
|
});
|
|
6403
6549
|
}
|
|
6404
6550
|
};
|
|
6405
|
-
_SeamHttpSeamCustomerV1Settings.ltsVersion = seamApiLtsVersion;
|
|
6406
|
-
var SeamHttpSeamCustomerV1Settings = _SeamHttpSeamCustomerV1Settings;
|
|
6407
6551
|
|
|
6408
6552
|
// src/lib/seam/connect/routes/seam/customer/v1/v1.ts
|
|
6409
|
-
var
|
|
6553
|
+
var SeamHttpSeamCustomerV1 = class _SeamHttpSeamCustomerV1 {
|
|
6554
|
+
client;
|
|
6555
|
+
defaults;
|
|
6556
|
+
ltsVersion = seamApiLtsVersion;
|
|
6557
|
+
static ltsVersion = seamApiLtsVersion;
|
|
6410
6558
|
constructor(apiKeyOrOptions = {}) {
|
|
6411
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
6412
6559
|
const options = parseOptions(apiKeyOrOptions);
|
|
6413
6560
|
if (!options.isUndocumentedApiEnabled) {
|
|
6414
6561
|
throw new Error(
|
|
@@ -6509,17 +6656,24 @@ var _SeamHttpSeamCustomerV1 = class _SeamHttpSeamCustomerV1 {
|
|
|
6509
6656
|
get portals() {
|
|
6510
6657
|
return SeamHttpSeamCustomerV1Portals.fromClient(this.client, this.defaults);
|
|
6511
6658
|
}
|
|
6659
|
+
get reservations() {
|
|
6660
|
+
return SeamHttpSeamCustomerV1Reservations.fromClient(
|
|
6661
|
+
this.client,
|
|
6662
|
+
this.defaults
|
|
6663
|
+
);
|
|
6664
|
+
}
|
|
6512
6665
|
get settings() {
|
|
6513
6666
|
return SeamHttpSeamCustomerV1Settings.fromClient(this.client, this.defaults);
|
|
6514
6667
|
}
|
|
6515
6668
|
};
|
|
6516
|
-
_SeamHttpSeamCustomerV1.ltsVersion = seamApiLtsVersion;
|
|
6517
|
-
var SeamHttpSeamCustomerV1 = _SeamHttpSeamCustomerV1;
|
|
6518
6669
|
|
|
6519
6670
|
// src/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.ts
|
|
6520
|
-
var
|
|
6671
|
+
var SeamHttpSeamPartnerV1BuildingBlocksSpaces = class _SeamHttpSeamPartnerV1BuildingBlocksSpaces {
|
|
6672
|
+
client;
|
|
6673
|
+
defaults;
|
|
6674
|
+
ltsVersion = seamApiLtsVersion;
|
|
6675
|
+
static ltsVersion = seamApiLtsVersion;
|
|
6521
6676
|
constructor(apiKeyOrOptions = {}) {
|
|
6522
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
6523
6677
|
const options = parseOptions(apiKeyOrOptions);
|
|
6524
6678
|
if (!options.isUndocumentedApiEnabled) {
|
|
6525
6679
|
throw new Error(
|
|
@@ -6620,13 +6774,14 @@ var _SeamHttpSeamPartnerV1BuildingBlocksSpaces = class _SeamHttpSeamPartnerV1Bui
|
|
|
6620
6774
|
});
|
|
6621
6775
|
}
|
|
6622
6776
|
};
|
|
6623
|
-
_SeamHttpSeamPartnerV1BuildingBlocksSpaces.ltsVersion = seamApiLtsVersion;
|
|
6624
|
-
var SeamHttpSeamPartnerV1BuildingBlocksSpaces = _SeamHttpSeamPartnerV1BuildingBlocksSpaces;
|
|
6625
6777
|
|
|
6626
6778
|
// src/lib/seam/connect/routes/seam/partner/v1/building-blocks/building-blocks.ts
|
|
6627
|
-
var
|
|
6779
|
+
var SeamHttpSeamPartnerV1BuildingBlocks = class _SeamHttpSeamPartnerV1BuildingBlocks {
|
|
6780
|
+
client;
|
|
6781
|
+
defaults;
|
|
6782
|
+
ltsVersion = seamApiLtsVersion;
|
|
6783
|
+
static ltsVersion = seamApiLtsVersion;
|
|
6628
6784
|
constructor(apiKeyOrOptions = {}) {
|
|
6629
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
6630
6785
|
const options = parseOptions(apiKeyOrOptions);
|
|
6631
6786
|
if (!options.isUndocumentedApiEnabled) {
|
|
6632
6787
|
throw new Error(
|
|
@@ -6719,13 +6874,14 @@ var _SeamHttpSeamPartnerV1BuildingBlocks = class _SeamHttpSeamPartnerV1BuildingB
|
|
|
6719
6874
|
);
|
|
6720
6875
|
}
|
|
6721
6876
|
};
|
|
6722
|
-
_SeamHttpSeamPartnerV1BuildingBlocks.ltsVersion = seamApiLtsVersion;
|
|
6723
|
-
var SeamHttpSeamPartnerV1BuildingBlocks = _SeamHttpSeamPartnerV1BuildingBlocks;
|
|
6724
6877
|
|
|
6725
6878
|
// src/lib/seam/connect/routes/spaces/spaces.ts
|
|
6726
|
-
var
|
|
6879
|
+
var SeamHttpSpaces = class _SeamHttpSpaces {
|
|
6880
|
+
client;
|
|
6881
|
+
defaults;
|
|
6882
|
+
ltsVersion = seamApiLtsVersion;
|
|
6883
|
+
static ltsVersion = seamApiLtsVersion;
|
|
6727
6884
|
constructor(apiKeyOrOptions = {}) {
|
|
6728
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
6729
6885
|
const options = parseOptions(apiKeyOrOptions);
|
|
6730
6886
|
this.client = "client" in options ? options.client : createClient(options);
|
|
6731
6887
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -6894,13 +7050,14 @@ var _SeamHttpSpaces = class _SeamHttpSpaces {
|
|
|
6894
7050
|
});
|
|
6895
7051
|
}
|
|
6896
7052
|
};
|
|
6897
|
-
_SeamHttpSpaces.ltsVersion = seamApiLtsVersion;
|
|
6898
|
-
var SeamHttpSpaces = _SeamHttpSpaces;
|
|
6899
7053
|
|
|
6900
7054
|
// src/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.ts
|
|
6901
|
-
var
|
|
7055
|
+
var SeamHttpThermostatsDailyPrograms = class _SeamHttpThermostatsDailyPrograms {
|
|
7056
|
+
client;
|
|
7057
|
+
defaults;
|
|
7058
|
+
ltsVersion = seamApiLtsVersion;
|
|
7059
|
+
static ltsVersion = seamApiLtsVersion;
|
|
6902
7060
|
constructor(apiKeyOrOptions = {}) {
|
|
6903
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
6904
7061
|
const options = parseOptions(apiKeyOrOptions);
|
|
6905
7062
|
this.client = "client" in options ? options.client : createClient(options);
|
|
6906
7063
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -7009,13 +7166,14 @@ var _SeamHttpThermostatsDailyPrograms = class _SeamHttpThermostatsDailyPrograms
|
|
|
7009
7166
|
});
|
|
7010
7167
|
}
|
|
7011
7168
|
};
|
|
7012
|
-
_SeamHttpThermostatsDailyPrograms.ltsVersion = seamApiLtsVersion;
|
|
7013
|
-
var SeamHttpThermostatsDailyPrograms = _SeamHttpThermostatsDailyPrograms;
|
|
7014
7169
|
|
|
7015
7170
|
// src/lib/seam/connect/routes/thermostats/schedules/schedules.ts
|
|
7016
|
-
var
|
|
7171
|
+
var SeamHttpThermostatsSchedules = class _SeamHttpThermostatsSchedules {
|
|
7172
|
+
client;
|
|
7173
|
+
defaults;
|
|
7174
|
+
ltsVersion = seamApiLtsVersion;
|
|
7175
|
+
static ltsVersion = seamApiLtsVersion;
|
|
7017
7176
|
constructor(apiKeyOrOptions = {}) {
|
|
7018
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
7019
7177
|
const options = parseOptions(apiKeyOrOptions);
|
|
7020
7178
|
this.client = "client" in options ? options.client : createClient(options);
|
|
7021
7179
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -7139,13 +7297,14 @@ var _SeamHttpThermostatsSchedules = class _SeamHttpThermostatsSchedules {
|
|
|
7139
7297
|
});
|
|
7140
7298
|
}
|
|
7141
7299
|
};
|
|
7142
|
-
_SeamHttpThermostatsSchedules.ltsVersion = seamApiLtsVersion;
|
|
7143
|
-
var SeamHttpThermostatsSchedules = _SeamHttpThermostatsSchedules;
|
|
7144
7300
|
|
|
7145
7301
|
// src/lib/seam/connect/routes/thermostats/simulate/simulate.ts
|
|
7146
|
-
var
|
|
7302
|
+
var SeamHttpThermostatsSimulate = class _SeamHttpThermostatsSimulate {
|
|
7303
|
+
client;
|
|
7304
|
+
defaults;
|
|
7305
|
+
ltsVersion = seamApiLtsVersion;
|
|
7306
|
+
static ltsVersion = seamApiLtsVersion;
|
|
7147
7307
|
constructor(apiKeyOrOptions = {}) {
|
|
7148
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
7149
7308
|
const options = parseOptions(apiKeyOrOptions);
|
|
7150
7309
|
this.client = "client" in options ? options.client : createClient(options);
|
|
7151
7310
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -7242,13 +7401,14 @@ var _SeamHttpThermostatsSimulate = class _SeamHttpThermostatsSimulate {
|
|
|
7242
7401
|
});
|
|
7243
7402
|
}
|
|
7244
7403
|
};
|
|
7245
|
-
_SeamHttpThermostatsSimulate.ltsVersion = seamApiLtsVersion;
|
|
7246
|
-
var SeamHttpThermostatsSimulate = _SeamHttpThermostatsSimulate;
|
|
7247
7404
|
|
|
7248
7405
|
// src/lib/seam/connect/routes/thermostats/thermostats.ts
|
|
7249
|
-
var
|
|
7406
|
+
var SeamHttpThermostats = class _SeamHttpThermostats {
|
|
7407
|
+
client;
|
|
7408
|
+
defaults;
|
|
7409
|
+
ltsVersion = seamApiLtsVersion;
|
|
7410
|
+
static ltsVersion = seamApiLtsVersion;
|
|
7250
7411
|
constructor(apiKeyOrOptions = {}) {
|
|
7251
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
7252
7412
|
const options = parseOptions(apiKeyOrOptions);
|
|
7253
7413
|
this.client = "client" in options ? options.client : createClient(options);
|
|
7254
7414
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -7479,13 +7639,14 @@ var _SeamHttpThermostats = class _SeamHttpThermostats {
|
|
|
7479
7639
|
});
|
|
7480
7640
|
}
|
|
7481
7641
|
};
|
|
7482
|
-
_SeamHttpThermostats.ltsVersion = seamApiLtsVersion;
|
|
7483
|
-
var SeamHttpThermostats = _SeamHttpThermostats;
|
|
7484
7642
|
|
|
7485
7643
|
// src/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.ts
|
|
7486
|
-
var
|
|
7644
|
+
var SeamHttpUnstablePartnerBuildingBlocks = class _SeamHttpUnstablePartnerBuildingBlocks {
|
|
7645
|
+
client;
|
|
7646
|
+
defaults;
|
|
7647
|
+
ltsVersion = seamApiLtsVersion;
|
|
7648
|
+
static ltsVersion = seamApiLtsVersion;
|
|
7487
7649
|
constructor(apiKeyOrOptions = {}) {
|
|
7488
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
7489
7650
|
const options = parseOptions(apiKeyOrOptions);
|
|
7490
7651
|
if (!options.isUndocumentedApiEnabled) {
|
|
7491
7652
|
throw new Error(
|
|
@@ -7628,13 +7789,14 @@ var _SeamHttpUnstablePartnerBuildingBlocks = class _SeamHttpUnstablePartnerBuild
|
|
|
7628
7789
|
});
|
|
7629
7790
|
}
|
|
7630
7791
|
};
|
|
7631
|
-
_SeamHttpUnstablePartnerBuildingBlocks.ltsVersion = seamApiLtsVersion;
|
|
7632
|
-
var SeamHttpUnstablePartnerBuildingBlocks = _SeamHttpUnstablePartnerBuildingBlocks;
|
|
7633
7792
|
|
|
7634
7793
|
// src/lib/seam/connect/routes/unstable-partner/unstable-partner.ts
|
|
7635
|
-
var
|
|
7794
|
+
var SeamHttpUnstablePartner = class _SeamHttpUnstablePartner {
|
|
7795
|
+
client;
|
|
7796
|
+
defaults;
|
|
7797
|
+
ltsVersion = seamApiLtsVersion;
|
|
7798
|
+
static ltsVersion = seamApiLtsVersion;
|
|
7636
7799
|
constructor(apiKeyOrOptions = {}) {
|
|
7637
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
7638
7800
|
const options = parseOptions(apiKeyOrOptions);
|
|
7639
7801
|
if (!options.isUndocumentedApiEnabled) {
|
|
7640
7802
|
throw new Error(
|
|
@@ -7724,13 +7886,14 @@ var _SeamHttpUnstablePartner = class _SeamHttpUnstablePartner {
|
|
|
7724
7886
|
);
|
|
7725
7887
|
}
|
|
7726
7888
|
};
|
|
7727
|
-
_SeamHttpUnstablePartner.ltsVersion = seamApiLtsVersion;
|
|
7728
|
-
var SeamHttpUnstablePartner = _SeamHttpUnstablePartner;
|
|
7729
7889
|
|
|
7730
7890
|
// src/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.ts
|
|
7731
|
-
var
|
|
7891
|
+
var SeamHttpUserIdentitiesEnrollmentAutomations = class _SeamHttpUserIdentitiesEnrollmentAutomations {
|
|
7892
|
+
client;
|
|
7893
|
+
defaults;
|
|
7894
|
+
ltsVersion = seamApiLtsVersion;
|
|
7895
|
+
static ltsVersion = seamApiLtsVersion;
|
|
7732
7896
|
constructor(apiKeyOrOptions = {}) {
|
|
7733
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
7734
7897
|
const options = parseOptions(apiKeyOrOptions);
|
|
7735
7898
|
if (!options.isUndocumentedApiEnabled) {
|
|
7736
7899
|
throw new Error(
|
|
@@ -7873,13 +8036,14 @@ var _SeamHttpUserIdentitiesEnrollmentAutomations = class _SeamHttpUserIdentities
|
|
|
7873
8036
|
});
|
|
7874
8037
|
}
|
|
7875
8038
|
};
|
|
7876
|
-
_SeamHttpUserIdentitiesEnrollmentAutomations.ltsVersion = seamApiLtsVersion;
|
|
7877
|
-
var SeamHttpUserIdentitiesEnrollmentAutomations = _SeamHttpUserIdentitiesEnrollmentAutomations;
|
|
7878
8039
|
|
|
7879
8040
|
// src/lib/seam/connect/routes/user-identities/user-identities.ts
|
|
7880
|
-
var
|
|
8041
|
+
var SeamHttpUserIdentities = class _SeamHttpUserIdentities {
|
|
8042
|
+
client;
|
|
8043
|
+
defaults;
|
|
8044
|
+
ltsVersion = seamApiLtsVersion;
|
|
8045
|
+
static ltsVersion = seamApiLtsVersion;
|
|
7881
8046
|
constructor(apiKeyOrOptions = {}) {
|
|
7882
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
7883
8047
|
const options = parseOptions(apiKeyOrOptions);
|
|
7884
8048
|
this.client = "client" in options ? options.client : createClient(options);
|
|
7885
8049
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -8081,13 +8245,14 @@ var _SeamHttpUserIdentities = class _SeamHttpUserIdentities {
|
|
|
8081
8245
|
});
|
|
8082
8246
|
}
|
|
8083
8247
|
};
|
|
8084
|
-
_SeamHttpUserIdentities.ltsVersion = seamApiLtsVersion;
|
|
8085
|
-
var SeamHttpUserIdentities = _SeamHttpUserIdentities;
|
|
8086
8248
|
|
|
8087
8249
|
// src/lib/seam/connect/routes/webhooks/webhooks.ts
|
|
8088
|
-
var
|
|
8250
|
+
var SeamHttpWebhooks = class _SeamHttpWebhooks {
|
|
8251
|
+
client;
|
|
8252
|
+
defaults;
|
|
8253
|
+
ltsVersion = seamApiLtsVersion;
|
|
8254
|
+
static ltsVersion = seamApiLtsVersion;
|
|
8089
8255
|
constructor(apiKeyOrOptions = {}) {
|
|
8090
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
8091
8256
|
const options = parseOptions(apiKeyOrOptions);
|
|
8092
8257
|
this.client = "client" in options ? options.client : createClient(options);
|
|
8093
8258
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -8211,13 +8376,14 @@ var _SeamHttpWebhooks = class _SeamHttpWebhooks {
|
|
|
8211
8376
|
});
|
|
8212
8377
|
}
|
|
8213
8378
|
};
|
|
8214
|
-
_SeamHttpWebhooks.ltsVersion = seamApiLtsVersion;
|
|
8215
|
-
var SeamHttpWebhooks = _SeamHttpWebhooks;
|
|
8216
8379
|
|
|
8217
8380
|
// src/lib/seam/connect/routes/workspaces/customization-profiles/customization-profiles.ts
|
|
8218
|
-
var
|
|
8381
|
+
var SeamHttpWorkspacesCustomizationProfiles = class _SeamHttpWorkspacesCustomizationProfiles {
|
|
8382
|
+
client;
|
|
8383
|
+
defaults;
|
|
8384
|
+
ltsVersion = seamApiLtsVersion;
|
|
8385
|
+
static ltsVersion = seamApiLtsVersion;
|
|
8219
8386
|
constructor(apiKeyOrOptions = {}) {
|
|
8220
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
8221
8387
|
const options = parseOptions(apiKeyOrOptions);
|
|
8222
8388
|
if (!options.isUndocumentedApiEnabled) {
|
|
8223
8389
|
throw new Error(
|
|
@@ -8374,13 +8540,14 @@ var _SeamHttpWorkspacesCustomizationProfiles = class _SeamHttpWorkspacesCustomiz
|
|
|
8374
8540
|
});
|
|
8375
8541
|
}
|
|
8376
8542
|
};
|
|
8377
|
-
_SeamHttpWorkspacesCustomizationProfiles.ltsVersion = seamApiLtsVersion;
|
|
8378
|
-
var SeamHttpWorkspacesCustomizationProfiles = _SeamHttpWorkspacesCustomizationProfiles;
|
|
8379
8543
|
|
|
8380
8544
|
// src/lib/seam/connect/routes/workspaces/workspaces.ts
|
|
8381
|
-
var
|
|
8545
|
+
var SeamHttpWorkspaces = class _SeamHttpWorkspaces {
|
|
8546
|
+
client;
|
|
8547
|
+
defaults;
|
|
8548
|
+
ltsVersion = seamApiLtsVersion;
|
|
8549
|
+
static ltsVersion = seamApiLtsVersion;
|
|
8382
8550
|
constructor(apiKeyOrOptions = {}) {
|
|
8383
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
8384
8551
|
const options = parseOptions(apiKeyOrOptions);
|
|
8385
8552
|
this.client = "client" in options ? options.client : createClient(options);
|
|
8386
8553
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -8524,13 +8691,14 @@ var _SeamHttpWorkspaces = class _SeamHttpWorkspaces {
|
|
|
8524
8691
|
});
|
|
8525
8692
|
}
|
|
8526
8693
|
};
|
|
8527
|
-
_SeamHttpWorkspaces.ltsVersion = seamApiLtsVersion;
|
|
8528
|
-
var SeamHttpWorkspaces = _SeamHttpWorkspaces;
|
|
8529
8694
|
|
|
8530
8695
|
// src/lib/seam/connect/routes/seam-http.ts
|
|
8531
|
-
var
|
|
8696
|
+
var SeamHttp = class _SeamHttp {
|
|
8697
|
+
client;
|
|
8698
|
+
defaults;
|
|
8699
|
+
ltsVersion = seamApiLtsVersion;
|
|
8700
|
+
static ltsVersion = seamApiLtsVersion;
|
|
8532
8701
|
constructor(apiKeyOrOptions = {}) {
|
|
8533
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
8534
8702
|
const options = parseOptions(apiKeyOrOptions);
|
|
8535
8703
|
this.client = "client" in options ? options.client : createClient(options);
|
|
8536
8704
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -8675,13 +8843,14 @@ var _SeamHttp = class _SeamHttp {
|
|
|
8675
8843
|
return SeamHttpWorkspaces.fromClient(this.client, this.defaults);
|
|
8676
8844
|
}
|
|
8677
8845
|
};
|
|
8678
|
-
_SeamHttp.ltsVersion = seamApiLtsVersion;
|
|
8679
|
-
var SeamHttp = _SeamHttp;
|
|
8680
8846
|
|
|
8681
8847
|
// src/lib/seam/connect/routes/seam-http-endpoints.ts
|
|
8682
|
-
var
|
|
8848
|
+
var SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
8849
|
+
client;
|
|
8850
|
+
defaults;
|
|
8851
|
+
ltsVersion = seamApiLtsVersion;
|
|
8852
|
+
static ltsVersion = seamApiLtsVersion;
|
|
8683
8853
|
constructor(apiKeyOrOptions = {}) {
|
|
8684
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
8685
8854
|
const options = parseOptions(apiKeyOrOptions);
|
|
8686
8855
|
this.client = "client" in options ? options.client : createClient(options);
|
|
8687
8856
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
@@ -8759,238 +8928,238 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
8759
8928
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
8760
8929
|
await clientSessions.get();
|
|
8761
8930
|
}
|
|
8762
|
-
get
|
|
8931
|
+
get "/access_codes/create"() {
|
|
8763
8932
|
const { client, defaults } = this;
|
|
8764
8933
|
return function accessCodesCreate(...args) {
|
|
8765
8934
|
const seam = SeamHttpAccessCodes.fromClient(client, defaults);
|
|
8766
8935
|
return seam.create(...args);
|
|
8767
8936
|
};
|
|
8768
8937
|
}
|
|
8769
|
-
get
|
|
8938
|
+
get "/access_codes/create_multiple"() {
|
|
8770
8939
|
const { client, defaults } = this;
|
|
8771
8940
|
return function accessCodesCreateMultiple(...args) {
|
|
8772
8941
|
const seam = SeamHttpAccessCodes.fromClient(client, defaults);
|
|
8773
8942
|
return seam.createMultiple(...args);
|
|
8774
8943
|
};
|
|
8775
8944
|
}
|
|
8776
|
-
get
|
|
8945
|
+
get "/access_codes/delete"() {
|
|
8777
8946
|
const { client, defaults } = this;
|
|
8778
8947
|
return function accessCodesDelete(...args) {
|
|
8779
8948
|
const seam = SeamHttpAccessCodes.fromClient(client, defaults);
|
|
8780
8949
|
return seam.delete(...args);
|
|
8781
8950
|
};
|
|
8782
8951
|
}
|
|
8783
|
-
get
|
|
8952
|
+
get "/access_codes/generate_code"() {
|
|
8784
8953
|
const { client, defaults } = this;
|
|
8785
8954
|
return function accessCodesGenerateCode(...args) {
|
|
8786
8955
|
const seam = SeamHttpAccessCodes.fromClient(client, defaults);
|
|
8787
8956
|
return seam.generateCode(...args);
|
|
8788
8957
|
};
|
|
8789
8958
|
}
|
|
8790
|
-
get
|
|
8959
|
+
get "/access_codes/get"() {
|
|
8791
8960
|
const { client, defaults } = this;
|
|
8792
8961
|
return function accessCodesGet(...args) {
|
|
8793
8962
|
const seam = SeamHttpAccessCodes.fromClient(client, defaults);
|
|
8794
8963
|
return seam.get(...args);
|
|
8795
8964
|
};
|
|
8796
8965
|
}
|
|
8797
|
-
get
|
|
8966
|
+
get "/access_codes/list"() {
|
|
8798
8967
|
const { client, defaults } = this;
|
|
8799
8968
|
return function accessCodesList(...args) {
|
|
8800
8969
|
const seam = SeamHttpAccessCodes.fromClient(client, defaults);
|
|
8801
8970
|
return seam.list(...args);
|
|
8802
8971
|
};
|
|
8803
8972
|
}
|
|
8804
|
-
get
|
|
8973
|
+
get "/access_codes/pull_backup_access_code"() {
|
|
8805
8974
|
const { client, defaults } = this;
|
|
8806
8975
|
return function accessCodesPullBackupAccessCode(...args) {
|
|
8807
8976
|
const seam = SeamHttpAccessCodes.fromClient(client, defaults);
|
|
8808
8977
|
return seam.pullBackupAccessCode(...args);
|
|
8809
8978
|
};
|
|
8810
8979
|
}
|
|
8811
|
-
get
|
|
8980
|
+
get "/access_codes/report_device_constraints"() {
|
|
8812
8981
|
const { client, defaults } = this;
|
|
8813
8982
|
return function accessCodesReportDeviceConstraints(...args) {
|
|
8814
8983
|
const seam = SeamHttpAccessCodes.fromClient(client, defaults);
|
|
8815
8984
|
return seam.reportDeviceConstraints(...args);
|
|
8816
8985
|
};
|
|
8817
8986
|
}
|
|
8818
|
-
get
|
|
8987
|
+
get "/access_codes/update"() {
|
|
8819
8988
|
const { client, defaults } = this;
|
|
8820
8989
|
return function accessCodesUpdate(...args) {
|
|
8821
8990
|
const seam = SeamHttpAccessCodes.fromClient(client, defaults);
|
|
8822
8991
|
return seam.update(...args);
|
|
8823
8992
|
};
|
|
8824
8993
|
}
|
|
8825
|
-
get
|
|
8994
|
+
get "/access_codes/update_multiple"() {
|
|
8826
8995
|
const { client, defaults } = this;
|
|
8827
8996
|
return function accessCodesUpdateMultiple(...args) {
|
|
8828
8997
|
const seam = SeamHttpAccessCodes.fromClient(client, defaults);
|
|
8829
8998
|
return seam.updateMultiple(...args);
|
|
8830
8999
|
};
|
|
8831
9000
|
}
|
|
8832
|
-
get
|
|
9001
|
+
get "/access_codes/simulate/create_unmanaged_access_code"() {
|
|
8833
9002
|
const { client, defaults } = this;
|
|
8834
9003
|
return function accessCodesSimulateCreateUnmanagedAccessCode(...args) {
|
|
8835
9004
|
const seam = SeamHttpAccessCodesSimulate.fromClient(client, defaults);
|
|
8836
9005
|
return seam.createUnmanagedAccessCode(...args);
|
|
8837
9006
|
};
|
|
8838
9007
|
}
|
|
8839
|
-
get
|
|
9008
|
+
get "/access_codes/unmanaged/convert_to_managed"() {
|
|
8840
9009
|
const { client, defaults } = this;
|
|
8841
9010
|
return function accessCodesUnmanagedConvertToManaged(...args) {
|
|
8842
9011
|
const seam = SeamHttpAccessCodesUnmanaged.fromClient(client, defaults);
|
|
8843
9012
|
return seam.convertToManaged(...args);
|
|
8844
9013
|
};
|
|
8845
9014
|
}
|
|
8846
|
-
get
|
|
9015
|
+
get "/access_codes/unmanaged/delete"() {
|
|
8847
9016
|
const { client, defaults } = this;
|
|
8848
9017
|
return function accessCodesUnmanagedDelete(...args) {
|
|
8849
9018
|
const seam = SeamHttpAccessCodesUnmanaged.fromClient(client, defaults);
|
|
8850
9019
|
return seam.delete(...args);
|
|
8851
9020
|
};
|
|
8852
9021
|
}
|
|
8853
|
-
get
|
|
9022
|
+
get "/access_codes/unmanaged/get"() {
|
|
8854
9023
|
const { client, defaults } = this;
|
|
8855
9024
|
return function accessCodesUnmanagedGet(...args) {
|
|
8856
9025
|
const seam = SeamHttpAccessCodesUnmanaged.fromClient(client, defaults);
|
|
8857
9026
|
return seam.get(...args);
|
|
8858
9027
|
};
|
|
8859
9028
|
}
|
|
8860
|
-
get
|
|
9029
|
+
get "/access_codes/unmanaged/list"() {
|
|
8861
9030
|
const { client, defaults } = this;
|
|
8862
9031
|
return function accessCodesUnmanagedList(...args) {
|
|
8863
9032
|
const seam = SeamHttpAccessCodesUnmanaged.fromClient(client, defaults);
|
|
8864
9033
|
return seam.list(...args);
|
|
8865
9034
|
};
|
|
8866
9035
|
}
|
|
8867
|
-
get
|
|
9036
|
+
get "/access_codes/unmanaged/update"() {
|
|
8868
9037
|
const { client, defaults } = this;
|
|
8869
9038
|
return function accessCodesUnmanagedUpdate(...args) {
|
|
8870
9039
|
const seam = SeamHttpAccessCodesUnmanaged.fromClient(client, defaults);
|
|
8871
9040
|
return seam.update(...args);
|
|
8872
9041
|
};
|
|
8873
9042
|
}
|
|
8874
|
-
get
|
|
9043
|
+
get "/access_grants/create"() {
|
|
8875
9044
|
const { client, defaults } = this;
|
|
8876
9045
|
return function accessGrantsCreate(...args) {
|
|
8877
9046
|
const seam = SeamHttpAccessGrants.fromClient(client, defaults);
|
|
8878
9047
|
return seam.create(...args);
|
|
8879
9048
|
};
|
|
8880
9049
|
}
|
|
8881
|
-
get
|
|
9050
|
+
get "/access_grants/delete"() {
|
|
8882
9051
|
const { client, defaults } = this;
|
|
8883
9052
|
return function accessGrantsDelete(...args) {
|
|
8884
9053
|
const seam = SeamHttpAccessGrants.fromClient(client, defaults);
|
|
8885
9054
|
return seam.delete(...args);
|
|
8886
9055
|
};
|
|
8887
9056
|
}
|
|
8888
|
-
get
|
|
9057
|
+
get "/access_grants/get"() {
|
|
8889
9058
|
const { client, defaults } = this;
|
|
8890
9059
|
return function accessGrantsGet(...args) {
|
|
8891
9060
|
const seam = SeamHttpAccessGrants.fromClient(client, defaults);
|
|
8892
9061
|
return seam.get(...args);
|
|
8893
9062
|
};
|
|
8894
9063
|
}
|
|
8895
|
-
get
|
|
9064
|
+
get "/access_grants/get_related"() {
|
|
8896
9065
|
const { client, defaults } = this;
|
|
8897
9066
|
return function accessGrantsGetRelated(...args) {
|
|
8898
9067
|
const seam = SeamHttpAccessGrants.fromClient(client, defaults);
|
|
8899
9068
|
return seam.getRelated(...args);
|
|
8900
9069
|
};
|
|
8901
9070
|
}
|
|
8902
|
-
get
|
|
9071
|
+
get "/access_grants/list"() {
|
|
8903
9072
|
const { client, defaults } = this;
|
|
8904
9073
|
return function accessGrantsList(...args) {
|
|
8905
9074
|
const seam = SeamHttpAccessGrants.fromClient(client, defaults);
|
|
8906
9075
|
return seam.list(...args);
|
|
8907
9076
|
};
|
|
8908
9077
|
}
|
|
8909
|
-
get
|
|
9078
|
+
get "/access_grants/update"() {
|
|
8910
9079
|
const { client, defaults } = this;
|
|
8911
9080
|
return function accessGrantsUpdate(...args) {
|
|
8912
9081
|
const seam = SeamHttpAccessGrants.fromClient(client, defaults);
|
|
8913
9082
|
return seam.update(...args);
|
|
8914
9083
|
};
|
|
8915
9084
|
}
|
|
8916
|
-
get
|
|
9085
|
+
get "/access_methods/delete"() {
|
|
8917
9086
|
const { client, defaults } = this;
|
|
8918
9087
|
return function accessMethodsDelete(...args) {
|
|
8919
9088
|
const seam = SeamHttpAccessMethods.fromClient(client, defaults);
|
|
8920
9089
|
return seam.delete(...args);
|
|
8921
9090
|
};
|
|
8922
9091
|
}
|
|
8923
|
-
get
|
|
9092
|
+
get "/access_methods/encode"() {
|
|
8924
9093
|
const { client, defaults } = this;
|
|
8925
9094
|
return function accessMethodsEncode(...args) {
|
|
8926
9095
|
const seam = SeamHttpAccessMethods.fromClient(client, defaults);
|
|
8927
9096
|
return seam.encode(...args);
|
|
8928
9097
|
};
|
|
8929
9098
|
}
|
|
8930
|
-
get
|
|
9099
|
+
get "/access_methods/get"() {
|
|
8931
9100
|
const { client, defaults } = this;
|
|
8932
9101
|
return function accessMethodsGet(...args) {
|
|
8933
9102
|
const seam = SeamHttpAccessMethods.fromClient(client, defaults);
|
|
8934
9103
|
return seam.get(...args);
|
|
8935
9104
|
};
|
|
8936
9105
|
}
|
|
8937
|
-
get
|
|
9106
|
+
get "/access_methods/get_related"() {
|
|
8938
9107
|
const { client, defaults } = this;
|
|
8939
9108
|
return function accessMethodsGetRelated(...args) {
|
|
8940
9109
|
const seam = SeamHttpAccessMethods.fromClient(client, defaults);
|
|
8941
9110
|
return seam.getRelated(...args);
|
|
8942
9111
|
};
|
|
8943
9112
|
}
|
|
8944
|
-
get
|
|
9113
|
+
get "/access_methods/list"() {
|
|
8945
9114
|
const { client, defaults } = this;
|
|
8946
9115
|
return function accessMethodsList(...args) {
|
|
8947
9116
|
const seam = SeamHttpAccessMethods.fromClient(client, defaults);
|
|
8948
9117
|
return seam.list(...args);
|
|
8949
9118
|
};
|
|
8950
9119
|
}
|
|
8951
|
-
get
|
|
9120
|
+
get "/acs/access_groups/add_user"() {
|
|
8952
9121
|
const { client, defaults } = this;
|
|
8953
9122
|
return function acsAccessGroupsAddUser(...args) {
|
|
8954
9123
|
const seam = SeamHttpAcsAccessGroups.fromClient(client, defaults);
|
|
8955
9124
|
return seam.addUser(...args);
|
|
8956
9125
|
};
|
|
8957
9126
|
}
|
|
8958
|
-
get
|
|
9127
|
+
get "/acs/access_groups/get"() {
|
|
8959
9128
|
const { client, defaults } = this;
|
|
8960
9129
|
return function acsAccessGroupsGet(...args) {
|
|
8961
9130
|
const seam = SeamHttpAcsAccessGroups.fromClient(client, defaults);
|
|
8962
9131
|
return seam.get(...args);
|
|
8963
9132
|
};
|
|
8964
9133
|
}
|
|
8965
|
-
get
|
|
9134
|
+
get "/acs/access_groups/list"() {
|
|
8966
9135
|
const { client, defaults } = this;
|
|
8967
9136
|
return function acsAccessGroupsList(...args) {
|
|
8968
9137
|
const seam = SeamHttpAcsAccessGroups.fromClient(client, defaults);
|
|
8969
9138
|
return seam.list(...args);
|
|
8970
9139
|
};
|
|
8971
9140
|
}
|
|
8972
|
-
get
|
|
9141
|
+
get "/acs/access_groups/list_accessible_entrances"() {
|
|
8973
9142
|
const { client, defaults } = this;
|
|
8974
9143
|
return function acsAccessGroupsListAccessibleEntrances(...args) {
|
|
8975
9144
|
const seam = SeamHttpAcsAccessGroups.fromClient(client, defaults);
|
|
8976
9145
|
return seam.listAccessibleEntrances(...args);
|
|
8977
9146
|
};
|
|
8978
9147
|
}
|
|
8979
|
-
get
|
|
9148
|
+
get "/acs/access_groups/list_users"() {
|
|
8980
9149
|
const { client, defaults } = this;
|
|
8981
9150
|
return function acsAccessGroupsListUsers(...args) {
|
|
8982
9151
|
const seam = SeamHttpAcsAccessGroups.fromClient(client, defaults);
|
|
8983
9152
|
return seam.listUsers(...args);
|
|
8984
9153
|
};
|
|
8985
9154
|
}
|
|
8986
|
-
get
|
|
9155
|
+
get "/acs/access_groups/remove_user"() {
|
|
8987
9156
|
const { client, defaults } = this;
|
|
8988
9157
|
return function acsAccessGroupsRemoveUser(...args) {
|
|
8989
9158
|
const seam = SeamHttpAcsAccessGroups.fromClient(client, defaults);
|
|
8990
9159
|
return seam.removeUser(...args);
|
|
8991
9160
|
};
|
|
8992
9161
|
}
|
|
8993
|
-
get
|
|
9162
|
+
get "/acs/access_groups/unmanaged/get"() {
|
|
8994
9163
|
const { client, defaults } = this;
|
|
8995
9164
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
8996
9165
|
throw new Error(
|
|
@@ -9002,7 +9171,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9002
9171
|
return seam.get(...args);
|
|
9003
9172
|
};
|
|
9004
9173
|
}
|
|
9005
|
-
get
|
|
9174
|
+
get "/acs/access_groups/unmanaged/list"() {
|
|
9006
9175
|
const { client, defaults } = this;
|
|
9007
9176
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9008
9177
|
throw new Error(
|
|
@@ -9014,7 +9183,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9014
9183
|
return seam.list(...args);
|
|
9015
9184
|
};
|
|
9016
9185
|
}
|
|
9017
|
-
get
|
|
9186
|
+
get "/acs/credential_pools/list"() {
|
|
9018
9187
|
const { client, defaults } = this;
|
|
9019
9188
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9020
9189
|
throw new Error(
|
|
@@ -9026,7 +9195,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9026
9195
|
return seam.list(...args);
|
|
9027
9196
|
};
|
|
9028
9197
|
}
|
|
9029
|
-
get
|
|
9198
|
+
get "/acs/credential_provisioning_automations/launch"() {
|
|
9030
9199
|
const { client, defaults } = this;
|
|
9031
9200
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9032
9201
|
throw new Error(
|
|
@@ -9041,21 +9210,21 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9041
9210
|
return seam.launch(...args);
|
|
9042
9211
|
};
|
|
9043
9212
|
}
|
|
9044
|
-
get
|
|
9213
|
+
get "/acs/credentials/assign"() {
|
|
9045
9214
|
const { client, defaults } = this;
|
|
9046
9215
|
return function acsCredentialsAssign(...args) {
|
|
9047
9216
|
const seam = SeamHttpAcsCredentials.fromClient(client, defaults);
|
|
9048
9217
|
return seam.assign(...args);
|
|
9049
9218
|
};
|
|
9050
9219
|
}
|
|
9051
|
-
get
|
|
9220
|
+
get "/acs/credentials/create"() {
|
|
9052
9221
|
const { client, defaults } = this;
|
|
9053
9222
|
return function acsCredentialsCreate(...args) {
|
|
9054
9223
|
const seam = SeamHttpAcsCredentials.fromClient(client, defaults);
|
|
9055
9224
|
return seam.create(...args);
|
|
9056
9225
|
};
|
|
9057
9226
|
}
|
|
9058
|
-
get
|
|
9227
|
+
get "/acs/credentials/create_offline_code"() {
|
|
9059
9228
|
const { client, defaults } = this;
|
|
9060
9229
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9061
9230
|
throw new Error(
|
|
@@ -9067,49 +9236,49 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9067
9236
|
return seam.createOfflineCode(...args);
|
|
9068
9237
|
};
|
|
9069
9238
|
}
|
|
9070
|
-
get
|
|
9239
|
+
get "/acs/credentials/delete"() {
|
|
9071
9240
|
const { client, defaults } = this;
|
|
9072
9241
|
return function acsCredentialsDelete(...args) {
|
|
9073
9242
|
const seam = SeamHttpAcsCredentials.fromClient(client, defaults);
|
|
9074
9243
|
return seam.delete(...args);
|
|
9075
9244
|
};
|
|
9076
9245
|
}
|
|
9077
|
-
get
|
|
9246
|
+
get "/acs/credentials/get"() {
|
|
9078
9247
|
const { client, defaults } = this;
|
|
9079
9248
|
return function acsCredentialsGet(...args) {
|
|
9080
9249
|
const seam = SeamHttpAcsCredentials.fromClient(client, defaults);
|
|
9081
9250
|
return seam.get(...args);
|
|
9082
9251
|
};
|
|
9083
9252
|
}
|
|
9084
|
-
get
|
|
9253
|
+
get "/acs/credentials/list"() {
|
|
9085
9254
|
const { client, defaults } = this;
|
|
9086
9255
|
return function acsCredentialsList(...args) {
|
|
9087
9256
|
const seam = SeamHttpAcsCredentials.fromClient(client, defaults);
|
|
9088
9257
|
return seam.list(...args);
|
|
9089
9258
|
};
|
|
9090
9259
|
}
|
|
9091
|
-
get
|
|
9260
|
+
get "/acs/credentials/list_accessible_entrances"() {
|
|
9092
9261
|
const { client, defaults } = this;
|
|
9093
9262
|
return function acsCredentialsListAccessibleEntrances(...args) {
|
|
9094
9263
|
const seam = SeamHttpAcsCredentials.fromClient(client, defaults);
|
|
9095
9264
|
return seam.listAccessibleEntrances(...args);
|
|
9096
9265
|
};
|
|
9097
9266
|
}
|
|
9098
|
-
get
|
|
9267
|
+
get "/acs/credentials/unassign"() {
|
|
9099
9268
|
const { client, defaults } = this;
|
|
9100
9269
|
return function acsCredentialsUnassign(...args) {
|
|
9101
9270
|
const seam = SeamHttpAcsCredentials.fromClient(client, defaults);
|
|
9102
9271
|
return seam.unassign(...args);
|
|
9103
9272
|
};
|
|
9104
9273
|
}
|
|
9105
|
-
get
|
|
9274
|
+
get "/acs/credentials/update"() {
|
|
9106
9275
|
const { client, defaults } = this;
|
|
9107
9276
|
return function acsCredentialsUpdate(...args) {
|
|
9108
9277
|
const seam = SeamHttpAcsCredentials.fromClient(client, defaults);
|
|
9109
9278
|
return seam.update(...args);
|
|
9110
9279
|
};
|
|
9111
9280
|
}
|
|
9112
|
-
get
|
|
9281
|
+
get "/acs/credentials/unmanaged/get"() {
|
|
9113
9282
|
const { client, defaults } = this;
|
|
9114
9283
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9115
9284
|
throw new Error(
|
|
@@ -9121,7 +9290,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9121
9290
|
return seam.get(...args);
|
|
9122
9291
|
};
|
|
9123
9292
|
}
|
|
9124
|
-
get
|
|
9293
|
+
get "/acs/credentials/unmanaged/list"() {
|
|
9125
9294
|
const { client, defaults } = this;
|
|
9126
9295
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9127
9296
|
throw new Error(
|
|
@@ -9133,189 +9302,189 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9133
9302
|
return seam.list(...args);
|
|
9134
9303
|
};
|
|
9135
9304
|
}
|
|
9136
|
-
get
|
|
9305
|
+
get "/acs/encoders/encode_credential"() {
|
|
9137
9306
|
const { client, defaults } = this;
|
|
9138
9307
|
return function acsEncodersEncodeCredential(...args) {
|
|
9139
9308
|
const seam = SeamHttpAcsEncoders.fromClient(client, defaults);
|
|
9140
9309
|
return seam.encodeCredential(...args);
|
|
9141
9310
|
};
|
|
9142
9311
|
}
|
|
9143
|
-
get
|
|
9312
|
+
get "/acs/encoders/get"() {
|
|
9144
9313
|
const { client, defaults } = this;
|
|
9145
9314
|
return function acsEncodersGet(...args) {
|
|
9146
9315
|
const seam = SeamHttpAcsEncoders.fromClient(client, defaults);
|
|
9147
9316
|
return seam.get(...args);
|
|
9148
9317
|
};
|
|
9149
9318
|
}
|
|
9150
|
-
get
|
|
9319
|
+
get "/acs/encoders/list"() {
|
|
9151
9320
|
const { client, defaults } = this;
|
|
9152
9321
|
return function acsEncodersList(...args) {
|
|
9153
9322
|
const seam = SeamHttpAcsEncoders.fromClient(client, defaults);
|
|
9154
9323
|
return seam.list(...args);
|
|
9155
9324
|
};
|
|
9156
9325
|
}
|
|
9157
|
-
get
|
|
9326
|
+
get "/acs/encoders/scan_credential"() {
|
|
9158
9327
|
const { client, defaults } = this;
|
|
9159
9328
|
return function acsEncodersScanCredential(...args) {
|
|
9160
9329
|
const seam = SeamHttpAcsEncoders.fromClient(client, defaults);
|
|
9161
9330
|
return seam.scanCredential(...args);
|
|
9162
9331
|
};
|
|
9163
9332
|
}
|
|
9164
|
-
get
|
|
9333
|
+
get "/acs/encoders/simulate/next_credential_encode_will_fail"() {
|
|
9165
9334
|
const { client, defaults } = this;
|
|
9166
9335
|
return function acsEncodersSimulateNextCredentialEncodeWillFail(...args) {
|
|
9167
9336
|
const seam = SeamHttpAcsEncodersSimulate.fromClient(client, defaults);
|
|
9168
9337
|
return seam.nextCredentialEncodeWillFail(...args);
|
|
9169
9338
|
};
|
|
9170
9339
|
}
|
|
9171
|
-
get
|
|
9340
|
+
get "/acs/encoders/simulate/next_credential_encode_will_succeed"() {
|
|
9172
9341
|
const { client, defaults } = this;
|
|
9173
9342
|
return function acsEncodersSimulateNextCredentialEncodeWillSucceed(...args) {
|
|
9174
9343
|
const seam = SeamHttpAcsEncodersSimulate.fromClient(client, defaults);
|
|
9175
9344
|
return seam.nextCredentialEncodeWillSucceed(...args);
|
|
9176
9345
|
};
|
|
9177
9346
|
}
|
|
9178
|
-
get
|
|
9347
|
+
get "/acs/encoders/simulate/next_credential_scan_will_fail"() {
|
|
9179
9348
|
const { client, defaults } = this;
|
|
9180
9349
|
return function acsEncodersSimulateNextCredentialScanWillFail(...args) {
|
|
9181
9350
|
const seam = SeamHttpAcsEncodersSimulate.fromClient(client, defaults);
|
|
9182
9351
|
return seam.nextCredentialScanWillFail(...args);
|
|
9183
9352
|
};
|
|
9184
9353
|
}
|
|
9185
|
-
get
|
|
9354
|
+
get "/acs/encoders/simulate/next_credential_scan_will_succeed"() {
|
|
9186
9355
|
const { client, defaults } = this;
|
|
9187
9356
|
return function acsEncodersSimulateNextCredentialScanWillSucceed(...args) {
|
|
9188
9357
|
const seam = SeamHttpAcsEncodersSimulate.fromClient(client, defaults);
|
|
9189
9358
|
return seam.nextCredentialScanWillSucceed(...args);
|
|
9190
9359
|
};
|
|
9191
9360
|
}
|
|
9192
|
-
get
|
|
9361
|
+
get "/acs/entrances/get"() {
|
|
9193
9362
|
const { client, defaults } = this;
|
|
9194
9363
|
return function acsEntrancesGet(...args) {
|
|
9195
9364
|
const seam = SeamHttpAcsEntrances.fromClient(client, defaults);
|
|
9196
9365
|
return seam.get(...args);
|
|
9197
9366
|
};
|
|
9198
9367
|
}
|
|
9199
|
-
get
|
|
9368
|
+
get "/acs/entrances/grant_access"() {
|
|
9200
9369
|
const { client, defaults } = this;
|
|
9201
9370
|
return function acsEntrancesGrantAccess(...args) {
|
|
9202
9371
|
const seam = SeamHttpAcsEntrances.fromClient(client, defaults);
|
|
9203
9372
|
return seam.grantAccess(...args);
|
|
9204
9373
|
};
|
|
9205
9374
|
}
|
|
9206
|
-
get
|
|
9375
|
+
get "/acs/entrances/list"() {
|
|
9207
9376
|
const { client, defaults } = this;
|
|
9208
9377
|
return function acsEntrancesList(...args) {
|
|
9209
9378
|
const seam = SeamHttpAcsEntrances.fromClient(client, defaults);
|
|
9210
9379
|
return seam.list(...args);
|
|
9211
9380
|
};
|
|
9212
9381
|
}
|
|
9213
|
-
get
|
|
9382
|
+
get "/acs/entrances/list_credentials_with_access"() {
|
|
9214
9383
|
const { client, defaults } = this;
|
|
9215
9384
|
return function acsEntrancesListCredentialsWithAccess(...args) {
|
|
9216
9385
|
const seam = SeamHttpAcsEntrances.fromClient(client, defaults);
|
|
9217
9386
|
return seam.listCredentialsWithAccess(...args);
|
|
9218
9387
|
};
|
|
9219
9388
|
}
|
|
9220
|
-
get
|
|
9389
|
+
get "/acs/systems/get"() {
|
|
9221
9390
|
const { client, defaults } = this;
|
|
9222
9391
|
return function acsSystemsGet(...args) {
|
|
9223
9392
|
const seam = SeamHttpAcsSystems.fromClient(client, defaults);
|
|
9224
9393
|
return seam.get(...args);
|
|
9225
9394
|
};
|
|
9226
9395
|
}
|
|
9227
|
-
get
|
|
9396
|
+
get "/acs/systems/list"() {
|
|
9228
9397
|
const { client, defaults } = this;
|
|
9229
9398
|
return function acsSystemsList(...args) {
|
|
9230
9399
|
const seam = SeamHttpAcsSystems.fromClient(client, defaults);
|
|
9231
9400
|
return seam.list(...args);
|
|
9232
9401
|
};
|
|
9233
9402
|
}
|
|
9234
|
-
get
|
|
9403
|
+
get "/acs/systems/list_compatible_credential_manager_acs_systems"() {
|
|
9235
9404
|
const { client, defaults } = this;
|
|
9236
9405
|
return function acsSystemsListCompatibleCredentialManagerAcsSystems(...args) {
|
|
9237
9406
|
const seam = SeamHttpAcsSystems.fromClient(client, defaults);
|
|
9238
9407
|
return seam.listCompatibleCredentialManagerAcsSystems(...args);
|
|
9239
9408
|
};
|
|
9240
9409
|
}
|
|
9241
|
-
get
|
|
9410
|
+
get "/acs/users/add_to_access_group"() {
|
|
9242
9411
|
const { client, defaults } = this;
|
|
9243
9412
|
return function acsUsersAddToAccessGroup(...args) {
|
|
9244
9413
|
const seam = SeamHttpAcsUsers.fromClient(client, defaults);
|
|
9245
9414
|
return seam.addToAccessGroup(...args);
|
|
9246
9415
|
};
|
|
9247
9416
|
}
|
|
9248
|
-
get
|
|
9417
|
+
get "/acs/users/create"() {
|
|
9249
9418
|
const { client, defaults } = this;
|
|
9250
9419
|
return function acsUsersCreate(...args) {
|
|
9251
9420
|
const seam = SeamHttpAcsUsers.fromClient(client, defaults);
|
|
9252
9421
|
return seam.create(...args);
|
|
9253
9422
|
};
|
|
9254
9423
|
}
|
|
9255
|
-
get
|
|
9424
|
+
get "/acs/users/delete"() {
|
|
9256
9425
|
const { client, defaults } = this;
|
|
9257
9426
|
return function acsUsersDelete(...args) {
|
|
9258
9427
|
const seam = SeamHttpAcsUsers.fromClient(client, defaults);
|
|
9259
9428
|
return seam.delete(...args);
|
|
9260
9429
|
};
|
|
9261
9430
|
}
|
|
9262
|
-
get
|
|
9431
|
+
get "/acs/users/get"() {
|
|
9263
9432
|
const { client, defaults } = this;
|
|
9264
9433
|
return function acsUsersGet(...args) {
|
|
9265
9434
|
const seam = SeamHttpAcsUsers.fromClient(client, defaults);
|
|
9266
9435
|
return seam.get(...args);
|
|
9267
9436
|
};
|
|
9268
9437
|
}
|
|
9269
|
-
get
|
|
9438
|
+
get "/acs/users/list"() {
|
|
9270
9439
|
const { client, defaults } = this;
|
|
9271
9440
|
return function acsUsersList(...args) {
|
|
9272
9441
|
const seam = SeamHttpAcsUsers.fromClient(client, defaults);
|
|
9273
9442
|
return seam.list(...args);
|
|
9274
9443
|
};
|
|
9275
9444
|
}
|
|
9276
|
-
get
|
|
9445
|
+
get "/acs/users/list_accessible_entrances"() {
|
|
9277
9446
|
const { client, defaults } = this;
|
|
9278
9447
|
return function acsUsersListAccessibleEntrances(...args) {
|
|
9279
9448
|
const seam = SeamHttpAcsUsers.fromClient(client, defaults);
|
|
9280
9449
|
return seam.listAccessibleEntrances(...args);
|
|
9281
9450
|
};
|
|
9282
9451
|
}
|
|
9283
|
-
get
|
|
9452
|
+
get "/acs/users/remove_from_access_group"() {
|
|
9284
9453
|
const { client, defaults } = this;
|
|
9285
9454
|
return function acsUsersRemoveFromAccessGroup(...args) {
|
|
9286
9455
|
const seam = SeamHttpAcsUsers.fromClient(client, defaults);
|
|
9287
9456
|
return seam.removeFromAccessGroup(...args);
|
|
9288
9457
|
};
|
|
9289
9458
|
}
|
|
9290
|
-
get
|
|
9459
|
+
get "/acs/users/revoke_access_to_all_entrances"() {
|
|
9291
9460
|
const { client, defaults } = this;
|
|
9292
9461
|
return function acsUsersRevokeAccessToAllEntrances(...args) {
|
|
9293
9462
|
const seam = SeamHttpAcsUsers.fromClient(client, defaults);
|
|
9294
9463
|
return seam.revokeAccessToAllEntrances(...args);
|
|
9295
9464
|
};
|
|
9296
9465
|
}
|
|
9297
|
-
get
|
|
9466
|
+
get "/acs/users/suspend"() {
|
|
9298
9467
|
const { client, defaults } = this;
|
|
9299
9468
|
return function acsUsersSuspend(...args) {
|
|
9300
9469
|
const seam = SeamHttpAcsUsers.fromClient(client, defaults);
|
|
9301
9470
|
return seam.suspend(...args);
|
|
9302
9471
|
};
|
|
9303
9472
|
}
|
|
9304
|
-
get
|
|
9473
|
+
get "/acs/users/unsuspend"() {
|
|
9305
9474
|
const { client, defaults } = this;
|
|
9306
9475
|
return function acsUsersUnsuspend(...args) {
|
|
9307
9476
|
const seam = SeamHttpAcsUsers.fromClient(client, defaults);
|
|
9308
9477
|
return seam.unsuspend(...args);
|
|
9309
9478
|
};
|
|
9310
9479
|
}
|
|
9311
|
-
get
|
|
9480
|
+
get "/acs/users/update"() {
|
|
9312
9481
|
const { client, defaults } = this;
|
|
9313
9482
|
return function acsUsersUpdate(...args) {
|
|
9314
9483
|
const seam = SeamHttpAcsUsers.fromClient(client, defaults);
|
|
9315
9484
|
return seam.update(...args);
|
|
9316
9485
|
};
|
|
9317
9486
|
}
|
|
9318
|
-
get
|
|
9487
|
+
get "/acs/users/unmanaged/get"() {
|
|
9319
9488
|
const { client, defaults } = this;
|
|
9320
9489
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9321
9490
|
throw new Error(
|
|
@@ -9327,7 +9496,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9327
9496
|
return seam.get(...args);
|
|
9328
9497
|
};
|
|
9329
9498
|
}
|
|
9330
|
-
get
|
|
9499
|
+
get "/acs/users/unmanaged/list"() {
|
|
9331
9500
|
const { client, defaults } = this;
|
|
9332
9501
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9333
9502
|
throw new Error(
|
|
@@ -9339,21 +9508,21 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9339
9508
|
return seam.list(...args);
|
|
9340
9509
|
};
|
|
9341
9510
|
}
|
|
9342
|
-
get
|
|
9511
|
+
get "/action_attempts/get"() {
|
|
9343
9512
|
const { client, defaults } = this;
|
|
9344
9513
|
return function actionAttemptsGet(...args) {
|
|
9345
9514
|
const seam = SeamHttpActionAttempts.fromClient(client, defaults);
|
|
9346
9515
|
return seam.get(...args);
|
|
9347
9516
|
};
|
|
9348
9517
|
}
|
|
9349
|
-
get
|
|
9518
|
+
get "/action_attempts/list"() {
|
|
9350
9519
|
const { client, defaults } = this;
|
|
9351
9520
|
return function actionAttemptsList(...args) {
|
|
9352
9521
|
const seam = SeamHttpActionAttempts.fromClient(client, defaults);
|
|
9353
9522
|
return seam.list(...args);
|
|
9354
9523
|
};
|
|
9355
9524
|
}
|
|
9356
|
-
get
|
|
9525
|
+
get "/bridges/get"() {
|
|
9357
9526
|
const { client, defaults } = this;
|
|
9358
9527
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9359
9528
|
throw new Error(
|
|
@@ -9365,7 +9534,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9365
9534
|
return seam.get(...args);
|
|
9366
9535
|
};
|
|
9367
9536
|
}
|
|
9368
|
-
get
|
|
9537
|
+
get "/bridges/list"() {
|
|
9369
9538
|
const { client, defaults } = this;
|
|
9370
9539
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9371
9540
|
throw new Error(
|
|
@@ -9377,140 +9546,140 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9377
9546
|
return seam.list(...args);
|
|
9378
9547
|
};
|
|
9379
9548
|
}
|
|
9380
|
-
get
|
|
9549
|
+
get "/client_sessions/create"() {
|
|
9381
9550
|
const { client, defaults } = this;
|
|
9382
9551
|
return function clientSessionsCreate(...args) {
|
|
9383
9552
|
const seam = SeamHttpClientSessions.fromClient(client, defaults);
|
|
9384
9553
|
return seam.create(...args);
|
|
9385
9554
|
};
|
|
9386
9555
|
}
|
|
9387
|
-
get
|
|
9556
|
+
get "/client_sessions/delete"() {
|
|
9388
9557
|
const { client, defaults } = this;
|
|
9389
9558
|
return function clientSessionsDelete(...args) {
|
|
9390
9559
|
const seam = SeamHttpClientSessions.fromClient(client, defaults);
|
|
9391
9560
|
return seam.delete(...args);
|
|
9392
9561
|
};
|
|
9393
9562
|
}
|
|
9394
|
-
get
|
|
9563
|
+
get "/client_sessions/get"() {
|
|
9395
9564
|
const { client, defaults } = this;
|
|
9396
9565
|
return function clientSessionsGet(...args) {
|
|
9397
9566
|
const seam = SeamHttpClientSessions.fromClient(client, defaults);
|
|
9398
9567
|
return seam.get(...args);
|
|
9399
9568
|
};
|
|
9400
9569
|
}
|
|
9401
|
-
get
|
|
9570
|
+
get "/client_sessions/get_or_create"() {
|
|
9402
9571
|
const { client, defaults } = this;
|
|
9403
9572
|
return function clientSessionsGetOrCreate(...args) {
|
|
9404
9573
|
const seam = SeamHttpClientSessions.fromClient(client, defaults);
|
|
9405
9574
|
return seam.getOrCreate(...args);
|
|
9406
9575
|
};
|
|
9407
9576
|
}
|
|
9408
|
-
get
|
|
9577
|
+
get "/client_sessions/grant_access"() {
|
|
9409
9578
|
const { client, defaults } = this;
|
|
9410
9579
|
return function clientSessionsGrantAccess(...args) {
|
|
9411
9580
|
const seam = SeamHttpClientSessions.fromClient(client, defaults);
|
|
9412
9581
|
return seam.grantAccess(...args);
|
|
9413
9582
|
};
|
|
9414
9583
|
}
|
|
9415
|
-
get
|
|
9584
|
+
get "/client_sessions/list"() {
|
|
9416
9585
|
const { client, defaults } = this;
|
|
9417
9586
|
return function clientSessionsList(...args) {
|
|
9418
9587
|
const seam = SeamHttpClientSessions.fromClient(client, defaults);
|
|
9419
9588
|
return seam.list(...args);
|
|
9420
9589
|
};
|
|
9421
9590
|
}
|
|
9422
|
-
get
|
|
9591
|
+
get "/client_sessions/revoke"() {
|
|
9423
9592
|
const { client, defaults } = this;
|
|
9424
9593
|
return function clientSessionsRevoke(...args) {
|
|
9425
9594
|
const seam = SeamHttpClientSessions.fromClient(client, defaults);
|
|
9426
9595
|
return seam.revoke(...args);
|
|
9427
9596
|
};
|
|
9428
9597
|
}
|
|
9429
|
-
get
|
|
9598
|
+
get "/connect_webviews/create"() {
|
|
9430
9599
|
const { client, defaults } = this;
|
|
9431
9600
|
return function connectWebviewsCreate(...args) {
|
|
9432
9601
|
const seam = SeamHttpConnectWebviews.fromClient(client, defaults);
|
|
9433
9602
|
return seam.create(...args);
|
|
9434
9603
|
};
|
|
9435
9604
|
}
|
|
9436
|
-
get
|
|
9605
|
+
get "/connect_webviews/delete"() {
|
|
9437
9606
|
const { client, defaults } = this;
|
|
9438
9607
|
return function connectWebviewsDelete(...args) {
|
|
9439
9608
|
const seam = SeamHttpConnectWebviews.fromClient(client, defaults);
|
|
9440
9609
|
return seam.delete(...args);
|
|
9441
9610
|
};
|
|
9442
9611
|
}
|
|
9443
|
-
get
|
|
9612
|
+
get "/connect_webviews/get"() {
|
|
9444
9613
|
const { client, defaults } = this;
|
|
9445
9614
|
return function connectWebviewsGet(...args) {
|
|
9446
9615
|
const seam = SeamHttpConnectWebviews.fromClient(client, defaults);
|
|
9447
9616
|
return seam.get(...args);
|
|
9448
9617
|
};
|
|
9449
9618
|
}
|
|
9450
|
-
get
|
|
9619
|
+
get "/connect_webviews/list"() {
|
|
9451
9620
|
const { client, defaults } = this;
|
|
9452
9621
|
return function connectWebviewsList(...args) {
|
|
9453
9622
|
const seam = SeamHttpConnectWebviews.fromClient(client, defaults);
|
|
9454
9623
|
return seam.list(...args);
|
|
9455
9624
|
};
|
|
9456
9625
|
}
|
|
9457
|
-
get
|
|
9626
|
+
get "/connected_accounts/delete"() {
|
|
9458
9627
|
const { client, defaults } = this;
|
|
9459
9628
|
return function connectedAccountsDelete(...args) {
|
|
9460
9629
|
const seam = SeamHttpConnectedAccounts.fromClient(client, defaults);
|
|
9461
9630
|
return seam.delete(...args);
|
|
9462
9631
|
};
|
|
9463
9632
|
}
|
|
9464
|
-
get
|
|
9633
|
+
get "/connected_accounts/get"() {
|
|
9465
9634
|
const { client, defaults } = this;
|
|
9466
9635
|
return function connectedAccountsGet(...args) {
|
|
9467
9636
|
const seam = SeamHttpConnectedAccounts.fromClient(client, defaults);
|
|
9468
9637
|
return seam.get(...args);
|
|
9469
9638
|
};
|
|
9470
9639
|
}
|
|
9471
|
-
get
|
|
9640
|
+
get "/connected_accounts/list"() {
|
|
9472
9641
|
const { client, defaults } = this;
|
|
9473
9642
|
return function connectedAccountsList(...args) {
|
|
9474
9643
|
const seam = SeamHttpConnectedAccounts.fromClient(client, defaults);
|
|
9475
9644
|
return seam.list(...args);
|
|
9476
9645
|
};
|
|
9477
9646
|
}
|
|
9478
|
-
get
|
|
9647
|
+
get "/connected_accounts/sync"() {
|
|
9479
9648
|
const { client, defaults } = this;
|
|
9480
9649
|
return function connectedAccountsSync(...args) {
|
|
9481
9650
|
const seam = SeamHttpConnectedAccounts.fromClient(client, defaults);
|
|
9482
9651
|
return seam.sync(...args);
|
|
9483
9652
|
};
|
|
9484
9653
|
}
|
|
9485
|
-
get
|
|
9654
|
+
get "/connected_accounts/update"() {
|
|
9486
9655
|
const { client, defaults } = this;
|
|
9487
9656
|
return function connectedAccountsUpdate(...args) {
|
|
9488
9657
|
const seam = SeamHttpConnectedAccounts.fromClient(client, defaults);
|
|
9489
9658
|
return seam.update(...args);
|
|
9490
9659
|
};
|
|
9491
9660
|
}
|
|
9492
|
-
get
|
|
9661
|
+
get "/customers/create_portal"() {
|
|
9493
9662
|
const { client, defaults } = this;
|
|
9494
9663
|
return function customersCreatePortal(...args) {
|
|
9495
9664
|
const seam = SeamHttpCustomers.fromClient(client, defaults);
|
|
9496
9665
|
return seam.createPortal(...args);
|
|
9497
9666
|
};
|
|
9498
9667
|
}
|
|
9499
|
-
get
|
|
9668
|
+
get "/customers/delete_data"() {
|
|
9500
9669
|
const { client, defaults } = this;
|
|
9501
9670
|
return function customersDeleteData(...args) {
|
|
9502
9671
|
const seam = SeamHttpCustomers.fromClient(client, defaults);
|
|
9503
9672
|
return seam.deleteData(...args);
|
|
9504
9673
|
};
|
|
9505
9674
|
}
|
|
9506
|
-
get
|
|
9675
|
+
get "/customers/push_data"() {
|
|
9507
9676
|
const { client, defaults } = this;
|
|
9508
9677
|
return function customersPushData(...args) {
|
|
9509
9678
|
const seam = SeamHttpCustomers.fromClient(client, defaults);
|
|
9510
9679
|
return seam.pushData(...args);
|
|
9511
9680
|
};
|
|
9512
9681
|
}
|
|
9513
|
-
get
|
|
9682
|
+
get "/devices/delete"() {
|
|
9514
9683
|
const { client, defaults } = this;
|
|
9515
9684
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9516
9685
|
throw new Error(
|
|
@@ -9522,182 +9691,182 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9522
9691
|
return seam.delete(...args);
|
|
9523
9692
|
};
|
|
9524
9693
|
}
|
|
9525
|
-
get
|
|
9694
|
+
get "/devices/get"() {
|
|
9526
9695
|
const { client, defaults } = this;
|
|
9527
9696
|
return function devicesGet(...args) {
|
|
9528
9697
|
const seam = SeamHttpDevices.fromClient(client, defaults);
|
|
9529
9698
|
return seam.get(...args);
|
|
9530
9699
|
};
|
|
9531
9700
|
}
|
|
9532
|
-
get
|
|
9701
|
+
get "/devices/list"() {
|
|
9533
9702
|
const { client, defaults } = this;
|
|
9534
9703
|
return function devicesList(...args) {
|
|
9535
9704
|
const seam = SeamHttpDevices.fromClient(client, defaults);
|
|
9536
9705
|
return seam.list(...args);
|
|
9537
9706
|
};
|
|
9538
9707
|
}
|
|
9539
|
-
get
|
|
9708
|
+
get "/devices/list_device_providers"() {
|
|
9540
9709
|
const { client, defaults } = this;
|
|
9541
9710
|
return function devicesListDeviceProviders(...args) {
|
|
9542
9711
|
const seam = SeamHttpDevices.fromClient(client, defaults);
|
|
9543
9712
|
return seam.listDeviceProviders(...args);
|
|
9544
9713
|
};
|
|
9545
9714
|
}
|
|
9546
|
-
get
|
|
9715
|
+
get "/devices/update"() {
|
|
9547
9716
|
const { client, defaults } = this;
|
|
9548
9717
|
return function devicesUpdate(...args) {
|
|
9549
9718
|
const seam = SeamHttpDevices.fromClient(client, defaults);
|
|
9550
9719
|
return seam.update(...args);
|
|
9551
9720
|
};
|
|
9552
9721
|
}
|
|
9553
|
-
get
|
|
9722
|
+
get "/devices/simulate/connect"() {
|
|
9554
9723
|
const { client, defaults } = this;
|
|
9555
9724
|
return function devicesSimulateConnect(...args) {
|
|
9556
9725
|
const seam = SeamHttpDevicesSimulate.fromClient(client, defaults);
|
|
9557
9726
|
return seam.connect(...args);
|
|
9558
9727
|
};
|
|
9559
9728
|
}
|
|
9560
|
-
get
|
|
9729
|
+
get "/devices/simulate/connect_to_hub"() {
|
|
9561
9730
|
const { client, defaults } = this;
|
|
9562
9731
|
return function devicesSimulateConnectToHub(...args) {
|
|
9563
9732
|
const seam = SeamHttpDevicesSimulate.fromClient(client, defaults);
|
|
9564
9733
|
return seam.connectToHub(...args);
|
|
9565
9734
|
};
|
|
9566
9735
|
}
|
|
9567
|
-
get
|
|
9736
|
+
get "/devices/simulate/disconnect"() {
|
|
9568
9737
|
const { client, defaults } = this;
|
|
9569
9738
|
return function devicesSimulateDisconnect(...args) {
|
|
9570
9739
|
const seam = SeamHttpDevicesSimulate.fromClient(client, defaults);
|
|
9571
9740
|
return seam.disconnect(...args);
|
|
9572
9741
|
};
|
|
9573
9742
|
}
|
|
9574
|
-
get
|
|
9743
|
+
get "/devices/simulate/disconnect_from_hub"() {
|
|
9575
9744
|
const { client, defaults } = this;
|
|
9576
9745
|
return function devicesSimulateDisconnectFromHub(...args) {
|
|
9577
9746
|
const seam = SeamHttpDevicesSimulate.fromClient(client, defaults);
|
|
9578
9747
|
return seam.disconnectFromHub(...args);
|
|
9579
9748
|
};
|
|
9580
9749
|
}
|
|
9581
|
-
get
|
|
9750
|
+
get "/devices/simulate/paid_subscription"() {
|
|
9582
9751
|
const { client, defaults } = this;
|
|
9583
9752
|
return function devicesSimulatePaidSubscription(...args) {
|
|
9584
9753
|
const seam = SeamHttpDevicesSimulate.fromClient(client, defaults);
|
|
9585
9754
|
return seam.paidSubscription(...args);
|
|
9586
9755
|
};
|
|
9587
9756
|
}
|
|
9588
|
-
get
|
|
9757
|
+
get "/devices/simulate/remove"() {
|
|
9589
9758
|
const { client, defaults } = this;
|
|
9590
9759
|
return function devicesSimulateRemove(...args) {
|
|
9591
9760
|
const seam = SeamHttpDevicesSimulate.fromClient(client, defaults);
|
|
9592
9761
|
return seam.remove(...args);
|
|
9593
9762
|
};
|
|
9594
9763
|
}
|
|
9595
|
-
get
|
|
9764
|
+
get "/devices/unmanaged/get"() {
|
|
9596
9765
|
const { client, defaults } = this;
|
|
9597
9766
|
return function devicesUnmanagedGet(...args) {
|
|
9598
9767
|
const seam = SeamHttpDevicesUnmanaged.fromClient(client, defaults);
|
|
9599
9768
|
return seam.get(...args);
|
|
9600
9769
|
};
|
|
9601
9770
|
}
|
|
9602
|
-
get
|
|
9771
|
+
get "/devices/unmanaged/list"() {
|
|
9603
9772
|
const { client, defaults } = this;
|
|
9604
9773
|
return function devicesUnmanagedList(...args) {
|
|
9605
9774
|
const seam = SeamHttpDevicesUnmanaged.fromClient(client, defaults);
|
|
9606
9775
|
return seam.list(...args);
|
|
9607
9776
|
};
|
|
9608
9777
|
}
|
|
9609
|
-
get
|
|
9778
|
+
get "/devices/unmanaged/update"() {
|
|
9610
9779
|
const { client, defaults } = this;
|
|
9611
9780
|
return function devicesUnmanagedUpdate(...args) {
|
|
9612
9781
|
const seam = SeamHttpDevicesUnmanaged.fromClient(client, defaults);
|
|
9613
9782
|
return seam.update(...args);
|
|
9614
9783
|
};
|
|
9615
9784
|
}
|
|
9616
|
-
get
|
|
9785
|
+
get "/events/get"() {
|
|
9617
9786
|
const { client, defaults } = this;
|
|
9618
9787
|
return function eventsGet(...args) {
|
|
9619
9788
|
const seam = SeamHttpEvents.fromClient(client, defaults);
|
|
9620
9789
|
return seam.get(...args);
|
|
9621
9790
|
};
|
|
9622
9791
|
}
|
|
9623
|
-
get
|
|
9792
|
+
get "/events/list"() {
|
|
9624
9793
|
const { client, defaults } = this;
|
|
9625
9794
|
return function eventsList(...args) {
|
|
9626
9795
|
const seam = SeamHttpEvents.fromClient(client, defaults);
|
|
9627
9796
|
return seam.list(...args);
|
|
9628
9797
|
};
|
|
9629
9798
|
}
|
|
9630
|
-
get
|
|
9799
|
+
get "/instant_keys/delete"() {
|
|
9631
9800
|
const { client, defaults } = this;
|
|
9632
9801
|
return function instantKeysDelete(...args) {
|
|
9633
9802
|
const seam = SeamHttpInstantKeys.fromClient(client, defaults);
|
|
9634
9803
|
return seam.delete(...args);
|
|
9635
9804
|
};
|
|
9636
9805
|
}
|
|
9637
|
-
get
|
|
9806
|
+
get "/instant_keys/get"() {
|
|
9638
9807
|
const { client, defaults } = this;
|
|
9639
9808
|
return function instantKeysGet(...args) {
|
|
9640
9809
|
const seam = SeamHttpInstantKeys.fromClient(client, defaults);
|
|
9641
9810
|
return seam.get(...args);
|
|
9642
9811
|
};
|
|
9643
9812
|
}
|
|
9644
|
-
get
|
|
9813
|
+
get "/instant_keys/list"() {
|
|
9645
9814
|
const { client, defaults } = this;
|
|
9646
9815
|
return function instantKeysList(...args) {
|
|
9647
9816
|
const seam = SeamHttpInstantKeys.fromClient(client, defaults);
|
|
9648
9817
|
return seam.list(...args);
|
|
9649
9818
|
};
|
|
9650
9819
|
}
|
|
9651
|
-
get
|
|
9820
|
+
get "/locks/get"() {
|
|
9652
9821
|
const { client, defaults } = this;
|
|
9653
9822
|
return function locksGet(...args) {
|
|
9654
9823
|
const seam = SeamHttpLocks.fromClient(client, defaults);
|
|
9655
9824
|
return seam.get(...args);
|
|
9656
9825
|
};
|
|
9657
9826
|
}
|
|
9658
|
-
get
|
|
9827
|
+
get "/locks/list"() {
|
|
9659
9828
|
const { client, defaults } = this;
|
|
9660
9829
|
return function locksList(...args) {
|
|
9661
9830
|
const seam = SeamHttpLocks.fromClient(client, defaults);
|
|
9662
9831
|
return seam.list(...args);
|
|
9663
9832
|
};
|
|
9664
9833
|
}
|
|
9665
|
-
get
|
|
9834
|
+
get "/locks/lock_door"() {
|
|
9666
9835
|
const { client, defaults } = this;
|
|
9667
9836
|
return function locksLockDoor(...args) {
|
|
9668
9837
|
const seam = SeamHttpLocks.fromClient(client, defaults);
|
|
9669
9838
|
return seam.lockDoor(...args);
|
|
9670
9839
|
};
|
|
9671
9840
|
}
|
|
9672
|
-
get
|
|
9841
|
+
get "/locks/unlock_door"() {
|
|
9673
9842
|
const { client, defaults } = this;
|
|
9674
9843
|
return function locksUnlockDoor(...args) {
|
|
9675
9844
|
const seam = SeamHttpLocks.fromClient(client, defaults);
|
|
9676
9845
|
return seam.unlockDoor(...args);
|
|
9677
9846
|
};
|
|
9678
9847
|
}
|
|
9679
|
-
get
|
|
9848
|
+
get "/locks/simulate/keypad_code_entry"() {
|
|
9680
9849
|
const { client, defaults } = this;
|
|
9681
9850
|
return function locksSimulateKeypadCodeEntry(...args) {
|
|
9682
9851
|
const seam = SeamHttpLocksSimulate.fromClient(client, defaults);
|
|
9683
9852
|
return seam.keypadCodeEntry(...args);
|
|
9684
9853
|
};
|
|
9685
9854
|
}
|
|
9686
|
-
get
|
|
9855
|
+
get "/locks/simulate/manual_lock_via_keypad"() {
|
|
9687
9856
|
const { client, defaults } = this;
|
|
9688
9857
|
return function locksSimulateManualLockViaKeypad(...args) {
|
|
9689
9858
|
const seam = SeamHttpLocksSimulate.fromClient(client, defaults);
|
|
9690
9859
|
return seam.manualLockViaKeypad(...args);
|
|
9691
9860
|
};
|
|
9692
9861
|
}
|
|
9693
|
-
get
|
|
9862
|
+
get "/noise_sensors/list"() {
|
|
9694
9863
|
const { client, defaults } = this;
|
|
9695
9864
|
return function noiseSensorsList(...args) {
|
|
9696
9865
|
const seam = SeamHttpNoiseSensors.fromClient(client, defaults);
|
|
9697
9866
|
return seam.list(...args);
|
|
9698
9867
|
};
|
|
9699
9868
|
}
|
|
9700
|
-
get
|
|
9869
|
+
get "/noise_sensors/noise_thresholds/create"() {
|
|
9701
9870
|
const { client, defaults } = this;
|
|
9702
9871
|
return function noiseSensorsNoiseThresholdsCreate(...args) {
|
|
9703
9872
|
const seam = SeamHttpNoiseSensorsNoiseThresholds.fromClient(
|
|
@@ -9707,7 +9876,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9707
9876
|
return seam.create(...args);
|
|
9708
9877
|
};
|
|
9709
9878
|
}
|
|
9710
|
-
get
|
|
9879
|
+
get "/noise_sensors/noise_thresholds/delete"() {
|
|
9711
9880
|
const { client, defaults } = this;
|
|
9712
9881
|
return function noiseSensorsNoiseThresholdsDelete(...args) {
|
|
9713
9882
|
const seam = SeamHttpNoiseSensorsNoiseThresholds.fromClient(
|
|
@@ -9717,7 +9886,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9717
9886
|
return seam.delete(...args);
|
|
9718
9887
|
};
|
|
9719
9888
|
}
|
|
9720
|
-
get
|
|
9889
|
+
get "/noise_sensors/noise_thresholds/get"() {
|
|
9721
9890
|
const { client, defaults } = this;
|
|
9722
9891
|
return function noiseSensorsNoiseThresholdsGet(...args) {
|
|
9723
9892
|
const seam = SeamHttpNoiseSensorsNoiseThresholds.fromClient(
|
|
@@ -9727,7 +9896,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9727
9896
|
return seam.get(...args);
|
|
9728
9897
|
};
|
|
9729
9898
|
}
|
|
9730
|
-
get
|
|
9899
|
+
get "/noise_sensors/noise_thresholds/list"() {
|
|
9731
9900
|
const { client, defaults } = this;
|
|
9732
9901
|
return function noiseSensorsNoiseThresholdsList(...args) {
|
|
9733
9902
|
const seam = SeamHttpNoiseSensorsNoiseThresholds.fromClient(
|
|
@@ -9737,7 +9906,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9737
9906
|
return seam.list(...args);
|
|
9738
9907
|
};
|
|
9739
9908
|
}
|
|
9740
|
-
get
|
|
9909
|
+
get "/noise_sensors/noise_thresholds/update"() {
|
|
9741
9910
|
const { client, defaults } = this;
|
|
9742
9911
|
return function noiseSensorsNoiseThresholdsUpdate(...args) {
|
|
9743
9912
|
const seam = SeamHttpNoiseSensorsNoiseThresholds.fromClient(
|
|
@@ -9747,42 +9916,42 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9747
9916
|
return seam.update(...args);
|
|
9748
9917
|
};
|
|
9749
9918
|
}
|
|
9750
|
-
get
|
|
9919
|
+
get "/noise_sensors/simulate/trigger_noise_threshold"() {
|
|
9751
9920
|
const { client, defaults } = this;
|
|
9752
9921
|
return function noiseSensorsSimulateTriggerNoiseThreshold(...args) {
|
|
9753
9922
|
const seam = SeamHttpNoiseSensorsSimulate.fromClient(client, defaults);
|
|
9754
9923
|
return seam.triggerNoiseThreshold(...args);
|
|
9755
9924
|
};
|
|
9756
9925
|
}
|
|
9757
|
-
get
|
|
9926
|
+
get "/phones/deactivate"() {
|
|
9758
9927
|
const { client, defaults } = this;
|
|
9759
9928
|
return function phonesDeactivate(...args) {
|
|
9760
9929
|
const seam = SeamHttpPhones.fromClient(client, defaults);
|
|
9761
9930
|
return seam.deactivate(...args);
|
|
9762
9931
|
};
|
|
9763
9932
|
}
|
|
9764
|
-
get
|
|
9933
|
+
get "/phones/get"() {
|
|
9765
9934
|
const { client, defaults } = this;
|
|
9766
9935
|
return function phonesGet(...args) {
|
|
9767
9936
|
const seam = SeamHttpPhones.fromClient(client, defaults);
|
|
9768
9937
|
return seam.get(...args);
|
|
9769
9938
|
};
|
|
9770
9939
|
}
|
|
9771
|
-
get
|
|
9940
|
+
get "/phones/list"() {
|
|
9772
9941
|
const { client, defaults } = this;
|
|
9773
9942
|
return function phonesList(...args) {
|
|
9774
9943
|
const seam = SeamHttpPhones.fromClient(client, defaults);
|
|
9775
9944
|
return seam.list(...args);
|
|
9776
9945
|
};
|
|
9777
9946
|
}
|
|
9778
|
-
get
|
|
9947
|
+
get "/phones/simulate/create_sandbox_phone"() {
|
|
9779
9948
|
const { client, defaults } = this;
|
|
9780
9949
|
return function phonesSimulateCreateSandboxPhone(...args) {
|
|
9781
9950
|
const seam = SeamHttpPhonesSimulate.fromClient(client, defaults);
|
|
9782
9951
|
return seam.createSandboxPhone(...args);
|
|
9783
9952
|
};
|
|
9784
9953
|
}
|
|
9785
|
-
get
|
|
9954
|
+
get "/seam/console/v1/get_resource_locator"() {
|
|
9786
9955
|
const { client, defaults } = this;
|
|
9787
9956
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9788
9957
|
throw new Error(
|
|
@@ -9794,7 +9963,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9794
9963
|
return seam.getResourceLocator(...args);
|
|
9795
9964
|
};
|
|
9796
9965
|
}
|
|
9797
|
-
get
|
|
9966
|
+
get "/seam/console/v1/timelines/get"() {
|
|
9798
9967
|
const { client, defaults } = this;
|
|
9799
9968
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9800
9969
|
throw new Error(
|
|
@@ -9806,7 +9975,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9806
9975
|
return seam.get(...args);
|
|
9807
9976
|
};
|
|
9808
9977
|
}
|
|
9809
|
-
get
|
|
9978
|
+
get "/seam/customer/v1/automation_runs/list"() {
|
|
9810
9979
|
const { client, defaults } = this;
|
|
9811
9980
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9812
9981
|
throw new Error(
|
|
@@ -9821,7 +9990,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9821
9990
|
return seam.list(...args);
|
|
9822
9991
|
};
|
|
9823
9992
|
}
|
|
9824
|
-
get
|
|
9993
|
+
get "/seam/customer/v1/automations/delete"() {
|
|
9825
9994
|
const { client, defaults } = this;
|
|
9826
9995
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9827
9996
|
throw new Error(
|
|
@@ -9836,7 +10005,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9836
10005
|
return seam.delete(...args);
|
|
9837
10006
|
};
|
|
9838
10007
|
}
|
|
9839
|
-
get
|
|
10008
|
+
get "/seam/customer/v1/automations/get"() {
|
|
9840
10009
|
const { client, defaults } = this;
|
|
9841
10010
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9842
10011
|
throw new Error(
|
|
@@ -9851,7 +10020,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9851
10020
|
return seam.get(...args);
|
|
9852
10021
|
};
|
|
9853
10022
|
}
|
|
9854
|
-
get
|
|
10023
|
+
get "/seam/customer/v1/automations/update"() {
|
|
9855
10024
|
const { client, defaults } = this;
|
|
9856
10025
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9857
10026
|
throw new Error(
|
|
@@ -9866,7 +10035,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9866
10035
|
return seam.update(...args);
|
|
9867
10036
|
};
|
|
9868
10037
|
}
|
|
9869
|
-
get
|
|
10038
|
+
get "/seam/customer/v1/events/list"() {
|
|
9870
10039
|
const { client, defaults } = this;
|
|
9871
10040
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9872
10041
|
throw new Error(
|
|
@@ -9878,7 +10047,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9878
10047
|
return seam.list(...args);
|
|
9879
10048
|
};
|
|
9880
10049
|
}
|
|
9881
|
-
get
|
|
10050
|
+
get "/seam/customer/v1/portals/get"() {
|
|
9882
10051
|
const { client, defaults } = this;
|
|
9883
10052
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9884
10053
|
throw new Error(
|
|
@@ -9890,7 +10059,22 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9890
10059
|
return seam.get(...args);
|
|
9891
10060
|
};
|
|
9892
10061
|
}
|
|
9893
|
-
get
|
|
10062
|
+
get "/seam/customer/v1/reservations/list"() {
|
|
10063
|
+
const { client, defaults } = this;
|
|
10064
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10065
|
+
throw new Error(
|
|
10066
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
10067
|
+
);
|
|
10068
|
+
}
|
|
10069
|
+
return function seamCustomerV1ReservationsList(...args) {
|
|
10070
|
+
const seam = SeamHttpSeamCustomerV1Reservations.fromClient(
|
|
10071
|
+
client,
|
|
10072
|
+
defaults
|
|
10073
|
+
);
|
|
10074
|
+
return seam.list(...args);
|
|
10075
|
+
};
|
|
10076
|
+
}
|
|
10077
|
+
get "/seam/customer/v1/settings/get"() {
|
|
9894
10078
|
const { client, defaults } = this;
|
|
9895
10079
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9896
10080
|
throw new Error(
|
|
@@ -9902,7 +10086,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9902
10086
|
return seam.get(...args);
|
|
9903
10087
|
};
|
|
9904
10088
|
}
|
|
9905
|
-
get
|
|
10089
|
+
get "/seam/customer/v1/settings/update"() {
|
|
9906
10090
|
const { client, defaults } = this;
|
|
9907
10091
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9908
10092
|
throw new Error(
|
|
@@ -9914,7 +10098,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9914
10098
|
return seam.update(...args);
|
|
9915
10099
|
};
|
|
9916
10100
|
}
|
|
9917
|
-
get
|
|
10101
|
+
get "/seam/partner/v1/building_blocks/spaces/auto_map"() {
|
|
9918
10102
|
const { client, defaults } = this;
|
|
9919
10103
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9920
10104
|
throw new Error(
|
|
@@ -9929,105 +10113,105 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9929
10113
|
return seam.autoMap(...args);
|
|
9930
10114
|
};
|
|
9931
10115
|
}
|
|
9932
|
-
get
|
|
10116
|
+
get "/spaces/add_acs_entrances"() {
|
|
9933
10117
|
const { client, defaults } = this;
|
|
9934
10118
|
return function spacesAddAcsEntrances(...args) {
|
|
9935
10119
|
const seam = SeamHttpSpaces.fromClient(client, defaults);
|
|
9936
10120
|
return seam.addAcsEntrances(...args);
|
|
9937
10121
|
};
|
|
9938
10122
|
}
|
|
9939
|
-
get
|
|
10123
|
+
get "/spaces/add_devices"() {
|
|
9940
10124
|
const { client, defaults } = this;
|
|
9941
10125
|
return function spacesAddDevices(...args) {
|
|
9942
10126
|
const seam = SeamHttpSpaces.fromClient(client, defaults);
|
|
9943
10127
|
return seam.addDevices(...args);
|
|
9944
10128
|
};
|
|
9945
10129
|
}
|
|
9946
|
-
get
|
|
10130
|
+
get "/spaces/create"() {
|
|
9947
10131
|
const { client, defaults } = this;
|
|
9948
10132
|
return function spacesCreate(...args) {
|
|
9949
10133
|
const seam = SeamHttpSpaces.fromClient(client, defaults);
|
|
9950
10134
|
return seam.create(...args);
|
|
9951
10135
|
};
|
|
9952
10136
|
}
|
|
9953
|
-
get
|
|
10137
|
+
get "/spaces/delete"() {
|
|
9954
10138
|
const { client, defaults } = this;
|
|
9955
10139
|
return function spacesDelete(...args) {
|
|
9956
10140
|
const seam = SeamHttpSpaces.fromClient(client, defaults);
|
|
9957
10141
|
return seam.delete(...args);
|
|
9958
10142
|
};
|
|
9959
10143
|
}
|
|
9960
|
-
get
|
|
10144
|
+
get "/spaces/get"() {
|
|
9961
10145
|
const { client, defaults } = this;
|
|
9962
10146
|
return function spacesGet(...args) {
|
|
9963
10147
|
const seam = SeamHttpSpaces.fromClient(client, defaults);
|
|
9964
10148
|
return seam.get(...args);
|
|
9965
10149
|
};
|
|
9966
10150
|
}
|
|
9967
|
-
get
|
|
10151
|
+
get "/spaces/get_related"() {
|
|
9968
10152
|
const { client, defaults } = this;
|
|
9969
10153
|
return function spacesGetRelated(...args) {
|
|
9970
10154
|
const seam = SeamHttpSpaces.fromClient(client, defaults);
|
|
9971
10155
|
return seam.getRelated(...args);
|
|
9972
10156
|
};
|
|
9973
10157
|
}
|
|
9974
|
-
get
|
|
10158
|
+
get "/spaces/list"() {
|
|
9975
10159
|
const { client, defaults } = this;
|
|
9976
10160
|
return function spacesList(...args) {
|
|
9977
10161
|
const seam = SeamHttpSpaces.fromClient(client, defaults);
|
|
9978
10162
|
return seam.list(...args);
|
|
9979
10163
|
};
|
|
9980
10164
|
}
|
|
9981
|
-
get
|
|
10165
|
+
get "/spaces/remove_acs_entrances"() {
|
|
9982
10166
|
const { client, defaults } = this;
|
|
9983
10167
|
return function spacesRemoveAcsEntrances(...args) {
|
|
9984
10168
|
const seam = SeamHttpSpaces.fromClient(client, defaults);
|
|
9985
10169
|
return seam.removeAcsEntrances(...args);
|
|
9986
10170
|
};
|
|
9987
10171
|
}
|
|
9988
|
-
get
|
|
10172
|
+
get "/spaces/remove_devices"() {
|
|
9989
10173
|
const { client, defaults } = this;
|
|
9990
10174
|
return function spacesRemoveDevices(...args) {
|
|
9991
10175
|
const seam = SeamHttpSpaces.fromClient(client, defaults);
|
|
9992
10176
|
return seam.removeDevices(...args);
|
|
9993
10177
|
};
|
|
9994
10178
|
}
|
|
9995
|
-
get
|
|
10179
|
+
get "/spaces/update"() {
|
|
9996
10180
|
const { client, defaults } = this;
|
|
9997
10181
|
return function spacesUpdate(...args) {
|
|
9998
10182
|
const seam = SeamHttpSpaces.fromClient(client, defaults);
|
|
9999
10183
|
return seam.update(...args);
|
|
10000
10184
|
};
|
|
10001
10185
|
}
|
|
10002
|
-
get
|
|
10186
|
+
get "/thermostats/activate_climate_preset"() {
|
|
10003
10187
|
const { client, defaults } = this;
|
|
10004
10188
|
return function thermostatsActivateClimatePreset(...args) {
|
|
10005
10189
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
10006
10190
|
return seam.activateClimatePreset(...args);
|
|
10007
10191
|
};
|
|
10008
10192
|
}
|
|
10009
|
-
get
|
|
10193
|
+
get "/thermostats/cool"() {
|
|
10010
10194
|
const { client, defaults } = this;
|
|
10011
10195
|
return function thermostatsCool(...args) {
|
|
10012
10196
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
10013
10197
|
return seam.cool(...args);
|
|
10014
10198
|
};
|
|
10015
10199
|
}
|
|
10016
|
-
get
|
|
10200
|
+
get "/thermostats/create_climate_preset"() {
|
|
10017
10201
|
const { client, defaults } = this;
|
|
10018
10202
|
return function thermostatsCreateClimatePreset(...args) {
|
|
10019
10203
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
10020
10204
|
return seam.createClimatePreset(...args);
|
|
10021
10205
|
};
|
|
10022
10206
|
}
|
|
10023
|
-
get
|
|
10207
|
+
get "/thermostats/delete_climate_preset"() {
|
|
10024
10208
|
const { client, defaults } = this;
|
|
10025
10209
|
return function thermostatsDeleteClimatePreset(...args) {
|
|
10026
10210
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
10027
10211
|
return seam.deleteClimatePreset(...args);
|
|
10028
10212
|
};
|
|
10029
10213
|
}
|
|
10030
|
-
get
|
|
10214
|
+
get "/thermostats/get"() {
|
|
10031
10215
|
const { client, defaults } = this;
|
|
10032
10216
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10033
10217
|
throw new Error(
|
|
@@ -10039,147 +10223,147 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10039
10223
|
return seam.get(...args);
|
|
10040
10224
|
};
|
|
10041
10225
|
}
|
|
10042
|
-
get
|
|
10226
|
+
get "/thermostats/heat"() {
|
|
10043
10227
|
const { client, defaults } = this;
|
|
10044
10228
|
return function thermostatsHeat(...args) {
|
|
10045
10229
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
10046
10230
|
return seam.heat(...args);
|
|
10047
10231
|
};
|
|
10048
10232
|
}
|
|
10049
|
-
get
|
|
10233
|
+
get "/thermostats/heat_cool"() {
|
|
10050
10234
|
const { client, defaults } = this;
|
|
10051
10235
|
return function thermostatsHeatCool(...args) {
|
|
10052
10236
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
10053
10237
|
return seam.heatCool(...args);
|
|
10054
10238
|
};
|
|
10055
10239
|
}
|
|
10056
|
-
get
|
|
10240
|
+
get "/thermostats/list"() {
|
|
10057
10241
|
const { client, defaults } = this;
|
|
10058
10242
|
return function thermostatsList(...args) {
|
|
10059
10243
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
10060
10244
|
return seam.list(...args);
|
|
10061
10245
|
};
|
|
10062
10246
|
}
|
|
10063
|
-
get
|
|
10247
|
+
get "/thermostats/off"() {
|
|
10064
10248
|
const { client, defaults } = this;
|
|
10065
10249
|
return function thermostatsOff(...args) {
|
|
10066
10250
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
10067
10251
|
return seam.off(...args);
|
|
10068
10252
|
};
|
|
10069
10253
|
}
|
|
10070
|
-
get
|
|
10254
|
+
get "/thermostats/set_fallback_climate_preset"() {
|
|
10071
10255
|
const { client, defaults } = this;
|
|
10072
10256
|
return function thermostatsSetFallbackClimatePreset(...args) {
|
|
10073
10257
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
10074
10258
|
return seam.setFallbackClimatePreset(...args);
|
|
10075
10259
|
};
|
|
10076
10260
|
}
|
|
10077
|
-
get
|
|
10261
|
+
get "/thermostats/set_fan_mode"() {
|
|
10078
10262
|
const { client, defaults } = this;
|
|
10079
10263
|
return function thermostatsSetFanMode(...args) {
|
|
10080
10264
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
10081
10265
|
return seam.setFanMode(...args);
|
|
10082
10266
|
};
|
|
10083
10267
|
}
|
|
10084
|
-
get
|
|
10268
|
+
get "/thermostats/set_hvac_mode"() {
|
|
10085
10269
|
const { client, defaults } = this;
|
|
10086
10270
|
return function thermostatsSetHvacMode(...args) {
|
|
10087
10271
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
10088
10272
|
return seam.setHvacMode(...args);
|
|
10089
10273
|
};
|
|
10090
10274
|
}
|
|
10091
|
-
get
|
|
10275
|
+
get "/thermostats/set_temperature_threshold"() {
|
|
10092
10276
|
const { client, defaults } = this;
|
|
10093
10277
|
return function thermostatsSetTemperatureThreshold(...args) {
|
|
10094
10278
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
10095
10279
|
return seam.setTemperatureThreshold(...args);
|
|
10096
10280
|
};
|
|
10097
10281
|
}
|
|
10098
|
-
get
|
|
10282
|
+
get "/thermostats/update_climate_preset"() {
|
|
10099
10283
|
const { client, defaults } = this;
|
|
10100
10284
|
return function thermostatsUpdateClimatePreset(...args) {
|
|
10101
10285
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
10102
10286
|
return seam.updateClimatePreset(...args);
|
|
10103
10287
|
};
|
|
10104
10288
|
}
|
|
10105
|
-
get
|
|
10289
|
+
get "/thermostats/update_weekly_program"() {
|
|
10106
10290
|
const { client, defaults } = this;
|
|
10107
10291
|
return function thermostatsUpdateWeeklyProgram(...args) {
|
|
10108
10292
|
const seam = SeamHttpThermostats.fromClient(client, defaults);
|
|
10109
10293
|
return seam.updateWeeklyProgram(...args);
|
|
10110
10294
|
};
|
|
10111
10295
|
}
|
|
10112
|
-
get
|
|
10296
|
+
get "/thermostats/daily_programs/create"() {
|
|
10113
10297
|
const { client, defaults } = this;
|
|
10114
10298
|
return function thermostatsDailyProgramsCreate(...args) {
|
|
10115
10299
|
const seam = SeamHttpThermostatsDailyPrograms.fromClient(client, defaults);
|
|
10116
10300
|
return seam.create(...args);
|
|
10117
10301
|
};
|
|
10118
10302
|
}
|
|
10119
|
-
get
|
|
10303
|
+
get "/thermostats/daily_programs/delete"() {
|
|
10120
10304
|
const { client, defaults } = this;
|
|
10121
10305
|
return function thermostatsDailyProgramsDelete(...args) {
|
|
10122
10306
|
const seam = SeamHttpThermostatsDailyPrograms.fromClient(client, defaults);
|
|
10123
10307
|
return seam.delete(...args);
|
|
10124
10308
|
};
|
|
10125
10309
|
}
|
|
10126
|
-
get
|
|
10310
|
+
get "/thermostats/daily_programs/update"() {
|
|
10127
10311
|
const { client, defaults } = this;
|
|
10128
10312
|
return function thermostatsDailyProgramsUpdate(...args) {
|
|
10129
10313
|
const seam = SeamHttpThermostatsDailyPrograms.fromClient(client, defaults);
|
|
10130
10314
|
return seam.update(...args);
|
|
10131
10315
|
};
|
|
10132
10316
|
}
|
|
10133
|
-
get
|
|
10317
|
+
get "/thermostats/schedules/create"() {
|
|
10134
10318
|
const { client, defaults } = this;
|
|
10135
10319
|
return function thermostatsSchedulesCreate(...args) {
|
|
10136
10320
|
const seam = SeamHttpThermostatsSchedules.fromClient(client, defaults);
|
|
10137
10321
|
return seam.create(...args);
|
|
10138
10322
|
};
|
|
10139
10323
|
}
|
|
10140
|
-
get
|
|
10324
|
+
get "/thermostats/schedules/delete"() {
|
|
10141
10325
|
const { client, defaults } = this;
|
|
10142
10326
|
return function thermostatsSchedulesDelete(...args) {
|
|
10143
10327
|
const seam = SeamHttpThermostatsSchedules.fromClient(client, defaults);
|
|
10144
10328
|
return seam.delete(...args);
|
|
10145
10329
|
};
|
|
10146
10330
|
}
|
|
10147
|
-
get
|
|
10331
|
+
get "/thermostats/schedules/get"() {
|
|
10148
10332
|
const { client, defaults } = this;
|
|
10149
10333
|
return function thermostatsSchedulesGet(...args) {
|
|
10150
10334
|
const seam = SeamHttpThermostatsSchedules.fromClient(client, defaults);
|
|
10151
10335
|
return seam.get(...args);
|
|
10152
10336
|
};
|
|
10153
10337
|
}
|
|
10154
|
-
get
|
|
10338
|
+
get "/thermostats/schedules/list"() {
|
|
10155
10339
|
const { client, defaults } = this;
|
|
10156
10340
|
return function thermostatsSchedulesList(...args) {
|
|
10157
10341
|
const seam = SeamHttpThermostatsSchedules.fromClient(client, defaults);
|
|
10158
10342
|
return seam.list(...args);
|
|
10159
10343
|
};
|
|
10160
10344
|
}
|
|
10161
|
-
get
|
|
10345
|
+
get "/thermostats/schedules/update"() {
|
|
10162
10346
|
const { client, defaults } = this;
|
|
10163
10347
|
return function thermostatsSchedulesUpdate(...args) {
|
|
10164
10348
|
const seam = SeamHttpThermostatsSchedules.fromClient(client, defaults);
|
|
10165
10349
|
return seam.update(...args);
|
|
10166
10350
|
};
|
|
10167
10351
|
}
|
|
10168
|
-
get
|
|
10352
|
+
get "/thermostats/simulate/hvac_mode_adjusted"() {
|
|
10169
10353
|
const { client, defaults } = this;
|
|
10170
10354
|
return function thermostatsSimulateHvacModeAdjusted(...args) {
|
|
10171
10355
|
const seam = SeamHttpThermostatsSimulate.fromClient(client, defaults);
|
|
10172
10356
|
return seam.hvacModeAdjusted(...args);
|
|
10173
10357
|
};
|
|
10174
10358
|
}
|
|
10175
|
-
get
|
|
10359
|
+
get "/thermostats/simulate/temperature_reached"() {
|
|
10176
10360
|
const { client, defaults } = this;
|
|
10177
10361
|
return function thermostatsSimulateTemperatureReached(...args) {
|
|
10178
10362
|
const seam = SeamHttpThermostatsSimulate.fromClient(client, defaults);
|
|
10179
10363
|
return seam.temperatureReached(...args);
|
|
10180
10364
|
};
|
|
10181
10365
|
}
|
|
10182
|
-
get
|
|
10366
|
+
get "/unstable_partner/building_blocks/connect_accounts"() {
|
|
10183
10367
|
const { client, defaults } = this;
|
|
10184
10368
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10185
10369
|
throw new Error(
|
|
@@ -10194,7 +10378,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10194
10378
|
return seam.connectAccounts(...args);
|
|
10195
10379
|
};
|
|
10196
10380
|
}
|
|
10197
|
-
get
|
|
10381
|
+
get "/unstable_partner/building_blocks/generate_magic_link"() {
|
|
10198
10382
|
const { client, defaults } = this;
|
|
10199
10383
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10200
10384
|
throw new Error(
|
|
@@ -10209,7 +10393,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10209
10393
|
return seam.generateMagicLink(...args);
|
|
10210
10394
|
};
|
|
10211
10395
|
}
|
|
10212
|
-
get
|
|
10396
|
+
get "/unstable_partner/building_blocks/manage_devices"() {
|
|
10213
10397
|
const { client, defaults } = this;
|
|
10214
10398
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10215
10399
|
throw new Error(
|
|
@@ -10224,7 +10408,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10224
10408
|
return seam.manageDevices(...args);
|
|
10225
10409
|
};
|
|
10226
10410
|
}
|
|
10227
|
-
get
|
|
10411
|
+
get "/unstable_partner/building_blocks/organize_spaces"() {
|
|
10228
10412
|
const { client, defaults } = this;
|
|
10229
10413
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10230
10414
|
throw new Error(
|
|
@@ -10239,98 +10423,98 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10239
10423
|
return seam.organizeSpaces(...args);
|
|
10240
10424
|
};
|
|
10241
10425
|
}
|
|
10242
|
-
get
|
|
10426
|
+
get "/user_identities/add_acs_user"() {
|
|
10243
10427
|
const { client, defaults } = this;
|
|
10244
10428
|
return function userIdentitiesAddAcsUser(...args) {
|
|
10245
10429
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10246
10430
|
return seam.addAcsUser(...args);
|
|
10247
10431
|
};
|
|
10248
10432
|
}
|
|
10249
|
-
get
|
|
10433
|
+
get "/user_identities/create"() {
|
|
10250
10434
|
const { client, defaults } = this;
|
|
10251
10435
|
return function userIdentitiesCreate(...args) {
|
|
10252
10436
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10253
10437
|
return seam.create(...args);
|
|
10254
10438
|
};
|
|
10255
10439
|
}
|
|
10256
|
-
get
|
|
10440
|
+
get "/user_identities/delete"() {
|
|
10257
10441
|
const { client, defaults } = this;
|
|
10258
10442
|
return function userIdentitiesDelete(...args) {
|
|
10259
10443
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10260
10444
|
return seam.delete(...args);
|
|
10261
10445
|
};
|
|
10262
10446
|
}
|
|
10263
|
-
get
|
|
10447
|
+
get "/user_identities/generate_instant_key"() {
|
|
10264
10448
|
const { client, defaults } = this;
|
|
10265
10449
|
return function userIdentitiesGenerateInstantKey(...args) {
|
|
10266
10450
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10267
10451
|
return seam.generateInstantKey(...args);
|
|
10268
10452
|
};
|
|
10269
10453
|
}
|
|
10270
|
-
get
|
|
10454
|
+
get "/user_identities/get"() {
|
|
10271
10455
|
const { client, defaults } = this;
|
|
10272
10456
|
return function userIdentitiesGet(...args) {
|
|
10273
10457
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10274
10458
|
return seam.get(...args);
|
|
10275
10459
|
};
|
|
10276
10460
|
}
|
|
10277
|
-
get
|
|
10461
|
+
get "/user_identities/grant_access_to_device"() {
|
|
10278
10462
|
const { client, defaults } = this;
|
|
10279
10463
|
return function userIdentitiesGrantAccessToDevice(...args) {
|
|
10280
10464
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10281
10465
|
return seam.grantAccessToDevice(...args);
|
|
10282
10466
|
};
|
|
10283
10467
|
}
|
|
10284
|
-
get
|
|
10468
|
+
get "/user_identities/list"() {
|
|
10285
10469
|
const { client, defaults } = this;
|
|
10286
10470
|
return function userIdentitiesList(...args) {
|
|
10287
10471
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10288
10472
|
return seam.list(...args);
|
|
10289
10473
|
};
|
|
10290
10474
|
}
|
|
10291
|
-
get
|
|
10475
|
+
get "/user_identities/list_accessible_devices"() {
|
|
10292
10476
|
const { client, defaults } = this;
|
|
10293
10477
|
return function userIdentitiesListAccessibleDevices(...args) {
|
|
10294
10478
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10295
10479
|
return seam.listAccessibleDevices(...args);
|
|
10296
10480
|
};
|
|
10297
10481
|
}
|
|
10298
|
-
get
|
|
10482
|
+
get "/user_identities/list_acs_systems"() {
|
|
10299
10483
|
const { client, defaults } = this;
|
|
10300
10484
|
return function userIdentitiesListAcsSystems(...args) {
|
|
10301
10485
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10302
10486
|
return seam.listAcsSystems(...args);
|
|
10303
10487
|
};
|
|
10304
10488
|
}
|
|
10305
|
-
get
|
|
10489
|
+
get "/user_identities/list_acs_users"() {
|
|
10306
10490
|
const { client, defaults } = this;
|
|
10307
10491
|
return function userIdentitiesListAcsUsers(...args) {
|
|
10308
10492
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10309
10493
|
return seam.listAcsUsers(...args);
|
|
10310
10494
|
};
|
|
10311
10495
|
}
|
|
10312
|
-
get
|
|
10496
|
+
get "/user_identities/remove_acs_user"() {
|
|
10313
10497
|
const { client, defaults } = this;
|
|
10314
10498
|
return function userIdentitiesRemoveAcsUser(...args) {
|
|
10315
10499
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10316
10500
|
return seam.removeAcsUser(...args);
|
|
10317
10501
|
};
|
|
10318
10502
|
}
|
|
10319
|
-
get
|
|
10503
|
+
get "/user_identities/revoke_access_to_device"() {
|
|
10320
10504
|
const { client, defaults } = this;
|
|
10321
10505
|
return function userIdentitiesRevokeAccessToDevice(...args) {
|
|
10322
10506
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10323
10507
|
return seam.revokeAccessToDevice(...args);
|
|
10324
10508
|
};
|
|
10325
10509
|
}
|
|
10326
|
-
get
|
|
10510
|
+
get "/user_identities/update"() {
|
|
10327
10511
|
const { client, defaults } = this;
|
|
10328
10512
|
return function userIdentitiesUpdate(...args) {
|
|
10329
10513
|
const seam = SeamHttpUserIdentities.fromClient(client, defaults);
|
|
10330
10514
|
return seam.update(...args);
|
|
10331
10515
|
};
|
|
10332
10516
|
}
|
|
10333
|
-
get
|
|
10517
|
+
get "/user_identities/enrollment_automations/delete"() {
|
|
10334
10518
|
const { client, defaults } = this;
|
|
10335
10519
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10336
10520
|
throw new Error(
|
|
@@ -10345,7 +10529,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10345
10529
|
return seam.delete(...args);
|
|
10346
10530
|
};
|
|
10347
10531
|
}
|
|
10348
|
-
get
|
|
10532
|
+
get "/user_identities/enrollment_automations/get"() {
|
|
10349
10533
|
const { client, defaults } = this;
|
|
10350
10534
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10351
10535
|
throw new Error(
|
|
@@ -10360,7 +10544,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10360
10544
|
return seam.get(...args);
|
|
10361
10545
|
};
|
|
10362
10546
|
}
|
|
10363
|
-
get
|
|
10547
|
+
get "/user_identities/enrollment_automations/launch"() {
|
|
10364
10548
|
const { client, defaults } = this;
|
|
10365
10549
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10366
10550
|
throw new Error(
|
|
@@ -10375,7 +10559,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10375
10559
|
return seam.launch(...args);
|
|
10376
10560
|
};
|
|
10377
10561
|
}
|
|
10378
|
-
get
|
|
10562
|
+
get "/user_identities/enrollment_automations/list"() {
|
|
10379
10563
|
const { client, defaults } = this;
|
|
10380
10564
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10381
10565
|
throw new Error(
|
|
@@ -10390,49 +10574,49 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10390
10574
|
return seam.list(...args);
|
|
10391
10575
|
};
|
|
10392
10576
|
}
|
|
10393
|
-
get
|
|
10577
|
+
get "/webhooks/create"() {
|
|
10394
10578
|
const { client, defaults } = this;
|
|
10395
10579
|
return function webhooksCreate(...args) {
|
|
10396
10580
|
const seam = SeamHttpWebhooks.fromClient(client, defaults);
|
|
10397
10581
|
return seam.create(...args);
|
|
10398
10582
|
};
|
|
10399
10583
|
}
|
|
10400
|
-
get
|
|
10584
|
+
get "/webhooks/delete"() {
|
|
10401
10585
|
const { client, defaults } = this;
|
|
10402
10586
|
return function webhooksDelete(...args) {
|
|
10403
10587
|
const seam = SeamHttpWebhooks.fromClient(client, defaults);
|
|
10404
10588
|
return seam.delete(...args);
|
|
10405
10589
|
};
|
|
10406
10590
|
}
|
|
10407
|
-
get
|
|
10591
|
+
get "/webhooks/get"() {
|
|
10408
10592
|
const { client, defaults } = this;
|
|
10409
10593
|
return function webhooksGet(...args) {
|
|
10410
10594
|
const seam = SeamHttpWebhooks.fromClient(client, defaults);
|
|
10411
10595
|
return seam.get(...args);
|
|
10412
10596
|
};
|
|
10413
10597
|
}
|
|
10414
|
-
get
|
|
10598
|
+
get "/webhooks/list"() {
|
|
10415
10599
|
const { client, defaults } = this;
|
|
10416
10600
|
return function webhooksList(...args) {
|
|
10417
10601
|
const seam = SeamHttpWebhooks.fromClient(client, defaults);
|
|
10418
10602
|
return seam.list(...args);
|
|
10419
10603
|
};
|
|
10420
10604
|
}
|
|
10421
|
-
get
|
|
10605
|
+
get "/webhooks/update"() {
|
|
10422
10606
|
const { client, defaults } = this;
|
|
10423
10607
|
return function webhooksUpdate(...args) {
|
|
10424
10608
|
const seam = SeamHttpWebhooks.fromClient(client, defaults);
|
|
10425
10609
|
return seam.update(...args);
|
|
10426
10610
|
};
|
|
10427
10611
|
}
|
|
10428
|
-
get
|
|
10612
|
+
get "/workspaces/create"() {
|
|
10429
10613
|
const { client, defaults } = this;
|
|
10430
10614
|
return function workspacesCreate(...args) {
|
|
10431
10615
|
const seam = SeamHttpWorkspaces.fromClient(client, defaults);
|
|
10432
10616
|
return seam.create(...args);
|
|
10433
10617
|
};
|
|
10434
10618
|
}
|
|
10435
|
-
get
|
|
10619
|
+
get "/workspaces/find_anything"() {
|
|
10436
10620
|
const { client, defaults } = this;
|
|
10437
10621
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10438
10622
|
throw new Error(
|
|
@@ -10444,35 +10628,35 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10444
10628
|
return seam.findAnything(...args);
|
|
10445
10629
|
};
|
|
10446
10630
|
}
|
|
10447
|
-
get
|
|
10631
|
+
get "/workspaces/get"() {
|
|
10448
10632
|
const { client, defaults } = this;
|
|
10449
10633
|
return function workspacesGet(...args) {
|
|
10450
10634
|
const seam = SeamHttpWorkspaces.fromClient(client, defaults);
|
|
10451
10635
|
return seam.get(...args);
|
|
10452
10636
|
};
|
|
10453
10637
|
}
|
|
10454
|
-
get
|
|
10638
|
+
get "/workspaces/list"() {
|
|
10455
10639
|
const { client, defaults } = this;
|
|
10456
10640
|
return function workspacesList(...args) {
|
|
10457
10641
|
const seam = SeamHttpWorkspaces.fromClient(client, defaults);
|
|
10458
10642
|
return seam.list(...args);
|
|
10459
10643
|
};
|
|
10460
10644
|
}
|
|
10461
|
-
get
|
|
10645
|
+
get "/workspaces/reset_sandbox"() {
|
|
10462
10646
|
const { client, defaults } = this;
|
|
10463
10647
|
return function workspacesResetSandbox(...args) {
|
|
10464
10648
|
const seam = SeamHttpWorkspaces.fromClient(client, defaults);
|
|
10465
10649
|
return seam.resetSandbox(...args);
|
|
10466
10650
|
};
|
|
10467
10651
|
}
|
|
10468
|
-
get
|
|
10652
|
+
get "/workspaces/update"() {
|
|
10469
10653
|
const { client, defaults } = this;
|
|
10470
10654
|
return function workspacesUpdate(...args) {
|
|
10471
10655
|
const seam = SeamHttpWorkspaces.fromClient(client, defaults);
|
|
10472
10656
|
return seam.update(...args);
|
|
10473
10657
|
};
|
|
10474
10658
|
}
|
|
10475
|
-
get
|
|
10659
|
+
get "/workspaces/customization_profiles/create"() {
|
|
10476
10660
|
const { client, defaults } = this;
|
|
10477
10661
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10478
10662
|
throw new Error(
|
|
@@ -10487,7 +10671,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10487
10671
|
return seam.create(...args);
|
|
10488
10672
|
};
|
|
10489
10673
|
}
|
|
10490
|
-
get
|
|
10674
|
+
get "/workspaces/customization_profiles/get"() {
|
|
10491
10675
|
const { client, defaults } = this;
|
|
10492
10676
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10493
10677
|
throw new Error(
|
|
@@ -10502,7 +10686,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10502
10686
|
return seam.get(...args);
|
|
10503
10687
|
};
|
|
10504
10688
|
}
|
|
10505
|
-
get
|
|
10689
|
+
get "/workspaces/customization_profiles/list"() {
|
|
10506
10690
|
const { client, defaults } = this;
|
|
10507
10691
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10508
10692
|
throw new Error(
|
|
@@ -10517,7 +10701,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10517
10701
|
return seam.list(...args);
|
|
10518
10702
|
};
|
|
10519
10703
|
}
|
|
10520
|
-
get
|
|
10704
|
+
get "/workspaces/customization_profiles/update"() {
|
|
10521
10705
|
const { client, defaults } = this;
|
|
10522
10706
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10523
10707
|
throw new Error(
|
|
@@ -10532,7 +10716,7 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10532
10716
|
return seam.update(...args);
|
|
10533
10717
|
};
|
|
10534
10718
|
}
|
|
10535
|
-
get
|
|
10719
|
+
get "/workspaces/customization_profiles/upload_images"() {
|
|
10536
10720
|
const { client, defaults } = this;
|
|
10537
10721
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10538
10722
|
throw new Error(
|
|
@@ -10548,13 +10732,14 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10548
10732
|
};
|
|
10549
10733
|
}
|
|
10550
10734
|
};
|
|
10551
|
-
_SeamHttpEndpoints.ltsVersion = seamApiLtsVersion;
|
|
10552
|
-
var SeamHttpEndpoints = _SeamHttpEndpoints;
|
|
10553
10735
|
|
|
10554
10736
|
// src/lib/seam/connect/routes/seam-http-endpoints-without-workspace.ts
|
|
10555
|
-
var
|
|
10737
|
+
var SeamHttpEndpointsWithoutWorkspace = class _SeamHttpEndpointsWithoutWorkspace {
|
|
10738
|
+
client;
|
|
10739
|
+
defaults;
|
|
10740
|
+
ltsVersion = seamApiLtsVersion;
|
|
10741
|
+
static ltsVersion = seamApiLtsVersion;
|
|
10556
10742
|
constructor(options = {}) {
|
|
10557
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
10558
10743
|
const opts = parseOptions(options);
|
|
10559
10744
|
this.client = "client" in opts ? opts.client : createClient(opts);
|
|
10560
10745
|
this.defaults = limitToSeamHttpRequestOptions(opts);
|
|
@@ -10588,14 +10773,14 @@ var _SeamHttpEndpointsWithoutWorkspace = class _SeamHttpEndpointsWithoutWorkspac
|
|
|
10588
10773
|
}
|
|
10589
10774
|
return new _SeamHttpEndpointsWithoutWorkspace(constructorOptions);
|
|
10590
10775
|
}
|
|
10591
|
-
get
|
|
10776
|
+
get "/workspaces/create"() {
|
|
10592
10777
|
const { client, defaults } = this;
|
|
10593
10778
|
return function workspacesCreate(...args) {
|
|
10594
10779
|
const seam = SeamHttpWorkspaces.fromClient(client, defaults);
|
|
10595
10780
|
return seam.create(...args);
|
|
10596
10781
|
};
|
|
10597
10782
|
}
|
|
10598
|
-
get
|
|
10783
|
+
get "/workspaces/list"() {
|
|
10599
10784
|
const { client, defaults } = this;
|
|
10600
10785
|
return function workspacesList(...args) {
|
|
10601
10786
|
const seam = SeamHttpWorkspaces.fromClient(client, defaults);
|
|
@@ -10603,13 +10788,14 @@ var _SeamHttpEndpointsWithoutWorkspace = class _SeamHttpEndpointsWithoutWorkspac
|
|
|
10603
10788
|
};
|
|
10604
10789
|
}
|
|
10605
10790
|
};
|
|
10606
|
-
_SeamHttpEndpointsWithoutWorkspace.ltsVersion = seamApiLtsVersion;
|
|
10607
|
-
var SeamHttpEndpointsWithoutWorkspace = _SeamHttpEndpointsWithoutWorkspace;
|
|
10608
10791
|
|
|
10609
10792
|
// src/lib/seam/connect/routes/seam-http-without-workspace.ts
|
|
10610
|
-
var
|
|
10793
|
+
var SeamHttpWithoutWorkspace = class _SeamHttpWithoutWorkspace {
|
|
10794
|
+
client;
|
|
10795
|
+
defaults;
|
|
10796
|
+
ltsVersion = seamApiLtsVersion;
|
|
10797
|
+
static ltsVersion = seamApiLtsVersion;
|
|
10611
10798
|
constructor(options = {}) {
|
|
10612
|
-
this.ltsVersion = seamApiLtsVersion;
|
|
10613
10799
|
const opts = parseOptions(options);
|
|
10614
10800
|
this.client = "client" in opts ? opts.client : createClient(opts);
|
|
10615
10801
|
this.defaults = limitToSeamHttpRequestOptions(opts);
|
|
@@ -10647,8 +10833,6 @@ var _SeamHttpWithoutWorkspace = class _SeamHttpWithoutWorkspace {
|
|
|
10647
10833
|
return SeamHttpWorkspaces.fromClient(this.client, this.defaults);
|
|
10648
10834
|
}
|
|
10649
10835
|
};
|
|
10650
|
-
_SeamHttpWithoutWorkspace.ltsVersion = seamApiLtsVersion;
|
|
10651
|
-
var SeamHttpWithoutWorkspace = _SeamHttpWithoutWorkspace;
|
|
10652
10836
|
var SeamHttpMultiWorkspace = SeamHttpWithoutWorkspace;
|
|
10653
10837
|
|
|
10654
10838
|
// src/connect.ts
|
|
@@ -10713,6 +10897,7 @@ exports.SeamHttpSeamCustomerV1AutomationRuns = SeamHttpSeamCustomerV1AutomationR
|
|
|
10713
10897
|
exports.SeamHttpSeamCustomerV1Automations = SeamHttpSeamCustomerV1Automations;
|
|
10714
10898
|
exports.SeamHttpSeamCustomerV1Events = SeamHttpSeamCustomerV1Events;
|
|
10715
10899
|
exports.SeamHttpSeamCustomerV1Portals = SeamHttpSeamCustomerV1Portals;
|
|
10900
|
+
exports.SeamHttpSeamCustomerV1Reservations = SeamHttpSeamCustomerV1Reservations;
|
|
10716
10901
|
exports.SeamHttpSeamCustomerV1Settings = SeamHttpSeamCustomerV1Settings;
|
|
10717
10902
|
exports.SeamHttpSeamPartnerV1BuildingBlocks = SeamHttpSeamPartnerV1BuildingBlocks;
|
|
10718
10903
|
exports.SeamHttpSeamPartnerV1BuildingBlocksSpaces = SeamHttpSeamPartnerV1BuildingBlocksSpaces;
|